(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,991511,e=>{"use strict";var t=e.i(206507),r=e.i(806262),n=e.i(546446);e.s(["useRehydrateAtoms",0,e=>{(0,r.useHydrateAtoms)(e);let i=(0,n.useStore)(),l=(0,t.useRef)(e);l.current=e,(0,t.useEffect)(()=>{for(let[e,t]of l.current)i.get(e)!==t&&i.set(e,t)})}])},797770,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["adsMetricsUnitAndZoneAtom",0,t])},752496,e=>{"use strict";var t=e.i(206507),r=e.i(609858);let n=(0,e.i(695881).createLogger)("DebugCollector");e.s(["DebugCollectorClient",0,function({componentName:e,data:i,page:l,onUpdateData:a,onSetPageData:o}){let{updateComponentData:s,setPageData:c}=(0,r.useDebugSystem)(),u=(0,t.useRef)(!1),d=a||s,f=o||c;return(0,t.useEffect)(()=>{if(i)return n.lifecycle(`Collecting component data for ${e}`,{dataKeys:Object.keys(i),hasPerformance:!!i.performance,hasContext:!!i.context}),d(e,{...i,_collectedAt:new Date().toISOString()}),()=>{n.lifecycle(`Cleaning up data for ${e}`),d(e,null)}},[e,i,d]),(0,t.useEffect)(()=>{l&&!u.current&&(n.lifecycle("Setting page metadata",{title:l.title,assetName:l.assetName,collection:l.collection}),f({...l,_updatedAt:new Date().toISOString()}),u.current=!0)},[l,f]),null}])},294237,e=>{"use strict";var t=e.i(7284);let r=e=>"boolean"==typeof e?`${e}`:0===e?"0":e,n=t.clsx;e.s(["cva",0,(e,t)=>i=>{var l;if((null==t?void 0:t.variants)==null)return n(e,null==i?void 0:i.class,null==i?void 0:i.className);let{variants:a,defaultVariants:o}=t,s=Object.keys(a).map(e=>{let t=null==i?void 0:i[e],n=null==o?void 0:o[e];if(null===t)return null;let l=r(t)||r(n);return a[e][l]}),c=i&&Object.entries(i).reduce((e,t)=>{let[r,n]=t;return void 0===n||(e[r]=n),e},{});return n(e,s,null==t||null==(l=t.compoundVariants)?void 0:l.reduce((e,t)=>{let{class:r,className:n,...i}=t;return Object.entries(i).every(e=>{let[t,r]=e;return Array.isArray(r)?r.includes({...o,...c}[t]):({...o,...c})[t]===r})?[...e,r,n]:e},[]),null==i?void 0:i.class,null==i?void 0:i.className)}])},747961,e=>{"use strict";var t=e.i(155252),r=e.i(206507),n=e.i(294237),i=e.i(789876);let l=(0,n.cva)("inline-block",{variants:{size:{sm:"w-4 h-4",md:"w-6 h-6",lg:"w-8 h-8",xl:"w-16 h-16",xxl:"w-32 h-32"},color:{primary:"text-gray-900",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white"}},defaultVariants:{size:"md",color:"primary"}}),a=r.default.forwardRef(({icon:e,size:r,color:n,title:a,desc:o,className:s,ariaHidden:c,...u},d)=>(0,t.jsx)(e,{ref:d,className:(0,i.cn)(l({size:r,color:n}),s),title:a,desc:o,...c&&{"aria-hidden":c},...u}));a.displayName="BaseIcon",e.s(["BaseIcon",0,a])},632137,e=>{"use strict";var t=e.i(7284);let r=(0,e.i(923191).extendTailwindMerge)({extend:{classGroups:{"font-size":[{text:["xxs"]}]},theme:{color:[{brand:["100","200","300","400","dark","light"]}]}}});e.s(["cn",0,function(...e){return r((0,t.clsx)(e))}])},982538,723673,e=>{"use strict";var t=e.i(206507);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let t=0;t{var l;let a,c,{children:p,...m}=r,g=null,v=!1,h=[];u(p)&&"function"==typeof x&&(p=x(p._payload)),t.Children.forEach(p,e=>{var r;if(r=e,t.isValidElement(r)&&"function"==typeof r.type&&"__radixId"in r.type&&r.type.__radixId===o){v=!0;let t="child"in e.props?e.props.child:e.props.children;u(t)&&"function"==typeof x&&(t=x(t._payload)),g=s(e,t),h.push(g?.props?.children)}else h.push(e)}),g?g=t.cloneElement(g,void 0,h):!v&&1===t.Children.count(p)&&t.isValidElement(p)&&(g=p);let b=g?(l=g,(c=(a=Object.getOwnPropertyDescriptor(l.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?l.ref:(c=(a=Object.getOwnPropertyDescriptor(l,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?l.props.ref:l.props.ref||l.ref):void 0,y=i(n,b);if(!g){if(p||0===p)throw Error(v?f(e):d(e));return p}let w=function(e,t){let r={...t};for(let n in t){let i=e[n],l=t[n];/^on[A-Z]/.test(n)?i&&l?r[n]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...l}:"className"===n&&(r[n]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(m,g.props??{});return g.type!==t.Fragment&&(w.ref=n?y:b),t.cloneElement(g,w)});return r.displayName=`${e}.Slot`,r}e.s(["composeRefs",0,n,"useComposedRefs",0,i],723673);var a=l("Slot"),o=Symbol.for("radix.slottable"),s=(e,r)=>{if("child"in e.props){let r=e.props.child;return t.isValidElement(r)?t.cloneElement(r,void 0,e.props.children(r.props.children)):null}return t.isValidElement(r)?r:null},c=Symbol.for("react.lazy");function u(e){var t;return null!=e&&"object"==typeof e&&"$$typeof"in e&&e.$$typeof===c&&"_payload"in e&&"object"==typeof(t=e._payload)&&null!==t&&"then"in t}var d=e=>`${e} failed to slot onto its children. Expected a single React element child or \`Slottable\`.`,f=e=>`${e} failed to slot onto its \`Slottable\`. Expected \`Slottable\` to receive a single React element child.`,x=t[" use ".trim().toString()];e.s(["Slot",0,a,"createSlot",0,l],982538)},877957,564993,e=>{"use strict";var t=e.i(155252),r=e.i(206507),n=e.i(982538),i=e.i(294237),l=e.i(632137),a=e.i(747961);let o=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...l,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Loader Circle"}):e?(0,t.jsx)("title",{id:r,children:e}):null,(0,t.jsx)("path",{fill:"currentColor",fillRule:"evenodd",d:"M9.65 2.926A5.335 5.335 0 1 0 13.335 8a.665.665 0 0 1 1.33 0 6.665 6.665 0 1 1-4.606-6.34.665.665 0 1 1-.41 1.266",clipRule:"evenodd"})]})),s=r.default.forwardRef((e,r)=>(0,t.jsx)(a.BaseIcon,{ref:r,icon:o,...e}));s.displayName="LoaderCircle",e.s(["LoaderCircle",0,s],564993);let c=(0,i.cva)("rounded-lg cursor-pointer",{variants:{variant:{default:"bg-brand-400 text-primary-foreground hover:bg-[#252C3F] active:bg-[#0C1226] focus:outline-none focus:ring-2 focus:ring-blue-500 focus:ring-offset-0",secondary:"bg-white text-gray-900 active:bg-[#E6E6E6] focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",destructive:"bg-alert-severe hover:bg-[#C1251A] active:bg-[#A70C00] text-white focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",outline:"border-1 border-gray-500 hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",ghost:"hover:bg-white active:bg-[#E6E6E6] bg-transparent focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",link:"text-primary underline-offset-3 underline focus:outline-none focus:ring-1 focus:ring-blue-500 focus:ring-offset-0",avatarAccountLink:"text-primary text-[14px]",avatarGoPremium:"bg-gray-900 text-white text-[14px]",avatarSignOut:"text-primary text-[16px]",ghostUI:""},size:{default:"h-10 px-4 py-3",lg:"h-10 px-8 py-3",sm:"h-8 px-3 py-2",xsm:"h-6 px-2",icon:"h-10 w-10",text:""},loading:{true:"pointer-events-none cursor-not-allowed opacity-50",false:""},disabled:{true:"pointer-events-none cursor-not-allowed opacity-30",false:""}},defaultVariants:{variant:"default",size:"default",loading:!1,disabled:!1}}),u=r.forwardRef(({className:e,variant:r="default",size:i,asChild:a=!1,disabled:o=!1,loading:u=!1,children:d,...f},x)=>{let p=a?n.Slot:"button";return(0,t.jsx)(p,{...f,className:(0,l.cn)(c({variant:r,size:i,loading:u,disabled:o}),"inline-flex items-center justify-center",e),ref:x,disabled:o||u,children:a?d:(0,t.jsxs)(t.Fragment,{children:[u&&(0,t.jsx)(s,{size:"sm",className:"mr-2 animate-spin",color:"default"===r||"destructive"===r?"inverse":"primary"}),d]})})});u.displayName="Button",e.s(["Button",0,u],877957)},827049,e=>{"use strict";let t=(0,e.i(981030).atom)("en-US");e.s(["pageLocaleAtom",0,t])},695203,e=>{"use strict";let t=(0,e.i(981030).atom)("");e.s(["deviceClassAtom",0,t])},981851,e=>{"use strict";var t=e.i(654623);function r(e,t){return(...e)=>{try{return t(...e)}catch{throw Error(void 0)}}}let n=r(0,t.useTranslations),i=r(0,t.useFormatter);e.s(["useFormatter",0,i,"useTranslations",0,n])},291967,e=>{"use strict";"u">typeof window&&window.document&&window.document.createElement,e.s(["composeEventHandlers",0,function(e,t,{checkForDefaultPrevented:r=!0}={}){return function(n){if(e?.(n),!1===r||!n.defaultPrevented)return t?.(n)}}])},144977,e=>{"use strict";var t=e.i(206507);function r(e,t){if("function"==typeof e)return e(t);null!=e&&(e.current=t)}function n(...e){return t=>{let n=!1,i=e.map(e=>{let i=r(e,t);return n||"function"!=typeof i||(n=!0),i});if(n)return()=>{for(let t=0;t{"use strict";var t=e.i(206507),r=e.i(155252);e.s(["createContext",0,function(e,n){let i=t.createContext(n),l=e=>{let{children:n,...l}=e,a=t.useMemo(()=>l,Object.values(l));return(0,r.jsx)(i.Provider,{value:a,children:n})};return l.displayName=e+"Provider",[l,function(r){let l=t.useContext(i);if(l)return l;if(void 0!==n)return n;throw Error(`\`${r}\` must be used within \`${e}\``)}]},"createContextScope",0,function(e,n=[]){let i=[],l=()=>{let r=i.map(e=>t.createContext(e));return function(n){let i=n?.[e]||r;return t.useMemo(()=>({[`__scope${e}`]:{...n,[e]:i}}),[n,i])}};return l.scopeName=e,[function(n,l){let a=t.createContext(l),o=i.length;i=[...i,l];let s=n=>{let{scope:i,children:l,...s}=n,c=i?.[e]?.[o]||a,u=t.useMemo(()=>s,Object.values(s));return(0,r.jsx)(c.Provider,{value:u,children:l})};return s.displayName=n+"Provider",[s,function(r,i){let s=i?.[e]?.[o]||a,c=t.useContext(s);if(c)return c;if(void 0!==l)return l;throw Error(`\`${r}\` must be used within \`${n}\``)}]},function(...e){let r=e[0];if(1===e.length)return r;let n=()=>{let n=e.map(e=>({useScope:e(),scopeName:e.scopeName}));return function(e){let i=n.reduce((t,{useScope:r,scopeName:n})=>{let i=r(e)[`__scope${n}`];return{...t,...i}},{});return t.useMemo(()=>({[`__scope${r.scopeName}`]:i}),[i])}};return n.scopeName=r.scopeName,n}(l,...n)]}])},556872,93074,e=>{"use strict";var t=e.i(206507),r=e.i(926045),n=e.i(144977),i=e.i(155252);function l(e){var r;let l,a=(r=e,(l=t.forwardRef((e,r)=>{let{children:i,...l}=e;if(t.isValidElement(i)){var a;let e,o,s=(a=i,(o=(e=Object.getOwnPropertyDescriptor(a.props,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.ref:(o=(e=Object.getOwnPropertyDescriptor(a,"ref")?.get)&&"isReactWarning"in e&&e.isReactWarning)?a.props.ref:a.props.ref||a.ref),c=function(e,t){let r={...t};for(let n in t){let i=e[n],l=t[n];/^on[A-Z]/.test(n)?i&&l?r[n]=(...e)=>{let t=l(...e);return i(...e),t}:i&&(r[n]=i):"style"===n?r[n]={...i,...l}:"className"===n&&(r[n]=[i,l].filter(Boolean).join(" "))}return{...e,...r}}(l,i.props);return i.type!==t.Fragment&&(c.ref=r?(0,n.composeRefs)(r,s):s),t.cloneElement(i,c)}return t.Children.count(i)>1?t.Children.only(null):null})).displayName=`${r}.SlotClone`,l),s=t.forwardRef((e,r)=>{let{children:n,...l}=e,s=t.Children.toArray(n),c=s.find(o);if(c){let e=c.props.children,n=s.map(r=>r!==c?r:t.Children.count(e)>1?t.Children.only(null):t.isValidElement(e)?e.props.children:null);return(0,i.jsx)(a,{...l,ref:r,children:t.isValidElement(e)?t.cloneElement(e,void 0,n):null})}return(0,i.jsx)(a,{...l,ref:r,children:n})});return s.displayName=`${e}.Slot`,s}var a=Symbol("radix.slottable");function o(e){return t.isValidElement(e)&&"function"==typeof e.type&&"__radixId"in e.type&&e.type.__radixId===a}e.s(["createSlot",0,l,"createSlottable",0,function(e){let t=({children:e})=>(0,i.jsx)(i.Fragment,{children:e});return t.displayName=`${e}.Slottable`,t.__radixId=a,t}],93074);var s=["a","button","div","form","h2","h3","img","input","label","li","nav","ol","p","select","span","svg","ul"].reduce((e,r)=>{let n=l(`Primitive.${r}`),a=t.forwardRef((e,t)=>{let{asChild:l,...a}=e;return"u">typeof window&&(window[Symbol.for("radix-ui")]=!0),(0,i.jsx)(l?n:r,{...a,ref:t})});return a.displayName=`Primitive.${r}`,{...e,[r]:a}},{});e.s(["Primitive",0,s,"dispatchDiscreteCustomEvent",0,function(e,t){e&&r.flushSync(()=>e.dispatchEvent(t))}],556872)},653747,e=>{"use strict";var t=e.i(206507),r=e.i(144977),n=e.i(127864),i=e=>{var i;let a,o,{present:s,children:c}=e,u=function(e){var r,i;let[a,o]=t.useState(),s=t.useRef(null),c=t.useRef(e),u=t.useRef("none"),[d,f]=(r=e?"mounted":"unmounted",i={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},t.useReducer((e,t)=>i[e][t]??e,r));return t.useEffect(()=>{let e=l(s.current);u.current="mounted"===d?e:"none"},[d]),(0,n.useLayoutEffect)(()=>{let t=s.current,r=c.current;if(r!==e){let n=u.current,i=l(t);e?f("MOUNT"):"none"===i||t?.display==="none"?f("UNMOUNT"):r&&n!==i?f("ANIMATION_OUT"):f("UNMOUNT"),c.current=e}},[e,f]),(0,n.useLayoutEffect)(()=>{if(a){let e,t=a.ownerDocument.defaultView??window,r=r=>{let n=l(s.current).includes(CSS.escape(r.animationName));if(r.target===a&&n&&(f("ANIMATION_END"),!c.current)){let r=a.style.animationFillMode;a.style.animationFillMode="forwards",e=t.setTimeout(()=>{"forwards"===a.style.animationFillMode&&(a.style.animationFillMode=r)})}},n=e=>{e.target===a&&(u.current=l(s.current))};return a.addEventListener("animationstart",n),a.addEventListener("animationcancel",r),a.addEventListener("animationend",r),()=>{t.clearTimeout(e),a.removeEventListener("animationstart",n),a.removeEventListener("animationcancel",r),a.removeEventListener("animationend",r)}}f("ANIMATION_END")},[a,f]),{isPresent:["mounted","unmountSuspended"].includes(d),ref:t.useCallback(e=>{s.current=e?getComputedStyle(e):null,o(e)},[])}}(s),d="function"==typeof c?c({present:u.isPresent}):t.Children.only(c),f=(0,r.useComposedRefs)(u.ref,(i=d,(o=(a=Object.getOwnPropertyDescriptor(i.props,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.ref:(o=(a=Object.getOwnPropertyDescriptor(i,"ref")?.get)&&"isReactWarning"in a&&a.isReactWarning)?i.props.ref:i.props.ref||i.ref));return"function"==typeof c||u.isPresent?t.cloneElement(d,{ref:f}):null};function l(e){return e?.animationName||"none"}i.displayName="Presence",e.s(["Presence",0,i])},534643,127864,e=>{"use strict";var t=e.i(206507),r=globalThis?.document?t.useLayoutEffect:()=>{};e.s(["useLayoutEffect",0,r],127864),t[" useEffectEvent ".trim().toString()],t[" useInsertionEffect ".trim().toString()];var n=t[" useInsertionEffect ".trim().toString()]||r;Symbol("RADIX:SYNC_STATE"),e.s(["useControllableState",0,function({prop:e,defaultProp:r,onChange:i=()=>{},caller:l}){let[a,o,s]=function({defaultProp:e,onChange:r}){let[i,l]=t.useState(e),a=t.useRef(i),o=t.useRef(r);return n(()=>{o.current=r},[r]),t.useEffect(()=>{a.current!==i&&(o.current?.(i),a.current=i)},[i,a]),[i,l,o]}({defaultProp:r,onChange:i}),c=void 0!==e,u=c?e:a;{let r=t.useRef(void 0!==e);t.useEffect(()=>{let e=r.current;if(e!==c){let t=c?"controlled":"uncontrolled";console.warn(`${l} 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.`)}r.current=c},[c,l])}return[u,t.useCallback(t=>{if(c){let r="function"==typeof t?t(e):t;r!==e&&s.current?.(r)}else o(t)},[c,e,o,s])]}],534643)},226602,e=>{"use strict";var t=e.i(155252),r=e.i(206507),n=e.i(747961);let i=(0,r.forwardRef)(({title:e,titleId:r,desc:n,descId:i,...l},a)=>(0,t.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"none",viewBox:"0 0 16 16",ref:a,"aria-labelledby":r,"aria-describedby":i,...l,children:[n?(0,t.jsx)("desc",{id:i,children:n}):null,void 0===e?(0,t.jsx)("title",{id:r,children:"Close"}):e?(0,t.jsx)("title",{id:r,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"})]})),l=r.default.forwardRef((e,r)=>(0,t.jsx)(n.BaseIcon,{ref:r,icon:i,...e}));l.displayName="Close",e.s(["Close",0,l])},368847,341669,e=>{"use strict";var t=e.i(155252),r=e.i(206507),n=e.i(294237),i=e.i(632137);let l=({skeletonClassName:e,elementType:r="span"})=>(0,t.jsx)(r,{className:(0,i.cn)("square inline-block animate-pulse rounded bg-gray-200",e)});e.s(["default",0,l],341669);let a={0:"No Clamp",1:"1 Line",2:"2 Lines",3:"3 Lines",4:"4 Lines",5:"5 Lines"};[0,1,2,3,4,5].map(e=>({label:a[e],value:String(e)}));let o=r.default.forwardRef(({className:e,isLoading:r,skeletonClassName:n,variant:a,elementType:o,lineClamp:c,color:u,responsive:d,children:f,...x},p)=>{if(r)return(0,t.jsx)(l,{skeletonClassName:n||""});let m=o||function({variant:e}){switch(e){case"Display.XL":case"Display.L":case"Title.XL":return"h1";case"Display.M":case"Display.S":case"Title.L":case"Title.M":case"Title.S":return"h2";default:return"p"}}({variant:a}),g=(0,t.jsx)(m,{className:(0,i.cn)(s({variant:a,color:u,lineClamp:c,responsive:d}),e),ref:p,...x,children:f});return d?(0,t.jsx)("div",{className:"@container/text",children:g}):g});o.displayName="Text";let s=(0,n.cva)("",{variants:{variant:{"Display.XL":["text-6xl","leading-relaxed","tracking-tighter"],"Display.L":["text-5xl","leading-normal","tracking-tighter","font-medium"],"Display.M":["text-4xl","leading-tight","tracking-tight","font-medium"],"Display.S":["text-xl","leading-relaxed","tracking-tight","font-medium"],"Title.XL":["text-4xl","leading-snug","tracking-tight","font-extrabold"],"Title.L":["text-3xl","leading-normal","tracking-tight","font-extrabold"],"Title.M":["text-2xl","leading-normal","tracking-tight","font-extrabold"],"Title.S":["text-xl","leading-normal","tracking-tight","font-bold"],"Title.XS":["text-base","leading-relaxed","tracking-tight","font-bold"],"Body.L":["text-lg","leading-loose","tracking-normal","font-medium"],"Body.L.Bold":["text-lg","leading-loose","tracking-normal","font-bold"],"Body.L.ExtraBold":["text-lg","leading-loose","tracking-normal","font-extrabold"],"Body.M":["text-base","leading-loose","tracking-tight","font-medium"],"Body.M.Bold":["text-base","leading-loose","tracking-tight","font-bold"],"Body.M.ExtraBold":["text-base","leading-loose","tracking-tight","font-extrabold"],"Body.S":["text-sm","leading-loose","tracking-tight","font-medium"],"Body.S.Bold":["text-sm","leading-loose","tracking-normal","font-bold"],"Caption.M":["text-xs","leading-normal","tracking-normal","font-medium"],"Caption.M.Bold":["text-xs","leading-normal","tracking-normal","font-bold"],"Caption.S":["text-xxs","leading-loose","tracking-tight","font-medium"],"Caption.S.Bold":["text-xxs","leading-loose","tracking-normal","font-bold"]},responsive:{true:"",false:""},color:{primary:"text-gray-900",secondary:"text-gray-500",default:"text-gray-900",disabled:"text-gray-400",placeholder:"text-gray-600",brandDark:"text-brand-dark",brandLight:"text-brand-light",inverse:"text-white",error:"text-[var(--color-alert-severe)]"},lineClamp:{0:"",1:"line-clamp-1 pb-0.5",2:"line-clamp-2 pb-0.5",3:"line-clamp-3 pb-0.5",4:"line-clamp-4 pb-0.5",5:"line-clamp-5 pb-0.5"}},compoundVariants:[{variant:"Display.XL",responsive:!0,class:"text-4xl @sm/text:text-5xl @lg/text:text-6xl"},{variant:"Display.L",responsive:!0,class:"text-2xl @sm/text:text-4xl @lg/text:text-5xl"},{variant:"Display.M",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-4xl"},{variant:"Display.S",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.XL",responsive:!0,class:"text-2xl @sm/text:text-3xl @lg/text:text-4xl"},{variant:"Title.L",responsive:!0,class:"text-xl @sm/text:text-2xl @lg/text:text-3xl"},{variant:"Title.M",responsive:!0,class:"text-lg @sm/text:text-xl @lg/text:text-2xl"},{variant:"Title.S",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Title.XS",responsive:!0,class:"text-sm @sm/text:text-base"},{variant:"Body.L",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.Bold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.L.ExtraBold",responsive:!0,class:"text-base @sm/text:text-lg @lg/text:text-xl"},{variant:"Body.M",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.Bold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.M.ExtraBold",responsive:!0,class:"text-sm @sm/text:text-base @lg/text:text-lg"},{variant:"Body.S",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Body.S.Bold",responsive:!0,class:"text-xs @sm/text:text-sm @lg/text:text-base"},{variant:"Caption.M",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.M.Bold",responsive:!0,class:"text-xxs @sm/text:text-xs @lg/text:text-sm"},{variant:"Caption.S",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"},{variant:"Caption.S.Bold",responsive:!0,class:"text-xxs @sm/text:text-xxs @lg/text:text-xs"}],defaultVariants:{variant:"Body.M",color:"default",responsive:!1}});e.s(["Text",0,o,"default",0,o,"textVariants",0,s],368847)},132084,e=>{"use strict";var t,r=((t={}).APPLE="apple_widget",t.SAMSUNG="samsung_widget",t.OPPO="oppo_widget",t.TRANSSION="transsion",t.ONEPLUS="oneplus",t.TIKTOK="tiktok_search",t);Object.values(r),e.s(["Partner",()=>r,"partnersByPattern",0,{weatherapptodaywidget:"apple_widget",apple_:"apple_widget",samsung:"samsung_widget",oppo_:"oppo_widget","oppo-":"oppo_widget",transsion:"transsion",oneplus:"oneplus",tiktok_:"tiktok_search"}])},671525,e=>{"use strict";var t=e.i(184154);let r=()=>{let e=(0,t.useRouter)();return{navigate:(t,r={})=>{let{mpa:n=!0,replace:i=!1}=r;n?i?window.location.replace(t):window.location.href=t:i?e.replace(t):e.push(t)},refresh:(t={})=>{let{mpa:r=!0}=t;r?window.location.reload():e.refresh()},router:e}};e.s(["default",0,r,"usePageNavigation",0,r])},837879,e=>{"use strict";var t=e.i(206507),r=e.i(546446),n=e.i(184154),i=e.i(485737),l=e.i(739971),a=e.i(725296),o=e.i(394481),s=e.i(763886),c=e.i(132084);e.s(["useSubscriptionsEnabled",0,()=>{let e=(0,r.useAtomValue)(l.subscriptionsEnabledAtom),u=(0,r.useAtomValue)(i.geoipCountry),d=(0,n.useParams)()?.locale,f=(0,r.useAtomValue)(o.privacyRegimeAtom)??a.Regime.EXEMPT,x=(0,r.useAtomValue)(s.partnerAtom);return(0,t.useMemo)(()=>null!==e?e:"US"===u&&"en-US"===d&&a.US_REGIMES.includes(f)&&x!==c.Partner.OPPO,[e,u,d,f,x])}])},391174,e=>{"use strict";var t=e.i(613646),t=t,r=e.i(318849);e.s(["invalidateUpsxCache",0,()=>{(0,t.j)(e=>"string"==typeof e&&e.startsWith("upsx/"),void 0,{revalidate:!1});try{localStorage.removeItem(r.SWR_CACHE_STORAGE_KEY)}catch{}}],391174)},792461,e=>{"use strict";var t=e.i(206507);e.s(["useRefMemo",0,e=>{let r=(0,t.useRef)(e);return r.current=e,r}])},235577,e=>{"use strict";var t=e.i(155252),r=e.i(523084),n=e.i(47524),i=e.i(632137),l=e.i(877957);e.s(["ScrollButton",0,function({direction:e,onClick:a,hidden:o,size:s="default",variant:c="light",className:u}){let d="sm"===s,f=(0,i.cn)("text-current",d?"size-4":"size-6 transition-[width,height] duration-150 group-hover:size-7 group-active:size-6 group-active:duration-100");return(0,t.jsx)(l.Button,{type:"button",onClick:a,"aria-hidden":"true",tabIndex:-1,className:(0,i.cn)("group absolute top-1/2 z-10 flex -translate-y-1/2 cursor-pointer items-center justify-center rounded-full p-0 transition-all duration-150 ease-in-out active:duration-100","dark"===c?"bg-[#252422] text-white hover:bg-[#3a3937] active:bg-[#1a1918]":"solid"===c?"bg-black/80 text-white hover:bg-black/90 active:bg-black":"white"===c?"bg-white/80 text-gray-900 backdrop-blur-[2px] hover:bg-white/95 active:bg-white":"bg-transparent text-gray-900 hover:bg-gray-100 active:bg-gray-200",d?"size-8":"size-12","left"===e&&"left-1","right"===e&&"right-1",o&&"left"===e&&"-translate-x-[calc(100%+1.5rem)]",o&&"right"===e&&"translate-x-[calc(100%+1.5rem)]",o&&"pointer-events-none opacity-0",u),children:"left"===e?(0,t.jsx)(r.ChevronLeft,{className:f}):(0,t.jsx)(n.ChevronRight,{className:f})})}])},457492,e=>{"use strict";var t=e.i(155252),r=e.i(147732),n=e.i(206507),i=e.i(632137),l=e.i(546446),a=e.i(663333),o=e.i(235577),s=e.i(240058);let c=(0,i.cn)("h-full rounded-3xl px-4 text-sm whitespace-nowrap transition-colors text-gray-900 font-bold","inline-flex items-center hover:bg-gray-100 active:bg-gray-200 focus-visible:outline-none focus-visible:bg-gray-100"),u=e=>{let{activeIndex:r,index:n,link:l}=e,a=r===n,o=(0,i.cn)(c,{"bg-gray-100 text-blue-500":a});if(e.onSelect){let{onSelect:r}=e;return(0,t.jsx)("button",{type:"button",onClick:()=>r(n,l),className:(0,i.cn)("cursor-pointer",o),"aria-current":a?"page":void 0,children:l.label})}let{basePath:u,mpa:d}=e,f=l.href??("/"===l.slug?u||"/":`${u}/${l.slug}`);return(0,t.jsx)(s.default,{href:f,mpa:d,className:o,"aria-current":a?"page":void 0,sourceModule:"subnavigation",children:l.label})},d=(0,n.memo)(e=>{let{links:s,activeIndex:c,className:d,constrained:f=!0}=e,[x,p]=(0,n.useState)(!1),[m,g]=(0,n.useState)(!1),v=(0,n.useRef)(null),h=(0,n.useRef)(null),b=(0,n.useRef)(!1),y=(0,l.useAtomValue)(a.deviceClassAtom),w="mobile"!==y&&"tablet"!==y,S=(0,n.useCallback)(()=>{let e=v.current;if(!e||!w){p(!1),g(!1);return}let{scrollLeft:t,scrollWidth:r,clientWidth:n}=e,i=Math.abs(t),l=i>2,a=i+n(0,r.debounce)(S,150),[S]),C=(0,n.useCallback)(()=>{null===h.current&&(h.current=requestAnimationFrame(()=>{S(),h.current=null}))},[S]);(0,n.useEffect)(()=>{let e=v.current;e&&(b.current="rtl"===getComputedStyle(e).direction),S();let t=v.current;return t&&(t.addEventListener("scroll",C),window.addEventListener("resize",E)),()=>{null!==h.current&&(cancelAnimationFrame(h.current),h.current=null),t&&t.removeEventListener("scroll",C),E.cancel(),window.removeEventListener("resize",E)}},[s,S,C,E]);let N=(0,n.useCallback)(()=>{v.current?.scrollBy({left:-200,behavior:"smooth"})},[]),k=(0,n.useCallback)(()=>{v.current?.scrollBy({left:200,behavior:"smooth"})},[]);return(0,t.jsxs)("div",{className:(0,i.cn)("relative overflow-hidden rounded-3xl bg-white p-1 shadow-[0_4px_16px_0_rgba(0,0,0,0.08),_0_0_32px_0_rgba(0,0,0,0.12)]","md:rounded-4xl md:rounded-[28px]",f&&"md:mr-auto md:max-w-[min(958px,100%)]",d),"data-testid":"subnavigation",children:[(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute top-0 -left-25 z-[5] h-full w-24 bg-gradient-to-r from-white from-0% via-white via-60% to-transparent transition-[left] md:-top-1 md:h-14 md:rounded-s-[28px]",{"-left-1":x}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!x,onClick:N,direction:"left"}),(0,t.jsx)("div",{ref:v,className:(0,i.cn)("scrollbar-hide flex h-10 items-center gap-1 overflow-x-auto md:h-12"),children:s.map((r,n)=>e.onSelect?(0,t.jsx)(u,{link:r,index:n,activeIndex:c,onSelect:e.onSelect},`${r.label}_${r.slug}`):(0,t.jsx)(u,{link:r,index:n,activeIndex:c,basePath:e.basePath,mpa:e.mpa},`${r.label}_${r.slug}`))}),(0,t.jsx)("div",{className:(0,i.cn)("pointer-events-none absolute top-0 -right-25 z-[5] h-full w-24 bg-gradient-to-l from-white from-0% via-white via-60% to-transparent transition-[right] md:-top-1 md:h-14 md:rounded-e-[28px]",{"-right-1":m}),"aria-hidden":"true"}),(0,t.jsx)(o.ScrollButton,{hidden:!m,onClick:k,direction:"right"})]})},(e,t)=>e.activeIndex===t.activeIndex&&e.basePath===t.basePath&&e.mpa===t.mpa&&e.onSelect===t.onSelect&&e.constrained===t.constrained&&e.links.length===t.links.length&&e.links.every((e,r)=>e.label===t.links[r]?.label&&e.slug===t.links[r]?.slug&&e.href===t.links[r]?.href));d.displayName="SubnavigationUI",e.s(["SubnavigationUI",0,d],457492)}]);