1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4587],{4587:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return A}});var o=n(557437),r=n(830166),s=n(697784),u=n(777e3),i=n(902265),a=n(321036),l=n(799376),c=n(656292);let d=()=>{let e=(0,l.usePathname)(),t=(0,c.bU)(),{push:n}=(0,l.useRouter)(),o=encodeURIComponent("/".concat(t).concat(e)),r="/users/login?redirect=".concat(o);return{redirectToLogin:async()=>{n(r)},loginRedirectLink:r}};var m=n(570544);let h=e=>{let{t}=(0,s.G)("translation"),n=(0,a.k)(),{loginRedirectLink:r}=d(),{confirmMessage:u,label:l,onClick:c,children:h,disabled:p,rendering:f,forceRenderWhenNotLoggedIn:g=!1}=e,v=!n&&g||f,[w,x]=(0,i.useMemo)(()=>n?[void 0,h]:[u||t("goToLogin"),l||t("loginToContinues")],[n,l,u,h,t]),Q=async e=>{if(!n){window.location.href=r;return}c&&c(e)};return(0,o.jsx)(m.HButton,{...e,disabled:n&&p,rendering:v,confirmMessage:w,onClick:Q,children:x})};var p=n(636760),f=n.n(p),g=n(557271),v=n(974388),w=n(190193),x=n(305411),Q=n(777290),b=n(798001),y=n.n(b),S=n(265331),E=n(207154),I=n(691291),N=e=>{let{t}=(0,s.G)("translation"),{t:n}=(0,s.G)("validation-error"),{push:r}=(0,l.useRouter)(),a=(0,c.bU)(),{dateTime:d,examShiftId:m,rendering:p=!0,forceRenderWhenNotLoggedIn:b=!1,className:N,contest:T}=e,{canDoExam:_,setCanDoExam:A,setOpenBuyAttempts:F}=(0,I.ih)(),{examShifts:C,examShiftUser:L,regulations:P,contestStartAt:j,contestEndAt:M}=T||{},{nextExamShiftTime:U,nextExamShiftEndTime:G,entryLateMinutes:R}=(0,E.M)({examShifts:C,examShiftUser:L,regulations:P,contestStartAt:j,contestEndAt:M}),q=(0,S.useHandleGetQuotaUserContest)(),k=(0,Q.L7)(),D=(0,S.useHandleFetchExamForUser)({examShiftId:m,contest:T,contestId:null==T?void 0:T.id}),O=async()=>{try{await document.documentElement.requestFullscreen()}catch(e){console.error(e)}await r("/".concat(a,"/exam-shift/").concat(m))},Z=(0,v.TF)(m||""),H=(0,i.useMemo)(()=>(0,E.X9)({nextExamShiftTime:U}),[U,G,R]),z=e=>{var t,o,r;if((null===(t=e.error)||void 0===t?void 0:t.message)==="dont_have_enough_attempts"){F(!0);return}g.ZP.error({message:n(null===(o=e.error)||void 0===o?void 0:o.message)}),k(n(null===(r=e.error)||void 0===r?void 0:r.message))},B=async e=>{let{forceEnterExam:t=!1}=e;(t||m&&_)&&await w.FormUtils.submitForm({examShiftId:m,examId:Z.id},{method:"put",endpoint:x.H.generateNodeEndpoint("contests/".concat(null==T?void 0:T.id,"/user-enter-new-exam")),onGotSuccess:()=>{O()},onGotError:z})},V=async()=>{if(m){if(!(null==Z?void 0:Z.id)){await D({onGotError:z,onGotSuccess:B});return}_||await q({contestId:T.id,examShiftId:m,onGotSuccess:async e=>{e&&(A(!0),B({forceEnterExam:!0}))},onGotError:z}),B({})}};return d?(0,o.jsx)(u.Z,{date:d,BeforeCountdownComponent:()=>(0,o.jsx)(h,{type:"primary",className:f()(y()["button-enter-exam"],N),disabled:!0,rendering:p,forceRenderWhenNotLoggedIn:b,children:t("enterTheExam")}),AfterCountdownComponent:()=>(0,o.jsx)(h,{type:"primary",className:f()(y()["button-enter-exam"],N),onClick:V,disabled:!H,rendering:p,forceRenderWhenNotLoggedIn:b,children:t("enterTheExam")})}):null};let T=(0,r.default)(()=>Promise.resolve().then(n.bind(n,265331)),{loadableGenerated:{webpack:()=>[265331]},ssr:!1}),_=(0,r.default)(()=>n.e(81580).then(n.bind(n,181580)),{loadableGenerated:{webpack:()=>[181580]},ssr:!1});var A=e=>{let{dateTime:t,className:n,isBigSizeClock:r,inactiveWhenHover:i,title:a,showHelperBtn:l,examShiftId:c,renderCountDownAfter:d=!1,rendering:m=!0,contest:p,allowAutoFetchExam:f=!1}=e,{t:g}=(0,s.G)("translation");return m&&t?(0,o.jsxs)(o.Fragment,{children:[f&&(0,o.jsx)(T,{contest:p,contestId:null==p?void 0:p.id,examShiftId:c}),(0,o.jsx)(u.Z,{date:t,BeforeCountdownComponent:e=>(0,o.jsx)(_,{...e,className:n,isBigSizeClock:r,inactiveWhenHover:i,title:a,showHelperBtn:l,helperBtn:(0,o.jsx)(h,{type:"primary",className:"mt-12",forceRenderWhenNotLoggedIn:!0,children:g("notifyMe")})}),AfterCountdownComponent:e=>(0,o.jsx)(_,{...e,className:n,isBigSizeClock:r,inactiveWhenHover:i,title:a,rendering:d,showHelperBtn:l,helperBtn:(0,o.jsx)(N,{contest:p,dateTime:t,examShiftId:c})})})]}):null}},691291:function(e,t,n){"use strict";n.d(t,{ih:function(){return s}}),n(557437);var o=n(902265);n(799376),n(6523),n(555833),n(305411),n(697784),n(970911),n(777290),n(987656),n(59125),n(644996),n(9289);let r=o.createContext({canDoExam:!1,setCanDoExam:()=>{},openBuyAttempts:!1,setOpenBuyAttempts:()=>{}}),s=()=>o.useContext(r)},265331:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return S},useHandleFetchExamForUser:function(){return y},useHandleGetQuotaUserContest:function(){return b}});var o=n(557437),r=n(902265),s=n(259128),u=n.n(s),i=n(770764),a=n.n(i),l=n(568575),c=n(557271),d=n(190193),m=n(305411),h=n(321036),p=n(974388),f=n(777290),g=n(697784),v=n(773389),w=n(751076),x=n(207154),Q=n(691291);let b=()=>{let{setOpenBuyAttempts:e}=(0,Q.ih)();return async t=>{let{contestId:n,examShiftId:o,onGotSuccess:r,onGotError:s}=t;await d.FormUtils.submitForm({examShiftId:o},{method:"put",endpoint:m.H.generateNodeEndpoint("contests/".concat(n,"/check-user-can-do-exam")),onGotSuccess:r,onGotError:t=>{var n;(null===(n=t.error)||void 0===n?void 0:n.message)==="dont_have_enough_attempts"&&e(!0),null==s||s(t)}})}},y=e=>{let{contestId:t,examShiftId:n,contest:o}=e,{examShifts:s,examShiftUser:i,regulations:y,contestStartAt:S,contestEndAt:E}=o||{},{setCanDoExam:I}=(0,Q.ih)(),{nextExamShiftTime:N,nextExamShiftEndTime:T,entryLateMinutes:_}=(0,x.M)({examShifts:s,examShiftUser:i,regulations:y,contestStartAt:S,contestEndAt:E}),A=b(),F=(0,h.k)(),C=(0,p.mh)(),L=(0,p.TF)(n||""),P=(0,l.I0)(),j=(0,f.Wb)(),M=(0,f.L7)(),U=(0,f.Ug)(),{t:G}
1=(0,g.G)("validation-error"),R=(0,r.useMemo)(()=>(0,x.X9)({nextExamShiftTime:N}),[N,T,_]);return(0,r.useCallback)(async e=>{let{onGotError:o,onGotSuccess:r}=e;if(!(R&&t&&F&&a()(L)&&n&&!(null==j?void 0:j.errorMessage))){(null==j?void 0:j.errorMessage)&&(c.ZP.error({message:null==j?void 0:j.errorMessage}),U());return}await d.FormUtils.submitForm({},{endpoint:m.H.generateNodeEndpoint("contests/".concat(t,"/get-exam-for-user")),hiddenValues:d.FormUtils.createSearchHiddenValues({examShiftId:n}),onGotSuccess:async e=>{let s=u()(e);P((0,v.Te)({response:s,documentId:s.id,viewMode:w.Ip.ALL_QUESTION,numberOfPlayQuestions:10,playerType:w.gt.EXAM,childrenNamespace:"children",testEndAt:T})),C({examId:s.id,examShiftId:n,endAt:T}),await A({contestId:t,examShiftId:n,onGotSuccess:async t=>{t&&(I(!0),null==r||r({...e,forceEnterExam:!0}))},onGotError:t=>{var n;M(G(null===(n=e.error)||void 0===n?void 0:n.message)),null==o||o(t)}})},onGotError:e=>{var t;M(G(null===(t=e.error)||void 0===t?void 0:t.message)),null==o||o(e)}})},[C,P,t,T,R,L,F,n,null==j?void 0:j.errorMessage])};var S=(0,r.memo)(e=>{let{examShiftId:t}=e,n=(0,p.TF)(t||""),s=y(e);return(0,r.useEffect)(()=>{s({})},[null==n?void 0:n.id]),(0,r.useEffect)(()=>{let e=setInterval(()=>{s({})},2e4);return()=>{e&&clearInterval(e)}},[s]),(0,o.jsx)(o.Fragment,{})})},537158:function(e,t,n){"use strict";n.d(t,{A8:function(){return N},At:function(){return g},Dw:function(){return y},LI:function(){return b},Ot:function(){return I},QV:function(){return m},Rw:function(){return T},Vv:function(){return E},b$:function(){return x},fl:function(){return h},it:function(){return f},q6:function(){return Q},vL:function(){return w},vz:function(){return p}});var o=n(902265),r=n(568575),s=n(75408),u=n(458122),i=n(751076),a=n(773389),l=n(453491);let c=()=>(0,o.useContext)(u.J),d=()=>c().documentId,m=()=>c().questionPlayerForm,h=e=>{let t=d();return(0,r.v9)(n=>n.questionPlayers[e||t]||{})},p=e=>{let t=h(e);return(null==t?void 0:t.viewMode)||""},f=e=>h(e).testDocument||{},g=e=>h(e).showResult,v=()=>{let{questionPlayerForm:e}=c();return s.default.useWatch("answers",e)||{}},w=e=>v()[e]||{},x=e=>{var t;return null===(t=v()[e])||void 0===t?void 0:t.correctAnswer},Q=e=>{let t=m();return s.default.useWatch(["answers",e,"isMarked"],t)},b=e=>{let t=(0,r.I0)(),n=d();return o=>{t((0,a.cF)({documentId:e||n,showResult:o}))}},y=()=>h().result,S=e=>{let{allQuestions:t,singleQuestionList:n,result:o,showResult:r,isPreview:s}=h(e),u={questions:t,singleQuestionList:n};return s?u:r?{questions:(null==o?void 0:o.questions)||[],singleQuestionList:(null==o?void 0:o.singleQuestionList)||[]}:u},E=()=>{let e=m(),t=g();return n=>{if(t)return;let o=["answers",n,"isMarked"],r=null==e?void 0:e.getFieldValue(o);null==e||e.setFieldValue(o,!r)}},I=e=>t=>{null==e||e.setFieldValue("focusQuestionId",t)},N=e=>{let t=(0,r.I0)(),n=d();return o=>{t((0,a.Od)({documentId:e||n,response:o}))}},T=()=>{let{currentSingleQuestionIndex:e,viewMode:t=i.Ip.ALL_QUESTION}=h(),{questions:n,singleQuestionList:o}=S(),r=[];return t===i.Ip.ALL_QUESTION?r=n:t===i.Ip.SINGLE_QUESTION&&(r=[o[e]]),l.x.getPlayableQuestions(r,{childrenNamespace:"children"})}},458122:function(e,t,n){"use strict";n.d(t,{J:function(){return u}});var o=n(557437),r=n(75408),s=n(902265);let u=(0,s.createContext)({documentId:""});t.Z=e=>{let{children:t,documentId:n,form:i}=e,[a]=r.default.useForm(),l=i||a;return(0,s.useEffect)(()=>()=>{l.resetFields()},[]),(0,o.jsx)(u.Provider,{value:{documentId:n,questionPlayerForm:l},children:t})}},773389:function(e,t,n){"use strict";n.d(t,{FX:function(){return h},Od:function(){return g},Te:function(){return p},_A:function(){return w},cF:function(){return v},m7:function(){return m}});var o=n(297281),r=n(209628),s=n(242185),u=n(259128),i=n.n(u),a=n(900124),l=n(751076),c=n(453491);let d=(0,o.oM)({name:"questionPlayers",initialState:{},reducers:{resetQuestionPlayerData:()=>({}),initQuestionPlayerData(e,t){let{payload:n}=t,{documentId:o,viewMode:r,numberOfPlayQuestions:s,playerType:u,showQuestionResult:a=!0,showQuestionScore:l=!0,showUserScoreForEachQuestion:d=!0,showSummarizeResult:m=!0,notShowRightAnswer:h=!1,testEndAt:p,isPreview:f=!1,testContents:g,alwaysShowQuestionResult:v=!1,showMarkButton:w=!0,showQuestionRationale:x=!0}=n;if(!e[o]&&(e[o]={viewMode:r,showResult:!1,allQuestions:[],numberOfPlayQuestions:s,playerType:u,testDocument:{},singleQuestionList:[],currentSingleQuestionIndex:0,showQuestionResult:a,showQuestionScore:l,showUserScoreForEachQuestion:d,showSummarizeResult:m,notShowRightAnswer:h,testEndAt:p,isPreview:f,alwaysShowQuestionResult:v,showMarkButton:w,showQuestionRationale:x},Array.isArray(g)&&g.length>0)){let{questions:t,singleQuestionList:n}=c.x.getStandardizedQuestionsAndSingleQuestionList(i()(g));e[o].allQuestions=t,e[o].singleQuestionList=n}},onFetchTestDocumentSuccess(e,t){let{payload:n}=t,{response:o,documentId:r,viewMode:s,numberOfPlayQuestions:u,playerType:i,childrenNamespace:a="children",showQuestionResult:l=!0,showQuestionScore:d=!0,showUserScoreForEachQuestion:m=!0,showSummarizeResult:h=!0,notShowRightAnswer:p=!1,testEndAt:f,isPreview:g=!1,alwaysShowQuestionResult:v=!1,showMarkButton:w=!0,showQuestionRationale:x=!0}=n;
1e[r]||(e[r]={viewMode:s,showResult:!1,allQuestions:[],numberOfPlayQuestions:u,playerType:i,testDocument:{},singleQuestionList:[],currentSingleQuestionIndex:0,showQuestionResult:l,showQuestionScore:d,showUserScoreForEachQuestion:m,showSummarizeResult:h,notShowRightAnswer:p,isPreview:g,alwaysShowQuestionResult:v,showMarkButton:w,showQuestionRationale:x});let{questions:Q,singleQuestionList:b}=c.x.getStandardizedQuestionsAndSingleQuestionList(o[a]);e[r].testEndAt=f,e[r].allQuestions=Q,e[r].testDocument=o,e[r].showQuestionResult=l,e[r].showQuestionScore=d,e[r].showUserScoreForEachQuestion=m,e[r].singleQuestionList=b,e[r].isPreview=g,e[r].showQuestionRationale=x},updateShowResultConfigs(e,t){let{payload:n}=t,{showQuestionScore:o,showQuestionResult:r,showUserScoreForEachQuestion:s,showSummarizeResult:u,documentId:i,showQuestionRationale:a}=n;e[i].showQuestionResult=r,e[i].showQuestionScore=o,e[i].showUserScoreForEachQuestion=s,e[i].showSummarizeResult=u,e[i].showQuestionRationale=a},updateQuestionViewMode(e,t){let{payload:n}=t,{documentId:o,viewMode:r}=n;r===l.Ip.SINGLE_QUESTION&&(e[o].currentSingleQuestionIndex=0),e[o].viewMode=r},setQuestionPlayerResult(e,t){let{payload:n}=t,{documentId:o,response:r}=n;r.totalQuestions>0&&(e[o].result=c.x.getNewQuestionPlayerResultFromTestRecord(r))},updateShowResult(e,t){let{payload:n}=t,{documentId:o,showResult:r}=n;e[o]&&(e[o].showResult=!!r)},onFetchTestRecordSuccess(e,t){let{payload:n}=t,{response:o,documentId:r}=n;o&&(o.totalQuestions>0&&(e[r].result=c.x.getNewQuestionPlayerResultFromTestRecord(o)),e[r].showResult=!0)},setCurrentSingleQuestionIndex(e,t){let{payload:n}=t,{documentId:o,currentSingleQuestionIndex:r}=n;e[o].currentSingleQuestionIndex=r},removeQuestionPlayer(e,t){let{payload:n}=t,{documentId:o}=n;delete e[o]}},extraReducers:e=>{e.addMatcher(e=>e.type===r.I2&&"questionPlayers"===e.key,(e,t)=>{let n=t.payload;return(0,s.Z)({rehydratedState:n,endAtNamespace:"testEndAt"}),{...e,...n}})}}),{resetQuestionPlayerData:m,initQuestionPlayerData:h,onFetchTestDocumentSuccess:p,updateQuestionViewMode:f,setQuestionPlayerResult:g,updateShowResult:v,onFetchTestRecordSuccess:w,removeQuestionPlayer:x,updateShowResultConfigs:Q,setCurrentSingleQuestionIndex:b}=d.actions,y=(0,a.X)({key:"questionPlayers"});t.ZP=(0,r.OJ)(y,d.reducer)},751076:function(e,t,n){"use strict";var o,r,s,u,i,a;n.d(t,{AA:function(){return l},AQ:function(){return s},Ip:function(){return o},gt:function(){return r}}),(u=o||(o={})).ALL_QUESTION="all-question",u.SINGLE_QUESTION="single-question",(i=r||(r={})).EXAM="exam",i.QUIZ="quiz",(a=s||(s={})).BAD="bad",a.NORMAL="normal",a.GOOD="good";let l={bad:{className:"player-score-bad",iconName:"face-sad",titleTranslationKey:"questionScore.bad.title",subTitleTranslationKey:"questionScore.bad.subTitle"},normal:{className:"player-score-normal",iconName:"face-normal",titleTranslationKey:"questionScore.normal.title",subTitleTranslationKey:"questionScore.normal.subTitle"},good:{className:"player-score-good",iconName:"face-happy",titleTranslationKey:"questionScore.good.title",subTitleTranslationKey:"questionScore.good.subTitle"}}},453491:function(e,t,n){"use strict";n.d(t,{x:function(){return a}});var o=n(683600),r=n(259128),s=n.n(r),u=n(305411),i=n(751076);let a={getPlayableQuestions:(e,t)=>{let{part:n,group:r,childrenNamespace:s="children",result:u=[]}=t;if(!(null==e?void 0:e.length))return u;for(let t=0;t<(null==e?void 0:e.length);t++){if((0,o.isExamPart)(e[t])){let n=e[t],o=n[s];a.getPlayableQuestions(o,{part:n,childrenNamespace:s,result:u});continue}if((0,o.isQuestionGroup)(e[t])){let o=e[t],r=o[s];a.getPlayableQuestions(r,{part:n,group:o,childrenNamespace:s,result:u});continue}u.push({...e[t],part:n,group:r})}return u},getFetchTestEndpoint(e){let{playerType:t,documentId:n}=e;return t===i.gt.QUIZ?u.H.endpointWithApiDomain("/quizes/".concat(n)):t===i.gt.EXAM?u.H.endpointWithApiDomain("/exams/".concat(n)):""},getFormSubmitEndpoint:e=>e===i.gt.QUIZ?u.H.endpointWithApiDomain("/online-courses/submit-exercise"):"",handleLoopEachTestContent(e){let{testContents:t,result:n}=e;if(Array.isArray(t)&&0!==t.length)for(let e of t){if((0,o.isExamPart)(e)||(0,o.isQuestionGroup)(e)){this.handleLoopEachTestContent({testContents:e.children,result:n});continue}e.singleQuestionIndex=n.singleQuestionList.length,n.questionPosition=n.questionPosition+1,e.position=n.questionPosition,n.singleQuestionList.push(e)}},getStandardizedQuestionsAndSingleQuestionList(e){let t={singleQuestionList:[],questionPosition:0};return this.handleLoopEachTestContent({testContents:e,result:t}),{...t,questions:e}},getQuestionIdAttributeForHTML:e=>"question-item-".concat(e),getNextSingleQuesitonIndex:e=>e+1,getPreviouSingleQuesitonIndex:e=>Math.max(e-1,0),getNewQuestionPlayerResultFromTestRecord(e){let t=s()(e.questions||[]);
1return{...e,...this.getStandardizedQuestionsAndSingleQuestionList(t),percentScore:Math.round(100*e.numberOfCorrectAnswers/e.totalQuestions)}}}},59125:function(e,t,n){"use strict";n.d(t,{L:function(){return p}});var o=n(557437),r=n(902265),s=n(520577),u=n(636760),i=n.n(u),a=n(887510),l=n(181660);let c={isStableCurrency:e=>l.StableCurrencies.includes(e)};var d=n(290241),m=n.n(d);let h=e=>{let{number:t,typeInput:n,stringMode:o,normalizedDecimalNumber:r}=e,s=t;if(null!=s){switch(n){case"float":s=a.NumberSharingUtils.toFixed(t,r);break;case"integer":s=a.NumberSharingUtils.toFixed(t)}o||(s=Number(s))}return s},p=e=>{let{onChange:t,onBlur:n,typeInput:u="float",decimalNumber:l=8,support:d,stringMode:p=!1,disabled:f=!1,containerStyle:g,currency:v,...w}=e,x=(0,r.useMemo)(()=>!!v&&c.isStableCurrency(v),[v]),Q=(0,r.useMemo)(()=>x?a.DEFAULT_DECIMAL_PLACES:l,[l,x]),b=(0,r.useCallback)(e=>a.NumberSharingUtils.formatCurrency(e,x),[x]);return(0,o.jsxs)("div",{className:i()("h-input-number",m()["input-number-wrapper"],{[m().large]:"large"===e.size,"ant-input-number-disabled":f}),style:g,children:[(0,o.jsx)(s.Z,{...w,formatter:b,parser:a.NumberSharingUtils.removeComma,onChange:e=>{let n=h({number:e,typeInput:u,stringMode:p,normalizedDecimalNumber:Q});t&&t(n)},onBlur:e=>{let t=h({number:e.target.value,typeInput:u,stringMode:p,normalizedDecimalNumber:Q});n&&n(t)},disabled:f}),d&&(0,o.jsx)("div",{className:i()("h-input-number-support",m().support),children:d})]})}},777e3:function(e,t,n){"use strict";var o=n(557437),r=n(902265),s=n(667594),u=n(636760),i=n.n(u),a=n(697784),l=n(727458),c=n.n(l);let d=e=>{let{days:t,hours:n,minutes:s,seconds:u,className:l}=e,{t:d}=(0,a.G)("translation"),m=[{value:n,label:d("hours")},{value:s,label:d("minutes")}];t?m.unshift({value:t,label:d("days")}):m.push({value:u,label:d("seconds")});let h=m.map(e=>({...e,value:e.value<10?"0".concat(e.value):e.value}));return(0,o.jsx)("div",{className:i()(c()["count-down"],l),children:(0,o.jsx)("div",{className:"flex justify-center items-centers mr-4 gap-8 countdown-wrapper",children:h.map((e,t)=>(0,o.jsxs)(r.Fragment,{children:[(0,o.jsxs)("div",{className:c()["countdown-item"],children:[(0,o.jsx)("p",{className:i()(c()["countdown-item-value"],"countdown-value",{"-ml-20":9<e.value&&e.value<20}),children:e.value}),(0,o.jsx)("p",{className:i()(c()["countdown-item-label"],"countdown-label"),children:e.label})]}),t<h.length-1&&(0,o.jsx)("span",{className:i()(c()["countdown-item-separator"],"separator"),children:" : "})]},"countdown-".concat(t)))})})};t.Z=e=>{let{BeforeCountdownComponent:t,AfterCountdownComponent:n,itemClassName:u}=e,i=(0,r.useCallback)(e=>{let{days:r,hours:s,minutes:i,seconds:a}=e;return r||s||i||a?t?(0,o.jsx)(t,{...e}):(0,o.jsx)(d,{...e,className:u}):n?(0,o.jsx)(n,{...e}):(0,o.jsx)(d,{...e,className:u})},[n,t]);return(0,o.jsx)(s.ZP,{zeroPadTime:2,...e,renderer:i})}},970911:function(e,t,n){"use strict";n.d(t,{i:function(){return a}});var o=n(557271),r=n(568575),s=n(697784),u=n(321036),i=n(123558);let a=()=>{let e=(0,r.I0)(),t=(0,u.k)(),{t:n}=(0,s.G)("translation");return r=>{let{item:s,isSendNotification:u=!1,onSuccess:a}=r;t?e((0,i.uW)({item:s,onSuccess:a})):e((0,i.Q0)({item:s})),u&&o.ZP.success({message:n("success"),placement:"bottomRight"})}}},321036:function(e,t,n){"use strict";n.d(t,{k:function(){return r}});var o=n(681300);function r(){return(0,o.a)().isAuthenticated}},974388:function(e,t,n){"use strict";n.d(t,{TF:function(){return l},mh:function(){return i}});var o=n(568575),r=n(956241),s=n(537158);let u=()=>(0,o.v9)(e=>e.common.mapExamShiftToExam||{}),i=()=>{let e=(0,o.I0)();return t=>{let{examShiftId:n,examId:o,endAt:s}=t;e((0,r.Vb)({examShiftId:n,examId:o,endAt:s}))}},a=e=>u()[e]||{},l=e=>{let{examId:t}=a(e);return(0,s.it)(t)}},290241:function(e){e.exports={wrapper:"h-input_wrapper__HhYbY",support:"h-input_support__DSZtn",large:"h-input_large__KZjh6"}},727458:function(e){e.exports={"count-down":"h-countdown_count-down__0ie3C","countdown-item":"h-countdown_countdown-item__S30PN","countdown-item-value":"h-countdown_countdown-item-value__5NjrP","countdown-item-separator":"h-countdown_countdown-item-separator__WMsjS","countdown-item-label":"h-countdown_countdown-item-label__t8Nnf"}}}]);
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.