import{d as e,c as l,o as s,a as t,e as r}from"./main-DOVIGS6h.js";const f={xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",viewBox:"0 0 1024 1024"},n=e({name:"PlusOutlined",render:function(e,r){return s(),l("svg",f,r[0]||(r[0]=[t("defs",null,null,-1),t("path",{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z",fill:"currentColor"},null,-1),t("path",{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z",fill:"currentColor"},null,-1)]))}}),o=e({name:"BaseComponent",setup(e,{slots:l}){const s=l["header-left"]||l.headerLeft,t=l["header-right"]||l.headerRight,f=l.header||l.header,n=l["footer-left"]||l.footerLeft,o=l["footer-right"]||l.footerRight,a=l.footer||l.footer;return()=>r("div",{class:"flex flex-col"},[(s||t)&&r("div",{class:"flex justify-between flex-wrap",style:{rowGap:"0.8rem"}},[r("div",{class:"flex flex-shrink-0"},[s&&s()]),r("div",{class:"flex flex-shrink-0"},[t&&t()])]),f&&r("div",{class:"flex justify-between flex-wrap w-full"},[f&&f()]),r("div",{class:`w-full content ${s||t?"mt-[1.2rem]":""} ${n||o?"mb-[1.2rem]":""}`},[l.content&&l.content()]),(n||o)&&r("div",{class:"flex justify-between"},[r("div",{class:"flex flex-shrink-0"},[n&&n()]),r("div",{class:"flex flex-shrink-0"},[o&&o()])]),a&&r("div",{class:"flex justify-between w-full"},[a()]),l.popup&&l.popup()])}});export{o as B,n as P};