1import{j as e}from"./vendor-motion-y2GBIm2E.js";import{bw as P,bx as R}from"./index-CdrU8BCu.js";import{u as h}from"./useLocation-DKxzpfs_.js";import{J as j}from"./JobSeeker-CJ_aImBU.js";import{W as c}from"./WelcomePartner-CF2G3JYd.js";import"./vendor-visuals-DtviRWvI.js";import"./vendor-client-only-qMMRVEEC.js";import"./WelcomeVerification-BO75-R-Y.js";import"./Logo-Cb1LLz2L.js";const g=({verificationCode:r})=>{const{verificationCode:m,role:f}=P({strict:!1}),o=r||m,t=h(),u=typeof t.search=="string"?t.search:new URLSearchParams(Object.entries(t.search||{}).reduce((n,[d,a])=>(a!=null&&(n[d]=String(a)),n),{})).toString(),i=(new URLSearchParams(u).get("role")||f||"").toLowerCase().trim(),s=(i.startsWith("role=")?i.slice(5):i).replace(/[-\s]/g,"_"),l=!s||["partner","partner_user","org_user","organization_user"].includes(s),p=["driver","jobseeker","job_seeker"].includes(s);return l?e.jsx(c,{verificationCode:o||""}):p?e.jsx(j,{verificationCode:o||""}):e.jsx(c,{verificationCode:o||""})};function v({verificationCode:r}){return e.jsx(g,{verificationCode:r})}function W(){const{verificationCode:r}=R.useParams();return e.jsx(v,{verificationCode:r})}export{W as component};
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.