(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,190344,e=>{"use strict";var t=e.i(381477),r=e.i(546446),a=e.i(763886),o=e.i(132084),l=e.i(456215),i=e.i(647292);e.i(609717);var n=e.i(950771),s=e.i(328895);let c=(0,e.i(695881).createLogger)("useVideoNavUrl");e.s(["useVideoNavUrl",0,function(){var e,u;let d=(0,r.useAtomValue)(a.partnerAtom),m=(0,r.useAtomValue)(i.webViewPlatformAtom),f=(0,r.useAtomValue)(n.pageLocaleAtom),p=(e=d??"",u=m??"",e===o.Partner.SAMSUNG?"weather-com-mobile-web-samsung":(0,l.isSnowCastWebView)(u)?"twc-snowcast":u?"weather-com-mobile-web":"weather-com-web"),{data:h,error:g}=(0,t.default)(["navigation/video-nav",p,f,d],()=>(0,s.getVideoNavLink)({channel:p,language:f,partner:d||void 0}),{dedupingInterval:3e5,revalidateOnFocus:!1,keepPreviousData:!0});return g&&c.error("video nav url fetch failed",{channel:p,locale:f,partner:d,error:g}),h}],190344)},736593,(e,t,r)=>{"use strict";e.i(288906),Object.defineProperty(r,"__esModule",{value:!0});var a={default:function(){return u},getImageProps:function(){return c}};for(var o in a)Object.defineProperty(r,o,{enumerable:!0,get:a[o]});let l=e.r(836437),i=e.r(507631),n=e.r(56930),s=l._(e.r(165613));function c(e){let{props:t}=(0,i.getImgProps)(e,{defaultLoader:s.default,imgConf:{deviceSizes:[640,750,828,1080,1280,1600],imageSizes:[32,48,64,96,128,256,384],qualities:[75],path:"/_next/image/",loader:"custom",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let u=n.Image},749621,(e,t,r)=>{t.exports=e.r(736593)},128541,e=>{"use strict";var t=e.i(284007);let r=(0,t.createJSONStorage)(()=>sessionStorage),a=(0,t.atomWithStorage)("wx-purchase-source-attribution",null,r);e.s(["purchaseSourceAttributionAtom",0,a])},947118,221085,e=>{"use strict";let t;var r=e.i(247865);let a=new Set,o=0,l=()=>"function"==typeof window.mParticle?.init,i=()=>{void 0!==t&&(clearInterval(t),t=void 0)},n=()=>{if(!l()||(i(),0===a.size))return;let e=[...a];for(let t of(a.clear(),e))t()},s=()=>{void 0===t&&(o=0,t=setInterval(()=>{o+=100,n(),o>=3e4&&i()},100))},c=e=>(a.add(e),s(),()=>{a.delete(e)}),u=e=>l()?(e(),()=>{}):c(e),d=e=>l()?()=>{}:c(e),m=()=>!1;e.s(["subscribeSdkLoaded",0,u,"useIsSdkLoaded",0,()=>(0,r.useSyncExternalStore)(d,l,m),"watchForSdkLoad",0,e=>{if("u"{};if(l())return n(),()=>{};s();let t=Array.from(document.scripts).find(t=>t.getAttribute("src")===e);if(!t)return()=>{};let r=()=>n();return t.addEventListener("load",r),()=>{t.removeEventListener("load",r)}}],221085);let f=e=>"function"==typeof window.mParticle?.ready?(window.mParticle?.ready?.(e),()=>{}):u(()=>{window.mParticle?.ready?.(e),e()}),p=()=>!!window.mParticle?.isInitialized?.(),h=()=>!1;e.s(["useIsInitialized",0,()=>(0,r.useSyncExternalStore)(f,p,h)],947118)},459598,e=>{"use strict";let t=()=>{let e,t=!1;return{suppressNext:()=>{t=!0,clearTimeout(e),e=setTimeout(()=>{t=!1},2e3)},consume:()=>!!t&&(t=!1,clearTimeout(e),!0)}},r=t(),a=t(),o=r.suppressNext,l=r.consume,i=a.suppressNext,n=a.consume;e.s(["consumeHightouchPurchaseAbandonSuppression",0,n,"consumePurchaseAbandonSuppression",0,l,"suppressNextHightouchPurchaseAbandon",0,i,"suppressNextPurchaseAbandon",0,o])},718043,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getCMSCollectionsUrlConfig=function({collectionId:e,locale:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/collections/${t}/${e}`}},r.getCMSAssetByIDUrlConfig=function({language:e,assetId:t}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/a/${e}/${t}`}},r.getCMSOrderedCollectionsUrlConfig=function({collectionId:e,language:t="en_US"}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/ordered-collections/${t}/${e}`}},r.getCMSOrderedListUrlConfig=function({collectionId:e,language:t,collectionType:r}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/orderedlist/${t}/${r}/${e}`}},r.getCMSAssetsUrlConfig=function({language:e="en_US",query:t={},skip:r=0,limit:l=10,sort:i="-publishdate"}){let n={q:Object.keys(t).reduce((e,r)=>{let a=t[r];return a instanceof Array?[...e,...a.map(e=>o(r,e))]:[...e,o(r,a)]},[]).join(";"),pg:`${r},${l}`,format:"json",sort:i},s=(0,a.queryStringToSearchParams)(n).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${s}`}},r.getCMSAssetsRawQueryUrlConfig=function({language:e="en_US",query:t="",skip:r=0,limit:o=10,sort:l="-publishdate"}){let i={q:t,pg:`${r},${o}`,format:"json",sort:l},n=(0,a.queryStringToSearchParams)(i).toString();return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/v4/assets/${e}`,search:`?${n}`}},r.getCMSAssetsSlideshowUrlConfig=function({offset:e=0,assetId:t,limit:r=500}){return{host:"dsx.weather.com",protocol:"https",pathname:`/cms/assets/slideshow/${t}/${e},${r}`}},r.getCMSQuickNavUrlConfig=function(){return{host:"dsx.weather.com",protocol:"https",pathname:"/cms/v4/settings/en_US/web/quick_nav"}};let a=e.r(678651);function o(e,t){let r=`'${t.$in}'`;return t.$in instanceof Array&&(r=t.$in.map(e=>`'${e}'`).join(",")),`${e}:$in(${r})`}},427977,(e,t,r)=>{"use strict";Object.defineProperty(r,"__esModule",{value:!0}),r.getQuickNav=void 0;let a=e.r(414655),o=e.r(678651),l=e.r(718043);r.getQuickNav=async()=>{let e=(0,o.urlFrom)((0,l.getCMSQuickNavUrlConfig)()),t=await fetch(e,{headers:{"Accept-Encoding":"gzip"}});return await (0,a.handleFetchResponse)(t)}},849177,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsDisabledAtom",0,t])},336726,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:o,...l},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":r,"aria-describedby":o,...l,children:[a?(0,t.jsx)("desc",{id:o,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Chevron Down"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M8.471 10.529a.667.667 0 0 1-.942 0L3.35 6.35a.495.495 0 1 1 .7-.7L8 9.6l3.95-3.95a.495.495 0 1 1 .7.7z"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:o,...e}));l.displayName="ChevronDown",e.s(["ChevronDown",0,l])},993269,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:o,...l},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":r,"aria-describedby":o,...l,children:[a?(0,t.jsx)("desc",{id:o,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Minus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H4.8a.8.8 0 1 0 0 1.6h6.4a.8.8 0 0 0 .8-.8"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:o,...e}));l.displayName="Minus",e.s(["Minus",0,l])},859827,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:a,descId:o,...l},i)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:i,"aria-labelledby":r,"aria-describedby":o,...l,children:[a?(0,t.jsx)("desc",{id:o,children:a}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Plus"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12 8.5a.8.8 0 0 0-.8-.8H8.8V5.3a.8.8 0 1 0-1.6 0v2.4H4.8a.8.8 0 1 0 0 1.6h2.4v2.4a.8.8 0 0 0 1.6 0V9.3h2.4a.8.8 0 0 0 .8-.8"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:o,...e}));l.displayName="Plus",e.s(["Plus",0,l])},281687,e=>{"use strict";var t=e.i(64412),r=e.i(512134);e.s(["useChromeLocation",0,function(){let{location:e}=(0,t.useLocation)();return(0,r.useIsClient)()?e:void 0}])},935807,e=>{"use strict";function t(e,r=[],o=!1,l="US",i){let n,s=r.find(t=>t.placeID===e.placeId);if(s&&o){let t=s.userTag||s.name;if(t&&"Other"!==t){let r=e.displayName,o=a(e,l,""),i="address"===e.type?e.address:void 0;if(t!==r&&t!==o&&t!==i)return t}}if(e?.disputedCountries)n=e.displayName||"";else{switch(e?.type){case"address":n=e?.address?.split(",")[0]?.trim()||"";break;case"city":n=e?.locale?.locale2||"";break;case"locality":n=e?.locale?.locale3||"";break;case"neighborhood":n=e?.locale?.locale4||"";break;case"airport":n=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",r=e?.postalCode||"";n=i?`${t} ${r}`.trim():`${t}`.trim();break}default:n=e?.displayName||""}0===n.length&&(n=e?.displayName||"")}return n}function r(e,t=[],o=!1,l="US",i){let n,s=t.find(t=>t.placeID===e.placeId);if(s&&o){let t=s.userTag||s.name;if(t&&"Other"!==t){let r=e.displayName,o=a(e,l,"");if(t!==r&&t!==o)return function(e,t="US"){if(e?.disputedCountries)return e?.displayName||"";let r=t===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,r].filter(Boolean).join(", ")}case"locality":{let t=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",t,r].filter(Boolean).join(", ")}case"neighborhood":{let t=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",t,r].filter(Boolean).join(", ")}case"postal":{let t=e?.adminDistrict||"",a=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${a}`.trim(),r].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,r].filter(Boolean).join(", ")}}}(e,l)}}if(e?.disputedCountries)n=e?.displayName||"";else{let t=l===e?.countryCode?"":e?.country||"",r=e?.adminDistrict||"",a=e?.postalCode||"",o=e.city||"";switch(e?.type){case"address":n=[o,r,t].filter(Boolean).join(", ");break;case"city":default:n=[r,t].filter(Boolean).join(", ");break;case"locality":n=[e?.locale?.locale2||"",r,t].filter(Boolean).join(", ");break;case"neighborhood":n=[e?.locale?.locale3||e?.locale?.locale2||"",r,t].filter(Boolean).join(", ");break;case"postal":{let o=r||e?.locale?.locale2||"";n=[i?`${o} ${a}`.trim():o,t].filter(Boolean).join(", ")}}}return n}function a(e,t,r){let{displayName:a,adminDistrictCode:o,adminDistrict:l,countryCode:i,disputedArea:n,country:s}=e,c=[];return a&&c.push(a),"IL"!==t&&(o?c.push(o):l&&c.push(l)),i!==t&&!1===n&&s&&c.push(s),c.join(r)}e.s(["getLocationContext",0,r,"getLocationName",0,t,"getLocationPresentationName",0,function(e,a=[],o=!1,l="US"){let i=t(e,a,o,l,!1),n=r(e,a,o,l,!0),s=e?.separator?e?.separator:i&&n?", ":"";return`${i}${s}${n}`.trim()}])},919101,e=>{"use strict";e.s(["getAddressForLocationData",0,(e,t)=>{if(!e||!Array.isArray(t))return e;let r=t.find(t=>t.placeId===e.placeId);return r?{...e,displayName:r.address,address:r.address}:e}])},458001,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["cscCountryCodeAtom",0,t])},763886,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["partnerAtom",0,t])},889781,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["nextgenRadarDriverAtom",0,t])},5397,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["showAdminHeaderAtom",0,t])},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},752496,e=>{"use strict";var t=e.i(247865),r=e.i(609858);let a=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:o,page:l,onUpdateData:i,onSetPageData:n}){let{updateComponentData:s,setPageData:c}=(0,r.useDebugSystem)(),u=(0,t.useRef)(!1),d=i||s,m=n||c;return(0,t.useEffect)(()=>{if(o)return a.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(o),hasPerformance:!!o.performance,hasContext:!!o.context}),d(e,{...o,_collectedAt:new Date().toISOString()}),()=>{a.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,o,d]),(0,t.useEffect)(()=>{l&&!u.current&&(a.lifecycle("Setting page metadata",{title:l.title,assetName:l.assetName,collection:l.collection}),m({...l,_updatedAt:new Date().toISOString()}),u.current=!0)},[l,m]),null}])},609858,674339,e=>{"use strict";var t=e.i(546446),r=e.i(247865);let a=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,a],674339),e.s(["useDebugSystem",0,function(){let[e,o]=(0,t.useAtom)(a),l=(0,r.useCallback)((e,t)=>{o(r=>{let a=r?.[e]||{},o="object"==typeof t&&null!==t&&"object"==typeof a?{...a,...t}:t;return{...r,[e]:o}})},[o]),i=(0,r.useCallback)((e,t)=>{o(r=>{let a=r||{timestamp:new Date().toISOString()},o=a.components||{};if(null===t){let t={...o};return delete t[e],{...a,components:t}}return{...a,components:{...o,[e]:t}}})},[o]),n=(0,r.useCallback)(e=>{l("page",e)},[l]),s=(0,r.useCallback)(e=>{l("route",e)},[l]),c=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&l(e,t)})},[l]);return{debugData:e,updateSection:l,updateComponentData:i,setPageData:n,clearAllDebugData:(0,r.useCallback)(()=>{o({timestamp:new Date().toISOString()})},[o]),updateRouteInfo:s,updatePageDebug:c}}],609858)},394481,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["privacyRegimeAtom",0,t])},37429,e=>{"use strict";e.i(288906);var t=e.i(902875),r=e.i(247865),a=e.i(749621),o=e.i(632137);let l={square:"Square (1:1)",video:"Video (16:9)",goldenPortrait:"Golden Portrait (1:1.618)",goldenLandscape:"Golden Landscape (1.618:1)","16/9":"16:9","8/5":"8:5","4/3":"4:3","3/2":"3:2","2/3":"2/3","1/1":"1:1",auto:"Auto"};["square","video","goldenPortrait","goldenLandscape","16/9","8/5","4/3","3/2","2/3","1/1","auto"].map(e=>({label:l[e],value:e}));let i={square:"aspect-square",video:"aspect-video",goldenPortrait:"aspect-[1/1.618]",goldenLandscape:"aspect-[1.618/1]","16/9":"aspect-[16/9]","8/5":"aspect-[8/5]","4/3":"aspect-[4/3]","3/2":"aspect-[3/2]","2/3":"aspect-[2/3]","1/1":"aspect-[1/1]",auto:"h-full w-full"},n=(0,r.forwardRef)(({src:e,alt:r,shadow:l,rounded:n=!0,className:s,wrapperClassName:c,width:u,height:d,quality:m,priority:f=!1,loading:p,isFetchPriority:h=!1,objectFit:g,fill:b=!1,sizes:v,aspectRatio:w,isAnimated:x=!1,unoptimized:y,...S},C)=>{if(!e)return null;let j=x||e.toLowerCase().endsWith(".gif"),k=b||!!w,A=g??(w?"cover":"contain"),$=w?i[w]:"",N=(0,t.jsx)(a.default,{ref:C,src:e,alt:r,width:k?void 0:u??320,height:k?void 0:d??180,quality:m,priority:f,loading:p,fetchPriority:h?"high":void 0,fill:k,sizes:v,unoptimized:y??j,className:(0,o.cn)({"shadow-md":l,"rounded-lg":n,"object-contain":"contain"===A,"object-cover":"cover"===A,"object-fill":"fill"===A,"object-none":"none"===A,"object-scale-down":"scale-down"===A,"h-auto w-full":!k},s),...S});return k?(0,t.jsx)("div",{className:(0,o.cn)("relative overflow-hidden",$,!w&&"h-full w-full",c),children:N}):N});n.displayName="Image",e.s(["ASPECT_RATIO_CLASSES",0,i,"Image",0,n,"default",0,n])},235577,e=>{"use strict";var t=e.i(902875),r=e.i(523084),a=e.i(47524),o=e.i(632137),l=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:i,hidden:n,size:s="default",variant:c="light",className:u}){let d="sm"===s,m=(0,o.cn)("text-current",d?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(l.Button,{type:"button",onClick:i,"aria-hidden":"true",tabIndex:-1,className:(0,o.cn)("group z-sticky absolute top-1/2 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",d?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",n&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",n&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",n&&"pointer-events-none opacity-0",u),children:"left"===e?(0,t.jsx)(r.ChevronLeft,{className:m}):(0,t.jsx)(a.ChevronRight,{className:m})})}])},457492,e=>{"use strict";var t=e.i(902875),r=e.i(247865),a=e.i(632137),o=e.i(546446),l=e.i(663333),i=e.i(235577),n=e.i(315730),s=e.i(240058);let c=(0,a.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),u=e=>{let{activeIndex:r,index:o,link:l}=e,i=r===o,n=(0,a.cn)(c,{"bg-gray-100 text-blue-500":i});if(e.onSelect){let{onSelect:r}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>r(o,l),className:(0,a.cn)("cursor-pointer",n),"aria-current":i?"page":void 0,children:l.label})}let{basePath:u,mpa:d}=e,m=l.href??("/"===l.slug?u||"/":`${u}/${l.slug}`);return(0,t.jsx)(s.default,{href:m,mpa:d,className:n,"aria-current":i?"page":void 0,sourceModule:"subnavigation",children:l.label})},d=(0,r.memo)(e=>{let{links:r,activeIndex:s,className:c,constrained:d=!0}=e,m=(0,o.useAtomValue)(l.deviceClassAtom),{ref:f,showLeft:p,showRight:h,scrollLeft:g,scrollRight:b}=(0,n.useHorizontalScroll)({enabled:"mobile"!==m&&"tablet"!==m,scrollAmount:200,contentKey:r});return(0,t.jsxs)("div",{className:(0,a.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",d&&"md:mr-auto md:max-w-[min(958px,100%)]",c),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -left-1 h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-transform md:-top-1 md:h-14 md:rounded-s-[28px]",{"-translate-x-24":!p}),"aria-hidden":"true"}),(0,t.jsx)(i.ScrollButton,{hidden:!p,onClick:g,direction:"left"}),(0,t.jsx)("div",{ref:f,className:(0,a.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:r.map((r,a)=>e.onSelect?(0,t.jsx)(u,{link:r,index:a,activeIndex:s,onSelect:e.onSelect},`${r.label}_${r.slug}`):(0,t.jsx)(u,{link:r,index:a,activeIndex:s,basePath:e.basePath,mpa:e.mpa},`${r.label}_${r.slug}`))}),(0,t.jsx)("div",{className:(0,a.cn)("pointer-events-none absolute top-0 -right-1 h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-transform md:-top-1 md:h-14 md:rounded-e-[28px]",{"translate-x-24":!h}),"aria-hidden":"true"}),(0,t.jsx)(i.ScrollButton,{hidden:!h,onClick:b,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,r)=>e.label===t.links[r]?.label&&e.slug===t.links[r]?.slug&&e.href===t.links[r]?.href));d.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,d],457492)},385277,e=>{"use strict";var t=e.i(247865),r=e.i(792461);e.s(["useClientContainerSize",0,e=>{let a=(0,t.useRef)(null),[o,l]=(0,t.useState)(null),i=(0,t.useRef)(!1),n=(0,r.useRefMemo)(e);return(0,t.useEffect)(()=>{let e=a.current;if(!e||"u"{window.requestAnimationFrame(()=>{for(let t of e){let{right:e,left:r,top:a,bottom:o}=t.contentRect,s=e+r,c=a+o,u=n.current(s,c);i.current=!0,l(u)}})});return t.observe(e),()=>{t.disconnect()}},[a,n]),[o,a,i.current]}])},315730,e=>{"use strict";var t=e.i(147732),r=e.i(247865);e.s(["useHorizontalScroll",0,function({enabled:e=!0,scrollAmount:a=200,contentKey:o}={}){let l=(0,r.useRef)(null),i=(0,r.useRef)(null),n=(0,r.useRef)(!1),[s,c]=(0,r.useState)(!1),[u,d]=(0,r.useState)(!1),m=(0,r.useCallback)(()=>{let t=l.current;if(!t||!e){c(!1),d(!1);return}let{scrollLeft:r,scrollWidth:a,clientWidth:o}=t,i=Math.abs(r),s=i>2,u=i+o(0,t.debounce)(m,150),[m]),p=(0,r.useCallback)(()=>{null===i.current&&(i.current=requestAnimationFrame(()=>{m(),i.current=null}))},[m]);(0,r.useEffect)(()=>{let t=l.current;return t&&(n.current="rtl"===getComputedStyle(t).direction),m(),e&&(t?.addEventListener("scroll",p),window.addEventListener("resize",f)),()=>{null!==i.current&&cancelAnimationFrame(i.current),i.current=null,t?.removeEventListener("scroll",p),f.cancel(),window.removeEventListener("resize",f)}},[e,m,p,f,o]);let h=(0,r.useCallback)(()=>l.current?.scrollBy({left:-a,behavior:"smooth"}),[a]),g=(0,r.useCallback)(()=>l.current?.scrollBy({left:a,behavior:"smooth"}),[a]);return{ref:l,showLeft:s,showRight:u,scrollLeft:h,scrollRight:g}}])},739971,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["subscriptionsEnabledAtom",0,t])},792461,e=>{"use strict";var t=e.i(247865);e.s(["useRefMemo",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])}]);