1/** 2 * name: stallion 3 * version: v1.0.0 4 * description: Steadfast's starter project - Craft CMS, Vite, and Docker 5 * author: Steadfast Design Firm 6 */ 7import{_ as C,S as y,B as D,U as b,G as T,V as M,r as o,o as r,C as _,d as c,D as k,b as e,w as a,a as s,E as V,F as w}from"./main.abe0aa56.js";const B={components:{TransitionRoot:y,TransitionChild:D,Dialog:b,DialogPanel:T,DialogTitle:M},props:{panelclass:String},data(){return{isOpen:!1}},methods:{closeModal(){this.isOpen=!1},openModal(){this.isOpen=!0}}},O=s("div",{class:"modal__backdrop"},null,-1),S={class:"modal__container"},N={class:"modal__container-int"};function P(l,n,p,R,m,t){const d=o("TransitionChild"),u=o("DialogTitle"),f=o("icon"),v=o("DialogPanel"),g=o("Dialog"),h=o("TransitionRoot");return r(),_(w,null,[l.$slots.button?(r(),_("button",{key:0,class:"modal-open-btn",type:"button",onClick:n[0]||(n[0]=(...i)=>t.openModal&&t.openModal(...i))},[c(l.$slots,"button")])):k("",!0),e(h,{appear:"",show:m.isOpen,as:"template"},{default:a(()=>[e(g,{as:"div",onClose:t.closeModal,class:"modal__dialog"},{default:a(()=>[e(d,{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0","enter-to":"opacity-100",leave:"duration-200 ease-in","leave-from":"opacity-100","leave-to":"opacity-0"},{default:a(()=>[O]),_:1}),s("div",S,[s("div",N,[e(d,{as:"template",enter:"duration-300 ease-out","enter-from":"opacity-0 scale-95","enter-to":"opacity-100 scale-100",leave:"duration-200 ease-in","leave-from":"opacity-100 scale-100","leave-to":"opacity-0 scale-95"},{default:a(()=>[e(v,{class:V(["modal__panel",p.panelclass])},{default:a(()=>[s("div",null,[e(u,{as:"h2",class:"modal__title visually-hidden"},{default:a(()=>[c(l.$slots,"title")]),_:3})]),c(l.$slots,"default"),s("button",{class:"modal__close-btn",onClick:n[1]||(n[1]=(...i)=>t.closeModal&&t.closeModal(...i))},[e(f,{name:"e-remove",size:"24"})])]),_:3},8,["class"])]),_:3})])])]),_:3},8,["onClose"])]),_:3},8,["show"])],64)}var E=C(B,[["render",P]]);export{E as default}; 8//# sourceMappingURL=Modal.40e70032.js.map
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.