(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,147732,e=>{"use strict";e.s(["f",0,function(e,t,{signal:a,edges:i}={}){let r,o=null,n=null!=i&&i.includes("leading"),l=null==i||i.includes("trailing"),c=()=>{null!==o&&(e.apply(r,o),r=void 0,o=null)},s=null,d=()=>{null!=s&&clearTimeout(s),s=setTimeout(()=>{s=null,l&&c(),u()},t)},u=()=>{null!==s&&(clearTimeout(s),s=null),r=void 0,o=null},p=function(...e){if(a?.aborted)return;r=this,o=e;let t=null==s;d(),n&&t&&c()};return p.schedule=d,p.cancel=u,p.flush=()=>{c()},a?.addEventListener("abort",u,{once:!0}),p}])},26752,e=>{"use strict";e.i(538167);var t=e.i(282446);e.i(74492),e.i(144683);let a=new WeakMap;e.s(["f",0,function(e,i){var r;let o,n=(0,t.f)(i),l=(r=n,(o=a.get(r))||(o=new WeakSet,a.set(r,o)),o);for(let[t,...a]of e)(!l.has(t)||(null==i?void 0:i.dangerouslyForceHydrate))&&(l.add(t),n.set(t,...a))}])},348144,e=>{"use strict";var t=e.i(580547),a=e.i(458201);e.s(["default",0,function({locale:e,...i}){if(!e)throw Error(void 0);return(0,a.jsx)(t.R,{locale:e,...i})}])},866137,723469,e=>{"use strict";let t=(0,e.i(144683).g)(!1);e.s(["f",0,t],866137);var a=e.i(538167),i=e.i(935251),r=e.i(282446),o=e.i(201542),n=e.i(682142),l=e.i(782937),c=e.i(695881),s=e.i(333350),d=e.i(64412),u=e.i(950771),p=e.i(537989),g=e.i(695203),f=e.i(158662),m=e.i(358273),y=e.i(122124),h=e.i(777638),v=e.i(924776),w=e.i(24638),I=e.i(409628),E=e.i(605781),C=e.i(963722),x=e.i(313983);let b=(0,c.createLogger)("useTrackString");e.s(["f",0,()=>{let e=(0,r.y)(p.f),t=(0,r.y)(u.f),c=(0,r.y)(g.f),k=(0,r.y)(f.f),T=(0,i.usePathname)(),{location:D}=(0,d.f)(),L=(0,w.f)(),P=(0,v.f)()&&void 0!==L,S=(0,a.useCallback)(a=>{let i=(0,n.f)(),r=i?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),s=i?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),d=i?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),u=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",g=window.navigator?.globalPrivacyControl??!1,f=(0,C.u)(x.d.FUNCTIONAL_TECHNOLOGY),v=(0,C.u)(x.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),w=(0,C.u)(x.d.SALE_OF_DATA),E=(0,C.u)(x.d.SENSITIVE_DATA),b=navigator?.cookieEnabled??!1,P=(0,o.getCookie)("partner")||"",S=(0,l.i)(P)??P,R=(0,m.N)(),j=R?.sessionId||"",F=new Date(R?.sessionStartTime||0).toISOString(),A=new Date,U=A.getHours(),_=I.f[A.getDay()]??"",O="article"===e||"video"===e?(0,y.Z)(T??""):(0,y.N)(T??"");return{trackString:a,pageId:e??"",schemaVersion:"nextgen",url:O,referrer:document.referrer,locale:t,deviceClass:c,partner:S,sessionId:j,sessionStartTime:F,siteMode:"normal",dayOfWeek:_,hourOfDay:U,regime:d??"",cookiesEnabled:b,gpcSignalOptOut:g,functionalTechnologies:f,geographicallyRelevantAds:v,interestBasedAds:L?.[x.d.INTEREST_BASED_ADS]??null,priv:u,privProducts:p,saleOfDataAuthorization:w,sensitiveDataAuthorization:E,campaign:(0,h.s)(),experimentJoinList:k,weatherMode:"normal",physicalCountry:r??"",physicalState:s??"",wlocCity:D?.city??null,wlocCountry:D?.countryCode??null,wlocState:D?.adminDistrictCode??null,wlocDMA:D?.dmaCd??null,samsungVersion:(0,h.L)(),appVersion:"7eaf4dae950cce1a19383ffbeefdd18c3e5a81d1".slice(0,10)}},[e,t,c,k,T,D,L]);return(0,a.useCallback)(e=>{if(s.default&&e){if(!P)return void b.warn('Hightouch: Event "track-string" skipped - SDK not ready');try{(0,E.h)(S(e)),b.info('Hightouch: Event "track-string" tracked',{trackString:e})}catch(e){b.error('Hightouch: Event "track-string" failed',{error:e})}}},[P,S])}],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 a=(0,t.g)(null),i=(0,t.g)(null);e.s(["M",0,i,"D",0,a])},236433,e=>{"use strict";let t=(0,e.i(144683).g)(null);e.s(["f",0,t])},128541,e=>{"use strict";var t=e.i(74492);let a=(0,t.j)(()=>sessionStorage),i=(0,t.N)("wx-purchase-source-attribution",null,a);e.s(["f",0,i])},647292,e=>{"use strict";let t=(0,e.i(144683).g)("");e.s(["f",0,t])},320209,e=>{"use strict";e.i(199690);var t=e.i(538167),a=e.i(935251),i=e.i(282446),r=e.i(201542),o=e.i(682142),n=e.i(782937),l=e.i(695881),c=e.i(333350),s=e.i(64412),d=e.i(950771),u=e.i(537989),p=e.i(695203),g=e.i(158662),f=e.i(358273),m=e.i(122124),y=e.i(727365),h=e.i(896363),v=e.i(777638),w=e.i(924776),I=e.i(24638),E=e.i(409628),C=e.i(605781),x=e.i(963722),b=e.i(313983);let k=(0,l.createLogger)("useTrackAssetViewed"),T=[],D=null;function L(e){try{(0,C.o)(e),k.info(`Hightouch: Event "asset-viewed" tracked - ${e.contentId}`)}catch(e){k.error('Hightouch: Event "asset-viewed" failed',e)}}e.s(["c",0,function(e){try{D?.(e)}catch(e){k.error('Hightouch: Event "asset-viewed" failed',e)}},"f",0,()=>{let e=(()=>{let e=(0,a.usePathname)(),l=(0,i.y)(u.f),C=(0,i.y)(d.f),k=(0,i.y)(p.f),D=(0,i.y)(g.f),{location:P}=(0,s.f)(),S=(0,I.f)(),R=(0,w.f)()&&void 0!==S,j=(0,t.useCallback)(({moduleId:t,contentId:a,assetMediaType:i,title:c,pos:s,tagsKeyword:d})=>{let u=(0,o.f)(),p=u?.["TWC-GeoIP-Country"]??(0,r.getCookie)("twc-location-country"),g=u?.["TWC-GeoIP-Region"]??(0,r.getCookie)("twc-location-region"),w=u?.["TWC-Privacy"]??(0,r.getCookie)("twc-privacy"),I=window.DprSdk?.getGdprConsentOptInsString()??"",T=window.DprSdk?.getCcpaSaleOptInString()??"",L=window.navigator?.globalPrivacyControl??!1,R=(0,x.u)(b.d.FUNCTIONAL_TECHNOLOGY),j=(0,x.u)(b.d.GEOGRAPHICALLY_RELEVANT_ADVERTISING),F=(0,x.u)(b.d.SALE_OF_DATA),A=(0,x.u)(b.d.SENSITIVE_DATA),U=navigator?.cookieEnabled??!1,_=(0,r.getCookie)("partner")||"",O=(0,n.i)(_)??_,N=(0,f.N)(),z=N?.sessionId||"",G=new Date(N?.sessionStartTime||0).toISOString(),M=new Date,$=M.getHours(),Z=E.f[M.getDay()]??"",K="article"===l||"video"===l?(0,m.Z)(e??""):(0,m.N)(e??"");return{moduleId:t,contentId:a,assetMediaType:i,title:c,pos:String(s),tagsKeyword:d??null,pageId:l??"",schemaVersion:"nextgen",url:K,referrer:document.referrer,locale:C,deviceClass:k,partner:O,sessionId:z,sessionStartTime:G,siteMode:"normal",dayOfWeek:Z,hourOfDay:$,regime:w??"",cookiesEnabled:U,gpcSignalOptOut:L,functionalTechnologies:R,geographicallyRelevantAds:j,interestBasedAds:S?.[b.d.INTEREST_BASED_ADS]??null,priv:I,privProducts:T,saleOfDataAuthorization:F,sensitiveDataAuthorization:A,campaign:(0,v.s)(),experimentJoinList:D,weatherMode:"normal",physicalCountry:p??"",physicalState:g??"",wlocCity:P?.city??null,wlocCountry:P?.countryCode??null,wlocState:P?.adminDistrictCode??null,wlocDMA:P?.dmaCd??null,wlocId:P?.placeId??null,wlocFeatureId:P?.featureId??null,wlocTags:P?.tags?.length?(0,h.f)(P.tags):null,wlocType:(0,y.f)(P?.type),samsungVersion:(0,v.L)(),appVersion:"7eaf4dae950cce1a19383ffbeefdd18c3e5a81d1".slice(0,10)}},[e,l,C,k,D,P,S]);return(0,t.useEffect)(()=>{if(!R||0===T.length)return;let e=T;T=[],e.forEach(L)},[R]),(0,t.useCallback)(e=>{if(!c.default)return;let t=j(e);R?L(t):T.push(t)},[R,j])})();(0,t.useEffect)(()=>(D=e,()=>{D===e&&(D=null)}),[e])}])},529603,e=>{"use strict";let t=null,a=null,i=e=>{if(t&&e.event.context){let i={...t,...a};e.event.context.traits=e.event.userId?{...i,twcId:String(e.event.userId)}:i}return e};e.s(["p",0,()=>a,"k",0,e=>{t=e},"E",0,e=>{a=e},"Y",0,{name:"traits-plugin",type:"enrichment",version:"1.0.0",isLoaded:()=>!0,load:()=>Promise.resolve(),track:i,page:i}])},122124,e=>{"use strict";var t=e.i(388706);let a=Object.fromEntries(t._.map(e=>[e.suffix,e.urlType])),i=RegExp(`^(?/[a-z]{2}-[A-Z]{2})?/.+/(?:city|locality|neighborhood|postcode|poi|ski|airport)/[^/]+/(?${t.o})(?:/day-[1-9][0-9]*)?$`);e.s(["N",0,function(e){var t,r;let o,n,l,c,s,d=(o=e,n=e?.indexOf?.("?"),l=e?.indexOf?.("#"),n>-1?o=o.substring(0,n):l>-1&&(o=o.substring(0,l)),o);if(t=d,c=i.exec(t)?.groups,r=d=(s=c?.suffix?a[c.suffix]:void 0)?`${c?.locale??""}/${s}/l`:t,"/index.html"===(d=r?.replace?.(/\/l\/[^/]+/gi,"/l"))||"/"===d||""===d)d="/";else{let e=d?.split("/")||[],t=e.length-1,a=e[t]??"";"news"!==(t>0?e[t-1]:"")&&(a.match(/[A-Z]/)||a.match(/[0-9]/)||a.match(/[@#$%&!*:]/)||""===a)&&e.pop(),d=e.join("/")}return d},"Z",0,(e="")=>{let t=e.split("/");return t?.[t.length-1]===""&&t.pop(),t.slice(0,t.length-1).join("/")}])},630986,e=>{"use strict";var t=e.i(282446),a=e.i(604323);e.s(["f",0,()=>(0,t.y)(a.f)])},658547,e=>{"use strict";var t=e.i(538167),a=e.i(839315),i=e.i(491240);let r=(e,t)=>{let i,r=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 o=setTimeout(i,Math.max(0,r-Date.now()));window.mParticle?.Identity?.[e]?.(t,e=>{clearTimeout(o);let t=e?.getUser?.()?.getMPID?.();t&&(0,a._)(t),i()})}))};e.s(["f",0,()=>{let e=(0,t.useCallback)(e=>r("identify",{userIdentities:{customerid:e.customerid,email:e.email,other:(0,i.f)(e.other)}}),[]);return{identify:e,login:(0,t.useCallback)(e=>r("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)(()=>r("logout",{userIdentities:{}}),[])}}])},514285,e=>{"use strict";let t=new Set;e.s(["T",0,()=>t.clear(),"g",0,e=>t.has(e),"U",0,e=>{e&&t.add(new URL(e,window.location.href).pathname)}])},343277,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.getLocationPointByPlaceId=l,a.getLocationPointByGeocode=c,a.getLocationPointByLocIdParam=s,a.getLocationPointByIcao=d,a.getLocationPointByCanonicalCityId=u,a.getLocationPointByFeatureId=p;let i=e.r(630585),r=e.r(678651),o=e.r(414655),n=e.r(330091);async function l(e,t){let a=(0,r.urlFrom)((0,i.getLocationPointUrlConfig)({placeId:e,language:t})),n=await fetch(a,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,o.handleFetchResponse)(n)}async function c(e,t,a){let n=(0,r.urlFrom)((0,i.getLocationPointUrlConfig)({geocode:e,language:t,locationType:a?.locationType})),l=await fetch(n,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,o.handleFetchResponse)(l)}async function s(e,t){let a=(0,n.testLocId)(e);if(!a)throw Error("Not a valid locId or type supported");let l=(0,r.urlFrom)((0,i.getLocationPointUrlConfig)({[a.type]:a.locId,language:t})),c=await fetch(l,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,o.handleFetchResponse)(c)}async function d(e,t){let a=(0,r.urlFrom)((0,i.getLocationPointUrlConfig)({icaoCode:e,language:t,locationType:"airport"})),n=await fetch(a,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,o.handleFetchResponse)(n)}async function u(e,t){let a=(0,r.urlFrom)((0,i.getLocationPointUrlConfig)({canonicalCityId:e,language:t})),n=await fetch(a,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,o.handleFetchResponse)(n)}async function p(e,t,a){let n=(0,r.urlFrom)((0,i.getLocationPointUrlConfig)({featureId:e,language:t,locationType:a?.locationType})),l=await fetch(n,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400,tags:[`featureId:${e}`]}});return(0,o.handleFetchResponse)(l)}},630585,(e,t,a)=>{"use strict";e.i(199690),Object.defineProperty(a,"__esModule",{value:!0}),a.getLocationSearchUrlConfig=function({query:e,language:t,locationType:a,countryCode:i,adminDistrictCode:r}){let o={query:e,language:t,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return a&&(o.locationType=a),i&&(o.countryCode=i),r&&(o.adminDistrictCode=r),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/search",query:o}},a.getLocationPointUrlConfig=function({geocode:e,locId:t,placeId:a,canonicalCityId:i,featureId:r,icaoCode:o,locationType:n,language:l}){let c={language:l,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return e&&(c.geocode=e),t&&(c.locid=t),a&&(c.placeid=a),i&&(c.canonicalCityId=i),r&&(c.featureId=r),o&&(c.icaoCode=o),n&&(c.locationType=n),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/point",query:c}}},330091,(e,t,a)=>{"use strict";var i,r;Object.defineProperty(a,"__esModule",{value:!0}),a.ErrInvalidFeatureId=a.ErrInvalidCanonicalCityID=a.ErrInvalidPlaceID=a.ErrInvalidPartialLocID9=a.ErrInvalidPartialLocID1=a.ErrInvalidUSZipCode=a.ErrInvalidLocID=a.ErrInvalidLatOrLong=a.ErrInvalidGeocode=a.ErrInvalid=a.LocationError=a.isMapboxFeatureId=a.MAPBOX_FEATURE_TYPES=a.RegExpUuidFeatureId=a.RegExpFeatureId=a.RegExpCanonicalCityID=a.RegExpPlaceID=a.RegExpPartialLocID9=a.RegExpPartialLocID1=a.RegExpUSZipCode=a.RegExpLocID=a.RegExpGeocode=a.LocationTypeMap=a.LocationType=void 0,a.valid=c,a.normalized=function(e,t){switch(t){case i.Geocode:return g(e);case i.LocID:return m(e);case i.USZipCode:return y(e);case i.PartialLocID1:return h(e);case i.PartialLocID9:return v(e);case i.PlaceID:return w(e);case i.CanonicalCityID:return I(e);case i.FeatureId:return E(e);default:return e}},a.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},a.locIdFromSeoPhrase=p,a.normalizedGeocode=g,a.parseLatLonFromGeocode=function(e){let t=g(e).split(",");if(2!==t.length||!t[0]||!t[1])throw a.ErrInvalidGeocode;let i=parseFloat(t[0].trim()),r=parseFloat(t[1].trim());if(isNaN(i)||isNaN(r))throw a.ErrInvalidGeocode;return[i,r]},a.normalizeLatOrLong=f,a.normalizedLocID=m,a.normalizedUSZipCode=y,a.normalizedPartialLocID1=h,a.normalizedPartialLocID9=v,a.normalizedPlaceID=w,a.normalizedCanonicalCityID=I,a.normalizedFeatureId=E,a.geocodeFromLatLong=function(e,t){return`${e.toFixed(2)},${t.toFixed(2)}`},(r=i||(a.LocationType=i={}))[r.Geocode=0]="Geocode",r[r.LocID=1]="LocID",r[r.USZipCode=2]="USZipCode",r[r.PartialLocID1=3]="PartialLocID1",r[r.PartialLocID9=4]="PartialLocID9",r[r.PlaceID=5]="PlaceID",r[r.CanonicalCityID=6]="CanonicalCityID",r[r.FeatureId=7]="FeatureId",a.LocationTypeMap={Geocode:"geocode",LocID:"locId",USZipCode:"locId",PartialLocID1:"locId",PartialLocID9:"locId",PlaceID:"placeId",CanonicalCityID:"canonicalCityId",FeatureId:"featureId"},a.RegExpGeocode=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/;let o=/.*(\+|-|\s)+(\w*|(\w{4}\d{4})|(\d+))(:(1|4|5|9|11|13|16|17|19|21|25|27|28))?(:\w{2})?$/;a.RegExpLocID=/^([^+|^:]*):(1|4|5|9|11|13|16|17|19|21|25|27|28):\w{2}$/,a.RegExpUSZipCode=/^\d{5}(:\d)?(\w{2})?$/,a.RegExpPartialLocID1=/^\w{4}\d{4}(:1)?$/,a.RegExpPartialLocID9=/^([a-zA-Z]{3}):.*$/,a.RegExpPlaceID=/^([0-9a-f]){32,}$/,a.RegExpCanonicalCityID=a.RegExpPlaceID,a.RegExpFeatureId=/^(place|locality|neighborhood|postcode|poi|ski|airport|address|district|region|country)\.[\w.]+$/i,a.RegExpUuidFeatureId=/^[0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}$/i,a.MAPBOX_FEATURE_TYPES=["place","locality","neighborhood","postcode","address","district","region","country"];let n=RegExp(`^(${a.MAPBOX_FEATURE_TYPES.join("|")})\\.[\\w.]+$`,"i");a.isMapboxFeatureId=e=>n.test(e);class l extends Error{constructor(e){super(e),this.name="LocationError"}}function c(e,t){switch(t){case i.Geocode:return a.RegExpGeocode.test(e)&&"0.00,0.00"!==e;case i.LocID:return a.RegExpLocID.test(e);case i.USZipCode:return a.RegExpUSZipCode.test(e);case i.PartialLocID1:return a.RegExpPartialLocID1.test(e);case i.PartialLocID9:return a.RegExpPartialLocID9.test(e);case i.PlaceID:return a.RegExpPlaceID.test(e);case i.CanonicalCityID:return a.RegExpCanonicalCityID.test(e);case i.FeatureId:return a.RegExpFeatureId.test(e)||a.RegExpUuidFeatureId.test(e);default:return!1}}a.LocationError=l,a.ErrInvalid=new l("location: invalid location"),a.ErrInvalidGeocode=new l("location: invalid location: invalid geocode"),a.ErrInvalidLatOrLong=new l("location: invalid location: invalid latitude or longitude"),a.ErrInvalidLocID=new l("location: invalid location: invalid locid"),a.ErrInvalidUSZipCode=new l("location: invalid location: invalid US zip code"),a.ErrInvalidPartialLocID1=new l("location: invalid location: invalid partial locid type 1"),a.ErrInvalidPartialLocID9=new l("location: invalid location: invalid partial locid type 9"),a.ErrInvalidPlaceID=new l("location: invalid location: invalid placeid"),a.ErrInvalidCanonicalCityID=new l("location: invalid location: invalid canonical city ID"),a.ErrInvalidFeatureId=new l("location: invalid location: invalid featureId");let s=[{regex:a.RegExpFeatureId,type:a.LocationTypeMap.FeatureId,normalize:E},{regex:a.RegExpUuidFeatureId,type:a.LocationTypeMap.FeatureId,normalize:E},{regex:a.RegExpGeocode,type:a.LocationTypeMap.Geocode,normalize:g},{regex:a.RegExpLocID,type:a.LocationTypeMap.LocID,normalize:m},{regex:a.RegExpUSZipCode,type:a.LocationTypeMap.USZipCode,normalize:y},{regex:a.RegExpPartialLocID1,type:a.LocationTypeMap.PartialLocID1,normalize:h},{regex:a.RegExpPartialLocID9,type:a.LocationTypeMap.PartialLocID9,normalize:v},{regex:a.RegExpPlaceID,type:a.LocationTypeMap.PlaceID,normalize:w},{regex:a.RegExpCanonicalCityID,type:a.LocationTypeMap.CanonicalCityID,normalize:I}],d=/-/,u=/\s/;function p(e){if(a.RegExpUuidFeatureId.test(e))return e;let t=e;if(o.test(e))if(d.test(e)){let a=e.split("-").pop();a&&(t=a)}else if(u.test(e)){let a=e.split(" ").pop();a&&(t=a)}else{let a=e.split("+").pop();a&&(t=a)}return t}function g(e){if(""===e||!c(e,i.Geocode))throw a.ErrInvalidGeocode;let t=e.split(",");if(2!==t.length)throw a.ErrInvalidGeocode;try{for(let e=0;e{"use strict";let t=[{pageType:"today",urlKey:"today",urlType:"weather/today",suffix:"today",base:"/weather/today/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-today"},{pageType:"hourbyhour",urlKey:"hourly",urlType:"weather/hourbyhour",suffix:"hourbyhour",base:"/weather/hourly/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-hourly"},{pageType:"tenday",urlKey:"tenday",urlType:"weather/tenday",suffix:"tenday",base:"/weather/tenday/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-tenday"},{pageType:"monthly",urlKey:"monthly",urlType:"weather/monthly",suffix:"monthly",base:"/weather/monthly/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-monthly"},{pageType:"localalerts",urlKey:"alerts",urlType:"weather/alerts/localalerts",suffix:"localalerts",base:"/weather/alerts/localalerts/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!0,canonicalEligible:!0,weatherCacheTag:"weather-alerts"},{pageType:"allergy",urlKey:"allergy",urlType:"forecast/allergy",suffix:"allergy",base:"/forecast/allergy/",sidebarCanonical:!0,navType:"forecast",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,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-air-quality"},{pageType:"cold-flu",urlKey:"coldFlu",urlType:"forecast/cold-flu",suffix:"cold-flu",base:"/forecast/cold-flu/",sidebarCanonical:!0,navType:"forecast",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-cold-flu"},{pageType:"radar",urlKey:"radar",urlType:"weather/radar/interactive",suffix:"radar",base:"/weather/radar/interactive/",sidebarCanonical:!0,navType:"radar",sitemapExcluded:!1,canonicalEligible:!0,weatherCacheTag:"weather-radar-interactive"}],a=t.map(e=>e.pageType);Object.fromEntries(t.map(e=>[e.urlType,e.pageType]));let i=Object.fromEntries(t.map(e=>[e.suffix,e.pageType])),r=Object.fromEntries(t.map(e=>[e.pageType,e.base])),o=Object.fromEntries(t.map(e=>[e.pageType,e.urlKey])),n=Object.fromEntries(t.map(e=>[e.pageType,e.suffix])),l=Object.fromEntries(t.map(e=>[e.pageType,e.navType]));t.filter(e=>"forecast"===e.navType).map(e=>e.pageType),t.filter(e=>"radar"===e.navType).map(e=>e.pageType);let c=Object.fromEntries(t.map(e=>[e.pageType,e.canonicalEligible]));t.map(e=>e.urlType).join("|");let s=t.map(e=>e.suffix).join("|");Object.fromEntries(t.map(e=>[e.pageType,e.urlType]));let d=e=>new Map(Object.entries(e).flatMap(([e,t])=>(t??[]).map(t=>[t.toLowerCase(),e])));d({today:["clima/hoje","cuaca/dina-iki","cuaca/sekarang","haliyahewa/leo","howa/sugun","idojaras/ma","ilm/tana","kisisel/bugun","laiks/sodien","moti/sot","ob-havo/bugun","orai/siandien","pocasi/dnes","pocasie/dnes","pogoda/dzisiaj","tempo/oggi","temps/aujour","temps/avui","tiempo/hoy","vedur/idag","vejret/idag","vreme/astazi","vreme/danas","vreme/danes","vrijeme/danas","weer/vandaag","wetter/heute"],tenday:["clima/10dias","cuaca/10hari","cuaca/sepuluhdina","haliyahewa/sikukumi","howa/ongun","idojaras/10nap","ilm/kummepaeva","kisisel/10gunluk","laiks/desmitdienam","moti/dhjetedite","ob-havo/10kun","orai/desimtdienu","pocasi/10dni","pocasie/10dni","pogoda/10dni","tempo/10giorni","temps/10dies","temps/10jours","tiempo/10dias","vedur/tiudagar","vejret/10dage","vreme/10zile","vreme/desetdana","vreme/desetdni","vrijeme/10dana","vrijeme/desetdana","weer/10dagen","wetter/10tage","clima/fimdesemana","cuaca/akhirpekan","cuaca/pksnmingg","haliyahewa/wikendi","howa/dyncguni","idojaras/hetvege","ilm/nadalavahetus","kisisel/haftasonu","laiks/nedelasnogale","moti/fundjave","ob-havo/dam-olish-kunlari","orai/savaitgalis","pocasi/vikend","pocasie/vikend","pogoda/weekend","tempo/weekend","temps/capsetmana","temps/week-end","tiempo/finde","vedur/helgi","vejret/weekend","vreme/konectedna","vreme/weekend","vreme/wikendi","vrijeme/vikend","weer/weekend","wetter/wochenende"],hourbyhour:["clima/horaria","cuaca/jam-jaman","cuaca/tiapjam","haliyahewa/saakwasaa","howa/sagatmasagat","idojaras/orankent","ilm/tunnikaupa","kisisel/saatlik","laiks/pastundam","moti/orepasore","ob-havo/soatma-soat","orai/kasvalanda","pocasi/denne","pocasie/hodinova","pogoda/godzinowa","tempo/orario","temps/hora","temps/parheure","tiempo/horario","vedur/eftirklst","vejret/hvertime","vreme/orara","vreme/pocasovima","vreme/urozauro","vrijeme/posatu","vrijeme/satu","weer/elkuur","wetter/stundlich"],radar:["clima/mapas/interactive","cuaca/peta/interaktif","haliyahewa/ramani/mwingiliano","havo/xaritalar/interaktiv","howa/kartalar/interaktiw","idojaras/terkepek/interactive","ilm/kaardid/interaktiivne","kisisel/harita/interactive","laiks/kartes/interaktivs","moti/hartat/interaktive","ob-havo/xaritalar/interaktiv","orai/zemelapiai/interaktyvus","pocasi/mapy/interactive","pocasie/mapy/interactive","pogoda/mapy/interactive","tempo/mappe/interactive","temps/cartes/interactive","temps/mapes/interactive","tiempo/mapas/interactive","vedur/kort/gagnvirkt","vejret/kort/interactive","vreme/harti/interactive","vreme/karte/interaktivno","vrijeme/karte/interactive","vrijeme/karte/interaktivne","vrijeme/karte/interaktivno","weer/kaarten/interactive","wetter/karten/interaktiv"],monthly:["clima/mensal","clima/mensalmente","cuaca/bulanan","cuaca/wulanan","haliyahewa/kilamwezi","howa/aylyk","idojaras/havi","ilm/igakuine","kisisel/aylik","laiks/ik-menesi","moti/mujor","ob-havo/oylik","orai/ikmenesi","pocasi/mesicne","pocasie/mesacne","pogoda/miesieczne","tempo/mensile","temps/mensual","temps/mensuel","tiempo/mensual","vedur/manaoarlega","vejret/manedlig","vreme/mesecna","vreme/mesecno","vreme/peluni","vrijeme/mjesecna","vrijeme/mjesecno","weer/monthly","wetter/monatlich"]}),d({tenday:["weather/weekend","weather/5-day","weather/5day"],hourbyhour:["weather/hourly"],radar:["weather/maps/interactive"]}),d({today:["weather/right-now","weather/local","wxdata/weather/local"],tenday:["weather/5-day"]}),t.filter(e=>e.sitemapExcluded).map(e=>e.pageType),t.filter(e=>!e.sitemapExcluded).map(e=>e.pageType);let u=t.filter(e=>e.sidebarCanonical).map(e=>({urlKey:e.urlKey,segment:e.suffix}));e.s(["t",0,r,"j",0,c,"M",0,a,"_",0,t,"A",0,n,"$",0,o,"B",0,u,"o",0,s,"c",0,function(e){let t=e?i[e]:void 0;return t?l[t]:null}])},456215,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])},846871,e=>{"use strict";var t=e.i(458201),a=e.i(294237),i=e.i(632137);let r=(0,a.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:a,variant:o,label:n})=>(0,t.jsx)("div",{className:(0,i.f)(r({size:a,variant:o}),e),"aria-label":n})])},756227,e=>{"use strict";var t=e.i(282446),a=e.i(74492),i=e.i(889753),r=e.i(905059),o=e.i(310847),n=e.i(960576),l=e.i(317298),c=e.i(839315),s=e.i(391174),d=e.i(735526),u=e.i(90543),p=e.i(529603);e.s(["f",0,function(){let e=(0,t.F)(i.Y),g=(0,t.F)(o.n),f=(0,t.F)(i.s),m=(0,t.F)(r.f);return()=>{(0,s.f)(),(0,l.n)(),e(a.s),g(null),f(a.s),m(a.s),(0,n.c)(),(0,d.K)(),(0,p.E)(null),(0,c.x)(),(0,u.$)()}}])},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 a="wxu-auth-epoch",i="wxu-rendered-tier";function r(e){return(0,t.isLocalStorageAvailable)()?localStorage.getItem(e):null}function o(e,a){(0,t.isLocalStorageAvailable)()&&localStorage.setItem(e,a)}e.s(["$",0,function(){o(a,String(Date.now()))},"T",0,function({renderedTier:e,recordedTier:t,epochAtLoad:a,currentEpoch:i}){return null!==t&&t!==e||void 0!==a&&a!==i},"R",0,function(){return r(a)},"J",0,function(){return r(i)},"K",0,function(e){o(i,e)}])},391174,184059,e=>{"use strict";var t=e.i(284981);e.s(["f",()=>t.j],184059);var t=t,a=e.i(892504);e.s(["f",0,()=>{(0,t.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1}),(0,a.p)()}],391174)},45846,e=>{"use strict";e.i(199690);var t=e.i(245943),a=e.i(810564);let i=new t.UPSXClient({baseUrl:(0,a.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])},579310,e=>{"use strict";var t=e.i(144683),a=e.i(889753);let i=(0,e.i(532923).f)(a.u,e=>e.prop("locations")),r=(0,t.g)(e=>e(a.u)?.locations||[]);(0,t.g)(e=>{let t=e(r);return t?.find(e=>0===e.position)||t?.[0]||null}),(0,t.g)(e=>(e(r)?.length||0)>0),e.s(["R",0,i,"r",0,r])},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])},160317,e=>{"use strict";var t=e.i(543512);e.s(["f",0,function(e){return t.m[e]??t.m[t.H.none]}])},317298,e=>{"use strict";let t="wxu-next-session-intent",a=["fpdprobnsitop1intent","fpdprobnsitop2intent","fpdprobnsitop3intent"],i=new Set(["article","video"]);e.s(["n",0,function(){try{localStorage.removeItem(t)}catch{}},"B",0,function(e){return!!e&&a.some(t=>{let a=e[t];return"string"==typeof a&&i.has(a.trim().toLowerCase())})},"o",0,function(){try{let e=localStorage.getItem(t);if(!e)return null;let a=JSON.parse(e);if(a&&"object"==typeof a&&"promotesNews"in a&&"boolean"==typeof a.promotesNews)return{promotesNews:a.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 a="wxu-web/keyval:mparticleUser";e.s(["x",0,()=>{try{localStorage.removeItem(a)}catch{}},"S",0,({upsxId:e,anonId:t})=>{let a="wxu-web/keyval:airlyticsUserAttributes"in localStorage,i="wxu-web/keyval:airlyticsEventQueue"in localStorage;return a&&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 a=e.split("|");return a&&Array.isArray(a)&&"string"==typeof a[1]&&a[1].split("[")[0]||null},"t",0,()=>{let e,a,i=(e=window?.top,(a=e?._sp_?.metricData?.propertyId)||null),r=window?.top,o=r?._sp_?.config?.authId||(0,t.getCookie)("consentUUID")?.toString();return o&&i?`${i}:${o}`:null},"N",0,()=>{try{let e=JSON.parse(localStorage.getItem(a)||"{}");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(a,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 a=Number(e);if(!Number.isFinite(a))return!1;return Date.now()-a{"use strict";var t=e.i(553329),a=e.i(901351);async function i(e){let{data:i,error:r}=await (0,t.f)(a.f.identity.resolve(e));return r||"string"!=typeof i?.twcID||!i.twcID?{twcId:null,error:r??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 r=(0,e.i(695881).createLogger)("MParticleIdentity");e.s(["f",0,e=>"string"==typeof e&&e.length>256?(r.warn(`identity value exceeded 256 chars (${e.length}); truncating`),e.slice(0,256)):e],491240)},436028,e=>{"use strict";e.s(["f",0,e=>Array.isArray(e)&&e.length>0])},991511,e=>{"use strict";var t=e.i(538167),a=e.i(26752),i=e.i(282446);e.s(["f",0,e=>{(0,a.f)(e);let r=(0,i.f)(),o=(0,t.useRef)(e);o.current=e,(0,t.useEffect)(()=>{for(let[e,t]of o.current)r.get(e)!==t&&r.set(e,t)})}])}]);