{"version":3,"sources":["webpack:///./src/views/Helexium/Ayuda/Academia/CertificadoQR.vue?23f5","webpack:///./src/views/Helexium/Ayuda/Academia/CertificadoQR.vue","webpack:///src/views/Helexium/Ayuda/Academia/CertificadoQR.vue","webpack:///./src/views/Helexium/Ayuda/Academia/CertificadoQR.vue?b988","webpack:///./src/views/Helexium/Ayuda/Academia/CertificadoQR.vue?0437"],"names":["render","_vm","this","_c","_self","staticStyle","ref","attrs","HtmlOpciones","slot","staticClass","certificadoData","Curso","EmpresaLogo","_v","_s","Persona","nombreEstudiante","CursoTitulo","CursoResponsableNombreCompleto","staticRenderFns","components","VueHtml2pdf","data","qrImg","imgBase64","IdEstudiante","IdCurso","curso","persona","empresaId","selectedOption","image","type","quality","enableLinks","html2canvas","scale","useCORS","jsPDF","unit","format","orientation","created","$route","params","CursoId","PersonaId","getData","generarQR","convertirImagen","JSON","parse","localStorage","getItem","empresa","id","error","methods","datos","apiEndpoint","queryParams","encodeURIComponent","qrUrl","response","fetch","blob","reader","FileReader","readAsDataURL","onloadend","result","url","mimeType","startsWith","Error","Promise","resolve","reject","onload","base64Data","replace","onerror","res","$store","dispatch","path","respuesta","Swal","fire","icon","title","text","mensaje","then","$router","push","err","goBack","go","toPdf","$refs","html2Pdf","generatePdf","component"],"mappings":"kHAAA,W,gECAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAG,OAAOA,EAAG,MAAM,CAACE,YAAY,CAAC,cAAc,OAAO,eAAe,SAAS,CAACF,EAAG,OAAO,CAACA,EAAG,MAAM,CAACE,YAAY,CAAC,aAAa,OAAO,aAAa,WAAW,CAACF,EAAG,MAAM,CAACE,YAAY,CAAC,OAAS,OAAO,SAAW,WAAW,MAAQ,SAAS,OAAS,UAAU,CAACF,EAAG,eAAe,CAACG,IAAI,WAAWD,YAAY,CAAC,OAAS,eAAe,QAAU,gBAAgBE,MAAM,CAAC,eAAc,EAAM,gBAAe,EAAM,mBAAkB,EA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EAAAN,WAAA,mCACAM,IAAAC,QACA,gCACA,QAAAR,IAIAI,EAAAG,IAEAb,EAAAe,QAAAzB,GAAAqB,EAAArB,KAEA,MAAAA,GAEA,WAIA,gBACA,IACA,IAAA0B,QAAA,KAAAC,OAAAC,SAAA,UACAC,KAAA,2CAAA3D,QAAA,SAAAD,eAEAyD,EAAAI,UACA,KAAA5E,gBAAAwE,EAAA5D,KAEAiE,IAAAC,KAAA,CACAC,KAAA,QACAC,MAAA,QACAC,KAAAT,EAAAU,UACAC,KAAA,KACA,KAAAC,QAAAC,KAAA,6CAAArE,WAIA,MAAAsE,MAIAC,SACA,KAAAH,QAAAI,IAAA,IAEAC,QAGA,KAAAC,MAAAC,SAAAC,iBCnMsa,I,wBCQlaC,EAAY,eACd,EACAxG,EACAoB,GACA,EACA,KACA,WACA,MAIa,aAAAoF,E","file":"js/chunk-1a0fecbf.723d0613ad8a3db9689f.js","sourcesContent":["export * from \"-!../../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../../node_modules/@vue/cli-service/node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../../../node_modules/postcss-loader/src/index.js??ref--7-oneOf-1-2!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CertificadoQR.vue?vue&type=style&index=0&id=4dada75d&prod&scoped=true&lang=css\"","var render = function render(){var _vm=this,_c=_vm._self._c;return _c('div',{staticStyle:{\"margin-left\":\"auto\",\"margin-right\":\"auto\"}},[_c('form',[_c('div',{staticStyle:{\"overflow-x\":\"auto\",\"overflow-y\":\"hidden\"}},[_c('div',{staticStyle:{\"margin\":\"20px\",\"position\":\"relative\",\"width\":\"1000px\",\"height\":\"750px\"}},[_c('vue-html2pdf',{ref:\"html2Pdf\",staticStyle:{\"margin\":\"0 !important\",\"padding\":\"0 !important\"},attrs:{\"show-layout\":false,\"float-layout\":false,\"enable-download\":true,\"preview-modal\":false,\"filename\":\"desprendible\",\"pdf-quality\":2,\"pdf-format\":\"letter\",\"pdf-orientation\":\"landscape\",\"pdf-content-width\":\"1000px\",\"html-to-pdf-options\":_vm.HtmlOpciones}},[_c('section',{staticStyle:{\"padding\":\"0 !important\",\"margin\":\"0 !important\",\"top\":\"0\"},attrs:{\"slot\":\"pdf-content\"},slot:\"pdf-content\"},[_c('div',{staticClass:\"container-cert-pdf\"},[_c('div',{staticClass:\"border p-2 shadow rounded bg-white bg-certificado-pdf\"},[_c('div',[_c('img',{staticClass:\"logo-helex mt-5 display\",attrs:{\"src\":_vm.certificadoData.Curso.EmpresaLogo,\"alt\":\"logo\"}})]),_c('div',{staticClass:\"logo-container\"},[_c('img',{staticClass:\"logo-helex-sm d-flex ml-auto\",attrs:{\"src\":\"/img/HXLogoBlack.png\",\"alt\":\"logo_helex\"}})]),_c('div',{staticClass:\"d-flex flex-column h-100 justify-content-center align-items-center\"},[_c('div',{staticClass:\"px-5 pt-2 pb-5 text-center\"},[_c('p',{staticClass:\"title\"},[_vm._v(\"CERTIFICADO\")]),_c('h2',{staticClass:\"tittle-letter\"},[_vm._v(\"DE FINALIZACIÓN\")]),_c('h5',{staticClass:\"mt-3 subtittle-letter\"},[_vm._v(\"Este certificado se otorga a:\")]),_c('p',{staticClass:\"pb-0 mb-0 name py-2\"},[_vm._v(_vm._s(_vm.certificadoData.Persona.nombreEstudiante))]),_c('div',{staticStyle:{\"font-size\":\"1.4rem\",\"color\":\"rgb(0, 0, 0) !important\"}},[_c('p',[_vm._v(\" Por haber completado satisfactoriamente el curso: \"),_c('br'),_c('b',[_vm._v(\" \"+_vm._s(_vm.certificadoData.Curso.CursoTitulo))])]),_c('p',[_vm._v(\" Impartido por:\"),_c('br'),_c('b',[_vm._v(_vm._s(_vm.certificadoData.Curso.CursoResponsableNombreCompleto))])]),_c('p',{staticClass:\"text-center pt-3\"},[_vm._v(\" En reconocimiento a su esfuerzo y dedicación durante el curso, otorgamos este certificado como testimonio de su logro y compromiso con el aprendizaje. \")])])])])])])])])],1)])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\r\n\r\n\r\n\r\n","import mod from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CertificadoQR.vue?vue&type=script&lang=js\"; export default mod; export * from \"-!../../../../../node_modules/cache-loader/dist/cjs.js??ref--13-0!../../../../../node_modules/thread-loader/dist/cjs.js!../../../../../node_modules/@vue/cli-plugin-babel/node_modules/babel-loader/lib/index.js!../../../../../node_modules/cache-loader/dist/cjs.js??ref--1-0!../../../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./CertificadoQR.vue?vue&type=script&lang=js\"","import { render, staticRenderFns } from \"./CertificadoQR.vue?vue&type=template&id=4dada75d&scoped=true\"\nimport script from \"./CertificadoQR.vue?vue&type=script&lang=js\"\nexport * from \"./CertificadoQR.vue?vue&type=script&lang=js\"\nimport style0 from \"./CertificadoQR.vue?vue&type=style&index=0&id=4dada75d&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 \"4dada75d\",\n null\n \n)\n\nexport default component.exports"],"sourceRoot":""}