=3&&(c.depth=arguments[2]),arguments.length>=4&&(c.colors=arguments[3]),C(r)?c.showHidden=r:r&&t._extend(c,r),b(c.showHidden)&&(c.showHidden=!1),b(c.depth)&&(c.depth=2),b(c.colors)&&(c.colors=!1),b(c.customInspect)&&(c.customInspect=!0),c.colors&&(c.stylize=u),V(c,a,c.depth)}t.inspect=i,i.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},i.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function u(a,r){var c=i.styles[r];return c?"\x1B["+i.colors[c][0]+"m"+a+"\x1B["+i.colors[c][1]+"m":a}function l(a,r){return a}function d(a){var r={};return a.forEach(function(c,S){r[c]=!0}),r}function V(a,r,c){if(a.customInspect&&r&&T(r.inspect)&&r.inspect!==t.inspect&&!(r.constructor&&r.constructor.prototype===r)){var S=r.inspect(c,a);return _(S)||(S=V(a,S,c)),S}var D=p(a,r);if(D)return D;var E=Object.keys(r),L=d(E);if(a.showHidden&&(E=Object.getOwnPropertyNames(r)),y(r)&&(E.indexOf("message")>=0||E.indexOf("description")>=0))return f(r);if(E.length===0){if(T(r)){var P=r.name?": "+r.name:"";return a.stylize("[Function"+P+"]","special")}if(H(r))return a.stylize(RegExp.prototype.toString.call(r),"regexp");if(O(r))return a.stylize(Date.prototype.toString.call(r),"date");if(y(r))return f(r)}var q="",Q=!1,ue=["{","}"];if(x(r)&&(Q=!0,ue=["[","]"]),T(r)){var R=r.name?": "+r.name:"";q=" [Function"+R+"]"}if(H(r)&&(q=" "+RegExp.prototype.toString.call(r)),O(r)&&(q=" "+Date.prototype.toUTCString.call(r)),y(r)&&(q=" "+f(r)),E.length===0&&(!Q||r.length==0))return ue[0]+q+ue[1];if(c<0)return H(r)?a.stylize(RegExp.prototype.toString.call(r),"regexp"):a.stylize("[Object]","special");a.seen.push(r);var me;return Q?me=h(a,r,c,L,E):me=E.map(function(xe){return s(a,r,c,L,xe,Q)}),a.seen.pop(),g(me,q,ue)}function p(a,r){if(b(r))return a.stylize("undefined","undefined");if(_(r)){var c="'"+JSON.stringify(r).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return a.stylize(c,"string")}if(v(r))return a.stylize(""+r,"number");if(C(r))return a.stylize(""+r,"boolean");if(z(r))return a.stylize("null","null")}function f(a){return"["+Error.prototype.toString.call(a)+"]"}function h(a,r,c,S,D){for(var E=[],L=0,P=r.length;L-1&&(E?P=P.split(`
`).map(function(Q){return" "+Q}).join(`
`).substr(2):P=`
`+P.split(`
`).map(function(Q){return" "+Q}).join(`
`))):P=a.stylize("[Circular]","special")),b(L)){if(E&&D.match(/^\d+$/))return P;L=JSON.stringify(""+D),L.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(L=L.substr(1,L.length-2),L=a.stylize(L,"name")):(L=L.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),L=a.stylize(L,"string"))}return L+": "+P}function g(a,r,c){var S=a.reduce(function(D,E){return E.indexOf(`
`)>=0,D+E.replace(/\u001b\[\d\d?m/g,"").length+1},0);return S>60?c[0]+(r===""?"":r+`
`)+" "+a.join(`,
`)+" "+c[1]:c[0]+r+" "+a.join(", ")+" "+c[1]}function x(a){return Array.isArray(a)}t.isArray=x;function C(a){return typeof a=="boolean"}t.isBoolean=C;function z(a){return a===null}t.isNull=z;function B(a){return a==null}t.isNullOrUndefined=B;function v(a){return typeof a=="number"}t.isNumber=v;function _(a){return typeof a=="string"}t.isString=_;function w(a){return typeof a=="symbol"}t.isSymbol=w;function b(a){return a===void 0}t.isUndefined=b;function H(a){return F(a)&&G(a)==="[object RegExp]"}t.isRegExp=H;function F(a){return typeof a=="object"&&a!==null}t.isObject=F;function O(a){return F(a)&&G(a)==="[object Date]"}t.isDate=O;function y(a){return F(a)&&(G(a)==="[object Error]"||a instanceof Error)}t.isError=y;function T(a){return typeof a=="function"}t.isFunction=T;function Z(a){return a===null||typeof a=="boolean"||typeof a=="number"||typeof a=="string"||typeof a=="symbol"||typeof a>"u"}t.isPrimitive=Z,t.isBuffer=xr;function G(a){return Object.prototype.toString.call(a)}function I(a){return a<10?"0"+a.toString(10):a.toString(10)}var we=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function de(){var a=new Date,r=[I(a.getHours()),I(a.getMinutes()),I(a.getSeconds())].join(":");return[a.getDate(),we[a.getMonth()],r].join(" ")}t.log=function(){console.log("%s - %s",de(),t.format.apply(t,arguments))},t.inherits=De,t._extend=function(a,r){if(!r||!F(r))return a;for(var c=Object.keys(r),S=c.length;S--;)a[c[S]]=r[c[S]];return a};function Ve(a,r){return Object.prototype.hasOwnProperty.call(a,r)}})(ut);var Nr=process.platform==="win32",ae=ut;function $e(t,e){for(var n=[],o=0;o=0&&!t[o];o--);return n===0&&o===e?t:n>o?[]:t.slice(n,o+1)}var lt=/^([a-zA-Z]:|[\\\/]{2}[^\\\/]+[\\\/]+[^\\\/]+)?([\\\/])?([\s\S]*?)$/,zr=/^([\s\S]*?)((?:\.{1,2}|[^\\\/]+?|)(\.[^.\/\\]*|))(?:[\\\/]*)$/,W={};function Me(t){var e=lt.exec(t),n=(e[1]||"")+(e[2]||""),o=e[3]||"",i=zr.exec(o),u=i[1],l=i[2],d=i[3];return[n,u,l,d]}function Ue(t){var e=lt.exec(t),n=e[1]||"",o=!!n&&n[1]!==":";return{device:n,isUnc:o,isAbsolute:o||!!e[2],tail:e[3]}}function st(t){return"\\\\"+t.replace(/^[\\\/]+/,"").replace(/[\\\/]+/g,"\\")}W.resolve=function(){for(var t="",e="",n=!1,o=arguments.length-1;o>=-1;o--){var i;if(o>=0?i=arguments[o]:t?(i=process.env["="+t],(!i||i.substr(0,3).toLowerCase()!==t.toLowerCase()+"\\")&&(i=t+"\\")):i=process.cwd(),ae.isString(i)){if(!i)continue}else throw new TypeError("Arguments to path.resolve must be strings");var u=Ue(i),l=u.device,d=u.isUnc,V=u.isAbsolute,p=u.tail;if(!(l&&t&&l.toLowerCase()!==t.toLowerCase())&&(t||(t=l),n||(e=p+"\\"+e,n=V),t&&n))break}return d&&(t=st(t)),e=$e(e.split(/[\\\/]+/),!n).join("\\"),t+(n?"\\":"")+e||"."};W.normalize=function(t){var e=Ue(t),n=e.device,o=e.isUnc,i=e.isAbsolute,u=e.tail,l=/[\\\/]$/.test(u);return u=$e(u.split(/[\\\/]+/),!i).join("\\"),!u&&!i&&(u="."),u&&l&&(u+="\\"),o&&(n=st(n)),n+(i?"\\":"")+u};W.isAbsolute=function(t){return Ue(t).isAbsolute};W.join=function(){for(var t=[],e=0;e=-1&&!e;n--){var o=n>=0?arguments[n]:process.cwd();if(ae.isString(o)){if(!o)continue}else throw new TypeError("Arguments to path.resolve must be strings");t=o+"/"+t,e=o[0]==="/"}return t=$e(t.split("/"),!e).join("/"),(e?"/":"")+t||"."};K.normalize=function(t){var e=K.isAbsolute(t),n=t&&t[t.length-1]==="/";return t=$e(t.split("/"),!e).join("/"),!t&&!e&&(t="."),t&&n&&(t+="/"),(e?"/":"")+t};K.isAbsolute=function(t){return t.charAt(0)==="/"};K.join=function(){for(var t="",e=0;e'},Er=Sr,$r={width:1024,height:1024,body:''},Mr=$r,Tr={width:1024,height:1024,body:''},Ir=Tr,Lr={width:1024,height:1024,body:''},Dr=Lr,Ar={key:0,class:"sub-menu-icon"},Hr={key:0},Or={key:0,class:"sub-menu-icon"},Rr={key:1},it=Vue.defineComponent({__name:"sidebarItem",props:{item:{type:Object},isNest:{type:Boolean,default:!1},basePath:{type:String,default:""}},setup(t){const e=t,{layout:n,isCollapse:o,tooltipEffect:i}=se(),u=Vue.computed(()=>o.value?{position:"static"}:{position:"absolute",right:"10px"}),l=Vue.computed(()=>({display:"flex",alignItems:"center"})),d=Vue.computed(()=>({width:o.value?"100%":"",display:"flex",alignItems:"center",justifyContent:"space-between",overflow:"hidden"})),V=Vue.computed(()=>({overflow:"hidden",textOverflow:"ellipsis",outline:"none"})),p=Vue.computed(()=>({width:o.value?"":"210px",display:"inline-block",overflow:"hidden",textOverflow:"ellipsis"})),f=Vue.computed(()=>({overflow:"hidden",textOverflow:"ellipsis"})),h=Vue.computed(()=>{var v;return(v=ke())!=null&&v.MenuArrowIconNoTransition?{"expand-close-icon":he(Mr),"expand-open-icon":he(Er),"collapse-close-icon":he(Dr),"collapse-open-icon":he(Ir)}:""}),s=Vue.ref(null),g=new WeakMap,x=Vue.ref(null);function C(v){g.get(v)||Vue.nextTick(()=>{var _,w;((_=x.value)==null?void 0:_.scrollWidth)>((w=x.value)==null?void 0:w.clientWidth)?Object.assign(v,{showTooltip:!0}):Object.assign(v,{showTooltip:!1}),g.set(v,!0)})}function z(v=[],_){var b,H;const w=v.filter(F=>(s.value=F,!0));return(H=(b=w[0])==null?void 0:b.meta)!=null&&H.showParent?!1:w.length===1?!0:w.length===0?(s.value={..._,path:"",noShowingChildren:!0},!0):!1}function B(v){const _=/^http(s?):\/\//;return _.test(v)||_.test(e.basePath)?v||e.basePath:be.posix.resolve(e.basePath,v)}return(v,_)=>{const w=Vue.resolveComponent("el-tooltip"),b=Vue.resolveComponent("FontIcon"),H=Vue.resolveComponent("el-menu-item"),F=Vue.resolveComponent("sidebar-item",!0),O=Vue.resolveComponent("el-sub-menu");return z(e.item.children,e.item)&&(!s.value.children||s.value.noShowingChildren)?(Vue.openBlock(),Vue.createBlock(H,{key:0,index:B(s.value.path),class:Vue.normalizeClass({"submenu-title-noDropdown":!t.isNest}),style:Vue.normalizeStyle(Vue.unref(l))},{title:Vue.withCtx(()=>[Vue.createElementVNode("div",{style:Vue.normalizeStyle(Vue.unref(d))},[Vue.unref(n)==="horizontal"?(Vue.openBlock(),Vue.createElementBlock("span",Hr,Vue.toDisplayString(Vue.unref(ne)(s.value.meta.title)),1)):(Vue.openBlock(),Vue.createBlock(w,{key:1,placement:"top",effect:Vue.unref(i),offset:-10,disabled:!s.value.showTooltip},{content:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(Vue.unref(ne)(s.value.meta.title)),1)]),default:Vue.withCtx(()=>[Vue.createElementVNode("span",{ref_key:"menuTextRef",ref:x,style:Vue.normalizeStyle(Vue.unref(V)),onMouseover:_[0]||(_[0]=y=>C(s.value))},Vue.toDisplayString(Vue.unref(ne)(s.value.meta.title)),37)]),_:1},8,["effect","disabled"])),s.value.meta.extraIcon?(Vue.openBlock(),Vue.createBlock(b,{key:2,width:"30px",height:"30px",style:Vue.normalizeStyle(Vue.unref(u)),icon:s.value.meta.extraIcon.name,svg:!!s.value.meta.extraIcon.svg},null,8,["style","icon","svg"])):Vue.createCommentVNode("",!0)],4)]),default:Vue.withCtx(()=>{var y,T,Z,G;return[Vue.toRaw(e.item.meta.icon)?(Vue.openBlock(),Vue.createElementBlock("div",Ar,[(Vue.openBlock(),Vue.createBlock(Vue.resolveDynamicComponent(Vue.unref(he)(Vue.toRaw(s.value.meta.icon)||e.item.meta&&Vue.toRaw(e.item.meta.icon)))))])):Vue.createCommentVNode("",!0),Vue.unref(o)&&Vue.unref(n)==="vertical"&&((T=(y=e.item)==null?void 0:y.pathList)==null?void 0:T.length)===1?(Vue.openBlock(),Vue.createElementBlock("div",{key:1,style:Vue.normalizeStyle(Vue.unref(d))},[Vue.createElementVNode("span",{style:Vue.normalizeStyle(Vue.unref(V))},Vue.toDisplayString(Vue.unref(ne)(s.value.meta.title)),5)],4)):Vue.createCommentVNode("",!0),Vue.unref(o)&&Vue.unref(n)==="mix"&&((G=(Z=e.item)==null?void 0:Z.pathList)==null?void 0:G.length)===2?(Vue.openBlock(),Vue.createElementBlock("div",{key:2,style:Vue.normalizeStyle(Vue.unref(d))},[Vue.createElementVNode("span",{style:Vue.normalizeStyle(Vue.unref(V))},Vue.toDisplayString(Vue.unref(ne)(s.value.meta.title)),5)],4)):Vue.createCommentVNode("",!0)]}),_:1},8,["index","class","style"])):(Vue.openBlock(),Vue.createBlock(O,Vue.mergeProps({key:1,ref:"subMenu"},Vue.unref(h),{index:B(e.item.path)}),{title:Vue.withCtx(()=>[Vue.toRaw(e.item.meta.icon)?(Vue.openBlock(),Vue.createElementBlock("div",Or,[(Vue.openBlock(),Vue.createBlock(Vue.resolveDynamicComponent(Vue.unref(he)(e.item.meta&&Vue.toRaw(e.item.meta.icon)))))])):Vue.createCommentVNode("",!0),Vue.unref(n)==="horizontal"?(Vue.openBlock(),Vue.createElementBlock("span",Rr,Vue.toDisplayString(Vue.unref(ne)(e.item.meta.title)),1)):(Vue.openBlock(),Vue.createBlock(w,{key:2,placement:"top",effect:Vue.unref(i),offset:-10,disabled:!e.item.showTooltip},{content:Vue.withCtx(()=>[Vue.createTextVNode(Vue.toDisplayString(Vue.unref(ne)(e.item.meta.title)),1)]),default:Vue.withCtx(()=>[Vue.createElementVNode("div",{ref_key:"menuTextRef",ref:x,style:Vue.normalizeStyle(Vue.unref(p)),onMouseover:_[1]||(_[1]=y=>C(e.item))},[Vue.createElementVNode("span",{style:Vue.normalizeStyle(Vue.unref(f))},Vue.toDisplayString(Vue.unref(ne)(e.item.meta.title)),5)],36)]),_:1},8,["effect","disabled"])),e.item.meta.extraIcon?(Vue.openBlock(),Vue.createBlock(b,{key:3,width:"30px",height:"30px",style:{position:"absolute",right:"10px"},icon:e.item.meta.extraIcon.name,svg:!!e.item.meta.extraIcon.svg},null,8,["icon","svg"])):Vue.createCommentVNode("",!0)]),default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(e.item.children,y=>(Vue.openBlock(),Vue.createBlock(F,{key:y.path,"is-nest":!0,item:y,"base-path":B(y.path),class:"nest-menu"},null,8,["item","base-path"]))),128))]),_:1},16,["index"]))}}}),jr={class:"container"},Pr=Vue.defineComponent({__name:"leftCollapse",props:{isActive:{type:Boolean,default:!1}},emits:["toggleClick"],setup(t,{emit:e}){const n=t,o=Vue.ref(!1),{tooltipEffect:i}=se(),u=Vue.computed(()=>["ml-4","mb-1","w-[16px]","h-[16px]","inline-block","align-middle","text-primary","cursor-pointer","duration-[360ms]","hover:text-primary","dark:hover:!text-white"]),l=()=>{e("toggleClick")};return(d,V)=>{const p=Vue.resolveComponent("IconifyIconOffline"),f=Vue.resolveComponent("el-tooltip");return Vue.openBlock(),Vue.createElementBlock("div",jr,[Vue.createVNode(f,{placement:"right",visible:o.value,effect:Vue.unref(i),content:n.isActive?"点击折叠":"点击展开"},{default:Vue.withCtx(()=>[Vue.createVNode(p,{icon:Vue.unref(ot),class:Vue.normalizeClass(Vue.unref(u)),style:Vue.normalizeStyle({transform:n.isActive?"none":"rotateY(180deg)"}),onClick:l,onMouseenter:V[0]||(V[0]=h=>o.value=!0),onMouseleave:V[1]||(V[1]=h=>o.value=!1)},null,8,["icon","class","style"])]),_:1},8,["visible","effect","content"])])}}});const Fr=Y(Pr,[["__scopeId","data-v-7335ccdd"]]),qr=Vue.defineComponent({__name:"vertical",setup(t){var s;const e=VueRouter.useRoute(),n=Vue.ref(((s=ye().getItem("responsive-configure"))==null?void 0:s.showLogo)??!0),{routers:o,device:i,pureApp:u,isCollapse:l,menuSelect:d,toggleSideBar:V}=se(),p=Vue.ref([]),f=Vue.computed(()=>u.layout==="mix"&&i.value!=="mobile"?p.value:te().wholeMenus);function h(g){const x=Re(g,te().wholeMenus),C=ze(x[0]||g,te().wholeMenus);C!=null&&C.children&&(p.value=C==null?void 0:C.children)}return h(e.path),Vue.onBeforeMount(()=>{ce.on("logoChange",g=>{n.value=g})}),Vue.watch(()=>[e.path,te().wholeMenus],()=>{h(e.path),d(e.path,o)}),(g,x)=>{const C=Vue.resolveComponent("el-menu"),z=Vue.resolveComponent("el-scrollbar"),B=Vue.resolveDirective("loading");return Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",{class:Vue.normalizeClass(["sidebar-container",n.value?"has-logo":""])},[n.value?(Vue.openBlock(),Vue.createBlock(br,{key:0,collapse:Vue.unref(l)},null,8,["collapse"])):Vue.createCommentVNode("",!0),Vue.createVNode(z,{"wrap-class":"scrollbar-wrapper",class:Vue.normalizeClass([Vue.unref(i)==="mobile"?"mobile":"pc"])},{default:Vue.withCtx(()=>[Vue.createVNode(C,{router:"","unique-opened":"",mode:"vertical",class:"outer-most select-none",collapse:Vue.unref(l),"default-active":Vue.unref(e).path,"collapse-transition":!1,onSelect:x[0]||(x[0]=v=>Vue.unref(d)(v,Vue.unref(o)))},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(f),v=>(Vue.openBlock(),Vue.createBlock(it,{key:v.path,item:v,"base-path":v.path,class:"outer-most select-none"},null,8,["item","base-path"]))),128))]),_:1},8,["collapse","default-active"])]),_:1},8,["class"]),Vue.unref(i)!=="mobile"?(Vue.openBlock(),Vue.createBlock(Fr,{key:1,"is-active":Vue.unref(u).sidebar.opened,onToggleClick:Vue.unref(V)},null,8,["is-active","onToggleClick"])):Vue.createCommentVNode("",!0)],2)),[[B,Vue.unref(f).length===0]])}}});const Ur=Y(qr,[["__scopeId","data-v-485998f4"]]),Wr={class:"horizontal-header"},Gr={class:"horizontal-header-right"},Kr={class:"check-zh"},Xr={class:"check-en"},Jr={class:"el-dropdown-link navbar-bg-hover"},Zr={key:0,class:"dark:text-white"},Yr=["title"],Qr=Vue.defineComponent({__name:"horizontal",setup(t){const e=Vue.ref(),{t:n,route:o,locale:i,translationCh:u,translationEn:l}=Ae(e),{title:d,routers:V,logout:p,backHome:f,onPanel:h,menuSelect:s,username:g,avatarsStyle:x,getDropdownItemStyle:C,getDropdownItemClass:z}=se();return Vue.nextTick(()=>{var B;(B=e.value)==null||B.handleResize()}),Vue.watch(()=>o.path,()=>{s(o.path,V)}),(B,v)=>{const _=Vue.resolveComponent("FontIcon"),w=Vue.resolveComponent("el-menu"),b=Vue.resolveComponent("IconifyIconOffline"),H=Vue.resolveComponent("el-dropdown-item"),F=Vue.resolveComponent("el-dropdown-menu"),O=Vue.resolveComponent("el-dropdown"),y=Vue.resolveDirective("loading");return Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",Wr,[Vue.createElementVNode("div",{class:"horizontal-header-left",onClick:v[0]||(v[0]=(...T)=>Vue.unref(f)&&Vue.unref(f)(...T))},[Vue.createVNode(_,{icon:"team-iconlogo",svg:"",style:{width:"35px",height:"35px"}}),Vue.createElementVNode("h4",null,Vue.toDisplayString(Vue.unref(d)),1)]),Vue.createVNode(w,{router:"",ref_key:"menuRef",ref:e,mode:"horizontal",class:"horizontal-header-menu","default-active":Vue.unref(o).path,onSelect:v[1]||(v[1]=T=>Vue.unref(s)(T,Vue.unref(V)))},{default:Vue.withCtx(()=>[(Vue.openBlock(!0),Vue.createElementBlock(Vue.Fragment,null,Vue.renderList(Vue.unref(te)().wholeMenus,T=>(Vue.openBlock(),Vue.createBlock(it,{key:T.path,item:T,"base-path":T.path},null,8,["item","base-path"]))),128))]),_:1},8,["default-active"]),Vue.createElementVNode("div",Gr,[Vue.createVNode(Pe),Vue.createVNode(Fe,{id:"header-notice"}),Vue.createVNode(O,{id:"header-translation",trigger:"click"},{dropdown:Vue.withCtx(()=>[Vue.createVNode(F,{class:"translation"},{default:Vue.withCtx(()=>[Vue.createVNode(H,{style:Vue.normalizeStyle(Vue.unref(C)(Vue.unref(i),"zh")),class:Vue.normalizeClass(["dark:!text-white",Vue.unref(z)(Vue.unref(i),"zh")]),onClick:Vue.unref(u)},{default:Vue.withCtx(()=>[Vue.withDirectives(Vue.createElementVNode("span",Kr,[Vue.createVNode(b,{icon:Vue.unref(_e)},null,8,["icon"])],512),[[Vue.vShow,Vue.unref(i)==="zh"]]),Vue.createTextVNode(" 简体中文 ")]),_:1},8,["style","class","onClick"]),Vue.createVNode(H,{style:Vue.normalizeStyle(Vue.unref(C)(Vue.unref(i),"en")),class:Vue.normalizeClass(["dark:!text-white",Vue.unref(z)(Vue.unref(i),"en")]),onClick:Vue.unref(l)},{default:Vue.withCtx(()=>[Vue.withDirectives(Vue.createElementVNode("span",Xr,[Vue.createVNode(b,{icon:Vue.unref(_e)},null,8,["icon"])],512),[[Vue.vShow,Vue.unref(i)==="en"]]),Vue.createTextVNode(" English ")]),_:1},8,["style","class","onClick"])]),_:1})]),default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(He),{class:"navbar-bg-hover w-[40px] h-[48px] p-[11px] cursor-pointer outline-none"})]),_:1}),Vue.createVNode(O,{trigger:"click"},{dropdown:Vue.withCtx(()=>[Vue.createVNode(F,{class:"logout"},{default:Vue.withCtx(()=>[Vue.createVNode(H,{onClick:Vue.unref(p)},{default:Vue.withCtx(()=>[Vue.createVNode(b,{icon:Vue.unref(Ee),style:{margin:"5px"}},null,8,["icon"]),Vue.createTextVNode(" "+Vue.toDisplayString(Vue.unref(n)("buttons.hsLoginOut")),1)]),_:1},8,["onClick"])]),_:1})]),default:Vue.withCtx(()=>[Vue.createElementVNode("span",Jr,[Vue.createElementVNode("img",{src:"https://avatars.githubusercontent.com/u/44761321?v=4",style:Vue.normalizeStyle(Vue.unref(x))},null,4),Vue.unref(g)?(Vue.openBlock(),Vue.createElementBlock("p",Zr,Vue.toDisplayString(Vue.unref(g)),1)):Vue.createCommentVNode("",!0)])]),_:1}),Vue.createElementVNode("span",{class:"set-icon navbar-bg-hover",title:Vue.unref(n)("buttons.hssystemSet"),onClick:v[2]||(v[2]=(...T)=>Vue.unref(h)&&Vue.unref(h)(...T))},[Vue.createVNode(b,{icon:Vue.unref(Se)},null,8,["icon"])],8,Yr)])])),[[y,Vue.unref(te)().wholeMenus.length===0]])}}});const ea=Y(Qr,[["__scopeId","data-v-d3805f3c"]]),ta={key:0},na=Vue.defineComponent({__name:"index",setup(t){const{isDark:e}=Ye(),{layout:n}=wt(),o=zt(),i=je(),{$storage:u}=Oe(),l=Vue.reactive({sidebar:Vue.computed(()=>pe().sidebar),device:Vue.computed(()=>pe().device),fixedHeader:Vue.computed(()=>i.fixedHeader),classes:Vue.computed(()=>({hideSidebar:!l.sidebar.opened,openSidebar:l.sidebar.opened,withoutAnimation:l.sidebar.withoutAnimation,mobile:l.device==="mobile"})),hideTabs:Vue.computed(()=>u==null?void 0:u.configure.hideTabs)});function d(h){var s,g,x,C;window.document.body.setAttribute("layout",h),u.layout={layout:`${h}`,theme:(s=u.layout)==null?void 0:s.theme,darkMode:(g=u.layout)==null?void 0:g.darkMode,sidebarStatus:(x=u.layout)==null?void 0:x.sidebarStatus,epThemeColor:(C=u.layout)==null?void 0:C.epThemeColor}}function V(h,s){pe().toggleDevice(h),pe().toggleSideBar(s,"resize")}let p=!0;ce.on("resize",({detail:h})=>{if(o)return;const{width:s}=h;s<=760?d("vertical"):d(pe().layout),s>0&&s<=760?(V("mobile",!1),p=!0):s>760&&s<=990?p&&(V("desktop",!1),p=!1):s>990&&(l.sidebar.isClickCollapse||(V("desktop",!0),p=!0))}),Vue.onMounted(()=>{o&&V("mobile",!1)});const f=Vue.defineComponent({render(){return Vue.h("div",{class:{"fixed-header":l.fixedHeader},style:[l.hideTabs&&n.value.includes("horizontal")?e.value?"box-shadow: 0 1px 4px #0d0d0d":"box-shadow: 0 1px 4px rgba(0, 21, 41, 0.08)":""]},{default:()=>[!i.hiddenSideBar&&(n.value.includes("vertical")||n.value.includes("mix"))?Vue.h(go):null,!i.hiddenSideBar&&n.value.includes("horizontal")?Vue.h(ea):null,Vue.h(Oo)]})}});return(h,s)=>{const g=Vue.resolveComponent("el-backtop"),x=Vue.resolveComponent("el-scrollbar"),C=Vue.resolveDirective("resize");return Vue.withDirectives((Vue.openBlock(),Vue.createElementBlock("div",{class:Vue.normalizeClass(["app-wrapper",l.classes])},[Vue.withDirectives(Vue.createElementVNode("div",{class:"app-mask",onClick:s[0]||(s[0]=z=>Vue.unref(pe)().toggleSideBar())},null,512),[[Vue.vShow,l.device==="mobile"&&l.sidebar.opened&&Vue.unref(n).includes("vertical")]]),Vue.withDirectives(Vue.createVNode(Ur,null,null,512),[[Vue.vShow,!Vue.unref(i).hiddenSideBar&&(Vue.unref(n).includes("vertical")||Vue.unref(n).includes("mix"))]]),Vue.createElementVNode("div",{class:Vue.normalizeClass(["main-container",Vue.unref(i).hiddenSideBar?"main-hidden":""])},[l.fixedHeader?(Vue.openBlock(),Vue.createElementBlock("div",ta,[Vue.createVNode(Vue.unref(f)),Vue.createVNode(Xe,{"fixed-header":l.fixedHeader},null,8,["fixed-header"])])):(Vue.openBlock(),Vue.createBlock(x,{key:1},{default:Vue.withCtx(()=>[Vue.createVNode(g,{title:"回到顶部",target:".main-container .el-scrollbar__wrap"},{default:Vue.withCtx(()=>[Vue.createVNode(Vue.unref(at))]),_:1}),Vue.createVNode(Vue.unref(f)),Vue.createVNode(Xe,{"fixed-header":l.fixedHeader},null,8,["fixed-header"])]),_:1}))],2),Vue.createVNode(yr)],2)),[[C]])}}});const Ba=Y(na,[["__scopeId","data-v-e20772f0"]]);export{Ba as default};