{"version":3,"file":"factory.mjs","sources":["../../../../src/assemblers/document/path/factory.ts"],"sourcesContent":["import { PathItemContextFactory } from '../../../context';\n\nimport type { Assembler } from '../..';\n\nimport { PathItemAssembler, PathItemAssemblerFactory } from './path-item';\n\nexport class PathAssemblerFactory {\n  createAll(): Assembler.Path[] {\n    return [this._createPathItemAssembler()];\n  }\n\n  private _createPathItemAssembler(\n    assemblerFactory: PathItemAssemblerFactory = new PathItemAssemblerFactory(),\n    contextFactory: PathItemContextFactory = new PathItemContextFactory()\n  ) {\n    const assemblers = assemblerFactory.createAll();\n\n    return new PathItemAssembler(assemblers, contextFactory);\n  }\n}\n"],"names":["PathAssemblerFactory","createAll","_createPathItemAssembler","assemblerFactory","PathItemAssemblerFactory","contextFactory","PathItemContextFactory","assemblers","PathItemAssembler"],"mappings":";;;;;;;;;;;AAMO,MAAMA,oBAAAA,CAAAA;IACXC,SAAAA,GAA8B;QAC5B,OAAO;AAAC,YAAA,IAAI,CAACC,wBAAwB;AAAG,SAAA;AAC1C,IAAA;AAEQA,IAAAA,wBAAAA,CACNC,mBAA6C,IAAIC,wBAAAA,EAA0B,EAC3EC,cAAAA,GAAyC,IAAIC,wBAAwB,EACrE;QACA,MAAMC,UAAAA,GAAaJ,iBAAiBF,SAAS,EAAA;QAE7C,OAAO,IAAIO,kBAAkBD,UAAAA,EAAYF,cAAAA,CAAAA;AAC3C,IAAA;AACF;;;;"}