{"version":3,"sources":["webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesForm.vue?4d6b","webpack:///./src/views/consulta-reclamaciones/ConsultaReclamaciones.vue","webpack:///./src/models/ConsultaReclamaciones/ConsultaReclamacionesModel.ts","webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesForm.vue","webpack:///./src/models/ConsultaReclamaciones/UserComplaintQuery.ts","webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesForm.vue?4092","webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesForm.vue?ca1d","webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesForm.vue?162a","webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesResult.vue","webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesResult.vue?6c3e","webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesResult.vue?c142","webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesResult.vue?b588","webpack:///./src/views/consulta-reclamaciones/ConsultaReclamaciones.vue?18f3","webpack:///./src/views/consulta-reclamaciones/ConsultaReclamaciones.vue?7b8e","webpack:///./src/views/consulta-reclamaciones/ConsultaReclamaciones.vue?b755","webpack:///./src/views/consulta-reclamaciones/ConsultaReclamaciones.vue?ac44","webpack:///./src/components/Consulta_Reclamaciones/ConsultaReclamacionesResult.vue?2269"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","style","concat","umbracoBaseUrl","labelData","image","_v","_s","title","isConsulting","attrs","isLoading","on","processComplaint","complaints","staticRenderFns","ConsultaReclamacionesModel","_createClass","_classCallCheck","_defineProperty","_m","initialDate","setFromDate","todaysDate","setToDate","process","isProcessing","_e","returnHome","UserComplaintQuery","ConsultaReclamacionesForm","_Vue","_this","_len","arguments","length","args","Array","_key","_callSuper","Date","_inherits","key","value","userComplaintQuery","userId","$store","state","user","cedula","setInitialFromDate","currentDate","setFullYear","getFullYear","$emit","date","partitionedDateString","split","fromDate","toDate","window","location","href","GlobalConfig","PORTAL_BASE_URL","Vue","__decorate","Prop","Component","component","_l","complaint","idFormulario","idformulario","fechasuscripcion","motivodesc","estatusdesc","observacion","staticStyle","ConsultaReclamacionesResult","ConsultaReclamaciones","UmbracoApiService","WsdlService","UMBRACO_BASE_URL","_mounted","_asyncToGenerator","regeneratorRuntime","mark","_callee","wrap","_context","prev","next","getAllData","stop","mounted","apply","_getAllData","_callee2","_context2","umbracoService","getConsultaReclamaciones","sent","_processComplaint","_callee3","complaintQuery","_this2","_context3","wsdlService","GetReclamaciones","then","response","data","catch","ex","Swal","fire","text","icon","showConfirmButton","confirmButtonText","finally","_x","components"],"mappings":"kHAAA,W,2FCAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,UAAU,CAACA,EAAG,MAAM,CAACG,YAAY,6BAA6BC,MAAO,CAAC,mBAAoB,OAAFC,OAASP,EAAIQ,gBAAcD,OAAGP,EAAIS,UAAUC,MAAK,QAAQR,EAAG,MAAM,CAACG,YAAY,YAAYH,EAAG,MAAM,CAACG,YAAY,gBAAgB,CAACH,EAAG,MAAM,CAACG,YAAY,SAAS,CAACH,EAAG,KAAK,CAACF,EAAIW,GAAGX,EAAIY,GAAGZ,EAAIS,UAAUI,YAAYX,EAAG,MAAM,CAACG,YAAY,iCAAiC,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,MAAM,CAACG,YAAY,aAAa,CAACH,EAAG,MAAM,CAACG,YAAY,kBAAkB,CAAEL,EAAIc,aAAcZ,EAAG,4BAA4B,CAACa,MAAM,CAAC,aAAef,EAAIgB,WAAWC,GAAG,CAAC,QAAUjB,EAAIkB,oBAAoBhB,EAAG,8BAA8B,CAACa,MAAM,CAAC,WAAaf,EAAImB,YAAYF,GAAG,CAAC,QAAU,WAAOjB,EAAIc,cAAe,OAAW,cAE9yBM,EAAkB,G,sHCFDC,EAA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2D,EAJO,IAIG,CAAAnD,IAAA,mBAAAC,MAAA,eAAA4D,EAAAlB,eAAAC,mBAAAC,MAIZ,SAAAiB,EAAuBC,GAAkC,IAAAC,EAAA,YAAApB,mBAAAG,MAAA,SAAAkB,GAAA,eAAAA,EAAAhB,KAAAgB,EAAAf,MAAA,OAC5Da,EAAe/C,UAAY+C,EAAe9C,QAE5C/D,KAAKe,WAAY,EACjBf,KAAKgH,YAAYC,iBAAiBJ,GAAgBK,MAAK,SAACC,GACvDL,EAAK5F,WAAaiG,EAASC,KAC3BN,EAAKjG,cAAe,EACpBiG,EAAK/F,WAAY,KACfsG,OAAM,SAAAC,GAERC,IAAKC,KAAK,CACTC,KAAM,oDACNC,KAAM,QACNC,mBAAmB,EACnBC,kBAAmB,UAElBC,SAAQ,WAAMf,EAAK/F,WAAY,MAGlCwG,IAAKC,KAAK,CACRC,KAAM,wEACNC,KAAM,QACNC,mBAAmB,EACnBC,kBAAmB,OAErB,wBAAAb,EAAAb,UAAAU,EAAA,UACD,SA1BY3F,EAAgB6G,GAAA,OAAAnB,EAAAP,MAAC,KAAD9D,WAAA,OAAhBrB,EAJM,MAdsB,CAASoD,QAA9Be,EAAqBd,eAAA,CANzCE,eAAU,CACVuD,WAAY,CACX7F,4BACAiD,kCAGmBC,WCpB4Y,ICQ7Z,G,UAAY,eACd,EACAtF,EACAqB,GACA,EACA,KACA,WACA,OAIa,e,2CCnBf,W,kCCAA,W","file":"js/chunk-29156ccd.cc6a0699.js","sourcesContent":["export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConsultaReclamacionesForm.vue?vue&type=style&index=0&id=166adccc&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('section',[_c('div',{staticClass:\"bannersecundario miSiembra\",style:({'background-image': `url(${_vm.umbracoBaseUrl}${_vm.labelData.image})`})}),_c('div',{staticClass:\"bnrline\"}),_c('div',{staticClass:\"form-content\"},[_c('div',{staticClass:\"title\"},[_c('h1',[_vm._v(_vm._s(_vm.labelData.title))])]),_c('div',{staticClass:\"content-wraper main-container\"},[_c('div',{staticClass:\"container-afp\"},[_c('div',{staticClass:\"container\"},[_c('div',{staticClass:\"form_wrap form\"},[(_vm.isConsulting)?_c('ConsultaReclamacionesForm',{attrs:{\"isProcessing\":_vm.isLoading},on:{\"process\":_vm.processComplaint}}):_c('ConsultaReclamacionesResult',{attrs:{\"complaints\":_vm.complaints},on:{\"process\":() => {_vm.isConsulting = true;}}})],1)])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","export default class ConsultaReclamacionesModel {\n image: string;\n title: string;\n}\n","var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('div',{staticClass:\"divider\"}),_c('form',[_c('div',{staticClass:\"section\"},[_c('div',{staticClass:\"initial-date\"},[_vm._m(0),_c('div',{staticClass:\"initial-date\"},[_c('b-form-datepicker',{staticClass:\"mb-2\",attrs:{\"id\":\"fromDate-datepicker\",\"initial-date\":_vm.initialDate,\"locale\":\"es\",\"placeholder\":\"Seleccionar fecha de inicio\"},on:{\"input\":_vm.setFromDate}})],1)]),_c('div',{staticClass:\"final-date\"},[_vm._m(1),_c('div',{staticClass:\"final-date\"},[_c('b-form-datepicker',{staticClass:\"mb-2\",attrs:{\"id\":\"toDate-datepicker\",\"initial-date\":_vm.todaysDate,\"locale\":\"es\",\"placeholder\":\"Seleccionar fecha final\"},on:{\"input\":_vm.setToDate}})],1)])])]),_c('div',{staticClass:\"buttons\"},[_c('button',{on:{\"click\":_vm.process}},[_vm._v(\"Consultar \"),(_vm.isProcessing)?_c('b-spinner',{attrs:{\"small\":\"\",\"label\":\"Spinning\"}}):_vm._e()],1),_c('button',{on:{\"click\":_vm.returnHome}},[_vm._v(\"Volver al menú\")])])])\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"label\"},[_c('h4',[_vm._v(\"Fecha Inicial:\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"label\"},[_c('h4',[_vm._v(\"Fecha Final:\")])])\n}]\n\nexport { render, staticRenderFns }","export default class UserComplaintQuery{\n\tpublic userId: string =\"\";\n\tpublic fromDate: string =\"\";\n\tpublic toDate: string =\"\";\n}","\nimport ConsultaReclamacionesModel from \"@/models/ConsultaReclamaciones/ConsultaReclamacionesModel\";\nimport UserComplaintQuery from \"@/models/ConsultaReclamaciones/UserComplaintQuery\";\nimport UmbracoApiService from \"@/services/UmbracoApiService\";\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport GlobalConfig from \"@/GlobalConfig\";\nimport WsdlService from \"@/services/WsdlService\";\n\n@Component({})\nexport default class ConsultaReclamacionesForm extends Vue {\n\t@Prop() isProcessing: boolean;\n public userComplaintQuery: UserComplaintQuery = new UserComplaintQuery();\n\tpublic todaysDate: Date = new Date();\n\tpublic initialDate: Date = new Date();\n\n public mounted() {\n this.userComplaintQuery.userId = this.$store.state.user.cedula;\n\t\tthis.setInitialFromDate();\n }\n\tpublic setInitialFromDate(){\n\t\tconst currentDate = new Date();\n\t\tthis.initialDate.setFullYear(currentDate.getFullYear() - 5);\n\t}\n public process() {\n this.$emit(\"process\", this.userComplaintQuery);\n }\n public setFromDate(date: string) {\n\t\tlet partitionedDateString = date.split('-');\n this.userComplaintQuery.fromDate = `${partitionedDateString[1]}/${partitionedDateString[2]}/${partitionedDateString[0]}`;\n }\n public setToDate(date: string) {\n\t\tlet partitionedDateString = date.split('-');\n this.userComplaintQuery.toDate = `${partitionedDateString[1]}/${partitionedDateString[2]}/${partitionedDateString[0]}`;\n }\n\treturnHome(){\n\t\twindow.location.href = GlobalConfig.PORTAL_BASE_URL\n\t}\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConsultaReclamacionesForm.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConsultaReclamacionesForm.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ConsultaReclamacionesForm.vue?vue&type=template&id=166adccc&scoped=true\"\nimport script from \"./ConsultaReclamacionesForm.vue?vue&type=script&lang=ts\"\nexport * from \"./ConsultaReclamacionesForm.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConsultaReclamacionesForm.vue?vue&type=style&index=0&id=166adccc&prod&scoped=true&lang=css\"\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 \"166adccc\",\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('div',[_c('b-container',[_c('b-row',[_c('b-col',[_c('div',{staticClass:\"table-title\"},[_c('h4',[_vm._v(\"Número\")])])]),_c('b-col',[_c('div',{staticClass:\"table-title\"},[_c('h4',[_vm._v(\"Fecha\")])])]),_c('b-col',[_c('div',{staticClass:\"table-title\"},[_c('h4',[_vm._v(\"Tipo\")])])]),_c('b-col',[_c('div',{staticClass:\"table-title\"},[_c('h4',[_vm._v(\"Estatus\")])])]),_c('b-col',[_c('div',{staticClass:\"table-title\"},[_c('h4',[_vm._v(\"Observación\")])])])],1),_c('div',{staticClass:\"divider\"}),(_vm.complaints && _vm.complaints.length > 0)?_c('div',_vm._l((_vm.complaints),function(complaint){return _c('b-row',{key:complaint.idFormulario},[_c('b-col',[_c('div',[_c('p',[_vm._v(_vm._s(complaint.idformulario))])])]),_c('b-col',[_c('div',[_c('p',[_vm._v(_vm._s(complaint.fechasuscripcion))])])]),_c('b-col',[_c('div',[_c('p',[_vm._v(_vm._s(complaint.motivodesc))])])]),_c('b-col',[_c('div',[_c('p',[_vm._v(_vm._s(complaint.estatusdesc))])])]),_c('b-col',[_c('div',[_c('p',[_vm._v(_vm._s(complaint.observacion))])])])],1)}),1):_c('div',[_c('div',{staticClass:\"w-100\"}),_c('b-row',{staticClass:\"text-center\",staticStyle:{\"margin-top\":\"33px\"}},[_c('b-col',[_c('h4',[_vm._v(\"No existen reclamaciones en este rango de fecha.\")])])],1)],1)],1)],1)\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport ConsultaReclamacionesModel from \"@/models/ConsultaReclamaciones/ConsultaReclamacionesModel\";\nimport UmbracoApiService from \"@/services/UmbracoApiService\";\nimport { Component, Prop, Vue } from \"vue-property-decorator\";\nimport ComplaintResponse from \"@/models/ConsultaReclamaciones/ComplaintResponse\";\n\n@Component({})\nexport default class ConsultaReclamacionesResult extends Vue {\n @Prop() complaints: Array;\n\n public process() {\n this.$emit(\"process\");\n }\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConsultaReclamacionesResult.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConsultaReclamacionesResult.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ConsultaReclamacionesResult.vue?vue&type=template&id=35ae8b12&scoped=true\"\nimport script from \"./ConsultaReclamacionesResult.vue?vue&type=script&lang=ts\"\nexport * from \"./ConsultaReclamacionesResult.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConsultaReclamacionesResult.vue?vue&type=style&index=0&id=35ae8b12&prod&scoped=true&lang=css\"\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 \"35ae8b12\",\n null\n \n)\n\nexport default component.exports","\nimport ConsultaReclamacionesModel from \"@/models/ConsultaReclamaciones/ConsultaReclamacionesModel\";\nimport UmbracoApiService from \"@/services/UmbracoApiService\";\nimport { Component, Vue } from \"vue-property-decorator\";\nimport ConsultaReclamacionesForm from \"@/components/Consulta_Reclamaciones/ConsultaReclamacionesForm.vue\";\nimport ConsultaReclamacionesResult from \"@/components/Consulta_Reclamaciones/ConsultaReclamacionesResult.vue\";\nimport UserComplaintQuery from \"@/models/ConsultaReclamaciones/UserComplaintQuery\";\nimport WsdlService from \"@/services/WsdlService\";\nimport ComplaintResponse from \"@/models/ConsultaReclamaciones/ComplaintResponse\";\nimport { AxiosResponse } from \"axios\";\nimport Swal from \"sweetalert2\";\nimport GlobalConfig from \"@/GlobalConfig\";\n\n\n@Component({\n\tcomponents: {\n\t\tConsultaReclamacionesForm,\n\t\tConsultaReclamacionesResult\n\t\t}\n})\nexport default class ConsultaReclamaciones extends Vue {\n public umbracoService = new UmbracoApiService();\n\tpublic wsdlService: WsdlService = new WsdlService();\n\tpublic isConsulting: boolean = true;\n\tpublic complaints: Array = [];\n\tpublic isLoading: boolean = false;\n\tpublic umbracoBaseUrl: string = GlobalConfig.UMBRACO_BASE_URL;\n\n public labelData = new ConsultaReclamacionesModel();\n\n async mounted() {\n await this.getAllData();\n }\n\n async getAllData() {\n this.labelData =\n await this.umbracoService.getConsultaReclamaciones();\n }\n\tpublic async processComplaint(complaintQuery: UserComplaintQuery){\n\t\tif(complaintQuery.fromDate && complaintQuery.toDate)\n\t\t{\n\t\t\tthis.isLoading = true;\n\t\t\tthis.wsdlService.GetReclamaciones(complaintQuery).then((response: AxiosResponse>) => {\n\t\t\t\tthis.complaints = response.data;\n\t\t\t\tthis.isConsulting = false;\n\t\t\t\tthis.isLoading = false;\n\t\t\t}).catch(ex =>\n\t\t\t{\n\t\t\t\tSwal.fire({\n\t\t\t\t\ttext: '¡Lo sentimos! Ha ocurrido un error en la consulta',\n\t\t\t\t\ticon: \"error\",\n\t\t\t\t\tshowConfirmButton: true,\n\t\t\t\t\tconfirmButtonText: \"Ok\",\n\t\t\t\t});\n\t\t\t}).finally(() =>{this.isLoading = false;});\n\t\t}\n\t\telse{\n\t\t\tSwal.fire({\n\t\t\t\t\ttext: 'Debe seleccionar una fecha de inicio y una fecha final para consultar',\n\t\t\t\t\ticon: \"error\",\n\t\t\t\t\tshowConfirmButton: true,\n\t\t\t\t\tconfirmButtonText: \"Ok\",\n\t\t\t\t});\n\t\t}\n\t}\n}\n","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConsultaReclamaciones.vue?vue&type=script&lang=ts\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??ref--13-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConsultaReclamaciones.vue?vue&type=script&lang=ts\"","import { render, staticRenderFns } from \"./ConsultaReclamaciones.vue?vue&type=template&id=4c247c5a&scoped=true\"\nimport script from \"./ConsultaReclamaciones.vue?vue&type=script&lang=ts\"\nexport * from \"./ConsultaReclamaciones.vue?vue&type=script&lang=ts\"\nimport style0 from \"./ConsultaReclamaciones.vue?vue&type=style&index=0&id=4c247c5a&prod&scoped=true&lang=css\"\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 \"4c247c5a\",\n null\n \n)\n\nexport default component.exports","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConsultaReclamaciones.vue?vue&type=style&index=0&id=4c247c5a&prod&scoped=true&lang=css\"","export * from \"-!../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--6-oneOf-1-0!../../../node_modules/css-loader/index.js??ref--6-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--6-oneOf-1-2!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./ConsultaReclamacionesResult.vue?vue&type=style&index=0&id=35ae8b12&prod&scoped=true&lang=css\""],"sourceRoot":""}