{"version":3,"file":"factory.mjs","sources":["../../../../../../src/server/authenticate/public/factory.ts"],"sourcesContent":["import {BasicParams} from '../../types';\n\nimport {authenticateCheckoutFactory} from './checkout/authenticate';\nimport {authenticateAppProxyFactory} from './appProxy/authenticate';\nimport {authenticateCustomerAccountFactory} from './customer-account/authenticate';\nimport {AuthenticatePublic} from './types';\n\nexport function authenticatePublicFactory(params: BasicParams) {\n  const authenticateCheckout = authenticateCheckoutFactory(params);\n  const authenticateAppProxy = authenticateAppProxyFactory(params);\n  const authenticateCustomerAccount =\n    authenticateCustomerAccountFactory(params);\n\n  const context: AuthenticatePublic = {\n    checkout: authenticateCheckout,\n    appProxy: authenticateAppProxy,\n    customerAccount: authenticateCustomerAccount,\n  };\n\n  return context;\n}\n"],"names":[],"mappings":";;;;AAOM,SAAU,yBAAyB,CAAC,MAAmB,EAAA;AAC3D,IAAA,MAAM,oBAAoB,GAAG,2BAA2B,CAAC,MAAM,CAAC;AAChE,IAAA,MAAM,oBAAoB,GAAG,2BAA2B,CAAC,MAAM,CAAC;AAChE,IAAA,MAAM,2BAA2B,GAC/B,kCAAkC,CAAC,MAAM,CAAC;AAE5C,IAAA,MAAM,OAAO,GAAuB;AAClC,QAAA,QAAQ,EAAE,oBAAoB;AAC9B,QAAA,QAAQ,EAAE,oBAAoB;AAC9B,QAAA,eAAe,EAAE,2BAA2B;KAC7C;AAED,IAAA,OAAO,OAAO;AAChB;;;;"}