1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5905],{89358:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return hn}});var o=n(809),r=n.n(o),i=n(30266),s=n(85893),a=n(92809),l=n(69909),c=n(49662),u=n(67294),d=n(93797),_=(0,u.createContext)({questionnaireUid:"",mediaContentId:"",submitting:!1,handleBack:function(){},wordUsedForCourse:(0,d.S6)(),wordUsedForCourseExam:(0,d.kk)(),wordUsedForCourseMark:(0,d.Hb)(),wordUsedForCourseQuestion:(0,d.sL)(),countdownTimerProps:{pause:function(){},reset:function(){},resume:function(){},start:function(){},isRunning:!1,isStarted:!1,countdownTimer:{hours:0,minutes:0,seconds:0}}}),p=function(){return(0,u.useContext)(_)},m={START_SCREEN:1,ASSESSMENT:2,RESULT:3},f="question_uid",v="question_type",h="answer",b="selected_options_uid_list",x=n(32535),g=n(1910),j=n(4905),C=n(47754),y=n(80460),S=n(91902),E=n(82211),O=n(11163),w=n(77952),N=n(41798);function k(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}var T=60,I=function(e){var t=Math.floor(e/T),n=Math.floor(e-t*T);return{hours:t,minutes:n,seconds:Math.floor(e*T-n*T-3600*t)}},P=function(e){var t=e.totalDuration,n=void 0===t?0:t,o=e.seconds,r=void 0===o?0:o,i=e.onTimeUp,s=e.onChange,l=e.autoStart,c=void 0!==l&&l,d=e.resetOnTimeUp,_=void 0===d||d,p=n*T+r,m=I(p/T),f=(0,u.useState)(m),v=f[0],h=f[1],b=(0,u.useState)(p),x=b[0],g=b[1],j=(0,u.useState)(c),C=j[0],y=j[1],S=(0,u.useState)(c),E=S[0],O=S[1],w=(0,u.useRef)(),P=x,R=function(){(0,N.Q)(w.current)&&clearInterval(w.current)},A=function(){g(p),h(m),y(!1),P=p,R()};return(0,u.useEffect)((function(){return C&&(w.current=setInterval((function(){(P-=1)<0?(i&&i(),_?A():R()):(s&&s((x-P)/T),h(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?k(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):k(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},I(P/T))))}),1e3)),function(){clearInterval(w.current)}}),[C]),{pause:function(){y(!1)},resume:function(){var e=3600*v.hours+60*v.minutes+v.seconds;g(e),y(!0)},reset:A,start:function(){C||(g(p),h(m),y(!0),E||O(!0),P=p)},isRunning:C,isStarted:E,countdownTimer:v}},R=n(57172);function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var M=function(){var e,t=(0,O.useRouter)(),n=p(),o=n.questionnaireData,r=n.answers,i=n.setAnswers,s=n.currentQuestion,l=void 0===s?0:s,c=n.handleChangeQuestion,d=n.isExitModalOpen,_=n.closeExitModal,m=n.openExitModal,f=n.wordUsedForCourseMark,v=n.wordUsedForCourseQuestion,h=n.countdownTimerProps,b=n.isExam,x=o||{},g=x.questions,j=void 0===g?[]:g,C=x.settings,y=h.pause,S=h.resume,N=h.start,k=h.isStarted,T=C||{},I=T.duration,A=void 0===I?0:I,M=T.total_questions,L=void 0===M?0:M,Z=T.scoring_type,F=A>0,U=(0,R._)(Z),q=P({seconds:30,onTimeUp:_}),H=q.reset,B=q.start,Q=function(){m(),H(),B(),y()};(0,u.useEffect)((function(){F&&N()}),[F]),(0,u.useEffect)((function(){k&&!d&&F&&S()}),[d,F,k]),(0,u.useEffect)((function(){return t.beforePopState((function(){var e=t.asPath;return window.history.pushState(null,"",e),Q(),!1})),function(){t.beforePopState((function(){return!0}))}}),[t,Q]);var G=(null===r||void 0===r?void 0:r[null===(e=j[l])||void 0===e?void 0:e.question_uid])||{},W=G.answer,V=G.question_type,Y=G.selected_options_uid_list;return{questionNo:l+1,currentQuestion:j[l],totalQuestions:L,answers:r,navigate:c,handleChange:function(e,t){var n,o=e.question_type,s=e.question_uid,c=(null!==(n=null===r||void 0===r?void 0:r[j[l].question_uid])&&void 0!==n?n:{}).selected_options_uid_list,u=void 0===c?[]:c,d={question_uid:s,question_type:o};if(o===w.j$.MULTI_SELECT){var _=(0,E.Z)(u),p=u.indexOf(t);-1!==p?_.splice(p,1):_.push(t),d=D(D({},d),{},{selected_options_uid_list:_})}else d=D(D({},d),{},{answer:t});i((function(e){return D(D({},e),{},(0,a.Z)({},s,d))}))},value:V===w.j$.MULTI_SELECT?Y:W,isManualScoring:U,wordUsedForCourseMark:f,wordUsedForCourseQuestion:v,questionnaireData:o,isExam:b,countdownTimerProps:h}},L=n(53640),Z=n(70785),F=n(20847),U=n(19809),q=n(16015),H=n.n(q),B=function(e){var t=e.options,n=void 0===t?[]:t,o=e.error,r=e.onChange;return(0,s.jsx)(L.Z,{className:H().root,error:o,children:(0,s.jsx)(Z.Z,{children:n.map((function(e){return(0,s.jsx)(F.Z,{control:(0,s.jsx)(U.Z,{checked:e.checked,onChange:function(t,n){return null===r||void 0===r?void 0:r(e.id,n)},name:e.label,className:H().checkboxRoot}),classes:{label:H().label},label:e.label},e.id)}))})})},Q=n(68061),G=n(21368),W=n(31981),V=n.n(W),Y=function(e){var t=e.options,n=void 0===t?[]:t,o=e.value,r=e.onChange;return(0,s.jsx)(L.Z,{children:(0,s.jsx)(Q.Z,{value:o,onChange:r,children:n.map((function(e){var t=e.label,n=e.value;return(0,s.jsx)(F.Z,{value:n,control:(0,s.jsx)(G.Z,{className:V().radioRoot,checked:n===o}),label:t,classes:{label:V().label}},n)}))})})},J=n(62999),z=n(67288),K=n(95126),X=n(22715),$=n(66489),ee=n(69397),te=n(16393),ne=n(26573),oe=n(6351),re=n(7871),ie=n(49226),se=n(18142),ae=n(90032),le=n.n(ae);function ce(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ue(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?ce(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ce(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var de,_e=function(e){var t=e.children,n=e.icon,o=e.label,r=e.className,i=e.childrenClassName,a=e.childrenClassNameWrapper,l=e.noIconMarginTop,c=e.onClick;return(0,s.jsxs)("div",{className:(0,j.A)(le().card,l&&le().noIconMarginTop,r),onClick:c,children:[n,(0,s.jsxs)("div",{className:a,children:[(0,s.jsx)("div",{className:le().card__label,children:o}),(0,s.jsx)("div",{className:(0,j.A)(le().card__children,i),children:t})]})]})},pe=function(e){var t=e.type,n=e.value,o=e.onClick,r=t===w.j$.FIVE_NUMBER_RATING?5:10;return(0,s.jsx)("table",{className:le().numberRating,children:(0,s.jsx)("tr",{children:Array(r).fill(void 0).map((function(e,t){return(0,s.jsx)("td",{className:(0,j.A)(t+1===n&&le().selectedRating),onClick:function(){return null===o||void 0===o?void 0:o(t+1)},children:t+1},t)}))})})},me=function(e){var t=e.value,n=e.onClick;return(0,s.jsx)(K.Z,{value:t,onChange:function(e,t){return null===n||void 0===n?void 0:n(t||0)},defaultValue:0,precision:.5})},fe=function(e){var t=e.subLabel,n=(e.errorText,(0,z.Z)(e,["subLabel","errorText"]));return(0,s.jsx)("div",{children:(0,s.jsxs)("div",{className:le().textInputRoot,children:[(0,s.jsx)(X.Z,ue({fullWidth:!0,multiline:!0,minRows:3},n)),t&&(0,s.jsx)("div",{className:le().textInputSubLabel,children:t})]})})},ve=function(e){var t=e.accept,n=e.onChange,o=e.value,r=e.questionUid,i=(0,ie.v9)(oe.IRe.hostName),a=(0,u.useState)(!1),l=a[0],c=a[1],d=(0,u.useState)(0),_=d[0],p=d[1],m=(0,u.useState)(""),f=m[0],v=m[1],h=(0,u.useState)(void 0),b=(h[0],h[1]),x=u.useRef(null),g=null===o||void 0===o?void 0:o.substring(o.lastIndexOf("/")+1).split("%20").join(" "),j=function(){b(void 0),p(0),c(!1)},C=function(e){p(Math.floor(e.loaded/e.total*100))};return(0,u.useEffect)((function(){j(),v("")}),[r]),(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:le().uploadCtaWrapper,children:[(0,oe.xbD)(g)&&(0,s.jsxs)(ne.x,{applyTheme:!0,className:le().uploadCta,onClick:function(){x.current&&x.current.click()},children:[(0,s.jsx)("img",{src:oe.Nz5.UPLOAD,alt:"upload icon"}),"Upload file"]}),l&&(0,s.jsxs)("div",{className:le().uploadProgressWrapper,children:[(0,s.jsx)($.Z,{variant:"determinate",value:_}),(0,s.jsxs)("div",{className:le().uploadProgress,children:[_,"%"]})]})]}),(0,s.jsx)("div",{className:le().uploadedFile,children:g}),!(0,oe.xbD)(g)&&(0,s.jsx)(ee.Z,{className:le().deleteCta,startIcon:(0,s.jsx)(te.Z,{}),onClick:function(){n&&n("")},children:"Remove"}),f&&(0,s.jsx)("div",{className:le().error,children:f}),(0,s.jsx)("input",{type:"file",accept:t,ref:x,onChange:function(e){var t;if(!l){var o=null===(t=e.target.files)||void 0===t?void 0:t[0];o&&function(e){if(c(!0),v(""),!e||oe.BZy.some((function(t){return e.name.toLocaleLowerCase().endsWith(t)})))return v("Invalid file type."),c(!1),void j();var t;b(e),(0,re.p7)({file:e,key:"recorded-content/".concat(i,"/").concat((t=e.name,"".concat((new Date).toISOString(),"/").concat(t))),uploadProgressCallback:C,bucket:se.x,isFilePublic:!0}).then((function(e){if(!e)throw new Error("no uploadedFile");n&&n(e.Location),c(!1),p(0),j()})).catch((function(e){"RequestAbortedError: Request aborted"!==e.toString()&&(console.error("Error uploading",e,e.toString()),v("Error Uploading. Please try again.")),setTimeout(j,100)}))}(o)}},style:{display:"none"}})]})},he=function(){return(0,s.jsx)("svg",{width:"22",height:"16",viewBox:"0 0 22 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M5.5 12C6.28333 12 7.04583 12.0875 7.7875 12.2625C8.52917 12.4375 9.26667 12.7 10 13.05V3.2C9.31667 2.8 8.59167 2.5 7.825 2.3C7.05833 2.1 6.28333 2 5.5 2C4.9 2 4.30417 2.05833 3.7125 2.175C3.12083 2.29167 2.55 2.46667 2 2.7V12.6C2.58333 12.4 3.1625 12.25 3.7375 12.15C4.3125 12.05 4.9 12 5.5 12ZM12 13.05C12.7333 12.7 13.4708 12.4375 14.2125 12.2625C14.9542 12.0875 15.7167 12 16.5 12C17.1 12 17.6875 12.05 18.2625 12.15C18.8375 12.25 19.4167 12.4 20 12.6V2.7C19.45 2.46667 18.8792 2.29167 18.2875 2.175C17.6958 2.05833 17.1 2 16.5 2C15.7167 2 14.9417 2.1 14.175 2.3C13.4083 2.5 12.6833 2.8 12 3.2V13.05ZM11 15.475C10.7667 15.475 10.5458 15.4458 10.3375 15.3875C10.1292 15.3292 9.93333 15.25 9.75 15.15C9.1 14.7667 8.41667 14.4792 7.7 14.2875C6.98333 14.0958 6.25 14 5.5 14C4.8 14 4.1125 14.0917 3.4375 14.275C2.7625 14.4583 2.11667 14.7167 1.5 15.05C1.15 15.2333 0.8125 15.225 0.4875 15.025C0.1625 14.825 0 14.5333 0 14.15V2.1C0 1.91667 0.0458333 1.74167 0.1375 1.575C0.229167 1.40833 0.366667 1.28333 0.55 1.2C1.31667 0.8 2.11667 0.5 2.95 0.3C3.78333 0.1 4.63333 0 5.5 0C6.46667 0 7.4125 0.125 8.3375 0.375C9.2625 0.625 10.15 1 11 1.5C11.85 1 12.7375 0.625 13.6625 0.375C14.5875 0.125 15.5333 0 16.5 0C17.3667 0 18.2167 0.1 19.05 0.3C19.8833 0.5 20.6833 0.8 21.45 1.2C21.6333 1.28333 21.7708 1.40833 21.8625 1.575C21.9542 1.74167 22 1.91667 22 2.1V14.15C22 14.5333 21.8375 14.825 21.5125 15.025C21.1875 15.225 20.85 15.2333 20.5 15.05C19.8833 14.7167 19.2375 14.4583 18.5625 14.275C17.8875 14.0917 17.2 14 16.5 14C15.75 14 15.0167 14.0958 14.3 14.2875C13.5833 14.4792 12.9 14.7667 12.25 15.15C12.0667 15.25 11.8708 15.3292 11.6625 15.3875C11.4542 15.4458 11.2333 15.475 11 15.475Z",className:le().bookIcon})})},be=function(){return(0,s.jsx)("svg",{width:"16",height:"21",viewBox:"0 0 16 21",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,s.jsx)("path",{d:"M5 10.9629C4.71667 10.9629 4.47917 10.8671 4.2875 10.6754C4.09583 10.4837 4 10.2462 4 9.96289C4 9.67956 4.09583 9.44206 4.2875 9.25039C4.47917 9.05872 4.71667 8.96289 5 8.96289H11C11.2833 8.96289 11.5208 9.05872 11.7125 9.25039C11.9042 9.44206 12 9.67956 12 9.96289C12 10.2462 11.9042 10.4837 11.7125 10.6754C11.5208 10.8671 11.2833 10.9629 11 10.9629H5ZM5 6.96289C4.71667 6.96289 4.47917 6.86706 4.2875 6.67539C4.09583 6.48372 4 6.24622 4 5.96289C4 5.67956 4.09583 5.44206 4.2875 5.25039
1C4.47917 5.05872 4.71667 4.96289 5 4.96289H11C11.2833 4.96289 11.5208 5.05872 11.7125 5.25039C11.9042 5.44206 12 5.67956 12 5.96289C12 6.24622 11.9042 6.48372 11.7125 6.67539C11.5208 6.86706 11.2833 6.96289 11 6.96289H5ZM2 12.9629H9.5C9.98333 12.9629 10.4333 13.0671 10.85 13.2754C11.2667 13.4837 11.6167 13.7796 11.9 14.1629L14 16.9129V2.96289H2V12.9629ZM2 18.9629H13.05L10.325 15.3879C10.225 15.2546 10.1042 15.1504 9.9625 15.0754C9.82083 15.0004 9.66667 14.9629 9.5 14.9629H2V18.9629ZM14 20.9629H2C1.45 20.9629 0.979167 20.7671 0.5875 20.3754C0.195833 19.9837 0 19.5129 0 18.9629V2.96289C0 2.41289 0.195833 1.94206 0.5875 1.55039C0.979167 1.15872 1.45 0.962891 2 0.962891H14C14.55 0.962891 15.0208 1.15872 15.4125 1.55039C15.8042 1.94206 16 2.41289 16 2.96289V18.9629C16 19.5129 15.8042 19.9837 15.4125 20.3754C15.0208 20.7671 14.55 20.9629 14 20.9629Z",className:le().bookIcon})})},xe=function(e){var t=e.question,n=e.value,o=e.onChange,r=t||{},i=r.question_type,a=r.options,l=void 0===a?[]:a,c=r.type_metadata,u=r.question_uid;switch(i){case w.j$.SINGLE_SELECT:return(0,s.jsx)(Y,{value:n,options:null===l||void 0===l?void 0:l.map((function(e){return{label:e.option,value:e.option_uid}})),onChange:function(e,n){return null===o||void 0===o?void 0:o(t,n)}});case w.j$.MULTI_SELECT:return(0,s.jsx)(B,{options:l.map((function(e){var t=e.option_uid;return{id:t,label:e.option,checked:null===n||void 0===n?void 0:n.includes(t)}})),onChange:function(e){return null===o||void 0===o?void 0:o(t,e)}});case w.j$.TEXT_QUESTION:var d=(null!==c&&void 0!==c?c:{}).text_limit,_=!!d,p=String(null!==n&&void 0!==n?n:""),m=_?p.substring(0,d):p,f=m.length,v=_?"".concat(f,"/").concat(d):"";return(0,s.jsx)("div",{children:(0,s.jsx)(fe,{value:m,onChange:function(e){return null===o||void 0===o?void 0:o(t,e.target.value)},subLabel:v,placeholder:"Type your answer here...",inputProps:{maxLength:_?d:void 0}})});case w.j$.TEN_NUMBER_RATING:case w.j$.FIVE_NUMBER_RATING:return(0,s.jsx)(pe,{type:i,value:Number(n),onClick:function(e){return null===o||void 0===o?void 0:o(t,e)}});case w.j$.STAR_RATING:return(0,s.jsx)(me,{value:Number(n),onClick:function(e){return null===o||void 0===o?void 0:o(t,e)}});case w.j$.FILE:var h=(null!==c&&void 0!==c?c:{}).upload_type;return(0,s.jsx)(ve,{value:n,onChange:function(e){return null===o||void 0===o?void 0:o(t,e)},accept:h?w.Ry[h]:void 0,questionUid:u});case w.j$.CALENDAR:return(0,s.jsx)(J.Wr,{value:n,onChange:function(e,n){return null===o||void 0===o?void 0:o(t,n)}});default:return null}},ge=n(44333),je=n(95122),Ce=n.n(je),ye=n(50594),Se=n(83474),Ee=n(21023),Oe=n(73809),we=n.n(Oe),Ne=1,ke=2,Te=(de={},(0,a.Z)(de,Ne,"Close"),(0,a.Z)(de,ke,"HINT"),de),Ie=function(e){var t=e.children,n=p().questionnaireData,o=(null!==n&&void 0!==n?n:{}).settings,r=(null!==o&&void 0!==o?o:{}).auto_open_hints,i=void 0!==r&&r,a=(0,u.useState)(ke),l=a[0],c=a[1],d=l===Ne;return(0,u.useEffect)((function(){i&&!d&&c(Ne)}),[i]),(0,s.jsx)(Ee.Z,{classes:{tooltip:we().tooltip,arrow:we().arrow,popper:we().popper},slotProps:{popper:{modifiers:[{name:"offset",options:{offset:[18,-10]}}],keepMounted:!0}},arrow:!0,open:d,title:(0,s.jsx)("div",{className:we().children,children:t({isHintOpen:d})}),placement:"top-end",children:(0,s.jsx)(ee.Z,{classes:{root:(0,j.A)(we().fab,d&&we().closeFab),startIcon:we().fabStartIcon},startIcon:d?(0,s.jsx)(ye.Z,{}):(0,s.jsx)(Se.Z,{}),onClick:function(){c(d?ke:Ne)},children:Te[l]})})},Pe=n(5152),Re=n(25201);function Ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function De(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ae(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Me=(0,Pe.default)((function(){return n.e(1942).then(n.bind(n,31942))}),{loadableGenerated:{webpack:function(){return[31942]},modules:["../src/components/contentList/MediaItem/components/Exam/components/ExamForm/pages/Assessment/components/Hint/components/HintMediaItem/HintMediaItem.tsx -> ./components/Embed/Embed"]}}),Le=(0,Pe.default)((function(){return n.e(8840).then(n.bind(n,58840))}),{loadableGenerated:{webpack:function(){return[58840]},modules:["../src/components/contentList/MediaItem/components/Exam/components/ExamForm/pages/Assessment/components/Hint/components/HintMediaItem/HintMediaItem.tsx -> ./components/Image/Image"]}}),Ze=(0,Pe.default)((function(){return n.e(9593).then(n.bind(n,9593))}),{loadableGenerated:{webpack:function(){return[9593]},modules:["../src/components/contentList/MediaItem/components/Exam/components/ExamForm/pages/Assessment/components/Hint/components/HintMediaItem/HintMediaItem.tsx -> ./components/Link/Link"]}}),Fe=(0,Pe.default)((function(){return n.e(5312).then(n.bind(n,85312))}),{loadableGenerated:{webpack:function(){return[85312]},modules:["../src/components/contentList/MediaItem/components/Exam/components/ExamForm/pages/Assessment/components/Hint/components/HintMediaItem/HintMediaItem.tsx -> ./components/Pdf/Pdf"]}}),Ue=(0,Pe.default)((function(){return n.e(5685).then(n.bind(n,55685))}),{loadableGenerated:{webpack:function(){return[55685]},modules:["../src/components/contentList/MediaItem/components/Exam/components/ExamForm/pages/Assessment/components/Hint/components/HintMediaItem/HintMediaItem.tsx -> ./components/Attachment/Attachment"]}}),qe=(0,Pe.default)((function(){return n.e(1945).then(n.bind(n,61945))}),{loadableGenerated:{webpack:function(){return[61945]},modules:["../src/components/contentList/MediaItem/components/Exam/components/ExamForm/pages/Assessment/components/Hint/components/HintMediaItem/HintMediaItem.tsx -> ./components/Text/Text"]}}),He=(0,Pe.default)((function(){return Promise.all([n.e(6310),n.e(6744)]).then(n.bind(n,26744))}),{loadableGenerated:{webpack:function(){return[26744]},modules:["../src/components/contentList/MediaItem/components/Exam/components/ExamForm/pages/Assessment/components/Hint/components/HintMediaItem/HintMediaItem.tsx -> ./components/Video/Video"]}}),Be=function(e){switch(e.type){case Re.zv.VIDEO:return(0,s.jsx)(He,De({},e));case Re.zv.IMAGE:return(0,s.jsx)(Le,De({},e));case Re.zv.HTML:return(0,s.jsx)(qe,De({},e));case Re.zv.PDF:return(0,s.jsx)(Fe,De({},e));case Re.zv.DOWNLOAD:return(0,s.jsx)(Ue,De({},e));case Re.zv.HYPERLINK:return(0,s.jsx)(Ze,De({},e));case Re.zv.EMBED:return(0,s.jsx)(Me,De({},e));default:return null}};function Qe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Qe(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var We=function(){var e=p().questionnaireData,t=(null!==e&&void 0!==e?e:{}).settings,n=null!==t&&void 0!==t?t:{},o=n.enable_hints,r=n.hints,i=null!==r&&void 0!==r?r:[],a=(0,ge.Z)(i,1)[0],l=(null!==a&&void 0!==a?a:{}).title;return o?(0,s.jsx)(Ie,{children:function(e){return(0,s.jsxs)(s.Fragment,{children:[l&&(0,s.jsx)("div",{className:Ce().title,children:l}),(0,s.jsx)(Be,Ge(Ge({},a),e))]})}}):null},Ve=n(65738),Ye=n.n(Ve),Je=function(){var e=(0,C.Ce2)(),t=M(),n=t.questionNo,o=t.currentQuestion,r=t.handleChange,i=t.value,a=t.isManualScoring,l=t.wordUsedForCourseMark,c=t.wordUsedForCourseQuestion,u=t.questionnaireData,d=t.isExam,_=t.countdownTimerProps.countdownTimer,p=_.hours,m=_.minutes,f=_.seconds,v=o||{},h=v.is_mandatory,b=v.question,E=v.marks,O=(u||{}).settings||{},w=O.correct_answer_mark,N=void 0===w?0:w,k=O.incorrect_answer_mark,T=O.total_questions,I=void 0===T?0:T,P=O.scoring_type,A=O.duration,D=(0,R.q)(P),L=d&&A&&!e;return(0,s.jsx)("div",{className:Ye().root,children:(0,s.jsxs)("div",{children:[L?(0,s.jsx)("div",{className:Ye().countdown,children:(0,s.jsxs)("div",{className:Ye().timeContainer,children:[(0,s.jsx)(y.Z,{}),(0,s.jsxs)("div",{className:Ye().time,children:[(0,C.sJW)(p,2)," h :"," ",(0,C.sJW)(m,2)," m :"," ",(0,C.sJW)(f,2)," s"]})]})}):null,(0,s.jsxs)("div",{className:Ye().label,children:[(0,s.jsx)(he,{}),I," ",(0,x.gY)(c,I)," ",d&&D&&(0,s.jsxs)(s.Fragment,{children:["(+",Number(null===N||void 0===N?void 0:N.toFixed(2)),"/-",k,")"]})]}),(0,s.jsxs)("div",{className:(0,j.A)(Ye().body,"d-flex flex-column"),children:[(0,s.jsxs)("h4",{children:[(0,g.r0)(c)," ",n]}),(0,s.jsxs)("p",{children:[b,h&&(0,s.jsx)("span",{children:"*"}),a&&(0,s.jsxs)("div",{className:Ye().marks,children:["(",E," ",(0,x.gY)(l,E),")"]})]}),(0,s.jsx)(xe,{question:o,onChange:r,value:i}),(0,s.jsx)("div",{className:"flex-grow-1"}),(0,s.jsxs)("div",{className:(0,j.A)(Ye().note,"text-muted mt-4"),children:["Note: Mandatory"," ",(0,x.gY)(c,2)," are marked with an asterisk ( * )"]})]}),(0,s.jsx)(We,{}),(0,s.jsx)("div",{className:Ye().footerExly,children:(0,s.jsx)(S.s,{exlyClickDisabled:!1,exlyText:"EXLY",exlyTextClass:Ye().exlyLogo})})]})})},ze=n(25675),Ke=n(21269),Xe=n(18604),$e=n(27904),et=n(2548),tt=n(32053),nt=function(){var e,t,n=p(),o=n.result,r=n.questionnaireData,i=n.isExam,s=n.isForm,a=n.countdownTimerProps.reset,l=n.questionnaireUid,c=n.mediaContentId,d=n.listingDetails,_=(0,tt.l)(!1),m=(0,ge.Z)(_,3),f=m[0],v=m[1],h=m[2],b=(r||{}).settings||{},x=b.is_reattempt_allowed,g=void 0!==x&&x,j=b.no_of_attempts_allowed,C=void 0===j?0:j,y=b.scoring_type,S=void 0===y?Re.RN.AUTO:y,E=b.total_marks,O=void 0===E?0:E,N=b.duration,k=void 0===N?0:N,T=o||{},I=T.attempts_taken,P=void 0===I?0:I,A=T.time_taken,D=void 0===A?0:A,M=T.marks_obtained,L=void 0===M?0:M,Z=T.attempt_status,F=T.show_report,U=T.show_result,q=T.correct_questions_answered,H=void 0===q?0:q,B=T.total_questions,Q=void 0===B?0:B,G=Z===w.SA.PASSED,W=Z===w.SA.FAILED,V=Z===w.SA.PENDING_EVALUATION||!U,Y=(0,R._)(S),J=null!==(e=null===d||void 0===d||null===(t=d.metadata)||void 0===t?void 0:t.hide_reattempt_text)&&void 0!==e&&e,z=C-P,K=k>0,X=O<=0||L<=0?0:L/O*100,$=F&&!V;(0,u.useEffect)((function(){K&&a()}),[K]);return{scoringType:S,isExam:i,isForm:s,isPassed:G,isReattemptAllowed:!J&&g,isManualScoring:Y,attemptsRemaining:z,timeTaken:Number((null===D||void 0===D?void 0:D.toFixed(2))||0),marksObtained:L,isFailed:W,isPendingEvaluation:V,score:X,correctQuestionsAnswered:H,totalQuestions:Q,isReportOpen:f,closeReport:h,handleViewReport:function(){v()},questionnaireUid:l,mediaContentId:c,showReport:$,showResult:U}},ot=function(e,t){var n;return{PENDING_EVALUATION:{label:"We\u2019ve shared your responses!",info:"You\u2019ll be notified once your results are ready! Thank you for submitting your ".concat(e,".")},FAILED:{label:null!==t&&void 0!==t&&t.hideExamResultChips&&null!==t&&void 0!==t&&t.totalQuestions?"You got ".concat(null!==(n=t.correctAnswers)&&void 0!==n?n:0," out of ").concat(t.totalQuestions," answers correct"):"You didn't make it.."},SCORE_0_TO_50:{label:"Well done on passing the ".concat(e,"!")},SCORE_50_TO_80:{label:"Great job! You\u2019ve successfully passed the ".concat(e)},SCORE_80_TO_100:{label:"Congratulations! You\u2019ve aced the ".concat(e," with flying colours!")}}},rt=function(e,t,n){var o;return n||(null===(o=Object.values(function(e){return{SCORE_0_TO_50:{message:ot(e).SCORE_0_TO_50.label,getIsValid:function(e){return e>=0&&e<=50}},SCORE_50_TO_80:{message:ot(e).SCORE_50_TO_80.label,getIsValid:function(e){return e>50&&e<=80}},SCORE_80_TO_100:{message:ot(e).SCORE_80_TO_100.label,getIsValid:function(e){return e>80&&e<=100}}}}(t)).find((function(t){return(0,t.getIsValid)(e)})))||void 0===o?void 0:o.message)},it=n(90245),st=n.n(it),at=n(42250),lt=function(e){var t=e.isPassed;return e.isPendingEvaluation?oe.Nz5.SUBMITTED:t?oe.Nz5.STAR_BADGE:oe.Nz5.FAILED},ct=function(){var e,t,n,o,r,i=p(),a=i.wordUsedForCourseExam,l=i.listingDetails,c=(0,ie.v9)(oe.IRe.hostData),u=null!==(e=null===l||void 0===l||null===(t=l.metadata)||void 0===t?void 0:t.hide_exam_result_chips)&&void 0!==e?e:null===c||void 0===c?void 0:c.hide_exam_result_chips,d=null!==(n=null===l||void 0===l||null===(o=l.metadata)||void 0===o?void 0:o.exam_success_message)&&void 0!==n?n:null===c||void 0===c?void 0:c.exam_success_message,_=nt(),m=_.scoringType,f=_.isExam,v=_.isForm,h=_.isPassed,b=_.isFailed,x=_.isPendingEvaluation,g=_.isReattemptAllowed,C=_.attemptsRemaining,y=_.timeTaken,E=_.marksObtained,O=_.score,w=_.correctQuestionsAnswered,N=_.totalQuestions,k=_.isReportOpen,T=_.closeReport,I=_.handleViewReport,P=_.questionnaireUid,R=_.mediaContentId,A=_.showReport,D=_.showResult,M=!x||y;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("div",{className:st().root,children:[(0,s.jsxs)("div",{children:[(0,s.jsx)(ze.default,{src:f?lt({isPassed:h,isPendingEvaluation:x}):oe.Nz5.FORM,height:96,width:96}),v&&(0,s.jsxs)("div",{className:st().formInfo,children:[(0,s.jsx)("h2",{children:"Thank y
1ou for your time!"}),null!==l&&void 0!==l&&null!==(r=l.metadata)&&void 0!==r&&r.hide_result_thank_you_subtext?null:(0,s.jsx)("p",{children:"Your response is important to us."})]}),f&&(0,s.jsxs)(s.Fragment,{children:[u?null:(0,s.jsxs)("div",{className:(0,j.A)(st().resultBadge,h&&st().passed,b&&st().failed,x&&st().pending),children:[D&&(0,s.jsxs)(s.Fragment,{children:[h&&"PASSED",b&&"FAILED"]}),x&&"SUBMITTED"]}),(0,s.jsxs)("h2",{children:[D&&(0,s.jsxs)(s.Fragment,{children:[h&&rt(O,a,d),b&&ot(a,{hideExamResultChips:u,correctAnswers:w,totalQuestions:N}).FAILED.label]}),x&&ot(a).PENDING_EVALUATION.label]}),x&&(0,s.jsx)("p",{className:st().pendingInfo,children:ot(a).PENDING_EVALUATION.info}),M?(0,s.jsxs)("div",{className:st().firstContainer,children:[!x&&(0,s.jsx)(_e,{className:st().card,icon:(0,s.jsx)(Xe.Z,{}),label:"SCORE",children:E}),y?(0,s.jsxs)(_e,{className:st().card,icon:(0,s.jsx)(Ke.Z,{}),label:"TIME TAKEN",children:[y," ",(0,oe.gYB)("minute",y)]}):null,A&&(0,s.jsx)(_e,{className:st().card,icon:(0,s.jsx)(be,{}),label:"REPORT",onClick:I,children:(0,s.jsx)(ee.Z,{classes:{root:st().viewReport,endIcon:st().reportEndIcon},endIcon:(0,s.jsx)($e.default,{}),children:"View report"})})]}):null,g&&(0,s.jsxs)("p",{className:st().subtitle,children:["You have"," ",(0,s.jsxs)("span",{children:[C," retakes"]})," ","left."]})]})]}),f&&g&&(0,s.jsxs)("span",{className:st().info,children:[(0,s.jsx)(et.Z,{className:st().info_icon}),(0,s.jsx)("span",{className:st().info_text,children:x?"You\u2019ll be able to retake the ".concat(a," once your results for this attempt are released."):"If you choose to retake the ".concat(a,", then your current progress on the ").concat(a," will be lost and the new score will be taken as your final score.")})]}),(0,s.jsx)("span",{className:st().exlyFooter,children:(0,s.jsx)(S.s,{exlyClickDisabled:!1,exlyText:"EXLY",exlyTextClass:st().exlyLogo})})]}),(0,s.jsx)(at.Z,{questionnaireUid:P,mediaContentId:R,open:k,scoringType:m,onClose:T})]})},ut=n(32426),dt=n(60351),_t=n(82374),pt=n(72717),mt=n.n(pt),ft=function(){var e,t,n=(0,ie.v9)(dt.I.hostData),o=p(),r=o.questionnaireData,i=o.isExam,a=o.listingDetails,l=(0,d.Hb)(n,null===a||void 0===a?void 0:a.metadata),c=(0,d.kk)(n,null===a||void 0===a?void 0:a.metadata),u=(0,d.sL)(n,null===a||void 0===a?void 0:a.metadata),_=(null!==r&&void 0!==r?r:{}).settings,m=null!==_&&void 0!==_?_:{},f=m.title,v=m.is_reattempt_allowed,h=m.no_of_attempts_allowed,b=m.duration,g=m.total_questions,j=m.total_marks,C=void 0===j?0:j,y=m.correct_answer_mark,E=void 0===y?0:y,O=m.incorrect_answer_mark,w=void 0===O?0:O,N=m.scoring_type,k=null!==(e=null===_||void 0===_?void 0:_.metadata)&&void 0!==e?e:{},T=k.start_screen_subtitle,I=k.start_screen_hide_attempts,P=k.start_screen_attempts_title,A=k.start_screen_hide_instructions,D=k.start_screen_instructions_title,M=k.start_screen_custom_instructions,L=(0,R._)(N);t=i?T||"Read carefully and answer the following ".concat((0,x.gY)(u,2)):"Welcome, and thanks for taking the time to fill this form.";var Z=A?null:(0,s.jsx)(_e,{label:D||"INSTRUCTIONS",icon:(0,s.jsx)(he,{}),childrenClassName:mt().listCard,childrenClassNameWrapper:"w-100",noIconMarginTop:!0,children:M?(0,s.jsx)("div",{dangerouslySetInnerHTML:{__html:M}}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("ul",{className:mt().list,children:[(0,s.jsxs)("li",{children:["There are a total of"," ",(0,s.jsxs)("strong",{children:[g," ",(0,x.gY)("question",null!==g&&void 0!==g?g:0)]})]}),(0,s.jsxs)("li",{children:["Marking scheme for ",c,":"]})]}),(0,s.jsx)("div",{className:mt().secondaryListContainer,children:(0,s.jsxs)("ul",{className:mt().list,children:[(0,s.jsxs)("li",{children:["Total"," ",(0,x.gY)(l,C),":"," ",(0,s.jsx)("strong",{children:C})]}),L?(0,s.jsxs)("li",{className:mt().correctAnswer,children:["Once you submit ",c,", your responses will be collected and manually graded."]}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)("li",{className:mt().correctAnswer,children:["For each correct answer:"," ",(0,s.jsxs)("strong",{children:["+",Number(null===E||void 0===E?void 0:E.toFixed(2))]})]}),(0,s.jsxs)("li",{className:mt().incorrectAnswer,children:["For each incorrect answer:"," ",(0,s.jsx)("strong",{children:-1*w})]})]})]})})]})});return(0,s.jsxs)("div",{className:mt().root,children:[(0,s.jsxs)("div",{className:mt().mainContentWrapper,children:[(0,s.jsx)(ze.default,{src:i?ut.Nz.EXAM:ut.Nz.FORM,height:96,width:96}),(0,s.jsx)("h2",{children:f}),(0,s.jsx)("p",{children:t}),i&&(0,s.jsxs)("div",{className:mt().dataPanel,children:[(0,s.jsxs)("div",{className:mt().firstContainer,children:[b?(0,s.jsxs)(_e,{label:"TIME LIMIT",icon:(0,s.jsx)(Ke.Z,{}),children:[b," ",(0,x.gY)("minute",b||0)]}):null,I?null:(0,s.jsx)(_e,{label:P||"ATTEMPTS",icon:(0,s.jsx)(_t.Z,{}),children:v?h:1})]}),Z,(0,s.jsxs)("p",{className:mt().dataPanelPara,children:["Click on"," ",(0,s.jsxs)("span",{className:mt().dataPanelSpan,children:["Start ",c]})," ","whenever you are ready."]})]})]}),(0,s.jsx)("div",{className:mt().footerExly,children:(0,s.jsx)(S.s,{exlyClickDisabled:!1,exlyText:"EXLY",exlyTextClass:mt().exlyLogo})})]})},vt=n(36867),ht=n(38471),bt=n(75655),xt=n(7333),gt=n(49058),jt=n(88463),Ct=n(72919),yt=n(9615),St=n(65686),Et=n(58663);function Ot(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function wt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?Ot(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ot(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var Nt=function(e){return null===e||void 0===e?void 0:e.reduce((function(e,t){var n,o=t.question_type,r=t.question_uid,i=o===w.j$.MULTI_SELECT;return wt(wt({},e),{},(0,a.Z)({},r,(n={},(0,a.Z)(n,h,i?void 0:null),(0,a.Z)(n,b,i?[]:void 0),(0,a.Z)(n,v,o),(0,a.Z)(n,f,r),n)))}),{})},kt=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return e.reduce((function(e,t){var n,o,r=t.answer,i=t.question_type,s=t.options;switch(i){case w.j$.SINGLE_SELECT:o=null===s||void 0===s||null===(n=s.find((function(e){return e.is_selected})))||void 0===n?void 0:n.option_uid;break;case w.j$.MULTI_SELECT:o=null===s||void 0===s?void 0:s.filter((function(e){return e.is_selected})).map((function(e){return e.option_uid}));break;case w.j$.CALENDAR:o=r?new Date(r):void 0;break;case w.j$.STAR_RATING:case w.j$.TEN_NUMBER_RATING:case w.j$.FIVE_NUMBER_RATING:o=Number(r||0);break;default:o=r}var l=i===w.j$.MULTI_SELECT?b:h;return wt(wt({},e),{},(0,a.Z)({},t.question_uid,wt(wt({},t),{},(0,a.Z)({},l,o))))}),{})},Tt=function(e,t){var n=null===t||void 0===t?void 0:t.filter((function(e){return e.is_mandatory}));return{isAllMandatoryQuestionsFilled:null===n||void 0===n?void 0:n.reduce((function(t,n){var o=n.question_uid,r=(null===e||void 0===e?void 0:e[o])||{},i=r.question_type,s=r.answer,a=r.selected_options_uid_list,l=i===w.j$.MULTI_SELECT?!(0,oe.xbD)(a):!(0,oe.xbD)(s);return t&&l}),!0)}},It=function(e){return e===w.xk.EXAM},Pt=function(e){return e===w.xk.FORM},Rt=Object.keys(m).length,At=function(e){var t,n=e.subdomain,o=(0,yt.Ph)(bt.FG.QUESTIONNAIRE),s=(0,yt.Ph)(bt.FG.BOOKING_ID),l=(0,yt.Ph)(bt.FG.CONTENT_ID),c=(0,yt.Ph)(bt.FG.CONTENT_CATEGORY_ID),_=(0,yt.Ph)(bt.FG.CONTENT_SUB_CATEGORY_ID),p=(0,yt.Ph)(bt.FG.MEDIA_ITEM_UUID),f=(0,oe.etY)("hideContactWidget",!0).setData,v=(0,vt.ZP)().notify,h=(0,Et.Z)({questionnaireUuid:o,onSuccess:function(e){return Me.apply(this,arguments)},mediaContentId:p}).loading,b=(0,ie.v9)(oe.IRe.host),x=null===b||void 0===b||null===(t=b.dataHost)||void 0===t?void 0:t.profile_data,g=(0,d.kk)(x),j=(0,d.sL)(x),C=(0,u.useState)(m.START_SCREEN),y=C[0],S=C[1],E=(0,u.useState)(),N=E[0],k=E[1],T=(0,u.useState)(),I=T[0],R=T[1],A=(0,u.useState)(),D=A[0],M=A[1],L=(0,u.useState)(!1),Z=L[0],F=L[1],U=(0,tt.l)(!1),q=(0,ge.Z)(U,3),H=q[0],B=q[1],Q=q[2],G=(0,u.useState)({}),W=G[0],V=G[1],Y=(0,u.useRef)(W);Y.current=W;var J=(0,u.useState)(0),K=J[0],X=J[1],$=(0,u.useRef)(K);$.current=K;var ee=(0,u.useState)(0),te=ee[0],ne=ee[1],re=(0,u.useState)(!1),se=re[0],ae=re[1],le=(0,tt.l)(!1),ce=(0,ge.Z)(le,3),ue=ce[0],de=ce[1],_e=ce[2],pe=(null!==N&&void 0!==N?N:{}).settings,me=(pe=void 0===pe?{}:pe).total_questions,fe=void 0===me?0:me,ve=pe.questionairre_type,he=void 0===ve?w.xk.EXAM:ve,be=pe.scoring_type,xe=void 0===be?w.RN.AUTO:be,je=It(he),Ce=Pt(he),ye=((N||{}).settings||{}).duration,Se=void 0===ye?0:ye,Ee=Se>0,Oe=P({totalDuration:Se,resetOnTimeUp:!1,onChange:X,onTimeUp:Ee?function(){Ie(!0)}:void 0}),we=Oe.reset,Ne=Oe.pause,ke=Oe.resume,Te=function(){var e=Math.min(y+1,Rt);S(e)};function Ie(e){Ee&&Ne();var t=Y.current,n=(null!==N&&void 0!==N?N:{}).questions;if(!e&&!Tt(t,void 0===n?[]:n).isAllMandatoryQuestionsFilled)return Pe(e),void alert("Fill all mandatory ".concat((0,oe.gYB)(j,2),"."));F(!0);var r={attempt_uid:je?D:void 0,questionairre_uid:o,total_questions:fe,time_taken:$.current,questions_and_responses:Object.values(t||{}),recorded_content_uuid:p};je&&e&&(r.force_submit=!0),(0,St.gC)(r).then((function(e){R(e),Te(),Ee&&we()})).catch((function(t){v("Something went wrong while submitting ".concat(g,", please try again"),{type:"error"}),Ee&&!e&&ke(),(0,gt.H)({error:t,severity:"critical",when:"submitExamOrForm",occuredAt:"content"})})).finally((function(){F(!1),je&&Pe(e)}))}var Pe=function(e){Ee&&!e&&ke(),Q()},Ae=function(){var e;return O.default.replace((0,yt.Ee)(ht.xb[ht.iL.CONTENT],(e={},(0,a.Z)(e,bt.FG.CONTENT_ID,l),(0,a.Z)(e,bt.FG.BOOKING_ID,s),(0,a.Z)(e,bt.FG.CONTENT_CATEGORY_ID,c),(0,a.Z)(e,bt.FG.CONTENT_SUB_CATEGORY_ID,_),(0,a.Z)(e,bt.FG.FROM,Re.Y9),e)),void 0,{shallow:!0})},De=function(){(0,xt.Y)()?Ae():(O.default.beforePopState((function(){return!0})),O.default.back()),(0,Ct.Jb)(xe)};function Me(){return(Me=(0,i.Z)(r().mark((function e(t){var n,i,s,a,l,c,u,d,_,f,v,h,b,x,g,j,C,y,E,O;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,ae(!0),e.next=4,(0,St.Nt)({uuid:o});case 4:if(n=e.sent,i=(n||{}).questionairre,a=(s=void 0===i?{}:i).questions,l=(0,z.Z)(s,["questions"]),u=(c={questions:a,settings:l}).questions,_=(d=l).questionairre_type,f=d.no_of_attempts_allowed,h=(v=t||{}).is_completed,b=void 0!==h&&h,x=v.attempts_taken,g=void 0===x?0:x,!(j=It(_))||g!==f){e.next=14;break}return e.abrupt("return",De());case 14:if(C=b?m.ASSESSMENT:m.START_SCREEN,S(j?m.START_SCREEN:C),a&&k(c),V(Nt(u)),!Pt(_)||!b){e.next=25;break}return e.next=21,(0,St.On)({questionnaireUid:o,mediaContentId:p});case 21:y=e.sent,E=y.questions,O=y.attempt_uid,M(O),V(kt(E));case 25:e.next=30;break;case 27:e.prev=27,e.t0=e.catch(0),(0,gt.H)({error:e.t0,severity:"critical",when:"calling handleStatusFetchSuccess",occuredAt:"src/components/contentList/MediaItem/components/Exam/components/ExamForm/useExamForm.ts"});case 30:return e.prev=30,ae(!1),e.finish(30);case 33:case"end":return e.stop()}}),e,null,[[0,27,30,33]])}
1)))).apply(this,arguments)}(0,u.useEffect)((function(){return f(!0),function(){f(!1)}}),[]);var Le=(0,u.useState)(),Ze=Le[0],Fe=Le[1];return(0,u.useEffect)((function(){(0,jt.z)({listingUuid:l,subdomain:n}).then(Fe)}),[]),{questionnaireUid:o,mediaContentId:p,isExam:je,isForm:Ce,page:y,questionnaireData:N,answers:W,isExitModalOpen:ue,openExitModal:de,currentQuestion:te,result:I,loading:se||h,submitting:Z,setCurrentQuestion:ne,setAnswers:V,setTimeTaken:X,handleNext:Te,handleRetake:function(){S(m.START_SCREEN),V({}),ne(0)},handleAddAttemp:function(){if(Z)return!1;var e=null!==N&&void 0!==N?N:{},t=e.settings,n=e.questions,r=void 0===n?[]:n,i=t,s=i.correct_answer_mark,a=i.incorrect_answer_mark,l=i.total_marks,c=i.passing_marks;je?(F(!0),(0,St.D4)({questionairre_uid:o,correct_answer_mark:s,incorrect_answer_mark:a,total_marks:l,passing_marks:c,total_questions:r.length,questions_uid_list:r.map((function(e){return e.question_uid})),recorded_content_uuid:p}).then((function(e){var t=(e||{}).attempt_uid;M(t),Te()})).catch((function(){v("Something went wrong while starting ".concat(g),{type:"error"})})).finally((function(){return F(!1)}))):Te()},handleSubmit:function(){je?(B(),Ne()):Ie()},handleChangeQuestion:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"next";return function(){ne("next"===e?Math.min(te+1,fe-1):Math.max(te-1,0))}},closeExitModal:_e,handleLeave:De,handleBack:function(){(0,xt.Y)()?Ae():O.default.back()},wordUsedForCourse:(0,d.S6)(x,void 0,null===Ze||void 0===Ze?void 0:Ze.metadata),wordUsedForCourseExam:(0,d.kk)(x,null===Ze||void 0===Ze?void 0:Ze.metadata),wordUsedForCourseMark:(0,d.Hb)(x,null===Ze||void 0===Ze?void 0:Ze.metadata),wordUsedForCourseQuestion:(0,d.sL)(x,null===Ze||void 0===Ze?void 0:Ze.metadata),listingDetails:Ze,countdownTimerProps:Oe,handleSubmitQuestionnaire:Ie,isSubmitConfirmationModalOpen:H,handleExamSubmitConfirmationModalClose:Pe}},Dt=n(38240),Mt=n(39458),Lt=n(84945),Zt=n(653),Ft=function(e){return e?"Test paused! What happened?...":"Are you sure?"},Ut=function(e){return e?"Are you sure you want to leave?":"We\u2019d suggest you submit the form before leaving."},qt=function(e,t){return e?"If you choose to leave, all your progress in this ".concat(t," will be lost and you\u2019ll have to retake the ").concat(t,". That retake will be counted in your re-attempts."):"If you leave right now, your form responses won\u2019t be saved, whereas, if you submit the form, your responses will be saved and you\u2019ll be able to edit your responses later as well!"},Ht=function(e,t){return e?"Continue ".concat(t):"Submit for now"},Bt=n(63198),Qt=n.n(Bt),Gt=function(e){var t=e.open,n=e.onClose,o=e.onLeave,r=p(),i=r.isExam,a=void 0!==i&&i,l=r.handleSubmit,c=r.wordUsedForCourseExam;return(0,s.jsx)(Dt.Z,{open:t,onClose:n,classes:{root:Qt().modalRoot,paper:Qt().root},rootClass:Qt().rootClass,children:(0,s.jsxs)("div",{className:Qt().root,children:[(0,s.jsx)(Zt.Z,{showCloseIcon:!0,onClose:n,classes:{title:Qt().title,header:Qt().header},children:Ft(a)}),(0,s.jsxs)(Mt.Z,{className:Qt().content,children:[(0,s.jsx)("p",{className:a?Qt().warning:Qt().infoSubtext,children:Ut(a)}),(0,s.jsx)("p",{className:Qt().info,children:qt(a,c)})]}),(0,s.jsxs)(Lt.Z,{className:Qt().footer,children:[(0,s.jsx)(ee.Z,{className:Qt().secondaryBtn,fullWidth:!0,onClick:o,children:"Leave"}),(0,s.jsx)(ne.x,{applyTheme:!0,className:Qt().button,fullWidth:!0,onClick:a?n:function(e){l(),o(e)},children:Ht(a,c)})]})]})})},Wt=n(42065),Vt=n(47111),Yt=n(33416),Jt=n(96367),zt=n.n(Jt),Kt=function(e){var t=e.showRetakeBtn,n=void 0===t||t,o=(0,Yt.Ce)(),r=p(),i=r.page,l=r.handleRetake,c=r.handleSubmit,d=r.handleLeave,_=r.handleChangeQuestion,f=r.handleAddAttemp,v=r.currentQuestion,h=void 0===v?0:v,b=r.isExam,x=r.result,g=r.questionnaireData,C=r.submitting,y=r.wordUsedForCourse,S=r.wordUsedForCourseExam,E=(g||{}).settings,O=(E=void 0===E?{}:E).is_reattempt_allowed,N=void 0!==O&&O,k=E.no_of_attempts_allowed,T=void 0===k?0:k,I=E.total_questions,P=void 0===I?0:I,R=x||{},A=R.attempts_taken,D=void 0===A?0:A,M=R.attempt_status,L=R.show_result,Z=M===w.SA.PENDING_EVALUATION,F=b&&N&&T-D>0&&!Z&&n,U=h+1,q=U>1,H=U<P,B=i===m.START_SCREEN,Q=i===m.RESULT,G=i===m.ASSESSMENT,W=(0,u.useMemo)((function(){var e;return e={},(0,a.Z)(e,m.START_SCREEN,b?"Start ".concat(S):"Start"),(0,a.Z)(e,m.ASSESSMENT,"Submit"),(0,a.Z)(e,m.RESULT,b?"Exit ".concat(S):"Continue with ".concat(y)),e}),[b]),V=(0,u.useMemo)((function(){var e;return e={},(0,a.Z)(e,m.START_SCREEN,f),(0,a.Z)(e,m.ASSESSMENT,c),(0,a.Z)(e,m.RESULT,d),e}),[f,c,d]);return B?(0,s.jsx)("div",{className:(0,j.A)(zt().root,zt().startPageRoot),children:(0,s.jsx)(ne.x,{applyTheme:!0,className:(0,j.A)(zt().cta,B&&!o&&zt().fullWidth),onClick:V[i],disabled:C,children:C?(0,s.jsx)($.Z,{className:zt().loader}):(0,s.jsxs)(s.Fragment,{children:[W[i],(0,s.jsx)(Vt.Z,{})]})})}):G?1===P?null:(0,s.jsx)("div",{className:(0,j.A)(zt().root),children:o?(0,s.jsxs)(s.Fragment,{children:[q?(0,s.jsxs)(ne.x,{className:(0,j.A)(zt().cta,zt().retakeCta,zt().prevQuestionCta),onClick:_("back"),
1children:[(0,s.jsx)(Wt.Z,{})," Prev"]}):(0,s.jsx)("div",{}),H?(0,s.jsxs)(ne.x,{className:(0,j.A)(zt().cta),onClick:_("next"),applyTheme:!0,children:["Next ",(0,s.jsx)(Vt.Z,{})]}):(0,s.jsx)("div",{})]}):(0,s.jsxs)(s.Fragment,{children:[q?(0,s.jsx)(ee.Z,{classes:{root:zt().quetionSwitch},startIcon:(0,s.jsx)("div",{className:(0,j.A)(zt().questionSwitchIcon,zt().backBtn),children:(0,s.jsx)(Wt.Z,{})}),onClick:_("back"),children:"Prev"}):(0,s.jsx)("div",{}),H?(0,s.jsx)(ee.Z,{classes:{root:zt().quetionSwitch},endIcon:(0,s.jsx)("div",{className:(0,j.A)(zt().questionSwitchIcon,zt().nextBtn),children:(0,s.jsx)(Vt.Z,{})}),onClick:_("next"),children:"Next"}):(0,s.jsx)("div",{})]})}):(0,s.jsxs)("div",{className:zt().root,children:[F&&L?(0,s.jsxs)(ne.x,{className:(0,j.A)(zt().cta,zt().retakeCta,!o&&zt().fullWidth),onClick:l,children:["Retake ",S]}):(0,s.jsx)("div",{}),(0,s.jsx)(ne.x,{applyTheme:!0,className:(0,j.A)(zt().cta,F&&!o&&zt().fullWidth),onClick:V[i],disabled:C,children:C?(0,s.jsx)($.Z,{className:zt().loader}):(0,s.jsxs)(s.Fragment,{children:[W[i],(Q||B)&&!F&&(0,s.jsx)(Vt.Z,{})]})})]})},Xt=n(55125),$t=n(33705),en=function(e){return(0,g.rd)(e,$t.gZ+1)},tn=n(83592),nn=n.n(tn),on=function(){var e=(0,Yt.Ce)(),t=p(),n=t.handleBack,o=t.handleSubmit,r=t.questionnaireData,i=t.submitting,a=t.wordUsedForCourseExam,l=t.isExam,c=t.page,u=t.countdownTimerProps,d=(r||{}).settings||{},_=d.title,m=d.duration,f=c===C.N7R.ASSESSMENT,v=u.countdownTimer,h=v.hours,b=v.minutes,x=v.seconds,g=f&&l&&m&&e;return(0,s.jsxs)("nav",{className:nn().nav,children:[(0,s.jsxs)("div",{className:nn().ctaWrapper,children:[(0,s.jsx)(ee.Z,{className:nn().backButton,startIcon:(0,s.jsx)(Xt.u,{}),onClick:n,children:e?"Back":en(_)}),e?_:null]}),(0,s.jsxs)("div",{className:nn().rightContainer,children:[g?(0,s.jsxs)("div",{className:nn().timeContainer,children:[(0,s.jsx)(y.Z,{}),(0,s.jsxs)("div",{className:nn().time,children:[(0,C.sJW)(h,2)," h :"," ",(0,C.sJW)(b,2)," m :"," ",(0,C.sJW)(x,2)," s"]})]}):null,f&&(0,s.jsx)(ne.x,{applyTheme:!0,className:nn().submitCta,onClick:o,disabled:i,children:i?(0,s.jsx)($.Z,{className:nn().loader}):(0,s.jsxs)(s.Fragment,{children:["Submit ",l&&a]})})]})]})},rn=n(43802),sn=n(11356),an=n.n(sn),ln=function(e){var t=e.open,n=e.onConfirm,o=e.onClose,r=p(),i=r.questionnaireData,a=(i=void 0===i?{}:i).settings,l=(a=void 0===a?{}:a).duration,c=void 0===l?0:l,u=r.submitting,d=r.isExam,_=r.wordUsedForCourseExam,m=c>0,f=P({seconds:$t.NT,onTimeUp:n,autoStart:m,resetOnTimeUp:!1}),v=f.countdownTimer.seconds,h=f.pause,b=function(){o()};return(0,s.jsx)(Dt.Z,{open:t,onClose:b,classes:{root:an().modalRoot,paper:an().root},rootClass:an().rootClass,children:(0,s.jsxs)("div",{className:an().root,children:[(0,s.jsx)(Zt.Z,{showCloseIcon:!0,showBackCta:!1,onClose:b,classes:{title:an().title,header:an().header,close:an().close},children:"Confirm submission"}),(0,s.jsx)(Mt.Z,{className:an().content,children:(0,s.jsxs)("p",{className:an().info,children:["Please confirm to proceed with the submission."," ",m&&(0,s.jsxs)(s.Fragment,{children:["If no action taken,"," ",(0,s.jsxs)("span",{className:an().bold_info,children:["then the exam will be auto-submitted in"," ",(0,s.jsx)("span",{className:an().time,children:v})," ",(0,rn.gY)("sec",v),"."]})]})]})}),(0,s.jsxs)(Lt.Z,{className:an().footer,children:[(0,s.jsx)(ee.Z,{className:an().secondaryBtn,onClick:function(){n&&(n(),h())},fullWidth:!0,disabled:u,children:u?(0,s.jsx)($.Z,{className:an().loader}):(0,s.jsxs)(s.Fragment,{children:["Submit ",d&&_]})}),(0,s.jsx)(ne.x,{applyTheme:!0,className:an().button,fullWidth:!0,onClick:b,children:"Close"})]})]})})},cn=n(85442),un=n(57304),dn=(n(61464),n(13236)),_n=n(41837),pn=n.n(_n);function mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function fn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mn(Object(n),!0).forEach((function(t){(0,a.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mn(Object(n)).forEac
1h((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var vn=function(e){var t,n=e.subdomain,o=At({subdomain:n}),r=(0,ie.v9)(dt.I.host),i=(null===r||void 0===r||null===(t=r.dataHost)||void 0===t?void 0:t.profile_data)||{},a={title:"".concat(i.name?"".concat(i.name,"'s "):""," Recorded Content"),favicon:i.profile_pic||dn._y},d=o.page,p=o.loading,f=o.isExitModalOpen,v=o.closeExitModal,h=o.handleLeave,b=o.isSubmitConfirmationModalOpen,x=o.handleExamSubmitConfirmationModalClose,g=o.handleSubmitQuestionnaire,C=(0,u.useMemo)((function(){return fn({},o)}),[o]);return p?(0,s.jsx)("div",{className:pn().root,children:(0,s.jsx)("div",{className:pn().loaderContainer,children:(0,s.jsx)(c.T,{})})}):(0,s.jsxs)(_.Provider,{value:C,children:[(0,s.jsx)(l.default,fn({},a)),(0,s.jsxs)("div",{className:pn().body,children:[(0,s.jsx)(on,{}),(0,s.jsx)("div",{className:(0,j.A)(pn().rootWrapper,p&&pn().loading),children:(0,s.jsx)("div",{className:(0,j.A)(pn().root,p&&pn().loading),children:p?(0,s.jsx)($.Z,{}):(0,s.jsxs)(s.Fragment,{children:[d===m.START_SCREEN&&(0,s.jsx)(ft,{}),d===m.ASSESSMENT&&(0,s.jsx)(Je,{}),d===m.RESULT&&(0,s.jsx)(ct,{}),(0,s.jsx)(Kt,{showRetakeBtn:d!==m.ASSESSMENT&&d!==m.START_SCREEN}),(0,s.jsx)(Gt,{open:f,onClose:v,onLeave:h}),b&&(0,s.jsx)(ln,{open:b,onClose:x,onConfirm:g})]})})})]})]})};vn.getInitialProps=function(){var e=(0,i.Z)(r().mark((function e(t){var n;return r().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n=t.params.hostName,t.store.dispatch((0,un.PH)(un.aI.UTILS.API_CALL,{apiActionType:cn.C1.FETCH_HOST,urlArgs:{hostName:n}})),t.store.dispatch((0,un.PH)(un.aI.UTILS.API_CALL,{apiActionType:cn.C1.FETCH_HOST_THEME,urlArgs:{hostName:n}})),e.abrupt("return",{subdomain:n});case 4:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();var hn=vn},4264:function(e,t,n){"use strict";n.d(t,{m:function(){return l}});var o=n(168),r=n(27189),i=o.h,s=n(13236),a=n(79700),l=function(e){var t,n=e.pageSpecificFavIcon,o=e.creatorSiteFaviconImgSrc,l=e.profileImgSrc,c=e.hostName;return t=n||o||l||(0,a.A)({text:c})||s._y,i(t,r.yK)}},58144:function(e,t,n){"use strict";var o=n(85893),r=n(92809),i=n(67288),s=(n(67294),n(47867)),a=n(4905),l=n(80928),c=n.n(l);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.children,n=e.open,r=e.onClose,l=e.classes,u=(0,i.Z)(e,["children","open","onClose","classes"]),_=l||{},p=_.root,m=(0,i.Z)(_,["root"]);return(0,o.jsx)(s.Z,d(d({open:n,onClose:r,classes:d({root:(0,a.A)(c().modalRoot,p)},m)},u),{},{children:t}))}},11099:function(e,t,n){"use strict";var o=n(92809),r=n(85893),i=n(67288),s=(n(67294),n(19058));function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.anchor,n=void 0===t?"bottom":t,o=e.children,a=e.open,c=e.onClose,u=(0,i.Z)(e,["anchor","children","open","onClose"]);return(0,r.jsx)(s.ZP,l(l({anchor:n,open:a,onClose:c},u),{},{children:o}))}},38240:function(e,t,n){"use strict";var o=n(92809),r=n(85893),i=n(67288),s=(n(67294),n(33416)),a=n(54776),l=n(58144),c=n(11099);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function d(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};
1t%2?u(Object(n),!0).forEach((function(t){(0,o.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.Z=function(e){var t=e.children,n=(0,i.Z)(e,["children"]),o=(0,s.Ce)()?l.Z:c.Z,u=n.open;return(0,r.jsx)(o,d(d({},n),{},{children:(0,r.jsx)(a.Z,{direction:"up",in:u,mountOnEnter:!0,unmountOnExit:!0,children:t})}))}},84945:function(e,t,n){"use strict";var o=n(85893),r=(n(67294),n(71508)),i=n(4905),s=n(80928),a=n.n(s),l=function(e){var t=e.className,n=void 0===t?"":t,s=e.children;return(0,o.jsx)(r.Z,{className:(0,i.A)(a().modalFooter,n),children:s})};l.defaultProps={className:""},t.Z=l},12e3:function(e,t,n){"use strict";n.d(t,{q9:function(){return o},d4:function(){return r},PZ:function(){return i}});var o=n(84611).MOBILE_SCREEN_WIDTH,r=1366,i={large:{breakpoint:{max:4e3,min:1081},items:1},medium:{breakpoint:{max:1080,min:681},items:1},small:{breakpoint:{max:680,min:0},items:1}}},171:function(e,t,n){"use strict";var o=n(85893),r=n(4298);n(67294);t.Z=function(e){var t=e.accessToken;return t?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)(r.default,{strategy:"afterInteractive",defer:!0,src:'https://www.googletagmanager.com/gtag/js?id="'.concat(t,'"')}),(0,o.jsx)(r.default,{strategy:"afterInteractive",defer:!0,dangerouslySetInnerHTML:{__html:"window.dataLayer = window.dataLayer || [];\n function gtag(){dataLayer.push(arguments);}\n gtag('js', new Date());\n gtag('config', \"".concat(t,'");\n ')}})]}):null}},7838:function(e,t,n){"use strict";n.d(t,{t:function(){return r}});var o,r=null!==(o=n(34155).env.NEXT_PUBLIC_LANDING_PAGE_URL)&&void 0!==o?o:"https://exlyapp.com"},69265:function(e,t,n){"use strict";n.d(t,{J:function(){return r}});var o=n(49226),r=function(e){var t=e.featureKey,n=(0,o.v9)((function(e){return e.creatorDetails})).featureAccessibilty;return null===n||void 0===n?void 0:n[t]}},91902:function(e,t,n){"use strict";n.d(t,{s:function(){return u}});var o=n(85893),r=(n(67294),n(1910)),i=n(69265),s=n(7838),a=n(78149),l=n(25305),c=n.n(l),u=function(e){var t=e.showCopyright,n=e.exlyClickDisabled,l=e.exlyTextClass,u=e.exlyText;if((0,i.J)({featureKey:a.s}))return null;return(0,o.jsxs)("div",{className:c().textContainerStyles,onClick:function(){n||window.open(s.t)},children:["Powered by"," ",(0,o.jsx)("span",{className:" ".concat(n?"":"pointer"," ").concat(l),children:u}),t&&(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("br",{}),(0,o.jsx)("div",{children:(0,r.RJ)()})]})]})};u.defaultProps={showCopyright:!1,exlyClickDisabled:!1,exlyTextClass:"",exlyText:"Exly"}},7333:function(e,t,n){"use strict";n.d(t,{Z:function(){return a},Y:function(){return l}});var o=n(2626),r=n(9615),i=n(61736),s=n(25201),a=function(e){if((0,o.N)(e))return{completionPercent:0,totalLessons:0,completedLessons:0};var t=0,n=0;return e.forEach((function(e){var o=e.total_lessons,r=e.completed_lessons;t+=o,n+=r})),{completionPercent:Math.floor(n/t*100),totalLessons:t,completedLessons:n}},l=function(){return(0,r.Ph)(i.F.FROM)===s.Y9}},79700:function(e,t,n){"use strict";n.d(t,{o:function(){return r},A:function(){return i}});var o=n(1910),r=function(e){var t=e.width,n=e.height,o=e.text,r=void 0===o?"Sample Image":o,i=e.bgColour,s=void 0===i?"cbcbcb":i,a=e.textColor,l=void 0===a?"6a6a6a":a;return"https://dummyimage.com/".concat(t,"x").concat(n,"/").concat(s,"/").concat(l,"&text=").concat(encodeURIComponent(r))},i=function(e){var t=e.text,n=void 0===t?"":t,r=e.bgColour,i=void 0===r?"6c5dd3":r,s=e.textColor,a=void 0===s?"fff":s,l=e.font,c=void 0===l?"noto":l,u=e.fontSize,d=void 0===u?"28":u;return(0,o.JB)(n)?void 0:"https://fakeimg.pl/32/".concat(i,"/").concat(a,"/?text=").concat(n[0],"&font=").concat(c,"&font_size=").concat(d)}},88463:function(e,t,n){"use strict";n.d(t,{l:function(){return i},z:function(){return s}});var o=n(71691),r=n(34776),i=function(e){if(!e)throw new Error("no listing UUID passed!");return(0,r.t)({url:"".concat(o.H6,"/host/listing/details/").concat(e),extraOptions:{appendExlyB
1ackendHeaders:!0}}).then((function(e){var t,n,o=null===e||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.event;if(o)return o;throw e}))},s=function(e){var t=e.listingUuid,n=e.subdomain;if(!t)throw new Error("no listing UUID passed!");return(0,r.t)({url:"".concat(o.H6,"/host/listing/").concat(n,"/").concat(t),extraOptions:{appendExlyBackendHeaders:!0}}).then((function(e){var t,n,o=null===e||void 0===e||null===(t=e.data)||void 0===t||null===(n=t.data)||void 0===n?void 0:n.event;if(o)return o;throw e}))}},69909:function(e,t,n){"use strict";n.r(t);var o=n(85893),r=n(92809),i=n(44333),s=(n(67294),n(9008)),a=n(4298),l=n(95772),c=n(49226),u=n(25935),d=n(6351),_=n(93628),p=n(93531),m=n(4264),f=n(11071),v=n(171);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}t.default=function(e){var t,n,r,h,x=e.isEvent,g=void 0!==x&&x,j=e.title,C=e.favicon,y=e.description,S=e.image,E=e.video,O=e.metaScript,w=e.scriptTags,N=e.additionalHeaders,k=e.customSeoParams,T=e.customGaToken,I=e.overrideDefaultGAToken,P=e.customCodes,R=void 0===P?[]:P,A=(0,c.v9)(d.IRe.host),D=A.hostName,M=A.font.url,L=A.dataHost.profile_data,Z=!!(null!==k&&void 0!==k&&k.description||null!==k&&void 0!==k&&k.title),F=!!(Z||null!==L&&void 0!==L&&L.seo_preview),U=Z&&F?k:null===L||void 0===L?void 0:L.seo_preview,q=(0,d.ZJX)({host:A}),H=":root {\n".concat(q.map((function(e){var t=(0,i.Z)(e,2),n=t[0],o=t[1];return"".concat(n,": ").concat(o)})).join("; \n"),"\n}"),B=(0,c.v9)(d.IRe.event),Q=B.selectedEvent,G=B.list,W=g&&Q&&(0,d.e6T)(Q,G)?G[Q]:null,V=W?W.type:-1,Y="exlyapp.com",J=W?"https://".concat(D,".").concat(Y,"/").concat(null===W||void 0===W?void 0:W.uuid):"",z=(0,d.Vdm)([[[d.Zeo.APPOINTMENTS,d.Zeo.WORKSHOPS].includes(V)&&(null===W||void 0===W||null===(t=W.slots)||void 0===t?void 0:t.length),(0,f.w)(null===W||void 0===W||null===(n=W.slots)||void 0===n||null===(r=n[0])||void 0===r?void 0:r.start_time)],[[d.Zeo.GROUP_CLASSES,d.Zeo.ONE_ON_ONE_CLASSES,d.Zeo.ROLLING_CLASSES].includes(V)&&(null===W||void 0===W?void 0:W.next_slot_time),(0,f.w)(null===W||void 0===W?void 0:W.next_slot_time)]],""),K=b({host:{"@context":"https://schema.org","@type":"Organization",url:"https://exlyapp.com",name:"Exly by MyScoot",logo:"https://".concat(Y,"/static/images/exly-logo.png")}},W&&b({event:b(b(b({"@context":"https://schema.org","@type":"Event",name:j},z&&{startDate:z}),![d.Zeo.RECORDED_CONTENT,d.Zeo.MERCHANDISE].includes(V)&&{eventAttendanceMode:"https://schema.org/".concat([d.Ted.MEET_AUTO_GENERATE,d.Ted.EXISTING_LINK].includes(null===W||void 0===W?void 0:W.address_type)?"Online":"Offline","EventAttendanceMode")}),{},{location:{"@type":"VirtualLocation",url:J},eventStatus:"https://schema.org/EventScheduled",image:[(null===W||void 0===W?void 0:W.cover_image)||d.iD5.DEFAULT.CARD_IMAGE],description:y,offers:{"@type":"Offer",url:J,price:W.updated_price,priceCurrency:(0,d.uUS)(null===W||void 0===W?void 0:W.currency),availability:"https://schema.org/".concat((null===W||void 0===W?void 0:W.status)===d.d6Z.LIVE?"InStock":"OutOfStock")},performer:{"@type":"PerformingGroup",name:(null===L||void 0===L?void 0:L.title)||(null===L||void 0===L?void 0:L.name)||"Exly"},organizer:{"@type":"Organization",name:"Exly by MyScoot",url:"https://exlyapp.com"}})},(null===W||void 0===W?void 0:W.faqs)&&(null===W||void 0===W||null===(h=W.faqs)||void 0===h?void 0:h.length)&&{faq:{"@context":"https://schema.org","@type":"FAQPage",mainEntity:null===W||void 0===W?void 0:W.faqs.map((function(e){return{"@type":"Question",name:e.question,acceptedAnswer:{"@type":"Answer",text:(0,l.s9)(e.answer)}}}))}})),X=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("title",{children:j||"Exly"}),(0,o.jsx)("meta",{property:"og:title",content:j||"Exly"}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),y&&(0,o.jsx)("meta",{property:"og:description",content:y}),y&&(0,o.jsx)("meta",{name:"description",content:y})]}),$=(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("title",{children:(null===U||void 0===U?void 0:U.title)||"Exly"}),(0,o.jsx)("meta",{property:"og:title",content:(null===U||void 0===U?void 0:U.title)||"Exly"}),(0,o.jsx)("meta",{property:"og:type",content:"website"}),(null===U||void 0===U?void 0:U.description)&&(0,o.jsx)("meta",{property:"og:description",content:U.description}),(null===U||void 0===U?void 0:U.description)&&(0,o.jsx)("meta",{name:"description",content:U.description})]});return(0,o.jsxs)(o.Fragment,{children:[(0,o.jsxs)(s.default,{children:[F?$:X,(0,o.jsx)("link",{href:M,rel:"stylesheet"}),E?(0,o.jsx)("meta",{property:"og:video",content:E}):null,S?(0,o.jsxs)(o.Fragment,{children:[(0,o.jsx)("meta",{property:"og:image",content:S}),(0,o.jsx)("meta",{property:"og:image:type",content:"image/png"})]}):null,(0,o.jsx)("link",{rel:"icon",type:"image/png",href:(0,m.m)({creatorSiteFaviconImgSrc:C,hostName:D})}),(0,o.jsx)("style",{dangerouslySetInnerHTML:{__html:H}}),null===N||void 0===N?void 0:N(),(0,o.jsx)("meta",{name:"viewport",content:"width=device-width, initial-scale=1, shrink-to-fit=no"}),O?(0,u.ZP)(O):null,(0,p.zc)({position:_.h.HEAD,customCodes:R})]}),Object.values(K).map((function(e){return e?(0,o.jsx)(a.default,{strategy:"afterInteractive",dangerouslySetInnerHTML:{__html:JSON.stringify(e)||"{}"},type:"application/ld+json"},JSON.stringify(e)):null})),(w||[]).map((function(e){return(0,o.jsx)(a.default,{strategy:"afterInteractive",src:e},e)})),(0,o.jsx)(v.Z,{accessToken:I?T:null===L||void 0===L?void 0:L.custom_ga_token})]})}},42319:function(e,t,n){"use strict";n.d(t,{B:function(){return i},k:function(){return s}});var o=n(67294),r=n(93797),i=(0,o.createContext)({wordUsedForCourseExam:(0,r.kk)(),wordUsedForCourseQuestion:(0,r.sL)(),hostData:{},flatItemData:{},loadingBookingDetails:!1,isNPSEnabled:!1,isDesktop:!1,courseData:{automatic_lesson_completion_enabled:!1},lessons:[]}),s=function(){return(0,o.useContext)(i)}},41798:function(e,t,n){"use strict";n.d(t,{Q:function(){return o}});var o=n(14543).checkIsDefined},6988:function(e,t,n){"use strict";n.d(t,{z:function(){return o}});
1var o={VIDEO:1,IMAGE:2,HTML:3,DOWNLOAD:4,HYPERLINK:5,PDF:6,EMBED:7,EXAM:8,FORM:9,LIVE_SESSION:10,PROGRESS_TRACKING_FORM:11}},5156:function(e,t,n){"use strict";n.d(t,{x:function(){return o},f:function(){return r}});var o={IMMEDIATELY:1,ON_SPECIFIC_DATE:2,POST_START_DAYS:3,POST_PREVIOUS_COMPLETION:4,POST_INSTALLMENTS:5},r={lockedLesson:"MMM dd, yyyy h:mm a"}},93797:function(e,t,n){"use strict";n.d(t,{sZ:function(){return x},Fr:function(){return g},_3:function(){return j},Hs:function(){return C},sz:function(){return S},UJ:function(){return E},S6:function(){return O},Hb:function(){return w},gC:function(){return k},sL:function(){return T},kk:function(){return I},lG:function(){return P}});var o=n(82211),r=n(92809),i=n(67294),s=n(42319),a=n(57304),l=n(85442),c=n(38981),u=n(51250),d=n(32535),_=n(11071),p=n(82644),m=n(49226),f=n(49058),v=n(5156);function h(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h(Object(n),!0).forEach((function(t){(0,r.Z)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var x=function(){var e=(0,m.I0)(),t=(0,s.k)().selectedListingId,n=(0,i.useState)(!1),o=n[0],r=n[1];return{fetching:o,refetchContentDetails:function(){r(!0),e((0,a.PH)(a.aI.UTILS.API_CALL,{apiActionType:l.C1.FETCH_CONTENT_DETAILS,urlArgs:{listingId:t},headers:{"jwt-token":(0,u.fJ)()},finallyCallback:function(){r(!1)}}))},refetchCertificateDetails:function(n){var o=(n||{}).successCallback;e((0,a.PH)(a.aI.UTILS.API_CALL,{apiActionType:l.C1.GET_COURSE_CERTIFICATE_DETAILS,urlArgs:{listingUuid:t},headers:{"jwt-token":(0,u.fJ)()},successCallback:o}))}}},g=function(e){var t=e.uuid,n=e.isCompleted,o=e.watchedDuration,r=e.totalDuration,i=e.successCallBack,s=e.finallyCallBack,a=l.KD[l.C1.UPDATE_RECORDED_CONTENT_MARK],d=(0,u.fJ)(),_={};return o&&(_.watched_duration=o),r&&(_.total_duration=r),(0,c.o)({url:a.url(),method:a.method,payload:b({recorded_content_uid:t,is_completed:n},_),configOptions:{shouldRelogin:!0},headers:{"jwt-token":d}}).then((function(e){var t=(null===e||void 0===e?void 0:e.data)||{},n=t.status,o=t.data,r=t.message;if(200!==n)throw new Error(r);return i&&i(),o})).catch((function(e){return(0,f.H)({error:e,severity:"critical",when:"updateRecordedContentResumeState"})})).finally((function(){return null===s||void 0===s?void 0:s()}))},j=function(e){var t=e.subCategoryUuid,n=e.successCallBack,o=l.KD[l.C1.MARK_RECORDED_CONTENT_LESSON_COMPLETE],r=(0,u.fJ)();return(0,c.o)({url:o.url(),method:o.method,payload:{sub_category_uuid:t},configOptions:{shouldRelogin:!0},headers:{"jwt-token":r}}).then((function(e){var t=(null===e||void 0===e?void 0:e.data)||{},o=t.status,r=t.data,i=t.message;if(200!==o)throw new Error(i);return n&&n(),r})).catch((function(e){return(0,f.H)({error:e,severity:"critical",when:"markLessonComplete"})}))},C=function(e){var t=e.courseData,n=e.hostData,i=0;if(null===t||void 0===t||!t.categories)return{};var s=t.unlocking_type,a=t.has_lesson_unlocking,l=s===v.x.POST_PREVIOUS_COMPLETION,c=s===v.x.IMMEDIATELY,u=k(n),p=N(n);return Object.assign.apply(Object,[{}].concat((0,o.Z)(t.categories.map((function(e,n,s){var m=S({courseData:t,section:e,previousSection:n>0?s[n-1]:void 0});return Object.assign.apply(Object,[{}].concat((0,o.Z)(e.sub_categories.map((function(o,f,h){var x,g=!(null===e||void 0===e||!e.installment_details)&&!e.installment_details.is_unlocked,j=!c&&(g||m||y({subCategoryItem:o,previousSubcategory:f>0?h[f-1]:void 0,previousCategoryItem:n>0?s[n-1]:void 0,courseData:t})),C="";return l?C="Complete ".concat((0,d.gY)(u,h.length)," from previous ").concat((0,d.gY)(p,t.categories.length)," to unlock this ").concat(a?u:p,"."):null!==o&&void 0!==o&&o.unlock_time?C=(0,_.w)(null===o||void 0===o?void 0:o.unlock_time,v.f.lockedLesson):m?C=(0,_.w)(null===e||void 0===e?void 0:e.unlock_time,v.f.lockedLesson):null!==e&&void 0!==e&&null!==(x=e.installment_details)&&void 0!==x&&x.scheduled_datetime&&(C=(0,_.w)(e.installment_details.scheduled_datetime,v.f.lockedLesson)),i+=1,(0,r.Z)({},o.uuid,b(b({},o),{},{lessonNumber:i,isLocked:j,lockedMessage:C,installment_details:e.installment_details,sectionUuid:e.uuid}))})))))})))))},y=function(e){var t=e.subCategoryItem,n=e.previousCategoryItem,o=e.previousSubcategory,r=e.courseData,i=r.unlocking_type,s=r.has_lesson_unlocking;return i===v.x.POST_PREVIOUS_COMPLETION?s&&o?!!o&&!o.is_completed:!!n&&!n.is_completed:!(null===t||void 0===t||!t.unlock_time)&&(0,p.Z)((0,_.w)(t.unlock_time).valueOf()||0)},S=function(e){var t=e.section,n=e.previousSection;return e.courseData.unlocking_type===v.x.POST_PREVIOUS_COMPLETION?!!n&&!n.is_completed:!(null===t||void 0===t||!t.unlock_time)&&(0,p.Z)((0,_.w)(t.unlock_time).valueOf()||0)},E=function(e){var t=e.fileUrl;return"/pdfjs-3.7.107-dist/web/viewer.html?file=".concat(t)},O=function(e,t,n){return((null===n||void 0===n?void 0:n.custom_word_for_course)||(null===e||void 0===e?void 0:e.custom_word_for_course)||t||"course").toLowerCase()},w=function(e,t){return((null===t||void 0===t?void 0:t.custom_word_for_course_mark)||(null===e||void 0===e?void 0:e.custom_word_for_course_mark)||"mark").toLowerCase()},N=function(e,t){return((null===t||void 0===t?void 0:t.custom_word_for_course_section)||(null===e||void 0===e?void 0:e.custom_word_for_course_section)||"section").toLowerCase()},k=function(e,t){return((null===t||void 0===t?void 0:t.custom_word_for_course_lesson)||(null===e||void 0===e?void 0:e.custom_word_for_course_lesson)||"lesson").toLowerCase()};function T(e,t){return((null===t||void 0===t?void 0:t.custom_word_for_course_question)||(null===e||void 0===e?void 0:e.custom_word_for_course_question)||"question").toLowerCase()}function I(e,t){return((null===t||void 0===t?void 0:t.custom_word_for_course_exam)||(null===e||void 0===e?void 0:e.custom_word_for_course_exam)||"exam").toLowerCase()}var P=function(e){null!==e&&void 0!==e&&e.redirect_url&&(window.location.href=null===e||void 0===e?void 0:e.redirect_url)}},37749:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/questionnaire",function(){return n(89358)}])},41837:function(e){e.exports={"word-break":"Questionnaire_word-break__22bKQ",plainScrollbar:"Questionnaire_plainScrollbar__3CKQq",plainScrollbarWBorder:"Questionnaire_plainScrollbarWBorder__2P-6M",themedScrollbar:"Questionnaire_themedScrollbar__32IxX",root:"Questionnaire_root__3cksm",loaderContainer:"Questionnaire_loaderContainer__HQJAF",body:"Questionnaire_body__G0LoF",rootWrapper:"Questionnaire_rootWrapper__1oTqd",loading:"Questionnaire_loading__2GZaf"}},25305:function(e){e.exports={textContainerStyles:"PoweredByExly_textContainerStyles__HCn7l"}}
1,11356:function(e){e.exports={root:"QuestionnaireConfirmationModal_root__2449B",modalRoot:"QuestionnaireConfirmationModal_modalRoot__21Lyv",content:"QuestionnaireConfirmationModal_content__2Ke-l",header:"QuestionnaireConfirmationModal_header__ZAdRN",title:"QuestionnaireConfirmationModal_title__18R-f",footer:"QuestionnaireConfirmationModal_footer__3-mD6",button:"QuestionnaireConfirmationModal_button__DmaI4",secondaryBtn:"QuestionnaireConfirmationModal_secondaryBtn__bJ-Vq",info:"QuestionnaireConfirmationModal_info__3EGbA",bold_info:"QuestionnaireConfirmationModal_bold_info__3aJYW",close:"QuestionnaireConfirmationModal_close__347wu",time:"QuestionnaireConfirmationModal_time__1NqHH",loader:"QuestionnaireConfirmationModal_loader__2bjt_"}},16015:function(e){e.exports={"word-break":"CheckboxGroup_word-break__15_v7",plainScrollbar:"CheckboxGroup_plainScrollbar__2kcsk",plainScrollbarWBorder:"CheckboxGroup_plainScrollbarWBorder__3FgER",themedScrollbar:"CheckboxGroup_themedScrollbar__1kToe",root:"CheckboxGroup_root__1sbs7",checkboxRoot:"CheckboxGroup_checkboxRoot__3HoS3",label:"CheckboxGroup_label__1C7Ro"}},31981:function(e){e.exports={"word-break":"RadioGroup_word-break__agUwX",plainScrollbar:"RadioGroup_plainScrollbar__1d6X1",plainScrollbarWBorder:"RadioGroup_plainScrollbarWBorder__3bHHo",themedScrollbar:"RadioGroup_themedScrollbar__sEQbl",radioRoot:"RadioGroup_radioRoot__2zrde",label:"RadioGroup_label__3rO4j"}},65738:function(e){e.exports={"word-break":"assessment_word-break__2OcvX",plainScrollbar:"assessment_plainScrollbar__ZtJ26",plainScrollbarWBorder:"assessment_plainScrollbarWBorder__1LgH3",themedScrollbar:"assessment_themedScrollbar__-YJWB",root:"assessment_root__1w5qL",body:"assessment_body__3zs3k",marks:"assessment_marks__3rvQN",note:"assessment_note__1_K8g",label:"assessment_label__3NoIU",countdown:"assessment_countdown__1b_ip",time:"assessment_time__3pJ0s",timeContainer:"assessment_timeContainer__eq9mK",footerExly:"assessment_footerExly__1-9v1",exlyLogo:"assessment_exlyLogo__26sQj"}},95122:function(e){e.exports={title:"Hint_title__4jyma"}},73809:function(e){e.exports={"word-break":"HintBubble_word-break__cFloq",plainScrollbar:"HintBubble_plainScrollbar__2DdrF",children:"HintBubble_children__1dFP7",plainScrollbarWBorder:"HintBubble_plainScrollbarWBorder__3a1DV",themedScrollbar:"HintBubble_themedScrollbar__P4erI",fab:"HintBubble_fab__29E60",fabStartIcon:"HintBubble_fabStartIcon__rTTzO",tooltip:"HintBubble_tooltip__1y1AU",arrow:"HintBubble_arrow__JDkvN",closeFab:"HintBubble_closeFab__1KDPO",popper:"HintBubble_popper__2iruF"}},90245:function(e){e.exports={"word-break":"result_word-break__32x5S",plainScrollbar:"result_plainScrollbar__dOtU2",plainScrollbarWBorder:"result_plainScrollbarWBorder__1s21b",themedScrollbar:"result_themedScrollbar__2tMy4",root:"result_root__2q4nQ",resultBadge:"result_resultBadge__2MY1J",passed:"result_passed__1zRpe",failed:"result_failed__3ZcOr",pending:"result_pending__2Qr_m",pendingInfo:"result_pendingInfo__2URin",firstContainer:"result_firstContainer__TzZmX",subtitle:"result_subtitle__1chvC",info:"result_info__3oZqE",info_text:"result_info_text__3X-2w",exlyFooter:"result_exlyFooter__2cg9o",exlyLogo:"result_exlyLogo__25o2X",info_icon:"result_info_icon__3G4sU",formInfo:"result_formInfo__2Yqku",card:"result_card__3RA2Z",viewReport:"result_viewReport__2uOJA",reportEndIcon:"result_reportEndIcon__2aSxN",pendingHeading:"result_pendingHeading__2z_92"}},72717:function(e){e.exports={"word-break":"startScreen_word-break__2c9Xi",plainScrollbar:"startScreen_plainScrollbar__2tdyA",plainScrollbarWBorder:"startScreen_plainScrollbarWBorder__1nSJM",themedScrollbar:"startScreen_themedScrollbar__VVB_j",root:"startScreen_root__3Dkld",dataPanel:"startScreen_dataPanel__2L1DI",dataPanelPara:"startScreen_dataPanelPara__2xUd5",dataPanelSpan:"startScreen_dataPanelSpan__2kbWf",firstContainer:"startScreen_firstContainer__tbkP6",cta:"startScreen_cta__2pSDh",list:"startScreen_list__3acAN",listCard:"startScreen_listCard__1sfzh",secondaryListContainer:"startScreen_secondaryListContainer__3cnkN",correctAnswer:"startScreen_correctAnswer__36tpB",incorrectAnswer:"startScreen_incorrectAnswer__2gf13",loader:"startScreen_loader__3SPa2",footerExly:"startScreen_footerExly__3ttif",exlyLogo:"startScreen_exlyLogo__1n_20"}},63198:function(e){e.exports={root:"ExitModal_root__3Z-sA",modalRoot:"ExitModal_modalRoot__2VHxV",content:"ExitModal_content__36zy6",header:"ExitModal_header__3i1JO",title:"ExitModal_title__2grER",footer
1:"ExitModal_footer__3_ryo",button:"ExitModal_button__1Ypsa",secondaryBtn:"ExitModal_secondaryBtn__2jDfC",warning:"ExitModal_warning__3t0PZ",info:"ExitModal_info__2fCTQ",infoSubtext:"ExitModal_infoSubtext__D81XP"}},96367:function(e){e.exports={"word-break":"footer_word-break__1a0iW",plainScrollbar:"footer_plainScrollbar__1FEOl",plainScrollbarWBorder:"footer_plainScrollbarWBorder__1yssQ",themedScrollbar:"footer_themedScrollbar__3fsh6",root:"footer_root__2fs6B",startPageRoot:"footer_startPageRoot__1Pn-s",cta:"footer_cta__rGOW8",retakeCta:"footer_retakeCta__33gIa",prevQuestionCta:"footer_prevQuestionCta__ZlFPU",navigationContainer:"footer_navigationContainer__3tp7a",backBtn:"footer_backBtn__Xn4hb",nextBtn:"footer_nextBtn__2tLrA",loader:"footer_loader__1mNiH",fullWidth:"footer_fullWidth__2CD00",quetionSwitch:"footer_quetionSwitch__2ejP-",questionSwitchIcon:"footer_questionSwitchIcon__2vV_4"}},90032:function(e){e.exports={"word-break":"helperComponents_word-break__v1BVI",plainScrollbar:"helperComponents_plainScrollbar__3YNDE",plainScrollbarWBorder:"helperComponents_plainScrollbarWBorder__1Jg-I",themedScrollbar:"helperComponents_themedScrollbar__K6pek",card:"helperComponents_card__UBC4n",card__children:"helperComponents_card__children__1WwsC",noIconMarginTop:"helperComponents_noIconMarginTop__120dF",card__label:"helperComponents_card__label__3kN4l",numberRating:"helperComponents_numberRating__jjugr",selectedRating:"helperComponents_selectedRating__1hIi3",uploadCta:"helperComponents_uploadCta__2JHES",uploadCtaWrapper:"helperComponents_uploadCtaWrapper__39KY8",uploadProgressWrapper:"helperComponents_uploadProgressWrapper__5vjd0",uploadProgress:"helperComponents_uploadProgress__RsZkB",uploadedFile:"helperComponents_uploadedFile__1LxE6",error:"helperComponents_error__lyWmJ",bookIcon:"helperComponents_bookIcon__1rh8V",textInputRoot:"helperComponents_textInputRoot__36yS8",textInputSubLabel:"helperComponents_textInputSubLabel__2ZR7q",textInputError:"helperComponents_textInputError__3AFjW",animateRoot:"helperComponents_animateRoot__16HJz",deleteCta:"helperComponents_deleteCta__3KXLV"}},83592:function(e){e.exports={"word-break":"QuestionnaireNavbar_word-break__1EPJK",plainScrollbar:"QuestionnaireNavbar_plainScrollbar__jjtVy",plainScrollbarWBorder:"QuestionnaireNavbar_plainScrollbarWBorder__DrfYM",themedScrollbar:"QuestionnaireNavbar_themedScrollbar__26_H-",nav:"QuestionnaireNavbar_nav__3RoRl",ctaWrapper:"QuestionnaireNavbar_ctaWrapper__1BTsW",backButton:"QuestionnaireNavbar_backButton__20Urz",loader:"QuestionnaireNavbar_loader__2B69k",submitCta:"QuestionnaireNavbar_submitCta__1KU2y",time:"QuestionnaireNavbar_time__34lRs",timeContainer:"QuestionnaireNavbar_timeContainer__3QPUa",rightContainer:"QuestionnaireNavbar_rightContainer__iQisu"}},61464:function(e){"use strict";e.exports=next}},function(e){e.O(0,[5675,6740,5772,2715,2919,564,7213,9676,3251,7699,1074,9774,2888,179],(function(){return t=37749,e(e.s=t);var t}));var t=e.O();_N_E=t}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.