"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1452],{129:(e,t,o)=>{o.d(t,{G:()=>a});let a=(0,o(56436).eU)()},6127:(e,t,o)=>{o.d(t,{I:()=>r});var a=o(23336);function r(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[o,a]=t,r=parseFloat(o||"0").toFixed(2),n=parseFloat(a||"0").toFixed(2);return"".concat(r,",").concat(n)}("".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,a.r)(e.location),ianaTimeZone:e.location.ianaTimeZone}}},23336:(e,t,o)=>{o.d(t,{r:()=>a});function a(e){let{displayName:t,adminDistrict:o,adminDistrictCode:a,countryCode:r,country:n,disputedArea:i=!0,localeCountryCode:c="US",separator:l=", "}=e,d=[];return t&&d.push(t),"IL"===c||(a?d.push(a):o&&d.push(o)),r!==c&&!i&&n&&d.push(n),d.join(l)}},34627:(e,t,o)=>{o.d(t,{J:()=>c,U:()=>i});var a=o(99842),r=o(69896),n=o(11173);let i=(0,a.tG)("userProfile",null),c=(0,a.tG)("userPreferences",{userID:(0,n.A)(),unit:r.tE,locations:[],locale:"en_US",mapSettings:{animationSpeed:1,autoplay:!0,opacity:100,roadOverlay:"default",style:"default"},favoriteWeatherComponents:[],favoriteActivityComponents:[],dashboard:[]})},36489:(e,t,o)=>{t.$M=c,t.PT=l;let a=o(82719),r=o(54435),n=o(71744),i=o(92795);async function c(e,t){let o=(0,r.urlFrom)((0,a.getLocationPointUrlConfig)({placeId:e,language:t})),i=await fetch(o,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,n.handleFetchResponse)(i)}async function l(e,t){let o=(0,r.urlFrom)((0,a.getLocationPointUrlConfig)({geocode:e,language:t})),i=await fetch(o,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:86400}});return(0,n.handleFetchResponse)(i)}},36697:(e,t,o)=>{o.d(t,{A:()=>l,_:()=>c});var a=o(66695),r=o(97839),n=o(8806),i=o(64070);let c=(0,r.forwardRef)((e,t)=>{let{src:o,alt:r,shadow:c,rounded:l=!0,className:d,wrapperClassName:s,width:u=320,height:p=180,quality:f,priority:h=!1,loading:m,objectFit:v="contain",fill:g=!1,sizes:I,...y}=e;if(!o)return null;let E=(0,a.jsx)(n.default,{ref:t,src:o,alt:r,width:g?void 0:u,height:g?void 0:p,quality:f,priority:h,loading:m,fill:g,sizes:I,className:(0,i.cn)({"shadow-md":c,"rounded-lg":l,"object-contain":"contain"===v,"object-cover":"cover"===v,"object-fill":"fill"===v,"object-none":"none"===v,"object-scale-down":"scale-down"===v,"h-auto w-full":!g},d),...y});return g?(0,a.jsx)("div",{className:(0,i.cn)("relative h-full w-full",s),children:E}):E});c.displayName="Image";let l=c},38389:(e,t,o)=>{o.d(t,{AM:()=>l,Rp:()=>s,Wv:()=>d,hl:()=>u});var a=o(66695),r=o(97839),n=o(20492),i=o(64070);let c=r.createContext({trigger:"click",onMouseEnter:()=>{},onMouseLeave:()=>{}});function l(e){let{trigger:t="click",openDelay:o=0,closeDelay:i=300,open:l,onOpenChange:d,...s}=e,[u,p]=r.useState(l||!1),f=r.useRef(null),h=r.useRef(null);r.useEffect(()=>{void 0!==l&&p(l)},[l]);let m=r.useCallback(e=>{p(e),null==d||d(e)},[d]);r.useEffect(()=>()=>{f.current&&clearTimeout(f.current),h.current&&clearTimeout(h.current)},[]);let v=r.useCallback(()=>{"hover"===t&&(h.current&&(clearTimeout(h.current),h.current=null),u||(f.current=setTimeout(()=>{m(!0)},o)))},[t,u,o,m]),g=r.useCallback(()=>{"hover"===t&&(f.current&&(clearTimeout(f.current),f.current=null),h.current=setTimeout(()=>{m(!1)},i))},[t,i,m]),I=r.useMemo(()=>({trigger:t,onMouseEnter:v,onMouseLeave:g}),[t,v,g]);return(0,a.jsx)(c.Provider,{value:I,children:(0,a.jsx)(n.bL,{"data-slot":"popover",open:u,onOpenChange:m,...s})})}function d(e){let{triggerClass:t,...o}=e,{trigger:i,onMouseEnter:l,onMouseLeave:d}=r.useContext(c);return(0,a.jsx)(n.l9,{"data-slot":"popover-trigger",className:t,..."hover"===i?{onMouseEnter:l,onMouseLeave:d}:{},...o})}function s(e){let{...t}=e;return(0,a.jsx)(n.i3,{"data-slot":"popover-arrow",...t})}function u(e){let{className:t,align:o="center",sideOffset:l=4,children:d,showArrow:s=!0,...u}=e,{trigger:p,onMouseEnter:f,onMouseLeave:h}=r.useContext(c);return(0,a.jsx)(n.ZL,{children:(0,a.jsxs)(n.UC,{"data-slot":"popover-content",align:o,sideOffset:l,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:f,onMouseLeave:h}:{},...u,children:[s&&(0,a.jsx)(n.i3,{className:"border-none fill-white",height:12,width:20}),d]})})}},54435:(e,t)=>{function o(e){let t=new URLSearchParams;for(let[o,a]of Object.entries(e))void 0!==a&&t.append(o,a);return t}Object.defineProperty(t,"__esModule",{value:!0}),t.queryStringToSearchParams=o,t.urlFrom=function(e){let{host:t,...a}=e;if(!t)throw Error("Host is missing");let r=new URL("https://".concat(t));return Object.assign(r,{...a,hostname:t}),a.query&&(r.search=o(a.query).toString()),r}},64070:(e,t,o)=>{o.d(t,{cn:()=>n});var a=o(56199);let r=(0,o(69611).zu)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});function n(){for(var e=arguments.length,t=Array(e),o=0;o{o.d(t,{AF:()=>i,Bu:()=>s,Uo:()=>n,cl:()=>r,lr:()=>d,tE:()=>a,xP:()=>u});let a="Imperial",r="Metric",n="Hybrid",i={code:"e",name:a,temp:"F",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"in"},c={code:"m",name:r,temp:"C",speed:"km/h",distance:"km",accumulation:"cm",precip:"mm",pressure:"mb"},l={code:"h",name:n,temp:"C",speed:"mph",distance:"mi",accumulation:"in",precip:"in",pressure:"mb"},d="unitOfMeasurement";function s(e){switch(null==e?void 0:e.toLowerCase()){case"e":case"f":return i;case"m":case"c":return c;case"h":return l;default:return null}}function u(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"";switch(e.toLowerCase()){case"imperial":case"Imperial":return i;case"metric":case"Metric":return c;case"hybrid":case"Hybrid":return l;default:return null}}},70501:(e,t,o)=>{o.d(t,{nU:()=>n});var a=o(56436),r=o(34627);let n=(0,o(3665).I)(r.J,e=>e.prop("locations")||[]);(0,a.eU)(e=>{var t;return(null==(t=e(r.J))?void 0:t.locations)||[]}),(0,a.eU)(e=>{let t=e(n);return(null==t?void 0:t.find(e=>0===e.position))||(null==t?void 0:t[0])||null}),(0,a.eU)(e=>{var t;return(null==(t=e(n))?void 0:t.length)||!1})},71744:(e,t)=>{async function o(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 ".concat(e.status,")"));throw Error("Unhandled error (status ".concat(e.status,")"))}try{if(204===e.status)return null;return await e.json()}catch(e){throw Error("Invalid JSON response: ".concat(e.message))}}Object.defineProperty(t,"__esModule",{value:!0}),t.handleFetchResponse=o},72602:(e,t,o)=>{t.O=i;let a=o(71744),r=o(54435),n=o(82550);async function i(e,t){let o=(0,r.urlFrom)((0,n.getMediaAssetsByIdUrlConfig)({assetId:e,limit:t})),i=await fetch(o,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300,tags:[e]}});return await (0,a.handleFetchResponse)(i)}},72711:(e,t,o)=>{o.d(t,{X:()=>a});let a=(0,o(56436).eU)("en-US")},79023:(e,t,o)=>{o.d(t,{i:()=>v,s:()=>g});var a,r=o(97839),n=o(20108),i=o(38051),c=o(70501),l=o(83785),d=o(56436);let s=(null==(a=(0,o(65542).getCookie)("twc-location-geocode"))?void 0:a.toString())||null,u=(0,d.eU)(s);var p=o(36489),f=o(129),h=o(6127),m=o(92071),v=function(e){return e.PREFER_FAVORITES="preferFavorites",e.PREFER_RECENT="preferRecent",e}({});function g(e){var t;let{location:o,fallbackOrder:a="preferFavorites"}=e,d=(0,m.useParams)(),s=null==d?void 0:d.locale,v=(0,r.useMemo)(()=>o,[null==o?void 0:o.placeId,null==o?void 0:o.geocode]),g=(0,n.md)(f.G),I=(0,n.md)(c.nU),y=(0,n.md)(l.I6),E=(0,n.md)(u),C=Array.isArray(I)&&I.length>0?null==(t=I[0])?void 0:t.coordinate:null,L=Array.isArray(y)&&y.length>0?y[0]:null,w="preferRecent"===a,x=e=>(0,p.PT)(e,s),{data:D,error:P,isLoading:b}=(0,i.Ay)(!v&&C?["location-data",C]:null,()=>C?x(C):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{data:U,error:S,isLoading:R}=(0,i.Ay)(!v&&!C&&L&&w?["recent-location-data",L]:null,()=>L?(0,p.$M)(L,s):null,{revalidateOnFocus:!1,dedupingInterval:3e5}),{data:M,error:_,isLoading:F}=(0,i.Ay)(v||C||"preferFavorites"!==a&&(!w||L)||!E?null:["geoip-location-data",E],()=>E?x(E):null,{revalidateOnFocus:!1,dedupingInterval:3e5});return{effectiveLocation:(0,r.useMemo)(()=>{let e;return v?e=v:g?e=g:D&&C?e=(0,h.I)(D):P&&C?(console.error("Error fetching favorite location data:",P),e={displayName:"Favorite Location",adminDistrict:"",geocode:C,placeId:"unknown"}):w&&U&&L?e=(0,h.I)(U):w&&S&&L?(console.error("Error fetching recent location data:",S),e={displayName:"Recent Location",adminDistrict:"",geocode:"",placeId:L}):M&&E?e=(0,h.I)(M):_&&E&&(console.error("Error fetching geoip location data:",_),e={displayName:"Unknown Location",adminDistrict:"",geocode:E,placeId:"unknown",city:"",countryCode:"",adminDistrictCode:""}),e},[v,D,P,U,L,M,E,g,C,w,_,S]),isLocationLoading:b||!!w&&R||F,locationError:P||(w?S:null)||_}}},82550:(e,t,o)=>{var a=o(37811);Object.defineProperty(t,"__esModule",{value:!0}),t.getMediaAssetsByIdUrlConfig=function(e){let{assetId:t,limit:o}=e;return{host:"weather.com",protocol:"https",pathname:"api/v2/content-media",query:{apiKey:a.env.WX_CONTENT_MEDIA_API_KEY,assetId:t,limit:o||void 0}}},t.getMediaAssetsByPlaylistIdUrlConfig=function(e){let{playlistId:t,limit:o}=e;return{host:"weather.com",protocol:"https",pathname:"api/v2/content-media",query:{apiKey:a.env.WX_CONTENT_MEDIA_API_KEY,playlistId:t,...void 0!==o?{limit:o.toString()}:{}}}}},82719:(e,t)=>{Object.defineProperty(t,"__esModule",{value:!0}),t.getLocationSearchUrlConfig=function(e){let{query:t,language:o,locationType:a,countryCode:r,adminDistrictCode:n}=e,i={query:t,language:o,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return a&&(i.locationType=a),r&&(i.countryCode=r),n&&(i.adminDistrictCode=n),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/search",query:i}},t.getLocationPointUrlConfig=function(e){let{geocode:t,locId:o,placeId:a,language:r}=e,n={language:r,format:"json",apiKey:"71f92ea9dd2f4790b92ea9dd2f779061"};return t&&(n.geocode=t),o&&(n.locId=o),a&&(n.placeid=a),{host:"api.weather.com",protocol:"https",pathname:"/v3/location/point",query:n}}},83785:(e,t,o)=>{o.d(t,{I6:()=>l,P9:()=>c,Qv:()=>p,YA:()=>d,lr:()=>u,pX:()=>i});var a=o(3665),r=o(99842);let n=(0,r.tG)("wxu-web/keyval:user",{},void 0,{getOnInit:!0}),i=(0,a.I)(n,e=>e.prop("anonymousId")),c=(0,a.I)(n,e=>e.prop("userHasLoggedInBefore")||!1),l=(0,a.I)(n,e=>e.prop("recentLocations")||[]),d=(0,a.I)(n,e=>e.prop("userPreference")||{}),s=(0,r.tG)("wxu-web/keyval:user-account",{},void 0,{getOnInit:!0}),u=(0,a.I)(s,e=>e.prop("userAccountResponse")||null),p=(0,r.tG)("wxu-web/keyval:LOGIN_REDIRECT_PAGE","",void 0,{getOnInit:!0})},85815:(e,t,o)=>{function a(e){let{src:t,width:o,quality:a}=e;if(!t||-1===t.indexOf("w-x.co"))return t;let r=new URL(t);return r.searchParams.set("format","auto"),r.searchParams.set("optimize","medium"),r.searchParams.set("width",o.toString()),a&&r.searchParams.set("quality",a.toString()),r.href}o.r(t),o.d(t,{default:()=>a})},88504:(e,t,o)=>{o.r(t),o.d(t,{default:()=>i});var a=o(66695),r=o(56098),n=o.n(r);o(97839);let i=e=>{let{mpa:t=!0,...o}=e;if(t){let{href:e,children:t,...r}=o;return(0,a.jsx)("a",{href:e.toString(),...r,children:t})}return(0,a.jsx)(n(),{...o})}},89010:(e,t,o)=>{o.d(t,{h:()=>d});var a=o(66695),r=o(97839),n=o(21455),i=o(56199);let c=(0,o(69611).zu)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}}),l=(0,n.F)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),d=r.forwardRef((e,t)=>{let{icon:o,size:r,color:n,title:d,desc:s,className:u,ariaHidden:p,...f}=e;return(0,a.jsx)(o,{ref:t,className:function(){for(var e=arguments.length,t=Array(e),o=0;o{Object.defineProperty(t,"__esModule",{value:!0}),t.getCMSCollectionsUrlConfig=function(e){let{collectionId:t,locale:o="en_US"}=e;return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/collections/".concat(o,"/").concat(t)}},t.getCMSAssetByIDUrlConfig=function(e){let{language:t,assetId:o}=e;return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/a/".concat(t,"/").concat(o)}},t.getCMSOrderedCollectionsUrlConfig=function(e){let{collectionId:t,language:o="en_US"}=e;return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/ordered-collections/".concat(o,"/").concat(t)}},t.getCMSOrderedListUrlConfig=function(e){let{collectionId:t,language:o,collectionType:a}=e;return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/orderedlist/".concat(o,"/").concat(a,"/").concat(t)}},t.getCMSAssetsUrlConfig=function(e){let{language:t="en_US",query:o={},skip:n=0,limit:i=10,sort:c="-publishdate"}=e,l={q:Object.keys(o).reduce((e,t)=>{let a=o[t];return a instanceof Array?[...e,...a.map(e=>r(t,e))]:[...e,r(t,a)]},[]).join(";"),pg:"".concat(n,",").concat(i),format:"json",sort:c},d=(0,a.queryStringToSearchParams)(l).toString();return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/assets/".concat(t),search:"?".concat(d)}},t.getCMSAssetsSlideshowUrlConfig=function(e){let{offset:t=0,assetId:o,limit:a=500}=e;return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/assets/slideshow/".concat(o,"/").concat(t,",").concat(a)}},t.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let a=o(54435);function r(e,t){let o="'".concat(t.$in,"'");return t.$in instanceof Array&&(o=t.$in.map(e=>"'".concat(e,"'")).join(",")),"".concat(e,":$in(").concat(o,")")}},92795:(e,t)=>{var o;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=r,t.normalized=function(e,t){switch(t){case o.Geocode:return i(e);case o.LocID:return l(e);case o.USZipCode:return d(e);case o.PartialLocID1:return s(e);case o.PartialLocID9:return u(e);case o.PlaceID:return p(e);case o.CanonicalCityID:return f(e);default:return e}},t.testLocId=function(e){for(let t of n)if(t.regex.test(e))return{type:t.type,locId:t.normalize(e)};return null},t.normalizedGeocode=i,t.parseLatLonFromGeocode=function(e){let o=i(e).split(",");if(2!==o.length||!o[0]||!o[1])throw t.ErrInvalidGeocode;let a=parseFloat(o[0].trim()),r=parseFloat(o[1].trim());if(isNaN(a)||isNaN(r))throw t.ErrInvalidGeocode;return[a,r]},t.normalizeLatOrLong=c,t.normalizedLocID=l,t.normalizedUSZipCode=d,t.normalizedPartialLocID1=s,t.normalizedPartialLocID9=u,t.normalizedPlaceID=p,t.normalizedCanonicalCityID=f,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"}(o||(t.LocationType=o={})),t.LocationTypeMap={Geocode:"geocode",LocID:"locId",USZipCode:"locId",PartialLocID1:"locId",PartialLocID9:"locId",PlaceID:"placeId",CanonicalCityID:"canonicalCityId"},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 a extends Error{constructor(e){super(e),this.name="LocationError"}}function r(e,a){switch(a){case o.Geocode:return t.RegExpGeocode.test(e)&&"0.00,0.00"!==e;case o.LocID:return t.RegExpLocID.test(e);case o.USZipCode:return t.RegExpUSZipCode.test(e);case o.PartialLocID1:return t.RegExpPartialLocID1.test(e);case o.PartialLocID9:return t.RegExpPartialLocID9.test(e);case o.PlaceID:return t.RegExpPlaceID.test(e);case o.CanonicalCityID:return t.RegExpCanonicalCityID.test(e);default:return!1}}t.LocationError=a,t.ErrInvalid=new a("location: invalid location"),t.ErrInvalidGeocode=new a("location: invalid location: invalid geocode"),t.ErrInvalidLatOrLong=new a("location: invalid location: invalid latitude or longitude"),t.ErrInvalidLocID=new a("location: invalid location: invalid locid"),t.ErrInvalidUSZipCode=new a("location: invalid location: invalid US zip code"),t.ErrInvalidPartialLocID1=new a("location: invalid location: invalid partial locid type 1"),t.ErrInvalidPartialLocID9=new a("location: invalid location: invalid partial locid type 9"),t.ErrInvalidPlaceID=new a("location: invalid location: invalid placeid"),t.ErrInvalidCanonicalCityID=new a("location: invalid location: invalid canonical city ID");let n=[{regex:t.RegExpGeocode,type:t.LocationTypeMap.Geocode,normalize:i},{regex:t.RegExpLocID,type:t.LocationTypeMap.LocID,normalize:l},{regex:t.RegExpUSZipCode,type:t.LocationTypeMap.USZipCode,normalize:d},{regex:t.RegExpPartialLocID1,type:t.LocationTypeMap.PartialLocID1,normalize:s},{regex:t.RegExpPartialLocID9,type:t.LocationTypeMap.PartialLocID9,normalize:u},{regex:t.RegExpPlaceID,type:t.LocationTypeMap.PlaceID,normalize:p},{regex:t.RegExpCanonicalCityID,type:t.LocationTypeMap.CanonicalCityID,normalize:f}];function i(e){if(""===e||!r(e,o.Geocode))throw t.ErrInvalidGeocode;let a=e.split(",");if(2!==a.length)throw t.ErrInvalidGeocode;try{for(let e=0;e{t.p=void 0;let a=o(71744),r=o(54435),n=o(91236);t.p=async()=>{let e=(0,r.urlFrom)((0,n.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,a.handleFetchResponse)(t)}},99290:(e,t,o)=>{o.d(t,{A:()=>c});var a=o(72602),r=o(94658),n=o(99805);let i={"en-US":"b5b00612-dcab-47fe-aa37-7edcc198c3eb","es-US":"79e3a66a-ee77-47a2-a93d-84931a413924","de-DE":"ef0cb00f-bd97-4636-b2b2-b7d0fcd7dc30","en-IN":"b784ec68-382d-4b45-8eb0-47f3d677d6c6",en:"85d5d0c0-c26b-420a-8bd5-788bba2ec0bb"},c=async e=>{var t,o,c;let l=await (0,r.p)(),d=null==l||null==(t=l.videoLinkLocaleInclude)?void 0:t[e],s=null==d?void 0:d.launchPlaylist;if((null==d?void 0:d.override)&&s){let t=await (0,n.vd)(s,e);return(null==t||null==(c=t[0])?void 0:c.url)||null}let u=i[e];if(!u)return null;let p=await (0,a.O)(u,"1");return(null==p||null==(o=p[0])?void 0:o.url)||null}},99805:(e,t,o)=>{t.vd=i;let a=o(91236),r=o(54435),n=o(71744);async function i(e,t){let o=t?t.split("-").join("_"):"en_US",i=(0,r.urlFrom)((0,a.getCMSOrderedListUrlConfig)({language:o,collectionId:e,collectionType:"video"})),c=await fetch(i,{headers:{"Accept-Encoding":"gzip"},next:{revalidate:300,tags:[e]}});return(0,n.handleFetchResponse)(c)}}}]);