1import{f as m,i,k as u,U as f,aq as b,o as p,c as w,q as l,Q as v,S as n,p as S}from"./Ci0sP1HV.js";import{_ as k}from"./BKc8u1VI.js";const _={__name:"Modal",props:{modalStyles:{type:Object,default:{}},modalBodyStyles:{type:Object,default:{}}},emits:["close"],setup(t,{emit:a}){m();const c=()=>{const e=window.scrollY;document.body.style.position="fixed",document.body.style.top=`-${e}px`,document.body.style.left="0",document.body.style.right="0",document.body.style.overflow="hidden",document.body.dataset.scrollY=e},y=()=>{const e=document.body.dataset.scrollY||0;document.body.style.position="",document.body.style.top="",document.body.style.left="",document.body.style.right="",document.body.style.overflow="",window.scrollTo(0,parseInt(e,10))},r=a,o=i(0),s=()=>{o.value=0,setTimeout(()=>{r("close")},300)},d=e=>{e.key==="Escape"&&s()};return u(()=>{document.body.style.overflow="hidden",c(),window.addEventListener("keydown",d),setTimeout(()=>{o.value=1},300)}),f(()=>{window.removeEventListener("keydown",d)}),b(()=>{document.body.style.overflow="auto",y()}),(e,h)=>(p(),w("div",{class:"modal",style:n({opacity:S(o),...t.modalStyles})},[l("div",{class:"modal-backdrop",onClick:s}),l("div",{class:"modal-body",style:n(t.modalBodyStyles)},[v(e.$slots,"default",{},void 0,!0)],4)],4))}},x=k(_,[["__scopeId","data-v-fb6635fe"]]);export{x as default};
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.