{"version":3,"sources":["webpack:///./src/views/crafted/certification/CertificationSendingReport.vue?f150","webpack:///./src/views/crafted/certification/CertificationSendingReport.vue","webpack:///./src/views/crafted/certification/CertificationSendingReport.vue?5dcb"],"names":["_withScopeId","n","_hoisted_1","class","_hoisted_2","_hoisted_3","_hoisted_4","key","_hoisted_5","_hoisted_6","_hoisted_7","_hoisted_8","_hoisted_9","_hoisted_10","_hoisted_11","_hoisted_12","_hoisted_13","_hoisted_14","_hoisted_15","_hoisted_16","_hoisted_17","_hoisted_18","_hoisted_19","_hoisted_20","_hoisted_21","_hoisted_22","_hoisted_23","_hoisted_24","_hoisted_25","_hoisted_26","_hoisted_27","_hoisted_28","_hoisted_29","_hoisted_30","_hoisted_31","_hoisted_32","id","_hoisted_33","_hoisted_34","_hoisted_35","_hoisted_36","_hoisted_37","_hoisted_38","_hoisted_39","_hoisted_40","_hoisted_41","_hoisted_42","_hoisted_43","_hoisted_44","_hoisted_45","_hoisted_46","_hoisted_47","_hoisted_48","_hoisted_49","_hoisted_50","_hoisted_51","for","_hoisted_52","_hoisted_53","_hoisted_54","_hoisted_55","_hoisted_56","_hoisted_57","_hoisted_58","_hoisted_59","_hoisted_60","_hoisted_61","_hoisted_62","_hoisted_63","_hoisted_64","_hoisted_65","_hoisted_66","_hoisted_67","_hoisted_68","_hoisted_69","_hoisted_70","_hoisted_71","_hoisted_72","_hoisted_73","_hoisted_74","_hoisted_75","_hoisted_76","_hoisted_77","_hoisted_78","_hoisted_79","role","_hoisted_80","setup","__props","store","router","currentLanguage","getters","getCurrentLanguage","localStorage","getItem","file","sendReportLoading","isFile","loading","deadlineSendReport","intervalId","timeRemaining","days","hours","minutes","seconds","timeSmall","created_at","end","Date","value","setDate","getDate","clearInterval","calculateTimeRemaining","now","difference","Math","floor","getDeadlineSendReport","ApiService","get","status","data","deadline_send_report","setInterval","console","error","newValue","endSub3Hours","setHours","getHours","redirectFeedBack","response","url","push","name","formatDate","date","subtract","format","redirectSendReport","current_step","message","handleFileUpload","event","target","files","submitFiles","type","formData","FormData","append","vueInstance","axios","post","removeFile","oldValue","deep","_ctx","_cache","_component_router_link","to","default","$t","_","undefined","toString","padStart","onChange","hidden","onClick","$event","__exports__"],"mappings":"4MAGMA,EAAe,SAAAC,GAAK,OAAC,yBAAa,mBAAmBA,EAAEA,IAAI,0BAAcA,GACzEC,EAAa,CAAEC,MAAO,YACtBC,EAAa,CAAED,MAAO,wBACtBE,EAA2BL,GAAa,WAAmB,uCAAoB,IAAK,CAAEG,MAAO,mCAAqC,MAAO,MACzIG,EAAa,CAAEC,IAAK,GACpBC,EAAa,CAAEL,MAAO,kBACtBM,EAAa,CAAEN,MAAO,eACtBO,EAAa,CAAEP,MAAO,4BACtBQ,EAA2BX,GAAa,WAAmB,uCAAoB,MAAO,CAAEG,MAAO,gBAAkB,MAAO,MACxHS,EAAa,CAAET,MAAO,gCACtBU,EAAc,CAAEV,MAAO,aACvBW,EAAc,CAAEX,MAAO,QACvBY,EAAc,CAAEZ,MAAO,uCACvBa,EAA4BhB,GAAa,WAAmB,uCAAoB,OAAQ,CAAEG,MAAO,sCAAwC,MAAO,MAChJc,EAAc,CAAEd,MAAO,oCACvBe,EAAc,CAAEf,MAAO,QACvBgB,EAAc,CAAEhB,MAAO,uCACvBiB,EAA4BpB,GAAa,WAAmB,uCAAoB,OAAQ,CAAEG,MAAO,sCAAwC,MAAO,MAChJkB,EAAc,CAAElB,MAAO,oCACvBmB,EAAc,CAAEnB,MAAO,iBACvBoB,EAAc,CAAEpB,MAAO,aACvBqB,EAAc,CAAErB,MAAO,wBACvBsB,EAAc,CAAEtB,MAAO,eACvBuB,EAAc,CAAEvB,MAAO,4BACvBwB,EAAc,CAAExB,MAAO,aACvByB,EAAc,CAAEzB,MAAO,sBACvB0B,EAAc,CAAE1B,MAAO,eACvB2B,EAAc,CAAE3B,MAAO,6CACvB4B,EAAc,CAAE5B,MAAO,eACvB6B,EAAc,CAAE7B,MAAO,yDACvB8B,EAAc,CAAE9B,MAAO,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AgB,OAAChB,OACrD1J,MAAO,uBACN6D,UAGN,yBAAc,gCAAoB,MAAOC,GAAa,CACrD,gCAAoB,MAAOC,GAAa,CACtC,gCAAoB,MAAO,KAAM,CAC/BC,GACA,gCAAoB,OAAQC,GAAa,6BAAiB4F,EAAKK,GAAM,mBAAO1E,GAAgB,gDAAiD,KAE/ItB,QAGR,gCAAoB,MAAOC,GAAa,CACtC,gCAAoB,MAAOC,GAAa,CACtC,gCAAoB,MAAOC,GAAa,CACpC0B,GAAOa,OAEJ,yBAAc,gCAAoB,IAAKrC,GAAa,6BAAiBsF,EAAKK,GAAM,mBAAO1E,GAAgB,iEAAkE,KADzK,yBAAc,gCAAoB,IAAKlB,GAAa,6BAAiBuF,EAAKK,GAAM,mBAAO1E,GAAgB,0CAA4C,OAAQ,gBAQ5K,gCAAoB,MAAOhB,GAAa,CACtC,gCAAoB,MAAOC,GAAa,CACtC,gCAAoB,MAAOC,GAAa,CACtC,gCAAoB,MAAOC,GAAa,CACtC,gCAAoB,MAAOC,GAAa,CACtC,gCAAoB,MAAOC,GAAa,CACrCkB,GAAY,OACR,yBAAc,gCAAoB,SAAU,CAC3C3F,IAAK,EACLqK,QAASvB,GACTlJ,MAAO,cACN,6BAAiB6J,EAAKK,GAAM,mBAAO1E,GAAgB,2CAA4C,KACjG,yBAAc,gCAAoB,SAAUV,GAAa,6BAAiB+E,EAAKK,GAAM,mBAAO1E,GAAgB,2CAA4C,oBAc9K,Q,oCCzgBL,MAAMmF,GAA2B,KAAgB,GAAQ,CAAC,CAAC,YAAY,qBAExD,iB,2DCRf","file":"js/chunk-1e299156.a1ef4fb0.js","sourcesContent":["import { defineComponent as _defineComponent } from 'vue'\nimport { createElementVNode as _createElementVNode, unref as _unref, toDisplayString as _toDisplayString, createTextVNode as _createTextVNode, resolveComponent as _resolveComponent, withCtx as _withCtx, createVNode as _createVNode, openBlock as _openBlock, createElementBlock as _createElementBlock, createCommentVNode as _createCommentVNode, Fragment as _Fragment, pushScopeId as _pushScopeId, popScopeId as _popScopeId } from \"vue\"\n\nconst _withScopeId = n => (_pushScopeId(\"data-v-2af8a2f6\"),n=n(),_popScopeId(),n)\nconst _hoisted_1 = { class: \"row mb-5\" }\nconst _hoisted_2 = { class: \"col-md-12 text-start\" }\nconst _hoisted_3 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-chevron-left text-primary\" }, null, -1))\nconst _hoisted_4 = { key: 0 }\nconst _hoisted_5 = { class: \"card shadow-sm\" }\nconst _hoisted_6 = { class: \"card-header\" }\nconst _hoisted_7 = { class: \"card-title text-gray-800\" }\nconst _hoisted_8 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"card-toolbar\" }, null, -1))\nconst _hoisted_9 = { class: \"card-body fs-4 text-gray-700\" }\nconst _hoisted_10 = { class: \"card-body\" }\nconst _hoisted_11 = { class: \"mb-8\" }\nconst _hoisted_12 = { class: \"d-flex align-items-center mb-3 ms-3\" }\nconst _hoisted_13 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"bullet bullet-dot me-3 h-8px w-8px\" }, null, -1))\nconst _hoisted_14 = { class: \"fs-4 text-gray-700 w-bolder mb-0\" }\nconst _hoisted_15 = { class: \"mb-8\" }\nconst _hoisted_16 = { class: \"d-flex align-items-center mb-3 ms-3\" }\nconst _hoisted_17 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", { class: \"bullet bullet-dot me-3 h-8px w-8px\" }, null, -1))\nconst _hoisted_18 = { class: \"fs-4 text-gray-700 w-bolder mb-0\" }\nconst _hoisted_19 = { class: \"row gx-5 my-5\" }\nconst _hoisted_20 = { class: \"col-lg-12\" }\nconst _hoisted_21 = { class: \"card card-xl-stretch\" }\nconst _hoisted_22 = { class: \"card-header\" }\nconst _hoisted_23 = { class: \"card-title text-gray-800\" }\nconst _hoisted_24 = { class: \"card-body\" }\nconst _hoisted_25 = { class: \"text-gray-700 fs-4\" }\nconst _hoisted_26 = { class: \"card-footer\" }\nconst _hoisted_27 = { class: \"d-flex flex-center justify-content-center\" }\nconst _hoisted_28 = { class: \"text-center\" }\nconst _hoisted_29 = { class: \"row d-inline-flex justify-content-around text-success\" }\nconst _hoisted_30 = { class: \"col px-0 mx-2\" }\nconst _hoisted_31 = { class: \"text-gray-700\" }\nconst _hoisted_32 = {\n id: \"days\",\n class: \"number fw-bold\"\n}\nconst _hoisted_33 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col px-0 mx-2\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-white-opacity\" }, \".\"),\n /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"days\",\n class: \"number\"\n }, \":\")\n], -1))\nconst _hoisted_34 = { class: \"col px-0 mx-2\" }\nconst _hoisted_35 = { class: \"text-gray-700\" }\nconst _hoisted_36 = {\n id: \"hours\",\n class: \"number fw-bold\"\n}\nconst _hoisted_37 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col px-0 mx-2\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-white-opacity\" }, \".\"),\n /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"days\",\n class: \"number\"\n }, \":\")\n], -1))\nconst _hoisted_38 = { class: \"col px-0 mx-2\" }\nconst _hoisted_39 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-gray-700\" }, \"Min\", -1))\nconst _hoisted_40 = {\n id: \"minutes\",\n class: \"number fw-bold\"\n}\nconst _hoisted_41 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"col px-0 mx-2\" }, [\n /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-white-opacity\" }, \".\"),\n /*#__PURE__*/_createElementVNode(\"div\", {\n id: \"days\",\n class: \"number\"\n }, \":\")\n], -1))\nconst _hoisted_42 = { class: \"col px-0 mx-2\" }\nconst _hoisted_43 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"p\", { class: \"text-gray-700\" }, \"Seg\", -1))\nconst _hoisted_44 = {\n id: \"seconds\",\n class: \"number fw-bold\"\n}\nconst _hoisted_45 = { class: \"my-5 d-flex flex-column\" }\nconst _hoisted_46 = { class: \"upload-container card\" }\nconst _hoisted_47 = { class: \"modal-header\" }\nconst _hoisted_48 = { class: \"text-gray-800\" }\nconst _hoisted_49 = { class: \"modal-body\" }\nconst _hoisted_50 = { class: \"file-input-wrapper\" }\nconst _hoisted_51 = {\n for: \"file\",\n class: \"file-label\"\n}\nconst _hoisted_52 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-cloud-arrow-up text-white fs-3 me-2\" }, null, -1))\nconst _hoisted_53 = { class: \"mb-3\" }\nconst _hoisted_54 = {\n key: 0,\n class: \"file-preview\"\n}\nconst _hoisted_55 = { class: \"file border border-gray-500\" }\nconst _hoisted_56 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-file-pdf text-primary fs-3\" }, null, -1))\nconst _hoisted_57 = { class: \"text-gray-800 fs-4\" }\nconst _hoisted_58 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-x-circle text-danger text-hover-success fs-3\" }, null, -1))\nconst _hoisted_59 = [\n _hoisted_58\n]\nconst _hoisted_60 = {\n key: 1,\n class: \"file-preview\"\n}\nconst _hoisted_61 = { class: \"file border border-gray-400\" }\nconst _hoisted_62 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-file-earmark-fill text-gray-400 text-hover-gray-500 fs-3\" }, null, -1))\nconst _hoisted_63 = { class: \"text-gray-400 fs-4 text-hover-gray-500\" }\nconst _hoisted_64 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"div\", { class: \"cursor-pointer mt-1\" }, [\n /*#__PURE__*/_createElementVNode(\"i\", { class: \"bi bi-circle-fill text-gray-400 text-hover-gray-500 fs-3\" })\n], -1))\nconst _hoisted_65 = { class: \"d-flex flex-column\" }\nconst _hoisted_66 = { class: \"justify-content-start d-flex align-items-center\" }\nconst _hoisted_67 = { class: \"\" }\nconst _hoisted_68 = {\n key: 0,\n class: \"text-danger fs-8 text-opacity-50\"\n}\nconst _hoisted_69 = {\n key: 1,\n class: \"text-success fs-8 text-opacity-50\"\n}\nconst _hoisted_70 = { class: \"row mt-5 mx-1\" }\nconst _hoisted_71 = { class: \"card\" }\nconst _hoisted_72 = { class: \"card-body\" }\nconst _hoisted_73 = { class: \"d-flex flex-column\" }\nconst _hoisted_74 = { class: \"justify-content-center d-flex align-items-center\" }\nconst _hoisted_75 = { class: \"\" }\nconst _hoisted_76 = {\n key: 1,\n class: \"upload-btn-disabled bg-gray-300 text-gray-500\"\n}\nconst _hoisted_77 = {\n key: 1,\n class: \"d-flex flex-column py-6\"\n}\nconst _hoisted_78 = { class: \"container text-center mt-5\" }\nconst _hoisted_79 = /*#__PURE__*/ _withScopeId(() => /*#__PURE__*/_createElementVNode(\"span\", {\n class: \"spinner-border text-primary\",\n role: \"status\"\n}, null, -1))\nconst _hoisted_80 = { class: \"text-muted fs-3 fw-bold mt-3 mb-6\" }\n\nimport {computed, onBeforeUnmount, onMounted, reactive, ref, watch} from \"vue\";\nimport {useRouter} from \"vue-router\";\nimport {useStore} from \"vuex\";\nimport CardMachine from \"@/components/certification/CardMachine.vue\";\nimport {Actions} from \"@/store/enums/StoreEnums\";\nimport ApiService from \"@/core/services/ApiService\";\nimport moment from \"moment\";\n\n\nexport default /*#__PURE__*/_defineComponent({\n setup(__props) {\n\nconst store = useStore();\nconst router = useRouter();\nconst currentLanguage = computed(() => store.getters.getCurrentLanguage || localStorage.getItem('currentLanguage'));\nconst certificationOK = ref(true);\nconst file = ref();\nconst terms = ref(false);\nconst isChecked = ref(false);\nconst sendReportLoading = ref(false);\nconst isFile = ref(false)\nconst loading = ref(false);\nconst deadlineSendReport = ref()\nconst intervalId = ref();\nconst timeRemaining = ref<{ days: number, hours: number, minutes: number, seconds: number }>({\n days: 0,\n hours: 0,\n minutes: 0,\n seconds: 0\n});\nconst timeSmall = ref(false);\n\nconst created_at = computed(() => {\n const end: any = new Date(deadlineSendReport.value);\n return new Date(end.setDate(end.getDate() - 7));\n})\n\n// const deadlineSendReportSmall = () => {\n// const now: any = new Date();\n// const end: any = new Date(deadlineSendReport.value);\n// const nowSub3Hours = new Date(now.setHours(now.getHours() - 3));\n// console.log(\"deadlineSendReportSmall time small\", timeSmall.value);\n// if(end <= nowSub3Hours) {\n// console.log(\"dentro do if\");\n// timeSmall.value = true;\n// };\n// }\n\nonBeforeUnmount(() => {\n if (intervalId.value) {\n clearInterval(intervalId.value);\n }\n});\n\nconst calculateTimeRemaining = () => {\n const now: any = new Date();\n const end: any = new Date(deadlineSendReport.value);\n\n const difference = end - now - (3 * 60 * 60 * 1000);\n if (difference > 0) {\n timeRemaining.value = {\n days: Math.floor(difference / (1000 * 60 * 60 * 24)),\n hours: Math.floor((difference / (1000 * 60 * 60)) % 24),\n minutes: Math.floor((difference / (1000 * 60)) % 60),\n seconds: Math.floor((difference / 1000) % 60),\n };\n } else {\n timeRemaining.value = { days: 0, hours: 0, minutes: 0, seconds: 0 };\n }\n};\nconst getDeadlineSendReport = async () => {\n try {\n loading.value = true;\n const {status, data} = await ApiService.get(\"/certification/status/1\");\n if (status === 200) {\n deadlineSendReport.value = data.data.deadline_send_report;\n calculateTimeRemaining();\n\n setInterval(() => {\n // deadlineSendReportSmall();\n calculateTimeRemaining();\n if( (timeRemaining.value.days === 0 &&\n timeRemaining.value.hours === 0 &&\n timeRemaining.value.minutes === 0 &&\n timeRemaining.value.seconds <= 1)\n )\n {\n clearInterval(intervalId.value);\n timeSmall.value = true;\n }\n }, 1000);\n }\n } catch (e) {\n console.error(\"Erro ao buscar o deadline:\", e);\n }finally {\n loading.value = false;\n }\n};\n\nwatch(timeSmall, (newValue) => {\n if (newValue) {\n const now: any = new Date();\n const end: any = new Date(deadlineSendReport.value);\n const endSub3Hours = new Date(end.setHours(end.getHours() - 3));\n if(end <= endSub3Hours) {\n redirectFeedBack();\n };\n }\n});\n\nconst redirectFeedBack = async () => {\n sendReportLoading.value = true;\n loading.value = true;\n try {\n const response = await ApiService.get(\"/certification/status/1\");\n if (response.status === 200 && timeSmall.value && response.data.data.url === null) {\n await ApiService.get(\"/certification/disapproved/1\");\n await router.push({ name: 'certifications-feedback' });\n }\n } catch (e) {\n console.error(\"Erro ao redirecionar:\", e);\n } finally {\n sendReportLoading.value = false;\n loading.value = false;\n }\n}\n\nconst formatDate = (date: Date) =>{\n return moment(date).subtract(3, 'hours').format('DD/MM/YY - HH:mm');\n}\nconst redirectSendReport = async () => {\n sendReportLoading.value = true;\n loading.value = true;\n try {\n const {status, data} = await ApiService.get(\"/certification/status/1\");\n if (status === 200) {\n if(data.data.current_step === 1 || data.data.current_step === 2) {\n await router.push({ name: 'certifications-to-do'});\n }else if(data.data.current_step === 3){\n sendReportLoading.value = false;\n loading.value = false;\n }else if(data.data.current_step === 4){\n await router.push({name: 'certifications-feedback'})\n }else{\n await router.push({name: 'certifications'})\n }\n }\n } catch (e) {\n console.error(\"Erro ao redirecionar:\", e);\n if(e.response.data.message === \"Relatório já enviado, aguarde a avaliação\"){\n await router.push({name: 'certifications-feedback'})\n sendReportLoading.value = false;\n loading.value = false;\n }else if(e.response.data.message === \"certificado ainda não iniciado\" ){\n await router.push({name: 'certifications'})\n }\n } finally {\n sendReportLoading.value = false;\n loading.value = false;\n }\n}\n\nonMounted(async () => {\n await redirectSendReport();\n await getDeadlineSendReport();\n})\nconst checkedTerms = () => {\n isChecked.value = !isChecked.value;\n terms.value = isChecked.value;\n}\n\nconst handleFileUpload = (event) => file.value = event.target.files[0] || null;\n\nconst submitFiles = async () => {\n sendReportLoading.value = true;\n if (!file.value) {\n console.error(\"Nenhum arquivo selecionado.\");\n sendReportLoading.value = false;\n return;\n }\n if (file.value.type !== \"application/pdf\") {\n console.error(\"O arquivo não é um PDF.\");\n sendReportLoading.value = false;\n return;\n }\n const formData = new FormData();\n formData.append('report', file.value);\n try {\n await ApiService.vueInstance.axios.post('/certification/send-report/1', formData);\n } catch (error) {\n console.error(\"Erro ao enviar o arquivo:\", error);\n } finally {\n file.value = null;\n await router.push({ name: 'certifications-feedback' });\n sendReportLoading.value = false;\n }\n}\nconst removeFile = () => {\n file.value = null\n}\n\nwatch(file, (newValue, oldValue) => {\n if (newValue && newValue.type === \"application/pdf\") {\n isFile.value = true;\n } else {\n console.error(\"O arquivo não é um PDF ou nenhum arquivo foi selecionado.\");\n isFile.value = false;\n }\n}, { deep: true });\n\nreturn (_ctx: any,_cache: any) => {\n const _component_router_link = _resolveComponent(\"router-link\")!\n\n return (_openBlock(), _createElementBlock(_Fragment, null, [\n _createElementVNode(\"div\", _hoisted_1, [\n _createElementVNode(\"div\", _hoisted_2, [\n _createVNode(_component_router_link, {\n to: { name: 'dashboard' },\n class: \"text-primary\"\n }, {\n default: _withCtx(() => [\n _hoisted_3,\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.common.back`)), 1)\n ]),\n _: 1\n })\n ])\n ]),\n (!sendReportLoading.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_4, [\n _createElementVNode(\"div\", _hoisted_5, [\n _createElementVNode(\"div\", _hoisted_6, [\n _createElementVNode(\"h3\", _hoisted_7, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.title`)), 1),\n _hoisted_8\n ]),\n _createElementVNode(\"div\", _hoisted_9, [\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.description`)), 1),\n _createElementVNode(\"p\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.report_preparation`)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_10, [\n _createElementVNode(\"div\", _hoisted_11, [\n _createElementVNode(\"div\", _hoisted_12, [\n _hoisted_13,\n _createElementVNode(\"h4\", _hoisted_14, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.the_report_must_be_submitted_in_PDF_format`)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_15, [\n _createElementVNode(\"div\", _hoisted_16, [\n _hoisted_17,\n _createElementVNode(\"h4\", _hoisted_18, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.name_the_file_following_the_pattern`)), 1)\n ])\n ])\n ]),\n _createElementVNode(\"p\", null, [\n _createElementVNode(\"b\", null, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.required_content`)), 1)\n ]),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.required_content_desc_1`)), 1),\n _createElementVNode(\"p\", null, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.required_content_desc_2`)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_19, [\n _createElementVNode(\"div\", _hoisted_20, [\n _createElementVNode(\"div\", _hoisted_21, [\n _createElementVNode(\"div\", _hoisted_22, [\n _createElementVNode(\"h3\", _hoisted_23, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.to_do.deadline`)), 1)\n ]),\n _createElementVNode(\"div\", _hoisted_24, [\n _createElementVNode(\"p\", _hoisted_25, [\n _createTextVNode(_toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.deadline_desc_1`)) + \" \", 1),\n _createElementVNode(\"b\", null, _toDisplayString(deadlineSendReport.value === undefined ? '00/00/0000 00:00' : formatDate(_unref(created_at))) + \"h\", 1),\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.deadline_desc_2`)) + \" \", 1),\n _createElementVNode(\"b\", null, _toDisplayString(deadlineSendReport.value === undefined ? '00/00/0000 00:00' : formatDate(deadlineSendReport.value)) + \"h\", 1),\n _createTextVNode(\" \" + _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.deadline_desc_3`)), 1)\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_26, [\n _createElementVNode(\"div\", _hoisted_27, [\n _createElementVNode(\"div\", _hoisted_28, [\n _createElementVNode(\"div\", _hoisted_29, [\n _createElementVNode(\"div\", _hoisted_30, [\n _createElementVNode(\"p\", _hoisted_31, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.common.day`)), 1),\n _createElementVNode(\"div\", _hoisted_32, _toDisplayString(timeRemaining.value.days.toString().padStart(2, '0')), 1)\n ]),\n _hoisted_33,\n _createElementVNode(\"div\", _hoisted_34, [\n _createElementVNode(\"p\", _hoisted_35, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.common.hours`)), 1),\n _createElementVNode(\"div\", _hoisted_36, _toDisplayString(timeRemaining.value.hours.toString().padStart(2, '0')), 1)\n ]),\n _hoisted_37,\n _createElementVNode(\"div\", _hoisted_38, [\n _hoisted_39,\n _createElementVNode(\"div\", _hoisted_40, _toDisplayString(timeRemaining.value.minutes.toString().padStart(2, '0')), 1)\n ]),\n _hoisted_41,\n _createElementVNode(\"div\", _hoisted_42, [\n _hoisted_43,\n _createElementVNode(\"div\", _hoisted_44, _toDisplayString(timeRemaining.value.seconds.toString().padStart(2, '0')), 1)\n ])\n ])\n ])\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_45, [\n _createElementVNode(\"div\", _hoisted_46, [\n _createElementVNode(\"div\", _hoisted_47, [\n _createElementVNode(\"h2\", _hoisted_48, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.upload_file`)) + \" PDF \", 1)\n ]),\n _createElementVNode(\"div\", _hoisted_49, [\n _createElementVNode(\"div\", _hoisted_50, [\n _createElementVNode(\"input\", {\n type: \"file\",\n id: \"file\",\n onChange: handleFileUpload,\n hidden: \"\"\n }, null, 32),\n _createElementVNode(\"label\", _hoisted_51, [\n _hoisted_52,\n _createElementVNode(\"span\", _hoisted_53, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.choose_the`)) + \" PDF \", 1)\n ])\n ]),\n (file.value)\n ? (_openBlock(), _createElementBlock(\"div\", _hoisted_54, [\n _createElementVNode(\"div\", _hoisted_55, [\n _createElementVNode(\"div\", null, [\n _hoisted_56,\n _createElementVNode(\"span\", _hoisted_57, _toDisplayString(file.value.name), 1)\n ]),\n _createElementVNode(\"div\", {\n onClick: _cache[0] || (_cache[0] = ($event: any) => (removeFile())),\n class: \"cursor-pointer mt-1\"\n }, _hoisted_59)\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_60, [\n _createElementVNode(\"div\", _hoisted_61, [\n _createElementVNode(\"div\", null, [\n _hoisted_62,\n _createElementVNode(\"span\", _hoisted_63, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.no_file_selected`)), 1)\n ]),\n _hoisted_64\n ])\n ])),\n _createElementVNode(\"div\", _hoisted_65, [\n _createElementVNode(\"div\", _hoisted_66, [\n _createElementVNode(\"div\", _hoisted_67, [\n (!isFile.value)\n ? (_openBlock(), _createElementBlock(\"p\", _hoisted_68, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.choose_the`)) + \" PDF\", 1))\n : (_openBlock(), _createElementBlock(\"p\", _hoisted_69, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.congratulations_the_file_is_a_PDF`)), 1))\n ])\n ])\n ])\n ])\n ])\n ]),\n _createElementVNode(\"div\", _hoisted_70, [\n _createElementVNode(\"div\", _hoisted_71, [\n _createElementVNode(\"div\", _hoisted_72, [\n _createElementVNode(\"div\", _hoisted_73, [\n _createElementVNode(\"div\", _hoisted_74, [\n _createElementVNode(\"div\", _hoisted_75, [\n (isFile.value)\n ? (_openBlock(), _createElementBlock(\"button\", {\n key: 0,\n onClick: submitFiles,\n class: \"upload-btn\"\n }, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.send_report`)), 1))\n : (_openBlock(), _createElementBlock(\"button\", _hoisted_76, _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.send_report`)), 1))\n ])\n ])\n ])\n ])\n ])\n ])\n ]))\n : (_openBlock(), _createElementBlock(\"div\", _hoisted_77, [\n _createElementVNode(\"div\", _hoisted_78, [\n _hoisted_79,\n _createElementVNode(\"span\", _hoisted_80, \"    \" + _toDisplayString(loading.value ? _ctx.$t(`${_unref(currentLanguage)}.certification.send_report.analyzing`) : _ctx.$t(`${_unref(currentLanguage)}.certification.send_report.sending`)) + \" \" + _toDisplayString(_ctx.$t(`${_unref(currentLanguage)}.certification.send_report.report`)) + \"... \", 1)\n ])\n ]))\n ], 64))\n}\n}\n\n})","import script from \"./CertificationSendingReport.vue?vue&type=script&setup=true&lang=ts\"\nexport * from \"./CertificationSendingReport.vue?vue&type=script&setup=true&lang=ts\"\n\nimport \"./CertificationSendingReport.vue?vue&type=style&index=0&id=2af8a2f6&scoped=true&lang=css\"\n\nimport exportComponent from \"/codebuild/output/src791094775/src/hackingclub-spa/node_modules/vue-loader-v16/dist/exportHelper.js\"\nconst __exports__ = /*#__PURE__*/exportComponent(script, [['__scopeId',\"data-v-2af8a2f6\"]])\n\nexport default __exports__","export * from \"-!../../../../node_modules/mini-css-extract-plugin/dist/loader.js??ref--7-oneOf-1-0!../../../../node_modules/css-loader/dist/cjs.js??ref--7-oneOf-1-1!../../../../node_modules/vue-loader-v16/dist/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-v16/dist/index.js??ref--1-1!./CertificationSendingReport.vue?vue&type=style&index=0&id=2af8a2f6&scoped=true&lang=css\""],"sourceRoot":""}