@adminui-dev/antd-layout 1.0.7 → 1.0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.esm.js CHANGED
@@ -1,4 +1,4 @@
1
- import e,{createContext as n,useContext as r,useState as t,useEffect as o,useRef as i,useMemo as a,lazy as l,Suspense as s}from"react";import{theme as d,Popover as c,Button as u,Divider as m,Layout as p,ConfigProvider as h,Menu as x,Grid as g,App as f}from"antd";import{useIntl as y,IntlProvider as _}from"react-intl";import{useOutletContext as b,useNavigate as v,useLocation as j,useMatches as w,useNavigation as k,Outlet as S}from"react-router";import{generatePath as C}from"react-router-dom";import{generate as B}from"@ant-design/colors";export{generate}from"@ant-design/colors";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function I(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var P,z={exports:{}},M={};var N,T={};
1
+ import e,{createContext as n,useContext as r,useState as t,useEffect as o,useRef as i,useMemo as a,lazy as l,Suspense as s}from"react";import{Avatar as d,theme as c,Popover as u,Button as m,Divider as p,Layout as h,ConfigProvider as x,Menu as g,Grid as f,App as y}from"antd";import{useIntl as _,IntlProvider as b}from"react-intl";import{useOutletContext as v,useNavigate as j,useLocation as w,useMatches as k,useNavigation as S,Outlet as C}from"react-router";import{generatePath as B}from"react-router-dom";import{generate as I}from"@ant-design/colors";export{generate}from"@ant-design/colors";"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function P(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var z,M={exports:{}},N={};var T,L={};
2
2
  /**
3
3
  * @license React
4
4
  * react-jsx-runtime.development.js
@@ -7,6 +7,6 @@ import e,{createContext as n,useContext as r,useState as t,useEffect as o,useRef
7
7
  *
8
8
  * This source code is licensed under the MIT license found in the
9
9
  * LICENSE file in the root directory of this source tree.
10
- */"production"===process.env.NODE_ENV?z.exports=function(){if(P)return M;P=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(n,r,t){var o=null;if(void 0!==t&&(o=""+t),void 0!==r.key&&(o=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return r=t.ref,{$$typeof:e,type:n,key:o,ref:void 0!==r?r:null,props:t}}return M.Fragment=n,M.jsx=r,M.jsxs=r,M}():z.exports=(N||(N=1,"production"!==process.env.NODE_ENV&&function(){function n(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===S?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case g:return"Profiler";case x:return"StrictMode";case b:return"Suspense";case v:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case p:return"Portal";case y:return e.displayName||"Context";case f:return(e._context.displayName||"Context")+".Consumer";case _:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(r=e.displayName||null)?r:n(e.type)||"Memo";case w:r=e._payload,e=e._init;try{return n(e(r))}catch(e){}}return null}function r(e){return""+e}function t(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var t=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===h)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===w)return"<...>";try{var r=n(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function i(){return Error("react-stack-top-frame")}function a(){var e=n(this.type);return z[e]||(z[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function l(e,r,o,i,l,d){var u,p=r.children;if(void 0!==p)if(i)if(I(p)){for(i=0;i<p.length;i++)s(p[i]);Object.freeze&&Object.freeze(p)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else s(p);if(B.call(r,"key")){p=n(e);var h=Object.keys(r).filter(function(e){return"key"!==e});i=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",L[p+i]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',i,p,h,p),L[p+i]=!0)}if(p=null,void 0!==o&&(t(o),p=""+o),function(e){if(B.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(t(r.key),p=""+r.key),"key"in r)for(var x in o={},r)"key"!==x&&(o[x]=r[x]);else o=r;return p&&function(e,n){function r(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,n,r,t,o,i){var l=r.ref;return e={$$typeof:m,type:e,key:n,props:r,_owner:t},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,p,o,null===(u=C.A)?null:u.getOwner(),l,d)}function s(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===w&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===m}var c,u=e,m=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),y=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),S=Symbol.for("react.client.reference"),C=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=Object.prototype.hasOwnProperty,I=Array.isArray,P=console.createTask?console.createTask:function(){return null},z={},M=(u={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(u,i)(),N=P(o(i)),L={};T.Fragment=h,T.jsx=function(e,n,r){var t=1e4>C.recentlyCreatedOwnerStacks++;return l(e,n,r,!1,t?Error("react-stack-top-frame"):M,t?P(o(e)):N)},T.jsxs=function(e,n,r){var t=1e4>C.recentlyCreatedOwnerStacks++;return l(e,n,r,!0,t?Error("react-stack-top-frame"):M,t?P(o(e)):N)}}()),T);var L=z.exports;function F(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}F("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #root { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.Layout-module_rootBox__3JHjy {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n text-align: initial;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.Layout-module_rootBackground__j3UVG {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.Layout-module_rootBackground__j3UVG>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.Layout-module_rootLayout__jVEEF {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.Layout-module_mainLayout__6W9W9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n");const E=Symbol("LayoutAside"),O=Symbol("LayoutContent"),A=Symbol("LayoutHeader"),W=Symbol("LayoutBackground"),R={headerHeight:50,asideWidth:260,layoutType:"leftMenu",collapsedPosition:"bottom",avatarPosition:"rightTop",theme:"system",primaryColor:"#417ffb"},H=n({setLayoutConfig:()=>{},setLocale:()=>{}}),$=n({locale:"en-US",languages:[],layoutConfig:{},themeSkinMap:{tidy:[],rich:[]}}),X=()=>r($),D=()=>r(H),V=()=>X().layoutConfig.theme;function q(e){return L.jsx("div",{className:"Layout-module_rootBackground__j3UVG",children:L.jsx(L.Fragment,{children:e.children})})}function K(e){return L.jsx(L.Fragment,{children:e.children})}function G(e){return L.jsx(L.Fragment,{children:e.children})}function U(e){return L.jsx(L.Fragment,{children:e.children})}q.displayName="LayoutBackground",q.role=W,K.displayName="LayoutContent",K.role=O,G.displayName="LayoutAside",G.role=E,U.displayName="LayoutHeader",U.role=A;function J(n){let r=null,t=null,o=null,i=null;return e.Children.forEach(n.children,e=>{const n=e.type.role;n===A?r=e:n===O?t=e:n===E?o=e:n===W&&(i=e)}),L.jsx(L.Fragment,{children:L.jsxs("div",{ref:n.ref,className:"layout-module_rootBox__Y8bEx",style:{...n.style},children:[i,L.jsxs("div",{className:"layout-module_rootLayout__TePvr",children:[o,L.jsxs("div",{className:"layout-module_mainLayout__a8Tb9",children:[r,t]})]})]})})}function Y(n){const r=!!document.fullscreenElement,[i,a]=t(r),l=()=>{a(!!document.fullscreenElement)},s=e=>{"F11"===e.code&&(e.preventDefault(),d())};o(()=>(document.addEventListener("fullscreenchange",l),document.addEventListener("keydown",s,!0),()=>{document.removeEventListener("fullscreenchange",l),document.removeEventListener("keydown",s)}),[]);const d=()=>{i?document.exitFullscreen():document.documentElement.requestFullscreen()};if(!n.buttons||n.buttons.length<2)return L.jsx(L.Fragment,{});const[c,u]=n.buttons,m=i?c:u;return e.cloneElement(m,{onClick:e=>{console.log(e),d()}})}F("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #root { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.layout-module_rootBox__Y8bEx {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n text-align: initial;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.layout-module_rootBackground__vEs6e {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.layout-module_rootBackground__vEs6e>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.layout-module_rootLayout__TePvr {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.layout-module_mainLayout__a8Tb9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n"),J.Aside=G,J.Content=K,J.Header=U,J.Background=q;const Z=(e,n)=>{const{r:r,g:t,b:o}=(e=>({r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:9===e.length?(parseInt(e.slice(7,9),16)/255).toFixed(2):1}))(e);return`rgba(${r}, ${t}, ${o}, ${n})`};function Q(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}Q("@layer adminui-layout { \r\n :root{\r\n --pageload-bar-color:#222222;\r\n } \r\n #index_root__t3vw8 {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n\r\n/** Menu icon automatic compact mode */\r\n.index_adminui-menu-icon__sDVLQ {\r\n font-size: var(--adminui-menu-icon-size);\r\n width: var(--adminui-menu-icon-size);\r\n height: var(--adminui-menu-icon-size);\r\n}\r\n");var ee="index-module_headerLayout__rv59v",ne="index-module_headerLayoutSticky__6uFCj",re="index-module_headerLayoutFixed__t5Hmo",te="index-module_headerLayoutBox__h0fIt",oe="index-module_headerMenu__WHmJN",ie="index-module_headerTitle__jGbCX",ae="index-module_headerBrandBox__U2J16",le="index-module_layoutBlur__GpCPx",se="index-module_toolbarPanel__Pp8PS",de="index-module_toolbarItem__RkaXd",ce="index-module_toolbarAvatarItem__p6TXY",ue="index-module_siderBaseStyle__zg1FM",me="index-module_siderMask__cCjMh",pe="index-module_siderContentBox__dGgRe",he="index-module_siderContentItem__kl3cR",xe="index-module_collapsedTrack__LoJ3V",ge="index-module_collapsedTrackButton__m33XS",fe="index-module_brandPanel__2GRgq",ye="index-module_labelBox__dX8fY",_e="index-module_brandNodeBox__W-iM6",be="index-module_brandMobilePanel__m1Diu",ve="index-module_largeBrandPanel__pLn--",je="index-module_title__SbfFY",we="index-module_largeBrandCollPanel__nsGKB",ke="index-module_avatarPanel__fFvCS",Se="index-module_collapsedMobile__Yu8F4",Ce="index-module_round__WoVxM";function Be(e){const{size:n=16}=e;return L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:L.jsx("path",{d:"m15 18-6-6 6-6"})})}function Ie(e){const{size:n=16}=e;return L.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:L.jsx("path",{d:"m9 18 6-6-6-6"})})}function Pe(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M21 5H11"}),L.jsx("path",{d:"M21 12H11"}),L.jsx("path",{d:"M21 19H11"}),L.jsx("path",{d:"m7 8-4 4 4 4"})]})}function ze(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M21 5H11"}),L.jsx("path",{d:"M21 12H11"}),L.jsx("path",{d:"M21 19H11"}),L.jsx("path",{d:"m3 8 4 4-4 4"})]})}function Me(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"m7 15 5 5 5-5"}),L.jsx("path",{d:"m7 9 5-5 5 5"})]})}function Ne(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),L.jsx("circle",{cx:"12",cy:"7",r:"4"})]})}function Te(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),L.jsx("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),L.jsx("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),L.jsx("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})}function Le(e){const{size:n=16}=e;return L.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[L.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),L.jsx("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),L.jsx("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),L.jsx("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})}function Fe(e){const[n,r]=t(!1),{hasChild:i,...a}=e;o(()=>{if(e.src)if("string"==typeof e.src){const n=new Image;n.src=e.src,n.onload=()=>r(!0),n.onerror=()=>r(!0)}else r(!0)},[e.src]);const l={...e.style,transition:"opacity 0.3s ease-out",opacity:n?1:0,display:"flex",justifyItems:"center",alignItems:"center"},s=L.jsx("img",{...a});return e.hasChild?s:L.jsx("div",{style:l,children:s})}Q('@layer base { \r\n\r\n :root { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #ccc;\r\n --sb-thumb-hover: #b3b3b3;\r\n --sb-html-track-color: rgb(250,250,250);\r\n color-scheme: light;\r\n }\r\n\r\n * {\r\n box-sizing: border-box;\r\n scrollbar-width: thin;\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);\r\n }\r\n\r\n html {\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-html-track-color);\r\n }\r\n \r\n @media (prefers-color-scheme: dark) {\r\n :root {\r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49);\r\n --sb-html-track-color: rgb(20,20,20);\r\n color-scheme: dark;\r\n }\r\n }\r\n\r\n :root[style="color-scheme: dark;"],\r\n :root[class="dark"] { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49); \r\n --sb-html-track-color: rgb(20,20,20); \r\n color-scheme: dark; \r\n }\r\n\r\n ::-webkit-scrollbar {\r\n width: 8px;\r\n height: 8px;\r\n background-color: transparent;\r\n } \r\n\r\n ::-webkit-scrollbar-track {\r\n background-color: var(--sb-track-color);\r\n border-radius: 10px;\r\n }\r\n\r\n ::-webkit-scrollbar-thumb {\r\n background-color: var(--sb-thumb-color);\r\n border-radius: 10px; \r\n border: 2px solid var(--sb-track-color);\r\n }\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: var(--sb-thumb-hover);\r\n } \r\n}\r\n/** header */\r\n.index-module_headerLayout__rv59v {\r\n box-sizing: border-box;\r\n min-width: 100%;\r\n padding-block: 0;\r\n padding-inline: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid);\r\n}\r\n\r\n.index-module_headerLayoutSticky__6uFCj {\r\n position: sticky;\r\n width: 100%;\r\n z-index: 100;\r\n top:0;\r\n}\r\n.index-module_headerLayoutFixed__t5Hmo {\r\n position: fixed;\r\n width: 100%;\r\n z-index: 100;\r\n inset-block-start: 0;\r\n inset-inline-end: 0;\r\n}\r\n.index-module_headerLayoutBox__h0fIt {\r\n display: flex;\r\n flex-flow: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n.index-module_headerMenu__WHmJN {\r\n border:0px;\r\n background-color: transparent;\r\n flex:1;\r\n height: 100%;\r\n min-width: 0px;\r\n}\r\n.index-module_headerTitle__jGbCX {\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}\r\n.index-module_headerBrandBox__U2J16 {\r\n width: auto; \r\n}\r\n\r\n.index-module_layoutBlur__GpCPx { \r\n transform: translateZ(0);\r\n backdrop-filter: blur(8px);\r\n}\r\n\r\n.index-module_toolbarPanel__Pp8PS {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarPanel__Pp8PS .index-module_toolbarItem__RkaXd {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY {\r\n display: flex;\r\n align-items: center;\r\n padding-inline: var(--adminui-padding-xs); \r\n gap: 8px;\r\n cursor: pointer;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY span {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n max-width: 100px;\r\n}\r\n\r\n/** sider */\r\n.index-module_siderBaseStyle__zg1FM {\r\n background:\'transparent\'; \r\n padding-bottom: 0px; \r\n z-index: 10;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderMask__cCjMh {\r\n overflow: hidden;\r\n transition:background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n}\r\n.index-module_siderContentBox__dGgRe {\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n width: 100%;\r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderContentItem__kl3cR { \r\n display: flex; \r\n align-items: center;\r\n width: 100%; \r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n.index-module_siderContentItem__kl3cR>div{\r\n display: flex; \r\n align-items: center;\r\n opacity: 1;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_collapsedTrack__LoJ3V {\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n position: absolute;\r\n top:0px;\r\n bottom:0px;\r\n right:-14px;\r\n cursor: pointer;\r\n}\r\n.index-module_collapsedTrack__LoJ3V .index-module_collapsedTrackButton__m33XS {\r\n width: 14px;\r\n height: 36px;\r\n border-top-right-radius: 4px;\r\n border-bottom-right-radius: 4px;\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n opacity: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n\r\n}\r\n.index-module_collapsedTrack__LoJ3V:hover .index-module_collapsedTrackButton__m33XS {\r\n opacity: 1;\r\n}\r\n\r\n/** brand */ \r\n.index-module_brandPanel__2GRgq {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_brandPanel__2GRgq button {\r\n display: flex;\r\n width: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n padding-inline: var(--adminui-padding-xs); \r\n transition: all 0.3s;\r\n\r\n}\r\n.index-module_brandPanel__2GRgq a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s; \r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_brandPanel__2GRgq a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq h4{\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_brandPanel__2GRgq span {\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_brandPanel__2GRgq .index-module_labelBox__dX8fY {\r\n width: 100%; \r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandNodeBox__W-iM6 {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color:var(--adminui-color-primary);\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_brandMobilePanel__m1Diu {\r\n opacity: 0;\r\n width: 0px;\r\n overflow: hidden;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100%;\r\n gap: 8px;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out),padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandMobilePanel__m1Diu a {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.index-module_largeBrandPanel__pLn-- {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column;\r\n gap: 2px;\r\n padding: var(--adminui-padding-lg); \r\n}\r\n\r\n.index-module_largeBrandPanel__pLn-- img {\r\n transition: width var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out); \r\n}\r\n.index-module_largeBrandPanel__pLn--\x3ediv{\r\n opacity: 1;\r\n text-align: center;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column; \r\n overflow: hidden;\r\n width: 100%;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), height var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_largeBrandPanel__pLn-- span {\r\n font-size: large;\r\n width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_largeBrandPanel__pLn-- span.index-module_title__SbfFY {\r\n font-size: small;\r\n color:var(--adminui-color-text-tertiary);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB {\r\n padding: var(--adminui-margin-xxs);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a {\r\n opacity: 1;\r\n color:inherit; \r\n padding: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n/** avatar */\r\n.index-module_avatarPanel__fFvCS {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_avatarPanel__fFvCS a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s;\r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_avatarPanel__fFvCS a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS h4{\r\n width: 90%;\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_avatarPanel__fFvCS span {\r\n width: 90%;\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS .index-module_labelBox__dX8fY {\r\n width: 100%;\r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_collapsedMobile__Yu8F4 { \r\n display: none;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n\r\n\r\n/** container */\r\n.index-module_containerBox__pv0qs {\r\n box-sizing: border-box;\r\n background-color: transparent;\r\n display: flex;\r\n flex-flow: column;\r\n flex:auto;\r\n}\r\n.index-module_containerBox__pv0qs>h3 {\r\n box-sizing: border-box;\r\n line-height: var(--adminui-line-height);\r\n margin:0 0 var(--adminui-margin);\r\n}\r\n.index-module_containerBox__pv0qs>footer{\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n justify-content: center;\r\n width: 100%;\r\n color:var(--adminui-color-text-description);\r\n padding:var(--adminui-padding);\r\n}\r\n.index-module_containerBox__pv0qs>footer>div{\r\n text-align: center;\r\n}\r\n\r\n\r\n/** antd(adminui) */\r\n.index-module_headerLayout__rv59v .adminui-layout-header{\r\n padding-inline: 0px;\r\n}\r\n.index-module_headerLayout__rv59v .adminui-btn,\r\n.index-module_siderBaseStyle__zg1FM .adminui-btn{\r\n font-size: inherit;\r\n}\r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-item::after, \r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-submenu::after { \r\n border-radius: 4px;\r\n}\r\n\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-trigger{\r\n position: absolute; \r\n top:0; \r\n right:0;\r\n height:100%;\r\n}\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-children {\r\n display: flex;\r\n flex-flow: column;\r\n margin-top: 0px;\r\n padding-top: 0px;\r\n\r\n}\r\n\r\n@container (max-width: 576px) { \r\n .index-module_headerLayout__rv59v .adminui-layout-header {\r\n padding-inline-start: var(--adminui-padding-xs);\r\n }\r\n .index-module_headerMenu__WHmJN {\r\n justify-content: end;\r\n max-width: 80px;\r\n } \r\n .index-module_headerBrandBox__U2J16 {\r\n display: none;\r\n }\r\n .index-module_siderMask__cCjMh {\r\n display: none;\r\n }\r\n .index-module_brandMobilePanel__m1Diu {\r\n opacity: 1; \r\n padding-inline: var(--adminui-padding-xs);\r\n justify-content: flex-start;\r\n flex:1;\r\n }\r\n .index-module_largeBrandPanel__pLn-- {\r\n display: none;\r\n }\r\n .index-module_collapsedMobile__Yu8F4 {\r\n display: flex;\r\n }\r\n .index-module_collapsedTrack__LoJ3V {\r\n visibility: collapse;\r\n }\r\n .index-module_toolbarPanel__Pp8PS *[data-adminui-role="desk-toolbar"] {\r\n display: none;\r\n }\r\n .index-module_toolbarAvatarItem__p6TXY span {\r\n display: none;\r\n }\r\n}\r\n');const Ee=n({collapsed:!1,headerHeight:50,flattenMenuMap:{},setCollapsed:()=>{}}),Oe=n({close:()=>{}}),Ae=n({close:()=>{}}),We=Symbol("AsideFooter"),Re=Symbol("AsideHeader"),He=Symbol("AsideContentItems"),$e=Symbol("AsideContentItem"),Xe=Symbol("ContentFooter"),De=Symbol("AvatarPopoverContent"),Ve=Symbol("BrandPopoverContent"),qe=Symbol("SoltContent"),Ke=Symbol("ToolbarExtraItems"),Ge=()=>r(Ee),Ue=()=>Ge().collapsed,Je=()=>b(),Ye=()=>Oe,Ze=()=>Ae,Qe=()=>r(Oe),en=()=>r(Ae);function nn(n){const{icon:r,size:t}=n;return e.isValidElement(r)?e.cloneElement(r,{size:t,style:{fontSize:t-2+"px",...n.style}}):r}const{useToken:rn}=d;function tn(e){const{collapsed:n,iconSize:r,hideTitle:o}=e,{layoutConfig:i}=X(),{token:a}=rn(),{layoutIcons:l,brandPopoverContent:s}=Ge(),[d,m]=t(!1),p=Ze(),h=i.compact?"16px":"20px";let x={justifyContent:"flex-start",paddingInline:i.compact?a.paddingXXS:a.paddingXS,height:"40px",gap:(i.compact?6:8)+"px"},g={height:`${i.headerHeight}px`},f={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",textAlign:"left",alignItems:"center"};i.flated&&(x={...x,paddingInline:a.padding,height:"100%"},g={...g,padding:"0px"});const{brandInfo:y}=i;n?x={...x,paddingInline:`calc(50% - calc(${h} / 2))`}:f={...f,overflow:"hidden"};let _=L.jsx(L.Fragment,{});y?.logo&&(_="string"==typeof y.logo?L.jsx(Fe,{style:{width:h},src:y.logo,alt:y.name}):L.jsx("div",{className:_e,style:{width:h},children:y.logo}));const b=l?.itemMoreIcon||L.jsx(Me,{}),v=L.jsx(u,{type:"text",style:x,iconPlacement:"end",icon:s?L.jsx(nn,{icon:b,size:r||14,style:{opacity:n?"0":"1"}}):void 0,children:L.jsxs("div",{style:f,children:[_,L.jsxs("div",{className:ye,style:{opacity:n?"0":"1"},children:[L.jsx("h4",{children:y?.name}),o?void 0:L.jsx("span",{style:{color:a.colorTextSecondary},children:y?.title})]})]})});return L.jsx("div",{className:fe,style:g,children:s?L.jsx(p.Provider,{value:{close:()=>{m(!1)},record:y},children:L.jsx(c,{open:d,onOpenChange:m,placement:"rightTop",content:s,children:v})}):v})}function on(e){const{collapsed:n,iconSize:r,hideTitle:o}=e,{layoutConfig:i}=X(),{layoutIcons:a,brandPopoverContent:l}=Ge(),{token:s}=rn(),[d,u]=t(!1),m=Ze(),p=i.compact?"16px":"20px";let h={justifyContent:"flex-start",gap:(i.compact?6:8)+"px"},x={height:`${i.headerHeight}px`},g={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};i.flated&&(h={...h,paddingInline:s.padding},x={...x,padding:"0px"});const{brandInfo:f}=i;n?h={...h,paddingInline:`calc(50% - calc(${p} / 2))`}:g={...g,overflow:"hidden"};let y=L.jsx(L.Fragment,{});f?.logo&&(y="string"==typeof f.logo?L.jsx(Fe,{style:{width:p},src:f.logo,alt:f.name}):L.jsx("div",{className:_e,style:{width:p},children:f.logo}));const _=a?.itemMoreIcon||L.jsx(Me,{}),b=l?{}:{href:f?.url},v=L.jsxs("a",{...b,style:h,children:[L.jsxs("div",{style:g,children:[y,L.jsxs("div",{className:ye,style:{opacity:n?"0":"1"},children:[L.jsx("h4",{style:{width:"90%"},children:f?.name}),o?void 0:L.jsx("span",{style:{color:s.colorTextSecondary,width:"90%"},children:f?.title})]})]}),l?L.jsx("div",{style:{opacity:n?"0":"1",display:"flex",placeItems:"center"},children:L.jsx(nn,{icon:_,size:r||14})}):L.jsx(L.Fragment,{})]});return L.jsx("div",{className:fe,style:x,children:l?L.jsx(m.Provider,{value:{close:()=>{u(!1)},record:f},children:L.jsx(c,{open:d,onOpenChange:u,placement:"rightTop",content:l,children:v})}):v})}function an(e){const{layoutConfig:n}=X(),{brandPopoverContent:r}=Ge(),[o,i]=t(!1),a=Ze(),l=n.compact?"16px":"20px",{brandInfo:s}=n;let d=L.jsx(L.Fragment,{});s?.logo&&(d="string"==typeof s.logo?L.jsx(Fe,{style:{width:l},src:s.logo,alt:s.name}):L.jsx("div",{className:_e,style:{width:l},children:s.logo}));let u=r?L.jsx(a.Provider,{value:{close:()=>{i(!1)},record:s},children:L.jsx(c,{open:o,onOpenChange:i,content:r,placement:"rightTop",children:L.jsx("a",{children:d})})}):L.jsx("a",{href:s?.url,children:d});return L.jsxs("div",{className:be,style:e.style,children:[u,L.jsx("div",{className:ie,children:e.children})]})}function ln(e){const{collapsed:n}=e,{brandPopoverContent:r}=Ge(),{layoutConfig:o}=X(),[i,a]=t(!1),l=Ze(),s=n?o.compact?"16px":"20px":o.compact?"56px":"64px",{brandInfo:d}=o,u={opacity:n?"0":"1",height:n?"0px":"auto"};let m=L.jsx(L.Fragment,{});if(!d)return L.jsx(L.Fragment,{});let p=[ve];n&&p.push(we),d?.logo&&(m="string"==typeof d.logo?L.jsx(Fe,{style:{width:s},src:d.logo,alt:d.name}):L.jsx("div",{className:_e,style:{width:s},children:d.logo}));let h=r?L.jsx(l.Provider,{value:{close:()=>{a(!1)},record:d},children:L.jsx(c,{open:i,onOpenChange:a,content:r,placement:"rightTop",children:L.jsx("a",{children:m})})}):L.jsx("a",{href:d?.url,children:m});return L.jsxs("div",{className:p.join(" "),children:[h,L.jsxs("div",{style:u,children:[L.jsx("span",{children:d?.name}),d.title?L.jsx("span",{className:je,children:d?.title}):L.jsx(L.Fragment,{})]})]})}function sn(e){return L.jsx("div",{style:{...e.style},children:e.children})}sn.displayName="BrandPopoverContent",sn.role=Ve;const{useToken:dn}=d;function cn(e){const{collapsed:n,iconSize:r}=e,{layoutConfig:o}=X(),{layoutIcons:i,avatarPopoverContent:a}=Ge(),[l,s]=t(!1),d=Ye(),{token:u}=dn(),m=o.compact?"20px":"24px";let p={justifyContent:"flex-start",gap:(o.compact?6:8)+"px"},h={height:`${o.headerHeight}px`},x={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};o.flated&&(p={...p,paddingInline:u.padding,margin:"0px",height:"100%"},h={...h,padding:"0px"});const{userInfo:g}=o;n?p={...p,paddingInline:`calc(50% - calc(${m} / 2))`}:x={...x,overflow:"hidden"};let f=L.jsx(L.Fragment,{});g?.avatar&&(f="string"==typeof g.avatar?L.jsx(Fe,{style:{width:m,borderRadius:"999px"},src:g.avatar,alt:g.uid}):g.avatar);const y=i?.itemMoreIcon||L.jsx(Me,{}),_=L.jsx("div",{className:ke,style:h,children:L.jsxs("a",{style:p,children:[L.jsxs("div",{style:x,children:[f,L.jsxs("div",{className:ye,style:{opacity:n?"0":"1"},children:[L.jsx("h4",{children:g?.uid}),g?.title?void 0:L.jsx("span",{style:{color:u.colorTextSecondary},children:g?.title})]})]}),a?L.jsx("div",{style:{opacity:n?"0":"1",display:"flex",placeItems:"center"},children:L.jsx(nn,{icon:y,size:r||14})}):L.jsx(L.Fragment,{})]})});return a?L.jsx(d.Provider,{value:{close:()=>s(!1),record:g},children:L.jsx(c,{open:l,onOpenChange:s,placement:"right",content:a,children:_})}):_}function un(e){const{iconSize:n=14}=e,{layoutConfig:r}=X(),{userInfo:o}=r,{avatarPopoverContent:i}=Ge(),[a,l]=t(!1),s=Ye();let d=L.jsx(Ne,{});const u=n+4,m={width:`${u}px`,height:`${u}px`,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer"};o?.avatar&&(d="string"==typeof o.avatar?L.jsx(Fe,{style:{width:u,borderRadius:"999px"},src:o.avatar,alt:o.uid}):o.avatar);const p=L.jsxs("div",{className:ce,children:[L.jsx("div",{style:m,children:d}),L.jsx("span",{children:o?.uid})]});return i?L.jsx(s.Provider,{value:{close:()=>l(!1),record:o},children:L.jsx(c,{open:a,onOpenChange:l,placement:"left",content:i,children:p})}):L.jsx(L.Fragment,{children:p})}function mn(e){return L.jsx("div",{style:{...e.style},children:e.children})}mn.displayName="AvatarPopoverContent",mn.role=De;const{useToken:pn}=d;function hn(e){const{token:n}=pn(),{layoutIcons:r,toolbarExtraItems:t}=Ge(),o=n.Menu?.iconSize||16,[i,a]=r?.fullScreenIcons?.slice(0,2)||[L.jsx(Le,{}),L.jsx(Te,{})],l=L.jsx(nn,{icon:i,size:o}),s=L.jsx(nn,{icon:a,size:o});return L.jsxs("div",{className:se,children:[e.showAvatar?L.jsxs("div",{className:de,children:[L.jsx(un,{iconSize:o+4}),L.jsx(m,{"data-adminui-role":"desk-toolbar",orientation:"vertical"})]}):L.jsx(L.Fragment,{}),t,L.jsx("div",{className:de,"data-adminui-role":"desk-toolbar",children:L.jsx(Y,{buttons:[L.jsx(u,{icon:s,type:"text"},"minimize"),L.jsx(u,{icon:l,type:"text"},"maximize")]})})]})}function xn(e){const n=L.jsx("div",{className:de,"data-adminui-role":"desk-toolbar",children:e.children});return e?L.jsx(L.Fragment,{children:n}):L.jsx(L.Fragment,{})}xn.displayName="ToolbarExtraItems",xn.role=Ke;const{useToken:gn}=d;function fn(e){const{style:n}=e,{collapsed:r,setCollapsed:t,layoutIcons:o}=Ge(),i={display:"flex",justifyContent:"flex-end",alignItems:"center",width:"100%",height:n?.width,backgroundColor:"transparent"},a={display:"flex",width:n?.width,height:"100%",cursor:"pointer",justifyContent:"center",alignItems:"center"},[l,s]=o?.collapsedIcons?.slice(0,2)||[L.jsx(Ie,{}),L.jsx(Be,{})];return L.jsx("div",{style:i,children:L.jsx("div",{style:a,onClick:()=>{t(!r)},children:r?l:s})})}function yn(e){const{style:n,offset:r=0,top:t}=e,{collapsed:o,setCollapsed:i,layoutIcons:a}=Ge(),{token:l}=gn();let s={right:"-14px"},d={backgroundColor:n?.backgroundColor,border:`solid 1px ${l.colorBorderSecondary}`};t&&(s={...s,right:"-12px",display:"initial"},d={...d,width:"24px",height:"24px",borderRadius:"12px",transform:`translateY(${r+10}px)`});const[c,u]=a?.collapsedIcons?.slice(0,2)||[L.jsx(Be,{}),L.jsx(Ie,{})];return L.jsx("div",{className:xe,style:s,onClick:()=>{i(!o)},children:L.jsx("div",{style:d,className:ge,children:o?c:u})})}function _n(e){const{collapsed:n,setCollapsed:r,layoutIcons:t}=Ge(),[o,i]=t?.mobileAsideIcons?.slice(0,2)||[L.jsx(ze,{}),L.jsx(Pe,{})];return L.jsx("div",{className:Se,children:L.jsx(u,{type:"text",style:{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",...e.style},icon:n?o:i,onClick:()=>{r(!n)}})})}const{Header:bn}=p,{useToken:vn}=d;function jn(e){const{layoutConfig:n}=X(),{token:r}=vn(),t=v(),o=n.headerTransparent||n.headerBlur?Z(r.colorBorderSecondary,.6):r.colorBorderSecondary,i=n.hideBorder?"0px":"1px solid "+o,a=n.flated&&"headMenu"==n.layoutType||"dark"==n.theme?"dark":"light",l=n.flated&&"headMenu"==n.layoutType?"dark":"light",s=n.flated&&"headMenu"==n.layoutType?r.colorPrimary:r.colorBgContainer,c={height:e.height+"px",lineHeight:e.height+"px"};let u=L.jsx(L.Fragment,{}),m={...c,borderBottom:i,backgroundColor:n.headerTransparent?"transparent":s};n.headerBlur&&(m={...m,backgroundColor:Z(s,.6),transform:"translateZ(0)",backdropFilter:"blur(8px)"});let g={...c,fontSize:r.Menu?.iconSize,backgroundColor:"transparent",flex:"none"},f=[ee],y=L.jsx(L.Fragment,{});"headMenu"==n.layoutType?(u=L.jsx("div",{style:c}),m={...m,paddingInlineEnd:r.paddingXS+"px"},y=L.jsx("div",{className:ae,style:{width:n?.asideWidth+"px"},children:L.jsx(tn,{collapsed:!1,iconSize:r.Menu?.iconSize,hideTitle:!0})}),f.push(re)):(m={...m,paddingInline:r.paddingXS+"px"},f.push(ne));let _=L.jsx(an,{children:e.title}),b=L.jsx(_n,{iconSize:n.compact?12:14});const j=[te];n.flated||j.push(Ce);let w="dark"==a?[d.darkAlgorithm]:[d.defaultAlgorithm];return L.jsxs(L.Fragment,{children:[u,L.jsx(h,{theme:{algorithm:w},children:L.jsx(p,{className:f.join(" "),style:g,children:L.jsxs(bn,{className:j.join(" "),style:m,children:[b,y,_,L.jsx(x,{onClick:e=>{t(e.key)},defaultSelectedKeys:e.selectedKeys,selectedKeys:e.selectedKeys,mode:"horizontal",theme:l,classNames:{root:oe},items:e.menuData||[]}),L.jsx(hn,{showAvatar:"rightTop"==n.avatarPosition})]})})})]})}const{Sider:wn}=p,{useToken:kn}=d,{useBreakpoint:Sn}=g;function Cn(e){const n=i([]);n.current=e.openerKeys||[];const[r,o]=t(e.openerKeys),{layoutConfig:a}=X(),{asideWidth:l}=a,s=e.headerHeight,{collapsed:d,setCollapsed:c}=Ge(),{token:u}=kn(),m=v(),p=Sn().xs?0:s,h=a.headerTransparent||a.headerBlur?Z(u.colorBorderSecondary,.6):u.colorBorderSecondary,g=a.hideBorder||0==p&&d?"0px":"1px solid "+h,f="headMenu"==a.layoutType?e.headerHeight:0,y="headMenu"==a.layoutType?"calc(100% - "+e.headerHeight+"px)":"100%";let _={width:`${a.asideWidth}px`,height:`${y}`,insetBlockStart:f+"px",maxWidth:`${a.asideWidth}px`,minWidth:`${a.asideWidth}px`,borderRight:g,position:"fixed",transition:"width 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},b={overflow:"auto",flex:1};const j=u.Menu?.iconSize,w="dark"==a.theme?"dark":"light",k=w;let S=0,C=L.jsx(L.Fragment,{});"leftMenu"==a.layoutType&&(S=a.headerHeight||0,C=a.largeBrand?L.jsx(ln,{collapsed:d,iconSize:j}):L.jsx(on,{collapsed:d,iconSize:j,hideTitle:!0}));const B=a.asideTransparent?"transparent":a.asideBlur?Z(u.colorBgContainer,.6):u.colorBgContainer;_={..._,backgroundColor:B},a.asideBlur&&(_={..._,transform:"translateZ(0)",backdropFilter:"blur(8px)"}),d&&(b={...b,overflow:"hidden"});let I=[ue];I.push(le);let P=L.jsx(L.Fragment,{});switch(a.collapsedPosition){case"bottom":P=L.jsx(fn,{iconSize:j,style:{backgroundColor:B,width:`${s}px`,borderRight:g}});break;case"center":case"top":P=L.jsx(yn,{iconSize:12,top:"top"==a.collapsedPosition,flated:a.flated,offset:S,style:{backgroundColor:B}})}let z=e.menuData||[];return a.asideMenuGroup&&z.forEach(e=>{e.children&&(e.type="group")}),L.jsxs(L.Fragment,{children:[L.jsx("div",{style:{width:d?s:l,flex:`0 0 ${d?s:l}px`,maxWidth:d?s:l,minWidth:d?s:l,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},className:me}),L.jsxs(wn,{width:l,className:I.join(" "),style:_,theme:k,collapsedWidth:p,collapsible:!0,trigger:null,breakpoint:"md",collapsed:d,onCollapse:c,children:[p>0?C:L.jsx(L.Fragment,{}),e.header,L.jsx("div",{style:b,children:L.jsx(x,{onClick:e=>{m(e.key)},onOpenChange:e=>{o(e)},style:{border:"0",background:"transparent",position:"relative",minHeight:"100%"},mode:a.asideMenuInline?"inline":"vertical",selectedKeys:e.selectedKeys,openKeys:d?void 0:r,defaultSelectedKeys:e.selectedKeys,defaultOpenKeys:n.current,theme:w,items:z})}),e.footer,"leftBottom"==a.avatarPosition?L.jsx(cn,{collapsed:d,iconSize:j}):L.jsx(L.Fragment,{}),P]})]})}const Bn=e=>e.reduce((e,n)=>{const{children:r,...t}=n;return e[t.path]=t,r&&Object.assign(e,Bn(r)),e},{});function In(e,n){let r=[],t=[];return e.forEach(e=>{e.key==n[1]&&(t=e.children??[]);const o={...e,children:void 0};r.push(o)}),{rootMenuItems:r,childrenMenuItems:t}}const Pn=e=>{let n=[];if(!(null==e||e.length<=0))return e.forEach(e=>{let r=Nn(e);r.children=Pn(e.children),n.push(r)}),n},zn=(e,n)=>{if(e)return e.map(e=>{const r=Mn(e,n),t={...e,label:r};return e.children&&(t.children=zn(e.children,n)),t})},Mn=(e,n)=>((e,n,r,t)=>{if(t){const o="menu"+e.replaceAll("/",".");return t.formatMessage({id:o,defaultMessage:r||n})}return r||n})(e.path||"",e.name,e.label,n),Nn=e=>({key:e.path||e.name,label:e.label||e.name,icon:e.icon,extra:e.extra,title:e.label});function Tn(e){const n="/"===e?"/":e.replace(/\/+$/,"");if("/"===n)return["/"];const r=n.split("/").filter(Boolean),t=["/"];let o="";for(const e of r)o+=`/${e}`,t.push(o);return t}function Ln(e){let n=Tn(e);return n&&n.length>1&&"/"==n[0]&&n.splice(0,1),n}function Fn(e){const n=e.length;if(0===n)return[[],[]];const r=[e[1]],t=new Array(n-2);for(let r=1;r<n;r++)t[r-1]=e[r];return[r,t]}function En(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.map(n=>{const r=function(e,n){let r=n.path||n.name;r?.startsWith("/")&&(r=r.slice(1));r?.startsWith("./")&&(r=r.slice(2));let t=e+r,o={name:t,path:t,label:n.label,originalPath:t,extra:Wn(n.extra),icon:Wn(n.icon)};return o}(e,n);return n.children&&(r.children=En(r.path,n.children)),r})}function On(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.filter(e=>!!e.handle).map(n=>{const r=function(e,n){const{handle:r}=n;let t=n.path;t&&r.params&&(t=C(t,r.params));t?.startsWith("/")&&(t=t.slice(1));let o=e+t,i={...r,path:o,originalPath:n.path,extra:Wn(r.extra),icon:Wn(r.icon)};return i}(e,n);return n.children&&(r.children=On(r.path,n.children)),r})}function An(e,n={}){if(!Object.keys(n).some(e=>null!=n[e]))return e.split("/:")[0];const r=e.split("/"),t=[];for(const e of r)if(e.startsWith(":")){const r=e.slice(1),o=n[r];if(null==o)break;t.push(encodeURIComponent(String(o)))}else t.push(e);return t.join("/")}const Wn=n=>e.isValidElement(n)?n:"function"==typeof n||"object"==typeof n?e.createElement(n):null,{useToken:Rn}=d;function Hn(n){const{layoutConfig:r,themeSkin:o}=X(),i=y(),{token:l}=Rn(),[s,d]=t(!1),c={backgroundColor:l.colorBgLayout};let u=r.headerHeight||56;r.compact&&(u-=4);const m=r.disabledLocale?n.menuData:zn(n.menuData,i),p=m&&m?.length>0?m[0].children:[],h=Bn(m||[]),x=Pn(p),g=j(),f=w(),{pathname:_}=g,b=Ln(_),v=f[f.length-1];let C=[],B=[],I=[],P=[];if("leftMenu"==r.layoutType?(P=x||[],B=b):(I=x||[],C=b),r.splitMenu&&b.length>1){const[e,n]=Fn(b),{rootMenuItems:t,childrenMenuItems:o}=In(x,b);"leftMenu"==r.layoutType?(P=t,I=o,B=e,C=n):(P=o,I=t,C=e,B=n)}const z=e.Children.toArray(n.children),M=z.find(n=>e.isValidElement(n)&&n.type.role===We),N=z.find(n=>e.isValidElement(n)&&n.type.role===Re),T=z.find(n=>e.isValidElement(n)&&n.type.role===Xe),F=z.find(n=>e.isValidElement(n)&&n.type.role===De),E=z.find(n=>e.isValidElement(n)&&n.type.role===Ve),O=z.find(n=>e.isValidElement(n)&&n.type.role===qe),A=z.find(n=>e.isValidElement(n)&&n.type.role===Ke),W=Ee,R=a(()=>({collapsed:s,headerHeight:u,layoutIcons:n.layoutIcons,avatarPopoverContent:F,brandPopoverContent:E,toolbarExtraItems:A,flattenMenuMap:h,setCollapsed:d}),[s,u,n.layoutIcons,h]),H=k();Boolean(H.location),console.log(H);const $=h[v.pathname].label||"";return document.title=$,L.jsxs(L.Fragment,{children:[L.jsx(W,{value:R,children:L.jsxs(J,{...n,style:c,children:[L.jsx(J.Aside,{children:L.jsx(Cn,{headerHeight:u,header:M,footer:N,menuData:P,selectedKeys:B,openerKeys:B})}),L.jsx(J.Header,{children:L.jsx(jn,{height:u,menuData:I,selectedKeys:C,title:$})}),L.jsx(J.Content,{children:L.jsx(S,{context:{title:$,footer:T}})}),L.jsx(J.Background,{children:o?o.backgroundContent:L.jsx(L.Fragment,{})})]})}),O]})}const $n=e=>B(e),Xn=()=>$n("#22222222"),Dn=()=>$n("#FFFFFF");function Vn(e){const n=Ue(),{layoutConfig:r}=X(),t=r.compact?"16px":"20px";let o={justifyContent:"flex-start",paddingInline:r.compact?"14px":"16px",marginInline:"4px",marginBlock:"4px",gap:(r.compact?6:8)+"px"};return n&&(o={...o,paddingInline:`calc(50% - calc(${t} / 2))`}),!e.icon&&n?L.jsx(L.Fragment,{}):L.jsxs("div",{className:he,style:o,children:[L.jsx("div",{children:e.icon}),L.jsx("div",{style:{opacity:n?"0":"1"},children:e.children})]})}function qn(e){return L.jsx(L.Fragment,{children:e.children})}function Kn(e){return L.jsx("div",{className:pe,children:e.children})}function Gn(e){return L.jsx("div",{className:pe,children:e.children})}qn.displayName="AsideContentItems",Vn.displayName="AsideContentItem",Gn.displayName="AsideHeaderContent",Gn.Items=qn,Gn.Item=Vn,Kn.displayName="AsideFooterContent",Kn.Items=qn,Kn.Item=Vn,Kn.role=Re,Gn.role=We,qn.role=He,Vn.role=$e;const Un="adminui-default-config",Jn=()=>{const e=y(),{layoutConfig:n}=X(),{f:r,t:t}=Yn(n.disabledLocale?void 0:e);return{...e,f:r,t:t}},Yn=e=>({f:n=>{const{id:r,defaultMessage:t}=n;return e?e.formatMessage({id:r,defaultMessage:t}):t||r.split(".").pop()},t:(n,r)=>e?e.formatMessage({id:n,defaultMessage:r}):r||n.split(".").pop()}),Zn=e=>{const{brandInfo:n,userInfo:r,...t}=e;return t},Qn=e=>{e||(e=Un);const n=window.localStorage.getItem(e);try{if(n)return JSON.parse(n)}catch(e){console.error(e)}},er=(e,n)=>{n||(n=Un);const{brandInfo:r,userInfo:t,...o}=e,i=JSON.stringify(o);window.localStorage.setItem(n,i)},nr=(e,n)=>{let r={...e};if(n){const e=n.theme.length<2?n.theme[0]:r.theme;r={...r,primaryColor:n.primaryColor??r.primaryColor,containerBlur:n.containerBlur??r.containerBlur,asideBlur:n.asideBlur??r.asideBlur,asideWidth:n.asideWidth??r.asideWidth,headerBlur:n.asideBlur??r.headerBlur,theme:e}}return r},{useToken:rr}=d,tr=e=>L.jsx("div",{...e,children:e.children});function or(e){return L.jsx(L.Fragment,{children:e.children})}tr.displayName="ContentFooter",tr.role=Xe,or.displayName="SoltContent",or.role=qe;const ir="adminui-locale",ar=(e,n)=>{let r;return Object.entries(n).forEach(([n,t])=>{t.forEach(n=>{n.name==e&&(r=n)})}),r};function lr(e){const n=w(),{pathname:r}=n[0],i={...R,...e.layoutConfig,...Qn(r)};let l=e.themeSkins||[];const s=a(()=>(e=>{let n={tidy:[],rich:[]};return e.forEach(e=>{"rich"==e.skinType?n.rich.push(e):n.tidy.push(e)}),n})(l),[l]),c=e.locale||localStorage.getItem(ir)||i.locale||"en-US",u=e.menuData?En("/",[e.menuData]):[],[m,p]=t(()=>{if(i.skinName){const e=ar(i.skinName,s);return nr(i,e)}return i}),[x,g]=t(c),y=$,b=H;let v=e.localeMessages||{};const j=a(()=>(e=>{let n=[];return Object.entries(e).forEach(([e,r])=>{n.push({name:r.name,locale:e,flag:r.flag})}),n})(v),[v]),k=e=>{localStorage.setItem(ir,e),g(e)};document.documentElement.style.setProperty("--pageload-bar-color",m.primaryColor),o(()=>{const e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===m.theme){const n=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return void e.classList.add(n)}e.classList.add(m.theme)},[m.theme]);const S=a(()=>{if(m.skinName)return ar(m.skinName,s)},[l,m.skinName]),C="system"==(B=m.theme)?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":B;var B;const I=e=>{p(e),er(e,r)},P=a(()=>({layoutConfig:m,locale:x,languages:j,themeSkin:S,themeSkinMap:s}),[j,x,j,s,S,m]),z=a(()=>({setLayoutConfig:I,setLocale:k}),[]),M=v[x]||v["en-US"],N=["he","ar","fa","ku"].filter(e=>x.startsWith(e)).length?"rtl":"ltr";let T="dark"===C?[d.darkAlgorithm]:[d.defaultAlgorithm],F=m.menuIconSize||14;const E=m.menuIconSize?.1*(F-10)+10:10;m.compact&&(T.push(d.compactAlgorithm),F-=2);let O={darkSubMenuItemBg:"transparent",subMenuItemBg:"transparent",iconSize:F,fontSize:F,itemMarginInline:m.flated?0:4,iconMarginInlineEnd:E,activeBarHeight:m.compact?2:4,darkPopupBg:Xn()[4]};const A={algorithm:T,token:{colorPrimary:m.primaryColor,borderRadius:m.flated?0:6},components:{Menu:O,Layout:{siderBg:"transparent",triggerBg:"transparent",lightSiderBg:"transparent",lightTriggerBg:"transparent"}}};return L.jsx(y.Provider,{value:P,children:L.jsx(b.Provider,{value:z,children:L.jsx(h,{theme:A,locale:M?.antdLocale,direction:N,modal:{mask:{blur:!1}},drawer:{mask:{blur:!1}},prefixCls:"adminui",children:L.jsx(f,{style:{height:"100%",width:"100%"},children:L.jsx(_,{locale:x,messages:M?.messages,children:L.jsx(Hn,{menuData:u,layoutIcons:e.layoutIcons,children:e.children})})})})})})}lr.AsideHeader=Gn,lr.AsideFooter=Kn,lr.Footer=tr,lr.AvatarPopoverContent=mn,lr.BrandPopoverContent=sn,lr.SoltContent=or,lr.HeaderToolbarExtra=xn;var sr={exports:{}},dr=I(sr.exports=function(){var e,n,r={version:"0.2.0"},t=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,n,r){return e<n?n:e>r?r:e}function i(e){return 100*(-1+e)}function a(e,n,r){var o;return(o="translate3d"===t.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+n+"ms "+r,o}r.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},r.status=null,r.set=function(e){var n=r.isStarted();e=o(e,t.minimum,1),r.status=1===e?null:e;var i=r.render(!n),d=i.querySelector(t.barSelector),c=t.speed,u=t.easing;return i.offsetWidth,l(function(n){""===t.positionUsing&&(t.positionUsing=r.getPositioningCSS()),s(d,a(e,c,u)),1===e?(s(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){s(i,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){r.remove(),n()},c)},c)):setTimeout(n,c)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},t.trickleSpeed)};return t.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var n=r.status;return n?("number"!=typeof e&&(e=(1-n)*o(Math.random()*n,.1,.95)),n=o(n+e,0,.994),r.set(n)):r.start()},r.trickle=function(){return r.inc(Math.random()*t.trickleRate)},e=0,n=0,r.promise=function(t){return t&&"resolved"!==t.state()?(0===n&&r.start(),e++,n++,t.always(function(){0===--n?(e=0,r.done()):r.set((e-n)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=t.template;var o,a=n.querySelector(t.barSelector),l=e?"-100":i(r.status||0),d=document.querySelector(t.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),t.showSpinner||(o=n.querySelector(t.spinnerSelector))&&p(o),d!=document.body&&c(d,"nprogress-custom-parent"),d.appendChild(n),n},r.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,n="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return n+"Perspective"in e?"translate3d":n+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function n(){var r=e.shift();r&&r(n)}return function(r){e.push(r),1==e.length&&n()}}(),s=function(){var e=["Webkit","O","Moz","ms"],n={};function r(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,n){return n.toUpperCase()})}function t(n){var r=document.body.style;if(n in r)return n;for(var t,o=e.length,i=n.charAt(0).toUpperCase()+n.slice(1);o--;)if((t=e[o]+i)in r)return t;return n}function o(e){return e=r(e),n[e]||(n[e]=t(e))}function i(e,n,r){n=o(n),e.style[n]=r}return function(e,n){var r,t,o=arguments;if(2==o.length)for(r in n)void 0!==(t=n[r])&&n.hasOwnProperty(r)&&i(e,r,t);else i(e,o[1],o[2])}}();function d(e,n){return("string"==typeof e?e:m(e)).indexOf(" "+n+" ")>=0}function c(e,n){var r=m(e),t=r+n;d(r,n)||(e.className=t.substring(1))}function u(e,n){var r,t=m(e);d(e,n)&&(r=t.replace(" "+n+" "," "),e.className=r.substring(1,r.length-1))}function m(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r}());
10
+ */"production"===process.env.NODE_ENV?M.exports=function(){if(z)return N;z=1;var e=Symbol.for("react.transitional.element"),n=Symbol.for("react.fragment");function r(n,r,t){var o=null;if(void 0!==t&&(o=""+t),void 0!==r.key&&(o=""+r.key),"key"in r)for(var i in t={},r)"key"!==i&&(t[i]=r[i]);else t=r;return r=t.ref,{$$typeof:e,type:n,key:o,ref:void 0!==r?r:null,props:t}}return N.Fragment=n,N.jsx=r,N.jsxs=r,N}():M.exports=(T||(T=1,"production"!==process.env.NODE_ENV&&function(){function n(e){if(null==e)return null;if("function"==typeof e)return e.$$typeof===S?null:e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case h:return"Fragment";case g:return"Profiler";case x:return"StrictMode";case b:return"Suspense";case v:return"SuspenseList";case k:return"Activity"}if("object"==typeof e)switch("number"==typeof e.tag&&console.error("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."),e.$$typeof){case p:return"Portal";case y:return e.displayName||"Context";case f:return(e._context.displayName||"Context")+".Consumer";case _:var r=e.render;return(e=e.displayName)||(e=""!==(e=r.displayName||r.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case j:return null!==(r=e.displayName||null)?r:n(e.type)||"Memo";case w:r=e._payload,e=e._init;try{return n(e(r))}catch(e){}}return null}function r(e){return""+e}function t(e){try{r(e);var n=!1}catch(e){n=!0}if(n){var t=(n=console).error,o="function"==typeof Symbol&&Symbol.toStringTag&&e[Symbol.toStringTag]||e.constructor.name||"Object";return t.call(n,"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",o),r(e)}}function o(e){if(e===h)return"<>";if("object"==typeof e&&null!==e&&e.$$typeof===w)return"<...>";try{var r=n(e);return r?"<"+r+">":"<...>"}catch(e){return"<...>"}}function i(){return Error("react-stack-top-frame")}function a(){var e=n(this.type);return z[e]||(z[e]=!0,console.error("Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release.")),void 0!==(e=this.props.ref)?e:null}function l(e,r,o,i,l,d){var u,p=r.children;if(void 0!==p)if(i)if(I(p)){for(i=0;i<p.length;i++)s(p[i]);Object.freeze&&Object.freeze(p)}else console.error("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");else s(p);if(B.call(r,"key")){p=n(e);var h=Object.keys(r).filter(function(e){return"key"!==e});i=0<h.length?"{key: someKey, "+h.join(": ..., ")+": ...}":"{key: someKey}",T[p+i]||(h=0<h.length?"{"+h.join(": ..., ")+": ...}":"{}",console.error('A props object containing a "key" prop is being spread into JSX:\n let props = %s;\n <%s {...props} />\nReact keys must be passed directly to JSX without using spread:\n let props = %s;\n <%s key={someKey} {...props} />',i,p,h,p),T[p+i]=!0)}if(p=null,void 0!==o&&(t(o),p=""+o),function(e){if(B.call(e,"key")){var n=Object.getOwnPropertyDescriptor(e,"key").get;if(n&&n.isReactWarning)return!1}return void 0!==e.key}(r)&&(t(r.key),p=""+r.key),"key"in r)for(var x in o={},r)"key"!==x&&(o[x]=r[x]);else o=r;return p&&function(e,n){function r(){c||(c=!0,console.error("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",n))}r.isReactWarning=!0,Object.defineProperty(e,"key",{get:r,configurable:!0})}(o,"function"==typeof e?e.displayName||e.name||"Unknown":e),function(e,n,r,t,o,i){var l=r.ref;return e={$$typeof:m,type:e,key:n,props:r,_owner:t},null!==(void 0!==l?l:null)?Object.defineProperty(e,"ref",{enumerable:!1,get:a}):Object.defineProperty(e,"ref",{enumerable:!1,value:null}),e._store={},Object.defineProperty(e._store,"validated",{configurable:!1,enumerable:!1,writable:!0,value:0}),Object.defineProperty(e,"_debugInfo",{configurable:!1,enumerable:!1,writable:!0,value:null}),Object.defineProperty(e,"_debugStack",{configurable:!1,enumerable:!1,writable:!0,value:o}),Object.defineProperty(e,"_debugTask",{configurable:!1,enumerable:!1,writable:!0,value:i}),Object.freeze&&(Object.freeze(e.props),Object.freeze(e)),e}(e,p,o,null===(u=C.A)?null:u.getOwner(),l,d)}function s(e){d(e)?e._store&&(e._store.validated=1):"object"==typeof e&&null!==e&&e.$$typeof===w&&("fulfilled"===e._payload.status?d(e._payload.value)&&e._payload.value._store&&(e._payload.value._store.validated=1):e._store&&(e._store.validated=1))}function d(e){return"object"==typeof e&&null!==e&&e.$$typeof===m}var c,u=e,m=Symbol.for("react.transitional.element"),p=Symbol.for("react.portal"),h=Symbol.for("react.fragment"),x=Symbol.for("react.strict_mode"),g=Symbol.for("react.profiler"),f=Symbol.for("react.consumer"),y=Symbol.for("react.context"),_=Symbol.for("react.forward_ref"),b=Symbol.for("react.suspense"),v=Symbol.for("react.suspense_list"),j=Symbol.for("react.memo"),w=Symbol.for("react.lazy"),k=Symbol.for("react.activity"),S=Symbol.for("react.client.reference"),C=u.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,B=Object.prototype.hasOwnProperty,I=Array.isArray,P=console.createTask?console.createTask:function(){return null},z={},M=(u={react_stack_bottom_frame:function(e){return e()}}).react_stack_bottom_frame.bind(u,i)(),N=P(o(i)),T={};L.Fragment=h,L.jsx=function(e,n,r){var t=1e4>C.recentlyCreatedOwnerStacks++;return l(e,n,r,!1,t?Error("react-stack-top-frame"):M,t?P(o(e)):N)},L.jsxs=function(e,n,r){var t=1e4>C.recentlyCreatedOwnerStacks++;return l(e,n,r,!0,t?Error("react-stack-top-frame"):M,t?P(o(e)):N)}}()),L);var F=M.exports;function E(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}E("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #root { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.Layout-module_rootBox__3JHjy {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n text-align: initial;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.Layout-module_rootBackground__j3UVG {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.Layout-module_rootBackground__j3UVG>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.Layout-module_rootLayout__jVEEF {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.Layout-module_mainLayout__6W9W9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n");const O=Symbol("LayoutAside"),A=Symbol("LayoutContent"),W=Symbol("LayoutHeader"),R=Symbol("LayoutBackground"),H={headerHeight:50,asideWidth:260,layoutType:"leftMenu",collapsedPosition:"bottom",avatarPosition:"rightTop",theme:"system",primaryColor:"#417ffb"},$=n({setLayoutConfig:()=>{},setLocale:()=>{}}),X=n({locale:"en-US",languages:[],layoutConfig:{},themeSkinMap:{tidy:[],rich:[]}}),D=()=>r(X),V=()=>r($),q=()=>D().layoutConfig.theme;function K(e){return F.jsx("div",{className:"Layout-module_rootBackground__j3UVG",children:F.jsx(F.Fragment,{children:e.children})})}function G(e){return F.jsx(F.Fragment,{children:e.children})}function U(e){return F.jsx(F.Fragment,{children:e.children})}function J(e){return F.jsx(F.Fragment,{children:e.children})}K.displayName="LayoutBackground",K.role=R,G.displayName="LayoutContent",G.role=A,U.displayName="LayoutAside",U.role=O,J.displayName="LayoutHeader",J.role=W;function Y(n){let r=null,t=null,o=null,i=null;return e.Children.forEach(n.children,e=>{const n=e.type.role;n===W?r=e:n===A?t=e:n===O?o=e:n===R&&(i=e)}),F.jsx(F.Fragment,{children:F.jsxs("div",{ref:n.ref,className:"layout-module_rootBox__Y8bEx",style:{...n.style},children:[i,F.jsxs("div",{className:"layout-module_rootLayout__TePvr",children:[o,F.jsxs("div",{className:"layout-module_mainLayout__a8Tb9",children:[r,t]})]})]})})}function Z(n){const r=!!document.fullscreenElement,[i,a]=t(r),l=()=>{a(!!document.fullscreenElement)},s=e=>{"F11"===e.code&&(e.preventDefault(),d())};o(()=>(document.addEventListener("fullscreenchange",l),document.addEventListener("keydown",s,!0),()=>{document.removeEventListener("fullscreenchange",l),document.removeEventListener("keydown",s)}),[]);const d=()=>{i?document.exitFullscreen():document.documentElement.requestFullscreen()};if(!n.buttons||n.buttons.length<2)return F.jsx(F.Fragment,{});const[c,u]=n.buttons,m=i?c:u;return e.cloneElement(m,{onClick:e=>{console.log(e),d()}})}E("@layer base {\r\n html, body {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%; \r\n height: 100%;\r\n }\r\n #root { \r\n text-align: initial;\r\n width: 100%;\r\n height:100%\r\n } \r\n}\r\n*, *:before, *:after {\r\n box-sizing: border-box;\r\n}\r\n.layout-module_rootBox__Y8bEx {\r\n text-rendering: optimizeLegibility;\r\n -webkit-font-smoothing: antialiased;\r\n -moz-osx-font-smoothing: grayscale;\r\n text-align: initial;\r\n width: 100%;\r\n min-height: 100%;\r\n}\r\n.layout-module_rootBackground__vEs6e {\r\n box-sizing: border-box; \r\n pointer-events: none;\r\n inset-block-start:0;\r\n inset-inline-start:0; \r\n width: 100%; \r\n min-width: 100vw;\r\n height:100%;\r\n min-height: 100vh;\r\n overflow: hidden;\r\n position: fixed;\r\n z-index: 0;\r\n}\r\n.layout-module_rootBackground__vEs6e>div{\r\n width:100%;\r\n height: 100%;\r\n overflow: hidden;\r\n}\r\n.layout-module_rootLayout__TePvr {\r\n position: relative;\r\n z-index: 1;\r\n box-sizing: border-box; \r\n width: 100%;\r\n min-height: 100%;\r\n display: flex; \r\n flex-flow: row;\r\n background-color: transparent;\r\n container-type: inline-size;\r\n}\r\n\r\n.layout-module_mainLayout__a8Tb9 {\r\n box-sizing: border-box; \r\n display: flex;\r\n flex-flow: column; \r\n width: 100%;\r\n}\r\n"),Y.Aside=U,Y.Content=G,Y.Header=J,Y.Background=K;const Q=(e,n)=>{const{r:r,g:t,b:o}=(e=>({r:parseInt(e.slice(1,3),16),g:parseInt(e.slice(3,5),16),b:parseInt(e.slice(5,7),16),a:9===e.length?(parseInt(e.slice(7,9),16)/255).toFixed(2):1}))(e);return`rgba(${r}, ${t}, ${o}, ${n})`};function ee(e,n){void 0===n&&(n={});var r=n.insertAt;if(e&&"undefined"!=typeof document){var t=document.head||document.getElementsByTagName("head")[0],o=document.createElement("style");o.type="text/css","top"===r&&t.firstChild?t.insertBefore(o,t.firstChild):t.appendChild(o),o.styleSheet?o.styleSheet.cssText=e:o.appendChild(document.createTextNode(e))}}ee("@layer adminui-layout { \r\n :root{\r\n --pageload-bar-color:#222222;\r\n } \r\n #index_root__t3vw8 {\r\n padding: 0;\r\n margin: 0;\r\n border: 0;\r\n width: 100%;\r\n height: 100%;\r\n }\r\n}\r\n\r\n/** Menu icon automatic compact mode */\r\n.index_adminui-menu-icon__sDVLQ {\r\n font-size: var(--adminui-menu-icon-size);\r\n width: var(--adminui-menu-icon-size);\r\n height: var(--adminui-menu-icon-size);\r\n}\r\n");var ne="index-module_headerLayout__rv59v",re="index-module_headerLayoutSticky__6uFCj",te="index-module_headerLayoutFixed__t5Hmo",oe="index-module_headerLayoutBox__h0fIt",ie="index-module_headerMenu__WHmJN",ae="index-module_headerTitle__jGbCX",le="index-module_headerBrandBox__U2J16",se="index-module_layoutBlur__GpCPx",de="index-module_toolbarPanel__Pp8PS",ce="index-module_toolbarItem__RkaXd",ue="index-module_toolbarAvatarItem__p6TXY",me="index-module_siderBaseStyle__zg1FM",pe="index-module_siderMask__cCjMh",he="index-module_siderContentBox__dGgRe",xe="index-module_siderContentItem__kl3cR",ge="index-module_collapsedTrack__LoJ3V",fe="index-module_collapsedTrackButton__m33XS",ye="index-module_brandPanel__2GRgq",_e="index-module_labelBox__dX8fY",be="index-module_brandNodeBox__W-iM6",ve="index-module_brandMobilePanel__m1Diu",je="index-module_largeBrandPanel__pLn--",we="index-module_title__SbfFY",ke="index-module_largeBrandCollPanel__nsGKB",Se="index-module_avatarPanel__fFvCS",Ce="index-module_collapsedMobile__Yu8F4",Be="index-module_round__WoVxM";function Ie(e){const{size:n=16}=e;return F.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:F.jsx("path",{d:"m15 18-6-6 6-6"})})}function Pe(e){const{size:n=16}=e;return F.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:F.jsx("path",{d:"m9 18 6-6-6-6"})})}function ze(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M21 5H11"}),F.jsx("path",{d:"M21 12H11"}),F.jsx("path",{d:"M21 19H11"}),F.jsx("path",{d:"m7 8-4 4 4 4"})]})}function Me(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M21 5H11"}),F.jsx("path",{d:"M21 12H11"}),F.jsx("path",{d:"M21 19H11"}),F.jsx("path",{d:"m3 8 4 4-4 4"})]})}function Ne(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"m7 15 5 5 5-5"}),F.jsx("path",{d:"m7 9 5-5 5 5"})]})}function Te(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2"}),F.jsx("circle",{cx:"12",cy:"7",r:"4"})]})}function Le(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M8 3v3a2 2 0 0 1-2 2H3"}),F.jsx("path",{d:"M21 8h-3a2 2 0 0 1-2-2V3"}),F.jsx("path",{d:"M3 16h3a2 2 0 0 1 2 2v3"}),F.jsx("path",{d:"M16 21v-3a2 2 0 0 1 2-2h3"})]})}function Fe(e){const{size:n=16}=e;return F.jsxs("svg",{xmlns:"http://www.w3.org/2000/svg",width:n,height:n,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",children:[F.jsx("path",{d:"M8 3H5a2 2 0 0 0-2 2v3"}),F.jsx("path",{d:"M21 8V5a2 2 0 0 0-2-2h-3"}),F.jsx("path",{d:"M3 16v3a2 2 0 0 0 2 2h3"}),F.jsx("path",{d:"M16 21h3a2 2 0 0 0 2-2v-3"})]})}function Ee(e){const[n,r]=t(!1);return o(()=>{if(e.src)if("string"==typeof e.src){const n=new Image;n.src=e.src,n.onload=()=>r(!0),n.onerror=()=>r(!0)}else r(!0)},[e.src]),F.jsx(d,{...e,style:{...e.style,opacity:n?1:0,transition:"opacity 0.3s ease-out"}})}function Oe(e){const[n,r]=t(!1),{hasChild:i,...a}=e;o(()=>{if(e.src)if("string"==typeof e.src){const n=new Image;n.src=e.src,n.onload=()=>r(!0),n.onerror=()=>r(!0)}else r(!0)},[e.src]);const l={...e.style,transition:"opacity 0.3s ease-out",opacity:n?1:0,display:"flex",justifyItems:"center",alignItems:"center"},s=F.jsx("img",{...a});return e.hasChild?s:F.jsx("div",{style:l,children:s})}ee('@layer base { \r\n\r\n :root { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #ccc;\r\n --sb-thumb-hover: #b3b3b3;\r\n --sb-html-track-color: rgb(250,250,250);\r\n color-scheme: light;\r\n }\r\n\r\n * {\r\n box-sizing: border-box;\r\n scrollbar-width: thin;\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-track-color);\r\n }\r\n\r\n html {\r\n scrollbar-color: var(--sb-thumb-color) var(--sb-html-track-color);\r\n }\r\n \r\n @media (prefers-color-scheme: dark) {\r\n :root {\r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49);\r\n --sb-html-track-color: rgb(20,20,20);\r\n color-scheme: dark;\r\n }\r\n }\r\n\r\n :root[style="color-scheme: dark;"],\r\n :root[class="dark"] { \r\n --sb-track-color: transparent;\r\n --sb-thumb-color: #383838;\r\n --sb-thumb-hover: rgb(49, 49, 49); \r\n --sb-html-track-color: rgb(20,20,20); \r\n color-scheme: dark; \r\n }\r\n\r\n ::-webkit-scrollbar {\r\n width: 8px;\r\n height: 8px;\r\n background-color: transparent;\r\n } \r\n\r\n ::-webkit-scrollbar-track {\r\n background-color: var(--sb-track-color);\r\n border-radius: 10px;\r\n }\r\n\r\n ::-webkit-scrollbar-thumb {\r\n background-color: var(--sb-thumb-color);\r\n border-radius: 10px; \r\n border: 2px solid var(--sb-track-color);\r\n }\r\n ::-webkit-scrollbar-thumb:hover {\r\n background-color: var(--sb-thumb-hover);\r\n } \r\n}\r\n/** header */\r\n.index-module_headerLayout__rv59v {\r\n box-sizing: border-box;\r\n min-width: 100%;\r\n padding-block: 0;\r\n padding-inline: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid);\r\n}\r\n\r\n.index-module_headerLayoutSticky__6uFCj {\r\n position: sticky;\r\n width: 100%;\r\n z-index: 100;\r\n top:0;\r\n}\r\n.index-module_headerLayoutFixed__t5Hmo {\r\n position: fixed;\r\n width: 100%;\r\n z-index: 100;\r\n inset-block-start: 0;\r\n inset-inline-end: 0;\r\n}\r\n.index-module_headerLayoutBox__h0fIt {\r\n display: flex;\r\n flex-flow: row;\r\n justify-content: space-between;\r\n align-items: center;\r\n}\r\n.index-module_headerMenu__WHmJN {\r\n border:0px;\r\n background-color: transparent;\r\n flex:1;\r\n height: 100%;\r\n min-width: 0px;\r\n}\r\n.index-module_headerTitle__jGbCX {\r\n white-space: nowrap;\r\n text-overflow: ellipsis;\r\n}\r\n.index-module_headerBrandBox__U2J16 {\r\n width: auto; \r\n}\r\n\r\n.index-module_layoutBlur__GpCPx { \r\n transform: translateZ(0);\r\n backdrop-filter: blur(8px);\r\n}\r\n\r\n.index-module_toolbarPanel__Pp8PS {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarPanel__Pp8PS .index-module_toolbarItem__RkaXd {\r\n display: flex;\r\n justify-content: end;\r\n align-items: center;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY {\r\n display: flex;\r\n align-items: center;\r\n padding-inline: var(--adminui-padding-xs); \r\n gap: 8px;\r\n cursor: pointer;\r\n}\r\n.index-module_toolbarAvatarItem__p6TXY span {\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n max-width: 100px;\r\n}\r\n\r\n/** sider */\r\n.index-module_siderBaseStyle__zg1FM {\r\n background:\'transparent\'; \r\n padding-bottom: 0px; \r\n z-index: 10;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderMask__cCjMh {\r\n overflow: hidden;\r\n transition:background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)\r\n}\r\n.index-module_siderContentBox__dGgRe {\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n width: 100%;\r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_siderContentItem__kl3cR { \r\n display: flex; \r\n align-items: center;\r\n width: 100%; \r\n min-height: 0px;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n.index-module_siderContentItem__kl3cR>div{\r\n display: flex; \r\n align-items: center;\r\n opacity: 1;\r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n}\r\n\r\n.index-module_collapsedTrack__LoJ3V {\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n position: absolute;\r\n top:0px;\r\n bottom:0px;\r\n right:-14px;\r\n cursor: pointer;\r\n}\r\n.index-module_collapsedTrack__LoJ3V .index-module_collapsedTrackButton__m33XS {\r\n width: 14px;\r\n height: 36px;\r\n border-top-right-radius: 4px;\r\n border-bottom-right-radius: 4px;\r\n display: flex;\r\n flex-flow: column;\r\n justify-content: center;\r\n align-items: center; \r\n opacity: 0; \r\n transition: opacity var(--adminui-motion-duration-mid), padding var(--adminui-motion-duration-mid), width var(--adminui-motion-duration-mid); \r\n\r\n}\r\n.index-module_collapsedTrack__LoJ3V:hover .index-module_collapsedTrackButton__m33XS {\r\n opacity: 1;\r\n}\r\n\r\n/** brand */ \r\n.index-module_brandPanel__2GRgq {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_brandPanel__2GRgq button {\r\n display: flex;\r\n width: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n padding-inline: var(--adminui-padding-xs); \r\n transition: all 0.3s;\r\n\r\n}\r\n.index-module_brandPanel__2GRgq a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s; \r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_brandPanel__2GRgq a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_brandPanel__2GRgq h4{\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_brandPanel__2GRgq span {\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_brandPanel__2GRgq .index-module_labelBox__dX8fY {\r\n width: 100%; \r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandNodeBox__W-iM6 {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n color:var(--adminui-color-primary);\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_brandMobilePanel__m1Diu {\r\n opacity: 0;\r\n width: 0px;\r\n overflow: hidden;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n height: 100%;\r\n gap: 8px;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), width var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out),padding var(--adminui-motion-duration-mid) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_brandMobilePanel__m1Diu a {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n.index-module_largeBrandPanel__pLn-- {\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column;\r\n gap: 2px;\r\n padding: var(--adminui-padding-lg); \r\n}\r\n\r\n.index-module_largeBrandPanel__pLn-- img {\r\n transition: width var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out); \r\n}\r\n.index-module_largeBrandPanel__pLn--\x3ediv{\r\n opacity: 1;\r\n text-align: center;\r\n display: flex;\r\n justify-content: center;\r\n align-items: center;\r\n flex-flow: column; \r\n overflow: hidden;\r\n width: 100%;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out), height var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n.index-module_largeBrandPanel__pLn-- span {\r\n font-size: large;\r\n width: 100%;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_largeBrandPanel__pLn-- span.index-module_title__SbfFY {\r\n font-size: small;\r\n color:var(--adminui-color-text-tertiary);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB {\r\n padding: var(--adminui-margin-xxs);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a {\r\n opacity: 1;\r\n color:inherit; \r\n padding: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_largeBrandCollPanel__nsGKB a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n/** avatar */\r\n.index-module_avatarPanel__fFvCS {\r\n display: flex;\r\n align-items: center;\r\n justify-content: center;\r\n padding:var(--adminui-margin-xxs);\r\n}\r\n.index-module_avatarPanel__fFvCS a {\r\n display: flex;\r\n width: 100%;\r\n height: 100%;\r\n align-items: center;\r\n opacity: 1;\r\n color:inherit; \r\n transition: all 0.3s;\r\n padding-inline: var(--adminui-padding-xs);\r\n border-radius: var(--adminui-border-radius-lg);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS a:hover{\r\n background-color: var(--adminui-control-item-bg-hover);\r\n}\r\n.index-module_avatarPanel__fFvCS a:active{\r\n background-color: var(--adminui-control-item-bg-active);\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS h4{\r\n width: 90%;\r\n margin:0px;\r\n padding:0px;\r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n.index-module_avatarPanel__fFvCS span {\r\n width: 90%;\r\n margin:0px; \r\n line-height: 1rem;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n min-width: 0;\r\n}\r\n\r\n.index-module_avatarPanel__fFvCS .index-module_labelBox__dX8fY {\r\n width: 100%;\r\n display:flex;\r\n flex-flow:column;\r\n justify-content:space-between;\r\n transition: opacity var(--adminui-motion-duration-slow) var(--adminui-motion-ease-in-out);\r\n}\r\n\r\n.index-module_collapsedMobile__Yu8F4 { \r\n display: none;\r\n justify-content: center;\r\n align-items: center;\r\n}\r\n\r\n\r\n\r\n/** container */\r\n.index-module_containerBox__pv0qs {\r\n box-sizing: border-box;\r\n background-color: transparent;\r\n display: flex;\r\n flex-flow: column;\r\n flex:auto;\r\n}\r\n.index-module_containerBox__pv0qs>h3 {\r\n box-sizing: border-box;\r\n line-height: var(--adminui-line-height);\r\n margin:0 0 var(--adminui-margin);\r\n}\r\n.index-module_containerBox__pv0qs>footer{\r\n display: flex;\r\n flex-flow: column;\r\n align-items: center;\r\n justify-content: center;\r\n width: 100%;\r\n color:var(--adminui-color-text-description);\r\n padding:var(--adminui-padding);\r\n}\r\n.index-module_containerBox__pv0qs>footer>div{\r\n text-align: center;\r\n}\r\n\r\n\r\n/** antd(adminui) */\r\n.index-module_headerLayout__rv59v .adminui-layout-header{\r\n padding-inline: 0px;\r\n}\r\n.index-module_headerLayout__rv59v .adminui-btn,\r\n.index-module_siderBaseStyle__zg1FM .adminui-btn{\r\n font-size: inherit;\r\n}\r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-item::after, \r\n.index-module_headerLayoutBox__h0fIt.index-module_round__WoVxM .adminui-menu-horizontal >.adminui-menu-submenu::after { \r\n border-radius: 4px;\r\n}\r\n\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-trigger{\r\n position: absolute; \r\n top:0; \r\n right:0;\r\n height:100%;\r\n}\r\n.index-module_siderBaseStyle__zg1FM .adminui-layout-sider-children {\r\n display: flex;\r\n flex-flow: column;\r\n margin-top: 0px;\r\n padding-top: 0px;\r\n\r\n}\r\n\r\n@container (max-width: 576px) { \r\n .index-module_headerLayout__rv59v .adminui-layout-header {\r\n padding-inline-start: var(--adminui-padding-xs);\r\n }\r\n .index-module_headerMenu__WHmJN {\r\n justify-content: end;\r\n max-width: 80px;\r\n } \r\n .index-module_headerBrandBox__U2J16 {\r\n display: none;\r\n }\r\n .index-module_siderMask__cCjMh {\r\n display: none;\r\n }\r\n .index-module_brandMobilePanel__m1Diu {\r\n opacity: 1; \r\n padding-inline: var(--adminui-padding-xs);\r\n justify-content: flex-start;\r\n flex:1;\r\n }\r\n .index-module_largeBrandPanel__pLn-- {\r\n display: none;\r\n }\r\n .index-module_collapsedMobile__Yu8F4 {\r\n display: flex;\r\n }\r\n .index-module_collapsedTrack__LoJ3V {\r\n visibility: collapse;\r\n }\r\n .index-module_toolbarPanel__Pp8PS *[data-adminui-role="desk-toolbar"] {\r\n display: none;\r\n }\r\n .index-module_toolbarAvatarItem__p6TXY span {\r\n display: none;\r\n }\r\n}\r\n');const Ae=n({collapsed:!1,headerHeight:50,flattenMenuMap:{},setCollapsed:()=>{}}),We=n({close:()=>{}}),Re=n({close:()=>{}}),He=Symbol("AsideFooter"),$e=Symbol("AsideHeader"),Xe=Symbol("AsideContentItems"),De=Symbol("AsideContentItem"),Ve=Symbol("ContentFooter"),qe=Symbol("AvatarPopoverContent"),Ke=Symbol("BrandPopoverContent"),Ge=Symbol("SoltContent"),Ue=Symbol("ToolbarExtraItems"),Je=()=>r(Ae),Ye=()=>Je().collapsed,Ze=()=>v(),Qe=()=>We,en=()=>Re,nn=()=>r(We),rn=()=>r(Re);function tn(n){const{icon:r,size:t}=n;return e.isValidElement(r)?e.cloneElement(r,{size:t,style:{fontSize:t-2+"px",...n.style}}):r}const{useToken:on}=c;function an(e){const{collapsed:n,iconSize:r,hideTitle:o}=e,{layoutConfig:i}=D(),{token:a}=on(),{layoutIcons:l,brandPopoverContent:s}=Je(),[d,c]=t(!1),p=en(),h=i.compact?"16px":"20px";let x={justifyContent:"flex-start",paddingInline:i.compact?a.paddingXXS:a.paddingXS,height:"40px",gap:(i.compact?6:8)+"px"},g={height:`${i.headerHeight}px`},f={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",textAlign:"left",alignItems:"center"};i.flated&&(x={...x,paddingInline:a.padding,height:"100%"},g={...g,padding:"0px"});const{brandInfo:y}=i;n?x={...x,paddingInline:`calc(50% - calc(${h} / 2))`}:f={...f,overflow:"hidden"};let _=F.jsx(F.Fragment,{});y?.logo&&(_="string"==typeof y.logo?F.jsx(Oe,{style:{width:h},src:y.logo,alt:y.name}):F.jsx("div",{className:be,style:{width:h},children:y.logo}));const b=l?.itemMoreIcon||F.jsx(Ne,{}),v=F.jsx(m,{type:"text",style:x,iconPlacement:"end",icon:s?F.jsx(tn,{icon:b,size:r||14,style:{opacity:n?"0":"1"}}):void 0,children:F.jsxs("div",{style:f,children:[_,F.jsxs("div",{className:_e,style:{opacity:n?"0":"1"},children:[F.jsx("h4",{children:y?.name}),o?void 0:F.jsx("span",{style:{color:a.colorTextSecondary},children:y?.title})]})]})});return F.jsx("div",{className:ye,style:g,children:s?F.jsx(p.Provider,{value:{close:()=>{c(!1)},record:y},children:F.jsx(u,{open:d,onOpenChange:c,placement:"rightTop",content:s,children:v})}):v})}function ln(e){const{collapsed:n,iconSize:r,hideTitle:o}=e,{layoutConfig:i}=D(),{layoutIcons:a,brandPopoverContent:l}=Je(),{token:s}=on(),[d,c]=t(!1),m=en(),p=i.compact?"16px":"20px";let h={justifyContent:"flex-start",gap:(i.compact?6:8)+"px"},x={height:`${i.headerHeight}px`},g={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};i.flated&&(h={...h,paddingInline:s.padding},x={...x,padding:"0px"});const{brandInfo:f}=i;n?h={...h,paddingInline:`calc(50% - calc(${p} / 2))`}:g={...g,overflow:"hidden"};let y=F.jsx(F.Fragment,{});f?.logo&&(y="string"==typeof f.logo?F.jsx(Oe,{style:{width:p},src:f.logo,alt:f.name}):F.jsx("div",{className:be,style:{width:p},children:f.logo}));const _=a?.itemMoreIcon||F.jsx(Ne,{}),b=l?{}:{href:f?.url},v=F.jsxs("a",{...b,style:h,children:[F.jsxs("div",{style:g,children:[y,F.jsxs("div",{className:_e,style:{opacity:n?"0":"1"},children:[F.jsx("h4",{style:{width:"90%"},children:f?.name}),o?void 0:F.jsx("span",{style:{color:s.colorTextSecondary,width:"90%"},children:f?.title})]})]}),l?F.jsx("div",{style:{opacity:n?"0":"1",display:"flex",placeItems:"center"},children:F.jsx(tn,{icon:_,size:r||14})}):F.jsx(F.Fragment,{})]});return F.jsx("div",{className:ye,style:x,children:l?F.jsx(m.Provider,{value:{close:()=>{c(!1)},record:f},children:F.jsx(u,{open:d,onOpenChange:c,placement:"rightTop",content:l,children:v})}):v})}function sn(e){const{layoutConfig:n}=D(),{brandPopoverContent:r}=Je(),[o,i]=t(!1),a=en(),l=n.compact?"16px":"20px",{brandInfo:s}=n;let d=F.jsx(F.Fragment,{});s?.logo&&(d="string"==typeof s.logo?F.jsx(Oe,{style:{width:l},src:s.logo,alt:s.name}):F.jsx("div",{className:be,style:{width:l},children:s.logo}));let c=r?F.jsx(a.Provider,{value:{close:()=>{i(!1)},record:s},children:F.jsx(u,{open:o,onOpenChange:i,content:r,placement:"rightTop",children:F.jsx("a",{children:d})})}):F.jsx("a",{href:s?.url,children:d});return F.jsxs("div",{className:ve,style:e.style,children:[c,F.jsx("div",{className:ae,children:e.children})]})}function dn(e){const{collapsed:n}=e,{brandPopoverContent:r}=Je(),{layoutConfig:o}=D(),[i,a]=t(!1),l=en(),s=n?o.compact?"16px":"20px":o.compact?"56px":"64px",{brandInfo:d}=o,c={opacity:n?"0":"1",height:n?"0px":"auto"};let m=F.jsx(F.Fragment,{});if(!d)return F.jsx(F.Fragment,{});let p=[je];n&&p.push(ke),d?.logo&&(m="string"==typeof d.logo?F.jsx(Oe,{style:{width:s},src:d.logo,alt:d.name}):F.jsx("div",{className:be,style:{width:s},children:d.logo}));let h=r?F.jsx(l.Provider,{value:{close:()=>{a(!1)},record:d},children:F.jsx(u,{open:i,onOpenChange:a,content:r,placement:"rightTop",children:F.jsx("a",{children:m})})}):F.jsx("a",{href:d?.url,children:m});return F.jsxs("div",{className:p.join(" "),children:[h,F.jsxs("div",{style:c,children:[F.jsx("span",{children:d?.name}),d.title?F.jsx("span",{className:we,children:d?.title}):F.jsx(F.Fragment,{})]})]})}function cn(e){return F.jsx("div",{style:{...e.style},children:e.children})}cn.displayName="BrandPopoverContent",cn.role=Ke;const{useToken:un}=c;function mn(e){const{collapsed:n,iconSize:r}=e,{layoutConfig:o}=D(),{layoutIcons:i,avatarPopoverContent:a}=Je(),[l,s]=t(!1),d=Qe(),{token:c}=un(),m=o.compact?"20px":"24px";let p={justifyContent:"flex-start",gap:(o.compact?6:8)+"px"},h={height:`${o.headerHeight}px`},x={boxSizing:"border-box",display:"flex",flex:"1",gap:"6px",width:"100%",alignItems:"center"};o.flated&&(p={...p,paddingInline:c.padding,margin:"0px",height:"100%"},h={...h,padding:"0px"});const{userInfo:g}=o;n?p={...p,paddingInline:`calc(50% - calc(${m} / 2))`}:x={...x,overflow:"hidden"};let f=F.jsx(F.Fragment,{});g?.avatar&&(f="string"==typeof g.avatar?F.jsx(Oe,{style:{width:m,borderRadius:"999px"},src:g.avatar,alt:g.uid}):g.avatar);const y=i?.itemMoreIcon||F.jsx(Ne,{}),_=F.jsx("div",{className:Se,style:h,children:F.jsxs("a",{style:p,children:[F.jsxs("div",{style:x,children:[f,F.jsxs("div",{className:_e,style:{opacity:n?"0":"1"},children:[F.jsx("h4",{children:g?.uid}),g?.title?void 0:F.jsx("span",{style:{color:c.colorTextSecondary},children:g?.title})]})]}),a?F.jsx("div",{style:{opacity:n?"0":"1",display:"flex",placeItems:"center"},children:F.jsx(tn,{icon:y,size:r||14})}):F.jsx(F.Fragment,{})]})});return a?F.jsx(d.Provider,{value:{close:()=>s(!1),record:g},children:F.jsx(u,{open:l,onOpenChange:s,placement:"right",content:a,children:_})}):_}function pn(e){const{iconSize:n=14}=e,{layoutConfig:r}=D(),{userInfo:o}=r,{avatarPopoverContent:i}=Je(),[a,l]=t(!1),s=Qe();let d=F.jsx(Te,{});const c=n+4,m={width:`${c}px`,height:`${c}px`,overflow:"hidden",display:"flex",justifyContent:"center",alignItems:"center",cursor:"pointer"};o?.avatar&&(d="string"==typeof o.avatar?F.jsx(Oe,{style:{width:c,borderRadius:"999px"},src:o.avatar,alt:o.uid}):o.avatar);const p=F.jsxs("div",{className:ue,children:[F.jsx("div",{style:m,children:d}),F.jsx("span",{children:o?.uid})]});return i?F.jsx(s.Provider,{value:{close:()=>l(!1),record:o},children:F.jsx(u,{open:a,onOpenChange:l,placement:"left",content:i,children:p})}):F.jsx(F.Fragment,{children:p})}function hn(e){return F.jsx("div",{style:{...e.style},children:e.children})}hn.displayName="AvatarPopoverContent",hn.role=qe;const{useToken:xn}=c;function gn(e){const{token:n}=xn(),{layoutIcons:r,toolbarExtraItems:t}=Je(),o=n.Menu?.iconSize||16,[i,a]=r?.fullScreenIcons?.slice(0,2)||[F.jsx(Fe,{}),F.jsx(Le,{})],l=F.jsx(tn,{icon:i,size:o}),s=F.jsx(tn,{icon:a,size:o});return F.jsxs("div",{className:de,children:[e.showAvatar?F.jsxs("div",{className:ce,children:[F.jsx(pn,{iconSize:o+4}),F.jsx(p,{"data-adminui-role":"desk-toolbar",orientation:"vertical"})]}):F.jsx(F.Fragment,{}),t,F.jsx("div",{className:ce,"data-adminui-role":"desk-toolbar",children:F.jsx(Z,{buttons:[F.jsx(m,{icon:s,type:"text"},"minimize"),F.jsx(m,{icon:l,type:"text"},"maximize")]})})]})}function fn(e){const n=F.jsx("div",{className:ce,"data-adminui-role":"desk-toolbar",children:e.children});return e?F.jsx(F.Fragment,{children:n}):F.jsx(F.Fragment,{})}fn.displayName="ToolbarExtraItems",fn.role=Ue;const{useToken:yn}=c;function _n(e){const{style:n}=e,{collapsed:r,setCollapsed:t,layoutIcons:o}=Je(),i={display:"flex",justifyContent:"flex-end",alignItems:"center",width:"100%",height:n?.width,backgroundColor:"transparent"},a={display:"flex",width:n?.width,height:"100%",cursor:"pointer",justifyContent:"center",alignItems:"center"},[l,s]=o?.collapsedIcons?.slice(0,2)||[F.jsx(Pe,{}),F.jsx(Ie,{})];return F.jsx("div",{style:i,children:F.jsx("div",{style:a,onClick:()=>{t(!r)},children:r?l:s})})}function bn(e){const{style:n,offset:r=0,top:t}=e,{collapsed:o,setCollapsed:i,layoutIcons:a}=Je(),{token:l}=yn();let s={right:"-14px"},d={backgroundColor:n?.backgroundColor,border:`solid 1px ${l.colorBorderSecondary}`};t&&(s={...s,right:"-12px",display:"initial"},d={...d,width:"24px",height:"24px",borderRadius:"12px",transform:`translateY(${r+10}px)`});const[c,u]=a?.collapsedIcons?.slice(0,2)||[F.jsx(Ie,{}),F.jsx(Pe,{})];return F.jsx("div",{className:ge,style:s,onClick:()=>{i(!o)},children:F.jsx("div",{style:d,className:fe,children:o?c:u})})}function vn(e){const{collapsed:n,setCollapsed:r,layoutIcons:t}=Je(),[o,i]=t?.mobileAsideIcons?.slice(0,2)||[F.jsx(Me,{}),F.jsx(ze,{})];return F.jsx("div",{className:Ce,children:F.jsx(m,{type:"text",style:{cursor:"pointer",display:"flex",justifyContent:"center",alignItems:"center",...e.style},icon:n?o:i,onClick:()=>{r(!n)}})})}const{Header:jn}=h,{useToken:wn}=c;function kn(e){const{layoutConfig:n}=D(),{token:r}=wn(),t=j(),o=n.headerTransparent||n.headerBlur?Q(r.colorBorderSecondary,.6):r.colorBorderSecondary,i=n.hideBorder?"0px":"1px solid "+o,a=n.flated&&"headMenu"==n.layoutType||"dark"==n.theme?"dark":"light",l=n.flated&&"headMenu"==n.layoutType?"dark":"light",s=n.flated&&"headMenu"==n.layoutType?r.colorPrimary:r.colorBgContainer,d={height:e.height+"px",lineHeight:e.height+"px"};let u=F.jsx(F.Fragment,{}),m={...d,borderBottom:i,backgroundColor:n.headerTransparent?"transparent":s};n.headerBlur&&(m={...m,backgroundColor:Q(s,.6),transform:"translateZ(0)",backdropFilter:"blur(8px)"});let p={...d,fontSize:r.Menu?.iconSize,backgroundColor:"transparent",flex:"none"},f=[ne],y=F.jsx(F.Fragment,{});"headMenu"==n.layoutType?(u=F.jsx("div",{style:d}),m={...m,paddingInlineEnd:r.paddingXS+"px"},y=F.jsx("div",{className:le,style:{width:n?.asideWidth+"px"},children:F.jsx(an,{collapsed:!1,iconSize:r.Menu?.iconSize,hideTitle:!0})}),f.push(te)):(m={...m,paddingInline:r.paddingXS+"px"},f.push(re));let _=F.jsx(sn,{children:e.title}),b=F.jsx(vn,{iconSize:n.compact?12:14});const v=[oe];n.flated||v.push(Be);let w="dark"==a?[c.darkAlgorithm]:[c.defaultAlgorithm];return F.jsxs(F.Fragment,{children:[u,F.jsx(x,{theme:{algorithm:w},children:F.jsx(h,{className:f.join(" "),style:p,children:F.jsxs(jn,{className:v.join(" "),style:m,children:[b,y,_,F.jsx(g,{onClick:e=>{t(e.key)},defaultSelectedKeys:e.selectedKeys,selectedKeys:e.selectedKeys,mode:"horizontal",theme:l,classNames:{root:ie},items:e.menuData||[]}),F.jsx(gn,{showAvatar:"rightTop"==n.avatarPosition})]})})})]})}const{Sider:Sn}=h,{useToken:Cn}=c,{useBreakpoint:Bn}=f;function In(e){const n=i([]);n.current=e.openerKeys||[];const[r,o]=t(e.openerKeys),{layoutConfig:a}=D(),{asideWidth:l}=a,s=e.headerHeight,{collapsed:d,setCollapsed:c}=Je(),{token:u}=Cn(),m=j(),p=Bn().xs?0:s,h=a.headerTransparent||a.headerBlur?Q(u.colorBorderSecondary,.6):u.colorBorderSecondary,x=a.hideBorder||0==p&&d?"0px":"1px solid "+h,f="headMenu"==a.layoutType?e.headerHeight:0,y="headMenu"==a.layoutType?"calc(100% - "+e.headerHeight+"px)":"100%";let _={width:`${a.asideWidth}px`,height:`${y}`,insetBlockStart:f+"px",maxWidth:`${a.asideWidth}px`,minWidth:`${a.asideWidth}px`,borderRight:x,position:"fixed",transition:"width 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},b={overflow:"auto",flex:1};const v=u.Menu?.iconSize,w="dark"==a.theme?"dark":"light",k=w;let S=0,C=F.jsx(F.Fragment,{});"leftMenu"==a.layoutType&&(S=a.headerHeight||0,C=a.largeBrand?F.jsx(dn,{collapsed:d,iconSize:v}):F.jsx(ln,{collapsed:d,iconSize:v,hideTitle:!0}));const B=a.asideTransparent?"transparent":a.asideBlur?Q(u.colorBgContainer,.6):u.colorBgContainer;_={..._,backgroundColor:B},a.asideBlur&&(_={..._,transform:"translateZ(0)",backdropFilter:"blur(8px)"}),d&&(b={...b,overflow:"hidden"});let I=[me];I.push(se);let P=F.jsx(F.Fragment,{});switch(a.collapsedPosition){case"bottom":P=F.jsx(_n,{iconSize:v,style:{backgroundColor:B,width:`${s}px`,borderRight:x}});break;case"center":case"top":P=F.jsx(bn,{iconSize:12,top:"top"==a.collapsedPosition,flated:a.flated,offset:S,style:{backgroundColor:B}})}let z=e.menuData||[];return a.asideMenuGroup&&z.forEach(e=>{e.children&&(e.type="group")}),F.jsxs(F.Fragment,{children:[F.jsx("div",{style:{width:d?s:l,flex:`0 0 ${d?s:l}px`,maxWidth:d?s:l,minWidth:d?s:l,transition:"background-color 0.3s, min-width 0.3s, max-width 0.3s cubic-bezier(0.645, 0.045, 0.355, 1)"},className:pe}),F.jsxs(Sn,{width:l,className:I.join(" "),style:_,theme:k,collapsedWidth:p,collapsible:!0,trigger:null,breakpoint:"md",collapsed:d,onCollapse:c,children:[p>0?C:F.jsx(F.Fragment,{}),e.header,F.jsx("div",{style:b,children:F.jsx(g,{onClick:e=>{m(e.key)},onOpenChange:e=>{o(e)},style:{border:"0",background:"transparent",position:"relative",minHeight:"100%"},mode:a.asideMenuInline?"inline":"vertical",selectedKeys:e.selectedKeys,openKeys:d?void 0:r,defaultSelectedKeys:e.selectedKeys,defaultOpenKeys:n.current,theme:w,items:z})}),e.footer,"leftBottom"==a.avatarPosition?F.jsx(mn,{collapsed:d,iconSize:v}):F.jsx(F.Fragment,{}),P]})]})}const Pn=e=>e.reduce((e,n)=>{const{children:r,...t}=n;return e[t.path]=t,r&&Object.assign(e,Pn(r)),e},{});function zn(e,n){let r=[],t=[];return e.forEach(e=>{e.key==n[1]&&(t=e.children??[]);const o={...e,children:void 0};r.push(o)}),{rootMenuItems:r,childrenMenuItems:t}}const Mn=e=>{let n=[];if(!(null==e||e.length<=0))return e.forEach(e=>{let r=Ln(e);r.children=Mn(e.children),n.push(r)}),n},Nn=(e,n)=>{if(e)return e.map(e=>{const r=Tn(e,n),t={...e,label:r};return e.children&&(t.children=Nn(e.children,n)),t})},Tn=(e,n)=>((e,n,r,t)=>{if(t){const o="menu"+e.replaceAll("/",".");return t.formatMessage({id:o,defaultMessage:r||n})}return r||n})(e.path||"",e.name,e.label,n),Ln=e=>({key:e.path||e.name,label:e.label||e.name,icon:e.icon,extra:e.extra,title:e.label});function Fn(e){const n="/"===e?"/":e.replace(/\/+$/,"");if("/"===n)return["/"];const r=n.split("/").filter(Boolean),t=["/"];let o="";for(const e of r)o+=`/${e}`,t.push(o);return t}function En(e){let n=Fn(e);return n&&n.length>1&&"/"==n[0]&&n.splice(0,1),n}function On(e){const n=e.length;if(0===n)return[[],[]];const r=[e[1]],t=new Array(n-2);for(let r=1;r<n;r++)t[r-1]=e[r];return[r,t]}function An(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.map(n=>{const r=function(e,n){let r=n.path||n.name;r?.startsWith("/")&&(r=r.slice(1));r?.startsWith("./")&&(r=r.slice(2));let t=e+r,o={name:t,path:t,label:n.label,originalPath:t,extra:Hn(n.extra),icon:Hn(n.icon)};return o}(e,n);return n.children&&(r.children=An(r.path,n.children)),r})}function Wn(e,n){if(n)return!e.endsWith("/")&&e.length>1&&(e+="/"),n.filter(e=>!!e.handle).map(n=>{const r=function(e,n){const{handle:r}=n;let t=n.path;t&&r.params&&(t=B(t,r.params));t?.startsWith("/")&&(t=t.slice(1));let o=e+t,i={...r,path:o,originalPath:n.path,extra:Hn(r.extra),icon:Hn(r.icon)};return i}(e,n);return n.children&&(r.children=Wn(r.path,n.children)),r})}function Rn(e,n={}){if(!Object.keys(n).some(e=>null!=n[e]))return e.split("/:")[0];const r=e.split("/"),t=[];for(const e of r)if(e.startsWith(":")){const r=e.slice(1),o=n[r];if(null==o)break;t.push(encodeURIComponent(String(o)))}else t.push(e);return t.join("/")}const Hn=n=>e.isValidElement(n)?n:"function"==typeof n||"object"==typeof n?e.createElement(n):null,{useToken:$n}=c;function Xn(n){const{layoutConfig:r,themeSkin:o}=D(),i=_(),{token:l}=$n(),[s,d]=t(!1),c={backgroundColor:l.colorBgLayout};let u=r.headerHeight||56;r.compact&&(u-=4);const m=r.disabledLocale?n.menuData:Nn(n.menuData,i),p=m&&m?.length>0?m[0].children:[],h=Pn(m||[]),x=Mn(p),g=w(),f=k(),{pathname:y}=g,b=En(y),v=f[f.length-1];let j=[],B=[],I=[],P=[];if("leftMenu"==r.layoutType?(P=x||[],B=b):(I=x||[],j=b),r.splitMenu&&b.length>1){const[e,n]=On(b),{rootMenuItems:t,childrenMenuItems:o}=zn(x,b);"leftMenu"==r.layoutType?(P=t,I=o,B=e,j=n):(P=o,I=t,j=e,B=n)}const z=e.Children.toArray(n.children),M=z.find(n=>e.isValidElement(n)&&n.type.role===He),N=z.find(n=>e.isValidElement(n)&&n.type.role===$e),T=z.find(n=>e.isValidElement(n)&&n.type.role===Ve),L=z.find(n=>e.isValidElement(n)&&n.type.role===qe),E=z.find(n=>e.isValidElement(n)&&n.type.role===Ke),O=z.find(n=>e.isValidElement(n)&&n.type.role===Ge),A=z.find(n=>e.isValidElement(n)&&n.type.role===Ue),W=Ae,R=a(()=>({collapsed:s,headerHeight:u,layoutIcons:n.layoutIcons,avatarPopoverContent:L,brandPopoverContent:E,toolbarExtraItems:A,flattenMenuMap:h,setCollapsed:d}),[s,u,n.layoutIcons,h]),H=S();Boolean(H.location),console.log(H);const $=h[v.pathname].label||"";return document.title=$,F.jsxs(F.Fragment,{children:[F.jsx(W,{value:R,children:F.jsxs(Y,{...n,style:c,children:[F.jsx(Y.Aside,{children:F.jsx(In,{headerHeight:u,header:M,footer:N,menuData:P,selectedKeys:B,openerKeys:B})}),F.jsx(Y.Header,{children:F.jsx(kn,{height:u,menuData:I,selectedKeys:j,title:$})}),F.jsx(Y.Content,{children:F.jsx(C,{context:{title:$,footer:T}})}),F.jsx(Y.Background,{children:o?o.backgroundContent:F.jsx(F.Fragment,{})})]})}),O]})}const Dn=e=>I(e),Vn=()=>Dn("#22222222"),qn=()=>Dn("#FFFFFF");function Kn(e){const n=Ye(),{layoutConfig:r}=D(),t=r.compact?"16px":"20px";let o={justifyContent:"flex-start",paddingInline:r.compact?"14px":"16px",marginInline:"4px",marginBlock:"4px",gap:(r.compact?6:8)+"px"};return n&&(o={...o,paddingInline:`calc(50% - calc(${t} / 2))`}),!e.icon&&n?F.jsx(F.Fragment,{}):F.jsxs("div",{className:xe,style:o,children:[F.jsx("div",{children:e.icon}),F.jsx("div",{style:{opacity:n?"0":"1"},children:e.children})]})}function Gn(e){return F.jsx(F.Fragment,{children:e.children})}function Un(e){return F.jsx("div",{className:he,children:e.children})}function Jn(e){return F.jsx("div",{className:he,children:e.children})}Gn.displayName="AsideContentItems",Kn.displayName="AsideContentItem",Jn.displayName="AsideHeaderContent",Jn.Items=Gn,Jn.Item=Kn,Un.displayName="AsideFooterContent",Un.Items=Gn,Un.Item=Kn,Un.role=$e,Jn.role=He,Gn.role=Xe,Kn.role=De;const Yn="adminui-default-config",Zn=()=>{const e=_(),{layoutConfig:n}=D(),{f:r,t:t}=Qn(n.disabledLocale?void 0:e);return{...e,f:r,t:t}},Qn=e=>({f:n=>{const{id:r,defaultMessage:t}=n;return e?e.formatMessage({id:r,defaultMessage:t}):t||r.split(".").pop()},t:(n,r)=>e?e.formatMessage({id:n,defaultMessage:r}):r||n.split(".").pop()}),er=e=>{const{brandInfo:n,userInfo:r,...t}=e;return t},nr=e=>{e||(e=Yn);const n=window.localStorage.getItem(e);try{if(n)return JSON.parse(n)}catch(e){console.error(e)}},rr=(e,n)=>{n||(n=Yn);const{brandInfo:r,userInfo:t,...o}=e,i=JSON.stringify(o);window.localStorage.setItem(n,i)},tr=(e,n)=>{let r={...e};if(n){const e=n.theme.length<2?n.theme[0]:r.theme;r={...r,primaryColor:n.primaryColor??r.primaryColor,containerBlur:n.containerBlur??r.containerBlur,asideBlur:n.asideBlur??r.asideBlur,asideWidth:n.asideWidth??r.asideWidth,headerBlur:n.asideBlur??r.headerBlur,theme:e}}return r},{useToken:or}=c,ir=e=>F.jsx("div",{...e,children:e.children});function ar(e){return F.jsx(F.Fragment,{children:e.children})}ir.displayName="ContentFooter",ir.role=Ve,ar.displayName="SoltContent",ar.role=Ge;const lr="adminui-locale",sr=(e,n)=>{let r;return Object.entries(n).forEach(([n,t])=>{t.forEach(n=>{n.name==e&&(r=n)})}),r};function dr(e){const n=k(),{pathname:r}=n[0],i={...H,...e.layoutConfig,...nr(r)};let l=e.themeSkins||[];const s=a(()=>(e=>{let n={tidy:[],rich:[]};return e.forEach(e=>{"rich"==e.skinType?n.rich.push(e):n.tidy.push(e)}),n})(l),[l]),d=e.locale||localStorage.getItem(lr)||i.locale||"en-US",u=e.menuData?An("/",[e.menuData]):[],[m,p]=t(()=>{if(i.skinName){const e=sr(i.skinName,s);return tr(i,e)}return i}),[h,g]=t(d),f=X,_=$;let v=e.localeMessages||{};const j=a(()=>(e=>{let n=[];return Object.entries(e).forEach(([e,r])=>{n.push({name:r.name,locale:e,flag:r.flag})}),n})(v),[v]),w=e=>{localStorage.setItem(lr,e),g(e)};document.documentElement.style.setProperty("--pageload-bar-color",m.primaryColor),o(()=>{const e=window.document.documentElement;if(e.classList.remove("light","dark"),"system"===m.theme){const n=window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light";return void e.classList.add(n)}e.classList.add(m.theme)},[m.theme]);const S=a(()=>{if(m.skinName)return sr(m.skinName,s)},[l,m.skinName]),C="system"==(B=m.theme)?window.matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light":B;var B;const I=e=>{p(e),rr(e,r)},P=a(()=>({layoutConfig:m,locale:h,languages:j,themeSkin:S,themeSkinMap:s}),[j,h,j,s,S,m]),z=a(()=>({setLayoutConfig:I,setLocale:w}),[]),M=v[h]||v["en-US"],N=["he","ar","fa","ku"].filter(e=>h.startsWith(e)).length?"rtl":"ltr";let T="dark"===C?[c.darkAlgorithm]:[c.defaultAlgorithm],L=m.menuIconSize||14;const E=m.menuIconSize?.1*(L-10)+10:10;m.compact&&(T.push(c.compactAlgorithm),L-=2);let O={darkSubMenuItemBg:"transparent",subMenuItemBg:"transparent",iconSize:L,fontSize:L,itemMarginInline:m.flated?0:4,iconMarginInlineEnd:E,activeBarHeight:m.compact?2:4,darkPopupBg:Vn()[4]};const A={algorithm:T,token:{colorPrimary:m.primaryColor,borderRadius:m.flated?0:6},components:{Menu:O,Layout:{siderBg:"transparent",triggerBg:"transparent",lightSiderBg:"transparent",lightTriggerBg:"transparent"}}};return F.jsx(f.Provider,{value:P,children:F.jsx(_.Provider,{value:z,children:F.jsx(x,{theme:A,locale:M?.antdLocale,direction:N,modal:{mask:{blur:!1}},drawer:{mask:{blur:!1}},prefixCls:"adminui",children:F.jsx(y,{style:{height:"100%",width:"100%"},children:F.jsx(b,{locale:h,messages:M?.messages,children:F.jsx(Xn,{menuData:u,layoutIcons:e.layoutIcons,children:e.children})})})})})})}dr.AsideHeader=Jn,dr.AsideFooter=Un,dr.Footer=ir,dr.AvatarPopoverContent=hn,dr.BrandPopoverContent=cn,dr.SoltContent=ar,dr.HeaderToolbarExtra=fn;var cr={exports:{}},ur=P(cr.exports=function(){var e,n,r={version:"0.2.0"},t=r.settings={minimum:.08,easing:"ease",positionUsing:"",speed:200,trickle:!0,trickleRate:.02,trickleSpeed:800,showSpinner:!0,barSelector:'[role="bar"]',spinnerSelector:'[role="spinner"]',parent:"body",template:'<div class="bar" role="bar"><div class="peg"></div></div><div class="spinner" role="spinner"><div class="spinner-icon"></div></div>'};function o(e,n,r){return e<n?n:e>r?r:e}function i(e){return 100*(-1+e)}function a(e,n,r){var o;return(o="translate3d"===t.positionUsing?{transform:"translate3d("+i(e)+"%,0,0)"}:"translate"===t.positionUsing?{transform:"translate("+i(e)+"%,0)"}:{"margin-left":i(e)+"%"}).transition="all "+n+"ms "+r,o}r.configure=function(e){var n,r;for(n in e)void 0!==(r=e[n])&&e.hasOwnProperty(n)&&(t[n]=r);return this},r.status=null,r.set=function(e){var n=r.isStarted();e=o(e,t.minimum,1),r.status=1===e?null:e;var i=r.render(!n),d=i.querySelector(t.barSelector),c=t.speed,u=t.easing;return i.offsetWidth,l(function(n){""===t.positionUsing&&(t.positionUsing=r.getPositioningCSS()),s(d,a(e,c,u)),1===e?(s(i,{transition:"none",opacity:1}),i.offsetWidth,setTimeout(function(){s(i,{transition:"all "+c+"ms linear",opacity:0}),setTimeout(function(){r.remove(),n()},c)},c)):setTimeout(n,c)}),this},r.isStarted=function(){return"number"==typeof r.status},r.start=function(){r.status||r.set(0);var e=function(){setTimeout(function(){r.status&&(r.trickle(),e())},t.trickleSpeed)};return t.trickle&&e(),this},r.done=function(e){return e||r.status?r.inc(.3+.5*Math.random()).set(1):this},r.inc=function(e){var n=r.status;return n?("number"!=typeof e&&(e=(1-n)*o(Math.random()*n,.1,.95)),n=o(n+e,0,.994),r.set(n)):r.start()},r.trickle=function(){return r.inc(Math.random()*t.trickleRate)},e=0,n=0,r.promise=function(t){return t&&"resolved"!==t.state()?(0===n&&r.start(),e++,n++,t.always(function(){0===--n?(e=0,r.done()):r.set((e-n)/e)}),this):this},r.render=function(e){if(r.isRendered())return document.getElementById("nprogress");c(document.documentElement,"nprogress-busy");var n=document.createElement("div");n.id="nprogress",n.innerHTML=t.template;var o,a=n.querySelector(t.barSelector),l=e?"-100":i(r.status||0),d=document.querySelector(t.parent);return s(a,{transition:"all 0 linear",transform:"translate3d("+l+"%,0,0)"}),t.showSpinner||(o=n.querySelector(t.spinnerSelector))&&p(o),d!=document.body&&c(d,"nprogress-custom-parent"),d.appendChild(n),n},r.remove=function(){u(document.documentElement,"nprogress-busy"),u(document.querySelector(t.parent),"nprogress-custom-parent");var e=document.getElementById("nprogress");e&&p(e)},r.isRendered=function(){return!!document.getElementById("nprogress")},r.getPositioningCSS=function(){var e=document.body.style,n="WebkitTransform"in e?"Webkit":"MozTransform"in e?"Moz":"msTransform"in e?"ms":"OTransform"in e?"O":"";return n+"Perspective"in e?"translate3d":n+"Transform"in e?"translate":"margin"};var l=function(){var e=[];function n(){var r=e.shift();r&&r(n)}return function(r){e.push(r),1==e.length&&n()}}(),s=function(){var e=["Webkit","O","Moz","ms"],n={};function r(e){return e.replace(/^-ms-/,"ms-").replace(/-([\da-z])/gi,function(e,n){return n.toUpperCase()})}function t(n){var r=document.body.style;if(n in r)return n;for(var t,o=e.length,i=n.charAt(0).toUpperCase()+n.slice(1);o--;)if((t=e[o]+i)in r)return t;return n}function o(e){return e=r(e),n[e]||(n[e]=t(e))}function i(e,n,r){n=o(n),e.style[n]=r}return function(e,n){var r,t,o=arguments;if(2==o.length)for(r in n)void 0!==(t=n[r])&&n.hasOwnProperty(r)&&i(e,r,t);else i(e,o[1],o[2])}}();function d(e,n){return("string"==typeof e?e:m(e)).indexOf(" "+n+" ")>=0}function c(e,n){var r=m(e),t=r+n;d(r,n)||(e.className=t.substring(1))}function u(e,n){var r,t=m(e);d(e,n)&&(r=t.replace(" "+n+" "," "),e.className=r.substring(1,r.length-1))}function m(e){return(" "+(e.className||"")+" ").replace(/\s+/gi," ")}function p(e){e&&e.parentNode&&e.parentNode.removeChild(e)}return r}());
11
11
  /* NProgress, (c) 2013, 2014 Rico Sta. Cruz - http://ricostacruz.com/nprogress
12
- * @license MIT */function cr(e){const n=l(e);return function(e){return L.jsx(s,{fallback:L.jsx(ur,{}),children:L.jsx(n,{...e})})}}Q("/* Make clicks pass-through */\n#nprogress_nprogress__aqNSX {\n pointer-events: none;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n background: #29d;\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n}\n\n/* Fancy blur effect */\n#nprogress_nprogress__aqNSX .nprogress_peg__hwnh6 {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px #29d, 0 0 5px #29d;\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n}\n\n/* Remove these to get rid of the spinner */\n#nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_spinner-icon__7g0sk {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: #29d;\n border-left-color: #29d;\n border-radius: 50%;\n\n -webkit-animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL {\n overflow: hidden;\n position: relative;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD,\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n position: absolute;\n}\n\n@-webkit-keyframes nprogress_nprogress-spinner__agk-h {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes nprogress_nprogress-spinner__agk-h {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n\n");const ur=()=>(o(()=>{const e=setTimeout(()=>{dr.start()},200);return()=>{clearTimeout(e),dr.done()}},[]),L.jsx("div",{style:{height:"auto"}})),mr=()=>(o(()=>(dr.start(),()=>{dr.done()}),[location.hostname]),L.jsx("div",{style:{height:"auto"}}));export{lr as AntdLayout,Y as FullScreenButton,cr as LazyPage,ur as PageLoading,mr as RouteLoading,An as buildRouteWithParams,Bn as flattenMenuData,Nn as getAntdMenuItem,Yn as getAppIntl,Zn as getBasicLayoutConfig,Xn as getBlackColors,Mn as getMenuLabel,Qn as getStorageConfig,Dn as getWhiteColors,zn as localeMenuData,Ln as matchPathToKeys,Tn as pathToKeys,In as separateMenuData,nr as setSkinConfig,er as setStorageConfig,Fn as splitMenuKeys,En as transformMenuData,On as transformRouteToMenuData,Pn as transformToAntdMenuData,Jn as useAppIntl,Qe as useAvatarPopover,en as useBrandPopover,D as useConfigAction,X as useConfigState,Je as useContainerOutlet,Ue as useMainCollapsed,V as useTheme};
12
+ * @license MIT */function mr(e){const n=l(e);return function(e){return F.jsx(s,{fallback:F.jsx(pr,{}),children:F.jsx(n,{...e})})}}ee("/* Make clicks pass-through */\n#nprogress_nprogress__aqNSX {\n pointer-events: none;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n background: #29d;\n\n position: fixed;\n z-index: 1031;\n top: 0;\n left: 0;\n\n width: 100%;\n height: 2px;\n}\n\n/* Fancy blur effect */\n#nprogress_nprogress__aqNSX .nprogress_peg__hwnh6 {\n display: block;\n position: absolute;\n right: 0px;\n width: 100px;\n height: 100%;\n box-shadow: 0 0 10px #29d, 0 0 5px #29d;\n opacity: 1.0;\n\n -webkit-transform: rotate(3deg) translate(0px, -4px);\n -ms-transform: rotate(3deg) translate(0px, -4px);\n transform: rotate(3deg) translate(0px, -4px);\n}\n\n/* Remove these to get rid of the spinner */\n#nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD {\n display: block;\n position: fixed;\n z-index: 1031;\n top: 15px;\n right: 15px;\n}\n\n#nprogress_nprogress__aqNSX .nprogress_spinner-icon__7g0sk {\n width: 18px;\n height: 18px;\n box-sizing: border-box;\n\n border: solid 2px transparent;\n border-top-color: #29d;\n border-left-color: #29d;\n border-radius: 50%;\n\n -webkit-animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n animation: nprogress_nprogress-spinner__agk-h 400ms linear infinite;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL {\n overflow: hidden;\n position: relative;\n}\n\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_spinner__-lLoD,\n.nprogress_nprogress-custom-parent__KxnjL #nprogress_nprogress__aqNSX .nprogress_bar__jdnDD {\n position: absolute;\n}\n\n@-webkit-keyframes nprogress_nprogress-spinner__agk-h {\n 0% { -webkit-transform: rotate(0deg); }\n 100% { -webkit-transform: rotate(360deg); }\n}\n@keyframes nprogress_nprogress-spinner__agk-h {\n 0% { transform: rotate(0deg); }\n 100% { transform: rotate(360deg); }\n}\n\n");const pr=()=>(o(()=>{const e=setTimeout(()=>{ur.start()},200);return()=>{clearTimeout(e),ur.done()}},[]),F.jsx("div",{style:{height:"auto"}})),hr=()=>(o(()=>(ur.start(),()=>{ur.done()}),[location.hostname]),F.jsx("div",{style:{height:"auto"}}));export{dr as AntdLayout,Z as FullScreenButton,Ee as LazyAvatar,Oe as LazyImage,mr as LazyPage,pr as PageLoading,hr as RouteLoading,tn as ToolbarIcon,Rn as buildRouteWithParams,Pn as flattenMenuData,Ln as getAntdMenuItem,Qn as getAppIntl,er as getBasicLayoutConfig,Vn as getBlackColors,Tn as getMenuLabel,nr as getStorageConfig,qn as getWhiteColors,Nn as localeMenuData,En as matchPathToKeys,Fn as pathToKeys,zn as separateMenuData,tr as setSkinConfig,rr as setStorageConfig,On as splitMenuKeys,An as transformMenuData,Wn as transformRouteToMenuData,Mn as transformToAntdMenuData,Zn as useAppIntl,nn as useAvatarPopover,rn as useBrandPopover,V as useConfigAction,D as useConfigState,Ze as useContainerOutlet,Ye as useMainCollapsed,q as useTheme};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adminui-dev/antd-layout",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "description": "this project name is @adminui-dev/antd-layout",
5
5
  "keywords": [
6
6
  "layut",
@@ -79,7 +79,6 @@
79
79
  "react-router": ">=7.11.0",
80
80
  "react-router-dom": ">=7.11.0",
81
81
  "@ant-design/colors": ">=7.2.1",
82
- "@ant-design/icons": ">=6.1.0",
83
82
  "antd": ">=6.1.1"
84
83
  }
85
84
  }