@genpact/genome.mfe.solidify-app 3.13.1 → 3.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- .modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:#000000da}.modal{text-align:center;background-color:#fff;height:200px;width:600px;margin-top:10%;padding:40px 0}p{font-size:15px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}.custom-shadow[data-v-bd18dd2a]{box-shadow:0 10px 25px rgba(0,0,0,.08),0 4px 10px rgba(0,0,0,.05)}.border-blue-900[data-v-bd18dd2a]{border-color:#d3d3d3!important}.bg-blue-900[data-v-bd18dd2a]{background:#161916!important}.box-overflow1[data-v-bd18dd2a]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-bd18dd2a]{overflow-x:scroll}.box-overflow1[data-v-bd18dd2a]{max-height:none;overflow-y:auto}}.custom-shadow[data-v-4b94a4ee]{box-shadow:0 10px 25px rgba(0,0,0,.08),0 4px 10px rgba(0,0,0,.05)}.border-blue-900[data-v-4b94a4ee]{border-color:#d3d3d3!important}.bg-blue-900[data-v-4b94a4ee]{background:#161916!important}@media screen and (max-width:768px){.ul-nav[data-v-4b94a4ee]{overflow-x:scroll}.box-overflow1[data-v-4b94a4ee]{max-height:none;overflow-y:auto}}.box-overflow1[data-v-a440ef62]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-a440ef62]{overflow-x:scroll}.box-overflow1[data-v-a440ef62]{max-height:none;overflow-y:auto}}
1
+ .modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:#000000da}.modal{text-align:center;background-color:#fff;height:200px;width:600px;margin-top:10%;padding:40px 0}p{font-size:15px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}.custom-shadow[data-v-bd18dd2a]{box-shadow:0 10px 25px rgba(0,0,0,.08),0 4px 10px rgba(0,0,0,.05)}.border-blue-900[data-v-bd18dd2a]{border-color:#d3d3d3!important}.bg-blue-900[data-v-bd18dd2a]{background:#161916!important}.box-overflow1[data-v-bd18dd2a]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-bd18dd2a]{overflow-x:scroll}.box-overflow1[data-v-bd18dd2a]{max-height:none;overflow-y:auto}}.custom-shadow[data-v-3f7a3f24]{box-shadow:0 10px 25px rgba(0,0,0,.08),0 4px 10px rgba(0,0,0,.05)}.border-blue-900[data-v-3f7a3f24]{border-color:#d3d3d3!important}.bg-blue-900[data-v-3f7a3f24]{background:#161916!important}@media screen and (max-width:768px){.ul-nav[data-v-3f7a3f24]{overflow-x:scroll}.box-overflow1[data-v-3f7a3f24]{max-height:none;overflow-y:auto}}.box-overflow1[data-v-a440ef62]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-a440ef62]{overflow-x:scroll}.box-overflow1[data-v-a440ef62]{max-height:none;overflow-y:auto}}
@@ -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},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},7971:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return _}});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,B=b(1001),N=(0,B.Z)(u,f,t,!1,null,"bd18dd2a",null),X=N.exports,s=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1-notuse 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:"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"},[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("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:"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"},[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-[#161916]"},[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:"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"},[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-[#161916]"},[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:"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"},[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-[#161916]"},[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:"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("Do a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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:"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 the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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:"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 someone else's work")]),z("div",{staticClass:"text-sm text-[#161916]"},[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:"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!")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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("Do a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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 the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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("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-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 the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[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,B.Z)(T,s,l,!1,null,"4b94a4ee",null),C=g.exports,v=b(1232),E=b(442),S=(0,A.defineComponent)({name:"LearnerHome",components:{Generic:d.Z,ErrorMessage:L.Z,SolidifyLanding:X,CohortLanding:C,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.'),B=(0,A.ref)(),N=(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(B.value=O.value.learning_content_object,N.value=O.value.learning_path_object,console.log("lp object",N),console.log("lc object",B),B.value&&!p.value&&(p.value=B.value.learning_content_configuration_id),B.value&&(l.value=B.value.learning_content_display_name,localStorage.setItem("learning_content_id",B.value.learning_content_id),localStorage.setItem("learning_path_id",N.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()},C=async()=>{try{L.value=!1;const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,v.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:C,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,B.Z)(x,p,O,!1,null,"a440ef62",null),_=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},6623:function(M,z,b){"use strict";b.r(z),b.d(z,{default:function(){return _}});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,B=b(1001),N=(0,B.Z)(u,f,t,!1,null,"bd18dd2a",null),X=N.exports,s=function(){var M=this,z=M._self._c;M._self._setupProxy;return z("div",{staticClass:"mx-4 mt-3 box-overflow1-notuse 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:"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("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:"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 the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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:"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 someone else's work")]),z("div",{staticClass:"text-sm text-[#161916]"},[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:"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!")]),z("div",{staticClass:"text-sm text-[#161916]"},[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:"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("Do a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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:"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 the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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:"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 someone else's work")]),z("div",{staticClass:"text-sm text-[#161916]"},[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:"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!")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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("Do a task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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 the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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("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-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 the task")]),z("div",{staticClass:"text-sm text-[#161916]"},[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-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("Celebrate!")]),z("div",{staticClass:"text-sm text-[#161916]"},[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,B.Z)(T,s,l,!1,null,"3f7a3f24",null),C=g.exports,v=b(1232),E=b(442),S=(0,A.defineComponent)({name:"LearnerHome",components:{Generic:d.Z,ErrorMessage:L.Z,SolidifyLanding:X,CohortLanding:C,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.'),B=(0,A.ref)(),N=(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(B.value=O.value.learning_content_object,N.value=O.value.learning_path_object,console.log("lp object",N),console.log("lc object",B),B.value&&!p.value&&(p.value=B.value.learning_content_configuration_id),B.value&&(l.value=B.value.learning_content_display_name,localStorage.setItem("learning_content_id",B.value.learning_content_id),localStorage.setItem("learning_path_id",N.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()},C=async()=>{try{L.value=!1;const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,v.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:C,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,B.Z)(x,p,O,!1,null,"a440ef62",null),_=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