(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,995181,e=>{"use strict";var t=e.i(458201),r=e.i(538167),l=e.i(282446),i=e.i(580547),n=e.i(789422),a=e.i(584169),s=e.i(632137),o=e.i(710746),u=e.i(611540);let c=(0,e.i(144683).g)(!1),d="tou-notice-dismissed",f=new Date("2027-04-30");var h=e.i(498076),g=e.i(725296),b=e.i(1567),m=e.i(947118),p=e.i(782552);let v=[g.Q.GDPR,g.Q.LGPD,g.Q.EXEMPT,g.Q.LATAM_CO,g.Q.LATAM_DO,g.Q.LATAM_PE,g.Q.USA,g.Q.USA_CCPA,g.Q.USA_CO,g.Q.USA_CT,g.Q.USA_VA,g.Q.CA,g.Q.TR_KVKK,g.Q.KR,g.Q.JP,g.Q.CA_QC],w=new Date("2026-05-30");e.s(["PrivacyTOUNoticeClient",0,({regime:e,className:g})=>{let y=(0,n.r)("TouNotice"),x=(0,i.X)(),C=(0,u.R)(u.e.termsOfUse,{locale:x}),k=(0,u.R)(u.e.privacyPolicy,{locale:x}),[j,S]=(0,l.q)(c),N=(0,r.useRef)(null),I=(0,r.useRef)(!1),E=(0,h.f)(),P=(0,m.f)(),R=(0,b.f)(),_=(0,p.f)(),A=(0,r.useRef)(!1),[L,T]=(0,r.useState)(!1);(0,r.useEffect)(()=>{let e=(0,a.getCookie)("partner")?.toString().toLowerCase();T(e?.includes("samsung")??!1)},[]);let D=v.includes(e),O=new Date{D&&O&&((0,a.getCookie)(d)||S(!0))},[D,O,S]),(0,r.useEffect)(()=>{j&&D&&O&&P&&!I.current&&(I.current=!0,R({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[j,D,O,P,R]),(0,r.useEffect)(()=>{j&&D&&O&&!A.current&&(A.current=!0,_({moduleId:"PP and TOU pop-up notification",modulePosition:0}))},[j,D,O,_]);let $=(0,r.useCallback)(()=>{(0,a.setCookie)(d,"true",{expires:f}),S(!1)},[S]);if((0,r.useEffect)(()=>{if(!j||E)return;let e=e=>{N.current&&!N.current.contains(e.target)&&$()},t=setTimeout(()=>{window.addEventListener("click",e)},100);return()=>{clearTimeout(t),window.removeEventListener("click",e)}},[j,E,$]),!j||!D||!O)return null;let M=y("heading"),U="text-[#252422] underline hover:text-[#252422]/80",Q=y.rich("message",{updatedTerms:e=>(0,t.jsx)("a",{href:C,target:"_blank",rel:"noopener noreferrer",className:U,children:e}),privacyPolicy:e=>(0,t.jsx)("a",{href:k,target:"_blank",rel:"noopener noreferrer",className:U,children:e})}),z=(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:"mb-2 flex items-start justify-between",children:[(0,t.jsx)("div",{className:"flex-1",children:(0,t.jsx)("h4",{className:"m-0 text-base font-bold text-[#252422]",children:M})}),(0,t.jsx)("button",{onClick:$,className:"ml-2 flex h-6 w-6 items-center justify-center rounded-full text-[#252422] hover:bg-[#252422]/10 focus-visible:ring-2 focus-visible:ring-[#252422]/40 focus-visible:outline-none","aria-label":"Dismiss notice",children:(0,t.jsx)(o.f,{className:"h-4 w-4"})})]}),(0,t.jsx)("div",{className:"text-sm leading-tight font-medium text-[#252422]",children:Q})]});return E?(0,t.jsx)("div",{className:(0,s.f)(L?"bg-white":"bg-[#CBDEF0]","mx-4 mt-4 rounded-2xl p-4",g),"aria-label":"Privacy and Terms of Use Notice",children:z}):(0,t.jsx)("div",{"aria-label":"Privacy and Terms of Use Notice",className:(0,s.f)("relative",g),children:(0,t.jsx)("div",{ref:N,className:(0,s.f)("z-toast fixed right-5 bottom-5 w-full max-w-[432px] rounded-2xl p-6 shadow-lg",L?"bg-white":"bg-[#CBDEF0]"),children:z})})}],995181)},247977,748315,e=>{"use strict";var t=e.i(458201),r=e.i(538167),l=e.i(789422),i=e.i(935251),n=e.i(611540),a=e.i(388706),s=e.i(304116),o=e.i(269153),u=e.i(457492),c=e.i(258990);e.s(["f",0,function({placeId:e,featureId:d,placeQuery:f,canonicalPath:h,canonicalID:g,locale:b,showHealthTabs:m}){let p=(0,l.r)("SidebarNavigation"),v=(0,i.usePathname)(),w=(0,o.f)(),y=e?(0,c.f)(e):e,{links:x,basePath:C}=(0,r.useMemo)(()=>{let e;if(h&&!w){let e=m?[{label:"Allergies",slug:"allergy"},{label:"Air Quality",slug:"air-quality"},{label:"Cold & Flu",slug:"cold-flu"}]:[];return{links:[{label:p("today"),slug:"today"},{label:p("hourly"),slug:"hourbyhour"},{label:p("tenday"),slug:"tenday"},...y?[{label:p("monthly"),slug:"monthly",href:(0,n.R)(n.e.monthly,{locale:b,locId:y})}]:[],...e],basePath:h}}let t="en-US"===b?"/weather":`/${b}/weather`,r=y??"",l=f?`?${f}`:"",i=e=>`${(0,s.f)({pageType:e,locale:b,canonicalID:g,featureId:d,placeId:r,skipCanonical:w})}${l}`,a=m?[{label:"Allergies",slug:"allergy",href:i("allergy")},{label:"Air Quality",slug:"air-quality",href:i("air-quality")},{label:"Cold & Flu",slug:"cold-flu",href:i("cold-flu")}]:[];return{links:[{label:p("today"),slug:"today",href:i("today")},{label:p("hourly"),slug:"hourbyhour",href:i("hourbyhour")},{label:p("tenday"),slug:"tenday",href:i("tenday")},{label:p("monthly"),slug:"monthly",href:`${(0,n.R)(n.e.monthly,{locale:b,locId:(e="monthly",r)})}${l}`},...a],basePath:t}},[h,g,y,d,f,b,m,w,p]),k=(0,r.useMemo)(()=>{let e=v.replace(/\/day-\d+$/,"");if(e!==v||v.includes("/byCanonicalPathDay/")){let e=x.findIndex(e=>"tenday"===e.slug);if(-1!==e)return e}let t=x.findIndex(t=>{let{slug:r}=t,l=a.t[r];return!!l&&(v.includes(`${l}byFeatureId/`)||v.includes(`${l}byCanonicalPath/`)||v.includes(`${l}byCanonicalPathDay/`))||v.includes(`/weather/${r}/`)||v.includes(`/forecast/${r}/`)||e.endsWith(`/${r}`)});return -1!==t?t:0},[v,x]);return(0,t.jsx)(u.f,{links:x,basePath:C,activeIndex:k})}],247977);var d=e.i(293163),f=e.i(132084);e.s(["f",0,function(e){return"en-US"===e&&(0,d.n)()!==f.p.SAMSUNG}],748315)},345715,e=>{"use strict";var t=e.i(458201),r=e.i(789422),l=e.i(281687),i=e.i(457492),n=e.i(247977),a=e.i(748315),s=e.i(475823);let o=["en-US"];function u(){return(0,t.jsx)("div",{className:"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-[28px]","data-testid":"forecast-subnav-placeholder","aria-hidden":"true",children:(0,t.jsxs)("div",{className:"flex h-10 items-center gap-1 md:h-12",children:[(0,t.jsx)("span",{className:"h-8 w-16 animate-pulse rounded-full bg-gray-200"}),(0,t.jsx)("span",{className:"h-8 w-14 animate-pulse rounded-full bg-gray-200"}),(0,t.jsx)("span",{className:"h-8 w-18 animate-pulse rounded-full bg-gray-200"}),(0,t.jsx)("span",{className:"h-8 w-20 animate-pulse rounded-full bg-gray-200"})]})})}e.s(["HomeForecastSubnav",0,function({locale:e}){let c=(0,r.r)("SidebarNavigation"),d=(0,l.f)(),f=d?.placeId;if(!f){if(!o.includes(e))return(0,t.jsx)(u,{});let r=[{label:c("today"),slug:"today",href:(0,s.t)("today",e)},{label:c("hourly"),slug:"hourbyhour",href:(0,s.t)("hourly",e)},{label:c("tenday"),slug:"tenday",href:(0,s.t)("tenday",e)},{label:c("monthly"),slug:"monthly",href:(0,s.t)("monthly",e)},{label:"Allergies",slug:"allergy",href:(0,s.t)("allergy",e)},{label:"Air Quality",slug:"air-quality",href:(0,s.t)("air-quality",e)},{label:"Cold & Flu",slug:"cold-flu",href:(0,s.t)("cold-flu",e)}];return(0,t.jsx)(i.f,{links:r,basePath:"",activeIndex:0})}return(0,t.jsx)(n.f,{placeId:f,featureId:d?.featureId,canonicalID:d?.canonicalID,locale:e,showHealthTabs:(0,a.f)(e)})}])},128541,e=>{"use strict";var t=e.i(74492);let r=(0,t.j)(()=>sessionStorage),l=(0,t.N)("wx-purchase-source-attribution",null,r);e.s(["f",0,l])},782552,e=>{"use strict";e.i(199690);var t=e.i(538167),r=e.i(935251),l=e.i(282446),i=e.i(201542),n=e.i(682142),a=e.i(782937),s=e.i(695881),o=e.i(333350),u=e.i(64412),c=e.i(950771),d=e.i(537989),f=e.i(695203),h=e.i(513539),g=e.i(158662),b=e.i(358273),m=e.i(122124),p=e.i(777638),v=e.i(727365),w=e.i(896363),y=e.i(924776),x=e.i(24638),C=e.i(409628),k=e.i(605781),j=e.i(963722),S=e.i(313983);let N=(0,s.createLogger)("useTrackModuleViewed"),I=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),E=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]),P=[];function R(e){try{(0,k.T)(e),N.info(`Hightouch: Event "module-viewed" tracked - ${e.moduleId}`)}catch(e){N.error('Hightouch: Event "module-viewed" failed',{error:e})}}e.s(["f",0,()=>{let e=(0,r.usePathname)(),s=(0,l.y)(d.f),k=(0,l.y)(c.f),N=(0,l.y)(f.f),_=(0,l.y)(h.D),A=(0,l.y)(g.f),{location:L}=(0,u.f)(),T=(0,x.f)(),D=(0,y.f)()&&void 0!==T,O=(0,t.useCallback)(({moduleId:t,modulePosition:r})=>{let l=(0,n.f)(),o=l?.["TWC-GeoIP-Country"]??(0,i.getCookie)("twc-location-country"),u=l?.["TWC-GeoIP-Region"]??(0,i.getCookie)("twc-location-region"),c=l?.["TWC-Privacy"]??(0,i.getCookie)("twc-privacy"),d=window.DprSdk?.getGdprConsentOptInsString()??"",f=window.DprSdk?.getCcpaSaleOptInString()??"",h=window.navigator?.globalPrivacyControl??!1,g=(0,j.u)(S.f.FUNCTIONAL_TECHNOLOGY),y=(0,j.u)(S.f.GEOGRAPHICALLY_RELEVANT_ADVERTISING),x=(0,j.u)(S.f.SALE_OF_DATA),P=(0,j.u)(S.f.SENSITIVE_DATA),R=navigator?.cookieEnabled??!1,D=(0,i.getCookie)("partner")||"",O=(0,a.i)(D)??D,$=(0,b.N)(),M=$?.sessionId||"",U=new Date($?.sessionStartTime||0).toISOString(),Q=new Date,z=Q.getHours(),B=C.f[Q.getDay()]??"",q="article"===s||"video"===s?(0,m.Z)(e??""):(0,m.N)(e??""),F=(0,v.f)(L?.type),V=L?.featureSource??null;return{moduleId:t,modulePosition:void 0===r?void 0:String(r),layoutState:_??void 0,pageId:s??"",url:q,referrer:document.referrer,locale:k,deviceClass:N,partner:O,sessionId:M,sessionStartTime:U,siteMode:"normal",dayOfWeek:B,hourOfDay:z,regime:c??"",cookiesEnabled:R,gpcSignalOptOut:h,functionalTechnologies:g,geographicallyRelevantAds:y,interestBasedAds:T?.[S.f.INTEREST_BASED_ADS]??null,priv:d,privProducts:f,saleOfDataAuthorization:x,sensitiveDataAuthorization:P,campaign:(0,p.s)(),experimentJoinList:A,weatherMode:"normal",physicalCountry:o??"",physicalState:u??"",wlocCity:L?.city??null,wlocCountry:L?.countryCode??null,wlocState:L?.adminDistrictCode??null,wlocDMA:L?.dmaCd??null,wlocId:L?.placeId??null,wlocFeatureId:L?.featureId??null,wlocFeatureSource:null!=V&&E.has(V)?V:void 0,wlocTags:L?.tags?.length?(0,w.f)(L.tags):null,wlocType:null!==F&&I.has(F)?F:void 0,samsungVersion:(0,p.L)(),appVersion:"6bbd4204dd7437768dd9e31d47333d570221fb89".slice(0,10)}},[e,s,k,N,_,A,L,T]);return(0,t.useEffect)(()=>{if(!D||0===P.length)return;let e=P;P=[],e.forEach(R)},[D]),(0,t.useCallback)(e=>{if(!o.default)return;let t=O(e);D?R(t):P.push(t)},[D,O])}])},1567,e=>{"use strict";var t=e.i(487709),r=e.i(737801),l=e.i(282446),i=e.i(513539),n=e.i(538167);e.s(["f",0,()=>{let e="module-viewed",a=(0,r.f)(),s=(0,l.y)(i.D);return(0,n.useCallback)(({moduleId:r,modulePosition:l})=>{if(!(0,t.f)())return void console.warn("MParticle is not loaded");let i={...a,moduleId:r,modulePosition:String(l),layoutState:s};try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,i),console.debug(`MParticle: Event "${e}" tracked`,i)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[a,s])}])},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(),l=t(),i=r.suppressNext,n=r.consume,a=l.suppressNext,s=l.consume;e.s(["R",0,s,"V",0,n,"M",0,a,"w",0,i])},44677,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},336726,e=>{"use strict";var t=e.i(458201),r=e.i(538167),l=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:l,descId:i,...n},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...n,children:[l?(0,t.jsx)("desc",{id:i,children:l}):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"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(l.f,{ref:r,icon:i,...e}));n.displayName="ChevronDown",e.s(["f",0,n])},993269,e=>{"use strict";var t=e.i(458201),r=e.i(538167),l=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:l,descId:i,...n},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...n,children:[l?(0,t.jsx)("desc",{id:i,children:l}):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"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(l.f,{ref:r,icon:i,...e}));n.displayName="Minus",e.s(["f",0,n])},859827,e=>{"use strict";var t=e.i(458201),r=e.i(538167),l=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:l,descId:i,...n},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...n,children:[l?(0,t.jsx)("desc",{id:i,children:l}):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"})]})),n=r.default.forwardRef((e,r)=>(0,t.jsx)(l.f,{ref:r,icon:i,...e}));n.displayName="Plus",e.s(["f",0,n])},458001,e=>{"use strict";let t=(0,e.i(144683).g)("");e.s(["f",0,t])},763886,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},520362,e=>{"use strict";var t=e.i(458201),r=e.i(538167);let l=e=>{let{apiRoute:t,depth:l,refresh:i,serverURL:n}=e,a=(0,r.useRef)(!1),s=(0,r.useCallback)(e=>{e.origin===n&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof i?i():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[i,n]);return(0,r.useEffect)(()=>("u">typeof window&&window.addEventListener("message",s),a.current||(a.current=!0,(e=>{let{serverURL:t}=e;if("u">typeof window){let e=window?.opener||window?.parent;e?.postMessage({type:"payload-live-preview",ready:!0},t)}})({serverURL:n}),i()),()=>{"u">typeof window&&window.removeEventListener("message",s)}),[n,s,l,t,i]),null};var i=e.i(935251);let n=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),a={position:"absolute",pointerEvents:"none",border:"2px solid #5B9BD5",backgroundColor:"rgba(91, 155, 213, 0.04)",borderRadius:"8px",boxShadow:"0 0 8px rgba(91, 155, 213, 0.3)",zIndex:"9999",transition:"opacity 150ms ease"};e.s(["BlockHighlightOverlay",0,()=>{let e=(0,r.useRef)(null),t=(0,r.useRef)(null),l=(0,r.useRef)(null),i=(0,r.useRef)(null),s=(0,r.useRef)(null),o=(0,r.useCallback)(()=>{if("u"{let r=t.current,i=e.current;if(!r||!i)return;if(!r.isConnected){t.current=null,i.style.opacity="0",l.current?.disconnect();return}let n=r.getBoundingClientRect();i.style.top=`${n.top+window.scrollY}px`,i.style.left=`${n.left+window.scrollX}px`,i.style.width=`${n.width}px`,i.style.height=`${n.height}px`,i.style.opacity="1"},[]),c=(0,r.useCallback)(()=>{t.current=null,s.current=null,e.current&&(e.current.style.opacity="0"),l.current?.disconnect()},[]),d=(0,r.useCallback)(()=>{t.current&&null===i.current&&(i.current=requestAnimationFrame(()=>{i.current=null,u()}))},[u]),f=(0,r.useCallback)(e=>{if(e===s.current)return;let r=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!r)return void n.debug("No element found for block ID",{blockId:e});let i=(e=>{let t=e,r=t.getBoundingClientRect();for(let e=0;e{let t=e=>{var t;(e=>{if(e===window.location.origin)return!0;try{let{hostname:t}=new URL(e);return"weather.com"===t||t.endsWith(".weather.com")}catch{return!1}})(e.origin)&&"object"==typeof(t=e.data)&&null!==t&&"type"in t&&("wx:block-highlight-clear"===t.type||"wx:block-highlight"===t.type&&"blockId"in t&&"string"==typeof t.blockId)&&("wx:block-highlight"===e.data.type?f(e.data.blockId):c())};return window.addEventListener("message",t),window.addEventListener("scroll",d,{passive:!0}),window.addEventListener("resize",d,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",d),window.removeEventListener("resize",d),null!==i.current&&cancelAnimationFrame(i.current),l.current?.disconnect(),e.current?.remove()}},[f,c,d]),null},"LivePreviewListener",0,e=>{let r=(0,i.useRouter)();return(0,t.jsx)(l,{...e,refresh:r.refresh})}],520362)},889781,e=>{"use strict";let t=(0,e.i(144683).g)(!1);e.s(["f",0,t])},5397,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},21121,e=>{"use strict";let t=(0,e.i(144683).g)(!1);e.s(["f",0,t])},752496,e=>{"use strict";var t=e.i(538167),r=e.i(609858);let l=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:i,page:n,onUpdateData:a,onSetPageData:s}){let{updateComponentData:o,setPageData:u}=(0,r.f)(),c=(0,t.useRef)(!1),d=a||o,f=s||u;return(0,t.useEffect)(()=>{if(i)return l.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(i),hasPerformance:!!i.performance,hasContext:!!i.context}),d(e,{...i,_collectedAt:new Date().toISOString()}),()=>{l.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,i,d]),(0,t.useEffect)(()=>{n&&!c.current&&(l.lifecycle("Setting page metadata",{title:n.title,assetName:n.assetName,collection:n.collection}),f({...n,_updatedAt:new Date().toISOString()}),c.current=!0)},[n,f]),null}])},609858,674339,e=>{"use strict";var t=e.i(282446),r=e.i(538167);let l=(0,e.i(144683).g)({timestamp:new Date().toISOString()});e.s(["f",0,l],674339),e.s(["f",0,function(){let[e,i]=(0,t.q)(l),n=(0,r.useCallback)((e,t)=>{i(r=>{let l=r?.[e]||{},i="object"==typeof t&&null!==t&&"object"==typeof l?{...l,...t}:t;return{...r,[e]:i}})},[i]),a=(0,r.useCallback)((e,t)=>{i(r=>{let l=r||{timestamp:new Date().toISOString()},i=l.components||{};if(null===t){let t={...i};return delete t[e],{...l,components:t}}return{...l,components:{...i,[e]:t}}})},[i]),s=(0,r.useCallback)(e=>{n("page",e)},[n]),o=(0,r.useCallback)(e=>{n("route",e)},[n]),u=(0,r.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&n(e,t)})},[n]);return{debugData:e,updateSection:n,updateComponentData:a,setPageData:s,clearAllDebugData:(0,r.useCallback)(()=>{i({timestamp:new Date().toISOString()})},[i]),updateRouteInfo:o,updatePageDebug:u}}],609858)},394481,e=>{"use strict";let t=(0,e.i(144683).g)();e.s(["f",0,t])},37429,e=>{"use strict";var t=e.i(458201),r=e.i(538167),l=e.i(168518),l=l,i=e.i(632137);let n={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:n[e],value:e}));let a={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"},s=(0,r.forwardRef)(({src:e,alt:r,shadow:n,rounded:s=!0,className:o,wrapperClassName:u,width:c,height:d,quality:f,priority:h=!1,loading:g,isFetchPriority:b=!1,objectFit:m,fill:p=!1,sizes:v,aspectRatio:w,isAnimated:y=!1,unoptimized:x,...C},k)=>{if(!e)return null;let j=y||e.toLowerCase().endsWith(".gif"),S=p||!!w,N=m??(w?"cover":"contain"),I=w?a[w]:"",E=(0,t.jsx)(l.Image,{ref:k,src:e,alt:r,width:S?void 0:c??320,height:S?void 0:d??180,quality:f,priority:h,loading:g,fetchPriority:b?"high":void 0,fill:S,sizes:v,unoptimized:x??j,className:(0,i.f)({"shadow-md":n,"rounded-lg":s,"object-contain":"contain"===N,"object-cover":"cover"===N,"object-fill":"fill"===N,"object-none":"none"===N,"object-scale-down":"scale-down"===N,"h-auto w-full":!S},o),...C});return S?(0,t.jsx)("div",{className:(0,i.f)("relative overflow-hidden",I,!w&&"h-full w-full",u),children:E}):E});s.displayName="Image",e.s(["s",0,a,"n",0,s,"U",0,s],37429)},235577,e=>{"use strict";var t=e.i(458201),r=e.i(523084),l=e.i(47524),i=e.i(632137),n=e.i(877957);e.s(["f",0,function({direction:e,onClick:a,hidden:s,size:o="default",variant:u="light",className:c}){let d="sm"===o,f=(0,i.f)("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)(n.f,{type:"button",onClick:a,"aria-hidden":"true",tabIndex:-1,className:(0,i.f)("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"===u?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===u?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===u?"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",s&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",s&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",s&&"pointer-events-none opacity-0",c),children:"left"===e?(0,t.jsx)(r.f,{className:f}):(0,t.jsx)(l.f,{className:f})})}])},457492,e=>{"use strict";var t=e.i(458201),r=e.i(538167),l=e.i(632137),i=e.i(282446),n=e.i(663333),a=e.i(235577),s=e.i(315730),o=e.i(240058);let u=(0,l.f)("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"),c=e=>{let{activeIndex:r,index:i,link:n}=e,a=r===i,s=(0,l.f)(u,{"bg-gray-100 text-blue-500":a});if(e.onSelect){let{onSelect:r}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>r(i,n),className:(0,l.f)("cursor-pointer",s),"aria-current":a?"page":void 0,children:n.label})}let{basePath:c,mpa:d}=e,f=n.href??("/"===n.slug?c||"/":`${c}/${n.slug}`);return(0,t.jsx)(o.default,{href:f,mpa:d,className:s,"aria-current":a?"page":void 0,sourceModule:"subnavigation",children:n.label})},d=(0,r.memo)(e=>{let{links:r,activeIndex:o,className:u,constrained:d=!0}=e,f=(0,i.y)(n.f),{ref:h,showLeft:g,showRight:b,scrollLeft:m,scrollRight:p}=(0,s.f)({enabled:"mobile"!==f&&"tablet"!==f,scrollAmount:200,contentKey:r});return(0,t.jsxs)("div",{className:(0,l.f)("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%)]",u),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,l.f)("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":!g}),"aria-hidden":"true"}),(0,t.jsx)(a.f,{hidden:!g,onClick:m,direction:"left"}),(0,t.jsx)("div",{ref:h,className:(0,l.f)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:r.map((r,l)=>e.onSelect?(0,t.jsx)(c,{link:r,index:l,activeIndex:o,onSelect:e.onSelect},`${r.label}_${r.slug}`):(0,t.jsx)(c,{link:r,index:l,activeIndex:o,basePath:e.basePath,mpa:e.mpa},`${r.label}_${r.slug}`))}),(0,t.jsx)("div",{className:(0,l.f)("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":!b}),"aria-hidden":"true"}),(0,t.jsx)(a.f,{hidden:!b,onClick:p,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(["f",0,d],457492)},385277,e=>{"use strict";var t=e.i(538167),r=e.i(792461);e.s(["f",0,e=>{let l=(0,t.useRef)(null),[i,n]=(0,t.useState)(null),a=(0,t.useRef)(!1),s=(0,r.f)(e);return(0,t.useEffect)(()=>{let e=l.current;if(!e||"u"{window.requestAnimationFrame(()=>{for(let t of e){let{right:e,left:r,top:l,bottom:i}=t.contentRect,o=e+r,u=l+i,c=s.current(o,u);a.current=!0,n(c)}})});return t.observe(e),()=>{t.disconnect()}},[l,s]),[i,l,a.current]}])},315730,e=>{"use strict";var t=e.i(147732),r=e.i(538167);e.s(["f",0,function({enabled:e=!0,scrollAmount:l=200,contentKey:i}={}){let n=(0,r.useRef)(null),a=(0,r.useRef)(null),s=(0,r.useRef)(!1),[o,u]=(0,r.useState)(!1),[c,d]=(0,r.useState)(!1),f=(0,r.useCallback)(()=>{let t=n.current;if(!t||!e){u(!1),d(!1);return}let{scrollLeft:r,scrollWidth:l,clientWidth:i}=t,a=Math.abs(r),o=a>2,c=a+i(0,t.f)(f,150),[f]),g=(0,r.useCallback)(()=>{null===a.current&&(a.current=requestAnimationFrame(()=>{f(),a.current=null}))},[f]);(0,r.useEffect)(()=>{let t=n.current;return t&&(s.current="rtl"===getComputedStyle(t).direction),f(),e&&(t?.addEventListener("scroll",g),window.addEventListener("resize",h)),()=>{null!==a.current&&cancelAnimationFrame(a.current),a.current=null,t?.removeEventListener("scroll",g),h.cancel(),window.removeEventListener("resize",h)}},[e,f,g,h,i]);let b=(0,r.useCallback)(()=>n.current?.scrollBy({left:-l,behavior:"smooth"}),[l]),m=(0,r.useCallback)(()=>n.current?.scrollBy({left:l,behavior:"smooth"}),[l]);return{ref:n,showLeft:o,showRight:c,scrollLeft:b,scrollRight:m}}])},739971,e=>{"use strict";let t=(0,e.i(144683).g)(null);e.s(["f",0,t])},792461,e=>{"use strict";var t=e.i(538167);e.s(["f",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])}]);