//#region processors/factory.ts
const processorFactory = async (module) => {
	const { processorFactoryBuilders } = module.processorApp === "connect" ? await import("./connect-BgHoHrxE.mjs") : await import("./switchboard-DSz4i6XK.mjs");
	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-DBZ6SyIt.mjs.map