(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,294237,e=>{"use strict";var t=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,a=t.clsx;e.s(["cva",0,(e,t)=>i=>{var l;if((null==t?void 0:t.variants)==null)return a(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:n,defaultVariants:o}=t,s=Object.keys(n).map(e=>{let t=null==i?void 0:i[e],a=null==o?void 0:o[e];if(null===t)return null;let l=r(t)||r(a);return n[e][l]}),c=i&&Object.entries(i).reduce((e,t)=>{let[r,a]=t;return void 0===a||(e[r]=a),e},{});return a(e,s,null==t||null==(l=t.compoundVariants)?void 0:l.reduce((e,t)=>{let{class:r,className:a,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...c}[t]):({...o,...c})[t]===r})?[...e,r,a]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}])},747961,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(294237),i=e.i(789876);let l=(0,a.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"}}),n=r.default.forwardRef(({icon:e,size:r,color:a,title:n,desc:o,className:s,ariaHidden:c,...u},d)=>(0,t.jsx)(e,{ref:d,className:(0,i.cn)(l({size:r,color:a}),s),title:n,desc:o,...c&&{"aria-hidden":c},...u}));n.displayName="BaseIcon",e.s(["BaseIcon",0,n])},632137,e=>{"use strict";var t=e.i(7284);let r=(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 r((0,t.clsx)(e))}])},982538,723673,e=>{"use strict";var t=e.i(592121);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function a(...e){return t=>{let a=!1,i=e.map(e=>{let i=r(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t{var l;let n,c,{children:m,...g}=r,x=null,h=!1,y=[];u(m)&&"function"==typeof p&&(m=p(m._payload)),t.Children.forEach(m,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===o){h=!0;let t="child"in e.props?e.props.child:e.props.children;u(t)&&"function"==typeof p&&(t=p(t._payload)),x=s(e,t),y.push(x?.props?.children)}else y.push(e)}),x?x=t.cloneElement(x,void 0,y):!h&&1===t.Children.count(m)&&t.isValidElement(m)&&(x=m);let v=x?(l=x,(c=(n=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?l.ref:(c=(n=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?l.props.ref:l.props.ref||l.ref):void 0,b=i(a,v);if(!x){if(m||0===m)throw Error(h?f(e):d(e));return m}let w=function(e,t){let r={...t};for(let a in t){let i=e[a],l=t[a];/^on[A-Z]/.test(a)?i&&l?r[a]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[a]=i):"style"===a?r[a]={...i,...l}:"className"===a&&(r[a]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(g,x.props??{});return x.type!==t.Fragment&&(w.ref=a?b:v),t.cloneElement(x,w)});return r.displayName=`${e}.Slot`,r}e.s(["composeRefs",0,a,"useComposedRefs",0,i],723673);var n=l("Slot"),o=Symbol.for("radix.slottable"),s=(e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null},c=Symbol.for("react.lazy");function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===c&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var d=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,f=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,p=t[" use ".trim().toString()];e.s(["Slot",0,n,"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=o,t}],982538)},877957,564993,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(982538),i=e.i(294237),l=e.i(632137),n=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:r,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=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:o,...e}));s.displayName="LoaderCircle",e.s(["LoaderCircle",0,s],564993);let c=(0,i.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=r.forwardRef(({className:e,variant:r="default",size:i,asChild:n=!1,disabled:o=!1,loading:u=!1,children:d,...f},p)=>{let m=n?a.Slot:"button";return(0,t.jsx)(m,{...f,className:(0,l.cn)(c({variant:r,size:i,loading:u,disabled:o}),"inline-flex items-center justify-center",e),ref:p,disabled:o||u,children:n?d:(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(s,{size:"sm",className:"mr-2 animate-spin",color:"default"===r||"destructive"===r?"inverse":"primary"}),d]})})});u.displayName="Button",e.s(["Button",0,u],877957)},683903,e=>{"use strict";var t=e.i(730921);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let a=r(0,t.useTranslations),i=r(0,t.useFormatter);e.s(["useFormatter",0,i,"useTranslations",0,a])},226602,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Close"}):e?(0,t.jsx)("title",{id:r,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"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="Close",e.s(["Close",0,l])},368847,341669,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(294237),i=e.i(632137);let l=({skeletonClassName:e,elementType:r="span"})=>(0,t.jsx)(r,{className:(0,i.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,l],341669);let n={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:n[e],value:String(e)}));let o=r.default.forwardRef(({className:e,isLoading:r,skeletonClassName:a,variant:n,elementType:o,lineClamp:c,color:u,responsive:d,children:f,...p},m)=>{if(r)return(0,t.jsx)(l,{skeletonClassName:a||""});let g=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:n}),x=(0,t.jsx)(g,{className:(0,i.cn)(s({variant:n,color:u,lineClamp:c,responsive:d}),e),ref:m,...p,children:f});return d?(0,t.jsx)("div",{className:"@container/text",children:x}):x});o.displayName="Text";let s=(0,a.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)},671525,e=>{"use strict";var t=e.i(961123);let r=()=>{let e=(0,t.useRouter)();return{navigate:(t,r={})=>{let{mpa:a=!0,replace:i=!1}=r;a?i?window.location.replace(t):window.location.href=t:i?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:r=!0}=t;r?window.location.reload():e.refresh()},router:e}};e.s(["default",0,r,"usePageNavigation",0,r])},291967,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(a){if(e?.(a),!1===r||!a.defaultPrevented)return t?.(a)}}])},144977,156207,e=>{"use strict";var t=e.i(592121);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}e.s(["useComposedRefs",0,function(...e){return t.useCallback(function(...e){return t=>{let a=!1,i=e.map(e=>{let i=r(e,t);return a||"function"!=typeof i||(a=!0),i});if(a)return()=>{for(let t=0;t{let{children:r,...l}=e,n=t.useMemo(()=>l,Object.values(l));return(0,a.jsx)(i.Provider,{value:n,children:r})};return l.displayName=e+"Provider",[l,function(a){let l=t.useContext(i);if(l)return l;if(void 0!==r)return r;throw Error(`\`${a}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,r=[]){let i=[],l=()=>{let r=i.map(e=>t.createContext(e));return function(a){let i=a?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...a,[e]:i}}),[a,i])}};return l.scopeName=e,[function(r,l){let n=t.createContext(l),o=i.length;i=[...i,l];let s=r=>{let{scope:i,children:l,...s}=r,c=i?.[e]?.[o]||n,u=t.useMemo(()=>s,Object.values(s));return(0,a.jsx)(c.Provider,{value:u,children:l})};return s.displayName=r+"Provider",[s,function(a,i){let s=i?.[e]?.[o]||n,c=t.useContext(s);if(c)return c;if(void 0!==l)return l;throw Error(`\`${a}\` must be used within \`${r}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let a=()=>{let a=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=a.reduce((t,{useScope:r,scopeName:a})=>{let i=r(e)[`__scope${a}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return a.scopeName=r.scopeName,a}(l,...r)]}],156207)},556872,e=>{"use strict";var t=e.i(592121),r=e.i(798973),a=e.i(982538),i=e.i(699173),l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let l=(0,a.createSlot)(`Primitive.${r}`),n=t.forwardRef((e,t)=>{let{asChild:a,...n}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(a?l:r,{...n,ref:t})});return n.displayName=`Primitive.${r}`,{...e,[r]:n}},{});e.s(["Primitive",0,l,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}])},127864,e=>{"use strict";var t=e.i(592121),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r])},653747,e=>{"use strict";var t=e.i(592121),r=e.i(144977),a=e.i(127864),i=e=>{var i;let n,o,{present:s,children:c}=e,u=function(e){var r,i;let[n,o]=t.useState(),s=t.useRef(null),c=t.useRef(e),u=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=l(s.current);u.current="mounted"===d?e:"none"},[d]),(0,a.useLayoutEffect)(()=>{let t=s.current,r=c.current;if(r!==e){let a=u.current,i=l(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&a!==i?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,a.useLayoutEffect)(()=>{if(n){let e,t=n.ownerDocument.defaultView??window,r=r=>{let a=l(s.current).includes(CSS.escape(r.animationName));if(r.target===n&&a&&(f("ANIMATION_END"),!c.current)){let r=n.style.animationFillMode;n.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===n.style.animationFillMode&&(n.style.animationFillMode=r)})}},a=e=>{e.target===n&&(u.current=l(s.current))};return n.addEventListener("animationstart",a),n.addEventListener("animationcancel",r),n.addEventListener("animationend",r),()=>{t.clearTimeout(e),n.removeEventListener("animationstart",a),n.removeEventListener("animationcancel",r),n.removeEventListener("animationend",r)}}f("ANIMATION_END")},[n,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{s.current=e?getComputedStyle(e):null,o(e)},[])}}(s),d="function"==typeof c?c({present:u.isPresent}):t.Children.only(c),f=(0,r.useComposedRefs)(u.ref,(i=d,(o=(n=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?i.ref:(o=(n=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in n&&n.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof c||u.isPresent?t.cloneElement(d,{ref:f}):null};function l(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},534643,e=>{"use strict";var t=e.i(592121),r=e.i(127864);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var a=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:i=()=>{},caller:l}){let[n,o,s]=function({defaultProp:e,onChange:r}){let[i,l]=t.useState(e),n=t.useRef(i),o=t.useRef(r);return a(()=>{o.current=r},[r]),t.useEffect(()=>{n.current!==i&&(o.current?.(i),n.current=i)},[i,n]),[i,l,o]}({defaultProp:r,onChange:i}),c=void 0!==e,u=c?e:n;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${l} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}r.current=c},[c,l])}return[u,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else o(t)},[c,e,o,s])]}],534643)},837879,e=>{"use strict";var t=e.i(592121),r=e.i(546446),a=e.i(961123),i=e.i(485737),l=e.i(739971),n=e.i(725296),o=e.i(394481),s=e.i(763886),c=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,r.useAtomValue)(l.subscriptionsEnabledAtom),u=(0,r.useAtomValue)(i.geoipCountry),d=(0,a.useParams)()?.locale,f=(0,r.useAtomValue)(o.privacyRegimeAtom)??n.Regime.EXEMPT,p=(0,r.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===u&&"en-US"===d&&n.US_REGIMES.includes(f)&&p!==c.Partner.OPPO,[e,u,d,f,p])}])},756227,95870,391174,e=>{"use strict";var t=e.i(546446),r=e.i(284007),a=e.i(889753),i=e.i(310847),l=e.i(613646);e.s(["mutate",()=>l.j],95870);var l=l,n=e.i(318849);let o=()=>{(0,l.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(n.SWR_CACHE_STORAGE_KEY)}catch{}};e.s(["invalidateUpsxCache",0,o],391174),e.s(["useResetAuthState",0,function(){let e=(0,t.useSetAtom)(a.userProfileAtom),l=(0,t.useSetAtom)(i.wxuUserAccountUserAccountResponseAtom);return()=>{o(),e(r.RESET),l(null)}}],756227)},806262,e=>{"use strict";e.i(592121);var t=e.i(546446);e.i(284007),e.i(981030);let r=new WeakMap;e.s(["useHydrateAtoms",0,function(e,a){var i;let l,n=(0,t.useStore)(a),o=(i=n,(l=r.get(i))||(l=new WeakSet,r.set(i,l)),l);for(let[t,...r]of e)(!o.has(t)||(null==a?void 0:a.dangerouslyForceHydrate))&&(o.add(t),n.set(t,...r))}])},604323,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["metricsArticleDataAtom",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])},318849,e=>{"use strict";let t=!1,r="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(r);if(!t)return!1;let a=Number(t);if(!Number.isFinite(a))return!1;return Date.now()-at,"markRecentPurchase",0,()=>{try{localStorage.setItem(r,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])},185312,(e,t,r)=>{t.exports=e.r(16129)},853233,e=>{"use strict";var t=e.i(592121),r=e.i(127864);e.s(["useSize",0,function(e){let[a,i]=t.useState(void 0);return(0,r.useLayoutEffect)(()=>{if(e){i({width:e.offsetWidth,height:e.offsetHeight});let t=new ResizeObserver(t=>{let r,a;if(!Array.isArray(t)||!t.length)return;let l=t[0];if("borderBoxSize"in l){let e=l.borderBoxSize,t=Array.isArray(e)?e[0]:e;r=t.inlineSize,a=t.blockSize}else r=e.offsetWidth,a=e.offsetHeight;i({width:r,height:a})});return t.observe(e,{box:"border-box"}),()=>t.unobserve(e)}i(void 0)},[e]),a}])},725837,e=>{"use strict";let t=(0,e.i(981030).atom)("control");e.s(["hourlyPaginationVariantAtom",0,t])},999066,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return u},getImageProps:function(){return c}};for(var i in a)Object.defineProperty(r,i,{enumerable:!0,get:a[i]});let l=e.r(481258),n=e.r(589204),o=e.r(146330),s=l._(e.r(165613));function c(e){let{props:t}=(0,n.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1280,1600],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=o.Image},861559,(e,t,r)=>{t.exports=e.r(999066)},37429,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(861559),i=e.i(632137);let l={square:"Square (1:1)",video:"Video (16:9)",goldenPortrait:"Golden Portrait (1:1.618)",goldenLandscape:"Golden Landscape (1.618:1)","16/9":"16:9","8/5":"8:5","4/3":"4:3","3/2":"3:2","2/3":"2/3","1/1":"1:1",auto:"Auto"};["square","video","goldenPortrait","goldenLandscape","16/9","8/5","4/3","3/2","2/3","1/1","auto"].map(e=>({label:l[e],value:e}));let n={square:"aspect-square",video:"aspect-video",goldenPortrait:"aspect-[1/1.618]",goldenLandscape:"aspect-[1.618/1]","16/9":"aspect-[16/9]","8/5":"aspect-[8/5]","4/3":"aspect-[4/3]","3/2":"aspect-[3/2]","2/3":"aspect-[2/3]","1/1":"aspect-[1/1]",auto:"h-full w-full"},o=(0,r.forwardRef)(({src:e,alt:r,shadow:l,rounded:o=!0,className:s,wrapperClassName:c,width:u=320,height:d=180,quality:f,priority:p=!1,loading:m,isFetchPriority:g=!1,objectFit:x,fill:h=!1,sizes:y,aspectRatio:v,isAnimated:b=!1,...w},E)=>{if(!e)return null;let I=b||e.toLowerCase().endsWith(".gif"),C=h||!!v,S=x??(v?"cover":"contain"),_=v?n[v]:"",T=(0,t.jsx)(a.default,{ref:E,src:e,alt:r,width:C?void 0:u,height:C?void 0:d,quality:f,priority:p,loading:m,fetchPriority:g?"high":void 0,fill:C,sizes:y,unoptimized:I,className:(0,i.cn)({"shadow-md":l,"rounded-lg":o,"object-contain":"contain"===S,"object-cover":"cover"===S,"object-fill":"fill"===S,"object-none":"none"===S,"object-scale-down":"scale-down"===S,"h-auto w-full":!C},s),...w});return C?(0,t.jsx)("div",{className:(0,i.cn)("relative overflow-hidden",_,!v&&"h-full w-full",c),children:T}):T});o.displayName="Image",e.s(["Image",0,o,"default",0,o])},438335,e=>{"use strict";var t=e.i(546584);let r=/^[a-z][a-z0-9+.-]*:\/\//i,a=/[?#]/,i=/\/{2,}/g,l=e=>{if(!e)return e;let t=e.match(r),l=t?t[0].length:0,n=e.slice(0,l),o=e.slice(l),s=o.search(a),c=-1===s?o:o.slice(0,s),u=-1===s?"":o.slice(s);return n+c.replace(i,"/")+u},n=/\/+$/;e.s(["getPublicProductionURL",0,e=>{let r=t.default.env.VERCEL_TARGET_ENV_PRODUCTION_URL??"weather.com",a=t.default.env.VERCEL_PROJECT_PRODUCTION_URL??"weather.com",i=`https://${r??a}`;return(i=i.replace(n,""),e)?l(new URL(e,i).toString()):i},"getPublicURL",0,e=>{let r,a=(t.default.env.VERCEL_TARGET_ENV??"production")?.toLowerCase(),i=t.default.env.VERCEL_BRANCH_URL??"wx-next-web-git-releasebranch2026-07-29.vercel.weather.com",o=t.default.env.VERCEL_TARGET_ENV_URL??"weather.com",s="true"===t.default.env.NEXT_DEV_SERVER_INSECURE||"true"===t.default.env.NEXT_PUBLIC_NEXT_DEV_SERVER_INSECURE;switch(a){case"preview":r=`https://${i}`;break;case"development":r=s?`http://${o}`:`https://${o}`;break;default:r=`https://${o}`}return(r=r.replace(n,""),e)?l(new URL(e,r).toString()):r}],438335)},611540,e=>{"use strict";e.i(438335);let t=(e,...t)=>{if(!e)return"";let[r={},a=!1]=t,i=Object.entries(r).reduce((e,[t,r])=>void 0===r?e:e.replaceAll(`{${t}}`,r),e);return a?i:"/en-US"===i?"/":i.replace("/en-US/","/")};e.s(["URLS",0,{BannerTextHref:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&tpcc=mktg-{pageKey}-mainmenu-mobilebanner",activityHubCamping:"/{locale}/activity-hub/camping/{locId}",activityHubCycling:"/{locale}/activity-hub/cycling/{locId}",activityHubGardening:"/{locale}/activity-hub/gardening/{locId}",activityHubGolf:"/{locale}/activity-hub/golf/{locId}",activityHubHiking:"/{locale}/activity-hub/hiking/{locId}",activityHubPage:"/{locale}/activity-hub/{locId}",activityHubRunning:"/{locale}/activity-hub/running/{locId}",activityHubTennis:"/{locale}/activity-hub/tennis/{locId}",airQuality:"/{locale}/forecast/air-quality/l/{locId}",alertDetails:"/{locale}/weather/alerts/localalerts/l/{locId}",alerts:"/{locale}/weather/alerts/localalerts/l/{locId}",allergy:"/{locale}/forecast/allergy/l/{locId}",apps:"/{locale}/{collectionId}/{assetName}",article:"/{locale}/{collectionId}/news/{articleTitle}",atmosphere:"/atmosphere",betterDecisions:"/mission",boatBeach:"/{locale}/forecast/boat-beach/l/{locId}",breathing:"/{locale}/forecast/breathing/l/{locId}",callforcode:"/callforcode",christmasCountdown:"/forecast/christmas-countdown/l/{locId}",coldFlu:"/{locale}/forecast/cold-flu/l/{locId}",covid19:"/{locale}/coronavirus/l/{locId}",covid19map:"/{locale}/coronavirus/map/l/{locId}",dataDefinitions:"/{locale}/data-definitions",dataInventory:"/{locale}/data-inventory",dataPartners:"/{locale}/data-partners",dataRights:"/{locale}/data-rights",explore:"/explore",farming:"/{locale}/forecast/agriculture/l/{locId}",fishing:"/{locale}/forecast/fishing/l/{locId}",fiveday:"/{locale}/weather/5day/l/{locId}",flights:"/flights",forgotPassword:"/{locale}/forgot-password",goRun:"/{locale}/forecast/gorun/l/{locId}",grilling:"/home-garden/grilling",home:"/{locale}",homeGarden:"/home-garden",hourly:"/{locale}/weather/hourbyhour/l/{locId}",hurricane:"/{locale}/hurricane",hurricaneCentral:"/storms/hurricane-central",hurricaneHub:"/hurricane/ian-2022",hurricaneNicole:"/hurricane/nicole-2022",hurricaneRetro:"/hurricane/sandy-2012",interactiveMap:"/{locale}/weather/radar/interactive/l/{locId}",legal:"/{locale}/{collectionId}/{assetName}",maps:"/maps/{collectionId}",memberLogin:"/{locale}/login",memberSettings:"/{locale}/member/settings",memberSignup:"/{locale}/signup",memberSubscription:"/{locale}/member/subscription",memorialdayCountdown:"/forecast/memorial-day-countdown/l/{locId}",mlbCountdown:"/{locale}/forecast/opening-day-countdown/l/{locId}",monthly:"/{locale}/weather/monthly/l/{locId}",myDashboard:"/{locale}/mydashboard",newsletter:"/{locale}/newsletter",notification:"/{locale}/life/manage-notifications",pets:"/pets",precipitation:"/{locale}/precipitation/l/{locId}",premiumOnboarding:"/{locale}/premium/onboarding",privacyPolicy:"/{locale}/privacy/privacy-policy",privacyPolicyDirectory:"/{locale}/privacy-policy-directory",privacySettings:"/{locale}/privacy-settings",radar:"/{locale}/weather/radar/interactive/l/{locId}",recipes:"/home-garden/recipes",resetPassword:"/{locale}/reset-password",rss:"/rss",safetyIndex:"/safety/index",samsungWeatherConditions:"/{locale}/weather-conditions/l/{locId}",scienceEnvironment:"/science/environment",search:"/{locale}/search/enhancedlocalsearch",shop:"https://shop.weather.com/",ski:"/{locale}/forecast/ski/l/{locId}",skinHealth:"/health/skin-health",slideshows:"/{locale}/slideshows",spaceSkywatching:"/science/space",stormRadar:"//apps.apple.com/us/app/storm-radar-weather-tracker/id1216396545",stormRadarFeatures:"/storm-radar",subsBundles:"/subscribe/bundle",subscriptionPhase2:"/{locale}/subscribe/phase2",tenday:"/{locale}/weather/tenday/l/{locId}",termsOfUse:"/{locale}/privacy/terms-of-use",thanksgivingCountdown:"/forecast/thanksgiving-countdown/l/{locId}",today:"/{locale}/weather/today/l/{locId}",tornadoCentral:"/storms/tornado-central",travel:"/travel",unsubscribe:"/{locale}/life/alerts/unsubscribe",usForecast:"/maps/currentusweather",usHealth:"/maps/health/allergies/treepollen",usSatAndRadar:"/maps/ussatellitemap",usSevereAlerts:"/maps/severealerts",usTravel:"/maps/travel/airport-delays",userSubscription:"/{locale}/subscribe",video:"/{locale}/{collectionId}/video/{videoTitle}",weatherAsProviderExplainer:"https://theweathercompany.info/{locale}/partners",weekend:"/{locale}/weather/weekend/l/{locId}",worldSatellite:"/maps/satellite/caribbeanweathermap",wu:"//www.wunderground.com",yesterday:"//www.wunderground.com/history/daily/{locId}/yesterday"},"interpolateLocationUrl",0,(e,{locale:r,locId:a,featureId:i})=>t(e,{locale:r,locId:(i?.startsWith("address.")?void 0:i)??a}),"interpolateUrl",0,t],611540)},514514,e=>{"use strict";var t=e.i(592121);let r=e=>{let t=e.replace(/^([A-Z])|[\s-_]+(\w)/g,(e,t,r)=>r?r.toUpperCase():t.toLowerCase());return t.charAt(0).toUpperCase()+t.slice(1)},a=(...e)=>e.filter((e,t,r)=>!!e&&""!==e.trim()&&r.indexOf(e)===t).join(" ").trim();var i={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};let l=(0,t.forwardRef)(({color:e="currentColor",size:r=24,strokeWidth:l=2,absoluteStrokeWidth:n,className:o="",children:s,iconNode:c,...u},d)=>(0,t.createElement)("svg",{ref:d,...i,width:r,height:r,stroke:e,strokeWidth:n?24*Number(l)/Number(r):l,className:a("lucide",o),...!s&&!(e=>{for(let t in e)if(t.startsWith("aria-")||"role"===t||"title"===t)return!0})(u)&&{"aria-hidden":"true"},...u},[...c.map(([e,r])=>(0,t.createElement)(e,r)),...Array.isArray(s)?s:[s]]));e.s(["default",0,(e,i)=>{let n=(0,t.forwardRef)(({className:n,...o},s)=>(0,t.createElement)(l,{ref:s,iconNode:i,className:a(`lucide-${r(e).replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,`lucide-${e}`,n),...o}));return n.displayName=r(e),n}],514514)},434197,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"BailoutToCSR",{enumerable:!0,get:function(){return i}});let a=e.r(233899);function i({reason:e,children:t}){if("u"{"use strict";function a(e){return e.split("/").map(e=>encodeURIComponent(e)).join("/")}Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"encodeURIPath",{enumerable:!0,get:function(){return a}})},749869,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"PreloadChunks",{enumerable:!0,get:function(){return s}});let a=e.r(699173),i=e.r(798973),l=e.r(84959),n=e.r(61726),o=e.r(385711);function s({moduleIds:e}){if("u">typeof window)return null;let t=l.workAsyncStorage.getStore();if(void 0===t)return null;let r=[];if(t.reactLoadableManifest&&e){let a=t.reactLoadableManifest;for(let t of e){if(!a[t])continue;let e=a[t].files;r.push(...e)}}if(0===r.length)return null;let c=(0,o.getAssetTokenQuery)();return(0,a.jsx)(a.Fragment,{children:r.map(e=>{let r=`${t.assetPrefix}/_next/${(0,n.encodeURIPath)(e)}${c}`;return e.endsWith(".css")?(0,a.jsx)("link",{precedence:"dynamic",href:r,rel:"stylesheet",as:"style",nonce:t.nonce},e):((0,i.preload)(r,{as:"script",fetchPriority:"low",nonce:t.nonce}),null)})})}},427039,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return c}});let a=e.r(699173),i=e.r(592121),l=e.r(434197),n=e.r(749869);function o(e){return{default:e&&"default"in e?e.default:e}}let s={loader:()=>Promise.resolve(o(()=>null)),loading:null,ssr:!0},c=function(e){let t={...s,...e},r=(0,i.lazy)(()=>t.loader().then(o)),c=t.loading;function u(e){let o=c?(0,a.jsx)(c,{isLoading:!0,pastDelay:!0,error:null}):null,s=!t.ssr||!!t.loading,u=s?i.Suspense:i.Fragment,d=t.ssr?(0,a.jsxs)(a.Fragment,{children:["u"{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return i}});let a=e.r(481258)._(e.r(427039));function i(e,t){let r={};"function"==typeof e&&(r.loader=e);let i={...r,...t};return(0,a.default)({...i,modules:i.loadableGenerated?.modules})}("function"==typeof r.default||"object"==typeof r.default&&null!==r.default)&&void 0===r.default.__esModule&&(Object.defineProperty(r.default,"__esModule",{value:!0}),Object.assign(r.default,r),t.exports=r.default)},523084,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Left"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M5.586 8.586a.667.667 0 0 1 0-.943l4.178-4.179a.495.495 0 0 1 .7.7l-3.95 3.95 3.95 3.95a.495.495 0 1 1-.7.7z"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="ChevronLeft",e.s(["ChevronLeft",0,l])},47524,e=>{"use strict";var t=e.i(699173),r=e.i(592121),a=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:i,...l},n)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:n,"aria-labelledby":r,"aria-describedby":i,...l,children:[a?(0,t.jsx)("desc",{id:i,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Right"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M10.414 7.643c.26.26.26.682 0 .943l-4.178 4.178a.495.495 0 1 1-.7-.7l3.95-3.95-3.95-3.95a.495.495 0 1 1 .7-.7z"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:i,...e}));l.displayName="ChevronRight",e.s(["ChevronRight",0,l])},674885,e=>{"use strict";var t=e.i(981030),r=e.i(617874),a=e.i(889753);let i=(0,t.atom)(e=>e(a.userPreferencesAtom)?.unit||r.UNIT_IMPERIAL),l=(0,t.atom)(e=>e(i)===r.UNIT_IMPERIAL),n=(0,t.atom)(e=>e(i)===r.UNIT_METRIC),o=(0,t.atom)(e=>e(i)===r.UNIT_HYBRID);e.s(["isHybridUnitsAtom",0,o,"isImperialUnitsAtom",0,l,"isMetricUnitsAtom",0,n,"userUnitPreferenceAtom",0,i])},942400,e=>{"use strict";var t=e.i(961123);e.s(["usePageLocale",0,()=>{let e=(0,t.useParams)();return e?.locale||"en-US"}])},89887,e=>{"use strict";function t(e,t){let r="/"+e.split("/").filter(Boolean).slice(1).join("/");return"en-US"===t?r:`/${t}${r}`}e.s(["buildLocationCanonicalBase",0,t,"buildLocationCanonicalPath",0,function(e,r,a){return`${t(e,r)}/${a}`}])},52884,e=>{"use strict";let t=[{featureId:"locality.338856684",canonicalID:"/default/us/new-york/new-york-city/locality/manhattan"},{featureId:"place.233720044",canonicalID:"/default/us/new-york/city/new-york-city"},{featureId:"place.79161580",canonicalID:"/default/us/texas/city/dallas"},{featureId:"place.508094700",canonicalID:"/default/us/illinois/city/chicago"},{featureId:"place.154609900",canonicalID:"/default/us/texas/city/houston"},{featureId:"place.498141420",canonicalID:"/default/us/georgia/city/atlanta"},{featureId:"place.180906220",canonicalID:"/default/us/nevada/city/las-vegas"},{featureId:"place.246171884",canonicalID:"/default/us/florida/city/orlando"},{featureId:"place.192407788",canonicalID:"/default/us/california/city/los-angeles"},{featureId:"place.345549036",canonicalID:"/default/us/district-of-columbia/city/washington"},{featureId:"place.292358380",canonicalID:"/default/us/california/city/san-francisco"},{featureId:"place.297027820",canonicalID:"/default/us/washington/city/seattle"},{featureId:"place.257591532",canonicalID:"/default/us/pennsylvania/city/philadelphia"},{featureId:"place.84625644",canonicalID:"/default/us/colorado/city/denver"},{featureId:"place.257902828",canonicalID:"/default/us/arizona/city/phoenix"},{featureId:"place.291252460",canonicalID:"/default/us/texas/city/san-antonio"},{featureId:"place.226805996",canonicalID:"/default/us/tennessee/city/nashville"},{featureId:"place.68643052",canonicalID:"/default/us/ohio/city/columbus"},{featureId:"place.225814764",canonicalID:"/default/us/south-carolina/city/myrtle-beach"},{featureId:"place.464783596",canonicalID:"/default/us/pennsylvania/city/pittsburgh"}];t.map(e=>e.featureId);let r=Object.fromEntries(t.map(e=>[e.featureId,e.canonicalID]));e.s(["canonicalIDForFeatureId",0,function(e){return e?r[e]:void 0},"shouldUseCanonicalLink",0,function(e){return!0}])},388706,e=>{"use strict";let t=[{pageType:"today",urlKey:"today",urlType:"weather/today",suffix:"today",base:"/weather/today/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-today"},{pageType:"hourbyhour",urlKey:"hourly",urlType:"weather/hourbyhour",suffix:"hourbyhour",base:"/weather/hourly/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-hourly"},{pageType:"tenday",urlKey:"tenday",urlType:"weather/tenday",suffix:"tenday",base:"/weather/tenday/",sidebarCanonical:!1,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-tenday"},{pageType:"localalerts",urlKey:"alerts",urlType:"weather/alerts/localalerts",suffix:"localalerts",base:"/weather/alerts/localalerts/",sidebarCanonical:!0,sitemapExcluded:!0,canonicalEligible:!0,weatherCacheTag:"weather-alerts"},{pageType:"allergy",urlKey:"allergy",urlType:"forecast/allergy",suffix:"allergy",base:"/forecast/allergy/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-allergy"},{pageType:"air-quality",urlKey:"airQuality",urlType:"forecast/air-quality",suffix:"air-quality",base:"/weather/air-quality/",sidebarCanonical:!0,sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-air-quality"},{pageType:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,sitemapExcluded:!0,canonicalEligible:!1,weatherCacheTag:"weather-radar-interactive"}],r=t.map(e=>e.pageType);Object.fromEntries(t.map(e=>[e.urlType,e.pageType])),Object.fromEntries(t.map(e=>[e.suffix,e.pageType]));let a=Object.fromEntries(t.map(e=>[e.pageType,e.base])),i=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),l=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),n=Object.fromEntries(t.map(e=>[e.pageType,e.canonicalEligible]));t.map(e=>e.urlType).join("|"),t.map(e=>e.suffix).join("|"),t.filter(e=>e.sitemapExcluded).map(e=>e.pageType);let o=t.filter(e=>e.sidebarCanonical).map(e=>({urlKey:e.urlKey,segment:e.suffix}));e.s(["BASE_BY_PAGE",0,a,"CANONICAL_ELIGIBLE_BY_PAGE",0,n,"CANONICAL_PAGE_TYPES",0,r,"PAGE_TYPE_TO_SUFFIX",0,l,"PAGE_TYPE_TO_URL_KEY",0,i,"SIDEBAR_CANONICAL_LINKS",0,o])},304116,e=>{"use strict";var t=e.i(89887),r=e.i(611540),a=e.i(52884),i=e.i(388706);e.s(["buildLocationPageHref",0,function({pageType:e,locale:l,canonicalID:n,featureId:o,placeId:s,canonicalBasePath:c}){let u=i.PAGE_TYPE_TO_SUFFIX[e],d=i.CANONICAL_ELIGIBLE_BY_PAGE[e];if(c&&d)return`${c}/${u}`;let f=n??(0,a.canonicalIDForFeatureId)(o);return d&&f&&(0,a.shouldUseCanonicalLink)(o)?(0,t.buildLocationCanonicalPath)(f,l,u):(0,r.interpolateLocationUrl)(r.URLS[i.PAGE_TYPE_TO_URL_KEY[e]],d?{locale:l,locId:s??o??"",featureId:o}:{locale:l,locId:s??""})}])},258990,e=>{"use strict";e.s(["decodeLocId",0,e=>{try{return decodeURIComponent(e)}catch{return e}}])},688070,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["isWebViewOnlyAtom",0,t])},742436,e=>{"use strict";var t=e.i(546584),r=e.i(699173),a=e.i(592121),i=e.i(185312),l=e.i(333350),n=e.i(310847),o=e.i(546446),s=e.i(737801),c=e.i(688070),u=e.i(158662),d=e.i(528600),f=e.i(530102),p=e.i(553329);let m="production"!==t.default.env.VERCEL_TARGET_ENV,g=new Set,x="client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV",h="production"!==t.default.env.VERCEL_TARGET_ENV,y=(0,a.createContext)(null),v=({children:e,scriptSrc:t,pageScopedExposureFlagKeys:v})=>{let b,w,E=(0,o.useAtomValue)(n.wxuUserAnonymousIdAtom),I=(b=(0,s.useEventAttributes)(),w=(0,o.useAtomValue)(c.isWebViewOnlyAtom),(0,a.useCallback)((e,t={})=>{if(w)return void console.debug("Skipping enrolled-in-experiment in webview mode");if(!window.mParticle?.isInitialized?.())return void console.warn("MParticle is not initialized");if(!e)return void console.warn("No exposure data provided to trackEnrolledInExperiment");if(!e.experiment_key)return void console.debug(`[Experiment] Skipping exposure tracking for ${e.flag_key} - no experiment_key (feature flag only)`);try{let r={...b,newVariant:e.variant||"",newExperiment:e.experiment_key,newExperimentReceivedAt:Date.now()};window.mParticle?.logEvent?.("enrolled-in-experiment",window.mParticle?.EventType?.Other,r,t),console.debug(`MParticle: Event tracked - enrolled-in-experiment for ${e.flag_key||"unknown"}:${e.variant}`)}catch(e){console.error("MParticle: Failed to track event",e)}},[b,w])),C=(0,o.useSetAtom)(u.experimentJoinListAtom),{user:S}=(0,d.useUser)(),[_,T]=(0,a.useState)(!1),[A,k]=(0,a.useState)(!1),P=(0,a.useRef)(void 0),R=(0,a.useRef)(void 0),L=(0,f.getCookie)("ANON_C")?.toString();P.current=S.userID||void 0,R.current=L||E;let j=(0,a.useRef)(new Set),N=(0,a.useMemo)(()=>new Set(v??[]),[v]),O=(0,a.useCallback)(e=>{let t=`${e.flag_key}::${e.variant??""}`;j.current.has(t)||(j.current.add(t),I(e),function({exposure:e,userId:t,deviceId:r}){if(!e.experiment_key){m&&console.debug(`[Experiment] Skipping Amplitude HTTP exposure for ${e.flag_key} — no experiment_key (feature flag only)`);return}if(!t&&!r){m&&console.debug("[Experiment] Skipping Amplitude HTTP exposure — no user identity");return}let a=`${e.flag_key}::${e.variant??""}`;if(g.has(a)){m&&console.debug(`[Experiment] Skipping duplicate Amplitude HTTP exposure: ${a}`);return}g.add(a);let i={api_key:"bb1117981ed2a95dc4fa64b75661d681",events:[{event_type:"$exposure",user_id:t,device_id:r,ip:"$remote",event_properties:{flag_key:e.flag_key,variant:e.variant,experiment_key:e.experiment_key,platform:"web",app_name:"wx-next-web",environment:m?"dev":"prod",experimentation_platform:"amplitude_experiment"}}]};(async()=>{let{data:t,error:r}=await (0,p.tryCatch)(fetch("https://api2.amplitude.com/2/httpapi",{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(i),keepalive:!0}));return r?console.error("[Experiment] Failed to send exposure to Amplitude HTTP API:",r):t&&!t.ok?console.error(`[Experiment] Amplitude HTTP API returned ${t.status}`):m&&console.debug("[Experiment] Amplitude HTTP exposure sent:",{flag_key:e.flag_key,variant:e.variant})})()}({exposure:e,userId:P.current,deviceId:R.current}))},[I]),[D,B]=(0,a.useState)({});(0,a.useEffect)(()=>{if(l.default){let e=(0,f.getCookie)("amplitude-variants");if(e)try{let t=JSON.parse(e.toString());B(t),h&&Object.keys(t).length>0&&console.debug("[Experiment] Loaded server variants from cookie:",Object.keys(t))}catch(e){console.error("[Experiment] Failed to parse variants cookie:",e)}}},[]),(0,a.useEffect)(()=>{0===Object.keys(D).length?C(null):C(JSON.stringify(Object.entries(D).filter(([,e])=>!!e?.key).map(([e,t])=>{let r=t.key??"",a=Math.floor(Date.now()/1e3);return`${e},${r},${a}`})))},[D,C]);let M=function(e,t,r){let i=(0,a.useRef)(null),[n,o]=(0,a.useState)(!1);return(0,a.useEffect)(()=>{if(!n&&l.default&&x&&t){if(!window.Experiment)return void console.error("Amplitude Experiment SDK not loaded. Script may still be loading.");try{let t=Object.keys(r).length>0;i.current=window.Experiment.initialize(x,{debug:h,fetchTimeoutMillis:5e3,retryFetchOnFailure:!0,fetchOnStart:!1,automaticExposureTracking:!1,exposureTrackingProvider:{track:t=>{try{e(t),h&&console.debug("[Experiment] Exposure tracked:",t)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}}},initialVariants:t?r:void 0,source:t?"initialVariants":"localStorage"}),o(!0),h&&(t?console.debug("[Experiment] SDK initialized with server variants:",Object.keys(r)):console.debug("[Experiment] SDK initialized (will fetch from API)"))}catch(e){console.error("Failed to initialize Amplitude Experiment SDK:",e)}}},[n,t,e,r]),i.current}(O,_,D);(0,a.useEffect)(()=>{(async()=>{if(!M)return;let e=(0,f.getCookie)("ANON_C")?.toString()||E;if(!e&&!S.userID){h&&console.debug("[Experiment] No user identifier available"),k(!0);return}let t={device_id:e,...S.userID?{user_id:S.userID}:{},user_properties:{}};h&&console.debug("[Experiment] Fetching experiments from API for user:",t);try{await M.fetch(t)}catch(e){console.error("[Experiment] Failed to fetch experiments:",e)}finally{k(!0)}})()},[M,E,S.userID]);let U=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{U.current=!1,j.current.clear(),g.clear()},[S.userID]),(0,a.useEffect)(()=>{if(!M||0===Object.keys(D).length||U.current)return;let e=()=>{if(!U.current){for(let e of Object.keys(D))N.has(e)||M.exposure(e);U.current=!0,h&&console.debug("[Experiment] Tracked exposures for server variants:",Object.keys(D))}};window.mParticle?.isInitialized?.()?e():window.mParticle?.ready?.(e)},[M,D,N]),(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)(i.default,{src:t,strategy:"afterInteractive",onLoad:()=>{T(!0),h&&console.debug("Amplitude Experiment script loaded")},onError:e=>{console.error("Failed to load Amplitude Experiment script:",e)}}),(0,r.jsx)(y.Provider,{value:{client:M,variant:(e,t)=>{if(!M)return t;let r=M.variant(e,t);return h&&console.debug("[Experiment] Current Variant:",r),r},exposure:e=>{M&&M.exposure(e)},fetch:e=>{if(!M)return Promise.resolve();if(!e){let e=(0,f.getCookie)("ANON_C")?.toString()||E;if(e||S.userID){let t={device_id:e,...S.userID?{user_id:S.userID}:{},user_properties:{}};return M.fetch(t)}}return M.fetch(e)},isFetchComplete:A},children:e})]})};e.s(["ExperimentProvider",0,v,"default",0,v,"useExperimentContext",0,()=>{let e=(0,a.useContext)(y);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e}],742436)},49893,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsKillswitchAtom",0,t])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},630986,e=>{"use strict";var t=e.i(546446),r=e.i(604323);e.s(["useCMSAttributes",0,()=>(0,t.useAtomValue)(r.metricsArticleDataAtom)])},37423,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["dprSdkIsInitializedAtom",0,t])},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])},559421,e=>{"use strict";var t=e.i(961123),r=e.i(52884),a=e.i(89887),i=e.i(64412),l=e.i(942400);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),n=(0,t.usePathname)(),{location:o}=(0,i.useLocation)(),s=(0,l.usePageLocale)(),c=e?.canonicalLocation,u=e?.featureId;if(!(c?.length||u&&!n.includes("/l/")))return;let d=o?.canonicalID??(0,r.canonicalIDForFeatureId)(u);if(d)return(0,a.buildLocationCanonicalBase)(d,s);if(n.includes("/byFeatureId/"))return;let f=/\/day-\d+$/.test(n)?n.substring(0,n.lastIndexOf("/")):n;return f.substring(0,f.lastIndexOf("/"))}])}]);