@genpact/genome.mfe.solidify-app 3.14.2 → 3.15.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- {"version":3,"file":"solidify.umd.min.SolidifyLearnerSelectTask.js","mappings":"gNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACH,EAAG,MAAM,CAACG,YAAY,+BAA+B,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAACH,EAAG,MAAM,CAACG,YAAY,OAAOC,SAAS,CAAC,UAAYN,EAAIO,GAAGP,EAAIQ,eAAeN,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,IAAI,CAACO,MAAM,CAAC,KAAOT,EAAIU,aAAa,OAAS,WAAW,CAACR,EAAG,MAAM,CAACG,YAAY,UAAUI,MAAM,CAAC,IAAME,EAAQ,kBACve,EACIC,EAAkB,G,UCCtB,GAAeC,EAAAA,EAAAA,iBAAgB,CAC7BC,KAAM,eACNC,MAAO,CACLC,aAAc,CACZC,KAAMC,OACNC,QAAS,KAGbC,MAAML,GACJ,MAAMP,GAAWa,EAAAA,EAAAA,KAAI,IACfX,GAAeW,EAAAA,EAAAA,KAAIC,aAAaC,QAAQ,iBAI9C,OAHAC,EAAAA,EAAAA,gBAAcC,UACZjB,EAASkB,MAAQX,EAAMC,YAAY,IAE9B,CAAER,WAAUE,eACrB,IClB4S,I,UCO1SiB,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,KACA,MAIF,EAAee,EAAiB,O,oEClBhC,IAAI5B,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY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EVA,EAAiBd,GAAK,MAKhBtK,CACR,G","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Select_Task.vue","webpack://solidify/./src/views/Learner_Select_Task.vue?2662","webpack://solidify/./src/views/Learner_Select_Task.vue?6fd1","webpack://solidify/./src/views/Learner_Select_Task.vue?85fe","webpack://solidify/./src/utils/select_task_service.ts","webpack://solidify/./node_modules/moment-timezone/index.js","webpack://solidify/./node_modules/moment-timezone/moment-timezone.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.svg\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=3c863459&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/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('div',{staticClass:\"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2\"},[(_vm.learning_content_display_name)?_c('span',[_vm._v(\" \"+_vm._s(_vm.learning_content_display_name)+\" \")]):_c('span',[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill))])]),_c('div',{staticClass:\"my-2\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n learning_content_display_name: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=1cbddefa&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/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('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.programId,\"proficiency\":_vm.profName,\"skill\":_vm.skillName,\"learning_content_display_name\":_vm.learning_content_display_name}}),_c('div',{staticClass:\"flex md:flex mt-3 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[_c('ul',[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',[_vm._v(\"Under Review\")]),_c('li',[_vm._v(\"Done!\")])])])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block\"},[_vm._m(0),_vm._m(1),_c('div',{staticClass:\"lg:flex md:flex block mt-4 bg-white gap-x-3\"},[(_vm.rows.length > 0)?_c('div',{staticClass:\"lg:w-1/2 md:w-1/2 mb-6 md:mb-2 p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_c('table',{staticClass:\"table-auto border-collapse w-full\"},[_vm._m(2),_c('tbody',_vm._l((_vm.rows),function(task){return _c('tr',{key:task.task_id,staticClass:\"border-y-2 border-b-0 border-gray-300 text-blue-900\"},[_c('td',{staticClass:\"p-2 align-top\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.additional),expression:\"additional\"}],attrs:{\"type\":\"checkbox\",\"id\":\"check_id\"},domProps:{\"value\":task.task_id,\"checked\":Array.isArray(_vm.additional)?_vm._i(_vm.additional,task.task_id)>-1:(_vm.additional)},on:{\"change\":[function($event){var $$a=_vm.additional,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=task.task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.additional=$$a.concat([$$v]))}else{$$i>-1&&(_vm.additional=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.additional=$$c}},function($event){return _vm.setTaskDesc(task.task_name, task.description, $event)}],\"click\":_vm.checkOne}}),_vm._v(\" \"+_vm._s(task.task_name)+\" \")]),_c('td',{staticClass:\"p-2 align-top\"},[_vm._v(_vm._s(task.task_type))])])}),0)]),_c('div',{staticClass:\"hidden md:block\"},[_c('div',{staticClass:\"block mt-4 px-2\"},[_c('div',{staticClass:\"text-[#161916]\"},[_c('div',{staticClass:\"pb-1\"},[_vm._v(\"Enter your Genpact or preferred email to receive progress updates:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"appearance-none border border-[#ffad28] rounded-lg w-full py-2 px-3 text-[#161916] leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),(_vm.emailValidationMsg)?_c('div',{staticClass:\"ui basic label pointing red\"},[_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.emailValidationMsg)+\" \")])]):_vm._e()])]),_c('div',{staticClass:\"mt-4 mb-4 text-center\"},[(_vm.learning_path_id)?_c('router-link',{staticClass:\"py-2 px-6 border border-[#ffad28] bg-white-500 text-[#161916] hover:bg-[#ffad28] rounded-full shadow-md mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { learning_path_id: _vm.learning_path_id, learning_content_id: _vm.learning_content_id } }}},[_vm._v(\" Back \")]):_c('router-link',{staticClass:\"py-2 px-6 border border-[#ffad28] bg-white-500 text-[#161916] hover:bg-[#ffad28] rounded-full mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.profId, program_id: _vm.programId } }}},[_vm._v(\" Back \")]),_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md\",class:_vm.buttonDisable ? 'bg-gray-500 rounded-full cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":function($event){return _vm.createLearner()}}},[_vm._v(\" Select Task \")])],1)])]):_vm._e(),(!_vm.taskDesc)?_c('div'):_c('div',{staticClass:\"lg:w-1/2 md:w-1/2 bg-white mb-6 md:mb-2 p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskName),expression:\"taskName\"}]},[_c('strong',[_vm._v(\"Task Name:\")]),_vm._v(\" \"+_vm._s(_vm.taskName))]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskDesc),expression:\"taskDesc\"}],staticClass:\"mt-3\"},[_c('strong',[_vm._v(\"Task Description:\")])]),_c('div',{staticClass:\"mt-1 rich-text-formatter\",domProps:{\"innerHTML\":_vm._s(_vm.taskDesc)}})])])]),_c('div',{staticClass:\"md:hidden sm:block\"},[_c('div',{staticClass:\"block mt-8\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_vm._v(\"Enter your Genpact or preferred email to receive progress updates:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"appearance-none border md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),(_vm.emailValidationMsg)?_c('div',{staticClass:\"ui basic label pointing red\"},[_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.emailValidationMsg)+\" \")])]):_vm._e()])]),_c('div',{staticClass:\"mt-6 mb-6 text-center\"},[(_vm.learning_path_id)?_c('router-link',{staticClass:\"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { learning_path_id: _vm.learning_path_id, learning_content_id: _vm.learning_content_id } }}},[_vm._v(\" Back \")]):_c('router-link',{staticClass:\"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.profId, program_id: _vm.programId } }}},[_vm._v(\" Back \")]),_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":function($event){return _vm.createLearner()}}},[_vm._v(\"Select Task\")])],1)])])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"text-gray-500\"},[_c('p',{staticClass:\"pt-1 text-3xl\"},[_c('strong',{staticClass:\"text-xl\"},[_vm._v(\"Available Tasks:\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Select a task from the options below. If you're in a client-restricted environment, choose a mobile-friendly task (if available).\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',[_c('tr',{staticClass:\"border-b border-gray-300 text-[#161916]\"},[_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Learning Task\")]),_c('th',{staticClass:\"p-2 text-left min-w-[100px]\"},[_vm._v(\"Type of Task\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, ref, onBeforeMount } from 'vue';\nimport { taskData, registerLearner, getExistedLearner } from '@/utils/select_task_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '@/router';\nimport momentTimezone from 'moment-timezone';\n\nexport default defineComponent({\n name: 'LearnerSelectTask',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n components: { ErrorMessage, Greetings },\n setup(props) {\n const skillName = ref(localStorage.getItem('skillName'));\n const profName = ref(localStorage.getItem('proficiency'));\n const learning_content_display_name = ref(localStorage.getItem('learning_content_display_name'));\n const skillId = ref(localStorage.getItem('skillId'));\n const profId = ref(localStorage.getItem('profId'));\n const programId = ref(localStorage.getItem('programId'));\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const email = ref(localStorage.getItem('email'));\n const fullname = ref(localStorage.getItem('userName'));\n // const initialData: any = ref(localStorage.getItem('allInitialData'));\n const rows = ref();\n const taskName = ref();\n const taskDesc = ref();\n const additional = ref([]);\n const emailValidationMsg = ref();\n const buttonDisable = ref(true);\n const learnerTaskId = ref();\n const renderReady = ref();\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const taskAssignmentStrategy = ref();\n const reviewerAssignmentStrategy = ref();\n const learning_path_id = ref();\n const learning_content_id = ref();\n const checkOne = () => {\n additional.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setTaskDesc = (taskname: any, description: any, event: any) => {\n const cb = event.target.checked;\n\n if (cb === true) {\n buttonDisable.value = false;\n taskName.value = taskname;\n taskDesc.value = description;\n } else {\n buttonDisable.value = true;\n taskName.value = null;\n taskDesc.value = null;\n }\n };\n const emailValidate = async (emailID: string) => {\n // const emailRegexp = /^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$/;\n // const emailRegexp = /^\\w+([\\.-]?\\w+)*@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$/;\n const emailRegexp = /^\\w+([.-]?\\w+)*@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-]+$/;\n const isEmailValid = emailRegexp.test(emailID);\n // console.log(`validate_res ${isEmailValid}`);\n return isEmailValid;\n // Log.info(`Validate Response, ${validate_res}`);\n };\n const createLearner = async () => {\n try {\n if (!email.value) {\n emailValidationMsg.value = 'Please enter an email address';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n const validateEmail = await emailValidate(email.value);\n if (!validateEmail) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const learnerData: any = {\n email: email.value,\n linked_task_id: additional.value[0],\n skill_id: skillId.value,\n proficiency_id: profId.value,\n program_id: programId.value,\n learning_content_id: learning_content_id.value,\n learning_path_id: learning_path_id.value,\n };\n if (learnerTaskId.value) {\n Object.assign(learnerData, { learner_task_id: learnerTaskId.value });\n }\n if (fullname.value) {\n Object.assign(learnerData, { fullname: fullname.value });\n }\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await registerLearner('/v1/createLearnerActivities', learnerData);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const createRes: any = res.data;\n if (createRes.emailValidation === false) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n console.log(createRes.message);\n console.log({ learner_task_id: createRes.learnerTaskId, program_id: learnerData.program_id });\n router.push({ name: 'SolidifyLearnerSubmitTask', query: { learner_task_id: createRes.learnerTaskId, program_id: learnerData.program_id } });\n }\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is some issue in registering task for learner, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(`Error in creating ${error}`);\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getTaskData = async (data: any) => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await taskData('/task/search', data);\n // console.log(`res for task search ${JSON.stringify(res)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const taskresponse: any[] = res.data.tasks;\n renderReady.value = true;\n if (taskresponse.length === 0) {\n errorResponse.value = 'There is no task available for this skill and proficiency, please contact helpmate.';\n showErrorMessage.value = true;\n } else {\n taskresponse.sort((a, b) => a.task_type.localeCompare(b.task_type)); //added tasks sorting, Desktop will come on top\n rows.value = taskresponse;\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch task record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n onBeforeMount(async () => {\n try {\n learning_path_id.value = props.query.learning_path_id;\n learning_content_id.value = props.query.learning_content_id;\n\n renderReady.value = false;\n const tz = momentTimezone.tz.guess();\n\n programName.value = localStorage.getItem('programName');\n reviewerAssignmentStrategy.value = localStorage.getItem('reviewerAssignmentStrategy');\n taskAssignmentStrategy.value = localStorage.getItem('taskAssignmentStrategy');\n // router.go(0);\n const data = {\n skill: props.query.skill_id,\n proficiency: props.query.proficiency_id,\n program_id: props.query.program_id,\n learning_path_id: learning_path_id.value,\n learning_content_id: learning_content_id.value,\n timezone: tz,\n };\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getExistedLearner('/learner/journey/stat', data);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const existingRecord: any = res.data;\n renderReady.value = true;\n if (existingRecord.is_learner_not_allowed) {\n // console.log('inside learner not allowed');\n if (learning_path_id.value && learning_content_id.value) {\n router.push({\n path: '/solidify',\n query: { learning_path_id: learning_path_id.value, learning_content_id: learning_content_id.value },\n });\n } else {\n router.push({\n path: '/solidify',\n query: { skill_id: props.query.skill_id, proficiency_id: props.query.proficiency_id, program_id: props.query.program_id },\n });\n }\n return;\n }\n if (existingRecord.learnerData) {\n if (existingRecord.learnerData.technical_hold) {\n // console.log('learner on hold select task');\n if (learning_path_id.value && learning_content_id.value) {\n router.push({\n path: '/solidify',\n query: { learning_path_id: learning_path_id.value, learning_content_id: learning_content_id.value },\n });\n } else {\n router.push({\n path: '/solidify',\n query: { skill_id: props.query.skill_id, proficiency_id: props.query.proficiency_id, program_id: props.query.program_id },\n });\n }\n }\n learnerTaskId.value = existingRecord.learnerData.learner_task_id;\n if (existingRecord.learnerData.learner_status === 'Need Reviewer and Need Reviewee' || existingRecord.learnerData.learner_status === 'Need Reviewee') {\n router.push({ path: '/solidify/peerReview', query: { learner_task_id: existingRecord.learnerData.learner_task_id } });\n } else if (existingRecord.learnerData.learner_status === 'Need Reviewer' || existingRecord.learnerData.learner_status === 'Passed') router.push({ path: '/solidify/done', query: { learner_task_id: learnerTaskId.value } });\n else if (programId.value !== 'infinity' && existingRecord.learnerData.learner_status === 'Registered') {\n if (learning_path_id.value && learning_content_id.value)\n router.push({\n path: '/solidify/submitTask',\n query: { learner_task_id: existingRecord.learnerData.learnerData.learner_task_id, program_id: programId.value, learning_path_id: learning_path_id.value, learning_content_id: learning_content_id.value },\n });\n else router.push({ path: '/solidify/submitTask', query: { learner_task_id: existingRecord.learnerData.learnerData.learner_task_id, program_id: programId.value } });\n }\n }\n const params_for_task = {\n skill: skillId.value,\n proficiency: profId.value,\n program_id: programId.value,\n };\n console.log(`see this`, params_for_task);\n await getTaskData(params_for_task);\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in fetching Data, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n\n return {\n rows,\n // columns,\n skillName,\n profName,\n skillId,\n profId,\n programId,\n taskName,\n taskDesc,\n additional,\n email,\n emailValidationMsg,\n buttonDisable,\n setTaskDesc,\n checkOne,\n createLearner,\n helpmateLink,\n learnerTaskId,\n renderReady,\n fullname,\n errorResponse,\n showErrorMessage,\n programName,\n taskAssignmentStrategy,\n reviewerAssignmentStrategy,\n // cohortPanel,\n // solidifyPanel,\n learning_path_id,\n learning_content_id,\n learning_content_display_name,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Select_Task.vue?vue&type=template&id=f5698c14&scoped=true&\"\nimport script from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Select_Task.vue?vue&type=style&index=0&id=f5698c14&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"f5698c14\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport $http from '../plugins/axios';\n\n// import axios from 'axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\nconst taskData = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst registerLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst getExistedLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\nexport { taskData, registerLearner, getExistedLearner };\n","var moment = module.exports = require(\"./moment-timezone\");\nmoment.tz.load(require('./data/packed/latest.json'));\n","//! moment-timezone.js\n//! version : 0.5.43\n//! Copyright (c) JS Foundation and other contributors\n//! license : MIT\n//! github.com/moment/moment-timezone\n\n(function (root, factory) {\n\t\"use strict\";\n\n\t/*global define*/\n\tif (typeof module === 'object' && module.exports) {\n\t\tmodule.exports = factory(require('moment')); // Node\n\t} else if (typeof define === 'function' && define.amd) {\n\t\tdefine(['moment'], factory); // AMD\n\t} else {\n\t\tfactory(root.moment); // Browser\n\t}\n}(this, function (moment) {\n\t\"use strict\";\n\n\t// Resolves es6 module loading issue\n\tif (moment.version === undefined && moment.default) {\n\t\tmoment = moment.default;\n\t}\n\n\t// Do not load moment-timezone a second time.\n\t// if (moment.tz !== undefined) {\n\t// \tlogError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);\n\t// \treturn moment;\n\t// }\n\n\tvar VERSION = \"0.5.43\",\n\t\tzones = {},\n\t\tlinks = {},\n\t\tcountries = {},\n\t\tnames = {},\n\t\tguesses = {},\n\t\tcachedGuess;\n\n\tif (!moment || typeof moment.version !== 'string') {\n\t\tlogError('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');\n\t}\n\n\tvar momentVersion = moment.version.split('.'),\n\t\tmajor = +momentVersion[0],\n\t\tminor = +momentVersion[1];\n\n\t// Moment.js version check\n\tif (major < 2 || (major === 2 && minor < 6)) {\n\t\tlogError('Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js ' + moment.version + '. See momentjs.com');\n\t}\n\n\t/************************************\n\t\tUnpacking\n\t************************************/\n\n\tfunction charCodeToInt(charCode) {\n\t\tif (charCode > 96) {\n\t\t\treturn charCode - 87;\n\t\t} else if (charCode > 64) {\n\t\t\treturn charCode - 29;\n\t\t}\n\t\treturn charCode - 48;\n\t}\n\n\tfunction unpackBase60(string) {\n\t\tvar i = 0,\n\t\t\tparts = string.split('.'),\n\t\t\twhole = parts[0],\n\t\t\tfractional = parts[1] || '',\n\t\t\tmultiplier = 1,\n\t\t\tnum,\n\t\t\tout = 0,\n\t\t\tsign = 1;\n\n\t\t// handle negative numbers\n\t\tif (string.charCodeAt(0) === 45) {\n\t\t\ti = 1;\n\t\t\tsign = -1;\n\t\t}\n\n\t\t// handle digits before the decimal\n\t\tfor (i; i < whole.length; i++) {\n\t\t\tnum = charCodeToInt(whole.charCodeAt(i));\n\t\t\tout = 60 * out + num;\n\t\t}\n\n\t\t// handle digits after the decimal\n\t\tfor (i = 0; i < fractional.length; i++) {\n\t\t\tmultiplier = multiplier / 60;\n\t\t\tnum = charCodeToInt(fractional.charCodeAt(i));\n\t\t\tout += num * multiplier;\n\t\t}\n\n\t\treturn out * sign;\n\t}\n\n\tfunction arrayToInt (array) {\n\t\tfor (var i = 0; i < array.length; i++) {\n\t\t\tarray[i] = unpackBase60(array[i]);\n\t\t}\n\t}\n\n\tfunction intToUntil (array, length) {\n\t\tfor (var i = 0; i < length; i++) {\n\t\t\tarray[i] = Math.round((array[i - 1] || 0) + (array[i] * 60000)); // minutes to milliseconds\n\t\t}\n\n\t\tarray[length - 1] = Infinity;\n\t}\n\n\tfunction mapIndices (source, indices) {\n\t\tvar out = [], i;\n\n\t\tfor (i = 0; i < indices.length; i++) {\n\t\t\tout[i] = source[indices[i]];\n\t\t}\n\n\t\treturn out;\n\t}\n\n\tfunction unpack (string) {\n\t\tvar data = string.split('|'),\n\t\t\toffsets = data[2].split(' '),\n\t\t\tindices = data[3].split(''),\n\t\t\tuntils = data[4].split(' ');\n\n\t\tarrayToInt(offsets);\n\t\tarrayToInt(indices);\n\t\tarrayToInt(untils);\n\n\t\tintToUntil(untils, indices.length);\n\n\t\treturn {\n\t\t\tname : data[0],\n\t\t\tabbrs : mapIndices(data[1].split(' '), indices),\n\t\t\toffsets : mapIndices(offsets, indices),\n\t\t\tuntils : untils,\n\t\t\tpopulation : data[5] | 0\n\t\t};\n\t}\n\n\t/************************************\n\t\tZone object\n\t************************************/\n\n\tfunction Zone (packedString) {\n\t\tif (packedString) {\n\t\t\tthis._set(unpack(packedString));\n\t\t}\n\t}\n\n\tZone.prototype = {\n\t\t_set : function (unpacked) {\n\t\t\tthis.name = unpacked.name;\n\t\t\tthis.abbrs = unpacked.abbrs;\n\t\t\tthis.untils = unpacked.untils;\n\t\t\tthis.offsets = unpacked.offsets;\n\t\t\tthis.population = unpacked.population;\n\t\t},\n\n\t\t_index : function (timestamp) {\n\t\t\tvar target = +timestamp,\n\t\t\t\tuntils = this.untils,\n\t\t\t\ti;\n\n\t\t\tfor (i = 0; i < untils.length; i++) {\n\t\t\t\tif (target < untils[i]) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tcountries : function () {\n\t\t\tvar zone_name = this.name;\n\t\t\treturn Object.keys(countries).filter(function (country_code) {\n\t\t\t\treturn countries[country_code].zones.indexOf(zone_name) !== -1;\n\t\t\t});\n\t\t},\n\n\t\tparse : function (timestamp) {\n\t\t\tvar target = +timestamp,\n\t\t\t\toffsets = this.offsets,\n\t\t\t\tuntils = this.untils,\n\t\t\t\tmax = untils.length - 1,\n\t\t\t\toffset, offsetNext, offsetPrev, i;\n\n\t\t\tfor (i = 0; i < max; i++) {\n\t\t\t\toffset = offsets[i];\n\t\t\t\toffsetNext = offsets[i + 1];\n\t\t\t\toffsetPrev = offsets[i ? i - 1 : i];\n\n\t\t\t\tif (offset < offsetNext && tz.moveAmbiguousForward) {\n\t\t\t\t\toffset = offsetNext;\n\t\t\t\t} else if (offset > offsetPrev && tz.moveInvalidForward) {\n\t\t\t\t\toffset = offsetPrev;\n\t\t\t\t}\n\n\t\t\t\tif (target < untils[i] - (offset * 60000)) {\n\t\t\t\t\treturn offsets[i];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn offsets[max];\n\t\t},\n\n\t\tabbr : function (mom) {\n\t\t\treturn this.abbrs[this._index(mom)];\n\t\t},\n\n\t\toffset : function (mom) {\n\t\t\tlogError(\"zone.offset has been deprecated in favor of zone.utcOffset\");\n\t\t\treturn this.offsets[this._index(mom)];\n\t\t},\n\n\t\tutcOffset : function (mom) {\n\t\t\treturn this.offsets[this._index(mom)];\n\t\t}\n\t};\n\n\t/************************************\n\t\tCountry object\n\t************************************/\n\n\tfunction Country (country_name, zone_names) {\n\t\tthis.name = country_name;\n\t\tthis.zones = zone_names;\n\t}\n\n\t/************************************\n\t\tCurrent Timezone\n\t************************************/\n\n\tfunction OffsetAt(at) {\n\t\tvar timeString = at.toTimeString();\n\t\tvar abbr = timeString.match(/\\([a-z ]+\\)/i);\n\t\tif (abbr && abbr[0]) {\n\t\t\t// 17:56:31 GMT-0600 (CST)\n\t\t\t// 17:56:31 GMT-0600 (Central Standard Time)\n\t\t\tabbr = abbr[0].match(/[A-Z]/g);\n\t\t\tabbr = abbr ? abbr.join('') : undefined;\n\t\t} else {\n\t\t\t// 17:56:31 CST\n\t\t\t// 17:56:31 GMT+0800 (台北標準時間)\n\t\t\tabbr = timeString.match(/[A-Z]{3,5}/g);\n\t\t\tabbr = abbr ? abbr[0] : undefined;\n\t\t}\n\n\t\tif (abbr === 'GMT') {\n\t\t\tabbr = undefined;\n\t\t}\n\n\t\tthis.at = +at;\n\t\tthis.abbr = abbr;\n\t\tthis.offset = at.getTimezoneOffset();\n\t}\n\n\tfunction ZoneScore(zone) {\n\t\tthis.zone = zone;\n\t\tthis.offsetScore = 0;\n\t\tthis.abbrScore = 0;\n\t}\n\n\tZoneScore.prototype.scoreOffsetAt = function (offsetAt) {\n\t\tthis.offsetScore += Math.abs(this.zone.utcOffset(offsetAt.at) - offsetAt.offset);\n\t\tif (this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g, '') !== offsetAt.abbr) {\n\t\t\tthis.abbrScore++;\n\t\t}\n\t};\n\n\tfunction findChange(low, high) {\n\t\tvar mid, diff;\n\n\t\twhile ((diff = ((high.at - low.at) / 12e4 | 0) * 6e4)) {\n\t\t\tmid = new OffsetAt(new Date(low.at + diff));\n\t\t\tif (mid.offset === low.offset) {\n\t\t\t\tlow = mid;\n\t\t\t} else {\n\t\t\t\thigh = mid;\n\t\t\t}\n\t\t}\n\n\t\treturn low;\n\t}\n\n\tfunction userOffsets() {\n\t\tvar startYear = new Date().getFullYear() - 2,\n\t\t\tlast = new OffsetAt(new Date(startYear, 0, 1)),\n\t\t\toffsets = [last],\n\t\t\tchange, next, i;\n\n\t\tfor (i = 1; i < 48; i++) {\n\t\t\tnext = new OffsetAt(new Date(startYear, i, 1));\n\t\t\tif (next.offset !== last.offset) {\n\t\t\t\tchange = findChange(last, next);\n\t\t\t\toffsets.push(change);\n\t\t\t\toffsets.push(new OffsetAt(new Date(change.at + 6e4)));\n\t\t\t}\n\t\t\tlast = next;\n\t\t}\n\n\t\tfor (i = 0; i < 4; i++) {\n\t\t\toffsets.push(new OffsetAt(new Date(startYear + i, 0, 1)));\n\t\t\toffsets.push(new OffsetAt(new Date(startYear + i, 6, 1)));\n\t\t}\n\n\t\treturn offsets;\n\t}\n\n\tfunction sortZoneScores (a, b) {\n\t\tif (a.offsetScore !== b.offsetScore) {\n\t\t\treturn a.offsetScore - b.offsetScore;\n\t\t}\n\t\tif (a.abbrScore !== b.abbrScore) {\n\t\t\treturn a.abbrScore - b.abbrScore;\n\t\t}\n\t\tif (a.zone.population !== b.zone.population) {\n\t\t\treturn b.zone.population - a.zone.population;\n\t\t}\n\t\treturn b.zone.name.localeCompare(a.zone.name);\n\t}\n\n\tfunction addToGuesses (name, offsets) {\n\t\tvar i, offset;\n\t\tarrayToInt(offsets);\n\t\tfor (i = 0; i < offsets.length; i++) {\n\t\t\toffset = offsets[i];\n\t\t\tguesses[offset] = guesses[offset] || {};\n\t\t\tguesses[offset][name] = true;\n\t\t}\n\t}\n\n\tfunction guessesForUserOffsets (offsets) {\n\t\tvar offsetsLength = offsets.length,\n\t\t\tfilteredGuesses = {},\n\t\t\tout = [],\n\t\t\ti, j, guessesOffset;\n\n\t\tfor (i = 0; i < offsetsLength; i++) {\n\t\t\tguessesOffset = guesses[offsets[i].offset] || {};\n\t\t\tfor (j in guessesOffset) {\n\t\t\t\tif (guessesOffset.hasOwnProperty(j)) {\n\t\t\t\t\tfilteredGuesses[j] = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (i in filteredGuesses) {\n\t\t\tif (filteredGuesses.hasOwnProperty(i)) {\n\t\t\t\tout.push(names[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn out;\n\t}\n\n\tfunction rebuildGuess () {\n\n\t\t// use Intl API when available and returning valid time zone\n\t\ttry {\n\t\t\tvar intlName = Intl.DateTimeFormat().resolvedOptions().timeZone;\n\t\t\tif (intlName && intlName.length > 3) {\n\t\t\t\tvar name = names[normalizeName(intlName)];\n\t\t\t\tif (name) {\n\t\t\t\t\treturn name;\n\t\t\t\t}\n\t\t\t\tlogError(\"Moment Timezone found \" + intlName + \" from the Intl api, but did not have that data loaded.\");\n\t\t\t}\n\t\t} catch (e) {\n\t\t\t// Intl unavailable, fall back to manual guessing.\n\t\t}\n\n\t\tvar offsets = userOffsets(),\n\t\t\toffsetsLength = offsets.length,\n\t\t\tguesses = guessesForUserOffsets(offsets),\n\t\t\tzoneScores = [],\n\t\t\tzoneScore, i, j;\n\n\t\tfor (i = 0; i < guesses.length; i++) {\n\t\t\tzoneScore = new ZoneScore(getZone(guesses[i]), offsetsLength);\n\t\t\tfor (j = 0; j < offsetsLength; j++) {\n\t\t\t\tzoneScore.scoreOffsetAt(offsets[j]);\n\t\t\t}\n\t\t\tzoneScores.push(zoneScore);\n\t\t}\n\n\t\tzoneScores.sort(sortZoneScores);\n\n\t\treturn zoneScores.length > 0 ? zoneScores[0].zone.name : undefined;\n\t}\n\n\tfunction guess (ignoreCache) {\n\t\tif (!cachedGuess || ignoreCache) {\n\t\t\tcachedGuess = rebuildGuess();\n\t\t}\n\t\treturn cachedGuess;\n\t}\n\n\t/************************************\n\t\tGlobal Methods\n\t************************************/\n\n\tfunction normalizeName (name) {\n\t\treturn (name || '').toLowerCase().replace(/\\//g, '_');\n\t}\n\n\tfunction addZone (packed) {\n\t\tvar i, name, split, normalized;\n\n\t\tif (typeof packed === \"string\") {\n\t\t\tpacked = [packed];\n\t\t}\n\n\t\tfor (i = 0; i < packed.length; i++) {\n\t\t\tsplit = packed[i].split('|');\n\t\t\tname = split[0];\n\t\t\tnormalized = normalizeName(name);\n\t\t\tzones[normalized] = packed[i];\n\t\t\tnames[normalized] = name;\n\t\t\taddToGuesses(normalized, split[2].split(' '));\n\t\t}\n\t}\n\n\tfunction getZone (name, caller) {\n\n\t\tname = normalizeName(name);\n\n\t\tvar zone = zones[name];\n\t\tvar link;\n\n\t\tif (zone instanceof Zone) {\n\t\t\treturn zone;\n\t\t}\n\n\t\tif (typeof zone === 'string') {\n\t\t\tzone = new Zone(zone);\n\t\t\tzones[name] = zone;\n\t\t\treturn zone;\n\t\t}\n\n\t\t// Pass getZone to prevent recursion more than 1 level deep\n\t\tif (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {\n\t\t\tzone = zones[name] = new Zone();\n\t\t\tzone._set(link);\n\t\t\tzone.name = names[name];\n\t\t\treturn zone;\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tfunction getNames () {\n\t\tvar i, out = [];\n\n\t\tfor (i in names) {\n\t\t\tif (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {\n\t\t\t\tout.push(names[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn out.sort();\n\t}\n\n\tfunction getCountryNames () {\n\t\treturn Object.keys(countries);\n\t}\n\n\tfunction addLink (aliases) {\n\t\tvar i, alias, normal0, normal1;\n\n\t\tif (typeof aliases === \"string\") {\n\t\t\taliases = [aliases];\n\t\t}\n\n\t\tfor (i = 0; i < aliases.length; i++) {\n\t\t\talias = aliases[i].split('|');\n\n\t\t\tnormal0 = normalizeName(alias[0]);\n\t\t\tnormal1 = normalizeName(alias[1]);\n\n\t\t\tlinks[normal0] = normal1;\n\t\t\tnames[normal0] = alias[0];\n\n\t\t\tlinks[normal1] = normal0;\n\t\t\tnames[normal1] = alias[1];\n\t\t}\n\t}\n\n\tfunction addCountries (data) {\n\t\tvar i, country_code, country_zones, split;\n\t\tif (!data || !data.length) return;\n\t\tfor (i = 0; i < data.length; i++) {\n\t\t\tsplit = data[i].split('|');\n\t\t\tcountry_code = split[0].toUpperCase();\n\t\t\tcountry_zones = split[1].split(' ');\n\t\t\tcountries[country_code] = new Country(\n\t\t\t\tcountry_code,\n\t\t\t\tcountry_zones\n\t\t\t);\n\t\t}\n\t}\n\n\tfunction getCountry (name) {\n\t\tname = name.toUpperCase();\n\t\treturn countries[name] || null;\n\t}\n\n\tfunction zonesForCountry(country, with_offset) {\n\t\tcountry = getCountry(country);\n\n\t\tif (!country) return null;\n\n\t\tvar zones = country.zones.sort();\n\n\t\tif (with_offset) {\n\t\t\treturn zones.map(function (zone_name) {\n\t\t\t\tvar zone = getZone(zone_name);\n\t\t\t\treturn {\n\t\t\t\t\tname: zone_name,\n\t\t\t\t\toffset: zone.utcOffset(new Date())\n\t\t\t\t};\n\t\t\t});\n\t\t}\n\n\t\treturn zones;\n\t}\n\n\tfunction loadData (data) {\n\t\taddZone(data.zones);\n\t\taddLink(data.links);\n\t\taddCountries(data.countries);\n\t\ttz.dataVersion = data.version;\n\t}\n\n\tfunction zoneExists (name) {\n\t\tif (!zoneExists.didShowError) {\n\t\t\tzoneExists.didShowError = true;\n\t\t\t\tlogError(\"moment.tz.zoneExists('\" + name + \"') has been deprecated in favor of !moment.tz.zone('\" + name + \"')\");\n\t\t}\n\t\treturn !!getZone(name);\n\t}\n\n\tfunction needsOffset (m) {\n\t\tvar isUnixTimestamp = (m._f === 'X' || m._f === 'x');\n\t\treturn !!(m._a && (m._tzm === undefined) && !isUnixTimestamp);\n\t}\n\n\tfunction logError (message) {\n\t\tif (typeof console !== 'undefined' && typeof console.error === 'function') {\n\t\t\tconsole.error(message);\n\t\t}\n\t}\n\n\t/************************************\n\t\tmoment.tz namespace\n\t************************************/\n\n\tfunction tz (input) {\n\t\tvar args = Array.prototype.slice.call(arguments, 0, -1),\n\t\t\tname = arguments[arguments.length - 1],\n\t\t\tzone = getZone(name),\n\t\t\tout = moment.utc.apply(null, args);\n\n\t\tif (zone && !moment.isMoment(input) && needsOffset(out)) {\n\t\t\tout.add(zone.parse(out), 'minutes');\n\t\t}\n\n\t\tout.tz(name);\n\n\t\treturn out;\n\t}\n\n\ttz.version = VERSION;\n\ttz.dataVersion = '';\n\ttz._zones = zones;\n\ttz._links = links;\n\ttz._names = names;\n\ttz._countries\t= countries;\n\ttz.add = addZone;\n\ttz.link = addLink;\n\ttz.load = loadData;\n\ttz.zone = getZone;\n\ttz.zoneExists = zoneExists; // deprecated in 0.1.0\n\ttz.guess = guess;\n\ttz.names = getNames;\n\ttz.Zone = Zone;\n\ttz.unpack = unpack;\n\ttz.unpackBase60 = unpackBase60;\n\ttz.needsOffset = needsOffset;\n\ttz.moveInvalidForward = true;\n\ttz.moveAmbiguousForward = false;\n\ttz.countries = getCountryNames;\n\ttz.zonesForCountry = zonesForCountry;\n\n\t/************************************\n\t\tInterface with Moment.js\n\t************************************/\n\n\tvar fn = moment.fn;\n\n\tmoment.tz = tz;\n\n\tmoment.defaultZone = null;\n\n\tmoment.updateOffset = function (mom, keepTime) {\n\t\tvar zone = moment.defaultZone,\n\t\t\toffset;\n\n\t\tif (mom._z === undefined) {\n\t\t\tif (zone && needsOffset(mom) && !mom._isUTC) {\n\t\t\t\tmom._d = moment.utc(mom._a)._d;\n\t\t\t\tmom.utc().add(zone.parse(mom), 'minutes');\n\t\t\t}\n\t\t\tmom._z = zone;\n\t\t}\n\t\tif (mom._z) {\n\t\t\toffset = mom._z.utcOffset(mom);\n\t\t\tif (Math.abs(offset) < 16) {\n\t\t\t\toffset = offset / 60;\n\t\t\t}\n\t\t\tif (mom.utcOffset !== undefined) {\n\t\t\t\tvar z = mom._z;\n\t\t\t\tmom.utcOffset(-offset, keepTime);\n\t\t\t\tmom._z = z;\n\t\t\t} else {\n\t\t\t\tmom.zone(offset, keepTime);\n\t\t\t}\n\t\t}\n\t};\n\n\tfn.tz = function (name, keepTime) {\n\t\tif (name) {\n\t\t\tif (typeof name !== 'string') {\n\t\t\t\tthrow new Error('Time zone name must be a string, got ' + name + ' [' + typeof name + ']');\n\t\t\t}\n\t\t\tthis._z = getZone(name);\n\t\t\tif (this._z) {\n\t\t\t\tmoment.updateOffset(this, keepTime);\n\t\t\t} else {\n\t\t\t\tlogError(\"Moment Timezone has no data for \" + name + \". See http://momentjs.com/timezone/docs/#/data-loading/.\");\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif (this._z) { return this._z.name; }\n\t};\n\n\tfunction abbrWrap (old) {\n\t\treturn function () {\n\t\t\tif (this._z) { return this._z.abbr(this); }\n\t\t\treturn old.call(this);\n\t\t};\n\t}\n\n\tfunction resetZoneWrap (old) {\n\t\treturn function () {\n\t\t\tthis._z = null;\n\t\t\treturn old.apply(this, arguments);\n\t\t};\n\t}\n\n\tfunction resetZoneWrap2 (old) {\n\t\treturn function () {\n\t\t\tif (arguments.length > 0) this._z = null;\n\t\t\treturn old.apply(this, arguments);\n\t\t};\n\t}\n\n\tfn.zoneName = abbrWrap(fn.zoneName);\n\tfn.zoneAbbr = abbrWrap(fn.zoneAbbr);\n\tfn.utc = resetZoneWrap(fn.utc);\n\tfn.local = resetZoneWrap(fn.local);\n\tfn.utcOffset = resetZoneWrap2(fn.utcOffset);\n\n\tmoment.tz.setDefault = function(name) {\n\t\tif (major < 2 || (major === 2 && minor < 9)) {\n\t\t\tlogError('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js ' + moment.version + '.');\n\t\t}\n\t\tmoment.defaultZone = name ? getZone(name) : null;\n\t\treturn moment;\n\t};\n\n\t// Cloning a moment should include the _z property.\n\tvar momentProperties = moment.momentProperties;\n\tif (Object.prototype.toString.call(momentProperties) === '[object Array]') {\n\t\t// moment 2.8.1+\n\t\tmomentProperties.push('_z');\n\t\tmomentProperties.push('_a');\n\t} else if (momentProperties) {\n\t\t// moment 2.7.0\n\t\tmomentProperties._z = null;\n\t}\n\n\t// INJECT DATA\n\n\treturn moment;\n}));\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","learning_content_display_name","_v","program","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","programId","profName","skillName","reviewerAssignmentStrategy","_m","rows","length","_l","task","key","task_id","directives","rawName","additional","expression","Array","isArray","_i","on","$event","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","setTaskDesc","task_name","description","checkOne","task_type","email","composing","emailValidationMsg","learning_path_id","query","learning_content_id","skill_id","skillId","proficiency_id","profId","program_id","class","buttonDisable","createLearner","taskDesc","taskName","errorResponse","Object","components","ErrorMessage","Greetings","fullname","learnerTaskId","programName","taskAssignmentStrategy","taskname","event","cb","emailValidate","emailRegexp","isEmailValid","test","emailID","validateEmail","setTimeout","learnerData","linked_task_id","assign","learner_task_id","res","registerLearner","createRes","data","emailValidation","console","log","message","router","error","axios","err","response","getTaskData","taskData","taskresponse","tasks","sort","a","b","localeCompare","tz","momentTimezone","timezone","getExistedLearner","existingRecord","is_learner_not_allowed","path","technical_hold","learner_status","params_for_task","url","$http","moment","module","exports","load","root","factory","define","undefined","version","cachedGuess","VERSION","zones","links","countries","names","guesses","logError","momentVersion","major","minor","charCodeToInt","charCode","unpackBase60","string","num","i","parts","whole","fractional","multiplier","out","sign","charCodeAt","arrayToInt","array","intToUntil","Math","round","Infinity","mapIndices","source","indices","unpack","offsets","untils","abbrs","population","Zone","packedString","_set","Country","country_name","zone_names","OffsetAt","at","timeString","toTimeString","abbr","match","offset","getTimezoneOffset","ZoneScore","zone","offsetScore","abbrScore","findChange","low","high","mid","diff","Date","userOffsets","change","next","startYear","getFullYear","last","push","sortZoneScores","addToGuesses","guessesForUserOffsets","j","guessesOffset","offsetsLength","filteredGuesses","hasOwnProperty","rebuildGuess","intlName","Intl","DateTimeFormat","resolvedOptions","timeZone","normalizeName","e","zoneScore","zoneScores","getZone","scoreOffsetAt","guess","ignoreCache","toLowerCase","replace","addZone","packed","normalized","caller","link","getNames","getCountryNames","keys","addLink","aliases","alias","normal0","normal1","addCountries","country_code","country_zones","toUpperCase","getCountry","zonesForCountry","country","with_offset","map","zone_name","utcOffset","loadData","dataVersion","zoneExists","didShowError","needsOffset","m","isUnixTimestamp","_f","_a","_tzm","input","args","prototype","call","arguments","utc","apply","isMoment","add","parse","unpacked","_index","timestamp","filter","indexOf","offsetNext","offsetPrev","max","moveAmbiguousForward","moveInvalidForward","mom","offsetAt","abs","_zones","_links","_names","_countries","fn","abbrWrap","old","_z","resetZoneWrap","resetZoneWrap2","defaultZone","updateOffset","keepTime","_isUTC","_d","z","Error","zoneName","zoneAbbr","local","setDefault","momentProperties","toString"],"sourceRoot":""}
1
+ {"version":3,"file":"solidify.umd.min.SolidifyLearnerSelectTask.js","mappings":"gNAAA,IAAIA,EAAS,WAAkB,IAAIC,EAAIC,KAAKC,EAAGF,EAAIG,MAAMD,GAAUF,EAAIG,MAAMC,YAAY,OAAOF,EAAG,MAAM,CAACG,YAAY,QAAQ,CAACH,EAAG,MAAM,CAACG,YAAY,sBAAsB,CAACH,EAAG,MAAM,CAACG,YAAY,+BAA+B,CAACH,EAAG,MAAM,CAACG,YAAY,iBAAiB,CAAC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T,GAAoB,kBAATA,EACV,MAAM,IAAIsT,MAAM,wCAA0CtT,EAAO,YAAcA,EAAO,KAQvF,OANAb,KAAK0T,GAAKtE,EAAQvO,GACdb,KAAK0T,GACRtK,EAAO0K,aAAa9T,KAAM+T,GAE1B3J,EAAS,mCAAqCvJ,EAAO,4DAE/Cb,IACR,CACA,GAAIA,KAAK0T,GAAM,OAAO1T,KAAK0T,GAAG7S,IAC/B,EAuBA0S,EAAGa,SAAYZ,EAASD,EAAGa,UAC3Bb,EAAGc,SAAYb,EAASD,EAAGc,UAC3Bd,EAAGtB,IAAY0B,EAAcJ,EAAGtB,KAChCsB,EAAGe,MAAYX,EAAcJ,EAAGe,OAChCf,EAAGtC,UAAY2C,EAAeL,EAAGtC,WAEjC7H,EAAOd,GAAGiM,WAAa,SAAS1T,GAK/B,OAJIyJ,EAAQ,GAAgB,IAAVA,GAAeC,EAAQ,IACxCH,EAAS,qFAAuFhB,EAAOQ,QAAU,KAElHR,EAAOyK,YAAchT,EAAOuO,EAAQvO,GAAQ,KACrCuI,CACR,EAGA,IAAIoL,EAAmBpL,EAAOoL,iBAY9B,MAXyD,mBAArD7O,OAAOmM,UAAU2C,SAAS1C,KAAKyC,IAElCA,EAAiBvG,KAAK,MACtBuG,EAAiBvG,KAAK,OACZuG,IAEVA,EAAiBd,GAAK,MAKhBtK,CACR,G","sources":["webpack://solidify/./src/components/global/ErrorMessage.vue","webpack://solidify/./src/components/global/ErrorMessage.vue?930e","webpack://solidify/./src/components/global/ErrorMessage.vue?65e2","webpack://solidify/./src/components/global/ErrorMessage.vue?8776","webpack://solidify/./src/components/global/Greetings.vue","webpack://solidify/./src/components/global/Greetings.vue?c163","webpack://solidify/./src/components/global/Greetings.vue?def6","webpack://solidify/./src/components/global/Greetings.vue?819d","webpack://solidify/./src/views/Learner_Select_Task.vue","webpack://solidify/./src/views/Learner_Select_Task.vue?2662","webpack://solidify/./src/views/Learner_Select_Task.vue?6fd1","webpack://solidify/./src/views/Learner_Select_Task.vue?85fe","webpack://solidify/./src/utils/select_task_service.ts","webpack://solidify/./node_modules/moment-timezone/index.js","webpack://solidify/./node_modules/moment-timezone/moment-timezone.js"],"sourcesContent":["var render = function render(){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-16 px-32\"},[_c('div',{staticClass:\"md:px-0 lg:px-0 text-center\"},[_c('div',{staticClass:\"text-gray-500\"},[_c('div',{staticClass:\"pt-2\",domProps:{\"innerHTML\":_vm._s(_vm.errorMsg)}})]),_c('div',{staticClass:\"pt-8\"},[_c('a',{attrs:{\"href\":_vm.helpmateLink,\"target\":\"_blank\"}},[_c('img',{staticClass:\"mx-auto\",attrs:{\"src\":require(\"@/assets/images/support.svg\")}})])])])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'ErrorMessage',\n props: {\n errorMessage: {\n type: String,\n default: '',\n },\n },\n setup(props) {\n const errorMsg = ref('');\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n onBeforeMount(async () => {\n errorMsg.value = props.errorMessage;\n });\n return { errorMsg, helpmateLink };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./ErrorMessage.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./ErrorMessage.vue?vue&type=template&id=3c863459&\"\nimport script from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\nexport * from \"./ErrorMessage.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/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('div',{staticClass:\"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full\"},[_c('div',{staticClass:\"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2\"},[(_vm.learning_content_display_name)?_c('span',[_vm._v(\" \"+_vm._s(_vm.learning_content_display_name)+\" \")]):_c('span',[(_vm.program === 'infinity')?_c('span',[_vm._v(_vm._s(_vm.proficiency)+\" - \")]):_vm._e(),_vm._v(_vm._s(_vm.skill))])]),_c('div',{staticClass:\"my-2\"},[_c('div',{staticClass:\"text-blue-900 md:text-lg text-sm text-right\"},[_vm._v(\"Hi, \"+_vm._s(_vm.username))])])])\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n\nexport default defineComponent({\n name: 'Greetings',\n props: {\n proficiency: {\n type: String,\n default: '',\n },\n skill: {\n type: String,\n default: '',\n },\n program: {\n type: String,\n default: '',\n },\n learning_content_display_name: {\n type: String,\n default: '',\n },\n },\n setup() {\n const username = ref('');\n onBeforeMount(async () => {\n const item = localStorage.getItem('userName') || 'Learner';\n username.value = item.split(',').reverse().join(' ');\n });\n return { username };\n },\n});\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Greetings.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Greetings.vue?vue&type=template&id=1cbddefa&\"\nimport script from \"./Greetings.vue?vue&type=script&lang=ts&\"\nexport * from \"./Greetings.vue?vue&type=script&lang=ts&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/@vue/vue-loader-v15/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('div',{staticClass:\"containers mx-auto allBoxImg mt-10\"},[(_vm.renderReady)?[(!_vm.showErrorMessage)?[_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.programId,\"proficiency\":_vm.profName,\"skill\":_vm.skillName,\"learning_content_display_name\":_vm.learning_content_display_name}}),_c('div',{staticClass:\"flex md:flex mt-3 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block\"},[_c('div',{staticClass:\"ul-nav w-full\"},[_c('ul',[_c('li',{staticClass:\"active\"},[_vm._v(\"Home\")]),_c('li',{staticClass:\"active\"},[_vm._v(\"Task\")]),_c('li',[_vm._v(\"Submit\")]),(_vm.reviewerAssignmentStrategy === 'Auto assign reviewer (reviewer task to be different)' || _vm.reviewerAssignmentStrategy === 'Auto assign reviewer based on skill and proficiency')?_c('li',[_vm._v(\"Peer Reviews\")]):_vm._e(),_c('li',[_vm._v(\"Under Review\")]),_c('li',[_vm._v(\"Done!\")])])])]),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm\"},[_c('div',{staticClass:\"block\"},[_vm._m(0),_vm._m(1),_c('div',{staticClass:\"lg:flex md:flex block mt-4 bg-white gap-x-3\"},[(_vm.rows.length > 0)?_c('div',{staticClass:\"lg:w-1/2 md:w-1/2 mb-6 md:mb-2 p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_c('table',{staticClass:\"table-auto border-collapse w-full\"},[_vm._m(2),_c('tbody',_vm._l((_vm.rows),function(task){return _c('tr',{key:task.task_id,staticClass:\"border-y-2 border-b-0 border-gray-300 text-blue-900\"},[_c('td',{staticClass:\"p-2 align-top\"},[_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.additional),expression:\"additional\"}],attrs:{\"type\":\"checkbox\",\"id\":\"check_id\"},domProps:{\"value\":task.task_id,\"checked\":Array.isArray(_vm.additional)?_vm._i(_vm.additional,task.task_id)>-1:(_vm.additional)},on:{\"change\":[function($event){var $$a=_vm.additional,$$el=$event.target,$$c=$$el.checked?(true):(false);if(Array.isArray($$a)){var $$v=task.task_id,$$i=_vm._i($$a,$$v);if($$el.checked){$$i<0&&(_vm.additional=$$a.concat([$$v]))}else{$$i>-1&&(_vm.additional=$$a.slice(0,$$i).concat($$a.slice($$i+1)))}}else{_vm.additional=$$c}},function($event){return _vm.setTaskDesc(task.task_name, task.description, $event)}],\"click\":_vm.checkOne}}),_vm._v(\" \"+_vm._s(task.task_name)+\" \")]),_c('td',{staticClass:\"p-2 align-top\"},[_vm._v(_vm._s(task.task_type))])])}),0)]),_c('div',{staticClass:\"hidden md:block\"},[_c('div',{staticClass:\"block mt-4 px-2\"},[_c('div',{staticClass:\"text-[#161916]\"},[_c('div',{staticClass:\"pb-1\"},[_vm._v(\"Enter your Genpact or preferred email to receive progress updates:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"appearance-none border border-[#ffad28] rounded-lg w-full py-2 px-3 text-[#161916] leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),(_vm.emailValidationMsg)?_c('div',{staticClass:\"ui basic label pointing red\"},[_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.emailValidationMsg)+\" \")])]):_vm._e()])]),_c('div',{staticClass:\"mt-4 mb-4 text-center\"},[(_vm.learning_path_id)?_c('router-link',{staticClass:\"py-2 px-6 border border-[#ffad28] bg-white-500 text-[#161916] hover:bg-[#ffad28] rounded-full shadow-md mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { learning_path_id: _vm.learning_path_id, learning_content_id: _vm.learning_content_id } }}},[_vm._v(\" Back \")]):_c('router-link',{staticClass:\"py-2 px-6 border border-[#ffad28] bg-white-500 text-[#161916] hover:bg-[#ffad28] rounded-full mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.profId, program_id: _vm.programId } }}},[_vm._v(\" Back \")]),_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md\",class:_vm.buttonDisable ? 'bg-gray-500 rounded-full cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":function($event){return _vm.createLearner()}}},[_vm._v(\" Select Task \")])],1)])]):_vm._e(),(!_vm.taskDesc)?_c('div'):_c('div',{staticClass:\"lg:w-1/2 md:w-1/2 bg-white mb-6 md:mb-2 p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskName),expression:\"taskName\"}]},[_c('strong',[_vm._v(\"Task Name:\")]),_vm._v(\" \"+_vm._s(_vm.taskName))]),_c('div',{directives:[{name:\"show\",rawName:\"v-show\",value:(_vm.taskDesc),expression:\"taskDesc\"}],staticClass:\"mt-3\"},[_c('strong',[_vm._v(\"Task Description:\")])]),_c('div',{staticClass:\"mt-1 rich-text-formatter\",domProps:{\"innerHTML\":_vm._s(_vm.taskDesc)}})])])]),_c('div',{staticClass:\"md:hidden sm:block\"},[_c('div',{staticClass:\"block mt-8\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('p',[_vm._v(\"Enter your Genpact or preferred email to receive progress updates:\")]),_c('input',{directives:[{name:\"model\",rawName:\"v-model\",value:(_vm.email),expression:\"email\"}],staticClass:\"appearance-none border md:w-2/4 w-full py-2 px-3 text-gray-500 leading-tight focus:outline-none focus:shadow-outline\",attrs:{\"type\":\"text\"},domProps:{\"value\":(_vm.email)},on:{\"input\":function($event){if($event.target.composing)return;_vm.email=$event.target.value}}}),(_vm.emailValidationMsg)?_c('div',{staticClass:\"ui basic label pointing red\"},[_c('span',{staticClass:\"text-red-700\"},[_vm._v(_vm._s(_vm.emailValidationMsg)+\" \")])]):_vm._e()])]),_c('div',{staticClass:\"mt-6 mb-6 text-center\"},[(_vm.learning_path_id)?_c('router-link',{staticClass:\"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { learning_path_id: _vm.learning_path_id, learning_content_id: _vm.learning_content_id } }}},[_vm._v(\" Back \")]):_c('router-link',{staticClass:\"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",attrs:{\"to\":{ name: 'SolidifyLearner', query: { skill_id: _vm.skillId, proficiency_id: _vm.profId, program_id: _vm.programId } }}},[_vm._v(\" Back \")]),_c('button',{staticClass:\"mt-2 inline-block py-2 px-4 text-white shadow-md\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":function($event){return _vm.createLearner()}}},[_vm._v(\"Select Task\")])],1)])])],1)])]:_vm._e(),(_vm.showErrorMessage)?_c('ErrorMessage',{attrs:{\"error-message\":_vm.errorResponse}}):_vm._e()]:_vm._e(),(!_vm.renderReady)?_c('div',{staticClass:\"flex flex-col h-min-screen justify-center text-center\"},[_c('img',{staticClass:\"mb-8 block mx-auto loadercss mt-3%\",attrs:{\"src\":require(\"@/assets/images/loadernew.gif\"),\"alt\":\"Loader Gif\"}}),_c('p',{staticClass:\"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue\"},[_vm._v(\"Loading...\")])]):_vm._e()],2)\n}\nvar staticRenderFns = [function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"text-gray-500\"},[_c('p',{staticClass:\"pt-1 text-3xl\"},[_c('strong',{staticClass:\"text-xl\"},[_vm._v(\"Available Tasks:\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',[_c('p',{staticClass:\"pt-3\"},[_vm._v(\"Select a task from the options below. If you're in a client-restricted environment, choose a mobile-friendly task (if available).\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('thead',[_c('tr',{staticClass:\"border-b border-gray-300 text-[#161916]\"},[_c('th',{staticClass:\"p-2 text-left\"},[_vm._v(\"Learning Task\")]),_c('th',{staticClass:\"p-2 text-left min-w-[100px]\"},[_vm._v(\"Type of Task\")])])])\n}]\n\nexport { render, staticRenderFns }","\nimport { defineComponent, ref, onBeforeMount } from 'vue';\nimport { taskData, registerLearner, getExistedLearner } from '@/utils/select_task_service';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\n// eslint-disable-next-line\nimport router from '@/router';\nimport momentTimezone from 'moment-timezone';\n\nexport default defineComponent({\n name: 'LearnerSelectTask',\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n components: { ErrorMessage, Greetings },\n setup(props) {\n const skillName = ref(localStorage.getItem('skillName'));\n const profName = ref(localStorage.getItem('proficiency'));\n const learning_content_display_name = ref(localStorage.getItem('learning_content_display_name'));\n const skillId = ref(localStorage.getItem('skillId'));\n const profId = ref(localStorage.getItem('profId'));\n const programId = ref(localStorage.getItem('programId'));\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n const email = ref(localStorage.getItem('email'));\n const fullname = ref(localStorage.getItem('userName'));\n // const initialData: any = ref(localStorage.getItem('allInitialData'));\n const rows = ref();\n const taskName = ref();\n const taskDesc = ref();\n const additional = ref([]);\n const emailValidationMsg = ref();\n const buttonDisable = ref(true);\n const learnerTaskId = ref();\n const renderReady = ref();\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const programName = ref();\n const taskAssignmentStrategy = ref();\n const reviewerAssignmentStrategy = ref();\n const learning_path_id = ref();\n const learning_content_id = ref();\n const checkOne = () => {\n additional.value = [];\n };\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setTaskDesc = (taskname: any, description: any, event: any) => {\n const cb = event.target.checked;\n\n if (cb === true) {\n buttonDisable.value = false;\n taskName.value = taskname;\n taskDesc.value = description;\n } else {\n buttonDisable.value = true;\n taskName.value = null;\n taskDesc.value = null;\n }\n };\n const emailValidate = async (emailID: string) => {\n // const emailRegexp = /^[^@\\s]+@[^@\\s]+\\.[^@\\s]+$/;\n // const emailRegexp = /^\\w+([\\.-]?\\w+)*@[a-zA-Z0-9-]+(?:\\.[a-zA-Z0-9-]+)*$/;\n const emailRegexp = /^\\w+([.-]?\\w+)*@[a-zA-Z0-9-]+\\.[a-zA-Z0-9-]+$/;\n const isEmailValid = emailRegexp.test(emailID);\n // console.log(`validate_res ${isEmailValid}`);\n return isEmailValid;\n // Log.info(`Validate Response, ${validate_res}`);\n };\n const createLearner = async () => {\n try {\n if (!email.value) {\n emailValidationMsg.value = 'Please enter an email address';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n const validateEmail = await emailValidate(email.value);\n if (!validateEmail) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const learnerData: any = {\n email: email.value,\n linked_task_id: additional.value[0],\n skill_id: skillId.value,\n proficiency_id: profId.value,\n program_id: programId.value,\n learning_content_id: learning_content_id.value,\n learning_path_id: learning_path_id.value,\n };\n if (learnerTaskId.value) {\n Object.assign(learnerData, { learner_task_id: learnerTaskId.value });\n }\n if (fullname.value) {\n Object.assign(learnerData, { fullname: fullname.value });\n }\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await registerLearner('/v1/createLearnerActivities', learnerData);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const createRes: any = res.data;\n if (createRes.emailValidation === false) {\n emailValidationMsg.value = 'Enter Valid Email';\n setTimeout(() => {\n emailValidationMsg.value = null;\n }, 6000);\n } else {\n console.log(createRes.message);\n console.log({ learner_task_id: createRes.learnerTaskId, program_id: learnerData.program_id });\n router.push({ name: 'SolidifyLearnerSubmitTask', query: { learner_task_id: createRes.learnerTaskId, program_id: learnerData.program_id } });\n }\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is some issue in registering task for learner, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(`Error in creating ${error}`);\n }\n };\n\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const getTaskData = async (data: any) => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await taskData('/task/search', data);\n // console.log(`res for task search ${JSON.stringify(res)}`);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const taskresponse: any[] = res.data.tasks;\n renderReady.value = true;\n if (taskresponse.length === 0) {\n errorResponse.value = 'There is no task available for this skill and proficiency, please contact helpmate.';\n showErrorMessage.value = true;\n } else {\n taskresponse.sort((a, b) => a.task_type.localeCompare(b.task_type)); //added tasks sorting, Desktop will come on top\n rows.value = taskresponse;\n }\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch task record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n onBeforeMount(async () => {\n try {\n learning_path_id.value = props.query.learning_path_id;\n learning_content_id.value = props.query.learning_content_id;\n\n renderReady.value = false;\n const tz = momentTimezone.tz.guess();\n\n programName.value = localStorage.getItem('programName');\n reviewerAssignmentStrategy.value = localStorage.getItem('reviewerAssignmentStrategy');\n taskAssignmentStrategy.value = localStorage.getItem('taskAssignmentStrategy');\n // router.go(0);\n const data = {\n skill: props.query.skill_id,\n proficiency: props.query.proficiency_id,\n program_id: props.query.program_id,\n learning_path_id: learning_path_id.value,\n learning_content_id: learning_content_id.value,\n timezone: tz,\n };\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await getExistedLearner('/learner/journey/stat', data);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const existingRecord: any = res.data;\n renderReady.value = true;\n if (existingRecord.is_learner_not_allowed) {\n // console.log('inside learner not allowed');\n if (learning_path_id.value && learning_content_id.value) {\n router.push({\n path: '/solidify',\n query: { learning_path_id: learning_path_id.value, learning_content_id: learning_content_id.value },\n });\n } else {\n router.push({\n path: '/solidify',\n query: { skill_id: props.query.skill_id, proficiency_id: props.query.proficiency_id, program_id: props.query.program_id },\n });\n }\n return;\n }\n if (existingRecord.learnerData) {\n if (existingRecord.learnerData.technical_hold) {\n // console.log('learner on hold select task');\n if (learning_path_id.value && learning_content_id.value) {\n router.push({\n path: '/solidify',\n query: { learning_path_id: learning_path_id.value, learning_content_id: learning_content_id.value },\n });\n } else {\n router.push({\n path: '/solidify',\n query: { skill_id: props.query.skill_id, proficiency_id: props.query.proficiency_id, program_id: props.query.program_id },\n });\n }\n }\n learnerTaskId.value = existingRecord.learnerData.learner_task_id;\n if (existingRecord.learnerData.learner_status === 'Need Reviewer and Need Reviewee' || existingRecord.learnerData.learner_status === 'Need Reviewee') {\n router.push({ path: '/solidify/peerReview', query: { learner_task_id: existingRecord.learnerData.learner_task_id } });\n } else if (existingRecord.learnerData.learner_status === 'Need Reviewer' || existingRecord.learnerData.learner_status === 'Passed') router.push({ path: '/solidify/done', query: { learner_task_id: learnerTaskId.value } });\n else if (existingRecord?.program_details?.task_strategy != 'Learner to choose task' && existingRecord.learnerData.learner_status === 'Registered') {\n if (learning_path_id.value && learning_content_id.value)\n router.push({\n path: '/solidify/submitTask',\n query: { learner_task_id: existingRecord.learnerData.learner_task_id, program_id: programId.value, learning_path_id: learning_path_id.value, learning_content_id: learning_content_id.value },\n });\n else router.push({ path: '/solidify/submitTask', query: { learner_task_id: existingRecord.learnerData.learner_task_id, program_id: programId.value } });\n }\n }\n const params_for_task = {\n skill: skillId.value,\n proficiency: profId.value,\n program_id: programId.value,\n };\n console.log(`see this`, params_for_task);\n await getTaskData(params_for_task);\n } catch (error) {\n renderReady.value = true;\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n // console.log(err.response?.data);\n errorResponse.value = (err.response?.data as { message: string })?.message;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n console.log('error', error);\n errorResponse.value = 'There is an issue in fetching Data, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n\n return {\n rows,\n // columns,\n skillName,\n profName,\n skillId,\n profId,\n programId,\n taskName,\n taskDesc,\n additional,\n email,\n emailValidationMsg,\n buttonDisable,\n setTaskDesc,\n checkOne,\n createLearner,\n helpmateLink,\n learnerTaskId,\n renderReady,\n fullname,\n errorResponse,\n showErrorMessage,\n programName,\n taskAssignmentStrategy,\n reviewerAssignmentStrategy,\n // cohortPanel,\n // solidifyPanel,\n learning_path_id,\n learning_content_id,\n learning_content_display_name,\n };\n },\n});\n","import mod from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"; export default mod; export * from \"-!../../node_modules/thread-loader/dist/cjs.js!../../node_modules/babel-loader/lib/index.js!../../node_modules/ts-loader/index.js??clonedRuleSet-41.use[2]!../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./Learner_Select_Task.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Select_Task.vue?vue&type=template&id=4f87a030&scoped=true&\"\nimport script from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Select_Task.vue?vue&type=script&lang=ts&\"\nimport style0 from \"./Learner_Select_Task.vue?vue&type=style&index=0&id=4f87a030&prod&scoped=true&lang=css&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../node_modules/@vue/vue-loader-v15/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n \"4f87a030\",\n null\n \n)\n\nexport default component.exports","/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\n/* eslint-disable @typescript-eslint/no-explicit-any */\nimport $http from '../plugins/axios';\n\n// import axios from 'axios';\n\n// const BASE_URL = 'http://localhost:3000/local/genome-solidify-api-svc/';\n\nconst taskData = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst registerLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\n\nconst getExistedLearner = async (url: string, data: any) => {\n const res = await $http.post(url, data);\n return res;\n};\nexport { taskData, registerLearner, getExistedLearner };\n","var moment = module.exports = require(\"./moment-timezone\");\nmoment.tz.load(require('./data/packed/latest.json'));\n","//! moment-timezone.js\n//! version : 0.5.43\n//! Copyright (c) JS Foundation and other contributors\n//! license : MIT\n//! github.com/moment/moment-timezone\n\n(function (root, factory) {\n\t\"use strict\";\n\n\t/*global define*/\n\tif (typeof module === 'object' && module.exports) {\n\t\tmodule.exports = factory(require('moment')); // Node\n\t} else if (typeof define === 'function' && define.amd) {\n\t\tdefine(['moment'], factory); // AMD\n\t} else {\n\t\tfactory(root.moment); // Browser\n\t}\n}(this, function (moment) {\n\t\"use strict\";\n\n\t// Resolves es6 module loading issue\n\tif (moment.version === undefined && moment.default) {\n\t\tmoment = moment.default;\n\t}\n\n\t// Do not load moment-timezone a second time.\n\t// if (moment.tz !== undefined) {\n\t// \tlogError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);\n\t// \treturn moment;\n\t// }\n\n\tvar VERSION = \"0.5.43\",\n\t\tzones = {},\n\t\tlinks = {},\n\t\tcountries = {},\n\t\tnames = {},\n\t\tguesses = {},\n\t\tcachedGuess;\n\n\tif (!moment || typeof moment.version !== 'string') {\n\t\tlogError('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');\n\t}\n\n\tvar momentVersion = moment.version.split('.'),\n\t\tmajor = +momentVersion[0],\n\t\tminor = +momentVersion[1];\n\n\t// Moment.js version check\n\tif (major < 2 || (major === 2 && minor < 6)) {\n\t\tlogError('Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js ' + moment.version + '. See momentjs.com');\n\t}\n\n\t/************************************\n\t\tUnpacking\n\t************************************/\n\n\tfunction charCodeToInt(charCode) {\n\t\tif (charCode > 96) {\n\t\t\treturn charCode - 87;\n\t\t} else if (charCode > 64) {\n\t\t\treturn charCode - 29;\n\t\t}\n\t\treturn charCode - 48;\n\t}\n\n\tfunction unpackBase60(string) {\n\t\tvar i = 0,\n\t\t\tparts = string.split('.'),\n\t\t\twhole = parts[0],\n\t\t\tfractional = parts[1] || '',\n\t\t\tmultiplier = 1,\n\t\t\tnum,\n\t\t\tout = 0,\n\t\t\tsign = 1;\n\n\t\t// handle negative numbers\n\t\tif (string.charCodeAt(0) === 45) {\n\t\t\ti = 1;\n\t\t\tsign = -1;\n\t\t}\n\n\t\t// handle digits before the decimal\n\t\tfor (i; i < whole.length; i++) {\n\t\t\tnum = charCodeToInt(whole.charCodeAt(i));\n\t\t\tout = 60 * out + num;\n\t\t}\n\n\t\t// handle digits after the decimal\n\t\tfor (i = 0; i < fractional.length; i++) {\n\t\t\tmultiplier = multiplier / 60;\n\t\t\tnum = charCodeToInt(fractional.charCodeAt(i));\n\t\t\tout += num * multiplier;\n\t\t}\n\n\t\treturn out * sign;\n\t}\n\n\tfunction arrayToInt (array) {\n\t\tfor (var i = 0; i < array.length; i++) {\n\t\t\tarray[i] = unpackBase60(array[i]);\n\t\t}\n\t}\n\n\tfunction intToUntil (array, length) {\n\t\tfor (var i = 0; i < length; i++) {\n\t\t\tarray[i] = Math.round((array[i - 1] || 0) + (array[i] * 60000)); // minutes to milliseconds\n\t\t}\n\n\t\tarray[length - 1] = Infinity;\n\t}\n\n\tfunction mapIndices (source, indices) {\n\t\tvar out = [], i;\n\n\t\tfor (i = 0; i < indices.length; i++) {\n\t\t\tout[i] = source[indices[i]];\n\t\t}\n\n\t\treturn out;\n\t}\n\n\tfunction unpack (string) {\n\t\tvar data = string.split('|'),\n\t\t\toffsets = data[2].split(' '),\n\t\t\tindices = data[3].split(''),\n\t\t\tuntils = data[4].split(' ');\n\n\t\tarrayToInt(offsets);\n\t\tarrayToInt(indices);\n\t\tarrayToInt(untils);\n\n\t\tintToUntil(untils, indices.length);\n\n\t\treturn {\n\t\t\tname : data[0],\n\t\t\tabbrs : mapIndices(data[1].split(' '), indices),\n\t\t\toffsets : mapIndices(offsets, indices),\n\t\t\tuntils : untils,\n\t\t\tpopulation : data[5] | 0\n\t\t};\n\t}\n\n\t/************************************\n\t\tZone object\n\t************************************/\n\n\tfunction Zone (packedString) {\n\t\tif (packedString) {\n\t\t\tthis._set(unpack(packedString));\n\t\t}\n\t}\n\n\tZone.prototype = {\n\t\t_set : function (unpacked) {\n\t\t\tthis.name = unpacked.name;\n\t\t\tthis.abbrs = unpacked.abbrs;\n\t\t\tthis.untils = unpacked.untils;\n\t\t\tthis.offsets = unpacked.offsets;\n\t\t\tthis.population = unpacked.population;\n\t\t},\n\n\t\t_index : function (timestamp) {\n\t\t\tvar target = +timestamp,\n\t\t\t\tuntils = this.untils,\n\t\t\t\ti;\n\n\t\t\tfor (i = 0; i < untils.length; i++) {\n\t\t\t\tif (target < untils[i]) {\n\t\t\t\t\treturn i;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\tcountries : function () {\n\t\t\tvar zone_name = this.name;\n\t\t\treturn Object.keys(countries).filter(function (country_code) {\n\t\t\t\treturn countries[country_code].zones.indexOf(zone_name) !== -1;\n\t\t\t});\n\t\t},\n\n\t\tparse : function (timestamp) {\n\t\t\tvar target = +timestamp,\n\t\t\t\toffsets = this.offsets,\n\t\t\t\tuntils = this.untils,\n\t\t\t\tmax = untils.length - 1,\n\t\t\t\toffset, offsetNext, offsetPrev, i;\n\n\t\t\tfor (i = 0; i < max; i++) {\n\t\t\t\toffset = offsets[i];\n\t\t\t\toffsetNext = offsets[i + 1];\n\t\t\t\toffsetPrev = offsets[i ? i - 1 : i];\n\n\t\t\t\tif (offset < offsetNext && tz.moveAmbiguousForward) {\n\t\t\t\t\toffset = offsetNext;\n\t\t\t\t} else if (offset > offsetPrev && tz.moveInvalidForward) {\n\t\t\t\t\toffset = offsetPrev;\n\t\t\t\t}\n\n\t\t\t\tif (target < untils[i] - (offset * 60000)) {\n\t\t\t\t\treturn offsets[i];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn offsets[max];\n\t\t},\n\n\t\tabbr : function (mom) {\n\t\t\treturn this.abbrs[this._index(mom)];\n\t\t},\n\n\t\toffset : function (mom) {\n\t\t\tlogError(\"zone.offset has been deprecated in favor of zone.utcOffset\");\n\t\t\treturn this.offsets[this._index(mom)];\n\t\t},\n\n\t\tutcOffset : function (mom) {\n\t\t\treturn this.offsets[this._index(mom)];\n\t\t}\n\t};\n\n\t/************************************\n\t\tCountry object\n\t************************************/\n\n\tfunction Country (country_name, zone_names) {\n\t\tthis.name = country_name;\n\t\tthis.zones = zone_names;\n\t}\n\n\t/************************************\n\t\tCurrent Timezone\n\t************************************/\n\n\tfunction OffsetAt(at) {\n\t\tvar timeString = at.toTimeString();\n\t\tvar abbr = timeString.match(/\\([a-z ]+\\)/i);\n\t\tif (abbr && abbr[0]) {\n\t\t\t// 17:56:31 GMT-0600 (CST)\n\t\t\t// 17:56:31 GMT-0600 (Central Standard Time)\n\t\t\tabbr = abbr[0].match(/[A-Z]/g);\n\t\t\tabbr = abbr ? abbr.join('') : undefined;\n\t\t} else {\n\t\t\t// 17:56:31 CST\n\t\t\t// 17:56:31 GMT+0800 (台北標準時間)\n\t\t\tabbr = timeString.match(/[A-Z]{3,5}/g);\n\t\t\tabbr = abbr ? abbr[0] : undefined;\n\t\t}\n\n\t\tif (abbr === 'GMT') {\n\t\t\tabbr = undefined;\n\t\t}\n\n\t\tthis.at = +at;\n\t\tthis.abbr = abbr;\n\t\tthis.offset = at.getTimezoneOffset();\n\t}\n\n\tfunction ZoneScore(zone) {\n\t\tthis.zone = zone;\n\t\tthis.offsetScore = 0;\n\t\tthis.abbrScore = 0;\n\t}\n\n\tZoneScore.prototype.scoreOffsetAt = function (offsetAt) {\n\t\tthis.offsetScore += Math.abs(this.zone.utcOffset(offsetAt.at) - offsetAt.offset);\n\t\tif (this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g, '') !== offsetAt.abbr) {\n\t\t\tthis.abbrScore++;\n\t\t}\n\t};\n\n\tfunction findChange(low, high) {\n\t\tvar mid, diff;\n\n\t\twhile ((diff = ((high.at - low.at) / 12e4 | 0) * 6e4)) {\n\t\t\tmid = new OffsetAt(new Date(low.at + diff));\n\t\t\tif (mid.offset === low.offset) {\n\t\t\t\tlow = mid;\n\t\t\t} else {\n\t\t\t\thigh = mid;\n\t\t\t}\n\t\t}\n\n\t\treturn low;\n\t}\n\n\tfunction userOffsets() {\n\t\tvar startYear = new Date().getFullYear() - 2,\n\t\t\tlast = new OffsetAt(new Date(startYear, 0, 1)),\n\t\t\toffsets = [last],\n\t\t\tchange, next, i;\n\n\t\tfor (i = 1; i < 48; i++) {\n\t\t\tnext = new OffsetAt(new Date(startYear, i, 1));\n\t\t\tif (next.offset !== last.offset) {\n\t\t\t\tchange = findChange(last, next);\n\t\t\t\toffsets.push(change);\n\t\t\t\toffsets.push(new OffsetAt(new Date(change.at + 6e4)));\n\t\t\t}\n\t\t\tlast = next;\n\t\t}\n\n\t\tfor (i = 0; i < 4; i++) {\n\t\t\toffsets.push(new OffsetAt(new Date(startYear + i, 0, 1)));\n\t\t\toffsets.push(new OffsetAt(new Date(startYear + i, 6, 1)));\n\t\t}\n\n\t\treturn offsets;\n\t}\n\n\tfunction sortZoneScores (a, b) {\n\t\tif (a.offsetScore !== b.offsetScore) {\n\t\t\treturn a.offsetScore - b.offsetScore;\n\t\t}\n\t\tif (a.abbrScore !== b.abbrScore) {\n\t\t\treturn a.abbrScore - b.abbrScore;\n\t\t}\n\t\tif (a.zone.population !== b.zone.population) {\n\t\t\treturn b.zone.population - a.zone.population;\n\t\t}\n\t\treturn b.zone.name.localeCompare(a.zone.name);\n\t}\n\n\tfunction addToGuesses (name, offsets) {\n\t\tvar i, offset;\n\t\tarrayToInt(offsets);\n\t\tfor (i = 0; i < offsets.length; i++) {\n\t\t\toffset = offsets[i];\n\t\t\tguesses[offset] = guesses[offset] || {};\n\t\t\tguesses[offset][name] = true;\n\t\t}\n\t}\n\n\tfunction guessesForUserOffsets (offsets) {\n\t\tvar offsetsLength = offsets.length,\n\t\t\tfilteredGuesses = {},\n\t\t\tout = [],\n\t\t\ti, j, guessesOffset;\n\n\t\tfor (i = 0; i < offsetsLength; i++) {\n\t\t\tguessesOffset = guesses[offsets[i].offset] || {};\n\t\t\tfor (j in guessesOffset) {\n\t\t\t\tif (guessesOffset.hasOwnProperty(j)) {\n\t\t\t\t\tfilteredGuesses[j] = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (i in filteredGuesses) {\n\t\t\tif (filteredGuesses.hasOwnProperty(i)) {\n\t\t\t\tout.push(names[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn out;\n\t}\n\n\tfunction rebuildGuess () {\n\n\t\t// use Intl API when available and returning valid time zone\n\t\ttry {\n\t\t\tvar intlName = Intl.DateTimeFormat().resolvedOptions().timeZone;\n\t\t\tif (intlName && intlName.length > 3) {\n\t\t\t\tvar name = names[normalizeName(intlName)];\n\t\t\t\tif (name) {\n\t\t\t\t\treturn name;\n\t\t\t\t}\n\t\t\t\tlogError(\"Moment Timezone found \" + intlName + \" from the Intl api, but did not have that data loaded.\");\n\t\t\t}\n\t\t} catch (e) {\n\t\t\t// Intl unavailable, fall back to manual guessing.\n\t\t}\n\n\t\tvar offsets = userOffsets(),\n\t\t\toffsetsLength = offsets.length,\n\t\t\tguesses = guessesForUserOffsets(offsets),\n\t\t\tzoneScores = [],\n\t\t\tzoneScore, i, j;\n\n\t\tfor (i = 0; i < guesses.length; i++) {\n\t\t\tzoneScore = new ZoneScore(getZone(guesses[i]), offsetsLength);\n\t\t\tfor (j = 0; j < offsetsLength; j++) {\n\t\t\t\tzoneScore.scoreOffsetAt(offsets[j]);\n\t\t\t}\n\t\t\tzoneScores.push(zoneScore);\n\t\t}\n\n\t\tzoneScores.sort(sortZoneScores);\n\n\t\treturn zoneScores.length > 0 ? zoneScores[0].zone.name : undefined;\n\t}\n\n\tfunction guess (ignoreCache) {\n\t\tif (!cachedGuess || ignoreCache) {\n\t\t\tcachedGuess = rebuildGuess();\n\t\t}\n\t\treturn cachedGuess;\n\t}\n\n\t/************************************\n\t\tGlobal Methods\n\t************************************/\n\n\tfunction normalizeName (name) {\n\t\treturn (name || '').toLowerCase().replace(/\\//g, '_');\n\t}\n\n\tfunction addZone (packed) {\n\t\tvar i, name, split, normalized;\n\n\t\tif (typeof packed === \"string\") {\n\t\t\tpacked = [packed];\n\t\t}\n\n\t\tfor (i = 0; i < packed.length; i++) {\n\t\t\tsplit = packed[i].split('|');\n\t\t\tname = split[0];\n\t\t\tnormalized = normalizeName(name);\n\t\t\tzones[normalized] = packed[i];\n\t\t\tnames[normalized] = name;\n\t\t\taddToGuesses(normalized, split[2].split(' '));\n\t\t}\n\t}\n\n\tfunction getZone (name, caller) {\n\n\t\tname = normalizeName(name);\n\n\t\tvar zone = zones[name];\n\t\tvar link;\n\n\t\tif (zone instanceof Zone) {\n\t\t\treturn zone;\n\t\t}\n\n\t\tif (typeof zone === 'string') {\n\t\t\tzone = new Zone(zone);\n\t\t\tzones[name] = zone;\n\t\t\treturn zone;\n\t\t}\n\n\t\t// Pass getZone to prevent recursion more than 1 level deep\n\t\tif (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {\n\t\t\tzone = zones[name] = new Zone();\n\t\t\tzone._set(link);\n\t\t\tzone.name = names[name];\n\t\t\treturn zone;\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tfunction getNames () {\n\t\tvar i, out = [];\n\n\t\tfor (i in names) {\n\t\t\tif (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {\n\t\t\t\tout.push(names[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn out.sort();\n\t}\n\n\tfunction getCountryNames () {\n\t\treturn Object.keys(countries);\n\t}\n\n\tfunction addLink (aliases) {\n\t\tvar i, alias, normal0, normal1;\n\n\t\tif (typeof aliases === \"string\") {\n\t\t\taliases = [aliases];\n\t\t}\n\n\t\tfor (i = 0; i < aliases.length; i++) {\n\t\t\talias = aliases[i].split('|');\n\n\t\t\tnormal0 = normalizeName(alias[0]);\n\t\t\tnormal1 = normalizeName(alias[1]);\n\n\t\t\tlinks[normal0] = normal1;\n\t\t\tnames[normal0] = alias[0];\n\n\t\t\tlinks[normal1] = normal0;\n\t\t\tnames[normal1] = alias[1];\n\t\t}\n\t}\n\n\tfunction addCountries (data) {\n\t\tvar i, country_code, country_zones, split;\n\t\tif (!data || !data.length) return;\n\t\tfor (i = 0; i < data.length; i++) {\n\t\t\tsplit = data[i].split('|');\n\t\t\tcountry_code = split[0].toUpperCase();\n\t\t\tcountry_zones = split[1].split(' ');\n\t\t\tcountries[country_code] = new Country(\n\t\t\t\tcountry_code,\n\t\t\t\tcountry_zones\n\t\t\t);\n\t\t}\n\t}\n\n\tfunction getCountry (name) {\n\t\tname = name.toUpperCase();\n\t\treturn countries[name] || null;\n\t}\n\n\tfunction zonesForCountry(country, with_offset) {\n\t\tcountry = getCountry(country);\n\n\t\tif (!country) return null;\n\n\t\tvar zones = country.zones.sort();\n\n\t\tif (with_offset) {\n\t\t\treturn zones.map(function (zone_name) {\n\t\t\t\tvar zone = getZone(zone_name);\n\t\t\t\treturn {\n\t\t\t\t\tname: zone_name,\n\t\t\t\t\toffset: zone.utcOffset(new Date())\n\t\t\t\t};\n\t\t\t});\n\t\t}\n\n\t\treturn zones;\n\t}\n\n\tfunction loadData (data) {\n\t\taddZone(data.zones);\n\t\taddLink(data.links);\n\t\taddCountries(data.countries);\n\t\ttz.dataVersion = data.version;\n\t}\n\n\tfunction zoneExists (name) {\n\t\tif (!zoneExists.didShowError) {\n\t\t\tzoneExists.didShowError = true;\n\t\t\t\tlogError(\"moment.tz.zoneExists('\" + name + \"') has been deprecated in favor of !moment.tz.zone('\" + name + \"')\");\n\t\t}\n\t\treturn !!getZone(name);\n\t}\n\n\tfunction needsOffset (m) {\n\t\tvar isUnixTimestamp = (m._f === 'X' || m._f === 'x');\n\t\treturn !!(m._a && (m._tzm === undefined) && !isUnixTimestamp);\n\t}\n\n\tfunction logError (message) {\n\t\tif (typeof console !== 'undefined' && typeof console.error === 'function') {\n\t\t\tconsole.error(message);\n\t\t}\n\t}\n\n\t/************************************\n\t\tmoment.tz namespace\n\t************************************/\n\n\tfunction tz (input) {\n\t\tvar args = Array.prototype.slice.call(arguments, 0, -1),\n\t\t\tname = arguments[arguments.length - 1],\n\t\t\tzone = getZone(name),\n\t\t\tout = moment.utc.apply(null, args);\n\n\t\tif (zone && !moment.isMoment(input) && needsOffset(out)) {\n\t\t\tout.add(zone.parse(out), 'minutes');\n\t\t}\n\n\t\tout.tz(name);\n\n\t\treturn out;\n\t}\n\n\ttz.version = VERSION;\n\ttz.dataVersion = '';\n\ttz._zones = zones;\n\ttz._links = links;\n\ttz._names = names;\n\ttz._countries\t= countries;\n\ttz.add = addZone;\n\ttz.link = addLink;\n\ttz.load = loadData;\n\ttz.zone = getZone;\n\ttz.zoneExists = zoneExists; // deprecated in 0.1.0\n\ttz.guess = guess;\n\ttz.names = getNames;\n\ttz.Zone = Zone;\n\ttz.unpack = unpack;\n\ttz.unpackBase60 = unpackBase60;\n\ttz.needsOffset = needsOffset;\n\ttz.moveInvalidForward = true;\n\ttz.moveAmbiguousForward = false;\n\ttz.countries = getCountryNames;\n\ttz.zonesForCountry = zonesForCountry;\n\n\t/************************************\n\t\tInterface with Moment.js\n\t************************************/\n\n\tvar fn = moment.fn;\n\n\tmoment.tz = tz;\n\n\tmoment.defaultZone = null;\n\n\tmoment.updateOffset = function (mom, keepTime) {\n\t\tvar zone = moment.defaultZone,\n\t\t\toffset;\n\n\t\tif (mom._z === undefined) {\n\t\t\tif (zone && needsOffset(mom) && !mom._isUTC) {\n\t\t\t\tmom._d = moment.utc(mom._a)._d;\n\t\t\t\tmom.utc().add(zone.parse(mom), 'minutes');\n\t\t\t}\n\t\t\tmom._z = zone;\n\t\t}\n\t\tif (mom._z) {\n\t\t\toffset = mom._z.utcOffset(mom);\n\t\t\tif (Math.abs(offset) < 16) {\n\t\t\t\toffset = offset / 60;\n\t\t\t}\n\t\t\tif (mom.utcOffset !== undefined) {\n\t\t\t\tvar z = mom._z;\n\t\t\t\tmom.utcOffset(-offset, keepTime);\n\t\t\t\tmom._z = z;\n\t\t\t} else {\n\t\t\t\tmom.zone(offset, keepTime);\n\t\t\t}\n\t\t}\n\t};\n\n\tfn.tz = function (name, keepTime) {\n\t\tif (name) {\n\t\t\tif (typeof name !== 'string') {\n\t\t\t\tthrow new Error('Time zone name must be a string, got ' + name + ' [' + typeof name + ']');\n\t\t\t}\n\t\t\tthis._z = getZone(name);\n\t\t\tif (this._z) {\n\t\t\t\tmoment.updateOffset(this, keepTime);\n\t\t\t} else {\n\t\t\t\tlogError(\"Moment Timezone has no data for \" + name + \". See http://momentjs.com/timezone/docs/#/data-loading/.\");\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif (this._z) { return this._z.name; }\n\t};\n\n\tfunction abbrWrap (old) {\n\t\treturn function () {\n\t\t\tif (this._z) { return this._z.abbr(this); }\n\t\t\treturn old.call(this);\n\t\t};\n\t}\n\n\tfunction resetZoneWrap (old) {\n\t\treturn function () {\n\t\t\tthis._z = null;\n\t\t\treturn old.apply(this, arguments);\n\t\t};\n\t}\n\n\tfunction resetZoneWrap2 (old) {\n\t\treturn function () {\n\t\t\tif (arguments.length > 0) this._z = null;\n\t\t\treturn old.apply(this, arguments);\n\t\t};\n\t}\n\n\tfn.zoneName = abbrWrap(fn.zoneName);\n\tfn.zoneAbbr = abbrWrap(fn.zoneAbbr);\n\tfn.utc = resetZoneWrap(fn.utc);\n\tfn.local = resetZoneWrap(fn.local);\n\tfn.utcOffset = resetZoneWrap2(fn.utcOffset);\n\n\tmoment.tz.setDefault = function(name) {\n\t\tif (major < 2 || (major === 2 && minor < 9)) {\n\t\t\tlogError('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js ' + moment.version + '.');\n\t\t}\n\t\tmoment.defaultZone = name ? getZone(name) : null;\n\t\treturn moment;\n\t};\n\n\t// Cloning a moment should include the _z property.\n\tvar momentProperties = moment.momentProperties;\n\tif (Object.prototype.toString.call(momentProperties) === '[object Array]') {\n\t\t// moment 2.8.1+\n\t\tmomentProperties.push('_z');\n\t\tmomentProperties.push('_a');\n\t} else if (momentProperties) {\n\t\t// moment 2.7.0\n\t\tmomentProperties._z = null;\n\t}\n\n\t// INJECT DATA\n\n\treturn moment;\n}));\n"],"names":["render","_vm","this","_c","_self","_setupProxy","staticClass","domProps","_s","errorMsg","attrs","helpmateLink","require","staticRenderFns","defineComponent","name","props","errorMessage","type","String","default","setup","ref","localStorage","getItem","onBeforeMount","async","value","component","learning_content_display_name","_v","program","proficiency","_e","skill","username","item","split","reverse","join","renderReady","showErrorMessage","programId","profName","skillName","reviewerAssignmentStrategy","_m","rows","length","_l","task","key","task_id","directives","rawName","additional","expression","Array","isArray","_i","on","$event","$$a","$$el","target","$$c","checked","$$v","$$i","concat","slice","setTaskDesc","task_name","description","checkOne","task_type","email","composing","emailValidationMsg","learning_path_id","query","learning_content_id","skill_id","skillId","proficiency_id","profId","program_id","class","buttonDisable","createLearner","taskDesc","taskName","errorResponse","Object","components","ErrorMessage","Greetings","fullname","learnerTaskId","programName","taskAssignmentStrategy","taskname","event","cb","emailValidate","emailRegexp","isEmailValid","test","emailID","validateEmail","setTimeout","learnerData","linked_task_id","assign","learner_task_id","res","registerLearner","createRes","data","emailValidation","console","log","message","router","error","axios","err","response","getTaskData","taskData","taskresponse","tasks","sort","a","b","localeCompare","tz","momentTimezone","timezone","getExistedLearner","existingRecord","is_learner_not_allowed","path","technical_hold","learner_status","program_details","task_strategy","params_for_task","url","$http","moment","module","exports","load","root","factory","define","undefined","version","cachedGuess","VERSION","zones","links","countries","names","guesses","logError","momentVersion","major","minor","charCodeToInt","charCode","unpackBase60","string","num","i","parts","whole","fractional","multiplier","out","sign","charCodeAt","arrayToInt","array","intToUntil","Math","round","Infinity","mapIndices","source","indices","unpack","offsets","untils","abbrs","population","Zone","packedString","_set","Country","country_name","zone_names","OffsetAt","at","timeString","toTimeString","abbr","match","offset","getTimezoneOffset","ZoneScore","zone","offsetScore","abbrScore","findChange","low","high","mid","diff","Date","userOffsets","change","next","startYear","getFullYear","last","push","sortZoneScores","addToGuesses","guessesForUserOffsets","j","guessesOffset","offsetsLength","filteredGuesses","hasOwnProperty","rebuildGuess","intlName","Intl","DateTimeFormat","resolvedOptions","timeZone","normalizeName","e","zoneScore","zoneScores","getZone","scoreOffsetAt","guess","ignoreCache","toLowerCase","replace","addZone","packed","normalized","caller","link","getNames","getCountryNames","keys","addLink","aliases","alias","normal0","normal1","addCountries","country_code","country_zones","toUpperCase","getCountry","zonesForCountry","country","with_offset","map","zone_name","utcOffset","loadData","dataVersion","zoneExists","didShowError","needsOffset","m","isUnixTimestamp","_f","_a","_tzm","input","args","prototype","call","arguments","utc","apply","isMoment","add","parse","unpacked","_index","timestamp","filter","indexOf","offsetNext","offsetPrev","max","moveAmbiguousForward","moveInvalidForward","mom","offsetAt","abs","_zones","_links","_names","_countries","fn","abbrWrap","old","_z","resetZoneWrap","resetZoneWrap2","defaultZone","updateOffset","keepTime","_isUTC","_d","z","Error","zoneName","zoneAbbr","local","setDefault","momentProperties","toString"],"sourceRoot":""}
@@ -1,4 +1,4 @@
1
- (("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[612],{460:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-16 px-32"},[z("div",{staticClass:"md:px-0 lg:px-0 text-center"},[z("div",{staticClass:"text-gray-500"},[z("div",{staticClass:"pt-2",domProps:{innerHTML:M._s(M.errorMsg)}})]),z("div",{staticClass:"pt-8"},[z("a",{attrs:{href:M.helpmateLink,target:"_blank"}},[z("img",{staticClass:"mx-auto",attrs:{src:b(3126)}})])])])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(M){const z=(0,A.ref)(""),b=(0,A.ref)(localStorage.getItem("helpmateLink"));return(0,A.onBeforeMount)((async()=>{z.value=M.errorMessage})),{errorMsg:z,helpmateLink:b}}}),q=c,o=b(1001),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},8235:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full"},[z("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[M.learning_content_display_name?z("span",[M._v(" "+M._s(M.learning_content_display_name)+" ")]):z("span",["infinity"===M.program?z("span",[M._v(M._s(M.proficiency)+" - ")]):M._e(),M._v(M._s(M.skill))])]),z("div",{staticClass:"my-2"},[z("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[M._v("Hi, "+M._s(M.username))])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""},learning_content_display_name:{type:String,default:""}},setup(){const M=(0,A.ref)("");return(0,A.onBeforeMount)((async()=>{const z=localStorage.getItem("userName")||"Learner";M.value=z.split(",").reverse().join(" ")})),{username:M}}}),q=c,o=b(1001),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},9157:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return h}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[M.loadingGenAIResponse?z("AILoader",{attrs:{stat:M.stat},on:{closeAIPopup:()=>M.loadingGenAIResponse=!1}}):M._e(),M.reviewPopupOpened?z("StarRating",{attrs:{rating:M.userRating,comment:M.userComment},on:{"update:comment":z=>M.userComment=z,"update:rating":z=>M.userRating=z,submitRating:()=>{M.submitSubmiision("submit_task"),M.reviewPopupOpened=!1}}}):M._e(),M.renderReady?[M.showErrorMessage?M._e():[z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-12"},[z("Greetings",{attrs:{program:M.programId,proficiency:M.profName,skill:M.skillName,learning_content_display_name:M.learning_content_display_name}}),z("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Home")]),z("li",{staticClass:"active"},[M._v("Task")]),z("li",{staticClass:"active"},[M._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===M.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===M.reviewerAssignmentStrategy?z("li",[M._v("Peer Reviews")]):M._e(),z("li",[M._v("Under Review")]),z("li",[M._v("Done!")])])])]),z("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 mt-1 text-sm"},[z("div",{staticClass:"block mt-4 mb-4"},[M.submissionError?z("div",{staticClass:"w-full px-3 text-center mt-4 bg-[#ffad28] py-2 text-[#161916]"},[M._v(M._s(M.submissionError))]):M._e(),z("div",{staticClass:"text-gray-600"},[z("div",{staticClass:"p-4 mb-6 rounded-lg shadow border border-gray-200"},[z("p",{staticClass:"pt-2"},[z("strong",[M._v(M._s(M.taskName))])]),z("div",{staticClass:"mt-2 rich-text-formatter",domProps:{innerHTML:M._s(M.taskDesc)}})]),"Desktop"===M.taskType?z("div",{staticClass:"p-4 mb-6 rounded-lg shadow border border-gray-200"},["Desktop"===M.taskType?z("div",[M._m(0),z("p",{staticClass:"pt-1"},[M._v("Accepted Formats: Upload a single Word, Pdf, Excel, or PPT file with a minimum of "+M._s(M.minimumWordLength)+" words.")]),z("p",{staticClass:"pt-1"},[M._v("Max Size: 200MB")]),z("p",{staticClass:"pt-1"},[M._v("Language: English only")]),z("div",{staticClass:"flex items-center gap-2 pt-2",staticStyle:{"max-width":"250px"}},[z("input",{key:M.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file"},on:{change:M.selectedFile}}),M.learnerSubmission?z("x-icon",{attrs:{size:"1.5x"},on:{click:function(z){return M.clearFile()}}}):M._e()],1)]):M._e(),"Desktop"===M.taskType&&M.stat?.taskDetails?.genAiAssistEnabled?z("div",{staticClass:"text-xs italic mt-2 -mb-2"},[M._v("Note: To enable AI Assist for uploaded task, please upload only .doc/ .docx/ .txt/ .pdf file.")]):M._e()]):M._e(),"Mobile"===M.taskType?z("div",{staticClass:"mb-6"},[z("textarea",{directives:[{name:"model",rawName:"v-model",value:M.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal bg-white bg-clip-padding border border-[#ffad28] rounded-lg ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Type your text here..."},domProps:{value:M.learnerSubmission},on:{keyup:function(z){return M.checkQuestionLength(M.learnerSubmission)},input:function(z){z.target.composing||(M.learnerSubmission=z.target.value)}}}),z("div",[M.questionWordCount<M.minimumWordLength?z("div",[M._v("(Minimum "+M._s(M.minimumWordLength)+" words required. "+M._s(M.questionWordCount)+"/"+M._s(M.minimumWordLength)+")")]):M._e()])]):M._e(),M.fileValidationMsg?z("span",{staticClass:"text-[#ff4f59]"},[M._v(M._s(M.fileValidationMsg))]):M._e(),z("div",{staticClass:"p-4 mb-6 rounded-lg shadow border border-gray-200"},[M._m(1),M.checkForPlagiarismProgramLevel&&M.checkForPlagiarismTaskLevel?z("div",[z("ul",{staticClass:"pt-2 pl-8"},[z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check0")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check0",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v(" This is my original work, based on personal research and not copied from others (including colleagues or online sources). ")])])]),z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check1",value:"check1"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check1")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check1",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v(" No client or Genpact confidential information has been included. ")])])]),z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check2",value:"check2"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check2")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check2",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v(" I’ve checked for plagiarism using tools like "),M._m(2),M._v(" or "),M._m(3),M._v(" and found no significant matches. ")])])]),z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check3",value:"check3"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check3")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check3",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v("I understand that plagiarism is a violation of Genpact’s Code of Conduct and may result in unsuccessful completion of Solidify and/or disciplinary action. ")])])]),z("li",[M.palgiarismErrorMsg?z("span",{staticClass:"text-[#ff4f59]"},[M._v(M._s(M.palgiarismErrorMsg))]):M._e()])]),M._m(4)]):z("div",[z("ul",{staticClass:"pt-2 pl-8"},[z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check0")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check0",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v(" I hereby certify that this task submission does not contain/ use any client/ Genpact confidential materials.")])])])]),M.palgiarismErrorMsg?z("span",{staticClass:"text-[#ff4f59]"},[M._v(M._s(M.palgiarismErrorMsg))]):M._e()])]),M.genAIPromptResp||M.stat?.genAiAssistDetails?.[0]?.genai_evaluation_comment?z("div",{staticClass:"flex w-full h-auto p-4"},[z("div",{staticClass:"flex flex-col relative bg-gray-200 w-full lg:w-2/3 h-auto mx-4 mt-5 p-4 pl-12 rounded-xl"},[M.genAIPromptResp?z("div",[z("div",{staticClass:"font-medium text-black whitespace-pre-line"},[M._v(" "+M._s(M.genAIPromptResp?.genai_evaluation_comment)+" ")]),z("div",{staticClass:"font-medium text-black italic text-xs mt-2"},[M._v("Submitted On: "+M._s(M.moment(M.genAIPromptResp?.created_date).format("DD MMM YYYY | hh:mm a")))]),z("div",{staticClass:"font-medium text-black italic text-xs mt-0.5"},[M._v("Attempts Left: "+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts-M.stat?.genAiAssistDetails?.length)+"/"+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts))])]):z("div",[z("div",{staticClass:"font-medium text-black whitespace-pre-line"},[M._v(" "+M._s(M.stat?.genAiAssistDetails?.[0]?.genai_evaluation_comment)+" ")]),z("div",{staticClass:"font-medium text-black italic text-xs mt-2"},[M._v("Submitted On: "+M._s(M.moment(M.stat?.genAiAssistDetails?.[0]?.created_date).format("DD MMM YYYY | hh:mm a")))]),z("div",{staticClass:"font-medium text-black italic text-xs mt-0.5"},[M._v("Attempts Left: "+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts-M.stat?.genAiAssistDetails?.length)+"/"+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts))])]),M._m(5)])]):M._e()])]),z("div",{staticClass:"block text-center pt-2"},[M._m(6),z("div",{staticClass:"mb-4 text-center md:space-x-2 space-x-1"},["infinity"===M.programId?z("button",{staticClass:"inline-block mt-2 py-2 px-6 border border-[#ffad28] bg-white-500 text-[#161916] hover:bg-[#ffad28] rounded-full font-medium",on:{click:M.switchTask}},[M._v("Select Different Task")]):M._e(),M.stat?.taskDetails?.genAiAssistEnabled?z("button",{staticClass:"inline-block mt-2 py-2 px-6 text-white shadow-md disabled:!bg-gray-500 disabled:cursor-not-allowed disabled:text-white disabled!font-medium bg-background-secondary",attrs:{disabled:M.buttonDisable||!M.isEligibleForAIAssist||M.stat?.taskDetails?.genAiAssistMaxAttempts-M.stat?.genAiAssistDetails?.length<=0},on:{click:function(z){return M.submitSubmiision("ai_assist")}}},[M._v(" AI Assist ")]):M._e(),z("button",{staticClass:"inline-block mt-2 py-2 px-6 text-white shadow-md disabled:!bg-gray-500 disabled:cursor-not-allowed disabled:text-white disabled!font-medium bg-background-secondary",attrs:{disabled:M.buttonDisable},on:{click:function(z){return M.proceedToReview()}}},[M._v(" Submit Task ")]),"infinity"===M.programId?z("button",{staticClass:"inline-block mt-2 py-2 px-6 border border-[#ffad28] bg-white-500 text-[#161916] hover:bg-[#ffad28] rounded-full font-medium",on:{click:function(z){return M.restart()}}},[M._v("Restart Solidify")]):M._e()])])])],1)])],M.showErrorMessage?z("ErrorMessage",{attrs:{"error-message":M.errorResponse}}):M._e()]:M._e(),M.renderReady?M._e():z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[z("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:b(9756),alt:"Loader Gif"}}),z("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[M._v("Loading...")])])],2)},O=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-2"},[z("strong",[M._v("File Upload Instructions ")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",[z("p",[z("strong",[M._v("By submitting, I certify that:")])])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("strong",[z("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[M._v("Plagiarismdetector")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("strong",[z("a",{staticClass:"underline",attrs:{href:"https://papersowl.com/free-plagiarism-checker",target:"_blank"}},[M._v("Papersowl")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-7"},[z("p",[z("strong",[z("a",{staticClass:"underline",attrs:{href:"https://dcl.genpact.com/media/9d86bd58-3669-41c5-bc28-aad72efdf964",target:"blank"}},[M._v("Watch this short video")])]),M._v(" to learn why originality matters and how to avoid plagiarism. ")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"absolute -left-8 -bottom-3 bg-genome-v6 w-16 h-16 rounded-full flex items-center justify-center"},[z("img",{staticClass:"bg-center bg-contain bg-no-repeat block w-10",attrs:{src:b(8768)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",[z("p",{staticClass:"text-xl"},[z("em",[M._v("Do Not Click the Browser Back Button")])])])}],A=(b(7658),b(7203)),c=b(4856),q=b(568),o=b(4654),W=b(306),d=b(460),a=b(8235),R=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center fixed z-50 w-full h-full bg-opacity-70 bg-black -translate-x-1/2 left-1/2 -translate-y-1/2 top-1/2"},[z("div",{staticClass:"relative mx-auto px-8 py-4 bg-white text-background-secondary w-full md:w-1/2"},[z("button",{staticClass:"absolute right-0 mx-3",on:{click:function(z){return M.$emit("closeAIPopup")}}},[z("svg",{staticClass:"lucide-icon lucide lucide-x h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[z("path",{attrs:{d:"M18 6 6 18"}}),z("path",{attrs:{d:"m6 6 12 12"}})])]),M._m(0),M._m(1),M._m(2),M._m(3),z("div",{staticClass:"flex justify-center items-center pt-2 font-bold"},[M._m(4),z("div",{staticClass:"text-background-tertiary text-xl pl-2 pr-2 italic"},[M._v(" Attempts Left: ["+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts-M.stat?.genAiAssistDetails?.length-1)+"/"+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts)+"] - Make the most of it! ")]),M._m(5)]),z("div",{staticClass:"flex items-center justify-start py-4 space-y-4 text-left"},[z("img",{staticClass:"block h-6 w-6 mr-1",attrs:{src:b(9756),alt:"Loader Gif"}}),z("p",{staticClass:"text-gray-600 text-sm whitespace-pre-wrap text-left"},[M._v(" "+M._s(M.typedMessage)+" "),M.showCursor?z("span",{staticClass:"animate-blink"},[M._v("|")]):M._e()])])])])},n=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex justify-center"},[z("img",{attrs:{src:b(194)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex justify-center items-center pt-2 font-bold"},[z("div",[z("img",{attrs:{src:b(5091)}})]),z("strong",{staticClass:"text-background-tertiary text-xl pl-2 pr-2"},[M._v("AI Assist Activated!")]),z("div",[z("img",{attrs:{src:b(6279)}})])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"pt-2 text-left"},[z("div",{staticClass:"pt-1"},[M._v("Your submission is being reviewed for "),z("strong",[M._v("relevance, clarity, and completeness")]),M._v(". Get instant insights to refine your work!")]),z("div",{staticClass:"pt-2 text-background-tertiary font-bold text-left"},[M._v("How It Works:")]),z("ul",{staticClass:"pt-1 list-disc pl-5"},[z("li",{staticClass:"pt-1 !text-background-secondary"},[M._v("AI provides feedback based on task objectives.")]),z("li",{staticClass:"pt-1 !text-background-secondary"},[M._v("You can "),z("strong",[M._v("revise your submission or proceed to peer review")])])])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"pt-2 italic text-left"},[z("div",[z("span",{staticClass:"text-background-tertiary"},[M._v("Disclaimer:")]),M._v(" AI-generated feedback is a guidance tool and may have its own biases.")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",[z("img",{attrs:{src:b(3886)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",[z("img",{attrs:{src:b(3244)}})])}],e=(0,A.defineComponent)({name:"AILoader",props:{stat:{type:Object,required:!0}},setup(){const M=["Thinking deeply...","Analyzing context...","Generating insights...","Polishing response...","Finalizing thoughts..."],z=(0,A.ref)(""),b=(0,A.ref)(!0);let p=0,O=0;function c(){const b=M[p];O<b.length?(z.value+=b[O++],setTimeout(c,50)):setTimeout((()=>{p=(p+1)%M.length,O=0,z.value="",c()}),3e3)}return(0,A.onMounted)((()=>{c(),setInterval((()=>{b.value=!b.value}),500)})),{typedMessage:z,showCursor:b}}}),i=e,L=b(1001),f=(0,L.Z)(i,R,n,!1,null,"edd982f2",null),r=f.exports,B=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center fixed z-50 w-full h-full bg-opacity-70 bg-black -translate-x-1/2 left-1/2 -translate-y-1/2 top-1/2"},[z("div",{staticClass:"max-w-sm w-full mx-auto p-6 bg-white shadow-xl rounded-2xl"},[z("h2",{staticClass:"text-2xl font-semibold mb-4"},[M._v("Your Feedback")]),z("h3",{staticClass:"text-sm font-medium mb-4"},[M._v("Thank you for using AI Assist. Was the submission feedback helpful? Share your valuable input.​")]),z("div",{staticClass:"flex items-center justify-center space-x-6 mb-4"},M._l(5,(function(b){return z("button",{key:b,staticClass:"focus:outline-none",on:{click:function(z){return M.setRating(b)},mouseenter:function(z){M.hoverRating=b},mouseleave:function(z){M.hoverRating=0}}},[z("svg",{class:[(M.hoverRating||M.internalRating)>=b?"text-[#FFAD28]":"text-gray-300","w-8 h-8 transition-colors"],attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[z("path",{attrs:{d:"M12 .587l3.668 7.568 8.332 1.151-6.064 5.943 1.464 8.251L12 18.896l-7.4 4.604 1.464-8.251L0 9.306l8.332-1.151z"}})])])})),0),z("p",{staticClass:"text-sm text-gray-500 pb-2"},[M._v("Rating: "+M._s(M.internalRating)+" / 5")]),z("textarea",{directives:[{name:"model",rawName:"v-model",value:M.internalComment,expression:"internalComment"}],staticClass:"w-full p-3 border rounded-xl focus:ring-2 focus:ring-background-secondary focus:outline-none resize-none",attrs:{rows:"4",placeholder:"Your Message..."},domProps:{value:M.internalComment},on:{input:function(z){z.target.composing||(M.internalComment=z.target.value)}}}),z("button",{staticClass:"inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 disabled:!bg-gray-500 disabled:cursor-not-allowed bg-background-secondary",attrs:{disabled:M.internalRating<=0},on:{click:M.submitReview}},[M._v(" Submit ")])])])},t=[],u=(0,A.defineComponent)({name:"StarRating",props:{rating:{type:Number,required:!0},comment:{type:String,required:!0}},emits:["update:rating","update:comment","submitRating"],setup(M,{emit:z}){const b=(0,A.ref)(M.rating),p=(0,A.ref)(M.comment),O=(0,A.ref)(0),c=M=>{b.value=M},q=()=>{z("submitRating")};return(0,A.watch)(b,(M=>{z("update:rating",M)})),(0,A.watch)(p,(M=>{z("update:comment",M)})),{internalRating:b,internalComment:p,hoverRating:O,setRating:c,submitReview:q}}}),N=u,X=(0,L.Z)(N,B,t,!1,null,null,null),s=X.exports,l=b(1602),T=b.n(l),m=b(4642),g=b(7881),E=b.n(g),C=(0,A.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:c.b0D,ErrorMessage:d.Z,Greetings:a.Z,AILoader:r,StarRating:s},props:{query:{type:Object,default:()=>({})}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(M.query.learner_task_id),p=(0,A.ref)(M.query.program_id),O=(0,A.ref)(localStorage.getItem("skillId")),c=(0,A.ref)(localStorage.getItem("profId")),d=(0,A.ref)(localStorage.getItem("skillName")),a=(0,A.ref)(localStorage.getItem("learning_content_display_name")),R=(0,A.ref)(localStorage.getItem("proficiency")),n=(0,A.ref)(localStorage.getItem("helpmateLink")),e=(0,A.ref)(!1),i=(0,A.ref)(),L=(0,A.ref)(0),f=(0,A.ref)(""),r=(0,A.ref)(),B=(0,A.ref)(),t=(0,A.ref)(),u=(0,A.ref)(),N=(0,A.ref)(),X=(0,A.ref)(!1),s=(0,A.ref)(null),l=(0,A.ref)(),g=(0,A.ref)(),C=(0,A.ref)(),v=(0,A.ref)(!0),S=(0,A.ref)([]),h=(0,A.ref)(),k=(0,A.ref)(),P=(0,A.ref)(0),D=(0,A.ref)(),y=(0,A.ref)(!1),_=(0,A.ref)(),w=(0,A.ref)(!1),x=(0,A.ref)(),U=(0,A.ref)(),I=(0,A.ref)(),Q=(0,A.ref)(0),F=(0,A.ref)(100),H=(0,A.ref)(""),K=(0,A.ref)(!1),G=(0,A.ref)(localStorage.getItem("learning_path_id")),j=(0,A.ref)(localStorage.getItem("learning_content_id"));let V=null;const J=()=>{console.log("fetchMinimumWordLength is called"),"Beginner"===R.value&&(F.value=150),"Intermediate"===R.value&&(F.value=250),"Proficient"===R.value&&(F.value=350),"Expert"===R.value&&(F.value=350)},Y=(0,A.computed)((()=>{const M=s.value?.name?.split(".")?.pop()?.toLowerCase();return"doc"===M||"docx"===M||"txt"===M||"pdf"===M||"Mobile"===u.value})),Z=M=>{Q.value=M.split(" ").filter((M=>""!==M)).length,v.value=Q.value<F.value},$=async()=>{P.value+=1,console.log(`before ${g.value}`),g.value=null,v.value=!0,console.log(`after ${g.value}`)},MM=()=>X.value&&N.value&&S.value.length<4?(y.value=!0,k.value="Please confirm that you abide by the above statements",void setTimeout((()=>{k.value=null}),6e3)):X.value&&N.value||1===S.value.length?void(r.value?.taskDetails?.genAiAssistEnabled&&r.value?.genAiAssistDetails?.length>0?K.value=!0:bM("submit_task")):(y.value=!0,k.value="Please confirm that you abide by the above statements",void setTimeout((()=>{k.value=null}),6e3)),zM=async M=>{try{if(s.value=M.target.files[0],s.value){g.value=M.target.files[0].name;const z=M.target.files[0].size/1024/1024;s.value&&(v.value=!1),z>200&&(l.value="Uploaded filesize is greater than 200 MB",setTimeout((()=>{l.value=null}),6e3),v.value=!0)}}catch(z){if(console.log(z),y.value=!0,W.Z.isAxiosError(z)){const M=z;_.value=M.response?.data?.message}else _.value="Something went wrong, please contact helpmate.";w.value=!0}},bM=async M=>{try{if("ai_assist"!==M&&(y.value=!1),console.log("plagiarismcb",S),X.value&&N.value&&S.value.length<4)return y.value=!0,k.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{k.value=null}),6e3);if((!X.value||!N.value)&&1!==S.value.length)return y.value=!0,k.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{k.value=null}),6e3);if(g.value){if("ai_assist"===M&&r.value?.taskDetails?.genAiAssistMaxAttempts-r.value?.genAiAssistDetails?.length<=0)return;"ai_assist"===M&&(e.value=!0);const A={learner_submission:g.value.trim(),learner_task_id:b.value,skill:O.value,proficiency:c.value,linked_program_name:p.value,task_type:u.value,linked_task_id:z.value,assinged_reviewer_count:0};let o;if("Desktop"===u.value){const z=await(0,q.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:g.value,learner_task_id:b.value}),p=z.data;C.value=p.preSignedUrl;const O=await(0,q.sc)(C.value,s.value);if(200===O.status){if("ai_assist"===M)return void await OM({learner_submission:g.value,learner_task_id:b.value});o=await pM(A)}else y.value=!0,_.value="There is issue in the file upload, please contact with helpmate.",w.value=!0}else{if("ai_assist"===M)return void await OM({learner_submission:g.value.trim(),learner_task_id:b.value});o=await pM(A)}200===o.status?(console.log(o),"Please upload non empty file"===o.data.message?(H.value=`The submission does not meet the minimum task word limit of ${F.value} words. Please upload a valid submission.`,$(),setTimeout((()=>{H.value=""}),6e3),y.value=!0):m.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:A.learner_task_id}}),"Learner on hold"===o.data.message&&(console.log("learner on hold submit task"),G.value&&j.value?m.Z.push({path:"/solidify",query:{skill_id:O.value,proficiency_id:c.value,program_id:p.value}}):m.Z.push({path:"/solidify",query:{learning_path_id:G.value,learning_content_id:j.value}}))):(y.value=!0,_.value="There is some issue while submitting learner submission, please contact with helpmate.",w.value=!0)}else"Mobile"===u.value?(y.value=!0,g.value||(l.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{l.value=null}),6e3))):"Desktop"===u.value&&(y.value=!0,console.log(`learnerSubmission.value ${g.value}`),g.value||(l.value="please select File",setTimeout((()=>{l.value=null}),6e3)))}catch(A){if(y.value=!0,console.log(`error ${A}`),W.Z.isAxiosError(A)){const M=A;_.value=M.response?.data?.message}else _.value="There is some issue while submitting learner submission, please contact with helpmate.";w.value=!0}},pM=async M=>{let z=M;r.value?.taskDetails?.genAiAssistEnabled&&r.value?.genAiAssistDetails?.length>0&&(z={...M,genAiAssistLearnerFeedbackRating:L.value?.toString(),genAiAssistLearnerFeedbackComment:f.value});const b=await(0,q.rC)("/v1/uploadLearnerSubmission",z);return b},OM=async({learner_submission:M,learner_task_id:z})=>{if(Y.value){i.value=null;try{const b=await(0,q.t$)("/v1/uploadLearnerSubmission?submission_type=invoke_gen_ai_assist",{learner_submission:M,learner_task_id:z});200===b.status?V=setInterval((async()=>{try{const M=await(0,q.JV)("/v1/uploadLearnerSubmission?submission_type=fetch_gen_ai_assist",{learner_task_id:z,prompt_execution_id:b?.data?.data?.prompt_execution_id});if(Object.keys(M?.data?.data?.gen_ai_assist)?.length){clearInterval(V),i.value=M?.data?.data?.gen_ai_assist,e.value=!1;const z=E().tz.guess(),b=await(0,o.zn)("/learner/journey/stat",{learning_path_id:G.value,learning_content_id:j.value,timezone:z,skill:O.value,proficiency:c.value,program_id:p.value});r.value=b.data}}catch(M){console.error("Polling error:",M.message),e.value=!1,V&&clearInterval(V)}}),2e3):b.data.message&&(console.log("Message =>",b),e.value=!1,V&&clearInterval(V))}catch(b){e.value=!1,V&&clearInterval(V)}}},AM=async()=>{try{y.value=!1,console.log("Learner Status",D.value),"Registered"!==D.value?(y.value=!0,console.log(`inside if ${D.value}`),_.value="Learner Status is not registered.",w.value=!0):(console.log("focus here",G.value),G.value&&j.value?m.Z.push({name:"SolidifyLearnerSelectTask",query:{learning_path_id:G.value,learning_content_id:j.value}}):m.Z.push({name:"SolidifyLearnerSelectTask",query:{skill_id:O.value,proficiency_id:c.value,program_id:p.value}}))}catch(M){if(y.value=!0,W.Z.isAxiosError(M)){const z=M;_.value=z.response?.data?.message}else _.value="There is an issue with the switching, please contact with helpmate.";w.value=!0}},cM=async()=>{try{if(y.value=!1,"Registered"!==D.value)y.value=!0,_.value="Learner Status is not registered.",w.value=!0;else{const M=await(0,q.ie)("/v1/restartLearnerJourney",b.value);console.log("restartLearnerJourney",M);const z='your task was removed successfully, you can restart journey again from <a href="https://genome.genpact.com/#Myplan" target="_blank" class="text-background-secondary"><strong>MyPlan</strong></a>';M?(localStorage.setItem("message",z),m.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"no",isProxyReview:"no",showChevron:"no"}})):(y.value=!0,_.value="There is an issue in the restart Journey, please contact helpmate.",w.value=!0)}}catch(M){if(y.value=!0,console.log(M),W.Z.isAxiosError(M)){const z=M;_.value=z.response?.data?.message}else _.value="There is an issue in the restart Journey, please contact with helpmate.";w.value=!0}},qM=M=>{y.value=!1,console.log(`task data ${JSON.stringify(M)}`);const b=M;y.value=!0,b?(z.value=b.task_id,u.value=b.task_type,B.value=b.task_name,t.value=b.description,O.value=b.skill,c.value=b.proficiency,N.value=!0===b.checkForPlagiarism):(_.value="There is an issue to fetch task, please contact helpmate.",w.value=!0)};return(0,A.onBeforeMount)((async()=>{try{y.value=!1,x.value=localStorage.getItem("programName"),I.value=localStorage.getItem("reviewerAssignmentStrategy"),U.value=localStorage.getItem("taskAssignmentStrategy");const M=E().tz.guess(),z=await(0,o.zn)("/learner/journey/stat",{learning_path_id:G.value,learning_content_id:j.value,timezone:M,skill:O.value,proficiency:c.value,program_id:p.value}),A=z.data;r.value=z.data,qM(A.taskDetails),"infinity"===x.value&&J(),X.value=!0===A.program_details.plagiarism_enabled,y.value=!0,A.learnerData&&(A.learnerData.technical_hold&&(console.log("learner on hold select task"),G.value&&j.value?m.Z.push({path:"/solidify",query:{learning_path_id:G.value,learning_content_id:j.value}}):m.Z.push({path:"/solidify",query:{skill_id:O.value,proficiency_id:c.value,program_id:p.value}})),console.log(`learner Data value ${JSON.stringify(A.learnerData)}`),console.log(`learnerStatus value ${A.learnerData.learner_status}`),D.value=A.learnerData.learner_status,b.value=A.learnerData.learner_task_id,"Need Reviewer and Need Reviewee"===A.learnerData.learner_status||"Need Reviewee"===A.learnerData.learner_status?m.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:A.learnerData.learner_task_id}}):"Need Reviewer"!==A.learnerData.learner_status&&"Passed"!==A.learnerData.learner_status||m.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:b.value}}))}catch(M){if(y.value=!0,W.Z.isAxiosError(M)){const z=M;_.value=z.response?.data?.message}else _.value="There is an issue to fetch existing record, please contact with helpmate.";w.value=!0}})),(0,A.onUnmounted)((()=>{V&&clearInterval(V)})),{stat:r,genAIPromptResp:i,loadingGenAIResponse:e,isEligibleForAIAssist:Y,learnerSubmissionFile:s,reviewPopupOpened:K,proceedToReview:MM,skillName:d,profName:R,skillId:O,proficiencyId:c,programId:p,taskType:u,taskName:B,taskDesc:t,userRating:L,userComment:f,submitSubmiision:bM,learnerSubmission:g,selectedFile:zM,fileValidationMsg:l,restart:cM,switchTask:AM,learnerTaskId:b,preSignedUrl:C,buttonDisable:v,validationError:h,clearFile:$,fileInputKey:P,helpmateLink:n,learnerStatus:D,renderReady:y,errorResponse:_,showErrorMessage:w,plagiarismcb:S,palgiarismErrorMsg:k,programName:x,taskAssignmentStrategy:U,reviewerAssignmentStrategy:I,checkForPlagiarismTaskLevel:N,checkForPlagiarismProgramLevel:X,checkQuestionLength:Z,questionWordCount:Q,submissionError:H,moment:T(),minimumWordLength:F,learning_path_id:G,learning_content_id:j,learning_content_display_name:a}}}),v=C,S=(0,L.Z)(v,p,O,!1,null,"10bd5095",null),h=S.exports},568:function(M,z,b){"use strict";b.d(z,{JV:function(){return d},ie:function(){return q},rC:function(){return o},sc:function(){return A},t$:function(){return W},ux:function(){return O},yW:function(){return c}});var p=b(7129);const O=async(M,z)=>{const b=await p.Z.post(M,z);return b},A=async(M,z)=>{let b;const p=await fetch(`${M}`,{method:"put",body:z});return b=p,b},c=async M=>{const z=await p.Z.get(`/task/${M}`);return z},q=async(M,z)=>{const b=await p.Z.post(M,{learner_task_id:z});return b},o=async(M,z)=>{const b=await p.Z.post(M,z);return b},W=async(M,z)=>{const b=await p.Z.post(M,z);return b},d=async(M,z)=>await p.Z.post(M,z)},4654:function(M,z,b){"use strict";b.d(z,{hZ:function(){return A},n2:function(){return O},zn:function(){return c}});var p=b(7129);const O=async(M,z)=>{const b=await p.Z.post(M,z);return b},A=async(M,z)=>{const b=await p.Z.post(M,z);return b},c=async(M,z)=>{const b=await p.Z.post(M,z);return b}},7881:function(M,z,b){var p=M.exports=b(8158);p.tz.load(b(1128))},8158:function(M,z,b){var p,O,A;b(7658),
1
+ (("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[612],{460:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-16 px-32"},[z("div",{staticClass:"md:px-0 lg:px-0 text-center"},[z("div",{staticClass:"text-gray-500"},[z("div",{staticClass:"pt-2",domProps:{innerHTML:M._s(M.errorMsg)}})]),z("div",{staticClass:"pt-8"},[z("a",{attrs:{href:M.helpmateLink,target:"_blank"}},[z("img",{staticClass:"mx-auto",attrs:{src:b(3126)}})])])])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(M){const z=(0,A.ref)(""),b=(0,A.ref)(localStorage.getItem("helpmateLink"));return(0,A.onBeforeMount)((async()=>{z.value=M.errorMessage})),{errorMsg:z,helpmateLink:b}}}),q=c,o=b(1001),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},8235:function(M,z,b){"use strict";b.d(z,{Z:function(){return d}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full"},[z("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[M.learning_content_display_name?z("span",[M._v(" "+M._s(M.learning_content_display_name)+" ")]):z("span",["infinity"===M.program?z("span",[M._v(M._s(M.proficiency)+" - ")]):M._e(),M._v(M._s(M.skill))])]),z("div",{staticClass:"my-2"},[z("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[M._v("Hi, "+M._s(M.username))])])])},O=[],A=b(7203),c=(0,A.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""},learning_content_display_name:{type:String,default:""}},setup(){const M=(0,A.ref)("");return(0,A.onBeforeMount)((async()=>{const z=localStorage.getItem("userName")||"Learner";M.value=z.split(",").reverse().join(" ")})),{username:M}}}),q=c,o=b(1001),W=(0,o.Z)(q,p,O,!1,null,null,null),d=W.exports},1220:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return h}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[M.loadingGenAIResponse?z("AILoader",{attrs:{stat:M.stat},on:{closeAIPopup:()=>M.loadingGenAIResponse=!1}}):M._e(),M.reviewPopupOpened?z("StarRating",{attrs:{rating:M.userRating,comment:M.userComment},on:{"update:comment":z=>M.userComment=z,"update:rating":z=>M.userRating=z,submitRating:()=>{M.submitSubmiision("submit_task"),M.reviewPopupOpened=!1}}}):M._e(),M.renderReady?[M.showErrorMessage?M._e():[z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-12"},[z("Greetings",{attrs:{program:M.programId,proficiency:M.profName,skill:M.skillName,learning_content_display_name:M.learning_content_display_name}}),z("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Home")]),z("li",{staticClass:"active"},[M._v("Task")]),z("li",{staticClass:"active"},[M._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===M.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===M.reviewerAssignmentStrategy?z("li",[M._v("Peer Reviews")]):M._e(),z("li",[M._v("Under Review")]),z("li",[M._v("Done!")])])])]),z("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 mt-1 text-sm"},[z("div",{staticClass:"block mt-4 mb-4"},[M.submissionError?z("div",{staticClass:"w-full px-3 text-center mt-4 bg-[#ffad28] py-2 text-[#161916]"},[M._v(M._s(M.submissionError))]):M._e(),z("div",{staticClass:"text-gray-600"},[z("div",{staticClass:"p-4 mb-6 rounded-lg shadow border border-gray-200"},[z("p",{staticClass:"pt-2"},[z("strong",[M._v(M._s(M.taskName))])]),z("div",{staticClass:"mt-2 rich-text-formatter",domProps:{innerHTML:M._s(M.taskDesc)}})]),"Desktop"===M.taskType?z("div",{staticClass:"p-4 mb-6 rounded-lg shadow border border-gray-200"},["Desktop"===M.taskType?z("div",[M._m(0),z("p",{staticClass:"pt-1"},[M._v("Accepted Formats: Upload a single Word, Pdf, Excel, or PPT file with a minimum of "+M._s(M.minimumWordLength)+" words.")]),z("p",{staticClass:"pt-1"},[M._v("Max Size: 200MB")]),z("p",{staticClass:"pt-1"},[M._v("Language: English only")]),z("div",{staticClass:"flex items-center gap-2 pt-2",staticStyle:{"max-width":"250px"}},[z("input",{key:M.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file"},on:{change:M.selectedFile}}),M.learnerSubmission?z("x-icon",{attrs:{size:"1.5x"},on:{click:function(z){return M.clearFile()}}}):M._e()],1)]):M._e(),"Desktop"===M.taskType&&M.stat?.taskDetails?.genAiAssistEnabled?z("div",{staticClass:"text-xs italic mt-2 -mb-2"},[M._v("Note: To enable AI Assist for uploaded task, please upload only .doc/ .docx/ .txt/ .pdf file.")]):M._e()]):M._e(),"Mobile"===M.taskType?z("div",{staticClass:"mb-6"},[z("textarea",{directives:[{name:"model",rawName:"v-model",value:M.learnerSubmission,expression:"learnerSubmission"}],staticClass:"w-full px-3 py-1.5 text-base font-normal bg-white bg-clip-padding border border-[#ffad28] rounded-lg ease-in-out m-0 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{id:"exampleFormControlTextarea1",rows:"3",placeholder:"Type your text here..."},domProps:{value:M.learnerSubmission},on:{keyup:function(z){return M.checkQuestionLength(M.learnerSubmission)},input:function(z){z.target.composing||(M.learnerSubmission=z.target.value)}}}),z("div",[M.questionWordCount<M.minimumWordLength?z("div",[M._v("(Minimum "+M._s(M.minimumWordLength)+" words required. "+M._s(M.questionWordCount)+"/"+M._s(M.minimumWordLength)+")")]):M._e()])]):M._e(),M.fileValidationMsg?z("span",{staticClass:"text-[#ff4f59]"},[M._v(M._s(M.fileValidationMsg))]):M._e(),z("div",{staticClass:"p-4 mb-6 rounded-lg shadow border border-gray-200"},[M._m(1),M.checkForPlagiarismProgramLevel&&M.checkForPlagiarismTaskLevel?z("div",[z("ul",{staticClass:"pt-2 pl-8"},[z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check0")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check0",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v(" This is my original work, based on personal research and not copied from others (including colleagues or online sources). ")])])]),z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check1",value:"check1"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check1")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check1",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v(" No client or Genpact confidential information has been included. ")])])]),z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check2",value:"check2"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check2")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check2",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v(" I’ve checked for plagiarism using tools like "),M._m(2),M._v(" or "),M._m(3),M._v(" and found no significant matches. ")])])]),z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check3",value:"check3"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check3")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check3",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v("I understand that plagiarism is a violation of Genpact’s Code of Conduct and may result in unsuccessful completion of Solidify and/or disciplinary action. ")])])]),z("li",[M.palgiarismErrorMsg?z("span",{staticClass:"text-[#ff4f59]"},[M._v(M._s(M.palgiarismErrorMsg))]):M._e()])]),M._m(4)]):z("div",[z("ul",{staticClass:"pt-2 pl-8"},[z("li",[z("div",{staticClass:"mt-3"},[z("label",[z("input",{directives:[{name:"model",rawName:"v-model",value:M.plagiarismcb,expression:"plagiarismcb"}],attrs:{type:"checkbox",id:"check0",value:"check0"},domProps:{checked:Array.isArray(M.plagiarismcb)?M._i(M.plagiarismcb,"check0")>-1:M.plagiarismcb},on:{change:function(z){var b=M.plagiarismcb,p=z.target,O=!!p.checked;if(Array.isArray(b)){var A="check0",c=M._i(b,A);p.checked?c<0&&(M.plagiarismcb=b.concat([A])):c>-1&&(M.plagiarismcb=b.slice(0,c).concat(b.slice(c+1)))}else M.plagiarismcb=O}}}),M._v(" "),z("span",{staticClass:"text-[#ff4f59] font-bold ml-1"},[M._v("*")]),M._v(" I hereby certify that this task submission does not contain/ use any client/ Genpact confidential materials.")])])])]),M.palgiarismErrorMsg?z("span",{staticClass:"text-[#ff4f59]"},[M._v(M._s(M.palgiarismErrorMsg))]):M._e()])]),M.genAIPromptResp||M.stat?.genAiAssistDetails?.[0]?.genai_evaluation_comment?z("div",{staticClass:"flex w-full h-auto p-4"},[z("div",{staticClass:"flex flex-col relative bg-gray-200 w-full lg:w-2/3 h-auto mx-4 mt-5 p-4 pl-12 rounded-xl"},[M.genAIPromptResp?z("div",[z("div",{staticClass:"font-medium text-black whitespace-pre-line"},[M._v(" "+M._s(M.genAIPromptResp?.genai_evaluation_comment)+" ")]),z("div",{staticClass:"font-medium text-black italic text-xs mt-2"},[M._v("Submitted On: "+M._s(M.moment(M.genAIPromptResp?.created_date).format("DD MMM YYYY | hh:mm a")))]),z("div",{staticClass:"font-medium text-black italic text-xs mt-0.5"},[M._v("Attempts Left: "+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts-M.stat?.genAiAssistDetails?.length)+"/"+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts))])]):z("div",[z("div",{staticClass:"font-medium text-black whitespace-pre-line"},[M._v(" "+M._s(M.stat?.genAiAssistDetails?.[0]?.genai_evaluation_comment)+" ")]),z("div",{staticClass:"font-medium text-black italic text-xs mt-2"},[M._v("Submitted On: "+M._s(M.moment(M.stat?.genAiAssistDetails?.[0]?.created_date).format("DD MMM YYYY | hh:mm a")))]),z("div",{staticClass:"font-medium text-black italic text-xs mt-0.5"},[M._v("Attempts Left: "+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts-M.stat?.genAiAssistDetails?.length)+"/"+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts))])]),M._m(5)])]):M._e()])]),z("div",{staticClass:"block text-center pt-2"},[M._m(6),z("div",{staticClass:"mb-4 text-center md:space-x-2 space-x-1"},["Learner to choose task"===M.program_details.task_strategy?z("button",{staticClass:"inline-block mt-2 py-2 px-6 border border-[#ffad28] bg-white-500 text-[#161916] hover:bg-[#ffad28] rounded-full font-medium",on:{click:M.switchTask}},[M._v(" Select Different Task ")]):M._e(),M.stat?.taskDetails?.genAiAssistEnabled?z("button",{staticClass:"inline-block mt-2 py-2 px-6 text-white shadow-md disabled:!bg-gray-500 disabled:cursor-not-allowed disabled:text-white disabled!font-medium bg-background-secondary",attrs:{disabled:M.buttonDisable||!M.isEligibleForAIAssist||M.stat?.taskDetails?.genAiAssistMaxAttempts-M.stat?.genAiAssistDetails?.length<=0},on:{click:function(z){return M.submitSubmiision("ai_assist")}}},[M._v(" AI Assist ")]):M._e(),z("button",{staticClass:"inline-block mt-2 py-2 px-6 text-white shadow-md disabled:!bg-gray-500 disabled:cursor-not-allowed disabled:text-white disabled!font-medium bg-background-secondary",attrs:{disabled:M.buttonDisable},on:{click:function(z){return M.proceedToReview()}}},[M._v(" Submit Task ")]),"Learner to choose task"===M.program_details.task_strategy?z("button",{staticClass:"inline-block mt-2 py-2 px-6 border border-[#ffad28] bg-white-500 text-[#161916] hover:bg-[#ffad28] rounded-full font-medium",on:{click:function(z){return M.restart()}}},[M._v(" Restart Solidify ")]):M._e()])])])],1)])],M.showErrorMessage?z("ErrorMessage",{attrs:{"error-message":M.errorResponse}}):M._e()]:M._e(),M.renderReady?M._e():z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[z("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:b(9756),alt:"Loader Gif"}}),z("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[M._v("Loading...")])])],2)},O=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-2"},[z("strong",[M._v("File Upload Instructions ")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",[z("p",[z("strong",[M._v("By submitting, I certify that:")])])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("strong",[z("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[M._v("Plagiarismdetector")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("strong",[z("a",{staticClass:"underline",attrs:{href:"https://papersowl.com/free-plagiarism-checker",target:"_blank"}},[M._v("Papersowl")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-7"},[z("p",[z("strong",[z("a",{staticClass:"underline",attrs:{href:"https://dcl.genpact.com/media/9d86bd58-3669-41c5-bc28-aad72efdf964",target:"blank"}},[M._v("Watch this short video")])]),M._v(" to learn why originality matters and how to avoid plagiarism. ")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"absolute -left-8 -bottom-3 bg-genome-v6 w-16 h-16 rounded-full flex items-center justify-center"},[z("img",{staticClass:"bg-center bg-contain bg-no-repeat block w-10",attrs:{src:b(8768)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",[z("p",{staticClass:"text-xl"},[z("em",[M._v("Do Not Click the Browser Back Button")])])])}],A=(b(7658),b(7203)),c=b(4856),q=b(568),o=b(4654),W=b(306),d=b(460),a=b(8235),R=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center fixed z-50 w-full h-full bg-opacity-70 bg-black -translate-x-1/2 left-1/2 -translate-y-1/2 top-1/2"},[z("div",{staticClass:"relative mx-auto px-8 py-4 bg-white text-background-secondary w-full md:w-1/2"},[z("button",{staticClass:"absolute right-0 mx-3",on:{click:function(z){return M.$emit("closeAIPopup")}}},[z("svg",{staticClass:"lucide-icon lucide lucide-x h-4 w-4",attrs:{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":"2","stroke-linecap":"round","stroke-linejoin":"round"}},[z("path",{attrs:{d:"M18 6 6 18"}}),z("path",{attrs:{d:"m6 6 12 12"}})])]),M._m(0),M._m(1),M._m(2),M._m(3),z("div",{staticClass:"flex justify-center items-center pt-2 font-bold"},[M._m(4),z("div",{staticClass:"text-background-tertiary text-xl pl-2 pr-2 italic"},[M._v(" Attempts Left: ["+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts-M.stat?.genAiAssistDetails?.length-1)+"/"+M._s(M.stat?.taskDetails?.genAiAssistMaxAttempts)+"] - Make the most of it! ")]),M._m(5)]),z("div",{staticClass:"flex items-center justify-start py-4 space-y-4 text-left"},[z("img",{staticClass:"block h-6 w-6 mr-1",attrs:{src:b(9756),alt:"Loader Gif"}}),z("p",{staticClass:"text-gray-600 text-sm whitespace-pre-wrap text-left"},[M._v(" "+M._s(M.typedMessage)+" "),M.showCursor?z("span",{staticClass:"animate-blink"},[M._v("|")]):M._e()])])])])},n=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex justify-center"},[z("img",{attrs:{src:b(194)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex justify-center items-center pt-2 font-bold"},[z("div",[z("img",{attrs:{src:b(5091)}})]),z("strong",{staticClass:"text-background-tertiary text-xl pl-2 pr-2"},[M._v("AI Assist Activated!")]),z("div",[z("img",{attrs:{src:b(6279)}})])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"pt-2 text-left"},[z("div",{staticClass:"pt-1"},[M._v("Your submission is being reviewed for "),z("strong",[M._v("relevance, clarity, and completeness")]),M._v(". Get instant insights to refine your work!")]),z("div",{staticClass:"pt-2 text-background-tertiary font-bold text-left"},[M._v("How It Works:")]),z("ul",{staticClass:"pt-1 list-disc pl-5"},[z("li",{staticClass:"pt-1 !text-background-secondary"},[M._v("AI provides feedback based on task objectives.")]),z("li",{staticClass:"pt-1 !text-background-secondary"},[M._v("You can "),z("strong",[M._v("revise your submission or proceed to peer review")])])])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"pt-2 italic text-left"},[z("div",[z("span",{staticClass:"text-background-tertiary"},[M._v("Disclaimer:")]),M._v(" AI-generated feedback is a guidance tool and may have its own biases.")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",[z("img",{attrs:{src:b(3886)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",[z("img",{attrs:{src:b(3244)}})])}],e=(0,A.defineComponent)({name:"AILoader",props:{stat:{type:Object,required:!0}},setup(){const M=["Thinking deeply...","Analyzing context...","Generating insights...","Polishing response...","Finalizing thoughts..."],z=(0,A.ref)(""),b=(0,A.ref)(!0);let p=0,O=0;function c(){const b=M[p];O<b.length?(z.value+=b[O++],setTimeout(c,50)):setTimeout((()=>{p=(p+1)%M.length,O=0,z.value="",c()}),3e3)}return(0,A.onMounted)((()=>{c(),setInterval((()=>{b.value=!b.value}),500)})),{typedMessage:z,showCursor:b}}}),i=e,L=b(1001),f=(0,L.Z)(i,R,n,!1,null,"edd982f2",null),r=f.exports,B=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"flex flex-col h-min-screen justify-center text-center fixed z-50 w-full h-full bg-opacity-70 bg-black -translate-x-1/2 left-1/2 -translate-y-1/2 top-1/2"},[z("div",{staticClass:"max-w-sm w-full mx-auto p-6 bg-white shadow-xl rounded-2xl"},[z("h2",{staticClass:"text-2xl font-semibold mb-4"},[M._v("Your Feedback")]),z("h3",{staticClass:"text-sm font-medium mb-4"},[M._v("Thank you for using AI Assist. Was the submission feedback helpful? Share your valuable input.​")]),z("div",{staticClass:"flex items-center justify-center space-x-6 mb-4"},M._l(5,(function(b){return z("button",{key:b,staticClass:"focus:outline-none",on:{click:function(z){return M.setRating(b)},mouseenter:function(z){M.hoverRating=b},mouseleave:function(z){M.hoverRating=0}}},[z("svg",{class:[(M.hoverRating||M.internalRating)>=b?"text-[#FFAD28]":"text-gray-300","w-8 h-8 transition-colors"],attrs:{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"currentColor"}},[z("path",{attrs:{d:"M12 .587l3.668 7.568 8.332 1.151-6.064 5.943 1.464 8.251L12 18.896l-7.4 4.604 1.464-8.251L0 9.306l8.332-1.151z"}})])])})),0),z("p",{staticClass:"text-sm text-gray-500 pb-2"},[M._v("Rating: "+M._s(M.internalRating)+" / 5")]),z("textarea",{directives:[{name:"model",rawName:"v-model",value:M.internalComment,expression:"internalComment"}],staticClass:"w-full p-3 border rounded-xl focus:ring-2 focus:ring-background-secondary focus:outline-none resize-none",attrs:{rows:"4",placeholder:"Your Message..."},domProps:{value:M.internalComment},on:{input:function(z){z.target.composing||(M.internalComment=z.target.value)}}}),z("button",{staticClass:"inline-block mt-2 py-2 px-4 text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 disabled:!bg-gray-500 disabled:cursor-not-allowed bg-background-secondary",attrs:{disabled:M.internalRating<=0},on:{click:M.submitReview}},[M._v(" Submit ")])])])},t=[],u=(0,A.defineComponent)({name:"StarRating",props:{rating:{type:Number,required:!0},comment:{type:String,required:!0}},emits:["update:rating","update:comment","submitRating"],setup(M,{emit:z}){const b=(0,A.ref)(M.rating),p=(0,A.ref)(M.comment),O=(0,A.ref)(0),c=M=>{b.value=M},q=()=>{z("submitRating")};return(0,A.watch)(b,(M=>{z("update:rating",M)})),(0,A.watch)(p,(M=>{z("update:comment",M)})),{internalRating:b,internalComment:p,hoverRating:O,setRating:c,submitReview:q}}}),N=u,X=(0,L.Z)(N,B,t,!1,null,null,null),s=X.exports,l=b(1602),T=b.n(l),m=b(4642),g=b(7881),E=b.n(g),C=(0,A.defineComponent)({name:"LearnerSubmitTask",components:{XIcon:c.b0D,ErrorMessage:d.Z,Greetings:a.Z,AILoader:r,StarRating:s},props:{query:{type:Object,default:()=>({})}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(M.query.learner_task_id),p=(0,A.ref)(M.query.program_id),O=(0,A.ref)(localStorage.getItem("skillId")),c=(0,A.ref)(localStorage.getItem("profId")),d=(0,A.ref)(localStorage.getItem("skillName")),a=(0,A.ref)(localStorage.getItem("learning_content_display_name")),R=(0,A.ref)(localStorage.getItem("proficiency")),n=(0,A.ref)(localStorage.getItem("helpmateLink")),e=(0,A.ref)(!1),i=(0,A.ref)(),L=(0,A.ref)(0),f=(0,A.ref)(""),r=(0,A.ref)(),B=(0,A.ref)(),t=(0,A.ref)(),u=(0,A.ref)(),N=(0,A.ref)(),X=(0,A.ref)(!1),s=(0,A.ref)(null),l=(0,A.ref)(),g=(0,A.ref)(),C=(0,A.ref)(),v=(0,A.ref)(!0),S=(0,A.ref)([]),h=(0,A.ref)(),k=(0,A.ref)(),P=(0,A.ref)(0),D=(0,A.ref)(),y=(0,A.ref)(!1),_=(0,A.ref)(),w=(0,A.ref)(!1),x=(0,A.ref)(),U=(0,A.ref)(),I=(0,A.ref)(),Q=(0,A.ref)(0),F=(0,A.ref)(100),H=(0,A.ref)(""),K=(0,A.ref)(!1),G=(0,A.ref)(localStorage.getItem("learning_path_id")),j=(0,A.ref)(localStorage.getItem("learning_content_id")),V=(0,A.ref)();let J=null;const Y=()=>{console.log("fetchMinimumWordLength is called"),"Beginner"===R.value&&(F.value=150),"Intermediate"===R.value&&(F.value=250),"Proficient"===R.value&&(F.value=350),"Expert"===R.value&&(F.value=350)},Z=(0,A.computed)((()=>{const M=s.value?.name?.split(".")?.pop()?.toLowerCase();return"doc"===M||"docx"===M||"txt"===M||"pdf"===M||"Mobile"===u.value})),$=M=>{Q.value=M.split(" ").filter((M=>""!==M)).length,v.value=Q.value<F.value},MM=async()=>{P.value+=1,console.log(`before ${g.value}`),g.value=null,v.value=!0,console.log(`after ${g.value}`)},zM=()=>X.value&&N.value&&S.value.length<4?(y.value=!0,k.value="Please confirm that you abide by the above statements",void setTimeout((()=>{k.value=null}),6e3)):X.value&&N.value||1===S.value.length?void(r.value?.taskDetails?.genAiAssistEnabled&&r.value?.genAiAssistDetails?.length>0?K.value=!0:pM("submit_task")):(y.value=!0,k.value="Please confirm that you abide by the above statements",void setTimeout((()=>{k.value=null}),6e3)),bM=async M=>{try{if(s.value=M.target.files[0],s.value){g.value=M.target.files[0].name;const z=M.target.files[0].size/1024/1024;s.value&&(v.value=!1),z>200&&(l.value="Uploaded filesize is greater than 200 MB",setTimeout((()=>{l.value=null}),6e3),v.value=!0)}}catch(z){if(console.log(z),y.value=!0,W.Z.isAxiosError(z)){const M=z;_.value=M.response?.data?.message}else _.value="Something went wrong, please contact helpmate.";w.value=!0}},pM=async M=>{try{if("ai_assist"!==M&&(y.value=!1),console.log("plagiarismcb",S),X.value&&N.value&&S.value.length<4)return y.value=!0,k.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{k.value=null}),6e3);if((!X.value||!N.value)&&1!==S.value.length)return y.value=!0,k.value="Please confirm that you will abide by the above statements",void setTimeout((()=>{k.value=null}),6e3);if(g.value){if("ai_assist"===M&&r.value?.taskDetails?.genAiAssistMaxAttempts-r.value?.genAiAssistDetails?.length<=0)return;"ai_assist"===M&&(e.value=!0);const A={learner_submission:g.value.trim(),learner_task_id:b.value,skill:O.value,proficiency:c.value,linked_program_name:p.value,task_type:u.value,linked_task_id:z.value,assinged_reviewer_count:0};let o;if("Desktop"===u.value){const z=await(0,q.ux)("/v1/pretAuthUrlForUploadLearner",{file_name:g.value,learner_task_id:b.value}),p=z.data;C.value=p.preSignedUrl;const O=await(0,q.sc)(C.value,s.value);if(200===O.status){if("ai_assist"===M)return void await AM({learner_submission:g.value,learner_task_id:b.value});o=await OM(A)}else y.value=!0,_.value="There is issue in the file upload, please contact with helpmate.",w.value=!0}else{if("ai_assist"===M)return void await AM({learner_submission:g.value.trim(),learner_task_id:b.value});o=await OM(A)}200===o.status?(console.log(o),"Please upload non empty file"===o.data.message?(H.value=`The submission does not meet the minimum task word limit of ${F.value} words. Please upload a valid submission.`,MM(),setTimeout((()=>{H.value=""}),6e3),y.value=!0):m.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:A.learner_task_id}}),"Learner on hold"===o.data.message&&(console.log("learner on hold submit task"),G.value&&j.value?m.Z.push({path:"/solidify",query:{skill_id:O.value,proficiency_id:c.value,program_id:p.value}}):m.Z.push({path:"/solidify",query:{learning_path_id:G.value,learning_content_id:j.value}}))):(y.value=!0,_.value="There is some issue while submitting learner submission, please contact with helpmate.",w.value=!0)}else"Mobile"===u.value?(y.value=!0,g.value||(l.value="please Enter Submission",console.log("inside Mobile Type"),setTimeout((()=>{l.value=null}),6e3))):"Desktop"===u.value&&(y.value=!0,console.log(`learnerSubmission.value ${g.value}`),g.value||(l.value="please select File",setTimeout((()=>{l.value=null}),6e3)))}catch(A){if(y.value=!0,console.log(`error ${A}`),W.Z.isAxiosError(A)){const M=A;_.value=M.response?.data?.message}else _.value="There is some issue while submitting learner submission, please contact with helpmate.";w.value=!0}},OM=async M=>{let z=M;r.value?.taskDetails?.genAiAssistEnabled&&r.value?.genAiAssistDetails?.length>0&&(z={...M,genAiAssistLearnerFeedbackRating:L.value?.toString(),genAiAssistLearnerFeedbackComment:f.value});const b=await(0,q.rC)("/v1/uploadLearnerSubmission",z);return b},AM=async({learner_submission:M,learner_task_id:z})=>{if(Z.value){i.value=null;try{const b=await(0,q.t$)("/v1/uploadLearnerSubmission?submission_type=invoke_gen_ai_assist",{learner_submission:M,learner_task_id:z});200===b.status?J=setInterval((async()=>{try{const M=await(0,q.JV)("/v1/uploadLearnerSubmission?submission_type=fetch_gen_ai_assist",{learner_task_id:z,prompt_execution_id:b?.data?.data?.prompt_execution_id});if(Object.keys(M?.data?.data?.gen_ai_assist)?.length){clearInterval(J),i.value=M?.data?.data?.gen_ai_assist,e.value=!1;const z=E().tz.guess(),b=await(0,o.zn)("/learner/journey/stat",{learning_path_id:G.value,learning_content_id:j.value,timezone:z,skill:O.value,proficiency:c.value,program_id:p.value});r.value=b.data}}catch(M){console.error("Polling error:",M.message),e.value=!1,J&&clearInterval(J)}}),2e3):b.data.message&&(console.log("Message =>",b),e.value=!1,J&&clearInterval(J))}catch(b){e.value=!1,J&&clearInterval(J)}}},cM=async()=>{try{y.value=!1,console.log("Learner Status",D.value),"Registered"!==D.value?(y.value=!0,console.log(`inside if ${D.value}`),_.value="Learner Status is not registered.",w.value=!0):(console.log("focus here",G.value),G.value&&j.value?m.Z.push({name:"SolidifyLearnerSelectTask",query:{learning_path_id:G.value,learning_content_id:j.value}}):m.Z.push({name:"SolidifyLearnerSelectTask",query:{skill_id:O.value,proficiency_id:c.value,program_id:p.value}}))}catch(M){if(y.value=!0,W.Z.isAxiosError(M)){const z=M;_.value=z.response?.data?.message}else _.value="There is an issue with the switching, please contact with helpmate.";w.value=!0}},qM=async()=>{try{if(y.value=!1,"Registered"!==D.value)y.value=!0,_.value="Learner Status is not registered.",w.value=!0;else{const M=await(0,q.ie)("/v1/restartLearnerJourney",b.value);console.log("restartLearnerJourney",M);const z='your task was removed successfully, you can restart journey again from <a href="https://genome.genpact.com/#Myplan" target="_blank" class="text-background-secondary"><strong>MyPlan</strong></a>';M?(localStorage.setItem("message",z),m.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"no",isProxyReview:"no",showChevron:"no"}})):(y.value=!0,_.value="There is an issue in the restart Journey, please contact helpmate.",w.value=!0)}}catch(M){if(y.value=!0,console.log(M),W.Z.isAxiosError(M)){const z=M;_.value=z.response?.data?.message}else _.value="There is an issue in the restart Journey, please contact with helpmate.";w.value=!0}},oM=M=>{y.value=!1,console.log(`task data ${JSON.stringify(M)}`);const b=M;y.value=!0,b?(z.value=b.task_id,u.value=b.task_type,B.value=b.task_name,t.value=b.description,O.value=b.skill,c.value=b.proficiency,N.value=!0===b.checkForPlagiarism):(_.value="There is an issue to fetch task, please contact helpmate.",w.value=!0)};return(0,A.onBeforeMount)((async()=>{try{y.value=!1,x.value=localStorage.getItem("programName"),I.value=localStorage.getItem("reviewerAssignmentStrategy"),U.value=localStorage.getItem("taskAssignmentStrategy");const M=E().tz.guess(),z=await(0,o.zn)("/learner/journey/stat",{learning_path_id:G.value,learning_content_id:j.value,timezone:M,skill:O.value,proficiency:c.value,program_id:p.value}),A=z.data;r.value=z.data,oM(A.taskDetails),"infinity"===x.value&&Y(),X.value=!0===A.program_details.plagiarism_enabled,V.value=A.program_details,y.value=!0,A.learnerData&&(A.learnerData.technical_hold&&(console.log("learner on hold select task"),G.value&&j.value?m.Z.push({path:"/solidify",query:{learning_path_id:G.value,learning_content_id:j.value}}):m.Z.push({path:"/solidify",query:{skill_id:O.value,proficiency_id:c.value,program_id:p.value}})),console.log(`learner Data value ${JSON.stringify(A.learnerData)}`),console.log(`learnerStatus value ${A.learnerData.learner_status}`),D.value=A.learnerData.learner_status,b.value=A.learnerData.learner_task_id,"Need Reviewer and Need Reviewee"===A.learnerData.learner_status||"Need Reviewee"===A.learnerData.learner_status?m.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:A.learnerData.learner_task_id}}):"Need Reviewer"!==A.learnerData.learner_status&&"Passed"!==A.learnerData.learner_status||m.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:b.value}}))}catch(M){if(y.value=!0,W.Z.isAxiosError(M)){const z=M;_.value=z.response?.data?.message}else _.value="There is an issue to fetch existing record, please contact with helpmate.";w.value=!0}})),(0,A.onUnmounted)((()=>{J&&clearInterval(J)})),{stat:r,genAIPromptResp:i,loadingGenAIResponse:e,isEligibleForAIAssist:Z,learnerSubmissionFile:s,reviewPopupOpened:K,proceedToReview:zM,skillName:d,profName:R,skillId:O,proficiencyId:c,programId:p,taskType:u,taskName:B,taskDesc:t,userRating:L,userComment:f,submitSubmiision:pM,learnerSubmission:g,selectedFile:bM,fileValidationMsg:l,restart:qM,switchTask:cM,learnerTaskId:b,preSignedUrl:C,buttonDisable:v,validationError:h,clearFile:MM,fileInputKey:P,helpmateLink:n,learnerStatus:D,renderReady:y,errorResponse:_,showErrorMessage:w,plagiarismcb:S,palgiarismErrorMsg:k,programName:x,taskAssignmentStrategy:U,reviewerAssignmentStrategy:I,checkForPlagiarismTaskLevel:N,checkForPlagiarismProgramLevel:X,checkQuestionLength:$,questionWordCount:Q,submissionError:H,moment:T(),minimumWordLength:F,learning_path_id:G,learning_content_id:j,learning_content_display_name:a,program_details:V}}}),v=C,S=(0,L.Z)(v,p,O,!1,null,"7178683b",null),h=S.exports},568:function(M,z,b){"use strict";b.d(z,{JV:function(){return d},ie:function(){return q},rC:function(){return o},sc:function(){return A},t$:function(){return W},ux:function(){return O},yW:function(){return c}});var p=b(7129);const O=async(M,z)=>{const b=await p.Z.post(M,z);return b},A=async(M,z)=>{let b;const p=await fetch(`${M}`,{method:"put",body:z});return b=p,b},c=async M=>{const z=await p.Z.get(`/task/${M}`);return z},q=async(M,z)=>{const b=await p.Z.post(M,{learner_task_id:z});return b},o=async(M,z)=>{const b=await p.Z.post(M,z);return b},W=async(M,z)=>{const b=await p.Z.post(M,z);return b},d=async(M,z)=>await p.Z.post(M,z)},4654:function(M,z,b){"use strict";b.d(z,{hZ:function(){return A},n2:function(){return O},zn:function(){return c}});var p=b(7129);const O=async(M,z)=>{const b=await p.Z.post(M,z);return b},A=async(M,z)=>{const b=await p.Z.post(M,z);return b},c=async(M,z)=>{const b=await p.Z.post(M,z);return b}},7881:function(M,z,b){var p=M.exports=b(8158);p.tz.load(b(1128))},8158:function(M,z,b){var p,O,A;b(7658),
2
2
  //! moment-timezone.js
3
3
  //! version : 0.5.43
4
4
  //! Copyright (c) JS Foundation and other contributors