1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];if(null!=r)for(var a in r)r.hasOwnProperty(a)&&(e[a]=r[a])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:K7X9M2P4R8W5N3Q6":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="a7d295cc-9f37-4c1a-80ef-ba65f28435e1",e._sentryDebugIdIdentifier="sentry-dbid-a7d295cc-9f37-4c1a-80ef-ba65f28435e1")}catch(e){}}();import{B as e,E as t,W as r,_ as a,b as s,g as i,ht as u,it as m,kt as o,n,pt as l,v as d,w as p,wt as w,y as c}from"./zhjhzy1kcm9w.DA_5RF-L.js";import{E as f,I as h,i as y}from"./zglzdalzda.Dol7pjGD.js";import{Gn as g,In as b,pt as x}from"./sw1hz2jmywnl.BzsUItMa.js";import{r as z}from"./bmf2lxrlcw.p97MTl_w.js";import{t as _}from"./dxnlqxnlqxbp.C2FSbK-a.js";import{t as v}from"./rwxmb2fkzxi.DhLhNaZz.js";import{t as q}from"./rwxcdxr0b24.BF3L9He_.js";import{t as k}from"./dxnlu29yzq.BQ87ftFK.js";import{t as j}from"./rwxdyxxdyxjk.DwgWuIW-.js";import{t as P}from"./r3jhcgixotiw.CiSXZpAU.js";import{t as M}from"./rwxrdwxrdwl6.DCLCIc9n.js";import{t as I}from"./rwxhb0jhy2s.DSBGv5PI.js";import{t as Q}from"./rwxtdgnuzxh0.D1TUWtSB.js";var R=x({endpoint:"api.premium-quiz.check-completed",input:f({}),output:f({completedPremiumQuiz:y(),premiumReportUrl:h()})}),E={class:"card__title h6 tw-my-5"},S={class:"huge:tw-mb-0"},T=t({__name:"PremiumQuizCompletionAlert",setup(t){const s=_(),i=k(),{trans_en:l}=b(),{redirect:f}=z(),h=u(!1),y=u("");function x(){f(y.value)}return e(()=>{i.waitForSetup().then(()=>{!async function(){(new s).action("check-premium-quiz-completion").silently().request({endpoint:R}).then(({data:e})=>{y.value=e.premiumReportUrl,h.value=e.completedPremiumQuiz}).catch(g)}()})}),(e,t)=>(r(),d(n,{name:"slide-down"},{default:m(()=>[h.value?(r(),d(j,{key:0,class:"card--completed p-sm tw-mt-20 last:tw-mb-20 medium:last:tw-mb-40",size:"md",color:"green","has-shadow":"","line-pos":"left",css:{card_body:"huge:tw-flex huge:tw-items-center huge:tw-justify-between",card_actions:"tw-mt-10 medium:tw-mt-20 huge:tw-mt-0 tw-flex tw-gap-10 medium:tw-gap-20"}},{actions:m(()=>[p(q,{color:"green",next:"",size:"sm",text:w(l)("View your report","orders.emails.personality-report.button"),onClick:x},null,8,["text"])]),default:m(()=>[p(Q,{completed:"",class:"tw-flex"}),a("h2",E,o(w(l)("Youâve already completed this test in the past.","results.career-suite.job-preferences.completed.title")),1),a("p",S,o(w(l)("See what your results reveal about your personality inside your Premium Report. Or, retake the test below.","results.premium-quiz.retake-alert.p")),1)]),_:1})):c("",!0)]),_:1}))}}),D={class:"supplementarytest tw-mb-40 medium:tw-mb-60 large:tw-mb-80"},O={key:1},U={class:"quiz__header tw-mb-20 tw-bg-gray-02 tw-pt-10 dark:tw-bg-ds-medium medium:tw-mb-40"},A={class:"header__wrap sp-wrap"},B={class:"header__content tw-max-w-[860px]"},C={class:"header__title tw-mb-10 tw-mt-5 tw-text-font-h3 tw-leading-font-h3 tw-tracking-font-h3 medium:tw-my-20 medium:tw-mt-30 medium:tw-text-font-h1-medium medium:tw-leading-font-h1-medium medium:tw-tracking-font-h1-medium huge:tw-mt-30 huge:tw-text-font-h1-huge huge:tw-leading-font-h1-huge huge:tw-tracking-font-h1-huge"},F={key:0,class:"p-lg tw-mb-20"},G={class:"header__bg"},K=t({__name:"PremiumReportQuizPage",setup(t){const{trans_en:m}=b(),n=_(),f=u([]),h=i(()=>f.value.map(e=>e.text)),y=u(1),x=l({loaded:!1,loading:!0,submitting:!1,submitted:!1,error:null});function z(){x.loading=!0,x.error=null,(new n).silently().action("fetch-premium-quiz-items").route("api.premium-quiz.items").then(({data:e})=>{f.value=e,x.loaded=!0}).catch(e=>g(e,e=>x.error=e)).finally(()=>x.loading=!1)}function q(e){return{questions:e.questions.map((e,t)=>({...f.value[t],answer:e.answer}))}}return e(()=>{z()}),(e,t)=>(r(),s("div",D,[x.loaded?(r(),s("div",O,[a("header",U,[a("div",A,[p(I,{class:"tw-mt-5 medium:tw-mt-10"}),a("div",B,[a("h1",C,o(w(m)("Supplementary Test","results.premium-quiz.title")),1),0===y.value?(r(),s("p",F,o(w(m)("This test will reveal additional insights about your personality. Please answer honestly and spontaneously for the most accurate results. It should take about 10 minutes to complete.","results.premium-quiz.intro")),1
1)):c("",!0)]),p(T)]),a("div",G,[p(P,{class:"lower"})])]),p(M,{class:"sp-wrap tw-mb-60 medium:tw-mb-80",questions:h.value,"questions-per-set":5,"build-submit-payload":q,"quiz-name":w(m)("Supplementary Test","results.premium-quiz.title"),"storage-name":"user.premium-quiz","submit-action":"submit-premium-quiz-answers","submit-route":"api.premium-quiz.save","analytics-module":"premiumQuiz","onUpdate:currentSet":t[0]||(t[0]=e=>y.value=e)},null,8,["questions","quiz-name"])])):(r(),d(v,{key:"quiz-loading",loaded:x.loaded,loading:x.loading,error:x.error,onRetry:z},null,8,["loaded","loading","error"]))]))}});export{K as default};
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.