@genpact/genome.mfe.solidify-app 1.17.2-alpha.193 → 1.17.2-alpha.195

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1 +1 @@
1
- .modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:#000000da}.modal{text-align:center;background-color:#fff;height:200px;width:500px;margin-top:10%;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}.ul-nav ul[data-v-ea90f80a]{display:flex;width:100%}.ul-nav ul li.active[data-v-ea90f80a]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-ea90f80a]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-ea90f80a]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-ea90f80a]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-ea90f80a]{padding-left:20px!important}.box-overflow1[data-v-ea90f80a]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-ea90f80a]{overflow-x:scroll}.box-overflow1[data-v-ea90f80a]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-9c6ea3fc]{display:flex;width:100%}.ul-nav ul li.active[data-v-9c6ea3fc]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-9c6ea3fc]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-9c6ea3fc]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-9c6ea3fc]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-9c6ea3fc]{padding-left:20px!important}.box-overflow1[data-v-9c6ea3fc]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-9c6ea3fc]{overflow-x:scroll}.box-overflow1[data-v-9c6ea3fc]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-4a21e0a8]{display:flex;width:100%}.ul-nav ul li.active[data-v-4a21e0a8]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-4a21e0a8]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-4a21e0a8]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-4a21e0a8]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-4a21e0a8]{padding-left:20px!important;margin-right:10px!important}.box-overflow1[data-v-4a21e0a8]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-4a21e0a8]{overflow-x:scroll}.box-overflow1[data-v-4a21e0a8]{max-height:none;overflow-y:auto}}
1
+ .modal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;display:flex;justify-content:center;background-color:#000000da}.modal{text-align:center;background-color:#fff;height:200px;width:500px;margin-top:10%;padding:40px 0}p{font-size:16px;margin:20px 0}.modal-fade-enter,.modal-fade-leave-to{opacity:0}.modal-fade-enter-active,.modal-fade-leave-active{transition:opacity .5s ease}.ul-nav ul[data-v-720abafa]{display:flex;width:100%}.ul-nav ul li.active[data-v-720abafa]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-720abafa]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-720abafa]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-720abafa]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-720abafa]{padding-left:20px!important}.box-overflow1[data-v-720abafa]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-720abafa]{overflow-x:scroll}.box-overflow1[data-v-720abafa]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-9c6ea3fc]{display:flex;width:100%}.ul-nav ul li.active[data-v-9c6ea3fc]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-9c6ea3fc]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-9c6ea3fc]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-9c6ea3fc]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-9c6ea3fc]{padding-left:20px!important}.box-overflow1[data-v-9c6ea3fc]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-9c6ea3fc]{overflow-x:scroll}.box-overflow1[data-v-9c6ea3fc]{max-height:none;overflow-y:auto}}.ul-nav ul[data-v-4a21e0a8]{display:flex;width:100%}.ul-nav ul li.active[data-v-4a21e0a8]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-4a21e0a8]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-4a21e0a8]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-4a21e0a8]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-4a21e0a8]{padding-left:20px!important;margin-right:10px!important}.box-overflow1[data-v-4a21e0a8]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-4a21e0a8]{overflow-x:scroll}.box-overflow1[data-v-4a21e0a8]{max-height:none;overflow-y:auto}}
@@ -1 +1 @@
1
- .ul-nav ul[data-v-00025376]{display:flex;width:100%}.ul-nav ul li.active[data-v-00025376]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-00025376]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-00025376]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-00025376]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-00025376]{padding-left:20px!important}.box-overflow1[data-v-00025376]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-00025376]{overflow-x:scroll}.box-overflow1[data-v-00025376]{max-height:none;overflow-y:auto}.ul-nav li[data-v-00025376]:first-child{display:none}}
1
+ .ul-nav ul[data-v-c0b08d26]{display:flex;width:100%}.ul-nav ul li.active[data-v-c0b08d26]{background:#00adcf!important;color:#fff!important}.ul-nav ul li[data-v-c0b08d26]:before{content:"";background:#fff;width:31px;height:32px;position:absolute;z-index:0;left:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-c0b08d26]{margin-right:2px!important;list-style:none;flex:1;padding:10px;text-align:center;position:relative;border-width:1px 0 1px 1px;border-style:solid;border-color:#d9d9d9;background-color:#eee;color:#979797;font-size:16px;min-width:175px;margin:8px 10px}.ul-nav ul li[data-v-c0b08d26]:after{content:"";background:inherit;width:31px;height:32px;position:absolute;z-index:1;right:-16px;top:5px;transform:rotate(45deg);border-top:1px solid #d9d9d9;border-right:1px solid #d9d9d9}.ul-nav ul li[data-v-c0b08d26]{padding-left:20px!important}.box-overflow1[data-v-c0b08d26]{max-height:68vh;overflow-y:auto}@media screen and (max-width:768px){.ul-nav[data-v-c0b08d26]{overflow-x:scroll}.box-overflow1[data-v-c0b08d26]{max-height:none;overflow-y:auto}.ul-nav li[data-v-c0b08d26]:first-child{display:none}}
@@ -1,4 +1,4 @@
1
- (("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[951],{8957:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return et}});var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[t._m(0),t.renderReady?e("div",{staticClass:"w-full mt-4"},[t.showSuccessMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.showErrorMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.taskDetails?e("div",{staticClass:"max-w-4xl m-auto shadow p-5 -text-blue-900"},[e("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Name ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.task_name,expression:"taskDetails.task_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.task_name},on:{input:function(e){e.target.composing||t.$set(t.taskDetails,"task_name",e.target.value)}}})]),e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Description ")]),e("vue-editor",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",model:{value:t.taskDetails.description,callback:function(e){t.$set(t.taskDetails,"description",e)},expression:"taskDetails.description"}})],1),e("div",{staticClass:"w-1/2 px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Is Archive ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.is_archive,expression:"taskDetails.is_archive"}],staticClass:"radio-button text-background-secondary pr-2",attrs:{type:"radio",value:"true",name:"isArchive"},domProps:{checked:t._q(t.taskDetails.is_archive,"true")},on:{change:function(e){return t.$set(t.taskDetails,"is_archive","true")}}}),e("span",{staticClass:"text-background-secondary px-2"},[t._v("True")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.is_archive,expression:"taskDetails.is_archive"}],staticClass:"radio-button text-background-secondary",attrs:{type:"radio",value:"false",name:"isArchive"},domProps:{checked:t._q(t.taskDetails.is_archive,"false")},on:{change:function(e){return t.$set(t.taskDetails,"is_archive","false")}}}),e("span",{staticClass:"text-background-secondary px-2"},[t._v("False")])]),e("div",{staticClass:"w-1/2 px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Check For Plagiarism ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.checkForPlagiarism,expression:"taskDetails.checkForPlagiarism"}],staticClass:"radio-button text-background-secondary pr-2",attrs:{type:"radio",value:"true",name:"checkForPlagiarism"},domProps:{checked:t._q(t.taskDetails.checkForPlagiarism,"true")},on:{change:function(e){return t.$set(t.taskDetails,"checkForPlagiarism","true")}}}),e("span",{staticClass:"text-background-secondary px-2"},[t._v("True")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.checkForPlagiarism,expression:"taskDetails.checkForPlagiarism"}],staticClass:"radio-button text-background-secondary",attrs:{type:"radio",value:"false",name:"checkForPlagiarism"},domProps:{checked:t._q(t.taskDetails.checkForPlagiarism,"false")},on:{change:function(e){return t.$set(t.taskDetails,"checkForPlagiarism","false")}}}),e("span",{staticClass:"text-background-secondary px-2"},[t._v("False")])]),e("div",{staticClass:"m-auto shadow border border-gray-200 p-5 px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Likert Scale ")]),e("div",{staticClass:"w-full flex justify-between"},[e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Poor ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.poor,expression:"taskDetails.likertScale.poor"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.poor},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"poor",e.target.value)}}})]),e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Below Average ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.below_average,expression:"taskDetails.likertScale.below_average"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.below_average},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"below_average",e.target.value)}}})]),e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Average ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.average,expression:"taskDetails.likertScale.average"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.average},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"average",e.target.value)}}})]),e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Above Average ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.above_average,expression:"taskDetails.likertScale.above_average"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.above_average},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"above_average",e.target.value)}}})]),e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Excellent ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.excellent,expression:"taskDetails.likertScale.excellent"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.excellent},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"excellent",e.target.value)}}})])])]),e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Use Weighted Values? ")]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.is_weighted,expression:"taskDetails.is_weighted"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.taskDetails,"is_weighted",e.target.multiple?n:n[0])}}},[e("option"),e("option",{attrs:{value:"false"}},[t._v("No")]),e("option",{attrs:{value:"true"}},[t._v("Yes")])])]),e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Type ")]),e("input",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text",disabled:""},domProps:{value:t.taskDetails.task_type}})]),t._l(t.taskDetails.task_questions,(function(n,r){return e("div",{key:r,staticClass:"w-full p-2 bg-gray-100"},[e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Checklist "+t._s(r+1)+" ")]),e("textarea",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},domProps:{value:n.text}})]),e("div",{staticClass:"flex"},[e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Question Type ")]),e("select",{directives:[{name:"model",rawName:"v-model",value:n.type,expression:"question.type"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(n,"type",e.target.multiple?r:r[0])}}},[e("option",{attrs:{value:"Yes/No"}},[t._v("Yes/No")]),e("option",{attrs:{value:"Scale"}},[t._v("Scale")])])])])])})),e("div",{staticClass:"w-full px-3 text-center mt-4"},[e("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{path:"taskManagement"}}},[t._v(" Back ")]),t.showUpdate?e("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 inline-block",on:{click:function(e){return t.updateRecord()}}},[t._v("Update")]):t._e()],1)],2)]):t._e()]):t._e(),t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n(9756),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access this page")])])},o=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl -text-blue-900"},[t._v("Task Details")])])}],i=n(7203),l=(n(7658),n(2801),n(6431)),a=n.n(l),s=[[{header:[!1,1,2,3,4,5,6]}],["bold","italic","underline","strike"],[{align:""},{align:"center"},{align:"right"},{align:"justify"}],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"},{list:"check"}],[{indent:"-1"},{indent:"+1"}],[{color:[]},{background:[]}],["link","image","video"],["clean"]],u={props:{customModules:Array},methods:{registerCustomModules:function(t){void 0!==this.customModules&&this.customModules.forEach((function(e){t.register("modules/"+e.alias,e.module)}))}}};function c(t){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),t}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}function v(t,e){return v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},v(t,e)}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?b(t):e}function m(t,e){return q(t)||w(t,e)||k()}function q(t){if(Array.isArray(t))return t}function w(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done);r=!0)if(n.push(l.value),e&&n.length===e)break}catch(s){o=!0,i=s}finally{try{r||null==a["return"]||a["return"]()}finally{if(o)throw i}}return n}function k(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _(t,e){var n=function(t){return t&&"object"===c(t)};return n(t)&&n(e)?(Object.keys(e).forEach((function(r){var o=t[r],i=e[r];Array.isArray(o)&&Array.isArray(i)?t[r]=o.concat(i):n(o)&&n(i)?t[r]=_(Object.assign({},o),i):t[r]=i})),t):e}var x=a()["import"]("blots/block/embed"),O=function(t){function e(){return f(this,e),g(this,y(e).apply(this,arguments))}return h(e,t),e}(x);O.blotName="hr",O.tagName="hr",a().register("formats/horizontal",O);var E=function(){function t(e,n){var r=this;f(this,t),this.quill=e,this.options=n,this.ignoreTags=["PRE"],this.matches=[{name:"header",pattern:/^(#){1,6}\s/g,action:function(t,e,n){var o=n.exec(t);if(o){var i=o[0].length;setTimeout((function(){r.quill.formatLine(e.index,0,"header",i-1),r.quill.deleteText(e.index-i,i)}),0)}}},{name:"blockquote",pattern:/^(>)\s/g,action:function(t,e){setTimeout((function(){r.quill.formatLine(e.index,1,"blockquote",!0),r.quill.deleteText(e.index-2,2)}),0)}},{name:"code-block",pattern:/^`{3}(?:\s|\n)/g,action:function(t,e){setTimeout((function(){r.quill.formatLine(e.index,1,"code-block",!0),r.quill.deleteText(e.index-4,4)}),0)}},{name:"bolditalic",pattern:/(?:\*|_){3}(.+?)(?:\*|_){3}/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{bold:!0,italic:!0}),r.quill.format("bold",!1)}),0)}},{name:"bold",pattern:/(?:\*|_){2}(.+?)(?:\*|_){2}/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{bold:!0}),r.quill.format("bold",!1)}),0)}},{name:"italic",pattern:/(?:\*|_){1}(.+?)(?:\*|_){1}/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{italic:!0}),r.quill.format("italic",!1)}),0)}},{name:"strikethrough",pattern:/(?:~~)(.+?)(?:~~)/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{strike:!0}),r.quill.format("strike",!1)}),0)}},{name:"code",pattern:/(?:`)(.+?)(?:`)/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{code:!0}),r.quill.format("code",!1),r.quill.insertText(r.quill.getSelection()," ")}),0)}},{name:"hr",pattern:/^([-*]\s?){3}/g,action:function(t,e){var n=e.index-t.length;setTimeout((function(){r.quill.deleteText(n,t.length),r.quill.insertEmbed(n+1,"hr",!0,a().sources.USER),r.quill.insertText(n+2,"\n",a().sources.SILENT),r.quill.setSelection(n+2,a().sources.SILENT)}),0)}},{name:"asterisk-ul",pattern:/^(\*|\+)\s$/g,action:function(t,e,n){setTimeout((function(){r.quill.formatLine(e.index,1,"list","unordered"),r.quill.deleteText(e.index-2,2)}),0)}},{name:"image",pattern:/(?:!\[(.+?)\])(?:\((.+?)\))/g,action:function(t,e,n){var o=t.search(n),i=t.match(n)[0],l=t.match(/(?:\((.*?)\))/g)[0],a=e.index-i.length-1;-1!==o&&setTimeout((function(){r.quill.deleteText(a,i.length),r.quill.insertEmbed(a,"image",l.slice(1,l.length-1))}),0)}},{name:"link",pattern:/(?:\[(.+?)\])(?:\((.+?)\))/g,action:function(t,e,n){var o=t.search(n),i=t.match(n)[0],l=t.match(/(?:\[(.*?)\])/g)[0],a=t.match(/(?:\((.*?)\))/g)[0],s=e.index-i.length-1;-1!==o&&setTimeout((function(){r.quill.deleteText(s,i.length),r.quill.insertText(s,l.slice(1,l.length-1),"link",a.slice(1,a.length-1))}),0)}}],this.quill.on("text-change",(function(t,e,n){for(var o=0;o<t.ops.length;o++)t.ops[o].hasOwnProperty("insert")&&(" "===t.ops[o].insert?r.onSpace():"\n"===t.ops[o].insert&&r.onEnter())}))}return p(t,[{key:"isValid",value:function(t,e){return"undefined"!==typeof t&&t&&-1===this.ignoreTags.indexOf(e)}},{key:"onSpace",value:function(){var t=this.quill.getSelection();if(t){var e=this.quill.getLine(t.index),n=m(e,2),r=n[0],o=n[1],i=r.domNode.textContent,l=t.index-o;if(this.isValid(i,r.domNode.tagName)){var a=!0,s=!1,u=void 0;try{for(var c,f=this.matches[Symbol.iterator]();!(a=(c=f.next()).done);a=!0){var d=c.value,p=i.match(d.pattern);if(p)return console.log("matched:",d.name,i),void d.action(i,t,d.pattern,l)}}catch(h){s=!0,u=h}finally{try{a||null==f.return||f.return()}finally{if(s)throw u}}}}}},{key:"onEnter",value:function(){var t=this.quill.getSelection();if(t){var e=this.quill.getLine(t.index),n=m(e,2),r=n[0],o=n[1],i=r.domNode.textContent+" ",l=t.index-o;if(t.length=t.index++,this.isValid(i,r.domNode.tagName)){var a=!0,s=!1,u=void 0;try{for(var c,f=this.matches[Symbol.iterator]();!(a=(c=f.next()).done);a=!0){var d=c.value,p=i.match(d.pattern);if(p)return console.log("matched",d.name,i),void d.action(i,t,d.pattern,l)}}catch(h){s=!0,u=h}finally{try{a||null==f.return||f.return()}finally{if(s)throw u}}}}}}]),t}(),N={name:"VueEditor",mixins:[u],props:{id:{type:String,default:"quill-container"},placeholder:{type:String,default:""},value:{type:String,default:""},disabled:{type:Boolean},editorToolbar:{type:Array,default:function(){return[]}},editorOptions:{type:Object,required:!1,default:function(){return{}}},useCustomImageHandler:{type:Boolean,default:!1},useMarkdownShortcuts:{type:Boolean,default:!1}},data:function(){return{quill:null}},watch:{value:function(t){t==this.quill.root.innerHTML||this.quill.hasFocus()||(this.quill.root.innerHTML=t)},disabled:function(t){this.quill.enable(!t)}},mounted:function(){this.registerCustomModules(a()),this.registerPrototypes(),this.initializeEditor()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initializeEditor:function(){this.setupQuillEditor(),this.checkForCustomImageHandler(),this.handleInitialContent(),this.registerEditorEventListeners(),this.$emit("ready",this.quill)},setupQuillEditor:function(){var t={debug:!1,modules:this.setModules(),theme:"snow",placeholder:this.placeholder?this.placeholder:"",readOnly:!!this.disabled&&this.disabled};this.prepareEditorConfig(t),this.quill=new(a())(this.$refs.quillContainer,t)},setModules:function(){var t={toolbar:this.editorToolbar.length?this.editorToolbar:s};return this.useMarkdownShortcuts&&(a().register("modules/markdownShortcuts",E,!0),t["markdownShortcuts"]={}),t},prepareEditorConfig:function(t){Object.keys(this.editorOptions).length>0&&this.editorOptions.constructor===Object&&(this.editorOptions.modules&&"undefined"!==typeof this.editorOptions.modules.toolbar&&delete t.modules.toolbar,_(t,this.editorOptions))},registerPrototypes:function(){a().prototype.getHTML=function(){return this.container.querySelector(".ql-editor").innerHTML},a().prototype.getWordCount=function(){return this.container.querySelector(".ql-editor").innerText.length}},registerEditorEventListeners:function(){this.quill.on("text-change",this.handleTextChange),this.quill.on("selection-change",this.handleSelectionChange),this.listenForEditorEvent("text-change"),this.listenForEditorEvent("selection-change"),this.listenForEditorEvent("editor-change")},listenForEditorEvent:function(t){var e=this;this.quill.on(t,(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.$emit.apply(e,[t].concat(r))}))},handleInitialContent:function(){this.value&&(this.quill.root.innerHTML=this.value)},handleSelectionChange:function(t,e){!t&&e?this.$emit("blur",this.quill):t&&!e&&this.$emit("focus",this.quill)},handleTextChange:function(t,e){var n="<p><br></p>"===this.quill.getHTML()?"":this.quill.getHTML();this.$emit("input",n),this.useCustomImageHandler&&this.handleImageRemoved(t,e)},handleImageRemoved:function(t,e){var n=this,r=this.quill.getContents(),o=r.diff(e),i=o.ops;i.map((function(t){if(t.insert&&t.insert.hasOwnProperty("image")){var e=t.insert.image;n.$emit("image-removed",e)}}))},checkForCustomImageHandler:function(){!0===this.useCustomImageHandler&&this.setupCustomImageHandler()},setupCustomImageHandler:function(){var t=this.quill.getModule("toolbar");t.addHandler("image",this.customImageHandler)},customImageHandler:function(){this.$refs.fileInput.click()},emitImageInfo:function(t){var e=function(){var t=document.getElementById("file-upload");t.value=""},n=t.target.files[0],r=this.quill,o=r.getSelection(),i=o.index;this.$emit("image-added",n,r,i,e)}}};function A(t,e,n,r,o,i,l,a,s,u){"boolean"!==typeof l&&(s=a,a=l,l=!1);var c,f="function"===typeof n?n.options:n;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,o&&(f.functional=!0)),r&&(f._scopeId=r),i?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,s(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=c):e&&(c=l?function(){e.call(this,u(this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(f.functional){var d=f.render;f.render=function(t,e){return c.call(e),d(t,e)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,c):[c]}return n}var j,T=A,S="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function C(t){return function(t,e){return L(t,e)}}var P={};function L(t,e){var n=S?e.media||"default":t,r=P[n]||(P[n]={ids:new Set,styles:[]});if(!r.ids.has(t)){r.ids.add(t);var o=e.source;if(e.map&&(o+="\n/*# sourceURL="+e.map.sources[0]+" */",o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",e.media&&r.element.setAttribute("media",e.media),void 0===j&&(j=document.head||document.getElementsByTagName("head")[0]),j.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(o),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var i=r.ids.size-1,l=document.createTextNode(o),a=r.element.childNodes;a[i]&&r.element.removeChild(a[i]),a.length?r.element.insertBefore(l,a[i]):r.element.appendChild(l)}}}var M=C;const R=N;var I=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"quillWrapper"},[t._t("toolbar"),t._v(" "),n("div",{ref:"quillContainer",attrs:{id:t.id}}),t._v(" "),t.useCustomImageHandler?n("input",{ref:"fileInput",staticStyle:{display:"none"},attrs:{id:"file-upload",type:"file",accept:"image/*"},on:{change:function(e){return t.emitImageInfo(e)}}}):t._e()],2)},D=[];const B=function(t){t&&(t("data-v-776e788e_0",{source:"/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:0;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li::before{content:'\\2022'}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li::before,.ql-editor ul[data-checked=true]>li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li::before{content:'\\2611'}.ql-editor ul[data-checked=false]>li::before{content:'\\2610'}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) '. '}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) '. '}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) '. '}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) '. '}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) '. '}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) '. '}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) '. '}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) '. '}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) '. '}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:'';display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:0 0;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:0}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item::before,.ql-snow .ql-picker.ql-header .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item::before,.ql-snow .ql-picker.ql-font .ql-picker-label::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item::before,.ql-snow .ql-picker.ql-size .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:\"Visit URL:\";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:\"Enter link:\"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:\"Enter formula:\"}.ql-snow .ql-tooltip[data-mode=video]::before{content:\"Enter video:\"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}",map:void 0,media:void 0}),t("data-v-776e788e_1",{source:".ql-editor{min-height:200px;font-size:16px}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1px!important}.quillWrapper .ql-snow.ql-toolbar{padding-top:8px;padding-bottom:4px}.quillWrapper .ql-snow.ql-toolbar .ql-formats{margin-bottom:10px}.ql-snow .ql-toolbar button svg,.quillWrapper .ql-snow.ql-toolbar button svg{width:22px;height:22px}.quillWrapper .ql-editor ul[data-checked=false]>li::before,.quillWrapper .ql-editor ul[data-checked=true]>li::before{font-size:1.35em;vertical-align:baseline;bottom:-.065em;font-weight:900;color:#222}.quillWrapper .ql-snow .ql-stroke{stroke:rgba(63,63,63,.95);stroke-linecap:square;stroke-linejoin:initial;stroke-width:1.7px}.quillWrapper .ql-picker-label{font-size:15px}.quillWrapper .ql-snow .ql-active .ql-stroke{stroke-width:2.25px}.quillWrapper .ql-toolbar.ql-snow .ql-formats{vertical-align:top}.ql-picker:not(.ql-background){position:relative;top:2px}.ql-picker.ql-color-picker svg{width:22px!important;height:22px!important}.quillWrapper .imageResizeActive img{display:block;cursor:pointer}.quillWrapper .imageResizeActive~div svg{cursor:pointer}",map:void 0,media:void 0}))},F=void 0,U=void 0,z=!1;var H=T({render:I,staticRenderFns:D},B,R,F,z,U,M,void 0),Z="2.10.3";function K(t){K.installed||(K.installed=!0,t.component("VueEditor",H))}var V={install:K,version:Z,Quill:a(),VueEditor:H},W=null;"undefined"!==typeof window?W=window.Vue:"undefined"!==typeof n.g&&(W=n.g.Vue),W&&W.use(V);var $=n(306),G=n(9649),Y=n(5279),X=(0,i.defineComponent)({name:"TaskDetails",components:{VueEditor:H},props:{query:{type:Object,default:()=>({})}},setup(t){const e=(0,i.ref)(!0),n=(0,i.ref)(!0),r=(0,i.ref)(),o=(0,i.ref)(),l=(0,i.ref)(t.query.task_id),a=(0,i.ref)(!0),s=(0,i.ref)(),u=(0,i.ref)(!1),c=(0,i.ref)(),f=(0,i.ref)(!1),d=(0,i.ref)({}),p=async()=>{const t={poor:"Poor",below_average:"Below Average",average:"Average",above_average:"Above Average",excellent:"Excellent"};a.value=!1,s.value=await(0,G.yW)(l.value),s.value.likertScale=s.value.likertScale?s.value.likertScale:t,console.log("Task Response",s.value),a.value=!0},h=async()=>{try{a.value=!1,console.log(`inside updateRecord task details ${JSON.stringify(s.value)}`);const t=await(0,G.F9)(s.value);c.value=t.data?.message,a.value=!0,u.value=!0,window.scroll(0,0),a.value=!0}catch(t){if(a.value=!0,$.Z.isAxiosError(t)){const e=t;a.value=!0,c.value=e.response?.data?.message,f.value=!0,setTimeout((()=>{f.value=!1}),2e3)}}};return(0,i.onBeforeMount)((async()=>{const t=await(0,Y.GF)("/getUserRole");r.value=t.user_roles,o.value=t.user_key,r.value.length>0&&(r.value.includes("System Admin")||r.value.includes("Community Manager")||r.value.includes("Program Admin")?(n.value=!0,e.value=!0):r.value.includes("System Admin View Access")?(e.value=!0,n.value=!1):(n.value=!1,e.value=!1)),await p()})),{taskId:l,renderReady:a,taskDetails:s,updateRecord:h,showSuccessMessage:u,resMessage:c,showErrorMessage:f,showUpdate:n,editorConfig:d,showScreen:e}}}),Q=X,J=n(1001),tt=(0,J.Z)(Q,r,o,!1,null,"b01520bc",null),et=tt.exports},5279:function(t,e,n){"use strict";n.d(e,{$d:function(){return o},$i:function(){return _},Ao:function(){return v},DU:function(){return h},EX:function(){return S},F5:function(){return C},FS:function(){return d},GF:function(){return N},Iu:function(){return l},J1:function(){return k},Jf:function(){return m},Kk:function(){return b},N9:function(){return A},P8:function(){return c},VP:function(){return g},Vz:function(){return x},WX:function(){return p},X$:function(){return q},XP:function(){return i},Yb:function(){return E},a4:function(){return j},dH:function(){return w},gh:function(){return y},nb:function(){return s},oA:function(){return O},r4:function(){return f},sd:function(){return u},wp:function(){return a},xJ:function(){return T}});var r=n(7129);const o=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},i=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},l=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},a=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},s=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},u=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},c=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},f=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},d=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},p=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},h=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},y=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},v=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},b=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},g=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},m=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},q=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},w=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},k=async t=>{const e=await r.Z.get(t);return e},_=async t=>{const e=await r.Z.get(t);return e},x=async t=>{const e=await r.Z.get(t);return e},O=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},E=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},N=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},A=async t=>{const e=await r.Z.post("/user/role",t);return e},j=async t=>{const e=await r.Z.post("/user/removeRole",t);return e},T=async()=>{const t=await r.Z.get("role");return t},S=async t=>{const e=await r.Z.post("/user/saveLSS",t);return e},C=async t=>{const e=await r.Z.post("/user/saveEnvAccess",t);return e}},9649:function(t,e,n){"use strict";n.d(e,{$M:function(){return f},F9:function(){return p},HX:function(){return a},V$:function(){return s},VA:function(){return i},dr:function(){return o},gs:function(){return h},jz:function(){return d},q$:function(){return c},rP:function(){return l},yW:function(){return u}});var r=n(7129);const o=async t=>{let e;return await r.Z.get(t).then((t=>(console.log("Response",t),e=t.data.response.program_name,e))),e},i=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.tasks,n))),n},l=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.learnerDetails,n))),n},a=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.tasks,n))),n},s=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data,n))),n},u=async t=>{let e;try{return await r.Z.get(`/task/${t}`).then((t=>(e=t.data.data,e))),e}catch(n){return n}},c=async(t,e)=>{try{const n=await fetch(`${t}`,{method:"put",body:e}),r=n;return r}catch(n){return console.error(n),n}},f=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.tasks,n))),n},d=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.tasks,n))),n},p=async t=>{console.log(`inside save task data ${JSON.stringify(t)}`);const e=await r.Z.post("/task/create",t);return e},h=async t=>{try{let e;return await r.Z.get(`/admin/task/taskExport/${t}`).then((async t=>(e=t.data,e))),e}catch(e){return e}}},6431:function(t,e,n){n(7658),n(541),
1
+ (("undefined"!==typeof self?self:this)["webpackChunksolidify"]=("undefined"!==typeof self?self:this)["webpackChunksolidify"]||[]).push([[951],{8957:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return et}});var r=function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"admin"},[t.showScreen?e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-12"},[t._m(0),t.renderReady?e("div",{staticClass:"w-full mt-4"},[t.showSuccessMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-green-600 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.showErrorMessage?e("div",{staticClass:"w-full px-3 text-center mt-4 bg-red-400 py-2 text-white"},[t._v(" "+t._s(t.resMessage)+" ")]):t._e(),t.taskDetails?e("div",{staticClass:"max-w-4xl m-auto shadow p-5 -text-blue-900"},[e("div",{staticClass:"flex flex-wrap -mx-3 mb-6"},[e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Name ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.task_name,expression:"taskDetails.task_name"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.task_name},on:{input:function(e){e.target.composing||t.$set(t.taskDetails,"task_name",e.target.value)}}})]),e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Description ")]),e("vue-editor",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",model:{value:t.taskDetails.description,callback:function(e){t.$set(t.taskDetails,"description",e)},expression:"taskDetails.description"}})],1),e("div",{staticClass:"w-1/2 px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Is Archive ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.is_archive,expression:"taskDetails.is_archive"}],staticClass:"radio-button text-background-secondary pr-2",attrs:{type:"radio",value:"true",name:"isArchive"},domProps:{checked:t._q(t.taskDetails.is_archive,"true")},on:{change:function(e){return t.$set(t.taskDetails,"is_archive","true")}}}),e("span",{staticClass:"text-background-secondary px-2"},[t._v("True")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.is_archive,expression:"taskDetails.is_archive"}],staticClass:"radio-button text-background-secondary",attrs:{type:"radio",value:"false",name:"isArchive"},domProps:{checked:t._q(t.taskDetails.is_archive,"false")},on:{change:function(e){return t.$set(t.taskDetails,"is_archive","false")}}}),e("span",{staticClass:"text-background-secondary px-2"},[t._v("False")])]),e("div",{staticClass:"w-1/2 px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Check For Plagiarism ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.checkForPlagiarism,expression:"taskDetails.checkForPlagiarism"}],staticClass:"radio-button text-background-secondary pr-2",attrs:{type:"radio",value:"true",name:"checkForPlagiarism"},domProps:{checked:t._q(t.taskDetails.checkForPlagiarism,"true")},on:{change:function(e){return t.$set(t.taskDetails,"checkForPlagiarism","true")}}}),e("span",{staticClass:"text-background-secondary px-2"},[t._v("True")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.checkForPlagiarism,expression:"taskDetails.checkForPlagiarism"}],staticClass:"radio-button text-background-secondary",attrs:{type:"radio",value:"false",name:"checkForPlagiarism"},domProps:{checked:t._q(t.taskDetails.checkForPlagiarism,"false")},on:{change:function(e){return t.$set(t.taskDetails,"checkForPlagiarism","false")}}}),e("span",{staticClass:"text-background-secondary px-2"},[t._v("False")])]),e("div",{staticClass:"m-auto shadow border border-gray-200 p-5 px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Likert Scale ")]),e("div",{staticClass:"w-full flex justify-between"},[e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Poor ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.poor,expression:"taskDetails.likertScale.poor"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.poor},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"poor",e.target.value)}}})]),e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Below Average ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.below_average,expression:"taskDetails.likertScale.below_average"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.below_average},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"below_average",e.target.value)}}})]),e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Average ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.average,expression:"taskDetails.likertScale.average"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.average},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"average",e.target.value)}}})]),e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Above Average ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.above_average,expression:"taskDetails.likertScale.above_average"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.above_average},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"above_average",e.target.value)}}})]),e("div",{staticClass:"px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2 capitalize"},[t._v(" Excellent ")]),e("input",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.likertScale.excellent,expression:"taskDetails.likertScale.excellent"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text"},domProps:{value:t.taskDetails.likertScale.excellent},on:{input:function(e){e.target.composing||t.$set(t.taskDetails.likertScale,"excellent",e.target.value)}}})])])]),e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Use Weighted Values? ")]),e("select",{directives:[{name:"model",rawName:"v-model",value:t.taskDetails.is_weighted,expression:"taskDetails.is_weighted"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},on:{change:function(e){var n=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(t.taskDetails,"is_weighted",e.target.multiple?n:n[0])}}},[e("option"),e("option",{attrs:{value:"false"}},[t._v("No")]),e("option",{attrs:{value:"true"}},[t._v("Yes")])])]),e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Task Type ")]),e("input",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{type:"text",disabled:""},domProps:{value:t.taskDetails.task_type}})]),t._l(t.taskDetails.task_questions,(function(n,r){return e("div",{key:r,staticClass:"w-full p-2 bg-gray-100"},[e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Checklist "+t._s(r+1)+" ")]),e("textarea",{staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},domProps:{value:n.text}})]),e("div",{staticClass:"flex"},[e("div",{staticClass:"w-full px-3 mb-4"},[e("label",{staticClass:"block tracking-wide -text-blue-800 opacity-80 font-normal mb-2"},[t._v(" Question Type ")]),e("select",{directives:[{name:"model",rawName:"v-model",value:n.type,expression:"question.type"}],staticClass:"appearance-none block w-full text-gray-700 border border-gray-200 rounded py-2 px-4 leading-tight focus:outline-none focus:bg-white focus:border-gray-500",attrs:{disabled:""},on:{change:function(e){var r=Array.prototype.filter.call(e.target.options,(function(t){return t.selected})).map((function(t){var e="_value"in t?t._value:t.value;return e}));t.$set(n,"type",e.target.multiple?r:r[0])}}},[e("option",{attrs:{value:"Yes/No"}},[t._v("Yes/No")]),e("option",{attrs:{value:"Scale"}},[t._v("Scale")])])])])])})),e("div",{staticClass:"w-full px-3 text-center mt-4"},[e("router-link",{staticClass:"py-2 px-4 border border-blue-900 bg-white-500 text-gray-500 shadow-md focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75 mr-2",attrs:{to:{path:"taskManagement"}}},[t._v(" Back ")]),t.showUpdate?e("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 inline-block",on:{click:function(e){return t.updateRecord()}}},[t._v("Update")]):t._e()],1)],2)]):t._e()]):t._e(),t.renderReady?t._e():e("div",{staticClass:"flex flex-col h-min-screen justify-center text-center pageLoader"},[e("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:n(9756),alt:"Loader Gif"}}),e("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[t._v("Loading...")])])]):e("div",{staticClass:"container w-full flex flex-wrap mx-auto px-2 pt-8 lg:pt-16 md:pt-16 mt-10"},[t._v("You don't have access this page")])])},o=[function(){var t=this,e=t._self._c;t._self._setupProxy;return e("div",{staticClass:"w-full"},[e("div",{staticClass:"text-center text-3xl -text-blue-900"},[t._v("Task Details")])])}],i=n(7203),l=(n(7658),n(2801),n(5942)),a=n.n(l),s=[[{header:[!1,1,2,3,4,5,6]}],["bold","italic","underline","strike"],[{align:""},{align:"center"},{align:"right"},{align:"justify"}],["blockquote","code-block"],[{list:"ordered"},{list:"bullet"},{list:"check"}],[{indent:"-1"},{indent:"+1"}],[{color:[]},{background:[]}],["link","image","video"],["clean"]],u={props:{customModules:Array},methods:{registerCustomModules:function(t){void 0!==this.customModules&&this.customModules.forEach((function(e){t.register("modules/"+e.alias,e.module)}))}}};function c(t){return c="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c(t)}function f(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function d(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function p(t,e,n){return e&&d(t.prototype,e),n&&d(t,n),t}function h(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&v(t,e)}function y(t){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},y(t)}function v(t,e){return v=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},v(t,e)}function b(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function g(t,e){return!e||"object"!==typeof e&&"function"!==typeof e?b(t):e}function m(t,e){return q(t)||w(t,e)||k()}function q(t){if(Array.isArray(t))return t}function w(t,e){var n=[],r=!0,o=!1,i=void 0;try{for(var l,a=t[Symbol.iterator]();!(r=(l=a.next()).done);r=!0)if(n.push(l.value),e&&n.length===e)break}catch(s){o=!0,i=s}finally{try{r||null==a["return"]||a["return"]()}finally{if(o)throw i}}return n}function k(){throw new TypeError("Invalid attempt to destructure non-iterable instance")}function _(t,e){var n=function(t){return t&&"object"===c(t)};return n(t)&&n(e)?(Object.keys(e).forEach((function(r){var o=t[r],i=e[r];Array.isArray(o)&&Array.isArray(i)?t[r]=o.concat(i):n(o)&&n(i)?t[r]=_(Object.assign({},o),i):t[r]=i})),t):e}var x=a()["import"]("blots/block/embed"),O=function(t){function e(){return f(this,e),g(this,y(e).apply(this,arguments))}return h(e,t),e}(x);O.blotName="hr",O.tagName="hr",a().register("formats/horizontal",O);var E=function(){function t(e,n){var r=this;f(this,t),this.quill=e,this.options=n,this.ignoreTags=["PRE"],this.matches=[{name:"header",pattern:/^(#){1,6}\s/g,action:function(t,e,n){var o=n.exec(t);if(o){var i=o[0].length;setTimeout((function(){r.quill.formatLine(e.index,0,"header",i-1),r.quill.deleteText(e.index-i,i)}),0)}}},{name:"blockquote",pattern:/^(>)\s/g,action:function(t,e){setTimeout((function(){r.quill.formatLine(e.index,1,"blockquote",!0),r.quill.deleteText(e.index-2,2)}),0)}},{name:"code-block",pattern:/^`{3}(?:\s|\n)/g,action:function(t,e){setTimeout((function(){r.quill.formatLine(e.index,1,"code-block",!0),r.quill.deleteText(e.index-4,4)}),0)}},{name:"bolditalic",pattern:/(?:\*|_){3}(.+?)(?:\*|_){3}/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{bold:!0,italic:!0}),r.quill.format("bold",!1)}),0)}},{name:"bold",pattern:/(?:\*|_){2}(.+?)(?:\*|_){2}/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{bold:!0}),r.quill.format("bold",!1)}),0)}},{name:"italic",pattern:/(?:\*|_){1}(.+?)(?:\*|_){1}/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{italic:!0}),r.quill.format("italic",!1)}),0)}},{name:"strikethrough",pattern:/(?:~~)(.+?)(?:~~)/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{strike:!0}),r.quill.format("strike",!1)}),0)}},{name:"code",pattern:/(?:`)(.+?)(?:`)/g,action:function(t,e,n,o){var i=n.exec(t),l=i[0],a=i[1],s=o+i.index;t.match(/^([*_ \n]+)$/g)||setTimeout((function(){r.quill.deleteText(s,l.length),r.quill.insertText(s,a,{code:!0}),r.quill.format("code",!1),r.quill.insertText(r.quill.getSelection()," ")}),0)}},{name:"hr",pattern:/^([-*]\s?){3}/g,action:function(t,e){var n=e.index-t.length;setTimeout((function(){r.quill.deleteText(n,t.length),r.quill.insertEmbed(n+1,"hr",!0,a().sources.USER),r.quill.insertText(n+2,"\n",a().sources.SILENT),r.quill.setSelection(n+2,a().sources.SILENT)}),0)}},{name:"asterisk-ul",pattern:/^(\*|\+)\s$/g,action:function(t,e,n){setTimeout((function(){r.quill.formatLine(e.index,1,"list","unordered"),r.quill.deleteText(e.index-2,2)}),0)}},{name:"image",pattern:/(?:!\[(.+?)\])(?:\((.+?)\))/g,action:function(t,e,n){var o=t.search(n),i=t.match(n)[0],l=t.match(/(?:\((.*?)\))/g)[0],a=e.index-i.length-1;-1!==o&&setTimeout((function(){r.quill.deleteText(a,i.length),r.quill.insertEmbed(a,"image",l.slice(1,l.length-1))}),0)}},{name:"link",pattern:/(?:\[(.+?)\])(?:\((.+?)\))/g,action:function(t,e,n){var o=t.search(n),i=t.match(n)[0],l=t.match(/(?:\[(.*?)\])/g)[0],a=t.match(/(?:\((.*?)\))/g)[0],s=e.index-i.length-1;-1!==o&&setTimeout((function(){r.quill.deleteText(s,i.length),r.quill.insertText(s,l.slice(1,l.length-1),"link",a.slice(1,a.length-1))}),0)}}],this.quill.on("text-change",(function(t,e,n){for(var o=0;o<t.ops.length;o++)t.ops[o].hasOwnProperty("insert")&&(" "===t.ops[o].insert?r.onSpace():"\n"===t.ops[o].insert&&r.onEnter())}))}return p(t,[{key:"isValid",value:function(t,e){return"undefined"!==typeof t&&t&&-1===this.ignoreTags.indexOf(e)}},{key:"onSpace",value:function(){var t=this.quill.getSelection();if(t){var e=this.quill.getLine(t.index),n=m(e,2),r=n[0],o=n[1],i=r.domNode.textContent,l=t.index-o;if(this.isValid(i,r.domNode.tagName)){var a=!0,s=!1,u=void 0;try{for(var c,f=this.matches[Symbol.iterator]();!(a=(c=f.next()).done);a=!0){var d=c.value,p=i.match(d.pattern);if(p)return console.log("matched:",d.name,i),void d.action(i,t,d.pattern,l)}}catch(h){s=!0,u=h}finally{try{a||null==f.return||f.return()}finally{if(s)throw u}}}}}},{key:"onEnter",value:function(){var t=this.quill.getSelection();if(t){var e=this.quill.getLine(t.index),n=m(e,2),r=n[0],o=n[1],i=r.domNode.textContent+" ",l=t.index-o;if(t.length=t.index++,this.isValid(i,r.domNode.tagName)){var a=!0,s=!1,u=void 0;try{for(var c,f=this.matches[Symbol.iterator]();!(a=(c=f.next()).done);a=!0){var d=c.value,p=i.match(d.pattern);if(p)return console.log("matched",d.name,i),void d.action(i,t,d.pattern,l)}}catch(h){s=!0,u=h}finally{try{a||null==f.return||f.return()}finally{if(s)throw u}}}}}}]),t}(),N={name:"VueEditor",mixins:[u],props:{id:{type:String,default:"quill-container"},placeholder:{type:String,default:""},value:{type:String,default:""},disabled:{type:Boolean},editorToolbar:{type:Array,default:function(){return[]}},editorOptions:{type:Object,required:!1,default:function(){return{}}},useCustomImageHandler:{type:Boolean,default:!1},useMarkdownShortcuts:{type:Boolean,default:!1}},data:function(){return{quill:null}},watch:{value:function(t){t==this.quill.root.innerHTML||this.quill.hasFocus()||(this.quill.root.innerHTML=t)},disabled:function(t){this.quill.enable(!t)}},mounted:function(){this.registerCustomModules(a()),this.registerPrototypes(),this.initializeEditor()},beforeDestroy:function(){this.quill=null,delete this.quill},methods:{initializeEditor:function(){this.setupQuillEditor(),this.checkForCustomImageHandler(),this.handleInitialContent(),this.registerEditorEventListeners(),this.$emit("ready",this.quill)},setupQuillEditor:function(){var t={debug:!1,modules:this.setModules(),theme:"snow",placeholder:this.placeholder?this.placeholder:"",readOnly:!!this.disabled&&this.disabled};this.prepareEditorConfig(t),this.quill=new(a())(this.$refs.quillContainer,t)},setModules:function(){var t={toolbar:this.editorToolbar.length?this.editorToolbar:s};return this.useMarkdownShortcuts&&(a().register("modules/markdownShortcuts",E,!0),t["markdownShortcuts"]={}),t},prepareEditorConfig:function(t){Object.keys(this.editorOptions).length>0&&this.editorOptions.constructor===Object&&(this.editorOptions.modules&&"undefined"!==typeof this.editorOptions.modules.toolbar&&delete t.modules.toolbar,_(t,this.editorOptions))},registerPrototypes:function(){a().prototype.getHTML=function(){return this.container.querySelector(".ql-editor").innerHTML},a().prototype.getWordCount=function(){return this.container.querySelector(".ql-editor").innerText.length}},registerEditorEventListeners:function(){this.quill.on("text-change",this.handleTextChange),this.quill.on("selection-change",this.handleSelectionChange),this.listenForEditorEvent("text-change"),this.listenForEditorEvent("selection-change"),this.listenForEditorEvent("editor-change")},listenForEditorEvent:function(t){var e=this;this.quill.on(t,(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e.$emit.apply(e,[t].concat(r))}))},handleInitialContent:function(){this.value&&(this.quill.root.innerHTML=this.value)},handleSelectionChange:function(t,e){!t&&e?this.$emit("blur",this.quill):t&&!e&&this.$emit("focus",this.quill)},handleTextChange:function(t,e){var n="<p><br></p>"===this.quill.getHTML()?"":this.quill.getHTML();this.$emit("input",n),this.useCustomImageHandler&&this.handleImageRemoved(t,e)},handleImageRemoved:function(t,e){var n=this,r=this.quill.getContents(),o=r.diff(e),i=o.ops;i.map((function(t){if(t.insert&&t.insert.hasOwnProperty("image")){var e=t.insert.image;n.$emit("image-removed",e)}}))},checkForCustomImageHandler:function(){!0===this.useCustomImageHandler&&this.setupCustomImageHandler()},setupCustomImageHandler:function(){var t=this.quill.getModule("toolbar");t.addHandler("image",this.customImageHandler)},customImageHandler:function(){this.$refs.fileInput.click()},emitImageInfo:function(t){var e=function(){var t=document.getElementById("file-upload");t.value=""},n=t.target.files[0],r=this.quill,o=r.getSelection(),i=o.index;this.$emit("image-added",n,r,i,e)}}};function A(t,e,n,r,o,i,l,a,s,u){"boolean"!==typeof l&&(s=a,a=l,l=!1);var c,f="function"===typeof n?n.options:n;if(t&&t.render&&(f.render=t.render,f.staticRenderFns=t.staticRenderFns,f._compiled=!0,o&&(f.functional=!0)),r&&(f._scopeId=r),i?(c=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,s(t)),t&&t._registeredComponents&&t._registeredComponents.add(i)},f._ssrRegister=c):e&&(c=l?function(){e.call(this,u(this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),c)if(f.functional){var d=f.render;f.render=function(t,e){return c.call(e),d(t,e)}}else{var p=f.beforeCreate;f.beforeCreate=p?[].concat(p,c):[c]}return n}var j,T=A,S="undefined"!==typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase());function C(t){return function(t,e){return L(t,e)}}var P={};function L(t,e){var n=S?e.media||"default":t,r=P[n]||(P[n]={ids:new Set,styles:[]});if(!r.ids.has(t)){r.ids.add(t);var o=e.source;if(e.map&&(o+="\n/*# sourceURL="+e.map.sources[0]+" */",o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(e.map))))+" */"),r.element||(r.element=document.createElement("style"),r.element.type="text/css",e.media&&r.element.setAttribute("media",e.media),void 0===j&&(j=document.head||document.getElementsByTagName("head")[0]),j.appendChild(r.element)),"styleSheet"in r.element)r.styles.push(o),r.element.styleSheet.cssText=r.styles.filter(Boolean).join("\n");else{var i=r.ids.size-1,l=document.createTextNode(o),a=r.element.childNodes;a[i]&&r.element.removeChild(a[i]),a.length?r.element.insertBefore(l,a[i]):r.element.appendChild(l)}}}var M=C;const R=N;var I=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"quillWrapper"},[t._t("toolbar"),t._v(" "),n("div",{ref:"quillContainer",attrs:{id:t.id}}),t._v(" "),t.useCustomImageHandler?n("input",{ref:"fileInput",staticStyle:{display:"none"},attrs:{id:"file-upload",type:"file",accept:"image/*"},on:{change:function(e){return t.emitImageInfo(e)}}}):t._e()],2)},D=[];const B=function(t){t&&(t("data-v-776e788e_0",{source:"/*!\n * Quill Editor v1.3.6\n * https://quilljs.com/\n * Copyright (c) 2014, Jason Chen\n * Copyright (c) 2013, salesforce.com\n */.ql-container{box-sizing:border-box;font-family:Helvetica,Arial,sans-serif;font-size:13px;height:100%;margin:0;position:relative}.ql-container.ql-disabled .ql-tooltip{visibility:hidden}.ql-container.ql-disabled .ql-editor ul[data-checked]>li::before{pointer-events:none}.ql-clipboard{left:-100000px;height:1px;overflow-y:hidden;position:absolute;top:50%}.ql-clipboard p{margin:0;padding:0}.ql-editor{box-sizing:border-box;line-height:1.42;height:100%;outline:0;overflow-y:auto;padding:12px 15px;tab-size:4;-moz-tab-size:4;text-align:left;white-space:pre-wrap;word-wrap:break-word}.ql-editor>*{cursor:text}.ql-editor blockquote,.ql-editor h1,.ql-editor h2,.ql-editor h3,.ql-editor h4,.ql-editor h5,.ql-editor h6,.ql-editor ol,.ql-editor p,.ql-editor pre,.ql-editor ul{margin:0;padding:0;counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol,.ql-editor ul{padding-left:1.5em}.ql-editor ol>li,.ql-editor ul>li{list-style-type:none}.ql-editor ul>li::before{content:'\\2022'}.ql-editor ul[data-checked=false],.ql-editor ul[data-checked=true]{pointer-events:none}.ql-editor ul[data-checked=false]>li *,.ql-editor ul[data-checked=true]>li *{pointer-events:all}.ql-editor ul[data-checked=false]>li::before,.ql-editor ul[data-checked=true]>li::before{color:#777;cursor:pointer;pointer-events:all}.ql-editor ul[data-checked=true]>li::before{content:'\\2611'}.ql-editor ul[data-checked=false]>li::before{content:'\\2610'}.ql-editor li::before{display:inline-block;white-space:nowrap;width:1.2em}.ql-editor li:not(.ql-direction-rtl)::before{margin-left:-1.5em;margin-right:.3em;text-align:right}.ql-editor li.ql-direction-rtl::before{margin-left:.3em;margin-right:-1.5em}.ql-editor ol li:not(.ql-direction-rtl),.ql-editor ul li:not(.ql-direction-rtl){padding-left:1.5em}.ql-editor ol li.ql-direction-rtl,.ql-editor ul li.ql-direction-rtl{padding-right:1.5em}.ql-editor ol li{counter-reset:list-1 list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9;counter-increment:list-0}.ql-editor ol li:before{content:counter(list-0,decimal) '. '}.ql-editor ol li.ql-indent-1{counter-increment:list-1}.ql-editor ol li.ql-indent-1:before{content:counter(list-1,lower-alpha) '. '}.ql-editor ol li.ql-indent-1{counter-reset:list-2 list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-2{counter-increment:list-2}.ql-editor ol li.ql-indent-2:before{content:counter(list-2,lower-roman) '. '}.ql-editor ol li.ql-indent-2{counter-reset:list-3 list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-3{counter-increment:list-3}.ql-editor ol li.ql-indent-3:before{content:counter(list-3,decimal) '. '}.ql-editor ol li.ql-indent-3{counter-reset:list-4 list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-4{counter-increment:list-4}.ql-editor ol li.ql-indent-4:before{content:counter(list-4,lower-alpha) '. '}.ql-editor ol li.ql-indent-4{counter-reset:list-5 list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-5{counter-increment:list-5}.ql-editor ol li.ql-indent-5:before{content:counter(list-5,lower-roman) '. '}.ql-editor ol li.ql-indent-5{counter-reset:list-6 list-7 list-8 list-9}.ql-editor ol li.ql-indent-6{counter-increment:list-6}.ql-editor ol li.ql-indent-6:before{content:counter(list-6,decimal) '. '}.ql-editor ol li.ql-indent-6{counter-reset:list-7 list-8 list-9}.ql-editor ol li.ql-indent-7{counter-increment:list-7}.ql-editor ol li.ql-indent-7:before{content:counter(list-7,lower-alpha) '. '}.ql-editor ol li.ql-indent-7{counter-reset:list-8 list-9}.ql-editor ol li.ql-indent-8{counter-increment:list-8}.ql-editor ol li.ql-indent-8:before{content:counter(list-8,lower-roman) '. '}.ql-editor ol li.ql-indent-8{counter-reset:list-9}.ql-editor ol li.ql-indent-9{counter-increment:list-9}.ql-editor ol li.ql-indent-9:before{content:counter(list-9,decimal) '. '}.ql-editor .ql-indent-1:not(.ql-direction-rtl){padding-left:3em}.ql-editor li.ql-indent-1:not(.ql-direction-rtl){padding-left:4.5em}.ql-editor .ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:3em}.ql-editor li.ql-indent-1.ql-direction-rtl.ql-align-right{padding-right:4.5em}.ql-editor .ql-indent-2:not(.ql-direction-rtl){padding-left:6em}.ql-editor li.ql-indent-2:not(.ql-direction-rtl){padding-left:7.5em}.ql-editor .ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:6em}.ql-editor li.ql-indent-2.ql-direction-rtl.ql-align-right{padding-right:7.5em}.ql-editor .ql-indent-3:not(.ql-direction-rtl){padding-left:9em}.ql-editor li.ql-indent-3:not(.ql-direction-rtl){padding-left:10.5em}.ql-editor .ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:9em}.ql-editor li.ql-indent-3.ql-direction-rtl.ql-align-right{padding-right:10.5em}.ql-editor .ql-indent-4:not(.ql-direction-rtl){padding-left:12em}.ql-editor li.ql-indent-4:not(.ql-direction-rtl){padding-left:13.5em}.ql-editor .ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:12em}.ql-editor li.ql-indent-4.ql-direction-rtl.ql-align-right{padding-right:13.5em}.ql-editor .ql-indent-5:not(.ql-direction-rtl){padding-left:15em}.ql-editor li.ql-indent-5:not(.ql-direction-rtl){padding-left:16.5em}.ql-editor .ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:15em}.ql-editor li.ql-indent-5.ql-direction-rtl.ql-align-right{padding-right:16.5em}.ql-editor .ql-indent-6:not(.ql-direction-rtl){padding-left:18em}.ql-editor li.ql-indent-6:not(.ql-direction-rtl){padding-left:19.5em}.ql-editor .ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:18em}.ql-editor li.ql-indent-6.ql-direction-rtl.ql-align-right{padding-right:19.5em}.ql-editor .ql-indent-7:not(.ql-direction-rtl){padding-left:21em}.ql-editor li.ql-indent-7:not(.ql-direction-rtl){padding-left:22.5em}.ql-editor .ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:21em}.ql-editor li.ql-indent-7.ql-direction-rtl.ql-align-right{padding-right:22.5em}.ql-editor .ql-indent-8:not(.ql-direction-rtl){padding-left:24em}.ql-editor li.ql-indent-8:not(.ql-direction-rtl){padding-left:25.5em}.ql-editor .ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:24em}.ql-editor li.ql-indent-8.ql-direction-rtl.ql-align-right{padding-right:25.5em}.ql-editor .ql-indent-9:not(.ql-direction-rtl){padding-left:27em}.ql-editor li.ql-indent-9:not(.ql-direction-rtl){padding-left:28.5em}.ql-editor .ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:27em}.ql-editor li.ql-indent-9.ql-direction-rtl.ql-align-right{padding-right:28.5em}.ql-editor .ql-video{display:block;max-width:100%}.ql-editor .ql-video.ql-align-center{margin:0 auto}.ql-editor .ql-video.ql-align-right{margin:0 0 0 auto}.ql-editor .ql-bg-black{background-color:#000}.ql-editor .ql-bg-red{background-color:#e60000}.ql-editor .ql-bg-orange{background-color:#f90}.ql-editor .ql-bg-yellow{background-color:#ff0}.ql-editor .ql-bg-green{background-color:#008a00}.ql-editor .ql-bg-blue{background-color:#06c}.ql-editor .ql-bg-purple{background-color:#93f}.ql-editor .ql-color-white{color:#fff}.ql-editor .ql-color-red{color:#e60000}.ql-editor .ql-color-orange{color:#f90}.ql-editor .ql-color-yellow{color:#ff0}.ql-editor .ql-color-green{color:#008a00}.ql-editor .ql-color-blue{color:#06c}.ql-editor .ql-color-purple{color:#93f}.ql-editor .ql-font-serif{font-family:Georgia,Times New Roman,serif}.ql-editor .ql-font-monospace{font-family:Monaco,Courier New,monospace}.ql-editor .ql-size-small{font-size:.75em}.ql-editor .ql-size-large{font-size:1.5em}.ql-editor .ql-size-huge{font-size:2.5em}.ql-editor .ql-direction-rtl{direction:rtl;text-align:inherit}.ql-editor .ql-align-center{text-align:center}.ql-editor .ql-align-justify{text-align:justify}.ql-editor .ql-align-right{text-align:right}.ql-editor.ql-blank::before{color:rgba(0,0,0,.6);content:attr(data-placeholder);font-style:italic;left:15px;pointer-events:none;position:absolute;right:15px}.ql-snow .ql-toolbar:after,.ql-snow.ql-toolbar:after{clear:both;content:'';display:table}.ql-snow .ql-toolbar button,.ql-snow.ql-toolbar button{background:0 0;border:none;cursor:pointer;display:inline-block;float:left;height:24px;padding:3px 5px;width:28px}.ql-snow .ql-toolbar button svg,.ql-snow.ql-toolbar button svg{float:left;height:100%}.ql-snow .ql-toolbar button:active:hover,.ql-snow.ql-toolbar button:active:hover{outline:0}.ql-snow .ql-toolbar input.ql-image[type=file],.ql-snow.ql-toolbar input.ql-image[type=file]{display:none}.ql-snow .ql-toolbar .ql-picker-item.ql-selected,.ql-snow .ql-toolbar .ql-picker-item:hover,.ql-snow .ql-toolbar .ql-picker-label.ql-active,.ql-snow .ql-toolbar .ql-picker-label:hover,.ql-snow .ql-toolbar button.ql-active,.ql-snow .ql-toolbar button:focus,.ql-snow .ql-toolbar button:hover,.ql-snow.ql-toolbar .ql-picker-item.ql-selected,.ql-snow.ql-toolbar .ql-picker-item:hover,.ql-snow.ql-toolbar .ql-picker-label.ql-active,.ql-snow.ql-toolbar .ql-picker-label:hover,.ql-snow.ql-toolbar button.ql-active,.ql-snow.ql-toolbar button:focus,.ql-snow.ql-toolbar button:hover{color:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-fill,.ql-snow .ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:focus .ql-fill,.ql-snow .ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow .ql-toolbar button:hover .ql-fill,.ql-snow .ql-toolbar button:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-fill,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-fill,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-fill,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke.ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-fill,.ql-snow.ql-toolbar button.ql-active .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:focus .ql-fill,.ql-snow.ql-toolbar button:focus .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover .ql-fill,.ql-snow.ql-toolbar button:hover .ql-stroke.ql-fill{fill:#06c}.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow .ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow .ql-toolbar button.ql-active .ql-stroke,.ql-snow .ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow .ql-toolbar button:focus .ql-stroke,.ql-snow .ql-toolbar button:focus .ql-stroke-miter,.ql-snow .ql-toolbar button:hover .ql-stroke,.ql-snow .ql-toolbar button:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item.ql-selected .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-item:hover .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke,.ql-snow.ql-toolbar .ql-picker-label:hover .ql-stroke-miter,.ql-snow.ql-toolbar button.ql-active .ql-stroke,.ql-snow.ql-toolbar button.ql-active .ql-stroke-miter,.ql-snow.ql-toolbar button:focus .ql-stroke,.ql-snow.ql-toolbar button:focus .ql-stroke-miter,.ql-snow.ql-toolbar button:hover .ql-stroke,.ql-snow.ql-toolbar button:hover .ql-stroke-miter{stroke:#06c}@media (pointer:coarse){.ql-snow .ql-toolbar button:hover:not(.ql-active),.ql-snow.ql-toolbar button:hover:not(.ql-active){color:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-fill,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow .ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke,.ql-snow.ql-toolbar button:hover:not(.ql-active) .ql-stroke-miter{stroke:#444}}.ql-snow{box-sizing:border-box}.ql-snow *{box-sizing:border-box}.ql-snow .ql-hidden{display:none}.ql-snow .ql-out-bottom,.ql-snow .ql-out-top{visibility:hidden}.ql-snow .ql-tooltip{position:absolute;transform:translateY(10px)}.ql-snow .ql-tooltip a{cursor:pointer;text-decoration:none}.ql-snow .ql-tooltip.ql-flip{transform:translateY(-10px)}.ql-snow .ql-formats{display:inline-block;vertical-align:middle}.ql-snow .ql-formats:after{clear:both;content:'';display:table}.ql-snow .ql-stroke{fill:none;stroke:#444;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}.ql-snow .ql-stroke-miter{fill:none;stroke:#444;stroke-miterlimit:10;stroke-width:2}.ql-snow .ql-fill,.ql-snow .ql-stroke.ql-fill{fill:#444}.ql-snow .ql-empty{fill:none}.ql-snow .ql-even{fill-rule:evenodd}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1}.ql-snow .ql-transparent{opacity:.4}.ql-snow .ql-direction svg:last-child{display:none}.ql-snow .ql-direction.ql-active svg:last-child{display:inline}.ql-snow .ql-direction.ql-active svg:first-child{display:none}.ql-snow .ql-editor h1{font-size:2em}.ql-snow .ql-editor h2{font-size:1.5em}.ql-snow .ql-editor h3{font-size:1.17em}.ql-snow .ql-editor h4{font-size:1em}.ql-snow .ql-editor h5{font-size:.83em}.ql-snow .ql-editor h6{font-size:.67em}.ql-snow .ql-editor a{text-decoration:underline}.ql-snow .ql-editor blockquote{border-left:4px solid #ccc;margin-bottom:5px;margin-top:5px;padding-left:16px}.ql-snow .ql-editor code,.ql-snow .ql-editor pre{background-color:#f0f0f0;border-radius:3px}.ql-snow .ql-editor pre{white-space:pre-wrap;margin-bottom:5px;margin-top:5px;padding:5px 10px}.ql-snow .ql-editor code{font-size:85%;padding:2px 4px}.ql-snow .ql-editor pre.ql-syntax{background-color:#23241f;color:#f8f8f2;overflow:visible}.ql-snow .ql-editor img{max-width:100%}.ql-snow .ql-picker{color:#444;display:inline-block;float:left;font-size:14px;font-weight:500;height:24px;position:relative;vertical-align:middle}.ql-snow .ql-picker-label{cursor:pointer;display:inline-block;height:100%;padding-left:8px;padding-right:2px;position:relative;width:100%}.ql-snow .ql-picker-label::before{display:inline-block;line-height:22px}.ql-snow .ql-picker-options{background-color:#fff;display:none;min-width:100%;padding:4px 8px;position:absolute;white-space:nowrap}.ql-snow .ql-picker-options .ql-picker-item{cursor:pointer;display:block;padding-bottom:5px;padding-top:5px}.ql-snow .ql-picker.ql-expanded .ql-picker-label{color:#ccc;z-index:2}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-fill{fill:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-label .ql-stroke{stroke:#ccc}.ql-snow .ql-picker.ql-expanded .ql-picker-options{display:block;margin-top:-1px;top:100%;z-index:1}.ql-snow .ql-color-picker,.ql-snow .ql-icon-picker{width:28px}.ql-snow .ql-color-picker .ql-picker-label,.ql-snow .ql-icon-picker .ql-picker-label{padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-label svg,.ql-snow .ql-icon-picker .ql-picker-label svg{right:4px}.ql-snow .ql-icon-picker .ql-picker-options{padding:4px 0}.ql-snow .ql-icon-picker .ql-picker-item{height:24px;width:24px;padding:2px 4px}.ql-snow .ql-color-picker .ql-picker-options{padding:3px 5px;width:152px}.ql-snow .ql-color-picker .ql-picker-item{border:1px solid transparent;float:left;height:16px;margin:2px;padding:0;width:16px}.ql-snow .ql-picker:not(.ql-color-picker):not(.ql-icon-picker) svg{position:absolute;margin-top:-9px;right:0;top:50%;width:18px}.ql-snow .ql-picker.ql-font .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-item[data-label]:not([data-label=''])::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-label]:not([data-label=''])::before{content:attr(data-label)}.ql-snow .ql-picker.ql-header{width:98px}.ql-snow .ql-picker.ql-header .ql-picker-item::before,.ql-snow .ql-picker.ql-header .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"1\"]::before{content:'Heading 1'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"2\"]::before{content:'Heading 2'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"3\"]::before{content:'Heading 3'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"4\"]::before{content:'Heading 4'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"5\"]::before{content:'Heading 5'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before,.ql-snow .ql-picker.ql-header .ql-picker-label[data-value=\"6\"]::before{content:'Heading 6'}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"1\"]::before{font-size:2em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"2\"]::before{font-size:1.5em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"3\"]::before{font-size:1.17em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"4\"]::before{font-size:1em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"5\"]::before{font-size:.83em}.ql-snow .ql-picker.ql-header .ql-picker-item[data-value=\"6\"]::before{font-size:.67em}.ql-snow .ql-picker.ql-font{width:108px}.ql-snow .ql-picker.ql-font .ql-picker-item::before,.ql-snow .ql-picker.ql-font .ql-picker-label::before{content:'Sans Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=serif]::before{content:'Serif'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before,.ql-snow .ql-picker.ql-font .ql-picker-label[data-value=monospace]::before{content:'Monospace'}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=serif]::before{font-family:Georgia,Times New Roman,serif}.ql-snow .ql-picker.ql-font .ql-picker-item[data-value=monospace]::before{font-family:Monaco,Courier New,monospace}.ql-snow .ql-picker.ql-size{width:98px}.ql-snow .ql-picker.ql-size .ql-picker-item::before,.ql-snow .ql-picker.ql-size .ql-picker-label::before{content:'Normal'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=small]::before{content:'Small'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=large]::before{content:'Large'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before,.ql-snow .ql-picker.ql-size .ql-picker-label[data-value=huge]::before{content:'Huge'}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=small]::before{font-size:10px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=large]::before{font-size:18px}.ql-snow .ql-picker.ql-size .ql-picker-item[data-value=huge]::before{font-size:32px}.ql-snow .ql-color-picker.ql-background .ql-picker-item{background-color:#fff}.ql-snow .ql-color-picker.ql-color .ql-picker-item{background-color:#000}.ql-toolbar.ql-snow{border:1px solid #ccc;box-sizing:border-box;font-family:'Helvetica Neue',Helvetica,Arial,sans-serif;padding:8px}.ql-toolbar.ql-snow .ql-formats{margin-right:15px}.ql-toolbar.ql-snow .ql-picker-label{border:1px solid transparent}.ql-toolbar.ql-snow .ql-picker-options{border:1px solid transparent;box-shadow:rgba(0,0,0,.2) 0 2px 8px}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-label{border-color:#ccc}.ql-toolbar.ql-snow .ql-picker.ql-expanded .ql-picker-options{border-color:#ccc}.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item.ql-selected,.ql-toolbar.ql-snow .ql-color-picker .ql-picker-item:hover{border-color:#000}.ql-toolbar.ql-snow+.ql-container.ql-snow{border-top:0}.ql-snow .ql-tooltip{background-color:#fff;border:1px solid #ccc;box-shadow:0 0 5px #ddd;color:#444;padding:5px 12px;white-space:nowrap}.ql-snow .ql-tooltip::before{content:\"Visit URL:\";line-height:26px;margin-right:8px}.ql-snow .ql-tooltip input[type=text]{display:none;border:1px solid #ccc;font-size:13px;height:26px;margin:0;padding:3px 5px;width:170px}.ql-snow .ql-tooltip a.ql-preview{display:inline-block;max-width:200px;overflow-x:hidden;text-overflow:ellipsis;vertical-align:top}.ql-snow .ql-tooltip a.ql-action::after{border-right:1px solid #ccc;content:'Edit';margin-left:16px;padding-right:8px}.ql-snow .ql-tooltip a.ql-remove::before{content:'Remove';margin-left:8px}.ql-snow .ql-tooltip a{line-height:26px}.ql-snow .ql-tooltip.ql-editing a.ql-preview,.ql-snow .ql-tooltip.ql-editing a.ql-remove{display:none}.ql-snow .ql-tooltip.ql-editing input[type=text]{display:inline-block}.ql-snow .ql-tooltip.ql-editing a.ql-action::after{border-right:0;content:'Save';padding-right:0}.ql-snow .ql-tooltip[data-mode=link]::before{content:\"Enter link:\"}.ql-snow .ql-tooltip[data-mode=formula]::before{content:\"Enter formula:\"}.ql-snow .ql-tooltip[data-mode=video]::before{content:\"Enter video:\"}.ql-snow a{color:#06c}.ql-container.ql-snow{border:1px solid #ccc}",map:void 0,media:void 0}),t("data-v-776e788e_1",{source:".ql-editor{min-height:200px;font-size:16px}.ql-snow .ql-stroke.ql-thin,.ql-snow .ql-thin{stroke-width:1px!important}.quillWrapper .ql-snow.ql-toolbar{padding-top:8px;padding-bottom:4px}.quillWrapper .ql-snow.ql-toolbar .ql-formats{margin-bottom:10px}.ql-snow .ql-toolbar button svg,.quillWrapper .ql-snow.ql-toolbar button svg{width:22px;height:22px}.quillWrapper .ql-editor ul[data-checked=false]>li::before,.quillWrapper .ql-editor ul[data-checked=true]>li::before{font-size:1.35em;vertical-align:baseline;bottom:-.065em;font-weight:900;color:#222}.quillWrapper .ql-snow .ql-stroke{stroke:rgba(63,63,63,.95);stroke-linecap:square;stroke-linejoin:initial;stroke-width:1.7px}.quillWrapper .ql-picker-label{font-size:15px}.quillWrapper .ql-snow .ql-active .ql-stroke{stroke-width:2.25px}.quillWrapper .ql-toolbar.ql-snow .ql-formats{vertical-align:top}.ql-picker:not(.ql-background){position:relative;top:2px}.ql-picker.ql-color-picker svg{width:22px!important;height:22px!important}.quillWrapper .imageResizeActive img{display:block;cursor:pointer}.quillWrapper .imageResizeActive~div svg{cursor:pointer}",map:void 0,media:void 0}))},F=void 0,U=void 0,z=!1;var H=T({render:I,staticRenderFns:D},B,R,F,z,U,M,void 0),Z="2.10.3";function K(t){K.installed||(K.installed=!0,t.component("VueEditor",H))}var V={install:K,version:Z,Quill:a(),VueEditor:H},W=null;"undefined"!==typeof window?W=window.Vue:"undefined"!==typeof n.g&&(W=n.g.Vue),W&&W.use(V);var $=n(306),G=n(9649),Y=n(5279),X=(0,i.defineComponent)({name:"TaskDetails",components:{VueEditor:H},props:{query:{type:Object,default:()=>({})}},setup(t){const e=(0,i.ref)(!0),n=(0,i.ref)(!0),r=(0,i.ref)(),o=(0,i.ref)(),l=(0,i.ref)(t.query.task_id),a=(0,i.ref)(!0),s=(0,i.ref)(),u=(0,i.ref)(!1),c=(0,i.ref)(),f=(0,i.ref)(!1),d=(0,i.ref)({}),p=async()=>{const t={poor:"Poor",below_average:"Below Average",average:"Average",above_average:"Above Average",excellent:"Excellent"};a.value=!1,s.value=await(0,G.yW)(l.value),s.value.likertScale=s.value.likertScale?s.value.likertScale:t,console.log("Task Response",s.value),a.value=!0},h=async()=>{try{a.value=!1,console.log(`inside updateRecord task details ${JSON.stringify(s.value)}`);const t=await(0,G.F9)(s.value);c.value=t.data?.message,a.value=!0,u.value=!0,window.scroll(0,0),a.value=!0}catch(t){if(a.value=!0,$.Z.isAxiosError(t)){const e=t;a.value=!0,c.value=e.response?.data?.message,f.value=!0,setTimeout((()=>{f.value=!1}),2e3)}}};return(0,i.onBeforeMount)((async()=>{const t=await(0,Y.GF)("/getUserRole");r.value=t.user_roles,o.value=t.user_key,r.value.length>0&&(r.value.includes("System Admin")||r.value.includes("Community Manager")||r.value.includes("Program Admin")?(n.value=!0,e.value=!0):r.value.includes("System Admin View Access")?(e.value=!0,n.value=!1):(n.value=!1,e.value=!1)),await p()})),{taskId:l,renderReady:a,taskDetails:s,updateRecord:h,showSuccessMessage:u,resMessage:c,showErrorMessage:f,showUpdate:n,editorConfig:d,showScreen:e}}}),Q=X,J=n(1001),tt=(0,J.Z)(Q,r,o,!1,null,"b01520bc",null),et=tt.exports},5279:function(t,e,n){"use strict";n.d(e,{$d:function(){return o},$i:function(){return _},Ao:function(){return v},DU:function(){return h},EX:function(){return S},F5:function(){return C},FS:function(){return d},GF:function(){return N},Iu:function(){return l},J1:function(){return k},Jf:function(){return m},Kk:function(){return b},N9:function(){return A},P8:function(){return c},VP:function(){return g},Vz:function(){return x},WX:function(){return p},X$:function(){return q},XP:function(){return i},Yb:function(){return E},a4:function(){return j},dH:function(){return w},gh:function(){return y},nb:function(){return s},oA:function(){return O},r4:function(){return f},sd:function(){return u},wp:function(){return a},xJ:function(){return T}});var r=n(7129);const o=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},i=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},l=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},a=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},s=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},u=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},c=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},f=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},d=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},p=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},h=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},y=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},v=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},b=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},g=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},m=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},q=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},w=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},k=async t=>{const e=await r.Z.get(t);return e},_=async t=>{const e=await r.Z.get(t);return e},x=async t=>{const e=await r.Z.get(t);return e},O=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},E=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data,e))),e},N=async t=>{let e;return await r.Z.get(t).then((t=>(e=t.data.userObj,e))),e},A=async t=>{const e=await r.Z.post("/user/role",t);return e},j=async t=>{const e=await r.Z.post("/user/removeRole",t);return e},T=async()=>{const t=await r.Z.get("role");return t},S=async t=>{const e=await r.Z.post("/user/saveLSS",t);return e},C=async t=>{const e=await r.Z.post("/user/saveEnvAccess",t);return e}},9649:function(t,e,n){"use strict";n.d(e,{$M:function(){return f},F9:function(){return p},HX:function(){return a},V$:function(){return s},VA:function(){return i},dr:function(){return o},gs:function(){return h},jz:function(){return d},q$:function(){return c},rP:function(){return l},yW:function(){return u}});var r=n(7129);const o=async t=>{let e;return await r.Z.get(t).then((t=>(console.log("Response",t),e=t.data.response.program_name,e))),e},i=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.tasks,n))),n},l=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.learnerDetails,n))),n},a=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.tasks,n))),n},s=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data,n))),n},u=async t=>{let e;try{return await r.Z.get(`/task/${t}`).then((t=>(e=t.data.data,e))),e}catch(n){return n}},c=async(t,e)=>{try{const n=await fetch(`${t}`,{method:"put",body:e}),r=n;return r}catch(n){return console.error(n),n}},f=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.tasks,n))),n},d=async(t,e)=>{let n;return await r.Z.post(t,e).then((t=>(n=t.data.tasks,n))),n},p=async t=>{console.log(`inside save task data ${JSON.stringify(t)}`);const e=await r.Z.post("/task/create",t);return e},h=async t=>{try{let e;return await r.Z.get(`/admin/task/taskExport/${t}`).then((async t=>(e=t.data,e))),e}catch(e){return e}}},5942:function(t,e,n){n(7658),n(541),
2
2
  /*!
3
3
  * Quill Editor v1.3.7
4
4
  * https://quilljs.com/
@@ -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},8899: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",{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.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 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(z){return M.$emit("closeModal")}}},[M._v(" Cancel ")]):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",on:{click:function(z){return M.$emit("Archive")}}},[M._v("Confirm")]):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(6275),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}},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},8559: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(8899),a=b(1745),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-4"},[M._v("With Solidify you can implement your learnings and gain hands-on experience.")]),z("p",{staticClass:"pt-4"},[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 a task to complete. If you are in a client-restricted environment, we have mobile-friendly tasks 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)}})]),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 task has been passed by your colleagues and you have done your reviews, it will be time to change your proficiency in My Profile!")]),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,"ea90f80a",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(6275),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/my-profile?page=0"><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,"4a21e0a8",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},8899: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",{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.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 mr-2",staticStyle:{"background-color":"grey"},on:{click:function(z){return M.$emit("closeModal")}}},[M._v(" Cancel ")]):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",on:{click:function(z){return M.$emit("Archive")}}},[M._v("Confirm")]):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(6275),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}},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},6431: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(8899),a=b(1745),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(6275),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/my-profile?page=0"><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,"4a21e0a8",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