@genpact/genome.mfe.prework-app 1.0.0-alpha.77 → 1.0.0-alpha.78

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.
@@ -73,7 +73,7 @@ var b=M.defineLocale("eo",{months:"januaro_februaro_marto_aprilo_majo_junio_juli
73
73
  //! moment.js locale configuration
74
74
  var b=M.defineLocale("gl",{months:"xaneiro_febreiro_marzo_abril_maio_xuño_xullo_agosto_setembro_outubro_novembro_decembro".split("_"),monthsShort:"xan._feb._mar._abr._mai._xuñ._xul._ago._set._out._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"domingo_luns_martes_mércores_xoves_venres_sábado".split("_"),weekdaysShort:"dom._lun._mar._mér._xov._ven._sáb.".split("_"),weekdaysMin:"do_lu_ma_mé_xo_ve_sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD/MM/YYYY",LL:"D [de] MMMM [de] YYYY",LLL:"D [de] MMMM [de] YYYY H:mm",LLLL:"dddd, D [de] MMMM [de] YYYY H:mm"},calendar:{sameDay:function(){return"[hoxe "+(1!==this.hours()?"ás":"á")+"] LT"},nextDay:function(){return"[mañá "+(1!==this.hours()?"ás":"á")+"] LT"},nextWeek:function(){return"dddd ["+(1!==this.hours()?"ás":"a")+"] LT"},lastDay:function(){return"[onte "+(1!==this.hours()?"á":"a")+"] LT"},lastWeek:function(){return"[o] dddd [pasado "+(1!==this.hours()?"ás":"a")+"] LT"},sameElse:"L"},relativeTime:{future:function(M){return 0===M.indexOf("un")?"n"+M:"en "+M},past:"hai %s",s:"uns segundos",ss:"%d segundos",m:"un minuto",mm:"%d minutos",h:"unha hora",hh:"%d horas",d:"un día",dd:"%d días",M:"un mes",MM:"%d meses",y:"un ano",yy:"%d anos"},dayOfMonthOrdinalParse:/\d{1,2}º/,ordinal:"%dº",week:{dow:1,doy:4}});return b}))},5015:function(M,b,z){var p=z("55b9"),O=z("904d"),o=z("2e33"),e=z("f3f0");M.exports=function(M,b,z){for(var c=O(b),a=e.f,n=o.f,A=0;A<c.length;A++){var t=c[A];p(M,t)||z&&p(z,t)||a(M,t,n(b,t))}}},"511a":function(M,b,z){(function(M,b){b(z("bb03"))})(0,(function(M){"use strict";
75
75
  //! moment.js locale configuration
76
- var b=M.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(M,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return M+(1===M?"er":"e");case"w":case"W":return M+(1===M?"re":"e")}}});return b}))},"52e4":function(M,b,z){"use strict";z.r(b);var p=function(){var M=this,b=M.$createElement,p=M._self._c||b;return p("div",[M.renderReady?[M.showErrorMessage?M._e():["active"===M.diffAccess.diffAccessStatus?p("div",[p("div",{staticClass:"container mx-auto"},[p("div",{staticClass:"flex"},[p("div",{staticClass:"w-full pt-4 lg:px-12 md:px-12 px-4"},[p("div",{staticClass:"flex justify-between"},[p("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[M._v(M._s(M.responseData.proficiencyName)+" - "+M._s(M.responseData.skillName))]),M._m(0)]),M._m(1),p("div",{staticClass:"rich-text-formatter box-overflow1n lg:mt-3 md:mt-3 mt-2 text-sm"},[p("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3"},[p("div",{staticClass:"text-gray-500"},["Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"General"!==M.registeredSession.nameOfProgram?M._e():p("div",[p("p",[M._v("You are currently registered for a Guru Connect scheduled on:")]),p("div",{staticClass:"w-full mx-auto pt-2 relative"},[p("div",{staticClass:"pt-1 text-xl text-center"},[p("strong",[M._v(M._s(M.registeredSession.startTime.format("MMMM D, YYYY"))+" from "+M._s(M.registeredSession.startTime.format("h:mm A"))+" to "+M._s(M.registeredSession.endTime.format("h:mm A"))+" "),p("div",[M._v("with "+M._s(M.registeredSession.guruName))])]),p("label",{staticClass:"block text-sm pb-1"},[M._v(" Be sure to block your calendar for this time by accepting the MR sent to your email. ")])]),p("p",{staticClass:"pt-4"},[M._v(" Your pre-work question is below. The Guru and the Community Manager prioritize pre-work questions they feel will inspire a good discussion. You can edit your question until two business days before the session. ")]),p("div",{staticClass:"pt-2 lg:w-4/5 md:w-4/5 w-full"},[p("textarea",{directives:[{name:"model",rawName:"v-model",value:M.existingLearnerJourney.preworkQuestion,expression:"existingLearnerJourney.preworkQuestion"}],staticClass:"mx-auto h-24 shadow appearance-none border border-gray-200 rounded w-full py-2 px-3 -text-blue-900 leading-tight focus:outline-none focus:shadow-outline",attrs:{placeholder:"Click here to type your pre-work question.\nTake your time to articulate a good question. Your Guru will read this question. Make sure you cannot answer the question by re-reading Immerse.\nFor example, ask how you can apply the skill in your role."},domProps:{value:M.existingLearnerJourney.preworkQuestion},on:{keyup:function(b){return M.checkQuestionLength(M.existingLearnerJourney.preworkQuestion)},input:function(b){b.target.composing||M.$set(M.existingLearnerJourney,"preworkQuestion",b.target.value)}}}),p("div",{staticClass:"flex w-full justify-between"},[p("div",[p("div",[M.questionWordCount1<10?p("p",[M._v("(Minimum 10 words required. Current word count - "+M._s(M.questionWordCount1)+")")]):M._e()]),M.preworkValidationMsg?p("div",{staticClass:"ui basic label pointing red"},["CannotSubmitPrework"!=M.preworkValidationMsg?p("span",{staticClass:"text-green-700"},[M._v(M._s(M.preworkValidationMsg)+" ")]):M._e(),"CannotSubmitPrework"===M.preworkValidationMsg?p("span",{staticClass:"text-red-700"},[M._v("(You cannot update prework question 2 business days prior guru connect) ")]):M._e()]):M._e()]),p("div",{staticClass:"text-right"},[p("button",{class:M.wordCountQuestionFlag?"inline-block py-1 px-4 -mt-1 -bg-blue-900 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75":"inline-block py-1 px-4 -mt-1 bg-gray-500 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{disabled:!M.wordCountQuestionFlag},on:{click:function(b){return M.saveQuestion()}}},[M._v(" Update Pre-work ")])])]),p("div",{staticClass:"flex w-full justify-between"})])]),p("p",{staticClass:"pt-4"},[M._v('If at any time you are unable to attend this session, click the button below to "Cancel Registration" or if you want to select another options click "Change Registration."')]),p("p",{staticClass:"pt-1"},[M._v(" Once its time, you can join the Zoom session direct by clicking “Join” below or if you need a reminder of the expectations in a Guru Connect click “Join” now. Looking forward to seeing you on Zoom! ")])]),"Guru Forum"===M.registeredSession.typeOfSession||"Executive Guru Forum"===M.registeredSession.typeOfSession?p("div",[p("p",[M._v("You are currently registered for a Guru Forum, its open from:")]),p("div",{staticClass:"pt-1 text-xl text-center"},[p("strong",[M._v(M._s(M.registeredSession.startTime.format("MMMM D, YYYY"))+" to "+M._s(M.registeredSession.endTime.format("MMMM D, YYYY")))])]),p("p",{staticClass:"pt-4"},[M._v("To pass this Guru Forum, you will need to actively participate. This includes the following:")]),M._m(2),p("p",{staticClass:"pt-1"},[M._v(" A few examples of active participation: You could respond to two questions posted by your peers and start a new discussion thread, or You could also begin two discussion threads and respond to a comment from your peers. ")]),p("p",{staticClass:"pt-1"},[M._v('If at any time you are unable to attend this session, click the button below to "Cancel Registration" or if you want to select another options click "Change Registration."')]),p("p",{staticClass:"pt-1"},[M._v("You can join the forum when its open by clicking the “Join” button below.")])]):M._e(),"Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"LSGC"!==M.registeredSession.nameOfProgram?M._e():p("div",[p("p",[M._v("You are currently registered for a Large Scale Guru Connect scheduled on:")]),p("div",{staticClass:"text-left"},[p("div",{staticClass:"pt-1 text-xl text-center"},[p("strong",[M._v(M._s(M.registeredSession.startTime.format("MMMM D, YYYY"))+" "+M._s(M.registeredSession.startTime.format("h:mm A"))+" to "+M._s(M.registeredSession.endTime.format("h:mm A"))+" "),p("div",[M._v("with "+M._s(M.registeredSession.guruName))])]),p("p",{staticClass:"pt-2"},[M._v("Be sure to block your calendar for this time by accepting the MR sent to your email.")])])]),p("p",{staticClass:"pt-4"},[M._v("This is a Large Scale Guru Connect, these sessions are intended for Band 5 and 4A learners in Digital Operations, but anyone eligible is free to join the session.")]),p("p",{staticClass:"pt-1"},[M._v('Before this session, you will need to do the pre-read, which is chosen by the Guru to facilitate discussion in a large group. Follow the "pre-read" link below.')]),p("p",{staticClass:"pt-1"},[M._v('If at any time you are unable to attend this session, click the button below to "Cancel Registration" or if you want to select another options click "Change Registration."')]),p("p",{staticClass:"pt-1"},[M._v(" Once its time, you can join the Zoom session direct by clicking “Join” below or if you need a reminder of the expectations in a Guru Connect click “Join” now. Looking forward to seeing you on Zoom! ")])]),M.sessionDetails?p("div",[p("div",{staticClass:"pt-4 text-left flex w-full items-end"},[p("div",[p("button",{staticClass:"mt-1 inline-block py-1 px-6 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:M.preStartTimeFlag?"bg-blue-900":"bg-gray-500",on:{click:function(b){return M.joinSession()}}},[M._v(" Join ")])]),"Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"General"!==M.registeredSession.nameOfProgram?M._e():p("div",[p("button",{staticClass:"-text-blue-900 ml-2 underline",attrs:{disabled:!M.wordCountQuestionFlag},on:{click:function(b){return M.saveQuestion()}}},[M._v("Update Pre-work")]),p("div",{staticClass:"inline-block -text-blue-900 ml-2"},[M._v("|")])]),p("div",{staticClass:"relative inline-block text-left"},["Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"LSGC"!==M.registeredSession.nameOfProgram?M._e():p("div",[p("button",{staticClass:"-text-blue-900 ml-2 underline",attrs:{id:"dropdownbutton",type:"button"},on:{click:function(b){return M.showDropDown()}}},[M._v("Pre-read")])]),M.dropDownVisible?p("div",{staticClass:"px-2 absolute dropdowndiv left-0 z-10 mt-2 w-28 origin-top-right bg-white shadow-lg border"},M._l(M.registeredSession.preReadLink,(function(b,z){return p("div",{key:z},[p("ul",{staticClass:"list-disc"},[b.length>0?p("li",[p("a",{staticClass:"text-gray-700 block py-1 text-sm -text-aqua underline",attrs:{href:b,target:"_blank"}},[M._v("Pre-read "+M._s(z+1))])]):M._e()])])})),0):M._e()]),"Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"LSGC"!==M.registeredSession.nameOfProgram?M._e():p("div",{staticClass:"inline-block -text-blue-900 ml-2"},[M._v(" | ")]),p("button",{staticClass:"mt-1 inline-block ml-2 -text-blue-900 ml-2 underline",on:{click:function(b){return M.cancelConfirmation()}}},[M._v("Cancel Registration")]),p("div",{staticClass:"inline-block -text-blue-900 ml-2"},[M._v("|")]),p("button",{staticClass:"mt-1 inline-block ml-2 -text-blue-900 ml-2 underline",on:{click:function(b){M.showSessions=!0}}},[M._v("Change Registration")])]),M.showSessions?p("div",[p("div",{staticClass:"text-left pt-2"},[p("p",{staticClass:"pt-4"},[M._v(" Below are the current options for Transform for "),p("strong",[M._v(M._s(M.responseData.proficiencyName)+" - "+M._s(M.responseData.skillName))]),M._v(". Make sure to review your schedule so you are registering only for a session you can attend. ")]),p("p",{staticClass:"pt-1"},[M._v('Choose one option below and then click "Register":')])]),M.exGcSession?p("div",{staticClass:"pt-3"},[M._m(3),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Executive Guru Connect"===b.typeOfSession&&"General"===b.nameOfProgram?p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):b.currentLearnerCount<b.capacity?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"ex-guru-connect"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"ex-guru-connect"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (Registration is full)")])],1)])]):M._e()])}))],2):M._e(),M.exGfSession?p("div",{staticClass:"pt-3"},[M._m(4),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Executive Guru Forum"===b.typeOfSession&&"General"===b.nameOfProgram?p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"ex-guru-forum"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"ex-guru-forum"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])])]):M._e()])}))],2):M._e(),M.gfSession&&!M.exGfSession?p("div",{staticClass:"pt-3"},[M._m(5),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Guru Forum"===b.typeOfSession&&"General"===b.nameOfProgram?p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"guru-forum"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-forum"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])])]):M._e()])}))],2):M._e(),M.gcSession?p("div",{staticClass:"pt-3"},[M._m(6),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Guru Connect"===b.typeOfSession&&"General"===b.nameOfProgram?p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):b.currentLearnerCount<b.capacity?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"guru-connect-2"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-connect-2"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (Registration is full)")])],1)])]):M._e()])}))],2):M._e(),M.lsgcSession?p("div",{staticClass:"pt-3"},[M._m(7),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Guru Connect"!==b.typeOfSession&&"Executive Guru Connect"!==b.typeOfSession||"LSGC"!==b.nameOfProgram?M._e():p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):b.currentLearnerCount<b.capacity?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"ls-guru-connect"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"ls-guru-connect"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (Registration is full)")])],1)])])])}))],2):M._e(),!M.selectedSession||"Guru Connect"!==M.selectedSession.typeOfSession&&"Executive Guru Connect"!==M.selectedSession.typeOfSession||"General"!==M.selectedSession.nameOfProgram||("Guru Connect"===M.registeredSession.typeOfSession||"Executive Guru Connect"===M.registeredSession.typeOfSession)&&"General"===M.registeredSession.nameOfProgram?M._e():p("div",{staticClass:"pt-6"},[p("textarea",{directives:[{name:"model",rawName:"v-model",value:M.question,expression:"question"}],staticClass:"mx-auto h-24 shadow appearance-none border border-gray-200 rounded w-3/5 py-2 px-3 -text-blue-900 leading-tight focus:outline-none focus:shadow-outline",attrs:{placeholder:"Click here to type your pre-work question.\nTake your time to articulate a good question. Your Guru will read this question. Make sure you cannot answer the question by re-reading Immerse. For example, ask how you can apply the skill in your role."},domProps:{value:M.question},on:{keyup:function(b){return M.checkLength(M.question)},input:function(b){b.target.composing||(M.question=b.target.value)}}}),M.questionWordCount2<10?p("p",[M._v("(Minimum 10 words required. Current word count - "+M._s(M.questionWordCount2)+")")]):M._e()]),p("div",{staticClass:"mt-4 mb-6 text-center"},[p("button",{staticClass:"inline-block text-white py-2 px-8",class:M.wordCountFlag&&M.isMyProfileChecked&&M.isMyImmerseChecked&&M.selectedSession?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!M.wordCountFlag||!M.isMyProfileChecked||!M.isMyImmerseChecked||!M.selectedSession},on:{click:M.registerForSession}},[M._v(" Register ")])])]):M._e()]):M._e()])])])])]),p("Generic",{attrs:{"is-visible":M.modalVisible,message:M.modalMessage,"close-visible":M.closeVisible,"yes-button":M.modalButtonVisible},on:{closeModal:M.closeModal,Cancel:M.closeModal,cancelRegistration:M.cancelRegistration}})],1)]):M._e()],M.showErrorMessage?p("ErrorMessage",{attrs:{"error-message":M.errorResponse}}):M._e()]:M._e(),M.renderReady?M._e():p("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[p("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:z("9d04"),alt:"Loader Gif"}}),p("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[M._v("Loading...")])])],2)},O=[function(){var M=this,b=M.$createElement,p=M._self._c||b;return p("div",{staticClass:"my-2"},[p("a",{attrs:{href:"https://genpactindprod.service-now.com/sp?id=sc_cat_item&sys_id=1f91ef651b2bb8905e098739cd4bcb21&sysparm_category=26a26f691b2bb8905e098739cd4bcbbc",target:"_blank"}},[p("img",{staticClass:"ml-auto",attrs:{src:z("a884")}})])])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("div",{staticClass:"flex block"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Register")]),z("li",{staticClass:"active"},[M._v("Join")]),z("li",[M._v("Finish")])])])])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("div",{staticClass:"pl-6"},[z("ul",[z("li",[M._v("Answering questions posted by your peers by replying in the discussion threads.")]),z("li",[M._v("Start a new discussion to ask a new question that is related to the skill.")])])])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Guru Connect for Executives:")]),M._v("Live Zoom session exclusively with Band 3 and above learners and the Guru to discuss the skill and how it can be applied by business leaders.")])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Guru Forum for Executives:")]),M._v("Online conversation exclusively with Band 3 and above learners offering flexibility to join when you can. Reply to existing discussions or create new ones. ")])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Guru Forum:")]),M._v(" Online conversations offering flexibility to join when you can. Reply to existing discussions or create new ones.")])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Guru Connects:")]),M._v(" Live Zoom sessions, with direct contact with the Guru and discussion with your colleagues.")])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Large Scale Guru Connects: ")]),M._v("Live Zoom sessions designed to support large audiences. While anyone can join, these are intended for Bands 5 and 4A in Digital Operations.")])}],o=(z("1884"),z("94b0")),e=z("006a"),c=z("1dba"),a=z.n(c),n=z("bb03"),A=z.n(n),t=z("9608"),d=z.n(t),r=z("c161"),i=z("afbc"),s=z("8e27"),q=z("4228"),u=z.n(q),W=Object(o["b"])({name:"TransformJoin",components:{Generic:r["a"],ErrorMessage:s["a"]},props:["query"],setup(M){const b=Object(o["e"])(!0),z=Object(o["e"])(),p=Object(o["e"])(),O=Object(o["e"])(),c=Object(o["e"])(),n=Object(o["e"])([]),t=Object(o["e"])(),r=Object(o["e"])(!1),s=Object(o["e"])(),q=Object(o["e"])(!1),W=Object(o["e"])(!1),l=Object(o["e"])(!1),_=Object(o["e"])(!1),m=Object(o["e"])(!1),f=Object(o["e"])(),L=Object(o["e"])(),R=Object(o["e"])(),h=Object(o["e"])(),y=Object(o["e"])(!1),g=Object(o["e"])(!1),B=Object(o["e"])(!1),N=Object(o["e"])(),T=Object(o["e"])(),v=Object(o["e"])(),X=Object(o["e"])(!1),Y=Object(o["e"])(!1),k=Object(o["e"])(),D=Object(o["e"])(0),w=Object(o["e"])(),S=Object(o["e"])(),x=Object(o["e"])(!1),H=Object(o["e"])(!1),j=Object(o["e"])(!1),C=Object(o["e"])(!1),E=Object(o["e"])(!0),P=Object(o["e"])(),F=M=>{M.length>=0&&(D.value=M.split(" ").filter(M=>""!==M).length),console.log("question length",D.value),y.value=!(D.value<10)},G=()=>{b.value=!1,B.value=!0,N.value='<div class="md:text-xl my-2 -text-blue-900 px-6 py-2">Are you sure you want to cancel your registration?</div>',x.value=!0,b.value=!0},I=()=>{Y.value=!0,"Guru Forum"!==T.value.typeOfSession&&"Executive Guru Forum"!==T.value.typeOfSession||(A()().isBefore(T.value.startTime)?(B.value=!0,C.value=!0,N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">It\'s not time for your Guru Forum.</div>\n <div class="px-4">\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.</p>\n </div>\n </div>\n </div>\n </div>'):window.open(T.value.meetingLocation,"_blank")),"Guru Connect"!==T.value.typeOfSession&&"Executive Guru Connect"!==T.value.typeOfSession||(B.value=!0,C.value=!0,"General"===T.value.nameOfProgram&&(A()().isBefore(T.value.preStartTime)?N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl popup-header">It\'s not time for your Guru Connect.<br> Here is what you need to know going into the session:</div>\n <div class="px-4">\n <div class="text-left pt-2">\n <ul class="list-disc">\n <li>Attendance for the entire session and participation are mandatory, if you don\'t participate you may have to re-do Transform.</li>\n <li>Remember to turn your camera on. Learning is more effective when your colleagues can see you.</li>\n <li>Come prepared to ask questions you want to discuss with the Guru and your colleagues.</li>\n </ul>\n </div>\n <div class="text-xl popup-footer pt-2">\n You can make progress on other Genome Waves right now by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.\n </div>\n </div>\n </div>\n </div>\n </div>':(C.value=!1,N.value=`<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">We are looking forward to this Guru Connect.</div>\n <div class="px-4">\n <div class="text-left pt-2">\n <p class="text-sm pt-2">Here is what you need to know going into the session:</p>\n <ul class="list-disc">\n <li> <p class="text-sm pt-2">Attendance for the entire session and participation is mandatory, if you don't participate you may have to re-do Transform.</p></li>\n <li> <p class="text-sm pt-2">Remember to turn your camera on. Learning is more effective when your colleagues can see you.</p> </li>\n <li> <p class="text-sm pt-2">Come prepared to ask questions you want to discuss with the Guru and your colleagues.</p> </li>\n </ul>\n </div>\n <div class="text-sm pt-3">\n <a href=${T.value.meetingLocation} target="_blank" class="inline-block text-center py-2 px-6 -bg-blue-900 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75">Join Zoom</a>\n </div>\n </div>\n </div>\n </div>\n </div>`)),"LSGC"===T.value.nameOfProgram&&(A()().isBefore(T.value.preStartTime)?(C.value=!0,N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">It\'s not time for your Large Scale Guru Connect.</div>\n <div class="px-4">\n <div class="text-left pt-2">\n <p class="text-sm pt-2">Here is what you need to know going into the session:</p>\n <ul class="list-disc">\n <li> <p class="text-sm pt-2">Attendance for the entire session and participation is mandatory, if you don\'t participate you may have to re-do Transform.</p></li>\n <li> <p class="text-sm pt-2">You may be split into break-out rooms.</p> </li>\n <li> <p class="text-sm pt-2">You will present the group with possible solutions to the problem statement from the pre-read.</p> </li>\n </ul>\n </div>\n <div class="text-xl popup-footer pt-2">\n You can make progress on other Genome Waves right now by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.\n </div>\n </div>\n </div>\n </div>\n </div>'):(C.value=!1,N.value=`<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">We are looking forward to this Large-Scale Guru Connect.</div>\n <div class="px-4">\n <div class="text-left pt-2">\n <p class="text-sm pt-2">Here is what you need to know going into the session:</p>\n <ul class="list-disc">\n <li> <p class="text-sm pt-2">Attendance for the entire session and participation is mandatory, if you don't participate you may have to re-do Transform.</p></li>\n <li> <p class="text-sm pt-2">You may be split into break-out rooms.</p> </li>\n <li> <p class="text-sm pt-2">You will present the group with possible solutions to the problem statement from the pre-read.</p> </li>\n </ul>\n </div>\n <div class="text-sm pt-3">\n <a href=${T.value.meetingLocation} target="_blank" class="inline-block text-center py-2 px-6 -bg-blue-900 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75"> Join </a>\n </div>\n </div>\n </div>\n </div>\n </div>`)))},U=(M,b)=>{R.value=b,console.log("selectedSession",R.value),y.value=!(("Guru Connect"===b.typeOfSession||"Executive Guru Connect"===b.typeOfSession)&&"General"===b.nameOfProgram),console.log("selec session wordflaf value",y.value),"Guru Connect"!==b.typeOfSession&&"Executive Guru Connect"!==b.typeOfSession||"General"!==b.nameOfProgram||(console.log("inside session ",v.value.preworkQuestion),v.value.preworkQuestion&&F(v.value.preworkQuestion))},J=M=>{M.length>=0&&(k.value=M.split(" ").filter(M=>""!==M).length),console.log("question length",k.value),g.value=!(k.value<10)},V=async()=>{try{if(A()().isAfter(d()(T.value.startTime).businessSubtract(2,"days").endOf("day")))return S.value="CannotSubmitPrework",setTimeout(()=>{S.value=null},6e3),void(b.value=!0);b.value=!1;const M={learnerJourneyId:v.value.learnerJourneyId,preworkQuestion:v.value.preworkQuestion},z=await Object(e["b"])("/learner/data/update",M);if(z)return S.value=z.data.message,setTimeout(()=>{S.value=null},15e3),void(b.value=!0);b.value=!0,y.value=!1,g.value=!1}catch(z){if(console.log("inside catch error1"),console.log(JSON.stringify(z)),b.value=!0,a.a.isAxiosError(z)){var M;const b=z;t.value="Something went wrong, please contact helpmate.",console.log(null===(M=b.response)||void 0===M?void 0:M.data.message),console.log("errorMessage.value "+t.value)}else t.value="Something went wrong, please contact helpmate.";r.value=!0}},K=()=>{B.value=!1,C.value=!1,Y.value?Y.value=!1:window.location.reload()},Q=()=>{console.log("indide dropsown"),H.value=!H.value};window.addEventListener("click",M=>{const b=document.getElementById("dropdownbutton");M.target!==b&&(H.value=!1)});const Z=async()=>{try{x.value=!1,B.value=!1,b.value=!1;const M=await Object(e["a"])("/learner/unregister/"+v.value.learnerJourneyId);M&&(B.value=!0,C.value=!0,X.value=!0,"Guru Connect"!==T.value.typeOfSession&&"Executive Guru Connect"!==T.value.typeOfSession||(N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">You have canceled your registration for Transform</div>\n <div class="px-4">\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.</p>\n <p class="text-sm pt-2">Genome.Learning sent a meeting request for your previous registration. Go to your email now and decline that request.</p>\n </div>\n </div>\n </div>\n </div>'),"Guru Forum"!==T.value.typeOfSession&&"Executive Guru Forum"!==T.value.typeOfSession||(N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">You have cancelled your registration for Transform.</div>\n <div class="px-4">\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.</p>\n </div>\n </div>\n </div>\n </div>')),b.value=!0}catch(z){if(console.log("inside catch error1"),console.log(JSON.stringify(z)),b.value=!0,a.a.isAxiosError(z)){var M;const b=z;t.value="Something went wrong, please contact helpmate.",console.log(null===(M=b.response)||void 0===M?void 0:M.data.message),console.log("errorMessage.value "+t.value)}else t.value="Something went wrong, please contact helpmate.";r.value=!0}},$=async()=>{try{b.value=!1,console.log("selectedSession.value",R.value),v.value.preworkQuestion&&(h.value=v.value.preworkQuestion?v.value.preworkQuestion:h.value);const M={sessionId:R.value.sessionId,learnerKey:O.value,email:c.value,preworkQuestion:("Guru Connect"===R.value.typeOfSession||"Executive Guru Connect"===R.value.typeOfSession)&&"General"===R.value.nameOfProgram&&h.value,isMyProfileMarked:f.value?1:0,isMyImmerseMarked:L.value?1:0};console.log("data",M);const z=await Object(e["b"])("/learner/register",M);z&&(B.value=!0,C.value=!0,"Guru Forum"===T.value.typeOfSession||"Executive Guru Forum"===T.value.typeOfSession?N.value='<div class="popup">\n <div class="bg-white max-w-xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="md:text-xl my-2">You have changed your registration for Transform</div>\n <div class="px-4">\n <p class="text-sm pt-2">You will receive an email within 24-48 hours for next steps.<br> You can also access this site at anytime.</p>\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a></p>\n </div>\n </div>\n </div>\n </div>':N.value='<div class="popup">\n <div class="bg-white max-w-xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="md:text-xl my-2">You have changed your registration for Transform</div>\n <div class="px-4">\n <p class="text-sm pt-2">You will receive an email within 24-48 hours for next steps.<br> You can also access this site at anytime.</p>\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a></p>\n <p class="text-sm pt-2">Genome.Learning sent a meeting request for your previous registration. Go to your email now and decline that request.</p>\n </div>\n </div>\n </div>\n </div>'),console.log("res",z),b.value=!0}catch(z){if(console.log("inside catch error1"),console.log(JSON.stringify(z)),b.value=!0,a.a.isAxiosError(z)){var M;const b=z;t.value="Something went wrong, please contact helpmate.",console.log(null===(M=b.response)||void 0===M?void 0:M.data.message),console.log("errorMessage.value "+t.value)}else t.value="Something went wrong, please contact helpmate.";r.value=!0}};return Object(o["c"])(async()=>{try{b.value=!1,z.value=M.query.skill,p.value=M.query.proficiency,O.value=localStorage.getItem("user_key"),P.value=u.a.tz.guess();const o={skill:z.value,proficiency:p.value},c=await Object(e["b"])("/learner/session",o);if(c.data){if(console.log("landingResponse",c),c.data.systemUnderMaintainence)return b.value=!0,t.value=c.data.maintenanceMessage,void(r.value=!0);if(w.value=c.data.diffAccess,console.log("diff access value",w.value),"suspended"===w.value.diffAccessStatus)return console.log("Diff access status is suspended"),b.value=!0,"Band5PESuspended"===w.value.diffAccessStatusReason?(console.log("Band5PESuspended "+w.value.diffAccessStatusReason),t.value=`<p class="pt-2">You will need to raise a helpmate ticket to pursue Transform for ${c.data.proficiencyName} ${c.data.skillName}. </p>\n <p class="pt-2">\n All Band 5 learners can only pursue higher proficiencies for this skill through sequential learning. You'll need to start at beginner proficiency level for any professional, digital, and industry skill and only then move to higher levels of proficiency (Beginner -> Intermediate -> Proficient -> Expert). \n </p>\n <p class="pt-2">If you have done, this apologies for the delay to your learning. We need to manually check for sequential learning. Once validated you can return here through Edcast and register. Begin this process by raising a ticket by clicking "support" icon. </p>`):(console.log("DiffAccessSuspended "+w.value.diffAccessStatusReason),t.value='<p class="pt-2">You are tagged incorrectly on My Profile. You will not be able to register for Transform</p>\n <p class="pt-2">\n All learners in band 5 and 4A in operations need to start at beginner proficiency level for any professional, digital, and industry skill and only then move to higher levels of proficiency (Beginner -> Intermediate -> Proficient -> Expert). Re-register for the session only after you have completed the necessary waves to be at the correct proficiency. \n </p>\n <p class="pt-2">Go to <a href="https://genome.genpact.com" target="_blank" class="-text-aqua underline"> Genome </a> to find what changes you need to make.Your manager can also guide you through the required changes. </p>'),void(r.value=!0);if(s.value=c.data.learnerSessionDetails,console.log("responseData.value",s.value),s.value){if(void 0!==s.value.registeredSession&&"Cancelled"!==s.value.registeredSession.sessionStatus||i["a"].push({name:"TransformLanding",query:{skill:z.value,proficiency:p.value}}),s.value.registeredSession){if(T.value=s.value.registeredSession,console.log("registeredSession",T),s.value.existingJourneyDetails){if(v.value=s.value.existingJourneyDetails,v.value.preworkQuestion&&J(v.value.preworkQuestion),f.value=v.value.isMyProfileMarked,L.value=v.value.isMyImmerseMarked,"In-Progress"===v.value.completionStatus){if("Guru Connect"===v.value.sessionType||"Executive Guru Connect"===v.value.typeOfSession)if("Scheduled"===T.value.sessionStatus){const M=A()(),b=A()(T.value.endTime);M.isAfter(b)&&i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}})}else"Conducted"===T.value.sessionStatus&&i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}});if("Guru Forum"===v.value.sessionType||"Executive Guru Forum"===v.value.typeOfSession){const M=A()(),b=A()(T.value.endTime);(v.value.reputationScore>0||"Conducted"===T.value.sessionStatus||M.isAfter(b))&&i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}})}}"Successful"===v.value.completionStatus||"Pending"===v.value.completionStatus?i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}}):"Unsuccessful"===v.value.completionStatus&&v.value.attendedForRedo?i["a"].push({path:"/prework",query:{skill:v.value.skill,proficiency:v.value.proficiency}}):"Unsuccessful"!==v.value.completionStatus||v.value.attendedForRedo||i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}})}if(!s.value.sessionDetails.length)return console.log(`No session exists for for the given skillid ${z.value} and proficiencyId ${p.value}`),b.value=!0,t.value=`Welcome to Transform, currently there are no sessions scheduled for ${s.value.proficiencyName} ${s.value.skillName} Click here to be the first to know when the date and time for the next session is available for registration. Once scheduled, we will send you a link to register for the session.`,void(r.value=!0);n.value=s.value.sessionDetails,"Guru Forum"!==T.value.typeOfSession&&"Executive Guru Forum"!==T.value.typeOfSession||(T.value.startTime=A()(T.value.startTime),T.value.endTime=A()(T.value.endTime),E.value=A()().isAfter(T.value.startTime)),"Guru Connect"!==T.value.typeOfSession&&"Executive Guru Connect"!==T.value.typeOfSession||(T.value.startTime=A()(T.value.startTime),T.value.preStartTime=A()(T.value.startTime).subtract(5,"minutes"),E.value=A()().isAfter(T.value.preStartTime),T.value.endTime=A()(T.value.endTime))}for(let M=0;M<n.value.length;M+=1){const b=n.value[M];"Guru Forum"!==b.typeOfSession&&"Executive Guru Forum"!==b.typeOfSession||(n.value[M].startTime=A()(n.value[M].startTime).format("MMMM D, YYYY"),n.value[M].endTime=A()(n.value[M].endTime).format("MMMM D, YYYY")),"Guru Connect"!==b.typeOfSession&&"Executive Guru Connect"!==b.typeOfSession||(n.value[M].startTime=A()(n.value[M].startTime).format("MMMM D, YYYY, [from] h:mm A"),n.value[M].endTime=A()(n.value[M].endTime).format("h:mm A")),s.value.bandCode<=3&&(q.value=q.value?q.value:"Executive Guru Connect"===b.typeOfSession&&"General"===b.nameOfProgram,W.value=W.value?W.value:"Executive Guru Forum"===b.typeOfSession&&"General"===b.nameOfProgram),l.value=l.value?l.value:"Guru Forum"===b.typeOfSession&&"General"===b.nameOfProgram,_.value=_.value?_.value:"Guru Connect"===b.typeOfSession&&"General"===b.nameOfProgram,m.value=m.value?m.value:("Executive Guru Connect"===b.typeOfSession||"Guru Connect"===b.typeOfSession)&&"LSGC"===b.nameOfProgram}if(!q.value&&!W.value&&!l.value&&!_.value&&!m.value)return console.log(`No session exists for for the given skillid ${z.value} and proficiencyId ${p.value}`),b.value=!0,t.value=`Welcome to Transform, currently there are no sessions scheduled for ${s.value.proficiencyName} ${s.value.skillName} Click <a href=https://forms.office.com/Pages/ResponsePage.aspx?id=IIrvvayqgE-zoNmjL5n9MzsuAnmkt3NPltYk6zADlDVUMjdLR1Q3MENSS0ZYVFpTQ1Q5NTJYS1g5QiQlQCNjPTEu target="_blank"><strong>here</strong> to be the first to know when the date and time for the next session is available for registration. Once scheduled, we will send you a link to register for the session.`,void(r.value=!0);console.log("session status",q.value,W.value,l.value,_.value,m.value)}b.value=!0,console.log("sessionDetails",n),b.value=!0,console.log("sessionDetails",n)}}catch(c){if(console.log("inside catch error1"),console.log(JSON.stringify(c)),b.value=!0,a.a.isAxiosError(c)){var o;const M=c;t.value="Something went wrong, please contact helpmate.",console.log(null===(o=M.response)||void 0===o?void 0:o.data.message),console.log("errorMessage.value "+t.value)}else t.value="Something went wrong, please contact helpmate.";r.value=!0}}),{responseData:s,sessionDetails:n,renderReady:b,userEmail:c,exGcSession:q,exGfSession:W,gfSession:l,gcSession:_,lsgcSession:m,isMyProfileChecked:f,isMyImmerseChecked:L,registerForSession:$,selectedSession:R,getSelectedSession:U,question:h,checkLength:F,wordCountFlag:y,wordCountQuestionFlag:g,modalVisible:B,modalMessage:N,closeModal:K,registeredSession:T,cancelRegistration:Z,existingLearnerJourney:v,saveQuestion:V,checkQuestionLength:J,questionWordCount1:k,questionWordCount2:D,joinSession:I,showErrorMessage:r,errorResponse:t,diffAccess:w,preworkValidationMsg:S,modalButtonVisible:x,cancelConfirmation:G,dropDownVisible:H,showDropDown:Q,showSessions:j,closeVisible:C,learnerTimeZone:P,preStartTimeFlag:E}}}),l=W,_=z("959d"),m=Object(_["a"])(l,p,O,!1,null,"1700b15a",null);b["default"]=m.exports},"54a3":function(M,b,z){(function(M,b){b(z("bb03"))})(0,(function(M){"use strict";
76
+ var b=M.defineLocale("fr-ca",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsParseExact:!0,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"YYYY-MM-DD",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|e)/,ordinal:function(M,b){switch(b){default:case"M":case"Q":case"D":case"DDD":case"d":return M+(1===M?"er":"e");case"w":case"W":return M+(1===M?"re":"e")}}});return b}))},"52e4":function(M,b,z){"use strict";z.r(b);var p=function(){var M=this,b=M.$createElement,p=M._self._c||b;return p("div",[M.renderReady?[M.showErrorMessage?M._e():["active"===M.diffAccess.diffAccessStatus?p("div",[p("div",{staticClass:"container mx-auto"},[p("div",{staticClass:"flex"},[p("div",{staticClass:"w-full pt-4 lg:px-12 md:px-12 px-4"},[p("div",{staticClass:"flex justify-between"},[p("div",{staticClass:"text-blue-900 lg:text-3xl md:text-3xl text-xl my-2"},[M._v(M._s(M.responseData.proficiencyName)+" - "+M._s(M.responseData.skillName))]),M._m(0)]),M._m(1),p("div",{staticClass:"rich-text-formatter box-overflow1n lg:mt-3 md:mt-3 mt-2 text-sm"},[p("div",{staticClass:"block mx-4 lg:mx-3 md:mx-3"},[p("div",{staticClass:"text-gray-500"},["Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"General"!==M.registeredSession.nameOfProgram?M._e():p("div",[p("p",[M._v("You are currently registered for a Guru Connect scheduled on:")]),p("div",{staticClass:"w-full mx-auto pt-2 relative"},[p("div",{staticClass:"pt-1 text-xl text-center"},[p("strong",[M._v(M._s(M.registeredSession.startTime.format("MMMM D, YYYY"))+" from "+M._s(M.registeredSession.startTime.format("h:mm A"))+" to "+M._s(M.registeredSession.endTime.format("h:mm A"))+" "),p("div",[M._v("with "+M._s(M.registeredSession.guruName))])]),p("label",{staticClass:"block text-sm pb-1"},[M._v(" Be sure to block your calendar for this time by accepting the MR sent to your email. ")])]),p("p",{staticClass:"pt-4"},[M._v(" Your pre-work question is below. The Guru and the Community Manager prioritize pre-work questions they feel will inspire a good discussion. You can edit your question until two business days before the session. ")]),p("div",{staticClass:"pt-2 lg:w-4/5 md:w-4/5 w-full"},[p("textarea",{directives:[{name:"model",rawName:"v-model",value:M.existingLearnerJourney.preworkQuestion,expression:"existingLearnerJourney.preworkQuestion"}],staticClass:"mx-auto h-24 shadow appearance-none border border-gray-200 rounded w-full py-2 px-3 -text-blue-900 leading-tight focus:outline-none focus:shadow-outline",attrs:{placeholder:"Click here to type your pre-work question.\nTake your time to articulate a good question. Your Guru will read this question. Make sure you cannot answer the question by re-reading Immerse.\nFor example, ask how you can apply the skill in your role."},domProps:{value:M.existingLearnerJourney.preworkQuestion},on:{keyup:function(b){return M.checkQuestionLength(M.existingLearnerJourney.preworkQuestion)},input:function(b){b.target.composing||M.$set(M.existingLearnerJourney,"preworkQuestion",b.target.value)}}}),p("div",{staticClass:"flex w-full justify-between"},[p("div",[p("div",[M.questionWordCount1<10?p("p",[M._v("(Minimum 10 words required. Current word count - "+M._s(M.questionWordCount1)+")")]):M._e()]),M.preworkValidationMsg?p("div",{staticClass:"ui basic label pointing red"},["CannotSubmitPrework"!=M.preworkValidationMsg?p("span",{staticClass:"text-green-700"},[M._v(M._s(M.preworkValidationMsg)+" ")]):M._e(),"CannotSubmitPrework"===M.preworkValidationMsg?p("span",{staticClass:"text-red-700"},[M._v("(You cannot update prework question 2 business days prior guru connect) ")]):M._e()]):M._e()]),p("div",{staticClass:"text-right"},[p("button",{class:M.wordCountQuestionFlag?"inline-block py-1 px-4 -mt-1 -bg-blue-900 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75":"inline-block py-1 px-4 -mt-1 bg-gray-500 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",attrs:{disabled:!M.wordCountQuestionFlag},on:{click:function(b){return M.saveQuestion()}}},[M._v(" Update Pre-work ")])])]),p("div",{staticClass:"flex w-full justify-between"})])]),p("p",{staticClass:"pt-4"},[M._v('If at any time you are unable to attend this session, click the button below to "Cancel Registration" or if you want to select another options click "Change Registration."')]),p("p",{staticClass:"pt-1"},[M._v(" Once its time, you can join the Zoom session direct by clicking “Join” below or if you need a reminder of the expectations in a Guru Connect click “Join” now. Looking forward to seeing you on Zoom! ")])]),"Guru Forum"===M.registeredSession.typeOfSession||"Executive Guru Forum"===M.registeredSession.typeOfSession?p("div",[p("p",[M._v("You are currently registered for a Guru Forum, its open from:")]),p("div",{staticClass:"pt-1 text-xl text-center"},[p("strong",[M._v(M._s(M.registeredSession.startTime.format("MMMM D, YYYY"))+" to "+M._s(M.registeredSession.endTime.format("MMMM D, YYYY")))])]),p("p",{staticClass:"pt-4"},[M._v("To pass this Guru Forum, you will need to actively participate. This includes the following:")]),M._m(2),p("p",{staticClass:"pt-1"},[M._v(" A few examples of active participation: You could respond to two questions posted by your peers and start a new discussion thread, or You could also begin two discussion threads and respond to a comment from your peers. ")]),p("p",{staticClass:"pt-1"},[M._v('If at any time you are unable to attend this session, click the button below to "Cancel Registration" or if you want to select another options click "Change Registration."')]),p("p",{staticClass:"pt-1"},[M._v("You can join the forum when its open by clicking the “Join” button below.")])]):M._e(),"Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"LSGC"!==M.registeredSession.nameOfProgram?M._e():p("div",[p("p",[M._v("You are currently registered for a Large Scale Guru Connect scheduled on:")]),p("div",{staticClass:"text-left"},[p("div",{staticClass:"pt-1 text-xl text-center"},[p("strong",[M._v(M._s(M.registeredSession.startTime.format("MMMM D, YYYY"))+" "+M._s(M.registeredSession.startTime.format("h:mm A"))+" to "+M._s(M.registeredSession.endTime.format("h:mm A"))+" "),p("div",[M._v("with "+M._s(M.registeredSession.guruName))])]),p("p",{staticClass:"pt-2"},[M._v("Be sure to block your calendar for this time by accepting the MR sent to your email.")])])]),p("p",{staticClass:"pt-4"},[M._v("This is a Large Scale Guru Connect, these sessions are intended for Band 5 and 4A learners in Digital Operations, but anyone eligible is free to join the session.")]),p("p",{staticClass:"pt-1"},[M._v('Before this session, you will need to do the pre-read, which is chosen by the Guru to facilitate discussion in a large group. Follow the "pre-read" link below.')]),p("p",{staticClass:"pt-1"},[M._v('If at any time you are unable to attend this session, click the button below to "Cancel Registration" or if you want to select another options click "Change Registration."')]),p("p",{staticClass:"pt-1"},[M._v(" Once its time, you can join the Zoom session direct by clicking “Join” below or if you need a reminder of the expectations in a Guru Connect click “Join” now. Looking forward to seeing you on Zoom! ")])]),M.sessionDetails?p("div",[p("div",{staticClass:"pt-4 text-left flex w-full items-end"},[p("div",[p("button",{staticClass:"mt-1 inline-block py-1 px-6 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75",class:M.preStartTimeFlag?"bg-blue-900":"bg-gray-500",on:{click:function(b){return M.joinSession()}}},[M._v(" Join ")])]),"Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"General"!==M.registeredSession.nameOfProgram?M._e():p("div",[p("button",{staticClass:"-text-blue-900 ml-2 underline",attrs:{disabled:!M.wordCountQuestionFlag},on:{click:function(b){return M.saveQuestion()}}},[M._v("Update Pre-work")]),p("div",{staticClass:"inline-block -text-blue-900 ml-2"},[M._v("|")])]),p("div",{staticClass:"relative inline-block text-left"},["Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"LSGC"!==M.registeredSession.nameOfProgram?M._e():p("div",[p("button",{staticClass:"-text-blue-900 ml-2 underline",attrs:{id:"dropdownbutton",type:"button"},on:{click:function(b){return M.showDropDown()}}},[M._v("Pre-read")])]),M.dropDownVisible?p("div",{staticClass:"px-2 absolute dropdowndiv left-0 z-10 mt-2 w-28 origin-top-right bg-white shadow-lg border"},M._l(M.registeredSession.preReadLink,(function(b,z){return p("div",{key:z},[p("ul",{staticClass:"list-disc"},[b.length>0?p("li",[p("a",{staticClass:"text-gray-700 block py-1 text-sm -text-aqua underline",attrs:{href:b,target:"_blank"}},[M._v("Pre-read "+M._s(z+1))])]):M._e()])])})),0):M._e()]),"Guru Connect"!==M.registeredSession.typeOfSession&&"Executive Guru Connect"!==M.registeredSession.typeOfSession||"LSGC"!==M.registeredSession.nameOfProgram?M._e():p("div",{staticClass:"inline-block -text-blue-900 ml-2"},[M._v(" | ")]),p("button",{staticClass:"mt-1 inline-block ml-2 -text-blue-900 ml-2 underline",on:{click:function(b){return M.cancelConfirmation()}}},[M._v("Cancel Registration")]),M.exGcSession||M.exGfSession||M.gfSession||M.gcSession||M.lsgcSession?p("div",[p("div",{staticClass:"inline-block -text-blue-900 ml-2"},[M._v("|")]),p("button",{staticClass:"mt-1 inline-block ml-2 -text-blue-900 ml-2 underline",on:{click:function(b){M.showSessions=!0}}},[M._v("Change Registration")])]):M._e()]),M.showSessions?p("div",[p("div",{staticClass:"text-left pt-2"},[p("p",{staticClass:"pt-4"},[M._v(" Below are the current options for Transform for "),p("strong",[M._v(M._s(M.responseData.proficiencyName)+" - "+M._s(M.responseData.skillName))]),M._v(". Make sure to review your schedule so you are registering only for a session you can attend. ")]),p("p",{staticClass:"pt-1"},[M._v('Choose one option below and then click "Register":')])]),M.exGcSession?p("div",{staticClass:"pt-3"},[M._m(3),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Executive Guru Connect"===b.typeOfSession&&"General"===b.nameOfProgram?p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):b.currentLearnerCount<b.capacity?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"ex-guru-connect"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"ex-guru-connect"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (Registration is full)")])],1)])]):M._e()])}))],2):M._e(),M.exGfSession?p("div",{staticClass:"pt-3"},[M._m(4),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Executive Guru Forum"===b.typeOfSession&&"General"===b.nameOfProgram?p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"ex-guru-forum"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"ex-guru-forum"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])])]):M._e()])}))],2):M._e(),M.gfSession&&!M.exGfSession?p("div",{staticClass:"pt-3"},[M._m(5),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Guru Forum"===b.typeOfSession&&"General"===b.nameOfProgram?p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"guru-forum"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-forum"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])])]):M._e()])}))],2):M._e(),M.gcSession?p("div",{staticClass:"pt-3"},[M._m(6),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Guru Connect"===b.typeOfSession&&"General"===b.nameOfProgram?p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):b.currentLearnerCount<b.capacity?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"guru-connect-2"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-connect-2"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (Registration is full)")])],1)])]):M._e()])}))],2):M._e(),M.lsgcSession?p("div",{staticClass:"pt-3"},[M._m(7),M._l(M.sessionDetails,(function(b,z){return p("div",{key:z,staticClass:"pl-6"},["Guru Connect"!==b.typeOfSession&&"Executive Guru Connect"!==b.typeOfSession||"LSGC"!==b.nameOfProgram?M._e():p("div",[b.sessionId===M.registeredSession.sessionId?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (current registration)")])],1)]):b.currentLearnerCount<b.capacity?p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{id:"ls-guru-connect"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"ls-guru-connect"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()])])]):p("div",{staticClass:"radioCheckbox2 pt-2"},[p("div",{staticClass:"checkboxStart"},[p("input",{attrs:{disabled:"",id:"guru-session"+z,name:"guru-connect",type:"radio"},on:{change:function(z){return M.getSelectedSession(z,b)}}}),p("label",{attrs:{for:"guru-session"+z}},[p("span"),M._v(" "+M._s(b.startTime)+" to "+M._s(b.endTime)+" ("+M._s(M.learnerTimeZone)+") "),b.guruName?p("p",[M._v(" with Guru "+M._s(b.guruName))]):M._e()]),p("font",{attrs:{color:"red"}},[M._v(" (Registration is full)")])],1)])])])}))],2):M._e(),!M.selectedSession||"Guru Connect"!==M.selectedSession.typeOfSession&&"Executive Guru Connect"!==M.selectedSession.typeOfSession||"General"!==M.selectedSession.nameOfProgram||("Guru Connect"===M.registeredSession.typeOfSession||"Executive Guru Connect"===M.registeredSession.typeOfSession)&&"General"===M.registeredSession.nameOfProgram?M._e():p("div",{staticClass:"pt-6"},[p("textarea",{directives:[{name:"model",rawName:"v-model",value:M.question,expression:"question"}],staticClass:"mx-auto h-24 shadow appearance-none border border-gray-200 rounded w-3/5 py-2 px-3 -text-blue-900 leading-tight focus:outline-none focus:shadow-outline",attrs:{placeholder:"Click here to type your pre-work question.\nTake your time to articulate a good question. Your Guru will read this question. Make sure you cannot answer the question by re-reading Immerse. For example, ask how you can apply the skill in your role."},domProps:{value:M.question},on:{keyup:function(b){return M.checkLength(M.question)},input:function(b){b.target.composing||(M.question=b.target.value)}}}),M.questionWordCount2<10?p("p",[M._v("(Minimum 10 words required. Current word count - "+M._s(M.questionWordCount2)+")")]):M._e()]),p("div",{staticClass:"mt-4 mb-6 text-center"},[p("button",{staticClass:"inline-block text-white py-2 px-8",class:M.wordCountFlag&&M.isMyProfileChecked&&M.isMyImmerseChecked&&M.selectedSession?"bg-background-secondary":"bg-gray-500 cursor-not-allowed",attrs:{disabled:!M.wordCountFlag||!M.isMyProfileChecked||!M.isMyImmerseChecked||!M.selectedSession},on:{click:M.registerForSession}},[M._v(" Register ")])])]):M._e()]):M._e()])])])])]),p("Generic",{attrs:{"is-visible":M.modalVisible,message:M.modalMessage,"close-visible":M.closeVisible,"yes-button":M.modalButtonVisible},on:{closeModal:M.closeModal,Cancel:M.closeModal,cancelRegistration:M.cancelRegistration}})],1)]):M._e()],M.showErrorMessage?p("ErrorMessage",{attrs:{"error-message":M.errorResponse}}):M._e()]:M._e(),M.renderReady?M._e():p("div",{staticClass:"flex flex-col h-min-screen justify-center text-center"},[p("img",{staticClass:"mb-8 block mx-auto loadercss mt-3%",attrs:{src:z("9d04"),alt:"Loader Gif"}}),p("p",{staticClass:"mx-auto mb-10 leading-normal px-4 loadertextcss ext-genpact-darkest-blue"},[M._v("Loading...")])])],2)},O=[function(){var M=this,b=M.$createElement,p=M._self._c||b;return p("div",{staticClass:"my-2"},[p("a",{attrs:{href:"https://genpactindprod.service-now.com/sp?id=sc_cat_item&sys_id=1f91ef651b2bb8905e098739cd4bcb21&sysparm_category=26a26f691b2bb8905e098739cd4bcbbc",target:"_blank"}},[p("img",{staticClass:"ml-auto",attrs:{src:z("a884")}})])])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("div",{staticClass:"flex block"},[z("div",{staticClass:"ul-nav w-full"},[z("ul",[z("li",{staticClass:"active"},[M._v("Register")]),z("li",{staticClass:"active"},[M._v("Join")]),z("li",[M._v("Finish")])])])])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("div",{staticClass:"pl-6"},[z("ul",[z("li",[M._v("Answering questions posted by your peers by replying in the discussion threads.")]),z("li",[M._v("Start a new discussion to ask a new question that is related to the skill.")])])])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Guru Connect for Executives:")]),M._v("Live Zoom session exclusively with Band 3 and above learners and the Guru to discuss the skill and how it can be applied by business leaders.")])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Guru Forum for Executives:")]),M._v("Online conversation exclusively with Band 3 and above learners offering flexibility to join when you can. Reply to existing discussions or create new ones. ")])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Guru Forum:")]),M._v(" Online conversations offering flexibility to join when you can. Reply to existing discussions or create new ones.")])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Guru Connects:")]),M._v(" Live Zoom sessions, with direct contact with the Guru and discussion with your colleagues.")])},function(){var M=this,b=M.$createElement,z=M._self._c||b;return z("p",{staticClass:"pt-1"},[z("strong",[M._v("Large Scale Guru Connects: ")]),M._v("Live Zoom sessions designed to support large audiences. While anyone can join, these are intended for Bands 5 and 4A in Digital Operations.")])}],o=(z("1884"),z("94b0")),e=z("006a"),c=z("1dba"),a=z.n(c),n=z("bb03"),A=z.n(n),t=z("9608"),d=z.n(t),r=z("c161"),i=z("afbc"),s=z("8e27"),q=z("4228"),u=z.n(q),W=Object(o["b"])({name:"TransformJoin",components:{Generic:r["a"],ErrorMessage:s["a"]},props:["query"],setup(M){const b=Object(o["e"])(!0),z=Object(o["e"])(),p=Object(o["e"])(),O=Object(o["e"])(),c=Object(o["e"])(),n=Object(o["e"])([]),t=Object(o["e"])(),r=Object(o["e"])(!1),s=Object(o["e"])(),q=Object(o["e"])(!1),W=Object(o["e"])(!1),l=Object(o["e"])(!1),_=Object(o["e"])(!1),m=Object(o["e"])(!1),f=Object(o["e"])(),L=Object(o["e"])(),R=Object(o["e"])(),h=Object(o["e"])(),y=Object(o["e"])(!1),g=Object(o["e"])(!1),B=Object(o["e"])(!1),N=Object(o["e"])(),T=Object(o["e"])(),v=Object(o["e"])(),X=Object(o["e"])(!1),Y=Object(o["e"])(!1),k=Object(o["e"])(),D=Object(o["e"])(0),w=Object(o["e"])(),S=Object(o["e"])(),x=Object(o["e"])(!1),H=Object(o["e"])(!1),j=Object(o["e"])(!1),C=Object(o["e"])(!1),E=Object(o["e"])(!0),P=Object(o["e"])(),F=M=>{M.length>=0&&(D.value=M.split(" ").filter(M=>""!==M).length),console.log("question length",D.value),y.value=!(D.value<10)},G=()=>{b.value=!1,B.value=!0,N.value='<div class="md:text-xl my-2 -text-blue-900 px-6 py-2">Are you sure you want to cancel your registration?</div>',x.value=!0,b.value=!0},I=()=>{Y.value=!0,"Guru Forum"!==T.value.typeOfSession&&"Executive Guru Forum"!==T.value.typeOfSession||(A()().isBefore(T.value.startTime)?(B.value=!0,C.value=!0,N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">It\'s not time for your Guru Forum.</div>\n <div class="px-4">\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.</p>\n </div>\n </div>\n </div>\n </div>'):window.open(T.value.meetingLocation,"_blank")),"Guru Connect"!==T.value.typeOfSession&&"Executive Guru Connect"!==T.value.typeOfSession||(B.value=!0,C.value=!0,"General"===T.value.nameOfProgram&&(A()().isBefore(T.value.preStartTime)?N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl popup-header">It\'s not time for your Guru Connect.<br> Here is what you need to know going into the session:</div>\n <div class="px-4">\n <div class="text-left pt-2">\n <ul class="list-disc">\n <li>Attendance for the entire session and participation are mandatory, if you don\'t participate you may have to re-do Transform.</li>\n <li>Remember to turn your camera on. Learning is more effective when your colleagues can see you.</li>\n <li>Come prepared to ask questions you want to discuss with the Guru and your colleagues.</li>\n </ul>\n </div>\n <div class="text-xl popup-footer pt-2">\n You can make progress on other Genome Waves right now by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.\n </div>\n </div>\n </div>\n </div>\n </div>':(C.value=!1,N.value=`<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">We are looking forward to this Guru Connect.</div>\n <div class="px-4">\n <div class="text-left pt-2">\n <p class="text-sm pt-2">Here is what you need to know going into the session:</p>\n <ul class="list-disc">\n <li> <p class="text-sm pt-2">Attendance for the entire session and participation is mandatory, if you don't participate you may have to re-do Transform.</p></li>\n <li> <p class="text-sm pt-2">Remember to turn your camera on. Learning is more effective when your colleagues can see you.</p> </li>\n <li> <p class="text-sm pt-2">Come prepared to ask questions you want to discuss with the Guru and your colleagues.</p> </li>\n </ul>\n </div>\n <div class="text-sm pt-3">\n <a href=${T.value.meetingLocation} target="_blank" class="inline-block text-center py-2 px-6 -bg-blue-900 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75">Join Zoom</a>\n </div>\n </div>\n </div>\n </div>\n </div>`)),"LSGC"===T.value.nameOfProgram&&(A()().isBefore(T.value.preStartTime)?(C.value=!0,N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">It\'s not time for your Large Scale Guru Connect.</div>\n <div class="px-4">\n <div class="text-left pt-2">\n <p class="text-sm pt-2">Here is what you need to know going into the session:</p>\n <ul class="list-disc">\n <li> <p class="text-sm pt-2">Attendance for the entire session and participation is mandatory, if you don\'t participate you may have to re-do Transform.</p></li>\n <li> <p class="text-sm pt-2">You may be split into break-out rooms.</p> </li>\n <li> <p class="text-sm pt-2">You will present the group with possible solutions to the problem statement from the pre-read.</p> </li>\n </ul>\n </div>\n <div class="text-xl popup-footer pt-2">\n You can make progress on other Genome Waves right now by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.\n </div>\n </div>\n </div>\n </div>\n </div>'):(C.value=!1,N.value=`<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">We are looking forward to this Large-Scale Guru Connect.</div>\n <div class="px-4">\n <div class="text-left pt-2">\n <p class="text-sm pt-2">Here is what you need to know going into the session:</p>\n <ul class="list-disc">\n <li> <p class="text-sm pt-2">Attendance for the entire session and participation is mandatory, if you don't participate you may have to re-do Transform.</p></li>\n <li> <p class="text-sm pt-2">You may be split into break-out rooms.</p> </li>\n <li> <p class="text-sm pt-2">You will present the group with possible solutions to the problem statement from the pre-read.</p> </li>\n </ul>\n </div>\n <div class="text-sm pt-3">\n <a href=${T.value.meetingLocation} target="_blank" class="inline-block text-center py-2 px-6 -bg-blue-900 text-white shadow-md hoverBtn focus:outline-none focus:ring-2 focus:ring-blue-400 focus:ring-opacity-75"> Join </a>\n </div>\n </div>\n </div>\n </div>\n </div>`)))},U=(M,b)=>{R.value=b,console.log("selectedSession",R.value),y.value=!(("Guru Connect"===b.typeOfSession||"Executive Guru Connect"===b.typeOfSession)&&"General"===b.nameOfProgram),console.log("selec session wordflaf value",y.value),"Guru Connect"!==b.typeOfSession&&"Executive Guru Connect"!==b.typeOfSession||"General"!==b.nameOfProgram||(console.log("inside session ",v.value.preworkQuestion),v.value.preworkQuestion&&F(v.value.preworkQuestion))},J=M=>{M.length>=0&&(k.value=M.split(" ").filter(M=>""!==M).length),console.log("question length",k.value),g.value=!(k.value<10)},V=async()=>{try{if(A()().isAfter(d()(T.value.startTime).businessSubtract(2,"days").endOf("day")))return S.value="CannotSubmitPrework",setTimeout(()=>{S.value=null},6e3),void(b.value=!0);b.value=!1;const M={learnerJourneyId:v.value.learnerJourneyId,preworkQuestion:v.value.preworkQuestion},z=await Object(e["b"])("/learner/data/update",M);if(z)return S.value=z.data.message,setTimeout(()=>{S.value=null},15e3),void(b.value=!0);b.value=!0,y.value=!1,g.value=!1}catch(z){if(console.log("inside catch error1"),console.log(JSON.stringify(z)),b.value=!0,a.a.isAxiosError(z)){var M;const b=z;t.value="Something went wrong, please contact helpmate.",console.log(null===(M=b.response)||void 0===M?void 0:M.data.message),console.log("errorMessage.value "+t.value)}else t.value="Something went wrong, please contact helpmate.";r.value=!0}},K=()=>{B.value=!1,C.value=!1,Y.value?Y.value=!1:window.location.reload()},Q=()=>{console.log("indide dropsown"),H.value=!H.value};window.addEventListener("click",M=>{const b=document.getElementById("dropdownbutton");M.target!==b&&(H.value=!1)});const Z=async()=>{try{x.value=!1,B.value=!1,b.value=!1;const M=await Object(e["a"])("/learner/unregister/"+v.value.learnerJourneyId);M&&(B.value=!0,C.value=!0,X.value=!0,"Guru Connect"!==T.value.typeOfSession&&"Executive Guru Connect"!==T.value.typeOfSession||(N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">You have canceled your registration for Transform</div>\n <div class="px-4">\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.</p>\n <p class="text-sm pt-2">Genome.Learning sent a meeting request for your previous registration. Go to your email now and decline that request.</p>\n </div>\n </div>\n </div>\n </div>'),"Guru Forum"!==T.value.typeOfSession&&"Executive Guru Forum"!==T.value.typeOfSession||(N.value='<div class="popup">\n <div class="bg-white max-w-2xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="text-xl">You have cancelled your registration for Transform.</div>\n <div class="px-4">\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a>.</p>\n </div>\n </div>\n </div>\n </div>')),b.value=!0}catch(z){if(console.log("inside catch error1"),console.log(JSON.stringify(z)),b.value=!0,a.a.isAxiosError(z)){var M;const b=z;t.value="Something went wrong, please contact helpmate.",console.log(null===(M=b.response)||void 0===M?void 0:M.data.message),console.log("errorMessage.value "+t.value)}else t.value="Something went wrong, please contact helpmate.";r.value=!0}},$=async()=>{try{b.value=!1,console.log("selectedSession.value",R.value),v.value.preworkQuestion&&(h.value=v.value.preworkQuestion?v.value.preworkQuestion:h.value);const M={sessionId:R.value.sessionId,learnerKey:O.value,email:c.value,preworkQuestion:("Guru Connect"===R.value.typeOfSession||"Executive Guru Connect"===R.value.typeOfSession)&&"General"===R.value.nameOfProgram&&h.value,isMyProfileMarked:f.value?1:0,isMyImmerseMarked:L.value?1:0};console.log("data",M);const z=await Object(e["b"])("/learner/register",M);z&&(B.value=!0,C.value=!0,"Guru Forum"===T.value.typeOfSession||"Executive Guru Forum"===T.value.typeOfSession?N.value='<div class="popup">\n <div class="bg-white max-w-xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="md:text-xl my-2">You have changed your registration for Transform</div>\n <div class="px-4">\n <p class="text-sm pt-2">You will receive an email within 24-48 hours for next steps.<br> You can also access this site at anytime.</p>\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a></p>\n </div>\n </div>\n </div>\n </div>':N.value='<div class="popup">\n <div class="bg-white max-w-xl -text-blue-900">\n <div class="text-right popup-header">\n </div>\n <div class="text-center popup-body">\n <div class="md:text-xl my-2">You have changed your registration for Transform</div>\n <div class="px-4">\n <p class="text-sm pt-2">You will receive an email within 24-48 hours for next steps.<br> You can also access this site at anytime.</p>\n <p class="text-sm pt-2">You can make progress on other Genome Waves right now <br> by going to <a href="https://genome.genpact.com/my-plan" target="_blank" class="-text-aqua">My Plan</a></p>\n <p class="text-sm pt-2">Genome.Learning sent a meeting request for your previous registration. Go to your email now and decline that request.</p>\n </div>\n </div>\n </div>\n </div>'),console.log("res",z),b.value=!0}catch(z){if(console.log("inside catch error1"),console.log(JSON.stringify(z)),b.value=!0,a.a.isAxiosError(z)){var M;const b=z;t.value="Something went wrong, please contact helpmate.",console.log(null===(M=b.response)||void 0===M?void 0:M.data.message),console.log("errorMessage.value "+t.value)}else t.value="Something went wrong, please contact helpmate.";r.value=!0}};return Object(o["c"])(async()=>{try{b.value=!1,z.value=M.query.skill,p.value=M.query.proficiency,O.value=localStorage.getItem("user_key"),P.value=u.a.tz.guess();const o={skill:z.value,proficiency:p.value},c=await Object(e["b"])("/learner/session",o);if(c.data){if(console.log("landingResponse",c),c.data.systemUnderMaintainence)return b.value=!0,t.value=c.data.maintenanceMessage,void(r.value=!0);if(w.value=c.data.diffAccess,console.log("diff access value",w.value),"suspended"===w.value.diffAccessStatus)return console.log("Diff access status is suspended"),b.value=!0,"Band5PESuspended"===w.value.diffAccessStatusReason?(console.log("Band5PESuspended "+w.value.diffAccessStatusReason),t.value=`<p class="pt-2">You will need to raise a helpmate ticket to pursue Transform for ${c.data.proficiencyName} ${c.data.skillName}. </p>\n <p class="pt-2">\n All Band 5 learners can only pursue higher proficiencies for this skill through sequential learning. You'll need to start at beginner proficiency level for any professional, digital, and industry skill and only then move to higher levels of proficiency (Beginner -> Intermediate -> Proficient -> Expert). \n </p>\n <p class="pt-2">If you have done, this apologies for the delay to your learning. We need to manually check for sequential learning. Once validated you can return here through Edcast and register. Begin this process by raising a ticket by clicking "support" icon. </p>`):(console.log("DiffAccessSuspended "+w.value.diffAccessStatusReason),t.value='<p class="pt-2">You are tagged incorrectly on My Profile. You will not be able to register for Transform</p>\n <p class="pt-2">\n All learners in band 5 and 4A in operations need to start at beginner proficiency level for any professional, digital, and industry skill and only then move to higher levels of proficiency (Beginner -> Intermediate -> Proficient -> Expert). Re-register for the session only after you have completed the necessary waves to be at the correct proficiency. \n </p>\n <p class="pt-2">Go to <a href="https://genome.genpact.com" target="_blank" class="-text-aqua underline"> Genome </a> to find what changes you need to make.Your manager can also guide you through the required changes. </p>'),void(r.value=!0);if(s.value=c.data.learnerSessionDetails,console.log("responseData.value",s.value),s.value){if(void 0!==s.value.registeredSession&&"Cancelled"!==s.value.registeredSession.sessionStatus||i["a"].push({name:"TransformLanding",query:{skill:z.value,proficiency:p.value}}),s.value.registeredSession){if(T.value=s.value.registeredSession,console.log("registeredSession",T),s.value.existingJourneyDetails){if(v.value=s.value.existingJourneyDetails,v.value.preworkQuestion&&J(v.value.preworkQuestion),f.value=v.value.isMyProfileMarked,L.value=v.value.isMyImmerseMarked,"In-Progress"===v.value.completionStatus){if("Guru Connect"===v.value.sessionType||"Executive Guru Connect"===v.value.typeOfSession)if("Scheduled"===T.value.sessionStatus){const M=A()(),b=A()(T.value.endTime);M.isAfter(b)&&i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}})}else"Conducted"===T.value.sessionStatus&&i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}});if("Guru Forum"===v.value.sessionType||"Executive Guru Forum"===v.value.typeOfSession){const M=A()(),b=A()(T.value.endTime);(v.value.reputationScore>0||"Conducted"===T.value.sessionStatus||M.isAfter(b))&&i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}})}}"Successful"===v.value.completionStatus||"Pending"===v.value.completionStatus?i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}}):"Unsuccessful"===v.value.completionStatus&&v.value.attendedForRedo?i["a"].push({path:"/prework",query:{skill:v.value.skill,proficiency:v.value.proficiency}}):"Unsuccessful"!==v.value.completionStatus||v.value.attendedForRedo||i["a"].push({path:"/prework/finish",query:{learnerJourneyId:v.value.learnerJourneyId}})}if(!s.value.sessionDetails.length&&!T.value)return console.log(`No session exists for for the given skillid ${z.value} and proficiencyId ${p.value}`),b.value=!0,t.value=`Welcome to Transform, currently there are no sessions scheduled for ${s.value.proficiencyName} ${s.value.skillName} Click here to be the first to know when the date and time for the next session is available for registration. Once scheduled, we will send you a link to register for the session.`,void(r.value=!0);n.value=s.value.sessionDetails,"Guru Forum"!==T.value.typeOfSession&&"Executive Guru Forum"!==T.value.typeOfSession||(T.value.startTime=A()(T.value.startTime),T.value.endTime=A()(T.value.endTime),E.value=A()().isAfter(T.value.startTime)),"Guru Connect"!==T.value.typeOfSession&&"Executive Guru Connect"!==T.value.typeOfSession||(T.value.startTime=A()(T.value.startTime),T.value.preStartTime=A()(T.value.startTime).subtract(5,"minutes"),E.value=A()().isAfter(T.value.preStartTime),T.value.endTime=A()(T.value.endTime))}for(let M=0;M<n.value.length;M+=1){const b=n.value[M];"Guru Forum"!==b.typeOfSession&&"Executive Guru Forum"!==b.typeOfSession||(n.value[M].startTime=A()(n.value[M].startTime).format("MMMM D, YYYY"),n.value[M].endTime=A()(n.value[M].endTime).format("MMMM D, YYYY")),"Guru Connect"!==b.typeOfSession&&"Executive Guru Connect"!==b.typeOfSession||(n.value[M].startTime=A()(n.value[M].startTime).format("MMMM D, YYYY, [from] h:mm A"),n.value[M].endTime=A()(n.value[M].endTime).format("h:mm A")),s.value.bandCode<=3&&(q.value=q.value?q.value:"Executive Guru Connect"===b.typeOfSession&&"General"===b.nameOfProgram,W.value=W.value?W.value:"Executive Guru Forum"===b.typeOfSession&&"General"===b.nameOfProgram),l.value=l.value?l.value:"Guru Forum"===b.typeOfSession&&"General"===b.nameOfProgram,_.value=_.value?_.value:"Guru Connect"===b.typeOfSession&&"General"===b.nameOfProgram,m.value=m.value?m.value:("Executive Guru Connect"===b.typeOfSession||"Guru Connect"===b.typeOfSession)&&"LSGC"===b.nameOfProgram}if(!q.value&&!W.value&&!l.value&&!_.value&&!m.value&&!T.value)return console.log(`No session exists for for the given skillid ${z.value} and proficiencyId ${p.value}`),b.value=!0,t.value=`Welcome to Transform, currently there are no sessions scheduled for ${s.value.proficiencyName} ${s.value.skillName} Click <a href=https://forms.office.com/Pages/ResponsePage.aspx?id=IIrvvayqgE-zoNmjL5n9MzsuAnmkt3NPltYk6zADlDVUMjdLR1Q3MENSS0ZYVFpTQ1Q5NTJYS1g5QiQlQCNjPTEu target="_blank"><strong>here</strong> to be the first to know when the date and time for the next session is available for registration. Once scheduled, we will send you a link to register for the session.`,void(r.value=!0);console.log("session status",q.value,W.value,l.value,_.value,m.value)}b.value=!0,console.log("sessionDetails",n),b.value=!0,console.log("sessionDetails",n)}}catch(c){if(console.log("inside catch error1"),console.log(JSON.stringify(c)),b.value=!0,a.a.isAxiosError(c)){var o;const M=c;t.value="Something went wrong, please contact helpmate.",console.log(null===(o=M.response)||void 0===o?void 0:o.data.message),console.log("errorMessage.value "+t.value)}else t.value="Something went wrong, please contact helpmate.";r.value=!0}}),{responseData:s,sessionDetails:n,renderReady:b,userEmail:c,exGcSession:q,exGfSession:W,gfSession:l,gcSession:_,lsgcSession:m,isMyProfileChecked:f,isMyImmerseChecked:L,registerForSession:$,selectedSession:R,getSelectedSession:U,question:h,checkLength:F,wordCountFlag:y,wordCountQuestionFlag:g,modalVisible:B,modalMessage:N,closeModal:K,registeredSession:T,cancelRegistration:Z,existingLearnerJourney:v,saveQuestion:V,checkQuestionLength:J,questionWordCount1:k,questionWordCount2:D,joinSession:I,showErrorMessage:r,errorResponse:t,diffAccess:w,preworkValidationMsg:S,modalButtonVisible:x,cancelConfirmation:G,dropDownVisible:H,showDropDown:Q,showSessions:j,closeVisible:C,learnerTimeZone:P,preStartTimeFlag:E}}}),l=W,_=z("959d"),m=Object(_["a"])(l,p,O,!1,null,"b79a0dec",null);b["default"]=m.exports},"54a3":function(M,b,z){(function(M,b){b(z("bb03"))})(0,(function(M){"use strict";
77
77
  //! moment.js locale configuration
78
78
  var b=M.defineLocale("si",{months:"ජනවාරි_පෙබරවාරි_මාර්තු_අප්‍රේල්_මැයි_ජූනි_ජූලි_අගෝස්තු_සැප්තැම්බර්_ඔක්තෝබර්_නොවැම්බර්_දෙසැම්බර්".split("_"),monthsShort:"ජන_පෙබ_මාර්_අප්_මැයි_ජූනි_ජූලි_අගෝ_සැප්_ඔක්_නොවැ_දෙසැ".split("_"),weekdays:"ඉරිදා_සඳුදා_අඟහරුවාදා_බදාදා_බ්‍රහස්පතින්දා_සිකුරාදා_සෙනසුරාදා".split("_"),weekdaysShort:"ඉරි_සඳු_අඟ_බදා_බ්‍රහ_සිකු_සෙන".split("_"),weekdaysMin:"ඉ_ස_අ_බ_බ්‍ර_සි_සෙ".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"a h:mm",LTS:"a h:mm:ss",L:"YYYY/MM/DD",LL:"YYYY MMMM D",LLL:"YYYY MMMM D, a h:mm",LLLL:"YYYY MMMM D [වැනි] dddd, a h:mm:ss"},calendar:{sameDay:"[අද] LT[ට]",nextDay:"[හෙට] LT[ට]",nextWeek:"dddd LT[ට]",lastDay:"[ඊයේ] LT[ට]",lastWeek:"[පසුගිය] dddd LT[ට]",sameElse:"L"},relativeTime:{future:"%sකින්",past:"%sකට පෙර",s:"තත්පර කිහිපය",ss:"තත්පර %d",m:"මිනිත්තුව",mm:"මිනිත්තු %d",h:"පැය",hh:"පැය %d",d:"දිනය",dd:"දින %d",M:"මාසය",MM:"මාස %d",y:"වසර",yy:"වසර %d"},dayOfMonthOrdinalParse:/\d{1,2} වැනි/,ordinal:function(M){return M+" වැනි"},meridiemParse:/පෙර වරු|පස් වරු|පෙ.ව|ප.ව./,isPM:function(M){return"ප.ව."===M||"පස් වරු"===M},meridiem:function(M,b,z){return M>11?z?"ප.ව.":"පස් වරු":z?"පෙ.ව.":"පෙර වරු"}});return b}))},"55b9":function(M,b,z){var p=z("69ea"),O=z("f542"),o=p({}.hasOwnProperty);M.exports=Object.hasOwn||function(M,b){return o(O(M),b)}},"568f":function(M,b,z){var p=z("7693"),O=z("19ef");M.exports=function(M){var b=p(M,"string");return O(b)?b:b+""}},"576c":function(M,b,z){(function(M,b){b(z("bb03"))})(0,(function(M){"use strict";
79
79
  //! moment.js locale configuration