PageSourceSearch

https://meetborderless.com/build/assets/CurrentStepCard-XLX9Kyze.js

js meetborderless.com collected 2026-10-09 22:43:15 UTC 3,508 bytes, 1 lines download raw bytes

1import{j as e}from"./app-C1iegf7Q.js";import{L as n,f as c}from"./inertia-BpyZy4w-.js";import{C as m}from"./clock-BtI_SZvJ.js";import{U as x}from"./user-zm6AyDtY.js";import{C as r}from"./circle-check-BMWvzPMx.js";import{A as l}from"./arrow-right-CQhEyoMD.js";/* empty css            */import"./createLucideIcon-wqc1LSWg.js";const d={self_serve:"Self-paced",guided:"With expert review",managed:"Expert-led"};function b({step:s,stepper:a,adviser:t}){if(!s)return null;const i=s.is_gated;return a?.pack_status==="awaiting_assignment"&&!t?e.jsx("div",{className:"dash-card p-5",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(m,{className:"mt-0.5 h-5 w-5 shrink-0 text-dash-gold"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-app-text",children:"We're assigning your adviser"}),e.jsx("p",{className:"mt-1 text-xs text-app-text3",children:"You'll receive an email once your adviser has been assigned. This usually takes less than 24 hours."})]})]})}):i&&a?.pack_mode==="managed"&&t?e.jsx("div",{className:"dash-card p-5",children:e.jsxs("div",{className:"flex items-start gap-3",children:[t.avatar?e.jsx("img",{src:t.avatar,alt:t.name,className:"h-10 w-10 rounded-full object-cover"}):e.jsx("div",{className:"flex h-10 w-10 items-center justify-center rounded-full bg-app-surface2",children:e.jsx(x,{className:"h-5 w-5 text-app-text3"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-medium text-app-text",children:t.next_step??s.cta}),e.jsxs("p",{className:"mt-1 text-xs text-app-text3",children:[t.name," · your adviser"]}),t.is_next_step_overdue&&e.jsx("span",{className:"mt-1 inline-block rounded-full bg-red-400/10 px-2 py-0.5 text-xs font-medium text-red-400",children:"Overdue"})]})]})}):i&&(a?.pack_mode==="guided"||a?.pack_mode==="managed")?e.jsx("div",{className:"dash-card p-5",children:e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx(r,{className:"mt-0.5 h-5 w-5 shrink-0 text-dash-teal"}),e.jsxs("div",{children:[e.jsx("p",{className:"text-sm font-medium text-app-text",children:"All items complete. waiting for adviser review"}),e.jsx("p",{className:"mt-1 text-xs text-app-text3",children:s.cta})]})]})}):e.jsxs("div",{className:"dash-card p-5 space-y-3",children:[s.href?e.jsxs(n,{href:s.href,className:"flex items-center gap-3 no-underline group",children:[e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-app-lime",children:e.jsx(l,{className:"h-5 w-5 text-app-bg"})}),e.jsxs("div",{className:"flex-1",children:[e.jsx("p",{className:"text-sm font-semibold text-app-text group-hover:underline",children:s.cta}),a?.pack_mode&&e.jsx("p",{className:"text-xs text-app-text3",children:d[a.pack_mode]??a.pack_mode})]})]}):e.jsxs("div",{className:"flex items-start gap-3",children:[e.jsx("div",{className:"flex h-10 w-10 shrink-0 items-center justify-center rounded-full bg-app-surface2",children:e.jsx(l,{className:"h-5 w-5 text-app-text3"})}),e.jsx("p",{className:"text-sm font-medium text-app-text",children:s.cta})]}),s.confirmAction&&e.jsxs("button",{onClick:()=>{confirm(`${s.confirmAction.label}?`)&&c.post(s.confirmAction.url,{},{preserveScroll:!0})},className:"inline-flex items-center gap-1.5 rounded-lg bg-app-lime/10 border border-app-lime/20 px-3 py-1.5 text-xs font-semibold text-app-lime hover:bg-app-lime/20 transition-colors cursor-pointer",children:[e.jsx(r,{className:"h-3 w-3"}),s.confirmAction.label]})]})}export{b as CurrentStepCard};

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.