{"version":3,"sources":["webpack:///./src/apps/shared/services/cupe-service.ts","webpack:///./src/apps/shared/services/getDiscountRange-service.ts","webpack:///./src/apps/electronic-equipment/quote/payment.vue","webpack:///./src/apps/shared/components/modalCancel.vue","webpack:///./src/apps/shared/components/modalCancel.vue?25cf","webpack:///./src/apps/shared/components/modalCancel.vue?f4dc","webpack:///./src/apps/shared/components/modalCancel.vue?ac76","webpack:///./src/apps/shared/utils/formatDate.ts","webpack:///./src/apps/electronic-equipment/quote/payment.vue?3fb0","webpack:///./src/apps/electronic-equipment/quote/payment.vue?f31b","webpack:///./src/apps/electronic-equipment/quote/payment.vue?37c2","webpack:///./src/apps/electronic-equipment/components/Breadcrumb.vue","webpack:///./src/apps/electronic-equipment/components/Breadcrumb.vue?6860","webpack:///./src/apps/electronic-equipment/components/Breadcrumb.vue?e0d5","webpack:///./src/apps/electronic-equipment/components/Breadcrumb.vue?aac6"],"names":["GetCUPEUrl","productId","email","http","get","params","then","response","data","Finish","externalIdentifier","apellido","dni","localidad","mail","nombre","nroCotizacion","premioMensual","productoComercial","ramo","telephoneArea","telephoneNumber","getUrbanMovilityDiscountRange","getElectronicEquipmentDiscountRange","getSafeHealthMaxDiscountRange","getFamilyCombinedDiscountRange","render","_vm","this","_c","_self","_setupProxy","staticClass","attrs","breadcrumbItems","_m","require","_v","_s","planDescription","rate","firstPaymentFee","undiscountedPrice","capital","name","telephone","effectDate","expirationDate","_l","cover","value","key","coverGen","coverDescription","directives","rawName","cupeUrl","expression","on","redirectToCupe","product","staticRenderFns","ref","slot","close","getFilePath","open","Vue","extend","props","type","String","required","methods","FilePathService","window","location","href","$refs","modal","mounted","sessionStorage","setItem","component","formatDate","date","day","getDate","padStart","month","getMonth","year","getFullYear","components","XBreadcrumb","XModalCancel","text","path","changeTitleAndIcon","newTitle","$emit","updateByProductGoogleAnalytics","globalThis","dataLayer","productGtmName","NF","UI","Page","block","console","error","unblock","getCUPE","timeStart","Date","getTime","CUPEService","endTime","secondCharge","Math","round","push","preferenceMessage","catch","finally","getInitData","today","nextYearDate","setFullYear","DateService","coverData","getItem","personData","planDataSelected","JSON","parse","person","firstName","lastName","areaCode","dataPlan","premiumWithoutDiscount","blockCustom","message","DiscountRangeService","length","discountMaxValue","Promise","all","resolve","localItems","item","index","class","active","defineComponent","RouterLink","getImplicitItems","paths","$route","fullPath","split","items","route","matched","$router","match","meta","title"],"mappings":"gHAAA,gBAGe,WAAI,MAEfA,WAAWC,EAAWC,GAClB,OAAOC,OAAKC,IAAkB,OAAQ,CAClCC,OAAQ,CACJJ,YACAC,WAELI,KAAKC,GAAYA,EAASC,MAGjCC,OAAOC,EAAoBT,EAAWU,EAAqCC,EAAgCC,EAAsCC,EAAiCC,EAAmCC,EAA0CC,EAA0CC,EAA8CC,EAAiCC,EAA0CC,GAC9Z,OAAOlB,OAAKC,IAAa,cAAe,CACpCC,OAAQ,CACJK,qBACET,eACgB,MAAZU,GAAoB,CAAEA,eACf,MAAPC,GAAe,CAAEA,UACJ,MAAbC,GAAqB,CAAEA,gBACf,MAARC,GAAgB,CAAEA,WACR,MAAVC,GAAkB,CAAEA,aACH,MAAjBC,GAAyB,CAAEA,oBACV,MAAjBC,GAAyB,CAAEA,oBACN,MAArBC,GAA8B,CAAEA,wBACxB,MAARC,GAAgB,CAAEA,WACD,MAAjBC,GAAyB,CAAEA,oBACR,MAAnBC,GAA2B,CAAEA,sBAEhDf,KAAKC,GAAYA,EAASC,S,oCC/B7B,gBAGe,WAAI,MACfc,gCACI,OAAOnB,OAAKC,IAA6B,iDAAkD,CACvFC,OAAQ,KAETC,KAAKC,GAAYA,EAASC,MAEjCe,sCACI,OAAOpB,OAAKC,IAA6B,uDAAwD,CAC7FC,OAAQ,KAETC,KAAKC,GAAYA,EAASC,MAEjCgB,gCACI,OAAOrB,OAAKC,IAA6B,iDAAkD,CACvFC,OAAQ,KAETC,KAAKC,GAAYA,EAASC,MAEjCiB,iCACI,OAAOtB,OAAKC,IAA6B,yDAA0D,CAC/FC,OAAQ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,MAAM,KACnCC,EAA+B,GACrC,IAAIC,EAAQ,GAEZ,IAAK,MAAMlE,KAAQ6D,EAAO,OACtBK,EAAQ,GAAGA,IAAQlE,KACnB,MAAMmE,EAAUxI,KAAKyI,QAAQC,MAAMH,GAExB,OAAPC,QAAO,IAAPA,GAAa,QAAN,EAAPA,EAASG,YAAI,OAAb,EAAeC,OACfN,EAAMzC,KAAK,CACPzB,KAAMoE,EAAQG,KAAKC,MAAMJ,GACzBnE,KAAMmE,EAAQnE,OAK1B,OAAOiE,MC5CkZ,I,YCOra/E,EAAY,eACd,EACAzD,EACAmC,GACA,EACA,KACA,KACA,MAIa,OAAAsB,E","file":"js/chunk-5ead5e7c.js","sourcesContent":["import http from \"../http/http-config\";\r\nimport { CUPECheckout } from \"../models/cupeCheckout\";\r\n\r\nexport default new class CUPEService {\r\n\r\n GetCUPEUrl(productId, email): Promise {\r\n return http.get(\"CUPE\", {\r\n params: {\r\n productId,\r\n email\r\n }\r\n }).then(response => response.data)\r\n };\r\n\r\n Finish(externalIdentifier, productId, apellido: string | null | undefined, dni: string | null | undefined, localidad: string | null | undefined, mail: string | null | undefined, nombre: string | null | undefined, nroCotizacion: string | null | undefined, premioMensual: number | null | undefined, productoComercial: string | null | undefined, ramo: string | null | undefined, telephoneArea: string | null | undefined, telephoneNumber: string | null | undefined): Promise {\r\n return http.get(\"CUPE/Finish\", {\r\n params: {\r\n externalIdentifier\r\n , productId\r\n , ...(apellido != null && { apellido })\r\n , ...(dni != null && { dni })\r\n , ...(localidad != null && { localidad })\r\n , ...(mail != null && { mail })\r\n , ...(nombre != null && { nombre })\r\n , ...(nroCotizacion != null && { nroCotizacion })\r\n , ...(premioMensual != null && { premioMensual })\r\n , ...(productoComercial != null && { productoComercial })\r\n , ...(ramo != null && { ramo })\r\n , ...(telephoneArea != null && { telephoneArea })\r\n , ...(telephoneNumber != null && { telephoneNumber })\r\n }\r\n}).then(response => response.data)\r\n };\r\n}","import http from \"../http/http-config\";\r\nimport { DiscountRangeResponse } from \"../models/discountRangeResponse\";\r\n\r\nexport default new class discountRangeService {\r\n getUrbanMovilityDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetUrbanMovilityDiscountRange\", {\r\n params: {\r\n }\r\n }).then(response => response.data)\r\n }\r\n getElectronicEquipmentDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetElectronicEquipmentDiscountRange\", {\r\n params: {\r\n }\r\n }).then(response => response.data)\r\n }\r\n getSafeHealthMaxDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetSafeHealthMaxDiscountRange\", {\r\n params: {\r\n }\r\n }).then(response => response.data)\r\n }\r\n getFamilyCombinedDiscountRange(): Promise {\r\n return http.get(\"GetDiscountRange/GetFamilyCombinedPremiumDiscountRange\", {\r\n params: {}\r\n }).then(response => response.data);\r\n }\r\n}\r\n\r\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"row margin-top-half\"},[_c('div',{staticClass:\"col-md-12\"},[_c('x-breadcrumb',{attrs:{\"items\":_vm.breadcrumbItems}})],1)]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12\"},[_c('div',{staticClass:\"nf-card\"},[_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-4 col-md-offset-4 text-center\"},[_vm._m(0),_c('img',{attrs:{\"src\":require(\"../../../../../Content/Icons/Tecnologia.svg\"),\"alt\":\"Tecnologia\",\"title\":\"Tecnologia\",\"width\":\"125\"}}),_c('h4',{staticClass:\"text-brand-primary-darker margin-top-half\"},[_c('strong',[_vm._v(_vm._s(_vm.planDescription))])]),(_vm.rate == null)?_c('div',[_c('h3',{staticClass:\"text-brand-secondary\"},[_c('strong',[_vm._v(\"Valor Mensual: $\"+_vm._s(_vm.firstPaymentFee))])])]):_c('div',[_c('h3',{staticClass:\"text-brand-secondary\"},[_vm._v(\"Valor Mensual: \"),_c('strike',[_vm._v(\"$\"+_vm._s(_vm.undiscountedPrice))]),_c('strong',[_vm._v(\" $\"+_vm._s(_vm.firstPaymentFee))])],1)]),_c('h4',{staticClass:\"text-brand-primary-darker\"},[_c('strong',[_vm._v(\"Suma asegurada: $\"+_vm._s(_vm.capital))])])]),_c('div',{staticClass:\"col-md-4 col-md-offset-4 alert alert-info\"},[_c('div',{staticClass:\"text-brand-primary\"},[_c('i',{staticClass:\"fa fa-user\"}),_vm._v(\" \"+_vm._s(_vm.name)+\" \")]),_c('div',{staticClass:\"text-brand-primary\"},[_c('i',{staticClass:\"fa fa-phone\"}),_vm._v(\" \"+_vm._s(_vm.telephone)+\" \")]),_c('div',{staticClass:\"text-brand-primary\"},[_c('i',{staticClass:\"fa fa-envelope-o\"}),_vm._v(\" \"+_vm._s(_vm.email)+\" \")])]),_c('div',{staticClass:\"col-md-4 col-md-offset-4\"},[_c('p',{staticClass:\"text-brand-primary-darker text-center\"},[_vm._v(\" Vigencia desde \"),_c('strong',[_vm._v(_vm._s(_vm.effectDate))]),_vm._v(\" hasta \"),_c('strong',[_vm._v(_vm._s(_vm.expirationDate))])]),_c('div',{staticClass:\"panel-group\"},[_c('div',{staticClass:\"panel panel-default\"},[_vm._m(1),_c('div',{staticClass:\"collapse-content collapse\",attrs:{\"id\":\"collapseOne\",\"aria-labelledby\":\"headingOne\"}},[_c('div',{staticClass:\"panel-body\"},[_vm._m(2),_vm._l((_vm.cover),function(value){return _c('div',{key:value.coverGen},[_c('div',{staticClass:\"text-brand-primary-darker\"},[_c('ul',[_c('li',[_c('h4',[_c('strong',[_vm._v(_vm._s(value.coverDescription))])])])])])])})],2)])])])]),_c('div',{staticClass:\"col-md-12 text-right\"},[_c('button',{directives:[{name:\"disable\",rawName:\"v-disable\",value:(!_vm.cupeUrl),expression:\"!cupeUrl\"}],staticClass:\"btn btn-default btn-lg\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.redirectToCupe}},[_vm._v(\" Ir a Pagar \")])])])])])]),_c('x-modalCancel',{attrs:{\"product\":_vm.product}})],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('h3',{staticClass:\"text-brand-secondary\"},[_c('strong',[_vm._v(\"Resumen de la contratación\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"panel-heading\",attrs:{\"role\":\"tab\",\"id\":\"headingOne\"}},[_c('div',{staticClass:\"panel-title\"},[_c('a',{staticClass:\"collapsed\",attrs:{\"role\":\"button\",\"data-toggle\":\"collapse\",\"href\":\"#collapseOne\",\"aria-expanded\":\"false\",\"aria-controls\":\"collapseOne\"}},[_c('h4',{staticClass:\"text-brand-secondary text-center\"},[_c('strong',[_vm._v(\"Datos adicionales del seguro\")])])])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('h4',{staticClass:\"text-brand-secondary margin-left\"},[_c('strong',[_vm._v(\"Coberturas\")])])\n}]\n\nexport { render, staticRenderFns }","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"container\"},[_c('nf-modal',{ref:\"modal\",staticClass:\"modal-scrollable\",attrs:{\"id\":\"modalDataConfirmacion\",\"reset-scroll\":\"\"}},[_c('span',{staticClass:\"h3\",attrs:{\"slot\":\"title\"},slot:\"title\"},[_c('strong',{staticClass:\"text-brand-primary\"},[_vm._v(\"Cancelar cotización\")])]),_c('div',{attrs:{\"slot\":\"body\"},slot:\"body\"},[_c('i',{staticClass:\"text-brand-primary fa fa-info-circle-o\"}),_c('span',{staticClass:\"text-brand-primary\"},[_vm._v(\" Si cancelás la operación, el pedido de Cotización iniciada se perderá.\")]),_c('p',{staticClass:\"margin-top\"},[_c('strong',[_vm._v(\"¿Deseas continuar?\")])])]),_c('div',{attrs:{\"slot\":\"footer\"},slot:\"footer\"},[_c('button',{staticClass:\"btn btn-primary\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.close}},[_vm._v(\" Continuar cotización \")]),_c('button',{staticClass:\"btn btn-default\",attrs:{\"type\":\"button\"},on:{\"click\":_vm.getFilePath}},[_vm._v(\" Cancelar operación \")])])]),_c('div',{staticClass:\"row\"},[_c('div',{staticClass:\"col-md-12 text-center\"},[_c('div',{attrs:{\"slot\":\"toolbar\"},slot:\"toolbar\"},[_c('a',{staticClass:\"btn btn-link btn-lg\",on:{\"click\":_vm.open}},[_vm._v(\" Cancelar \")])]),_vm._m(0)])])],1)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"col-xs-12\"},[_c('div',[_c('label',[_vm._v(\"¿Tenes dudas? Llamanos al\")])]),_c('div',[_c('label',{staticClass:\"text-brand-secondary\"},[_c('u',[_vm._v(\"0800-444-2850\")])])]),_c('div',[_c('label',[_vm._v(\"Para que podamos ayudarte.\")])])])\n}]\n\nexport { render, staticRenderFns }","\r\n import Vue from 'vue';\r\n import { PropType } from 'vue';\r\n import FilePathService from '@/apps/shared/services/filePath-service';\r\n export default Vue.extend({\r\n name: 'ModalCancel',\r\n props: {\r\n product: {\r\n type: String as PropType,\r\n required: true,\r\n },\r\n },\r\n data() {\r\n return {\r\n }\r\n },\r\n methods: {\r\n getFilePath() {\r\n FilePathService.getFilePath(\"UrlBase\")\r\n .then(response => {\r\n window.location.href = response + this.product;\r\n });\r\n },\r\n open: function () {\r\n this.$refs.modal.open();\r\n },\r\n close: function () {\r\n this.$refs.modal.close();\r\n }, \r\n },\r\n mounted() {\r\n sessionStorage.setItem(\"ExitOrContinueModal\", \"true\")\r\n },\r\n });\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modalCancel.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./modalCancel.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./modalCancel.vue?vue&type=template&id=67943bfa&\"\nimport script from \"./modalCancel.vue?vue&type=script&lang=ts&\"\nexport * from \"./modalCancel.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","export default new class DateService {\r\n formatDate(date): string {\r\n const day = String(date.getDate()).padStart(2, '0');\r\n const month = String(date.getMonth() + 1).padStart(2, '0');\r\n const year = date.getFullYear();\r\n return `${day}/${month}/${year}`;\r\n }\r\n}","\r\n import Vue from 'vue';\r\n import XBreadcrumb from '../components/Breadcrumb.vue';\r\n import XModalCancel from '@/apps/shared/components/modalCancel.vue';\r\n import CUPEService from '@/apps/shared/services/cupe-service';\r\n import DiscountRangeService from '@/apps/shared/services/getDiscountRange-service';\r\n import DateService from '@/apps/shared/utils/formatDate';\r\n export default Vue.extend({\r\n name: 'ElectronicDeviceSummary',\r\n components: {\r\n XBreadcrumb,\r\n XModalCancel\r\n },\r\n data() {\r\n return {\r\n effectDate: null,\r\n expirationDate: null,\r\n name: null,\r\n email: null,\r\n telephone: null,\r\n cover: null,\r\n planDescription: null,\r\n firstPaymentFee: null,\r\n capital: null,\r\n undiscountedPrice: null,\r\n rate: null,\r\n cupeUrl: null,\r\n breadcrumbItems: [\r\n { text: 'Inicio', path: '/tecnologia' },\r\n { text: 'Resumen', path: 'tecnologia/resumen' },\r\n ],\r\n product: 'tecnologia'\r\n }\r\n },\r\n methods: {\r\n changeTitleAndIcon() {\r\n const newTitle = 'Tecnología';\r\n this.$emit('updateTitle', newTitle);\r\n },\r\n updateByProductGoogleAnalytics() {\r\n window.globalThis.dataLayer = window.globalThis.dataLayer || [];\r\n const productGtmName = 'DefaultElectronicDeviceGTMInfo';\r\n this.$emit('updateByProductGoogleAnalytics', productGtmName);\r\n }, \r\n redirectToCupe() {\r\n NF.UI.Page.block();\r\n if (this.cupeUrl) {\r\n sessionStorage.setItem(\"ExitOrContinueModal\", \"false\");\r\n window.location.href = this.cupeUrl;\r\n } else {\r\n console.error('URL no válida');\r\n }\r\n NF.UI.Page.unblock();\r\n },\r\n getCUPE() {\r\n const email = \"\";\r\n const productId = 1000;\r\n NF.UI.Page.block();\r\n var timeStart = new Date().getTime();\r\n CUPEService.GetCUPEUrl(productId, email).then((response) => {\r\n var endTime = new Date().getTime();\r\n var secondCharge = Math.round((endTime - timeStart) / 1000);\r\n window.globalThis.dataLayer.push({ 'product': 'tecnologia', 'event': 'cotizador-tecnologia-checkout', 'carga': secondCharge });\r\n this.cupeUrl = response.preferenceMessage;\r\n }).catch((error) => {\r\n console.error('Error al obtener la URL:', error);\r\n }).finally(() => {\r\n NF.UI.Page.unblock();\r\n });\r\n },\r\n getInitData() {\r\n const today = new Date();\r\n const nextYearDate = new Date(today);\r\n nextYearDate.setFullYear(today.getFullYear() + 1);\r\n\r\n this.effectDate = DateService.formatDate(today);\r\n this.expirationDate = DateService.formatDate(nextYearDate);\r\n\r\n const coverData = sessionStorage.getItem(\"cover\");\r\n const personData = sessionStorage.getItem(\"stepOneData\");\r\n const planDataSelected = sessionStorage.getItem(\"PlanSelected\");\r\n\r\n if (coverData != null) {\r\n this.cover = JSON.parse(coverData!);\r\n }\r\n\r\n if (personData != null) {\r\n const person = JSON.parse(personData!);\r\n this.name = person.firstName + ' ' + person.lastName;\r\n this.email = person.email;\r\n this.telephone = person.areaCode + '-' + person.telephone;\r\n }\r\n\r\n if (planDataSelected != null) {\r\n const dataPlan = JSON.parse(planDataSelected!);\r\n this.planDescription = dataPlan.planDescription;\r\n this.firstPaymentFee = dataPlan.premioMensual;\r\n this.capital = dataPlan.capital;\r\n this.undiscountedPrice = dataPlan.premiumWithoutDiscount;\r\n NF.UI.Page.blockCustom({ message: 'Cargando datos..' });\r\n DiscountRangeService.getElectronicEquipmentDiscountRange().then((response) => {\r\n if (response.length > 0) {\r\n this.rate = response[0].discountMaxValue;\r\n }\r\n }).finally(() => {\r\n NF.UI.Page.unblock();\r\n });\r\n }\r\n }\r\n },\r\n mounted() {\r\n sessionStorage.setItem(\"ExitOrContinueModal\", \"true\");\r\n Promise.all([\r\n Promise.resolve(this.changeTitleAndIcon()),\r\n Promise.resolve(this.updateByProductGoogleAnalytics()),\r\n Promise.resolve(this.getInitData()),\r\n Promise.resolve(this.getCUPE()),\r\n ]);\r\n },\r\n });\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./payment.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./payment.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./payment.vue?vue&type=template&id=1b21c9cb&\"\nimport script from \"./payment.vue?vue&type=script&lang=ts&\"\nexport * from \"./payment.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('ul',{staticClass:\"breadcrumb\"},_vm._l((_vm.localItems),function(item,index){return _c('li',{key:item.path,class:{ active: index === _vm.localItems.length - 1 }},[(index !== _vm.localItems.length - 1)?_c('RouterLink',{attrs:{\"to\":item.path}},[_vm._v(\" \"+_vm._s(item.text)+\" \")]):_c('span',[_vm._v(_vm._s(item.text))])],1)}),0)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n import { RouterLink } from 'vue-router'\r\n import { defineComponent } from 'vue'\r\n import type { BreadcrumbItem } from '../../../types';\r\n \r\n\r\n export default defineComponent({\r\n name: 'XBreadcrumb',\r\n components: {\r\n RouterLink,\r\n },\r\n //props: {\r\n // items: {\r\n // type: Array,\r\n // required: false,\r\n // default: () => [],\r\n // },\r\n //},\r\n data() {\r\n return {\r\n localItems: [] as Array,\r\n }\r\n },\r\n mounted() {\r\n this.localItems = this.getImplicitItems() \r\n },\r\n methods: {\r\n getImplicitItems(): Array {\r\n const paths = this.$route.fullPath.split('/')\r\n const items: Array = []\r\n let route = ''\r\n\r\n for (const path of paths) {\r\n route = `${route}${path}/`\r\n const matched = this.$router.match(route)\r\n\r\n if (matched?.meta?.title) {\r\n items.push({\r\n text: matched.meta.title(matched),\r\n path: matched.path,\r\n })\r\n }\r\n }\r\n\r\n return items\r\n },\r\n },\r\n })\r\n","import mod from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Breadcrumb.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../../node_modules/cache-loader/dist/cjs.js??ref--15-0!../../../../node_modules/thread-loader/dist/cjs.js!../../../../node_modules/babel-loader/lib/index.js!../../../../node_modules/ts-loader/index.js??ref--15-3!../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./Breadcrumb.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Breadcrumb.vue?vue&type=template&id=84157d58&\"\nimport script from \"./Breadcrumb.vue?vue&type=script&lang=ts&\"\nexport * from \"./Breadcrumb.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}