1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["context-browser.Eq5uMdYA.js","esnext-vendor.BBoIVOQW.js","addresses-is-address-empty.ZJ1ThpFy.js","assets/is-address-empty.DJksNKpk.css","helpers-credit-card-disabled.CM3LQmkz.js","proposal-delegated-payment-instrument.D8Rq5lsx.js","PayButton-helpers.Xs3mcmMx.js","graphql-PaymentSessionMutation.KqKA7ogg.js","shared-shop-theme.Bl1CDyC7.js","consent-manager-shared.D79dm3f4.js","shared-negotiation-input-redeemable.DoYPkwkm.js","shared-receipt-mapper-load-recovery.B00vMyvb.js","shared-receipt-eager-mappers.DcURE_8N.js","shared-report-graphql-error.DXFM-a8I.js","shop-pay-normalizeBuyerDetails.z6w6H1D3.js","helpers-derivations.f29j39ws.js","redemption-promotions.C4GFMar5.js","hydrate.Tsur0pib.js","shared-permissions.DW7FOCqf.js","hooks-useShopPayExternalAppContext.YLtTu3k6.js","assets/previous.BfF3jg9W.css"])))=>i.map(i=>d[i]); 2import{b4 as H,u as F,g as x}from"./esnext-vendor.BBoIVOQW.js";const D="modulepreload",B=function(e){return"/cdn/shopifycloud/checkout-web/assets/c1/"+e},b={},A=function(t,n,r){let o=Promise.resolve();if(n&&n.length>0){let m=function(u){return Promise.all(u.map(p=>Promise.resolve(p).then(d=>({status:"fulfilled",value:d}),d=>({status:"rejected",reason:d}))))};document.getElementsByTagName("link");const s=document.querySelector("meta[property=csp-nonce]"),c=s?.nonce||s?.getAttribute("nonce");o=m(n.map(u=>{if(u=B(u),u in b)return;b[u]=!0;const p=u.endsWith(".css"),d=p?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${u}"]${d}`))return;const l=document.createElement("link");if(l.rel=p?"stylesheet":D,p||(l.as="script"),l.crossOrigin="",l.href=u,c&&l.setAttribute("nonce",c),document.head.appendChild(l),p)return new Promise((E,h)=>{l.addEventListener("load",E),l.addEventListener("error",()=>h(new Error(`Unable to preload CSS for ${u}`)))})}))}function i(s){const c=new Event("vite:preloadError",{cancelable:!0});if(c.payload=s,window.dispatchEvent(c),!c.defaultPrevented)throw s}return o.then(s=>{for(const c of s||[])c.status==="rejected"&&i(c.reason);return t().catch(i)})};typeof window<"u"&&typeof window.Element<"u"&&(Element.prototype.closest=Element.prototype.closest??function(t){let n=this;for(;n!=null;){if(n.matches(t))return n;const r=n.parentElement??n.parentNode;n=r!=null&&r.nodeType===1?r:null}return null},Element.prototype.matches=Element.prototype.matches??Element.prototype.msMatchesSelector??Element.prototype.webkitMatchesSelector);const G=50;function V(e){const t=Date.now();return window.setTimeout(()=>{e({didTimeout:!1,timeRemaining(){return Math.max(0,G-(Date.now()-t))}})},0)}function j(e){window.clearTimeout(e)}if(typeof window<"u"){const e=typeof window.requestIdleCallback!="function",t=typeof window.cancelIdleCallback!="function";(e||t)&&(window.requestIdleCallback=V,window.cancelIdleCallback=j)}function U(e){const t={};for(const n of e){if(Object(n)!==n)throw new TypeError(`Iterator value ${n} is not an entry object`);const{"0":r,"1":o}=n;Object.defineProperty(t,r,{configurable:!0,enumerable:!0,writable:!0,value:o})}return t}Object.fromEntries=Object.fromEntries??U;function $(e){const t=Number.isNaN(e)||e===void 0?0:Math.trunc(e),n=t<0?t+this.length:t;return this[n]}typeof Array.prototype.at!="function"&&(Array.prototype.at=$);const W=Element.prototype.insertBefore,q=Element.prototype.appendChild;Element.prototype.insertBefore=function(e,t){try{const n=!e||!(e instanceof Node),r=e instanceof Text&&t instanceof HTMLElement&&t?.localName==="font";return n||r||N(e)?e:W.apply(this,[e,t])}catch{return e}};Element.prototype.appendChild=function(e){try{const t=!e||!(e instanceof Node),n=e instanceof Text&&this.firstChild instanceof HTMLElement&&this.firstChild.localName==="font";return t||n||N(e)?e:q.apply(this,[e])}catch{return e}};function N(e){if(!(e instanceof HTMLScriptElement)||!e.textContent)return!1;try{return new Function(e.textContent),!1}catch(t){return console.warn("Blocked script with invalid JavaScript content:",{source:e.src||"inline script",contentPreview:`${e.textContent.slice(0,100)}...`,error:t instanceof Error?t.message:String(t)}),!0}}if(typeof performance<"u")try{const e=performance.measure.bind(performance),t=performance.mark.bind(performance);performance.measure=function(...r){try{return e.call(this,...r)}catch{return S("measure",String(r[0]))}}
2,performance.mark=function(...n){try{return t.call(this,...n)}catch{return S("mark",String(n[0]))}}}catch{}function S(e,t){const n={startTime:0,duration:0,entryType:e,name:t};return{...n,detail:void 0,toJSON:()=>n}}typeof window<"u"&&(window.ShopPay={});const Y="checkout:cf-challenge",M="checkout-web:cf-challenge-reloads",X=2,J=300*1e3;function K(e){try{const t=sessionStorage.getItem(M);if(!t)return[];const n=JSON.parse(t);return Array.isArray(n)?n.filter(r=>typeof r=="number"&&r<=e&&e-r<J):[]}catch{return[]}}function Q(e){try{return sessionStorage.setItem(M,JSON.stringify(e)),!0}catch{return!1}}function _(e){window.dispatchEvent(new CustomEvent(Y,{detail:e}))}if(typeof window<"u"){const e=window.fetch;let t=!1,n=!1;const r=()=>{const o=Date.now(),i=K(o);if(i.length>=X){n||(n=!0,_({event:"reload_suppressed",reloadCount:i.length,budgetTracked:!0}));return}t=!0;const s=Q([...i,o]);_({event:"reload",reloadCount:i.length+1,budgetTracked:s}),window.location.reload()};window.fetch=async(...o)=>{const i=await e(...o);return!t&&!i.ok&&i.headers.get("cf-mitigated")==="challenge"&&r(),i}}const z=["Load failed","Failed to fetch","when attempting to fetch resource","SystemJS https://github.com/systemjs/systemjs/blob/main/docs/errors.md#3"],O=["Importing a module script failed.","Failed to fetch dynamically imported module","error loading dynamically imported module","Cannot load script due to integrity mismatch"],we=["TranslationNotStringError","MissingReplacementError","CardFieldsSetupError","CardFieldsLoadError","IFrameNotFoundError","CardFieldsFetchFailureError","CardFieldsOperationalError","PayPalAPIError","WalletProviderFailureError","AbortedSessionError","AbortError","GraphQLFetchNetworkError","MonorailRequestError","BreadcrumbsPluginFetchError","OpenTelemetryClientError","InsecurePageError","UnsafeURLError","GraphQLFetchHttpBadRequestError","GraphQLFetchHttpStatusError","GraphQLFetchHttpContentTypeError","GraphQLFetchJsonParseError","SettingsCreateError","MerchantCommunicationError","PostPurchase::ClientJsonParseError","MissingAppContextError","MissingContextError"];function be(e){return e.name==="TypeError"&&O.some(t=>e.message.includes(t))}function Ae(e){return z.some(t=>e.message.includes(t))}class f extends Error{constructor(t,n={}){super(t,n),this.metadata=n.metadata??{},this.instanceGroupingHash=n.groupingHash,this.unactionable=!1,"captureStackTrace"in Error&&Error.captureStackTrace(this,this.constructor)}get groupingHash(){return this.instanceGroupingHash??this.defaultGroupingHash??this.name}isUnactionable(){return this.unactionable}}class Se extends f{constructor(t,n={}){super(t,n)}}const Z='[role="dialog"][aria-modal="true"]';class ee extends f{constructor(){super(...arguments),this.name="DynamicImportError",this.unactionable=!0}}class te extends f{constructor(){super(...arguments),this.name="ViewTransitionRenderError",this.defaultGroupingHash="ViewTransitionRenderError"}}function ne(e){return e.name==="TypeError"?`ViewTransitionRenderError: ${e.message}`:`ViewTransitionRenderError: ${e.name}`}function re(e,t){return t===void 0||Object.defineProperty(e,"groupingHash",{value:t,enumerable:!1,configurable:!0}),e}const _e={loaded:!1},a={pendingTransition:!1,transitionTypes:[],inflightTransition:void 0,inflightTransitionTypes:[],scheduled:!1,containers:new Set,get prefersReducedMotion(){return typeof window<"u"&&window.matchMedia("(prefers-reduced-motion: reduce)").matches}},L=(()=>{if(!document.startViewTransition)return()=>!1;try{const e=document.startViewTransition({update:()=>{},types:[]});return e.skipTransition(),e.ready.catch(()=>{}),()=>!0}catch{return()=>!1}})(),T="modal-content-cross-fade",oe=new Set(["payment-icons",T]),ie=new Set(["delivery-slide-start","delivery-slide-end","payment-icons",T,"payment-selector-change","payment-details-slide-start","payment-details-slide-end","money-lines"]),se=new Set(["payment-details-slide-start","payment-details-slide-end"]);function I(){if(!a.inflightTransition)return!1;const e=a.inflightTransitionTypes;return e.length===0||!e.every(t=>se.has(t))}function C(){const e=a.inflightTransition;if(!e)return!1;const t=a.inflightTransitionTypes;return t.length>0&&t.every(r=>ie.has(r))?(e.skipTransition(),!0):!1}function ae(){let e=!1;document.addEventListener("keydown",()=>{C()},{capture:!0,passive:!0}),document.addEventListener("pointerdown",()=>{e=C()},{capture:!0,passive:!0}),document.addEventListener("pointercancel",()=>{e=!1},{capture:!0,passive:!0}),document.addEventListener("click",t=>{e&&(e=!1,t.target===document.documentElement&&ce(t)&&t.stopImmediatePropagation())},{capture:!0})}ae();function ce({clientX:e,clientY:t,ctrlKey:n,metaKey:r,shiftKey:o,altKey:i,detail:s}){const c=document.elementFromPoint(e,t);return!c||c===document.documentElement||c.closest("[inert], :disabled")?!1:(c.closest("input, textarea, select, [contenteditable]")?.focus(),c.dispatchEvent(new MouseEvent("click",{bubbles:!0,cancelable:!0,clientX:e,clientY:t,ctrlKey:n,metaKey:r,shiftKey:o,altKey:i,detail:s})),!0)}H.debounceRendering=e=>
2{if(!a.scheduled){if(a.scheduled=!0,!w()&&!I()){queueMicrotask(()=>{if(w()||I()){v(e);return}k(e)});return}v(e)}};function w(){const e=document.querySelectorAll(Z),t=a.transitionTypes,n=t.length>0&&t.every(o=>oe.has(o)),r=t.includes(T);return a.pendingTransition&&!a.prefersReducedMotion&&!(typeof window<"u"&&window!==window.parent)&&!document.hidden&&L()&&(e.length===0||n)&&(!r||e.length===1)}function k(e){const t=a.pendingTransition,n=a.transitionTypes;a.pendingTransition=!1,a.transitionTypes=[],a.scheduled=!1;try{e()}catch(r){const o=r instanceof Error?r.message:String(r);if(O.some(i=>o.includes(i)))throw new ee(o);{const i=r instanceof Error?ne(r):void 0;throw re(new te(`Error during render (no view transition): ${o}`,{cause:r,groupingHash:i,metadata:{prefersReducedMotion:a.prefersReducedMotion,pendingTransition:t,transitionTypes:n,isInIframe:typeof window<"u"&&window!==window.parent,supportsViewTransitions:L(),...ue(r)}}),i)}}}const le="view-transition-generated-names";function g(e){return`@layer ${le} {${e}}`}async function v(e){if(await(a.inflightTransition?.finished??Promise.resolve()),!w()){k(e);return}const n=a.transitionTypes.includes(T),r=new Map,o=document.createElement("style");let i=0,s=0;function c(){if(n)return g("");let d="";for(const l of a.containers){let E=1;l.dataset.vtContainerId=`${i++}`;for(const h of l.children){const y=`vt-${s++}`;r.set(h,y),d+=` 3 [data-vt-container-id="${l.dataset.vtContainerId}"] > :nth-child(${E++}) { 4 view-transition-name: ${y}; 5 } 6 `}}return g(d)}function m(){if(n)return g("");let d="";for(const l of a.containers){let E=1;for(const h of l.children){const y=r.get(h);l.dataset.vtContainerId||(l.dataset.vtContainerId=`${i++}`),d+=` 7 [data-vt-container-id="${l.dataset.vtContainerId}"] > :nth-child(${E++}) { 8 view-transition-name: ${y??`vt-${s++}`}; 9 } 10 `}}return g(d)}o.innerHTML=c(),document.head.appendChild(o);const u=a.transitionTypes?.length?a.transitionTypes:void 0;a.transitionTypes=[];const p=document.startViewTransition({update:()=>{a.scheduled=!1,e(),o.innerHTML=m()},types:u});a.inflightTransition=p,a.inflightTransitionTypes=u?[...u]:[],p.ready.catch(()=>{}),p.updateCallbackDone.then(()=>{a.pendingTransition=!1}).catch(()=>{}),p.finished.finally(()=>{a.inflightTransition=void 0,a.inflightTransitionTypes=[],document.head.removeChild(o);for(const d of a.containers)delete d.dataset.vtContainerId}).catch(()=>{})}function ue(e){const t={};e instanceof Error&&(t.originalErrorName=e.name,t.originalErrorMessage=e.message,t.originalErrorStack=e.stack);try{const n=document.querySelectorAll("script[integrity]"),r=n.length;t.scriptsWithIntegrityCount=r,t.scriptsWithIntegrity=Array.from(n).slice(0,10).map(o=>({src:o.getAttribute("src"),integrity:o.getAttribute("integrity")}))}catch{}try{const n=document.querySelector('script[type="importmap"], script[type="systemjs-importmap"]');if(n?.textContent){const r=JSON.parse(n.textContent);if(r.integrity!=null&&typeof r.integrity=="object"&&!Array.isArray(r.integrity)){const o=Object.entries(r.integrity);t.importMapIntegrityCount=o.length,t.importMapIntegritySample=Object.fromEntries(o.slice(0,10))}}}catch{}return t}const Ie="e_e5eef1f760ed55e19c6defbc6ce215af",Ce="e_bdd4ad9fc347bfc12f78dabcc6059bc7",ve="e_6221c0aa1c5a577e83a5c1e4c9b3d592",Pe="e_2e28467f22ae5396e5a4d2b8e02c531e",Re="e_5494add585d1f70ed2467b09056b8914",Ne="e_178b603bb3abd8a0d967da5edd358635",Me="e_1fca27be02d739cb3043ec76479eb013",de="e_fd1e35bf8f1ad8ee87a7dc13dba7b296";pe();async function pe(){const e=performance.now(),[{buildAppContextForBrowser:t},{hydrateApp:n,renderTerminalError:r}]=await Promise.all([A(()=>import("./context-browser.Eq5uMdYA.js").then(i=>i.b),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16])),A(()=>import("./hydrate.Tsur0pib.js").then(i=>i.ju),__vite__mapDeps([17,1,2,3,18,19,20]))]);let o;try{await Ee();const i=document.getElementById("app"),s=document.getElementById("terminal-error-page"),c=await t({rootElement:i,onTerminalError:r({rootElement:i,terminalErrorPageElement:s}),eagerAppMetafieldsExperiment:de});if(c.status==="error")throw o=c.errorHandlingContext,c.error;o=c.appContext;const m=c.appContext;await n(m,{bootStartTime:e})}catch(i){if(o)await o.terminalErrorHandler.notify(i);else throw i}finally{if(o){const{client:{initialRequest:i},observability:s}=o;s.counter({name:"checkout_web_client_received",value:1,attributes:{serverRendered:i.isServerRendered,didHydrate:i.isServerRendered}})}}}const fe=Symbol.for("Shopify.checkout.htmlAvailable"),me="checkout:htmlavailable";async function Ee(){window[fe]||await new Promise(e=>{document.addEventListener(me,e,{once:!0})})}
10function Oe(e,t){return e==="phone"&&t.user.isUnauthenticatedUser.value}function Le(e,t){let n=e;const r=t.split(".");for(const o of r){if(n==null)return;n=n[o]}return n}function ke(e,t,n){const r={...e},o=t.split("."),i=o.pop();if(!i)return e;let s=r;for(const c of o)s[c]={...s[c]},s=s[c];return n==null?delete s[i]:s[i]=n,r}function he(e,...t){const n={...e};for(const r of t)for(const o of Object.keys(r)){const i=n[o],s=r[o];P(i)&&P(s)?n[o]=he(i,s):s!=null&&(n[o]=s)}return n}function P(e){if(e==null||typeof e!="object"||Array.isArray(e))return!1;const t=Object.getPrototypeOf(e);return t===Object.prototype||t===null}class He extends f{constructor(t){super(t),this.name="IgnoredApplePayAPIError"}}class Fe extends f{constructor(){super(...arguments),this.name="ApplePayAPIError"}}class xe extends f{constructor(){super(...arguments),this.name="AbortedSessionError"}}class De extends f{constructor(){super(...arguments),this.name="WalletProviderFailureError"}}class Be extends f{constructor(){super(...arguments),this.name="ApplePaySessionNotReadyError",this.defaultGroupingHash="ApplePaySessionNotReadyError"}}const ye="v9oRy",ge="XdrBA",R={Layout:ye,isAnimated:ge};function Ge({children:e,className:t}){return F("main",{className:x([R.Layout,R.isAnimated,t]),children:e})}function Ve(e){const t=e.session.paymentMethodOption.value;return t==null?"SHOP_PAY":t.name}export{Be as A,Me as E,Ge as F,He as I,Ie as J,Ce as O,Re as P,f as S,Pe as U,De as W,A as _,we as a,Ae as b,Le as c,he as d,xe as e,Fe as f,Ve as g,ve as h,be as i,O as j,z as k,Ne as l,Se as m,Z as n,_e as p,Oe as s,ke as u,a as v};
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.