1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/LabCheckoutFlow-CPkXACcn.js","assets/index-DEXJEDAi.js","assets/react-vendor-CU6Sz31W.js","assets/firebase-w6DYUbFN.js","assets/payment-icons-Daq1K3F1.js","assets/index-ClGd-I0y.css","assets/LabSchedulingPanel-BsCyL_yk.js","assets/junctionScheduling-COLC_kkX.js","assets/pencil-CpqYHolO.js","assets/PatientBookingForm-CF9FKzmx.js","assets/IdAndPhotoUploadSection-CVePkTk1.js","assets/ContactInfoSection-2PBmPpSi.js","assets/collapsible-JRJGT2Lx.js","assets/cloud-upload-DO_CTloa.js","assets/CameraCapture-C4ah5pn_.js","assets/monitor-CzX6E2vl.js","assets/circle-dashed-BpzaptvF.js","assets/user-round-c4EWOTq5.js","assets/use-unsaved-changes-B6nL5Xdd.js","assets/alert-WsBxL0qd.js","assets/providerAssignments-C7MWOvAk.js","assets/visitIcons-CG7YiClb.js","assets/badge-check-DS4dztDB.js","assets/CheckoutShell-DPiImp5d.js","assets/checkoutDisplay-6C7UrTTD.js","assets/useAuthorizeHostedToken-CiwlhvjR.js","assets/VisitSchedulePicker-4J6xpsxo.js","assets/addWeeks-1hrFjz19.js","assets/patientAddress-D6GhuKXS.js","assets/CustomPaymentInstructionsPanel-wIf9paY9.js","assets/EmbeddedWhopCheckout-exs5FPDQ.js","assets/networkLicensurePolicy-Ct3PZM4V.js","assets/checkoutShellChrome-B_HUtum-.js","assets/CheckoutConsents-CPjkVn8s.js","assets/EditorialCheckoutAccordion-BKtWmc-J.js","assets/AuthenticatedCheckoutDetails-DsVcqW6t.js","assets/nmiWallets-CqPgRKrz.js","assets/patientBillingFunctions-DCniilEQ.js"])))=>i.map(i=>d[i]); 2import{al as C,gn as v,K as g,go as j,b as w,c_ as b,c$ as L,d0 as _,d2 as y,d3 as D,e as r,d as N,d8 as A,c5 as E}from"./index-DEXJEDAi.js";import{r as t,j as a}from"./react-vendor-CU6Sz31W.js";import"./firebase-w6DYUbFN.js";import"./payment-icons-Daq1K3F1.js";const T=t.lazy(()=>E(()=>import("./LabCheckoutFlow-CPkXACcn.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37])));function F({product:i,open:c,onOpenChange:l,accentColor:d}){const{branding:s,experience:o}=C(),{isBrandDarkMode:p}=v(),h=o==null?void 0:o.checkoutTheme,e=g(s,h),u=t.useMemo(()=>j(o),[o]),f=p?"var(--client-dark-surface, #242424)":(e==null?void 0:e.backgroundColor)||"#f8fafc",m=(e==null?void 0:e.iconUrl)||(e==null?void 0:e.logoUrl)||"",x=!!(e!=null&&e.iconUrl),n=d||(s==null?void 0:s.accentColor)||w;return a.jsx(b,{open:c,onOpenChange:l,children:a.jsxs(L,{className:r(A,"h-auto max-h-[calc(100dvh-1rem)] w-[calc(100vw-1rem)] max-w-[calc(100vw-1rem)] overflow-hidden sm:max-h-[90vh] sm:max-w-7xl","max-[1024px]:!left-0 max-[1024px]:!top-0 max-[1024px]:!bottom-0","max-[1024px]:!h-[100dvh] max-[1024px]:!max-h-[100dvh]","max-[1024px]:!w-screen max-[1024px]:!max-w-none","max-[1024px]:!translate-x-0 max-[1024px]:!translate-y-0","max-[1024px]:!rounded-none max-[1024px]:!border-0 max-[1024px]:!shadow-none"),style:{...u,backgroundColor:f},"data-testid":"dialog-lab-checkout",children:[a.jsxs(_,{className:"sr-only",children:[a.jsx(y,{children:"Lab Checkout"}),a.jsx(D,{children:"Review checkout details, choose payment options, and complete your lab order."})]}),c?a.jsx(t.Suspense,{fallback:a.jsx("div",{className:"flex min-h-[min(24rem,70vh)] flex-1 items-center justify-center p-6 max-lg:p-3",role:"status","aria-live":"polite",children:a.jsxs("div",{className:"flex flex-col items-center gap-6 max-lg:gap-2.5",children:[m?a.jsx("div",{className:r("flex items-center justify-center overflow-hidden",x?"size-20 rounded-[var(--client-radius-card,1rem)]":"max-h-20 max-w-48",((e==null?void 0:e.logoWhiteBackground)||(e==null?void 0:e.logoBackgroundColor))&&"bg-surface-raised p-2 shadow-sm"),style:e!=null&&e.logoBackgroundColor?{backgroundColor:e.logoBackgroundColor}:void 0,children:a.jsx("img",{src:m,alt:`${(e==null?void 0:e.name)||"Client"} logo`,className:r("object-contain",x?"h-full w-full":"max-h-16 max-w-44")})}):null,a.jsx(N,{className:"size-8 animate-spin text-content-tertiary",style:{color:n},"aria-hidden":"true"}),a.jsx("span",{className:"sr-only",children:"Preparing checkout"})]})}),children:a.jsx(T,{product:i,accentColor:n,onFlowComplete:()=>l(!1),onCancel:()=>l(!1)})}):null]})})}export{F 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.