1import{d as N,r as d,g as v,i as C,j as e,N as x,C as b,c as f,a as k,b as w}from"./index-D-eKUNm_.js";import{N as g,C as m,F as p}from"./Footer-ABVBocsT.js";import{t as R}from"./analytics-D3N3VaWc.js";import{C as y}from"./circle-check-CYqXjoLJ.js";import{C as S}from"./check-XNuRPM9D.js";import"./utils-C8nBGPD0.js";import"./splana-logo-JKo1NZ-L.js";import"./createLucideIcon-DP2F3ow5.js";const j="/registration-assistant";function A(n){if(!n)return"mid";const t=n.toLowerCase().replace(/\s+/g," ").trim();if(/less than \$?2m|under \$?2m|<\s*\$?2m/.test(t)||/\$?2m\s*[â-]\s*\$?5m|2m to 5m/.test(t))return"small";if(/\$?5m\s*[â-]|\$?5m\+|more than \$?5m|over \$?5m|\$?5m or more/.test(t))return"mid";const l=[...t.matchAll(/\$?\s*([\d,]+(?:\.\d+)?)\s*(m|k|b|million|billion)?/g)];let i=null;for(const a of l){const r=Number(a[1].replace(/,/g,""));if(!Number.isFinite(r))continue;const o=a[2];let s=r;if(o==="m"||o==="million")s=r*1e6;else if(o==="k")s=r*1e3;else if(o==="b"||o==="billion")s=r*1e9;else if(r<1e3)continue;(i==null||s>i)&&(i=s)}return i==null?"mid":i<5e6?"small":"mid"}function L(n,t,l,i){const a={label:"Join the Registration Assistant waitlist",href:j};return n==="registration-readiness"?l==="small"?{primary:a,framing:"Registration Assistant is designed for exactly the situation you're describing â automated audit-ready documentation built around how your operation actually works."}:t==="LOW"?{primary:a}:t==="CRITICAL"?{primary:{label:"Book a Priority Strategy Call",href:f}}:{primary:{label:"Book a Compliance Readiness Review",href:k}}:n==="billing-leakage"?l==="small"?{primary:a,secondary:{label:"Or book a 20-minute consultation to discuss your specific situation",href:b},framing:"At your operational scale, Registration Assistant is typically the highest-leverage first step. If your situation is more complex, a 20-minute consultation is the alternative."}:t==="CRITICAL"?{primary:{label:"Book a Priority Operations Strategy Call",href:f},framing:"Splana's Priority Operations Strategy Call is a 30-minute assessment session. During the call, we determine whether a Bridge-tier engagement (Integration Service $4,497) is the right starting point, or whether the situation warrants a Convert-tier program. Convert-tier engagements are matched selectively."}:{primary:{label:"Book a 20-minute NDIS Operations Strategy Call",href:w}}:l==="small"?{primary:a,secondary:{label:i.label,href:i.href}}:{primary:i}}function O(){const{slug:n,band:t,score:l,size:i}=N.useSearch();d.useEffect(()=>{R()},[]);const a=n?v(n):void 0,r=d.useMemo(()=>{if(!(!a||!t))return a.bands.find(c=>String(c.key)===t)},[a,t]),o=d.useMemo(()=>A(i),[i]),s=d.useMemo(()=>{if(r)return L(n,String(r.key),o,{label:r.ctaLabel,href:r.ctaHref})},[n,r,o]),h=d.useMemo(()=>{if(!s||!C(s.primary.href))return null;try{const c=new URL(s.primary.href);return c.searchParams.set("embed","true"),c.toString()}catch{return s.primary.href}},[s]);if(!a||!r||!s)return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(g,{}),e.jsx("main",{id:"main",children:e.jsx("section",{className:"section-y",children:e.jsxs("div",{className:"container-prose max-w-4xl",children:[e.jsxs("div",{className:"flex items-start gap-3 rounded-lg border border-success/30 bg-success/5 p-4 text-[15px] text-body",children:[e.jsx(y,{className:"text-success mt-0.5 shrink-0",size:20}),e.jsx("p",{children:"Thanks for completing the diagnostic â check your inbox for your personalised report. It should arrive within 5 minutes. Can't see it? Check spam or promotions."})]}),e.jsxs("div",{className:"mt-10",children:[e.jsx("h1",{className:"text-3xl md:text-5xl",children:"Thanks for completing the diagnostic"}),e.jsxs("div",{className:"mt-8 flex flex-col sm:flex-row gap-4",children:[e.jsx(m,{href:x,size:"lg",children:"Subscribe to Monthly Insights â"}),e.jsx(m,{href:b,variant:"secondary",size:"lg",children:"Book a general call â"})]})]})]})})}),e.jsx(p,{})]});const u=s.primary.href===j;return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx(g,{}),e.jsx("main",{id:"main",children:e.jsx("section",{className:"section-y",children:e.jsxs("div",{className:"container-prose max-w-4xl",children:[e.jsxs("div",{className:"flex items-start gap-3 rounded-lg border border-success/30 bg-success/5 p-4 text-[15px] text-body",children:[e.jsx(y,{className:"text-success mt-0.5 shrink-0",size:20}),e.jsx("p",{children:"Your report is on its way. Check your inbox â it should arrive within 5 minutes. Can't see it? Check spam or promotions."})]}),e.jsxs("div",{className:"mt-10",children:[e.jsx("p",{className:"eyebrow",children:"Your Result"}),e.jsx("h1",{className:"mt-4 text-3xl md:text-5xl",style:{color:r.accentColour},children:r.headline}),e.jsxs("p",{className:"mt-3 text-muted-ink",children:[r.label,l?` · Score ${l}`:""]}),e.jsx("p",{className:"mt-5 text-lg text-body leading-relaxed",children:r.summary})]}),e.jsxs("div",{className:"mt-12",children:[e.jsx("h2",{className:"text-2xl md:text-3xl",children:r.nextStepHeading}),e.jsx("p",{className:"mt-5 text-lg text-body leading-relaxed",children:r.nextStepBody}),s.framing?e.jsx("p",{className:"mt-5 text-lg text-body leading-relaxed",children:s.framing}):null,u||!h?e.jsxs("div",{className:"mt-8 flex flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-col sm:flex-row gap-4",children:[e.jsxs(m,{href:s.primary.href,size:"lg",children:[s.primary.label," â"]}),u&&!s.secondary?e.jsx(m,{href:x,variant:"secondary",size:"lg",children:"Subscribe to Monthly Insights â"}):null]}),s.secondary?e.jsxs(m,{href:s.secondary.href,variant:"link",children:[s.secondary.label," â"]}):null]}):e.jsxs(e.Fragment,{children:[e.jsx("ul",{className:"mt-5 space-y-3",children:["Walk through your diagnostic result together","Identify the highest-impact areas to focus on first","Give you a prioritised action plan you can implement immediately","Answer your questions â no pitch, no pressure"].map(c=>e.jsxs("li",{className:"flex items-start gap-3 text-body",children:[e.jsx(S,{className:"text-navy mt-1 shrink-0",size:20}),e.jsx("span",{children:c})]},c))}),e.jsx("div",{className:"mt-10 rounded-xl border border-border overflow-hidden bg-surface",children:e.jsx("iframe",{title:s.primary.label,src:h,className:"w-full",style:{height:"720px",border:"0"},loading:"lazy"})}),e.jsx("div",{className:"mt-6",children:e.jsxs(m,{href:s.primary.href,size:"lg",children:[s.primary.label," â"]})})]})]})]})})}),e.jsx(p,{})]})}
1export{O as component,A as resolveSizeBucket};
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.