1"use strict";(globalThis.webpackChunkfrontend=globalThis.webpackChunkfrontend||[]).push([[398],{64398(e,t,l){l.r(t),l.d(t,{default:()=>m});var s=l(63362),a=l(13390),c=l(82054),i=l(85692),n=l(75088),o=l(35327),r=l(42489),d=l(70579);const m=()=>{const[e]=(0,s.ok)(),t=(0,s.Zp)(),l=e.get("status")||"pending_approval",m={background_check:{icon:r.A,iconColor:"text-blue-500",bgColor:"bg-blue-50",title:"Background Check in Progress",description:"Your background check has been initiated and is being processed. This typically takes 2-5 business days.",steps:[{label:"Application Submitted",complete:!0},{label:"Background Check",current:!0},{label:"Admin Review",complete:!1},{label:"Approved",complete:!1}]},pending_approval:{icon:n.A,iconColor:"text-amber-500",bgColor:"bg-amber-50",title:"Pending Admin Approval",description:"Your application has been submitted and is awaiting review by the organization administrator.",steps:[{label:"Application Submitted",complete:!0},{label:"Background Check",complete:!0,skipped:!0},{label:"Admin Review",current:!0},{label:"Approved",complete:!1}]},approved:{icon:c.A,iconColor:"text-emerald-500",bgColor:"bg-emerald-50",title:"You're Approved!",description:"Congratulations! Your coach application has been approved. You can now access your coach dashboard.",steps:[{label:"Application Submitted",complete:!0},{label:"Background Check",complete:!0},{label:"Admin Review",complete:!0},{label:"Approved",complete:!0}]}},p=m[l]||m.pending_approval,b=p.icon;return(0,d.jsx)("div",{className:"min-h-screen bg-slate-50 flex items-center justify-center p-4",children:(0,d.jsxs)("div",{className:"max-w-lg w-full",children:[(0,d.jsxs)("div",{className:"bg-white rounded-2xl border border-slate-200 p-8 text-center",children:[(0,d.jsx)("div",{className:`w-20 h-20 rounded-full ${p.bgColor} flex items-center justify-center mx-auto mb-6`,children:(0,d.jsx)(b,{className:`w-10 h-10 ${p.iconColor}`})}),(0,d.jsx)("h1",{className:"text-2xl font-bold text-slate-900 mb-2",children:p.title}),(0,d.jsx)("p",{className:"text-slate-500 mb-8",children:p.description}),(0,d.jsx)("div",{className:"flex items-center justify-center mb-8",children:p.steps.map((e,t)=>(0,d.jsxs)("div",{className:"flex items-center",children:[(0,d.jsxs)("div",{className:"flex flex-col items-center",children:[(0,d.jsx)("div",{className:"w-8 h-8 rounded-full flex items-center justify-center text-sm font-medium "+(e.complete?"bg-emerald-500 text-white":e.current?"bg-slate-900 text-white":"bg-slate-200 text-slate-400"),children:e.complete?(0,d.jsx)(c.A,{className:"w-4 h-4"}):t+1}),(0,d.jsx)("span",{className:"text-xs mt-1 max-w-16 text-center "+(e.current?"text-slate-900 font-medium":"text-slate-400"),children:e.label})]}),t<p.steps.length-1&&(0,d.jsx)("div",{className:"w-8 h-0.5 mx-1 "+(e.complete?"bg-emerald-500":"bg-slate-200")})]},t))}),"approved"===l?(0,d.jsxs)(a.$,{onClick:()=>t("/coach/dashboard"),className:"rounded-full bg-emerald-600 hover:bg-emerald-700",children:["Go to Dashboard",(0,d.jsx)(i.A,{className:"w-4 h-4 ml-2"})]}):(0,d.jsxs)("div",{className:"space-y-4",children:[(0,d.jsx)("div",{className:"bg-slate-50 rounded-xl p-4",children:(0,d.jsxs)("div",{className:"flex items-center gap-3 text-slate-600",children:[(0,d.jsx)(o.A,{className:"w-5 h-5"}),(0,d.jsx)("span",{className:"text-sm",children:"We'll email you when your status changes"})]})}),(0,d.jsx)(a.$,{variant:"outline",onClick:()=>t("/login"),className:"rounded-full",children:"Back to Login"})]})]}),(0,d.jsx)("p",{className:"text-center text-sm text-slate-400 mt-4",children:"Questions? Contact the organization directly for assistance."})]})})}}}]); 2//# sourceMappingURL=398.afa345aa.chunk.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.