"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3205,3530],{7849:(e,t,n)=>{n.d(t,{q:()=>l});var r=n(32887),o=n(78610),a=n(77704),i=n(85533);let l=()=>{let e=(0,o.md)(r.g),t=(0,a.useMemo)(()=>({displayName:null==e?void 0:e.displayName,adminDistrict:null==e?void 0:e.adminDistrict,adminDistrictCode:null==e?void 0:e.adminDistrictCode,city:null==e?void 0:e.city,countryCode:null==e?void 0:e.countryCode,geocode:null==e?void 0:e.geocode,placeId:null==e?void 0:e.placeId}),[e]),n={location:void 0};(null==e?void 0:e.geocode)&&(n.location=t);let{effectiveLocation:l}=(0,i.s)(n);return l}},9625:(e,t)=>{var n,r;Object.defineProperty(t,"__esModule",{value:!0}),t.ErrInvalidCanonicalCityID=t.ErrInvalidPlaceID=t.ErrInvalidPartialLocID9=t.ErrInvalidPartialLocID1=t.ErrInvalidUSZipCode=t.ErrInvalidLocID=t.ErrInvalidLatOrLong=t.ErrInvalidGeocode=t.ErrInvalid=t.LocationError=t.RegExpCanonicalCityID=t.RegExpPlaceID=t.RegExpPartialLocID9=t.RegExpPartialLocID1=t.RegExpUSZipCode=t.RegExpLocID=t.RegExpGeocode=t.LocationTypeMap=t.LocationType=void 0,t.valid=a,t.normalized=function(e,t){switch(t){case n.Geocode:return l(e);case n.LocID:return d(e);case n.USZipCode:return u(e);case n.PartialLocID1:return s(e);case n.PartialLocID9:return p(e);case n.PlaceID:return g(e);case n.CanonicalCityID:return v(e);default:return e}},t.testLocId=function(e){for(let t of i)if(t.regex.test(e))return{type:t.type,locId:t.normalize(e)};return null},t.normalizedGeocode=l,t.parseLatLonFromGeocode=function(e){let n=l(e).split(",");if(2!==n.length||!n[0]||!n[1])throw t.ErrInvalidGeocode;let r=parseFloat(n[0].trim()),o=parseFloat(n[1].trim());if(isNaN(r)||isNaN(o))throw t.ErrInvalidGeocode;return[r,o]},t.normalizeLatOrLong=c,t.normalizedLocID=d,t.normalizedUSZipCode=u,t.normalizedPartialLocID1=s,t.normalizedPartialLocID9=p,t.normalizedPlaceID=g,t.normalizedCanonicalCityID=v,t.geocodeFromLatLong=function(e,t){return"".concat(e.toFixed(2),",").concat(t.toFixed(2))},function(e){e[e.Geocode=0]="Geocode",e[e.LocID=1]="LocID",e[e.USZipCode=2]="USZipCode",e[e.PartialLocID1=3]="PartialLocID1",e[e.PartialLocID9=4]="PartialLocID9",e[e.PlaceID=5]="PlaceID",e[e.CanonicalCityID=6]="CanonicalCityID"}(n||(t.LocationType=n={})),function(e){e.Geocode="geocode",e.LocID="locId",e.USZipCode="locId",e.PartialLocID1="locId",e.PartialLocID9="locId",e.PlaceID="placeId",e.CanonicalCityID="canonicalCityId"}(r||(t.LocationTypeMap=r={})),t.RegExpGeocode=/^[-+]?([1-8]?\d(\.\d+)?|90(\.0+)?),[-+]?(180(\.0+)?|((1[0-7]\d)|([1-9]?\d))(\.\d+)?)$/,t.RegExpLocID=/^([^+|^:]*):(1|4|5|9|11|13|16|17|19|21|25|27):\w{2}$/,t.RegExpUSZipCode=/^\d{5}(:\d)?(\w{2})?$/,t.RegExpPartialLocID1=/^\w{4}\d{4}(:1)?$/,t.RegExpPartialLocID9=/^([a-zA-Z]{3}):.*$/,t.RegExpPlaceID=/^([0-9a-f]){32,}$/,t.RegExpCanonicalCityID=t.RegExpPlaceID;class o extends Error{constructor(e){super(e),this.name="LocationError"}}function a(e,r){switch(r){case n.Geocode:return t.RegExpGeocode.test(e)&&"0.00,0.00"!==e;case n.LocID:return t.RegExpLocID.test(e);case n.USZipCode:return t.RegExpUSZipCode.test(e);case n.PartialLocID1:return t.RegExpPartialLocID1.test(e);case n.PartialLocID9:return t.RegExpPartialLocID9.test(e);case n.PlaceID:return t.RegExpPlaceID.test(e);case n.CanonicalCityID:return t.RegExpCanonicalCityID.test(e);default:return!1}}t.LocationError=o,t.ErrInvalid=new o("location: invalid location"),t.ErrInvalidGeocode=new o("location: invalid location: invalid geocode"),t.ErrInvalidLatOrLong=new o("location: invalid location: invalid latitude or longitude"),t.ErrInvalidLocID=new o("location: invalid location: invalid locid"),t.ErrInvalidUSZipCode=new o("location: invalid location: invalid US zip code"),t.ErrInvalidPartialLocID1=new o("location: invalid location: invalid partial locid type 1"),t.ErrInvalidPartialLocID9=new o("location: invalid location: invalid partial locid type 9"),t.ErrInvalidPlaceID=new o("location: invalid location: invalid placeid"),t.ErrInvalidCanonicalCityID=new o("location: invalid location: invalid canonical city ID");let i=[{regex:t.RegExpGeocode,type:r.Geocode,normalize:l},{regex:t.RegExpLocID,type:r.LocID,normalize:d},{regex:t.RegExpUSZipCode,type:r.USZipCode,normalize:u},{regex:t.RegExpPartialLocID1,type:r.PartialLocID1,normalize:s},{regex:t.RegExpPartialLocID9,type:r.PartialLocID9,normalize:p},{regex:t.RegExpPlaceID,type:r.PlaceID,normalize:g},{regex:t.RegExpCanonicalCityID,type:r.CanonicalCityID,normalize:v}];function l(e){if(""===e||!a(e,n.Geocode))throw t.ErrInvalidGeocode;let r=e.split(",");if(2!==r.length)throw t.ErrInvalidGeocode;try{for(let e=0;e{n.d(t,{Ay:()=>c,EY:()=>l});var r=n(59716),o=n(77704),a=n(94185),i=n(13820);let l=o.forwardRef((e,t)=>{let{className:n,variant:o,elementType:a,lineClamp:l,color:c,children:u,...s}=e,p=a||function(e){let{variant:t}=e;switch(t){case"Display.XL":case"Display.L":case"Title.XL":return"h1";case"Display.M":case"Display.S":case"Title.L":case"Title.M":return"h2";case"Title.S":return"h3";default:return"p"}}({variant:o});return(0,r.jsx)(p,{className:(0,i.cn)(d({variant:o,color:c,lineClamp:l,className:n})),ref:t,...s,children:u})});l.displayName="Text";let c=l,d=(0,a.F)("",{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-semibold"],"Title.L":["text-3xl","leading-tight","tracking-tight","font-medium"],"Title.M":["text-2xl","leading-tight","tracking-tight","font-semibold"],"Title.S":["text-xl","leading-tight","tracking-tight","font-semibold"],"Body.L":["text-lg","leading-looser","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-looser","tracking-normal","font-bold"],"Body.M":["text-base","leading-looser","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-looser","tracking-tight","font-bold"],"Body.S":["text-sm","leading-normal","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-normal","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"]},color:{primary:"text-gray-900",secondary:"text-gray-500",default:"text-gray-900",disabled:"text-gray-400",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"},lineClamp:{1:"line-clamp-1",2:"line-clamp-2",3:"line-clamp-3",4:"line-clamp-4"}},defaultVariants:{variant:"Body.M",color:"default"}})},23383:(e,t,n)=>{n.d(t,{AI:()=>h,EY:()=>s,FU:()=>u,Hd:()=>m,IA:()=>l,Js:()=>f,X$:()=>d,dM:()=>i,mT:()=>x,mn:()=>g,pW:()=>I,tm:()=>v,wo:()=>c});var r=n(11190),o=n(9005),a=n(16182);function i(){var e;return!!o.A&&null!=(e=navigator)&&!!e.cookieEnabled}let l=e=>{let t=[];return(null==e?void 0:e.v1)&&t.push(e.v1),(null==e?void 0:e.v2)&&t.push(e.v2),(null==e?void 0:e.v3)&&t.push(e.v3),d(t)};function c(e){var t,n,r;let o=function(e){var t,n;let r=e,o=null==e||null==(t=e.indexOf)?void 0:t.call(e,"?"),a=null==e||null==(n=e.indexOf)?void 0:n.call(e,"#");return o>-1?r=r.substring(0,o):a>-1&&(r=r.substring(0,a)),r}(e);if("/index.html"===(o=null==(t=o)||null==(n=t.replace)?void 0:n.call(t,/\/l\/[^/]+/gi,"/l"))||"/"===o||""===o)o="/";else{let e=(null==o?void 0:o.split("/"))||[],t=e.length-1,n=null!=(r=e[t])?r:"";"news"!==(t>0?e[t-1]:"")&&(n.match(/[A-Z]/)||n.match(/[0-9]/)||n.match(/[@#$%&!*:]/)||""===n)&&e.pop(),o=e.join("/")}return o}let d=e=>{if(!e)return"";let t="[";return Array.isArray(e)&&e.forEach((n,r)=>{t+="'".concat(n,"'").concat(r!==e.length-1?",":"")}),t+="]"},u=e=>{var t;return e?d(null==e||null==(t=e.map)?void 0:t.call(e,e=>{if("string"!=typeof e){let{firstName:t="",lastName:n=""}=(null==e?void 0:e.authorData)||{};return"".concat(t," ").concat(n)}return e})):null},s=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=e.split("/");return(null==t?void 0:t[t.length-1])===""&&t.pop(),t.slice(0,t.length-1).join("/")},p=()=>o.A?Object.fromEntries(new URLSearchParams(window.location.search.replace("+","%2B")).entries()):{},g=()=>{var e;return(null==(e=p())?void 0:e.traffic_source)||null},v=()=>{let e=p(),t=null,n=!0,r=[];return e.cm_ven&&r.push(e.cm_ven),e.cm_date&&r.push(e.cm_date),e.cm_cat&&r.push(e.cm_cat),e.cm_pla&&r.push(e.cm_pla),e.cm_ite&&r.push(e.cm_ite),r.length>0?t=r.join(":"):(t=(0,a.getCookie)("campaign-values")||null,n=!1),n&&t&&(0,a.setCookie)("campaign-values",t,{domain:".weather.com",path:"/",maxAge:1800}),t},m=()=>{var e;let t=(null==(e=p())?void 0:e.tpcc)||(0,a.getCookie)("tpcc")||null;return t&&(0,a.setCookie)("tpcc",t,{path:"/",domain:".weather.com",maxAge:1800}),t},f=e=>Object.keys(e).every(t=>void 0!==e[t]);function h(e){switch(e){case r.C.premium:return"premium";case r.C.standard:return"standard";case r.C.premiumWithAd:return"premiumWithAd";case r.C.adFree:return"adFree";case r.C.none:default:return"none"}}function x(e){if(!e)return{};let t=e.split("."),n=(Array.isArray(t)&&t.length>=2&&t[1]||"").replace("-","+").replace("_","/");try{return JSON.parse(window.atob(n))||{}}catch(e){return{}}}let I=["SUN","MON","TUE","WED","THU","FRI","SAT"]},28445:(e,t,n)=>{n.d(t,{G:()=>i});var r=n(77704),o=n(95077);let a=e=>(o.A.ready(e),()=>{}),i=()=>(0,r.useSyncExternalStore)(a,()=>!!o.A.isInitialized(),()=>!1)},31043:(e,t,n)=>{n.d(t,{nU:()=>a,t5:()=>i});var r=n(13578),o=n(64949);let a=(0,n(65875).I)(o.J,e=>e.prop("locations")||[]);(0,r.eU)(e=>{var t;return(null==(t=e(o.J))?void 0:t.locations)||[]});let i=(0,r.eU)(e=>{let t=e(a);return(null==t?void 0:t.find(e=>0===e.position))||(null==t?void 0:t[0])||null});(0,r.eU)(e=>{var t;return(null==(t=e(a))?void 0:t.length)||!1})},31157:(e,t,n)=>{n.d(t,{m:()=>r});let r=(0,n(13578).eU)()},32887:(e,t,n)=>{n.d(t,{$:()=>o,g:()=>a});var r=n(13578);let o=(0,r.eU)(),a=(0,r.eU)()},43312:(e,t,n)=>{n.d(t,{AmplitudeExperimentProvider:()=>f,G:()=>h});var r=n(59716),o=n(77704),a=n(13440),i=n(9005),l=n(10699),c=n(78610),d=n(95077),u=n(64058),s=n(28445),p=n(7849);let g=()=>{let e=(0,p.q)(),t=(0,u.N)({effectiveLocation:e}),n=(0,s.G)();return(0,o.useCallback)(function(e){let r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!n)return void console.warn("MParticle is not initialized");if(!e)return void console.warn("No exposure data provided to trackEnrolledInExperiment");try{let n={...t,newVariant:e.variant||"",newExperiment:e.experiment_key||"",newExperimentReceivedAt:Date.now()};d.A.logEvent("enrolled-in-experiment",d.A.EventType.Other,n,r),console.debug("MParticle: Event tracked - enrolled-in-experiment for ".concat(e.flag_key||"unknown",":").concat(e.variant))}catch(e){console.error("MParticle: Failed to track event",e)}},[n,t])},v="client-a74nh7wdmymfO9eOcl5awe1cgB30BDRV",m=(0,o.createContext)(null),f=e=>{let{children:t}=e,n=(0,c.md)(l.pX),d=function(e){let t=(0,o.useRef)(null),[n,r]=(0,o.useState)(!1);return(0,o.useEffect)(()=>{if(i.A&&!n&&v)try{t.current=a.aj.initialize(v,{debug:!1,fetchTimeoutMillis:5e3,retryFetchOnFailure:!0,fetchOnStart:!1,exposureTrackingProvider:{track:t=>{try{console.debug("[Experiment] Raw Exposure:",t),e(t),console.debug("[Experiment] Exposure tracked:",t)}catch(e){console.error("[Experiment] Failed to track exposure:",e)}}}}),r(!0),console.debug("Amplitude Experiment SDK initialized")}catch(e){console.error("Failed to initialize Amplitude Experiment SDK:",e)}},[n,e]),t.current}(g());return(0,o.useEffect)(()=>{(async()=>{if(d&&n){let e={device_id:n,user_properties:{}};console.debug("[Experiment] Fetching experiments for user:",e),await d.fetch(e)}})()},[d,n]),(0,r.jsx)(m.Provider,{value:{client:d,variant:(e,t)=>{if(!d)return t;let n=d.variant(e,t);return console.debug("[Experiment] Current Variant:",n),n},fetch:e=>d?d.fetch(e):Promise.resolve()},children:t})},h=()=>{let e=(0,o.useContext)(m);if(!e)throw Error("useExperimentContext must be used within an AmplitudeExperimentProvider");return e}},45337:(e,t,n)=>{n.d(t,{$n:()=>d});var r=n(59716),o=n(77704),a=n(43517),i=n(94185),l=n(13820);let c=(0,i.F)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-primary text-primary-foreground hover:bg-primary/90",destructive:"bg-destructive text-white hover:bg-destructive/90",outline:"border border-input bg-background hover:bg-accent hover:text-accent-foreground",secondary:"bg-secondary text-secondary-foreground hover:bg-secondary/80",ghost:"hover:bg-accent hover:text-accent-foreground",link:"rounded-none text-primary underline-offset-4 hover:underline",primary:"bg-gray-900 text-white",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]"},size:{default:"h-10 px-4 py-2",xsm:"h-6 px-2",sm:"h-9 rounded-md px-3",lg:"h-11 rounded-md px-8",icon:"h-10 w-10",text:""}},defaultVariants:{variant:"default",size:"default"}}),d=o.forwardRef((e,t)=>{let{className:n,variant:o,size:i,asChild:d=!1,disabled:u=!1,...s}=e,p=d?a.DX:"button";return(0,r.jsx)(p,{className:(0,l.cn)(c({variant:o,size:i,className:n}),u&&"pointer-events-none cursor-not-allowed opacity-50"),ref:t,disabled:u,...s})});d.displayName="Button"},53578:(e,t,n)=>{n.d(t,{r:()=>r});function r(e){let{displayName:t,adminDistrict:n,adminDistrictCode:r,countryCode:o,country:a,disputedArea:i=!0,localeCountryCode:l="US",separator:c=", "}=e,d=[];return t&&d.push(t),"IL"===l||(r?d.push(r):n&&d.push(n)),o!==l&&!i&&a&&d.push(a),d.join(c)}},53623:(e,t,n)=>{n.d(t,{C:()=>d,Hg:()=>u,SZ:()=>s,Wy:()=>c,kB:()=>l,mj:()=>p});var r=n(16182),o=n(26726);let a="wxu-metrics-session",i="new-metrics-session",l=()=>{let e=(0,r.getCookie)(a);if(!e)return null;let[t="",n="",o=""]=e.split(":"),i=parseInt(n,10);return{sessionId:t,sessionStartTime:i,pageCount:parseInt(o,10)}},c=e=>{let t=(null==e?void 0:e.sessionId)||(0,o.A)(),n=(null==e?void 0:e.sessionStartTime)||new Date().getTime(),i=(null==e?void 0:e.pageCount)||0,l="".concat(t,":").concat(n,":").concat(i);(0,r.setCookie)(a,decodeURIComponent(l),{domain:".weather.com",path:"/",maxAge:1800})},d=()=>{let e=l();e&&c({...e,pageCount:(null==e?void 0:e.pageCount)+1})},u=()=>{localStorage.setItem(i,"true")},s=()=>{localStorage.removeItem(i)},p=()=>localStorage.getItem(i)},63205:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var r,o=n(77704),a=["title","titleId","desc","descId"];function i(){return(i=Object.assign?Object.assign.bind():function(e){for(var t=1;t{n.d(t,{N:()=>p});var r=n(78610),o=n(53623),a=n(23383),i=n(31157),l=n(77704),c=n(91370),d=n(16182),u=n(56694),s=n(9005);let p=e=>{var t,n,p,g,v,m,f;let{effectiveLocation:h}=e,x=(0,a.tm)(),I=(0,a.Hd)(),y=(0,a.dM)(),E=(0,d.getCookie)("partner")||"",D=(0,d.getCookie)("twc-location-country"),C=(0,d.getCookie)("twc-location-region"),w=(0,o.kB)(),L=(null==w?void 0:w.pageCount)?(null==w?void 0:w.pageCount)+1:1,b=(null==w?void 0:w.sessionId)||"",P=(null==w?void 0:w.sessionStartTime)||0,k=(0,r.md)(i.m)||"",S=(0,r.md)(c.X),R=(0,u.usePathname)(),U="article"===k?(0,a.EY)(R):(0,a.wo)(R),A=(0,a.mn)(),F="undefined"!=typeof document?document.referrer:null,O=null==h?void 0:h.displayName,T=null==h?void 0:h.adminDistrict,z=null==h?void 0:h.adminDistrictCode,N=new Date,M=N.getHours(),_=N.getDay(),G=a.pW[_]||null,j=(0,d.getCookie)("twc-privacy"),Z=s.A?null==(p=window)||null==(n=p.DprSdk)||null==(t=n.getCcpaSaleOptInString)?void 0:t.call(n):"",B=s.A?null==(m=window)||null==(v=m.DprSdk)||null==(g=v.getGdprConsentOptInsString)?void 0:g.call(v):"",$=s.A&&(null==(f=window.navigator)?void 0:f.globalPrivacyControl)||!1,X=null==B?void 0:B.includes("functional-technology"),W=null==B?void 0:B.includes("geographically-relevant-advertising");return(0,l.useMemo)(()=>({campaign:x,tpcc:I,cookiesEnabled:y,physicalCountry:D,physicalState:C,pageId:k,partner:E,locale:S,deviceClass:"desktop",url:U,linkReferral:A,referrer:F,pageCount:L,sessionId:b,sessionStartTime:P,schemaVersion:"nextgen",hourOfDay:M,dayOfWeek:G,wlocCity:O,wlocCountry:T,wlocState:z,privProducts:Z,priv:B,gpcSignalOptOut:$,functionalTechnologies:X,geographicallyRelevantAds:W,regime:j}),[x,I,y,D,C,k,E,S,U,A,F,L,b,P,M,G,O,T,z,B,Z,$,X,W,j])}},79801:(e,t,n)=>{n.d(t,{I:()=>o});var r=n(53578);function o(e){return{displayName:e.location.displayName,adminDistrict:e.location.adminDistrict,geocode:function(e){if(!e||!e.includes(","))return e;let t=e.split(",");if(2!==t.length)return e;let[n,r]=t,o=parseFloat(n||"0").toFixed(2),a=parseFloat(r||"0").toFixed(2);return"".concat(o,",").concat(a)}("".concat(e.location.latitude,",").concat(e.location.longitude)),placeId:e.location.placeId,city:e.location.city,countryCode:e.location.countryCode,adminDistrictCode:e.location.adminDistrictCode||"",presentationName:(0,r.r)(e.location)}}},85533:(e,t,n)=>{n.d(t,{i:()=>g,s:()=>v});var r,o=n(78610),a=n(68899),i=n(31043),l=n(10699),c=n(13578);let d=(null==(r=(0,n(37430).getCookie)("twc-location-geocode"))?void 0:r.toString())||null,u=(0,c.eU)(d);var s=n(99863),p=n(79801),g=function(e){return e.PREFER_FAVORITES="preferFavorites",e.PREFER_RECENT="preferRecent",e}({});function v(e){var t;let n,{location:r,fallbackOrder:c="preferFavorites"}=e,d=(0,o.md)(i.nU),g=(0,o.md)(l.I6),v=(0,o.md)(u),m=Array.isArray(d)&&d.length>0?null==(t=d[0])?void 0:t.coordinate:null,f=Array.isArray(g)&&g.length>0?g[0]:null,h="preferRecent"===c,x=e=>(0,s.PT)(e),I=e=>(0,s.$M)(e),{data:y,error:E,isLoading:D}=(0,a.Ay)(!r&&m?["location-data",m]:null,()=>m?x(m):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{data:C,error:w,isLoading:L}=(0,a.Ay)(!r&&!m&&f&&h?["recent-location-data",f]:null,()=>f?I(f):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{data:b,error:P,isLoading:k}=(0,a.Ay)(r||m||"preferFavorites"!==c&&(!h||f)||!v?null:["geoip-location-data",v],()=>v?x(v):null,{revalidateOnFocus:!1,dedupingInterval:3e5});return r?n=r:y&&m?n=(0,p.I)(y):E&&m?(console.error("Error fetching favorite location data:",E),n={displayName:"Favorite Location",adminDistrict:"",geocode:m,placeId:"unknown"}):h&&C&&f?n=(0,p.I)(C):h&&w&&f?(console.error("Error fetching recent location data:",w),n={displayName:"Recent Location",adminDistrict:"",geocode:"",placeId:f}):b&&v?n=(0,p.I)(b):P&&v&&(console.error("Error fetching geoip location data:",P),n={displayName:"Unknown Location",adminDistrict:"",geocode:v,placeId:"unknown",city:"",countryCode:"",adminDistrictCode:""}),{effectiveLocation:n,isLocationLoading:D||!!h&&L||k,locationError:E||(h?w:null)||P}}},91370:(e,t,n)=>{n.d(t,{X:()=>r});let r=(0,n(13578).eU)("en-US")},97729:(e,t,n)=>{n.d(t,{AM:()=>c,Rp:()=>u,Wv:()=>d,hl:()=>s});var r=n(59716),o=n(77704),a=n(67283),i=n(13820);let l=o.createContext({trigger:"click",onMouseEnter:()=>{},onMouseLeave:()=>{}});function c(e){let{trigger:t="click",openDelay:n=0,closeDelay:i=300,open:c,onOpenChange:d,...u}=e,[s,p]=o.useState(c||!1),g=o.useRef(null),v=o.useRef(null);o.useEffect(()=>{void 0!==c&&p(c)},[c]);let m=o.useCallback(e=>{p(e),null==d||d(e)},[d]);o.useEffect(()=>()=>{g.current&&clearTimeout(g.current),v.current&&clearTimeout(v.current)},[]);let f=o.useCallback(()=>{"hover"===t&&(v.current&&(clearTimeout(v.current),v.current=null),s||(g.current=setTimeout(()=>{m(!0)},n)))},[t,s,n,m]),h=o.useCallback(()=>{"hover"===t&&(g.current&&(clearTimeout(g.current),g.current=null),v.current=setTimeout(()=>{m(!1)},i))},[t,i,m]),x=o.useMemo(()=>({trigger:t,onMouseEnter:f,onMouseLeave:h}),[t,f,h]);return(0,r.jsx)(l.Provider,{value:x,children:(0,r.jsx)(a.bL,{"data-slot":"popover",open:s,onOpenChange:m,...u})})}function d(e){let{...t}=e,{trigger:n,onMouseEnter:i,onMouseLeave:c}=o.useContext(l);return(0,r.jsx)(a.l9,{"data-slot":"popover-trigger",..."hover"===n?{onMouseEnter:i,onMouseLeave:c}:{},...t})}function u(e){let{...t}=e;return(0,r.jsx)(a.i3,{"data-slot":"popover-arrow",...t})}function s(e){let{className:t,align:n="center",sideOffset:c=4,children:d,showArrow:u=!0,...s}=e,{trigger:p,onMouseEnter:g,onMouseLeave:v}=o.useContext(l);return(0,r.jsx)(a.ZL,{children:(0,r.jsxs)(a.UC,{"data-slot":"popover-content",align:n,sideOffset:c,className:(0,i.cn)("bg-popover text-popover-foreground data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 origin-(--radix-popover-content-transform-origin) outline-hidden z-50 w-72 rounded-md border-none p-4 shadow-[0_2px_12px_0_#0003]",t),..."hover"===p?{onMouseEnter:g,onMouseLeave:v}:{},...s,children:[u&&(0,r.jsx)(a.i3,{className:"border-none fill-white",height:12,width:20}),d]})})}},99863:(e,t,n)=>{t.$M=l,t.PT=c;let r=n(78449),o=n(25753),a=n(95474),i=n(9625);async function l(e){let t=(0,o.urlFrom)((0,r.getLocationPointUrlConfig)({placeId:e,language:"en-US"})),n=await fetch(t,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,a.handleFetchResponse)(n)}async function c(e){let t=(0,o.urlFrom)((0,r.getLocationPointUrlConfig)({geocode:e,language:"en-US"})),n=await fetch(t,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,a.handleFetchResponse)(n)}}}]);