@genpact/genome.mfe.solidify-app 3.6.0 → 3.7.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.
- package/dist/css/SolidifyAdministrationEmailTemplateManagement.css +1 -1
- package/dist/css/SolidifyAdministrationGenAIReviewedSubmissions.css +1 -0
- package/dist/css/SolidifyAdministrationTaskDetails.css +1 -1
- package/dist/css/SolidifyLearnerSubmitTask.css +1 -1
- package/dist/img/Help_Button.svg +32 -0
- package/dist/solidify.css +1 -1
- package/dist/{solidify.umd.min.607.js → solidify.umd.min.936.js} +2 -2
- package/dist/{solidify.umd.min.607.js.map → solidify.umd.min.936.js.map} +1 -1
- package/dist/solidify.umd.min.LearnerRereview.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministration.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationAssignProxy.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationAssignProxy.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationCreateOffCyele.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationEmailTemplateManagement.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js +2 -0
- package/dist/solidify.umd.min.SolidifyAdministrationGenAIReviewedSubmissions.js.map +1 -0
- package/dist/solidify.umd.min.SolidifyAdministrationManageProxy.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationManageProxy.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationMasterAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationMasterAdministration.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationNeedReviewerReport.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOffcycleDashboard.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationOperationalDetails.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationProgramAdministration.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskDetails.js +2 -2
- package/dist/solidify.umd.min.SolidifyAdministrationTaskDetails.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationTaskManagement.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js +1 -1
- package/dist/solidify.umd.min.SolidifyAdministrationViewAllProxyRequests.js.map +1 -1
- package/dist/solidify.umd.min.SolidifyLearner.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerDone.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerPeerReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerProxyReview.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSelectTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js +1 -1
- package/dist/solidify.umd.min.SolidifyLearnerSubmitTask.js.map +1 -1
- package/dist/solidify.umd.min.js +4 -4
- package/dist/solidify.umd.min.js.map +1 -1
- package/package.json +1 -1
- /package/dist/css/{607.css → 936.css} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[345],{4735: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(6540)}})])])])])])},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},6629: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-6 pt-4 bg-white"},[M.reReviewButton?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:function(z){return M.applyReview(M.reReviewButtonLink)}}},[M._v(" Apply Re-Review ")]):M._e(),M.archiveButton?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 mr-2",on:{click:function(z){return M.$emit("Archive")}}},[M._v("Yes")]):M._e(),M.closeVisible?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",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 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(2612),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},5316: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-6 flex flex-col md:flex-row justify-between items-center"},[z("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===M.program?z("span",[M._v(M._s(M.proficiency)+" - ")]):M._e(),M._v(M._s(M.skill)+" ")]),z("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[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:""}},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},9378: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-10 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}}),z("div",{staticClass:"flex md:flex mt-6 mx-6 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"},[z("router-link",{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 inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{skill_id:M.skillId,proficiency_id:M.proficiencyId,program_id:M.programId}}}},[M._v(" Go ")])],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(6629),a=b(3484),R=b(5316),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(4735),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-gray-500 leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4"},[M._v(" Welcome onboard Solidify "),z("strong",[M._v(M._s(M.initialData.proficiency)+" "+M._s(M.initialData.skill)+". ")])]),z("p",{staticClass:"pt-1"},[M._v("With Solidify you can implement your learnings and gain hands-on experience.")]),z("p",{staticClass:"pt-1"},[M._v("Solidify has three important components, as listed below:")]),M._m(1),z("p",{staticClass:"pt-4"},[M._v(" To learn more, please watch this "),z("u",[z("a",{attrs:{target:"_blank",href:M.videoUrl}},[M._v("Video")])]),M._v(" or connect with the floating Genius Icon below. ")]),M._m(2)])])])},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:"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("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Select your task thoughtfully. If operating within a client-restricted environment, mobile-friendly tasks are available for your convenience.")]),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:"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.")]),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:"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)}})]),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 submission results in pass and you are done with your peer reviews, you are done with 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("ol",{staticClass:"pt-2 pl-3"},[z("li",[M._v("Select a task")]),z("li",[M._v("Submit the task")]),z("li",[M._v("Peer Reviews")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",[M._v("Click "),z("strong",[M._v("Go")]),M._v(" to continue!")])}],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,"720abafa",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 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-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("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-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/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("Go")]),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,"9c6ea3fc",null),v=g.exports,C=b(1232),E=b(2612),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.');(0,A.onBeforeMount)((async()=>{try{z.value=M.query.skill_id,b.value=M.query.proficiency_id,p.value=M.query.program_id,L.value=!1;const A=W().tz.guess(),i={skill:z.value,proficiency:b.value,program_id:p.value,timezone:A},B=await e("/learner/journey/stat",i);if(O.value=B.data,O.value){if(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("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="You can apply for re-review",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)))return L.value=!0,c.value="Re-review Status is in-progress",void(o.value=!0);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?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 B=()=>{a.value=!1},N=()=>{R.value=!1},X=async()=>{console.log("continue");const M=O.value.existedLearnerDiffProf;E.Z.replace({path:"/solidify",query:{skill_id:M.skill,proficiency_id:M.proficiency,program_id:M.linked_program_name}}),E.Z.go(0),N()},s=async()=>{try{L.value=!1;const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,C.F)("/learner/terminate",M);N(),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:B,closeModalV2:N,terminateExistingJourney:s,continueExistingJourney:X,modalCloseVisible:f,modalButtonVisible:t,modalButtonLink:r,showErrorMessage:o,errorResponse:c}}}),x=S,h=(0,B.Z)(x,p,O,!1,null,"d2b8336e",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],{4735: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(6540)}})])])])])])},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},6629: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-6 pt-4 bg-white"},[M.reReviewButton?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:function(z){return M.applyReview(M.reReviewButtonLink)}}},[M._v(" Apply Re-Review ")]):M._e(),M.archiveButton?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 mr-2",on:{click:function(z){return M.$emit("Archive")}}},[M._v("Yes")]):M._e(),M.closeVisible?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",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 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(1496),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},5316: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-6 flex flex-col md:flex-row justify-between items-center"},[z("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===M.program?z("span",[M._v(M._s(M.proficiency)+" - ")]):M._e(),M._v(M._s(M.skill)+" ")]),z("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[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:""}},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},9378: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-10 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}}),z("div",{staticClass:"flex md:flex mt-6 mx-6 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"},[z("router-link",{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 inline-block",attrs:{to:{name:"SolidifyLearnerSelectTask",query:{skill_id:M.skillId,proficiency_id:M.proficiencyId,program_id:M.programId}}}},[M._v(" Go ")])],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(6629),a=b(3484),R=b(5316),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(4735),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-gray-500 leading-6 rich-text-formatter"},[z("p",{staticClass:"pt-4"},[M._v(" Welcome onboard Solidify "),z("strong",[M._v(M._s(M.initialData.proficiency)+" "+M._s(M.initialData.skill)+". ")])]),z("p",{staticClass:"pt-1"},[M._v("With Solidify you can implement your learnings and gain hands-on experience.")]),z("p",{staticClass:"pt-1"},[M._v("Solidify has three important components, as listed below:")]),M._m(1),z("p",{staticClass:"pt-4"},[M._v(" To learn more, please watch this "),z("u",[z("a",{attrs:{target:"_blank",href:M.videoUrl}},[M._v("Video")])]),M._v(" or connect with the floating Genius Icon below. ")]),M._m(2)])])])},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:"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("Select a task")]),z("div",{staticClass:"text-sm text-gray-500"},[M._v("Select your task thoughtfully. If operating within a client-restricted environment, mobile-friendly tasks are available for your convenience.")]),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:"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.")]),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:"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)}})]),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 submission results in pass and you are done with your peer reviews, you are done with 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("ol",{staticClass:"pt-2 pl-3"},[z("li",[M._v("Select a task")]),z("li",[M._v("Submit the task")]),z("li",[M._v("Peer Reviews")])])},function(){var M=this,z=M._self._c;M._self._setupProxy;return z("p",[M._v("Click "),z("strong",[M._v("Go")]),M._v(" to continue!")])}],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,"720abafa",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 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-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("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-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/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("Go")]),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,"9c6ea3fc",null),v=g.exports,C=b(1232),E=b(1496),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.');(0,A.onBeforeMount)((async()=>{try{z.value=M.query.skill_id,b.value=M.query.proficiency_id,p.value=M.query.program_id,L.value=!1;const A=W().tz.guess(),i={skill:z.value,proficiency:b.value,program_id:p.value,timezone:A},B=await e("/learner/journey/stat",i);if(O.value=B.data,O.value){if(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("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="You can apply for re-review",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)))return L.value=!0,c.value="Re-review Status is in-progress",void(o.value=!0);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?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 B=()=>{a.value=!1},N=()=>{R.value=!1},X=async()=>{console.log("continue");const M=O.value.existedLearnerDiffProf;E.Z.replace({path:"/solidify",query:{skill_id:M.skill,proficiency_id:M.proficiency,program_id:M.linked_program_name}}),E.Z.go(0),N()},s=async()=>{try{L.value=!1;const M={learner_task_id:O.value.existedLearnerDiffProf.learner_task_id},z=await(0,C.F)("/learner/terminate",M);N(),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:B,closeModalV2:N,terminateExistingJourney:s,continueExistingJourney:X,modalCloseVisible:f,modalButtonVisible:t,modalButtonLink:r,showErrorMessage:o,errorResponse:c}}}),x=S,h=(0,B.Z)(x,p,O,!1,null,"d2b8336e",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
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[781],{4735:function(e,t,s){s.d(t,{Z:function(){return c}});var a=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(6540)}})])])])])])},r=[],i=s(7203),l=(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=l,n=s(1001),u=(0,n.Z)(o,a,r,!1,null,null,null),c=u.exports},5316:function(e,t,s){s.d(t,{Z:function(){return c}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},r=[],i=s(7203),l=(0,i.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{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=l,n=s(1001),u=(0,n.Z)(o,a,r,!1,null,null,null),c=u.exports},9486:function(e,t,s){s.r(t),s.d(t,{default:function(){return _}});var a=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():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.getLearner.statusRes.linked_program_name,proficiency:e.proficiency,skill:e.skill}}),t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[e.pass||e.fail?t("ul",{staticClass:"done"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{staticClass:"active"},[e._v("Done!")])]):e._e(),e.needReviewer?t("ul",{staticClass:"underReview"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{},[e._v("Done!")])]):e._e()])]),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[e.pass?t("div",{staticClass:"text-gray-600"},[e._m(0),t("div",{staticClass:"mt-4"},[e._v("Reviewer Comments :")]),t("div",{staticClass:"mt-2",domProps:{innerHTML:e._s(e.allReviewerComments)}}),"infinity"===e.programName?t("div",[e._m(1),t("div",{staticClass:"mt-2"},[t("p",[e._v(" Help us improve and share your Solidify experience, by clicking "),t("strong",[t("a",{staticClass:"italic text-blue-900 underline",attrs:{href:e.vocUrl,target:"_blank"}},[e._v("here")]),e._v(".")])])])]):e._e()]):e._e(),e.fail?t("div",{staticClass:"text-gray-600"},[e._m(2),e._m(3),t("div",{staticClass:"mt-4",domProps:{innerHTML:e._s(e.allReviewerComments)}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isProgramRestartable,expression:"isProgramRestartable"}]},[e._m(4),e._m(5),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("router-link",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.getLearner.statusRes.skill,proficiency_id:e.getLearner.statusRes.proficiency,program_id:e.getLearner.statusRes.linked_program_name}}}},[e._v(" Start Solidify ")])],1)]),e.learnerEligibleForRereview?[t("p",{staticClass:"pt-6"},[e._v("In case you've received feedback on your submission that it doesn't accurately reflect your work or learning, you have the option to request a re-review of your submission.")]),e._m(6),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:function(t){return e.applyReview()}}},[e._v(" Re-review ")])])]:e._e()],2):e._e(),e.needReviewer?t("div",{staticClass:"text-gray-600"},[t("div",["Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?[t("p",{staticClass:"pt-2"},[e._v("Thank you for doing reviews.")]),t("p",{staticClass:"pt-2"},[e._v("Your submission is being reviewed by your colleagues. The reviewer comments for your submission will be displayed at the Done Page.")]),t("p",{staticClass:"pt-2"},[e._v(" You will receive an email once the reviews have been completed telling you if your submissions passed, or if you will need to redo Solidify. Typically, this process may take 7-10 working days from the day of task submission. ")]),e._m(7),e._l(e.peerReviewTimestamps,(function(s,a){return t("p",{key:a,staticClass:"pt-2"},[e._v(" Peer Review "+e._s(a+1)+" : "),t("strong",[e._v(e._s(s)+".")])])}))]:[t("p",{staticClass:"pt-2"},[e._v("Thank you for submitting your task.")]),t("p",{staticClass:"pt-2"},[e._v("Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.")])],e._m(8),t("p",{staticClass:"pt-6"},[e._v(" Status as of "),t("strong",[e._v(e._s(e.lastModifiedDate))])])],2),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",attrs:{to:{name:"SolidifyLearnerFail"}},on:{click:function(t){return e.getLearnerDetails()}}},[e._v(" Refresh ")])])]):e._e()])])],1)])],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)},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Congratulations on successfully completing Solidify!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mt-2"},[t("p",[e._v("We value your insights!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("Thank you for your attempt, but unfortunately you did not pass Solidify")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("Reviewer Comments: ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[t("b",[e._v("Please click below to start Solidify again for skill and proficiency. You can redo Solidify as many times as you need.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("Note: You can redo Solidify as many times as you need.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[e._v("Click the "),t("strong",[e._v("'Re-review'")]),e._v(" button below to submit your request")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Review Status of Your Submission :")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("Click on the "),t("strong",[e._v("Refresh")]),e._v(" button to see the current review status of your submission.")])}],i=(s(7658),s(7203)),l=s(1602),o=s.n(l),n=s(1920),u=s(306),c=s(4735),v=s(5316),f=s(2612),d=(0,i.defineComponent)({name:"LearnerSubmitTask",components:{ErrorMessage:c.Z,Greetings:v.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(!1),s=(0,i.ref)(!1),a=(0,i.ref)(!1),r=(0,i.ref)(),l=(0,i.ref)(),c=(0,i.ref)(""),v=(0,i.ref)(),d=(0,i.ref)(),m=(0,i.ref)(localStorage.getItem("skillName")),p=(0,i.ref)(localStorage.getItem("proficiency")),g=(0,i.ref)(localStorage.getItem("programId")),_=(0,i.ref)(localStorage.getItem("skillId")),y=(0,i.ref)(localStorage.getItem("profId")),b=(0,i.ref)(),w=(0,i.ref)(),x=(0,i.ref)(e.query.learner_task_id),h=(0,i.ref)(localStorage.getItem("helpmateLink")),C=(0,i.ref)(),k=(0,i.ref)(),R=(0,i.ref)(),A=(0,i.ref)(!1),S=(0,i.ref)(),L=(0,i.ref)(),M=(0,i.ref)(!0),I=(0,i.ref)(),P=(0,i.ref)(!1),U=(0,i.ref)(),G=(0,i.ref)(!1),Z=(0,i.ref)(),Y=(0,i.ref)(),J=async()=>{try{C.value=!1;const e=await(0,n.G)("learnerStatus",x.value);if(v.value=e.data,Y.value=v.value.program_reviewer_strategy,console.log(`getLearner.value ${JSON.stringify(v.value)}`),C.value=!0,console.log("status",JSON.stringify(v.value)),"notpassed"===v.value.statusRes)C.value=!0,U.value=v.value.statusMessage,G.value=!0,a.value=!1;else if("Passed"===v.value.statusRes.learner_status)c.value=v.value.vocUrl,t.value=!0,a.value=!1,d.value=v.value.statusRes.all_reviewer_comments;else if("Fail"===v.value.statusRes.learner_status)s.value=!0,a.value=!1,d.value=v.value.statusRes.all_reviewer_comments,console.log(`getLearner.value.statusRes.linked_program_name ${v.value.statusRes.linked_program_name}`),console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${"infinity"!==v.value.statusRes.linked_program_name}`),"infinity"!==v.value.statusRes.linked_program_name&&(M.value=!1),I.value=v.value.program_is_restartable,v.value.learner_eligible_for_rereview&&(P.value=!0);else if("Need Reviewer"===v.value.statusRes.learner_status){v.value.is_learner_not_allowed&&(console.log("learner on hold submit task"),f.Z.push({path:"/solidify",query:{skill_id:_.value,proficiency_id:y.value,program_id:g.value}})),a.value=!0,w.value=o()(v.value.statusRes.modified_date).format("dddd, MMMM Do YYYY, h:mm:ss a"),l.value=v.value.mandatoryReviewsCount||3;const e=[];for(let t=0;t<l.value;t++){let s="Reviewer to be assigned";v.value.reviewers_status&&v.value.reviewers_status[t]&&(s="Reviewed on "+o()(v.value.reviewers_status[t].review_end_date).format("dddd, MMMM Do YYYY")),e.push(s)}r.value=e,console.log(`lastModifiedDate.value ${w.value}`)}}catch(e){if(C.value=!0,console.log("error while fetching learner details",e),u.Z.isAxiosError(e)){const t=e;U.value=t.response?.data?.message}else U.value="There is an issue while fetching learner status, please contact helpmate.";G.value=!0}};(0,i.onBeforeMount)((async()=>{Z.value=localStorage.getItem("programName"),J(),"Beginner"===p.value?b.value="Intermediate":"Intermediate"===p.value?b.value="Proficient":"Proficient"===p.value&&(b.value="Expert")}));const T=async()=>{f.Z.push({path:"/solidify/rereview",query:{learner_task_id:x.value}})};return{pass:t,fail:s,skill:m,proficiency:p,allReviewerComments:d,getLearner:v,needReviewer:a,peerReviewTimestamps:r,vocUrl:c,getLearnerDetails:J,lastModifiedDate:w,helpmateLink:h,renderReady:C,nextProficiency:b,comment:k,feedback:R,commentValidationMsg:L,ratingValidationMsg:S,validationShow:A,learnerEligibleForRereview:P,applyReview:T,isProgramInfinity:M,errorResponse:U,showErrorMessage:G,programName:Z,reviewerAssignmentStrategy:Y,isProgramRestartable:I}}}),m=d,p=s(1001),g=(0,p.Z)(m,a,r,!1,null,"7fb5150a",null),_=g.exports},1920:function(e,t,s){s.d(t,{G:function(){return r}});var a=s(7129);const r=async(e,t)=>{const s=await a.Z.get(`${e}/${t}`);return s}},6540:function(e){e.exports="data:image/png;base64,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"}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[781],{4735:function(e,t,s){s.d(t,{Z:function(){return c}});var a=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(6540)}})])])])])])},r=[],i=s(7203),l=(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=l,n=s(1001),u=(0,n.Z)(o,a,r,!1,null,null,null),c=u.exports},5316:function(e,t,s){s.d(t,{Z:function(){return c}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},r=[],i=s(7203),l=(0,i.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{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=l,n=s(1001),u=(0,n.Z)(o,a,r,!1,null,null,null),c=u.exports},9486:function(e,t,s){s.r(t),s.d(t,{default:function(){return _}});var a=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():[t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.getLearner.statusRes.linked_program_name,proficiency:e.proficiency,skill:e.skill}}),t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[e.pass||e.fail?t("ul",{staticClass:"done"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{staticClass:"active"},[e._v("Done!")])]):e._e(),e.needReviewer?t("ul",{staticClass:"underReview"},[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),"Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?t("li",{staticClass:"active"},[e._v("Peer Reviews")]):e._e(),t("li",{staticClass:"active"},[e._v("Under Review")]),t("li",{},[e._v("Done!")])]):e._e()])]),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"block mt-4"},[e.pass?t("div",{staticClass:"text-gray-600"},[e._m(0),t("div",{staticClass:"mt-4"},[e._v("Reviewer Comments :")]),t("div",{staticClass:"mt-2",domProps:{innerHTML:e._s(e.allReviewerComments)}}),"infinity"===e.programName?t("div",[e._m(1),t("div",{staticClass:"mt-2"},[t("p",[e._v(" Help us improve and share your Solidify experience, by clicking "),t("strong",[t("a",{staticClass:"italic text-blue-900 underline",attrs:{href:e.vocUrl,target:"_blank"}},[e._v("here")]),e._v(".")])])])]):e._e()]):e._e(),e.fail?t("div",{staticClass:"text-gray-600"},[e._m(2),e._m(3),t("div",{staticClass:"mt-4",domProps:{innerHTML:e._s(e.allReviewerComments)}}),t("div",{directives:[{name:"show",rawName:"v-show",value:e.isProgramRestartable,expression:"isProgramRestartable"}]},[e._m(4),e._m(5),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("router-link",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",attrs:{to:{name:"SolidifyLearner",query:{skill_id:e.getLearner.statusRes.skill,proficiency_id:e.getLearner.statusRes.proficiency,program_id:e.getLearner.statusRes.linked_program_name}}}},[e._v(" Start Solidify ")])],1)]),e.learnerEligibleForRereview?[t("p",{staticClass:"pt-6"},[e._v("In case you've received feedback on your submission that it doesn't accurately reflect your work or learning, you have the option to request a re-review of your submission.")]),e._m(6),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:function(t){return e.applyReview()}}},[e._v(" Re-review ")])])]:e._e()],2):e._e(),e.needReviewer?t("div",{staticClass:"text-gray-600"},[t("div",["Auto assign reviewer (reviewer task to be different)"===e.reviewerAssignmentStrategy||"Auto assign reviewer based on skill and proficiency"===e.reviewerAssignmentStrategy?[t("p",{staticClass:"pt-2"},[e._v("Thank you for doing reviews.")]),t("p",{staticClass:"pt-2"},[e._v("Your submission is being reviewed by your colleagues. The reviewer comments for your submission will be displayed at the Done Page.")]),t("p",{staticClass:"pt-2"},[e._v(" You will receive an email once the reviews have been completed telling you if your submissions passed, or if you will need to redo Solidify. Typically, this process may take 7-10 working days from the day of task submission. ")]),e._m(7),e._l(e.peerReviewTimestamps,(function(s,a){return t("p",{key:a,staticClass:"pt-2"},[e._v(" Peer Review "+e._s(a+1)+" : "),t("strong",[e._v(e._s(s)+".")])])}))]:[t("p",{staticClass:"pt-2"},[e._v("Thank you for submitting your task.")]),t("p",{staticClass:"pt-2"},[e._v("Once your task has been reviewed by an SME, you will receive an email telling you if your submission passed or not.")])],e._m(8),t("p",{staticClass:"pt-6"},[e._v(" Status as of "),t("strong",[e._v(e._s(e.lastModifiedDate))])])],2),t("div",{staticClass:"mt-6 mb-4 text-center"},[t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",attrs:{to:{name:"SolidifyLearnerFail"}},on:{click:function(t){return e.getLearnerDetails()}}},[e._v(" Refresh ")])])]):e._e()])])],1)])],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)},r=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Congratulations on successfully completing Solidify!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"mt-2"},[t("p",[e._v("We value your insights!")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("Thank you for your attempt, but unfortunately you did not pass Solidify")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("Reviewer Comments: ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[t("b",[e._v("Please click below to start Solidify again for skill and proficiency. You can redo Solidify as many times as you need.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-3"},[t("b",[e._v("Note: You can redo Solidify as many times as you need.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-6"},[e._v("Click the "),t("strong",[e._v("'Re-review'")]),e._v(" button below to submit your request")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Review Status of Your Submission :")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[e._v("Click on the "),t("strong",[e._v("Refresh")]),e._v(" button to see the current review status of your submission.")])}],i=(s(7658),s(7203)),l=s(1602),o=s.n(l),n=s(1920),u=s(306),c=s(4735),v=s(5316),f=s(1496),d=(0,i.defineComponent)({name:"LearnerSubmitTask",components:{ErrorMessage:c.Z,Greetings:v.Z},props:{query:{type:Object,default:()=>({})}},setup(e){const t=(0,i.ref)(!1),s=(0,i.ref)(!1),a=(0,i.ref)(!1),r=(0,i.ref)(),l=(0,i.ref)(),c=(0,i.ref)(""),v=(0,i.ref)(),d=(0,i.ref)(),m=(0,i.ref)(localStorage.getItem("skillName")),p=(0,i.ref)(localStorage.getItem("proficiency")),g=(0,i.ref)(localStorage.getItem("programId")),_=(0,i.ref)(localStorage.getItem("skillId")),y=(0,i.ref)(localStorage.getItem("profId")),b=(0,i.ref)(),w=(0,i.ref)(),x=(0,i.ref)(e.query.learner_task_id),h=(0,i.ref)(localStorage.getItem("helpmateLink")),C=(0,i.ref)(),k=(0,i.ref)(),R=(0,i.ref)(),A=(0,i.ref)(!1),S=(0,i.ref)(),L=(0,i.ref)(),M=(0,i.ref)(!0),I=(0,i.ref)(),P=(0,i.ref)(!1),U=(0,i.ref)(),G=(0,i.ref)(!1),Z=(0,i.ref)(),Y=(0,i.ref)(),J=async()=>{try{C.value=!1;const e=await(0,n.G)("learnerStatus",x.value);if(v.value=e.data,Y.value=v.value.program_reviewer_strategy,console.log(`getLearner.value ${JSON.stringify(v.value)}`),C.value=!0,console.log("status",JSON.stringify(v.value)),"notpassed"===v.value.statusRes)C.value=!0,U.value=v.value.statusMessage,G.value=!0,a.value=!1;else if("Passed"===v.value.statusRes.learner_status)c.value=v.value.vocUrl,t.value=!0,a.value=!1,d.value=v.value.statusRes.all_reviewer_comments;else if("Fail"===v.value.statusRes.learner_status)s.value=!0,a.value=!1,d.value=v.value.statusRes.all_reviewer_comments,console.log(`getLearner.value.statusRes.linked_program_name ${v.value.statusRes.linked_program_name}`),console.log(`getLearner.value.statusRes.linked_program_name !== 'infinity' ${"infinity"!==v.value.statusRes.linked_program_name}`),"infinity"!==v.value.statusRes.linked_program_name&&(M.value=!1),I.value=v.value.program_is_restartable,v.value.learner_eligible_for_rereview&&(P.value=!0);else if("Need Reviewer"===v.value.statusRes.learner_status){v.value.is_learner_not_allowed&&(console.log("learner on hold submit task"),f.Z.push({path:"/solidify",query:{skill_id:_.value,proficiency_id:y.value,program_id:g.value}})),a.value=!0,w.value=o()(v.value.statusRes.modified_date).format("dddd, MMMM Do YYYY, h:mm:ss a"),l.value=v.value.mandatoryReviewsCount||3;const e=[];for(let t=0;t<l.value;t++){let s="Reviewer to be assigned";v.value.reviewers_status&&v.value.reviewers_status[t]&&(s="Reviewed on "+o()(v.value.reviewers_status[t].review_end_date).format("dddd, MMMM Do YYYY")),e.push(s)}r.value=e,console.log(`lastModifiedDate.value ${w.value}`)}}catch(e){if(C.value=!0,console.log("error while fetching learner details",e),u.Z.isAxiosError(e)){const t=e;U.value=t.response?.data?.message}else U.value="There is an issue while fetching learner status, please contact helpmate.";G.value=!0}};(0,i.onBeforeMount)((async()=>{Z.value=localStorage.getItem("programName"),J(),"Beginner"===p.value?b.value="Intermediate":"Intermediate"===p.value?b.value="Proficient":"Proficient"===p.value&&(b.value="Expert")}));const T=async()=>{f.Z.push({path:"/solidify/rereview",query:{learner_task_id:x.value}})};return{pass:t,fail:s,skill:m,proficiency:p,allReviewerComments:d,getLearner:v,needReviewer:a,peerReviewTimestamps:r,vocUrl:c,getLearnerDetails:J,lastModifiedDate:w,helpmateLink:h,renderReady:C,nextProficiency:b,comment:k,feedback:R,commentValidationMsg:L,ratingValidationMsg:S,validationShow:A,learnerEligibleForRereview:P,applyReview:T,isProgramInfinity:M,errorResponse:U,showErrorMessage:G,programName:Z,reviewerAssignmentStrategy:Y,isProgramRestartable:I}}}),m=d,p=s(1001),g=(0,p.Z)(m,a,r,!1,null,"7fb5150a",null),_=g.exports},1920:function(e,t,s){s.d(t,{G:function(){return r}});var a=s(7129);const r=async(e,t)=>{const s=await a.Z.get(`${e}/${t}`);return s}},6540:function(e){e.exports="data:image/png;base64,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"}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyLearnerDone.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[896],{4735:function(e,t,s){s.d(t,{Z:function(){return u}});var a=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(6540)}})])])])])])},i=[],r=s(7203),l=(0,r.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,r.ref)(""),s=(0,r.ref)(localStorage.getItem("helpmateLink"));return(0,r.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:s}}}),o=l,n=s(1001),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},6629:function(e,t,s){s.d(t,{Z:function(){return d}});var a=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-6 pt-4 bg-white"},[e.reReviewButton?t("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:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("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 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("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",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 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()},i=[],r=(s(7658),s(4856)),l=s(2612),o={components:{XIcon:r.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=>{l.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},n=o,c=s(1001),u=(0,c.Z)(n,a,i,!1,null,null,null),d=u.exports},5316:function(e,t,s){s.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],r=s(7203),l=(0,r.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,r.ref)("");return(0,r.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),o=l,n=s(1001),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},7625:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var a=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.revieweeDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.programId,proficiency:e.proficiency,skill:e.skill}}),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"bloc text-2xl text-center text-background-secondary"},[e._v(e._s(e.revieweeDetails.reviewee_count_string))]),t("div",{staticClass:"block"},[t("div",{staticClass:"text-gray-600"},[t("div",{staticClass:"mt-4 p-8 border border-gray-300 lg:mr-6 md:mr-6 mr-0"},["infinity"===e.programId?t("div",{},[t("p",[e._v("To complete final phase of Solidify, ensure you complete three peer reviews.")]),t("p",{staticClass:"pt-2"},[e._v(" Your prompt completion of reviewing 3 peer submissions are essential as other learners are waiting to complete their Solidify. Ideally, it takes 10-15 minutes to complete each review. Delayed peer review might lead to reassignment of submission to another peer. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?t("p",{staticClass:"pt-2"},[e._v("Please note that you need to be on a desktop to download the task, as the review function will not work on mobile devices or tablets.")]):e._e(),e._m(1),e.isPlagiarismEnabled?t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v('Read the "'),t("strong",[e._v("Learner's task submission")]),e._v('".')]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Download the learner's submission.")]):e._e(),e._m(2),e._m(3),t("li",[e._v(" Remember, plagiarism is an integrity violation. Citing works is perfectly acceptable, and you will need to use some judgment when marking a task as plagiarized. When you mark a task as plagiarized you are saying it was directly copied from other sources, the task is an integrity violation, and it will be failed. ")]),t("li",[e._v("If the task is not plagiarized, review and score the task by referring to the scoring rubric")]),t("li",[e._v("Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task!")]),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])]):e._e(),e.isPlagiarismEnabled?e._e():t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Read the learner’s submission.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Download the learner's task submission.")]):e._e(),t("li",[e._v("Score the task using the scoring rubric.")]),t("li",[e._v("Provide specific feedback in the reviewer comment box, mentioning both strengths and areas for improvement.")]),t("li",[e._v("Repeat the process until all reviews are finished.")])])]):e._e(),"infinity"!==e.programId?t("div",{},[t("p",[e._v("Welcome to the review stage of Solidify. You must complete "+e._s(e.revieweeDetails.mandatory_reviews)+" reviews to pass Solidify.")]),t("p",{staticClass:"pt-2"},[e._v(" A single review should take about 15 minutes, but if needed you can leave this page and come back. Remember, other learners are waiting on you to complete their own Solidify, so please do the review as soon as possible. If you have not done this review "),t("strong",[e._v("within "+e._s(e.reviewerHoldTime)+" hours")]),e._v(", it could be assigned to someone else and you will need to review a different task. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?t("p",{staticClass:"pt-2"},[e._v("You must be on a desktop to download the task. This review will not work on a mobile device or tablet.")]):e._e(),e._m(4),t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Read the learner's "),t("strong",[e._v("submission")]),e._v(".")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Click the “"),t("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])])]):e._e(),t("div",{staticClass:"mt-8"},[t("p",[t("strong",[e._v("Task Name")]),e._v(": "+e._s(e.revieweeDetails.task_details.task_name))]),e._m(5),t("p",{staticClass:"pt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.revieweeDetails.task_details.description)}})]),"Desktop"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"text-left"},[t("button",{staticClass:"inline-block mt-2 py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:e.learnerSubmissionClicked}},[e._v(" Download Learner Task Submission ")])]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"mt-2"},[e._m(6),t("p",[e._v(e._s(e.revieweeDetails.learner_submission))])]):e._e(),t("div",{staticClass:"mt-8"},["infinity"===e.programId?t("p",[e._v("Please do not include any self-identifying information.")]):e._e(),e.isPlagiarismEnabled?t("div",{staticClass:"border border-background-secondary p-4 mt-2"},[e._m(7),e._m(8),e._m(9),t("div",{staticClass:"mt-1 text-sm"},[t("div",{staticClass:"checkboxNewUi"},[t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_yes"},domProps:{value:!0,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!0)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!0,l=e._i(s,r);a.checked?l<0&&(e.plagiarismCheckOne=s.concat([r])):l>-1&&(e.plagiarismCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!0)}],click:e.checkOne}}),e._m(10)]),t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_no"},domProps:{value:!1,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!1)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!1,l=e._i(s,r);a.checked?l<0&&(e.plagiarismCheckOne=s.concat([r])):l>-1&&(e.plagiarismCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!1)}],click:e.checkOne}}),e._m(11)])])]),e.showplagiarismUpload?t("div",{staticClass:"mt-6 w-full flex justify-left items-start"},[t("div",{staticClass:"w-1/2 pr-8 border-r-1 border-gray-500",class:e.accessRestrictionCheck?"disabledbutton":""},[e._m(12),t("div",{staticClass:"flex pt-2 items-center gap-2",staticStyle:{"max-width":"250px"}},[t("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file",accept:".png,.PNG"},on:{change:e.selectedFile}}),e.plagiarismSubmissionFile?t("x-icon",{staticClass:"cursor-pointer",attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1),t("p",{staticClass:"pt-1 text-[14px]"},[e._v("Maximum file size: 5 MB")])]),t("div",{staticClass:"w-1/2 checkboxNewUi",class:e.plagiarismSubmissionFile?"disabledbutton":""},[t("div",{staticClass:"checkboxUi w-3/4"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.accessRestrictionCheck,expression:"accessRestrictionCheck"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"access_restriction"},domProps:{value:!1,checked:Array.isArray(e.accessRestrictionCheck)?e._i(e.accessRestrictionCheck,!1)>-1:e.accessRestrictionCheck},on:{change:function(t){var s=e.accessRestrictionCheck,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!1,l=e._i(s,r);a.checked?l<0&&(e.accessRestrictionCheck=s.concat([r])):l>-1&&(e.accessRestrictionCheck=s.slice(0,l).concat(s.slice(l+1)))}else e.accessRestrictionCheck=i}}}),t("label",{attrs:{for:"access_restriction"}},[e._v("I am unable to upload proof as I am working in an access restricted environment.")])])])]):e._e()]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",[e._m(13),t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[t("strong",[e._v("1")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),e._v(") - No evidence of meeting the performance expectation or learning goal. ")]),t("li",[t("strong",[e._v("2")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),e._v(") - Little evidence of meeting the performance expectation or learning goal. ")]),t("li",[t("strong",[e._v("3")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.average?e.likertScale.average:"Average"))]),e._v(") - Some evidence of meeting the performance expectation or learning goal. ")]),t("li",[t("strong",[e._v("4")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),e._v(") - Evidence of meeting the required performance expectation or learning goal. ")]),t("li",[t("strong",[e._v("5")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))]),e._v(") - Evidence of exceeding the performance expectation or learning goal. ")])])]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",{staticClass:"mt-6 p-8 border border-gray-300 lg:mr-6 md:mr-6 mr-0"},e._l(e.revieweeDetails.task_details.task_questions,(function(s,a){return t("div",{key:a,staticClass:"mb-3"},[t("p",[t("b",[e._v("Checklist Question "+e._s(a+1))])]),t("div",{staticClass:"bg-gray-100 text-gray-700 py-1 px-2 text-sm border border-gray-300 mt-1"},[e._v(e._s(s.text))]),"Scale"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" 1 - "+e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"25"},domProps:{checked:e._q(s.response,"25")},on:{change:[function(t){return e.$set(s,"response","25")},e.enableSubmitButton]}}),e._v(" 2 - "+e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"50"},domProps:{checked:e._q(s.response,"50")},on:{change:[function(t){return e.$set(s,"response","50")},e.enableSubmitButton]}}),e._v(" 3 - "+e._s(e.likertScale.average?e.likertScale.average:"Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"75"},domProps:{checked:e._q(s.response,"75")},on:{change:[function(t){return e.$set(s,"response","75")},e.enableSubmitButton]}}),e._v(" 4 - "+e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" 5 - "+e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))])]):e._e(),"Yes/No"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" Yes")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" No")])]):e._e()])})),0):e._e()]),t("div",{staticClass:"mb-3"},[t("p",[e._v("Please provide feedback in the text box below.")]),t("p",{staticClass:"pt-2"},[e._v("Comments are mandatory and will be sent to your peers. Be constructive, mentioning strengths and areas for improvement. Ensure your ratings align with your feedback.")]),t("p",[e._v("Share what you liked, and what you thought could be improved. The ratings should be in line with your feedback.")]),t("div",{staticClass:"mt-1"},[e._m(14),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.reviewerComment,expression:"reviewerComment"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{maxlength:"10000",rows:"3",placeholder:""},domProps:{value:e.reviewerComment},on:{keyup:function(t){return e.checkQuestionLength(e.reviewerComment)},input:function(t){t.target.composing||(e.reviewerComment=t.target.value)}}}),t("div",[e.questionWordCount<10?t("div",{staticClass:"text-red-700"},[e._v("(Minimum 10 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])])])]),t("div",{staticClass:"mt-6 mb-4 text-center"},[e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e._m(15),e.isPlagiarised?t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 text-white shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.finalPlagWarningPopup}},[e._v(" Submit Review ")]):t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 text-white shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.submitReview}},[e._v(" Submit Review ")])])])])])],1)]):e._e(),t("GenericModal",{attrs:{"pop-up-image1":!0,"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.confirmPlagiarism}}),t("GenericModal",{attrs:{"pop-up-image2":!0,"is-visible":e.modalVisible2,message:e.modalMessage2,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.submitReview}})],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)},i=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[t("ul",[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),t("li",{staticClass:"active"},[e._v("Peer Reviews")]),t("li",[e._v("Under Review")]),t("li",[e._v("Done!")])])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("To complete the review :")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" Review the submission for plagiarism by checking against sites like "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")]),e._v(". ")]),e._v("Paste the text from the submission and click on scan for plagiarism. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" If the result shows significantly plagiarized, take a screenshot of the plagiarism and save it. then click “yes” for if the task was plagiarized and upload the screenshot you just saved. You must upload the evidence only in png format. The maximum file size is "),t("strong",[e._v("5MB")]),e._v(". If the submission is not plagiarised, mark no. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("To review the task:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Description")]),e._v(":")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",[e._v("Learner's Submission:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",[e._v("How to check for plagiarism - ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[e._v(" Use the popular online plagiarism checkers like "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(" or "),t("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")]),e._v(" to assess for potential plagiarism")])]),t("li",[e._v('Paste the submitted text and click on "Scan for plagiarism".')]),t("li",[e._v("The results will indicate whether the submission contains plagiarized content.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Did you find any evidence of plagiarism?")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("label",{attrs:{for:"plagriarism_check_yes"}},[t("strong",[e._v("Yes")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("label",{attrs:{for:"plagriarism_check_no"}},[t("strong",[e._v("No")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"w-3/4"},[t("strong",[e._v(" If the submission is significantly plagiarized, upload a screenshot of the evidence in .png format. ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Scoring Rubric:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Reviewer Comment")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Submit Review button will be disabled until you view the learner's submission.")])])}],r=(s(7658),s(7203)),l=s(306),o=s(4735),n=s(4856),c=s(2612),u=s(1920),d=s(6629),v=s(5316),p=s(9609),m=(0,r.defineComponent)({name:"LearnerSubmitTask",props:{query:{type:Object,default:()=>({})}},components:{ErrorMessage:o.Z,GenericModal:d.Z,XIcon:n.b0D,Greetings:v.Z},setup(e){const t=(0,r.ref)(!1),s=(0,r.ref)(),a=(0,r.ref)(!1),i=(0,r.ref)(""),o=(0,r.ref)(),n=(0,r.ref)(localStorage.getItem("skillId")),d=(0,r.ref)(localStorage.getItem("profId")),v=(0,r.ref)(localStorage.getItem("programId")),m=(0,r.ref)(localStorage.getItem("programName")),g=(0,r.ref)(),_=(0,r.ref)(),f=(0,r.ref)(),h=(0,r.ref)(),b=(0,r.ref)(),k=(0,r.ref)(),w=(0,r.ref)(),y=(0,r.ref)(!1),x=(0,r.ref)(!1),C=(0,r.ref)(!1),S=(0,r.ref)(!1),R=(0,r.ref)(),P=(0,r.ref)(),A=(0,r.ref)(),q=(0,r.ref)(),I=(0,r.ref)(),D=(0,r.ref)(),M=(0,r.ref)(),L=(0,r.ref)(),B=(0,r.ref)(localStorage.getItem("helpmateLink")),U=(0,r.ref)([]),T=(0,r.ref)(!1),Z=(0,r.ref)({}),E=(0,r.ref)(!1),N=' \n <div class="px-4">\n <div class="font-bold text-left mb-3"><strong>By selecting "Yes," you confirm the following: </strong></div>\n <ul class="list-disc text-left px-6">\n <li>The submission is extensively copied from the Internet without proper source referencing. </li>\n <li>The learner will receive a <strong>\'Fail\'</strong> notification, with a copy sent to the respective manager and HR. </li>\n </ul>\n </div>',G=(0,r.ref)(!1),O=(0,r.ref)(0),W=(0,r.ref)(!1),z=(0,r.ref)(0),j=(0,r.ref)(!1),V='<div class="px-4">\n <ul class="list-disc text-left px-6">\n <li>The learner will receive a <strong>\'Fail\'</strong> notification, with a copy sent to the respective manager and HR. </li>\n <li class="pt-2">Please confirm the review to proceed. </li>\n </ul>\n </div>',Y=e=>{O.value=e.split(" ").filter((e=>""!==e)).length,G.value=O.value>=10},J=()=>{U.value=[]},H=async()=>{z.value+=1,A.value=null};(0,r.onBeforeMount)((async()=>{try{o.value=e.query.learner_task_id,b.value=!1;const t=await(0,p.uZ)(`/learnerTaskToReview/${o.value}`),a=t.data;if(b.value=!0,a.data.is_learner_not_allowed&&(console.log("learner on hold submit task"),c.Z.push({path:"/solidify",query:{skill_id:n.value,proficiency_id:d.value,program_id:v.value}})),a.data.errorMessage)y.value=!0,k.value=a.data.errorMessage;else if(a.data.message)localStorage.setItem("message",a.data.message),c.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"yes",learnerTaskId:o.value,isProxyReview:"no",showChevron:"yes"}});else if("Need Reviewer"===a.data.learner_status||"Fail"===a.data.learner_status||"Passed"===a.data.learner_status)c.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:o.value}});else{s.value=a.data,Z.value=s.value.task_details.likertScale?s.value.task_details.likertScale:{},g.value=s.value.skill,_.value=s.value.proficiency;const e=parseInt(s.value.reviewer_hold_time_in_minutes,10)/60,t=!!s.value.is_plagiarism_enabled&&s.value.is_plagiarism_enabled;L.value=s.value.url_to_upload_plag_evidence,console.log(`plagiarismEnabled ${t}`),S.value=!0===t,Number.isInteger(e)?f.value=e:f.value=e.toFixed(2)}}catch(t){if(b.value=!0,l.Z.isAxiosError(t)){const e=t;k.value=e.response?.data?.message}else k.value="There is an issue while fetching peer learner task to review, please contact helpmate.";y.value=!0}}));const F=()=>{let e=!0;s.value.task_details.task_questions.forEach(((t,s)=>{console.log(`que.response ${t.response} index ${s}`),t.response?(console.log(`inside if allQuestionAnswered before${e}`),e=e&&!0):(console.log(`inside else allQuestionAnswered before ${e}`),e=e&&!1)})),console.log(`allQuestionAnswered ${JSON.stringify(e)} `),!e||"Desktop"===s.value.task_details.task_type&&!a.value?t.value=!1:t.value=!0,console.log(`isButtonEnabled ${JSON.stringify(t)} `)},X=async()=>{try{const e={file_name:s.value.learner_submission,task_id:s.value.reviewee_id};b.value=!1;const t=await(0,p.R1)("/v1/pretAuthUrlForDownload",e);h.value=t.data.preSignedUrl,await(0,p.ng)(h.value,s.value.learner_submission),b.value=!0,a.value=!0,F()}catch(e){if(b.value=!0,l.Z.isAxiosError(e)){const t=e;k.value=t.response?.data?.message}else k.value="There is an issue while donwloading learner submission, please contact helpmate.";y.value=!0}},Q=async e=>{try{const t=e.target.files[0],s=e.target.files[0].name,a=e.target.files[0].size/1024/1024;a>5?(R.value="fileSize greater than 5 MB",setTimeout((()=>{R.value=null}),6e3)):(A.value=t,q.value=s)}catch(t){A.value=null,q.value=null,console.log(t)}},K=async()=>{try{if(b.value=!1,S.value){if(console.log(`isPlagiarised.value ${w.value}`),w.value&&!W.value){if(!A.value)return b.value=!0,R.value="Please upload plagiarism evidence screenshot",void setTimeout((()=>{R.value=null}),6e3);if(D.value=q.value,console.log("ext.value",M.value),b.value=!1,console.log("evidenceFileName value",D.value),!q.value.endsWith("png")&&!q.value.endsWith("PNG"))return b.value=!0,R.value="You can upload only jpg, jpeg, and png",void setTimeout((()=>{R.value=null}),6e3);const e=await(0,u.G)("learnerStatus",s.value.reviewee_id);"Need Reviewer"!==e.data.current_status&&"Need Reviewer and Need Reviewee"!==e.data.current_status||(I.value=await(0,p.aQ)(L.value,A.value),w.value=!0)}if(void 0===w.value)return b.value=!0,R.value="Please Select Plagiarism Checkbox",void setTimeout((()=>{R.value=null}),6e3)}const e={reviewer_task_id:o.value,reviewee_task_id:s.value.reviewee_id,reviewer_comment:i.value,reviewer_response:s.value.task_details.task_questions,is_plagiarised:w.value,plagiarism_evidence:D.value},t=await(0,p.eZ)("/learnerReview",e),a=t.data;a.message&&(b.value=!1,localStorage.setItem("message",a.message),c.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"yes",learnerTaskId:o.value,isProxyReview:"no",showChevron:"yes"}})),"Need Reviewer and Need Reviewee"!==a.reviewer_updated_status&&"Need Reviewee"!==a.reviewer_updated_status||(b.value=!1,c.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:o.value}}),c.Z.go(0)),"Need Reviewer"!==a.reviewer_updated_status&&"Passed"!==a.reviewer_updated_status&&"Fail"!==a.reviewer_updated_status||(b.value=!1,c.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:o.value}}))}catch(e){if(b.value=!0,l.Z.isAxiosError(e)){const t=e;k.value=t.response?.data?.message}else k.value="There is an issue while submitting peer review, please contact with helpmate.";y.value=!0}},$=()=>{E.value=!1,j.value=!1,w.value=void 0,T.value=!1;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,x.value=!1,F(),J()},ee=()=>{E.value=!1},te=async(e,t)=>{if(T.value=e.target.checked,console.log(`isPlagiarizedChecked ${T.value}`),w.value=t,console.log("isPlagiarised",{isPlagiarised:w.value}),!0===T.value&&!0===t){C.value=!0,E.value=!0;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="0";x.value=!0,await F()}else if(!0===T.value&&!1===t){for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,x.value=!1,await F()}else{for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,w.value=void 0,x.value=!1,await F()}},se=async()=>{j.value=!0};return{revieweeDetails:s,isButtonEnabled:t,enableSubmitButton:F,learnerSubmissionClicked:X,reviewerComment:i,submitReview:K,skill:g,proficiency:_,reviewerHoldTime:f,preSignedUrl:h,errorResponse:k,showErrorMessage:y,helpmateLink:B,renderReady:b,questionEnable:x,isPlagiarised:w,showplagiarismUpload:C,errorMessage:R,successMessage:P,selectedFile:Q,plagiarismSubmissionFile:A,plagiarismSubmission:q,isPlagiarismEnabled:S,evidenceFileName:D,checkPlagiarised:te,programId:v,programName:m,ext:M,plagUrlForUpload:L,plagiarismCheckOne:U,isPlagiarizedChecked:T,checkOne:J,likertScale:Z,confirmPlagiarism:ee,cancelPlagiarism:$,modalVisible:E,modalMessage:N,checkQuestionLength:Y,minReviewWordCount:G,questionWordCount:O,accessRestrictionCheck:W,clearFile:H,fileInputKey:z,modalVisible2:j,finalPlagWarningPopup:se,modalMessage2:V}}}),g=m,_=s(1001),f=(0,_.Z)(g,a,i,!1,null,"93b88f70",null),h=f.exports},1920:function(e,t,s){s.d(t,{G:function(){return i}});var a=s(7129);const i=async(e,t)=>{const s=await a.Z.get(`${e}/${t}`);return s}},9609:function(e,t,s){s.d(t,{R1:function(){return i},Yo:function(){return l},aQ:function(){return c},eZ:function(){return o},ng:function(){return n},uZ:function(){return r}});var a=s(7129);const i=async(e,t)=>{const s=await a.Z.post(e,t);return s},r=async e=>{const t=await a.Z.get(e);return t},l=async e=>{const t=await a.Z.get(`learnerTaskToProxyReview/${e}`);return t},o=async(e,t)=>{const s=await a.Z.post(e,t);return s},n=async(e,t)=>{console.log(t),console.log(e);const s=await fetch(e),a=await s.blob(),i=URL.createObjectURL(a),r=document.createElement("a");r.setAttribute("download",t),r.href=i,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(i)},c=async(e,t)=>{try{const s=await fetch(`${e}`,{method:"put",body:t}),a=s;return a}catch(s){return console.error(s),s}}},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"},6540:function(e){e.exports="data:image/png;base64,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"}}]);
|
|
1
|
+
"use strict";(("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[896],{4735:function(e,t,s){s.d(t,{Z:function(){return u}});var a=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(6540)}})])])])])])},i=[],r=s(7203),l=(0,r.defineComponent)({name:"ErrorMessage",props:{errorMessage:{type:String,default:""}},setup(e){const t=(0,r.ref)(""),s=(0,r.ref)(localStorage.getItem("helpmateLink"));return(0,r.onBeforeMount)((async()=>{t.value=e.errorMessage})),{errorMsg:t,helpmateLink:s}}}),o=l,n=s(1001),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},6629:function(e,t,s){s.d(t,{Z:function(){return d}});var a=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-6 pt-4 bg-white"},[e.reReviewButton?t("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:function(t){return e.applyReview(e.reReviewButtonLink)}}},[e._v(" Apply Re-Review ")]):e._e(),e.archiveButton?t("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 mr-2",on:{click:function(t){return e.$emit("Archive")}}},[e._v("Yes")]):e._e(),e.closeVisible?t("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",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 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()},i=[],r=(s(7658),s(4856)),l=s(1496),o={components:{XIcon:r.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=>{l.Z.push({path:"/solidify/rereview",query:{learner_task_id:e}})},t=e=>{window.location.href=e};return{applyReview:e,navigate:t}}},n=o,c=s(1001),u=(0,c.Z)(n,a,i,!1,null,null,null),d=u.exports},5316:function(e,t,s){s.d(t,{Z:function(){return u}});var a=function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"lg:px-24 md:px-24 px-6 flex flex-col md:flex-row justify-between items-center"},[t("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2 md:order-1 order-2 w-full"},["infinity"===e.program?t("span",[e._v(e._s(e.proficiency)+" - ")]):e._e(),e._v(e._s(e.skill)+" ")]),t("div",{staticClass:"my-2 md:order-2 order-1 w-full"},[t("div",{staticClass:"text-blue-900 md:text-lg text-sm text-right"},[e._v("Hi, "+e._s(e.username))])])])},i=[],r=s(7203),l=(0,r.defineComponent)({name:"Greetings",props:{proficiency:{type:String,default:""},skill:{type:String,default:""},program:{type:String,default:""}},setup(){const e=(0,r.ref)("");return(0,r.onBeforeMount)((async()=>{const t=localStorage.getItem("userName")||"Learner";e.value=t.split(",").reverse().join(" ")})),{username:e}}}),o=l,n=s(1001),c=(0,n.Z)(o,a,i,!1,null,null,null),u=c.exports},7625:function(e,t,s){s.r(t),s.d(t,{default:function(){return h}});var a=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.revieweeDetails?t("div",{staticClass:"flex"},[t("div",{staticClass:"w-full pt-12"},[t("Greetings",{attrs:{program:e.programId,proficiency:e.proficiency,skill:e.skill}}),e._m(0),t("div",{staticClass:"box-overflow1 mx-4 lg:mx-24 md:mx-24 lg:mt-6 md:mt-6 mt-3 text-sm"},[t("div",{staticClass:"bloc text-2xl text-center text-background-secondary"},[e._v(e._s(e.revieweeDetails.reviewee_count_string))]),t("div",{staticClass:"block"},[t("div",{staticClass:"text-gray-600"},[t("div",{staticClass:"mt-4 p-8 border border-gray-300 lg:mr-6 md:mr-6 mr-0"},["infinity"===e.programId?t("div",{},[t("p",[e._v("To complete final phase of Solidify, ensure you complete three peer reviews.")]),t("p",{staticClass:"pt-2"},[e._v(" Your prompt completion of reviewing 3 peer submissions are essential as other learners are waiting to complete their Solidify. Ideally, it takes 10-15 minutes to complete each review. Delayed peer review might lead to reassignment of submission to another peer. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?t("p",{staticClass:"pt-2"},[e._v("Please note that you need to be on a desktop to download the task, as the review function will not work on mobile devices or tablets.")]):e._e(),e._m(1),e.isPlagiarismEnabled?t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v('Read the "'),t("strong",[e._v("Learner's task submission")]),e._v('".')]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Download the learner's submission.")]):e._e(),e._m(2),e._m(3),t("li",[e._v(" Remember, plagiarism is an integrity violation. Citing works is perfectly acceptable, and you will need to use some judgment when marking a task as plagiarized. When you mark a task as plagiarized you are saying it was directly copied from other sources, the task is an integrity violation, and it will be failed. ")]),t("li",[e._v("If the task is not plagiarized, review and score the task by referring to the scoring rubric")]),t("li",[e._v("Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task!")]),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])]):e._e(),e.isPlagiarismEnabled?e._e():t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Read the learner’s submission.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Download the learner's task submission.")]):e._e(),t("li",[e._v("Score the task using the scoring rubric.")]),t("li",[e._v("Provide specific feedback in the reviewer comment box, mentioning both strengths and areas for improvement.")]),t("li",[e._v("Repeat the process until all reviews are finished.")])])]):e._e(),"infinity"!==e.programId?t("div",{},[t("p",[e._v("Welcome to the review stage of Solidify. You must complete "+e._s(e.revieweeDetails.mandatory_reviews)+" reviews to pass Solidify.")]),t("p",{staticClass:"pt-2"},[e._v(" A single review should take about 15 minutes, but if needed you can leave this page and come back. Remember, other learners are waiting on you to complete their own Solidify, so please do the review as soon as possible. If you have not done this review "),t("strong",[e._v("within "+e._s(e.reviewerHoldTime)+" hours")]),e._v(", it could be assigned to someone else and you will need to review a different task. ")]),"Desktop"==e.revieweeDetails.task_details.task_type?t("p",{staticClass:"pt-2"},[e._v("You must be on a desktop to download the task. This review will not work on a mobile device or tablet.")]):e._e(),e._m(4),t("ol",{staticClass:"list-decimal pl-8 mt-1"},[t("li",[e._v("Read the Task Description.")]),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Read the learner's "),t("strong",[e._v("submission")]),e._v(".")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Click the “"),t("strong",[e._v("Download Learner Task submission")]),e._v("” button to open the learner’s task.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v("Review and score the task by referring to the scoring rubric.")]):e._e(),"Desktop"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("li",[e._v(" Share your feedback in the reviewer comment box. Be specific about what you liked and what could be improved. These comments will be seen by whoever submitted the task! ")]):e._e(),t("li",[e._v("Do the whole process again until you have finished all your reviews!")])])]):e._e(),t("div",{staticClass:"mt-8"},[t("p",[t("strong",[e._v("Task Name")]),e._v(": "+e._s(e.revieweeDetails.task_details.task_name))]),e._m(5),t("p",{staticClass:"pt-2 rich-text-formatter",domProps:{innerHTML:e._s(e.revieweeDetails.task_details.description)}})]),"Desktop"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"text-left"},[t("button",{staticClass:"inline-block mt-2 py-2 px-4 bg-blue-900 text-white shadow-md hover:bg-blue-900 focus:outline-none focus:ring-2 focus:ring-blue-900 focus:ring-opacity-75",on:{click:e.learnerSubmissionClicked}},[e._v(" Download Learner Task Submission ")])]):e._e(),"Mobile"==e.revieweeDetails.task_details.task_type?t("div",{staticClass:"mt-2"},[e._m(6),t("p",[e._v(e._s(e.revieweeDetails.learner_submission))])]):e._e(),t("div",{staticClass:"mt-8"},["infinity"===e.programId?t("p",[e._v("Please do not include any self-identifying information.")]):e._e(),e.isPlagiarismEnabled?t("div",{staticClass:"border border-background-secondary p-4 mt-2"},[e._m(7),e._m(8),e._m(9),t("div",{staticClass:"mt-1 text-sm"},[t("div",{staticClass:"checkboxNewUi"},[t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_yes"},domProps:{value:!0,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!0)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!0,l=e._i(s,r);a.checked?l<0&&(e.plagiarismCheckOne=s.concat([r])):l>-1&&(e.plagiarismCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!0)}],click:e.checkOne}}),e._m(10)]),t("div",{staticClass:"checkboxUi"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.plagiarismCheckOne,expression:"plagiarismCheckOne"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"plagriarism_check_no"},domProps:{value:!1,checked:Array.isArray(e.plagiarismCheckOne)?e._i(e.plagiarismCheckOne,!1)>-1:e.plagiarismCheckOne},on:{change:[function(t){var s=e.plagiarismCheckOne,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!1,l=e._i(s,r);a.checked?l<0&&(e.plagiarismCheckOne=s.concat([r])):l>-1&&(e.plagiarismCheckOne=s.slice(0,l).concat(s.slice(l+1)))}else e.plagiarismCheckOne=i},function(t){return e.checkPlagiarised(t,!1)}],click:e.checkOne}}),e._m(11)])])]),e.showplagiarismUpload?t("div",{staticClass:"mt-6 w-full flex justify-left items-start"},[t("div",{staticClass:"w-1/2 pr-8 border-r-1 border-gray-500",class:e.accessRestrictionCheck?"disabledbutton":""},[e._m(12),t("div",{staticClass:"flex pt-2 items-center gap-2",staticStyle:{"max-width":"250px"}},[t("input",{key:e.fileInputKey,staticStyle:{width:"80%"},attrs:{type:"file",accept:".png,.PNG"},on:{change:e.selectedFile}}),e.plagiarismSubmissionFile?t("x-icon",{staticClass:"cursor-pointer",attrs:{size:"1.5x"},on:{click:function(t){return e.clearFile()}}}):e._e()],1),t("p",{staticClass:"pt-1 text-[14px]"},[e._v("Maximum file size: 5 MB")])]),t("div",{staticClass:"w-1/2 checkboxNewUi",class:e.plagiarismSubmissionFile?"disabledbutton":""},[t("div",{staticClass:"checkboxUi w-3/4"},[t("input",{directives:[{name:"model",rawName:"v-model",value:e.accessRestrictionCheck,expression:"accessRestrictionCheck"}],staticClass:"cursor-pointer",attrs:{type:"checkbox",id:"access_restriction"},domProps:{value:!1,checked:Array.isArray(e.accessRestrictionCheck)?e._i(e.accessRestrictionCheck,!1)>-1:e.accessRestrictionCheck},on:{change:function(t){var s=e.accessRestrictionCheck,a=t.target,i=!!a.checked;if(Array.isArray(s)){var r=!1,l=e._i(s,r);a.checked?l<0&&(e.accessRestrictionCheck=s.concat([r])):l>-1&&(e.accessRestrictionCheck=s.slice(0,l).concat(s.slice(l+1)))}else e.accessRestrictionCheck=i}}}),t("label",{attrs:{for:"access_restriction"}},[e._v("I am unable to upload proof as I am working in an access restricted environment.")])])])]):e._e()]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",[e._m(13),t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[t("strong",[e._v("1")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),e._v(") - No evidence of meeting the performance expectation or learning goal. ")]),t("li",[t("strong",[e._v("2")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),e._v(") - Little evidence of meeting the performance expectation or learning goal. ")]),t("li",[t("strong",[e._v("3")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.average?e.likertScale.average:"Average"))]),e._v(") - Some evidence of meeting the performance expectation or learning goal. ")]),t("li",[t("strong",[e._v("4")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),e._v(") - Evidence of meeting the required performance expectation or learning goal. ")]),t("li",[t("strong",[e._v("5")]),e._v(" ("),t("strong",[e._v(e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))]),e._v(") - Evidence of exceeding the performance expectation or learning goal. ")])])]):e._e(),!e.isPlagiarised||e.isPlagiarised&&!e.isPlagiarizedChecked?t("div",{staticClass:"mt-6 p-8 border border-gray-300 lg:mr-6 md:mr-6 mr-0"},e._l(e.revieweeDetails.task_details.task_questions,(function(s,a){return t("div",{key:a,staticClass:"mb-3"},[t("p",[t("b",[e._v("Checklist Question "+e._s(a+1))])]),t("div",{staticClass:"bg-gray-100 text-gray-700 py-1 px-2 text-sm border border-gray-300 mt-1"},[e._v(e._s(s.text))]),"Scale"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" 1 - "+e._s(e.likertScale.poor?e.likertScale.poor:"Poor"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"25"},domProps:{checked:e._q(s.response,"25")},on:{change:[function(t){return e.$set(s,"response","25")},e.enableSubmitButton]}}),e._v(" 2 - "+e._s(e.likertScale.below_average?e.likertScale.below_average:"Below Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"50"},domProps:{checked:e._q(s.response,"50")},on:{change:[function(t){return e.$set(s,"response","50")},e.enableSubmitButton]}}),e._v(" 3 - "+e._s(e.likertScale.average?e.likertScale.average:"Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"75"},domProps:{checked:e._q(s.response,"75")},on:{change:[function(t){return e.$set(s,"response","75")},e.enableSubmitButton]}}),e._v(" 4 - "+e._s(e.likertScale.above_average?e.likertScale.above_average:"Above Average"))]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" 5 - "+e._s(e.likertScale.excellent?e.likertScale.excellent:"Excellent"))])]):e._e(),"Yes/No"==s.type?t("div",{staticClass:"mt-1 text-sm"},[t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"100"},domProps:{checked:e._q(s.response,"100")},on:{change:[function(t){return e.$set(s,"response","100")},e.enableSubmitButton]}}),e._v(" Yes")]),t("label",{staticClass:"lg:inline md:inline block lg:p-0 md:p-0 p-1 lg:mr-2 md:mr-2 mr-0"},[t("input",{directives:[{name:"model",rawName:"v-model",value:s.response,expression:"task.response"}],attrs:{disabled:!0===e.questionEnable,type:"radio",name:"q"+a,value:"0"},domProps:{checked:e._q(s.response,"0")},on:{change:[function(t){return e.$set(s,"response","0")},e.enableSubmitButton]}}),e._v(" No")])]):e._e()])})),0):e._e()]),t("div",{staticClass:"mb-3"},[t("p",[e._v("Please provide feedback in the text box below.")]),t("p",{staticClass:"pt-2"},[e._v("Comments are mandatory and will be sent to your peers. Be constructive, mentioning strengths and areas for improvement. Ensure your ratings align with your feedback.")]),t("p",[e._v("Share what you liked, and what you thought could be improved. The ratings should be in line with your feedback.")]),t("div",{staticClass:"mt-1"},[e._m(14),t("textarea",{directives:[{name:"model",rawName:"v-model",value:e.reviewerComment,expression:"reviewerComment"}],staticClass:"w-full px-3 py-1.5 text-base font-normal text-gray-700 bg-white bg-clip-padding border border-solid border-gray-300 focus:text-gray-700 focus:bg-white focus:border-blue-600 focus:outline-none",attrs:{maxlength:"10000",rows:"3",placeholder:""},domProps:{value:e.reviewerComment},on:{keyup:function(t){return e.checkQuestionLength(e.reviewerComment)},input:function(t){t.target.composing||(e.reviewerComment=t.target.value)}}}),t("div",[e.questionWordCount<10?t("div",{staticClass:"text-red-700"},[e._v("(Minimum 10 words required. Current word count - "+e._s(e.questionWordCount)+")")]):e._e()])])])]),t("div",{staticClass:"mt-6 mb-4 text-center"},[e.errorMessage?t("div",{staticClass:"text-red-700"},[e._v(e._s(e.errorMessage))]):e._e(),e.successMessage?t("div",{staticClass:"text-green-700"},[e._v(e._s(e.successMessage))]):e._e(),e._m(15),e.isPlagiarised?t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 text-white shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.finalPlagWarningPopup}},[e._v(" Submit Review ")]):t("button",{staticClass:"mt-2 inline-block py-2 px-4 border border-blue-900 text-white shadow-md",class:e.isButtonEnabled&&e.minReviewWordCount?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!(e.isButtonEnabled&&e.minReviewWordCount)},on:{click:e.submitReview}},[e._v(" Submit Review ")])])])])])],1)]):e._e(),t("GenericModal",{attrs:{"pop-up-image1":!0,"is-visible":e.modalVisible,message:e.modalMessage,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.confirmPlagiarism}}),t("GenericModal",{attrs:{"pop-up-image2":!0,"is-visible":e.modalVisible2,message:e.modalMessage2,"close-visible":!0,"archive-button":!0},on:{closeModal:e.cancelPlagiarism,Archive:e.submitReview}})],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)},i=[function(){var e=this,t=e._self._c;e._self._setupProxy;return t("div",{staticClass:"flex md:flex mt-6 mx-6 lg:pl-16 md:pl-16 lg:pr-24 md:pr-24 px-0 block"},[t("div",{staticClass:"ul-nav w-full"},[t("ul",[t("li",{staticClass:"active"},[e._v("Home")]),t("li",{staticClass:"active"},[e._v("Task")]),t("li",{staticClass:"active"},[e._v("Submit")]),t("li",{staticClass:"active"},[e._v("Peer Reviews")]),t("li",[e._v("Under Review")]),t("li",[e._v("Done!")])])])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("To complete the review :")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" Review the submission for plagiarism by checking against sites like "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")]),e._v(". ")]),e._v("Paste the text from the submission and click on scan for plagiarism. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("li",[e._v(" If the result shows significantly plagiarized, take a screenshot of the plagiarism and save it. then click “yes” for if the task was plagiarized and upload the screenshot you just saved. You must upload the evidence only in png format. The maximum file size is "),t("strong",[e._v("5MB")]),e._v(". If the submission is not plagiarised, mark no. ")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("To review the task:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Task Description")]),e._v(":")])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",[e._v("Learner's Submission:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("strong",[e._v("How to check for plagiarism - ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("ul",{staticClass:"mt-2 list-disc pl-8"},[t("li",[e._v(" Use the popular online plagiarism checkers like "),t("strong",[t("a",{staticClass:"underline",attrs:{href:"https://plagiarismdetector.net",target:"_blank"}},[e._v("plagiarismdetector.net")]),e._v(", "),t("a",{staticClass:"underline",attrs:{href:"https://check-plagiarism.com",target:"_blank"}},[e._v("check-plagiarism.com")]),e._v(" or "),t("a",{staticClass:"underline",attrs:{href:"https://smallseotools.com/plagiarism-checker/",target:"_blank"}},[e._v("smallseotools.com")]),e._v(" to assess for potential plagiarism")])]),t("li",[e._v('Paste the submitted text and click on "Scan for plagiarism".')]),t("li",[e._v("The results will indicate whether the submission contains plagiarized content.")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Did you find any evidence of plagiarism?")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("label",{attrs:{for:"plagriarism_check_yes"}},[t("strong",[e._v("Yes")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("label",{attrs:{for:"plagriarism_check_no"}},[t("strong",[e._v("No")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"w-3/4"},[t("strong",[e._v(" If the submission is significantly plagiarized, upload a screenshot of the evidence in .png format. ")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",{staticClass:"pt-2"},[t("strong",[e._v("Scoring Rubric:")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Reviewer Comment")])])},function(){var e=this,t=e._self._c;e._self._setupProxy;return t("p",[t("b",[e._v("Submit Review button will be disabled until you view the learner's submission.")])])}],r=(s(7658),s(7203)),l=s(306),o=s(4735),n=s(4856),c=s(1496),u=s(1920),d=s(6629),v=s(5316),p=s(9609),m=(0,r.defineComponent)({name:"LearnerSubmitTask",props:{query:{type:Object,default:()=>({})}},components:{ErrorMessage:o.Z,GenericModal:d.Z,XIcon:n.b0D,Greetings:v.Z},setup(e){const t=(0,r.ref)(!1),s=(0,r.ref)(),a=(0,r.ref)(!1),i=(0,r.ref)(""),o=(0,r.ref)(),n=(0,r.ref)(localStorage.getItem("skillId")),d=(0,r.ref)(localStorage.getItem("profId")),v=(0,r.ref)(localStorage.getItem("programId")),m=(0,r.ref)(localStorage.getItem("programName")),g=(0,r.ref)(),_=(0,r.ref)(),f=(0,r.ref)(),h=(0,r.ref)(),b=(0,r.ref)(),k=(0,r.ref)(),w=(0,r.ref)(),y=(0,r.ref)(!1),x=(0,r.ref)(!1),C=(0,r.ref)(!1),S=(0,r.ref)(!1),R=(0,r.ref)(),P=(0,r.ref)(),A=(0,r.ref)(),q=(0,r.ref)(),I=(0,r.ref)(),D=(0,r.ref)(),M=(0,r.ref)(),L=(0,r.ref)(),B=(0,r.ref)(localStorage.getItem("helpmateLink")),U=(0,r.ref)([]),T=(0,r.ref)(!1),Z=(0,r.ref)({}),E=(0,r.ref)(!1),N=' \n <div class="px-4">\n <div class="font-bold text-left mb-3"><strong>By selecting "Yes," you confirm the following: </strong></div>\n <ul class="list-disc text-left px-6">\n <li>The submission is extensively copied from the Internet without proper source referencing. </li>\n <li>The learner will receive a <strong>\'Fail\'</strong> notification, with a copy sent to the respective manager and HR. </li>\n </ul>\n </div>',G=(0,r.ref)(!1),O=(0,r.ref)(0),W=(0,r.ref)(!1),z=(0,r.ref)(0),j=(0,r.ref)(!1),V='<div class="px-4">\n <ul class="list-disc text-left px-6">\n <li>The learner will receive a <strong>\'Fail\'</strong> notification, with a copy sent to the respective manager and HR. </li>\n <li class="pt-2">Please confirm the review to proceed. </li>\n </ul>\n </div>',Y=e=>{O.value=e.split(" ").filter((e=>""!==e)).length,G.value=O.value>=10},J=()=>{U.value=[]},H=async()=>{z.value+=1,A.value=null};(0,r.onBeforeMount)((async()=>{try{o.value=e.query.learner_task_id,b.value=!1;const t=await(0,p.uZ)(`/learnerTaskToReview/${o.value}`),a=t.data;if(b.value=!0,a.data.is_learner_not_allowed&&(console.log("learner on hold submit task"),c.Z.push({path:"/solidify",query:{skill_id:n.value,proficiency_id:d.value,program_id:v.value}})),a.data.errorMessage)y.value=!0,k.value=a.data.errorMessage;else if(a.data.message)localStorage.setItem("message",a.data.message),c.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"yes",learnerTaskId:o.value,isProxyReview:"no",showChevron:"yes"}});else if("Need Reviewer"===a.data.learner_status||"Fail"===a.data.learner_status||"Passed"===a.data.learner_status)c.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:o.value}});else{s.value=a.data,Z.value=s.value.task_details.likertScale?s.value.task_details.likertScale:{},g.value=s.value.skill,_.value=s.value.proficiency;const e=parseInt(s.value.reviewer_hold_time_in_minutes,10)/60,t=!!s.value.is_plagiarism_enabled&&s.value.is_plagiarism_enabled;L.value=s.value.url_to_upload_plag_evidence,console.log(`plagiarismEnabled ${t}`),S.value=!0===t,Number.isInteger(e)?f.value=e:f.value=e.toFixed(2)}}catch(t){if(b.value=!0,l.Z.isAxiosError(t)){const e=t;k.value=e.response?.data?.message}else k.value="There is an issue while fetching peer learner task to review, please contact helpmate.";y.value=!0}}));const F=()=>{let e=!0;s.value.task_details.task_questions.forEach(((t,s)=>{console.log(`que.response ${t.response} index ${s}`),t.response?(console.log(`inside if allQuestionAnswered before${e}`),e=e&&!0):(console.log(`inside else allQuestionAnswered before ${e}`),e=e&&!1)})),console.log(`allQuestionAnswered ${JSON.stringify(e)} `),!e||"Desktop"===s.value.task_details.task_type&&!a.value?t.value=!1:t.value=!0,console.log(`isButtonEnabled ${JSON.stringify(t)} `)},X=async()=>{try{const e={file_name:s.value.learner_submission,task_id:s.value.reviewee_id};b.value=!1;const t=await(0,p.R1)("/v1/pretAuthUrlForDownload",e);h.value=t.data.preSignedUrl,await(0,p.ng)(h.value,s.value.learner_submission),b.value=!0,a.value=!0,F()}catch(e){if(b.value=!0,l.Z.isAxiosError(e)){const t=e;k.value=t.response?.data?.message}else k.value="There is an issue while donwloading learner submission, please contact helpmate.";y.value=!0}},Q=async e=>{try{const t=e.target.files[0],s=e.target.files[0].name,a=e.target.files[0].size/1024/1024;a>5?(R.value="fileSize greater than 5 MB",setTimeout((()=>{R.value=null}),6e3)):(A.value=t,q.value=s)}catch(t){A.value=null,q.value=null,console.log(t)}},K=async()=>{try{if(b.value=!1,S.value){if(console.log(`isPlagiarised.value ${w.value}`),w.value&&!W.value){if(!A.value)return b.value=!0,R.value="Please upload plagiarism evidence screenshot",void setTimeout((()=>{R.value=null}),6e3);if(D.value=q.value,console.log("ext.value",M.value),b.value=!1,console.log("evidenceFileName value",D.value),!q.value.endsWith("png")&&!q.value.endsWith("PNG"))return b.value=!0,R.value="You can upload only jpg, jpeg, and png",void setTimeout((()=>{R.value=null}),6e3);const e=await(0,u.G)("learnerStatus",s.value.reviewee_id);"Need Reviewer"!==e.data.current_status&&"Need Reviewer and Need Reviewee"!==e.data.current_status||(I.value=await(0,p.aQ)(L.value,A.value),w.value=!0)}if(void 0===w.value)return b.value=!0,R.value="Please Select Plagiarism Checkbox",void setTimeout((()=>{R.value=null}),6e3)}const e={reviewer_task_id:o.value,reviewee_task_id:s.value.reviewee_id,reviewer_comment:i.value,reviewer_response:s.value.task_details.task_questions,is_plagiarised:w.value,plagiarism_evidence:D.value},t=await(0,p.eZ)("/learnerReview",e),a=t.data;a.message&&(b.value=!1,localStorage.setItem("message",a.message),c.Z.push({name:"SolidifyLearnerStatus",query:{isPerformReviewVisible:"yes",learnerTaskId:o.value,isProxyReview:"no",showChevron:"yes"}})),"Need Reviewer and Need Reviewee"!==a.reviewer_updated_status&&"Need Reviewee"!==a.reviewer_updated_status||(b.value=!1,c.Z.push({name:"SolidifyLearnerPeerReview",query:{learner_task_id:o.value}}),c.Z.go(0)),"Need Reviewer"!==a.reviewer_updated_status&&"Passed"!==a.reviewer_updated_status&&"Fail"!==a.reviewer_updated_status||(b.value=!1,c.Z.push({name:"SolidifyLearnerDone",query:{learner_task_id:o.value}}))}catch(e){if(b.value=!0,l.Z.isAxiosError(e)){const t=e;k.value=t.response?.data?.message}else k.value="There is an issue while submitting peer review, please contact with helpmate.";y.value=!0}},$=()=>{E.value=!1,j.value=!1,w.value=void 0,T.value=!1;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,x.value=!1,F(),J()},ee=()=>{E.value=!1},te=async(e,t)=>{if(T.value=e.target.checked,console.log(`isPlagiarizedChecked ${T.value}`),w.value=t,console.log("isPlagiarised",{isPlagiarised:w.value}),!0===T.value&&!0===t){C.value=!0,E.value=!0;for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="0";x.value=!0,await F()}else if(!0===T.value&&!1===t){for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,x.value=!1,await F()}else{for(let e=0;e<s.value.task_details.task_questions.length;e+=1)s.value.task_details.task_questions[e].response="";C.value=!1,w.value=void 0,x.value=!1,await F()}},se=async()=>{j.value=!0};return{revieweeDetails:s,isButtonEnabled:t,enableSubmitButton:F,learnerSubmissionClicked:X,reviewerComment:i,submitReview:K,skill:g,proficiency:_,reviewerHoldTime:f,preSignedUrl:h,errorResponse:k,showErrorMessage:y,helpmateLink:B,renderReady:b,questionEnable:x,isPlagiarised:w,showplagiarismUpload:C,errorMessage:R,successMessage:P,selectedFile:Q,plagiarismSubmissionFile:A,plagiarismSubmission:q,isPlagiarismEnabled:S,evidenceFileName:D,checkPlagiarised:te,programId:v,programName:m,ext:M,plagUrlForUpload:L,plagiarismCheckOne:U,isPlagiarizedChecked:T,checkOne:J,likertScale:Z,confirmPlagiarism:ee,cancelPlagiarism:$,modalVisible:E,modalMessage:N,checkQuestionLength:Y,minReviewWordCount:G,questionWordCount:O,accessRestrictionCheck:W,clearFile:H,fileInputKey:z,modalVisible2:j,finalPlagWarningPopup:se,modalMessage2:V}}}),g=m,_=s(1001),f=(0,_.Z)(g,a,i,!1,null,"93b88f70",null),h=f.exports},1920:function(e,t,s){s.d(t,{G:function(){return i}});var a=s(7129);const i=async(e,t)=>{const s=await a.Z.get(`${e}/${t}`);return s}},9609:function(e,t,s){s.d(t,{R1:function(){return i},Yo:function(){return l},aQ:function(){return c},eZ:function(){return o},ng:function(){return n},uZ:function(){return r}});var a=s(7129);const i=async(e,t)=>{const s=await a.Z.post(e,t);return s},r=async e=>{const t=await a.Z.get(e);return t},l=async e=>{const t=await a.Z.get(`learnerTaskToProxyReview/${e}`);return t},o=async(e,t)=>{const s=await a.Z.post(e,t);return s},n=async(e,t)=>{console.log(t),console.log(e);const s=await fetch(e),a=await s.blob(),i=URL.createObjectURL(a),r=document.createElement("a");r.setAttribute("download",t),r.href=i,document.body.appendChild(r),r.click(),document.body.removeChild(r),URL.revokeObjectURL(i)},c=async(e,t)=>{try{const s=await fetch(`${e}`,{method:"put",body:t}),a=s;return a}catch(s){return console.error(s),s}}},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"},6540:function(e){e.exports="data:image/png;base64,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"}}]);
|
|
2
2
|
//# sourceMappingURL=solidify.umd.min.SolidifyLearnerPeerReview.js.map
|