import{i as t,E as e,t as o,T as r,h as n,G as a,v as i,u as s,M as l,s as c,F as d,an as p,ao as u,_ as h,ah as f,ap as m,ag as g,aq as w,ar as b,as as y,at as v,au as x,av as _,aw as k,ax as E,ay as T,az as S,a6 as P}from"./2c1ab0fe.Dbn2KvkT.js";import{v as I}from"./2210eadb.DF0gIp_2.js";import{_ as L}from"./app.CooG55fE.js";import{v as M}from"./3d539943.CHiZMBrZ.js";const A=t({dispatch:()=>{throw new Error("Invalid attempt to call dispatch outside of AuthorizeStateProvider")},loaded:!1,modalDismissible:!1,modalForceHidden:!1,modalVisible:!1,uiRendered:!1}),R=()=>e(A),j={addEventListener:()=>{},analytics:{},btoa:()=>"",clearTimeout:()=>{},CSS:{supports:(t,e)=>!1},customElements:{},devicePixelRatio:1,dispatchEvent:()=>!0,getComputedStyle:t=>({}),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:()=>{},postMessage:()=>{},PublicKeyCredential:{isConditionalMediationAvailable:()=>Promise.resolve(!1)},removeEventListener:()=>{},ResizeObserver:void 0,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:URL,visualViewport:{}},C="undefined"==typeof window?j:window,D="undefined"==typeof document?{activeElement:null,addEventListener:()=>{},appendChild:()=>{},body:{},cookie:"",createElement:()=>{},createTextNode:()=>{},documentElement:{clientHeight:0,clientWidth:0,dir:"",lang:"",style:{overflow:"",removeProperty:()=>{},setProperty:()=>{}}},getElementById:()=>null,head:{appendChild:()=>{}},location:void 0,querySelector:()=>{},querySelectorAll:()=>[],removeEventListener:()=>{},styleSheets:{},visibilityState:"hidden"}:document,z=t({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.")}}),O=()=>{const t=e(z);if(!t)throw new Error("Invalid attempt to use useBugsnag outside of BugsnagProvider.");return t},V=t({devMode:!1,element:null,instanceId:""}),F=()=>e(V),N=new Set(["contextCode"]);function B(t){if(!t||"object"!=typeof t||Array.isArray(t))return t;const e={...t};for(const o of N)delete e[o];return e}function H(){const{notify:t}=O(),{element:e}=F();return o((o,r,n=!1)=>{e?e.dispatchEvent(new CustomEvent(o,{bubbles:n,cancelable:!1,composed:!0,detail:B(r)})):t(new Error("dispatchEvent called without a reference to the custom element."))},[e,t])}const U=1e4,J=Math.min,$=Math.max,q=Math.round,W=Math.floor,Y=t=>({x:t,y:t}),K={left:"right",right:"left",bottom:"top",top:"bottom"},G={start:"end",end:"start"};function X(t,e,o){return $(t,J(e,o))}function Z(t,e){return"function"==typeof t?t(e):t}function Q(t){return t.split("-")[0]}function tt(t){return t.split("-")[1]}function et(t){return"x"===t?"y":"x"}function ot(t){return"y"===t?"height":"width"}function rt(t){return["top","bottom"].includes(Q(t))?"y":"x"}function nt(t){return et(rt(t))}function at(t){return t.replace(/start|end/g,t=>G[t])}function it(t){return t.replace(/left|right|bottom|top/g,t=>K[t])}function st(t){return"number"!=typeof t?function(t){return{top:0,right:0,bottom:0,left:0,...t}}(t):{top:t,right:t,bottom:t,left:t}}function lt(t){const{x:e,y:o,width:r,height:n}=t;return{width:r,height:n,top:o,left:e,right:e+r,bottom:o+n,x:e,y:o}}function ct(t,e,o){let{reference:r,floating:n}=t;const a=rt(e),i=nt(e),s=ot(i),l=Q(e),c="y"===a,d=r.x+r.width/2-n.width/2,p=r.y+r.height/2-n.height/2,u=r[s]/2-n[s]/2;let h;switch(l){case"top":h={x:d,y:r.y-n.height};break;case"bottom":h={x:d,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:p};break;case"left":h={x:r.x-n.width,y:p};break;default:h={x:r.x,y:r.y}}switch(tt(e)){case"start":h[i]-=u*(o&&c?-1:1);break;case"end":h[i]+=u*(o&&c?-1:1)}return h}async function dt(t,e){var o;void 0===e&&(e={});const{x:r,y:n,platform:a,rects:i,elements:s,strategy:l}=t,{boundary:c="clippingAncestors",rootBoundary:d="viewport",elementContext:p="floating",altBoundary:u=!1,padding:h=0}=Z(e,t),f=st(h),m=s[u?"floating"===p?"reference":"floating":p],g=lt(await a.getClippingRect({element:null==(o=await(null==a.isElement?void 0:a.isElement(m)))||o?m:m.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(s.floating)),boundary:c,rootBoundary:d,strategy:l})),w="floating"===p?{x:r,y:n,width:i.floating.width,height:i.floating.height}:i.reference,b=await(null==a.getOffsetParent?void 0:a.getOffsetParent(s.floating)),y=await(null==a.isElement?void 0:a.isElement(b))&&await(null==a.getScale?void 0:a.getScale(b))||{x:1,y:1},v=lt(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:w,offsetParent:b,strategy:l}):w);return{top:(g.top-v.top+f.top)/y.y,bottom:(v.bottom-g.bottom+f.bottom)/y.y,left:(g.left-v.left+f.left)/y.x,right:(v.right-g.right+f.right)/y.x}}function pt(){return"undefined"!=typeof window}function ut(t){return mt(t)?(t.nodeName||"").toLowerCase():"#document"}function ht(t){var e;return(null==t||null==(e=t.ownerDocument)?void 0:e.defaultView)||window}function ft(t){var e;return null==(e=(mt(t)?t.ownerDocument:t.document)||window.document)?void 0:e.documentElement}function mt(t){return!!pt()&&(t instanceof Node||t instanceof ht(t).Node)}function gt(t){return!!pt()&&(t instanceof Element||t instanceof ht(t).Element)}function wt(t){return!!pt()&&(t instanceof HTMLElement||t instanceof ht(t).HTMLElement)}function bt(t){return!(!pt()||"undefined"==typeof ShadowRoot)&&(t instanceof ShadowRoot||t instanceof ht(t).ShadowRoot)}function yt(t){const{overflow:e,overflowX:o,overflowY:r,display:n}=Tt(t);return/auto|scroll|overlay|hidden|clip/.test(e+r+o)&&!["inline","contents"].includes(n)}function vt(t){return["table","td","th"].includes(ut(t))}function xt(t){return[":popover-open",":modal"].some(e=>{try{return t.matches(e)}catch(o){return!1}})}function _t(t){const e=kt(),o=gt(t)?Tt(t):t;return["transform","translate","scale","rotate","perspective"].some(t=>!!o[t]&&"none"!==o[t])||!!o.containerType&&"normal"!==o.containerType||!e&&!!o.backdropFilter&&"none"!==o.backdropFilter||!e&&!!o.filter&&"none"!==o.filter||["transform","translate","scale","rotate","perspective","filter"].some(t=>(o.willChange||"").includes(t))||["paint","layout","strict","content"].some(t=>(o.contain||"").includes(t))}function kt(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Et(t){return["html","body","#document"].includes(ut(t))}function Tt(t){return ht(t).getComputedStyle(t)}function St(t){return gt(t)?{scrollLeft:t.scrollLeft,scrollTop:t.scrollTop}:{scrollLeft:t.scrollX,scrollTop:t.scrollY}}function Pt(t){if("html"===ut(t))return t;const e=t.assignedSlot||t.parentNode||bt(t)&&t.host||ft(t);return bt(e)?e.host:e}function It(t){const e=Pt(t);return Et(e)?t.ownerDocument?t.ownerDocument.body:t.body:wt(e)&&yt(e)?e:It(e)}function Lt(t,e,o){var r;void 0===e&&(e=[]),void 0===o&&(o=!0);const n=It(t),a=n===(null==(r=t.ownerDocument)?void 0:r.body),i=ht(n);if(a){const t=Mt(i);return e.concat(i,i.visualViewport||[],yt(n)?n:[],t&&o?Lt(t):[])}return e.concat(n,Lt(n,[],o))}function Mt(t){return t.parent&&Object.getPrototypeOf(t.parent)?t.frameElement:null}function At(t){const e=Tt(t);let o=parseFloat(e.width)||0,r=parseFloat(e.height)||0;const n=wt(t),a=n?t.offsetWidth:o,i=n?t.offsetHeight:r,s=q(o)!==a||q(r)!==i;return s&&(o=a,r=i),{width:o,height:r,$:s}}function Rt(t){return gt(t)?t:t.contextElement}function jt(t){const e=Rt(t);if(!wt(e))return Y(1);const o=e.getBoundingClientRect(),{width:r,height:n,$:a}=At(e);let i=(a?q(o.width):o.width)/r,s=(a?q(o.height):o.height)/n;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const Ct=Y(0);function Dt(t){const e=ht(t);return kt()&&e.visualViewport?{x:e.visualViewport.offsetLeft,y:e.visualViewport.offsetTop}:Ct}function zt(t,e,o,r){void 0===e&&(e=!1),void 0===o&&(o=!1);const n=t.getBoundingClientRect(),a=Rt(t);let i=Y(1);e&&(r?gt(r)&&(i=jt(r)):i=jt(t));const s=function(t,e,o){return void 0===e&&(e=!1),!(!o||e&&o!==ht(t))&&e}(a,o,r)?Dt(a):Y(0);let l=(n.left+s.x)/i.x,c=(n.top+s.y)/i.y,d=n.width/i.x,p=n.height/i.y;if(a){const t=ht(a),e=r&>(r)?ht(r):r;let o=t,n=Mt(o);for(;n&&r&&e!==o;){const t=jt(n),e=n.getBoundingClientRect(),r=Tt(n),a=e.left+(n.clientLeft+parseFloat(r.paddingLeft))*t.x,i=e.top+(n.clientTop+parseFloat(r.paddingTop))*t.y;l*=t.x,c*=t.y,d*=t.x,p*=t.y,l+=a,c+=i,o=ht(n),n=Mt(o)}}return lt({width:d,height:p,x:l,y:c})}function Ot(t,e){const o=St(t).scrollLeft;return e?e.left+o:zt(ft(t)).left+o}function Vt(t,e,o){void 0===o&&(o=!1);const r=t.getBoundingClientRect();return{x:r.left+e.scrollLeft-(o?0:Ot(t,r)),y:r.top+e.scrollTop}}function Ft(t,e,o){let r;if("viewport"===e)r=function(t,e){const o=ht(t),r=ft(t),n=o.visualViewport;let a=r.clientWidth,i=r.clientHeight,s=0,l=0;if(n){a=n.width,i=n.height;const t=kt();(!t||t&&"fixed"===e)&&(s=n.offsetLeft,l=n.offsetTop)}return{width:a,height:i,x:s,y:l}}(t,o);else if("document"===e)r=function(t){const e=ft(t),o=St(t),r=t.ownerDocument.body,n=$(e.scrollWidth,e.clientWidth,r.scrollWidth,r.clientWidth),a=$(e.scrollHeight,e.clientHeight,r.scrollHeight,r.clientHeight);let i=-o.scrollLeft+Ot(t);const s=-o.scrollTop;return"rtl"===Tt(r).direction&&(i+=$(e.clientWidth,r.clientWidth)-n),{width:n,height:a,x:i,y:s}}(ft(t));else if(gt(e))r=function(t,e){const o=zt(t,!0,"fixed"===e),r=o.top+t.clientTop,n=o.left+t.clientLeft,a=wt(t)?jt(t):Y(1);return{width:t.clientWidth*a.x,height:t.clientHeight*a.y,x:n*a.x,y:r*a.y}}(e,o);else{const o=Dt(t);r={x:e.x-o.x,y:e.y-o.y,width:e.width,height:e.height}}return lt(r)}function Nt(t,e){const o=Pt(t);return!(o===e||!gt(o)||Et(o))&&("fixed"===Tt(o).position||Nt(o,e))}function Bt(t,e){const o=e.get(t);if(o)return o;let r=Lt(t,[],!1).filter(t=>gt(t)&&"body"!==ut(t)),n=null;const a="fixed"===Tt(t).position;let i=a?Pt(t):t;for(;gt(i)&&!Et(i);){const e=Tt(i),o=_t(i);o||"fixed"!==e.position||(n=null),(a?!o&&!n:!o&&"static"===e.position&&n&&["absolute","fixed"].includes(n.position)||yt(i)&&!o&&Nt(t,i))?r=r.filter(t=>t!==i):n=e,i=Pt(i)}return e.set(t,r),r}function Ht(t,e,o){const r=wt(e),n=ft(e),a="fixed"===o,i=zt(t,!0,a,e);let s={scrollLeft:0,scrollTop:0};const l=Y(0);if(r||!r&&!a)if(("body"!==ut(e)||yt(n))&&(s=St(e)),r){const t=zt(e,!0,a,e);l.x=t.x+e.clientLeft,l.y=t.y+e.clientTop}else n&&(l.x=Ot(n));const c=!n||r||a?Y(0):Vt(n,s);return{x:i.left+s.scrollLeft-l.x-c.x,y:i.top+s.scrollTop-l.y-c.y,width:i.width,height:i.height}}function Ut(t){return"static"===Tt(t).position}function Jt(t,e){if(!wt(t)||"fixed"===Tt(t).position)return null;if(e)return e(t);let o=t.offsetParent;return ft(t)===o&&(o=o.ownerDocument.body),o}function $t(t,e){const o=ht(t);if(xt(t))return o;if(!wt(t)){let e=Pt(t);for(;e&&!Et(e);){if(gt(e)&&!Ut(e))return e;e=Pt(e)}return o}let r=Jt(t,e);for(;r&&vt(r)&&Ut(r);)r=Jt(r,e);return r&&Et(r)&&Ut(r)&&!_t(r)?o:r||function(t){let e=Pt(t);for(;wt(e)&&!Et(e);){if(_t(e))return e;if(xt(e))return null;e=Pt(e)}return null}(t)||o}const qt={convertOffsetParentRelativeRectToViewportRelativeRect:function(t){let{elements:e,rect:o,offsetParent:r,strategy:n}=t;const a="fixed"===n,i=ft(r),s=!!e&&xt(e.floating);if(r===i||s&&a)return o;let l={scrollLeft:0,scrollTop:0},c=Y(1);const d=Y(0),p=wt(r);if((p||!p&&!a)&&(("body"!==ut(r)||yt(i))&&(l=St(r)),wt(r))){const t=zt(r);c=jt(r),d.x=t.x+r.clientLeft,d.y=t.y+r.clientTop}const u=!i||p||a?Y(0):Vt(i,l,!0);return{width:o.width*c.x,height:o.height*c.y,x:o.x*c.x-l.scrollLeft*c.x+d.x+u.x,y:o.y*c.y-l.scrollTop*c.y+d.y+u.y}},getDocumentElement:ft,getClippingRect:function(t){let{element:e,boundary:o,rootBoundary:r,strategy:n}=t;const a=[..."clippingAncestors"===o?xt(e)?[]:Bt(e,this._c):[].concat(o),r],i=a[0],s=a.reduce((t,o)=>{const r=Ft(e,o,n);return t.top=$(r.top,t.top),t.right=J(r.right,t.right),t.bottom=J(r.bottom,t.bottom),t.left=$(r.left,t.left),t},Ft(e,i,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:$t,getElementRects:async function(t){const e=this.getOffsetParent||$t,o=this.getDimensions,r=await o(t.floating);return{reference:Ht(t.reference,await e(t.floating),t.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(t){return Array.from(t.getClientRects())},getDimensions:function(t){const{width:e,height:o}=At(t);return{width:e,height:o}},getScale:jt,isElement:gt,isRTL:function(t){return"rtl"===Tt(t).direction}};function Wt(t,e){return t.x===e.x&&t.y===e.y&&t.width===e.width&&t.height===e.height}function Yt(t,e,o,r){void 0===r&&(r={});const{ancestorScroll:n=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=Rt(t),d=n||a?[...c?Lt(c):[],...Lt(e)]:[];d.forEach(t=>{n&&t.addEventListener("scroll",o,{passive:!0}),a&&t.addEventListener("resize",o)});const p=c&&s?function(t,e){let o,r=null;const n=ft(t);function a(){var t;clearTimeout(o),null==(t=r)||t.disconnect(),r=null}return function i(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),a();const c=t.getBoundingClientRect(),{left:d,top:p,width:u,height:h}=c;if(s||e(),!u||!h)return;const f={rootMargin:-W(p)+"px "+-W(n.clientWidth-(d+u))+"px "+-W(n.clientHeight-(p+h))+"px "+-W(d)+"px",threshold:$(0,J(1,l))||1};let m=!0;function g(e){const r=e[0].intersectionRatio;if(r!==l){if(!m)return i();r?i(!1,r):o=setTimeout(()=>{i(!1,1e-7)},1e3)}1!==r||Wt(c,t.getBoundingClientRect())||i(),m=!1}try{r=new IntersectionObserver(g,{...f,root:n.ownerDocument})}catch(w){r=new IntersectionObserver(g,f)}r.observe(t)}(!0),a}(c,o):null;let u,h=-1,f=null;i&&(f=new ResizeObserver(t=>{let[r]=t;r&&r.target===c&&f&&(f.unobserve(e),cancelAnimationFrame(h),h=requestAnimationFrame(()=>{var t;null==(t=f)||t.observe(e)})),o()}),c&&!l&&f.observe(c),f.observe(e));let m=l?zt(t):null;return l&&function e(){const r=zt(t);m&&!Wt(m,r)&&o(),m=r,u=requestAnimationFrame(e)}(),o(),()=>{var t;d.forEach(t=>{n&&t.removeEventListener("scroll",o),a&&t.removeEventListener("resize",o)}),p?.(),null==(t=f)||t.disconnect(),f=null,l&&cancelAnimationFrame(u)}}const Kt=function(t){return void 0===t&&(t=0),{name:"offset",options:t,async fn(e){var o,r;const{x:n,y:a,placement:i,middlewareData:s}=e,l=await async function(t,e){const{placement:o,platform:r,elements:n}=t,a=await(null==r.isRTL?void 0:r.isRTL(n.floating)),i=Q(o),s=tt(o),l="y"===rt(o),c=["left","top"].includes(i)?-1:1,d=a&&l?-1:1,p=Z(e,t);let{mainAxis:u,crossAxis:h,alignmentAxis:f}="number"==typeof p?{mainAxis:p,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...p};return s&&"number"==typeof f&&(h="end"===s?-1*f:f),l?{x:h*d,y:u*c}:{x:u*c,y:h*d}}(e,t);return i===(null==(o=s.offset)?void 0:o.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:n+l.x,y:a+l.y,data:{...l,placement:i}}}}},Gt=function(t){return void 0===t&&(t={}),{name:"shift",options:t,async fn(e){const{x:o,y:r,placement:n}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:s={fn:t=>{let{x:e,y:o}=t;return{x:e,y:o}}},...l}=Z(t,e),c={x:o,y:r},d=await dt(e,l),p=rt(Q(n)),u=et(p);let h=c[u],f=c[p];if(a){const t="y"===u?"bottom":"right";h=X(h+d["y"===u?"top":"left"],h,h-d[t])}if(i){const t="y"===p?"bottom":"right";f=X(f+d["y"===p?"top":"left"],f,f-d[t])}const m=s.fn({...e,[u]:h,[p]:f});return{...m,data:{x:m.x-o,y:m.y-r}}}}},Xt=function(t){return void 0===t&&(t={}),{name:"flip",options:t,async fn(e){var o,r;const{placement:n,middlewareData:a,rects:i,initialPlacement:s,platform:l,elements:c}=e,{mainAxis:d=!0,crossAxis:p=!0,fallbackPlacements:u,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:f="none",flipAlignment:m=!0,...g}=Z(t,e);if(null!=(o=a.arrow)&&o.alignmentOffset)return{};const w=Q(n),b=rt(s),y=Q(s)===s,v=await(null==l.isRTL?void 0:l.isRTL(c.floating)),x=u||(y||!m?[it(s)]:function(t){const e=it(t);return[at(t),e,at(e)]}(s)),_="none"!==f;!u&&_&&x.push(...function(t,e,o,r){const n=tt(t);let a=function(t,e,o){const r=["left","right"],n=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(t){case"top":case"bottom":return o?e?n:r:e?r:n;case"left":case"right":return e?a:i;default:return[]}}(Q(t),"start"===o,r);return n&&(a=a.map(t=>t+"-"+n),e&&(a=a.concat(a.map(at)))),a}(s,m,f,v));const k=[s,...x],E=await dt(e,g),T=[];let S=(null==(r=a.flip)?void 0:r.overflows)||[];if(d&&T.push(E[w]),p){const t=function(t,e,o){void 0===o&&(o=!1);const r=tt(t),n=nt(t),a=ot(n);let i="x"===n?r===(o?"end":"start")?"right":"left":"start"===r?"bottom":"top";return e.reference[a]>e.floating[a]&&(i=it(i)),[i,it(i)]}(n,i,v);T.push(E[t[0]],E[t[1]])}if(S=[...S,{placement:n,overflows:T}],!T.every(t=>t<=0)){var P,I;const t=((null==(P=a.flip)?void 0:P.index)||0)+1,e=k[t];if(e)return{data:{index:t,overflows:S},reset:{placement:e}};let o=null==(I=S.filter(t=>t.overflows[0]<=0).sort((t,e)=>t.overflows[1]-e.overflows[1])[0])?void 0:I.placement;if(!o)switch(h){case"bestFit":{var L;const t=null==(L=S.filter(t=>{if(_){const e=rt(t.placement);return e===b||"y"===e}return!0}).map(t=>[t.placement,t.overflows.filter(t=>t>0).reduce((t,e)=>t+e,0)]).sort((t,e)=>t[1]-e[1])[0])?void 0:L[0];t&&(o=t);break}case"initialPlacement":o=s}if(n!==o)return{reset:{placement:o}}}return{}}}},Zt=t=>({name:"arrow",options:t,async fn(e){const{x:o,y:r,placement:n,rects:a,platform:i,elements:s,middlewareData:l}=e,{element:c,padding:d=0}=Z(t,e)||{};if(null==c)return{};const p=st(d),u={x:o,y:r},h=nt(n),f=ot(h),m=await i.getDimensions(c),g="y"===h,w=g?"top":"left",b=g?"bottom":"right",y=g?"clientHeight":"clientWidth",v=a.reference[f]+a.reference[h]-u[h]-a.floating[f],x=u[h]-a.reference[h],_=await(null==i.getOffsetParent?void 0:i.getOffsetParent(c));let k=_?_[y]:0;k&&await(null==i.isElement?void 0:i.isElement(_))||(k=s.floating[y]||a.floating[f]);const E=v/2-x/2,T=k/2-m[f]/2-1,S=J(p[w],T),P=J(p[b],T),I=S,L=k-m[f]-P,M=k/2-m[f]/2+E,A=X(I,M,L),R=!l.arrow&&null!=tt(n)&&M!==A&&a.reference[f]/2-(M{e.current=t}),e}const re={mobile:["max-width: 448px"],tablet:["min-width: 449px","max-width: 1000px","max-height: 920px"]},ne="undefined"==typeof navigator?{languages:[],userAgent:"",userLanguage:""}:navigator;function ae(){const t=ne.userAgent,e=Boolean(t.match(/iPad/i))||Boolean(t.match(/iPhone/i)),o=Boolean(t.match(/WebKit/i));return e&&o&&!t.match(/CriOS/i)}function ie(){return Boolean("undefined"!=typeof IntersectionObserver&&IntersectionObserver)}function se(...t){return t.map(t=>"object"==typeof t&&"string"==typeof t?.value?t.value:t).filter(t=>"string"==typeof t).join(" ")}const le=new Set(["ar","bg","bg-BG","cs","da","de","el","en","es","fi","fr","he","hi","hr","hr-HR","hu","id","it","ja","ko","lt","lt-LT","ms","nb","nl","pl","pt-BR","pt-PT","ro","ro-RO","ru","sk","sk-SK","sl","sl-SI","sv","th","tr","ur","vi","zh-CN","zh-TW"]),ce={bg:"bg-BG",hr:"hr-HR",lt:"lt-LT",ro:"ro-RO",sk:"sk-SK",sl:"sl-SI"};function de(t){return le.has(t)}const pe=t({loading:void 0,locale:"en",translations:void 0}),ue=()=>e(pe),he=["string",void 0];function fe({className:t}){return s("svg",{className:t,xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 20 20",children:s("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 me=({className:t,headerTitle:e,headerLogo:o,onDismiss:r})=>{const{translate:n}=(()=>{const{locale:t,translations:e}=ue();return{locale:t,translate:(o,r)=>{const n=o.split(".");if(!e||!t)throw new ReferenceError;const{count:a,defaultValue:i,...c}=r||{};let d=e.get(t);if(!d&&r?.defaultValue)return r.defaultValue;try{for(const e of n)switch(typeof d){case"object":d=d[e];break;case"string":case"undefined":throw new ReferenceError}if(void 0===d)throw new ReferenceError;if("string"!=typeof e&&a){let t=1===a?"one":"other";0===a&&"string"!=typeof e&&"zero"in e&&(t="zero"),d=d[t]}if("string"!=typeof d)throw new ReferenceError;let t=!1;const o=Object.keys(c),r=d.split(new RegExp(`({${o.join("}|{")}})`,"g"));return o.forEach(e=>{t||he.includes(typeof c[e])||(t=!0),r.forEach((t,o)=>{t===`{${e}}`&&(r[o]=c[e])})}),t?s(l,{children:r}):r.join("")}catch(p){return i||o}}}})(),a=Boolean(e),i=a?"with-title":"default",c=se("flex w-full items-center p-4 pb-2",o?"justify-between":"justify-end",a&&"mb-5 gap-x-4 border-b border-solid border-grayscale-l2l px-5 pb-4",t);return s("div",{className:c,"data-testid":"authorize-modal-header","data-variant":i,children:[o,a&&s("h2",{className:"flex-1 font-sans text-body-large",children:e}),s("button",{"aria-label":n("button.close",{defaultValue:"Close"}),className:"group relative z-50 flex size-6 cursor-pointer rounded-max","data-testid":"authorize-modal-close-button",onClick:()=>r("close_button"),type:"button",children:[s(fe,{className:"size-6 text-grayscale-l5 transition-colors group-hover_text-grayscale-l2l"}),s("div",{className:"absolute inset-05 -z-10 rounded-max bg-grayscale-primary-light"})]})]})},ge='\n a[href],\n area[href],\n input:not([type="hidden"]):not([disabled]):not([tabindex="-1"]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]):not([tabindex="-1"]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls]',we=c(({as:t="div",children:e,disabled:o=!1,...n},a)=>{const i=r(null),c=r(null),p=r(null);d(()=>{o||i.current?.focus()},[o]);const u=t=>{const e=i.current;var r;e&&!o&&((t?(r=e,r.querySelector(ge)):function(t){const e=t.querySelectorAll(ge);return e[e.length-1]}(e))||e).focus()},h=o?-1:0,f="absolute -m-px h-px w-px overflow-hidden whitespace-nowrap p-0";return s(l,{children:[s("div",{className:f,ref:c,onFocus:()=>u(!1),tabIndex:h}),s(t,{...n,ref:t=>{i.current=t,"function"==typeof a?a(t):a&&(a.current=t)},tabIndex:-1,children:e}),s("div",{className:f,ref:p,onFocus:()=>u(!0),tabIndex:h})]})});var be='*,::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:GTStandard-M,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]){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:GTStandard-M,sans-serif}:host([data-nametag=shop-portal-provider]){all:initial!important}:host(shopify-payment-terms){font-family:inherit}.\\!container{width:100%!important}.container{width:100%}@media (min-width:768px){.\\!container{max-width:768px!important}.container{max-width:768px}}@media (min-width:1024px){.\\!container{max-width:1024px!important}.container{max-width:1024px}}@media (min-width:1280px){.\\!container{max-width:1280px!important}.container{max-width:1280px}}@media (min-width:1536px){.\\!container{max-width:1536px!important}.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}.collapse{visibility:collapse}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.inset-0{inset:0}.inset-05{inset:2px}.inset-x-0{left:0;right:0}.inset-y-0{bottom:0;top:0}.-top-px{top:-1px}.bottom-0{bottom:0}.bottom-8{bottom:32px}.bottom-\\[15\\%\\]{bottom:15%}.right-0{right:0}.top-visual-viewport{top:var(--shop-js-visual-viewport-height,100dvh)}.-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-max{z-index:2147483647}.-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-0\\.5{margin-bottom:.125rem;margin-top:.125rem}.my-4{margin-bottom:16px;margin-top:16px}.my-5{margin-bottom:20px;margin-top:20px}.my-7{margin-bottom:28px;margin-top:28px}.my-px{margin-bottom:1px;margin-top:1px}.-mt-px{margin-top:-1px}.mb-2{margin-bottom:8px}.mb-4{margin-bottom:16px}.mb-5{margin-bottom:20px}.mb-6{margin-bottom:24px}.mb-7{margin-bottom:28px}.ml-1{margin-left:4px}.ml-auto{margin-left:auto}.mr-2{margin-right:8px}.mr-20{margin-right:5rem}.mr-3{margin-right:12px}.mt-1{margin-top:4px}.mt-4{margin-top:16px}.mt-auto{margin-top:auto}.box-content{box-sizing:initial}.block{display:block}.inline-block{display:inline-block}.inline{display:inline}.flex{display:flex}.inline-flex{display:inline-flex}.table{display:table}.grid{display:grid}.hidden{display:none}.aspect-branded-button-icon{aspect-ratio:60/25}.aspect-shop-pay-icon{aspect-ratio:99/25}.size-5{height:20px;width:20px}.size-6{height:24px;width:24px}.size-7{height:28px;width:28px}.size-8{height:32px;width:32px}.size-full{height:100%;width:100%}.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-\\[22px\\]{height:22px}.h-auto{height:auto}.h-branded-button-icon{height:var(--font-paragraph--size,16px)}.h-px{height:1px}.max-h-7{max-height:28px}.max-h-8{max-height:32px}.max-h-full{max-height:100%}.min-h-\\[560px\\]{min-height:560px}.w-0{width:0}.w-1{width:4px}.w-16{width:64px}.w-2{width:8px}.w-20{width:5rem}.w-22{width:88px}.w-37{width:148px}.w-44{width:11rem}.w-55{width:220px}.w-6{width:24px}.w-85{width:340px}.w-9{width:36px}.w-\\[282px\\]{width:282px}.w-\\[34px\\]{width:34px}.w-\\[432px\\]{width:432px}.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-0{min-width:0}.min-w-100{min-width:400px}.min-w-85{min-width:340px}.max-w-100{max-width:400px}.max-w-85{max-width:340px}.max-w-\\[40\\%\\]{max-width:40%}.max-w-full{max-width:100%}.flex-1{flex:1 1 0%}.flex-initial{flex:0 1 auto}.flex-none{flex:none}.flex-shrink-0,.shrink-0{flex-shrink:0}.flex-grow{flex-grow:1}.border-collapse{border-collapse:collapse}.translate-x-0{--tw-translate-x:0px}.translate-x-0,.translate-y-0{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-0{--tw-translate-y:0px}.translate-y-94{--tw-translate-y:376px}.translate-y-94,.translate-y-\\[9\\.375\\%\\]{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-\\[9\\.375\\%\\]{--tw-translate-y:9.375%}.rotate-45{--tw-rotate:45deg}.rotate-45,.scale-0{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-0{--tw-scale-x:0;--tw-scale-y:0}.scale-100{--tw-scale-x:1;--tw-scale-y:1}.scale-100,.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 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 modalShake{0%,to{translate:0}20%{translate:-8px 0}40%{translate:8px 0}60%{translate:-6px 0}80%{translate:6px 0}}.animate-modal-shake{animation:modalShake .3s cubic-bezier(.32,.72,0,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 spin{to{transform:rotate(1turn)}}.animate-spin{animation:spin 1.3s linear infinite}.cursor-pointer{cursor:pointer}.select-none{-webkit-user-select:none;user-select:none}.resize{resize:both}.list-none{list-style-type:none}.appearance-none{appearance:none}.grid-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.flex-row{flex-direction:row}.flex-col{flex-direction:column}.flex-nowrap{flex-wrap:nowrap}.items-center{align-items:center}.items-baseline{align-items:baseline}.justify-start{justify-content:flex-start}.justify-end{justify-content:flex-end}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.gap-1{gap:4px}.gap-2{gap:8px}.gap-3{gap:12px}.gap-4{gap:16px}.gap-text-icon{gap:.25em}.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-3>:not([hidden])~:not([hidden]){--tw-space-y-reverse:0;margin-bottom:calc(12px*var(--tw-space-y-reverse));margin-top:calc(12px*(1 - var(--tw-space-y-reverse)))}.self-center{align-self:center}.overflow-hidden{overflow:hidden}.overflow-visible{overflow:visible}.overflow-y-auto{overflow-y:auto}.truncate{overflow:hidden;white-space:nowrap}.text-ellipsis,.truncate{text-overflow:ellipsis}.whitespace-nowrap{white-space:nowrap}.whitespace-pre-line{white-space:pre-line}.rounded-login-button{border-radius:var(--buttons-radius,var(--x-primary-button-border-radius,var(--shop-pay-button-border-radius,12px)))}.rounded-login-card{border-radius:min(var(--x-border-radius-large,12px),24px)}.rounded-max{border-radius:999px}.rounded-md{border-radius:12px}.rounded-sm{border-radius:8px}.rounded-sm100{border-radius:10px}.rounded-xs{border-radius:4px}.rounded-xxl{border-radius:28px}.border{border-width:1px}.border-0{border-width:0}.border-\\[0\\.5px\\]{border-width:.5px}.border-b{border-bottom-width:1px}.border-t{border-top-width:1px}.\\!border-solid{border-style:solid!important}.border-solid{border-style:solid}.border-none{border-style:none}.\\!border-black{--tw-border-opacity:1!important;border-color:rgb(0 0 0/var(--tw-border-opacity))!important}.\\!border-grayscale-l2{--tw-border-opacity:1!important;border-color:rgb(203 203 202/var(--tw-border-opacity))!important}.border-checkout-branded{border-color:var(--x-textfield-border-color,#00000014)}.border-checkout-branded-dark{border-color:#ffffff14}.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))}.border-white\\/20{border-color:#fff3}.\\!bg-black{--tw-bg-opacity:1!important;background-color:rgb(0 0 0/var(--tw-bg-opacity))!important}.bg-core-idp-social-logins{background-color:var(--x-social-color-background,#fff)}.bg-grayscale-l2{--tw-bg-opacity:1;background-color:rgb(203 203 202/var(--tw-bg-opacity))}.bg-grayscale-l2l{--tw-bg-opacity:1;background-color:rgb(227 227 227/var(--tw-bg-opacity))}.bg-grayscale-l3{--tw-bg-opacity:1;background-color:rgb(240 240 240/var(--tw-bg-opacity))}.bg-grayscale-l5{--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-opacity-5{--tw-bg-opacity:0.05}.bg-gradient-to-r{background-image:linear-gradient(to right,var(--tw-gradient-stops))}.bg-none{background-image:none}.from-transparent{--tw-gradient-from:#0000 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-white{--tw-gradient-to:#fff var(--tw-gradient-to-position)}.fill-purple-primary{fill:#5433eb}.stroke-white{stroke:#fff}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-1{padding:4px}.p-3{padding:12px}.p-4{padding:16px}.p-5{padding:20px}.p-6{padding:24px}.p-8{padding:32px}.p-shop-button{padding:max(var(--button-padding-block,16px),8px) max(var(--button-padding-inline,44px),16px)}.p-shop-login{padding:var(--x-spacing-base,14px)}.px-0{padding-left:0;padding-right:0}.px-2{padding-left:8px;padding-right:8px}.px-2-5{padding-left:10px;padding-right:10px}.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-1-5{padding-bottom:6px;padding-top:6px}.py-2{padding-bottom:8px;padding-top:8px}.py-2-5{padding-bottom:10px;padding-top:10px}.py-3{padding-bottom:12px;padding-top:12px}.py-5{padding-bottom:20px;padding-top:20px}.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}.pl-1-5{padding-left:6px}.pr-2{padding-right:8px}.pr-3{padding-right:12px}.pr-4-5{padding-right:18px}.pt-0{padding-top:0}.pt-16{padding-top:64px}.pt-3{padding-top:12px}.pt-4{padding-top:16px}.text-center{text-align:center}.align-baseline{vertical-align:initial}.align-middle{vertical-align:middle}.font-inherit{font-family:inherit}.font-sans{font-family:GTStandard-M,sans-serif}.text-body-large{font-size:16px;font-weight:450;letter-spacing:-.5px;line-height:22px}.text-body-small{font-weight:450}.text-body-small,.text-body-title-small{font-size:14px;letter-spacing:-.2px;line-height:18px}.text-body-title-small{font-weight:500}.text-branded-button{font-size:var(--font-paragraph--size,16px);font-weight:500;letter-spacing:-.5px;line-height:var(--font-paragraph--line-height,22px)}.text-button-large{font-size:16px;font-weight:600;letter-spacing:-.5px;line-height:22px}.text-button-medium{font-size:14px;font-weight:600;letter-spacing:-.2px;line-height:18px}.text-caption{font-size:12px;font-weight:450;letter-spacing:-.2px;line-height:16px}.text-subtitle{font-size:18px;font-weight:500;letter-spacing:-1px;line-height:20px}.font-bold{font-weight:700}.font-light{font-weight:300}.font-normal{font-weight:400}.font-semibold{font-weight:600}.capitalize{text-transform:capitalize}.leading-6{line-height:1.5rem}.leading-normal{line-height:1.5}.leading-snug{line-height:1.375}.tracking-wider{letter-spacing:.05em}.\\!text-\\[\\#757575\\]{--tw-text-opacity:1!important;color:rgb(117 117 117/var(--tw-text-opacity))!important}.\\!text-black{--tw-text-opacity:1!important;color:rgb(0 0 0/var(--tw-text-opacity))!important}.\\!text-purple-primary{--tw-text-opacity:1!important;color:rgb(84 51 235/var(--tw-text-opacity))!important}.text-black{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.text-current{color:currentColor}.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{--tw-text-opacity:1;color:rgb(18 18 18/var(--tw-text-opacity))}.text-grayscale-d2\\/70{color:#121212b3}.text-grayscale-l1{--tw-text-opacity:1;color:rgb(168 168 167/var(--tw-text-opacity))}.text-grayscale-l5{--tw-text-opacity:1;color:rgb(242 244 245/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-card{--tw-shadow:0 4px 12px #0000000a;--tw-shadow-colored:0 4px 12px var(--tw-shadow-color)}.shadow-card,.shadow-lg{box-shadow:var(--tw-ring-offset-shadow,0 0 #0000),var(--tw-ring-shadow,0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow:0px 8px 30px 0px #0006;--tw-shadow-colored:0px 8px 30px 0px var(--tw-shadow-color)}.shadow-sm{--tw-shadow:0px 1px 4px 0px #0000001a;--tw-shadow-colored:0px 1px 4px 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)}.ring-1{--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(1px + 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)}.ring-inset{--tw-ring-inset:inset}.ring-black\\/5{--tw-ring-color:#0000000d}.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)}.backdrop-blur-xl{--tw-backdrop-blur:blur(24px);backdrop-filter:var(--tw-backdrop-blur) var(--tw-backdrop-brightness) var(--tw-backdrop-contrast) var(--tw-backdrop-grayscale) var(--tw-backdrop-hue-rotate) var(--tw-backdrop-invert) var(--tw-backdrop-opacity) var(--tw-backdrop-saturate) var(--tw-backdrop-sepia)}.transition{transition-duration:.15s;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,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-300{transition-duration:.3s}.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)}.ease-out{transition-timing-function:cubic-bezier(0,0,.2,1)}.will-change-transform{will-change:transform}.forced-color-adjust-none{forced-color-adjust:none}.stroke-dasharray-reveal{stroke-dasharray:136}.stroke-dashoffset-reveal{stroke-dashoffset:136}.first_pt-0:first-child{padding-top:0}.last_mb-0:last-child{margin-bottom: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-d0:hover{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity))}.hover_opacity-70:hover{opacity:.7}.hover_opacity-80:hover{opacity:.8}.hover_outline-none:hover{outline:2px solid #0000;outline-offset:2px}.focus_text-black:focus{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.focus_text-grayscale-d0:focus{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity))}.focus_opacity-70:focus{opacity:.7}.focus_outline-none:focus{outline:2px solid #0000;outline-offset:2px}.focus_outline-0:focus{outline-width:0}.focus_ring:focus{--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_ring-purple-l1:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(156 131 248/var(--tw-ring-opacity))}.focus-visible_outline-none:focus-visible{outline:2px solid #0000;outline-offset:2px}.focus-visible_ring: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_ring-purple-l1:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(156 131 248/var(--tw-ring-opacity))}.active_text-black:active{--tw-text-opacity:1;color:rgb(0 0 0/var(--tw-text-opacity))}.active_text-grayscale-d0:active{--tw-text-opacity:1;color:rgb(102 102 102/var(--tw-text-opacity))}.active_opacity-70:active{opacity:.7}.active_outline-none:active{outline:2px solid #0000;outline-offset:2px}.hover_enabled_\\!bg-grayscale-d2d:enabled:hover{--tw-bg-opacity:1!important;background-color:rgb(42 42 42/var(--tw-bg-opacity))!important}.hover_enabled_\\!bg-grayscale-l3:enabled:hover{--tw-bg-opacity:1!important;background-color:rgb(240 240 240/var(--tw-bg-opacity))!important}.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_enabled_outline-none:enabled:focus{outline:2px solid #0000;outline-offset:2px}.focus_enabled_ring:enabled:focus{--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_enabled_\\!ring-grayscale-l1:enabled:focus{--tw-ring-opacity:1!important;--tw-ring-color:rgb(168 168 167/var(--tw-ring-opacity))!important}.focus_enabled_ring-purple-l1:enabled:focus{--tw-ring-opacity:1;--tw-ring-color:rgb(156 131 248/var(--tw-ring-opacity))}.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-grayscale-l1:enabled:focus-visible{--tw-ring-opacity:1!important;--tw-ring-color:rgb(168 168 167/var(--tw-ring-opacity))!important}.focus-visible_enabled_ring-purple-l1:enabled:focus-visible{--tw-ring-opacity:1;--tw-ring-color:rgb(156 131 248/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))}.data-hidden_invisible[data-visible=false]{visibility:hidden}.data-hidden_absolute[data-visible=false]{position:absolute}.data-hidden_inset-0[data-visible=false]{inset:0}.data-hidden_hidden[data-visible=false]{display:none}.data-hidden_opacity-0[data-visible=false]{opacity:0}.group[data-visible=false] .group-data-hidden_translate-x-full{--tw-translate-x: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))}.group[data-visible=false] .group-data-hidden_animate-none{animation:none}.group[data-visible=false] .group-data-hidden_opacity-0{opacity:0}@media (prefers-reduced-motion:reduce){.motion-reduce_animate-none{animation:none}.motion-reduce_transition-none{transition-property:none}.motion-reduce_transition-opacity{transition-duration:.15s;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.motion-reduce_duration-0{transition-duration:0s}}@media (max-width:448px){.sm_absolute{position:absolute}.sm_inset-x-0{left:0;right:0}.sm_bottom-0{bottom:0}.sm_top-auto{top:auto}.sm_block{display:block}.sm_hidden{display:none}.sm_h-visual-viewport-height{height:var(--shop-js-visual-viewport-height,100dvh)}.sm_max-w-none{max-width: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-none{border-radius:0}.sm_rounded-b-none{border-bottom-left-radius:0;border-bottom-right-radius:0}}';function ye(){return"undefined"!=typeof ShadowRoot&&"undefined"!=typeof CSSStyleSheet&&"adoptedStyleSheets"in ShadowRoot.prototype&&"replaceSync"in CSSStyleSheet.prototype}function ve(){return ye()?null:s("style",{children:be})}function xe({children:t,instanceId:e,type:o,variant:n}){const i=r(null),[c,u]=a(null),{notify:h}=O(),f=ye();return d(()=>{u(i.current.attachShadow({mode:"open"}))},[]),d(()=>{if(c&&f){const t=new CSSStyleSheet;t.replace(be).then(()=>{c.adoptedStyleSheets=[t]}).catch(t=>{h(new Error(`Failed to adopt stylesheets for portal provider: ${t}`))})}},[f,h,c]),s("div",{"data-nametag":"shop-portal-provider","data-portal-instance-id":e,"data-type":o,"data-variant":n,ref:i,children:c&&p(s(l,{children:[s(ve,{}),t]}),c)})}const _e=["right","left","bottom","top"],ke=({anchorTo:t,children:e,dismissable:l=!0,headerLogo:c,headerTitle:d,hideHeader:u=!1,disableMinWidth:h=!1,key:f,modalTitle:m="Sign in with Shop",onDismiss:g,onModalInViewport:w,popupDisabled:b,type:y,variant:v,visible:x})=>{const{dispatch:_,modalDismissible:k}=R(),E=r(null),[T,S]=a(null),[P,I]=a(0),L=r(null),M=r(null),A=r(null),[j,z]=a(!1),[O,V]=a(null),{instanceId:N}=F(),{isDesktop:B,isMobile:H}=function(){const t=re.mobile.every(t=>C.matchMedia(`(${t})`).matches),e=!t&&re.tablet.every(t=>C.matchMedia(`(${t})`).matches);return{isMobile:t,isTablet:e,isDesktop:!t&&!e}}(),U=r(null),{floatingStyles:J,middlewareData:$,refs:q,update:W}=function(t={}){const{placement:e="bottom",strategy:s="absolute",middleware:l=[],platform:c,elements:{reference:d,floating:p}={},transform:u=!0,whileElementsMounted:h,open:f}=t,[m,g]=a({x:0,y:0,strategy:s,placement:e,middlewareData:{},isPositioned:!1}),[w,b]=a(