@ukpc-lib/react 0.16.5 → 0.16.6
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/components/FavoriteMenu/components/MenuItem.d.ts +2 -2
- package/dist/components/GlobalMenu/components/MenuItem.d.ts +1 -0
- package/dist/components/GlobalMenu/helpers/index.d.ts +3 -1
- package/dist/components/index.cjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/{index.esm2017-B5CLzdVt.cjs → index.esm2017-BWPYyOYY.cjs} +101 -101
- package/dist/{index.esm2017-DedBSRLV.js → index.esm2017-CxUJuamS.js} +3263 -3256
- package/dist/share/hooks/useSyncRouter.d.ts +1 -1
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +64 -82
- package/package.json +1 -1
- package/web-components-bundle/favorite-menu/index.js +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/{index-CZ1XQeht.js → index-9O8aC_qt.js} +267 -260
|
@@ -1965,22 +1965,22 @@ un.getAdapter = jk.getAdapter;
|
|
|
1965
1965
|
un.HttpStatusCode = xy;
|
|
1966
1966
|
un.default = un;
|
|
1967
1967
|
const {
|
|
1968
|
-
Axios:
|
|
1969
|
-
AxiosError:
|
|
1970
|
-
CanceledError:
|
|
1971
|
-
isCancel:
|
|
1972
|
-
CancelToken:
|
|
1973
|
-
VERSION:
|
|
1974
|
-
all:
|
|
1975
|
-
Cancel:
|
|
1976
|
-
isAxiosError:
|
|
1977
|
-
spread:
|
|
1978
|
-
toFormData:
|
|
1979
|
-
AxiosHeaders:
|
|
1980
|
-
HttpStatusCode:
|
|
1981
|
-
formToJSON:
|
|
1982
|
-
getAdapter:
|
|
1983
|
-
mergeConfig:
|
|
1968
|
+
Axios: rfe,
|
|
1969
|
+
AxiosError: ife,
|
|
1970
|
+
CanceledError: sfe,
|
|
1971
|
+
isCancel: ofe,
|
|
1972
|
+
CancelToken: afe,
|
|
1973
|
+
VERSION: lfe,
|
|
1974
|
+
all: ufe,
|
|
1975
|
+
Cancel: cfe,
|
|
1976
|
+
isAxiosError: ffe,
|
|
1977
|
+
spread: dfe,
|
|
1978
|
+
toFormData: hfe,
|
|
1979
|
+
AxiosHeaders: pfe,
|
|
1980
|
+
HttpStatusCode: mfe,
|
|
1981
|
+
formToJSON: gfe,
|
|
1982
|
+
getAdapter: vfe,
|
|
1983
|
+
mergeConfig: yfe
|
|
1984
1984
|
} = un;
|
|
1985
1985
|
var Af = /* @__PURE__ */ function() {
|
|
1986
1986
|
function e() {
|
|
@@ -4164,15 +4164,15 @@ function I4(e) {
|
|
|
4164
4164
|
function R4(e) {
|
|
4165
4165
|
var t = e.state, n = e.options, r = e.name;
|
|
4166
4166
|
if (!t.modifiersData[r]._skip) {
|
|
4167
|
-
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !0 : o, c = n.fallbackPlacements, d = n.padding, h = n.boundary, p = n.rootBoundary, y = n.altBoundary, b = n.flipVariations, C = b === void 0 ? !0 : b, w = n.allowedAutoPlacements, E = t.options.placement, _ = us(E), I = _ === E, P = c || (I || !C ? [Dh(E)] : I4(E)), V = [E].concat(P).reduce(function(_e,
|
|
4168
|
-
return _e.concat(us(
|
|
4169
|
-
placement:
|
|
4167
|
+
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, l = o === void 0 ? !0 : o, c = n.fallbackPlacements, d = n.padding, h = n.boundary, p = n.rootBoundary, y = n.altBoundary, b = n.flipVariations, C = b === void 0 ? !0 : b, w = n.allowedAutoPlacements, E = t.options.placement, _ = us(E), I = _ === E, P = c || (I || !C ? [Dh(E)] : I4(E)), V = [E].concat(P).reduce(function(_e, ke) {
|
|
4168
|
+
return _e.concat(us(ke) === fb ? A4(t, {
|
|
4169
|
+
placement: ke,
|
|
4170
4170
|
boundary: h,
|
|
4171
4171
|
rootBoundary: p,
|
|
4172
4172
|
padding: d,
|
|
4173
4173
|
flipVariations: C,
|
|
4174
4174
|
allowedAutoPlacements: w
|
|
4175
|
-
}) :
|
|
4175
|
+
}) : ke);
|
|
4176
4176
|
}, []), N = t.rects.reference, j = t.rects.popper, v = /* @__PURE__ */ new Map(), Y = !0, z = V[0], ae = 0; ae < V.length; ae++) {
|
|
4177
4177
|
var le = V[ae], ve = us(le), fe = cu(le) === au, de = [Tr, Si].indexOf(ve) >= 0, we = de ? "width" : "height", re = sf(t, {
|
|
4178
4178
|
placement: le,
|
|
@@ -4192,11 +4192,11 @@ function R4(e) {
|
|
|
4192
4192
|
v.set(le, ie);
|
|
4193
4193
|
}
|
|
4194
4194
|
if (Y)
|
|
4195
|
-
for (var be = C ? 3 : 1, Ce = function(
|
|
4195
|
+
for (var be = C ? 3 : 1, Ce = function(ke) {
|
|
4196
4196
|
var Ue = V.find(function(bt) {
|
|
4197
4197
|
var dt = v.get(bt);
|
|
4198
4198
|
if (dt)
|
|
4199
|
-
return dt.slice(0,
|
|
4199
|
+
return dt.slice(0, ke).every(function(wt) {
|
|
4200
4200
|
return wt;
|
|
4201
4201
|
});
|
|
4202
4202
|
});
|
|
@@ -4325,7 +4325,7 @@ function U4(e) {
|
|
|
4325
4325
|
var fe, de = V === "y" ? Tr : Cr, we = V === "y" ? Si : Ti, re = V === "y" ? "height" : "width", se = j[V], J = se + E[de], ie = se - E[we], be = b ? -Y[re] / 2 : 0, Ce = I === au ? v[re] : Y[re], Ee = I === au ? -Y[re] : -v[re], $e = t.elements.arrow, _e = b && $e ? hb($e) : {
|
|
4326
4326
|
width: 0,
|
|
4327
4327
|
height: 0
|
|
4328
|
-
},
|
|
4328
|
+
}, ke = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : uO(), Ue = ke[de], bt = ke[we], dt = jc(0, v[re], _e[re]), wt = P ? v[re] / 2 - be - dt - Ue - ae.mainAxis : Ce - dt - Ue - ae.mainAxis, kt = P ? -v[re] / 2 + be + dt + bt + ae.mainAxis : Ee + dt + bt + ae.mainAxis, Ve = t.elements.arrow && Rf(t.elements.arrow), Ct = Ve ? V === "y" ? Ve.clientTop || 0 : Ve.clientLeft || 0 : 0, tn = (fe = le == null ? void 0 : le[V]) != null ? fe : 0, Rt = se + wt - tn - Ct, Ht = se + kt - tn, ur = jc(b ? sp(J, Rt) : J, se, b ? Ga(ie, Ht) : ie);
|
|
4329
4329
|
j[V] = ur, ve[V] = ur - se;
|
|
4330
4330
|
}
|
|
4331
4331
|
if (l) {
|
|
@@ -5688,7 +5688,7 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
|
|
|
5688
5688
|
leaveTouchDelay: Ee = 1500,
|
|
5689
5689
|
onClose: $e,
|
|
5690
5690
|
onOpen: _e,
|
|
5691
|
-
open:
|
|
5691
|
+
open: ke,
|
|
5692
5692
|
placement: Ue = "bottom",
|
|
5693
5693
|
PopperComponent: bt,
|
|
5694
5694
|
PopperProps: dt = {},
|
|
@@ -5700,7 +5700,7 @@ const af = /* @__PURE__ */ A.forwardRef(function(t, n) {
|
|
|
5700
5700
|
} = j, Rt = Er(j, ZH), Ht = /* @__PURE__ */ A.isValidElement(Y) ? Y : /* @__PURE__ */ L.jsx("span", {
|
|
5701
5701
|
children: Y
|
|
5702
5702
|
}), ur = ub(), mn = B5(), [cn, oo] = A.useState(), [gn, fn] = A.useState(null), Ut = A.useRef(!1), kn = de || ie, cr = Ec(), Ie = Ec(), zt = Ec(), Dr = Ec(), [kr, ao] = ik({
|
|
5703
|
-
controlled:
|
|
5703
|
+
controlled: ke,
|
|
5704
5704
|
default: !1,
|
|
5705
5705
|
name: "Tooltip",
|
|
5706
5706
|
state: "open"
|
|
@@ -6866,7 +6866,7 @@ const MU = (e) => {
|
|
|
6866
6866
|
//! license : MIT
|
|
6867
6867
|
//! momentjs.com
|
|
6868
6868
|
var wO;
|
|
6869
|
-
function
|
|
6869
|
+
function Oe() {
|
|
6870
6870
|
return wO.apply(null, arguments);
|
|
6871
6871
|
}
|
|
6872
6872
|
function AU(e) {
|
|
@@ -6958,7 +6958,7 @@ function em(e) {
|
|
|
6958
6958
|
var t = gs(NaN);
|
|
6959
6959
|
return e != null ? $o(at(t), e) : at(t).userInvalidated = !0, t;
|
|
6960
6960
|
}
|
|
6961
|
-
var cT =
|
|
6961
|
+
var cT = Oe.momentProperties = [], iv = !1;
|
|
6962
6962
|
function wb(e, t) {
|
|
6963
6963
|
var n, r, i, s = cT.length;
|
|
6964
6964
|
if (xr(t._isAMomentObject) || (e._isAMomentObject = t._isAMomentObject), xr(t._i) || (e._i = t._i), xr(t._f) || (e._f = t._f), xr(t._l) || (e._l = t._l), xr(t._strict) || (e._strict = t._strict), xr(t._tzm) || (e._tzm = t._tzm), xr(t._isUTC) || (e._isUTC = t._isUTC), xr(t._offset) || (e._offset = t._offset), xr(t._pf) || (e._pf = at(t)), xr(t._locale) || (e._locale = t._locale), s > 0)
|
|
@@ -6967,18 +6967,18 @@ function wb(e, t) {
|
|
|
6967
6967
|
return e;
|
|
6968
6968
|
}
|
|
6969
6969
|
function Nf(e) {
|
|
6970
|
-
wb(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), iv === !1 && (iv = !0,
|
|
6970
|
+
wb(this, e), this._d = new Date(e._d != null ? e._d.getTime() : NaN), this.isValid() || (this._d = /* @__PURE__ */ new Date(NaN)), iv === !1 && (iv = !0, Oe.updateOffset(this), iv = !1);
|
|
6971
6971
|
}
|
|
6972
6972
|
function Vi(e) {
|
|
6973
6973
|
return e instanceof Nf || e != null && e._isAMomentObject != null;
|
|
6974
6974
|
}
|
|
6975
6975
|
function TO(e) {
|
|
6976
|
-
|
|
6976
|
+
Oe.suppressDeprecationWarnings === !1 && typeof console < "u" && console.warn && console.warn("Deprecation warning: " + e);
|
|
6977
6977
|
}
|
|
6978
6978
|
function _i(e, t) {
|
|
6979
6979
|
var n = !0;
|
|
6980
6980
|
return $o(function() {
|
|
6981
|
-
if (
|
|
6981
|
+
if (Oe.deprecationHandler != null && Oe.deprecationHandler(null, e), n) {
|
|
6982
6982
|
var r = [], i, s, o, l = arguments.length;
|
|
6983
6983
|
for (s = 0; s < l; s++) {
|
|
6984
6984
|
if (i = "", typeof arguments[s] == "object") {
|
|
@@ -7002,10 +7002,10 @@ Arguments: ` + Array.prototype.slice.call(r).join("") + `
|
|
|
7002
7002
|
}
|
|
7003
7003
|
var fT = {};
|
|
7004
7004
|
function CO(e, t) {
|
|
7005
|
-
|
|
7005
|
+
Oe.deprecationHandler != null && Oe.deprecationHandler(e, t), fT[e] || (TO(t), fT[e] = !0);
|
|
7006
7006
|
}
|
|
7007
|
-
|
|
7008
|
-
|
|
7007
|
+
Oe.suppressDeprecationWarnings = !1;
|
|
7008
|
+
Oe.deprecationHandler = null;
|
|
7009
7009
|
function vs(e) {
|
|
7010
7010
|
return typeof Function < "u" && e instanceof Function || Object.prototype.toString.call(e) === "[object Function]";
|
|
7011
7011
|
}
|
|
@@ -7294,10 +7294,10 @@ Ne("YYYYY", rm, tm);
|
|
|
7294
7294
|
Ne("YYYYYY", rm, tm);
|
|
7295
7295
|
It(["YYYYY", "YYYYYY"], zn);
|
|
7296
7296
|
It("YYYY", function(e, t) {
|
|
7297
|
-
t[zn] = e.length === 2 ?
|
|
7297
|
+
t[zn] = e.length === 2 ? Oe.parseTwoDigitYear(e) : yt(e);
|
|
7298
7298
|
});
|
|
7299
7299
|
It("YY", function(e, t) {
|
|
7300
|
-
t[zn] =
|
|
7300
|
+
t[zn] = Oe.parseTwoDigitYear(e);
|
|
7301
7301
|
});
|
|
7302
7302
|
It("Y", function(e, t) {
|
|
7303
7303
|
t[zn] = parseInt(e, 10);
|
|
@@ -7305,7 +7305,7 @@ It("Y", function(e, t) {
|
|
|
7305
7305
|
function Vc(e) {
|
|
7306
7306
|
return om(e) ? 366 : 365;
|
|
7307
7307
|
}
|
|
7308
|
-
|
|
7308
|
+
Oe.parseTwoDigitYear = function(e) {
|
|
7309
7309
|
return yt(e) + (yt(e) > 68 ? 1900 : 2e3);
|
|
7310
7310
|
};
|
|
7311
7311
|
var PO = Cu("FullYear", !0);
|
|
@@ -7314,7 +7314,7 @@ function iz() {
|
|
|
7314
7314
|
}
|
|
7315
7315
|
function Cu(e, t) {
|
|
7316
7316
|
return function(n) {
|
|
7317
|
-
return n != null ? (MO(this, e, n),
|
|
7317
|
+
return n != null ? (MO(this, e, n), Oe.updateOffset(this, t), this) : lf(this, e);
|
|
7318
7318
|
};
|
|
7319
7319
|
}
|
|
7320
7320
|
function lf(e, t) {
|
|
@@ -7469,7 +7469,7 @@ function RO(e, t) {
|
|
|
7469
7469
|
return r = r < 29 ? r : Math.min(r, kb(e.year(), n)), e._isUTC ? e._d.setUTCMonth(n, r) : e._d.setMonth(n, r), e;
|
|
7470
7470
|
}
|
|
7471
7471
|
function LO(e) {
|
|
7472
|
-
return e != null ? (RO(this, e),
|
|
7472
|
+
return e != null ? (RO(this, e), Oe.updateOffset(this, !0), this) : lf(this, "Month");
|
|
7473
7473
|
}
|
|
7474
7474
|
function mz() {
|
|
7475
7475
|
return kb(this.year(), this.month());
|
|
@@ -8025,9 +8025,9 @@ function c6(e) {
|
|
|
8025
8025
|
delete e._isValid;
|
|
8026
8026
|
else
|
|
8027
8027
|
return;
|
|
8028
|
-
e._strict ? e._isValid = !1 :
|
|
8028
|
+
e._strict ? e._isValid = !1 : Oe.createFromInputFallback(e);
|
|
8029
8029
|
}
|
|
8030
|
-
|
|
8030
|
+
Oe.createFromInputFallback = _i(
|
|
8031
8031
|
"value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.",
|
|
8032
8032
|
function(e) {
|
|
8033
8033
|
e._d = /* @__PURE__ */ new Date(e._i + (e._useUTC ? " UTC" : ""));
|
|
@@ -8037,7 +8037,7 @@ function jl(e, t, n) {
|
|
|
8037
8037
|
return e ?? t ?? n;
|
|
8038
8038
|
}
|
|
8039
8039
|
function f6(e) {
|
|
8040
|
-
var t = new Date(
|
|
8040
|
+
var t = new Date(Oe.now());
|
|
8041
8041
|
return e._useUTC ? [
|
|
8042
8042
|
t.getUTCFullYear(),
|
|
8043
8043
|
t.getUTCMonth(),
|
|
@@ -8065,16 +8065,16 @@ function d6(e) {
|
|
|
8065
8065
|
cf(Vt(), 1, 4).year
|
|
8066
8066
|
), r = jl(t.W, 1), i = jl(t.E, 1), (i < 1 || i > 7) && (c = !0)) : (s = e._locale._week.dow, o = e._locale._week.doy, d = cf(Vt(), s, o), n = jl(t.gg, e._a[zn], d.year), r = jl(t.w, d.week), t.d != null ? (i = t.d, (i < 0 || i > 6) && (c = !0)) : t.e != null ? (i = t.e + s, (t.e < 0 || t.e > 6) && (c = !0)) : i = s), r < 1 || r > Ws(n, s, o) ? at(e)._overflowWeeks = !0 : c != null ? at(e)._overflowWeekday = !0 : (l = $O(n, r, i, s, o), e._a[zn] = l.year, e._dayOfYear = l.dayOfYear);
|
|
8067
8067
|
}
|
|
8068
|
-
|
|
8068
|
+
Oe.ISO_8601 = function() {
|
|
8069
8069
|
};
|
|
8070
|
-
|
|
8070
|
+
Oe.RFC_2822 = function() {
|
|
8071
8071
|
};
|
|
8072
8072
|
function Lb(e) {
|
|
8073
|
-
if (e._f ===
|
|
8073
|
+
if (e._f === Oe.ISO_8601) {
|
|
8074
8074
|
WO(e);
|
|
8075
8075
|
return;
|
|
8076
8076
|
}
|
|
8077
|
-
if (e._f ===
|
|
8077
|
+
if (e._f === Oe.RFC_2822) {
|
|
8078
8078
|
HO(e);
|
|
8079
8079
|
return;
|
|
8080
8080
|
}
|
|
@@ -8125,9 +8125,9 @@ function UO(e) {
|
|
|
8125
8125
|
}
|
|
8126
8126
|
function v6(e) {
|
|
8127
8127
|
var t = e._i;
|
|
8128
|
-
xr(t) ? e._d = new Date(
|
|
8128
|
+
xr(t) ? e._d = new Date(Oe.now()) : Lf(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? c6(e) : Bi(t) ? (e._a = SO(t.slice(0), function(n) {
|
|
8129
8129
|
return parseInt(n, 10);
|
|
8130
|
-
}), Rb(e)) : Ka(t) ? m6(e) : Ks(t) ? e._d = new Date(t) :
|
|
8130
|
+
}), Rb(e)) : Ka(t) ? m6(e) : Ks(t) ? e._d = new Date(t) : Oe.createFromInputFallback(e);
|
|
8131
8131
|
}
|
|
8132
8132
|
function zO(e, t, n, r, i) {
|
|
8133
8133
|
var s = {};
|
|
@@ -8235,12 +8235,12 @@ function Nb(e, t) {
|
|
|
8235
8235
|
}
|
|
8236
8236
|
function $b(e, t) {
|
|
8237
8237
|
var n, r;
|
|
8238
|
-
return t._isUTC ? (n = t.clone(), r = (Vi(e) || Lf(e) ? e.valueOf() : Vt(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + r),
|
|
8238
|
+
return t._isUTC ? (n = t.clone(), r = (Vi(e) || Lf(e) ? e.valueOf() : Vt(e).valueOf()) - n.valueOf(), n._d.setTime(n._d.valueOf() + r), Oe.updateOffset(n, !1), n) : Vt(e).local();
|
|
8239
8239
|
}
|
|
8240
8240
|
function Iy(e) {
|
|
8241
8241
|
return -Math.round(e._d.getTimezoneOffset());
|
|
8242
8242
|
}
|
|
8243
|
-
|
|
8243
|
+
Oe.updateOffset = function() {
|
|
8244
8244
|
};
|
|
8245
8245
|
function k6(e, t, n) {
|
|
8246
8246
|
var r = this._offset || 0, i;
|
|
@@ -8257,7 +8257,7 @@ function k6(e, t, n) {
|
|
|
8257
8257
|
Wi(e - r, "m"),
|
|
8258
8258
|
1,
|
|
8259
8259
|
!1
|
|
8260
|
-
) : this._changeInProgress || (this._changeInProgress = !0,
|
|
8260
|
+
) : this._changeInProgress || (this._changeInProgress = !0, Oe.updateOffset(this, !0), this._changeInProgress = null)), this;
|
|
8261
8261
|
} else
|
|
8262
8262
|
return this._isUTC ? r : Iy(this);
|
|
8263
8263
|
}
|
|
@@ -8353,7 +8353,7 @@ function KO(e, t) {
|
|
|
8353
8353
|
}
|
|
8354
8354
|
function XO(e, t, n, r) {
|
|
8355
8355
|
var i = t._milliseconds, s = Ay(t._days), o = Ay(t._months);
|
|
8356
|
-
e.isValid() && (r = r ?? !0, o && RO(e, lf(e, "Month") + o * n), s && MO(e, "Date", lf(e, "Date") + s * n), i && e._d.setTime(e._d.valueOf() + i * n), r &&
|
|
8356
|
+
e.isValid() && (r = r ?? !0, o && RO(e, lf(e, "Month") + o * n), s && MO(e, "Date", lf(e, "Date") + s * n), i && e._d.setTime(e._d.valueOf() + i * n), r && Oe.updateOffset(e, s || o));
|
|
8357
8357
|
}
|
|
8358
8358
|
var V6 = KO(1, "add"), W6 = KO(-1, "subtract");
|
|
8359
8359
|
function QO(e) {
|
|
@@ -8418,7 +8418,7 @@ function q6(e, t) {
|
|
|
8418
8418
|
}
|
|
8419
8419
|
function G6(e, t) {
|
|
8420
8420
|
arguments.length === 1 && (arguments[0] ? H6(arguments[0]) ? (e = arguments[0], t = void 0) : Y6(arguments[0]) && (t = arguments[0], e = void 0) : (e = void 0, t = void 0));
|
|
8421
|
-
var n = e || Vt(), r = $b(n, this).startOf("day"), i =
|
|
8421
|
+
var n = e || Vt(), r = $b(n, this).startOf("day"), i = Oe.calendarFormat(this, r) || "sameElse", s = t && (vs(t[i]) ? t[i].call(this, n) : t[i]);
|
|
8422
8422
|
return this.format(
|
|
8423
8423
|
s || this.localeData().calendar(i, this, Vt(n))
|
|
8424
8424
|
);
|
|
@@ -8490,8 +8490,8 @@ function Ph(e, t) {
|
|
|
8490
8490
|
var n = (t.year() - e.year()) * 12 + (t.month() - e.month()), r = e.clone().add(n, "months"), i, s;
|
|
8491
8491
|
return t - r < 0 ? (i = e.clone().add(n - 1, "months"), s = (t - r) / (r - i)) : (i = e.clone().add(n + 1, "months"), s = (t - r) / (i - r)), -(n + s) || 0;
|
|
8492
8492
|
}
|
|
8493
|
-
|
|
8494
|
-
|
|
8493
|
+
Oe.defaultFormat = "YYYY-MM-DDTHH:mm:ssZ";
|
|
8494
|
+
Oe.defaultFormatUtc = "YYYY-MM-DDTHH:mm:ss[Z]";
|
|
8495
8495
|
function rY() {
|
|
8496
8496
|
return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ");
|
|
8497
8497
|
}
|
|
@@ -8514,7 +8514,7 @@ function sY() {
|
|
|
8514
8514
|
return this.isLocal() || (e = this.utcOffset() === 0 ? "moment.utc" : "moment.parseZone", t = "Z"), n = "[" + e + '("]', r = 0 <= this.year() && this.year() <= 9999 ? "YYYY" : "YYYYYY", i = "-MM-DD[T]HH:mm:ss.SSS", s = t + '[")]', this.format(n + r + i + s);
|
|
8515
8515
|
}
|
|
8516
8516
|
function oY(e) {
|
|
8517
|
-
e || (e = this.isUtc() ?
|
|
8517
|
+
e || (e = this.isUtc() ? Oe.defaultFormatUtc : Oe.defaultFormat);
|
|
8518
8518
|
var t = kh(this, e);
|
|
8519
8519
|
return this.localeData().postformat(t);
|
|
8520
8520
|
}
|
|
@@ -8602,7 +8602,7 @@ function fY(e) {
|
|
|
8602
8602
|
t = this._d.valueOf(), t -= iu(t, cp);
|
|
8603
8603
|
break;
|
|
8604
8604
|
}
|
|
8605
|
-
return this._d.setTime(t),
|
|
8605
|
+
return this._d.setTime(t), Oe.updateOffset(this, !0), this;
|
|
8606
8606
|
}
|
|
8607
8607
|
function dY(e) {
|
|
8608
8608
|
var t, n;
|
|
@@ -8653,7 +8653,7 @@ function dY(e) {
|
|
|
8653
8653
|
t = this._d.valueOf(), t += cp - iu(t, cp) - 1;
|
|
8654
8654
|
break;
|
|
8655
8655
|
}
|
|
8656
|
-
return this._d.setTime(t),
|
|
8656
|
+
return this._d.setTime(t), Oe.updateOffset(this, !0), this;
|
|
8657
8657
|
}
|
|
8658
8658
|
function hY() {
|
|
8659
8659
|
return this._d.valueOf() - (this._offset || 0) * 6e4;
|
|
@@ -8745,7 +8745,7 @@ function TY(e, t) {
|
|
|
8745
8745
|
for (n = 0, r = s.length; n < r; ++n) {
|
|
8746
8746
|
switch (typeof s[n].since) {
|
|
8747
8747
|
case "string":
|
|
8748
|
-
i =
|
|
8748
|
+
i = Oe(s[n].since).startOf("day"), s[n].since = i.valueOf();
|
|
8749
8749
|
break;
|
|
8750
8750
|
}
|
|
8751
8751
|
switch (typeof s[n].until) {
|
|
@@ -8753,7 +8753,7 @@ function TY(e, t) {
|
|
|
8753
8753
|
s[n].until = 1 / 0;
|
|
8754
8754
|
break;
|
|
8755
8755
|
case "string":
|
|
8756
|
-
i =
|
|
8756
|
+
i = Oe(s[n].until).startOf("day").valueOf(), s[n].until = i.valueOf();
|
|
8757
8757
|
break;
|
|
8758
8758
|
}
|
|
8759
8759
|
}
|
|
@@ -8784,7 +8784,7 @@ function CY(e, t, n) {
|
|
|
8784
8784
|
}
|
|
8785
8785
|
function _Y(e, t) {
|
|
8786
8786
|
var n = e.since <= e.until ? 1 : -1;
|
|
8787
|
-
return t === void 0 ?
|
|
8787
|
+
return t === void 0 ? Oe(e.since).year() : Oe(e.since).year() + (t - e.offset) * n;
|
|
8788
8788
|
}
|
|
8789
8789
|
function EY() {
|
|
8790
8790
|
var e, t, n, r = this.localeData().eras();
|
|
@@ -8811,7 +8811,7 @@ function OY() {
|
|
|
8811
8811
|
var e, t, n, r, i = this.localeData().eras();
|
|
8812
8812
|
for (e = 0, t = i.length; e < t; ++e)
|
|
8813
8813
|
if (n = i[e].since <= i[e].until ? 1 : -1, r = this.clone().startOf("day").valueOf(), i[e].since <= r && r <= i[e].until || i[e].until <= r && r <= i[e].since)
|
|
8814
|
-
return (this.year() -
|
|
8814
|
+
return (this.year() - Oe(i[e].since).year()) * n + i[e].offset;
|
|
8815
8815
|
return this.year();
|
|
8816
8816
|
}
|
|
8817
8817
|
function PY(e) {
|
|
@@ -8872,7 +8872,7 @@ Ff(
|
|
|
8872
8872
|
}
|
|
8873
8873
|
);
|
|
8874
8874
|
Ff(["gg", "GG"], function(e, t, n, r) {
|
|
8875
|
-
t[r] =
|
|
8875
|
+
t[r] = Oe.parseTwoDigitYear(e);
|
|
8876
8876
|
});
|
|
8877
8877
|
function NY(e) {
|
|
8878
8878
|
return iP.call(
|
|
@@ -9205,11 +9205,11 @@ Vo("en", {
|
|
|
9205
9205
|
return e + n;
|
|
9206
9206
|
}
|
|
9207
9207
|
});
|
|
9208
|
-
|
|
9208
|
+
Oe.lang = _i(
|
|
9209
9209
|
"moment.lang is deprecated. Use moment.locale instead.",
|
|
9210
9210
|
Vo
|
|
9211
9211
|
);
|
|
9212
|
-
|
|
9212
|
+
Oe.langData = _i(
|
|
9213
9213
|
"moment.langData is deprecated. Use moment.localeData instead.",
|
|
9214
9214
|
ro
|
|
9215
9215
|
);
|
|
@@ -9387,36 +9387,36 @@ It("x", function(e, t, n) {
|
|
|
9387
9387
|
n._d = new Date(yt(e));
|
|
9388
9388
|
});
|
|
9389
9389
|
//! moment.js
|
|
9390
|
-
|
|
9390
|
+
Oe.version = "2.30.1";
|
|
9391
9391
|
AU(Vt);
|
|
9392
|
-
|
|
9393
|
-
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9392
|
+
Oe.fn = Se;
|
|
9393
|
+
Oe.min = x6;
|
|
9394
|
+
Oe.max = w6;
|
|
9395
|
+
Oe.now = S6;
|
|
9396
|
+
Oe.utc = gs;
|
|
9397
|
+
Oe.unix = XY;
|
|
9398
|
+
Oe.months = ZY;
|
|
9399
|
+
Oe.isDate = Lf;
|
|
9400
|
+
Oe.locale = Vo;
|
|
9401
|
+
Oe.invalid = em;
|
|
9402
|
+
Oe.duration = Wi;
|
|
9403
|
+
Oe.isMoment = Vi;
|
|
9404
|
+
Oe.weekdays = e9;
|
|
9405
|
+
Oe.parseZone = QY;
|
|
9406
|
+
Oe.localeData = ro;
|
|
9407
|
+
Oe.isDuration = Oh;
|
|
9408
|
+
Oe.monthsShort = JY;
|
|
9409
|
+
Oe.weekdaysMin = n9;
|
|
9410
|
+
Oe.defineLocale = Ab;
|
|
9411
|
+
Oe.updateLocale = Qz;
|
|
9412
|
+
Oe.locales = Zz;
|
|
9413
|
+
Oe.weekdaysShort = t9;
|
|
9414
|
+
Oe.normalizeUnits = Ei;
|
|
9415
|
+
Oe.relativeTimeRounding = O9;
|
|
9416
|
+
Oe.relativeTimeThreshold = P9;
|
|
9417
|
+
Oe.calendarFormat = q6;
|
|
9418
|
+
Oe.prototype = Se;
|
|
9419
|
+
Oe.HTML5_FMT = {
|
|
9420
9420
|
DATETIME_LOCAL: "YYYY-MM-DDTHH:mm",
|
|
9421
9421
|
// <input type="datetime-local" />
|
|
9422
9422
|
DATETIME_LOCAL_SECONDS: "YYYY-MM-DDTHH:mm:ss",
|
|
@@ -9438,7 +9438,7 @@ ke.HTML5_FMT = {
|
|
|
9438
9438
|
};
|
|
9439
9439
|
const A9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9440
9440
|
__proto__: null,
|
|
9441
|
-
default:
|
|
9441
|
+
default: Oe
|
|
9442
9442
|
}, Symbol.toStringTag, { value: "Module" })), I9 = Fe.memo(
|
|
9443
9443
|
({
|
|
9444
9444
|
notification: e,
|
|
@@ -9472,7 +9472,7 @@ const A9 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
9472
9472
|
const y = () => {
|
|
9473
9473
|
typeof o == "function" && o();
|
|
9474
9474
|
}, b = (P) => {
|
|
9475
|
-
const V =
|
|
9475
|
+
const V = Oe(), N = Oe(P), j = V.diff(N, "days"), v = V.diff(N, "minutes"), Y = V.diff(N, "months"), z = V.diff(N, "years");
|
|
9476
9476
|
if (console.log("diffInMonths", Y), v < 1)
|
|
9477
9477
|
return "Just now";
|
|
9478
9478
|
if (j === 0) {
|
|
@@ -10010,7 +10010,7 @@ function q9(e) {
|
|
|
10010
10010
|
isScrolling: we ? se : void 0,
|
|
10011
10011
|
style: this._getItemStyle(_e)
|
|
10012
10012
|
}));
|
|
10013
|
-
var
|
|
10013
|
+
var ke = r(this.props, this._instanceProps);
|
|
10014
10014
|
return A.createElement(ve || fe || "div", {
|
|
10015
10015
|
className: _,
|
|
10016
10016
|
onScroll: ie,
|
|
@@ -10028,9 +10028,9 @@ function q9(e) {
|
|
|
10028
10028
|
children: $e,
|
|
10029
10029
|
ref: V,
|
|
10030
10030
|
style: {
|
|
10031
|
-
height: J ? "100%" :
|
|
10031
|
+
height: J ? "100%" : ke,
|
|
10032
10032
|
pointerEvents: se ? "none" : void 0,
|
|
10033
|
-
width: J ?
|
|
10033
|
+
width: J ? ke : "100%"
|
|
10034
10034
|
}
|
|
10035
10035
|
}));
|
|
10036
10036
|
}, b._callPropsCallbacks = function() {
|
|
@@ -10216,8 +10216,8 @@ const cv = 20, TT = ({
|
|
|
10216
10216
|
), de = async (J, ie, be) => {
|
|
10217
10217
|
p(i === "unread" && ie ? ($e) => $e.filter((_e) => _e.id !== J) : ($e) => $e.map((_e) => _e.id === J ? { ..._e, isRead: ie } : _e)), N(($e) => {
|
|
10218
10218
|
let _e = 0;
|
|
10219
|
-
const
|
|
10220
|
-
return
|
|
10219
|
+
const ke = h.find((Ue) => Ue.id === J);
|
|
10220
|
+
return ke && (!ke.isRead && ie && (_e = -1), ke.isRead && !ie && (_e = 1)), {
|
|
10221
10221
|
...$e,
|
|
10222
10222
|
unread: {
|
|
10223
10223
|
...$e.unread,
|
|
@@ -11932,14 +11932,14 @@ function n8({
|
|
|
11932
11932
|
}, _e = (Ve) => {
|
|
11933
11933
|
let Ct = [];
|
|
11934
11934
|
(Ve == null ? void 0 : Ve.length) > 0 && (Ct = bt(Ve)), ve(Ct), r(Ve, Ct), J(!1);
|
|
11935
|
-
},
|
|
11935
|
+
}, ke = Fe.useCallback(
|
|
11936
11936
|
n > 0 ? Kq((Ve) => _e(Ve), n) : (Ve) => _e(Ve),
|
|
11937
11937
|
[e]
|
|
11938
11938
|
), Ue = (Ve) => {
|
|
11939
11939
|
wt(), s(Ve), ae(Ve[w]), de(0);
|
|
11940
11940
|
}, bt = (Ve) => Y.search(Ve, { limit: p }).map((Ct) => ({ ...Ct.item })).slice(0, p), dt = ({ target: Ve }) => {
|
|
11941
11941
|
const Ct = Ve.value;
|
|
11942
|
-
ae(Ct),
|
|
11942
|
+
ae(Ct), ke(Ct), J(!0), we && re(!1);
|
|
11943
11943
|
}, wt = () => {
|
|
11944
11944
|
ve([]), re(!0);
|
|
11945
11945
|
}, kt = ({
|
|
@@ -12260,7 +12260,7 @@ function i8({
|
|
|
12260
12260
|
}
|
|
12261
12261
|
) }) });
|
|
12262
12262
|
}
|
|
12263
|
-
function
|
|
12263
|
+
function bfe(e) {
|
|
12264
12264
|
const { user: t, logout: n, isFetching: r } = hU();
|
|
12265
12265
|
return /* @__PURE__ */ L.jsx(
|
|
12266
12266
|
_P,
|
|
@@ -13918,13 +13918,13 @@ function bp({ autoplay: e = !0, delay: t = 0, driver: n = eG, keyframes: r, type
|
|
|
13918
13918
|
b > 0 && (z = Math.min(z, Ce)), b < 0 && (z = Math.min(Ce - fe / b, z)), Y !== null ? de = Y : de = Math.round(Ce - z) * b;
|
|
13919
13919
|
const Ee = de - t * (b >= 0 ? 1 : -1), $e = b >= 0 ? Ee < 0 : Ee > fe;
|
|
13920
13920
|
de = Math.max(Ee, 0), v === "finished" && Y === null && (de = fe);
|
|
13921
|
-
let _e = de,
|
|
13921
|
+
let _e = de, ke = N;
|
|
13922
13922
|
if (s) {
|
|
13923
13923
|
const wt = Math.min(de, fe) / ve;
|
|
13924
13924
|
let kt = Math.floor(wt), Ve = wt % 1;
|
|
13925
|
-
!Ve && wt >= 1 && (Ve = 1), Ve === 1 && kt--, kt = Math.min(kt, s + 1), !!(kt % 2) && (l === "reverse" ? (Ve = 1 - Ve, o && (Ve -= o / ve)) : l === "mirror" && (
|
|
13925
|
+
!Ve && wt >= 1 && (Ve = 1), Ve === 1 && kt--, kt = Math.min(kt, s + 1), !!(kt % 2) && (l === "reverse" ? (Ve = 1 - Ve, o && (Ve -= o / ve)) : l === "mirror" && (ke = j)), _e = Yo(0, 1, Ve) * ve;
|
|
13926
13926
|
}
|
|
13927
|
-
const Ue = $e ? { done: !1, value: r[0] } :
|
|
13927
|
+
const Ue = $e ? { done: !1, value: r[0] } : ke.next(_e);
|
|
13928
13928
|
V && (Ue.value = V(Ue.value));
|
|
13929
13929
|
let { done: bt } = Ue;
|
|
13930
13930
|
!$e && le !== null && (bt = b >= 0 ? de >= fe : de <= 0);
|
|
@@ -16845,12 +16845,12 @@ var Bl = /* @__PURE__ */ new Map(), JM = function(t) {
|
|
|
16845
16845
|
V = J, j = P[J], N = p.querySelectorAll(V + "[id]");
|
|
16846
16846
|
for (var ie = function($e, _e) {
|
|
16847
16847
|
v = N[$e].id, Y = v + "-" + IX();
|
|
16848
|
-
var
|
|
16848
|
+
var ke;
|
|
16849
16849
|
Array.prototype.forEach.call(j, function(tn) {
|
|
16850
|
-
|
|
16851
|
-
for (var Rt = 0, Ht =
|
|
16852
|
-
var ur =
|
|
16853
|
-
ur && !ur.match(new RegExp('url\\("?#' + v + '"?\\)')) ||
|
|
16850
|
+
ke = p.querySelectorAll("[" + tn + '*="' + v + '"]');
|
|
16851
|
+
for (var Rt = 0, Ht = ke.length; Rt < Ht; Rt++) {
|
|
16852
|
+
var ur = ke[Rt].getAttribute(tn);
|
|
16853
|
+
ur && !ur.match(new RegExp('url\\("?#' + v + '"?\\)')) || ke[Rt].setAttribute(tn, "url(#" + Y + ")");
|
|
16854
16854
|
}
|
|
16855
16855
|
});
|
|
16856
16856
|
for (var Ue = p.querySelectorAll("[*|href]"), bt = [], dt = 0, wt = Ue.length; dt < wt; dt++) {
|
|
@@ -17111,7 +17111,7 @@ function tA({ ...e }) {
|
|
|
17111
17111
|
var le, ve, fe;
|
|
17112
17112
|
const t = e.item, n = e.level || 0, r = !!((le = e.item.children) != null && le.length), i = `level-${n}`, s = (de, we = i) => `${de} ${we} `, [o, l] = A.useState(!1), [c, d] = A.useState(t.isFavorite || !1), h = A.useRef(), p = A.useRef();
|
|
17113
17113
|
p != null && p.current && ((ve = p == null ? void 0 : p.current) == null ? void 0 : ve.scrollWidth) > ((fe = p == null ? void 0 : p.current) == null ? void 0 : fe.clientWidth);
|
|
17114
|
-
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" : ak, I = t.redirectUrl || t.path || "#", P = n + 1, V = r && o && n > 0, N = () => {
|
|
17114
|
+
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" : ak, 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 = () => {
|
|
17115
17115
|
e.isDrop || l(!0);
|
|
17116
17116
|
}, j = () => {
|
|
17117
17117
|
l(!1);
|
|
@@ -17145,23 +17145,22 @@ function tA({ ...e }) {
|
|
|
17145
17145
|
{
|
|
17146
17146
|
target: z,
|
|
17147
17147
|
to: I,
|
|
17148
|
-
href: I,
|
|
17149
17148
|
draggable: "true",
|
|
17150
17149
|
className: s("menu-item__link"),
|
|
17151
17150
|
style: {
|
|
17152
17151
|
width: "100%",
|
|
17153
17152
|
transition: "all 0.3s"
|
|
17154
17153
|
},
|
|
17154
|
+
onClick: (de) => {
|
|
17155
|
+
var we;
|
|
17156
|
+
_ === "a" && z === "_blank" || !r && t.path && ((we = e.onClickItem) == null || we.call(e, t), Y(de));
|
|
17157
|
+
},
|
|
17155
17158
|
onDragStart: (de) => {
|
|
17156
17159
|
console.log("onDragStart component", de.target);
|
|
17157
17160
|
},
|
|
17158
17161
|
onDragEnd: () => {
|
|
17159
17162
|
console.log("onDragEnd menu item"), l(!1);
|
|
17160
17163
|
},
|
|
17161
|
-
onClick: (de) => {
|
|
17162
|
-
var we;
|
|
17163
|
-
I !== "#" && ((we = e.onClick) == null || we.call(e, t), Y(de));
|
|
17164
|
-
},
|
|
17165
17164
|
children: [
|
|
17166
17165
|
/* @__PURE__ */ L.jsx(VX, { cls: s, item: t }),
|
|
17167
17166
|
/* @__PURE__ */ L.jsx("span", { className: s("menu-item__label"), ref: p, children: t.name }),
|
|
@@ -17224,7 +17223,8 @@ function tA({ ...e }) {
|
|
|
17224
17223
|
...e,
|
|
17225
17224
|
key: re.id,
|
|
17226
17225
|
item: re,
|
|
17227
|
-
level: P
|
|
17226
|
+
level: P,
|
|
17227
|
+
onClickItem: e.onClickItem
|
|
17228
17228
|
}
|
|
17229
17229
|
))
|
|
17230
17230
|
}
|
|
@@ -18661,7 +18661,7 @@ var DA = new TextEncoder();
|
|
|
18661
18661
|
function mt(e) {
|
|
18662
18662
|
return DA.encode(e);
|
|
18663
18663
|
}
|
|
18664
|
-
function
|
|
18664
|
+
function Me(e) {
|
|
18665
18665
|
return DA.encode(e);
|
|
18666
18666
|
}
|
|
18667
18667
|
function kA(e, t) {
|
|
@@ -18813,12 +18813,12 @@ function In(e) {
|
|
|
18813
18813
|
}
|
|
18814
18814
|
return e;
|
|
18815
18815
|
}
|
|
18816
|
-
var CQ = /([A-Z])/g, _Q = /^ms-/, o0 = Array.isArray, EQ =
|
|
18816
|
+
var CQ = /([A-Z])/g, _Q = /^ms-/, o0 = Array.isArray, EQ = Me("<script>"), DQ = Me("<\/script>"), kQ = Me('<script src="'), OQ = Me('<script type="module" src="'), c_ = Me('" async=""><\/script>'), PQ = /(<\/|<)(s)(cript)/gi;
|
|
18817
18817
|
function MQ(e, t, n, r) {
|
|
18818
18818
|
return "" + t + (n === "s" ? "\\u0073" : "\\u0053") + r;
|
|
18819
18819
|
}
|
|
18820
18820
|
function AQ(e, t, n, r, i) {
|
|
18821
|
-
e = e === void 0 ? "" : e, t = t === void 0 ? EQ :
|
|
18821
|
+
e = e === void 0 ? "" : e, t = t === void 0 ? EQ : Me('<script nonce="' + In(t) + '">');
|
|
18822
18822
|
var s = [];
|
|
18823
18823
|
if (n !== void 0 && s.push(t, mt(("" + n).replace(PQ, MQ)), DQ), r !== void 0)
|
|
18824
18824
|
for (n = 0; n < r.length; n++)
|
|
@@ -18826,7 +18826,7 @@ function AQ(e, t, n, r, i) {
|
|
|
18826
18826
|
if (i !== void 0)
|
|
18827
18827
|
for (r = 0; r < i.length; r++)
|
|
18828
18828
|
s.push(OQ, mt(In(i[r])), c_);
|
|
18829
|
-
return { bootstrapChunks: s, startInlineScript: t, placeholderPrefix:
|
|
18829
|
+
return { bootstrapChunks: s, startInlineScript: t, placeholderPrefix: Me(e + "P:"), segmentPrefix: Me(e + "S:"), boundaryPrefix: e + "B:", idPrefix: e, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1 };
|
|
18830
18830
|
}
|
|
18831
18831
|
function is(e, t) {
|
|
18832
18832
|
return { insertionMode: e, selectedValue: t };
|
|
@@ -18857,11 +18857,11 @@ function RQ(e, t, n) {
|
|
|
18857
18857
|
}
|
|
18858
18858
|
return 4 <= e.insertionMode || e.insertionMode === 0 ? is(1, null) : e;
|
|
18859
18859
|
}
|
|
18860
|
-
var xx =
|
|
18860
|
+
var xx = Me("<!-- -->");
|
|
18861
18861
|
function f_(e, t, n, r) {
|
|
18862
18862
|
return t === "" ? r : (r && e.push(xx), e.push(mt(In(t))), !0);
|
|
18863
18863
|
}
|
|
18864
|
-
var d_ = /* @__PURE__ */ new Map(), LQ =
|
|
18864
|
+
var d_ = /* @__PURE__ */ new Map(), LQ = Me(' style="'), h_ = Me(":"), NQ = Me(";");
|
|
18865
18865
|
function PA(e, t, n) {
|
|
18866
18866
|
if (typeof n != "object")
|
|
18867
18867
|
throw Error(ft(62));
|
|
@@ -18876,14 +18876,14 @@ function PA(e, t, n) {
|
|
|
18876
18876
|
} else {
|
|
18877
18877
|
s = r;
|
|
18878
18878
|
var o = d_.get(s);
|
|
18879
|
-
o !== void 0 || (o =
|
|
18879
|
+
o !== void 0 || (o = Me(In(s.replace(CQ, "-$1").toLowerCase().replace(_Q, "-ms-"))), d_.set(s, o)), s = o, i = typeof i == "number" ? i === 0 || Sr.call(Fh, r) ? mt("" + i) : mt(i + "px") : mt(In(("" + i).trim()));
|
|
18880
18880
|
}
|
|
18881
18881
|
t ? (t = !1, e.push(LQ, s, h_, i)) : e.push(NQ, s, h_, i);
|
|
18882
18882
|
}
|
|
18883
18883
|
}
|
|
18884
18884
|
t || e.push(ja);
|
|
18885
18885
|
}
|
|
18886
|
-
var Oo =
|
|
18886
|
+
var Oo = Me(" "), Vl = Me('="'), ja = Me('"'), p_ = Me('=""');
|
|
18887
18887
|
function Fr(e, t, n, r) {
|
|
18888
18888
|
switch (n) {
|
|
18889
18889
|
case "style":
|
|
@@ -18935,7 +18935,7 @@ function Fr(e, t, n, r) {
|
|
|
18935
18935
|
}
|
|
18936
18936
|
}
|
|
18937
18937
|
}
|
|
18938
|
-
var Po =
|
|
18938
|
+
var Po = Me(">"), m_ = Me("/>");
|
|
18939
18939
|
function jh(e, t, n) {
|
|
18940
18940
|
if (t != null) {
|
|
18941
18941
|
if (n != null)
|
|
@@ -18951,7 +18951,7 @@ function $Q(e) {
|
|
|
18951
18951
|
n != null && (t += n);
|
|
18952
18952
|
}), t;
|
|
18953
18953
|
}
|
|
18954
|
-
var kv =
|
|
18954
|
+
var kv = Me(' selected=""');
|
|
18955
18955
|
function Ov(e, t, n, r) {
|
|
18956
18956
|
e.push(ss(n));
|
|
18957
18957
|
var i = n = null, s;
|
|
@@ -18972,18 +18972,18 @@ function Ov(e, t, n, r) {
|
|
|
18972
18972
|
}
|
|
18973
18973
|
return e.push(Po), jh(e, i, n), typeof n == "string" ? (e.push(mt(In(n))), null) : n;
|
|
18974
18974
|
}
|
|
18975
|
-
var Pv =
|
|
18975
|
+
var Pv = Me(`
|
|
18976
18976
|
`), FQ = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, g_ = /* @__PURE__ */ new Map();
|
|
18977
18977
|
function ss(e) {
|
|
18978
18978
|
var t = g_.get(e);
|
|
18979
18979
|
if (t === void 0) {
|
|
18980
18980
|
if (!FQ.test(e))
|
|
18981
18981
|
throw Error(ft(65, e));
|
|
18982
|
-
t =
|
|
18982
|
+
t = Me("<" + e), g_.set(e, t);
|
|
18983
18983
|
}
|
|
18984
18984
|
return t;
|
|
18985
18985
|
}
|
|
18986
|
-
var jQ =
|
|
18986
|
+
var jQ = Me("<!DOCTYPE html>");
|
|
18987
18987
|
function BQ(e, t, n, r, i) {
|
|
18988
18988
|
switch (t) {
|
|
18989
18989
|
case "select":
|
|
@@ -19212,16 +19212,16 @@ function BQ(e, t, n, r, i) {
|
|
|
19212
19212
|
return e.push(Po), jh(e, o, s), s;
|
|
19213
19213
|
}
|
|
19214
19214
|
}
|
|
19215
|
-
var VQ =
|
|
19216
|
-
|
|
19217
|
-
|
|
19218
|
-
var JQ =
|
|
19215
|
+
var VQ = Me("</"), WQ = Me(">"), HQ = Me('<template id="'), UQ = Me('"></template>'), zQ = Me("<!--$-->"), YQ = Me('<!--$?--><template id="'), qQ = Me('"></template>'), GQ = Me("<!--$!-->"), KQ = Me("<!--/$-->"), XQ = Me("<template"), QQ = Me('"'), ZQ = Me(' data-dgst="');
|
|
19216
|
+
Me(' data-msg="');
|
|
19217
|
+
Me(' data-stck="');
|
|
19218
|
+
var JQ = Me("></template>");
|
|
19219
19219
|
function v_(e, t, n) {
|
|
19220
19220
|
if (Be(e, YQ), n === null)
|
|
19221
19221
|
throw Error(ft(395));
|
|
19222
19222
|
return Be(e, n), Ft(e, qQ);
|
|
19223
19223
|
}
|
|
19224
|
-
var eZ =
|
|
19224
|
+
var eZ = Me('<div hidden id="'), tZ = Me('">'), nZ = Me("</div>"), rZ = Me('<svg aria-hidden="true" style="display:none" id="'), iZ = Me('">'), sZ = Me("</svg>"), oZ = Me('<math aria-hidden="true" style="display:none" id="'), aZ = Me('">'), lZ = Me("</math>"), uZ = Me('<table hidden id="'), cZ = Me('">'), fZ = Me("</table>"), dZ = Me('<table hidden><tbody id="'), hZ = Me('">'), pZ = Me("</tbody></table>"), mZ = Me('<table hidden><tr id="'), gZ = Me('">'), vZ = Me("</tr></table>"), yZ = Me('<table hidden><colgroup id="'), bZ = Me('">'), xZ = Me("</colgroup></table>");
|
|
19225
19225
|
function wZ(e, t, n, r) {
|
|
19226
19226
|
switch (n.insertionMode) {
|
|
19227
19227
|
case 0:
|
|
@@ -19267,7 +19267,7 @@ function SZ(e, t) {
|
|
|
19267
19267
|
throw Error(ft(397));
|
|
19268
19268
|
}
|
|
19269
19269
|
}
|
|
19270
|
-
var TZ =
|
|
19270
|
+
var TZ = Me('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'), CZ = Me('$RS("'), _Z = Me('","'), EZ = Me('")<\/script>'), DZ = Me('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'), kZ = Me('$RC("'), OZ = Me('","'), PZ = Me('")<\/script>'), MZ = Me('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'), AZ = Me('$RX("'), IZ = Me('"'), RZ = Me(")<\/script>"), Mv = Me(","), LZ = /[<\u2028\u2029]/g;
|
|
19271
19271
|
function Av(e) {
|
|
19272
19272
|
return JSON.stringify(e).replace(LZ, function(t) {
|
|
19273
19273
|
switch (t) {
|
|
@@ -19854,7 +19854,7 @@ function Cm(e, t, n) {
|
|
|
19854
19854
|
else if (0 < r.pendingTasks) {
|
|
19855
19855
|
r.rootSegmentID = e.nextSegmentId++, 0 < r.completedSegments.length && e.partialBoundaries.push(r);
|
|
19856
19856
|
var i = e.responseState, s = i.nextSuspenseID++;
|
|
19857
|
-
i =
|
|
19857
|
+
i = Me(i.boundaryPrefix + s.toString(16)), r = r.id = i, v_(t, e.responseState, r), dh(e, t, n);
|
|
19858
19858
|
} else if (r.byteSize > e.progressiveChunkSize)
|
|
19859
19859
|
r.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(r), v_(t, e.responseState, r.id), dh(e, t, n);
|
|
19860
19860
|
else {
|
|
@@ -22634,8 +22634,9 @@ function Ste(e) {
|
|
|
22634
22634
|
level: 1,
|
|
22635
22635
|
onSetFavoriteSuccess: b,
|
|
22636
22636
|
isDrop: o,
|
|
22637
|
-
|
|
22638
|
-
|
|
22637
|
+
onClickItem: (de) => {
|
|
22638
|
+
var we;
|
|
22639
|
+
(we = e.onClickItem) == null || we.call(e, de), window.dispatchEvent(
|
|
22639
22640
|
new CustomEvent("favoriteMenuPathChange", {
|
|
22640
22641
|
detail: { path: de.path, menuItemId: de.id }
|
|
22641
22642
|
})
|
|
@@ -22678,7 +22679,9 @@ function Ste(e) {
|
|
|
22678
22679
|
return console.log("isLoading fav", w), /* @__PURE__ */ L.jsx(L.Fragment, { children: /* @__PURE__ */ L.jsx(
|
|
22679
22680
|
"div",
|
|
22680
22681
|
{
|
|
22681
|
-
className: p(
|
|
22682
|
+
className: p(
|
|
22683
|
+
`favorite-menu${n.length === 0 ? " favorite-menu--empty" : ""}`
|
|
22684
|
+
),
|
|
22682
22685
|
style: {
|
|
22683
22686
|
width: "100%",
|
|
22684
22687
|
display: "flex"
|
|
@@ -22792,7 +22795,7 @@ Ip.exports;
|
|
|
22792
22795
|
["partial", N],
|
|
22793
22796
|
["partialRight", j],
|
|
22794
22797
|
["rearg", Y]
|
|
22795
|
-
],
|
|
22798
|
+
], ke = "[object Arguments]", Ue = "[object Array]", bt = "[object AsyncFunction]", dt = "[object Boolean]", wt = "[object Date]", kt = "[object DOMException]", Ve = "[object Error]", Ct = "[object Function]", tn = "[object GeneratorFunction]", Rt = "[object Map]", Ht = "[object Number]", ur = "[object Null]", mn = "[object Object]", cn = "[object Promise]", oo = "[object Proxy]", gn = "[object RegExp]", fn = "[object Set]", Ut = "[object String]", kn = "[object Symbol]", cr = "[object Undefined]", Ie = "[object WeakMap]", zt = "[object WeakSet]", Dr = "[object ArrayBuffer]", kr = "[object DataView]", ao = "[object Float32Array]", Nn = "[object Float64Array]", Hi = "[object Int8Array]", Gn = "[object Int16Array]", Tn = "[object Int32Array]", fr = "[object Uint8Array]", Kn = "[object Uint8ClampedArray]", Ui = "[object Uint16Array]", Jr = "[object Uint32Array]", ia = /\b__p \+= '';/g, fl = /\b(__p \+=) '' \+/g, Mu = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Di = /&(?:amp|lt|gt|quot|#39);/g, ki = /[&<>"']/g, sa = RegExp(Di.source), oa = RegExp(ki.source), On = /<%-([\s\S]+?)%>/g, Cn = /<%([\s\S]+?)%>/g, lo = /<%=([\s\S]+?)%>/g, Au = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, uo = /^\w*$/, dl = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, $n = /[\\^$.*+?()[\]{}|]/g, ei = RegExp($n.source), vn = /^\s+/, ti = /\s/, Iu = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, ys = /\{\n\/\* \[wrapped with (.+)\] \*/, aa = /,? & /, la = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, hl = /[()=,{}\[\]\/\s]/, pl = /\\(\\)?/g, ua = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, ml = /\w*$/, zi = /^[-+]0x[0-9a-f]+$/i, gl = /^0b[01]+$/i, ca = /^\[object .+?Constructor\]$/, rt = /^0o[0-7]+$/i, dn = /^(?:0|[1-9]\d*)$/, Kf = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, vl = /($^)/, fa = /['\n\r\u2028\u2029\\]/g, da = "\\ud800-\\udfff", Xf = "\\u0300-\\u036f", Qf = "\\ufe20-\\ufe2f", Zf = "\\u20d0-\\u20ff", Jf = Xf + Qf + Zf, yl = "\\u2700-\\u27bf", ed = "a-z\\xdf-\\xf6\\xf8-\\xff", Bm = "\\xac\\xb1\\xd7\\xf7", td = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", nd = "\\u2000-\\u206f", Ru = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Lu = "A-Z\\xc0-\\xd6\\xd8-\\xde", Pn = "\\ufe0e\\ufe0f", bs = Bm + td + nd + Ru, co = "['’]", Vm = "[" + da + "]", rd = "[" + bs + "]", fo = "[" + Jf + "]", Nu = "\\d+", bl = "[" + yl + "]", $u = "[" + ed + "]", id = "[^" + da + bs + Nu + yl + ed + Lu + "]", Fu = "\\ud83c[\\udffb-\\udfff]", Or = "(?:" + fo + "|" + Fu + ")", ju = "[^" + da + "]", xs = "(?:\\ud83c[\\udde6-\\uddff]){2}", Bu = "[\\ud800-\\udbff][\\udc00-\\udfff]", ho = "[" + Lu + "]", Yi = "\\u200d", qi = "(?:" + $u + "|" + id + ")", Vu = "(?:" + ho + "|" + id + ")", sd = "(?:" + co + "(?:d|ll|m|re|s|t|ve))?", po = "(?:" + co + "(?:D|LL|M|RE|S|T|VE))?", Wu = Or + "?", xl = "[" + Pn + "]?", od = "(?:" + Yi + "(?:" + [ju, xs, Bu].join("|") + ")" + xl + Wu + ")*", ad = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Wm = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Hu = xl + Wu + od, Hm = "(?:" + [bl, xs, Bu].join("|") + ")" + Hu, Um = "(?:" + [ju + fo + "?", fo, xs, Bu, Vm].join("|") + ")", Uu = RegExp(co, "g"), zm = RegExp(fo, "g"), zu = RegExp(Fu + "(?=" + Fu + ")|" + Um + Hu, "g"), Ym = RegExp([
|
|
22796
22799
|
ho + "?" + $u + "+" + sd + "(?=" + [rd, ho, "$"].join("|") + ")",
|
|
22797
22800
|
Vu + "+" + po + "(?=" + [rd, ho + qi, "$"].join("|") + ")",
|
|
22798
22801
|
ho + "?" + qi + "+" + sd,
|
|
@@ -22833,9 +22836,9 @@ Ip.exports;
|
|
|
22833
22836
|
"parseInt",
|
|
22834
22837
|
"setTimeout"
|
|
22835
22838
|
], Xm = -1, At = {};
|
|
22836
|
-
At[ao] = At[Nn] = At[Hi] = At[Gn] = At[Tn] = At[fr] = At[Kn] = At[Ui] = At[Jr] = !0, At[
|
|
22839
|
+
At[ao] = At[Nn] = At[Hi] = At[Gn] = At[Tn] = At[fr] = At[Kn] = At[Ui] = At[Jr] = !0, At[ke] = At[Ue] = At[Dr] = At[dt] = At[kr] = At[wt] = At[Ve] = At[Ct] = At[Rt] = At[Ht] = At[mn] = At[gn] = At[fn] = At[Ut] = At[Ie] = !1;
|
|
22837
22840
|
var Ot = {};
|
|
22838
|
-
Ot[
|
|
22841
|
+
Ot[ke] = Ot[Ue] = Ot[Dr] = Ot[kr] = Ot[dt] = Ot[wt] = Ot[ao] = Ot[Nn] = Ot[Hi] = Ot[Gn] = Ot[Tn] = Ot[Rt] = Ot[Ht] = Ot[mn] = Ot[gn] = Ot[fn] = Ot[Ut] = Ot[kn] = Ot[fr] = Ot[Kn] = Ot[Ui] = Ot[Jr] = !0, Ot[Ve] = Ot[Ct] = Ot[Ie] = !1;
|
|
22839
22842
|
var ld = {
|
|
22840
22843
|
// Latin-1 Supplement block.
|
|
22841
22844
|
À: "A",
|
|
@@ -23183,8 +23186,8 @@ Ip.exports;
|
|
|
23183
23186
|
};
|
|
23184
23187
|
}
|
|
23185
23188
|
function Pi(F, G, q, ce, he) {
|
|
23186
|
-
return he(F, function(Re, Le,
|
|
23187
|
-
q = ce ? (ce = !1, Re) : G(q, Re, Le,
|
|
23189
|
+
return he(F, function(Re, Le, Pe) {
|
|
23190
|
+
q = ce ? (ce = !1, Re) : G(q, Re, Le, Pe);
|
|
23188
23191
|
}), q;
|
|
23189
23192
|
}
|
|
23190
23193
|
function Ki(F, G) {
|
|
@@ -23326,18 +23329,18 @@ Ip.exports;
|
|
|
23326
23329
|
}
|
|
23327
23330
|
var ee = function F(G) {
|
|
23328
23331
|
G = G == null ? Gt : ne.defaults(Gt.Object(), G, ne.pick(Gt, Km));
|
|
23329
|
-
var q = G.Array, ce = G.Date, he = G.Error, Re = G.Function, Le = G.Math,
|
|
23332
|
+
var q = G.Array, ce = G.Date, he = G.Error, Re = G.Function, Le = G.Math, Pe = G.Object, st = G.RegExp, He = G.String, ut = G.TypeError, bn = q.prototype, _n = Re.prototype, xn = Pe.prototype, Zn = G["__core-js_shared__"], Ai = _n.toString, Qe = xn.hasOwnProperty, aN = 0, Cw = function() {
|
|
23330
23333
|
var a = /[^.]+$/.exec(Zn && Zn.keys && Zn.keys.IE_PROTO || "");
|
|
23331
23334
|
return a ? "Symbol(src)_1." + a : "";
|
|
23332
|
-
}(), gd = xn.toString, lN = Ai.call(
|
|
23335
|
+
}(), gd = xn.toString, lN = Ai.call(Pe), uN = Gt._, cN = st(
|
|
23333
23336
|
"^" + Ai.call(Qe).replace($n, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
23334
|
-
), vd = dd ? G.Buffer : n, vo = G.Symbol, yd = G.Uint8Array, _w = vd ? vd.allocUnsafe : n, bd = go(
|
|
23337
|
+
), vd = dd ? G.Buffer : n, vo = G.Symbol, yd = G.Uint8Array, _w = vd ? vd.allocUnsafe : n, bd = go(Pe.getPrototypeOf, Pe), Ew = Pe.create, Dw = xn.propertyIsEnumerable, xd = bn.splice, kw = vo ? vo.isConcatSpreadable : n, Ju = vo ? vo.iterator : n, va = vo ? vo.toStringTag : n, wd = function() {
|
|
23335
23338
|
try {
|
|
23336
|
-
var a = Sa(
|
|
23339
|
+
var a = Sa(Pe, "defineProperty");
|
|
23337
23340
|
return a({}, "", {}), a;
|
|
23338
23341
|
} catch {
|
|
23339
23342
|
}
|
|
23340
|
-
}(), fN = G.clearTimeout !== Gt.clearTimeout && G.clearTimeout, dN = ce && ce.now !== Gt.Date.now && ce.now, hN = G.setTimeout !== Gt.setTimeout && G.setTimeout, Sd = Le.ceil, Td = Le.floor, ng =
|
|
23343
|
+
}(), fN = G.clearTimeout !== Gt.clearTimeout && G.clearTimeout, dN = ce && ce.now !== Gt.Date.now && ce.now, hN = G.setTimeout !== Gt.setTimeout && G.setTimeout, Sd = Le.ceil, Td = Le.floor, ng = Pe.getOwnPropertySymbols, pN = vd ? vd.isBuffer : n, Ow = G.isFinite, mN = bn.join, gN = go(Pe.keys, Pe), wn = Le.max, jn = Le.min, vN = ce.now, yN = G.parseInt, Pw = Le.random, bN = bn.reverse, rg = Sa(G, "DataView"), ec = Sa(G, "Map"), ig = Sa(G, "Promise"), _l = Sa(G, "Set"), tc = Sa(G, "WeakMap"), nc = Sa(Pe, "create"), Cd = tc && new tc(), El = {}, xN = Ta(rg), wN = Ta(ec), SN = Ta(ig), TN = Ta(_l), CN = Ta(tc), _d = vo ? vo.prototype : n, rc = _d ? _d.valueOf : n, Mw = _d ? _d.toString : n;
|
|
23341
23344
|
function R(a) {
|
|
23342
23345
|
if (Jt(a) && !tt(a) && !(a instanceof vt)) {
|
|
23343
23346
|
if (a instanceof si)
|
|
@@ -23651,7 +23654,7 @@ Ip.exports;
|
|
|
23651
23654
|
var ye = Bn(a), De = ye == Ct || ye == tn;
|
|
23652
23655
|
if (So(a))
|
|
23653
23656
|
return i1(a, K);
|
|
23654
|
-
if (ye == mn || ye ==
|
|
23657
|
+
if (ye == mn || ye == ke || De && !O) {
|
|
23655
23658
|
if (H = Z || De ? {} : T1(a), !K)
|
|
23656
23659
|
return Z ? P2(a, JN(H, a)) : O2(a, Rw(H, a));
|
|
23657
23660
|
} else {
|
|
@@ -23684,7 +23687,7 @@ Ip.exports;
|
|
|
23684
23687
|
var S = m.length;
|
|
23685
23688
|
if (a == null)
|
|
23686
23689
|
return !S;
|
|
23687
|
-
for (a =
|
|
23690
|
+
for (a = Pe(a); S--; ) {
|
|
23688
23691
|
var O = m[S], $ = u[O], H = a[O];
|
|
23689
23692
|
if (H === n && !(O in a) || !$(H))
|
|
23690
23693
|
return !1;
|
|
@@ -23774,7 +23777,7 @@ Ip.exports;
|
|
|
23774
23777
|
return tt(a) ? S : et(S, m(a));
|
|
23775
23778
|
}
|
|
23776
23779
|
function Jn(a) {
|
|
23777
|
-
return a == null ? a === n ? cr : ur : va && va in
|
|
23780
|
+
return a == null ? a === n ? cr : ur : va && va in Pe(a) ? F2(a) : Q2(a);
|
|
23778
23781
|
}
|
|
23779
23782
|
function ug(a, u) {
|
|
23780
23783
|
return a > u;
|
|
@@ -23783,7 +23786,7 @@ Ip.exports;
|
|
|
23783
23786
|
return a != null && Qe.call(a, u);
|
|
23784
23787
|
}
|
|
23785
23788
|
function i2(a, u) {
|
|
23786
|
-
return a != null && u in
|
|
23789
|
+
return a != null && u in Pe(a);
|
|
23787
23790
|
}
|
|
23788
23791
|
function s2(a, u, m) {
|
|
23789
23792
|
return a >= jn(u, m) && a < wn(u, m);
|
|
@@ -23820,7 +23823,7 @@ Ip.exports;
|
|
|
23820
23823
|
return S == null ? n : M(S, a, m);
|
|
23821
23824
|
}
|
|
23822
23825
|
function Vw(a) {
|
|
23823
|
-
return Jt(a) && Jn(a) ==
|
|
23826
|
+
return Jt(a) && Jn(a) == ke;
|
|
23824
23827
|
}
|
|
23825
23828
|
function a2(a) {
|
|
23826
23829
|
return Jt(a) && Jn(a) == Dr;
|
|
@@ -23833,7 +23836,7 @@ Ip.exports;
|
|
|
23833
23836
|
}
|
|
23834
23837
|
function u2(a, u, m, S, O, $) {
|
|
23835
23838
|
var H = tt(a), K = tt(u), Z = H ? Ue : Bn(a), pe = K ? Ue : Bn(u);
|
|
23836
|
-
Z = Z ==
|
|
23839
|
+
Z = Z == ke ? mn : Z, pe = pe == ke ? mn : pe;
|
|
23837
23840
|
var me = Z == mn, ye = pe == mn, De = Z == pe;
|
|
23838
23841
|
if (De && So(a)) {
|
|
23839
23842
|
if (!So(u))
|
|
@@ -23858,7 +23861,7 @@ Ip.exports;
|
|
|
23858
23861
|
var O = m.length, $ = O, H = !S;
|
|
23859
23862
|
if (a == null)
|
|
23860
23863
|
return !$;
|
|
23861
|
-
for (a =
|
|
23864
|
+
for (a = Pe(a); O--; ) {
|
|
23862
23865
|
var K = m[O];
|
|
23863
23866
|
if (H && K[2] ? K[1] !== a[K[0]] : !(K[0] in a))
|
|
23864
23867
|
return !1;
|
|
@@ -23901,7 +23904,7 @@ Ip.exports;
|
|
|
23901
23904
|
if (!cc(a))
|
|
23902
23905
|
return gN(a);
|
|
23903
23906
|
var u = [];
|
|
23904
|
-
for (var m in
|
|
23907
|
+
for (var m in Pe(a))
|
|
23905
23908
|
Qe.call(a, m) && m != "constructor" && u.push(m);
|
|
23906
23909
|
return u;
|
|
23907
23910
|
}
|
|
@@ -24225,7 +24228,7 @@ Ip.exports;
|
|
|
24225
24228
|
return u.lastIndex = a.lastIndex, u;
|
|
24226
24229
|
}
|
|
24227
24230
|
function D2(a) {
|
|
24228
|
-
return rc ?
|
|
24231
|
+
return rc ? Pe(rc.call(a)) : {};
|
|
24229
24232
|
}
|
|
24230
24233
|
function s1(a, u) {
|
|
24231
24234
|
var m = u ? Sg(a.buffer) : a.buffer;
|
|
@@ -24301,7 +24304,7 @@ Ip.exports;
|
|
|
24301
24304
|
function kl(a) {
|
|
24302
24305
|
return ct(function(u, m) {
|
|
24303
24306
|
var S = -1, O = m.length, $ = O > 1 ? m[O - 1] : n, H = O > 2 ? m[2] : n;
|
|
24304
|
-
for ($ = a.length > 3 && typeof $ == "function" ? (O--, $) : n, H && er(m[0], m[1], H) && ($ = O < 3 ? n : $, O = 1), u =
|
|
24307
|
+
for ($ = a.length > 3 && typeof $ == "function" ? (O--, $) : n, H && er(m[0], m[1], H) && ($ = O < 3 ? n : $, O = 1), u = Pe(u); ++S < O; ) {
|
|
24305
24308
|
var K = m[S];
|
|
24306
24309
|
K && a(u, K, S, $);
|
|
24307
24310
|
}
|
|
@@ -24314,14 +24317,14 @@ Ip.exports;
|
|
|
24314
24317
|
return m;
|
|
24315
24318
|
if (!gr(m))
|
|
24316
24319
|
return a(m, S);
|
|
24317
|
-
for (var O = m.length, $ = u ? O : -1, H =
|
|
24320
|
+
for (var O = m.length, $ = u ? O : -1, H = Pe(m); (u ? $-- : ++$ < O) && S(H[$], $, H) !== !1; )
|
|
24318
24321
|
;
|
|
24319
24322
|
return m;
|
|
24320
24323
|
};
|
|
24321
24324
|
}
|
|
24322
24325
|
function c1(a) {
|
|
24323
24326
|
return function(u, m, S) {
|
|
24324
|
-
for (var O = -1, $ =
|
|
24327
|
+
for (var O = -1, $ = Pe(u), H = S(u), K = H.length; K--; ) {
|
|
24325
24328
|
var Z = H[a ? K : ++O];
|
|
24326
24329
|
if (m($[Z], Z, $) === !1)
|
|
24327
24330
|
break;
|
|
@@ -24400,7 +24403,7 @@ Ip.exports;
|
|
|
24400
24403
|
}
|
|
24401
24404
|
function d1(a) {
|
|
24402
24405
|
return function(u, m, S) {
|
|
24403
|
-
var O =
|
|
24406
|
+
var O = Pe(u);
|
|
24404
24407
|
if (!gr(u)) {
|
|
24405
24408
|
var $ = ze(m, 3);
|
|
24406
24409
|
u = En(u), m = function(K) {
|
|
@@ -24746,7 +24749,7 @@ Ip.exports;
|
|
|
24746
24749
|
return S && (u ? a[va] = m : delete a[va]), O;
|
|
24747
24750
|
}
|
|
24748
24751
|
var Og = ng ? function(a) {
|
|
24749
|
-
return a == null ? [] : (a =
|
|
24752
|
+
return a == null ? [] : (a = Pe(a), ue(ng(a), function(u) {
|
|
24750
24753
|
return Dw.call(a, u);
|
|
24751
24754
|
}));
|
|
24752
24755
|
} : qg, w1 = ng ? function(a) {
|
|
@@ -24871,7 +24874,7 @@ Ip.exports;
|
|
|
24871
24874
|
if (tt(a))
|
|
24872
24875
|
return !1;
|
|
24873
24876
|
var m = typeof a;
|
|
24874
|
-
return m == "number" || m == "symbol" || m == "boolean" || a == null || Rr(a) ? !0 : uo.test(a) || !Au.test(a) || u != null && a in
|
|
24877
|
+
return m == "number" || m == "symbol" || m == "boolean" || a == null || Rr(a) ? !0 : uo.test(a) || !Au.test(a) || u != null && a in Pe(u);
|
|
24875
24878
|
}
|
|
24876
24879
|
function z2(a) {
|
|
24877
24880
|
var u = typeof a;
|
|
@@ -24899,7 +24902,7 @@ Ip.exports;
|
|
|
24899
24902
|
}
|
|
24900
24903
|
function _1(a, u) {
|
|
24901
24904
|
return function(m) {
|
|
24902
|
-
return m == null ? !1 : m[a] === u && (u !== n || a in
|
|
24905
|
+
return m == null ? !1 : m[a] === u && (u !== n || a in Pe(m));
|
|
24903
24906
|
};
|
|
24904
24907
|
}
|
|
24905
24908
|
function G2(a) {
|
|
@@ -24923,7 +24926,7 @@ Ip.exports;
|
|
|
24923
24926
|
function X2(a) {
|
|
24924
24927
|
var u = [];
|
|
24925
24928
|
if (a != null)
|
|
24926
|
-
for (var m in
|
|
24929
|
+
for (var m in Pe(a))
|
|
24927
24930
|
u.push(m);
|
|
24928
24931
|
return u;
|
|
24929
24932
|
}
|
|
@@ -25850,7 +25853,7 @@ Ip.exports;
|
|
|
25850
25853
|
return u == null ? m : Rw(m, u);
|
|
25851
25854
|
}
|
|
25852
25855
|
var Cj = ct(function(a, u) {
|
|
25853
|
-
a =
|
|
25856
|
+
a = Pe(a);
|
|
25854
25857
|
var m = -1, S = u.length, O = S > 2 ? u[2] : n;
|
|
25855
25858
|
for (O && er(u[0], u[1], O) && (S = 1); ++m < S; )
|
|
25856
25859
|
for (var $ = u[m], H = vr($), K = -1, Z = H.length; ++K < Z; ) {
|
|
@@ -26730,7 +26733,7 @@ var EI = { exports: {} };
|
|
|
26730
26733
|
};
|
|
26731
26734
|
}
|
|
26732
26735
|
function _t(B, X, ee, ne) {
|
|
26733
|
-
var F, G, q, ce, he, Re, Le,
|
|
26736
|
+
var F, G, q, ce, he, Re, Le, Pe = X && X.ownerDocument, st = X ? X.nodeType : 9;
|
|
26734
26737
|
if (ee = ee || [], typeof B != "string" || !B || st !== 1 && st !== 9 && st !== 11)
|
|
26735
26738
|
return ee;
|
|
26736
26739
|
if (!ne && (Xi(X), X = X || M, W)) {
|
|
@@ -26742,7 +26745,7 @@ var EI = { exports: {} };
|
|
|
26742
26745
|
return k.call(ee, q), ee;
|
|
26743
26746
|
} else
|
|
26744
26747
|
return ee;
|
|
26745
|
-
else if (
|
|
26748
|
+
else if (Pe && (q = Pe.getElementById(F)) && _t.contains(X, q) && q.id === F)
|
|
26746
26749
|
return k.call(ee, q), ee;
|
|
26747
26750
|
} else {
|
|
26748
26751
|
if (he[2])
|
|
@@ -26751,15 +26754,15 @@ var EI = { exports: {} };
|
|
|
26751
26754
|
return k.apply(ee, X.getElementsByClassName(F)), ee;
|
|
26752
26755
|
}
|
|
26753
26756
|
if (!yn[B + " "] && (!Q || !Q.test(B))) {
|
|
26754
|
-
if (Le = B,
|
|
26755
|
-
for (
|
|
26757
|
+
if (Le = B, Pe = X, st === 1 && (Sl.test(B) || ha.test(B))) {
|
|
26758
|
+
for (Pe = pa.test(B) && Xu(X.parentNode) || X, (Pe != X || !C.scope) && ((ce = X.getAttribute("id")) ? ce = v.escapeSelector(ce) : X.setAttribute("id", ce = ue)), Re = go(B), G = Re.length; G--; )
|
|
26756
26759
|
Re[G] = (ce ? "#" + ce : ":scope") + " " + Ar(Re[G]);
|
|
26757
26760
|
Le = Re.join(",");
|
|
26758
26761
|
}
|
|
26759
26762
|
try {
|
|
26760
26763
|
return k.apply(
|
|
26761
26764
|
ee,
|
|
26762
|
-
|
|
26765
|
+
Pe.querySelectorAll(Le)
|
|
26763
26766
|
), ee;
|
|
26764
26767
|
} catch {
|
|
26765
26768
|
yn(B, !0);
|
|
@@ -26972,7 +26975,7 @@ var EI = { exports: {} };
|
|
|
26972
26975
|
return !!he.parentNode;
|
|
26973
26976
|
}
|
|
26974
26977
|
) : function(he, Re, Le) {
|
|
26975
|
-
var
|
|
26978
|
+
var Pe, st, He, ut, bn, _n = G !== q ? "nextSibling" : "previousSibling", xn = he.parentNode, Zn = ce && he.nodeName.toLowerCase(), Ai = !Le && !ce, Qe = !1;
|
|
26976
26979
|
if (xn) {
|
|
26977
26980
|
if (G) {
|
|
26978
26981
|
for (; _n; ) {
|
|
@@ -26984,13 +26987,13 @@ var EI = { exports: {} };
|
|
|
26984
26987
|
return !0;
|
|
26985
26988
|
}
|
|
26986
26989
|
if (bn = [q ? xn.firstChild : xn.lastChild], q && Ai) {
|
|
26987
|
-
for (st = xn[ue] || (xn[ue] = {}),
|
|
26990
|
+
for (st = xn[ue] || (xn[ue] = {}), Pe = st[B] || [], ut = Pe[0] === te && Pe[1], Qe = ut && Pe[2], He = ut && xn.childNodes[ut]; He = ++ut && He && He[_n] || // Fallback to seeking `elem` from the start
|
|
26988
26991
|
(Qe = ut = 0) || bn.pop(); )
|
|
26989
26992
|
if (He.nodeType === 1 && ++Qe && He === he) {
|
|
26990
26993
|
st[B] = [te, ut, Qe];
|
|
26991
26994
|
break;
|
|
26992
26995
|
}
|
|
26993
|
-
} else if (Ai && (st = he[ue] || (he[ue] = {}),
|
|
26996
|
+
} else if (Ai && (st = he[ue] || (he[ue] = {}), Pe = st[B] || [], ut = Pe[0] === te && Pe[1], Qe = ut), Qe === !1)
|
|
26994
26997
|
for (; (He = ++ut && He && He[_n] || (Qe = ut = 0) || bn.pop()) && !((ce ? z(He, Zn) : He.nodeType === 1) && ++Qe && (Ai && (st = He[ue] || (He[ue] = {}), st[B] = [te, Qe]), He === he)); )
|
|
26995
26998
|
;
|
|
26996
26999
|
return Qe -= F, Qe === ne || Qe % ne === 0 && Qe / ne >= 0;
|
|
@@ -27174,7 +27177,7 @@ var EI = { exports: {} };
|
|
|
27174
27177
|
) : (
|
|
27175
27178
|
// Check against all ancestor/preceding elements
|
|
27176
27179
|
function(he, Re, Le) {
|
|
27177
|
-
var
|
|
27180
|
+
var Pe, st, He = [te, ce];
|
|
27178
27181
|
if (Le) {
|
|
27179
27182
|
for (; he = he[ne]; )
|
|
27180
27183
|
if ((he.nodeType === 1 || q) && B(he, Re, Le))
|
|
@@ -27185,8 +27188,8 @@ var EI = { exports: {} };
|
|
|
27185
27188
|
if (st = he[ue] || (he[ue] = {}), F && z(he, F))
|
|
27186
27189
|
he = he[ne] || he;
|
|
27187
27190
|
else {
|
|
27188
|
-
if ((
|
|
27189
|
-
return He[2] =
|
|
27191
|
+
if ((Pe = st[G]) && Pe[0] === te && Pe[1] === ce)
|
|
27192
|
+
return He[2] = Pe[2];
|
|
27190
27193
|
if (st[G] = He, He[2] = B(he, Re, Le))
|
|
27191
27194
|
return !0;
|
|
27192
27195
|
}
|
|
@@ -27214,7 +27217,7 @@ var EI = { exports: {} };
|
|
|
27214
27217
|
}
|
|
27215
27218
|
function Qi(B, X, ee, ne, F, G) {
|
|
27216
27219
|
return ne && !ne[ue] && (ne = Qi(ne)), F && !F[ue] && (F = Qi(F, G)), Mr(function(q, ce, he, Re) {
|
|
27217
|
-
var Le,
|
|
27220
|
+
var Le, Pe, st, He, ut = [], bn = [], _n = ce.length, xn = q || tg(
|
|
27218
27221
|
X || "*",
|
|
27219
27222
|
he.nodeType ? [he] : he,
|
|
27220
27223
|
[]
|
|
@@ -27226,17 +27229,17 @@ var EI = { exports: {} };
|
|
|
27226
27229
|
// ...otherwise use results directly
|
|
27227
27230
|
ce
|
|
27228
27231
|
), ee(Zn, He, he, Re)) : He = Zn, ne)
|
|
27229
|
-
for (Le = Cl(He, bn), ne(Le, [], he, Re),
|
|
27230
|
-
(st = Le[
|
|
27232
|
+
for (Le = Cl(He, bn), ne(Le, [], he, Re), Pe = Le.length; Pe--; )
|
|
27233
|
+
(st = Le[Pe]) && (He[bn[Pe]] = !(Zn[bn[Pe]] = st));
|
|
27231
27234
|
if (q) {
|
|
27232
27235
|
if (F || B) {
|
|
27233
27236
|
if (F) {
|
|
27234
|
-
for (Le = [],
|
|
27235
|
-
(st = He[
|
|
27237
|
+
for (Le = [], Pe = He.length; Pe--; )
|
|
27238
|
+
(st = He[Pe]) && Le.push(Zn[Pe] = st);
|
|
27236
27239
|
F(null, He = [], Le, Re);
|
|
27237
27240
|
}
|
|
27238
|
-
for (
|
|
27239
|
-
(st = He[
|
|
27241
|
+
for (Pe = He.length; Pe--; )
|
|
27242
|
+
(st = He[Pe]) && (Le = F ? c.call(q, st) : ut[Pe]) > -1 && (q[Le] = !(ce[Le] = st));
|
|
27240
27243
|
}
|
|
27241
27244
|
} else
|
|
27242
27245
|
He = Cl(
|
|
@@ -27245,12 +27248,12 @@ var EI = { exports: {} };
|
|
|
27245
27248
|
});
|
|
27246
27249
|
}
|
|
27247
27250
|
function Qn(B) {
|
|
27248
|
-
for (var X, ee, ne, F = B.length, G = g.relative[B[0].type], q = G || g.relative[" "], ce = G ? 1 : 0, he = Ss(function(
|
|
27249
|
-
return
|
|
27250
|
-
}, q, !0), Re = Ss(function(
|
|
27251
|
-
return c.call(X,
|
|
27252
|
-
}, q, !0), Le = [function(
|
|
27253
|
-
var ut = !G && (He || st != x) || ((X = st).nodeType ? he(
|
|
27251
|
+
for (var X, ee, ne, F = B.length, G = g.relative[B[0].type], q = G || g.relative[" "], ce = G ? 1 : 0, he = Ss(function(Pe) {
|
|
27252
|
+
return Pe === X;
|
|
27253
|
+
}, q, !0), Re = Ss(function(Pe) {
|
|
27254
|
+
return c.call(X, Pe) > -1;
|
|
27255
|
+
}, q, !0), Le = [function(Pe, st, He) {
|
|
27256
|
+
var ut = !G && (He || st != x) || ((X = st).nodeType ? he(Pe, st, He) : Re(Pe, st, He));
|
|
27254
27257
|
return X = null, ut;
|
|
27255
27258
|
}]; ce < F; ce++)
|
|
27256
27259
|
if (ee = g.relative[B[ce].type])
|
|
@@ -27277,10 +27280,10 @@ var EI = { exports: {} };
|
|
|
27277
27280
|
}
|
|
27278
27281
|
function pd(B, X) {
|
|
27279
27282
|
var ee = X.length > 0, ne = B.length > 0, F = function(G, q, ce, he, Re) {
|
|
27280
|
-
var Le,
|
|
27283
|
+
var Le, Pe, st, He = 0, ut = "0", bn = G && [], _n = [], xn = x, Zn = G || ne && g.find.TAG("*", Re), Ai = te += xn == null ? 1 : Math.random() || 0.1, Qe = Zn.length;
|
|
27281
27284
|
for (Re && (x = q == M || q || Re); ut !== Qe && (Le = Zn[ut]) != null; ut++) {
|
|
27282
27285
|
if (ne && Le) {
|
|
27283
|
-
for (
|
|
27286
|
+
for (Pe = 0, !q && Le.ownerDocument != M && (Xi(Le), ce = !W); st = B[Pe++]; )
|
|
27284
27287
|
if (st(Le, q || M, ce)) {
|
|
27285
27288
|
k.call(he, Le);
|
|
27286
27289
|
break;
|
|
@@ -27290,7 +27293,7 @@ var EI = { exports: {} };
|
|
|
27290
27293
|
ee && ((Le = !st && Le) && He--, G && bn.push(Le));
|
|
27291
27294
|
}
|
|
27292
27295
|
if (He += ut, ee && ut !== He) {
|
|
27293
|
-
for (
|
|
27296
|
+
for (Pe = 0; st = X[Pe++]; )
|
|
27294
27297
|
st(bn, _n, q, ce);
|
|
27295
27298
|
if (G) {
|
|
27296
27299
|
if (He > 0)
|
|
@@ -27407,12 +27410,12 @@ var EI = { exports: {} };
|
|
|
27407
27410
|
).length;
|
|
27408
27411
|
}
|
|
27409
27412
|
});
|
|
27410
|
-
var _e,
|
|
27413
|
+
var _e, ke = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Ue = v.fn.init = function(f, g, x) {
|
|
27411
27414
|
var T, D;
|
|
27412
27415
|
if (!f)
|
|
27413
27416
|
return this;
|
|
27414
27417
|
if (x = x || _e, typeof f == "string")
|
|
27415
|
-
if (f[0] === "<" && f[f.length - 1] === ">" && f.length >= 3 ? T = [null, f, null] : T =
|
|
27418
|
+
if (f[0] === "<" && f[f.length - 1] === ">" && f.length >= 3 ? T = [null, f, null] : T = ke.exec(f), T && (T[1] || !g))
|
|
27416
27419
|
if (T[1]) {
|
|
27417
27420
|
if (g = g instanceof v ? g[0] : g, v.merge(this, v.parseHTML(
|
|
27418
27421
|
T[1],
|
|
@@ -30215,9 +30218,9 @@ const kte = /* @__PURE__ */ dV(A9);
|
|
|
30215
30218
|
_[j][N].isSame(/* @__PURE__ */ new Date(), "day") && Ee.push("today"), _[j][N].isoWeekday() > 5 && Ee.push("weekend"), _[j][N].month() != _[1][1].month() && Ee.push("off", "ends"), this.minDate && _[j][N].isBefore(this.minDate, "day") && Ee.push("off", "disabled"), Y && _[j][N].isAfter(Y, "day") && Ee.push("off", "disabled"), this.isInvalidDate(_[j][N]) && Ee.push("off", "disabled"), _[j][N].format("YYYY-MM-DD") == this.startDate.format("YYYY-MM-DD") && Ee.push("active", "start-date"), this.endDate != null && _[j][N].format("YYYY-MM-DD") == this.endDate.format("YYYY-MM-DD") && Ee.push("active", "end-date"), this.endDate != null && _[j][N] > this.startDate && _[j][N] < this.endDate && Ee.push("in-range");
|
|
30216
30219
|
var $e = this.isCustomDate(_[j][N]);
|
|
30217
30220
|
$e !== !1 && (typeof $e == "string" ? Ee.push($e) : Array.prototype.push.apply(Ee, $e));
|
|
30218
|
-
for (var _e = "",
|
|
30219
|
-
_e += Ee[I] + " ", Ee[I] == "disabled" && (
|
|
30220
|
-
|
|
30221
|
+
for (var _e = "", ke = !1, I = 0; I < Ee.length; I++)
|
|
30222
|
+
_e += Ee[I] + " ", Ee[I] == "disabled" && (ke = !0);
|
|
30223
|
+
ke || (_e += "available"), z += '<td class="' + _e.replace(/^\s+|\s+$/g, "") + '" data-title="r' + j + "c" + N + '">' + _[j][N].date() + "</td>";
|
|
30221
30224
|
}
|
|
30222
30225
|
z += "</tr>";
|
|
30223
30226
|
}
|
|
@@ -40083,15 +40086,24 @@ function Oce(e) {
|
|
|
40083
40086
|
n.current
|
|
40084
40087
|
);
|
|
40085
40088
|
}
|
|
40089
|
+
function Pce(e) {
|
|
40090
|
+
if (e.redirectUrl)
|
|
40091
|
+
return e.redirectUrl;
|
|
40092
|
+
if (e.path && e.path.includes("http")) {
|
|
40093
|
+
const t = new URL(e.path);
|
|
40094
|
+
return t.href.replace(t.origin, "");
|
|
40095
|
+
}
|
|
40096
|
+
return e.path || "#";
|
|
40097
|
+
}
|
|
40086
40098
|
function rN({ ...e }) {
|
|
40087
40099
|
var Ce, Ee, $e;
|
|
40088
|
-
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 = (_e,
|
|
40100
|
+
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 = (_e, ke = o) => `${_e} ${ke} ${l} ${c} ${d} ${h} ${p}`, [b, C] = A.useState(!1), [w, E] = A.useState(t.isFavorite || !1);
|
|
40089
40101
|
A.useEffect(() => {
|
|
40090
40102
|
E(!!e.item.isFavorite);
|
|
40091
40103
|
}, [e.item.isFavorite]);
|
|
40092
40104
|
const _ = A.useRef(), I = A.useRef();
|
|
40093
40105
|
I != null && I.current && ((Ee = I == null ? void 0 : I.current) == null ? void 0 : Ee.scrollWidth) > (($e = I == null ? void 0 : I.current) == null ? void 0 : $e.clientWidth);
|
|
40094
|
-
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" : ak, z = t
|
|
40106
|
+
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" : ak, z = Pce(t), ae = n + 1, le = r && s && b, ve = s || n === 0 ? void 0 : `${n + 0.25}rem`, fe = () => {
|
|
40095
40107
|
C(!0);
|
|
40096
40108
|
}, de = () => {
|
|
40097
40109
|
C(!1);
|
|
@@ -40102,7 +40114,7 @@ function rN({ ...e }) {
|
|
|
40102
40114
|
e.params.onToggle
|
|
40103
40115
|
);
|
|
40104
40116
|
const J = re || s && n === 0 ? t.name === "POMs" ? "Parking Operations Management" : t.description || t.name : null, ie = Object.entries(e.brandColors || {}).reduce(
|
|
40105
|
-
(_e, [
|
|
40117
|
+
(_e, [ke, Ue]) => (Ue && (_e[`--${ke}`] = Ue), _e),
|
|
40106
40118
|
{}
|
|
40107
40119
|
), be = P !== V.origin || e.item.redirectUrl ? "_blank" : "_self";
|
|
40108
40120
|
return /* @__PURE__ */ L.jsxs(
|
|
@@ -40126,32 +40138,23 @@ function rN({ ...e }) {
|
|
|
40126
40138
|
{
|
|
40127
40139
|
target: be,
|
|
40128
40140
|
to: z,
|
|
40129
|
-
href: z,
|
|
40130
40141
|
draggable: "true",
|
|
40131
40142
|
className: y("menu-item__link"),
|
|
40132
40143
|
style: {
|
|
40133
40144
|
paddingLeft: ve
|
|
40134
|
-
// transition: 'all 0.3s',
|
|
40135
|
-
// transitionDelay: '0.1s',
|
|
40136
|
-
// color: isActive(item.id)
|
|
40137
|
-
// ? props.brandColors?.primary400 || color.primary400
|
|
40138
|
-
// : undefined,
|
|
40139
|
-
// backgroundColor:
|
|
40140
|
-
// isActive(item.id) && level === 0
|
|
40141
|
-
// ? props.brandColors?.primary200
|
|
40142
|
-
// : undefined,
|
|
40143
40145
|
},
|
|
40144
40146
|
onClick: (_e) => {
|
|
40145
|
-
|
|
40147
|
+
var ke;
|
|
40148
|
+
Y === "a" && be === "_blank" || (!r && t.path && (localStorage.setItem(
|
|
40146
40149
|
"latestClickMenuPath",
|
|
40147
40150
|
(t.path || "").replace(window.location.origin, "")
|
|
40148
|
-
), !s && e.toggleExpand(_e));
|
|
40151
|
+
), (ke = e.onClickItem) == null || ke.call(e, z)), !s && e.toggleExpand(_e));
|
|
40149
40152
|
},
|
|
40150
40153
|
children: [
|
|
40151
|
-
/* @__PURE__ */ L.jsx(
|
|
40154
|
+
/* @__PURE__ */ L.jsx(Mce, { cls: y, item: t }),
|
|
40152
40155
|
/* @__PURE__ */ L.jsx("span", { className: y("menu-item__label"), ref: I, children: t.name }),
|
|
40153
40156
|
/* @__PURE__ */ L.jsx(
|
|
40154
|
-
|
|
40157
|
+
Ace,
|
|
40155
40158
|
{
|
|
40156
40159
|
tooltipPosition: J ? "right" : "top",
|
|
40157
40160
|
menuLevel: n,
|
|
@@ -40159,11 +40162,11 @@ function rN({ ...e }) {
|
|
|
40159
40162
|
isHovered: b,
|
|
40160
40163
|
isFavorite: w,
|
|
40161
40164
|
onClick: (_e) => {
|
|
40162
|
-
const
|
|
40165
|
+
const ke = {
|
|
40163
40166
|
menuConfigId: t.id,
|
|
40164
40167
|
isFavorite: _e
|
|
40165
40168
|
}, Ue = e.baseUrl + we;
|
|
40166
|
-
qn.post(Ue,
|
|
40169
|
+
qn.post(Ue, ke).then((bt) => {
|
|
40167
40170
|
var dt;
|
|
40168
40171
|
E(_e), DP(qt("components.menu.pushSuccess.menuSuccess", { defaultValue: "Set favorite menu item successful" })), (dt = e.onSetFavoriteSuccess) == null || dt.call(e, e.item.id, _e), _I(e.item.id, _e);
|
|
40169
40172
|
}).catch((bt) => {
|
|
@@ -40192,7 +40195,7 @@ function rN({ ...e }) {
|
|
|
40192
40195
|
parentRef: _,
|
|
40193
40196
|
onlyChild: !s,
|
|
40194
40197
|
renderChildren: ({ maxHeight: _e }) => {
|
|
40195
|
-
var
|
|
40198
|
+
var ke;
|
|
40196
40199
|
return /* @__PURE__ */ L.jsx(
|
|
40197
40200
|
KM.div,
|
|
40198
40201
|
{
|
|
@@ -40204,7 +40207,7 @@ function rN({ ...e }) {
|
|
|
40204
40207
|
{ maxHeight: _e, overflowY: "auto", paddingRight: 3 },
|
|
40205
40208
|
_e !== "auto" && !!ae
|
|
40206
40209
|
),
|
|
40207
|
-
children: (
|
|
40210
|
+
children: (ke = t.children) == null ? void 0 : ke.map((Ue) => /* @__PURE__ */ A.createElement(
|
|
40208
40211
|
rN,
|
|
40209
40212
|
{
|
|
40210
40213
|
...e,
|
|
@@ -40222,10 +40225,10 @@ function rN({ ...e }) {
|
|
|
40222
40225
|
}
|
|
40223
40226
|
);
|
|
40224
40227
|
}
|
|
40225
|
-
function
|
|
40228
|
+
function Mce({ item: e, cls: t }) {
|
|
40226
40229
|
return /* @__PURE__ */ L.jsx("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ L.jsx(Mie, { item: e }) });
|
|
40227
40230
|
}
|
|
40228
|
-
function
|
|
40231
|
+
function Ace(e) {
|
|
40229
40232
|
const t = {
|
|
40230
40233
|
marginRight: e.hasChildren ? 10 : 0,
|
|
40231
40234
|
fontSize: 18,
|
|
@@ -40270,7 +40273,7 @@ function Mce(e) {
|
|
|
40270
40273
|
)
|
|
40271
40274
|
] });
|
|
40272
40275
|
}
|
|
40273
|
-
function
|
|
40276
|
+
function Ice() {
|
|
40274
40277
|
return /* @__PURE__ */ L.jsx(
|
|
40275
40278
|
"svg",
|
|
40276
40279
|
{
|
|
@@ -40285,7 +40288,7 @@ function Ace() {
|
|
|
40285
40288
|
}
|
|
40286
40289
|
);
|
|
40287
40290
|
}
|
|
40288
|
-
function
|
|
40291
|
+
function Rce() {
|
|
40289
40292
|
return /* @__PURE__ */ L.jsx(
|
|
40290
40293
|
"svg",
|
|
40291
40294
|
{
|
|
@@ -40300,7 +40303,7 @@ function Ice() {
|
|
|
40300
40303
|
}
|
|
40301
40304
|
);
|
|
40302
40305
|
}
|
|
40303
|
-
function
|
|
40306
|
+
function Lce(e) {
|
|
40304
40307
|
return /* @__PURE__ */ L.jsx(
|
|
40305
40308
|
"svg",
|
|
40306
40309
|
{
|
|
@@ -40322,7 +40325,7 @@ function Rce(e) {
|
|
|
40322
40325
|
}
|
|
40323
40326
|
);
|
|
40324
40327
|
}
|
|
40325
|
-
const
|
|
40328
|
+
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) => {
|
|
40326
40329
|
const t = e.isCollapsed ? 0 : e.depth * 16;
|
|
40327
40330
|
return /* @__PURE__ */ L.jsx(
|
|
40328
40331
|
"div",
|
|
@@ -40338,7 +40341,7 @@ const Lce = ".flex-col-center{display:flex;flex-direction:column;justify-content
|
|
|
40338
40341
|
}
|
|
40339
40342
|
}
|
|
40340
40343
|
);
|
|
40341
|
-
},
|
|
40344
|
+
}, Fce = ".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}", jce = (e) => {
|
|
40342
40345
|
const [t, n] = A.useState(() => {
|
|
40343
40346
|
const r = localStorage.getItem("openingMenuIds");
|
|
40344
40347
|
return r && r !== "[]" ? JSON.parse(r) : (e == null ? void 0 : e.initOpenIds) || [];
|
|
@@ -40357,13 +40360,13 @@ function iN(e) {
|
|
|
40357
40360
|
}
|
|
40358
40361
|
const Zh = localStorage.getItem("isCollapsed");
|
|
40359
40362
|
iN(Zh);
|
|
40360
|
-
function
|
|
40363
|
+
function Bce(e) {
|
|
40361
40364
|
const t = new CustomEvent("favoriteMenusChange", {
|
|
40362
40365
|
detail: { favoriteMenus: e }
|
|
40363
40366
|
});
|
|
40364
40367
|
window.dispatchEvent(t);
|
|
40365
40368
|
}
|
|
40366
|
-
function
|
|
40369
|
+
function Vce(e) {
|
|
40367
40370
|
const t = uk(), [n, r] = A.useState([]), i = n.map((re) => re.data), [s, o] = A.useState(!1), [l, c] = A.useState([]), [d, h] = A.useState(
|
|
40368
40371
|
Zh === null ? !0 : Zh === "true"
|
|
40369
40372
|
), [p, y] = A.useState(window.location.href), b = A.useRef(null);
|
|
@@ -40371,9 +40374,12 @@ function Bce(e) {
|
|
|
40371
40374
|
var re;
|
|
40372
40375
|
(re = e.handleCallback) == null || re.call(e, i);
|
|
40373
40376
|
}, [i, e.handleCallback]), A.useEffect(() => {
|
|
40374
|
-
y(window.location.href)
|
|
40377
|
+
y(window.location.href), t.pathname + t.search + t.hash && localStorage.setItem(
|
|
40378
|
+
"latestClickMenuPath",
|
|
40379
|
+
(t.pathname + t.search + t.hash || "").replace(window.location.origin, "")
|
|
40380
|
+
);
|
|
40375
40381
|
}, [t]);
|
|
40376
|
-
const C = KD(i, p), [w, E] =
|
|
40382
|
+
const C = KD(i, p), [w, E] = jce({
|
|
40377
40383
|
initOpenIds: e.initOpenIds
|
|
40378
40384
|
}), _ = () => {
|
|
40379
40385
|
var re, se;
|
|
@@ -40463,7 +40469,7 @@ function Bce(e) {
|
|
|
40463
40469
|
};
|
|
40464
40470
|
}
|
|
40465
40471
|
const J = re.map((ie) => se(ie));
|
|
40466
|
-
|
|
40472
|
+
Bce(J);
|
|
40467
40473
|
}, [i]);
|
|
40468
40474
|
const ae = (re, se, J) => {
|
|
40469
40475
|
let ie = re.find((be) => be.id === J);
|
|
@@ -40479,10 +40485,10 @@ function Bce(e) {
|
|
|
40479
40485
|
}, [w]), A.useEffect(() => {
|
|
40480
40486
|
const re = (se) => {
|
|
40481
40487
|
var _e;
|
|
40482
|
-
const J = se, { path: ie } = J.detail, Ce = KD(i, ie).map((
|
|
40488
|
+
const J = se, { path: ie } = J.detail, Ce = KD(i, ie).map((ke) => ke.id), $e = le.current.filter((ke) => Ce.includes(ke) ? !1 : !Ce.some((Ue) => ae(i, ke, Ue)));
|
|
40483
40489
|
console.log("idsToClose:", $e), d || (_e = b.current) == null || _e.open(Ce), setTimeout(() => {
|
|
40484
|
-
var
|
|
40485
|
-
(
|
|
40490
|
+
var ke;
|
|
40491
|
+
(ke = b.current) == null || ke.close($e);
|
|
40486
40492
|
}, 0), E(Ce);
|
|
40487
40493
|
};
|
|
40488
40494
|
return window.addEventListener(
|
|
@@ -40535,11 +40541,11 @@ function Bce(e) {
|
|
|
40535
40541
|
}
|
|
40536
40542
|
), _e = [...Ce ? [Ce, ...Ee] : Ee, ...be];
|
|
40537
40543
|
r(_e);
|
|
40538
|
-
const
|
|
40544
|
+
const ke = _e.map((Ue, bt) => ({
|
|
40539
40545
|
menuItemId: Ue.id,
|
|
40540
40546
|
order: bt
|
|
40541
40547
|
}));
|
|
40542
|
-
qn.post("/global-menu-config/api/v1/menu-items/user",
|
|
40548
|
+
qn.post("/global-menu-config/api/v1/menu-items/user", ke, {
|
|
40543
40549
|
baseURL: e.baseUrl
|
|
40544
40550
|
}).then(() => {
|
|
40545
40551
|
}).catch((Ue) => {
|
|
@@ -40558,7 +40564,7 @@ function Bce(e) {
|
|
|
40558
40564
|
{
|
|
40559
40565
|
className: "icon-btn side-bar__toggle-btn",
|
|
40560
40566
|
onClick: _,
|
|
40561
|
-
children: d ? /* @__PURE__ */ L.jsx(
|
|
40567
|
+
children: d ? /* @__PURE__ */ L.jsx(Rce, {}) : /* @__PURE__ */ L.jsx(Ice, {})
|
|
40562
40568
|
}
|
|
40563
40569
|
) }),
|
|
40564
40570
|
/* @__PURE__ */ L.jsx(
|
|
@@ -40604,19 +40610,20 @@ function Bce(e) {
|
|
|
40604
40610
|
function Ce(Ee, $e) {
|
|
40605
40611
|
r(
|
|
40606
40612
|
(_e) => _e.map(
|
|
40607
|
-
(
|
|
40608
|
-
...
|
|
40613
|
+
(ke) => ke.id === Ee ? {
|
|
40614
|
+
...ke,
|
|
40609
40615
|
data: {
|
|
40610
|
-
...
|
|
40616
|
+
...ke.data,
|
|
40611
40617
|
isFavorite: $e
|
|
40612
40618
|
}
|
|
40613
|
-
} :
|
|
40619
|
+
} : ke
|
|
40614
40620
|
)
|
|
40615
40621
|
), z();
|
|
40616
40622
|
}
|
|
40617
40623
|
return /* @__PURE__ */ L.jsx(
|
|
40618
40624
|
rN,
|
|
40619
40625
|
{
|
|
40626
|
+
onClickItem: e.onClickItem,
|
|
40620
40627
|
isInternalApp: e.isInternalApp,
|
|
40621
40628
|
isActive: be,
|
|
40622
40629
|
isCollapsed: d,
|
|
@@ -40635,11 +40642,11 @@ function Bce(e) {
|
|
|
40635
40642
|
se.onToggle();
|
|
40636
40643
|
else {
|
|
40637
40644
|
const _e = n.filter(
|
|
40638
|
-
(
|
|
40639
|
-
).map((
|
|
40645
|
+
(ke) => ke.parent === re.parent && ke.id !== re.id
|
|
40646
|
+
).map((ke) => ke.id);
|
|
40640
40647
|
console.log(" closeIds:", _e), ($e = b.current) == null || $e.open(re.id), setTimeout(() => {
|
|
40641
|
-
var
|
|
40642
|
-
(
|
|
40648
|
+
var ke;
|
|
40649
|
+
(ke = b.current) == null || ke.close(_e);
|
|
40643
40650
|
}, 0);
|
|
40644
40651
|
}
|
|
40645
40652
|
},
|
|
@@ -40651,7 +40658,7 @@ function Bce(e) {
|
|
|
40651
40658
|
placeholderRender: (re, { depth: se }) => {
|
|
40652
40659
|
var J;
|
|
40653
40660
|
return /* @__PURE__ */ L.jsx(
|
|
40654
|
-
|
|
40661
|
+
$ce,
|
|
40655
40662
|
{
|
|
40656
40663
|
node: re,
|
|
40657
40664
|
depth: se,
|
|
@@ -40685,7 +40692,7 @@ function Bce(e) {
|
|
|
40685
40692
|
we.style.setProperty("z-index", "1304"), we.classList.remove("backdrop-delay-transition"), P(!0);
|
|
40686
40693
|
},
|
|
40687
40694
|
children: [
|
|
40688
|
-
/* @__PURE__ */ L.jsx(
|
|
40695
|
+
/* @__PURE__ */ L.jsx(Lce, { className: N("side-bar__icon-logout") }),
|
|
40689
40696
|
/* @__PURE__ */ L.jsx("span", { className: N("side-bar__logout-btn__text"), children: "Logout" })
|
|
40690
40697
|
]
|
|
40691
40698
|
}
|
|
@@ -40790,14 +40797,14 @@ const GD = {
|
|
|
40790
40797
|
"/anpr/page/Issues/Index?status=Closed": ["/anpr/page/Issues"],
|
|
40791
40798
|
"/anpr/page/Issues/Index": ["/anpr/page/Issues"]
|
|
40792
40799
|
};
|
|
40793
|
-
function
|
|
40800
|
+
function Wce(e, t) {
|
|
40794
40801
|
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", "");
|
|
40795
40802
|
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;
|
|
40796
40803
|
}
|
|
40797
40804
|
function KD(e, t) {
|
|
40798
40805
|
const n = e.map((o) => ({
|
|
40799
40806
|
item: o,
|
|
40800
|
-
priority: o.path ?
|
|
40807
|
+
priority: o.path ? Wce(o.path, t) : 0
|
|
40801
40808
|
})).filter((o) => o.priority > 0);
|
|
40802
40809
|
console.log(" index.tsx ~ matchedItems:", n);
|
|
40803
40810
|
const r = n.length > 0 ? n.reduce(
|
|
@@ -40820,30 +40827,30 @@ function oN(e) {
|
|
|
40820
40827
|
path: window.location.origin + "/app" + n.path
|
|
40821
40828
|
} : (n.children && (n.children = oN(n.children)), n));
|
|
40822
40829
|
}
|
|
40823
|
-
function
|
|
40830
|
+
function Hce(e) {
|
|
40824
40831
|
return (
|
|
40825
40832
|
// <ShadowDOM.div>
|
|
40826
40833
|
/* @__PURE__ */ L.jsx(
|
|
40827
40834
|
Z0,
|
|
40828
40835
|
{
|
|
40829
40836
|
id: "global-menu-container",
|
|
40830
|
-
styles: [xk,
|
|
40837
|
+
styles: [xk, Nce, Fce],
|
|
40831
40838
|
style: {
|
|
40832
40839
|
zIndex: "var(--menu-z-index)",
|
|
40833
40840
|
position: "relative"
|
|
40834
40841
|
},
|
|
40835
40842
|
className: "backdrop-delay-transition",
|
|
40836
|
-
children: /* @__PURE__ */ L.jsx(
|
|
40843
|
+
children: /* @__PURE__ */ L.jsx(Vce, { ...e })
|
|
40837
40844
|
}
|
|
40838
40845
|
)
|
|
40839
40846
|
);
|
|
40840
40847
|
}
|
|
40841
|
-
function
|
|
40848
|
+
function Uce(e) {
|
|
40842
40849
|
const t = { ...Dn, ...e.brandColors };
|
|
40843
|
-
return console.log("props.brandColors", t), /* @__PURE__ */ L.jsx(lk, { children: /* @__PURE__ */ L.jsx(H5, { theme: OU({ colors: t }), children: /* @__PURE__ */ L.jsx(
|
|
40850
|
+
return console.log("props.brandColors", t), /* @__PURE__ */ L.jsx(lk, { children: /* @__PURE__ */ L.jsx(H5, { theme: OU({ colors: t }), children: /* @__PURE__ */ L.jsx(Hce, { ...e, ssr: !0 }) }) });
|
|
40844
40851
|
}
|
|
40845
40852
|
{
|
|
40846
|
-
const e = zp(
|
|
40853
|
+
const e = zp(Uce, {
|
|
40847
40854
|
props: {
|
|
40848
40855
|
baseUrl: "string",
|
|
40849
40856
|
menuPath: "string",
|
|
@@ -40861,10 +40868,10 @@ function Hce(e) {
|
|
|
40861
40868
|
}
|
|
40862
40869
|
export {
|
|
40863
40870
|
Cte as F,
|
|
40864
|
-
|
|
40871
|
+
Hce as G,
|
|
40865
40872
|
mU as H,
|
|
40866
40873
|
r8 as L,
|
|
40867
|
-
|
|
40874
|
+
bfe as T,
|
|
40868
40875
|
pU as g,
|
|
40869
40876
|
_I as u
|
|
40870
40877
|
};
|