@ukpc-lib/react 0.1.9 → 0.1.10
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/GlobalMenu/components/MenuItem.d.ts +3 -2
- package/dist/components/GlobalMenu/index.d.ts +2 -2
- package/dist/components/index.cjs +4 -4
- package/dist/components/index.js +338 -337
- package/package.json +1 -1
- package/web-components-bundle/global-menu/index.cjs +4 -4
- package/web-components-bundle/global-menu/index.js +299 -297
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as x, R as Ia, g as Wa, e as ws,
|
|
1
|
+
import { r as x, R as Ia, g as Wa, e as ws, p as U, j as O, a as Ua, S as za, L as Ha, s as $a } from "../index-6ba7e1d4.js";
|
|
2
2
|
/**
|
|
3
3
|
* @remix-run/router v1.14.2
|
|
4
4
|
*
|
|
@@ -645,8 +645,8 @@ function Mt(e, t, n) {
|
|
|
645
645
|
return c = T, a = setTimeout(v, t), f ? d(T) : s;
|
|
646
646
|
}
|
|
647
647
|
function m(T) {
|
|
648
|
-
var P = T - l, A = T - c,
|
|
649
|
-
return u ? Gl(
|
|
648
|
+
var P = T - l, A = T - c, R = t - P;
|
|
649
|
+
return u ? Gl(R, o - A) : R;
|
|
650
650
|
}
|
|
651
651
|
function g(T) {
|
|
652
652
|
var P = T - l, A = T - c;
|
|
@@ -767,7 +767,7 @@ var Zl = /* @__PURE__ */ Object.freeze({
|
|
|
767
767
|
addClasses: Ns,
|
|
768
768
|
removeClasses: Bs,
|
|
769
769
|
classNamesToQuery: Is
|
|
770
|
-
}), ye = js, xn = _s, Ql = Fs, ve = Ns, be = Bs,
|
|
770
|
+
}), ye = js, xn = _s, Ql = Fs, ve = Ns, be = Bs, X = Is, Pt = (
|
|
771
771
|
/** @class */
|
|
772
772
|
function() {
|
|
773
773
|
function e(t, n) {
|
|
@@ -883,7 +883,7 @@ var Zl = /* @__PURE__ */ Object.freeze({
|
|
|
883
883
|
Ds && (this.initDOM(), this.rtlHelpers = e.getRtlHelpers(), this.scrollbarWidth = this.getScrollbarWidth(), this.recalculate(), this.initListeners());
|
|
884
884
|
}, e.prototype.initDOM = function() {
|
|
885
885
|
var t, n;
|
|
886
|
-
this.wrapperEl = this.el.querySelector(
|
|
886
|
+
this.wrapperEl = this.el.querySelector(X(this.classNames.wrapper)), this.contentWrapperEl = this.options.scrollableNode || this.el.querySelector(X(this.classNames.contentWrapper)), this.contentEl = this.options.contentNode || this.el.querySelector(X(this.classNames.contentEl)), this.offsetEl = this.el.querySelector(X(this.classNames.offset)), this.maskEl = this.el.querySelector(X(this.classNames.mask)), this.placeholderEl = this.findChild(this.wrapperEl, X(this.classNames.placeholder)), this.heightAutoObserverWrapperEl = this.el.querySelector(X(this.classNames.heightAutoObserverWrapperEl)), this.heightAutoObserverEl = this.el.querySelector(X(this.classNames.heightAutoObserverEl)), this.axis.x.track.el = this.findChild(this.el, "".concat(X(this.classNames.track)).concat(X(this.classNames.horizontal))), this.axis.y.track.el = this.findChild(this.el, "".concat(X(this.classNames.track)).concat(X(this.classNames.vertical))), this.axis.x.scrollbar.el = ((t = this.axis.x.track.el) === null || t === void 0 ? void 0 : t.querySelector(X(this.classNames.scrollbar))) || null, this.axis.y.scrollbar.el = ((n = this.axis.y.track.el) === null || n === void 0 ? void 0 : n.querySelector(X(this.classNames.scrollbar))) || null, this.options.autoHide || (ve(this.axis.x.scrollbar.el, this.classNames.visible), ve(this.axis.y.scrollbar.el, this.classNames.visible));
|
|
887
887
|
}, e.prototype.initListeners = function() {
|
|
888
888
|
var t = this, n, r = ye(this.el);
|
|
889
889
|
if (this.el.addEventListener("mouseenter", this.onMouseEnter), this.el.addEventListener("pointerdown", this.onPointerEvent, !0), this.el.addEventListener("mousemove", this.onMouseMove), this.el.addEventListener("mouseleave", this.onMouseLeave), (n = this.contentWrapperEl) === null || n === void 0 || n.addEventListener("scroll", this.onScroll), r.addEventListener("resize", this.onWindowResize), !!this.contentEl) {
|
|
@@ -1329,7 +1329,7 @@ const vt = [
|
|
|
1329
1329
|
function Xs(e, { layout: t, layoutId: n }) {
|
|
1330
1330
|
return _e.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Ut[e] || e === "opacity");
|
|
1331
1331
|
}
|
|
1332
|
-
const
|
|
1332
|
+
const K = (e) => !!(e && e.getVelocity), pc = {
|
|
1333
1333
|
x: "translateX",
|
|
1334
1334
|
y: "translateY",
|
|
1335
1335
|
z: "translateZ",
|
|
@@ -1467,7 +1467,7 @@ const pr = () => ({
|
|
|
1467
1467
|
});
|
|
1468
1468
|
function Qs(e, t, n) {
|
|
1469
1469
|
for (const r in t)
|
|
1470
|
-
!
|
|
1470
|
+
!K(t[r]) && !Xs(r, n) && (e[r] = t[r]);
|
|
1471
1471
|
}
|
|
1472
1472
|
function Sc({ transformTemplate: e }, t, n) {
|
|
1473
1473
|
return x.useMemo(() => {
|
|
@@ -1599,7 +1599,7 @@ function Lc(e = !1) {
|
|
|
1599
1599
|
...Cc(r, typeof n == "string", e),
|
|
1600
1600
|
...l,
|
|
1601
1601
|
ref: i
|
|
1602
|
-
}, { children: u } = r, h = x.useMemo(() =>
|
|
1602
|
+
}, { children: u } = r, h = x.useMemo(() => K(u) ? u.get() : u, [u]);
|
|
1603
1603
|
return x.createElement(n, {
|
|
1604
1604
|
...f,
|
|
1605
1605
|
children: h
|
|
@@ -1644,13 +1644,13 @@ function io(e, t, n, r) {
|
|
|
1644
1644
|
function yr(e, t) {
|
|
1645
1645
|
const { style: n } = e, r = {};
|
|
1646
1646
|
for (const i in n)
|
|
1647
|
-
(
|
|
1647
|
+
(K(n[i]) || t.style && K(t.style[i]) || Xs(i, e)) && (r[i] = n[i]);
|
|
1648
1648
|
return r;
|
|
1649
1649
|
}
|
|
1650
1650
|
function so(e, t) {
|
|
1651
1651
|
const n = yr(e, t);
|
|
1652
1652
|
for (const r in e)
|
|
1653
|
-
if (
|
|
1653
|
+
if (K(e[r]) || K(t[r])) {
|
|
1654
1654
|
const i = vt.indexOf(r) !== -1 ? "attr" + r.charAt(0).toUpperCase() + r.substring(1) : r;
|
|
1655
1655
|
n[i] = e[r];
|
|
1656
1656
|
}
|
|
@@ -1665,7 +1665,7 @@ function Dc(e) {
|
|
|
1665
1665
|
}
|
|
1666
1666
|
const Ht = (e) => Array.isArray(e), jc = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), _c = (e) => Ht(e) ? e[e.length - 1] || 0 : e;
|
|
1667
1667
|
function Lt(e) {
|
|
1668
|
-
const t =
|
|
1668
|
+
const t = K(e) ? e.get() : e;
|
|
1669
1669
|
return jc(t) ? t.toValue() : t;
|
|
1670
1670
|
}
|
|
1671
1671
|
function Fc({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: n }, r, i, o) {
|
|
@@ -1706,7 +1706,7 @@ function Nc(e, t, n, r) {
|
|
|
1706
1706
|
i[w] = m[w];
|
|
1707
1707
|
}), i;
|
|
1708
1708
|
}
|
|
1709
|
-
const
|
|
1709
|
+
const _ = (e) => e;
|
|
1710
1710
|
class ti {
|
|
1711
1711
|
constructor() {
|
|
1712
1712
|
this.order = [], this.scheduled = /* @__PURE__ */ new Set();
|
|
@@ -1782,7 +1782,7 @@ function Wc(e, t) {
|
|
|
1782
1782
|
return u[h] = (p, m = !1, g = !1) => (n || l(), d.schedule(p, m, g)), u;
|
|
1783
1783
|
}, {}), cancel: (u) => Ct.forEach((h) => o[h].cancel(u)), state: i, steps: o };
|
|
1784
1784
|
}
|
|
1785
|
-
const { schedule: M, cancel: me, state: $, steps: wn } = Wc(typeof requestAnimationFrame < "u" ? requestAnimationFrame :
|
|
1785
|
+
const { schedule: M, cancel: me, state: $, steps: wn } = Wc(typeof requestAnimationFrame < "u" ? requestAnimationFrame : _, !0), Uc = {
|
|
1786
1786
|
useVisualState: oo({
|
|
1787
1787
|
scrapeMotionValuesFromProps: so,
|
|
1788
1788
|
createRenderState: to,
|
|
@@ -1919,7 +1919,7 @@ function Sn(e, t) {
|
|
|
1919
1919
|
}
|
|
1920
1920
|
class Kc extends Re {
|
|
1921
1921
|
constructor() {
|
|
1922
|
-
super(...arguments), this.removeStartListeners =
|
|
1922
|
+
super(...arguments), this.removeStartListeners = _, this.removeEndListeners = _, this.removeAccessibleListeners = _, this.startPointerPress = (t, n) => {
|
|
1923
1923
|
if (this.isPressing)
|
|
1924
1924
|
return;
|
|
1925
1925
|
this.removeEndListeners();
|
|
@@ -2067,7 +2067,7 @@ function un(e, t, n) {
|
|
|
2067
2067
|
const r = e.getProps();
|
|
2068
2068
|
return vr(r, t, n !== void 0 ? n : r.custom, iu(e), su(e));
|
|
2069
2069
|
}
|
|
2070
|
-
let ou =
|
|
2070
|
+
let ou = _, br = _;
|
|
2071
2071
|
const Pe = (e) => e * 1e3, de = (e) => e / 1e3, au = {
|
|
2072
2072
|
current: !1
|
|
2073
2073
|
}, po = (e) => Array.isArray(e) && typeof e[0] == "number";
|
|
@@ -2116,12 +2116,12 @@ function hu(e, t, n, r, i) {
|
|
|
2116
2116
|
}
|
|
2117
2117
|
function wt(e, t, n, r) {
|
|
2118
2118
|
if (e === t && n === r)
|
|
2119
|
-
return
|
|
2119
|
+
return _;
|
|
2120
2120
|
const i = (o) => hu(o, 0, 1, e, n);
|
|
2121
2121
|
return (o) => o === 0 || o === 1 ? o : vo(i(o), t, r);
|
|
2122
2122
|
}
|
|
2123
2123
|
const du = wt(0.42, 0, 1, 1), pu = wt(0, 0, 0.58, 1), bo = wt(0.42, 0, 0.58, 1), mu = (e) => Array.isArray(e) && typeof e[0] != "number", xo = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, wo = (e) => (t) => 1 - e(1 - t), xr = (e) => 1 - Math.sin(Math.acos(e)), So = wo(xr), gu = xo(xr), Eo = wt(0.33, 1.53, 0.69, 0.99), wr = wo(Eo), yu = xo(wr), vu = (e) => (e *= 2) < 1 ? 0.5 * wr(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), bu = {
|
|
2124
|
-
linear:
|
|
2124
|
+
linear: _,
|
|
2125
2125
|
easeIn: du,
|
|
2126
2126
|
easeInOut: bo,
|
|
2127
2127
|
easeOut: pu,
|
|
@@ -2175,7 +2175,7 @@ const zn = {
|
|
|
2175
2175
|
test: Sr("hsl", "hue"),
|
|
2176
2176
|
parse: To("hue", "saturation", "lightness"),
|
|
2177
2177
|
transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + le.transform(lt(t)) + ", " + le.transform(lt(n)) + ", " + lt(at.transform(r)) + ")"
|
|
2178
|
-
},
|
|
2178
|
+
}, G = {
|
|
2179
2179
|
test: (e) => je.test(e) || zn.test(e) || Ge.test(e),
|
|
2180
2180
|
parse: (e) => je.test(e) ? je.parse(e) : Ge.test(e) ? Ge.parse(e) : zn.parse(e),
|
|
2181
2181
|
transform: (e) => bt(e) ? e : e.hasOwnProperty("red") ? je.transform(e) : Ge.transform(e)
|
|
@@ -2220,12 +2220,12 @@ const Ao = {
|
|
|
2220
2220
|
regex: yc,
|
|
2221
2221
|
countKey: "Vars",
|
|
2222
2222
|
token: "${v}",
|
|
2223
|
-
parse:
|
|
2223
|
+
parse: _
|
|
2224
2224
|
}, Co = {
|
|
2225
2225
|
regex: Js,
|
|
2226
2226
|
countKey: "Colors",
|
|
2227
2227
|
token: "${c}",
|
|
2228
|
-
parse:
|
|
2228
|
+
parse: G.parse
|
|
2229
2229
|
}, Ro = {
|
|
2230
2230
|
regex: ln,
|
|
2231
2231
|
countKey: "Numbers",
|
|
@@ -2255,7 +2255,7 @@ function Vo(e) {
|
|
|
2255
2255
|
return (s) => {
|
|
2256
2256
|
let a = i;
|
|
2257
2257
|
for (let l = 0; l < o; l++)
|
|
2258
|
-
l < r ? a = a.replace(Ao.token, s[l]) : l < r + n ? a = a.replace(Co.token,
|
|
2258
|
+
l < r ? a = a.replace(Ao.token, s[l]) : l < r + n ? a = a.replace(Co.token, G.transform(s[l])) : a = a.replace(Ro.token, lt(s[l]));
|
|
2259
2259
|
return a;
|
|
2260
2260
|
};
|
|
2261
2261
|
}
|
|
@@ -2271,7 +2271,7 @@ const Ce = {
|
|
|
2271
2271
|
getAnimatableNone: Cu
|
|
2272
2272
|
}, ko = (e, t) => (n) => `${n > 0 ? t : e}`;
|
|
2273
2273
|
function Mo(e, t) {
|
|
2274
|
-
return typeof e == "number" ? (n) => D(e, t, n) :
|
|
2274
|
+
return typeof e == "number" ? (n) => D(e, t, n) : G.test(e) ? Po(e, t) : e.startsWith("var(") ? ko(e, t) : Do(e, t);
|
|
2275
2275
|
}
|
|
2276
2276
|
const Lo = (e, t) => {
|
|
2277
2277
|
const n = [...e], r = n.length, i = e.map((o, s) => Mo(o, t[s]));
|
|
@@ -2297,14 +2297,14 @@ const Lo = (e, t) => {
|
|
|
2297
2297
|
return r === 0 ? 1 : (n - e) / r;
|
|
2298
2298
|
}, ai = (e, t) => (n) => D(e, t, n);
|
|
2299
2299
|
function Ou(e) {
|
|
2300
|
-
return typeof e == "number" ? ai : typeof e == "string" ?
|
|
2300
|
+
return typeof e == "number" ? ai : typeof e == "string" ? G.test(e) ? Po : Do : Array.isArray(e) ? Lo : typeof e == "object" ? Ru : ai;
|
|
2301
2301
|
}
|
|
2302
2302
|
function Vu(e, t, n) {
|
|
2303
2303
|
const r = [], i = n || Ou(e[0]), o = e.length - 1;
|
|
2304
2304
|
for (let s = 0; s < o; s++) {
|
|
2305
2305
|
let a = i(e[s], e[s + 1]);
|
|
2306
2306
|
if (t) {
|
|
2307
|
-
const l = Array.isArray(t) ? t[s] ||
|
|
2307
|
+
const l = Array.isArray(t) ? t[s] || _ : t;
|
|
2308
2308
|
a = Te(l, a);
|
|
2309
2309
|
}
|
|
2310
2310
|
r.push(a);
|
|
@@ -2482,8 +2482,8 @@ function ui({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
2482
2482
|
const g = u + m, v = s === void 0 ? g : s(g);
|
|
2483
2483
|
v !== g && (m = v - u);
|
|
2484
2484
|
const w = (A) => -m * Math.exp(-A / r), y = (A) => v + w(A), S = (A) => {
|
|
2485
|
-
const
|
|
2486
|
-
h.done = Math.abs(
|
|
2485
|
+
const R = w(A), B = y(A);
|
|
2486
|
+
h.done = Math.abs(R) <= c, h.value = h.done ? v : B;
|
|
2487
2487
|
};
|
|
2488
2488
|
let E, T;
|
|
2489
2489
|
const P = (A) => {
|
|
@@ -2499,8 +2499,8 @@ function ui({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
2499
2499
|
return P(0), {
|
|
2500
2500
|
calculatedDuration: null,
|
|
2501
2501
|
next: (A) => {
|
|
2502
|
-
let
|
|
2503
|
-
return !T && E === void 0 && (
|
|
2502
|
+
let R = !1;
|
|
2503
|
+
return !T && E === void 0 && (R = !0, S(A), P(A)), E !== void 0 && A > E ? T.next(A - E) : (!R && S(A), h);
|
|
2504
2504
|
}
|
|
2505
2505
|
};
|
|
2506
2506
|
}
|
|
@@ -2552,42 +2552,42 @@ function Gt({ autoplay: e = !0, delay: t = 0, driver: n = $u, keyframes: r, type
|
|
|
2552
2552
|
keyframes: [...r].reverse(),
|
|
2553
2553
|
velocity: -(h.velocity || 0)
|
|
2554
2554
|
}));
|
|
2555
|
-
let P = "idle", A = null,
|
|
2555
|
+
let P = "idle", A = null, R = null, B = null;
|
|
2556
2556
|
E.calculatedDuration === null && o && (E.calculatedDuration = hi(E));
|
|
2557
|
-
const { calculatedDuration:
|
|
2558
|
-
let
|
|
2559
|
-
|
|
2560
|
-
let
|
|
2557
|
+
const { calculatedDuration: q } = E;
|
|
2558
|
+
let j = 1 / 0, I = 1 / 0;
|
|
2559
|
+
q !== null && (j = q + s, I = j * (o + 1) - s);
|
|
2560
|
+
let z = 0;
|
|
2561
2561
|
const re = (k) => {
|
|
2562
|
-
if (
|
|
2562
|
+
if (R === null)
|
|
2563
2563
|
return;
|
|
2564
|
-
d > 0 && (
|
|
2565
|
-
const Be =
|
|
2566
|
-
|
|
2567
|
-
let gn =
|
|
2564
|
+
d > 0 && (R = Math.min(R, k)), d < 0 && (R = Math.min(k - I / d, R)), A !== null ? z = A : z = Math.round(k - R) * d;
|
|
2565
|
+
const Be = z - t * (d >= 0 ? 1 : -1), Ie = d >= 0 ? Be < 0 : Be > I;
|
|
2566
|
+
z = Math.max(Be, 0), P === "finished" && A === null && (z = I);
|
|
2567
|
+
let gn = z, Oe = E;
|
|
2568
2568
|
if (o) {
|
|
2569
|
-
const tt = Math.min(
|
|
2569
|
+
const tt = Math.min(z, I) / j;
|
|
2570
2570
|
let Ve = Math.floor(tt), te = tt % 1;
|
|
2571
|
-
!te && tt >= 1 && (te = 1), te === 1 && Ve--, Ve = Math.min(Ve, o + 1), !!(Ve % 2) && (a === "reverse" ? (te = 1 - te, s && (te -= s /
|
|
2571
|
+
!te && tt >= 1 && (te = 1), te === 1 && Ve--, Ve = Math.min(Ve, o + 1), !!(Ve % 2) && (a === "reverse" ? (te = 1 - te, s && (te -= s / j)) : a === "mirror" && (Oe = T)), gn = Ae(0, 1, te) * j;
|
|
2572
2572
|
}
|
|
2573
2573
|
const ue = Ie ? { done: !1, value: r[0] } : Oe.next(gn);
|
|
2574
2574
|
S && (ue.value = S(ue.value));
|
|
2575
2575
|
let { done: We } = ue;
|
|
2576
|
-
!Ie &&
|
|
2576
|
+
!Ie && q !== null && (We = d >= 0 ? z >= I : z <= 0);
|
|
2577
2577
|
const Ue = A === null && (P === "finished" || P === "running" && We);
|
|
2578
|
-
return u && u(ue.value), Ue &&
|
|
2579
|
-
},
|
|
2578
|
+
return u && u(ue.value), Ue && H(), ue;
|
|
2579
|
+
}, W = () => {
|
|
2580
2580
|
w && w.stop(), w = void 0;
|
|
2581
2581
|
}, ie = () => {
|
|
2582
|
-
P = "idle",
|
|
2583
|
-
},
|
|
2584
|
-
P = "finished", f && f(),
|
|
2582
|
+
P = "idle", W(), m(), v(), R = B = null;
|
|
2583
|
+
}, H = () => {
|
|
2584
|
+
P = "finished", f && f(), W(), m();
|
|
2585
2585
|
}, ge = () => {
|
|
2586
2586
|
if (p)
|
|
2587
2587
|
return;
|
|
2588
2588
|
w || (w = n(re));
|
|
2589
2589
|
const k = w.now();
|
|
2590
|
-
l && l(), A !== null ?
|
|
2590
|
+
l && l(), A !== null ? R = k - A : (!R || P === "finished") && (R = k), P === "finished" && v(), B = R, A = null, P = "running", w.start();
|
|
2591
2591
|
};
|
|
2592
2592
|
e && ge();
|
|
2593
2593
|
const Ne = {
|
|
@@ -2595,10 +2595,10 @@ function Gt({ autoplay: e = !0, delay: t = 0, driver: n = $u, keyframes: r, type
|
|
|
2595
2595
|
return g.then(k, Be);
|
|
2596
2596
|
},
|
|
2597
2597
|
get time() {
|
|
2598
|
-
return de(
|
|
2598
|
+
return de(z);
|
|
2599
2599
|
},
|
|
2600
2600
|
set time(k) {
|
|
2601
|
-
k = Pe(k),
|
|
2601
|
+
k = Pe(k), z = k, A !== null || !w || d === 0 ? A = k : R = w.now() - k / d;
|
|
2602
2602
|
},
|
|
2603
2603
|
get duration() {
|
|
2604
2604
|
const k = E.calculatedDuration === null ? hi(E) : E.calculatedDuration;
|
|
@@ -2608,25 +2608,25 @@ function Gt({ autoplay: e = !0, delay: t = 0, driver: n = $u, keyframes: r, type
|
|
|
2608
2608
|
return d;
|
|
2609
2609
|
},
|
|
2610
2610
|
set speed(k) {
|
|
2611
|
-
k === d || !w || (d = k, Ne.time = de(
|
|
2611
|
+
k === d || !w || (d = k, Ne.time = de(z));
|
|
2612
2612
|
},
|
|
2613
2613
|
get state() {
|
|
2614
2614
|
return P;
|
|
2615
2615
|
},
|
|
2616
2616
|
play: ge,
|
|
2617
2617
|
pause: () => {
|
|
2618
|
-
P = "paused", A =
|
|
2618
|
+
P = "paused", A = z;
|
|
2619
2619
|
},
|
|
2620
2620
|
stop: () => {
|
|
2621
2621
|
p = !0, P !== "idle" && (P = "idle", c && c(), ie());
|
|
2622
2622
|
},
|
|
2623
2623
|
cancel: () => {
|
|
2624
|
-
|
|
2624
|
+
B !== null && re(B), ie();
|
|
2625
2625
|
},
|
|
2626
2626
|
complete: () => {
|
|
2627
2627
|
P = "finished";
|
|
2628
2628
|
},
|
|
2629
|
-
sample: (k) => (
|
|
2629
|
+
sample: (k) => (R = 0, re(k))
|
|
2630
2630
|
};
|
|
2631
2631
|
return Ne;
|
|
2632
2632
|
}
|
|
@@ -2690,7 +2690,7 @@ function Zu(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
|
2690
2690
|
return l.then(y, S);
|
|
2691
2691
|
},
|
|
2692
2692
|
attachTimeline(y) {
|
|
2693
|
-
return m.timeline = y, m.onfinish = null,
|
|
2693
|
+
return m.timeline = y, m.onfinish = null, _;
|
|
2694
2694
|
},
|
|
2695
2695
|
get time() {
|
|
2696
2696
|
return de(m.currentTime || 0);
|
|
@@ -2735,12 +2735,12 @@ function Qu({ keyframes: e, delay: t, onUpdate: n, onComplete: r }) {
|
|
|
2735
2735
|
time: 0,
|
|
2736
2736
|
speed: 1,
|
|
2737
2737
|
duration: 0,
|
|
2738
|
-
play:
|
|
2739
|
-
pause:
|
|
2740
|
-
stop:
|
|
2738
|
+
play: _,
|
|
2739
|
+
pause: _,
|
|
2740
|
+
stop: _,
|
|
2741
2741
|
then: (o) => (o(), Promise.resolve()),
|
|
2742
|
-
cancel:
|
|
2743
|
-
complete:
|
|
2742
|
+
cancel: _,
|
|
2743
|
+
complete: _
|
|
2744
2744
|
});
|
|
2745
2745
|
return t ? Gt({
|
|
2746
2746
|
keyframes: [0, 1],
|
|
@@ -2789,17 +2789,17 @@ const lf = /([a-z-]*)\(.*?\)/g, qn = {
|
|
|
2789
2789
|
}, cf = {
|
|
2790
2790
|
...Zs,
|
|
2791
2791
|
// Color props
|
|
2792
|
-
color:
|
|
2793
|
-
backgroundColor:
|
|
2794
|
-
outlineColor:
|
|
2795
|
-
fill:
|
|
2796
|
-
stroke:
|
|
2792
|
+
color: G,
|
|
2793
|
+
backgroundColor: G,
|
|
2794
|
+
outlineColor: G,
|
|
2795
|
+
fill: G,
|
|
2796
|
+
stroke: G,
|
|
2797
2797
|
// Border props
|
|
2798
|
-
borderColor:
|
|
2799
|
-
borderTopColor:
|
|
2800
|
-
borderRightColor:
|
|
2801
|
-
borderBottomColor:
|
|
2802
|
-
borderLeftColor:
|
|
2798
|
+
borderColor: G,
|
|
2799
|
+
borderTopColor: G,
|
|
2800
|
+
borderRightColor: G,
|
|
2801
|
+
borderBottomColor: G,
|
|
2802
|
+
borderLeftColor: G,
|
|
2803
2803
|
filter: qn,
|
|
2804
2804
|
WebkitFilter: qn
|
|
2805
2805
|
}, Er = (e) => cf[e];
|
|
@@ -2880,7 +2880,7 @@ const df = {
|
|
|
2880
2880
|
return Gt(d);
|
|
2881
2881
|
};
|
|
2882
2882
|
function Xt(e) {
|
|
2883
|
-
return !!(
|
|
2883
|
+
return !!(K(e) && e.add);
|
|
2884
2884
|
}
|
|
2885
2885
|
const Wo = (e) => /^\-?\d*\.?\d+$/.test(e);
|
|
2886
2886
|
function Ar(e, t) {
|
|
@@ -3112,7 +3112,7 @@ function Ye(e, t) {
|
|
|
3112
3112
|
const Uo = (e) => (t) => t.test(e), gf = {
|
|
3113
3113
|
test: (e) => e === "auto",
|
|
3114
3114
|
parse: (e) => e
|
|
3115
|
-
}, zo = [Fe, C, le, we, wc, xc, gf], rt = (e) => zo.find(Uo(e)), yf = [...zo,
|
|
3115
|
+
}, zo = [Fe, C, le, we, wc, xc, gf], rt = (e) => zo.find(Uo(e)), yf = [...zo, G, Ce], vf = (e) => yf.find(Uo(e));
|
|
3116
3116
|
function bf(e, t, n) {
|
|
3117
3117
|
e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, Ye(n));
|
|
3118
3118
|
}
|
|
@@ -3267,27 +3267,27 @@ function Mf(e) {
|
|
|
3267
3267
|
!S && !y.prevProp || // Or if the prop doesn't define an animation
|
|
3268
3268
|
on(S) || typeof S == "boolean")
|
|
3269
3269
|
continue;
|
|
3270
|
-
let
|
|
3270
|
+
let R = Lf(y.prevProp, S) || // If we're making this variant active, we want to always make it active
|
|
3271
3271
|
w === c && y.isActive && !P && E || // If we removed a higher-priority variant (i is in reverse order)
|
|
3272
|
-
v > m && E,
|
|
3273
|
-
const
|
|
3274
|
-
let
|
|
3275
|
-
T === !1 && (
|
|
3276
|
-
const { prevResolvedValues:
|
|
3277
|
-
...
|
|
3278
|
-
...
|
|
3279
|
-
}, re = (
|
|
3280
|
-
|
|
3272
|
+
v > m && E, B = !1;
|
|
3273
|
+
const q = Array.isArray(S) ? S : [S];
|
|
3274
|
+
let j = q.reduce(i, {});
|
|
3275
|
+
T === !1 && (j = {});
|
|
3276
|
+
const { prevResolvedValues: I = {} } = y, z = {
|
|
3277
|
+
...I,
|
|
3278
|
+
...j
|
|
3279
|
+
}, re = (W) => {
|
|
3280
|
+
R = !0, d.has(W) && (B = !0, d.delete(W)), y.needsAnimating[W] = !0;
|
|
3281
3281
|
};
|
|
3282
|
-
for (const
|
|
3283
|
-
const ie =
|
|
3284
|
-
if (p.hasOwnProperty(
|
|
3282
|
+
for (const W in z) {
|
|
3283
|
+
const ie = j[W], H = I[W];
|
|
3284
|
+
if (p.hasOwnProperty(W))
|
|
3285
3285
|
continue;
|
|
3286
3286
|
let ge = !1;
|
|
3287
|
-
Ht(ie) && Ht(
|
|
3287
|
+
Ht(ie) && Ht(H) ? ge = !ho(ie, H) : ge = ie !== H, ge ? ie !== void 0 ? re(W) : d.add(W) : ie !== void 0 && d.has(W) ? re(W) : y.protectedKeys[W] = !0;
|
|
3288
3288
|
}
|
|
3289
|
-
y.prevProp = S, y.prevResolvedValues =
|
|
3290
|
-
animation:
|
|
3289
|
+
y.prevProp = S, y.prevResolvedValues = j, y.isActive && (p = { ...p, ...j }), r && e.blockInitialAnimation && (R = !1), R && (!P || B) && h.push(...q.map((W) => ({
|
|
3290
|
+
animation: W,
|
|
3291
3291
|
options: { type: w, ...l }
|
|
3292
3292
|
})));
|
|
3293
3293
|
}
|
|
@@ -3558,7 +3558,7 @@ const Si = () => ({
|
|
|
3558
3558
|
}), Xe = () => ({
|
|
3559
3559
|
x: Si(),
|
|
3560
3560
|
y: Si()
|
|
3561
|
-
}), Ei = () => ({ min: 0, max: 0 }),
|
|
3561
|
+
}), Ei = () => ({ min: 0, max: 0 }), F = () => ({
|
|
3562
3562
|
x: Ei(),
|
|
3563
3563
|
y: Ei()
|
|
3564
3564
|
});
|
|
@@ -3653,7 +3653,7 @@ function eh(e, t, n) {
|
|
|
3653
3653
|
const Jo = ({ current: e }) => e ? e.ownerDocument.defaultView : null, th = /* @__PURE__ */ new WeakMap();
|
|
3654
3654
|
class nh {
|
|
3655
3655
|
constructor(t) {
|
|
3656
|
-
this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic =
|
|
3656
|
+
this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = F(), this.visualElement = t;
|
|
3657
3657
|
}
|
|
3658
3658
|
start(t, { snapToCursor: n = !1 } = {}) {
|
|
3659
3659
|
const { presenceContext: r } = this.visualElement;
|
|
@@ -3883,11 +3883,11 @@ function rh(e, t = 10) {
|
|
|
3883
3883
|
}
|
|
3884
3884
|
class ih extends Re {
|
|
3885
3885
|
constructor(t) {
|
|
3886
|
-
super(t), this.removeGroupControls =
|
|
3886
|
+
super(t), this.removeGroupControls = _, this.removeListeners = _, this.controls = new nh(t);
|
|
3887
3887
|
}
|
|
3888
3888
|
mount() {
|
|
3889
3889
|
const { dragControls: t } = this.node.getProps();
|
|
3890
|
-
t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() ||
|
|
3890
|
+
t && (this.removeGroupControls = t.subscribe(this.controls)), this.removeListeners = this.controls.addListeners() || _;
|
|
3891
3891
|
}
|
|
3892
3892
|
unmount() {
|
|
3893
3893
|
this.removeGroupControls(), this.removeListeners();
|
|
@@ -3898,7 +3898,7 @@ const Ri = (e) => (t, n) => {
|
|
|
3898
3898
|
};
|
|
3899
3899
|
class sh extends Re {
|
|
3900
3900
|
constructor() {
|
|
3901
|
-
super(...arguments), this.removePointerDownListener =
|
|
3901
|
+
super(...arguments), this.removePointerDownListener = _;
|
|
3902
3902
|
}
|
|
3903
3903
|
onPointerDown(t) {
|
|
3904
3904
|
this.session = new $o(t, this.createPanHandlers(), {
|
|
@@ -4051,7 +4051,7 @@ function fh(e, t, n, r, i, o) {
|
|
|
4051
4051
|
function Mi(e, t) {
|
|
4052
4052
|
return e[t] !== void 0 ? e[t] : e.borderRadius;
|
|
4053
4053
|
}
|
|
4054
|
-
const hh = ea(0, 0.5, So), dh = ea(0.5, 0.95,
|
|
4054
|
+
const hh = ea(0, 0.5, So), dh = ea(0.5, 0.95, _);
|
|
4055
4055
|
function ea(e, t, n) {
|
|
4056
4056
|
return (r) => r < e ? 0 : r > t ? 1 : n(gt(e, t, r));
|
|
4057
4057
|
}
|
|
@@ -4185,7 +4185,7 @@ function Eh(e) {
|
|
|
4185
4185
|
return e instanceof SVGElement && e.tagName !== "svg";
|
|
4186
4186
|
}
|
|
4187
4187
|
function Th(e, t, n) {
|
|
4188
|
-
const r =
|
|
4188
|
+
const r = K(e) ? e : Ye(e);
|
|
4189
4189
|
return r.start(Pr("", r, t, n)), r.animation;
|
|
4190
4190
|
}
|
|
4191
4191
|
const Ii = ["", "X", "Y", "Z"], Ph = { visibility: "hidden" }, Wi = 1e3;
|
|
@@ -4332,7 +4332,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4332
4332
|
for (let l = 0; l < this.path.length; l++)
|
|
4333
4333
|
this.path[l].updateScroll();
|
|
4334
4334
|
const s = this.layout;
|
|
4335
|
-
this.layout = this.measure(!1), this.layoutCorrected =
|
|
4335
|
+
this.layout = this.measure(!1), this.layoutCorrected = F(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
|
|
4336
4336
|
const { visualElement: a } = this.options;
|
|
4337
4337
|
a && a.notify("LayoutMeasure", this.layout.layoutBox, s ? s.layoutBox : void 0);
|
|
4338
4338
|
}
|
|
@@ -4365,12 +4365,12 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4365
4365
|
measurePageBox() {
|
|
4366
4366
|
const { visualElement: s } = this.options;
|
|
4367
4367
|
if (!s)
|
|
4368
|
-
return
|
|
4368
|
+
return F();
|
|
4369
4369
|
const a = s.measureViewportBox(), { scroll: l } = this.root;
|
|
4370
4370
|
return l && (Se(a.x, l.offset.x), Se(a.y, l.offset.y)), a;
|
|
4371
4371
|
}
|
|
4372
4372
|
removeElementScroll(s) {
|
|
4373
|
-
const a =
|
|
4373
|
+
const a = F();
|
|
4374
4374
|
Z(a, s);
|
|
4375
4375
|
for (let l = 0; l < this.path.length; l++) {
|
|
4376
4376
|
const c = this.path[l], { scroll: f, options: u } = c;
|
|
@@ -4386,7 +4386,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4386
4386
|
return a;
|
|
4387
4387
|
}
|
|
4388
4388
|
applyTransform(s, a = !1) {
|
|
4389
|
-
const l =
|
|
4389
|
+
const l = F();
|
|
4390
4390
|
Z(l, s);
|
|
4391
4391
|
for (let c = 0; c < this.path.length; c++) {
|
|
4392
4392
|
const f = this.path[c];
|
|
@@ -4398,14 +4398,14 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4398
4398
|
return Me(this.latestValues) && Ke(l, this.latestValues), l;
|
|
4399
4399
|
}
|
|
4400
4400
|
removeTransform(s) {
|
|
4401
|
-
const a =
|
|
4401
|
+
const a = F();
|
|
4402
4402
|
Z(a, s);
|
|
4403
4403
|
for (let l = 0; l < this.path.length; l++) {
|
|
4404
4404
|
const c = this.path[l];
|
|
4405
4405
|
if (!c.instance || !Me(c.latestValues))
|
|
4406
4406
|
continue;
|
|
4407
4407
|
Yn(c.latestValues) && c.updateSnapshot();
|
|
4408
|
-
const f =
|
|
4408
|
+
const f = F(), u = c.measurePageBox();
|
|
4409
4409
|
Z(f, u), _i(a, c.latestValues, c.snapshot ? c.snapshot.layoutBox : void 0, f);
|
|
4410
4410
|
}
|
|
4411
4411
|
return Me(this.latestValues) && _i(a, this.latestValues), a;
|
|
@@ -4437,13 +4437,13 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4437
4437
|
if (!(!this.layout || !(u || h))) {
|
|
4438
4438
|
if (this.resolvedRelativeTargetAt = $.timestamp, !this.targetDelta && !this.relativeTarget) {
|
|
4439
4439
|
const d = this.getClosestProjectingParent();
|
|
4440
|
-
d && d.layout && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget =
|
|
4440
|
+
d && d.layout && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget = F(), this.relativeTargetOrigin = F(), ut(this.relativeTargetOrigin, this.layout.layoutBox, d.layout.layoutBox), Z(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
4441
4441
|
}
|
|
4442
4442
|
if (!(!this.relativeTarget && !this.targetDelta)) {
|
|
4443
|
-
if (this.target || (this.target =
|
|
4443
|
+
if (this.target || (this.target = F(), this.targetWithTransforms = F()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), Uf(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Z(this.target, this.layout.layoutBox), Ko(this.target, this.targetDelta)) : Z(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
|
|
4444
4444
|
this.attemptToResolveRelativeTarget = !1;
|
|
4445
4445
|
const d = this.getClosestProjectingParent();
|
|
4446
|
-
d && !!d.resumingFrom == !!this.resumingFrom && !d.options.layoutScroll && d.target && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget =
|
|
4446
|
+
d && !!d.resumingFrom == !!this.resumingFrom && !d.options.layoutScroll && d.target && this.animationProgress !== 1 ? (this.relativeParent = d, this.forceRelativeParentToResolveTarget(), this.relativeTarget = F(), this.relativeTargetOrigin = F(), ut(this.relativeTargetOrigin, this.target, d.target), Z(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
4447
4447
|
}
|
|
4448
4448
|
Le.resolvedTargetDeltas++;
|
|
4449
4449
|
}
|
|
@@ -4493,12 +4493,12 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4493
4493
|
setAnimationOrigin(s, a = !1) {
|
|
4494
4494
|
const l = this.snapshot, c = l ? l.latestValues : {}, f = { ...this.latestValues }, u = Xe();
|
|
4495
4495
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
4496
|
-
const h =
|
|
4496
|
+
const h = F(), d = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, m = d !== p, g = this.getStack(), v = !g || g.members.length <= 1, w = !!(m && !v && this.options.crossfade === !0 && !this.path.some(Bh));
|
|
4497
4497
|
this.animationProgress = 0;
|
|
4498
4498
|
let y;
|
|
4499
4499
|
this.mixTargetDelta = (S) => {
|
|
4500
4500
|
const E = S / 1e3;
|
|
4501
|
-
Hi(u.x, s.x, E), Hi(u.y, s.y, E), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ut(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Nh(this.relativeTarget, this.relativeTargetOrigin, h, E), y && yh(this.relativeTarget, y) && (this.isProjectionDirty = !1), y || (y =
|
|
4501
|
+
Hi(u.x, s.x, E), Hi(u.y, s.y, E), this.setTargetDelta(u), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (ut(h, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Nh(this.relativeTarget, this.relativeTargetOrigin, h, E), y && yh(this.relativeTarget, y) && (this.isProjectionDirty = !1), y || (y = F()), Z(y, this.relativeTarget)), m && (this.animationValues = f, fh(f, c, this.latestValues, E, w, v)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = E;
|
|
4502
4502
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
4503
4503
|
}
|
|
4504
4504
|
startAnimation(s) {
|
|
@@ -4527,7 +4527,7 @@ function ra({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
4527
4527
|
let { targetWithTransforms: a, target: l, layout: c, latestValues: f } = s;
|
|
4528
4528
|
if (!(!a || !l || !c)) {
|
|
4529
4529
|
if (this !== s && this.layout && c && ia(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
|
|
4530
|
-
l = this.target ||
|
|
4530
|
+
l = this.target || F();
|
|
4531
4531
|
const u = J(this.layout.layoutBox.x);
|
|
4532
4532
|
l.x.min = s.target.x.min, l.x.max = l.x.min + u;
|
|
4533
4533
|
const h = J(this.layout.layoutBox.y);
|
|
@@ -4660,9 +4660,9 @@ function Rh(e) {
|
|
|
4660
4660
|
if (u && !u.resumeFrom) {
|
|
4661
4661
|
const { snapshot: h, layout: d } = u;
|
|
4662
4662
|
if (h && d) {
|
|
4663
|
-
const p =
|
|
4663
|
+
const p = F();
|
|
4664
4664
|
ut(p, n.layoutBox, h.layoutBox);
|
|
4665
|
-
const m =
|
|
4665
|
+
const m = F();
|
|
4666
4666
|
ut(m, r, d.layoutBox), na(p, m) || (f = !0), u.options.layoutRoot && (e.relativeTarget = m, e.relativeTargetOrigin = p, e.relativeParent = u);
|
|
4667
4667
|
}
|
|
4668
4668
|
}
|
|
@@ -4730,7 +4730,7 @@ function Bh(e) {
|
|
|
4730
4730
|
const Ih = {
|
|
4731
4731
|
duration: 0.45,
|
|
4732
4732
|
ease: [0.4, 0, 0.1, 1]
|
|
4733
|
-
}, qi = (e) => typeof navigator < "u" && navigator.userAgent.toLowerCase().includes(e), Gi = qi("applewebkit/") && !qi("chrome/") ? Math.round :
|
|
4733
|
+
}, qi = (e) => typeof navigator < "u" && navigator.userAgent.toLowerCase().includes(e), Gi = qi("applewebkit/") && !qi("chrome/") ? Math.round : _;
|
|
4734
4734
|
function Xi(e) {
|
|
4735
4735
|
e.min = Gi(e.min), e.max = Gi(e.max);
|
|
4736
4736
|
}
|
|
@@ -4918,9 +4918,9 @@ function rd(e, t, n) {
|
|
|
4918
4918
|
const { willChange: r } = t;
|
|
4919
4919
|
for (const i in t) {
|
|
4920
4920
|
const o = t[i], s = n[i];
|
|
4921
|
-
if (
|
|
4921
|
+
if (K(o))
|
|
4922
4922
|
e.addValue(i, o), Xt(r) && r.add(i);
|
|
4923
|
-
else if (
|
|
4923
|
+
else if (K(s))
|
|
4924
4924
|
e.addValue(i, Ye(o, { owner: e })), Xt(r) && r.remove(i);
|
|
4925
4925
|
else if (s !== o)
|
|
4926
4926
|
if (e.hasValue(i)) {
|
|
@@ -4954,7 +4954,7 @@ class od {
|
|
|
4954
4954
|
const { willChange: c, ...f } = this.scrapeMotionValuesFromProps(n, {});
|
|
4955
4955
|
for (const u in f) {
|
|
4956
4956
|
const h = f[u];
|
|
4957
|
-
a[u] !== void 0 &&
|
|
4957
|
+
a[u] !== void 0 && K(h) && (h.set(a[u], !1), Xt(c) && c.add(u));
|
|
4958
4958
|
}
|
|
4959
4959
|
}
|
|
4960
4960
|
/**
|
|
@@ -5034,7 +5034,7 @@ class od {
|
|
|
5034
5034
|
* removed with a re-render to work.
|
|
5035
5035
|
*/
|
|
5036
5036
|
measureViewportBox() {
|
|
5037
|
-
return this.current ? this.measureInstanceViewportBox(this.current, this.props) :
|
|
5037
|
+
return this.current ? this.measureInstanceViewportBox(this.current, this.props) : F();
|
|
5038
5038
|
}
|
|
5039
5039
|
getStaticValue(t) {
|
|
5040
5040
|
return this.latestValues[t];
|
|
@@ -5161,7 +5161,7 @@ class od {
|
|
|
5161
5161
|
if (r && i !== void 0)
|
|
5162
5162
|
return i;
|
|
5163
5163
|
const o = this.getBaseTargetFromProps(this.props, t);
|
|
5164
|
-
return o !== void 0 && !
|
|
5164
|
+
return o !== void 0 && !K(o) ? o : this.initialValues[t] !== void 0 && i === void 0 ? void 0 : this.baseTarget[t];
|
|
5165
5165
|
}
|
|
5166
5166
|
on(t, n) {
|
|
5167
5167
|
return this.events[t] || (this.events[t] = new Rr()), this.events[t].add(n);
|
|
@@ -5222,7 +5222,7 @@ class ld extends ca {
|
|
|
5222
5222
|
handleChildMotionValue() {
|
|
5223
5223
|
this.childSubscription && (this.childSubscription(), delete this.childSubscription);
|
|
5224
5224
|
const { children: t } = this.props;
|
|
5225
|
-
|
|
5225
|
+
K(t) && (this.childSubscription = t.on("change", (n) => {
|
|
5226
5226
|
this.current && (this.current.textContent = `${n}`);
|
|
5227
5227
|
}));
|
|
5228
5228
|
}
|
|
@@ -5245,7 +5245,7 @@ class cd extends ca {
|
|
|
5245
5245
|
return n = ro.has(n) ? n : cr(n), t.getAttribute(n);
|
|
5246
5246
|
}
|
|
5247
5247
|
measureInstanceViewportBox() {
|
|
5248
|
-
return
|
|
5248
|
+
return F();
|
|
5249
5249
|
}
|
|
5250
5250
|
scrapeMotionValuesFromProps(t, n) {
|
|
5251
5251
|
return so(t, n);
|
|
@@ -5271,53 +5271,7 @@ const ud = (e, t) => hr(e) ? new cd(t, { enableHardwareAcceleration: !1 }) : new
|
|
|
5271
5271
|
...zh,
|
|
5272
5272
|
...fd
|
|
5273
5273
|
}, ua = /* @__PURE__ */ fc((e, t) => Hc(e, t, hd, ud));
|
|
5274
|
-
function dd(e) {
|
|
5275
|
-
const { children: t, parentRef: n, onlyChild: r } = e, [i, o] = x.useState({ top: 0, left: 0 });
|
|
5276
|
-
return x.useLayoutEffect(() => {
|
|
5277
|
-
if (n.current) {
|
|
5278
|
-
const s = n.current.getBoundingClientRect();
|
|
5279
|
-
o({
|
|
5280
|
-
top: s.top,
|
|
5281
|
-
left: s.left + s.width
|
|
5282
|
-
});
|
|
5283
|
-
}
|
|
5284
|
-
}, [n]), r ? t : Ua.createPortal(
|
|
5285
|
-
/* @__PURE__ */ R.jsx(
|
|
5286
|
-
ua.div,
|
|
5287
|
-
{
|
|
5288
|
-
style: {
|
|
5289
|
-
position: "fixed",
|
|
5290
|
-
top: i.top,
|
|
5291
|
-
left: i.left,
|
|
5292
|
-
zIndex: 1200
|
|
5293
|
-
},
|
|
5294
|
-
children: t
|
|
5295
|
-
}
|
|
5296
|
-
),
|
|
5297
|
-
n.current
|
|
5298
|
-
);
|
|
5299
|
-
}
|
|
5300
|
-
function pd(e) {
|
|
5301
|
-
return /* @__PURE__ */ R.jsx(
|
|
5302
|
-
"svg",
|
|
5303
|
-
{
|
|
5304
|
-
xmlns: "http://www.w3.org/2000/svg",
|
|
5305
|
-
width: "16",
|
|
5306
|
-
height: "16",
|
|
5307
|
-
fill: "currentColor",
|
|
5308
|
-
viewBox: "0 0 16 16",
|
|
5309
|
-
...e,
|
|
5310
|
-
children: /* @__PURE__ */ R.jsx(
|
|
5311
|
-
"path",
|
|
5312
|
-
{
|
|
5313
|
-
fill: "currenColor",
|
|
5314
|
-
d: "M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"
|
|
5315
|
-
}
|
|
5316
|
-
)
|
|
5317
|
-
}
|
|
5318
|
-
);
|
|
5319
|
-
}
|
|
5320
|
-
function md(e, t) {
|
|
5274
|
+
function dd(e, t) {
|
|
5321
5275
|
if (e == null)
|
|
5322
5276
|
return {};
|
|
5323
5277
|
var n = {}, r = Object.keys(e), i, o;
|
|
@@ -5340,7 +5294,7 @@ function er(e, t) {
|
|
|
5340
5294
|
return r.__proto__ = i, r;
|
|
5341
5295
|
}, er(e, t);
|
|
5342
5296
|
}
|
|
5343
|
-
function
|
|
5297
|
+
function pd(e, t) {
|
|
5344
5298
|
e.prototype = Object.create(t.prototype), e.prototype.constructor = e, er(e, t);
|
|
5345
5299
|
}
|
|
5346
5300
|
function Ln(e, t, n) {
|
|
@@ -5354,36 +5308,36 @@ function Ln(e, t, n) {
|
|
|
5354
5308
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
5355
5309
|
* MIT Licensed
|
|
5356
5310
|
*/
|
|
5357
|
-
var es = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,
|
|
5358
|
-
function
|
|
5311
|
+
var es = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, md = /\\([\u000b\u0020-\u00ff])/g, gd = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, yd = vd;
|
|
5312
|
+
function vd(e) {
|
|
5359
5313
|
if (!e)
|
|
5360
5314
|
throw new TypeError("argument string is required");
|
|
5361
|
-
var t = typeof e == "object" ?
|
|
5315
|
+
var t = typeof e == "object" ? bd(e) : e;
|
|
5362
5316
|
if (typeof t != "string")
|
|
5363
5317
|
throw new TypeError("argument string is required to be a string");
|
|
5364
5318
|
var n = t.indexOf(";"), r = n !== -1 ? t.slice(0, n).trim() : t.trim();
|
|
5365
|
-
if (!
|
|
5319
|
+
if (!gd.test(r))
|
|
5366
5320
|
throw new TypeError("invalid media type");
|
|
5367
|
-
var i = new
|
|
5321
|
+
var i = new xd(r.toLowerCase());
|
|
5368
5322
|
if (n !== -1) {
|
|
5369
5323
|
var o, s, a;
|
|
5370
5324
|
for (es.lastIndex = n; s = es.exec(t); ) {
|
|
5371
5325
|
if (s.index !== n)
|
|
5372
5326
|
throw new TypeError("invalid parameter format");
|
|
5373
|
-
n += s[0].length, o = s[1].toLowerCase(), a = s[2], a.charCodeAt(0) === 34 && (a = a.slice(1, -1), a.indexOf("\\") !== -1 && (a = a.replace(
|
|
5327
|
+
n += s[0].length, o = s[1].toLowerCase(), a = s[2], a.charCodeAt(0) === 34 && (a = a.slice(1, -1), a.indexOf("\\") !== -1 && (a = a.replace(md, "$1"))), i.parameters[o] = a;
|
|
5374
5328
|
}
|
|
5375
5329
|
if (n !== t.length)
|
|
5376
5330
|
throw new TypeError("invalid parameter format");
|
|
5377
5331
|
}
|
|
5378
5332
|
return i;
|
|
5379
5333
|
}
|
|
5380
|
-
function
|
|
5334
|
+
function bd(e) {
|
|
5381
5335
|
var t;
|
|
5382
5336
|
if (typeof e.getHeader == "function" ? t = e.getHeader("content-type") : typeof e.headers == "object" && (t = e.headers && e.headers["content-type"]), typeof t != "string")
|
|
5383
5337
|
throw new TypeError("content-type header is missing from object");
|
|
5384
5338
|
return t;
|
|
5385
5339
|
}
|
|
5386
|
-
function
|
|
5340
|
+
function xd(e) {
|
|
5387
5341
|
this.parameters = /* @__PURE__ */ Object.create(null), this.type = e;
|
|
5388
5342
|
}
|
|
5389
5343
|
var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
@@ -5398,7 +5352,7 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5398
5352
|
var o = i.getResponseHeader("Content-Type");
|
|
5399
5353
|
if (!o)
|
|
5400
5354
|
throw new Error("Content type not found");
|
|
5401
|
-
var s =
|
|
5355
|
+
var s = yd(o).type;
|
|
5402
5356
|
if (!(s === "image/svg+xml" || s === "text/plain"))
|
|
5403
5357
|
throw new Error("Invalid content type: ".concat(s));
|
|
5404
5358
|
}
|
|
@@ -5419,7 +5373,7 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5419
5373
|
}, i.open("GET", t), i.withCredentials = n, i.overrideMimeType && i.overrideMimeType("text/xml"), i.send();
|
|
5420
5374
|
}, Ee = {}, ns = function(t, n) {
|
|
5421
5375
|
Ee[t] = Ee[t] || [], Ee[t].push(n);
|
|
5422
|
-
},
|
|
5376
|
+
}, wd = function(t) {
|
|
5423
5377
|
for (var n = function(s, a) {
|
|
5424
5378
|
setTimeout(function() {
|
|
5425
5379
|
if (Array.isArray(Ee[t])) {
|
|
@@ -5429,7 +5383,7 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5429
5383
|
}, 0);
|
|
5430
5384
|
}, r = 0, i = Ee[t].length; r < i; r++)
|
|
5431
5385
|
n(r);
|
|
5432
|
-
},
|
|
5386
|
+
}, Sd = function(t, n, r) {
|
|
5433
5387
|
if (He.has(t)) {
|
|
5434
5388
|
var i = He.get(t);
|
|
5435
5389
|
if (i === void 0) {
|
|
@@ -5443,16 +5397,16 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5443
5397
|
}
|
|
5444
5398
|
He.set(t, void 0), ns(t, r), ha(t, n, function(o, s) {
|
|
5445
5399
|
var a;
|
|
5446
|
-
o ? He.set(t, o) : ((a = s.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && He.set(t, s.responseXML.documentElement),
|
|
5400
|
+
o ? He.set(t, o) : ((a = s.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && He.set(t, s.responseXML.documentElement), wd(t);
|
|
5447
5401
|
});
|
|
5448
|
-
},
|
|
5402
|
+
}, Ed = function(t, n, r) {
|
|
5449
5403
|
ha(t, n, function(i, o) {
|
|
5450
5404
|
var s;
|
|
5451
5405
|
i ? r(i) : ((s = o.responseXML) === null || s === void 0 ? void 0 : s.documentElement) instanceof SVGSVGElement && r(null, o.responseXML.documentElement);
|
|
5452
5406
|
});
|
|
5453
|
-
},
|
|
5454
|
-
return ++
|
|
5455
|
-
}, se = [], rs = {},
|
|
5407
|
+
}, Td = 0, Pd = function() {
|
|
5408
|
+
return ++Td;
|
|
5409
|
+
}, se = [], rs = {}, Ad = "http://www.w3.org/2000/svg", Dn = "http://www.w3.org/1999/xlink", is = function(t, n, r, i, o, s, a) {
|
|
5456
5410
|
var l = t.getAttribute("data-src") || t.getAttribute("src");
|
|
5457
5411
|
if (!l) {
|
|
5458
5412
|
a(new Error("Invalid data-src or src attribute"));
|
|
@@ -5463,7 +5417,7 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5463
5417
|
return;
|
|
5464
5418
|
}
|
|
5465
5419
|
se.push(t), t.setAttribute("src", "");
|
|
5466
|
-
var c = i ?
|
|
5420
|
+
var c = i ? Sd : Ed;
|
|
5467
5421
|
c(l, o, function(f, u) {
|
|
5468
5422
|
if (!u) {
|
|
5469
5423
|
se.splice(se.indexOf(t), 1), t = null, a(f);
|
|
@@ -5481,11 +5435,11 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5481
5435
|
u.setAttribute("class", g);
|
|
5482
5436
|
var v = t.getAttribute("style");
|
|
5483
5437
|
v && u.setAttribute("style", v), u.setAttribute("data-src", l);
|
|
5484
|
-
var w = [].filter.call(t.attributes, function(
|
|
5485
|
-
return /^data-\w[\w-]*$/.test(
|
|
5438
|
+
var w = [].filter.call(t.attributes, function(H) {
|
|
5439
|
+
return /^data-\w[\w-]*$/.test(H.name);
|
|
5486
5440
|
});
|
|
5487
|
-
if (Array.prototype.forEach.call(w, function(
|
|
5488
|
-
|
|
5441
|
+
if (Array.prototype.forEach.call(w, function(H) {
|
|
5442
|
+
H.name && H.value && u.setAttribute(H.name, H.value);
|
|
5489
5443
|
}), r) {
|
|
5490
5444
|
var y = {
|
|
5491
5445
|
clipPath: ["clip-path"],
|
|
@@ -5499,10 +5453,10 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5499
5453
|
pattern: ["fill", "stroke"],
|
|
5500
5454
|
radialGradient: ["fill", "stroke"]
|
|
5501
5455
|
}, S, E, T, P, A;
|
|
5502
|
-
Object.keys(y).forEach(function(
|
|
5503
|
-
S =
|
|
5456
|
+
Object.keys(y).forEach(function(H) {
|
|
5457
|
+
S = H, T = y[H], E = u.querySelectorAll(S + "[id]");
|
|
5504
5458
|
for (var ge = function(Ie, gn) {
|
|
5505
|
-
P = E[Ie].id, A = P + "-" +
|
|
5459
|
+
P = E[Ie].id, A = P + "-" + Pd();
|
|
5506
5460
|
var Oe;
|
|
5507
5461
|
Array.prototype.forEach.call(T, function(yn) {
|
|
5508
5462
|
Oe = u.querySelectorAll("[" + yn + '*="' + P + '"]');
|
|
@@ -5523,23 +5477,23 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5523
5477
|
});
|
|
5524
5478
|
}
|
|
5525
5479
|
u.removeAttribute("xmlns:a");
|
|
5526
|
-
for (var
|
|
5527
|
-
|
|
5528
|
-
if (
|
|
5529
|
-
for (var re = 0,
|
|
5530
|
-
new Function(
|
|
5480
|
+
for (var R = u.querySelectorAll("script"), B = [], q, j, I = 0, z = R.length; I < z; I++)
|
|
5481
|
+
j = R[I].getAttribute("type"), (!j || j === "application/ecmascript" || j === "application/javascript" || j === "text/javascript") && (q = R[I].innerText || R[I].textContent, q && B.push(q), u.removeChild(R[I]));
|
|
5482
|
+
if (B.length > 0 && (n === "always" || n === "once" && !rs[l])) {
|
|
5483
|
+
for (var re = 0, W = B.length; re < W; re++)
|
|
5484
|
+
new Function(B[re])(window);
|
|
5531
5485
|
rs[l] = !0;
|
|
5532
5486
|
}
|
|
5533
5487
|
var ie = u.querySelectorAll("style");
|
|
5534
|
-
if (Array.prototype.forEach.call(ie, function(
|
|
5535
|
-
|
|
5536
|
-
}), u.setAttribute("xmlns",
|
|
5488
|
+
if (Array.prototype.forEach.call(ie, function(H) {
|
|
5489
|
+
H.textContent += "";
|
|
5490
|
+
}), u.setAttribute("xmlns", Ad), u.setAttribute("xmlns:xlink", Dn), s(u), !t.parentNode) {
|
|
5537
5491
|
se.splice(se.indexOf(t), 1), t = null, a(new Error("Parent node is null"));
|
|
5538
5492
|
return;
|
|
5539
5493
|
}
|
|
5540
5494
|
t.parentNode.replaceChild(u, t), se.splice(se.indexOf(t), 1), t = null, a(null, u);
|
|
5541
5495
|
});
|
|
5542
|
-
},
|
|
5496
|
+
}, Cd = function(t, n) {
|
|
5543
5497
|
var r = n === void 0 ? {} : n, i = r.afterAll, o = i === void 0 ? function() {
|
|
5544
5498
|
} : i, s = r.afterEach, a = s === void 0 ? function() {
|
|
5545
5499
|
} : s, l = r.beforeEach, c = l === void 0 ? function() {
|
|
@@ -5553,10 +5507,10 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5553
5507
|
t ? is(t, d, v, u, m, c, function(E, T) {
|
|
5554
5508
|
a(E, T), o(1), t = null;
|
|
5555
5509
|
}) : o(0);
|
|
5556
|
-
},
|
|
5510
|
+
}, Rd = function(t) {
|
|
5557
5511
|
var n = (t == null ? void 0 : t.ownerDocument) || document;
|
|
5558
5512
|
return n.defaultView || window;
|
|
5559
|
-
},
|
|
5513
|
+
}, Od = function(t, n) {
|
|
5560
5514
|
for (var r in t)
|
|
5561
5515
|
if (!(r in n))
|
|
5562
5516
|
return !0;
|
|
@@ -5564,8 +5518,8 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5564
5518
|
if (t[i] !== n[i])
|
|
5565
5519
|
return !0;
|
|
5566
5520
|
return !1;
|
|
5567
|
-
},
|
|
5568
|
-
|
|
5521
|
+
}, Vd = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], Vt = "http://www.w3.org/2000/svg", ss = "http://www.w3.org/1999/xlink", Or = /* @__PURE__ */ function(e) {
|
|
5522
|
+
pd(t, e);
|
|
5569
5523
|
function t() {
|
|
5570
5524
|
for (var r, i = arguments.length, o = new Array(i), s = 0; s < i; s++)
|
|
5571
5525
|
o[s] = arguments[s];
|
|
@@ -5579,7 +5533,7 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5579
5533
|
var n = t.prototype;
|
|
5580
5534
|
return n.renderSVG = function() {
|
|
5581
5535
|
var i = this;
|
|
5582
|
-
if (this.reactWrapper instanceof
|
|
5536
|
+
if (this.reactWrapper instanceof Rd(this.reactWrapper).Node) {
|
|
5583
5537
|
var o = this.props, s = o.desc, a = o.evalScripts, l = o.httpRequestWithCredentials, c = o.renumerateIRIElements, f = o.src, u = o.title, h = o.useRequestCache, d = this.props.onError, p = this.props.beforeInjection, m = this.props.afterInjection, g = this.props.wrapper, v, w;
|
|
5584
5538
|
g === "svg" ? (v = document.createElementNS(Vt, g), v.setAttribute("xmlns", Vt), v.setAttribute("xmlns:xlink", ss), w = document.createElementNS(Vt, g)) : (v = document.createElement(g), w = document.createElement(g)), v.appendChild(w), w.dataset.src = f, this.nonReactWrapper = this.reactWrapper.appendChild(v);
|
|
5585
5539
|
var y = function(P) {
|
|
@@ -5607,30 +5561,30 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5607
5561
|
}, function() {
|
|
5608
5562
|
try {
|
|
5609
5563
|
m(A);
|
|
5610
|
-
} catch (
|
|
5611
|
-
y(
|
|
5564
|
+
} catch (R) {
|
|
5565
|
+
y(R);
|
|
5612
5566
|
}
|
|
5613
5567
|
});
|
|
5614
5568
|
}, E = function(P) {
|
|
5615
5569
|
if (P.setAttribute("role", "img"), s) {
|
|
5616
5570
|
var A = P.querySelector(":scope > desc");
|
|
5617
5571
|
A && P.removeChild(A);
|
|
5618
|
-
var
|
|
5619
|
-
|
|
5572
|
+
var R = document.createElement("desc");
|
|
5573
|
+
R.innerHTML = s, P.prepend(R);
|
|
5620
5574
|
}
|
|
5621
5575
|
if (u) {
|
|
5622
|
-
var
|
|
5623
|
-
|
|
5624
|
-
var
|
|
5625
|
-
|
|
5576
|
+
var B = P.querySelector(":scope > title");
|
|
5577
|
+
B && P.removeChild(B);
|
|
5578
|
+
var q = document.createElement("title");
|
|
5579
|
+
q.innerHTML = u, P.prepend(q);
|
|
5626
5580
|
}
|
|
5627
5581
|
try {
|
|
5628
5582
|
p(P);
|
|
5629
|
-
} catch (
|
|
5630
|
-
y(
|
|
5583
|
+
} catch (j) {
|
|
5584
|
+
y(j);
|
|
5631
5585
|
}
|
|
5632
5586
|
};
|
|
5633
|
-
|
|
5587
|
+
Cd(w, {
|
|
5634
5588
|
afterEach: S,
|
|
5635
5589
|
beforeEach: E,
|
|
5636
5590
|
cacheRequests: h,
|
|
@@ -5646,7 +5600,7 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5646
5600
|
this._isMounted = !0, this.renderSVG();
|
|
5647
5601
|
}, n.componentDidUpdate = function(i) {
|
|
5648
5602
|
var o = this;
|
|
5649
|
-
|
|
5603
|
+
Od(Yt({}, i), this.props) && this.setState(function() {
|
|
5650
5604
|
return o.initialState;
|
|
5651
5605
|
}, function() {
|
|
5652
5606
|
o.removeSVG(), o.renderSVG();
|
|
@@ -5660,7 +5614,7 @@ var He = /* @__PURE__ */ new Map(), fa = function(t) {
|
|
|
5660
5614
|
i.httpRequestWithCredentials;
|
|
5661
5615
|
var s = i.loading;
|
|
5662
5616
|
i.renumerateIRIElements, i.src, i.title, i.useRequestCache;
|
|
5663
|
-
var a = i.wrapper, l =
|
|
5617
|
+
var a = i.wrapper, l = dd(i, Vd), c = a;
|
|
5664
5618
|
return /* @__PURE__ */ x.createElement(c, Yt({}, l, {
|
|
5665
5619
|
ref: this.refCallback
|
|
5666
5620
|
}, a === "svg" ? {
|
|
@@ -5687,49 +5641,95 @@ Or.defaultProps = {
|
|
|
5687
5641
|
wrapper: "div"
|
|
5688
5642
|
};
|
|
5689
5643
|
Or.propTypes = {
|
|
5690
|
-
afterInjection:
|
|
5691
|
-
beforeInjection:
|
|
5692
|
-
desc:
|
|
5693
|
-
evalScripts:
|
|
5694
|
-
fallback:
|
|
5695
|
-
httpRequestWithCredentials:
|
|
5696
|
-
loading:
|
|
5697
|
-
onError:
|
|
5698
|
-
renumerateIRIElements:
|
|
5699
|
-
src:
|
|
5700
|
-
title:
|
|
5701
|
-
useRequestCache:
|
|
5702
|
-
wrapper:
|
|
5644
|
+
afterInjection: U.func,
|
|
5645
|
+
beforeInjection: U.func,
|
|
5646
|
+
desc: U.string,
|
|
5647
|
+
evalScripts: U.oneOf(["always", "once", "never"]),
|
|
5648
|
+
fallback: U.oneOfType([U.func, U.object, U.string]),
|
|
5649
|
+
httpRequestWithCredentials: U.bool,
|
|
5650
|
+
loading: U.oneOfType([U.func, U.object, U.string]),
|
|
5651
|
+
onError: U.func,
|
|
5652
|
+
renumerateIRIElements: U.bool,
|
|
5653
|
+
src: U.string.isRequired,
|
|
5654
|
+
title: U.string,
|
|
5655
|
+
useRequestCache: U.bool,
|
|
5656
|
+
wrapper: U.oneOf(["div", "span", "svg"])
|
|
5703
5657
|
};
|
|
5658
|
+
function kd(e) {
|
|
5659
|
+
return /* @__PURE__ */ O.jsx(
|
|
5660
|
+
"svg",
|
|
5661
|
+
{
|
|
5662
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
5663
|
+
width: "16",
|
|
5664
|
+
height: "16",
|
|
5665
|
+
fill: "currentColor",
|
|
5666
|
+
viewBox: "0 0 16 16",
|
|
5667
|
+
...e,
|
|
5668
|
+
children: /* @__PURE__ */ O.jsx(
|
|
5669
|
+
"path",
|
|
5670
|
+
{
|
|
5671
|
+
fill: "currenColor",
|
|
5672
|
+
d: "M4.427 7.427l3.396 3.396a.25.25 0 00.354 0l3.396-3.396A.25.25 0 0011.396 7H4.604a.25.25 0 00-.177.427z"
|
|
5673
|
+
}
|
|
5674
|
+
)
|
|
5675
|
+
}
|
|
5676
|
+
);
|
|
5677
|
+
}
|
|
5678
|
+
function Md(e) {
|
|
5679
|
+
const { children: t, parentRef: n, onlyChild: r } = e, [i, o] = x.useState({ top: 0, left: 0 });
|
|
5680
|
+
return x.useLayoutEffect(() => {
|
|
5681
|
+
if (n.current) {
|
|
5682
|
+
const s = n.current.getBoundingClientRect();
|
|
5683
|
+
o({
|
|
5684
|
+
top: s.top,
|
|
5685
|
+
left: s.left + s.width
|
|
5686
|
+
});
|
|
5687
|
+
}
|
|
5688
|
+
}, [n]), r ? t : Ua.createPortal(
|
|
5689
|
+
/* @__PURE__ */ O.jsx(
|
|
5690
|
+
ua.div,
|
|
5691
|
+
{
|
|
5692
|
+
style: {
|
|
5693
|
+
position: "fixed",
|
|
5694
|
+
top: i.top,
|
|
5695
|
+
left: i.left,
|
|
5696
|
+
zIndex: 1200
|
|
5697
|
+
},
|
|
5698
|
+
children: t
|
|
5699
|
+
}
|
|
5700
|
+
),
|
|
5701
|
+
n.current
|
|
5702
|
+
);
|
|
5703
|
+
}
|
|
5704
5704
|
function da({ item: e, level: t = 0, ...n }) {
|
|
5705
|
-
var
|
|
5706
|
-
const { isActive: r, isCollapsed: i, expanded: o, toggleExpand: s } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", c = r(e.id) ? "active" : "", f = (
|
|
5707
|
-
function m(
|
|
5708
|
-
var
|
|
5709
|
-
const { level:
|
|
5710
|
-
return !u || i &&
|
|
5711
|
-
|
|
5705
|
+
var P;
|
|
5706
|
+
const { isActive: r, isCollapsed: i, expanded: o, toggleExpand: s } = n, a = `level-${t}`, l = i ? "collapsed" : "expanded", c = r(e.id) ? "active" : "", f = (A, R = a) => `${A} ${R} ${l} ${c}`, u = !!((P = e.children) != null && P.length), [h, d] = x.useState(!1), p = x.useRef();
|
|
5707
|
+
function m(A) {
|
|
5708
|
+
var j;
|
|
5709
|
+
const { level: R, hovered: B, parentRef: q } = A;
|
|
5710
|
+
return !u || i && R >= 2 && !B ? null : /* @__PURE__ */ O.jsx(
|
|
5711
|
+
Md,
|
|
5712
5712
|
{
|
|
5713
|
-
parentRef:
|
|
5714
|
-
onlyChild: !i || i &&
|
|
5715
|
-
children: /* @__PURE__ */
|
|
5713
|
+
parentRef: q,
|
|
5714
|
+
onlyChild: !i || i && R < 2,
|
|
5715
|
+
children: /* @__PURE__ */ O.jsx(
|
|
5716
5716
|
ua.div,
|
|
5717
5717
|
{
|
|
5718
|
-
className: f("menu-item__dropdown", `level-${
|
|
5718
|
+
className: f("menu-item__dropdown", `level-${R}`),
|
|
5719
5719
|
initial: { height: i ? "auto" : 0 },
|
|
5720
5720
|
animate: {
|
|
5721
5721
|
height: i || o(e.id) ? "auto" : 0
|
|
5722
5722
|
},
|
|
5723
5723
|
transition: { duration: 0.2 },
|
|
5724
|
-
children: (
|
|
5724
|
+
children: (j = e.children) == null ? void 0 : j.map((I) => /* @__PURE__ */ x.createElement(da, { ...n, key: I.id, item: I, level: R }))
|
|
5725
5725
|
},
|
|
5726
5726
|
+i
|
|
5727
5727
|
)
|
|
5728
5728
|
}
|
|
5729
5729
|
);
|
|
5730
5730
|
}
|
|
5731
|
-
const g = e.path &&
|
|
5732
|
-
return /* @__PURE__ */
|
|
5731
|
+
const g = window.location.origin, v = e.path && e.path.includes("http") ? new URL(e.path) : { origin: "", pathname: "" }, w = window.location.pathname.split("/")[1], y = v.pathname.split("/")[1], S = n.ssr || !g.includes("local") && g !== v.origin || y !== w, E = u ? "div" : S ? "a" : yl, T = e.path && n.replacePath ? n.replacePath(e.path) : e.path || "#";
|
|
5732
|
+
return /* @__PURE__ */ O.jsxs(
|
|
5733
5733
|
"div",
|
|
5734
5734
|
{
|
|
5735
5735
|
ref: p,
|
|
@@ -5737,22 +5737,23 @@ function da({ item: e, level: t = 0, ...n }) {
|
|
|
5737
5737
|
onMouseEnter: () => i && d(!0),
|
|
5738
5738
|
onMouseLeave: () => i && d(!1),
|
|
5739
5739
|
children: [
|
|
5740
|
-
/* @__PURE__ */
|
|
5741
|
-
|
|
5740
|
+
/* @__PURE__ */ O.jsxs(
|
|
5741
|
+
E,
|
|
5742
5742
|
{
|
|
5743
|
-
|
|
5743
|
+
to: T,
|
|
5744
|
+
href: T,
|
|
5744
5745
|
style: {
|
|
5745
5746
|
paddingLeft: `${i ? "0.5rem" : `${t * 1}rem`}`
|
|
5746
5747
|
},
|
|
5747
5748
|
className: f("menu-item__link"),
|
|
5748
|
-
onClick: (
|
|
5749
|
-
u && (
|
|
5749
|
+
onClick: (A) => {
|
|
5750
|
+
u && (A.preventDefault(), i || s(e.id));
|
|
5750
5751
|
},
|
|
5751
5752
|
children: [
|
|
5752
|
-
t !== 0 && /* @__PURE__ */
|
|
5753
|
-
/* @__PURE__ */
|
|
5754
|
-
u && /* @__PURE__ */
|
|
5755
|
-
|
|
5753
|
+
t !== 0 && /* @__PURE__ */ O.jsx(Ld, { cls: f, item: e }),
|
|
5754
|
+
/* @__PURE__ */ O.jsx("span", { className: f("menu-item__label"), children: e.name }),
|
|
5755
|
+
u && /* @__PURE__ */ O.jsx("div", { className: f("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ O.jsx(
|
|
5756
|
+
kd,
|
|
5756
5757
|
{
|
|
5757
5758
|
className: f(
|
|
5758
5759
|
`menu-item__icon-arrow__icon ${o(e.id) ? "open" : "close"}`
|
|
@@ -5773,7 +5774,7 @@ function Ld({ item: e, cls: t }) {
|
|
|
5773
5774
|
const [n, r] = x.useState(!1), i = () => {
|
|
5774
5775
|
r(!0);
|
|
5775
5776
|
}, o = (s = e.icon) == null ? void 0 : s.endsWith(".svg");
|
|
5776
|
-
return /* @__PURE__ */
|
|
5777
|
+
return /* @__PURE__ */ O.jsx("div", { className: t("menu-item__icon"), children: n ? /* @__PURE__ */ O.jsx(
|
|
5777
5778
|
"div",
|
|
5778
5779
|
{
|
|
5779
5780
|
style: {
|
|
@@ -5787,7 +5788,7 @@ function Ld({ item: e, cls: t }) {
|
|
|
5787
5788
|
},
|
|
5788
5789
|
children: (a = e.name.trim().at(0)) == null ? void 0 : a.toUpperCase()
|
|
5789
5790
|
}
|
|
5790
|
-
) : o ? /* @__PURE__ */
|
|
5791
|
+
) : o ? /* @__PURE__ */ O.jsx(
|
|
5791
5792
|
Or,
|
|
5792
5793
|
{
|
|
5793
5794
|
src: e.icon,
|
|
@@ -5797,7 +5798,7 @@ function Ld({ item: e, cls: t }) {
|
|
|
5797
5798
|
});
|
|
5798
5799
|
}
|
|
5799
5800
|
}
|
|
5800
|
-
) : /* @__PURE__ */
|
|
5801
|
+
) : /* @__PURE__ */ O.jsx(
|
|
5801
5802
|
"img",
|
|
5802
5803
|
{
|
|
5803
5804
|
src: e.icon || "/",
|
|
@@ -5825,7 +5826,7 @@ function pa(e, t, n = []) {
|
|
|
5825
5826
|
return null;
|
|
5826
5827
|
}
|
|
5827
5828
|
function Dd(e) {
|
|
5828
|
-
return /* @__PURE__ */
|
|
5829
|
+
return /* @__PURE__ */ O.jsx(
|
|
5829
5830
|
"svg",
|
|
5830
5831
|
{
|
|
5831
5832
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -5834,7 +5835,7 @@ function Dd(e) {
|
|
|
5834
5835
|
fill: "none",
|
|
5835
5836
|
viewBox: "0 0 18 20",
|
|
5836
5837
|
...e,
|
|
5837
|
-
children: /* @__PURE__ */
|
|
5838
|
+
children: /* @__PURE__ */ O.jsx(
|
|
5838
5839
|
"path",
|
|
5839
5840
|
{
|
|
5840
5841
|
fill: "#E01B00",
|
|
@@ -7259,30 +7260,30 @@ function ja(e) {
|
|
|
7259
7260
|
return ja(Ze(e, i));
|
|
7260
7261
|
}, n;
|
|
7261
7262
|
}
|
|
7262
|
-
const
|
|
7263
|
-
|
|
7264
|
-
|
|
7265
|
-
|
|
7266
|
-
|
|
7267
|
-
|
|
7268
|
-
|
|
7269
|
-
|
|
7270
|
-
|
|
7271
|
-
|
|
7263
|
+
const N = ja(Lr);
|
|
7264
|
+
N.Axios = Ft;
|
|
7265
|
+
N.CanceledError = Et;
|
|
7266
|
+
N.CancelToken = Xp;
|
|
7267
|
+
N.isCancel = ka;
|
|
7268
|
+
N.VERSION = Da;
|
|
7269
|
+
N.toFormData = pn;
|
|
7270
|
+
N.AxiosError = V;
|
|
7271
|
+
N.Cancel = N.CanceledError;
|
|
7272
|
+
N.all = function(t) {
|
|
7272
7273
|
return Promise.all(t);
|
|
7273
7274
|
};
|
|
7274
|
-
|
|
7275
|
-
|
|
7276
|
-
|
|
7277
|
-
|
|
7278
|
-
|
|
7279
|
-
|
|
7280
|
-
|
|
7281
|
-
|
|
7282
|
-
const Zp =
|
|
7275
|
+
N.spread = Kp;
|
|
7276
|
+
N.isAxiosError = Yp;
|
|
7277
|
+
N.mergeConfig = Ze;
|
|
7278
|
+
N.AxiosHeaders = pe;
|
|
7279
|
+
N.formToJSON = (e) => Va(b.isHTMLForm(e) ? new FormData(e) : e);
|
|
7280
|
+
N.getAdapter = La.getAdapter;
|
|
7281
|
+
N.HttpStatusCode = Jp;
|
|
7282
|
+
N.default = N;
|
|
7283
|
+
const Zp = N, Qp = `[data-simplebar]{position:relative;flex-direction:column;flex-wrap:wrap;justify-content:flex-start;align-content:flex-start;align-items:flex-start}.simplebar-wrapper{overflow:hidden;width:inherit;height:inherit;max-width:inherit;max-height:inherit}.simplebar-mask{direction:inherit;position:absolute;overflow:hidden;padding:0;margin:0;left:0;top:0;bottom:0;right:0;width:auto!important;height:auto!important;z-index:0}.simplebar-offset{direction:inherit!important;box-sizing:inherit!important;resize:none!important;position:absolute;top:0;left:0;bottom:0;right:0;padding:0;margin:0;-webkit-overflow-scrolling:touch}.simplebar-content-wrapper{direction:inherit;box-sizing:border-box!important;position:relative;display:block;height:100%;width:auto;max-width:100%;max-height:100%;overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.simplebar-content-wrapper::-webkit-scrollbar,.simplebar-hide-scrollbar::-webkit-scrollbar{display:none;width:0;height:0}.simplebar-content:after,.simplebar-content:before{content:" ";display:table}.simplebar-placeholder{max-height:100%;max-width:100%;width:100%;pointer-events:none}.simplebar-height-auto-observer-wrapper{box-sizing:inherit!important;height:100%;width:100%;max-width:1px;position:relative;float:left;max-height:1px;overflow:hidden;z-index:-1;padding:0;margin:0;pointer-events:none;flex-grow:inherit;flex-shrink:0;flex-basis:0}.simplebar-height-auto-observer{box-sizing:inherit;display:block;opacity:0;position:absolute;top:0;left:0;height:1000%;width:1000%;min-height:1px;min-width:1px;overflow:hidden;pointer-events:none;z-index:-1}.simplebar-track{z-index:1;position:absolute;right:0;bottom:0;pointer-events:none;overflow:hidden}[data-simplebar].simplebar-dragging,[data-simplebar].simplebar-dragging .simplebar-content{pointer-events:none;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;user-select:none}[data-simplebar].simplebar-dragging .simplebar-track{pointer-events:all}.simplebar-scrollbar{position:absolute;left:0;right:0;min-height:10px}.simplebar-scrollbar:before{position:absolute;content:"";background:#000;border-radius:7px;left:2px;right:2px;opacity:0;transition:opacity .2s .5s linear}.simplebar-scrollbar.simplebar-visible:before{opacity:.5;transition-delay:0s;transition-duration:0s}.simplebar-track.simplebar-vertical{top:0;width:11px}.simplebar-scrollbar:before{top:2px;bottom:2px;left:2px;right:2px}.simplebar-track.simplebar-horizontal{left:0;height:11px}.simplebar-track.simplebar-horizontal .simplebar-scrollbar{right:auto;left:0;top:0;bottom:0;min-height:0;min-width:10px;width:auto}[data-simplebar-direction=rtl] .simplebar-track.simplebar-vertical{right:auto;left:0}.simplebar-dummy-scrollbar-size{direction:rtl;position:fixed;opacity:0;visibility:hidden;height:500px;width:500px;overflow-y:hidden;overflow-x:scroll;-ms-overflow-style:scrollbar!important}.simplebar-dummy-scrollbar-size>div{width:200%;height:200%;margin:10px 0}.simplebar-hide-scrollbar{position:fixed;left:0;visibility:hidden;overflow-y:scroll;scrollbar-width:none;-ms-overflow-style:none}
|
|
7283
7284
|
`;
|
|
7284
7285
|
function em() {
|
|
7285
|
-
return /* @__PURE__ */
|
|
7286
|
+
return /* @__PURE__ */ O.jsx(
|
|
7286
7287
|
"svg",
|
|
7287
7288
|
{
|
|
7288
7289
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7292,12 +7293,12 @@ function em() {
|
|
|
7292
7293
|
stroke: "currentColor",
|
|
7293
7294
|
strokeWidth: "0",
|
|
7294
7295
|
viewBox: "0 0 24 24",
|
|
7295
|
-
children: /* @__PURE__ */
|
|
7296
|
+
children: /* @__PURE__ */ O.jsx("path", { d: "M21 18v2H3v-2h18zM6.596 3.903L8.01 5.318 4.828 8.5 8.01 11.68l-1.414 1.415L2 8.5l4.596-4.597zM21 11v2h-9v-2h9zm0-7v2h-9V4h9z" })
|
|
7296
7297
|
}
|
|
7297
7298
|
);
|
|
7298
7299
|
}
|
|
7299
7300
|
function tm() {
|
|
7300
|
-
return /* @__PURE__ */
|
|
7301
|
+
return /* @__PURE__ */ O.jsx(
|
|
7301
7302
|
"svg",
|
|
7302
7303
|
{
|
|
7303
7304
|
xmlns: "http://www.w3.org/2000/svg",
|
|
@@ -7307,7 +7308,7 @@ function tm() {
|
|
|
7307
7308
|
stroke: "currentColor",
|
|
7308
7309
|
strokeWidth: "0",
|
|
7309
7310
|
viewBox: "0 0 24 24",
|
|
7310
|
-
children: /* @__PURE__ */
|
|
7311
|
+
children: /* @__PURE__ */ O.jsx("path", { d: "M3 4h18v2H3V4zm0 7h18v2H3v-2zm0 7h18v2H3v-2z" })
|
|
7311
7312
|
}
|
|
7312
7313
|
);
|
|
7313
7314
|
}
|
|
@@ -7439,7 +7440,7 @@ const xs = {
|
|
|
7439
7440
|
pink: "#E81F76"
|
|
7440
7441
|
};
|
|
7441
7442
|
function lm() {
|
|
7442
|
-
return /* @__PURE__ */
|
|
7443
|
+
return /* @__PURE__ */ O.jsxs(
|
|
7443
7444
|
"svg",
|
|
7444
7445
|
{
|
|
7445
7446
|
width: "22",
|
|
@@ -7448,7 +7449,7 @@ function lm() {
|
|
|
7448
7449
|
fill: "none",
|
|
7449
7450
|
xmlns: "http://www.w3.org/2000/svg",
|
|
7450
7451
|
children: [
|
|
7451
|
-
/* @__PURE__ */
|
|
7452
|
+
/* @__PURE__ */ O.jsx(
|
|
7452
7453
|
"path",
|
|
7453
7454
|
{
|
|
7454
7455
|
fillRule: "evenodd",
|
|
@@ -7460,7 +7461,7 @@ function lm() {
|
|
|
7460
7461
|
strokeLinejoin: "round"
|
|
7461
7462
|
}
|
|
7462
7463
|
),
|
|
7463
|
-
/* @__PURE__ */
|
|
7464
|
+
/* @__PURE__ */ O.jsx(
|
|
7464
7465
|
"path",
|
|
7465
7466
|
{
|
|
7466
7467
|
d: "M10.9942 6.89636V11.6737",
|
|
@@ -7470,7 +7471,7 @@ function lm() {
|
|
|
7470
7471
|
strokeLinejoin: "round"
|
|
7471
7472
|
}
|
|
7472
7473
|
),
|
|
7473
|
-
/* @__PURE__ */
|
|
7474
|
+
/* @__PURE__ */ O.jsx(
|
|
7474
7475
|
"path",
|
|
7475
7476
|
{
|
|
7476
7477
|
d: "M10.9941 15.1038H11.0049",
|
|
@@ -7491,7 +7492,7 @@ const cm = {
|
|
|
7491
7492
|
fontFamily: "inherit"
|
|
7492
7493
|
}, um = (e) => {
|
|
7493
7494
|
L.error(e, {
|
|
7494
|
-
icon: /* @__PURE__ */
|
|
7495
|
+
icon: /* @__PURE__ */ O.jsx(lm, {}),
|
|
7495
7496
|
position: "bottom-right",
|
|
7496
7497
|
style: {
|
|
7497
7498
|
...cm,
|
|
@@ -7504,7 +7505,7 @@ const cm = {
|
|
|
7504
7505
|
window.location.href = `${e}/authentication/logout?callbackUrl=${window.location.href}`;
|
|
7505
7506
|
};
|
|
7506
7507
|
function hm(e) {
|
|
7507
|
-
return /* @__PURE__ */
|
|
7508
|
+
return /* @__PURE__ */ O.jsx(za, { styles: [Qp, nm], style: { zIndex: 1200 }, children: /* @__PURE__ */ O.jsx(dm, { ...e }) });
|
|
7508
7509
|
}
|
|
7509
7510
|
function dm(e) {
|
|
7510
7511
|
const { baseUrl: t, menuPath: n } = e, r = nn(), [i, o] = x.useState([]), [s, a] = x.useState(!1), l = (pa(i, r.pathname) || []).filter((v) => v.parentKey !== 0), [c, f] = x.useState({}), u = (v) => {
|
|
@@ -7531,16 +7532,16 @@ function dm(e) {
|
|
|
7531
7532
|
})();
|
|
7532
7533
|
}, [t, n]);
|
|
7533
7534
|
const [d, p] = x.useState(!1), m = s ? "collapsed" : "expanded", g = (v) => `${v} ${m}`;
|
|
7534
|
-
return /* @__PURE__ */
|
|
7535
|
-
/* @__PURE__ */
|
|
7535
|
+
return /* @__PURE__ */ O.jsxs("div", { className: g("side-bar"), children: [
|
|
7536
|
+
/* @__PURE__ */ O.jsx("div", { className: g("side-bar__wrapper-toggle-btn"), children: /* @__PURE__ */ O.jsx(
|
|
7536
7537
|
"button",
|
|
7537
7538
|
{
|
|
7538
7539
|
className: "icon-btn side-bar__toggle-btn",
|
|
7539
7540
|
onClick: h,
|
|
7540
|
-
children: s ? /* @__PURE__ */
|
|
7541
|
+
children: s ? /* @__PURE__ */ O.jsx(tm, {}) : /* @__PURE__ */ O.jsx(em, {})
|
|
7541
7542
|
}
|
|
7542
7543
|
) }),
|
|
7543
|
-
/* @__PURE__ */
|
|
7544
|
+
/* @__PURE__ */ O.jsx(
|
|
7544
7545
|
Ws,
|
|
7545
7546
|
{
|
|
7546
7547
|
className: g("side-bar__menu"),
|
|
@@ -7553,7 +7554,7 @@ function dm(e) {
|
|
|
7553
7554
|
},
|
|
7554
7555
|
children: i.map((v) => {
|
|
7555
7556
|
const w = (y) => l.some((S) => S.id === y);
|
|
7556
|
-
return /* @__PURE__ */
|
|
7557
|
+
return /* @__PURE__ */ O.jsx(
|
|
7557
7558
|
da,
|
|
7558
7559
|
{
|
|
7559
7560
|
item: v,
|
|
@@ -7568,19 +7569,19 @@ function dm(e) {
|
|
|
7568
7569
|
})
|
|
7569
7570
|
}
|
|
7570
7571
|
),
|
|
7571
|
-
/* @__PURE__ */
|
|
7572
|
-
/* @__PURE__ */
|
|
7572
|
+
/* @__PURE__ */ O.jsxs("div", { className: g("side-bar__wrap-btn-logout"), children: [
|
|
7573
|
+
/* @__PURE__ */ O.jsxs(
|
|
7573
7574
|
"button",
|
|
7574
7575
|
{
|
|
7575
7576
|
className: g("side-bar__logout-btn"),
|
|
7576
7577
|
onClick: () => p(!0),
|
|
7577
7578
|
children: [
|
|
7578
|
-
/* @__PURE__ */
|
|
7579
|
-
/* @__PURE__ */
|
|
7579
|
+
/* @__PURE__ */ O.jsx(Dd, {}),
|
|
7580
|
+
/* @__PURE__ */ O.jsx("span", { className: g("side-bar__logout-btn__text"), children: "Logout" })
|
|
7580
7581
|
]
|
|
7581
7582
|
}
|
|
7582
7583
|
),
|
|
7583
|
-
/* @__PURE__ */
|
|
7584
|
+
/* @__PURE__ */ O.jsx(
|
|
7584
7585
|
Ha,
|
|
7585
7586
|
{
|
|
7586
7587
|
isOpen: d,
|
|
@@ -7592,14 +7593,15 @@ function dm(e) {
|
|
|
7592
7593
|
] });
|
|
7593
7594
|
}
|
|
7594
7595
|
function pm(e) {
|
|
7595
|
-
return /* @__PURE__ */
|
|
7596
|
+
return /* @__PURE__ */ O.jsx(pl, { children: /* @__PURE__ */ O.jsx(hm, { ...e, ssr: !0 }) });
|
|
7596
7597
|
}
|
|
7597
7598
|
const mm = $a(pm, {
|
|
7598
7599
|
props: {
|
|
7599
7600
|
baseUrl: "string",
|
|
7600
7601
|
menuPath: "string",
|
|
7601
7602
|
logout: "function",
|
|
7602
|
-
replacePath: "function"
|
|
7603
|
+
replacePath: "function",
|
|
7604
|
+
ssr: "boolean"
|
|
7603
7605
|
}
|
|
7604
7606
|
// shadow: 'open',
|
|
7605
7607
|
});
|