(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,368847,341669,e=>{"use strict";var t=e.i(297647),r=e.i(477716),n=e.i(294237),o=e.i(632137);let i=({skeletonClassName:e,elementType:r="span"})=>(0,t.jsx)(r,{className:(0,o.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,i],341669);let s={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:s[e],value:String(e)}));let a=r.default.forwardRef(({className:e,isLoading:r,skeletonClassName:n,variant:s,elementType:a,lineClamp:c,color:u,responsive:d,children:f,...m},g)=>{if(r)return(0,t.jsx)(i,{skeletonClassName:n||""});let p=a||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:s}),x=(0,t.jsx)(p,{className:(0,o.cn)(l({variant:s,color:u,lineClamp:c,responsive:d}),e),ref:g,...m,children:f});return d?(0,t.jsx)("div",{className:"@container/text",children:x}):x});a.displayName="Text";let l=(0,n.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.M":["text-base","leading-loose","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-loose","tracking-tight","font-bold"],"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.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.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.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",()=>a,"default",0,a,"textVariants",()=>l],368847)},671525,e=>{"use strict";var t=e.i(375570);let r=()=>{let e=(0,t.useRouter)();return{navigate:(t,r={})=>{let{mpa:n=!0,replace:o=!1}=r;n?o?window.location.replace(t):window.location.href=t:o?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])},710746,e=>{"use strict";var t=e.i(297647),r=e.i(477716),n=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:o,...i},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":r,"aria-describedby":o,...i,children:[n?(0,t.jsx)("desc",{id:o,children:n}):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"})]})),i=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:o,...e}));i.displayName="Close",e.s(["Close",0,i])},291967,e=>{"use strict";function t(e,r,{checkForDefaultPrevented:n=!0}={}){return function(t){if(e?.(t),!1===n||!t.defaultPrevented)return r?.(t)}}"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",()=>t])},156207,e=>{"use strict";var t=e.i(477716),r=e.i(297647);function n(e,n){let o=t.createContext(n),i=e=>{let{children:n,...i}=e,s=t.useMemo(()=>i,Object.values(i));return(0,r.jsx)(o.Provider,{value:s,children:n})};return i.displayName=e+"Provider",[i,function(r){let i=t.useContext(o);if(i)return i;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]}function o(e,n=[]){let i=[],s=()=>{let r=i.map(e=>t.createContext(e));return function(n){let o=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:o}}),[n,o])}};return s.scopeName=e,[function(n,o){let s=t.createContext(o),a=i.length;i=[...i,o];let l=n=>{let{scope:o,children:i,...l}=n,c=o?.[e]?.[a]||s,u=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(c.Provider,{value:u,children:i})};return l.displayName=n+"Provider",[l,function(r,i){let l=i?.[e]?.[a]||s,c=t.useContext(l);if(c)return c;if(void 0!==o)return o;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let o=n.reduce((t,{useScope:r,scopeName:n})=>{let o=r(e)[`__scope${n}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:o}),[o])}};return n.scopeName=r.scopeName,n}(s,...n)]}e.s(["createContext",()=>n,"createContextScope",()=>o])},556872,93074,e=>{"use strict";var t=e.i(477716),r=e.i(481938),n=e.i(144977),o=e.i(297647);function i(e){var r;let i,s=(r=e,(i=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(t.isValidElement(o)){var s;let e,a,l=(s=o,(a=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(a=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),c=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,o.props);return o.type!==t.Fragment&&(c.ref=r?(0,n.composeRefs)(r,l):l),t.cloneElement(o,c)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,i),a=t.forwardRef((e,r)=>{let{children:n,...i}=e,a=t.Children.toArray(n),c=a.find(l);if(c){let e=c.props.children,n=a.map(r=>r!==c?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,o.jsx)(s,{...i,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,o.jsx)(s,{...i,ref:r,children:n})});return a.displayName=`${e}.Slot`,a}var s=Symbol("radix.slottable");function a(e){let t=({children:e})=>(0,o.jsx)(o.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=s,t}function l(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===s}e.s(["createSlot",()=>i,"createSlottable",()=>a],93074);var c=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let n=i(`Primitive.${r}`),s=t.forwardRef((e,t)=>{let{asChild:i,...s}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(i?n:r,{...s,ref:t})});return s.displayName=`Primitive.${r}`,{...e,[r]:s}},{});function u(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}e.s(["Primitive",()=>c,"dispatchDiscreteCustomEvent",()=>u],556872)},127864,e=>{"use strict";var t=e.i(477716),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",()=>r])},653747,e=>{"use strict";var t=e.i(477716),r=e.i(144977),n=e.i(127864),o=e=>{var o;let s,a,{present:l,children:c}=e,u=function(e){var r,o;let[s,a]=t.useState(),l=t.useRef(null),c=t.useRef(e),u=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",o={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>o[e][t]??e,r));return t.useEffect(()=>{let e=i(l.current);u.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=l.current,r=c.current;if(r!==e){let n=u.current,o=i(t);e?f("MOUNT"):"none"===o||t?.display==="none"?f("UNMOUNT"):r&&n!==o?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(s){let e,t=s.ownerDocument.defaultView??window,r=r=>{let n=i(l.current).includes(CSS.escape(r.animationName));if(r.target===s&&n&&(f("ANIMATION_END"),!c.current)){let r=s.style.animationFillMode;s.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===s.style.animationFillMode&&(s.style.animationFillMode=r)})}},n=e=>{e.target===s&&(u.current=i(l.current))};return s.addEventListener("animationstart",n),s.addEventListener("animationcancel",r),s.addEventListener("animationend",r),()=>{t.clearTimeout(e),s.removeEventListener("animationstart",n),s.removeEventListener("animationcancel",r),s.removeEventListener("animationend",r)}}f("ANIMATION_END")},[s,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{l.current=e?getComputedStyle(e):null,a(e)},[])}}(l),d="function"==typeof c?c({present:u.isPresent}):t.Children.only(c),f=(0,r.useComposedRefs)(u.ref,(o=d,(a=(s=Object.getOwnPropertyDescriptor(o.props,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?o.ref:(a=(s=Object.getOwnPropertyDescriptor(o,"ref")?.get)&&"isReactWarning"in s&&s.isReactWarning)?o.props.ref:o.props.ref||o.ref));return"function"==typeof c||u.isPresent?t.cloneElement(d,{ref:f}):null};function i(e){return e?.animationName||"none"}o.displayName="Presence",e.s(["Presence",()=>o])},534643,e=>{"use strict";var t=e.i(477716),r=e.i(127864);t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function o({prop:e,defaultProp:r,onChange:o=()=>{},caller:i}){let[s,a,l]=function({defaultProp:e,onChange:r}){let[o,i]=t.useState(e),s=t.useRef(o),a=t.useRef(r);return n(()=>{a.current=r},[r]),t.useEffect(()=>{s.current!==o&&(a.current?.(o),s.current=o)},[o,s]),[o,i,a]}({defaultProp:r,onChange:o}),c=void 0!==e,u=c?e:s;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${i} 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,i])}return[u,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&l.current?.(r)}else a(t)},[c,e,a,l])]}Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",()=>o],534643)},837879,e=>{"use strict";var t=e.i(477716),r=e.i(475566),n=e.i(375570),o=e.i(682142),i=e.i(725296),s=e.i(394481);e.s(["useSubscriptionsEnabled",0,()=>{let{geoipCountry:e}=(()=>{let[e,r]=(0,t.useState)({}),n=(0,o.getCICookie)();return(0,t.useEffect)(()=>{n&&r({geoipCountry:n["TWC-GeoIP-Country"],geoipRegion:n["TWC-GeoIP-Region"],geoipCity:n["TWC-GeoIP-City"],geoipDma:n["TWC-GeoIP-DMA"],geoipLat:n["TWC-GeoIP-Lat"],geoipLong:n["TWC-GeoIP-Long"],privacy:n["TWC-Privacy"],localeGroup:n["TWC-Locale-Group"],deviceClass:n["TWC-Device-Class"],networkType:n["TWC-Network-Type"],originHint:n["X-Origin-Hint"]})},[n]),e})(),a=(0,n.useParams)()?.locale,l=(0,r.useAtomValue)(s.privacyRegimeAtom)??i.Regime.EXEMPT;return(0,t.useMemo)(()=>"US"===e&&"en-US"===a&&i.US_REGIMES.includes(l),[e,a,l])}],837879)},352194,e=>{"use strict";var t=e.i(862336);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations),o=r(0,t.useFormatter);e.s(["useFormatter",()=>o,"useTranslations",()=>n])},695018,(e,t,r)=>{function n(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}t.exports=function(e,t){t=t||{};var r,o,i,s,a=typeof e;if("string"===a&&e.length>0){var l=e;if(!((l=String(l)).length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(c){var u=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*u;case"weeks":case"week":case"w":return 6048e5*u;case"days":case"day":case"d":return 864e5*u;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*u;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*u;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*u;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return u;default:break}}}return}if("number"===a&&isFinite(e)){return t.long?(o=Math.abs(r=e))>=864e5?n(r,o,864e5,"day"):o>=36e5?n(r,o,36e5,"hour"):o>=6e4?n(r,o,6e4,"minute"):o>=1e3?n(r,o,1e3,"second"):r+" ms":(s=Math.abs(i=e))>=864e5?Math.round(i/864e5)+"d":s>=36e5?Math.round(i/36e5)+"h":s>=6e4?Math.round(i/6e4)+"m":s>=1e3?Math.round(i/1e3)+"s":i+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},702660,(e,t,r)=>{t.exports=function(t){function r(e){let t,o,i,s=null;function a(...e){if(!a.enabled)return;let n=Number(new Date);a.diff=n-(t||n),a.prev=t,a.curr=n,t=n,e[0]=r.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let o=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(t,n)=>{if("%%"===t)return"%";o++;let i=r.formatters[n];if("function"==typeof i){let r=e[o];t=i.call(a,r),e.splice(o,1),o--}return t}),r.formatArgs.call(a,e),(a.log||r.log).apply(a,e)}return a.namespace=e,a.useColors=r.useColors(),a.color=r.selectColor(e),a.extend=n,a.destroy=r.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(o!==r.namespaces&&(o=r.namespaces,i=r.enabled(e)),i),set:e=>{s=e}}),"function"==typeof r.init&&r.init(a),a}function n(e,t){let n=r(this.namespace+(void 0===t?":":t)+e);return n.log=this.log,n}function o(e,t){let r=0,n=0,o=-1,i=0;for(;r"-"+e)].join(",");return r.enable(""),e},r.enable=function(e){for(let t of(r.save(e),r.namespaces=e,r.names=[],r.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===t[0]?r.skips.push(t.slice(1)):r.names.push(t)},r.enabled=function(e){for(let t of r.skips)if(o(e,t))return!1;for(let t of r.names)if(o(e,t))return!0;return!1},r.humanize=e.r(695018),r.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(t).forEach(e=>{r[e]=t[e]}),r.names=[],r.skips=[],r.formatters={},r.selectColor=function(e){let t=0;for(let r=0;r{let n;var o=e.i(694914);r.formatArgs=function(e){if(e[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+e[0]+(this.useColors?"%c ":" ")+"+"+t.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;e.splice(1,0,r,"color: inherit");let n=0,o=0;e[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(o=n))}),e.splice(o,0,r)},r.save=function(e){try{e?r.storage.setItem("debug",e):r.storage.removeItem("debug")}catch(e){}},r.load=function(){let e;try{e=r.storage.getItem("debug")||r.storage.getItem("DEBUG")}catch(e){}return!e&&void 0!==o.default&&"env"in o.default&&(e=o.default.env.DEBUG),e},r.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},r.storage=function(){try{return localStorage}catch(e){}}(),n=!1,r.destroy=()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},r.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],r.log=console.debug||console.log||(()=>{}),t.exports=e.r(702660)(r);let{formatters:i}=t.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},695881,(e,t,r)=>{"use strict";var n=e.e&&e.e.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(r,"__esModule",{value:!0}),r.createLogger=a,r.log=function(e,t,...r){a(e)(t,...r)};let o=n(e.r(272851));o.default.log=console.info.bind(console);let i=console.error.bind(console),s="wx-next";function a(e){let t=(0,o.default)(`${s}:${e}`),r=(0,o.default)(`${s}:debug:${e}`),n=(0,o.default)(`${s}:error:${e}`),l=(0,o.default)(`${s}:warn:${e}`),c=(0,o.default)(`${s}:lifecycle:${e}`);n.log=i;let u=(e,...r)=>{t(e,...r)};return u.info=(e,...r)=>{t(e,...r)},u.debug=(e,...t)=>{r(e,...t)},u.error=(e,...t)=>{n(e,...t)},u.warn=(e,...t)=>{l(e,...t)},u.lifecycle=(e,...t)=>{c(e,...t)},u.extend=t=>a(`${e}:${t}`),u}},375570,(e,t,r)=>{t.exports=e.r(135997)},294237,e=>{"use strict";var t=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx;e.s(["cva",0,(e,t)=>o=>{var i;if((null==t?void 0:t.variants)==null)return n(e,null==o?void 0:o.class,null==o?void 0:o.className);let{variants:s,defaultVariants:a}=t,l=Object.keys(s).map(e=>{let t=null==o?void 0:o[e],n=null==a?void 0:a[e];if(null===t)return null;let i=r(t)||r(n);return s[e][i]}),c=o&&Object.entries(o).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,l,null==t||null==(i=t.compoundVariants)?void 0:i.reduce((e,t)=>{let{class:r,className:n,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...a,...c}[t]):({...a,...c})[t]===r})?[...e,r,n]:e},[]),null==o?void 0:o.class,null==o?void 0:o.className)}])},747961,e=>{"use strict";var t=e.i(297647),r=e.i(477716),n=e.i(294237),o=e.i(789876);let i=(0,n.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"}}),s=r.default.forwardRef(({icon:e,size:r,color:n,title:s,desc:a,className:l,ariaHidden:c,...u},d)=>(0,t.jsx)(e,{ref:d,className:(0,o.cn)(i({size:r,color:n}),l),title:s,desc:a,...c&&{"aria-hidden":c},...u}));s.displayName="BaseIcon",e.s(["BaseIcon",0,s])},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"]}]}}});function n(...e){return r((0,t.clsx)(e))}e.s(["cn",()=>n])},762073,144977,e=>{"use strict";var t=e.i(477716);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,o=e.map(e=>{let o=r(e,t);return n||"function"!=typeof o||(n=!0),o});if(n)return()=>{for(let t=0;tn,"useComposedRefs",()=>o],144977);var i=e.i(297647),s=Symbol.for("react.lazy"),a=t[" use ".trim().toString()];function l(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===s&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}function c(e){var r;let o,s=(r=e,(o=t.forwardRef((e,r)=>{let{children:o,...i}=e;if(l(o)&&"function"==typeof a&&(o=a(o._payload)),t.isValidElement(o)){var s;let e,a,l=(s=o,(a=(e=Object.getOwnPropertyDescriptor(s.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.ref:(a=(e=Object.getOwnPropertyDescriptor(s,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?s.props.ref:s.props.ref||s.ref),c=function(e,t){let r={...t};for(let n in t){let o=e[n],i=t[n];/^on[A-Z]/.test(n)?o&&i?r[n]=(...e)=>{let t=i(...e);return o(...e),t}:o&&(r[n]=o):"style"===n?r[n]={...o,...i}:"className"===n&&(r[n]=[o,i].filter(Boolean).join(" "))}return{...e,...r}}(i,o.props);return o.type!==t.Fragment&&(c.ref=r?n(r,l):l),t.cloneElement(o,c)}return t.Children.count(o)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,o),c=t.forwardRef((e,r)=>{let{children:n,...o}=e;l(n)&&"function"==typeof a&&(n=a(n._payload));let c=t.Children.toArray(n),u=c.find(f);if(u){let e=u.props.children,n=c.map(r=>r!==u?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,i.jsx)(s,{...o,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,i.jsx)(s,{...o,ref:r,children:n})});return c.displayName=`${e}.Slot`,c}var u=c("Slot"),d=Symbol("radix.slottable");function f(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===d}e.s(["Slot",()=>u,"createSlot",()=>c],762073)},877957,e=>{"use strict";var t=e.i(297647),r=e.i(477716),n=e.i(762073),o=e.i(294237),i=e.i(632137),s=e.i(747961);let a=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:o,...i},s)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:s,"aria-labelledby":r,"aria-describedby":o,...i,children:[n?(0,t.jsx)("desc",{id:o,children:n}):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"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(s.BaseIcon,{ref:r,icon:a,...e}));l.displayName="LoaderCircle";let c=(0,o.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:o,asChild:s=!1,disabled:a=!1,loading:u=!1,children:d,...f},m)=>{let g=s?n.Slot:"button";return(0,t.jsx)(g,{...f,className:(0,i.cn)(c({variant:r,size:o,loading:u,disabled:a}),"inline-flex items-center justify-center",e),ref:m,disabled:a||u,children:s?d:(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(l,{size:"sm",className:"mr-2 animate-spin",color:"default"===r||"destructive"===r?"inverse":"primary"}),d]})})});u.displayName="Button",e.s(["Button",()=>u],877957)},394481,e=>{"use strict";let t=(0,e.i(751931).atom)();e.s(["privacyRegimeAtom",0,t])},521350,e=>{"use strict";var t=e.i(333350);function r(){if(t.default){document.cookie="cookietest=1; max-age=1";let e=document?.cookie?.indexOf?.("cookietest=")!==-1;return document.cookie="cookietest=1; max-age=0",e}return!1}function n(){if(t.default)try{return localStorage.setItem("__storage_test__","__storage_test__"),localStorage.removeItem("__storage_test__"),!0}catch(e){if(e instanceof DOMException&&(22===e.code||1014===e.code||"QuotaExceededError"===e.name||"NS_ERROR_DOM_QUOTA_REACHED"===e.name)&&localStorage&&0!==localStorage.length)return!0}return!1}e.s(["areCookiesEnabled",()=>r,"isLocalStorageAvailable",()=>n])},947118,e=>{"use strict";var t=e.i(477716);let r=e=>(window.mParticle?.ready?.(e),()=>{}),n=()=>!!window.mParticle?.isInitialized?.(),o=()=>!1;e.s(["useIsInitialized",0,()=>(0,t.useSyncExternalStore)(r,n,o)])},737801,358273,e=>{"use strict";e.i(694914);var t=e.i(475566),r=e.i(589510),n=e.i(521350),o=e.i(627897);let i="wxu-metrics-session",s="new-metrics-session",a="metric-session-last-active-time",l=()=>{let e=(0,r.getCookie)(i);if(!e)return null;let[t="",n="",o=""]=e.split(":"),s=parseInt(n,10);return{sessionId:t,sessionStartTime:s,pageCount:parseInt(o,10)}},c=e=>{let t=new Date().getTime(),n=e&&!u();n&&d(t);let s=n?e:{},a=s.sessionId||(0,o.v4)(),l=s.sessionStartTime||t,c=s.pageCount||0,f=`${a}:${l}:${c}`;(0,r.setCookie)(i,decodeURIComponent(f),{domain:".weather.com",path:"/",maxAge:1800})},u=(e=30)=>{try{let t=new Date().getTime(),r=f(),n=new Date(r).getTime(),o=new Date(t).getTime();if(Number.isNaN(n)||Number.isNaN(o))return console.error("Invalid timestamp"),!1;return Math.abs(n-o)>60*e*1e3}catch(e){return console.error("Error in isDifferenceMoreThanMinutes",e instanceof Error?e.message:String(e)),!1}},d=e=>{(0,n.isLocalStorageAvailable)()&&localStorage.setItem(a,e.toString())},f=()=>{if(!(0,n.isLocalStorageAvailable)())return"";let e=localStorage.getItem(a);return e?parseInt(e):""};e.s(["checkSessionTimestampExpired",0,u,"deleteIsNewMestricsSession",0,()=>{(0,n.isLocalStorageAvailable)()&&localStorage.removeItem(s)},"getMetricsSession",0,l,"incrementMetricsSessionCount",0,()=>{let e=l();e&&c({...e,pageCount:e?.pageCount+1})},"isNewMetricsSession",0,()=>{if((0,n.isLocalStorageAvailable)())return localStorage.getItem(s)},"setIsNewMestricsSession",0,()=>{(0,n.isLocalStorageAvailable)()&&localStorage.setItem(s,"true")},"setMetricsSession",0,c],358273);var m=e.i(959194),g=e.i(537989),p=e.i(477716),x=e.i(827049),C=e.i(695203),v=e.i(375570),y=e.i(333350),h=e.i(472737);e.s(["useEventAttributes",0,()=>{let e=(0,m.getCampaign)(),o=(0,m.getTpcc)(),i=(0,m.getPartner)(),s=(0,n.areCookiesEnabled)(),a=(0,r.getCookie)("twc-location-country"),c=(0,r.getCookie)("twc-location-region"),u=l(),d=u?.pageCount?u?.pageCount+1:1,f=u?.sessionId||"",b=u?.sessionStartTime||0,w=(0,t.useAtomValue)(g.pageIdAtom)||"",S=(0,t.useAtomValue)(x.pageLocaleAtom),E=(0,t.useAtomValue)(C.deviceClassAtom),F=(0,v.usePathname)(),A=["article","video"].includes(w)?(0,m.stripLastPartOfSlug)(F):(0,m.getAnonymizedPath)(F),N=(0,m.getLinkReferral)(),k="u">typeof document?document.referrer:null,I=(0,h.useLocationSource)({}),T=I?.effectiveLocation?.city,M=I?.effectiveLocation?.adminDistrict,_=I?.effectiveLocation?.adminDistrictCode,L=new Date,R=L.getHours(),P=L.getDay(),D=m.WEEK_DAYS[P]||null,j=(0,r.getCookie)("twc-privacy"),O=y.default?window.DprSdk?.getCcpaSaleOptInString()??"":"",B=y.default?window.DprSdk?.getGdprConsentOptInsString()??"":"",$=!!y.default&&(window.navigator?.globalPrivacyControl??!1),U=B?.includes("functional-technology")??!1,V=B?.includes("geographically-relevant-advertising")??!1;return(0,p.useMemo)(()=>({campaign:e,tpcc:o,cookiesEnabled:s,physicalCountry:a??"",physicalState:c??"",pageId:w,partner:i,locale:S,deviceClass:E,url:A,linkReferral:N,referrer:k,pageCount:d,sessionId:f,sessionStartTime:b,schemaVersion:"nextgen",hourOfDay:R,dayOfWeek:D,wlocCity:T,wlocCountry:M,wlocState:_,privProducts:O,priv:B,gpcSignalOptOut:$,functionalTechnologies:U,geographicallyRelevantAds:V,regime:j??"",appVersion:"54a4a79e171f5129c9115c75325b8785d265f21a",wlocDMA:m.geoIPDma||null,siteMode:"normal"}),[e,o,s,a,c,w,i,S,A,N,k,d,f,b,R,D,T,M,_,B,O,$,U,V,j,m.geoIPDma])}],737801)},45846,e=>{"use strict";let t=new(e.i(245943)).UPSXClient({baseUrl:"https://upsx.weather.com"});e.s(["upsxClient",0,t])},725296,e=>{"use strict";var t,r=e.i(186316),n=((t={}).CA="ca",t.CA_QC="ca-qc",t.EXEMPT="exempt",t.GDPR="gdpr",t.JP="jp",t.KR="kr",t.LATAM_CO="latam-co",t.LATAM_DO="latam-do",t.LATAM_PE="latam-pe",t.LGPD="lgpd",t.PIPL="pipl",t.TR_KVKK="tr-kvkk",t.USA="usa",t.USA_CCPA="usa-ccpa",t.USA_CO="usa-co",t.USA_CT="usa-ct",t.USA_VA="usa-va",t.USA_UT="usa-ut",t);let o=Object.values(n);e.s(["PRIVACY_REGIMES",0,o,"RESTRICTIVE_REGIMES",0,["ca-qc","gdpr","latam-co","latam-do","latam-pe","lgpd","pipl","tr-kvkk"],"Regime",()=>n,"US_REGIMES",0,["usa","usa-ccpa","usa-co","usa-ct","usa-va"],"default",0,n,"getRegime",0,()=>(0,r.getCookie)("twc-privacy")||"exempt"])},776169,e=>{"use strict";var t=e.i(475566),r=e.i(889753),n=e.i(901351),o=e.i(310847),i=e.i(528600),s=e.i(617874),a=e.i(589510);function l(){let{user:{isUserLoggedIn:e}}=(0,i.useUser)(),[l,c]=(0,t.useAtom)(r.userPreferencesAtom),[u,d]=(0,t.useAtom)(o.wxuUserPreferenceAtom),f=async e=>{try{await n.upsxClient.preference.updatePreference(e)}catch(e){return console.error("Failed to sync preferences with server:",e),null}},m=async(t,r=!0)=>{try{let n,o=(n={...l,...t},c(n),d({...u,...t,locations:n.locations}),n);if(t?.unit){let e=(0,s.unitsSystemByName)(t.unit),r=e?.code||"e";(0,a.setCookie)(s.UNITS_COOKIE_KEY,r,{domain:"weather.com"})}return r&&e&&await f(o),{success:!0}}catch(e){return console.error("Failed to update preferences:",e),{success:!1,error:e instanceof Error?e.message:"Failed to update preferences"}}};return{syncPreferencesFromUpsx:async()=>{try{let e=await n.upsxClient.preference.getPreference();if(!e?.userID)return null;return m(e,!1),e}catch{return null}},updatePreferences:m}}e.s(["usePreferences",()=>l])}]);