text: var e=Object.defineProperty,t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,l=Object.prototype.propertyIsEnumerable,o=(t,n,l)=>n in t?e(t,n,{enumerable:!0,configurable:!0,writable:!0,value:l}):t[n]=l,a=(e,a)=>{for(var i in a||(a={}))n.call(a,i)&&o(e,i,a[i]);if(t)for(var i of t(a))l.call(a,i)&&o(e,i,a[i]);return e},i=(e,t,n)=>new Promise(((l,o)=>{var a=e=>{try{s(n.next(e))}catch(t){o(t)}},i=e=>{try{s(n.throw(e))}catch(t){o(t)}},s=e=>e.done?l(e.value):Promise.resolve(e.value).then(a,i);s((n=n.apply(e,t)).next())}));import{p as s,M as r,v as u,T as c,d,j as p,c as m,w as g,m as f,x as h,y as v,R as C,z as S,i as y,A as b,B as M,C as T,D as x,F as I,G as w,k as L,H as _,o as k,I as E,J as O,K as $,L as R,N as H,O as P,s as N,l as F,Q as A,_ as B,a as K,S as D,U as W,V as z,W as j,X as V,Y as U,Z as G,$ as X,u as q,a0 as Q,a1 as Y,a2 as Z,a3 as J,a4 as ee,a5 as te,a6 as ne,f as le,a7 as oe,a8 as ae}from"./index.f72cd585.js";import{k as ie,f as se,K as re,o as ue,n as ce,X as de,Y as pe,s as me,av as ge,Q as fe,q as he,N as ve,V as Ce,ah as Se,u as ye,t as be,b7 as Me,r as Te,A as xe,H as Ie,a as we,D as Le,a5 as _e,C as ke,I as Ee,J as Oe,a2 as $e,R as Re,S as He,as as Pe,ae as Ne,y as Fe,ao as Ae,w as Be,v as Ke,F as De,G as We,a6 as ze,b8 as je,b9 as Ve,ba as Ue,bb as Ge,bc as Xe,bd as qe,T as Qe,be as Ye,a4 as Ze,ar as Je,x as et,b1 as tt,bf as nt,bg as lt,bh as ot,a0 as at}from"./vendor.bc3b2d68.js";import{c as it}from"./createAsyncComponent.d1e6eb80.js";import st from"./index.9b887749.js";import{u as rt,a as ut}from"./useFrameKeepAlive.8285c476.js";import{c as ct}from"./usePageContext.8ab99773.js";import{u as dt}from"./useWindowSizeFn.ade0e88c.js";/* empty css              *//* empty css              */import{u as pt}from"./useSortable.13695b66.js";import{u as mt}from"./lock.564124dd.js";const gt={items:{type:Array,default:()=>[]},collapsedShowTitle:s.bool,inlineIndent:s.number.def(20),mode:{type:String,default:r.INLINE},type:{type:String,default:u.MIX},theme:s.string.def(c.DARK),inlineCollapsed:s.bool,mixSider:s.bool,isHorizontal:s.bool,accordion:s.bool.def(!0),beforeClickFn:{type:Function}},ft={item:{type:Object,default:{}},level:s.number,theme:s.oneOf(["dark","light"]),showTitle:s.bool,isHorizontal:s.bool},ht={item:{type:Object,default:null},showTitle:s.bool.def(!0),level:s.number.def(0),isHorizontal:s.bool.def(!0)},{t:vt}=d();var Ct=ie({name:"MenuItemContent",components:{Icon:p},props:ht,setup(e){const{prefixCls:t}=m("basic-menu-item-content");return{prefixCls:t,getI18nName:se((()=>{var t;return vt(null==(t=e.item)?void 0:t.name)})),getIcon:se((()=>{var t;return null==(t=e.item)?void 0:t.icon}))}}});Ct.render=function(e,t,n,l,o,a){const i=re("Icon");return ue(),ce("span",{class:`${e.prefixCls}- flex items-center `},[e.getIcon?(ue(),ce(i,{key:0,icon:e.getIcon,size:18,class:`${e.prefixCls}-wrapper__icon`},null,8,["icon","class"])):de("",!0),pe(" "+me(e.getI18nName),1)],2)};var St=ie({name:"BasicMenuItem",components:{MenuItem:ge.Item,MenuItemContent:Ct},props:ft,setup(){const{prefixCls:e}=m("basic-menu-item");return{prefixCls:e}}});St.render=function(e,t,n,l,o,a){const i=re("MenuItemContent"),s=re("MenuItem");return ue(),ce(s,null,{default:fe((()=>[he(i,ve(e.$props,{item:e.item}),null,16,["item"])])),_:1})};var yt=ie({name:"BasicSubMenuItem",isSubMenu:!0,components:{BasicMenuItem:St,SubMenu:ge.SubMenu,MenuItemContent:Ct},props:ft,setup(e){const{prefixCls:t}=m("basic-menu-item");return{prefixCls:t,menuHasChildren:function(e){var t;return!(null==(t=e.meta)?void 0:t.hideChildrenInMenu)&&Reflect.has(e,"children")&&!!e.children&&e.children.length>0},getShowMenu:se((()=>{var t;return!(null==(t=e.item.meta)?void 0:t.hideMenu)}))}}});yt.render=function(e,t,n,l,o,a){const i=re("BasicMenuItem"),s=re("MenuItemContent"),r=re("BasicSubMenuItem",!0),u=re("SubMenu");return ue(),ce(Ce,null,[!e.menuHasChildren(e.item)&&e.getShowMenu?(ue(),ce(i,ve({key:0},e.$props),null,16)):de("",!0),e.menuHasChildren(e.item)&&e.getShowMenu?(ue(),ce(u,{key:1,class:[e.theme],popupClassName:"app-top-menu-popup"},{title:fe((()=>[he(s,ve(e.$props,{item:e.item}),null,16,["item"])])),default:fe((()=>[(ue(!0),ce(Ce,null,Se(e.item.children||[],(t=>(ue(),ce(r,ve({key:t.path},e.$props,{item:t}),null,16,["item"])))),128))])),_:1},8,["class"])):de("",!0)],64)};var bt=ie({name:"BasicMenu",components:{Menu:ge,BasicSubMenuItem:yt},props:gt,emits:["menuClick"],setup(e,{emit:t}){const n=Te(!1),l=Te(""),o=xe({defaultSelectedKeys:[],openKeys:[],selectedKeys:[],collapsedOpenKeys:[]}),{prefixCls:s}=m("basic-menu"),{items:c,mode:d,accordion:p}=Ie(e),{getCollapsed:b,getIsHorizontal:M,getTopMenuAlign:T,getSplit:x}=g(),{currentRoute:I}=we(),{handleOpenChange:w,setOpenKeys:L,getOpenKeys:_}=function(e,t,n,l){const{getCollapsed:o,getIsMixSidebar:a}=g();return{setOpenKeys:function(o){return i(this,null,(function*(){if(n.value===r.HORIZONTAL)return;const i=ye(a);f((()=>{const n=be(t.value);0!==(null==n?void 0:n.length)?ye(l)?e.openKeys=h(n,o):e.openKeys=Me([...e.openKeys,...h(n,o)]):e.openKeys=[]}),16,!i)}))},resetKeys:function(){e.selectedKeys=[],e.openKeys=[]},getOpenKeys:se((()=>!ye(a)&&ye(o)?e.collapsedOpenKeys:e.openKeys)),handleOpenChange:function(i){if(ye(n)===r.HORIZONTAL||!ye(l)||ye(a))e.openKeys=i;else{const n=[];for(const{children:e,path:l}of ye(t))e&&e.length>0&&n.push(l);if(ye(o))e.collapsedOpenKeys=i;else{const t=i.find((t=>-1===e.openKeys.indexOf(t)));-1===n.indexOf(t)?e.openKeys=i:e.openKeys=t?[t]:[]}}}}}(o,c,d,p),k=se((()=>{const{type:t,mode:n}=e;return t===u.TOP_MENU&&n===r.HORIZONTAL||e.isHorizontal&&ye(x)})),E=se((()=>{const t=e.isHorizontal&&ye(x)?"start":ye(T);return[s,`justify-${t}`,{[`${s}__second`]:!e.isHorizontal&&ye(x),[`${s}__sidebar-hor`]:ye(k)}]})),O=se((()=>{const t={};return e.mode===r.INLINE&&(t.inlineCollapsed=!e.mixSider&&ye(b)),t}));function $(t){return i(this,null,(function*(){if(ye(n))return void(n.value=!1);const a=(t||ye(I)).path;if(L(a),!ye(l))if(e.isHorizontal&&ye(x)){const e=yield S(a);o.selectedKeys=[e]}else{const t=yield h(e.items,a);o.selectedKeys=t}}))}return v((e=>{var t;e.name!==C&&($(e),l.value=null==(t=e.meta)?void 0:t.currentActiveMenu,ye(l)&&(o.selectedKeys=[ye(l)],L(ye(l))))})),!e.mixSider&&Le((()=>e.items),(()=>{$()})),a({prefixCls:s,getIsHorizontal:M,handleMenuClick:function(l){return i(this,arguments,(function*({key:l}){const{beforeClickFn:a}=e;if(a&&y(a)){if(!(yield a(l)))return}t("menuClick",l),n.value=!0,o.selectedKeys=[l]}))},getInlineCollapseOptions:O,getMenuClass:E,handleOpenChange:w,getOpenKeys:_},Ie(o))}});bt.render=function(e,t,n,l,o,a){const i=re("BasicSubMenuItem"),s=re("Menu");return ue(),ce(s,ve({selectedKeys:e.selectedKeys,defaultSelectedKeys:e.defaultSelectedKeys,mode:e.mode,openKeys:e.getOpenKeys,inlineIndent:e.inlineIndent,theme:e.theme,onOpenChange:e.handleOpenChange,class:e.getMenuClass,onClick:e.handleMenuClick,subMenuOpenDelay:.2},e.getInlineCollapseOptions),{default:fe((()=>[(ue(!0),ce(Ce,null,Se(e.items,(t=>(ue(),ce(i,{key:t.path,item:t,theme:e.theme,isHorizontal:e.isHorizontal},null,8,["item","theme","isHorizontal"])))),128))])),_:1},16,["selectedKeys","defaultSelectedKeys","mode","openKeys","inlineIndent","theme","onOpenChange","class","onClick","subMenuOpenDelay"])};const Mt=Symbol();function Tt(){return M(Mt)}var xt=ie({name:"Menu",props:{theme:s.oneOf(["light","dark"]).def("light"),activeName:s.oneOfType([s.string,s.number]),openNames:{type:Array,default:()=>[]},accordion:s.bool.def(!0),width:s.string.def("100%"),collapsedWidth:s.string.def("48px"),indentSize:s.number.def(16),collapse:s.bool.def(!0),activeSubMenuNames:{type:Array,default:()=>[]}},emits:["select","open-change"],setup(e,{emit:t}){const n=new T,l=$e(),o=Te(""),a=Te([]),{prefixCls:i}=m("menu"),s=Te(!1);b({rootMenuEmitter:n,activeName:o},Mt,{readonly:!1,native:!0});const r=se((()=>{const{theme:t}=e;return[i,`${i}-${t}`,`${i}-vertical`,{[`${i}-collapse`]:e.collapse}]}));function u(){n.emit("on-update-opened",a.value)}function c(){a.value=[],u()}return _e((()=>{a.value=e.openNames})),_e((()=>{e.activeName&&(o.value=e.activeName)})),Le((()=>e.openNames),(()=>{Oe((()=>{u()}))})),ke(`subMenu:${null==l?void 0:l.uid}`,{addSubMenu:function(e){a.value.includes(e)||(a.value.push(e),u())},removeSubMenu:function(e){a.value=a.value.filter((t=>t!==e)),u()},getOpenNames:()=>a.value,removeAll:c,isRemoveAllPopup:s,sliceIndex:function(e){-1!==e&&(a.value=a.value.slice(0,e+1),u())},level:0,props:e}),Ee((()=>{a.value=e.collapse?[]:[...e.openNames],u(),n.on("on-menu-item-select",(n=>{o.value=n,Oe((()=>{e.collapse&&c()})),t("select",n)})),n.on("open-name-change",(({name:e,opened:t})=>{if(t&&!a.value.includes(e))a.value.push(e);else if(!t){const t=a.value.findIndex((t=>t===e));-1!==t&&a.value.splice(t,1)}}))})),{getClass:r,openedNames:a}}});function It(e){const t=se((()=>a(["Menu","SubMenu"]))),n=se((()=>a(["Menu"]))),l=se((()=>a(["SubMenu"]))),o=se((()=>{var t,l,o;let a=null==e?void 0:e.parent;if(!a)return{};const i=null!=(l=null==(t=ye(n))?void 0:t.props.indentSize)?l:20;let s=i;if(null==(o=ye(n))?void 0:o.props.collapse)s=i;else for(;a&&"Menu"!==a.type.name;)"SubMenu"===a.type.name&&(s+=i),a=a.parent;return{paddingLeft:s+"px"}}));function a(t){let n=null==e?void 0:e.parent;if(!n)return null;for(;n&&-1===t.indexOf(n.type.name);)n=n.parent;return n}return{getParentMenu:t,getParentInstance:function(e,t="SubMenu"){let n=e.parent;for(;n;){if(n.type.name!==t)return n;n=n.parent}return n},getParentRootMenu:n,getParentList:function(){let t=e;if(!t)return{uidList:[],list:[]};const n=[];for(;t&&"Menu"!==t.type.name;)"SubMenu"===t.type.name&&n.push(t),t=t.parent;return{uidList:n.map((e=>e.uid)),list:n}},getParentSubMenu:l,getItemStyle:o}}xt.render=function(e,t,n,l,o,a){return ue(),ce("ul",{class:e.getClass},[Re(e.$slots,"default")],2)};var wt=ie({name:"MenuItem",components:{Tooltip:He},props:{name:{type:[String,Number],required:!0},disabled:s.bool},setup(e,{slots:t}){const n=$e(),l=Te(!1),{getItemStyle:o,getParentList:a,getParentMenu:i,getParentRootMenu:s}=It(n),{prefixCls:r}=m("menu"),{rootMenuEmitter:u,activeName:c}=Tt(),d=se((()=>[`${r}-item`,{[`${r}-item-active`]:ye(l),[`${r}-item-selected`]:ye(l),[`${r}-item-disabled`]:!!e.disabled}])),p=se((()=>{var e;return null==(e=ye(s))?void 0:e.props.collapse})),g=se((()=>{var e;return"Menu"===(null==(e=ye(i))?void 0:e.type.name)&&ye(p)&&t.title}));return Le((()=>c.value),(t=>{if(t===e.name){const{list:e,uidList:t}=a();l.value=!0,e.forEach((e=>{e.proxy&&(e.proxy.active=!0)})),u.emit("on-update-active-name:submenu",t)}else l.value=!1}),{immediate:!0}),{getClass:d,prefixCls:r,getItemStyle:o,getCollapse:p,handleClickItem:function(){const{disabled:t}=e;if(t)return;if(u.emit("on-menu-item-select",e.name),ye(p))return;const{uidList:l}=a();u.emit("on-update-opened",{opend:!1,parent:null==n?void 0:n.parent,uidList:l})},showTooptip:g}}});wt.render=function(e,t,n,l,o,a){const i=re("Tooltip");return ue(),ce("li",{class:e.getClass,onClick:t[1]||(t[1]=Pe(((...t)=>e.handleClickItem&&e.handleClickItem(...t)),["stop"])),style:e.getCollapse?{}:e.getItemStyle},[e.showTooptip?(ue(),ce(i,{key:0,placement:"right"},{title:fe((()=>[Re(e.$slots,"title")])),default:fe((()=>[he("div",{class:`${e.prefixCls}-tooltip`},[Re(e.$slots,"default")],2)])),_:3})):(ue(),ce(Ce,{key:1},[Re(e.$slots,"default"),Re(e.$slots,"title")],64))],6)};var Lt=ie({name:"SubMenu",components:{Icon:p,CollapseTransition:x,Popover:Ne},props:{name:{type:[String,Number],required:!0},disabled:s.bool,collapsedShowTitle:s.bool},setup(e){var t;const n=$e(),l=xe({active:!1,opened:!1}),o=xe({timeout:null,mouseInChild:!1,isChild:!1}),{getParentSubMenu:i,getItemStyle:s,getParentMenu:r,getParentList:u}=It(n),{prefixCls:c}=m("menu"),d=new T,{rootMenuEmitter:p}=Tt(),{addSubMenu:g,removeSubMenu:f,removeAll:h,getOpenNames:v,isRemoveAllPopup:C,sliceIndex:S,level:y,props:b,handleMouseleave:M}=Fe(`subMenu:${null==(t=r.value)?void 0:t.uid}`),x=se((()=>[`${c}-submenu`,{[`${c}-item-active`]:l.active,[`${c}-opened`]:l.opened,[`${c}-submenu-disabled`]:e.disabled,[`${c}-submenu-has-parent-submenu`]:ye(i),[`${c}-child-item-active`]:l.active}])),L=se((()=>b.accordion)),_=se((()=>b.collapse)),k=se((()=>b.theme)),E=se((()=>({minWidth:"200px"}))),O=se((()=>{const t=e.name;return ye(_)?v().includes(t):l.opened})),$=se((()=>{const t=b.activeSubMenuNames.includes(e.name);return[`${c}-submenu-title`,{[`${c}-submenu-active`]:t,[`${c}-submenu-active-border`]:t&&0===y,[`${c}-submenu-collapse`]:ye(_)&&0===y}]}));function R(){if(e.disabled)return;d.emit("submenu:mouse-enter-child");const t=v().findIndex((t=>t===e.name));S(t);0===y&&2===v().length&&h(),o.isChild=v().includes(e.name),clearTimeout(o.timeout),o.timeout=setTimeout((()=>{g(e.name)}),200)}function H(t=!1){var n;(null==(n=r.value)?void 0:n.props.name)||(C.value=!0),v().slice(-1)[0]===e.name&&(o.isChild=!1),d.emit("submenu:mouse-leave-child"),o.timeout&&(clearTimeout(o.timeout),o.timeout=setTimeout((()=>{C.value?h():o.mouseInChild||f(e.name)}),200)),t&&i.value&&(null==M||M(!0))}return Ae((()=>{d.on("submenu:mouse-enter-child",(()=>{o.mouseInChild=!0,C.value=!1,clearTimeout(o.timeout)})),d.on("submenu:mouse-leave-child",(()=>{o.isChild||(o.mouseInChild=!1,clearTimeout(o.timeout))})),p.on("on-update-opened",(t=>{if(!ye(_))if(I(t))l.opened=t;else if(w(t)){const{opend:e,parent:o,uidList:a}=t;o===(null==n?void 0:n.parent)?l.opened=e:a.includes(null==n?void 0:n.uid)||(l.opened=!1)}else e.name&&Array.isArray(t)&&(l.opened=t.includes(e.name))})),p.on("on-update-active-name:submenu",(e=>{(null==n?void 0:n.uid)&&(l.active=e.includes(null==n?void 0:n.uid))}))})),ke(`subMenu:${null==n?void 0:n.uid}`,{addSubMenu:g,removeSubMenu:f,getOpenNames:v,removeAll:h,isRemoveAllPopup:C,sliceIndex:S,level:y+1,handleMouseleave:H,props:b}),a(a({getClass:x,prefixCls:c,getCollapse:_,getItemStyle:s,handleClick:function(){const{disabled:t}=e;if(t||ye(_))return;const o=l.opened;if(ye(L)){const{uidList:e}=u();p.emit("on-update-opened",{opend:!1,parent:null==n?void 0:n.parent,uidList:e})}else p.emit("open-name-change",{name:e.name,opened:!o});l.opened=!o},handleVisibleChange:function(e){l.opened=e},getParentSubMenu:i,getOverlayStyle:E,getTheme:k,getIsOpend:O,getEvents:function(e){return ye(_)?{onMouseenter:R,onMouseleave:()=>H(e)}:{}},getSubClass:$},Ie(l)),Ie(o))}});Lt.render=function(e,t,n,l,o,a){const i=re("Icon"),s=re("CollapseTransition"),r=re("Popover");return ue(),ce("li",{class:e.getClass},[e.getCollapse?(ue(),ce(r,{key:1,placement:"right",overlayClassName:`${e.prefixCls}-menu-popover`,visible:e.getIsOpend,onVisibleChange:e.handleVisibleChange,overlayStyle:e.getOverlayStyle,align:{offset:[0,0]}},{content:fe((()=>[he("div",e.getEvents(!0),[he("ul",{class:[e.prefixCls,`${e.prefixCls}-${e.getTheme}`,`${e.prefixCls}-popup`]},[Re(e.$slots,"default")],2)],16)])),default:fe((()=>[he("div",ve({class:e.getSubClass},e.getEvents(!1)),[he("div",{class:[{[`${e.prefixCls}-submenu-popup`]:!e.getParentSubMenu,[`${e.prefixCls}-submenu-collapsed-show-tit`]:e.collapsedShowTitle}]},[Re(e.$slots,"title")],2),e.getParentSubMenu?(ue(),ce(i,{key:0,icon:"eva:arrow-ios-downward-outline",size:14,class:`${e.prefixCls}-submenu-title-icon`},null,8,["class"])):de("",!0)],16)])),_:3},8,["overlayClassName","visible","onVisibleChange","overlayStyle"])):(ue(),ce(Ce,{key:0},[he("div",{class:`${e.prefixCls}-submenu-title`,onClick:t[1]||(t[1]=Pe(((...t)=>e.handleClick&&e.handleClick(...t)),["stop"])),style:e.getItemStyle},[Re(e.$slots,"title"),he(i,{icon:"eva:arrow-ios-downward-outline",size:14,class:`${e.prefixCls}-submenu-title-icon`},null,8,["class"])],6),he(s,null,{default:fe((()=>[Be(he("ul",{class:e.prefixCls},[Re(e.$slots,"default")],2),[[Ke,e.opened]])])),_:3})],64))],2)};var _t=ie({name:"SimpleSubMenu",components:{SubMenu:Lt,MenuItem:wt,SimpleMenuTag:it((()=>L((()=>Promise.resolve().then((function(){return Rt}))),void 0))),Icon:p},props:{item:{type:Object,default:()=>({})},parent:s.bool,collapsedShowTitle:s.bool,collapse:s.bool,theme:s.oneOf(["dark","light"])},setup(e){const{t:t}=d(),{prefixCls:n}=m("simple-menu"),l=se((()=>{var t,n;return!(null==(n=null==(t=e.item)?void 0:t.meta)?void 0:n.hideMenu)})),o=se((()=>{var t;return null==(t=e.item)?void 0:t.icon})),a=se((()=>{var n;return t(null==(n=e.item)?void 0:n.name)})),i=se((()=>!e.collapse||!e.parent)),s=se((()=>!!e.collapse&&!!e.parent)),r=se((()=>[{[`${n}__parent`]:e.parent,[`${n}__children`]:!e.parent}]));return{prefixCls:n,menuHasChildren:function(e){var t;return!(null==(t=e.meta)?void 0:t.hideChildrenInMenu)&&Reflect.has(e,"children")&&!!e.children&&e.children.length>0},getShowMenu:l,getIcon:o,getI18nName:a,getShowSubTitle:i,getLevelClass:r,getIsCollapseParent:s}}});const kt={key:1,class:"mt-1 collapse-title"},Et={key:1,class:"mt-2 collapse-title"};_t.render=function(e,t,n,l,o,a){const i=re("Icon"),s=re("SimpleMenuTag"),r=re("MenuItem"),u=re("SimpleSubMenu",!0),c=re("SubMenu");return ue(),ce(Ce,null,[!e.menuHasChildren(e.item)&&e.getShowMenu?(ue(),ce(r,ve({key:0,name:e.item.path},e.$props,{class:e.getLevelClass}),{title:fe((()=>[he("span",{class:["ml-2",`${e.prefixCls}-sub-title`]},me(e.getI18nName),3),he(s,{item:e.item,collapseParent:e.getIsCollapseParent},null,8,["item","collapseParent"])])),default:fe((()=>[e.getIcon?(ue(),ce(i,{key:0,icon:e.getIcon,size:16},null,8,["icon"])):de("",!0),e.collapsedShowTitle&&e.getIsCollapseParent?(ue(),ce("div",kt,me(e.getI18nName),1)):de("",!0)])),_:1},16,["name","class"])):de("",!0),e.menuHasChildren(e.item)&&e.getShowMenu?(ue(),ce(c,{key:1,name:e.item.path,class:[e.getLevelClass,e.theme],collapsedShowTitle:e.collapsedShowTitle},{title:fe((()=>[e.getIcon?(ue(),ce(i,{key:0,icon:e.getIcon,size:16},null,8,["icon"])):de("",!0),e.collapsedShowTitle&&e.getIsCollapseParent?(ue(),ce("div",Et,me(e.getI18nName),1)):de("",!0),Be(he("span",{class:["ml-2",`${e.prefixCls}-sub-title`]},me(e.getI18nName),3),[[Ke,e.getShowSubTitle]]),he(s,{item:e.item,collapseParent:!!e.collapse&&!!e.parent},null,8,["item","collapseParent"])])),default:fe((()=>[(ue(!0),ce(Ce,null,Se(e.item.children||[],(t=>(ue(),ce(u,ve({key:t.path},e.$props,{item:t,parent:!1}),null,16,["item"])))),128))])),_:1},8,["name","class","collapsedShowTitle"])):de("",!0)],64)};var Ot=ie({name:"SimpleMenu",components:{Menu:xt,SimpleSubMenu:_t},inheritAttrs:!1,props:{items:{type:Array,default:()=>[]},collapse:s.bool,mixSider:s.bool,theme:s.string,accordion:s.bool.def(!0),collapsedShowTitle:s.bool,beforeClickFn:{type:Function},isSplitMenu:s.bool},emits:["menuClick"],setup(e,{attrs:t,emit:n}){const l=Te(""),o=Te(!1),s=xe({activeName:"",openNames:[],activeSubMenuNames:[]}),{currentRoute:r}=we(),{prefixCls:u}=m("simple-menu"),{items:c,accordion:d,mixSider:p,collapse:g}=Ie(e),{setOpenKeys:S,getOpenKeys:b}=function(e,t,n,l,o){return{setOpenKeys:De((function(o){return i(this,null,(function*(){const a=!l.value,i=be(t.value);f((()=>{if(0===(null==i?void 0:i.length))return e.activeSubMenuNames=[],void(e.openNames=[]);const t=h(i,o);ye(n)?e.openNames=t:e.openNames=Me([...e.openNames,...t]),e.activeSubMenuNames=e.openNames}),30,a)}))}),50),getOpenKeys:se((()=>ye(o)?[]:e.openNames))}}(s,c,d,p,g),M=se((()=>a(a({},t),e)));return Le((()=>e.collapse),(e=>{e?s.openNames=[]:S(r.value.path)}),{immediate:!0}),Le((()=>e.items),(()=>{e.isSplitMenu&&S(r.value.path)}),{flush:"post"}),v((e=>{var t;e.name!==C&&(l.value=null==(t=e.meta)?void 0:t.currentActiveMenu,function(e){i(this,null,(function*(){if(ye(o))return void(o.value=!1);const t=(e||ye(r)).path;s.activeName=t,S(t)}))}(e),ye(l)&&(s.activeName=ye(l),S(ye(l))))})),a({prefixCls:u,getBindValues:M,handleSelect:function(t){return i(this,null,(function*(){if(_(t))return void k(t);const{beforeClickFn:l}=e;if(l&&y(l)){if(!(yield l(t)))return}n("menuClick",t),o.value=!0,S(t),s.activeName=t}))},getOpenKeys:b},Ie(s))}});Ot.render=function(e,t,n,l,o,a){const i=re("SimpleSubMenu"),s=re("Menu");return ue(),ce(s,ve(e.getBindValues,{activeName:e.activeName,openNames:e.getOpenKeys,class:e.prefixCls,activeSubMenuNames:e.activeSubMenuNames,onSelect:e.handleSelect}),{default:fe((()=>[(ue(!0),ce(Ce,null,Se(e.items,(t=>(ue(),ce(i,{key:t.path,item:t,parent:!0,collapsedShowTitle:e.collapsedShowTitle,collapse:e.collapse},null,8,["item","collapsedShowTitle","collapse"])))),128))])),_:1},16,["activeName","openNames","class","activeSubMenuNames","onSelect"])};var $t=ie({name:"SimpleMenuTag",props:{item:{type:Object,default:()=>({})},dot:s.bool,collapseParent:s.bool},setup(e){const{prefixCls:t}=m("simple-menu"),n=se((()=>{const{item:t}=e;if(!t)return!1;const{tag:n}=t;if(!n)return!1;const{dot:l,content:o}=n;return!(!l&&!o)})),l=se((()=>{if(!n.value)return"";const{item:t,collapseParent:l}=e,{tag:o}=t,{dot:a,content:i}=o;return a||l?"":i}));return{getTagClass:se((()=>{const{item:n,collapseParent:l}=e,{tag:o={}}=n||{},{dot:a,type:i="error"}=o,s=`${t}-tag`;return[s,[`${s}--${i}`],{[`${s}--collapse`]:l,[`${s}--dot`]:a||e.dot}]})),getShowTag:n,getContent:l}}});$t.render=function(e,t,n,l,o,a){return e.getShowTag?(ue(),ce("span",{key:0,class:e.getTagClass},me(e.getContent),3)):de("",!0)};var Rt=Object.freeze({__proto__:null,[Symbol.toStringTag]:"Module",default:$t});var Ht=ie({name:"LayoutMenu",props:{theme:s.oneOf(["light","dark"]),splitType:{type:Number,default:$.NONE},isHorizontal:s.bool,menuMode:{type:[String],default:""}},setup(e){const o=N(),{getMenuMode:a,getMenuType:s,getMenuTheme:u,getCollapsed:c,getCollapsedShowTitle:d,getAccordion:p,getIsHorizontal:f,getIsSidebarType:h,getSplit:v}=g(),{getShowLogo:C}=F(),{prefixCls:y}=m("layout-menu"),{menusRef:b}=function(e){const t=Te([]),{currentRoute:n}=we(),{getIsMobile:l}=E(),o=O(),{setMenuSetting:a,getIsHorizontal:s,getSplit:r}=g(),u=We((function(e){return i(this,null,(function*(){if(ye(d)||ye(l))return;const n=yield P(e);if(!n||!n.length)return a({hidden:!0}),void(t.value=[]);a({hidden:!1}),t.value=n}))}),50),c=se((()=>ye(e)!==$.LEFT&&!ye(s))),d=se((()=>!ye(r)||ye(e)!==$.LEFT)),p=se((()=>ye(e)===$.TOP)),m=se((()=>ye(e)===$.NONE||!ye(r)));function f(){return i(this,null,(function*(){if(ye(m)||ye(l))t.value=yield R();else if(ye(p)){const e=yield H();t.value=e}}))}return Le([()=>ye(n).path,()=>ye(e)],(e=>i(this,[e],(function*([e]){if(ye(c)||ye(l))return;const{meta:t}=ye(n),o=t.currentActiveMenu;let a=yield S(e);a||(a=yield S(o)),a&&u(a)}))),{immediate:!0}),Le([()=>o.getLastBuildMenuTime,()=>o.getBackMenuList],(()=>{f()}),{immediate:!0}),Le((()=>r.value),(()=>{ye(c)||f()})),{menusRef:t}}(ze(e,"splitType")),{getIsMobile:M}=E(),T=se((()=>ye(M)?r.INLINE:e.menuMode||ye(a))),x=se((()=>e.theme||ye(u))),I=se((()=>ye(C)&&ye(h))),w=se((()=>!ye(f)&&(ye(h)||e.splitType===$.LEFT||e.splitType===$.NONE))),L=se((()=>({height:`calc(100% - ${ye(I)?"48px":"0px"})`}))),K=se((()=>[`${y}-logo`,ye(x),{[`${y}--mobile`]:ye(M)}])),D=se((()=>{const e=ye(b);return{menus:e,beforeClickFn:z,items:e,theme:ye(x),accordion:ye(p),collapse:ye(c),collapsedShowTitle:ye(d),onMenuClick:W}}));function W(e){o(e)}function z(e){return i(this,null,(function*(){return!_(e)||(k(e),!1)}))}function j(){const o=ye(D),{menus:a}=o,i=((e,o)=>{var a={};for(var i in e)n.call(e,i)&&o.indexOf(i)<0&&(a[i]=e[i]);if(null!=e&&t)for(var i of t(e))o.indexOf(i)<0&&l.call(e,i)&&(a[i]=e[i]);return a})(o,["menus"]);return a&&a.length?e.isHorizontal?he(bt,ve(i,{isHorizontal:e.isHorizontal,type:ye(s),showLogo:ye(I),mode:ye(T),items:a}),null):he(Ot,ve(i,{isSplitMenu:ye(v),items:a}),null):null}return()=>he(Ce,null,[ye(I)||ye(M)?he(B,{showTitle:!ye(c),class:ye(K),theme:ye(x)},null):null,ye(w)?he(A,{style:ye(L)},{default:()=>j()}):j()])}}),Pt=ie({name:"HeaderTrigger",components:{MenuUnfoldOutlined:je,MenuFoldOutlined:Ve},props:{theme:s.oneOf(["light","dark"])},setup(){const{getCollapsed:e,toggleCollapsed:t}=g(),{prefixCls:n}=m("layout-header-trigger");return{getCollapsed:e,toggleCollapsed:t,prefixCls:n}}});Pt.render=function(e,t,n,l,o,a){const i=re("MenuUnfoldOutlined"),s=re("MenuFoldOutlined");return ue(),ce("span",{class:[e.prefixCls,e.theme],onClick:t[1]||(t[1]=(...t)=>e.toggleCollapsed&&e.toggleCollapsed(...t))},[e.getCollapsed?(ue(),ce(i,{key:0})):(ue(),ce(s,{key:1}))],2)};var Nt=ie({name:"LayoutTrigger",components:{SiderTrigger:it((()=>L((()=>import("./SiderTrigger.fbcb799c.js")),["/assets/SiderTrigger.fbcb799c.js","/assets/index.f72cd585.js","/assets/index.69000eb3.css","/assets/vendor.bc3b2d68.js","/assets/vendor.70495537.css"]))),HeaderTrigger:Pt},props:{sider:s.bool.def(!0),theme:s.oneOf(["light","dark"])}});Nt.render=function(e,t,n,l,o,a){const i=re("SiderTrigger"),s=re("HeaderTrigger");return e.sider?(ue(),ce(i,{key:0})):(ue(),ce(s,{key:1,theme:e.theme},null,8,["theme"]))};var Ft=ie({name:"FullScreen",components:{FullscreenExitOutlined:Ue,FullscreenOutlined:Ge,Tooltip:He},setup(){const{t:e}=d(),{toggle:t,isFullscreen:n}=Xe();return{getTitle:se((()=>ye(n)?e("layout.header.tooltipExitFull"):e("layout.header.tooltipEntryFull"))),isFullscreen:n,toggle:t}}});Ft.render=function(e,t,n,l,o,a){const i=re("FullscreenOutlined"),s=re("FullscreenExitOutlined"),r=re("Tooltip");return ue(),ce(r,{title:e.getTitle,placement:"bottom",mouseEnterDelay:.5},{default:fe((()=>[he("span",{onClick:t[1]||(t[1]=(...t)=>e.toggle&&e.toggle(...t))},[e.isFullscreen?(ue(),ce(s,{key:1})):(ue(),ce(i,{key:0}))])])),_:1},8,["title","mouseEnterDelay"])};const At=it((()=>L((()=>import("./index.9ebd9097.js")),["/assets/index.9ebd9097.js","/assets/index.38311eed.css","/assets/index.f72cd585.js","/assets/index.69000eb3.css","/assets/vendor.bc3b2d68.js","/assets/vendor.70495537.css","/assets/siteSetting.136c2269.js","/assets/useModal.a73129f6.js","/assets/useModal.054ab88c.css","/assets/useWindowSizeFn.ade0e88c.js","/assets/header.d801b988.js","/assets/createAsyncComponent.d1e6eb80.js"])),{loading:!0}),Bt=it((()=>L((()=>import("./Breadcrumb.97407f64.js")),["/assets/Breadcrumb.97407f64.js","/assets/Breadcrumb.54222305.css","/assets/index.8380a240.css","/assets/vendor.bc3b2d68.js","/assets/vendor.70495537.css","/assets/index.f72cd585.js","/assets/index.69000eb3.css"]))),Kt=it((()=>L((()=>import("./index.245efc69.js")),["/assets/index.245efc69.js","/assets/index.7a6d6ac2.css","/assets/index.4881b566.css","/assets/index.d9aa5ddd.css","/assets/index.7b06eab5.css","/assets/index.0edc9df2.css","/assets/index.1a5082d8.css","/assets/index.80c4f864.css","/assets/vendor.bc3b2d68.js","/assets/vendor.70495537.css","/assets/index.f72cd585.js","/assets/index.69000eb3.css"]))),Dt=it((()=>L((()=>import("./ErrorAction.020c9073.js")),["/assets/ErrorAction.020c9073.js","/assets/index.d9aa5ddd.css","/assets/vendor.bc3b2d68.js","/assets/vendor.70495537.css","/assets/index.f72cd585.js","/assets/index.69000eb3.css"])));var Wt=ie({name:"LayoutHeader",components:{Header:qe.Header,AppLogo:B,LayoutTrigger:Nt,LayoutBreadcrumb:Bt,LayoutMenu:Ht,UserDropDown:At,AppLocalePicker:K,FullScreen:Ft,Notify:Kt,AppSearch:D,ErrorAction:Dt,SettingDrawer:it((()=>L((()=>import("./index.fc9eb62b.js").then((function(e){return e.i}))),["/assets/index.fc9eb62b.js","/assets/index.6d85b653.css","/assets/useDrawer.3e367858.js","/assets/useDrawer.1b4eeea2.css","/assets/index.864ac48e.css","/assets/vendor.bc3b2d68.js","/assets/vendor.70495537.css","/assets/index.f72cd585.js","/assets/index.69000eb3.css","/assets/createAsyncComponent.d1e6eb80.js","/assets/useFrameKeepAlive.8285c476.js"])),{loading:!0})},props:{fixed:s.bool},setup(e){const{prefixCls:t}=m("layout-header"),{getShowTopMenu:n,getShowHeaderTrigger:l,getSplit:o,getIsMixMode:a,getMenuWidth:i,getIsMixSidebar:s}=g(),{getUseErrorHandle:u,getShowSettingButton:c,getSettingButtonPosition:d}=F(),{getHeaderTheme:p,getShowFullScreen:f,getShowNotice:h,getShowContent:v,getShowBread:C,getShowHeaderLogo:S,getShowHeader:y}=W(),{getShowLocalePicker:b}=z(),{getIsMobile:M}=E(),T=se((()=>{const n=ye(p);return[t,{[`${t}--fixed`]:e.fixed,[`${t}--mobile`]:ye(M),[`${t}--${n}`]:n}]})),x=se((()=>{if(!ye(c))return!1;const e=ye(d);return e===j.AUTO?ye(y):e===j.HEADER})),I=se((()=>{if(!ye(a)||ye(M))return{};return{width:`${ye(i)<180?180:ye(i)}px`}})),w=se((()=>ye(o)?$.TOP:$.NONE)),L=se((()=>ye(o)?r.HORIZONTAL:null));return{prefixCls:t,getHeaderClass:T,getShowHeaderLogo:S,getHeaderTheme:p,getShowHeaderTrigger:l,getIsMobile:M,getShowBread:C,getShowContent:v,getSplitType:w,getSplit:o,getMenuMode:L,getShowTopMenu:n,getShowLocalePicker:b,getShowFullScreen:f,getShowNotice:h,getUseErrorHandle:u,getLogoWidth:I,getIsMixSidebar:s,getShowSettingButton:c,getShowSetting:x}}});Wt.render=function(e,t,n,l,o,a){const i=re("AppLogo"),s=re("LayoutTrigger"),r=re("LayoutBreadcrumb"),u=re("LayoutMenu"),c=re("AppSearch"),d=re("ErrorAction"),p=re("Notify"),m=re("FullScreen"),g=re("AppLocalePicker"),f=re("UserDropDown"),h=re("SettingDrawer"),v=re("Header");return ue(),ce(v,{class:e.getHeaderClass},{default:fe((()=>[he("div",{class:`${e.prefixCls}-left`},[e.getShowHeaderLogo||e.getIsMobile?(ue(),ce(i,{key:0,class:`${e.prefixCls}-logo`,theme:e.getHeaderTheme,style:e.getLogoWidth},null,8,["class","theme","style"])):de("",!0),e.getShowContent&&e.getShowHeaderTrigger&&!e.getSplit&&!e.getIsMixSidebar||e.getIsMobile?(ue(),ce(s,{key:1,theme:e.getHeaderTheme,sider:!1},null,8,["theme"])):de("",!0),e.getShowContent&&e.getShowBread?(ue(),ce(r,{key:2,theme:e.getHeaderTheme},null,8,["theme"])):de("",!0)],2),e.getShowTopMenu&&!e.getIsMobile?(ue(),ce("div",{key:0,class:`${e.prefixCls}-menu`},[he(u,{isHorizontal:!0,theme:e.getHeaderTheme,splitType:e.getSplitType,menuMode:e.getMenuMode},null,8,["theme","splitType","menuMode"])],2)):de("",!0),he("div",{class:`${e.prefixCls}-action`},[he(c,{class:`${e.prefixCls}-action__item `},null,8,["class"]),e.getUseErrorHandle?(ue(),ce(d,{key:0,class:`${e.prefixCls}-action__item error-action`},null,8,["class"])):de("",!0),e.getShowNotice?(ue(),ce(p,{key:1,class:`${e.prefixCls}-action__item notify-item`},null,8,["class"])):de("",!0),e.getShowFullScreen?(ue(),ce(m,{key:2,class:`${e.prefixCls}-action__item fullscreen-item`},null,8,["class"])):de("",!0),e.getShowLocalePicker?(ue(),ce(g,{key:3,reload:!0,showText:!1,class:`${e.prefixCls}-action__item`},null,8,["class"])):de("",!0),he(f,{theme:e.getHeaderTheme},null,8,["theme"]),e.getShowSetting?(ue(),ce(h,{key:4,class:`${e.prefixCls}-action__item`},null,8,["class"])):de("",!0)],2)])),_:1},8,["class"])};var zt=ie({name:"FrameLayout",components:{FramePage:st},setup(){const{getFramePages:e,hasRenderFrame:t,showIframe:n}=rt(),l=se((()=>ye(e).length>0));return{getFramePages:e,hasRenderFrame:t,showIframe:n,showFrame:l}}});const jt={key:0};function Vt({route:e,openCache:t,cacheTabs:n,enableTransition:l,def:o}){if(!l)return null;const a=n.includes(e.name),i="fade-slide";let s=i;return t&&(s=a&&e.meta.loaded?i:null),s||e.meta.transitionName||o}zt.render=function(e,t,n,l,o,a){const i=re("FramePage");return e.showFrame?(ue(),ce("div",jt,[(ue(!0),ce(Ce,null,Se(e.getFramePages,(t=>(ue(),ce(Ce,{key:t.path},[t.meta.frameSrc&&e.hasRenderFrame(t.name)?Be((ue(),ce(i,{key:0,frameSrc:t.meta.frameSrc},null,8,["frameSrc"])),[[Ke,e.showIframe(t)]]):de("",!0)],64)))),128))])):de("",!0)};var Ut=ie({name:"PageLayout",components:{FrameLayout:zt},setup(){const{getShowMultipleTab:e}=ut(),t=V(),{getOpenKeepAlive:n,getCanEmbedIFramePage:l}=F(),{getBasicTransition:o,getEnableTransition:a}=U();return{getTransitionName:Vt,openCache:se((()=>ye(n)&&ye(e))),getEnableTransition:a,getBasicTransition:o,getCaches:se((()=>ye(n)?t.getCachedTabList:[])),getCanEmbedIFramePage:l}}});Ut.render=function(e,t,n,l,o,a){const i=re("RouterView"),s=re("FrameLayout");return ue(),ce(Ce,null,[he(i,null,{default:fe((({Component:t,route:n})=>[he(Qe,{name:e.getTransitionName({route:n,openCache:e.openCache,enableTransition:e.getEnableTransition,cacheTabs:e.getCaches,def:e.getBasicTransition}),mode:"out-in",appear:""},{default:fe((()=>[e.openCache?(ue(),ce(Ye,{key:0,include:e.getCaches},[(ue(),ce(Ze(t),{key:n.fullPath}))],1032,["include"])):(ue(),ce(Ze(t),{key:n.fullPath}))])),_:2},1032,["name"])])),_:1}),e.getCanEmbedIFramePage?(ue(),ce(s,{key:0})):de("",!0)],64)};const Gt=Te(0);var Xt=ie({name:"LayoutContent",components:{PageLayout:Ut},setup(){const{prefixCls:e}=m("layout-content"),{getOpenPageLoading:t}=U(),{getLayoutContentMode:n,getPageLoading:l}=F();return function(){const e=Te(window.innerHeight),t=Te(window.innerHeight),n=se((()=>ye(e)-ye(Gt)||0));dt((()=>{e.value=window.innerHeight}),100,{immediate:!0}),ct({contentHeight:n,setPageHeight:function(e){return i(this,null,(function*(){t.value=e}))},pageHeight:t})}(),{prefixCls:e,getOpenPageLoading:t,getLayoutContentMode:n,getPageLoading:l}}});function qt(e,t,n=!1){const{getMiniWidthNumber:l,getCollapsed:o,setMenuSetting:a}=g();function i(e){var t;const n=ye(e);return n?Reflect.has(n,"$el")?null==(t=ye(e))?void 0:t.$el:ye(e):null}function s(){const s=i(t);if(!s)return;const r=i(e);r&&(s.onmousedown=t=>{var u;r.style.transition="unset";const c=null==t?void 0:t.clientX;return s.left=s.offsetLeft,function(e,t,n){document.onmousemove=function(o){let a=e.left+(o.clientX-n);o=o||window.event;const i=ye(l);return a<0&&(a=0),a>800&&(a=800),a<i&&(a=i),e.style.left=t.style.width=a+"px",!1}}(s,r,c),function(t){const s=i(e);document.onmouseup=function(){var e;document.onmousemove=null,document.onmouseup=null,s.style.transition="width 0.2s";const i=parseInt(s.style.width);if(n)a({menuWidth:i});else{const e=ye(l);ye(o)?i>e&&a({collapsed:!1,menuWidth:i}):a(i>e+20?{menuWidth:i}:{collapsed:!0})}null==(e=t.releaseCapture)||e.call(t)}}(s),null==(u=s.setCapture)||u.call(s),!1})}return Ee((()=>{Oe((()=>{De(s,80)()}))})),{}}Xt.render=function(e,t,n,l,o,a){const i=re("PageLayout"),s=Je("loading");return Be((ue(),ce("div",{class:[e.prefixCls,e.getLayoutContentMode]},[he(i)],2)),[[s,e.getOpenPageLoading&&e.getPageLoading]])};var Qt=ie({name:"DargBar",props:{mobile:Boolean},setup(e){const{getMiniWidthNumber:t,getCollapsed:n,getCanDrag:l}=g(),{prefixCls:o}=m("darg-bar"),a=se((()=>ye(n)?{left:`${ye(t)}px`}:{})),i=se((()=>[o,{[`${o}--hide`]:!ye(l)||e.mobile}]));return{prefixCls:o,getDragBarStyle:a,getClass:i}}});const Yt=et()(((e,t,n,l,o,a)=>(ue(),ce("div",{class:e.getClass,style:e.getDragBarStyle},null,6))));Qt.render=Yt,Qt.__scopeId="data-v-6c5327ec";var Zt=ie({name:"LayoutSideBar",components:{Sider:qe.Sider,LayoutMenu:Ht,DragBar:Qt,LayoutTrigger:Nt},setup(){const e=Te(null),t=Te(null),{getCollapsed:n,getMenuWidth:l,getSplit:o,getMenuTheme:a,getRealWidth:i,getMenuHidden:s,getMenuFixed:u,getIsMixMode:c}=g(),{prefixCls:d}=m("layout-sideBar"),{getIsMobile:p}=E(),{getTriggerAttr:f,getShowTrigger:h}=function(e){const{getTrigger:t,getSplit:n}=g(),l=se((()=>{const l=ye(t);return l!==G.NONE&&!ye(e)&&(l===G.FOOTER||ye(n))}));return{getTriggerAttr:se((()=>ye(l)?{}:{trigger:null})),getShowTrigger:l}}(p);qt(t,e);const{getCollapsedWidth:v,onBreakpointChange:C}=function(){const e=Te(!1),{getMiniWidthNumber:t}=g();return{getCollapsedWidth:se((()=>ye(e)?0:ye(t))),onBreakpointChange:function(t){e.value=t}}}(),S=se((()=>ye(o)?r.INLINE:null)),y=se((()=>ye(o)?$.LEFT:$.NONE)),b=se((()=>!ye(o)||!ye(s))),M=se((()=>[d,{[`${d}--fixed`]:ye(u),[`${d}--mix`]:ye(c)&&!ye(p)}])),T=se((()=>{const e=`${ye(i)}px`;return{width:e,overflow:"hidden",flex:`0 0 ${e}`,maxWidth:e,minWidth:e,transition:"all 0.2s"}}));return{prefixCls:d,sideRef:t,dragBarRef:e,getIsMobile:p,getHiddenDomStyle:T,getSiderClass:M,getTriggerAttr:f,getCollapsedWidth:v,getMenuFixed:u,showClassSideBarRef:b,getMenuWidth:l,getCollapsed:n,getMenuTheme:a,onBreakpointChange:C,getMode:S,getSplitType:y,getShowTrigger:h}}});Zt.render=function(e,t,n,l,o,a){const i=re("LayoutTrigger"),s=re("LayoutMenu"),r=re("DragBar"),u=re("Sider");return ue(),ce(Ce,null,[e.getMenuFixed&&!e.getIsMobile?Be((ue(),ce("div",{key:0,style:e.getHiddenDomStyle},null,4)),[[Ke,e.showClassSideBarRef]]):de("",!0),Be(he(u,ve({ref:"sideRef",breakpoint:"lg",collapsible:"",class:e.getSiderClass,width:e.getMenuWidth,collapsed:e.getCollapsed,collapsedWidth:e.getCollapsedWidth,theme:e.getMenuTheme,onBreakpoint:e.onBreakpointChange},e.getTriggerAttr),tt({default:fe((()=>[he(s,{theme:e.getMenuTheme,menuMode:e.getMode,splitType:e.getSplitType},null,8,["theme","menuMode","splitType"]),he(r,{ref:"dragBarRef"},null,512)])),_:2},[e.getShowTrigger?{name:"trigger",fn:fe((()=>[he(i)]))}:void 0]),1040,["class","width","collapsed","collapsedWidth","theme","onBreakpoint"]),[[Ke,e.showClassSideBarRef]])],64)};var Jt=ie({name:"LayoutMixSider",components:{ScrollContainer:A,AppLogo:B,SimpleMenu:Ot,Icon:p,Trigger:Pt,SimpleMenuTag:$t},directives:{clickOutside:X},setup(){let e=Te([]);const t=Te(""),n=Te([]),l=Te(!1),o=Te(null),a=Te(null),s=Te(null),{prefixCls:r}=m("layout-mix-sider"),u=N(),{t:c}=d(),{getMenuWidth:p,getCanDrag:f,getCloseMixSidebarOnChange:h,getMenuTheme:C,getMixSideTrigger:y,getRealWidth:b,getMixSideFixed:M,mixSideHasChildren:T,setMenuSetting:x,getIsMixSidebar:I,getCollapsed:w}=g(),{title:L}=q();qt(a,o,!0);const _=se((()=>({width:ye(l)?`${ye(p)}px`:0,left:`${ye(E)}px`}))),k=se((()=>{T.value=ye(n).length>0;const e=ye(M)&&ye(T);return e&&(l.value=!0),e})),E=se((()=>ye(w)?Q:Y)),O=se((()=>{const e=ye(k)?ye(b):0;return A(`${ye(E)+e}px`)})),$=se((()=>A(`${ye(E)}px`))),R=se((()=>ye(M)?{}:{onMouseleave:()=>{D()}})),F=se((()=>ye(f)));function A(e){return{width:e,maxWidth:e,minWidth:e,flex:`0 0 ${e}`}}function B(e,o=!1){return i(this,null,(function*(){const a=yield P(e);if(ye(t)===e?(o||(ye(l)?D():l.value=!0),ye(l)||K()):(l.value=!0,t.value=e),!a||0===a.length)return u(e),n.value=[],void D();n.value=a}))}function K(o=!1){return i(this,null,(function*(){var a;const i=null==(a=s.value)?void 0:a.path;if(!i)return;const r=yield S(i);if(t.value=r,ye(I)){const a=ye(e).find((e=>e.path===ye(t))),i=null==a?void 0:a.path;if(i){const e=yield P(i);o&&(n.value=e,ye(M)&&(l.value=e.length>0)),0===e.length&&(n.value=[])}}}))}function D(){ye(k)||(l.value=!1)}return Ee((()=>i(this,null,(function*(){e.value=yield H()})))),v((e=>{s.value=e,K(!0),ye(h)&&D()})),{t:c,prefixCls:r,menuModules:e,hanldeModuleClick:B,activePath:t,chilrenMenus:n,getShowDragBar:F,handleMenuClick:function(e){u(e)},getMenuStyle:_,handleClickOutside:function(){K(!0),D()},sideRef:a,dragBarRef:o,title:L,openMenu:l,getMenuTheme:C,getItemEvents:function(e){return"hover"===ye(y)?{onMouseenter:()=>B(e.path,!0)}:{onClick:()=>B(e.path)}},getMenuEvents:R,getDomStyle:O,handleFixedMenu:function(){x({mixSideFixed:!ye(k)})},getMixSideFixed:M,getWrapStyle:$,getCollapsed:w}}});const en={class:"text"};Jt.render=function(e,t,n,l,o,a){const i=re("AppLogo"),s=re("Trigger"),r=re("SimpleMenuTag"),u=re("Icon"),c=re("ScrollContainer"),d=re("SimpleMenu"),p=Je("click-outside");return ue(),ce(Ce,null,[he("div",{class:`${e.prefixCls}-dom`,style:e.getDomStyle},null,6),Be(he("div",ve({style:e.getWrapStyle,class:[e.prefixCls,e.getMenuTheme,{open:e.openMenu,mini:e.getCollapsed}]},e.getMenuEvents),[he(i,{showTitle:!1,class:`${e.prefixCls}-logo`},null,8,["class"]),he(s,{class:`${e.prefixCls}-trigger`},null,8,["class"]),he(c,null,{default:fe((()=>[he("ul",{class:`${e.prefixCls}-module`},[(ue(!0),ce(Ce,null,Se(e.menuModules,(t=>(ue(),ce("li",ve({class:[`${e.prefixCls}-module__item `,{[`${e.prefixCls}-module__item--active`]:t.path===e.activePath}]},e.getItemEvents(t),{key:t.path}),[he(r,{item:t,collapseParent:"",dot:""},null,8,["item"]),he(u,{class:`${e.prefixCls}-module__icon`,size:e.getCollapsed?16:20,icon:t.icon||t.meta&&t.meta.icon},null,8,["class","size","icon"]),he("p",{class:`${e.prefixCls}-module__name`},me(e.t(t.name)),3)],16)))),128))],2)])),_:1}),he("div",{class:`${e.prefixCls}-menu-list`,ref:"sideRef",style:e.getMenuStyle},[Be(he("div",{class:[`${e.prefixCls}-menu-list__title`,{show:e.openMenu}]},[he("span",en,me(e.title),1),he(u,{size:16,icon:e.getMixSideFixed?"ri:pushpin-2-fill":"ri:pushpin-2-line",class:"pushpin",onClick:e.handleFixedMenu},null,8,["icon","onClick"])],2),[[Ke,e.openMenu]]),he(c,{class:`${e.prefixCls}-menu-list__content`},{default:fe((()=>[he(d,{items:e.chilrenMenus,theme:e.getMenuTheme,mixSider:"",onMenuClick:e.handleMenuClick},null,8,["items","theme","onMenuClick"])])),_:1},8,["class"]),Be(he("div",{class:`${e.prefixCls}-drag-bar`,ref:"dragBarRef"},null,2),[[Ke,e.getShowDragBar&&e.openMenu]])],6)],16),[[p,e.handleClickOutside]])],64)};var tn,nn,ln,on,an=ie({name:"SiderWrapper",components:{Sider:Zt,Drawer:nt,MixSider:Jt},setup(){const{prefixCls:e}=m("layout-sider-wrapper"),{getIsMobile:t}=E(),{setMenuSetting:n,getCollapsed:l,getMenuWidth:o,getIsMixSidebar:a}=g();return{prefixCls:e,getIsMobile:t,getCollapsed:l,handleClose:function(){n({collapsed:!0})},getMenuWidth:o,getIsMixSidebar:a}}});an.render=function(e,t,n,l,o,a){const i=re("Sider"),s=re("Drawer"),r=re("MixSider");return e.getIsMobile?(ue(),ce(s,{key:0,placement:"left",class:e.prefixCls,width:e.getMenuWidth,getContainer:null,visible:!e.getCollapsed,onClose:e.handleClose},{default:fe((()=>[he(i)])),_:1},8,["class","width","visible","onClose"])):e.getIsMixSidebar?(ue(),ce(r,{key:1})):(ue(),ce(i,{key:2}))},(nn=tn||(tn={}))[nn.TAB_TYPE=0]="TAB_TYPE",nn[nn.EXTRA_TYPE=1]="EXTRA_TYPE",(on=ln||(ln={}))[on.REFRESH_PAGE=0]="REFRESH_PAGE",on[on.CLOSE_CURRENT=1]="CLOSE_CURRENT",on[on.CLOSE_LEFT=2]="CLOSE_LEFT",on[on.CLOSE_RIGHT=3]="CLOSE_RIGHT",on[on.CLOSE_OTHER=4]="CLOSE_OTHER",on[on.CLOSE_ALL=5]="CLOSE_ALL",on[on.SCALE=6]="SCALE";var sn=ie({name:"TabContent",components:{Dropdown:J,Icon:p},props:{tabItem:{type:Object,default:null},isExtra:Boolean},setup(e){const{prefixCls:t}=m("multiple-tabs-content"),{t:n}=d(),l=se((()=>{const{tabItem:{meta:t}={}}=e;return t&&n(t.title)})),o=se((()=>!e.isExtra)),a=se((()=>ye(o)?["contextmenu"]:["click"])),{getDropMenuList:i,handleMenuEvent:s,handleContextMenu:r}=function(e,t){const n=xe({current:null,currentIndex:0}),{t:l}=d(),o=V(),{currentRoute:a}=we(),{refreshPage:i,closeAll:s,close:r,closeLeft:u,closeOther:c,closeRight:p}=Z(),m=se((()=>ye(t)?e.tabItem:ye(a)));return{getDropMenuList:se((()=>{if(!ye(m))return;const{meta:e}=ye(m),{path:t}=ye(a),i=n.current,s=n.currentIndex,r=!i||i.path!==t,u=0===s,c=1===o.getTabList.length,d=s===o.getTabList.length-1&&o.getLastDragEndIndex>=0;return[{icon:"ion:reload-sharp",event:ln.REFRESH_PAGE,text:l("layout.multipleTab.reload"),disabled:r},{icon:"clarity:close-line",event:ln.CLOSE_CURRENT,text:l("layout.multipleTab.close"),disabled:!!(null==e?void 0:e.affix)||c,divider:!0},{icon:"line-md:arrow-close-left",event:ln.CLOSE_LEFT,text:l("layout.multipleTab.closeLeft"),disabled:u,divider:!1},{icon:"line-md:arrow-close-right",event:ln.CLOSE_RIGHT,text:l("layout.multipleTab.closeRight"),disabled:d,divider:!0},{icon:"dashicons:align-center",event:ln.CLOSE_OTHER,text:l("layout.multipleTab.closeOther"),disabled:c},{icon:"clarity:minus-line",event:ln.CLOSE_ALL,text:l("layout.multipleTab.closeAll"),disabled:c}]})),handleMenuEvent:function(t){const{event:n}=t;switch(n){case ln.REFRESH_PAGE:i();break;case ln.CLOSE_CURRENT:r(e.tabItem);break;case ln.CLOSE_LEFT:u();break;case ln.CLOSE_RIGHT:p();break;case ln.CLOSE_OTHER:c();break;case ln.CLOSE_ALL:s()}},handleContextMenu:function(e){return t=>{if(!e)return;null==t||t.preventDefault();const l=o.getTabList.findIndex((t=>t.path===e.path));n.current=e,n.currentIndex=l}}}}(e,o);return{prefixCls:t,getDropMenuList:i,handleMenuEvent:s,handleContext:function(t){e.tabItem&&r(e.tabItem)(t)},getTrigger:a,getIsTabs:o,getTitle:l}}});const rn={class:"ml-1"};sn.render=function(e,t,n,l,o,a){const i=re("Icon"),s=re("Dropdown");return ue(),ce(s,{dropMenuList:e.getDropMenuList,trigger:e.getTrigger,onMenuEvent:e.handleMenuEvent},{default:fe((()=>[e.getIsTabs?(ue(),ce("div",{key:0,class:`${e.prefixCls}__info`,onContextmenu:t[1]||(t[1]=(...t)=>e.handleContext&&e.handleContext(...t))},[he("span",rn,me(e.getTitle),1)],34)):(ue(),ce("span",{key:1,class:`${e.prefixCls}__extra-quick`,onClick:t[2]||(t[2]=(...t)=>e.handleContext&&e.handleContext(...t))},[he(i,{icon:"ion:chevron-down"})],2))])),_:1},8,["dropMenuList","trigger","onMenuEvent"])};var un=ie({name:"FoldButton",components:{Icon:p},setup(){const{prefixCls:e}=m("multiple-tabs-content"),{getShowMenu:t,setMenuSetting:n}=g(),{getShowHeader:l,setHeaderSetting:o}=W(),a=se((()=>!ye(t)&&!ye(l)));return{prefixCls:e,getIcon:se((()=>ye(a)?"codicon:screen-normal":"codicon:screen-full")),handleFold:function(){const e=ye(a);n({show:e,hidden:!e}),o({show:e}),ee()}}}});un.render=function(e,t,n,l,o,a){const i=re("Icon");return ue(),ce("span",{class:`${e.prefixCls}__extra-fold`,onClick:t[1]||(t[1]=(...t)=>e.handleFold&&e.handleFold(...t))},[he(i,{icon:e.getIcon},null,8,["icon"])],2)};var cn=ie({name:"TabRedo",components:{RedoOutlined:lt},setup(){const e=Te(!1),{prefixCls:t}=m("multiple-tabs-content"),{refreshPage:n}=Z();return{prefixCls:t,handleRedo:function(){return i(this,null,(function*(){e.value=!0,yield n(),setTimeout((()=>{e.value=!1}),1200)}))},loading:e}}});function dn(){const e=Te([]),t=V(),n=we();let l=!1;return l||(!function(){const l=function(e){const t=[];return e&&e.forEach((e=>{e.meta&&e.meta.affix&&t.push(be(e))})),t}(n.getRoutes());e.value=l;for(const e of l)t.addTab({meta:e.meta,name:e.name,path:e.path})}(),l=!0),e.value.map((e=>{var t;return null==(t=e.meta)?void 0:t.title})).filter(Boolean)}cn.render=function(e,t,n,l,o,a){const i=re("RedoOutlined");return ue(),ce("span",{class:`${e.prefixCls}__extra-redo`,onClick:t[1]||(t[1]=(...t)=>e.handleRedo&&e.handleRedo(...t))},[he(i,{spin:e.loading},null,8,["spin"])],2)};var pn=ie({name:"MultipleTabs",components:{TabRedo:cn,FoldButton:un,Tabs:ot,TabPane:ot.TabPane,TabContent:sn},setup(){const e=dn(),t=Te("");!function(e){const t=V(),{multiTabsSetting:n}=te,{prefixCls:l}=m("multiple-tabs");Oe((()=>{var o;if(!n.canDrag)return;const a=null==(o=document.querySelectorAll(`.${l} .ant-tabs-nav > div`))?void 0:o[0],{initSortable:i}=pt(a,{filter:t=>{var n;const l=null==(n=null==t?void 0:t.target)?void 0:n.innerText;return!!l&&e.includes(l)},onEnd:e=>{const{oldIndex:n,newIndex:l}=e;ne(n)||ne(l)||n===l||t.sortTabs(n,l)}});i()}))}(e);const n=V(),l=le(),o=we(),{prefixCls:a}=m("multiple-tabs"),i=N(),{getShowQuick:s,getShowRedo:r,getShowFold:u}=ut(),c=se((()=>n.getTabList.filter((e=>{var t;return!(null==(t=e.meta)?void 0:t.hideTab)})))),d=se((()=>1===ye(c).length)),p=se((()=>[a,{[`${a}--hide-close`]:ye(d)}]));return v((e=>{const{name:a}=e;if(a===C||!e||!l.getToken)return;const{path:i,fullPath:s,meta:r={}}=e,{currentActiveMenu:u,hideTab:c}=r,d=c?u:null,p=d||s||i;if(t.value!==p&&(t.value=p),d){const e=o.getRoutes().find((e=>e.path===u));e&&n.addTab(e)}else n.addTab(ye(e))})),{prefixCls:a,unClose:d,getWrapClass:p,handleEdit:function(e){ye(d)||n.closeTabByKey(e,o)},handleChange:function(e){t.value=e,i(e,!1)},activeKeyRef:t,getTabsState:c,getShowQuick:s,getShowRedo:r,getShowFold:u}}});pn.render=function(e,t,n,l,o,a){const i=re("TabContent"),s=re("TabPane"),r=re("TabRedo"),u=re("FoldButton"),c=re("Tabs");return ue(),ce("div",{class:e.getWrapClass},[he(c,{type:"editable-card",size:"small",animated:!1,hideAdd:!0,tabBarGutter:3,activeKey:e.activeKeyRef,onChange:e.handleChange,onEdit:e.handleEdit},tt({default:fe((()=>[(ue(!0),ce(Ce,null,Se(e.getTabsState,(e=>(ue(),ce(s,{key:e.query?e.fullPath:e.path,closable:!(e&&e.meta&&e.meta.affix)},{tab:fe((()=>[he(i,{tabItem:e},null,8,["tabItem"])])),_:2},1032,["closable"])))),128))])),_:2},[e.getShowRedo||e.getShowQuick?{name:"tabBarExtraContent",fn:fe((()=>[e.getShowRedo?(ue(),ce(r,{key:0})):de("",!0),e.getShowQuick?(ue(),ce(i,{key:1,isExtra:"",tabItem:e.$route},null,8,["tabItem"])):de("",!0),e.getShowFold?(ue(),ce(u,{key:2})):de("",!0)]))}:void 0]),1032,["activeKey","onChange","onEdit"])],2)};var mn=ie({name:"LayoutMultipleHeader",components:{LayoutHeader:Wt,MultipleTabs:pn},setup(){const{prefixCls:e}=m("layout-multiple-header"),{getCalcContentWidth:t,getSplit:n}=g(),{getIsMobile:l}=E(),{getFixed:o,getShowInsetHeaderRef:a,getShowFullHeaderRef:i,getHeaderTheme:s,getShowHeader:r}=W(),{getFullContent:u}=oe(),{getShowMultipleTab:c}=ut(),d=se((()=>ye(c)&&!ye(u))),p=se((()=>ye(o)||ye(i))),f=se((()=>{const e={};return ye(o)&&(e.width=ye(l)?"100%":ye(t)),ye(i)&&(e.top="48px"),e})),h=se((()=>ye(o)||ye(i))),v=se((()=>{let e=0;return!ye(i)&&ye(n)||!ye(r)||ye(u)||(e+=48),ye(c)&&!ye(u)&&(e+=32),Gt.value=e,{height:`${e}px`}}));return{getClass:se((()=>[e,`${e}--${ye(s)}`,{[`${e}--fixed`]:ye(h)}])),prefixCls:e,getPlaceholderDomStyle:v,getIsFixed:h,getWrapStyle:f,getIsShowPlaceholderDom:p,getShowTabs:d,getShowInsetHeaderRef:a}}});const gn=et()(((e,t,n,l,o,a)=>{const i=re("LayoutHeader"),s=re("MultipleTabs");return ue(),ce(Ce,null,[e.getIsShowPlaceholderDom?(ue(),ce("div",{key:0,style:e.getPlaceholderDomStyle},null,4)):de("",!0),he("div",{style:e.getWrapStyle,class:e.getClass},[e.getShowInsetHeaderRef?(ue(),ce(i,{key:0})):de("",!0),e.getShowTabs?(ue(),ce(s,{key:1})):de("",!0)],6)],64)}));function fn(){const{getLockTime:e}=F(),t=mt(),n=le(),l=ae();let o;function a(){window.clearTimeout(o)}function i(){if(!n.getToken)return void a();const e=l.getProjectConfig.lockTime;!e||e<1?a():(a(),o=setTimeout((()=>{t.setLockInfo({isLock:!0,pwd:void 0})}),60*e*1e3))}_e((e=>{n.getToken?i():a(),e((()=>{a()}))})),at((()=>{a()}));const s=We(i,2e3);return se((()=>ye(e)?{onKeyup:s,onMousemove:s}:(a(),{})))}mn.render=gn,mn.__scopeId="data-v-4f136ca9";var hn=ie({name:"DefaultLayout",components:{LayoutFeatures:it((()=>L((()=>import("./index.9ce9a147.js")),["/assets/index.9ce9a147.js","/assets/index.d905c75a.css","/assets/index.1028f51b.css","/assets/index.e73bb52f.css","/assets/index.0edc9df2.css","/assets/index.6d85b653.css","/assets/index.f72cd585.js","/assets/index.69000eb3.css","/assets/vendor.bc3b2d68.js","/assets/vendor.70495537.css","/assets/createAsyncComponent.d1e6eb80.js","/assets/SessionTimeoutLogin.6c039d3e.js","/assets/SessionTimeoutLogin.5154631d.css","/assets/Login.95fc9278.js","/assets/Login.03e5e8f2.css","/assets/LoginForm.d6b9cdd8.js","/assets/LoginFormTitle.37507c69.js","/assets/ForgetPasswordForm.d52ee8ce.js","/assets/CountdownInput.8664b7cc.js","/assets/CountdownInput.05ee5bdd.css","/assets/RegisterForm.cb36f72a.js","/assets/StrengthMeter.d8342dd8.js","/assets/StrengthMeter.fb6f9f1a.css","/assets/MobileForm.e9268fac.js","/assets/QrCodeForm.b8d5e9e2.js","/assets/Qrcode.ba93bf5a.js","/assets/download.a0c19fe1.js"]))),LayoutFooter:it((()=>L((()=>import("./index.2c4e4c88.js")),["/assets/index.2c4e4c88.js","/assets/index.45757739.css","/assets/index.864ac48e.css","/assets/index.4881b566.css","/assets/vendor.bc3b2d68.js","/assets/vendor.70495537.css","/assets/siteSetting.136c2269.js","/assets/index.f72cd585.js","/assets/index.69000eb3.css","/assets/createAsyncComponent.d1e6eb80.js","/assets/index.9b887749.js","/assets/index.0b21aa7b.css","/assets/useWindowSizeFn.ade0e88c.js","/assets/useFrameKeepAlive.8285c476.js","/assets/usePageContext.8ab99773.js","/assets/useSortable.13695b66.js","/assets/lock.564124dd.js"]))),LayoutHeader:Wt,LayoutContent:Xt,LayoutSideBar:an,LayoutMultipleHeader:mn,Layout:qe},setup(){const{prefixCls:e}=m("default-layout"),{getIsMobile:t}=E(),{getShowFullHeaderRef:n}=W(),{getShowSidebar:l,getIsMixSidebar:o,getShowMenu:a}=g(),i=fn(),s=se((()=>{let e=["ant-layout"];return(ye(o)||ye(a))&&e.push("ant-layout-has-sider"),e}));return{getShowFullHeaderRef:n,getShowSidebar:l,prefixCls:e,getIsMobile:t,getIsMixSidebar:o,layoutClass:s,lockEvents:i}}});hn.render=function(e,t,n,l,o,a){const i=re("LayoutFeatures"),s=re("LayoutHeader"),r=re("LayoutSideBar"),u=re("LayoutMultipleHeader"),c=re("LayoutContent"),d=re("LayoutFooter"),p=re("Layout");return ue(),ce(p,ve({class:e.prefixCls},e.lockEvents),{default:fe((()=>[he(i),e.getShowFullHeaderRef?(ue(),ce(s,{key:0,fixed:""})):de("",!0),he(p,{class:[e.layoutClass]},{default:fe((()=>[e.getShowSidebar||e.getIsMobile?(ue(),ce(r,{key:0})):de("",!0),he(p,{class:`${e.prefixCls}-main`},{default:fe((()=>[he(u),he(c),he(d)])),_:1},8,["class"])])),_:1},8,["class"])])),_:1},16,["class"])};export default hn;
  