(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]||(globalThis["TURBOPACK_remote_chunk_loading_global_wx-next-web"]=[])).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,i=t.f;e.s(["f",0,(e,t)=>o=>{var n;if((null==t?void 0:t.variants)==null)return i(e,null==o?void 0:o.class,null==o?void 0:o.className);let{variants:a,defaultVariants:l}=t,c=Object.keys(a).map(e=>{let t=null==o?void 0:o[e],i=null==l?void 0:l[e];if(null===t)return null;let n=r(t)||r(i);return a[e][n]}),s=o&&Object.entries(o).reduce((e,t)=>{let[r,i]=t;return void 0===i||(e[r]=i),e},{});return i(e,c,null==t||null==(n=t.compoundVariants)?void 0:n.reduce((e,t)=>{let{class:r,className:i,...o}=t;return Object.entries(o).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...l,...s}[t]):({...l,...s})[t]===r})?[...e,r,i]:e},[]),null==o?void 0:o.class,null==o?void 0:o.className)}])},147732,e=>{"use strict";e.s(["f",0,function(e,t,{signal:r,edges:i}={}){let o,n=null,a=null!=i&&i.includes("leading"),l=null==i||i.includes("trailing"),c=()=>{null!==n&&(e.apply(o,n),o=void 0,n=null)},s=null,u=()=>{null!=s&&clearTimeout(s),s=setTimeout(()=>{s=null,l&&c(),d()},t)},d=()=>{null!==s&&(clearTimeout(s),s=null),o=void 0,n=null},p=function(...e){if(r?.aborted)return;o=this,n=e;let t=null==s;u(),a&&t&&c()};return p.schedule=u,p.cancel=d,p.flush=()=>{c()},r?.addEventListener("abort",d,{once:!0}),p}])},26752,e=>{"use strict";e.i(538167);var t=e.i(282446);e.i(74492),e.i(144683);let r=new WeakMap;e.s(["f",0,function(e,i){var o;let n,a=(0,t.f)(i),l=(o=a,(n=r.get(o))||(n=new WeakSet,r.set(o,n)),n);for(let[t,...r]of e)(!l.has(t)||(null==i?void 0:i.dangerouslyForceHydrate))&&(l.add(t),a.set(t,...r))}])},348144,e=>{"use strict";var t=e.i(580547),r=e.i(458201);e.s(["default",0,function({locale:e,...i}){if(!e)throw Error(void 0);return(0,r.jsx)(t.R,{locale:e,...i})}])},990033,e=>{"use strict";let t,r="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),i=new Uint8Array(16),o=[];for(let e=0;e= 16");if(s[6]=15&s[6]|64,s[8]=63&s[8]|128,n){if((c=c||0)n.length)throw RangeError(`UUID byte range ${c}:${c+15} is out of buffer bounds`);for(let e=0;e{"use strict";let t=(0,e.i(144683).g)(!1);e.s(["f",0,t],866137);var r=e.i(538167),i=e.i(935251),o=e.i(282446),n=e.i(201542),a=e.i(682142),l=e.i(782937),c=e.i(695881),s=e.i(333350),u=e.i(64412),d=e.i(950771),p=e.i(537989),f=e.i(695203),g=e.i(158662),I=e.i(358273),m=e.i(122124),y=e.i(777638),v=e.i(924776),w=e.i(24638),h=e.i(409628),E=e.i(605781),C=e.i(963722),D=e.i(313983);let S=(0,c.createLogger)("useTrackString");e.s(["f",0,()=>{let e=(0,o.y)(p.f),t=(0,o.y)(d.f),c=(0,o.y)(f.f),L=(0,o.y)(g.f),P=(0,i.usePathname)(),{location:b}=(0,u.f)(),x=(0,w.f)(),A=(0,v.f)()&&void 0!==x,T=(0,r.useCallback)(r=>{let i=(0,a.f)(),o=i?.["TWC-GeoIP-Country"]??(0,n.getCookie)("twc-location-country"),s=i?.["TWC-GeoIP-Region"]??(0,n.getCookie)("twc-location-region"),u=i?.["TWC-Privacy"]??(0,n.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",f=window.navigator?.globalPrivacyControl??!1,g=(0,C.u)(D.d.FUNCTIONAL_TECHNOLOGY),v=(0,C.u)(D.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),w=(0,C.u)(D.d.SALE_OF_DATA),E=(0,C.u)(D.d.SENSITIVE_DATA),S=navigator?.cookieEnabled??!1,A=(0,n.getCookie)("partner")||"",T=(0,l.i)(A)??A,R=(0,I.N)(),U=R?.sessionId||"",k=new Date(R?.sessionStartTime||0).toISOString(),F=new Date,O=F.getHours(),_=h.f[F.getDay()]??"",N="article"===e||"video"===e?(0,m.Z)(P??""):(0,m.N)(P??"");return{trackString:r,pageId:e??"",schemaVersion:"nextgen",url:N,referrer:document.referrer,locale:t,deviceClass:c,partner:T,sessionId:U,sessionStartTime:k,siteMode:"normal",dayOfWeek:_,hourOfDay:O,regime:u??"",cookiesEnabled:S,gpcSignalOptOut:f,functionalTechnologies:g,geographicallyRelevantAds:v,interestBasedAds:x?.[D.d.INTEREST_BASED_ADS]??null,priv:d,privProducts:p,saleOfDataAuthorization:w,sensitiveDataAuthorization:E,campaign:(0,y.s)(),experimentJoinList:L,weatherMode:"normal",physicalCountry:o??"",physicalState:s??"",wlocCity:b?.city??null,wlocCountry:b?.countryCode??null,wlocState:b?.adminDistrictCode??null,wlocDMA:b?.dmaCd??null,samsungVersion:(0,y.L)(),appVersion:"9869d9ead0c4bc1d6d329c72c94b705ee29b8da6".slice(0,10)}},[e,t,c,L,P,b,x]);return(0,r.useCallback)(e=>{if(s.default&&e){if(!A)return void S.warn('Hightouch: Event "track-string" skipped - SDK not ready');try{(0,E.h)(T(e)),S.info('Hightouch: Event "track-string" tracked',{trackString:e})}catch(e){S.error('Hightouch: Event "track-string" failed',{error:e})}}},[A,T])}],723469)},797770,e=>{"use strict";let t=(0,e.i(144683).g)("");e.s(["f",0,t])},604323,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},513539,e=>{"use strict";var t=e.i(144683);let r=(0,t.g)(null),i=(0,t.g)(null);e.s(["M",0,i,"D",0,r])},236433,e=>{"use strict";let t=(0,e.i(144683).g)(null);e.s(["f",0,t])},647292,e=>{"use strict";let t=(0,e.i(144683).g)("");e.s(["f",0,t])},782552,e=>{"use strict";e.i(199690);var t=e.i(538167),r=e.i(935251),i=e.i(282446),o=e.i(201542),n=e.i(682142),a=e.i(782937),l=e.i(695881),c=e.i(333350),s=e.i(64412),u=e.i(950771),d=e.i(537989),p=e.i(695203),f=e.i(513539),g=e.i(158662),I=e.i(358273),m=e.i(122124),y=e.i(777638),v=e.i(727365),w=e.i(896363),h=e.i(924776),E=e.i(24638),C=e.i(409628),D=e.i(605781),S=e.i(963722),L=e.i(313983);let P=(0,l.createLogger)("useTrackModuleViewed"),b=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),x=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),A=[];function T(e){try{(0,D.T)(e),P.info(`Hightouch: Event "module-viewed" tracked - ${e.moduleId}`)}catch(e){P.error('Hightouch: Event "module-viewed" failed',{error:e})}}e.s(["f",0,()=>{let e=(0,r.usePathname)(),l=(0,i.y)(d.f),D=(0,i.y)(u.f),P=(0,i.y)(p.f),R=(0,i.y)(f.D),U=(0,i.y)(g.f),{location:k}=(0,s.f)(),F=(0,E.f)(),O=(0,h.f)()&&void 0!==F,_=(0,t.useCallback)(({moduleId:t,modulePosition:r})=>{let i=(0,n.f)(),c=i?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),s=i?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),u=i?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",f=window.navigator?.globalPrivacyControl??!1,g=(0,S.u)(L.d.FUNCTIONAL_TECHNOLOGY),h=(0,S.u)(L.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),E=(0,S.u)(L.d.SALE_OF_DATA),A=(0,S.u)(L.d.SENSITIVE_DATA),T=navigator?.cookieEnabled??!1,O=(0,o.getCookie)("partner")||"",_=(0,a.i)(O)??O,N=(0,I.N)(),M=N?.sessionId||"",G=new Date(N?.sessionStartTime||0).toISOString(),$=new Date,z=$.getHours(),j=C.f[$.getDay()]??"",H="article"===l||"video"===l?(0,m.Z)(e??""):(0,m.N)(e??""),V=(0,v.f)(k?.type),Z=k?.featureSource??null;return{moduleId:t,modulePosition:void 0===r?void 0:String(r),layoutState:R??void 0,pageId:l??"",url:H,referrer:document.referrer,locale:D,deviceClass:P,partner:_,sessionId:M,sessionStartTime:G,siteMode:"normal",dayOfWeek:j,hourOfDay:z,regime:u??"",cookiesEnabled:T,gpcSignalOptOut:f,functionalTechnologies:g,geographicallyRelevantAds:h,interestBasedAds:F?.[L.d.INTEREST_BASED_ADS]??null,priv:d,privProducts:p,saleOfDataAuthorization:E,sensitiveDataAuthorization:A,campaign:(0,y.s)(),experimentJoinList:U,weatherMode:"normal",physicalCountry:c??"",physicalState:s??"",wlocCity:k?.city??null,wlocCountry:k?.countryCode??null,wlocState:k?.adminDistrictCode??null,wlocDMA:k?.dmaCd??null,wlocId:k?.placeId??null,wlocFeatureId:k?.featureId??null,wlocFeatureSource:null!=Z&&x.has(Z)?Z:void 0,wlocTags:k?.tags?.length?(0,w.f)(k.tags):null,wlocType:null!==V&&b.has(V)?V:void 0,samsungVersion:(0,y.L)(),appVersion:"9869d9ead0c4bc1d6d329c72c94b705ee29b8da6".slice(0,10)}},[e,l,D,P,R,U,k,F]);return(0,t.useEffect)(()=>{if(!O||0===A.length)return;let e=A;A=[],e.forEach(T)},[O]),(0,t.useCallback)(e=>{if(!c.default)return;let t=_(e);O?T(t):A.push(t)},[O,_])}])},529603,e=>{"use strict";let t=null,r=null,i=e=>{if(t&&e.event.context){let i={...t,...r};e.event.context.traits=e.event.userId?{...i,twcId:String(e.event.userId)}:i}return e};e.s(["p",0,()=>r,"k",0,e=>{t=e},"E",0,e=>{r=e},"Y",0,{name:"traits-plugin",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:i,page:i}])},957582,e=>{"use strict";var t=e.i(538167);let r=[],i=new Set,o=()=>i.forEach(e=>e());function n(e){return i.add(e),()=>{i.delete(e)}}let a=()=>r.length>0,l=()=>!1;e.s(["V",0,function(e){return r.push(e),o(),()=>{let t=r.lastIndexOf(e);-1!==t&&(r.splice(t,1),o())}},"T",0,function(e){r.at(-1)?.(e)},"y",0,function(){return(0,t.useSyncExternalStore)(n,a,l)}])},630986,e=>{"use strict";var t=e.i(282446),r=e.i(604323);e.s(["f",0,()=>(0,t.y)(r.f)])},947118,221085,e=>{"use strict";let t;var r=e.i(538167);let i=new Set,o=0,n=()=>"function"==typeof window.mParticle?.init,a=()=>{void 0!==t&&(clearInterval(t),t=void 0)},l=()=>{if(!n()||(a(),0===i.size))return;let e=[...i];for(let t of(i.clear(),e))t()},c=()=>{void 0===t&&(o=0,t=setInterval(()=>{o+=100,l(),o>=3e4&&a()},100))},s=e=>(i.add(e),c(),()=>{i.delete(e)}),u=e=>n()?(e(),()=>{}):s(e),d=e=>n()?()=>{}:s(e),p=()=>!1;e.s(["h",0,u,"s",0,()=>(0,r.useSyncExternalStore)(d,n,p),"x",0,e=>{if("u"{};if(n())return l(),()=>{};c();let t=Array.from(document.scripts).find(t=>t.getAttribute("src")===e);if(!t)return()=>{};let r=()=>l();return t.addEventListener("load",r),()=>{t.removeEventListener("load",r)}}],221085);let f=e=>"function"==typeof window.mParticle?.ready?(window.mParticle?.ready?.(e),()=>{}):u(()=>{window.mParticle?.ready?.(e),e()}),g=()=>!!window.mParticle?.isInitialized?.(),I=()=>!1;e.s(["f",0,()=>(0,r.useSyncExternalStore)(f,g,I)],947118)},1567,e=>{"use strict";var t=e.i(487709),r=e.i(737801),i=e.i(282446),o=e.i(513539),n=e.i(538167);e.s(["f",0,()=>{let e="module-viewed",a=(0,r.f)(),l=(0,i.y)(o.D);return(0,n.useCallback)(({moduleId:r,modulePosition:i})=>{if(!(0,t.f)())return void console.warn("MParticle is not loaded");let o={...a,moduleId:r,modulePosition:String(i),layoutState:l};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,o),console.debug(`MParticle: Event "${e}" tracked`,o)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[a,l])}])},658547,e=>{"use strict";var t=e.i(538167),r=e.i(839315),i=e.i(491240);let o=(e,t)=>{let i,o=Date.now()+2e3;return(i=!1,Promise.race([new Promise(e=>{let t=()=>{if(!i){if(window.mParticle?.ready)return void window.mParticle.ready(()=>e());setTimeout(t,50)}};t()}),new Promise((e,t)=>{setTimeout(()=>{t(Error("MParticle did not become ready in time"))},2e3)})]).finally(()=>{i=!0})).then(()=>new Promise(i=>{let n=setTimeout(i,Math.max(0,o-Date.now()));window.mParticle?.Identity?.[e]?.(t,e=>{clearTimeout(n);let t=e?.getUser?.()?.getMPID?.();t&&(0,r._)(t),i()})}))};e.s(["f",0,()=>{let e=(0,t.useCallback)(e=>o("identify",{userIdentities:{customerid:e.customerid,email:e.email,other:(0,i.f)(e.other)}}),[]);return{identify:e,login:(0,t.useCallback)(e=>o("login",{userIdentities:{customerid:e.customerid,email:e.email,facebook:e.facebook,facebookcustomaudienceid:e.facebookcustomaudienceid,google:e.google,microsoft:e.microsoft,other:(0,i.f)(e.other),other2:(0,i.f)(e.other2),other3:(0,i.f)(e.other3),other4:(0,i.f)(e.other4),twitter:e.twitter,yahoo:e.yahoo}}),[]),logout:(0,t.useCallback)(()=>o("logout",{userIdentities:{}}),[])}}])},343277,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getLocationPointByPlaceId=l,r.getLocationPointByGeocode=c,r.getLocationPointByLocIdParam=s,r.getLocationPointByIcao=u,r.getLocationPointByCanonicalCityId=d,r.getLocationPointByFeatureId=p;let i=e.r(630585),o=e.r(678651),n=e.r(414655),a=e.r(330091);async function l(e,t){let r=(0,o.urlFrom)((0,i.getLocationPointUrlConfig)({placeId:e,language:t})),a=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,n.handleFetchResponse)(a)}async function c(e,t,r){let a=(0,o.urlFrom)((0,i.getLocationPointUrlConfig)({geocode:e,language:t,locationType:r?.locationType})),l=await fetch(a,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,n.handleFetchResponse)(l)}async function s(e,t){let r=(0,a.testLocId)(e);if(!r)throw Error("Not a valid locId or type supported");let l=(0,o.urlFrom)((0,i.getLocationPointUrlConfig)({[r.type]:r.locId,language:t})),c=await fetch(l,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,n.handleFetchResponse)(c)}async function u(e,t){let r=(0,o.urlFrom)((0,i.getLocationPointUrlConfig)({icaoCode:e,language:t,locationType:"airport"})),a=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,n.handleFetchResponse)(a)}async function d(e,t){let r=(0,o.urlFrom)((0,i.getLocationPointUrlConfig)({canonicalCityId:e,language:t})),a=await fetch(r,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,n.handleFetchResponse)(a)}async function p(e,t,r){let a=(0,o.urlFrom)((0,i.getLocationPointUrlConfig)({featureId:e,language:t,locationType:r?.locationType})),l=await fetch(a,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400,tags:[`featureId:${e}`]}});return(0,n.handleFetchResponse)(l)}},630585,(e,t,r)=>{"use strict";e.i(199690),Object.defineProperty(r,"__esModule",{value:!0}),r.getLocationSearchUrlConfig=function({query:e,language:t,locationType:r,countryCode:i,adminDistrictCode:o}){let n={query:e,language:t,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return r&&(n.locationType=r),i&&(n.countryCode=i),o&&(n.adminDistrictCode=o),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/search",query:n}},r.getLocationPointUrlConfig=function({geocode:e,locId:t,placeId:r,canonicalCityId:i,featureId:o,icaoCode:n,locationType:a,language:l}){let c={language:l,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return e&&(c.geocode=e),t&&(c.locid=t),r&&(c.placeid=r),i&&(c.canonicalCityId=i),o&&(c.featureId=o),n&&(c.icaoCode=n),a&&(c.locationType=a),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/point",query:c}}},330091,(e,t,r)=>{"use strict";var i,o;Object.defineProperty(r,"__esModule",{value:!0}),r.ErrInvalidFeatureId=r.ErrInvalidCanonicalCityID=r.ErrInvalidPlaceID=r.ErrInvalidPartialLocID9=r.ErrInvalidPartialLocID1=r.ErrInvalidUSZipCode=r.ErrInvalidLocID=r.ErrInvalidLatOrLong=r.ErrInvalidGeocode=r.ErrInvalid=r.LocationError=r.isMapboxFeatureId=r.MAPBOX_FEATURE_TYPES=r.RegExpUuidFeatureId=r.RegExpFeatureId=r.RegExpCanonicalCityID=r.RegExpPlaceID=r.RegExpPartialLocID9=r.RegExpPartialLocID1=r.RegExpUSZipCode=r.RegExpLocID=r.RegExpGeocode=r.LocationTypeMap=r.LocationType=void 0,r.valid=c,r.normalized=function(e,t){switch(t){case i.Geocode:return f(e);case i.LocID:return I(e);case i.USZipCode:return m(e);case i.PartialLocID1:return y(e);case i.PartialLocID9:return v(e);case i.PlaceID:return w(e);case i.CanonicalCityID:return h(e);case i.FeatureId:return E(e);default:return e}},r.testLocId=function(e){let t="";try{t=decodeURIComponent(e)}catch{}for(let e of(t=p(t),s))if(e.regex.test(t))try{return{type:e.type,locId:e.normalize(t)}}catch{break}return null},r.locIdFromSeoPhrase=p,r.normalizedGeocode=f,r.parseLatLonFromGeocode=function(e){let t=f(e).split(",");if(2!==t.length||!t[0]||!t[1])throw r.ErrInvalidGeocode;let i=parseFloat(t[0].trim()),o=parseFloat(t[1].trim());if(isNaN(i)||isNaN(o))throw r.ErrInvalidGeocode;return[i,o]},r.normalizeLatOrLong=g,r.normalizedLocID=I,r.normalizedUSZipCode=m,r.normalizedPartialLocID1=y,r.normalizedPartialLocID9=v,r.normalizedPlaceID=w,r.normalizedCanonicalCityID=h,r.normalizedFeatureId=E,r.geocodeFromLatLong=function(e,t){return`${e.toFixed(2)},${t.toFixed(2)}`},(o=i||(r.LocationType=i={}))[o.Geocode=0]="Geocode",o[o.LocID=1]="LocID",o[o.USZipCode=2]="USZipCode",o[o.PartialLocID1=3]="PartialLocID1",o[o.PartialLocID9=4]="PartialLocID9",o[o.PlaceID=5]="PlaceID",o[o.CanonicalCityID=6]="CanonicalCityID",o[o.FeatureId=7]="FeatureId",r.LocationTypeMap={Geocode:"geocode",LocID:"locId",USZipCode:"locId",PartialLocID1:"locId",PartialLocID9:"locId",PlaceID:"placeId",CanonicalCityID:"canonicalCityId",FeatureId:"featureId"},r.RegExpGeocode=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/;let n=/.*(\+|-|\s)+(\w*|(\w{4}\d{4})|(\d+))(:(1|4|5|9|11|13|16|17|19|21|25|27|28))?(:\w{2})?$/;r.RegExpLocID=/^([^+|^:]*):(1|4|5|9|11|13|16|17|19|21|25|27|28):\w{2}$/,r.RegExpUSZipCode=/^\d{5}(:\d)?(\w{2})?$/,r.RegExpPartialLocID1=/^\w{4}\d{4}(:1)?$/,r.RegExpPartialLocID9=/^([a-zA-Z]{3}):.*$/,r.RegExpPlaceID=/^([0-9a-f]){32,}$/,r.RegExpCanonicalCityID=r.RegExpPlaceID,r.RegExpFeatureId=/^(place|locality|neighborhood|postcode|poi|ski|airport|address|district|region|country)\.[\w.]+$/i,r.RegExpUuidFeatureId=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,r.MAPBOX_FEATURE_TYPES=["place","locality","neighborhood","postcode","address","district","region","country"];let a=RegExp(`^(${r.MAPBOX_FEATURE_TYPES.join("|")})\\.[\\w.]+$`,"i");r.isMapboxFeatureId=e=>a.test(e);class l extends Error{constructor(e){super(e),this.name="LocationError"}}function c(e,t){switch(t){case i.Geocode:return r.RegExpGeocode.test(e)&&"0.00,0.00"!==e;case i.LocID:return r.RegExpLocID.test(e);case i.USZipCode:return r.RegExpUSZipCode.test(e);case i.PartialLocID1:return r.RegExpPartialLocID1.test(e);case i.PartialLocID9:return r.RegExpPartialLocID9.test(e);case i.PlaceID:return r.RegExpPlaceID.test(e);case i.CanonicalCityID:return r.RegExpCanonicalCityID.test(e);case i.FeatureId:return r.RegExpFeatureId.test(e)||r.RegExpUuidFeatureId.test(e);default:return!1}}r.LocationError=l,r.ErrInvalid=new l("location: invalid location"),r.ErrInvalidGeocode=new l("location: invalid location: invalid geocode"),r.ErrInvalidLatOrLong=new l("location: invalid location: invalid latitude or longitude"),r.ErrInvalidLocID=new l("location: invalid location: invalid locid"),r.ErrInvalidUSZipCode=new l("location: invalid location: invalid US zip code"),r.ErrInvalidPartialLocID1=new l("location: invalid location: invalid partial locid type 1"),r.ErrInvalidPartialLocID9=new l("location: invalid location: invalid partial locid type 9"),r.ErrInvalidPlaceID=new l("location: invalid location: invalid placeid"),r.ErrInvalidCanonicalCityID=new l("location: invalid location: invalid canonical city ID"),r.ErrInvalidFeatureId=new l("location: invalid location: invalid featureId");let s=[{regex:r.RegExpFeatureId,type:r.LocationTypeMap.FeatureId,normalize:E},{regex:r.RegExpUuidFeatureId,type:r.LocationTypeMap.FeatureId,normalize:E},{regex:r.RegExpGeocode,type:r.LocationTypeMap.Geocode,normalize:f},{regex:r.RegExpLocID,type:r.LocationTypeMap.LocID,normalize:I},{regex:r.RegExpUSZipCode,type:r.LocationTypeMap.USZipCode,normalize:m},{regex:r.RegExpPartialLocID1,type:r.LocationTypeMap.PartialLocID1,normalize:y},{regex:r.RegExpPartialLocID9,type:r.LocationTypeMap.PartialLocID9,normalize:v},{regex:r.RegExpPlaceID,type:r.LocationTypeMap.PlaceID,normalize:w},{regex:r.RegExpCanonicalCityID,type:r.LocationTypeMap.CanonicalCityID,normalize:h}],u=/-/,d=/\s/;function p(e){if(r.RegExpUuidFeatureId.test(e))return e;let t=e;if(n.test(e))if(u.test(e)){let r=e.split("-").pop();r&&(t=r)}else if(d.test(e)){let r=e.split(" ").pop();r&&(t=r)}else{let r=e.split("+").pop();r&&(t=r)}return t}function f(e){if(""===e||!c(e,i.Geocode))throw r.ErrInvalidGeocode;let t=e.split(",");if(2!==t.length)throw r.ErrInvalidGeocode;try{for(let e=0;e{"use strict";e.s(["x",0,function(e){return"snowcast"===e||e.startsWith("snowcast-")},"U",0,function(e){return"ios"===e||e.endsWith("-ios")}])},5397,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},752496,e=>{"use strict";var t=e.i(538167),r=e.i(609858);let i=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:o,page:n,onUpdateData:a,onSetPageData:l}){let{updateComponentData:c,setPageData:s}=(0,r.f)(),u=(0,t.useRef)(!1),d=a||c,p=l||s;return(0,t.useEffect)(()=>{if(o)return i.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(o),hasPerformance:!!o.performance,hasContext:!!o.context}),d(e,{...o,_collectedAt:new Date().toISOString()}),()=>{i.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,o,d]),(0,t.useEffect)(()=>{n&&!u.current&&(i.lifecycle("Setting page metadata",{title:n.title,assetName:n.assetName,collection:n.collection}),p({...n,_updatedAt:new Date().toISOString()}),u.current=!0)},[n,p]),null}])},609858,674339,e=>{"use strict";var t=e.i(282446),r=e.i(538167);let i=(0,e.i(144683).g)({timestamp:new Date().toISOString()});e.s(["f",0,i],674339),e.s(["f",0,function(){let[e,o]=(0,t.q)(i),n=(0,r.useCallback)((e,t)=>{o(r=>{let i=r?.[e]||{},o="object"==typeof t&&null!==t&&"object"==typeof i?{...i,...t}:t;return{...r,[e]:o}})},[o]),a=(0,r.useCallback)((e,t)=>{o(r=>{let i=r||{timestamp:new Date().toISOString()},o=i.components||{};if(null===t){let t={...o};return delete t[e],{...i,components:t}}return{...i,components:{...o,[e]:t}}})},[o]),l=(0,r.useCallback)(e=>{n("page",e)},[n]),c=(0,r.useCallback)(e=>{n("route",e)},[n]),s=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&n(e,t)})},[n]);return{debugData:e,updateSection:n,updateComponentData:a,setPageData:l,clearAllDebugData:(0,r.useCallback)(()=>{o({timestamp:new Date().toISOString()})},[o]),updateRouteInfo:c,updatePageDebug:s}}],609858)},87809,358233,e=>{"use strict";var t,r=e.i(584169),i=((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);Object.values(i),e.s(["E",0,["ca-qc","gdpr","latam-co","latam-do","latam-pe","lgpd","pipl","tr-kvkk"],"Q",()=>i,"D",0,["usa","usa-ccpa","usa-co","usa-ct","usa-va"]],358233);let o={"usa-ut":i.USA},n=e=>e?o[e]??e:void 0;e.s(["U",0,i,"o",0,()=>(()=>{let e=(0,r.getCookie)("ci")?.toString();if(e)for(let t of e.split("&")){let e=t.indexOf("=");if(e>-1&&"TWC-Privacy"===t.slice(0,e))return n(t.slice(e+1))}})()??n((0,r.getCookie)("twc-privacy")?.toString())??i.EXEMPT],87809)},846871,e=>{"use strict";var t=e.i(458201),r=e.i(294237),i=e.i(632137);let o=(0,r.f)("inline-block rounded-full border-solid animate-spin box-border",{variants:{size:{sm:"w-4 h-4 border-[2px]",md:"w-6 h-6 border-[2px]",lg:"w-8 h-8 border-[3px]"},variant:{white:"border-white border-b-transparent",primary:"border-brand-400 border-b-transparent",black:"border-[#252422] border-b-transparent"}},defaultVariants:{size:"sm",variant:"black"}});e.s(["f",0,({className:e,size:r,variant:n,label:a})=>(0,t.jsx)("div",{className:(0,i.f)(o({size:r,variant:n}),e),"aria-label":a})])},632137,e=>{"use strict";var t=e.i(7284);let r=(0,e.i(923191).f)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["f",0,function(...e){return r((0,t.f)(e))}])},617874,e=>{"use strict";let t="Imperial",r="Metric",i="Hybrid",o={code:"e",name:t,temp:"F",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"in"},n={code:"m",name:r,temp:"C",speed:"km/h",distance:"km",accumulation:"cm",precip:"mm",pressure:"mb"},a={code:"h",name:i,temp:"C",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"mb"};e.s(["S",0,"unitOfMeasurement","C",0,i,"G",0,t,"Y",0,r,"y",0,o,"i",0,function(e){switch(e?.toLowerCase()){case"e":case"f":return o;case"m":case"c":return n;case"h":return a;default:return null}},"H",0,function(e=""){switch(e.toLowerCase()){case"imperial":case"Imperial":return o;case"metric":case"Metric":return n;case"hybrid":case"Hybrid":return a;default:return null}}])},756227,e=>{"use strict";var t=e.i(282446),r=e.i(74492),i=e.i(889753),o=e.i(905059),n=e.i(310847),a=e.i(960576),l=e.i(317298),c=e.i(839315),s=e.i(391174),u=e.i(735526),d=e.i(90543),p=e.i(529603);e.s(["f",0,function(){let e=(0,t.F)(i.Y),f=(0,t.F)(n.n),g=(0,t.F)(i.s),I=(0,t.F)(o.f);return()=>{(0,s.f)(),(0,l.n)(),e(r.s),f(null),g(r.s),I(r.s),(0,a.c)(),(0,u.K)(),(0,p.E)(null),(0,c.x)(),(0,d.$)()}}])},735526,e=>{"use strict";let t="wx-next/account-created";e.s(["K",0,function(){try{sessionStorage.removeItem(t)}catch{}},"q",0,function(){try{sessionStorage.setItem(t,"true")}catch{}},"$",0,function(){try{return"true"===sessionStorage.getItem(t)}catch{return!1}}])},90543,e=>{"use strict";var t=e.i(521350);let r="wxu-auth-epoch",i="wxu-rendered-tier";function o(e){return(0,t.isLocalStorageAvailable)()?localStorage.getItem(e):null}function n(e,r){(0,t.isLocalStorageAvailable)()&&localStorage.setItem(e,r)}e.s(["$",0,function(){n(r,String(Date.now()))},"T",0,function({renderedTier:e,recordedTier:t,epochAtLoad:r,currentEpoch:i}){return null!==t&&t!==e||void 0!==r&&r!==i},"R",0,function(){return o(r)},"J",0,function(){return o(i)},"K",0,function(e){n(i,e)}])},391174,184059,e=>{"use strict";var t=e.i(284981);e.s(["f",()=>t.j],184059);var t=t,r=e.i(892504);e.s(["f",0,()=>{(0,t.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1}),(0,r.p)()}],391174)},45846,e=>{"use strict";e.i(199690);var t=e.i(245943),r=e.i(810564);let i=new t.UPSXClient({baseUrl:(0,r.Z)("https://upsx.weather.com")});e.s(["f",0,i])},143778,e=>{"use strict";let t=(0,e.i(74492).N)("wxu-web/keyval:emailSubscriptions",null,void 0,{getOnInit:!0});e.s(["f",0,t])},889753,301904,e=>{"use strict";var t=e.i(74492),r=e.i(617874),i=e.i(990033),o=e.i(144683),n=e.i(543512);let a={animationSpeed:1,autoplay:!0,opacity:90,roadOverlay:"default",style:"default"};e.s(["f",0,a],301904);let l=(0,o.g)(n.H.none),c=(0,t.N)("userProfile",null,void 0,{getOnInit:!0}),{subscribe:s,...u}=(0,t.j)(),d=(0,t.N)("twcId",{twcID:null,hashedTwcID:null,expiresAt:null,manifestVersion:null,installationID:null},u,{getOnInit:!0}),p=(0,t.N)("userPreferences",{userID:(0,i.f)(),unit:r.G,locations:[],locale:"en_US",mapSettings:a,favoriteWeatherComponents:[],favoriteActivityComponents:[],dashboard:[]},void 0,{getOnInit:!0});e.s(["s",0,d,"u",0,p,"Y",0,c,"x",0,l],889753)},579310,e=>{"use strict";var t=e.i(144683),r=e.i(889753);let i=(0,e.i(532923).f)(r.u,e=>e.prop("locations")),o=(0,t.g)(e=>e(r.u)?.locations||[]);(0,t.g)(e=>{let t=e(o);return t?.find(e=>0===e.position)||t?.[0]||null}),(0,t.g)(e=>(e(o)?.length||0)>0),e.s(["R",0,i,"r",0,o])},905059,e=>{"use strict";let t=(0,e.i(74492).N)("wx-next/user:mapLayerOrder",null,void 0,{getOnInit:!0});e.s(["f",0,t])},398444,e=>{"use strict";let t=(0,e.i(144683).g)(!1);e.s(["f",0,t])},528600,42318,e=>{"use strict";let t;var r=e.i(538167),i=e.i(282446),o=e.i(794120);let n=(0,e.i(831153).K)(o.U,e=>(t,r,i)=>(i.revalidateOnFocus=!1,i.revalidateIfStale=!1,i.revalidateOnReconnect=!1,e(t,r,i)));e.s(["f",0,n],42318);var a=e.i(889753),l=e.i(901351),c=e.i(310847),s=e.i(543512),u=e.i(990033),d=e.i(333350),p=e.i(495110),f=e.i(513513),g=e.i(960576);e.s(["f",0,function(){let[e,o]=(0,i.q)(a.Y),[I,m]=(0,i.q)(c.E),[y,v]=(0,i.q)(c.n),[w,h]=(0,r.useState)(!1),E=(0,i.F)(c.C),C=(0,p.f)();d.default&&!w&&(E(window.location.href),h(!0));let D=(0,i.y)(a.x),S=(0,f.J)(D),L=I;!L&&d.default&&(t||(t=(0,g.L)()??(0,u.f)()),L=t),d.default&&!I&&L&&m(L),!e&&y&&o(y);let P=n(S?"upsx/id":null,()=>l.f.account.getAccountId(),{shouldRetryOnError:e=>"APIError"!==e.name}),{userID:b=""}=P?.data||{},x=n(b&&e?.userID!==b?"upsx/account":null,()=>l.f.account.getAccount(),{shouldRetryOnError:e=>"APIError"!==e.name,onSuccess:e=>{o(e),v(e)}});return{user:{anonId:L,userID:b,isUserLoggedIn:S,subscriptionTier:D,isUserPremium:(0,f.Z)(D),isUserAdFree:D===s.H.adFree},userProfile:C?null:e,isUserIdLoading:P.isLoading,userIdError:P.error,profileError:x.error}}],528600)},543512,e=>{"use strict";var t,r=((t={})[t.none=-1]="none",t[t.standard=0]="standard",t[t.premium=1]="premium",t[t.adFree=2]="adFree",t[t.premiumWithAd=3]="premiumWithAd",t);let i=Object.entries(r).reduce((e,[t,r])=>(e[r]=t,e),{});Object.entries(r).reduce((e,[t,r])=>(e[r.toString()]=r,e),{}),e.s(["L",0,[1,2,3],"m",0,i,"H",()=>r,"j",0,{standard:0,tier0:1,tier1:1,"ad-free-v2":2,tier3:3}])},960576,e=>{"use strict";let t="wxu-exp-anon-id";e.s(["c",0,function(){try{window.localStorage.removeItem(t)}catch{}},"L",0,function(){let e=window.__wxExperimentDeviceId;if("string"==typeof e&&e)return e;try{return window.localStorage.getItem(t)||void 0}catch{return}}])},160317,e=>{"use strict";var t=e.i(543512);e.s(["f",0,function(e){return t.m[e]??t.m[t.H.none]}])},513513,e=>{"use strict";var t=e.i(543512);t.H.none,t.H.standard,t.H.adFree,t.H.premium,t.H.premiumWithAd,e.s(["O",0,function(e){return void 0!==e&&t.L.includes(e)},"J",0,function(e){return void 0!==e&&e>t.H.none},"Z",0,function(e){return t.L.includes(e)}],513513)},317298,e=>{"use strict";let t="wxu-next-session-intent",r=["fpdprobnsitop1intent","fpdprobnsitop2intent","fpdprobnsitop3intent"],i=new Set(["article","video"]);e.s(["n",0,function(){try{localStorage.removeItem(t)}catch{}},"B",0,function(e){return!!e&&r.some(t=>{let r=e[t];return"string"==typeof r&&i.has(r.trim().toLowerCase())})},"o",0,function(){try{let e=localStorage.getItem(t);if(!e)return null;let r=JSON.parse(e);if(r&&"object"==typeof r&&"promotesNews"in r&&"boolean"==typeof r.promotesNews)return{promotesNews:r.promotesNews};return null}catch{return null}},"d",0,function(e){try{localStorage.setItem(t,JSON.stringify({promotesNews:e.promotesNews}))}catch{}}])},839315,e=>{"use strict";var t=e.i(584169);let r="wxu-web/keyval:mparticleUser";e.s(["x",0,()=>{try{localStorage.removeItem(r)}catch{}},"S",0,({upsxId:e,anonId:t})=>{let r="wxu-web/keyval:airlyticsUserAttributes"in localStorage,i="wxu-web/keyval:airlyticsEventQueue"in localStorage;return r&&i?e?`user:${e}`:`devices:${t}`:null},"d",0,()=>{let e=(0,t.getCookie)("s_vi")?.toString();if(!e||"string"!=typeof e)return null;let r=e.split("|");return r&&Array.isArray(r)&&"string"==typeof r[1]&&r[1].split("[")[0]||null},"t",0,()=>{let e,r,i=(e=window?.top,(r=e?._sp_?.metricData?.propertyId)||null),o=window?.top,n=o?._sp_?.config?.authId||(0,t.getCookie)("consentUUID")?.toString();return n&&i?`${i}:${n}`:null},"N",0,()=>{try{let e=JSON.parse(localStorage.getItem(r)||"{}");return e?.value?.mpid||null}catch{return null}},"H",0,()=>window?.mParticle?.Identity?.getCurrentUser?.()?.getUserIdentities?.()?.userIdentities?.customerid||null,"u",0,()=>{let e=window?.mParticle?.Identity?.getCurrentUser?.()?.getMPID?.();return e||null},"_",0,e=>{try{localStorage.setItem(r,JSON.stringify({value:{mpid:e},updatedAt:Date.now()}))}catch{}}])},892504,e=>{"use strict";let t="upsx-purchase-checked-at";e.s(["p",0,()=>{try{localStorage.removeItem(t)}catch{}},"q",0,()=>{try{localStorage.setItem(t,String(Date.now()))}catch{}},"r",0,()=>{try{let e=localStorage.getItem(t);if(!e)return!1;let r=Number(e);if(!Number.isFinite(r))return!1;return Date.now()-r{"use strict";var t=e.i(553329),r=e.i(901351);async function i(e){let{data:i,error:o}=await (0,t.f)(r.f.identity.resolve(e));return o||"string"!=typeof i?.twcID||!i.twcID?{twcId:null,error:o??null}:{twcId:{twcID:i.twcID,hashedTwcID:i.hashedTwcID,expiresAt:i.expiresAt,manifestVersion:i.manifestVersion,installationID:e},error:null}}e.s(["f",0,i],74874);let o=(0,e.i(695881).createLogger)("MParticleIdentity");e.s(["f",0,e=>"string"==typeof e&&e.length>256?(o.warn(`identity value exceeded 256 chars (${e.length}); truncating`),e.slice(0,256)):e],491240)},901351,e=>{"use strict";e.i(199690);var t=e.i(245943),r=e.i(810564);let i=new t.UPSXClient({baseUrl:(0,r.Z)("https://upsx.weather.com")});e.s(["f",0,i])},436028,e=>{"use strict";e.s(["f",0,e=>Array.isArray(e)&&e.length>0])},991511,e=>{"use strict";var t=e.i(538167),r=e.i(26752),i=e.i(282446);e.s(["f",0,e=>{(0,r.f)(e);let o=(0,i.f)(),n=(0,t.useRef)(e);n.current=e,(0,t.useEffect)(()=>{for(let[e,t]of n.current)o.get(e)!==t&&o.set(e,t)})}])}]);