1import{ao as I,af as g,h as k,o as b}from"./C6O4reqJ.js";import{k as E,G as y,n as B,F as L,P as u,Q as d,a6 as p,R as O,u as c,l as r,Z as j,Y as m,L as C,b as v}from"./CXy4zFZB.js";const Y={class:"lg:hidden"},T=E({__name:"HoverMenuWithButton",props:{menuId:{default:void 0}},setup(f){const n=f,a=I();g(),k();const x=v(0),o=v(null),_=r(()=>n.menuId?a.menus[n.menuId]:null),i=r(()=>n.menuId?a.isMenuOpen(n.menuId):!1),h=r(()=>{var e;return!!((e=_.value)!=null&&e.component)}),w=()=>{n.menuId&&a.openMenu(n.menuId)},t=()=>{const e=window==null?void 0:window.scrollY,s=o.value,l=s&&"scrollTop"in s?s.scrollTop:0;x.value=e||l||0},M=()=>{var e;o.value=document==null?void 0:document.querySelector(".snap-y"),(e=o.value)==null||e.addEventListener("scroll",t),window==null||window.addEventListener("scroll",t)},S=()=>{var e;(e=o.value)==null||e.removeEventListener("scroll",t),window==null||window.removeEventListener("scroll",t)};return y(async()=>{await B(),M()}),L(()=>{S()}),(e,s)=>{const l=b;return d(),u("div",Y,[p("div",{class:m(["fixed z-30 top-[120px] transition-all duration-300",c(i)?"-right-[28px]":"right-0"])},[c(h)?(d(),u("a",{key:0,href:"#",onClick:j(w,["prevent"]),class:"w-[28px] h-[72px] flex items-center justify-center rounded-l-lg bg-gradient-peach"},[p("span",{class:m(["w-[18px] h-[18px] max-w-[18px] block",c(i)?"-rotate-90":"rotate-90"])},[C(l,{filled:"",name:"ic_expand"})],2)])):O("",!0)],2)])}}});export{T as _};
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.