(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,543836,e=>{"use strict";var t=Object.defineProperty,n=(e,n)=>t(e,"name",{value:n,configurable:!0}),r=!!("u">typeof window&&window.document&&window.document.createElement);function o(e,t,{checkForDefaultPrevented:r=!0}={}){return n(function(n){if(e?.(n),!1===r||!n||!n.defaultPrevented)return t?.(n)},"handleEvent")}function i(e){if(!r)throw Error("Cannot access document outside of the DOM");return e?.ownerDocument??document}function l(e){return"IFRAME"===e.tagName}n(o,"composeEventHandlers"),n(function(e){if(!r)throw Error("Cannot access window outside of the DOM");return e?.ownerDocument?.defaultView??window},"getOwnerWindow"),n(i,"getOwnerDocument"),n(function e(t,n=!1){let{activeElement:r}=i(t);if(!r?.nodeName)return null;if(l(r)&&r.contentDocument)return e(r.contentDocument.body,n);if(n){let e=r.getAttribute("aria-activedescendant");if(e){let t=i(r).getElementById(e);if(t)return t}}return r},"getActiveElement"),n(l,"isFrame"),e.s(["composeEventHandlers",0,o])},899300,e=>{"use strict";e.s(["IS_DEVELOPMENT",0,!1])},271359,e=>{"use strict";var t=e.i(247865),n=Object.defineProperty,r=(e,t)=>n(e,"name",{value:t,configurable:!0});function o(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function i(...e){return t=>{let n=!1,r=e.map(e=>{let r=o(e,t);return n||"function"!=typeof r||(n=!0),r});if(n)return()=>{for(let t=0;t{"use strict";var t=e.i(247865),n=e.i(902875),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,r=[]){let a=[];function s(r,i){let l=t.createContext(i);l.displayName=r+"Context";let s=a.length;a=[...a,i];let u=o(r=>{let{scope:o,children:i,...a}=r,u=o?.[e]?.[s]||l,c=t.useMemo(()=>a,Object.values(a));return(0,n.jsx)(u.Provider,{value:c,children:i})},"Provider");function c(n,o,a={}){let{optional:u=!1}=a,d=o?.[e]?.[s]||l,f=t.useContext(d);if(f)return f;if(void 0!==i)return i;if(!u)throw Error(`\`${n}\` must be used within \`${r}\``)}return u.displayName=r+"Provider",o(c,"useContext"),[u,c]}o(s,"createContext");let u=o(()=>{let n=a.map(e=>t.createContext(e));return o(function(r){let o=r?.[e]||n;return t.useMemo(()=>({[`__scope${e}`]:{...r,[e]:o}}),[r,o])},"useScope")},"createScope");return u.scopeName=e,[s,l(u,...r)]}function l(...e){let n=e[0];if(1===e.length)return n;let r=o(()=>{let r=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return o(function(e){let o=r.reduce((t,{useScope:n,scopeName:r})=>{let o=n(e)[`__scope${r}`];return{...t,...o}},{});return t.useMemo(()=>({[`__scope${n.scopeName}`]:o}),[o])},"useComposedScopes")},"createScope");return r.scopeName=n.scopeName,r}o(function(e,r){let i=t.createContext(r);i.displayName=e+"Context";let l=o(e=>{let{children:r,...o}=e,l=t.useMemo(()=>o,Object.values(o));return(0,n.jsx)(i.Provider,{value:l,children:r})},"Provider");function a(n,o={}){let{optional:l=!1}=o,s=t.useContext(i);if(s)return s;if(void 0!==r)return r;if(!l)throw Error(`\`${n}\` must be used within \`${e}\``)}return l.displayName=e+"Provider",o(a,"useContext"),[l,a]},"createContext"),o(i,"createContextScope"),o(l,"composeContextScopes"),e.s(["createContextScope",0,i])},296994,e=>{"use strict";var t=e.i(247865),n=e.i(714035),r=Object.defineProperty,o=t[" useId ".trim().toString()]||(()=>void 0),i=0;function l(e){let[r,l]=t.useState(o());return(0,n.useLayoutEffect)(()=>{e||l(e=>e??String(i++))},[e]),e||(r?`radix-${r}`:"")}r(l,"name",{value:"useId",configurable:!0}),e.s(["useId",0,l])},312610,e=>{"use strict";var t=e.i(247865),n=e.i(714035),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,n){return t.useReducer((e,t)=>n[e][t]??e,e)}o(i,"useStateMachine");var l=o(e=>{let{present:n,children:r}=e,o=a(n),i="function"==typeof r?r({present:o.isPresent}):t.Children.only(r),l=u(o.ref,d(i));return"function"==typeof r||o.isPresent?t.cloneElement(i,{ref:l}):null},"Presence");function a(e){let[r,l]=t.useState(),a=t.useRef(null),s=t.useRef(e),u=t.useRef("none"),d=t.useRef(void 0),[f,m]=i(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===f?(u.current=d.current??c(a.current),d.current=void 0):u.current="none"},[f]),(0,n.useLayoutEffect)(()=>{let t=a.current,n=s.current;if(n!==e){let r=u.current,o=c(t);e?(d.current=o,m("MOUNT")):"none"===o||t?.display==="none"?m("UNMOUNT"):n&&r!==o?m("ANIMATION_OUT"):m("UNMOUNT"),s.current=e}},[e,m]),(0,n.useLayoutEffect)(()=>{if(r){let e,t=r.ownerDocument.defaultView??window,n=o(n=>{let o=c(a.current).includes(CSS.escape(n.animationName));if(n.target===r&&o&&(m("ANIMATION_END"),!s.current)){let n=r.style.animationFillMode;r.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===r.style.animationFillMode&&(r.style.animationFillMode=n)})}},"handleAnimationEnd"),i=o(e=>{e.target===r&&(u.current=c(a.current))},"handleAnimationStart");return r.addEventListener("animationstart",i),r.addEventListener("animationcancel",n),r.addEventListener("animationend",n),()=>{t.clearTimeout(e),r.removeEventListener("animationstart",i),r.removeEventListener("animationcancel",n),r.removeEventListener("animationend",n)}}m("ANIMATION_END")},[r,m]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);a.current=t,d.current=c(t)}else a.current=null;l(e)},[])}}function s(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function u(...e){let n=t.useRef(e);return n.current=e,t.useCallback(e=>{let t=n.current,r=!1,o=t.map(t=>{let n=s(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e{"use strict";var t=e.i(247865),n=e.i(352825),r=e.i(982538),o=e.i(902875),i=Object.defineProperty,l=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,n)=>{let i=(0,r.createSlot)(`Primitive.${n}`),l=t.forwardRef((e,t)=>{let{asChild:r,...l}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,o.jsx)(r?i:n,{...l,ref:t})});return l.displayName=`Primitive.${n}`,{...e,[n]:l}},{});function a(e,t){e&&n.flushSync(()=>e.dispatchEvent(t))}i(a,"name",{value:"dispatchDiscreteCustomEvent",configurable:!0}),e.s(["Primitive",0,l,"dispatchDiscreteCustomEvent",0,a])},803976,e=>{"use strict";var t=e.i(247865),n=e.i(899300),r=e.i(714035),o=Object.defineProperty,i=t[" useEffectEvent ".trim().toString()],l=t[" useInsertionEffect ".trim().toString()];function a(e){if("function"==typeof i)return i(e);let n=t.useRef(()=>{throw Error("Cannot call an event handler while rendering.")});return"function"==typeof l?l(()=>{n.current=e}):(0,r.useLayoutEffect)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}o(a,"name",{value:"useEffectEvent",configurable:!0});var s=Object.defineProperty,u=(e,t)=>s(e,"name",{value:t,configurable:!0}),c=t[" useInsertionEffect ".trim().toString()]||r.useLayoutEffect;function d({prop:e,defaultProp:r,onChange:o=u(()=>{},"onChange"),caller:i}){let[l,a,s]=f({defaultProp:r,onChange:o}),c=void 0!==e,p=c?e:l;if(n.IS_DEVELOPMENT){let n=t.useRef(void 0!==e);t.useEffect(()=>{let e=n.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${i} is changing from ${e?"controlled":"uncontrolled"} to ${t}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}n.current=c},[c,i])}return[p,t.useCallback(t=>{if(c){let n=m(t)?t(e):t;n!==e&&s.current?.(n)}else a(t)},[c,e,a,s])]}function f({defaultProp:e,onChange:n}){let[r,o]=t.useState(e),i=t.useRef(r),l=t.useRef(n);return c(()=>{l.current=n},[n]),t.useEffect(()=>{i.current!==r&&(l.current?.(r),i.current=r)},[r,i]),[r,o,l]}function m(e){return"function"==typeof e}u(d,"useControllableState"),u(f,"useUncontrolledState"),u(m,"isFunction");var p=Symbol("RADIX:SYNC_STATE");u(function(e,r,o,i){let{prop:l,defaultProp:s,onChange:u,caller:c}=r,d=void 0!==l,f=a(u);if(n.IS_DEVELOPMENT){let e=t.useRef(void 0!==l);t.useEffect(()=>{let t=e.current;if(t!==d){let e=d?"controlled":"uncontrolled";console.warn(`${c} is changing from ${t?"controlled":"uncontrolled"} to ${e}. Components should not switch from controlled to uncontrolled (or vice versa). Decide between using a controlled or uncontrolled value for the lifetime of the component.`)}e.current=d},[d,c])}let m=[{...o,state:s}];i&&m.push(i);let[g,v]=t.useReducer((t,n)=>{if(n.type===p)return{...t,state:n.state};let r=e(t,n);return d&&!Object.is(r.state,t.state)&&f(r.state),r},...m),y=g.state,h=t.useRef(y);t.useEffect(()=>{h.current!==y&&(h.current=y,d||f(y))},[y,h,d]);let w=t.useMemo(()=>void 0!==l?{...g,state:l}:g,[g,l]);return t.useEffect(()=>{d&&!Object.is(l,g.state)&&v({type:p,state:l})},[l,g.state,d]),[w,v]},"useControllableStateReducer"),e.s(["useControllableState",0,d],803976)},714035,e=>{"use strict";var t=e.i(247865),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,n])},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)},329017,e=>{"use strict";e.i(288906);var t=e.i(247865),n=e.i(725287),r=e.i(546446),o=e.i(540768),i=e.i(682142),l=e.i(782937),a=e.i(695881),s=e.i(333350),u=e.i(64412),c=e.i(950771),d=e.i(537989),f=e.i(695203),m=e.i(158662),p=e.i(358273),g=e.i(122124),v=e.i(777638),y=e.i(727365),h=e.i(896363),w=e.i(924776),C=e.i(409628),b=e.i(605781),E=e.i(289681);let S=(0,a.createLogger)("useTrackInteraction"),P=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),I=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["useTrackInteraction",0,()=>{let e=(0,r.useAtomValue)(d.pageIdAtom),a=(0,r.useAtomValue)(c.pageLocaleAtom),x=(0,r.useAtomValue)(f.deviceClassAtom),A=(0,r.useAtomValue)(m.experimentJoinListAtom),N=(0,n.usePathname)(),{location:j}=(0,u.useLocation)(),M=(0,w.useIsHightouchReady)(),R=(0,t.useCallback)(t=>{let n=(0,i.getCICookie)(),r=n?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),s=n?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),u=n?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),c=window.DprSdk?.getGdprConsentOptInsString()??"",d=window.DprSdk?.getCcpaSaleOptInString()??"",f=window.navigator?.globalPrivacyControl??!1,m=c?.includes("functional-technology")??!1,w=window.DprSdk?.getUserConsent("geographically-relevant-advertising")!==!1,b=window.DprSdk?.getUserConsent("interest-based-ads")!==!1,S=(0,E.getConsentAuthorization)("sale-of-data"),M=(0,E.getConsentAuthorization)("sensitive-data"),R=navigator?.cookieEnabled??!1,O=(0,o.getCookie)("partner")||"",D=(0,l.getPartnerByPattern)(O)??O,k=(0,p.getMetricsSession)(),T=k?.sessionId||"",L=new Date(k?.sessionStartTime||0).toISOString(),$=new Date,U=$.getHours(),_=C.WEEK_DAYS[$.getDay()]??"",B=e&&["article","video"].includes(e)?N?.split("/").slice(0,-1).join("/")??"":(0,g.getAnonymizedPath)(N??""),V=(0,y.normalizeWlocType)(j?.type),F=j?.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:a,deviceClass:x,partner:D,sessionId:T,sessionStartTime:L,siteMode:"normal",dayOfWeek:_,hourOfDay:U,regime:u??"",cookiesEnabled:R,gpcSignalOptOut:f,functionalTechnologies:m,geographicallyRelevantAds:w,interestBasedAds:b,priv:c,privProducts:d,saleOfDataAuthorization:S,sensitiveDataAuthorization:M,campaign:(0,v.getCampaign)(),experimentJoinList:A,weatherMode:"normal",physicalCountry:r??"",physicalState:s??"",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!=F&&I.has(F)?F:void 0,wlocTags:j?.tags?.length?(0,h.parseArrayToString)(j.tags):null,wlocType:null!==V&&P.has(V)?V:void 0,samsungVersion:(0,v.getSamsungVersion)(),appVersion:"389773fb268e11f29ae005c6d1e2df0edccc3d48".slice(0,10)}},[e,a,x,A,N,j]);return(0,t.useCallback)(e=>{if(s.default){if(!M)return void S.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,b.trackInteraction)(R(e)),S.info('Hightouch: Event "interaction" tracked')}catch(e){S.error('Hightouch: Event "interaction" failed',{error:e})}}},[M,R])}])},683199,e=>{"use strict";var t=e.i(247865),n=e.i(546446),r=e.i(128541),o=e.i(537989);e.s(["usePremiumSource",0,()=>{let e=(0,n.useSetAtom)(r.purchaseSourceAttributionAtom),i=(0,n.useAtomValue)(o.pageIdAtom);return(0,t.useCallback)(({sourceModule:t,sourceElement:n,sourceUpsellPlacement:r})=>{e({sourcePage:i||null,sourceModule:t,sourceElement:n,sourceUpsellPlacement:r??null})},[e,i])}])},487709,e=>{"use strict";e.s(["canLogEvent",0,()=>"function"==typeof window.mParticle?.logEvent])},598513,e=>{"use strict";var t=e.i(487709),n=e.i(737801),r=e.i(329017),o=e.i(247865);e.s(["useSendInteractionEvent",0,()=>{let e="interaction",i=(0,n.useEventAttributes)(),l=(0,r.useTrackInteraction)();return(0,o.useCallback)((n,r={})=>{l(n);let o={...i,...n};if(!(0,t.canLogEvent)())return void console.warn("MParticle is not loaded");try{if(window.mParticle?.logEvent?.(e,window.mParticle?.EventType?.Other,o),r.flushImmediately)try{window.mParticle?.upload?.()}catch{}console.debug(`MParticle: Event "${e}" tracked`,o)}catch(t){console.error(`MParticle: Event "${e}" failed`,t)}},[i,l])}])},328895,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.getVideoNavLink=i;let r=e.r(426606),o=e.r(16689);async function i({channel:e,language:t="en-US",partner:n,contentQueryId:l}){let a=["api","payload","v1","media","video-nav",encodeURIComponent(e),encodeURIComponent(t)];n&&a.push(encodeURIComponent(n));let s=l?`?cq=${encodeURIComponent(l)}`:"",u=`https://${(0,o.getCmsBaseUrl)()}/${a.join("/")}${s}`,c=await (0,r.fetchJsonWithoutCredentials)(u);return c&&"url"in c?c.url??null:null}},16689,(e,t,n)=>{"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.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),n=e.i(663333);e.s(["useIsMobile",0,function(){return"mobile"===(0,t.useAtomValue)(n.deviceClassAtom)}])},336726,e=>{"use strict";var t=e.i(902875),n=e.i(247865),r=e.i(747961);let o=(0,n.forwardRef)(({title:e,titleId:n,desc:r,descId:o,...i},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":n,"aria-describedby":o,...i,children:[r?(0,t.jsx)("desc",{id:o,children:r}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Chevron Down"}):e?(0,t.jsx)("title",{id:n,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"})]})),i=n.default.forwardRef((e,n)=>(0,t.jsx)(r.BaseIcon,{ref:n,icon:o,...e}));i.displayName="ChevronDown",e.s(["ChevronDown",0,i])},710746,e=>{"use strict";var t=e.i(902875),n=e.i(247865),r=e.i(747961);let o=(0,n.forwardRef)(({title:e,titleId:n,desc:r,descId:o,...i},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":n,"aria-describedby":o,...i,children:[r?(0,t.jsx)("desc",{id:o,children:r}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Close"}):e?(0,t.jsx)("title",{id:n,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",d:"M12.809 4.113a.652.652 0 1 0-.922-.922L8 7.078 4.113 3.19a.652.652 0 1 0-.922.922L7.078 8 3.19 11.887a.652.652 0 0 0 .922.922L8 8.922l3.887 3.887a.652.652 0 1 0 .922-.922L8.922 8z"})]})),i=n.default.forwardRef((e,n)=>(0,t.jsx)(r.BaseIcon,{ref:n,icon:o,...e}));i.displayName="Close",e.s(["Close",0,i])},993269,e=>{"use strict";var t=e.i(902875),n=e.i(247865),r=e.i(747961);let o=(0,n.forwardRef)(({title:e,titleId:n,desc:r,descId:o,...i},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":n,"aria-describedby":o,...i,children:[r?(0,t.jsx)("desc",{id:o,children:r}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Minus"}):e?(0,t.jsx)("title",{id:n,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"})]})),i=n.default.forwardRef((e,n)=>(0,t.jsx)(r.BaseIcon,{ref:n,icon:o,...e}));i.displayName="Minus",e.s(["Minus",0,i])},859827,e=>{"use strict";var t=e.i(902875),n=e.i(247865),r=e.i(747961);let o=(0,n.forwardRef)(({title:e,titleId:n,desc:r,descId:o,...i},l)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:l,"aria-labelledby":n,"aria-describedby":o,...i,children:[r?(0,t.jsx)("desc",{id:o,children:r}):null,void 0===e?(0,t.jsx)("title",{id:n,children:"Plus"}):e?(0,t.jsx)("title",{id:n,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"})]})),i=n.default.forwardRef((e,n)=>(0,t.jsx)(r.BaseIcon,{ref:n,icon:o,...e}));i.displayName="Plus",e.s(["Plus",0,i])},559421,4085,e=>{"use strict";var t=e.i(725287),n=e.i(89887),r=e.i(64412),o=e.i(942400),i=e.i(269153);function l(){let e=(0,t.useParams)(),r=(0,o.usePageLocale)(),l=(0,i.useIsSamsungPartner)(),a=e?.locationPath;if(!l&&Array.isArray(a)&&a.length)return(0,n.buildLocationCanonicalBase)(`/default/${a.join("/")}`,r)}e.s(["useRouteCanonicalBase",0,l],4085);var a=e.i(512134);e.i(388706),e.s(["useCanonicalBasePath",0,function(){let e=(0,t.useParams)(),s=(0,t.usePathname)(),{location:u}=(0,r.useLocation)(),c=(0,o.usePageLocale)(),d=(0,i.useIsSamsungPartner)(),f=(0,a.useIsClient)(),m=l();if(!f||d)return;if(m)return m;let p=e?.canonicalLocation,g=e?.featureId;if(!(p?.length||g&&!s.includes("/l/")))return;let v=u?.canonicalID;if(v)return(0,n.buildLocationCanonicalBase)(v,c);if(s.includes("/byFeatureId/"))return;let y=/\/day-\d+$/.test(s)?s.substring(0,s.lastIndexOf("/")):s;return y.substring(0,y.lastIndexOf("/"))}],559421)},935807,e=>{"use strict";function t(e,n=[],o=!1,i="US",l){let a,s=n.find(t=>t.placeID===e.placeId);if(s&&o){let t=s.userTag||s.name;if(t&&"Other"!==t){let n=e.displayName,o=r(e,i,""),l="address"===e.type?e.address:void 0;if(t!==n&&t!==o&&t!==l)return t}}if(e?.disputedCountries)a=e.displayName||"";else{switch(e?.type){case"address":a=e?.address?.split(",")[0]?.trim()||"";break;case"city":a=e?.locale?.locale2||"";break;case"locality":a=e?.locale?.locale3||"";break;case"neighborhood":a=e?.locale?.locale4||"";break;case"airport":a=e?.airportName||"";break;case"postal":{let t=e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",n=e?.postalCode||"";a=l?`${t} ${n}`.trim():`${t}`.trim();break}default:a=e?.displayName||""}0===a.length&&(a=e?.displayName||"")}return a}function n(e,t=[],o=!1,i="US",l){let a,s=t.find(t=>t.placeID===e.placeId);if(s&&o){let t=s.userTag||s.name;if(t&&"Other"!==t){let n=e.displayName,o=r(e,i,"");if(t!==n&&t!==o)return function(e,t="US"){if(e?.disputedCountries)return e?.displayName||"";let n=t===e?.countryCode?"":e?.country||"";switch(e?.type){case"city":{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,n].filter(Boolean).join(", ")}case"locality":{let t=e?.adminDistrict||e?.locale?.locale2||"";return[e.locale?.locale3||"",t,n].filter(Boolean).join(", ")}case"neighborhood":{let t=e?.adminDistrict||"";return[e?.locale?.locale4||"",e?.locale?.locale3||e?.locale?.locale2||"",t,n].filter(Boolean).join(", ")}case"postal":{let t=e?.adminDistrict||"",r=e?.postalCode||"";return[e?.locale?.locale4||e?.locale?.locale3||e?.locale?.locale2||"",`${t} ${r}`.trim(),n].filter(Boolean).join(", ")}default:{let t=e?.adminDistrict||"";return[e?.locale?.locale2||"",t,n].filter(Boolean).join(", ")}}}(e,i)}}if(e?.disputedCountries)a=e?.displayName||"";else{let t=i===e?.countryCode?"":e?.country||"",n=e?.adminDistrict||"",r=e?.postalCode||"",o=e.city||"";switch(e?.type){case"address":a=[o,n,t].filter(Boolean).join(", ");break;case"city":default:a=[n,t].filter(Boolean).join(", ");break;case"locality":a=[e?.locale?.locale2||"",n,t].filter(Boolean).join(", ");break;case"neighborhood":a=[e?.locale?.locale3||e?.locale?.locale2||"",n,t].filter(Boolean).join(", ");break;case"postal":{let o=n||e?.locale?.locale2||"";a=[l?`${o} ${r}`.trim():o,t].filter(Boolean).join(", ")}}}return a}function r(e,t,n){let{displayName:r,adminDistrictCode:o,adminDistrict:i,countryCode:l,disputedArea:a,country:s}=e,u=[];return r&&u.push(r),"IL"!==t&&(o?u.push(o):i&&u.push(i)),l!==t&&!1===a&&s&&u.push(s),u.join(n)}e.s(["getLocationContext",0,n,"getLocationName",0,t,"getLocationPresentationName",0,function(e,r=[],o=!1,i="US"){let l=t(e,r,o,i,!1),a=n(e,r,o,i,!0),s=e?.separator?e?.separator:l&&a?", ":"";return`${l}${s}${a}`.trim()}])},919101,e=>{"use strict";e.s(["getAddressForLocationData",0,(e,t)=>{if(!e||!Array.isArray(t))return e;let n=t.find(t=>t.placeId===e.placeId);return n?{...e,displayName:n.address,address:n.address}:e}])},763886,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["partnerAtom",0,t])},269153,e=>{"use strict";var t=e.i(546446),n=e.i(763886),r=e.i(132084);e.s(["useIsSamsungPartner",0,function(){return(0,t.useAtomValue)(n.partnerAtom)===r.Partner.SAMSUNG}])},394481,e=>{"use strict";let t=(0,e.i(981030).atom)();e.s(["privacyRegimeAtom",0,t])},739971,e=>{"use strict";let t=(0,e.i(981030).atom)(null);e.s(["subscriptionsEnabledAtom",0,t])},837879,e=>{"use strict";var t=e.i(247865),n=e.i(546446),r=e.i(725287),o=e.i(485737),i=e.i(739971),l=e.i(725296),a=e.i(394481),s=e.i(763886),u=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,n.useAtomValue)(i.subscriptionsEnabledAtom),c=(0,n.useAtomValue)(o.geoipCountry),d=(0,r.useParams)()?.locale,f=(0,n.useAtomValue)(a.privacyRegimeAtom)??l.Regime.EXEMPT,m=(0,n.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===c&&"en-US"===d&&l.US_REGIMES.includes(f)&&m!==u.Partner.OPPO,[e,c,d,f,m])}])},512134,e=>{"use strict";var t=e.i(247865);e.s(["useIsClient",0,function(){let[e,n]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{n(!0)},[]),e}])},792461,e=>{"use strict";var t=e.i(247865);e.s(["useRefMemo",0,e=>{let n=(0,t.useRef)(e);return n.current=e,n}])}]);