{"version":3,"sources":["webpack:///./src/views/business_portal/Training.vue","webpack:///./src/views/business_portal/Training.vue?8b4b","webpack:///./src/views/business_portal/Training.vue?3c8d","webpack:///./src/components/PageNotFoundContent.vue","webpack:///./src/components/PageNotFoundContent.vue?7fdd","webpack:///./src/views/business_portal/TrainingIndex.vue","webpack:///./src/views/business_portal/TrainingIndex.vue?1647","webpack:///./src/views/business_portal/TrainingIndex.vue?b4ec","webpack:///./src/views/business_portal/Training.vue?aca1","webpack:///./src/views/business_portal/TrainingIndex.vue?d63d"],"names":["class","status","preset","variant","type","loadTrainingDocument","trainingDocument","title","content","components","PageNotFoundContent","beforeRouteUpdate","to","from","next","setTimeout","props","trainingDocumentSlug","String","required","data","created","this","methods","api","url","responseData","body","render","__scopeId","script","loadTrainingDocuments","trainingDocuments","key","slug"],"mappings":"iQACOA,MAAM,gC,+BAOiB,kG,2OAP5B,yBA4BM,MA5BN,EA4BM,CA1BU,YAAN,EAAAC,Q,yBADR,yBAGE,G,MADAC,OAAO,WAGkB,UAAN,EAAAD,Q,yBAArB,yBAaW,uBAZT,yBAGQ,GAHDE,QAAQ,UAAQ,C,WAAC,iBAGxB,C,YAEA,yBAMS,UALPC,KAAK,SACLJ,MAAM,0BACL,QAAK,8BAAE,EAAAK,sBAAA,EAAAA,qBAAA,sBACT,gB,KAKsC,cAAN,EAAAJ,Q,yBAAnC,yBAA6D,a,yBAE7D,yBAIW,uBAHT,yBAAqC,uCAA9B,EAAAK,iBAAiBC,OAAK,GAE7B,yBAAyC,OAApC,UAAQ,EAAAD,iBAAiBE,S,qECvBrB,+BAAgB,CAC7BC,WAAY,CACVC,sBAAA,MAEIC,kBAJuB,SAILC,EAAIC,EAAMC,GAAI,wJACpCA,IAEAC,YAAW,WACT,EAAKV,yBACJ,GALiC,8CAOtCW,MAAO,CACLC,qBAAsB,CACpBb,KAAMc,OACNC,UAAU,IAGdC,KAAM,iBAAO,CACXnB,OAAQ,UACRK,iBAAkB,KAEpBe,QArB6B,WAsB3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UADW,SAGE,EAAKuB,IAAI,CAAEC,IAAK,wCAHlB,OAGnBC,EAHmB,OAKG,MAAxBA,EAAazB,QACf,EAAK+B,kBAAoBN,EAAaC,KACtC,EAAK1B,OAAS,UAEd,EAAKA,OAAS,QATS,kD,UCP/B,EAAO2B,OAASA,EAChB,EAAOC,UAAY,kBAEJ,gB,kCCRf,W,kCCAA","file":"js/ipg_training.77109b9e.js","sourcesContent":["\n\n\n\n\n","\nimport { defineComponent } from 'vue';\nimport PageNotFoundContent from '@/components/PageNotFoundContent.vue';\n\nexport default defineComponent({\n components: {\n PageNotFoundContent,\n },\n async beforeRouteUpdate(to, from, next) {\n next();\n\n setTimeout(() => {\n this.loadTrainingDocument();\n }, 0);\n },\n props: {\n trainingDocumentSlug: {\n type: String,\n required: true,\n },\n },\n data: () => ({\n status: 'loading' as 'loading' | 'loaded' | 'not_found' | 'error',\n trainingDocument: {} as { title: string; content: string; },\n }),\n created() {\n this.loadTrainingDocument();\n },\n methods: {\n async loadTrainingDocument() {\n this.status = 'loading';\n\n const responseData = await this.api({\n url: `business-portal/training_documents/?slug=${this.trainingDocumentSlug}`,\n });\n\n if (responseData.status === 200) {\n this.trainingDocument = responseData.body;\n this.status = 'loaded';\n } else if (responseData.status === 404) {\n this.status = 'not_found';\n } else {\n this.status = 'error';\n }\n },\n },\n});\n","import { render } from \"./Training.vue?vue&type=template&id=3abec152&scoped=true\"\nimport script from \"./Training.vue?vue&type=script&lang=ts\"\nexport * from \"./Training.vue?vue&type=script&lang=ts\"\n\nimport \"./Training.vue?vue&type=style&index=0&id=3abec152&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-3abec152\"\n\nexport default script","\n","import { render } from \"./PageNotFoundContent.vue?vue&type=template&id=5da56275\"\nconst script = {}\nscript.render = render\n\nexport default script","\n\n\n\n\n","\nimport { defineComponent } from 'vue';\n\nexport default defineComponent({\n data: () => ({\n status: 'loading' as 'loading' | 'loaded' | 'error',\n trainingDocuments: [] as Array<{ title: string; slug: string; }>,\n }),\n created() {\n this.loadTrainingDocuments();\n },\n methods: {\n async loadTrainingDocuments() {\n this.status = 'loading';\n\n const responseData = await this.api({ url: 'business-portal/training_documents/' });\n\n if (responseData.status === 200) {\n this.trainingDocuments = responseData.body;\n this.status = 'loaded';\n } else {\n this.status = 'error';\n }\n },\n },\n});\n","import { render } from \"./TrainingIndex.vue?vue&type=template&id=1cf587e3&scoped=true\"\nimport script from \"./TrainingIndex.vue?vue&type=script&lang=ts\"\nexport * from \"./TrainingIndex.vue?vue&type=script&lang=ts\"\n\nimport \"./TrainingIndex.vue?vue&type=style&index=0&id=1cf587e3&lang=scss&scoped=true\"\nscript.render = render\nscript.__scopeId = \"data-v-1cf587e3\"\n\nexport default script","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./Training.vue?vue&type=style&index=0&id=3abec152&lang=scss&scoped=true\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--8-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--8-oneOf-1-1!../../../node_modules/vue-loader-v16/dist/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--8-oneOf-1-2!../../../node_modules/sass-loader/dist/cjs.js??ref--8-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader-v16/dist/index.js??ref--0-1!./TrainingIndex.vue?vue&type=style&index=0&id=1cf587e3&lang=scss&scoped=true\""],"sourceRoot":""}