PageSourceSearch

https://ophthalogix.com/assets/ods-on-finance-ofpRdumI.js

js ophthalogix.com collected 2026-10-08 04:02:44 UTC 71,877 bytes, 36 lines download raw bytes

vendor: 4,944 bytes, lines 1-36
1import{c as oe,r as h,j as e}from"./query-Gdkuf2KS.js";import{b as Q,F as b,X as dt,S as ut,T as ze,w as qe,v as xt,U as se,H as pt,P as mt,M as ht,L as de,l as ft,C as bt}from"./index-DoxH_mlj.js";import{H as gt}from"./HeroBanner-CO5ns-Wl.js";import{T as yt,U as _e}from"./us-states-DEG4S5NN.js";import{A as je,m as i}from"./motion--sIAFgbw.js";import{M as vt}from"./minus-CIzwi-XA.js";import{P as jt}from"./plus-DKBwvAXR.js";import{S as Xe}from"./stethoscope-B_OO8v3r.js";import{D as Te,C as Qe}from"./dollar-sign-yqBH-_p8.js";import{S as Nt}from"./shield-check-CzkDue47.js";import{C as wt}from"./chevron-up-DPTmA7zD.js";import"./react-vendor-DkWb623H.js";import"./radix-ui-Dxhct8M_.js";/**
2 * @license lucide-react v0.454.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const kt=Q("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]);/**
7 * @license lucide-react v0.454.0 - ISC
8 *
9 * This source code is licensed under the ISC license.
10 * See the LICENSE file in the root directory of this source tree.
11 */const Tt=Q("CreditCard",[["rect",{width:"20",height:"14",x:"2",y:"5",rx:"2",key:"ynyp8z"}],["line",{x1:"2",x2:"22",y1:"10",y2:"10",key:"1b3vmo"}]]);/**
12 * @license lucide-react v0.454.0 - ISC
13 *
14 * This source code is licensed under the ISC license.
15 * See the LICENSE file in the root directory of this source tree.
16 */const Ne=Q("MessageSquare",[["path",{d:"M21 15a2 2 0 0 1-2 2H7l-4 4V5a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2z",key:"1lielz"}]]);/**
17 * @license lucide-react v0.454.0 - ISC
18 *
19 * This source code is licensed under the ISC license.
20 * See the LICENSE file in the root directory of this source tree.
21 */const Ct=Q("PackageCheck",[["path",{d:"m16 16 2 2 4-4",key:"gfu2re"}],["path",{d:"M21 10V8a2 2 0 0 0-1-1.73l-7-4a2 2 0 0 0-2 0l-7 4A2 2 0 0 0 3 8v8a2 2 0 0 0 1 1.73l7 4a2 2 0 0 0 2 0l2-1.14",key:"e7tb2h"}],["path",{d:"m7.5 4.27 9 5.15",key:"1c824w"}],["polyline",{points:"3.29 7 12 12 20.71 7",key:"ousv84"}],["line",{x1:"12",x2:"12",y1:"22",y2:"12",key:"a4e8g8"}]]);/**
22 * @license lucide-react v0.454.0 - ISC
23 *
24 * This source code is licensed under the ISC license.
25 * See the LICENSE file in the root directory of this source tree.
26 */const St=Q("RotateCw",[["path",{d:"M21 12a9 9 0 1 1-9-9c2.52 0 4.93 1 6.74 2.74L21 8",key:"1p45f6"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}]]);/**
27 * @license lucide-react v0.454.0 - ISC
28 *
29 * This source code is licensed under the ISC license.
30 * See the LICENSE file in the root directory of this source tree.
31 */const we=Q("ShoppingCart",[["circle",{cx:"8",cy:"21",r:"1",key:"jimo8o"}],["circle",{cx:"19",cy:"21",r:"1",key:"13723u"}],["path",{d:"M2.05 2.05h2l2.66 12.42a2 2 0 0 0 2 1.58h9.78a2 2 0 0 0 1.95-1.57l1.65-7.43H5.12",key:"9zh506"}]]);/**
32 * @license lucide-react v0.454.0 - ISC
33 *
34 * This source code is licensed under the ISC license.
35 * See the LICENSE file in the root directory of this source tree.
36 */const et=Q("Truck",[["path",{d:"M14 18V6a2 2 0 0 0-2-2H4a2 2 0 0 0-2 2v11a1 1 0 0 0 1 1h2",key:"wrbu53"}],["path",{d:"M15 18H9",key:"1lyqi6"}],["path",{d:"M19 18h2a1 1 0 0 0 1-1v-3.65a1 1 0 0 0-.22-.624l-3.48-4.35A1 1 0 0 0 17.52 8H14",key:"lysw3i"}],["circle",{cx:"17",cy:"18",r:"2",key:"332jqn"}],["circle",{cx:"7",cy:"18",r:"2",key:"19iecd"}]]),Ve=t=>{let n;const r=new Set,l=(g,N)=>{const p=typeof g=="function"?g(n):g;if(!Object.is(p,n)){const k=n;n=N??(typeof p!="object"||p===null)?p:Object.assign({},n,p),r.forEach(M=>M(n,k))}},u=()=>n,d={setState:l,getState:u,getInitialState:()=>a,subscribe:g=>(r.add(g),()=>r.delete(g))},a=n=t(l,u,d);return d},It=(t=>t?Ve(t):Ve),Kt=t=>t;function Et(t,n=Kt){const r=oe.useSyncExternalStore(t.subscribe,oe.useCallback(()=>n(t.getState()),[t,n]),oe.useCallback(()=>n(t.getInitialState()),[t,n]));return oe.useDebugValue(r),r}const Ue=t=>{const n=It(t),r=l=>Et(n,l);return Object.assign(r,n),r},Mt=(t=>t?Ue(t):Ue);function tt(t,n){let r;try{r=t()}catch{return}return{getItem:u=>{var c;const x=a=>a===null?null:JSON.parse(a,void 0),d=(c=r.getItem(u))!=null?c:null;return d instanceof Promise?d.then(x):x(d)},setItem:(u,c)=>r.setItem(u,JSON.stringify(c,void 0)),removeItem:u=>r.removeItem(u)}}const ke=t=>n=>{try{const r=t(n);return r instanceof Promise?r:{then(l){return ke(l)(r)},catch(l){return this}}}catch(r){return{then(l){return this},catch(l){return ke(l)(r)}}}},Ot=(t,n)=>(r,l,u)=>{let c={storage:tt(()=>window.localStorage),partialize:v=>v,version:0,merge:(v,D)=>({...D,...v}),...n},x=!1,d=0;const a=new Set,g=new Set;let N=c.storage;if(!N)return t((...v)=>{console.warn(`[zustand persist middleware] Unable to update item '${c.name}', the given storage is currently unavailable.`),r(...v)},l,u);const p=()=>{const v=c.partialize({...l()});return N.setItem(c.name,{state:v,version:c.version})},k=u.setState;u.setState=(v,D)=>(k(v,D),p());const M=t((...v)=>(r(...v),p()),l,u);u.getInitialState=()=>M;let P;const G=()=>{var v,D;
36if(!N)return;const W=++d;x=!1,a.forEach(T=>{var F;return T((F=l())!=null?F:M)});const U=((D=c.onRehydrateStorage)==null?void 0:D.call(c,(v=l())!=null?v:M))||void 0;return ke(N.getItem.bind(N))(c.name).then(T=>{if(T)if(typeof T.version=="number"&&T.version!==c.version){if(c.migrate){const F=c.migrate(T.state,T.version);return F instanceof Promise?F.then(o=>[!0,o]):[!0,F]}console.error("State loaded from storage couldn't be migrated since no migrate function was provided")}else return[!1,T.state];return[!1,void 0]}).then(T=>{var F;if(W!==d)return;const[o,f]=T;if(P=c.merge(f,(F=l())!=null?F:M),r(P,!0),o)return p()}).then(()=>{W===d&&(U==null||U(l(),void 0),P=l(),x=!0,g.forEach(T=>T(P)))}).catch(T=>{W===d&&(U==null||U(void 0,T))})};return u.persist={setOptions:v=>{c={...c,...v},v.storage&&(N=v.storage)},clearStorage:()=>{N==null||N.removeItem(c.name)},getOptions:()=>c,rehydrate:()=>G(),hasHydrated:()=>x,onHydrate:v=>(a.add(v),()=>{a.delete(v)}),onFinishHydration:v=>(g.add(v),()=>{g.delete(v)})},c.skipHydration||G(),P||M},Pt=Ot,Ce=Mt()(Pt(t=>({lines:[],addItem:(n,r,l=1,u)=>t(c=>c.lines.find(d=>d.productId===n)?{lines:c.lines.map(d=>d.productId===n?{...d,qty:d.qty+l}:d)}:{lines:[...c.lines,{productId:n,name:r,qty:l,price:u}]}),removeItem:n=>t(r=>({lines:r.lines.filter(l=>l.productId!==n)})),setQty:(n,r)=>t(l=>({lines:r<=0?l.lines.filter(u=>u.productId!==n):l.lines.map(u=>u.productId===n?{...u,qty:r}:u)})),clear:()=>t({lines:[]})}),{name:"ods-finance-cart",storage:tt(()=>sessionStorage)}));function Ft(){return Ce(t=>t.lines.reduce((n,r)=>n+r.qty,0))}const st=[{id:"fedex-2day",label:"FedEx 2 Business Day",price:39,netsuiteItemId:"1755"},{id:"overnight",label:"Standard Overnight",price:69,netsuiteItemId:"1757"},{id:"first-overnight",label:"First Overnight",price:129,netsuiteItemId:"1756"}];function Ht(t){return st.find(n=>n.id===t)}const Ye="Card payment is temporarily unavailable. Please call (888) 772-6646 to complete your order.";let ie=null;function $t(){return ie||(ie=fetch("/api/netsuite/payment-config").then(t=>t.json()).then(t=>t.ok&&t.sourceKey&&t.scriptUrl?{sourceKey:t.sourceKey,scriptUrl:t.scriptUrl}:null).catch(()=>null).then(t=>(t||(ie=null),t))),ie}const ve=new Map;function At(t){let n=ve.get(t);return n||(n=new Promise((r,l)=>{const u=document.createElement("script");u.src=t,u.async=!0,u.onload=()=>r(),u.onerror=()=>l(new Error("script load failed")),document.head.appendChild(u)}).catch(r=>{throw ve.delete(t),r}),ve.set(t,n)),n}function Bt(t,n){const[r,l]=h.useState(!1),[u,c]=h.useState(""),[x,d]=h.useState(0),a=h.useRef(null);h.useEffect(()=>{if(!n)return;let p=!1;return l(!1),c(""),(async()=>{const k=await $t();if(!p){if(!k){c(Ye);return}try{if(await At(k.scriptUrl),p||!window.HostedTokenization)return;const M=new window.HostedTokenization(k.sourceKey,{target:`#${t}`,showZip:!0,showFieldErrors:!0,styles:{fontSize:"16px"}});M.on("ready",()=>{p||l(!0)}),a.current=M}catch{p||c(Ye)}}})(),()=>{var k;p=!0,(k=a.current)==null||k.destroy(),a.current=null}},[n,t,x]);function g(){d(p=>p+1)}async function N(){if(!a.current)return{error:"Card details are still loading — please wait a moment and try again."};try{const p=await a.current.getNonceToken();return{nonce:p.nonce,cardType:p.cardType,last4:p.last4,expiryMonth:p.expiryMonth,expiryYear:p.expiryYear,avsZip:p.avsZip}}catch{return{error:"Please check your card details and try again."}}}return{ready:r,loadError:u,getNonceToken:N,retry:g}}const We="ab-hosted-card-form",Ge="Please select a shipping method.",_="#1a5c3a",ce="#c9a96e",Ze="#b8943e",w="#E5E7EB",K="#4b5563",re="#6b7280";function J(t){return`$${t.toFixed(2)}`}function Lt({open:t,onClose:n}){var De;const{lines:r,removeItem:l,setQty:u,clear:c}=Ce(),[x,d]=h.useState("cart"),[a,g]=h.useState("idle"),[N,p]=h.useState(""),[k,M]=h.useState(""),[P,G]=h.useState(""),[v,D]=h.useState(""),[W,U]=h.useState(""),[T,F]=h.useState(""),[o,f]=h.useState(""),[y,R]=h.useState(""),[Z,ae]=h.useState(""),[le,Se]=h.useState(""),[H,ue]=h.useState(!0),[xe,Ie]=h.useState(""),[pe,Ke]=h.useState(""),[me,Ee]=h.useState(""),[he,Me]=h.useState(""),[ne,Oe]=h.useState(""),[Pe,Fe]=h.useState(""),[He,$e]=h.useState(!1),{ready:ee,loadError:fe,getNonceToken:nt,retry:at}=Bt(We,x==="checkout"),Ae=h.useRef(crypto.randomUUID());h.useEffect(()=>{if(!t)return;const s=document.body.style.overflow;return document.body.style.overflow="hidden",()=>{document.body.style.overflow=s}},[t]),h.useEffect(()=>{if(!t)return;const s=document.querySelector('meta[name="viewport"]'),z=(s==null?void 0:s.getAttribute("content"))??"width=device-width, initial-scale=1.0";s==null||s.remove();const q=document.createElement("meta");return q.setAttribute("name","viewport"),q.setAttribute("content",`${z}, maximum-scale=1`),document.head.appendChild(q),()=>{q.remove();const te=document.createElement("meta");te.setAttribute("name","viewport"),te.setAttribute("content",z),document.head.appendChild(te)}},[t]);const be=r.reduce((s,z)=>s+(z.price??0)*z.qty,0),Be=r.some(s=>s.price!=null),Le=((De=Ht(ne))==null?void 0:De.price)??0,lt=be+Le;function ot(){d("cart"),g("idle"),p(""),M(""),G(""),D(""),U(""),F(""),f(""),R(""),ae(""),Se(""),ue(!0),Ie(""),Ke(""),Ee(""),Me(""),Oe(""),Fe(""),$e(!1),Ae.current=crypto.randomUUID()}function ge(){n(),setTimeout(ot,300)}function it(){return!P||!v||!W||!T?"Please fill in your practice name, doctor name, email, and ph
36one.":!o||!y||!Z||!le?"Please complete your billing address.":!H&&(!xe||!pe||!me||!he)?"Please complete your shipping address.":ne?null:Ge}async function ct(s){s.preventDefault(),p("");const z=it();if(z){p(z);return}g("submitting");const q=await nt();if("error"in q){p(q.error),g("idle");return}try{const te=await fetch("/api/netsuite/checkout",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({practiceName:P,doctorName:v,email:W,phone:T,billingAddress:o,billingCity:y,billingState:Z,billingZip:le,shippingAddress:H?o:xe,shippingCity:H?y:pe,shippingState:H?Z:me,shippingZip:H?le:he,shippingMethod:ne,notes:Pe,smsConsent:He,cardNonceToken:q.nonce,cardExpiryMonth:q.expiryMonth,cardExpiryYear:q.expiryYear,cardAvsZip:q.avsZip,lines:r.map(Re=>({productId:Re.productId,qty:Re.qty})),idempotencyKey:Ae.current})}),ye=await te.json();if(!te.ok||!ye.ok){p(ye.error??"Something went wrong. Please try again or call (888) 772-6646."),g("idle");return}M(ye.orderRef??""),c(),d("success"),g("idle")}catch{p("Network error. Please check your connection and try again."),g("idle")}}const $="w-full px-3.5 py-2.5 rounded-lg text-base outline-none transition-all duration-150",O={background:"#ffffff",border:`1px solid ${w}`,color:"#1a1a1a"},A={borderColor:_};return e.jsx(je,{children:t&&e.jsxs(e.Fragment,{children:[e.jsx(i.div,{initial:{opacity:0}
36,animate:{opacity:1},exit:{opacity:0},transition:{duration:.2},className:"fixed inset-0 z-[60]",style:{background:"rgba(10,20,12,0.6)",backdropFilter:"blur(2px)"},onClick:ge,"aria-hidden":"true"},"backdrop"),e.jsxs(i.div,{role:"dialog","aria-modal":"true","aria-labelledby":"cart-title",initial:{opacity:0,x:32},animate:{opacity:1,x:0},exit:{opacity:0,x:32},transition:{duration:.25,ease:"easeOut"},className:"fixed inset-y-0 right-0 z-[60] w-full sm:w-[440px] flex flex-col",style:{background:"#FAFBFC",boxShadow:"-8px 0 32px rgba(0,0,0,0.15)"},children:[e.jsxs("div",{className:"flex items-center justify-between px-6 py-5 shrink-0",style:{borderBottom:`1px solid ${w}`},children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx(we,{size:18,strokeWidth:2,style:{color:_}}),e.jsx("h2",{id:"cart-title",className:"text-base font-bold",style:{color:_,fontFamily:"var(--font-heading)"},children:e.jsx(b,{devId:"d3ded8",guard:{file:"src/components/CartCheckoutModal.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:f98432d4726d54edb043f4e8c699c9be1b5980296fe849caa5ddab047ab2d5b9"},children:x==="cart"?"Your Order":x==="checkout"?"Checkout":"Order Received"})})]}),e.jsx("button",{onClick:ge,className:"p-1.5 rounded transition-colors duration-150",style:{color:re},"aria-label":"Close",children:e.jsx(dt,{size:18})})]}),e.jsxs("div",{className:"flex-1 overflow-y-auto px-6 py-5",children:[x==="cart"&&(r.length===0?e.jsxs("div",{className:"flex flex-col items-center text-center gap-3 py-16",children:[e.jsx(we,{size:32,strokeWidth:1.5,style:{color:"#d1d5db"}}),e.jsx("p",{className:"text-sm",style:{color:re},children:"Your cart is empty."})]}):e.jsx("div",{className:"flex flex-col gap-4",children:r.map(s=>e.jsxs("div",{className:"flex items-start justify-between gap-3 pb-4",style:{borderBottom:`1px solid ${w}`},children:[e.jsxs("div",{className:"flex-1 min-w-0",children:[e.jsx("div",{className:"text-sm font-semibold",style:{color:"#1a1a1a"},children:s.name}),s.price!=null&&e.jsxs("div",{className:"text-xs mt-0.5",style:{color:re},children:[J(s.price)," / membrane"]}),e.jsxs("div",{className:"flex items-center gap-2 mt-2",children:[e.jsx("button",{type:"button",onClick:()=>u(s.productId,s.qty-1),className:"w-7 h-7 flex items-center justify-center rounded-md transition-colors duration-150",style:{border:`1px solid ${w}`,color:K},"aria-label":"Decrease quantity",children:e.jsx(vt,{size:13})}),e.jsx("span",{className:"text-sm font-semibold w-6 text-center",style:{color:"#1a1a1a"},children:s.qty}),e.jsx("button",{type:"button",onClick:()=>u(s.productId,s.qty+1),className:"w-7 h-7 flex items-center justify-center rounded-md transition-colors duration-150",style:{border:`1px solid ${w}`,color:K},"aria-label":"Increase quantity",children:e.jsx(jt,{size:13})})]})]}),e.jsxs("div",{className:"flex flex-col items-end gap-2",children:[s.price!=null&&e.jsx("div",{className:"text-sm font-bold",style:{color:_},children:J(s.price*s.qty)}),e.jsx("button",{type:"button",onClick:()=>l(s.productId),className:"p-1 rounded transition-colors duration-150",style:{color:re},"aria-label":`Remove ${s.name}`,children:e.jsx(yt,{size:14})})]})]},s.productId))})),x==="checkout"&&e.jsxs("form",{id:"checkout-form",onSubmit:ct,noValidate:!0,className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx("label",{htmlFor:"co-practice",className:"text-xs font-semibold",style:{color:K},children:"Practice name *"}),e.jsx("input",{id:"co-practice",type:"text",required:!0,autoComplete:"organization",value:P,onChange:s=>G(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx("label",{htmlFor:"co-doctor",className:"text-xs font-semibold",style:{color:K},children:"Doctor name *"}),e.jsx("input",{id:"co-doctor",type:"text",required:!0,autoComplete:"name",value:v,onCh
36ange:s=>D(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}})]})]}),e.jsxs("div",{className:"grid grid-cols-1 sm:grid-cols-2 gap-3",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx("label",{htmlFor:"co-email",className:"text-xs font-semibold",style:{color:K},children:"Email *"}),e.jsx("input",{id:"co-email",type:"email",required:!0,autoComplete:"email",value:W,onChange:s=>U(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx("label",{htmlFor:"co-phone",className:"text-xs font-semibold",style:{color:K},children:"Phone"}),e.jsx("input",{id:"co-phone",type:"tel",autoComplete:"tel",value:T,onChange:s=>F(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}})]})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx("label",{htmlFor:"co-billing-address",className:"text-xs font-semibold",style:{color:K},children:"Billing address *"}),e.jsx("input",{id:"co-billing-address",type:"text",required:!0,autoComplete:"billing street-address",value:o,onChange:s=>f(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}})]}),e.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[e.jsx("input",{"aria-label":"Billing city",type:"text",placeholder:"City",required:!0,autoComplete:"billing address-level2",value:y,onChange:s=>R(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}}),e.jsxs("select",{"aria-label":"Billing state",required:!0,autoComplete:"billing address-level1",value:Z,onChange:s=>ae(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w},children:[e.jsx("option",{value:"",disabled:!0,children:"State"}),_e.map(s=>e.jsx("option",{value:s,children:s},s))]}),e.jsx("input",{"aria-label":"Billing ZIP",type:"text",placeholder:"ZIP",required:!0,autoComplete:"billing postal-code",value:le,onChange:s=>Se(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}})]}),e.jsxs("label",{className:"flex items-center gap-3 cursor-pointer select-none",children:[e.jsx("div",{onClick:()=>ue(!H),className:"relative w-10 h-5 rounded-full transition-colors duration-200 flex-shrink-0",style:{background:H?_:"#d1d5db"},role:"switch","aria-checked":H,tabIndex:0,onKeyDown:s=>{(s.key===" "||s.key==="Enter")&&(s.preventDefault(),ue(!H))},children:e.jsx("div",{className:"absolute top-0.5 w-4 h-4 rounded-full bg-white shadow transition-transform duration-200",style:{transform:H?"translateX(22px)":"translateX(2px)"}})}),e.jsx("span",{className:"text-xs font-semibold",style:{color:K},children:"Shipping address same as billing"})]}),e.jsx(je,{children:!H&&e.jsxs(i.div,{initial:{opacity:0,height:0},animate:{opacity:1,height:"auto"},exit:{opacity:0,height:0},transition:{duration:.2},style:{overflow:"hidden"},className:"flex flex-col gap-4",children:[e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx("label",{htmlFor:"co-address",className:"text-xs font-semibold",style:{color:K},children:"Shipping address *"}),e.jsx("input",{id:"co-address",type:"text",required:!H,autoComplete:"shipping street-address",value:xe,onChange:s=>Ie(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}})]}),e.jsxs("div",{className:"grid grid-cols-3 gap-3",children:[e.jsx("input",{"aria-label":"Shipping city",type:"text",placeholder:"City",required:!H,autoComplete:"shipping address-level2",value:pe,onChange:s=>Ke(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}}),e.jsxs("select",{"aria-label":"Shipping state",required:!H,autoComplete:"shipping address-level1",value:me,onChange:s=>Ee(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>
36{s.currentTarget.style.borderColor=w},children:[e.jsx("option",{value:"",disabled:!0,children:"State"}),_e.map(s=>e.jsx("option",{value:s,children:s},s))]}),e.jsx("input",{"aria-label":"Shipping ZIP",type:"text",placeholder:"ZIP",required:!H,autoComplete:"shipping postal-code",value:he,onChange:s=>Me(s.target.value),className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w}})]})]},"shipping-address")}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsx("label",{htmlFor:"co-shipping-method",className:"text-xs font-semibold",style:{color:K},children:"Shipping method *"}),e.jsxs("select",{id:"co-shipping-method",required:!0,value:ne,onChange:s=>{Oe(s.target.value),s.target.value&&p(z=>z===Ge?"":z)},className:$,style:O,onFocus:s=>Object.assign(s.currentTarget.style,A),onBlur:s=>{s.currentTarget.style.borderColor=w},children:[e.jsx("option",{value:"",disabled:!0,children:"Select a shipping option"}),st.map(s=>e.jsxs("option",{value:s.id,children:[s.label," — ",J(s.price)]},s.id))]})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsxs("label",{htmlFor:"co-notes",className:"text-xs font-semibold",style:{color:K},children:["Notes ",e.jsx("span",{style:{color:"#9ca3af"},children:"(optional)"})]}),e.jsx("textarea",{id:"co-notes",rows:2,value:Pe,onChange:s=>Fe(s.target.value),className:$,style:{...O,resize:"vertical"},onFocus:s=>Object.assign(s.currentTarget.style,{...O,...A}),onBlur:s=>Object.assign(s.currentTarget.style,O)})]}),e.jsx(ut,{id:"co-sms-consent",checked:He,onChange:$e,textColor:re,accentColor:_}),Be&&e.jsxs("div",{className:"rounded-lg p-3.5 flex flex-col gap-1.5",style:{background:"#f9fafb",border:`1px solid ${w}`},children:[e.jsxs("div",{className:"flex items-center justify-between text-xs",style:{color:K},children:[e.jsx("span",{children:"Subtotal"}),e.jsx("span",{children:e.jsx(b,{devId:"adbf31",guard:{file:"src/components/CartCheckoutModal.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:743974504bd8b394221730d9b530c435440f8ac943644483344b6cb8e75e1ba1"},children:J(be)})})]}),e.jsxs("div",{className:"flex items-center justify-between text-xs",style:{color:K},children:[e.jsx("span",{children:"Shipping"}),e.jsx("span",{children:e.jsx(b,{devId:"ef9412",guard:{file:"src/components/CartCheckoutModal.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:f3cd52dd5e6047f82c33ae2f0845f058f9dda3463bf2871f0c550bee7e9c99e4"},children:ne?J(Le):"—"})})]}),e.jsxs("div",{className:"flex items-center justify-between text-sm font-bold pt-1.5",style:{color:_,borderTop:`1px solid ${w}`},children:[e.jsx("span",{children:"Total"}),e.jsx("span",{children:e.jsx(b,{devId:"3168f3",guard:{file:"src/components/CartCheckoutModal.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:dbb1baa58640fd35ee74993788ebd919a60cb29affb0949921c737c09b81f9a2"},children:J(lt)})})]})]}),e.jsxs("div",{className:"flex flex-col gap-1.5",children:[e.jsxs("label",{className:"text-xs font-semibold flex items-center gap-1.5",style:{color:K},children:[e.jsx(Tt,{size:13})," Card details *"]}),e.jsx("div",{id:We,className:"rounded-lg px-3.5 py-2.5",style:{background:"#ffffff",border:`1px solid ${w}`,minHeight:44}}),!ee&&!fe&&e.jsxs("div",{className:"flex items-center gap-1.5 text-xs",style:{color:re},children:[e.jsx(ze,{size:12,className:"animate-spin"})," Loading secure card form…"]}),fe&&e.jsxs("div",{className:"flex items-start gap-1.5 text-xs",style:{color:"#b91c1c"},children:[e.jsx(qe,{size:12,className:"shrink-0 mt-0.5"}),e.jsxs("span",{children:[fe," ",e.jsxs("button",{type:"button",onClick:at,className:"inline-flex items-center gap-1 font-semibold underline underline-offset-2",children:[e.jsx(St,{size:11})," Try again"]})]})]})]}),e.jsx("div",{className:"rounded-lg p-3.5 text-xs leading-relaxed",style:{background:"rgba(201,169,110,0.1)",border:"1px solid rgba(201,169,110,0.3)",color:"#7a5f2e"},children:"Submitting places your order and authorizes the charge."}),N&&e.jsxs("div",{className:"flex items-start gap-2.5 px-4 py-3 rounded-lg text-sm",style:{background:"rgba(220,38,38,0.06)",border:"1px solid rgba(220,38,38,0.2)",color:"#b91c1c"},children:[e.jsx(qe,{size:15,className:"shrink-0 mt-0.5"}),e.jsx("span",{children:e.jsx(b,{devId:"e7d5bf",guard:{file:"src/components/CartCheckoutModal.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
36ash:"sha256:1c0238d2a5401216440d3a40ef09cf8a641cbbc703bbdb0cfe4af2625e4564c6"},children:N})})]})]}),x==="success"&&e.jsxs("div",{className:"flex flex-col items-center text-center gap-4 py-12",children:[e.jsx("div",{className:"w-14 h-14 rounded-full flex items-center justify-center",style:{background:"rgba(26,92,58,0.1)",border:"1px solid rgba(26,92,58,0.25)"},children:e.jsx(xt,{size:28,style:{color:_}})}),e.jsxs("div",{children:[e.jsxs("h3",{className:"text-lg font-bold mb-2",style:{color:_,fontFamily:"var(--font-heading)"},children:["Order received",k?` — ${k}`:"","."]}),e.jsx("p",{className:"text-sm leading-relaxed",style:{color:K},children:"Your payment has been processed and your order is confirmed. Our team will follow up with shipping details, and you'll get a confirmation by email."})]})]})]}),x==="cart"&&r.length>0&&e.jsxs("div",{className:"px-6 py-5 shrink-0",style:{borderTop:`1px solid ${w}`},children:[Be&&e.jsxs("div",{className:"flex items-center justify-between mb-3",children:[e.jsx("span",{className:"text-sm font-semibold",style:{color:K},children:"Subtotal"}),e.jsx("span",{className:"text-lg font-bold",style:{color:_},children:e.jsx(b,{devId:"f52233",guard:{file:"src/components/CartCheckoutModal.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:743974504bd8b394221730d9b530c435440f8ac943644483344b6cb8e75e1ba1"},children:J(be)})})]}),e.jsx("button",{type:"button",onClick:()=>d("checkout"),className:"block w-full text-center px-4 py-3 rounded-lg text-sm font-bold tracking-wide transition-all duration-150",style:{background:ce,color:"#0f2d18"},onMouseEnter:s=>{s.currentTarget.style.background=Ze},onMouseLeave:s=>{s.currentTarget.style.background=ce},children:"Checkout →"})]}),x==="checkout"&&e.jsxs("div",{className:"px-6 py-5 flex items-center gap-3 shrink-0",style:{borderTop:`1px solid ${w}`},children:[e.jsx("button",{type:"button",onClick:()=>d("cart"),className:"px-4 py-3 rounded-lg text-sm font-semibold transition-all duration-150",style:{border:`1px solid ${w}`,color:K},children:"Back"}),e.jsxs("button",{type:"submit",form:"checkout-form",disabled:a==="submitting"||!ee,className:"flex-1 flex items-center justify-center gap-2 px-4 py-3 rounded-lg text-sm font-bold tracking-wide transition-all duration-150",style:{background:a==="submitting"||!ee?"#d8c49a":ce,color:"#0f2d18",cursor:a==="submitting"||!ee?"not-allowed":"pointer"},onMouseEnter:s=>{a!=="submitting"&&ee&&(s.currentTarget.style.background=Ze)},onMouseLeave:s=>{a!=="submitting"&&ee&&(s.currentTarget.style.background=ce)},children:[a==="submitting"&&e.jsx(ze,{size:15,className:"animate-spin"}),a==="submitting"?"Submitting…":"Place Order"]})]}),x==="success"&&e.jsx("div",{className:"px-6 py-5 shrink-0",style:{borderTop:`1px solid ${w}`},children:e.jsx("button",{type:"button",onClick:ge,className:"block w-full text-center px-4 py-3 rounded-lg text-sm font-bold tracking-wide transition-all duration-150",style:{background:_,color:"#ffffff"},children:"Done"})})]},"panel")]})})}const Dt="https://ophthalogix.com",m={hidden:{opacity:0,y:32},visible:{opacity:1,y:0,transition:{duration:.55,ease:"easeOut"}}},S={hidden:{},visible:{transition:{staggerChildren:.08}}},X="#c9a96e",rt="#b8943e",Rt={"bk-1":"https://calendly.com/kristin-ophthalogix/quick-intro-call","bk-2":"https://calendly.com/kristin-ophthalogix/clinical-consultation"},V="#FAFBFC",C="#1a5c3a",B="#16a34a",j="#E5E7EB",E="#1a5c3a",I="#4b5563",L="#6b7280",zt={dollar:Te,package:Ct,stethoscope:Xe,truck:et},Je={Aurora:"/airo-assets/images/pages/platform/aurora-disc-aperture",Eclipse:"/airo-assets/images/pages/platform/eclipse-product-forceps-light"},qt={Aurora:"#eef1ee",Eclipse:"#1a2e3a"},_t={Aurora:{name:"Aurora",description:"Single-layer AMT with a patent-pending central aperture."},Eclipse:{name:"Eclipse",description:"Single-layer AMT in four diameters, for office and O.R. use."}},Vt=[{icon:e.jsx(Te,{size:16,strokeWidth:2}),label:"Member Pricing",detail:"Preferred rates across Aurora & Eclipse"},{icon:e.jsx(Nt,{size:16,strokeWidth:2}),label:"FDA HCT/P Compliant",detail:"AATB-accredited processing, every batch"},{icon:e.jsx(Xe,{size:16,strokeWidth:2}),label:"Clinical Support",detail:"Direct line to our clinical team"},{icon:e.jsx(et,{size:16,strokeWidth:2}),label:"Fast Fulfillment",detail:"Ships same or next business day"}],Ut=[{number:"15+",label:"Years of experience"},{number:"99%",label:"Satisfaction rate"},{number:"50k",label:"Patients treated"},{number:"24/7",label:"Active support"}],Yt=[{name:"Dr. Maren Voss",role:"Optometrist",quote:"I've been using amniotic membrane treatments for years, and they've consistently given great results for my patients. Healing time has been smoother, irritation improves quickly, and overall patient comfort is much better."},{name:"Dr. Tariq Osei",role:"Optometrist",quote:"As someone who manages a busy clinic, amniotic membrane treatments have been a great addition to our practice. Patients respond really well to them, and we've seen consistently positive results over the years."}];function Y({children:t,dark:n=!1}){const r=n?X:C;return e.jsxs("div",{className:"flex items-center gap-3 mb-4",children:[e.jsx("div",{className:"w-1.5 h-1.5 rounded-full shrink-0",style:{background:r}}),e.jsx("div",{className:"h-px w-8 shrink-0",style:{background:r}}),e.jsx("span",{className:"text-xs font-semibold tracking-widest uppercase",style:{color:r},children:e.jsx(b,{devId:"f4ebeb",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
36ash:"sha256:10910087de24bfcabe854fda62b5023a61fe531705043b9979fdf00f12c4c0ec"},children:t})})]})}function Wt({data:t}){return e.jsx("section",{className:"py-16 md:py-24",style:{background:V},children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"max-w-3xl mb-10",children:[e.jsx(i.div,{variants:m,children:e.jsx(Y,{children:t.sectionLabel})}),e.jsx(i.h2,{variants:m,className:"text-2xl md:text-3xl font-bold mb-4",style:{color:E,fontFamily:"var(--font-heading)"},children:e.jsx(b,{devId:"f5d915",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:40e147669cd58a6f7c7c1c5d90c24e5af97500851cbcb365f5e503a12dd2cc9d"},children:t.headline})}),e.jsx(i.p,{variants:m,className:"text-sm leading-relaxed",style:{color:I},children:e.jsx(b,{devId:"7bf06b",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:ee962456e79102c4bfdefd8fb2272a46c99a6427aef7959c5cc9ad5753a09265"},children:t.body})})]}),e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,children:[e.jsx(i.h3,{variants:m,className:"text-xs font-bold tracking-widest uppercase mb-4",style:{color:B},children:e.jsx(b,{devId:"54e6d7",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:8e6da5d45bbf2181f89fdfe0b388d8caffdb93d05c66b0666a9cc5b0838a877f"},children:t.applicationsLabel})}),e.jsx(i.div,{variants:S,className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4 mb-10",children:t.applications.map(n=>e.jsxs(i.div,{variants:m,className:"rounded-xl p-5",style:{background:"#ffffff",border:`1px solid ${j}`},children:[e.jsx("h4",{className:"text-sm font-bold mb-2",style:{color:E},children:n.condition}),e.jsx("div",{className:"flex flex-col gap-1",children:n.codes.map(r=>e.jsxs("div",{className:"text-xs",style:{color:L},children:[e.jsx("span",{className:"font-mono font-semibold",style:{color:I},children:r.code})," — ",r.laterality]},r.code))})]},n.id))})]}),e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:m,className:"rounded-xl p-6 flex items-start gap-3",style:{background:"#ffffff",border:`1px solid ${j}`},children:[e.jsx(Qe,{size:18,style:{color:B,flexShrink:0,marginTop:2}}),e.jsxs("div",{children:[e.jsx("h4",{className:"text-sm font-bold mb-1",style:{color:E},children:e.jsx(b,{devId:"f52ee9",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h4",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:afe1a2f5592f9ffeb0b0459326112fdaf445b11d049428103bf9ba628e00bfd9"},children:t.integrationHeadline})}),e.jsx("p",{className:"text-sm leading-relaxed",style:{color:I},children:e.jsx(b,{devId:"3ddb7d",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:91f958da97e08f10c2139488995bbd982c7527e88fc7fd78430d437433ab3d29"},children:t.integrationBody})})]})]})]})})}function Gt({data:t}){return e.jsx("section",{className:"py-16 md:py-24",style:{background:"#ffffff",borderTop:`1px solid ${j}`},children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"max-w-2xl mb-10",children:[e.jsx(i.div,{variants:m,children:e.jsx(Y,{children:t.sectionLabel})}),e.jsx(i.h2,{variants:m,className:"text-2xl md:text-3xl font-bold",style:{color:E,fontFamily:"var(--font-heading)"},children:e.jsx(b,{devId:"f5d915",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:40e147669cd58a6f7c7c1c5d90c24e5af97500851cbcb365f5e503a12dd2cc9d"},children:t.headline})})]}
36),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-5 gap-4",children:t.pillars.map(n=>e.jsxs(i.div,{variants:m,className:"rounded-xl p-5",style:{background:V,border:`1px solid ${j}`},children:[e.jsx("h3",{className:"text-xs font-bold tracking-wide uppercase mb-2",style:{color:C},children:n.title}),e.jsx("p",{className:"text-xs leading-relaxed",style:{color:I},children:n.body})]},n.id))})]})})}function Zt({data:t}){return e.jsx("section",{className:"py-16 md:py-20",style:{background:V,borderTop:`1px solid ${j}`},children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:m,children:e.jsx(Y,{children:t.sectionLabel})}),e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:m,className:"rounded-2xl p-8 md:p-10 text-center",style:{background:"linear-gradient(135deg, #0d2818 0%, #1a3a20 100%)"},children:[e.jsxs("span",{className:"inline-block text-xs font-bold tracking-widest uppercase px-3 py-1 rounded-full mb-4",style:{background:"rgba(201,169,110,0.15)",color:X},children:["CPT ",t.cptCode]}),e.jsx("h2",{className:"text-3xl md:text-4xl font-bold mb-2",style:{color:"#ffffff",fontFamily:"var(--font-heading)"},children:e.jsx(b,{devId:"e21b72",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:40e147669cd58a6f7c7c1c5d90c24e5af97500851cbcb365f5e503a12dd2cc9d"},children:t.headline})}),e.jsx("p",{className:"text-sm font-semibold tracking-wide uppercase mb-6",style:{color:"#7a9e8a"},children:e.jsx(b,{devId:"8adb28",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:320bc5af50e045c8d11c671f45e10718f0703fc00dc1d3e74f5803b736c24f3b"},children:t.subline})}),e.jsx("p",{className:"text-xs max-w-xl mx-auto leading-relaxed mb-4",style:{color:"#a8c4b3"},children:e.jsx(b,{devId:"8adb29",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:2f660d041e0c74fac9920c8727dee263e126f885f0380b4d4385b6613bdb721b"},children:t.disclaimer})}),e.jsxs(de,{to:t.ctaHref,className:"text-xs font-semibold underline",style:{color:X},children:[t.cta," →"]})]})]})})}function Jt({data:t}){return e.jsx("section",{className:"py-16 md:py-24",style:{background:"#ffffff",borderTop:`1px solid ${j}`},children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"max-w-2xl mb-10",children:[e.jsx(i.div,{variants:m,children:e.jsx(Y,{children:t.sectionLabel})}),e.jsx(i.h2,{variants:m,className:"text-2xl md:text-3xl font-bold",style:{color:E,fontFamily:"var(--font-heading)"},children:e.jsx(b,{devId:"f5d915",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:40e147669cd58a6f7c7c1c5d90c24e5af97500851cbcb365f5e503a12dd2cc9d"},children:t.headline})})]}),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:m,className:"overflow-x-auto mb-8 rounded-xl",style:{border:`1px solid ${j}`},children:e.jsxs("table",{className:"w-full text-sm",style:{borderCollapse:"collapse"},children:[e.jsx("thead",{children:e.jsxs("tr",{style:{background:V},children:[e.jsx("th",{className:"text-left px-4 py-3 font-semibold",style:{color:L,borderBottom:`1px solid ${j}`}}),e.jsx("th",{className:"text-left px-4 py-3 font-bold",style:{color:C,borderBottom:`1px solid ${j}`},children:"Aurora"}),e.jsx("th",{className:"text-left px-4 py-3 font-bold",style:{color:B,borderBottom:`1px solid ${j}`},children:"Eclipse"})]})}),e.jsx("tbody",{children:t.rows.map(n=>e.jsxs("tr",{children:[e.jsx("td",{className:"px-4 py-3 font-semibold",style:{color:E,borderBottom:`1px solid ${j}`},children:n.attribute}),e.jsx("td",{className:"px-4 py-3",style:{color:I,borderBottom:`1px solid ${j}`},children:n.aurora}),e.jsx("td",{className:"px-4 py-3",style:{color:I,borderBottom:`1px solid ${j}`},children:n.eclipse})]},n.id))})]})}
36),e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"grid grid-cols-1 md:grid-cols-2 gap-4",children:[e.jsxs(i.div,{variants:m,className:"rounded-xl p-6",style:{background:V,border:`1px solid ${j}`},children:[e.jsx("h3",{className:"text-sm font-bold mb-2",style:{color:C},children:"When to choose Aurora"}),e.jsx("p",{className:"text-sm leading-relaxed",style:{color:I},children:e.jsx(b,{devId:"382601",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:594745c76984766ddfe87ff87e70d33598a8bde79cf4734c98cd065bdb12c6f1"},children:t.whenToChoose.aurora})})]}),e.jsxs(i.div,{variants:m,className:"rounded-xl p-6",style:{background:V,border:`1px solid ${j}`},children:[e.jsx("h3",{className:"text-sm font-bold mb-2",style:{color:B},children:"When to choose Eclipse"}),e.jsx("p",{className:"text-sm leading-relaxed",style:{color:I},children:e.jsx(b,{devId:"4a3e82",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:27a048fe2bdb8b3c42da9c096e9ce7581585e903adb91a43e7b38e5788321c61"},children:t.whenToChoose.eclipse})})]})]})]})})}const Xt={Aurora:"#1a5c3a",Eclipse:"#16a34a",Tetra:"#1a5c3a"};function Qt({data:t}){const n=t.caseSlugs.map(r=>ft.cases.find(l=>l.slug===r)).filter(r=>!!r);return n.length===0?null:e.jsx("section",{className:"py-16 md:py-24",style:{background:V,borderTop:`1px solid ${j}`},children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"max-w-2xl mb-10",children:[e.jsx(i.div,{variants:m,children:e.jsx(Y,{children:t.sectionLabel})}),e.jsx(i.h2,{variants:m,className:"text-2xl md:text-3xl font-bold",style:{color:E,fontFamily:"var(--font-heading)"},children:e.jsx(b,{devId:"f5d915",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:40e147669cd58a6f7c7c1c5d90c24e5af97500851cbcb365f5e503a12dd2cc9d"},children:t.headline})})]}),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 mb-8",children:n.map(r=>e.jsx(i.div,{variants:m,children:e.jsxs(de,{to:`/education/cases/${r.slug}`,className:"block rounded-xl overflow-hidden transition-all duration-200",style:{background:"#ffffff",border:`1px solid ${j}`},children:[e.jsx("div",{style:{aspectRatio:"4 / 3",background:"#eef1ee"},children:e.jsx("img",{src:r.cardImage,alt:r.title,className:"w-full h-full object-cover",loading:"lazy",width:400,height:300})}),e.jsxs("div",{className:"p-5",children:[e.jsx("span",{className:"text-[10px] font-bold tracking-wide uppercase",style:{color:Xt[r.product]??C},children:r.product}),e.jsx("p",{className:"text-xs font-semibold mt-1 mb-1",style:{color:L},children:r.condition}),e.jsx("h3",{className:"text-sm font-bold mb-2",style:{color:E},children:r.title}),e.jsx("p",{className:"text-xs leading-relaxed",style:{color:I},children:r.excerpt})]})]})},r.id))}),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:m,className:"text-center",children:e.jsxs(de,{to:t.ctaHref,className:"text-sm font-semibold",style:{color:C},children:[t.cta," →"]})})]})})}const es=/\(\d{3}\)\s?\d{3}-\d{4}/,ts=/[\w.+-]+@[\w-]+\.[\w.-]+/;function ss({text:t,linkType:n="tel"}){const[r,l]=h.useState(!1),u=t.match(ts);if(u&&u.index!==void 0){const x=u[0],d=t.slice(0,u.index),a=t.slice(u.index+x.length);return e.jsxs(e.Fragment,{children:[d,e.jsx("a",{href:`mailto:${x}`,className:"underline transition-colors duration-150",style:{color:"inherit"},onMouseEnter:g=>{g.currentTarget.style.color=B},onMouseLeave:g=>{g.currentTarget.style.color="inherit"},children:e.jsx(b,{devId:"6a1806",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"a",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
36ash:"sha256:82244417f956ac7c599f191593f7e441a4fafa20a4158fd52e154f1dc4c8ed92"},children:x})}),a]})}const c=t.match(es);if(c&&c.index!==void 0){const x=c[0],d=t.slice(0,c.index),a=t.slice(c.index+x.length);if(n==="sms"){async function g(){try{await navigator.clipboard.writeText(x),l(!0),setTimeout(()=>l(!1),1800)}catch{}}return e.jsxs(e.Fragment,{children:[d,e.jsx("a",{href:`sms:${x.replace(/\D/g,"")}`,className:"sm:hidden underline transition-colors duration-150",style:{color:"inherit"},onMouseEnter:N=>{N.currentTarget.style.color=B},onMouseLeave:N=>{N.currentTarget.style.color="inherit"},children:e.jsx(b,{devId:"6a1806",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"a",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:45569da57f4b7bf472d7a864ef4781451cae6383fee9fb0ae40c59aa1ce475b7"},children:x})}),e.jsx("button",{type:"button",onClick:g,"aria-label":`Copy ${x} to clipboard`,className:"hidden sm:inline underline transition-colors duration-150",style:{color:"inherit"},onMouseEnter:N=>{N.currentTarget.style.color=B},onMouseLeave:N=>{N.currentTarget.style.color="inherit"},children:e.jsx(b,{devId:"f1f261",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:9779d1fb4181a7017fc0d4bec137d03e4b5d36d25792c8b97d6fe72426642fd3"},children:r?"Copied!":x})}),a]})}return e.jsxs(e.Fragment,{children:[d,e.jsx("a",{href:`${n}:${x.replace(/\D/g,"")}`,className:"underline transition-colors duration-150",style:{color:"inherit"},onMouseEnter:g=>{g.currentTarget.style.color=B},onMouseLeave:g=>{g.currentTarget.style.color="inherit"},children:e.jsx(b,{devId:"6a1806",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"a",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:45569da57f4b7bf472d7a864ef4781451cae6383fee9fb0ae40c59aa1ce475b7"},children:x})}),a]})}return e.jsx(e.Fragment,{children:t})}function rs({onOrderClick:t,cartCount:n}){const[r,l]=h.useState(!1),[u,c]=h.useState(!1);h.useEffect(()=>{const a=()=>l(window.scrollY>600);return a(),window.addEventListener("scroll",a,{passive:!0}),()=>window.removeEventListener("scroll",a)},[]);function x(){var a;if(n===0){(a=document.getElementById("products"))==null||a.scrollIntoView({behavior:"smooth",block:"start"});return}t()}async function d(){try{await navigator.clipboard.writeText("(888) 772-6646"),c(!0),setTimeout(()=>c(!1),1800)}catch{}}return e.jsx("div",{className:"fixed bottom-0 inset-x-0 z-40 transition-transform duration-300",style:{transform:r?"translateY(0)":"translateY(100%)",background:"rgba(10,20,12,0.94)",backdropFilter:"blur(10px)",borderTop:"1px solid rgba(201,169,110,0.25)",paddingBottom:"env(safe-area-inset-bottom)"},children:e.jsxs("div",{className:"container mx-auto px-6 py-3 flex items-center justify-between gap-3",children:[e.jsxs("div",{className:"hidden sm:block",children:[e.jsx("div",{className:"text-sm font-bold",style:{color:"#ffffff"},children:"Ready to order for your practice?"}),e.jsx("div",{className:"text-xs",style:{color:"rgba(255,255,255,0.6)"},children:"Member pricing on Aurora & Eclipse"})]}),e.jsxs("div",{className:"flex items-center gap-3 w-full sm:w-auto",children:[e.jsx("a",{href:`sms:8887726646?&body=${encodeURIComponent("Hi, I have a question about ODs on Finance.")}`,"aria-label":"Text us",className:"sm:hidden shrink-0 inline-flex items-center justify-center w-11 h-11 rounded-lg transition-all duration-150",style:{border:"1.5px solid rgba(201,169,110,0.5)",color:"rgba(255,255,255,0.85)"},onMouseEnter:a=>{a.currentTarget.style.borderColor="#c9a96e",a.currentTarget.style.color="#ffffff"},onMouseLeave:a=>{a.currentTarget.style.borderColor="rgba(201,169,110,0.5)",a.currentTarget.style.color="rgba(255,255,255,0.85)"},children:e.jsx(Ne,{size:18,strokeWidth:2})}),e.jsxs("button",{type:"button",onClick:d,"aria-label":"Copy our text number",className:"hidden sm:inline-flex shrink-0 items-center justify-center gap-2 px-4 py-2.5 text-sm font-semibold rounded-lg transition-all duration-150",style:{border:"1.5px solid rgba(201,169,110,0.5)",color:"rgba(255,255,255,0.85)"},onMouseEnter:a=>{a.currentTarget.style.borderColor="#c9a96e",a.currentTarget.style.color="#ffffff"},onMouseLeave:a=>{a.currentTarget.style.borderColor="rgba(201,169,110,0.5)",a.currentTarget.style.color="rgba(255,255,255,0.85)"},children:[e.jsx(Ne,{size:16,strokeWidth:2}),u?"Copied!":"Text Us: (888) 772-6646"]}),e.jsx("button",{type:"button",onClick:x,className:"flex-1 sm:flex-none inline-flex items-center justify-center px-6 py-2.5 text-sm font-bold rounded-lg transition-all duration-150",style:{background:"#c9a96e",color:"#0f2d18",boxShadow:"0 2px 12px rgba(201,169,110,0.35)"},onMouseEnter:a=>{a.currentTarget.style.background="#b8943e",a.currentTarget.style.boxShadow="0 4px 20px rgba(201,169,110,0.5)"},onMouseLeave:a=>{a.currentTarget.style.background="#c9a96e",a.currentTarget.style.boxShadow="0 2px 12px rgba(201,169,110,0.35)"},children:e.jsx(b,{devId:"45c87f",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"button",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
36ash:"sha256:4f66e6d0d235013daae209f16e6715805742fe88bca81c83b4b0a498f2db850e"},children:n===0?"View Products →":"Order Now →"})})]})]})})}function ns(){const[t,n]=h.useState({});return h.useEffect(()=>{let r=!1;return fetch("/api/netsuite/products").then(l=>l.json()).then(l=>{if(r||!l.ok||!l.products)return;const u={};for(const c of l.products)u[c.productId]=c;n(u)}).catch(()=>{}),()=>{r=!0}},[]),t}function as(t){const n=new Date(`${t}T00:00:00`);return Number.isNaN(n.getTime())?t:n.toLocaleDateString("en-US",{month:"long",day:"numeric",year:"numeric"})}function ls({group:t,exchangePolicy:n,onAddToCart:r}){const[l,u]=h.useState(0),[c,x]=h.useState(!1),d=t.variants[l];return e.jsxs(i.div,{variants:m,className:"relative rounded-xl overflow-hidden flex flex-col transition-all duration-200",style:{background:V,border:`1px solid ${j}`,boxShadow:"0 2px 8px rgba(0,0,0,0.05)"},onMouseEnter:a=>{a.currentTarget.style.transform="translateY(-4px)",a.currentTarget.style.boxShadow="0 12px 24px rgba(0,0,0,0.12)"},onMouseLeave:a=>{a.currentTarget.style.transform="translateY(0)",a.currentTarget.style.boxShadow="0 2px 8px rgba(0,0,0,0.05)"},children:[e.jsxs("div",{className:"relative",style:{aspectRatio:"4 / 3",background:t.imageBg},children:[e.jsx("img",{src:t.image,alt:t.name,className:"w-full h-full object-cover",loading:"lazy",width:400,height:300}),d.available===!1?e.jsx("span",{className:"absolute top-3 right-3 text-[10px] font-semibold tracking-wide uppercase px-2 py-1 rounded-full",style:{background:"rgba(220,38,38,0.95)",color:"#ffffff",boxShadow:"0 1px 4px rgba(0,0,0,0.15)"},children:"Out of Stock"}):d.badge?e.jsx("span",{className:"absolute top-3 right-3 text-[10px] font-semibold tracking-wide uppercase px-2 py-1 rounded-full",style:{background:"rgba(255,255,255,0.95)",color:C,boxShadow:"0 1px 4px rgba(0,0,0,0.15)"},children:e.jsx(b,{devId:"c318c4",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:2220ca3b2d37aa3ad7f5fac53c0dcfdd34c4a6adfa0920453f23920d6a680f10"},children:d.badge})}):null]}),e.jsxs("div",{className:"p-6 flex flex-col flex-1",children:[e.jsx("span",{className:"text-[11px] font-semibold tracking-widest uppercase mb-2",style:{color:B},children:e.jsx(b,{devId:"04eda4",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:9269f730a5c63b332326f59064b267b5e6a3f85b171642d21cc9fc10cf0bdb7d"},children:t.tagline})}),e.jsx("h3",{className:"text-lg font-bold mb-2",style:{color:E,fontFamily:"var(--font-heading)"},children:e.jsx(b,{devId:"1ce4cd",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h3",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:0d2eecfa7c650fe07084c6fe13eca2129d1b135b244cd264dfd9313270436f5e"},children:t.name})}),e.jsx("p",{className:"text-sm leading-relaxed mb-4",style:{color:I},children:e.jsx(b,{devId:"946502",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:6e3fb5570980482b3dc1eddfab61aeb0497fabbaeedfa0840ad6a39d01e5268b"},children:t.description})}),e.jsx("div",{className:"flex flex-wrap gap-2 mb-4",children:t.variants.map((a,g)=>{const N=a.name.replace(`${t.tagline} Single Layer `,""),p=g===l;return e.jsx("button",{type:"button",onClick:()=>u(g),className:"px-3 py-1.5 rounded-lg text-xs font-semibold transition-all duration-150",style:p?{background:C,color:"#ffffff",border:`1px solid ${C}`}:{background:"#ffffff",color:I,border:`1px solid ${j}`},onMouseEnter:k=>{p||(k.currentTarget.style.borderColor=C,k.currentTarget.style.color=C)},onMouseLeave:k=>
36{p||(k.currentTarget.style.borderColor=j,k.currentTarget.style.color=I)},children:N},a.id)})}),e.jsx("div",{className:"flex flex-col gap-1.5 mb-4",children:d.features.map(a=>e.jsxs("div",{className:"text-xs",style:{color:L},children:["— ",e.jsx("span",{children:a})]},a))}),e.jsxs("div",{className:"mt-auto pt-4",style:{borderTop:`1px solid ${j}`},children:[d.memberPrice!=null&&d.retailPrice!=null?e.jsxs("div",{className:"mb-3",children:[e.jsxs("div",{className:"flex items-baseline gap-2",children:[e.jsxs("span",{className:"text-2xl font-bold",style:{color:C,fontFamily:"var(--font-heading)"},children:["$",d.memberPrice]}),e.jsxs("span",{className:"text-sm line-through",style:{color:L},children:["$",d.retailPrice]}),e.jsx("span",{className:"text-xs font-semibold",style:{color:"#4b5563"},children:"/membrane"})]}),e.jsxs("div",{className:"text-xs font-semibold mt-0.5",style:{color:B},children:["Save $",d.retailPrice-d.memberPrice," (",Math.round((1-d.memberPrice/d.retailPrice)*100),"%) — ODs on Finance exclusive"]})]}):e.jsx("div",{className:"text-xs font-semibold mb-3",style:{color:I},children:d.price}),d.available===!1?e.jsx("span",{"aria-disabled":"true",className:"block w-full text-center px-4 py-3 rounded-lg text-sm font-bold tracking-wide cursor-not-allowed",style:{background:"#e5e7eb",color:"#9ca3af"},children:"Out of Stock"}):e.jsx("button",{type:"button",onClick:()=>r(d),className:"block w-full text-center px-4 py-3 rounded-lg text-sm font-bold tracking-wide transition-all duration-150",style:{background:X,color:"#0f2d18"},onMouseEnter:a=>{a.currentTarget.style.background=rt,a.currentTarget.style.boxShadow="0 4px 14px rgba(201,169,110,0.4)"},onMouseLeave:a=>{a.currentTarget.style.background=X,a.currentTarget.style.boxShadow="none"},children:"Add to Cart →"}),e.jsx(de,{to:t.href,target:"_blank",rel:"noopener noreferrer",className:"block text-center text-xs mt-3 transition-colors duration-150",style:{color:L},children:"Full specs"}),t.details?e.jsxs(e.Fragment,{children:[e.jsxs("button",{type:"button",onClick:()=>x(a=>!a),className:"flex items-center justify-center gap-1 w-full text-center text-xs font-semibold mt-3 pt-3 transition-colors duration-150",style:{color:C,borderTop:`1px solid ${j}`},children:[c?"Hide details":"Indications & exchange policy",c?e.jsx(wt,{size:14}):e.jsx(bt,{size:14})]}),c?e.jsx(os,{details:t.details,exchangePolicy:n}):null]}):null]})]})]})}function os({details:t,exchangePolicy:n}){var r;return e.jsxs("div",{className:"mt-4 pt-4 flex flex-col gap-4",style:{borderTop:`1px solid ${j}`},children:[e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold mb-1.5",style:{color:E},children:"Indications for use"}),e.jsx("div",{className:"flex flex-col gap-1",children:t.indications.map(l=>e.jsxs("div",{className:"flex items-start gap-1.5 text-xs",style:{color:I},children:[e.jsx(Qe,{size:13,style:{color:B,flexShrink:0,marginTop:1}}),e.jsx("span",{children:l})]},l))})]}),(r=t.photos)!=null&&r.length?e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold mb-1.5",style:{color:E},children:"Case example"}),e.jsx("div",{className:"grid grid-cols-2 gap-2",children:t.photos.map(l=>e.jsxs("div",{children:[e.jsx("img",{src:l.url,alt:l.caption,className:"w-full rounded-md object-cover",style:{aspectRatio:"4 / 3"},loading:"lazy"}),e.jsx("p",{className:"text-[10px] mt-1",style:{color:L},children:l.caption})]},l.url))})]}):null,e.jsxs("div",{children:[e.jsx("h4",{className:"text-xs font-bold mb-1.5",style:{color:E},children:e.jsx(b,{devId:"549d2b",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h4",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:88dd8ec8f00f1a48c9a406340f8bdb9e78a403ab34ade1da5a6d33876e616740"},children:n.headline})}),e.jsx("div",{className:"flex flex-col gap-2",children:n.sections.map(l=>e.jsxs("p",{className:"text-xs leading-relaxed",style:{color:I},children:[e.jsxs("span",{className:"font-semibold",children:[l.title,"."]})," ",l.body]},l.title))}),e.jsxs("p",{className:"text-[11px] mt-2",style:{color:L},children:[n.howTo," Contact ",e.jsx("a",{href:`mailto:${n.contactEmail}`,className:"underline",style:{color:"inherit"},children:e.jsx(b,{devId:"21d1d1",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"a",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionH
36ash:"sha256:75857a09e9079cc7c3b794c9a94bd3491160c81c78289816a7ee0f99f3df5b0f"},children:n.contactEmail})}),"."]})]})]})}function is(){h.useEffect(()=>{if(!document.querySelector("link[data-calendly-widget]")){const t=document.createElement("link");t.rel="stylesheet",t.href="https://assets.calendly.com/assets/external/widget.css",t.setAttribute("data-calendly-widget","true"),document.head.appendChild(t)}if(!document.querySelector("script[data-calendly-widget]")){const t=document.createElement("script");t.src="https://assets.calendly.com/assets/external/widget.js",t.async=!0,t.setAttribute("data-calendly-widget","true"),document.body.appendChild(t)}},[])}function cs(t,n){const r=window.Calendly;r!=null&&r.initPopupWidget&&(n.preventDefault(),r.initPopupWidget({url:t}))}function ws(){is();const{hero:t,pillars:n,products:r,productDetails:l,exchangePolicy:u,promotion:c,pricingNote:x,booking:d,inbox:a}=se,g=ns(),[N,p]=h.useState(!1),[k,M]=h.useState(!1),P=Ft(),G=Ce(o=>o.addItem);function v(o){G(o.id,o.name,1,o.memberPrice??void 0),M(!0),setTimeout(()=>M(!1),1600)}const D=r.map(o=>{const f=g[o.id];return f?{...o,retailPrice:f.retailPrice??o.retailPrice,memberPrice:f.memberPrice??o.memberPrice,available:f.available}:o}),W=Object.keys(Je).map(o=>{var R,Z;const f=D.filter(ae=>ae.tagline===o),y=_t[o]??{name:o,description:((R=f[0])==null?void 0:R.description)??""};return{tagline:o,name:y.name,description:y.description,image:Je[o],imageBg:qt[o]??"#eef1ee",href:((Z=f[0])==null?void 0:Z.href)??"#",variants:f,details:l==null?void 0:l[o]}}).filter(o=>o.variants.length>0),U=`${Dt}/partnership/ods-on-finance`,T="ODs on Finance Member Program | Ophthalogix",F="Member pricing, streamlined ordering, and dedicated clinical support for ODs on Finance practices.";return e.jsxs(e.Fragment,{children:[e.jsxs(pt,{children:[e.jsx("title",{children:T}),e.jsx("meta",{name:"description",content:F}),e.jsx("meta",{name:"robots",content:"noindex"}),e.jsx("link",{rel:"canonical",href:U}),e.jsx("meta",{property:"og:title",content:T}),e.jsx("meta",{property:"og:description",content:F}),e.jsx("meta",{property:"og:url",content:U}),e.jsx("meta",{property:"og:type",content:"website"})]}),e.jsxs("main",{children:[e.jsx("h1",{className:"sr-only",children:e.jsx(b,{devId:"9cbd54",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h1",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:2b29cb8f4e3e5de88e64c89c544da62caca0c6ef22855b4d6b661c47932ad36f"},children:t.headline})}),e.jsx(gt,{breadcrumb:t.eyebrow,tagline:t.membersLabel,taglineGradient:!0,headline:t.headline,body:t.subheadline,primaryCta:t.ctaPrimary,secondaryCta:t.ctaSecondary,variant:"practice",photoSrc:"/airo-assets/images/pages/partnership/hero",photoAlt:"Optometry clinic",trustChips:Vt}),e.jsx(Wt,{data:se.whyAmt}),e.jsx(Gt,{data:se.whyOphthalogix}),e.jsx(Zt,{data:se.reimbursementCallout}),e.jsx(Jt,{data:se.comparison}),e.jsx(Qt,{data:se.featuredCases}),e.jsx("section",{className:"py-16 md:py-24",style:{background:V},children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"mb-10",children:e.jsx(i.div,{variants:m,children:e.jsx(Y,{children:"Member Benefits"})})}),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"grid grid-cols-1 sm:grid-cols-2 lg:grid-cols-4 gap-4",children:n.map(o=>{const f=zt[o.icon]??Te;return e.jsxs(i.div,{variants:m,className:"rounded-xl p-6 transition-all duration-200",style:{background:"#ffffff",border:`1px solid ${j}`,boxShadow:"0 2px 12px rgba(0,0,0,0.06)"},onMouseEnter:y=>{y.currentTarget.style.transform="translateY(-4px)",y.currentTarget.style.boxShadow="0 12px 24px rgba(0,0,0,0.12)"},onMouseLeave:y=>{y.currentTarget.style.transform="translateY(0)",y.currentTarget.style.boxShadow="0 2px 12px rgba(0,0,0,0.06)"},children:[e.jsx("div",{className:"w-10 h-10 rounded-lg flex items-center justify-center mb-4",style:{background:"rgba(26,92,58,0.08)",color:C},children:e.jsx(f,{size:18,strokeWidth:2})}),e.jsx("h3",{className:"text-base font-bold mb-2",style:{color:E,fontFamily:"var(--font-heading)"},children:o.title}),e.jsx("p",{className:"text-sm leading-relaxed",style:{color:I},children:o.body})]},o.id)})})]})}),e.jsx("section",{id:"products",className:"py-16 md:py-24 scroll-mt-24",style:{background:"#ffffff",borderTop:`1px solid ${j}`},children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs(i.div,{initial:"hidden",
36whileInView:"visible",viewport:{once:!0},variants:S,className:"mb-10",children:[e.jsx(i.div,{variants:m,children:e.jsx(Y,{children:"Member Pricing"})}),e.jsx(i.p,{variants:m,className:"max-w-2xl text-sm leading-relaxed",style:{color:I},children:"Exclusive ODs on Finance pricing on Aurora and Eclipse, shown below. Pick a size or format, then add it to your order."}),x?e.jsx(i.p,{variants:m,className:"max-w-2xl text-xs mt-2",style:{color:L},children:e.jsx(b,{devId:"57a443",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:96c2276e0f98dfd41b2dc0bba05bc8b59c70565c8cffb5de36b0489f8d87bb6c"},children:x})}):null,c.active?e.jsxs(i.div,{variants:m,className:"inline-flex items-center gap-2 mt-4 px-4 py-2 rounded-lg text-xs font-semibold",style:{background:"rgba(201,169,110,0.12)",color:rt,border:"1px solid rgba(201,169,110,0.35)"},children:[c.label," — ends ",as(c.expiresOn)]}):null]}),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"grid grid-cols-1 sm:grid-cols-3 gap-4",children:W.map(o=>e.jsx(ls,{group:o,exchangePolicy:u,onAddToCart:v},o.tagline))})]})}),e.jsx("section",{className:"py-16 md:py-20",style:{background:"linear-gradient(135deg, #0d2818 0%, #0f2d18 40%, #1a3a20 70%, #162e1a 100%)"},children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"mb-10 text-center",children:[e.jsx(i.div,{variants:m,className:"flex justify-center",children:e.jsx(Y,{dark:!0,children:"Trusted By Doctors"})}),e.jsx(i.h2,{variants:m,className:"text-2xl md:text-3xl font-bold",style:{color:"#ffffff",fontFamily:"var(--font-heading)"},children:"Backed by results, not just claims."})]}),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"grid grid-cols-2 md:grid-cols-4 gap-4 mb-10 max-w-3xl mx-auto",children:Ut.map(o=>e.jsxs(i.div,{variants:m,className:"text-center rounded-xl p-4 transition-all duration-200",style:{background:"rgba(255,255,255,0.04)",border:"1px solid rgba(201,169,110,0.25)"},onMouseEnter:f=>{f.currentTarget.style.borderColor="rgba(201,169,110,0.6)",f.currentTarget.style.background="rgba(255,255,255,0.07)",f.currentTarget.style.transform="translateY(-4px)"},onMouseLeave:f=>{f.currentTarget.style.borderColor="rgba(201,169,110,0.25)",f.currentTarget.style.background="rgba(255,255,255,0.04)",f.currentTarget.style.transform="translateY(0)"},children:[e.jsx("div",{className:"text-2xl font-bold",style:{color:X,fontFamily:"var(--font-heading)"},children:o.number}),e.jsx("div",{className:"text-[11px] uppercase tracking-wide",style:{color:"rgba(255,255,255,0.6)"},children:o.label})]},o.label))}),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"grid grid-cols-1 md:grid-cols-2 gap-6 max-w-4xl mx-auto",children:Yt.map(o=>e.jsxs(i.div,{variants:m,className:"rounded-xl p-6 transition-all duration-200",style:{background:"rgba(255,255,255,0.05)",border:"1px solid rgba(201,169,110,0.2)",backdropFilter:"blur(4px)"},onMouseEnter:f=>{f.currentTarget.style.transform="translateY(-4px)",f.currentTarget.style.boxShadow="0 12px 24px rgba(0,0,0,0.25)",f.currentTarget.style.borderColor="rgba(201,169,110,0.5)"},onMouseLeave:f=>{f.currentTarget.style.transform="translateY(0)",f.currentTarget.style.boxShadow="none",f.currentTarget.style.borderColor="rgba(201,169,110,0.2)"},children:[e.jsxs("p",{className:"text-sm leading-relaxed mb-4 italic",style:{color:"rgba(255,255,255,0.85)"},children:["“",o.quote,"”"]}),e.jsx("div",{className:"text-sm font-bold",style:{color:"#ffffff"},children:o.name}),e.jsx("div",{className:"text-xs",style:{color:"rgba(255,255,255,0.55)"},children:o.role})]},o.name))})]})}),e.jsx("section",{id:"consultation",className:"py-16 md:py-24 scroll-mt-24",style:{background:V,borderTop:`1px solid ${j}`},children:e.jsx("div",{className:"container mx-auto px-6",children:e.jsxs("div",{className:"grid grid-cols-1 lg:grid-cols-2 gap-10 lg:gap-14 items-center",children:[e.jsxs(i.div,{initial:"hidden",
36whileInView:"visible",viewport:{once:!0},variants:S,children:[e.jsx(i.div,{variants:m,children:e.jsx(Y,{children:d.eyebrow})}),e.jsx(i.h2,{variants:m,className:"text-2xl md:text-3xl font-bold mb-4",style:{color:E,fontFamily:"var(--font-heading)"},children:e.jsx(b,{devId:"ecc722",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:7e2ee48605adfd6b4ed9f008f3fcdf08e18061ba9a6d78ce75dd0849a2049b76"},children:d.headline})}),e.jsx(i.p,{variants:m,className:"text-sm leading-relaxed mb-8",style:{color:I},children:e.jsx(b,{devId:"16d0d8",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:56eef46a64c405f94a0d2641215405c4792e38eec46398bdfda6c5234bf8c0c2"},children:d.body})}),e.jsx(i.div,{variants:S,className:"flex flex-col gap-4",children:d.options.map(o=>{const f=Rt[o.id];return e.jsxs(i.div,{variants:m,className:"flex flex-col sm:flex-row sm:items-center justify-between gap-3 sm:gap-4 rounded-xl p-5 transition-all duration-200",style:{background:"#ffffff",border:`1px solid ${j}`,boxShadow:"0 1px 4px rgba(0,0,0,0.04)"},onMouseEnter:y=>{y.currentTarget.style.transform="translateY(-2px)",y.currentTarget.style.boxShadow="0 8px 20px rgba(0,0,0,0.1)"},onMouseLeave:y=>{y.currentTarget.style.transform="translateY(0)",y.currentTarget.style.boxShadow="0 1px 4px rgba(0,0,0,0.04)"},children:[e.jsxs("div",{children:[e.jsx("div",{className:"text-[11px] font-semibold tracking-widest uppercase mb-1",style:{color:B},children:o.duration}),e.jsx("div",{className:"text-sm font-bold mb-1",style:{color:E},children:o.title}),e.jsx("div",{className:"text-xs leading-relaxed",style:{color:L},children:o.description})]}),e.jsx("a",{href:f,target:"_blank",rel:"noopener noreferrer",onClick:y=>cs(f,y),className:"shrink-0 text-center text-xs font-semibold px-4 py-2 rounded-lg transition-all duration-150",style:{background:"rgba(26,92,58,0.08)",color:C,border:"1px solid rgba(26,92,58,0.15)"},onMouseEnter:y=>{y.currentTarget.style.background=C,y.currentTarget.style.color="#ffffff",y.currentTarget.style.borderColor=C},onMouseLeave:y=>{y.currentTarget.style.background="rgba(26,92,58,0.08)",y.currentTarget.style.color=C,y.currentTarget.style.borderColor="rgba(26,92,58,0.15)"},children:o.cta})]},o.id)})}),e.jsx("p",{className:"text-xs mt-4",style:{color:L},children:"Pick a time that works for you — you'll get an instant confirmation by email."})]}),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:m,className:"rounded-xl overflow-hidden",style:{border:`1px solid ${j}`,boxShadow:"0 2px 12px rgba(0,0,0,0.06)"},children:e.jsx("img",{src:"/airo-assets/images/pages/partnership/consultation",alt:"Doctor consultation",className:"w-full h-full object-cover",style:{minHeight:320},loading:"lazy",width:800,height:500})})]})})}),e.jsx("section",{className:"pt-16 md:pt-24 pb-32 md:pb-24",style:{background:"#ffffff",borderTop:`1px solid ${j}`},children:e.jsxs("div",{className:"container mx-auto px-6",children:[e.jsxs(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"mb-10 text-center",children:[e.jsx(i.div,{variants:m,className:"flex justify-center",children:e.jsx(Y,{children:a.eyebrow})}),e.jsx(i.h2,{variants:m,className:"text-2xl md:text-3xl font-bold mb-3",style:{color:E,fontFamily:"var(--font-heading)"},children:e.jsx(b,{devId:"645f6f",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"h2",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:a8817ea57b1c80f5f13114006c8f7f7bdc267f554b89f1b875ae6d3cf5dda6f7"},children:a.headline})}),e.jsx(i.p,{variants:m,className:"max-w-xl mx-auto text-sm leading-relaxed",style:{color:I},children:e.jsx(b,{devId:"a61385",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"p",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:a52bb9451fda70f02479bdaf1c00da630d587f58e771344de1514a36705e72be"},children:a.body})})]}
36),e.jsx(i.div,{initial:"hidden",whileInView:"visible",viewport:{once:!0},variants:S,className:"grid grid-cols-1 sm:grid-cols-3 gap-4 max-w-4xl mx-auto",children:a.channels.map((o,f)=>{const y=f===0?Ne:f===1?mt:ht;return e.jsxs(i.div,{variants:m,className:"rounded-xl p-6 text-center transition-all duration-200",style:{background:V,border:`1px solid ${j}`},onMouseEnter:R=>{R.currentTarget.style.transform="translateY(-4px)",R.currentTarget.style.boxShadow="0 12px 24px rgba(0,0,0,0.1)"},onMouseLeave:R=>{R.currentTarget.style.transform="translateY(0)",R.currentTarget.style.boxShadow="none"},children:[e.jsx("div",{className:"w-10 h-10 rounded-full flex items-center justify-center mx-auto mb-3",style:{background:"rgba(26,92,58,0.08)",color:C},children:e.jsx(y,{size:16,strokeWidth:2})}),e.jsx("div",{className:"text-sm font-bold mb-1",style:{color:E},children:o.label}),e.jsx("div",{className:"text-xs leading-relaxed",style:{color:L},children:e.jsx(ss,{text:o.detail,linkType:f===0?"sms":"tel"})})]},o.id)})})]})})]}),e.jsxs("button",{type:"button",onClick:()=>p(!0),"aria-label":`Open cart, ${P} item${P===1?"":"s"}`,className:"fixed top-24 right-5 z-50 w-12 h-12 rounded-full flex items-center justify-center transition-all duration-150",style:{background:C,color:"#ffffff",boxShadow:"0 4px 16px rgba(0,0,0,0.2)"},onMouseEnter:o=>{o.currentTarget.style.transform="translateY(-2px)",o.currentTarget.style.boxShadow="0 8px 20px rgba(0,0,0,0.28)"},onMouseLeave:o=>{o.currentTarget.style.transform="translateY(0)",o.currentTarget.style.boxShadow="0 4px 16px rgba(0,0,0,0.2)"},children:[e.jsx(we,{size:20,strokeWidth:2}),P>0&&e.jsx("span",{className:"absolute -top-1.5 -right-1.5 min-w-[20px] h-5 px-1 rounded-full flex items-center justify-center text-[11px] font-bold",style:{background:X,color:"#0f2d18"},children:e.jsx(b,{devId:"fd1424",guard:{file:"src/pages/partnership/ods-on-finance.tsx",tagName:"span",sourceKind:"bound-expression",contentKey:null,contentKeyTemplate:null,expressionHash:"sha256:aadc2fe2e190281746f41759d97b0e146af806c0142860828e5dfa865a69da07"},children:P})})]}),e.jsx(je,{children:k&&e.jsxs(i.div,{initial:{opacity:0,y:-6,scale:.96},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,y:-6,scale:.96},transition:{duration:.18},className:"fixed top-[9.75rem] right-5 z-50 flex items-center gap-1.5 px-3 py-1.5 rounded-full text-xs font-bold",style:{background:C,color:"#ffffff",boxShadow:"0 4px 14px rgba(0,0,0,0.22)"},children:[e.jsx(kt,{size:13,strokeWidth:2.5}),"Added to cart"]})}),e.jsx(rs,{onOrderClick:()=>p(!0),cartCount:P}),e.jsx(Lt,{open:N,onClose:()=>p(!1)})]})}export{ws 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.