(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,414338,e=>{"use strict";var t=e.i(902875),a=e.i(247865),i=e.i(730921),n=e.i(581014),s=e.i(877957),r=e.i(62544),l=e.i(901351),o=e.i(313983),c=e.i(725296),u=e.i(521350),m=e.i(546446),d=e.i(540768),p=e.i(682142),h=e.i(782937),v=e.i(695881),g=e.i(333350),f=e.i(64412),b=e.i(950771),w=e.i(537989),k=e.i(695203),y=e.i(158662),C=e.i(358273),S=e.i(777638),P=e.i(924776),A=e.i(409628),E=e.i(605781);let j=(0,v.createLogger)("useTrackConsentChange"),_={"sale-of-data":"sod","sensitive-data":"sensitive-data"};var R=e.i(611540),x=e.i(553329);let I=async e=>{let t;await (0,x.tryCatch)(Promise.race([Promise.resolve().then(e),new Promise(e=>{t=setTimeout(e,1e3)})])),clearTimeout(t)},T=({isUserLoggedIn:e,regime:v,deviceClass:x,experience:T,isPremiumUser:D})=>{let O=(0,n.useTranslations)("PrivacyConsentModal"),L=(0,i.useLocale)(),N=(0,R.interpolateUrl)(R.URLS.privacyPolicy,{locale:L}),[U,V]=(0,a.useState)(!1),[q,B]=(0,a.useState)(!1),[M,H]=(0,a.useState)(!1),z=(()=>{let e=(0,m.useAtomValue)(w.pageIdAtom),t=(0,m.useAtomValue)(b.pageLocaleAtom),i=(0,m.useAtomValue)(k.deviceClassAtom),n=(0,m.useAtomValue)(y.experimentJoinListAtom),{location:s}=(0,f.useLocation)(),r=(0,P.useIsHightouchReady)(),l=(0,a.useCallback)(()=>{let e=(0,p.getCICookie)(),a=e?.["TWC-GeoIP-Country"]??(0,d.getCookie)("twc-location-country"),r=e?.["TWC-GeoIP-Region"]??(0,d.getCookie)("twc-location-region"),l=e?.["TWC-Privacy"]??(0,d.getCookie)("twc-privacy"),o=window.DprSdk?.getGdprConsentOptInsString()??"",c=window.DprSdk?.getCcpaSaleOptInString()??"",u=window.navigator?.globalPrivacyControl??!1,m=o?.includes("functional-technology")??!1,v=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,g=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,f=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),b=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),w=navigator?.cookieEnabled??!1,k=(0,d.getCookie)("partner")||"",y=(0,h.getPartnerByPattern)(k)??k,P=(0,C.getMetricsSession)(),E=P?.sessionId||"",j=new Date(P?.sessionStartTime||0).toISOString(),_=new Date,R=_.getHours(),x=A.WEEK_DAYS[_.getDay()]??"";return{schemaVersion:"nextgen",referrer:document.referrer,locale:t,deviceClass:i,partner:y,sessionId:E,sessionStartTime:j,siteMode:"normal",dayOfWeek:x,hourOfDay:R,regime:l??"",cookiesEnabled:w,gpcSignalOptOut:u,functionalTechnologies:m,geographicallyRelevantAds:v,interestBasedAds:g,priv:o,privProducts:c,saleOfData:f,saleOfDataAuthorization:f,sensitiveDataAuthorization:b,campaign:(0,S.getCampaign)(),experimentJoinList:n,weatherMode:"normal",physicalCountry:a??"",physicalState:r??"",caUser:"US"===a&&"CA"===r,wlocCity:s?.city??null,wlocCountry:s?.countryCode??null,wlocState:s?.adminDistrictCode??null,samsungVersion:(0,S.getSamsungVersion)(),appVersion:"3d9f6c2d34c79fe983bdfcc8d3d447b1317ef888".slice(0,10)}},[t,i,n,s]),o=(0,a.useCallback)((t,a)=>{if("sensitive-data"===t&&a)return(0,E.trackSensitiveDataOptin)(l());let i={...l(),pageId:e??"",wlocDMA:s?.dmaCd??null};return"sensitive-data"===t?(0,E.trackSensitiveDataOptout)(i):a?(0,E.trackSodOptin)(i):(0,E.trackSodOptout)(i)},[l,e,s]);return(0,a.useCallback)((e,t)=>{let a=`${_[e]}-${t?"optin":"optout"}`;if(g.default)return r?(j.info(`Hightouch: Event "${a}" tracked`),o(e,t)):void j.warn(`Hightouch: Event "${a}" skipped - SDK not ready`)},[r,o])})();(0,a.useEffect)(()=>{if(!c.US_REGIMES.includes(v)||D||!(0,u.isLocalStorageAvailable)())return;let t=localStorage.getItem("gpcConflict"),a=localStorage.getItem("saleOfDataConflict");t?(B(!0),V(!0)):e&&a&&v===c.Regime.USA_CCPA&&(H(!0),V(!0))},[v,D,e]);let F=async e=>{try{let t={purpose:e.purpose,consent:e.value,setByUser:!0};await l.upsxClient.consent.createUserConsent(t),e.refreshAfterUpdate&&(await e.beforeRefresh,window.location.reload())}catch(e){console.error("Failed to update UPSX consent:",e)}},$=t=>{let a=window,i=window.top,n=a.DprSdk||i?.DprSdk;if(!n)return void console.error("Unable to fix conflict, missing DprSdk.");n.setUserConsents({[o.Purpose.SALE_OF_DATA]:t});let s=I(()=>z(o.Purpose.SALE_OF_DATA,t));e&&F({purpose:o.Purpose.SALE_OF_DATA,value:t,refreshAfterUpdate:!0,beforeRefresh:s}),q?((0,u.isLocalStorageAvailable)()&&localStorage.removeItem("gpcConflict"),e||s.then(()=>window.location.reload())):M&&(0,u.isLocalStorageAvailable)()&&localStorage.removeItem("saleOfDataConflict"),V(!1)},G="",W="";if(q?(G="gpcConflictHeader",W="gpcConflictParagraph",v===c.Regime.USA_CCPA&&(W+="_usa-ccpa")):M&&(G="saleOfDataConflictHeader",W="saleOfDataConflictParagraph",v===c.Regime.USA_CCPA&&(W+="_usa-ccpa")),W)return(0,t.jsx)(r.Dialog,{open:U,onOpenChange:V,children:(0,t.jsxs)(r.DialogContent,{className:`text-center ${"desktop"!==x?"h-screen w-screen max-w-none rounded-none":"max-w-lg"} ${"wu"===T?"wu-theme":""} `,onEscapeKeyDown:e=>{(M||q)&&e.preventDefault()},onPointerDownOutside:e=>{e.preventDefault()},showCloseButton:!1,children:[G&&(0,t.jsx)(r.DialogHeader,{children:(0,t.jsx)(r.DialogTitle,{className:"text-xl font-semibold",children:O(G)})}),(0,t.jsx)("div",{className:"py-4",children:(0,t.jsx)("p",{className:"text-sm leading-relaxed",children:O.rich(W,{privacyPolicyLink:e=>(0,t.jsx)("a",{href:N,target:"_top",className:"text-blue-600 underline hover:text-blue-800",children:e})})})}),(0,t.jsxs)(r.DialogFooter,{className:"flex w-fit flex-col gap-3 justify-self-center",children:[(0,t.jsx)(s.Button,{onClick:()=>{$(!0)},variant:"default",className:"w-full sm:w-auto",children:O("optInButtonText")}),(0,t.jsx)(s.Button,{onClick:()=>{$(!1)},variant:"secondary",className:"w-full sm:w-auto",children:O("optOutButtonText")})]})]})})};e.s(["PrivacyConsentModalClient",0,T,"SOD_TRACK_TIMEOUT_MS",0,1e3,"default",0,T],414338)},248064,e=>{"use strict";var t=e.i(991511),a=e.i(763886),i=e.i(458001),n=e.i(394481),s=e.i(663333),r=e.i(849177),l=e.i(889753),o=e.i(5397),c=e.i(21121);e.i(647872);var u=e.i(494889),m=e.i(928083),d=e.i(624432),p=e.i(739971),h=e.i(688070),v=e.i(647292);e.s(["FlagsBoundaryClient",0,({params:e})=>((0,t.useRehydrateAtoms)([[a.partnerAtom,e.partner],[i.cscCountryCodeAtom,e.cscCountryCode],[n.privacyRegimeAtom,e.privacyRegime],[s.deviceClassAtom,e.deviceClass],[l.userTierAtom,e.userTier],[r.adsDisabledAtom,e.adsDisabled],[o.showAdminHeaderAtom,e.showAdminHeader],[c.showVelvetcakeModuleAtom,e.showVelvetcakeModule],[u.newsHubEnabledAtom,e.newsHubEnabled],[m.activityHubMenuEnabledAtom,e.activityHubMenuEnabled],[d.contentSearchUniversalAtom,e.contentSearchUniversal],[p.subscriptionsEnabledAtom,e.subscriptionsEnabled],[v.webViewPlatformAtom,e.webViewPlatform],[h.isWebViewOnlyAtom,e.isWebViewOnly]]),null)])},556441,e=>{"use strict";var t=e.i(902875),a=e.i(725287),i=e.i(240058),n=e.i(877957),s=e.i(368847),r=e.i(132084),l=e.i(528600),o=e.i(837879),c=e.i(498076),u=e.i(37429),m=e.i(683199);e.s(["default",0,()=>{let e=(0,a.useSearchParams)(),d=e.get("par")||e.get("partner"),p=(0,c.useIsMobile)(),h=(0,o.useSubscriptionsEnabled)(),{user:v}=(0,l.useUser)(),{isUserPremium:g}=v,f=(0,m.usePremiumSource)();return d===r.Partner.TIKTOK&&p&&h&&!g?(0,t.jsxs)("div",{className:"relative mb-4 overflow-hidden bg-[#590462]",children:[(0,t.jsx)(u.default,{src:"https://s.w-x.co/tt-banner.jpg",alt:"",fill:!0,priority:!0,isFetchPriority:!0,rounded:!1,objectFit:"cover",className:"object-center",wrapperClassName:"absolute inset-0","aria-hidden":"true"}),(0,t.jsxs)("div",{className:"relative z-10 p-6 text-center",children:[(0,t.jsx)(s.default,{variant:"Title.S",className:"mb-2.5 text-white",children:"Your TikTok Exclusive"}),(0,t.jsx)(s.default,{variant:"Body.S.Bold",className:"mb-2.5 text-white",children:"Get The Weather Channel Premium FREE for 1 month — turn ads off now, plus much more!"}),(0,t.jsx)(n.Button,{className:"rounded-lg px-8 py-2 text-sm font-bold",variant:"secondary",asChild:!0,children:(0,t.jsx)(i.default,{href:"/subscribe/checkout?products=e251f39b-afd7-4ad9-9c87-5e2a8ed63fbb&promoCode=t934k258j742&tpcc=mktg-today-tiktok-banner",onClick:()=>f({sourceModule:"tiktok-banner",sourceElement:"claim-now"}),children:"Claim Now"})})]})]}):null}])},185945,e=>{"use strict";var t=e.i(288906),a=e.i(247865),i=e.i(725287);function n(){return false}function s(e){return RegExp(`/${e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}(?=[/?#]|$)`)}function r(e){(0,a.useEffect)(()=>{var t;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend))},[e.beforeSend]);let i=(0,a.useRef)(null);return(0,a.useEffect)(()=>{if(i.current)e.route&&i.current(e.route);else{let a=function(e={}){var t;if(!("u">typeof window)||null===e.route)return null;window.si||(window.si=function(...e){(window.siq=window.siq||[]).push(e)});let a=e.scriptSrc?e.scriptSrc:n()?"https://va.vercel-scripts.com/v1/speed-insights/script.debug.js":e.dsn?"https://va.vercel-scripts.com/v1/speed-insights/script.js":e.basePath?`${e.basePath}/speed-insights/script.js`:"/_vercel/speed-insights/script.js";if(document.head.querySelector(`script[src*="${a}"]`))return null;e.beforeSend&&(null==(t=window.si)||t.call(window,"beforeSend",e.beforeSend));let i=document.createElement("script");return i.src=a,i.defer=!0,i.dataset.sdkn="@vercel/speed-insights"+(e.framework?`/${e.framework}`:""),i.dataset.sdkv="1.3.1",e.sampleRate&&(i.dataset.sampleRate=e.sampleRate.toString()),e.route&&(i.dataset.route=e.route),e.endpoint?i.dataset.endpoint=e.endpoint:e.basePath&&(i.dataset.endpoint=`${e.basePath}/speed-insights/vitals`),e.dsn&&(i.dataset.dsn=e.dsn),n()&&!1===e.debug&&(i.dataset.debug="false"),i.onerror=()=>{console.log(`[Vercel Speed Insights] Failed to load script from ${a}. Please check if any content blockers are enabled and try again.`)},document.head.appendChild(i),{setRoute:e=>{i.dataset.route=e??void 0}}}({framework:e.framework??"react",basePath:e.basePath??function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.REACT_APP_VERCEL_OBSERVABILITY_BASEPATH}(),...e});a&&(i.current=a.setRoute)}},[e.route]),null}function l(e){let n=(()=>{let e=(0,i.useParams)(),t=(0,i.useSearchParams)()||new URLSearchParams,a=(0,i.usePathname)();if(!e)return null;let n=Object.keys(e).length?e:Object.fromEntries(t.entries());if(!a||!n)return a;let r=a;try{let e=Object.entries(n);for(let[t,a]of e)if(!Array.isArray(a)){let e=s(a);e.test(r)&&(r=r.replace(e,`/[${t}]`))}for(let[t,a]of e)if(Array.isArray(a)){let e=s(a.join("/"));e.test(r)&&(r=r.replace(e,`/[...${t}]`))}return r}catch(e){return a}})();return a.default.createElement(r,{route:n,...e,framework:"next",basePath:function(){if(void 0!==t.default&&void 0!==t.default.env)return t.default.env.NEXT_PUBLIC_VERCEL_OBSERVABILITY_BASEPATH}()})}e.s(["SpeedInsights",0,function(e){return a.default.createElement(a.Suspense,{fallback:null},a.default.createElement(l,{...e}))}])},538946,e=>{"use strict";var t,a=e.i(288906),i={scriptHostname:("u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_HOST:void 0)??"https://vercel.live",ownerId:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_OWNER_ID:void 0,projectId:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_PROJECT_ID:void 0,branch:"u">typeof a.default?a.default.env.NEXT_PUBLIC_VERCEL_TOOLBAR_BRANCH:void 0,deploymentId:"u">typeof a.default?"dpl_2ZmwkbQNh16Bv7W5dKZXrjz7dwqY":void 0},n=e.i(247865),s=!1;e.s(["UnmountController",0,function({shouldMount:e,nonce:a}){return(0,n.useEffect)(()=>(e&&s&&function(e={}){if(typeof window>"u"||null===document.querySelector("vercel-live-feedback")){Object.assign(i,e);let a=document.createElement("script");for(let[n,s]of(a.src=`${i.scriptHostname}/_next-live/feedback/feedback.js`,a.setAttribute("data-explicit-opt-in","true"),e.nonce&&a.setAttribute("nonce",e.nonce),Object.entries((i.ownerId&&i.projectId?{"data-owner-id":i.ownerId,"data-project-id":i.projectId,"data-branch":t??i.branch}:i.deploymentId?{"data-deployment-id":i.deploymentId}:void 0)??{})))s&&a.setAttribute(n,s);(document.head||document.documentElement).appendChild(a)}}({nonce:a}),s=!0,()=>{(typeof window>"u"?void 0:window.__vercel_toolbar)?.unmount()}),[]),null}],538946)},232598,(e,t,a)=>{"use strict";Object.defineProperty(a,"__esModule",{value:!0});var i={callServer:function(){return s.callServer},createServerReference:function(){return l.createServerReference},findSourceMapURL:function(){return r.findSourceMapURL}};for(var n in i)Object.defineProperty(a,n,{enumerable:!0,get:i[n]});let s=e.r(276247),r=e.r(788443),l=e.r(955011)},866137,723469,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["adBlockAtom",0,t],866137);var a=e.i(247865),i=e.i(725287),n=e.i(546446),s=e.i(540768),r=e.i(682142),l=e.i(782937),o=e.i(695881),c=e.i(333350),u=e.i(64412),m=e.i(950771),d=e.i(537989),p=e.i(695203),h=e.i(158662),v=e.i(358273),g=e.i(122124),f=e.i(777638),b=e.i(924776),w=e.i(409628),k=e.i(605781);let y=(0,o.createLogger)("useTrackString");e.s(["useTrackString",0,()=>{let e=(0,n.useAtomValue)(d.pageIdAtom),t=(0,n.useAtomValue)(m.pageLocaleAtom),o=(0,n.useAtomValue)(p.deviceClassAtom),C=(0,n.useAtomValue)(h.experimentJoinListAtom),S=(0,i.usePathname)(),{location:P}=(0,u.useLocation)(),A=(0,b.useIsHightouchReady)(),E=(0,a.useCallback)(a=>{let i=(0,r.getCICookie)(),n=i?.["TWC-GeoIP-Country"]??(0,s.getCookie)("twc-location-country"),c=i?.["TWC-GeoIP-Region"]??(0,s.getCookie)("twc-location-region"),u=i?.["TWC-Privacy"]??(0,s.getCookie)("twc-privacy"),m=window.DprSdk?.getGdprConsentOptInsString()??"",d=window.DprSdk?.getCcpaSaleOptInString()??"",p=window.navigator?.globalPrivacyControl??!1,h=m?.includes("functional-technology")??!1,b=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,k=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,y=String(window.DprSdk?.getUserConsent("sale-of-data")!==!1),A=String(window.DprSdk?.getUserConsent("sensitive-data")!==!1),E=navigator?.cookieEnabled??!1,j=(0,s.getCookie)("partner")||"",_=(0,l.getPartnerByPattern)(j)??j,R=(0,v.getMetricsSession)(),x=R?.sessionId||"",I=new Date(R?.sessionStartTime||0).toISOString(),T=new Date,D=T.getHours(),O=w.WEEK_DAYS[T.getDay()]??"",L="article"===e||"video"===e?(0,g.stripLastPartOfSlug)(S??""):(0,g.getAnonymizedPath)(S??"");return{trackString:a,pageId:e??"",schemaVersion:"nextgen",url:L,referrer:document.referrer,locale:t,deviceClass:o,partner:_,sessionId:x,sessionStartTime:I,siteMode:"normal",dayOfWeek:O,hourOfDay:D,regime:u??"",cookiesEnabled:E,gpcSignalOptOut:p,functionalTechnologies:h,geographicallyRelevantAds:b,interestBasedAds:k,priv:m,privProducts:d,saleOfData:y,saleOfDataAuthorization:y,sensitiveDataAuthorization:A,campaign:(0,f.getCampaign)(),experimentJoinList:C,weatherMode:"normal",physicalCountry:n??"",physicalState:c??"",wlocCity:P?.city??null,wlocCountry:P?.countryCode??null,wlocState:P?.adminDistrictCode??null,wlocDMA:P?.dmaCd??null,samsungVersion:(0,f.getSamsungVersion)(),appVersion:"3d9f6c2d34c79fe983bdfcc8d3d447b1317ef888".slice(0,10)}},[e,t,o,C,S,P]);return(0,a.useCallback)(e=>{if(c.default&&e){if(!A)return void y.warn('Hightouch: Event "track-string" skipped - SDK not ready');try{(0,k.trackTrackString)(E(e)),y.info('Hightouch: Event "track-string" tracked',{trackString:e})}catch(e){y.error('Hightouch: Event "track-string" failed',{error:e})}}},[A,E])}],723469)},320209,e=>{"use strict";e.i(288906);var t=e.i(247865),a=e.i(725287),i=e.i(546446),n=e.i(540768),s=e.i(682142),r=e.i(782937),l=e.i(695881),o=e.i(333350),c=e.i(64412),u=e.i(950771),m=e.i(537989),d=e.i(695203),p=e.i(158662),h=e.i(358273),v=e.i(122124),g=e.i(777638),f=e.i(924776),b=e.i(409628),w=e.i(605781);let k=(0,l.createLogger)("useTrackAssetViewed"),y=[],C=null;function S(e){try{(0,w.trackAssetViewed)(e),k.info(`Hightouch: Event "asset-viewed" tracked - ${e.contentId}`)}catch(e){k.error('Hightouch: Event "asset-viewed" failed',e)}}e.s(["trackHightouchAssetViewed",0,function(e){try{C?.(e)}catch(e){k.error('Hightouch: Event "asset-viewed" failed',e)}},"useRegisterAssetViewedTracker",0,()=>{let e=(()=>{let e=(0,a.usePathname)(),l=(0,i.useAtomValue)(m.pageIdAtom),w=(0,i.useAtomValue)(u.pageLocaleAtom),k=(0,i.useAtomValue)(d.deviceClassAtom),C=(0,i.useAtomValue)(p.experimentJoinListAtom),{location:P}=(0,c.useLocation)(),A=(0,f.useIsHightouchReady)(),E=(0,t.useCallback)(({moduleId:t,contentId:a,assetMediaType:i,title:o,pos:c,tagsKeyword:u})=>{let m=(0,s.getCICookie)(),d=m?.["TWC-GeoIP-Country"]??(0,n.getCookie)("twc-location-country"),p=m?.["TWC-GeoIP-Region"]??(0,n.getCookie)("twc-location-region"),f=m?.["TWC-Privacy"]??(0,n.getCookie)("twc-privacy"),y=window.DprSdk?.getGdprConsentOptInsString()??"",S=window.DprSdk?.getCcpaSaleOptInString()??"",A=window.navigator?.globalPrivacyControl??!1,E=y?.includes("functional-technology")??!1,j=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,_=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,R=navigator?.cookieEnabled??!1,x=(0,n.getCookie)("partner")||"",I=(0,r.getPartnerByPattern)(x)??x,T=(0,h.getMetricsSession)(),D=T?.sessionId||"",O=new Date(T?.sessionStartTime||0).toISOString(),L=new Date,N=L.getHours(),U=b.WEEK_DAYS[L.getDay()]??"",V="article"===l||"video"===l?(0,v.stripLastPartOfSlug)(e??""):(0,v.getAnonymizedPath)(e??"");return{moduleId:t,contentId:a,assetMediaType:i,title:o,pos:String(c),tagsKeyword:u??null,pageId:l??"",url:V,referrer:document.referrer,locale:w,deviceClass:k,partner:I,sessionId:D,sessionStartTime:O,siteMode:"normal",dayOfWeek:U,hourOfDay:N,regime:f??"",cookiesEnabled:R,gpcSignalOptOut:A,functionalTechnologies:E,geographicallyRelevantAds:j,interestBasedAds:_,priv:y,privProducts:S,campaign:(0,g.getCampaign)(),experimentJoinList:C,weatherMode:"normal",physicalCountry:d??"",physicalState:p??"",wlocCity:P?.city??null,wlocCountry:P?.countryCode??null,wlocState:P?.adminDistrictCode??null,wlocDMA:P?.dmaCd??null,samsungVersion:(0,g.getSamsungVersion)(),appVersion:"3d9f6c2d34c79fe983bdfcc8d3d447b1317ef888".slice(0,10)}},[e,l,w,k,C,P]);return(0,t.useEffect)(()=>{if(!A||0===y.length)return;let e=y;y=[],e.forEach(S)},[A]),(0,t.useCallback)(e=>{if(!o.default)return;let t=E(e);A?S(t):y.push(t)},[A,E])})();(0,t.useEffect)(()=>(C=e,()=>{C===e&&(C=null)}),[e])}])},849177,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["adsDisabledAtom",0,t])},887908,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3d-1kbutbj1gv.js"].map(t=>e.l(t))).then(()=>t(147168)))},991894,e=>{e.v(t=>Promise.all(["static/immutable/chunks/22euvwis66vmb.js"].map(t=>e.l(t))).then(()=>t(39086)))},840623,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2n8msz19yvqd6.js"].map(t=>e.l(t))).then(()=>t(882330)))},660824,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0xxeeocmy2aye.js"].map(t=>e.l(t))).then(()=>t(530212)))},317297,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2616xyz29bjwr.js"].map(t=>e.l(t))).then(()=>t(680602)))},355962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/37hnuu5dy6sit.js"].map(t=>e.l(t))).then(()=>t(503885)))},765014,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3um12qzwmc8k_.js"].map(t=>e.l(t))).then(()=>t(872251)))},876327,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2tyxy3-hxmn50.js"].map(t=>e.l(t))).then(()=>t(947387)))},921282,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3ma3aggvms9ma.js"].map(t=>e.l(t))).then(()=>t(493948)))},959395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0f3g-lp97vkng.js"].map(t=>e.l(t))).then(()=>t(706686)))},813499,e=>{e.v(t=>Promise.all(["static/immutable/chunks/329zyt8hnwe7y.js"].map(t=>e.l(t))).then(()=>t(314459)))},563854,e=>{e.v(t=>Promise.all(["static/immutable/chunks/16536_5evh7u0.js"].map(t=>e.l(t))).then(()=>t(643246)))},48629,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zgos4ygxa0bb.js"].map(t=>e.l(t))).then(()=>t(769885)))},762150,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0p2m8whl54tha.js"].map(t=>e.l(t))).then(()=>t(1892)))},541661,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0y1c5urz16cs_.js"].map(t=>e.l(t))).then(()=>t(478186)))},565343,e=>{e.v(t=>Promise.all(["static/immutable/chunks/06xr-i7ondto9.js"].map(t=>e.l(t))).then(()=>t(294782)))},393816,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0ff1-4vnz_78l.js"].map(t=>e.l(t))).then(()=>t(855621)))},75726,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0yr40fq9cik4v.js"].map(t=>e.l(t))).then(()=>t(748540)))},72951,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3mw623e8v1oie.js"].map(t=>e.l(t))).then(()=>t(360647)))},276567,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2853l-wt_g4_t.js"].map(t=>e.l(t))).then(()=>t(501462)))},951283,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1hb99379n909x.js"].map(t=>e.l(t))).then(()=>t(273498)))},416614,e=>{e.v(t=>Promise.all(["static/immutable/chunks/084ypheui9pug.js"].map(t=>e.l(t))).then(()=>t(901728)))},592630,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0s_0vvr_qgag9.js"].map(t=>e.l(t))).then(()=>t(507085)))},423373,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1p3orq86c5ifv.js"].map(t=>e.l(t))).then(()=>t(62159)))},815954,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3qaf2w3zk3w27.js"].map(t=>e.l(t))).then(()=>t(61161)))},15398,e=>{e.v(t=>Promise.all(["static/immutable/chunks/02xiqt9zvf6gh.js"].map(t=>e.l(t))).then(()=>t(762526)))},776943,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1ytb6oy4ikrz6.js"].map(t=>e.l(t))).then(()=>t(97569)))},284458,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3nxkndkqavswg.js"].map(t=>e.l(t))).then(()=>t(877390)))},261156,e=>{e.v(t=>Promise.all(["static/immutable/chunks/38l6gmiu5_9ku.js"].map(t=>e.l(t))).then(()=>t(827382)))},389867,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3hk3rd5e71dc4.js"].map(t=>e.l(t))).then(()=>t(702479)))},900346,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0t4h2wlc7n595.js"].map(t=>e.l(t))).then(()=>t(389327)))},96219,e=>{e.v(t=>Promise.all(["static/immutable/chunks/381m8qf6cbhtp.js"].map(t=>e.l(t))).then(()=>t(16557)))},267082,e=>{e.v(t=>Promise.all(["static/immutable/chunks/31nq3o47_azko.js"].map(t=>e.l(t))).then(()=>t(894202)))},829350,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1p8724zzw5ewi.js"].map(t=>e.l(t))).then(()=>t(447314)))},391939,e=>{e.v(t=>Promise.all(["static/immutable/chunks/396y1w1ozc-fu.js"].map(t=>e.l(t))).then(()=>t(72575)))},252521,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0lmym4f8kyevf.js"].map(t=>e.l(t))).then(()=>t(661446)))},408674,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1bk2xo-o_s-vf.js"].map(t=>e.l(t))).then(()=>t(783769)))},846784,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-9yeudlt40j_.js"].map(t=>e.l(t))).then(()=>t(873667)))},713848,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0qp3xhy3q8zip.js"].map(t=>e.l(t))).then(()=>t(889507)))},407657,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-2wb7wpbqbgn.js"].map(t=>e.l(t))).then(()=>t(75960)))},415546,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0tsqv73kd2uwg.js"].map(t=>e.l(t))).then(()=>t(667728)))},781723,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17nasyndzgye8.js"].map(t=>e.l(t))).then(()=>t(654703)))},197999,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0hwzkvu2g7pco.js"].map(t=>e.l(t))).then(()=>t(272493)))},103659,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17hryngooc2j1.js"].map(t=>e.l(t))).then(()=>t(296920)))},625303,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1d-xb8qt0v27_.js"].map(t=>e.l(t))).then(()=>t(718437)))},148486,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3q96qady37ql-.js"].map(t=>e.l(t))).then(()=>t(946515)))},957284,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1zx_ucotfu7pf.js"].map(t=>e.l(t))).then(()=>t(48914)))},92368,e=>{e.v(t=>Promise.all(["static/immutable/chunks/19pzyqeq9654w.js"].map(t=>e.l(t))).then(()=>t(789895)))},226507,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3jelzfg203nfe.js"].map(t=>e.l(t))).then(()=>t(538258)))},132409,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0nmdno2r5jhr2.js"].map(t=>e.l(t))).then(()=>t(3017)))},626117,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3mltvvqhcgund.js"].map(t=>e.l(t))).then(()=>t(825086)))},395624,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1q-jk2-pdev6-.js"].map(t=>e.l(t))).then(()=>t(600726)))},494738,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3_ndi79lx21jd.js"].map(t=>e.l(t))).then(()=>t(512028)))},774463,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3t1n31-ogxy75.js"].map(t=>e.l(t))).then(()=>t(155062)))},752465,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3iyt_l7ny1i-k.js"].map(t=>e.l(t))).then(()=>t(777844)))},67832,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1jtfbjn7tl5lf.js"].map(t=>e.l(t))).then(()=>t(414064)))},2638,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2jkxj9298b3gp.js"].map(t=>e.l(t))).then(()=>t(198051)))},916531,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0wdahy0c-g55j.js"].map(t=>e.l(t))).then(()=>t(369675)))},744883,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1yxzgbbc9k2zy.js"].map(t=>e.l(t))).then(()=>t(581947)))},880187,e=>{e.v(t=>Promise.all(["static/immutable/chunks/17dedv282ubqs.js"].map(t=>e.l(t))).then(()=>t(747997)))},164295,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0srphq_p8tbzl.js"].map(t=>e.l(t))).then(()=>t(702162)))},521662,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0mi2a4br_qp3u.js"].map(t=>e.l(t))).then(()=>t(782697)))},403395,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0pvy0xx928tqy.js"].map(t=>e.l(t))).then(()=>t(573581)))},661123,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1n29uczdwr6s-.js"].map(t=>e.l(t))).then(()=>t(711818)))},48208,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2n6233oisp1f-.js"].map(t=>e.l(t))).then(()=>t(625444)))},476493,e=>{e.v(t=>Promise.all(["static/immutable/chunks/234hfx_o8ubit.js"].map(t=>e.l(t))).then(()=>t(328877)))},650095,e=>{e.v(t=>Promise.all(["static/immutable/chunks/1-83gv2_8qjed.js"].map(t=>e.l(t))).then(()=>t(601862)))},945801,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3a02q729huh9w.js"].map(t=>e.l(t))).then(()=>t(566248)))},909969,e=>{e.v(t=>Promise.all(["static/immutable/chunks/41skq4kn8ohe8.js"].map(t=>e.l(t))).then(()=>t(218776)))},155043,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0nxr0_6i1lqtd.js"].map(t=>e.l(t))).then(()=>t(869146)))},353962,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2hut6c8sprk2i.js"].map(t=>e.l(t))).then(()=>t(367128)))},666922,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3qb4sm1bny98e.js"].map(t=>e.l(t))).then(()=>t(856593)))},72998,e=>{e.v(t=>Promise.all(["static/immutable/chunks/2sx3cwgqxp3i5.js"].map(t=>e.l(t))).then(()=>t(970479)))},722332,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3e4lkh1cm8zsc.js"].map(t=>e.l(t))).then(()=>t(476881)))},171913,e=>{e.v(t=>Promise.all(["static/immutable/chunks/37viczxedu6th.js"].map(t=>e.l(t))).then(()=>t(927976)))},90,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0b6c2xomqe187.js"].map(t=>e.l(t))).then(()=>t(22872)))},632092,e=>{e.v(t=>Promise.all(["static/immutable/chunks/3cmxbqj3xp7vq.js"].map(t=>e.l(t))).then(()=>t(45677)))},458001,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["cscCountryCodeAtom",0,t])},520362,e=>{"use strict";var t=e.i(902875),a=e.i(247865);let i=e=>{let{apiRoute:t,depth:i,refresh:n,serverURL:s}=e,r=(0,a.useRef)(!1),l=(0,a.useCallback)(e=>{e.origin===s&&e.data&&"object"==typeof e.data&&"payload-document-event"===e.data.type&&("function"==typeof n?n():console.error("You must provide a refresh function to `RefreshRouteOnSave`"))},[n,s]);return(0,a.useEffect)(()=>("u">typeof window&&window.addEventListener("message",l),r.current||(r.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:s}),n()),()=>{"u">typeof window&&window.removeEventListener("message",l)}),[s,l,i,t,n]),null};var n=e.i(725287);let s=(0,e.i(695881).createLogger)("BlockHighlightOverlay"),r={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"},l=e=>{let a=(0,n.useRouter)();return(0,t.jsx)(i,{...e,refresh:a.refresh})};e.s(["LivePreviewListener",0,l],346267),e.i(346267),e.s(["BlockHighlightOverlay",0,()=>{let e=(0,a.useRef)(null),t=(0,a.useRef)(null),i=(0,a.useRef)(null),n=(0,a.useRef)(null),l=(0,a.useRef)(null),o=(0,a.useCallback)(()=>{if("u"{let a=t.current,n=e.current;if(!a||!n)return;if(!a.isConnected){t.current=null,n.style.opacity="0",i.current?.disconnect();return}let s=a.getBoundingClientRect();n.style.top=`${s.top+window.scrollY}px`,n.style.left=`${s.left+window.scrollX}px`,n.style.width=`${s.width}px`,n.style.height=`${s.height}px`,n.style.opacity="1"},[]),u=(0,a.useCallback)(()=>{t.current=null,l.current=null,e.current&&(e.current.style.opacity="0"),i.current?.disconnect()},[]),m=(0,a.useCallback)(()=>{t.current&&null===n.current&&(n.current=requestAnimationFrame(()=>{n.current=null,c()}))},[c]),d=(0,a.useCallback)(e=>{if(e===l.current)return;let a=document.querySelector(`[data-block-id="${CSS.escape(e)}"]`);if(!a)return void s.debug("No element found for block ID",{blockId:e});let n=(e=>{let t=e,a=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?d(e.data.blockId):u())};return window.addEventListener("message",t),window.addEventListener("scroll",m,{passive:!0}),window.addEventListener("resize",m,{passive:!0}),()=>{window.removeEventListener("message",t),window.removeEventListener("scroll",m),window.removeEventListener("resize",m),null!==n.current&&cancelAnimationFrame(n.current),i.current?.disconnect(),e.current?.remove()}},[d,u,m]),null},"LivePreviewListener",0,l],520362)},21121,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["showVelvetcakeModuleAtom",0,t])},186044,e=>{e.v(t=>Promise.all(["static/immutable/chunks/0vvbxf_wv0u_l.js"].map(t=>e.l(t))).then(()=>t(451309)))},313983,e=>{"use strict";var t,a=((t={}).ESSENTIAL_TECHNOLOGY="essential-technology",t.FUNCTIONAL_TECHNOLOGY="functional-technology",t.GEOGRAPHICALLY_RELEVANT_ADVERTISING="geographically-relevant-advertising",t.INTERNATIONAL_TRANSFER="international-transfer",t.SALE_OF_DATA="sale-of-data",t.SENSITIVE_DATA="sensitive-data",t.SELECT_PERSONALISED_CONTENT="Select personalised content",t.SELECT_PERSONALISED_ADS="Select personalised ads",t.SELECT_BASIC_ADS="Select basic ads",t.CREATE_A_PERSONALISED_ADS_PROFILE="Create a personalised ads profile",t.CREATE_A_PERSONALISED_CONTENT_PROFILE="Create a personalised content profile",t.MEASURE_AD_PERFORMANCE="Measure ad performance",t.APPLY_MARKET_RESEARCH_TO_GENERATE_AUDIENCE_INSIGHTS="Apply market research to generate audience insights",t.DEVELOP_AND_IMPROVE_PRODUCTS="Develop and improve products",t.STORE_AND_OR_ACCESS_INFORMATION_ON_A_DEVICE="Store and/or access information on a device",t.MEASURE_CONTENT_PERFORMANCE="Measure content performance",t);e.s(["Purpose",()=>a])},7150,e=>{"use strict";let t=(0,e.i(981030).atom)(!1);e.s(["pushlyPromptSuppressedAtom",0,t])},402525,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["getSmartScriptClickUrl",0,function(e){let t=e?.clickURL;return"string"==typeof t&&t?t:null},"smartScriptClickUrlAtom",0,t,"withCtaAttribution",0,function(e,{trackAdset:t,deepLinkValue:a}){if(!URL.canParse(e))return e;let i=new URL(e);return t&&i.searchParams.set("af_adset",t.replace(/ /g,"_")),a&&i.searchParams.set("deep_link_value",a),i.toString()}])},436028,e=>{"use strict";e.s(["hasLength",0,e=>Array.isArray(e)&&e.length>0])},216809,e=>{"use strict";var t=e.i(247865),a=e.i(553329);e.s(["useAppsFlyerConsent",0,function(){let[e,i]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{let e=!1;return(async()=>{let t=window.DprSdk?.isInitialized;if(!t)return;let{error:n}=await (0,a.tryCatch)(t);n||e||i(!!window.DprSdk?.getFeatureFlags()?.appsFlyer)})(),()=>{e=!0}},[]),e}])}]);