@ukpc-lib/react 0.16.3-sandbox.saas-9356.patch-6 → 0.16.3-sandbox.saas-9356-and-saas-9249.patch-7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/FavoriteMenu/components/MenuItem.d.ts +2 -1
- 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-DHPYCAX1.cjs → index.esm2017-Bmj_1y8w.cjs} +103 -103
- package/dist/{index.esm2017-mkglNDNK.js → index.esm2017-YfeFmA6k.js} +1810 -1804
- package/dist/share/hooks/useSyncRouter.d.ts +1 -1
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +66 -85
- package/package.json +1 -1
- package/web-components-bundle/access-denied/index.js +3 -3
- package/web-components-bundle/base-breadcrumbs/index.js +2 -2
- package/web-components-bundle/favorite-menu/index.js +4 -4
- package/web-components-bundle/global-menu/index.js +4 -4
- package/web-components-bundle/global-topbar/index.js +5 -5
- package/web-components-bundle/has-permission/index.js +3 -3
- package/web-components-bundle/{index-u2b2YmwA.js → index-DBpqFdvL.js} +404 -398
- package/web-components-bundle/{index-BUE-pz1x.js → index-DqxmsDJs.js} +1 -1
- package/web-components-bundle/{index-omnj2VPv.js → index-UUkm_4Gc.js} +595 -595
- package/web-components-bundle/page-not-found/index.js +2 -2
- package/web-components-bundle/{react-to-web-component-BOygDorD.js → react-to-web-component-w5r1Fs9q.js} +1527 -1535
- package/web-components-bundle/{react-toastify.esm-DnABvuky.js → react-toastify.esm-H_Xdunfj.js} +1 -1
- package/web-components-bundle/toast-config/index.js +2 -2
- package/web-components-bundle/toast-config-notification/index.js +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
var z3 = Object.defineProperty;
|
|
2
2
|
var Y3 = (e, t, n) => t in e ? z3(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
3
|
var bh = (e, t, n) => (Y3(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
-
import { c as Yn, g as xl, r as M, R as
|
|
5
|
-
import { _ as G3, a as vs, b as da, i as Dp, s as K3, c as Te, d as Xy, f as X3, r as Qy, n as Wn, t as gk, e as Q3, g as mk, h as ln, j as kp, k as vk, p as Yo, m as JS, l as eC, o as Qh, q as xh, u as tC, v as Z3, T as yk, w as J3, x as eU, y as tU, z as bk, A as kr, D as nU, B as Pp, C as rU, E as wk, F as iU, G as Cf, H as Ap, I as nC, J as $u, K as Sl, L as rC, M as sU, N as Fu, O as Qf, P as ur, Q as oU, R as xk, S as Sk, U as Xr, V as aU, W as lU, X as Ck, Y as Tk, Z as _g, $ as Nb, a0 as qc, a1 as uU, a2 as iC, a3 as cU, a4 as Sh, a5 as fU, a6 as Rp, a7 as dU, a8 as hU, a9 as Dn, aa as pU, ab as gU, ac as mU, ad as _k, ae as Ek, af as Ok } from "./index-
|
|
4
|
+
import { c as Yn, g as xl, r as M, R as je, j as I, a as wh, b as Tg, s as Xf, d as q3 } from "./react-to-web-component-w5r1Fs9q.js";
|
|
5
|
+
import { _ as G3, a as vs, b as da, i as Dp, s as K3, c as Te, d as Xy, f as X3, r as Qy, n as Wn, t as gk, e as Q3, g as mk, h as ln, j as kp, k as vk, p as Yo, m as JS, l as eC, o as Qh, q as xh, u as tC, v as Z3, T as yk, w as J3, x as eU, y as tU, z as bk, A as kr, D as nU, B as Pp, C as rU, E as wk, F as iU, G as Cf, H as Ap, I as nC, J as $u, K as Sl, L as rC, M as sU, N as Fu, O as Qf, P as ur, Q as oU, R as xk, S as Sk, U as Xr, V as aU, W as lU, X as Ck, Y as Tk, Z as _g, $ as Nb, a0 as qc, a1 as uU, a2 as iC, a3 as cU, a4 as Sh, a5 as fU, a6 as Rp, a7 as dU, a8 as hU, a9 as Dn, aa as pU, ab as gU, ac as mU, ad as _k, ae as Ek, af as Ok } from "./index-UUkm_4Gc.js";
|
|
6
6
|
import { c as Gs } from "./clsx-DB4S2d7J.js";
|
|
7
|
-
import { S as $b } from "./index-
|
|
8
|
-
import { B as Fb } from "./react-toastify.esm-
|
|
7
|
+
import { S as $b } from "./index-DqxmsDJs.js";
|
|
8
|
+
import { B as Fb } from "./react-toastify.esm-H_Xdunfj.js";
|
|
9
9
|
import "./toast-config/index.js";
|
|
10
10
|
import "./toast-config-notification/index.js";
|
|
11
11
|
function vU(e, t) {
|
|
@@ -1981,22 +1981,22 @@ nn.getAdapter = rP.getAdapter;
|
|
|
1981
1981
|
nn.HttpStatusCode = n0;
|
|
1982
1982
|
nn.default = nn;
|
|
1983
1983
|
const {
|
|
1984
|
-
Axios:
|
|
1985
|
-
AxiosError:
|
|
1986
|
-
CanceledError:
|
|
1987
|
-
isCancel:
|
|
1988
|
-
CancelToken:
|
|
1989
|
-
VERSION:
|
|
1990
|
-
all:
|
|
1991
|
-
Cancel:
|
|
1992
|
-
isAxiosError:
|
|
1993
|
-
spread:
|
|
1994
|
-
toFormData:
|
|
1995
|
-
AxiosHeaders:
|
|
1996
|
-
HttpStatusCode:
|
|
1997
|
-
formToJSON:
|
|
1998
|
-
getAdapter:
|
|
1999
|
-
mergeConfig:
|
|
1984
|
+
Axios: fpe,
|
|
1985
|
+
AxiosError: dpe,
|
|
1986
|
+
CanceledError: hpe,
|
|
1987
|
+
isCancel: ppe,
|
|
1988
|
+
CancelToken: gpe,
|
|
1989
|
+
VERSION: mpe,
|
|
1990
|
+
all: vpe,
|
|
1991
|
+
Cancel: ype,
|
|
1992
|
+
isAxiosError: bpe,
|
|
1993
|
+
spread: wpe,
|
|
1994
|
+
toFormData: xpe,
|
|
1995
|
+
AxiosHeaders: Spe,
|
|
1996
|
+
HttpStatusCode: Cpe,
|
|
1997
|
+
formToJSON: Tpe,
|
|
1998
|
+
getAdapter: _pe,
|
|
1999
|
+
mergeConfig: Epe
|
|
2000
2000
|
} = nn;
|
|
2001
2001
|
function Ei(e) {
|
|
2002
2002
|
"@babel/helpers - typeof";
|
|
@@ -2633,10 +2633,10 @@ var RC = {}, MC = function(e) {
|
|
|
2633
2633
|
return u ? (_.res = ae, _) : ae;
|
|
2634
2634
|
}
|
|
2635
2635
|
if (f) {
|
|
2636
|
-
var
|
|
2636
|
+
var ue = N === "[object Array]", ge = ue ? [] : {}, le = ue ? B : D;
|
|
2637
2637
|
for (var re in P)
|
|
2638
2638
|
if (Object.prototype.hasOwnProperty.call(P, re)) {
|
|
2639
|
-
var U = "".concat(
|
|
2639
|
+
var U = "".concat(le).concat(f).concat(re);
|
|
2640
2640
|
ge[re] = this.translate(U, Un(Un({}, s), {
|
|
2641
2641
|
joinArrays: !1,
|
|
2642
2642
|
ns: v
|
|
@@ -2652,10 +2652,10 @@ var RC = {}, MC = function(e) {
|
|
|
2652
2652
|
var Oe = s.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey, De = Oe && te ? void 0 : P, _e = fe && Se !== P && this.options.updateMissing;
|
|
2653
2653
|
if (te || Q || _e) {
|
|
2654
2654
|
if (this.logger.log(_e ? "updateKey" : "missingKey", S, y, p, _e ? Se : P), f) {
|
|
2655
|
-
var
|
|
2655
|
+
var Fe = this.resolve(p, Un(Un({}, s), {}, {
|
|
2656
2656
|
keySeparator: !1
|
|
2657
2657
|
}));
|
|
2658
|
-
|
|
2658
|
+
Fe && Fe.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
|
|
2659
2659
|
}
|
|
2660
2660
|
var Ze = [], _t = this.languageUtils.getFallbackCodes(this.options.fallbackLng, s.lng || this.language);
|
|
2661
2661
|
if (this.options.saveMissingTo === "fallback" && _t && _t[0])
|
|
@@ -4759,29 +4759,29 @@ function A4() {
|
|
|
4759
4759
|
} else
|
|
4760
4760
|
(function() {
|
|
4761
4761
|
_ = [];
|
|
4762
|
-
var
|
|
4763
|
-
F = re ? N([],
|
|
4762
|
+
var le = typeof t.options.getNextPageParam > "u", re = u && y[0] ? u(y[0], 0, y) : !0;
|
|
4763
|
+
F = re ? N([], le, S[0]) : Promise.resolve(B([], S[0], y[0]));
|
|
4764
4764
|
for (var U = function(ne) {
|
|
4765
4765
|
F = F.then(function(fe) {
|
|
4766
4766
|
var pe = u && y[ne] ? u(y[ne], ne, y) : !0;
|
|
4767
4767
|
if (pe) {
|
|
4768
|
-
var Se =
|
|
4769
|
-
return N(fe,
|
|
4768
|
+
var Se = le ? S[ne] : WC(t.options, fe);
|
|
4769
|
+
return N(fe, le, Se);
|
|
4770
4770
|
}
|
|
4771
4771
|
return Promise.resolve(B(fe, S[ne], y[ne]));
|
|
4772
4772
|
});
|
|
4773
4773
|
}, Q = 1; Q < y.length; Q++)
|
|
4774
4774
|
U(Q);
|
|
4775
4775
|
})();
|
|
4776
|
-
var
|
|
4776
|
+
var ue = F.then(function(le) {
|
|
4777
4777
|
return {
|
|
4778
|
-
pages:
|
|
4778
|
+
pages: le,
|
|
4779
4779
|
pageParams: _
|
|
4780
4780
|
};
|
|
4781
|
-
}), ge =
|
|
4781
|
+
}), ge = ue;
|
|
4782
4782
|
return ge.cancel = function() {
|
|
4783
4783
|
P = !0, w == null || w.abort(), Np(F) && F.cancel();
|
|
4784
|
-
},
|
|
4784
|
+
}, ue;
|
|
4785
4785
|
};
|
|
4786
4786
|
}
|
|
4787
4787
|
};
|
|
@@ -5090,7 +5090,7 @@ var M4 = /* @__PURE__ */ function() {
|
|
|
5090
5090
|
typeof ae < "u" && (D = "success", F = ae, N = !0);
|
|
5091
5091
|
}
|
|
5092
5092
|
this.selectError && (E = this.selectError, F = this.selectResult, _ = Date.now(), D = "error");
|
|
5093
|
-
var
|
|
5093
|
+
var ue = {
|
|
5094
5094
|
status: D,
|
|
5095
5095
|
isLoading: D === "loading",
|
|
5096
5096
|
isSuccess: D === "success",
|
|
@@ -5114,7 +5114,7 @@ var M4 = /* @__PURE__ */ function() {
|
|
|
5114
5114
|
refetch: this.refetch,
|
|
5115
5115
|
remove: this.remove
|
|
5116
5116
|
};
|
|
5117
|
-
return
|
|
5117
|
+
return ue;
|
|
5118
5118
|
}, n.shouldNotifyListeners = function(i, s) {
|
|
5119
5119
|
if (!s)
|
|
5120
5120
|
return !0;
|
|
@@ -5178,26 +5178,26 @@ function YC(e, t, n, r) {
|
|
|
5178
5178
|
function Yb(e, t) {
|
|
5179
5179
|
return e.isStaleByTime(t.staleTime);
|
|
5180
5180
|
}
|
|
5181
|
-
var qC = /* @__PURE__ */
|
|
5181
|
+
var qC = /* @__PURE__ */ je.createContext(void 0), dP = /* @__PURE__ */ je.createContext(!1);
|
|
5182
5182
|
function hP(e) {
|
|
5183
5183
|
return e && typeof window < "u" ? (window.ReactQueryClientContext || (window.ReactQueryClientContext = qC), window.ReactQueryClientContext) : qC;
|
|
5184
5184
|
}
|
|
5185
5185
|
var qb = function() {
|
|
5186
|
-
var t =
|
|
5186
|
+
var t = je.useContext(hP(je.useContext(dP)));
|
|
5187
5187
|
if (!t)
|
|
5188
5188
|
throw new Error("No QueryClient set, use QueryClientProvider to set one");
|
|
5189
5189
|
return t;
|
|
5190
5190
|
}, N4 = function(t) {
|
|
5191
5191
|
var n = t.client, r = t.contextSharing, i = r === void 0 ? !1 : r, s = t.children;
|
|
5192
|
-
|
|
5192
|
+
je.useEffect(function() {
|
|
5193
5193
|
return n.mount(), function() {
|
|
5194
5194
|
n.unmount();
|
|
5195
5195
|
};
|
|
5196
5196
|
}, [n]);
|
|
5197
5197
|
var o = hP(i);
|
|
5198
|
-
return /* @__PURE__ */
|
|
5198
|
+
return /* @__PURE__ */ je.createElement(dP.Provider, {
|
|
5199
5199
|
value: i
|
|
5200
|
-
}, /* @__PURE__ */
|
|
5200
|
+
}, /* @__PURE__ */ je.createElement(o.Provider, {
|
|
5201
5201
|
value: n
|
|
5202
5202
|
}, s));
|
|
5203
5203
|
};
|
|
@@ -5215,19 +5215,19 @@ function $4() {
|
|
|
5215
5215
|
}
|
|
5216
5216
|
};
|
|
5217
5217
|
}
|
|
5218
|
-
var F4 = /* @__PURE__ */
|
|
5219
|
-
return
|
|
5218
|
+
var F4 = /* @__PURE__ */ je.createContext($4()), j4 = function() {
|
|
5219
|
+
return je.useContext(F4);
|
|
5220
5220
|
};
|
|
5221
5221
|
function B4(e, t, n) {
|
|
5222
5222
|
return typeof t == "function" ? t.apply(void 0, n) : typeof t == "boolean" ? t : !!e;
|
|
5223
5223
|
}
|
|
5224
5224
|
function V4(e, t) {
|
|
5225
|
-
var n =
|
|
5225
|
+
var n = je.useRef(!1), r = je.useState(0), i = r[1], s = qb(), o = j4(), a = s.defaultQueryObserverOptions(e);
|
|
5226
5226
|
a.optimisticResults = !0, a.onError && (a.onError = ln.batchCalls(a.onError)), a.onSuccess && (a.onSuccess = ln.batchCalls(a.onSuccess)), a.onSettled && (a.onSettled = ln.batchCalls(a.onSettled)), a.suspense && (typeof a.staleTime != "number" && (a.staleTime = 1e3), a.cacheTime === 0 && (a.cacheTime = 1)), (a.suspense || a.useErrorBoundary) && (o.isReset() || (a.retryOnMount = !1));
|
|
5227
|
-
var u =
|
|
5227
|
+
var u = je.useState(function() {
|
|
5228
5228
|
return new t(s, a);
|
|
5229
5229
|
}), f = u[0], d = f.getOptimisticResult(a);
|
|
5230
|
-
if (
|
|
5230
|
+
if (je.useEffect(function() {
|
|
5231
5231
|
n.current = !0, o.clearReset();
|
|
5232
5232
|
var p = f.subscribe(ln.batchCalls(function() {
|
|
5233
5233
|
n.current && i(function(v) {
|
|
@@ -5237,7 +5237,7 @@ function V4(e, t) {
|
|
|
5237
5237
|
return f.updateResult(), function() {
|
|
5238
5238
|
n.current = !1, p();
|
|
5239
5239
|
};
|
|
5240
|
-
}, [o, f]),
|
|
5240
|
+
}, [o, f]), je.useEffect(function() {
|
|
5241
5241
|
f.setOptions(a, {
|
|
5242
5242
|
listeners: !1
|
|
5243
5243
|
});
|
|
@@ -5592,12 +5592,12 @@ var lW = function(t) {
|
|
|
5592
5592
|
var a = kr(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
|
|
5593
5593
|
return (
|
|
5594
5594
|
// allows for nested Transitions
|
|
5595
|
-
/* @__PURE__ */
|
|
5595
|
+
/* @__PURE__ */ je.createElement(wk.Provider, {
|
|
5596
5596
|
value: null
|
|
5597
|
-
}, typeof o == "function" ? o(i, a) :
|
|
5597
|
+
}, typeof o == "function" ? o(i, a) : je.cloneElement(je.Children.only(o), a))
|
|
5598
5598
|
);
|
|
5599
5599
|
}, t;
|
|
5600
|
-
}(
|
|
5600
|
+
}(je.Component);
|
|
5601
5601
|
mo.contextType = wk;
|
|
5602
5602
|
mo.propTypes = {};
|
|
5603
5603
|
function Ql() {
|
|
@@ -5942,7 +5942,7 @@ function eT(e) {
|
|
|
5942
5942
|
y -= ae - r.width, y *= u ? 1 : -1;
|
|
5943
5943
|
}
|
|
5944
5944
|
}
|
|
5945
|
-
var
|
|
5945
|
+
var ue = Object.assign({
|
|
5946
5946
|
position: a
|
|
5947
5947
|
}, f && $W), ge = d === !0 ? FW({
|
|
5948
5948
|
x: y,
|
|
@@ -5952,10 +5952,10 @@ function eT(e) {
|
|
|
5952
5952
|
y: w
|
|
5953
5953
|
};
|
|
5954
5954
|
if (y = ge.x, w = ge.y, u) {
|
|
5955
|
-
var
|
|
5956
|
-
return Object.assign({},
|
|
5955
|
+
var le;
|
|
5956
|
+
return Object.assign({}, ue, (le = {}, le[B] = P ? "0" : "", le[D] = _ ? "0" : "", le.transform = (N.devicePixelRatio || 1) <= 1 ? "translate(" + y + "px, " + w + "px)" : "translate3d(" + y + "px, " + w + "px, 0)", le));
|
|
5957
5957
|
}
|
|
5958
|
-
return Object.assign({},
|
|
5958
|
+
return Object.assign({}, ue, (t = {}, t[B] = P ? w + "px" : "", t[D] = _ ? y + "px" : "", t.transform = "", t));
|
|
5959
5959
|
}
|
|
5960
5960
|
function jW(e) {
|
|
5961
5961
|
var t = e.state, n = e.options, r = n.gpuAcceleration, i = r === void 0 ? !0 : r, s = n.adaptive, o = s === void 0 ? !0 : s, a = n.roundOffsets, u = a === void 0 ? !0 : a, f = {
|
|
@@ -6164,12 +6164,12 @@ function Ef(e, t) {
|
|
|
6164
6164
|
bottom: z.bottom - N.bottom + _.bottom,
|
|
6165
6165
|
left: N.left - z.left + _.left,
|
|
6166
6166
|
right: z.right - N.right + _.right
|
|
6167
|
-
},
|
|
6168
|
-
if (v === Lc &&
|
|
6169
|
-
var ge =
|
|
6170
|
-
Object.keys(ae).forEach(function(
|
|
6171
|
-
var re = [ki, Di].indexOf(
|
|
6172
|
-
ae[
|
|
6167
|
+
}, ue = e.modifiersData.offset;
|
|
6168
|
+
if (v === Lc && ue) {
|
|
6169
|
+
var ge = ue[i];
|
|
6170
|
+
Object.keys(ae).forEach(function(le) {
|
|
6171
|
+
var re = [ki, Di].indexOf(le) >= 0 ? 1 : -1, U = [Er, Di].indexOf(le) >= 0 ? "y" : "x";
|
|
6172
|
+
ae[le] += ge[U] * re;
|
|
6173
6173
|
});
|
|
6174
6174
|
}
|
|
6175
6175
|
return ae;
|
|
@@ -6203,39 +6203,39 @@ function QW(e) {
|
|
|
6203
6203
|
function ZW(e) {
|
|
6204
6204
|
var t = e.state, n = e.options, r = e.name;
|
|
6205
6205
|
if (!t.modifiersData[r]._skip) {
|
|
6206
|
-
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, u = n.fallbackPlacements, f = n.padding, d = n.boundary, p = n.rootBoundary, v = n.altBoundary, y = n.flipVariations, S = y === void 0 ? !0 : y, w = n.allowedAutoPlacements, E = t.options.placement, _ = ys(E), P = _ === E, D = u || (P || !S ? [np(E)] : QW(E)), B = [E].concat(D).reduce(function(_e,
|
|
6207
|
-
return _e.concat(ys(
|
|
6208
|
-
placement:
|
|
6206
|
+
for (var i = n.mainAxis, s = i === void 0 ? !0 : i, o = n.altAxis, a = o === void 0 ? !0 : o, u = n.fallbackPlacements, f = n.padding, d = n.boundary, p = n.rootBoundary, v = n.altBoundary, y = n.flipVariations, S = y === void 0 ? !0 : y, w = n.allowedAutoPlacements, E = t.options.placement, _ = ys(E), P = _ === E, D = u || (P || !S ? [np(E)] : QW(E)), B = [E].concat(D).reduce(function(_e, Fe) {
|
|
6207
|
+
return _e.concat(ys(Fe) === Qb ? XW(t, {
|
|
6208
|
+
placement: Fe,
|
|
6209
6209
|
boundary: d,
|
|
6210
6210
|
rootBoundary: p,
|
|
6211
6211
|
padding: f,
|
|
6212
6212
|
flipVariations: S,
|
|
6213
6213
|
allowedAutoPlacements: w
|
|
6214
|
-
}) :
|
|
6214
|
+
}) : Fe);
|
|
6215
6215
|
}, []), N = t.rects.reference, F = t.rects.popper, b = /* @__PURE__ */ new Map(), q = !0, z = B[0], ae = 0; ae < B.length; ae++) {
|
|
6216
|
-
var
|
|
6217
|
-
placement:
|
|
6216
|
+
var ue = B[ae], ge = ys(ue), le = Du(ue) === _u, re = [Er, Di].indexOf(ge) >= 0, U = re ? "width" : "height", Q = Ef(t, {
|
|
6217
|
+
placement: ue,
|
|
6218
6218
|
boundary: d,
|
|
6219
6219
|
rootBoundary: p,
|
|
6220
6220
|
altBoundary: v,
|
|
6221
6221
|
padding: f
|
|
6222
|
-
}), te = re ?
|
|
6222
|
+
}), te = re ? le ? ki : Or : le ? Di : Er;
|
|
6223
6223
|
N[U] > F[U] && (te = np(te));
|
|
6224
6224
|
var ne = np(te), fe = [];
|
|
6225
6225
|
if (s && fe.push(Q[ge] <= 0), a && fe.push(Q[te] <= 0, Q[ne] <= 0), fe.every(function(_e) {
|
|
6226
6226
|
return _e;
|
|
6227
6227
|
})) {
|
|
6228
|
-
z =
|
|
6228
|
+
z = ue, q = !1;
|
|
6229
6229
|
break;
|
|
6230
6230
|
}
|
|
6231
|
-
b.set(
|
|
6231
|
+
b.set(ue, fe);
|
|
6232
6232
|
}
|
|
6233
6233
|
if (q)
|
|
6234
|
-
for (var pe = S ? 3 : 1, Se = function(
|
|
6234
|
+
for (var pe = S ? 3 : 1, Se = function(Fe) {
|
|
6235
6235
|
var Ze = B.find(function(_t) {
|
|
6236
6236
|
var rt = b.get(_t);
|
|
6237
6237
|
if (rt)
|
|
6238
|
-
return rt.slice(0,
|
|
6238
|
+
return rt.slice(0, Fe).every(function(mt) {
|
|
6239
6239
|
return mt;
|
|
6240
6240
|
});
|
|
6241
6241
|
});
|
|
@@ -6355,20 +6355,20 @@ function l6(e) {
|
|
|
6355
6355
|
} : Object.assign({
|
|
6356
6356
|
mainAxis: 0,
|
|
6357
6357
|
altAxis: 0
|
|
6358
|
-
}, z),
|
|
6358
|
+
}, z), ue = t.modifiersData.offset ? t.modifiersData.offset[t.placement] : null, ge = {
|
|
6359
6359
|
x: 0,
|
|
6360
6360
|
y: 0
|
|
6361
6361
|
};
|
|
6362
6362
|
if (F) {
|
|
6363
6363
|
if (s) {
|
|
6364
|
-
var
|
|
6364
|
+
var le, re = B === "y" ? Er : Or, U = B === "y" ? Di : ki, Q = B === "y" ? "height" : "width", te = F[B], ne = te + E[re], fe = te - E[U], pe = y ? -q[Q] / 2 : 0, Se = P === _u ? b[Q] : q[Q], Oe = P === _u ? -q[Q] : -b[Q], De = t.elements.arrow, _e = y && De ? Jb(De) : {
|
|
6365
6365
|
width: 0,
|
|
6366
6366
|
height: 0
|
|
6367
|
-
},
|
|
6367
|
+
}, Fe = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : kP(), Ze = Fe[re], _t = Fe[U], rt = af(0, b[Q], _e[Q]), mt = D ? b[Q] / 2 - pe - rt - Ze - ae.mainAxis : Se - rt - Ze - ae.mainAxis, St = D ? -b[Q] / 2 + pe + rt + _t + ae.mainAxis : Oe + rt + _t + ae.mainAxis, $e = t.elements.arrow && id(t.elements.arrow), vt = $e ? B === "y" ? $e.clientTop || 0 : $e.clientLeft || 0 : 0, Wt = (le = ue == null ? void 0 : ue[B]) != null ? le : 0, kt = te + mt - Wt - vt, zt = te + St - Wt, dr = af(y ? $p(ne, kt) : ne, te, y ? ll(fe, zt) : fe);
|
|
6368
6368
|
F[B] = dr, ge[B] = dr - te;
|
|
6369
6369
|
}
|
|
6370
6370
|
if (a) {
|
|
6371
|
-
var gn, cn = B === "x" ? Er : Or, wo = B === "x" ? Di : ki, mn = F[N], fn = N === "y" ? "height" : "width", Yt = mn + E[cn], kn = mn - E[wo], hr = [Er, Or].indexOf(_) !== -1, Me = (gn =
|
|
6371
|
+
var gn, cn = B === "x" ? Er : Or, wo = B === "x" ? Di : ki, mn = F[N], fn = N === "y" ? "height" : "width", Yt = mn + E[cn], kn = mn - E[wo], hr = [Er, Or].indexOf(_) !== -1, Me = (gn = ue == null ? void 0 : ue[N]) != null ? gn : 0, qt = hr ? Yt : mn - b[fn] - q[fn] - Me + ae.altAxis, Pr = hr ? mn + b[fn] + q[fn] - Me - ae.altAxis : kn, Ar = y && hr ? RW(qt, mn, Pr) : af(y ? qt : Yt, mn, y ? Pr : kn);
|
|
6372
6372
|
F[N] = Ar, ge[N] = Ar - mn;
|
|
6373
6373
|
}
|
|
6374
6374
|
t.modifiersData[r] = ge;
|
|
@@ -6701,12 +6701,12 @@ const D6 = (e) => {
|
|
|
6701
6701
|
te.destroy(), N.current(null);
|
|
6702
6702
|
};
|
|
6703
6703
|
}, [z, a, u, f, p, F]);
|
|
6704
|
-
const
|
|
6704
|
+
const ue = {
|
|
6705
6705
|
placement: b
|
|
6706
6706
|
};
|
|
6707
|
-
w !== null && (
|
|
6708
|
-
const ge = D6(t),
|
|
6709
|
-
elementType:
|
|
6707
|
+
w !== null && (ue.TransitionProps = w);
|
|
6708
|
+
const ge = D6(t), le = (r = S.root) != null ? r : "div", re = sU({
|
|
6709
|
+
elementType: le,
|
|
6710
6710
|
externalSlotProps: y.root,
|
|
6711
6711
|
externalForwardedProps: E,
|
|
6712
6712
|
additionalProps: {
|
|
@@ -6716,8 +6716,8 @@ const D6 = (e) => {
|
|
|
6716
6716
|
ownerState: t,
|
|
6717
6717
|
className: ge.root
|
|
6718
6718
|
});
|
|
6719
|
-
return /* @__PURE__ */ I.jsx(
|
|
6720
|
-
children: typeof s == "function" ? s(
|
|
6719
|
+
return /* @__PURE__ */ I.jsx(le, Te({}, re, {
|
|
6720
|
+
children: typeof s == "function" ? s(ue) : s
|
|
6721
6721
|
}));
|
|
6722
6722
|
}), A6 = /* @__PURE__ */ M.forwardRef(function(t, n) {
|
|
6723
6723
|
const {
|
|
@@ -6905,10 +6905,10 @@ const B6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
6905
6905
|
default: !!a,
|
|
6906
6906
|
name: "SwitchBase",
|
|
6907
6907
|
state: "checked"
|
|
6908
|
-
}),
|
|
6909
|
-
P && P(fe),
|
|
6910
|
-
},
|
|
6911
|
-
E && E(fe),
|
|
6908
|
+
}), ue = L6(), ge = (fe) => {
|
|
6909
|
+
P && P(fe), ue && ue.onFocus && ue.onFocus(fe);
|
|
6910
|
+
}, le = (fe) => {
|
|
6911
|
+
E && E(fe), ue && ue.onBlur && ue.onBlur(fe);
|
|
6912
6912
|
}, re = (fe) => {
|
|
6913
6913
|
if (fe.nativeEvent.defaultPrevented)
|
|
6914
6914
|
return;
|
|
@@ -6916,7 +6916,7 @@ const B6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
6916
6916
|
ae(pe), _ && _(fe, pe);
|
|
6917
6917
|
};
|
|
6918
6918
|
let U = u;
|
|
6919
|
-
|
|
6919
|
+
ue && typeof U > "u" && (U = ue.disabled);
|
|
6920
6920
|
const Q = F === "checkbox" || F === "radio", te = Te({}, t, {
|
|
6921
6921
|
checked: z,
|
|
6922
6922
|
disabled: U,
|
|
@@ -6932,7 +6932,7 @@ const B6 = ["autoFocus", "checked", "checkedIcon", "className", "defaultChecked"
|
|
|
6932
6932
|
tabIndex: null,
|
|
6933
6933
|
role: void 0,
|
|
6934
6934
|
onFocus: ge,
|
|
6935
|
-
onBlur:
|
|
6935
|
+
onBlur: le,
|
|
6936
6936
|
ownerState: te,
|
|
6937
6937
|
ref: n
|
|
6938
6938
|
}, q, {
|
|
@@ -7474,7 +7474,7 @@ const pz = {
|
|
|
7474
7474
|
delay: ne,
|
|
7475
7475
|
easing: fe
|
|
7476
7476
|
})].join(","), u && u(U, Q);
|
|
7477
|
-
}), ae = b(f),
|
|
7477
|
+
}), ae = b(f), ue = b(y), ge = b((U) => {
|
|
7478
7478
|
const {
|
|
7479
7479
|
duration: Q,
|
|
7480
7480
|
delay: te,
|
|
@@ -7495,7 +7495,7 @@ const pz = {
|
|
|
7495
7495
|
delay: Fv ? te : te || fe * 0.333,
|
|
7496
7496
|
easing: ne
|
|
7497
7497
|
})].join(","), U.style.opacity = 0, U.style.transform = l0(0.75), p && p(U);
|
|
7498
|
-
}),
|
|
7498
|
+
}), le = b(v), re = (U) => {
|
|
7499
7499
|
w === "auto" && P.start(D.current || 0, U), r && r(N.current, U);
|
|
7500
7500
|
};
|
|
7501
7501
|
return /* @__PURE__ */ I.jsx(E, Te({
|
|
@@ -7506,8 +7506,8 @@ const pz = {
|
|
|
7506
7506
|
onEntered: ae,
|
|
7507
7507
|
onEntering: q,
|
|
7508
7508
|
onExit: ge,
|
|
7509
|
-
onExited:
|
|
7510
|
-
onExiting:
|
|
7509
|
+
onExited: le,
|
|
7510
|
+
onExiting: ue,
|
|
7511
7511
|
addEndListener: re,
|
|
7512
7512
|
timeout: w === "auto" ? null : w
|
|
7513
7513
|
}, _, {
|
|
@@ -7713,9 +7713,9 @@ const Df = /* @__PURE__ */ M.forwardRef(function(t, n) {
|
|
|
7713
7713
|
children: q,
|
|
7714
7714
|
components: z = {},
|
|
7715
7715
|
componentsProps: ae = {},
|
|
7716
|
-
describeChild:
|
|
7716
|
+
describeChild: ue = !1,
|
|
7717
7717
|
disableFocusListener: ge = !1,
|
|
7718
|
-
disableHoverListener:
|
|
7718
|
+
disableHoverListener: le = !1,
|
|
7719
7719
|
disableInteractive: re = !1,
|
|
7720
7720
|
disableTouchListener: U = !1,
|
|
7721
7721
|
enterDelay: Q = 100,
|
|
@@ -7727,7 +7727,7 @@ const Df = /* @__PURE__ */ M.forwardRef(function(t, n) {
|
|
|
7727
7727
|
leaveTouchDelay: Oe = 1500,
|
|
7728
7728
|
onClose: De,
|
|
7729
7729
|
onOpen: _e,
|
|
7730
|
-
open:
|
|
7730
|
+
open: Fe,
|
|
7731
7731
|
placement: Ze = "bottom",
|
|
7732
7732
|
PopperComponent: _t,
|
|
7733
7733
|
PopperProps: rt = {},
|
|
@@ -7739,7 +7739,7 @@ const Df = /* @__PURE__ */ M.forwardRef(function(t, n) {
|
|
|
7739
7739
|
} = F, kt = kr(F, mz), zt = /* @__PURE__ */ M.isValidElement(q) ? q : /* @__PURE__ */ I.jsx("span", {
|
|
7740
7740
|
children: q
|
|
7741
7741
|
}), dr = Kb(), gn = iW(), [cn, wo] = M.useState(), [mn, fn] = M.useState(null), Yt = M.useRef(!1), kn = re || fe, hr = qc(), Me = qc(), qt = qc(), Pr = qc(), [Ar, xo] = Sk({
|
|
7742
|
-
controlled:
|
|
7742
|
+
controlled: Fe,
|
|
7743
7743
|
default: !1,
|
|
7744
7744
|
name: "Tooltip",
|
|
7745
7745
|
state: "open"
|
|
@@ -7811,7 +7811,7 @@ const Df = /* @__PURE__ */ M.forwardRef(function(t, n) {
|
|
|
7811
7811
|
y: it.clientY
|
|
7812
7812
|
}, Co.current && Co.current.update();
|
|
7813
7813
|
}, Fn = {}, si = typeof $e == "string";
|
|
7814
|
-
|
|
7814
|
+
ue ? (Fn.title = !$n && si && !le ? $e : null, Fn["aria-describedby"] = $n ? Ki : null) : (Fn["aria-label"] = si ? $e : null, Fn["aria-labelledby"] = $n && !si ? Ki : null);
|
|
7815
7815
|
const vn = Te({}, Fn, kt, zt.props, {
|
|
7816
7816
|
className: Gs(kt.className, zt.props.className),
|
|
7817
7817
|
onTouchStart: Pn,
|
|
@@ -7819,7 +7819,7 @@ const Df = /* @__PURE__ */ M.forwardRef(function(t, n) {
|
|
|
7819
7819
|
}, fe ? {
|
|
7820
7820
|
onMouseMove: Dl
|
|
7821
7821
|
} : {}), oi = {};
|
|
7822
|
-
U || (vn.onTouchStart = _n, vn.onTouchEnd = So),
|
|
7822
|
+
U || (vn.onTouchStart = _n, vn.onTouchEnd = So), le || (vn.onMouseOver = Oh(Xi, vn.onMouseOver), vn.onMouseLeave = Oh(ii, vn.onMouseLeave), kn || (oi.onMouseOver = Xi, oi.onMouseLeave = ii)), ge || (vn.onFocus = Oh(wa, vn.onFocus), vn.onBlur = Oh(ba, vn.onBlur), kn || (oi.onFocus = wa, oi.onBlur = ba));
|
|
7823
7823
|
const Qu = M.useMemo(() => {
|
|
7824
7824
|
var it;
|
|
7825
7825
|
let dn = [{
|
|
@@ -8881,7 +8881,7 @@ function u8() {
|
|
|
8881
8881
|
}
|
|
8882
8882
|
}), Q;
|
|
8883
8883
|
}
|
|
8884
|
-
function
|
|
8884
|
+
function ue(U) {
|
|
8885
8885
|
var Q = new w(), te = U.replace(/\r?\n[\t ]+/g, " ");
|
|
8886
8886
|
return te.split("\r").map(function(ne) {
|
|
8887
8887
|
return ne.indexOf(`
|
|
@@ -8911,9 +8911,9 @@ function u8() {
|
|
|
8911
8911
|
var U = new ge(null, { status: 0, statusText: "" });
|
|
8912
8912
|
return U.type = "error", U;
|
|
8913
8913
|
};
|
|
8914
|
-
var
|
|
8914
|
+
var le = [301, 302, 303, 307, 308];
|
|
8915
8915
|
ge.redirect = function(U, Q) {
|
|
8916
|
-
if (
|
|
8916
|
+
if (le.indexOf(Q) === -1)
|
|
8917
8917
|
throw new RangeError("Invalid status code");
|
|
8918
8918
|
return new ge(null, { status: Q, headers: { location: U } });
|
|
8919
8919
|
}, o.DOMException = a.DOMException;
|
|
@@ -8939,7 +8939,7 @@ function u8() {
|
|
|
8939
8939
|
var De = {
|
|
8940
8940
|
status: pe.status,
|
|
8941
8941
|
statusText: pe.statusText,
|
|
8942
|
-
headers:
|
|
8942
|
+
headers: ue(pe.getAllResponseHeaders() || "")
|
|
8943
8943
|
};
|
|
8944
8944
|
De.url = "responseURL" in pe ? pe.responseURL : De.headers.get("X-Request-URL");
|
|
8945
8945
|
var _e = "response" in pe ? pe.response : pe.responseText;
|
|
@@ -9422,7 +9422,7 @@ var QP = {
|
|
|
9422
9422
|
className: void 0,
|
|
9423
9423
|
style: void 0,
|
|
9424
9424
|
attr: void 0
|
|
9425
|
-
}, DT =
|
|
9425
|
+
}, DT = je.createContext && /* @__PURE__ */ je.createContext(QP), _8 = ["attr", "size", "title"];
|
|
9426
9426
|
function E8(e, t) {
|
|
9427
9427
|
if (e == null)
|
|
9428
9428
|
return {};
|
|
@@ -9497,12 +9497,12 @@ function P8(e, t) {
|
|
|
9497
9497
|
return (t === "string" ? String : Number)(e);
|
|
9498
9498
|
}
|
|
9499
9499
|
function ZP(e) {
|
|
9500
|
-
return e && e.map((t, n) => /* @__PURE__ */
|
|
9500
|
+
return e && e.map((t, n) => /* @__PURE__ */ je.createElement(t.tag, Vp({
|
|
9501
9501
|
key: n
|
|
9502
9502
|
}, t.attr), ZP(t.child)));
|
|
9503
9503
|
}
|
|
9504
9504
|
function Ig(e) {
|
|
9505
|
-
return (t) => /* @__PURE__ */
|
|
9505
|
+
return (t) => /* @__PURE__ */ je.createElement(A8, Bp({
|
|
9506
9506
|
attr: Vp({}, e.attr)
|
|
9507
9507
|
}, t), ZP(e.child));
|
|
9508
9508
|
}
|
|
@@ -9513,7 +9513,7 @@ function A8(e) {
|
|
|
9513
9513
|
size: i,
|
|
9514
9514
|
title: s
|
|
9515
9515
|
} = e, o = E8(e, _8), a = i || n.size || "1em", u;
|
|
9516
|
-
return n.className && (u = n.className), e.className && (u = (u ? u + " " : "") + e.className), /* @__PURE__ */
|
|
9516
|
+
return n.className && (u = n.className), e.className && (u = (u ? u + " " : "") + e.className), /* @__PURE__ */ je.createElement("svg", Bp({
|
|
9517
9517
|
stroke: "currentColor",
|
|
9518
9518
|
fill: "currentColor",
|
|
9519
9519
|
strokeWidth: "0"
|
|
@@ -9525,9 +9525,9 @@ function A8(e) {
|
|
|
9525
9525
|
height: a,
|
|
9526
9526
|
width: a,
|
|
9527
9527
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9528
|
-
}), s && /* @__PURE__ */
|
|
9528
|
+
}), s && /* @__PURE__ */ je.createElement("title", null, s), e.children);
|
|
9529
9529
|
};
|
|
9530
|
-
return DT !== void 0 ? /* @__PURE__ */
|
|
9530
|
+
return DT !== void 0 ? /* @__PURE__ */ je.createElement(DT.Consumer, null, (n) => t(n)) : t(QP);
|
|
9531
9531
|
}
|
|
9532
9532
|
function R8(e) {
|
|
9533
9533
|
return Ig({ attr: { viewBox: "0 0 1024 1024" }, child: [{ tag: "path", attr: { d: "M689 165.1L308.2 493.5c-10.9 9.4-10.9 27.5 0 37L689 858.9c14.2 12.2 35 1.2 35-18.5V183.6c0-19.7-20.8-30.7-35-18.5z" }, child: [] }] })(e);
|
|
@@ -12724,7 +12724,7 @@ ke.HTML5_FMT = {
|
|
|
12724
12724
|
const F7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12725
12725
|
__proto__: null,
|
|
12726
12726
|
default: ke
|
|
12727
|
-
}, Symbol.toStringTag, { value: "Module" })), j7 =
|
|
12727
|
+
}, Symbol.toStringTag, { value: "Module" })), j7 = je.memo(
|
|
12728
12728
|
({
|
|
12729
12729
|
notification: e,
|
|
12730
12730
|
notiPath: t,
|
|
@@ -13168,11 +13168,11 @@ function J7(e) {
|
|
|
13168
13168
|
if (N.hasOwnProperty(E))
|
|
13169
13169
|
F = N[E];
|
|
13170
13170
|
else {
|
|
13171
|
-
var b = n(w.props, E, w._instanceProps), q = i(w.props, E, w._instanceProps), z = P === "horizontal" || B === "horizontal", ae = P === "rtl",
|
|
13171
|
+
var b = n(w.props, E, w._instanceProps), q = i(w.props, E, w._instanceProps), z = P === "horizontal" || B === "horizontal", ae = P === "rtl", ue = z ? b : 0;
|
|
13172
13172
|
N[E] = F = {
|
|
13173
13173
|
position: "absolute",
|
|
13174
|
-
left: ae ? void 0 :
|
|
13175
|
-
right: ae ?
|
|
13174
|
+
left: ae ? void 0 : ue,
|
|
13175
|
+
right: ae ? ue : void 0,
|
|
13176
13176
|
top: z ? 0 : b,
|
|
13177
13177
|
height: z ? "100%" : q,
|
|
13178
13178
|
width: z ? q : "100%"
|
|
@@ -13285,7 +13285,7 @@ function J7(e) {
|
|
|
13285
13285
|
}, y.componentWillUnmount = function() {
|
|
13286
13286
|
this._resetIsScrollingTimeoutId !== null && jT(this._resetIsScrollingTimeoutId);
|
|
13287
13287
|
}, y.render = function() {
|
|
13288
|
-
var w = this.props, E = w.children, _ = w.className, P = w.direction, D = w.height, B = w.innerRef, N = w.innerElementType, F = w.innerTagName, b = w.itemCount, q = w.itemData, z = w.itemKey, ae = z === void 0 ? Z7 : z,
|
|
13288
|
+
var w = this.props, E = w.children, _ = w.className, P = w.direction, D = w.height, B = w.innerRef, N = w.innerElementType, F = w.innerTagName, b = w.itemCount, q = w.itemData, z = w.itemKey, ae = z === void 0 ? Z7 : z, ue = w.layout, ge = w.outerElementType, le = w.outerTagName, re = w.style, U = w.useIsScrolling, Q = w.width, te = this.state.isScrolling, ne = P === "horizontal" || ue === "horizontal", fe = ne ? this._onScrollHorizontal : this._onScrollVertical, pe = this._getRangeToRender(), Se = pe[0], Oe = pe[1], De = [];
|
|
13289
13289
|
if (b > 0)
|
|
13290
13290
|
for (var _e = Se; _e <= Oe; _e++)
|
|
13291
13291
|
De.push(M.createElement(E, {
|
|
@@ -13295,8 +13295,8 @@ function J7(e) {
|
|
|
13295
13295
|
isScrolling: U ? te : void 0,
|
|
13296
13296
|
style: this._getItemStyle(_e)
|
|
13297
13297
|
}));
|
|
13298
|
-
var
|
|
13299
|
-
return M.createElement(ge ||
|
|
13298
|
+
var Fe = r(this.props, this._instanceProps);
|
|
13299
|
+
return M.createElement(ge || le || "div", {
|
|
13300
13300
|
className: _,
|
|
13301
13301
|
onScroll: fe,
|
|
13302
13302
|
ref: this._outerRefSetter,
|
|
@@ -13313,9 +13313,9 @@ function J7(e) {
|
|
|
13313
13313
|
children: De,
|
|
13314
13314
|
ref: B,
|
|
13315
13315
|
style: {
|
|
13316
|
-
height: ne ? "100%" :
|
|
13316
|
+
height: ne ? "100%" : Fe,
|
|
13317
13317
|
pointerEvents: te ? "none" : void 0,
|
|
13318
|
-
width: ne ?
|
|
13318
|
+
width: ne ? Fe : "100%"
|
|
13319
13319
|
}
|
|
13320
13320
|
}));
|
|
13321
13321
|
}, y._callPropsCallbacks = function() {
|
|
@@ -13467,7 +13467,7 @@ const qv = 20, HT = ({
|
|
|
13467
13467
|
F,
|
|
13468
13468
|
d.length,
|
|
13469
13469
|
i
|
|
13470
|
-
]), z = v ? d.length + 1 : d.length, ae = (ne) => !v || ne < d.length,
|
|
13470
|
+
]), z = v ? d.length + 1 : d.length, ae = (ne) => !v || ne < d.length, ue = async () => {
|
|
13471
13471
|
try {
|
|
13472
13472
|
const pe = e + (t || "/notification-management/api/v1/notifications");
|
|
13473
13473
|
await Xn.put(pe);
|
|
@@ -13482,8 +13482,8 @@ const qv = 20, HT = ({
|
|
|
13482
13482
|
}
|
|
13483
13483
|
})), _(1), y(!0), a(!1);
|
|
13484
13484
|
}, ge = () => {
|
|
13485
|
-
a(!0),
|
|
13486
|
-
},
|
|
13485
|
+
a(!0), ue();
|
|
13486
|
+
}, le = ({ style: ne }) => /* @__PURE__ */ I.jsxs(
|
|
13487
13487
|
F6,
|
|
13488
13488
|
{
|
|
13489
13489
|
style: ne,
|
|
@@ -13501,8 +13501,8 @@ const qv = 20, HT = ({
|
|
|
13501
13501
|
), re = async (ne, fe, pe) => {
|
|
13502
13502
|
p(i === "unread" && fe ? (De) => De.filter((_e) => _e.id !== ne) : (De) => De.map((_e) => _e.id === ne ? { ..._e, isRead: fe } : _e)), N((De) => {
|
|
13503
13503
|
let _e = 0;
|
|
13504
|
-
const
|
|
13505
|
-
return
|
|
13504
|
+
const Fe = d.find((Ze) => Ze.id === ne);
|
|
13505
|
+
return Fe && (!Fe.isRead && fe && (_e = -1), Fe.isRead && !fe && (_e = 1)), {
|
|
13506
13506
|
...De,
|
|
13507
13507
|
unread: {
|
|
13508
13508
|
...De.unread,
|
|
@@ -13526,7 +13526,7 @@ const qv = 20, HT = ({
|
|
|
13526
13526
|
});
|
|
13527
13527
|
}, te = ({ index: ne, style: fe }) => {
|
|
13528
13528
|
if (!ae(ne))
|
|
13529
|
-
return /* @__PURE__ */ I.jsx(
|
|
13529
|
+
return /* @__PURE__ */ I.jsx(le, { style: fe });
|
|
13530
13530
|
const pe = d[ne];
|
|
13531
13531
|
return /* @__PURE__ */ I.jsx("div", { style: fe, children: /* @__PURE__ */ I.jsx(
|
|
13532
13532
|
j7,
|
|
@@ -14295,9 +14295,9 @@ function LG(e, t, n, {
|
|
|
14295
14295
|
ignoreLocation: f
|
|
14296
14296
|
}) <= y ? q = z : B = z, z = Math.floor((B - q) / 2 + q);
|
|
14297
14297
|
B = z;
|
|
14298
|
-
let ae = Math.max(1, v - z + 1),
|
|
14299
|
-
ge[
|
|
14300
|
-
for (let re =
|
|
14298
|
+
let ae = Math.max(1, v - z + 1), ue = o ? p : Math.min(v + z, p) + d, ge = Array(ue + 2);
|
|
14299
|
+
ge[ue + 1] = (1 << b) - 1;
|
|
14300
|
+
for (let re = ue; re >= ae; re -= 1) {
|
|
14301
14301
|
let U = re - 1, Q = n[e.charAt(U)];
|
|
14302
14302
|
if (w && (E[U] = +!!Q), ge[re] = (ge[re + 1] << 1 | 1) & Q, b && (ge[re] |= (P[re + 1] | P[re]) << 1 | 1 | P[re + 1]), ge[re] & N && (D = Ah(t, {
|
|
14303
14303
|
errors: b,
|
|
@@ -15184,7 +15184,7 @@ function lK({
|
|
|
15184
15184
|
({ ...S });
|
|
15185
15185
|
const b = { ...KT, ...t }, q = new Hu(e, b);
|
|
15186
15186
|
q.setCollection(e);
|
|
15187
|
-
const [z, ae] = M.useState(E), [
|
|
15187
|
+
const [z, ae] = M.useState(E), [ue, ge] = M.useState([]), [le, re] = M.useState(-1), [U, Q] = M.useState(!1), [te, ne] = M.useState(!1), [fe, pe] = M.useState(!1), [Se, Oe] = M.useState(!1);
|
|
15188
15188
|
M.useEffect(() => {
|
|
15189
15189
|
ae(E);
|
|
15190
15190
|
const $e = setTimeout(
|
|
@@ -15201,14 +15201,14 @@ function lK({
|
|
|
15201
15201
|
return document.addEventListener("click", $e), () => document.removeEventListener("click", $e);
|
|
15202
15202
|
}, []), M.useEffect(() => {
|
|
15203
15203
|
(() => {
|
|
15204
|
-
P && z.length > 0 && !te &&
|
|
15204
|
+
P && z.length > 0 && !te && ue.length === 0 && !U ? pe(!0) : pe(!1), B && ue.length === 0 && z.length === 0 && Se && ge(e.slice(0, p));
|
|
15205
15205
|
})();
|
|
15206
15206
|
}, [
|
|
15207
15207
|
te,
|
|
15208
15208
|
P,
|
|
15209
15209
|
U,
|
|
15210
15210
|
z,
|
|
15211
|
-
|
|
15211
|
+
ue,
|
|
15212
15212
|
B,
|
|
15213
15213
|
Se
|
|
15214
15214
|
]);
|
|
@@ -15217,14 +15217,14 @@ function lK({
|
|
|
15217
15217
|
}, _e = ($e) => {
|
|
15218
15218
|
let vt = [];
|
|
15219
15219
|
($e == null ? void 0 : $e.length) > 0 && (vt = _t($e)), ge(vt), r($e, vt), ne(!1);
|
|
15220
|
-
},
|
|
15220
|
+
}, Fe = je.useCallback(
|
|
15221
15221
|
n > 0 ? tK(($e) => _e($e), n) : ($e) => _e($e),
|
|
15222
15222
|
[e]
|
|
15223
15223
|
), Ze = ($e) => {
|
|
15224
15224
|
mt(), s($e), ae($e[w]), re(0);
|
|
15225
15225
|
}, _t = ($e) => q.search($e, { limit: p }).map((vt) => ({ ...vt.item })).slice(0, p), rt = ({ target: $e }) => {
|
|
15226
15226
|
const vt = $e.value;
|
|
15227
|
-
ae(vt),
|
|
15227
|
+
ae(vt), Fe(vt), ne(!0), U && Q(!1);
|
|
15228
15228
|
}, mt = () => {
|
|
15229
15229
|
ge([]), Q(!0);
|
|
15230
15230
|
}, St = ({
|
|
@@ -15233,20 +15233,20 @@ function lK({
|
|
|
15233
15233
|
}) => {
|
|
15234
15234
|
let Wt = -1;
|
|
15235
15235
|
const kt = (zt) => {
|
|
15236
|
-
re(zt),
|
|
15236
|
+
re(zt), ue != null && ue[zt] && i(ue[zt]);
|
|
15237
15237
|
};
|
|
15238
15238
|
if ($e !== void 0)
|
|
15239
|
-
re($e),
|
|
15239
|
+
re($e), ue != null && ue[$e] && i(ue[$e]);
|
|
15240
15240
|
else if (vt)
|
|
15241
15241
|
switch (vt.key) {
|
|
15242
15242
|
case "Enter":
|
|
15243
|
-
|
|
15243
|
+
ue.length > 0 && ue[le] ? (vt.preventDefault(), s(ue[le])) : r(z, ue), re(-1), mt();
|
|
15244
15244
|
break;
|
|
15245
15245
|
case "ArrowUp":
|
|
15246
|
-
vt.preventDefault(), Wt =
|
|
15246
|
+
vt.preventDefault(), Wt = le > -1 ? le - 1 : ue.length - 1, kt(Wt);
|
|
15247
15247
|
break;
|
|
15248
15248
|
case "ArrowDown":
|
|
15249
|
-
vt.preventDefault(), Wt =
|
|
15249
|
+
vt.preventDefault(), Wt = le < ue.length - 1 ? le + 1 : -1, kt(Wt);
|
|
15250
15250
|
break;
|
|
15251
15251
|
}
|
|
15252
15252
|
};
|
|
@@ -15271,14 +15271,14 @@ function lK({
|
|
|
15271
15271
|
/* @__PURE__ */ I.jsx(
|
|
15272
15272
|
rK,
|
|
15273
15273
|
{
|
|
15274
|
-
results:
|
|
15274
|
+
results: ue,
|
|
15275
15275
|
onClick: Ze,
|
|
15276
15276
|
setSearchString: ae,
|
|
15277
15277
|
showIcon: f,
|
|
15278
15278
|
maxResults: p,
|
|
15279
15279
|
resultStringKeyName: w,
|
|
15280
15280
|
formatResult: _,
|
|
15281
|
-
highlightedItem:
|
|
15281
|
+
highlightedItem: le,
|
|
15282
15282
|
setHighlightedItem: St,
|
|
15283
15283
|
showNoResultsFlag: fe,
|
|
15284
15284
|
showNoResultsText: D
|
|
@@ -15308,44 +15308,44 @@ function iR({ classNames: e = "", ...t }) {
|
|
|
15308
15308
|
console.log("searchPermission", B.hasPermission), M.useEffect(() => {
|
|
15309
15309
|
E.length >= 3 ? N(E) : D([]);
|
|
15310
15310
|
}, [E]);
|
|
15311
|
-
const N = async (
|
|
15312
|
-
await fetch(`/stella/page/Search/Suggestions?term=${
|
|
15311
|
+
const N = async (ue) => {
|
|
15312
|
+
await fetch(`/stella/page/Search/Suggestions?term=${ue}`).then((ge) => ge.json()).then((ge) => {
|
|
15313
15313
|
D(ge), console.log(ge);
|
|
15314
15314
|
}).catch((ge) => {
|
|
15315
15315
|
console.error(ge);
|
|
15316
15316
|
});
|
|
15317
|
-
}, F = (
|
|
15318
|
-
console.log(
|
|
15319
|
-
}, b = (
|
|
15320
|
-
_(
|
|
15321
|
-
}, q = (
|
|
15322
|
-
const ge =
|
|
15317
|
+
}, F = (ue) => {
|
|
15318
|
+
console.log(ue);
|
|
15319
|
+
}, b = (ue, ge) => {
|
|
15320
|
+
_(ue), console.log(ue, ge);
|
|
15321
|
+
}, q = (ue) => {
|
|
15322
|
+
const ge = ue.entityType, le = ue.entityId;
|
|
15323
15323
|
switch (ge) {
|
|
15324
15324
|
case "Zone":
|
|
15325
|
-
document.location.href = i + "/stella/page/SiteManagement/Zone/Details/" +
|
|
15325
|
+
document.location.href = i + "/stella/page/SiteManagement/Zone/Details/" + le;
|
|
15326
15326
|
return;
|
|
15327
15327
|
case "Location":
|
|
15328
|
-
document.location.href = i + "/stella/page/SiteManagement/Location/Details/" +
|
|
15328
|
+
document.location.href = i + "/stella/page/SiteManagement/Location/Details/" + le;
|
|
15329
15329
|
return;
|
|
15330
15330
|
case "Company":
|
|
15331
|
-
document.location.href = i + "/stella/page/SiteManagement/Company/Details/" +
|
|
15331
|
+
document.location.href = i + "/stella/page/SiteManagement/Company/Details/" + le;
|
|
15332
15332
|
return;
|
|
15333
15333
|
default:
|
|
15334
|
-
console.log(`Unsure how to navigate to ${ge} ${
|
|
15334
|
+
console.log(`Unsure how to navigate to ${ge} ${le}`);
|
|
15335
15335
|
return;
|
|
15336
15336
|
}
|
|
15337
15337
|
}, z = () => {
|
|
15338
|
-
const
|
|
15339
|
-
|
|
15340
|
-
}, 1e3), N(
|
|
15341
|
-
}, ae = (
|
|
15342
|
-
/* @__PURE__ */ I.jsx("div", { dangerouslySetInnerHTML: { __html:
|
|
15338
|
+
const ue = document.querySelector("global-topbar"), le = (ue != null ? ue.shadowRoot : document).getElementById("GlobalSearchInput");
|
|
15339
|
+
le && le.value.length >= 3 && (setTimeout(() => {
|
|
15340
|
+
}, 1e3), N(le.value));
|
|
15341
|
+
}, ae = (ue) => ue.entityType === "Location" ? /* @__PURE__ */ I.jsxs(I.Fragment, { children: [
|
|
15342
|
+
/* @__PURE__ */ I.jsx("div", { dangerouslySetInnerHTML: { __html: ue.name } }),
|
|
15343
15343
|
" ",
|
|
15344
15344
|
/* @__PURE__ */ I.jsxs("div", { style: { fontSize: "0.6em" }, children: [
|
|
15345
15345
|
"Status: ",
|
|
15346
|
-
|
|
15346
|
+
ue.entityStatus
|
|
15347
15347
|
] })
|
|
15348
|
-
] }) : /* @__PURE__ */ I.jsx(I.Fragment, { children: /* @__PURE__ */ I.jsx("div", { dangerouslySetInnerHTML: { __html:
|
|
15348
|
+
] }) : /* @__PURE__ */ I.jsx(I.Fragment, { children: /* @__PURE__ */ I.jsx("div", { dangerouslySetInnerHTML: { __html: ue.name } }) });
|
|
15349
15349
|
return /* @__PURE__ */ I.jsxs(
|
|
15350
15350
|
$b,
|
|
15351
15351
|
{
|
|
@@ -15545,7 +15545,7 @@ function cK({
|
|
|
15545
15545
|
}
|
|
15546
15546
|
) }) });
|
|
15547
15547
|
}
|
|
15548
|
-
function
|
|
15548
|
+
function Ope(e) {
|
|
15549
15549
|
const { user: t, logout: n, isFetching: r } = Az();
|
|
15550
15550
|
return /* @__PURE__ */ I.jsx(
|
|
15551
15551
|
iR,
|
|
@@ -17193,26 +17193,26 @@ function Jp({ autoplay: e = !0, delay: t = 0, driver: n = oQ, keyframes: r, type
|
|
|
17193
17193
|
}));
|
|
17194
17194
|
let b = "idle", q = null, z = null, ae = null;
|
|
17195
17195
|
N.calculatedDuration === null && s && (N.calculatedDuration = h_(N));
|
|
17196
|
-
const { calculatedDuration:
|
|
17197
|
-
let ge = 1 / 0,
|
|
17198
|
-
|
|
17196
|
+
const { calculatedDuration: ue } = N;
|
|
17197
|
+
let ge = 1 / 0, le = 1 / 0;
|
|
17198
|
+
ue !== null && (ge = ue + o, le = ge * (s + 1) - o);
|
|
17199
17199
|
let re = 0;
|
|
17200
17200
|
const U = (Se) => {
|
|
17201
17201
|
if (z === null)
|
|
17202
17202
|
return;
|
|
17203
|
-
y > 0 && (z = Math.min(z, Se)), y < 0 && (z = Math.min(Se -
|
|
17204
|
-
const Oe = re - t * (y >= 0 ? 1 : -1), De = y >= 0 ? Oe < 0 : Oe >
|
|
17205
|
-
re = Math.max(Oe, 0), b === "finished" && q === null && (re =
|
|
17206
|
-
let _e = re,
|
|
17203
|
+
y > 0 && (z = Math.min(z, Se)), y < 0 && (z = Math.min(Se - le / y, z)), q !== null ? re = q : re = Math.round(Se - z) * y;
|
|
17204
|
+
const Oe = re - t * (y >= 0 ? 1 : -1), De = y >= 0 ? Oe < 0 : Oe > le;
|
|
17205
|
+
re = Math.max(Oe, 0), b === "finished" && q === null && (re = le);
|
|
17206
|
+
let _e = re, Fe = N;
|
|
17207
17207
|
if (s) {
|
|
17208
|
-
const mt = Math.min(re,
|
|
17208
|
+
const mt = Math.min(re, le) / ge;
|
|
17209
17209
|
let St = Math.floor(mt), $e = mt % 1;
|
|
17210
|
-
!$e && mt >= 1 && ($e = 1), $e === 1 && St--, St = Math.min(St, s + 1), !!(St % 2) && (a === "reverse" ? ($e = 1 - $e, o && ($e -= o / ge)) : a === "mirror" && (
|
|
17210
|
+
!$e && mt >= 1 && ($e = 1), $e === 1 && St--, St = Math.min(St, s + 1), !!(St % 2) && (a === "reverse" ? ($e = 1 - $e, o && ($e -= o / ge)) : a === "mirror" && (Fe = F)), _e = oa(0, 1, $e) * ge;
|
|
17211
17211
|
}
|
|
17212
|
-
const Ze = De ? { done: !1, value: r[0] } :
|
|
17212
|
+
const Ze = De ? { done: !1, value: r[0] } : Fe.next(_e);
|
|
17213
17213
|
B && (Ze.value = B(Ze.value));
|
|
17214
17214
|
let { done: _t } = Ze;
|
|
17215
|
-
!De &&
|
|
17215
|
+
!De && ue !== null && (_t = y >= 0 ? re >= le : re <= 0);
|
|
17216
17216
|
const rt = q === null && (b === "finished" || b === "running" && _t);
|
|
17217
17217
|
return p && p(Ze.value), rt && ne(), Ze;
|
|
17218
17218
|
}, Q = () => {
|
|
@@ -17909,23 +17909,23 @@ function YQ(e) {
|
|
|
17909
17909
|
let z = qQ(D.prevProp, B) || // If we're making this variant active, we want to always make it active
|
|
17910
17910
|
P === f && D.isActive && !b && N || // If we removed a higher-priority variant (i is in reverse order)
|
|
17911
17911
|
_ > w && N, ae = !1;
|
|
17912
|
-
const
|
|
17913
|
-
let ge =
|
|
17912
|
+
const ue = Array.isArray(B) ? B : [B];
|
|
17913
|
+
let ge = ue.reduce(i, {});
|
|
17914
17914
|
F === !1 && (ge = {});
|
|
17915
|
-
const { prevResolvedValues:
|
|
17916
|
-
...
|
|
17915
|
+
const { prevResolvedValues: le = {} } = D, re = {
|
|
17916
|
+
...le,
|
|
17917
17917
|
...ge
|
|
17918
17918
|
}, U = (Q) => {
|
|
17919
17919
|
z = !0, y.has(Q) && (ae = !0, y.delete(Q)), D.needsAnimating[Q] = !0;
|
|
17920
17920
|
};
|
|
17921
17921
|
for (const Q in re) {
|
|
17922
|
-
const te = ge[Q], ne =
|
|
17922
|
+
const te = ge[Q], ne = le[Q];
|
|
17923
17923
|
if (S.hasOwnProperty(Q))
|
|
17924
17924
|
continue;
|
|
17925
17925
|
let fe = !1;
|
|
17926
17926
|
Xp(te) && Xp(ne) ? fe = !AR(te, ne) : fe = te !== ne, fe ? te !== void 0 ? U(Q) : y.add(Q) : te !== void 0 && y.has(Q) ? U(Q) : D.protectedKeys[Q] = !0;
|
|
17927
17927
|
}
|
|
17928
|
-
D.prevProp = B, D.prevResolvedValues = ge, D.isActive && (S = { ...S, ...ge }), r && e.blockInitialAnimation && (z = !1), z && (!b || ae) && v.push(...
|
|
17928
|
+
D.prevProp = B, D.prevResolvedValues = ge, D.isActive && (S = { ...S, ...ge }), r && e.blockInitialAnimation && (z = !1), z && (!b || ae) && v.push(...ue.map((Q) => ({
|
|
17929
17929
|
animation: Q,
|
|
17930
17930
|
options: { type: P, ...u }
|
|
17931
17931
|
})));
|
|
@@ -18609,7 +18609,7 @@ const Hc = {
|
|
|
18609
18609
|
return typeof i[2 + o] == "number" && (i[2 + o] /= f), typeof i[3 + o] == "number" && (i[3 + o] /= f), s(i);
|
|
18610
18610
|
}
|
|
18611
18611
|
};
|
|
18612
|
-
let SZ = class extends
|
|
18612
|
+
let SZ = class extends je.Component {
|
|
18613
18613
|
/**
|
|
18614
18614
|
* This only mounts projection nodes for components that
|
|
18615
18615
|
* need measuring, we might want to do it for all components
|
|
@@ -18651,7 +18651,7 @@ let SZ = class extends Fe.Component {
|
|
|
18651
18651
|
};
|
|
18652
18652
|
function mM(e) {
|
|
18653
18653
|
const [t, n] = wZ(), r = M.useContext(fR);
|
|
18654
|
-
return
|
|
18654
|
+
return je.createElement(SZ, { ...e, layoutGroup: r, switchLayoutGroup: M.useContext(dR), isPresent: t, safeToRemove: n });
|
|
18655
18655
|
}
|
|
18656
18656
|
const CZ = {
|
|
18657
18657
|
borderRadius: {
|
|
@@ -20130,12 +20130,12 @@ var iu = /* @__PURE__ */ new Map(), RM = function(t) {
|
|
|
20130
20130
|
B = ne, F = D[ne], N = p.querySelectorAll(B + "[id]");
|
|
20131
20131
|
for (var fe = function(De, _e) {
|
|
20132
20132
|
b = N[De].id, q = b + "-" + jJ();
|
|
20133
|
-
var
|
|
20133
|
+
var Fe;
|
|
20134
20134
|
Array.prototype.forEach.call(F, function(Wt) {
|
|
20135
|
-
|
|
20136
|
-
for (var kt = 0, zt =
|
|
20137
|
-
var dr =
|
|
20138
|
-
dr && !dr.match(new RegExp('url\\("?#' + b + '"?\\)')) ||
|
|
20135
|
+
Fe = p.querySelectorAll("[" + Wt + '*="' + b + '"]');
|
|
20136
|
+
for (var kt = 0, zt = Fe.length; kt < zt; kt++) {
|
|
20137
|
+
var dr = Fe[kt].getAttribute(Wt);
|
|
20138
|
+
dr && !dr.match(new RegExp('url\\("?#' + b + '"?\\)')) || Fe[kt].setAttribute(Wt, "url(#" + q + ")");
|
|
20139
20139
|
}
|
|
20140
20140
|
});
|
|
20141
20141
|
for (var Ze = p.querySelectorAll("[*|href]"), _t = [], rt = 0, mt = Ze.length; rt < mt; rt++) {
|
|
@@ -20150,8 +20150,8 @@ var iu = /* @__PURE__ */ new Map(), RM = function(t) {
|
|
|
20150
20150
|
});
|
|
20151
20151
|
}
|
|
20152
20152
|
p.removeAttribute("xmlns:a");
|
|
20153
|
-
for (var z = p.querySelectorAll("script"), ae = [],
|
|
20154
|
-
ge = z[
|
|
20153
|
+
for (var z = p.querySelectorAll("script"), ae = [], ue, ge, le = 0, re = z.length; le < re; le++)
|
|
20154
|
+
ge = z[le].getAttribute("type"), (!ge || ge === "application/ecmascript" || ge === "application/javascript" || ge === "text/javascript") && (ue = z[le].innerText || z[le].textContent, ue && ae.push(ue), p.removeChild(z[le]));
|
|
20155
20155
|
if (ae.length > 0 && (n === "always" || n === "once" && !iE[u])) {
|
|
20156
20156
|
for (var U = 0, Q = ae.length; U < Q; U++)
|
|
20157
20157
|
new Function(ae[U])(window);
|
|
@@ -20248,8 +20248,8 @@ var iu = /* @__PURE__ */ new Map(), RM = function(t) {
|
|
|
20248
20248
|
if (p) {
|
|
20249
20249
|
var ae = b.querySelector(":scope > title");
|
|
20250
20250
|
ae && b.removeChild(ae);
|
|
20251
|
-
var
|
|
20252
|
-
|
|
20251
|
+
var ue = document.createElement("title");
|
|
20252
|
+
ue.innerHTML = p, b.prepend(ue);
|
|
20253
20253
|
}
|
|
20254
20254
|
try {
|
|
20255
20255
|
S(b);
|
|
@@ -20393,15 +20393,15 @@ function YJ({ item: e }) {
|
|
|
20393
20393
|
return (Ru.get(zJ(e)) || Ru.get("text"))(e);
|
|
20394
20394
|
}
|
|
20395
20395
|
function IM({ ...e }) {
|
|
20396
|
-
var ae,
|
|
20397
|
-
const t = e.item, n = e.level || 0, r = !!((ae = e.item.children) != null && ae.length), i = `level-${n}`, s = (
|
|
20398
|
-
p != null && p.current && ((
|
|
20399
|
-
const v = window.location.origin, y = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, S = window.location.pathname.split("/")[1], w = y.pathname.split("/")[1], E = e.item.redirectUrl || e.ssr || !v.includes("local") && v !== y.origin || w !== S, _ = r || n === 0 ? "div" : E ? "a" : _k, P = t.redirectUrl || t.path || "#", D = n + 1, B = r && o && n > 0, N = () => {
|
|
20396
|
+
var ae, ue, ge;
|
|
20397
|
+
const t = e.item, n = e.level || 0, r = !!((ae = e.item.children) != null && ae.length), i = `level-${n}`, s = (le, re = i) => `${le} ${re} `, [o, a] = M.useState(!1), [u, f] = M.useState(t.isFavorite || !1), d = M.useRef(), p = M.useRef();
|
|
20398
|
+
p != null && p.current && ((ue = p == null ? void 0 : p.current) == null ? void 0 : ue.scrollWidth) > ((ge = p == null ? void 0 : p.current) == null ? void 0 : ge.clientWidth);
|
|
20399
|
+
const v = window.location.origin, y = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, S = window.location.pathname.split("/")[1], w = y.pathname.split("/")[1], E = e.item.redirectUrl || e.ssr || !v.includes("local") && v !== y.origin || w !== S, _ = r || n === 0 ? "div" : E ? "a" : _k, P = t.redirectUrl || (t.path && t.path.includes("http") ? new URL(t.path).pathname : t.path) || "#", D = n + 1, B = r && o && n > 0, N = () => {
|
|
20400
20400
|
e.isDrop || a(!0);
|
|
20401
20401
|
}, F = () => {
|
|
20402
20402
|
a(!1);
|
|
20403
20403
|
}, b = "/global-menu-config/api/v1/menu-items/user/set-favorite", q = v !== y.origin || e.item.redirectUrl ? "_blank" : "_self", z = Object.entries(e.brandColors || {}).reduce(
|
|
20404
|
-
(
|
|
20404
|
+
(le, [re, U]) => (U && (le[`--${re}`] = U), le),
|
|
20405
20405
|
{}
|
|
20406
20406
|
);
|
|
20407
20407
|
return /* @__PURE__ */ I.jsxs(
|
|
@@ -20416,8 +20416,8 @@ function IM({ ...e }) {
|
|
|
20416
20416
|
},
|
|
20417
20417
|
onMouseOver: N,
|
|
20418
20418
|
onMouseOut: F,
|
|
20419
|
-
onDragStart: (
|
|
20420
|
-
n > 1 &&
|
|
20419
|
+
onDragStart: (le) => {
|
|
20420
|
+
n > 1 && le.preventDefault(), a(!1);
|
|
20421
20421
|
},
|
|
20422
20422
|
onDragEnd: () => {
|
|
20423
20423
|
console.log("drag end 1223"), a(!1);
|
|
@@ -20428,15 +20428,18 @@ function IM({ ...e }) {
|
|
|
20428
20428
|
{
|
|
20429
20429
|
target: q,
|
|
20430
20430
|
to: P,
|
|
20431
|
-
href: P,
|
|
20432
20431
|
draggable: "true",
|
|
20433
20432
|
className: s("menu-item__link"),
|
|
20434
20433
|
style: {
|
|
20435
20434
|
width: "100%",
|
|
20436
20435
|
transition: "all 0.3s"
|
|
20437
20436
|
},
|
|
20438
|
-
|
|
20439
|
-
|
|
20437
|
+
onClick: () => {
|
|
20438
|
+
var le;
|
|
20439
|
+
_ === "a" && q === "_blank" || !r && t.path && ((le = e.onClickItem) == null || le.call(e, P));
|
|
20440
|
+
},
|
|
20441
|
+
onDragStart: (le) => {
|
|
20442
|
+
console.log("onDragStart component", le.target);
|
|
20440
20443
|
},
|
|
20441
20444
|
onDragEnd: () => {
|
|
20442
20445
|
console.log("onDragEnd menu item"), a(!1);
|
|
@@ -20451,18 +20454,18 @@ function IM({ ...e }) {
|
|
|
20451
20454
|
hasChildren: r,
|
|
20452
20455
|
isHovered: o,
|
|
20453
20456
|
isFavorite: u,
|
|
20454
|
-
onClick: (
|
|
20457
|
+
onClick: (le) => {
|
|
20455
20458
|
const re = {
|
|
20456
20459
|
menuConfigId: t.id,
|
|
20457
|
-
isFavorite:
|
|
20460
|
+
isFavorite: le
|
|
20458
20461
|
}, U = e.baseUrl + b;
|
|
20459
20462
|
Xn.post(U, re).then((Q) => {
|
|
20460
20463
|
var te;
|
|
20461
|
-
f(
|
|
20464
|
+
f(le), oR(
|
|
20462
20465
|
Lt("components.menu.pushSuccess.menuSuccess", {
|
|
20463
20466
|
defaultValue: "Set favorite menu item successful"
|
|
20464
20467
|
})
|
|
20465
|
-
), (te = e.onSetFavoriteSuccess) == null || te.call(e, e.item.id,
|
|
20468
|
+
), (te = e.onSetFavoriteSuccess) == null || te.call(e, e.item.id, le);
|
|
20466
20469
|
}).catch((Q) => {
|
|
20467
20470
|
var te, ne;
|
|
20468
20471
|
console.log(" MenuItem.tsx ~ error:", Q), ud(
|
|
@@ -20484,7 +20487,7 @@ function IM({ ...e }) {
|
|
|
20484
20487
|
parentRef: d,
|
|
20485
20488
|
onlyChild: D < 2,
|
|
20486
20489
|
dropdownLevel: n,
|
|
20487
|
-
renderChildren: ({ maxHeight:
|
|
20490
|
+
renderChildren: ({ maxHeight: le }) => {
|
|
20488
20491
|
var re;
|
|
20489
20492
|
return /* @__PURE__ */ I.jsx(
|
|
20490
20493
|
DM.div,
|
|
@@ -20494,8 +20497,8 @@ function IM({ ...e }) {
|
|
|
20494
20497
|
`level-${D}`
|
|
20495
20498
|
),
|
|
20496
20499
|
style: kM(
|
|
20497
|
-
{ maxHeight:
|
|
20498
|
-
|
|
20500
|
+
{ maxHeight: le, overflowY: "auto", paddingRight: 3 },
|
|
20501
|
+
le !== "auto" && !!D
|
|
20499
20502
|
),
|
|
20500
20503
|
children: (re = t.children) == null ? void 0 : re.map((U) => /* @__PURE__ */ M.createElement(
|
|
20501
20504
|
IM,
|
|
@@ -20503,7 +20506,8 @@ function IM({ ...e }) {
|
|
|
20503
20506
|
...e,
|
|
20504
20507
|
key: U.id,
|
|
20505
20508
|
item: U,
|
|
20506
|
-
level: D
|
|
20509
|
+
level: D,
|
|
20510
|
+
onClickItem: e.onClickItem
|
|
20507
20511
|
}
|
|
20508
20512
|
))
|
|
20509
20513
|
}
|
|
@@ -21921,7 +21925,7 @@ function dt(e) {
|
|
|
21921
21925
|
return "Minified React error #" + e + "; visit " + t + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
|
|
21922
21926
|
}
|
|
21923
21927
|
var Yr = null, qr = 0;
|
|
21924
|
-
function
|
|
21928
|
+
function Ve(e, t) {
|
|
21925
21929
|
if (t.length !== 0)
|
|
21926
21930
|
if (512 < t.length)
|
|
21927
21931
|
0 < qr && (e.enqueue(new Uint8Array(Yr.buffer, 0, qr)), Yr = new Uint8Array(512), qr = 0), e.enqueue(t);
|
|
@@ -21931,7 +21935,7 @@ function Be(e, t) {
|
|
|
21931
21935
|
}
|
|
21932
21936
|
}
|
|
21933
21937
|
function jt(e, t) {
|
|
21934
|
-
return
|
|
21938
|
+
return Ve(e, t), !0;
|
|
21935
21939
|
}
|
|
21936
21940
|
function OE(e) {
|
|
21937
21941
|
Yr && 0 < qr && (e.enqueue(new Uint8Array(Yr.buffer, 0, qr)), Yr = null, qr = 0);
|
|
@@ -22496,31 +22500,31 @@ Ae(' data-msg="');
|
|
|
22496
22500
|
Ae(' data-stck="');
|
|
22497
22501
|
var ste = Ae("></template>");
|
|
22498
22502
|
function $E(e, t, n) {
|
|
22499
|
-
if (
|
|
22503
|
+
if (Ve(e, Zee), n === null)
|
|
22500
22504
|
throw Error(dt(395));
|
|
22501
|
-
return
|
|
22505
|
+
return Ve(e, n), jt(e, Jee);
|
|
22502
22506
|
}
|
|
22503
22507
|
var ote = Ae('<div hidden id="'), ate = Ae('">'), lte = Ae("</div>"), ute = Ae('<svg aria-hidden="true" style="display:none" id="'), cte = Ae('">'), fte = Ae("</svg>"), dte = Ae('<math aria-hidden="true" style="display:none" id="'), hte = Ae('">'), pte = Ae("</math>"), gte = Ae('<table hidden id="'), mte = Ae('">'), vte = Ae("</table>"), yte = Ae('<table hidden><tbody id="'), bte = Ae('">'), wte = Ae("</tbody></table>"), xte = Ae('<table hidden><tr id="'), Ste = Ae('">'), Cte = Ae("</tr></table>"), Tte = Ae('<table hidden><colgroup id="'), _te = Ae('">'), Ete = Ae("</colgroup></table>");
|
|
22504
22508
|
function Ote(e, t, n, r) {
|
|
22505
22509
|
switch (n.insertionMode) {
|
|
22506
22510
|
case 0:
|
|
22507
22511
|
case 1:
|
|
22508
|
-
return
|
|
22512
|
+
return Ve(e, ote), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, ate);
|
|
22509
22513
|
case 2:
|
|
22510
|
-
return
|
|
22514
|
+
return Ve(e, ute), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, cte);
|
|
22511
22515
|
case 3:
|
|
22512
|
-
return
|
|
22516
|
+
return Ve(e, dte), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, hte);
|
|
22513
22517
|
case 4:
|
|
22514
|
-
return
|
|
22518
|
+
return Ve(e, gte), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, mte);
|
|
22515
22519
|
case 5:
|
|
22516
|
-
return
|
|
22520
|
+
return Ve(e, yte), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, bte);
|
|
22517
22521
|
case 6:
|
|
22518
|
-
return
|
|
22522
|
+
return Ve(e, xte), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, Ste);
|
|
22519
22523
|
case 7:
|
|
22520
|
-
return
|
|
22524
|
+
return Ve(
|
|
22521
22525
|
e,
|
|
22522
22526
|
Tte
|
|
22523
|
-
),
|
|
22527
|
+
), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, _te);
|
|
22524
22528
|
default:
|
|
22525
22529
|
throw Error(dt(397));
|
|
22526
22530
|
}
|
|
@@ -23105,7 +23109,7 @@ function Bh(e, t, n) {
|
|
|
23105
23109
|
switch (n.parentFlushed = !0, n.status) {
|
|
23106
23110
|
case 0:
|
|
23107
23111
|
var r = n.id = e.nextSegmentId++;
|
|
23108
|
-
return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState,
|
|
23112
|
+
return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, Ve(t, Kee), Ve(t, e.placeholderPrefix), e = gt(r.toString(16)), Ve(t, e), jt(t, Xee);
|
|
23109
23113
|
case 1:
|
|
23110
23114
|
n.status = 2;
|
|
23111
23115
|
var i = !0;
|
|
@@ -23114,11 +23118,11 @@ function Bh(e, t, n) {
|
|
|
23114
23118
|
n = n.children;
|
|
23115
23119
|
for (var o = 0; o < n.length; o++) {
|
|
23116
23120
|
for (i = n[o]; s < i.index; s++)
|
|
23117
|
-
|
|
23121
|
+
Ve(t, r[s]);
|
|
23118
23122
|
i = sm(e, t, i);
|
|
23119
23123
|
}
|
|
23120
23124
|
for (; s < r.length - 1; s++)
|
|
23121
|
-
|
|
23125
|
+
Ve(t, r[s]);
|
|
23122
23126
|
return s < r.length && (i = jt(t, r[s])), i;
|
|
23123
23127
|
default:
|
|
23124
23128
|
throw Error(dt(390));
|
|
@@ -23129,7 +23133,7 @@ function sm(e, t, n) {
|
|
|
23129
23133
|
if (r === null)
|
|
23130
23134
|
return Bh(e, t, n);
|
|
23131
23135
|
if (r.parentFlushed = !0, r.forceClientRender)
|
|
23132
|
-
r = r.errorDigest, jt(t, ete),
|
|
23136
|
+
r = r.errorDigest, jt(t, ete), Ve(t, nte), r && (Ve(t, ite), Ve(t, gt(In(r))), Ve(t, rte)), jt(t, ste), Bh(e, t, n);
|
|
23133
23137
|
else if (0 < r.pendingTasks) {
|
|
23134
23138
|
r.rootSegmentID = e.nextSegmentId++, 0 < r.completedSegments.length && e.partialBoundaries.push(r);
|
|
23135
23139
|
var i = e.responseState, s = i.nextSuspenseID++;
|
|
@@ -23149,9 +23153,9 @@ function XE(e, t, n) {
|
|
|
23149
23153
|
function QE(e, t, n) {
|
|
23150
23154
|
for (var r = n.completedSegments, i = 0; i < r.length; i++)
|
|
23151
23155
|
kI(e, t, n, r[i]);
|
|
23152
|
-
if (r.length = 0, e = e.responseState, r = n.id, n = n.rootSegmentID,
|
|
23156
|
+
if (r.length = 0, e = e.responseState, r = n.id, n = n.rootSegmentID, Ve(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? Ve(t, Ite) : (e.sentCompleteBoundaryFunction = !0, Ve(t, Mte)), r === null)
|
|
23153
23157
|
throw Error(dt(395));
|
|
23154
|
-
return n = gt(n.toString(16)),
|
|
23158
|
+
return n = gt(n.toString(16)), Ve(t, r), Ve(t, Lte), Ve(t, e.segmentPrefix), Ve(t, n), jt(t, Nte);
|
|
23155
23159
|
}
|
|
23156
23160
|
function kI(e, t, n, r) {
|
|
23157
23161
|
if (r.status === 2)
|
|
@@ -23162,7 +23166,7 @@ function kI(e, t, n, r) {
|
|
|
23162
23166
|
throw Error(dt(392));
|
|
23163
23167
|
return XE(e, t, r);
|
|
23164
23168
|
}
|
|
23165
|
-
return XE(e, t, r), e = e.responseState,
|
|
23169
|
+
return XE(e, t, r), e = e.responseState, Ve(t, e.startInlineScript), e.sentCompleteSegmentFunction ? Ve(t, Pte) : (e.sentCompleteSegmentFunction = !0, Ve(t, kte)), Ve(t, e.segmentPrefix), i = gt(i.toString(16)), Ve(t, i), Ve(t, Ate), Ve(t, e.placeholderPrefix), Ve(t, i), jt(t, Rte);
|
|
23166
23170
|
}
|
|
23167
23171
|
function dx(e, t) {
|
|
23168
23172
|
Yr = new Uint8Array(512), qr = 0;
|
|
@@ -23172,7 +23176,7 @@ function dx(e, t) {
|
|
|
23172
23176
|
sm(e, t, n), e.completedRootSegment = null;
|
|
23173
23177
|
var r = e.responseState.bootstrapChunks;
|
|
23174
23178
|
for (n = 0; n < r.length - 1; n++)
|
|
23175
|
-
|
|
23179
|
+
Ve(t, r[n]);
|
|
23176
23180
|
n < r.length && jt(t, r[n]);
|
|
23177
23181
|
}
|
|
23178
23182
|
var i = e.clientRenderedBoundaries, s;
|
|
@@ -23180,12 +23184,12 @@ function dx(e, t) {
|
|
|
23180
23184
|
var o = i[s];
|
|
23181
23185
|
r = t;
|
|
23182
23186
|
var a = e.responseState, u = o.id, f = o.errorDigest, d = o.errorMessage, p = o.errorComponentStack;
|
|
23183
|
-
if (
|
|
23187
|
+
if (Ve(r, a.startInlineScript), a.sentClientRenderFunction ? Ve(r, Fte) : (a.sentClientRenderFunction = !0, Ve(
|
|
23184
23188
|
r,
|
|
23185
23189
|
$te
|
|
23186
23190
|
)), u === null)
|
|
23187
23191
|
throw Error(dt(395));
|
|
23188
|
-
|
|
23192
|
+
Ve(r, u), Ve(r, jte), (f || d || p) && (Ve(r, py), Ve(r, gt(gy(f || "")))), (d || p) && (Ve(r, py), Ve(r, gt(gy(d || "")))), p && (Ve(r, py), Ve(r, gt(gy(p)))), jt(r, Bte);
|
|
23189
23193
|
}
|
|
23190
23194
|
i.splice(0, s);
|
|
23191
23195
|
var v = e.completedBoundaries;
|
|
@@ -23406,7 +23410,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
23406
23410
|
}, hne = M.createContext(null);
|
|
23407
23411
|
function II(e) {
|
|
23408
23412
|
var t = e.children, n = t === void 0 ? "" : t, r = MI(e, ["children"]);
|
|
23409
|
-
return typeof n != "string" && (n = ine(n)),
|
|
23413
|
+
return typeof n != "string" && (n = ine(n)), je.createElement("template", RI({}, r, { dangerouslySetInnerHTML: { __html: n } }));
|
|
23410
23414
|
}
|
|
23411
23415
|
function LI(e) {
|
|
23412
23416
|
var t = e.root, n = e.children;
|
|
@@ -23428,17 +23432,17 @@ function pne(e) {
|
|
|
23428
23432
|
p.length > 0 && (b.adoptedStyleSheets = p), B(b);
|
|
23429
23433
|
} catch (q) {
|
|
23430
23434
|
(function(z) {
|
|
23431
|
-
var ae = z.error,
|
|
23435
|
+
var ae = z.error, ue = z.styleSheets, ge = z.root;
|
|
23432
23436
|
switch (ae.name) {
|
|
23433
23437
|
case "NotSupportedError":
|
|
23434
|
-
|
|
23438
|
+
ue.length > 0 && (ge.adoptedStyleSheets = ue);
|
|
23435
23439
|
break;
|
|
23436
23440
|
default:
|
|
23437
23441
|
throw ae;
|
|
23438
23442
|
}
|
|
23439
23443
|
})({ error: q, styleSheets: p, root: D });
|
|
23440
23444
|
}
|
|
23441
|
-
}, [r, E, p]),
|
|
23445
|
+
}, [r, E, p]), je.createElement(je.Fragment, null, je.createElement(e.tag, RI({ key: N, ref: E }, w), (D || y) && je.createElement(hne.Provider, { value: D }, y ? je.createElement(II, { shadowroot: a, shadowrootmode: a }, e.render({ root: D, ssr: y, children: S })) : je.createElement(LI, { root: D }, e.render({ root: D, ssr: y, children: S })))));
|
|
23442
23446
|
});
|
|
23443
23447
|
return t.propTypes = { mode: Wi.oneOf(["open", "closed"]), delegatesFocus: Wi.bool, styleSheets: Wi.arrayOf(Wi.instanceOf(globalThis.CSSStyleSheet)), ssr: Wi.bool, children: Wi.node }, t;
|
|
23444
23448
|
}
|
|
@@ -25873,7 +25877,7 @@ function Die(e) {
|
|
|
25873
25877
|
collect: (re) => ({
|
|
25874
25878
|
isDragging: re.isDragging()
|
|
25875
25879
|
})
|
|
25876
|
-
}), [{ isOver: ae, isOverCurrent:
|
|
25880
|
+
}), [{ isOver: ae, isOverCurrent: ue }, ge] = dg(
|
|
25877
25881
|
() => ({
|
|
25878
25882
|
accept: Cy,
|
|
25879
25883
|
collect: (re) => ({
|
|
@@ -25886,8 +25890,8 @@ function Die(e) {
|
|
|
25886
25890
|
}),
|
|
25887
25891
|
[]
|
|
25888
25892
|
);
|
|
25889
|
-
let
|
|
25890
|
-
return (
|
|
25893
|
+
let le = "hover-off";
|
|
25894
|
+
return (ue || ae) && (le = "hover-on"), z(ge(b)), /* @__PURE__ */ I.jsx(
|
|
25891
25895
|
"div",
|
|
25892
25896
|
{
|
|
25893
25897
|
ref: b,
|
|
@@ -25901,7 +25905,7 @@ function Die(e) {
|
|
|
25901
25905
|
transition: "transform 0.3s ease-in-out",
|
|
25902
25906
|
...P
|
|
25903
25907
|
},
|
|
25904
|
-
className: `item ${
|
|
25908
|
+
className: `item ${le}`,
|
|
25905
25909
|
children: /* @__PURE__ */ I.jsx(
|
|
25906
25910
|
IM,
|
|
25907
25911
|
{
|
|
@@ -25912,7 +25916,8 @@ function Die(e) {
|
|
|
25912
25916
|
item: N,
|
|
25913
25917
|
level: 1,
|
|
25914
25918
|
onSetFavoriteSuccess: y,
|
|
25915
|
-
isDrop: o
|
|
25919
|
+
isDrop: o,
|
|
25920
|
+
onClickItem: e.onClickItem
|
|
25916
25921
|
}
|
|
25917
25922
|
)
|
|
25918
25923
|
}
|
|
@@ -26154,7 +26159,7 @@ var hg = { exports: {} };
|
|
|
26154
26159
|
hg.exports;
|
|
26155
26160
|
(function(e, t) {
|
|
26156
26161
|
(function() {
|
|
26157
|
-
var n, r = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", a = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", f = 500, d = "__lodash_placeholder__", p = 1, v = 2, y = 4, S = 1, w = 2, E = 1, _ = 2, P = 4, D = 8, B = 16, N = 32, F = 64, b = 128, q = 256, z = 512, ae = 30,
|
|
26162
|
+
var n, r = "4.17.21", i = 200, s = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", o = "Expected a function", a = "Invalid `variable` option passed into `_.template`", u = "__lodash_hash_undefined__", f = 500, d = "__lodash_placeholder__", p = 1, v = 2, y = 4, S = 1, w = 2, E = 1, _ = 2, P = 4, D = 8, B = 16, N = 32, F = 64, b = 128, q = 256, z = 512, ae = 30, ue = "...", ge = 800, le = 16, re = 1, U = 2, Q = 3, te = 1 / 0, ne = 9007199254740991, fe = 17976931348623157e292, pe = NaN, Se = 4294967295, Oe = Se - 1, De = Se >>> 1, _e = [
|
|
26158
26163
|
["ary", b],
|
|
26159
26164
|
["bind", E],
|
|
26160
26165
|
["bindKey", _],
|
|
@@ -26164,7 +26169,7 @@ hg.exports;
|
|
|
26164
26169
|
["partial", N],
|
|
26165
26170
|
["partialRight", F],
|
|
26166
26171
|
["rearg", q]
|
|
26167
|
-
],
|
|
26172
|
+
], Fe = "[object Arguments]", Ze = "[object Array]", _t = "[object AsyncFunction]", rt = "[object Boolean]", mt = "[object Date]", St = "[object DOMException]", $e = "[object Error]", vt = "[object Function]", Wt = "[object GeneratorFunction]", kt = "[object Map]", zt = "[object Number]", dr = "[object Null]", gn = "[object Object]", cn = "[object Promise]", wo = "[object Proxy]", mn = "[object RegExp]", fn = "[object Set]", Yt = "[object String]", kn = "[object Symbol]", hr = "[object Undefined]", Me = "[object WeakMap]", qt = "[object WeakSet]", Pr = "[object ArrayBuffer]", Ar = "[object DataView]", xo = "[object Float32Array]", $n = "[object Float64Array]", Ki = "[object Int8Array]", Qn = "[object Int16Array]", Tn = "[object Int32Array]", pr = "[object Uint8Array]", Zn = "[object Uint8ClampedArray]", Xi = "[object Uint16Array]", ii = "[object Uint32Array]", ya = /\b__p \+= '';/g, Ol = /\b(__p \+=) '' \+/g, Ku = /(__e\(.*?\)|\b__t\)) \+\n'';/g, Mi = /&(?:amp|lt|gt|quot|#39);/g, Ii = /[&<>"']/g, ba = RegExp(Mi.source), wa = RegExp(Ii.source), Pn = /<%-([\s\S]+?)%>/g, _n = /<%([\s\S]+?)%>/g, So = /<%=([\s\S]+?)%>/g, Xu = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Co = /^\w*$/, Dl = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Fn = /[\\^$.*+?()[\]{}|]/g, si = RegExp(Fn.source), vn = /^\s+/, oi = /\s/, Qu = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Ds = /\{\n\/\* \[wrapped with (.+)\] \*/, xa = /,? & /, Sa = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, kl = /[()=,{}\[\]\/\s]/, Pl = /\\(\\)?/g, Ca = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Al = /\w*$/, Qi = /^[-+]0x[0-9a-f]+$/i, Rl = /^0b[01]+$/i, Ta = /^\[object .+?Constructor\]$/, it = /^0o[0-7]+$/i, dn = /^(?:0|[1-9]\d*)$/, bd = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ml = /($^)/, _a = /['\n\r\u2028\u2029\\]/g, Ea = "\\ud800-\\udfff", wd = "\\u0300-\\u036f", xd = "\\ufe20-\\ufe2f", Sd = "\\u20d0-\\u20ff", Cd = wd + xd + Sd, Il = "\\u2700-\\u27bf", Td = "a-z\\xdf-\\xf6\\xf8-\\xff", xm = "\\xac\\xb1\\xd7\\xf7", _d = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Ed = "\\u2000-\\u206f", Zu = " \\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", Ju = "A-Z\\xc0-\\xd6\\xd8-\\xde", An = "\\ufe0e\\ufe0f", ks = xm + _d + Ed + Zu, To = "['’]", Sm = "[" + Ea + "]", Od = "[" + ks + "]", _o = "[" + Cd + "]", ec = "\\d+", Ll = "[" + Il + "]", tc = "[" + Td + "]", Dd = "[^" + Ea + ks + ec + Il + Td + Ju + "]", nc = "\\ud83c[\\udffb-\\udfff]", Rr = "(?:" + _o + "|" + nc + ")", rc = "[^" + Ea + "]", Ps = "(?:\\ud83c[\\udde6-\\uddff]){2}", ic = "[\\ud800-\\udbff][\\udc00-\\udfff]", Eo = "[" + Ju + "]", Zi = "\\u200d", Ji = "(?:" + tc + "|" + Dd + ")", sc = "(?:" + Eo + "|" + Dd + ")", kd = "(?:" + To + "(?:d|ll|m|re|s|t|ve))?", Oo = "(?:" + To + "(?:D|LL|M|RE|S|T|VE))?", oc = Rr + "?", Nl = "[" + An + "]?", Pd = "(?:" + Zi + "(?:" + [rc, Ps, ic].join("|") + ")" + Nl + oc + ")*", Ad = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Cm = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", ac = Nl + oc + Pd, Tm = "(?:" + [Ll, Ps, ic].join("|") + ")" + ac, _m = "(?:" + [rc + _o + "?", _o, Ps, ic, Sm].join("|") + ")", lc = RegExp(To, "g"), Em = RegExp(_o, "g"), uc = RegExp(nc + "(?=" + nc + ")|" + _m + ac, "g"), Om = RegExp([
|
|
26168
26173
|
Eo + "?" + tc + "+" + kd + "(?=" + [Od, Eo, "$"].join("|") + ")",
|
|
26169
26174
|
sc + "+" + Oo + "(?=" + [Od, Eo + Ji, "$"].join("|") + ")",
|
|
26170
26175
|
Eo + "?" + Ji + "+" + kd,
|
|
@@ -26205,9 +26210,9 @@ hg.exports;
|
|
|
26205
26210
|
"parseInt",
|
|
26206
26211
|
"setTimeout"
|
|
26207
26212
|
], Am = -1, Mt = {};
|
|
26208
|
-
Mt[xo] = Mt[$n] = Mt[Ki] = Mt[Qn] = Mt[Tn] = Mt[pr] = Mt[Zn] = Mt[Xi] = Mt[ii] = !0, Mt[
|
|
26213
|
+
Mt[xo] = Mt[$n] = Mt[Ki] = Mt[Qn] = Mt[Tn] = Mt[pr] = Mt[Zn] = Mt[Xi] = Mt[ii] = !0, Mt[Fe] = Mt[Ze] = Mt[Pr] = Mt[rt] = Mt[Ar] = Mt[mt] = Mt[$e] = Mt[vt] = Mt[kt] = Mt[zt] = Mt[gn] = Mt[mn] = Mt[fn] = Mt[Yt] = Mt[Me] = !1;
|
|
26209
26214
|
var Pt = {};
|
|
26210
|
-
Pt[
|
|
26215
|
+
Pt[Fe] = Pt[Ze] = Pt[Pr] = Pt[Ar] = Pt[rt] = Pt[mt] = Pt[xo] = Pt[$n] = Pt[Ki] = Pt[Qn] = Pt[Tn] = Pt[kt] = Pt[zt] = Pt[gn] = Pt[mn] = Pt[fn] = Pt[Yt] = Pt[kn] = Pt[pr] = Pt[Zn] = Pt[Xi] = Pt[ii] = !0, Pt[$e] = Pt[vt] = Pt[Me] = !1;
|
|
26211
26216
|
var Rd = {
|
|
26212
26217
|
// Latin-1 Supplement block.
|
|
26213
26218
|
À: "A",
|
|
@@ -26798,12 +26803,12 @@ hg.exports;
|
|
|
26798
26803
|
return l;
|
|
26799
26804
|
}
|
|
26800
26805
|
function o$() {
|
|
26801
|
-
var l = this.__wrapped__.value(), c = this.__dir__, g = tt(l), C = c < 0, A = g ? l.length : 0, $ = yF(0, A, this.__views__), W = $.start, X = $.end, ee = X - W, ve = C ? X : W - 1, ye = this.__iteratees__, we = ye.length, Ee = 0,
|
|
26802
|
-
if (!g || !C && A == ee &&
|
|
26806
|
+
var l = this.__wrapped__.value(), c = this.__dir__, g = tt(l), C = c < 0, A = g ? l.length : 0, $ = yF(0, A, this.__views__), W = $.start, X = $.end, ee = X - W, ve = C ? X : W - 1, ye = this.__iteratees__, we = ye.length, Ee = 0, Be = Bn(ee, this.__takeCount__);
|
|
26807
|
+
if (!g || !C && A == ee && Be == ee)
|
|
26803
26808
|
return V1(l, this.__actions__);
|
|
26804
26809
|
var ze = [];
|
|
26805
26810
|
e:
|
|
26806
|
-
for (; ee-- && Ee <
|
|
26811
|
+
for (; ee-- && Ee < Be; ) {
|
|
26807
26812
|
ve += c;
|
|
26808
26813
|
for (var ut = -1, Ye = l[ve]; ++ut < we; ) {
|
|
26809
26814
|
var yt = ye[ut], xt = yt.iteratee, Fr = yt.type, ir = xt(Ye);
|
|
@@ -27023,7 +27028,7 @@ hg.exports;
|
|
|
27023
27028
|
var we = Vn(l), Ee = we == vt || we == Wt;
|
|
27024
27029
|
if (Lo(l))
|
|
27025
27030
|
return W1(l, X);
|
|
27026
|
-
if (we == gn || we ==
|
|
27031
|
+
if (we == gn || we == Fe || Ee && !A) {
|
|
27027
27032
|
if (W = ee || Ee ? {} : uS(l), !X)
|
|
27028
27033
|
return ee ? uF(l, R$(W, l)) : lF(l, w1(W, l));
|
|
27029
27034
|
} else {
|
|
@@ -27033,9 +27038,9 @@ hg.exports;
|
|
|
27033
27038
|
}
|
|
27034
27039
|
}
|
|
27035
27040
|
$ || ($ = new ji());
|
|
27036
|
-
var
|
|
27037
|
-
if (
|
|
27038
|
-
return
|
|
27041
|
+
var Be = $.get(l);
|
|
27042
|
+
if (Be)
|
|
27043
|
+
return Be;
|
|
27039
27044
|
$.set(l, W), FS(l) ? l.forEach(function(Ye) {
|
|
27040
27045
|
W.add(fi(Ye, c, g, Ye, l, $));
|
|
27041
27046
|
}) : NS(l) && l.forEach(function(Ye, yt) {
|
|
@@ -27169,14 +27174,14 @@ hg.exports;
|
|
|
27169
27174
|
var we = -1, Ee = X[0];
|
|
27170
27175
|
e:
|
|
27171
27176
|
for (; ++we < A && ve.length < ee; ) {
|
|
27172
|
-
var
|
|
27173
|
-
if (
|
|
27177
|
+
var Be = ye[we], ze = c ? c(Be) : Be;
|
|
27178
|
+
if (Be = g || Be !== 0 ? Be : 0, !(Ee ? ka(Ee, ze) : C(ve, ze, g))) {
|
|
27174
27179
|
for (W = $; --W; ) {
|
|
27175
27180
|
var ut = X[W];
|
|
27176
27181
|
if (!(ut ? ka(ut, ze) : C(l[W], ze, g)))
|
|
27177
27182
|
continue e;
|
|
27178
27183
|
}
|
|
27179
|
-
Ee && Ee.push(ze), ve.push(
|
|
27184
|
+
Ee && Ee.push(ze), ve.push(Be);
|
|
27180
27185
|
}
|
|
27181
27186
|
}
|
|
27182
27187
|
return ve;
|
|
@@ -27192,7 +27197,7 @@ hg.exports;
|
|
|
27192
27197
|
return C == null ? n : R(C, l, g);
|
|
27193
27198
|
}
|
|
27194
27199
|
function O1(l) {
|
|
27195
|
-
return en(l) && nr(l) ==
|
|
27200
|
+
return en(l) && nr(l) == Fe;
|
|
27196
27201
|
}
|
|
27197
27202
|
function B$(l) {
|
|
27198
27203
|
return en(l) && nr(l) == Pr;
|
|
@@ -27205,7 +27210,7 @@ hg.exports;
|
|
|
27205
27210
|
}
|
|
27206
27211
|
function U$(l, c, g, C, A, $) {
|
|
27207
27212
|
var W = tt(l), X = tt(c), ee = W ? Ze : Vn(l), ve = X ? Ze : Vn(c);
|
|
27208
|
-
ee = ee ==
|
|
27213
|
+
ee = ee == Fe ? gn : ee, ve = ve == Fe ? gn : ve;
|
|
27209
27214
|
var ye = ee == gn, we = ve == gn, Ee = ee == ve;
|
|
27210
27215
|
if (Ee && Lo(l)) {
|
|
27211
27216
|
if (!Lo(c))
|
|
@@ -27215,9 +27220,9 @@ hg.exports;
|
|
|
27215
27220
|
if (Ee && !ye)
|
|
27216
27221
|
return $ || ($ = new ji()), W || ql(l) ? oS(l, c, g, C, A, $) : gF(l, c, ee, g, C, A, $);
|
|
27217
27222
|
if (!(g & S)) {
|
|
27218
|
-
var
|
|
27219
|
-
if (
|
|
27220
|
-
var ut =
|
|
27223
|
+
var Be = ye && Xe.call(l, "__wrapped__"), ze = we && Xe.call(c, "__wrapped__");
|
|
27224
|
+
if (Be || ze) {
|
|
27225
|
+
var ut = Be ? l.value() : l, Ye = ze ? c.value() : c;
|
|
27221
27226
|
return $ || ($ = new ji()), A(ut, Ye, g, C, $);
|
|
27222
27227
|
}
|
|
27223
27228
|
}
|
|
@@ -27324,8 +27329,8 @@ hg.exports;
|
|
|
27324
27329
|
}
|
|
27325
27330
|
var ye = $ ? $(X, ee, g + "", l, c, W) : n, we = ye === n;
|
|
27326
27331
|
if (we) {
|
|
27327
|
-
var Ee = tt(ee),
|
|
27328
|
-
ye = ee, Ee ||
|
|
27332
|
+
var Ee = tt(ee), Be = !Ee && Lo(ee), ze = !Ee && !Be && ql(ee);
|
|
27333
|
+
ye = ee, Ee || Be || ze ? tt(X) ? ye = X : rn(X) ? ye = yr(X) : Be ? (we = !1, ye = W1(ee, !0)) : ze ? (we = !1, ye = z1(ee, !0)) : ye = [] : Pc(ee) || Fa(ee) ? (ye = X, Fa(X) ? ye = VS(X) : (!Qt(X) || js(X)) && (ye = uS(ee))) : we = !1;
|
|
27329
27334
|
}
|
|
27330
27335
|
we && (W.set(ee, ye), A(ye, ee, C, $, W), W.delete(ee)), Bm(l, g, ye);
|
|
27331
27336
|
}
|
|
@@ -27472,11 +27477,11 @@ hg.exports;
|
|
|
27472
27477
|
return 0;
|
|
27473
27478
|
c = g(c);
|
|
27474
27479
|
for (var W = c !== c, X = c === null, ee = $r(c), ve = c === n; A < $; ) {
|
|
27475
|
-
var ye = qd((A + $) / 2), we = g(l[ye]), Ee = we !== n,
|
|
27480
|
+
var ye = qd((A + $) / 2), we = g(l[ye]), Ee = we !== n, Be = we === null, ze = we === we, ut = $r(we);
|
|
27476
27481
|
if (W)
|
|
27477
27482
|
var Ye = C || ze;
|
|
27478
27483
|
else
|
|
27479
|
-
ve ? Ye = ze && (C || Ee) : X ? Ye = ze && Ee && (C || !
|
|
27484
|
+
ve ? Ye = ze && (C || Ee) : X ? Ye = ze && Ee && (C || !Be) : ee ? Ye = ze && Ee && !Be && (C || !ut) : Be || ut ? Ye = !1 : Ye = C ? we <= c : we < c;
|
|
27480
27485
|
Ye ? A = ye + 1 : $ = ye;
|
|
27481
27486
|
}
|
|
27482
27487
|
return Bn($, Oe);
|
|
@@ -27637,10 +27642,10 @@ hg.exports;
|
|
|
27637
27642
|
function G1(l, c, g, C) {
|
|
27638
27643
|
for (var A = -1, $ = l.length, W = -1, X = g.length, ee = -1, ve = c.length, ye = xn($ - X, 0), we = G(ye + ve), Ee = !C; ++A < ye; )
|
|
27639
27644
|
we[A] = l[A];
|
|
27640
|
-
for (var
|
|
27641
|
-
we[
|
|
27645
|
+
for (var Be = A; ++ee < ve; )
|
|
27646
|
+
we[Be + ee] = c[ee];
|
|
27642
27647
|
for (; ++W < X; )
|
|
27643
|
-
(Ee || A < $) && (we[
|
|
27648
|
+
(Ee || A < $) && (we[Be + g[W]] = l[A++]);
|
|
27644
27649
|
return we;
|
|
27645
27650
|
}
|
|
27646
27651
|
function yr(l, c) {
|
|
@@ -27809,13 +27814,13 @@ hg.exports;
|
|
|
27809
27814
|
});
|
|
27810
27815
|
}
|
|
27811
27816
|
function ih(l, c, g, C, A, $, W, X, ee, ve) {
|
|
27812
|
-
var ye = c & b, we = c & E, Ee = c & _,
|
|
27817
|
+
var ye = c & b, we = c & E, Ee = c & _, Be = c & (D | B), ze = c & z, ut = Ee ? n : Oc(l);
|
|
27813
27818
|
function Ye() {
|
|
27814
27819
|
for (var yt = arguments.length, xt = G(yt), Fr = yt; Fr--; )
|
|
27815
27820
|
xt[Fr] = arguments[Fr];
|
|
27816
|
-
if (
|
|
27821
|
+
if (Be)
|
|
27817
27822
|
var ir = Yl(Ye), jr = Ir(xt, ir);
|
|
27818
|
-
if (C && (xt = q1(xt, C, A,
|
|
27823
|
+
if (C && (xt = q1(xt, C, A, Be)), $ && (xt = G1(xt, $, W, Be)), yt -= jr, Be && yt < ve) {
|
|
27819
27824
|
var sn = Lr(xt, ir);
|
|
27820
27825
|
return nS(
|
|
27821
27826
|
l,
|
|
@@ -27893,13 +27898,13 @@ hg.exports;
|
|
|
27893
27898
|
};
|
|
27894
27899
|
}
|
|
27895
27900
|
function nS(l, c, g, C, A, $, W, X, ee, ve) {
|
|
27896
|
-
var ye = c & D, we = ye ? W : n, Ee = ye ? n : W,
|
|
27901
|
+
var ye = c & D, we = ye ? W : n, Ee = ye ? n : W, Be = ye ? $ : n, ze = ye ? n : $;
|
|
27897
27902
|
c |= ye ? N : F, c &= ~(ye ? F : N), c & P || (c &= -4);
|
|
27898
27903
|
var ut = [
|
|
27899
27904
|
l,
|
|
27900
27905
|
c,
|
|
27901
27906
|
A,
|
|
27902
|
-
|
|
27907
|
+
Be,
|
|
27903
27908
|
we,
|
|
27904
27909
|
ze,
|
|
27905
27910
|
Ee,
|
|
@@ -27937,7 +27942,7 @@ hg.exports;
|
|
|
27937
27942
|
var ye = C, we = A;
|
|
27938
27943
|
C = A = n;
|
|
27939
27944
|
}
|
|
27940
|
-
var Ee = ee ? n : lv(l),
|
|
27945
|
+
var Ee = ee ? n : lv(l), Be = [
|
|
27941
27946
|
l,
|
|
27942
27947
|
c,
|
|
27943
27948
|
g,
|
|
@@ -27949,12 +27954,12 @@ hg.exports;
|
|
|
27949
27954
|
W,
|
|
27950
27955
|
X
|
|
27951
27956
|
];
|
|
27952
|
-
if (Ee && DF(
|
|
27957
|
+
if (Ee && DF(Be, Ee), l = Be[0], c = Be[1], g = Be[2], C = Be[3], A = Be[4], X = Be[9] = Be[9] === n ? ee ? 0 : l.length : xn(Be[9] - ve, 0), !X && c & (D | B) && (c &= -25), !c || c == E)
|
|
27953
27958
|
var ze = cF(l, c, g);
|
|
27954
27959
|
else
|
|
27955
|
-
c == D || c == B ? ze = fF(l, c, X) : (c == N || c == (E | N)) && !A.length ? ze = dF(l, c, g, C) : ze = ih.apply(n,
|
|
27960
|
+
c == D || c == B ? ze = fF(l, c, X) : (c == N || c == (E | N)) && !A.length ? ze = dF(l, c, g, C) : ze = ih.apply(n, Be);
|
|
27956
27961
|
var ut = Ee ? $1 : pS;
|
|
27957
|
-
return gS(ut(ze,
|
|
27962
|
+
return gS(ut(ze, Be), l, c);
|
|
27958
27963
|
}
|
|
27959
27964
|
function iS(l, c, g, C) {
|
|
27960
27965
|
return l === n || Bi(l, wn[g]) && !Xe.call(C, g) ? c : l;
|
|
@@ -27972,7 +27977,7 @@ hg.exports;
|
|
|
27972
27977
|
var ve = $.get(l), ye = $.get(c);
|
|
27973
27978
|
if (ve && ye)
|
|
27974
27979
|
return ve == c && ye == l;
|
|
27975
|
-
var we = -1, Ee = !0,
|
|
27980
|
+
var we = -1, Ee = !0, Be = g & w ? new Ma() : n;
|
|
27976
27981
|
for ($.set(l, c), $.set(c, l); ++we < X; ) {
|
|
27977
27982
|
var ze = l[we], ut = c[we];
|
|
27978
27983
|
if (C)
|
|
@@ -27983,10 +27988,10 @@ hg.exports;
|
|
|
27983
27988
|
Ee = !1;
|
|
27984
27989
|
break;
|
|
27985
27990
|
}
|
|
27986
|
-
if (
|
|
27991
|
+
if (Be) {
|
|
27987
27992
|
if (!Xt(c, function(yt, xt) {
|
|
27988
|
-
if (!ka(
|
|
27989
|
-
return
|
|
27993
|
+
if (!ka(Be, xt) && (ze === yt || A(ze, yt, g, C, $)))
|
|
27994
|
+
return Be.push(xt);
|
|
27990
27995
|
})) {
|
|
27991
27996
|
Ee = !1;
|
|
27992
27997
|
break;
|
|
@@ -28042,9 +28047,9 @@ hg.exports;
|
|
|
28042
28047
|
if (!(W ? Ee in c : Xe.call(c, Ee)))
|
|
28043
28048
|
return !1;
|
|
28044
28049
|
}
|
|
28045
|
-
var
|
|
28046
|
-
if (
|
|
28047
|
-
return
|
|
28050
|
+
var Be = $.get(l), ze = $.get(c);
|
|
28051
|
+
if (Be && ze)
|
|
28052
|
+
return Be == c && ze == l;
|
|
28048
28053
|
var ut = !0;
|
|
28049
28054
|
$.set(l, c), $.set(c, l);
|
|
28050
28055
|
for (var Ye = W; ++we < ee; ) {
|
|
@@ -28336,7 +28341,7 @@ hg.exports;
|
|
|
28336
28341
|
function mS(l) {
|
|
28337
28342
|
var c = 0, g = 0;
|
|
28338
28343
|
return function() {
|
|
28339
|
-
var C = XN(), A =
|
|
28344
|
+
var C = XN(), A = le - (C - g);
|
|
28340
28345
|
if (g = C, A > 0) {
|
|
28341
28346
|
if (++c >= ge)
|
|
28342
28347
|
return arguments[0];
|
|
@@ -28871,12 +28876,12 @@ hg.exports;
|
|
|
28871
28876
|
if (typeof l != "function")
|
|
28872
28877
|
throw new ct(o);
|
|
28873
28878
|
c = pi(c) || 0, Qt(g) && (ye = !!g.leading, we = "maxWait" in g, $ = we ? xn(pi(g.maxWait) || 0, c) : $, Ee = "trailing" in g ? !!g.trailing : Ee);
|
|
28874
|
-
function
|
|
28879
|
+
function Be(sn) {
|
|
28875
28880
|
var Vi = C, Vs = A;
|
|
28876
28881
|
return C = A = n, ve = sn, W = l.apply(Vs, Vi), W;
|
|
28877
28882
|
}
|
|
28878
28883
|
function ze(sn) {
|
|
28879
|
-
return ve = sn, X = kc(yt, c), ye ?
|
|
28884
|
+
return ve = sn, X = kc(yt, c), ye ? Be(sn) : W;
|
|
28880
28885
|
}
|
|
28881
28886
|
function ut(sn) {
|
|
28882
28887
|
var Vi = sn - ee, Vs = sn - ve, ZS = c - Vi;
|
|
@@ -28893,7 +28898,7 @@ hg.exports;
|
|
|
28893
28898
|
X = kc(yt, ut(sn));
|
|
28894
28899
|
}
|
|
28895
28900
|
function xt(sn) {
|
|
28896
|
-
return X = n, Ee && C ?
|
|
28901
|
+
return X = n, Ee && C ? Be(sn) : (C = A = n, W);
|
|
28897
28902
|
}
|
|
28898
28903
|
function Fr() {
|
|
28899
28904
|
X !== n && H1(X), ve = 0, C = ee = A = X = n;
|
|
@@ -28907,7 +28912,7 @@ hg.exports;
|
|
|
28907
28912
|
if (X === n)
|
|
28908
28913
|
return ze(ee);
|
|
28909
28914
|
if (we)
|
|
28910
|
-
return H1(X), X = kc(yt, c),
|
|
28915
|
+
return H1(X), X = kc(yt, c), Be(ee);
|
|
28911
28916
|
}
|
|
28912
28917
|
return X === n && (X = kc(yt, c)), W;
|
|
28913
28918
|
}
|
|
@@ -29453,7 +29458,7 @@ hg.exports;
|
|
|
29453
29458
|
var A = yh({}, c.imports, C.imports, iS), $ = On(A), W = hc(A, $), X, ee, ve = 0, ye = c.interpolate || Ml, we = "__p += '", Ee = ot(
|
|
29454
29459
|
(c.escape || Ml).source + "|" + ye.source + "|" + (ye === So ? Ca : Ml).source + "|" + (c.evaluate || Ml).source + "|$",
|
|
29455
29460
|
"g"
|
|
29456
|
-
),
|
|
29461
|
+
), Be = "//# sourceURL=" + (Xe.call(c, "sourceURL") ? (c.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Am + "]") + `
|
|
29457
29462
|
`;
|
|
29458
29463
|
l.replace(Ee, function(Ye, yt, xt, Fr, ir, jr) {
|
|
29459
29464
|
return xt || (xt = Fr), we += l.slice(ve, jr).replace(_a, Lm), yt && (X = !0, we += `' +
|
|
@@ -29481,7 +29486,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
29481
29486
|
`) + we + `return __p
|
|
29482
29487
|
}`;
|
|
29483
29488
|
var ut = XS(function() {
|
|
29484
|
-
return Ie($,
|
|
29489
|
+
return Ie($, Be + "return " + we).apply(n, W);
|
|
29485
29490
|
});
|
|
29486
29491
|
if (ut.source = we, bv(ut))
|
|
29487
29492
|
throw ut;
|
|
@@ -29518,7 +29523,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
29518
29523
|
return Io(C, A).join("");
|
|
29519
29524
|
}
|
|
29520
29525
|
function r3(l, c) {
|
|
29521
|
-
var g = ae, C =
|
|
29526
|
+
var g = ae, C = ue;
|
|
29522
29527
|
if (Qt(c)) {
|
|
29523
29528
|
var A = "separator" in c ? c.separator : A;
|
|
29524
29529
|
g = "length" in c ? at(c.length) : g, C = "omission" in c ? Nr(c.omission) : C;
|
|
@@ -29783,7 +29788,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
29783
29788
|
return C && Ee ? xt[0] : xt;
|
|
29784
29789
|
};
|
|
29785
29790
|
ye && g && typeof ve == "function" && ve.length != 1 && (ee = ye = !1);
|
|
29786
|
-
var Ee = this.__chain__,
|
|
29791
|
+
var Ee = this.__chain__, Be = !!this.__actions__.length, ze = $ && !Ee, ut = ee && !Be;
|
|
29787
29792
|
if (!$ && ye) {
|
|
29788
29793
|
W = ut ? W : new bt(this);
|
|
29789
29794
|
var Ye = l.apply(W, X);
|
|
@@ -30032,8 +30037,8 @@ var sL = { exports: {} };
|
|
|
30032
30037
|
function z(h, m) {
|
|
30033
30038
|
return h.nodeName && h.nodeName.toLowerCase() === m.toLowerCase();
|
|
30034
30039
|
}
|
|
30035
|
-
var ae = r.pop,
|
|
30036
|
-
"^" +
|
|
30040
|
+
var ae = r.pop, ue = r.sort, ge = r.splice, le = "[\\x20\\t\\r\\n\\f]", re = new RegExp(
|
|
30041
|
+
"^" + le + "+|((?:^|[^\\\\])(?:\\\\.)*)" + le + "+$",
|
|
30037
30042
|
"g"
|
|
30038
30043
|
);
|
|
30039
30044
|
b.contains = function(h, m) {
|
|
@@ -30053,23 +30058,23 @@ var sL = { exports: {} };
|
|
|
30053
30058
|
(function() {
|
|
30054
30059
|
var h, m, x, T, O, k = ne, R, Y, H, J, ce, de = b.expando, se = 0, xe = 0, Re = Pa(), et = Pa(), Je = Pa(), yn = Pa(), Xt = function(V, Z) {
|
|
30055
30060
|
return V === Z && (O = !0), 0;
|
|
30056
|
-
}, ai = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", li = "(?:\\\\[\\da-fA-F]{1,6}" +
|
|
30057
|
-
"*([*^$|!~]?=)" +
|
|
30058
|
-
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + li + "))|)" +
|
|
30061
|
+
}, ai = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", li = "(?:\\\\[\\da-fA-F]{1,6}" + le + "?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+", ht = "\\[" + le + "*(" + li + ")(?:" + le + // Operator (capture 2)
|
|
30062
|
+
"*([*^$|!~]?=)" + le + // "Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]"
|
|
30063
|
+
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + li + "))|)" + le + "*\\]", es = ":(" + li + `)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|` + ht + ")*)|.*)\\)|)", pt = new RegExp(le + "+", "g"), Rt = new RegExp("^" + le + "*," + le + "*"), Oa = new RegExp("^" + le + "*([>+~]|" + le + ")" + le + "*"), Fl = new RegExp(le + "|>"), Mr = new RegExp(es), As = new RegExp("^" + li + "$"), mr = {
|
|
30059
30064
|
ID: new RegExp("^#(" + li + ")"),
|
|
30060
30065
|
CLASS: new RegExp("^\\.(" + li + ")"),
|
|
30061
30066
|
TAG: new RegExp("^(" + li + "|[*])"),
|
|
30062
30067
|
ATTR: new RegExp("^" + ht),
|
|
30063
30068
|
PSEUDO: new RegExp("^" + es),
|
|
30064
30069
|
CHILD: new RegExp(
|
|
30065
|
-
"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" +
|
|
30070
|
+
"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + le + "*(even|odd|(([+-]|)(\\d*)n|)" + le + "*(?:([+-]|)" + le + "*(\\d+)|))" + le + "*\\)|)",
|
|
30066
30071
|
"i"
|
|
30067
30072
|
),
|
|
30068
30073
|
bool: new RegExp("^(?:" + ai + ")$", "i"),
|
|
30069
30074
|
// For use in libraries implementing .is()
|
|
30070
30075
|
// We use this for POS matching in `select`
|
|
30071
|
-
needsContext: new RegExp("^" +
|
|
30072
|
-
}, Ni = /^(?:input|select|textarea|button)$/i, ts = /^h\d$/i, jn = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Da = /[+~]/, $i = new RegExp("\\\\[\\da-fA-F]{1,6}" +
|
|
30076
|
+
needsContext: new RegExp("^" + le + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + le + "*((?:-\\d)?\\d*)" + le + "*\\)|)(?=[^-]|$)", "i")
|
|
30077
|
+
}, Ni = /^(?:input|select|textarea|button)$/i, ts = /^h\d$/i, jn = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/, Da = /[+~]/, $i = new RegExp("\\\\[\\da-fA-F]{1,6}" + le + "?|\\\\([^\\r\\n\\f])", "g"), ui = function(V, Z) {
|
|
30073
30078
|
var ie = "0x" + V.slice(1) - 65536;
|
|
30074
30079
|
return Z || (ie < 0 ? String.fromCharCode(ie + 65536) : String.fromCharCode(ie >> 10 | 55296, ie & 1023 | 56320));
|
|
30075
30080
|
}, Jn = function() {
|
|
@@ -30242,7 +30247,7 @@ var sL = { exports: {} };
|
|
|
30242
30247
|
return j.getElementsByClassName(oe);
|
|
30243
30248
|
}, J = [], Do(function(oe) {
|
|
30244
30249
|
var j;
|
|
30245
|
-
Y.appendChild(oe).innerHTML = "<a id='" + de + "' href='' disabled='disabled'></a><select id='" + de + "-\r\\' disabled='disabled'><option selected=''></option></select>", oe.querySelectorAll("[selected]").length || J.push("\\[" +
|
|
30250
|
+
Y.appendChild(oe).innerHTML = "<a id='" + de + "' href='' disabled='disabled'></a><select id='" + de + "-\r\\' disabled='disabled'><option selected=''></option></select>", oe.querySelectorAll("[selected]").length || J.push("\\[" + le + "*(?:value|" + ai + ")"), oe.querySelectorAll("[id~=" + de + "-]").length || J.push("~="), oe.querySelectorAll("a#" + de + "+*").length || J.push(".#.+[+~]"), oe.querySelectorAll(":checked").length || J.push(":checked"), j = R.createElement("input"), j.setAttribute("type", "hidden"), oe.appendChild(j).setAttribute("name", "D"), Y.appendChild(oe).disabled = !0, oe.querySelectorAll(":disabled").length !== 2 && J.push(":enabled", ":disabled"), j = R.createElement("input"), j.setAttribute("name", ""), oe.appendChild(j), oe.querySelectorAll("[name='']").length || J.push("\\[" + le + "*name" + le + "*=" + le + `*(?:''|"")`);
|
|
30246
30251
|
}), S.cssHas || J.push(":has"), J = J.length && new RegExp(J.join("|")), Xt = function(oe, j) {
|
|
30247
30252
|
if (oe === j)
|
|
30248
30253
|
return O = !0, 0;
|
|
@@ -30277,7 +30282,7 @@ var sL = { exports: {} };
|
|
|
30277
30282
|
throw new Error("Syntax error, unrecognized expression: " + V);
|
|
30278
30283
|
}, b.uniqueSort = function(V) {
|
|
30279
30284
|
var Z, ie = [], oe = 0, j = 0;
|
|
30280
|
-
if (O = !S.sortStable, T = !S.sortStable && s.call(V, 0),
|
|
30285
|
+
if (O = !S.sortStable, T = !S.sortStable && s.call(V, 0), ue.call(V, Xt), O) {
|
|
30281
30286
|
for (; Z = V[j++]; )
|
|
30282
30287
|
Z === V[j] && (oe = ie.push(j));
|
|
30283
30288
|
for (; oe--; )
|
|
@@ -30324,7 +30329,7 @@ var sL = { exports: {} };
|
|
|
30324
30329
|
},
|
|
30325
30330
|
CLASS: function(V) {
|
|
30326
30331
|
var Z = Re[V + " "];
|
|
30327
|
-
return Z || (Z = new RegExp("(^|" +
|
|
30332
|
+
return Z || (Z = new RegExp("(^|" + le + ")" + V + "(" + le + "|$)")) && Re(V, function(ie) {
|
|
30328
30333
|
return Z.test(
|
|
30329
30334
|
typeof ie.className == "string" && ie.className || typeof ie.getAttribute < "u" && ie.getAttribute("class") || ""
|
|
30330
30335
|
);
|
|
@@ -30779,12 +30784,12 @@ var sL = { exports: {} };
|
|
|
30779
30784
|
).length;
|
|
30780
30785
|
}
|
|
30781
30786
|
});
|
|
30782
|
-
var _e,
|
|
30787
|
+
var _e, Fe = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Ze = b.fn.init = function(h, m, x) {
|
|
30783
30788
|
var T, O;
|
|
30784
30789
|
if (!h)
|
|
30785
30790
|
return this;
|
|
30786
30791
|
if (x = x || _e, typeof h == "string")
|
|
30787
|
-
if (h[0] === "<" && h[h.length - 1] === ">" && h.length >= 3 ? T = [null, h, null] : T =
|
|
30792
|
+
if (h[0] === "<" && h[h.length - 1] === ">" && h.length >= 3 ? T = [null, h, null] : T = Fe.exec(h), T && (T[1] || !m))
|
|
30788
30793
|
if (T[1]) {
|
|
30789
30794
|
if (m = m instanceof b ? m[0] : m, b.merge(this, b.parseHTML(
|
|
30790
30795
|
T[1],
|
|
@@ -33567,10 +33572,10 @@ const $ie = /* @__PURE__ */ q3(F7);
|
|
|
33567
33572
|
z += "<thead>", z += "<tr>", (this.showWeekNumbers || this.showISOWeekNumbers) && (z += "<th></th>"), (!b || b.isBefore(_.firstDay)) && (!this.linkedCalendars || i == "left") ? z += '<th class="prev available"><span></span></th>' : z += "<th></th>";
|
|
33568
33573
|
var ae = this.locale.monthNames[_[1][1].month()] + _[1][1].format(" YYYY");
|
|
33569
33574
|
if (this.showDropdowns) {
|
|
33570
|
-
for (var
|
|
33571
|
-
(!U || b && ne >= b.month()) && (!Q || q && ne <= q.month()) ? te += "<option value='" + ne + "'" + (ne ===
|
|
33575
|
+
for (var ue = _[1][1].month(), ge = _[1][1].year(), le = q && q.year() || this.maxYear, re = b && b.year() || this.minYear, U = ge == re, Q = ge == le, te = '<select class="monthselect">', ne = 0; ne < 12; ne++)
|
|
33576
|
+
(!U || b && ne >= b.month()) && (!Q || q && ne <= q.month()) ? te += "<option value='" + ne + "'" + (ne === ue ? " selected='selected'" : "") + ">" + this.locale.monthNames[ne] + "</option>" : te += "<option value='" + ne + "'" + (ne === ue ? " selected='selected'" : "") + " disabled='disabled'>" + this.locale.monthNames[ne] + "</option>";
|
|
33572
33577
|
te += "</select>";
|
|
33573
|
-
for (var fe = '<select class="yearselect">', pe = re; pe <=
|
|
33578
|
+
for (var fe = '<select class="yearselect">', pe = re; pe <= le; pe++)
|
|
33574
33579
|
fe += '<option value="' + pe + '"' + (pe === ge ? ' selected="selected"' : "") + ">" + pe + "</option>";
|
|
33575
33580
|
fe += "</select>", ae = te + fe;
|
|
33576
33581
|
}
|
|
@@ -33587,9 +33592,9 @@ const $ie = /* @__PURE__ */ q3(F7);
|
|
|
33587
33592
|
_[F][N].isSame(/* @__PURE__ */ new Date(), "day") && Oe.push("today"), _[F][N].isoWeekday() > 5 && Oe.push("weekend"), _[F][N].month() != _[1][1].month() && Oe.push("off", "ends"), this.minDate && _[F][N].isBefore(this.minDate, "day") && Oe.push("off", "disabled"), q && _[F][N].isAfter(q, "day") && Oe.push("off", "disabled"), this.isInvalidDate(_[F][N]) && Oe.push("off", "disabled"), _[F][N].format("YYYY-MM-DD") == this.startDate.format("YYYY-MM-DD") && Oe.push("active", "start-date"), this.endDate != null && _[F][N].format("YYYY-MM-DD") == this.endDate.format("YYYY-MM-DD") && Oe.push("active", "end-date"), this.endDate != null && _[F][N] > this.startDate && _[F][N] < this.endDate && Oe.push("in-range");
|
|
33588
33593
|
var De = this.isCustomDate(_[F][N]);
|
|
33589
33594
|
De !== !1 && (typeof De == "string" ? Oe.push(De) : Array.prototype.push.apply(Oe, De));
|
|
33590
|
-
for (var _e = "",
|
|
33591
|
-
_e += Oe[P] + " ", Oe[P] == "disabled" && (
|
|
33592
|
-
|
|
33595
|
+
for (var _e = "", Fe = !1, P = 0; P < Oe.length; P++)
|
|
33596
|
+
_e += Oe[P] + " ", Oe[P] == "disabled" && (Fe = !0);
|
|
33597
|
+
Fe || (_e += "available"), z += '<td class="' + _e.replace(/^\s+|\s+$/g, "") + '" data-title="r' + F + "c" + N + '">' + _[F][N].date() + "</td>";
|
|
33593
33598
|
}
|
|
33594
33599
|
z += "</tr>";
|
|
33595
33600
|
}
|
|
@@ -37143,7 +37148,7 @@ const NO = (e) => {
|
|
|
37143
37148
|
};
|
|
37144
37149
|
});
|
|
37145
37150
|
}).catch((o) => console.log("failed: ", o)), /* @__PURE__ */ I.jsx(I.Fragment, {});
|
|
37146
|
-
}, $ae = (e, t) =>
|
|
37151
|
+
}, $ae = (e, t) => je.cloneElement(t, {}, e), Fae = ({
|
|
37147
37152
|
children: e,
|
|
37148
37153
|
providers: t
|
|
37149
37154
|
}) => /* @__PURE__ */ I.jsx(I.Fragment, { children: t.reduceRight($ae, e) }), Mu = /* @__PURE__ */ new Map();
|
|
@@ -37352,9 +37357,9 @@ var dl = function(e) {
|
|
|
37352
37357
|
return Wh.get(e);
|
|
37353
37358
|
if (HL(e))
|
|
37354
37359
|
return Wh.set(e, VO), VO;
|
|
37355
|
-
var n = getComputedStyle(e), r = Px(e) && e.ownerSVGElement && e.getBBox(), i = !Jae && n.boxSizing === "border-box", s = Zae.test(n.writingMode || ""), o = !r && BO.test(n.overflowY || ""), a = !r && BO.test(n.overflowX || ""), u = r ? 0 : us(n.paddingTop), f = r ? 0 : us(n.paddingRight), d = r ? 0 : us(n.paddingBottom), p = r ? 0 : us(n.paddingLeft), v = r ? 0 : us(n.borderTopWidth), y = r ? 0 : us(n.borderRightWidth), S = r ? 0 : us(n.borderBottomWidth), w = r ? 0 : us(n.borderLeftWidth), E = p + f, _ = u + d, P = w + y, D = v + S, B = a ? e.offsetHeight - D - e.clientHeight : 0, N = o ? e.offsetWidth - P - e.clientWidth : 0, F = i ? E + P : 0, b = i ? _ + D : 0, q = r ? r.width : us(n.width) - F - N, z = r ? r.height : us(n.height) - b - B, ae = q + E + N + P,
|
|
37360
|
+
var n = getComputedStyle(e), r = Px(e) && e.ownerSVGElement && e.getBBox(), i = !Jae && n.boxSizing === "border-box", s = Zae.test(n.writingMode || ""), o = !r && BO.test(n.overflowY || ""), a = !r && BO.test(n.overflowX || ""), u = r ? 0 : us(n.paddingTop), f = r ? 0 : us(n.paddingRight), d = r ? 0 : us(n.paddingBottom), p = r ? 0 : us(n.paddingLeft), v = r ? 0 : us(n.borderTopWidth), y = r ? 0 : us(n.borderRightWidth), S = r ? 0 : us(n.borderBottomWidth), w = r ? 0 : us(n.borderLeftWidth), E = p + f, _ = u + d, P = w + y, D = v + S, B = a ? e.offsetHeight - D - e.clientHeight : 0, N = o ? e.offsetWidth - P - e.clientWidth : 0, F = i ? E + P : 0, b = i ? _ + D : 0, q = r ? r.width : us(n.width) - F - N, z = r ? r.height : us(n.height) - b - B, ae = q + E + N + P, ue = z + _ + B + D, ge = dl({
|
|
37356
37361
|
devicePixelContentBoxSize: Cu(Math.round(q * devicePixelRatio), Math.round(z * devicePixelRatio), s),
|
|
37357
|
-
borderBoxSize: Cu(ae,
|
|
37362
|
+
borderBoxSize: Cu(ae, ue, s),
|
|
37358
37363
|
contentBoxSize: Cu(q, z, s),
|
|
37359
37364
|
contentRect: new UL(p, u, q, z)
|
|
37360
37365
|
});
|
|
@@ -40237,24 +40242,24 @@ function nfe(e) {
|
|
|
40237
40242
|
_ === u && P.isActive && !F && B || // If we removed a higher-priority variant (i is in reverse order)
|
|
40238
40243
|
E > S && B, z = !1;
|
|
40239
40244
|
const ae = Array.isArray(D) ? D : [D];
|
|
40240
|
-
let
|
|
40241
|
-
N === !1 && (
|
|
40242
|
-
const { prevResolvedValues: ge = {} } = P,
|
|
40245
|
+
let ue = ae.reduce(i(_), {});
|
|
40246
|
+
N === !1 && (ue = {});
|
|
40247
|
+
const { prevResolvedValues: ge = {} } = P, le = {
|
|
40243
40248
|
...ge,
|
|
40244
|
-
...
|
|
40249
|
+
...ue
|
|
40245
40250
|
}, re = (te) => {
|
|
40246
40251
|
q = !0, v.has(te) && (z = !0, v.delete(te)), P.needsAnimating[te] = !0;
|
|
40247
40252
|
const ne = e.getValue(te);
|
|
40248
40253
|
ne && (ne.liveStyle = !1);
|
|
40249
40254
|
};
|
|
40250
|
-
for (const te in
|
|
40251
|
-
const ne =
|
|
40255
|
+
for (const te in le) {
|
|
40256
|
+
const ne = ue[te], fe = ge[te];
|
|
40252
40257
|
if (y.hasOwnProperty(te))
|
|
40253
40258
|
continue;
|
|
40254
40259
|
let pe = !1;
|
|
40255
40260
|
hb(ne) && hb(fe) ? pe = !g2(ne, fe) : pe = ne !== fe, pe ? ne != null ? re(te) : v.add(te) : ne !== void 0 && v.has(te) ? re(te) : P.protectedKeys[te] = !0;
|
|
40256
40261
|
}
|
|
40257
|
-
P.prevProp = D, P.prevResolvedValues =
|
|
40262
|
+
P.prevProp = D, P.prevResolvedValues = ue, P.isActive && (y = { ...y, ...ue }), r && e.blockInitialAnimation && (q = !1), q && (!(F && b) || z) && p.push(...ae.map((te) => ({
|
|
40258
40263
|
animation: te,
|
|
40259
40264
|
options: { type: _ }
|
|
40260
40265
|
})));
|
|
@@ -42302,7 +42307,7 @@ function Vde(e) {
|
|
|
42302
42307
|
right: q,
|
|
42303
42308
|
x: z,
|
|
42304
42309
|
y: ae
|
|
42305
|
-
} = u.current.element.getBoundingClientRect(),
|
|
42310
|
+
} = u.current.element.getBoundingClientRect(), ue = {
|
|
42306
42311
|
left: D,
|
|
42307
42312
|
top: B,
|
|
42308
42313
|
width: N,
|
|
@@ -42312,7 +42317,7 @@ function Vde(e) {
|
|
|
42312
42317
|
x: z,
|
|
42313
42318
|
y: ae
|
|
42314
42319
|
};
|
|
42315
|
-
u.current.element instanceof HTMLElement && i && (
|
|
42320
|
+
u.current.element instanceof HTMLElement && i && (ue.height = u.current.element.offsetHeight, ue.width = u.current.element.offsetWidth), Object.freeze(ue), p.current && !zde(u.current.lastBounds, ue) && a(u.current.lastBounds = ue);
|
|
42316
42321
|
};
|
|
42317
42322
|
return [P, d ? lk(P, d) : P, f ? lk(P, f) : P];
|
|
42318
42323
|
}, [a, i, f, d]);
|
|
@@ -42817,10 +42822,10 @@ function ahe(e) {
|
|
|
42817
42822
|
var N = d === 0;
|
|
42818
42823
|
return M.useEffect(function() {
|
|
42819
42824
|
v && E(!0);
|
|
42820
|
-
}, [N]),
|
|
42825
|
+
}, [N]), je.createElement(
|
|
42821
42826
|
jde.div,
|
|
42822
42827
|
{ style: P ? { overflow: "hidden" } : void 0, onAnimationComplete: B, initial: w ? "open" : "close", animate: w ? "open" : "close", inherit: !1, variants: o, transition: { ease: r, duration: lhe(d, i) } },
|
|
42823
|
-
|
|
42828
|
+
je.createElement("div", { ref: f }, v && a)
|
|
42824
42829
|
);
|
|
42825
42830
|
}
|
|
42826
42831
|
function lhe(e, t) {
|
|
@@ -42835,7 +42840,7 @@ var kN = M.createContext({}), uhe = {
|
|
|
42835
42840
|
isLock: !1
|
|
42836
42841
|
}, che = function(e) {
|
|
42837
42842
|
var t = M.useState(uhe.isLock), n = t[0], r = t[1];
|
|
42838
|
-
return
|
|
42843
|
+
return je.createElement(kN.Provider, { value: {
|
|
42839
42844
|
isLock: n,
|
|
42840
42845
|
lock: function() {
|
|
42841
42846
|
return r(!0);
|
|
@@ -42853,7 +42858,7 @@ var kN = M.createContext({}), uhe = {
|
|
|
42853
42858
|
}, u = function() {
|
|
42854
42859
|
r(Xh.dropTargetId), o(Xh.index);
|
|
42855
42860
|
};
|
|
42856
|
-
return
|
|
42861
|
+
return je.createElement(yd.Provider, { value: {
|
|
42857
42862
|
dropTargetId: n,
|
|
42858
42863
|
index: s,
|
|
42859
42864
|
showPlaceholder: a,
|
|
@@ -43069,15 +43074,15 @@ var kN = M.createContext({}), uhe = {
|
|
|
43069
43074
|
} : void 0, onToggle: function(y) {
|
|
43070
43075
|
return i(y, e.onChangeOpen);
|
|
43071
43076
|
} });
|
|
43072
|
-
return
|
|
43077
|
+
return je.createElement(MN.Provider, { value: v }, e.children);
|
|
43073
43078
|
}, xhe = function(e) {
|
|
43074
|
-
return
|
|
43079
|
+
return je.createElement(
|
|
43075
43080
|
whe,
|
|
43076
43081
|
Pi({}, e),
|
|
43077
|
-
|
|
43082
|
+
je.createElement(
|
|
43078
43083
|
che,
|
|
43079
43084
|
null,
|
|
43080
|
-
|
|
43085
|
+
je.createElement(fhe, null, e.children)
|
|
43081
43086
|
)
|
|
43082
43087
|
);
|
|
43083
43088
|
}, She = function(e) {
|
|
@@ -43323,23 +43328,23 @@ var kN = M.createContext({}), uhe = {
|
|
|
43323
43328
|
handleRef: i,
|
|
43324
43329
|
onToggle: P
|
|
43325
43330
|
}, b = "";
|
|
43326
|
-
return a != null && a.listItem && (b = typeof a.listItem == "string" ? a.listItem : a.listItem(s, F)), w && (a != null && a.dropTarget) && (b = "".concat(b, " ").concat(a.dropTarget)), p && (a != null && a.draggingSource) && (b = "".concat(b, " ").concat(a.draggingSource)),
|
|
43331
|
+
return a != null && a.listItem && (b = typeof a.listItem == "string" ? a.listItem : a.listItem(s, F)), w && (a != null && a.dropTarget) && (b = "".concat(b, " ").concat(a.dropTarget)), p && (a != null && a.draggingSource) && (b = "".concat(b, " ").concat(a.draggingSource)), je.createElement(
|
|
43327
43332
|
D,
|
|
43328
43333
|
{ ref: r, className: b, role: "listitem" },
|
|
43329
43334
|
t.render(s, F),
|
|
43330
|
-
u && F.hasChild &&
|
|
43335
|
+
u && F.hasChild && je.createElement(
|
|
43331
43336
|
ahe,
|
|
43332
43337
|
{ isVisible: f },
|
|
43333
|
-
|
|
43338
|
+
je.createElement(Lb, { parentId: e.id, depth: e.depth + 1 })
|
|
43334
43339
|
),
|
|
43335
|
-
!u && F.hasChild && f &&
|
|
43340
|
+
!u && F.hasChild && f && je.createElement(Lb, { parentId: e.id, depth: e.depth + 1 })
|
|
43336
43341
|
);
|
|
43337
43342
|
}, hk = function(e) {
|
|
43338
43343
|
var t = va(), n = t.placeholderRender, r = t.placeholderComponent, i = t.classes, s = M.useContext(yd), o = bo(), a = o.getMonitor(), u = a.getItem();
|
|
43339
43344
|
if (!n || !u)
|
|
43340
43345
|
return null;
|
|
43341
43346
|
var f = e.dropTargetId === s.dropTargetId && (e.index === s.index || e.index === void 0 && e.listCount === s.index), d = a.getTargetIds();
|
|
43342
|
-
return !f || !d.length ? null :
|
|
43347
|
+
return !f || !d.length ? null : je.createElement(r, { className: (i == null ? void 0 : i.placeholder) || "" }, n(u, { depth: e.depth }));
|
|
43343
43348
|
}, Lb = function(e) {
|
|
43344
43349
|
var t = va(), n = M.useRef(null), r = t.tree.filter(function(w) {
|
|
43345
43350
|
return w.parent === e.parentId;
|
|
@@ -43356,18 +43361,18 @@ var kN = M.createContext({}), uhe = {
|
|
|
43356
43361
|
var u = _he(n), f = u[0], d = u[1], p = u[2];
|
|
43357
43362
|
e.parentId === t.rootId && fa(d, t.rootId, t) && p(n);
|
|
43358
43363
|
var v = khe(e.parentId, f), y = t.rootProps || {}, S = t.listComponent;
|
|
43359
|
-
return
|
|
43364
|
+
return je.createElement(
|
|
43360
43365
|
S,
|
|
43361
43366
|
Pi({ ref: n, role: "list" }, y, { className: v }),
|
|
43362
43367
|
i.map(function(w, E) {
|
|
43363
|
-
return
|
|
43364
|
-
|
|
43368
|
+
return je.createElement(
|
|
43369
|
+
je.Fragment,
|
|
43365
43370
|
{ key: w.id },
|
|
43366
|
-
|
|
43367
|
-
|
|
43371
|
+
je.createElement(hk, { depth: e.depth, listCount: i.length, dropTargetId: e.parentId, index: E }),
|
|
43372
|
+
je.createElement(Ahe, { id: w.id, depth: e.depth })
|
|
43368
43373
|
);
|
|
43369
43374
|
}),
|
|
43370
|
-
|
|
43375
|
+
je.createElement(hk, { depth: e.depth, listCount: i.length, dropTargetId: e.parentId })
|
|
43371
43376
|
);
|
|
43372
43377
|
}, Rhe = {
|
|
43373
43378
|
height: "100%",
|
|
@@ -43388,18 +43393,18 @@ var kN = M.createContext({}), uhe = {
|
|
|
43388
43393
|
};
|
|
43389
43394
|
}, Ihe = function() {
|
|
43390
43395
|
var e = va(), t = Dhe(), n = t.isDragging, r = t.clientOffset;
|
|
43391
|
-
return !n || !r ? null :
|
|
43396
|
+
return !n || !r ? null : je.createElement(
|
|
43392
43397
|
"div",
|
|
43393
43398
|
{ style: Rhe },
|
|
43394
|
-
|
|
43399
|
+
je.createElement("div", { style: Mhe(t) }, e.dragPreviewRender && e.dragPreviewRender(t))
|
|
43395
43400
|
);
|
|
43396
43401
|
};
|
|
43397
43402
|
function Lhe(e, t) {
|
|
43398
|
-
return
|
|
43403
|
+
return je.createElement(
|
|
43399
43404
|
xhe,
|
|
43400
43405
|
Pi({}, e, { treeRef: t }),
|
|
43401
|
-
e.dragPreviewRender &&
|
|
43402
|
-
|
|
43406
|
+
e.dragPreviewRender && je.createElement(Ihe, null),
|
|
43407
|
+
je.createElement(Lb, { parentId: e.rootId, depth: 0 })
|
|
43403
43408
|
);
|
|
43404
43409
|
}
|
|
43405
43410
|
var Nhe = M.forwardRef(Lhe);
|
|
@@ -43455,15 +43460,24 @@ function Fhe(e) {
|
|
|
43455
43460
|
n.current
|
|
43456
43461
|
);
|
|
43457
43462
|
}
|
|
43463
|
+
function jhe(e) {
|
|
43464
|
+
if (e.redirectUrl)
|
|
43465
|
+
return e.redirectUrl;
|
|
43466
|
+
if (e.path && e.path.includes("http")) {
|
|
43467
|
+
const t = new URL(e.path);
|
|
43468
|
+
return t.href.replace(t.origin, "");
|
|
43469
|
+
}
|
|
43470
|
+
return e.path || "#";
|
|
43471
|
+
}
|
|
43458
43472
|
function NN({ ...e }) {
|
|
43459
43473
|
var Se, Oe, De;
|
|
43460
|
-
const t = e.item, n = e.level || 0, r = !!((Se = e.item.children) != null && Se.length), { isActive: i, isCollapsed: s } = e, o = `level-${n}`, a = s ? "collapsed" : "expanded", u = i(t.id) ? "active" : "", f = r ? "parent" : "child", d = e.params.isOpen ? "isOpen" : "isClose", p = e.isInternalApp ? "isInternalApp" : "", v = (_e,
|
|
43474
|
+
const t = e.item, n = e.level || 0, r = !!((Se = e.item.children) != null && Se.length), { isActive: i, isCollapsed: s } = e, o = `level-${n}`, a = s ? "collapsed" : "expanded", u = i(t.id) ? "active" : "", f = r ? "parent" : "child", d = e.params.isOpen ? "isOpen" : "isClose", p = e.isInternalApp ? "isInternalApp" : "", v = (_e, Fe = o) => `${_e} ${Fe} ${a} ${u} ${f} ${d} ${p}`, [y, S] = M.useState(!1), [w, E] = M.useState(t.isFavorite || !1);
|
|
43461
43475
|
M.useEffect(() => {
|
|
43462
43476
|
E(!!e.item.isFavorite);
|
|
43463
43477
|
}, [e.item.isFavorite]);
|
|
43464
43478
|
const _ = M.useRef(), P = M.useRef();
|
|
43465
43479
|
P != null && P.current && ((Oe = P == null ? void 0 : P.current) == null ? void 0 : Oe.scrollWidth) > ((De = P == null ? void 0 : P.current) == null ? void 0 : De.clientWidth);
|
|
43466
|
-
const D = window.location.origin, B = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, N = window.location.pathname.split("/")[1], F = B.pathname.split("/")[1], b = e.item.redirectUrl || e.ssr || !D.includes("local") && D !== B.origin || F !== N, q = r ? "div" : !e.isInternalApp && b ? "a" : _k, z = t
|
|
43480
|
+
const D = window.location.origin, B = t.path && t.path.includes("http") ? new URL(t.path) : { origin: "", pathname: "" }, N = window.location.pathname.split("/")[1], F = B.pathname.split("/")[1], b = e.item.redirectUrl || e.ssr || !D.includes("local") && D !== B.origin || F !== N, q = r ? "div" : !e.isInternalApp && b ? "a" : _k, z = jhe(t), ae = n + 1, ue = r && s && y, ge = s || n === 0 ? void 0 : `${n + 0.25}rem`, le = () => {
|
|
43467
43481
|
S(!0);
|
|
43468
43482
|
}, re = () => {
|
|
43469
43483
|
S(!1);
|
|
@@ -43474,7 +43488,7 @@ function NN({ ...e }) {
|
|
|
43474
43488
|
e.params.onToggle
|
|
43475
43489
|
);
|
|
43476
43490
|
const ne = Q || s && n === 0 ? t.name === "POMs" ? "Parking Operations Management" : t.description || t.name : null, fe = Object.entries(e.brandColors || {}).reduce(
|
|
43477
|
-
(_e, [
|
|
43491
|
+
(_e, [Fe, Ze]) => (Ze && (_e[`--${Fe}`] = Ze), _e),
|
|
43478
43492
|
{}
|
|
43479
43493
|
), pe = D !== B.origin || e.item.redirectUrl ? "_blank" : "_self";
|
|
43480
43494
|
return /* @__PURE__ */ I.jsxs(
|
|
@@ -43487,7 +43501,7 @@ function NN({ ...e }) {
|
|
|
43487
43501
|
transition: "all 0.3s",
|
|
43488
43502
|
...fe
|
|
43489
43503
|
},
|
|
43490
|
-
onMouseOver:
|
|
43504
|
+
onMouseOver: le,
|
|
43491
43505
|
onMouseOut: re,
|
|
43492
43506
|
onDragStart: (_e) => {
|
|
43493
43507
|
s && n > 1 && _e.preventDefault();
|
|
@@ -43498,32 +43512,23 @@ function NN({ ...e }) {
|
|
|
43498
43512
|
{
|
|
43499
43513
|
target: pe,
|
|
43500
43514
|
to: z,
|
|
43501
|
-
href: z,
|
|
43502
43515
|
draggable: "true",
|
|
43503
43516
|
className: v("menu-item__link"),
|
|
43504
43517
|
style: {
|
|
43505
43518
|
paddingLeft: ge
|
|
43506
|
-
// transition: 'all 0.3s',
|
|
43507
|
-
// transitionDelay: '0.1s',
|
|
43508
|
-
// color: isActive(item.id)
|
|
43509
|
-
// ? props.brandColors?.primary400 || color.primary400
|
|
43510
|
-
// : undefined,
|
|
43511
|
-
// backgroundColor:
|
|
43512
|
-
// isActive(item.id) && level === 0
|
|
43513
|
-
// ? props.brandColors?.primary200
|
|
43514
|
-
// : undefined,
|
|
43515
43519
|
},
|
|
43516
43520
|
onClick: (_e) => {
|
|
43517
|
-
|
|
43521
|
+
var Fe;
|
|
43522
|
+
q === "a" && pe === "_blank" || (!r && t.path && (localStorage.setItem(
|
|
43518
43523
|
"latestClickMenuPath",
|
|
43519
43524
|
(t.path || "").replace(window.location.origin, "")
|
|
43520
|
-
), !s && e.toggleExpand(_e));
|
|
43525
|
+
), (Fe = e.onClickItem) == null || Fe.call(e, z)), !s && e.toggleExpand(_e));
|
|
43521
43526
|
},
|
|
43522
43527
|
children: [
|
|
43523
|
-
/* @__PURE__ */ I.jsx(
|
|
43528
|
+
/* @__PURE__ */ I.jsx(Bhe, { cls: v, item: t }),
|
|
43524
43529
|
/* @__PURE__ */ I.jsx("span", { className: v("menu-item__label"), ref: P, children: t.name }),
|
|
43525
43530
|
/* @__PURE__ */ I.jsx(
|
|
43526
|
-
|
|
43531
|
+
Vhe,
|
|
43527
43532
|
{
|
|
43528
43533
|
tooltipPosition: ne ? "right" : "top",
|
|
43529
43534
|
menuLevel: n,
|
|
@@ -43531,11 +43536,11 @@ function NN({ ...e }) {
|
|
|
43531
43536
|
isHovered: y,
|
|
43532
43537
|
isFavorite: w,
|
|
43533
43538
|
onClick: (_e) => {
|
|
43534
|
-
const
|
|
43539
|
+
const Fe = {
|
|
43535
43540
|
menuConfigId: t.id,
|
|
43536
43541
|
isFavorite: _e
|
|
43537
43542
|
}, Ze = e.baseUrl + U;
|
|
43538
|
-
Xn.post(Ze,
|
|
43543
|
+
Xn.post(Ze, Fe).then((_t) => {
|
|
43539
43544
|
var rt;
|
|
43540
43545
|
E(_e), oR(Lt("components.menu.pushSuccess.menuSuccess", { defaultValue: "Set favorite menu item successful" })), (rt = e.onSetFavoriteSuccess) == null || rt.call(e, e.item.id, _e), iL(e.item.id, _e);
|
|
43541
43546
|
}).catch((_t) => {
|
|
@@ -43558,13 +43563,13 @@ function NN({ ...e }) {
|
|
|
43558
43563
|
]
|
|
43559
43564
|
}
|
|
43560
43565
|
) }),
|
|
43561
|
-
|
|
43566
|
+
ue && /* @__PURE__ */ I.jsx(
|
|
43562
43567
|
Fhe,
|
|
43563
43568
|
{
|
|
43564
43569
|
parentRef: _,
|
|
43565
43570
|
onlyChild: !s,
|
|
43566
43571
|
renderChildren: ({ maxHeight: _e }) => {
|
|
43567
|
-
var
|
|
43572
|
+
var Fe;
|
|
43568
43573
|
return /* @__PURE__ */ I.jsx(
|
|
43569
43574
|
DM.div,
|
|
43570
43575
|
{
|
|
@@ -43576,7 +43581,7 @@ function NN({ ...e }) {
|
|
|
43576
43581
|
{ maxHeight: _e, overflowY: "auto", paddingRight: 3 },
|
|
43577
43582
|
_e !== "auto" && !!ae
|
|
43578
43583
|
),
|
|
43579
|
-
children: (
|
|
43584
|
+
children: (Fe = t.children) == null ? void 0 : Fe.map((Ze) => /* @__PURE__ */ M.createElement(
|
|
43580
43585
|
NN,
|
|
43581
43586
|
{
|
|
43582
43587
|
...e,
|
|
@@ -43594,10 +43599,10 @@ function NN({ ...e }) {
|
|
|
43594
43599
|
}
|
|
43595
43600
|
);
|
|
43596
43601
|
}
|
|
43597
|
-
function
|
|
43602
|
+
function Bhe({ item: e, cls: t }) {
|
|
43598
43603
|
return /* @__PURE__ */ I.jsx("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ I.jsx(Bae, { item: e }) });
|
|
43599
43604
|
}
|
|
43600
|
-
function
|
|
43605
|
+
function Vhe(e) {
|
|
43601
43606
|
const t = {
|
|
43602
43607
|
marginRight: e.hasChildren ? 10 : 0,
|
|
43603
43608
|
fontSize: 18,
|
|
@@ -43642,7 +43647,7 @@ function Bhe(e) {
|
|
|
43642
43647
|
)
|
|
43643
43648
|
] });
|
|
43644
43649
|
}
|
|
43645
|
-
function
|
|
43650
|
+
function Uhe() {
|
|
43646
43651
|
return /* @__PURE__ */ I.jsx(
|
|
43647
43652
|
"svg",
|
|
43648
43653
|
{
|
|
@@ -43657,7 +43662,7 @@ function Vhe() {
|
|
|
43657
43662
|
}
|
|
43658
43663
|
);
|
|
43659
43664
|
}
|
|
43660
|
-
function
|
|
43665
|
+
function Hhe() {
|
|
43661
43666
|
return /* @__PURE__ */ I.jsx(
|
|
43662
43667
|
"svg",
|
|
43663
43668
|
{
|
|
@@ -43672,7 +43677,7 @@ function Uhe() {
|
|
|
43672
43677
|
}
|
|
43673
43678
|
);
|
|
43674
43679
|
}
|
|
43675
|
-
function
|
|
43680
|
+
function Whe(e) {
|
|
43676
43681
|
return /* @__PURE__ */ I.jsx(
|
|
43677
43682
|
"svg",
|
|
43678
43683
|
{
|
|
@@ -43694,7 +43699,7 @@ function Hhe(e) {
|
|
|
43694
43699
|
}
|
|
43695
43700
|
);
|
|
43696
43701
|
}
|
|
43697
|
-
const
|
|
43702
|
+
const zhe = ".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}}", Yhe = (e) => {
|
|
43698
43703
|
const t = e.isCollapsed ? 0 : e.depth * 16;
|
|
43699
43704
|
return /* @__PURE__ */ I.jsx(
|
|
43700
43705
|
"div",
|
|
@@ -43710,7 +43715,7 @@ const Whe = ".flex-col-center{display:flex;flex-direction:column;justify-content
|
|
|
43710
43715
|
}
|
|
43711
43716
|
}
|
|
43712
43717
|
);
|
|
43713
|
-
},
|
|
43718
|
+
}, qhe = ".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}", Ghe = (e) => {
|
|
43714
43719
|
const [t, n] = M.useState(() => {
|
|
43715
43720
|
const r = localStorage.getItem("openingMenuIds");
|
|
43716
43721
|
return r && r !== "[]" ? JSON.parse(r) : (e == null ? void 0 : e.initOpenIds) || [];
|
|
@@ -43729,13 +43734,13 @@ function $N(e) {
|
|
|
43729
43734
|
}
|
|
43730
43735
|
const Op = localStorage.getItem("isCollapsed");
|
|
43731
43736
|
$N(Op);
|
|
43732
|
-
function
|
|
43737
|
+
function Khe(e) {
|
|
43733
43738
|
const t = new CustomEvent("favoriteMenusChange", {
|
|
43734
43739
|
detail: { favoriteMenus: e }
|
|
43735
43740
|
});
|
|
43736
43741
|
window.dispatchEvent(t);
|
|
43737
43742
|
}
|
|
43738
|
-
function
|
|
43743
|
+
function Xhe(e) {
|
|
43739
43744
|
const t = Ok(), [n, r] = M.useState([]), i = n.map((re) => re.data), [s, o] = M.useState(!1), [a, u] = M.useState([]), [f, d] = M.useState(
|
|
43740
43745
|
Op === null ? !0 : Op === "true"
|
|
43741
43746
|
), [p, v] = M.useState(window.location.href), y = M.useRef(null);
|
|
@@ -43745,7 +43750,7 @@ function Khe(e) {
|
|
|
43745
43750
|
}, [i, e.handleCallback]), M.useEffect(() => {
|
|
43746
43751
|
v(window.location.href);
|
|
43747
43752
|
}, [t]);
|
|
43748
|
-
const S =
|
|
43753
|
+
const S = Zhe(i, p), [w, E] = Ghe({
|
|
43749
43754
|
initOpenIds: e.initOpenIds
|
|
43750
43755
|
}), _ = () => {
|
|
43751
43756
|
var re, U;
|
|
@@ -43835,7 +43840,7 @@ function Khe(e) {
|
|
|
43835
43840
|
};
|
|
43836
43841
|
}
|
|
43837
43842
|
const Q = re.map((te) => U(te));
|
|
43838
|
-
|
|
43843
|
+
Khe(Q);
|
|
43839
43844
|
}, [i]);
|
|
43840
43845
|
function ae(re) {
|
|
43841
43846
|
const U = re.detail.menuItem;
|
|
@@ -43865,21 +43870,21 @@ function Khe(e) {
|
|
|
43865
43870
|
Q == null || Q.removeEventListener("scroll", U);
|
|
43866
43871
|
};
|
|
43867
43872
|
}, [i]);
|
|
43868
|
-
function
|
|
43873
|
+
function ue(re) {
|
|
43869
43874
|
o(!0);
|
|
43870
43875
|
const U = [...n], Q = [...re], te = Q.filter((_e) => _e.parent === 0), ne = Q.filter((_e) => _e.parent !== 0), fe = te.find((_e) => {
|
|
43871
|
-
var
|
|
43872
|
-
return ((
|
|
43876
|
+
var Fe;
|
|
43877
|
+
return ((Fe = _e.data) == null ? void 0 : Fe.name) === "Home";
|
|
43873
43878
|
}), pe = te.filter(
|
|
43874
43879
|
(_e) => {
|
|
43875
|
-
var
|
|
43876
|
-
return ((
|
|
43880
|
+
var Fe;
|
|
43881
|
+
return ((Fe = _e.data) == null ? void 0 : Fe.name) !== "Home";
|
|
43877
43882
|
}
|
|
43878
43883
|
), Oe = [...fe ? [fe, ...pe] : pe, ...ne];
|
|
43879
43884
|
r(Oe);
|
|
43880
|
-
const De = Oe.map((_e,
|
|
43885
|
+
const De = Oe.map((_e, Fe) => ({
|
|
43881
43886
|
menuItemId: _e.id,
|
|
43882
|
-
order:
|
|
43887
|
+
order: Fe
|
|
43883
43888
|
}));
|
|
43884
43889
|
Xn.post("/global-menu-config/api/v1/menu-items/user", De, {
|
|
43885
43890
|
baseURL: e.baseUrl
|
|
@@ -43893,14 +43898,14 @@ function Khe(e) {
|
|
|
43893
43898
|
const ge = M.useMemo(
|
|
43894
43899
|
() => Op === "false" ? w : [],
|
|
43895
43900
|
[]
|
|
43896
|
-
),
|
|
43901
|
+
), le = document.getElementById("global-menu-container");
|
|
43897
43902
|
return /* @__PURE__ */ I.jsxs("div", { className: N("side-bar"), children: [
|
|
43898
43903
|
/* @__PURE__ */ I.jsx("div", { className: N("wrap-section side-bar__wrapper-toggle-btn"), children: /* @__PURE__ */ I.jsx(
|
|
43899
43904
|
"button",
|
|
43900
43905
|
{
|
|
43901
43906
|
className: "icon-btn side-bar__toggle-btn",
|
|
43902
43907
|
onClick: _,
|
|
43903
|
-
children: f ? /* @__PURE__ */ I.jsx(
|
|
43908
|
+
children: f ? /* @__PURE__ */ I.jsx(Hhe, {}) : /* @__PURE__ */ I.jsx(Uhe, {})
|
|
43904
43909
|
}
|
|
43905
43910
|
) }),
|
|
43906
43911
|
/* @__PURE__ */ I.jsx(
|
|
@@ -43934,7 +43939,7 @@ function Khe(e) {
|
|
|
43934
43939
|
insertDroppableFirst: !1,
|
|
43935
43940
|
enableAnimateExpand: !0,
|
|
43936
43941
|
dropTargetOffset: 10,
|
|
43937
|
-
onDrop:
|
|
43942
|
+
onDrop: ue,
|
|
43938
43943
|
render: (re, U) => {
|
|
43939
43944
|
function Q(pe) {
|
|
43940
43945
|
return n.every((Se) => Se.parent !== pe.id) ? pe : {
|
|
@@ -43959,6 +43964,7 @@ function Khe(e) {
|
|
|
43959
43964
|
return /* @__PURE__ */ I.jsx(
|
|
43960
43965
|
NN,
|
|
43961
43966
|
{
|
|
43967
|
+
onClickItem: e.onClickItem,
|
|
43962
43968
|
isInternalApp: e.isInternalApp,
|
|
43963
43969
|
isActive: ne,
|
|
43964
43970
|
isCollapsed: f,
|
|
@@ -43994,7 +44000,7 @@ function Khe(e) {
|
|
|
43994
44000
|
placeholderRender: (re, { depth: U }) => {
|
|
43995
44001
|
var Q;
|
|
43996
44002
|
return /* @__PURE__ */ I.jsx(
|
|
43997
|
-
|
|
44003
|
+
Yhe,
|
|
43998
44004
|
{
|
|
43999
44005
|
node: re,
|
|
44000
44006
|
depth: U,
|
|
@@ -44025,10 +44031,10 @@ function Khe(e) {
|
|
|
44025
44031
|
{
|
|
44026
44032
|
className: N("side-bar__logout-btn"),
|
|
44027
44033
|
onClick: () => {
|
|
44028
|
-
|
|
44034
|
+
le.style.setProperty("z-index", "1304"), le.classList.remove("backdrop-delay-transition"), D(!0);
|
|
44029
44035
|
},
|
|
44030
44036
|
children: [
|
|
44031
|
-
/* @__PURE__ */ I.jsx(
|
|
44037
|
+
/* @__PURE__ */ I.jsx(Whe, { className: N("side-bar__icon-logout") }),
|
|
44032
44038
|
/* @__PURE__ */ I.jsx("span", { className: N("side-bar__logout-btn__text"), children: "Logout" })
|
|
44033
44039
|
]
|
|
44034
44040
|
}
|
|
@@ -44038,10 +44044,10 @@ function Khe(e) {
|
|
|
44038
44044
|
{
|
|
44039
44045
|
isOpen: P,
|
|
44040
44046
|
onClose: () => {
|
|
44041
|
-
|
|
44047
|
+
le.style.setProperty(
|
|
44042
44048
|
"z-index",
|
|
44043
44049
|
"var(--menu-z-index)"
|
|
44044
|
-
),
|
|
44050
|
+
), le.classList.add("backdrop-delay-transition"), D(!1);
|
|
44045
44051
|
},
|
|
44046
44052
|
onConfirm: () => e.logout ? e.logout() : Hae(e.baseUrl)
|
|
44047
44053
|
}
|
|
@@ -44133,14 +44139,14 @@ const pk = {
|
|
|
44133
44139
|
"/anpr/page/Issues/Index?status=Closed": ["/anpr/page/Issues"],
|
|
44134
44140
|
"/anpr/page/Issues/Index": ["/anpr/page/Issues"]
|
|
44135
44141
|
};
|
|
44136
|
-
function
|
|
44142
|
+
function Qhe(e, t) {
|
|
44137
44143
|
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", "");
|
|
44138
44144
|
return r && pk[r] && pk[r].some((a) => t.replace("/app", "").includes(a)) ? 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;
|
|
44139
44145
|
}
|
|
44140
|
-
function
|
|
44146
|
+
function Zhe(e, t) {
|
|
44141
44147
|
const n = e.map((o) => ({
|
|
44142
44148
|
item: o,
|
|
44143
|
-
priority: o.path ?
|
|
44149
|
+
priority: o.path ? Qhe(o.path, t) : 0
|
|
44144
44150
|
})).filter((o) => o.priority > 0);
|
|
44145
44151
|
console.log(" index.tsx ~ matchedItems:", n);
|
|
44146
44152
|
const r = n.length > 0 ? n.reduce(
|
|
@@ -44163,30 +44169,30 @@ function jN(e) {
|
|
|
44163
44169
|
path: window.location.origin + "/app" + n.path
|
|
44164
44170
|
} : (n.children && (n.children = jN(n.children)), n));
|
|
44165
44171
|
}
|
|
44166
|
-
function
|
|
44172
|
+
function Jhe(e) {
|
|
44167
44173
|
return (
|
|
44168
44174
|
// <ShadowDOM.div>
|
|
44169
44175
|
/* @__PURE__ */ I.jsx(
|
|
44170
44176
|
$b,
|
|
44171
44177
|
{
|
|
44172
44178
|
id: "global-menu-container",
|
|
44173
|
-
styles: [Fk,
|
|
44179
|
+
styles: [Fk, zhe, qhe],
|
|
44174
44180
|
style: {
|
|
44175
44181
|
zIndex: "var(--menu-z-index)",
|
|
44176
44182
|
position: "relative"
|
|
44177
44183
|
},
|
|
44178
44184
|
className: "backdrop-delay-transition",
|
|
44179
|
-
children: /* @__PURE__ */ I.jsx(
|
|
44185
|
+
children: /* @__PURE__ */ I.jsx(Xhe, { ...e })
|
|
44180
44186
|
}
|
|
44181
44187
|
)
|
|
44182
44188
|
);
|
|
44183
44189
|
}
|
|
44184
|
-
function
|
|
44190
|
+
function epe(e) {
|
|
44185
44191
|
const t = { ...Dn, ...e.brandColors };
|
|
44186
|
-
return console.log("props.brandColors", t), /* @__PURE__ */ I.jsx(Ek, { children: /* @__PURE__ */ I.jsx(aW, { theme: L8({ colors: t }), children: /* @__PURE__ */ I.jsx(
|
|
44192
|
+
return console.log("props.brandColors", t), /* @__PURE__ */ I.jsx(Ek, { children: /* @__PURE__ */ I.jsx(aW, { theme: L8({ colors: t }), children: /* @__PURE__ */ I.jsx(Jhe, { ...e, ssr: !0 }) }) });
|
|
44187
44193
|
}
|
|
44188
44194
|
{
|
|
44189
|
-
const e = Xf(
|
|
44195
|
+
const e = Xf(epe, {
|
|
44190
44196
|
props: {
|
|
44191
44197
|
baseUrl: "string",
|
|
44192
44198
|
menuPath: "string",
|
|
@@ -44204,10 +44210,10 @@ function Jhe(e) {
|
|
|
44204
44210
|
}
|
|
44205
44211
|
export {
|
|
44206
44212
|
Pie as F,
|
|
44207
|
-
|
|
44213
|
+
Jhe as G,
|
|
44208
44214
|
Iz as H,
|
|
44209
44215
|
uK as L,
|
|
44210
|
-
|
|
44216
|
+
Ope as T,
|
|
44211
44217
|
Rie as U,
|
|
44212
44218
|
Mz as g,
|
|
44213
44219
|
iL as u
|