@next-bricks/nav 1.14.6 → 1.14.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +11 -11
- package/dist/chunks/884.370187c6.js +2 -0
- package/dist/chunks/884.370187c6.js.map +1 -0
- package/dist/chunks/eo-nav-menu.52a92ebe.js +2 -0
- package/dist/chunks/eo-nav-menu.52a92ebe.js.map +1 -0
- package/dist/chunks/{main.8b8ca7cb.js → main.5e61f189.js} +2 -2
- package/dist/chunks/{main.8b8ca7cb.js.map → main.5e61f189.js.map} +1 -1
- package/dist/{index.8c70e8e6.js → index.0eec50d6.js} +2 -2
- package/dist/{index.8c70e8e6.js.map → index.0eec50d6.js.map} +1 -1
- package/dist/manifest.json +20 -20
- package/dist/types.json +11 -11
- package/package.json +2 -2
- package/dist/chunks/884.eb590f61.js +0 -2
- package/dist/chunks/884.eb590f61.js.map +0 -1
- package/dist/chunks/eo-nav-menu.456dec2c.js +0 -2
- package/dist/chunks/eo-nav-menu.456dec2c.js.map +0 -1
package/dist/bricks.json
CHANGED
|
@@ -9,11 +9,11 @@
|
|
|
9
9
|
],
|
|
10
10
|
"elements": [
|
|
11
11
|
"eo-nav-menu",
|
|
12
|
-
"eo-launchpad-button",
|
|
13
12
|
"eo-launchpad-button-v2",
|
|
13
|
+
"eo-launchpad-button",
|
|
14
14
|
"eo-launchpad-quick-access",
|
|
15
|
-
"eo-search-launchpad",
|
|
16
15
|
"eo-launchpad-recent-visits",
|
|
16
|
+
"eo-search-launchpad",
|
|
17
17
|
"eo-app-bar-wrapper",
|
|
18
18
|
"eo-frame-breadcrumb",
|
|
19
19
|
"eo-sidebar-menu-item",
|
|
@@ -39,10 +39,6 @@
|
|
|
39
39
|
"eo-input",
|
|
40
40
|
"eo-tooltip"
|
|
41
41
|
],
|
|
42
|
-
"eo-launchpad-button": [
|
|
43
|
-
"eo-icon",
|
|
44
|
-
"eo-link"
|
|
45
|
-
],
|
|
46
42
|
"eo-launchpad-button-v2": [
|
|
47
43
|
"basic.lock-body-scroll",
|
|
48
44
|
"eo-icon",
|
|
@@ -60,21 +56,25 @@
|
|
|
60
56
|
"eo-icon",
|
|
61
57
|
"eo-link"
|
|
62
58
|
],
|
|
59
|
+
"eo-launchpad-button": [
|
|
60
|
+
"eo-icon",
|
|
61
|
+
"eo-link"
|
|
62
|
+
],
|
|
63
63
|
"eo-launchpad-quick-access": [
|
|
64
64
|
"eo-icon",
|
|
65
65
|
"eo-link",
|
|
66
66
|
"basic.show-dialog",
|
|
67
67
|
"basic.show-notification"
|
|
68
68
|
],
|
|
69
|
-
"eo-
|
|
70
|
-
"eo-icon",
|
|
69
|
+
"eo-launchpad-recent-visits": [
|
|
71
70
|
"eo-link",
|
|
71
|
+
"eo-icon",
|
|
72
72
|
"basic.show-dialog",
|
|
73
73
|
"basic.show-notification"
|
|
74
74
|
],
|
|
75
|
-
"eo-launchpad
|
|
76
|
-
"eo-link",
|
|
75
|
+
"eo-search-launchpad": [
|
|
77
76
|
"eo-icon",
|
|
77
|
+
"eo-link",
|
|
78
78
|
"basic.show-dialog",
|
|
79
79
|
"basic.show-notification"
|
|
80
80
|
],
|
|
@@ -136,5 +136,5 @@
|
|
|
136
136
|
"basic.show-notification"
|
|
137
137
|
]
|
|
138
138
|
},
|
|
139
|
-
"filePath": "bricks/nav/dist/index.
|
|
139
|
+
"filePath": "bricks/nav/dist/index.0eec50d6.js"
|
|
140
140
|
}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[884],{884:(e,t,n)=>{var i,r=n(918),a=n(6121),l=n(829),o=n(2740),s=n(9575),c=n(8769),d=n.n(c),m=n(300),u=n(5223),p=n(4295),h=n(6370),g=n(9527),v=n(764),f=(n(6477),n(3373)),x=n.n(f),b=n(1283),y=n(9044),w=n(9998),A=n(839),E=n(1122);let k,N,S,C,M,I,T;n(4211);const{defineElement:B,property:W}=(0,m.createDecorators)(),R=(0,p.wrapBrick)("eo-menu-item"),K=(0,p.wrapBrick)("eo-popover",{onVisibleChange:"visible.change",onBeforeVisibleChange:"before.visible.change"});function D(e){const{item:t}=e;return(0,g.Wf)(t,e.topData)?d().createElement(L,(0,s.A)({},e,{item:t})):(0,g.IZ)(t)?d().createElement(V,(0,s.A)({},e,{item:t})):d().createElement(z,(0,s.A)({},e,{item:t}))}function z(e){const{item:t,index:n,hidden:i,showTooltip:r,selectedKey:a=[]}=e;return d().createElement(R,{"data-index":n,className:i?"overflow-menu-item":"",key:t.key,title:r?t.text:"",active:!!t.key&&a.includes(t.key)},(0,g.q5)(t,{width:"100%"},e.mainMenuTitleStyle))}let _;const F=e=>{const t=_??(_=window.innerWidth-document.body.clientWidth);document.body.style.paddingRight=e.detail?t+"px":"",document.body.style.overflow=e.detail?"hidden":"",document.body.style.touchAction=e.detail?"none":""};function L(e){var t;let{index:n,hidden:i,item:r,topData:a,showTooltip:l,selectedKey:o=[],overflow:s,mainMenuTitleStyle:c}=e;return(null===(t=r.items)||void 0===t?void 0:t.length)>0?d().createElement(K,{"data-index":n,className:x()("popover",{subprime:!a,"overflow-menu-item":i}),arrow:!1,trigger:"hover",placement:a?"bottom-start":"right-start",distance:0,anchorDisplay:"block",strategy:"fixed"},d().createElement(R,{className:"sub-menu-item-label 22",key:r.key,slot:"anchor",title:l?r.title:""},(0,g.Gn)(r,!a,{...c})),d().createElement("div",{className:x()("sub-menu-wrapper",{"overflow-menu-wrapper":s})},r.items.map((e=>d().createElement(d().Fragment,{key:e.key},d().createElement(D,{item:e,selectedKey:o,showTooltip:l})))))):null}function V(e){var t;let{item:n,showTooltip:i,selectedKey:r=[]}=e;return(null===(t=n.items)||void 0===t?void 0:t.length)>0?"category"===n.childLayout?d().createElement(O,{item:n,selectedKey:r,showTooltip:i,placement:"right-start",anchorDisplay:"block"}):"siteMap"===n.childLayout?d().createElement(G,{item:n,selectedKey:r,showTooltip:i,placement:"right-start",anchorDisplay:"block",topData:!1}):d().createElement(d().Fragment,null,d().createElement("div",{className:"group-label"},n.title),d().createElement("div",{className:"group-wrapper"},n.items.map((e=>d().createElement(d().Fragment,{key:e.key},d().createElement(D,{item:e,showTooltip:i,selectedKey:r})))))):null}function O(e){var t;let{index:n,hidden:i,item:r,selectedKey:a=[],showTooltip:l,placement:o="bottom-start",anchorDisplay:s,mainMenuTitleStyle:c}=e;return(null===(t=r.items)||void 0===t?void 0:t.length)>0?d().createElement(K,{"data-index":n,className:x()("three-level-menu-popover","popover",{"overflow-menu-item":i}),arrow:!1,trigger:"hover",placement:o,distance:0,key:r.key,strategy:"fixed",anchorDisplay:s,onBeforeVisibleChange:F},d().createElement(R,{className:"sub-menu-item-label",key:r.key,slot:"anchor",title:l?r.title:""},(0,g.Gn)(r,!1,c)),d().createElement("div",{className:"sub-menu-wrapper"},d().createElement(b.s,{menuItem:r,selectedKey:a}))):null}function G(e){var t;let{index:n,hidden:i,item:r,selectedKey:a=[],showTooltip:l,placement:o="bottom-start",anchorDisplay:s,topData:m,mainMenuTitleStyle:u}=e;const[p,h]=(0,c.useState)();return(null===(t=r.items)||void 0===t?void 0:t.length)>0?d().createElement(K,{"data-index":n,className:x()("popover",{"overflow-menu-item":i}),trigger:"hover",placement:o,distance:0,key:r.key,strategy:"fixed",arrow:!1,anchorDisplay:s,onBeforeVisibleChange:e=>{h(e.detail),F(e)}},d().createElement(R,{className:"sub-menu-item-label",key:r.key,slot:"anchor",title:l?r.title:""},(0,g.Gn)(r,!1,u)),d().createElement("div",{className:x()("sub-menu-sit-map-wrapper",{"in-group-site-map":!m}),onClick:e=>e.stopPropagation()},d().createElement(y.bw,{menuGroup:r,selectedKey:a,visible:p}))):null}let P;var $=new WeakMap,j=new WeakMap,X=new WeakMap;class U extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,$,N(this)),(0,r.A)(this,j,(S(this),C(this))),(0,r.A)(this,X,(M(this),I(this))),T(this)}get menu(){return(0,l.A)($,this)}set menu(e){(0,a.A)($,this,e)}get mainMenuTitleStyle(){return(0,l.A)(j,this)}set mainMenuTitleStyle(e){(0,a.A)(j,this,e)}get showTooltip(){return(0,l.A)(X,this)}set showTooltip(e){(0,a.A)(X,this,e)}render(){return d().createElement(q,{menu:this.menu,showTooltip:this.showTooltip,mainMenuTitleStyle:this.mainMenuTitleStyle})}}function q(e){const{menu:t,showTooltip:n}=e,i=(0,u.getHistory)(),r=(0,c.useRef)(null),[a,l]=(0,c.useState)(i.location),[o,s]=(0,c.useState)(Number.MAX_SAFE_INTEGER),{pathname:m,search:p}=a,h=(0,c.useMemo)((()=>((null==t?void 0:t.menuItems)??[]).filter((e=>{var t;return"default"===e.type||!e.type||["group","subMenu"].includes(e.type)&&(null===(t=e.items)||void 0===t?void 0:t.length)}))),[null==t?void 0:t.menuItems]),f=(0,c.useMemo)((()=>{const{selectedKeys:e}=(0,v.LP)(h??[],m,p,"");return e}),[h,m,p]);(0,c.useEffect)((()=>{const e=i.listen((e=>{l(e)}));return e}),[]),(0,c.useEffect)((()=>{if(r.current){const e=new ResizeObserver((()=>{if(r.current){const{width:e}=r.current.getClientRects()[0]??{},t=r.current.childNodes;if(t.length&&e){let n=e,i=t.length;for(let e=0;e<t.length;e++){const{width:r,height:a}=t[e].getClientRects()[0];if(!a&&n-40<0){i=e-1;break}if(n=n-r-(e>0?8:0),n<0){i=e;break}}s(i<0?0:i)}}}));return e.observe(r.current),()=>{e.disconnect()}}}),[]);const x=(0,c.useMemo)((()=>({type:"subMenu",title:"···",items:h.slice(o,h.length)})),[h,o]);return d().createElement("div",{ref:r,className:"nav-menu-wrapper"},h.map(((t,i)=>{var r;const a=o<=i;return d().createElement(d().Fragment,{key:t.key},(0,g.Wf)(t,!0)&&"category"===t.childLayout&&null!==(r=t.items)&&void 0!==r&&r.length?d().createElement(O,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:f,mainMenuTitleStyle:e.mainMenuTitleStyle}):"group"===t.type&&"siteMap"===t.childLayout?d().createElement(G,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:f,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}):d().createElement(D,{index:i,hidden:a,item:t,showTooltip:n,selectedKey:f,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}))})),d().createElement(D,{hidden:o>h.length,item:x,showTooltip:n,selectedKey:f,overflow:!0,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}))}i=U,({e:[N,S,C,M,I,T],c:[P,k]}=(0,o.A)(i,[B("eo-nav-menu",{styleTexts:[w.A,A.A,E.A,h.A]})],[[W({attribute:!1}),1,"menu"],[W({attribute:!1}),1,"mainMenuTitleStyle"],[W({type:Boolean}),1,"showTooltip"]],0,void 0,p.ReactNextElement)),k();var H,Z=n(6293),Y=n(7896),Q=n(9929),J=n(1);let ee;(0,Y.initializeReactI18n)(Q.NS,Q.I);const{defineElement:te}=(0,m.createDecorators)();let ne;class ie extends p.ReactNextElement{render(){return d().createElement(Z.D,null)}}H=ie,[ne,ee]=(0,o.A)(H,[te("eo-launchpad-button",{styleTexts:[J.A]})],[],0,void 0,p.ReactNextElement).c,ee();var re,ae=n(3078),le=n(6674),oe=n(2240),se=n(5924),ce=n(3693),de=n(9302),me=n(2133),ue=n(8776);let pe;n(9262);const{defineElement:he}=(0,m.createDecorators)(),ge=(0,ae.unwrapProvider)("basic.lock-body-scroll");let ve;class fe extends p.ReactNextElement{disconnectedCallback(){super.disconnectedCallback(),ge(this,!1)}render(){return d().createElement(xe,{host:this})}}function xe(e){let{host:t}=e;const[n,i]=(0,c.useState)(!1),[r,a]=(0,c.useState)(!1),l=()=>{a((e=>!e))};return(0,c.useEffect)((()=>(0,u.getHistory)().listen((()=>{a(!1)}))),[]),(0,c.useEffect)((()=>{r&&!n&&i(!0)}),[r,n]),(0,c.useEffect)((()=>(le.A.filter=function(){return!0},(0,le.A)("alt+l",(e=>{e.preventDefault(),a((e=>!e))})),(0,le.A)("esc",(()=>{a(!1)})),()=>{le.A.unbind("alt+l"),le.A.unbind("esc")})),[]),(0,c.useEffect)((()=>{ge(t,r)}),[r,t]),(0,c.useEffect)((()=>{var e;me.ir.schedulePrefetch(),me.fm.schedulePrefetch(),(null===(e=(0,u.getRuntime)())||void 0===e?void 0:e.getFeatureFlags()["launchpad-show-platform-category"])&&me.pU.schedulePrefetch()}),[]),d().createElement(d().Fragment,null,d().createElement("a",{role:"button",className:x()("launchpad-button",{active:r}),onClick:l},d().createElement(oe.A,null)),d().createElement("div",{className:x()("mask",{active:r}),onClick:l}),n&&d().createElement(de.r,{active:r}))}re=fe,[ve,pe]=(0,o.A)(re,[he("eo-launchpad-button-v2",{styleTexts:[se.A,ce.A,ue.A]})],[],0,void 0,p.ReactNextElement).c,pe();var be=n(4635),ye=n(6902),we=n(5536),Ae=n(1030);const Ee=(0,p.wrapBrick)("eo-icon"),ke=(0,p.wrapBrick)("eo-link"),Ne=(0,p.wrapBrick)("eo-dropdown-actions",{onActionClick:"action.click",onVisibleChange:"visible.change"});(0,ae.unwrapProvider)("basic.show-dialog");var Se=n(6659);function Ce(e){let{data:t,actions:n,onActionClick:i}=e;const{name:r,items:a}=t,[l,o]=(0,c.useState)(!1),s=(0,c.useMemo)((()=>null==n?void 0:n.filter((e=>(0,u.checkIfByTransform)(e,{type:"group"})))),[n]),m=(0,c.useCallback)((e=>{null==i||i({data:t,action:e.detail})}),[t,i]);return d().createElement("li",{className:x()("menu-group",{empty:0===a.length})},d().createElement("div",{className:"menu-group-label-wrapper"},d().createElement("span",{className:"menu-group-label"},r),d().createElement(Ne,{actions:s,onVisibleChange:e=>{o(e.detail)},onActionClick:m},d().createElement(Ee,{lib:"fa",icon:"gear",className:x()("menu-config",{active:l})}))),d().createElement("ul",{className:"menu"},a.map((e=>"dir"===e.type?d().createElement(Ie,{key:e.instanceId,data:e,actions:n,onActionClick:i}):d().createElement(Me,{key:`${e.type}-${e.id}`,data:e,actions:n,onActionClick:i})))))}function Me(e){var t;let{data:n,actions:i,onActionClick:r}=e;const a=(0,c.useMemo)((()=>"app"===n.type?(0,Se.F)(n.locales,n.name):n.name),[n]),[l,o]=(0,c.useState)(!1),m=(0,c.useMemo)((()=>null==i?void 0:i.filter((e=>(0,u.checkIfByTransform)(e,n)))),[i,n]),p=(0,c.useCallback)((e=>{null==r||r({data:n,action:e.detail})}),[n,r]);return d().createElement("li",{className:"menu-item"},d().createElement(ke,null,d().createElement(Ee,(0,s.A)({className:"menu-icon",lib:"easyops",icon:"micro-app-center"},null!==(t=n.menuIcon)&&void 0!==t&&t.lib&&n.menuIcon.icon?(0,Ae.pick)(n.menuIcon,["lib","icon","theme","category","prefix"]):null)),d().createElement("span",{className:"menu-item-label"},a)),d().createElement(Ne,{actions:m,onVisibleChange:e=>{o(e.detail)},onActionClick:p},d().createElement(Ee,{lib:"fa",icon:"gear",className:x()("menu-config",{active:l})})))}function Ie(e){let{data:t,actions:n,onActionClick:i}=e;const{name:r,items:a}=t,[l,o]=(0,c.useState)(!1),[s,m]=(0,c.useState)(!1),p=(0,c.useMemo)((()=>null==n?void 0:n.filter((e=>(0,u.checkIfByTransform)(e,{type:"dir"})))),[n]),h=(0,c.useCallback)((()=>{m((e=>!e))}),[]),g=(0,c.useCallback)((e=>{null==i||i({data:t,action:e.detail})}),[t,i]);return d().createElement("li",{className:x()("menu-item folder",{empty:0===a.length})},d().createElement("div",{className:"menu-folder-label-wrapper"},d().createElement(ke,{onClick:h},d().createElement(Ee,{lib:"fa",prefix:"far",icon:"folder-open",className:"menu-icon"}),d().createElement("span",{className:"menu-item-label"},r),d().createElement(Ee,{lib:"antd",icon:s?"up":"down",className:"menu-item-toggle"})),d().createElement(Ne,{actions:p,onVisibleChange:e=>{o(e.detail)},onActionClick:g},d().createElement(Ee,{lib:"fa",icon:"gear",className:x()("menu-config",{active:l})}))),d().createElement("ul",{className:x()("sub-menu",{expanded:s})},a.map((e=>d().createElement(Me,{key:e.instanceId,data:e,actions:n,onActionClick:i})))))}var Te,Be=n(4081);let We,Re,Ke,De,ze,_e,Fe,Le,Ve;const{defineElement:Oe,property:Ge,event:Pe}=(0,m.createDecorators)();let $e;var je=new WeakMap,Xe=new WeakMap,Ue=new WeakMap,qe=new WeakSet,He=new WeakMap;class Ze extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,qe),(0,r.A)(this,je,Re(this)),(0,r.A)(this,Xe,(Ke(this),De(this))),(0,r.A)(this,Ue,(ze(this),_e(this))),(0,r.A)(this,He,(Ve(this),e=>{(0,we.A)(qe,this,Fe).emit(e)}))}get menuGroups(){return(0,l.A)(je,this)}set menuGroups(e){(0,a.A)(je,this,e)}get actions(){return(0,l.A)(Xe,this)}set actions(e){(0,a.A)(Xe,this,e)}render(){return d().createElement(Ye,{menuGroups:this.menuGroups,actions:this.actions,onActionClick:(0,l.A)(He,this)})}}function Ye(e){let{menuGroups:t,actions:n,onActionClick:i}=e;return d().createElement("ul",{className:"menu-groups"},null==t?void 0:t.map((e=>d().createElement(Ce,{key:e.instanceId,data:e,actions:n,onActionClick:i}))))}Te=Ze,({e:[Re,Ke,De,ze,_e,Fe,Le,Ve],c:[$e,We]}=(0,o.A)(Te,[Oe("nav.launchpad-config",{styleTexts:[Be.A]})],[[Ge({attribute:!1}),1,"menuGroups"],[Ge({attribute:!1}),1,"actions"],[Pe({type:"action.click"}),1,"actionClickEvent",e=>(0,l.A)(Ue,e),(e,t)=>(0,a.A)(Ue,e,t)]],0,(e=>He.has((0,ye.A)(e))),p.ReactNextElement)),We();var Qe,Je=n(9592),et=n(2144),tt=n(4612),nt=n(6238),it=n.n(nt),rt=n(7061);let at;const lt=(0,p.wrapBrick)("eo-icon"),ot=(0,p.wrapBrick)("eo-link"),{defineElement:st}=(0,m.createDecorators)();let ct;class dt extends p.ReactNextElement{render(){return d().createElement(ut,null)}}Qe=dt,[ct,at]=(0,o.A)(Qe,[st("nav.easyops-navbar-alerts",{styleTexts:[rt.A]})],[],0,void 0,p.ReactNextElement).c,at();const mt=new tt.G(localStorage);function ut(){const[e,t]=(0,c.useState)(!1),[n,i]=(0,c.useState)(null),r=(0,Je.useCurrentApp)(),a=(0,c.useMemo)((()=>`license:${et.auth.getAuth().org}`),[]),l=(0,c.useMemo)((()=>{var t;const n=et.auth.getAuth(),i=null===(t=n.license)||void 0===t?void 0:t.validDaysLeft;let r;return e?null:i&&i<=15&&n.isAdmin&&(r=mt.getItem(a),!r||it()().unix()>r)?i:null}),[a,e]);(0,c.useEffect)((()=>{const e=e=>{const t=e.detail.renderTime,{loadTime:n,loadInfoPage:a}=(0,u.getRuntime)().getMiscSettings();null!=r&&r.isBuildPush&&n>0&&t>n&&i({renderTime:ht(t),suggestTime:ht(n),suggestUrl:a})};return window.addEventListener("route.render",e),()=>{window.removeEventListener("route.render",e)}}),[r]);const o=(0,c.useCallback)((()=>{mt.setItem(a,it()().unix()+86400),t(!0)}),[a]);return d().createElement(d().Fragment,null,n&&d().createElement(pt,{text:`您的页面存在性能问题, 当前页面渲染时间 ${n.renderTime} 秒, 规定阈值为: ${n.suggestTime} 秒, 您已超过。请您针对该页面进行性能优化!`,type:"warning",link:n.suggestUrl?{label:"建议解决思路",url:n.suggestUrl}:void 0}),null!==l&&d().createElement(pt,{text:`离 License 过期还有 ${l} 天`,type:"info",closable:!0,onClose:o}))}function pt(e){let{text:t,type:n,closable:i,link:r,onClose:a}=e;return d().createElement("div",{className:`alert ${n}`},d().createElement("span",{className:"text"},t),r&&d().createElement(ot,{className:"link",href:r.url,target:"_blank"},r.label),i&&d().createElement(lt,{lib:"antd",icon:"close",className:"icon",role:"button",onClick:a}))}function ht(e){return Math.floor(100*e)/1e5}var gt,vt=n(8119),ft=n(8356),xt=n(8839);let bt,yt,wt,At,Et;const{defineElement:kt,property:Nt}=(0,m.createDecorators)();let St;var Ct=new WeakMap,Mt=new WeakMap;class It extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Ct,yt(this)),(0,r.A)(this,Mt,(wt(this),At(this))),Et(this)}get readonly(){return(0,l.A)(Ct,this)}set readonly(e){(0,a.A)(Ct,this,e)}get target(){return(0,l.A)(Mt,this)}set target(e){(0,a.A)(Mt,this,e)}render(){return d().createElement(Tt,{readonly:this.readonly,target:this.target})}}function Tt(e){let{readonly:t,target:n}=e;const{favorites:i,loadingFavorites:r,pushRecentVisit:a,toggleStar:l,isStarred:o}=(0,me.sZ)(!0);return d().createElement(ft.z.Provider,{value:{searching:!1,loadingFavorites:r,readonly:t,pushRecentVisit:a,toggleStar:l,isStarred:o}},d().createElement("ul",{className:"quick-access-list"},i.map(((e,t)=>d().createElement(xt.F,{key:t,target:n,item:e})))))}gt=It,({e:[yt,wt,At,Et],c:[St,bt]}=(0,o.A)(gt,[kt("eo-launchpad-quick-access",{styleTexts:[vt.A]})],[[Nt({type:Boolean}),1,"readonly"],[Nt({attribute:!1}),1,"target"]],0,void 0,p.ReactNextElement)),bt();var Bt,Wt=n(3873),Rt=n(2591),Kt=n.n(Rt),Dt=n(1740),zt=n.n(Dt),_t=n(8128),Ft=n.n(_t),Lt=n(855),Vt=n.n(Lt),Ot=n(3051),Gt=n.n(Ot),Pt=n(3656),$t=n.n(Pt),jt=n(7839),Xt={};let Ut,qt,Ht;Xt.styleTagTransform=$t(),Xt.setAttributes=Vt(),Xt.insert=Ft().bind(null,"head"),Xt.domAPI=zt(),Xt.insertStyleElement=Gt(),Kt()(jt.A,Xt),jt.A&&jt.A.locals&&jt.A.locals;const Zt=(0,p.wrapBrick)("eo-icon"),{defineElement:Yt,property:Qt}=(0,m.createDecorators)();let Jt;var en=new WeakMap;class tn extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,en,qt(this)),Ht(this)}get readonly(){return(0,l.A)(en,this)}set readonly(e){(0,a.A)(en,this,e)}render(){return d().createElement(nn,{readonly:this.readonly})}}function nn(e){let{readonly:t}=e;const n=(0,c.useRef)(null),i=(0,c.useCallback)((()=>{var e;null===(e=n.current)||void 0===e||e.focus()}),[]),[r,a]=(0,c.useState)(!1),{loading:l,q:o,setQ:s,menuGroups:m,loadingFavorites:u,pushRecentVisit:p,toggleStar:h,isStarred:g}=(0,me.sZ)(r),v=!!o,f=(0,c.useCallback)((e=>{s(e.target.value)}),[s]),b=(0,c.useCallback)((()=>{s("")}),[s]);return d().createElement(ft.z.Provider,{value:{searching:v,loadingFavorites:u,readonly:t,pushRecentVisit:p,toggleStar:h,isStarred:g}},d().createElement("div",{className:"container"},d().createElement("div",{className:"search-box",onClick:i},d().createElement(Zt,{lib:"fa",icon:"magnifying-glass",className:"search-icon"}),d().createElement("input",{ref:n,placeholder:"搜索产品/微应用",value:o,onChange:f,className:"search-input",onFocus:()=>a(!0),onBlur:()=>a(!1)}),d().createElement(Zt,{lib:"antd",theme:"filled",icon:"close-circle",className:x()("search-clear",{searching:v}),onClick:b,onMouseDown:e=>e.preventDefault()})),d().createElement("div",{className:x()("dropdown",{"dropdown-active":r}),onMouseDown:e=>e.preventDefault()},d().createElement("div",{className:x()("dropdown-content",{loading:l})},d().createElement(rn,{loading:l}),d().createElement("ul",{className:"menu-groups"},m.map((e=>d().createElement(xt.r,{key:e.name,name:e.name,items:e.items}))))))))}function rn(e){let{loading:t}=e;return t&&d().createElement("div",{className:"spinner"},d().createElement(Zt,{lib:"fa",icon:"spinner",spinning:!0}))}Bt=tn,({e:[qt,Ht],c:[Jt,Ut]}=(0,o.A)(Bt,[Yt("eo-search-launchpad",{styleTexts:[Wt.A]})],[[Qt({type:Boolean}),1,"readonly"]],0,void 0,p.ReactNextElement)),Ut();var an,ln=n(6859);let on,sn,cn;const dn=(0,p.wrapBrick)("eo-link"),{defineElement:mn,property:un}=(0,m.createDecorators)();let pn;var hn=new WeakMap;class gn extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,hn,sn(this)),cn(this)}get target(){return(0,l.A)(hn,this)}set target(e){(0,a.A)(hn,this,e)}render(){return d().createElement(vn,{target:this.target})}}function vn(e){let{target:t}=e;const{recentVisits:n,pushRecentVisit:i}=(0,me.sZ)(!0);return d().createElement("ul",{className:"recent-visits"},n.map(((e,n)=>d().createElement("li",{key:n},d().createElement(dn,(0,s.A)({onClick:()=>i(e)},"app"===e.type?{url:e.url,target:t}:{href:e.url,target:"_blank"}),d().createElement("span",null,e.name))))))}an=gn,({e:[sn,cn],c:[pn,on]}=(0,o.A)(an,[mn("eo-launchpad-recent-visits",{styleTexts:[ln.A]})],[[un({attribute:!1}),1,"target"]],0,void 0,p.ReactNextElement)),on();var fn,xn=n(6405);let bn,yn,wn,An,En,kn,Nn,Sn,Cn;const{defineElement:Mn,property:In}=(0,m.createDecorators)();let Tn;var Bn=new WeakMap,Wn=new WeakMap,Rn=new WeakMap,Kn=new WeakMap;class Dn extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Bn,yn(this)),(0,r.A)(this,Wn,(wn(this),An(this))),(0,r.A)(this,Rn,(En(this),kn(this))),(0,r.A)(this,Kn,(Nn(this),Sn(this))),Cn(this)}get isFixed(){return(0,l.A)(Bn,this)}set isFixed(e){(0,a.A)(Bn,this,e)}get position(){return(0,l.A)(Wn,this)}set position(e){(0,a.A)(Wn,this,e)}get displayCenter(){return(0,l.A)(Rn,this)}set displayCenter(e){(0,a.A)(Rn,this,e)}get extraAppBarContentStyle(){return(0,l.A)(Kn,this)}set extraAppBarContentStyle(e){(0,a.A)(Kn,this,e)}render(){return d().createElement(zn,{displayCenter:this.displayCenter,isFixed:this.isFixed,position:this.position,extraAppBarContentStyle:this.extraAppBarContentStyle})}}function zn(e){let{isFixed:t=!0,position:n,displayCenter:i=!1,extraAppBarContentStyle:r={}}=e;return d().useEffect((()=>{const e=document.getElementById("main-mount-point"),t=document.getElementById("legacy-iframe-mount-point");e&&(e.style.marginTop=""),t&&(t.style.marginTop="")}),[]),d().createElement("div",{className:"app-bar-container"},d().createElement("div",{className:x()("app-bar","static"===n?"static":"fixed"===n||t?"fixed":"absolute")},d().createElement("div",{className:"app-bar-content",style:{justifyContent:i?"space-around":"space-between",...r}},d().createElement("div",{className:"left"},d().createElement("slot",{name:"left"})),d().createElement("div",{className:"right"},d().createElement("slot",{name:"right"})))))}fn=Dn,({e:[yn,wn,An,En,kn,Nn,Sn,Cn],c:[Tn,bn]}=(0,o.A)(fn,[Mn("eo-app-bar-wrapper",{styleTexts:[xn.A],alias:["basic.app-bar-wrapper"]})],[[In({type:Boolean}),1,"isFixed"],[In(),1,"position"],[In({type:Boolean}),1,"displayCenter"],[In({attribute:!1}),1,"extraAppBarContentStyle"]],0,void 0,p.ReactNextElement)),bn();var _n,Fn=n(2689);let Ln,Vn,On,Gn,Pn,$n,jn;const{defineElement:Xn,property:Un}=(0,m.createDecorators)(),qn=(0,p.wrapBrick)("eo-breadcrumb"),Hn=(0,p.wrapBrick)("eo-breadcrumb-item"),Zn=(0,p.wrapBrick)("eo-icon");let Yn;var Qn=new WeakMap,Jn=new WeakMap,ei=new WeakMap;class ti extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Qn,Vn(this)),(0,r.A)(this,Jn,(On(this),Gn(this))),(0,r.A)(this,ei,(Pn(this),$n(this))),jn(this)}get breadcrumb(){return(0,l.A)(Qn,this)}set breadcrumb(e){(0,a.A)(Qn,this,e)}get noCurrentApp(){return(0,l.A)(Jn,this)}set noCurrentApp(e){(0,a.A)(Jn,this,e)}get menu(){return(0,l.A)(ei,this)}set menu(e){(0,a.A)(ei,this,e)}render(){return d().createElement(ni,{breadcrumb:this.breadcrumb,noCurrentApp:this.noCurrentApp,menu:this.menu})}}function ni(e){var t;const{menu:n}=e,i=(0,Je.useNavConfig)(),r=(0,Je.useCurrentApp)(),a=null==r?void 0:r.breadcrumb,l=null==a?void 0:a.items,o=null!==(t=e.breadcrumb)&&void 0!==t&&t.length?e.breadcrumb:null==i?void 0:i.breadcrumb,c=e.noCurrentApp??(null==a?void 0:a.noCurrentApp),m=null==a?void 0:a.useCurrentMenuTitle;return d().createElement(qn,null,d().createElement("span",{slot:"separator"},"/"),null==l?void 0:l.map(((e,t)=>d().createElement(Hn,{key:t,url:e.to},e.icon?d().createElement(Zn,(0,s.A)({className:"breadcrumb-item-prefix-icon",slot:"prefix"},e.icon)):0===t&&d().createElement(Zn,{className:"breadcrumb-item-prefix-icon",slot:"prefix",lib:"antd",icon:"home",theme:"outlined"}),e.text))),r&&!c?d().createElement(Hn,{url:null!=o&&o.length&&r.homepage&&!r.internal?r.homepage:void 0},!(null!=l&&l.length)&&d().createElement(Zn,(0,s.A)({},r.menuIcon,{slot:"prefix",className:"breadcrumb-item-prefix-icon"})),r.localeName):null,m&&n?d().createElement(Hn,{url:n.link},n.icon&&d().createElement(Zn,(0,s.A)({},n.icon,{className:"breadcrumb-item-prefix-icon",slot:"prefix"})),n.title):null,null==o?void 0:o.map(((e,t)=>d().createElement(Hn,{key:t,url:e.to},e.text))))}_n=ti,({e:[Vn,On,Gn,Pn,$n,jn],c:[Yn,Ln]}=(0,o.A)(_n,[Xn("eo-frame-breadcrumb",{styleTexts:[Fn.A]})],[[Un({attribute:!1}),1,"breadcrumb"],[Un({type:Boolean}),1,"noCurrentApp"],[Un({attribute:!1}),1,"menu"]],0,void 0,p.ReactNextElement)),Ln();var ii,ri=n(4239);let ai,li,oi,si,ci,di,mi,ui,pi,hi,gi,vi,fi,xi,bi;const{defineElement:yi,property:wi}=(0,m.createDecorators)(),Ai=(0,p.wrapBrick)("eo-link"),Ei=(0,p.wrapBrick)("eo-icon");let ki;var Ni=new WeakMap,Si=new WeakMap,Ci=new WeakMap,Mi=new WeakMap,Ii=new WeakMap,Ti=new WeakMap,Bi=new WeakMap;class Wi extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Ni,li(this)),(0,r.A)(this,Si,(oi(this),si(this))),(0,r.A)(this,Ci,(ci(this),di(this))),(0,r.A)(this,Mi,(mi(this),ui(this))),(0,r.A)(this,Ii,(pi(this),hi(this))),(0,r.A)(this,Ti,(gi(this),vi(this))),(0,r.A)(this,Bi,(fi(this),xi(this))),bi(this)}get url(){return(0,l.A)(Ni,this)}set url(e){(0,a.A)(Ni,this,e)}get href(){return(0,l.A)(Si,this)}set href(e){(0,a.A)(Si,this,e)}get target(){return(0,l.A)(Ci,this)}set target(e){(0,a.A)(Ci,this,e)}get icon(){return(0,l.A)(Mi,this)}set icon(e){(0,a.A)(Mi,this,e)}get selected(){return(0,l.A)(Ii,this)}set selected(e){(0,a.A)(Ii,this,e)}get inSubmenu(){return(0,l.A)(Ti,this)}set inSubmenu(e){(0,a.A)(Ti,this,e)}get menuCollapsed(){return(0,l.A)(Bi,this)}set menuCollapsed(e){(0,a.A)(Bi,this,e)}render(){return d().createElement(Ri,{url:this.url,href:this.href,target:this.target,icon:this.icon,selected:this.selected})}}function Ri(e){const{url:t,href:n,target:i,icon:r,selected:a}=e;return d().createElement(Ai,{type:"plain",url:t,href:n,target:i},d().createElement("div",{className:"menu-item"},d().createElement("span",{className:"menu-item-icon-container"},d().createElement(Ei,(0,s.A)({},r,{className:"menu-item-icon"},r&&"imgSrc"in r?{imgStyle:{filter:a?"brightness(7)":void 0}}:{}))),d().createElement("span",{className:"menu-item-text"},d().createElement("slot",null))))}ii=Wi,({e:[li,oi,si,ci,di,mi,ui,pi,hi,gi,vi,fi,xi,bi],c:[ki,ai]}=(0,o.A)(ii,[yi("eo-sidebar-menu-item",{styleTexts:[ri.A]})],[[wi({attribute:!1}),1,"url"],[wi(),1,"href"],[wi(),1,"target"],[wi({attribute:!1}),1,"icon"],[wi({type:Boolean}),1,"selected"],[wi({type:Boolean}),1,"inSubmenu"],[wi({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),ai();var Ki=n(8619);const Di=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]),zi=e=>Di.has(e.tagName);function _i(e){const t=(0,c.useRef)(null),n=(0,c.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{zi(t)&&(t.menuCollapsed=e)}))}),[e]);return(0,c.useEffect)((()=>{n()}),[e,n]),(0,c.useEffect)((()=>{const e=t.current,i=()=>{n()};return null==e||e.addEventListener("slotchange",i),()=>{null==e||e.removeEventListener("slotchange",i)}}),[n]),[t]}const Fi="side-bar-has-been-used",Li="side-bar-expand-state",Vi="side-bar-resize-width";let Oi=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const Gi=parseInt((0,u.getCssPropertyValue)("--side-bar-width",document.body),10)||220,Pi=parseInt((0,u.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,$i=(0,c.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),ji=(0,p.wrapBrick)("eo-sidebar-menu"),Xi=(0,p.wrapBrick)("eo-sidebar-menu-item"),Ui=(0,p.wrapBrick)("eo-sidebar-menu-group"),qi=(0,p.wrapBrick)("eo-sidebar-menu-submenu");function Hi(e){const{to:t,href:n,target:i,icon:r,text:a,id:l,inSubmenu:o}=e,{selectedKeys:s}=(0,c.useContext)($i);return d().createElement(Xi,{url:t,href:n,target:i,icon:r,inSubmenu:o,selected:s.includes(l)},a)}function Zi(e){const{title:t,items:n,id:i,top:r,inSubmenu:a}=e,{matchedKeys:l}=(0,c.useContext)($i),o=i&&l.includes(i);return(null==n?void 0:n.length)>0?d().createElement(Ui,{selected:!!o,collapsable:!r},d().createElement("span",{slot:"title"},t),e.items.map((e=>d().createElement(Qi,(0,s.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:a}))))):null}function Yi(e){const{title:t,icon:n,items:i,id:r}=e,{openedKeys:a,matchedKeys:l}=(0,c.useContext)($i),o=r&&l.includes(r);return(null==i?void 0:i.length)>0?d().createElement(qi,{icon:n,collapsed:!a.includes(r),selected:!!o},d().createElement("span",{slot:"title"},t),e.items.map((e=>d().createElement(Qi,(0,s.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function Qi(e){return"subMenu"===e.type?d().createElement(Yi,e):"group"===e.type?d().createElement(Zi,e):d().createElement(Hi,e)}function Ji(e){var t;const{menu:n,expandedState:i,selectedKeys:r,openedKeys:a,matchedKeys:l}=e;return d().createElement($i.Provider,{value:{selectedKeys:r||[],openedKeys:a||[],matchedKeys:l||[]}},d().createElement(ji,{menuCollapsed:i===Oi.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>d().createElement(Qi,(0,s.A)({key:e.key},e,{id:e.key,top:!0}))))))}var er;let tr,nr,ir,rr,ar,lr,or,sr,cr;const{defineElement:dr,property:mr}=(0,m.createDecorators)();let ur;var pr=new WeakMap,hr=new WeakMap,gr=new WeakMap,vr=new WeakMap,fr=new WeakMap;class xr extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,pr,nr(this)),(0,r.A)(this,hr,(ir(this),rr(this))),(0,r.A)(this,gr,(ar(this),lr(this))),(0,r.A)(this,vr,(or(this),sr(this))),(0,r.A)(this,fr,(cr(this),e=>{this.collapsed=e}))}get collapsable(){return(0,l.A)(pr,this)}set collapsable(e){(0,a.A)(pr,this,e)}get collapsed(){return(0,l.A)(hr,this)}set collapsed(e){(0,a.A)(hr,this,e)}get selected(){return(0,l.A)(gr,this)}set selected(e){(0,a.A)(gr,this,e)}get menuCollapsed(){return(0,l.A)(vr,this)}set menuCollapsed(e){(0,a.A)(vr,this,e)}render(){return d().createElement(br,{collapsable:this.collapsable,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,l.A)(fr,this)})}}function br(e){const{collapsable:t=!1,collapsed:n,menuCollapsed:i,onCollapseChange:r}=e,[a]=_i(i),l=(0,c.useRef)(null),o=(0,c.useCallback)((()=>{!i&&(null==r||r(!n))}),[i,r,n]);return(0,c.useEffect)((()=>{const e=l.current;return null==e||e.addEventListener("click",o),()=>{null==e||e.removeEventListener("click",o)}}),[o]),d().createElement("div",{className:x()("menu-group",{"menu-group-collapsed":!!i||n})},d().createElement("div",{className:"menu-group-title",ref:l},d().createElement("span",{className:"menu-group-title-icon-container"},d().createElement("span",{className:"menu-group-title-icon"})),d().createElement("div",{className:"menu-group-title-text"},d().createElement("slot",{name:"title"})),t&&d().createElement("span",{className:"menu-group-arrow"})),d().createElement("div",{className:"menu-group-list"},d().createElement("div",{className:"menu-group-list-inner"},d().createElement("slot",{ref:a}))))}er=xr,({e:[nr,ir,rr,ar,lr,or,sr,cr],c:[ur,tr]}=(0,o.A)(er,[dr("eo-sidebar-menu-group",{styleTexts:[Ki.A]})],[[mr({type:Boolean}),1,"collapsable"],[mr({type:Boolean}),1,"collapsed"],[mr({type:Boolean}),1,"selected"],[mr({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),tr();var yr,wr=n(8797);let Ar,Er,kr,Nr,Sr,Cr,Mr,Ir,Tr;const{defineElement:Br,property:Wr}=(0,m.createDecorators)(),Rr=(0,p.wrapBrick)("eo-icon");let Kr;var Dr=new WeakMap,zr=new WeakMap,_r=new WeakMap,Fr=new WeakMap,Lr=new WeakMap;class Vr extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Dr,Er(this)),(0,r.A)(this,zr,(kr(this),Nr(this))),(0,r.A)(this,_r,(Sr(this),Cr(this))),(0,r.A)(this,Fr,(Mr(this),Ir(this))),(0,r.A)(this,Lr,(Tr(this),e=>{this.collapsed=e}))}get icon(){return(0,l.A)(Dr,this)}set icon(e){(0,a.A)(Dr,this,e)}get selected(){return(0,l.A)(zr,this)}set selected(e){(0,a.A)(zr,this,e)}get collapsed(){return(0,l.A)(_r,this)}set collapsed(e){(0,a.A)(_r,this,e)}get menuCollapsed(){return(0,l.A)(Fr,this)}set menuCollapsed(e){(0,a.A)(Fr,this,e)}render(){return d().createElement(Or,{icon:this.icon,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,l.A)(Lr,this)})}}function Or(e){const{icon:t,collapsed:n,menuCollapsed:i,onCollapseChange:r}=e,[a]=_i(i),l=(0,c.useRef)(null),o=(0,c.useCallback)((()=>{!i&&(null==r||r(!n))}),[i,r,n]);return(0,c.useEffect)((()=>{const e=l.current;return null==e||e.addEventListener("click",o),()=>{null==e||e.removeEventListener("click",o)}}),[o]),d().createElement("div",{className:x()("menu-submenu",{"menu-submenu-collapsed":!!i||n})},d().createElement("div",{className:"menu-submenu-title",ref:l},d().createElement("span",{className:"menu-submenu-title-icon-container"},d().createElement(Rr,(0,s.A)({},t,{className:"menu-submenu-title-icon"}))),d().createElement("span",{className:"menu-submenu-title-text"},d().createElement("slot",{name:"title"})),d().createElement("span",{className:"menu-submenu-arrow"})),d().createElement("div",{className:"menu-sub"},d().createElement("div",{className:"menu-sub-inner"},d().createElement("slot",{ref:a}))))}yr=Vr,({e:[Er,kr,Nr,Sr,Cr,Mr,Ir,Tr],c:[Kr,Ar]}=(0,o.A)(yr,[Br("eo-sidebar-menu-submenu",{styleTexts:[wr.A]})],[[Wr({attribute:!1}),1,"icon"],[Wr({type:Boolean}),1,"selected"],[Wr({type:Boolean}),1,"collapsed"],[Wr({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),Ar();var Gr,Pr=n(2469);let $r,jr,Xr;const{defineElement:Ur,property:qr}=(0,m.createDecorators)();let Hr;var Zr=new WeakMap;class Yr extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Zr,jr(this)),Xr(this)}get menuCollapsed(){return(0,l.A)(Zr,this)}set menuCollapsed(e){(0,a.A)(Zr,this,e)}render(){return d().createElement(Qr,{menuCollapsed:this.menuCollapsed})}}function Qr(e){const{menuCollapsed:t}=e,[n]=_i(t);return d().createElement("div",{className:"sidebar-menu"},d().createElement("div",{className:"sidebar-menu-item-list"},d().createElement("slot",{ref:n})))}Gr=Yr,({e:[jr,Xr],c:[Hr,$r]}=(0,o.A)(Gr,[Ur("eo-sidebar-menu",{styleTexts:[Pr.A]})],[[qr({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),$r();var Jr=n(3694);const ea=e=>c.createElement("svg",(0,s.A)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20"},e),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("path",{d:"M0 0h20v20H0z"}),c.createElement("path",{fill:"#595959",fillRule:"nonzero",d:"m14.599 11.59-1.685-1.606-.348-4.876.93-1.044s.617-.93-.62-1.045L7.323 3s-.85.657-.097 1.296l.754.755-.385 4.76-1.49 1.683s-.388.774.328 1.065l2.961-.02.668 3.887H6.388V17h7.832v-.574h-3.743l.6-3.946 3.154.097s.812-.464.368-.986"}))),ta=e=>c.createElement("svg",(0,s.A)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20"},e),c.createElement("g",{fill:"none",fillRule:"evenodd"},c.createElement("path",{d:"M0 0h20v20H0z"}),c.createElement("path",{fill:"#595959",fillRule:"nonzero",d:"m13.06 3.765 3.22 3.08c.42.28.42.84.14 1.26-.42.42-.98.42-1.26.14l-.14-.14-.28-.28-3.22 4.62.98.98c.28.42.28.98-.14 1.26-.28.28-.7.28-1.12 0l-5.88-6.02q-.42-.63 0-1.26c.28-.28.84-.28 1.12 0l.98.98 4.62-3.22-.14-.14c-.42-.42-.42-.84-.14-1.26.28-.28.84-.42 1.26 0m-4.76 9.1-1.12-1.12c-.98 1.12-2.52 2.8-2.8 3.22-.42.42-.7.98-.98 1.54q1.05-.21 1.68-.84c.42-.28 2.1-1.82 3.22-2.8"})));let na=function(e){return e.CLICK_TO_FIX_NAVIGATION="CLICK_TO_FIX_NAVIGATION",e.UNPIN_NAVIGATION="UNPIN_NAVIGATION",e.FIXED_NAVIGATION="FIXED_NAVIGATION",e}({});const ia="bricks/nav/eo-sidebar";var ra;let aa,la,oa,sa,ca,da,ma,ua,pa,ha,ga,va,fa,xa,ba,ya,wa;(0,Y.initializeReactI18n)(ia,{en:{UNPIN_NAVIGATION:"Unpin navigation",FIXED_NAVIGATION:"Fixed navigation",CLICK_TO_FIX_NAVIGATION:"Click to {{action}}"},zh:{UNPIN_NAVIGATION:"取消固定",FIXED_NAVIGATION:"固定导航",CLICK_TO_FIX_NAVIGATION:"点击{{action}}"}});const{defineElement:Aa,property:Ea,event:ka}=(0,m.createDecorators)(),Na=(0,p.wrapBrick)("eo-tooltip"),Sa=(0,p.wrapBrick)("eo-icon");let Ca;var Ma=new WeakMap,Ia=new WeakMap,Ta=new WeakMap,Ba=new WeakMap,Wa=new WeakMap,Ra=new WeakSet,Ka=new WeakMap,Da=new WeakMap,za=new WeakMap;class _a extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Ra),(0,r.A)(this,Ma,la(this)),(0,r.A)(this,Ia,(oa(this),sa(this))),(0,r.A)(this,Ta,(ca(this),da(this))),(0,r.A)(this,Ba,(ma(this),ua(this))),(0,r.A)(this,Wa,(pa(this),ha(this))),(0,r.A)(this,Ka,(fa(this),e=>{(0,we.A)(Ra,this,ga).emit(e)})),(0,r.A)(this,Da,xa(this)),(0,r.A)(this,za,(wa(this),e=>{this.expandedState=e,(0,we.A)(Ra,this,ba).emit(e)}))}get menu(){return(0,l.A)(Ma,this)}set menu(e){(0,a.A)(Ma,this,e)}get hiddenFixedIcon(){return(0,l.A)(Ia,this)}set hiddenFixedIcon(e){(0,a.A)(Ia,this,e)}get expandedState(){return(0,l.A)(Ta,this)}set expandedState(e){(0,a.A)(Ta,this,e)}get position(){return(0,l.A)(Ba,this)}set position(e){(0,a.A)(Ba,this,e)}render(){return d().createElement(Fa,{menu:this.menu,expandedState:this.expandedState,hiddenFixedIcon:this.hiddenFixedIcon,position:this.position,onActualWidthChange:(0,l.A)(Ka,this),onExpandedStateChange:(0,l.A)(za,this)})}}function Fa(e){const{t}=(0,Y.useTranslation)(ia),{menu:n,hiddenFixedIcon:i,position:r,onActualWidthChange:a,onExpandedStateChange:l}=e,o=d().useMemo((()=>{var e;return null===(e=(0,u.getRuntime)())||void 0===e?void 0:e.getFeatureFlags()["sidebar-show-user-defined-icon"]}),[]),m=(0,c.useMemo)((()=>new tt.G(localStorage)),[]),p=(0,u.getHistory)(),h=(0,Je.useCurrentApp)(),[g,f]=(0,c.useState)(p.location),{pathname:b,search:y}=g,[w,A]=(0,c.useState)(!m.getItem(Fi)),[E,k]=(0,c.useState)(),[N,S]=(0,c.useState)(),[C,M]=(0,c.useState)(e.expandedState||m.getItem(Li)||Oi.Collapsed),I=o?null==n?void 0:n.icon:null==h?void 0:h.menuIcon,{selectedKeys:T,openedKeys:B,matchedKeys:W}=(0,c.useMemo)((()=>(0,v.LP)((null==n?void 0:n.menuItems)??[],b,y,"")),[null==n?void 0:n.menuItems,b,y]);(0,c.useEffect)((()=>{const e=p.listen((e=>{f(e)}));return e}),[p]);const R=(0,c.useRef)(null);(0,c.useEffect)((()=>{if(R.current){const e=new IntersectionObserver((e=>{e.forEach((e=>{e.target===R.current&&k(!e.isIntersecting)}))}),{threshold:1});return e.observe(R.current),()=>{e.disconnect()}}}),[]),(0,c.useEffect)((()=>{M(e.expandedState||m.getItem(Li)||Oi.Collapsed)}),[e.expandedState]),(0,c.useEffect)((()=>{m.setItem(Li,C===Oi.Expanded?Oi.Expanded:Oi.Collapsed)}),[C]);const[K,D]=(0,c.useState)((()=>{let e=parseInt(m.getItem(Vi),10);return(e<Gi||Number.isNaN(e))&&(e=Gi),e}));(0,c.useEffect)((()=>{m.setItem(Vi,K)}),[K]);const z=(0,c.useRef)(null),_=()=>{M((e=>{const t=e===Oi.Expanded?Oi.Expanded:Oi.Hovered;return t!==e&&(null==l||l(t)),t}))},F=()=>{M((e=>{const t=e===Oi.Expanded?Oi.Expanded:Oi.Collapsed;return t!==e&&(null==l||l(t)),t}))},L=(0,c.useMemo)((()=>C===Oi.Expanded?K:Pi),[C,K]);(0,c.useEffect)((()=>{null==a||a(L)}),[a,L]);const V=e=>"static"===r?C===Oi.Expanded||e&&C===Oi.Hovered?K:Pi:C===Oi.Collapsed?Pi:K;return(0,c.useEffect)((()=>{const e=z.current;return null==e||e.addEventListener("mouseenter",_),null==e||e.addEventListener("mouseleave",F),()=>{null==e||e.removeEventListener("mouseenter",_),null==e||e.removeEventListener("mouseleave",F)}}),[]),d().createElement("div",{className:x()("sidebar-container",`state-${C}`,{dragging:N}),style:{width:V()},ref:z,"data-testid":"side-bar"},d().createElement("div",{className:"inner",style:{width:V(!0)}},d().createElement("div",{className:"header"},d().createElement("div",{className:"menu-title"},d().createElement("div",{className:x()("menu-title-icon-container")},I?d().createElement(Sa,(0,s.A)({},I,{className:"menu-title-icon"})):d().createElement("span",{className:"menu-title-point"})),d().createElement("div",{className:"menu-title-text",title:null==n?void 0:n.title},null==n?void 0:n.title))),d().createElement("div",{className:x()("content",{"show-shadow":E})},d().createElement(Ji,{selectedKeys:T,openedKeys:B,matchedKeys:W,menu:n,expandedState:C}),d().createElement("div",{ref:R})),d().createElement("div",{className:"footer"},!i&&d().createElement(Na,{content:C===Oi.Expanded?w?t(na.CLICK_TO_FIX_NAVIGATION,{action:t(na.UNPIN_NAVIGATION)}):t(na.UNPIN_NAVIGATION):w?t(na.CLICK_TO_FIX_NAVIGATION,{action:t(na.FIXED_NAVIGATION)}):t(na.FIXED_NAVIGATION)},d().createElement("i",{className:"fixed-icon",onClick:()=>{A(!1),m.setItem(Fi,!0),M((e=>{const t=e===Oi.Expanded?Oi.Collapsed:Oi.Expanded;return t!==e&&(null==l||l(t)),t}))}},d().createElement(ea,{style:{display:C===Oi.Expanded?void 0:"none"}}),d().createElement(ta,{style:{display:C===Oi.Expanded?"none":void 0}})))),C===Oi.Expanded&&d().createElement("span",{className:"resize-line",onMouseDown:e=>{var t;S(!0),e.cancelable&&e.preventDefault();const n=(null===(t=z.current)||void 0===t?void 0:t.getBoundingClientRect().left)??0,i=function(e){let t;const i=()=>cancelAnimationFrame(t),r=function(){for(var e=arguments.length,r=new Array(e),a=0;a<e;a++)r[a]=arguments[a];t&&i(),t=requestAnimationFrame((()=>{(e=>{const t=e.clientX-n;D(t>=Gi?t:Gi)})(...r)}))};return r.cancel=i,r}(),r=e=>{S(!1),e.preventDefault(),window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",r)};window.addEventListener("mousemove",i,{passive:!0}),window.addEventListener("mouseup",r)}})))}ra=_a,({e:[la,oa,sa,ca,da,ma,ua,pa,ha,ga,va,fa,xa,ba,ya,wa],c:[Ca,aa]}=(0,o.A)(ra,[Aa("eo-sidebar",{styleTexts:[Jr.A]})],[[Ea({attribute:!1}),1,"menu"],[Ea({type:Boolean}),1,"hiddenFixedIcon"],[Ea(),1,"expandedState"],[Ea(),1,"position"],[ka({type:"actual.width.change"}),1,"actualWidthChangeEvent",e=>(0,l.A)(Wa,e),(e,t)=>(0,a.A)(Wa,e,t)],[ka({type:"expanded.state.change"}),1,"expandedStateChangeEvent",e=>(0,l.A)(Da,e),(e,t)=>(0,a.A)(Da,e,t)]],0,(e=>za.has((0,ye.A)(e))),p.ReactNextElement)),aa();var La,Va=n(1409);let Oa,Ga,Pa;const $a=(0,p.wrapBrick)("eo-icon"),ja=(0,p.wrapBrick)("eo-menu"),Xa=(0,p.wrapBrick)("eo-menu-group"),Ua=(0,p.wrapBrick)("eo-menu-item-sub-menu"),qa=(0,p.wrapBrick)("eo-menu-item"),Ha=(0,p.wrapBrick)("eo-link"),{defineElement:Za,property:Ya}=(0,m.createDecorators)();let Qa;var Ja=new WeakMap;class el extends p.ReactNextElement{constructor(){super(...arguments),(0,r.A)(this,Ja,Ga(this)),Pa(this)}get menu(){return(0,l.A)(Ja,this)}set menu(e){(0,a.A)(Ja,this,e)}render(){return d().createElement(tl,{menu:this.menu})}}function tl(e){const{menu:t}=e,n=(0,u.getHistory)(),[i,r]=(0,c.useState)(n.location),{pathname:a,search:l}=i,[o,s]=(0,c.useState)([]),[m,p]=(0,c.useState)([]),h=(0,c.useCallback)((()=>{const{selectedKeys:e,openedKeys:n}=(0,v.LP)((null==t?void 0:t.menuItems)??[],a,l,"");s(e),p(n)}),[null==t?void 0:t.menuItems,a,l]);(0,c.useEffect)((()=>{const e=n.listen((e=>{r(e)}));return h(),e}),[n,h]);const g=(0,c.useCallback)((e=>{var t;return 16*((null===(t=e.key)||void 0===t||null===(t=t.split("."))||void 0===t?void 0:t.length)-1)}),[]);function f(e,t){return(0,v.Wf)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return d().createElement(Ua,{className:"menu-sub-item",icon:e.icon,titleStyle:{paddingLeft:g(e)},bodyStyle:{paddingLeft:g(e)/2},collapsed:!m.includes(e.key)},d().createElement("span",{slot:"title"},e.title),e.items.map((e=>d().createElement(d().Fragment,{key:e.key},f(e,{inSubmenu:!0})))))})(e):(0,v.IZ)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return d().createElement(Xa,null,d().createElement("span",{slot:"title"},e.title),e.items.map((e=>d().createElement(d().Fragment,{key:e.key},f(e)))))})(e):((e,t)=>d().createElement(qa,{className:x()("menu-item",{"in-submenu":null==t?void 0:t.inSubmenu}),style:{paddingLeft:g(e)||16},icon:e.icon,active:!!e.key&&o.includes(e.key)},d().createElement(Ha,{className:"menu-item-link",type:"plain",url:e.to,href:e.href,title:e.text,target:e.target},d().createElement("span",{className:x()("menu-item-text",{"item-has-icon":e.icon})},e.text))))(e,t)}return d().createElement(ja,{className:"menu-container",mode:"vertical"},(null==t?void 0:t.title)&&d().createElement("div",{className:"header"},(null==t?void 0:t.icon)&&d().createElement($a,null==t?void 0:t.icon),d().createElement("span",{className:"title"},null==t?void 0:t.title)),d().createElement("div",{className:"content"},null==t?void 0:t.menuItems.map((e=>d().createElement(d().Fragment,{key:e.key},f(e))))))}La=el,({e:[Ga,Pa],c:[Qa,Oa]}=(0,o.A)(La,[Za("eo-sidebar-sub-menu",{styleTexts:[Va.A]})],[[Ya({attribute:!1}),1,"menu"]],0,void 0,p.ReactNextElement)),Oa();var nl,il=n(2763);let rl,al,ll,ol,sl,cl,dl,ml,ul,pl,hl,gl,vl,fl,xl,bl,yl,wl,Al,El,kl;const{defineElement:Nl,property:Sl,event:Cl}=(0,m.createDecorators)(),Ml=(0,p.wrapBrick)("eo-icon"),Il=(0,p.wrapBrick)("eo-tooltip");let Tl;var Bl=new WeakMap,Wl=new WeakMap,Rl=new WeakMap,Kl=new WeakMap,Dl=new WeakMap,zl=new WeakMap,_l=new WeakMap,Fl=new WeakSet,Ll=new WeakMap,Vl=new WeakMap,Ol=new WeakMap;class Gl extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Fl),(0,r.A)(this,Bl,al(this,"fixed")),(0,r.A)(this,Wl,(ll(this),ol(this))),(0,r.A)(this,Rl,(sl(this),cl(this,[]))),(0,r.A)(this,Kl,(dl(this),ml(this,!1))),(0,r.A)(this,Dl,(ul(this),pl(this))),(0,r.A)(this,zl,(hl(this),gl(this))),(0,r.A)(this,_l,(vl(this),fl(this))),(0,r.A)(this,Ll,(yl(this),wl(this))),(0,r.A)(this,Vl,(kl(this),e=>{(0,we.A)(Fl,this,xl).emit(e)})),(0,r.A)(this,Ol,(e=>{(0,we.A)(Fl,this,Al).emit({key:e})}))}get position(){return(0,l.A)(Bl,this)}set position(e){(0,a.A)(Bl,this,e)}get directoryTitle(){return(0,l.A)(Wl,this)}set directoryTitle(e){(0,a.A)(Wl,this,e)}get menuItems(){return(0,l.A)(Rl,this)}set menuItems(e){(0,a.A)(Rl,this,e)}get hideRightBorder(){return(0,l.A)(Kl,this)}set hideRightBorder(e){(0,a.A)(Kl,this,e)}get suffixBrick(){return(0,l.A)(Dl,this)}set suffixBrick(e){(0,a.A)(Dl,this,e)}get defaultSelectedKeys(){return(0,l.A)(zl,this)}set defaultSelectedKeys(e){(0,a.A)(zl,this,e)}render(){return d().createElement(Pl,{menuItems:this.menuItems,directoryTitle:this.directoryTitle,hideRightBorder:this.hideRightBorder,suffixIconClick:(0,l.A)(Ol,this),menuItemClick:(0,l.A)(Vl,this),defaultSelectedKeys:this.defaultSelectedKeys,suffixBrick:this.suffixBrick})}}function Pl(e){const{menuItems:t,directoryTitle:n,hideRightBorder:i,menuItemClick:r,suffixIconClick:a,defaultSelectedKeys:l,suffixBrick:o}=e;return d().createElement("div",{className:x()("directory-container",{"directory-container-not-border":i})},n&&d().createElement("div",{className:"directory-title",title:n},n),d().createElement("div",{className:"directory-menu-list"},t.map(((e,t)=>{var n;return d().createElement("div",{className:x()("menu-item",`menu-item-${e.type}`),key:`${e.key}-${t}`},d().createElement("div",{className:x()(`menu-item-title-${e.type}`),onClick:()=>"item"===e.type&&(null==r?void 0:r({data:e}))},d().createElement("span",{className:x()("menu-title-text",{"menu-title-text-active":null==l?void 0:l.includes(e.key)})},e.title),null!=o&&o.useBrick?d().createElement(Je.ReactUseMultipleBricks,{useBrick:o.useBrick,data:{data:e}}):null,e.suffixIcon&&d().createElement(Il,{content:e.suffixIconTooltip,placement:"top"},d().createElement(Ml,(0,s.A)({},e.suffixIcon,{className:x()("menu-item-title-suffix-icon",{"menu-item-title-suffix-icon-disabled":e.suffixIconDisabled}),onClick:t=>{t.stopPropagation(),e.suffixIconDisabled?t.preventDefault():null==a||a(e.key)}})))),"group"===e.type&&!(null===(n=e.children)||void 0===n||!n.length)&&e.children.map(((t,n)=>d().createElement("div",{className:"menu-item-title-item",onClick:()=>null==r?void 0:r({data:t,groupKey:e.key}),key:`${t.key}-${n}`},d().createElement("span",{className:x()("menu-title-text",{"menu-title-text-active":null==l?void 0:l.includes(t.key)})},t.title)))))}))))}nl=Gl,({e:[al,ll,ol,sl,cl,dl,ml,ul,pl,hl,gl,vl,fl,xl,bl,yl,wl,Al,El,kl],c:[Tl,rl]}=(0,o.A)(nl,[Nl("eo-directory",{styleTexts:[il.A]})],[[Sl(),1,"position"],[Sl(),1,"directoryTitle"],[Sl({attribute:!1}),1,"menuItems"],[Sl({type:Boolean}),1,"hideRightBorder"],[Sl({attribute:!1}),1,"suffixBrick"],[Sl({attribute:!1}),1,"defaultSelectedKeys"],[Cl({type:"menu.item.click"}),1,"menuItemClickEvent",e=>(0,l.A)(_l,e),(e,t)=>(0,a.A)(_l,e,t)],[Cl({type:"suffix.icon.click"}),1,"suffixIconClickEvent",e=>(0,l.A)(Ll,e),(e,t)=>(0,a.A)(Ll,e,t)]],0,(e=>Ol.has((0,ye.A)(e))),p.ReactNextElement)),rl();var $l=n(6384);const jl=d().createContext({expandedKeysSet:new Set,selectedKeysSet:new Set,onExpand:()=>{},onSelect:()=>{}}),Xl=()=>d().useContext(jl),Ul=(0,p.wrapBrick)("eo-directory-tree-leaf",{onSelect:"select"}),ql=(0,p.wrapBrick)("eo-directory-tree-internal-node",{onExpand:"expand",onSelect:"select"});function Hl(e){const{treeData:t}=e,{data:n,index:i,depth:r}=t,{selectedKeysSet:a,onSelect:l,suffixBrick:o}=Xl(),s=(0,c.useMemo)((()=>({data:n,index:i,depth:r})),[n,i,r]);return d().createElement(Ul,{depth:r,selected:a.has(n.key),onSelect:()=>{const e=[n.key];l({keys:e,node:s})}},d().createElement("span",{title:n.title},n.title),(null==o?void 0:o.useBrick)&&d().createElement("div",{slot:"suffix"},d().createElement(Je.ReactUseMultipleBricks,{useBrick:o.useBrick,data:s})))}function Zl(e){const{treeData:t}=e,{data:n,index:i,depth:r}=t,{expandedKeysSet:a,onExpand:l,suffixBrick:o}=Xl(),s=(0,c.useMemo)((()=>({data:n,index:i,depth:r})),[n,i,r]);return d().createElement(ql,{depth:r,expanded:a.has(n.key),onExpand:e=>{e.detail?a.add(n.key):a.delete(n.key);const t=[...a];l({keys:t,node:s})}},d().createElement("span",{slot:"label",title:n.title},n.title),(null==o?void 0:o.useBrick)&&d().createElement("div",{slot:"suffix"},d().createElement(Je.ReactUseMultipleBricks,{useBrick:o.useBrick,data:s})))}function Yl(e){const{treeData:t}=e;return Array.isArray(t.children)?d().createElement(Zl,{treeData:t}):d().createElement(Hl,{treeData:t})}function Ql(e){const{treeData:t}=e;return t.map((e=>d().createElement(Yl,{key:e.key,treeData:e})))}function Jl(e){return e.reduce(((e,t)=>{if(!Array.isArray(t.children))return e;{const n=[t.key].concat(Jl(t.children));return e.concat(n)}}),[])}function eo(e,t){return e.reduce(((e,n)=>{if(!Array.isArray(n.children))return e;{var i;const r=null===(i=n.children)||void 0===i?void 0:i.some((e=>t.has(e.key))),a=eo(n.children,t),l=a.concat(r||a.length?[n.key]:[]);return e.concat(l)}}),[])}function to(e,t,n){if(!t)return{data:e,expandedKeys:[]};const i=t.toLowerCase(),r=[],a=e.map((e=>{const t=function(e,t,n){if(n.flatMap((t=>no((0,Ae.get)(e,t)))).some((e=>e.toLowerCase().includes(t))))return e}(e,i,n);if(Array.isArray(e.children)){const t=to(e.children,i,n),a=t.data;if(null!=a&&a.length)return r.push(e.key,...t.expandedKeys),{...e,children:a}}if(t)return e})).filter(Boolean);return{data:a,expandedKeys:r}}function no(e){const t=[];if((0,Ae.isNil)(e));else if(Array.isArray(e))e.map((e=>t.push(no(e))));else if("[object Object]"===Object.prototype.toString.call(e))for(const n in e)t.push(String(n),no(e[n]));else t.push(String(e));return t.flat(1/0).filter(Boolean)}var io;let ro,ao,lo,oo,so,co,mo,uo,po,ho,go,vo,fo,xo,bo,yo,wo,Ao,Eo,ko,No,So,Co,Mo,Io,To;const{defineElement:Bo,property:Wo,method:Ro,event:Ko}=(0,m.createDecorators)(),Do=(0,p.wrapBrick)("eo-search",{onChange:"change",onSearch:"search"});let zo;var _o=new WeakMap,Fo=new WeakMap,Lo=new WeakMap,Vo=new WeakMap,Oo=new WeakMap,Go=new WeakMap,Po=new WeakMap,$o=new WeakMap,jo=new WeakMap,Xo=new WeakSet,Uo=new WeakMap,qo=new WeakMap,Ho=new WeakMap;class Zo extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Xo),(0,r.A)(this,_o,(ro(this),lo(this,[]))),(0,r.A)(this,Fo,(oo(this),so(this))),(0,r.A)(this,Lo,(co(this),mo(this))),(0,r.A)(this,Vo,(uo(this),po(this))),(0,r.A)(this,Oo,(ho(this),go(this))),(0,r.A)(this,Go,(vo(this),fo(this))),(0,r.A)(this,Po,(xo(this),bo(this))),(0,r.A)(this,$o,(yo(this),wo(this))),(0,r.A)(this,jo,(Ao(this),Eo(this))),(0,r.A)(this,Uo,(So(this),e=>{this.expandedKeys=e.keys,(0,we.A)(Xo,this,ko).emit(e)})),(0,r.A)(this,qo,Co(this)),(0,r.A)(this,Ho,(To(this),e=>{this.selectedKeys=e.keys,(0,we.A)(Xo,this,Mo).emit(e)}))}get data(){return(0,l.A)(_o,this)}set data(e){(0,a.A)(_o,this,e)}get directoryTitle(){return(0,l.A)(Fo,this)}set directoryTitle(e){(0,a.A)(Fo,this,e)}get searchable(){return(0,l.A)(Lo,this)}set searchable(e){(0,a.A)(Lo,this,e)}get placeholder(){return(0,l.A)(Vo,this)}set placeholder(e){(0,a.A)(Vo,this,e)}get searchFields(){return(0,l.A)(Oo,this)}set searchFields(e){(0,a.A)(Oo,this,e)}get suffixBrick(){return(0,l.A)(Go,this)}set suffixBrick(e){(0,a.A)(Go,this,e)}get selectedKeys(){return(0,l.A)(Po,this)}set selectedKeys(e){(0,a.A)(Po,this,e)}get expandedKeys(){return(0,l.A)($o,this)}set expandedKeys(e){(0,a.A)($o,this,e)}expandAll(){this.expandedKeys=Jl(this.data)}collapseAll(){this.expandedKeys=[]}expandAccordingToSelectedKeys(){this.expandedKeys=eo(this.data,new Set(this.selectedKeys))}render(){return d().createElement(Yo,{element:this,data:this.data,directoryTitle:this.directoryTitle,placeholder:this.placeholder,searchable:this.searchable,searchFields:this.searchFields,suffixBrick:this.suffixBrick,selectedKeys:this.selectedKeys,expandedKeys:this.expandedKeys,onExpand:(0,l.A)(Uo,this),onSelect:(0,l.A)(Ho,this)})}}function Yo(e){const{element:t,data:n,directoryTitle:i,searchable:r,searchFields:a,placeholder:l,suffixBrick:o,onSelect:s,onExpand:m}=e,u=(0,c.useMemo)((()=>new Set(e.expandedKeys)),[e.expandedKeys]),p=(0,c.useMemo)((()=>new Set(e.selectedKeys)),[e.selectedKeys]),[h,g]=(0,c.useState)(""),v=(0,c.useMemo)((()=>{const e=to(n,h,(a||[]).concat("title"));return h&&(t.expandedKeys=e.expandedKeys),e.data}),[n,h,a]),f=(0,c.useMemo)((()=>function(e,t){const n=[];return function e(i,r){return i.map(((i,a)=>{const l=r?`${r.pos}-${a}`:String(a),o={title:i.title,key:i.key,pos:l,depth:l.split("-").length-1,index:a,data:i,parent:r};return n.push(o),Array.isArray(i.children)?o.children=t.has(i.key)?e(i.children,o):[]:o.children=void 0,o}))}(e),n}(v,u)),[v,u]);return d().createElement(jl.Provider,{value:{expandedKeysSet:u,selectedKeysSet:p,onSelect:s,onExpand:m,suffixBrick:o}},d().createElement("div",{className:"directory-container"},i&&d().createElement("div",{className:"directory-title-container"},d().createElement("div",{className:"directory-title",title:i},i),d().createElement("div",{className:"directory-title-toolbar"},d().createElement("slot",{name:"toolbar"}))),r&&d().createElement(Do,{className:"directory-search",trim:!0,placeholder:l,onSearch:e=>{g(e.detail)}}),d().createElement("div",{className:"tree"},d().createElement(Ql,{treeData:f}))))}io=Zo,({e:[lo,oo,so,co,mo,uo,po,ho,go,vo,fo,xo,bo,yo,wo,Ao,Eo,ko,No,So,Co,Mo,Io,To,ro],c:[zo,ao]}=(0,o.A)(io,[Bo("eo-directory-tree",{styleTexts:[$l.A]})],[[Wo({attribute:!1}),1,"data"],[Wo(),1,"directoryTitle"],[Wo({type:Boolean}),1,"searchable"],[Wo(),1,"placeholder"],[Wo({attribute:!1}),1,"searchFields"],[Wo({attribute:!1}),1,"suffixBrick"],[Wo({attribute:!1}),1,"selectedKeys"],[Wo({attribute:!1}),1,"expandedKeys"],[Ro(),2,"expandAll"],[Ro(),2,"collapseAll"],[Ro(),2,"expandAccordingToSelectedKeys"],[Ko({type:"expand"}),1,"expandEvent",e=>(0,l.A)(jo,e),(e,t)=>(0,a.A)(jo,e,t)],[Ko({type:"select"}),1,"selectEvent",e=>(0,l.A)(qo,e),(e,t)=>(0,a.A)(qo,e,t)]],0,(e=>Ho.has((0,ye.A)(e))),p.ReactNextElement)),ao();var Qo,Jo=n(8114);let es,ts,ns,is,rs,as,ls,os,ss;const{defineElement:cs,property:ds,event:ms}=(0,m.createDecorators)();let us;var ps=new WeakMap,hs=new WeakMap,gs=new WeakMap,vs=new WeakSet,fs=new WeakMap;class xs extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,vs),(0,r.A)(this,ps,ts(this,0)),(0,r.A)(this,hs,(ns(this),is(this))),(0,r.A)(this,gs,(rs(this),as(this))),(0,r.A)(this,fs,(ss(this),()=>{(0,we.A)(vs,this,ls).emit()}))}get depth(){return(0,l.A)(ps,this)}set depth(e){(0,a.A)(ps,this,e)}get selected(){return(0,l.A)(hs,this)}set selected(e){(0,a.A)(hs,this,e)}render(){return d().createElement(bs,{depth:this.depth,onSelect:(0,l.A)(fs,this)})}}function bs(e){const{depth:t,onSelect:n}=e,i=(0,c.useRef)(null),r=(0,c.useRef)(null);return(0,c.useEffect)((()=>{const e=i.current,t=()=>{n()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[n]),(0,c.useEffect)((()=>{const e=r.current,t=e=>{e.stopPropagation()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[]),d().createElement("div",{className:"tree-item",ref:i},d().createElement("div",{className:"tree-item-indentation",style:{width:10*t}}),d().createElement("div",{className:"tree-item-content"},d().createElement("div",{className:"tree-item-expand-button"}),d().createElement("div",{className:"tree-item-label"},d().createElement("slot",null))),d().createElement("div",{className:"tree-item-suffix",ref:r},d().createElement("slot",{name:"suffix"})))}Qo=xs,({e:[ts,ns,is,rs,as,ls,os,ss],c:[us,es]}=(0,o.A)(Qo,[cs("eo-directory-tree-leaf",{styleTexts:[Jo.A]})],[[ds({type:Number}),1,"depth"],[ds({type:Boolean}),1,"selected"],[ms({type:"select"}),1,"selectEvent",e=>(0,l.A)(gs,e),(e,t)=>(0,a.A)(gs,e,t)]],0,(e=>fs.has((0,ye.A)(e))),p.ReactNextElement)),es();var ys=n(9010);const ws=e=>c.createElement("svg",(0,s.A)({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,viewBox:"0 0 14 14"},e),c.createElement("path",{fill:"currentColor",fillRule:"evenodd",d:"m11.743 9.42-4.49-5.206a.34.34 0 0 0-.506 0L2.257 9.42c-.167.194-.016.478.253.478h8.98c.27 0 .42-.284.253-.478"}));var As;let Es,ks,Ns,Ss,Cs,Ms,Is,Ts,Bs,Ws,Rs,Ks,Ds,zs,_s,Fs,Ls;const{defineElement:Vs,property:Os,event:Gs}=(0,m.createDecorators)();let Ps;var $s=new WeakMap,js=new WeakMap,Xs=new WeakMap,Us=new WeakMap,qs=new WeakMap,Hs=new WeakSet,Zs=new WeakMap,Ys=new WeakMap,Qs=new WeakMap;class Js extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Hs),(0,r.A)(this,$s,ks(this,0)),(0,r.A)(this,js,(Ns(this),Ss(this))),(0,r.A)(this,Xs,(Cs(this),Ms(this))),(0,r.A)(this,Us,(Is(this),Ts(this))),(0,r.A)(this,qs,(Bs(this),Ws(this))),(0,r.A)(this,Zs,(Ds(this),()=>{(0,we.A)(Hs,this,Rs).emit(!this.expanded)})),(0,r.A)(this,Ys,zs(this)),(0,r.A)(this,Qs,(Ls(this),()=>{(0,we.A)(Hs,this,_s).emit()}))}get depth(){return(0,l.A)($s,this)}set depth(e){(0,a.A)($s,this,e)}get expanded(){return(0,l.A)(js,this)}set expanded(e){(0,a.A)(js,this,e)}get selectable(){return(0,l.A)(Xs,this)}set selectable(e){(0,a.A)(Xs,this,e)}get selected(){return(0,l.A)(Us,this)}set selected(e){(0,a.A)(Us,this,e)}render(){return d().createElement(ec,{depth:this.depth,selectable:this.selectable,expanded:this.expanded,onExpand:(0,l.A)(Zs,this),onSelect:(0,l.A)(Qs,this)})}}function ec(e){const{depth:t,selectable:n,onExpand:i,onSelect:r}=e,a=(0,c.useRef)(null),l=(0,c.useRef)(null),o=(0,c.useRef)(null);return(0,c.useEffect)((()=>{if(n){const e=a.current,t=l.current,n=()=>{r()},o=e=>{e.stopPropagation(),i()};return null==e||e.addEventListener("click",n),null==t||t.addEventListener("click",o),()=>{null==e||e.removeEventListener("click",n),null==t||t.removeEventListener("click",o)}}{const e=a.current,t=()=>{i()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}}),[n,r,i]),(0,c.useEffect)((()=>{const e=o.current,t=e=>{e.stopPropagation()};return null==e||e.addEventListener("click",t),()=>{null==e||e.removeEventListener("click",t)}}),[]),d().createElement(d().Fragment,null,d().createElement("div",{className:"tree-item",ref:a},d().createElement("div",{className:"tree-item-indentation",style:{width:10*t}}),d().createElement("div",{className:"tree-item-content"},d().createElement("div",{className:"tree-item-expand-button",ref:l},d().createElement(ws,{className:"tree-item-expand-arrow"})),d().createElement("div",{className:"tree-item-label"},d().createElement("slot",{name:"label"}))),d().createElement("div",{className:"tree-item-suffix",ref:o},d().createElement("slot",{name:"suffix"}))),d().createElement("div",{className:"tree-item-children"},d().createElement("div",{className:"tree-item-inner"},d().createElement("slot",null))))}As=Js,({e:[ks,Ns,Ss,Cs,Ms,Is,Ts,Bs,Ws,Rs,Ks,Ds,zs,_s,Fs,Ls],c:[Ps,Es]}=(0,o.A)(As,[Vs("eo-directory-tree-internal-node",{styleTexts:[ys.A]})],[[Os({type:Number}),1,"depth"],[Os({type:Boolean}),1,"expanded"],[Os({type:Boolean}),1,"selectable"],[Os({type:Boolean}),1,"selected"],[Gs({type:"expand"}),1,"expandEvent",e=>(0,l.A)(qs,e),(e,t)=>(0,a.A)(qs,e,t)],[Gs({type:"select"}),1,"selectEvent",e=>(0,l.A)(Ys,e),(e,t)=>(0,a.A)(Ys,e,t)]],0,(e=>Qs.has((0,ye.A)(e))),p.ReactNextElement)),Es();var tc,nc=n(5367);let ic;const{defineElement:rc}=(0,m.createDecorators)(),ac=(0,p.wrapBrick)("eo-icon"),lc=(0,p.wrapBrick)("eo-link");let oc;class sc extends p.ReactNextElement{render(){return d().createElement(cc,null)}}function cc(){const e=(0,u.getRuntime)().getBrandSettings(),t=(0,c.useMemo)((()=>e.menu_bar_logo_url?d().createElement("img",{src:e.menu_bar_logo_url,className:"personalized-logo"}):d().createElement(ac,{category:"blueprint",icon:"easyops",lib:"easyops",className:"easyops-icon"})),[e.menu_bar_logo_url]);return d().createElement("div",{className:"logo-container"},"true"===e.menu_bar_logo_no_link?t:d().createElement(lc,{type:"plain",url:"/",className:"logo-link"},t))}tc=sc,[oc,ic]=(0,o.A)(tc,[rc("nav.nav-logo",{styleTexts:[nc.A]})],[],0,void 0,p.ReactNextElement).c,ic();var dc=n(6181),mc=n(9896),uc=n(8627),pc=n(7439);let hc=function(e){return e.VIEW_DETAILS="VIEW_DETAILS",e.DISMISS="DISMISS",e}({});const gc="bricks/nav/poll-announce";var vc=n(6651),fc=n(1784),xc={};xc.styleTagTransform=$t(),xc.setAttributes=Vt(),xc.insert=Ft().bind(null,"head"),xc.domAPI=zt(),xc.insertStyleElement=Gt(),Kt()(fc.A,xc);const bc=fc.A&&fc.A.locals?fc.A.locals:void 0;var yc;let wc,Ac,Ec,kc,Nc,Sc,Cc,Mc,Ic,Tc,Bc,Wc,Rc;(0,Y.initializeReactI18n)(gc,{en:{VIEW_DETAILS:"View details",DISMISS:"Dismiss"},zh:{VIEW_DETAILS:"查看详情",DISMISS:"忽略"}});const{defineElement:Kc,property:Dc,event:zc}=(0,m.createDecorators)(),_c=(0,ae.unwrapProvider)("basic.show-notification"),Fc=new Set;let Lc;var Vc=new WeakMap,Oc=new WeakMap,Gc=new WeakMap,Pc=new WeakSet,$c=new WeakMap,jc=new WeakMap,Xc=new WeakMap;class Uc extends p.ReactNextElement{constructor(){super(...arguments),(0,be.A)(this,Pc),(0,r.A)(this,Vc,Ac(this)),(0,r.A)(this,Oc,(Ec(this),kc(this))),(0,r.A)(this,Gc,(Nc(this),Sc(this))),(0,r.A)(this,$c,(Ic(this),()=>{(0,we.A)(Pc,this,Cc).emit()})),(0,r.A)(this,jc,Tc(this)),(0,r.A)(this,Xc,(Rc(this),()=>{(0,we.A)(Pc,this,Bc).emit()}))}get pollEnabled(){return(0,l.A)(Vc,this)}set pollEnabled(e){(0,a.A)(Vc,this,e)}get realTimeMessage(){return(0,l.A)(Oc,this)}set realTimeMessage(e){(0,a.A)(Oc,this,e)}render(){return d().createElement(Hc,{pollEnabled:this.pollEnabled,realTimeMessage:this.realTimeMessage,onOpen:(0,l.A)(Xc,this),onClose:(0,l.A)($c,this)})}}async function qc(e,t){let{title:n,data:i,instanceId:r}=e;const a=i.replace(/<[^>]+>| /gim,"\r\n").replace(/“/gim,"“").replace(/”/gim,"”"),l=a.length>100?a.slice(0,100):a;try{await _c({placement:"topRight",icon:{lib:"antd",theme:"filled",icon:"sound",style:{color:"var(--theme-orange-color)"}},title:n,htmlMessage:`<div class="${bc.message}">${l}</div>`,closable:!0,showConfirm:!0,confirmText:dc.i18n.t(`${gc}:${hc.VIEW_DETAILS}`),confirmLink:{url:`/announcement-management/announcement-front/content?instanceId=${r}`,target:"_blank"},showCancel:!0,cancelText:dc.i18n.t(`${gc}:${hc.DISMISS}`)})}catch{}finally{if(!Fc.has(r)){Fc.add(r);try{await(0,mc.w)({instanceIds:[r]}),t()}catch(e){console.error("ignore announce failed:",e)}}}}function Hc(e){let{pollEnabled:t,realTimeMessage:n,onOpen:i,onClose:r}=e;return(0,c.useEffect)((()=>{(async()=>{const e=(await(0,uc.F)({})).list;e.length&&e.filter((e=>e.isPopup)).reverse().forEach((e=>{qc(e,r)}))})()}),[]),(0,c.useEffect)((()=>{!t&&n&&qc(n,r)}),[r,t,n]),(0,c.useEffect)((()=>{if(!t)return;let e=!1;const n=async()=>{if(!e)try{qc(await(0,pc.$)({interceptorParams:{ignoreLoadingBar:!0}}),r),i(),n()}catch(e){var t;const i=(0,u.httpErrorToString)(e);null!=i&&null!==(t=i.toLowerCase())&&void 0!==t&&t.includes("timeout")&&n()}};return n(),()=>{e=!0}}),[r,i,t]),null}yc=Uc,({e:[Ac,Ec,kc,Nc,Sc,Cc,Mc,Ic,Tc,Bc,Wc,Rc],c:[Lc,wc]}=(0,o.A)(yc,[Kc("nav.poll-announce",{styleTexts:[vc.A]})],[[Dc({type:Boolean}),1,"pollEnabled"],[Dc({attribute:!1}),1,"realTimeMessage"],[zc({type:"notification.close"}),1,"closeEvent",e=>(0,l.A)(Gc,e),(e,t)=>(0,a.A)(Gc,e,t)],[zc({type:"notification.open"}),1,"openEvent",e=>(0,l.A)(jc,e),(e,t)=>(0,a.A)(jc,e,t)]],0,(e=>Xc.has((0,ye.A)(e))),p.ReactNextElement)),wc()},7839:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,':root{--eo-search-launchpad-menu-icon-color:#8c8c8c}html[data-theme="dark"],\nhtml[data-theme="dark-v2"]{--eo-search-launchpad-menu-icon-color:rgba(255,255,255,0.45)}',""]);const o=l},6405:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.app-bar-container{height:var(--app-bar-height)}.app-bar{position:relative;z-index:999;box-shadow:var(--top-nav-shadow)}.app-bar.fixed,\n.app-bar.absolute{right:0;left:0;top:0}.app-bar.fixed{position:fixed}.app-bar.absolute{position:absolute}.app-bar-content{display:flex;justify-content:space-between;align-items:center;height:var(--app-bar-height);background-color:var(--top-navigation-bg);padding:0 16px;transition:var(--launchpad-backdrop-transition)}.left{display:flex;flex:1}.right{display:flex;justify-content:end}",""]);const o=l.toString()},9010:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.tree-item{min-height:24px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:3px}.tree-item:hover .tree-item-label{color:var(--palette-blue-4)!important}.tree-item .tree-item-indentation{flex-shrink:0}.tree-item .tree-item-content{min-width:0;flex:1;display:flex;align-items:center}:is(.tree-item .tree-item-content) .tree-item-expand-button{margin:0 4px;padding:4px;position:relative;width:10px;height:10px;flex-shrink:0;border-radius:3px}:is(:is(.tree-item .tree-item-content) .tree-item-expand-button) .tree-item-expand-arrow{color:var(--color-header-text);width:10px;height:10px;position:absolute;left:50%;top:50%;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}:is(.tree-item .tree-item-content) .tree-item-label{color:var(--color-header-text);min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tree-item .tree-item-suffix{flex-shrink:0}.tree-item-children{display:grid;grid-template-rows:1fr;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.tree-item-children .tree-item-inner{overflow:hidden}:is(.tree-item-children .tree-item-inner) slot::slotted(*){margin-top:8px}:host(:not([expanded])) .tree-item-children{grid-template-rows:0fr;opacity:0}:host([expanded]) .tree-item-expand-arrow{transform:translate(-50%,-50%) rotate(180deg)}:host(:not([expanded])) .tree-item-expand-arrow{transform:translate(-50%,-50%) rotate(90deg)}:host([selectable]) .tree-item-expand-button:hover{background-color:var(--color-fill-bg-base-1)}:host([selectable][selected]) .tree-item{background-color:var(--palette-blue-1)}:host([selectable][selected]) .tree-item:hover .tree-item-label{color:var(--color-header-text)!important}",""]);const o=l.toString()},8114:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.tree-item{min-height:24px;display:flex;align-items:center;-webkit-user-select:none;user-select:none;cursor:pointer;border-radius:3px}.tree-item:hover .tree-item-label{color:var(--palette-blue-4)!important}.tree-item .tree-item-indentation{flex-shrink:0}.tree-item .tree-item-content{min-width:0;flex:1;display:flex;align-items:center}:is(.tree-item .tree-item-content) .tree-item-expand-button{padding:4px;margin:0 4px;width:10px;flex-shrink:0}:is(.tree-item .tree-item-content) .tree-item-label{color:var(--color-header-text);min-width:0;flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.tree-item .tree-item-suffix{flex-shrink:0}:host([selected]) .tree-item{background-color:var(--palette-blue-1)}:host([selected]) .tree-item:hover .tree-item-label{color:var(--color-header-text)!important}",""]);const o=l.toString()},6384:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:inline-block}:host([hidden]){display:none}.directory-container{background-color:var(--color-fill-global-bg-3)}.directory-container .directory-title-container{margin-bottom:24px;display:flex;align-items:center;justify-content:space-between;gap:8px}:is(.directory-container .directory-title-container) .directory-title{font-size:16px;color:var(--text-color-title);line-height:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.directory-container .directory-search{display:block;margin-bottom:12px}.directory-container .tree > *:not(:last-child){margin-bottom:8px}",""]);const o=l.toString()},2763:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.directory-container{padding:20px 8px 24px 24px;background:var(--color-fill-global-bg-2);border-right:1px solid var(--color-text-divider-line);height:calc(100vh - var(--app-bar-height) - 44px);overflow-y:auto;scrollbar-width:none}.directory-container-not-border{border-right:none}.directory-title{font-size:var(--sub-menu-title-font-size);margin-bottom:24px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.directory-menu-list > .menu-item-group{padding-top:14px}.directory-menu-list > .menu-item-group:first-child{padding-top:0}.directory-menu-list .menu-item-title-group,\n.directory-menu-list .menu-item-title-item{display:flex;align-items:center;justify-content:space-between}.directory-menu-list .menu-item-title-group{color:#8c8c8c;font-size:12px;margin-bottom:2px}.directory-menu-list .menu-item-title-item{font-size:14px;cursor:pointer;line-height:24px;padding:3px 0}.directory-menu-list .menu-item-title-suffix-icon{width:24px;height:24px;display:flex;justify-content:center;align-items:center;font-size:14px;border-radius:var(--small-border-radius);cursor:pointer}.directory-menu-list\n .menu-item-title-suffix-icon:not(\n .menu-item-title-suffix-icon-disabled\n ):hover{background:var(--color-info-icon-bg);color:var(--color-brand-hover)}.directory-menu-list .menu-item-title-item > .menu-title-text:hover{color:var(--color-brand-hover)}.directory-menu-list .menu-item-title-item > .menu-title-text-active{color:var(--color-brand)}.directory-menu-list .menu-item-title-suffix-icon-disabled{color:var(--color-disabled-text);cursor:not-allowed}.directory-menu-list .menu-title-text{flex:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}",""]);const o=l.toString()},7061:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.alert{height:32px;padding:0 20px;display:flex;justify-content:center;align-items:center}.text{color:var(--antd-text-color);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.icon{margin-left:20px;cursor:pointer;color:#8c8c8c}.info{background-color:var(--palette-blue-1)}.warning{background-color:var(--palette-amber-1)}",""]);const o=l.toString()},2689:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:flex;height:22px;align-items:center}:host([hidden]){display:none}.breadcrumb-item-prefix-icon{font-size:14px}",""]);const o=l.toString()},4081:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block;--local-menu-icon-color:#8c8c8c}:host([hidden]){display:none;--local-menu-icon-color:rgba(255,255,255,0.45)}ul{list-style:none;margin:0;padding:0}.menu-groups{display:grid;gap:32px 16px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.menu,\n.sub-menu{display:flex;flex-direction:column;gap:14px}.menu-folder-label-wrapper > eo-link,\n.menu-item > eo-link{display:block}.menu-folder-label-wrapper > eo-link::part(link),\n.menu-item > eo-link::part(link){height:20px;display:flex;align-items:center;gap:8px;color:var(--color-header-text)}.menu-group-label-wrapper,\n.menu-folder-label-wrapper,\n.menu-item:not(.folder){display:flex;gap:8px;align-items:center}.menu-group-label-wrapper{gap:3px}.menu-group:not(.empty) .menu-group-label-wrapper{margin-bottom:14px}.menu-group-label,\n.menu-item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-group-label{font-size:var(--card-title-font-size);font-weight:500;color:var(--color-header-text)}.menu-icon{color:var(--local-menu-icon-color)}.menu-folder-label-wrapper > eo-link,\n.menu-item > eo-link{max-width:100%;width:-moz-fit-content;width:fit-content;min-width:0}.sub-menu:not(.expanded){display:none}.sub-menu{margin-left:8px;border-left:1px solid var(--color-text-divider-line);padding-left:15px}.menu-item:not(.empty) .sub-menu{margin-top:14px}.menu-item-toggle{color:var(--color-secondary-text)}.menu-config{visibility:hidden;color:var(--color-brand);cursor:pointer;display:flex;justify-content:center;align-items:center;height:24px;width:0}.menu-config.active,\n.menu-group-label-wrapper:hover .menu-config,\n.menu-item:not(.folder):hover .menu-config,\n.menu-folder-label-wrapper:hover .menu-config{visibility:visible;width:24px}.menu-config:hover,\n.menu-item > eo-link:hover::part(link),\n.menu-item > eo-link:hover .menu-icon,\n.menu-folder-label-wrapper > eo-link:hover::part(link),\n.menu-folder-label-wrapper > eo-link:hover .menu-icon,\n.menu-folder-label-wrapper > eo-link:hover .menu-item-toggle{color:var(--color-brand-hover)}@supports not (inset: 0){.sub-menu,\n .menu,\n .menu-group-label-wrapper,\n .menu-folder-label-wrapper,\n .menu-item:not(.folder),\n .menu-item > eo-link::part(link){gap:0}.menu > :not(:first-child),\n .sub-menu > :not(:first-child){margin-top:14px}.menu-icon{margin-right:8px}eo-dropdown-actions,\n .menu-item-toggle{margin-left:8px}}",""]);const o=l.toString()},8119:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.quick-access-list{display:grid;gap:14px;grid-template-columns:repeat(2,1fr);list-style:none;margin:0;padding:0}.sidebar-menu-item{display:flex;align-items:center;justify-content:space-between;overflow:hidden}.sidebar-menu-item > eo-link{display:block;min-width:0}.sidebar-menu-item > eo-link::part(link){display:flex;align-items:center;height:20px;gap:8px;color:var(--color-header-text)}.sidebar-menu-icon{color:var(--left-sidebar-item-collapsed-icon-color)}.menu-item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-item-remove{color:var(--color-secondary-text);cursor:pointer}.sidebar-menu-item:not(:hover) .menu-item-remove{display:none}.menu-item-remove:hover{color:var(--color-normal-text)}.menu-item-remove:active{color:var(--color-strong-text)}.sidebar-menu-item > eo-link:hover::part(link),\n.sidebar-menu-item > eo-link:hover .sidebar-menu-icon{color:var(--color-brand-hover)}@supports not (inset: 0){.sidebar-menu-item,\n .sidebar-menu-item > eo-link::part(link){gap:0}.sidebar-menu-icon{margin-right:8px}}",""]);const o=l.toString()},6859:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.recent-visits{list-style:none;margin:0;padding:0;display:grid;gap:8px;grid-template-columns:repeat(auto-fill,minmax(160px,1fr));max-height:56px;overflow:hidden}.recent-visits span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.recent-visits eo-link{display:block;min-width:0}.recent-visits eo-link::part(link){background-color:var(--color-fill-bg-base-1);border-radius:3px;color:var(--color-header-text);display:flex;align-items:center;height:24px;padding:0 8px}.recent-visits eo-link:hover::part(link){color:var(--color-brand-hover)}",""]);const o=l.toString()},5367:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:inline-block}:host([hidden]){display:none}.logo-container{position:relative;display:flex;justify-content:flex-start;align-items:center}.logo-link{cursor:pointer}.personalized-logo{height:24px;vertical-align:top}.easyops-icon{display:block;font-size:24px;color:var(--color-brand)}",""]);const o=l.toString()},6651:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:inline-block}:host([hidden]){display:none}",""]);const o=l.toString()},3873:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.container{position:relative}.dropdown{margin-top:5px;position:absolute;top:100%;left:0px;width:100%;z-index:1050;padding:20px 24px 24px;overflow:hidden;box-sizing:border-box;background-color:var(--antd-select-dropdown-bg);border-radius:4px;box-shadow:var(--antd-box-shadow-base);display:none}.dropdown-active{display:block}.search-box{border-bottom:1px solid var(--color-text-divider-line);display:flex;gap:8px;align-items:center;padding:10px 0;cursor:text}.search-icon{color:var(--color-auxiliary-text)}.search-input{padding:0;margin:0;border:none;outline:none;color:inherit;background-color:transparent;font-size:14px;line-height:22px;flex:1;min-width:0}.search-input::placeholder{color:var(--color-disabled-text);opacity:1}.search-clear{display:none;color:var(--color-secondary-text);cursor:pointer}.search-clear.searching{display:inline-block}.search-clear:hover{color:var(--color-auxiliary-text)}.dropdown-content{min-width:0;display:flex;flex-direction:column;gap:24px;max-height:260px;overflow-y:auto}.spinner{display:flex;justify-content:center;align-items:center;color:var(--theme-doderblue-color);flex:1;font-size:30px}.loading > :not(.spinner){display:none}.menu-group-label,\n.menu-item-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.menu-groups,\n.menu,\n.sub-menu{list-style:none;margin:0;padding:0}.menu,\n.sub-menu{display:flex;flex-direction:column;gap:14px}.menu-item > eo-link{display:block;min-width:0}.menu-item > eo-link::part(link){height:20px;display:flex;align-items:center;gap:8px;color:var(--color-header-text)}.menu-groups{grid-template-columns:repeat(auto-fill,minmax(160px,1fr))}.menu-groups{display:grid;gap:32px 8px}.menu-group{padding-right:12px;color:var(--color-header-text)}.menu-group-label{font-size:var(--card-title-font-size);font-weight:500;color:var(--color-header-text);margin-bottom:14px}.menu-item:not(.folder){display:flex;gap:8px;align-items:center}.menu-icon{color:var(--eo-search-launchpad-menu-icon-color)}.menu-item.active,\n.menu-item.active .menu-icon{color:var(--color-brand-active)}.sub-menu:not(.expanded){display:none}.sub-menu{margin-top:14px;margin-left:8px;border-left:1px solid var(--color-text-divider-line);padding-left:15px}.menu-item-star{cursor:pointer}.menu-item-star,\n.menu-item-toggle{color:var(--color-secondary-text)}.menu-item-star{display:none}.can-star.starred > .menu-item-star,\n.can-star:hover > .menu-item-star{display:inline-block}.can-star:not(.starred) > .menu-item-star{color:var(--color-secondary-text)}.starred > .menu-item-star{color:var(--palette-yellow-6)}.menu-item > eo-link:hover::part(link),\n.menu-item > eo-link:hover .menu-icon,\n.menu-item > eo-link:hover .menu-item-toggle{color:var(--color-brand-hover)}@supports not (inset: 0){.search-box,\n .menu,\n .sub-menu,\n .menu-item:not(.folder),\n .menu-item > eo-link::part(link){gap:0}.dropdown-content{display:grid;grid-auto-flow:row}.dropdown-content:not(.loading){height:min-content}.menu > :not(:first-child),\n .sub-menu > :not(:first-child){margin-top:14px}.search-icon,\n .menu-icon{margin-right:8px}.search-clear,\n .menu-item-star,\n .menu-item-toggle{margin-left:8px}}",""]);const o=l.toString()},1409:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block}:host([hidden]){display:none}.menu-container{box-sizing:border-box;background:var(--third-menu-default-bg);border:1px solid var(--stroke-color-default);border-width:0 1px 0 0;border-radius:0px;padding:20px 0px;height:100%}.menu-container .header{display:flex;gap:10px;align-items:center;font-size:var(--title-font-size);padding:0 20px 16px 20px;line-height:26px;color:var(--color-header-text)}:is(.menu-container .header) .title{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;word-wrap:break-word}.menu-container .content{padding:0 12px}.menu-container .menu-item,.menu-container .menu-sub-item::part(sub-menu-item-title){margin:0;padding-right:16px;height:40px;line-height:40px;border-radius:4px;margin-bottom:4px}.menu-container .menu-item::part(menu-item-icon),.menu-container .menu-sub-item::part(menu-item-icon){color:var(--color-secondary-text)}.menu-container .menu-item-link{width:100%;color:var(--color-secondary-text)}.menu-container .menu-item-text,.menu-container .menu-group-text,.menu-container .menu-item-link{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.menu-container .menu-item-text{display:block;box-sizing:border-box;color:var(--antd-text-color)}.menu-container .menu-item:hover{background:var(--third-menu-item-hover-bg);color:var(--color-header-text)}:is(.menu-container .menu-item:hover) .menu-item-text{color:var(--color-header-text);font-weight:var(--font-weight-400)}:is(.menu-container .in-submenu) .menu-item-text{color:var(--color-normal-text)}.menu-container .menu-sub-item::part(sub-menu-item-title):hover{color:var(--color-header-text)}.menu-container .menu-item-text.item-has-icon{margin-left:6px}.menu-container .menu-item[active]{color:var(--color-brand);background-color:var(--third-menu-item-selected-bg)}.menu-container .menu-item[active] .menu-item-text{color:var(--color-brand);font-weight:var(--font-weight-500)}",""]);const o=l.toString()},8619:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,':host{display:block;--menu-item-icon-size:20px}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.menu-group-title{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 12px;line-height:20px;color:var(--left-secondary-text-color);border-radius:var(--larger-border-radius);transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-group-title-icon-container{flex-shrink:0;margin-right:14px;display:flex;align-items:center;justify-content:center;width:var(--menu-item-icon-size);height:var(--menu-item-icon-size);color:var(--left-sidebar-item-collapsed-icon-color);font-size:var(--menu-item-icon-size);transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-group-title-icon{width:1em;height:1em;border-bottom:2px solid var(--left-sidebar-group-border-color)}.menu-group-title-text{flex:1;font-size:12px;overflow:hidden;white-space:nowrap;margin-right:12px}.menu-group-list slot::slotted(*){margin-top:2px}.menu-group-arrow{position:absolute;top:50%;right:12px;width:10px;transform:translateY(-2px);transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-group-arrow::before,\n.menu-group-arrow::after{content:"";position:absolute;width:6px;height:1.5px;background-color:currentColor;border-radius:2px;transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-group-arrow::before{transform:rotate(45deg) translateX(2.5px)}.menu-group-arrow::after{transform:rotate(-45deg) translateX(-2.5px)}.menu-group-collapsed .menu-group-arrow{transform:translateY(-50%)}.menu-group-collapsed .menu-group-arrow::before{transform:rotate(-45deg) translateX(2.5px)}.menu-group-collapsed .menu-group-arrow::after{transform:rotate(45deg) translateX(-2.5px)}.menu-group-list{display:grid;grid-template-rows:1fr;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-group-list-inner{overflow:hidden}:host([menu-collapsed]) .menu-group-title{padding:0px calc(50% - var(--menu-item-icon-size) / 2)}:host(:not([menu-collapsed])) .menu-group-title-icon-container{width:0;margin-right:0;opacity:0}:host([menu-collapsed]) .menu-group-title-text{opacity:0}:host([menu-collapsed]) .menu-group-arrow{opacity:0}:host(:not([menu-collapsed])) .menu-group-title-text{white-space:pre-wrap;display:-webkit-inline-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis;color:#7f8ba6}:host([collapsable]) .menu-group-collapsed .menu-group-list{grid-template-rows:0fr;opacity:0}',""]);const o=l.toString()},4239:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block;--menu-item-icon-size:20px}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}eo-link{display:block}.menu-item{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 12px;line-height:20px;color:var(--left-sidebar-item-normal-color);border-radius:var(--medius-border-radius);cursor:pointer;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-item-icon-container{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--menu-item-icon-size);height:var(--menu-item-icon-size);font-size:var(--menu-item-icon-size);color:var(--left-sidebar-item-collapsed-icon-color)}:host([in-submenu]):host(:not([selected])) .menu-item{color:var(--left-sidebar-item-collapsed-color)}.menu-item-text{flex:1;margin-left:14px;margin-right:12px;font-size:14px;overflow:hidden;white-space:nowrap;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-item:hover{background:var(--left-sidebar-item-hover-bg)}:host([selected]) .menu-item{color:var(--left-sidebar-item-selected-color);background:var(--left-sidebar-item-selected-bg);box-shadow:0px 2px 12px 0px rgba(26,122,255,0.30196)}:host([selected]) .menu-item-icon-container{color:var(--left-sidebar-item-selected-color)}:host([selected]) .menu-item:hover{background-color:var(--left-sidebar-item-selected-hover-bg)}:host([menu-collapsed]) .menu-item{padding:0px calc(50% - var(--menu-item-icon-size) / 2)}:host([menu-collapsed]) .menu-item-text{opacity:0}:host(:not([menu-collapsed])) .menu-item-text{white-space:pre-wrap;display:-webkit-inline-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}",""]);const o=l.toString()},8797:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,':host{display:block;--menu-item-icon-size:20px}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.menu-submenu-title{position:relative;display:flex;align-items:center;min-height:36px;padding:8px 12px;line-height:20px;color:var(--left-sidebar-item-normal-color);border-radius:var(--larger-border-radius);cursor:pointer;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-submenu-title-icon-container{flex-shrink:0;display:flex;align-items:center;justify-content:center;width:var(--menu-item-icon-size);height:var(--menu-item-icon-size);font-size:var(--menu-item-icon-size);color:var(--left-sidebar-item-collapsed-icon-color)}.menu-submenu-title-text{flex:1;margin-left:14px;margin-right:12px;font-size:14px;overflow:hidden;white-space:nowrap}.menu-submenu-arrow{position:absolute;top:50%;right:12px;width:10px;color:var(--left-sidebar-item-arrow-color);transform:translateY(-2px);transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-submenu-arrow::before,\n.menu-submenu-arrow::after{content:"";position:absolute;width:6px;height:1.5px;background-color:currentColor;border-radius:2px;transition:all 0.3s cubic-bezier(0.645,0.045,0.355,1)}.menu-submenu-arrow::before{transform:rotate(45deg) translateX(2.5px)}.menu-submenu-arrow::after{transform:rotate(-45deg) translateX(-2.5px)}.menu-submenu-collapsed .menu-submenu-arrow{transform:translateY(-50%)}.menu-submenu-collapsed .menu-submenu-arrow::before{transform:rotate(-45deg) translateX(2.5px)}.menu-submenu-collapsed .menu-submenu-arrow::after{transform:rotate(45deg) translateX(-2.5px)}.menu-submenu-title:hover{background:var(--left-sidebar-item-hover-bg)}.menu-sub{display:grid;grid-template-rows:1fr;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-submenu-collapsed .menu-sub{grid-template-rows:0fr;opacity:0}.menu-sub-inner{overflow:hidden}.menu-sub-inner slot::slotted(*){margin-top:2px}:host([menu-collapsed]) .menu-submenu-title{padding:0px calc(50% - var(--menu-item-icon-size) / 2)}:host([menu-collapsed]) .menu-submenu-title-text{opacity:0}:host([menu-collapsed]) .menu-submenu-arrow{opacity:0}:host(:not([menu-collapsed])) .menu-submenu-title-text{white-space:pre-wrap;display:-webkit-inline-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;text-overflow:ellipsis}:is(:host([selected]):host([menu-collapsed]),:host([selected]):host([collapsed])) .menu-submenu-title{background:var(--left-sidebar-item-selected-bg);color:var(--left-sidebar-item-selected-color)}:is(:host([selected]):host([menu-collapsed]),:host([selected]):host([collapsed])) .menu-submenu-title-icon-container,:is(:host([selected]):host([menu-collapsed]),:host([selected]):host([collapsed])) .menu-submenu-arrow{color:var(--left-sidebar-item-selected-color)}:host([selected]) .menu-submenu-title-text{font-weight:var(--font-weight-500)}',""]);const o=l.toString()},2469:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,":host{display:block;transition:width var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}:host([hidden]){display:none}*,\n*::before,\n*::after{box-sizing:border-box}.sidebar-menu-item-list slot::slotted(*){margin-top:6px}",""]);const o=l.toString()},3694:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,':host{display:block}:host([hidden]){display:none}:host([position="static"]){height:100%}*,\n*::before,\n*::after{box-sizing:border-box}.sidebar-container{position:relative;z-index:998;height:100%}.sidebar-container,\n.inner{transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}:host(:not([position="static"])) .sidebar-container{position:fixed;left:0;top:var(--app-bar-height);height:calc(100vh - var(--app-bar-height))}.inner{position:absolute;left:0;height:100%;display:flex;flex-direction:column;background-color:var(--left-menu-bg);border-right:1px solid var(--left-sidebar-border-right)}.inner:hover{background-color:var(--left-menu-hover-bg)}.inner::before{content:"";position:absolute;left:0;right:0;top:0;bottom:0;z-index:-1;background:var(--sidebar-bg)}.header{padding:0 12px;margin-top:14px;height:52px;flex-shrink:0}.menu-title{height:100%;display:flex;align-items:center;color:var(--left-sidebar-large-title-color)}.menu-title-icon-container{flex-shrink:0;display:flex;justify-content:center;align-items:center;width:20px;height:20px;font-size:20px;line-height:0;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.menu-title-icon{color:var(--left-sidebar-item-collapsed-icon-color)}.menu-title-point{width:4px;height:4px;background:var(--antd-text-color);border-radius:50%}.menu-title-text{font-size:16px;font-weight:var(--font-weight-500);color:var(--left-sidebar-large-title-color);overflow:hidden;white-space:nowrap;text-overflow:ellipsis;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.state-collapsed .menu-title{padding:0 calc(50% - 10px)}.state-hovered .menu-title,\n.state-expanded .menu-title{padding:0 12px}.state-collapsed .menu-title-icon-container{margin-right:12px}.state-hovered .menu-title-icon-container,\n.state-expanded .menu-title-icon-container{margin-right:0;width:0;opacity:0}.content{padding:0 12px;flex:1;overflow-y:auto;scrollbar-width:none}.content::-webkit-scrollbar{width:0;background:transparent}.content.show-shadow{box-shadow:0 -17px 10px -16px rgb(0 0 0/8%) inset}.footer{height:60px;flex-shrink:0;display:flex;align-items:center;justify-content:flex-end}.fixed-icon{display:flex;justify-content:center;align-items:center;width:20px;height:20px;margin-right:8px;transition:all var(--side-bar-collapse-transition-duration) var(--side-bar-collapse-transition-timing-function)}.fixed-icon > svg{width:100%;height:100%}.fixed-icon:hover > svg path[fill]{fill:var(--color-brand)}.state-collapsed .fixed-icon{visibility:hidden;opacity:0}.state-hovered .fixed-icon,\n.state-expanded .fixed-icon{visibility:visible;opacity:1}.state-hovered .inner{box-shadow:var(--left-sidebar-shadow)}.resize-line{position:absolute;right:-2px;height:100%;width:2px;cursor:col-resize}.resize-line:hover,\n.resize-line:active{background-color:rgba(26,122,255,1)}.dragging,\n.dragging .inner{transition:none}',""]);const o=l.toString()},1784:(e,t,n)=>{n.d(t,{A:()=>o});var i=n(6758),r=n.n(i),a=n(935),l=n.n(a)()(r());l.push([e.id,".message--Fxvh9j9V{color:var(--color-normal-text);overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical}",""]),l.locals={message:"message--Fxvh9j9V"};const o=l}}]);
|
|
2
|
+
//# sourceMappingURL=884.370187c6.js.map
|