(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,318849,e=>{"use strict";let t=!1,a="upsx-recent-purchase-at";e.s(["SWR_CACHE_LEGACY_STORAGE_KEY",0,"app-cache","SWR_CACHE_STORAGE_KEY",0,"wxu-swr-cache-v1","disableSwrPersist",0,()=>{t=!0},"hasRecentPurchase",0,e=>{try{let t=localStorage.getItem(a);if(!t)return!1;let r=Number(t);if(!Number.isFinite(r))return!1;return Date.now()-rt,"markRecentPurchase",0,()=>{try{localStorage.setItem(a,String(Date.now()))}catch{}}])},45846,e=>{"use strict";let t=new(e.i(245943)).UPSXClient({baseUrl:"https://upsx.weather.com"});e.s(["upsxClient",0,t])},491045,e=>{"use strict";var t=e.i(284007);let a=(0,t.createJSONStorage)(()=>sessionStorage),r=(0,t.atomWithStorage)("wx-purchase-source-attribution",null,a);e.s(["purchaseSourceAttributionAtom",0,r])},806262,e=>{"use strict";e.i(592121);var t=e.i(546446);e.i(284007),e.i(981030);let a=new WeakMap;e.s(["useHydrateAtoms",0,function(e,r){var l;let n,o=(0,t.useStore)(r),i=(l=o,(n=a.get(l))||(n=new WeakSet,a.set(l,n)),n);for(let[t,...a]of e)(!i.has(t)||(null==r?void 0:r.dangerouslyForceHydrate))&&(i.add(t),o.set(t,...a))}])},604323,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["metricsArticleDataAtom",0,t])},513539,e=>{"use strict";var t=e.i(981030);let a=(0,t.atom)(null),r=(0,t.atom)(null);e.s(["activeEventAtom",0,r,"layoutStateAtom",0,a])},185312,(e,t,a)=>{t.exports=e.r(16129)},609858,674339,e=>{"use strict";var t=e.i(546446),a=e.i(592121);let r=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,r],674339),e.s(["useDebugSystem",0,function(){let[e,l]=(0,t.useAtom)(r),n=(0,a.useCallback)((e,t)=>{l(a=>{let r=a?.[e]||{},l="object"==typeof t&&null!==t&&"object"==typeof r?{...r,...t}:t;return{...a,[e]:l}})},[l]),o=(0,a.useCallback)((e,t)=>{l(a=>{let r=a||{timestamp:new Date().toISOString()},l=r.components||{};if(null===t){let t={...l};return delete t[e],{...r,components:t}}return{...r,components:{...l,[e]:t}}})},[l]),i=(0,a.useCallback)(e=>{n("page",e)},[n]),s=(0,a.useCallback)(e=>{n("route",e)},[n]),c=(0,a.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&n(e,t)})},[n]);return{debugData:e,updateSection:n,updateComponentData:o,setPageData:i,clearAllDebugData:(0,a.useCallback)(()=>{l({timestamp:new Date().toISOString()})},[l]),updateRouteInfo:s,updatePageDebug:c}}],609858)},491240,e=>{"use strict";let t=(0,e.i(695881).createLogger)("MParticleIdentity");e.s(["truncateIdentityValue",0,e=>"string"==typeof e&&e.length>256?(t.warn(`identity value exceeded 256 chars (${e.length}); truncating`),e.slice(0,256)):e])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},991511,e=>{"use strict";var t=e.i(592121),a=e.i(806262),r=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,a.useHydrateAtoms)(e);let l=(0,r.useStore)(),n=(0,t.useRef)(e);n.current=e,(0,t.useEffect)(()=>{for(let[e,t]of n.current)l.get(e)!==t&&l.set(e,t)})}])},752496,e=>{"use strict";var t=e.i(592121),a=e.i(609858);let r=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:l,page:n,onUpdateData:o,onSetPageData:i}){let{updateComponentData:s,setPageData:c}=(0,a.useDebugSystem)(),u=(0,t.useRef)(!1),d=o||s,x=i||c;return(0,t.useEffect)(()=>{if(l)return r.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(l),hasPerformance:!!l.performance,hasContext:!!l.context}),d(e,{...l,_collectedAt:new Date().toISOString()}),()=>{r.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,l,d]),(0,t.useEffect)(()=>{n&&!u.current&&(r.lifecycle("Setting page metadata",{title:n.title,assetName:n.assetName,collection:n.collection}),x({...n,_updatedAt:new Date().toISOString()}),u.current=!0)},[n,x]),null}])},367810,396817,634177,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(543836),l=e.i(271359),n=e.i(855128),o=e.i(296994),i=e.i(803976),s=e.i(698900),c=e.i(546504),u=e.i(778469),d=e.i(312610),x=e.i(942928),f=e.i(235453),g=e.i(714035),p=e.i(621790),m=e.i(73772),v=e.i(982538),h=Object.defineProperty,y=(e,t)=>h(e,"name",{value:t,configurable:!0}),b="Dialog",[C,w]=(0,n.createContextScope)(b),[S,D]=C(b),j=y(e=>{let{__scopeDialog:r,children:l,open:n,defaultOpen:s,onOpenChange:c,modal:u=!0}=e,d=a.useRef(null),x=a.useRef(null),[f,g]=(0,i.useControllableState)({prop:n,defaultProp:s??!1,onChange:c,caller:b}),[p,m]=a.useState(0),[v,h]=a.useState(0);return(0,t.jsx)(S,{scope:r,triggerRef:d,contentRef:x,contentId:(0,o.useId)(),titleId:(0,o.useId)(),descriptionId:(0,o.useId)(),titlePresent:p>0,descriptionPresent:v>0,setTitleCount:m,setDescriptionCount:h,open:f,onOpenChange:g,onOpenToggle:a.useCallback(()=>g(e=>!e),[g]),modal:u,children:l})},"Dialog"),R=a.forwardRef(y(function(e,a){let{__scopeDialog:n,...o}=e,i=D("DialogTrigger",n),s=(0,l.useComposedRefs)(a,i.triggerRef);return(0,t.jsx)(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":i.open,"aria-controls":i.open?i.contentId:void 0,"data-state":H(i.open),...o,ref:s,onClick:(0,r.composeEventHandlers)(e.onClick,i.onOpenToggle)})},"DialogTrigger")),E="DialogPortal",[k,A]=C(E,{forceMount:void 0}),B=y(e=>{let{__scopeDialog:r,forceMount:l,children:n,container:o}=e,i=D(E,r);return(0,t.jsx)(k,{scope:r,forceMount:l,children:a.Children.map(n,e=>(0,t.jsx)(d.Presence,{present:l||i.open,children:(0,t.jsx)(u.Portal,{asChild:!0,container:o,children:e})}))})},"DialogPortal"),P="DialogOverlay",O=a.forwardRef(y(function(e,a){let r=A(P,e.__scopeDialog),{forceMount:l=r.forceMount,...n}=e,o=D(P,e.__scopeDialog);return o.modal?(0,t.jsx)(d.Presence,{present:l||o.open,children:(0,t.jsx)(N,{...n,ref:a})}):null},"DialogOverlay")),L=(0,v.createSlot)("DialogOverlay.RemoveScroll"),N=a.forwardRef(y(function(e,a){let{__scopeDialog:r,...n}=e,o=D(P,r),i=(0,s.useDismissableLayerSurface)(),c=(0,l.useComposedRefs)(a,i);return(0,t.jsx)(p.RemoveScroll,{as:L,allowPinchZoom:!0,shards:[o.contentRef],children:(0,t.jsx)(x.Primitive.div,{"data-state":H(o.open),...n,ref:c,style:{pointerEvents:"auto",...n.style}})})},"DialogOverlayImpl")),T="DialogContent",I=a.forwardRef(y(function(e,a){let r=A(T,e.__scopeDialog),{forceMount:l=r.forceMount,...n}=e,o=D(T,e.__scopeDialog);return(0,t.jsx)(d.Presence,{present:l||o.open,children:o.modal?(0,t.jsx)(_,{...n,ref:a}):(0,t.jsx)(M,{...n,ref:a})})},"DialogContent")),_=a.forwardRef(y(function(e,n){let o=D(T,e.__scopeDialog),i=a.useRef(null),s=(0,l.useComposedRefs)(n,o.contentRef,i);return a.useEffect(()=>{let e=i.current;if(e)return(0,m.hideOthers)(e)},[]),(0,t.jsx)(F,{...e,ref:s,trapFocus:o.open,disableOutsidePointerEvents:o.open,onCloseAutoFocus:(0,r.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),o.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,a=0===t.button&&!0===t.ctrlKey;(2===t.button||a)&&e.preventDefault()}),onFocusOutside:(0,r.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),M=a.forwardRef(y(function(e,r){let l=D(T,e.__scopeDialog),n=a.useRef(!1),o=a.useRef(!1);return(0,t.jsx)(F,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||l.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,o.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(o.current=!0));let a=t.target;l.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&o.current&&t.preventDefault()}})},"DialogContentNonModal")),F=a.forwardRef(y(function(e,a){let{__scopeDialog:r,trapFocus:l,onOpenAutoFocus:n,onCloseAutoFocus:o,...i}=e,u=D(T,r);return(0,f.useFocusGuards)(),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:l,onMountAutoFocus:n,onUnmountAutoFocus:o,children:(0,t.jsx)(s.DismissableLayer,{role:"dialog",id:u.contentId,"aria-describedby":u.descriptionPresent?u.descriptionId:void 0,"aria-labelledby":u.titlePresent?u.titleId:void 0,"data-state":H(u.open),...i,ref:a,deferPointerDownOutside:!0,onDismiss:()=>u.onOpenChange(!1)})})})},"DialogContentImpl")),V=a.forwardRef(y(function(e,a){let{__scopeDialog:r,...l}=e,n=D("DialogTitle",r),{setTitleCount:o}=n;return(0,g.useLayoutEffect)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,t.jsx)(x.Primitive.h2,{id:n.titleId,...l,ref:a})},"DialogTitle")),U=a.forwardRef(y(function(e,a){let{__scopeDialog:r,...l}=e,n=D("DialogDescription",r),{setDescriptionCount:o}=n;return(0,g.useLayoutEffect)(()=>(o(e=>e+1),()=>o(e=>e-1)),[o]),(0,t.jsx)(x.Primitive.p,{id:n.descriptionId,...l,ref:a})},"DialogDescription")),z=a.forwardRef(y(function(e,a){let{__scopeDialog:l,...n}=e,o=D("DialogClose",l);return(0,t.jsx)(x.Primitive.button,{type:"button",...n,ref:a,onClick:(0,r.composeEventHandlers)(e.onClick,()=>o.onOpenChange(!1))})},"DialogClose"));function H(e){return e?"open":"closed"}y(H,"getState"),e.s(["Close",0,z,"Content",0,I,"Description",0,U,"Overlay",0,O,"Portal",0,B,"Root",0,j,"Title",0,V,"Trigger",0,R],396817);var $=e.i(226602),W=e.i(632137),X=e.i(877957),G=e.i(294237);e.i(368847);let K=(0,G.cva)("",{variants:{type:{overlay:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-overlay bg-black/50",content:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed left-[50%] top-[50%] z-overlay w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-white shadow-lg duration-200 sm:max-w-md p-6",header:"mb-4 text-center",footer:"mt-6 flex flex-col-reverse gap-2 text-center"}},defaultVariants:{type:"content"}});function Y({...e}){return(0,t.jsx)(B,{"data-slot":"dialog-portal",...e})}function Z({className:e,...a}){return(0,t.jsx)(O,{"data-slot":"dialog-overlay",className:(0,W.cn)(K({type:"overlay"}),e),...a})}function q({className:e,overlayClassName:a,children:r,showCloseButton:l=!0,...n}){return(0,t.jsxs)(Y,{"data-slot":"dialog-portal",children:[(0,t.jsx)(Z,{className:a}),(0,t.jsxs)(I,{"data-slot":"dialog-content",className:(0,W.cn)(K({type:"content"}),e),...n,children:[r,l&&(0,t.jsxs)(z,{className:"absolute top-4 right-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,t.jsx)($.Close,{className:"h-5 w-5 text-black"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function J({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,W.cn)(K({type:"header"}),e),...a})}function Q({className:e,children:a,...r}){return(0,t.jsx)(V,{"data-slot":"dialog-title",className:(0,W.cn)("pt-4 text-center",e),...r,children:a})}function ee({className:e,children:a,...r}){return(0,t.jsx)(U,{"data-slot":"dialog-description",className:(0,W.cn)("pb-4 text-center",e),...r,children:a})}function et({primary:e,secondary:a,className:r}){return(0,t.jsxs)("div",{className:(0,W.cn)("flex flex-col-reverse gap-3",r),children:[a&&(0,t.jsx)(X.Button,{variant:"secondary",onClick:a.onClick,className:"w-full",children:a.label}),e&&(0,t.jsx)(X.Button,{variant:"default",onClick:e.onClick,className:"w-full",children:e.label})]})}e.s(["dialogStyles",0,K],634177),e.s(["BasicDialog",0,function({title:e,description:a,primaryAction:r,secondaryAction:l,showCloseButton:n=!0,className:o,children:i,...s}){return(0,t.jsxs)(q,{showCloseButton:n,className:(0,W.cn)("p-6",o),...s,children:[(0,t.jsx)(J,{children:(0,t.jsx)(Q,{children:e})}),(0,t.jsx)(ee,{children:a}),i,(r||l)&&(0,t.jsx)(et,{primary:r,secondary:l})]})},"Dialog",0,function({...e}){return(0,t.jsx)(j,{"data-slot":"dialog",...e})},"DialogClose",0,function({...e}){return(0,t.jsx)(z,{"data-slot":"dialog-close",...e})},"DialogContent",0,q,"DialogDescription",0,ee,"DialogFooter",0,function({className:e,...a}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,W.cn)(K({type:"footer"}),e),...a})},"DialogHeader",0,J,"DialogOverlay",0,Z,"DialogPortal",0,Y,"DialogTitle",0,Q,"DialogTrigger",0,function({...e}){return(0,t.jsx)(R,{"data-slot":"dialog-trigger",...e})}],367810)},294237,e=>{"use strict";var t=e.i(7284);let a=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,r=t.clsx;e.s(["cva",0,(e,t)=>l=>{var n;if((null==t?void 0:t.variants)==null)return r(e,null==l?void 0:l.class,null==l?void 0:l.className);let{variants:o,defaultVariants:i}=t,s=Object.keys(o).map(e=>{let t=null==l?void 0:l[e],r=null==i?void 0:i[e];if(null===t)return null;let n=a(t)||a(r);return o[e][n]}),c=l&&Object.entries(l).reduce((e,t)=>{let[a,r]=t;return void 0===r||(e[a]=r),e},{});return r(e,s,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:a,className:r,...l}=t;return Object.entries(l).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...i,...c}[t]):({...i,...c})[t]===a})?[...e,a,r]:e},[]),null==l?void 0:l.class,null==l?void 0:l.className)}])},747961,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(294237),l=e.i(789876);let n=(0,r.cva)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),o=a.default.forwardRef(({icon:e,size:a,color:r,title:o,desc:i,className:s,ariaHidden:c,...u},d)=>(0,t.jsx)(e,{ref:d,className:(0,l.cn)(n({size:a,color:r}),s),title:o,desc:i,...c&&{"aria-hidden":c},...u}));o.displayName="BaseIcon",e.s(["BaseIcon",0,o])},632137,e=>{"use strict";var t=e.i(7284);let a=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return a((0,t.clsx)(e))}])},683903,e=>{"use strict";var t=e.i(730921);function a(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let r=a(0,t.useTranslations),l=a(0,t.useFormatter);e.s(["useFormatter",0,l,"useTranslations",0,r])},368847,341669,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(294237),l=e.i(632137);let n=({skeletonClassName:e,elementType:a="span"})=>(0,t.jsx)(a,{className:(0,l.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,n],341669);let o={0:"No Clamp",1:"1 Line",2:"2 Lines",3:"3 Lines",4:"4 Lines",5:"5 Lines"};[0,1,2,3,4,5].map(e=>({label:o[e],value:String(e)}));let i=a.default.forwardRef(({className:e,isLoading:a,skeletonClassName:r,variant:o,elementType:i,lineClamp:c,color:u,responsive:d,children:x,...f},g)=>{if(a)return(0,t.jsx)(n,{skeletonClassName:r||""});let p=i||function({variant:e}){switch(e){case"Display.XL":case"Display.L":case"Title.XL":return"h1";case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:o}),m=(0,t.jsx)(p,{className:(0,l.cn)(s({variant:o,color:u,lineClamp:c,responsive:d}),e),ref:g,...f,children:x});return d?(0,t.jsx)("div",{className:"@container/text",children:m}):m});i.displayName="Text";let s=(0,r.cva)("",{variants:{variant:{"Display.XL":["text-6xl","leading-relaxed","tracking-tighter"],"Display.L":["text-5xl","leading-normal","tracking-tighter","font-medium"],"Display.M":["text-4xl","leading-tight","tracking-tight","font-medium"],"Display.S":["text-xl","leading-relaxed","tracking-tight","font-medium"],"Title.XL":["text-4xl","leading-snug","tracking-tight","font-extrabold"],"Title.L":["text-3xl","leading-normal","tracking-tight","font-extrabold"],"Title.M":["text-2xl","leading-normal","tracking-tight","font-extrabold"],"Title.S":["text-xl","leading-normal","tracking-tight","font-bold"],"Title.XS":["text-base","leading-relaxed","tracking-tight","font-bold"],"Body.L":["text-lg","leading-loose","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-loose","tracking-normal","font-bold"],"Body.L.ExtraBold":["text-lg","leading-loose","tracking-normal","font-extrabold"],"Body.M":["text-base","leading-loose","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-loose","tracking-tight","font-bold"],"Body.M.ExtraBold":["text-base","leading-loose","tracking-tight","font-extrabold"],"Body.S":["text-sm","leading-loose","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-loose","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.M.Bold":["text-xs","leading-normal","tracking-normal","font-bold"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"],"Caption.S.Bold":["text-xxs","leading-loose","tracking-normal","font-bold"]},responsive:{true:"",false:""},color:{primary:"text-gray-900",secondary:"text-gray-500",default:"text-gray-900",disabled:"text-gray-400",placeholder:"text-gray-600",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white",error:"text-[var(--color-alert-severe)]"},lineClamp:{0:"",1:"line-clamp-1 pb-0.5",2:"line-clamp-2 pb-0.5",3:"line-clamp-3 pb-0.5",4:"line-clamp-4 pb-0.5",5:"line-clamp-5 pb-0.5"}},compoundVariants:[{variant:"Display.XL",responsive:!0,class:"text-4xl @sm/text:text-5xl @lg/text:text-6xl"},{variant:"Display.L",responsive:!0,class:"text-2xl @sm/text:text-4xl @lg/text:text-5xl"},{variant:"Display.M",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-4xl"},{variant:"Display.S",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.XL",responsive:!0,class:"text-2xl @sm/text:text-3xl @lg/text:text-4xl"},{variant:"Title.L",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-3xl"},{variant:"Title.M",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.S",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Title.XS",responsive:!0,class:"text-sm @sm/text:text-base"},{variant:"Body.L",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.Bold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.ExtraBold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.M",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.Bold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.ExtraBold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.S",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Body.S.Bold",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Caption.M",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.M.Bold",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.S",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"},{variant:"Caption.S.Bold",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"}],defaultVariants:{variant:"Body.M",color:"default",responsive:!1}});e.s(["Text",0,i,"default",0,i,"textVariants",0,s],368847)},982538,e=>{"use strict";var t=e.i(592121);function a(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function r(e){let r=t.forwardRef((r,l)=>{var i;let x,f,{children:g,...p}=r,m=null,v=!1,h=[];s(g)&&"function"==typeof d&&(g=d(g._payload)),t.Children.forEach(g,e=>{var a;if(a=e,t.isValidElement(a)&&"function"==typeof a.type&&"__radixId"in a.type&&a.type.__radixId===n){v=!0;let t="child"in e.props?e.props.child:e.props.children;s(t)&&"function"==typeof d&&(t=d(t._payload)),m=o(e,t),h.push(m?.props?.children)}else h.push(e)}),m?m=t.cloneElement(m,void 0,h):!v&&1===t.Children.count(g)&&t.isValidElement(g)&&(m=g);let y=m?(i=m,(f=(x=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?i.ref:(f=(x=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?i.props.ref:i.props.ref||i.ref):void 0,b=function(...e){return t.useCallback(function(...e){return t=>{let r=!1,l=e.map(e=>{let l=a(e,t);return r||"function"!=typeof l||(r=!0),l});if(r)return()=>{for(let t=0;t{let t=n(...e);return l(...e),t}:l&&(a[r]=l):"style"===r?a[r]={...l,...n}:"className"===r&&(a[r]=[l,n].filter(Boolean).join(" "))}return{...e,...a}}(p,m.props??{});return m.type!==t.Fragment&&(C.ref=l?b:y),t.cloneElement(m,C)});return r.displayName=`${e}.Slot`,r}var l=r("Slot"),n=Symbol.for("radix.slottable"),o=(e,a)=>{if("child"in e.props){let a=e.props.child;return t.isValidElement(a)?t.cloneElement(a,void 0,e.props.children(a.props.children)):null}return t.isValidElement(a)?a:null},i=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===i&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var c=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,u=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,d=t[" use ".trim().toString()];e.s(["Slot",0,l,"createSlot",0,r,"createSlottable",0,function(e){let t=e=>"child"in e?e.children(e.child):e.children;return t.displayName=`${e}.Slottable`,t.__radixId=n,t}],982538)},877957,564993,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(982538),l=e.i(294237),n=e.i(632137),o=e.i(747961);let i=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":a,"aria-describedby":l,...n,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.65 2.926A5.335 5.335 0 1 0 13.335 8a.665.665 0 0 1 1.33 0 6.665 6.665 0 1 1-4.606-6.34.665.665 0 1 1-.41 1.266",clipRule:"evenodd"})]})),s=a.default.forwardRef((e,a)=>(0,t.jsx)(o.BaseIcon,{ref:a,icon:i,...e}));s.displayName="LoaderCircle",e.s(["LoaderCircle",0,s],564993);let c=(0,l.cva)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-brand-400 text-primary-foreground hover:bg-[#252C3F] active:bg-[#0C1226] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-0",secondary:"bg-white text-gray-900 active:bg-[#E6E6E6] focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",destructive:"bg-alert-severe hover:bg-[#C1251A] active:bg-[#A70C00] text-white focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",outline:"border-1 border-gray-500 hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",ghost:"hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",link:"text-primary underline-offset-3 underline focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]",ghostUI:""},size:{default:"h-10 px-4 py-3",lg:"h-10 px-8 py-3",sm:"h-8 px-3 py-2",xsm:"h-6 px-2",icon:"h-10 w-10",text:""},loading:{true:"pointer-events-none cursor-not-allowed opacity-50",false:""},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30",false:""}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1}}),u=a.forwardRef(({className:e,variant:a="default",size:l,asChild:o=!1,disabled:i=!1,loading:u=!1,children:d,...x},f)=>{let g=o?r.Slot:"button";return(0,t.jsx)(g,{...x,className:(0,n.cn)(c({variant:a,size:l,loading:u,disabled:i}),"inline-flex items-center justify-center",e),ref:f,disabled:i||u,children:o?d:(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(s,{size:"sm",className:"mr-2 animate-spin",color:"default"===a||"destructive"===a?"inverse":"primary"}),d]})})});u.displayName="Button",e.s(["Button",0,u],877957)},226602,e=>{"use strict";var t=e.i(699173),a=e.i(592121),r=e.i(747961);let l=(0,a.forwardRef)(({title:e,titleId:a,desc:r,descId:l,...n},o)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:o,"aria-labelledby":a,"aria-describedby":l,...n,children:[r?(0,t.jsx)("desc",{id:l,children:r}):null,void 0===e?(0,t.jsx)("title",{id:a,children:"Close"}):e?(0,t.jsx)("title",{id:a,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.809 4.113a.652.652 0 1 0-.922-.922L8 7.078 4.113 3.19a.652.652 0 1 0-.922.922L7.078 8 3.19 11.887a.652.652 0 0 0 .922.922L8 8.922l3.887 3.887a.652.652 0 1 0 .922-.922L8.922 8z"})]})),n=a.default.forwardRef((e,a)=>(0,t.jsx)(r.BaseIcon,{ref:a,icon:l,...e}));n.displayName="Close",e.s(["Close",0,n])},671525,e=>{"use strict";var t=e.i(961123);let a=()=>{let e=(0,t.useRouter)();return{navigate:(t,a={})=>{let{mpa:r=!0,replace:l=!1}=a;r?l?window.location.replace(t):window.location.href=t:l?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:a=!0}=t;a?window.location.reload():e.refresh()},router:e}};e.s(["default",0,a,"usePageNavigation",0,a])},837879,e=>{"use strict";var t=e.i(592121),a=e.i(546446),r=e.i(961123),l=e.i(485737),n=e.i(739971),o=e.i(725296),i=e.i(394481),s=e.i(763886),c=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,a.useAtomValue)(n.subscriptionsEnabledAtom),u=(0,a.useAtomValue)(l.geoipCountry),d=(0,r.useParams)()?.locale,x=(0,a.useAtomValue)(i.privacyRegimeAtom)??o.Regime.EXEMPT,f=(0,a.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===u&&"en-US"===d&&o.US_REGIMES.includes(x)&&f!==c.Partner.OPPO,[e,u,d,x,f])}])},756227,95870,391174,e=>{"use strict";var t=e.i(546446),a=e.i(284007),r=e.i(889753),l=e.i(310847),n=e.i(613646);e.s(["mutate",()=>n.j],95870);var n=n,o=e.i(318849);let i=()=>{(0,n.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(o.SWR_CACHE_STORAGE_KEY)}catch{}};e.s(["invalidateUpsxCache",0,i],391174),e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(r.userProfileAtom),n=(0,t.useSetAtom)(l.wxuUserAccountUserAccountResponseAtom);return()=>{i(),e(a.RESET),n(null)}}],756227)}]);