@ukpc-lib/react 0.16.3-sandbox.saas-9356.patch-5 → 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-DAQHA_8P.cjs → index.esm2017-Bmj_1y8w.cjs} +103 -103
- package/dist/{index.esm2017-DhmxLaVG.js → index.esm2017-YfeFmA6k.js} +1813 -1806
- 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-BKugCq7n.js → index-DBpqFdvL.js} +407 -400
- 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;
|
|
@@ -9386,10 +9386,11 @@ Cn.use(BP).use(HP).use(Jz).init({
|
|
|
9386
9386
|
cacheHitMode: "refresh",
|
|
9387
9387
|
request: async (e, t) => {
|
|
9388
9388
|
try {
|
|
9389
|
+
console.log("🚀 ~ LoadTranslation URL:", e);
|
|
9389
9390
|
const n = await fetch(e, { method: "GET" }), r = await n.json(), i = e.match(/\/translations\/([^/?]+)/), s = i ? i[1] : "en";
|
|
9390
|
-
window.translations = window.translations || {}, window.translations[s] = {
|
|
9391
|
+
console.log("🚀 ~ LoadTranslation URL Data:", r), window.translations = window.translations || {}, window.translations[s] = {
|
|
9391
9392
|
translation: r
|
|
9392
|
-
}, t(null, {
|
|
9393
|
+
}, console.log("🚀 ~ LoadTranslation URL window:", window.translations), t(null, {
|
|
9393
9394
|
status: n.status,
|
|
9394
9395
|
data: r
|
|
9395
9396
|
});
|
|
@@ -9421,7 +9422,7 @@ var QP = {
|
|
|
9421
9422
|
className: void 0,
|
|
9422
9423
|
style: void 0,
|
|
9423
9424
|
attr: void 0
|
|
9424
|
-
}, DT =
|
|
9425
|
+
}, DT = je.createContext && /* @__PURE__ */ je.createContext(QP), _8 = ["attr", "size", "title"];
|
|
9425
9426
|
function E8(e, t) {
|
|
9426
9427
|
if (e == null)
|
|
9427
9428
|
return {};
|
|
@@ -9496,12 +9497,12 @@ function P8(e, t) {
|
|
|
9496
9497
|
return (t === "string" ? String : Number)(e);
|
|
9497
9498
|
}
|
|
9498
9499
|
function ZP(e) {
|
|
9499
|
-
return e && e.map((t, n) => /* @__PURE__ */
|
|
9500
|
+
return e && e.map((t, n) => /* @__PURE__ */ je.createElement(t.tag, Vp({
|
|
9500
9501
|
key: n
|
|
9501
9502
|
}, t.attr), ZP(t.child)));
|
|
9502
9503
|
}
|
|
9503
9504
|
function Ig(e) {
|
|
9504
|
-
return (t) => /* @__PURE__ */
|
|
9505
|
+
return (t) => /* @__PURE__ */ je.createElement(A8, Bp({
|
|
9505
9506
|
attr: Vp({}, e.attr)
|
|
9506
9507
|
}, t), ZP(e.child));
|
|
9507
9508
|
}
|
|
@@ -9512,7 +9513,7 @@ function A8(e) {
|
|
|
9512
9513
|
size: i,
|
|
9513
9514
|
title: s
|
|
9514
9515
|
} = e, o = E8(e, _8), a = i || n.size || "1em", u;
|
|
9515
|
-
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({
|
|
9516
9517
|
stroke: "currentColor",
|
|
9517
9518
|
fill: "currentColor",
|
|
9518
9519
|
strokeWidth: "0"
|
|
@@ -9524,9 +9525,9 @@ function A8(e) {
|
|
|
9524
9525
|
height: a,
|
|
9525
9526
|
width: a,
|
|
9526
9527
|
xmlns: "http://www.w3.org/2000/svg"
|
|
9527
|
-
}), s && /* @__PURE__ */
|
|
9528
|
+
}), s && /* @__PURE__ */ je.createElement("title", null, s), e.children);
|
|
9528
9529
|
};
|
|
9529
|
-
return DT !== void 0 ? /* @__PURE__ */
|
|
9530
|
+
return DT !== void 0 ? /* @__PURE__ */ je.createElement(DT.Consumer, null, (n) => t(n)) : t(QP);
|
|
9530
9531
|
}
|
|
9531
9532
|
function R8(e) {
|
|
9532
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);
|
|
@@ -12723,7 +12724,7 @@ ke.HTML5_FMT = {
|
|
|
12723
12724
|
const F7 = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
12724
12725
|
__proto__: null,
|
|
12725
12726
|
default: ke
|
|
12726
|
-
}, Symbol.toStringTag, { value: "Module" })), j7 =
|
|
12727
|
+
}, Symbol.toStringTag, { value: "Module" })), j7 = je.memo(
|
|
12727
12728
|
({
|
|
12728
12729
|
notification: e,
|
|
12729
12730
|
notiPath: t,
|
|
@@ -13167,11 +13168,11 @@ function J7(e) {
|
|
|
13167
13168
|
if (N.hasOwnProperty(E))
|
|
13168
13169
|
F = N[E];
|
|
13169
13170
|
else {
|
|
13170
|
-
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;
|
|
13171
13172
|
N[E] = F = {
|
|
13172
13173
|
position: "absolute",
|
|
13173
|
-
left: ae ? void 0 :
|
|
13174
|
-
right: ae ?
|
|
13174
|
+
left: ae ? void 0 : ue,
|
|
13175
|
+
right: ae ? ue : void 0,
|
|
13175
13176
|
top: z ? 0 : b,
|
|
13176
13177
|
height: z ? "100%" : q,
|
|
13177
13178
|
width: z ? q : "100%"
|
|
@@ -13284,7 +13285,7 @@ function J7(e) {
|
|
|
13284
13285
|
}, y.componentWillUnmount = function() {
|
|
13285
13286
|
this._resetIsScrollingTimeoutId !== null && jT(this._resetIsScrollingTimeoutId);
|
|
13286
13287
|
}, y.render = function() {
|
|
13287
|
-
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 = [];
|
|
13288
13289
|
if (b > 0)
|
|
13289
13290
|
for (var _e = Se; _e <= Oe; _e++)
|
|
13290
13291
|
De.push(M.createElement(E, {
|
|
@@ -13294,8 +13295,8 @@ function J7(e) {
|
|
|
13294
13295
|
isScrolling: U ? te : void 0,
|
|
13295
13296
|
style: this._getItemStyle(_e)
|
|
13296
13297
|
}));
|
|
13297
|
-
var
|
|
13298
|
-
return M.createElement(ge ||
|
|
13298
|
+
var Fe = r(this.props, this._instanceProps);
|
|
13299
|
+
return M.createElement(ge || le || "div", {
|
|
13299
13300
|
className: _,
|
|
13300
13301
|
onScroll: fe,
|
|
13301
13302
|
ref: this._outerRefSetter,
|
|
@@ -13312,9 +13313,9 @@ function J7(e) {
|
|
|
13312
13313
|
children: De,
|
|
13313
13314
|
ref: B,
|
|
13314
13315
|
style: {
|
|
13315
|
-
height: ne ? "100%" :
|
|
13316
|
+
height: ne ? "100%" : Fe,
|
|
13316
13317
|
pointerEvents: te ? "none" : void 0,
|
|
13317
|
-
width: ne ?
|
|
13318
|
+
width: ne ? Fe : "100%"
|
|
13318
13319
|
}
|
|
13319
13320
|
}));
|
|
13320
13321
|
}, y._callPropsCallbacks = function() {
|
|
@@ -13466,7 +13467,7 @@ const qv = 20, HT = ({
|
|
|
13466
13467
|
F,
|
|
13467
13468
|
d.length,
|
|
13468
13469
|
i
|
|
13469
|
-
]), 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 () => {
|
|
13470
13471
|
try {
|
|
13471
13472
|
const pe = e + (t || "/notification-management/api/v1/notifications");
|
|
13472
13473
|
await Xn.put(pe);
|
|
@@ -13481,8 +13482,8 @@ const qv = 20, HT = ({
|
|
|
13481
13482
|
}
|
|
13482
13483
|
})), _(1), y(!0), a(!1);
|
|
13483
13484
|
}, ge = () => {
|
|
13484
|
-
a(!0),
|
|
13485
|
-
},
|
|
13485
|
+
a(!0), ue();
|
|
13486
|
+
}, le = ({ style: ne }) => /* @__PURE__ */ I.jsxs(
|
|
13486
13487
|
F6,
|
|
13487
13488
|
{
|
|
13488
13489
|
style: ne,
|
|
@@ -13500,8 +13501,8 @@ const qv = 20, HT = ({
|
|
|
13500
13501
|
), re = async (ne, fe, pe) => {
|
|
13501
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) => {
|
|
13502
13503
|
let _e = 0;
|
|
13503
|
-
const
|
|
13504
|
-
return
|
|
13504
|
+
const Fe = d.find((Ze) => Ze.id === ne);
|
|
13505
|
+
return Fe && (!Fe.isRead && fe && (_e = -1), Fe.isRead && !fe && (_e = 1)), {
|
|
13505
13506
|
...De,
|
|
13506
13507
|
unread: {
|
|
13507
13508
|
...De.unread,
|
|
@@ -13525,7 +13526,7 @@ const qv = 20, HT = ({
|
|
|
13525
13526
|
});
|
|
13526
13527
|
}, te = ({ index: ne, style: fe }) => {
|
|
13527
13528
|
if (!ae(ne))
|
|
13528
|
-
return /* @__PURE__ */ I.jsx(
|
|
13529
|
+
return /* @__PURE__ */ I.jsx(le, { style: fe });
|
|
13529
13530
|
const pe = d[ne];
|
|
13530
13531
|
return /* @__PURE__ */ I.jsx("div", { style: fe, children: /* @__PURE__ */ I.jsx(
|
|
13531
13532
|
j7,
|
|
@@ -14294,9 +14295,9 @@ function LG(e, t, n, {
|
|
|
14294
14295
|
ignoreLocation: f
|
|
14295
14296
|
}) <= y ? q = z : B = z, z = Math.floor((B - q) / 2 + q);
|
|
14296
14297
|
B = z;
|
|
14297
|
-
let ae = Math.max(1, v - z + 1),
|
|
14298
|
-
ge[
|
|
14299
|
-
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) {
|
|
14300
14301
|
let U = re - 1, Q = n[e.charAt(U)];
|
|
14301
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, {
|
|
14302
14303
|
errors: b,
|
|
@@ -15183,7 +15184,7 @@ function lK({
|
|
|
15183
15184
|
({ ...S });
|
|
15184
15185
|
const b = { ...KT, ...t }, q = new Hu(e, b);
|
|
15185
15186
|
q.setCollection(e);
|
|
15186
|
-
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);
|
|
15187
15188
|
M.useEffect(() => {
|
|
15188
15189
|
ae(E);
|
|
15189
15190
|
const $e = setTimeout(
|
|
@@ -15200,14 +15201,14 @@ function lK({
|
|
|
15200
15201
|
return document.addEventListener("click", $e), () => document.removeEventListener("click", $e);
|
|
15201
15202
|
}, []), M.useEffect(() => {
|
|
15202
15203
|
(() => {
|
|
15203
|
-
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));
|
|
15204
15205
|
})();
|
|
15205
15206
|
}, [
|
|
15206
15207
|
te,
|
|
15207
15208
|
P,
|
|
15208
15209
|
U,
|
|
15209
15210
|
z,
|
|
15210
|
-
|
|
15211
|
+
ue,
|
|
15211
15212
|
B,
|
|
15212
15213
|
Se
|
|
15213
15214
|
]);
|
|
@@ -15216,14 +15217,14 @@ function lK({
|
|
|
15216
15217
|
}, _e = ($e) => {
|
|
15217
15218
|
let vt = [];
|
|
15218
15219
|
($e == null ? void 0 : $e.length) > 0 && (vt = _t($e)), ge(vt), r($e, vt), ne(!1);
|
|
15219
|
-
},
|
|
15220
|
+
}, Fe = je.useCallback(
|
|
15220
15221
|
n > 0 ? tK(($e) => _e($e), n) : ($e) => _e($e),
|
|
15221
15222
|
[e]
|
|
15222
15223
|
), Ze = ($e) => {
|
|
15223
15224
|
mt(), s($e), ae($e[w]), re(0);
|
|
15224
15225
|
}, _t = ($e) => q.search($e, { limit: p }).map((vt) => ({ ...vt.item })).slice(0, p), rt = ({ target: $e }) => {
|
|
15225
15226
|
const vt = $e.value;
|
|
15226
|
-
ae(vt),
|
|
15227
|
+
ae(vt), Fe(vt), ne(!0), U && Q(!1);
|
|
15227
15228
|
}, mt = () => {
|
|
15228
15229
|
ge([]), Q(!0);
|
|
15229
15230
|
}, St = ({
|
|
@@ -15232,20 +15233,20 @@ function lK({
|
|
|
15232
15233
|
}) => {
|
|
15233
15234
|
let Wt = -1;
|
|
15234
15235
|
const kt = (zt) => {
|
|
15235
|
-
re(zt),
|
|
15236
|
+
re(zt), ue != null && ue[zt] && i(ue[zt]);
|
|
15236
15237
|
};
|
|
15237
15238
|
if ($e !== void 0)
|
|
15238
|
-
re($e),
|
|
15239
|
+
re($e), ue != null && ue[$e] && i(ue[$e]);
|
|
15239
15240
|
else if (vt)
|
|
15240
15241
|
switch (vt.key) {
|
|
15241
15242
|
case "Enter":
|
|
15242
|
-
|
|
15243
|
+
ue.length > 0 && ue[le] ? (vt.preventDefault(), s(ue[le])) : r(z, ue), re(-1), mt();
|
|
15243
15244
|
break;
|
|
15244
15245
|
case "ArrowUp":
|
|
15245
|
-
vt.preventDefault(), Wt =
|
|
15246
|
+
vt.preventDefault(), Wt = le > -1 ? le - 1 : ue.length - 1, kt(Wt);
|
|
15246
15247
|
break;
|
|
15247
15248
|
case "ArrowDown":
|
|
15248
|
-
vt.preventDefault(), Wt =
|
|
15249
|
+
vt.preventDefault(), Wt = le < ue.length - 1 ? le + 1 : -1, kt(Wt);
|
|
15249
15250
|
break;
|
|
15250
15251
|
}
|
|
15251
15252
|
};
|
|
@@ -15270,14 +15271,14 @@ function lK({
|
|
|
15270
15271
|
/* @__PURE__ */ I.jsx(
|
|
15271
15272
|
rK,
|
|
15272
15273
|
{
|
|
15273
|
-
results:
|
|
15274
|
+
results: ue,
|
|
15274
15275
|
onClick: Ze,
|
|
15275
15276
|
setSearchString: ae,
|
|
15276
15277
|
showIcon: f,
|
|
15277
15278
|
maxResults: p,
|
|
15278
15279
|
resultStringKeyName: w,
|
|
15279
15280
|
formatResult: _,
|
|
15280
|
-
highlightedItem:
|
|
15281
|
+
highlightedItem: le,
|
|
15281
15282
|
setHighlightedItem: St,
|
|
15282
15283
|
showNoResultsFlag: fe,
|
|
15283
15284
|
showNoResultsText: D
|
|
@@ -15307,44 +15308,44 @@ function iR({ classNames: e = "", ...t }) {
|
|
|
15307
15308
|
console.log("searchPermission", B.hasPermission), M.useEffect(() => {
|
|
15308
15309
|
E.length >= 3 ? N(E) : D([]);
|
|
15309
15310
|
}, [E]);
|
|
15310
|
-
const N = async (
|
|
15311
|
-
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) => {
|
|
15312
15313
|
D(ge), console.log(ge);
|
|
15313
15314
|
}).catch((ge) => {
|
|
15314
15315
|
console.error(ge);
|
|
15315
15316
|
});
|
|
15316
|
-
}, F = (
|
|
15317
|
-
console.log(
|
|
15318
|
-
}, b = (
|
|
15319
|
-
_(
|
|
15320
|
-
}, q = (
|
|
15321
|
-
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;
|
|
15322
15323
|
switch (ge) {
|
|
15323
15324
|
case "Zone":
|
|
15324
|
-
document.location.href = i + "/stella/page/SiteManagement/Zone/Details/" +
|
|
15325
|
+
document.location.href = i + "/stella/page/SiteManagement/Zone/Details/" + le;
|
|
15325
15326
|
return;
|
|
15326
15327
|
case "Location":
|
|
15327
|
-
document.location.href = i + "/stella/page/SiteManagement/Location/Details/" +
|
|
15328
|
+
document.location.href = i + "/stella/page/SiteManagement/Location/Details/" + le;
|
|
15328
15329
|
return;
|
|
15329
15330
|
case "Company":
|
|
15330
|
-
document.location.href = i + "/stella/page/SiteManagement/Company/Details/" +
|
|
15331
|
+
document.location.href = i + "/stella/page/SiteManagement/Company/Details/" + le;
|
|
15331
15332
|
return;
|
|
15332
15333
|
default:
|
|
15333
|
-
console.log(`Unsure how to navigate to ${ge} ${
|
|
15334
|
+
console.log(`Unsure how to navigate to ${ge} ${le}`);
|
|
15334
15335
|
return;
|
|
15335
15336
|
}
|
|
15336
15337
|
}, z = () => {
|
|
15337
|
-
const
|
|
15338
|
-
|
|
15339
|
-
}, 1e3), N(
|
|
15340
|
-
}, ae = (
|
|
15341
|
-
/* @__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 } }),
|
|
15342
15343
|
" ",
|
|
15343
15344
|
/* @__PURE__ */ I.jsxs("div", { style: { fontSize: "0.6em" }, children: [
|
|
15344
15345
|
"Status: ",
|
|
15345
|
-
|
|
15346
|
+
ue.entityStatus
|
|
15346
15347
|
] })
|
|
15347
|
-
] }) : /* @__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 } }) });
|
|
15348
15349
|
return /* @__PURE__ */ I.jsxs(
|
|
15349
15350
|
$b,
|
|
15350
15351
|
{
|
|
@@ -15544,7 +15545,7 @@ function cK({
|
|
|
15544
15545
|
}
|
|
15545
15546
|
) }) });
|
|
15546
15547
|
}
|
|
15547
|
-
function
|
|
15548
|
+
function Ope(e) {
|
|
15548
15549
|
const { user: t, logout: n, isFetching: r } = Az();
|
|
15549
15550
|
return /* @__PURE__ */ I.jsx(
|
|
15550
15551
|
iR,
|
|
@@ -17192,26 +17193,26 @@ function Jp({ autoplay: e = !0, delay: t = 0, driver: n = oQ, keyframes: r, type
|
|
|
17192
17193
|
}));
|
|
17193
17194
|
let b = "idle", q = null, z = null, ae = null;
|
|
17194
17195
|
N.calculatedDuration === null && s && (N.calculatedDuration = h_(N));
|
|
17195
|
-
const { calculatedDuration:
|
|
17196
|
-
let ge = 1 / 0,
|
|
17197
|
-
|
|
17196
|
+
const { calculatedDuration: ue } = N;
|
|
17197
|
+
let ge = 1 / 0, le = 1 / 0;
|
|
17198
|
+
ue !== null && (ge = ue + o, le = ge * (s + 1) - o);
|
|
17198
17199
|
let re = 0;
|
|
17199
17200
|
const U = (Se) => {
|
|
17200
17201
|
if (z === null)
|
|
17201
17202
|
return;
|
|
17202
|
-
y > 0 && (z = Math.min(z, Se)), y < 0 && (z = Math.min(Se -
|
|
17203
|
-
const Oe = re - t * (y >= 0 ? 1 : -1), De = y >= 0 ? Oe < 0 : Oe >
|
|
17204
|
-
re = Math.max(Oe, 0), b === "finished" && q === null && (re =
|
|
17205
|
-
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;
|
|
17206
17207
|
if (s) {
|
|
17207
|
-
const mt = Math.min(re,
|
|
17208
|
+
const mt = Math.min(re, le) / ge;
|
|
17208
17209
|
let St = Math.floor(mt), $e = mt % 1;
|
|
17209
|
-
!$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;
|
|
17210
17211
|
}
|
|
17211
|
-
const Ze = De ? { done: !1, value: r[0] } :
|
|
17212
|
+
const Ze = De ? { done: !1, value: r[0] } : Fe.next(_e);
|
|
17212
17213
|
B && (Ze.value = B(Ze.value));
|
|
17213
17214
|
let { done: _t } = Ze;
|
|
17214
|
-
!De &&
|
|
17215
|
+
!De && ue !== null && (_t = y >= 0 ? re >= le : re <= 0);
|
|
17215
17216
|
const rt = q === null && (b === "finished" || b === "running" && _t);
|
|
17216
17217
|
return p && p(Ze.value), rt && ne(), Ze;
|
|
17217
17218
|
}, Q = () => {
|
|
@@ -17908,23 +17909,23 @@ function YQ(e) {
|
|
|
17908
17909
|
let z = qQ(D.prevProp, B) || // If we're making this variant active, we want to always make it active
|
|
17909
17910
|
P === f && D.isActive && !b && N || // If we removed a higher-priority variant (i is in reverse order)
|
|
17910
17911
|
_ > w && N, ae = !1;
|
|
17911
|
-
const
|
|
17912
|
-
let ge =
|
|
17912
|
+
const ue = Array.isArray(B) ? B : [B];
|
|
17913
|
+
let ge = ue.reduce(i, {});
|
|
17913
17914
|
F === !1 && (ge = {});
|
|
17914
|
-
const { prevResolvedValues:
|
|
17915
|
-
...
|
|
17915
|
+
const { prevResolvedValues: le = {} } = D, re = {
|
|
17916
|
+
...le,
|
|
17916
17917
|
...ge
|
|
17917
17918
|
}, U = (Q) => {
|
|
17918
17919
|
z = !0, y.has(Q) && (ae = !0, y.delete(Q)), D.needsAnimating[Q] = !0;
|
|
17919
17920
|
};
|
|
17920
17921
|
for (const Q in re) {
|
|
17921
|
-
const te = ge[Q], ne =
|
|
17922
|
+
const te = ge[Q], ne = le[Q];
|
|
17922
17923
|
if (S.hasOwnProperty(Q))
|
|
17923
17924
|
continue;
|
|
17924
17925
|
let fe = !1;
|
|
17925
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;
|
|
17926
17927
|
}
|
|
17927
|
-
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) => ({
|
|
17928
17929
|
animation: Q,
|
|
17929
17930
|
options: { type: P, ...u }
|
|
17930
17931
|
})));
|
|
@@ -18608,7 +18609,7 @@ const Hc = {
|
|
|
18608
18609
|
return typeof i[2 + o] == "number" && (i[2 + o] /= f), typeof i[3 + o] == "number" && (i[3 + o] /= f), s(i);
|
|
18609
18610
|
}
|
|
18610
18611
|
};
|
|
18611
|
-
let SZ = class extends
|
|
18612
|
+
let SZ = class extends je.Component {
|
|
18612
18613
|
/**
|
|
18613
18614
|
* This only mounts projection nodes for components that
|
|
18614
18615
|
* need measuring, we might want to do it for all components
|
|
@@ -18650,7 +18651,7 @@ let SZ = class extends Fe.Component {
|
|
|
18650
18651
|
};
|
|
18651
18652
|
function mM(e) {
|
|
18652
18653
|
const [t, n] = wZ(), r = M.useContext(fR);
|
|
18653
|
-
return
|
|
18654
|
+
return je.createElement(SZ, { ...e, layoutGroup: r, switchLayoutGroup: M.useContext(dR), isPresent: t, safeToRemove: n });
|
|
18654
18655
|
}
|
|
18655
18656
|
const CZ = {
|
|
18656
18657
|
borderRadius: {
|
|
@@ -20129,12 +20130,12 @@ var iu = /* @__PURE__ */ new Map(), RM = function(t) {
|
|
|
20129
20130
|
B = ne, F = D[ne], N = p.querySelectorAll(B + "[id]");
|
|
20130
20131
|
for (var fe = function(De, _e) {
|
|
20131
20132
|
b = N[De].id, q = b + "-" + jJ();
|
|
20132
|
-
var
|
|
20133
|
+
var Fe;
|
|
20133
20134
|
Array.prototype.forEach.call(F, function(Wt) {
|
|
20134
|
-
|
|
20135
|
-
for (var kt = 0, zt =
|
|
20136
|
-
var dr =
|
|
20137
|
-
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 + ")");
|
|
20138
20139
|
}
|
|
20139
20140
|
});
|
|
20140
20141
|
for (var Ze = p.querySelectorAll("[*|href]"), _t = [], rt = 0, mt = Ze.length; rt < mt; rt++) {
|
|
@@ -20149,8 +20150,8 @@ var iu = /* @__PURE__ */ new Map(), RM = function(t) {
|
|
|
20149
20150
|
});
|
|
20150
20151
|
}
|
|
20151
20152
|
p.removeAttribute("xmlns:a");
|
|
20152
|
-
for (var z = p.querySelectorAll("script"), ae = [],
|
|
20153
|
-
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]));
|
|
20154
20155
|
if (ae.length > 0 && (n === "always" || n === "once" && !iE[u])) {
|
|
20155
20156
|
for (var U = 0, Q = ae.length; U < Q; U++)
|
|
20156
20157
|
new Function(ae[U])(window);
|
|
@@ -20247,8 +20248,8 @@ var iu = /* @__PURE__ */ new Map(), RM = function(t) {
|
|
|
20247
20248
|
if (p) {
|
|
20248
20249
|
var ae = b.querySelector(":scope > title");
|
|
20249
20250
|
ae && b.removeChild(ae);
|
|
20250
|
-
var
|
|
20251
|
-
|
|
20251
|
+
var ue = document.createElement("title");
|
|
20252
|
+
ue.innerHTML = p, b.prepend(ue);
|
|
20252
20253
|
}
|
|
20253
20254
|
try {
|
|
20254
20255
|
S(b);
|
|
@@ -20392,15 +20393,15 @@ function YJ({ item: e }) {
|
|
|
20392
20393
|
return (Ru.get(zJ(e)) || Ru.get("text"))(e);
|
|
20393
20394
|
}
|
|
20394
20395
|
function IM({ ...e }) {
|
|
20395
|
-
var ae,
|
|
20396
|
-
const t = e.item, n = e.level || 0, r = !!((ae = e.item.children) != null && ae.length), i = `level-${n}`, s = (
|
|
20397
|
-
p != null && p.current && ((
|
|
20398
|
-
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 = () => {
|
|
20399
20400
|
e.isDrop || a(!0);
|
|
20400
20401
|
}, F = () => {
|
|
20401
20402
|
a(!1);
|
|
20402
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(
|
|
20403
|
-
(
|
|
20404
|
+
(le, [re, U]) => (U && (le[`--${re}`] = U), le),
|
|
20404
20405
|
{}
|
|
20405
20406
|
);
|
|
20406
20407
|
return /* @__PURE__ */ I.jsxs(
|
|
@@ -20415,8 +20416,8 @@ function IM({ ...e }) {
|
|
|
20415
20416
|
},
|
|
20416
20417
|
onMouseOver: N,
|
|
20417
20418
|
onMouseOut: F,
|
|
20418
|
-
onDragStart: (
|
|
20419
|
-
n > 1 &&
|
|
20419
|
+
onDragStart: (le) => {
|
|
20420
|
+
n > 1 && le.preventDefault(), a(!1);
|
|
20420
20421
|
},
|
|
20421
20422
|
onDragEnd: () => {
|
|
20422
20423
|
console.log("drag end 1223"), a(!1);
|
|
@@ -20427,15 +20428,18 @@ function IM({ ...e }) {
|
|
|
20427
20428
|
{
|
|
20428
20429
|
target: q,
|
|
20429
20430
|
to: P,
|
|
20430
|
-
href: P,
|
|
20431
20431
|
draggable: "true",
|
|
20432
20432
|
className: s("menu-item__link"),
|
|
20433
20433
|
style: {
|
|
20434
20434
|
width: "100%",
|
|
20435
20435
|
transition: "all 0.3s"
|
|
20436
20436
|
},
|
|
20437
|
-
|
|
20438
|
-
|
|
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);
|
|
20439
20443
|
},
|
|
20440
20444
|
onDragEnd: () => {
|
|
20441
20445
|
console.log("onDragEnd menu item"), a(!1);
|
|
@@ -20450,18 +20454,18 @@ function IM({ ...e }) {
|
|
|
20450
20454
|
hasChildren: r,
|
|
20451
20455
|
isHovered: o,
|
|
20452
20456
|
isFavorite: u,
|
|
20453
|
-
onClick: (
|
|
20457
|
+
onClick: (le) => {
|
|
20454
20458
|
const re = {
|
|
20455
20459
|
menuConfigId: t.id,
|
|
20456
|
-
isFavorite:
|
|
20460
|
+
isFavorite: le
|
|
20457
20461
|
}, U = e.baseUrl + b;
|
|
20458
20462
|
Xn.post(U, re).then((Q) => {
|
|
20459
20463
|
var te;
|
|
20460
|
-
f(
|
|
20464
|
+
f(le), oR(
|
|
20461
20465
|
Lt("components.menu.pushSuccess.menuSuccess", {
|
|
20462
20466
|
defaultValue: "Set favorite menu item successful"
|
|
20463
20467
|
})
|
|
20464
|
-
), (te = e.onSetFavoriteSuccess) == null || te.call(e, e.item.id,
|
|
20468
|
+
), (te = e.onSetFavoriteSuccess) == null || te.call(e, e.item.id, le);
|
|
20465
20469
|
}).catch((Q) => {
|
|
20466
20470
|
var te, ne;
|
|
20467
20471
|
console.log(" MenuItem.tsx ~ error:", Q), ud(
|
|
@@ -20483,7 +20487,7 @@ function IM({ ...e }) {
|
|
|
20483
20487
|
parentRef: d,
|
|
20484
20488
|
onlyChild: D < 2,
|
|
20485
20489
|
dropdownLevel: n,
|
|
20486
|
-
renderChildren: ({ maxHeight:
|
|
20490
|
+
renderChildren: ({ maxHeight: le }) => {
|
|
20487
20491
|
var re;
|
|
20488
20492
|
return /* @__PURE__ */ I.jsx(
|
|
20489
20493
|
DM.div,
|
|
@@ -20493,8 +20497,8 @@ function IM({ ...e }) {
|
|
|
20493
20497
|
`level-${D}`
|
|
20494
20498
|
),
|
|
20495
20499
|
style: kM(
|
|
20496
|
-
{ maxHeight:
|
|
20497
|
-
|
|
20500
|
+
{ maxHeight: le, overflowY: "auto", paddingRight: 3 },
|
|
20501
|
+
le !== "auto" && !!D
|
|
20498
20502
|
),
|
|
20499
20503
|
children: (re = t.children) == null ? void 0 : re.map((U) => /* @__PURE__ */ M.createElement(
|
|
20500
20504
|
IM,
|
|
@@ -20502,7 +20506,8 @@ function IM({ ...e }) {
|
|
|
20502
20506
|
...e,
|
|
20503
20507
|
key: U.id,
|
|
20504
20508
|
item: U,
|
|
20505
|
-
level: D
|
|
20509
|
+
level: D,
|
|
20510
|
+
onClickItem: e.onClickItem
|
|
20506
20511
|
}
|
|
20507
20512
|
))
|
|
20508
20513
|
}
|
|
@@ -21920,7 +21925,7 @@ function dt(e) {
|
|
|
21920
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.";
|
|
21921
21926
|
}
|
|
21922
21927
|
var Yr = null, qr = 0;
|
|
21923
|
-
function
|
|
21928
|
+
function Ve(e, t) {
|
|
21924
21929
|
if (t.length !== 0)
|
|
21925
21930
|
if (512 < t.length)
|
|
21926
21931
|
0 < qr && (e.enqueue(new Uint8Array(Yr.buffer, 0, qr)), Yr = new Uint8Array(512), qr = 0), e.enqueue(t);
|
|
@@ -21930,7 +21935,7 @@ function Be(e, t) {
|
|
|
21930
21935
|
}
|
|
21931
21936
|
}
|
|
21932
21937
|
function jt(e, t) {
|
|
21933
|
-
return
|
|
21938
|
+
return Ve(e, t), !0;
|
|
21934
21939
|
}
|
|
21935
21940
|
function OE(e) {
|
|
21936
21941
|
Yr && 0 < qr && (e.enqueue(new Uint8Array(Yr.buffer, 0, qr)), Yr = null, qr = 0);
|
|
@@ -22495,31 +22500,31 @@ Ae(' data-msg="');
|
|
|
22495
22500
|
Ae(' data-stck="');
|
|
22496
22501
|
var ste = Ae("></template>");
|
|
22497
22502
|
function $E(e, t, n) {
|
|
22498
|
-
if (
|
|
22503
|
+
if (Ve(e, Zee), n === null)
|
|
22499
22504
|
throw Error(dt(395));
|
|
22500
|
-
return
|
|
22505
|
+
return Ve(e, n), jt(e, Jee);
|
|
22501
22506
|
}
|
|
22502
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>");
|
|
22503
22508
|
function Ote(e, t, n, r) {
|
|
22504
22509
|
switch (n.insertionMode) {
|
|
22505
22510
|
case 0:
|
|
22506
22511
|
case 1:
|
|
22507
|
-
return
|
|
22512
|
+
return Ve(e, ote), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, ate);
|
|
22508
22513
|
case 2:
|
|
22509
|
-
return
|
|
22514
|
+
return Ve(e, ute), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, cte);
|
|
22510
22515
|
case 3:
|
|
22511
|
-
return
|
|
22516
|
+
return Ve(e, dte), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, hte);
|
|
22512
22517
|
case 4:
|
|
22513
|
-
return
|
|
22518
|
+
return Ve(e, gte), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, mte);
|
|
22514
22519
|
case 5:
|
|
22515
|
-
return
|
|
22520
|
+
return Ve(e, yte), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, bte);
|
|
22516
22521
|
case 6:
|
|
22517
|
-
return
|
|
22522
|
+
return Ve(e, xte), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, Ste);
|
|
22518
22523
|
case 7:
|
|
22519
|
-
return
|
|
22524
|
+
return Ve(
|
|
22520
22525
|
e,
|
|
22521
22526
|
Tte
|
|
22522
|
-
),
|
|
22527
|
+
), Ve(e, t.segmentPrefix), Ve(e, gt(r.toString(16))), jt(e, _te);
|
|
22523
22528
|
default:
|
|
22524
22529
|
throw Error(dt(397));
|
|
22525
22530
|
}
|
|
@@ -23104,7 +23109,7 @@ function Bh(e, t, n) {
|
|
|
23104
23109
|
switch (n.parentFlushed = !0, n.status) {
|
|
23105
23110
|
case 0:
|
|
23106
23111
|
var r = n.id = e.nextSegmentId++;
|
|
23107
|
-
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);
|
|
23108
23113
|
case 1:
|
|
23109
23114
|
n.status = 2;
|
|
23110
23115
|
var i = !0;
|
|
@@ -23113,11 +23118,11 @@ function Bh(e, t, n) {
|
|
|
23113
23118
|
n = n.children;
|
|
23114
23119
|
for (var o = 0; o < n.length; o++) {
|
|
23115
23120
|
for (i = n[o]; s < i.index; s++)
|
|
23116
|
-
|
|
23121
|
+
Ve(t, r[s]);
|
|
23117
23122
|
i = sm(e, t, i);
|
|
23118
23123
|
}
|
|
23119
23124
|
for (; s < r.length - 1; s++)
|
|
23120
|
-
|
|
23125
|
+
Ve(t, r[s]);
|
|
23121
23126
|
return s < r.length && (i = jt(t, r[s])), i;
|
|
23122
23127
|
default:
|
|
23123
23128
|
throw Error(dt(390));
|
|
@@ -23128,7 +23133,7 @@ function sm(e, t, n) {
|
|
|
23128
23133
|
if (r === null)
|
|
23129
23134
|
return Bh(e, t, n);
|
|
23130
23135
|
if (r.parentFlushed = !0, r.forceClientRender)
|
|
23131
|
-
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);
|
|
23132
23137
|
else if (0 < r.pendingTasks) {
|
|
23133
23138
|
r.rootSegmentID = e.nextSegmentId++, 0 < r.completedSegments.length && e.partialBoundaries.push(r);
|
|
23134
23139
|
var i = e.responseState, s = i.nextSuspenseID++;
|
|
@@ -23148,9 +23153,9 @@ function XE(e, t, n) {
|
|
|
23148
23153
|
function QE(e, t, n) {
|
|
23149
23154
|
for (var r = n.completedSegments, i = 0; i < r.length; i++)
|
|
23150
23155
|
kI(e, t, n, r[i]);
|
|
23151
|
-
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)
|
|
23152
23157
|
throw Error(dt(395));
|
|
23153
|
-
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);
|
|
23154
23159
|
}
|
|
23155
23160
|
function kI(e, t, n, r) {
|
|
23156
23161
|
if (r.status === 2)
|
|
@@ -23161,7 +23166,7 @@ function kI(e, t, n, r) {
|
|
|
23161
23166
|
throw Error(dt(392));
|
|
23162
23167
|
return XE(e, t, r);
|
|
23163
23168
|
}
|
|
23164
|
-
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);
|
|
23165
23170
|
}
|
|
23166
23171
|
function dx(e, t) {
|
|
23167
23172
|
Yr = new Uint8Array(512), qr = 0;
|
|
@@ -23171,7 +23176,7 @@ function dx(e, t) {
|
|
|
23171
23176
|
sm(e, t, n), e.completedRootSegment = null;
|
|
23172
23177
|
var r = e.responseState.bootstrapChunks;
|
|
23173
23178
|
for (n = 0; n < r.length - 1; n++)
|
|
23174
|
-
|
|
23179
|
+
Ve(t, r[n]);
|
|
23175
23180
|
n < r.length && jt(t, r[n]);
|
|
23176
23181
|
}
|
|
23177
23182
|
var i = e.clientRenderedBoundaries, s;
|
|
@@ -23179,12 +23184,12 @@ function dx(e, t) {
|
|
|
23179
23184
|
var o = i[s];
|
|
23180
23185
|
r = t;
|
|
23181
23186
|
var a = e.responseState, u = o.id, f = o.errorDigest, d = o.errorMessage, p = o.errorComponentStack;
|
|
23182
|
-
if (
|
|
23187
|
+
if (Ve(r, a.startInlineScript), a.sentClientRenderFunction ? Ve(r, Fte) : (a.sentClientRenderFunction = !0, Ve(
|
|
23183
23188
|
r,
|
|
23184
23189
|
$te
|
|
23185
23190
|
)), u === null)
|
|
23186
23191
|
throw Error(dt(395));
|
|
23187
|
-
|
|
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);
|
|
23188
23193
|
}
|
|
23189
23194
|
i.splice(0, s);
|
|
23190
23195
|
var v = e.completedBoundaries;
|
|
@@ -23405,7 +23410,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
23405
23410
|
}, hne = M.createContext(null);
|
|
23406
23411
|
function II(e) {
|
|
23407
23412
|
var t = e.children, n = t === void 0 ? "" : t, r = MI(e, ["children"]);
|
|
23408
|
-
return typeof n != "string" && (n = ine(n)),
|
|
23413
|
+
return typeof n != "string" && (n = ine(n)), je.createElement("template", RI({}, r, { dangerouslySetInnerHTML: { __html: n } }));
|
|
23409
23414
|
}
|
|
23410
23415
|
function LI(e) {
|
|
23411
23416
|
var t = e.root, n = e.children;
|
|
@@ -23427,17 +23432,17 @@ function pne(e) {
|
|
|
23427
23432
|
p.length > 0 && (b.adoptedStyleSheets = p), B(b);
|
|
23428
23433
|
} catch (q) {
|
|
23429
23434
|
(function(z) {
|
|
23430
|
-
var ae = z.error,
|
|
23435
|
+
var ae = z.error, ue = z.styleSheets, ge = z.root;
|
|
23431
23436
|
switch (ae.name) {
|
|
23432
23437
|
case "NotSupportedError":
|
|
23433
|
-
|
|
23438
|
+
ue.length > 0 && (ge.adoptedStyleSheets = ue);
|
|
23434
23439
|
break;
|
|
23435
23440
|
default:
|
|
23436
23441
|
throw ae;
|
|
23437
23442
|
}
|
|
23438
23443
|
})({ error: q, styleSheets: p, root: D });
|
|
23439
23444
|
}
|
|
23440
|
-
}, [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 })))));
|
|
23441
23446
|
});
|
|
23442
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;
|
|
23443
23448
|
}
|
|
@@ -25872,7 +25877,7 @@ function Die(e) {
|
|
|
25872
25877
|
collect: (re) => ({
|
|
25873
25878
|
isDragging: re.isDragging()
|
|
25874
25879
|
})
|
|
25875
|
-
}), [{ isOver: ae, isOverCurrent:
|
|
25880
|
+
}), [{ isOver: ae, isOverCurrent: ue }, ge] = dg(
|
|
25876
25881
|
() => ({
|
|
25877
25882
|
accept: Cy,
|
|
25878
25883
|
collect: (re) => ({
|
|
@@ -25885,8 +25890,8 @@ function Die(e) {
|
|
|
25885
25890
|
}),
|
|
25886
25891
|
[]
|
|
25887
25892
|
);
|
|
25888
|
-
let
|
|
25889
|
-
return (
|
|
25893
|
+
let le = "hover-off";
|
|
25894
|
+
return (ue || ae) && (le = "hover-on"), z(ge(b)), /* @__PURE__ */ I.jsx(
|
|
25890
25895
|
"div",
|
|
25891
25896
|
{
|
|
25892
25897
|
ref: b,
|
|
@@ -25900,7 +25905,7 @@ function Die(e) {
|
|
|
25900
25905
|
transition: "transform 0.3s ease-in-out",
|
|
25901
25906
|
...P
|
|
25902
25907
|
},
|
|
25903
|
-
className: `item ${
|
|
25908
|
+
className: `item ${le}`,
|
|
25904
25909
|
children: /* @__PURE__ */ I.jsx(
|
|
25905
25910
|
IM,
|
|
25906
25911
|
{
|
|
@@ -25911,7 +25916,8 @@ function Die(e) {
|
|
|
25911
25916
|
item: N,
|
|
25912
25917
|
level: 1,
|
|
25913
25918
|
onSetFavoriteSuccess: y,
|
|
25914
|
-
isDrop: o
|
|
25919
|
+
isDrop: o,
|
|
25920
|
+
onClickItem: e.onClickItem
|
|
25915
25921
|
}
|
|
25916
25922
|
)
|
|
25917
25923
|
}
|
|
@@ -26153,7 +26159,7 @@ var hg = { exports: {} };
|
|
|
26153
26159
|
hg.exports;
|
|
26154
26160
|
(function(e, t) {
|
|
26155
26161
|
(function() {
|
|
26156
|
-
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 = [
|
|
26157
26163
|
["ary", b],
|
|
26158
26164
|
["bind", E],
|
|
26159
26165
|
["bindKey", _],
|
|
@@ -26163,7 +26169,7 @@ hg.exports;
|
|
|
26163
26169
|
["partial", N],
|
|
26164
26170
|
["partialRight", F],
|
|
26165
26171
|
["rearg", q]
|
|
26166
|
-
],
|
|
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([
|
|
26167
26173
|
Eo + "?" + tc + "+" + kd + "(?=" + [Od, Eo, "$"].join("|") + ")",
|
|
26168
26174
|
sc + "+" + Oo + "(?=" + [Od, Eo + Ji, "$"].join("|") + ")",
|
|
26169
26175
|
Eo + "?" + Ji + "+" + kd,
|
|
@@ -26204,9 +26210,9 @@ hg.exports;
|
|
|
26204
26210
|
"parseInt",
|
|
26205
26211
|
"setTimeout"
|
|
26206
26212
|
], Am = -1, Mt = {};
|
|
26207
|
-
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;
|
|
26208
26214
|
var Pt = {};
|
|
26209
|
-
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;
|
|
26210
26216
|
var Rd = {
|
|
26211
26217
|
// Latin-1 Supplement block.
|
|
26212
26218
|
À: "A",
|
|
@@ -26797,12 +26803,12 @@ hg.exports;
|
|
|
26797
26803
|
return l;
|
|
26798
26804
|
}
|
|
26799
26805
|
function o$() {
|
|
26800
|
-
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,
|
|
26801
|
-
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)
|
|
26802
26808
|
return V1(l, this.__actions__);
|
|
26803
26809
|
var ze = [];
|
|
26804
26810
|
e:
|
|
26805
|
-
for (; ee-- && Ee <
|
|
26811
|
+
for (; ee-- && Ee < Be; ) {
|
|
26806
26812
|
ve += c;
|
|
26807
26813
|
for (var ut = -1, Ye = l[ve]; ++ut < we; ) {
|
|
26808
26814
|
var yt = ye[ut], xt = yt.iteratee, Fr = yt.type, ir = xt(Ye);
|
|
@@ -27022,7 +27028,7 @@ hg.exports;
|
|
|
27022
27028
|
var we = Vn(l), Ee = we == vt || we == Wt;
|
|
27023
27029
|
if (Lo(l))
|
|
27024
27030
|
return W1(l, X);
|
|
27025
|
-
if (we == gn || we ==
|
|
27031
|
+
if (we == gn || we == Fe || Ee && !A) {
|
|
27026
27032
|
if (W = ee || Ee ? {} : uS(l), !X)
|
|
27027
27033
|
return ee ? uF(l, R$(W, l)) : lF(l, w1(W, l));
|
|
27028
27034
|
} else {
|
|
@@ -27032,9 +27038,9 @@ hg.exports;
|
|
|
27032
27038
|
}
|
|
27033
27039
|
}
|
|
27034
27040
|
$ || ($ = new ji());
|
|
27035
|
-
var
|
|
27036
|
-
if (
|
|
27037
|
-
return
|
|
27041
|
+
var Be = $.get(l);
|
|
27042
|
+
if (Be)
|
|
27043
|
+
return Be;
|
|
27038
27044
|
$.set(l, W), FS(l) ? l.forEach(function(Ye) {
|
|
27039
27045
|
W.add(fi(Ye, c, g, Ye, l, $));
|
|
27040
27046
|
}) : NS(l) && l.forEach(function(Ye, yt) {
|
|
@@ -27168,14 +27174,14 @@ hg.exports;
|
|
|
27168
27174
|
var we = -1, Ee = X[0];
|
|
27169
27175
|
e:
|
|
27170
27176
|
for (; ++we < A && ve.length < ee; ) {
|
|
27171
|
-
var
|
|
27172
|
-
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))) {
|
|
27173
27179
|
for (W = $; --W; ) {
|
|
27174
27180
|
var ut = X[W];
|
|
27175
27181
|
if (!(ut ? ka(ut, ze) : C(l[W], ze, g)))
|
|
27176
27182
|
continue e;
|
|
27177
27183
|
}
|
|
27178
|
-
Ee && Ee.push(ze), ve.push(
|
|
27184
|
+
Ee && Ee.push(ze), ve.push(Be);
|
|
27179
27185
|
}
|
|
27180
27186
|
}
|
|
27181
27187
|
return ve;
|
|
@@ -27191,7 +27197,7 @@ hg.exports;
|
|
|
27191
27197
|
return C == null ? n : R(C, l, g);
|
|
27192
27198
|
}
|
|
27193
27199
|
function O1(l) {
|
|
27194
|
-
return en(l) && nr(l) ==
|
|
27200
|
+
return en(l) && nr(l) == Fe;
|
|
27195
27201
|
}
|
|
27196
27202
|
function B$(l) {
|
|
27197
27203
|
return en(l) && nr(l) == Pr;
|
|
@@ -27204,7 +27210,7 @@ hg.exports;
|
|
|
27204
27210
|
}
|
|
27205
27211
|
function U$(l, c, g, C, A, $) {
|
|
27206
27212
|
var W = tt(l), X = tt(c), ee = W ? Ze : Vn(l), ve = X ? Ze : Vn(c);
|
|
27207
|
-
ee = ee ==
|
|
27213
|
+
ee = ee == Fe ? gn : ee, ve = ve == Fe ? gn : ve;
|
|
27208
27214
|
var ye = ee == gn, we = ve == gn, Ee = ee == ve;
|
|
27209
27215
|
if (Ee && Lo(l)) {
|
|
27210
27216
|
if (!Lo(c))
|
|
@@ -27214,9 +27220,9 @@ hg.exports;
|
|
|
27214
27220
|
if (Ee && !ye)
|
|
27215
27221
|
return $ || ($ = new ji()), W || ql(l) ? oS(l, c, g, C, A, $) : gF(l, c, ee, g, C, A, $);
|
|
27216
27222
|
if (!(g & S)) {
|
|
27217
|
-
var
|
|
27218
|
-
if (
|
|
27219
|
-
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;
|
|
27220
27226
|
return $ || ($ = new ji()), A(ut, Ye, g, C, $);
|
|
27221
27227
|
}
|
|
27222
27228
|
}
|
|
@@ -27323,8 +27329,8 @@ hg.exports;
|
|
|
27323
27329
|
}
|
|
27324
27330
|
var ye = $ ? $(X, ee, g + "", l, c, W) : n, we = ye === n;
|
|
27325
27331
|
if (we) {
|
|
27326
|
-
var Ee = tt(ee),
|
|
27327
|
-
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;
|
|
27328
27334
|
}
|
|
27329
27335
|
we && (W.set(ee, ye), A(ye, ee, C, $, W), W.delete(ee)), Bm(l, g, ye);
|
|
27330
27336
|
}
|
|
@@ -27471,11 +27477,11 @@ hg.exports;
|
|
|
27471
27477
|
return 0;
|
|
27472
27478
|
c = g(c);
|
|
27473
27479
|
for (var W = c !== c, X = c === null, ee = $r(c), ve = c === n; A < $; ) {
|
|
27474
|
-
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);
|
|
27475
27481
|
if (W)
|
|
27476
27482
|
var Ye = C || ze;
|
|
27477
27483
|
else
|
|
27478
|
-
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;
|
|
27479
27485
|
Ye ? A = ye + 1 : $ = ye;
|
|
27480
27486
|
}
|
|
27481
27487
|
return Bn($, Oe);
|
|
@@ -27636,10 +27642,10 @@ hg.exports;
|
|
|
27636
27642
|
function G1(l, c, g, C) {
|
|
27637
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; )
|
|
27638
27644
|
we[A] = l[A];
|
|
27639
|
-
for (var
|
|
27640
|
-
we[
|
|
27645
|
+
for (var Be = A; ++ee < ve; )
|
|
27646
|
+
we[Be + ee] = c[ee];
|
|
27641
27647
|
for (; ++W < X; )
|
|
27642
|
-
(Ee || A < $) && (we[
|
|
27648
|
+
(Ee || A < $) && (we[Be + g[W]] = l[A++]);
|
|
27643
27649
|
return we;
|
|
27644
27650
|
}
|
|
27645
27651
|
function yr(l, c) {
|
|
@@ -27808,13 +27814,13 @@ hg.exports;
|
|
|
27808
27814
|
});
|
|
27809
27815
|
}
|
|
27810
27816
|
function ih(l, c, g, C, A, $, W, X, ee, ve) {
|
|
27811
|
-
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);
|
|
27812
27818
|
function Ye() {
|
|
27813
27819
|
for (var yt = arguments.length, xt = G(yt), Fr = yt; Fr--; )
|
|
27814
27820
|
xt[Fr] = arguments[Fr];
|
|
27815
|
-
if (
|
|
27821
|
+
if (Be)
|
|
27816
27822
|
var ir = Yl(Ye), jr = Ir(xt, ir);
|
|
27817
|
-
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) {
|
|
27818
27824
|
var sn = Lr(xt, ir);
|
|
27819
27825
|
return nS(
|
|
27820
27826
|
l,
|
|
@@ -27892,13 +27898,13 @@ hg.exports;
|
|
|
27892
27898
|
};
|
|
27893
27899
|
}
|
|
27894
27900
|
function nS(l, c, g, C, A, $, W, X, ee, ve) {
|
|
27895
|
-
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 : $;
|
|
27896
27902
|
c |= ye ? N : F, c &= ~(ye ? F : N), c & P || (c &= -4);
|
|
27897
27903
|
var ut = [
|
|
27898
27904
|
l,
|
|
27899
27905
|
c,
|
|
27900
27906
|
A,
|
|
27901
|
-
|
|
27907
|
+
Be,
|
|
27902
27908
|
we,
|
|
27903
27909
|
ze,
|
|
27904
27910
|
Ee,
|
|
@@ -27936,7 +27942,7 @@ hg.exports;
|
|
|
27936
27942
|
var ye = C, we = A;
|
|
27937
27943
|
C = A = n;
|
|
27938
27944
|
}
|
|
27939
|
-
var Ee = ee ? n : lv(l),
|
|
27945
|
+
var Ee = ee ? n : lv(l), Be = [
|
|
27940
27946
|
l,
|
|
27941
27947
|
c,
|
|
27942
27948
|
g,
|
|
@@ -27948,12 +27954,12 @@ hg.exports;
|
|
|
27948
27954
|
W,
|
|
27949
27955
|
X
|
|
27950
27956
|
];
|
|
27951
|
-
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)
|
|
27952
27958
|
var ze = cF(l, c, g);
|
|
27953
27959
|
else
|
|
27954
|
-
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);
|
|
27955
27961
|
var ut = Ee ? $1 : pS;
|
|
27956
|
-
return gS(ut(ze,
|
|
27962
|
+
return gS(ut(ze, Be), l, c);
|
|
27957
27963
|
}
|
|
27958
27964
|
function iS(l, c, g, C) {
|
|
27959
27965
|
return l === n || Bi(l, wn[g]) && !Xe.call(C, g) ? c : l;
|
|
@@ -27971,7 +27977,7 @@ hg.exports;
|
|
|
27971
27977
|
var ve = $.get(l), ye = $.get(c);
|
|
27972
27978
|
if (ve && ye)
|
|
27973
27979
|
return ve == c && ye == l;
|
|
27974
|
-
var we = -1, Ee = !0,
|
|
27980
|
+
var we = -1, Ee = !0, Be = g & w ? new Ma() : n;
|
|
27975
27981
|
for ($.set(l, c), $.set(c, l); ++we < X; ) {
|
|
27976
27982
|
var ze = l[we], ut = c[we];
|
|
27977
27983
|
if (C)
|
|
@@ -27982,10 +27988,10 @@ hg.exports;
|
|
|
27982
27988
|
Ee = !1;
|
|
27983
27989
|
break;
|
|
27984
27990
|
}
|
|
27985
|
-
if (
|
|
27991
|
+
if (Be) {
|
|
27986
27992
|
if (!Xt(c, function(yt, xt) {
|
|
27987
|
-
if (!ka(
|
|
27988
|
-
return
|
|
27993
|
+
if (!ka(Be, xt) && (ze === yt || A(ze, yt, g, C, $)))
|
|
27994
|
+
return Be.push(xt);
|
|
27989
27995
|
})) {
|
|
27990
27996
|
Ee = !1;
|
|
27991
27997
|
break;
|
|
@@ -28041,9 +28047,9 @@ hg.exports;
|
|
|
28041
28047
|
if (!(W ? Ee in c : Xe.call(c, Ee)))
|
|
28042
28048
|
return !1;
|
|
28043
28049
|
}
|
|
28044
|
-
var
|
|
28045
|
-
if (
|
|
28046
|
-
return
|
|
28050
|
+
var Be = $.get(l), ze = $.get(c);
|
|
28051
|
+
if (Be && ze)
|
|
28052
|
+
return Be == c && ze == l;
|
|
28047
28053
|
var ut = !0;
|
|
28048
28054
|
$.set(l, c), $.set(c, l);
|
|
28049
28055
|
for (var Ye = W; ++we < ee; ) {
|
|
@@ -28335,7 +28341,7 @@ hg.exports;
|
|
|
28335
28341
|
function mS(l) {
|
|
28336
28342
|
var c = 0, g = 0;
|
|
28337
28343
|
return function() {
|
|
28338
|
-
var C = XN(), A =
|
|
28344
|
+
var C = XN(), A = le - (C - g);
|
|
28339
28345
|
if (g = C, A > 0) {
|
|
28340
28346
|
if (++c >= ge)
|
|
28341
28347
|
return arguments[0];
|
|
@@ -28870,12 +28876,12 @@ hg.exports;
|
|
|
28870
28876
|
if (typeof l != "function")
|
|
28871
28877
|
throw new ct(o);
|
|
28872
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);
|
|
28873
|
-
function
|
|
28879
|
+
function Be(sn) {
|
|
28874
28880
|
var Vi = C, Vs = A;
|
|
28875
28881
|
return C = A = n, ve = sn, W = l.apply(Vs, Vi), W;
|
|
28876
28882
|
}
|
|
28877
28883
|
function ze(sn) {
|
|
28878
|
-
return ve = sn, X = kc(yt, c), ye ?
|
|
28884
|
+
return ve = sn, X = kc(yt, c), ye ? Be(sn) : W;
|
|
28879
28885
|
}
|
|
28880
28886
|
function ut(sn) {
|
|
28881
28887
|
var Vi = sn - ee, Vs = sn - ve, ZS = c - Vi;
|
|
@@ -28892,7 +28898,7 @@ hg.exports;
|
|
|
28892
28898
|
X = kc(yt, ut(sn));
|
|
28893
28899
|
}
|
|
28894
28900
|
function xt(sn) {
|
|
28895
|
-
return X = n, Ee && C ?
|
|
28901
|
+
return X = n, Ee && C ? Be(sn) : (C = A = n, W);
|
|
28896
28902
|
}
|
|
28897
28903
|
function Fr() {
|
|
28898
28904
|
X !== n && H1(X), ve = 0, C = ee = A = X = n;
|
|
@@ -28906,7 +28912,7 @@ hg.exports;
|
|
|
28906
28912
|
if (X === n)
|
|
28907
28913
|
return ze(ee);
|
|
28908
28914
|
if (we)
|
|
28909
|
-
return H1(X), X = kc(yt, c),
|
|
28915
|
+
return H1(X), X = kc(yt, c), Be(ee);
|
|
28910
28916
|
}
|
|
28911
28917
|
return X === n && (X = kc(yt, c)), W;
|
|
28912
28918
|
}
|
|
@@ -29452,7 +29458,7 @@ hg.exports;
|
|
|
29452
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(
|
|
29453
29459
|
(c.escape || Ml).source + "|" + ye.source + "|" + (ye === So ? Ca : Ml).source + "|" + (c.evaluate || Ml).source + "|$",
|
|
29454
29460
|
"g"
|
|
29455
|
-
),
|
|
29461
|
+
), Be = "//# sourceURL=" + (Xe.call(c, "sourceURL") ? (c.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Am + "]") + `
|
|
29456
29462
|
`;
|
|
29457
29463
|
l.replace(Ee, function(Ye, yt, xt, Fr, ir, jr) {
|
|
29458
29464
|
return xt || (xt = Fr), we += l.slice(ve, jr).replace(_a, Lm), yt && (X = !0, we += `' +
|
|
@@ -29480,7 +29486,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
29480
29486
|
`) + we + `return __p
|
|
29481
29487
|
}`;
|
|
29482
29488
|
var ut = XS(function() {
|
|
29483
|
-
return Ie($,
|
|
29489
|
+
return Ie($, Be + "return " + we).apply(n, W);
|
|
29484
29490
|
});
|
|
29485
29491
|
if (ut.source = we, bv(ut))
|
|
29486
29492
|
throw ut;
|
|
@@ -29517,7 +29523,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
29517
29523
|
return Io(C, A).join("");
|
|
29518
29524
|
}
|
|
29519
29525
|
function r3(l, c) {
|
|
29520
|
-
var g = ae, C =
|
|
29526
|
+
var g = ae, C = ue;
|
|
29521
29527
|
if (Qt(c)) {
|
|
29522
29528
|
var A = "separator" in c ? c.separator : A;
|
|
29523
29529
|
g = "length" in c ? at(c.length) : g, C = "omission" in c ? Nr(c.omission) : C;
|
|
@@ -29782,7 +29788,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
29782
29788
|
return C && Ee ? xt[0] : xt;
|
|
29783
29789
|
};
|
|
29784
29790
|
ye && g && typeof ve == "function" && ve.length != 1 && (ee = ye = !1);
|
|
29785
|
-
var Ee = this.__chain__,
|
|
29791
|
+
var Ee = this.__chain__, Be = !!this.__actions__.length, ze = $ && !Ee, ut = ee && !Be;
|
|
29786
29792
|
if (!$ && ye) {
|
|
29787
29793
|
W = ut ? W : new bt(this);
|
|
29788
29794
|
var Ye = l.apply(W, X);
|
|
@@ -30031,8 +30037,8 @@ var sL = { exports: {} };
|
|
|
30031
30037
|
function z(h, m) {
|
|
30032
30038
|
return h.nodeName && h.nodeName.toLowerCase() === m.toLowerCase();
|
|
30033
30039
|
}
|
|
30034
|
-
var ae = r.pop,
|
|
30035
|
-
"^" +
|
|
30040
|
+
var ae = r.pop, ue = r.sort, ge = r.splice, le = "[\\x20\\t\\r\\n\\f]", re = new RegExp(
|
|
30041
|
+
"^" + le + "+|((?:^|[^\\\\])(?:\\\\.)*)" + le + "+$",
|
|
30036
30042
|
"g"
|
|
30037
30043
|
);
|
|
30038
30044
|
b.contains = function(h, m) {
|
|
@@ -30052,23 +30058,23 @@ var sL = { exports: {} };
|
|
|
30052
30058
|
(function() {
|
|
30053
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) {
|
|
30054
30060
|
return V === Z && (O = !0), 0;
|
|
30055
|
-
}, ai = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", li = "(?:\\\\[\\da-fA-F]{1,6}" +
|
|
30056
|
-
"*([*^$|!~]?=)" +
|
|
30057
|
-
`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(` + 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 = {
|
|
30058
30064
|
ID: new RegExp("^#(" + li + ")"),
|
|
30059
30065
|
CLASS: new RegExp("^\\.(" + li + ")"),
|
|
30060
30066
|
TAG: new RegExp("^(" + li + "|[*])"),
|
|
30061
30067
|
ATTR: new RegExp("^" + ht),
|
|
30062
30068
|
PSEUDO: new RegExp("^" + es),
|
|
30063
30069
|
CHILD: new RegExp(
|
|
30064
|
-
"^:(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 + "*\\)|)",
|
|
30065
30071
|
"i"
|
|
30066
30072
|
),
|
|
30067
30073
|
bool: new RegExp("^(?:" + ai + ")$", "i"),
|
|
30068
30074
|
// For use in libraries implementing .is()
|
|
30069
30075
|
// We use this for POS matching in `select`
|
|
30070
|
-
needsContext: new RegExp("^" +
|
|
30071
|
-
}, 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) {
|
|
30072
30078
|
var ie = "0x" + V.slice(1) - 65536;
|
|
30073
30079
|
return Z || (ie < 0 ? String.fromCharCode(ie + 65536) : String.fromCharCode(ie >> 10 | 55296, ie & 1023 | 56320));
|
|
30074
30080
|
}, Jn = function() {
|
|
@@ -30241,7 +30247,7 @@ var sL = { exports: {} };
|
|
|
30241
30247
|
return j.getElementsByClassName(oe);
|
|
30242
30248
|
}, J = [], Do(function(oe) {
|
|
30243
30249
|
var j;
|
|
30244
|
-
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 + `*(?:''|"")`);
|
|
30245
30251
|
}), S.cssHas || J.push(":has"), J = J.length && new RegExp(J.join("|")), Xt = function(oe, j) {
|
|
30246
30252
|
if (oe === j)
|
|
30247
30253
|
return O = !0, 0;
|
|
@@ -30276,7 +30282,7 @@ var sL = { exports: {} };
|
|
|
30276
30282
|
throw new Error("Syntax error, unrecognized expression: " + V);
|
|
30277
30283
|
}, b.uniqueSort = function(V) {
|
|
30278
30284
|
var Z, ie = [], oe = 0, j = 0;
|
|
30279
|
-
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) {
|
|
30280
30286
|
for (; Z = V[j++]; )
|
|
30281
30287
|
Z === V[j] && (oe = ie.push(j));
|
|
30282
30288
|
for (; oe--; )
|
|
@@ -30323,7 +30329,7 @@ var sL = { exports: {} };
|
|
|
30323
30329
|
},
|
|
30324
30330
|
CLASS: function(V) {
|
|
30325
30331
|
var Z = Re[V + " "];
|
|
30326
|
-
return Z || (Z = new RegExp("(^|" +
|
|
30332
|
+
return Z || (Z = new RegExp("(^|" + le + ")" + V + "(" + le + "|$)")) && Re(V, function(ie) {
|
|
30327
30333
|
return Z.test(
|
|
30328
30334
|
typeof ie.className == "string" && ie.className || typeof ie.getAttribute < "u" && ie.getAttribute("class") || ""
|
|
30329
30335
|
);
|
|
@@ -30778,12 +30784,12 @@ var sL = { exports: {} };
|
|
|
30778
30784
|
).length;
|
|
30779
30785
|
}
|
|
30780
30786
|
});
|
|
30781
|
-
var _e,
|
|
30787
|
+
var _e, Fe = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/, Ze = b.fn.init = function(h, m, x) {
|
|
30782
30788
|
var T, O;
|
|
30783
30789
|
if (!h)
|
|
30784
30790
|
return this;
|
|
30785
30791
|
if (x = x || _e, typeof h == "string")
|
|
30786
|
-
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))
|
|
30787
30793
|
if (T[1]) {
|
|
30788
30794
|
if (m = m instanceof b ? m[0] : m, b.merge(this, b.parseHTML(
|
|
30789
30795
|
T[1],
|
|
@@ -33566,10 +33572,10 @@ const $ie = /* @__PURE__ */ q3(F7);
|
|
|
33566
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>";
|
|
33567
33573
|
var ae = this.locale.monthNames[_[1][1].month()] + _[1][1].format(" YYYY");
|
|
33568
33574
|
if (this.showDropdowns) {
|
|
33569
|
-
for (var
|
|
33570
|
-
(!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>";
|
|
33571
33577
|
te += "</select>";
|
|
33572
|
-
for (var fe = '<select class="yearselect">', pe = re; pe <=
|
|
33578
|
+
for (var fe = '<select class="yearselect">', pe = re; pe <= le; pe++)
|
|
33573
33579
|
fe += '<option value="' + pe + '"' + (pe === ge ? ' selected="selected"' : "") + ">" + pe + "</option>";
|
|
33574
33580
|
fe += "</select>", ae = te + fe;
|
|
33575
33581
|
}
|
|
@@ -33586,9 +33592,9 @@ const $ie = /* @__PURE__ */ q3(F7);
|
|
|
33586
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");
|
|
33587
33593
|
var De = this.isCustomDate(_[F][N]);
|
|
33588
33594
|
De !== !1 && (typeof De == "string" ? Oe.push(De) : Array.prototype.push.apply(Oe, De));
|
|
33589
|
-
for (var _e = "",
|
|
33590
|
-
_e += Oe[P] + " ", Oe[P] == "disabled" && (
|
|
33591
|
-
|
|
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>";
|
|
33592
33598
|
}
|
|
33593
33599
|
z += "</tr>";
|
|
33594
33600
|
}
|
|
@@ -37142,7 +37148,7 @@ const NO = (e) => {
|
|
|
37142
37148
|
};
|
|
37143
37149
|
});
|
|
37144
37150
|
}).catch((o) => console.log("failed: ", o)), /* @__PURE__ */ I.jsx(I.Fragment, {});
|
|
37145
|
-
}, $ae = (e, t) =>
|
|
37151
|
+
}, $ae = (e, t) => je.cloneElement(t, {}, e), Fae = ({
|
|
37146
37152
|
children: e,
|
|
37147
37153
|
providers: t
|
|
37148
37154
|
}) => /* @__PURE__ */ I.jsx(I.Fragment, { children: t.reduceRight($ae, e) }), Mu = /* @__PURE__ */ new Map();
|
|
@@ -37351,9 +37357,9 @@ var dl = function(e) {
|
|
|
37351
37357
|
return Wh.get(e);
|
|
37352
37358
|
if (HL(e))
|
|
37353
37359
|
return Wh.set(e, VO), VO;
|
|
37354
|
-
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({
|
|
37355
37361
|
devicePixelContentBoxSize: Cu(Math.round(q * devicePixelRatio), Math.round(z * devicePixelRatio), s),
|
|
37356
|
-
borderBoxSize: Cu(ae,
|
|
37362
|
+
borderBoxSize: Cu(ae, ue, s),
|
|
37357
37363
|
contentBoxSize: Cu(q, z, s),
|
|
37358
37364
|
contentRect: new UL(p, u, q, z)
|
|
37359
37365
|
});
|
|
@@ -40236,24 +40242,24 @@ function nfe(e) {
|
|
|
40236
40242
|
_ === u && P.isActive && !F && B || // If we removed a higher-priority variant (i is in reverse order)
|
|
40237
40243
|
E > S && B, z = !1;
|
|
40238
40244
|
const ae = Array.isArray(D) ? D : [D];
|
|
40239
|
-
let
|
|
40240
|
-
N === !1 && (
|
|
40241
|
-
const { prevResolvedValues: ge = {} } = P,
|
|
40245
|
+
let ue = ae.reduce(i(_), {});
|
|
40246
|
+
N === !1 && (ue = {});
|
|
40247
|
+
const { prevResolvedValues: ge = {} } = P, le = {
|
|
40242
40248
|
...ge,
|
|
40243
|
-
...
|
|
40249
|
+
...ue
|
|
40244
40250
|
}, re = (te) => {
|
|
40245
40251
|
q = !0, v.has(te) && (z = !0, v.delete(te)), P.needsAnimating[te] = !0;
|
|
40246
40252
|
const ne = e.getValue(te);
|
|
40247
40253
|
ne && (ne.liveStyle = !1);
|
|
40248
40254
|
};
|
|
40249
|
-
for (const te in
|
|
40250
|
-
const ne =
|
|
40255
|
+
for (const te in le) {
|
|
40256
|
+
const ne = ue[te], fe = ge[te];
|
|
40251
40257
|
if (y.hasOwnProperty(te))
|
|
40252
40258
|
continue;
|
|
40253
40259
|
let pe = !1;
|
|
40254
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;
|
|
40255
40261
|
}
|
|
40256
|
-
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) => ({
|
|
40257
40263
|
animation: te,
|
|
40258
40264
|
options: { type: _ }
|
|
40259
40265
|
})));
|
|
@@ -42301,7 +42307,7 @@ function Vde(e) {
|
|
|
42301
42307
|
right: q,
|
|
42302
42308
|
x: z,
|
|
42303
42309
|
y: ae
|
|
42304
|
-
} = u.current.element.getBoundingClientRect(),
|
|
42310
|
+
} = u.current.element.getBoundingClientRect(), ue = {
|
|
42305
42311
|
left: D,
|
|
42306
42312
|
top: B,
|
|
42307
42313
|
width: N,
|
|
@@ -42311,7 +42317,7 @@ function Vde(e) {
|
|
|
42311
42317
|
x: z,
|
|
42312
42318
|
y: ae
|
|
42313
42319
|
};
|
|
42314
|
-
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);
|
|
42315
42321
|
};
|
|
42316
42322
|
return [P, d ? lk(P, d) : P, f ? lk(P, f) : P];
|
|
42317
42323
|
}, [a, i, f, d]);
|
|
@@ -42816,10 +42822,10 @@ function ahe(e) {
|
|
|
42816
42822
|
var N = d === 0;
|
|
42817
42823
|
return M.useEffect(function() {
|
|
42818
42824
|
v && E(!0);
|
|
42819
|
-
}, [N]),
|
|
42825
|
+
}, [N]), je.createElement(
|
|
42820
42826
|
jde.div,
|
|
42821
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) } },
|
|
42822
|
-
|
|
42828
|
+
je.createElement("div", { ref: f }, v && a)
|
|
42823
42829
|
);
|
|
42824
42830
|
}
|
|
42825
42831
|
function lhe(e, t) {
|
|
@@ -42834,7 +42840,7 @@ var kN = M.createContext({}), uhe = {
|
|
|
42834
42840
|
isLock: !1
|
|
42835
42841
|
}, che = function(e) {
|
|
42836
42842
|
var t = M.useState(uhe.isLock), n = t[0], r = t[1];
|
|
42837
|
-
return
|
|
42843
|
+
return je.createElement(kN.Provider, { value: {
|
|
42838
42844
|
isLock: n,
|
|
42839
42845
|
lock: function() {
|
|
42840
42846
|
return r(!0);
|
|
@@ -42852,7 +42858,7 @@ var kN = M.createContext({}), uhe = {
|
|
|
42852
42858
|
}, u = function() {
|
|
42853
42859
|
r(Xh.dropTargetId), o(Xh.index);
|
|
42854
42860
|
};
|
|
42855
|
-
return
|
|
42861
|
+
return je.createElement(yd.Provider, { value: {
|
|
42856
42862
|
dropTargetId: n,
|
|
42857
42863
|
index: s,
|
|
42858
42864
|
showPlaceholder: a,
|
|
@@ -43068,15 +43074,15 @@ var kN = M.createContext({}), uhe = {
|
|
|
43068
43074
|
} : void 0, onToggle: function(y) {
|
|
43069
43075
|
return i(y, e.onChangeOpen);
|
|
43070
43076
|
} });
|
|
43071
|
-
return
|
|
43077
|
+
return je.createElement(MN.Provider, { value: v }, e.children);
|
|
43072
43078
|
}, xhe = function(e) {
|
|
43073
|
-
return
|
|
43079
|
+
return je.createElement(
|
|
43074
43080
|
whe,
|
|
43075
43081
|
Pi({}, e),
|
|
43076
|
-
|
|
43082
|
+
je.createElement(
|
|
43077
43083
|
che,
|
|
43078
43084
|
null,
|
|
43079
|
-
|
|
43085
|
+
je.createElement(fhe, null, e.children)
|
|
43080
43086
|
)
|
|
43081
43087
|
);
|
|
43082
43088
|
}, She = function(e) {
|
|
@@ -43322,23 +43328,23 @@ var kN = M.createContext({}), uhe = {
|
|
|
43322
43328
|
handleRef: i,
|
|
43323
43329
|
onToggle: P
|
|
43324
43330
|
}, b = "";
|
|
43325
|
-
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(
|
|
43326
43332
|
D,
|
|
43327
43333
|
{ ref: r, className: b, role: "listitem" },
|
|
43328
43334
|
t.render(s, F),
|
|
43329
|
-
u && F.hasChild &&
|
|
43335
|
+
u && F.hasChild && je.createElement(
|
|
43330
43336
|
ahe,
|
|
43331
43337
|
{ isVisible: f },
|
|
43332
|
-
|
|
43338
|
+
je.createElement(Lb, { parentId: e.id, depth: e.depth + 1 })
|
|
43333
43339
|
),
|
|
43334
|
-
!u && F.hasChild && f &&
|
|
43340
|
+
!u && F.hasChild && f && je.createElement(Lb, { parentId: e.id, depth: e.depth + 1 })
|
|
43335
43341
|
);
|
|
43336
43342
|
}, hk = function(e) {
|
|
43337
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();
|
|
43338
43344
|
if (!n || !u)
|
|
43339
43345
|
return null;
|
|
43340
43346
|
var f = e.dropTargetId === s.dropTargetId && (e.index === s.index || e.index === void 0 && e.listCount === s.index), d = a.getTargetIds();
|
|
43341
|
-
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 }));
|
|
43342
43348
|
}, Lb = function(e) {
|
|
43343
43349
|
var t = va(), n = M.useRef(null), r = t.tree.filter(function(w) {
|
|
43344
43350
|
return w.parent === e.parentId;
|
|
@@ -43355,18 +43361,18 @@ var kN = M.createContext({}), uhe = {
|
|
|
43355
43361
|
var u = _he(n), f = u[0], d = u[1], p = u[2];
|
|
43356
43362
|
e.parentId === t.rootId && fa(d, t.rootId, t) && p(n);
|
|
43357
43363
|
var v = khe(e.parentId, f), y = t.rootProps || {}, S = t.listComponent;
|
|
43358
|
-
return
|
|
43364
|
+
return je.createElement(
|
|
43359
43365
|
S,
|
|
43360
43366
|
Pi({ ref: n, role: "list" }, y, { className: v }),
|
|
43361
43367
|
i.map(function(w, E) {
|
|
43362
|
-
return
|
|
43363
|
-
|
|
43368
|
+
return je.createElement(
|
|
43369
|
+
je.Fragment,
|
|
43364
43370
|
{ key: w.id },
|
|
43365
|
-
|
|
43366
|
-
|
|
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 })
|
|
43367
43373
|
);
|
|
43368
43374
|
}),
|
|
43369
|
-
|
|
43375
|
+
je.createElement(hk, { depth: e.depth, listCount: i.length, dropTargetId: e.parentId })
|
|
43370
43376
|
);
|
|
43371
43377
|
}, Rhe = {
|
|
43372
43378
|
height: "100%",
|
|
@@ -43387,18 +43393,18 @@ var kN = M.createContext({}), uhe = {
|
|
|
43387
43393
|
};
|
|
43388
43394
|
}, Ihe = function() {
|
|
43389
43395
|
var e = va(), t = Dhe(), n = t.isDragging, r = t.clientOffset;
|
|
43390
|
-
return !n || !r ? null :
|
|
43396
|
+
return !n || !r ? null : je.createElement(
|
|
43391
43397
|
"div",
|
|
43392
43398
|
{ style: Rhe },
|
|
43393
|
-
|
|
43399
|
+
je.createElement("div", { style: Mhe(t) }, e.dragPreviewRender && e.dragPreviewRender(t))
|
|
43394
43400
|
);
|
|
43395
43401
|
};
|
|
43396
43402
|
function Lhe(e, t) {
|
|
43397
|
-
return
|
|
43403
|
+
return je.createElement(
|
|
43398
43404
|
xhe,
|
|
43399
43405
|
Pi({}, e, { treeRef: t }),
|
|
43400
|
-
e.dragPreviewRender &&
|
|
43401
|
-
|
|
43406
|
+
e.dragPreviewRender && je.createElement(Ihe, null),
|
|
43407
|
+
je.createElement(Lb, { parentId: e.rootId, depth: 0 })
|
|
43402
43408
|
);
|
|
43403
43409
|
}
|
|
43404
43410
|
var Nhe = M.forwardRef(Lhe);
|
|
@@ -43454,15 +43460,24 @@ function Fhe(e) {
|
|
|
43454
43460
|
n.current
|
|
43455
43461
|
);
|
|
43456
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
|
+
}
|
|
43457
43472
|
function NN({ ...e }) {
|
|
43458
43473
|
var Se, Oe, De;
|
|
43459
|
-
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);
|
|
43460
43475
|
M.useEffect(() => {
|
|
43461
43476
|
E(!!e.item.isFavorite);
|
|
43462
43477
|
}, [e.item.isFavorite]);
|
|
43463
43478
|
const _ = M.useRef(), P = M.useRef();
|
|
43464
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);
|
|
43465
|
-
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 = () => {
|
|
43466
43481
|
S(!0);
|
|
43467
43482
|
}, re = () => {
|
|
43468
43483
|
S(!1);
|
|
@@ -43473,7 +43488,7 @@ function NN({ ...e }) {
|
|
|
43473
43488
|
e.params.onToggle
|
|
43474
43489
|
);
|
|
43475
43490
|
const ne = Q || s && n === 0 ? t.name === "POMs" ? "Parking Operations Management" : t.description || t.name : null, fe = Object.entries(e.brandColors || {}).reduce(
|
|
43476
|
-
(_e, [
|
|
43491
|
+
(_e, [Fe, Ze]) => (Ze && (_e[`--${Fe}`] = Ze), _e),
|
|
43477
43492
|
{}
|
|
43478
43493
|
), pe = D !== B.origin || e.item.redirectUrl ? "_blank" : "_self";
|
|
43479
43494
|
return /* @__PURE__ */ I.jsxs(
|
|
@@ -43486,7 +43501,7 @@ function NN({ ...e }) {
|
|
|
43486
43501
|
transition: "all 0.3s",
|
|
43487
43502
|
...fe
|
|
43488
43503
|
},
|
|
43489
|
-
onMouseOver:
|
|
43504
|
+
onMouseOver: le,
|
|
43490
43505
|
onMouseOut: re,
|
|
43491
43506
|
onDragStart: (_e) => {
|
|
43492
43507
|
s && n > 1 && _e.preventDefault();
|
|
@@ -43497,32 +43512,23 @@ function NN({ ...e }) {
|
|
|
43497
43512
|
{
|
|
43498
43513
|
target: pe,
|
|
43499
43514
|
to: z,
|
|
43500
|
-
href: z,
|
|
43501
43515
|
draggable: "true",
|
|
43502
43516
|
className: v("menu-item__link"),
|
|
43503
43517
|
style: {
|
|
43504
43518
|
paddingLeft: ge
|
|
43505
|
-
// transition: 'all 0.3s',
|
|
43506
|
-
// transitionDelay: '0.1s',
|
|
43507
|
-
// color: isActive(item.id)
|
|
43508
|
-
// ? props.brandColors?.primary400 || color.primary400
|
|
43509
|
-
// : undefined,
|
|
43510
|
-
// backgroundColor:
|
|
43511
|
-
// isActive(item.id) && level === 0
|
|
43512
|
-
// ? props.brandColors?.primary200
|
|
43513
|
-
// : undefined,
|
|
43514
43519
|
},
|
|
43515
43520
|
onClick: (_e) => {
|
|
43516
|
-
|
|
43521
|
+
var Fe;
|
|
43522
|
+
q === "a" && pe === "_blank" || (!r && t.path && (localStorage.setItem(
|
|
43517
43523
|
"latestClickMenuPath",
|
|
43518
43524
|
(t.path || "").replace(window.location.origin, "")
|
|
43519
|
-
), !s && e.toggleExpand(_e));
|
|
43525
|
+
), (Fe = e.onClickItem) == null || Fe.call(e, z)), !s && e.toggleExpand(_e));
|
|
43520
43526
|
},
|
|
43521
43527
|
children: [
|
|
43522
|
-
/* @__PURE__ */ I.jsx(
|
|
43528
|
+
/* @__PURE__ */ I.jsx(Bhe, { cls: v, item: t }),
|
|
43523
43529
|
/* @__PURE__ */ I.jsx("span", { className: v("menu-item__label"), ref: P, children: t.name }),
|
|
43524
43530
|
/* @__PURE__ */ I.jsx(
|
|
43525
|
-
|
|
43531
|
+
Vhe,
|
|
43526
43532
|
{
|
|
43527
43533
|
tooltipPosition: ne ? "right" : "top",
|
|
43528
43534
|
menuLevel: n,
|
|
@@ -43530,11 +43536,11 @@ function NN({ ...e }) {
|
|
|
43530
43536
|
isHovered: y,
|
|
43531
43537
|
isFavorite: w,
|
|
43532
43538
|
onClick: (_e) => {
|
|
43533
|
-
const
|
|
43539
|
+
const Fe = {
|
|
43534
43540
|
menuConfigId: t.id,
|
|
43535
43541
|
isFavorite: _e
|
|
43536
43542
|
}, Ze = e.baseUrl + U;
|
|
43537
|
-
Xn.post(Ze,
|
|
43543
|
+
Xn.post(Ze, Fe).then((_t) => {
|
|
43538
43544
|
var rt;
|
|
43539
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);
|
|
43540
43546
|
}).catch((_t) => {
|
|
@@ -43557,13 +43563,13 @@ function NN({ ...e }) {
|
|
|
43557
43563
|
]
|
|
43558
43564
|
}
|
|
43559
43565
|
) }),
|
|
43560
|
-
|
|
43566
|
+
ue && /* @__PURE__ */ I.jsx(
|
|
43561
43567
|
Fhe,
|
|
43562
43568
|
{
|
|
43563
43569
|
parentRef: _,
|
|
43564
43570
|
onlyChild: !s,
|
|
43565
43571
|
renderChildren: ({ maxHeight: _e }) => {
|
|
43566
|
-
var
|
|
43572
|
+
var Fe;
|
|
43567
43573
|
return /* @__PURE__ */ I.jsx(
|
|
43568
43574
|
DM.div,
|
|
43569
43575
|
{
|
|
@@ -43575,7 +43581,7 @@ function NN({ ...e }) {
|
|
|
43575
43581
|
{ maxHeight: _e, overflowY: "auto", paddingRight: 3 },
|
|
43576
43582
|
_e !== "auto" && !!ae
|
|
43577
43583
|
),
|
|
43578
|
-
children: (
|
|
43584
|
+
children: (Fe = t.children) == null ? void 0 : Fe.map((Ze) => /* @__PURE__ */ M.createElement(
|
|
43579
43585
|
NN,
|
|
43580
43586
|
{
|
|
43581
43587
|
...e,
|
|
@@ -43593,10 +43599,10 @@ function NN({ ...e }) {
|
|
|
43593
43599
|
}
|
|
43594
43600
|
);
|
|
43595
43601
|
}
|
|
43596
|
-
function
|
|
43602
|
+
function Bhe({ item: e, cls: t }) {
|
|
43597
43603
|
return /* @__PURE__ */ I.jsx("div", { className: t("menu-item__icon"), children: /* @__PURE__ */ I.jsx(Bae, { item: e }) });
|
|
43598
43604
|
}
|
|
43599
|
-
function
|
|
43605
|
+
function Vhe(e) {
|
|
43600
43606
|
const t = {
|
|
43601
43607
|
marginRight: e.hasChildren ? 10 : 0,
|
|
43602
43608
|
fontSize: 18,
|
|
@@ -43641,7 +43647,7 @@ function Bhe(e) {
|
|
|
43641
43647
|
)
|
|
43642
43648
|
] });
|
|
43643
43649
|
}
|
|
43644
|
-
function
|
|
43650
|
+
function Uhe() {
|
|
43645
43651
|
return /* @__PURE__ */ I.jsx(
|
|
43646
43652
|
"svg",
|
|
43647
43653
|
{
|
|
@@ -43656,7 +43662,7 @@ function Vhe() {
|
|
|
43656
43662
|
}
|
|
43657
43663
|
);
|
|
43658
43664
|
}
|
|
43659
|
-
function
|
|
43665
|
+
function Hhe() {
|
|
43660
43666
|
return /* @__PURE__ */ I.jsx(
|
|
43661
43667
|
"svg",
|
|
43662
43668
|
{
|
|
@@ -43671,7 +43677,7 @@ function Uhe() {
|
|
|
43671
43677
|
}
|
|
43672
43678
|
);
|
|
43673
43679
|
}
|
|
43674
|
-
function
|
|
43680
|
+
function Whe(e) {
|
|
43675
43681
|
return /* @__PURE__ */ I.jsx(
|
|
43676
43682
|
"svg",
|
|
43677
43683
|
{
|
|
@@ -43693,7 +43699,7 @@ function Hhe(e) {
|
|
|
43693
43699
|
}
|
|
43694
43700
|
);
|
|
43695
43701
|
}
|
|
43696
|
-
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) => {
|
|
43697
43703
|
const t = e.isCollapsed ? 0 : e.depth * 16;
|
|
43698
43704
|
return /* @__PURE__ */ I.jsx(
|
|
43699
43705
|
"div",
|
|
@@ -43709,7 +43715,7 @@ const Whe = ".flex-col-center{display:flex;flex-direction:column;justify-content
|
|
|
43709
43715
|
}
|
|
43710
43716
|
}
|
|
43711
43717
|
);
|
|
43712
|
-
},
|
|
43718
|
+
}, qhe = ".app,.treeRoot{height:100%}.draggingSource{opacity:.3}.placeholderContainer{position:relative}.dropTarget{background-color:#8d878711}", Ghe = (e) => {
|
|
43713
43719
|
const [t, n] = M.useState(() => {
|
|
43714
43720
|
const r = localStorage.getItem("openingMenuIds");
|
|
43715
43721
|
return r && r !== "[]" ? JSON.parse(r) : (e == null ? void 0 : e.initOpenIds) || [];
|
|
@@ -43728,13 +43734,13 @@ function $N(e) {
|
|
|
43728
43734
|
}
|
|
43729
43735
|
const Op = localStorage.getItem("isCollapsed");
|
|
43730
43736
|
$N(Op);
|
|
43731
|
-
function
|
|
43737
|
+
function Khe(e) {
|
|
43732
43738
|
const t = new CustomEvent("favoriteMenusChange", {
|
|
43733
43739
|
detail: { favoriteMenus: e }
|
|
43734
43740
|
});
|
|
43735
43741
|
window.dispatchEvent(t);
|
|
43736
43742
|
}
|
|
43737
|
-
function
|
|
43743
|
+
function Xhe(e) {
|
|
43738
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(
|
|
43739
43745
|
Op === null ? !0 : Op === "true"
|
|
43740
43746
|
), [p, v] = M.useState(window.location.href), y = M.useRef(null);
|
|
@@ -43744,7 +43750,7 @@ function Khe(e) {
|
|
|
43744
43750
|
}, [i, e.handleCallback]), M.useEffect(() => {
|
|
43745
43751
|
v(window.location.href);
|
|
43746
43752
|
}, [t]);
|
|
43747
|
-
const S =
|
|
43753
|
+
const S = Zhe(i, p), [w, E] = Ghe({
|
|
43748
43754
|
initOpenIds: e.initOpenIds
|
|
43749
43755
|
}), _ = () => {
|
|
43750
43756
|
var re, U;
|
|
@@ -43834,7 +43840,7 @@ function Khe(e) {
|
|
|
43834
43840
|
};
|
|
43835
43841
|
}
|
|
43836
43842
|
const Q = re.map((te) => U(te));
|
|
43837
|
-
|
|
43843
|
+
Khe(Q);
|
|
43838
43844
|
}, [i]);
|
|
43839
43845
|
function ae(re) {
|
|
43840
43846
|
const U = re.detail.menuItem;
|
|
@@ -43864,21 +43870,21 @@ function Khe(e) {
|
|
|
43864
43870
|
Q == null || Q.removeEventListener("scroll", U);
|
|
43865
43871
|
};
|
|
43866
43872
|
}, [i]);
|
|
43867
|
-
function
|
|
43873
|
+
function ue(re) {
|
|
43868
43874
|
o(!0);
|
|
43869
43875
|
const U = [...n], Q = [...re], te = Q.filter((_e) => _e.parent === 0), ne = Q.filter((_e) => _e.parent !== 0), fe = te.find((_e) => {
|
|
43870
|
-
var
|
|
43871
|
-
return ((
|
|
43876
|
+
var Fe;
|
|
43877
|
+
return ((Fe = _e.data) == null ? void 0 : Fe.name) === "Home";
|
|
43872
43878
|
}), pe = te.filter(
|
|
43873
43879
|
(_e) => {
|
|
43874
|
-
var
|
|
43875
|
-
return ((
|
|
43880
|
+
var Fe;
|
|
43881
|
+
return ((Fe = _e.data) == null ? void 0 : Fe.name) !== "Home";
|
|
43876
43882
|
}
|
|
43877
43883
|
), Oe = [...fe ? [fe, ...pe] : pe, ...ne];
|
|
43878
43884
|
r(Oe);
|
|
43879
|
-
const De = Oe.map((_e,
|
|
43885
|
+
const De = Oe.map((_e, Fe) => ({
|
|
43880
43886
|
menuItemId: _e.id,
|
|
43881
|
-
order:
|
|
43887
|
+
order: Fe
|
|
43882
43888
|
}));
|
|
43883
43889
|
Xn.post("/global-menu-config/api/v1/menu-items/user", De, {
|
|
43884
43890
|
baseURL: e.baseUrl
|
|
@@ -43892,14 +43898,14 @@ function Khe(e) {
|
|
|
43892
43898
|
const ge = M.useMemo(
|
|
43893
43899
|
() => Op === "false" ? w : [],
|
|
43894
43900
|
[]
|
|
43895
|
-
),
|
|
43901
|
+
), le = document.getElementById("global-menu-container");
|
|
43896
43902
|
return /* @__PURE__ */ I.jsxs("div", { className: N("side-bar"), children: [
|
|
43897
43903
|
/* @__PURE__ */ I.jsx("div", { className: N("wrap-section side-bar__wrapper-toggle-btn"), children: /* @__PURE__ */ I.jsx(
|
|
43898
43904
|
"button",
|
|
43899
43905
|
{
|
|
43900
43906
|
className: "icon-btn side-bar__toggle-btn",
|
|
43901
43907
|
onClick: _,
|
|
43902
|
-
children: f ? /* @__PURE__ */ I.jsx(
|
|
43908
|
+
children: f ? /* @__PURE__ */ I.jsx(Hhe, {}) : /* @__PURE__ */ I.jsx(Uhe, {})
|
|
43903
43909
|
}
|
|
43904
43910
|
) }),
|
|
43905
43911
|
/* @__PURE__ */ I.jsx(
|
|
@@ -43933,7 +43939,7 @@ function Khe(e) {
|
|
|
43933
43939
|
insertDroppableFirst: !1,
|
|
43934
43940
|
enableAnimateExpand: !0,
|
|
43935
43941
|
dropTargetOffset: 10,
|
|
43936
|
-
onDrop:
|
|
43942
|
+
onDrop: ue,
|
|
43937
43943
|
render: (re, U) => {
|
|
43938
43944
|
function Q(pe) {
|
|
43939
43945
|
return n.every((Se) => Se.parent !== pe.id) ? pe : {
|
|
@@ -43958,6 +43964,7 @@ function Khe(e) {
|
|
|
43958
43964
|
return /* @__PURE__ */ I.jsx(
|
|
43959
43965
|
NN,
|
|
43960
43966
|
{
|
|
43967
|
+
onClickItem: e.onClickItem,
|
|
43961
43968
|
isInternalApp: e.isInternalApp,
|
|
43962
43969
|
isActive: ne,
|
|
43963
43970
|
isCollapsed: f,
|
|
@@ -43993,7 +44000,7 @@ function Khe(e) {
|
|
|
43993
44000
|
placeholderRender: (re, { depth: U }) => {
|
|
43994
44001
|
var Q;
|
|
43995
44002
|
return /* @__PURE__ */ I.jsx(
|
|
43996
|
-
|
|
44003
|
+
Yhe,
|
|
43997
44004
|
{
|
|
43998
44005
|
node: re,
|
|
43999
44006
|
depth: U,
|
|
@@ -44024,10 +44031,10 @@ function Khe(e) {
|
|
|
44024
44031
|
{
|
|
44025
44032
|
className: N("side-bar__logout-btn"),
|
|
44026
44033
|
onClick: () => {
|
|
44027
|
-
|
|
44034
|
+
le.style.setProperty("z-index", "1304"), le.classList.remove("backdrop-delay-transition"), D(!0);
|
|
44028
44035
|
},
|
|
44029
44036
|
children: [
|
|
44030
|
-
/* @__PURE__ */ I.jsx(
|
|
44037
|
+
/* @__PURE__ */ I.jsx(Whe, { className: N("side-bar__icon-logout") }),
|
|
44031
44038
|
/* @__PURE__ */ I.jsx("span", { className: N("side-bar__logout-btn__text"), children: "Logout" })
|
|
44032
44039
|
]
|
|
44033
44040
|
}
|
|
@@ -44037,10 +44044,10 @@ function Khe(e) {
|
|
|
44037
44044
|
{
|
|
44038
44045
|
isOpen: P,
|
|
44039
44046
|
onClose: () => {
|
|
44040
|
-
|
|
44047
|
+
le.style.setProperty(
|
|
44041
44048
|
"z-index",
|
|
44042
44049
|
"var(--menu-z-index)"
|
|
44043
|
-
),
|
|
44050
|
+
), le.classList.add("backdrop-delay-transition"), D(!1);
|
|
44044
44051
|
},
|
|
44045
44052
|
onConfirm: () => e.logout ? e.logout() : Hae(e.baseUrl)
|
|
44046
44053
|
}
|
|
@@ -44132,14 +44139,14 @@ const pk = {
|
|
|
44132
44139
|
"/anpr/page/Issues/Index?status=Closed": ["/anpr/page/Issues"],
|
|
44133
44140
|
"/anpr/page/Issues/Index": ["/anpr/page/Issues"]
|
|
44134
44141
|
};
|
|
44135
|
-
function
|
|
44142
|
+
function Qhe(e, t) {
|
|
44136
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", "");
|
|
44137
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;
|
|
44138
44145
|
}
|
|
44139
|
-
function
|
|
44146
|
+
function Zhe(e, t) {
|
|
44140
44147
|
const n = e.map((o) => ({
|
|
44141
44148
|
item: o,
|
|
44142
|
-
priority: o.path ?
|
|
44149
|
+
priority: o.path ? Qhe(o.path, t) : 0
|
|
44143
44150
|
})).filter((o) => o.priority > 0);
|
|
44144
44151
|
console.log(" index.tsx ~ matchedItems:", n);
|
|
44145
44152
|
const r = n.length > 0 ? n.reduce(
|
|
@@ -44162,30 +44169,30 @@ function jN(e) {
|
|
|
44162
44169
|
path: window.location.origin + "/app" + n.path
|
|
44163
44170
|
} : (n.children && (n.children = jN(n.children)), n));
|
|
44164
44171
|
}
|
|
44165
|
-
function
|
|
44172
|
+
function Jhe(e) {
|
|
44166
44173
|
return (
|
|
44167
44174
|
// <ShadowDOM.div>
|
|
44168
44175
|
/* @__PURE__ */ I.jsx(
|
|
44169
44176
|
$b,
|
|
44170
44177
|
{
|
|
44171
44178
|
id: "global-menu-container",
|
|
44172
|
-
styles: [Fk,
|
|
44179
|
+
styles: [Fk, zhe, qhe],
|
|
44173
44180
|
style: {
|
|
44174
44181
|
zIndex: "var(--menu-z-index)",
|
|
44175
44182
|
position: "relative"
|
|
44176
44183
|
},
|
|
44177
44184
|
className: "backdrop-delay-transition",
|
|
44178
|
-
children: /* @__PURE__ */ I.jsx(
|
|
44185
|
+
children: /* @__PURE__ */ I.jsx(Xhe, { ...e })
|
|
44179
44186
|
}
|
|
44180
44187
|
)
|
|
44181
44188
|
);
|
|
44182
44189
|
}
|
|
44183
|
-
function
|
|
44190
|
+
function epe(e) {
|
|
44184
44191
|
const t = { ...Dn, ...e.brandColors };
|
|
44185
|
-
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 }) }) });
|
|
44186
44193
|
}
|
|
44187
44194
|
{
|
|
44188
|
-
const e = Xf(
|
|
44195
|
+
const e = Xf(epe, {
|
|
44189
44196
|
props: {
|
|
44190
44197
|
baseUrl: "string",
|
|
44191
44198
|
menuPath: "string",
|
|
@@ -44203,10 +44210,10 @@ function Jhe(e) {
|
|
|
44203
44210
|
}
|
|
44204
44211
|
export {
|
|
44205
44212
|
Pie as F,
|
|
44206
|
-
|
|
44213
|
+
Jhe as G,
|
|
44207
44214
|
Iz as H,
|
|
44208
44215
|
uK as L,
|
|
44209
|
-
|
|
44216
|
+
Ope as T,
|
|
44210
44217
|
Rie as U,
|
|
44211
44218
|
Mz as g,
|
|
44212
44219
|
iL as u
|