1import{b as N,a_ as S,o as g,s as b,j as e,c7 as x,B as $,ay as A,u as D,V as _,c8 as T,y}from"./index-B9m0jA0r.js";import{u as f}from"./useEnrollment-CyeXfl-G.js";import{S as L,F as G,V as I,a as B,W as F,G as O,B as W,u as U,M as q}from"./GuaranteeBlock-sKO2E8Tu.js";import{B as E}from"./book-open-Fd4bHpDh.js";import{B as R}from"./bot-DKVLklgD.js";import"./card-BIA7MWLi.js";import"./moduleIcon-D270Vamt.js";import"./circle-check-KSfehY7a.js";import"./circle-Dx2aIOyl.js";function w(r){const{user:s}=N(),{source:a,sourceUserId:o}=S(),t=a==="inherited_from_owner"&&o?o:s==null?void 0:s.id,{data:p,isLoading:d,error:u}=g({queryKey:["playbook-progress",t],enabled:!!t,staleTime:60*1e3,queryFn:async()=>{const{data:n,error:i}=await b.rpc("get_playbook_progress",{p_user_id:t});if(i)throw i;return n??null}});return{progress:p??null,isLoading:d,error:u??null}}function M(){const{course:r}=f(),{progress:s}=w();if(!s)return null;const a=s.day_in_window;let o="";typeof a=="number"&&(a<=60?o=`Day ${a} of your Care Plan Playbook journey`:a<=74?o=`Day ${a} · Refund window closes in ${74-a} days`:o="Care Plan Playbook · Complete");const t=(r==null?void 0:r.name)??"Care Plan Playbook";return e.jsxs("div",{className:"rounded-lg border border-primary/20 bg-primary/5 p-4 flex items-center gap-4",children:[e.jsx(x,{className:"h-5 w-5 text-primary shrink-0"}),e.jsxs("div",{className:"flex-1 min-w-0 space-y-1",children:[e.jsx("h1",{className:"text-xl font-semibold text-foreground truncate",children:t}),e.jsx("p",{className:"text-sm text-muted-foreground truncate",children:o})]})]})}const P="https://account.thesmartchiropractor.com/b/dRm5kEeil9RLf14adI4Ja0p?utm_source=app&utm_medium=playbook_landing&utm_campaign=in_app_conversion";function K(){window.open(P,"_blank","noopener,noreferrer")}const Q=[{icon:e.jsx(R,{className:"h-5 w-5"}),title:"Alex â Your AI Sales Coach",description:"Run real reps, privately, anytime. Alex plays the patient â skeptical, cost-conscious, dragging their spouse in â and coaches you between rounds. World-class sales coaching without the weirdness of role-playing with a human."},{icon:e.jsx(x,{className:"h-5 w-5"}),title:"4-Week Curriculum",description:"On-demand video covering Care Plan foundations, patient education and buy-in, presentation and pricing, plus closing and follow-up. Watch on your schedule."},{icon:e.jsx(W,{className:"h-5 w-5"}),title:"60 Days of CarePlan Pro Growth",description:"Up to 60 care plans/month, email and PDF delivery, unlimited templates and patients. Continue at $99/mo to keep your Playbook library and software access."},{icon:e.jsx(A,{className:"h-5 w-5"}),title:"60-Day Sold-Plan Guarantee",description:"Follow the program. If by Day 60 you haven't closed a care plan, full refund."}],V=[{weekNumber:1,title:"Care Plan Foundations",description:"The mindset, the framework, the language. What makes care plans land in your practice."},{weekNumber:2,title:"Patient Education & Buy-In",description:"Pre-frame and educate patients before you ever talk price. The case-building work."},{weekNumber:3,title:"Presentation & Pricing",description:"The polished consultation flow. How to introduce price without flinching."},{weekNumber:4,title:"Closing & Follow-Up",description:"Objection handling, the close itself, and recovering the maybes. Refining the close, building consistency."}],H=[{label:"60 days of CarePlan Pro Growth",sublabel:"Up to 60 care plans/month, email and PDF delivery, unlimited templates and patients",value:"$198"},{label:"4-week Care Plan Playbook curriculum",sublabel:"On-demand video, scripts, templates, and step-by-step playbooks",value:"$997"},{label:"AI Sales Coach (Alex)",sublabel:"Private 24/7 sales coach. Plays real patients, debriefs like a peer, available the night before your biggest presentation.",value:"$497"},{label:"70+ in-app care plan templates",sublabel:"Pre-built templates for every patient avatar and care pattern",value:"$497"},{label:"Sales scripts + objection handlers",sublabel:"Word-for-word language for all three products",value:"$297"}],J=[{name:"Dr. Jason A. Deitch",imageUrl:"https://encrypted-tbn0.gstatic.
1com/images?q=tbn:ANd9GcQdv8WDFOPqSuKABocBses_4Tc1Xyvzg3xFDQ&s"},{name:"Dr. Jeff Langmaid",imageUrl:"https://images.squarespace-cdn.com/content/v1/54bd9756e4b0b5bb4bf8aa9a/16652ee8-f758-4ad0-8891-f51baa0170d5/Dr.+Jeff+Lanmaid.jpg"}];function Y(){return e.jsxs("div",{className:"max-w-5xl mx-auto py-10 sm:py-16 px-4 space-y-20",children:[e.jsx(L,{badge:"CarePlan Playbook",badgeIcon:e.jsx(E,{className:"h-3.5 w-3.5"}),headline:"The Care Plan Playbook",subhead:"Close your first care plan â or your money back.",description:"For chiropractors ready to nail care plan presentation and close â confidently, consistently, without the awkwardness or improvising.",ctaText:"Get the Playbook â Only $297",ctaUrl:P,fineprint:"$297 today, then $99/mo CarePlan Pro Growth after 60-day free trial. Cancel anytime."}),e.jsxs("section",{className:"text-center space-y-4 max-w-3xl mx-auto",children:[e.jsx("h2",{className:"text-2xl sm:text-3xl font-semibold",children:"Why the Playbook is different"}),e.jsx("p",{className:"text-base sm:text-lg text-muted-foreground leading-relaxed",children:"Every other care plan course is videos and Zoom calls with a human coach. The Playbook gives you Alex â an AI sales coach you can call at 11pm the night before your biggest case, run the same objection ten times in a row, and fumble freely without anyone watching. Reps build skill. Alex gives you unlimited reps."})]}),e.jsx(G,{title:"What's inside",subtitle:"Everything you need to close your first care plan in 60 days.",items:Q}),e.jsx(I,{title:"What you're getting",subtitle:"Everything bundled into the Playbook, valued line by line.",items:H,totalLabel:"Total stack value",totalValue:"$2,486",investmentLabel:"Your investment today",investmentValue:"Only $297",footnote:"That's 8.4Ã the value â yours for only $297."}),e.jsx(B,{title:"Built by",subtitle:"Co-founders of CarePlan Pro & The Smart Chiropractor. Your guides through your 60 days.",founders:J}),e.jsxs("section",{className:"space-y-6",children:[e.jsxs("div",{className:"text-center mb-8",children:[e.jsx("h2",{className:"text-3xl font-bold",children:"The software, in action"}),e.jsx("p",{className:"text-muted-foreground mt-2",children:"Care plans built and presented through CarePlan Pro."})]}),e.jsx("div",{className:"max-w-4xl mx-auto rounded-lg overflow-hidden shadow-lg border bg-card",children:e.jsx("img",{src:"https://wljjginimpglfggntpip.supabase.co/storage/v1/object/public/provider-assets/Screenshot%202026-05-15%20at%208.54.01%20PM.png",alt:"CarePlan Pro care plan builder",className:"w-full h-auto"})})]}),e.jsx(F,{title:"What to expect",subtitle:"A guided 4-week path. Most doctors close their first care plan within the first week.",weeks:V}),e.jsx(O,{title:"Our 60-Day Sold-Plan Guarantee",paragraphs:["Follow the program â log in weekly across your 60 days, complete all 4 video modules, and present at least 10 care plans to your patients through CarePlan Pro. Do that and you'll close your first care plan before Day 60.","If you don't close any care plan by Day 60, we'll refund your $297 in full. No questions, no hoops."]}),e.jsxs("section",{className:"text-center space-y-4",children:[e.jsx("p",{className:"text-3xl font-bold text-foreground",children:"Only $297 to start"}),e.jsx("p",{className:"text-muted-foreground mt-1",children:"Then $99/mo CarePlan Pro Growth after 60-day free trial. Cancel anytime."}),e.jsx("p",{className:"mt-6 text-muted-foreground max-w-xl mx-auto",children:"Includes the 4-week curriculum, AI Sales Coach access, 60 days of CarePlan Pro Growth ($198 value), and the 60-Day Sold-Plan Guarantee. $2,486 of total value."}),e.jsx("div",{className:"mt-6",children:e.jsx($,{size:"lg",onClick:K,className:"text-base px-8 py-6",children:"Get the Playbook â Only $297"})}),e.jsx("p",{className:"mt-4 text-xs text-muted-foreground max-w-xl mx-auto",children:"By purchasing, you'll be charged only $297 today and start a 60-day free trial of CarePlan Pro Growth at $99/mo. Cancel anytime through your account."})]}),e.jsx("footer",{className:"text-center pt-8 border-t border-border/30",children:e.jsx("p",{className:"text-xs text-muted-foreground",children:"Questions? Contact support."})})]})}function le(){var h;const r=D(),{hasAdminAccess:s}=_(),{hasAccess:a}=T(),{isLoading:o}=w(),{enrollment:t,cohort:p,course:d,isLoading:u}=f(),n=s&&!t,i=g({queryKey:["playbook-preview-course"],enabled:n,queryFn:async()=>{const{data:l,error:c}=await b.from("courses").select("*").eq("slug","care-plan-playbook").maybeSingle();if(c)throw c;return l}}
1),m=d??i.data,k=m==null?void 0:m.id,{modules:v,isLoading:j}=U(k);if(o||u||j||n&&i.isLoading)return e.jsxs("div",{className:"max-w-6xl mx-auto py-6 sm:py-8 px-4 space-y-8",children:[e.jsx(y,{className:"h-20 w-full rounded-lg"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:Array.from({length:6}).map((l,c)=>e.jsx(y,{className:"h-40 w-full rounded-lg"},c))})]});if(!a&&!s)return e.jsx(Y,{});const C=((h=t==null?void 0:t.enrolled_at)==null?void 0:h.split("T")[0])??new Date().toISOString().split("T")[0];return e.jsxs("div",{className:"max-w-6xl mx-auto py-6 sm:py-8 px-4 space-y-8",children:[!n&&e.jsx(M,{}),e.jsxs("section",{children:[e.jsx("h2",{className:"mb-4 text-xl font-semibold",children:"Modules"}),e.jsx("div",{className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-4",children:v.map(l=>e.jsx(q,{module:l,cohortStartDate:C,isAdminPreview:n,onClick:()=>r(`/playbook/modules/${l.id}`)},l.id))})]})]})}export{le 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.