1import{$t as e,Dt as t,Fn as n,Hn as r,Or as i,Zr as a,bt as o,en as s,gt as c,kt as l,mn as u,qn as d,ti as f,vr as p,vt as m,xn as h,yt as g}from"./BoFEd4GF.js";import{bt as _}from"./VcCmYje8.js";import{n as v}from"./DvMM5dw_.js";import{t as y}from"./BDNMzG2s.js";import{t as b}from"./Bc_hU-bb.js";var x=[`open`],S={key:0},C=Object.assign(y(l({__name:`m-modal`,props:e({size:{default:`md`},title:{},closeOnClickOutside:{type:Boolean,default:!0}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:e([`opened`,`closed`],[`update:modelValue`]),setup(e,{emit:l}){let y=l,C=n(e,`modelValue`),w=p(C.value);r(C,e=>{e?(w.value=!0,y(`opened`)):(y(`closed`),setTimeout(()=>{w.value=!1},200))});let T=c(()=>({"modal-body":!0,"modal-lg":e.size===`lg`,"modal-md":e.size===`md`,"modal-sm":e.size===`sm`}));function E(){e.closeOnClickOutside&&(C.value=!1)}return(n,r)=>{let c=b,l=v;return u(),o(`dialog`,{open:i(w),class:a({"modal-dialog":!0,"modal-closed":!C.value})},[i(w)?(u(),m(l,{key:0,class:`modal`,onClick:_(E,[`self`])},{default:d(()=>[t(l,s({column:``,class:i(T)},n.$attrs),{default:d(()=>[t(l,null,{default:d(()=>[h(n.$slots,`title`,{},()=>[e.title?(u(),o(`h2`,S,f(e.title),1)):g(``,!0),t(c,{class:`cursor-pointer ml-auto text-xl`,onClick:r[0]||=e=>C.value=!1})],!0)]),_:3}),h(n.$slots,`default`,{},void 0,!0)]),_:3},16,[`class`])]),_:3})):g(``,!0)],10,x)}}}),[[`__scopeId`,`data-v-07b87ded`]]),{__name:`MModal`});export{C as t};
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.