1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./index-BKJqV-nx.js","./index-C-8oY-ej.js","./index-BOrtaUda.css","./el-drawer-ClmLK_LJ.js","./index-C5a25TDI.js","./use-dialog-7QVuqgMn.js","./el-drawer-BSvqlWVK.css","./index.vue_vue_type_script_setup_true_lang-C5E938Mj.js","./el-option-DEb6sUeA.js","./index-Cklqiezu.js","./index-Bh-i99AJ.js","./index-CMCtZ5nF.js","./index-RuEP-0Wg.js","./strings-DrR7JW8s.js","./toNumber-Z4st8K5A.js","./castArray-BydLxGv2.js","./_baseIteratee-izSy6eXA.js","./index-BTdRf7Jr.js","./el-option-BHqzF8z9.css","./index-DPe9ofBc.js","./index-DFltLTmA.js","./index-C8juvfFa.js","./_plugin-vue_export-helper-BCo6x5W8.js","./index-dhlhvcJ1.css","./el-overlay-Db7iXMEX.css","./el-tag-DljBBxJR.css","./el-select-C6Y_pDB-.css","./el-scrollbar-BWxh-h6K.css","./el-popper-C41MzGWJ.css","./el-input-D6B3r8CH.css","./el-input-number-D6iOyBgb.css","./el-switch-B5lTGWdM.css","./el-button-BRDnKxwT.css","./index-CpAoqyPp.js","./el-dialog-Bi10XtAF.js","./refs-Cw5r5QN8.js","./el-dialog-DyK7vRzj.css","./index-CplMH6Uf.css","./index-xUjV2ubf.js","./el-form-item-BcTDy9wb.js","./_baseClone-CobM4Mrs.js","./el-form-item-BWkJzdQ_.css","./index-DYldLvnJ.css","./index-CdfFJS1_.js","./el-avatar-gEIz_W4z.js","./el-avatar-BmRr_O8d.css","./avatar10-Dmg2eciD.js","./index-B_YiSO-5.js","./sd-hEDS4qAS.js","./index-qdAMzW4V.js","./index-hugicYzv.js"])))=>i.map(i=>d[i]); 2var e=Object.defineProperty,t=Object.defineProperties,l=Object.getOwnPropertyDescriptors,a=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,s=Object.prototype.propertyIsEnumerable,o=(t,l,a)=>l in t?e(t,l,{enumerable:!0,configurable:!0,writable:!0,value:a}):t[l]=a,r=(e,t)=>{for(var l in t||(t={}))n.call(t,l)&&o(e,l,t[l]);if(a)for(var l of a(t))s.call(t,l)&&o(e,l,t[l]);return e},i=(e,a)=>t(e,l(a)),u=(e,t,l)=>new Promise((a,n)=>{var s=e=>{try{r(l.next(e))}catch(t){n(t)}},o=e=>{try{r(l.throw(e))}catch(t){n(t)}},r=e=>e.done?a(e.value):Promise.resolve(e.value).then(s,o);r((l=l.apply(e,t)).next())});import{_ as c,$ as d,a0 as p,a1 as m,d as v,a2 as h,y as f,f as x,z as b,j as g,a3 as y,u as k,a4 as w,a5 as _,a6 as C,a7 as T,c as M,a8 as I,a9 as S,aa as E,ab as O,a as L,ac as A,ad as P,ae as j,r as $,w as W,af as B,ag as R,o as z,b as N,ah as F,ai as D,aj as X,H as q,ak as H,P as U,al as V,n as G,am as Y,an as Q,ao as Z,ap as K,aq as J,Z as ee,ar as te,as as le,at as ae,au as ne,av as se,aw as oe,ax as re,ay as ie,az as ue,e as ce,h as de,i as pe,l as me,m as ve,aA as he,aB as fe,aC as xe,aD as be,aE as ge,T as ye,aF as ke,q as we,s as _e,aG as Ce,g as Te,k as Me,aH as Ie,aI as Se,aJ as Ee,aK as Oe,C as Le,p as Ae,aL as Pe,v as je,L as $e,aM as We,aN as Be,D as Re,O as ze,I as Ne,B as Fe,x as De,aO as Xe,aP as qe,Y as He,aQ as Ue,aR as Ve,S as Ge,aS as Ye,aT as Qe,aU as Ze,aV as Ke,aW as Je,aX as et,U as tt,G as lt,aY as at,W as nt,aZ as st,a_ as ot,a$ as rt,V as it}from"./index-C-8oY-ej.js";import{_ as ut}from"./index.vue_vue_type_script_setup_true_lang-woGCI2Jz.js";import{u as ct}from"./useLayoutHeight-CmyPz63E.js";/* empty css */import{_ as dt}from"./index.vue_vue_type_script_setup_true_lang-C5E938Mj.js";/* empty css */import{f as pt}from"./index-DYkvhKZh.js";import{_ as mt}from"./_plugin-vue_export-helper-BCo6x5W8.js";import{A as vt}from"./index-CO4OxV1P.js";/* empty css */import{E as ht}from"./el-popover-D0KJ2wsc.js";/* empty css *//* empty css */import{E as ft,a as xt,b as bt}from"./el-dropdown-item-DNQJ0ToZ.js";import{E as gt}from"./index-CMCtZ5nF.js";/* empty css */import{E as yt}from"./index-BLmWRGZP.js";import{E as kt}from"./index-Cklqiezu.js";import{C as wt}from"./index-BTdRf7Jr.js";import{u as _t}from"./bookmark-BWUOTUM1.js";import{_ as Ct}from"./index.vue_vue_type_script_setup_true_lang-E4BlHO34.js";import{u as Tt,_ as Mt}from"./useHeaderBar-CfP2YPjP.js";import"./dayjs.min-D3D_Bobx.js";import"./dropdown-ik_wPYtC.js";import"./castArray-BydLxGv2.js";import"./refs-Cw5r5QN8.js";import"./index-C5a25TDI.js";import"./index-Bh-i99AJ.js";let It=class{constructor(e,t){this.parent=e,this.domNode=t,this.subIndex=0,this.subIndex=0,this.init()}init(){this.subMenuItems=this.domNode.querySelectorAll("li"),this.addListeners()}gotoSubIndex(e){e===this.subMenuItems.length?e=0:e<0&&(e=this.subMenuItems.length-1),this.subMenuItems[e].focus(),this.subIndex=e}addListeners(){const e=this.parent.domNode;Array.prototype.forEach.call(this.subMenuItems,t=>{t.addEventListener("keydown",t=>{let l=!1;switch(c(t)){case d.down:this.gotoSubIndex(this.subIndex+1),l=!0;break;case d.up:this.gotoSubIndex(this.subIndex-1),l=!0;break;case d.tab:p(e,"mouseleave");break;case d.enter:case d.numpadEnter:case d.space:l=!0,t.currentTarget.click()}return l&&(t.preventDefault(),t.stopPropagation()),!1})})}},St=class{constructor(e,t){this.domNode=e,this.submenu=null,this.submenu=null,this.init(t)}init(e){this.domNode.setAttribute("tabindex","0");const t=this.domNode.querySelector(`.${e}-menu`);t&&(this.submenu=new It(this,t)),this.addListeners()}addListeners(){this.domNode.addEventListener("keydown",e=>{let t=!1;switch(c(e)){case d.down:p(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(0),t=!0;break;case d.up:p(e.currentTarget,"mouseenter"),this.submenu&&this.submenu.gotoSubIndex(this.submenu.subMenuItems.length-1),t=!0;break;case d.tab:p(e.currentTarget,"mouseleave");break;case d.enter:case d.numpadEnter:case d.space:t=!0,e.currentTarget.click()}t&&e.preventDefault()})}},Et=class{constructor(e,t){this.domNode=e,this.init(t)}init(e){const t=this.domNode.childNodes;Array.from(t).forEach(t=>{1===t.nodeType&&new St(t,e)})}};const Ot=v({name:"ElMenuCollapseTransition"});var Lt=m(v(i(r({},Ot),{setup(e){const t=h("menu"),l={onBeforeEnter:e=>e.style.opacity="0.2",onEnter(e,l){_(e,`${t.namespace.value}-opacity-transition`),e.style.opacity="1",l()},onAfterEnter(e){T(e,`${t.namespace.value}-opacity-transition`),e.style.opacity=""},onBeforeLeave(e){e.dataset||(e.dataset={}),C(e,t.m("collapse"))?(T(e,t.m("collapse")),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth.toString(),_(e,t.m("collapse"))):(_(e,t.m("collapse")),e.dataset.oldOverflow=e.style.overflow,e.dataset.scrollWidth=e.clientWidth.toString(),T(e,t.m("collapse"))),e.style.width=`${e.scrollWidth}px`,e.style.overflow="hidden"},onLeave(e){_(e,"horizontal-collapse-transition"),e.style.width=`${e.dataset.scrollWidth}px`}};return(e,t)=>(x(),f(w,y({mode:"out-in"},k(l)),{default:b(()=>[g(e.$slots,"default")]),_:3},16))}})),[["__file","menu-collapse-transition.vue"]]);function At(e,t){const l=M(()=>{let l=e.parent;const a=[t.value];for(;
2"ElMenu"!==l.type.name;)l.props.index&&a.unshift(l.props.index),l=l.parent;return a});return{parentMenu:M(()=>{let t=e.parent;for(;t&&!["ElMenu","ElSubMenu"].includes(t.type.name);)t=t.parent;return t}),indexPath:l}}function Pt(e){return M(()=>{const t=e.backgroundColor;return t?new I(t).shade(20).toString():""})}const jt=(e,t)=>{const l=h("menu");return M(()=>l.cssVarBlock({"text-color":e.textColor||"","hover-text-color":e.textColor||"","bg-color":e.backgroundColor||"","hover-bg-color":Pt(e).value||"","active-color":e.activeTextColor||"",level:`${t}`}))},$t="rootMenu",Wt="subMenu:",Bt=S({index:{type:String,required:!0},showTimeout:Number,hideTimeout:Number,popperClass:String,popperStyle:{type:Z([String,Object])},disabled:Boolean,teleported:{type:Boolean,default:void 0},popperOffset:Number,expandCloseIcon:{type:Q},expandOpenIcon:{type:Q},collapseCloseIcon:{type:Q},collapseOpenIcon:{type:Q}}),Rt="ElSubMenu";var zt=v({name:Rt,props:Bt,setup(e,{slots:t,expose:l}){const a=R(),{indexPath:n,parentMenu:s}=At(a,M(()=>e.index)),o=h("menu"),r=h("sub-menu"),i=E($t);i||O(Rt,"can not inject root menu");const u=E(`${Wt}${s.value.uid}`);u||O(Rt,"can not inject sub menu");const c=L({}),d=L({});let p;const m=L(!1),v=L(),f=L(),x=M(()=>0===u.level),b=M(()=>"horizontal"===T.value&&x.value?"bottom-start":"right-start"),g=M(()=>"horizontal"===T.value&&x.value||"vertical"===T.value&&!i.props.collapse?e.expandCloseIcon&&e.expandOpenIcon?_.value?e.expandOpenIcon:e.expandCloseIcon:A:e.collapseCloseIcon&&e.collapseOpenIcon?_.value?e.collapseOpenIcon:e.collapseCloseIcon:P),y=M(()=>{const t=e.teleported;return j(t)?x.value:t}),k=M(()=>i.props.collapse?`${o.namespace.value}-zoom-in-left`:`${o.namespace.value}-zoom-in-top`),w=M(()=>"horizontal"===T.value&&x.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"]),_=M(()=>i.openedMenus.includes(e.index)),C=M(()=>[...Object.values(c.value),...Object.values(d.value)].some(({active:e})=>e)),T=M(()=>i.props.mode),I=M(()=>i.props.persistent),S=$({index:e.index,indexPath:n,active:C}),Q=jt(i.props,u.level+1),Z=M(()=>{var t;return null!=(t=e.popperOffset)?t:i.props.popperOffset}),K=M(()=>{var t;
2return null!=(t=e.popperClass)?t:i.props.popperClass}),J=M(()=>{var t;return null!=(t=e.popperStyle)?t:i.props.popperStyle}),ee=M(()=>{var t;return null!=(t=e.showTimeout)?t:i.props.showTimeout}),te=M(()=>{var t;return null!=(t=e.hideTimeout)?t:i.props.hideTimeout}),le=e=>{var t,l,a;e||null==(a=null==(l=null==(t=f.value)?void 0:t.popperRef)?void 0:l.popperInstanceRef)||a.destroy()},ae=()=>{"hover"===i.props.menuTrigger&&"horizontal"===i.props.mode||i.props.collapse&&"vertical"===i.props.mode||e.disabled||i.handleSubMenuClick({index:e.index,indexPath:n.value,active:C.value})},ne=(t,l=ee.value)=>{var a;"focus"!==t.type&&("click"===i.props.menuTrigger&&"horizontal"===i.props.mode||!i.props.collapse&&"vertical"===i.props.mode||e.disabled?u.mouseInChild.value=!0:(u.mouseInChild.value=!0,null==p||p(),({stop:p}=V(()=>{i.openMenu(e.index,n.value)},l)),y.value&&(null==(a=s.value.vnode.el)||a.dispatchEvent(new MouseEvent("mouseenter"))),"mouseenter"===t.type&&t.target&&G(()=>{Y(t.target,{preventScroll:!0})})))},se=(t=!1)=>{var l;"click"===i.props.menuTrigger&&"horizontal"===i.props.mode||!i.props.collapse&&"vertical"===i.props.mode?u.mouseInChild.value=!1:(null==p||p(),u.mouseInChild.value=!1,({stop:p}=V(()=>!m.value&&i.closeMenu(e.index,n.value),te.value)),y.value&&t&&(null==(l=u.handleMouseleave)||l.call(u,!0)))};W(()=>i.props.collapse,e=>le(Boolean(e)));{const e=e=>{d.value[e.index]=e},t=e=>{delete d.value[e.index]};B(`${Wt}${a.uid}`,{addSubMenu:e,removeSubMenu:t,handleMouseleave:se,mouseInChild:m,level:u.level+1})}return l({opened:_}),z(()=>{i.addSubMenu(S),u.addSubMenu(S)}),N(()=>{u.removeSubMenu(S),i.removeSubMenu(S)}),()=>{var l;const n=[null==(l=t.title)?void 0:l.call(t),F(X,{class:r.e("icon-arrow"),style:{transform:_.value?e.expandCloseIcon&&e.expandOpenIcon||e.collapseCloseIcon&&e.collapseOpenIcon&&i.props.collapse?"none":"rotateZ(180deg)":"none"}},{default:()=>D(g.value)?F(a.appContext.components[g.value]):F(g.value)})],s=i.isMenuPopup?F(kt,{ref:f,visible:_.value,effect:"light",pure:!0,offset:Z.value,showArrow:!1,persistent:I.value,popperClass:K.value,popperStyle:J.value,placement:b.value,teleported:y.value,fallbackPlacements:w.value,transition:k.value,gpuAcceleration:!1},{content:()=>{var e;return F("div",{class:[o.m(T.value),o.m("popup-container"),K.value],onMouseenter:e=>ne(e,100),onMouseleave:()=>se(!0),onFocus:e=>ne(e,100)},[F("ul",{class:[o.b(),o.m("popup"),o.m(`popup-${b.value}`)],style:Q.value},[null==(e=t.default)?void 0:e.call(t)])])},default:()=>F("div",{class:r.e("title"),onClick:ae},n)}):F(U,{},[F("div",{class:r.e("title"),ref:v,onClick:ae},n),F(yt,{},{default:()=>{var e;return q(F("ul",{role:"menu",class:[o.b(),o.m("inline")],style:Q.value},[null==(e=t.default)?void 0:e.call(t)]),[[H,_.value]])}})]);return F("li",{class:[r.b(),r.is("active",C.value),r.is("opened",_.value),r.is("disabled",e.disabled)],role:"menuitem",ariaHaspopup:!0,ariaExpanded:_.value,onMouseenter:ne,onMouseleave:()=>se(),onFocus:ne},[s])}}});const Nt=S({mode:{type:String,values:["horizontal","vertical"],default:"vertical"},defaultActive:{type:String,default:""},defaultOpeneds:{type:Z(Array),default:()=>oe([])},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:Q,default:()=>se},popperEffect:{type:Z(String),default:"dark"},popperClass:String,popperStyle:{type:Z([String,Object])},showTimeout:{type:Number,default:300},hideTimeout:{type:Number,default:300},persistent:{type:Boolean,default:!0}}),Ft=e=>K(e)&&e.every(e=>D(e));var Dt=v({name:"ElMenu",props:Nt,emits:{close:(e,t)=>D(e)&&Ft(t),open:(e,t)=>D(e)&&Ft(t),select:(e,t,l,a)=>D(e)&&Ft(t)&&J(l)&&(j(a)||a instanceof Promise)},setup(e,{emit:t,slots:l,expose:a}){const n=R(),s=n.appContext.config.globalProperties.$router,o=L(),r=L(),i=h("menu"),u=h("sub-menu");let c=64;const d=L(-1),p=L(e.defaultOpeneds&&!e.collapse?e.defaultOpeneds.slice(0):[]),m=L(e.defaultActive),v=L({}),f=L({}),x=M(()=>"horizontal"===e.mode||"vertical"===e.mode&&e.collapse),b=(l,a)=>{p.value.includes(l)||(e.uniqueOpened&&(p.value=p.value.filter(e=>a.includes(e))),p.value.push(l),t("open",l,a))},g=e=>{const t=p.value.indexOf(e);-1!==t&&p.value.splice(t,1)},y=(e,l)=>{g(e),t("close",e,l)},k=({index:e,indexPath:t})=>{p.value.includes(e)?y(e,t):b(e,t)},w=l=>{("horizontal"===e.mode||e.collapse)&&(p.value=[]);const{index:a,indexPath:n}=l;if(!ae(a)&&!ae(n))if(e.router&&s){const e=l.route||a,o=s.push(e).then(e=>(e||(m.value=a),e));t("select",a,n,{index:a,indexPath:n,route:e},o)}else m.value=a,t("select",a,n,{index:a,indexPath:n})},_=t=>{var l;const a=v.value,n=a[t]||m.value&&a[m.value]||a[e.defaultActive];m.value=null!=(l=null==n?void 0:n.index)?l:t},C=e=>{const t=getComputedStyle(e),l=Number.parseInt(t.marginLeft,10),a=Number.parseInt(t.marginRight,10);return e.offsetWidth+l+a||0},T=()=>{var e,t;if(!o.value)return-1;const l=Array.from(null!=(t=null==(e=o.value)?void 0:e.childNodes)?t:[]).filter(e=>"#comment"!==e.nodeName&&("#text"!==e.nodeName||e.nodeValue)),a=getComputedStyle(o.value),n=Number.parseInt(a.paddingLeft,10),s=Number.parseInt(a.paddingRight,10),r=o.value.clientWidth-n-s;let i=0,u=0;return l.forEach((e,t)=>{i+=C(e),i<=r-c&&(u=t+1)}),u===l.length?-1:u};let I=!0;const S=()=>{const e=ne(r);if(e&&(c=C(e)||64),d.value===T())return;const t=()=>{d.value=-1,G(()=>{d.value=T()})};I?t():((e,t=33.34)=>{let l;return()=>{l&&clearTimeout(l),l=setTimeout(()=>{e()},t)}})(t)(),I=!1};let E;W(()=>e.defaultActive,e=>{v.value[e]||(m.value=""),_(e)}),W(()=>e.collapse,e=>{e&&(p.value=[])}),W(v.value,()=>{const t=m.value&&v.value[m.value];if(!t||"horizontal"===e.mode||e.collapse)return;
2t.indexPath.forEach(e=>{const t=f.value[e];t&&b(e,t.indexPath)})}),ee(()=>{"horizontal"===e.mode&&e.ellipsis?E=te(o,S).stop:null==E||E()});const O=L(!1);{const t=e=>{f.value[e.index]=e},l=e=>{delete f.value[e.index]},a=e=>{v.value[e.index]=e},s=e=>{delete v.value[e.index]};B($t,$({props:e,openedMenus:p,items:v,subMenus:f,activeIndex:m,isMenuPopup:x,addMenuItem:a,removeMenuItem:s,addSubMenu:t,removeSubMenu:l,openMenu:b,closeMenu:y,handleMenuItemClick:w,handleSubMenuClick:k})),B(`${Wt}${n.uid}`,{addSubMenu:t,removeSubMenu:l,mouseInChild:O,level:0})}z(()=>{"horizontal"===e.mode&&new Et(n.vnode.el,i.namespace.value)});a({open:e=>{const{indexPath:t}=f.value[e];t.forEach(e=>b(e,t))},close:g,updateActiveIndex:_,handleResize:S});const A=jt(e,0);return()=>{var a,n;let s=null!=(n=null==(a=l.default)?void 0:a.call(l))?n:[];const c=[];if("horizontal"===e.mode&&o.value){const t=le(s).filter(e=>8!==(null==e?void 0:e.shapeFlag)),l=-1===d.value?t:t.slice(0,d.value),a=-1===d.value?[]:t.slice(d.value);(null==a?void 0:a.length)&&e.ellipsis&&(s=l,c.push(F(zt,{ref:r,index:"sub-menu-more",class:u.e("hide-arrow"),popperOffset:e.popperOffset},{title:()=>F(X,{class:u.e("icon-more")},{default:()=>F(e.ellipsisIcon)}),default:()=>a})))}const m=e.closeOnClickOutside?[[wt,()=>{p.value.length&&(O.value||(p.value.forEach(e=>{return t("close",e,(l=e,f.value[l].indexPath));var l}),p.value=[]))}]]:[],v=q(F("ul",{key:String(e.collapse),role:"menubar",ref:o,style:A.value,class:{[i.b()]:!0,[i.m(e.mode)]:!0,[i.m("collapse")]:e.collapse}},[...s,...c]),m);return e.collapseTransition&&"vertical"===e.mode?F(Lt,()=>v):v}}});const Xt=S({index:{type:Z([String,null]),default:null},route:{type:Z([String,Object])},disabled:Boolean}),qt={click:e=>D(e.index)&&K(e.indexPath)},Ht="ElMenuItem",Ut=v({name:Ht});var Vt=m(v(i(r({},Ut),{props:Xt,emits:qt,setup(e,{expose:t,emit:l}){const a=e;re(a.index)&&ie(Ht,'Missing required prop: "index"');const n=R(),s=E($t),o=h("menu"),r=h("menu-item");s||O(Ht,"can not inject root menu");const{parentMenu:i,indexPath:u}=At(n,ue(a,"index")),c=E(`${Wt}${i.value.uid}`);c||O(Ht,"can not inject sub menu");const d=M(()=>a.index===s.activeIndex),p=$({index:a.index,indexPath:u,active:d}),m=()=>{a.disabled||(s.handleMenuItemClick({index:a.index,indexPath:u.value,route:a.route}),l("click",p))};return z(()=>{c.addSubMenu(p),s.addMenuItem(p)}),N(()=>{c.removeSubMenu(p),s.removeMenuItem(p)}),t({parentMenu:i,rootMenu:s,active:d,nsMenu:o,nsMenuItem:r,handleClick:m}),(e,t)=>(x(),ce("li",{class:pe([k(r).b(),k(r).is("active",k(d)),k(r).is("disabled",e.disabled)]),role:"menuitem",tabindex:"-1",onClick:m},["ElMenu"===k(i).type.name&&k(s).props.collapse&&e.$slots.title?(x(),f(k(kt),{key:0,effect:k(s).props.popperEffect,placement:"right","fallback-placements":["left"],persistent:k(s).props.persistent,"focus-on-target":""},{content:b(()=>[g(e.$slots,"title")]),default:b(()=>[de("div",{class:pe(k(o).be("tooltip","trigger"))},[g(e.$slots,"default")],2)]),_:3},8,["effect","persistent"])):(x(),ce(U,{key:1},[g(e.$slots,"default"),g(e.$slots,"title")],64))],2))}})),[["__file","menu-item.vue"]]);const Gt={title:String},Yt=v({name:"ElMenuItemGroup"});var Qt=m(v(i(r({},Yt),{props:Gt,setup(e){const t=h("menu-item-group");return(e,l)=>(x(),ce("li",{class:pe(k(t).b())},[de("div",{class:pe(k(t).e("title"))},[e.$slots.title?g(e.$slots,"title",{key:1}):(x(),ce(U,{key:0},[me(ve(e.title),1)],64))],2),de("ul",null,[g(e.$slots,"default")])],2))}})),[["__file","menu-item-group.vue"]]);const Zt=he(Dt,{MenuItem:Vt,MenuItemGroup:Qt,SubMenu:zt}),Kt=fe(Vt);fe(Qt);const Jt=fe(zt),el=e=>{window.open(e,"_blank")},tl=(e,t=!1)=>{var l,a;const{link:n,isIframe:s}=e.meta;if(n&&!s)return el(n);if(!t||!(null==(l=e.children)?void 0:l.length))return xe.push(e.path);const o=e=>{var t;for(const l of e)if(!l.meta.isHide)return(null==(t=l.children)?void 0:t.length)?o(l.children):l;return e[0]},r=o(e.children);if(null==(a=r.meta)?void 0:a.link)return el(r.meta.link);xe.push(r.path)},ll=[{name:"è®¾ç½®é¢æ¿",key:"settings-panel",component:be(()=>ge(()=>import("./index-BKJqV-nx.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]),import.meta.url)),enabled:!0},{name:"å
¨å±æç´¢",key:"global-search",component:be(()=>ge(()=>import("./index-CpAoqyPp.js"),__vite__mapDeps([33,1,2,34,4,5,35,36,7,11,22,37,24,27,29]),import.meta.url)),enabled:!0},{name:"éå±",key:"screen-lock",component:be(()=>ge(()=>import("./index-xUjV2ubf.js"),__vite__mapDeps([38,1,2,34,4,5,35,36,39,15,40,41,22,42,24,32,29]),import.meta.url)),enabled:!0},{name:"è天çªå£",key:"chat-window",component:be(()=>ge(()=>import("./index-CdfFJS1_.js"),__vite__mapDeps([43,1,2,3,4,5,6,7,44,45,46,24,29,32]),import.meta.url)),enabled:!0},{name:"ç¤¼è±ææ",key:"fireworks-effect",component:be(()=>ge(()=>import("./index-B_YiSO-5.js"),__vite__mapDeps([47,1,2,48]),import.meta.url)),enabled:!0},{name:"æ°´å°ææ",key:"watermark",component:be(()=>ge(()=>import("./index-qdAMzW4V.js"),__vite__mapDeps([49,1,2,50]),import.meta.url)),enabled:!0}],al=v(i(r({},{name:"ArtGlobalComponent"}),{__name:"index",setup(e){const t=M(()=>ll.filter(e=>!1!==e.enabled));return(e,l)=>(x(!0),ce(U,null,ye(k(t),e=>(x(),f(ke(e.component),{key:e.key}))),128))}})),nl=v(i(r({},{name:"ArtFestivalTextScroll"}),{__name:"index",setup(e){const t=we(),{showFestivalText:l}=_e(t),{currentFestivalData:a}=Ce(),n=()=>{t.setShowFestivalText(!1)};return(e,t)=>{var s,o;const r=ut;return x(),ce("div",{class:"overflow-hidden transition-[height] duration-600 ease-in-out",style:Te({height:k(l)?"48px":"0"})},[k(l)&&""!==(null==(s=k(a))?void 0:s.scrollText)?(x(),f(r,{key:0,text:(null==(o=k(a))?void 0:o.scrollText)||"",style:{"margin-bottom":"12px"},showClose:"",onClose:n},null,8,["text"])):Me("",!0)],4)}}})),sl={id:"app-content-header"},ol={key:1,class:"px-2 py-1.5 mb-3 text-sm text-g-500 bg-g-200 border-full-d rounded-md"},rl={class:"fixed top-0 left-0 z-[2000] w-screen h-screen pointer-events-none bg-box"},il=v(i(r({},{name:"ArtPageContent"}),{__name:"index",setup(e){const t=Ee(),{containerMinHeight:l}=ct(),{pageTransition:a,containerWidth:n,refresh:s}=_e(we()),{keepAliveExclude:o}=_e(Ie()),r=Se(!0),i=L(!1),u=L(!0),c=M(()=>t.matched.some(e=>{var t;return null==(t=e.meta)?void 0:t.isFullPage})),d=L(c.value),p=M(()=>u.value||d.value&&!c.value?"":a.value);
2W(c,(e,t)=>{e!==t&&(i.value=!0,setTimeout(()=>{i.value=!1},50)),G(()=>{d.value=e})});const m=M(()=>c.value?{position:"fixed",top:0,left:0,width:"100%",height:"100vh",zIndex:2500,background:"var(--default-bg-color)"}:{maxWidth:n.value}),v=M(()=>({minHeight:l.value}));return W(s,()=>{r.value=!1,G(()=>{r.value=!0})},{flush:"post"}),z(()=>{G(()=>{u.value=!1})}),(e,l)=>{const a=nl,n=Le("RouterView");return x(),ce("div",{class:pe(["layout-content",{"overflow-auto":k(c)}]),style:Te(k(m))},[de("div",sl,[k(c)?Me("",!0):(x(),f(a,{key:0})),"true"===k("false")?(x(),ce("div",ol," router metaï¼"+ve(k(t).meta),1)):Me("",!0)]),k(r)?(x(),f(n,{key:0,style:Te(k(v))},{default:b(({Component:e,route:t})=>[Ae(w,{name:k(i)?"":k(p),mode:"out-in",appear:""},{default:b(()=>[(x(),f(Pe,{max:10,exclude:k(o)},[t.meta.noCache?Me("",!0):(x(),f(ke(e),{class:"art-page-view",key:t.path}))],1032,["exclude"]))]),_:2},1032,["name"]),Ae(w,{name:k(i)?"":k(p),mode:"out-in",appear:""},{default:b(()=>[t.meta.noCache?(x(),f(ke(e),{class:"art-page-view",key:t.path})):Me("",!0)]),_:2},1032,["name"])]),_:1},8,["style"])):Me("",!0),(x(),f(Oe,{to:"body"},[q(de("div",rl,null,512),[[H,k(i)]])]))],6)}}})),ul={class:"flex-cb px-3.5 mt-3.5"},cl={class:"text-base font-medium text-g-800"},dl={class:"box-border flex items-end w-full h-12.5 px-3.5 border-b-d"},pl=["onClick"],ml={class:"w-full h-[calc(100%-95px)]"},vl={class:"h-[calc(100%-60px)] overflow-y-scroll scrollbar-thin"},hl={key:0},fl=["onClick"],xl={class:"w-[calc(100%-45px)] ml-3.5"},bl={class:"flex items-start gap-2"},gl={class:"flex-1 text-sm font-normal leading-5.5 text-g-900"},yl={key:0,class:"mt-1.5 size-1.5 shrink-0 bg-danger rounded-full"},kl={class:"mt-1 text-xs leading-5 text-g-600 line-clamp-2"},wl={class:"mt-1.5 text-xs text-g-500"},_l={key:1,class:"relative top-25 h-full text-g-500 text-center !bg-transparent"},Cl={class:"mt-3.5 text-xs !bg-transparent"},Tl={class:"relative box-border w-full px-3.5"},Ml=mt(v(i(r({},{name:"ArtNotification"}),{__name:"index",props:{value:{type:Boolean}},emits:["update:value"],setup(e,{emit:t}){const l=e,a=t,{t:n}=je(),s=Fe(),o=$e(),{lists:r,unreadCounts:i,loading:c}=_e(o),d=L(!1),p=L(!1),m=L(0),v=M(()=>[{type:"NOTICE",name:n("notice.bar[0]"),num:i.value.notice},{type:"MESSAGE",name:n("notice.bar[1]"),num:i.value.message},{type:"TODO",name:n("notice.bar[2]"),num:i.value.todo}]),h=M(()=>{var e;return null!=(e=v.value[m.value])?e:v.value[0]}),g=M(()=>h.value.type),y=M(()=>{var e;return null!=(e=r.value[g.value])?e:[]}),w={NOTICE:{icon:"ri:notification-3-line",iconClass:"bg-theme/12 text-theme"},MESSAGE:{icon:"ri:message-3-line",iconClass:"bg-success/12 text-success"},TODO:{icon:"ri:checkbox-circle-line",iconClass:"bg-warning/12 text-warning"}},_=M(()=>w[g.value]),C=()=>u(null,null,function*(){try{yield o.markAllRead(g.value)}catch(e){ze.error("æ è®°å
¨é¨å·²è¯»å¤±è´¥ï¼è¯·ç¨åéè¯")}}),T=()=>u(null,null,function*(){try{yield o.loadCategory(g.value),yield o.refreshUnreadCounts()}catch(e){ze.error("å·æ°æ¶æ¯å¤±è´¥ï¼è¯·ç¨åéè¯")}});return W(()=>l.value,e=>{(e=>{if(e)return p.value=!0,void setTimeout(()=>{d.value=!0},5);d.value=!1,setTimeout(()=>{p.value=!1},350)})(e)}),(e,t)=>{const l=dt,n=Ne,r=Re("ripple"),i=We;return q((x(),ce("div",{class:"art-notification-panel art-card-sm !shadow-xl",style:Te({transform:k(d)?"scaleY(1)":"scaleY(0.9)",opacity:k(d)?1:0}
2),onClick:t[0]||(t[0]=Be(()=>{},["stop"]))},[de("div",ul,[de("span",cl,ve(e.$t("notice.title")),1),de("span",{class:"text-xs text-g-800 px-1.5 py-1 c-p select-none rounded hover:bg-g-200",onClick:C},ve(e.$t("notice.btnRead")),1)]),de("ul",dl,[(x(!0),ce(U,null,ye(k(v),(e,t)=>(x(),ce("li",{key:e.type,class:pe(["h-12 leading-12 mr-5 overflow-hidden text-[13px] text-g-700 c-p select-none",{"bar-active":k(m)===t}]),onClick:e=>m.value=t},ve(e.name)+" ("+ve(e.num)+") ",11,pl))),128))]),de("div",ml,[de("div",vl,[k(y).length>0?(x(),ce("ul",hl,[(x(!0),ce(U,null,ye(k(y),e=>{return x(),ce("li",{key:e.messageId,class:"box-border flex items-start px-3.5 py-3.5 c-p last:border-b-0 hover:bg-g-200/60",onClick:t=>{return l=e,u(null,null,function*(){try{yield o.markRead(l);const e=l.actionPath;(null==e?void 0:e.startsWith("/"))&&!e.startsWith("//")&&(a("update:value",!1),yield s.push(e))}catch(e){ze.error("æ¶æ¯æä½å¤±è´¥ï¼è¯·ç¨åéè¯")}});var l}},[de("div",{class:pe(["size-9 shrink-0 leading-9 text-center rounded-lg flex-cc",k(_).iconClass])},[Ae(l,{class:"text-lg !bg-transparent",icon:k(_).icon},null,8,["icon"])],2),de("div",xl,[de("div",bl,[de("h4",gl,ve(e.title),1),0===e.readStatus?(x(),ce("span",yl)):Me("",!0)]),de("p",kl,ve(e.content),1),de("p",wl,ve((t=e.createDatetime,pt(t))),1)])],8,fl);var t}),128))])):k(c)?Me("",!0):(x(),ce("div",_l,[Ae(l,{icon:"system-uicons:inbox",class:"text-5xl"}),de("p",Cl,ve(e.$t("notice.text[0]"))+ve(k(h).name),1)]))]),de("div",Tl,[q((x(),f(n,{class:"w-full mt-3",onClick:T},{default:b(()=>[me(ve(e.$t("notice.refresh")),1)]),_:1})),[[r]])])]),t[1]||(t[1]=de("div",{class:"h-25"},null,-1))],4)),[[H,k(p)],[i,k(c)]])}}})),[["__scopeId","data-v-2ccac6c0"]]),Il=["id","onClick","onContextmenu"],Sl=["onClick"],El={key:1,class:"line absolute top-0 bottom-0 left-0 w-px h-4 my-auto bg-g-400 transition-opacity duration-150"},Ol={class:"flex"},Ll=mt(v(i(r({},{name:"ArtWorkTab"}),{__name:"index",setup(e){const{t:t}=je(),l=Ie(),a=De(),n=Ee(),s=Fe(),{currentRoute:o}=s,r=we(),{tabStyle:i,showWorkTab:u}=_e(r),c=L(null),d=L(null),p=L(),m=L({translateX:0,transition:""}),v=L({startX:0,currentX:0}),h=L(""),f=M(()=>l.opened),b=M(()=>o.value.path),g=M(()=>f.value.findIndex(e=>e.path===b.value)),y=()=>{const e=()=>{if(!c.value||!d.value)return;const e=c.value.offsetWidth,t=d.value.offsetWidth,l=document.getElementById(`scroll-li-${g.value}`);if(!l)return;const{offsetLeft:a,clientWidth:n}=l,s=a+n;return{scrollWidth:e,ulWidth:t,offsetLeft:a,clientWidth:n,curTabRight:s,targetLeft:e-s}};return{setTransition:()=>{m.value.transition="transform 0.5s cubic-bezier(0.15, 0, 0.15, 1)",setTimeout(()=>{m.value.transition=""},250)},autoPositionTab:()=>{const t=e();if(!t)return;const{scrollWidth:l,ulWidth:a,offsetLeft:n,curTabRight:s,targetLeft:o}=t;n>Math.abs(m.value.translateX)&&s<=l||m.value.translateX<o&&o<0||requestAnimationFrame(()=>{s>l?m.value.translateX=Math.max(o-6,l-a):n<Math.abs(m.value.translateX)&&(m.value.translateX=-n)})},adjustPositionAfterClose:()=>{const t=e();if(!t)return;const{scrollWidth:l,ulWidth:a,offsetLeft:n,clientWidth:s}=t,o=n+s;requestAnimationFrame(()=>{m.value.translateX=o>l?l-a:0})}}},{menuItems:w}={menuItems:M(()=>{const{clickedIndex:e,currentTab:l,isLastTab:a,isOneTab:n,isCurrentTab:s}=(()=>{const e=f.value.findIndex(e=>e.path===h.value);return{clickedIndex:e,currentTab:f.value[e],isLastTab:e===f.value.length-1,isOneTab:1===f.value.length,isCurrentTab:h.value===b.value}})(),o=(e=>{const t=f.value.slice(0,e),l=f.value.slice(e+1),a=f.value.filter((t,l)=>l!==e);return{areAllLeftTabsFixed:t.length>0&&t.every(e=>e.fixedTab),areAllRightTabsFixed:l.length>0&&l.every(e=>e.fixedTab),areAllOtherTabsFixed:a.length>0&&a.every(e=>e.fixedTab),areAllTabsFixed:f.value.every(e=>e.fixedTab)}})(e);return[{key:"refresh",label:t("worktab.btn.refresh"),icon:"ri:refresh-line",disabled:!s},{key:"fixed",label:(null==l?void 0:l.fixedTab)?t("worktab.btn.unfixed"):t("worktab.btn.fixed"),icon:"ri:pushpin-2-line",disabled:!1,showLine:!0},{key:"left",label:t("worktab.btn.closeLeft"),icon:"ri:arrow-left-s-line",disabled:0===e||o.areAllLeftTabsFixed},{key:"right",label:t("worktab.btn.closeRight"),icon:"ri:arrow-right-s-line",disabled:a||o.areAllRightTabsFixed},{key:"other",label:t("worktab.btn.closeOther"),icon:"ri:close-fill",disabled:n||o.areAllOtherTabsFixed},{key:"all",label:t("worktab.btn.closeAll"),icon:"ri:close-circle-line",disabled:n||o.areAllTabsFixed}]})},{setTransition:_,autoPositionTab:C}=y(),{setupEventListeners:T,cleanupEventListeners:I,adjustPositionAfterClose:S}=(()=>{const{setTransition:e,adjustPositionAfterClose:t}=y(),l=e=>{if(!c.value||!d.value)return;if(e.preventDefault(),d.value.offsetWidth<=c.value.offsetWidth)return;const t=c.value.offsetWidth-d.value.offsetWidth,l=Math.abs(e.deltaX)>Math.abs(e.deltaY)?e.deltaX:e.deltaY;m.value.translateX=Math.min(Math.max(m.value.translateX-l,t),0)},a=e=>{v.value.startX=e.touches[0].clientX},n=e=>{if(!c.value||!d.value)return;v.value.currentX=e.touches[0].clientX;const t=v.value.currentX-v.value.startX,l=c.value.offsetWidth-d.value.offsetWidth;m.value.translateX=Math.min(Math.max(m.value.translateX+t,l),0),v.value.startX=v.value.currentX},s=()=>{e()};return{setupEventListeners:()=>{d.value&&(d.value.addEventListener("wheel",l,{passive:!1}),d.value.addEventListener("touchstart",a,{passive:!0}),d.value.addEventListener("touchmove",n,{passive:!0}),d.value.addEventListener("touchend",s,{passive:!0}))},cleanupEventListeners:()=>{d.value&&(d.value.removeEventListener("wheel",l),d.value.removeEventListener("touchstart",a),d.value.removeEventListener("touchmove",n),d.value.removeEventListener("touchend",s))},adjustPositionAfterClose:t}})(),{clickTab:E,closeWorktab:O,showMenu:A,handleSelect:P}=(e=>{const t=(t,a)=>{var s;const o="string"==typeof a?a:n.path,r={current:()=>
2l.removeTab(o),left:()=>l.removeLeft(o),right:()=>l.removeRight(o),other:()=>l.removeOthers(o),all:()=>l.removeAll()};null==(s=r[t])||s.call(r),setTimeout(()=>{e()},100)};return{clickTab:e=>{s.push({path:e.path,query:e.query})},closeWorktab:t,showMenu:(e,t)=>{var l;h.value=t||"",null==(l=p.value)||l.show(e),e.preventDefault(),e.stopPropagation()},handleSelect:e=>{const{key:l}=e;if("refresh"===l)return void He().refresh();if("fixed"===l)return void Ie().toggleFixedTab(h.value);const a=f.value.findIndex(e=>e.path===b.value),n=f.value.findIndex(e=>e.path===h.value);({left:a<n,right:a>n,other:!0})[l]&&s.push(h.value),t(l,h.value)}}})(S);return z(()=>{T(),C()}),Xe(()=>{I()}),W(()=>o.value,()=>{_(),C()}),W(()=>a.language,()=>{m.value.translateX=0,G(()=>{C()})}),(e,t)=>{const l=dt,a=vt;return k(u)?(x(),ce("div",{key:0,class:pe(["box-border flex-b w-full px-5 mb-3 select-none max-sm:px-[15px]",["tab-card"===k(i)?"py-1 border-b border-[var(--art-card-border)]":"","tab-google"===k(i)?"pt-1 pb-0 border-b border-[var(--art-card-border)]":""]])},[de("div",{class:"w-full overflow-hidden",ref_key:"scrollRef",ref:c},[de("ul",{class:pe(["float-left whitespace-nowrap !bg-transparent flex",["tab-google"===k(i)?"pl-1":""]]),ref_key:"tabsRef",ref:d,style:Te({transform:`translateX(${m.value.translateX}px)`,transition:`${m.value.transition}`})},[(x(!0),ce(U,null,ye(f.value,(e,t)=>(x(),ce("li",{class:pe(["art-card-xs inline-flex flex-cc h-8 mr-1.5 text-xs c-p hover:text-theme group",[e.path===b.value?"activ-tab !text-theme":"text-g-600 dark:text-g-800","tab-google"===k(i)?"google-tab relative !h-8 !leading-8 !border-none":""]]),style:Te({padding:e.fixedTab?"0 10px":"0 8px 0 12px",borderRadius:"tab-google"===k(i)?"calc(var(--custom-radius) / 2.5 + 4px) !important":"calc(var(--custom-radius) / 2.5 + 2px) !important"}),key:e.path,ref_for:!0,ref:e.path,id:`scroll-li-${t}`,onClick:t=>k(E)(e),onContextmenu:Be(t=>k(A)(t,e.path),["prevent"])},[q(Ae(l,{icon:e.icon,class:pe(["text-base mr-1 group-hover:text-theme",e.path===b.value?"text-theme":"text-g-600"])},null,8,["icon","class"]),[[H,e.icon]]),me(" "+ve(e.customTitle||k(qe)(e.title))+" ",1),f.value.length>1&&!e.fixedTab?(x(),ce("span",{key:0,class:"inline-flex flex-cc relative ml-0.5 p-1 rounded-full tad-200 hover:bg-g-200",onClick:Be(t=>k(O)("current",e.path),["stop"])},[Ae(l,{icon:"ri:close-large-fill",class:"text-[10px] text-g-600"})],8,Sl)):Me("",!0),"tab-google"===k(i)?(x(),ce("div",El)):Me("",!0)],46,Il))),128))],6)],512),de("div",Ol,[de("div",{class:"flex-cc art-card-xs relative top-0 size-8 leading-8 text-center c-p tad-200 hover:!bg-hover-color",style:Te({borderRadius:"calc(var(--custom-radius) / 2.5 + 0px)",marginTop:"tab-google"===k(i)?"-2px":""}),onClick:t[0]||(t[0]=e=>k(A)(e,b.value))},[Ae(l,{icon:"iconamoon:arrow-down-2-thin",class:"text-2xl text-g-700"})],4)]),Ae(a,{ref_key:"menuRef",ref:p,"menu-items":k(w),"menu-width":140,"border-radius":10,onSelect:k(P)},null,8,["menu-items","onSelect"])],2)):Me("",!0)}}})),[["__scopeId","data-v-e49c9c1c"]]),Al={class:"relative box-border flex-c w-full overflow-hidden"},Pl={class:"box-border flex-c flex-shrink-0 flex-nowrap h-15 whitespace-nowrap"},jl=["onClick"],$l={key:0,class:"art-badge art-badge-mixed"},Wl=mt(v(i(r({},{name:"ArtMixedMenu"}),{__name:"index",props:{list:{default:()=>[]}},setup(e){const t=Ee(),l=e,a=L(),n=L(!1),s=L(!1),o=200,u=35,c=30,d=100,p=M(()=>String(t.meta.activePath||t.path)),m=e=>{var t;const l=p.value;return(null==(t=e.children)?void 0:t.length)?e.children.some(e=>{var t;return(null==(t=e.children)?void 0:t.length)?m(e):e.path===l}):e.path===l},v=M(()=>l.list.map(e=>i(r({},e),{isActive:m(e),formattedTitle:qe(e.meta.title)}))),h=()=>{var e;if(!(null==(e=a.value)?void 0:e.wrapRef))return;const{scrollLeft:t,scrollWidth:l,clientWidth:o}=a.value.wrapRef;n.value=t>0,s.value=t+o<l},f=Ve(h,16),g=e=>{var t;if(!(null==(t=a.value)?void 0:t.wrapRef))return;const l=a.value.wrapRef.scrollLeft,n="left"===e?l-o:l+o;a.value.wrapRef.scrollTo({left:n,behavior:"smooth"})},y=e=>{var t;if(e.preventDefault(),e.stopPropagation(),!(null==(t=a.value)?void 0:t.wrapRef))return;const{wrapRef:l}=a.value,{scrollLeft:n,scrollWidth:s,clientWidth:o}=l,r=Math.abs(e.deltaY)>d?u:c,i=e.deltaY>0?r:-r,p=Math.max(0,Math.min(n+i,s-o));l.scrollLeft=p,h()};return z(()=>{G(()=>{h()})}),(e,t)=>{const l=X,o=dt,r=gt;return x(),ce("div",Al,[q(de("div",{class:"button-arrow",onClick:t[0]||(t[0]=e=>g("left"))},[Ae(l,null,{default:b(()=>[Ae(k(Ue))]),_:1}
2)],512),[[H,n.value]]),Ae(r,{ref_key:"scrollbarRef",ref:a,"wrap-class":"scrollbar-wrapper",horizontal:!0,onScroll:k(f),onWheel:y},{default:b(()=>[de("div",Pl,[(x(!0),ce(U,null,ye(v.value,e=>(x(),ce(U,{key:e.meta.title},[e.hidden?Me("",!0):(x(),ce("div",{key:0,class:pe(["menu-item relative flex-shrink-0 h-10 px-3 text-sm flex-c c-p hover:text-theme",{"menu-item-active text-theme":e.isActive}]),onClick:t=>k(tl)(e,!0)},[Ae(o,{icon:e.meta.icon,class:pe(["text-lg text-g-700 dark:text-g-800 mr-1",e.isActive&&"!text-theme"])},null,8,["icon","class"]),de("span",{class:pe(["text-md text-g-700 dark:text-g-800",e.isActive&&"!text-theme"])},ve(e.formattedTitle),3),e.meta.showBadge?(x(),ce("div",$l)):Me("",!0)],10,jl))],64))),128))])]),_:1},8,["onScroll"]),q(de("div",{class:"button-arrow right-2",onClick:t[1]||(t[1]=e=>g("right"))},[Ae(l,null,{default:b(()=>[Ae(k(P))]),_:1})],512),[[H,s.value]])])}}})),[["__scopeId","data-v-e2cf8e96"]]),Bl={class:"text-md"},Rl={class:"text-md"},zl=mt(v({__name:"HorizontalSubmenu",props:{item:{type:Object,required:!0},theme:{type:Object,default:()=>({})},isMobile:Boolean,level:{type:Number,default:0}},emits:["close"],setup(e,{emit:t}){const l=e,a=t,n=M(()=>{var e;return(null==(e=l.item.children)?void 0:e.filter(e=>!e.hidden))||[]}),s=M(()=>n.value.length>0),o=()=>{a("close")};return(t,l)=>{const a=dt,r=Le("HorizontalSubmenu",!0),i=Jt,u=Kt;return s.value?(x(),f(i,{key:0,index:e.item.path||e.item.meta.title,class:"!p-0"},{title:b(()=>{var t;return[Ae(a,{icon:e.item.meta.icon,color:null==(t=e.theme)?void 0:t.iconColor,class:"mr-1 text-lg"},null,8,["icon","color"]),de("span",Bl,ve(k(qe)(e.item.meta.title)),1)]}),default:b(()=>[(x(!0),ce(U,null,ye(n.value,t=>(x(),f(r,{key:t.path,item:t,theme:e.theme,"is-mobile":e.isMobile,level:e.level+1,onClose:o},null,8,["item","theme","is-mobile","level"]))),128))]),_:1},8,["index"])):e.item.hidden?Me("",!0):(x(),f(u,{key:1,index:e.item.path||e.item.meta.title,onClick:l[0]||(l[0]=t=>{return l=e.item,o(),void tl(l);var l})},{default:b(()=>{var t;return[Ae(a,{icon:e.item.meta.icon,color:null==(t=e.theme)?void 0:t.iconColor,class:"mr-1 text-lg",style:Te({color:e.theme.iconColor})},null,8,["icon","color","style"]),de("span",Rl,ve(k(qe)(e.item.meta.title)),1),e.item.meta.showBadge?(x(),ce("div",{key:0,class:"art-badge",style:Te({right:0===e.level?"10px":"20px"})},null,4)):Me("",!0)]}),_:1},8,["index"]))}}}),[["__scopeId","data-v-e19c66a1"]]),Nl={class:"flex-1 overflow-hidden"},Fl=mt(v(i(r({},{name:"ArtHorizontalMenu"}),{__name:"index",props:{list:{default:()=>[]}},setup(e){const t=we(),{isDark:l}=_e(t),a=Ee(),n=e,s=M(()=>u(n.list)),o=M(()=>String(a.meta.activePath||a.path)),u=e=>e.filter(e=>{if(e.hidden)return!1;if(e.children&&e.children.length>0){return u(e.children).length>0}return!0}).map(e=>i(r({},e),{children:e.children?u(e.children):void 0}));return(e,t)=>{const a=Zt;return x(),ce("div",Nl,[Ae(a,{ellipsis:!0,mode:"horizontal","default-active":k(o),"text-color":k(l)?"var(--art-gray-800)":"var(--art-gray-700)","popper-offset":-6,"background-color":"transparent","show-timeout":50,"hide-timeout":50,"popper-class":"horizontal-menu-popper",class:"w-full border-none"},{default:b(()=>[(x(!0),ce(U,null,ye(k(s),e=>(x(),f(zl,{key:e.path,item:e,isMobile:!1,level:0},null,8,["item"]))),128))]),_:1},8,["default-active","text-color"])])}}})),[["__scopeId","data-v-e8e6aa68"]]),Dl={class:"ml-2.5 max-lg:!hidden","aria-label":"breadcrumb"},Xl={class:"flex-c h-full"},ql=["onClick"],Hl={class:"block max-w-46 overflow-hidden text-ellipsis whitespace-nowrap px-1.5 text-sm text-g-600 dark:text-g-800"},Ul={key:0,class:"mx-1 text-sm not-italic text-g-500","aria-hidden":"true"},Vl=v(i(r({},{name:"ArtBreadcrumb"}),{__name:"index",setup(e){const t=Ee(),l=Fe(),a=M(()=>{var e;const{matched:l}=t,a=l.length;if(!a||o(l[0]))return[];const r=null==(e=l[0].meta)?void 0:e.isFirstLevel,i=l[a-1],u=i.meta;let c=r?[s(i)]:l.map(s);return c.length>1&&n(c[0])&&(c=c.slice(1)),(null==u?void 0:u.isIframe)&&(1===c.length||c.every(n))?[s(i)]:c}),n=e=>{var t;return"/outside"===e.path&&!!(null==(t=e.meta)?void 0:t.isIframe)},s=e=>({path:e.path,meta:e.meta}),o=e=>"/"===e.name,r=e=>e===a.value.length-1,i=(e,t)=>"/outside"!==e.path&&!r(t);return(e,t)=>(x(),ce("nav",Dl,[de("ul",Xl,[(x(!0),ce(U,null,ye(a.value,(e,t)=>{var a,n;return x(),ce("li",{key:e.path,class:"box-border flex-c h-7 text-sm leading-7"},[de("div",{class:pe(i(e,t)?"c-p py-1 rounded tad-200 hover:bg-active-color hover:[&_span]:text-g-600":""),onClick:a=>((e,t)=>u(null,null,function*(){var a,n;if(!r(t)&&"/outside"!==e.path)try{const t=l.getRoutes().find(t=>t.path===e.path);if(!(null==(a=null==t?void 0:t.children)?void 0:a.length))return void(yield l.push(e.path));const s=(e=>{var t;return null==(t=e.children)?void 0:t.find(e=>{var t;return!e.redirect&&!(null==(t=e.meta)?void 0:t.isHide)})})(t);s?yield l.push((n=s.path,`/${n}`.replace("//","/"))):yield l.push(e.path)}catch(s){}}))(e,t)},[de("span",Hl,ve(k(qe)(null==(a=e.meta)?void 0:a.title)),1)],10,ql),!r(t)&&(null==(n=e.meta)?void 0:n.title)?(x(),ce("div",Ul," / ")):Me("",!0)])}),128))])]))}}));const Gl={class:"flex-c gap-2"},Yl={class:"grid grid-cols-[2fr_0.8fr]"},Ql={class:"grid grid-cols-2 gap-1.5"},Zl=["onClick"],Kl={class:"app-icon size-12 flex-cc rounded-lg bg-g-200/80 dark:bg-g-300/30"},Jl={class:"m-0 text-sm font-medium text-g-800"},ea={class:"mt-1 text-xs text-g-600 overflow-hidden text-ellipsis whitespace-nowrap w-35"},ta={class:"border-l-d pl-6 pt-2"},la=["onClick"],aa={class:"text-g-600 no-underline"},na=v(i(r({},{name:"ArtFastEnter"}),{__name:"index",setup(e){const t=Fe(),l=L(),{enabledQuickLinks:a}=function(){const e=M(()=>Ge.fastEnter),t=M(()=>{var t;return(null==(t=e.value)?void 0:t.quickLinks)?e.value.quickLinks:[]}),l=M(()=>{var t;return(null==(t=e.value)?void 0:t.minWidth)||1200});return{fastEnterConfig:e,enabledQuickLinks:t,minWidth:l}}(),n=_t(),{bookmark:s}=_e(n);return(e,n)=>{const o=dt,r=ht;return x(),f(r,{ref_key:"popoverRef",ref:l,width:700,offset:0,"show-arrow":!1,trigger:"hover",placement:"bottom-start","popper-class":"fast-enter-popover","popper-style":{border:"1px solid var(--default-border)",borderRadius:"calc(var(--custom-radius) / 2 + 4px)"}},{reference:b(()=>[de("div",Gl,[g(e.$slots,"default")])]),default:b(()=>[de("div",Yl,[de("div",null,[de("div",Ql,[(x(!0),ce(U,null,ye(k(s),e=>(x(),ce("div",{key:e.name,class:"mr-3 c-p flex-c gap-3 rounded-lg p-2 hover:bg-g-200/70 dark:hover:bg-g-200/90 hover:[&_.app-icon]:!bg-transparent",onClick:a=>{return n=e,t.push(n.path),void(null==(s=l.value)||s.hide());var n,s}},[de("div",Kl,[Ae(o,{class:"text-xl",icon:e.icon}
2,null,8,["icon"])]),de("div",null,[de("h3",Jl,ve(e.title),1),de("p",ea,ve(e.remark),1)])],8,Zl))),128))])]),de("div",ta,[n[0]||(n[0]=de("h3",{class:"mb-2.5 text-base font-medium text-g-800"},"å¿«é龿¥",-1)),de("ul",null,[(x(!0),ce(U,null,ye(k(a),e=>(x(),ce("li",{key:e.name,class:"c-p py-2 hover:[&_span]:text-theme",onClick:a=>(e=>{var a;t.push(e.path),null==(a=l.value)||a.hide()})(e)},[de("span",aa,ve(e.name),1)],8,la))),128))])])])]),_:3},512)}}})),sa=["src"],oa={class:"pt-3"},ra={class:"flex-c pb-1 px-0"},ia=["src"],ua={class:"w-[calc(100%-60px)] h-full"},ca={class:"block text-sm font-medium text-g-800 truncate"},da={class:"block mt-0.5 text-xs text-g-500 truncate"},pa={class:"py-4 mt-3 border-t border-g-300/80"},ma=mt(v(i(r({},{name:"ArtUserMenu"}),{__name:"ArtUserMenu",setup(e){const t=Fe(),{t:l}=je(),a=De(),{getUserInfo:n}=_e(a),s=L(),o=e=>{i(),t.push(e)},r=()=>{i(),setTimeout(()=>{Qe.confirm(l("common.logOutTips"),l("common.tips"),{confirmButtonText:l("common.confirm"),cancelButtonText:l("common.cancel"),customClass:"login-out-dialog"}).then(()=>{a.logOut()})},200)},i=()=>{setTimeout(()=>{s.value.hide()},100)};return(e,t)=>{const l=dt,a=ht;return x(),f(a,{ref_key:"userMenuPopover",ref:s,placement:"bottom-end",width:240,"hide-after":0,offset:10,trigger:"hover","show-arrow":!1,"popper-class":"user-menu-popover","popper-style":"padding: 5px 16px;"},{reference:b(()=>[de("img",{class:"size-8.5 mr-5 c-p rounded-full max-sm:w-6.5 max-sm:h-6.5 max-sm:mr-[16px]",src:k(n).avatar,alt:"avatar"},null,8,sa)]),default:b(()=>[de("div",oa,[de("div",ra,[de("img",{class:"w-10 h-10 mr-3 ml-0 overflow-hidden rounded-full float-left",src:k(n).avatar},null,8,ia),de("div",ua,[de("span",ca,ve(k(n).userName),1),de("span",da,ve(k(n).email),1)])]),de("ul",pa,[de("li",{class:"btn-item",onClick:t[0]||(t[0]=e=>o("/system/user-center"))},[Ae(l,{icon:"ri:user-3-line"}),de("span",null,ve(e.$t("topBar.user.userCenter")),1)]),de("li",{class:"btn-item",onClick:t[1]||(t[1]=e=>o("/system/download-center"))},[Ae(l,{icon:"ri:download-cloud-2-line"}),de("span",null,ve(e.$t("topBar.user.downloadCenter")),1)]),de("li",{class:"btn-item",onClick:t[2]||(t[2]=e=>{Ye.emit("openLockScreen")})},[Ae(l,{icon:"ri:lock-line"}),de("span",null,ve(e.$t("topBar.user.lockScreen")),1)]),t[3]||(t[3]=de("div",{class:"w-full h-px my-2 bg-g-300/80"},null,-1)),de("div",{class:"log-out c-p",onClick:r},ve(e.$t("topBar.user.logout")),1)])])]),_:1},512)}}})),[["__scopeId","data-v-6c4840da"]]),va={class:"flex-c flex-1 min-w-0 leading-15",style:{display:"flex"}},ha={key:0,class:"my-0 mx-2 ml-2 text-lg"},fa={class:"flex-c gap-2.5"},xa={class:"flex-c"},ba={class:"ml-1 text-xs font-normal text-g-500"},ga={class:"flex-c h-5 px-1.5 text-g-500/80 border border-g-400 rounded"},ya={class:"menu-txt"},ka={key:0,class:"absolute top-2 right-2 size-1.5 !bg-danger rounded-full"},wa={class:"menu-txt"},_a={key:4},Ca={class:"flex-cc"},Ta=mt(v(i(r({},{name:"ArtHeaderBar"}),{__name:"index",setup(e){const t=navigator.userAgent.includes("Windows"),l=Fe(),{locale:a}=je(),{width:n}=et(),s=we(),o=De(),c=Ze(),d=$e(),{shouldShowMenuButton:p,shouldShowRefreshButton:m,shouldShowFastEnter:v,shouldShowBreadcrumb:h,shouldShowGlobalSearch:g,shouldShowFullscreen:y,shouldShowNotification:w,shouldShowLanguage:_,shouldShowSettings:C,shouldShowThemeToggle:T,fastEnterMinWidth:I}=Tt(),{menuOpen:S,systemThemeColor:E,showSettingGuide:O,menuType:A,isDark:P,tabStyle:j}=_e(s),{language:$,info:W}=_e(o),{menuList:B}=_e(c),{unreadTotal:R}=_e(d),N=L(!1),F=L(null),D=M(()=>A.value===Ke.LEFT),X=M(()=>A.value===Ke.DUAL_MENU),q=M(()=>A.value===Ke.TOP),H=M(()=>A.value===Ke.TOP_LEFT),{isFullscreen:V,toggle:G}=Je();z(()=>{le(),document.addEventListener("click",oe)}),Xe(()=>{document.removeEventListener("click",oe)});const Y=e=>u(null,null,function*(){e!==W.value.pointId&&(yield at(e),o.setUserInfo(i(r({},W.value),{pointId:e})),d.reconnectSocket())}),Q=()=>{G()},Z=()=>{s.setMenuOpen(!S.value)},{homePath:K}=He(),{refresh:J}=He(),ee=()=>{l.push(K.value)},te=(e=0)=>{setTimeout(()=>{J()},e)},le=()=>{a.value=$.value},ae=e=>{a.value!==e&&(a.value=e,o.setLanguage(e),te(50))},ne=()=>{Ye.emit("openSetting"),O.value&&s.hideSettingGuide()},se=()=>{Ye.emit("openSearchDialog")},oe=e=>{if(!N.value)return;
2const t=e.target,l=t.closest(".notice-button"),a=t.closest(".art-notification-panel");l||a||(N.value=!1)},re=()=>{N.value=!N.value};return(e,l)=>{const s=Mt,o=Ct,r=na,i=Vl,u=Fl,c=Wl,d=dt,M=bt,S=xt,L=ft,A=ht,$=Ll,z=Ml;return x(),ce("div",{class:pe(["w-full bg-[var(--default-bg-color)]",["tab-card"===k(j)||"tab-google"===k(j)?"mb-5 max-sm:mb-3 !bg-box":""]])},[de("div",{class:pe(["relative box-border flex-b h-15 leading-15 select-none",["tab-card"===k(j)||"tab-google"===k(j)?"border-b border-[var(--art-card-border)]":""]])},[de("div",va,[k(q)?(x(),ce("div",{key:0,class:"flex-c c-p",onClick:ee},[Ae(s,{class:"pl-4.5"}),k(n)>=1400?(x(),ce("p",ha,ve(k(Ge).systemInfo.name),1)):Me("",!0)])):Me("",!0),Ae(s,{class:"!hidden pl-3.5 overflow-hidden align-[-0.15em] fill-current",onClick:ee}),k(D)&&k(p)?(x(),f(o,{key:1,icon:"ri:menu-2-fill",class:"ml-3 max-sm:ml-[7px]",onClick:Z})):Me("",!0),k(m)?(x(),f(o,{key:2,icon:"ri:refresh-line",class:"!ml-3 refresh-btn max-sm:!hidden",style:Te({marginLeft:k(D)?"0":"10px"}),onClick:te},null,8,["style"])):Me("",!0),k(v)&&k(n)>=k(I)?(x(),f(r,{key:3},{default:b(()=>[Ae(o,{icon:"ri:function-line",class:"ml-3"})]),_:1})):Me("",!0),k(h)&&k(D)||k(h)&&k(X)?(x(),f(i,{key:4})):Me("",!0),k(q)?(x(),f(u,{key:5,list:k(B)},null,8,["list"])):Me("",!0),k(H)?(x(),f(c,{key:6,list:k(B)},null,8,["list"])):Me("",!0)]),de("div",fa,[k(g)?(x(),ce("div",{key:0,class:"flex-cb w-40 h-9 px-2.5 c-p border border-g-400 rounded-custom-sm max-md:!hidden",onClick:se},[de("div",xa,[Ae(d,{icon:"ri:search-line",class:"text-sm text-g-500"}),de("span",ba,ve(e.$t("topBar.search.title")),1)]),de("div",ga,[k(t)?(x(),f(d,{key:0,icon:"vaadin:ctrl-a",class:"text-sm"})):(x(),f(d,{key:1,icon:"ri:command-fill",class:"text-xs"})),l[1]||(l[1]=de("span",{class:"ml-0.5 text-xs"},"k",-1))])])):Me("",!0),Ae(L,{onCommand:Y},{dropdown:b(()=>[Ae(S,{style:{"max-height":"210px"}},{default:b(()=>[(x(!0),ce(U,null,ye(k(W).pointList,e=>(x(),ce("div",{key:e.pointId},[Ae(M,{command:e.pointId,class:pe({"is-selected":k(W).pointId===e.pointId})},{default:b(()=>[de("span",ya,ve(e.pointName),1),k(W).pointId===e.pointId?(x(),f(d,{key:0,icon:"ri:check-fill",class:"ml-3"})):Me("",!0)]),_:2},1032,["command","class"])]))),128))]),_:1})]),default:b(()=>[Ae(o,{icon:"ri-list-unordered",class:"point-btn ml-3"})]),_:1}),k(y)?(x(),f(o,{key:1,icon:k(V)?"ri:fullscreen-exit-line":"ri:fullscreen-fill",class:pe([[k(V)?"exit-full-screen-btn":"full-screen-btn",""],"max-md:!hidden"]),onClick:Q},null,8,["icon","class"])):Me("",!0),k(w)?(x(),f(o,{key:2,icon:"ri:notification-2-line",class:"notice-button relative",onClick:re},{default:b(()=>[k(R)>0?(x(),ce("div",ka)):Me("",!0)]),_:1})):Me("",!0),k(_)?(x(),f(L,{key:3,onCommand:ae,"popper-class":"langDropDownStyle"},{dropdown:b(()=>[Ae(S,null,{default:b(()=>[(x(!0),ce(U,null,ye(k(nt),e=>(x(),ce("div",{key:e.value,class:"lang-btn-item"},[Ae(M,{command:e.value,class:pe({"is-selected":k(a)===e.value})},{default:b(()=>[de("span",wa,ve(e.label),1),k(a)===e.value?(x(),f(d,{key:0,icon:"ri:check-fill"})):Me("",!0)]),_:2},1032,["command","class"])]))),128))]),_:1})]),default:b(()=>[Ae(o,{icon:"hugeicons:global",class:"language-btn text-[19px]"})]),_:1})):Me("",!0),k(C)?(x(),ce("div",_a,[Ae(A,{visible:k(O),placement:"bottom-start",width:190,offset:0},{reference:b(()=>[de("div",Ca,[Ae(o,{icon:"ri:settings-line",class:"setting-btn",onClick:ne})])]),default:b(()=>[de("p",null,[me(ve(e.$t("topBar.guide.title"))+" ",1),de("span",{style:Te({color:k(E)})},ve(e.$t("topBar.guide.theme")),5),l[2]||(l[2]=me(" ã ",-1)),de("span",{style:Te({color:k(E)})},ve(e.$t("topBar.guide.menu")),5),me(" "+ve(e.$t("topBar.guide.description")),1)])]),_:1},8,["visible"])])):Me("",!0),k(T)?(x(),f(o,{key:5,onClick:k(tt),icon:k(P)?"ri:sun-fill":"ri:moon-line"},null,8,["onClick","icon"])):Me("",!0),Ae(ma)])],2),Ae($),Ae(z,{value:k(N),"onUpdate:value":l[0]||(l[0]=e=>lt(N)?N.value=e:null),ref_key:"notice",ref:F},null,8,["value"])],2)}}})),[["__scopeId","data-v-3e12bb9e"]]),Ma={class:"menu-icon flex-cc"},Ia={class:"menu-name"},Sa={class:"menu-icon flex-cc"}
2,Ea={class:"art-badge",style:{right:"5px"}},Oa={class:"menu-name"},La={key:0,class:"art-badge"},Aa=v({__name:"SidebarSubmenu",props:{title:{default:""},list:{default:()=>[]},theme:{default:()=>({})},isMobile:{type:Boolean,default:!1},level:{default:0}},emits:["close"],setup(e,{emit:t}){const l=e,a=t,n=we(),{menuOpen:s}=_e(n),o=M(()=>c(l.list)),u=()=>{a("close")},c=e=>e.filter(e=>{if(e.hidden)return!1;if(e.children&&e.children.length>0){return c(e.children).length>0}return!0}).map(e=>i(r({},e),{children:e.children?c(e.children):void 0})),d=e=>{if(!e.children||0===e.children.length)return!1;return c(e.children).length>0},p=(e,t)=>e.path||e.meta.link||e.meta.title||m(e,t),m=(e,t)=>`${e.path||e.meta.title||"menu"}-${l.level}-${t}`;return(t,l)=>{const a=dt,n=Le("SidebarSubmenu",!0),r=Jt,i=Kt;return x(!0),ce(U,null,ye(o.value,(t,l)=>(x(),ce(U,{key:m(t,l)},[d(t)?(x(),f(r,{key:0,index:p(t,l),level:e.level},{title:b(()=>{var l;return[de("div",Ma,[Ae(a,{icon:t.meta.icon,color:null==(l=e.theme)?void 0:l.iconColor,style:Te({color:e.theme.iconColor})},null,8,["icon","color","style"])]),de("span",Ia,ve(k(qe)(t.meta.title)),1)]}),default:b(()=>[Ae(n,{list:t.children,"is-mobile":e.isMobile,level:e.level+1,theme:e.theme,onClose:u},null,8,["list","is-mobile","level","theme"])]),_:2},1032,["index","level"])):(x(),f(i,{key:1,index:p(t,l),"level-item":e.level+1,onClick:e=>(e=>{u(),tl(e)})(t)},{title:b(()=>[de("span",Oa,ve(k(qe)(t.meta.title)),1),t.meta.showBadge?(x(),ce("div",La)):Me("",!0)]),default:b(()=>{var l;return[de("div",Sa,[Ae(a,{icon:t.meta.icon,color:null==(l=e.theme)?void 0:l.iconColor,style:Te({color:e.theme.iconColor})},null,8,["icon","color","style"])]),q(de("div",Ea,null,512),[[H,t.meta.showBadge&&0===e.level&&!k(s)]])]}),_:2},1032,["index","level-item","onClick"]))],64))),128)}}}),Pa=["onClick"],ja={key:0,class:"text-md text-g-700"},$a={key:1,class:"art-badge art-badge-dual"},Wa=mt(v(i(r({},{name:"ArtSidebarMenu"}),{__name:"index",setup(e){it(e=>({v32377e0d:k(h),v49903c9d:k(g)}));const t=st.CLOSE,l=Ee(),a=Fe(),n=we(),{getMenuOpenWidth:s,menuType:o,uniqueOpened:r,dualMenuShowText:i,menuOpen:u,getMenuTheme:c}=_e(n),d=L([]),p=L(!1),m=L(!1),{width:v}=et(),h=M(()=>s.value),g=M(()=>t),y=M(()=>o.value===Ke.TOP_LEFT),w=M(()=>o.value===Ke.LEFT||o.value===Ke.TOP_LEFT),_=M(()=>o.value===Ke.DUAL_MENU),C=M(()=>v.value<800),T=M(()=>{var e;return null==(e=l.matched[0])?void 0:e.path}),I=M(()=>String(l.meta.activePath||l.path)),S=M(()=>Ze().menuList.filter(e=>!e.hidden)),E=M(()=>{var e;const t=Ze().menuList;if(!y.value&&!_.value)return t;if(ot(l.path))return P(l.path,t);if(l.meta.isFirstLevel)return[];const a=`/${l.path.split("/")[1]}`,n=t.find(e=>e.path===a);return null!=(e=null==n?void 0:n.children)?e:[]}),O=M(()=>{const e=_.value&&!u.value;return{transform:e?"translateY(-50px)":"translateY(0)",height:e?"calc(100% + 50px)":"calc(100% - 60px)",transition:"transform 0.3s ease"}}),{start:A}=rt(()=>{m.value=!1},350,{immediate:!1}),P=(e,t)=>{const l=t=>{for(const a of t){if(a.path===e)return!0;if(a.children&&l(a.children))return!0}return!1};for(const a of t)if(a.children&&l(a.children))return a.children;return[]},{homePath:j}=He(),$=()=>{a.push(j.value)},B=()=>{n.setMenuOpen(!u.value),C.value&&(u.value?A():m.value=!0)},R=()=>{C.value&&(n.setMenuOpen(!1),A())},z=()=>{n.setDualMenuShowText(!i.value)};return W(v,e=>{e<800?(n.setMenuOpen(!1),u.value||(m.value=!1)):m.value=!1}),W(u,e=>{C.value?e?m.value=!0:A():m.value=!1}),(e,t)=>{const l=Mt,a=dt,n=kt,s=gt,o=Ct,v=Zt;return k(w)||k(_)?(x(),ce("div",{key:0,class:pe(["layout-sidebar",{"no-border":0===k(E).length}])},[k(_)?(x(),ce("div",{key:0,class:"dual-menu-left",style:Te({width:k(i)?"80px":"64px",background:k(c).background})},[Ae(l,{class:"logo",onClick:$}),Ae(s,{style:{height:"calc(100% - 135px)"}},{default:b(()=>[de("ul",null,[(x(!0),ce(U,null,ye(k(S),t=>(x(),ce("li",{key:t.path,onClick:e=>k(tl)(t,!0)},[Ae(n,{class:"box-item",effect:"dark",content:e.$t(t.meta.title),placement:"right",offset:15,"hide-after":0,disabled:k(i)},{default:b(()=>[de("div",{class:pe({"is-active":t.path===k(T)}),style:Te({height:k(i)?"60px":"46px"})},[Ae(a,{class:"menu-icon text-g-700 dark:text-g-800",icon:t.meta.icon,style:Te({marginBottom:k(i)?"5px":"0"})},null,8,["icon","style"]),k(i)?(x(),ce("span",ja,ve(e.$t(t.meta.title)),1)):Me("",!0),t.meta.showBadge?(x(),ce("div",$a)):Me("",!0)],6)]),_:2},1032,["content","disabled"])],8,Pa))),128))])]),_:1}),Ae(o,{class:"switch-btn size-10",icon:"ri:arrow-left-right-fill",onClick:z})],4)):Me("",!0),q(de("div",{class:pe(["menu-left",`menu-left-${k(c).theme} menu-left-${k(u)?"open":"close"}`]),style:Te({background:k(c).background})},[de("div",{class:"header",onClick:$,style:Te({background:k(c).background})},[k(_)?Me("",!0):(x(),f(l,{key:0,class:"logo"})),de("p",{class:pe({"is-dual-menu-name":k(_)}),style:Te({color:k(c).systemNameColor,opacity:k(u)?1:0})},ve(k(Ge).systemInfo.name),7)],4),Ae(s,{style:Te(k(O))},{default:b(()=>[Ae(v,{class:pe("el-menu-"+k(c).theme),collapse:!k(u),"default-active":k(I),"text-color":k(c).textColor,"unique-opened":k(r),"background-color":k(c).background,"default-openeds":k(d),"popper-class":`menu-left-popper menu-left-${k(c).theme}-popper`,"show-timeout":50,"hide-timeout":50},{default:b(()=>[Ae(Aa,{list:k(E),isMobile:k(p),theme:k(c),onClose:R},null,8,["list","isMobile","theme"])]),_:1},8,["class","collapse","default-active","text-color","unique-opened","background-color","default-openeds","popper-class"])]),_:1},8,["style"]),de("div",{class:"menu-model",onClick:B,style:Te({opacity:k(u)?1:0,transform:k(m)?"scale(1)":"scale(0)"})},null,4)],6),[[H,k(E).length>0]])],2)):Me("",!0)}}})),[["__scopeId","data-v-f6d7c879"]]),Ba={class:"app-layout"},Ra={id:"app-sidebar"},za={id:"app-main"},Na={id:"app-header"},Fa={id:"app-content"},Da={id:"app-global"},Xa=mt(v(i(r({},{name:"AppLayout"}),{__name:"index",setup:e=>(e,t)=>
2{const l=Wa,a=Ta,n=il,s=al;return x(),ce("div",Ba,[de("aside",Ra,[Ae(l)]),de("main",za,[de("div",Na,[Ae(a)]),de("div",Fa,[Ae(n)])]),de("div",Da,[Ae(s)])])}})),[["__scopeId","data-v-2957fae9"]]);export{Xa as default};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.