(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,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,l){var r;let n,i=(0,t.useStore)(l),o=(r=i,(n=a.get(r))||(n=new WeakSet,a.set(r,n)),n);for(let[t,...a]of e)(!o.has(t)||(null==l?void 0:l.dangerouslyForceHydrate))&&(o.add(t),i.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),l=(0,t.atom)(null);e.s(["activeEventAtom",0,l,"layoutStateAtom",0,a])},185312,(e,t,a)=>{t.exports=e.r(16129)},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 l=Number(t);if(!Number.isFinite(l))return!1;return Date.now()-lt,"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])},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])},991511,e=>{"use strict";var t=e.i(592121),a=e.i(806262),l=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,a.useHydrateAtoms)(e);let r=(0,l.useStore)(),n=(0,t.useRef)(e);n.current=e,(0,t.useEffect)(()=>{for(let[e,t]of n.current)r.get(e)!==t&&r.set(e,t)})}])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},609858,674339,e=>{"use strict";var t=e.i(546446),a=e.i(592121);let l=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,l],674339),e.s(["useDebugSystem",0,function(){let[e,r]=(0,t.useAtom)(l),n=(0,a.useCallback)((e,t)=>{r(a=>{let l=a?.[e]||{},r="object"==typeof t&&null!==t&&"object"==typeof l?{...l,...t}:t;return{...a,[e]:r}})},[r]),i=(0,a.useCallback)((e,t)=>{r(a=>{let l=a||{timestamp:new Date().toISOString()},r=l.components||{};if(null===t){let t={...r};return delete t[e],{...l,components:t}}return{...l,components:{...r,[e]:t}}})},[r]),o=(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:i,setPageData:o,clearAllDebugData:(0,a.useCallback)(()=>{r({timestamp:new Date().toISOString()})},[r]),updateRouteInfo:s,updatePageDebug:c}}],609858)},752496,e=>{"use strict";var t=e.i(592121),a=e.i(609858);let l=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:r,page:n,onUpdateData:i,onSetPageData:o}){let{updateComponentData:s,setPageData:c}=(0,a.useDebugSystem)(),u=(0,t.useRef)(!1),d=i||s,x=o||c;return(0,t.useEffect)(()=>{if(r)return l.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(r),hasPerformance:!!r.performance,hasContext:!!r.context}),d(e,{...r,_collectedAt:new Date().toISOString()}),()=>{l.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,r,d]),(0,t.useEffect)(()=>{n&&!u.current&&(l.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),l=e.i(543836),r=e.i(271359),n=e.i(855128),i=e.i(296994),o=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),[D,S]=C(b),j=y(e=>{let{__scopeDialog:l,children:r,open:n,defaultOpen:s,onOpenChange:c,modal:u=!0}=e,d=a.useRef(null),x=a.useRef(null),[f,g]=(0,o.useControllableState)({prop:n,defaultProp:s??!1,onChange:c,caller:b}),[p,m]=a.useState(0),[v,h]=a.useState(0);return(0,t.jsx)(D,{scope:l,triggerRef:d,contentRef:x,contentId:(0,i.useId)(),titleId:(0,i.useId)(),descriptionId:(0,i.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:r})},"Dialog"),R=a.forwardRef(y(function(e,a){let{__scopeDialog:n,...i}=e,o=S("DialogTrigger",n),s=(0,r.useComposedRefs)(a,o.triggerRef);return(0,t.jsx)(x.Primitive.button,{type:"button","aria-haspopup":"dialog","aria-expanded":o.open,"aria-controls":o.open?o.contentId:void 0,"data-state":H(o.open),...i,ref:s,onClick:(0,l.composeEventHandlers)(e.onClick,o.onOpenToggle)})},"DialogTrigger")),E="DialogPortal",[k,A]=C(E,{forceMount:void 0}),B=y(e=>{let{__scopeDialog:l,forceMount:r,children:n,container:i}=e,o=S(E,l);return(0,t.jsx)(k,{scope:l,forceMount:r,children:a.Children.map(n,e=>(0,t.jsx)(d.Presence,{present:r||o.open,children:(0,t.jsx)(u.Portal,{asChild:!0,container:i,children:e})}))})},"DialogPortal"),P="DialogOverlay",O=a.forwardRef(y(function(e,a){let l=A(P,e.__scopeDialog),{forceMount:r=l.forceMount,...n}=e,i=S(P,e.__scopeDialog);return i.modal?(0,t.jsx)(d.Presence,{present:r||i.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:l,...n}=e,i=S(P,l),o=(0,s.useDismissableLayerSurface)(),c=(0,r.useComposedRefs)(a,o);return(0,t.jsx)(p.RemoveScroll,{as:L,allowPinchZoom:!0,shards:[i.contentRef],children:(0,t.jsx)(x.Primitive.div,{"data-state":H(i.open),...n,ref:c,style:{pointerEvents:"auto",...n.style}})})},"DialogOverlayImpl")),T="DialogContent",I=a.forwardRef(y(function(e,a){let l=A(T,e.__scopeDialog),{forceMount:r=l.forceMount,...n}=e,i=S(T,e.__scopeDialog);return(0,t.jsx)(d.Presence,{present:r||i.open,children:i.modal?(0,t.jsx)(_,{...n,ref:a}):(0,t.jsx)(M,{...n,ref:a})})},"DialogContent")),_=a.forwardRef(y(function(e,n){let i=S(T,e.__scopeDialog),o=a.useRef(null),s=(0,r.useComposedRefs)(n,i.contentRef,o);return a.useEffect(()=>{let e=o.current;if(e)return(0,m.hideOthers)(e)},[]),(0,t.jsx)(F,{...e,ref:s,trapFocus:i.open,disableOutsidePointerEvents:i.open,onCloseAutoFocus:(0,l.composeEventHandlers)(e.onCloseAutoFocus,e=>{e.preventDefault(),i.triggerRef.current?.focus()}),onPointerDownOutside:(0,l.composeEventHandlers)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,a=0===t.button&&!0===t.ctrlKey;(2===t.button||a)&&e.preventDefault()}),onFocusOutside:(0,l.composeEventHandlers)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),M=a.forwardRef(y(function(e,l){let r=S(T,e.__scopeDialog),n=a.useRef(!1),i=a.useRef(!1);return(0,t.jsx)(F,{...e,ref:l,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(n.current||r.triggerRef.current?.focus(),t.preventDefault()),n.current=!1,i.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(n.current=!0,"pointerdown"===t.detail.originalEvent.type&&(i.current=!0));let a=t.target;r.triggerRef.current?.contains(a)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&i.current&&t.preventDefault()}})},"DialogContentNonModal")),F=a.forwardRef(y(function(e,a){let{__scopeDialog:l,trapFocus:r,onOpenAutoFocus:n,onCloseAutoFocus:i,...o}=e,u=S(T,l);return(0,f.useFocusGuards)(),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(c.FocusScope,{asChild:!0,loop:!0,trapped:r,onMountAutoFocus:n,onUnmountAutoFocus:i,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),...o,ref:a,deferPointerDownOutside:!0,onDismiss:()=>u.onOpenChange(!1)})})})},"DialogContentImpl")),V=a.forwardRef(y(function(e,a){let{__scopeDialog:l,...r}=e,n=S("DialogTitle",l),{setTitleCount:i}=n;return(0,g.useLayoutEffect)(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,t.jsx)(x.Primitive.h2,{id:n.titleId,...r,ref:a})},"DialogTitle")),U=a.forwardRef(y(function(e,a){let{__scopeDialog:l,...r}=e,n=S("DialogDescription",l),{setDescriptionCount:i}=n;return(0,g.useLayoutEffect)(()=>(i(e=>e+1),()=>i(e=>e-1)),[i]),(0,t.jsx)(x.Primitive.p,{id:n.descriptionId,...r,ref:a})},"DialogDescription")),z=a.forwardRef(y(function(e,a){let{__scopeDialog:r,...n}=e,i=S("DialogClose",r);return(0,t.jsx)(x.Primitive.button,{type:"button",...n,ref:a,onClick:(0,l.composeEventHandlers)(e.onClick,()=>i.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:l,showCloseButton:r=!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:[l,r&&(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,...l}){return(0,t.jsx)(V,{"data-slot":"dialog-title",className:(0,W.cn)("pt-4 text-center",e),...l,children:a})}function ee({className:e,children:a,...l}){return(0,t.jsx)(U,{"data-slot":"dialog-description",className:(0,W.cn)("pb-4 text-center",e),...l,children:a})}function et({primary:e,secondary:a,className:l}){return(0,t.jsxs)("div",{className:(0,W.cn)("flex flex-col-reverse gap-3",l),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:l,secondaryAction:r,showCloseButton:n=!0,className:i,children:o,...s}){return(0,t.jsxs)(q,{showCloseButton:n,className:(0,W.cn)("p-6",i),...s,children:[(0,t.jsx)(J,{children:(0,t.jsx)(Q,{children:e})}),(0,t.jsx)(ee,{children:a}),o,(l||r)&&(0,t.jsx)(et,{primary:l,secondary:r})]})},"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,l=t.clsx;e.s(["cva",0,(e,t)=>r=>{var n;if((null==t?void 0:t.variants)==null)return l(e,null==r?void 0:r.class,null==r?void 0:r.className);let{variants:i,defaultVariants:o}=t,s=Object.keys(i).map(e=>{let t=null==r?void 0:r[e],l=null==o?void 0:o[e];if(null===t)return null;let n=a(t)||a(l);return i[e][n]}),c=r&&Object.entries(r).reduce((e,t)=>{let[a,l]=t;return void 0===l||(e[a]=l),e},{});return l(e,s,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:a,className:l,...r}=t;return Object.entries(r).every(e=>{let[t,a]=e;return Array.isArray(a)?a.includes({...o,...c}[t]):({...o,...c})[t]===a})?[...e,a,l]:e},[]),null==r?void 0:r.class,null==r?void 0:r.className)}])},747961,e=>{"use strict";var t=e.i(699173),a=e.i(592121),l=e.i(294237),r=e.i(789876);let n=(0,l.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"}}),i=a.default.forwardRef(({icon:e,size:a,color:l,title:i,desc:o,className:s,ariaHidden:c,...u},d)=>(0,t.jsx)(e,{ref:d,className:(0,r.cn)(n({size:a,color:l}),s),title:i,desc:o,...c&&{"aria-hidden":c},...u}));i.displayName="BaseIcon",e.s(["BaseIcon",0,i])},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 l=a(0,t.useTranslations),r=a(0,t.useFormatter);e.s(["useFormatter",0,r,"useTranslations",0,l])},368847,341669,e=>{"use strict";var t=e.i(699173),a=e.i(592121),l=e.i(294237),r=e.i(632137);let n=({skeletonClassName:e,elementType:a="span"})=>(0,t.jsx)(a,{className:(0,r.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,n],341669);let i={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:i[e],value:String(e)}));let o=a.default.forwardRef(({className:e,isLoading:a,skeletonClassName:l,variant:i,elementType:o,lineClamp:c,color:u,responsive:d,children:x,...f},g)=>{if(a)return(0,t.jsx)(n,{skeletonClassName:l||""});let p=o||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:i}),m=(0,t.jsx)(p,{className:(0,r.cn)(s({variant:i,color:u,lineClamp:c,responsive:d}),e),ref:g,...f,children:x});return d?(0,t.jsx)("div",{className:"@container/text",children:m}):m});o.displayName="Text";let s=(0,l.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,o,"default",0,o,"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 l(e){let l=t.forwardRef((l,r)=>{var o;let x,f,{children:g,...p}=l,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=i(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?(o=m,(f=(x=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?o.ref:(f=(x=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in x&&x.isReactWarning)?o.props.ref:o.props.ref||o.ref):void 0,b=function(...e){return t.useCallback(function(...e){return t=>{let l=!1,r=e.map(e=>{let r=a(e,t);return l||"function"!=typeof r||(l=!0),r});if(l)return()=>{for(let t=0;t{let t=n(...e);return r(...e),t}:r&&(a[l]=r):"style"===l?a[l]={...r,...n}:"className"===l&&(a[l]=[r,n].filter(Boolean).join(" "))}return{...e,...a}}(p,m.props??{});return m.type!==t.Fragment&&(C.ref=r?b:y),t.cloneElement(m,C)});return l.displayName=`${e}.Slot`,l}var r=l("Slot"),n=Symbol.for("radix.slottable"),i=(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},o=Symbol.for("react.lazy");function s(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===o&&"_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,r,"createSlot",0,l,"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),l=e.i(982538),r=e.i(294237),n=e.i(632137),i=e.i(747961);let o=(0,a.forwardRef)(({title:e,titleId:a,desc:l,descId:r,...n},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":a,"aria-describedby":r,...n,children:[l?(0,t.jsx)("desc",{id:r,children:l}):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)(i.BaseIcon,{ref:a,icon:o,...e}));s.displayName="LoaderCircle",e.s(["LoaderCircle",0,s],564993);let c=(0,r.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:r,asChild:i=!1,disabled:o=!1,loading:u=!1,children:d,...x},f)=>{let g=i?l.Slot:"button";return(0,t.jsx)(g,{...x,className:(0,n.cn)(c({variant:a,size:r,loading:u,disabled:o}),"inline-flex items-center justify-center",e),ref:f,disabled:o||u,children:i?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),l=e.i(747961);let r=(0,a.forwardRef)(({title:e,titleId:a,desc:l,descId:r,...n},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":a,"aria-describedby":r,...n,children:[l?(0,t.jsx)("desc",{id:r,children:l}):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)(l.BaseIcon,{ref:a,icon:r,...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:l=!0,replace:r=!1}=a;l?r?window.location.replace(t):window.location.href=t:r?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),l=e.i(961123),r=e.i(485737),n=e.i(739971),i=e.i(725296),o=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)(r.geoipCountry),d=(0,l.useParams)()?.locale,x=(0,a.useAtomValue)(o.privacyRegimeAtom)??i.Regime.EXEMPT,f=(0,a.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===u&&"en-US"===d&&i.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),l=e.i(889753),r=e.i(310847),n=e.i(613646);e.s(["mutate",()=>n.j],95870);var n=n,i=e.i(318849);let o=()=>{(0,n.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(i.SWR_CACHE_STORAGE_KEY)}catch{}};e.s(["invalidateUpsxCache",0,o],391174),e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(l.userProfileAtom),n=(0,t.useSetAtom)(r.wxuUserAccountUserAccountResponseAtom);return()=>{o(),e(a.RESET),n(null)}}],756227)}]);