PageSourceSearch

https://app.driversed.com/assets/index-COTUnXkX.js

js driversed.com collected 2026-09-25 18:20:15 UTC 3,956 bytes, 3 lines download raw bytes

1import{G as s,V as b,b8 as _,b7 as S,W as v,y as r,z as f,ag as R,dj as j,D as p,gG as k,gH as C,bh as D,R as N,T as g,gI as y}from"./index-BI0TbYyM.js";import{C as L}from"./index-IyXYJtVa.js";import{u as O}from"./useComponentLog-CVkOwFHS.js";import{a as w,b as x}from"./utils-ve6o4pgz.js";import"./index-DPB_n5mk.js";import"./index-DRErVUvr.js";import"./ProgressBar-COXh5w8C.js";import"./index-TQfKjw0Q.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};e.SENTRY_RELEASE={id:"[email protected]"};var n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="9c3c3661-9458-40d2-a6dc-04e7e7fcbb78",e._sentryDebugIdIdentifier="sentry-dbid-9c3c3661-9458-40d2-a6dc-04e7e7fcbb78")}catch{}})();const A=({"data-test":e,gradedState:n,onClick:l,selected:c,text:d,disabled:u=!1})=>{const m=c??(n&&n!=="missed"&&n!=="incorrect"),t={...m&&!n&&{"data-test":"checkIcon"}};return s.jsxs("button",{"data-test":e,className:b("grit answerButton",v({variant:"field-answer",weight:"semibold"}),c&&"selected",n??""),disabled:u,onClick:l,"aria-label":`Answer Button for ${d}`,children:[s.jsx("span",{children:d}),m?n==="incorrect"?s.jsx(_,{width:24,height:24,"aria-hidden":!0,...t}):s.jsx(S,{width:24,height:24,"aria-hidden":!0,...t}):null]})},B=()=>{O("RemoteTestScreen");const{remotetest:e}=r.getState(),n=f(R),l=f(j),c=w(e.startDate,e.testMinutes),d=x(c),[u,m]=p.useState(d||""),{question:t}=e,I=e.brandId==="FLVS"?"<strong>Security Question!</strong> If you answer this wrong, you will fail, so choose wisely.":`<strong>Security Question!</strong> If you answer this wrong, you will fail and must repurchase, 
2so choose wisely.`,E=e.question.imageUrl;p.useEffect(()=>{t||r.dispatch({type:k})},[t]),p.useEffect(()=>{const a=setInterval(()=>{const i=w(e.startDate,e.testMinutes),o=x(i);m(o),i<=0&&r.dispatch({type:C,payload:{progressId:n,testId:e._id,reasonCode:"EXPIRED"}})},1e3);return()=>{clearInterval(a)}},[u,n]);const T=(a,i)=>{a.preventDefault();const o=t.answerList[i];r.dispatch({type:y,payload:{progressId:n,testId:e._id,questionId:t._id,answerKey:o.key}})};return D(["1","2","3"],a=>{a.preventDefault();const o={1:0,2:1,3:2}[a.key],h=t.answerList[o];h&&r.dispatch({type:y,payload:{progressId:n,testId:e._id,questionId:t._id,answerKey:h.key}})},[]),s.jsxs("div",{className:"grit screen !w-full",children:[s.jsx(L,{currentCount:(e.correctCount+1).toString(),totalCount:e.passCount.toString(),backButton:{text:"Exit",callback:()=>r.dispatch({type:N,payload:{url:"dash.index"}}),hideIcon:!1},timer:u,isTest:!0}),s.jsx("div",{className:"mx-auto flex flex-col p-10 desktop:max-w-[750px] desktop:px-0 desktop:pt-0 desktop:pb-10",children:t?s.jsxs("main",{children:[t.isSecurity?s.jsx(g,{as:"h1",size:"xxlarge","data-test":"securityQuestion",className:"mb-6 text-content-negative-old",dangerouslySetInnerHTML:{__html:I}}):null,t.template==="QUESTION_TEMPLATE_6"?s.jsx("img",{className:"mx-auto my-6 flex h-1/2 w-1/2",src:E,alt:t.question}):null,t.question?s.jsx(g,{as:"h2",size:"xlarge","data-test":"questionTitle",className:b("mb-6",t.isSecurity&&"text-content-negative-old"),dangerouslySetInnerHTML:{__html:t.question}}):null,s.jsx("div",{className:"flex w-full items-center justify-between",children:s.jsx("ul",{className:"answers-list w-full",children:t.answerList.length?t.answerList.map((a,i)=>s.jsx("li",{id:`choice${i}`,className:"list-none [&>button]:max-h-none",children:s.jsx(A,{"data-test":"popupAnswer",text:a.value,onClick:o=>{T(o,i)}})},a.key)):s.jsx("li",{className:"list-none",children:"No answers available"})})}),l?s.jsx("div",{className:"pointer-events-none fixed right-8 bottom-4 left-8 hidden text-center tracking-normal opacity-40 mobile:-z-10 mobile:block mobile:hover:z-10 mobile:hover:opacity-80",children:e.currentCount||e.correctCount||e.wrongCount}):null]}):null})]})};export{B as default};
3//# sourceMappingURL=index-COTUnXkX.js.map

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.