var _____WB$wombat$assign$function_____=function(name){return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name))||self[name];};if(!self.__WB_pmw){self.__WB_pmw=function(obj){this.__WB_source=obj;return this;}}{ let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opens = _____WB$wombat$assign$function_____("opens"); import{g_ as Se,dK as Ae,b3 as q,mE as Mt,bQ as G,a7 as $,al as Y,a as E,G as Re,K as he,$ as pe,dT as Dt,dV as et,m1 as zt,mg as fn,eA as pn,oc as hn,od as gt,oe as mn,of as gn,og as wn,_ as D,oh as yn,oi as bn,oj as xn,ok as vn,ol as _n,om as wt,on as Ke,ct as Ne}from"./app.HYTB0DCS.js";const Nt=Se({autoOpened:!1,dispatch:()=>{throw new Error("Invalid attempt to call dispatch outside of AuthorizeStateProvider")},loaded:!1,modalDismissible:!1,modalForceHidden:!1,modalVisible:!1,sessionDetected:!1}),it=()=>Ae(Nt),Vt=Se({client:void 0,leaveBreadcrumb:()=>{throw new Error("Invalid attempt to call leaveBreadcrumb outside of context.")},notify:()=>{throw new Error("Invalid attempt to call notify outside of context.")}}),Ce=()=>{const e=Ae(Vt);if(!e)throw new Error("Invalid attempt to use useBugsnag outside of BugsnagProvider.");return e},En={analyticsData:{analyticsTraceId:""},getTrekkieAttributes:async()=>Promise.resolve({}),produceMonorailEvent:()=>{throw new Error("Invalid attempt to call produceMonorailEvent outside of context.")},trackModalStateChange:()=>{throw new Error("Invalid attempt to call trackModalStateChange outside of context.")},trackPageImpression:async()=>{throw new Error("Invalid attempt to call trackPageImpression outside of context.")},trackUserAction:()=>{throw new Error("Invalid attempt to call trackUserAction outside of context.")}},Ft=Se(En),kn=()=>Ae(Ft),Sn={log:()=>{throw new Error("Invalid attempt to call log outside of context.")},recordCounter:()=>{throw new Error("Invalid attempt to call recordCounter outside of context.")},recordGauge:()=>{throw new Error("Invalid attempt to call recordGauge outside of context.")},recordHistogram:()=>{throw new Error("Invalid attempt to call recordHistogram outside of context.")},client:void 0},jt=Se(Sn),$t=()=>Ae(jt),An={addEventListener:()=>{},analytics:{},btoa:()=>"",clearTimeout:()=>{},CSS:{supports:(e,t)=>!1},customElements:{},devicePixelRatio:1,getComputedStyle:e=>({}),HTMLElement:{},innerHeight:0,innerWidth:0,localStorage:{getItem(){throw new Error("localStorage is not available")},setItem(){throw new Error("localStorage is not available")},removeItem(){throw new Error("localStorage is not available")}},sessionStorage:{getItem(){throw new Error("sessionStorage is not available")},setItem(){throw new Error("sessionStorage is not available")},removeItem(){throw new Error("sessionStorage is not available")}},location:{assign:()=>{},hostname:"",href:"",origin:"",pathname:"",search:""},matchMedia:()=>({matches:!1}),open:()=>{},PublicKeyCredential:{isConditionalMediationAvailable(){return Promise.resolve(!1)}},removeEventListener:()=>{},screen:{availWidth:0,height:0,orientation:{type:""},width:0},screenLeft:0,screenTop:0,screenX:0,screenY:0,scrollTo:()=>{},setTimeout:()=>0,Shopify:{},ShopifyAnalytics:{},top:{addEventListener:()=>{},removeEventListener:()=>{}},trekkie:{},URL,visualViewport:{}},O=typeof window>"u"?An:window;function Rn(e){if(e.match(/\.shop\.dev$/))return"shop.dev";const n=e.match(/([^.]*[.]){2}(eu|us|asia).spin.dev/);if(n&&n.length)return n[0]}function Cn(e){const t=Rn(e.hostname);return t?{coreAuthDomain:`https://shop1.my.${t}`,payAuthDomain:`https://shop-server.${t}`,payAuthDomainAlt:`https://pay-shopify-com.${t}`}:{coreAuthDomain:e.origin,payAuthDomain:"https://shop.app",payAuthDomainAlt:"https://pay.shopify.com"}}const at=Cn(O.location),Ut=at.coreAuthDomain,Ue=at.payAuthDomain,Bt=at.payAuthDomainAlt,Tn={activeElement:null,addEventListener:()=>{},appendChild:()=>{},body:{},cookie:"",createElement:()=>{},createTextNode:()=>{},documentElement:{clientHeight:0,clientWidth:0,lang:"",style:{overflow:"",removeProperty:()=>{}}},getElementById:()=>null,head:{appendChild:()=>{}},location:void 0,querySelector:()=>{},querySelectorAll:()=>[],removeEventListener:()=>{},styleSheets:{}},J=typeof document>"u"?Tn:document,Ln=O.HTMLElement,st=e=>{const t=O.HTMLElement;O.HTMLElement=Ln;const n=e();return O.HTMLElement=t,n},On=e=>st(()=>J.createElement(e)),Pn=(e,t)=>{st(()=>{customElements.define(e,t)})},In=e=>st(()=>Reflect.construct(HTMLElement,[],e)),Ht=Se({devMode:!1,element:null,instanceId:""}),we=()=>Ae(Ht);function ct(){const{notify:e}=Ce(),{element:t}=we();return q((o,r,a=!1)=>{if(!t){e(new Error("dispatchEvent called without a reference to the custom element."));return}t.dispatchEvent(new CustomEvent(o,{bubbles:a,cancelable:!1,composed:!0,detail:r}))},[t,e])}function Mn(e){return e.replace(/([a-z0-9])([A-Z])/g,(t,n,o)=>`${n}-${o.toLowerCase()}`).replace(/[\s_]+/g,"-")}function Dn(e){return e.replace(/[A-Z]/g,t=>`_${t.toLowerCase()}`).replace(/^_/,"")}class me extends Error{constructor(t,n,o=Mt()){super(t),this.name=n,this.analyticsTraceId=o;const r=Dn(n);this.analyticsTraceId=o,this.code=r,this.name=n}}function zn(e,t){try{const n=new O.URL(e).host.split(".").reverse(),o=new O.URL(t).host.split(".").reverse();for(let r=0;rnew Set,[]);$(()=>(r.add(n),()=>{r.delete(n)}),[n,r]);const a=q(d=>{r.forEach(p=>p(d))},[r]),i=q(d=>{const p=o.current instanceof HTMLIFrameElement?o.current.contentWindow:o.current;if(Nn(d,p||null)){if(!e.some(h=>zn(h,d.origin))){console.error("Origin mismatch for message event",d);return}a(d.data)}},[e,a,o]),l=q(()=>{t.removeEventListener("message",i,!1)},[t,i]);$(()=>(t.addEventListener("message",i,!1),()=>{l()}),[t,l,i]);const s=q(async(d,p)=>{let h;return new Promise((c,m)=>{function y(){m(new me("Abort signal received","AbortSignalReceivedError"))}p?.aborted&&y(),h=w=>{w.type===d&&(p?.removeEventListener("abort",y),c(w))},r.add(h),p?.addEventListener("abort",y)}).finally(()=>{r.delete(h)})},[r]);return{destroy:l,waitForMessage:s}}function Fn({includeCore:e,source:t,storefrontOrigin:n,...o}){const r=ct(),a=q(async s=>{const{onAuthorizeStepChanged:d,onClose:p,onComplete:h,onConfirmSuccess:u,onContinueToCheckout:c,onCustomFlowSideEffect:m,onDiscountSaved:y,onEmailChangeRequested:w,onError:b,onLeadCaptureLoaded:S,onLoaded:v,onModalOpened:k,onPopUpOpened:_,onPrequalError:P,onPrequalMissingInformation:R,onPrequalReady:U,onPrequalSuccess:z,onProcessingStatusUpdated:F,onResizeIframe:N,onRestarted:T,onShopUserMatched:H,onShopUserNotMatched:L,onUserVerified:I,onVerificationStepChanged:V,onPromptChange:C,onPromptContinue:j}=o;switch(s.type){case"authorize_step_changed":d?.(s);break;case"close":case"close_requested":p?.();break;case"completed":{const{avatar:M,email:Z,givenName:fe,loggedIn:K,shouldFinalizeLogin:ee}=s;h&&await h(s),r("completed",s),K&&ee&&r("storefront:signincompleted",{avatar:(()=>{const ne=On("shop-user-avatar"),Q=fe?.[0]||Z?.[0]||"";return ne.setAttribute("src",M||""),ne.setAttribute("initial",Q),ne})()},!0);break}case"confirm_success":u?.();break;case"continue_to_checkout":c?.();break;case"custom_flow_side_effect":m?.(s);break;case"discount_saved":y?.();break;case"email_change_requested":w?.();break;case"error":b?.(s),r("error",{code:s.code,message:s.message,email:s.email});break;case"loaded":r("loaded",s),"loginTitle"in s?S?.(s):v?.(s);break;case"modalopened":k?.();break;case"pop_up_opened":_?.(s),r("popuploading",s);break;case"processing_status_updated":F?.();break;case"prequal_error":P?.();break;case"prequal_missing_information":R?.();break;case"prequal_ready":U?.();break;case"prequal_success":z?.();break;case"resize_iframe":N?.(s);break;case"restarted":T?.(),r("restarted");break;case"shop_user_matched":H?.(s);break;case"shop_user_not_matched":L?.(s);break;case"user_verified":I?.(s);break;case"verification_step_changed":V?.(s);break;case"prompt_change":C?.();break;case"prompt_continue":j?.();break}},[r,o]),i=G(()=>[Ue,Bt,...e?[Ut]:[],...n?[n]:[]],[e,n]);return Vn({allowedOrigins:i,handler:a,source:t})}const yt={code:"temporarily_unavailable",message:"Shop login is temporarily unavailable"},jn=1e4;function $n(){const e=ct(),t=Y(null),n=q(()=>{t.current&&(clearTimeout(t.current),t.current=null)},[]);return{initLoadTimeout:q(()=>{n(),t.current=setTimeout(()=>{e("error",{message:yt.message,code:yt.code}),n()},jn)},[n,e]),clearLoadTimeout:n}}function Un(e){const t=Y(e);return $(()=>{t.current=e}),t.current}function Wt(e,t,n=!1){let o;return function(...r){const a=()=>{o=void 0,n||e.apply(this,r)},i=n&&!o;typeof o=="number"&&clearTimeout(o),o=setTimeout(a,t),i&&e.apply(this,r)}}function Bn({contentWindow:e,event:t}){if(!e)return;[Ue,Bt].forEach(o=>{e.postMessage(t,o)})}const bt=({iframe:e,src:t})=>{const n=e?.parentNode;!n||!e||(n.removeChild(e),e.setAttribute("src",""),e.setAttribute("src",t),n.appendChild(e))},_e=Math.min,ye=Math.max,Be=Math.round,Ve=Math.floor,le=e=>({x:e,y:e}),Hn={left:"right",right:"left",bottom:"top",top:"bottom"},Wn={start:"end",end:"start"};function tt(e,t,n){return ye(e,_e(t,n))}function Me(e,t){return typeof e=="function"?e(t):e}function be(e){return e.split("-")[0]}function De(e){return e.split("-")[1]}function qt(e){return e==="x"?"y":"x"}function lt(e){return e==="y"?"height":"width"}function Ee(e){return["top","bottom"].includes(be(e))?"y":"x"}function dt(e){return qt(Ee(e))}function qn(e,t,n){n===void 0&&(n=!1);const o=De(e),r=dt(e),a=lt(r);let i=r==="x"?o===(n?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=He(i)),[i,He(i)]}function Yn(e){const t=He(e);return[nt(e),t,nt(t)]}function nt(e){return e.replace(/start|end/g,t=>Wn[t])}function Xn(e,t,n){const o=["left","right"],r=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?r:o:t?o:r;case"left":case"right":return t?a:i;default:return[]}}function Kn(e,t,n,o){const r=De(e);let a=Xn(be(e),n==="start",o);return r&&(a=a.map(i=>i+"-"+r),t&&(a=a.concat(a.map(nt)))),a}function He(e){return e.replace(/left|right|bottom|top/g,t=>Hn[t])}function Gn(e){return{top:0,right:0,bottom:0,left:0,...e}}function Yt(e){return typeof e!="number"?Gn(e):{top:e,right:e,bottom:e,left:e}}function We(e){const{x:t,y:n,width:o,height:r}=e;return{width:o,height:r,top:n,left:t,right:t+o,bottom:n+r,x:t,y:n}}function xt(e,t,n){let{reference:o,floating:r}=e;const a=Ee(t),i=dt(t),l=lt(i),s=be(t),d=a==="y",p=o.x+o.width/2-r.width/2,h=o.y+o.height/2-r.height/2,u=o[l]/2-r[l]/2;let c;switch(s){case"top":c={x:p,y:o.y-r.height};break;case"bottom":c={x:p,y:o.y+o.height};break;case"right":c={x:o.x+o.width,y:h};break;case"left":c={x:o.x-r.width,y:h};break;default:c={x:o.x,y:o.y}}switch(De(t)){case"start":c[i]-=u*(n&&d?-1:1);break;case"end":c[i]+=u*(n&&d?-1:1);break}return c}const Zn=async(e,t,n)=>{const{placement:o="bottom",strategy:r="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),s=await(i.isRTL==null?void 0:i.isRTL(t));let d=await i.getElementRects({reference:e,floating:t,strategy:r}),{x:p,y:h}=xt(d,o,s),u=o,c={},m=0;for(let y=0;y({name:"arrow",options:e,async fn(t){const{x:n,y:o,placement:r,rects:a,platform:i,elements:l,middlewareData:s}=t,{element:d,padding:p=0}=Me(e,t)||{};if(d==null)return{};const h=Yt(p),u={x:n,y:o},c=dt(r),m=lt(c),y=await i.getDimensions(d),w=c==="y",b=w?"top":"left",S=w?"bottom":"right",v=w?"clientHeight":"clientWidth",k=a.reference[m]+a.reference[c]-u[c]-a.floating[m],_=u[c]-a.reference[c],P=await(i.getOffsetParent==null?void 0:i.getOffsetParent(d));let R=P?P[v]:0;(!R||!await(i.isElement==null?void 0:i.isElement(P)))&&(R=l.floating[v]||a.floating[m]);const U=k/2-_/2,z=R/2-y[m]/2-1,F=_e(h[b],z),N=_e(h[S],z),T=F,H=R-y[m]-N,L=R/2-y[m]/2+U,I=tt(T,L,H),V=!s.arrow&&De(r)!=null&&L!==I&&a.reference[m]/2-(LL<=0)){var N,T;const L=(((N=a.flip)==null?void 0:N.index)||0)+1,I=R[L];if(I)return{data:{index:L,overflows:F},reset:{placement:I}};let V=(T=F.filter(C=>C.overflows[0]<=0).sort((C,j)=>C.overflows[1]-j.overflows[1])[0])==null?void 0:T.placement;if(!V)switch(c){case"bestFit":{var H;const C=(H=F.filter(j=>{if(P){const M=Ee(j.placement);return M===S||M==="y"}return!0}).map(j=>[j.placement,j.overflows.filter(M=>M>0).reduce((M,Z)=>M+Z,0)]).sort((j,M)=>j[1]-M[1])[0])==null?void 0:H[0];C&&(V=C);break}case"initialPlacement":V=l;break}if(r!==V)return{reset:{placement:V}}}return{}}}};async function eo(e,t){const{placement:n,platform:o,elements:r}=e,a=await(o.isRTL==null?void 0:o.isRTL(r.floating)),i=be(n),l=De(n),s=Ee(n)==="y",d=["left","top"].includes(i)?-1:1,p=a&&s?-1:1,h=Me(t,e);let{mainAxis:u,crossAxis:c,alignmentAxis:m}=typeof h=="number"?{mainAxis:h,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...h};return l&&typeof m=="number"&&(c=l==="end"?m*-1:m),s?{x:c*p,y:u*d}:{x:u*d,y:c*p}}const to=function(e){return e===void 0&&(e=0),{name:"offset",options:e,async fn(t){var n,o;const{x:r,y:a,placement:i,middlewareData:l}=t,s=await eo(t,e);return i===((n=l.offset)==null?void 0:n.placement)&&(o=l.arrow)!=null&&o.alignmentOffset?{}:{x:r+s.x,y:a+s.y,data:{...s,placement:i}}}}},no=function(e){return e===void 0&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:o,placement:r}=t,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:w=>{let{x:b,y:S}=w;return{x:b,y:S}}},...s}=Me(e,t),d={x:n,y:o},p=await Xt(t,s),h=Ee(be(r)),u=qt(h);let c=d[u],m=d[h];if(a){const w=u==="y"?"top":"left",b=u==="y"?"bottom":"right",S=c+p[w],v=c-p[b];c=tt(S,c,v)}if(i){const w=h==="y"?"top":"left",b=h==="y"?"bottom":"right",S=m+p[w],v=m-p[b];m=tt(S,m,v)}const y=l.fn({...t,[u]:c,[h]:m});return{...y,data:{x:y.x-n,y:y.y-o}}}}};function qe(){return typeof window<"u"}function Te(e){return Kt(e)?(e.nodeName||"").toLowerCase():"#document"}function te(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function ue(e){var t;return(t=(Kt(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Kt(e){return qe()?e instanceof Node||e instanceof te(e).Node:!1}function ae(e){return qe()?e instanceof Element||e instanceof te(e).Element:!1}function de(e){return qe()?e instanceof HTMLElement||e instanceof te(e).HTMLElement:!1}function vt(e){return!qe()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof te(e).ShadowRoot}function ze(e){const{overflow:t,overflowX:n,overflowY:o,display:r}=se(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+n)&&!["inline","contents"].includes(r)}function oo(e){return["table","td","th"].includes(Te(e))}function Ye(e){return[":popover-open",":modal"].some(t=>{try{return e.matches(t)}catch{return!1}})}function ut(e){const t=ft(),n=ae(e)?se(e):e;return["transform","translate","scale","rotate","perspective"].some(o=>n[o]?n[o]!=="none":!1)||(n.containerType?n.containerType!=="normal":!1)||!t&&(n.backdropFilter?n.backdropFilter!=="none":!1)||!t&&(n.filter?n.filter!=="none":!1)||["transform","translate","scale","rotate","perspective","filter"].some(o=>(n.willChange||"").includes(o))||["paint","layout","strict","content"].some(o=>(n.contain||"").includes(o))}function ro(e){let t=ge(e);for(;de(t)&&!ke(t);){if(ut(t))return t;if(Ye(t))return null;t=ge(t)}return null}function ft(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}function ke(e){return["html","body","#document"].includes(Te(e))}function se(e){return te(e).getComputedStyle(e)}function Xe(e){return ae(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function ge(e){if(Te(e)==="html")return e;const t=e.assignedSlot||e.parentNode||vt(e)&&e.host||ue(e);return vt(t)?t.host:t}function Gt(e){const t=ge(e);return ke(t)?e.ownerDocument?e.ownerDocument.body:e.body:de(t)&&ze(t)?t:Gt(t)}function Pe(e,t,n){var o;t===void 0&&(t=[]),n===void 0&&(n=!0);const r=Gt(e),a=r===((o=e.ownerDocument)==null?void 0:o.body),i=te(r);if(a){const l=ot(i);return t.concat(i,i.visualViewport||[],ze(r)?r:[],l&&n?Pe(l):[])}return t.concat(r,Pe(r,[],n))}function ot(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Zt(e){const t=se(e);let n=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const r=de(e),a=r?e.offsetWidth:n,i=r?e.offsetHeight:o,l=Be(n)!==a||Be(o)!==i;return l&&(n=a,o=i),{width:n,height:o,$:l}}function pt(e){return ae(e)?e:e.contextElement}function ve(e){const t=pt(e);if(!de(t))return le(1);const n=t.getBoundingClientRect(),{width:o,height:r,$:a}=Zt(t);let i=(a?Be(n.width):n.width)/o,l=(a?Be(n.height):n.height)/r;return(!i||!Number.isFinite(i))&&(i=1),(!l||!Number.isFinite(l))&&(l=1),{x:i,y:l}}const io=le(0);function Jt(e){const t=te(e);return!ft()||!t.visualViewport?io:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function ao(e,t,n){return t===void 0&&(t=!1),!n||t&&n!==te(e)?!1:t}function xe(e,t,n,o){t===void 0&&(t=!1),n===void 0&&(n=!1);const r=e.getBoundingClientRect(),a=pt(e);let i=le(1);t&&(o?ae(o)&&(i=ve(o)):i=ve(e));const l=ao(a,n,o)?Jt(a):le(0);let s=(r.left+l.x)/i.x,d=(r.top+l.y)/i.y,p=r.width/i.x,h=r.height/i.y;if(a){const u=te(a),c=o&&ae(o)?te(o):o;let m=u,y=ot(m);for(;y&&o&&c!==m;){const w=ve(y),b=y.getBoundingClientRect(),S=se(y),v=b.left+(y.clientLeft+parseFloat(S.paddingLeft))*w.x,k=b.top+(y.clientTop+parseFloat(S.paddingTop))*w.y;s*=w.x,d*=w.y,p*=w.x,h*=w.y,s+=v,d+=k,m=te(y),y=ot(m)}}return We({width:p,height:h,x:s,y:d})}function ht(e,t){const n=Xe(e).scrollLeft;return t?t.left+n:xe(ue(e)).left+n}function Qt(e,t,n){n===void 0&&(n=!1);const o=e.getBoundingClientRect(),r=o.left+t.scrollLeft-(n?0:ht(e,o)),a=o.top+t.scrollTop;return{x:r,y:a}}function so(e){let{elements:t,rect:n,offsetParent:o,strategy:r}=e;const a=r==="fixed",i=ue(o),l=t?Ye(t.floating):!1;if(o===i||l&&a)return n;let s={scrollLeft:0,scrollTop:0},d=le(1);const p=le(0),h=de(o);if((h||!h&&!a)&&((Te(o)!=="body"||ze(i))&&(s=Xe(o)),de(o))){const c=xe(o);d=ve(o),p.x=c.x+o.clientLeft,p.y=c.y+o.clientTop}const u=i&&!h&&!a?Qt(i,s,!0):le(0);return{width:n.width*d.x,height:n.height*d.y,x:n.x*d.x-s.scrollLeft*d.x+p.x+u.x,y:n.y*d.y-s.scrollTop*d.y+p.y+u.y}}function co(e){return Array.from(e.getClientRects())}function lo(e){const t=ue(e),n=Xe(e),o=e.ownerDocument.body,r=ye(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),a=ye(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let i=-n.scrollLeft+ht(e);const l=-n.scrollTop;return se(o).direction==="rtl"&&(i+=ye(t.clientWidth,o.clientWidth)-r),{width:r,height:a,x:i,y:l}}function uo(e,t){const n=te(e),o=ue(e),r=n.visualViewport;let a=o.clientWidth,i=o.clientHeight,l=0,s=0;if(r){a=r.width,i=r.height;const d=ft();(!d||d&&t==="fixed")&&(l=r.offsetLeft,s=r.offsetTop)}return{width:a,height:i,x:l,y:s}}function fo(e,t){const n=xe(e,!0,t==="fixed"),o=n.top+e.clientTop,r=n.left+e.clientLeft,a=de(e)?ve(e):le(1),i=e.clientWidth*a.x,l=e.clientHeight*a.y,s=r*a.x,d=o*a.y;return{width:i,height:l,x:s,y:d}}function _t(e,t,n){let o;if(t==="viewport")o=uo(e,n);else if(t==="document")o=lo(ue(e));else if(ae(t))o=fo(t,n);else{const r=Jt(e);o={x:t.x-r.x,y:t.y-r.y,width:t.width,height:t.height}}return We(o)}function en(e,t){const n=ge(e);return n===t||!ae(n)||ke(n)?!1:se(n).position==="fixed"||en(n,t)}function po(e,t){const n=t.get(e);if(n)return n;let o=Pe(e,[],!1).filter(l=>ae(l)&&Te(l)!=="body"),r=null;const a=se(e).position==="fixed";let i=a?ge(e):e;for(;ae(i)&&!ke(i);){const l=se(i),s=ut(i);!s&&l.position==="fixed"&&(r=null),(a?!s&&!r:!s&&l.position==="static"&&!!r&&["absolute","fixed"].includes(r.position)||ze(i)&&!s&&en(e,i))?o=o.filter(p=>p!==i):r=l,i=ge(i)}return t.set(e,o),o}function ho(e){let{element:t,boundary:n,rootBoundary:o,strategy:r}=e;const i=[...n==="clippingAncestors"?Ye(t)?[]:po(t,this._c):[].concat(n),o],l=i[0],s=i.reduce((d,p)=>{const h=_t(t,p,r);return d.top=ye(h.top,d.top),d.right=_e(h.right,d.right),d.bottom=_e(h.bottom,d.bottom),d.left=ye(h.left,d.left),d},_t(t,l,r));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function mo(e){const{width:t,height:n}=Zt(e);return{width:t,height:n}}function go(e,t,n){const o=de(t),r=ue(t),a=n==="fixed",i=xe(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const s=le(0);if(o||!o&&!a)if((Te(t)!=="body"||ze(r))&&(l=Xe(t)),o){const u=xe(t,!0,a,t);s.x=u.x+t.clientLeft,s.y=u.y+t.clientTop}else r&&(s.x=ht(r));const d=r&&!o&&!a?Qt(r,l):le(0),p=i.left+l.scrollLeft-s.x-d.x,h=i.top+l.scrollTop-s.y-d.y;return{x:p,y:h,width:i.width,height:i.height}}function Ge(e){return se(e).position==="static"}function Et(e,t){if(!de(e)||se(e).position==="fixed")return null;if(t)return t(e);let n=e.offsetParent;return ue(e)===n&&(n=n.ownerDocument.body),n}function tn(e,t){const n=te(e);if(Ye(e))return n;if(!de(e)){let r=ge(e);for(;r&&!ke(r);){if(ae(r)&&!Ge(r))return r;r=ge(r)}return n}let o=Et(e,t);for(;o&&oo(o)&&Ge(o);)o=Et(o,t);return o&&ke(o)&&Ge(o)&&!ut(o)?n:o||ro(e)||n}const wo=async function(e){const t=this.getOffsetParent||tn,n=this.getDimensions,o=await n(e.floating);return{reference:go(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function yo(e){return se(e).direction==="rtl"}const bo={convertOffsetParentRelativeRectToViewportRelativeRect:so,getDocumentElement:ue,getClippingRect:ho,getOffsetParent:tn,getElementRects:wo,getClientRects:co,getDimensions:mo,getScale:ve,isElement:ae,isRTL:yo};function nn(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function xo(e,t){let n=null,o;const r=ue(e);function a(){var l;clearTimeout(o),(l=n)==null||l.disconnect(),n=null}function i(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),a();const d=e.getBoundingClientRect(),{left:p,top:h,width:u,height:c}=d;if(l||t(),!u||!c)return;const m=Ve(h),y=Ve(r.clientWidth-(p+u)),w=Ve(r.clientHeight-(h+c)),b=Ve(p),v={rootMargin:-m+"px "+-y+"px "+-w+"px "+-b+"px",threshold:ye(0,_e(1,s))||1};let k=!0;function _(P){const R=P[0].intersectionRatio;if(R!==s){if(!k)return i();R?i(!1,R):o=setTimeout(()=>{i(!1,1e-7)},1e3)}R===1&&!nn(d,e.getBoundingClientRect())&&i(),k=!1}try{n=new IntersectionObserver(_,{...v,root:r.ownerDocument})}catch{n=new IntersectionObserver(_,v)}n.observe(e)}return i(!0),a}function vo(e,t,n,o){o===void 0&&(o={});const{ancestorScroll:r=!0,ancestorResize:a=!0,elementResize:i=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=o,d=pt(e),p=r||a?[...d?Pe(d):[],...Pe(t)]:[];p.forEach(b=>{r&&b.addEventListener("scroll",n,{passive:!0}),a&&b.addEventListener("resize",n)});const h=d&&l?xo(d,n):null;let u=-1,c=null;i&&(c=new ResizeObserver(b=>{let[S]=b;S&&S.target===d&&c&&(c.unobserve(t),cancelAnimationFrame(u),u=requestAnimationFrame(()=>{var v;(v=c)==null||v.observe(t)})),n()}),d&&!s&&c.observe(d),c.observe(t));let m,y=s?xe(e):null;s&&w();function w(){const b=xe(e);y&&!nn(y,b)&&n(),y=b,m=requestAnimationFrame(w)}return n(),()=>{var b;p.forEach(S=>{r&&S.removeEventListener("scroll",n),a&&S.removeEventListener("resize",n)}),h?.(),(b=c)==null||b.disconnect(),c=null,s&&cancelAnimationFrame(m)}}const _o=to,Eo=no,ko=Qn,kt=Jn,So=(e,t,n)=>{const o=new Map,r={platform:bo,...n},a={...r.platform,_c:o};return Zn(e,t,{...r,platform:a})},Ao=["en","bg-BG","cs","da","de","el","es","fi","fr","hi","hr-HR","hu","id","it","ja","ko","lt-LT","ms","nb","nl","pl","pt-BR","pt-PT","ro-RO","ru","sk-SK","sl-SI","sv","th","tr","vi","zh-CN","zh-TW"],Ro={loading:void 0,locale:"en",translations:void 0},on=Se(Ro),mt=()=>Ae(on),Co=["string",void 0],To=()=>{const{locale:e,translations:t}=mt();return{locale:e,translate:(o,r)=>{const a=o.split(".");if(!t)throw new ReferenceError;const{count:i,defaultValue:l,...s}=r||{};let d=t.get(e);if(!d&&r?.defaultValue)return r.defaultValue;try{for(const c of a)switch(typeof d){case"object":d=d[c];break;case"string":case"undefined":throw new ReferenceError}if(typeof d>"u")throw new ReferenceError;if(typeof t!="string"&&i){let c=i===1?"one":"other";i===0&&typeof t!="string"&&"zero"in t&&(c="zero"),d=d[c]}if(typeof d!="string")throw new ReferenceError;let p=!1;const h=Object.keys(s),u=d.split(new RegExp(`({${h.join("}|{")}})`,"g"));return h.forEach(c=>{!p&&!Co.includes(typeof s[c])&&(p=!0),u.forEach((m,y)=>{m===`{${c}}`&&(u[y]=s[c])})}),p?E(Re,{children:u}):u.join("")}catch{return l||o}}}};function Ie(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if(typeof e=="function"&&e.toString?.()!==void 0&&e.toString?.()===t.toString?.())return!0;if(e&&t&&typeof e=="object"&&typeof t=="object"){if(e.constructor!==t.constructor)return!1;let n,o;const r=Object.keys(e);if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(o=n;o--!==0;)if(!Ie(e[o],t[o]))return!1;return!0}if(e.valueOf!==Object.prototype.valueOf)return e.valueOf()===t.valueOf();if(e.toString!==Object.prototype.toString)return e.toString()===t.toString();if(n=r.length,n!==Object.keys(t).length)return!1;for(o=n;o--!==0;)if(!Object.prototype.hasOwnProperty.call(t,r[o]))return!1;for(o=n;o--!==0;){const a=r[o];if(!Ie(e[a],t[a]))return!1}return!0}return e!==e&&t!==t}function rn(e){return(e.ownerDocument.defaultView||O).devicePixelRatio||1}function St(e,t){const n=rn(e);return Math.round(t*n)/n}function At(e){const t=Y(e);return $(()=>{t.current=e}),t}function Lo(e={}){const{placement:t="bottom",strategy:n="absolute",middleware:o=[],platform:r,elements:{reference:a,floating:i}={},transform:l=!0,whileElementsMounted:s,open:d}=e,[p,h]=he({x:0,y:0,strategy:n,placement:t,middlewareData:{},isPositioned:!1}),[u,c]=he(o);Ie(u,o)||c(o);const[m,y]=he(null),[w,b]=he(null),S=q(C=>{C!==P.current&&(P.current=C,y(C))},[]),v=q(C=>{C!==R.current&&(R.current=C,b(C))},[]),k=a||m,_=i||w,P=Y(null),R=Y(null),U=Y(p),z=s!=null,F=At(s),N=At(r),T=q(()=>{if(!P.current||!R.current)return;const C={placement:t,strategy:n,middleware:u};N.current&&(C.platform=N.current),So(P.current,R.current,C).then(j=>{const M={...j,isPositioned:!0};H.current&&!Ie(U.current,M)&&(U.current=M,h(M))}).catch(j=>{console.error("error caught during computePosition",j)})},[u,t,n,N]);$(()=>{d===!1&&U.current.isPositioned&&(U.current.isPositioned=!1,h(C=>({...C,isPositioned:!1})))},[d]);const H=Y(!1);$(()=>(H.current=!0,()=>{H.current=!1}),[]),$(()=>{if(k&&(P.current=k),_&&(R.current=_),k&&_){if(F.current)return F.current(k,_,T);T()}},[k,_,T,F,z]);const L=G(()=>({reference:P,floating:R,setReference:S,setFloating:v}),[S,v]),I=G(()=>({reference:k,floating:_}),[k,_]),V=G(()=>{const C={position:n,left:0,top:0};if(!I.floating)return C;const j=St(I.floating,p.x),M=St(I.floating,p.y);return l?{...C,transform:`translate(${j}px, ${M}px)`,...rn(I.floating)>=1.5&&{willChange:"transform"}}:{position:n,left:j,top:M}},[n,l,I.floating,p.x,p.y]);return G(()=>({...p,update:T,refs:L,elements:I,floatingStyles:V}),[p,T,L,I,V])}const Oo=e=>{function t(n){return{}.hasOwnProperty.call(n,"current")}return{name:"arrow",options:e,fn(n){const{element:o,padding:r}=e;return o&&t(o)?o.current!=null?kt({element:o.current,padding:r}).fn(n):{}:o?kt({element:o,padding:r}).fn(n):{}}}},Rt=448,Ct={mobile:[`max-width: ${Rt}px`],tablet:[`min-width: ${Rt+1}px`,"max-width: 1000px","max-height: 920px"]};function Po(){const e=Ct.mobile.every(o=>O.matchMedia(`(${o})`).matches),t=!e&&Ct.tablet.every(o=>O.matchMedia(`(${o})`).matches);return{isMobile:e,isTablet:t,isDesktop:!e&&!t}}const Io={languages:[],userAgent:"",userLanguage:"",credentials:{}},Le=typeof navigator>"u"?Io:navigator;function Nr(){const e=Le.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),n=!!e.match(/WebKit/i);return t&&n&&!e.match(/CriOS/i)}function Tt(){return!!(typeof IntersectionObserver<"u"&&IntersectionObserver)}function Mo({className:e}){const t=pe("text-inherit",e);return E("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:E("path",{fill:"currentColor","fill-rule":"evenodd",d:"M0 10C0 4.477 4.477 0 10 0s10 4.477 10 10-4.477 10-10 10S0 15.523 0 10Zm7.707-3.707a1 1 0 0 0-1.414 1.414L8.586 10l-2.293 2.293a1 1 0 1 0 1.414 1.414L10 11.414l2.293 2.293a1 1 0 0 0 1.414-1.414L11.414 10l2.293-2.293a1 1 0 0 0-1.414-1.414L10 8.586 7.707 6.293Z","clip-rule":"evenodd"})})}const an=` a[href], area[href], input:not([type="hidden"]):not([disabled]):not([tabindex="-1"]), select:not([disabled]), textarea:not([disabled]), button:not([disabled]):not([tabindex="-1"]), iframe, object, embed, [tabindex="0"], [contenteditable], audio[controls], video[controls]`;function Do(e){return e.querySelector(an)}function zo(e){const t=e.querySelectorAll(an);return t[t.length-1]}const No=Dt(({as:e="div",children:t,disabled:n=!1,...o},r)=>{const a=Y(null),i=Y(null),l=Y(null);et(()=>{n||a.current?.focus()},[n]);const s=u=>{const c=a.current;if(!c||n)return;((u?Do(c):zo(c))||c).focus()},d=u=>{a.current=u,typeof r=="function"?r(u):r&&(r.current=u)},p=n?-1:0,h="absolute -m-px h-px w-px overflow-hidden whitespace-nowrap p-0";return E(Re,{children:[E("div",{className:h,ref:i,onFocus:()=>s(!1),tabIndex:p}),E(e,{...o,ref:d,tabIndex:-1,children:t}),E("div",{className:h,ref:l,onFocus:()=>s(!0),tabIndex:p})]})});(function(){if(typeof document>"u"||"adoptedStyleSheets"in document)return;var e="ShadyCSS"in window&&!ShadyCSS.nativeShadow,t=document.implementation.createHTMLDocument(""),n=new WeakMap,o=typeof DOMException=="object"?Error:DOMException,r=Object.defineProperty,a=Array.prototype.forEach,i=/@import.+?;?$/gm;function l(g){var f=g.replace(i,"");return f!==g&&console.warn("@import rules are not allowed here. See https://github.com/WICG/construct-stylesheets/issues/119#issuecomment-588352418"),f.trim()}function s(g){return"isConnected"in g?g.isConnected:document.contains(g)}function d(g){return g.filter(function(f,x){return g.indexOf(f)===x})}function p(g,f){return g.filter(function(x){return f.indexOf(x)===-1})}function h(g){g.parentNode.removeChild(g)}function u(g){return g.shadowRoot||n.get(g)}var c=["addRule","deleteRule","insertRule","removeRule"],m=CSSStyleSheet,y=m.prototype;y.replace=function(){return Promise.reject(new o("Can't call replace on non-constructed CSSStyleSheets."))},y.replaceSync=function(){throw new o("Failed to execute 'replaceSync' on 'CSSStyleSheet': Can't call replaceSync on non-constructed CSSStyleSheets.")};function w(g){return typeof g=="object"?T.isPrototypeOf(g)||y.isPrototypeOf(g):!1}function b(g){return typeof g=="object"?y.isPrototypeOf(g):!1}var S=new WeakMap,v=new WeakMap,k=new WeakMap,_=new WeakMap;function P(g,f){var x=document.createElement("style");return k.get(g).set(f,x),v.get(g).push(f),x}function R(g,f){return k.get(g).get(f)}function U(g,f){k.get(g).delete(f),v.set(g,v.get(g).filter(function(x){return x!==f}))}function z(g,f){requestAnimationFrame(function(){f.textContent=S.get(g).textContent,_.get(g).forEach(function(x){return f.sheet[x.method].apply(f.sheet,x.args)})})}function F(g){if(!S.has(g))throw new TypeError("Illegal invocation")}function N(){var g=this,f=document.createElement("style");t.body.appendChild(f),S.set(g,f),v.set(g,[]),k.set(g,new WeakMap),_.set(g,[])}var T=N.prototype;T.replace=function(f){try{return this.replaceSync(f),Promise.resolve(this)}catch(x){return Promise.reject(x)}},T.replaceSync=function(f){if(F(this),typeof f=="string"){var x=this;S.get(x).textContent=l(f),_.set(x,[]),v.get(x).forEach(function(B){B.isConnected()&&z(x,R(x,B))})}},r(T,"cssRules",{configurable:!0,enumerable:!0,get:function(){return F(this),S.get(this).sheet.cssRules}}),r(T,"media",{configurable:!0,enumerable:!0,get:function(){return F(this),S.get(this).sheet.media}}),c.forEach(function(g){T[g]=function(){var f=this;F(f);var x=arguments;_.get(f).push({method:g,args:x}),v.get(f).forEach(function(W){if(W.isConnected()){var A=R(f,W).sheet;A[g].apply(A,x)}});var B=S.get(f).sheet;return B[g].apply(B,x)}}),r(N,Symbol.hasInstance,{configurable:!0,value:w});var H={childList:!0,subtree:!0},L=new WeakMap;function I(g){var f=L.get(g);return f||(f=new ne(g),L.set(g,f)),f}function V(g){r(g.prototype,"adoptedStyleSheets",{configurable:!0,enumerable:!0,get:function(){return I(this).sheets},set:function(f){I(this).update(f)}})}function C(g,f){for(var x=document.createNodeIterator(g,NodeFilter.SHOW_ELEMENT,function(W){return u(W)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT},null,!1),B=void 0;B=x.nextNode();)f(u(B))}var j=new WeakMap,M=new WeakMap,Z=new WeakMap;function fe(g,f){return f instanceof HTMLStyleElement&&M.get(g).some(function(x){return R(x,g)})}function K(g){var f=j.get(g);return f instanceof Document?f.body:f}function ee(g){var f=document.createDocumentFragment(),x=M.get(g),B=Z.get(g),W=K(g);B.disconnect(),x.forEach(function(A){f.appendChild(R(A,g)||P(A,g))}),W.insertBefore(f,null),B.observe(W,H),x.forEach(function(A){z(A,R(A,g))})}function ne(g){var f=this;f.sheets=[],j.set(f,g),M.set(f,[]),Z.set(f,new MutationObserver(function(x,B){if(!document){B.disconnect();return}x.forEach(function(W){e||a.call(W.addedNodes,function(A){A instanceof Element&&C(A,function(X){I(X).connect()})}),a.call(W.removedNodes,function(A){A instanceof Element&&(fe(f,A)&&ee(f),e||C(A,function(X){I(X).disconnect()}))})})}))}if(ne.prototype={isConnected:function(){var g=j.get(this);return g instanceof Document?g.readyState!=="loading":s(g.host)},connect:function(){var g=K(this);Z.get(this).observe(g,H),M.get(this).length>0&&ee(this),C(g,function(f){I(f).connect()})},disconnect:function(){Z.get(this).disconnect()},update:function(g){var f=this,x=j.get(f)===document?"Document":"ShadowRoot";if(!Array.isArray(g))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+x+": Iterator getter is not callable.");if(!g.every(w))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+x+": Failed to convert value to 'CSSStyleSheet'");if(g.some(b))throw new TypeError("Failed to set the 'adoptedStyleSheets' property on "+x+": Can't adopt non-constructed stylesheets");f.sheets=g;var B=M.get(f),W=d(g),A=p(B,W);A.forEach(function(X){h(R(X,f)),U(X,f)}),M.set(f,W),f.isConnected()&&W.length>0&&ee(f)}},window.CSSStyleSheet=N,V(Document),"ShadowRoot"in window){V(ShadowRoot);var Q=Element.prototype,re=Q.attachShadow;Q.attachShadow=function(f){var x=re.call(this,f);return f.mode==="closed"&&n.set(this,x),x}}var ie=I(document);ie.isConnected()?ie.connect():document.addEventListener("DOMContentLoaded",ie.connect.bind(ie))})();var sn='*,::backdrop,:after,:before{--tw-border-spacing-x:0;--tw-border-spacing-y:0;--tw-translate-x:0;--tw-translate-y:0;--tw-rotate:0;--tw-skew-x:0;--tw-skew-y:0;--tw-scale-x:1;--tw-scale-y:1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness:proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width:0px;--tw-ring-offset-color:#fff;--tw-ring-color:#3b82f680;--tw-ring-offset-shadow:0 0 #0000;--tw-ring-shadow:0 0 #0000;--tw-shadow:0 0 #0000;--tw-shadow-colored:0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: ;--tw-contain-size: ;--tw-contain-layout: ;--tw-contain-paint: ;--tw-contain-style: }/*! tailwindcss v3.4.14 | MIT License | https://tailwindcss.com*/*,:after,:before{border:0 solid;box-sizing:border-box}:after,:before{--tw-content:""}:host,html{-webkit-text-size-adjust:100%;font-feature-settings:normal;-webkit-tap-highlight-color:transparent;font-family:SuisseIntl,sans-serif;font-variation-settings:normal;line-height:1.5;tab-size:4}body{line-height:inherit;margin:0}hr{border-top-width:1px;color:inherit;height:0}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,pre,samp{font-feature-settings:normal;font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em;font-variation-settings:normal}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:initial}sub{bottom:-.25em}sup{top:-.5em}table{border-collapse:collapse;border-color:inherit;text-indent:0}button,input,optgroup,select,textarea{font-feature-settings:inherit;color:inherit;font-family:inherit;font-size:100%;font-variation-settings:inherit;font-weight:inherit;letter-spacing:inherit;line-height:inherit;margin:0;padding:0}button,select{text-transform:none}button,input:where([type=button]),input:where([type=reset]),input:where([type=submit]){-webkit-appearance:button;background-color:initial;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:initial}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dd,dl,figure,h1,h2,h3,h4,h5,h6,hr,p,pre{margin:0}fieldset{margin:0}fieldset,legend{padding:0}menu,ol,ul{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::placeholder,textarea::placeholder{color:#9ca3af;opacity:1}[role=button],button{cursor:pointer}:disabled{cursor:default}audio,canvas,embed,iframe,img,object,svg,video{display:block;vertical-align:middle}img,video{height:auto;max-width:100%}[hidden]:where(:not([hidden=until-found])){display:none}:host{font-family:SuisseIntl,sans-serif}:host([data-nametag=shop-portal-provider]){all:initial!important}:host(shopify-payment-terms){font-family:inherit}.container{width:100%}@media (min-width:768px){.container{max-width:768px}}@media (min-width:1024px){.container{max-width:1024px}}@media (min-width:1280px){.container{max-width:1280px}}@media (min-width:1536px){.container{max-width:1536px}}.sr-only{clip:rect(0,0,0,0);border-width:0;height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;white-space:nowrap;width:1px}.pointer-events-none{pointer-events:none}.\\!visible{visibility:visible!important}.visible{visibility:visible}.invisible{visibility:hidden}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-05{inset:2px}.bottom-0{bottom:0}.bottom-8{bottom:32px}.bottom-\\[15\\%\\]{bottom:15%}.left-0{left:0}.right-0{right:0}.top-0{top:0}.-z-10{z-index:-10}.z-0{z-index:0}.z-10{z-index:10}.z-30{z-index:30}.z-40{z-index:40}.z-50{z-index:50}.z-\\[2147483647\\]{z-index:2147483647}.z-\\[800\\]{z-index:800}.z-max{z-index:2147483647}.float-right{float:right}.-m-px{margin:-1px}.m-0{margin:0}.m-\\[1em\\]{margin:1em}.m-auto{margin:auto}.mx-auto{margin-left:auto;margin-right:auto}.my-1{margin-bottom:4px;margin-top:4px}.my-5{margin-bottom:20px;margin-top:20px}.-ml-1{margin-left:-4px}.mb-2{margin-bottom:8px}.mb-3{margin-bottom:12px}.mb-4{margin-bottom:16px}.mb-5{margin-bottom:20px}.mb-7{margin-bottom:28px}.ml-1{margin-left:4px}.ml-auto{margin-left:auto}.mr-0\\.5{margin-right:.125rem}.mr-20{margin-right:5rem}.mr-3{margin-right:12px}.mt-4{margin-top:16px}.mt-5{margin-top:20px}.mt-8{margin-top:32px}.box-content{box-sizing:initial}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.hidden{display:none}.size-5{height:20px;width:20px}.size-6{height:24px;width:24px}.h-0{height:0}.h-10{height:40px}.h-3{height:12px}.h-4{height:16px}.h-4-5{height:18px}.h-5{height:20px}.h-6{height:24px}.h-8{height:32px}.h-9{height:36px}.h-\\[14px\\]{height:14px}.h-auto{height:auto}.h-full{height:100%}.h-px{height:1px}.max-h-\\[80vh\\]{max-height:80vh}.w-0{width:0}.w-22{width:88px}.w-37{width:148px}.w-55{width:220px}.w-6{width:24px}.w-8{width:32px}.w-85{width:340px}.w-9{width:36px}.w-\\[432px\\]{width:432px}.w-\\[59px\\]{width:59px}.w-auto{width:auto}.w-fit{width:fit-content}.w-full{width:100%}.w-pay-button{width:var(--shop-pay-button-width,260px)}.w-px{width:1px}.min-w-100{min-width:400px}.min-w-85{min-width:340px}.min-w-max{min-width:max-content}.max-w-\\[40\\%\\]{max-width:40%}.max-w-full{max-width:100%}.max-w-none{max-width:none}.flex-1{flex:1 1 0%}.flex-none{flex:none}.flex-shrink-0{flex-shrink:0}.translate-y-0{--tw-translate-y:0px}.translate-y-0,.translate-y-94{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.translate-y-94{--tw-translate-y:376px}.translate-y-full{--tw-translate-y:100%}.rotate-45,.translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.rotate-45{--tw-rotate:45deg}.scale-0{--tw-scale-x:0;--tw-scale-y:0}.scale-0,.scale-100{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.transform{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}.animate-fade-in{animation:fadeIn 1s}@keyframes fadeOut{0%{opacity:1;transform:translateY(0)}to{opacity:0;transform:translateY(100%)}}.animate-fade-out{animation:fadeOut .3s ease-out}@keyframes follow{0%{transform:scaleY(1);width:100%}25%{transform:scaleY(1)}50%{transform:scaleY(1.2)}to{transform:scaleY(1);width:36px}}.animate-follow{animation:follow .3s cubic-bezier(.45,0,.15,1)}@keyframes pulse{50%{opacity:.5}}.animate-pulse{animation:pulse 2s cubic-bezier(.4,0,.6,1) infinite}@keyframes reveal{to{stroke-dashoffset:408}}.animate-reveal{animation:reveal 1.3s ease-in-out 0s infinite reverse}@keyframes slideUp{0%,20%{opacity:0;transform:translateY(100%)}to{opacity:1;transform:translateY(0)}}.animate-slide-up{animation:slideUp .3s ease-in}@keyframes spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1.3s linear infinite}.cursor-pointer{cursor:pointer}.resize{resize:both}.list-none{list-style-type:none}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.content-center{align-content:center}.items-end{align-items:flex-end}.items-center{align-items:center}.justify-start{justify-content:flex-start}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-0\\.5{gap:.125rem}.gap-1{gap:4px}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.gap-x-1{column-gap:4px}.gap-x-1-5{column-gap:6px}.gap-x-3{column-gap:12px}.gap-x-4{column-gap:16px}.space-y-2\\.5>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(.625rem*var(--tw-space-y-reverse));margin-top:calc(.625rem*(1 - var(--tw-space-y-reverse)))}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.text-ellipsis{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.rounded-lg{border-radius:16px}.rounded-login-button{border-radius:var(--buttons-radius,var(--shop-pay-button-border-radius,12px))}.rounded-max{border-radius:999px}.rounded-md{border-radius:12px}.rounded-none{border-radius:0}.rounded-sm100{border-radius:10px}.rounded-xs{border-radius:4px}.border{border-width:1px}.border-0{border-width:0}.border-\\[0\\.5px\\]{border-width:.5px}.border-b{border-bottom-width:1px}.border-solid{border-style:solid}.border-none{border-style:none}.border-grayscale-l2{--tw-border-opacity:1;border-color:rgb(203 203 202/var(--tw-border-opacity))}.border-grayscale-l2l{--tw-border-opacity:1;border-color:rgb(227 227 227/var(--tw-border-opacity))}.bg-grayscale-l2{--tw-bg-opacity:1;background-color:rgb(203 203 202/var(--tw-bg-opacity))}.bg-grayscale-l3{--tw-bg-opacity:1;background-color:rgb(240 240 240/var(--tw-bg-opacity))}.bg-grayscale-l4{--tw-bg-opacity:1;background-color:rgb(242 244 245/var(--tw-bg-opacity))}.bg-grayscale-primary-light{--tw-bg-opacity:1;background-color:rgb(112 112 112/var(--tw-bg-opacity))}.bg-overlay{background-color:#0006}.bg-poppy-d1{--tw-bg-opacity:1;background-color:rgb(217 42 15/var(--tw-bg-opacity))}.bg-poppy-l2{--tw-bg-opacity:1;background-color:rgb(255 236 233/var(--tw-bg-opacity))}.bg-purple-primary{--tw-bg-opacity:1;background-color:rgb(84 51 235/var(--tw-bg-opacity))}.bg-transparent{background-color:initial}.bg-white{--tw-bg-opacity:1;background-color:rgb(255 255 255/var(--tw-bg-opacity))}.bg-gradient-to-b{background-image:linear-gradient(to bottom,var(--tw-gradient-stops))}.from-black\\/95{--tw-gradient-from:#000000f2 var(--tw-gradient-from-position);--tw-gradient-to:#0000 var(--tw-gradient-to-position);--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to)}.to-black\\/60{--tw-gradient-to:#0009 var(--tw-gradient-to-position)}.fill-purple-primary{fill:#5433eb}.stroke-white{stroke:#fff}.p-0{padding:0}.p-3{padding:12px}.p-4{padding:16px}.p-6{padding:24px}.p-8{padding:32px}.px-0{padding-left:0;padding-right:0}.px-11{padding-left:44px;padding-right:44px}.px-2{padding-left:8px;padding-right:8px}.px-3{padding-left:12px;padding-right:12px}.px-4{padding-left:16px;padding-right:16px}.px-5{padding-left:20px;padding-right:20px}.px-6{padding-left:24px;padding-right:24px}.py-1{padding-bottom:4px;padding-top:4px}.py-2-5{padding-bottom:10px;padding-top:10px}.py-2\\.5{padding-bottom:.625rem;padding-top:.625rem}.py-3{padding-bottom:12px;padding-top:12px}.py-4{padding-bottom:16px;padding-top:16px}.pb-0{padding-bottom:0}.pb-2{padding-bottom:8px}.pb-3{padding-bottom:12px}.pb-4{padding-bottom:16px}.pb-6{padding-bottom:24px}.pr-1\\.5{padding-right:.375rem}.pr-3{padding-right:12px}.pt-0{padding-top:0}.pt-4{padding-top:16px}.text-center{text-align:center}.align-middle{vertical-align:middle}.font-inherit{font-family:inherit}.font-sans{font-family:SuisseIntl,sans-serif}.font-system{font-family:ui-sans-serif,system-ui,sans-serif,Apple Color Emoji,Segoe UI Emoji,Segoe UI Symbol,Noto Color Emoji}.text-body-large{font-size:16px;font-weight:450;letter-spacing:.15px;line-height:20px}.text-body-small{font-weight:450}.text-body-small,.text-body-title-small{font-size:14px;letter-spacing:.15px;line-height:18px}.text-body-title-small{font-weight:500}.text-button-large{font-size:16px;font-weight:500;letter-spacing:.15px;line-height:18px}.text-button-medium{font-size:14px;font-weight:500;letter-spacing:.15px;line-height:16px}.text-caption{font-size:12px;font-weight:450;letter-spacing:.15px;line-height:14px}.text-subtitle{font-size:18px;font-weight:500;letter-spacing:.15px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-medium{font-weight:500}.font-normal{font-weight:400}.font-semibold{font-weight:600}.uppercase{text-transform:uppercase}.leading-6{line-height:1.5rem}.leading-normal{line-height:1.5}.leading-snug{line-height:1.375}.tracking-wider{letter-spacing:.05em}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-grayscale-d0{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity))}.text-grayscale-d1{--tw-text-opacity:1;color:rgb(64 64 64/var(--tw-text-opacity))}.text-grayscale-d2\\/70{color:#121212b3}.text-grayscale-l4{--tw-text-opacity:1;color:rgb(242 244 245/var(--tw-text-opacity))}.text-grayscale-primary-light{--tw-text-opacity:1;color:rgb(112 112 112/var(--tw-text-opacity))}.text-poppy-d1{--tw-text-opacity:1;color:rgb(217 42 15/var(--tw-text-opacity))}.text-purple-primary{--tw-text-opacity:1;color:rgb(84 51 235/var(--tw-text-opacity))}.text-white{--tw-text-opacity:1;color:rgb(255 255 255/var(--tw-text-opacity))}.underline{text-decoration-line:underline}.no-underline{text-decoration-line:none}.opacity-0{opacity:0}.opacity-100{opacity:1}.shadow-lg{--tw-shadow:0px 8px 30px 0px #0006;--tw-shadow-colored:0px 8px 30px 0px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.blur{--tw-blur:blur(8px)}.blur,.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-all{transition-duration:.15s;transition-property:all;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-colors{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.transition-transform{transition-duration:.15s;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.duration-400{transition-duration:.4s}.ease-cubic-modal{transition-timing-function:cubic-bezier(.32,.72,0,1)}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.will-change-transform{will-change:transform}.forced-color-adjust-none{forced-color-adjust:none}.stroke-dasharray-reveal{stroke-dasharray:136}.first_pt-0:first-child{padding-top:0}.last_border-b-0:last-child{border-bottom-width:0}.last_pb-0:last-child{padding-bottom:0}.hover_text-black:hover{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.hover_text-grayscale-l2l:hover{--tw-text-opacity:1;color:rgb(227 227 227/var(--tw-text-opacity))}.focus_text-black:focus{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.focus_outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus_outline-0:focus{outline-width:0}.active_text-black:active{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.hover_enabled_bg-purple-d0:enabled:hover{--tw-bg-opacity:1;background-color:rgb(69 36 219/var(--tw-bg-opacity))}.hover_enabled_bg-transparent:enabled:hover{background-color:initial}.focus-visible_enabled_outline-none:enabled:focus-visible{outline:2px solid #0000;outline-offset:2px}.focus-visible_enabled_ring:enabled:focus-visible{--tw-ring-offset-shadow:var(--tw-ring-inset) 0 0 0 var(--tw-ring-offset-width) var(--tw-ring-offset-color);--tw-ring-shadow:var(--tw-ring-inset) 0 0 0 calc(3px + var(--tw-ring-offset-width)) var(--tw-ring-color);box-shadow:var(--tw-ring-offset-shadow),var(--tw-ring-shadow),var(--tw-shadow,0 0 #0000)}.focus-visible_enabled_ring-purple-primary-light:enabled:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(219 209 255/var(--tw-ring-opacity))}.disabled_opacity-50:disabled{opacity:.5}.group:hover .group-hover_bg-purple-d0{--tw-bg-opacity:1;background-color:rgb(69 36 219/var(--tw-bg-opacity))}.group:hover .group-hover_text-grayscale-l2l{--tw-text-opacity:1;color:rgb(227 227 227/var(--tw-text-opacity))}@media (prefers-reduced-motion:reduce){.motion-reduce_duration-0{transition-duration:0s}}@media (max-width:448px){.sm_absolute{position:absolute}.sm_bottom-0{bottom:0}.sm_left-0{left:0}.sm_right-0{right:0}.sm_top-auto{top:auto}.sm_hidden{display:none}.sm_translate-y-0{--tw-translate-y:0px}.sm_translate-y-0,.sm_translate-y-full{transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm_translate-y-full{--tw-translate-y:100%}.sm_scale-100{--tw-scale-x:1;--tw-scale-y:1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.sm_rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}}';function Vo({children:e,instanceId:t,type:n,variant:o}){const r=Y(null),[a,i]=he(null),{notify:l}=Ce();return et(()=>{i(r.current.attachShadow({mode:"open"}))},[]),et(()=>{if(a){const s=new CSSStyleSheet;s.replace(sn).then(()=>{a.adoptedStyleSheets=[s]}).catch(d=>{l(new Error(`Failed to adopt stylesheets for portal provider: ${d}`))})}},[a,l]),E("div",{"data-nametag":"shop-portal-provider","data-portal-instance-id":t,"data-type":n,"data-variant":o,ref:r,children:a&&zt(e,a)})}function Fo({className:e}){const t=pe("text-inherit",e);return E("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 50 50",children:[E("path",{fill:"currentColor",d:"M50 12.5C50 5.597 44.403 0 37.5 0h-25C5.597 0 0 5.597 0 12.5v25C0 44.403 5.597 50 12.5 50h25C44.403 50 50 44.403 50 37.5v-25z"}),E("path",{fill:"#fff",d:"M14.551 17.49v12.2a.09.09 0 0 0 .092.092h2.249a.091.091 0 0 0 .091-.091v-5.203c0-1.007.676-1.726 1.761-1.726 1.189 0 1.484.969 1.484 1.96v4.969a.09.09 0 0 0 .027.065.09.09 0 0 0 .066.026h2.24a.092.092 0 0 0 .09-.091v-5.266c0-.18-.007-.357-.022-.53a4.681 4.681 0 0 0-.416-1.628c-.52-1.084-1.505-1.785-2.989-1.785a2.989 2.989 0 0 0-2.336 1.195l-.056.066V17.49a.092.092 0 0 0-.091-.092h-2.098a.092.092 0 0 0-.092.092zm-3.441 6.862s-1.088-.256-1.489-.357c-.4-.102-1.101-.328-1.101-.848 0-.544.562-.696 1.138-.696.576 0 1.21.137 1.261.771a.09.09 0 0 0 .09.08l2.108-.008a.091.091 0 0 0 .086-.06.092.092 0 0 0 .005-.036c-.13-2.027-1.915-2.752-3.563-2.752-1.953 0-3.377 1.28-3.377 2.698 0 1.03.294 2 2.597 2.673.402.118.954.27 1.433.4.577.16.884.4.884.784 0 .443-.652.75-1.277.75-.916 0-1.567-.338-1.62-.946a.09.09 0 0 0-.09-.08l-2.104.01a.09.09 0 0 0-.066.028.092.092 0 0 0-.025.066c.096 1.914 1.951 2.945 3.68 2.945 2.57 0 3.74-1.45 3.74-2.796.003-.628-.143-2.075-2.31-2.627zm25.703-2.588V20.54a.088.088 0 0 0-.026-.064.09.09 0 0 0-.065-.027h-2.1a.09.09 0 0 0-.09.09v11.994a.088.088 0 0 0 .026.064.089.089 0 0 0 .065.026h2.249a.09.09 0 0 0 .09-.09v-3.937h.034c.356.542 1.334 1.192 2.608 1.192 2.401 0 4.397-1.98 4.397-4.66 0-2.569-1.984-4.651-4.51-4.651-1.125 0-2.069.62-2.677 1.369v-.082zm2.468 5.747c-1.292 0-2.32-1.072-2.32-2.38 0-1.308 1.027-2.368 2.32-2.368 1.294 0 2.33 1.06 2.33 2.368 0 1.308-1.036 2.38-2.33 2.38zm-11.406-7.554c-2.096 0-3.142.708-3.983 1.28l-.024.016a.205.205 0 0 0-.063.275l.867 1.487a.213.213 0 0 0 .322.056l.065-.054c.432-.36 1.086-.905 2.761-1.04.933-.074 1.74.176 2.33.72.653.601 1.044 1.57 1.044 2.594 0 1.88-1.114 3.064-2.902 3.088-1.474-.008-2.466-.774-2.466-1.906 0-.599.237-1.04.77-1.43a.207.207 0 0 0 .061-.263l-.744-1.402a.215.215 0 0 0-.297-.083c-.836.493-1.822 1.446-1.767 3.182.067 2.21 1.912 3.896 4.31 3.965h.273c2.85-.092 4.907-2.198 4.907-5.048 0-2.637-1.914-5.437-5.463-5.437z"})]})}function jo({className:e}){const t=pe("text-inherit",e);return E("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 60 25",role:"img",children:[E("title",{children:"Shop"}),E("path",{fill:"currentColor",d:"M7.74 11.067c-2.35-.509-3.396-.708-3.396-1.612 0-.85.708-1.274 2.125-1.274 1.246 0 2.157.544 2.828 1.609.05.082.155.11.24.066l2.644-1.334a.186.186 0 0 0 .076-.259c-1.098-1.9-3.125-2.94-5.794-2.94-3.507 0-5.686 1.727-5.686 4.47 0 2.914 2.653 3.65 5.006 4.16 2.353.509 3.403.708 3.403 1.612 0 .904-.765 1.33-2.293 1.33-1.41 0-2.457-.644-3.09-1.896a.185.185 0 0 0-.25-.082L.916 16.222a.188.188 0 0 0-.082.253c1.046 2.102 3.194 3.284 6.062 3.284 3.653 0 5.86-1.697 5.86-4.526 0-2.83-2.666-3.65-5.015-4.16v-.006ZM21.909 5.324c-1.5 0-2.824.53-3.776 1.476a.093.093 0 0 1-.158-.067V.7a.185.185 0 0 0-.187-.186H14.48a.185.185 0 0 0-.187.186v18.728c0 .105.083.187.187.187h3.308a.185.185 0 0 0 .187-.187v-8.215c0-1.586 1.217-2.803 2.859-2.803 1.641 0 2.83 1.191 2.83 2.803v8.215c0 .105.082.187.187.187h3.308a.185.185 0 0 0 .186-.187v-8.215c0-3.451-2.264-5.888-5.436-5.888ZM34.056 4.786c-1.796 0-3.478.55-4.687 1.344a.187.187 0 0 0-.06.25l1.458 2.487c.054.089.168.12.256.066a5.812 5.812 0 0 1 3.04-.834c2.887 0 5.01 2.035 5.01 4.725 0 2.292-1.7 3.99-3.853 3.99-1.755 0-2.973-1.022-2.973-2.463 0-.825.351-1.501 1.265-1.979a.183.183 0 0 0 .073-.259L32.21 9.787a.186.186 0 0 0-.224-.08c-1.844.683-3.137 2.327-3.137 4.533 0 3.338 2.66 5.829 6.369 5.829 4.333 0 7.448-3 7.448-7.302 0-4.611-3.624-7.98-8.609-7.98ZM52.342 5.295c-1.673 0-3.169.62-4.26 1.707a.092.092 0 0 1-.158-.066V5.627a.185.185 0 0 0-.186-.186h-3.223a.185.185 0 0 0-.187.186v18.7c0 .104.082.186.187.186h3.308a.185.185 0 0 0 .187-.187v-6.131c0-.083.098-.124.158-.07 1.088 1.012 2.527 1.602 4.174 1.602 3.88 0 6.907-3.138 6.907-7.216 0-4.077-3.03-7.216-6.907-7.216Zm-.626 11.265c-2.207 0-3.88-1.754-3.88-4.074s1.67-4.074 3.88-4.074 3.877 1.726 3.877 4.074c0 2.349-1.644 4.074-3.88 4.074h.003Z"})]})}const Ze=["right","left","bottom","top"],$o=({anchorTo:e,children:t,headerTitle:n,hideHeader:o=!1,disableMinWidth:r=!1,key:a,modalTitle:i="Sign in with Shop",onDismiss:l,onModalInViewport:s,popupDisabled:d,type:p,variant:h,visible:u})=>{const{dispatch:c,modalDismissible:m}=it(),{translate:y}=To(),w=Y(null),[b,S]=he(null),v=Y(null),k=Y(null),_=Y(null),[P,R]=he(!1),{instanceId:U}=we(),z=Y(null),{floatingStyles:F,middlewareData:N,refs:T,update:H}=Lo({middleware:[ko({crossAxis:!1,fallbackPlacements:Ze.slice(1)}),Eo({padding:30}),_o(30),Oo({element:v,padding:28})],placement:Ze[0],whileElementsMounted:vo});$(()=>{if(e){let f;typeof e=="string"?f=J.querySelector(e):f=e.current,S(f),T.setReference(f),H()}},[e,T,H]),z.current===null&&(z.current=J.documentElement.style.overflow),!k.current&&Tt()&&(k.current=new IntersectionObserver(f=>{for(const x of f)x.boundingClientRect.top<0&&O.scrollTo({top:0,left:0}),x.isIntersecting&&s?.()})),!w.current&&Tt()&&(w.current=new IntersectionObserver(f=>{for(const x of f)if(x.boundingClientRect.top<0&&O.scrollTo({top:0,left:0}),!x.isIntersecting&&x.target.offsetTop){const W=b?.offsetHeight||0,X=(_.current?.offsetHeight||0)/2,un=W+X+30;O.scrollTo({top:x.target.offsetTop-un})}})),$(()=>()=>{k.current&&k.current.disconnect(),w.current&&w.current.disconnect()},[]);const{isDesktop:L}=Po(),I=G(()=>b&&!d&&L?"dynamic":"center",[b,L,d]);$(()=>{const f=J.documentElement,x=f?.style.overflow;return()=>{x&&f?f.style.overflow=x:f.style.removeProperty("overflow")}},[]);const V=q(f=>{m&&(l(f),J.documentElement.style.overflow=z.current||"")},[m,l]);$(()=>{function f({key:x}){(x==="Escape"||x==="Esc")&&V("keyboard")}return O.addEventListener("keydown",f),()=>{O.removeEventListener("keydown",f)}},[V]),$(()=>{u?(J.documentElement.style.overflow="hidden",k.current&&_.current&&k.current.observe(_.current),w.current&&b&&w.current.observe(b)):(k.current&&_.current&&k.current.unobserve(_.current),w.current&&b&&w.current.unobserve(b),J.documentElement.style.overflow=z.current||"")},[b,V,u]),$(()=>{if(!u){R(!1);return}const f=()=>{R(!0)};return _.current?.addEventListener("transitionend",f,{once:!0}),()=>{_.current?.removeEventListener("transitionend",f)}},[u]),$(()=>{if(u){const f=setTimeout(()=>{c({type:"setModalDismissible",payload:!0})},400);return()=>{clearTimeout(f)}}},[c,u]);const C=pe("fixed bottom-0 left-0 right-0 top-0 z-10 bg-overlay transition-opacity duration-400 ease-cubic-modal motion-reduce_duration-0",u?"opacity-100":"opacity-0"),j=pe("fixed bottom-0 left-0 right-0 top-0 z-max overflow-hidden",I==="center"&&"flex items-center justify-center",u?"visible":"pointer-events-none invisible"),Z=pe("relative z-50 bg-white transition duration-400 ease-cubic-modal will-change-transform focus_outline-0 motion-reduce_duration-0 sm_absolute sm_bottom-0 sm_left-0 sm_right-0 sm_top-auto sm_rounded-b-none",u?"opacity-100 sm_translate-y-0":"opacity-0 sm_translate-y-full",I==="dynamic"&&u?"scale-100":"",I==="dynamic"&&!u?"scale-0 sm_scale-100":"",!r&&(p==="wide"?"min-w-100":"min-w-85"),!o&&"rounded-lg"),fe=pe("relative overflow-hidden sm_rounded-b-none",!o&&"rounded-lg"),K=G(()=>{if(I==="center")return null;const f={right:{top:N.arrow?.y,left:N.arrow?.x||"-10px"},left:{top:N.arrow?.y,right:N.arrow?.x||"-10px"},bottom:{top:"-10px",left:N.arrow?.x||"-10px"},top:{bottom:"-10px",left:N.arrow?.x||"-10px"}},x=Ze[N.flip?.overflows?.length||0],B=f[x],W=pe("absolute z-30 block size-6 rotate-45 rounded-xs duration-400 ease-cubic-modal sm_hidden",x==="top"?"bg-grayscale-l4":"bg-white");return E("div",{className:W,"data-testid":"authorize-modal-arrow",ref:v,style:B})},[N.arrow?.x,N.arrow?.y,N.flip?.overflows,I]),ee=!!n,ne=ee?E(Fo,{className:"h-8 w-8 text-purple-primary"}):E(jo,{className:"h-4-5 text-purple-primary"}),Q=pe("flex w-full items-center justify-between p-4 pb-2",ee&&"mb-5 gap-x-4 border-b border-solid border-grayscale-l2l px-5 pb-4"),re=I==="dynamic"?F:void 0,ie=o?null:E("div",{className:Q,children:[ne,ee&&E("div",{className:"flex-1 font-sans text-body-large",children:n}),E("button",{"aria-label":y("button.close",{defaultValue:"Close"}),className:"group relative z-50 flex h-6 w-6 cursor-pointer rounded-max","data-testid":"authorize-modal-close-button",onClick:()=>V("close_button"),type:"button",children:[E(Mo,{className:"h-6 w-6 text-grayscale-l4 transition-colors group-hover_text-grayscale-l2l"}),E("div",{className:"absolute inset-05 -z-10 rounded-max bg-grayscale-primary-light"})]})]}),g=u?{}:{"aria-hidden":!0};return zt(E(Vo,{instanceId:U,type:"modal",variant:h,children:E("div",{className:j,"data-testid":"authorize-modal-container",children:[E("div",{...g,className:C,"data-testid":"authorize-modal-overlay",onClick:()=>V("overlay")}),E(No,{as:"section",disabled:!P,"aria-modal":"true",...g,"aria-label":i,className:Z,"data-testid":"authorize-modal","data-visible":u,part:"modal",ref:f=>{_.current=f,b&&(T.setFloating(f),H())},role:"dialog",style:re,children:[E("div",{className:fe,children:[ie,t]}),K]})]})},a),J.body)},Uo=()=>E(Re,{children:[E("div",{class:"animate-pulse px-4 py-1 pb-6",children:[E("div",{class:"space-4 flex items-center pb-3",children:[E("div",{class:"mr-3 h-6 w-6 rounded-max bg-grayscale-l2"}),E("div",{class:"mr-20 h-3 flex-1 rounded-md bg-grayscale-l2"})]}),E("div",{class:"space-4",children:E("div",{class:"h-10 rounded-md bg-grayscale-l2"})})]}),E("div",{class:"h-10 animate-pulse bg-grayscale-l3"})]}),Bo=({children:e})=>{const{loaded:t}=it(),n=t?{}:{height:"0"};return E(Re,{children:[!t&&E(Uo,{}),E("div",{style:n,children:e})]})},Ho=["captcha_challenge","retriable_server_error"],Wo=[/existing customer \d+ on shop \d+ has a conflicting provider subject associated: existing '([^']+)' != incoming '([^']+)'/,/no_prequalification_amount_available/];function qo(e,t){return!(Ho.includes(e)||Wo.some(n=>n.test(t)))}const Yo=Dt(({activator:e,allowAttribute:t,anchorTo:n,autoOpen:o,disableDefaultIframeResizing:r=!1,insideModal:a=!0,keepModalOpen:i=!1,modalHeaderTitle:l,modalHeaderVisible:s=!0,onComplete:d,onCustomFlowSideEffect:p,onError:h,onLoaded:u,onModalVisibleChange:c,onResizeIframe:m,onPromptChange:y,onPromptContinue:w,proxy:b,scrolling:S,src:v,storefrontOrigin:k,modalType:_,variant:P},R)=>{const{autoOpened:U,dispatch:z,loaded:F,modalForceHidden:N,modalVisible:T,sessionDetected:H}=it(),{leaveBreadcrumb:L,notify:I}=Ce(),V=ct(),{clearLoadTimeout:C,initLoadTimeout:j}=$n(),{trackModalStateChange:M,trackPageImpression:Z}=kn(),{recordCounter:fe}=$t(),K=Y(null),ee=Un(T),ne=A=>{A&&(K.current=A,A.getAttribute("src")||A.setAttribute("src",v))};$(()=>{F&&(M({currentState:"loaded",reason:"event_loaded"}),L("iframe loaded",{},"state"))},[L,F,M]);const Q=q(A=>{z({type:"setModalVisible",payload:!0}),!N&&M({currentState:"shown",reason:A})},[z,N,M]);$(()=>{o&&F&&H&&!U&&(Q("event_loaded_with_auto_open"),z({type:"setAutoOpened",payload:!0}))},[o,U,z,Q,F,H]);const re=q(({dismissMethod:A,reason:X})=>{T&&(z({type:"setModalVisible",payload:!1}),e?.current&&Lt(e)&&e.current.focus(),M({currentState:"hidden",dismissMethod:A,reason:X}))},[e,z,T,M]);$(()=>{function A(){Q("user_button_clicked")}const X=Wt(A,150,!0),ce=e;if(ce?.current&&Lt(ce))return ce.current.addEventListener("click",X),()=>{ce.current?.removeEventListener("click",X)}},[e,Q]);const ie=q(()=>{bt({iframe:K.current,src:v})},[v]),{destroy:g,waitForMessage:f}=Fn({includeCore:b,onClose:()=>re({dismissMethod:"auto",reason:"event_close_requested"}),onComplete:async A=>{!i&&a&&re({dismissMethod:"auto",reason:"event_completed"}),await d?.(A)},onCustomFlowSideEffect:p,onError:A=>{const{message:X,code:ce}=A;qo(ce,X)?(L("authorize error",{code:ce,message:X},"state"),I(new me(X,"AuthorizeError"))):(fe("shop_js_handle_silent_error",{attributes:{errorCode:ce}}),L("silent error",{code:ce},"state")),C(),h?.(A)},onLoaded:A=>{z({type:"updateState",payload:{loaded:!0,sessionDetected:A.userFound}}),u?.(A),C()},onResizeIframe:A=>{r||K.current&&(K.current.style.height=`${A.height}px`),m?.(A)},onShopUserMatched:({userCookieExists:A})=>{V("shopusermatched"),z({type:"setSessionDetected",payload:A}),L("shop user matched",{},"state")},onShopUserNotMatched:({apiError:A})=>{V("shopusernotmatched",A&&{apiError:A}),z({type:"setSessionDetected",payload:!1}),L("shop user not matched",{},"state")},onPromptChange:()=>{y?.()},onPromptContinue:()=>{w?.()},source:K,storefrontOrigin:k});$(()=>()=>{K.current&&g()},[g]);const x=q(async(A,{afterLoaded:X=!1}={})=>{X&&!F&&await f("loaded"),Bn({contentWindow:K.current?.contentWindow,event:A})},[F,f]);$(()=>{if(T!==ee){if(T){try{x({type:"sheetmodalopened"},{afterLoaded:!0}),V("modalopened")}catch(A){I(new Error(`Error before calling onModalVisibleChange(true): ${A}`))}c?.(!0);return}x({type:"sheetmodalclosed"},{afterLoaded:!0}),V("modalclosed"),c?.(!1),J.querySelector("com-1password-notification")?.remove()}},[V,T,I,c,x,ee]),fn(R,()=>({close:re,iframeRef:K,open:Q,postMessage:x,reload:ie,waitForMessage:f}),[re,Q,x,ie,f]),$(()=>{j(),L("Iframe url updated",{src:v},"state")},[j,L,v]),$(()=>{T&&Z({page:"AUTHORIZE_MODAL"})},[T,Z]),$(()=>{bt({iframe:K.current,src:v})},[v]);const B=()=>{Z({page:"AUTHORIZE_MODAL_IN_VIEWPORT",allowDuplicates:!0}),L("modal in viewport",{},"state")},W=E("iframe",{allow:t||"publickey-credentials-get *",className:"relative z-40 m-auto w-full border-none",ref:ne,tabIndex:0,scrolling:S,"data-testid":"authorize-iframe"});return a?E($o,{anchorTo:n,headerTitle:l,hideHeader:!s,onDismiss:A=>re({dismissMethod:A,reason:"user_dismissed"}),onModalInViewport:B,type:_,variant:P,visible:T,children:E(Bo,{children:W})}):W});Yo.displayName="AuthorizeIframe";function Lt(e){return Object.prototype.hasOwnProperty.call(e,"current")}function Xo(e,t){switch(t.type){case"setAutoOpened":return{...e,autoOpened:t.payload};case"setLoaded":return{...e,loaded:t.payload};case"setModalDismissible":return{...e,modalDismissible:t.payload};case"setModalForceHidden":return{...e,modalForceHidden:t.payload};case"setModalVisible":return{...e,modalVisible:t.payload,...t.payload&&{modalDismissible:!1}};case"setSessionDetected":return{...e,sessionDetected:t.payload};case"updateState":{let n=t.payload.modalDismissible?t.payload.modalDismissible:e.modalDismissible;return t.payload.modalVisible&&(n=!1),{...e,...t.payload,modalDismissible:n}}default:return e}}const Ko=({children:e})=>{const[t,n]=pn(Xo,{autoOpened:!1,loaded:!1,modalDismissible:!1,modalForceHidden:!1,modalVisible:!1,sessionDetected:!1}),o=G(()=>{const{autoOpened:r,loaded:a,modalDismissible:i,modalForceHidden:l,modalVisible:s,sessionDetected:d}=t;return{autoOpened:r,dispatch:n,loaded:a,modalDismissible:i,modalForceHidden:l,modalVisible:s&&!l,sessionDetected:d}},[n,t]);return E(Nt.Provider,{value:o,children:e})};var Go={bugsnagApiKey:"e35d7136cee78d344ccffdbd5ca710fa"};class cn extends hn{counter(t){super.counter(t),this.exportMetrics()}histogram(t){super.histogram(t),this.exportMetrics()}gauge(t){super.gauge(t),this.exportMetrics()}}class Zo{#e;constructor(t){this.#e=t}async exportMetrics(t){try{await this.#e.exportMetrics(t)}catch(n){if(n instanceof gt){const o=n.metadata?.retryAfter;if(o){await new Promise(r=>{setTimeout(()=>this.exportMetrics(t).finally(r),o.seconds*1e3)});return}}throw n}}async exportLogs(t){try{await this.#e.exportLogs(t)}catch(n){if(n instanceof gt){const o=n.metadata?.retryAfter;if(o){await new Promise(r=>{setTimeout(()=>this.exportLogs(t).finally(r),o.seconds*1e3)});return}}throw n}}}const Jo={blockedRequest:"Blocked Request",emptyeEventCreatedAtMs:"event_created_at_ms metadata field cannot be empty",errorParsingCreatedAtMs:"Error parsing: X-Monorail-Edge-Event-Created-At-Ms",failedToReadRequestBody:"Failed to read request body",incorrectContentType:"Incorrect Content-Type. Expected: application/json or text/plain",methodNotAllowed:"Method Not Allowed",noPermissionToGetURL:"Your client does not have permission to get URL",noResponseFromEdge:"No response from edge",schemaValidationError:"Schema validation error"};function Qo(e){return Object.values(Jo).find(([n,o])=>e.message.includes(o))?.[0]||"otherErrors"}const er="https://otlp-http-production.shopifysvc.com/v1/metrics";function ln(){{const e=new mn(er,"shop-js");return new Zo(e)}}const tr="Backpressure applied",nr="A network failure may have prevented the request from completing",or=["Load failed","Failed to fetch","when attempting to fetch resource"],rr=["NotFoundError","NotSupportedError","ReferenceError","SyntaxError","TypeError"],Ot=["development","spin"].includes("production"),ir=e=>!!(e?.includes(nr)||e?.includes(tr));function ar({metadata:e,onNetworkError:t}){return{apiKey:Go.bugsnagApiKey,appId:"shop-js",appVersion:"1.0.32-1803-beta",onError:n=>{const o=n.exceptions[0];if(!o)return!1;const{errorClass:r,message:a}=o,i=r==="NetworkError"||or.some(h=>a?.includes(h))||ir(a),l=o.stacktrace.some(h=>h.inProject);if(i)return t(),!1;if(!l||rr.includes(r))return!1;const s=O.Shopify?.featureAssets?.["shop-js"],d=!!(s&&Object.keys(s).length>0),p=Array.from(J.querySelectorAll('script[src*="/shop-js/"]')).map(h=>h.src);n.device={locale:Le.userLanguage||Le.language,userAgent:Le.userAgent,orientation:O.screen?.orientation?.type,time:new Date().toISOString()},n.metaData={...n.metaData,...e,custom:{...n.metaData?.custom,...e.custom,beta:!0,bundleLocale:"",compactUX:!0,domain:O?.location?.hostname,shopJsUrls:p,shopJsFeatureAssetsExist:d}},n.request={url:O.location.href}},releaseStage:"production"}}class dn{opentelClient=new cn({exporter:ln()});constructor(t){const n=ar({metadata:{custom:{feature:t}},onNetworkError:this.handleNetworkError.bind(this)});this.client=new gn(n),this.feature=t||"",this.leaveBreadcrumb=this.leaveBreadcrumb.bind(this),this.notify=this.notify.bind(this)}leaveBreadcrumb(t,n,o){if(!this.client){console.log("Bugsnag.leaveBreadcrumb() called before client creation.");return}if(Ot){console.log("[Bugsnag leaveBreadcrumb called]",t,n,o);return}this.client.leaveBreadcrumb(t,n,o)}async notify(t,n){if(!this.client){console.warn?.("Bugsnag.notify() called before client creation.");return}if(Ot){console.log("[Bugsnag notify called]",t);return}this.client.notify(t,n)}handleNetworkError(){this.opentelClient.counter({attributes:{beta:!0,feature:this.feature,error:"NetworkError"},name:"shop_js_network_error",value:1})}}const sr=({children:e})=>{const{featureName:t}=we(),n=G(()=>{t||["development","spin"].includes("production")&&console.warn?.("BugsnagProvider created without a feature name.");const{client:o,leaveBreadcrumb:r,notify:a}=new dn(t);return{client:o,leaveBreadcrumb:r,notify:a}},[t]);return E(Vt.Provider,{value:n,children:e})};function cr({children:e}){const[t]=wn(),{notify:n}=Ce();return $(()=>{t&&n(t instanceof Error?t:new me(t,"UnhandledError"),{context:"Error in Preact tree"})},[t,n]),E(Re,{children:e})}const lr=e=>import(e),dr=e=>{try{return new O.URL(e)}catch{return null}};async function ur(e,{maxRetries:t=3,retryDelay:n=1e3,signal:o}={}){const r=async({retryCount:a=0,importPromise:i,retryImportPath:l})=>{if(!o?.aborted)try{return i?await i():await lr(l||"")}catch(s){if(!(s instanceof Error)||o?.aborted)return;const d=dr(s.message.replace("Failed to fetch dynamically imported module: ","").trim());if(!d)throw s;if(d.searchParams.set("t",`${Number(new Date)}`),asetTimeout(p,n)),o?.aborted?void 0:r({retryCount:a+1,retryImportPath:d.href});throw s}};return r({importPromise:e})}function fr(e){switch(e){case"./translations/bg-BG.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.b),[]);case"./translations/cs.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.c),[]);case"./translations/da.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.d),[]);case"./translations/de.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.a),[]);case"./translations/el.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.e),[]);case"./translations/en.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.f),[]);case"./translations/es.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.g),[]);case"./translations/fi.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.h),[]);case"./translations/fr.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.i),[]);case"./translations/hi.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.j),[]);case"./translations/hr-HR.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.k),[]);case"./translations/hu.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.l),[]);case"./translations/id.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.m),[]);case"./translations/it.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.n),[]);case"./translations/ja.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.o),[]);case"./translations/ko.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.p),[]);case"./translations/lt-LT.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.q),[]);case"./translations/ms.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.r),[]);case"./translations/nb.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.s),[]);case"./translations/nl.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.t),[]);case"./translations/pl.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.u),[]);case"./translations/pt-BR.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.v),[]);case"./translations/pt-PT.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.w),[]);case"./translations/ro-RO.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.x),[]);case"./translations/ru.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.y),[]);case"./translations/sk-SK.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.z),[]);case"./translations/sl-SI.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.A),[]);case"./translations/sv.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.B),[]);case"./translations/th.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.C),[]);case"./translations/tr.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.D),[]);case"./translations/vi.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.E),[]);case"./translations/zh-CN.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.F),[]);case"./translations/zh-TW.json":return D(()=>import("./shop-js-translations.CaP3R7wd.js").then(t=>t.G),[]);default:return new Promise(function(t,n){(typeof queueMicrotask=="function"?queueMicrotask:setTimeout)(n.bind(null,new Error("Unknown variable dynamic import: "+e)))})}}function Je(e){return Ao.includes(e)}const je=[],$e=[],Oe=new Map;function pr(e){let t={};const n=Oe.get(e);$e.forEach(o=>{t={...t,...o}}),Oe.set(e,{...n,...t}),je.forEach(o=>o()),je.splice(0,je.length),$e.splice(0,$e.length)}const hr=Wt(pr,250);function mr({children:e,getFeatureDictionary:t,overrideLocale:n}){const{notify:o}=Ce(),[r,a]=he("en"),{featureName:i}=we(),[l,s]=he(),d=q(()=>{const u=Object.freeze([n,J.documentElement.lang,O.Shopify?.locale,...Le.languages].filter(m=>m));let c;for(const m of u){if(Je(m)){c=m;break}try{const y=new Intl.Locale(m);if(y.language&&Je(y.language)){c=y.language;break}else console.error(`Unsupported locale: "${m}"`)}catch{console.error(`Invalid locale: "${m}"`)}}return c||"en"},[n]),p=q(async()=>{if(Je(r)){if(!Oe.has(r)){s(!0);try{const u=await ur(async()=>await fr(`./translations/${r}.json`),{maxRetries:5,retryDelay:1e3});Oe.set(r,u)}catch(u){o(new me(`Failed to fetch translations for locale ${r}: ${u}`,"TranslationFetchError"))}}if(i&&t){s(!0);const u=t?await t(r):{};$e.push(u)}je.push(()=>s(!1)),hr(r)}},[i,t,r,o]);$(()=>{const u=d();a(u)},[d]),$(()=>{try{p()}catch(u){u instanceof Error&&o(u)}},[p,r,o]);const h=G(()=>({loading:l,locale:r,translations:Oe}),[l,r]);return E(on.Provider,{value:h,children:l===!1&&e})}function gr(e,t=200,n=!1){const o=Y(),r=Y(e);return r.current=e,q((...a)=>{const i=(...s)=>{o.current=void 0,n||r.current?.(...s)},l=n&&!o.current;typeof o.current=="number"&&clearTimeout(o.current),o.current=setTimeout(i,t,...a),l&&r.current?.(...a)},[t,n])}function Pt(){const e=J.querySelector("script#shop-js-analytics")?.innerHTML;return e?JSON.parse(e):{}}async function It(){let e;return Promise.race([new Promise(n=>e=setTimeout(()=>n({}),1e4)),new Promise(n=>{(O.ShopifyAnalytics?.lib?.ready||O.analytics?.ready)?.(()=>{const r=O.ShopifyAnalytics?.lib?.trekkie||O.analytics?.trekkie;n(r.defaultAttributes)})})]).finally(()=>clearTimeout(e))}async function rt(...e){if(!O.ShopifyAnalytics&&!O.analytics)return{};let t;!!O.trekkie?.ready?t=It():(O.trekkie=O.trekkie||[],t=new Promise(r=>{O.trekkie.push(["ready",()=>{r(It())}])}));const o=await t;return e.reduce((r,a)=>{const i=o[a];return i!==void 0&&(r[a]=i),r},{})}function wr(e){const t=/Cannot read properties of (null|undefined) \(reading 'status'\)/,n=/(null|undefined) is not an object \(evaluating '[a-zA-Z]+\.status'\)/,o=/[a-zA-Z]+ is (null|undefined)/;return!(e instanceof xn)&&!(e instanceof vn)&&!e?.message?.includes("Invalid agent:")&&!e?.message?.includes(".text is not a function")&&!e?.message?.match(t)&&!e?.message?.match(n)&&!e?.message?.match(o)}function yr(){const e=new yn({version:"v1"});return[new bn({provider:e})]}const Fe="unspecified",br=yr(),xr=_n.createHttpProducer({production:!0,middleware:br});class vr{#e;featureInitializationEventAlreadyEmitted=!1;trackedPageImpressions=new Set;constructor({analyticsData:t,devMode:n=!1,notify:o,recordCounter:r}){this.#e={...t,flowVersion:t.flowVersion??Fe},this.devMode=n,this.notify=o,this.recordCounter=r,this.clearTrackedPageImpressions=this.clearTrackedPageImpressions.bind(this),this.produceMonorailEvent=this.produceMonorailEvent.bind(this),this.trackFeatureInitialization=this.trackFeatureInitialization.bind(this),this.trackModalStateChange=this.trackModalStateChange.bind(this),this.trackPageImpression=this.trackPageImpression.bind(this),this.trackUserAction=this.trackUserAction.bind(this)}get analyticsData(){return this.#e}set analyticsData(t){const n={...this.#e,...t};Ie(n,this.#e)||(this.#e=n)}clearTrackedPageImpressions(){this.trackedPageImpressions.clear()}produceMonorailEvent({event:t,onError:n,trekkieAttributes:o}){if(!this.devMode){if(o&&!Object.keys(o).length){n?.({message:"trekkie attributes are empty"});return}t.payload=Object.assign(t.payload,o),xr.produce(t).catch(r=>{if(n?.(r),wr(r)){const a=r instanceof Error?r:new me(String(r),"MonorailProducerError");if(this.notify?.(a),this.recordCounter){const i=Qo(a);this.recordCounter("shop_js_monorail_producer_error",{attributes:{error:i}})}}})}}async trackFeatureInitialization(){const{analyticsTraceId:t,apiKey:n,checkoutToken:o,flow:r,flowVersion:a=Fe,shopId:i,source:l="unspecified",uxMode:s}=this.analyticsData;if(!r)return;this.featureInitializationEventAlreadyEmitted&&this.notify?.(new me(`Feature Initialize Event already emitted once for the feature ${r}`,"MonorailLogicError",t));const p=Pt()?.pageType??"",h=await rt("customerId","isPersistentCookie","path","uniqToken","visitToken"),u={...n&&{apiKey:n},...o&&{checkoutToken:o},...i&&{shopId:i},...h,analyticsTraceId:t,flow:r,flowVersion:a,sdkVersion:"1.0.32-1803-beta",shopPermanentDomain:O.Shopify?.shop??"",source:l,storefrontPageType:p,uxMode:s};this.featureInitializationEventAlreadyEmitted=!0,this.produceMonorailEvent({event:{schemaId:"shopify_pay_login_with_shop_sdk_feature_initialize/1.1",payload:u}})}trackModalStateChange({currentState:t,dismissMethod:n,reason:o}){const{analyticsTraceId:r,checkoutToken:a,flow:i,flowVersion:l="unspecified"}=this.analyticsData;i&&(this.produceMonorailEvent({event:{schemaId:"shop_identity_modal_state_change/1.4",payload:{analyticsTraceId:r,checkoutToken:a,currentState:t,dismissMethod:n,flow:i,flowVersion:l,previousState:this.previousModalState,reason:o,zoom:`${O.visualViewport?.scale}`}}}),this.previousModalState=t)}async trackPageImpression({allowDuplicates:t=!1,analyticsTraceId:n=this.analyticsData.analyticsTraceId,flow:o=this.analyticsData.flow,page:r,shopAccountUuid:a}){if(!t&&this.trackedPageImpressions.has(r))return;const{apiKey:i,checkoutToken:l,flowVersion:s=Fe}=this.analyticsData;if(!o)return;this.trackedPageImpressions.add(r);const p=Pt()?.pageType??"",h=await rt("customerId","isPersistentCookie","path","uniqToken","visitToken"),u={...i&&{apiKey:i},...l&&{checkoutToken:l},...a&&{shopAccountUuid:a},...h,analyticsTraceId:n,flow:o,flowVersion:s,pageName:r,sdkVersion:"1.0.32-1803-beta",shopPermanentDomain:O.Shopify?.shop??"",storefrontPageType:p};this.produceMonorailEvent({event:{payload:u,schemaId:"shopify_pay_login_with_shop_sdk_page_impressions/3.3"},onError:()=>{this.trackedPageImpressions.delete(r)},trekkieAttributes:h})}trackUserAction({userAction:t}){const{analyticsTraceId:n,apiKey:o,checkoutToken:r,checkoutVersion:a,flow:i,flowVersion:l=Fe,shopId:s}=this.analyticsData;if(!i)return;const d={...o&&{apiKey:o},...r&&{checkoutToken:r},...a&&{checkoutVersion:a},...s&&{shopId:s},analyticsTraceId:n,flow:i,flowVersion:l,sdkVersion:"1.0.32-1803-beta",shopPermanentDomain:O.Shopify?.shop??"",userAction:t};this.produceMonorailEvent({event:{schemaId:"shopify_pay_login_with_shop_sdk_user_actions/2.2",payload:d}})}}const _r=({analyticsContext:e="loginWithShop",apiKey:t,checkoutVersion:n,checkoutToken:o,children:r,flow:a,flowVersion:i,shopId:l=0,shopPermanentDomain:s,source:d,uxMode:p})=>{const{notify:h}=Ce(),{recordCounter:u}=$t(),{devMode:c,instanceId:m}=we(),y=Y({analyticsContext:e,analyticsTraceId:m,apiKey:t,checkoutVersion:n,checkoutToken:o,flow:a,flowVersion:i,shopId:l,shopPermanentDomain:s,source:d,uxMode:p}),w=G(()=>new vr({analyticsData:y.current,devMode:c,notify:h,recordCounter:u}),[c,h,u]);w.analyticsData={...y.current,analyticsTraceId:m,analyticsContext:e,apiKey:t,checkoutVersion:n,checkoutToken:o,flow:a,flowVersion:i,shopId:l,shopPermanentDomain:s,source:d,uxMode:p},$(()=>()=>{w.clearTrackedPageImpressions()},[w]);const b=gr(()=>{w.trackFeatureInitialization()},100);$(()=>{b()},[b]);const S=G(()=>({analyticsData:w.analyticsData,getTrekkieAttributes:rt,produceMonorailEvent:w.produceMonorailEvent,trackModalStateChange:w.trackModalStateChange,trackPageImpression:w.trackPageImpression,trackUserAction:w.trackUserAction}),[w.analyticsData,w.produceMonorailEvent,w.trackModalStateChange,w.trackPageImpression,w.trackUserAction]);return E(Ft.Provider,{value:S,children:r})};function Er({children:e}){const{featureName:t}=we(),n=G(()=>new cn({exporter:ln()}),[]),o=q(({body:s,attributes:d})=>{n.log({body:s,attributes:{beta:!0,feature:t,...d}})},[n,t]),r=q((s,d={})=>{const{attributes:p,unit:h,value:u=1}=d;n.counter({attributes:{beta:!0,feature:t,...p},name:s,value:u,unit:h})},[n,t]),a=q((s,d={})=>{const{attributes:p,unit:h,value:u=1}=d;n.gauge({attributes:{beta:!0,feature:t,...p},name:s,value:u,unit:h})},[n,t]),i=q((s,d={})=>{const{attributes:p,unit:h,value:u=1,bounds:c}=d;n.histogram({attributes:{beta:!0,feature:t,...p},bounds:c,name:s,value:u,unit:h})},[n,t]),l=G(()=>({client:n,log:o,recordCounter:r,recordGauge:a,recordHistogram:i}),[n,o,r,a,i]);return E(jt.Provider,{value:l,children:e})}const kr=` @font-face { font-family: 'SuisseIntl'; src: url('https://cdn.shopify.com/shop-assets/static_uploads/shoplift/SuisseIntl-Book.otf') format('opentype'); font-style: normal; font-weight: 450; font-display: fallback; } @font-face { font-family: 'SuisseIntl'; src: url('https://cdn.shopify.com/shop-assets/static_uploads/shoplift/SuisseIntl-Medium.otf') format('opentype'); font-style: normal; font-weight: 500; font-display: fallback; } @font-face { font-family: 'SuisseIntl'; src: url('https://cdn.shopify.com/shop-assets/static_uploads/shoplift/SuisseIntl-SemiBold.otf') format('opentype'); font-style: normal; font-weight: 600; font-display: fallback; }`,Vr=({children:e,devMode:t=!1,element:n,featureName:o,getFeatureDictionary:r,metricsEnabled:a=!0,monorailProps:i,overrideLocale:l})=>{$(()=>{if(J.querySelector('style[data-description="shop-js-font-faces"]'))return;const p=J.createElement("style");p.dataset.description="shop-js-font-faces",p.appendChild(J.createTextNode(kr)),J.head.appendChild(p)},[]);const s=G(()=>Mt(),[]);$(()=>{n&&n.setAttribute("data-instance-id",s)},[n,s]);const d=G(()=>({devMode:t,element:n,featureName:o,instanceId:s}),[t,n,o,s]);return E(Ht.Provider,{value:d,children:E(Sr,{enabled:a,monorailProps:i,children:E(mr,{getFeatureDictionary:r,overrideLocale:l,children:E(Ko,{children:e})})})})};function Sr({children:e,enabled:t=!0,monorailProps:n}){return t?E(sr,{children:E(cr,{children:E(Er,{children:E(_r,{...n,children:e})})})}):E(Re,{children:e})}const oe=e=>{if(e!==void 0)return e===!1?"false":"true"};function Ar({analyticsContext:e,analyticsTraceId:t,apiKey:n,avoidSdkSession:o,checkoutRedirectUrl:r,checkoutToken:a,checkoutVersion:i,clientId:l,codeChallenge:s,codeChallengeMethod:d,consentChallenge:p,disableSignUp:h,error:u,experiments:c,flow:m,flowVersion:y,hideCopy:w,isCompactLayout:b=!0,isFullView:S,locale:v,loginStart:k,modalCustomized:_,orderId:P,origin:R,personalizeAds:U,prompt:z,placement:F,popUpFeatures:N,popUpName:T,redirectType:H,redirectUri:L,requireVerification:I,responseMode:V,responseType:C,returnUri:j,scope:M,shopId:Z,state:fe,storefrontDomain:K,transactionParams:ee,uxMode:ne,uxRole:Q,hideButtons:re,hideHeader:ie,accentColor:g,darkMode:f}){const x=h===void 0?void 0:h===!1,B={analytics_context:e,analytics_trace_id:t,avoid_sdk_session:oe(o),api_key:n,checkout_redirect_url:r,checkout_token:a,checkout_version:i,client_id:l,code_challenge:s,code_challenge_method:d,compact_layout:oe(b),consent_challenge:oe(p),"customize-modal":oe(_),...u&&{error:u},...c&&{experiments:c},flow:m?m.toString():void 0,flow_version:y,full_view:oe(S),hide_copy:oe(w),locale:v,...k&&{login_start:k},order_id:P?P.toString():void 0,origin:R,personalize_ads:oe(U),hide_buttons:oe(re),hide_header:oe(ie),accent_color:g,dark_mode:oe(f),placement:F,pop_up_features:H==="pop_up"?N:void 0,pop_up_name:H==="pop_up"?T:void 0,preact:"true",prompt:z,redirect_type:H,redirect_uri:L||O.location.origin,require_verification:oe(I),response_mode:V||"web_message",response_type:C||"id_token",...j&&{return_uri:j},scope:M||"openid email profile",sign_up_enabled:oe(x),shop_id:Z?Z.toString():void 0,state:fe,storefront_domain:K,target_origin:O.location.origin,transaction_params:ee,ux_mode:ne,ux_role:Q};return Object.keys(B).forEach(W=>B[W]===void 0&&delete B[W]),new URLSearchParams(B)}function Rr(e){if(!e.proxy&&e?.clientId===void 0)return"";const t=Ar(e);if(e.proxy)return`${Ut}/services/login_with_shop/authorize?${t}`;if(Cr(e))return`${Ue}/oauth/authorize?${t}`;const n=e.avoidPayAltDomain?"/pay/sdk-authorize":"/pay/sdk-session";return`${Ue}${n}?${t}`}function Cr(e){return e.analyticsContext==="loginWithShopSelfServe"&&e.uxMode!=="iframe"&&e.uxRole!=="prompt"}function Fr({analyticsContext:e,avoidPayAltDomain:t=!1,avoidSdkSession:n=!1,disableSignUp:o=!1,flow:r="default",flowVersion:a="unspecified",error:i,prompt:l="login",responseMode:s,...d}){const{locale:p}=mt(),{instanceId:h}=we(),u=q(m=>{const y=Tr(s,d.uxMode),b={analyticsContext:Lr(e,d.uxMode),analyticsTraceId:h,avoidPayAltDomain:t,avoidSdkSession:n,disableSignUp:o,error:i,flow:r,flowVersion:a,locale:p,prompt:l,...y&&{responseMode:y},...d,...m};return Rr(b)},[e,t,n,o,i,r,a,h,p,l,d,s]);return{authorizeUrl:G(()=>u(),[u]),getAuthorizeUrl:u}}function Tr(e,t){return t==="redirect"?"query":t==="windoid"?"web_message":e}function Lr(e,t){return t==="redirect"&&e==="loginWithShop"?"loginWithShopClassicCustomerAccounts":e}function jr(e){const{element:t}=we(),{loading:n}=mt();$(()=>{if(!(!t||n!==!1))return Object.entries(e).forEach(([o,r])=>{t.addEventListener(o,r)}),t?._eventListenerReadyPromiseResolve(),()=>{Object.entries(e).forEach(([o,r])=>{t?.removeEventListener(o,r)})}},[t,n,e])}const Or={stringify:e=>e===""?"true":e?/^[ty1-9]/i.test(e).toString():"false",parse:(e,t,n)=>e===""?!0:e?/^[ty1-9]/i.test(e):n.hasAttribute(t)&&e===null},Pr={stringify:e=>typeof e=="function"?e.name.replace("bound ",""):typeof e=="string"?e.replace("bound ",""):e,parse:(e,t,n)=>{if(!e)return null;const o=(()=>{if(typeof window<"u")return window[e];if(typeof global<"u")return global[e]})();return typeof o=="function"?o.bind(n):void 0}},Ir={stringify:e=>`${e}`,parse:e=>{if(e)return parseFloat(e)}},Mr={stringify:e=>e,parse:e=>{if(e)return e}},Qe={boolean:Or,function:Pr,number:Ir,string:Mr};function $r(e,{methods:t,name:n,props:o,shadow:r}){if(typeof window>"u")return;const{notify:a}=new dn(n);function i(){const c=In(i);if(c._eventListenerReadyPromise=new Promise(m=>{c._eventListenerReadyPromiseResolve=m}),c._vdomComponent=e,c._root=r?c.attachShadow({mode:r}):c,r){const m=new CSSStyleSheet;m.replace(sn),c._root.adoptedStyleSheets=[m]}return c}const l=new Map;Object.entries(o||{}).forEach(([c,m])=>{const y=Mn(c);l.set(y,{attribute:y,preactProp:c,type:m})});const s=Array.from(l.values()).map(({attribute:c})=>c);i.prototype=Object.create(HTMLElement.prototype),i.prototype.constructor=i,i.observedAttributes=s,i.prototype.attributeChangedCallback=function(m,y,w){if(!this._vdom)return;const b=l.get(m);if(!b)return;const{preactProp:S,type:v}=b,k=Qe[v],_={};if(!w&&v==="boolean"){const P=k.parse(w,m,this);_[m]=P,_[S]=P}else if(v&&w){const P=k.parse(w,m,this);_[m]=P,_[S]=P}this._vdom=wt(this._vdom,_),Ke(this._vdom,this._root)},i.prototype.connectedCallback=function(){const m=new CustomEvent("_preact",{detail:{},bubbles:!0,cancelable:!0});this.dispatchEvent(m);const y=m.detail.context;this._vdom=Ne(d,{...this._props,context:y,element:this},h(this,this._vdomComponent)),Ke(this._vdom,this._root)},t?.forEach(c=>{i.prototype[c]=function(m){this._eventListenerReadyPromise.then(()=>{this.dispatchEvent(new CustomEvent(c,{detail:m}))}).catch(()=>{a(new me(`Custom element ${n}: Error listening for methods`,"CustomElementMethodListenerError"))})}}),i.prototype.disconnectedCallback=function(){Ke(this._vdom=null,this._root)};function d(c){this.getChildContext=()=>c.context;const{context:m,children:y,...w}=c;return wt(y,w)}function p(c){return Ne("slot",{...c})}function h(c,m){if(c.nodeType===3)return c.data;if(c.nodeType!==1)return null;const y={},w=[],{childNodes:b}=c;l.forEach(({attribute:v,preactProp:k,type:_})=>{const P=Qe[_],R=c.getAttribute(v);let U=R;(_==="boolean"||R)&&(U=P.parse(R,v,c)),U!==null&&(y[v]=U,y[k]=U)});for(const v of b){const k=h(v,null);w.push(k)}const S=m?Ne(p,null,w):w;return Ne(m,y,S)}l.forEach(({attribute:c,type:m})=>{const y=Qe[m];Object.defineProperty(i.prototype,c,{get(){return!this._vdom||!this._vdom.props?null:this._vdom.props[c]},set(w){let b=w;this._vdom?this.attributeChangedCallback(c,null,w):(m==="boolean"?b=y.parse(w,c,this):w&&(b=y.parse(w,c,this)),this._props||(this._props={}),this._props[c]=b,this.connectedCallback()),this.setAttribute(c,y.stringify(b))}})});const u=customElements.get(n);if(u){const c=u.componentVersion;c&&c!=="preact"&&a(new me(`Custom element ${n} already registered by ${c}`,"CustomElementAlreadyDefinedError"));return}return Reflect.defineProperty?.(i,"componentVersion",{value:"preact"}),Pn(n,i)}export{me as A,Vo as P,Vr as R,Fo as S,J as a,Ce as b,kn as c,zr as d,gr as e,jr as f,O as g,Fr as h,Nr as i,Yo as j,we as k,$t as l,Rr as m,$r as r,it as u}; }