1(globalThis.TURBOPACK||(globalThis.TURBOPACK=[])).push(["object"==typeof document?document.currentScript:void 0,852075,e=>{"use strict";var t=e.i(843476),r=e.i(647163),a=e.i(271645),l=e.i(174080);let s="absolute right-1.5 top-1.5 z-[100] flex h-11 w-11 items-center justify-center rounded-sm text-slate-900 opacity-70 ring-offset-background transition-opacity hover:opacity-100 focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 disabled:pointer-events-none dark:text-zinc-200",n="h-6 w-6",o="sr-only",i="modal-content-scrollable",c=` 2 body { overflow: hidden !important; } 3 html { overflow: hidden !important; } 4 body *:not(#${i}, #${i} *)::-webkit-scrollbar { 5 width: 0px !important; height: 0px !important; 6 background: transparent !important; display: none !important; 7 } 8 body *:not(#${i}, #${i} *) { 9 scrollbar-width: none !important; -ms-overflow-style: none !important; 10 } 11 #${i}::-webkit-scrollbar { 12 width: 8px !important; height: 8px !important; display: block !important; 13 } 14 #${i}::-webkit-scrollbar-track { 15 background: rgba(0,0,0,0.1) !important; border-radius: 4px !important; 16 } 17 #${i}::-webkit-scrollbar-thumb { 18 background: rgba(0,0,0,0.3) !important; border-radius: 4px !important; 19 } 20 #${i}::-webkit-scrollbar-thumb:hover { 21 background: rgba(0,0,0,0.4) !important; 22 } 23 #${i} { 24 scrollbar-width: thin !important; 25 scrollbar-color: rgba(0,0,0,0.3) rgba(0,0,0,0.1) !important; 26 -ms-overflow-style: auto !important; 27 } 28`,d=(0,a.memo)(({modalVisible:e,setModalVisible:d,children:u,title:p,className:m,trigger:f,classNames:x,hFull:h=!1,noBackdrop:b=!1,stickyHeader:g=!1})=>{let[v,k]=(0,a.useTransition)(),w=(0,a.useRef)(null),y=(0,a.useCallback)(()=>{requestAnimationFrame(()=>{k(()=>{d(!e)})})},[d,e]),C=(0,a.useMemo)(()=>(0,r.cn)("fixed inset-0 h-[100dvh] w-screen bg-black/80 z-50 cursor-pointer overflow-y-auto overflow-x-hidden",e?"animate-in fade-in-0":"animate-out fade-out-0",x?.overlay),[e,x?.overlay]),j=(0,a.useMemo)(()=>(0,r.cn)("relative z-50 flex min-h-[100dvh] w-full items-center justify-center sm:px-4 py-4",x?.container),[x?.container]),N=(0,a.useMemo)(()=>(0,r.cn)("relative z-50 mx-auto max-h-[90vh] w-full max-w-lg overflow-y-auto bg-white/90 dark:bg-eve-panel/95 border border-gray-200/50 dark:border-white/[0.1] shadow-xl dark:shadow-[0_25px_60px_rgba(0,0,0,0.6),inset_0_1px_0_rgba(255,255,255,0.08)] text-zinc-900 dark:text-white sm:rounded-2xl p-6",!b&&"backdrop-blur-[60px] backdrop-saturate-[180%]",m,x?.content),[m,x?.content,b]),L=(0,a.useMemo)(()=>h?"z-50 flex flex-col space-y-1.5 h-full":"z-50 flex flex-col space-y-1.5",[h]),E=(0,a.useMemo)(()=>(0,r.cn)("text-lg font-semibold leading-none tracking-tight text-slate-900 dark:text-zinc-200",x?.heading),[x?.heading]),z=(0,a.useMemo)(()=>h?"flex h-full items-center justify-center py-4":"py-4",[h]),S=(0,a.useMemo)(()=>(0,r.cn)(s,x?.closeButton),[x?.closeButton]),$=(0,a.useMemo)(()=>(0,r.cn)("cursor-pointer",x?.trigger),[x?.trigger]);return(0,a.useEffect)(()=>{let t=e=>{let t=w.current;if(t)if(t.contains(e.target)){let r=e.target;for(;r&&r!==t;){let{scrollTop:t,scrollHeight:a,clientHeight:l}=r;if(a>l){let r=t<=0,s=t+l>=a-1;if(e.deltaY<0&&!r||e.deltaY>0&&!s)return}r=r.parentElement}let{scrollTop:a,scrollHeight:l,clientHeight:s}=t;(a<=0&&e.deltaY<0||a+s>=l-1&&e.deltaY>0)&&e.preventDefault()}else e.preventDefault(),e.stopPropagation()},r=document.createElement("style");return r.textContent=c,e?(document.head.appendChild(r),window.addEventListener("wheel",t,{passive:!1}),window.addEventListener("touchmove",t,{passive:!1})):document.body.style.overflow="unset",()=>{document.body.style.overflow="unset",r.parentNode&&r.parentNode.removeChild(r),window.removeEventListener("wheel",t),window.removeEventListener("touchmove",t)}},[e]),(0,t.jsxs)(t.Fragment,{children:[f?(0,t.jsx)("button",{type:"button",onClick:y,className:$,children:f}):null,e&&"u">typeof document?(0,l.createPortal)((0,t.jsx)("div",{className:C,onClick:y,role:"dialog","aria-modal":"true","aria-labelledby":"modal-pure-title",onKeyDown:e=>{"Escape"===e.key&&y()},children:(0,t.jsxs)("div",{className:j,onClick:e=>e.stopPropagation(),children:[(0,t.jsx)("div",{className:"fixed inset-0 z-0 h-[100dvh] w-screen curs
28or-pointer select-none",onClick:y,"aria-hidden":"true"}),(0,t.jsx)("div",{ref:w,id:i,className:N,onClick:e=>e.stopPropagation(),children:(0,t.jsxs)("div",{className:L,children:[g?(0,t.jsxs)("div",{className:"sticky -top-6 z-[100] -mx-6 -mt-6 mb-2 flex items-center justify-between px-6 py-4 bg-white/90 dark:bg-eve-panel/95 backdrop-blur-[60px] backdrop-saturate-[180%] border-b border-gray-200/40 dark:border-white/[0.06]",children:[(0,t.jsx)("h2",{id:"modal-pure-title",className:E,children:p}),(0,t.jsxs)("button",{onClick:y,type:"button",className:(0,r.cn)(s,x?.closeButton,"relative right-auto top-auto"),style:{touchAction:"manipulation"},children:[(0,t.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,children:(0,t.jsx)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),(0,t.jsx)("span",{className:o,children:v?"Closing...":"Close"})]})]}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)("h2",{id:"modal-pure-title",className:E,children:p}),(0,t.jsxs)("button",{onClick:y,type:"button",className:S,style:{touchAction:"manipulation"},children:[(0,t.jsx)("svg",{width:"15",height:"15",viewBox:"0 0 15 15",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:n,children:(0,t.jsx)("path",{d:"M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z",fill:"currentColor",fillRule:"evenodd",clipRule:"evenodd"})}),(0,t.jsx)("span",{className:o,children:v?"Closing...":"Close"})]})]}),(0,t.jsx)("div",{className:z,children:u})]})})]})}),document.body):null]})});e.s(["default",0,d])},41586,e=>{"use strict";var t=e.i(843476),r=e.i(647163);e.s(["default",0,({type:e,text:a,className:l="",style:s,use3D:n=!0,opaque:o=!1,darkBg:i,darkColor:c,forceDark:d=!1,classNames:u})=>{let p;if(!e||""===e.trim())return null;let m=a||(e=>{switch(e){case"On Special":return"Special";case"Clearance Sale":return"Clearance";case"NEW":return"New";case"Flash Deal":return"Flash Deal";default:return e}})(e),f=(e=>{let t=e.toLowerCase();if("Flash Deal"===e)return{background:"rgba(251, 146, 60, 0.14)",color:"#ffaa00"};if(t.includes("deal"))return{background:"rgba(56, 189, 248, 0.12)",color:"#38bdf8"};switch(e){case"App Offer":return{background:"rgba(34, 211, 238, 0.12)",color:"#22d3ee"};case"Trending":return{background:"rgba(52, 211, 153, 0.12)",color:"#34d399"};case"On Special":return{background:"rgba(251, 191, 36, 0.14)",color:"#fbbf24"};case"Clearance Sale":return{background:"rgba(163, 230, 53, 0.12)",color:"#a3e635"};case"Open Box":return{background:"rgba(94, 234, 212, 0.12)",color:"#5eead4"};case"NEW":return{background:"rgba(244, 114, 182, 0.14)",color:"#f472b6"};default:return{background:"rgba(56, 189, 248, 0.12)",color:"#38bdf8"}}})(e),x=i||(o?f.background.replace(/rgba\(([^,]+),([^,]+),([^,]+),[^)]+\)/,"rgba($1,$2,$3, 0.9)"):f.background),h=c||(u?.darkText?void 0:f.color);return(0,t.jsx)("div",{className:(0,r.cn)("badge-tag inline-flex items-center justify-center rounded-xl","px-0.5 py-0.5 md:px-2 md:py-0.5","text-[0.625rem] md:text-xs font-normal","whitespace-nowrap border-0",o?"opacity-100":"opacity-100 dark:opacity-60",(p=e.toLowerCase(),"Flash Deal"
28===e||"Clearance Sale"===e?"bg-amber-700/10 text-amber-700":"On Special"===e?"bg-[#EDD9A8]/60 text-[#8A6A2E]":"Trending"===e?"bg-[#5C7E48]/10 text-[#5C7E48]":"App Offer"===e?"bg-purple-700/10 text-purple-600":"Open Box"===e?"bg-teal-600/10 text-teal-700":"NEW"===e?"bg-[#B5483D]/10 text-[#B5483D]":p.includes("winter")?"bg-slate-400/15 text-slate-600":p.includes("easter")?"bg-purple-700/10 text-purple-700":p.includes("deal")?"bg-sky-700/10 text-sky-700":"bg-[#EDD9A8]/40 text-[#8A6A2E]"),n?"transform -rotate-6":"",l,u?.dark),"data-badge-type":e.toLowerCase().replace(/\s+/g,"-"),style:{"--badge-dark-bg":x,"--badge-dark-color":h,...s},children:(0,t.jsx)("span",{className:(0,r.cn)("relative z-10 text-center font-medium",u?.darkText),children:m})})}])},458445,e=>{"use strict";var t=e.i(843476),r=e.i(271645);e.s(["default",0,function({className:e,mask:a,preserveColor:l,style:s,...n}){let o=(0,r.useMemo)(()=>{let e=a.startsWith("<svg")?`data:image/svg+xml,${a.replace(/"/g,"'").replace(/#/g,"%23").replace(/</g,"%3C").replace(/>/g,"%3E")}`:a,t=e.startsWith("url(")?e:`url("${e}")`;return l?{backgroundImage:t,backgroundSize:"contain",backgroundRepeat:"no-repeat",backgroundPosition:"center",display:"inline-block"}:{maskImage:t,WebkitMaskImage:t,maskSize:"contain",WebkitMaskSize:"contain",maskRepeat:"no-repeat",WebkitMaskRepeat:"no-repeat",maskPosition:"center",WebkitMaskPosition:"center",backgroundColor:"currentColor",display:"inline-block"}},[a,l]),i=s?{...o,...s}:o;return(0,t.jsx)("span",{className:e,style:i,...n})}])},615243,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(174080);e.s(["default",0,({children:e,active:l=!1})=>{let[s,n]=(0,r.useState)(null),[o,i]=(0,r.useState)(!1);return((0,r.useEffect)(()=>{i(!0);let e=document.getElementById("portal-end-container");return e||((e=document.createElement("div")).id="portal-end-container",document.body.appendChild(e)),n(e),()=>{let e=document.getElementById("portal-end-container");e&&0===e.childNodes.length&&e.remove()}},[]),o)?l?s?(0,a.createPortal)(e,s):null:(0,t.jsx)(t.Fragment,{children:e}):null}])},177222,e=>{"use strict";var t=e.i(843476);let r=({className:e})=>(0,t.jsx)("span",{className:e,children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",children:(0,t.jsx)("path",{d:"M12.8324 21.8013C15.9583 21.1747 20 18.926 20 13.1112C20 7.8196 16.1267 4.29593 13.3415 2.67685C12.7235 2.31757 12 2.79006 12 3.50492V5.3334C12 6.77526 11.3938 9.40711 9.70932 10.5018C8.84932 11.0607 7.92052 10.2242 7.816 9.20388L7.73017 8.36604C7.6304 7.39203 6.63841 6.80075 5.85996 7.3946C4.46147 8.46144 3 10.3296 3 13.1112C3 20.2223 8.28889 22.0001 10.9333 22.0001C11.0871 22.0001 11.2488 21.9955 11.4171 21.9858C10.1113 21.8742 8 21.064 8 18.4442C8 16.3949 9.49507 15.0085 10.631 14.3346C10.9365 14.1533 11.2941 14.3887 11.2941 14.7439V15.3331C11.2941 15.784 11.4685 16.4889 11.8836 16.9714C12.3534 17.5174 13.0429 16.9454 13.0985 16.2273C13.1161 16.0008 13.3439 15.8564 13.5401 15.9711C14.1814 16.3459 15 17.1465 15 18.4442C15 20.4922 13.871 21.4343 12.8324 21.8013Z",fill:"currentColor"})})});e.s(["FireIcon",0,r,"default",0,r])},883456,e=>{"use strict";var t=e.i(843476);let r=({className:e})=>(0,t.jsx)("span",{className:e,children:(0,t.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 52 52",children:(0,t.jsx)("path",{d:"M50.1,30.56a1.16,1.16,0,0,1-2,.82L42.73,26,30.32,36.65a3.39,3.39,0,0,1-4.92,0l-7.49-8.54L4.57,39.81a1.13,1.13,0,0,1-1.64,0l-.59-.59a1.13,1.13,0,0,1,0-1.64L15.46,19.68a3.39,3.39,0,0,1,4.92,0l7.49,7.49,7.61-8.78-4.92-4.45a1.26,1.26,0,0,1,.82-2.11H47.76A2.35,2.35,0,0,1,50,14.3Z"})})});e.s(["TrendingIcon",0,r,"default",0,r])},668597,e=>{"use strict";var t=e.i(843476),r=e.i(41586),a=e.i(177222),l=e.i(883456);e.s(["default",0,({icon:e,forceDark:s=!1})=>(0,t.jsxs)(t.Fragment,{children:["NEW"===e?(0,t.jsx)(r.default,{type:"Clearance Sale",text:"NEW",use3D:!1,forceDark:s,className:"ml-1.5 h-auto px-1.5 py-0 md:px-1.5 md:py-0 text-[10px] md:text-[10px] flex-shrink-0"}):null,"HOT"===e?(0,t.jsxs)("sup",{className:"relative m-1 rounded-full bg-red-500 p-0.5 py-0 pe-1 pl-4 text-[8px] font-semibold text-red-100",children:[(0,t.jsx)(a.FireIcon,{className:"absolute left-[3px] top-0 size-3"}),"HOT"]}):null,"TRENDING"===e?(0,t.jsx)("sup",{className:"relative m-1 rounded-full bg-purple-700 p-0.5 py-0 pe-1 pl-4 text-[8px] font-semibold text-purple-100",children:(0,t.jsx)(l.TrendingIcon,{className:"absolute left-[3px] top-0 size-3"})}):null,"DOTGREEN"===e?(0,t.jsx)("sup",{className:"m-1 size-11 rounded-full bg-green-500 ps-1.5 text-[8px] text-white/0",children:"*"}):null,"DOTYELLOW"===e?(0,t.jsx)("sup",{className:"m-1 size-11 rounded-full bg-orange-500 ps-1.5 text-[8px] text-white/0 dar
28k:bg-yellow-500",children:"*"}):null,"DOTBLUE"===e?(0,t.jsx)("sup",{className:"dark:bg-dark-400 m-1 size-11 rounded-full bg-blue-500 ps-1.5 text-[8px] text-white/0",children:"*"}):null]})])},897213,e=>{"use strict";var t=e.i(843476),r=e.i(271645),a=e.i(572226),l=e.i(130013),s=e.i(647163),n=e.i(167881);let o=r.default.createContext(null);function i(){let e=r.default.useContext(o);if(!e)throw Error("useCarousel must be used within a <Carousel />");return e}let c=r.default.forwardRef(({orientation:e="horizontal",opts:a,setApi:n,plugins:i,className:c,children:d,...u},p)=>{let[m,f]=(0,l.default)({...a,axis:"horizontal"===e?"x":"y"},i),[x,h]=r.default.useState(!1),[b,g]=r.default.useState(!1),v=r.default.useCallback(e=>{e&&(h(e.canScrollPrev()),g(e.canScrollNext()))},[]),k=r.default.useCallback(()=>{f?.scrollPrev()},[f]),w=r.default.useCallback(()=>{f?.scrollNext()},[f]),y=r.default.useCallback(e=>{"ArrowLeft"===e.key?(e.preventDefault(),k()):"ArrowRight"===e.key&&(e.preventDefault(),w())},[k,w]);return r.default.useEffect(()=>{f&&n&&n(f)},[f,n]),r.default.useEffect(()=>{if(f)return v(f),f.on("reInit",v),f.on("select",v),()=>{f?.off("select",v)}},[f,v]),(0,t.jsx)(o.Provider,{value:{carouselRef:m,api:f,opts:a,orientation:e||(a?.axis==="y"?"vertical":"horizontal"),scrollPrev:k,scrollNext:w,canScrollPrev:x,canScrollNext:b},children:(0,t.jsx)("div",{ref:p,onKeyDownCapture:y,className:(0,s.cn)("relative",c),role:"region","aria-roledescription":"carousel",...u,children:d})})});c.displayName="Carousel";let d=r.default.forwardRef(({className:e,...r},a)=>{let{carouselRef:l,orientation:n}=i();return(0,t.jsx)("div",{ref:l,className:"overflow-hidden h-full",children:(0,t.jsx)("nav",{ref:a,"aria-label":"Carousel items",className:(0,s.cn)("flex","horizontal"===n?"-ml-4":"-mt-4 flex-col",e),...r})})});d.displayName="CarouselContent",r.default.forwardRef(({className:e,...r},a)=>{let{orientation:l}=i();return(0,t.jsx)("div",{ref:a,role:"group","aria-roledescription":"slide",className:(0,s.cn)("min-w-0 shrink-0 grow-0 basis-full select-none hover:cursor-grab","horizontal"===l?"pl-4":"pt-4",e),...r})}).displayName="CarouselItem",r.default.forwardRef(({className:e,variant:r="outline",size:l="icon",...o},c)=>{let{orientation:d,scrollPrev:u,canScrollPrev:p}=i();return(0,t.jsxs)(n.Button,{ref:c,variant:r,size:l,className:(0,s.cn)("absolute h-8 w-8 rounded-full dark:border-neutral-700 dark:bg-neutral-400 dark:text-black dark:hover:bg-neutral-300","horizontal"===d?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",e,`${!p?"hidden":""}`),disabled:!p,onClick:u,...o,children:[(0,t.jsx)(a.ArrowLeftIcon,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Previous slide"})]})}).displayName="CarouselPrevious",r.default.forwardRef(({className:e,variant:r="outline",size:l="icon",...o},c)=>{let{orientation:d,scrollNext:u,canScrollNext:p}=i();return(0,t.jsxs)(n.Button,{ref:c,variant:r,size:l,className:(0,s.cn)("absolute h-8 w-8 rounded-full dark:border-neutral-700 dark:bg-neutral-400 dark:text-black dark:hover:bg-neutral-300","horizontal"===d?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",e,`${!p?"hidden":""}`),disabled:!p,onClick:u,...o,children:[(0,t.jsx)(a.ArrowRightIcon,{className:"h-4 w-4"}),(0,t.jsx)("span",{className:"sr-only",children:"Next slide"})]})}).displayName="CarouselNext";var u=e.i(139187),p=e.i(770703),m=e.i(522016),f=e.i(668597),x=e.i(615243),h=e.i(852075),b=e.i(358206),g=e.i(458445);let v=(0,p.default)(()=>e.A(89586),{loadableGenerated:{modules:[867597]}}),k=(0,p.default)(()=>e.A(41473),{loadableGenerated:{modules:[563324]}}),w=` 29 absolute w-6 md:w-8 h-[22px] md:h-[22px] top-1/2 -translate-y-1/2 pointer-events-none z-10 transition-opacity duration-300 30 `,y=(0,r.memo)(function({items:e,onClose:a,className:l,arrowUpClassName:s,arrowDownClassName:n}){let o=(0,r.useRef)(null),[i,c]=(0,r.useState)(!1),[d,u]=(0,r.useState)(!1),p=(0,r.useCallback)(()=>{let e=o.current;e&&(c(e.scrollTop>4),u(e.scrollTop+e.clientHeight<e.scrollHeight-4))},[]);(0,r.useEffect)(()=>{let e=o.current;if(e)return p(),e.addEventListener("scroll",p,{passive:!0}),()=>e.removeEventListener("scroll",p)},[p,e]);let x=(0,r.useCallback)(e=>{o.current?.scrollBy({top:"up"===e?-120:120,behavior:"smooth"})},[]);return(0,t.jsxs)("div",{className:`relative -mx-2 ${l||""}`,children:[(0,t.jsx)("div",{className:`flex justify-center -mb-2 transition-opacity duration-200 ${i?"opacity-100":"opacity-0 pointer-events-none"} ${s||""}`,children:(0,t.jsx)("button",{onClick:()=>x("up"),className:"flex h-6 w-10 items-center justify-center rounded-full text-salon-text-mute dark:text-white/55 hover:text-salon-text-soft dark:hover:text-white/60 transition-colors","aria-label":"Scroll up",children:(0,t.jsx)("svg",{width:"24",height:"16",viewBox:"0 0 12 8",fill:"none",children:(0,t.jsx)("path",{d:"M1 6.5L6 1.5L11 6.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})}),(0,t.jsx)("nav",{ref:o,"aria-label":"Product categories",className:"flex max-h-[55vh] flex-col overflow-y-auto scrollbar-none",children:e.map((e,r)=>(0,t.jsxs)(m.default,{title:e.text,href:e.url,onClick:a,prefetch:!1,className:"relative flex items-center text-salon-text-soft dark:text-white/70 no-underline px-2.5 py-2.5 text-base transition-all hover:text-salon-text dark:hover:text-white after:content-[''] after:absolute after:bottom-0.5 after:left-1/2 after:-translate-x-1/2 after:h-px after:w-0 after:transition-all after:duration-300 after:ease-out after:bg-[linear-gradient(to_right,transparent,rgba(201,169,97,0.7),rgba(138,106,46,0.7),rgba(201,169,97,0.7),transparent)] dark:after:bg-[linear-gradient(to_right,transparent,rgba(239,68,68,0.6),rgba(234,179,8,0.6),rgba(34,197,94,0.6),rgba(6,182,212,0.6),rgba(59,130,246,0.6),rgba(168,85,247,0.6),transparent)] hover:after:w-[80%]",children:[e.icon&&(0,t.jsx)(g.default,{mask:e.icon,preserveColor:!0,className:"size-4 shrink-0 mr-2"}
30),e.text,e.notifyIcon&&(0,t.jsx)(f.default,{icon:e.notifyIcon})]},`all-link-${r}`))}),(0,t.jsx)("div",{className:`flex justify-center -mt-2 transition-opacity duration-200 ${d?"opacity-100":"opacity-0 pointer-events-none"} ${n||""}`,children:(0,t.jsx)("button",{onClick:()=>x("down"),className:"flex h-6 w-10 items-center justify-center rounded-full text-salon-text-mute dark:text-white/55 hover:text-salon-text-soft dark:hover:text-white/60 transition-colors","aria-label":"Scroll down",children:(0,t.jsx)("svg",{width:"24",height:"16",viewBox:"0 0 12 8",fill:"none",children:(0,t.jsx)("path",{d:"M1 1.5L6 6.5L11 1.5",stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})})})})]})}),C=(0,r.memo)(({TopMenu:e})=>{let a=(0,u.default)("(min-width: 768px)"),[l,s]=(0,r.useState)([]),[n,o]=(0,r.useState)([]),[i,p]=(0,r.useState)(!1),[m,f]=(0,r.useState)(),[g,C]=(0,r.useState)(!1),[j,N]=(0,r.useState)(!1),[L,E]=(0,r.useState)(!1);(0,r.useEffect)(()=>{if(!m)return;let e=()=>{let e=m.canScrollPrev(),t=m.canScrollNext();C(e),N(t),E(e||t)};return e(),m.on("select",e),m.on("scroll",e),m.on("reInit",e),m.on("resize",e),()=>{m.off("select",e),m.off("scroll",e),m.off("reInit",e),m.off("resize",e)}},[m]);let z=(0,r.useMemo)(()=>` 31 absolute 32 top-0 33 left-0 34 h-full 35 w-full 36 `,[]),S=(0,r.useMemo)(()=>` 37 h-full min-h-[33px] 38 md:h-[44px] md:min-h-[44px] 39 pl-1 md:pl-0 40 ml-0 md:ml-4 41 items-center 42 `,[]);(0,r.useEffect)(()=>{let t=[...e].sort((e,t)=>{let r=((a?e.desktopPriority:e.mobilePriority)||0)-((a?t.desktopPriority:t.mobilePriority)||0);return 0!==r?r:0}).filter(e=>e.subsections?.length===1&&e.subsections[0]?.url&&e.subsections[0]?.text&&"Eve Stories"!==e.title&&e.subsections[0]?.Links===void 0),r=t.filter(e=>"true"===e.isExtra),l=t.filter(e=>"true"!==e.isExtra||!e.hasOwnProperty("isExtra")),n=r.map(e=>{let t=e.subsections[0]?.text||e.title,r=t.toLowerCase().includes("enova");return{text:t,url:e.subsections[0]?.url||"",title:`Explore our ${e.title.replace(/[â¡ð®ð»ð¥ï¸â¨ï¸ð§]\s*/,"").toLowerCase()} collection!`,prefetch:e.subsections[0]?.prefetch==="true",notifyIcon:r?"NEW":e.notifyIcon||""}});s(l.map(e=>e.title.toLowerCase().includes("gaming setup")?{...e,notifyIcon:"NEW"}:e)),o(n)},[e,a]);let $=(0,r.useMemo)(()=>{let e=[];l.forEach(t=>{t.subsections?.length!==1||t.subsections[0]?.Links||e.push({text:t.subsections[0]?.text||t.title,url:t.subsections[0]?.url||"",notifyIcon:t.notifyIcon,icon:t.icon})});let t=new Set(e.map(e=>e.url));return n.forEach(r=>{t.has(r.url)||e.push({text:r.text,url:r.url,notifyIcon:r.notifyIcon})}),e},[l,n]),I=(0,r.useCallback)(()=>{p(!1)},[]);return(0,t.jsxs)(t.Fragment,{children:[(0,t.jsxs)("div",{className:` 43 flex h-full w-full items-center 44 `,children:[(0,t.jsx)("div",{className:"relative min-w-0 flex-1 h-full",children:(0,t.jsxs)(c,{setApi:f,opts:{align:"start",dragFree:!0},className:z,children:[(0,t.jsxs)(d,{is:"nav",className:S,children:[l?.map((e,r)=>(0,t.jsx)("div",{className:"flex flex-grow h-full items-center",children:(0,t.jsx)(v,{Section:e})},`SingleLinksPure-${r}`)),!a&&n.length>0&&(0,t.jsx)("div",{className:"relative me-4 mt-0.5 h-[25px] w-[130px] flex-shrink-0 overflow-visible md:hidden",children:(0,t.jsx)(k,{items:n,className:"absolute left-0 top-0 z-10"})})]}),(0,t.jsx)("div",{className:`${w} left-0 rounded-l-md bg-gradient-to-r from-salon-surface-3 dark:from-black to-transparent ${g?"opacity-100":"opacity-0"}`}),(0,t.jsx)("div",{className:`${w} right-0 rounded-r-md bg-gradient-to-l from-salon-surface-3 dark:from-black to-transparent ${j?"opacity-100":"opacity-0"}`})]})}),L&&(0,t.jsx)("button",{onClick:()=>p(!0),className:"z-20 flex h-full shrink-0 items-center justify-center px-2.5 mr-3 md:mr-8 xl:hidden","aria-label":"Show all links",children:(0,t.jsx)(b.default,{className:"text-salon-text-soft dark:text-white/50 size-3.5 md:size-5"})}),n.length>0&&(0,t.jsx)("div",{className:"hidden h-full w-max items-center justify-start rounded pt-0.5 md:flex md:p-4 md:pt-4",children:(0,t.jsx)(k,{items:n})})]}),(0,t.jsx)(x.default,{active:i,children:(0,t.jsx)(h.default,{modalVisible:i,setModalVisible:I,className:"!h-auto !max-h-[80vh] w-[90vw] max-w-[280px] !p-4 !rounded-xl !bg-[#FBF6EB]/95 dark:!bg-white/[0.03] !backdrop-blur-2xl !border !border-[#C9A961]/30 dark:!border-white/10 !shadow-[0_8px_32px_rgba(0,0,0,0.1)] dark:!shadow-[0_8px_32px_rgba(0,0,0,0.3),inset_0_0_0_1px_rgba(255,255,255,0.05)]",classNames:{trigger:"hidden"},children:(0,t.jsx)(y,{items:$,onClose:()=>p(!1),arrowUpClassName:"-translate-y-4",arrowDownClassName:"translate-y-4"})})})]})});e.s(["default",0,C],897213)},331403,e=>{e.n(e.i(897213))},89586,e=>{e.v(t=>Promise.all(["static/chunks/0~4w.tga_2gx..js"].map(t=>e.l(t))).then(()=>t(867597)))},41473,e=>{e.v(t=>Promise.all(["static/chunks/0b4esj-mofuwk.js"].map(t=>e.l(t))).then(()=>t(563324)))}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.