import{_ as te,a as ye,r as Ae,h as Ct,T as Mt,i as be,u as Xe,b as wt,c as Qe,E as oe,d as ze,m as Ne,e as Tt,f as Oe,g as xt,j as Et,k as At,l as St,p as kt,n as Fe,o as Bt,t as It,q as Pt,s as Nt,v as Ot,w as Ve,x as $t,y as Dt,z as Ht,A as zt,B as Ft,C as Vt,D as Rt,F as Yt}from"./el-button-6b66070a.js";import"./el-tooltip-4ed993c7.js";import{E as je,C as Wt}from"./el-scrollbar-68edc4d7.js";import{t as Me}from"./el-icon-08628b36.js";import{E as Lt}from"./el-image-viewer-f695cd1a.js";import{s as Xt,i as Qt,d as D,u as V,o as E,c as q,w as _,r as L,m as qe,t as jt,a as x,T as Ue,b as Ke,e as T,f as R,n as ee,g as Te,h as $e,j as re,k as pe,l as ve,p as se,q as k,v as xe,x as U,y as _e,z as he,A as Ze,B as W,C as ue,D as De,E as Je,F as ce,G as me,H as qt,I as Ut,J as ge,K as Kt,L as Ge,M as F,N as j,O as fe,P as Zt,Q as u,R as Re,S as Jt,U as Gt,V as et,W as Ie,X as Ye,Y as en,Z as tt,_ as nt,$ as Pe,a0 as tn,a1 as at,a2 as nn}from"./index-3ef4d3eb.js";import{_ as ot}from"./_plugin-vue_export-helper-c27b6911.js";import{E as Q}from"./aria-60e0cdc6.js";import{t as de,i as We,U as st}from"./index-a4d0b5b6.js";import{f as lt,E as it,a as rt,b as ut}from"./el-dropdown-item-9e1be9b9.js";import{c as ie}from"./strings-ce4815fd.js";import"./castArray-3bec7949.js";const an=(e,a,n)=>lt(e.subTree).filter(s=>{var i;return Qt(s)&&((i=s.type)==null?void 0:i.name)===a&&!!s.component}).map(s=>s.component.uid).map(s=>n[s]).filter(s=>!!s),on=(e,a)=>{const n={},o=Xt([]);return{children:o,addChild:i=>{n[i.uid]=i,o.value=an(e,a,n)},removeChild:i=>{delete n[i],o.value=o.value.filter(g=>g.uid!==i)}}},sn=D({name:"ElCollapseTransition"}),ln=D({...sn,setup(e){const a=V("collapse-transition"),n=t=>{t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom},o={beforeEnter(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.style.height&&(t.dataset.elExistsHeight=t.style.height),t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0},enter(t){requestAnimationFrame(()=>{t.dataset.oldOverflow=t.style.overflow,t.dataset.elExistsHeight?t.style.maxHeight=t.dataset.elExistsHeight:t.scrollHeight!==0?t.style.maxHeight=`${t.scrollHeight}px`:t.style.maxHeight=0,t.style.paddingTop=t.dataset.oldPaddingTop,t.style.paddingBottom=t.dataset.oldPaddingBottom,t.style.overflow="hidden"})},afterEnter(t){t.style.maxHeight="",t.style.overflow=t.dataset.oldOverflow},enterCancelled(t){n(t)},beforeLeave(t){t.dataset||(t.dataset={}),t.dataset.oldPaddingTop=t.style.paddingTop,t.dataset.oldPaddingBottom=t.style.paddingBottom,t.dataset.oldOverflow=t.style.overflow,t.style.maxHeight=`${t.scrollHeight}px`,t.style.overflow="hidden"},leave(t){t.scrollHeight!==0&&(t.style.maxHeight=0,t.style.paddingTop=0,t.style.paddingBottom=0)},afterLeave(t){n(t)},leaveCancelled(t){n(t)}};return(t,s)=>(E(),q(Ue,qe({name:x(a).b()},jt(o)),{default:_(()=>[L(t.$slots,"default")]),_:3},16,["name"]))}});var we=te(ln,[["__file","collapse-transition.vue"]]);we.install=e=>{e.component(we.name,we)};const rn=we,un=D({name:"ElContainer"}),cn=D({...un,props:{direction:{type:String}},setup(e){const a=e,n=Ke(),o=V("container"),t=T(()=>a.direction==="vertical"?!0:a.direction==="horizontal"?!1:n&&n.default?n.default().some(i=>{const g=i.type.name;return g==="ElHeader"||g==="ElFooter"}):!1);return(s,i)=>(E(),R("section",{class:ee([x(o).b(),x(o).is("vertical",x(t))])},[L(s.$slots,"default")],2))}});var dn=te(cn,[["__file","container.vue"]]);const pn=D({name:"ElAside"}),vn=D({...pn,props:{width:{type:String,default:null}},setup(e){const a=e,n=V("aside"),o=T(()=>a.width?n.cssVarBlock({width:a.width}):{});return(t,s)=>(E(),R("aside",{class:ee(x(n).b()),style:Te(x(o))},[L(t.$slots,"default")],6))}});var ct=te(vn,[["__file","aside.vue"]]);const fn=D({name:"ElFooter"}),mn=D({...fn,props:{height:{type:String,default:null}},setup(e){const a=e,n=V("footer"),o=T(()=>a.height?n.cssVarBlock({height:a.height}):{});return(t,s)=>(E(),R("footer",{class:ee(x(n).b()),style:Te(x(o))},[L(t.$slots,"default")],6))}});var dt=te(mn,[["__file","footer.vue"]]);const hn=D({name:"ElHeader"}),bn=D({...hn,props:{height:{type:String,default:null}},setup(e){const a=e,n=V("header"),o=T(()=>a.height?n.cssVarBlock({height:a.height}):{});return(t,s)=>(E(),R("header",{class:ee(x(n).b()),style:Te(x(o))},[L(t.$slots,"default")],6))}});var pt=te(bn,[["__file","header.vue"]]);const _n=D({name:"ElMain"}),gn=D({..._n,setup(e){const a=V("main");return(n,o)=>(E(),R("main",{class:ee(x(a).b())},[L(n.$slots,"default")],2))}});var vt=te(gn,[["__file","main.vue"]]);const yn=$e(dn,{Aside:ct,Footer:dt,Header:pt,Main:vt}),Cn=re(ct),Mn=re(dt);re(pt);const wn=re(vt);let Tn=class{constructor(a,n){this.parent=a,this.domNode=n,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(a){a===this.subMenuItems.length?a=0:a<0&&(a=this.subMenuItems.length-1),this.subMenuItems[a].focus(),this.subIndex=a}addListeners(){const a=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,n=>{n.addEventListener("keydown",o=>{let t=!1;switch(o.code){case Q.down:{this.gotoSubIndex(this.subIndex+1),t=!0;break}case Q.up:{this.gotoSubIndex(this.subIndex-1),t=!0;break}case Q.tab:{Me(a,"mouseleave");break}case Q.enter:case Q.space:{t=!0,o.currentTarget.click();break}}return t&&(o.preventDefault(),o.stopPropagation()),!1})})}},xn=class{constructor(a,n){this.domNode=a,this.submenu=null,this.submenu=null,this.init(n)}init(a){this.domNode.setAttribute("tabindex","0");const n=this.domNode.querySelector(`.${a}-menu`);n&&(this.submenu=new Tn(this,n)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",a=>{let n=!1;switch(a.code){case Q.down:{Me(a.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),n=!0;break}case Q.up:{Me(a.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),n=!0;break}case Q.tab:{Me(a.currentTarget,"mouseleave");break}case Q.enter:case Q.space:{n=!0,a.currentTarget.click();break}}n&&a.preventDefault()})}},En=class{constructor(a,n){this.domNode=a,this.init(n)}init(a){const n=this.domNode.childNodes;Array.from(n).forEach(o=>{o.nodeType===1&&new xn(o,a)})}};const An=D({name:"ElMenuCollapseTransition",setup(){const e=V("menu");return{listeners:{onBeforeEnter:n=>n.style.opacity="0.2",onEnter(n,o){ye(n,`${e.namespace.value}-opacity-transition`),n.style.opacity="1",o()},onAfterEnter(n){Ae(n,`${e.namespace.value}-opacity-transition`),n.style.opacity=""},onBeforeLeave(n){n.dataset||(n.dataset={}),Ct(n,e.m("collapse"))?(Ae(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),ye(n,e.m("collapse"))):(ye(n,e.m("collapse")),n.dataset.oldOverflow=n.style.overflow,n.dataset.scrollWidth=n.clientWidth.toString(),Ae(n,e.m("collapse"))),n.style.width=`${n.scrollWidth}px`,n.style.overflow="hidden"},onLeave(n){ye(n,"horizontal-collapse-transition"),n.style.width=`${n.dataset.scrollWidth}px`}}}}});function Sn(e,a,n,o,t,s){return E(),q(Ue,qe({mode:"out-in"},e.listeners),{default:_(()=>[L(e.$slots,"default")]),_:3},16)}var kn=te(An,[["render",Sn],["__file","menu-collapse-transition.vue"]]);function ft(e,a){const n=T(()=>{let t=e.parent;const s=[a.value];for(;t.type.name!=="ElMenu";)t.props.index&&s.unshift(t.props.index),t=t.parent;return s});return{parentMenu:T(()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t}),indexPath:n}}function Bn(e){return T(()=>{const n=e.backgroundColor;return n?new Mt(n).shade(20).toString():""})}const mt=(e,a)=>{const n=V("menu");return T(()=>n.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Bn(e).value||"","active-color":e.activeTextColor||"",level:`${a}`}))},In=pe({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,disabled:Boolean,popperAppendToBody:{type:Boolean,default:void 0},teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:be},expandOpenIcon:{type:be},collapseCloseIcon:{type:be},collapseOpenIcon:{type:be}}),Ce="ElSubMenu";var He=D({name:Ce,props:In,setup(e,{slots:a,expose:n}){Xe({from:"popper-append-to-body",replacement:"teleported",scope:Ce,version:"2.3.0",ref:"https://element-plus.org/en-US/component/menu.html#submenu-attributes"},T(()=>e.popperAppendToBody!==void 0));const o=ve(),{indexPath:t,parentMenu:s}=ft(o,T(()=>e.index)),i=V("menu"),g=V("sub-menu"),l=se("rootMenu");l||de(Ce,"can not inject root menu");const m=se(`subMenu:${s.value.uid}`);m||de(Ce,"can not inject sub menu");const d=k({}),b=k({});let c;const v=k(!1),I=k(),N=k(null),h=T(()=>J.value==="horizontal"&&O.value?"bottom-start":"right-start"),P=T(()=>J.value==="horizontal"&&O.value||J.value==="vertical"&&!l.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?K.value?e.expandOpenIcon:e.expandCloseIcon:wt:e.collapseCloseIcon&&e.collapseOpenIcon?K.value?e.collapseOpenIcon:e.collapseCloseIcon:Qe),O=T(()=>m.level===0),H=T(()=>{var f;const B=(f=e.teleported)!=null?f:e.popperAppendToBody;return B===void 0?O.value:B}),Y=T(()=>l.props.collapse?`${i.namespace.value}-zoom-in-left`:`${i.namespace.value}-zoom-in-top`),ne=T(()=>J.value==="horizontal"&&O.value?["bottom-start","bottom-end","top-start","top-end","right-start","left-start"]:["right-start","right","right-end","left-start","bottom-start","bottom-end","top-start","top-end"]),K=T(()=>l.openedMenus.includes(e.index)),le=T(()=>{let f=!1;return Object.values(d.value).forEach(B=>{B.active&&(f=!0)}),Object.values(b.value).forEach(B=>{B.active&&(f=!0)}),f}),J=T(()=>l.props.mode),w=xe({index:e.index,indexPath:t,active:le}),S=mt(l.props,m.level+1),C=T(()=>{var f;return(f=e.popperOffset)!=null?f:l.props.popperOffset}),z=T(()=>{var f;return(f=e.popperClass)!=null?f:l.props.popperClass}),r=T(()=>{var f;return(f=e.showTimeout)!=null?f:l.props.showTimeout}),p=T(()=>{var f;return(f=e.hideTimeout)!=null?f:l.props.hideTimeout}),y=()=>{var f,B,$;return($=(B=(f=N.value)==null?void 0:f.popperRef)==null?void 0:B.popperInstanceRef)==null?void 0:$.destroy()},A=f=>{f||y()},M=()=>{l.props.menuTrigger==="hover"&&l.props.mode==="horizontal"||l.props.collapse&&l.props.mode==="vertical"||e.disabled||l.handleSubMenuClick({index:e.index,indexPath:t.value,active:le.value})},X=(f,B=r.value)=>{var $;if(f.type!=="focus"){if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"||e.disabled){m.mouseInChild.value=!0;return}m.mouseInChild.value=!0,c==null||c(),{stop:c}=ze(()=>{l.openMenu(e.index,t.value)},B),H.value&&(($=s.value.vnode.el)==null||$.dispatchEvent(new MouseEvent("mouseenter")))}},Z=(f=!1)=>{var B;if(l.props.menuTrigger==="click"&&l.props.mode==="horizontal"||!l.props.collapse&&l.props.mode==="vertical"){m.mouseInChild.value=!1;return}c==null||c(),m.mouseInChild.value=!1,{stop:c}=ze(()=>!v.value&&l.closeMenu(e.index,t.value),p.value),H.value&&f&&((B=m.handleMouseleave)==null||B.call(m,!0))};U(()=>l.props.collapse,f=>A(!!f));{const f=$=>{b.value[$.index]=$},B=$=>{delete b.value[$.index]};_e(`subMenu:${o.uid}`,{addSubMenu:f,removeSubMenu:B,handleMouseleave:Z,mouseInChild:v,level:m.level+1})}return n({opened:K}),he(()=>{l.addSubMenu(w),m.addSubMenu(w)}),Ze(()=>{m.removeSubMenu(w),l.removeSubMenu(w)}),()=>{var f;const B=[(f=a.title)==null?void 0:f.call(a),W(oe,{class:g.e("icon-arrow"),style:{transform:K.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&l.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>ue(P.value)?W(o.appContext.components[P.value]):W(P.value)})],$=l.isMenuPopup?W(je,{ref:N,visible:K.value,effect:"light",pure:!0,offset:C.value,showArrow:!1,persistent:!0,popperClass:z.value,placement:h.value,teleported:H.value,fallbackPlacements:ne.value,transition:Y.value,gpuAcceleration:!1},{content:()=>{var ae;return W("div",{class:[i.m(J.value),i.m("popup-container"),z.value],onMouseenter:G=>X(G,100),onMouseleave:()=>Z(!0),onFocus:G=>X(G,100)},[W("ul",{class:[i.b(),i.m("popup"),i.m(`popup-${h.value}`)],style:S.value},[(ae=a.default)==null?void 0:ae.call(a)])])},default:()=>W("div",{class:g.e("title"),onClick:M},B)}):W(ce,{},[W("div",{class:g.e("title"),ref:I,onClick:M},B),W(rn,{},{default:()=>{var ae;return De(W("ul",{role:"menu",class:[i.b(),i.m("inline")],style:S.value},[(ae=a.default)==null?void 0:ae.call(a)]),[[Je,K.value]])}})]);return W("li",{class:[g.b(),g.is("active",le.value),g.is("opened",K.value),g.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:K.value,onMouseenter:X,onMouseleave:()=>Z(),onFocus:X},[$])}}});const Pn=pe({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:me(Array),default:()=>Ne([])},uniqueOpened:Boolean,router:Boolean,menuTrigger:{type:String,values:["hover","click"],default:"hover"},collapse:Boolean,backgroundColor:String,textColor:String,activeTextColor:String,closeOnClickOutside:Boolean,collapseTransition:{type:Boolean,default:!0},ellipsis:{type:Boolean,default:!0},popperOffset:{type:Number,default:6},ellipsisIcon:{type:be,default:()=>Tt},popperEffect:{type:String,values:["dark","light"],default:"dark"},popperClass:String,showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300}}),Se=e=>Array.isArray(e)&&e.every(a=>ue(a)),Nn={close:(e,a)=>ue(e)&&Se(a),open:(e,a)=>ue(e)&&Se(a),select:(e,a,n,o)=>ue(e)&&Se(a)&&Ut(n)&&(o===void 0||o instanceof Promise)};var On=D({name:"ElMenu",props:Pn,emits:Nn,setup(e,{emit:a,slots:n,expose:o}){const t=ve(),s=t.appContext.config.globalProperties.$router,i=k(),g=V("menu"),l=V("sub-menu"),m=k(-1),d=k(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),b=k(e.defaultActive),c=k({}),v=k({}),I=T(()=>e.mode==="horizontal"||e.mode==="vertical"&&e.collapse),N=()=>{const r=b.value&&c.value[b.value];if(!r||e.mode==="horizontal"||e.collapse)return;r.indexPath.forEach(y=>{const A=v.value[y];A&&h(y,A.indexPath)})},h=(r,p)=>{d.value.includes(r)||(e.uniqueOpened&&(d.value=d.value.filter(y=>p.includes(y))),d.value.push(r),a("open",r,p))},P=r=>{const p=d.value.indexOf(r);p!==-1&&d.value.splice(p,1)},O=(r,p)=>{P(r),a("close",r,p)},H=({index:r,indexPath:p})=>{d.value.includes(r)?O(r,p):h(r,p)},Y=r=>{(e.mode==="horizontal"||e.collapse)&&(d.value=[]);const{index:p,indexPath:y}=r;if(!(We(p)||We(y)))if(e.router&&s){const A=r.route||p,M=s.push(A).then(X=>(X||(b.value=p),X));a("select",p,y,{index:p,indexPath:y,route:A},M)}else b.value=p,a("select",p,y,{index:p,indexPath:y})},ne=r=>{const p=c.value,y=p[r]||b.value&&p[b.value]||p[e.defaultActive];y?b.value=y.index:b.value=r},K=()=>{var r,p;if(!i.value)return-1;const y=Array.from((p=(r=i.value)==null?void 0:r.childNodes)!=null?p:[]).filter($=>$.nodeName!=="#comment"&&($.nodeName!=="#text"||$.nodeValue)),A=64,M=Number.parseInt(getComputedStyle(i.value).paddingLeft,10),X=Number.parseInt(getComputedStyle(i.value).paddingRight,10),Z=i.value.clientWidth-M-X;let f=0,B=0;return y.forEach(($,ae)=>{f+=$.offsetWidth||0,f<=Z-A&&(B=ae+1)}),B===y.length?-1:B},le=r=>v.value[r].indexPath,J=(r,p=33.34)=>{let y;return()=>{y&&clearTimeout(y),y=setTimeout(()=>{r()},p)}};let w=!0;const S=()=>{const r=()=>{m.value=-1,ge(()=>{m.value=K()})};w?r():J(r)(),w=!1};U(()=>e.defaultActive,r=>{c.value[r]||(b.value=""),ne(r)}),U(()=>e.collapse,r=>{r&&(d.value=[])}),U(c.value,N);let C;qt(()=>{e.mode==="horizontal"&&e.ellipsis?C=Oe(i,S).stop:C==null||C()});const z=k(!1);{const r=M=>{v.value[M.index]=M},p=M=>{delete v.value[M.index]};_e("rootMenu",xe({props:e,openedMenus:d,items:c,subMenus:v,activeIndex:b,isMenuPopup:I,addMenuItem:M=>{c.value[M.index]=M},removeMenuItem:M=>{delete c.value[M.index]},addSubMenu:r,removeSubMenu:p,openMenu:h,closeMenu:O,handleMenuItemClick:Y,handleSubMenuClick:H})),_e(`subMenu:${t.uid}`,{addSubMenu:r,removeSubMenu:p,mouseInChild:z,level:0})}return he(()=>{e.mode==="horizontal"&&new En(t.vnode.el,g.namespace.value)}),o({open:p=>{const{indexPath:y}=v.value[p];y.forEach(A=>h(A,y))},close:P,handleResize:S}),()=>{var r,p;let y=(p=(r=n.default)==null?void 0:r.call(n))!=null?p:[];const A=[];if(e.mode==="horizontal"&&i.value){const f=lt(y),B=m.value===-1?f:f.slice(0,m.value),$=m.value===-1?[]:f.slice(m.value);$!=null&&$.length&&e.ellipsis&&(y=B,A.push(W(He,{index:"sub-menu-more",class:l.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>W(oe,{class:l.e("icon-more")},{default:()=>W(e.ellipsisIcon)}),default:()=>$})))}const M=mt(e,0),X=e.closeOnClickOutside?[[Wt,()=>{d.value.length&&(z.value||(d.value.forEach(f=>a("close",f,le(f))),d.value=[]))}]]:[],Z=De(W("ul",{key:String(e.collapse),role:"menubar",ref:i,style:M.value,class:{[g.b()]:!0,[g.m(e.mode)]:!0,[g.m("collapse")]:e.collapse}},[...y,...A]),X);return e.collapseTransition&&e.mode==="vertical"?W(kn,()=>Z):Z}}});const $n=pe({index:{type:me([String,null]),default:null},route:{type:me([String,Object])},disabled:Boolean}),Dn={click:e=>ue(e.index)&&Array.isArray(e.indexPath)},ke="ElMenuItem",Hn=D({name:ke,components:{ElTooltip:je},props:$n,emits:Dn,setup(e,{emit:a}){const n=ve(),o=se("rootMenu"),t=V("menu"),s=V("menu-item");o||de(ke,"can not inject root menu");const{parentMenu:i,indexPath:g}=ft(n,Kt(e,"index")),l=se(`subMenu:${i.value.uid}`);l||de(ke,"can not inject sub menu");const m=T(()=>e.index===o.activeIndex),d=xe({index:e.index,indexPath:g,active:m}),b=()=>{e.disabled||(o.handleMenuItemClick({index:e.index,indexPath:g.value,route:e.route}),a("click",d))};return he(()=>{l.addSubMenu(d),o.addMenuItem(d)}),Ze(()=>{l.removeSubMenu(d),o.removeMenuItem(d)}),{parentMenu:i,rootMenu:o,active:m,nsMenu:t,nsMenuItem:s,handleClick:b}}});function zn(e,a,n,o,t,s){const i=Ge("el-tooltip");return E(),R("li",{class:ee([e.nsMenuItem.b(),e.nsMenuItem.is("active",e.active),e.nsMenuItem.is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:a[0]||(a[0]=(...g)=>e.handleClick&&e.handleClick(...g))},[e.parentMenu.type.name==="ElMenu"&&e.rootMenu.props.collapse&&e.$slots.title?(E(),q(i,{key:0,effect:e.rootMenu.props.popperEffect,placement:"right","fallback-placements":["left"],persistent:""},{content:_(()=>[L(e.$slots,"title")]),default:_(()=>[F("div",{class:ee(e.nsMenu.be("tooltip","trigger"))},[L(e.$slots,"default")],2)]),_:3},8,["effect"])):(E(),R(ce,{key:1},[L(e.$slots,"default"),L(e.$slots,"title")],64))],2)}var ht=te(Hn,[["render",zn],["__file","menu-item.vue"]]);const Fn={title:String},Vn="ElMenuItemGroup",Rn=D({name:Vn,props:Fn,setup(){return{ns:V("menu-item-group")}}});function Yn(e,a,n,o,t,s){return E(),R("li",{class:ee(e.ns.b())},[F("div",{class:ee(e.ns.e("title"))},[e.$slots.title?L(e.$slots,"title",{key:1}):(E(),R(ce,{key:0},[j(fe(e.title),1)],64))],2),F("ul",null,[L(e.$slots,"default")])],2)}var bt=te(Rn,[["render",Yn],["__file","menu-item-group.vue"]]);const Wn=$e(On,{MenuItem:ht,MenuItemGroup:bt,SubMenu:He}),Ln=re(ht);re(bt);const Xn=re(He),Ee=Symbol("tabsRootContextKey"),Qn=pe({tabs:{type:me(Array),default:()=>Ne([])}}),_t="ElTabBar",jn=D({name:_t}),qn=D({...jn,props:Qn,setup(e,{expose:a}){const n=e,o=ve(),t=se(Ee);t||de(_t,"