@ukpc-lib/react 0.15.9-sandbox.saas-9249.patch-2 → 0.15.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.
Files changed (25) hide show
  1. package/dist/components/FavoriteMenu/components/MenuItem.d.ts +1 -2
  2. package/dist/components/GlobalMenu/components/MenuItem.d.ts +0 -1
  3. package/dist/components/GlobalMenu/helpers/index.d.ts +1 -3
  4. package/dist/components/index.cjs +1 -1
  5. package/dist/components/index.js +2 -2
  6. package/dist/{index.esm2017-9tpsSc5M.js → index.esm2017-1lcAhfaR.js} +1608 -1612
  7. package/dist/{index.esm2017-Cf6UE-oR.cjs → index.esm2017-BI6e9cTN.cjs} +91 -91
  8. package/dist/share/index.cjs +1 -1
  9. package/dist/share/index.js +1 -1
  10. package/package.json +1 -1
  11. package/web-components-bundle/access-denied/index.js +2 -2
  12. package/web-components-bundle/base-breadcrumbs/index.js +2 -2
  13. package/web-components-bundle/favorite-menu/index.js +4 -4
  14. package/web-components-bundle/global-menu/index.js +4 -4
  15. package/web-components-bundle/global-topbar/index.js +6 -6
  16. package/web-components-bundle/has-permission/index.js +3 -3
  17. package/web-components-bundle/{index-DqxmsDJs.js → index-BUE-pz1x.js} +1 -1
  18. package/web-components-bundle/{index-Ch-015PG.js → index-CiYHK3Rq.js} +1 -1
  19. package/web-components-bundle/{index-DmIpBR3b.js → index-DvH98-Nt.js} +66 -70
  20. package/web-components-bundle/{index-BU5SX9Tl.js → index-DzW7qqrH.js} +537 -537
  21. package/web-components-bundle/page-not-found/index.js +2 -2
  22. package/web-components-bundle/{react-to-web-component-w5r1Fs9q.js → react-to-web-component-BOygDorD.js} +1535 -1527
  23. package/web-components-bundle/{react-toastify.esm-H_Xdunfj.js → react-toastify.esm-DnABvuky.js} +1 -1
  24. package/web-components-bundle/toast-config/index.js +2 -2
  25. package/web-components-bundle/toast-config-notification/index.js +2 -2
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index.esm2017-Cf6UE-oR.cjs"),h=require("axios"),c=require("react"),l=require("react-router-dom"),u=require("react/jsx-runtime");require("@r2wc/react-to-web-component");require("@mui/material");const m=n=>{const[s,r]=c.useState([]);return c.useEffect(()=>{h.get(`${n}/user-management/api/v1/users/my-account/permissions`,{withCredentials:!0}).then(o=>r(o.data)).catch(o=>{console.error("Getting user permission error:",o)})},[n]),s},f=n=>{const s=l.useNavigate(),r=l.useLocation();console.log(" useSyncRouter.tsx ~ location1:",r,window.location.pathname);const o=(t=r)=>(n||"")+t.pathname+t.search+t.hash;if(c.useEffect(()=>{const t={changeRoute:i=>{const a=o();if(typeof i=="string"&&a!==i){console.log(" useSyncRouter.tsx ~ location2:",a,i);const g=n&&i.startsWith(n)?i.substring(n.length):i;s(g)}}};window.MicrofeBridge=t},[s,r]),c.useEffect(()=>{var i,a;const t=o();console.log("fullPath1",window.location.pathname,t),(a=(i=window.parent)==null?void 0:i.HostBridge)==null||a.childRouteChange(t)},[r]),window.self===window.top){console.log("useSyncRouter: Navigate to /app path"),window.location.href=window.location.href.replace(window.origin,`${window.origin}/app`);return}};function w({open:n,disabled:s}){c.useMemo(()=>{var r,o,t,i;s||(n?(o=(r=window.top)==null?void 0:r.HostBridge)==null||o.openBackdrop(!0):(i=(t=window.top)==null?void 0:t.HostBridge)==null||i.openBackdrop(!1))},[n,s])}const d=n=>(s,r)=>{const o=m(n);return r?s.every(t=>o==null?void 0:o.includes(t)):s.some(t=>o==null?void 0:o.includes(t))},P=({baseUrl:n,accessWith:s,requireAll:r,children:o})=>d(n)(s,r)?u.jsx(u.Fragment,{children:o}):null,p=({accessWith:n,requireAll:s,baseUrl:r,unAuthorizedPath:o,children:t})=>d(r)(n,s)?u.jsx(u.Fragment,{children:t}):u.jsx(l.Navigate,{to:o,replace:!0});exports.AuthContext=e.AuthContext;exports.AuthProvider=e.AuthProvider;exports.ERROR_MESSAGE=e.ERROR_MESSAGE;exports.SaasThemeProvider=e.SaasThemeProvider;exports.TranslationProvider=e.TranslationProvider;exports.axiosInstance=e.axiosInstance;exports.color=e.color;exports.createCustomTheme=e.createCustomTheme;exports.handleErrorAxios=e.handleErrorAxios;exports.login=e.login;exports.logout=e.logout;exports.responseInterceptor=e.responseInterceptor;exports.search=e.search;exports.setFavicon=e.setFavicon;exports.setShellBackdrop=e.setShellBackdrop;exports.translate=e.translate;exports.translationConfig=e.translationConfig;exports.useAuth=e.useAuth;exports.useCustomTranslation=e.useCustomTranslation;exports.useTheme=e.useTheme;exports.useTranslation=e.useTranslation$1;exports.HasPermission=P;exports.PermissionRoute=p;exports.getUseHasPermission=d;exports.useGetPermission=m;exports.useSyncBackdrop=w;exports.useSyncRouter=f;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../index.esm2017-BI6e9cTN.cjs"),h=require("axios"),c=require("react"),l=require("react-router-dom"),u=require("react/jsx-runtime");require("@r2wc/react-to-web-component");require("@mui/material");const m=n=>{const[s,r]=c.useState([]);return c.useEffect(()=>{h.get(`${n}/user-management/api/v1/users/my-account/permissions`,{withCredentials:!0}).then(o=>r(o.data)).catch(o=>{console.error("Getting user permission error:",o)})},[n]),s},f=n=>{const s=l.useNavigate(),r=l.useLocation();console.log(" useSyncRouter.tsx ~ location1:",r,window.location.pathname);const o=(t=r)=>(n||"")+t.pathname+t.search+t.hash;if(c.useEffect(()=>{const t={changeRoute:i=>{const a=o();if(typeof i=="string"&&a!==i){console.log(" useSyncRouter.tsx ~ location2:",a,i);const g=n&&i.startsWith(n)?i.substring(n.length):i;s(g)}}};window.MicrofeBridge=t},[s,r]),c.useEffect(()=>{var i,a;const t=o();console.log("fullPath1",window.location.pathname,t),(a=(i=window.parent)==null?void 0:i.HostBridge)==null||a.childRouteChange(t)},[r]),window.self===window.top){console.log("useSyncRouter: Navigate to /app path"),window.location.href=window.location.href.replace(window.origin,`${window.origin}/app`);return}};function w({open:n,disabled:s}){c.useMemo(()=>{var r,o,t,i;s||(n?(o=(r=window.top)==null?void 0:r.HostBridge)==null||o.openBackdrop(!0):(i=(t=window.top)==null?void 0:t.HostBridge)==null||i.openBackdrop(!1))},[n,s])}const d=n=>(s,r)=>{const o=m(n);return r?s.every(t=>o==null?void 0:o.includes(t)):s.some(t=>o==null?void 0:o.includes(t))},P=({baseUrl:n,accessWith:s,requireAll:r,children:o})=>d(n)(s,r)?u.jsx(u.Fragment,{children:o}):null,p=({accessWith:n,requireAll:s,baseUrl:r,unAuthorizedPath:o,children:t})=>d(r)(n,s)?u.jsx(u.Fragment,{children:t}):u.jsx(l.Navigate,{to:o,replace:!0});exports.AuthContext=e.AuthContext;exports.AuthProvider=e.AuthProvider;exports.ERROR_MESSAGE=e.ERROR_MESSAGE;exports.SaasThemeProvider=e.SaasThemeProvider;exports.TranslationProvider=e.TranslationProvider;exports.axiosInstance=e.axiosInstance;exports.color=e.color;exports.createCustomTheme=e.createCustomTheme;exports.handleErrorAxios=e.handleErrorAxios;exports.login=e.login;exports.logout=e.logout;exports.responseInterceptor=e.responseInterceptor;exports.search=e.search;exports.setFavicon=e.setFavicon;exports.setShellBackdrop=e.setShellBackdrop;exports.translate=e.translate;exports.translationConfig=e.translationConfig;exports.useAuth=e.useAuth;exports.useCustomTranslation=e.useCustomTranslation;exports.useTheme=e.useTheme;exports.useTranslation=e.useTranslation$1;exports.HasPermission=P;exports.PermissionRoute=p;exports.getUseHasPermission=d;exports.useGetPermission=m;exports.useSyncBackdrop=w;exports.useSyncRouter=f;
@@ -1,4 +1,4 @@
1
- import { O as F, R as M, T as G, a2 as N, $, a as I, c as O, a0 as j, W as z, U as L, V as U, X as V, w as W, a1 as X, s as Y, t as Z, Y as _, e as q, u as D, i as J, Z as K } from "../index.esm2017-9tpsSc5M.js";
1
+ import { O as F, R as M, T as G, a2 as N, $, a as I, c as O, a0 as j, W as z, U as L, V as U, X as V, w as W, a1 as X, s as Y, t as Z, Y as _, e as q, u as D, i as J, Z as K } from "../index.esm2017-1lcAhfaR.js";
2
2
  import d from "axios";
3
3
  import { useState as g, useEffect as i, useMemo as h } from "react";
4
4
  import { useNavigate as w, useLocation as f, Navigate as p } from "react-router-dom";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ukpc-lib/react",
3
3
  "private": false,
4
- "version": "0.15.9-sandbox.saas-9249.patch-2",
4
+ "version": "0.15.9",
5
5
  "type": "module",
6
6
  "main": "./dist/",
7
7
  "module": "./dist/",
@@ -1,5 +1,5 @@
1
- import "../react-to-web-component-w5r1Fs9q.js";
2
- import { U as e } from "../index-Ch-015PG.js";
1
+ import "../react-to-web-component-BOygDorD.js";
2
+ import { U as e } from "../index-CiYHK3Rq.js";
3
3
  export {
4
4
  e as UnauthorizedPage
5
5
  };
@@ -1,5 +1,5 @@
1
- import "../react-to-web-component-w5r1Fs9q.js";
2
- import { ae as m } from "../index-BU5SX9Tl.js";
1
+ import "../react-to-web-component-BOygDorD.js";
2
+ import { ae as m } from "../index-DzW7qqrH.js";
3
3
  export {
4
4
  m as BaseBreadcrumbs
5
5
  };
@@ -1,7 +1,7 @@
1
- import "../react-to-web-component-w5r1Fs9q.js";
2
- import { F as i, u as m } from "../index-DmIpBR3b.js";
3
- import "../index-DqxmsDJs.js";
4
- import "../index-BU5SX9Tl.js";
1
+ import "../react-to-web-component-BOygDorD.js";
2
+ import { F as i, u as m } from "../index-DvH98-Nt.js";
3
+ import "../index-BUE-pz1x.js";
4
+ import "../index-DzW7qqrH.js";
5
5
  export {
6
6
  i as FavoriteMenu,
7
7
  m as updateFavoriteItems
@@ -1,7 +1,7 @@
1
- import "../react-to-web-component-w5r1Fs9q.js";
2
- import { G as i } from "../index-DmIpBR3b.js";
3
- import "../index-DqxmsDJs.js";
4
- import "../index-BU5SX9Tl.js";
1
+ import "../react-to-web-component-BOygDorD.js";
2
+ import { G as i } from "../index-DvH98-Nt.js";
3
+ import "../index-BUE-pz1x.js";
4
+ import "../index-DzW7qqrH.js";
5
5
  export {
6
6
  i as GlobalMenu
7
7
  };
@@ -1,9 +1,9 @@
1
- import "../react-to-web-component-w5r1Fs9q.js";
2
- import { L as n, T as s } from "../index-DmIpBR3b.js";
3
- import "../index-DqxmsDJs.js";
4
- import "../index-Ch-015PG.js";
5
- import "../index-BU5SX9Tl.js";
6
- import "../react-toastify.esm-H_Xdunfj.js";
1
+ import "../react-to-web-component-BOygDorD.js";
2
+ import { L as n, T as s } from "../index-DvH98-Nt.js";
3
+ import "../index-BUE-pz1x.js";
4
+ import "../index-CiYHK3Rq.js";
5
+ import "../index-DzW7qqrH.js";
6
+ import "../react-toastify.esm-DnABvuky.js";
7
7
  import "../toast-config/index.js";
8
8
  import "../toast-config-notification/index.js";
9
9
  export {
@@ -1,6 +1,6 @@
1
- import "../react-to-web-component-w5r1Fs9q.js";
2
- import { H as e, g as m } from "../index-DmIpBR3b.js";
3
- import "../index-BU5SX9Tl.js";
1
+ import "../react-to-web-component-BOygDorD.js";
2
+ import { H as e, g as m } from "../index-DvH98-Nt.js";
3
+ import "../index-DzW7qqrH.js";
4
4
  export {
5
5
  e as HasPermission,
6
6
  m as getUseHasPermission
@@ -1,4 +1,4 @@
1
- import { j as e, s as a } from "./react-to-web-component-w5r1Fs9q.js";
1
+ import { j as e, s as a } from "./react-to-web-component-BOygDorD.js";
2
2
  const l = "*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}";
3
3
  function s({ children: t, styles: o = [], ...i }) {
4
4
  return /* @__PURE__ */ e.jsxs("div", { ...i, children: [
@@ -1,4 +1,4 @@
1
- import { r as M, c as ce, g as Jt, s as Xt, j as E } from "./react-to-web-component-w5r1Fs9q.js";
1
+ import { r as M, c as ce, g as Jt, s as Xt, j as E } from "./react-to-web-component-BOygDorD.js";
2
2
  import { a as Wt, _ as Z } from "./setPrototypeOf-CP0c5ut2.js";
3
3
  function Gt(i, e) {
4
4
  for (var t = 0; t < e.length; t++) {
@@ -1,10 +1,10 @@
1
- import { c as Fi, g as yu, r as A, R as Le, j as L, a as Kd, b as Up, s as zp, d as cV } from "./react-to-web-component-w5r1Fs9q.js";
2
- import { t as KD, I as fV, i as dV, L as hy } from "./index-Ch-015PG.js";
3
- import { _ as Zo, i as Jh, s as hV, a as Te, b as py, f as pV, r as my, n as Wn, t as XD, e as mV, g as QD, c as an, d as ep, h as ZD, p as Io, m as hS, j as pS, k as Sh, l as Xd, o as mS, q as gV, T as JD, u as vV, v as yV, w as bV, x as ek, y as Er, D as xV, z as tp, A as wV, B as tk, C as SV, E as tf, F as np, G as gS, H as bu, I as ol, J as vS, K as TV, L as xu, M as kf, N as or, O as CV, P as nk, Q as rk, R as qr, S as _V, U as EV, V as ik, W as sk, X as Yp, Y as Q0, Z as Ec, $ as DV, a0 as yS, a1 as kV, a2 as Qd, a3 as OV, a4 as rp, a5 as PV, a6 as MV, a7 as Dn, a8 as AV, a9 as IV, aa as RV, ab as ok, ac as ak, ad as lk } from "./index-BU5SX9Tl.js";
1
+ import { c as Fi, g as yu, r as A, R as Le, j as L, a as Kd, b as Up, s as zp, d as cV } from "./react-to-web-component-BOygDorD.js";
2
+ import { t as KD, I as fV, i as dV, L as hy } from "./index-CiYHK3Rq.js";
3
+ import { _ as Zo, i as Jh, s as hV, a as Te, b as py, f as pV, r as my, n as Wn, t as XD, e as mV, g as QD, c as an, d as ep, h as ZD, p as Io, m as hS, j as pS, k as Sh, l as Xd, o as mS, q as gV, T as JD, u as vV, v as yV, w as bV, x as ek, y as Er, D as xV, z as tp, A as wV, B as tk, C as SV, E as tf, F as np, G as gS, H as bu, I as ol, J as vS, K as TV, L as xu, M as kf, N as or, O as CV, P as nk, Q as rk, R as qr, S as _V, U as EV, V as ik, W as sk, X as Yp, Y as Q0, Z as Ec, $ as DV, a0 as yS, a1 as kV, a2 as Qd, a3 as OV, a4 as rp, a5 as PV, a6 as MV, a7 as Dn, a8 as AV, a9 as IV, aa as RV, ab as ok, ac as ak, ad as lk } from "./index-DzW7qqrH.js";
4
4
  import { c as $s } from "./clsx-DB4S2d7J.js";
5
5
  import { _ as bS } from "./setPrototypeOf-CP0c5ut2.js";
6
- import { S as Z0 } from "./index-DqxmsDJs.js";
7
- import { B as J0 } from "./react-toastify.esm-H_Xdunfj.js";
6
+ import { S as Z0 } from "./index-BUE-pz1x.js";
7
+ import { B as J0 } from "./react-toastify.esm-DnABvuky.js";
8
8
  import "./toast-config/index.js";
9
9
  import "./toast-config-notification/index.js";
10
10
  function LV(e) {
@@ -1964,22 +1964,22 @@ en.getAdapter = Fk.getAdapter;
1964
1964
  en.HttpStatusCode = xy;
1965
1965
  en.default = en;
1966
1966
  const {
1967
- Axios: rfe,
1968
- AxiosError: ife,
1969
- CanceledError: sfe,
1970
- isCancel: ofe,
1971
- CancelToken: afe,
1972
- VERSION: lfe,
1973
- all: ufe,
1974
- Cancel: cfe,
1975
- isAxiosError: ffe,
1976
- spread: dfe,
1977
- toFormData: hfe,
1978
- AxiosHeaders: pfe,
1979
- HttpStatusCode: mfe,
1980
- formToJSON: gfe,
1981
- getAdapter: vfe,
1982
- mergeConfig: yfe
1967
+ Axios: nfe,
1968
+ AxiosError: rfe,
1969
+ CanceledError: ife,
1970
+ isCancel: sfe,
1971
+ CancelToken: ofe,
1972
+ VERSION: afe,
1973
+ all: lfe,
1974
+ Cancel: ufe,
1975
+ isAxiosError: cfe,
1976
+ spread: ffe,
1977
+ toFormData: dfe,
1978
+ AxiosHeaders: hfe,
1979
+ HttpStatusCode: pfe,
1980
+ formToJSON: mfe,
1981
+ getAdapter: gfe,
1982
+ mergeConfig: vfe
1983
1983
  } = en;
1984
1984
  var Af = /* @__PURE__ */ function() {
1985
1985
  function e() {
@@ -12268,7 +12268,7 @@ function i8({
12268
12268
  }
12269
12269
  ) }) });
12270
12270
  }
12271
- function bfe(e) {
12271
+ function yfe(e) {
12272
12272
  const { user: t, logout: n, isFetching: r } = dU();
12273
12273
  return /* @__PURE__ */ L.jsx(
12274
12274
  TP,
@@ -17119,7 +17119,7 @@ function JM({ ...e }) {
17119
17119
  var se, ae, ye;
17120
17120
  const t = e.item, n = e.level || 0, r = !!((se = e.item.children) != null && se.length), i = `level-${n}`, s = (oe, te = i) => `${oe} ${te} `, [o, l] = A.useState(!1), [c, d] = A.useState(t.isFavorite || !1), h = A.useRef(), p = A.useRef();
17121
17121
  p != null && p.current && ((ae = p == null ? void 0 : p.current) == null ? void 0 : ae.scrollWidth) > ((ye = p == null ? void 0 : p.current) == null ? void 0 : ye.clientWidth);
17122
- const y = window.location.origin, b = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, C = window.location.pathname.split("/")[1], w = b.pathname.split("/")[1], E = e.item.redirectUrl || e.ssr || !y.includes("local") && y !== b.origin || w !== C, _ = r || n === 0 ? "div" : E ? "a" : ok, I = t.redirectUrl || (t.path && t.path.includes("http") ? new URL(t.path).pathname : t.path) || "#", P = n + 1, V = r && o && n > 0, N = () => {
17122
+ const y = window.location.origin, b = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, C = window.location.pathname.split("/")[1], w = b.pathname.split("/")[1], E = e.item.redirectUrl || e.ssr || !y.includes("local") && y !== b.origin || w !== C, _ = r || n === 0 ? "div" : E ? "a" : ok, I = t.redirectUrl || t.path || "#", P = n + 1, V = r && o && n > 0, N = () => {
17123
17123
  e.isDrop || l(!0);
17124
17124
  }, j = () => {
17125
17125
  l(!1);
@@ -17151,15 +17151,13 @@ function JM({ ...e }) {
17151
17151
  {
17152
17152
  target: Y,
17153
17153
  to: I,
17154
+ href: I,
17154
17155
  draggable: "true",
17155
17156
  className: s("menu-item__link"),
17156
17157
  style: {
17157
17158
  width: "100%",
17158
17159
  transition: "all 0.3s"
17159
17160
  },
17160
- onClick: () => {
17161
- _ === "a" && Y === "_blank" || !r && t.path && e.onClickItem(I);
17162
- },
17163
17161
  onDragStart: (oe) => {
17164
17162
  console.log("onDragStart component", oe.target);
17165
17163
  },
@@ -17222,8 +17220,7 @@ function JM({ ...e }) {
17222
17220
  ...e,
17223
17221
  key: fe.id,
17224
17222
  item: fe,
17225
- level: P,
17226
- onClickItem: e.onClickItem
17223
+ level: P
17227
17224
  }
17228
17225
  ))
17229
17226
  }
@@ -22632,8 +22629,7 @@ function Ste(e) {
22632
22629
  item: N,
22633
22630
  level: 1,
22634
22631
  onSetFavoriteSuccess: b,
22635
- isDrop: o,
22636
- onClickItem: e.onClickItem
22632
+ isDrop: o
22637
22633
  }
22638
22634
  )
22639
22635
  }
@@ -40056,15 +40052,6 @@ function Oce(e) {
40056
40052
  n.current
40057
40053
  );
40058
40054
  }
40059
- function Pce(e) {
40060
- if (e.redirectUrl)
40061
- return e.redirectUrl;
40062
- if (e.path && e.path.includes("http")) {
40063
- const t = new URL(e.path);
40064
- return t.href.replace(t.origin, "");
40065
- }
40066
- return e.path || "#";
40067
- }
40068
40055
  function tN({ ...e }) {
40069
40056
  var Ce, Ie, Be;
40070
40057
  const t = e.item, n = e.level || 0, r = !!((Ce = e.item.children) != null && Ce.length), { isActive: i, isCollapsed: s } = e, o = `level-${n}`, l = s ? "collapsed" : "expanded", c = i(t.id) ? "active" : "", d = r ? "parent" : "child", h = e.params.isOpen ? "isOpen" : "isClose", p = e.isInternalApp ? "isInternalApp" : "", y = (je, Ge = o) => `${je} ${Ge} ${l} ${c} ${d} ${h} ${p}`, [b, C] = A.useState(!1), [w, E] = A.useState(t.isFavorite || !1);
@@ -40073,7 +40060,7 @@ function tN({ ...e }) {
40073
40060
  }, [e.item.isFavorite]);
40074
40061
  const _ = A.useRef(), I = A.useRef();
40075
40062
  I != null && I.current && ((Ie = I == null ? void 0 : I.current) == null ? void 0 : Ie.scrollWidth) > ((Be = I == null ? void 0 : I.current) == null ? void 0 : Be.clientWidth);
40076
- const P = window.location.origin, V = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, N = window.location.pathname.split("/")[1], j = V.pathname.split("/")[1], v = e.item.redirectUrl || e.ssr || !P.includes("local") && P !== V.origin || j !== N, Y = r ? "div" : !e.isInternalApp && v ? "a" : ok, z = Pce(t), se = n + 1, ae = r && s && b, ye = s || n === 0 ? void 0 : `${n + 0.25}rem`, oe = () => {
40063
+ const P = window.location.origin, V = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, N = window.location.pathname.split("/")[1], j = V.pathname.split("/")[1], v = e.item.redirectUrl || e.ssr || !P.includes("local") && P !== V.origin || j !== N, Y = r ? "div" : !e.isInternalApp && v ? "a" : ok, z = t.redirectUrl || t.path || "#", se = n + 1, ae = r && s && b, ye = s || n === 0 ? void 0 : `${n + 0.25}rem`, oe = () => {
40077
40064
  C(!0);
40078
40065
  }, te = () => {
40079
40066
  C(!1);
@@ -40108,22 +40095,32 @@ function tN({ ...e }) {
40108
40095
  {
40109
40096
  target: we,
40110
40097
  to: z,
40098
+ href: z,
40111
40099
  draggable: "true",
40112
40100
  className: y("menu-item__link"),
40113
40101
  style: {
40114
40102
  paddingLeft: ye
40103
+ // transition: 'all 0.3s',
40104
+ // transitionDelay: '0.1s',
40105
+ // color: isActive(item.id)
40106
+ // ? props.brandColors?.primary400 || color.primary400
40107
+ // : undefined,
40108
+ // backgroundColor:
40109
+ // isActive(item.id) && level === 0
40110
+ // ? props.brandColors?.primary200
40111
+ // : undefined,
40115
40112
  },
40116
40113
  onClick: (je) => {
40117
- Y === "a" && we === "_blank" || (!r && t.path && (localStorage.setItem(
40114
+ Y === "a" && we === "_blank" || (!r && t.path && localStorage.setItem(
40118
40115
  "latestClickMenuPath",
40119
40116
  (t.path || "").replace(window.location.origin, "")
40120
- ), e.onClickItem(z)), !s && e.toggleExpand(je));
40117
+ ), !s && e.toggleExpand(je));
40121
40118
  },
40122
40119
  children: [
40123
- /* @__PURE__ */ L.jsx(Mce, { cls: y, item: t }),
40120
+ /* @__PURE__ */ L.jsx(Pce, { cls: y, item: t }),
40124
40121
  /* @__PURE__ */ L.jsx("span", { className: y("menu-item__label"), ref: I, children: t.name }),
40125
40122
  /* @__PURE__ */ L.jsx(
40126
- Ace,
40123
+ Mce,
40127
40124
  {
40128
40125
  tooltipPosition: re ? "right" : "top",
40129
40126
  menuLevel: n,
@@ -40194,10 +40191,10 @@ function tN({ ...e }) {
40194
40191
  }
40195
40192
  );
40196
40193
  }
40197
- function Mce({ item: e, cls: t }) {
40194
+ function Pce({ item: e, cls: t }) {
40198
40195
  return /* @__PURE__ */ L.jsx("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ L.jsx(Mie, { item: e }) });
40199
40196
  }
40200
- function Ace(e) {
40197
+ function Mce(e) {
40201
40198
  const t = {
40202
40199
  marginRight: e.hasChildren ? 10 : 0,
40203
40200
  fontSize: 18,
@@ -40242,7 +40239,7 @@ function Ace(e) {
40242
40239
  )
40243
40240
  ] });
40244
40241
  }
40245
- function Ice() {
40242
+ function Ace() {
40246
40243
  return /* @__PURE__ */ L.jsx(
40247
40244
  "svg",
40248
40245
  {
@@ -40257,7 +40254,7 @@ function Ice() {
40257
40254
  }
40258
40255
  );
40259
40256
  }
40260
- function Rce() {
40257
+ function Ice() {
40261
40258
  return /* @__PURE__ */ L.jsx(
40262
40259
  "svg",
40263
40260
  {
@@ -40272,7 +40269,7 @@ function Rce() {
40272
40269
  }
40273
40270
  );
40274
40271
  }
40275
- function Lce(e) {
40272
+ function Rce(e) {
40276
40273
  return /* @__PURE__ */ L.jsx(
40277
40274
  "svg",
40278
40275
  {
@@ -40294,7 +40291,7 @@ function Lce(e) {
40294
40291
  }
40295
40292
  );
40296
40293
  }
40297
- const Nce = ".flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{position:fixed;top:64px;left:0;height:calc(100vh - 64px);max-width:18rem;display:flex;flex-direction:column;border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:5px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out;background-color:initial}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;color:#292929}.menu-item__wrapper.collapsed.active,.menu-item__wrapper.expanded.active.parent.isClose,.menu-item__wrapper.expanded.active.child{color:var(--primary400);background-color:var(--primary200)}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link.expanded.level-0{padding:.5rem 10px}.isHome{position:sticky;top:0;background-color:#fafafa;z-index:10}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-0{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-0,.menu-item__link.active.level-1,.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9{background-color:inherit;color:inherit}.menu-item__link.active.level-1:hover,.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-0:hover{background-color:#919eab14}.menu-item__link.level-0{transition:padding .2s}.menu-item__link.menu-item__link.collapsed.level-0{padding:0}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center;color:#85858a}.menu-item__icon.collapsed.active,.menu-item__icon.expanded.active.parent.isClose,.menu-item__icon.expanded.active.child{color:inherit}.menu-item__icon.collapsed.level-0>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;opacity:1}.menu-item__label.level-0.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{margin-left:8px;font-weight:500;font-size:.951rem}.menu-item__label.level-0.isInternalApp{font-weight:unset!important}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__icon{transition:transform .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:210px;max-width:210px;padding:4px;z-index:1200}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown.expanded.menu-item__dropdown--close{margin-top:0;transition:margin-top .3s}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-0{height:48px}.menu-item__dropdown.collapsed.level-0{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}", $ce = (e) => {
40294
+ const Lce = ".flex-col-center{display:flex;flex-direction:column;justify-content:center}.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{position:fixed;top:64px;left:0;height:calc(100vh - 64px);max-width:18rem;display:flex;flex-direction:column;border-right:1px solid #ddd;background-color:#fafafa;transition:all .3s}.side-bar.expanded{width:17rem}.side-bar.collapsed{width:64px}.side-bar__wrap-btn-logout,.side-bar__btn-logout{margin:5px 0}.side-bar__logout-btn__text{margin-left:12px;font-size:.875rem;opacity:1}.side-bar__logout-btn__text.collapsed{opacity:0;transition:ease-in-out .2s;transition-delay:.15s}.side-bar__wrapper-toggle-btn{display:flex;flex-direction:row;justify-content:flex-end;transition:all .3s;margin-right:-8px;margin-top:40px}.side-bar__wrapper-toggle-btn.collapsed{justify-content:center;width:100%}.side-bar__toggle-btn{margin-top:-6px;color:#85858a}.side-bar__logout-btn{width:100%;text-align:left;display:flex;flex-direction:row;align-items:center;padding:8px 16px 8px 18.6665px;min-height:48px;border-radius:.375rem;overflow:hidden;transition:all .3s ease-in-out;background-color:initial}.side-bar__logout-btn:hover{background-color:#919eab14}.side-bar__icon-logout{flex-shrink:0}.menu-item__wrapper{display:flex;flex-direction:column;position:relative;width:100%;color:#292929}.menu-item__wrapper.collapsed.active,.menu-item__wrapper.expanded.active.parent.isClose,.menu-item__wrapper.expanded.active.child{color:var(--primary400);background-color:var(--primary200)}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer}.menu-item__link.expanded.level-0{padding:.5rem 10px}.isHome{position:sticky;top:0;background-color:#fafafa;z-index:10}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-0{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.menu-item__link.active.level-0,.menu-item__link.active.level-1,.menu-item__link.active.level-2,.menu-item__link.active.level-3,.menu-item__link.active.level-4,.menu-item__link.active.level-5,.menu-item__link.active.level-6,.menu-item__link.active.level-7,.menu-item__link.active.level-8,.menu-item__link.active.level-9{background-color:inherit;color:inherit}.menu-item__link.active.level-1:hover,.menu-item__link.active.level-2:hover,.menu-item__link.active.level-3:hover,.menu-item__link.active.level-4:hover,.menu-item__link.active.level-5:hover,.menu-item__link.active.level-6:hover,.menu-item__link.active.level-7:hover,.menu-item__link.active.level-8:hover,.menu-item__link.active.level-9:hover,.menu-item__link.active.level-0:hover{background-color:#919eab14}.menu-item__link.level-0{transition:padding .2s}.menu-item__link.menu-item__link.collapsed.level-0{padding:0}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center;color:#85858a}.menu-item__icon.collapsed.active,.menu-item__icon.expanded.active.parent.isClose,.menu-item__icon.expanded.active.child{color:inherit}.menu-item__icon.collapsed.level-0>*{margin:0 auto}.menu-item__label{font-size:.875rem;text-overflow:ellipsis;overflow:hidden;white-space:nowrap;width:100%;flex-shrink:1;margin-left:12px;padding-right:12px;opacity:1}.menu-item__label.level-0.collapsed{text-overflow:unset}.menu-item__label.active{color:inherit}.menu-item__label.collapsed{margin-left:8px;font-size:.75rem;line-height:1rem}.menu-item__label.collapsed.level-0{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{margin-left:8px;font-weight:500;font-size:.951rem}.menu-item__label.level-0.isInternalApp{font-weight:unset!important}.menu-item__icon-arrow__wrapper{display:grid;place-items:center;position:absolute;top:50%;transform:translateY(-50%);right:0}.menu-item__icon-arrow__wrapper.expanded{right:4px}.menu-item__icon-arrow__icon{transition:transform .3s!important;transform:rotate(-90deg)!important}.menu-item__icon-arrow__icon.active{color:inherit}.menu-item__icon-arrow__icon.expanded.open{transform:rotate(0)!important}.menu-item__dropdown.collapsed{background-color:#fafafa;border:1px solid #ddd;box-shadow:#0000001a 0 10px 15px -3px,#0000000d 0 4px 6px -2px;border-radius:4px;width:210px;max-width:210px;padding:4px;z-index:1200}.menu-item__dropdown::-webkit-scrollbar{width:4px}.menu-item__dropdown::-webkit-scrollbar-thumb{background-color:#9b9b9b99;border-radius:2px}.menu-item__dropdown,.menu-item__dropdown>*{margin-top:4px}.menu-item__dropdown.expanded.menu-item__dropdown--close{margin-top:0;transition:margin-top .3s}.menu-item__dropdown:first-of-type{margin-top:0}.menu-item__dropdown>*:first-child{margin-top:0}.menu-item__dropdown.collapsed .menu-item__link{height:40px}.menu-item__dropdown.collapsed .menu-item__link.level-0{height:48px}.menu-item__dropdown.collapsed.level-0{width:auto;max-width:unset;box-shadow:none;border:none;padding:0;background-color:unset}.menu-item__dropdown.expanded{overflow:hidden}.icon-btn{display:inline-flex;align-items:center;justify-content:center;padding:8px;border-radius:50%;background-color:transparent;transition:background-color .3s ease;border:none}.icon-btn:hover{background-color:var(--btn-bg-hover)}.simplebar-scrollbar:before{background-color:#0000002d}.side-bar__menu.collapsed .simplebar-track.simplebar-vertical{display:none}@keyframes fadeIn{0%{opacity:0}to{opacity:1}}", Nce = (e) => {
40298
40295
  const t = e.isCollapsed ? 0 : e.depth * 16;
40299
40296
  return /* @__PURE__ */ L.jsx(
40300
40297
  "div",
@@ -40310,7 +40307,7 @@ const Nce = ".flex-col-center{display:flex;flex-direction:column;justify-content
40310
40307
  }
40311
40308
  }
40312
40309
  );
40313
- }, Fce = ".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}", jce = (e) => {
40310
+ }, $ce = ".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}", Fce = (e) => {
40314
40311
  const [t, n] = A.useState(() => {
40315
40312
  const r = localStorage.getItem("openingMenuIds");
40316
40313
  return r && r !== "[]" ? JSON.parse(r) : (e == null ? void 0 : e.initOpenIds) || [];
@@ -40329,13 +40326,13 @@ function nN(e) {
40329
40326
  }
40330
40327
  const Zh = localStorage.getItem("isCollapsed");
40331
40328
  nN(Zh);
40332
- function Bce(e) {
40329
+ function jce(e) {
40333
40330
  const t = new CustomEvent("favoriteMenusChange", {
40334
40331
  detail: { favoriteMenus: e }
40335
40332
  });
40336
40333
  window.dispatchEvent(t);
40337
40334
  }
40338
- function Vce(e) {
40335
+ function Bce(e) {
40339
40336
  const t = lk(), [n, r] = A.useState([]), i = n.map((te) => te.data), [s, o] = A.useState(!1), [l, c] = A.useState([]), [d, h] = A.useState(
40340
40337
  Zh === null ? !0 : Zh === "true"
40341
40338
  ), [p, y] = A.useState(window.location.href), b = A.useRef(null);
@@ -40345,7 +40342,7 @@ function Vce(e) {
40345
40342
  }, [i, e.handleCallback]), A.useEffect(() => {
40346
40343
  y(window.location.href);
40347
40344
  }, [t]);
40348
- const C = Hce(i, p), [w, E] = jce({
40345
+ const C = Wce(i, p), [w, E] = Fce({
40349
40346
  initOpenIds: e.initOpenIds
40350
40347
  }), _ = () => {
40351
40348
  var te, fe;
@@ -40435,7 +40432,7 @@ function Vce(e) {
40435
40432
  };
40436
40433
  }
40437
40434
  const de = te.map((le) => fe(le));
40438
- Bce(de);
40435
+ jce(de);
40439
40436
  }, [i]);
40440
40437
  function se(te) {
40441
40438
  const fe = te.detail.menuItem;
@@ -40492,7 +40489,7 @@ function Vce(e) {
40492
40489
  {
40493
40490
  className: "icon-btn side-bar__toggle-btn",
40494
40491
  onClick: _,
40495
- children: d ? /* @__PURE__ */ L.jsx(Rce, {}) : /* @__PURE__ */ L.jsx(Ice, {})
40492
+ children: d ? /* @__PURE__ */ L.jsx(Ice, {}) : /* @__PURE__ */ L.jsx(Ace, {})
40496
40493
  }
40497
40494
  ) }),
40498
40495
  /* @__PURE__ */ L.jsx(
@@ -40551,7 +40548,6 @@ function Vce(e) {
40551
40548
  return /* @__PURE__ */ L.jsx(
40552
40549
  tN,
40553
40550
  {
40554
- onClickItem: e.onClickItem,
40555
40551
  isInternalApp: e.isInternalApp,
40556
40552
  isActive: re,
40557
40553
  isCollapsed: d,
@@ -40587,7 +40583,7 @@ function Vce(e) {
40587
40583
  placeholderRender: (te, { depth: fe }) => {
40588
40584
  var de;
40589
40585
  return /* @__PURE__ */ L.jsx(
40590
- $ce,
40586
+ Nce,
40591
40587
  {
40592
40588
  node: te,
40593
40589
  depth: fe,
@@ -40621,7 +40617,7 @@ function Vce(e) {
40621
40617
  oe.style.setProperty("z-index", "1304"), oe.classList.remove("backdrop-delay-transition"), P(!0);
40622
40618
  },
40623
40619
  children: [
40624
- /* @__PURE__ */ L.jsx(Lce, { className: N("side-bar__icon-logout") }),
40620
+ /* @__PURE__ */ L.jsx(Rce, { className: N("side-bar__icon-logout") }),
40625
40621
  /* @__PURE__ */ L.jsx("span", { className: N("side-bar__logout-btn__text"), children: "Logout" })
40626
40622
  ]
40627
40623
  }
@@ -40726,14 +40722,14 @@ const GD = {
40726
40722
  "/anpr/page/Issues/Index?status=Closed": ["/anpr/page/Issues"],
40727
40723
  "/anpr/page/Issues/Index": ["/anpr/page/Issues"]
40728
40724
  };
40729
- function Wce(e, t) {
40725
+ function Vce(e, t) {
40730
40726
  const r = e.replace(window.origin, "").replace("/app", ""), i = new URL(r, window.location.origin), s = new URL(t.replace("/app", ""), window.origin), o = (localStorage.getItem("latestClickMenuPath") || "").replace("/app", "");
40731
40727
  return r && GD[r] && GD[r].some((l) => t.replace("/app", "").includes(l)) ? o === r ? 5 : 4 : i.pathname === s.pathname && i.search === s.search ? 3 : i.pathname === s.pathname ? 2 : s.pathname.startsWith(i.pathname) ? 1 : 0;
40732
40728
  }
40733
- function Hce(e, t) {
40729
+ function Wce(e, t) {
40734
40730
  const n = e.map((o) => ({
40735
40731
  item: o,
40736
- priority: o.path ? Wce(o.path, t) : 0
40732
+ priority: o.path ? Vce(o.path, t) : 0
40737
40733
  })).filter((o) => o.priority > 0);
40738
40734
  console.log(" index.tsx ~ matchedItems:", n);
40739
40735
  const r = n.length > 0 ? n.reduce(
@@ -40756,30 +40752,30 @@ function iN(e) {
40756
40752
  path: window.location.origin + "/app" + n.path
40757
40753
  } : (n.children && (n.children = iN(n.children)), n));
40758
40754
  }
40759
- function Uce(e) {
40755
+ function Hce(e) {
40760
40756
  return (
40761
40757
  // <ShadowDOM.div>
40762
40758
  /* @__PURE__ */ L.jsx(
40763
40759
  Z0,
40764
40760
  {
40765
40761
  id: "global-menu-container",
40766
- styles: [bk, Nce, Fce],
40762
+ styles: [bk, Lce, $ce],
40767
40763
  style: {
40768
40764
  zIndex: "var(--menu-z-index)",
40769
40765
  position: "relative"
40770
40766
  },
40771
40767
  className: "backdrop-delay-transition",
40772
- children: /* @__PURE__ */ L.jsx(Vce, { ...e })
40768
+ children: /* @__PURE__ */ L.jsx(Bce, { ...e })
40773
40769
  }
40774
40770
  )
40775
40771
  );
40776
40772
  }
40777
- function zce(e) {
40773
+ function Uce(e) {
40778
40774
  const t = { ...Dn, ...e.brandColors };
40779
- return console.log("props.brandColors", t), /* @__PURE__ */ L.jsx(ak, { children: /* @__PURE__ */ L.jsx(W5, { theme: OU({ colors: t }), children: /* @__PURE__ */ L.jsx(Uce, { ...e, ssr: !0 }) }) });
40775
+ return console.log("props.brandColors", t), /* @__PURE__ */ L.jsx(ak, { children: /* @__PURE__ */ L.jsx(W5, { theme: OU({ colors: t }), children: /* @__PURE__ */ L.jsx(Hce, { ...e, ssr: !0 }) }) });
40780
40776
  }
40781
40777
  {
40782
- const e = zp(zce, {
40778
+ const e = zp(Uce, {
40783
40779
  props: {
40784
40780
  baseUrl: "string",
40785
40781
  menuPath: "string",
@@ -40797,10 +40793,10 @@ function zce(e) {
40797
40793
  }
40798
40794
  export {
40799
40795
  Cte as F,
40800
- Uce as G,
40796
+ Hce as G,
40801
40797
  mU as H,
40802
40798
  r8 as L,
40803
- bfe as T,
40799
+ yfe as T,
40804
40800
  pU as g,
40805
40801
  TI as u
40806
40802
  };