//#region processors/factory.ts
const processorFactory = async (module) => {
	const { processorFactoryBuilders } = module.processorApp === "connect" ? await import("./connect-CCJL1Msc.js") : await import("./switchboard-BLGYDyN8.js");
	const factories = await Promise.all(processorFactoryBuilders.map(async (buildFactory) => await buildFactory(module)));
	return async (driveHeader) => {
		const processors = [];
		for (const factory of factories) {
			const factoryProcessors = await factory(driveHeader, module.processorApp);
			processors.push(...factoryProcessors);
		}
		return processors;
	};
};
//#endregion
export { processorFactory as t };

//# sourceMappingURL=factory-CCc1Pucu.js.map