1"use strict";(self.webpackChunkmain_revamp=self.webpackChunkmain_revamp||[]).push([[296],{296:($,v,l)=>{l.r(v),l.d(v,{SimulationPage:()=>V});var g=l(467),o=l(2306),f=l(3129),S=l(419),h=l(9417),k=l(7248),r=l(3285),_=l(3273),x=l(4620),j=l(8244),w=l(3292),E=l(5352),F=l(9804),e=l(2898);function y(i,p){if(1&i&&(e.j41(0,"div",6)(1,"p",12),e.EFF(2,"Time remaining"),e.k0s(),e.j41(3,"p",13),e.EFF(4),e.k0s()()),2&i){const t=e.XpG();e.R7$(3),e.AVh("text-red-200",t.globalRemainingSec()<300),e.R7$(),e.SpI(" ",t.formatTime(t.globalRemainingSec())," ")}}function I(i,p){1&i&&(e.j41(0,"div",9),e.EFF(1,"Loading\u2026"),e.k0s())}function T(i,p){if(1&i){const t=e.RV6();e.j41(0,"div",10)(1,"p",14),e.EFF(2),e.k0s(),e.j41(3,"button",15),e.bIt("click",function(){o.eBV(t);const n=e.XpG();return o.Njj(n.goDashboard())}),e.EFF(4," Back to dashboard "),e.k0s()()}if(2&i){const t=e.XpG().error();e.R7$(2),e.JRh(t)}}function C(i,p){if(1&i&&e.EFF(0),2&i){const t=e.XpG(2);e.SpI(" Start Simulation (",t.startCountdown(),"s) ")}}function R(i,p){1&i&&e.EFF(0," Start Simulation ")}function P(i,p){if(1&i){const t=e.RV6();e.j41(0,"div",16)(1,"div",17)(2,"div",18),o.qSk(),e.j41(3,"svg",19),e.nrm(4,"circle",20)(5,"polyline",21),e.k0s()(),o.joV(),e.j41(6,"div",3)(7,"p",22),e.EFF(8,"30 minutes"),e.k0s(),e.j41(9,"p",23),e.EFF(10,"Total time"),e.k0s()()(),e.j41(11,"div",17)(12,"div",18),o.qSk(),e.j41(13,"svg",19),e.nrm(14,"path",24)(15,"path",25),e.k0s()(),o.joV(),e.j41(16,"div",3)(17,"p",22),e.EFF(18),e.k0s(),e.j41(19,"p",23),e.EFF(20,"Job-specific"),e.k0s()()(),e.j41(21,"div",17)(22,"div",18),o.qSk(),e.j41(23,"svg",19),e.nrm(24,"path",26)(25,"path",27),e.k0s()(),o.joV(),e.j41(26,"div",3)(27,"p",22),e.EFF(28,"Text responses"),e.k0s(),e.j41(29,"p",23),e.EFF(30,"Descriptive"),e.k0s()()()(),e.j41(31,"div",28)(32,"h4",29),o.qSk(),e.j41(33,"svg",30),e.nrm(34,"circle",20)(35,"path",31)(36,"path",32),e.k0s(),e.EFF(37," What to expect "),e.k0s(),o.joV(),e.j41(38,"ul",33)(39,"li"),e.EFF(40),e.k0s(),e.j41(41,"li"),e.EFF(42,"Write a detailed response for each, walking through your approach"),e.k0s(),e.j41(43,"li"),e.EFF(44,"Responses are scored by AI and reviewed by the hiring team"),e.k0s(),e.j41(45,"li"),e.EFF(46,"Focus on problem-solving, communication and judgement"),e.k0s()()(),e.j41(47,"div",34)(48,"div",35)(49,"div",36),o.qSk(),e.j41(50,"svg",19),e.nrm(51,"path",37)(52,"path",38),e.k0s()()(),o.joV(),e.j41(53,"h3",39),e.EFF(54,"A note on our process & fairness"),e.k0s(),e.j41(55,"p",40),e.EFF(56," We want to see your unique approach to each situation. Write your responses on your own, without AI assistants or outside help, so we get a true read on how you'd handle these moments at work. "),e.k0s(),e.j41(57,"p",41),e.EFF(58," Thank you for keeping our process fair for everyone. We're looking forward to seeing your work. "),e.k0s(),e.j41(59,"label",42)(60,"input",43),e.bIt("change",function(n){o.eBV(t);const a=e.XpG();return o.Njj(a.disclaimerAccepted.set(n.target.checked))}),e.k0s(),e.j41(61,"span",44),e.EFF(62,"I confirm that I will complete this simulation honestly and without unauthorized assistance."),e.k0s()()(),e.j41(63,"button",45),e.bIt("click",function(){o.eBV(t);const n=e.XpG();return o.Njj(n.beginSimulation())}),o.qSk(),e.j41(64,"svg",19),e.nrm(65,"polygon",46),e.k0s(),e.nVh(66,C,1,1)(67,R,1,0),e.k0s()}if(2&i){const t=e.XpG();e.R7$(18),e.SpI("",t.scenarios().length," scenarios"),e.R7$(22),e.SpI("Real workplace scenarios tailored to ",t.jobTitle()||"this role"),e.R7$(20),e.Y8G("checked",t.disclaimerAccepted()),e.R7$(3),e.Y8G("disabled",!t.canStart()),e.R7$(3),e.vxM(t.startCountdown()>0?66:67)}}function M(i,p){1&i&&(e.j41(0,"div",11)(1,"div",47),o.qSk(),e.j41(2,"svg",48),e.nrm(3,"circle",49),e.k0s(),o.joV(),e.j41(4,"p",50),e.EFF(5,"Preparing your scenarios\u2026"),e.k0s(),e.j41(6,"p",51),e.EFF(7,"This usually takes a few seconds."),e.k0s()()())}function A(i,p){1&i&&(o.qSk(),e.j41(0,"svg",69),e.nrm(1,"circle",70),e.k0s(),e.EFF(2," Submitting\u2026 "))}function D(i,p){1&i&&(e.EFF(0," Save & Next "),o.qSk(),e.j41(1,"svg",71),e.nrm(2,"path",72),e.k0s())}function O(i,p){1&i&&(e.EFF(0," Submit Simulation "),o.qSk(),e.j41(1,"svg",71),e.nrm(2,"path",73),e.k0s())}function B(i,p){if(1&i&&(e.j41(0,"p",68),e.EFF(1),e.k0s()),2&i){const t=e.XpG(2);e.R7$(),e.JRh(t.error())}}function W(i,p){if(1&i){const t=e.RV6();
1e.SS7(0),e.j41(1,"div",52)(2,"div",53)(3,"span",54),e.EFF(4),e.k0s(),e.j41(5,"span",23),e.EFF(6),e.k0s()(),e.j41(7,"div",55),e.nrm(8,"div",56),e.k0s()(),e.j41(9,"div",57)(10,"p",58),e.EFF(11,"Context"),e.k0s(),e.j41(12,"p",59),e.EFF(13),e.k0s(),e.j41(14,"p",58),e.EFF(15,"Challenge"),e.k0s(),e.j41(16,"p",60),e.EFF(17),e.k0s()(),e.j41(18,"label",61)(19,"span",62),e.EFF(20,"Your response"),e.k0s(),e.j41(21,"textarea",63),e.bIt("ngModelChange",function(n){o.eBV(t);const a=e.r8f(0),c=e.XpG();return o.Njj(c.setResponse(a.id,n))}),e.k0s(),e.j41(22,"span",51),e.EFF(23),e.k0s()(),e.j41(24,"div",64)(25,"p",65),o.qSk(),e.j41(26,"svg",66),e.nrm(27,"circle",20)(28,"path",31)(29,"path",32),e.k0s(),e.EFF(30," Take your time. There's no going back once you advance. "),e.k0s(),o.joV(),e.j41(31,"button",67),e.bIt("click",function(){o.eBV(t);const n=e.XpG();return o.Njj(n.saveAndNext())}),e.nVh(32,A,3,0)(33,D,3,0)(34,O,3,0),e.k0s()(),e.nVh(35,B,2,1,"p",68)}if(2&i){const t=e.XpG(),s=e.bH3(t.current());e.R7$(4),e.Lme(" Scenario ",t.currentIndex()+1," of ",t.scenarios().length," "),e.R7$(2),e.SpI("",t.progress(),"% answered"),e.R7$(2),e.xc7("width",t.progress(),"%"),e.R7$(5),e.JRh(s.context),e.R7$(4),e.JRh(s.challenge),e.R7$(4),e.Y8G("ngModel",t.responseFor(s.id))("disabled",t.submitting()),e.R7$(2),e.SpI("",t.responseLength(s.id)," characters"),e.R7$(8),e.Y8G("disabled",t.submitting()||0===t.responseLength(s.id)),e.R7$(),e.vxM(t.submitting()?32:t.currentIndex()<t.scenarios().length-1?33:34),e.R7$(3),e.vxM(t.error()?35:-1)}}function G(i,p){if(1&i){const t=e.RV6();e.j41(0,"div",74)(1,"div",75),o.qSk(),e.j41(2,"svg",76),e.nrm(3,"path",77)(4,"path",78),e.k0s()(),o.joV(),e.j41(5,"h2",79),e.EFF(6,"Simulation complete"),e.k0s(),e.j41(7,"p",80),e.EFF(8," Thanks for taking the time. Your responses have been submitted to the hiring team for review. "),e.k0s()(),e.j41(9,"div",81)(10,"div",82)(11,"p",83),e.EFF(12),e.k0s(),e.j41(13,"p",84),e.EFF(14,"Scenarios completed"),e.k0s()(),e.j41(15,"div",82)(16,"p",83),e.EFF(17),e.nI1(18,"number"),e.k0s(),e.j41(19,"p",84),e.EFF(20,"Minutes spent"),e.k0s()()(),e.j41(21,"p",85),e.EFF(22," The hiring team will be in touch on next steps. "),e.k0s(),e.j41(23,"button",86),e.bIt("click",function(){o.eBV(t);const n=e.XpG();return o.Njj(n.goDashboard())}),e.EFF(24," Back to dashboard "),e.k0s()}if(2&i){const t=e.XpG();e.R7$(12),e.JRh(t.scenarios().length),e.R7$(5),e.JRh(e.i5U(18,2,(1800-t.globalRemainingSec())/60,"1.0-0"))}}let V=(()=>{class i{route=(0,o.WQX)(S.nX);router=(0,o.WQX)(S.Ix);store=(0,o.WQX)(r.Firestore);functions=(0,o.WQX)(x.ah);candidates=(0,o.WQX)(j.W);notify=(0,o.WQX)(w.m);analytics=(0,o.WQX)(E.Z);proctoring=(0,o.WQX)(F.w);phase=(0,o.vPA)("brief");loading=(0,o.vPA)(!0);submitting=(0,o.vPA)(!1);error=(0,o.vPA)(null);scenarios=(0,o.vPA)([]);responses=(0,o.vPA)({});currentIndex=(0,o.vPA)(0);result=(0,o.vPA)(null);jobTitle=(0,o.vPA)("");department=(0,o.vPA)("");appId=(0,o.vPA)(null);disclaimerAccepted=(0,o.vPA)(!1);startCountdown=(0,o.vPA)(5);canStart=(0,f.EW)(()=>this.disclaimerAccepted()&&this.startCountdown()<=0);startCountdownHandle;globalRemainingSec=(0,o.vPA)(1800);globalTimerHandle;GLOBAL_TIME_LIMIT_SEC=1800;sessionId=null;scenarioStartMs=null;startedAtMs=null;loadScenariosPromise=null;progress=(0,f.EW)(()=>{const t=this.scenarios(),s=t.filter(n=>(this.responses()[n.id]??"").trim().length>0).length;return t.length>0?Math.round(s/t.length*100):0});current=(0,f.EW)(()=>this.scenarios()[this.currentIndex()]??null);ngOnInit(){var t=this;return(0,g.A)(function*(){const s=t.route.snapshot.paramMap.get("appId");if(!s)return t.error.set("Missing application reference"),void t.loading.set(!1);t.appId.set(s),t.analytics.log("simulation_start",{appId:s}),t.startCountdownHandle=window.setInterval(()=>{const a=t.startCountdown();if(a<=0)return t.startCountdownHandle&&clearInterval(t.startCountdownHandle),void(t.startCountdownHandle=void 0);t.startCountdown.set(a-1)},1e3);let n={};try{const a=(0,r.doc)(t.store,"applications",s),c=yield(0,r.getDoc)(a);if(!c.exists())throw new Error("Application not found");n=c.data(),t.jobTitle.set(n.jobTitle??"this role"),t.department.set(n.department??"General");const d=n.simulationResult;d&&(t.result.set({overallScore:d.score??0,analysis:d.analysis??"",scenarioScores:d.scenarioScores??[]}),t.phase.set("done"))}catch(a){return t.error.set(a instanceof Error?a.message:"Failed to load simulation"),void t.loading.set(!1)}t.loading.set(!1),t.loadScenariosPromise=t.loadScenarios(s,n)})()}loadScenarios(t,s){var n=this;return(0,g.A)(function*(){try{const a=s.simulationBundle;if(a?.scenarios?.length)return void n.scenarios.set(a.scenarios);const c=s.jobId;if(!c)throw new Error("Application missing jobId");let d=yield(0,r.getDoc)((0,r.doc)(n.store,"positions",c));d.exists()||(d=yield(0,r.getDoc)((0,r.doc)(n.store,"centralpositions",c)));const u=d.exists()?d.data():{},b=(yield(0,x.Qg)(n.functions,"generateAiJobSimulation")({positionId:c,department:s.department??"General",positionName:u.name??s.jobTitle,positionDescription:String(u.description??"").replace(/<[^>]+>/g," ").slice(0,2e3),scenarioCount:4})).data;if(!b?.scenarios?.length)throw new Error("Simulation generation failed");n.scenarios.set(b.scenarios),yield(0,r.updateDoc)((0,r.doc)(n.store,"applications",t),{simulationBundle:b})}catch(a){n.error.set(a instanceof Error?a.message:"Failed to load simulation")}})()}ngOnDestroy(){this.stopGlobalTimer(),this.proctoring.active.set(!1),this.startCountdownHandle&&clearInterval(this.startCountdownHandle)}setResponse(t,s){this.responses.update(n=>({...n,[t]:s}))}responseFor(t){return this.responses()[t]??""}responseLength(t){return this.responseFor(t).length}beginSimulation(){var t=this;return(0,g.A)(function*(){if(!t.canStart())return;const s=t.appId();if(s){t.phase.set("test"),t.proctoring.active.set(!0);try{if(t.loadScenariosPromise&&(yield t.loadScenariosPromise),0===t.scenarios().length)throw new Error("Scenarios are still loading. Please try again.");const n=t.candidates.profile(),a=n?`${n.firstName??""} ${n.lastName??""}`.trim():"",c=n?.email??"",d=yield(0,r.addDoc)((0,r.collection)(t.store,"ai-job-simulations"),{applicationId:s,candidateName:a,candidateEmail:c,positionName:t.jobTitle(),department:t.department(),scenarios:t.scenarios(),startTime:(new Date).toISOString(),totalTimeSpent:0,completed:!1,createdAt:(0,_.O5)()});t.sessionId=d.id,yield(0,r.updateDoc)((0,r.doc)(t.store,"applications",s),{aiJobSimulationSessionId:d.id}),t.startedAtMs=Date.now(),t.scenarioStartMs=Date.now(),t.startGlobalTimer()}catch(n){t.error.set(n instanceof Error?n.message:"Could not start the simulation"),t.phase.set("brief")}}})()}saveAndNext(){var t=this;return(0,g.A)(function*(){const s=t.current();if(!s)return;const n=(t.responses()[s.id]??"").trim();if(!n)return void t.error.set("Please give a response before continuing.");t.error.set(null);const a=t.scenarioStartMs?Math.round((Date.now()-t.scenarioStartMs)/1e3):0;if(s.candidateResponse=n,s.responseTime=a,t.sessionId)try{yield(0,r.updateDoc)((0,r.doc)(t.store,"ai-job-simulations",t.sessionId),{scenarios:t.scenarios(),updatedAt:(0,_.O5)()})}catch(c){console.warn("Failed to save scenario progress:",c)}t.currentIndex()<t.scenarios().length-1?(t.currentIndex.update(c=>c+1),t.scenarioStartMs=Date.now()):yield t.submit()})()}submit(){var t=this;return(0,g.A)(function*(){const s=t.appId();if(s){t.stopGlobalTimer(),t.submitting.set(!0),t.error.set(null);try{const n=t.scenarios().map(m=>m.candidateResponse?m:{...m,candidateResponse:(t.responses()[m.id]??"").trim(),responseTime:m.responseTime??0});t.scenarios.set(n);const a=t.startedAtMs?Math.round((Date.now()-t.startedAtMs)/1e3):null;t.sessionId&&(yield(0,r.updateDoc)((0,r.doc)(t.store,"ai-job-simulations",t.sessionId),{scenarios:n,endTime:(new Date).toISOString(),totalTimeSpent:a,completed:!0,updatedAt:(0,_.O5)()}));const u=(yield(0,x.Qg)(t.functions,"scoreAiJobSimulation")({scenarios:n,positionName:t.jobTitle(),department:t.department()})).data;t.sessionId&&(yield(0,r.updateDoc)((0,r.doc)(t.store,"ai-job-simulations",t.sessionId),{aiScore:u.overallScore,sce
1narioScores:u.scenarioScores,aiAnalysis:u.analysis,scoredAt:(0,_.O5)()})),yield(0,r.updateDoc)((0,r.doc)(t.store,"applications",s),{simulationResponses:n.map(m=>({id:m.id,response:m.candidateResponse})),simulationResult:{score:u.overallScore,scenarioScores:u.scenarioScores,analysis:u.analysis,completedAt:(new Date).toISOString()},aiJobSimulationScore:u.overallScore,jobTestResult:u.overallScore,aiJobSimulationCompleted:!0,aiJobSimulationDate:(new Date).toISOString(),aiJobSimulationScoreDate:(new Date).toISOString()}),t.result.set(u),t.analytics.log("simulation_complete",{appId:t.appId()??"none",score:u?.overallScore??-1}),t.notify.success("Simulation submitted."),t.phase.set("done"),t.proctoring.active.set(!1)}catch(n){t.error.set(n instanceof Error?n.message:"Submit failed")}finally{t.submitting.set(!1)}}})()}startGlobalTimer(){this.stopGlobalTimer(),this.globalRemainingSec.set(this.GLOBAL_TIME_LIMIT_SEC),this.globalTimerHandle=window.setInterval(()=>{if(this.globalRemainingSec.update(t=>t-1),this.globalRemainingSec()<=0){this.stopGlobalTimer();const t=this.current();if(t){const s=(this.responses()[t.id]??"").trim(),n=this.scenarioStartMs?Math.round((Date.now()-this.scenarioStartMs)/1e3):0;t.candidateResponse=s,t.responseTime=n}this.submit()}},1e3)}stopGlobalTimer(){this.globalTimerHandle&&(clearInterval(this.globalTimerHandle),this.globalTimerHandle=void 0)}formatTime(t){return t<=0?"0:00":`${Math.floor(t/60)}:${(t%60).toString().padStart(2,"0")}`}goDashboard(){this.router.navigate(["/dashboard"])}static \u0275fac=function(s){return new(s||i)};static \u0275cmp=e.VBU({type:i,selectors:[["revamp-simulation"]],decls:17,vars:3,consts:[[1,"min-h-[calc(100vh-4rem)]","bg-orange-50"],[1,"bg-gradient-to-br","from-orange-500","via-orange-400","to-orange-600"],[1,"max-w-3xl","mx-auto","px-4","sm:px-6","py-8","flex","items-start","justify-between","gap-4","flex-wrap"],[1,"min-w-0"],[1,"text-white","drop-shadow-sm",2,"font-size","1.875rem","font-weight","700"],[1,"text-base","text-white/95","mt-2"],[1,"text-right","text-white","shrink-0"],[1,"max-w-3xl","mx-auto","px-4","sm:px-6","py-10"],[1,"bg-white","rounded-2xl","border","border-slate-200","p-6","sm:p-8"],[1,"py-12","text-center","text-sm","text-slate-500"],[1,"py-10","text-center"],[1,"py-16","text-center"],[1,"text-xs","uppercase","tracking-wider","opacity-80",2,"font-weight","600"],[1,"text-2xl","mt-1",2,"font-weight","700"],[1,"text-sm","text-red-600","mb-4"],["type","button",1,"h-10","px-5","rounded-lg","bg-slate-100","hover:bg-slate-200","text-sm","text-slate-700",3,"click"],[1,"grid","grid-cols-1","sm:grid-cols-3","gap-3","mb-6"],[1,"rounded-xl","border","border-slate-200","bg-slate-50","p-4","flex","items-center","gap-3"],[1,"w-10","h-10","rounded-lg","bg-orange-100","text-orange-600","inline-flex","items-center","justify-center","shrink-0"],["fill","none","stroke","currentColor","stroke-width","2","viewBox","0 0 24 24",1,"w-5","h-5"],["cx","12","cy","12","r","10"],["points","12 6 12 12 16 14"],[1,"text-sm","text-slate-900",2,"font-weight","600"],[1,"text-xs","text-slate-500"],["d","M14 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V8z"],["d","M14 2v6h6"],["d","M11 4H4a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2v-7"],["d","m18.5 2.5 3 3L12 15l-4 1 1-4z"],[1,"rounded-xl","border","border-orange-200","bg-orange-50/60","p-4","mb-5"],[1,"text-sm","text-slate-900","mb-2","inline-flex","items-center","gap-2",2,"font-weight","700"],["fill","none","stroke","currentColor","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4","text-orange-500"],["d","M12 16v-4"],["d","M12 8h.01"],[1,"text-sm","text-slate-600","leading-relaxed","list-disc","pl-5","space-y-1.5"],[1,"rounded-2xl","border","border-slate-200","bg-slate-50/60","p-5","mb-5"],[1,"flex","items-center","justify-center","mb-3"],[1,"w-10","h-10","rounded-xl","bg-orange-500/10","text-orange-500","inline-flex","items-center","justify-center"],["d","M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z"],["d","m9 12 2 2 4-4"],[1,"text-center","text-base","text-slate-900","mb-2",2,"font-weight","700"],[1,"text-sm","text-slate-600","leading-relaxed","mb-3"],[1,"text-sm","text-slate-600","leading-relaxed"],[1,"mt-4","flex","items-start","gap-3","cursor-pointer","select-none"],["type","checkbox",1,"mt-0.5","h-4","w-4","accent-orange-500",3,"change","checked"],[1,"text-sm","text-slate-700"],["type","button",1,"w-full","h-12","bg-orange-500","hover:bg-orange-600","disabled:bg-orange-300","disabled:cursor-not-allowed","text-white","rounded-xl","inline-flex","items-center","justify-center","gap-2","transition-colors",2,"font-weight","600",3,"click","disabled"],["points","6 3 20 12 6 21 6 3"],[1,"inline-flex","flex-col","items-center","gap-3","text-slate-500"],["fill","none","viewBox","0 0 24 24",1,"w-8","h-8","animate-spin","text-orange-500"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","3","stroke-dasharray","40 100"],[1,"text-sm"],[1,"text-xs","text-slate-400"],[1,"mb-4"],[1,"flex","items-center","justify-between","mb-2"],[1,"text-xs","text-slate-500",2,"font-weight","600"],[1,"h-1.5","rounded-full","bg-slate-100","overflow-hidden"],[1,"h-full","bg-orange-500"],[1,"mb-4","p-4","rounded-xl","bg-slate-50","border","border-slate-200"],[1,"text-xs","text-slate-400","uppercase","tracking-wider","mb-1",2,"font-weight","500"],[1,"text-sm","text-slate-700","leading-relaxed","mb-3"],[1,"text-sm","text-slate-900","leading-relaxed",2,"font-weight","500"],[1,"block","mb-5"],[1,"text-xs","text-slate-500","mb-1","inline-block",2,"font-weight","500"],["rows","8","placeholder","Walk through how you would approach this\u2026",1,"w-full","px-3","py-2","rounded-lg","border","border-slate-200","focus:border-orange-500","focus:ring-2","focus:ring-orange-200","outline-none","text-sm","resize-y",3,"ngModelChange","ngModel","disabled"],[1,"flex","items-center","justify-between","gap-3","flex-wrap"],[1,"text-xs","text-slate-500","inline-flex","items-center","gap-1.5"],["fill","none","stroke","currentColor","stroke-width","2","viewBox","0 0 24 24",1,"w-3.5","h-3.5"],["type","button",1,"h-10","px-5","rounded-lg","bg-orange-500","hover:bg-orange-600","disabled:bg-orange-300","disabled:cursor-not-allowed","text-white","text-sm","font-semibold","inline-flex","items-center","gap-2",3,"click","disabled"],[1,"mt-3","text-sm","text-red-600"],["fill","none","viewBox","0 0 24 24",1,"w-4","h-4","animate-spin"],["cx","12","cy","12","r","10","stroke","currentColor","stroke-width","2","stroke-dasharray","40 100"],["fill","none","stroke","currentColor","stroke-width","2","viewBox","0 0 24 24",1,"w-4","h-4"],["d","m9 18 6-6-6-6"],["d","M20 6 9 17l-5-5"],[1,"text-center","mb-6"],[1,"w-16","h-16","mx-auto","rounded-2xl","bg-emerald-50","text-emerald-600","flex","items-center","justify-center","mb-4"],["fill","none","stroke","currentColor","stroke-width","2","viewBox","0 0 24 24",1,"w-8","h-8"],["d","M22 11.08V12a10 10 0 1 1-5.93-9.14"],["d","m9 11 3 3L22 4"],[1,"text-lg","text-slate-900","mb-1",2,"font-weight","700"],[1,"text-sm","text-slate-500","max-w-md","mx-auto"],[1,"grid","grid-cols-2","gap-3","mb-6"],[1,"text-center","rounded-xl","border","border-slate-200","bg-slate-50","p-4"],[1,"text-xl","text-slate-900",2,"font-weight","700"],[1,"text-xs","text-slate-500","mt-1"],[1,"text-xs","text-slate-400","text-center","mb-6"],["type","button",1,"w-full","h-11","rounded-lg","bg-orange-500","hover:bg-orange-600","text-white","text-sm","font-semibold",3,"click"]],template:function(s,n){1&s&&(e.j41(0,"div",0)(1,"div",1)(2,"div",2)(3,"div",3)(4,"h1",4),e.EFF(5,"Job simulation"),e.k0s(),e.j41(6,"p",5),e.EFF(7),e.k0s()(),e.nVh(8,y,5,3,"div",6),e.k0s()(),e.j41(9,"div",7)(10,"div",8),e.nVh(11,I,2,0,"div",9)(12,T,5,1,"div",10)(13,P,68,5)(14,M,8,0,"div",11)(15,W,36,14)(16,G,25,5),e.k0s()()()),2&s&&(e.R7$(7),e.SpI(" For ",n.jobTitle()||"this role",". Respond to each scenario as you would in a real workplace. "),e.R7$(),e.vxM("test"===n.phase()?8:-1),e.R7$(3),e.vxM(n.loading()?11:n.error()&&"brief"===n.phase()&&!n.result()?12:"brief"===n.phase()?13:"test"===n.phase()&&0===n.scenarios().length?14:"test"===n.phase()&&n.current()?15:"done"===n.phase()&&n.result()?16:-1))},dependencies:[h.YN,h.me,h.BC,h.vS,k.QX],encapsulation:2,changeDetection:0})}return i})()}}]);
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.