(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,697151,e=>{"use strict";let t=(0,e.i(514514).default)("globe",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 2a14.5 14.5 0 0 0 0 20 14.5 14.5 0 0 0 0-20",key:"13o1zl"}],["path",{d:"M2 12h20",key:"9i4pu4"}]]);e.s(["Globe",0,t],697151)},736593,(e,t,i)=>{"use strict";e.i(288906),Object.defineProperty(i,"__esModule",{value:!0});var n={default:function(){return u},getImageProps:function(){return c}};for(var o in n)Object.defineProperty(i,o,{enumerable:!0,get:n[o]});let l=e.r(836437),a=e.r(507631),r=e.r(56930),s=l._(e.r(165613));function c(e){let{props:t}=(0,a.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,i]of Object.entries(t))void 0===i&&delete t[e];return{props:t}}let u=r.Image},749621,(e,t,i)=>{t.exports=e.r(736593)},329017,e=>{"use strict";e.i(288906);var t=e.i(247865),i=e.i(725287),n=e.i(546446),o=e.i(540768),l=e.i(682142),a=e.i(782937),r=e.i(695881),s=e.i(333350),c=e.i(64412),u=e.i(950771),d=e.i(537989),g=e.i(695203),m=e.i(158662),p=e.i(358273),f=e.i(122124),h=e.i(777638),w=e.i(727365),v=e.i(896363),y=e.i(924776),C=e.i(409628),b=e.i(605781),k=e.i(289681);let S=(0,r.createLogger)("useTrackInteraction"),I=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),x=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackInteraction",0,()=>{let e=(0,n.useAtomValue)(d.pageIdAtom),r=(0,n.useAtomValue)(u.pageLocaleAtom),A=(0,n.useAtomValue)(g.deviceClassAtom),P=(0,n.useAtomValue)(m.experimentJoinListAtom),j=(0,i.usePathname)(),{location:D}=(0,c.useLocation)(),T=(0,y.useIsHightouchReady)(),M=(0,t.useCallback)(t=>{let i=(0,l.getCICookie)(),n=i?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),s=i?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),c=i?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),u=window.DprSdk?.getGdprConsentOptInsString()??"",d=window.DprSdk?.getCcpaSaleOptInString()??"",g=window.navigator?.globalPrivacyControl??!1,m=u?.includes("functional-technology")??!1,y=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,b=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,S=(0,k.getConsentAuthorization)("sale-of-data"),T=(0,k.getConsentAuthorization)("sensitive-data"),M=navigator?.cookieEnabled??!1,R=(0,o.getCookie)("partner")||"",L=(0,a.getPartnerByPattern)(R)??R,E=(0,p.getMetricsSession)(),H=E?.sessionId||"",O=new Date(E?.sessionStartTime||0).toISOString(),V=new Date,z=V.getHours(),_=C.WEEK_DAYS[V.getDay()]??"",B=e&&["article","video"].includes(e)?j?.split("/").slice(0,-1).join("/")??"":(0,f.getAnonymizedPath)(j??""),U=(0,w.normalizeWlocType)(D?.type),$=D?.featureSource??null;return{moduleId:t.moduleId??"",moduleTitle:t.moduleTitle??null,modulePosition:t.modulePosition,interactionType:t.interactionType??"",interactionElement:t.interactionElement??null,lockedContent:t.lockedContent??"false",destinationPageId:t.destinationPageId??null,upsellCampaign:t.upsellCampaign??null,upsellCreative:t.upsellCreative??null,upsellPlacement:t.upsellPlacement,pageId:e??"",url:B,referrer:document.referrer,locale:r,deviceClass:A,partner:L,sessionId:H,sessionStartTime:O,siteMode:"normal",dayOfWeek:_,hourOfDay:z,regime:c??"",cookiesEnabled:M,gpcSignalOptOut:g,functionalTechnologies:m,geographicallyRelevantAds:y,interestBasedAds:b,priv:u,privProducts:d,saleOfDataAuthorization:S,sensitiveDataAuthorization:T,campaign:(0,h.getCampaign)(),experimentJoinList:P,weatherMode:"normal",physicalCountry:n??"",physicalState:s??"",wlocCity:D?.city??null,wlocCountry:D?.countryCode??null,wlocState:D?.adminDistrictCode??null,wlocDMA:D?.dmaCd??null,wlocId:D?.placeId??null,wlocFeatureId:D?.featureId??null,wlocFeatureSource:null!=$&&x.has($)?$:void 0,wlocTags:D?.tags?.length?(0,v.parseArrayToString)(D.tags):null,wlocType:null!==U&&I.has(U)?U:void 0,samsungVersion:(0,h.getSamsungVersion)(),appVersion:"23aa46a03996df01ba4888f58342186a5a9d6167".slice(0,10)}},[e,r,A,P,j,D]);return(0,t.useCallback)(e=>{if(s.default){if(!T)return void S.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,b.trackInteraction)(M(e)),S.info('Hightouch: Event "interaction" tracked')}catch(e){S.error('Hightouch: Event "interaction" failed',{error:e})}}},[T,M])}])},683199,e=>{"use strict";var t=e.i(247865),i=e.i(546446),n=e.i(128541),o=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,i.useSetAtom)(n.purchaseSourceAttributionAtom),l=(0,i.useAtomValue)(o.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:i,sourceUpsellPlacement:n})=>{e({sourcePage:l||null,sourceModule:t,sourceElement:i,sourceUpsellPlacement:n??null})},[e,l])}])},598513,e=>{"use strict";var t=e.i(487709),i=e.i(737801),n=e.i(329017),o=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",l=(0,i.useEventAttributes)(),a=(0,n.useTrackInteraction)();return(0,o.useCallback)((i,n={})=>{a(i);let o={...l,...i};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,o),n.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,o)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[l,a])}])},123590,333761,e=>{"use strict";var t=e.i(487709),i=e.i(737801),n=e.i(630986),o=e.i(247865);e.s(["useTrackContentLinkClick",0,()=>{let e="content-link-click",l=(0,i.useEventAttributes)(),a=(0,n.useCMSAttributes)();return(0,o.useCallback)(i=>{let n={createdDate:a?.createdDate||"",contentId:a?.contentId||"",publishDate:a?.publishDate||"",author:a?.author||"",collection:a?.collection||"",entitlements:a?.entitlements||"",provider:a?.provider||"",linkType:i.linkType,linkURL:i.linkURL,linkText:i.linkText||"",moduleId:i.moduleId||"",tagsKeyword:i.tagsKeyword??a?.tagsKeyword,...l,physicalCountry:l.physicalCountry||"",physicalState:l.physicalState||"",wlocCity:l.wlocCity||"",wlocCountry:l.wlocCountry||"",wlocState:l.wlocState||"",regime:l.regime||""};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,n);try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,n)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[a?.createdDate,a?.contentId,a?.publishDate,a?.author,a?.collection,a?.entitlements,a?.provider,l])}],123590);var l=e.i(546446),a=e.i(540768),r=e.i(682142),s=e.i(782937),c=e.i(695881),u=e.i(333350),d=e.i(64412),g=e.i(950771),m=e.i(537989),p=e.i(695203),f=e.i(604323),h=e.i(358273),w=e.i(158662),v=e.i(777638),y=e.i(727365),C=e.i(896363),b=e.i(924776),k=e.i(409628),S=e.i(605781),I=e.i(289681);let x=(0,c.createLogger)("useTrackContentLinkClick"),A=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),P=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackContentLinkClick",0,()=>{let e=(0,l.useAtomValue)(m.pageIdAtom),t=(0,l.useAtomValue)(g.pageLocaleAtom),i=(0,l.useAtomValue)(p.deviceClassAtom),n=(0,l.useAtomValue)(f.metricsArticleDataAtom),c=(0,l.useAtomValue)(w.experimentJoinListAtom),{location:j}=(0,d.useLocation)(),D=(0,b.useIsHightouchReady)(),T=(0,o.useCallback)(o=>{let l=(0,r.getCICookie)(),u=l?.["TWC-GeoIP-Country"]??(0,a.getCookie)("twc-location-country"),d=l?.["TWC-GeoIP-Region"]??(0,a.getCookie)("twc-location-region"),g=l?.["TWC-Privacy"]??(0,a.getCookie)("twc-privacy"),m=window.DprSdk?.getGdprConsentOptInsString()??"",p=window.DprSdk?.getCcpaSaleOptInString()??"",f=window.navigator?.globalPrivacyControl??!1,w=m?.includes("functional-technology")??!1,b=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,S=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,x=(0,I.getConsentAuthorization)("sale-of-data"),D=(0,I.getConsentAuthorization)("sensitive-data"),T=navigator?.cookieEnabled??!1,M=(0,a.getCookie)("partner")||"",R=(0,s.getPartnerByPattern)(M)??M,L=(0,h.getMetricsSession)(),E=L?.sessionId||"",H=new Date(L?.sessionStartTime||0).toISOString(),O=new Date,V=O.getHours(),z=k.WEEK_DAYS[O.getDay()]??"",_=(0,y.normalizeWlocType)(j?.type),B=j?.featureSource??null;return{linkType:o.linkType,linkURL:o.linkURL,linkText:o.linkText||"",moduleId:o.moduleId||"",pageId:e??"",schemaVersion:"nextgen",author:n?.author||"",contentId:n?.contentId??null,createdDate:n?.createdDate??null,publishDate:n?.publishDate??null,collection:n?.collection??null,entitlements:n?.entitlements??null,nodeTypes:n?.nodeType??null,pageTemplate:n?.pageTemplate??null,premiumContent:n?.premiumContent!=null?String(n.premiumContent):null,provider:n?.provider??null,tagsGeo:n?.tagsGeo??null,tagsKeyword:o.tagsKeyword??n?.tagsKeyword??null,tagsStorm:n?.tagsStorm??null,title:n?.title??null,seoTitle:n?.seoTitle??null,referrer:document.referrer,locale:t,deviceClass:i,partner:R,sessionId:E,sessionStartTime:H,siteMode:"normal",dayOfWeek:z,hourOfDay:V,regime:g??"",cookiesEnabled:T,gpcSignalOptOut:f,functionalTechnologies:w,geographicallyRelevantAds:b,interestBasedAds:S,priv:m,privProducts:p,saleOfData:x??void 0,saleOfDataAuthorization:x,sensitiveDataAuthorization:D,campaign:(0,v.getCampaign)(),linkReferral:(0,v.getLinkReferral)()??void 0,experimentJoinList:c,weatherMode:"normal",physicalCountry:u??"",physicalState:d??"",wlocCity:j?.city??null,wlocCountry:j?.countryCode??null,wlocState:j?.adminDistrictCode??null,wlocDMA:j?.dmaCd??null,wlocId:j?.placeId??null,wlocFeatureId:j?.featureId??null,wlocFeatureSource:null!=B&&P.has(B)?B:void 0,wlocTags:j?.tags?.length?(0,C.parseArrayToString)(j.tags):null,wlocType:null!==_&&A.has(_)?_:void 0,samsungVersion:(0,v.getSamsungVersion)(),appVersion:"23aa46a03996df01ba4888f58342186a5a9d6167".slice(0,10)}},[e,t,i,n,c,j]);return(0,o.useCallback)(e=>{if(u.default){if(!D)return void x.warn('Hightouch: Event "content-link-click" skipped - SDK not ready');try{(0,S.trackContentLinkClick)(T(e)),x.info('Hightouch: Event "content-link-click" tracked')}catch(e){x.error('Hightouch: Event "content-link-click" failed',{error:e})}}},[D,T])}],333761)},97506,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getContentQueryMedia=l;let n=e.r(426606),o=e.r(16689);async function l({queryId:e,channel:t,territory:i,language:a="en-US",startIndex:r=0,limit:s,relatedSeed:c}){let u=new URLSearchParams({channel:t,language:a});i&&u.set("territory",i),c&&(u.set("seedId",c.id),u.set("seedCollection",c.collection)),r>0&&u.set("startIndex",String(r)),void 0!==s&&u.set("limit",String(s));let d=`https://${(0,o.getCmsBaseUrl)()}/api/payload/v1/media/query/${encodeURIComponent(e)}?${u.toString()}`,g=await (0,n.fetchJsonWithoutCredentials)(d);return Array.isArray(g)?g:[]}},328895,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getVideoNavLink=l;let n=e.r(426606),o=e.r(16689);async function l({channel:e,language:t="en-US",partner:i,contentQueryId:a}){let r=["api","payload","v1","media","video-nav",encodeURIComponent(e),encodeURIComponent(t)];i&&r.push(encodeURIComponent(i));let s=a?`?cq=${encodeURIComponent(a)}`:"",c=`https://${(0,o.getCmsBaseUrl)()}/${r.join("/")}${s}`,u=await (0,n.fetchJsonWithoutCredentials)(c);return u&&"url"in u?u.url??null:null}},16689,(e,t,i)=>{"use strict";Object.defineProperty(i,"__esModule",{value:!0}),i.getCmsBaseUrl=function(){return window.location.host}},663333,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["deviceClassAtom",0,t])},498076,e=>{"use strict";var t=e.i(546446),i=e.i(663333);e.s(["useIsMobile",0,function(){return"mobile"===(0,t.useAtomValue)(i.deviceClassAtom)}])},645968,e=>{"use strict";var t=e.i(742436),i=e.i(495110),n=e.i(283366);e.s(["default",0,function(e,o){let l=(0,t.useExperimentContext)();(0,n.useExposure)(e);let a=(0,i.useIsHydratingRender)();return!l||a?o:l.variant(e,o)}])},849177,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsDisabledAtom",0,t])},956667,e=>{"use strict";var t=e.i(902875),i=e.i(247865),n=e.i(747961);let o=(0,i.forwardRef)(({title:e,titleId:i,desc:n,descId:o,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":i,"aria-describedby":o,...l,children:[n?(0,t.jsx)("desc",{id:o,children:n}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Video Player"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M7.265 5.978a.5.5 0 0 0-.765.424v3.196a.5.5 0 0 0 .765.424l2.557-1.598a.5.5 0 0 0 0-.848z"}),(0,t.jsx)("path",{d:"M14 3H2c-.552 0-1 .449-1 1v8c0 .551.448 1 1 1h12c.552 0 1-.449 1-1V4c0-.551-.448-1-1-1m0 8.5a.5.5 0 0 1-.5.5h-11a.5.5 0 0 1-.5-.5v-7a.5.5 0 0 1 .5-.5h11a.5.5 0 0 1 .5.5z"})]})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:o,...e}));l.displayName="VideoPlayer",e.s(["VideoPlayer",0,l])},957174,e=>{"use strict";var t=e.i(902875),i=e.i(247865),n=e.i(747961);let o=(0,i.forwardRef)(({title:e,titleId:i,desc:n,descId:o,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":i,"aria-describedby":o,...l,children:[n?(0,t.jsx)("desc",{id:o,children:n}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Book"}):e?(0,t.jsx)("title",{id:i,children:e}):null,(0,t.jsxs)("g",{fill:"currentColor",children:[(0,t.jsx)("path",{d:"M13 5H9.5v1H13zM13 7.5H9.5v1H13zM13 10H9.5v1H13zM6.5 5H3v1h3.5zM6.5 7.5H3v1h3.5zM6.5 10H3v1h3.5z"}),(0,t.jsx)("path",{d:"M14 2.5H2a1 1 0 0 0-1 1v9a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1v-9a1 1 0 0 0-1-1m-12 1h5.5v9H2zm6.5 9v-9H14v9z"})]})]})),l=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:o,...e}));l.displayName="Book",e.s(["Book",0,l])},336726,e=>{"use strict";var t=e.i(902875),i=e.i(247865),n=e.i(747961);let o=(0,i.forwardRef)(({title:e,titleId:i,desc:n,descId:o,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":i,"aria-describedby":o,...l,children:[n?(0,t.jsx)("desc",{id:o,children:n}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Chevron Down"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:o,...e}));l.displayName="ChevronDown",e.s(["ChevronDown",0,l])},993269,e=>{"use strict";var t=e.i(902875),i=e.i(247865),n=e.i(747961);let o=(0,i.forwardRef)(({title:e,titleId:i,desc:n,descId:o,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":i,"aria-describedby":o,...l,children:[n?(0,t.jsx)("desc",{id:o,children:n}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Minus"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:o,...e}));l.displayName="Minus",e.s(["Minus",0,l])},859827,e=>{"use strict";var t=e.i(902875),i=e.i(247865),n=e.i(747961);let o=(0,i.forwardRef)(({title:e,titleId:i,desc:n,descId:o,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":i,"aria-describedby":o,...l,children:[n?(0,t.jsx)("desc",{id:o,children:n}):null,void 0===e?(0,t.jsx)("title",{id:i,children:"Plus"}):e?(0,t.jsx)("title",{id:i,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=i.default.forwardRef((e,i)=>(0,t.jsx)(n.BaseIcon,{ref:i,icon:o,...e}));l.displayName="Plus",e.s(["Plus",0,l])},559421,4085,e=>{"use strict";var t=e.i(725287),i=e.i(89887),n=e.i(64412),o=e.i(942400),l=e.i(269153);function a(){let e=(0,t.useParams)(),n=(0,o.usePageLocale)(),a=(0,l.useIsSamsungPartner)(),r=e?.locationPath;if(!a&&Array.isArray(r)&&r.length)return(0,i.buildLocationCanonicalBase)(`/default/${r.join("/")}`,n)}e.s(["useRouteCanonicalBase",0,a],4085);var r=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),s=(0,t.usePathname)(),{location:c}=(0,n.useLocation)(),u=(0,o.usePageLocale)(),d=(0,l.useIsSamsungPartner)(),g=(0,r.useIsClient)(),m=a();if(!g||d)return;if(m)return m;let p=e?.canonicalLocation,f=e?.featureId;if(!(p?.length||f&&!s.includes("/l/")))return;let h=c?.canonicalID;if(h)return(0,i.buildLocationCanonicalBase)(h,u);if(s.includes("/byFeatureId/"))return;let w=/\/day-\d+$/.test(s)?s.substring(0,s.lastIndexOf("/")):s;return w.substring(0,w.lastIndexOf("/"))}],559421)},458001,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["cscCountryCodeAtom",0,t])},269153,e=>{"use strict";var t=e.i(546446),i=e.i(763886),n=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(i.partnerAtom)===n.Partner.SAMSUNG}])},697380,e=>{"use strict";let t=(0,e.i(981030).atom)(0);e.s(["fixedBottomAdHeightAtom",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),i=e.i(609858);let n=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:o,page:l,onUpdateData:a,onSetPageData:r}){let{updateComponentData:s,setPageData:c}=(0,i.useDebugSystem)(),u=(0,t.useRef)(!1),d=a||s,g=r||c;return(0,t.useEffect)(()=>{if(o)return n.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(o),hasPerformance:!!o.performance,hasContext:!!o.context}),d(e,{...o,_collectedAt:new Date().toISOString()}),()=>{n.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,o,d]),(0,t.useEffect)(()=>{l&&!u.current&&(n.lifecycle("Setting page metadata",{title:l.title,assetName:l.assetName,collection:l.collection}),g({...l,_updatedAt:new Date().toISOString()}),u.current=!0)},[l,g]),null}])},609858,674339,e=>{"use strict";var t=e.i(546446),i=e.i(247865);let n=(0,e.i(981030).atom)({timestamp:new Date().toISOString()});e.s(["debugDataAtom",0,n],674339),e.s(["useDebugSystem",0,function(){let[e,o]=(0,t.useAtom)(n),l=(0,i.useCallback)((e,t)=>{o(i=>{let n=i?.[e]||{},o="object"==typeof t&&null!==t&&"object"==typeof n?{...n,...t}:t;return{...i,[e]:o}})},[o]),a=(0,i.useCallback)((e,t)=>{o(i=>{let n=i||{timestamp:new Date().toISOString()},o=n.components||{};if(null===t){let t={...o};return delete t[e],{...n,components:t}}return{...n,components:{...o,[e]:t}}})},[o]),r=(0,i.useCallback)(e=>{l("page",e)},[l]),s=(0,i.useCallback)(e=>{l("route",e)},[l]),c=(0,i.useCallback)(e=>{Object.entries(e).forEach(([e,t])=>{t&&l(e,t)})},[l]);return{debugData:e,updateSection:l,updateComponentData:a,setPageData:r,clearAllDebugData:(0,i.useCallback)(()=>{o({timestamp:new Date().toISOString()})},[o]),updateRouteInfo:s,updatePageDebug:c}}],609858)},37429,e=>{"use strict";e.i(288906);var t=e.i(902875),i=e.i(247865),n=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 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"},r=(0,i.forwardRef)(({src:e,alt:i,shadow:l,rounded:r=!0,className:s,wrapperClassName:c,width:u,height:d,quality:g,priority:m=!1,loading:p,isFetchPriority:f=!1,objectFit:h,fill:w=!1,sizes:v,aspectRatio:y,isAnimated:C=!1,unoptimized:b,...k},S)=>{if(!e)return null;let I=C||e.toLowerCase().endsWith(".gif"),x=w||!!y,A=h??(y?"cover":"contain"),P=y?a[y]:"",j=(0,t.jsx)(n.default,{ref:S,src:e,alt:i,width:x?void 0:u??320,height:x?void 0:d??180,quality:g,priority:m,loading:p,fetchPriority:f?"high":void 0,fill:x,sizes:v,unoptimized:b??I,className:(0,o.cn)({"shadow-md":l,"rounded-lg":r,"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":!x},s),...k});return x?(0,t.jsx)("div",{className:(0,o.cn)("relative overflow-hidden",P,!y&&"h-full w-full",c),children:j}):j});r.displayName="Image",e.s(["ASPECT_RATIO_CLASSES",0,a,"Image",0,r,"default",0,r])},385277,e=>{"use strict";var t=e.i(247865),i=e.i(792461);e.s(["useClientContainerSize",0,e=>{let n=(0,t.useRef)(null),[o,l]=(0,t.useState)(null),a=(0,t.useRef)(!1),r=(0,i.useRefMemo)(e);return(0,t.useEffect)(()=>{let e=n.current;if(!e||"u"{window.requestAnimationFrame(()=>{for(let t of e){let{right:e,left:i,top:n,bottom:o}=t.contentRect,s=e+i,c=n+o,u=r.current(s,c);a.current=!0,l(u)}})});return t.observe(e),()=>{t.disconnect()}},[n,r]),[o,n,a.current]}])},512134,e=>{"use strict";var t=e.i(247865);e.s(["useIsClient",0,function(){let[e,i]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{i(!0)},[]),e}])},792461,e=>{"use strict";var t=e.i(247865);e.s(["useRefMemo",0,e=>{let i=(0,t.useRef)(e);return i.current=e,i}])}]);