@next-bricks/nav 1.25.0 → 1.25.1

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.
Files changed (116) hide show
  1. package/dist/bricks.json +11 -11
  2. package/dist/chunks/{1685.437940d7.js → 1685.4468328d.js} +2 -2
  3. package/dist/chunks/{1685.437940d7.js.map → 1685.4468328d.js.map} +1 -1
  4. package/dist/chunks/2241.11d61042.js +3 -0
  5. package/dist/chunks/{2241.e6e34a55.js.map → 2241.11d61042.js.map} +1 -1
  6. package/dist/chunks/{3171.367df14c.js → 3171.3651f844.js} +2 -2
  7. package/dist/chunks/{3171.367df14c.js.map → 3171.3651f844.js.map} +1 -1
  8. package/dist/chunks/3944.7690ce12.js +2 -0
  9. package/dist/chunks/{3944.a7f7cffe.js.map → 3944.7690ce12.js.map} +1 -1
  10. package/dist/chunks/{4765.63943e2d.js → 4765.73431265.js} +2 -2
  11. package/dist/chunks/{4765.63943e2d.js.map → 4765.73431265.js.map} +1 -1
  12. package/dist/chunks/4837.45038636.js +2 -0
  13. package/dist/chunks/{7218.623deb5b.js.map → 4837.45038636.js.map} +1 -1
  14. package/dist/chunks/{5552.6fa4b6df.js → 5552.8c304ab0.js} +2 -2
  15. package/dist/chunks/{5552.6fa4b6df.js.map → 5552.8c304ab0.js.map} +1 -1
  16. package/dist/chunks/{5655.a02d92d1.js → 5655.de131f04.js} +2 -2
  17. package/dist/chunks/{5655.a02d92d1.js.map → 5655.de131f04.js.map} +1 -1
  18. package/dist/chunks/6128.60331a2a.js +2 -0
  19. package/dist/chunks/{6128.3912671f.js.map → 6128.60331a2a.js.map} +1 -1
  20. package/dist/chunks/6502.058666e4.js +2 -0
  21. package/dist/chunks/{6502.9ac6b169.js.map → 6502.058666e4.js.map} +1 -1
  22. package/dist/chunks/{7146.d52a68a3.js → 7146.3d4e2b18.js} +2 -2
  23. package/dist/chunks/{7146.d52a68a3.js.map → 7146.3d4e2b18.js.map} +1 -1
  24. package/dist/chunks/7218.fc5b2303.js +2 -0
  25. package/dist/chunks/{4837.d06f1908.js.map → 7218.fc5b2303.js.map} +1 -1
  26. package/dist/chunks/{8097.20e092c4.js → 8097.b5c8d700.js} +2 -2
  27. package/dist/chunks/{8097.20e092c4.js.map → 8097.b5c8d700.js.map} +1 -1
  28. package/dist/chunks/9118.ef4d8081.js +3 -0
  29. package/dist/chunks/{9118.c70241ba.js.map → 9118.ef4d8081.js.map} +1 -1
  30. package/dist/chunks/9363.06df54ed.js +3 -0
  31. package/dist/chunks/{9363.cb610e3e.js.map → 9363.06df54ed.js.map} +1 -1
  32. package/dist/chunks/948.5f812985.js +3 -0
  33. package/dist/chunks/948.5f812985.js.map +1 -0
  34. package/dist/chunks/easyops-navbar-alerts.a0672659.js +2 -0
  35. package/dist/chunks/{easyops-navbar-alerts.cc7090db.js.map → easyops-navbar-alerts.a0672659.js.map} +1 -1
  36. package/dist/chunks/{eo-directory-tree.2ba780f8.js → eo-directory-tree.88ac8dce.js} +3 -3
  37. package/dist/chunks/{eo-directory-tree.2ba780f8.js.map → eo-directory-tree.88ac8dce.js.map} +1 -1
  38. package/dist/chunks/eo-directory.96899794.js +3 -0
  39. package/dist/chunks/{eo-directory.a0e99853.js.map → eo-directory.96899794.js.map} +1 -1
  40. package/dist/chunks/{eo-frame-breadcrumb.a2d98877.js → eo-frame-breadcrumb.37f12f2c.js} +2 -2
  41. package/dist/chunks/{eo-frame-breadcrumb.a2d98877.js.map → eo-frame-breadcrumb.37f12f2c.js.map} +1 -1
  42. package/dist/chunks/{eo-launchpad-button-v2.aa05077e.js → eo-launchpad-button-v2.9aee7338.js} +3 -3
  43. package/dist/chunks/{eo-launchpad-button-v2.aa05077e.js.map → eo-launchpad-button-v2.9aee7338.js.map} +1 -1
  44. package/dist/chunks/{eo-launchpad-button.b8b7bcff.js → eo-launchpad-button.51a5ded5.js} +3 -3
  45. package/dist/chunks/{eo-launchpad-button.b8b7bcff.js.map → eo-launchpad-button.51a5ded5.js.map} +1 -1
  46. package/dist/chunks/{eo-launchpad-quick-access.b0a48525.js → eo-launchpad-quick-access.f1b29121.js} +3 -3
  47. package/dist/chunks/{eo-launchpad-quick-access.b0a48525.js.map → eo-launchpad-quick-access.f1b29121.js.map} +1 -1
  48. package/dist/chunks/eo-nav-menu.30edd233.js +2 -0
  49. package/dist/chunks/{eo-nav-menu.64183ee8.js.map → eo-nav-menu.30edd233.js.map} +1 -1
  50. package/dist/chunks/{eo-search-launchpad.8d4e293c.js → eo-search-launchpad.b1c12ae7.js} +2 -2
  51. package/dist/chunks/{eo-search-launchpad.8d4e293c.js.map → eo-search-launchpad.b1c12ae7.js.map} +1 -1
  52. package/dist/chunks/eo-sidebar-menu-group.a099dd1a.js +3 -0
  53. package/dist/chunks/{eo-sidebar-menu-group.01ac76d3.js.map → eo-sidebar-menu-group.a099dd1a.js.map} +1 -1
  54. package/dist/chunks/{eo-sidebar-menu-submenu.5cb414f6.js → eo-sidebar-menu-submenu.7144caa0.js} +3 -3
  55. package/dist/chunks/{eo-sidebar-menu-submenu.5cb414f6.js.map → eo-sidebar-menu-submenu.7144caa0.js.map} +1 -1
  56. package/dist/chunks/{eo-sidebar-menu.48f4f3a7.js → eo-sidebar-menu.f2d2b295.js} +2 -2
  57. package/dist/chunks/{eo-sidebar-menu.48f4f3a7.js.map → eo-sidebar-menu.f2d2b295.js.map} +1 -1
  58. package/dist/chunks/eo-sidebar-sub-menu.b1736cc6.js +3 -0
  59. package/dist/chunks/{eo-sidebar-sub-menu.70c71ea9.js.map → eo-sidebar-sub-menu.b1736cc6.js.map} +1 -1
  60. package/dist/chunks/eo-sidebar.56ecf80d.js +3 -0
  61. package/dist/chunks/{eo-sidebar.ad2491ee.js.map → eo-sidebar.56ecf80d.js.map} +1 -1
  62. package/dist/chunks/{get-menu-config-options.5803223a.js → get-menu-config-options.6b508dcd.js} +2 -2
  63. package/dist/chunks/{get-menu-config-options.5803223a.js.map → get-menu-config-options.6b508dcd.js.map} +1 -1
  64. package/dist/chunks/{get-menu-config-tree.d139c301.js → get-menu-config-tree.f70d0693.js} +2 -2
  65. package/dist/chunks/{get-menu-config-tree.d139c301.js.map → get-menu-config-tree.f70d0693.js.map} +1 -1
  66. package/dist/chunks/launchpad-config.c50d5f7e.js +3 -0
  67. package/dist/chunks/{launchpad-config.bd938fce.js.map → launchpad-config.c50d5f7e.js.map} +1 -1
  68. package/dist/chunks/main.fcb661d8.js +2 -0
  69. package/dist/chunks/{main.7c9a2c63.js.map → main.fcb661d8.js.map} +1 -1
  70. package/dist/chunks/{nav-logo.96de5e52.js → nav-logo.58e14db0.js} +2 -2
  71. package/dist/chunks/{nav-logo.96de5e52.js.map → nav-logo.58e14db0.js.map} +1 -1
  72. package/dist/chunks/{poll-announce.bb9bd6d1.js → poll-announce.3e4d3681.js} +3 -3
  73. package/dist/chunks/{poll-announce.bb9bd6d1.js.map → poll-announce.3e4d3681.js.map} +1 -1
  74. package/dist/chunks/query-search.7d839ce3.js +3 -0
  75. package/dist/chunks/{query-search.0c3c3518.js.map → query-search.7d839ce3.js.map} +1 -1
  76. package/dist/index.96f417c0.js +2 -0
  77. package/dist/index.96f417c0.js.map +1 -0
  78. package/dist/manifest.json +12 -12
  79. package/package.json +2 -2
  80. package/dist/chunks/2241.e6e34a55.js +0 -3
  81. package/dist/chunks/3944.a7f7cffe.js +0 -2
  82. package/dist/chunks/4837.d06f1908.js +0 -2
  83. package/dist/chunks/6128.3912671f.js +0 -2
  84. package/dist/chunks/6502.9ac6b169.js +0 -2
  85. package/dist/chunks/7218.623deb5b.js +0 -2
  86. package/dist/chunks/9118.c70241ba.js +0 -3
  87. package/dist/chunks/9363.cb610e3e.js +0 -3
  88. package/dist/chunks/948.8641bd00.js +0 -3
  89. package/dist/chunks/948.8641bd00.js.map +0 -1
  90. package/dist/chunks/easyops-navbar-alerts.cc7090db.js +0 -2
  91. package/dist/chunks/eo-directory.a0e99853.js +0 -3
  92. package/dist/chunks/eo-nav-menu.64183ee8.js +0 -2
  93. package/dist/chunks/eo-sidebar-menu-group.01ac76d3.js +0 -3
  94. package/dist/chunks/eo-sidebar-sub-menu.70c71ea9.js +0 -3
  95. package/dist/chunks/eo-sidebar.ad2491ee.js +0 -3
  96. package/dist/chunks/launchpad-config.bd938fce.js +0 -3
  97. package/dist/chunks/main.7c9a2c63.js +0 -2
  98. package/dist/chunks/query-search.0c3c3518.js +0 -3
  99. package/dist/index.715d54c7.js +0 -2
  100. package/dist/index.715d54c7.js.map +0 -1
  101. /package/dist/chunks/{2241.e6e34a55.js.LICENSE.txt → 2241.11d61042.js.LICENSE.txt} +0 -0
  102. /package/dist/chunks/{9118.c70241ba.js.LICENSE.txt → 9118.ef4d8081.js.LICENSE.txt} +0 -0
  103. /package/dist/chunks/{9363.cb610e3e.js.LICENSE.txt → 9363.06df54ed.js.LICENSE.txt} +0 -0
  104. /package/dist/chunks/{948.8641bd00.js.LICENSE.txt → 948.5f812985.js.LICENSE.txt} +0 -0
  105. /package/dist/chunks/{eo-directory-tree.2ba780f8.js.LICENSE.txt → eo-directory-tree.88ac8dce.js.LICENSE.txt} +0 -0
  106. /package/dist/chunks/{eo-directory.a0e99853.js.LICENSE.txt → eo-directory.96899794.js.LICENSE.txt} +0 -0
  107. /package/dist/chunks/{eo-launchpad-button-v2.aa05077e.js.LICENSE.txt → eo-launchpad-button-v2.9aee7338.js.LICENSE.txt} +0 -0
  108. /package/dist/chunks/{eo-launchpad-button.b8b7bcff.js.LICENSE.txt → eo-launchpad-button.51a5ded5.js.LICENSE.txt} +0 -0
  109. /package/dist/chunks/{eo-launchpad-quick-access.b0a48525.js.LICENSE.txt → eo-launchpad-quick-access.f1b29121.js.LICENSE.txt} +0 -0
  110. /package/dist/chunks/{eo-sidebar-menu-group.01ac76d3.js.LICENSE.txt → eo-sidebar-menu-group.a099dd1a.js.LICENSE.txt} +0 -0
  111. /package/dist/chunks/{eo-sidebar-menu-submenu.5cb414f6.js.LICENSE.txt → eo-sidebar-menu-submenu.7144caa0.js.LICENSE.txt} +0 -0
  112. /package/dist/chunks/{eo-sidebar-sub-menu.70c71ea9.js.LICENSE.txt → eo-sidebar-sub-menu.b1736cc6.js.LICENSE.txt} +0 -0
  113. /package/dist/chunks/{eo-sidebar.ad2491ee.js.LICENSE.txt → eo-sidebar.56ecf80d.js.LICENSE.txt} +0 -0
  114. /package/dist/chunks/{launchpad-config.bd938fce.js.LICENSE.txt → launchpad-config.c50d5f7e.js.LICENSE.txt} +0 -0
  115. /package/dist/chunks/{poll-announce.bb9bd6d1.js.LICENSE.txt → poll-announce.3e4d3681.js.LICENSE.txt} +0 -0
  116. /package/dist/chunks/{query-search.0c3c3518.js.LICENSE.txt → query-search.7d839ce3.js.LICENSE.txt} +0 -0
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1369,1890,2052],{935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var s=this[c][0];null!=s&&(a[s]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},1369:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},2121:(e,t,n)=>{n.r(t),n.d(t,{EasyopsNavbarAlerts:()=>w,EasyopsNavbarAlertsComponent:()=>E,WrappedIcon:()=>h,WrappedLink:()=>b});var r,o=n(2740),i=n(8769),a=n.n(i),c=n(870),s=n(981),l=n(1921),u=n(9711),f=n(5507),d=(n(4419),n(7137)),p=n(1916),m=n.n(p),g=n(7061);let v;const h=(0,s.wrapBrick)("eo-icon"),b=(0,s.wrapBrick)("eo-link"),{defineElement:y}=(0,c.createDecorators)();let w;class x extends s.ReactNextElement{render(){return a().createElement(E,null)}}r=x,[w,v]=(0,o.A)(r,[y("nav.easyops-navbar-alerts",{styleTexts:[g.A]})],[],0,void 0,s.ReactNextElement).c,v();const A=new d.G(localStorage);function E(){const[e,t]=(0,i.useState)(!1),[n,r]=(0,i.useState)(null),o=(0,u.useCurrentApp)(),c=(0,i.useMemo)((()=>`license:${f.auth.getAuth().org}`),[]),s=(0,i.useMemo)((()=>{var t;const n=f.auth.getAuth(),r=null===(t=n.license)||void 0===t?void 0:t.validDaysLeft;let o;return e?null:r&&r<=15&&n.isAdmin&&(o=A.getItem(c),!o||m()().unix()>o)?r:null}),[c,e]);(0,i.useEffect)((()=>{const e=e=>{const t=e.detail.renderTime,{loadTime:n,loadInfoPage:i}=(0,l.getRuntime)().getMiscSettings();null!=o&&o.isBuildPush&&n>0&&t>n&&r({renderTime:S(t),suggestTime:S(n),suggestUrl:i})};return window.addEventListener("route.render",e),()=>{window.removeEventListener("route.render",e)}}),[o]);const d=(0,i.useCallback)((()=>{A.setItem(c,m()().unix()+86400),t(!0)}),[c]);return a().createElement(a().Fragment,null,n&&a().createElement(k,{text:`您的页面存在性能问题, 当前页面渲染时间 ${n.renderTime} 秒, 规定阈值为: ${n.suggestTime} 秒, 您已超过。请您针对该页面进行性能优化!`,type:"warning",link:n.suggestUrl?{label:"建议解决思路",url:n.suggestUrl}:void 0}),null!==s&&a().createElement(k,{text:`离 License 过期还有 ${s} 天`,type:"info",closable:!0,onClose:d}))}function k(e){let{text:t,type:n,closable:r,link:o,onClose:i}=e;return a().createElement("div",{className:`alert ${n}`},a().createElement("span",{className:"text"},t),o&&a().createElement(b,{className:"link",href:o.url,target:"_blank"},o.label),r&&a().createElement(h,{lib:"antd",icon:"close",className:"icon",role:"button",onClick:i}))}function S(e){return Math.floor(100*e)/1e5}},2740:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(7545),o=n(6902);function i(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function c(e,t,n,c,s,l){var u,f,d,p,m,g,v,h=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,y=Object.create,w=[y(null),y(null)],x=t.length;function A(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function E(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function k(e,t,n,o,a,c,s,l,d,p,m){function g(e){if(!m(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),h=t[3],y=!s,x=1===a,k=3===a,S=4===a,T=2===a;function j(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),I[t].call(o,i)}}if(!y){var I={},N=[],C=k?"get":S||x?"set":"value";if(d?(p||x?I={get:i((function(){return h(this)}),o,"get"),set:function(e){t[4](this,e)}}:I[C]=h,p||i(I[C],o,T?"":C)):p||(I=Object.getOwnPropertyDescriptor(e,o)),!p&&!d){if((f=w[+l][o])&&7!=(f^a))throw Error("Decorating two elements with the same name ("+I[C].name+") is not supported yet");w[+l][o]=a<3?1:a}}for(var O=e,P=v.length-1;P>=0;P-=n?2:1){var _=E(v[P],"A decorator","be",!0),L=n?v[P-1]:void 0,$={},D={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");E(t,"An initializer","be",!0),c.push(t)}.bind(null,$)};if(y)f=_.call(L,O,D),$.v=1,E(f,"class decorators","return")&&(O=f);else if(D.static=l,D.private=d,f=D.access={has:d?m.bind():function(e){return o in e}},S||(f.get=d?T?function(e){return g(e),I.value}:j("get",0,g):function(e){return e[o]}),T||k||(f.set=d?j("set",0,g):function(e,t){e[o]=t}),O=_.call(L,x?{get:I.get,set:I.set}:I[C],D),$.v=1,x){if("object"==(0,r.A)(O)&&O)(f=E(O.get,"accessor.get"))&&(I.get=f),(f=E(O.set,"accessor.set"))&&(I.set=f),(f=E(O.init,"accessor.init"))&&N.unshift(f);else if(void 0!==O)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else E(O,(p?"field":"method")+" decorators","return")&&(p?N.unshift(O):I[C]=O)}return a<2&&s.push(A(N,l,1),A(c,l,0)),p||y||(d?x?s.splice(-1,0,j("get",l),j("set",l)):s.push(T?I[C]:E.call.bind(I[C])):b(e,o,I)),O}function S(e){return b(e,h,{configurable:!0,enumerable:!0,value:u})}return void 0!==l&&(u=l[h]),u=y(null==u?null:u),m=[],g=function(e){e&&m.push(A(e))},v=function(t,r){for(var i=0;i<n.length;i++){var c=n[i],l=c[1],u=7&l;if((8&l)==t&&!u==r){var f=c[2],g=!!c[3],v=16&l;k(t?e:e.prototype,c,v,g?"#"+f:(0,a.A)(f),u,u<2?[]:t?p=p||[]:d=d||[],m,!!t,g,r,t&&g?function(t){return(0,o.A)(t)===e}:s)}}},v(8,0),v(0,0),v(8,1),v(0,1),g(d),g(p),f=m,x||S(e),{e:f,get c(){var n=[];return x&&[S(e=k(e,[t],c,e.name,5,n)),A(n,1)]}}}},6758:e=>{e.exports=function(e){return e[1]}},6902:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},7061:(e,t,n)=>{n.d(t,{A:()=>c});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.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 c=a.toString()},7137:(e,t,n)=>{n.d(t,{G:()=>r});class r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=t}setItem(e,t){this.storage.setItem(this.prefix+e,JSON.stringify(t))}getItem(e){return JSON.parse(this.storage.getItem(this.prefix+e))}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}},7545:(e,t,n)=>{function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})}}]);
2
- //# sourceMappingURL=easyops-navbar-alerts.cc7090db.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see eo-directory.a0e99853.js.LICENSE.txt */
2
- (globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1369,2052,7257],{651:(t,e,i)=>{"use strict";i.r(e),i.d(e,{EoDirectory:()=>H,EoDirectoryComponent:()=>ot});var r,n=i(9575),o=i(4635),s=i(918),c=i(6902),a=i(5536),u=i(6121),l=i(829),d=i(2740),f=i(8769),m=i.n(f),p=i(870),h=i(981),y=i(9711),v=(i(4419),i(2763)),g=i(3373),b=i.n(g);let A,x,k,w,E,S,j,B,I,T,C,O,M,N,W,z,P,R,D,K,$;const{defineElement:_,property:U,event:q}=(0,p.createDecorators)(),F=(0,h.wrapBrick)("eo-icon"),G=(0,h.wrapBrick)("eo-tooltip");let H;var J=new WeakMap,L=new WeakMap,Q=new WeakMap,V=new WeakMap,X=new WeakMap,Y=new WeakMap,Z=new WeakMap,tt=new WeakSet,et=new WeakMap,it=new WeakMap,rt=new WeakMap;class nt extends h.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,tt),(0,s.A)(this,J,x(this,"fixed")),(0,s.A)(this,L,(k(this),w(this))),(0,s.A)(this,Q,(E(this),S(this,[]))),(0,s.A)(this,V,(j(this),B(this,!1))),(0,s.A)(this,X,(I(this),T(this))),(0,s.A)(this,Y,(C(this),O(this))),(0,s.A)(this,Z,(M(this),N(this))),(0,s.A)(this,et,(P(this),R(this))),(0,s.A)(this,it,($(this),t=>{(0,a.A)(tt,this,W).emit(t)})),(0,s.A)(this,rt,(t=>{(0,a.A)(tt,this,D).emit({key:t})}))}get position(){return(0,l.A)(J,this)}set position(t){(0,u.A)(J,this,t)}get directoryTitle(){return(0,l.A)(L,this)}set directoryTitle(t){(0,u.A)(L,this,t)}get menuItems(){return(0,l.A)(Q,this)}set menuItems(t){(0,u.A)(Q,this,t)}get hideRightBorder(){return(0,l.A)(V,this)}set hideRightBorder(t){(0,u.A)(V,this,t)}get suffixBrick(){return(0,l.A)(X,this)}set suffixBrick(t){(0,u.A)(X,this,t)}get defaultSelectedKeys(){return(0,l.A)(Y,this)}set defaultSelectedKeys(t){(0,u.A)(Y,this,t)}render(){return m().createElement(ot,{menuItems:this.menuItems,directoryTitle:this.directoryTitle,hideRightBorder:this.hideRightBorder,suffixIconClick:(0,l.A)(rt,this),menuItemClick:(0,l.A)(it,this),defaultSelectedKeys:this.defaultSelectedKeys,suffixBrick:this.suffixBrick})}}function ot(t){const{menuItems:e,directoryTitle:i,hideRightBorder:r,menuItemClick:o,suffixIconClick:s,defaultSelectedKeys:c,suffixBrick:a}=t;return m().createElement("div",{className:b()("directory-container",{"directory-container-not-border":r})},i&&m().createElement("div",{className:"directory-title",title:i},i),m().createElement("div",{className:"directory-menu-list"},e.map(((t,e)=>{var i;return m().createElement("div",{className:b()("menu-item",`menu-item-${t.type}`),key:`${t.key}-${e}`},m().createElement("div",{className:b()(`menu-item-title-${t.type}`),onClick:()=>"item"===t.type&&(null==o?void 0:o({data:t}))},m().createElement("span",{className:b()("menu-title-text",{"menu-title-text-active":null==c?void 0:c.includes(t.key)})},t.title),null!=a&&a.useBrick?m().createElement(y.ReactUseMultipleBricks,{useBrick:a.useBrick,data:{data:t}}):null,t.suffixIcon&&m().createElement(G,{content:t.suffixIconTooltip,placement:"top"},m().createElement(F,(0,n.A)({},t.suffixIcon,{className:b()("menu-item-title-suffix-icon",{"menu-item-title-suffix-icon-disabled":t.suffixIconDisabled}),onClick:e=>{e.stopPropagation(),t.suffixIconDisabled?e.preventDefault():null==s||s(t.key)}})))),"group"===t.type&&!(null===(i=t.children)||void 0===i||!i.length)&&t.children.map(((e,i)=>m().createElement("div",{className:"menu-item-title-item",onClick:()=>null==o?void 0:o({data:e,groupKey:t.key}),key:`${e.key}-${i}`},m().createElement("span",{className:b()("menu-title-text",{"menu-title-text-active":null==c?void 0:c.includes(e.key)})},e.title)))))}))))}r=nt,({e:[x,k,w,E,S,j,B,I,T,C,O,M,N,W,z,P,R,D,K,$],c:[H,A]}=(0,d.A)(r,[_("eo-directory",{styleTexts:[v.A]})],[[U(),1,"position"],[U(),1,"directoryTitle"],[U({attribute:!1}),1,"menuItems"],[U({type:Boolean}),1,"hideRightBorder"],[U({attribute:!1}),1,"suffixBrick"],[U({attribute:!1}),1,"defaultSelectedKeys"],[q({type:"menu.item.click"}),1,"menuItemClickEvent",t=>(0,l.A)(Z,t),(t,e)=>(0,u.A)(Z,t,e)],[q({type:"suffix.icon.click"}),1,"suffixIconClickEvent",t=>(0,l.A)(et,t),(t,e)=>(0,u.A)(et,t,e)]],0,(t=>rt.has((0,c.A)(t))),h.ReactNextElement)),A()},829:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2559);function n(t,e){return t.get((0,r.A)(t,e))}},918:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2016);function n(t,e,i){(0,r.A)(t,e),e.set(t,i)}},935:t=>{"use strict";t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var i="",r=void 0!==e[5];return e[4]&&(i+="@supports (".concat(e[4],") {")),e[2]&&(i+="@media ".concat(e[2]," {")),r&&(i+="@layer".concat(e[5].length>0?" ".concat(e[5]):""," {")),i+=t(e),r&&(i+="}"),e[2]&&(i+="}"),e[4]&&(i+="}"),i})).join("")},e.i=function(t,i,r,n,o){"string"==typeof t&&(t=[[null,t,void 0]]);var s={};if(r)for(var c=0;c<this.length;c++){var a=this[c][0];null!=a&&(s[a]=!0)}for(var u=0;u<t.length;u++){var l=[].concat(t[u]);r&&s[l[0]]||(void 0!==o&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=o),i&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=i):l[2]=i),n&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=n):l[4]="".concat(n)),e.push(l))}},e}},1369:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(7545);function n(t){var e=function(t){if("object"!=(0,r.A)(t)||!t)return t;var e=t[Symbol.toPrimitive];if(void 0!==e){var i=e.call(t,"string");if("object"!=(0,r.A)(i))return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(t)}(t);return"symbol"==(0,r.A)(e)?e:e+""}},2016:(t,e,i)=>{"use strict";function r(t,e){if(e.has(t))throw new TypeError("Cannot initialize the same private elements twice on an object")}i.d(e,{A:()=>r})},2559:(t,e,i)=>{"use strict";function r(t,e,i){if("function"==typeof t?t===e:t.has(e))return arguments.length<3?e:i;throw new TypeError("Private element is not present on this object")}i.d(e,{A:()=>r})},2740:(t,e,i)=>{"use strict";i.d(e,{A:()=>c});var r=i(7545),n=i(6902);function o(t,e,i){"symbol"==(0,r.A)(e)&&(e=(e=e.description)?"["+e+"]":"");try{Object.defineProperty(t,"name",{configurable:!0,value:i?i+" "+e:e})}catch(t){}return t}var s=i(1369);function c(t,e,i,c,a,u){var l,d,f,m,p,h,y,v=Symbol.metadata||Symbol.for("Symbol.metadata"),g=Object.defineProperty,b=Object.create,A=[b(null),b(null)],x=e.length;function k(e,i,r){return function(n,o){i&&(o=n,n=t);for(var s=0;s<e.length;s++)o=e[s].apply(n,r?[o]:[]);return r?o:n}}function w(t,e,i,r){if("function"!=typeof t&&(r||void 0!==t))throw new TypeError(e+" must "+(i||"be")+" a function"+(r?"":" or undefined"));return t}function E(t,e,i,n,s,c,a,u,f,m,p){function h(t){if(!p(t))throw new TypeError("Attempted to access private element on non-instance")}var y=[].concat(e[0]),v=e[3],b=!a,x=1===s,E=3===s,S=4===s,j=2===s;function B(e,i,r){return function(n,o){return i&&(o=n,n=t),r&&r(n),I[e].call(n,o)}}if(!b){var I={},T=[],C=E?"get":S||x?"set":"value";if(f?(m||x?I={get:o((function(){return v(this)}),n,"get"),set:function(t){e[4](this,t)}}:I[C]=v,m||o(I[C],n,j?"":C)):m||(I=Object.getOwnPropertyDescriptor(t,n)),!m&&!f){if((d=A[+u][n])&&7!=(d^s))throw Error("Decorating two elements with the same name ("+I[C].name+") is not supported yet");A[+u][n]=s<3?1:s}}for(var O=t,M=y.length-1;M>=0;M-=i?2:1){var N=w(y[M],"A decorator","be",!0),W=i?y[M-1]:void 0,z={},P={kind:["field","accessor","method","getter","setter","class"][s],name:n,metadata:l,addInitializer:function(t,e){if(t.v)throw Error("attempted to call addInitializer after decoration was finished");w(e,"An initializer","be",!0),c.push(e)}.bind(null,z)};if(b)d=N.call(W,O,P),z.v=1,w(d,"class decorators","return")&&(O=d);else if(P.static=u,P.private=f,d=P.access={has:f?p.bind():function(t){return n in t}},S||(d.get=f?j?function(t){return h(t),I.value}:B("get",0,h):function(t){return t[n]}),j||E||(d.set=f?B("set",0,h):function(t,e){t[n]=e}),O=N.call(W,x?{get:I.get,set:I.set}:I[C],P),z.v=1,x){if("object"==(0,r.A)(O)&&O)(d=w(O.get,"accessor.get"))&&(I.get=d),(d=w(O.set,"accessor.set"))&&(I.set=d),(d=w(O.init,"accessor.init"))&&T.unshift(d);else if(void 0!==O)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else w(O,(m?"field":"method")+" decorators","return")&&(m?T.unshift(O):I[C]=O)}return s<2&&a.push(k(T,u,1),k(c,u,0)),m||b||(f?x?a.splice(-1,0,B("get",u),B("set",u)):a.push(j?I[C]:w.call.bind(I[C])):g(t,n,I)),O}function S(t){return g(t,v,{configurable:!0,enumerable:!0,value:l})}return void 0!==u&&(l=u[v]),l=b(null==l?null:l),p=[],h=function(t){t&&p.push(k(t))},y=function(e,r){for(var o=0;o<i.length;o++){var c=i[o],u=c[1],l=7&u;if((8&u)==e&&!l==r){var d=c[2],h=!!c[3],y=16&u;E(e?t:t.prototype,c,y,h?"#"+d:(0,s.A)(d),l,l<2?[]:e?m=m||[]:f=f||[],p,!!e,h,r,e&&h?function(e){return(0,n.A)(e)===t}:a)}}},y(8,0),y(0,0),y(8,1),y(0,1),h(f),h(m),d=p,x||S(t),{e:d,get c(){var i=[];return x&&[S(t=E(t,[e],c,t.name,5,i)),k(i,1)]}}}},2763:(t,e,i)=>{"use strict";i.d(e,{A:()=>c});var r=i(6758),n=i.n(r),o=i(935),s=i.n(o)()(n());s.push([t.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 c=s.toString()},3373:(t,e)=>{var i;!function(){"use strict";var r={}.hasOwnProperty;function n(){for(var t="",e=0;e<arguments.length;e++){var i=arguments[e];i&&(t=s(t,o(i)))}return t}function o(t){if("string"==typeof t||"number"==typeof t)return t;if("object"!=typeof t)return"";if(Array.isArray(t))return n.apply(null,t);if(t.toString!==Object.prototype.toString&&!t.toString.toString().includes("[native code]"))return t.toString();var e="";for(var i in t)r.call(t,i)&&t[i]&&(e=s(e,i));return e}function s(t,e){return e?t?t+" "+e:t+e:t}t.exports?(n.default=n,t.exports=n):void 0===(i=function(){return n}.apply(e,[]))||(t.exports=i)}()},4635:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2016);function n(t,e){(0,r.A)(t,e),e.add(t)}},5536:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2559);function n(t,e,i){return i((0,r.A)(t,e))}},6121:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(2559);function n(t,e,i){return t.set((0,r.A)(t,e),i),i}},6758:t=>{"use strict";t.exports=function(t){return t[1]}},6902:(t,e,i)=>{"use strict";i.d(e,{A:()=>n});var r=i(7545);function n(t){if(Object(t)!==t)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==t?(0,r.A)(t):"null"));return t}},7545:(t,e,i)=>{"use strict";function r(t){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},r(t)}i.d(e,{A:()=>r})},9575:(t,e,i)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(t){for(var e=1;e<arguments.length;e++){var i=arguments[e];for(var r in i)Object.prototype.hasOwnProperty.call(i,r)&&(t[r]=i[r])}return t},r.apply(this,arguments)}i.d(e,{A:()=>r})}}]);
3
- //# sourceMappingURL=eo-directory.a0e99853.js.map
@@ -1,2 +0,0 @@
1
- "use strict";(globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[5821],{4943:(e,t,n)=>{n.r(t),n.d(t,{NavMenu:()=>z});var l,i=n(918),a=n(6121),o=n(829),r=n(2740),s=n(9575),m=n(8769),c=n.n(m),u=n(870),d=n(1921),p=n(981),h=n(6370),y=n(100),v=n(63),g=(n(4419),n(3373)),w=n.n(g),b=n(1418),f=n(9863),E=n(9998),T=n(839),k=n(1122);let M,x,S,A,N,K,D;n(4211);const{defineElement:C,property:R}=(0,u.createDecorators)(),_=(0,p.wrapBrick)("eo-menu-item"),W=(0,p.wrapBrick)("eo-popover",{onVisibleChange:"visible.change",onBeforeVisibleChange:"before.visible.change"});function B(e){const{item:t}=e;return(0,y.Wf)(t,e.topData)?c().createElement(L,(0,s.A)({},e,{item:t})):(0,y.IZ)(t)?c().createElement(V,(0,s.A)({},e,{item:t})):c().createElement(F,(0,s.A)({},e,{item:t}))}function F(e){const{item:t,index:n,hidden:l,showTooltip:i,selectedKey:a=[]}=e;return c().createElement(_,{"data-index":n,className:l?"overflow-menu-item":"",key:t.key,title:i?t.text:"",active:!!t.key&&a.includes(t.key)},(0,y.q5)(t,{width:"100%"},e.mainMenuTitleStyle))}let G;const I=e=>{const t=null!=G?G:G=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:l,item:i,topData:a,showTooltip:o,selectedKey:r=[],overflow:s,mainMenuTitleStyle:m}=e;return(null===(t=i.items)||void 0===t?void 0:t.length)>0?c().createElement(W,{"data-index":n,className:w()("popover",{subprime:!a,"overflow-menu-item":l}),arrow:!1,trigger:"hover",placement:a?"bottom-start":"right-start",distance:0,anchorDisplay:"block",strategy:"fixed"},c().createElement(_,{className:"sub-menu-item-label 22",key:i.key,slot:"anchor",title:o?i.title:""},(0,y.Gn)(i,!a,{...m})),c().createElement("div",{className:w()("sub-menu-wrapper",{"overflow-menu-wrapper":s})},i.items.map((e=>c().createElement(c().Fragment,{key:e.key},c().createElement(B,{item:e,selectedKey:r,showTooltip:o})))))):null}function V(e){var t;let{item:n,showTooltip:l,selectedKey:i=[]}=e;return(null===(t=n.items)||void 0===t?void 0:t.length)>0?"category"===n.childLayout?c().createElement(P,{item:n,selectedKey:i,showTooltip:l,placement:"right-start",anchorDisplay:"block"}):"siteMap"===n.childLayout?c().createElement(q,{item:n,selectedKey:i,showTooltip:l,placement:"right-start",anchorDisplay:"block",topData:!1}):c().createElement(c().Fragment,null,c().createElement("div",{className:"group-label"},n.title),c().createElement("div",{className:"group-wrapper"},n.items.map((e=>c().createElement(c().Fragment,{key:e.key},c().createElement(B,{item:e,showTooltip:l,selectedKey:i})))))):null}function P(e){var t;let{index:n,hidden:l,item:i,selectedKey:a=[],showTooltip:o,placement:r="bottom-start",anchorDisplay:s,mainMenuTitleStyle:m}=e;return(null===(t=i.items)||void 0===t?void 0:t.length)>0?c().createElement(W,{"data-index":n,className:w()("three-level-menu-popover","popover",{"overflow-menu-item":l}),arrow:!1,trigger:"hover",placement:r,distance:0,key:i.key,strategy:"fixed",anchorDisplay:s,onBeforeVisibleChange:I},c().createElement(_,{className:"sub-menu-item-label",key:i.key,slot:"anchor",title:o?i.title:""},(0,y.Gn)(i,!1,m)),c().createElement("div",{className:"sub-menu-wrapper"},c().createElement(b.s,{menuItem:i,selectedKey:a}))):null}function q(e){var t;let{index:n,hidden:l,item:i,selectedKey:a=[],showTooltip:o,placement:r="bottom-start",anchorDisplay:s,topData:u,mainMenuTitleStyle:d}=e;const[p,h]=(0,m.useState)();return(null===(t=i.items)||void 0===t?void 0:t.length)>0?c().createElement(W,{"data-index":n,className:w()("popover",{"overflow-menu-item":l}),trigger:"hover",placement:r,distance:0,key:i.key,strategy:"fixed",arrow:!1,anchorDisplay:s,onBeforeVisibleChange:e=>{h(e.detail),I(e)}},c().createElement(_,{className:"sub-menu-item-label",key:i.key,slot:"anchor",title:o?i.title:""},(0,y.Gn)(i,!1,d)),c().createElement("div",{className:w()("sub-menu-sit-map-wrapper",{"in-group-site-map":!u}),onClick:e=>e.stopPropagation()},c().createElement(f.bw,{menuGroup:i,selectedKey:a,visible:p}))):null}let z;var H=new WeakMap,O=new WeakMap,X=new WeakMap;class Z extends p.ReactNextElement{constructor(){super(...arguments),(0,i.A)(this,H,x(this)),(0,i.A)(this,O,(S(this),A(this))),(0,i.A)(this,X,(N(this),K(this))),D(this)}get menu(){return(0,o.A)(H,this)}set menu(e){(0,a.A)(H,this,e)}get mainMenuTitleStyle(){return(0,o.A)(O,this)}set mainMenuTitleStyle(e){(0,a.A)(O,this,e)}get showTooltip(){return(0,o.A)(X,this)}set showTooltip(e){(0,a.A)(X,this,e)}render(){return c().createElement(j,{menu:this.menu,showTooltip:this.showTooltip,mainMenuTitleStyle:this.mainMenuTitleStyle})}}function j(e){const{menu:t,showTooltip:n}=e,l=(0,d.getHistory)(),i=(0,m.useRef)(null),[a,o]=(0,m.useState)(l.location),[r,s]=(0,m.useState)(Number.MAX_SAFE_INTEGER),{pathname:u,search:p}=a,h=(0,m.useMemo)((()=>{var e;return(null!==(e=null==t?void 0:t.menuItems)&&void 0!==e?e:[]).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]),g=(0,m.useMemo)((()=>{const{selectedKeys:e}=(0,v.LP)(null!=h?h:[],u,p,"");return e}),[h,u,p]);(0,m.useEffect)((()=>{const e=l.listen((e=>{o(e)}));return e}),[]),(0,m.useEffect)((()=>{if(i.current){const e=new ResizeObserver((()=>{if(i.current){var e;const{width:t}=null!==(e=i.current.getClientRects()[0])&&void 0!==e?e:{},n=i.current.childNodes;if(n.length&&t){let e=t,l=n.length;for(let t=0;t<n.length;t++){const{width:i,height:a}=n[t].getClientRects()[0];if(!a&&e-40<0){l=t-1;break}if(e=e-i-(t>0?8:0),e<0){l=t;break}}s(l<0?0:l)}}}));return e.observe(i.current),()=>{e.disconnect()}}}),[]);const w=(0,m.useMemo)((()=>({type:"subMenu",title:"···",items:h.slice(r,h.length).map((e=>({...e,type:"group"===e.type&&e.items.length?"subMenu":e.type})))})),[h,r]);return c().createElement("div",{ref:i,className:"nav-menu-wrapper"},h.map(((t,l)=>{var i;const a=r<=l;return c().createElement(c().Fragment,{key:t.key},(0,y.Wf)(t,!0)&&"category"===t.childLayout&&null!==(i=t.items)&&void 0!==i&&i.length?c().createElement(P,{index:l,hidden:a,item:t,showTooltip:n,selectedKey:g,mainMenuTitleStyle:e.mainMenuTitleStyle}):"group"===t.type&&"siteMap"===t.childLayout?c().createElement(q,{index:l,hidden:a,item:t,showTooltip:n,selectedKey:g,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}):c().createElement(B,{index:l,hidden:a,item:t,showTooltip:n,selectedKey:g,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}))})),c().createElement(B,{hidden:r>h.length,item:w,showTooltip:n,selectedKey:g,overflow:!0,topData:!0,mainMenuTitleStyle:e.mainMenuTitleStyle}),c().createElement("slot",{name:"afterMenu"}))}l=Z,({e:[x,S,A,N,K,D],c:[z,M]}=(0,r.A)(l,[C("eo-nav-menu",{styleTexts:[E.A,T.A,k.A,h.A]})],[[R({attribute:!1}),1,"menu"],[R({attribute:!1}),1,"mainMenuTitleStyle"],[R({type:Boolean}),1,"showTooltip"]],0,void 0,p.ReactNextElement)),M()}}]);
2
- //# sourceMappingURL=eo-nav-menu.64183ee8.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see eo-sidebar-menu-group.01ac76d3.js.LICENSE.txt */
2
- (globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[62,1369,2052],{829:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(a[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);r&&a[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(7545),o=n(6902);function i(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function s(e,t,n,s,l,c){var u,p,d,m,f,h,g,b=Symbol.metadata||Symbol.for("Symbol.metadata"),v=Object.defineProperty,y=Object.create,w=[y(null),y(null)],E=t.length;function x(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function A(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function k(e,t,n,o,a,s,l,c,d,m,f){function h(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),b=t[3],y=!l,E=1===a,k=3===a,S=4===a,C=2===a;function j(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),z[t].call(o,i)}}if(!y){var z={},O=[],K=k?"get":S||E?"set":"value";if(d?(m||E?z={get:i((function(){return b(this)}),o,"get"),set:function(e){t[4](this,e)}}:z[K]=b,m||i(z[K],o,C?"":K)):m||(z=Object.getOwnPropertyDescriptor(e,o)),!m&&!d){if((p=w[+c][o])&&7!=(p^a))throw Error("Decorating two elements with the same name ("+z[K].name+") is not supported yet");w[+c][o]=a<3?1:a}}for(var N=e,B=g.length-1;B>=0;B-=n?2:1){var M=A(g[B],"A decorator","be",!0),P=n?g[B-1]:void 0,T={},I={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");A(t,"An initializer","be",!0),s.push(t)}.bind(null,T)};if(y)p=M.call(P,N,I),T.v=1,A(p,"class decorators","return")&&(N=p);else if(I.static=c,I.private=d,p=I.access={has:d?f.bind():function(e){return o in e}},S||(p.get=d?C?function(e){return h(e),z.value}:j("get",0,h):function(e){return e[o]}),C||k||(p.set=d?j("set",0,h):function(e,t){e[o]=t}),N=M.call(P,E?{get:z.get,set:z.set}:z[K],I),T.v=1,E){if("object"==(0,r.A)(N)&&N)(p=A(N.get,"accessor.get"))&&(z.get=p),(p=A(N.set,"accessor.set"))&&(z.set=p),(p=A(N.init,"accessor.init"))&&O.unshift(p);else if(void 0!==N)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else A(N,(m?"field":"method")+" decorators","return")&&(m?O.unshift(N):z[K]=N)}return a<2&&l.push(x(O,c,1),x(s,c,0)),m||y||(d?E?l.splice(-1,0,j("get",c),j("set",c)):l.push(C?z[K]:A.call.bind(z[K])):v(e,o,z)),N}function S(e){return v(e,b,{configurable:!0,enumerable:!0,value:u})}return void 0!==c&&(u=c[b]),u=y(null==u?null:u),f=[],h=function(e){e&&f.push(x(e))},g=function(t,r){for(var i=0;i<n.length;i++){var s=n[i],c=s[1],u=7&c;if((8&c)==t&&!u==r){var p=s[2],h=!!s[3],g=16&c;k(t?e:e.prototype,s,g,h?"#"+p:(0,a.A)(p),u,u<2?[]:t?m=m||[]:d=d||[],f,!!t,h,r,t&&h?function(t){return(0,o.A)(t)===e}:l)}}},g(8,0),g(0,0),g(8,1),g(0,1),h(d),h(m),p=f,E||S(e),{e:p,get c(){var n=[];return E&&[S(e=k(e,[t],s,e.name,5,n)),x(n,1)]}}}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},3742:(e,t,n)=>{"use strict";n.d(t,{Bb:()=>d,VI:()=>h,Wb:()=>p,i2:()=>g,k_:()=>m,mK:()=>u,wZ:()=>C,zD:()=>f});var r=n(9575),o=n(8769),i=n.n(o),a=n(1921),s=n(981);const l=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]),c=e=>l.has(e.tagName);function u(e){const t=(0,o.useRef)(null),n=(0,o.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{c(t)&&(t.menuCollapsed=e)}))}),[e]);return(0,o.useEffect)((()=>{n()}),[e,n]),(0,o.useEffect)((()=>{const e=t.current,r=()=>{n()};return null==e||e.addEventListener("slotchange",r),()=>{null==e||e.removeEventListener("slotchange",r)}}),[n]),[t]}const p="side-bar-has-been-used",d="side-bar-expand-state",m="side-bar-resize-width";let f=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const h=parseInt((0,a.getCssPropertyValue)("--side-bar-width",document.body),10)||220,g=parseInt((0,a.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,b=(0,o.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),v=(0,s.wrapBrick)("eo-sidebar-menu"),y=(0,s.wrapBrick)("eo-sidebar-menu-item"),w=(0,s.wrapBrick)("eo-sidebar-menu-group"),E=(0,s.wrapBrick)("eo-sidebar-menu-submenu");function x(e){const{to:t,href:n,target:r,icon:a,text:s,id:l,inSubmenu:c}=e,{selectedKeys:u}=(0,o.useContext)(b);return i().createElement(y,{url:t,href:n,target:r,icon:a,inSubmenu:c,selected:u.includes(l)},s)}function A(e){const{title:t,items:n,id:a,top:s,inSubmenu:l}=e,{matchedKeys:c}=(0,o.useContext)(b),u=a&&c.includes(a);return(null==n?void 0:n.length)>0?i().createElement(w,{selected:!!u,collapsable:!s},i().createElement("span",{slot:"title"},t),e.items.map((e=>i().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:l}))))):null}function k(e){const{title:t,icon:n,items:a,id:s}=e,{openedKeys:l,matchedKeys:c}=(0,o.useContext)(b),u=s&&c.includes(s);return(null==a?void 0:a.length)>0?i().createElement(E,{icon:n,collapsed:!l.includes(s),selected:!!u},i().createElement("span",{slot:"title"},t),e.items.map((e=>i().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function S(e){return"subMenu"===e.type?i().createElement(k,e):"group"===e.type?i().createElement(A,e):i().createElement(x,e)}function C(e){var t;const{menu:n,expandedState:o,selectedKeys:a,openedKeys:s,matchedKeys:l}=e;return i().createElement(b.Provider,{value:{selectedKeys:a||[],openedKeys:s||[],matchedKeys:l||[]}},i().createElement(v,{menuCollapsed:o===f.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>i().createElement(S,(0,r.A)({key:e.key},e,{id:e.key,top:!0}))))))}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},6627:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EoSidebarMenuGroup:()=>j,EoSidebarMenuGroupComponent:()=>P});var r,o=n(918),i=n(6121),a=n(829),s=n(2740),l=n(8769),c=n.n(l),u=n(870),p=n(981),d=(n(4419),n(8619)),m=n(3742),f=n(3373),h=n.n(f);let g,b,v,y,w,E,x,A,k;const{defineElement:S,property:C}=(0,u.createDecorators)();let j;var z=new WeakMap,O=new WeakMap,K=new WeakMap,N=new WeakMap,B=new WeakMap;class M extends p.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,z,b(this)),(0,o.A)(this,O,(v(this),y(this))),(0,o.A)(this,K,(w(this),E(this))),(0,o.A)(this,N,(x(this),A(this))),(0,o.A)(this,B,(k(this),e=>{this.collapsed=e}))}get collapsable(){return(0,a.A)(z,this)}set collapsable(e){(0,i.A)(z,this,e)}get collapsed(){return(0,a.A)(O,this)}set collapsed(e){(0,i.A)(O,this,e)}get selected(){return(0,a.A)(K,this)}set selected(e){(0,i.A)(K,this,e)}get menuCollapsed(){return(0,a.A)(N,this)}set menuCollapsed(e){(0,i.A)(N,this,e)}render(){return c().createElement(P,{collapsable:this.collapsable,selected:this.selected,collapsed:this.collapsed,menuCollapsed:this.menuCollapsed,onCollapseChange:(0,a.A)(B,this)})}}function P(e){const{collapsable:t=!1,collapsed:n,menuCollapsed:r,onCollapseChange:o}=e,[i]=(0,m.mK)(r),a=(0,l.useRef)(null),s=(0,l.useCallback)((()=>{!r&&(null==o||o(!n))}),[r,o,n]);return(0,l.useEffect)((()=>{const e=a.current;return null==e||e.addEventListener("click",s),()=>{null==e||e.removeEventListener("click",s)}}),[s]),c().createElement("div",{className:h()("menu-group",{"menu-group-collapsed":!!r||n})},c().createElement("div",{className:"menu-group-title",ref:a},c().createElement("span",{className:"menu-group-title-icon-container"},c().createElement("span",{className:"menu-group-title-icon"})),c().createElement("div",{className:"menu-group-title-text"},c().createElement("slot",{name:"title"})),t&&c().createElement("span",{className:"menu-group-arrow"})),c().createElement("div",{className:"menu-group-list"},c().createElement("div",{className:"menu-group-list-inner"},c().createElement("slot",{ref:i}))))}r=M,({e:[b,v,y,w,E,x,A,k],c:[j,g]}=(0,s.A)(r,[S("eo-sidebar-menu-group",{styleTexts:[d.A]})],[[C({type:Boolean}),1,"collapsable"],[C({type:Boolean}),1,"collapsed"],[C({type:Boolean}),1,"selected"],[C({type:Boolean}),1,"menuCollapsed"]],0,void 0,p.ReactNextElement)),g()},6758:e=>{"use strict";e.exports=function(e){return e[1]}},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},8619:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.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 s=a.toString()},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})}}]);
3
- //# sourceMappingURL=eo-sidebar-menu-group.01ac76d3.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see eo-sidebar-sub-menu.70c71ea9.js.LICENSE.txt */
2
- (globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1131,1369,2052],{63:(e,t,n)=>{"use strict";n.d(t,{IZ:()=>a,LP:()=>u,Wf:()=>c});var r=n(1732),o=n(1921),i=n(1030);function a(e){return"group"===e.type}function c(e,t){return Boolean("subMenu"===e.type||t&&"group"===e.type)}function u(e,t,n,l){const m=[],d=[],p=[];let f=0;return e&&e.forEach((e=>{if(e.key=""===l?`${f}`:`${l}.${f}`,a(e)||c(e)){const r=u(e.items,t,n,e.key);m.push(...r.selectedKeys),(r.selectedKeys.length||e.defaultExpanded)&&d.push(e.key),d.push(...r.openedKeys),p.push(...r.matchedKeys)}else if(function(e,t,n){if(!e.to)return!1;const a="object"==typeof e.to?e.to:(0,r.parsePath)(e.to),c=a.pathname.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");let u=!!(0,o.matchPath)(t,{path:c,exact:e.exact});if(u&&e.activeMatchSearch&&(u=s(n,a.search)),!u&&Array.isArray(e.activeIncludes))for(const a of e.activeIncludes){let e,c=!0;(0,i.isObject)(a)?(e=Array.isArray(a.path)?a.path:[a.path],c=a.exact):e=[a];for(const i of e){var l;let e;const a=i.includes("?");if(a&&(e=(0,r.parsePath)(i)),u=!!(0,o.matchPath)(t,{path:a?e.pathname:i,exact:c}),u&&null!==(l=e)&&void 0!==l&&l.search&&(u=s(n,e.search)),u)break}if(u)break}if(u&&Array.isArray(e.activeExcludes))for(const a of e.activeExcludes){let e,c=!0;(0,i.isObject)(a)?(e=Array.isArray(a.path)?a.path:[a.path],c=a.exact):e=[a];for(const i of e){let e;if(i.includes("?")&&(e=(0,r.parsePath)(i)),u=!((0,o.matchPath)(t,{path:e?e.pathname:i,exact:c})&&(!e||s(n,e.search))),!u)break}if(!u)break}return u}(e,t,n)){m.push(String(e.key));const t=e.key.split(".");for(let e=0;e<t.length;e++)p.push(t.slice(0,e+1).join("."))}f+=1})),m.length&&""!==l&&d.push(l),{selectedKeys:m,openedKeys:d,matchedKeys:p}}function s(e,t){const n=new URLSearchParams(e),r=new URLSearchParams(t);for(const[e,t]of r.entries()){var o;if((null!==(o=n.get(e))&&void 0!==o?o:"")!==t)return!1}return!0}},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,i){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var u=this[c][0];null!=u&&(a[u]=!0)}for(var s=0;s<e.length;s++){var l=[].concat(e[s]);r&&a[l[0]]||(void 0!==i&&(void 0===l[5]||(l[1]="@layer".concat(l[5].length>0?" ".concat(l[5]):""," {").concat(l[1],"}")),l[5]=i),n&&(l[2]?(l[1]="@media ".concat(l[2]," {").concat(l[1],"}"),l[2]=n):l[2]=n),o&&(l[4]?(l[1]="@supports (".concat(l[4],") {").concat(l[1],"}"),l[4]=o):l[4]="".concat(o)),t.push(l))}},t}},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},1409:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6758),o=n.n(r),i=n(935),a=n.n(i)()(o());a.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)}.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)}.menu-container .menu-item:hover .menu-item-text{color:var(--color-header-text);font-weight:var(--font-weight-400)}.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 c=a.toString()},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(7545),o=n(6902);function i(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function c(e,t,n,c,u,s){var l,m,d,p,f,h,v,b=Symbol.metadata||Symbol.for("Symbol.metadata"),y=Object.defineProperty,g=Object.create,x=[g(null),g(null)],w=t.length;function k(t,n,r){return function(o,i){n&&(i=o,o=e);for(var a=0;a<t.length;a++)i=t[a].apply(o,r?[i]:[]);return r?i:o}}function A(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function E(e,t,n,o,a,c,u,s,d,p,f){function h(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),b=t[3],g=!u,w=1===a,E=3===a,S=4===a,j=2===a;function P(t,n,r){return function(o,i){return n&&(i=o,o=e),r&&r(o),N[t].call(o,i)}}if(!g){var N={},O=[],T=E?"get":S||w?"set":"value";if(d?(p||w?N={get:i((function(){return b(this)}),o,"get"),set:function(e){t[4](this,e)}}:N[T]=b,p||i(N[T],o,j?"":T)):p||(N=Object.getOwnPropertyDescriptor(e,o)),!p&&!d){if((m=x[+s][o])&&7!=(m^a))throw Error("Decorating two elements with the same name ("+N[T].name+") is not supported yet");x[+s][o]=a<3?1:a}}for(var I=e,K=v.length-1;K>=0;K-=n?2:1){var z=A(v[K],"A decorator","be",!0),B=n?v[K-1]:void 0,L={},C={kind:["field","accessor","method","getter","setter","class"][a],name:o,metadata:l,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");A(t,"An initializer","be",!0),c.push(t)}.bind(null,L)};if(g)m=z.call(B,I,C),L.v=1,A(m,"class decorators","return")&&(I=m);else if(C.static=s,C.private=d,m=C.access={has:d?f.bind():function(e){return o in e}},S||(m.get=d?j?function(e){return h(e),N.value}:P("get",0,h):function(e){return e[o]}),j||E||(m.set=d?P("set",0,h):function(e,t){e[o]=t}),I=z.call(B,w?{get:N.get,set:N.set}:N[T],C),L.v=1,w){if("object"==(0,r.A)(I)&&I)(m=A(I.get,"accessor.get"))&&(N.get=m),(m=A(I.set,"accessor.set"))&&(N.set=m),(m=A(I.init,"accessor.init"))&&O.unshift(m);else if(void 0!==I)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else A(I,(p?"field":"method")+" decorators","return")&&(p?O.unshift(I):N[T]=I)}return a<2&&u.push(k(O,s,1),k(c,s,0)),p||g||(d?w?u.splice(-1,0,P("get",s),P("set",s)):u.push(j?N[T]:A.call.bind(N[T])):y(e,o,N)),I}function S(e){return y(e,b,{configurable:!0,enumerable:!0,value:l})}return void 0!==s&&(l=s[b]),l=g(null==l?null:l),f=[],h=function(e){e&&f.push(k(e))},v=function(t,r){for(var i=0;i<n.length;i++){var c=n[i],s=c[1],l=7&s;if((8&s)==t&&!l==r){var m=c[2],h=!!c[3],v=16&s;E(t?e:e.prototype,c,v,h?"#"+m:(0,a.A)(m),l,l<2?[]:t?p=p||[]:d=d||[],f,!!t,h,r,t&&h?function(t){return(0,o.A)(t)===e}:u)}}},v(8,0),v(0,0),v(8,1),v(0,1),h(d),h(p),m=f,w||S(e),{e:m,get c(){var n=[];return w&&[S(e=E(e,[t],c,e.name,5,n)),k(n,1)]}}}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,i(n)))}return e}function i(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return o.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},7029:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EoSidebarSubMenu:()=>N,EoSidebarSubMenuComponent:()=>I});var r,o=n(918),i=n(6121),a=n(829),c=n(2740),u=n(8769),s=n.n(u),l=n(870),m=n(981),d=n(1921),p=(n(4419),n(63)),f=n(1409),h=n(3373),v=n.n(h);let b,y,g;const x=(0,m.wrapBrick)("eo-icon"),w=(0,m.wrapBrick)("eo-menu"),k=(0,m.wrapBrick)("eo-menu-group"),A=(0,m.wrapBrick)("eo-menu-item-sub-menu"),E=(0,m.wrapBrick)("eo-menu-item"),S=(0,m.wrapBrick)("eo-link"),{defineElement:j,property:P}=(0,l.createDecorators)();let N;var O=new WeakMap;class T extends m.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,O,y(this)),g(this)}get menu(){return(0,a.A)(O,this)}set menu(e){(0,i.A)(O,this,e)}render(){return s().createElement(I,{menu:this.menu})}}function I(e){const{menu:t}=e,n=(0,d.getHistory)(),[r,o]=(0,u.useState)(n.location),{pathname:i,search:a}=r,[c,l]=(0,u.useState)([]),[m,f]=(0,u.useState)([]),h=(0,u.useCallback)((()=>{var e;const{selectedKeys:n,openedKeys:r}=(0,p.LP)(null!==(e=null==t?void 0:t.menuItems)&&void 0!==e?e:[],i,a,"");l(n),f(r)}),[null==t?void 0:t.menuItems,i,a]);(0,u.useEffect)((()=>{const e=n.listen((e=>{o(e)}));return h(),e}),[n,h]);const b=(0,u.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 y(e,t){return(0,p.Wf)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return s().createElement(A,{className:"menu-sub-item",icon:e.icon,titleStyle:{paddingLeft:b(e)},bodyStyle:{paddingLeft:b(e)/2},collapsed:!m.includes(e.key)},s().createElement("span",{slot:"title"},e.title),e.items.map((e=>s().createElement(s().Fragment,{key:e.key},y(e,{inSubmenu:!0})))))})(e):(0,p.IZ)(e)?(e=>{var t;if((null===(t=e.items)||void 0===t?void 0:t.length)>0)return s().createElement(k,null,s().createElement("span",{slot:"title"},e.title),e.items.map((e=>s().createElement(s().Fragment,{key:e.key},y(e)))))})(e):((e,t)=>s().createElement(E,{className:v()("menu-item",{"in-submenu":null==t?void 0:t.inSubmenu}),style:{paddingLeft:b(e)||16},icon:e.icon,active:!!e.key&&c.includes(e.key)},s().createElement(S,{className:"menu-item-link",type:"plain",url:e.to,href:e.href,title:e.text,target:e.target},s().createElement("span",{className:v()("menu-item-text",{"item-has-icon":e.icon})},e.text))))(e,t)}return s().createElement(w,{className:"menu-container",mode:"vertical"},(null==t?void 0:t.title)&&s().createElement("div",{className:"header"},(null==t?void 0:t.icon)&&s().createElement(x,null==t?void 0:t.icon),s().createElement("span",{className:"title"},null==t?void 0:t.title)),s().createElement("div",{className:"content"},null==t?void 0:t.menuItems.map((e=>s().createElement(s().Fragment,{key:e.key},y(e))))))}r=T,({e:[y,g],c:[N,b]}=(0,c.A)(r,[j("eo-sidebar-sub-menu",{styleTexts:[f.A]})],[[P({attribute:!1}),1,"menu"]],0,void 0,m.ReactNextElement)),b()},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})}}]);
3
- //# sourceMappingURL=eo-sidebar-sub-menu.70c71ea9.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see eo-sidebar.ad2491ee.js.LICENSE.txt */
2
- (globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1369,2052,5532],{63:(e,t,n)=>{"use strict";n.d(t,{IZ:()=>o,LP:()=>c,Wf:()=>s});var r=n(1732),i=n(1921),a=n(1030);function o(e){return"group"===e.type}function s(e,t){return Boolean("subMenu"===e.type||t&&"group"===e.type)}function c(e,t,n,d){const u=[],p=[],h=[];let f=0;return e&&e.forEach((e=>{if(e.key=""===d?`${f}`:`${d}.${f}`,o(e)||s(e)){const r=c(e.items,t,n,e.key);u.push(...r.selectedKeys),(r.selectedKeys.length||e.defaultExpanded)&&p.push(e.key),p.push(...r.openedKeys),h.push(...r.matchedKeys)}else if(function(e,t,n){if(!e.to)return!1;const o="object"==typeof e.to?e.to:(0,r.parsePath)(e.to),s=o.pathname.replace(/([.+*?=^!:${}()[\]|/\\])/g,"\\$1");let c=!!(0,i.matchPath)(t,{path:s,exact:e.exact});if(c&&e.activeMatchSearch&&(c=l(n,o.search)),!c&&Array.isArray(e.activeIncludes))for(const o of e.activeIncludes){let e,s=!0;(0,a.isObject)(o)?(e=Array.isArray(o.path)?o.path:[o.path],s=o.exact):e=[o];for(const a of e){var d;let e;const o=a.includes("?");if(o&&(e=(0,r.parsePath)(a)),c=!!(0,i.matchPath)(t,{path:o?e.pathname:a,exact:s}),c&&null!==(d=e)&&void 0!==d&&d.search&&(c=l(n,e.search)),c)break}if(c)break}if(c&&Array.isArray(e.activeExcludes))for(const o of e.activeExcludes){let e,s=!0;(0,a.isObject)(o)?(e=Array.isArray(o.path)?o.path:[o.path],s=o.exact):e=[o];for(const a of e){let e;if(a.includes("?")&&(e=(0,r.parsePath)(a)),c=!((0,i.matchPath)(t,{path:e?e.pathname:a,exact:s})&&(!e||l(n,e.search))),!c)break}if(!c)break}return c}(e,t,n)){u.push(String(e.key));const t=e.key.split(".");for(let e=0;e<t.length;e++)h.push(t.slice(0,e+1).join("."))}f+=1})),u.length&&""!==d&&p.push(d),{selectedKeys:u,openedKeys:p,matchedKeys:h}}function l(e,t){const n=new URLSearchParams(e),r=new URLSearchParams(t);for(const[e,t]of r.entries()){var i;if((null!==(i=n.get(e))&&void 0!==i?i:"")!==t)return!1}return!0}},829:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2016);function i(e,t,n){(0,r.A)(e,t),t.set(e,n)}},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,a){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(o[c]=!0)}for(var l=0;l<e.length;l++){var d=[].concat(e[l]);r&&o[d[0]]||(void 0!==a&&(void 0===d[5]||(d[1]="@layer".concat(d[5].length>0?" ".concat(d[5]):""," {").concat(d[1],"}")),d[5]=a),n&&(d[2]?(d[1]="@media ".concat(d[2]," {").concat(d[1],"}"),d[2]=n):d[2]=n),i&&(d[4]?(d[1]="@supports (".concat(d[4],") {").concat(d[1],"}"),d[4]=i):d[4]="".concat(i)),t.push(d))}},t}},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(7545),i=n(6902);function a(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var o=n(1369);function s(e,t,n,s,c,l){var d,u,p,h,f,m,v,g=Symbol.metadata||Symbol.for("Symbol.metadata"),b=Object.defineProperty,y=Object.create,x=[y(null),y(null)],A=t.length;function E(t,n,r){return function(i,a){n&&(a=i,i=e);for(var o=0;o<t.length;o++)a=t[o].apply(i,r?[a]:[]);return r?a:i}}function I(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function w(e,t,n,i,o,s,c,l,p,h,f){function m(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var v=[].concat(t[0]),g=t[3],y=!c,A=1===o,w=3===o,N=4===o,S=2===o;function k(t,n,r){return function(i,a){return n&&(a=i,i=e),r&&r(i),O[t].call(i,a)}}if(!y){var O={},z=[],C=w?"get":N||A?"set":"value";if(p?(h||A?O={get:a((function(){return g(this)}),i,"get"),set:function(e){t[4](this,e)}}:O[C]=g,h||a(O[C],i,S?"":C)):h||(O=Object.getOwnPropertyDescriptor(e,i)),!h&&!p){if((u=x[+l][i])&&7!=(u^o))throw Error("Decorating two elements with the same name ("+O[C].name+") is not supported yet");x[+l][i]=o<3?1:o}}for(var K=e,_=v.length-1;_>=0;_-=n?2:1){var D=I(v[_],"A decorator","be",!0),T=n?v[_-1]:void 0,P={},V={kind:["field","accessor","method","getter","setter","class"][o],name:i,metadata:d,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");I(t,"An initializer","be",!0),s.push(t)}.bind(null,P)};if(y)u=D.call(T,K,V),P.v=1,I(u,"class decorators","return")&&(K=u);else if(V.static=l,V.private=p,u=V.access={has:p?f.bind():function(e){return i in e}},N||(u.get=p?S?function(e){return m(e),O.value}:k("get",0,m):function(e){return e[i]}),S||w||(u.set=p?k("set",0,m):function(e,t){e[i]=t}),K=D.call(T,A?{get:O.get,set:O.set}:O[C],V),P.v=1,A){if("object"==(0,r.A)(K)&&K)(u=I(K.get,"accessor.get"))&&(O.get=u),(u=I(K.set,"accessor.set"))&&(O.set=u),(u=I(K.init,"accessor.init"))&&z.unshift(u);else if(void 0!==K)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else I(K,(h?"field":"method")+" decorators","return")&&(h?z.unshift(K):O[C]=K)}return o<2&&c.push(E(z,l,1),E(s,l,0)),h||y||(p?A?c.splice(-1,0,k("get",l),k("set",l)):c.push(S?O[C]:I.call.bind(O[C])):b(e,i,O)),K}function N(e){return b(e,g,{configurable:!0,enumerable:!0,value:d})}return void 0!==l&&(d=l[g]),d=y(null==d?null:d),f=[],m=function(e){e&&f.push(E(e))},v=function(t,r){for(var a=0;a<n.length;a++){var s=n[a],l=s[1],d=7&l;if((8&l)==t&&!d==r){var u=s[2],m=!!s[3],v=16&l;w(t?e:e.prototype,s,v,m?"#"+u:(0,o.A)(u),d,d<2?[]:t?h=h||[]:p=p||[],f,!!t,m,r,t&&m?function(t){return(0,i.A)(t)===e}:c)}}},v(8,0),v(0,0),v(8,1),v(0,1),m(p),m(h),u=f,A||N(e),{e:u,get c(){var n=[];return A&&[N(e=w(e,[t],s,e.name,5,n)),E(n,1)]}}}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=o(t,n));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},3694:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6758),i=n.n(r),a=n(935),o=n.n(a)()(i());o.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 s=o.toString()},3742:(e,t,n)=>{"use strict";n.d(t,{Bb:()=>p,VI:()=>m,Wb:()=>u,i2:()=>v,k_:()=>h,mK:()=>d,wZ:()=>S,zD:()=>f});var r=n(9575),i=n(8769),a=n.n(i),o=n(1921),s=n(981);const c=new Set(["EO-SIDEBAR-MENU-ITEM","EO-SIDEBAR-MENU-GROUP","EO-SIDEBAR-MENU-SUBMENU"]),l=e=>c.has(e.tagName);function d(e){const t=(0,i.useRef)(null),n=(0,i.useCallback)((()=>{var n;null===(n=t.current)||void 0===n||n.assignedElements().forEach((t=>{l(t)&&(t.menuCollapsed=e)}))}),[e]);return(0,i.useEffect)((()=>{n()}),[e,n]),(0,i.useEffect)((()=>{const e=t.current,r=()=>{n()};return null==e||e.addEventListener("slotchange",r),()=>{null==e||e.removeEventListener("slotchange",r)}}),[n]),[t]}const u="side-bar-has-been-used",p="side-bar-expand-state",h="side-bar-resize-width";let f=function(e){return e.Collapsed="collapsed",e.Hovered="hovered",e.Expanded="expanded",e}({});const m=parseInt((0,o.getCssPropertyValue)("--side-bar-width",document.body),10)||220,v=parseInt((0,o.getCssPropertyValue)("--side-bar-collapsed-width",document.body),10)||60,g=(0,i.createContext)({selectedKeys:[],openedKeys:[],matchedKeys:[]}),b=(0,s.wrapBrick)("eo-sidebar-menu"),y=(0,s.wrapBrick)("eo-sidebar-menu-item"),x=(0,s.wrapBrick)("eo-sidebar-menu-group"),A=(0,s.wrapBrick)("eo-sidebar-menu-submenu");function E(e){const{to:t,href:n,target:r,icon:o,text:s,id:c,inSubmenu:l}=e,{selectedKeys:d}=(0,i.useContext)(g);return a().createElement(y,{url:t,href:n,target:r,icon:o,inSubmenu:l,selected:d.includes(c)},s)}function I(e){const{title:t,items:n,id:o,top:s,inSubmenu:c}=e,{matchedKeys:l}=(0,i.useContext)(g),d=o&&l.includes(o);return(null==n?void 0:n.length)>0?a().createElement(x,{selected:!!d,collapsable:!s},a().createElement("span",{slot:"title"},t),e.items.map((e=>a().createElement(N,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:c}))))):null}function w(e){const{title:t,icon:n,items:o,id:s}=e,{openedKeys:c,matchedKeys:l}=(0,i.useContext)(g),d=s&&l.includes(s);return(null==o?void 0:o.length)>0?a().createElement(A,{icon:n,collapsed:!c.includes(s),selected:!!d},a().createElement("span",{slot:"title"},t),e.items.map((e=>a().createElement(N,(0,r.A)({key:e.key},e,{id:e.key,top:!1,inSubmenu:!0}))))):null}function N(e){return"subMenu"===e.type?a().createElement(w,e):"group"===e.type?a().createElement(I,e):a().createElement(E,e)}function S(e){var t;const{menu:n,expandedState:i,selectedKeys:o,openedKeys:s,matchedKeys:c}=e;return a().createElement(g.Provider,{value:{selectedKeys:o||[],openedKeys:s||[],matchedKeys:c||[]}},a().createElement(b,{menuCollapsed:i===f.Collapsed},null==n||null===(t=n.menuItems)||void 0===t?void 0:t.map((e=>a().createElement(N,(0,r.A)({key:e.key},e,{id:e.key,top:!0}))))))}},3995:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9575),i=n(8769);const a=e=>i.createElement("svg",(0,r.A)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20"},e),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M0 0h20v20H0z"}),i.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"})))},4060:(e,t,n)=>{"use strict";n.d(t,{I:()=>a,K:()=>r,NS:()=>i});let r=function(e){return e.CLICK_TO_FIX_NAVIGATION="CLICK_TO_FIX_NAVIGATION",e.UNPIN_NAVIGATION="UNPIN_NAVIGATION",e.FIXED_NAVIGATION="FIXED_NAVIGATION",e}({});const i="bricks/nav/eo-sidebar",a={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}}"}}},4635:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2016);function i(e,t){(0,r.A)(e,t),t.add(e)}},4730:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(9575),i=n(8769);const a=e=>i.createElement("svg",(0,r.A)({xmlns:"http://www.w3.org/2000/svg",width:20,height:20,viewBox:"0 0 20 20"},e),i.createElement("g",{fill:"none",fillRule:"evenodd"},i.createElement("path",{d:"M0 0h20v20H0z"}),i.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"})))},5042:(e,t,n)=>{"use strict";n.r(t),n.d(t,{EoSidebar:()=>J,EoSidebarComponent:()=>ce});var r,i=n(9575),a=n(4635),o=n(918),s=n(6902),c=n(5536),l=n(6121),d=n(829),u=n(2740),p=n(8769),h=n.n(p),f=n(870),m=n(981),v=(n(4419),n(3694)),g=n(4730),b=n(3995),y=n(8013),x=n(7137),A=n(3742),E=n(8002),I=n(4060),w=n(3373),N=n.n(w),S=n(63),k=n(1921),O=n(9711);let z,C,K,_,D,T,P,V,j,F,G,M,L,B,R,W,U;(0,E.initializeReactI18n)(I.NS,I.I);const{defineElement:X,property:H,event:$}=(0,f.createDecorators)(),q=(0,m.wrapBrick)("eo-tooltip"),Z=(0,m.wrapBrick)("eo-icon");let J;var Q=new WeakMap,Y=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=new WeakSet,ie=new WeakMap,ae=new WeakMap,oe=new WeakMap;class se extends m.ReactNextElement{constructor(){super(...arguments),(0,a.A)(this,re),(0,o.A)(this,Q,C(this)),(0,o.A)(this,Y,(K(this),_(this))),(0,o.A)(this,ee,(D(this),T(this))),(0,o.A)(this,te,(P(this),V(this))),(0,o.A)(this,ne,(j(this),F(this))),(0,o.A)(this,ie,(L(this),e=>{(0,c.A)(re,this,G).emit(e)})),(0,o.A)(this,ae,B(this)),(0,o.A)(this,oe,(U(this),e=>{this.expandedState=e,(0,c.A)(re,this,R).emit(e)}))}get menu(){return(0,d.A)(Q,this)}set menu(e){(0,l.A)(Q,this,e)}get hiddenFixedIcon(){return(0,d.A)(Y,this)}set hiddenFixedIcon(e){(0,l.A)(Y,this,e)}get expandedState(){return(0,d.A)(ee,this)}set expandedState(e){(0,l.A)(ee,this,e)}get position(){return(0,d.A)(te,this)}set position(e){(0,l.A)(te,this,e)}render(){return h().createElement(ce,{menu:this.menu,expandedState:this.expandedState,hiddenFixedIcon:this.hiddenFixedIcon,position:this.position,onActualWidthChange:(0,d.A)(ie,this),onExpandedStateChange:(0,d.A)(oe,this)})}}function ce(e){const{t}=(0,E.useTranslation)(I.NS),{menu:n,hiddenFixedIcon:r,position:a,onActualWidthChange:o,onExpandedStateChange:s}=e,c=h().useMemo((()=>{var e;return null===(e=(0,k.getRuntime)())||void 0===e?void 0:e.getFeatureFlags()["sidebar-show-user-defined-icon"]}),[]),l=(0,p.useMemo)((()=>new x.G(localStorage)),[]),d=(0,k.getHistory)(),u=(0,O.useCurrentApp)(),[f,m]=(0,p.useState)(d.location),{pathname:v,search:w}=f,[z,C]=(0,p.useState)(!l.getItem(A.Wb)),[K,_]=(0,p.useState)(),[D,T]=(0,p.useState)(),[P,V]=(0,p.useState)(e.expandedState||l.getItem(A.Bb)||A.zD.Collapsed),j=c?null==n?void 0:n.icon:null==u?void 0:u.menuIcon,{selectedKeys:F,openedKeys:G,matchedKeys:M}=(0,p.useMemo)((()=>{var e;return(0,S.LP)(null!==(e=null==n?void 0:n.menuItems)&&void 0!==e?e:[],v,w,"")}),[null==n?void 0:n.menuItems,v,w]);(0,p.useEffect)((()=>{const e=d.listen((e=>{m(e)}));return e}),[d]);const L=(0,p.useRef)(null);(0,p.useEffect)((()=>{if(L.current){const e=new IntersectionObserver((e=>{e.forEach((e=>{e.target===L.current&&_(!e.isIntersecting)}))}),{threshold:1});return e.observe(L.current),()=>{e.disconnect()}}}),[]),(0,p.useEffect)((()=>{V(e.expandedState||l.getItem(A.Bb)||A.zD.Collapsed)}),[e.expandedState]),(0,p.useEffect)((()=>{l.setItem(A.Bb,P===A.zD.Expanded?A.zD.Expanded:A.zD.Collapsed)}),[P]);const[B,R]=(0,p.useState)((()=>{let e=parseInt(l.getItem(A.k_),10);return(e<A.VI||Number.isNaN(e))&&(e=A.VI),e}));(0,p.useEffect)((()=>{l.setItem(A.k_,B)}),[B]);const W=(0,p.useRef)(null),U=()=>{V((e=>{const t=e===A.zD.Expanded?A.zD.Expanded:A.zD.Hovered;return t!==e&&(null==s||s(t)),t}))},X=()=>{V((e=>{const t=e===A.zD.Expanded?A.zD.Expanded:A.zD.Collapsed;return t!==e&&(null==s||s(t)),t}))},H=(0,p.useMemo)((()=>P===A.zD.Expanded?B:A.i2),[P,B]);(0,p.useEffect)((()=>{null==o||o(H)}),[o,H]);const $=e=>"static"===a?P===A.zD.Expanded||e&&P===A.zD.Hovered?B:A.i2:P===A.zD.Collapsed?A.i2:B;return(0,p.useEffect)((()=>{const e=W.current;return null==e||e.addEventListener("mouseenter",U),null==e||e.addEventListener("mouseleave",X),()=>{null==e||e.removeEventListener("mouseenter",U),null==e||e.removeEventListener("mouseleave",X)}}),[]),h().createElement("div",{className:N()("sidebar-container",`state-${P}`,{dragging:D}),style:{width:$()},ref:W,"data-testid":"side-bar"},h().createElement("div",{className:"inner",style:{width:$(!0)}},h().createElement("div",{className:"header"},h().createElement("div",{className:"menu-title"},h().createElement("div",{className:N()("menu-title-icon-container")},j?h().createElement(Z,(0,i.A)({},j,{className:"menu-title-icon"})):h().createElement("span",{className:"menu-title-point"})),h().createElement("div",{className:"menu-title-text",title:null==n?void 0:n.title},null==n?void 0:n.title))),h().createElement("div",{className:N()("content",{"show-shadow":K})},h().createElement(A.wZ,{selectedKeys:F,openedKeys:G,matchedKeys:M,menu:n,expandedState:P}),h().createElement("div",{ref:L})),h().createElement("div",{className:"footer"},!r&&h().createElement(q,{content:P===A.zD.Expanded?z?t(I.K.CLICK_TO_FIX_NAVIGATION,{action:t(I.K.UNPIN_NAVIGATION)}):t(I.K.UNPIN_NAVIGATION):z?t(I.K.CLICK_TO_FIX_NAVIGATION,{action:t(I.K.FIXED_NAVIGATION)}):t(I.K.FIXED_NAVIGATION)},h().createElement("i",{className:"fixed-icon",onClick:()=>{C(!1),l.setItem(A.Wb,!0),V((e=>{const t=e===A.zD.Expanded?A.zD.Collapsed:A.zD.Expanded;return t!==e&&(null==s||s(t)),t}))}},h().createElement(g.A,{style:{display:P===A.zD.Expanded?void 0:"none"}}),h().createElement(b.A,{style:{display:P===A.zD.Expanded?"none":void 0}})))),P===A.zD.Expanded&&h().createElement("span",{className:"resize-line",onMouseDown:e=>{var t,n;T(!0),e.cancelable&&e.preventDefault();const r=null!==(t=null===(n=W.current)||void 0===n?void 0:n.getBoundingClientRect().left)&&void 0!==t?t:0,i=(0,y.G)((e=>{const t=e.clientX-r,n=t>=A.VI?t:A.VI;R(n)})),a=e=>{T(!1),e.preventDefault(),window.removeEventListener("mousemove",i),window.removeEventListener("mouseup",a)};window.addEventListener("mousemove",i,{passive:!0}),window.addEventListener("mouseup",a)}})))}r=se,({e:[C,K,_,D,T,P,V,j,F,G,M,L,B,R,W,U],c:[J,z]}=(0,u.A)(r,[X("eo-sidebar",{styleTexts:[v.A]})],[[H({attribute:!1}),1,"menu"],[H({type:Boolean}),1,"hiddenFixedIcon"],[H(),1,"expandedState"],[H(),1,"position"],[$({type:"actual.width.change"}),1,"actualWidthChangeEvent",e=>(0,d.A)(ne,e),(e,t)=>(0,l.A)(ne,e,t)],[$({type:"expanded.state.change"}),1,"expandedStateChangeEvent",e=>(0,d.A)(ae,e),(e,t)=>(0,l.A)(ae,e,t)]],0,(e=>oe.has((0,s.A)(e))),m.ReactNextElement)),z()},5536:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return n((0,r.A)(e,t))}},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(2559);function i(e,t,n){return e.set((0,r.A)(e,t),n),n}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},7137:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});class r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=t}setItem(e,t){this.storage.setItem(this.prefix+e,JSON.stringify(t))}getItem(e){return JSON.parse(this.storage.getItem(this.prefix+e))}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},8013:(e,t,n)=>{"use strict";function r(e){let t;const n=()=>cancelAnimationFrame(t),r=function(){for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];t&&n(),t=requestAnimationFrame((()=>{e(...i)}))};return r.cancel=n,r}n.d(t,{G:()=>r})},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})}}]);
3
- //# sourceMappingURL=eo-sidebar.ad2491ee.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see launchpad-config.bd938fce.js.LICENSE.txt */
2
- (globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1369,2052,4344],{829:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2559);function l(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2016);function l(e,t,n){(0,r.A)(e,t),t.set(e,n)}},935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,l,o){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var a=0;a<this.length;a++){var c=this[a][0];null!=c&&(i[c]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&i[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),l&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=l):u[4]="".concat(l)),t.push(u))}},t}},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(7545);function l(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},2016:(e,t,n)=>{"use strict";function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},2559:(e,t,n)=>{"use strict";function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(7545),l=n(6902);function o(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var i=n(1369);function a(e,t,n,a,c,s){var u,m,p,d,f,b,h,g=Symbol.metadata||Symbol.for("Symbol.metadata"),v=Object.defineProperty,k=Object.create,y=[k(null),k(null)],A=t.length;function w(t,n,r){return function(l,o){n&&(o=l,l=e);for(var i=0;i<t.length;i++)o=t[i].apply(l,r?[o]:[]);return r?o:l}}function x(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function E(e,t,n,l,i,a,c,s,p,d,f){function b(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var h=[].concat(t[0]),g=t[3],k=!c,A=1===i,E=3===i,T=4===i,C=2===i;function B(t,n,r){return function(l,o){return n&&(o=l,l=e),r&&r(l),U[t].call(l,o)}}if(!k){var U={},j=[],M=E?"get":T||A?"set":"value";if(p?(d||A?U={get:o((function(){return g(this)}),l,"get"),set:function(e){t[4](this,e)}}:U[M]=g,d||o(U[M],l,C?"":M)):d||(U=Object.getOwnPropertyDescriptor(e,l)),!d&&!p){if((m=y[+s][l])&&7!=(m^i))throw Error("Decorating two elements with the same name ("+U[M].name+") is not supported yet");y[+s][l]=i<3?1:i}}for(var S=e,I=h.length-1;I>=0;I-=n?2:1){var N=x(h[I],"A decorator","be",!0),_=n?h[I-1]:void 0,O={},W={kind:["field","accessor","method","getter","setter","class"][i],name:l,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");x(t,"An initializer","be",!0),a.push(t)}.bind(null,O)};if(k)m=N.call(_,S,W),O.v=1,x(m,"class decorators","return")&&(S=m);else if(W.static=s,W.private=p,m=W.access={has:p?f.bind():function(e){return l in e}},T||(m.get=p?C?function(e){return b(e),U.value}:B("get",0,b):function(e){return e[l]}),C||E||(m.set=p?B("set",0,b):function(e,t){e[l]=t}),S=N.call(_,A?{get:U.get,set:U.set}:U[M],W),O.v=1,A){if("object"==(0,r.A)(S)&&S)(m=x(S.get,"accessor.get"))&&(U.get=m),(m=x(S.set,"accessor.set"))&&(U.set=m),(m=x(S.init,"accessor.init"))&&j.unshift(m);else if(void 0!==S)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else x(S,(d?"field":"method")+" decorators","return")&&(d?j.unshift(S):U[M]=S)}return i<2&&c.push(w(j,s,1),w(a,s,0)),d||k||(p?A?c.splice(-1,0,B("get",s),B("set",s)):c.push(C?U[M]:x.call.bind(U[M])):v(e,l,U)),S}function T(e){return v(e,g,{configurable:!0,enumerable:!0,value:u})}return void 0!==s&&(u=s[g]),u=k(null==u?null:u),f=[],b=function(e){e&&f.push(w(e))},h=function(t,r){for(var o=0;o<n.length;o++){var a=n[o],s=a[1],u=7&s;if((8&s)==t&&!u==r){var m=a[2],b=!!a[3],h=16&s;E(t?e:e.prototype,a,h,b?"#"+m:(0,i.A)(m),u,u<2?[]:t?d=d||[]:p=p||[],f,!!t,b,r,t&&b?function(t){return(0,l.A)(t)===e}:c)}}},h(8,0),h(0,0),h(8,1),h(0,1),b(p),b(d),m=f,A||T(e),{e:m,get c(){var n=[];return A&&[T(e=E(e,[t],a,e.name,5,n)),w(n,1)]}}}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function l(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=i(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return l.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=i(t,n));return t}function i(e,t){return t?e?e+" "+t:e+t:e}e.exports?(l.default=l,e.exports=l):void 0===(n=function(){return l}.apply(t,[]))||(e.exports=n)}()},3417:(e,t,n)=>{"use strict";n.d(t,{Bj:()=>o,EM:()=>i,qb:()=>a});var r=n(981),l=n(9936);const o=(0,r.wrapBrick)("eo-icon"),i=(0,r.wrapBrick)("eo-link"),a=(0,r.wrapBrick)("eo-dropdown-actions",{onActionClick:"action.click",onVisibleChange:"visible.change"});(0,l.unwrapProvider)("basic.show-dialog")},4081:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(6758),l=n.n(r),o=n(935),i=n.n(o)()(l());i.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-group.blocked .menu-group-label,\n.menu-item.blocked > .menu-folder-label-wrapper .menu-item-label,\n.menu-item.blocked > .menu-folder-label-wrapper .menu-icon,\n.menu-item.blocked > .menu-folder-label-wrapper .menu-item-toggle,\n.menu-item.disabled > eo-link::part(link),\n.menu-item.disabled .menu-icon{color:var(--color-disabled-text)}.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):not(.disabled):hover .menu-config,\n.menu-item:not(.folder):not(.blocked):hover .menu-config,\n.menu-folder-label-wrapper:hover .menu-config{visibility:visible;width:24px}.menu-config:hover,\n.menu-item:not(.disabled) > eo-link:hover::part(link),\n.menu-item:not(.disabled) > 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 a=i.toString()},4635:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2016);function l(e,t){(0,r.A)(e,t),t.add(e)}},4806:(e,t,n)=>{"use strict";n.d(t,{y:()=>l});var r=n(8443);function l(e,t){var n;if(!e)return t;const l=Object.fromEntries(Object.entries(e).filter((e=>{let[t,n]=e;return n.name})).map((e=>{let[t,n]=e;return[t,n.name]})));return null!==(n=(0,r.i18nText)(l))&&void 0!==n?n:t}},5536:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2559);function l(e,t,n){return n((0,r.A)(e,t))}},5669:(e,t,n)=>{"use strict";n.r(t),n.d(t,{LaunchpadConfig:()=>L,LaunchpadConfigComponent:()=>ne});var r,l=n(4635),o=n(918),i=n(6902),a=n(5536),c=n(6121),s=n(829),u=n(2740),m=n(8769),p=n.n(m),d=n(870),f=n(981),b=n(5507),h=(n(4419),n(9231)),g=n(4081);let v,k,y,A,w,x,E,T,C,B,U,j,M,S,I,N,_,O,W,P,z;const{defineElement:D,property:G,event:R}=(0,d.createDecorators)(),q="/next/";let L;var V=new WeakMap,$=new WeakMap,H=new WeakMap,F=new WeakMap,J=new WeakMap,K=new WeakMap,Q=new WeakMap,X=new WeakSet,Y=new WeakMap,Z=new WeakMap,ee=new WeakMap;class te extends f.ReactNextElement{constructor(){super(...arguments),(0,l.A)(this,X),(0,o.A)(this,V,k(this)),(0,o.A)(this,$,(y(this),A(this))),(0,o.A)(this,H,(w(this),x(this))),(0,o.A)(this,F,(E(this),T(this))),(0,o.A)(this,J,(C(this),B(this))),(0,o.A)(this,K,(U(this),j(this))),(0,o.A)(this,Q,(M(this),S(this))),(0,o.A)(this,Y,(_(this),O(this))),(0,o.A)(this,Z,(z(this),e=>{(0,a.A)(X,this,I).emit(e)})),(0,o.A)(this,ee,(e=>{(0,a.A)(X,this,W).emit(e)}))}get menuGroups(){return(0,s.A)(V,this)}set menuGroups(e){(0,c.A)(V,this,e)}get actions(){return(0,s.A)($,this)}set actions(e){(0,c.A)($,this,e)}get variant(){return(0,s.A)(H,this)}set variant(e){(0,c.A)(H,this,e)}get urlTemplate(){return(0,s.A)(F,this)}set urlTemplate(e){(0,c.A)(F,this,e)}get customUrlTemplate(){return(0,s.A)(J,this)}set customUrlTemplate(e){(0,c.A)(J,this,e)}get blacklist(){return(0,s.A)(K,this)}set blacklist(e){(0,c.A)(K,this,e)}render(){var e;return p().createElement(ne,{menuGroups:this.menuGroups,actions:this.actions,variant:null!==(e=this.variant)&&void 0!==e?e:"launchpad-config",urlTemplate:this.urlTemplate,customUrlTemplate:this.customUrlTemplate,blacklist:this.blacklist,onMenuItemClick:(0,s.A)(Z,this),onActionClick:(0,s.A)(ee,this)})}}function ne(e){let{menuGroups:t,actions:n,variant:r,urlTemplate:l,customUrlTemplate:o,blacklist:i,onMenuItemClick:a,onActionClick:c}=e;const s=(0,m.useMemo)((()=>{return"blacklist-config"===r?null==t?void 0:t.map((e=>{const t=e.items.map((e=>le(e,i))),n=t.some((e=>e.blockable)),r=n&&t.some((e=>e.hasBlocked)),l=n&&t.some((e=>e.hasUnblocked)),o=t.length>0&&t.every((e=>e.allBlocked)),a=t.flatMap((e=>{var t,n;return e.blockable?null!==(t=null!==(n=e.blockableUrls)&&void 0!==n?n:e.blockableUrl)&&void 0!==t?t:e.url:[]}));return{...e,type:"group",items:t,blockable:n,hasBlocked:r,hasUnblocked:l,allBlocked:o,blockableUrls:a}})):"launchpad-config"===r?null===(e=function(e){return null==e?void 0:e.map((e=>{const t=e.items.map((e=>re(e))).filter(Boolean);return{...e,items:t}})).filter(Boolean)}(t))||void 0===e?void 0:e.filter(Boolean):t;var e}),[r,t,i]);return p().createElement("ul",{className:"menu-groups"},null==s?void 0:s.map((e=>p().createElement(h.r,{key:e.instanceId,data:e,actions:n,variant:r,urlTemplate:l,customUrlTemplate:o,onMenuItemClick:a,onActionClick:c}))))}function re(e){if("dir"===e.type){const t=e.items.map((e=>re(e))).filter(Boolean);return{...e,items:t}}return"app"===e.type?e.url&&b.auth.isBlockedPath(e.url)?null:e:e.url&&b.auth.isBlockedHref(e.url)?null:e}function le(e,t){if("dir"===e.type){const n=e.items.map((e=>le(e,t))),r=n.some((e=>e.blockable)),l=n.some((e=>e.hasBlocked)),o=r&&n.some((e=>e.hasUnblocked)),i=n.length>0&&n.every((e=>e.allBlocked)),a=n.flatMap((e=>{var t,n;return e.blockable?null!==(t=null!==(n=e.blockableUrls)&&void 0!==n?n:e.blockableUrl)&&void 0!==t?t:e.url:[]}));return{...e,items:n,blockable:r,hasBlocked:l,hasUnblocked:o,allBlocked:i,blockableUrls:a}}if("app"===e.type){const n=!!e.url,r=n&&(null==t?void 0:t.includes(e.url)),l=n&&!r;return{...e,blockable:n,hasBlocked:r,hasUnblocked:l,allBlocked:r}}const{blockable:n,blockableUrl:r}=function(e){let t,n=!(null==e||!e.startsWith(q));if(n){const r=new URL(e,location.origin);r.origin===location.origin&&r.pathname.startsWith(q)?t=r.pathname.substring(q.length-1):(n=!1,t=void 0)}return{blockable:n,blockableUrl:t}}(e.url),l=n&&(null==t?void 0:t.includes(r)),o=n&&!l;return{...e,blockable:n,hasBlocked:l,hasUnblocked:o,allBlocked:l,blockableUrl:r}}r=te,({e:[k,y,A,w,x,E,T,C,B,U,j,M,S,I,N,_,O,W,P,z],c:[L,v]}=(0,u.A)(r,[D("nav.launchpad-config",{styleTexts:[g.A]})],[[G({attribute:!1}),1,"menuGroups"],[G({attribute:!1}),1,"actions"],[G(),1,"variant"],[G(),1,"urlTemplate"],[G(),1,"customUrlTemplate"],[G({attribute:!1}),1,"blacklist"],[R({type:"menu-item.click"}),1,"menuItemClickEvent",e=>(0,s.A)(Q,e),(e,t)=>(0,c.A)(Q,e,t)],[R({type:"action.click"}),1,"actionClickEvent",e=>(0,s.A)(Y,e),(e,t)=>(0,c.A)(Y,e,t)]],0,(e=>ee.has((0,i.A)(e))),f.ReactNextElement)),v()},6121:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(2559);function l(e,t,n){return e.set((0,r.A)(e,t),n),n}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(7545);function l(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},9231:(e,t,n)=>{"use strict";n.d(t,{r:()=>p});var r=n(9575),l=n(8769),o=n.n(l),i=n(1030),a=n(3373),c=n.n(a),s=n(1921),u=n(3417),m=n(4806);function p(e){var t;let{data:n,actions:r,variant:i,urlTemplate:a,customUrlTemplate:p,onMenuItemClick:b,onActionClick:h}=e;null!==(t=n.type)&&void 0!==t||(n.type="group");const{name:g,locales:v,items:k}=n,[y,A]=(0,l.useState)(!1),w=(0,l.useMemo)((()=>s.__secret_internals.legacyDoTransform(n,null==r?void 0:r.filter((e=>(0,s.checkIfByTransform)(e,n))))),[r,n]),x=(0,l.useCallback)((e=>{null==h||h({data:n,action:e.detail})}),[n,h]);return o().createElement("li",{className:c()("menu-group",{empty:0===k.length,blocked:n.allBlocked})},o().createElement("div",{className:"menu-group-label-wrapper"},o().createElement("span",{className:"menu-group-label"},(0,m.y)(v,g)),"menu-config"!==i&&!(null==w||!w.length)&&o().createElement(u.qb,{actions:w,onVisibleChange:e=>{A(e.detail)},onActionClick:x},o().createElement(u.Bj,{lib:"fa",icon:"gear",className:c()("menu-config",{active:y})}))),o().createElement("ul",{className:"menu"},k.map((e=>"dir"===e.type?o().createElement(f,{key:e.instanceId,data:e,actions:r,variant:i,urlTemplate:a,customUrlTemplate:p,onMenuItemClick:b,onActionClick:h}):o().createElement(d,{key:`${e.type}-${e.id}`,data:e,actions:r,variant:i,urlTemplate:a,customUrlTemplate:p,onClick:t=>{null==b||b({...e,...t})},onActionClick:h})))))}function d(e){var t;let{data:n,actions:a,variant:p,urlTemplate:d,customUrlTemplate:f,onClick:h,onActionClick:g}=e;const v=(0,l.useMemo)((()=>(0,m.y)(n.locales,n.name)),[n]),[k,y]=(0,l.useState)(!1),A=(0,l.useMemo)((()=>s.__secret_internals.legacyDoTransform(n,null==a?void 0:a.filter((e=>(0,s.checkIfByTransform)(e,n))))),[a,n]),w=(0,l.useCallback)((e=>{null==g||g({data:n,action:e.detail})}),[n,g]);let x,E=!1,T="";if("launchpad-config"===p||"menu-config"===p)if("app"===n.type)T=b(d,n,"");else{const e=new URL(n.url,location.origin);x=e.pathname,E=e.origin!==location.origin,T=E?"":b(f,{...n,__pathname:x},"")}return o().createElement("li",{className:c()("menu-item",{disabled:E||n.allBlocked}),onClick:()=>{null==h||h({__pathname:x})}},o().createElement(u.EM,{tooltip:E?"该菜单项为外链,不支持配置":"",url:T},o().createElement(u.Bj,(0,r.A)({className:"menu-icon",lib:"easyops",icon:"micro-app-center"},null!==(t=n.menuIcon)&&void 0!==t&&t.lib&&n.menuIcon.icon?(0,i.pick)(n.menuIcon,["lib","icon","theme","category","prefix"]):null)),o().createElement("span",{className:"menu-item-label"},v)),"menu-config"!==p&&!(null==A||!A.length)&&o().createElement(u.qb,{actions:A,onVisibleChange:e=>{y(e.detail)},onClick:e=>{e.stopPropagation()},onActionClick:w,"data-testid":`menu-item-actions-${n.id}`},o().createElement(u.Bj,{lib:"fa",icon:"gear",className:c()("menu-config",{active:k})})))}function f(e){let{data:t,actions:n,variant:r,urlTemplate:i,customUrlTemplate:a,onMenuItemClick:p,onActionClick:f}=e;const{name:b,locales:h,items:g}=t,[v,k]=(0,l.useState)(!1),[y,A]=(0,l.useState)(!1),w=(0,l.useMemo)((()=>s.__secret_internals.legacyDoTransform(t,null==n?void 0:n.filter((e=>(0,s.checkIfByTransform)(e,t))))),[n,t]),x=(0,l.useCallback)((()=>{A((e=>!e))}),[]),E=(0,l.useCallback)((e=>{null==f||f({data:t,action:e.detail})}),[t,f]);return o().createElement("li",{className:c()("menu-item folder",{empty:0===g.length,blocked:t.allBlocked})},o().createElement("div",{className:"menu-folder-label-wrapper"},o().createElement(u.EM,{onClick:x},o().createElement(u.Bj,{lib:"fa",prefix:"far",icon:"folder-open",className:"menu-icon"}),o().createElement("span",{className:"menu-item-label"},(0,m.y)(h,b)),o().createElement(u.Bj,{lib:"antd",icon:y?"up":"down",className:"menu-item-toggle"})),"menu-config"!==r&&!(null==w||!w.length)&&o().createElement(u.qb,{actions:w,onVisibleChange:e=>{k(e.detail)},onActionClick:E},o().createElement(u.Bj,{lib:"fa",icon:"gear",className:c()("menu-config",{active:v})}))),o().createElement("ul",{className:c()("sub-menu",{expanded:y})},g.map((e=>o().createElement(d,{key:e.instanceId,data:e,actions:n,variant:r,urlTemplate:i,customUrlTemplate:a,onClick:t=>{null==p||p({...e,...t})},onActionClick:f})))))}function b(e,t,n){var r;return null!==(r=null==e?void 0:e.replace(/{{(.*?)}}/g,((e,n)=>encodeURIComponent(String((0,i.get)(t,n.trim()))))))&&void 0!==r?r:n}},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})}}]);
3
- //# sourceMappingURL=launchpad-config.bd938fce.js.map
@@ -1,2 +0,0 @@
1
- (()=>{var e,t,r,n,o,a,l,i,c,s,u,f,d,h,p,m,b,v,x,g,y,P,k,w={4861:(e,t,r)=>{Promise.all([r.e(4934),r.e(6302),r.e(9363),r.e(8769),r.e(870),r.e(981),r.e(4419),r.e(1030),r.e(1921),r.e(8443),r.e(9936),r.e(1361),r.e(8002),r.e(5507),r.e(1732),r.e(9711),r.e(1321),r.e(9435),r.e(6890),r.e(6502),r.e(1916),r.e(4167),r.e(3944),r.e(1685),r.e(5655),r.e(6128)]).then(r.bind(r,6128))}},j={};function S(e){var t=j[e];if(void 0!==t)return t.exports;var r=j[e]={id:e,loaded:!1,exports:{}};return w[e].call(r.exports,r,r.exports,S),r.loaded=!0,r.exports}S.m=w,S.c=j,S.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return S.d(t,{a:t}),t},S.d=(e,t)=>{for(var r in t)S.o(t,r)&&!S.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((t,r)=>(S.f[r](e,t),t)),[])),S.u=e=>"chunks/"+e+"."+{114:"682c7bf1",726:"2d6ad3b6",871:"c25caa8c",948:"8641bd00",1045:"6f2ef8ee",1122:"873dcb9d",1369:"110f5b02",1370:"cb8ff339",1685:"437940d7",1889:"c68e3a91",2052:"14b1b2e4",2277:"ba342aae",3144:"702dfbe9",3171:"367df14c",3944:"a7f7cffe",4041:"457ae2a2",4306:"078d98df",4658:"94297dd4",4765:"63943e2d",4837:"d06f1908",4934:"01b89dd0",5250:"4c156a3c",5384:"a93e34e9",5399:"9f6a36a0",5552:"6fa4b6df",5655:"a02d92d1",6128:"3912671f",6302:"f681cebd",6502:"9ac6b169",6519:"731d398d",6773:"57567d00",7146:"d52a68a3",7218:"623deb5b",7304:"94d0e345",7434:"2990513f",7721:"8cd25214",7733:"85603114",8097:"20e092c4",8989:"33ca9fdc",9118:"c70241ba",9363:"cb610e3e",9515:"e919ad47",9559:"693f2629",9844:"b58a111c"}[e]+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/nav:",S.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{var l,i;if(void 0!==o)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var u=c[s];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+o){l=u;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,S.nc&&l.setAttribute("nonce",S.nc),l.setAttribute("data-webpack",t+o),l.src=r),e[r]=[n];var f=(t,n)=>{l.onerror=l.onload=null,clearTimeout(d);var o=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),o&&o.forEach((e=>e(n))),t)return t(n)},d=setTimeout(f.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=f.bind(null,l.onerror),l.onload=f.bind(null,l.onload),i&&document.head.appendChild(l)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},t={};S.I=(r,n)=>{n||(n=[]);var o=t[r];if(o||(o=t[r]={}),!(n.indexOf(o)>=0)){if(n.push(o),e[r])return e[r];S.o(S.S,r)||(S.S[r]={});var a=S.S[r],l="@next-bricks/nav",i=(e,t,r,n)=>{var o=a[e]=a[e]||{},i=o[t];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(o[t]={get:r,from:l,eager:!!n})},c=[];return"default"===r&&(i("@babel/parser","7.27.2",(()=>S.e(6773).then((()=>()=>S(6773))))),i("@easyops-cn/brick-next-pipes","0.7.6",(()=>Promise.all([S.e(4306),S.e(1030),S.e(1916),S.e(5310)]).then((()=>()=>S(4306))))),i("@next-core/cook","2.5.12",(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(8741))))),i("@next-core/easyops-runtime","0.15.17",(()=>Promise.all([S.e(9118),S.e(1030),S.e(1921),S.e(8443),S.e(9936),S.e(1361),S.e(1732),S.e(1321),S.e(6890),S.e(9933),S.e(5310),S.e(1369)]).then((()=>()=>S(9118))))),i("@next-core/element","1.2.19",(()=>S.e(1045).then((()=>()=>S(1045))))),i("@next-core/http","1.2.14",(()=>S.e(8989).then((()=>()=>S(8989))))),i("@next-core/i18n/react","1.0.85",(()=>Promise.all([S.e(8443),S.e(8097)]).then((()=>()=>S(8097))))),i("@next-core/i18n","1.0.85",(()=>Promise.all([S.e(8443),S.e(9936),S.e(671),S.e(5552)]).then((()=>()=>S(5552))))),i("@next-core/inject","1.0.60",(()=>Promise.all([S.e(1030),S.e(9933),S.e(2277)]).then((()=>()=>S(2277))))),i("@next-core/loader","1.6.17",(()=>S.e(5399).then((()=>()=>S(5399))))),i("@next-core/pipes","2.0.36",(()=>S.e(6519).then((()=>()=>S(6519))))),i("@next-core/react-element","1.0.38",(()=>Promise.all([S.e(8769),S.e(870),S.e(9435),S.e(114)]).then((()=>()=>S(114))))),i("@next-core/react-runtime","1.7.37",(()=>Promise.all([S.e(8769),S.e(981),S.e(1030),S.e(1921),S.e(4837)]).then((()=>()=>S(7218))))),i("@next-core/runtime","1.69.4",(()=>Promise.all([S.e(948),S.e(1030),S.e(8443),S.e(9936),S.e(1361),S.e(1732),S.e(1321),S.e(6890),S.e(1916),S.e(4167),S.e(110)]).then((()=>()=>S(948))))),i("@next-core/supply","2.3.9",(()=>Promise.all([S.e(1030),S.e(1916),S.e(9933),S.e(9559)]).then((()=>()=>S(9559))))),i("@next-core/theme","1.6.1",(()=>Promise.all([S.e(1889),S.e(2052)]).then((()=>()=>S(1889))))),i("@next-core/utils/general","1.8.6",(()=>S.e(871).then((()=>()=>S(871))))),i("@next-core/utils/storyboard","1.8.6",(()=>Promise.all([S.e(1030),S.e(9936),S.e(1321),S.e(7146)]).then((()=>()=>S(7146))))),i("history","4.10.1",(()=>S.e(5384).then((()=>()=>S(5384))))),i("i18next-browser-languagedetector","7.2.2",(()=>S.e(726).then((()=>()=>S(726))))),i("i18next","22.5.1",(()=>S.e(7304).then((()=>()=>S(7304))))),i("js-yaml","3.14.1",(()=>S.e(9515).then((()=>()=>S(9515))))),i("lodash","4.17.21",(()=>S.e(5250).then((()=>()=>S(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(1329))))),i("moment","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(9420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([S.e(3144),S.e(8769)]).then((()=>()=>S(3144))))),i("react-i18next","12.3.1",(()=>Promise.all([S.e(7434),S.e(8769)]).then((()=>()=>S(7434))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>S.e(4041).then((()=>()=>S(4041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var t=S.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e+"../"})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},n=(e,t)=>{e=r(e),t=r(t);for(var n=0;;){if(n>=e.length)return n<t.length&&"u"!=(typeof t[n])[0];var o=e[n],a=(typeof o)[0];if(n>=t.length)return"u"==a;var l=t[n],i=(typeof l)[0];if(a!=i)return"o"==a&&"n"==i||"s"==i||"u"==a;if("o"!=a&&"u"!=a&&o!=l)return o<l;n++}},o=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,a=1;a<e.length;a++)n--,r+="u"==(typeof(i=e[a]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var l=[];for(a=1;a<e.length;a++){var i=e[a];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():o(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},a=(e,t)=>{if(0 in e){t=r(t);var n=e[0],o=n<0;o&&(n=-n-1);for(var l=0,i=1,c=!0;;i++,l++){var s,u,f=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(u=(typeof(s=t[l]))[0]))return!c||("u"==f?i>n&&!o:""==f!=o);if("u"==u){if(!c||"u"!=f)return!1}else if(c)if(f==u)if(i<=n){if(s!=e[i])return!1}else{if(o?s>e[i]:s<e[i])return!1;s!=e[i]&&(c=!1)}else if("s"!=f&&"n"!=f){if(o||i<=n)return!1;c=!1,i--}else{if(i<=n||u<f!=o)return!1;c=!1}else"s"!=f&&"n"!=f&&(c=!1,i--)}}var d=[],h=d.pop.bind(d);for(l=1;l<e.length;l++){var p=e[l];d.push(1==p?h()|h():2==p?h()&h():p?a(p,t):!h())}return!!h()},l=(e,t)=>e&&S.o(e,t),i=e=>(e.loaded=1,e.get()),c=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),s=(e,t,r,o)=>{var l=o?c(e[t]):e[t];return(t=Object.keys(l).reduce(((e,t)=>!a(r,t)||e&&!n(e,t)?e:t),0))&&l[t]},u=(e,t,r)=>{var o=r?c(e[t]):e[t];return Object.keys(o).reduce(((e,t)=>!e||!o[e].loaded&&n(e,t)?t:e),0)},f=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+o(n)+")",d=(e,t,r,n,a)=>{var l=e[r];return"No satisfying version ("+o(n)+")"+(a?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map((e=>e+" from "+l[e].from)).join(", ")},h=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,t,r)=>r?r():((e,t)=>h("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),v=(m=e=>function(t,r,n,o,a){var l=S.I(t);return l&&l.then&&!n?l.then(e.bind(e,t,S.S[t],r,!1,o,a)):e(t,S.S[t],r,n,o,a)})(((e,t,r,n,o,a)=>{if(!l(t,r))return b(e,r,a);var c=s(t,r,o,n);return c?i(c):a?a():void h(d(t,e,r,o,n))})),x=m(((e,t,r,n,o,c)=>{if(!l(t,r))return b(e,r,c);var s=u(t,r,n);return a(o,s)||p(f(t,r,s,o)),i(t[r][s])})),g={},y={8769:()=>v("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(4041).then((()=>()=>S(4041))))),870:()=>v("default","@next-core/element",!1,[1,1,2,19],(()=>S.e(1045).then((()=>()=>S(1045))))),981:()=>v("default","@next-core/react-element",!1,[1,1,0,38],(()=>Promise.all([S.e(870),S.e(9435),S.e(7733)]).then((()=>()=>S(114))))),4419:()=>x("default","@next-core/theme",!1,[1,1,6,1],(()=>S.e(1889).then((()=>()=>S(1889))))),1030:()=>x("default","lodash",!1,[1,4,17,21],(()=>S.e(5250).then((()=>()=>S(5250))))),1921:()=>x("default","@next-core/runtime",!1,[1,1,69,4],(()=>Promise.all([S.e(948),S.e(1030),S.e(8443),S.e(9936),S.e(1361),S.e(1732),S.e(1321),S.e(6890),S.e(1916),S.e(4167),S.e(110)]).then((()=>()=>S(948))))),8443:()=>x("default","@next-core/i18n",!1,[1,1,0,85],(()=>Promise.all([S.e(9936),S.e(671),S.e(3171)]).then((()=>()=>S(5552))))),9936:()=>x("default","@next-core/utils/general",!1,[1,1,8,6],(()=>S.e(871).then((()=>()=>S(871))))),1361:()=>x("default","@next-core/http",!1,[0],(()=>S.e(1370).then((()=>()=>S(8989))))),8002:()=>x("default","@next-core/i18n/react",!1,[1,1,0,85],(()=>Promise.all([S.e(8443),S.e(8097)]).then((()=>()=>S(8097))))),5507:()=>x("default","@next-core/easyops-runtime",!1,[2,0,15,17],(()=>Promise.all([S.e(9118),S.e(1030),S.e(8443),S.e(9936),S.e(1361),S.e(1732),S.e(1321),S.e(6890),S.e(9933),S.e(5310)]).then((()=>()=>S(9118))))),1732:()=>x("default","history",!1,[0],(()=>S.e(5384).then((()=>()=>S(5384))))),9711:()=>v("default","@next-core/react-runtime",!1,[1,1,7,37],(()=>Promise.all([S.e(1030),S.e(1921),S.e(7218)]).then((()=>()=>S(7218))))),1321:()=>x("default","@next-core/cook",!1,[0],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(8741))))),9435:()=>v("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(3144).then((()=>()=>S(3144))))),6890:()=>x("default","@next-core/utils/storyboard",!1,[1,1,8,6],(()=>Promise.all([S.e(1030),S.e(4765)]).then((()=>()=>S(7146))))),1916:()=>x("default","moment",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(9420))))),4167:()=>x("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(1030),S.e(1916),S.e(9933),S.e(9559)]).then((()=>()=>S(9559))))),5310:()=>x("default","js-yaml",!1,[0],(()=>S.e(9515).then((()=>()=>S(9515))))),580:()=>x("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(6773))))),9933:()=>x("default","@next-core/pipes",!1,[0],(()=>S.e(6519).then((()=>()=>S(6519))))),7825:()=>x("default","react-i18next",!1,[1,12,3,1],(()=>Promise.all([S.e(7434),S.e(8769)]).then((()=>()=>S(7434))))),848:()=>x("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(726))))),5630:()=>x("default","i18next",!1,[0],(()=>S.e(7304).then((()=>()=>S(7304))))),8377:()=>x("default","@easyops-cn/brick-next-pipes",!1,[0],(()=>Promise.all([S.e(4306),S.e(1030),S.e(1916),S.e(5310)]).then((()=>()=>S(4306))))),1858:()=>x("default","moment/locale/zh-cn.js",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(1329))))),5599:()=>x("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(5399))))),9283:()=>x("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(2277)))))},P={110:[1858,5599,9283],580:[580],671:[848,5630],870:[870],981:[981],1030:[1030],1321:[1321],1361:[1361],1732:[1732],1916:[1916],1921:[1921],4167:[4167],4419:[4419],5310:[5310],5507:[5507],6519:[8377],6890:[6890],8002:[8002],8097:[7825],8443:[8443],8769:[8769],9435:[9435],9711:[9711],9933:[9933],9936:[9936]},k={},S.f.consumes=(e,t)=>{S.o(P,e)&&P[e].forEach((e=>{if(S.o(g,e))return t.push(g[e]);if(!k[e]){var r=t=>{g[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};k[e]=!0;var n=t=>{delete g[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var o=y[e]();o.then?t.push(g[e]=o.then(r).catch(n)):r(o)}catch(e){n(e)}}}))},(()=>{var e={8792:0};S.f.j=(t,r)=>{var n=S.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1((32|36|92)1|030|10|732|916)|5(310|507|80)|8(002|443|70|769)|9(93[36]|435|711|81)|4167|4419|671|6890)$/.test(t))e[t]=0;else{var o=new Promise(((r,o)=>n=e[t]=[r,o]));r.push(n[2]=o);var a=S.p+S.u(t),l=new Error;S.l(a,(r=>{if(S.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",l.name="ChunkLoadError",l.type=o,l.request=a,n[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[a,l,i]=r,c=0;if(a.some((t=>0!==e[t]))){for(n in l)S.o(l,n)&&(S.m[n]=l[n]);i&&i(S)}for(t&&t(r);c<a.length;c++)o=a[c],S.o(e,o)&&e[o]&&e[o][0](),e[o]=0},r=globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),S.nc=void 0,S(4861)})();
2
- //# sourceMappingURL=main.7c9a2c63.js.map
@@ -1,3 +0,0 @@
1
- /*! For license information please see query-search.0c3c3518.js.LICENSE.txt */
2
- (globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[]).push([[1369,2052,3526],{935:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,i,o){"string"==typeof e&&(e=[[null,e,void 0]]);var a={};if(r)for(var c=0;c<this.length;c++){var l=this[c][0];null!=l&&(a[l]=!0)}for(var s=0;s<e.length;s++){var u=[].concat(e[s]);r&&a[u[0]]||(void 0!==o&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=o),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),i&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=i):u[4]="".concat(i)),t.push(u))}},t}},1087:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},1369:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},2740:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(7545),i=n(6902);function o(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var a=n(1369);function c(e,t,n,c,l,s){var u,p,d,h,f,m,g,v=Symbol.metadata||Symbol.for("Symbol.metadata"),E=Object.defineProperty,S=Object.create,y=[S(null),S(null)],C=t.length;function x(t,n,r){return function(i,o){n&&(o=i,i=e);for(var a=0;a<t.length;a++)o=t[a].apply(i,r?[o]:[]);return r?o:i}}function b(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function A(e,t,n,i,a,c,l,s,d,h,f){function m(e){if(!f(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),v=t[3],S=!l,C=1===a,A=3===a,w=4===a,_=2===a;function T(t,n,r){return function(i,o){return n&&(o=i,i=e),r&&r(i),R[t].call(i,o)}}if(!S){var R={},P=[],O=A?"get":w||C?"set":"value";if(d?(h||C?R={get:o((function(){return v(this)}),i,"get"),set:function(e){t[4](this,e)}}:R[O]=v,h||o(R[O],i,_?"":O)):h||(R=Object.getOwnPropertyDescriptor(e,i)),!h&&!d){if((p=y[+s][i])&&7!=(p^a))throw Error("Decorating two elements with the same name ("+R[O].name+") is not supported yet");y[+s][i]=a<3?1:a}}for(var I=e,H=g.length-1;H>=0;H-=n?2:1){var L=b(g[H],"A decorator","be",!0),k=n?g[H-1]:void 0,N={},j={kind:["field","accessor","method","getter","setter","class"][a],name:i,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");b(t,"An initializer","be",!0),c.push(t)}.bind(null,N)};if(S)p=L.call(k,I,j),N.v=1,b(p,"class decorators","return")&&(I=p);else if(j.static=s,j.private=d,p=j.access={has:d?f.bind():function(e){return i in e}},w||(p.get=d?_?function(e){return m(e),R.value}:T("get",0,m):function(e){return e[i]}),_||A||(p.set=d?T("set",0,m):function(e,t){e[i]=t}),I=L.call(k,C?{get:R.get,set:R.set}:R[O],j),N.v=1,C){if("object"==(0,r.A)(I)&&I)(p=b(I.get,"accessor.get"))&&(R.get=p),(p=b(I.set,"accessor.set"))&&(R.set=p),(p=b(I.init,"accessor.init"))&&P.unshift(p);else if(void 0!==I)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else b(I,(h?"field":"method")+" decorators","return")&&(h?P.unshift(I):R[O]=I)}return a<2&&l.push(x(P,s,1),x(c,s,0)),h||S||(d?C?l.splice(-1,0,T("get",s),T("set",s)):l.push(_?R[O]:b.call.bind(R[O])):E(e,i,R)),I}function w(e){return E(e,v,{configurable:!0,enumerable:!0,value:u})}return void 0!==s&&(u=s[v]),u=S(null==u?null:u),f=[],m=function(e){e&&f.push(x(e))},g=function(t,r){for(var o=0;o<n.length;o++){var c=n[o],s=c[1],u=7&s;if((8&s)==t&&!u==r){var p=c[2],m=!!c[3],g=16&s;A(t?e:e.prototype,c,g,m?"#"+p:(0,a.A)(p),u,u<2?[]:t?h=h||[]:d=d||[],f,!!t,m,r,t&&m?function(t){return(0,i.A)(t)===e}:l)}}},g(8,0),g(0,0),g(8,1),g(0,1),m(d),m(h),p=f,C||w(e),{e:p,get c(){var n=[];return C&&[w(e=A(e,[t],c,e.name,5,n)),x(n,1)]}}}},3373:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)r.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},4586:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(1369);function i(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},6330:(e,t,n)=>{"use strict";function r(e,t,n,r,i,o,a){try{var c=e[o](a),l=c.value}catch(e){return void n(e)}c.done?t(l):Promise.resolve(l).then(r,i)}function i(e){return function(){var t=this,n=arguments;return new Promise((function(i,o){var a=e.apply(t,n);function c(e){r(a,i,o,c,l,"next",e)}function l(e){r(a,i,o,c,l,"throw",e)}c(void 0)}))}}n.d(t,{A:()=>i})},6731:(e,t,n)=>{"use strict";n.r(t),n.d(t,{QuerySearch:()=>D,QuerySearchComponent:()=>U,WrappedSearch:()=>j});var r=n(2740),i=n(8769),o=n.n(i),a=n(870),c=n(981),l=(n(4419),n(8443)),s=n(7057),u=n(9139),p=n(3373),d=n.n(p),h=n(1921),f=n(7137),m=n(5507),g=n(1030),v=n(3748),E=n(6768),S=n(5862),y=n(5694),C=n(8406),x=n(9711);let b;var A,w,_;(0,l.initializeI18n)(s.NS,s.I);const{defineElement:T}=(0,a.createDecorators)(),R=`querier-search-recent-visits:${null===(A=m.auth.getAuth())||void 0===A?void 0:A.org}`,P=`querier-search-querier:${null===(w=m.auth.getAuth())||void 0===w?void 0:w.org}`,O=new f.G(localStorage),I="search/result?q=%{q}%",H="search/new/ipSearch?q=%{q}%",L="/itsc-ticket-center/ticket-list?q=%{q}%",k=(0,c.wrapBrick)("eo-icon"),N=(0,c.wrapBrick)("eo-button"),j=(0,c.wrapBrick)("eo-search",{onChange:"change",onSearch:"search"}),K=(0,c.wrapBrick)("eo-tooltip");let D;class F extends c.ReactNextElement{render(){return o().createElement(U,{shadowRoot:this.shadowRoot})}}_=F,[D,b]=(0,r.A)(_,[T("nav.query-search",{styleTexts:[u.A]})],[],0,void 0,c.ReactNextElement).c,b();var q=function(e){return e.fullText="fullText",e.instanceSearch="instanceSearch",e.relationSearch="relationSearch",e.link="link",e.ipSearch="ipSearch",e}(q||{});function U(e){var t,n;const{shadowRoot:r}=e,a=(0,i.useRef)(null),c=(0,i.useRef)(null),l=(null===(t=(0,h.getRuntime)().getCurrentApp())||void 0===t?void 0:t.id)||"",[u,p]=(0,i.useState)([]),f=(0,x.useCurrentTheme)(),[m,b]=(0,i.useState)(),[A,w]=(0,i.useState)(),[_,T]=(0,i.useState)([]),[j,D]=(0,i.useState)([]),[F,U]=(0,i.useState)(),z=()=>{var e;return document.documentElement.clientWidth-((null==r||null===(e=r.host)||void 0===e||null===(e=e.parentElement)||void 0===e?void 0:e.clientWidth)||0)-500<200},X=(0,i.useMemo)((()=>(0,y.VC)()),[]),Q=e=>{var t;const n=m?(null==F||null===(t=F.config)||void 0===t?void 0:t.url)||"":H,r=(n.startsWith("/")?n:"/"+n).replaceAll("%{q}%",e||A||"");(0,h.getHistory)().push(r)};return(0,i.useEffect)((()=>{var e;m&&(null===(e=a.current)||void 0===e||e.focus());const t=e=>{m&&c.current&&!e.composedPath().includes(c.current)&&b(!1)},n=e=>{const t=/Mac|iPod|iPhone|iPad/.test(navigator.platform)?"metaKey":"ctrlKey";!m&&e[t]&&"k"===e.key?(e.preventDefault(),z()?Q():b(!0)):"Escape"!==e.key&&"Esc"!==e.key||!m||b(!1)};return window.addEventListener("click",t,!0),window.addEventListener("keydown",n),()=>{window.removeEventListener("click",t),window.removeEventListener("keydown",n)}}),[m]),(0,i.useEffect)((()=>{!_.length&&m&&(async()=>{const e=[{type:q.fullText,name:(0,s.t)(s.K.FULL_TEXT_SEARCH),config:{url:I}},{type:q.ipSearch,name:(0,s.t)(s.K.IP_SEARCH),config:{url:H}},{type:q.link,name:(0,s.t)(s.K.TICKET_SEARCH),config:{url:L,searchPlaceholder:(0,s.t)(s.K.TICKET_SEARCH_PLACEHOLDER)}}];try{var t;const n=(null===(t=(await(0,C.y)("QUERIER_CONFIG@EASYOPS",{page:1,page_size:100,fields:["name","type","disabled","config","showInApps"]})).list)||void 0===t?void 0:t.map((e=>{const t=e,n=t.config||{url:""};return t.type===q.fullText?n.url=I:t.type===q.ipSearch&&(n.url=H),{...t,config:n}})))||[];T((null==n?void 0:n.length)>0?n:e)}catch{T(e)}})()}),[m]),(0,i.useEffect)((()=>{const e=_.filter((e=>{var t,n;return!e.disabled&&(!(null!==(t=e.showInApps)&&void 0!==t&&t.length)||(null===(n=e.showInApps)||void 0===n?void 0:n.length)&&e.showInApps.includes(l))})).map((e=>({...e,label:e.name,value:e.name})));D(e),U(e.find((e=>e.name===O.getItem(P)))||e.find((e=>e.type===q.ipSearch))||e[0])}),[_]),(0,i.useEffect)((()=>{var e;p(null!==(e=O.getItem(`${R}-${null==F?void 0:F.name}`))&&void 0!==e?e:[])}),[F]),o().createElement(v.Ay,{theme:{algorithm:"dark-v2"===f?E.A.darkAlgorithm:E.A.defaultAlgorithm}},o().createElement(y.N7,{container:r,cache:X,hashPriority:"high"},o().createElement("div",{style:{position:"relative"},ref:c},o().createElement("div",{className:d()("container",{containerShowInput:m,inputContentSlideout:!1===m}),onClick:e=>{e.stopPropagation()}},o().createElement("div",{className:d()("inputContent",{inputContentSlidein:m,inputContentSlideout:!1===m})},o().createElement("div",{className:d()("input-addon-wrapper")},o().createElement("span",{className:"input-affix-wrapper"},o().createElement("span",{className:"input-before-addon"},o().createElement(S.A,{value:null==F?void 0:F.value,getPopupContainer:e=>e.parentElement,showSearch:!0,variant:"borderless",style:{width:"100px"},options:j,onChange:e=>{O.setItem(P,e),U(j.find((t=>t.name===e)))}})),o().createElement("input",{placeholder:(null==F||null===(n=F.config)||void 0===n?void 0:n.searchPlaceholder)||((null==F?void 0:F.type)===q.ipSearch?(0,s.t)(s.K.IP_SEARCH_PLACEHOLDER):(null==F?void 0:F.type)===q.fullText?(0,s.t)(s.K.FULL_TEXT_SEARCH_PLACEHOLDER):""),ref:a,value:A,onChange:e=>{w(e.target.value)},onKeyDown:e=>{"Enter"===e.key&&A&&(O.setItem(`${R}-${null==F?void 0:F.name}`,(0,g.uniq)([A,...u].slice(0,5))),Q())}}),!!A&&o().createElement("span",{className:"input-suffix"},o().createElement(k,{className:"input-clear-icon",lib:"antd",icon:"close-circle",theme:"filled",onClick:()=>{w("")}}))))),!m&&o().createElement(K,{content:(0,s.t)(s.K.IP_SEARCH_TOOLTIP),placement:"left"},o().createElement(N,{onClick:()=>{z()?Q():b(!0)},className:d()("button",{buttonSildeint:!1===m}),shape:"circle",type:"ghost",buttonStyle:{border:"none",background:"none",fontSize:"16px"},icon:{icon:"search",theme:"outlined",lib:"antd"}}))),o().createElement("div",{className:d()("historySearchContainer",{historySearchContainerSlidein:m,historySearchContainerSlideout:!1===m})},o().createElement("div",{className:"historySearchContent"},o().createElement("div",{className:"latestSearchText"},(0,s.t)(s.K.RECENT_SEARCH)),o().createElement("div",{className:"latestSearchTagContainer"},u.map((e=>o().createElement("span",{key:e,className:"latestSearchTagContent",onClick:()=>{O.setItem(`${R}-${null==F?void 0:F.name}`,(0,g.uniq)([e,...u].slice(0,5))),Q(e)}},o().createElement("span",{className:"latestSearchTagText",title:e},e)))),!u.length&&o().createElement("div",{className:"emptyText"},(0,s.t)(s.K.NO_SEARCH_HISTORY)))),o().createElement("div",{className:"quickSearchTip"},(0,s.t)(s.K.QUICK_SEARCH_TIP))))))}},6758:e=>{"use strict";e.exports=function(e){return e[1]}},6902:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(7545);function i(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},7057:(e,t,n)=>{"use strict";n.d(t,{I:()=>a,K:()=>i,NS:()=>o,t:()=>c});var r=n(8443);let i=function(e){return e.FULL_TEXT_SEARCH="FULL_TEXT_SEARCH",e.IP_SEARCH="IP_SEARCH",e.TICKET_SEARCH="TICKET_SEARCH",e.TICKET_SEARCH_PLACEHOLDER="TICKET_SEARCH_PLACEHOLDER",e.IP_SEARCH_PLACEHOLDER="IP_SEARCH_PLACEHOLDER",e.FULL_TEXT_SEARCH_PLACEHOLDER="FULL_TEXT_SEARCH_PLACEHOLDER",e.IP_SEARCH_TOOLTIP="IP_SEARCH_TOOLTIP",e.RECENT_SEARCH="RECENT_SEARCH",e.NO_SEARCH_HISTORY="NO_SEARCH_HISTORY",e.QUICK_SEARCH_TIP="QUICK_SEARCH_TIP",e}({});const o="bricks/nav/query-search",a={en:{FULL_TEXT_SEARCH:"Full-text search",IP_SEARCH:"IP search",TICKET_SEARCH:"Ticket search",TICKET_SEARCH_PLACEHOLDER:"Enter ticket number/title and other keywords",IP_SEARCH_PLACEHOLDER:"Enter IP to query hosts and related applications, systems and other resources",FULL_TEXT_SEARCH_PLACEHOLDER:'Search applications, hosts and other information, supports "" exact search',IP_SEARCH_TOOLTIP:"IP Search",RECENT_SEARCH:"Recent Search",NO_SEARCH_HISTORY:"No search history",QUICK_SEARCH_TIP:"Quick Search (Cmd/Ctrl+K)"},zh:{FULL_TEXT_SEARCH:"全文搜索",IP_SEARCH:"ip搜索",TICKET_SEARCH:"工单搜索",TICKET_SEARCH_PLACEHOLDER:"输入工单编号/标题等关键字",IP_SEARCH_PLACEHOLDER:"输入IP查询主机关联的应用、系统等资源",FULL_TEXT_SEARCH_PLACEHOLDER:'搜索应用、主机等信息,支持""精确搜索',IP_SEARCH_TOOLTIP:"IP搜索",RECENT_SEARCH:"最近搜索",NO_SEARCH_HISTORY:"暂无搜索记录",QUICK_SEARCH_TIP:"快捷搜索(Cmd/Ctrl+K)"}},c=r.i18n.getFixedT(null,o)},7137:(e,t,n)=>{"use strict";n.d(t,{G:()=>r});class r{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"brick-next-";this.storage=e,this.prefix=t}setItem(e,t){this.storage.setItem(this.prefix+e,JSON.stringify(t))}getItem(e){return JSON.parse(this.storage.getItem(this.prefix+e))}removeItem(e){return this.storage.removeItem(this.prefix+e)}clear(){return this.storage.clear()}}},7502:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n,r,i={},o=Object.keys(e);for(r=0;r<o.length;r++)n=o[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}n.d(t,{A:()=>r})},7545:(e,t,n)=>{"use strict";function r(e){return r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},r(e)}n.d(t,{A:()=>r})},9139:(e,t,n)=>{"use strict";n.d(t,{A:()=>c});var r=n(6758),i=n.n(r),o=n(935),a=n.n(o)()(i());a.push([e.id,":host{display:inline-block}:host([hidden]){display:none}.container{position:relative;width:32px;height:32px}.containerShowInput{width:500px}.inputContent{background:rgba(204,209,219,0.3);border-radius:3px;height:30px;position:absolute;right:0;width:0px;overflow:hidden}.inputContentSlidein{overflow:visible;animation:slidein 0.4s ease-in-out forwards}.inputContentSlideout{width:500px;animation:slideout 0.4s 0.2s ease-in-out forwards}input{flex:1;padding:0;margin:0;border:none;outline:none;font-size:14px;line-height:20px;color:inherit;background-color:transparent;cursor:inherit;width:100%}select{border:none;outline:none;width:150px;background:transparent}input:focus{border:none!important}input::placeholder{color:var(--color-disabled-text)}.button{position:absolute;right:0;top:0}.buttonSildeint{opacity:0;animation:btnSlidein 0.1ms 0.6s ease-in-out forwards}@keyframes btnSlidein{from{opacity:0}to{opacity:1}}@keyframes slidein{from{width:0px}to{width:500px}}@keyframes slideout{from{width:500px}to{width:0px}}.input-addon-wrapper{display:table;width:100%;line-height:22px}.input-affix-wrapper{display:inline-flex;position:relative;padding-bottom:4px;width:100%;transition:border-color 0.3s,box-shadow 0.3s;overflow:visible}.input-suffix,\n.input-before-addon{display:flex;flex:none;align-items:center;margin-left:4px;margin-right:4px;width:16px}.input-before-addon{width:100px}.input-clear-icon{margin-left:4px;font-size:12px;color:var(--text-color-disabled);cursor:pointer}.input-clear-icon:hover{color:var(--antd-text-color-secondary)}.historySearchContainer{width:500px;height:160px;box-shadow:0px 2px 6px 0px rgba(0,0,0,0.15);background-color:var(--antd-dropdown-menu-bg);top:35px;position:absolute;height:0px;right:0;overflow:hidden;border-radius:6px;z-index:1000}.historySearchContainerSlidein{top:35px;animation:historySlidein 0.4s 0.2s ease-in-out forwards}.historySearchContainerSlideout{animation:historySlideout 0.4s ease-in-out forwards}@keyframes historySlidein{from{height:0px}to{height:160px}}@keyframes historySlideout{from{height:160px}to{height:0px}}.quickSearchTip{width:140px;height:17px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:12px;color:var(--color-auxiliary-text);line-height:17px;text-align:left;font-style:normal;padding:8px 16px 8px 16px;width:484px;border-top:1px solid var(--color-border-divider-line)}.historySearchContent{height:103px;padding:16px 16px 8px 16px;overflow:auto}.latestSearchText{width:56px;height:20px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:var(--local-card-description-color);line-height:20px;text-align:left;font-style:normal;margin-bottom:10px}.latestSearchTagText{height:17px;font-family:PingFangSC,PingFang SC;font-weight:400;font-size:14px;color:var(--color-strong-text);line-height:17px;text-align:center;font-style:normal;white-space:nowrap}.latestSearchTagContainer{display:flex;flex-wrap:wrap;row-gap:8px;column-gap:10px}.latestSearchTagContent{height:20px;background:var(--color-fill-bg-base-1);border-radius:3px;padding:1.5px 8px;cursor:pointer;max-width:480px;overflow:hidden;text-overflow:ellipsis}.emptyText{color:var(--text-color-secondary);text-align:center;width:100%}",""]);const c=a.toString()},9575:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}n.d(t,{A:()=>r})},9740:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(4586);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function o(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}}}]);
3
- //# sourceMappingURL=query-search.0c3c3518.js.map
@@ -1,2 +0,0 @@
1
- (()=>{"use strict";var e,r,t,n,a,o,l,i,s,c,u,d,f,h,m,p,b,v,g,P,y,x,w,k={3217:(e,r,t)=>{var n={"./eo-nav-menu":()=>Promise.all([t.e(2241),t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(1361),t.e(8002),t.e(1732),t.e(1685),t.e(5821)]).then((()=>()=>t(4943))),"./eo-launchpad-button-v2":()=>Promise.all([t.e(4934),t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(8443),t.e(9936),t.e(1361),t.e(8002),t.e(5507),t.e(9435),t.e(6502),t.e(5655),t.e(470)]).then((()=>()=>t(8132))),"./eo-launchpad-button":()=>Promise.all([t.e(4934),t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(8443),t.e(1361),t.e(8002),t.e(5507),t.e(9435),t.e(3944),t.e(8649)]).then((()=>()=>t(1010))),"./easyops-navbar-alerts":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1921),t.e(5507),t.e(9711),t.e(1916),t.e(1890)]).then((()=>()=>t(2121))),"./launchpad-config":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(8443),t.e(9936),t.e(5507),t.e(4344)]).then((()=>()=>t(5669))),"./eo-launchpad-quick-access":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(8443),t.e(9936),t.e(1361),t.e(8002),t.e(5507),t.e(6502),t.e(8533)]).then((()=>()=>t(8119))),"./eo-search-launchpad":()=>Promise.all([t.e(4691),t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(8443),t.e(9936),t.e(1361),t.e(8002),t.e(5507),t.e(6502),t.e(131)]).then((()=>()=>t(9885))),"./eo-launchpad-recent-visits":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(8443),t.e(9936),t.e(1361),t.e(8002),t.e(5507),t.e(6502),t.e(5929)]).then((()=>()=>t(3067))),"./eo-app-bar-wrapper":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(3927)]).then((()=>()=>t(9569))),"./app-bar-wrapper":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(3927)]).then((()=>()=>t(9569))),"./eo-frame-breadcrumb":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(9711),t.e(8339)]).then((()=>()=>t(5021))),"./eo-sidebar-menu-item":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(4444)]).then((()=>()=>t(6455))),"./eo-sidebar-menu-group":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1921),t.e(62)]).then((()=>()=>t(6627))),"./eo-sidebar-menu-submenu":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1921),t.e(7544)]).then((()=>()=>t(1649))),"./eo-sidebar-menu":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1921),t.e(4612)]).then((()=>()=>t(6489))),"./eo-sidebar":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(8002),t.e(1732),t.e(9711),t.e(5532)]).then((()=>()=>t(5042))),"./eo-sidebar-sub-menu":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(1732),t.e(1131)]).then((()=>()=>t(7029))),"./eo-directory":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(9711),t.e(7257)]).then((()=>()=>t(651))),"./eo-directory-tree":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(9711),t.e(2130)]).then((()=>()=>t(3856))),"./eo-directory-tree-leaf":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(2251)]).then((()=>()=>t(1278))),"./eo-directory-tree-internal-node":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(7825)]).then((()=>()=>t(1950))),"./nav-logo":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1921),t.e(5350)]).then((()=>()=>t(7567))),"./poll-announce":()=>Promise.all([t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1921),t.e(8443),t.e(9936),t.e(1361),t.e(8002),t.e(7352)]).then((()=>()=>t(9691))),"./get-menu-config-options":()=>Promise.all([t.e(8443),t.e(9936),t.e(1321),t.e(6890),t.e(4167),t.e(7159)]).then((()=>()=>t(4403))),"./get-menu-config-tree":()=>Promise.all([t.e(1030),t.e(8443),t.e(9936),t.e(1321),t.e(6890),t.e(4167),t.e(1255)]).then((()=>()=>t(3157))),"./query-search":()=>Promise.all([t.e(6302),t.e(8769),t.e(870),t.e(981),t.e(4419),t.e(1030),t.e(1921),t.e(8443),t.e(1361),t.e(5507),t.e(9711),t.e(9435),t.e(3526)]).then((()=>()=>t(6731)))},a=(e,r)=>(t.R=r,r=t.o(n,e)?n[e]():Promise.resolve().then((()=>{throw new Error('Module "'+e+'" does not exist in container.')})),t.R=void 0,r),o=(e,r)=>{if(t.S){var n="default",a=t.S[n];if(a&&a!==e)throw new Error("Container initialization failed as it has already been initialized with a different share scope");return t.S[n]=e,t.I(n,r)}};t.d(r,{get:()=>a,init:()=>o})}},j={};function S(e){var r=j[e];if(void 0!==r)return r.exports;var t=j[e]={id:e,loaded:!1,exports:{}};return k[e].call(t.exports,t,t.exports,S),t.loaded=!0,t.exports}S.m=k,S.c=j,S.n=e=>{var r=e&&e.__esModule?()=>e.default:()=>e;return S.d(r,{a:r}),r},S.d=(e,r)=>{for(var t in r)S.o(r,t)&&!S.o(e,t)&&Object.defineProperty(e,t,{enumerable:!0,get:r[t]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((r,t)=>(S.f[t](e,r),r)),[])),S.u=e=>"chunks/"+({62:"eo-sidebar-menu-group",131:"eo-search-launchpad",470:"eo-launchpad-button-v2",1131:"eo-sidebar-sub-menu",1255:"get-menu-config-tree",1890:"easyops-navbar-alerts",2130:"eo-directory-tree",2251:"eo-directory-tree-leaf",3526:"query-search",3927:"eo-app-bar-wrapper",4344:"launchpad-config",4444:"eo-sidebar-menu-item",4612:"eo-sidebar-menu",5350:"nav-logo",5532:"eo-sidebar",5821:"eo-nav-menu",5929:"eo-launchpad-recent-visits",7159:"get-menu-config-options",7257:"eo-directory",7352:"poll-announce",7544:"eo-sidebar-menu-submenu",7825:"eo-directory-tree-internal-node",8339:"eo-frame-breadcrumb",8533:"eo-launchpad-quick-access",8649:"eo-launchpad-button"}[e]||e)+"."+{62:"01ac76d3",114:"682c7bf1",131:"8d4e293c",470:"aa05077e",726:"2d6ad3b6",871:"c25caa8c",948:"8641bd00",1045:"6f2ef8ee",1122:"873dcb9d",1131:"70c71ea9",1255:"d139c301",1369:"110f5b02",1370:"cb8ff339",1685:"437940d7",1889:"c68e3a91",1890:"cc7090db",2052:"14b1b2e4",2130:"2ba780f8",2241:"e6e34a55",2251:"315a4f71",2277:"ba342aae",3144:"702dfbe9",3171:"367df14c",3526:"0c3c3518",3927:"743025bd",3944:"a7f7cffe",4041:"457ae2a2",4306:"078d98df",4344:"bd938fce",4444:"cc8a849b",4612:"48f4f3a7",4658:"94297dd4",4691:"5e4633d7",4765:"63943e2d",4837:"d06f1908",4934:"01b89dd0",5250:"4c156a3c",5350:"96de5e52",5384:"a93e34e9",5399:"9f6a36a0",5532:"ad2491ee",5552:"6fa4b6df",5655:"a02d92d1",5821:"64183ee8",5929:"1a7c6e2c",6302:"f681cebd",6502:"9ac6b169",6519:"731d398d",6773:"57567d00",7146:"d52a68a3",7159:"5803223a",7218:"623deb5b",7257:"a0e99853",7304:"94d0e345",7352:"bb9bd6d1",7434:"2990513f",7544:"5cb414f6",7721:"8cd25214",7733:"85603114",7825:"e1fd8680",8097:"20e092c4",8339:"a2d98877",8533:"b0a48525",8649:"b8b7bcff",8989:"33ca9fdc",9118:"c70241ba",9515:"e919ad47",9559:"693f2629",9844:"b58a111c"}[e]+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,r)=>Object.prototype.hasOwnProperty.call(e,r),e={},r="@next-bricks/nav:",S.l=(t,n,a,o)=>{if(e[t])e[t].push(n);else{var l,i;if(void 0!==a)for(var s=document.getElementsByTagName("script"),c=0;c<s.length;c++){var u=s[c];if(u.getAttribute("src")==t||u.getAttribute("data-webpack")==r+a){l=u;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,S.nc&&l.setAttribute("nonce",S.nc),l.setAttribute("data-webpack",r+a),l.src=t),e[t]=[n];var d=(r,n)=>{l.onerror=l.onload=null,clearTimeout(f);var a=e[t];if(delete e[t],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),r)return r(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),i&&document.head.appendChild(l)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},r={};S.I=(t,n)=>{n||(n=[]);var a=r[t];if(a||(a=r[t]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[t])return e[t];S.o(S.S,t)||(S.S[t]={});var o=S.S[t],l="@next-bricks/nav",i=(e,r,t,n)=>{var a=o[e]=o[e]||{},i=a[r];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[r]={get:t,from:l,eager:!!n})},s=[];return"default"===t&&(i("@babel/parser","7.27.2",(()=>S.e(6773).then((()=>()=>S(6773))))),i("@easyops-cn/brick-next-pipes","0.7.6",(()=>Promise.all([S.e(4306),S.e(1030),S.e(1916),S.e(5310)]).then((()=>()=>S(4306))))),i("@next-core/cook","2.5.12",(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(8741))))),i("@next-core/easyops-runtime","0.15.17",(()=>Promise.all([S.e(9118),S.e(1030),S.e(1921),S.e(8443),S.e(9936),S.e(1361),S.e(1732),S.e(1321),S.e(6890),S.e(9933),S.e(5310),S.e(1369)]).then((()=>()=>S(9118))))),i("@next-core/element","1.2.19",(()=>S.e(1045).then((()=>()=>S(1045))))),i("@next-core/http","1.2.14",(()=>S.e(8989).then((()=>()=>S(8989))))),i("@next-core/i18n/react","1.0.85",(()=>Promise.all([S.e(8443),S.e(8097)]).then((()=>()=>S(8097))))),i("@next-core/i18n","1.0.85",(()=>Promise.all([S.e(8443),S.e(9936),S.e(671),S.e(5552)]).then((()=>()=>S(5552))))),i("@next-core/inject","1.0.60",(()=>Promise.all([S.e(1030),S.e(9933),S.e(2277)]).then((()=>()=>S(2277))))),i("@next-core/loader","1.6.17",(()=>S.e(5399).then((()=>()=>S(5399))))),i("@next-core/pipes","2.0.36",(()=>S.e(6519).then((()=>()=>S(6519))))),i("@next-core/react-element","1.0.38",(()=>Promise.all([S.e(8769),S.e(870),S.e(9435),S.e(114)]).then((()=>()=>S(114))))),i("@next-core/react-runtime","1.7.37",(()=>Promise.all([S.e(8769),S.e(981),S.e(1030),S.e(1921),S.e(4837)]).then((()=>()=>S(7218))))),i("@next-core/runtime","1.69.4",(()=>Promise.all([S.e(948),S.e(1030),S.e(8443),S.e(9936),S.e(1361),S.e(1732),S.e(1321),S.e(6890),S.e(1916),S.e(4167),S.e(110)]).then((()=>()=>S(948))))),i("@next-core/supply","2.3.9",(()=>Promise.all([S.e(1030),S.e(1916),S.e(9933),S.e(9559)]).then((()=>()=>S(9559))))),i("@next-core/theme","1.6.1",(()=>Promise.all([S.e(1889),S.e(2052)]).then((()=>()=>S(1889))))),i("@next-core/utils/general","1.8.6",(()=>S.e(871).then((()=>()=>S(871))))),i("@next-core/utils/storyboard","1.8.6",(()=>Promise.all([S.e(1030),S.e(9936),S.e(1321),S.e(7146)]).then((()=>()=>S(7146))))),i("history","4.10.1",(()=>S.e(5384).then((()=>()=>S(5384))))),i("i18next-browser-languagedetector","7.2.2",(()=>S.e(726).then((()=>()=>S(726))))),i("i18next","22.5.1",(()=>S.e(7304).then((()=>()=>S(7304))))),i("js-yaml","3.14.1",(()=>S.e(9515).then((()=>()=>S(9515))))),i("lodash","4.17.21",(()=>S.e(5250).then((()=>()=>S(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(1329))))),i("moment","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(9420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([S.e(3144),S.e(8769)]).then((()=>()=>S(3144))))),i("react-i18next","12.3.1",(()=>Promise.all([S.e(7434),S.e(8769)]).then((()=>()=>S(7434))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>S.e(4041).then((()=>()=>S(4041)))))),e[t]=s.length?Promise.all(s).then((()=>e[t]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var r=S.g.document;if(!e&&r&&(r.currentScript&&"SCRIPT"===r.currentScript.tagName.toUpperCase()&&(e=r.currentScript.src),!e)){var t=r.getElementsByTagName("script");if(t.length)for(var n=t.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=t[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e})(),t=e=>{var r=e=>e.split(".").map((e=>+e==e?+e:e)),t=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=t[1]?r(t[1]):[];return t[2]&&(n.length++,n.push.apply(n,r(t[2]))),t[3]&&(n.push([]),n.push.apply(n,r(t[3]))),n},n=(e,r)=>{e=t(e),r=t(r);for(var n=0;;){if(n>=e.length)return n<r.length&&"u"!=(typeof r[n])[0];var a=e[n],o=(typeof a)[0];if(n>=r.length)return"u"==o;var l=r[n],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&a!=l)return a<l;n++}},a=e=>{var r=e[0],t="";if(1===e.length)return"*";if(r+.5){t+=0==r?">=":-1==r?"<":1==r?"^":2==r?"~":r>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,t+="u"==(typeof(i=e[o]))[0]?"-":(n>0?".":"")+(n=2,i);return t}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+s()+")":1===i?"("+s()+" || "+s()+")":2===i?l.pop()+" "+l.pop():a(i))}return s();function s(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,r)=>{if(0 in e){r=t(r);var n=e[0],a=n<0;a&&(n=-n-1);for(var l=0,i=1,s=!0;;i++,l++){var c,u,d=i<e.length?(typeof e[i])[0]:"";if(l>=r.length||"o"==(u=(typeof(c=r[l]))[0]))return!s||("u"==d?i>n&&!a:""==d!=a);if("u"==u){if(!s||"u"!=d)return!1}else if(s)if(d==u)if(i<=n){if(c!=e[i])return!1}else{if(a?c>e[i]:c<e[i])return!1;c!=e[i]&&(s=!1)}else if("s"!=d&&"n"!=d){if(a||i<=n)return!1;s=!1,i--}else{if(i<=n||u<d!=a)return!1;s=!1}else"s"!=d&&"n"!=d&&(s=!1,i--)}}var f=[],h=f.pop.bind(f);for(l=1;l<e.length;l++){var m=e[l];f.push(1==m?h()|h():2==m?h()&h():m?o(m,r):!h())}return!!h()},l=(e,r)=>e&&S.o(e,r),i=e=>(e.loaded=1,e.get()),s=e=>Object.keys(e).reduce(((r,t)=>(e[t].eager&&(r[t]=e[t]),r)),{}),c=(e,r,t,a)=>{var l=a?s(e[r]):e[r];return(r=Object.keys(l).reduce(((e,r)=>!o(t,r)||e&&!n(e,r)?e:r),0))&&l[r]},u=(e,r,t)=>{var a=t?s(e[r]):e[r];return Object.keys(a).reduce(((e,r)=>!e||!a[e].loaded&&n(e,r)?r:e),0)},d=(e,r,t,n)=>"Unsatisfied version "+t+" from "+(t&&e[r][t].from)+" of shared singleton module "+r+" (required "+a(n)+")",f=(e,r,t,n,o)=>{var l=e[t];return"No satisfying version ("+a(n)+")"+(o?" for eager consumption":"")+" of shared module "+t+" found in shared scope "+r+".\nAvailable versions: "+Object.keys(l).map((e=>e+" from "+l[e].from)).join(", ")},h=e=>{throw new Error(e)},m=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,r,t)=>t?t():((e,r)=>h("Shared module "+r+" doesn't exist in shared scope "+e))(e,r),v=(p=e=>function(r,t,n,a,o){var l=S.I(r);return l&&l.then&&!n?l.then(e.bind(e,r,S.S[r],t,!1,a,o)):e(r,S.S[r],t,n,a,o)})(((e,r,t,n,a,o)=>{if(!l(r,t))return b(e,t,o);var s=c(r,t,a,n);return s?i(s):o?o():void h(f(r,e,t,a,n))})),g=p(((e,r,t,n,a,s)=>{if(!l(r,t))return b(e,t,s);var c=u(r,t,n);return o(a,c)||m(d(r,t,c,a)),i(r[t][c])})),P={},y={1030:()=>g("default","lodash",!1,[1,4,17,21],(()=>S.e(5250).then((()=>()=>S(5250))))),1916:()=>g("default","moment",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(9420))))),5310:()=>g("default","js-yaml",!1,[0],(()=>S.e(9515).then((()=>()=>S(9515))))),580:()=>g("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(6773))))),1921:()=>g("default","@next-core/runtime",!1,[1,1,69,4],(()=>Promise.all([S.e(948),S.e(1030),S.e(8443),S.e(9936),S.e(1361),S.e(1732),S.e(1321),S.e(6890),S.e(1916),S.e(4167),S.e(110)]).then((()=>()=>S(948))))),8443:()=>g("default","@next-core/i18n",!1,[1,1,0,85],(()=>Promise.all([S.e(9936),S.e(671),S.e(3171)]).then((()=>()=>S(5552))))),9936:()=>g("default","@next-core/utils/general",!1,[1,1,8,6],(()=>S.e(871).then((()=>()=>S(871))))),1361:()=>g("default","@next-core/http",!1,[0],(()=>S.e(1370).then((()=>()=>S(8989))))),1732:()=>g("default","history",!1,[0],(()=>S.e(5384).then((()=>()=>S(5384))))),1321:()=>g("default","@next-core/cook",!1,[0],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(8741))))),6890:()=>g("default","@next-core/utils/storyboard",!1,[1,1,8,6],(()=>Promise.all([S.e(1030),S.e(4765)]).then((()=>()=>S(7146))))),9933:()=>g("default","@next-core/pipes",!1,[0],(()=>S.e(6519).then((()=>()=>S(6519))))),7825:()=>g("default","react-i18next",!1,[1,12,3,1],(()=>Promise.all([S.e(7434),S.e(8769)]).then((()=>()=>S(7434))))),848:()=>g("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(726))))),5630:()=>g("default","i18next",!1,[0],(()=>S.e(7304).then((()=>()=>S(7304))))),8377:()=>g("default","@easyops-cn/brick-next-pipes",!1,[0],(()=>Promise.all([S.e(4306),S.e(1030),S.e(1916),S.e(5310)]).then((()=>()=>S(4306))))),8769:()=>v("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(4041).then((()=>()=>S(4041))))),870:()=>v("default","@next-core/element",!1,[1,1,2,19],(()=>S.e(1045).then((()=>()=>S(1045))))),9435:()=>v("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(3144).then((()=>()=>S(3144))))),981:()=>v("default","@next-core/react-element",!1,[1,1,0,38],(()=>Promise.all([S.e(870),S.e(9435),S.e(7733)]).then((()=>()=>S(114))))),4167:()=>g("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(1030),S.e(1916),S.e(9933),S.e(9559)]).then((()=>()=>S(9559))))),1858:()=>g("default","moment/locale/zh-cn.js",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(1329))))),5599:()=>g("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(5399))))),9283:()=>g("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(2277))))),4419:()=>g("default","@next-core/theme",!1,[1,1,6,1],(()=>S.e(1889).then((()=>()=>S(1889))))),8002:()=>g("default","@next-core/i18n/react",!1,[1,1,0,85],(()=>Promise.all([S.e(8443),S.e(8097)]).then((()=>()=>S(8097))))),5507:()=>g("default","@next-core/easyops-runtime",!1,[2,0,15,17],(()=>Promise.all([S.e(9118),S.e(1030),S.e(8443),S.e(9936),S.e(1361),S.e(1732),S.e(1321),S.e(6890),S.e(9933),S.e(5310)]).then((()=>()=>S(9118))))),9711:()=>v("default","@next-core/react-runtime",!1,[1,1,7,37],(()=>Promise.all([S.e(1030),S.e(1921),S.e(7218)]).then((()=>()=>S(7218)))))},x={110:[1858,5599,9283],580:[580],671:[848,5630],870:[870],981:[981],1030:[1030],1321:[1321],1361:[1361],1732:[1732],1916:[1916],1921:[1921],4167:[4167],4419:[4419],5310:[5310],5507:[5507],6519:[8377],6890:[6890],8002:[8002],8097:[7825],8443:[8443],8769:[8769],9435:[9435],9711:[9711],9933:[9933],9936:[9936]},w={},S.f.consumes=(e,r)=>{S.o(x,e)&&x[e].forEach((e=>{if(S.o(P,e))return r.push(P[e]);if(!w[e]){var t=r=>{P[e]=0,S.m[e]=t=>{delete S.c[e],t.exports=r()}};w[e]=!0;var n=r=>{delete P[e],S.m[e]=t=>{throw delete S.c[e],r}};try{var a=y[e]();a.then?r.push(P[e]=a.then(t).catch(n)):t(a)}catch(e){n(e)}}}))},(()=>{var e={2219:0};S.f.j=(r,t)=>{var n=S.o(e,r)?e[r]:void 0;if(0!==n)if(n)t.push(n[2]);else if(/^(1((32|36|92)1|030|10|732|916)|5(310|507|80)|8(002|443|70|769)|9(93[36]|435|711|81)|4167|4419|671|6890)$/.test(r))e[r]=0;else{var a=new Promise(((t,a)=>n=e[r]=[t,a]));t.push(n[2]=a);var o=S.p+S.u(r),l=new Error;S.l(o,(t=>{if(S.o(e,r)&&(0!==(n=e[r])&&(e[r]=void 0),n)){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;l.message="Loading chunk "+r+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+r,r)}};var r=(r,t)=>{var n,a,[o,l,i]=t,s=0;if(o.some((r=>0!==e[r]))){for(n in l)S.o(l,n)&&(S.m[n]=l[n]);i&&i(S)}for(r&&r(t);s<o.length;s++)a=o[s],S.o(e,a)&&e[a]&&e[a][0](),e[a]=0},t=globalThis.webpackChunk_next_bricks_nav=globalThis.webpackChunk_next_bricks_nav||[];t.forEach(r.bind(null,0)),t.push=r.bind(null,t.push.bind(t))})(),S.nc=void 0;var E=S(3217);window["bricks/nav"]=E})();
2
- //# sourceMappingURL=index.715d54c7.js.map