PageSourceSearch

https://reframepractice.com/_next/static/immutable/chunks/3hmhai4g5hvxe.js

js reframepractice.com collected 2026-10-06 08:09:57 UTC 30,087 bytes, 7 lines download raw bytes

1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,742004,e=>{"use strict";var t=e.i(271645),r=e.i(843476);e.s(["createContext",0,function(e,n){let i=t.createContext(n),s=e=>{let{children:n,...s}=e,a=t.useMemo(()=>s,Object.values(s));return(0,r.jsx)(i.Provider,{value:a,children:n})};return s.displayName=e+"Provider",[s,function(r){let s=t.useContext(i);if(s)return s;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,n=[]){let i=[],s=()=>{let r=i.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return s.scopeName=e,[function(n,s){let a=t.createContext(s),o=i.length;i=[...i,s];let l=n=>{let{scope:i,children:s,...l}=n,c=i?.[e]?.[o]||a,d=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(c.Provider,{value:d,children:s})};return l.displayName=n+"Provider",[l,function(r,i){let l=i?.[e]?.[o]||a,c=t.useContext(l);if(c)return c;if(void 0!==s)return s;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}(s,...n)]}])},296626,e=>{"use strict";var t=e.i(271645),r=e.i(820783),n=e.i(934620),i=e=>{var i;let a,o,{present:l,children:c}=e,d=function(e){var r,i;let[a,o]=t.useState(),l=t.useRef(null),c=t.useRef(e),d=t.useRef("none"),[u,f]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=s(l.current);d.current="mounted"===u?e:"none"},[u]),(0,n.useLayoutEffect)(()=>{let t=l.current,r=c.current;if(r!==e){let n=d.current,i=s(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=s(l.current).includes(CSS.escape(r.animationName));if(r.target===a&&n&&(f("ANIMATION_END"),!c.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(d.current=s(l.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(u),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,o(e)},[])}}(l),u="function"==typeof c?c({present:d.isPresent}):t.Children.only(c),f=(0,r.useComposedRefs)(d.ref,(i=u,(o=(a=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.ref:(o=(a=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof c||d.isPresent?t.cloneElement(u,{ref:f}):null};function s(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},595468,e=>{"use strict";var t=e.i(123287);e.s(["CheckCircle2",()=>t.default])},492161,e=>{"use strict";let t=(0,e.i(475254).default)("menu",[["path",{d:"M4 5h16",key:"1tepv9"}],["path",{d:"M4 12h16",key:"1lakjw"}],["path",{d:"M4 19h16",key:"1djgab"}]]);e.s(["Menu",0,t],492161)},89858,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(618566),i=e.i(194983),s=e.i(595468),a=e.i(531278),o=e.i(776639),l=e.i(519455),c=e.i(793479),d=e.i(624687),u=e.i(110204),f=e.i(386402);function m(e){return"/book"!==e}e.s(["ContactWidget",0,function(){let e=(0,n.usePathname)(),[p,h]=(0,r.useState)(!1),[x,g]=(0,r.useState)(""),[b,v]=(0,r.useState)(""),[y,w]=(0,r.useState)(""),[j,N]=(0,r.useState)(!1),[A,D]=(0,r.useState)(!1),[C,k]=(0,r.useState)(null),E="/for-group-practices"===e,[R,P]=(0,r.useState)(!1);(0,r.useEffect)(()=>
1{if(!E)return;let e=()=>P(window.scrollY>320||window.innerWidth>=768);return e(),window.addEventListener("scroll",e,{passive:!0}),window.addEventListener("resize",e),()=>{window.removeEventListener("scroll",e),window.removeEventListener("resize",e)}},[E]);let S=()=>{h(!1),setTimeout(()=>{g(""),v(""),w(""),D(!1),k(null)},200)},O=async()=>{if(!x.trim()||!b.trim()||!y.trim())return void k("Please add your name, email, and question.");N(!0),k(null);let e=window.location.pathname;try{let t=await fetch("/api/contact",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({name:x.trim(),email:b.trim(),subject:"general",message:`${y.trim()}
2
3(Sent from the question widget on ${e})`})});if(!t.ok){let e=await t.json().catch(()=>({}));throw Error(e.error||"Something went wrong. Please try again.")}(0,f.trackDataFastGoal)("contact_widget_submit"),D(!0)}catch(e){k(e instanceof Error?e.message:"Something went wrong. Please try again.")}finally{N(!1)}},T=x.trim()&&b.trim()&&y.trim()&&!j;return m(e)&&(!E||R||p)?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("div",{className:"fixed bottom-20 right-4 z-40 md:bottom-4 print:hidden",children:(0,t.jsxs)("button",{type:"button",onClick:()=>{(0,f.trackDataFastGoal)("contact_widget_opened"),h(!0)},"aria-label":"Ask a question",className:"flex items-center gap-2 rounded-full border border-[#2D5A4A]/15 bg-[#2D5A4A] px-4 py-2.5 text-sm font-medium text-white shadow-md transition-all hover:bg-[#2D5A4A]/90 hover:shadow-lg",children:[(0,t.jsx)(i.MessageCircle,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"hidden sm:inline",children:"Questions?"})]})}),(0,t.jsx)(o.Dialog,{open:p,onOpenChange:e=>!e&&S(),children:(0,t.jsx)(o.DialogContent,{className:"sm:max-w-md",children:A?(0,t.jsxs)("div",{className:"py-8 text-center",children:[(0,t.jsx)(s.CheckCircle2,{className:"h-12 w-12 text-[#2D5A4A] mx-auto mb-4"}),(0,t.jsx)("h3",{className:"text-lg font-semibold text-[#1a1a1a] mb-2",children:"Got it. Thank you."}),(0,t.jsx)("p",{className:"text-sm text-[#1a1a1a]/70",children:"Jesse will email you back, usually within a day."}),(0,t.jsx)(l.Button,{type:"button",onClick:S,className:"mt-6 bg-[#2D5A4A] hover:bg-[#2D5A4A]/90",children:"Close"})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)(o.DialogHeader,{children:[(0,t.jsx)(o.DialogTitle,{className:"text-[#1a1a1a]",children:"Ask a question"}),(0,t.jsx)(o.DialogDescription,{children:"Send it here and Jesse, a therapist, reads these himself and replies by email. Usually within a day."})]}),(0,t.jsxs)("div",{className:"space-y-4 py-4",children:[(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(u.Label,{htmlFor:"contact-name",className:"text-[#1a1a1a]/70",children:"Your name"}),(0,t.jsx)(c.Input,{id:"contact-name",value:x,onChange:e=>g(e.target.value),placeholder:"First name is fine",autoComplete:"name"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(u.Label,{htmlFor:"contact-email",className:"text-[#1a1a1a]/70",children:"Email"}),(0,t.jsx)(c.Input,{id:"contact-email",type:"email",value:b,onChange:e=>v(e.target.value),placeholder:"Where should Jesse reply?",autoComplete:"email"})]}),(0,t.jsxs)("div",{className:"space-y-2",children:[(0,t.jsx)(u.Label,{htmlFor:"contact-message",className:"text-[#1a1a1a]/70",children:"Your question"}),(0,t.jsx)(d.Textarea,{id:"contact-message",value:y,onChange:e=>w(e.target.value),placeholder:"What would you like to know?",className:"min-h-[100px] resize-none"})]}),C&&(0,t.jsx)("p",{className:"text-sm text-red-700 text-center",children:C}),(0,t.jsxs)("div",{className:"flex gap-3 justify-end pt-2",children:[(0,t.jsx)(l.Button,{type:"button",variant:"outline",onClick:S,disabled:j,children:"Cancel"}),(0,t.jsx)(l.Button,{type:"button",onClick:O,disabled:!T,className:"bg-[#2D5A4A] hover:bg-[#2D5A4A]/90",children:j?(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(a.Loader2,{className:"h-4 w-4 mr-2 animate-spin"}),"Sending..."]}):"Send"})]})]})]})})})]}):null},"shouldShowContactWidget",0,m])},615631,e=>{"use strict";var t=e.i(843476),r=e.i(522016);let n=[{href:"/assessment",label:"Free Practice Checkup"},{href:"/profile-optimizer",label:"Psychology Today Profile Checker"},{href:"/website-grader",label:"Therapist Website Grader"},{href:"/services",label:"For Practices"},{href:"/guides/seo-for-therapists",label:"SEO for Therapists"},{href:"/guides/marketing-for-therapists",label:"Marketing Guide"}],i=[{href:"/progress-note-generator",label:"Free Progress Notes"},{href:"/worksheets",label:"Worksheet Generator"},{href:"/session-prep",label:"Session Prep"},{href:"/thinking-partner",label:"Thinking Partner"},{href:"/caseload-breakeven-calculator",label:"Caseload Break-Even Calculator"},{href:"/therapist-salary-calculator",label:"Therapist Salary Calculator"},{href:"/private-practice-cost-calculator",label:"Practice Cost Calculator"},{href:"/cpt-codes-for-therapists",label:"CPT Codes for Therapists"},{href:"/pricing",label:"Tool Pricing"}
3],s=[{href:"/work/therapist-websites",label:"Recent Website Work"},{href:"/alternatives",label:"Compare Alternatives"},{href:"/research",label:"Research and Data"},{href:"/worksheets",label:"All Worksheets"}],a=[{href:"/about",label:"About"},{href:"/security",label:"Security"},{href:"/contact",label:"Contact"},{href:"/privacy",label:"Privacy Policy"},{href:"/terms",label:"Terms of Service"}];function o({title:e,links:n}){return(0,t.jsxs)("div",{children:[(0,t.jsx)("p",{className:"mb-2 text-xs font-medium uppercase tracking-[0.15em] text-white",children:e}),(0,t.jsx)("ul",{children:n.map(e=>(0,t.jsx)("li",{children:(0,t.jsx)(r.default,{href:e.href,className:"flex min-h-11 items-center text-sm text-white/75 transition-colors hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[#D4A574]",children:e.label})},e.href))})]})}e.s(["MarketingFooter",0,function(){return(0,t.jsxs)("footer",{className:"bg-[#234539]",role:"contentinfo","aria-label":"Site footer",children:[(0,t.jsx)("div",{className:"h-px bg-gradient-to-r from-transparent via-[#D4A574]/40 to-transparent"}),(0,t.jsx)("div",{className:"max-w-[1400px] mx-auto px-6 md:px-12 py-16",children:(0,t.jsxs)("div",{className:"grid grid-cols-2 md:grid-cols-12 gap-8 md:gap-10",children:[(0,t.jsxs)("div",{className:"col-span-2 md:col-span-4",children:[(0,t.jsx)(r.default,{href:"/",className:"inline-flex min-h-11 items-center text-[11px] font-semibold tracking-[0.45em] text-white transition-colors duration-200 hover:text-white/80 focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#D4A574] focus-visible:ring-offset-4 focus-visible:ring-offset-[#234539]",children:"REFRAME"}),(0,t.jsx)("p",{className:"mt-2 max-w-xs text-sm leading-relaxed text-white/75",children:"Clearer paths to more right-fit clients for practices. Free notes for therapists."}),(0,t.jsx)("p",{className:"mt-5 max-w-xs text-xs leading-relaxed text-white/70",children:"Built by Jesse, Registered Psychotherapist."})]}),(0,t.jsx)("div",{className:"col-span-1 md:col-span-2",children:(0,t.jsx)(o,{title:"For Practices",links:n})}),(0,t.jsx)("div",{className:"col-span-1 md:col-span-2",children:(0,t.jsx)(o,{title:"Clinical Tools",links:i})}),(0,t.jsx)("div",{className:"col-span-1 md:col-span-2",children:(0,t.jsx)(o,{title:"Learn",links:s})}),(0,t.jsx)("div",{className:"col-span-1 md:col-span-2",children:(0,t.jsx)(o,{title:"Company",links:a})})]})}),(0,t.jsx)("div",{className:"border-t border-white/10",children:(0,t.jsxs)("div",{className:"max-w-[1400px] mx-auto px-6 md:px-12 py-6 flex flex-col md:flex-row justify-between items-center gap-4",children:[(0,t.jsxs)("div",{className:"flex items-center gap-3 text-xs tracking-[0.1em] text-white/75",children:[(0,t.jsx)("span",{children:"REFRAME PRACTICE"}),(0,t.jsx)("span",{className:"w-1 h-1 rounded-full bg-white/30"}),(0,t.jsxs)("span",{children:["© ",new Date().getFullYear()]})]}),(0,t.jsx)("div",{className:"text-center md:text-right",children:(0,t.jsx)("p",{className:"mt-1 max-w-xl text-xs leading-relaxed text-white/70",children:"Reframe Practice is a tool for licensed therapists, not a therapy clinic or counseling service."})})]})})]})}])},670087,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(522016),i=e.i(618566),s=e.i(492161),a=e.i(37727);let o=[{href:"/services",label:"For Practices"},{href:"/guides",label:"Guides"},{href:"/product",label:"Clinical Tools"},{href:"/about",label:"About"}];e.s(["MarketingHeader",0,function(){let e=(0,i.usePathname)(),l="/for-group-practices"===e?{href:"/book?location=group_practices_header",label:"Book a 15-minute call"}:{href:"/assessment",label:"Free Practice Checkup"},c=(0,r.useRef)(null),d=(0,r.useRef)(null),[u,f]=(0,r.useState)(0),[m,p]=(0,r.useState)(!1),[h,x]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>f(window.scrollY);return window.addEventListener("scroll",e,{passive:!0}),()=>window.removeEventListener("scroll",e)},[]),(0,r.useEffect)(()=>{x(!("u"<typeof document)&&document.cookie.includes("rf_signed_in=1"))},[e]),(0,r.useEffect)(()=>{let e=window.matchMedia("(min-width: 1024px)"),t=e=>{e.matches&&p(!1)};return e.addEventListener("change",t),m&&!e.matches?document.body.style.overflow="hidden":document.body.style.overflow="unset",()=>{e.removeEventListener("change",t),document.body.style.overflow="unset"}},[m]),(0,r.useEffect)(()=>
3{if(!m)return;let e=document.activeElement,t=c.current,r=new Set,n=()=>{document.querySelectorAll("main, footer, [data-cookie-consent]").forEach(e=>{e.inert=!0,r.add(e)})};n();let i=new MutationObserver(n);i.observe(document.body,{childList:!0,subtree:!0});let s='a[href], button:not([disabled]), [tabindex]:not([tabindex="-1"])',a=window.setTimeout(()=>{d.current?.querySelector(s)?.focus()},50),o=e=>{if("Escape"===e.key){e.preventDefault(),p(!1);return}if("Tab"!==e.key||!d.current)return;let t=Array.from(d.current.querySelectorAll(s)).filter(e=>null!==e.offsetParent);if(0===t.length)return;let r=t[0],n=t[t.length-1];e.shiftKey&&document.activeElement===r?(e.preventDefault(),n.focus()):e.shiftKey||document.activeElement!==n||(e.preventDefault(),r.focus())};return window.addEventListener("keydown",o),()=>{window.clearTimeout(a),window.removeEventListener("keydown",o),i.disconnect(),r.forEach(e=>{e.inert=!1}),(e??t)?.focus()}},[m]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("nav",{"aria-label":"Main navigation",className:`fixed top-0 left-0 right-0 transition-all duration-500 ${m?"z-[70]":"z-50"} ${u>50?"border-b border-[#1a1a1a]/8 bg-white/95 backdrop-blur-md":"border-b border-[#1a1a1a]/6 bg-white/95 backdrop-blur-md"}`,children:(0,t.jsxs)("div",{className:"max-w-[1400px] mx-auto px-6 md:px-12 h-[72px] flex items-center justify-between",children:[(0,t.jsx)(n.default,{href:"/",className:"inline-flex min-h-11 items-center text-[11px] font-medium tracking-[0.4em] text-[#1a1a1a] transition-colors hover:text-[#2D5A4A] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2D5A4A] focus-visible:ring-offset-4",children:"REFRAME"}),(0,t.jsx)("div",{className:"hidden lg:flex items-center gap-5 xl:gap-10",children:o.map(r=>(0,t.jsx)(n.default,{href:r.href,"aria-current":e.startsWith(r.href)?"page":void 0,className:`inline-flex min-h-11 items-center border-b text-xs font-medium uppercase tracking-[0.15em] transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2D5A4A] focus-visible:ring-offset-4 ${e.startsWith(r.href)?"border-[#2D5A4A] text-[#2D5A4A]":"border-transparent text-[#1a1a1a]/80 hover:border-[#2D5A4A]/35 hover:text-[#2D5A4A]"}`,children:r.label},r.href))}),(0,t.jsx)("div",{className:"hidden lg:flex items-center gap-3 xl:gap-6",children:h?(0,t.jsx)(n.default,{href:"/dashboard",className:"inline-flex min-h-11 items-center text-xs font-medium tracking-[0.15em] text-[#1a1a1a]/70 transition-colors hover:text-[#2D5A4A] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2D5A4A] focus-visible:ring-offset-4",children:"Dashboard"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{href:"/login",className:"inline-flex min-h-11 items-center text-xs font-medium tracking-[0.15em] text-[#1a1a1a]/70 transition-colors hover:text-[#2D5A4A] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2D5A4A] focus-visible:ring-offset-4",children:"Log In"}),(0,t.jsx)(n.default,{href:l.href,className:"inline-flex min-h-11 items-center rounded-lg border border-[#2D5A4A]/40 bg-white px-5 text-xs font-semibold text-[#2D5A4A] transition-colors duration-200 hover:bg-[#2D5A4A] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2D5A4A] focus-visible:ring-offset-4",children:l.label})]})}),(0,t.jsx)("button",{ref:c,onClick:()=>p(!m),className:"flex min-h-11 min-w-11 items-center justify-center p-3 -mr-3 text-[#1a1a1a] transition-colors hover:text-[#2D5A4A] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2D5A4A] focus-visible:ring-offset-4 lg:hidden","aria-label":m?"Close menu":"Open menu","aria-expanded":m,"aria-controls":"mobile-marketing-menu",children:m?(0,t.jsx)(a.X,{className:"w-6 h-6"}):(0,t.jsx)(s.Menu,{className:"w-6 h-6"})})]})}),(0,t.jsxs)("div",{className:`fixed inset-0 z-[60] transition-opacity duration-300 lg:hidden ${m?"opacity-100 visible":"opacity-0 invisible"}`,children:[(0,t.jsx)("div",{className:"absolute inset-0 bg-black/20 backdrop-blur-sm",onClick:()=>p(!1)}),(0,t.jsx)("div",{ref:d,id:"mobile-marketing-menu",role:"dialog","aria-modal":"true","aria-label":"Site navigation",className:`absolute top-[72px] left-0 right-0 max-h-[calc(100dvh-72px)] overflow-y-auto bg-white shadow-xl transition-all duration-300 ${m?"translate-y-0 opacity-100":"-translate-y-4 opacity-0"}`,children:(0,t.jsxs)("div",{className:"px-6 py-6",children:[o.map(r=>(0,t.jsx)(n.default,{href:r.href,onClick:()=>p(!1),"aria-current":e.startsWith(r.href)?"page":void 0,className:`flex min-h-12 items-center border-b border-[#1a1a1a]/10 text-base font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[#2D5A4A] ${e.startsWith(r.href)?"text-[#2D5A4A]":"text-[#1a1a1a] hover:text-[#2D5A4A]"}`,children:r.label},r.href)),(0,t.jsx)("div",{className:"mt-5 space-y-3 border-t border-[#1a1a1a]/10 pt-5",children:h?(0,t.jsx)(n.default,{href:"/dashboard",onClick:()=>p(!1),className:"flex min-h-12 items-center justify-center rounded-lg bg-[#234539] px-6 text-center text-sm font-medium tracking-[0.1em] text-white transition-colors hover:bg-[#234539] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2D5A4A] focus-visible:ring-offset-4",children:"Dashboard"}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(n.default,{href:"/login",onClick:()=>p(!1),className:"flex min-h-12 items-center text-base font-medium text-[#1a1a1a]/70 transition-colors hover:text-[#2D5A4A] focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-inset focus-visible:ring-[#2D5A4A]",children:"Log In"}),(0,t.jsx)(n.default,{href:l.href,onClick:()=>p(!1),className:"flex min-h-12 items-center justify-center rounded-full border border-[#2D5A4A]/70 bg-white/70 px-6 text-center text-sm font-medium tracking-[0.08em] text-[#2D5A4A] transition-colors hover:bg-[#2D5A4A] hover:text-white focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-[#2D5A4A] focus-visible:ring-offset-4",children:l.label})]})})]})})]})]})}])},776639,326999,995926,e=>{"use strict";var t=e.i(843476),r=e.i(271645),n=e.i(981140),i=e.i(820783),s=e.i(742004),a=e.i(610772),o=e.i(369340),l=e.i(726330),c=e.i(765491),d=e.i(774606),u=e.i(296626);function f(e){var n;let s,a=(n=e,(s=r.forwardRef((e,t)=>
3{let{children:n,...s}=e;if(r.isValidElement(n)){var a;let e,o,l=(a=n,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let r={...t};for(let n in t){let i=e[n],s=t[n];/^on[A-Z]/.test(n)?i&&s?r[n]=(...e)=>{let t=s(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...s}:"className"===n&&(r[n]=[i,s].filter(Boolean).join(" "))}return{...e,...r}}(s,n.props);return n.type!==r.Fragment&&(c.ref=t?(0,i.composeRefs)(t,l):l),r.cloneElement(n,c)}return r.Children.count(n)>1?r.Children.only(null):null})).displayName=`${n}.SlotClone`,s),o=r.forwardRef((e,n)=>{let{children:i,...s}=e,o=r.Children.toArray(i),l=o.find(p);if(l){let e=l.props.children,i=o.map(t=>t!==l?t:r.Children.count(e)>1?r.Children.only(null):r.isValidElement(e)?e.props.children:null);return(0,t.jsx)(a,{...s,ref:n,children:r.isValidElement(e)?r.cloneElement(e,void 0,i):null})}return(0,t.jsx)(a,{...s,ref:n,children:i})});return o.displayName=`${e}.Slot`,o}e.i(174080);var m=Symbol("radix.slottable");function p(e){return r.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===m}var h=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=f(`Primitive.${n}`),s=r.forwardRef((e,r)=>{let{asChild:s,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,t.jsx)(s?i:n,{...a,ref:r})});return s.displayName=`Primitive.${n}`,{...e,[n]:s}},{}),x=e.i(303536),g=e.i(985369),b=e.i(186312),v="Dialog",[y,w]=(0,s.createContextScope)(v),[j,N]=y(v),A=e=>{let{__scopeDialog:n,children:i,open:s,defaultOpen:l,onOpenChange:c,modal:d=!0}=e,u=r.useRef(null),f=r.useRef(null),[m,p]=(0,o.useControllableState)({prop:s,defaultProp:l??!1,onChange:c,caller:v});return(0,t.jsx)(j,{scope:n,triggerRef:u,contentRef:f,contentId:(0,a.useId)(),titleId:(0,a.useId)(),descriptionId:(0,a.useId)(),open:m,onOpenChange:p,onOpenToggle:r.useCallback(()=>p(e=>!e),[p]),modal:d,children:i})};A.displayName=v;var D="DialogTrigger",C=r.forwardRef((e,r)=>{let{__scopeDialog:s,...a}=e,o=N(D,s),l=(0,i.useComposedRefs)(r,o.triggerRef);return(0,t.jsx)(h.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.contentId,"data-state":G(o.open),...a,ref:l,onClick:(0,n.composeEventHandlers)(e.onClick,o.onOpenToggle)})});C.displayName=D;var k="DialogPortal",[E,R]=y(k,{forceMount:void 0}),P=e=>{let{__scopeDialog:n,forceMount:i,children:s,container:a}=e,o=N(k,n);return(0,t.jsx)(E,{scope:n,forceMount:i,children:r.Children.map(s,e=>(0,t.jsx)(u.Presence,{present:i||o.open,children:(0,t.jsx)(d.Portal,{asChild:!0,container:a,children:e})}))})};P.displayName=k;var S="DialogOverlay",O=r.forwardRef((e,r)=>{let n=R(S,e.__scopeDialog),{forceMount:i=n.forceMount,...s}=e,a=N(S,e.__scopeDialog);return a.modal?(0,t.jsx)(u.Presence,{present:i||a.open,children:(0,t.jsx)(F,{...s,ref:r})}):null});O.displayName=S;var T=f("DialogOverlay.RemoveScroll"),F=r.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,s=N(S,n);return(0,t.jsx)(g.RemoveScroll,{as:T,allowPinchZoom:!0,shards:[s.contentRef],children:(0,t.jsx)(h.div,{"data-state":G(s.open),...i,ref:r,style:{pointerEvents:"auto",...i.style}})})}),I="DialogContent",M=r.forwardRef((e,r)=>{let n=R(I,e.__scopeDialog),{forceMount:i=n.forceMount,...s}=e,a=N(I,e.__scopeDialog);return(0,t.jsx)(u.Presence,{present:i||a.open,children:a.modal?(0,t.jsx)(_,{...s,ref:r}):(0,t.jsx)(L,{...s,ref:r})})});M.displayName=I;var _=r.forwardRef((e,s)=>{let a=N(I,e.__scopeDialog),o=r.useRef(null),l=(0,i.useComposedRefs)(s,a.contentRef,o);return r.useEffect(()=>{let e=o.current;if(e)return(0,b.hideOthers)(e)},[]),(0,t.jsx)(W,{...e,ref:l,trapFocus:a.open,disableOutsidePointerEvents:!0,onCloseAutoFocus:(0,n.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),a.triggerRef.current?.focus()}),onPointerDownOutside:(0,n.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,r=0===t.button&&!0===t.ctrlKey;(2===t.button||r)&&e.preventDefault()}
3),onFocusOutside:(0,n.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})}),L=r.forwardRef((e,n)=>{let i=N(I,e.__scopeDialog),s=r.useRef(!1),a=r.useRef(!1);return(0,t.jsx)(W,{...e,ref:n,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(s.current||i.triggerRef.current?.focus(),t.preventDefault()),s.current=!1,a.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(s.current=!0,"pointerdown"===t.detail.originalEvent.type&&(a.current=!0));let r=t.target;i.triggerRef.current?.contains(r)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&a.current&&t.preventDefault()}})}),W=r.forwardRef((e,n)=>{let{__scopeDialog:s,trapFocus:a,onOpenAutoFocus:o,onCloseAutoFocus:d,...u}=e,f=N(I,s),m=r.useRef(null),p=(0,i.useComposedRefs)(n,m);return(0,x.useFocusGuards)(),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:a,onMountAutoFocus:o,onUnmountAutoFocus:d,children:(0,t.jsx)(l.DismissableLayer,{role:"dialog",id:f.contentId,"aria-describedby":f.descriptionId,"aria-labelledby":f.titleId,"data-state":G(f.open),...u,ref:p,onDismiss:()=>f.onOpenChange(!1)})}),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(Y,{titleId:f.titleId}),(0,t.jsx)(X,{contentRef:m,descriptionId:f.descriptionId})]})]})}),$="DialogTitle",U=r.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,s=N($,n);return(0,t.jsx)(h.h2,{id:s.titleId,...i,ref:r})});U.displayName=$;var z="DialogDescription",B=r.forwardRef((e,r)=>{let{__scopeDialog:n,...i}=e,s=N(z,n);return(0,t.jsx)(h.p,{id:s.descriptionId,...i,ref:r})});B.displayName=z;var q="DialogClose",H=r.forwardRef((e,r)=>{let{__scopeDialog:i,...s}=e,a=N(q,i);return(0,t.jsx)(h.button,{type:"button",...s,ref:r,onClick:(0,n.composeEventHandlers)(e.onClick,()=>a.onOpenChange(!1))})});function G(e){return e?"open":"closed"}H.displayName=q;var V="DialogTitleWarning",[J,K]=(0,s.createContext)(V,{contentName:I,titleName:$,docsSlug:"dialog"}),Y=({titleId:e})=>{let t=K(V),n=`\`${t.contentName}\` requires a \`${t.titleName}\` for the component to be accessible for screen reader users.
4
5If you want to hide the \`${t.titleName}\`, you can wrap it with our VisuallyHidden component.
6
7For more information, see https://radix-ui.com/primitives/docs/components/${t.docsSlug}`;return r.useEffect(()=>{e&&(document.getElementById(e)||console.error(n))},[n,e]),null},X=({contentRef:e,descriptionId:t})=>{let n=K("DialogDescriptionWarning"),i=`Warning: Missing \`Description\` or \`aria-describedby={undefined}\` for {${n.contentName}}.`;return r.useEffect(()=>{let r=e.current?.getAttribute("aria-describedby");t&&r&&(document.getElementById(t)||console.warn(i))},[i,e,t]),null};e.s(["Close",0,H,"Content",0,M,"Description",0,B,"Overlay",0,O,"Portal",0,P,"Root",0,A,"Title",0,U,"Trigger",0,C],326999);var Z=e.i(841947);e.s(["XIcon",()=>Z.default],995926);var Z=Z,Q=e.i(975157);function ee({...e}){return(0,t.jsx)(P,{"data-slot":"dialog-portal",...e})}function et({className:e,...r}){return(0,t.jsx)(O,{"data-slot":"dialog-overlay",className:(0,Q.cn)("data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",e),...r})}e.s(["Dialog",0,function({...e}){return(0,t.jsx)(A,{"data-slot":"dialog",...e})},"DialogContent",0,function({className:e,children:r,showCloseButton:n=!0,...i}){return(0,t.jsxs)(ee,{"data-slot":"dialog-portal",children:[(0,t.jsx)(et,{}),(0,t.jsxs)(M,{"data-slot":"dialog-content",className:(0,Q.cn)("bg-background data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",e),...i,children:[r,n&&(0,t.jsxs)(H,{"data-slot":"dialog-close",className:"ring-offset-background focus:ring-ring data-[state=open]:bg-accent data-[state=open]:text-muted-foreground absolute top-4 right-4 rounded-xs opacity-70 transition-opacity hover:opacity-100 focus:ring-2 focus:ring-offset-2 focus:outline-hidden disabled:pointer-events-none [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",children:[(0,t.jsx)(Z.default,{}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})},"DialogDescription",0,function({className:e,...r}){return(0,t.jsx)(B,{"data-slot":"dialog-description",className:(0,Q.cn)("text-muted-foreground text-sm",e),...r})},"DialogFooter",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,Q.cn)("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end",e),...r})},"DialogHeader",0,function({className:e,...r}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,Q.cn)("flex flex-col gap-2 text-center sm:text-left",e),...r})},"DialogTitle",0,function({className:e,...r}){return(0,t.jsx)(U,{"data-slot":"dialog-title",className:(0,Q.cn)("text-lg leading-none font-semibold",e),...r})}],776639)},793479,e=>{"use strict";var t=e.i(843476),r=e.i(975157);e.s(["Input",0,function({className:e,type:n,...i}){return(0,t.jsx)("input",{type:n,"data-slot":"input",className:(0,r.cn)("file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input h-9 w-full min-w-0 rounded-md border bg-transparent px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 md:text-sm","focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]","aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",e),...i})}])}]);

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.