PageSourceSearch

https://www.tigerrunresort.com/_astro/Elements.DxoHi3k6.js

js tigerrunresort.com collected 2026-10-06 16:57:46 UTC 24,270 bytes, 2 lines download raw bytes

1import{a as be,i as se,n as Re,r as ge,t as Ae}from"./rolldown-runtime.BZ1aUaD1.js";import{a as Te,i as we,r as Oe}from"./vendor-react.C95qVzYb.js";import{n as je,r as Be}from"./colors.tokens.CnNQjdfK.js";import{t as Ne}from"./prop-types.Cwf3Sa9z.js";import"./lib.DcovVnP9.js";import{r as Le,t as ue}from"./stripeInstance.DTaI2qWC.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};r.SENTRY_RELEASE={id:"9a5b4c67607c0e380ad47d24340266712bad30f0"};var e=new r.Error().stack;e&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[e]="9fe326e3-9c4d-4ab6-a912-a741197883cb",r._sentryDebugIdIdentifier="sentry-dbid-9fe326e3-9c4d-4ab6-a912-a741197883cb")}catch{}})();globalThis.process??={};globalThis.process.env??={};var We=we(),u=be(Te(),1),y=be(Ne(),1);function ce(r,e){var t=Object.keys(r);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(r);e&&(i=i.filter(function(l){return Object.getOwnPropertyDescriptor(r,l).enumerable})),t.push.apply(t,i)}return t}function de(r){for(var e=1;e<arguments.length;e++){var t=arguments[e]!=null?arguments[e]:{};e%2?ce(Object(t),!0).forEach(function(i){ve(r,i,t[i])}):Object.getOwnPropertyDescriptors?Object.defineProperties(r,Object.getOwnPropertyDescriptors(t)):ce(Object(t)).forEach(function(i){Object.defineProperty(r,i,Object.getOwnPropertyDescriptor(t,i))})}return r}function G(r){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?G=function(e){return typeof e}:G=function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},G(r)}function ve(r,e,t){return e in r?Object.defineProperty(r,e,{value:t,enumerable:!0,configurable:!0,writable:!0}):r[e]=t,r}function Me(r,e){if(r==null)return{};var t={},i=Object.keys(r),l,o;for(o=0;o<i.length;o++)l=i[o],!(e.indexOf(l)>=0)&&(t[l]=r[l]);return t}function Fe(r,e){if(r==null)return{};var t=Me(r,e),i,l;if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(r);for(l=0;l<o.length;l++)i=o[l],!(e.indexOf(i)>=0)&&Object.prototype.propertyIsEnumerable.call(r,i)&&(t[i]=r[i])}return t}function he(r,e){return De(r)||Ue(r,e)||qe(r,e)||ze()}function De(r){if(Array.isArray(r))return r}function Ue(r,e){var t=r&&(typeof Symbol<"u"&&r[Symbol.iterator]||r["@@iterator"]);if(t!=null){var i=[],l=!0,o=!1,s,n;try{for(t=t.call(r);!(l=(s=t.next()).done)&&(i.push(s.value),!(e&&i.length===e));l=!0);}catch(v){o=!0,n=v}finally{try{!l&&t.return!=null&&t.return()}finally{if(o)throw n}}return i}}function qe(r,e){if(r){if(typeof r=="string")return pe(r,e);var t=Object.prototype.toString.call(r).slice(8,-1);if(t==="Object"&&r.constructor&&(t=r.constructor.name),t==="Map"||t==="Set")return Array.from(r);if(t==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t))return pe(r,e)}}function pe(r,e){(e==null||e>r.length)&&(e=r.length);for(var t=0,i=new Array(e);t<e;t++)i[t]=r[t];return i}function ze(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
2In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var C=function(e,t,i){var l=!!i,o=u.useRef(i);u.useEffect(function(){o.current=i},[i]),u.useEffect(function(){if(!l||!e)return function(){};var s=function(){o.current&&o.current.apply(o,arguments)};return e.on(t,s),function(){e.off(t,s)}},[l,t,e,o])},Z=function(e){var t=u.useRef(e);return u.useEffect(function(){t.current=e},[e]),t.current},J=function(e){return e!==null&&G(e)==="object"},He=function(e){return J(e)&&typeof e.then=="function"},Ke=function(e){return J(e)&&typeof e.elements=="function"&&typeof e.createToken=="function"&&typeof e.createPaymentMethod=="function"&&typeof e.confirmCardPayment=="function"},me="[object Object]",Ye=function r(e,t){if(!J(e)||!J(t))return e===t;var i=Array.isArray(e);if(i!==Array.isArray(t))return!1;var l=Object.prototype.toString.call(e)===me;if(l!==(Object.prototype.toString.call(t)===me))return!1;if(!l&&!i)return e===t;var o=Object.keys(e),s=Object.keys(t);if(o.length!==s.length)return!1;for(var n={},v=0;v<o.length;v+=1)n[o[v]]=!0;for(var d=0;d<s.length;d+=1)n[s[d]]=!0;var h=Object.keys(n);if(h.length!==o.length)return!1;var c=e,T=t;return h.every(function(S){return r(c[S],T[S])})},Se=function(e,t,i){return J(e)?Object.keys(e).reduce(function(l,o){var s=!J(t)||!Ye(e[o],t[o]);return i.includes(o)?(s&&console.warn("Unsupported prop change: options.".concat(o," is not a mutable property.")),l):s?de(de({},l||{}),{},ve({},o,e[o])):l},null):null},Ce="Invalid prop `stripe` supplied to `Elements`. We recommend using the `loadStripe` utility from `@stripe/stripe-js`. See https://stripe.com/docs/stripe-js/react#elements-props-stripe for details.",fe=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ce;if(e===null||Ke(e))return e;throw new Error(t)},Je=function(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Ce;if(He(e))return{tag:"async",stripePromise:Promise.resolve(e).then(function(l){return fe(l,t)})};var i=fe(e,t);return i===null?{tag:"empty"}:{tag:"sync",stripe:i}},Ve=function(e){!e||!e._registerWrapper||!e.registerAppInfo||(e._registerWrapper({name:"react-stripe-js",version:"6.1.0"}),e.registerAppInfo({name:"react-stripe-js",version:"6.1.0",url:"https://stripe.com/docs/stripe-js/react"}))},X=u.createContext(null);X.displayName="ElementsContext";var $e=function(e,t){if(!e)throw new Error("Could not find Elements context; You need to wrap the part of your app that ".concat(t," in an <Elements> provider."));return e},ke=function(e){var t=e.stripe,i=e.options,l=e.children,o=u.useMemo(function(){return Je(t)},[t]),s=he(u.useState(function(){return{stripe:o.tag==="sync"?o.stripe:null,elements:o.tag==="sync"?o.stripe.elements(i):null}}),2),n=s[0],v=s[1];u.useEffect(function(){var c=!0,T=function(S){v(function(w){return w.stripe?w:{stripe:S,elements:S.elements(i)}})};return o.tag==="async"&&!n.stripe?o.stripePromise.then(function(k){k&&c&&T(k)}
2):o.tag==="sync"&&!n.stripe&&T(o.stripe),function(){c=!1}},[o,n,i]);var d=Z(t);u.useEffect(function(){d!==null&&d!==t&&console.warn("Unsupported prop change on Elements: You cannot change the `stripe` prop after setting it.")},[d,t]);var h=Z(i);return u.useEffect(function(){if(n.elements){var c=Se(i,h,["clientSecret","fonts"]);c&&n.elements.update(c)}},[i,h,n.elements]),u.useEffect(function(){Ve(n.stripe)},[n.stripe]),u.createElement(X.Provider,{value:n},l)};ke.propTypes={stripe:y.default.any,options:y.default.object};var xe=function(e){return $e(u.useContext(X),e)},gr=function(){return xe("calls useElements()").elements},Ge=function(e){var t=e.children;return t(xe("mounts <ElementsConsumer>"))};Ge.propTypes={children:y.default.func.isRequired};var Ee=u.createContext(null);Ee.displayName="CheckoutContext";var ee=function(e){var t=u.useContext(Ee),i=u.useContext(X);if(t){if(i)throw new Error("You cannot wrap the part of your app that ".concat(e," in both a checkout provider and <Elements> provider."));return t}else return $e(i,e)},Qe=["mode"],Xe=function(e){return e.charAt(0).toUpperCase()+e.slice(1)},b=function(e,t,i){var l="".concat(Xe(e),"Element"),o=t?function(n){ee("mounts <".concat(l,">"));var v=n.id,d=n.className;return u.createElement("div",{id:v,className:d})}:function(n){var v=n.id,d=n.className,h=n.options,c=h===void 0?{}:h,T=n.onBlur,k=n.onFocus,S=n.onReady,w=n.onChange,a=n.onEscape,x=n.onClick,j=n.onLoadError,I=n.onLoaderStart,V=n.onNetworksChange,p=n.onConfirm,q=n.onCancel,z=n.onShippingAddressChange,N=n.onShippingRateChange,L=n.onSavedPaymentMethodRemove,H=n.onSavedPaymentMethodUpdate,R=ee("mounts <".concat(l,">")),A="elements"in R?R.elements:null,_="checkoutState"in R?R.checkoutState:null,E=_?.type==="success"||_?.type==="loading"?_.sdk:null,F=he(u.useState(null),2),m=F[0],K=F[1],$=u.useRef(null),W=u.useRef(null);C(m,"blur",T),C(m,"focus",k),C(m,"escape",a),C(m,"click",x),C(m,"loaderror",j),C(m,"loaderstart",I),C(m,"networkschange",V),C(m,"confirm",p),C(m,"cancel",q),C(m,"shippingaddresschange",z),C(m,"shippingratechange",N),C(m,"savedpaymentmethodremove",L),C(m,"savedpaymentmethodupdate",H),C(m,"change",w);var O;S&&(e==="expressCheckout"?O=S:O=function(){S(m)}),C(m,"ready",O),u.useLayoutEffect(function(){if($.current===null&&W.current!==null&&(A||E)){var f=null;if(E){var P=E,M=E;switch(e){case"paymentForm":f=M.createForm(c);break;case"payment":f=P.createPaymentElement(c);break;case"address":if("mode"in c){var B=c.mode,U=Fe(c,Qe);if(B==="shipping")f=P.createShippingAddressElement(U);else if(B==="billing")f=P.createBillingAddressElement(U);else throw new Error("Invalid options.mode. mode must be 'billing' or 'shipping'.")}else throw new Error("You must supply options.mode. mode must be 'billing' or 'shipping'.");break;case"expressCheckout":f=P.createExpressCheckoutElement(c);break;case"currencySelector":f=E.createCurrencySelectorElement();break;case"taxId":f=P.createTaxIdElement(c);break;default:throw new Error("<".concat(l,"> is not supported inside a checkout provider. Use an <Elements> provider instead."))}}else A&&(f=A.create(e,c));$.current=f,K(f),f&&f.mount(W.current)}},[A,E,c]);var D=Z(c);return u.useEffect(function(){if($.current){var f=Se(c,D,["paymentRequest"]);f&&"update"in $.current&&$.current.update(f)}},[c,D]),u.useLayoutEffect(function(){return function(){if($.current&&typeof $.current.destroy=="function")try{$.current.destroy(),$.current=null}catch{}}},[]),u.createElement("div",{id:v,className:d,ref:W})};return o.propTypes={id:y.default.string,className:y.default.string,onChange:y.default.func,onBlur:y.default.func,onFocus:y.default.func,onReady:y.default.func,onEscape:y.default.func,onClick:y.default.func,onLoadError:y.default.func,onLoaderStart:y.default.func,onNetworksChange:y.default.func,onConfirm:y.default.func,onCancel:y.default.func,onShippingAddressChange:y.default.func,onShippingRateChange:y.default.func,onSavedPaymentMethodRemove:y.default.func,onSavedPaymentMethodUpdate:y.default.func,options:y.default.object},o.displayName=l,o.__elementType=e,o},g=typeof window>"u",Ze=u.createContext(null);Ze.displayName="EmbeddedCheckoutProviderContext";var vr=function(){return ee("calls useStripe()").stripe},hr=b("auBankAccount",g),Sr=b("card",g),Cr=b("cardNumber",g),$r=b("cardExpiry",g),kr=b("cardCvc",g),xr=b("iban",g),Er=b("payment",g),_r
2=b("expressCheckout",g),Pr=b("paymentRequestButton",g),Ir=b("linkAuthentication",g),Rr=b("address",g),Ar=b("shippingAddress",g),Tr=b("paymentMethodMessaging",g),wr=b("taxId",g),Or=b("issuingCardNumberDisplay",g),jr=b("issuingCardCvcDisplay",g),Br=b("issuingCardExpiryDisplay",g),Nr=b("issuingCardPinDisplay",g),Lr=b("issuingCardCopyButton",g),er=ge({default:()=>_e,fontFamily:()=>re,fontFeatureSettings:()=>ae,fontSize:()=>te,fontWeight:()=>ie,letterSpacing:()=>oe,lineHeight:()=>ne}),re,te,ne,oe,ae,ie,_e,rr=Re((()=>{re={sans:{$type:"fontFamily",$value:["Instrument Sans","system-ui","sans-serif"]}},te={"display-lg":{$type:"dimension",$value:"3.25rem"},display:{$type:"dimension",$value:"2.25rem"},"display-sm":{$type:"dimension",$value:"2rem"},"headline-lg":{$type:"dimension",$value:"1.875rem"},headline:{$type:"dimension",$value:"1.5rem"},"headline-sm":{$type:"dimension",$value:"1rem"},"body-lg-long":{$type:"dimension",$value:"1rem"},"body-lg":{$type:"dimension",$value:"1rem"},"body-long":{$type:"dimension",$value:"0.875rem"},body:{$type:"dimension",$value:"0.875rem"},"body-sm":{$type:"dimension",$value:"0.75rem"}},ne={"display-lg":{$type:"dimension",$value:"3.5rem"},display:{$type:"dimension",$value:"2.5rem"},"display-sm":{$type:"dimension",$value:"2rem"},"headline-lg":{$type:"dimension",$value:"2.25rem"},headline:{$type:"dimension",$value:"1.75rem"},"headline-sm":{$type:"dimension",$value:"1.25rem"},"body-lg-long":{$type:"dimension",$value:"1.5rem"},"body-lg":{$type:"dimension",$value:"1.25rem"},"body-long":{$type:"dimension",$value:"1.25rem"},body:{$type:"dimension",$value:"1.0625rem"},"body-sm":{$type:"dimension",$value:"0.9375rem"}},oe={"display-lg":{$type:"dimension",$value:"-0.02em"},display:{$type:"dimension",$value:"-0.02em"},"display-sm":{$type:"dimension",$value:"-0.02em"},"headline-lg":{$type:"dimension",$value:"-0.01em"},headline:{$type:"dimension",$value:"-0.01em"},"headline-sm":{$type:"dimension",$value:"0em"},"body-lg-long":{$type:"dimension",$value:"0em"},"body-lg":{$type:"dimension",$value:"0em"},"body-long":{$type:"dimension",$value:"0em"},body:{$type:"dimension",$value:"0em"},"body-sm":{$type:"dimension",$value:"0em"}},ae={roundedDots:{$type:"string",$value:"'ss01'"},alternateY:{$type:"string",$value:"'ss03'"},alternateCurrency:{$type:"string",$value:"'ss12'"},alternateQ:{$type:"string",$value:"'ss09'"},default:{$type:"string",$value:"'ss01', 'ss03', 'ss12', 'ss09', 'kern'"}},ie={normal:{$type:"number",$value:450},medium:{$type:"number",$value:550}},_e={fontFamily:re,fontSize:te,lineHeight:ne,letterSpacing:oe,fontFeatureSettings:ae,fontWeight:ie}})),tr=Ae((r=>{var e=r&&r.__importDefault||function(a){return a&&a.__esModule?a:{default:a}};Object.defineProperty(r,"__esModule",{value:!0}),r.stripeLayout=r.stripeRadius=void 0,r.resolveStripeColors=n,r.createStripeGoogleFonts=c,r.createStripeLocalFonts=T,r.createStripeVariables=k,r.createStripeRules=S,r.createStripeAppearance=w;var t=e((Be(),se(je).default)),i=e((rr(),se(er).default));function l(a){return a.length===9&&a.startsWith("#")?`rgba(${Number.parseInt(a.slice(1,3),16)}, ${Number.parseInt(a.slice(3,5),16)}, ${Number.parseInt(a.slice(5,7),16)}, ${(Number.parseInt(a.slice(7,9),16)/255).toFixed(3)})`:a}var o=t.default.color.neutral,s={"background/primary/light":o[0].$value,"background/primary/dark":o[1e3].$value,"background/secondary/light":o[50].$value,"background/secondary/dark":o[950].$value,"background/input/light":o[50].$value,"background/input/dark":t.default.background.input.dark.$value,"text/primary/light":o[900].$value,"text/primary/dark":o[50].$value,"text/tertiary/light":o[450].$value,"text/tertiary/dark":o[550].$value,"border/secondary/light":l(t.default.border.secondary.light.$value),"border/secondary/dark":l(t.default.border.secondary.dark.$value),"border/hover/light":o[100].$value,"border/hover/dark":o[900].$value,"border/selected/light":o[1e3].$value,"border/selected/dark":o[50].$value,"text/destructive/light":t.default.color.red[500].light.$value,"text/destructive/dark":t.default.color.red[500].dark.$value};
2function n(a){return{colorBackground:a?s["background/primary/dark"]:s["background/primary/light"],colorPrimary:a?s["text/primary/dark"]:s["text/primary/light"],colorSurface:a?s["background/secondary/dark"]:s["background/secondary/light"],inputBackground:a?s["background/input/dark"]:s["background/input/light"],colorPlaceholder:a?s["text/tertiary/dark"]:s["text/tertiary/light"],borderSecondary:a?s["border/secondary/dark"]:s["border/secondary/light"],borderHover:a?s["border/hover/dark"]:s["border/hover/light"],borderSelected:a?s["border/selected/dark"]:s["border/selected/light"],colorDanger:a?s["text/destructive/dark"]:s["text/destructive/light"]}}var v='instrumentSans, "instrumentSans Fallback","Instrument Sans","Instrument Sans Fallback",system-ui,sans-serif',d={light:String(i.default.fontWeight.normal.$value),normal:String(i.default.fontWeight.normal.$value),medium:String(i.default.fontWeight.medium.$value)};r.stripeRadius={input:"8px",global:"16px",tab:"4rem",button:"9999px"};var h="https://fonts.googleapis.com/css2";function c(a){return[{cssSrc:`${h}?family=${encodeURIComponent(a)}:[email protected]&display=swap`}]}function T(a,x){return[{family:x,src:a,display:"swap"}]}r.stripeLayout={type:"accordion",defaultCollapsed:!1,radios:"always",spacedAccordionItems:!1};function k(a){return{colorBackground:a.colorBackground,fontFamily:v,fontWeightLight:d.light,fontWeightNormal:d.normal,fontWeightMedium:d.medium,fontWeightBold:d.medium,colorText:a.colorPrimary,colorTextSecondary:a.colorPrimary,colorTextPlaceholder:a.colorPlaceholder,fontSmooth:"always",fontLineHeight:"1.5",colorPrimary:a.colorPrimary,colorSuccess:a.colorSurface,colorDanger:a.colorDanger,tabIconColor:a.colorPrimary,tabIconSelectedColor:a.colorPrimary,borderRadius:r.stripeRadius.global,buttonBorderRadius:r.stripeRadius.button,focusBoxShadow:"none",focusOutline:"none",iconCardCvcColor:"transparent",iconCheckmarkColor:a.colorBackground,iconColor:a.colorPrimary,gridRowSpacing:"16px",gridColumnSpacing:"16px"}}function S(a){return{".Block":{boxShadow:"none",border:`1px solid ${a.borderSecondary}`,borderRadius:r.stripeRadius.global,padding:"24px",backgroundColor:a.colorBackground},".AccordionItem":{borderRadius:"20px",boxShadow:"none",paddingTop:"20px",paddingBottom:"20px",paddingLeft:"24px",paddingRight:"24px",border:`1px solid ${a.borderSecondary}`},".Label":{fontSize:"16px",marginBottom:"12px",marginTop:"0"},".Input":{lineHeight:"26px",backgroundColor:a.inputBackground,borderRadius:r.stripeRadius.input,padding:"10px 16px",border:"1px solid transparent",boxShadow:"none"},".Input--invalid":{border:`1px solid ${a.colorDanger}`},".Input:focus":{outline:"none",boxShadow:"none",border:`1px solid ${a.borderSelected}`},".Input:hover":{border:`1px solid ${a.borderHover}`},".Tab":{borderRadius:r.stripeRadius.tab,padding:"8px 22px",border:`1px solid ${a.borderSecondary}`},".TabLabel":{fontSize:"16px"},".Tab--selected":{backgroundColor:"transparent",boxShadow:"none",border:`1px solid ${a.colorPrimary}`},".TabIcon--selected":{fill:a.colorPrimary},".TabLabel--selected":{color:a.colorPrimary},".Tab:focus":{outline:"none",boxShadow:"none",border:`1px solid ${a.colorPrimary}`},".RadioIcon":{width:"20px"},".RadioIconOuter":{stroke:a.borderSecondary,strokeWidth:"2px",strokeOpacity:"1"},".RadioIconOuter--checked":{stroke:a.colorPrimary,strokeWidth:"20px"},".RadioIconInner":{fill:"transparent",r:"8px"},".RadioIconInner--checked":{fill:a.colorBackground},".CheckboxInput":{border:`1px solid ${a.borderSecondary}`,backgroundColor:"transparent",borderRadius:"4px"},".CheckboxInput--checked":{borderColor:a.colorPrimary,backgroundColor:a.colorPrimary},".CheckboxInput:focus":{outline:"none",boxShadow:"none",border:`1px solid ${a.borderSelected}`},".Button":{paddingTop:"16px",paddingBottom:"16px"},".Error":{color:a.colorDanger}}}function w(a,x){const j=typeof a=="boolean"?n(a):a,I={theme:typeof a=="boolean"&&a?"night":"flat",labels:"above",variables:k(j),rules:S(j)};return x?{...I,...x,variables:{...I.variables,...x.variables},rules:{...I.rules,...x.rules}}:I}})),Q=tr(),Pe=(0,u.createContext)({status:"loading",reload:()=>{}}),Wr=()=>(0,u.useContext)(Pe),Mr=ge({Elements:()=>ur}),ye=Oe(),nr=(0,Q.createStripeGoogleFonts)("Instrument Sans"),Y={surface:"--color-surface-primary",surfaceSecondary:"--color-surface-secondary",text:"--color-primary",textTertiary:"--color-tertiary",borderSelected:"--color-border-selected",danger:"--color-error"},or=r=>{const e=r.trim();if(!e)return null;if(/^#[\da-f]{8}$/i.test(e)){const[t,i,l]=[1,3,5].map(o=>Number.parseInt(e.slice(o,o+2),16));return`rgba(${t}, ${i}, ${l}, ${(Number.parseInt(e.slice(7,9),16)/255).toFixed(3)})`}return/\b(?:var|color-mix|color|oklch|oklab|lch|lab)\(/i.test(e)?null:e},ar=r=>{const e=/^#([\da-f]{3}|[\da-f]{6}|[\da-f]{8})$/i.exec(r)?.[1];if(!e)return null;const t=e.length===3?e.replace(/./g,n=>n+n):e.slice(0,6),[i,l,o]=[0,2,4].map(n=>Number.parseInt(t.slice(n,n+2),16)/255),s=n=>n<=.04045?n/12.92:((n+.055)/1.055)**2.4;return .2126*s(i)+.7152*s(l)+.0722*s(o)},ir=r=>({secondary:r?"rgba(255, 255, 255, 0.14)":"rgba(0, 0, 0, 0.08)",hover:r?"rgba(255, 255, 255, 0.07)":"rgba(0, 0, 0, 0.04)"}),lr=()=>{if(typeof document>"u")return null;const{checkoutTheme:r,checkoutRadius:e}=document.documentElement.dataset;if(r!=="locked")return null;const t=e?Number(e):NaN;return{inputRadiusPx:Number.isFinite(t)?Math.min(16,Math.max(0,t)):null}},sr=r=>{const e={colors:(0,Q.resolveStripeColors)(!1),isDarkSurface:!1};if(typeof document>"u"||r)return e;const t=getComputedStyle(document.documentElement),i=h=>or(t.getPropertyValue(h)),l=i(Y.surface);if(!l)return e;const o=ar(l),s=o!==null&&o<.5,n=(0,Q.resolveStripeColors)(s),v=ir(s),d=i(Y.text);
2return{isDarkSurface:s,colors:{...n,colorBackground:l,colorSurface:i(Y.surfaceSecondary)??l,inputBackground:l,colorPrimary:d??n.colorPrimary,colorPlaceholder:i(Y.textTertiary)??n.colorPlaceholder,borderSecondary:v.secondary,borderHover:v.hover,borderSelected:i(Y.borderSelected)??d??n.borderSelected,colorDanger:i(Y.danger)??n.colorDanger}}},ur=r=>{const e=(0,We.c)(51),{children:t,options:i,stripeOptions:l}=r;let o;e[0]===Symbol.for("react.memo_cache_sentinel")?(o=lr(),e[0]=o):o=e[0];const s=o,{colors:n,isDarkSurface:v}=sr(s!==null),d=s?.inputRadiusPx??null;let h;e[1]!==l?(h=()=>ue(l),e[1]=l,e[2]=h):h=e[2];const[c,T]=(0,u.useState)(h),[k,S]=(0,u.useState)("loading"),[w,a]=(0,u.useState)(0);let x,j;e[3]!==c?(x=()=>{let le=!1;return c.then(Ie=>{if(!le){if(Ie){S("ready");return}Le(),S("error")}}),()=>{le=!0}},j=[c],e[3]=c,e[4]=x,e[5]=j):(x=e[4],j=e[5]),(0,u.useEffect)(x,j);let I;e[6]!==l?(I=()=>{S("loading"),T(ue(l,!0)),a(cr)},e[6]=l,e[7]=I):I=e[7];const V=I,p=(0,Q.createStripeAppearance)(n,{theme:v?"night":"flat"});let q;e[8]===Symbol.for("react.memo_cache_sentinel")?(q={...p.rules?.[".Block"],boxShadow:"none",border:"none",borderRadius:"0",padding:"0",backgroundColor:"transparent"},e[8]=q):q=e[8];let z;e[9]===Symbol.for("react.memo_cache_sentinel")?(z={...p.rules?.[".AccordionItem"],boxShadow:"none",border:"none",borderRadius:"0",paddingTop:"0",paddingBottom:"16px",paddingLeft:"0",paddingRight:"0",backgroundColor:"transparent"},e[9]=z):z=e[9];let N;e[10]!==d?(N=d!==null&&{borderRadius:`${d}px`},e[10]=d,e[11]=N):N=e[11];let L;e[12]!==n.borderSecondary||e[13]!==N?(L={...p.rules?.[".Input"],backgroundColor:"transparent",borderColor:n.borderSecondary,paddingTop:"14px",paddingBottom:"14px",...N},e[12]=n.borderSecondary,e[13]=N,e[14]=L):L=e[14];let H;e[15]===Symbol.for("react.memo_cache_sentinel")?(H={...p.rules?.[".Input--invalid"],boxShadow:"none"},e[15]=H):H=e[15];let R;e[16]!==n.borderSelected?(R={...p.rules?.[".Input:focus"],borderColor:n.borderSelected},e[16]=n.borderSelected,e[17]=R):R=e[17];let A;e[18]!==n.borderSelected?(A={...p.rules?.[".Input:focus"],borderColor:n.borderSelected},e[18]=n.borderSelected,e[19]=A):A=e[19];let _;e[20]===Symbol.for("react.memo_cache_sentinel")?(_={...p.rules?.[".Error"],fontSize:"14px"},e[20]=_):_=e[20];let E;e[21]!==n.colorPlaceholder?(E={...p.rules?.[".RadioIconOuter"],stroke:n.colorPlaceholder},e[21]=n.colorPlaceholder,e[22]=E):E=e[22];let F;e[23]===Symbol.for("react.memo_cache_sentinel")?(F={...p.rules?.[".Tab"],borderRadius:"0",padding:"0",border:"none"},e[23]=F):F=e[23];let m;e[24]===Symbol.for("react.memo_cache_sentinel")?(m={...p.rules?.[".Tab--selected"],backgroundColor:"transparent",boxShadow:"none",border:"none"},e[24]=m):m=e[24];let K;e[25]===Symbol.for("react.memo_cache_sentinel")?(K={...p.rules?.[".Tab:focus"],outline:"none",boxShadow:"none",border:"none"},e[25]=K):K=e[25];let $;e[26]===Symbol.for("react.memo_cache_sentinel")?($={...p.rules?.[".Label"],fontSize:"0",lineHeight:"0",marginBottom:"0"},e[26]=$):$=e[26];let W;e[27]===Symbol.for("react.memo_cache_sentinel")?(W={...p.rules?.[".TermsText"],fontSize:"12px"},e[27]=W):W=e[27];let O;e[28]!==p.rules||e[29]!==R||e[30]!==A||e[31]!==E||e[32]!==L?(O={...p.rules,".Block":q,".AccordionItem":z,".Input":L,".Input--invalid":H,".Input:focus":R,".Input:hover:focus":A,".Error":_,".RadioIconOuter":E,".Tab":F,".Tab--selected":m,".Tab:focus":K,".Label":$,".TermsText":W},e[28]=p.rules,e[29]=R,e[30]=A,e[31]=E,e[32]=L,e[33]=O):O=e[33];let D;e[34]!==p||e[35]!==O?(D={...p,disableAnimations:!0,rules:O},e[34]=p,e[35]=O,e[36]=D):D=e[36];const f=D;let P;e[37]!==V||e[38]!==k?(P={status:k,reload:V},e[37]=V,e[38]=k,e[39]=P):P=e[39];let M;e[40]!==f||e[41]!==i?(M={...i,appearance:f,fonts:nr},e[40]=f,e[41]=i,e[42]=M):M=e[42];let B;e[43]!==t||e[44]!==c||e[45]!==w||e[46]!==M?(B=(0,ye.jsx)(ke,{stripe:c,options:M,children:t},w),e[43]=t,e[44]=c,e[45]=w,e[46]=M,e[47]=B):B=e[47];let U;return e[48]!==P||e[49]!==B?(U=(0,ye.jsx)(Pe.Provider,{value:P,children:B}),e[48]=P,e[49]=B,e[50]=U):U=e[50],U};function cr(r){return r+1}export{kr as a,_r as c,vr as d,tr as i,Er as l,Mr as n,$r as o,Wr as r,Cr as s,ur as t,gr as u};

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.