Form Processor 1.59 throws fatal error if CiviCampaign component is not enabled
On a Drupal 9 site where I do not have the CiviCampaign component enabled in CiviCRM, if I try to access the Form Processor url (civicrm/admin/automation/formprocessor#/formprocessors) I get a fatal error:
Error: Class "Civi\\Api4\\Campaign" not found in /home/rp/sites/default/web/sites/default/files/civicrm/ext/form-processor-1.58-16aad3586b282e09c8584dad6a5738a4df07dc00/Civi/FormProcessor/Type/MultiCampaignType.php on line 47
If I enable the CiviCampaign component, I get no error. I don't want to have to enable this component on my site as I don't use it. The Form Processor extension should not rely on this component being active. But if it is necessary to the functioning of Form Processor this should be made clear as a requirement.