(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(["f",0,o])},899300,e=>{"use strict";e.s(["f",0,!1])},915335,e=>{"use strict";var t=e.i(538167),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(538167),n=e.i(458201),r=Object.defineProperty,o=(e,t)=>r(e,"name",{value:t,configurable:!0});function i(e,r=[]){let a=[];function u(r,i){let l=t.createContext(i);l.displayName=r+"Context";let u=a.length;a=[...a,i];let s=o(r=>{let{scope:o,children:i,...a}=r,s=o?.[e]?.[u]||l,c=t.useMemo(()=>a,Object.values(a));return(0,n.jsx)(s.Provider,{value:c,children:i})},"Provider");function c(n,o,a={}){let{optional:s=!1}=a,f=o?.[e]?.[u]||l,d=t.useContext(f);if(d)return d;if(void 0!==i)return i;if(!s)throw Error(`\`${n}\` must be used within \`${r}\``)}return s.displayName=r+"Provider",o(c,"useContext"),[s,c]}o(u,"createContext");let s=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 s.scopeName=e,[u,l(s,...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,u=t.useContext(i);if(u)return u;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(["f",0,i])},904816,e=>{"use strict";var t=e.i(538167),n=e.i(210767),r=Object.defineProperty,o=t[" useId ".trim().toString()]||(()=>void 0),i=0;function l(e){let[r,l]=t.useState(o());return(0,n.f)(()=>{e||l(e=>e??String(i++))},[e]),e||(r?`radix-${r}`:"")}r(l,"name",{value:"useId",configurable:!0}),e.s(["f",0,l])},786884,e=>{"use strict";var t=e.i(538167),n=e.i(210767),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=s(o.ref,f(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),u=t.useRef(e),s=t.useRef("none"),f=t.useRef(void 0),[d,p]=i(e?"mounted":"unmounted",{mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}});return t.useEffect(()=>{"mounted"===d?(s.current=f.current??c(a.current),f.current=void 0):s.current="none"},[d]),(0,n.f)(()=>{let t=a.current,n=u.current;if(n!==e){let r=s.current,o=c(t);e?(f.current=o,p("MOUNT")):"none"===o||t?.display==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,n.f)(()=>{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&&(p("ANIMATION_END"),!u.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&&(s.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)}}p("ANIMATION_END")},[r,p]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{if(e){let t=getComputedStyle(e);a.current=t,f.current=c(t)}else a.current=null;l(e)},[])}}function u(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function s(...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=u(t,e);return r||"function"!=typeof n||(r=!0),n});if(r)return()=>{for(let e=0;e{"use strict";var t=e.i(538167),n=e.i(2248),r=e.i(95927),o=e.i(458201),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.B)(`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(["V",0,l,"u",0,a])},218481,e=>{"use strict";var t=e.i(538167),n=e.i(899300),r=e.i(210767),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.f)(()=>{n.current=e}),t.useMemo(()=>(...e)=>n.current?.(...e),[])}o(a,"name",{value:"useEffectEvent",configurable:!0});var u=Object.defineProperty,s=(e,t)=>u(e,"name",{value:t,configurable:!0}),c=t[" useInsertionEffect ".trim().toString()]||r.f;function f({prop:e,defaultProp:r,onChange:o=s(()=>{},"onChange"),caller:i}){let[l,a,u]=d({defaultProp:r,onChange:o}),c=void 0!==e,m=c?e:l;if(n.f){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[m,t.useCallback(t=>{if(c){let n=p(t)?t(e):t;n!==e&&u.current?.(n)}else a(t)},[c,e,a,u])]}function d({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 p(e){return"function"==typeof e}s(f,"useControllableState"),s(d,"useUncontrolledState"),s(p,"isFunction");var m=Symbol("RADIX:SYNC_STATE");s(function(e,r,o,i){let{prop:l,defaultProp:u,onChange:s,caller:c}=r,f=void 0!==l,d=a(s);if(n.f){let e=t.useRef(void 0!==l);t.useEffect(()=>{let t=e.current;if(t!==f){let e=f?"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=f},[f,c])}let p=[{...o,state:u}];i&&p.push(i);let[g,v]=t.useReducer((t,n)=>{if(n.type===m)return{...t,state:n.state};let r=e(t,n);return f&&!Object.is(r.state,t.state)&&d(r.state),r},...p),y=g.state,h=t.useRef(y);t.useEffect(()=>{h.current!==y&&(h.current=y,f||d(y))},[y,h,f]);let w=t.useMemo(()=>void 0!==l?{...g,state:l}:g,[g,l]);return t.useEffect(()=>{f&&!Object.is(l,g.state)&&v({type:m,state:l})},[l,g.state,f]),[w,v]},"useControllableStateReducer"),e.s(["f",0,f],218481)},210767,e=>{"use strict";var t=e.i(538167),n=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["f",0,n])},329017,e=>{"use strict";e.i(199690);var t=e.i(538167),n=e.i(935251),r=e.i(282446),o=e.i(201542),i=e.i(682142),l=e.i(782937),a=e.i(695881),u=e.i(333350),s=e.i(64412),c=e.i(950771),f=e.i(537989),d=e.i(695203),p=e.i(158662),m=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(24638),b=e.i(409628),x=e.i(605781),P=e.i(963722),j=e.i(313983);let E=(0,a.createLogger)("useTrackInteraction"),D=new Set(["city","locality","neighborhood","airport","postal","poi","ski","geocode","locid"]),O=new Set(["mapbox","twc-poi","twc-v3-loc-search","twc-v3-loc-point"]);e.s(["f",0,()=>{let e=(0,r.y)(f.f),a=(0,r.y)(c.f),N=(0,r.y)(d.f),I=(0,r.y)(p.f),S=(0,n.usePathname)(),{location:R}=(0,s.f)(),T=(0,C.f)(),M=(0,w.f)()&&void 0!==T,_=(0,t.useCallback)(t=>{let n=(0,i.f)(),r=n?.["TWC-GeoIP-Country"]??(0,o.getCookie)("twc-location-country"),u=n?.["TWC-GeoIP-Region"]??(0,o.getCookie)("twc-location-region"),s=n?.["TWC-Privacy"]??(0,o.getCookie)("twc-privacy"),c=window.DprSdk?.getGdprConsentOptInsString()??"",f=window.DprSdk?.getCcpaSaleOptInString()??"",d=window.navigator?.globalPrivacyControl??!1,p=(0,P.u)(j.f.FUNCTIONAL_TECHNOLOGY),w=(0,P.u)(j.f.GEOGRAPHICALLY_RELEVANT_ADVERTISING),C=(0,P.u)(j.f.SALE_OF_DATA),x=(0,P.u)(j.f.SENSITIVE_DATA),E=navigator?.cookieEnabled??!1,M=(0,o.getCookie)("partner")||"",_=(0,l.i)(M)??M,A=(0,m.N)(),k=A?.sessionId||"",U=new Date(A?.sessionStartTime||0).toISOString(),F=new Date,$=F.getHours(),L=b.f[F.getDay()]??"",V=e&&["article","video"].includes(e)?S?.split("/").slice(0,-1).join("/")??"":(0,g.N)(S??""),B=(0,y.f)(R?.type),W=R?.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:V,referrer:document.referrer,locale:a,deviceClass:N,partner:_,sessionId:k,sessionStartTime:U,siteMode:"normal",dayOfWeek:L,hourOfDay:$,regime:s??"",cookiesEnabled:E,gpcSignalOptOut:d,functionalTechnologies:p,geographicallyRelevantAds:w,interestBasedAds:T?.[j.f.INTEREST_BASED_ADS]??null,priv:c,privProducts:f,saleOfDataAuthorization:C,sensitiveDataAuthorization:x,campaign:(0,v.s)(),experimentJoinList:I,weatherMode:"normal",physicalCountry:r??"",physicalState:u??"",wlocCity:R?.city??null,wlocCountry:R?.countryCode??null,wlocState:R?.adminDistrictCode??null,wlocDMA:R?.dmaCd??null,wlocId:R?.placeId??null,wlocFeatureId:R?.featureId??null,wlocFeatureSource:null!=W&&O.has(W)?W:void 0,wlocTags:R?.tags?.length?(0,h.f)(R.tags):null,wlocType:null!==B&&D.has(B)?B:void 0,samsungVersion:(0,v.L)(),appVersion:"a9ce9f6ee5972c3d49b968d0378f5c244f1b9d64".slice(0,10)}},[e,a,N,I,S,R,T]);return(0,t.useCallback)(e=>{if(u.default){if(!M)return void E.warn('Hightouch: Event "interaction" skipped - SDK not ready');try{(0,x.s)(_(e)),E.info('Hightouch: Event "interaction" tracked')}catch(e){E.error('Hightouch: Event "interaction" failed',{error:e})}}},[M,_])}])},683199,e=>{"use strict";var t=e.i(538167),n=e.i(282446),r=e.i(128541),o=e.i(537989);e.s(["f",0,()=>{let e=(0,n.F)(r.f),i=(0,n.y)(o.f);return(0,t.useCallback)(({sourceModule:t,sourceElement:n,sourceUpsellPlacement:r})=>{e({sourcePage:i||null,sourceModule:t,sourceElement:n,sourceUpsellPlacement:r??null})},[e,i])}])},468104,e=>{"use strict";var t=e.i(538167),n=e.i(598513);e.s(["f",0,function(){let e=(0,n.f)();return(0,t.useCallback)((t,n)=>{e({moduleId:t,interactionType:"click",interactionElement:n},{flushImmediately:!0})},[e])}])},487709,e=>{"use strict";e.s(["f",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(538167);e.s(["f",0,()=>{let e="interaction",i=(0,n.f)(),l=(0,r.f)();return(0,o.useCallback)((n,r={})=>{l(n);let o={...i,...n};if(!(0,t.f)())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])}])},18358,e=>{"use strict";var t=e.i(487709),n=e.i(737801),r=e.i(538167);e.s(["f",0,()=>{let e=(0,n.f)(),o=(0,r.useCallback)((n,r={},i={})=>{let l={...e,...r};if(!(0,t.f)())return void console.warn("MParticle is not loaded");try{if(window.mParticle?.logEvent(n,window.mParticle.EventType.Other,l),i.flushImmediately)try{window.mParticle.upload?.()}catch{}console.debug(`MParticle: Event "${n}" tracked`,l)}catch(e){console.error(`MParticle: Event "${n}" failed`,e)}return o},[e]);return o}])},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 u=l?`?cq=${encodeURIComponent(l)}`:"",s=`https://${(0,o.getCmsBaseUrl)()}/${a.join("/")}${u}`,c=await (0,r.fetchJsonWithoutCredentials)(s);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(144683).g)("");e.s(["f",0,t])},498076,e=>{"use strict";var t=e.i(282446),n=e.i(663333);e.s(["f",0,function(){return"mobile"===(0,t.y)(n.f)}])},710746,e=>{"use strict";var t=e.i(458201),n=e.i(538167),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.f,{ref:n,icon:o,...e}));i.displayName="Close",e.s(["f",0,i])},559421,4085,e=>{"use strict";var t=e.i(935251),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.f)(),l=(0,i.f)(),a=e?.locationPath;if(!l&&Array.isArray(a)&&a.length)return(0,n.c)(`/default/${a.join("/")}`,r)}e.s(["f",0,l],4085);var a=e.i(512134);e.i(388706),e.s(["f",0,function(){let e=(0,t.useParams)(),u=(0,t.usePathname)(),{location:s}=(0,r.f)(),c=(0,o.f)(),f=(0,i.f)(),d=(0,a.f)(),p=l();if(!d||f)return;if(p)return p;let m=e?.canonicalLocation,g=e?.featureId;if(!(m?.length||g&&!u.includes("/l/")))return;let v=s?.canonicalID;if(v)return(0,n.c)(v,c);if(u.includes("/byFeatureId/"))return;let y=/\/day-\d+$/.test(u)?u.substring(0,u.lastIndexOf("/")):u;return y.substring(0,y.lastIndexOf("/"))}],559421)},269153,e=>{"use strict";var t=e.i(282446),n=e.i(763886),r=e.i(132084);e.s(["f",0,function(){return(0,t.y)(n.f)===r.p.SAMSUNG}])},697380,e=>{"use strict";let t=(0,e.i(144683).g)(0);e.s(["f",0,t])},367810,709838,634177,e=>{"use strict";var t=e.i(458201),n=e.i(538167),r=e.i(543836),o=e.i(915335),i=e.i(162033),l=e.i(904816),a=e.i(218481),u=e.i(807660),s=e.i(526160),c=e.i(671495),f=e.i(786884),d=e.i(679076),p=e.i(707777),m=e.i(210767),g=e.i(345214),v=e.i(73772),y=e.i(95927),h=Object.defineProperty,w=(e,t)=>h(e,"name",{value:t,configurable:!0}),C="Dialog",[b,x]=(0,i.f)(C),[P,j]=b(C),E=w(e=>{let{__scopeDialog:r,children:o,open:i,defaultOpen:u,onOpenChange:s,modal:c=!0}=e,f=n.useRef(null),d=n.useRef(null),[p,m]=(0,a.f)({prop:i,defaultProp:u??!1,onChange:s,caller:C}),[g,v]=n.useState(0),[y,h]=n.useState(0);return(0,t.jsx)(P,{scope:r,triggerRef:f,contentRef:d,contentId:(0,l.f)(),titleId:(0,l.f)(),descriptionId:(0,l.f)(),titlePresent:g>0,descriptionPresent:y>0,setTitleCount:v,setDescriptionCount:h,open:p,onOpenChange:m,onOpenToggle:n.useCallback(()=>m(e=>!e),[m]),modal:c,children:o})},"Dialog"),D=n.forwardRef(w(function(e,n){let{__scopeDialog:i,...l}=e,a=j("DialogTrigger",i),u=(0,o.j)(n,a.triggerRef);return(0,t.jsx)(d.V.button,{type:"button","aria-haspopup":"dialog","aria-expanded":a.open,"aria-controls":a.open?a.contentId:void 0,"data-state":W(a.open),...l,ref:u,onClick:(0,r.f)(e.onClick,a.onOpenToggle)})},"DialogTrigger")),O="DialogPortal",[N,I]=b(O,{forceMount:void 0}),S=w(e=>{let{__scopeDialog:r,forceMount:o,children:i,container:l}=e,a=j(O,r);return(0,t.jsx)(N,{scope:r,forceMount:o,children:n.Children.map(i,e=>(0,t.jsx)(f.f,{present:o||a.open,children:(0,t.jsx)(c.f,{asChild:!0,container:l,children:e})}))})},"DialogPortal"),R="DialogOverlay",T=n.forwardRef(w(function(e,n){let r=I(R,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,l=j(R,e.__scopeDialog);return l.modal?(0,t.jsx)(f.f,{present:o||l.open,children:(0,t.jsx)(_,{...i,ref:n})}):null},"DialogOverlay")),M=(0,y.B)("DialogOverlay.RemoveScroll"),_=n.forwardRef(w(function(e,n){let{__scopeDialog:r,...i}=e,l=j(R,r),a=(0,u.y)(),s=(0,o.j)(n,a);return(0,t.jsx)(g.f,{as:M,allowPinchZoom:!0,shards:[l.contentRef],children:(0,t.jsx)(d.V.div,{"data-state":W(l.open),...i,ref:s,style:{pointerEvents:"auto",...i.style}})})},"DialogOverlayImpl")),A="DialogContent",k=n.forwardRef(w(function(e,n){let r=I(A,e.__scopeDialog),{forceMount:o=r.forceMount,...i}=e,l=j(A,e.__scopeDialog);return(0,t.jsx)(f.f,{present:o||l.open,children:l.modal?(0,t.jsx)(U,{...i,ref:n}):(0,t.jsx)(F,{...i,ref:n})})},"DialogContent")),U=n.forwardRef(w(function(e,i){let l=j(A,e.__scopeDialog),a=n.useRef(null),u=(0,o.j)(i,l.contentRef,a);return n.useEffect(()=>{let e=a.current;if(e)return(0,v.f)(e)},[]),(0,t.jsx)($,{...e,ref:u,trapFocus:l.open,disableOutsidePointerEvents:l.open,onCloseAutoFocus:(0,r.f)(e.onCloseAutoFocus,e=>{e.preventDefault(),l.triggerRef.current?.focus()}),onPointerDownOutside:(0,r.f)(e.onPointerDownOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey;(2===t.button||n)&&e.preventDefault()}),onFocusOutside:(0,r.f)(e.onFocusOutside,e=>e.preventDefault())})},"DialogContentModal")),F=n.forwardRef(w(function(e,r){let o=j(A,e.__scopeDialog),i=n.useRef(!1),l=n.useRef(!1);return(0,t.jsx)($,{...e,ref:r,trapFocus:!1,disableOutsidePointerEvents:!1,onCloseAutoFocus:t=>{e.onCloseAutoFocus?.(t),t.defaultPrevented||(i.current||o.triggerRef.current?.focus(),t.preventDefault()),i.current=!1,l.current=!1},onInteractOutside:t=>{e.onInteractOutside?.(t),t.defaultPrevented||(i.current=!0,"pointerdown"===t.detail.originalEvent.type&&(l.current=!0));let n=t.target;o.triggerRef.current?.contains(n)&&t.preventDefault(),"focusin"===t.detail.originalEvent.type&&l.current&&t.preventDefault()}})},"DialogContentNonModal")),$=n.forwardRef(w(function(e,n){let{__scopeDialog:r,trapFocus:o,onOpenAutoFocus:i,onCloseAutoFocus:l,...a}=e,c=j(A,r);return(0,p.f)(),(0,t.jsx)(t.Fragment,{children:(0,t.jsx)(s.f,{asChild:!0,loop:!0,trapped:o,onMountAutoFocus:i,onUnmountAutoFocus:l,children:(0,t.jsx)(u.V,{role:"dialog",id:c.contentId,"aria-describedby":c.descriptionPresent?c.descriptionId:void 0,"aria-labelledby":c.titlePresent?c.titleId:void 0,"data-state":W(c.open),...a,ref:n,deferPointerDownOutside:!0,onDismiss:()=>c.onOpenChange(!1)})})})},"DialogContentImpl")),L=n.forwardRef(w(function(e,n){let{__scopeDialog:r,...o}=e,i=j("DialogTitle",r),{setTitleCount:l}=i;return(0,m.f)(()=>(l(e=>e+1),()=>l(e=>e-1)),[l]),(0,t.jsx)(d.V.h2,{id:i.titleId,...o,ref:n})},"DialogTitle")),V=n.forwardRef(w(function(e,n){let{__scopeDialog:r,...o}=e,i=j("DialogDescription",r),{setDescriptionCount:l}=i;return(0,m.f)(()=>(l(e=>e+1),()=>l(e=>e-1)),[l]),(0,t.jsx)(d.V.p,{id:i.descriptionId,...o,ref:n})},"DialogDescription")),B=n.forwardRef(w(function(e,n){let{__scopeDialog:o,...i}=e,l=j("DialogClose",o);return(0,t.jsx)(d.V.button,{type:"button",...i,ref:n,onClick:(0,r.f)(e.onClick,()=>l.onOpenChange(!1))})},"DialogClose"));function W(e){return e?"open":"closed"}w(W,"getState"),e.s(["K",0,B,"c",0,k,"u",0,V,"k",0,T,"z",0,S,"F",0,E,"Z",0,L,"d",0,D],709838);var G=e.i(710746),H=e.i(632137),z=e.i(877957),K=e.i(294237);e.i(368847);let Y=(0,K.f)("",{variants:{type:{overlay:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-overlay bg-black/50",content:"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 fixed left-[50%] top-[50%] z-overlay w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border bg-white shadow-lg duration-200 sm:max-w-md p-6",header:"mb-4 text-center",footer:"mt-6 flex flex-col-reverse gap-2 text-center"}},defaultVariants:{type:"content"}});function J({...e}){return(0,t.jsx)(S,{"data-slot":"dialog-portal",...e})}function Q({className:e,...n}){return(0,t.jsx)(T,{"data-slot":"dialog-overlay",className:(0,H.f)(Y({type:"overlay"}),e),...n})}function X({className:e,overlayClassName:n,children:r,showCloseButton:o=!0,...i}){return(0,t.jsxs)(J,{"data-slot":"dialog-portal",children:[(0,t.jsx)(Q,{className:n}),(0,t.jsxs)(k,{"data-slot":"dialog-content",className:(0,H.f)(Y({type:"content"}),e),...i,children:[r,o&&(0,t.jsxs)(B,{className:"absolute top-4 right-4 cursor-pointer transition-opacity hover:opacity-70 focus:outline-none",children:[(0,t.jsx)(G.f,{className:"h-5 w-5 text-black"}),(0,t.jsx)("span",{className:"sr-only",children:"Close"})]})]})]})}function Z({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"dialog-header",className:(0,H.f)(Y({type:"header"}),e),...n})}function q({className:e,children:n,...r}){return(0,t.jsx)(L,{"data-slot":"dialog-title",className:(0,H.f)("pt-4 text-center",e),...r,children:n})}function ee({className:e,children:n,...r}){return(0,t.jsx)(V,{"data-slot":"dialog-description",className:(0,H.f)("pb-4 text-center",e),...r,children:n})}function et({primary:e,secondary:n,className:r}){return(0,t.jsxs)("div",{className:(0,H.f)("flex flex-col-reverse gap-3",r),children:[n&&(0,t.jsx)(z.f,{variant:"secondary",onClick:n.onClick,className:"w-full",children:n.label}),e&&(0,t.jsx)(z.f,{variant:"default",onClick:e.onClick,className:"w-full",children:e.label})]})}e.s(["f",0,Y],634177),e.s(["J",0,function({title:e,description:n,primaryAction:r,secondaryAction:o,showCloseButton:i=!0,className:l,children:a,...u}){return(0,t.jsxs)(X,{showCloseButton:i,className:(0,H.f)("p-6",l),...u,children:[(0,t.jsx)(Z,{children:(0,t.jsx)(q,{children:e})}),(0,t.jsx)(ee,{children:n}),a,(r||o)&&(0,t.jsx)(et,{primary:r,secondary:o})]})},"N",0,function({...e}){return(0,t.jsx)(E,{"data-slot":"dialog",...e})},"t",0,function({...e}){return(0,t.jsx)(B,{"data-slot":"dialog-close",...e})},"d",0,X,"C",0,ee,"c",0,function({className:e,...n}){return(0,t.jsx)("div",{"data-slot":"dialog-footer",className:(0,H.f)(Y({type:"footer"}),e),...n})},"s",0,Z,"F",0,q,"a",0,function({...e}){return(0,t.jsx)(D,{"data-slot":"dialog-trigger",...e})}],367810)},837879,e=>{"use strict";var t=e.i(538167),n=e.i(282446),r=e.i(935251),o=e.i(485737),i=e.i(739971),l=e.i(725296),a=e.i(394481),u=e.i(763886),s=e.i(132084);e.s(["f",0,()=>{let e=(0,n.y)(i.f),c=(0,n.y)(o.i),f=(0,r.useParams)()?.locale,d=(0,n.y)(a.f)??l.Q.EXEMPT,p=(0,n.y)(u.f);return(0,t.useMemo)(()=>null!==e?e:"US"===c&&"en-US"===f&&l.D.includes(d)&&p!==s.p.OPPO,[e,c,f,d,p])}])},512134,e=>{"use strict";var t=e.i(538167);e.s(["f",0,function(){let[e,n]=(0,t.useState)(!1);return(0,t.useEffect)(()=>{n(!0)},[]),e}])}]);