@genpact/genome.mfe.solidify-app 1.17.2-alpha.246 → 1.17.2-alpha.247

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,2 +1,2 @@
1
- "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[901],{460:function(e,t,s){s.d(t,{Z:function(){return c}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:s(3126)}})])])])])])},a=[],i=s(7203),n=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),s=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:s}}}),o=n,l=s(1001),u=(0,l.Z)(o,r,a,!1,null,null,null),c=u.exports},2148:function(e,t,s){s.d(t,{Z:function(){return v}});var r=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",[e.popUpImage1||e.popUpImage2?t("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[t("div",[t("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:s(2191)}})]):e._e(),e.popUpImage2?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:s(5861)}})]):e._e()]),t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" No ")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},a=[],i=(s(7658),s(4856)),n=s(442),o={components:{XIcon:i.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{n.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},l=o,u=s(1001),c=(0,u.Z)(l,r,a,!1,null,null,null),v=c.exports},2024:function(e,t,s){s.d(t,{Z:function(){return c}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-4 flex justify-between items-center w-full"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e.learning_content_display_name?t("span",[e._v(" "+e._s(e.learning_content_display_name)+" ")]):t("span",["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill))])]),t("div",{staticClass:"my-2"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},a=[],i=s(7203),n=(0,i.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 e=(0,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),o=n,l=s(1001),u=(0,l.Z)(o,r,a,!1,null,null,null),c=u.exports},8269:function(e,t,s){s.r(t),s.d(t,{default:function(){return _}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.learnerRereviewDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.learnerRereviewDetails.program,proficiency:e.learnerRereviewDetails.proficiency,skill:e.learnerRereviewDetails.skill,learning_content_display_name:e.learnerRereviewDetails.learning_content_display_name}}),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",{staticClass:"p-4 mb-3 rounded-lg shadow border border-gray-200"},[e._m(0),e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[t("p",{staticClass:"pt-4"},[e._v("Requesting a re-review doesn't guarantee that your submission will pass. You'll receive an email once the review is complete (allow up to 2 weeks).")]),e._m(1),t("p",{staticClass:"pt-6"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v(" By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.")])]),e._m(2)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"pt-4"},[e._v("Your request for re-review has been accepted and is currently in progress.")]),e._m(3)]):e._e()])])]),t("div",{staticClass:"block text-center pt-6"},[t("div",{staticClass:"mb-4 text-center"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("button",{staticClass:"ml-2 mr-2 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",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.requestForRereviewSubmit}},[e._v(" Re-review ")]),e.learnerRereviewDetails.request_for_re_review?t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.checkRereviewStatus}},[e._v(" Check Status ")]):e._e()])])])],1)]):e._e()],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:s(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},a=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("strong",[e._v("Re-Review Request")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",[t("strong",[e._v("Key Limitations: ")])]),t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[e._v("Each submission is eligible for only one re-review.")]),t("li",[e._v("You cannot start a new Solidify journey for the same skill while your re-review is pending.")]),t("li",[e._v("If our reviewers determine the original assessment was correct, your results will remain unchanged.")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v('"Re-review"')]),e._v(" to continue.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("Click "),t("strong",[e._v("'Check Status'")]),e._v(" to track the status of the re-review.")])}],i=s(7203),n=s(2148),o=s(306),l=s(460),u=s(2024),c=s(7129);const v=async e=>{const t=await c.Z.get(`/learnerRereviewStatus/${e}`);return t},p=async(e,t)=>{const s=await c.Z.post("/learnerRereview",{learner_task_id:e,requestFromAdmin:t});return s};var d=(0,i.defineComponent)({name:"LearnerRereview",components:{Generic:n.Z,ErrorMessage:l.Z,Greetings:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(e.query.learner_task_id),s=(0,i.ref)(),r=(0,i.ref)(!1),a=(0,i.ref)(),n=(0,i.ref)(!0),l=(0,i.ref)(!1),u=(0,i.ref)(),c=(0,i.ref)(!1),d=(0,i.ref)(localStorage.getItem("helpmateLink")),f=e=>{const t=e.target.checked;!0===t?(n.value=!1,console.log(n.value)):(n.value=!0,console.log(n.value))},g=async()=>{try{if(l.value=!1,s.value.is_plagiarised&&s.value.plagiarism_reevaluation_requested)return r.value=!0,void(a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now");const e=await p(t.value,!1);s.value.request_for_re_review=e.data?.request_for_re_review,s.value.re_review_status=e.data?.re_review_status,l.value=!0,r.value=!0,a.value="<strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete."}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,o.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in requesting for review, please contact helpmate.";c.value=!0}},m=async()=>{try{l.value=!1;const e=await v(t.value);return s.value=e.data,l.value=!0,console.log(`after check status ${JSON.stringify(s)}`),void("Re-review Accepted Proxy Assigned"===s.value.re_review_status||"Re-review Accepted Proxy Unavailable"===s.value.re_review_status?(r.value=!0,a.value="<br><strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete."):"Complete"===s.value.re_review_status&&(r.value=!0,a.value="<br><br>Great news! Your re-review is complete — check your email for details."))}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,o.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in fetching learner re-review status, please contact helpmate.";c.value=!0}};return(0,i.onBeforeMount)((async()=>{try{l.value=!1;const e=await v(t.value);s.value=e.data,l.value=!0,console.log(`learnerRereviewDetails.value ${JSON.stringify(s.value)}`),s.value.is_plagiarised&&s.value.plagiarism_reevaluation_requested&&(r.value=!0,a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now")}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,o.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue to fetch existing record, please contact helpmate.";c.value=!0}})),{modalVisible:r,modalMessage:a,buttonDisable:n,learnerRereviewDetails:s,setRereviewButtonEnable:f,requestForRereviewSubmit:g,checkRereviewStatus:m,renderReady:l,helpmateLink:d,showErrorMessage:c}}}),f=d,g=s(1001),m=(0,g.Z)(f,r,a,!1,null,"2176a016",null),_=m.exports},3126:function(e,t,s){e.exports=s.p+"img/support.svg"},2191:function(e,t,s){e.exports=s.p+"img/plag_warning1.gif"},5861:function(e,t,s){e.exports=s.p+"img/plag_warning2.gif"}}]);
1
+ "use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[901],{460:function(e,t,s){s.d(t,{Z:function(){return c}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-16 px-32"},[t("div",{staticClass:"md:px-0 lg:px-0 text-center"},[t("div",{staticClass:"text-gray-500"},[t("div",{staticClass:"pt-2",domProps:{innerHTML:e._s(e.errorMsg)}})]),t("div",{staticClass:"pt-8"},[t("a",{attrs:{href:e.helpmateLink,target:"_blank"}},[t("img",{staticClass:"mx-auto",attrs:{src:s(3126)}})])])])])])},a=[],i=s(7203),n=(0,i.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,i.ref)(""),s=(0,i.ref)(localStorage.getItem("helpmateLink"));return(0,i.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:s}}}),o=n,l=s(1001),u=(0,l.Z)(o,r,a,!1,null,null,null),c=u.exports},2148:function(e,t,s){s.d(t,{Z:function(){return v}});var r=function(){var e=this,t=e._self._c;return e.isVisible?t("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[t("transition",{attrs:{name:"modal-fade"}},[t("div",{staticClass:"modal-overlay",on:{click:function(t){return e.$emit("close-modal")}}},[t("div",{staticClass:"modal relative",on:{click:function(e){e.stopPropagation()}}},[e.closeVisible?t("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(t){return e.$emit("closeModal")}}},[t("x-icon",{attrs:{size:"1.5x"}})],1):e._e(),t("div",{staticClass:"bg-white"},[t("div",[e.popUpImage1||e.popUpImage2?t("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[t("div",[t("strong",[e._v("Do you want to mark the submission Plagiarised?")])])]):e._e(),e.popUpImage1?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:s(2191)}})]):e._e(),e.popUpImage2?t("div",{staticClass:"w-full"},[t("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:s(5861)}})]):e._e()]),t("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:e._s(e.message)}}),t("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[e.reReviewButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:function(t){return e.$emit("closeModal")}}},[e._v(" No ")]):e._e(),e.linkButton?t("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(t){return e.navigate(e.link)}}},[e._v(e._s(e.linkButton))]):e._e()])])])])])],1):e._e()},a=[],i=(s(7658),s(4856)),n=s(442),o={components:{XIcon:i.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const e=async e=>{n.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},l=o,u=s(1001),c=(0,u.Z)(l,r,a,!1,null,null,null),v=c.exports},8235:function(e,t,s){s.d(t,{Z:function(){return c}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mt-4 lg:px-24 md:px-24 px-4 flex justify-between items-center w-full"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[e.learning_content_display_name?t("span",[e._v(" "+e._s(e.learning_content_display_name)+" ")]):t("span",["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill))])]),t("div",{staticClass:"my-2"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},a=[],i=s(7203),n=(0,i.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 e=(0,i.ref)("");return(0,i.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),o=n,l=s(1001),u=(0,l.Z)(o,r,a,!1,null,null,null),c=u.exports},8269:function(e,t,s){s.r(t),s.d(t,{default:function(){return _}});var r=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"containers mx-auto allBoxImg mt-10"},[e.renderReady?[e.showErrorMessage?e._e():[e.learnerRereviewDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.learnerRereviewDetails.program,proficiency:e.learnerRereviewDetails.proficiency,skill:e.learnerRereviewDetails.skill,learning_content_display_name:e.learnerRereviewDetails.learning_content_display_name}}),t("Generic",{attrs:{"is-visible":e.modalVisible,message:e.modalMessage}}),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3"},[t("div",{staticClass:"block mt-4"},[t("div",{staticClass:"text-gray-600"},[t("div",{staticClass:"p-4 mb-3 rounded-lg shadow border border-gray-200"},[e._m(0),e.learnerRereviewDetails.request_for_re_review?e._e():t("div",[t("p",{staticClass:"pt-4"},[e._v("Requesting a re-review doesn't guarantee that your submission will pass. You'll receive an email once the review is complete (allow up to 2 weeks).")]),e._m(1),t("p",{staticClass:"pt-6"},[t("label",[t("input",{attrs:{type:"checkbox"},on:{change:function(t){return e.setRereviewButtonEnable(t)}}}),e._v(" By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.")])]),e._m(2)]),e.learnerRereviewDetails.request_for_re_review?t("div",[t("p",{staticClass:"pt-4"},[e._v("Your request for re-review has been accepted and is currently in progress.")]),e._m(3)]):e._e()])])]),t("div",{staticClass:"block text-center pt-6"},[t("div",{staticClass:"mb-4 text-center"},[e.learnerRereviewDetails.request_for_re_review?e._e():t("button",{staticClass:"ml-2 mr-2 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",class:e.buttonDisable?"bg-gray-500 cursor-not-allowed":"bg-background-secondary",attrs:{disabled:e.buttonDisable},on:{click:e.requestForRereviewSubmit}},[e._v(" Re-review ")]),e.learnerRereviewDetails.request_for_re_review?t("button",{staticClass:"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:e.checkRereviewStatus}},[e._v(" Check Status ")]):e._e()])])])],1)]):e._e()],e.showErrorMessage?t("ErrorMessage",{attrs:{"error-message":e.errorResponse}}):e._e()]:e._e(),e.renderReady?e._e():t("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[t("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:s(9756),alt:"Loader Gif"}}),t("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[e._v("Loading...")])])],2)},a=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",[t("strong",[e._v("Re-Review Request")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"pt-4"},[t("p",[t("strong",[e._v("Key Limitations: ")])]),t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[e._v("Each submission is eligible for only one re-review.")]),t("li",[e._v("You cannot start a new Solidify journey for the same skill while your re-review is pending.")]),t("li",[e._v("If our reviewers determine the original assessment was correct, your results will remain unchanged.")])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"mt-2"},[e._v("Click on "),t("strong",[e._v('"Re-review"')]),e._v(" to continue.")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("Click "),t("strong",[e._v("'Check Status'")]),e._v(" to track the status of the re-review.")])}],i=s(7203),n=s(2148),o=s(306),l=s(460),u=s(8235),c=s(7129);const v=async e=>{const t=await c.Z.get(`/learnerRereviewStatus/${e}`);return t},p=async(e,t)=>{const s=await c.Z.post("/learnerRereview",{learner_task_id:e,requestFromAdmin:t});return s};var d=(0,i.defineComponent)({name:"LearnerRereview",components:{Generic:n.Z,ErrorMessage:l.Z,Greetings:u.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(e.query.learner_task_id),s=(0,i.ref)(),r=(0,i.ref)(!1),a=(0,i.ref)(),n=(0,i.ref)(!0),l=(0,i.ref)(!1),u=(0,i.ref)(),c=(0,i.ref)(!1),d=(0,i.ref)(localStorage.getItem("helpmateLink")),f=e=>{const t=e.target.checked;!0===t?(n.value=!1,console.log(n.value)):(n.value=!0,console.log(n.value))},g=async()=>{try{if(l.value=!1,s.value.is_plagiarised&&s.value.plagiarism_reevaluation_requested)return r.value=!0,void(a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now");const e=await p(t.value,!1);s.value.request_for_re_review=e.data?.request_for_re_review,s.value.re_review_status=e.data?.re_review_status,l.value=!0,r.value=!0,a.value="<strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete."}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,o.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in requesting for review, please contact helpmate.";c.value=!0}},m=async()=>{try{l.value=!1;const e=await v(t.value);return s.value=e.data,l.value=!0,console.log(`after check status ${JSON.stringify(s)}`),void("Re-review Accepted Proxy Assigned"===s.value.re_review_status||"Re-review Accepted Proxy Unavailable"===s.value.re_review_status?(r.value=!0,a.value="<br><strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete."):"Complete"===s.value.re_review_status&&(r.value=!0,a.value="<br><br>Great news! Your re-review is complete — check your email for details."))}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,o.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue in fetching learner re-review status, please contact helpmate.";c.value=!0}};return(0,i.onBeforeMount)((async()=>{try{l.value=!1;const e=await v(t.value);s.value=e.data,l.value=!0,console.log(`learnerRereviewDetails.value ${JSON.stringify(s.value)}`),s.value.is_plagiarised&&s.value.plagiarism_reevaluation_requested&&(r.value=!0,a.value="Learner already requested for re-evaluation for plagiarism so cannot request for re-review now")}catch(e){if(console.log("inside catch error"),console.log(JSON.stringify(e)),l.value=!0,o.Z.isAxiosError(e)){const t=e;console.log(t.response?.data),u.value=t.response?.data}else u.value="There is an issue to fetch existing record, please contact helpmate.";c.value=!0}})),{modalVisible:r,modalMessage:a,buttonDisable:n,learnerRereviewDetails:s,setRereviewButtonEnable:f,requestForRereviewSubmit:g,checkRereviewStatus:m,renderReady:l,helpmateLink:d,showErrorMessage:c}}}),f=d,g=s(1001),m=(0,g.Z)(f,r,a,!1,null,"2176a016",null),_=m.exports},3126:function(e,t,s){e.exports=s.p+"img/support.svg"},2191:function(e,t,s){e.exports=s.p+"img/plag_warning1.gif"},5861:function(e,t,s){e.exports=s.p+"img/plag_warning2.gif"}}]);
2
2
  //# sourceMappingURL=solidify.umd.min.LearnerRereview.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"solidify.umd.min.LearnerRereview.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,I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GAQP,GALAN,QAAQC,IAAI,sBACZD,QAAQC,IAAIM,KAAKC,UAAUF,IAC3BlC,EAAYzC,OAAQ,EAGhB8E,EAAAA,EAAAA,aAAmBH,GAAQ,CAC7B,MAAMI,EAAMJ,EACZN,QAAQC,IAAIS,EAAIC,UAAUP,MAC1BpB,EAAcrD,MAAQ+E,EAAIC,UAAUP,I,MAGpCpB,EAAcrD,MAAQ,uEAExB0C,EAAiB1C,OAAQ,C,KAGtB,CACL4C,eACAC,eACAK,gBACAP,yBACAK,0BACAG,2BACAC,sBACAX,cACAzD,eACA0D,mBAEJ,IC1JoS,I,UCOlSzC,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O","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/GenericModal.vue","webpack://solidify/src/components/global/GenericModal.vue","webpack://solidify/./src/components/global/GenericModal.vue?8dbf","webpack://solidify/./src/components/global/GenericModal.vue?0027","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_Rereview.vue","webpack://solidify/./src/utils/re_review_service.ts","webpack://solidify/./src/views/Learner_Rereview.vue?0630","webpack://solidify/./src/views/Learner_Rereview.vue?08a1","webpack://solidify/./src/views/Learner_Rereview.vue?2523"],"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;return (_vm.isVisible)?_c('main',{staticClass:\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\"},[_c('transition',{attrs:{\"name\":\"modal-fade\"}},[_c('div',{staticClass:\"modal-overlay\",on:{\"click\":function($event){return _vm.$emit('close-modal')}}},[_c('div',{staticClass:\"modal relative\",on:{\"click\":function($event){$event.stopPropagation();}}},[(_vm.closeVisible)?_c('div',{staticClass:\"absolute right-0 pr-4 top-5 cursor-pointer\",on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_c('x-icon',{attrs:{\"size\":\"1.5x\"}})],1):_vm._e(),_c('div',{staticClass:\"bg-white\"},[_c('div',[(_vm.popUpImage1 || _vm.popUpImage2)?_c('div',{staticClass:\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\"},[_c('div',[_c('strong',[_vm._v(\"Do you want to mark the submission Plagiarised?\")])])]):_vm._e(),(_vm.popUpImage1)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-3/12\",attrs:{\"src\":require(\"@/assets/images/plag_warning1.gif\")}})]):_vm._e(),(_vm.popUpImage2)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-2/5\",attrs:{\"src\":require(\"@/assets/images/plag_warning2.gif\")}})]):_vm._e()]),_c('div',{staticClass:\"text-gray-500 px-4\",domProps:{\"innerHTML\":_vm._s(_vm.message)}}),_c('div',{staticClass:\"pb-4 pt-4 bg-white flex flex-col items-center\"},[(_vm.reReviewButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.applyReview(_vm.reReviewButtonLink)}}},[_vm._v(\" Apply Re-Review \")]):_vm._e(),(_vm.archiveButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",on:{\"click\":function($event){return _vm.$emit('Archive')}}},[_vm._v(\"Yes\")]):_vm._e(),(_vm.closeVisible)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",staticStyle:{\"background-color\":\"grey\"},on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_vm._v(\" No \")]):_vm._e(),(_vm.linkButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.navigate(_vm.link)}}},[_vm._v(_vm._s(_vm.linkButton))]):_vm._e()])])])])])],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <main v-if=\"isVisible\" class=\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\">\n <transition name=\"modal-fade\">\n <div class=\"modal-overlay\" @click=\"$emit('close-modal')\">\n <div class=\"modal relative\" @click.stop>\n <!-- <h6>Saved!</h6> -->\n <div @click=\"$emit('closeModal')\" class=\"absolute right-0 pr-4 top-5 cursor-pointer\" v-if=\"closeVisible\">\n <x-icon size=\"1.5x\"></x-icon>\n </div>\n <div class=\"bg-white\">\n <!-- adding gif in Plagiarism warning from Peer Review page-->\n\n <div>\n <div v-if=\"popUpImage1 || popUpImage2\" class=\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\">\n <div><strong>Do you want to mark the submission Plagiarised?</strong></div>\n </div>\n <div v-if=\"popUpImage1\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning1.gif\" class=\"block px-4 pb-2 mx-auto w-3/12\" />\n </div>\n <div v-if=\"popUpImage2\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning2.gif\" class=\"block px-4 pb-2 mx-auto w-2/5\" />\n </div>\n </div>\n\n <div class=\"text-gray-500 px-4\" v-html=\"message\"></div>\n <div class=\"pb-4 pt-4 bg-white flex flex-col items-center\">\n <button @click=\"applyReview(reReviewButtonLink)\" v-if=\"reReviewButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">\n Apply Re-Review\n </button>\n\n <button @click=\"$emit('Archive')\" v-if=\"archiveButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\">Yes</button>\n <button\n @click=\"$emit('closeModal')\"\n v-if=\"closeVisible\"\n style=\"background-color: grey\"\n class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\"\n >\n No\n </button>\n <button @click=\"navigate(link)\" v-if=\"linkButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">{{ linkButton }}</button>\n <!-- <button class=\"py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">Helpmate</button> -->\n </div>\n </div>\n </div>\n </div>\n </transition>\n </main>\n</template>\n\n<script>\nimport { XIcon } from 'vue-feather-icons';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default {\n components: { XIcon },\n name: 'Generic',\n props: {\n isVisible: {\n type: Boolean,\n default: false,\n required: true,\n },\n message: {\n type: String,\n default: '',\n required: true,\n },\n closeVisible: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n archiveButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButtonLink: {\n type: String,\n default: '',\n required: false,\n },\n link: {\n type: String,\n default: '',\n required: false,\n },\n linkButton: {\n type: String,\n default: '',\n required: false,\n },\n popUpImage1: {\n type: Boolean,\n default: false,\n required: false,\n },\n popUpImage2: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n setup() {\n const applyReview = async (reReviewButtonLink) => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: reReviewButtonLink } });\n };\n const navigate = (link) => {\n window.location.href = link;\n };\n return { applyReview, navigate };\n },\n};\n</script>\n\n<style lang=\"postcss\">\n.modal-overlay {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n justify-content: center;\n background-color: #000000da;\n}\n.modal {\n text-align: center;\n background-color: white;\n height: 200px;\n width: 600px;\n margin-top: 10%;\n padding: 40px 0;\n /* border-radius: 20px; */\n}\np {\n /* font-weight: 500; */\n font-size: 15px;\n margin: 20px 0;\n}\n/* button {\n background-color: #ac003e;\n width: 150px;\n height: 40px;\n color: white;\n font-size: 14px;\n border-radius: 16px;\n margin-top: 50px;\n} */\n.modal-fade-enter,\n.modal-fade-leave-to {\n opacity: 0;\n}\n.modal-fade-enter-active,\n.modal-fade-leave-active {\n transition: opacity 0.5s ease;\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericModal.vue?vue&type=template&id=01921342&\"\nimport script from \"./GenericModal.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenericModal.vue?vue&type=style&index=0&id=01921342&prod&lang=postcss&\"\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:\"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=4d2a7f7e&\"\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)?[(_vm.learnerRereviewDetails)?_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.learnerRereviewDetails.program,\"proficiency\":_vm.learnerRereviewDetails.proficiency,\"skill\":_vm.learnerRereviewDetails.skill,\"learning_content_display_name\":_vm.learnerRereviewDetails.learning_content_display_name}}),_c('Generic',{attrs:{\"is-visible\":_vm.modalVisible,\"message\":_vm.modalMessage}}),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3\"},[_c('div',{staticClass:\"block mt-4\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('div',{staticClass:\"p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_vm._m(0),(!_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',{staticClass:\"pt-4\"},[_vm._v(\"Requesting a re-review doesn't guarantee that your submission will pass. You'll receive an email once the review is complete (allow up to 2 weeks).\")]),_vm._m(1),_c('p',{staticClass:\"pt-6\"},[_c('label',[_c('input',{attrs:{\"type\":\"checkbox\"},on:{\"change\":function($event){return _vm.setRereviewButtonEnable($event)}}}),_vm._v(\" By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.\")])]),_vm._m(2)]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',{staticClass:\"pt-4\"},[_vm._v(\"Your request for re-review has been accepted and is currently in progress.\")]),_vm._m(3)]):_vm._e()])])]),_c('div',{staticClass:\"block text-center pt-6\"},[_c('div',{staticClass:\"mb-4 text-center\"},[(!_vm.learnerRereviewDetails.request_for_re_review)?_c('button',{staticClass:\"ml-2 mr-2 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\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":_vm.requestForRereviewSubmit}},[_vm._v(\" Re-review \")]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('button',{staticClass:\"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":_vm.checkRereviewStatus}},[_vm._v(\" Check Status \")]):_vm._e()])])])],1)]):_vm._e()]:_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',[_c('strong',[_vm._v(\"Re-Review Request\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"pt-4\"},[_c('p',[_c('strong',[_vm._v(\"Key Limitations: \")])]),_c('ul',{staticClass:\"mt-2 list-disc pl-8\"},[_c('li',[_vm._v(\"Each submission is eligible for only one re-review.\")]),_c('li',[_vm._v(\"You cannot start a new Solidify journey for the same skill while your re-review is pending.\")]),_c('li',[_vm._v(\"If our reviewers determine the original assessment was correct, your results will remain unchanged.\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"mt-2\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"\\\"Re-review\\\"\")]),_vm._v(\" to continue.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click \"),_c('strong',[_vm._v(\"'Check Status'\")]),_vm._v(\" to track the status of the re-review.\")])\n}]\n\nexport { render, staticRenderFns }","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport $http from '../plugins/axios';\n\nconst fetchLearnerStatusForReview = async (learnerTaskId: string) => {\n // let reReviewStatusResponse: any;\n // try {\n // await $http.get(`/learnerRereviewStatus/${learnerTaskId}`).then((response) => {\n // reReviewStatusResponse = response.data;\n // return reReviewStatusResponse;\n // });\n // return reReviewStatusResponse;\n // } catch (error) {\n // return error;\n // }\n const reReviewStatusResponse = await $http.get(`/learnerRereviewStatus/${learnerTaskId}`);\n return reReviewStatusResponse;\n};\n\nconst requestForRereview = async (learnerTaskId: string, requestFromAdmin: boolean) => {\n // try {\n // let res: any;\n // await $http.post('/learnerRereview/', { learner_task_id: learnerTaskId, requestFromAdmin }).then((response) => {\n // res = response.data;\n // return res;\n // });\n // return res;\n // } catch (error) {\n // return error;\n // }\n const res = await $http.post('/learnerRereview', { learner_task_id: learnerTaskId, requestFromAdmin });\n return res;\n};\nexport { fetchLearnerStatusForReview, requestForRereview };\n","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n// import router from '@/router';\nimport Generic from '@/components/global/GenericModal.vue';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\nimport { fetchLearnerStatusForReview, requestForRereview } from '../utils/re_review_service';\n\nexport default defineComponent({\n name: 'LearnerRereview',\n components: { Generic, ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const learnerTaskId = ref(props.query.learner_task_id);\n const learnerRereviewDetails = ref();\n const modalVisible = ref(false);\n const modalMessage = ref();\n const buttonDisable = ref(true);\n const renderReady = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setRereviewButtonEnable = (e: any) => {\n const cb = e.target.checked;\n if (cb === true) {\n buttonDisable.value = false;\n console.log(buttonDisable.value);\n } else {\n buttonDisable.value = true;\n console.log(buttonDisable.value);\n }\n };\n\n const requestForRereviewSubmit = async () => {\n try {\n renderReady.value = false;\n if (learnerRereviewDetails.value.is_plagiarised && learnerRereviewDetails.value.plagiarism_reevaluation_requested) {\n modalVisible.value = true;\n modalMessage.value = 'Learner already requested for re-evaluation for plagiarism so cannot request for re-review now';\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await requestForRereview(learnerTaskId.value, false);\n learnerRereviewDetails.value.request_for_re_review = res.data?.request_for_re_review;\n learnerRereviewDetails.value.re_review_status = res.data?.re_review_status;\n renderReady.value = true;\n modalVisible.value = true;\n modalMessage.value = '<strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete.';\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = `There is an issue in requesting for review ${error}`;\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in requesting for review, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(error);\n }\n };\n const checkRereviewStatus = async () => {\n try {\n renderReady.value = false;\n const res = await fetchLearnerStatusForReview(learnerTaskId.value);\n learnerRereviewDetails.value = res.data;\n renderReady.value = true;\n console.log(`after check status ${JSON.stringify(learnerRereviewDetails)}`);\n if (learnerRereviewDetails.value.re_review_status === 'Re-review Accepted Proxy Assigned' || learnerRereviewDetails.value.re_review_status === 'Re-review Accepted Proxy Unavailable') {\n modalVisible.value = true;\n modalMessage.value = '<br><strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete.';\n } else if (learnerRereviewDetails.value.re_review_status === 'Complete') {\n modalVisible.value = true;\n modalMessage.value = '<br><br>Great news! Your re-review is complete — check your email for details.';\n }\n return;\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = `There is an issue in fetching learner re-review status ${error}`;\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in fetching learner re-review status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n\n onBeforeMount(async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await fetchLearnerStatusForReview(learnerTaskId.value);\n learnerRereviewDetails.value = res.data;\n renderReady.value = true;\n console.log(`learnerRereviewDetails.value ${JSON.stringify(learnerRereviewDetails.value)}`);\n if (learnerRereviewDetails.value.is_plagiarised && learnerRereviewDetails.value.plagiarism_reevaluation_requested) {\n modalVisible.value = true;\n modalMessage.value = 'Learner already requested for re-evaluation for plagiarism so cannot request for re-review now';\n }\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = 'There is an issue to fetch existing record';\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch existing record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n return {\n modalVisible,\n modalMessage,\n buttonDisable,\n learnerRereviewDetails,\n setRereviewButtonEnable,\n requestForRereviewSubmit,\n checkRereviewStatus,\n renderReady,\n helpmateLink,\n showErrorMessage,\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_Rereview.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_Rereview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Rereview.vue?vue&type=template&id=2176a016&scoped=true&\"\nimport script from \"./Learner_Rereview.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Rereview.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 \"2176a016\",\n null\n \n)\n\nexport default component.exports"],"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","isVisible","on","$event","$emit","stopPropagation","closeVisible","_e","popUpImage1","popUpImage2","_v","message","reReviewButton","applyReview","reReviewButtonLink","archiveButton","staticStyle","linkButton","navigate","link","components","XIcon","Boolean","required","router","path","query","learner_task_id","window","location","href","learning_content_display_name","program","proficiency","skill","username","item","split","reverse","join","renderReady","showErrorMessage","learnerRereviewDetails","modalVisible","modalMessage","_m","request_for_re_review","setRereviewButtonEnable","class","buttonDisable","requestForRereviewSubmit","checkRereviewStatus","errorResponse","fetchLearnerStatusForReview","reReviewStatusResponse","$http","learnerTaskId","requestForRereview","requestFromAdmin","res","Generic","ErrorMessage","Greetings","Object","e","cb","target","checked","console","log","is_plagiarised","plagiarism_reevaluation_requested","data","re_review_status","error","JSON","stringify","axios","err","response"],"sourceRoot":""}
1
+ {"version":3,"file":"solidify.umd.min.LearnerRereview.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,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,EAAuB3C,MAAMwE,oCAC9E5B,EAAa5C,OAAQ,EACrB6C,EAAa7C,MAAQ,iG,CAEvB,MAAO2E,GAQP,GALAN,QAAQC,IAAI,sBACZD,QAAQC,IAAIM,KAAKC,UAAUF,IAC3BlC,EAAYzC,OAAQ,EAGhB8E,EAAAA,EAAAA,aAAmBH,GAAQ,CAC7B,MAAMI,EAAMJ,EACZN,QAAQC,IAAIS,EAAIC,UAAUP,MAC1BpB,EAAcrD,MAAQ+E,EAAIC,UAAUP,I,MAGpCpB,EAAcrD,MAAQ,uEAExB0C,EAAiB1C,OAAQ,C,KAGtB,CACL4C,eACAC,eACAK,gBACAP,yBACAK,0BACAG,2BACAC,sBACAX,cACAzD,eACA0D,mBAEJ,IC1JoS,I,UCOlSzC,GAAY,OACd,EACA5B,EACAa,GACA,EACA,KACA,WACA,MAIF,EAAee,EAAiB,O","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/GenericModal.vue","webpack://solidify/src/components/global/GenericModal.vue","webpack://solidify/./src/components/global/GenericModal.vue?8dbf","webpack://solidify/./src/components/global/GenericModal.vue?0027","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_Rereview.vue","webpack://solidify/./src/utils/re_review_service.ts","webpack://solidify/./src/views/Learner_Rereview.vue?0630","webpack://solidify/./src/views/Learner_Rereview.vue?08a1","webpack://solidify/./src/views/Learner_Rereview.vue?2523"],"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;return (_vm.isVisible)?_c('main',{staticClass:\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\"},[_c('transition',{attrs:{\"name\":\"modal-fade\"}},[_c('div',{staticClass:\"modal-overlay\",on:{\"click\":function($event){return _vm.$emit('close-modal')}}},[_c('div',{staticClass:\"modal relative\",on:{\"click\":function($event){$event.stopPropagation();}}},[(_vm.closeVisible)?_c('div',{staticClass:\"absolute right-0 pr-4 top-5 cursor-pointer\",on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_c('x-icon',{attrs:{\"size\":\"1.5x\"}})],1):_vm._e(),_c('div',{staticClass:\"bg-white\"},[_c('div',[(_vm.popUpImage1 || _vm.popUpImage2)?_c('div',{staticClass:\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\"},[_c('div',[_c('strong',[_vm._v(\"Do you want to mark the submission Plagiarised?\")])])]):_vm._e(),(_vm.popUpImage1)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-3/12\",attrs:{\"src\":require(\"@/assets/images/plag_warning1.gif\")}})]):_vm._e(),(_vm.popUpImage2)?_c('div',{staticClass:\"w-full\"},[_c('img',{staticClass:\"block px-4 pb-2 mx-auto w-2/5\",attrs:{\"src\":require(\"@/assets/images/plag_warning2.gif\")}})]):_vm._e()]),_c('div',{staticClass:\"text-gray-500 px-4\",domProps:{\"innerHTML\":_vm._s(_vm.message)}}),_c('div',{staticClass:\"pb-4 pt-4 bg-white flex flex-col items-center\"},[(_vm.reReviewButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.applyReview(_vm.reReviewButtonLink)}}},[_vm._v(\" Apply Re-Review \")]):_vm._e(),(_vm.archiveButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\",on:{\"click\":function($event){return _vm.$emit('Archive')}}},[_vm._v(\"Yes\")]):_vm._e(),(_vm.closeVisible)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",staticStyle:{\"background-color\":\"grey\"},on:{\"click\":function($event){return _vm.$emit('closeModal')}}},[_vm._v(\" No \")]):_vm._e(),(_vm.linkButton)?_c('button',{staticClass:\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":function($event){return _vm.navigate(_vm.link)}}},[_vm._v(_vm._s(_vm.linkButton))]):_vm._e()])])])])])],1):_vm._e()\n}\nvar staticRenderFns = []\n\nexport { render, staticRenderFns }","<template>\n <main v-if=\"isVisible\" class=\"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit\">\n <transition name=\"modal-fade\">\n <div class=\"modal-overlay\" @click=\"$emit('close-modal')\">\n <div class=\"modal relative\" @click.stop>\n <!-- <h6>Saved!</h6> -->\n <div @click=\"$emit('closeModal')\" class=\"absolute right-0 pr-4 top-5 cursor-pointer\" v-if=\"closeVisible\">\n <x-icon size=\"1.5x\"></x-icon>\n </div>\n <div class=\"bg-white\">\n <!-- adding gif in Plagiarism warning from Peer Review page-->\n\n <div>\n <div v-if=\"popUpImage1 || popUpImage2\" class=\"font-bold text-center mb-3 flex justify-center text-base sm:text-xl\">\n <div><strong>Do you want to mark the submission Plagiarised?</strong></div>\n </div>\n <div v-if=\"popUpImage1\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning1.gif\" class=\"block px-4 pb-2 mx-auto w-3/12\" />\n </div>\n <div v-if=\"popUpImage2\" class=\"w-full\">\n <img src=\"@/assets/images/plag_warning2.gif\" class=\"block px-4 pb-2 mx-auto w-2/5\" />\n </div>\n </div>\n\n <div class=\"text-gray-500 px-4\" v-html=\"message\"></div>\n <div class=\"pb-4 pt-4 bg-white flex flex-col items-center\">\n <button @click=\"applyReview(reReviewButtonLink)\" v-if=\"reReviewButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">\n Apply Re-Review\n </button>\n\n <button @click=\"$emit('Archive')\" v-if=\"archiveButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2\">Yes</button>\n <button\n @click=\"$emit('closeModal')\"\n v-if=\"closeVisible\"\n style=\"background-color: grey\"\n class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\"\n >\n No\n </button>\n <button @click=\"navigate(link)\" v-if=\"linkButton\" class=\"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">{{ linkButton }}</button>\n <!-- <button class=\"py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-700 focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\">Helpmate</button> -->\n </div>\n </div>\n </div>\n </div>\n </transition>\n </main>\n</template>\n\n<script>\nimport { XIcon } from 'vue-feather-icons';\n// eslint-disable-next-line\nimport router from '@/router';\n\nexport default {\n components: { XIcon },\n name: 'Generic',\n props: {\n isVisible: {\n type: Boolean,\n default: false,\n required: true,\n },\n message: {\n type: String,\n default: '',\n required: true,\n },\n closeVisible: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n archiveButton: {\n type: Boolean,\n default: false,\n required: false,\n },\n reReviewButtonLink: {\n type: String,\n default: '',\n required: false,\n },\n link: {\n type: String,\n default: '',\n required: false,\n },\n linkButton: {\n type: String,\n default: '',\n required: false,\n },\n popUpImage1: {\n type: Boolean,\n default: false,\n required: false,\n },\n popUpImage2: {\n type: Boolean,\n default: false,\n required: false,\n },\n },\n // eslint-disable-next-line @typescript-eslint/explicit-module-boundary-types\n setup() {\n const applyReview = async (reReviewButtonLink) => {\n router.push({ path: '/solidify/rereview', query: { learner_task_id: reReviewButtonLink } });\n };\n const navigate = (link) => {\n window.location.href = link;\n };\n return { applyReview, navigate };\n },\n};\n</script>\n\n<style lang=\"postcss\">\n.modal-overlay {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n display: flex;\n justify-content: center;\n background-color: #000000da;\n}\n.modal {\n text-align: center;\n background-color: white;\n height: 200px;\n width: 600px;\n margin-top: 10%;\n padding: 40px 0;\n /* border-radius: 20px; */\n}\np {\n /* font-weight: 500; */\n font-size: 15px;\n margin: 20px 0;\n}\n/* button {\n background-color: #ac003e;\n width: 150px;\n height: 40px;\n color: white;\n font-size: 14px;\n border-radius: 16px;\n margin-top: 50px;\n} */\n.modal-fade-enter,\n.modal-fade-leave-to {\n opacity: 0;\n}\n.modal-fade-enter-active,\n.modal-fade-leave-active {\n transition: opacity 0.5s ease;\n}\n</style>\n","import mod from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/thread-loader/dist/cjs.js!../../../node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!../../../node_modules/@vue/vue-loader-v15/lib/index.js??vue-loader-options!./GenericModal.vue?vue&type=script&lang=js&\"","import { render, staticRenderFns } from \"./GenericModal.vue?vue&type=template&id=01921342&\"\nimport script from \"./GenericModal.vue?vue&type=script&lang=js&\"\nexport * from \"./GenericModal.vue?vue&type=script&lang=js&\"\nimport style0 from \"./GenericModal.vue?vue&type=style&index=0&id=01921342&prod&lang=postcss&\"\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)?[(_vm.learnerRereviewDetails)?_c('div',{staticClass:\"flex\"},[_c('div',{staticClass:\"w-full pt-12\"},[_c('Greetings',{attrs:{\"program\":_vm.learnerRereviewDetails.program,\"proficiency\":_vm.learnerRereviewDetails.proficiency,\"skill\":_vm.learnerRereviewDetails.skill,\"learning_content_display_name\":_vm.learnerRereviewDetails.learning_content_display_name}}),_c('Generic',{attrs:{\"is-visible\":_vm.modalVisible,\"message\":_vm.modalMessage}}),_c('div',{staticClass:\"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3\"},[_c('div',{staticClass:\"block mt-4\"},[_c('div',{staticClass:\"text-gray-600\"},[_c('div',{staticClass:\"p-4 mb-3 rounded-lg shadow border border-gray-200\"},[_vm._m(0),(!_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',{staticClass:\"pt-4\"},[_vm._v(\"Requesting a re-review doesn't guarantee that your submission will pass. You'll receive an email once the review is complete (allow up to 2 weeks).\")]),_vm._m(1),_c('p',{staticClass:\"pt-6\"},[_c('label',[_c('input',{attrs:{\"type\":\"checkbox\"},on:{\"change\":function($event){return _vm.setRereviewButtonEnable($event)}}}),_vm._v(\" By proceeding, you confirm that you've read and agree to abide by the Plagiarism statement.\")])]),_vm._m(2)]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('div',[_c('p',{staticClass:\"pt-4\"},[_vm._v(\"Your request for re-review has been accepted and is currently in progress.\")]),_vm._m(3)]):_vm._e()])])]),_c('div',{staticClass:\"block text-center pt-6\"},[_c('div',{staticClass:\"mb-4 text-center\"},[(!_vm.learnerRereviewDetails.request_for_re_review)?_c('button',{staticClass:\"ml-2 mr-2 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\",class:_vm.buttonDisable ? 'bg-gray-500 cursor-not-allowed' : 'bg-background-secondary',attrs:{\"disabled\":_vm.buttonDisable},on:{\"click\":_vm.requestForRereviewSubmit}},[_vm._v(\" Re-review \")]):_vm._e(),(_vm.learnerRereviewDetails.request_for_re_review)?_c('button',{staticClass:\"ml-2 mr-2 inline-block mt-2 py-2 px-4 bg-background-secondary text-white shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75\",on:{\"click\":_vm.checkRereviewStatus}},[_vm._v(\" Check Status \")]):_vm._e()])])])],1)]):_vm._e()]:_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',[_c('strong',[_vm._v(\"Re-Review Request\")])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('div',{staticClass:\"pt-4\"},[_c('p',[_c('strong',[_vm._v(\"Key Limitations: \")])]),_c('ul',{staticClass:\"mt-2 list-disc pl-8\"},[_c('li',[_vm._v(\"Each submission is eligible for only one re-review.\")]),_c('li',[_vm._v(\"You cannot start a new Solidify journey for the same skill while your re-review is pending.\")]),_c('li',[_vm._v(\"If our reviewers determine the original assessment was correct, your results will remain unchanged.\")])])])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"mt-2\"},[_vm._v(\"Click on \"),_c('strong',[_vm._v(\"\\\"Re-review\\\"\")]),_vm._v(\" to continue.\")])\n},function (){var _vm=this,_c=_vm._self._c,_setup=_vm._self._setupProxy;return _c('p',{staticClass:\"pt-2\"},[_vm._v(\"Click \"),_c('strong',[_vm._v(\"'Check Status'\")]),_vm._v(\" to track the status of the re-review.\")])\n}]\n\nexport { render, staticRenderFns }","/* eslint-disable @typescript-eslint/no-explicit-any */\n/* eslint-disable @typescript-eslint/explicit-module-boundary-types */\nimport $http from '../plugins/axios';\n\nconst fetchLearnerStatusForReview = async (learnerTaskId: string) => {\n // let reReviewStatusResponse: any;\n // try {\n // await $http.get(`/learnerRereviewStatus/${learnerTaskId}`).then((response) => {\n // reReviewStatusResponse = response.data;\n // return reReviewStatusResponse;\n // });\n // return reReviewStatusResponse;\n // } catch (error) {\n // return error;\n // }\n const reReviewStatusResponse = await $http.get(`/learnerRereviewStatus/${learnerTaskId}`);\n return reReviewStatusResponse;\n};\n\nconst requestForRereview = async (learnerTaskId: string, requestFromAdmin: boolean) => {\n // try {\n // let res: any;\n // await $http.post('/learnerRereview/', { learner_task_id: learnerTaskId, requestFromAdmin }).then((response) => {\n // res = response.data;\n // return res;\n // });\n // return res;\n // } catch (error) {\n // return error;\n // }\n const res = await $http.post('/learnerRereview', { learner_task_id: learnerTaskId, requestFromAdmin });\n return res;\n};\nexport { fetchLearnerStatusForReview, requestForRereview };\n","\nimport { defineComponent, onBeforeMount, ref } from 'vue';\n// import router from '@/router';\nimport Generic from '@/components/global/GenericModal.vue';\nimport axios, { AxiosError } from 'axios';\nimport ErrorMessage from '@/components/global/ErrorMessage.vue';\nimport Greetings from '@/components/global/Greetings.vue';\nimport { fetchLearnerStatusForReview, requestForRereview } from '../utils/re_review_service';\n\nexport default defineComponent({\n name: 'LearnerRereview',\n components: { Generic, ErrorMessage, Greetings },\n // props: ['query'],\n props: {\n query: {\n type: Object,\n default: () => ({}),\n },\n },\n setup(props) {\n const learnerTaskId = ref(props.query.learner_task_id);\n const learnerRereviewDetails = ref();\n const modalVisible = ref(false);\n const modalMessage = ref();\n const buttonDisable = ref(true);\n const renderReady = ref(false);\n const errorResponse = ref();\n const showErrorMessage = ref(false);\n const helpmateLink = ref(localStorage.getItem('helpmateLink'));\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const setRereviewButtonEnable = (e: any) => {\n const cb = e.target.checked;\n if (cb === true) {\n buttonDisable.value = false;\n console.log(buttonDisable.value);\n } else {\n buttonDisable.value = true;\n console.log(buttonDisable.value);\n }\n };\n\n const requestForRereviewSubmit = async () => {\n try {\n renderReady.value = false;\n if (learnerRereviewDetails.value.is_plagiarised && learnerRereviewDetails.value.plagiarism_reevaluation_requested) {\n modalVisible.value = true;\n modalMessage.value = 'Learner already requested for re-evaluation for plagiarism so cannot request for re-review now';\n return;\n }\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await requestForRereview(learnerTaskId.value, false);\n learnerRereviewDetails.value.request_for_re_review = res.data?.request_for_re_review;\n learnerRereviewDetails.value.re_review_status = res.data?.re_review_status;\n renderReady.value = true;\n modalVisible.value = true;\n modalMessage.value = '<strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete.';\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = `There is an issue in requesting for review ${error}`;\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in requesting for review, please contact helpmate.';\n }\n showErrorMessage.value = true;\n // console.log(error);\n }\n };\n const checkRereviewStatus = async () => {\n try {\n renderReady.value = false;\n const res = await fetchLearnerStatusForReview(learnerTaskId.value);\n learnerRereviewDetails.value = res.data;\n renderReady.value = true;\n console.log(`after check status ${JSON.stringify(learnerRereviewDetails)}`);\n if (learnerRereviewDetails.value.re_review_status === 'Re-review Accepted Proxy Assigned' || learnerRereviewDetails.value.re_review_status === 'Re-review Accepted Proxy Unavailable') {\n modalVisible.value = true;\n modalMessage.value = '<br><strong>Re-review in Progress</strong>,<br> You’ll receive an email as soon as the review is complete.';\n } else if (learnerRereviewDetails.value.re_review_status === 'Complete') {\n modalVisible.value = true;\n modalMessage.value = '<br><br>Great news! Your re-review is complete — check your email for details.';\n }\n return;\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = `There is an issue in fetching learner re-review status ${error}`;\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue in fetching learner re-review status, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n };\n\n onBeforeMount(async () => {\n try {\n renderReady.value = false;\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n const res: any = await fetchLearnerStatusForReview(learnerTaskId.value);\n learnerRereviewDetails.value = res.data;\n renderReady.value = true;\n console.log(`learnerRereviewDetails.value ${JSON.stringify(learnerRereviewDetails.value)}`);\n if (learnerRereviewDetails.value.is_plagiarised && learnerRereviewDetails.value.plagiarism_reevaluation_requested) {\n modalVisible.value = true;\n modalMessage.value = 'Learner already requested for re-evaluation for plagiarism so cannot request for re-review now';\n }\n } catch (error) {\n // modalVisible.value = true;\n // modalMessage.value = 'There is an issue to fetch existing record';\n console.log('inside catch error');\n console.log(JSON.stringify(error));\n renderReady.value = true;\n // localStorage.setItem('errorMsg', JSON.stringify(error));\n // router.push({ path: '/solidify/Error' });\n if (axios.isAxiosError(error)) {\n const err = error as AxiosError;\n console.log(err.response?.data);\n errorResponse.value = err.response?.data;\n // console.log(`errorMessage.value ${errorMessage.value}`);\n } else {\n errorResponse.value = 'There is an issue to fetch existing record, please contact helpmate.';\n }\n showErrorMessage.value = true;\n }\n });\n return {\n modalVisible,\n modalMessage,\n buttonDisable,\n learnerRereviewDetails,\n setRereviewButtonEnable,\n requestForRereviewSubmit,\n checkRereviewStatus,\n renderReady,\n helpmateLink,\n showErrorMessage,\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_Rereview.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_Rereview.vue?vue&type=script&lang=ts&\"","import { render, staticRenderFns } from \"./Learner_Rereview.vue?vue&type=template&id=2176a016&scoped=true&\"\nimport script from \"./Learner_Rereview.vue?vue&type=script&lang=ts&\"\nexport * from \"./Learner_Rereview.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 \"2176a016\",\n null\n \n)\n\nexport default component.exports"],"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","isVisible","on","$event","$emit","stopPropagation","closeVisible","_e","popUpImage1","popUpImage2","_v","message","reReviewButton","applyReview","reReviewButtonLink","archiveButton","staticStyle","linkButton","navigate","link","components","XIcon","Boolean","required","router","path","query","learner_task_id","window","location","href","learning_content_display_name","program","proficiency","skill","username","item","split","reverse","join","renderReady","showErrorMessage","learnerRereviewDetails","modalVisible","modalMessage","_m","request_for_re_review","setRereviewButtonEnable","class","buttonDisable","requestForRereviewSubmit","checkRereviewStatus","errorResponse","fetchLearnerStatusForReview","reReviewStatusResponse","$http","learnerTaskId","requestForRereview","requestFromAdmin","res","Generic","ErrorMessage","Greetings","Object","e","cb","target","checked","console","log","is_plagiarised","plagiarism_reevaluation_requested","data","re_review_status","error","JSON","stringify","axios","err","response"],"sourceRoot":""}
@@ -1,4 +1,4 @@
1
- (("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[345],{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},2148:function(M,z,b){"use strict";b.d(z,{Z:function(){return a}});var p=function(){var M=this,z=M._self._c;return M.isVisible?z("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[z("transition",{attrs:{name:"modal-fade"}},[z("div",{staticClass:"modal-overlay",on:{click:function(z){return M.$emit("close-modal")}}},[z("div",{staticClass:"modal relative",on:{click:function(M){M.stopPropagation()}}},[M.closeVisible?z("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(z){return M.$emit("closeModal")}}},[z("x-icon",{attrs:{size:"1.5x"}})],1):M._e(),z("div",{staticClass:"bg-white"},[z("div",[M.popUpImage1||M.popUpImage2?z("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[z("div",[z("strong",[M._v("Do you want to mark the submission Plagiarised?")])])]):M._e(),M.popUpImage1?z("div",{staticClass:"w-full"},[z("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:b(2191)}})]):M._e(),M.popUpImage2?z("div",{staticClass:"w-full"},[z("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:b(5861)}})]):M._e()]),z("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:M._s(M.message)}}),z("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[M.reReviewButton?z("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.applyReview(M.reReviewButtonLink)}}},[M._v(" Apply Re-Review ")]):M._e(),M.archiveButton?z("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",on:{click:function(z){return M.$emit("Archive")}}},[M._v("Yes")]):M._e(),M.closeVisible?z("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:function(z){return M.$emit("closeModal")}}},[M._v(" No ")]):M._e(),M.linkButton?z("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.navigate(M.link)}}},[M._v(M._s(M.linkButton))]):M._e()])])])])])],1):M._e()},O=[],A=(b(7658),b(4856)),c=b(442),q={components:{XIcon:A.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const M=async M=>{c.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})},z=M=>{window.location.href=M};return{applyReview:M,navigate:z}}},o=q,W=b(1001),d=(0,W.Z)(o,p,O,!1,null,null,null),a=d.exports},2024: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:"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},5525:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return y}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-auto mt-6 containers allBoxImg"},[M.renderReady?[M.showErrorMessage?M._e():[M.initialData?z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-12"},[z("Greetings",{attrs:{program:M.programId,proficiency:M.initialData.proficiency,skill:M.initialData.skill,learning_content_display_name:M.learning_content_display_name}}),z("div",{staticClass:"flex md:flex mt-4 mx-3 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Home")]),z("li",[M._v("Task")]),z("li",[M._v("Submit")]),"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?z("li",[M._v("Peer Reviews")]):M._e(),z("li",[M._v("Under Review")]),z("li",[M._v("Done!")])])])]),z("Generic",{attrs:{"is-visible":M.modalVisible,message:M.modalMessage,"close-visible":M.modalCloseVisible,"re-review-button":M.modalButtonVisible,"re-review-button-link":M.modalButtonLink},on:{closeModal:M.closeModal}}),z("GenericV2",{attrs:{"cross-visible":!1,"is-visible":M.modalV2Visible},on:{Cancel:M.closeModalV2}},[z("div",{staticClass:"py-3 bg-white"},[z("p",{staticClass:"text-left"},[M._v("Please note Genome does not allow proficiency completion outside of the "),z("strong",[M._v("BITS")]),M._v(" sequence.")]),z("p",{staticClass:"text-left"},[M._v(" You have already started a learning task at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level that is different from your My Profile ("+M._s(M.initialData.proficiency)+") proficiency. ")]),z("br"),z("p",{staticClass:"text-left"},[M._v("Select one option below:")]),z("ol",{staticClass:"list-decimal pl-6 pb-6"},[z("li",{staticClass:"pl-1 text-left"},[M._v(" Select Terminate to end your "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" solidify journey and start at your My Profile ("+M._s(M.initialData.proficiency)+") proficiency ")]),z("li",{staticClass:"pl-1 text-left"},[M._v("Select Continue to proceed with your current solidify journey at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level")])]),z("button",{staticClass:"px-4 py-2 mr-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:M.continueExistingJourney}},[M._v(" Continue ")]),z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:M.terminateExistingJourney}},[M._v("Terminate")])])]),"infinity"===M.programId?z("SolidifyLanding",{attrs:{data:M.initialData}}):M._e(),"infinity"!==M.programId?z("CohortLanding",{attrs:{data:M.initialData}}):M._e(),z("div",{staticClass:"mt-4 mb-4 text-center"},[M.learning_path_id?z("router-link",{staticClass:"px-12 py-2 text-white shadow-md bg-background-secondary inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{learning_path_id:M.learning_path_id,learning_content_id:M.learning_content_id}}}},[z("div",{staticClass:"font-bold"},[M._v("Start!")])]):z("router-link",{staticClass:"px-12 py-2 text-white shadow-md bg-background-secondary inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{skill_id:M.skillId,proficiency_id:M.proficiencyId,program_id:M.programId}}}},[z("div",{staticClass:"font-bold"},[M._v("Start!")])])],1)],1)]):M._e()],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=[],A=(b(7658),b(7203)),c=b(1602),q=b.n(c),o=b(7881),W=b.n(o),d=b(2148),a=b(3484),R=b(2024),n=b(7129);const e=async(M,z)=>{console.log(n.Z);const b=n.Z.post(M,z);return b};var i=b(306),L=b(460),f=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},[M._m(0),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-[#161916] leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4 text-center"},[M._v(" Need help? Watch our quick "),z("u",[z("a",{attrs:{target:"_blank",href:M.videoUrl}},[M._v("onboarding video")])]),M._v(" or click the Helpmate Icon for assistance. ")])])])])},t=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"block mt-4 lg:flex md:flex"},[z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Choose a task that fits your work environment. If you’re in a client-restricted setting, mobile-friendly tasks are available.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit Your Work")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Upload your task via desktop or submit directly in a mobile-friendly format.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review Peer Submissions")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Provide constructive feedback on another learner’s submission. We’ll guide you through the process — it’s part of the learning!.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate Your Completion")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your submission passes and you are done with required reviews, your Solidify journey is complete!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])])}],r=(0,A.defineComponent)({name:"SolidifyLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)();return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b}}}),u=r,N=b(1001),B=(0,N.Z)(u,f,t,!1,null,"bd18dd2a",null),X=B.exports,s=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},["Learner to choose task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(0),M._m(1),M._m(2),M._m(3)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(4),M._m(5),M._m(6),M._m(7)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(8),M._m(9),M._m(10)]),"Learner to choose task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(11),M._m(12),M._m(13)]),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-gray text-sm leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4"},[M._v("Welcome to Solidify for "+M._s(M.initialData.skill)+". Now is the chance to show what you have learned while doing Immerse and Transform.")]),z("p",{staticClass:"pt-1"},[M._v("Before starting Solidify, you should have done the following:")]),z("ol",{staticClass:"pt-1 pl-3"},[z("li",[M._v("Completed Immerse for "+M._s(M.initialData.skill))]),z("li",[M._v("Completed Transform for "+M._s(M.initialData.skill))])]),M._m(14)])])])},l=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Select a task to complete. If you are in a client-restricted environment, we have mobile-friendly tasks (where available) marked specifically for you!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-2"},[M._v("Click "),z("strong",{staticClass:"text-navy"},[M._v("Start!")]),M._v(" to start your Solidify journey!")])}],m=(0,A.defineComponent)({name:"CohortLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(!1),O=(0,A.ref)(!1),c=(0,A.ref)(!1),q=(0,A.ref)(!1);return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b,selectTaskwithPeerReview:p,systemAssignTaskwithPeerReview:O,systemAssignTaskwithSignleReview:c,selectTaskwithSignleReview:q}}}),T=m,g=(0,N.Z)(T,s,l,!1,null,"1ceb2b07",null),v=g.exports,C=b(1232),E=b(442),S=(0,A.defineComponent)({name:"LearnerHome",components:{Generic:d.Z,ErrorMessage:L.Z,SolidifyLanding:X,CohortLanding:v,GenericV2:a.Z,Greetings:R.Z},props:{query:{type:Object,default:()=>({})}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(),O=(0,A.ref)(),c=(0,A.ref)(),o=(0,A.ref)(!1),d=(0,A.ref)(),a=(0,A.ref)(!1),R=(0,A.ref)(!1),n=(0,A.ref)(),L=(0,A.ref)(),f=(0,A.ref)(!1),t=(0,A.ref)(!1),r=(0,A.ref)(),u=(0,A.ref)('It looks like you have not tagged yourself correctly in <a target="_blank" href="http://genome.genpact.com/#Myprofile"><strong>My Profile</strong></a>. The learners in band 5 and 4A in operations need to start at Beginner proficiency level and subsequently move to higher levels of proficiency. You should be at a beginner for all skills unless you have already completed a Beginner Wave. Check on <a href="https://genome.genpact.com/" target="_blank"><strong>Genome</strong></a> now to see which skills you need to update. Once you fix your My Profile, you will get access to Solidify again within 48 hours.'),N=(0,A.ref)(),B=(0,A.ref)(),X=(0,A.ref)(),s=(0,A.ref)(),l=(0,A.ref)();(0,A.onBeforeMount)((async()=>{try{z.value=M.query.skill_id,b.value=M.query.proficiency_id,p.value=M.query.program_id,X.value=M.query.learning_path_id,s.value=M.query.learning_content_id,localStorage.removeItem("learning_path_id"),localStorage.removeItem("learning_content_id"),localStorage.removeItem("learning_content_display_name"),L.value=!1;const A=W().tz.guess(),i={learning_path_id:X.value,learning_content_id:s.value,timezone:A,skill:z.value,proficiency:b.value,program_id:p.value},m=await e("/learner/journey/stat",i);if(O.value=m.data,O.value){if(N.value=O.value.learning_content_object,B.value=O.value.learning_path_object,console.log("lp object",B),console.log("lc object",N),N.value&&!p.value&&(p.value=N.value.learning_content_configuration_id),N.value&&(l.value=N.value.learning_content_display_name,localStorage.setItem("learning_content_id",N.value.learning_content_id),localStorage.setItem("learning_path_id",B.value.learning_path_id),localStorage.setItem("learning_content_display_name",l.value)),O.value.userObj&&(O.value.userObj.last_accessed_on&&localStorage.setItem("lastAccess",q()(O.value.userObj.last_accessed_on).format("MMM Do YYYY, h:mm a")),O.value.userObj.user_fullName&&localStorage.setItem("userName",O.value.userObj.user_fullName),O.value.userObj.user_email&&localStorage.setItem("email",O.value.userObj.user_email),O.value.userObj.user_key&&localStorage.setItem("user_key",O.value.userObj.user_key)),O.value.system_under_maintainence)return localStorage.setItem("errorMsg",O.value.maintenance_message),void E.Z.push({path:"/solidify/systemUnderMaintenance"}).catch();if(O.value.is_learner_not_allowed)return console.log("inside learner not allowed"),a.value=!0,n.value="Please contact helpmate.",void(L.value=!0);if(O.value.isSkillSunet)return console.log("inside skill is sunset"),L.value=!0,c.value=O.value.message,void(o.value=!0);if(O.value.is_learner_not_in_program)return L.value=!0,c.value="You have not been assigned to this program",void(o.value=!0);if(O.value.is_cohort_not_started)return L.value=!0,c.value=`You may not start Solidify for this cohort until ${O.value.cohort_startDate}. Please log in again on that date.`,void(o.value=!0);if(!0===O.value.plagiarism_reEvalution_inProgress)return L.value=!0,c.value="You may not start Solidify until the plagiarism status is complete.",void(o.value=!0);if(O.value.cohortFailedData&&"Fail"===O.value.cohortFailedData.learner_status&&"infinity"!==O.value.cohortFailedData.linked_program_name&&E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.cohortFailedData.learner_task_id}}),!O.value.skill)return L.value=!0,c.value="Skill Not Found",void(o.value=!0);if(!O.value.proficiency)return L.value=!0,c.value="Proficiency Not Found",void(o.value=!0);if(!O.value.userObj)return L.value=!0,c.value="User Profile Not Found",void(o.value=!0);if("suspended"===O.value.userObj.diff_access_status)return L.value=!0,c.value=u.value,void(o.value=!0);if(O.value.userObj.diff_access_status||(O.value.userObj.diff_access_status="active"),O.value.learnerData&&O.value.learnerData.technical_hold)return a.value=!0,n.value=`Your submission for ${O.value.skill}-${O.value.proficiency} is under evaluation. This process may take up to 7 business days.`,void(L.value=!0);if(z.value=O.value.skill_id,b.value=O.value.proficiency_id,"infinity"===p.value&&O.value.reReviewStatus&&(!O.value.reReviewStatus.is_plagiarised||!O.value.reReviewStatus.plagiarism_reevaluation_requested||"complete"!==O.value.reReviewStatus.plagiarism_reevaluation_status)&&(O.value.reReviewStatus.request_for_re_review||(a.value=!0,n.value="<strong>Choose how you’d like to continue: </strong>",f.value=!0,t.value=!0,r.value=O.value.reReviewStatus.learner_task_id),"infinity"===p.value&&("Re-review Accepted Proxy Assigned"===O.value.reReviewStatus.re_review_status||"Re-review Accepted Proxy Unavailable"===O.value.reReviewStatus.re_review_status))){L.value=!0,c.value="Your re-review is underway — we’ll notify you once it’s complete. ",o.value=!0;const M=O.value.reReviewStatus.learner_task_id;return void(M&&(console.log("learner task id",M),E.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})))}}L.value=!0,d.value=O.value.systemSetting.helpmate_link,localStorage.setItem("skillId",z.value),localStorage.setItem("profId",b.value),localStorage.setItem("programId",p.value),localStorage.setItem("skillName",O.value.skill),localStorage.setItem("proficiency",O.value.proficiency),localStorage.setItem("helpmateLink",d.value),localStorage.setItem("programName",O.value.program_details.program_name),localStorage.setItem("reviewerAssignmentStrategy",O.value.program_details.reviewer_strategy),localStorage.setItem("taskAssignmentStrategy",O.value.program_details.task_strategy),O.value.learnerData&&("Registered"===O.value.learnerData.learner_status?X.value&&s.value?E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value,learning_path_id:X.value,learning_content_id:s.value}}):E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value}}):"Need Reviewer and Need Reviewee"===O.value.learnerData.learner_status||"Need Reviewee"===O.value.learnerData.learner_status?E.Z.push({path:"/solidify/peerReview",query:{learner_task_id:O.value.learnerData.learner_task_id}}):"Passed"!==O.value.learnerData.learner_status&&"Need Reviewer"!==O.value.learnerData.learner_status||E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.learnerData.learner_task_id}})),console.log(`initialData.value.existedLearnerDiffProf ${O.value.existedLearnerDiffProf}`),O.value.existedLearnerDiffProf&&(R.value=!0)}catch(A){if(console.log("inside catch error"),console.log(JSON.stringify(A)),L.value=!0,i.Z.isAxiosError(A)){const M=A;c.value=M.response?.data?.message}else c.value="Something went wrong, please contact helpmate.";o.value=!0}}));const m=()=>{a.value=!1},T=()=>{R.value=!1},g=async()=>{console.log("continue");O.value.existedLearnerDiffProf;X.value&&s.value?E.Z.replace({path:"/solidify",query:{learning_path_id:X.value,learning_content_id:s.value}}):E.Z.replace({path:"/solidify",query:{skill_id:z.value,proficiency_id:b.value,program_id:p.value}}),E.Z.go(0),T()},v=async()=>{try{L.value=!1;const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,C.F)("/learner/terminate",M);T(),L.value=!0,console.log(z)}catch(M){if(console.log("inside catch error"),console.log(JSON.stringify(M)),L.value=!0,i.Z.isAxiosError(M)){const z=M;console.log(z.response?.data),c.value=z.response?.data}else c.value="There is an issue in requesting for review, please contact helpmate."}};return{skillId:z,proficiencyId:b,programId:p,initialData:O,helpmateLink:d,modalVisible:a,modalV2Visible:R,modalMessage:n,renderReady:L,closeModal:m,closeModalV2:T,terminateExistingJourney:v,continueExistingJourney:g,modalCloseVisible:f,modalButtonVisible:t,modalButtonLink:r,showErrorMessage:o,errorResponse:c,learning_path_id:X,learning_content_id:s,learning_content_display_name:l}}}),x=S,h=(0,N.Z)(x,p,O,!1,null,"a440ef62",null),y=h.exports},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([[345],{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},2148:function(M,z,b){"use strict";b.d(z,{Z:function(){return a}});var p=function(){var M=this,z=M._self._c;return M.isVisible?z("main",{staticClass:"modal-wrapper relative z-50 modal-filter fixed inset-0 w-full h-screen flex mt-2 justify-center bg-semi-75 h-fit"},[z("transition",{attrs:{name:"modal-fade"}},[z("div",{staticClass:"modal-overlay",on:{click:function(z){return M.$emit("close-modal")}}},[z("div",{staticClass:"modal relative",on:{click:function(M){M.stopPropagation()}}},[M.closeVisible?z("div",{staticClass:"absolute right-0 pr-4 top-5 cursor-pointer",on:{click:function(z){return M.$emit("closeModal")}}},[z("x-icon",{attrs:{size:"1.5x"}})],1):M._e(),z("div",{staticClass:"bg-white"},[z("div",[M.popUpImage1||M.popUpImage2?z("div",{staticClass:"font-bold text-center mb-3 flex justify-center text-base sm:text-xl"},[z("div",[z("strong",[M._v("Do you want to mark the submission Plagiarised?")])])]):M._e(),M.popUpImage1?z("div",{staticClass:"w-full"},[z("img",{staticClass:"block px-4 pb-2 mx-auto w-3/12",attrs:{src:b(2191)}})]):M._e(),M.popUpImage2?z("div",{staticClass:"w-full"},[z("img",{staticClass:"block px-4 pb-2 mx-auto w-2/5",attrs:{src:b(5861)}})]):M._e()]),z("div",{staticClass:"text-gray-500 px-4",domProps:{innerHTML:M._s(M.message)}}),z("div",{staticClass:"pb-4 pt-4 bg-white flex flex-col items-center"},[M.reReviewButton?z("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.applyReview(M.reReviewButtonLink)}}},[M._v(" Apply Re-Review ")]):M._e(),M.archiveButton?z("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",on:{click:function(z){return M.$emit("Archive")}}},[M._v("Yes")]):M._e(),M.closeVisible?z("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:function(z){return M.$emit("closeModal")}}},[M._v(" No ")]):M._e(),M.linkButton?z("button",{staticClass:"px-4 py-2 my-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:function(z){return M.navigate(M.link)}}},[M._v(M._s(M.linkButton))]):M._e()])])])])])],1):M._e()},O=[],A=(b(7658),b(4856)),c=b(442),q={components:{XIcon:A.b0D},name:"Generic",props:{isVisible:{type:Boolean,default:!1,required:!0},message:{type:String,default:"",required:!0},closeVisible:{type:Boolean,default:!1,required:!1},reReviewButton:{type:Boolean,default:!1,required:!1},archiveButton:{type:Boolean,default:!1,required:!1},reReviewButtonLink:{type:String,default:"",required:!1},link:{type:String,default:"",required:!1},linkButton:{type:String,default:"",required:!1},popUpImage1:{type:Boolean,default:!1,required:!1},popUpImage2:{type:Boolean,default:!1,required:!1}},setup(){const M=async M=>{c.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})},z=M=>{window.location.href=M};return{applyReview:M,navigate:z}}},o=q,W=b(1001),d=(0,W.Z)(o,p,O,!1,null,null,null),a=d.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},5525:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return y}});var p=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-auto mt-6 containers allBoxImg"},[M.renderReady?[M.showErrorMessage?M._e():[M.initialData?z("div",{staticClass:"flex"},[z("div",{staticClass:"w-full pt-12"},[z("Greetings",{attrs:{program:M.programId,proficiency:M.initialData.proficiency,skill:M.initialData.skill,learning_content_display_name:M.learning_content_display_name}}),z("div",{staticClass:"flex md:flex mt-4 mx-3 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Home")]),z("li",[M._v("Task")]),z("li",[M._v("Submit")]),"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?z("li",[M._v("Peer Reviews")]):M._e(),z("li",[M._v("Under Review")]),z("li",[M._v("Done!")])])])]),z("Generic",{attrs:{"is-visible":M.modalVisible,message:M.modalMessage,"close-visible":M.modalCloseVisible,"re-review-button":M.modalButtonVisible,"re-review-button-link":M.modalButtonLink},on:{closeModal:M.closeModal}}),z("GenericV2",{attrs:{"cross-visible":!1,"is-visible":M.modalV2Visible},on:{Cancel:M.closeModalV2}},[z("div",{staticClass:"py-3 bg-white"},[z("p",{staticClass:"text-left"},[M._v("Please note Genome does not allow proficiency completion outside of the "),z("strong",[M._v("BITS")]),M._v(" sequence.")]),z("p",{staticClass:"text-left"},[M._v(" You have already started a learning task at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level that is different from your My Profile ("+M._s(M.initialData.proficiency)+") proficiency. ")]),z("br"),z("p",{staticClass:"text-left"},[M._v("Select one option below:")]),z("ol",{staticClass:"list-decimal pl-6 pb-6"},[z("li",{staticClass:"pl-1 text-left"},[M._v(" Select Terminate to end your "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" solidify journey and start at your My Profile ("+M._s(M.initialData.proficiency)+") proficiency ")]),z("li",{staticClass:"pl-1 text-left"},[M._v("Select Continue to proceed with your current solidify journey at "+M._s(M.initialData.existedLearnerDiffProf&&M.initialData.existedLearnerDiffProf.proficiency_name)+" level")])]),z("button",{staticClass:"px-4 py-2 mr-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",staticStyle:{"background-color":"grey"},on:{click:M.continueExistingJourney}},[M._v(" Continue ")]),z("button",{staticClass:"px-4 py-2 text-white shadow-md bg-background-secondary focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",on:{click:M.terminateExistingJourney}},[M._v("Terminate")])])]),"infinity"===M.programId?z("SolidifyLanding",{attrs:{data:M.initialData}}):M._e(),"infinity"!==M.programId?z("CohortLanding",{attrs:{data:M.initialData}}):M._e(),z("div",{staticClass:"mt-4 mb-4 text-center"},[M.learning_path_id?z("router-link",{staticClass:"px-12 py-2 text-white shadow-md bg-background-secondary inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{learning_path_id:M.learning_path_id,learning_content_id:M.learning_content_id}}}},[z("div",{staticClass:"font-bold"},[M._v("Start!")])]):z("router-link",{staticClass:"px-12 py-2 text-white shadow-md bg-background-secondary inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{skill_id:M.skillId,proficiency_id:M.proficiencyId,program_id:M.programId}}}},[z("div",{staticClass:"font-bold"},[M._v("Start!")])])],1)],1)]):M._e()],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=[],A=(b(7658),b(7203)),c=b(1602),q=b.n(c),o=b(7881),W=b.n(o),d=b(2148),a=b(3484),R=b(8235),n=b(7129);const e=async(M,z)=>{console.log(n.Z);const b=n.Z.post(M,z);return b};var i=b(306),L=b(460),f=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},[M._m(0),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-[#161916] leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4 text-center"},[M._v(" Need help? Watch our quick "),z("u",[z("a",{attrs:{target:"_blank",href:M.videoUrl}},[M._v("onboarding video")])]),M._v(" or click the Helpmate Icon for assistance. ")])])])])},t=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"block mt-4 lg:flex md:flex"},[z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Choose a task that fits your work environment. If you’re in a client-restricted setting, mobile-friendly tasks are available.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit Your Work")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Upload your task via desktop or submit directly in a mobile-friendly format.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review Peer Submissions")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Provide constructive feedback on another learner’s submission. We’ll guide you through the process — it’s part of the learning!.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})]),z("div",{staticClass:"custom-shadow mt-8 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-2 md:mx-2 lg:mt-5 rounded-lg"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1 text-white"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate Your Completion")]),z("div",{staticClass:"text-sm text-[#161916]"},[M._v("Once your submission passes and you are done with required reviews, your Solidify journey is complete!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])])}],r=(0,A.defineComponent)({name:"SolidifyLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)();return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b}}}),u=r,N=b(1001),B=(0,N.Z)(u,f,t,!1,null,"bd18dd2a",null),X=B.exports,s=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6"},["Learner to choose task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(0),M._m(1),M._m(2),M._m(3)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Auto assign reviewer (reviewer task to be different)"!==M.initialData.program_details.reviewer_strategy&&"Auto assign reviewer based on skill and proficiency"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(4),M._m(5),M._m(6),M._m(7)]),"System assigns random task to learner"!==M.initialData.program_details.task_strategy&&"System uses task sequence number to assign task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(8),M._m(9),M._m(10)]),"Learner to choose task"!==M.initialData.program_details.task_strategy||"Single Reviewer"!==M.initialData.program_details.reviewer_strategy&&"Reviewer can be from a SME list"!==M.initialData.program_details.reviewer_strategy?M._e():z("div",{staticClass:"block mt-4 lg:flex md:flex"},[M._m(11),M._m(12),M._m(13)]),z("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3 text-sm"},[z("div",{staticClass:"text-gray text-sm leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4"},[M._v("Welcome to Solidify for "+M._s(M.initialData.skill)+". Now is the chance to show what you have learned while doing Immerse and Transform.")]),z("p",{staticClass:"pt-1"},[M._v("Before starting Solidify, you should have done the following:")]),z("ol",{staticClass:"pt-1 pl-3"},[z("li",[M._v("Completed Immerse for "+M._s(M.initialData.skill))]),z("li",[M._v("Completed Transform for "+M._s(M.initialData.skill))])]),M._m(14)])])])},l=[function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Select a task to complete. If you are in a client-restricted environment, we have mobile-friendly tasks (where available) marked specifically for you!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-2xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Review someone else's work")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Learning happens when you can evaluate someone's work! We will guide you on how to give feedback.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(1601)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/4 md:w-1/4 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("4")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer, and you have completed your peer reviews you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8133)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Do a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(9583)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("1")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("You will be assigned a task to complete. You must complete the task you are given.")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(8170)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("2")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Submit the task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Submit by either uploading the task from your desktop or typing it in on a mobile device (where available).")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(4297)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mt-16 border border-blue-900 lg:w-1/3 md:w-1/3 lg:mx-3 md:mx-3 lg:mt-5"},[z("div",{staticClass:"-mt-6 text-center"},[z("span",{staticClass:"flex items-center justify-center w-12 h-12 mx-auto text-3xl text-white bg-blue-900 rounded-full"},[z("span",{staticClass:"-mt-1"},[M._v("3")])])]),z("div",{staticClass:"px-2 mt-3 text-center"},[z("div",{staticClass:"mb-2 text-lg text-blue-900"},[M._v("Celebrate!")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Once your task has been passed by a reviewer you will have finished Solidify!")]),z("div",{staticClass:"text-sm text-blue-900"})]),z("img",{staticClass:"block px-4 pb-2 mx-auto mt-4",attrs:{src:b(3416)}})])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",{staticClass:"pt-2"},[M._v("Click "),z("strong",{staticClass:"text-navy"},[M._v("Start!")]),M._v(" to start your Solidify journey!")])}],m=(0,A.defineComponent)({name:"CohortLanding",props:{data:{type:Object,default:null}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(!1),O=(0,A.ref)(!1),c=(0,A.ref)(!1),q=(0,A.ref)(!1);return(0,A.onBeforeMount)((async()=>{z.value=M.data,b.value=z.value.systemSetting.product_video_link})),{initialData:z,videoUrl:b,selectTaskwithPeerReview:p,systemAssignTaskwithPeerReview:O,systemAssignTaskwithSignleReview:c,selectTaskwithSignleReview:q}}}),T=m,g=(0,N.Z)(T,s,l,!1,null,"1ceb2b07",null),v=g.exports,C=b(1232),E=b(442),S=(0,A.defineComponent)({name:"LearnerHome",components:{Generic:d.Z,ErrorMessage:L.Z,SolidifyLanding:X,CohortLanding:v,GenericV2:a.Z,Greetings:R.Z},props:{query:{type:Object,default:()=>({})}},setup(M){const z=(0,A.ref)(),b=(0,A.ref)(),p=(0,A.ref)(),O=(0,A.ref)(),c=(0,A.ref)(),o=(0,A.ref)(!1),d=(0,A.ref)(),a=(0,A.ref)(!1),R=(0,A.ref)(!1),n=(0,A.ref)(),L=(0,A.ref)(),f=(0,A.ref)(!1),t=(0,A.ref)(!1),r=(0,A.ref)(),u=(0,A.ref)('It looks like you have not tagged yourself correctly in <a target="_blank" href="http://genome.genpact.com/#Myprofile"><strong>My Profile</strong></a>. The learners in band 5 and 4A in operations need to start at Beginner proficiency level and subsequently move to higher levels of proficiency. You should be at a beginner for all skills unless you have already completed a Beginner Wave. Check on <a href="https://genome.genpact.com/" target="_blank"><strong>Genome</strong></a> now to see which skills you need to update. Once you fix your My Profile, you will get access to Solidify again within 48 hours.'),N=(0,A.ref)(),B=(0,A.ref)(),X=(0,A.ref)(),s=(0,A.ref)(),l=(0,A.ref)();(0,A.onBeforeMount)((async()=>{try{z.value=M.query.skill_id,b.value=M.query.proficiency_id,p.value=M.query.program_id,X.value=M.query.learning_path_id,s.value=M.query.learning_content_id,localStorage.removeItem("learning_path_id"),localStorage.removeItem("learning_content_id"),localStorage.removeItem("learning_content_display_name"),L.value=!1;const A=W().tz.guess(),i={learning_path_id:X.value,learning_content_id:s.value,timezone:A,skill:z.value,proficiency:b.value,program_id:p.value},m=await e("/learner/journey/stat",i);if(O.value=m.data,O.value){if(N.value=O.value.learning_content_object,B.value=O.value.learning_path_object,console.log("lp object",B),console.log("lc object",N),N.value&&!p.value&&(p.value=N.value.learning_content_configuration_id),N.value&&(l.value=N.value.learning_content_display_name,localStorage.setItem("learning_content_id",N.value.learning_content_id),localStorage.setItem("learning_path_id",B.value.learning_path_id),localStorage.setItem("learning_content_display_name",l.value)),O.value.userObj&&(O.value.userObj.last_accessed_on&&localStorage.setItem("lastAccess",q()(O.value.userObj.last_accessed_on).format("MMM Do YYYY, h:mm a")),O.value.userObj.user_fullName&&localStorage.setItem("userName",O.value.userObj.user_fullName),O.value.userObj.user_email&&localStorage.setItem("email",O.value.userObj.user_email),O.value.userObj.user_key&&localStorage.setItem("user_key",O.value.userObj.user_key)),O.value.system_under_maintainence)return localStorage.setItem("errorMsg",O.value.maintenance_message),void E.Z.push({path:"/solidify/systemUnderMaintenance"}).catch();if(O.value.is_learner_not_allowed)return console.log("inside learner not allowed"),a.value=!0,n.value="Please contact helpmate.",void(L.value=!0);if(O.value.isSkillSunet)return console.log("inside skill is sunset"),L.value=!0,c.value=O.value.message,void(o.value=!0);if(O.value.is_learner_not_in_program)return L.value=!0,c.value="You have not been assigned to this program",void(o.value=!0);if(O.value.is_cohort_not_started)return L.value=!0,c.value=`You may not start Solidify for this cohort until ${O.value.cohort_startDate}. Please log in again on that date.`,void(o.value=!0);if(!0===O.value.plagiarism_reEvalution_inProgress)return L.value=!0,c.value="You may not start Solidify until the plagiarism status is complete.",void(o.value=!0);if(O.value.cohortFailedData&&"Fail"===O.value.cohortFailedData.learner_status&&"infinity"!==O.value.cohortFailedData.linked_program_name&&E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.cohortFailedData.learner_task_id}}),!O.value.skill)return L.value=!0,c.value="Skill Not Found",void(o.value=!0);if(!O.value.proficiency)return L.value=!0,c.value="Proficiency Not Found",void(o.value=!0);if(!O.value.userObj)return L.value=!0,c.value="User Profile Not Found",void(o.value=!0);if("suspended"===O.value.userObj.diff_access_status)return L.value=!0,c.value=u.value,void(o.value=!0);if(O.value.userObj.diff_access_status||(O.value.userObj.diff_access_status="active"),O.value.learnerData&&O.value.learnerData.technical_hold)return a.value=!0,n.value=`Your submission for ${O.value.skill}-${O.value.proficiency} is under evaluation. This process may take up to 7 business days.`,void(L.value=!0);if(z.value=O.value.skill_id,b.value=O.value.proficiency_id,"infinity"===p.value&&O.value.reReviewStatus&&(!O.value.reReviewStatus.is_plagiarised||!O.value.reReviewStatus.plagiarism_reevaluation_requested||"complete"!==O.value.reReviewStatus.plagiarism_reevaluation_status)&&(O.value.reReviewStatus.request_for_re_review||(a.value=!0,n.value="<strong>Choose how you’d like to continue: </strong>",f.value=!0,t.value=!0,r.value=O.value.reReviewStatus.learner_task_id),"infinity"===p.value&&("Re-review Accepted Proxy Assigned"===O.value.reReviewStatus.re_review_status||"Re-review Accepted Proxy Unavailable"===O.value.reReviewStatus.re_review_status))){L.value=!0,c.value="Your re-review is underway — we’ll notify you once it’s complete. ",o.value=!0;const M=O.value.reReviewStatus.learner_task_id;return void(M&&(console.log("learner task id",M),E.Z.push({path:"/solidify/rereview",query:{learner_task_id:M}})))}}L.value=!0,d.value=O.value.systemSetting.helpmate_link,localStorage.setItem("skillId",z.value),localStorage.setItem("profId",b.value),localStorage.setItem("programId",p.value),localStorage.setItem("skillName",O.value.skill),localStorage.setItem("proficiency",O.value.proficiency),localStorage.setItem("helpmateLink",d.value),localStorage.setItem("programName",O.value.program_details.program_name),localStorage.setItem("reviewerAssignmentStrategy",O.value.program_details.reviewer_strategy),localStorage.setItem("taskAssignmentStrategy",O.value.program_details.task_strategy),O.value.learnerData&&("Registered"===O.value.learnerData.learner_status?X.value&&s.value?E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value,learning_path_id:X.value,learning_content_id:s.value}}):E.Z.push({path:"/solidify/submitTask",query:{learner_task_id:O.value.learnerData.learner_task_id,program_id:p.value}}):"Need Reviewer and Need Reviewee"===O.value.learnerData.learner_status||"Need Reviewee"===O.value.learnerData.learner_status?E.Z.push({path:"/solidify/peerReview",query:{learner_task_id:O.value.learnerData.learner_task_id}}):"Passed"!==O.value.learnerData.learner_status&&"Need Reviewer"!==O.value.learnerData.learner_status||E.Z.push({path:"/solidify/done",query:{learner_task_id:O.value.learnerData.learner_task_id}})),console.log(`initialData.value.existedLearnerDiffProf ${O.value.existedLearnerDiffProf}`),O.value.existedLearnerDiffProf&&(R.value=!0)}catch(A){if(console.log("inside catch error"),console.log(JSON.stringify(A)),L.value=!0,i.Z.isAxiosError(A)){const M=A;c.value=M.response?.data?.message}else c.value="Something went wrong, please contact helpmate.";o.value=!0}}));const m=()=>{a.value=!1},T=()=>{R.value=!1},g=async()=>{console.log("continue");O.value.existedLearnerDiffProf;X.value&&s.value?E.Z.replace({path:"/solidify",query:{learning_path_id:X.value,learning_content_id:s.value}}):E.Z.replace({path:"/solidify",query:{skill_id:z.value,proficiency_id:b.value,program_id:p.value}}),E.Z.go(0),T()},v=async()=>{try{L.value=!1;const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,C.F)("/learner/terminate",M);T(),L.value=!0,console.log(z)}catch(M){if(console.log("inside catch error"),console.log(JSON.stringify(M)),L.value=!0,i.Z.isAxiosError(M)){const z=M;console.log(z.response?.data),c.value=z.response?.data}else c.value="There is an issue in requesting for review, please contact helpmate."}};return{skillId:z,proficiencyId:b,programId:p,initialData:O,helpmateLink:d,modalVisible:a,modalV2Visible:R,modalMessage:n,renderReady:L,closeModal:m,closeModalV2:T,terminateExistingJourney:v,continueExistingJourney:g,modalCloseVisible:f,modalButtonVisible:t,modalButtonLink:r,showErrorMessage:o,errorResponse:c,learning_path_id:X,learning_content_id:s,learning_content_display_name:l}}}),x=S,h=(0,N.Z)(x,p,O,!1,null,"a440ef62",null),y=h.exports},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