(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,553329,e=>{"use strict";async function t(e){try{return{data:await e,error:null}}catch(e){return{data:null,error:e}}}e.s(["tryCatch",0,t])},776169,809991,e=>{"use strict";var t=e.i(546446),r=e.i(889753),n=e.i(301904),s=e.i(901351),o=e.i(310847),i=e.i(528600),a=e.i(617874),u=e.i(864723),l=e.i(553329),c=e.i(592121),d=e.i(245943);let m=(0,e.i(695881).createLogger)("useMapSettings");e.s(["WEB_MAP_SETTINGS_PLATFORM",0,"twc","useMapSettings",0,function(e="twc"){let{user:{isUserLoggedIn:t}}=(0,i.useUser)();return{saveMapSettings:(0,c.useCallback)(async r=>{if(!t)return!1;let{error:n}=await (0,l.tryCatch)(s.upsxClient.preference.updateMapSettings(e,r));if(!n)return!0;if(n instanceof d.APIError&&404===n.code){let{error:t}=await (0,l.tryCatch)(s.upsxClient.preference.createMapSettings(e,r));return!t||(m.warn("Failed to create map settings",t),!1)}return m.warn("Failed to update map settings",n),!1},[t,e])}}],809991),e.s(["usePreferences",0,function(){let{user:{isUserLoggedIn:e}}=(0,i.useUser)(),[c,d]=(0,t.useAtom)(r.userPreferencesAtom),[m,f]=(0,t.useAtom)(o.wxuUserPreferenceAtom),p=async()=>{let{data:e,error:t}=await (0,l.tryCatch)(s.upsxClient.preference.getMapSettings("twc"));if(t||!e)return null;let{animationSpeed:r,autoplay:n,opacity:o,roadOverlay:i,style:a}=e,u={...void 0!==r&&{animationSpeed:r},...void 0!==n&&{autoplay:n},...void 0!==o&&{opacity:o},...void 0!==i&&{roadOverlay:i},...void 0!==a&&{style:a}};return Object.keys(u).length>0?u:null},g=async e=>{try{await s.upsxClient.preference.updatePreference(e)}catch(e){return console.error("Failed to sync preferences with server:",e),null}},h=async(t,r=!0)=>{try{let n,s=(n={...c,...t},d(n),f({...m,...t,locations:n.locations}),n);if(t?.unit){let e=(0,a.unitsSystemByName)(t.unit),r=e?.code||"e";(0,u.setCookie)(a.UNITS_COOKIE_KEY,r,{domain:"weather.com"})}return r&&e&&await g(s),{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,t]=await Promise.all([s.upsxClient.preference.getPreference(),p()]);if(!e?.userID)return null;let{mapSettings:r,...o}=e,i={...o,mapSettings:{...n.DEFAULT_MAP_SETTINGS,...t}};return h(i,!1),i}catch{return null}},updatePreferences:h}}],776169)},961123,(e,t,r)=>{t.exports=e.r(874357)},617874,e=>{"use strict";let t="Imperial",r="Metric",n="Hybrid",s={code:"e",name:t,temp:"F",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"in"},o={code:"m",name:r,temp:"C",speed:"km/h",distance:"km",accumulation:"cm",precip:"mm",pressure:"mb"},i={code:"h",name:n,temp:"C",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"mb"};e.s(["UNITS_COOKIE_KEY",0,"unitOfMeasurement","UNIT_HYBRID",0,n,"UNIT_IMPERIAL",0,t,"UNIT_METRIC",0,r,"imperial",0,s,"unitsSystemByCode",0,function(e){switch(e?.toLowerCase()){case"e":case"f":return s;case"m":case"c":return o;case"h":return i;default:return null}},"unitsSystemByName",0,function(e=""){switch(e.toLowerCase()){case"imperial":case"Imperial":return s;case"metric":case"Metric":return o;case"hybrid":case"Hybrid":return i;default:return null}}])},990033,e=>{"use strict";let t,r="u">typeof crypto&&crypto.randomUUID&&crypto.randomUUID.bind(crypto),n=new Uint8Array(16),s=[];for(let e=0;e= 16");if(l[6]=15&l[6]|64,l[8]=63&l[8]|128,o){if((u=u||0)o.length)throw RangeError(`UUID byte range ${u}:${u+15} is out of buffer bounds`);for(let e=0;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 n=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(["UserSubscriptionPremiumTiers",0,[1,2,3],"UserSubscriptionTierKeysMap",0,n,"UserSubscriptionTiers",()=>r,"UserSubscriptionTiersMap",0,{standard:0,tier0:1,tier1:1,"ad-free-v2":2,tier3:3}])},889753,301904,e=>{"use strict";var t=e.i(284007),r=e.i(617874),n=e.i(990033),s=e.i(981030),o=e.i(543512);let i={animationSpeed:1,autoplay:!0,opacity:100,roadOverlay:"default",style:"default"};e.s(["DEFAULT_MAP_SETTINGS",0,i],301904);let a=(0,s.atom)(o.UserSubscriptionTiers.none),u=(0,t.atomWithStorage)("userProfile",null,void 0,{getOnInit:!0}),l=(0,t.atomWithStorage)("userPreferences",{userID:(0,n.v4)(),unit:r.UNIT_IMPERIAL,locations:[],locale:"en_US",mapSettings:i,favoriteWeatherComponents:[],favoriteActivityComponents:[],dashboard:[]},void 0,{getOnInit:!0});e.s(["userPreferencesAtom",0,l,"userProfileAtom",0,u,"userTierAtom",0,a],889753)},310847,174960,e=>{"use strict";var t=e.i(981030);let r=e=>e,n=e=>({_tag:"Left",value:e}),s=e=>({_tag:"Right",value:e}),o={dimap:(e,t,r)=>n=>t(r(e(n))),first:e=>([t,r])=>[e(t),r],right:e=>t=>"Left"===t._tag?t:s(e(t.value)),wander:e=>t=>t.map(e)},i={empty:()=>void 0,foldMap:(e,t)=>{for(let r=0;r[],foldMap:(e,t)=>{let r=[];return t.forEach(t=>{r=r.concat(e(t))}),r}},u=e=>({dimap:(e,t,r)=>t=>r(e(t)),first:e=>([t,r])=>e(t),right:t=>r=>"Left"===r._tag?e.empty():t(r.value),wander:t=>r=>e.foldMap(t,r)}),l={Equivalence:{Equivalence:"Equivalence",Iso:"Iso",Lens:"Lens",Prism:"Prism",Traversal:"Traversal",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Iso:{Equivalence:"Iso",Iso:"Iso",Lens:"Lens",Prism:"Prism",Traversal:"Traversal",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Lens:{Equivalence:"Lens",Iso:"Lens",Lens:"Lens",Prism:"Prism",Traversal:"Traversal",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Prism:{Equivalence:"Prism",Iso:"Prism",Lens:"Prism",Prism:"Prism",Traversal:"Traversal",Getter:"AffineFold",AffineFold:"AffineFold",Fold:"Fold",Setter:"Setter"},Traversal:{Equivalence:"Traversal",Iso:"Traversal",Lens:"Traversal",Prism:"Traversal",Traversal:"Traversal",Getter:"Fold",AffineFold:"Fold",Fold:"Fold",Setter:"Setter"},Getter:{Equivalence:"Getter",Iso:"Getter",Lens:"Getter",Prism:"AffineFold",Traversal:"Fold",Getter:"Getter",AffineFold:"AffineFold",Fold:"Fold",Setter:void 0},AffineFold:{Equivalence:"AffineFold",Iso:"AffineFold",Lens:"AffineFold",Prism:"AffineFold",Traversal:"Fold",Getter:"AffineFold",AffineFold:"AffineFold",Fold:"Fold",Setter:void 0},Fold:{Equivalence:"Fold",Iso:"Fold",Lens:"Fold",Prism:"Fold",Traversal:"Fold",Getter:"Fold",AffineFold:"Fold",Fold:"Fold",Setter:void 0},Setter:{Equivalence:void 0,Iso:void 0,Lens:void 0,Prism:void 0,Traversal:void 0,Getter:void 0,AffineFold:void 0,Fold:void 0,Setter:void 0}},c=(e,t)=>(t._tag=e,t),d=e=>(e._removable=!0,e);function m(e,t,r){if(2==arguments.length){let r=(r,n)=>e(r,t(r,n));return r._tag=l[e._tag][t._tag],r._removable=t._removable||!1,r}{let n=l[e._tag][t._tag],s=(n,s)=>e(n,t(n,r(n,s)));return s._tag=l[n][r._tag],s._removable=r._removable||!1,s}}let f=c("Equivalence",(e,t)=>t),p=(e,t)=>c("Iso",(r,n)=>r.dimap(e,t,n)),g=(e,t)=>c("Lens",(r,n)=>r.dimap(t=>[e(t),t],t,r.first(n))),h=(e,t)=>c("Prism",(n,s)=>n.dimap(e,e=>"Left"===e._tag?r(e.value):t(e.value),n.right(s))),v=c("Traversal",(e,t)=>e.dimap(r,r,e.wander(t))),w=(e,t)=>e(u(a),e=>[e])(t),S=p(e=>e.map((e,t)=>[t,e]),e=>{let t=[...e].sort((e,t)=>e[0]-t[0]),r=[];for(let e=0;eg(t=>t[e],([t,r])=>Object.assign(Object.assign({},r),{[e]:t})),_=e=>g(t=>t[e],([t,r])=>{let n=r.slice();return n[e]=t,n}),I=_(0),A=e=>h(t=>e(t)?s(t):n(t),r),b=Symbol("__no_match__"),E=A(e=>e!==b),F=Symbol("__remove_me__"),P=e=>d(m(g(t=>0{if(t===b)return r;if(t===F)if("string"==typeof r)return r.substring(0,e)+r.substring(e+1);else return[...r.slice(0,e),...r.slice(e+1)];if("string"==typeof r)return 0===e?t+r.substring(1):e===r.length?r.substring(0,e-1)+t:r.substring(0,e)+t+r.substring(e+1);{let n=r.slice();return n[e]=t,n}}),E)),T=h(e=>void 0===e?n(void 0):s(e),r),C=g(e=>void 0,([e,t])=>void 0===e?t:[e,...t]),L=g(e=>void 0,([e,t])=>void 0===e?t:[...t,e]),x=m(p(e=>e.split(""),e=>e.join("")),v),M=m(p(e=>e.split(/\b/),e=>e.join("")),v,A(e=>!/\s+/.test(e)));class O{constructor(e){this._ref=e}get _tag(){return this._ref._tag}get _removable(){return this._ref._removable}compose(e){return new O(m(this._ref,e._ref))}iso(e,t){return new O(m(this._ref,p(e,t)))}lens(e,t){return new O(m(this._ref,g(e,([e,r])=>t(r,e))))}indexed(){return new O(m(this._ref,S))}prop(e){return new O(m(this._ref,y(e)))}path(...e){return 1===e.length&&(e=e[0].split(".")),new O(e.reduce((e,t)=>m(e,y(t)),this._ref))}pick(e){return new O(m(this._ref,g(t=>{let r={};for(let n of e)r[n]=t[n];return r},([t,r])=>{let n=Object.assign({},r);for(let t of e)delete n[t];return Object.assign(n,t)})))}nth(e){return new O(m(this._ref,_(e)))}filter(e){return new O(m(this._ref,m(g(t=>{let r=t.map((t,r)=>e(t)?r:null).filter(e=>null!=e);return[r.map(e=>t[e]),r]},([[e,t],r])=>{let n=r.length,s=e.length,o=0,i=0,a=0,u=[];for(;ovoid 0===t?e:t,([e,t])=>e)))}partsOf(e){let t,r="function"==typeof e?e(U):e;return new O(m(this._ref,(t=r._ref,m(g(e=>{let r=w(t,e);return[r,r.length]},([[e,r],n])=>{if(e.length!==r)throw Error("cannot add/remove elements through partsOf");let s=0;return t(o,()=>e[s++])(n)}),I))))}reread(e){return new O(m(this._ref,g(t=>e(t),([e,t])=>e)))}rewrite(e){return new O(m(this._ref,g(e=>e,([t,r])=>e(t))))}optional(){return new O(m(this._ref,T))}guard_(){return e=>this.guard(e)}guard(e){return new O(m(this._ref,h(t=>e(t)?s(t):n(t),r)))}at(e){return new O(m(this._ref,P(e)))}head(){return new O(m(this._ref,P(0)))}index(e){return new O(m(this._ref,P(e)))}find(e){return new O(m(this._ref,d(m(g(t=>{let r=t.findIndex(e);return -1===r?[b,-1]:[t[r],r]},([[e,t],r])=>{if(e===b)return r;if(e===F)return[...r.slice(0,t),...r.slice(t+1)];let n=r.slice();return n[t]=e,n}),I,E))))}elems(){return new O(m(this._ref,v))}to(e){return new O(m(this._ref,c("Getter",(t,n)=>t.dimap(e,r,n))))}when(e){return new O(m(this._ref,A(e)))}chars(){return new O(m(this._ref,x))}words(){return new O(m(this._ref,M))}prependTo(){return new O(m(this._ref,C))}appendTo(){return new O(m(this._ref,L))}}let U=new O(f),R=(e,t,r)=>(t.has(r)?t:t.set(r,e())).get(r),D=new WeakMap;function N(e,r){var n;let s;return n=()=>{let n=r(U);return(0,t.atom)(t=>{let r=t(e);return r instanceof Promise?r.then(e=>k(n,e)):k(n,r)},(t,r,s)=>{let i="function"==typeof s?(e=>t=>{let r;return r=n._ref,r(o,e)(t)})(s):(e=>t=>{let r;return r=n._ref,r(o,()=>e)(t)})(s),a=t(e);return r(e,a instanceof Promise?a.then(i):i(a))})},s=R(()=>new WeakMap,D,e),R(n,s,r)}let k=(e,t)=>"Traversal"===e._tag?(t=>w(e._ref,t))(t):"Prism"===e._tag?(t=>{let n;return n=e._ref,n(u(i),r)(t)})(t):(t=>{let n;return n=e._ref,n(u({}),r)(t)})(t);e.s(["focusAtom",0,N],174960);var G=e.i(284007);let W=(0,G.createJSONStorage)(),j={...W,getItem:(e,t)=>(function(e,t){if(!e)return t;if(e.nextgenSidecar)return e;let{locationFeatureIds:r,recentLocationsData:n,locationFeatureIdSweepVersion:s,...o}=e;return{...o,nextgenSidecar:{locationFeatureIds:r,recentLocationsData:n,locationFeatureIdSweepVersion:s}}})(W.getItem(e,t),t)},q=(0,G.atomWithStorage)("wxu-web/keyval:user",{recentLocations:[],recentAddresses:[],userHasLoggedInBefore:!1,userPreference:{},nextgenSidecar:{locationFeatureIds:{},recentLocationsData:{}}},j,{getOnInit:!0}),V=N(q,e=>e.prop("anonymousId")),$=N(q,e=>e.prop("userHasLoggedInBefore")),B=N(q,e=>e.prop("recentLocations")),J=N(q,e=>e.prop("recentAddresses")),K=N(q,e=>e.prop("userPreference")),H=N(q,e=>e.prop("nextgenSidecar").prop("locationFeatureIds")),Y=N(q,e=>e.prop("nextgenSidecar").prop("recentLocationsData")),z=N(q,e=>e.prop("nextgenSidecar").prop("locationFeatureIdSweepVersion")),X=N((0,G.atomWithStorage)("wxu-web/keyval:user-account",{userAccountResponse:null},void 0,{getOnInit:!0}),e=>e.prop("userAccountResponse")),Q=(0,G.atomWithStorage)("wxu-web/keyval:LOGIN_REDIRECT_PAGE","/",void 0,{getOnInit:!0}),Z=(0,t.atom)(e=>e(Q),(e,t,r)=>{let n=RegExp("\\/login|\\/signup|\\/forgot-password|\\/reset-password");r.match(n)||t(Q,r)});e.s(["userHasLoggedInBeforeAtom",0,$,"wxuLoginRedirectPageAtom",0,Z,"wxuUserAccountUserAccountResponseAtom",0,X,"wxuUserAnonymousIdAtom",0,V,"wxuUserLocationFeatureIdSweepVersionAtom",0,z,"wxuUserLocationFeatureIdsAtom",0,H,"wxuUserPreferenceAtom",0,K,"wxuUserRecentAddressesAtom",0,J,"wxuUserRecentLocationsAtom",0,B,"wxuUserRecentLocationsDataAtom",0,Y],310847)},333350,e=>{"use strict";let t=!!window.document&&!!window.document.createElement;e.s(["default",0,t])},414655,(e,t,r)=>{"use strict";async function n(e){if(!e.ok)switch(e.status){case 401:throw Error("Unauthorized (status 401)");case 403:throw Error("Forbidden (status 403)");case 404:throw Error("Not found (status 404)");case 400:throw Error("Bad Request (status 400)");default:if(e.status>=500)throw Error(`Server error (status ${e.status})`);throw Error(`Unhandled error (status ${e.status})`)}try{if(204===e.status)return null;return await e.json()}catch(e){throw Error(`Invalid JSON response: ${e.message}`)}}async function s(e){if(!e.ok)switch(e.status){case 401:throw Error("Unauthorized (status 401)");case 403:throw Error("Forbidden (status 403)");case 404:throw Error("Not found (status 404)");case 400:throw Error("Bad Request (status 400)");default:if(e.status>=500)throw Error(`Server error (status ${e.status})`);throw Error(`Unhandled error (status ${e.status})`)}try{if(204===e.status)return"";return await e.text()}catch(e){throw Error(`Invalid text response: ${e.message}`)}}Object.defineProperty(r,"__esModule",{value:!0}),r.handleFetchResponse=n,r.handleFetchTextResponse=s},950771,e=>{"use strict";let t=(0,e.i(981030).atom)("en-US");e.s(["pageLocaleAtom",0,t])},609717,e=>{"use strict";e.i(950771),e.s([])},695203,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["deviceClassAtom",0,t])},737801,358273,158662,673915,e=>{"use strict";e.i(546584);var t=e.i(546446),r=e.i(864723),n=e.i(521350),s=e.i(990033);let o="wxu-metrics-session",i="new-metrics-session",a="metric-session-last-active-time",u=()=>{let e=(0,r.getCookie)(o);if(!e)return null;let[t="",n="",s=""]=e.split(":"),i=parseInt(n,10);return{sessionId:t,sessionStartTime:i,pageCount:parseInt(s,10)}},l=e=>{let t=new Date().getTime(),n=e&&!d();m(t);let i=n?e:{},a=i.sessionId||(0,s.v4)(),u=i.sessionStartTime||t,l=i.pageCount||0,c=`${a}:${u}:${l}`;(0,r.setCookie)(o,decodeURIComponent(c),{domain:".weather.com",path:"/",maxAge:1800,secure:!0})},c=()=>{(0,n.isLocalStorageAvailable)()&&localStorage.setItem(i,"true")},d=(e=30)=>{try{let t=new Date().getTime(),r=f(),n=new Date(r).getTime(),s=new Date(t).getTime();if(Number.isNaN(n)||Number.isNaN(s))return console.error("Invalid timestamp"),!1;return Math.abs(n-s)>60*e*1e3}catch(e){return console.error("Error in isDifferenceMoreThanMinutes",e instanceof Error?e.message:String(e)),!1}},m=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,d,"deleteIsNewMestricsSession",0,()=>{(0,n.isLocalStorageAvailable)()&&localStorage.removeItem(i)},"getMetricsSession",0,u,"incrementMetricsSessionCount",0,()=>{let e=u();e&&l({...e,pageCount:e?.pageCount+1})},"isNewMetricsSession",0,()=>{if((0,n.isLocalStorageAvailable)())return localStorage.getItem(i)},"regenerateMetricsSession",0,()=>{c(),l(null)},"setIsNewMestricsSession",0,c,"setMetricsSession",0,l],358273);var p=e.i(959194),g=e.i(537989),h=e.i(592121);e.i(609717);var v=e.i(950771),w=e.i(695203),S=e.i(981030);let y=(0,S.atom)(null);e.s(["experimentJoinListAtom",0,y],158662);let _=(0,S.atom)("");e.s(["fromStringAtom",0,_],673915);var I=e.i(333350),A=e.i(682142),b=e.i(961123),E=e.i(64412);let F={postcode:"postal",city:"city",locality:"locality",neighborhood:"neighborhood",airport:"airport",poi:"poi",ski:"ski"};var P=e.i(896363);e.s(["useEventAttributes",0,()=>{var e;let s=(0,p.getCampaign)(),o=(0,p.getTpcc)(),i=(0,p.getPartner)(),a=(0,n.areCookiesEnabled)(),l=(0,A.getCICookie)(),c=l?.["TWC-GeoIP-Country"]??(0,r.getCookie)("twc-location-country"),d=l?.["TWC-GeoIP-Region"]??(0,r.getCookie)("twc-location-region"),m=u(),f=m?.pageCount?m?.pageCount+1:1,S=m?.sessionId||"",T=m?.sessionStartTime||0,C=(0,t.useAtomValue)(y),L=(0,t.useAtomValue)(_),x=(0,t.useAtomValue)(g.pageIdAtom)||"",M=(0,t.useAtomValue)(v.pageLocaleAtom),O=(0,t.useAtomValue)(w.deviceClassAtom),U=(0,b.usePathname)(),R=["article","video"].includes(x)?(0,p.stripLastPartOfSlug)(U):(0,p.getAnonymizedPath)(U),D=(0,p.getLinkReferral)(),{utmSource:N,utmMedium:k,utmCampaign:G}=(0,p.getUtmParams)(),W="u">typeof document?document.referrer:null,{location:j}=(0,E.useLocation)(),q=j?.city??null,V=j?.countryCode??null,$=j?.adminDistrictCode??null,B=j?.dmaCd??null,J=j?.placeId??null,K=j?.featureId??null,H=(e=j?.type)?F[e]??null:null,Y=j?.featureSource??null,z=j?.tags?.length?(0,P.parseArrayToString)(j.tags):null,X=new Date,Q=X.getHours(),Z=X.getDay(),ee=p.WEEK_DAYS[Z]||null,et=l?.["TWC-Privacy"]??(0,r.getCookie)("twc-privacy"),er=I.default?window.DprSdk?.getCcpaSaleOptInString()??"":"",en=I.default?window.DprSdk?.getGdprConsentOptInsString()??"":"",es=!!I.default&&(window.navigator?.globalPrivacyControl??!1),eo=en?.includes("functional-technology")??!1,ei=en?.includes("geographically-relevant-advertising")??!1;return(0,h.useMemo)(()=>({campaign:s,tpcc:o,cookiesEnabled:a,physicalCountry:c??"",physicalState:d??"",pageId:x,partner:i,locale:M,deviceClass:O,url:R,linkReferral:D,referrer:W,pageCount:f,sessionId:S,sessionStartTime:T,schemaVersion:"nextgen",hourOfDay:Q,dayOfWeek:ee,wlocCity:q,wlocCountry:V,wlocState:$,wlocDMA:B,wlocId:J,wlocFeatureId:K,wlocType:H,wlocFeatureSource:Y,wlocTags:z,privProducts:er,priv:en,gpcSignalOptOut:es,functionalTechnologies:eo,geographicallyRelevantAds:ei,regime:et??"",appVersion:"99318310b348e008e02093c388c3f07e6deb938c".slice(0,10),weatherMode:"normal",mParticleGranted:function(){if(!I.default)return!1;let e=window.DprSdk;return!!e&&(e.getFeatureFlags?.()?.mParticleFullMetrics??!1)}(),...null!=C&&{experimentJoinList:C},fromString:L??"",utmSource:N,utmMedium:k,utmCampaign:G}),[s,o,a,c,d,x,i,M,R,D,W,f,S,T,Q,ee,q,V,$,B,J,K,H,Y,z,en,er,es,eo,ei,et,C,L,N,k,G])}],737801)},394481,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["privacyRegimeAtom",0,t])},739971,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["subscriptionsEnabledAtom",0,t])},491045,e=>{"use strict";var t=e.i(284007);let r=(0,t.createJSONStorage)(()=>sessionStorage),n=(0,t.atomWithStorage)("wx-purchase-source-attribution",null,r);e.s(["purchaseSourceAttributionAtom",0,n])},284007,e=>{"use strict";var t=e.i(981030);let r={get url(){return`file://${e.P("node_modules/.pnpm/[email protected]_@[email protected]_@[email protected]_@[email protected][email protected]/node_modules/jotai/esm/vanilla/utils.mjs")}`}},n=Symbol((r.env?r.env.MODE:void 0)!=="production"?"RESET":""),s=e=>"function"==typeof(null==e?void 0:e.then);function o(e=()=>{try{return window.localStorage}catch(e){(r.env?r.env.MODE:void 0)!=="production"&&"u">typeof window&&console.warn(e);return}},t){var n;let i,a,u,l,c={getItem:(r,n)=>{var o,u;let l=e=>{if(i!==(e=e||"")){try{a=JSON.parse(e,null==t?void 0:t.reviver)}catch(e){return n}i=e}return a},c=null!=(u=null==(o=e())?void 0:o.getItem(r))?u:null;return s(c)?c.then(l):l(c)},setItem:(r,n)=>{var s;return null==(s=e())?void 0:s.setItem(r,JSON.stringify(n,null==t?void 0:t.replacer))},removeItem:t=>{var r;return null==(r=e())?void 0:r.removeItem(t)}};try{u=null==(n=e())?void 0:n.subscribe}catch(e){}return!u&&"u">typeof window&&"function"==typeof window.addEventListener&&window.Storage&&(u=(t,r)=>{if(!(e()instanceof window.Storage))return()=>{};let n=n=>{n.storageArea===e()&&n.key===t&&r(n.newValue)};return window.addEventListener("storage",n),()=>{window.removeEventListener("storage",n)}}),u&&(l=u,c.subscribe=(e,t,r)=>l(e,e=>{let n;try{n=JSON.parse(e||"")}catch(e){n=r}t(n)})),c}let i=o(),a=new WeakMap,u={state:"loading"};e.s(["RESET",0,n,"atomWithStorage",0,function(e,o,a=i,u){let l=null==u?void 0:u.getOnInit,c=(0,t.atom)(l?a.getItem(e,o):o);return(r.env?r.env.MODE:void 0)!=="production"&&(c.debugPrivate=!0),c.onMount=t=>{let r;return t(a.getItem(e,o)),a.subscribe&&(r=a.subscribe(e,t,o)),r},(0,t.atom)(e=>e(c),(t,r,i)=>{let u="function"==typeof i?i(t(c)):i;return u===n?(r(c,o),a.removeItem(e)):s(u)?u.then(t=>(r(c,t),a.setItem(e,t))):(r(c,u),a.setItem(e,u))})},"createJSONStorage",0,o,"loadable",0,function(e){let n;return n=()=>{let n=new WeakMap,s=(0,t.atom)([()=>{},0]);s.unstable_onInit=e=>{e.set(s,([,t])=>[()=>e.set(s,([e,t])=>[e,t+1]),t])},(r.env?r.env.MODE:void 0)!=="production"&&(s.debugPrivate=!0);let o=(0,t.atom)(t=>{let r,o,[i]=t(s);try{r=t(e)}catch(e){return{state:"hasError",error:e}}if("function"!=typeof(null==(o=r)?void 0:o.then))return{state:"hasData",data:r};let a=r,l=n.get(a);return l?l:(a.then(e=>{n.set(a,{state:"hasData",data:e}),i()},e=>{n.set(a,{state:"hasError",error:e}),i()}),n.get(a)||(n.set(a,u),u))});return(r.env?r.env.MODE:void 0)!=="production"&&(o.debugPrivate=!0),(0,t.atom)(e=>e(o))},(a.has(e)?a:a.set(e,n())).get(e)}])},537989,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["pageIdAtom",0,t])},236593,e=>{"use strict";var t=e.i(284007);let r=(0,t.createJSONStorage)(()=>sessionStorage),n=(0,t.atomWithStorage)("wx-source-module",null,r);e.s(["sourceModuleAtom",0,n])},608201,e=>{"use strict";var t=e.i(284007);let r=(0,t.createJSONStorage)(()=>sessionStorage),n=(0,t.atomWithStorage)("wx-source-page",null,r);e.s(["sourcePageAtom",0,n])},185312,(e,t,r)=>{t.exports=e.r(16129)},318849,e=>{"use strict";let t=!1,r="upsx-recent-purchase-at";e.s(["SWR_CACHE_LEGACY_STORAGE_KEY",0,"app-cache","SWR_CACHE_STORAGE_KEY",0,"wxu-swr-cache-v1","disableSwrPersist",0,()=>{t=!0},"hasRecentPurchase",0,e=>{try{let t=localStorage.getItem(r);if(!t)return!1;let n=Number(t);if(!Number.isFinite(n))return!1;return Date.now()-nt,"markRecentPurchase",0,()=>{try{localStorage.setItem(r,String(Date.now()))}catch{}}])},45846,e=>{"use strict";let t=new(e.i(245943)).UPSXClient({baseUrl:"https://upsx.weather.com"});e.s(["upsxClient",0,t])},491240,e=>{"use strict";let t=(0,e.i(695881).createLogger)("MParticleIdentity");e.s(["truncateIdentityValue",0,e=>"string"==typeof e&&e.length>256?(t.warn(`identity value exceeded 256 chars (${e.length}); truncating`),e.slice(0,256)):e])}]);