1import{r as l,t as r,j as e,B as q,L as m}from"./index-CwhY44Ud.js";import{C as S}from"./ConnectorStrip-0svr_m-T.js";import{S as I}from"./SEO-BfEh6Rtl.js";import{F as C}from"./Footer-DdH6jild.js";import{A as _}from"./arrow-left-BUPNqmPi.js";import{A as c}from"./arrow-right-noAvnvFt.js";import"./NvidiaInceptionBadge-BWb_rvks.js";import"./linkedin-CBwNbQYy.js";const h={operations:{name:"Operations IQ",line:"Names the bottleneck draining profit right now â across revenue, margin, workflow, and team capacity. Runs on your numbers, not internet averages.",cta:"Start My Operations IQ",href:"/operations-assessment?ref=quiz&diagnostic=operations"},flowfi:{name:"FlowFi IQ",line:"Diagnoses where cash and margin are leaking in your financials â then names the finance moves that close the gap. Powered by Sobo, delivered with FlowFi.",cta:"Start My FlowFi IQ",href:"/flowfi-iq?ref=quiz&diagnostic=flowfi"},aiq:{name:"AIQ Score",line:"Scores your AI readiness and names the specific gap blocking ROI from the tools you already bought.",cta:"Get My AIQ Score",href:"/aiq-score?ref=quiz&diagnostic=aiq"},"supply-chain":{name:"Supply Chain IQ",line:"Finds where sourcing, inventory, logistics, or supplier risk is quietly costing margin and reliability. Delivered with Lustig Global Consulting.",cta:"Start My Supply Chain IQ",href:"/supply-chain-iq?ref=quiz&diagnostic=supply-chain"}},z=[{id:"Q1_ai",text:"AI tools. We bought them, can't point to a measurable result."},{id:"Q1_money",text:"Money. Cash is tight, or margin is thinner than it should be."},{id:"Q1_ops",text:"Operations. Jobs take too long, output varies, capacity is stretched."},{id:"Q1_supply",text:"Supply chain. Inventory, suppliers, or deliveries are costing us."},{id:"Q1_unsure",text:"Honestly, something's off. I can't name where."}],F=[{id:"Q2_cash",text:"In the checking account. Cash timing feels off."},{id:"Q2_margin",text:"In margin. We work hard, results are thinner than they should be."},{id:"Q2_output",text:"In output. Quality varies, jobs slip, throughput is inconsistent."},{id:"Q2_risk",text:"In risk. One wrong break (supplier gone, key person out) hurts us."}],j={a:{question:"Is the risk more about cash and customer exposure, or about a supplier or inventory situation?",options:[{id:"Q3a_finance",text:"Cash reserves, customer concentration, receivables exposure."},{id:"Q3a_supply",text:"A supplier we depend on, or inventory sitting the wrong way."}]},b:{question:"When a job wraps, does the margin usually match what you priced, or does it come in worse?",options:[{id:"Q3b_worse",text:"Worse. The work is eating the margin before we bill."},{id:"Q3b_matches",text:"Roughly matches, but overall profit is still thin."}]},c:{question:"Is the margin problem more about what you pay suppliers and hold in inventory, or about pricing, collections, and overhead?",options:[{id:"Q3c_supply",text:"Suppliers and inventory. That's where the money goes."},{id:"Q3c_finance",text:"Pricing, collections, or overhead. The financial side."}]}};function N(t,o){return!t||!o?null:t==="Q1_money"&&o==="Q2_risk"?"a":t==="Q1_ops"&&(o==="Q2_cash"||o==="Q2_margin")?"b":t==="Q1_supply"&&(o==="Q2_cash"||o==="Q2_margin")?"c":null}function A(t,o,n){if(!t)return null;if(t==="Q1_ai")return"aiq";if(t==="Q1_unsure")return"operations";if(!o)return null;if(N(t,o)){if(!n)return null;if(n==="Q3a_finance"||n==="Q3b_matches"||n==="Q3c_finance")return"flowfi";if(n==="Q3a_supply"||n==="Q3c_supply")return"supply-chain";if(n==="Q3b_worse")return"operations"}return t==="Q1_money"?"flowfi":t==="Q1_ops"?"operations":t==="Q1_supply"?"supply-chain":"operations"}const x="w-full min-h-[56px] text-left rounded-2xl border border-border bg-background px-5 py-4 text-base text-foreground transition-all hover:-translate-y-0.5 hover:border-primary/60 hover:shadow-elegant focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-primary",L=()=>{const[t,o]=l.useState(null),[n,p]=l.useState(null),[g,d]=l.useState(null),u=N(t,n),i=A(t,n,g),f=l.useMemo(()=>t==="Q1_ai"||t==="Q1_unsure"?1:u?3:t?2:3,[t,u]),b=i?f:t?n?3:2:1;l.useEffect(()=>{r("view_asset",{asset_slug:"find-your-fix-quiz",surface:"landing_page"}),r("quiz_opened",{asset_slug:"find-your-fix-quiz"})},[]),l.useEffect(()=>{if(i){r("quiz_result_shown",{engine:i,asset_slug:"find-your-fix-quiz"});try{window.history.replaceState(null,"",`/find-your-fix?diagnostic=${i}`)}catch{}}},[i]);const Q=s=>{o(s),p(null),d(null),r("quiz_q1_answered",{value:s})},k=s=>{p(s),d(null),r("quiz_q2_answered",{value:s})},v=s=>{d(s),r("quiz_q3_answered",{value:s})},y=()=>
1{if(r("quiz_back_clicked",{}),g){d(null);return}if(n){p(null);return}o(null)},w=e.jsx("div",{className:"flex items-center gap-2","aria-label":`Question ${b} of ${f}`,children:Array.from({length:f}).map((s,a)=>e.jsx("span",{"aria-hidden":"true",className:`h-2 w-2 rounded-full ${a<b?"bg-primary":"bg-border"}`},a))});return e.jsxs("main",{className:"min-h-screen bg-gradient-subtle",children:[e.jsx(I,{title:"Find Your Diagnostic in 3 Questions | Sobo",description:"Answer up to three questions and Sobo points you to the diagnostic that fits where your business is losing money. Free, 3 minutes, matched expert on the other side.",canonical:"https://www.sobo.ai/find-your-fix"}),e.jsx("section",{className:"pt-28 pb-20 md:pt-32",children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"mx-auto max-w-2xl",children:[e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.14em] text-primary",children:"Diagnosis before advice."}),i?e.jsxs("div",{className:"mt-8 rounded-3xl border border-border bg-background/80 p-6 md:p-10 shadow-elegant backdrop-blur-sm",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[w,e.jsxs("button",{type:"button",onClick:y,className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground",children:[e.jsx(_,{className:"h-3.5 w-3.5"})," Back"]})]}),e.jsx("span",{className:"mt-6 block text-[11px] font-semibold uppercase tracking-[0.14em] text-muted-foreground",children:"Your fix"}),e.jsx("h1",{className:"mt-2 text-4xl md:text-5xl font-bold leading-[1.15]",children:h[i].name}),e.jsx("p",{className:"mt-5 text-lg text-foreground/75 leading-relaxed",children:h[i].line}),e.jsx(q,{asChild:!0,size:"lg",className:"mt-8 w-full min-h-[56px] bg-gradient-blue text-white text-base shadow-primary hover:opacity-90 sm:w-auto sm:px-10",onClick:()=>r("quiz_cta_clicked",{engine:i,asset_slug:"find-your-fix-quiz"}),children:e.jsxs("a",{href:h[i].href,children:[h[i].cta," ",e.jsx(c,{className:"ml-1 h-4 w-4"})]})}),e.jsx("p",{className:"mt-4 text-sm font-medium text-muted-foreground",children:"3 min · 8 questions. Instant report. No sales call."}),e.jsx(S,{variant:"compact",className:"mt-6",heading:"Run it on your own data",engine:{aiq:"aiq",flowfi:"flowfi",operations:"opsiq","supply-chain":"supplychain"}[i]??"all"}),i==="aiq"&&e.jsxs("div",{className:"mt-8 rounded-2xl border border-border bg-muted/40 p-5",children:[e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.14em] text-primary",children:"Free report"}),e.jsx("p",{className:"mt-2 text-base font-semibold text-foreground",children:"You bought the AI. Where's the ROI?"}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"The Cost of Guessing on AI â seven symptoms of wasted SMB AI spend, with the dollar cost attached to each."}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-x-5 gap-y-3",children:[e.jsxs("a",{href:"/mid-funnel/cost-of-guessing-ai.pdf",download:"sobo-you-bought-the-ai.pdf",onClick:()=>r("download_asset",{asset_slug:"cost-of-guessing-ai-report",surface:"find-your-fix-quiz",engine:"aiq"}),className:"inline-flex items-center gap-1 text-sm font-semibold text-primary hover:underline",children:["Download the report (PDF) ",e.jsx(c,{className:"h-3.5 w-3.5"})]}),e.jsxs(m,{to:"/contact",onClick:()=>r("cta_click",{cta_id:"quiz_aiq_contact",destination:"/contact",surface:"find-your-fix-quiz",asset_slug:"cost-of-guessing-ai-report"}),className:"inline-flex items-center gap-1 text-sm font-semibold text-foreground/70 hover:text-foreground",children:["Contact us ",e.jsx(c,{className:"h-3.5 w-3.5"})]})]})]}),i==="operations"&&e.jsxs("div",{className:"mt-8 rounded-2xl border border-border bg-muted/40 p-5",children:[e.jsx("span",{className:"text-[11px] font-semibold uppercase tracking-[0.14em] text-primary",children:"Free operations report"}),e.jsx("p",{className:"mt-2 text-base font-semibold text-foreground",children:"The Cost of Fighting the Wrong Fire"}),e.jsx("p",{className:"mt-1 text-sm text-muted-foreground",children:"Calculate the wrong-fire tax and see how to rank the quiet constraint behind expensive owner firefighting."}),e.jsxs("div",{className:"mt-4 flex flex-wrap gap-x-5 gap-y-3",children:[e.jsxs(m,{to:"/playbooks/cost-of-fighting-the-wrong-fire",onClick:()=>r("cta_click",{cta_id:"quiz_wrong_fire_report",destination:"/playbooks/cost-of-fighting-the-wrong-fire",surface:"find-your-fix-quiz",asset_slug:"cost-of-fighting-the-wrong-fire"}),className:"inline-flex items-center gap-1 text-sm font-semibold text-primary hover:underline",children:["Read the free report ",e.jsx(c,{className:"h-3.5 w-3.5"})]}),e.jsxs(m,{to:"/contact",onClick:()=>r("cta_click",{cta_id:"quiz_operations_contact",destination:"/contact",surface:"find-your-fix-quiz",asset_slug:"cost-of-fighting-the-wrong-fire"}),className:"inline-flex items-center gap-1 text-sm font-semibold text-foreground
1/70 hover:text-foreground",children:["Contact us ",e.jsx(c,{className:"h-3.5 w-3.5"})]})]})]}),e.jsxs(m,{to:"/diagnostics",onClick:()=>r("quiz_fallback_clicked",{engine:i}),className:"mt-6 inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground",children:["Not quite right? See all diagnostics ",e.jsx(c,{className:"h-3.5 w-3.5"})]})]}):e.jsxs(e.Fragment,{children:[e.jsx("h1",{className:"mt-5 text-4xl md:text-5xl font-bold leading-[1.15]",children:"Your business is losing money somewhere. Find out where in 3 minutes."}),e.jsx("p",{className:"mt-5 text-lg text-foreground/75 leading-relaxed",children:"No generic benchmarks. No guessing. We run your answers against the four places profit actually leaks, then point you to the one that fits."}),e.jsx("p",{className:"mt-3 text-sm font-medium text-muted-foreground",children:"Free · 3 minutes · Matched expert on the other side"}),e.jsxs("div",{className:"mt-10 rounded-3xl border border-border bg-background/80 p-6 md:p-8 shadow-elegant backdrop-blur-sm",children:[e.jsxs("div",{className:"flex items-center justify-between",children:[w,t&&e.jsxs("button",{type:"button",onClick:y,className:"inline-flex items-center gap-1 text-sm text-muted-foreground hover:text-foreground",children:[e.jsx(_,{className:"h-3.5 w-3.5"})," Back"]})]}),e.jsxs("div",{"aria-live":"polite",children:[!t&&e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"mt-5 text-2xl font-bold",children:"What's the biggest area of friction in your business right now?"}),e.jsx("div",{className:"mt-6 flex flex-col gap-3",children:z.map(({id:s,text:a})=>e.jsx("button",{type:"button",className:x,onClick:()=>Q(s),children:a},s))})]}),t&&!n&&e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"mt-5 text-2xl font-bold",children:"Where do you feel it hurting the most?"}),e.jsx("div",{className:"mt-6 flex flex-col gap-3",children:F.map(({id:s,text:a})=>e.jsx("button",{type:"button",className:x,onClick:()=>k(s),children:a},s))})]}),t&&n&&u&&e.jsxs(e.Fragment,{children:[e.jsx("h2",{className:"mt-5 text-2xl font-bold",children:j[u].question}),e.jsx("div",{className:"mt-6 flex flex-col gap-3",children:j[u].options.map(({id:s,text:a})=>e.jsx("button",{type:"button",className:x,onClick:()=>v(s),children:a},s))})]})]})]})]})]})})}),e.jsx(C,{})]})};export{L 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.