1import{k as c,o as u,E as f,b as m,w as h,G as v,a as y,B as w,ai as S,aj as E,al as g}from"./C20c5uje.js";import{c as _}from"./dNu9S-t-.js";import{g as r}from"./BQ9iCXtx.js";import{P as i}from"./ebje9my1.js";const C={__name:"index",props:{show:{type:Boolean,required:!1,default:!1},to:{type:String,required:!0,default:!1}},emits:["update:show","transitionStart","transitionEnd"],setup(n,{emit:l}){const o=l,e=c(null);_("Escape",a=>{o("update:show",!1)});const d=(a,s)=>{const t=r.timeline({onComplete:s,onStart:()=>{o("transitionStart",e.value)},onComplete:()=>{o("transitionEnd",e.value)}});t.set("body",{height:"100vh",position:"fixed",left:"0",bottom:"0"}),t.to(e.value,{opacity:1,pointerEvents:"all",duration:.4,ease:i.easeInOut},"start")},p=(a,s)=>{const t=r.timeline({onComplete:()=>{o("update:show",!1)}});t.set("body",{clearProps:"all"}),t.to(e.value,{opacity:0,pointerEvents:"none",duration:.2,ease:i.easeInOut},"start")};return(a,s)=>(u(),f(g,{to:n.to},[m(E,{onEnter:d,onLeave:p},{default:h(()=>[v(y("div",{ref_key:"$overlay",ref:e,class:"navigation-overlay z-[999] fixed top-[var(--headerHeight)] left-0 bottom-0 w-screen h-full opacity-0 lg:hidden"},[w(a.$slots,"default")],512),[[S,n.show]])]),_:3})],8,["to"]))}};export{C 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.