@ukpc-lib/react 0.4.0 → 0.4.1
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/index.cjs +1 -1
- package/dist/components/index.js +2 -2
- package/dist/{index.module-c258b580.js → index.module-0c1e4251.js} +6523 -6522
- package/dist/{index.module-f9b87524.cjs → index.module-77c85236.cjs} +80 -80
- package/dist/share/index.cjs +1 -1
- package/dist/share/index.js +16 -15
- package/dist/share/interceptor/index.d.ts +5 -0
- package/package.json +1 -1
- package/web-components-bundle/global-menu/index.js +1 -1
- package/web-components-bundle/global-topbar/index.js +1 -1
- package/web-components-bundle/has-permission/index.js +1 -1
- package/web-components-bundle/{index-7261fc16.js → index-4e66c5fb.js} +633 -636
|
@@ -2110,7 +2110,7 @@ function CF(e) {
|
|
|
2110
2110
|
function gi(e) {
|
|
2111
2111
|
return e instanceof Array || Object.prototype.toString.call(e) === "[object Array]";
|
|
2112
2112
|
}
|
|
2113
|
-
function
|
|
2113
|
+
function ta(e) {
|
|
2114
2114
|
return e != null && Object.prototype.toString.call(e) === "[object Object]";
|
|
2115
2115
|
}
|
|
2116
2116
|
function dt(e, t) {
|
|
@@ -2255,9 +2255,9 @@ function TF(e) {
|
|
|
2255
2255
|
function Og(e, t) {
|
|
2256
2256
|
var n = ao({}, e), r;
|
|
2257
2257
|
for (r in t)
|
|
2258
|
-
dt(t, r) && (
|
|
2258
|
+
dt(t, r) && (ta(e[r]) && ta(t[r]) ? (n[r] = {}, ao(n[r], e[r]), ao(n[r], t[r])) : t[r] != null ? n[r] = t[r] : delete n[r]);
|
|
2259
2259
|
for (r in e)
|
|
2260
|
-
dt(e, r) && !dt(t, r) &&
|
|
2260
|
+
dt(e, r) && !dt(t, r) && ta(e[r]) && (n[r] = ao({}, n[r]));
|
|
2261
2261
|
return n;
|
|
2262
2262
|
}
|
|
2263
2263
|
function Vy(e) {
|
|
@@ -3362,11 +3362,11 @@ function u$(e) {
|
|
|
3362
3362
|
var t = e._i;
|
|
3363
3363
|
sr(t) ? e._d = new Date(pe.now()) : Hu(t) ? e._d = new Date(t.valueOf()) : typeof t == "string" ? n$(e) : gi(t) ? (e._a = V_(t.slice(0), function(n) {
|
|
3364
3364
|
return parseInt(n, 10);
|
|
3365
|
-
}), e0(e)) :
|
|
3365
|
+
}), e0(e)) : ta(t) ? a$(e) : Ts(t) ? e._d = new Date(t) : pe.createFromInputFallback(e);
|
|
3366
3366
|
}
|
|
3367
3367
|
function fC(e, t, n, r, i) {
|
|
3368
3368
|
var s = {};
|
|
3369
|
-
return (t === !0 || t === !1) && (r = t, t = void 0), (n === !0 || n === !1) && (r = n, n = void 0), (
|
|
3369
|
+
return (t === !0 || t === !1) && (r = t, t = void 0), (n === !0 || n === !1) && (r = n, n = void 0), (ta(e) && jy(e) || gi(e) && e.length === 0) && (e = void 0), s._isAMomentObject = !0, s._useUTC = s._isUTC = i, s._l = n, s._i = e, s._f = t, s._strict = r, l$(s);
|
|
3370
3370
|
}
|
|
3371
3371
|
function Pt(e, t, n, r) {
|
|
3372
3372
|
return fC(e, t, n, r, !1);
|
|
@@ -3598,7 +3598,7 @@ function N$(e) {
|
|
|
3598
3598
|
return yi(e) || Hu(e) || yC(e) || Ts(e) || L$(e) || F$(e) || e === null || e === void 0;
|
|
3599
3599
|
}
|
|
3600
3600
|
function F$(e) {
|
|
3601
|
-
var t =
|
|
3601
|
+
var t = ta(e) && !jy(e), n = !1, r = [
|
|
3602
3602
|
"years",
|
|
3603
3603
|
"year",
|
|
3604
3604
|
"y",
|
|
@@ -3635,7 +3635,7 @@ function L$(e) {
|
|
|
3635
3635
|
}).length === 0), t && n;
|
|
3636
3636
|
}
|
|
3637
3637
|
function $$(e) {
|
|
3638
|
-
var t =
|
|
3638
|
+
var t = ta(e) && !jy(e), n = !1, r = [
|
|
3639
3639
|
"sameDay",
|
|
3640
3640
|
"nextDay",
|
|
3641
3641
|
"lastDay",
|
|
@@ -4891,7 +4891,7 @@ const O3 = {
|
|
|
4891
4891
|
setNotiData: n
|
|
4892
4892
|
}) => async () => {
|
|
4893
4893
|
var p;
|
|
4894
|
-
const s = e + (t || "/notification-management/api/v1/notifications"), c = (p = (await
|
|
4894
|
+
const s = e + (t || "/notification-management/api/v1/notifications"), c = (p = (await na.get(s, {
|
|
4895
4895
|
params: {
|
|
4896
4896
|
// page: 1,
|
|
4897
4897
|
// notificationFilterType: 'all',
|
|
@@ -11096,7 +11096,7 @@ function xV(e) {
|
|
|
11096
11096
|
}
|
|
11097
11097
|
const SV = (e) => {
|
|
11098
11098
|
const t = jk(), n = $.useMemo(
|
|
11099
|
-
() => e.axiosInstance ||
|
|
11099
|
+
() => e.axiosInstance || na,
|
|
11100
11100
|
[e.axiosInstance]
|
|
11101
11101
|
);
|
|
11102
11102
|
window.env || (window.env = {}), window.env.AUTHEN_DOMAIN = new URL(e.baseUrl).origin;
|
|
@@ -12007,7 +12007,7 @@ function fU({
|
|
|
12007
12007
|
}
|
|
12008
12008
|
) }) });
|
|
12009
12009
|
}
|
|
12010
|
-
function
|
|
12010
|
+
function FQ(e) {
|
|
12011
12011
|
const { user: t, logout: n, isFetching: r } = CV();
|
|
12012
12012
|
return /* @__PURE__ */ V.jsx(
|
|
12013
12013
|
Jk,
|
|
@@ -23193,12 +23193,8 @@ const $T = (e) => {
|
|
|
23193
23193
|
window.location.href = `${e}/authentication/login?callbackUrl=${window.location.href}`;
|
|
23194
23194
|
}, kY = (e) => {
|
|
23195
23195
|
window.location.href = `${e}/authentication/logout?callbackUrl=${window.location.href}`;
|
|
23196
|
-
},
|
|
23197
|
-
withCredentials: !0
|
|
23198
|
-
headers: {
|
|
23199
|
-
Accept: "application/json",
|
|
23200
|
-
"Content-Type": "application/json"
|
|
23201
|
-
}
|
|
23196
|
+
}, na = Uu.create({
|
|
23197
|
+
withCredentials: !0
|
|
23202
23198
|
});
|
|
23203
23199
|
let Zm = !1, iy = [];
|
|
23204
23200
|
const rx = (e) => {
|
|
@@ -23206,26 +23202,27 @@ const rx = (e) => {
|
|
|
23206
23202
|
e ? t.reject(e) : t.resolve();
|
|
23207
23203
|
}), iy = [];
|
|
23208
23204
|
};
|
|
23209
|
-
|
|
23205
|
+
function TY(e, t) {
|
|
23206
|
+
var s, a, c, d, p, m;
|
|
23207
|
+
const n = e.config, r = (a = (s = e.response) == null ? void 0 : s.data) == null ? void 0 : a.errorMessage, i = r === _Y.TOKEN_EXPIRED;
|
|
23208
|
+
return ((c = e.response) == null ? void 0 : c.status) === 401 && i && !n._retry ? Zm ? new Promise((v, x) => {
|
|
23209
|
+
iy.push({ resolve: v, reject: x });
|
|
23210
|
+
}).then(() => na(n)).catch((v) => Promise.reject(v)) : (n._retry = !0, Zm = !0, na.post("/authentication/api/v1/auth/refresh-token", void 0, {
|
|
23211
|
+
baseURL: window.env.AUTHEN_DOMAIN
|
|
23212
|
+
}).then(() => (rx(null), na(n))).catch((v) => (rx(v), Promise.reject(v))).finally(() => {
|
|
23213
|
+
Zm = !1;
|
|
23214
|
+
})) : ((d = e.response) == null ? void 0 : d.status) === 401 && !i ? CY(window.env.AUTHEN_DOMAIN) : (((p = e.response) == null ? void 0 : p.status) === 403 ? (m = t == null ? void 0 : t.handle403) == null || m.call(t, e) : !(t != null && t.disabledPushNotify) && ol(xI(`${r || "Something went wrong!"}`)), r && e.response && e.response.data && (e.response.data.message = r), Promise.reject(e.response.data));
|
|
23215
|
+
}
|
|
23216
|
+
na.interceptors.response.use(
|
|
23210
23217
|
(e) => e,
|
|
23211
|
-
async (e) =>
|
|
23212
|
-
var i, s, a, c, d;
|
|
23213
|
-
const t = e.config, n = (s = (i = e.response) == null ? void 0 : i.data) == null ? void 0 : s.errorMessage, r = n === _Y.TOKEN_EXPIRED;
|
|
23214
|
-
return ((a = e.response) == null ? void 0 : a.status) === 401 && r && !t._retry ? Zm ? new Promise((p, m) => {
|
|
23215
|
-
iy.push({ resolve: p, reject: m });
|
|
23216
|
-
}).then(() => Zo(t)).catch((p) => Promise.reject(p)) : (t._retry = !0, Zm = !0, Zo.post("/authentication/api/v1/auth/refresh-token", void 0, {
|
|
23217
|
-
baseURL: window.env.AUTHEN_DOMAIN
|
|
23218
|
-
}).then(() => (rx(null), Zo(t))).catch((p) => (rx(p), Promise.reject(p))).finally(() => {
|
|
23219
|
-
Zm = !1;
|
|
23220
|
-
})) : ((c = e.response) == null ? void 0 : c.status) === 401 && !r ? CY(window.env.AUTHEN_DOMAIN) : (((d = e.response) == null ? void 0 : d.status) === 403 || ol(xI(`${n || "Something went wrong!"}`)), Promise.reject(e.response.data));
|
|
23221
|
-
}
|
|
23218
|
+
async (e) => TY(e)
|
|
23222
23219
|
);
|
|
23223
23220
|
const jT = $.createContext({
|
|
23224
23221
|
transformPagePoint: (e) => e,
|
|
23225
23222
|
isStatic: !1,
|
|
23226
23223
|
reducedMotion: "never"
|
|
23227
|
-
}), Jh = $.createContext({}), K0 = $.createContext(null), ep = typeof document < "u",
|
|
23228
|
-
function
|
|
23224
|
+
}), Jh = $.createContext({}), K0 = $.createContext(null), ep = typeof document < "u", EY = ep ? $.useLayoutEffect : $.useEffect, BT = $.createContext({ strict: !1 }), Q0 = (e) => e.replace(/([a-z])([A-Z])/g, "$1-$2").toLowerCase(), DY = "framerAppearId", WT = "data-" + Q0(DY);
|
|
23225
|
+
function AY(e, t, n, r) {
|
|
23229
23226
|
const { visualElement: i } = $.useContext(Jh), s = $.useContext(BT), a = $.useContext(K0), c = $.useContext(jT).reducedMotion, d = $.useRef();
|
|
23230
23227
|
r = r || s.renderer, !d.current && r && (d.current = r(e, {
|
|
23231
23228
|
visualState: t,
|
|
@@ -23240,7 +23237,7 @@ function DY(e, t, n, r) {
|
|
|
23240
23237
|
p && p.update(n, a);
|
|
23241
23238
|
});
|
|
23242
23239
|
const m = $.useRef(!!(n[WT] && !window.HandoffComplete));
|
|
23243
|
-
return
|
|
23240
|
+
return EY(() => {
|
|
23244
23241
|
p && (p.render(), m.current && p.animationState && p.animationState.animateChanges());
|
|
23245
23242
|
}), $.useEffect(() => {
|
|
23246
23243
|
p && (p.updateFeatures(), !m.current && p.animationState && p.animationState.animateChanges(), m.current && (m.current = !1, window.HandoffComplete = !0));
|
|
@@ -23249,7 +23246,7 @@ function DY(e, t, n, r) {
|
|
|
23249
23246
|
function Ua(e) {
|
|
23250
23247
|
return e && typeof e == "object" && Object.prototype.hasOwnProperty.call(e, "current");
|
|
23251
23248
|
}
|
|
23252
|
-
function
|
|
23249
|
+
function PY(e, t, n) {
|
|
23253
23250
|
return $.useCallback(
|
|
23254
23251
|
(r) => {
|
|
23255
23252
|
r && e.mount && e.mount(r), t && (r ? t.mount(r) : t.unmount()), n && (typeof n == "function" ? n(r) : Ua(n) && (n.current = r));
|
|
@@ -23283,7 +23280,7 @@ function np(e) {
|
|
|
23283
23280
|
function VT(e) {
|
|
23284
23281
|
return !!(np(e) || e.variants);
|
|
23285
23282
|
}
|
|
23286
|
-
function
|
|
23283
|
+
function OY(e, t) {
|
|
23287
23284
|
if (np(e)) {
|
|
23288
23285
|
const { initial: n, animate: r } = e;
|
|
23289
23286
|
return {
|
|
@@ -23293,8 +23290,8 @@ function PY(e, t) {
|
|
|
23293
23290
|
}
|
|
23294
23291
|
return e.inherit !== !1 ? t : {};
|
|
23295
23292
|
}
|
|
23296
|
-
function
|
|
23297
|
-
const { initial: t, animate: n } =
|
|
23293
|
+
function RY(e) {
|
|
23294
|
+
const { initial: t, animate: n } = OY(e, $.useContext(Jh));
|
|
23298
23295
|
return $.useMemo(() => ({ initial: t, animate: n }), [ix(t), ix(n)]);
|
|
23299
23296
|
}
|
|
23300
23297
|
function ix(e) {
|
|
@@ -23324,25 +23321,25 @@ for (const e in sx)
|
|
|
23324
23321
|
Nu[e] = {
|
|
23325
23322
|
isEnabled: (t) => sx[e].some((n) => !!t[n])
|
|
23326
23323
|
};
|
|
23327
|
-
function
|
|
23324
|
+
function MY(e) {
|
|
23328
23325
|
for (const t in e)
|
|
23329
23326
|
Nu[t] = {
|
|
23330
23327
|
...Nu[t],
|
|
23331
23328
|
...e[t]
|
|
23332
23329
|
};
|
|
23333
23330
|
}
|
|
23334
|
-
const UT = $.createContext({}), HT = $.createContext({}),
|
|
23335
|
-
function
|
|
23336
|
-
e &&
|
|
23331
|
+
const UT = $.createContext({}), HT = $.createContext({}), IY = Symbol.for("motionComponentSymbol");
|
|
23332
|
+
function NY({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVisualState: r, Component: i }) {
|
|
23333
|
+
e && MY(e);
|
|
23337
23334
|
function s(c, d) {
|
|
23338
23335
|
let p;
|
|
23339
23336
|
const m = {
|
|
23340
23337
|
...$.useContext(jT),
|
|
23341
23338
|
...c,
|
|
23342
|
-
layoutId:
|
|
23343
|
-
}, { isStatic: v } = m, x =
|
|
23339
|
+
layoutId: FY(c)
|
|
23340
|
+
}, { isStatic: v } = m, x = RY(c), k = r(c, v);
|
|
23344
23341
|
if (!v && ep) {
|
|
23345
|
-
x.visualElement =
|
|
23342
|
+
x.visualElement = AY(i, k, m, t);
|
|
23346
23343
|
const E = $.useContext(HT), T = $.useContext(BT).strict;
|
|
23347
23344
|
x.visualElement && (p = x.visualElement.loadFeatures(
|
|
23348
23345
|
// Note: Pass the full new combined props to correctly re-render dynamic feature components.
|
|
@@ -23356,19 +23353,19 @@ function IY({ preloadedFeatures: e, createVisualElement: t, useRender: n, useVis
|
|
|
23356
23353
|
Jh.Provider,
|
|
23357
23354
|
{ value: x },
|
|
23358
23355
|
p && x.visualElement ? $.createElement(p, { visualElement: x.visualElement, ...m }) : null,
|
|
23359
|
-
n(i, c,
|
|
23356
|
+
n(i, c, PY(k, x.visualElement, d), k, v, x.visualElement)
|
|
23360
23357
|
);
|
|
23361
23358
|
}
|
|
23362
23359
|
const a = $.forwardRef(s);
|
|
23363
|
-
return a[
|
|
23360
|
+
return a[IY] = i, a;
|
|
23364
23361
|
}
|
|
23365
|
-
function
|
|
23362
|
+
function FY({ layoutId: e }) {
|
|
23366
23363
|
const t = $.useContext(UT).id;
|
|
23367
23364
|
return t && e !== void 0 ? t + "-" + e : e;
|
|
23368
23365
|
}
|
|
23369
|
-
function
|
|
23366
|
+
function LY(e) {
|
|
23370
23367
|
function t(r, i = {}) {
|
|
23371
|
-
return
|
|
23368
|
+
return NY(e(r, i));
|
|
23372
23369
|
}
|
|
23373
23370
|
if (typeof Proxy > "u")
|
|
23374
23371
|
return t;
|
|
@@ -23382,7 +23379,7 @@ function FY(e) {
|
|
|
23382
23379
|
get: (r, i) => (n.has(i) || n.set(i, t(i)), n.get(i))
|
|
23383
23380
|
});
|
|
23384
23381
|
}
|
|
23385
|
-
const
|
|
23382
|
+
const $Y = [
|
|
23386
23383
|
"animate",
|
|
23387
23384
|
"circle",
|
|
23388
23385
|
"defs",
|
|
@@ -23422,7 +23419,7 @@ function J0(e) {
|
|
|
23422
23419
|
/**
|
|
23423
23420
|
* If it's in our list of lowercase SVG tags, it's an SVG component
|
|
23424
23421
|
*/
|
|
23425
|
-
!!(
|
|
23422
|
+
!!($Y.indexOf(e) > -1 || /**
|
|
23426
23423
|
* If it contains a capital letter, it's an SVG component
|
|
23427
23424
|
*/
|
|
23428
23425
|
/[A-Z]/.test(e))
|
|
@@ -23430,7 +23427,7 @@ function J0(e) {
|
|
|
23430
23427
|
);
|
|
23431
23428
|
}
|
|
23432
23429
|
const Dd = {};
|
|
23433
|
-
function
|
|
23430
|
+
function jY(e) {
|
|
23434
23431
|
Object.assign(Dd, e);
|
|
23435
23432
|
}
|
|
23436
23433
|
const ec = [
|
|
@@ -23455,24 +23452,24 @@ const ec = [
|
|
|
23455
23452
|
function zT(e, { layout: t, layoutId: n }) {
|
|
23456
23453
|
return ca.has(e) || e.startsWith("origin") || (t || n !== void 0) && (!!Dd[e] || e === "opacity");
|
|
23457
23454
|
}
|
|
23458
|
-
const ur = (e) => !!(e && e.getVelocity),
|
|
23455
|
+
const ur = (e) => !!(e && e.getVelocity), BY = {
|
|
23459
23456
|
x: "translateX",
|
|
23460
23457
|
y: "translateY",
|
|
23461
23458
|
z: "translateZ",
|
|
23462
23459
|
transformPerspective: "perspective"
|
|
23463
|
-
},
|
|
23464
|
-
function
|
|
23460
|
+
}, WY = ec.length;
|
|
23461
|
+
function VY(e, { enableHardwareAcceleration: t = !0, allowTransformNone: n = !0 }, r, i) {
|
|
23465
23462
|
let s = "";
|
|
23466
|
-
for (let a = 0; a <
|
|
23463
|
+
for (let a = 0; a < WY; a++) {
|
|
23467
23464
|
const c = ec[a];
|
|
23468
23465
|
if (e[c] !== void 0) {
|
|
23469
|
-
const d =
|
|
23466
|
+
const d = BY[c] || c;
|
|
23470
23467
|
s += `${d}(${e[c]}) `;
|
|
23471
23468
|
}
|
|
23472
23469
|
}
|
|
23473
23470
|
return t && !e.z && (s += "translateZ(0)"), s = s.trim(), i ? s = i(e, r ? "" : s) : n && r && (s = "none"), s;
|
|
23474
23471
|
}
|
|
23475
|
-
const YT = (e) => (t) => typeof t == "string" && t.startsWith(e), qT = YT("--"), sy = YT("var(--"),
|
|
23472
|
+
const YT = (e) => (t) => typeof t == "string" && t.startsWith(e), qT = YT("--"), sy = YT("var(--"), UY = /var\s*\(\s*--[\w-]+(\s*,\s*(?:(?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)+)?\s*\)/g, HY = (e, t) => t && typeof e == "number" ? t.transform(e) : e, bo = (e, t, n) => Math.min(Math.max(n, e), t), fa = {
|
|
23476
23473
|
test: (e) => typeof e == "number",
|
|
23477
23474
|
parse: parseFloat,
|
|
23478
23475
|
transform: (e) => e
|
|
@@ -23482,7 +23479,7 @@ const YT = (e) => (t) => typeof t == "string" && t.startsWith(e), qT = YT("--"),
|
|
|
23482
23479
|
}, _f = {
|
|
23483
23480
|
...fa,
|
|
23484
23481
|
default: 1
|
|
23485
|
-
}, gu = (e) => Math.round(e * 1e5) / 1e5, rp = /(-)?([\d]*\.?[\d])+/g, GT = /(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi,
|
|
23482
|
+
}, gu = (e) => Math.round(e * 1e5) / 1e5, rp = /(-)?([\d]*\.?[\d])+/g, GT = /(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))/gi, zY = /^(#[0-9a-f]{3,8}|(rgb|hsl)a?\((-?[\d\.]+%?[,\s]+){2}(-?[\d\.]+%?)\s*[\,\/]?\s*[\d\.]*%?\))$/i;
|
|
23486
23483
|
function tc(e) {
|
|
23487
23484
|
return typeof e == "string";
|
|
23488
23485
|
}
|
|
@@ -23490,7 +23487,7 @@ const nc = (e) => ({
|
|
|
23490
23487
|
test: (t) => tc(t) && t.endsWith(e) && t.split(" ").length === 1,
|
|
23491
23488
|
parse: parseFloat,
|
|
23492
23489
|
transform: (t) => `${t}${e}`
|
|
23493
|
-
}), eo = nc("deg"), Yi = nc("%"), Le = nc("px"),
|
|
23490
|
+
}), eo = nc("deg"), Yi = nc("%"), Le = nc("px"), YY = nc("vh"), qY = nc("vw"), ox = {
|
|
23494
23491
|
...Yi,
|
|
23495
23492
|
parse: (e) => Yi.parse(e) / 100,
|
|
23496
23493
|
transform: (e) => Yi.transform(e * 100)
|
|
@@ -23572,7 +23569,7 @@ function ev(e, t, n, r) {
|
|
|
23572
23569
|
s[v] = x;
|
|
23573
23570
|
continue;
|
|
23574
23571
|
}
|
|
23575
|
-
const k = KT[v], E =
|
|
23572
|
+
const k = KT[v], E = HY(x, k);
|
|
23576
23573
|
if (ca.has(v)) {
|
|
23577
23574
|
if (d = !0, a[v] = E, !m)
|
|
23578
23575
|
continue;
|
|
@@ -23580,7 +23577,7 @@ function ev(e, t, n, r) {
|
|
|
23580
23577
|
} else
|
|
23581
23578
|
v.startsWith("origin") ? (p = !0, c[v] = E) : i[v] = E;
|
|
23582
23579
|
}
|
|
23583
|
-
if (t.transform || (d || r ? i.transform =
|
|
23580
|
+
if (t.transform || (d || r ? i.transform = VY(e.transform, n, m, r) : i.transform && (i.transform = "none")), p) {
|
|
23584
23581
|
const { originX: v = "50%", originY: x = "50%", originZ: k = 0 } = c;
|
|
23585
23582
|
i.transformOrigin = `${v} ${x} ${k}`;
|
|
23586
23583
|
}
|
|
@@ -23595,21 +23592,21 @@ function QT(e, t, n) {
|
|
|
23595
23592
|
for (const r in t)
|
|
23596
23593
|
!ur(t[r]) && !zT(r, n) && (e[r] = t[r]);
|
|
23597
23594
|
}
|
|
23598
|
-
function
|
|
23595
|
+
function GY({ transformTemplate: e }, t, n) {
|
|
23599
23596
|
return $.useMemo(() => {
|
|
23600
23597
|
const r = tv();
|
|
23601
23598
|
return ev(r, t, { enableHardwareAcceleration: !n }, e), Object.assign({}, r.vars, r.style);
|
|
23602
23599
|
}, [t]);
|
|
23603
23600
|
}
|
|
23604
|
-
function
|
|
23601
|
+
function KY(e, t, n) {
|
|
23605
23602
|
const r = e.style || {}, i = {};
|
|
23606
|
-
return QT(i, r, e), Object.assign(i,
|
|
23603
|
+
return QT(i, r, e), Object.assign(i, GY(e, t, n)), e.transformValues ? e.transformValues(i) : i;
|
|
23607
23604
|
}
|
|
23608
|
-
function
|
|
23609
|
-
const r = {}, i =
|
|
23605
|
+
function QY(e, t, n) {
|
|
23606
|
+
const r = {}, i = KY(e, t, n);
|
|
23610
23607
|
return e.drag && e.dragListener !== !1 && (r.draggable = !1, i.userSelect = i.WebkitUserSelect = i.WebkitTouchCallout = "none", i.touchAction = e.drag === !0 ? "none" : `pan-${e.drag === "x" ? "y" : "x"}`), e.tabIndex === void 0 && (e.onTap || e.onTapStart || e.whileTap) && (r.tabIndex = 0), r.style = i, r;
|
|
23611
23608
|
}
|
|
23612
|
-
const
|
|
23609
|
+
const XY = /* @__PURE__ */ new Set([
|
|
23613
23610
|
"animate",
|
|
23614
23611
|
"exit",
|
|
23615
23612
|
"variants",
|
|
@@ -23643,17 +23640,17 @@ const QY = /* @__PURE__ */ new Set([
|
|
|
23643
23640
|
"viewport"
|
|
23644
23641
|
]);
|
|
23645
23642
|
function Ad(e) {
|
|
23646
|
-
return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") ||
|
|
23643
|
+
return e.startsWith("while") || e.startsWith("drag") && e !== "draggable" || e.startsWith("layout") || e.startsWith("onTap") || e.startsWith("onPan") || e.startsWith("onLayout") || XY.has(e);
|
|
23647
23644
|
}
|
|
23648
23645
|
let XT = (e) => !Ad(e);
|
|
23649
|
-
function
|
|
23646
|
+
function ZY(e) {
|
|
23650
23647
|
e && (XT = (t) => t.startsWith("on") ? !Ad(t) : e(t));
|
|
23651
23648
|
}
|
|
23652
23649
|
try {
|
|
23653
|
-
|
|
23650
|
+
ZY(require("@emotion/is-prop-valid").default);
|
|
23654
23651
|
} catch {
|
|
23655
23652
|
}
|
|
23656
|
-
function
|
|
23653
|
+
function JY(e, t, n) {
|
|
23657
23654
|
const r = {};
|
|
23658
23655
|
for (const i in e)
|
|
23659
23656
|
i === "values" && typeof e.values == "object" || (XT(i) || n === !0 && Ad(i) || !t && !Ad(i) || // If trying to use native HTML drag events, forward drag listeners
|
|
@@ -23663,20 +23660,20 @@ function ZY(e, t, n) {
|
|
|
23663
23660
|
function lx(e, t, n) {
|
|
23664
23661
|
return typeof e == "string" ? e : Le.transform(t + n * e);
|
|
23665
23662
|
}
|
|
23666
|
-
function
|
|
23663
|
+
function e9(e, t, n) {
|
|
23667
23664
|
const r = lx(t, e.x, e.width), i = lx(n, e.y, e.height);
|
|
23668
23665
|
return `${r} ${i}`;
|
|
23669
23666
|
}
|
|
23670
|
-
const
|
|
23667
|
+
const t9 = {
|
|
23671
23668
|
offset: "stroke-dashoffset",
|
|
23672
23669
|
array: "stroke-dasharray"
|
|
23673
|
-
},
|
|
23670
|
+
}, n9 = {
|
|
23674
23671
|
offset: "strokeDashoffset",
|
|
23675
23672
|
array: "strokeDasharray"
|
|
23676
23673
|
};
|
|
23677
|
-
function
|
|
23674
|
+
function r9(e, t, n = 1, r = 0, i = !0) {
|
|
23678
23675
|
e.pathLength = 1;
|
|
23679
|
-
const s = i ?
|
|
23676
|
+
const s = i ? t9 : n9;
|
|
23680
23677
|
e[s.offset] = Le.transform(-r);
|
|
23681
23678
|
const a = Le.transform(t), c = Le.transform(n);
|
|
23682
23679
|
e[s.array] = `${a} ${c}`;
|
|
@@ -23699,13 +23696,13 @@ function nv(e, {
|
|
|
23699
23696
|
}
|
|
23700
23697
|
e.attrs = e.style, e.style = {};
|
|
23701
23698
|
const { attrs: k, style: E, dimensions: T } = e;
|
|
23702
|
-
k.transform && (T && (E.transform = k.transform), delete k.transform), T && (i !== void 0 || s !== void 0 || E.transform) && (E.transformOrigin =
|
|
23699
|
+
k.transform && (T && (E.transform = k.transform), delete k.transform), T && (i !== void 0 || s !== void 0 || E.transform) && (E.transformOrigin = e9(T, i !== void 0 ? i : 0.5, s !== void 0 ? s : 0.5)), t !== void 0 && (k.x = t), n !== void 0 && (k.y = n), r !== void 0 && (k.scale = r), a !== void 0 && r9(k, a, c, d, !1);
|
|
23703
23700
|
}
|
|
23704
23701
|
const ZT = () => ({
|
|
23705
23702
|
...tv(),
|
|
23706
23703
|
attrs: {}
|
|
23707
23704
|
}), rv = (e) => typeof e == "string" && e.toLowerCase() === "svg";
|
|
23708
|
-
function
|
|
23705
|
+
function i9(e, t, n, r) {
|
|
23709
23706
|
const i = $.useMemo(() => {
|
|
23710
23707
|
const s = ZT();
|
|
23711
23708
|
return nv(s, t, { enableHardwareAcceleration: !1 }, rv(r), e.transformTemplate), {
|
|
@@ -23719,10 +23716,10 @@ function r9(e, t, n, r) {
|
|
|
23719
23716
|
}
|
|
23720
23717
|
return i;
|
|
23721
23718
|
}
|
|
23722
|
-
function
|
|
23719
|
+
function s9(e = !1) {
|
|
23723
23720
|
return (n, r, i, { latestValues: s }, a) => {
|
|
23724
|
-
const d = (J0(n) ?
|
|
23725
|
-
...
|
|
23721
|
+
const d = (J0(n) ? i9 : QY)(r, s, a, n), m = {
|
|
23722
|
+
...JY(r, typeof n == "string", e),
|
|
23726
23723
|
...d,
|
|
23727
23724
|
ref: i
|
|
23728
23725
|
}, { children: v } = r, x = $.useMemo(() => ur(v) ? v.get() : v, [v]);
|
|
@@ -23785,27 +23782,27 @@ function nE(e, t) {
|
|
|
23785
23782
|
function sv(e, t, n, r = {}, i = {}) {
|
|
23786
23783
|
return typeof t == "function" && (t = t(n !== void 0 ? n : e.custom, r, i)), typeof t == "string" && (t = e.variants && e.variants[t]), typeof t == "function" && (t = t(n !== void 0 ? n : e.custom, r, i)), t;
|
|
23787
23784
|
}
|
|
23788
|
-
function
|
|
23785
|
+
function o9(e) {
|
|
23789
23786
|
const t = $.useRef(null);
|
|
23790
23787
|
return t.current === null && (t.current = e()), t.current;
|
|
23791
23788
|
}
|
|
23792
|
-
const Pd = (e) => Array.isArray(e),
|
|
23789
|
+
const Pd = (e) => Array.isArray(e), a9 = (e) => !!(e && typeof e == "object" && e.mix && e.toValue), l9 = (e) => Pd(e) ? e[e.length - 1] || 0 : e;
|
|
23793
23790
|
function qf(e) {
|
|
23794
23791
|
const t = ur(e) ? e.get() : e;
|
|
23795
|
-
return
|
|
23792
|
+
return a9(t) ? t.toValue() : t;
|
|
23796
23793
|
}
|
|
23797
|
-
function
|
|
23794
|
+
function u9({ scrapeMotionValuesFromProps: e, createRenderState: t, onMount: n }, r, i, s) {
|
|
23798
23795
|
const a = {
|
|
23799
|
-
latestValues:
|
|
23796
|
+
latestValues: c9(r, i, s, e),
|
|
23800
23797
|
renderState: t()
|
|
23801
23798
|
};
|
|
23802
23799
|
return n && (a.mount = (c) => n(r, c, a)), a;
|
|
23803
23800
|
}
|
|
23804
23801
|
const rE = (e) => (t, n) => {
|
|
23805
|
-
const r = $.useContext(Jh), i = $.useContext(K0), s = () =>
|
|
23806
|
-
return n ? s() :
|
|
23802
|
+
const r = $.useContext(Jh), i = $.useContext(K0), s = () => u9(e, t, r, i);
|
|
23803
|
+
return n ? s() : o9(s);
|
|
23807
23804
|
};
|
|
23808
|
-
function
|
|
23805
|
+
function c9(e, t, n, r) {
|
|
23809
23806
|
const i = {}, s = r(e, {});
|
|
23810
23807
|
for (const x in s)
|
|
23811
23808
|
i[x] = qf(s[x]);
|
|
@@ -23849,7 +23846,7 @@ class ux {
|
|
|
23849
23846
|
this.order.length = 0, this.scheduled.clear();
|
|
23850
23847
|
}
|
|
23851
23848
|
}
|
|
23852
|
-
function
|
|
23849
|
+
function f9(e) {
|
|
23853
23850
|
let t = new ux(), n = new ux(), r = 0, i = !1, s = !1;
|
|
23854
23851
|
const a = /* @__PURE__ */ new WeakSet(), c = {
|
|
23855
23852
|
/**
|
|
@@ -23890,16 +23887,16 @@ const Cf = [
|
|
|
23890
23887
|
"preRender",
|
|
23891
23888
|
"render",
|
|
23892
23889
|
"postRender"
|
|
23893
|
-
],
|
|
23894
|
-
function
|
|
23890
|
+
], d9 = 40;
|
|
23891
|
+
function h9(e, t) {
|
|
23895
23892
|
let n = !1, r = !0;
|
|
23896
23893
|
const i = {
|
|
23897
23894
|
delta: 0,
|
|
23898
23895
|
timestamp: 0,
|
|
23899
23896
|
isProcessing: !1
|
|
23900
|
-
}, s = Cf.reduce((v, x) => (v[x] =
|
|
23897
|
+
}, s = Cf.reduce((v, x) => (v[x] = f9(() => n = !0), v), {}), a = (v) => s[v].process(i), c = () => {
|
|
23901
23898
|
const v = performance.now();
|
|
23902
|
-
n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(v - i.timestamp,
|
|
23899
|
+
n = !1, i.delta = r ? 1e3 / 60 : Math.max(Math.min(v - i.timestamp, d9), 1), i.timestamp = v, i.isProcessing = !0, Cf.forEach(a), i.isProcessing = !1, n && t && (r = !1, e(c));
|
|
23903
23900
|
}, d = () => {
|
|
23904
23901
|
n = !0, r = !0, i.isProcessing || e(c);
|
|
23905
23902
|
};
|
|
@@ -23908,7 +23905,7 @@ function d9(e, t) {
|
|
|
23908
23905
|
return v[x] = (E, T = !1, M = !1) => (n || d(), k.schedule(E, T, M)), v;
|
|
23909
23906
|
}, {}), cancel: (v) => Cf.forEach((x) => s[x].cancel(v)), state: i, steps: s };
|
|
23910
23907
|
}
|
|
23911
|
-
const { schedule: At, cancel: Ds, state: Rn, steps: Jm } =
|
|
23908
|
+
const { schedule: At, cancel: Ds, state: Rn, steps: Jm } = h9(typeof requestAnimationFrame < "u" ? requestAnimationFrame : zt, !0), p9 = {
|
|
23912
23909
|
useVisualState: rE({
|
|
23913
23910
|
scrapeMotionValuesFromProps: nE,
|
|
23914
23911
|
createRenderState: ZT,
|
|
@@ -23929,17 +23926,17 @@ const { schedule: At, cancel: Ds, state: Rn, steps: Jm } = d9(typeof requestAnim
|
|
|
23929
23926
|
});
|
|
23930
23927
|
}
|
|
23931
23928
|
})
|
|
23932
|
-
},
|
|
23929
|
+
}, m9 = {
|
|
23933
23930
|
useVisualState: rE({
|
|
23934
23931
|
scrapeMotionValuesFromProps: iv,
|
|
23935
23932
|
createRenderState: tv
|
|
23936
23933
|
})
|
|
23937
23934
|
};
|
|
23938
|
-
function
|
|
23935
|
+
function g9(e, { forwardMotionProps: t = !1 }, n, r) {
|
|
23939
23936
|
return {
|
|
23940
|
-
...J0(e) ?
|
|
23937
|
+
...J0(e) ? p9 : m9,
|
|
23941
23938
|
preloadedFeatures: n,
|
|
23942
|
-
useRender:
|
|
23939
|
+
useRender: s9(t),
|
|
23943
23940
|
createVisualElement: r,
|
|
23944
23941
|
Component: e
|
|
23945
23942
|
};
|
|
@@ -23956,11 +23953,11 @@ function ip(e, t = "page") {
|
|
|
23956
23953
|
}
|
|
23957
23954
|
};
|
|
23958
23955
|
}
|
|
23959
|
-
const
|
|
23956
|
+
const y9 = (e) => (t) => iE(t) && e(t, ip(t));
|
|
23960
23957
|
function Cs(e, t, n, r) {
|
|
23961
|
-
return bs(e, t,
|
|
23958
|
+
return bs(e, t, y9(n), r);
|
|
23962
23959
|
}
|
|
23963
|
-
const
|
|
23960
|
+
const v9 = (e, t) => (n) => t(e(n)), mo = (...e) => e.reduce(v9);
|
|
23964
23961
|
function sE(e) {
|
|
23965
23962
|
let t = null;
|
|
23966
23963
|
return () => {
|
|
@@ -24007,14 +24004,14 @@ function dx(e, t) {
|
|
|
24007
24004
|
passive: !e.getProps()[r]
|
|
24008
24005
|
});
|
|
24009
24006
|
}
|
|
24010
|
-
class
|
|
24007
|
+
class b9 extends xo {
|
|
24011
24008
|
mount() {
|
|
24012
24009
|
this.unmount = mo(dx(this.node, !0), dx(this.node, !1));
|
|
24013
24010
|
}
|
|
24014
24011
|
unmount() {
|
|
24015
24012
|
}
|
|
24016
24013
|
}
|
|
24017
|
-
class
|
|
24014
|
+
class w9 extends xo {
|
|
24018
24015
|
constructor() {
|
|
24019
24016
|
super(...arguments), this.isActive = !1;
|
|
24020
24017
|
}
|
|
@@ -24043,7 +24040,7 @@ function eg(e, t) {
|
|
|
24043
24040
|
const n = new PointerEvent("pointer" + e);
|
|
24044
24041
|
t(n, ip(n));
|
|
24045
24042
|
}
|
|
24046
|
-
class
|
|
24043
|
+
class x9 extends xo {
|
|
24047
24044
|
constructor() {
|
|
24048
24045
|
super(...arguments), this.removeStartListeners = zt, this.removeEndListeners = zt, this.removeAccessibleListeners = zt, this.startPointerPress = (t, n) => {
|
|
24049
24046
|
if (this.isPressing)
|
|
@@ -24099,29 +24096,29 @@ class w9 extends xo {
|
|
|
24099
24096
|
this.removeStartListeners(), this.removeEndListeners(), this.removeAccessibleListeners();
|
|
24100
24097
|
}
|
|
24101
24098
|
}
|
|
24102
|
-
const oy = /* @__PURE__ */ new WeakMap(), tg = /* @__PURE__ */ new WeakMap(),
|
|
24099
|
+
const oy = /* @__PURE__ */ new WeakMap(), tg = /* @__PURE__ */ new WeakMap(), S9 = (e) => {
|
|
24103
24100
|
const t = oy.get(e.target);
|
|
24104
24101
|
t && t(e);
|
|
24105
|
-
},
|
|
24106
|
-
e.forEach(
|
|
24102
|
+
}, _9 = (e) => {
|
|
24103
|
+
e.forEach(S9);
|
|
24107
24104
|
};
|
|
24108
|
-
function
|
|
24105
|
+
function C9({ root: e, ...t }) {
|
|
24109
24106
|
const n = e || document;
|
|
24110
24107
|
tg.has(n) || tg.set(n, {});
|
|
24111
24108
|
const r = tg.get(n), i = JSON.stringify(t);
|
|
24112
|
-
return r[i] || (r[i] = new IntersectionObserver(
|
|
24109
|
+
return r[i] || (r[i] = new IntersectionObserver(_9, { root: e, ...t })), r[i];
|
|
24113
24110
|
}
|
|
24114
|
-
function
|
|
24115
|
-
const r =
|
|
24111
|
+
function k9(e, t, n) {
|
|
24112
|
+
const r = C9(t);
|
|
24116
24113
|
return oy.set(e, n), r.observe(e), () => {
|
|
24117
24114
|
oy.delete(e), r.unobserve(e);
|
|
24118
24115
|
};
|
|
24119
24116
|
}
|
|
24120
|
-
const
|
|
24117
|
+
const T9 = {
|
|
24121
24118
|
some: 0,
|
|
24122
24119
|
all: 1
|
|
24123
24120
|
};
|
|
24124
|
-
class
|
|
24121
|
+
class E9 extends xo {
|
|
24125
24122
|
constructor() {
|
|
24126
24123
|
super(...arguments), this.hasEnteredView = !1, this.isInView = !1;
|
|
24127
24124
|
}
|
|
@@ -24130,7 +24127,7 @@ class T9 extends xo {
|
|
|
24130
24127
|
const { viewport: t = {} } = this.node.getProps(), { root: n, margin: r, amount: i = "some", once: s } = t, a = {
|
|
24131
24128
|
root: n ? n.current : void 0,
|
|
24132
24129
|
rootMargin: r,
|
|
24133
|
-
threshold: typeof i == "number" ? i :
|
|
24130
|
+
threshold: typeof i == "number" ? i : T9[i]
|
|
24134
24131
|
}, c = (d) => {
|
|
24135
24132
|
const { isIntersecting: p } = d;
|
|
24136
24133
|
if (this.isInView === p || (this.isInView = p, s && !p && this.hasEnteredView))
|
|
@@ -24139,7 +24136,7 @@ class T9 extends xo {
|
|
|
24139
24136
|
const { onViewportEnter: m, onViewportLeave: v } = this.node.getProps(), x = p ? m : v;
|
|
24140
24137
|
x && x(d);
|
|
24141
24138
|
};
|
|
24142
|
-
return
|
|
24139
|
+
return k9(this.node.current, a, c);
|
|
24143
24140
|
}
|
|
24144
24141
|
mount() {
|
|
24145
24142
|
this.startObserver();
|
|
@@ -24148,26 +24145,26 @@ class T9 extends xo {
|
|
|
24148
24145
|
if (typeof IntersectionObserver > "u")
|
|
24149
24146
|
return;
|
|
24150
24147
|
const { props: t, prevProps: n } = this.node;
|
|
24151
|
-
["amount", "margin", "root"].some(
|
|
24148
|
+
["amount", "margin", "root"].some(D9(t, n)) && this.startObserver();
|
|
24152
24149
|
}
|
|
24153
24150
|
unmount() {
|
|
24154
24151
|
}
|
|
24155
24152
|
}
|
|
24156
|
-
function
|
|
24153
|
+
function D9({ viewport: e = {} }, { viewport: t = {} } = {}) {
|
|
24157
24154
|
return (n) => e[n] !== t[n];
|
|
24158
24155
|
}
|
|
24159
|
-
const
|
|
24156
|
+
const A9 = {
|
|
24160
24157
|
inView: {
|
|
24161
|
-
Feature:
|
|
24158
|
+
Feature: E9
|
|
24162
24159
|
},
|
|
24163
24160
|
tap: {
|
|
24164
|
-
Feature:
|
|
24161
|
+
Feature: x9
|
|
24165
24162
|
},
|
|
24166
24163
|
focus: {
|
|
24167
|
-
Feature:
|
|
24164
|
+
Feature: w9
|
|
24168
24165
|
},
|
|
24169
24166
|
hover: {
|
|
24170
|
-
Feature:
|
|
24167
|
+
Feature: b9
|
|
24171
24168
|
}
|
|
24172
24169
|
};
|
|
24173
24170
|
function uE(e, t) {
|
|
@@ -24181,20 +24178,20 @@ function uE(e, t) {
|
|
|
24181
24178
|
return !1;
|
|
24182
24179
|
return !0;
|
|
24183
24180
|
}
|
|
24184
|
-
function
|
|
24181
|
+
function P9(e) {
|
|
24185
24182
|
const t = {};
|
|
24186
24183
|
return e.values.forEach((n, r) => t[r] = n.get()), t;
|
|
24187
24184
|
}
|
|
24188
|
-
function
|
|
24185
|
+
function O9(e) {
|
|
24189
24186
|
const t = {};
|
|
24190
24187
|
return e.values.forEach((n, r) => t[r] = n.getVelocity()), t;
|
|
24191
24188
|
}
|
|
24192
24189
|
function sp(e, t, n) {
|
|
24193
24190
|
const r = e.getProps();
|
|
24194
|
-
return sv(r, t, n !== void 0 ? n : r.custom,
|
|
24191
|
+
return sv(r, t, n !== void 0 ? n : r.custom, P9(e), O9(e));
|
|
24195
24192
|
}
|
|
24196
|
-
let
|
|
24197
|
-
const go = (e) => e * 1e3, ks = (e) => e / 1e3,
|
|
24193
|
+
let R9 = zt, ov = zt;
|
|
24194
|
+
const go = (e) => e * 1e3, ks = (e) => e / 1e3, M9 = {
|
|
24198
24195
|
current: !1
|
|
24199
24196
|
}, cE = (e) => Array.isArray(e) && typeof e[0] == "number";
|
|
24200
24197
|
function fE(e) {
|
|
@@ -24215,7 +24212,7 @@ function hE(e) {
|
|
|
24215
24212
|
if (e)
|
|
24216
24213
|
return cE(e) ? su(e) : Array.isArray(e) ? e.map(hE) : dE[e];
|
|
24217
24214
|
}
|
|
24218
|
-
function
|
|
24215
|
+
function I9(e, t, n, { delay: r = 0, duration: i, repeat: s = 0, repeatType: a = "loop", ease: c, times: d } = {}) {
|
|
24219
24216
|
const p = { [t]: n };
|
|
24220
24217
|
d && (p.offset = d);
|
|
24221
24218
|
const m = hE(c);
|
|
@@ -24228,45 +24225,45 @@ function M9(e, t, n, { delay: r = 0, duration: i, repeat: s = 0, repeatType: a =
|
|
|
24228
24225
|
direction: a === "reverse" ? "alternate" : "normal"
|
|
24229
24226
|
});
|
|
24230
24227
|
}
|
|
24231
|
-
function
|
|
24228
|
+
function N9(e, { repeat: t, repeatType: n = "loop" }) {
|
|
24232
24229
|
const r = t && n !== "loop" && t % 2 === 1 ? 0 : e.length - 1;
|
|
24233
24230
|
return e[r];
|
|
24234
24231
|
}
|
|
24235
|
-
const pE = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e,
|
|
24236
|
-
function
|
|
24232
|
+
const pE = (e, t, n) => (((1 - 3 * n + 3 * t) * e + (3 * n - 6 * t)) * e + 3 * t) * e, F9 = 1e-7, L9 = 12;
|
|
24233
|
+
function $9(e, t, n, r, i) {
|
|
24237
24234
|
let s, a, c = 0;
|
|
24238
24235
|
do
|
|
24239
24236
|
a = t + (n - t) / 2, s = pE(a, r, i) - e, s > 0 ? n = a : t = a;
|
|
24240
|
-
while (Math.abs(s) >
|
|
24237
|
+
while (Math.abs(s) > F9 && ++c < L9);
|
|
24241
24238
|
return a;
|
|
24242
24239
|
}
|
|
24243
24240
|
function rc(e, t, n, r) {
|
|
24244
24241
|
if (e === t && n === r)
|
|
24245
24242
|
return zt;
|
|
24246
|
-
const i = (s) =>
|
|
24243
|
+
const i = (s) => $9(s, 0, 1, e, n);
|
|
24247
24244
|
return (s) => s === 0 || s === 1 ? s : pE(i(s), t, r);
|
|
24248
24245
|
}
|
|
24249
|
-
const
|
|
24246
|
+
const j9 = rc(0.42, 0, 1, 1), B9 = rc(0, 0, 0.58, 1), mE = rc(0.42, 0, 0.58, 1), W9 = (e) => Array.isArray(e) && typeof e[0] != "number", gE = (e) => (t) => t <= 0.5 ? e(2 * t) / 2 : (2 - e(2 * (1 - t))) / 2, yE = (e) => (t) => 1 - e(1 - t), av = (e) => 1 - Math.sin(Math.acos(e)), vE = yE(av), V9 = gE(av), bE = rc(0.33, 1.53, 0.69, 0.99), lv = yE(bE), U9 = gE(lv), H9 = (e) => (e *= 2) < 1 ? 0.5 * lv(e) : 0.5 * (2 - Math.pow(2, -10 * (e - 1))), z9 = {
|
|
24250
24247
|
linear: zt,
|
|
24251
|
-
easeIn:
|
|
24248
|
+
easeIn: j9,
|
|
24252
24249
|
easeInOut: mE,
|
|
24253
|
-
easeOut:
|
|
24250
|
+
easeOut: B9,
|
|
24254
24251
|
circIn: av,
|
|
24255
|
-
circInOut:
|
|
24252
|
+
circInOut: V9,
|
|
24256
24253
|
circOut: vE,
|
|
24257
24254
|
backIn: lv,
|
|
24258
|
-
backInOut:
|
|
24255
|
+
backInOut: U9,
|
|
24259
24256
|
backOut: bE,
|
|
24260
|
-
anticipate:
|
|
24257
|
+
anticipate: H9
|
|
24261
24258
|
}, hx = (e) => {
|
|
24262
24259
|
if (Array.isArray(e)) {
|
|
24263
24260
|
ov(e.length === 4);
|
|
24264
24261
|
const [t, n, r, i] = e;
|
|
24265
24262
|
return rc(t, n, r, i);
|
|
24266
24263
|
} else if (typeof e == "string")
|
|
24267
|
-
return
|
|
24264
|
+
return z9[e];
|
|
24268
24265
|
return e;
|
|
24269
|
-
}, uv = (e, t) => (n) => !!(tc(n) &&
|
|
24266
|
+
}, uv = (e, t) => (n) => !!(tc(n) && zY.test(n) && n.startsWith(e) || t && Object.prototype.hasOwnProperty.call(n, t)), wE = (e, t, n) => (r) => {
|
|
24270
24267
|
if (!tc(r))
|
|
24271
24268
|
return r;
|
|
24272
24269
|
const [i, s, a, c] = r.match(rp);
|
|
@@ -24276,15 +24273,15 @@ const $9 = rc(0.42, 0, 1, 1), j9 = rc(0, 0, 0.58, 1), mE = rc(0.42, 0, 0.58, 1),
|
|
|
24276
24273
|
[n]: parseFloat(a),
|
|
24277
24274
|
alpha: c !== void 0 ? parseFloat(c) : 1
|
|
24278
24275
|
};
|
|
24279
|
-
},
|
|
24276
|
+
}, Y9 = (e) => bo(0, 255, e), ng = {
|
|
24280
24277
|
...fa,
|
|
24281
|
-
transform: (e) => Math.round(
|
|
24282
|
-
},
|
|
24278
|
+
transform: (e) => Math.round(Y9(e))
|
|
24279
|
+
}, Zo = {
|
|
24283
24280
|
test: uv("rgb", "red"),
|
|
24284
24281
|
parse: wE("red", "green", "blue"),
|
|
24285
24282
|
transform: ({ red: e, green: t, blue: n, alpha: r = 1 }) => "rgba(" + ng.transform(e) + ", " + ng.transform(t) + ", " + ng.transform(n) + ", " + gu(mu.transform(r)) + ")"
|
|
24286
24283
|
};
|
|
24287
|
-
function
|
|
24284
|
+
function q9(e) {
|
|
24288
24285
|
let t = "", n = "", r = "", i = "";
|
|
24289
24286
|
return e.length > 5 ? (t = e.substring(1, 3), n = e.substring(3, 5), r = e.substring(5, 7), i = e.substring(7, 9)) : (t = e.substring(1, 2), n = e.substring(2, 3), r = e.substring(3, 4), i = e.substring(4, 5), t += t, n += n, r += r, i += i), {
|
|
24290
24287
|
red: parseInt(t, 16),
|
|
@@ -24295,21 +24292,21 @@ function Y9(e) {
|
|
|
24295
24292
|
}
|
|
24296
24293
|
const ay = {
|
|
24297
24294
|
test: uv("#"),
|
|
24298
|
-
parse:
|
|
24299
|
-
transform:
|
|
24295
|
+
parse: q9,
|
|
24296
|
+
transform: Zo.transform
|
|
24300
24297
|
}, Ha = {
|
|
24301
24298
|
test: uv("hsl", "hue"),
|
|
24302
24299
|
parse: wE("hue", "saturation", "lightness"),
|
|
24303
24300
|
transform: ({ hue: e, saturation: t, lightness: n, alpha: r = 1 }) => "hsla(" + Math.round(e) + ", " + Yi.transform(gu(t)) + ", " + Yi.transform(gu(n)) + ", " + gu(mu.transform(r)) + ")"
|
|
24304
24301
|
}, Un = {
|
|
24305
|
-
test: (e) =>
|
|
24306
|
-
parse: (e) =>
|
|
24307
|
-
transform: (e) => tc(e) ? e : e.hasOwnProperty("red") ?
|
|
24302
|
+
test: (e) => Zo.test(e) || ay.test(e) || Ha.test(e),
|
|
24303
|
+
parse: (e) => Zo.test(e) ? Zo.parse(e) : Ha.test(e) ? Ha.parse(e) : ay.parse(e),
|
|
24304
|
+
transform: (e) => tc(e) ? e : e.hasOwnProperty("red") ? Zo.transform(e) : Ha.transform(e)
|
|
24308
24305
|
}, jt = (e, t, n) => -n * e + n * t + e;
|
|
24309
24306
|
function rg(e, t, n) {
|
|
24310
24307
|
return n < 0 && (n += 1), n > 1 && (n -= 1), n < 1 / 6 ? e + (t - e) * 6 * n : n < 1 / 2 ? t : n < 2 / 3 ? e + (t - e) * (2 / 3 - n) * 6 : e;
|
|
24311
24308
|
}
|
|
24312
|
-
function
|
|
24309
|
+
function G9({ hue: e, saturation: t, lightness: n, alpha: r }) {
|
|
24313
24310
|
e /= 360, t /= 100, n /= 100;
|
|
24314
24311
|
let i = 0, s = 0, a = 0;
|
|
24315
24312
|
if (!t)
|
|
@@ -24328,22 +24325,22 @@ function q9({ hue: e, saturation: t, lightness: n, alpha: r }) {
|
|
|
24328
24325
|
const ig = (e, t, n) => {
|
|
24329
24326
|
const r = e * e;
|
|
24330
24327
|
return Math.sqrt(Math.max(0, n * (t * t - r) + r));
|
|
24331
|
-
},
|
|
24328
|
+
}, K9 = [ay, Zo, Ha], Q9 = (e) => K9.find((t) => t.test(e));
|
|
24332
24329
|
function px(e) {
|
|
24333
|
-
const t =
|
|
24330
|
+
const t = Q9(e);
|
|
24334
24331
|
let n = t.parse(e);
|
|
24335
|
-
return t === Ha && (n =
|
|
24332
|
+
return t === Ha && (n = G9(n)), n;
|
|
24336
24333
|
}
|
|
24337
24334
|
const xE = (e, t) => {
|
|
24338
24335
|
const n = px(e), r = px(t), i = { ...n };
|
|
24339
|
-
return (s) => (i.red = ig(n.red, r.red, s), i.green = ig(n.green, r.green, s), i.blue = ig(n.blue, r.blue, s), i.alpha = jt(n.alpha, r.alpha, s),
|
|
24336
|
+
return (s) => (i.red = ig(n.red, r.red, s), i.green = ig(n.green, r.green, s), i.blue = ig(n.blue, r.blue, s), i.alpha = jt(n.alpha, r.alpha, s), Zo.transform(i));
|
|
24340
24337
|
};
|
|
24341
|
-
function
|
|
24338
|
+
function X9(e) {
|
|
24342
24339
|
var t, n;
|
|
24343
24340
|
return isNaN(e) && tc(e) && (((t = e.match(rp)) === null || t === void 0 ? void 0 : t.length) || 0) + (((n = e.match(GT)) === null || n === void 0 ? void 0 : n.length) || 0) > 0;
|
|
24344
24341
|
}
|
|
24345
24342
|
const SE = {
|
|
24346
|
-
regex:
|
|
24343
|
+
regex: UY,
|
|
24347
24344
|
countKey: "Vars",
|
|
24348
24345
|
token: "${v}",
|
|
24349
24346
|
parse: zt
|
|
@@ -24385,16 +24382,16 @@ function TE(e) {
|
|
|
24385
24382
|
return c;
|
|
24386
24383
|
};
|
|
24387
24384
|
}
|
|
24388
|
-
const
|
|
24389
|
-
function
|
|
24385
|
+
const Z9 = (e) => typeof e == "number" ? 0 : e;
|
|
24386
|
+
function J9(e) {
|
|
24390
24387
|
const t = kE(e);
|
|
24391
|
-
return TE(e)(t.map(
|
|
24388
|
+
return TE(e)(t.map(Z9));
|
|
24392
24389
|
}
|
|
24393
24390
|
const wo = {
|
|
24394
|
-
test:
|
|
24391
|
+
test: X9,
|
|
24395
24392
|
parse: kE,
|
|
24396
24393
|
createTransformer: TE,
|
|
24397
|
-
getAnimatableNone:
|
|
24394
|
+
getAnimatableNone: J9
|
|
24398
24395
|
}, EE = (e, t) => (n) => `${n > 0 ? t : e}`;
|
|
24399
24396
|
function DE(e, t) {
|
|
24400
24397
|
return typeof e == "number" ? (n) => jt(e, t, n) : Un.test(e) ? xE(e, t) : e.startsWith("var(") ? EE(e, t) : PE(e, t);
|
|
@@ -24406,7 +24403,7 @@ const AE = (e, t) => {
|
|
|
24406
24403
|
n[a] = i[a](s);
|
|
24407
24404
|
return n;
|
|
24408
24405
|
};
|
|
24409
|
-
},
|
|
24406
|
+
}, e8 = (e, t) => {
|
|
24410
24407
|
const n = { ...e, ...t }, r = {};
|
|
24411
24408
|
for (const i in n)
|
|
24412
24409
|
e[i] !== void 0 && t[i] !== void 0 && (r[i] = DE(e[i], t[i]));
|
|
@@ -24422,11 +24419,11 @@ const AE = (e, t) => {
|
|
|
24422
24419
|
const r = t - e;
|
|
24423
24420
|
return r === 0 ? 1 : (n - e) / r;
|
|
24424
24421
|
}, mx = (e, t) => (n) => jt(e, t, n);
|
|
24425
|
-
function
|
|
24426
|
-
return typeof e == "number" ? mx : typeof e == "string" ? Un.test(e) ? xE : PE : Array.isArray(e) ? AE : typeof e == "object" ?
|
|
24422
|
+
function t8(e) {
|
|
24423
|
+
return typeof e == "number" ? mx : typeof e == "string" ? Un.test(e) ? xE : PE : Array.isArray(e) ? AE : typeof e == "object" ? e8 : mx;
|
|
24427
24424
|
}
|
|
24428
|
-
function
|
|
24429
|
-
const r = [], i = n ||
|
|
24425
|
+
function n8(e, t, n) {
|
|
24426
|
+
const r = [], i = n || t8(e[0]), s = e.length - 1;
|
|
24430
24427
|
for (let a = 0; a < s; a++) {
|
|
24431
24428
|
let c = i(e[a], e[a + 1]);
|
|
24432
24429
|
if (t) {
|
|
@@ -24442,7 +24439,7 @@ function OE(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
|
|
|
24442
24439
|
if (ov(s === t.length), s === 1)
|
|
24443
24440
|
return () => t[0];
|
|
24444
24441
|
e[0] > e[s - 1] && (e = [...e].reverse(), t = [...t].reverse());
|
|
24445
|
-
const a =
|
|
24442
|
+
const a = n8(t, r, i), c = a.length, d = (p) => {
|
|
24446
24443
|
let m = 0;
|
|
24447
24444
|
if (c > 1)
|
|
24448
24445
|
for (; m < e.length - 2 && !(p < e[m + 1]); m++)
|
|
@@ -24452,34 +24449,34 @@ function OE(e, t, { clamp: n = !0, ease: r, mixer: i } = {}) {
|
|
|
24452
24449
|
};
|
|
24453
24450
|
return n ? (p) => d(bo(e[0], e[s - 1], p)) : d;
|
|
24454
24451
|
}
|
|
24455
|
-
function
|
|
24452
|
+
function r8(e, t) {
|
|
24456
24453
|
const n = e[e.length - 1];
|
|
24457
24454
|
for (let r = 1; r <= t; r++) {
|
|
24458
24455
|
const i = Fu(0, t, r);
|
|
24459
24456
|
e.push(jt(n, 1, i));
|
|
24460
24457
|
}
|
|
24461
24458
|
}
|
|
24462
|
-
function
|
|
24459
|
+
function i8(e) {
|
|
24463
24460
|
const t = [0];
|
|
24464
|
-
return
|
|
24461
|
+
return r8(t, e.length - 1), t;
|
|
24465
24462
|
}
|
|
24466
|
-
function
|
|
24463
|
+
function s8(e, t) {
|
|
24467
24464
|
return e.map((n) => n * t);
|
|
24468
24465
|
}
|
|
24469
|
-
function
|
|
24466
|
+
function o8(e, t) {
|
|
24470
24467
|
return e.map(() => t || mE).splice(0, e.length - 1);
|
|
24471
24468
|
}
|
|
24472
24469
|
function Rd({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }) {
|
|
24473
|
-
const i =
|
|
24470
|
+
const i = W9(r) ? r.map(hx) : hx(r), s = {
|
|
24474
24471
|
done: !1,
|
|
24475
24472
|
value: t[0]
|
|
24476
|
-
}, a =
|
|
24473
|
+
}, a = s8(
|
|
24477
24474
|
// Only use the provided offsets if they're the correct length
|
|
24478
24475
|
// TODO Maybe we should warn here if there's a length mismatch
|
|
24479
|
-
n && n.length === t.length ? n :
|
|
24476
|
+
n && n.length === t.length ? n : i8(t),
|
|
24480
24477
|
e
|
|
24481
24478
|
), c = OE(a, t, {
|
|
24482
|
-
ease: Array.isArray(i) ? i :
|
|
24479
|
+
ease: Array.isArray(i) ? i : o8(t, i)
|
|
24483
24480
|
});
|
|
24484
24481
|
return {
|
|
24485
24482
|
calculatedDuration: e,
|
|
@@ -24489,17 +24486,17 @@ function Rd({ duration: e = 300, keyframes: t, times: n, ease: r = "easeInOut" }
|
|
|
24489
24486
|
function RE(e, t) {
|
|
24490
24487
|
return t ? e * (1e3 / t) : 0;
|
|
24491
24488
|
}
|
|
24492
|
-
const
|
|
24489
|
+
const a8 = 5;
|
|
24493
24490
|
function ME(e, t, n) {
|
|
24494
|
-
const r = Math.max(t -
|
|
24491
|
+
const r = Math.max(t - a8, 0);
|
|
24495
24492
|
return RE(n - e(r), t - r);
|
|
24496
24493
|
}
|
|
24497
|
-
const og = 1e-3,
|
|
24498
|
-
function
|
|
24494
|
+
const og = 1e-3, l8 = 0.01, gx = 10, u8 = 0.05, c8 = 1;
|
|
24495
|
+
function f8({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1 }) {
|
|
24499
24496
|
let i, s;
|
|
24500
|
-
|
|
24497
|
+
R9(e <= go(gx));
|
|
24501
24498
|
let a = 1 - t;
|
|
24502
|
-
a = bo(
|
|
24499
|
+
a = bo(u8, c8, a), e = bo(l8, gx, ks(e)), a < 1 ? (i = (p) => {
|
|
24503
24500
|
const m = p * a, v = m * e, x = m - n, k = ly(p, a), E = Math.exp(-v);
|
|
24504
24501
|
return og - x / k * E;
|
|
24505
24502
|
}, s = (p) => {
|
|
@@ -24512,7 +24509,7 @@ function c8({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1
|
|
|
24512
24509
|
const m = Math.exp(-p * e), v = (n - p) * (e * e);
|
|
24513
24510
|
return m * v;
|
|
24514
24511
|
});
|
|
24515
|
-
const c = 5 / e, d =
|
|
24512
|
+
const c = 5 / e, d = h8(i, s, c);
|
|
24516
24513
|
if (e = go(e), isNaN(d))
|
|
24517
24514
|
return {
|
|
24518
24515
|
stiffness: 100,
|
|
@@ -24528,21 +24525,21 @@ function c8({ duration: e = 800, bounce: t = 0.25, velocity: n = 0, mass: r = 1
|
|
|
24528
24525
|
};
|
|
24529
24526
|
}
|
|
24530
24527
|
}
|
|
24531
|
-
const
|
|
24532
|
-
function
|
|
24528
|
+
const d8 = 12;
|
|
24529
|
+
function h8(e, t, n) {
|
|
24533
24530
|
let r = n;
|
|
24534
|
-
for (let i = 1; i <
|
|
24531
|
+
for (let i = 1; i < d8; i++)
|
|
24535
24532
|
r = r - e(r) / t(r);
|
|
24536
24533
|
return r;
|
|
24537
24534
|
}
|
|
24538
24535
|
function ly(e, t) {
|
|
24539
24536
|
return e * Math.sqrt(1 - t * t);
|
|
24540
24537
|
}
|
|
24541
|
-
const
|
|
24538
|
+
const p8 = ["duration", "bounce"], m8 = ["stiffness", "damping", "mass"];
|
|
24542
24539
|
function yx(e, t) {
|
|
24543
24540
|
return t.some((n) => e[n] !== void 0);
|
|
24544
24541
|
}
|
|
24545
|
-
function
|
|
24542
|
+
function g8(e) {
|
|
24546
24543
|
let t = {
|
|
24547
24544
|
velocity: 0,
|
|
24548
24545
|
stiffness: 100,
|
|
@@ -24551,8 +24548,8 @@ function m8(e) {
|
|
|
24551
24548
|
isResolvedFromDuration: !1,
|
|
24552
24549
|
...e
|
|
24553
24550
|
};
|
|
24554
|
-
if (!yx(e,
|
|
24555
|
-
const n =
|
|
24551
|
+
if (!yx(e, m8) && yx(e, p8)) {
|
|
24552
|
+
const n = f8(e);
|
|
24556
24553
|
t = {
|
|
24557
24554
|
...t,
|
|
24558
24555
|
...n,
|
|
@@ -24562,7 +24559,7 @@ function m8(e) {
|
|
|
24562
24559
|
return t;
|
|
24563
24560
|
}
|
|
24564
24561
|
function IE({ keyframes: e, restDelta: t, restSpeed: n, ...r }) {
|
|
24565
|
-
const i = e[0], s = e[e.length - 1], a = { done: !1, value: i }, { stiffness: c, damping: d, mass: p, duration: m, velocity: v, isResolvedFromDuration: x } =
|
|
24562
|
+
const i = e[0], s = e[e.length - 1], a = { done: !1, value: i }, { stiffness: c, damping: d, mass: p, duration: m, velocity: v, isResolvedFromDuration: x } = g8({
|
|
24566
24563
|
...r,
|
|
24567
24564
|
velocity: -ks(r.velocity || 0)
|
|
24568
24565
|
}), k = v || 0, E = d / (2 * Math.sqrt(c * p)), T = s - i, M = ks(Math.sqrt(c / p)), P = Math.abs(T) < 5;
|
|
@@ -24630,7 +24627,7 @@ function vx({ keyframes: e, velocity: t = 0, power: n = 0.8, timeConstant: r = 3
|
|
|
24630
24627
|
}
|
|
24631
24628
|
};
|
|
24632
24629
|
}
|
|
24633
|
-
const
|
|
24630
|
+
const y8 = (e) => {
|
|
24634
24631
|
const t = ({ timestamp: n }) => e(n);
|
|
24635
24632
|
return {
|
|
24636
24633
|
start: () => At.update(t, !0),
|
|
@@ -24650,14 +24647,14 @@ function wx(e) {
|
|
|
24650
24647
|
t += n, r = e.next(t);
|
|
24651
24648
|
return t >= bx ? 1 / 0 : t;
|
|
24652
24649
|
}
|
|
24653
|
-
const
|
|
24650
|
+
const v8 = {
|
|
24654
24651
|
decay: vx,
|
|
24655
24652
|
inertia: vx,
|
|
24656
24653
|
tween: Rd,
|
|
24657
24654
|
keyframes: Rd,
|
|
24658
24655
|
spring: IE
|
|
24659
24656
|
};
|
|
24660
|
-
function Md({ autoplay: e = !0, delay: t = 0, driver: n =
|
|
24657
|
+
function Md({ autoplay: e = !0, delay: t = 0, driver: n = y8, keyframes: r, type: i = "keyframes", repeat: s = 0, repeatDelay: a = 0, repeatType: c = "loop", onPlay: d, onStop: p, onComplete: m, onUpdate: v, ...x }) {
|
|
24661
24658
|
let k = 1, E = !1, T, M;
|
|
24662
24659
|
const P = () => {
|
|
24663
24660
|
M = new Promise(($e) => {
|
|
@@ -24666,7 +24663,7 @@ function Md({ autoplay: e = !0, delay: t = 0, driver: n = g8, keyframes: r, type
|
|
|
24666
24663
|
};
|
|
24667
24664
|
P();
|
|
24668
24665
|
let B;
|
|
24669
|
-
const F =
|
|
24666
|
+
const F = v8[i] || Rd;
|
|
24670
24667
|
let q;
|
|
24671
24668
|
F !== Rd && typeof r[0] != "number" && (q = OE([0, 100], r, {
|
|
24672
24669
|
clamp: !1
|
|
@@ -24756,19 +24753,19 @@ function Md({ autoplay: e = !0, delay: t = 0, driver: n = g8, keyframes: r, type
|
|
|
24756
24753
|
};
|
|
24757
24754
|
return lt;
|
|
24758
24755
|
}
|
|
24759
|
-
function
|
|
24756
|
+
function b8(e) {
|
|
24760
24757
|
let t;
|
|
24761
24758
|
return () => (t === void 0 && (t = e()), t);
|
|
24762
24759
|
}
|
|
24763
|
-
const
|
|
24760
|
+
const w8 = b8(() => Object.hasOwnProperty.call(Element.prototype, "animate")), x8 = /* @__PURE__ */ new Set([
|
|
24764
24761
|
"opacity",
|
|
24765
24762
|
"clipPath",
|
|
24766
24763
|
"filter",
|
|
24767
24764
|
"transform",
|
|
24768
24765
|
"backgroundColor"
|
|
24769
|
-
]), kf = 10,
|
|
24770
|
-
function
|
|
24771
|
-
if (!(
|
|
24766
|
+
]), kf = 10, S8 = 2e4, _8 = (e, t) => t.type === "spring" || e === "backgroundColor" || !fE(t.ease);
|
|
24767
|
+
function C8(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
24768
|
+
if (!(w8() && x8.has(t) && !i.repeatDelay && i.repeatType !== "mirror" && i.damping !== 0 && i.type !== "inertia"))
|
|
24772
24769
|
return !1;
|
|
24773
24770
|
let a = !1, c, d, p = !1;
|
|
24774
24771
|
const m = () => {
|
|
@@ -24778,7 +24775,7 @@ function _8(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
|
24778
24775
|
};
|
|
24779
24776
|
m();
|
|
24780
24777
|
let { keyframes: v, duration: x = 300, ease: k, times: E } = i;
|
|
24781
|
-
if (
|
|
24778
|
+
if (_8(t, i)) {
|
|
24782
24779
|
const F = Md({
|
|
24783
24780
|
...i,
|
|
24784
24781
|
repeat: 0,
|
|
@@ -24787,11 +24784,11 @@ function _8(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
|
24787
24784
|
let q = { done: !1, value: v[0] };
|
|
24788
24785
|
const G = [];
|
|
24789
24786
|
let K = 0;
|
|
24790
|
-
for (; !q.done && K <
|
|
24787
|
+
for (; !q.done && K < S8; )
|
|
24791
24788
|
q = F.sample(K), G.push(q.value), K += kf;
|
|
24792
24789
|
E = void 0, v = G, x = K - kf, k = "linear";
|
|
24793
24790
|
}
|
|
24794
|
-
const T =
|
|
24791
|
+
const T = I9(e.owner.current, t, v, {
|
|
24795
24792
|
...i,
|
|
24796
24793
|
duration: x,
|
|
24797
24794
|
/**
|
|
@@ -24810,7 +24807,7 @@ function _8(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
|
24810
24807
|
p = !0, At.update(M), c(), m();
|
|
24811
24808
|
};
|
|
24812
24809
|
return T.onfinish = () => {
|
|
24813
|
-
p || (e.set(
|
|
24810
|
+
p || (e.set(N9(v, i)), r && r(), P());
|
|
24814
24811
|
}, {
|
|
24815
24812
|
then(F, q) {
|
|
24816
24813
|
return d.then(F, q);
|
|
@@ -24856,7 +24853,7 @@ function _8(e, t, { onUpdate: n, onComplete: r, ...i }) {
|
|
|
24856
24853
|
cancel: P
|
|
24857
24854
|
};
|
|
24858
24855
|
}
|
|
24859
|
-
function
|
|
24856
|
+
function k8({ keyframes: e, delay: t, onUpdate: n, onComplete: r }) {
|
|
24860
24857
|
const i = () => (n && n(e[e.length - 1]), r && r(), {
|
|
24861
24858
|
time: 0,
|
|
24862
24859
|
speed: 1,
|
|
@@ -24875,27 +24872,27 @@ function C8({ keyframes: e, delay: t, onUpdate: n, onComplete: r }) {
|
|
|
24875
24872
|
onComplete: i
|
|
24876
24873
|
}) : i();
|
|
24877
24874
|
}
|
|
24878
|
-
const
|
|
24875
|
+
const T8 = {
|
|
24879
24876
|
type: "spring",
|
|
24880
24877
|
stiffness: 500,
|
|
24881
24878
|
damping: 25,
|
|
24882
24879
|
restSpeed: 10
|
|
24883
|
-
},
|
|
24880
|
+
}, E8 = (e) => ({
|
|
24884
24881
|
type: "spring",
|
|
24885
24882
|
stiffness: 550,
|
|
24886
24883
|
damping: e === 0 ? 2 * Math.sqrt(550) : 30,
|
|
24887
24884
|
restSpeed: 10
|
|
24888
|
-
}),
|
|
24885
|
+
}), D8 = {
|
|
24889
24886
|
type: "keyframes",
|
|
24890
24887
|
duration: 0.8
|
|
24891
|
-
},
|
|
24888
|
+
}, A8 = {
|
|
24892
24889
|
type: "keyframes",
|
|
24893
24890
|
ease: [0.25, 0.1, 0.35, 1],
|
|
24894
24891
|
duration: 0.3
|
|
24895
|
-
},
|
|
24892
|
+
}, P8 = (e, { keyframes: t }) => t.length > 2 ? D8 : ca.has(e) ? e.startsWith("scale") ? E8(t[1]) : T8 : A8, uy = (e, t) => e === "zIndex" ? !1 : !!(typeof t == "number" || Array.isArray(t) || typeof t == "string" && // It's animatable if we have a string
|
|
24896
24893
|
(wo.test(t) || t === "0") && // And it contains numbers and/or colors
|
|
24897
|
-
!t.startsWith("url(")),
|
|
24898
|
-
function
|
|
24894
|
+
!t.startsWith("url(")), O8 = /* @__PURE__ */ new Set(["brightness", "contrast", "saturate", "opacity"]);
|
|
24895
|
+
function R8(e) {
|
|
24899
24896
|
const [t, n] = e.slice(0, -1).split("(");
|
|
24900
24897
|
if (t === "drop-shadow")
|
|
24901
24898
|
return e;
|
|
@@ -24903,16 +24900,16 @@ function O8(e) {
|
|
|
24903
24900
|
if (!r)
|
|
24904
24901
|
return e;
|
|
24905
24902
|
const i = n.replace(r, "");
|
|
24906
|
-
let s =
|
|
24903
|
+
let s = O8.has(t) ? 1 : 0;
|
|
24907
24904
|
return r !== n && (s *= 100), t + "(" + s + i + ")";
|
|
24908
24905
|
}
|
|
24909
|
-
const
|
|
24906
|
+
const M8 = /([a-z-]*)\(.*?\)/g, cy = {
|
|
24910
24907
|
...wo,
|
|
24911
24908
|
getAnimatableNone: (e) => {
|
|
24912
|
-
const t = e.match(
|
|
24913
|
-
return t ? t.map(
|
|
24909
|
+
const t = e.match(M8);
|
|
24910
|
+
return t ? t.map(R8).join(" ") : e;
|
|
24914
24911
|
}
|
|
24915
|
-
},
|
|
24912
|
+
}, I8 = {
|
|
24916
24913
|
...KT,
|
|
24917
24914
|
// Color props
|
|
24918
24915
|
color: Un,
|
|
@@ -24928,19 +24925,19 @@ const R8 = /([a-z-]*)\(.*?\)/g, cy = {
|
|
|
24928
24925
|
borderLeftColor: Un,
|
|
24929
24926
|
filter: cy,
|
|
24930
24927
|
WebkitFilter: cy
|
|
24931
|
-
}, cv = (e) =>
|
|
24928
|
+
}, cv = (e) => I8[e];
|
|
24932
24929
|
function NE(e, t) {
|
|
24933
24930
|
let n = cv(e);
|
|
24934
24931
|
return n !== cy && (n = wo), n.getAnimatableNone ? n.getAnimatableNone(t) : void 0;
|
|
24935
24932
|
}
|
|
24936
24933
|
const FE = (e) => /^0[^.\s]+$/.test(e);
|
|
24937
|
-
function
|
|
24934
|
+
function N8(e) {
|
|
24938
24935
|
if (typeof e == "number")
|
|
24939
24936
|
return e === 0;
|
|
24940
24937
|
if (e !== null)
|
|
24941
24938
|
return e === "none" || e === "0" || FE(e);
|
|
24942
24939
|
}
|
|
24943
|
-
function
|
|
24940
|
+
function F8(e, t, n, r) {
|
|
24944
24941
|
const i = uy(t, n);
|
|
24945
24942
|
let s;
|
|
24946
24943
|
Array.isArray(n) ? s = [...n] : s = [null, n];
|
|
@@ -24948,7 +24945,7 @@ function N8(e, t, n, r) {
|
|
|
24948
24945
|
let c;
|
|
24949
24946
|
const d = [];
|
|
24950
24947
|
for (let p = 0; p < s.length; p++)
|
|
24951
|
-
s[p] === null && (s[p] = p === 0 ? a : s[p - 1]),
|
|
24948
|
+
s[p] === null && (s[p] = p === 0 ? a : s[p - 1]), N8(s[p]) && d.push(p), typeof s[p] == "string" && s[p] !== "none" && s[p] !== "0" && (c = s[p]);
|
|
24952
24949
|
if (i && d.length && c)
|
|
24953
24950
|
for (let p = 0; p < d.length; p++) {
|
|
24954
24951
|
const m = d[p];
|
|
@@ -24956,19 +24953,19 @@ function N8(e, t, n, r) {
|
|
|
24956
24953
|
}
|
|
24957
24954
|
return s;
|
|
24958
24955
|
}
|
|
24959
|
-
function
|
|
24956
|
+
function L8({ when: e, delay: t, delayChildren: n, staggerChildren: r, staggerDirection: i, repeat: s, repeatType: a, repeatDelay: c, from: d, elapsed: p, ...m }) {
|
|
24960
24957
|
return !!Object.keys(m).length;
|
|
24961
24958
|
}
|
|
24962
24959
|
function fv(e, t) {
|
|
24963
24960
|
return e[t] || e.default || e;
|
|
24964
24961
|
}
|
|
24965
|
-
const
|
|
24962
|
+
const $8 = {
|
|
24966
24963
|
skipAnimations: !1
|
|
24967
24964
|
}, dv = (e, t, n, r = {}) => (i) => {
|
|
24968
24965
|
const s = fv(r, e) || {}, a = s.delay || r.delay || 0;
|
|
24969
24966
|
let { elapsed: c = 0 } = r;
|
|
24970
24967
|
c = c - go(a);
|
|
24971
|
-
const d =
|
|
24968
|
+
const d = F8(t, e, n, s), p = d[0], m = d[d.length - 1], v = uy(e, p), x = uy(e, m);
|
|
24972
24969
|
let k = {
|
|
24973
24970
|
keyframes: d,
|
|
24974
24971
|
velocity: t.getVelocity(),
|
|
@@ -24982,11 +24979,11 @@ const L8 = {
|
|
|
24982
24979
|
i(), s.onComplete && s.onComplete();
|
|
24983
24980
|
}
|
|
24984
24981
|
};
|
|
24985
|
-
if (
|
|
24982
|
+
if (L8(s) || (k = {
|
|
24986
24983
|
...k,
|
|
24987
|
-
...
|
|
24988
|
-
}), k.duration && (k.duration = go(k.duration)), k.repeatDelay && (k.repeatDelay = go(k.repeatDelay)), !v || !x ||
|
|
24989
|
-
return
|
|
24984
|
+
...P8(e, k)
|
|
24985
|
+
}), k.duration && (k.duration = go(k.duration)), k.repeatDelay && (k.repeatDelay = go(k.repeatDelay)), !v || !x || M9.current || s.type === !1 || $8.skipAnimations)
|
|
24986
|
+
return k8(k);
|
|
24990
24987
|
if (
|
|
24991
24988
|
/**
|
|
24992
24989
|
* If this is a handoff animation, the optimised animation will be running via
|
|
@@ -24999,7 +24996,7 @@ const L8 = {
|
|
|
24999
24996
|
*/
|
|
25000
24997
|
!t.owner.getProps().onUpdate
|
|
25001
24998
|
) {
|
|
25002
|
-
const E =
|
|
24999
|
+
const E = C8(t, e, k);
|
|
25003
25000
|
if (E)
|
|
25004
25001
|
return E;
|
|
25005
25002
|
}
|
|
@@ -25041,8 +25038,8 @@ class mv {
|
|
|
25041
25038
|
this.subscriptions.length = 0;
|
|
25042
25039
|
}
|
|
25043
25040
|
}
|
|
25044
|
-
const
|
|
25045
|
-
class
|
|
25041
|
+
const j8 = (e) => !isNaN(parseFloat(e));
|
|
25042
|
+
class B8 {
|
|
25046
25043
|
/**
|
|
25047
25044
|
* @param init - The initiating value
|
|
25048
25045
|
* @param config - Optional configuration options
|
|
@@ -25058,7 +25055,7 @@ class j8 {
|
|
|
25058
25055
|
this.lastUpdated !== a && (this.timeDelta = s, this.lastUpdated = a, At.postRender(this.scheduleVelocityCheck)), this.prev !== this.current && this.events.change && this.events.change.notify(this.current), this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()), i && this.events.renderRequest && this.events.renderRequest.notify(this.current);
|
|
25059
25056
|
}, this.scheduleVelocityCheck = () => At.postRender(this.velocityCheck), this.velocityCheck = ({ timestamp: r }) => {
|
|
25060
25057
|
r !== this.lastUpdated && (this.prev = this.current, this.events.velocityChange && this.events.velocityChange.notify(this.getVelocity()));
|
|
25061
|
-
}, this.hasAnimated = !1, this.prev = this.current = t, this.canTrackVelocity =
|
|
25058
|
+
}, this.hasAnimated = !1, this.prev = this.current = t, this.canTrackVelocity = j8(this.current), this.owner = n.owner;
|
|
25062
25059
|
}
|
|
25063
25060
|
/**
|
|
25064
25061
|
* Adds a function that will be notified when the `MotionValue` is updated.
|
|
@@ -25233,41 +25230,41 @@ class j8 {
|
|
|
25233
25230
|
}
|
|
25234
25231
|
}
|
|
25235
25232
|
function el(e, t) {
|
|
25236
|
-
return new
|
|
25233
|
+
return new B8(e, t);
|
|
25237
25234
|
}
|
|
25238
|
-
const $E = (e) => (t) => t.test(e),
|
|
25235
|
+
const $E = (e) => (t) => t.test(e), W8 = {
|
|
25239
25236
|
test: (e) => e === "auto",
|
|
25240
25237
|
parse: (e) => e
|
|
25241
|
-
}, jE = [fa, Le, Yi, eo,
|
|
25242
|
-
function
|
|
25238
|
+
}, jE = [fa, Le, Yi, eo, qY, YY, W8], ru = (e) => jE.find($E(e)), V8 = [...jE, Un, wo], U8 = (e) => V8.find($E(e));
|
|
25239
|
+
function H8(e, t, n) {
|
|
25243
25240
|
e.hasValue(t) ? e.getValue(t).set(n) : e.addValue(t, el(n));
|
|
25244
25241
|
}
|
|
25245
|
-
function
|
|
25242
|
+
function z8(e, t) {
|
|
25246
25243
|
const n = sp(e, t);
|
|
25247
25244
|
let { transitionEnd: r = {}, transition: i = {}, ...s } = n ? e.makeTargetAnimatable(n, !1) : {};
|
|
25248
25245
|
s = { ...s, ...r };
|
|
25249
25246
|
for (const a in s) {
|
|
25250
|
-
const c =
|
|
25251
|
-
|
|
25247
|
+
const c = l9(s[a]);
|
|
25248
|
+
H8(e, a, c);
|
|
25252
25249
|
}
|
|
25253
25250
|
}
|
|
25254
|
-
function
|
|
25251
|
+
function Y8(e, t, n) {
|
|
25255
25252
|
var r, i;
|
|
25256
25253
|
const s = Object.keys(t).filter((c) => !e.hasValue(c)), a = s.length;
|
|
25257
25254
|
if (a)
|
|
25258
25255
|
for (let c = 0; c < a; c++) {
|
|
25259
25256
|
const d = s[c], p = t[d];
|
|
25260
25257
|
let m = null;
|
|
25261
|
-
Array.isArray(p) && (m = p[0]), m === null && (m = (i = (r = n[d]) !== null && r !== void 0 ? r : e.readValue(d)) !== null && i !== void 0 ? i : t[d]), m != null && (typeof m == "string" && (LE(m) || FE(m)) ? m = parseFloat(m) : !
|
|
25258
|
+
Array.isArray(p) && (m = p[0]), m === null && (m = (i = (r = n[d]) !== null && r !== void 0 ? r : e.readValue(d)) !== null && i !== void 0 ? i : t[d]), m != null && (typeof m == "string" && (LE(m) || FE(m)) ? m = parseFloat(m) : !U8(m) && wo.test(p) && (m = NE(d, p)), e.addValue(d, el(m, { owner: e })), n[d] === void 0 && (n[d] = m), m !== null && e.setBaseTarget(d, m));
|
|
25262
25259
|
}
|
|
25263
25260
|
}
|
|
25264
|
-
function
|
|
25261
|
+
function q8(e, t) {
|
|
25265
25262
|
return t ? (t[e] || t.default || t).from : void 0;
|
|
25266
25263
|
}
|
|
25267
|
-
function
|
|
25264
|
+
function G8(e, t, n) {
|
|
25268
25265
|
const r = {};
|
|
25269
25266
|
for (const i in e) {
|
|
25270
|
-
const s =
|
|
25267
|
+
const s = q8(i, t);
|
|
25271
25268
|
if (s !== void 0)
|
|
25272
25269
|
r[i] = s;
|
|
25273
25270
|
else {
|
|
@@ -25277,11 +25274,11 @@ function q8(e, t, n) {
|
|
|
25277
25274
|
}
|
|
25278
25275
|
return r;
|
|
25279
25276
|
}
|
|
25280
|
-
function
|
|
25277
|
+
function K8({ protectedKeys: e, needsAnimating: t }, n) {
|
|
25281
25278
|
const r = e.hasOwnProperty(n) && t[n] !== !0;
|
|
25282
25279
|
return t[n] = !1, r;
|
|
25283
25280
|
}
|
|
25284
|
-
function
|
|
25281
|
+
function Q8(e, t) {
|
|
25285
25282
|
const n = e.get();
|
|
25286
25283
|
if (Array.isArray(t)) {
|
|
25287
25284
|
for (let r = 0; r < t.length; r++)
|
|
@@ -25297,7 +25294,7 @@ function BE(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
|
25297
25294
|
const p = [], m = i && e.animationState && e.animationState.getState()[i];
|
|
25298
25295
|
for (const v in c) {
|
|
25299
25296
|
const x = e.getValue(v), k = c[v];
|
|
25300
|
-
if (!x || k === void 0 || m &&
|
|
25297
|
+
if (!x || k === void 0 || m && K8(m, v))
|
|
25301
25298
|
continue;
|
|
25302
25299
|
const E = {
|
|
25303
25300
|
delay: n,
|
|
@@ -25311,7 +25308,7 @@ function BE(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
|
25311
25308
|
B !== null && (E.elapsed = B, E.isHandoff = !0);
|
|
25312
25309
|
}
|
|
25313
25310
|
}
|
|
25314
|
-
let T = !E.isHandoff && !
|
|
25311
|
+
let T = !E.isHandoff && !Q8(x, k);
|
|
25315
25312
|
if (E.type === "spring" && (x.getVelocity() || E.velocity) && (T = !1), x.animation && (T = !1), T)
|
|
25316
25313
|
continue;
|
|
25317
25314
|
x.start(dv(v, x, k, e.shouldReduceMotion && ca.has(v) ? { type: !1 } : E));
|
|
@@ -25319,7 +25316,7 @@ function BE(e, t, { delay: n = 0, transitionOverride: r, type: i } = {}) {
|
|
|
25319
25316
|
Id(d) && (d.add(v), M.then(() => d.remove(v))), p.push(M);
|
|
25320
25317
|
}
|
|
25321
25318
|
return a && Promise.all(p).then(() => {
|
|
25322
|
-
a &&
|
|
25319
|
+
a && z8(e, a);
|
|
25323
25320
|
}), p;
|
|
25324
25321
|
}
|
|
25325
25322
|
function fy(e, t, n = {}) {
|
|
@@ -25328,7 +25325,7 @@ function fy(e, t, n = {}) {
|
|
|
25328
25325
|
n.transitionOverride && (i = n.transitionOverride);
|
|
25329
25326
|
const s = r ? () => Promise.all(BE(e, r, n)) : () => Promise.resolve(), a = e.variantChildren && e.variantChildren.size ? (d = 0) => {
|
|
25330
25327
|
const { delayChildren: p = 0, staggerChildren: m, staggerDirection: v } = i;
|
|
25331
|
-
return
|
|
25328
|
+
return X8(e, t, p + d, m, v, n);
|
|
25332
25329
|
} : () => Promise.resolve(), { when: c } = i;
|
|
25333
25330
|
if (c) {
|
|
25334
25331
|
const [d, p] = c === "beforeChildren" ? [s, a] : [a, s];
|
|
@@ -25336,19 +25333,19 @@ function fy(e, t, n = {}) {
|
|
|
25336
25333
|
} else
|
|
25337
25334
|
return Promise.all([s(), a(n.delay)]);
|
|
25338
25335
|
}
|
|
25339
|
-
function
|
|
25336
|
+
function X8(e, t, n = 0, r = 0, i = 1, s) {
|
|
25340
25337
|
const a = [], c = (e.variantChildren.size - 1) * r, d = i === 1 ? (p = 0) => p * r : (p = 0) => c - p * r;
|
|
25341
|
-
return Array.from(e.variantChildren).sort(
|
|
25338
|
+
return Array.from(e.variantChildren).sort(Z8).forEach((p, m) => {
|
|
25342
25339
|
p.notify("AnimationStart", t), a.push(fy(p, t, {
|
|
25343
25340
|
...s,
|
|
25344
25341
|
delay: n + d(m)
|
|
25345
25342
|
}).then(() => p.notify("AnimationComplete", t)));
|
|
25346
25343
|
}), Promise.all(a);
|
|
25347
25344
|
}
|
|
25348
|
-
function
|
|
25345
|
+
function Z8(e, t) {
|
|
25349
25346
|
return e.sortNodePosition(t);
|
|
25350
25347
|
}
|
|
25351
|
-
function
|
|
25348
|
+
function J8(e, t, n = {}) {
|
|
25352
25349
|
e.notify("AnimationStart", t);
|
|
25353
25350
|
let r;
|
|
25354
25351
|
if (Array.isArray(t)) {
|
|
@@ -25362,13 +25359,13 @@ function Z8(e, t, n = {}) {
|
|
|
25362
25359
|
}
|
|
25363
25360
|
return r.then(() => e.notify("AnimationComplete", t));
|
|
25364
25361
|
}
|
|
25365
|
-
const
|
|
25366
|
-
function tq(e) {
|
|
25367
|
-
return (t) => Promise.all(t.map(({ animation: n, options: r }) => Z8(e, n, r)));
|
|
25368
|
-
}
|
|
25362
|
+
const eq = [...X0].reverse(), tq = X0.length;
|
|
25369
25363
|
function nq(e) {
|
|
25370
|
-
|
|
25371
|
-
|
|
25364
|
+
return (t) => Promise.all(t.map(({ animation: n, options: r }) => J8(e, n, r)));
|
|
25365
|
+
}
|
|
25366
|
+
function rq(e) {
|
|
25367
|
+
let t = nq(e);
|
|
25368
|
+
const n = sq();
|
|
25372
25369
|
let r = !0;
|
|
25373
25370
|
const i = (d, p) => {
|
|
25374
25371
|
const m = sp(e, p);
|
|
@@ -25384,8 +25381,8 @@ function nq(e) {
|
|
|
25384
25381
|
function a(d, p) {
|
|
25385
25382
|
const m = e.getProps(), v = e.getVariantContext(!0) || {}, x = [], k = /* @__PURE__ */ new Set();
|
|
25386
25383
|
let E = {}, T = 1 / 0;
|
|
25387
|
-
for (let P = 0; P <
|
|
25388
|
-
const B =
|
|
25384
|
+
for (let P = 0; P < tq; P++) {
|
|
25385
|
+
const B = eq[P], F = n[B], q = m[B] !== void 0 ? m[B] : v[B], G = Iu(q), K = B === p ? F.isActive : null;
|
|
25389
25386
|
K === !1 && (T = P);
|
|
25390
25387
|
let g = q === v[B] && q !== m[B] && G;
|
|
25391
25388
|
if (g && r && e.manuallyAnimateOnMount && (g = !1), F.protectedKeys = { ...E }, // If it isn't active and hasn't *just* been set as inactive
|
|
@@ -25393,7 +25390,7 @@ function nq(e) {
|
|
|
25393
25390
|
!q && !F.prevProp || // Or if the prop doesn't define an animation
|
|
25394
25391
|
tp(q) || typeof q == "boolean")
|
|
25395
25392
|
continue;
|
|
25396
|
-
let re =
|
|
25393
|
+
let re = iq(F.prevProp, q) || // If we're making this variant active, we want to always make it active
|
|
25397
25394
|
B === p && F.isActive && !g && G || // If we removed a higher-priority variant (i is in reverse order)
|
|
25398
25395
|
P > T && G, we = !1;
|
|
25399
25396
|
const De = Array.isArray(q) ? q : [q];
|
|
@@ -25447,7 +25444,7 @@ function nq(e) {
|
|
|
25447
25444
|
getState: () => n
|
|
25448
25445
|
};
|
|
25449
25446
|
}
|
|
25450
|
-
function
|
|
25447
|
+
function iq(e, t) {
|
|
25451
25448
|
return typeof t == "string" ? t !== e : Array.isArray(t) ? !uE(t, e) : !1;
|
|
25452
25449
|
}
|
|
25453
25450
|
function jo(e = !1) {
|
|
@@ -25458,7 +25455,7 @@ function jo(e = !1) {
|
|
|
25458
25455
|
prevResolvedValues: {}
|
|
25459
25456
|
};
|
|
25460
25457
|
}
|
|
25461
|
-
function
|
|
25458
|
+
function sq() {
|
|
25462
25459
|
return {
|
|
25463
25460
|
animate: jo(!0),
|
|
25464
25461
|
whileInView: jo(),
|
|
@@ -25469,14 +25466,14 @@ function iq() {
|
|
|
25469
25466
|
exit: jo()
|
|
25470
25467
|
};
|
|
25471
25468
|
}
|
|
25472
|
-
class
|
|
25469
|
+
class oq extends xo {
|
|
25473
25470
|
/**
|
|
25474
25471
|
* We dynamically generate the AnimationState manager as it contains a reference
|
|
25475
25472
|
* to the underlying animation library. We only want to load that if we load this,
|
|
25476
25473
|
* so people can optionally code split it out using the `m` component.
|
|
25477
25474
|
*/
|
|
25478
25475
|
constructor(t) {
|
|
25479
|
-
super(t), t.animationState || (t.animationState =
|
|
25476
|
+
super(t), t.animationState || (t.animationState = rq(t));
|
|
25480
25477
|
}
|
|
25481
25478
|
updateAnimationControlsSubscription() {
|
|
25482
25479
|
const { animate: t } = this.node.getProps();
|
|
@@ -25495,10 +25492,10 @@ class sq extends xo {
|
|
|
25495
25492
|
unmount() {
|
|
25496
25493
|
}
|
|
25497
25494
|
}
|
|
25498
|
-
let
|
|
25499
|
-
class
|
|
25495
|
+
let aq = 0;
|
|
25496
|
+
class lq extends xo {
|
|
25500
25497
|
constructor() {
|
|
25501
|
-
super(...arguments), this.id =
|
|
25498
|
+
super(...arguments), this.id = aq++;
|
|
25502
25499
|
}
|
|
25503
25500
|
update() {
|
|
25504
25501
|
if (!this.node.presenceContext)
|
|
@@ -25516,15 +25513,15 @@ class aq extends xo {
|
|
|
25516
25513
|
unmount() {
|
|
25517
25514
|
}
|
|
25518
25515
|
}
|
|
25519
|
-
const
|
|
25516
|
+
const uq = {
|
|
25520
25517
|
animation: {
|
|
25521
|
-
Feature:
|
|
25518
|
+
Feature: oq
|
|
25522
25519
|
},
|
|
25523
25520
|
exit: {
|
|
25524
|
-
Feature:
|
|
25521
|
+
Feature: lq
|
|
25525
25522
|
}
|
|
25526
25523
|
}, xx = (e, t) => Math.abs(e - t);
|
|
25527
|
-
function
|
|
25524
|
+
function cq(e, t) {
|
|
25528
25525
|
const n = xx(e.x, t.x), r = xx(e.y, t.y);
|
|
25529
25526
|
return Math.sqrt(n ** 2 + r ** 2);
|
|
25530
25527
|
}
|
|
@@ -25533,7 +25530,7 @@ class WE {
|
|
|
25533
25530
|
if (this.startEvent = null, this.lastMoveEvent = null, this.lastMoveEventInfo = null, this.handlers = {}, this.contextWindow = window, this.updatePoint = () => {
|
|
25534
25531
|
if (!(this.lastMoveEvent && this.lastMoveEventInfo))
|
|
25535
25532
|
return;
|
|
25536
|
-
const v = lg(this.lastMoveEventInfo, this.history), x = this.startEvent !== null, k =
|
|
25533
|
+
const v = lg(this.lastMoveEventInfo, this.history), x = this.startEvent !== null, k = cq(v.offset, { x: 0, y: 0 }) >= 3;
|
|
25537
25534
|
if (!x && !k)
|
|
25538
25535
|
return;
|
|
25539
25536
|
const { point: E } = v, { timestamp: T } = Rn;
|
|
@@ -25574,17 +25571,17 @@ function lg({ point: e }, t) {
|
|
|
25574
25571
|
return {
|
|
25575
25572
|
point: e,
|
|
25576
25573
|
delta: Sx(e, VE(t)),
|
|
25577
|
-
offset: Sx(e,
|
|
25578
|
-
velocity:
|
|
25574
|
+
offset: Sx(e, fq(t)),
|
|
25575
|
+
velocity: dq(t, 0.1)
|
|
25579
25576
|
};
|
|
25580
25577
|
}
|
|
25581
|
-
function
|
|
25578
|
+
function fq(e) {
|
|
25582
25579
|
return e[0];
|
|
25583
25580
|
}
|
|
25584
25581
|
function VE(e) {
|
|
25585
25582
|
return e[e.length - 1];
|
|
25586
25583
|
}
|
|
25587
|
-
function
|
|
25584
|
+
function dq(e, t) {
|
|
25588
25585
|
if (e.length < 2)
|
|
25589
25586
|
return { x: 0, y: 0 };
|
|
25590
25587
|
let n = e.length - 1, r = null;
|
|
@@ -25617,7 +25614,7 @@ function yu(e, t, n, r) {
|
|
|
25617
25614
|
function Cx(e, t, n) {
|
|
25618
25615
|
e.min = n.min + t.min, e.max = e.min + Pr(t);
|
|
25619
25616
|
}
|
|
25620
|
-
function
|
|
25617
|
+
function hq(e, t, n) {
|
|
25621
25618
|
Cx(e.x, t.x, n.x), Cx(e.y, t.y, n.y);
|
|
25622
25619
|
}
|
|
25623
25620
|
function kx(e, t, n) {
|
|
@@ -25626,7 +25623,7 @@ function kx(e, t, n) {
|
|
|
25626
25623
|
function vu(e, t, n) {
|
|
25627
25624
|
kx(e.x, t.x, n.x), kx(e.y, t.y, n.y);
|
|
25628
25625
|
}
|
|
25629
|
-
function
|
|
25626
|
+
function pq(e, { min: t, max: n }, r) {
|
|
25630
25627
|
return t !== void 0 && e < t ? e = r ? jt(t, e, r.min) : Math.max(e, t) : n !== void 0 && e > n && (e = r ? jt(n, e, r.max) : Math.min(e, n)), e;
|
|
25631
25628
|
}
|
|
25632
25629
|
function Tx(e, t, n) {
|
|
@@ -25635,7 +25632,7 @@ function Tx(e, t, n) {
|
|
|
25635
25632
|
max: n !== void 0 ? e.max + n - (e.max - e.min) : void 0
|
|
25636
25633
|
};
|
|
25637
25634
|
}
|
|
25638
|
-
function
|
|
25635
|
+
function mq(e, { top: t, left: n, bottom: r, right: i }) {
|
|
25639
25636
|
return {
|
|
25640
25637
|
x: Tx(e.x, n, i),
|
|
25641
25638
|
y: Tx(e.y, t, r)
|
|
@@ -25645,23 +25642,23 @@ function Ex(e, t) {
|
|
|
25645
25642
|
let n = t.min - e.min, r = t.max - e.max;
|
|
25646
25643
|
return t.max - t.min < e.max - e.min && ([n, r] = [r, n]), { min: n, max: r };
|
|
25647
25644
|
}
|
|
25648
|
-
function
|
|
25645
|
+
function gq(e, t) {
|
|
25649
25646
|
return {
|
|
25650
25647
|
x: Ex(e.x, t.x),
|
|
25651
25648
|
y: Ex(e.y, t.y)
|
|
25652
25649
|
};
|
|
25653
25650
|
}
|
|
25654
|
-
function
|
|
25651
|
+
function yq(e, t) {
|
|
25655
25652
|
let n = 0.5;
|
|
25656
25653
|
const r = Pr(e), i = Pr(t);
|
|
25657
25654
|
return i > r ? n = Fu(t.min, t.max - r, e.min) : r > i && (n = Fu(e.min, e.max - i, t.min)), bo(0, 1, n);
|
|
25658
25655
|
}
|
|
25659
|
-
function
|
|
25656
|
+
function vq(e, t) {
|
|
25660
25657
|
const n = {};
|
|
25661
25658
|
return t.min !== void 0 && (n.min = t.min - e.min), t.max !== void 0 && (n.max = t.max - e.min), n;
|
|
25662
25659
|
}
|
|
25663
25660
|
const hy = 0.35;
|
|
25664
|
-
function
|
|
25661
|
+
function bq(e = hy) {
|
|
25665
25662
|
return e === !1 ? e = 0 : e === !0 && (e = hy), {
|
|
25666
25663
|
x: Dx(e, "left", "right"),
|
|
25667
25664
|
y: Dx(e, "top", "bottom")
|
|
@@ -25697,10 +25694,10 @@ function UE({ top: e, left: t, right: n, bottom: r }) {
|
|
|
25697
25694
|
y: { min: e, max: r }
|
|
25698
25695
|
};
|
|
25699
25696
|
}
|
|
25700
|
-
function
|
|
25697
|
+
function wq({ x: e, y: t }) {
|
|
25701
25698
|
return { top: t.min, right: e.max, bottom: t.max, left: e.min };
|
|
25702
25699
|
}
|
|
25703
|
-
function
|
|
25700
|
+
function xq(e, t) {
|
|
25704
25701
|
if (!t)
|
|
25705
25702
|
return e;
|
|
25706
25703
|
const n = t({ x: e.left, y: e.top }), r = t({ x: e.right, y: e.bottom });
|
|
@@ -25739,7 +25736,7 @@ function my(e, t = 0, n = 1, r, i) {
|
|
|
25739
25736
|
function zE(e, { x: t, y: n }) {
|
|
25740
25737
|
my(e.x, t.translate, t.scale, t.originPoint), my(e.y, n.translate, n.scale, n.originPoint);
|
|
25741
25738
|
}
|
|
25742
|
-
function
|
|
25739
|
+
function Sq(e, t, n, r = !1) {
|
|
25743
25740
|
const i = n.length;
|
|
25744
25741
|
if (!i)
|
|
25745
25742
|
return;
|
|
@@ -25765,19 +25762,19 @@ function Nx(e, t, [n, r, i]) {
|
|
|
25765
25762
|
const s = t[i] !== void 0 ? t[i] : 0.5, a = jt(e.min, e.max, s);
|
|
25766
25763
|
my(e, t[n], t[r], a, t.scale);
|
|
25767
25764
|
}
|
|
25768
|
-
const
|
|
25765
|
+
const _q = ["x", "scaleX", "originX"], Cq = ["y", "scaleY", "originY"];
|
|
25769
25766
|
function Ya(e, t) {
|
|
25770
|
-
Nx(e.x, t,
|
|
25767
|
+
Nx(e.x, t, _q), Nx(e.y, t, Cq);
|
|
25771
25768
|
}
|
|
25772
25769
|
function YE(e, t) {
|
|
25773
|
-
return UE(
|
|
25770
|
+
return UE(xq(e.getBoundingClientRect(), t));
|
|
25774
25771
|
}
|
|
25775
|
-
function
|
|
25772
|
+
function kq(e, t, n) {
|
|
25776
25773
|
const r = YE(e, n), { scroll: i } = t;
|
|
25777
25774
|
return i && (io(r.x, i.offset.x), io(r.y, i.offset.y)), r;
|
|
25778
25775
|
}
|
|
25779
|
-
const qE = ({ current: e }) => e ? e.ownerDocument.defaultView : null,
|
|
25780
|
-
class
|
|
25776
|
+
const qE = ({ current: e }) => e ? e.ownerDocument.defaultView : null, Tq = /* @__PURE__ */ new WeakMap();
|
|
25777
|
+
class Eq {
|
|
25781
25778
|
constructor(t) {
|
|
25782
25779
|
this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = nn(), this.visualElement = t;
|
|
25783
25780
|
}
|
|
@@ -25811,7 +25808,7 @@ class Tq {
|
|
|
25811
25808
|
return;
|
|
25812
25809
|
const { offset: M } = v;
|
|
25813
25810
|
if (k && this.currentDirection === null) {
|
|
25814
|
-
this.currentDirection =
|
|
25811
|
+
this.currentDirection = Dq(M), this.currentDirection !== null && E && E(this.currentDirection);
|
|
25815
25812
|
return;
|
|
25816
25813
|
}
|
|
25817
25814
|
this.updateAxis("x", v.point, M), this.updateAxis("y", v.point, M), this.visualElement.render(), T && T(m, v);
|
|
@@ -25853,13 +25850,13 @@ class Tq {
|
|
|
25853
25850
|
return;
|
|
25854
25851
|
const s = this.getAxisMotionValue(t);
|
|
25855
25852
|
let a = this.originPoint[t] + r[t];
|
|
25856
|
-
this.constraints && this.constraints[t] && (a =
|
|
25853
|
+
this.constraints && this.constraints[t] && (a = pq(a, this.constraints[t], this.elastic[t])), s.set(a);
|
|
25857
25854
|
}
|
|
25858
25855
|
resolveConstraints() {
|
|
25859
25856
|
var t;
|
|
25860
25857
|
const { dragConstraints: n, dragElastic: r } = this.getProps(), i = this.visualElement.projection && !this.visualElement.projection.layout ? this.visualElement.projection.measure(!1) : (t = this.visualElement.projection) === null || t === void 0 ? void 0 : t.layout, s = this.constraints;
|
|
25861
|
-
n && Ua(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints =
|
|
25862
|
-
this.getAxisMotionValue(a) && (this.constraints[a] =
|
|
25858
|
+
n && Ua(n) ? this.constraints || (this.constraints = this.resolveRefConstraints()) : n && i ? this.constraints = mq(i.layoutBox, n) : this.constraints = !1, this.elastic = bq(r), s !== this.constraints && i && this.constraints && !this.hasMutatedConstraints && zr((a) => {
|
|
25859
|
+
this.getAxisMotionValue(a) && (this.constraints[a] = vq(i.layoutBox[a], this.constraints[a]));
|
|
25863
25860
|
});
|
|
25864
25861
|
}
|
|
25865
25862
|
resolveRefConstraints() {
|
|
@@ -25869,10 +25866,10 @@ class Tq {
|
|
|
25869
25866
|
const r = t.current, { projection: i } = this.visualElement;
|
|
25870
25867
|
if (!i || !i.layout)
|
|
25871
25868
|
return !1;
|
|
25872
|
-
const s =
|
|
25873
|
-
let a =
|
|
25869
|
+
const s = kq(r, i.root, this.visualElement.getTransformPagePoint());
|
|
25870
|
+
let a = gq(i.layout.layoutBox, s);
|
|
25874
25871
|
if (n) {
|
|
25875
|
-
const c = n(
|
|
25872
|
+
const c = n(wq(a));
|
|
25876
25873
|
this.hasMutatedConstraints = !!c, c && (a = UE(c));
|
|
25877
25874
|
}
|
|
25878
25875
|
return a;
|
|
@@ -25954,7 +25951,7 @@ class Tq {
|
|
|
25954
25951
|
const c = this.getAxisMotionValue(a);
|
|
25955
25952
|
if (c) {
|
|
25956
25953
|
const d = c.get();
|
|
25957
|
-
i[a] =
|
|
25954
|
+
i[a] = yq({ min: d, max: d }, this.constraints[a]);
|
|
25958
25955
|
}
|
|
25959
25956
|
});
|
|
25960
25957
|
const { transformTemplate: s } = this.visualElement.getProps();
|
|
@@ -25968,7 +25965,7 @@ class Tq {
|
|
|
25968
25965
|
addListeners() {
|
|
25969
25966
|
if (!this.visualElement.current)
|
|
25970
25967
|
return;
|
|
25971
|
-
|
|
25968
|
+
Tq.set(this.visualElement, this);
|
|
25972
25969
|
const t = this.visualElement.current, n = Cs(t, "pointerdown", (d) => {
|
|
25973
25970
|
const { drag: p, dragListener: m = !0 } = this.getProps();
|
|
25974
25971
|
p && m && this.start(d);
|
|
@@ -26003,13 +26000,13 @@ class Tq {
|
|
|
26003
26000
|
function Tf(e, t, n) {
|
|
26004
26001
|
return (t === !0 || t === e) && (n === null || n === e);
|
|
26005
26002
|
}
|
|
26006
|
-
function
|
|
26003
|
+
function Dq(e, t = 10) {
|
|
26007
26004
|
let n = null;
|
|
26008
26005
|
return Math.abs(e.y) > t ? n = "y" : Math.abs(e.x) > t && (n = "x"), n;
|
|
26009
26006
|
}
|
|
26010
|
-
class
|
|
26007
|
+
class Aq extends xo {
|
|
26011
26008
|
constructor(t) {
|
|
26012
|
-
super(t), this.removeGroupControls = zt, this.removeListeners = zt, this.controls = new
|
|
26009
|
+
super(t), this.removeGroupControls = zt, this.removeListeners = zt, this.controls = new Eq(t);
|
|
26013
26010
|
}
|
|
26014
26011
|
mount() {
|
|
26015
26012
|
const { dragControls: t } = this.node.getProps();
|
|
@@ -26022,7 +26019,7 @@ class Dq extends xo {
|
|
|
26022
26019
|
const Fx = (e) => (t, n) => {
|
|
26023
26020
|
e && At.update(() => e(t, n));
|
|
26024
26021
|
};
|
|
26025
|
-
class
|
|
26022
|
+
class Pq extends xo {
|
|
26026
26023
|
constructor() {
|
|
26027
26024
|
super(...arguments), this.removePointerDownListener = zt;
|
|
26028
26025
|
}
|
|
@@ -26053,7 +26050,7 @@ class Aq extends xo {
|
|
|
26053
26050
|
this.removePointerDownListener(), this.session && this.session.end();
|
|
26054
26051
|
}
|
|
26055
26052
|
}
|
|
26056
|
-
function
|
|
26053
|
+
function Oq() {
|
|
26057
26054
|
const e = $.useContext(K0);
|
|
26058
26055
|
if (e === null)
|
|
26059
26056
|
return [!0, null];
|
|
@@ -26087,7 +26084,7 @@ const iu = {
|
|
|
26087
26084
|
const n = Lx(e, t.target.x), r = Lx(e, t.target.y);
|
|
26088
26085
|
return `${n}% ${r}%`;
|
|
26089
26086
|
}
|
|
26090
|
-
},
|
|
26087
|
+
}, Rq = {
|
|
26091
26088
|
correct: (e, { treeScale: t, projectionDelta: n }) => {
|
|
26092
26089
|
const r = e, i = wo.parse(e);
|
|
26093
26090
|
if (i.length > 5)
|
|
@@ -26098,7 +26095,7 @@ const iu = {
|
|
|
26098
26095
|
return typeof i[2 + a] == "number" && (i[2 + a] /= p), typeof i[3 + a] == "number" && (i[3 + a] /= p), s(i);
|
|
26099
26096
|
}
|
|
26100
26097
|
};
|
|
26101
|
-
class
|
|
26098
|
+
class Mq extends it.Component {
|
|
26102
26099
|
/**
|
|
26103
26100
|
* This only mounts projection nodes for components that
|
|
26104
26101
|
* need measuring, we might want to do it for all components
|
|
@@ -26106,7 +26103,7 @@ class Rq extends it.Component {
|
|
|
26106
26103
|
*/
|
|
26107
26104
|
componentDidMount() {
|
|
26108
26105
|
const { visualElement: t, layoutGroup: n, switchLayoutGroup: r, layoutId: i } = this.props, { projection: s } = t;
|
|
26109
|
-
|
|
26106
|
+
jY(Iq), s && (n.group && n.group.add(s), r && r.register && i && r.register(s), s.root.didUpdate(), s.addEventListener("animationComplete", () => {
|
|
26110
26107
|
this.safeToRemove();
|
|
26111
26108
|
}), s.setOptions({
|
|
26112
26109
|
...s.options,
|
|
@@ -26139,10 +26136,10 @@ class Rq extends it.Component {
|
|
|
26139
26136
|
}
|
|
26140
26137
|
}
|
|
26141
26138
|
function GE(e) {
|
|
26142
|
-
const [t, n] =
|
|
26143
|
-
return it.createElement(
|
|
26139
|
+
const [t, n] = Oq(), r = $.useContext(UT);
|
|
26140
|
+
return it.createElement(Mq, { ...e, layoutGroup: r, switchLayoutGroup: $.useContext(HT), isPresent: t, safeToRemove: n });
|
|
26144
26141
|
}
|
|
26145
|
-
const
|
|
26142
|
+
const Iq = {
|
|
26146
26143
|
borderRadius: {
|
|
26147
26144
|
...iu,
|
|
26148
26145
|
applyTo: [
|
|
@@ -26156,16 +26153,16 @@ const Mq = {
|
|
|
26156
26153
|
borderTopRightRadius: iu,
|
|
26157
26154
|
borderBottomLeftRadius: iu,
|
|
26158
26155
|
borderBottomRightRadius: iu,
|
|
26159
|
-
boxShadow:
|
|
26160
|
-
}, KE = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"],
|
|
26161
|
-
function
|
|
26156
|
+
boxShadow: Rq
|
|
26157
|
+
}, KE = ["TopLeft", "TopRight", "BottomLeft", "BottomRight"], Nq = KE.length, $x = (e) => typeof e == "string" ? parseFloat(e) : e, jx = (e) => typeof e == "number" || Le.test(e);
|
|
26158
|
+
function Fq(e, t, n, r, i, s) {
|
|
26162
26159
|
i ? (e.opacity = jt(
|
|
26163
26160
|
0,
|
|
26164
26161
|
// TODO Reinstate this if only child
|
|
26165
26162
|
n.opacity !== void 0 ? n.opacity : 1,
|
|
26166
|
-
|
|
26167
|
-
), e.opacityExit = jt(t.opacity !== void 0 ? t.opacity : 1, 0,
|
|
26168
|
-
for (let a = 0; a <
|
|
26163
|
+
Lq(r)
|
|
26164
|
+
), e.opacityExit = jt(t.opacity !== void 0 ? t.opacity : 1, 0, $q(r))) : s && (e.opacity = jt(t.opacity !== void 0 ? t.opacity : 1, n.opacity !== void 0 ? n.opacity : 1, r));
|
|
26165
|
+
for (let a = 0; a < Nq; a++) {
|
|
26169
26166
|
const c = `border${KE[a]}Radius`;
|
|
26170
26167
|
let d = Bx(t, c), p = Bx(n, c);
|
|
26171
26168
|
if (d === void 0 && p === void 0)
|
|
@@ -26177,7 +26174,7 @@ function Nq(e, t, n, r, i, s) {
|
|
|
26177
26174
|
function Bx(e, t) {
|
|
26178
26175
|
return e[t] !== void 0 ? e[t] : e.borderRadius;
|
|
26179
26176
|
}
|
|
26180
|
-
const
|
|
26177
|
+
const Lq = QE(0, 0.5, vE), $q = QE(0.5, 0.95, zt);
|
|
26181
26178
|
function QE(e, t, n) {
|
|
26182
26179
|
return (r) => r < e ? 0 : r > t ? 1 : n(Fu(e, t, r));
|
|
26183
26180
|
}
|
|
@@ -26190,18 +26187,18 @@ function Hr(e, t) {
|
|
|
26190
26187
|
function Vx(e, t, n, r, i) {
|
|
26191
26188
|
return e -= t, e = Nd(e, 1 / n, r), i !== void 0 && (e = Nd(e, 1 / i, r)), e;
|
|
26192
26189
|
}
|
|
26193
|
-
function
|
|
26190
|
+
function jq(e, t = 0, n = 1, r = 0.5, i, s = e, a = e) {
|
|
26194
26191
|
if (Yi.test(t) && (t = parseFloat(t), t = jt(a.min, a.max, t / 100) - a.min), typeof t != "number")
|
|
26195
26192
|
return;
|
|
26196
26193
|
let c = jt(s.min, s.max, r);
|
|
26197
26194
|
e === s && (c -= t), e.min = Vx(e.min, t, n, c, i), e.max = Vx(e.max, t, n, c, i);
|
|
26198
26195
|
}
|
|
26199
26196
|
function Ux(e, t, [n, r, i], s, a) {
|
|
26200
|
-
|
|
26197
|
+
jq(e, t[n], t[r], t[i], t.scale, s, a);
|
|
26201
26198
|
}
|
|
26202
|
-
const
|
|
26199
|
+
const Bq = ["x", "scaleX", "originX"], Wq = ["y", "scaleY", "originY"];
|
|
26203
26200
|
function Hx(e, t, n, r) {
|
|
26204
|
-
Ux(e.x, t,
|
|
26201
|
+
Ux(e.x, t, Bq, n ? n.x : void 0, r ? r.x : void 0), Ux(e.y, t, Wq, n ? n.y : void 0, r ? r.y : void 0);
|
|
26205
26202
|
}
|
|
26206
26203
|
function zx(e) {
|
|
26207
26204
|
return e.translate === 0 && e.scale === 1;
|
|
@@ -26209,7 +26206,7 @@ function zx(e) {
|
|
|
26209
26206
|
function XE(e) {
|
|
26210
26207
|
return zx(e.x) && zx(e.y);
|
|
26211
26208
|
}
|
|
26212
|
-
function
|
|
26209
|
+
function Vq(e, t) {
|
|
26213
26210
|
return e.x.min === t.x.min && e.x.max === t.x.max && e.y.min === t.y.min && e.y.max === t.y.max;
|
|
26214
26211
|
}
|
|
26215
26212
|
function ZE(e, t) {
|
|
@@ -26218,7 +26215,7 @@ function ZE(e, t) {
|
|
|
26218
26215
|
function Yx(e) {
|
|
26219
26216
|
return Pr(e.x) / Pr(e.y);
|
|
26220
26217
|
}
|
|
26221
|
-
class
|
|
26218
|
+
class Uq {
|
|
26222
26219
|
constructor() {
|
|
26223
26220
|
this.members = [];
|
|
26224
26221
|
}
|
|
@@ -26282,8 +26279,8 @@ function qx(e, t, n) {
|
|
|
26282
26279
|
const a = e.x.scale * t.x, c = e.y.scale * t.y;
|
|
26283
26280
|
return (a !== 1 || c !== 1) && (r += `scale(${a}, ${c})`), r || "none";
|
|
26284
26281
|
}
|
|
26285
|
-
const
|
|
26286
|
-
class
|
|
26282
|
+
const Hq = (e, t) => e.depth - t.depth;
|
|
26283
|
+
class zq {
|
|
26287
26284
|
constructor() {
|
|
26288
26285
|
this.children = [], this.isDirty = !1;
|
|
26289
26286
|
}
|
|
@@ -26294,28 +26291,28 @@ class Hq {
|
|
|
26294
26291
|
pv(this.children, t), this.isDirty = !0;
|
|
26295
26292
|
}
|
|
26296
26293
|
forEach(t) {
|
|
26297
|
-
this.isDirty && this.children.sort(
|
|
26294
|
+
this.isDirty && this.children.sort(Hq), this.isDirty = !1, this.children.forEach(t);
|
|
26298
26295
|
}
|
|
26299
26296
|
}
|
|
26300
|
-
function
|
|
26297
|
+
function Yq(e, t) {
|
|
26301
26298
|
const n = performance.now(), r = ({ timestamp: i }) => {
|
|
26302
26299
|
const s = i - n;
|
|
26303
26300
|
s >= t && (Ds(r), e(s - t));
|
|
26304
26301
|
};
|
|
26305
26302
|
return At.read(r, !0), () => Ds(r);
|
|
26306
26303
|
}
|
|
26307
|
-
function
|
|
26304
|
+
function qq(e) {
|
|
26308
26305
|
window.MotionDebug && window.MotionDebug.record(e);
|
|
26309
26306
|
}
|
|
26310
|
-
function
|
|
26307
|
+
function Gq(e) {
|
|
26311
26308
|
return e instanceof SVGElement && e.tagName !== "svg";
|
|
26312
26309
|
}
|
|
26313
|
-
function
|
|
26310
|
+
function Kq(e, t, n) {
|
|
26314
26311
|
const r = ur(e) ? e : el(e);
|
|
26315
26312
|
return r.start(dv("", r, t, n)), r.animation;
|
|
26316
26313
|
}
|
|
26317
|
-
const Gx = ["", "X", "Y", "Z"],
|
|
26318
|
-
let
|
|
26314
|
+
const Gx = ["", "X", "Y", "Z"], Qq = { visibility: "hidden" }, Kx = 1e3;
|
|
26315
|
+
let Xq = 0;
|
|
26319
26316
|
const Vo = {
|
|
26320
26317
|
type: "projectionFrame",
|
|
26321
26318
|
totalNodes: 0,
|
|
@@ -26325,14 +26322,14 @@ const Vo = {
|
|
|
26325
26322
|
function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, checkIsScrollRoot: r, resetTransform: i }) {
|
|
26326
26323
|
return class {
|
|
26327
26324
|
constructor(a = {}, c = t == null ? void 0 : t()) {
|
|
26328
|
-
this.id =
|
|
26325
|
+
this.id = Xq++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
|
|
26329
26326
|
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
|
|
26330
26327
|
}, this.updateProjection = () => {
|
|
26331
|
-
this.projectionUpdateScheduled = !1, Vo.totalNodes = Vo.resolvedTargetDeltas = Vo.recalculatedProjection = 0, this.nodes.forEach(
|
|
26328
|
+
this.projectionUpdateScheduled = !1, Vo.totalNodes = Vo.resolvedTargetDeltas = Vo.recalculatedProjection = 0, this.nodes.forEach(e7), this.nodes.forEach(s7), this.nodes.forEach(o7), this.nodes.forEach(t7), qq(Vo);
|
|
26332
26329
|
}, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = a, this.root = c ? c.root || c : this, this.path = c ? [...c.path, c] : [], this.parent = c, this.depth = c ? c.depth + 1 : 0;
|
|
26333
26330
|
for (let d = 0; d < this.path.length; d++)
|
|
26334
26331
|
this.path[d].shouldResetTransform = !0;
|
|
26335
|
-
this.root === this && (this.nodes = new
|
|
26332
|
+
this.root === this && (this.nodes = new zq());
|
|
26336
26333
|
}
|
|
26337
26334
|
addEventListener(a, c) {
|
|
26338
26335
|
return this.eventHandlers.has(a) || this.eventHandlers.set(a, new mv()), this.eventHandlers.get(a).add(c);
|
|
@@ -26350,13 +26347,13 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26350
26347
|
mount(a, c = this.root.hasTreeAnimated) {
|
|
26351
26348
|
if (this.instance)
|
|
26352
26349
|
return;
|
|
26353
|
-
this.isSVG =
|
|
26350
|
+
this.isSVG = Gq(a), this.instance = a;
|
|
26354
26351
|
const { layoutId: d, layout: p, visualElement: m } = this.options;
|
|
26355
26352
|
if (m && !m.current && m.mount(a), this.root.nodes.add(this), this.parent && this.parent.children.add(this), c && (p || d) && (this.isLayoutDirty = !0), e) {
|
|
26356
26353
|
let v;
|
|
26357
26354
|
const x = () => this.root.updateBlockedByResize = !1;
|
|
26358
26355
|
e(a, () => {
|
|
26359
|
-
this.root.updateBlockedByResize = !0, v && v(), v =
|
|
26356
|
+
this.root.updateBlockedByResize = !0, v && v(), v = Yq(x, 250), Gf.hasAnimatedSinceResize && (Gf.hasAnimatedSinceResize = !1, this.nodes.forEach(Xx));
|
|
26360
26357
|
});
|
|
26361
26358
|
}
|
|
26362
26359
|
d && this.root.registerSharedNode(d, this), this.options.animate !== !1 && m && (d || p) && this.addEventListener("didUpdate", ({ delta: v, hasLayoutChanged: x, hasRelativeTargetChanged: k, layout: E }) => {
|
|
@@ -26364,7 +26361,7 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26364
26361
|
this.target = void 0, this.relativeTarget = void 0;
|
|
26365
26362
|
return;
|
|
26366
26363
|
}
|
|
26367
|
-
const T = this.options.transition || m.getDefaultTransition() ||
|
|
26364
|
+
const T = this.options.transition || m.getDefaultTransition() || f7, { onLayoutAnimationStart: M, onLayoutAnimationComplete: P } = m.getProps(), B = !this.targetLayout || !ZE(this.targetLayout, E) || k, F = !x && k;
|
|
26368
26365
|
if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || F || x && (B || !this.currentAnimation)) {
|
|
26369
26366
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(v, F);
|
|
26370
26367
|
const q = {
|
|
@@ -26398,7 +26395,7 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26398
26395
|
}
|
|
26399
26396
|
// Note: currently only running on root node
|
|
26400
26397
|
startUpdate() {
|
|
26401
|
-
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(
|
|
26398
|
+
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(a7), this.animationId++);
|
|
26402
26399
|
}
|
|
26403
26400
|
getTransformTemplate() {
|
|
26404
26401
|
const { visualElement: a } = this.options;
|
|
@@ -26427,7 +26424,7 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26427
26424
|
this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(Qx);
|
|
26428
26425
|
return;
|
|
26429
26426
|
}
|
|
26430
|
-
this.isUpdating || this.nodes.forEach(
|
|
26427
|
+
this.isUpdating || this.nodes.forEach(r7), this.isUpdating = !1, this.nodes.forEach(i7), this.nodes.forEach(Zq), this.nodes.forEach(Jq), this.clearAllSnapshots();
|
|
26431
26428
|
const c = performance.now();
|
|
26432
26429
|
Rn.delta = bo(0, 1e3 / 60, c - Rn.timestamp), Rn.timestamp = c, Rn.isProcessing = !0, Jm.update.process(Rn), Jm.preRender.process(Rn), Jm.render.process(Rn), Rn.isProcessing = !1;
|
|
26433
26430
|
}
|
|
@@ -26435,7 +26432,7 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26435
26432
|
this.updateScheduled || (this.updateScheduled = !0, queueMicrotask(() => this.update()));
|
|
26436
26433
|
}
|
|
26437
26434
|
clearAllSnapshots() {
|
|
26438
|
-
this.nodes.forEach(
|
|
26435
|
+
this.nodes.forEach(n7), this.sharedNodes.forEach(l7);
|
|
26439
26436
|
}
|
|
26440
26437
|
scheduleUpdateProjection() {
|
|
26441
26438
|
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, At.preRender(this.updateProjection, !1, !0));
|
|
@@ -26480,7 +26477,7 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26480
26477
|
measure(a = !0) {
|
|
26481
26478
|
const c = this.measurePageBox();
|
|
26482
26479
|
let d = this.removeElementScroll(c);
|
|
26483
|
-
return a && (d = this.removeTransform(d)),
|
|
26480
|
+
return a && (d = this.removeTransform(d)), d7(d), {
|
|
26484
26481
|
animationId: this.root.animationId,
|
|
26485
26482
|
measuredBox: c,
|
|
26486
26483
|
layoutBox: d,
|
|
@@ -26566,7 +26563,7 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26566
26563
|
k && k.layout && this.animationProgress !== 1 ? (this.relativeParent = k, this.forceRelativeParentToResolveTarget(), this.relativeTarget = nn(), this.relativeTargetOrigin = nn(), vu(this.relativeTargetOrigin, this.layout.layoutBox, k.layout.layoutBox), Hr(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
26567
26564
|
}
|
|
26568
26565
|
if (!(!this.relativeTarget && !this.targetDelta)) {
|
|
26569
|
-
if (this.target || (this.target = nn(), this.targetWithTransforms = nn()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(),
|
|
26566
|
+
if (this.target || (this.target = nn(), this.targetWithTransforms = nn()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), hq(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : Hr(this.target, this.layout.layoutBox), zE(this.target, this.targetDelta)) : Hr(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
|
|
26570
26567
|
this.attemptToResolveRelativeTarget = !1;
|
|
26571
26568
|
const k = this.getClosestProjectingParent();
|
|
26572
26569
|
k && !!k.resumingFrom == !!this.resumingFrom && !k.options.layoutScroll && k.target && this.animationProgress !== 1 ? (this.relativeParent = k, this.forceRelativeParentToResolveTarget(), this.relativeTarget = nn(), this.relativeTargetOrigin = nn(), vu(this.relativeTargetOrigin, this.target, k.target), Hr(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
@@ -26593,7 +26590,7 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26593
26590
|
return;
|
|
26594
26591
|
Hr(this.layoutCorrected, this.layout.layoutBox);
|
|
26595
26592
|
const x = this.treeScale.x, k = this.treeScale.y;
|
|
26596
|
-
|
|
26593
|
+
Sq(this.layoutCorrected, this.treeScale, this.path, d), c.layout && !c.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (c.target = c.layout.layoutBox);
|
|
26597
26594
|
const { target: E } = c;
|
|
26598
26595
|
if (!E) {
|
|
26599
26596
|
this.projectionTransform && (this.projectionDelta = za(), this.projectionTransform = "none", this.scheduleRender());
|
|
@@ -26619,17 +26616,17 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26619
26616
|
setAnimationOrigin(a, c = !1) {
|
|
26620
26617
|
const d = this.snapshot, p = d ? d.latestValues : {}, m = { ...this.latestValues }, v = za();
|
|
26621
26618
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !c;
|
|
26622
|
-
const x = nn(), k = d ? d.source : void 0, E = this.layout ? this.layout.source : void 0, T = k !== E, M = this.getStack(), P = !M || M.members.length <= 1, B = !!(T && !P && this.options.crossfade === !0 && !this.path.some(
|
|
26619
|
+
const x = nn(), k = d ? d.source : void 0, E = this.layout ? this.layout.source : void 0, T = k !== E, M = this.getStack(), P = !M || M.members.length <= 1, B = !!(T && !P && this.options.crossfade === !0 && !this.path.some(c7));
|
|
26623
26620
|
this.animationProgress = 0;
|
|
26624
26621
|
let F;
|
|
26625
26622
|
this.mixTargetDelta = (q) => {
|
|
26626
26623
|
const G = q / 1e3;
|
|
26627
|
-
Zx(v.x, a.x, G), Zx(v.y, a.y, G), this.setTargetDelta(v), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (vu(x, this.layout.layoutBox, this.relativeParent.layout.layoutBox),
|
|
26624
|
+
Zx(v.x, a.x, G), Zx(v.y, a.y, G), this.setTargetDelta(v), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (vu(x, this.layout.layoutBox, this.relativeParent.layout.layoutBox), u7(this.relativeTarget, this.relativeTargetOrigin, x, G), F && Vq(this.relativeTarget, F) && (this.isProjectionDirty = !1), F || (F = nn()), Hr(F, this.relativeTarget)), T && (this.animationValues = m, Fq(m, p, this.latestValues, G, B, P)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = G;
|
|
26628
26625
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
26629
26626
|
}
|
|
26630
26627
|
startAnimation(a) {
|
|
26631
26628
|
this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (Ds(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = At.update(() => {
|
|
26632
|
-
Gf.hasAnimatedSinceResize = !0, this.currentAnimation =
|
|
26629
|
+
Gf.hasAnimatedSinceResize = !0, this.currentAnimation = Kq(0, Kx, {
|
|
26633
26630
|
...a,
|
|
26634
26631
|
onUpdate: (c) => {
|
|
26635
26632
|
this.mixTargetDelta(c), a.onUpdate && a.onUpdate(c);
|
|
@@ -26663,7 +26660,7 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26663
26660
|
}
|
|
26664
26661
|
}
|
|
26665
26662
|
registerSharedNode(a, c) {
|
|
26666
|
-
this.sharedNodes.has(a) || this.sharedNodes.set(a, new
|
|
26663
|
+
this.sharedNodes.has(a) || this.sharedNodes.set(a, new Uq()), this.sharedNodes.get(a).add(c);
|
|
26667
26664
|
const p = c.options.initialPromotionConfig;
|
|
26668
26665
|
c.promote({
|
|
26669
26666
|
transition: p ? p.transition : void 0,
|
|
@@ -26720,7 +26717,7 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26720
26717
|
if (!this.instance || this.isSVG)
|
|
26721
26718
|
return;
|
|
26722
26719
|
if (!this.isVisible)
|
|
26723
|
-
return
|
|
26720
|
+
return Qq;
|
|
26724
26721
|
const p = {
|
|
26725
26722
|
visibility: ""
|
|
26726
26723
|
}, m = this.getTransformTemplate();
|
|
@@ -26760,10 +26757,10 @@ function JE({ attachResizeListener: e, defaultParent: t, measureScroll: n, check
|
|
|
26760
26757
|
}
|
|
26761
26758
|
};
|
|
26762
26759
|
}
|
|
26763
|
-
function
|
|
26760
|
+
function Zq(e) {
|
|
26764
26761
|
e.updateLayout();
|
|
26765
26762
|
}
|
|
26766
|
-
function
|
|
26763
|
+
function Jq(e) {
|
|
26767
26764
|
var t;
|
|
26768
26765
|
const n = ((t = e.resumeFrom) === null || t === void 0 ? void 0 : t.snapshot) || e.snapshot;
|
|
26769
26766
|
if (e.isLead() && e.layout && n && e.hasListeners("didUpdate")) {
|
|
@@ -26807,38 +26804,38 @@ function Zq(e) {
|
|
|
26807
26804
|
}
|
|
26808
26805
|
e.options.transition = void 0;
|
|
26809
26806
|
}
|
|
26810
|
-
function
|
|
26807
|
+
function e7(e) {
|
|
26811
26808
|
Vo.totalNodes++, e.parent && (e.isProjecting() || (e.isProjectionDirty = e.parent.isProjectionDirty), e.isSharedProjectionDirty || (e.isSharedProjectionDirty = !!(e.isProjectionDirty || e.parent.isProjectionDirty || e.parent.isSharedProjectionDirty)), e.isTransformDirty || (e.isTransformDirty = e.parent.isTransformDirty));
|
|
26812
26809
|
}
|
|
26813
|
-
function
|
|
26810
|
+
function t7(e) {
|
|
26814
26811
|
e.isProjectionDirty = e.isSharedProjectionDirty = e.isTransformDirty = !1;
|
|
26815
26812
|
}
|
|
26816
|
-
function
|
|
26813
|
+
function n7(e) {
|
|
26817
26814
|
e.clearSnapshot();
|
|
26818
26815
|
}
|
|
26819
26816
|
function Qx(e) {
|
|
26820
26817
|
e.clearMeasurements();
|
|
26821
26818
|
}
|
|
26822
|
-
function
|
|
26819
|
+
function r7(e) {
|
|
26823
26820
|
e.isLayoutDirty = !1;
|
|
26824
26821
|
}
|
|
26825
|
-
function
|
|
26822
|
+
function i7(e) {
|
|
26826
26823
|
const { visualElement: t } = e.options;
|
|
26827
26824
|
t && t.getProps().onBeforeLayoutMeasure && t.notify("BeforeLayoutMeasure"), e.resetTransform();
|
|
26828
26825
|
}
|
|
26829
26826
|
function Xx(e) {
|
|
26830
26827
|
e.finishAnimation(), e.targetDelta = e.relativeTarget = e.target = void 0, e.isProjectionDirty = !0;
|
|
26831
26828
|
}
|
|
26832
|
-
function
|
|
26829
|
+
function s7(e) {
|
|
26833
26830
|
e.resolveTargetDelta();
|
|
26834
26831
|
}
|
|
26835
|
-
function
|
|
26832
|
+
function o7(e) {
|
|
26836
26833
|
e.calcProjection();
|
|
26837
26834
|
}
|
|
26838
|
-
function
|
|
26835
|
+
function a7(e) {
|
|
26839
26836
|
e.resetRotation();
|
|
26840
26837
|
}
|
|
26841
|
-
function
|
|
26838
|
+
function l7(e) {
|
|
26842
26839
|
e.removeLeadSnapshot();
|
|
26843
26840
|
}
|
|
26844
26841
|
function Zx(e, t, n) {
|
|
@@ -26847,26 +26844,26 @@ function Zx(e, t, n) {
|
|
|
26847
26844
|
function Jx(e, t, n, r) {
|
|
26848
26845
|
e.min = jt(t.min, n.min, r), e.max = jt(t.max, n.max, r);
|
|
26849
26846
|
}
|
|
26850
|
-
function
|
|
26847
|
+
function u7(e, t, n, r) {
|
|
26851
26848
|
Jx(e.x, t.x, n.x, r), Jx(e.y, t.y, n.y, r);
|
|
26852
26849
|
}
|
|
26853
|
-
function
|
|
26850
|
+
function c7(e) {
|
|
26854
26851
|
return e.animationValues && e.animationValues.opacityExit !== void 0;
|
|
26855
26852
|
}
|
|
26856
|
-
const
|
|
26853
|
+
const f7 = {
|
|
26857
26854
|
duration: 0.45,
|
|
26858
26855
|
ease: [0.4, 0, 0.1, 1]
|
|
26859
26856
|
}, eS = (e) => typeof navigator < "u" && navigator.userAgent.toLowerCase().includes(e), tS = eS("applewebkit/") && !eS("chrome/") ? Math.round : zt;
|
|
26860
26857
|
function nS(e) {
|
|
26861
26858
|
e.min = tS(e.min), e.max = tS(e.max);
|
|
26862
26859
|
}
|
|
26863
|
-
function
|
|
26860
|
+
function d7(e) {
|
|
26864
26861
|
nS(e.x), nS(e.y);
|
|
26865
26862
|
}
|
|
26866
26863
|
function eD(e, t, n) {
|
|
26867
26864
|
return e === "position" || e === "preserve-aspect" && !dy(Yx(t), Yx(n), 0.2);
|
|
26868
26865
|
}
|
|
26869
|
-
const
|
|
26866
|
+
const h7 = JE({
|
|
26870
26867
|
attachResizeListener: (e, t) => bs(e, "resize", t),
|
|
26871
26868
|
measureScroll: () => ({
|
|
26872
26869
|
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
@@ -26882,7 +26879,7 @@ const d7 = JE({
|
|
|
26882
26879
|
}),
|
|
26883
26880
|
defaultParent: () => {
|
|
26884
26881
|
if (!cg.current) {
|
|
26885
|
-
const e = new
|
|
26882
|
+
const e = new h7({});
|
|
26886
26883
|
e.mount(window), e.setOptions({ layoutScroll: !0 }), cg.current = e;
|
|
26887
26884
|
}
|
|
26888
26885
|
return cg.current;
|
|
@@ -26891,25 +26888,25 @@ const d7 = JE({
|
|
|
26891
26888
|
e.style.transform = t !== void 0 ? t : "none";
|
|
26892
26889
|
},
|
|
26893
26890
|
checkIsScrollRoot: (e) => window.getComputedStyle(e).position === "fixed"
|
|
26894
|
-
}),
|
|
26891
|
+
}), p7 = {
|
|
26895
26892
|
pan: {
|
|
26896
|
-
Feature:
|
|
26893
|
+
Feature: Pq
|
|
26897
26894
|
},
|
|
26898
26895
|
drag: {
|
|
26899
|
-
Feature:
|
|
26896
|
+
Feature: Aq,
|
|
26900
26897
|
ProjectionNode: tD,
|
|
26901
26898
|
MeasureLayout: GE
|
|
26902
26899
|
}
|
|
26903
|
-
},
|
|
26904
|
-
function
|
|
26905
|
-
const t =
|
|
26900
|
+
}, m7 = /var\((--[a-zA-Z0-9-_]+),? ?([a-zA-Z0-9 ()%#.,-]+)?\)/;
|
|
26901
|
+
function g7(e) {
|
|
26902
|
+
const t = m7.exec(e);
|
|
26906
26903
|
if (!t)
|
|
26907
26904
|
return [,];
|
|
26908
26905
|
const [, n, r] = t;
|
|
26909
26906
|
return [n, r];
|
|
26910
26907
|
}
|
|
26911
26908
|
function gy(e, t, n = 1) {
|
|
26912
|
-
const [r, i] =
|
|
26909
|
+
const [r, i] = g7(e);
|
|
26913
26910
|
if (!r)
|
|
26914
26911
|
return;
|
|
26915
26912
|
const s = window.getComputedStyle(t).getPropertyValue(r);
|
|
@@ -26919,7 +26916,7 @@ function gy(e, t, n = 1) {
|
|
|
26919
26916
|
} else
|
|
26920
26917
|
return sy(i) ? gy(i, t, n + 1) : i;
|
|
26921
26918
|
}
|
|
26922
|
-
function
|
|
26919
|
+
function y7(e, { ...t }, n) {
|
|
26923
26920
|
const r = e.current;
|
|
26924
26921
|
if (!(r instanceof Element))
|
|
26925
26922
|
return { target: t, transitionEnd: n };
|
|
@@ -26939,7 +26936,7 @@ function g7(e, { ...t }, n) {
|
|
|
26939
26936
|
}
|
|
26940
26937
|
return { target: t, transitionEnd: n };
|
|
26941
26938
|
}
|
|
26942
|
-
const
|
|
26939
|
+
const v7 = /* @__PURE__ */ new Set([
|
|
26943
26940
|
"width",
|
|
26944
26941
|
"height",
|
|
26945
26942
|
"top",
|
|
@@ -26950,7 +26947,7 @@ const y7 = /* @__PURE__ */ new Set([
|
|
|
26950
26947
|
"y",
|
|
26951
26948
|
"translateX",
|
|
26952
26949
|
"translateY"
|
|
26953
|
-
]), nD = (e) =>
|
|
26950
|
+
]), nD = (e) => v7.has(e), b7 = (e) => Object.keys(e).some(nD), rS = (e) => e === fa || e === Le, iS = (e, t) => parseFloat(e.split(", ")[t]), sS = (e, t) => (n, { transform: r }) => {
|
|
26954
26951
|
if (r === "none" || !r)
|
|
26955
26952
|
return 0;
|
|
26956
26953
|
const i = r.match(/^matrix3d\((.+)\)$/);
|
|
@@ -26960,10 +26957,10 @@ const y7 = /* @__PURE__ */ new Set([
|
|
|
26960
26957
|
const s = r.match(/^matrix\((.+)\)$/);
|
|
26961
26958
|
return s ? iS(s[1], e) : 0;
|
|
26962
26959
|
}
|
|
26963
|
-
},
|
|
26964
|
-
function
|
|
26960
|
+
}, w7 = /* @__PURE__ */ new Set(["x", "y", "z"]), x7 = ec.filter((e) => !w7.has(e));
|
|
26961
|
+
function S7(e) {
|
|
26965
26962
|
const t = [];
|
|
26966
|
-
return
|
|
26963
|
+
return x7.forEach((n) => {
|
|
26967
26964
|
const r = e.getValue(n);
|
|
26968
26965
|
r !== void 0 && (t.push([n, r.get()]), r.set(n.startsWith("scale") ? 1 : 0));
|
|
26969
26966
|
}), t.length && e.render(), t;
|
|
@@ -26982,7 +26979,7 @@ const tl = {
|
|
|
26982
26979
|
};
|
|
26983
26980
|
tl.translateX = tl.x;
|
|
26984
26981
|
tl.translateY = tl.y;
|
|
26985
|
-
const
|
|
26982
|
+
const _7 = (e, t, n) => {
|
|
26986
26983
|
const r = t.measureViewportBox(), i = t.current, s = getComputedStyle(i), { display: a } = s, c = {};
|
|
26987
26984
|
a === "none" && t.setStaticValue("display", e.display || "block"), n.forEach((p) => {
|
|
26988
26985
|
c[p] = tl[p](r, s);
|
|
@@ -26992,7 +26989,7 @@ const S7 = (e, t, n) => {
|
|
|
26992
26989
|
const m = t.getValue(p);
|
|
26993
26990
|
m && m.jump(c[p]), e[p] = tl[p](d, s);
|
|
26994
26991
|
}), e;
|
|
26995
|
-
},
|
|
26992
|
+
}, C7 = (e, t, n = {}, r = {}) => {
|
|
26996
26993
|
t = { ...t }, r = { ...r };
|
|
26997
26994
|
const i = Object.keys(t).filter(nD);
|
|
26998
26995
|
let s = [], a = !1;
|
|
@@ -27016,23 +27013,23 @@ const S7 = (e, t, n) => {
|
|
|
27016
27013
|
const E = p.get();
|
|
27017
27014
|
typeof E == "string" && p.set(parseFloat(E)), typeof x == "string" ? t[d] = parseFloat(x) : Array.isArray(x) && k === Le && (t[d] = x.map(parseFloat));
|
|
27018
27015
|
} else
|
|
27019
|
-
v != null && v.transform && (k != null && k.transform) && (m === 0 || x === 0) ? m === 0 ? p.set(k.transform(m)) : t[d] = v.transform(x) : (a || (s =
|
|
27016
|
+
v != null && v.transform && (k != null && k.transform) && (m === 0 || x === 0) ? m === 0 ? p.set(k.transform(m)) : t[d] = v.transform(x) : (a || (s = S7(e), a = !0), c.push(d), r[d] = r[d] !== void 0 ? r[d] : t[d], p.jump(x));
|
|
27020
27017
|
}), c.length) {
|
|
27021
|
-
const d = c.indexOf("height") >= 0 ? window.pageYOffset : null, p =
|
|
27018
|
+
const d = c.indexOf("height") >= 0 ? window.pageYOffset : null, p = _7(t, e, c);
|
|
27022
27019
|
return s.length && s.forEach(([m, v]) => {
|
|
27023
27020
|
e.getValue(m).set(v);
|
|
27024
27021
|
}), e.render(), ep && d !== null && window.scrollTo({ top: d }), { target: p, transitionEnd: r };
|
|
27025
27022
|
} else
|
|
27026
27023
|
return { target: t, transitionEnd: r };
|
|
27027
27024
|
};
|
|
27028
|
-
function
|
|
27029
|
-
return
|
|
27025
|
+
function k7(e, t, n, r) {
|
|
27026
|
+
return b7(t) ? C7(e, t, n, r) : { target: t, transitionEnd: r };
|
|
27030
27027
|
}
|
|
27031
|
-
const
|
|
27032
|
-
const i =
|
|
27033
|
-
return t = i.target, r = i.transitionEnd,
|
|
27028
|
+
const T7 = (e, t, n, r) => {
|
|
27029
|
+
const i = y7(e, t, r);
|
|
27030
|
+
return t = i.target, r = i.transitionEnd, k7(e, t, n, r);
|
|
27034
27031
|
}, yy = { current: null }, rD = { current: !1 };
|
|
27035
|
-
function
|
|
27032
|
+
function E7() {
|
|
27036
27033
|
if (rD.current = !0, !!ep)
|
|
27037
27034
|
if (window.matchMedia) {
|
|
27038
27035
|
const e = window.matchMedia("(prefers-reduced-motion)"), t = () => yy.current = e.matches;
|
|
@@ -27040,7 +27037,7 @@ function T7() {
|
|
|
27040
27037
|
} else
|
|
27041
27038
|
yy.current = !1;
|
|
27042
27039
|
}
|
|
27043
|
-
function
|
|
27040
|
+
function D7(e, t, n) {
|
|
27044
27041
|
const { willChange: r } = t;
|
|
27045
27042
|
for (const i in t) {
|
|
27046
27043
|
const s = t[i], a = n[i];
|
|
@@ -27061,7 +27058,7 @@ function E7(e, t, n) {
|
|
|
27061
27058
|
t[i] === void 0 && e.removeValue(i);
|
|
27062
27059
|
return t;
|
|
27063
27060
|
}
|
|
27064
|
-
const oS = /* @__PURE__ */ new WeakMap(), iD = Object.keys(Nu),
|
|
27061
|
+
const oS = /* @__PURE__ */ new WeakMap(), iD = Object.keys(Nu), A7 = iD.length, aS = [
|
|
27065
27062
|
"AnimationStart",
|
|
27066
27063
|
"AnimationComplete",
|
|
27067
27064
|
"Update",
|
|
@@ -27069,8 +27066,8 @@ const oS = /* @__PURE__ */ new WeakMap(), iD = Object.keys(Nu), D7 = iD.length,
|
|
|
27069
27066
|
"LayoutMeasure",
|
|
27070
27067
|
"LayoutAnimationStart",
|
|
27071
27068
|
"LayoutAnimationComplete"
|
|
27072
|
-
],
|
|
27073
|
-
class
|
|
27069
|
+
], P7 = Z0.length;
|
|
27070
|
+
class O7 {
|
|
27074
27071
|
constructor({ parent: t, props: n, presenceContext: r, reducedMotionConfig: i, visualState: s }, a = {}) {
|
|
27075
27072
|
this.current = null, this.children = /* @__PURE__ */ new Set(), this.isVariantNode = !1, this.isControllingVariants = !1, this.shouldReduceMotion = null, this.values = /* @__PURE__ */ new Map(), this.features = {}, this.valueSubscriptions = /* @__PURE__ */ new Map(), this.prevMotionValues = {}, this.events = {}, this.propEventSubscriptions = {}, this.notifyUpdate = () => this.notify("Update", this.latestValues), this.render = () => {
|
|
27076
27073
|
this.current && (this.triggerBuild(), this.renderInstance(this.current, this.renderState, this.props.style, this.projection));
|
|
@@ -27094,7 +27091,7 @@ class P7 {
|
|
|
27094
27091
|
return {};
|
|
27095
27092
|
}
|
|
27096
27093
|
mount(t) {
|
|
27097
|
-
this.current = t, oS.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), rD.current ||
|
|
27094
|
+
this.current = t, oS.set(t, this), this.projection && !this.projection.instance && this.projection.mount(t), this.parent && this.isVariantNode && !this.isControllingVariants && (this.removeFromVariantTree = this.parent.addVariantChild(this)), this.values.forEach((n, r) => this.bindToMotionValue(r, n)), rD.current || E7(), this.shouldReduceMotion = this.reducedMotionConfig === "never" ? !1 : this.reducedMotionConfig === "always" ? !0 : yy.current, this.parent && this.parent.children.add(this), this.update(this.props, this.presenceContext);
|
|
27098
27095
|
}
|
|
27099
27096
|
unmount() {
|
|
27100
27097
|
oS.delete(this.current), this.projection && this.projection.unmount(), Ds(this.notifyUpdate), Ds(this.render), this.valueSubscriptions.forEach((t) => t()), this.removeFromVariantTree && this.removeFromVariantTree(), this.parent && this.parent.children.delete(this);
|
|
@@ -27117,7 +27114,7 @@ class P7 {
|
|
|
27117
27114
|
}
|
|
27118
27115
|
loadFeatures({ children: t, ...n }, r, i, s) {
|
|
27119
27116
|
let a, c;
|
|
27120
|
-
for (let d = 0; d <
|
|
27117
|
+
for (let d = 0; d < A7; d++) {
|
|
27121
27118
|
const p = iD[d], { isEnabled: m, Feature: v, ProjectionNode: x, MeasureLayout: k } = Nu[p];
|
|
27122
27119
|
x && (a = x), m(n) && (!this.features[p] && v && (this.features[p] = new v(this)), k && (c = k));
|
|
27123
27120
|
}
|
|
@@ -27190,7 +27187,7 @@ class P7 {
|
|
|
27190
27187
|
const s = t["on" + i];
|
|
27191
27188
|
s && (this.propEventSubscriptions[i] = this.on(i, s));
|
|
27192
27189
|
}
|
|
27193
|
-
this.prevMotionValues =
|
|
27190
|
+
this.prevMotionValues = D7(this, this.scrapeMotionValuesFromProps(t, this.prevProps), this.prevMotionValues), this.handleChildMotionValue && this.handleChildMotionValue();
|
|
27194
27191
|
}
|
|
27195
27192
|
getProps() {
|
|
27196
27193
|
return this.props;
|
|
@@ -27221,7 +27218,7 @@ class P7 {
|
|
|
27221
27218
|
return this.props.initial !== void 0 && (r.initial = this.props.initial), r;
|
|
27222
27219
|
}
|
|
27223
27220
|
const n = {};
|
|
27224
|
-
for (let r = 0; r <
|
|
27221
|
+
for (let r = 0; r < P7; r++) {
|
|
27225
27222
|
const i = Z0[r], s = this.props[i];
|
|
27226
27223
|
(Iu(s) || s === !1) && (n[i] = s);
|
|
27227
27224
|
}
|
|
@@ -27296,7 +27293,7 @@ class P7 {
|
|
|
27296
27293
|
this.events[t] && this.events[t].notify(...n);
|
|
27297
27294
|
}
|
|
27298
27295
|
}
|
|
27299
|
-
class sD extends
|
|
27296
|
+
class sD extends O7 {
|
|
27300
27297
|
sortInstanceNodePosition(t, n) {
|
|
27301
27298
|
return t.compareDocumentPosition(n) & 2 ? 1 : -1;
|
|
27302
27299
|
}
|
|
@@ -27307,10 +27304,10 @@ class sD extends P7 {
|
|
|
27307
27304
|
delete n[t], delete r[t];
|
|
27308
27305
|
}
|
|
27309
27306
|
makeTargetAnimatableFromInstance({ transition: t, transitionEnd: n, ...r }, { transformValues: i }, s) {
|
|
27310
|
-
let a =
|
|
27307
|
+
let a = G8(r, t || {}, this);
|
|
27311
27308
|
if (i && (n && (n = i(n)), r && (r = i(r)), a && (a = i(a))), s) {
|
|
27312
|
-
|
|
27313
|
-
const c =
|
|
27309
|
+
Y8(this, r, a);
|
|
27310
|
+
const c = T7(this, r, a, n);
|
|
27314
27311
|
n = c.transitionEnd, r = c.target;
|
|
27315
27312
|
}
|
|
27316
27313
|
return {
|
|
@@ -27320,10 +27317,10 @@ class sD extends P7 {
|
|
|
27320
27317
|
};
|
|
27321
27318
|
}
|
|
27322
27319
|
}
|
|
27323
|
-
function
|
|
27320
|
+
function R7(e) {
|
|
27324
27321
|
return window.getComputedStyle(e);
|
|
27325
27322
|
}
|
|
27326
|
-
class
|
|
27323
|
+
class M7 extends sD {
|
|
27327
27324
|
constructor() {
|
|
27328
27325
|
super(...arguments), this.type = "html";
|
|
27329
27326
|
}
|
|
@@ -27332,7 +27329,7 @@ class R7 extends sD {
|
|
|
27332
27329
|
const r = cv(n);
|
|
27333
27330
|
return r && r.default || 0;
|
|
27334
27331
|
} else {
|
|
27335
|
-
const r =
|
|
27332
|
+
const r = R7(t), i = (qT(n) ? r.getPropertyValue(n) : r[n]) || 0;
|
|
27336
27333
|
return typeof i == "string" ? i.trim() : i;
|
|
27337
27334
|
}
|
|
27338
27335
|
}
|
|
@@ -27356,7 +27353,7 @@ class R7 extends sD {
|
|
|
27356
27353
|
JT(t, n, r, i);
|
|
27357
27354
|
}
|
|
27358
27355
|
}
|
|
27359
|
-
class
|
|
27356
|
+
class I7 extends sD {
|
|
27360
27357
|
constructor() {
|
|
27361
27358
|
super(...arguments), this.type = "svg", this.isSVGTag = !1;
|
|
27362
27359
|
}
|
|
@@ -27386,17 +27383,17 @@ class M7 extends sD {
|
|
|
27386
27383
|
this.isSVGTag = rv(t.tagName), super.mount(t);
|
|
27387
27384
|
}
|
|
27388
27385
|
}
|
|
27389
|
-
const
|
|
27386
|
+
const N7 = (e, t) => J0(e) ? new I7(t, { enableHardwareAcceleration: !1 }) : new M7(t, { enableHardwareAcceleration: !0 }), F7 = {
|
|
27390
27387
|
layout: {
|
|
27391
27388
|
ProjectionNode: tD,
|
|
27392
27389
|
MeasureLayout: GE
|
|
27393
27390
|
}
|
|
27394
|
-
},
|
|
27395
|
-
...
|
|
27396
|
-
...
|
|
27397
|
-
...
|
|
27398
|
-
...
|
|
27399
|
-
},
|
|
27391
|
+
}, L7 = {
|
|
27392
|
+
...uq,
|
|
27393
|
+
...A9,
|
|
27394
|
+
...p7,
|
|
27395
|
+
...F7
|
|
27396
|
+
}, $7 = /* @__PURE__ */ LY((e, t) => g9(e, t, L7, N7));
|
|
27400
27397
|
function fg(e, t, n) {
|
|
27401
27398
|
if (n || arguments.length === 2)
|
|
27402
27399
|
for (var r = 0, i = t.length, s; r < i; r++)
|
|
@@ -27408,36 +27405,36 @@ function fg(e, t, n) {
|
|
|
27408
27405
|
* Copyright(c) 2015 Douglas Christopher Wilson
|
|
27409
27406
|
* MIT Licensed
|
|
27410
27407
|
*/
|
|
27411
|
-
var lS = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g,
|
|
27412
|
-
function
|
|
27408
|
+
var lS = /; *([!#$%&'*+.^_`|~0-9A-Za-z-]+) *= *("(?:[\u000b\u0020\u0021\u0023-\u005b\u005d-\u007e\u0080-\u00ff]|\\[\u000b\u0020-\u00ff])*"|[!#$%&'*+.^_`|~0-9A-Za-z-]+) */g, j7 = /\\([\u000b\u0020-\u00ff])/g, B7 = /^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+$/, W7 = V7;
|
|
27409
|
+
function V7(e) {
|
|
27413
27410
|
if (!e)
|
|
27414
27411
|
throw new TypeError("argument string is required");
|
|
27415
|
-
var t = typeof e == "object" ?
|
|
27412
|
+
var t = typeof e == "object" ? U7(e) : e;
|
|
27416
27413
|
if (typeof t != "string")
|
|
27417
27414
|
throw new TypeError("argument string is required to be a string");
|
|
27418
27415
|
var n = t.indexOf(";"), r = n !== -1 ? t.slice(0, n).trim() : t.trim();
|
|
27419
|
-
if (!
|
|
27416
|
+
if (!B7.test(r))
|
|
27420
27417
|
throw new TypeError("invalid media type");
|
|
27421
|
-
var i = new
|
|
27418
|
+
var i = new H7(r.toLowerCase());
|
|
27422
27419
|
if (n !== -1) {
|
|
27423
27420
|
var s, a, c;
|
|
27424
27421
|
for (lS.lastIndex = n; a = lS.exec(t); ) {
|
|
27425
27422
|
if (a.index !== n)
|
|
27426
27423
|
throw new TypeError("invalid parameter format");
|
|
27427
|
-
n += a[0].length, s = a[1].toLowerCase(), c = a[2], c.charCodeAt(0) === 34 && (c = c.slice(1, -1), c.indexOf("\\") !== -1 && (c = c.replace(
|
|
27424
|
+
n += a[0].length, s = a[1].toLowerCase(), c = a[2], c.charCodeAt(0) === 34 && (c = c.slice(1, -1), c.indexOf("\\") !== -1 && (c = c.replace(j7, "$1"))), i.parameters[s] = c;
|
|
27428
27425
|
}
|
|
27429
27426
|
if (n !== t.length)
|
|
27430
27427
|
throw new TypeError("invalid parameter format");
|
|
27431
27428
|
}
|
|
27432
27429
|
return i;
|
|
27433
27430
|
}
|
|
27434
|
-
function
|
|
27431
|
+
function U7(e) {
|
|
27435
27432
|
var t;
|
|
27436
27433
|
if (typeof e.getHeader == "function" ? t = e.getHeader("content-type") : typeof e.headers == "object" && (t = e.headers && e.headers["content-type"]), typeof t != "string")
|
|
27437
27434
|
throw new TypeError("content-type header is missing from object");
|
|
27438
27435
|
return t;
|
|
27439
27436
|
}
|
|
27440
|
-
function
|
|
27437
|
+
function H7(e) {
|
|
27441
27438
|
this.parameters = /* @__PURE__ */ Object.create(null), this.type = e;
|
|
27442
27439
|
}
|
|
27443
27440
|
var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
@@ -27452,7 +27449,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27452
27449
|
var s = i.getResponseHeader("Content-Type");
|
|
27453
27450
|
if (!s)
|
|
27454
27451
|
throw new Error("Content type not found");
|
|
27455
|
-
var a =
|
|
27452
|
+
var a = W7(s).type;
|
|
27456
27453
|
if (!(a === "image/svg+xml" || a === "text/plain"))
|
|
27457
27454
|
throw new Error("Invalid content type: ".concat(a));
|
|
27458
27455
|
}
|
|
@@ -27473,7 +27470,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27473
27470
|
}, i.open("GET", t), i.withCredentials = n, i.overrideMimeType && i.overrideMimeType("text/xml"), i.send();
|
|
27474
27471
|
}, oo = {}, cS = function(t, n) {
|
|
27475
27472
|
oo[t] = oo[t] || [], oo[t].push(n);
|
|
27476
|
-
},
|
|
27473
|
+
}, z7 = function(t) {
|
|
27477
27474
|
for (var n = function(a, c) {
|
|
27478
27475
|
setTimeout(function() {
|
|
27479
27476
|
if (Array.isArray(oo[t])) {
|
|
@@ -27483,7 +27480,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27483
27480
|
}, 0);
|
|
27484
27481
|
}, r = 0, i = oo[t].length; r < i; r++)
|
|
27485
27482
|
n(r);
|
|
27486
|
-
},
|
|
27483
|
+
}, Y7 = function(t, n, r) {
|
|
27487
27484
|
if (ja.has(t)) {
|
|
27488
27485
|
var i = ja.get(t);
|
|
27489
27486
|
if (i === void 0) {
|
|
@@ -27497,16 +27494,16 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27497
27494
|
}
|
|
27498
27495
|
ja.set(t, void 0), cS(t, r), aD(t, n, function(s, a) {
|
|
27499
27496
|
var c;
|
|
27500
|
-
s ? ja.set(t, s) : ((c = a.responseXML) === null || c === void 0 ? void 0 : c.documentElement) instanceof SVGSVGElement && ja.set(t, a.responseXML.documentElement),
|
|
27497
|
+
s ? ja.set(t, s) : ((c = a.responseXML) === null || c === void 0 ? void 0 : c.documentElement) instanceof SVGSVGElement && ja.set(t, a.responseXML.documentElement), z7(t);
|
|
27501
27498
|
});
|
|
27502
|
-
},
|
|
27499
|
+
}, q7 = function(t, n, r) {
|
|
27503
27500
|
aD(t, n, function(i, s) {
|
|
27504
27501
|
var a;
|
|
27505
27502
|
i ? r(i) : ((a = s.responseXML) === null || a === void 0 ? void 0 : a.documentElement) instanceof SVGSVGElement && r(null, s.responseXML.documentElement);
|
|
27506
27503
|
});
|
|
27507
|
-
},
|
|
27508
|
-
return ++
|
|
27509
|
-
}, Ii = [], fS = {},
|
|
27504
|
+
}, G7 = 0, K7 = function() {
|
|
27505
|
+
return ++G7;
|
|
27506
|
+
}, Ii = [], fS = {}, Q7 = "http://www.w3.org/2000/svg", dg = "http://www.w3.org/1999/xlink", dS = function(t, n, r, i, s, a, c) {
|
|
27510
27507
|
var d = t.getAttribute("data-src") || t.getAttribute("src");
|
|
27511
27508
|
if (!d) {
|
|
27512
27509
|
c(new Error("Invalid data-src or src attribute"));
|
|
@@ -27517,7 +27514,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27517
27514
|
return;
|
|
27518
27515
|
}
|
|
27519
27516
|
Ii.push(t), t.setAttribute("src", "");
|
|
27520
|
-
var p = i ?
|
|
27517
|
+
var p = i ? Y7 : q7;
|
|
27521
27518
|
p(d, s, function(m, v) {
|
|
27522
27519
|
if (!v) {
|
|
27523
27520
|
Ii.splice(Ii.indexOf(t), 1), t = null, c(m);
|
|
@@ -27556,7 +27553,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27556
27553
|
Object.keys(F).forEach(function(ve) {
|
|
27557
27554
|
q = ve, K = F[ve], G = v.querySelectorAll(q + "[id]");
|
|
27558
27555
|
for (var je = function(on, Jt) {
|
|
27559
|
-
g = G[on].id, le = g + "-" +
|
|
27556
|
+
g = G[on].id, le = g + "-" + K7();
|
|
27560
27557
|
var Rt;
|
|
27561
27558
|
Array.prototype.forEach.call(K, function(fr) {
|
|
27562
27559
|
Rt = v.querySelectorAll("[" + fr + '*="' + g + '"]');
|
|
@@ -27587,13 +27584,13 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27587
27584
|
var Me = v.querySelectorAll("style");
|
|
27588
27585
|
if (Array.prototype.forEach.call(Me, function(ve) {
|
|
27589
27586
|
ve.textContent += "";
|
|
27590
|
-
}), v.setAttribute("xmlns",
|
|
27587
|
+
}), v.setAttribute("xmlns", Q7), v.setAttribute("xmlns:xlink", dg), a(v), !t.parentNode) {
|
|
27591
27588
|
Ii.splice(Ii.indexOf(t), 1), t = null, c(new Error("Parent node is null"));
|
|
27592
27589
|
return;
|
|
27593
27590
|
}
|
|
27594
27591
|
t.parentNode.replaceChild(v, t), Ii.splice(Ii.indexOf(t), 1), t = null, c(null, v);
|
|
27595
27592
|
});
|
|
27596
|
-
},
|
|
27593
|
+
}, X7 = function(t, n) {
|
|
27597
27594
|
var r = n === void 0 ? {} : n, i = r.afterAll, s = i === void 0 ? function() {
|
|
27598
27595
|
} : i, a = r.afterEach, c = a === void 0 ? function() {
|
|
27599
27596
|
} : a, d = r.beforeEach, p = d === void 0 ? function() {
|
|
@@ -27607,10 +27604,10 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27607
27604
|
t ? dS(t, k, P, v, T, p, function(G, K) {
|
|
27608
27605
|
c(G, K), s(1), t = null;
|
|
27609
27606
|
}) : s(0);
|
|
27610
|
-
},
|
|
27607
|
+
}, Z7 = function(t) {
|
|
27611
27608
|
var n = (t == null ? void 0 : t.ownerDocument) || document;
|
|
27612
27609
|
return n.defaultView || window;
|
|
27613
|
-
},
|
|
27610
|
+
}, J7 = function(t, n) {
|
|
27614
27611
|
for (var r in t)
|
|
27615
27612
|
if (!(r in n))
|
|
27616
27613
|
return !0;
|
|
@@ -27618,7 +27615,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27618
27615
|
if (t[i] !== n[i])
|
|
27619
27616
|
return !0;
|
|
27620
27617
|
return !1;
|
|
27621
|
-
},
|
|
27618
|
+
}, eG = ["afterInjection", "beforeInjection", "desc", "evalScripts", "fallback", "httpRequestWithCredentials", "loading", "renumerateIRIElements", "src", "title", "useRequestCache", "wrapper"], Ef = "http://www.w3.org/2000/svg", hS = "http://www.w3.org/1999/xlink", gv = /* @__PURE__ */ function(e) {
|
|
27622
27619
|
ua(t, e);
|
|
27623
27620
|
function t() {
|
|
27624
27621
|
for (var r, i = arguments.length, s = new Array(i), a = 0; a < i; a++)
|
|
@@ -27633,7 +27630,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27633
27630
|
var n = t.prototype;
|
|
27634
27631
|
return n.renderSVG = function() {
|
|
27635
27632
|
var i = this;
|
|
27636
|
-
if (this.reactWrapper instanceof
|
|
27633
|
+
if (this.reactWrapper instanceof Z7(this.reactWrapper).Node) {
|
|
27637
27634
|
var s = this.props, a = s.desc, c = s.evalScripts, d = s.httpRequestWithCredentials, p = s.renumerateIRIElements, m = s.src, v = s.title, x = s.useRequestCache, k = this.props.onError, E = this.props.beforeInjection, T = this.props.afterInjection, M = this.props.wrapper, P, B;
|
|
27638
27635
|
M === "svg" ? (P = document.createElementNS(Ef, M), P.setAttribute("xmlns", Ef), P.setAttribute("xmlns:xlink", hS), B = document.createElementNS(Ef, M)) : (P = document.createElement(M), B = document.createElement(M)), P.appendChild(B), B.dataset.src = m, this.nonReactWrapper = this.reactWrapper.appendChild(P);
|
|
27639
27636
|
var F = function(g) {
|
|
@@ -27684,7 +27681,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27684
27681
|
F(ke);
|
|
27685
27682
|
}
|
|
27686
27683
|
};
|
|
27687
|
-
|
|
27684
|
+
X7(B, {
|
|
27688
27685
|
afterEach: q,
|
|
27689
27686
|
beforeEach: G,
|
|
27690
27687
|
cacheRequests: x,
|
|
@@ -27700,7 +27697,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27700
27697
|
this._isMounted = !0, this.renderSVG();
|
|
27701
27698
|
}, n.componentDidUpdate = function(i) {
|
|
27702
27699
|
var s = this;
|
|
27703
|
-
|
|
27700
|
+
J7(ge({}, i), this.props) && this.setState(function() {
|
|
27704
27701
|
return s.initialState;
|
|
27705
27702
|
}, function() {
|
|
27706
27703
|
s.removeSVG(), s.renderSVG();
|
|
@@ -27714,7 +27711,7 @@ var ja = /* @__PURE__ */ new Map(), oD = function(t) {
|
|
|
27714
27711
|
i.httpRequestWithCredentials;
|
|
27715
27712
|
var a = i.loading;
|
|
27716
27713
|
i.renumerateIRIElements, i.src, i.title, i.useRequestCache;
|
|
27717
|
-
var c = i.wrapper, d = cr(i,
|
|
27714
|
+
var c = i.wrapper, d = cr(i, eG), p = c;
|
|
27718
27715
|
return /* @__PURE__ */ $.createElement(p, ge({}, d, {
|
|
27719
27716
|
ref: this.refCallback
|
|
27720
27717
|
}, c === "svg" ? {
|
|
@@ -27755,7 +27752,7 @@ gv.propTypes = {
|
|
|
27755
27752
|
useRequestCache: tn.bool,
|
|
27756
27753
|
wrapper: tn.oneOf(["div", "span", "svg"])
|
|
27757
27754
|
};
|
|
27758
|
-
function
|
|
27755
|
+
function tG(e) {
|
|
27759
27756
|
return /* @__PURE__ */ V.jsx(
|
|
27760
27757
|
"svg",
|
|
27761
27758
|
{
|
|
@@ -27775,7 +27772,7 @@ function eG(e) {
|
|
|
27775
27772
|
}
|
|
27776
27773
|
);
|
|
27777
27774
|
}
|
|
27778
|
-
function
|
|
27775
|
+
function nG(e) {
|
|
27779
27776
|
const { renderChildren: t, parentRef: n, onlyChild: r } = e, [i, s] = $.useState({ top: 0, left: 0 }), a = $.useRef(null), [c, d] = $.useState("auto");
|
|
27780
27777
|
return $.useLayoutEffect(() => {
|
|
27781
27778
|
if (n.current && a.current) {
|
|
@@ -27804,7 +27801,7 @@ function tG(e) {
|
|
|
27804
27801
|
n.current
|
|
27805
27802
|
);
|
|
27806
27803
|
}
|
|
27807
|
-
function
|
|
27804
|
+
function rG(e) {
|
|
27808
27805
|
const { children: t, title: n, hasTooltip: r } = e, i = $.useRef(), [s, a] = $.useState(!1), [c, d] = $.useState({ top: 0, left: 0 });
|
|
27809
27806
|
return (
|
|
27810
27807
|
// Tooltip wrapper
|
|
@@ -27867,7 +27864,7 @@ function lD({ item: e, level: t = 0, ...n }) {
|
|
|
27867
27864
|
onMouseOut: ke,
|
|
27868
27865
|
children: [
|
|
27869
27866
|
/* @__PURE__ */ V.jsx(
|
|
27870
|
-
|
|
27867
|
+
rG,
|
|
27871
27868
|
{
|
|
27872
27869
|
hasTooltip: M || i && t === 1,
|
|
27873
27870
|
children: /* @__PURE__ */ V.jsxs(
|
|
@@ -27887,10 +27884,10 @@ function lD({ item: e, level: t = 0, ...n }) {
|
|
|
27887
27884
|
v && (ve.preventDefault(), i || a(e.id));
|
|
27888
27885
|
},
|
|
27889
27886
|
children: [
|
|
27890
|
-
t !== 0 && /* @__PURE__ */ V.jsx(
|
|
27887
|
+
t !== 0 && /* @__PURE__ */ V.jsx(iG, { cls: m, item: e }),
|
|
27891
27888
|
/* @__PURE__ */ V.jsx("span", { className: m("menu-item__label"), ref: T, children: e.name }),
|
|
27892
27889
|
v && /* @__PURE__ */ V.jsx("div", { className: m("menu-item__icon-arrow__wrapper"), children: /* @__PURE__ */ V.jsx(
|
|
27893
|
-
|
|
27890
|
+
tG,
|
|
27894
27891
|
{
|
|
27895
27892
|
className: m(
|
|
27896
27893
|
`menu-item__icon-arrow__icon ${s(e.id) ? "open" : "close"}`
|
|
@@ -27904,14 +27901,14 @@ function lD({ item: e, level: t = 0, ...n }) {
|
|
|
27904
27901
|
}
|
|
27905
27902
|
),
|
|
27906
27903
|
re && /* @__PURE__ */ V.jsx(
|
|
27907
|
-
|
|
27904
|
+
nG,
|
|
27908
27905
|
{
|
|
27909
27906
|
parentRef: E,
|
|
27910
27907
|
onlyChild: !i || i && le < 2,
|
|
27911
27908
|
renderChildren: ({ maxHeight: ve }) => {
|
|
27912
27909
|
var je;
|
|
27913
27910
|
return /* @__PURE__ */ V.jsx(
|
|
27914
|
-
|
|
27911
|
+
$7.div,
|
|
27915
27912
|
{
|
|
27916
27913
|
className: m(
|
|
27917
27914
|
`menu-item__dropdown ${s(e.id) ? "menu-item__dropdown--open" : "menu-item__dropdown--close"}`,
|
|
@@ -27946,7 +27943,7 @@ function lD({ item: e, level: t = 0, ...n }) {
|
|
|
27946
27943
|
}
|
|
27947
27944
|
);
|
|
27948
27945
|
}
|
|
27949
|
-
function
|
|
27946
|
+
function iG({ item: e, cls: t }) {
|
|
27950
27947
|
var a, c;
|
|
27951
27948
|
const [n, r] = $.useState(!e.icon), i = () => {
|
|
27952
27949
|
r(!0);
|
|
@@ -27985,7 +27982,7 @@ function rG({ item: e, cls: t }) {
|
|
|
27985
27982
|
}
|
|
27986
27983
|
) });
|
|
27987
27984
|
}
|
|
27988
|
-
function
|
|
27985
|
+
function sG() {
|
|
27989
27986
|
return /* @__PURE__ */ V.jsx(
|
|
27990
27987
|
"svg",
|
|
27991
27988
|
{
|
|
@@ -28000,7 +27997,7 @@ function iG() {
|
|
|
28000
27997
|
}
|
|
28001
27998
|
);
|
|
28002
27999
|
}
|
|
28003
|
-
function
|
|
28000
|
+
function oG() {
|
|
28004
28001
|
return /* @__PURE__ */ V.jsx(
|
|
28005
28002
|
"svg",
|
|
28006
28003
|
{
|
|
@@ -28015,7 +28012,7 @@ function sG() {
|
|
|
28015
28012
|
}
|
|
28016
28013
|
);
|
|
28017
28014
|
}
|
|
28018
|
-
function
|
|
28015
|
+
function aG(e) {
|
|
28019
28016
|
return /* @__PURE__ */ V.jsx(
|
|
28020
28017
|
"svg",
|
|
28021
28018
|
{
|
|
@@ -28037,7 +28034,7 @@ function oG(e) {
|
|
|
28037
28034
|
}
|
|
28038
28035
|
);
|
|
28039
28036
|
}
|
|
28040
|
-
const
|
|
28037
|
+
const lG = `.wrap-section{padding:0 8px;transition:all .3s}.wrap-section.collapsed{padding:0 4px}.side-bar{display:flex;flex-direction:column;max-width:18rem;height:calc(100vh - 64px);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:40px 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%}.menu-item__link{display:flex;flex-direction:row;border-radius:.375rem;align-items:center;padding:.5rem;position:relative;height:48px;cursor:pointer;color:#85858a}.menu-item__link:hover{background-color:#919eab14}.menu-item__link.collapsed.level-1{padding-left:calc(.5rem + 7.665px)!important}.menu-item__link.active{background-color:#009d4f1a;color:inherit}.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,.menu-item__link.active.level-10{background-color:inherit;color:inherit}.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-10:hover{background-color:#919eab14}.menu-item__link.level-0{height:37px}.menu-item__link.menu-item__link.collapsed.level-0{padding:0;height:0;transition:all .15s}.menu-item__icon{width:1.5rem;height:1.5rem;flex-shrink:0;display:grid;place-items:center}.menu-item__icon.collapsed.level-1>*{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;color:#292929;opacity:1}.menu-item__label.level-1.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,.menu-item__label.collapsed.level-1{font-size:.875rem;opacity:0;transition-delay:.15s}.menu-item__label.level-0{color:#85858a;margin-left:0}.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__wrapper.level-0.collapsed{display:none}.menu-item__icon-arrow__icon{transition:all .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:180px;max-width:180px;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-1{height:48px}.menu-item__dropdown.collapsed.level-1{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}}
|
|
28041
28038
|
`;
|
|
28042
28039
|
var dl = {};
|
|
28043
28040
|
/**
|
|
@@ -28055,9 +28052,9 @@ function Ye(e) {
|
|
|
28055
28052
|
t += "&args[]=" + encodeURIComponent(arguments[n]);
|
|
28056
28053
|
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.";
|
|
28057
28054
|
}
|
|
28058
|
-
var or = Object.prototype.hasOwnProperty,
|
|
28055
|
+
var or = Object.prototype.hasOwnProperty, uG = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, pS = {}, mS = {};
|
|
28059
28056
|
function cD(e) {
|
|
28060
|
-
return or.call(mS, e) ? !0 : or.call(pS, e) ? !1 :
|
|
28057
|
+
return or.call(mS, e) ? !0 : or.call(pS, e) ? !1 : uG.test(e) ? mS[e] = !0 : (pS[e] = !0, !1);
|
|
28061
28058
|
}
|
|
28062
28059
|
function zn(e, t, n, r, i, s, a) {
|
|
28063
28060
|
this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = i, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = s, this.removeEmptyString = a;
|
|
@@ -28161,18 +28158,18 @@ var Kf = {
|
|
|
28161
28158
|
strokeMiterlimit: !0,
|
|
28162
28159
|
strokeOpacity: !0,
|
|
28163
28160
|
strokeWidth: !0
|
|
28164
|
-
},
|
|
28161
|
+
}, cG = ["Webkit", "ms", "Moz", "O"];
|
|
28165
28162
|
Object.keys(Kf).forEach(function(e) {
|
|
28166
|
-
|
|
28163
|
+
cG.forEach(function(t) {
|
|
28167
28164
|
t = t + e.charAt(0).toUpperCase() + e.substring(1), Kf[t] = Kf[e];
|
|
28168
28165
|
});
|
|
28169
28166
|
});
|
|
28170
|
-
var
|
|
28167
|
+
var fG = /["'&<>]/;
|
|
28171
28168
|
function Hn(e) {
|
|
28172
28169
|
if (typeof e == "boolean" || typeof e == "number")
|
|
28173
28170
|
return "" + e;
|
|
28174
28171
|
e = "" + e;
|
|
28175
|
-
var t =
|
|
28172
|
+
var t = fG.exec(e);
|
|
28176
28173
|
if (t) {
|
|
28177
28174
|
var n = "", r, i = 0;
|
|
28178
28175
|
for (r = t.index; r < e.length; r++) {
|
|
@@ -28201,11 +28198,11 @@ function Hn(e) {
|
|
|
28201
28198
|
}
|
|
28202
28199
|
return e;
|
|
28203
28200
|
}
|
|
28204
|
-
var
|
|
28201
|
+
var dG = /([A-Z])/g, hG = /^ms-/, vy = Array.isArray;
|
|
28205
28202
|
function ps(e, t) {
|
|
28206
28203
|
return { insertionMode: e, selectedValue: t };
|
|
28207
28204
|
}
|
|
28208
|
-
function
|
|
28205
|
+
function pG(e, t, n) {
|
|
28209
28206
|
switch (t) {
|
|
28210
28207
|
case "select":
|
|
28211
28208
|
return ps(1, n.value != null ? n.value : n.defaultValue);
|
|
@@ -28243,7 +28240,7 @@ function fD(e, t, n) {
|
|
|
28243
28240
|
} else {
|
|
28244
28241
|
s = r;
|
|
28245
28242
|
var a = gS.get(s);
|
|
28246
|
-
a !== void 0 || (a = Hn(s.replace(
|
|
28243
|
+
a !== void 0 || (a = Hn(s.replace(dG, "-$1").toLowerCase().replace(hG, "-ms-")), gS.set(s, a)), s = a, i = typeof i == "number" ? i === 0 || or.call(Kf, r) ? "" + i : i + "px" : Hn(("" + i).trim());
|
|
28247
28244
|
}
|
|
28248
28245
|
t ? (t = !1, e.push(' style="', s, ":", i)) : e.push(";", s, ":", i);
|
|
28249
28246
|
}
|
|
@@ -28310,7 +28307,7 @@ function Qf(e, t, n) {
|
|
|
28310
28307
|
t = t.__html, t != null && e.push("" + t);
|
|
28311
28308
|
}
|
|
28312
28309
|
}
|
|
28313
|
-
function
|
|
28310
|
+
function mG(e) {
|
|
28314
28311
|
var t = "";
|
|
28315
28312
|
return uD.Children.forEach(e, function(n) {
|
|
28316
28313
|
n != null && (t += n);
|
|
@@ -28336,17 +28333,17 @@ function hg(e, t, n, r) {
|
|
|
28336
28333
|
}
|
|
28337
28334
|
return e.push(">"), Qf(e, i, n), typeof n == "string" ? (e.push(Hn(n)), null) : n;
|
|
28338
28335
|
}
|
|
28339
|
-
var
|
|
28336
|
+
var gG = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, yS = /* @__PURE__ */ new Map();
|
|
28340
28337
|
function Ni(e) {
|
|
28341
28338
|
var t = yS.get(e);
|
|
28342
28339
|
if (t === void 0) {
|
|
28343
|
-
if (!
|
|
28340
|
+
if (!gG.test(e))
|
|
28344
28341
|
throw Error(Ye(65, e));
|
|
28345
28342
|
t = "<" + e, yS.set(e, t);
|
|
28346
28343
|
}
|
|
28347
28344
|
return t;
|
|
28348
28345
|
}
|
|
28349
|
-
function
|
|
28346
|
+
function yG(e, t, n, r, i) {
|
|
28350
28347
|
switch (t) {
|
|
28351
28348
|
case "select":
|
|
28352
28349
|
e.push(Ni("select"));
|
|
@@ -28394,7 +28391,7 @@ function gG(e, t, n, r, i) {
|
|
|
28394
28391
|
}
|
|
28395
28392
|
}
|
|
28396
28393
|
if (a != null)
|
|
28397
|
-
if (n = d !== null ? "" + d :
|
|
28394
|
+
if (n = d !== null ? "" + d : mG(c), vy(a)) {
|
|
28398
28395
|
for (r = 0; r < a.length; r++)
|
|
28399
28396
|
if ("" + a[r] === n) {
|
|
28400
28397
|
e.push(' selected=""');
|
|
@@ -28587,7 +28584,7 @@ function vS(e, t, n) {
|
|
|
28587
28584
|
throw Error(Ye(395));
|
|
28588
28585
|
return e.push(n), e.push('"></template>');
|
|
28589
28586
|
}
|
|
28590
|
-
function
|
|
28587
|
+
function vG(e, t, n, r) {
|
|
28591
28588
|
switch (n.insertionMode) {
|
|
28592
28589
|
case 0:
|
|
28593
28590
|
case 1:
|
|
@@ -28608,7 +28605,7 @@ function yG(e, t, n, r) {
|
|
|
28608
28605
|
throw Error(Ye(397));
|
|
28609
28606
|
}
|
|
28610
28607
|
}
|
|
28611
|
-
function
|
|
28608
|
+
function bG(e, t) {
|
|
28612
28609
|
switch (t.insertionMode) {
|
|
28613
28610
|
case 0:
|
|
28614
28611
|
case 1:
|
|
@@ -28629,9 +28626,9 @@ function vG(e, t) {
|
|
|
28629
28626
|
throw Error(Ye(397));
|
|
28630
28627
|
}
|
|
28631
28628
|
}
|
|
28632
|
-
var
|
|
28629
|
+
var wG = /[<\u2028\u2029]/g;
|
|
28633
28630
|
function pg(e) {
|
|
28634
|
-
return JSON.stringify(e).replace(
|
|
28631
|
+
return JSON.stringify(e).replace(wG, function(t) {
|
|
28635
28632
|
switch (t) {
|
|
28636
28633
|
case "<":
|
|
28637
28634
|
return "\\u003c";
|
|
@@ -28644,13 +28641,13 @@ function pg(e) {
|
|
|
28644
28641
|
}
|
|
28645
28642
|
});
|
|
28646
28643
|
}
|
|
28647
|
-
function
|
|
28644
|
+
function xG(e, t) {
|
|
28648
28645
|
return t = t === void 0 ? "" : t, { bootstrapChunks: [], startInlineScript: "<script>", placeholderPrefix: t + "P:", segmentPrefix: t + "S:", boundaryPrefix: t + "B:", idPrefix: t, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1, generateStaticMarkup: e };
|
|
28649
28646
|
}
|
|
28650
28647
|
function bS(e, t, n, r) {
|
|
28651
28648
|
return n.generateStaticMarkup ? (e.push(Hn(t)), !1) : (t === "" ? e = r : (r && e.push("<!-- -->"), e.push(Hn(t)), e = !0), e);
|
|
28652
28649
|
}
|
|
28653
|
-
var bu = Object.assign,
|
|
28650
|
+
var bu = Object.assign, SG = Symbol.for("react.element"), dD = Symbol.for("react.portal"), hD = Symbol.for("react.fragment"), pD = Symbol.for("react.strict_mode"), mD = Symbol.for("react.profiler"), gD = Symbol.for("react.provider"), yD = Symbol.for("react.context"), vD = Symbol.for("react.forward_ref"), bD = Symbol.for("react.suspense"), wD = Symbol.for("react.suspense_list"), xD = Symbol.for("react.memo"), bv = Symbol.for("react.lazy"), _G = Symbol.for("react.scope"), CG = Symbol.for("react.debug_trace_mode"), kG = Symbol.for("react.legacy_hidden"), TG = Symbol.for("react.default_value"), wS = Symbol.iterator;
|
|
28654
28651
|
function by(e) {
|
|
28655
28652
|
if (e == null)
|
|
28656
28653
|
return null;
|
|
@@ -28701,7 +28698,7 @@ function xS(e, t) {
|
|
|
28701
28698
|
n[r] = t[r];
|
|
28702
28699
|
return n;
|
|
28703
28700
|
}
|
|
28704
|
-
var
|
|
28701
|
+
var Jo = null;
|
|
28705
28702
|
function op(e, t) {
|
|
28706
28703
|
if (e !== t) {
|
|
28707
28704
|
e.context._currentValue2 = e.parentValue, e = e.parent;
|
|
@@ -28736,8 +28733,8 @@ function TD(e, t) {
|
|
|
28736
28733
|
e.depth === n.depth ? op(e, n) : TD(e, n), t.context._currentValue2 = t.value;
|
|
28737
28734
|
}
|
|
28738
28735
|
function Fd(e) {
|
|
28739
|
-
var t =
|
|
28740
|
-
t !== e && (t === null ? CD(e) : e === null ? _D(t) : t.depth === e.depth ? op(t, e) : t.depth > e.depth ? kD(t, e) : TD(t, e),
|
|
28736
|
+
var t = Jo;
|
|
28737
|
+
t !== e && (t === null ? CD(e) : e === null ? _D(t) : t.depth === e.depth ? op(t, e) : t.depth > e.depth ? kD(t, e) : TD(t, e), Jo = e);
|
|
28741
28738
|
}
|
|
28742
28739
|
var SS = { isMounted: function() {
|
|
28743
28740
|
return !1;
|
|
@@ -28767,7 +28764,7 @@ function _S(e, t, n, r) {
|
|
|
28767
28764
|
else
|
|
28768
28765
|
s.queue = null;
|
|
28769
28766
|
}
|
|
28770
|
-
var
|
|
28767
|
+
var EG = { id: 1, overflow: "" };
|
|
28771
28768
|
function wy(e, t, n) {
|
|
28772
28769
|
var r = e.id;
|
|
28773
28770
|
e = e.overflow;
|
|
@@ -28780,14 +28777,14 @@ function wy(e, t, n) {
|
|
|
28780
28777
|
}
|
|
28781
28778
|
return { id: 1 << s | n << i | r, overflow: e };
|
|
28782
28779
|
}
|
|
28783
|
-
var Xf = Math.clz32 ? Math.clz32 :
|
|
28784
|
-
function
|
|
28785
|
-
return e >>>= 0, e === 0 ? 32 : 31 - (
|
|
28780
|
+
var Xf = Math.clz32 ? Math.clz32 : PG, DG = Math.log, AG = Math.LN2;
|
|
28781
|
+
function PG(e) {
|
|
28782
|
+
return e >>>= 0, e === 0 ? 32 : 31 - (DG(e) / AG | 0) | 0;
|
|
28786
28783
|
}
|
|
28787
|
-
function
|
|
28784
|
+
function OG(e, t) {
|
|
28788
28785
|
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
28789
28786
|
}
|
|
28790
|
-
var
|
|
28787
|
+
var RG = typeof Object.is == "function" ? Object.is : OG, As = null, wv = null, Zf = null, Ct = null, ou = !1, Ld = !1, Lu = 0, uo = null, ap = 0;
|
|
28791
28788
|
function Ho() {
|
|
28792
28789
|
if (As === null)
|
|
28793
28790
|
throw Error(Ye(321));
|
|
@@ -28819,7 +28816,7 @@ function kS(e, t, n) {
|
|
|
28819
28816
|
}
|
|
28820
28817
|
return [Ct.memoizedState, t];
|
|
28821
28818
|
}
|
|
28822
|
-
return e = e === ED ? typeof t == "function" ? t() : t : n !== void 0 ? n(t) : t, Ct.memoizedState = e, e = Ct.queue = { last: null, dispatch: null }, e = e.dispatch =
|
|
28819
|
+
return e = e === ED ? typeof t == "function" ? t() : t : n !== void 0 ? n(t) : t, Ct.memoizedState = e, e = Ct.queue = { last: null, dispatch: null }, e = e.dispatch = MG.bind(null, As, e), [Ct.memoizedState, e];
|
|
28823
28820
|
}
|
|
28824
28821
|
function TS(e, t) {
|
|
28825
28822
|
if (As = Ho(), Ct = xv(), t = t === void 0 ? null : t, Ct !== null) {
|
|
@@ -28831,7 +28828,7 @@ function TS(e, t) {
|
|
|
28831
28828
|
r = !1;
|
|
28832
28829
|
else {
|
|
28833
28830
|
for (var i = 0; i < r.length && i < t.length; i++)
|
|
28834
|
-
if (!
|
|
28831
|
+
if (!RG(t[i], r[i])) {
|
|
28835
28832
|
r = !1;
|
|
28836
28833
|
break e;
|
|
28837
28834
|
}
|
|
@@ -28843,7 +28840,7 @@ function TS(e, t) {
|
|
|
28843
28840
|
}
|
|
28844
28841
|
return e = e(), Ct.memoizedState = [e, t], e;
|
|
28845
28842
|
}
|
|
28846
|
-
function
|
|
28843
|
+
function MG(e, t, n) {
|
|
28847
28844
|
if (25 <= ap)
|
|
28848
28845
|
throw Error(Ye(301));
|
|
28849
28846
|
if (e === As)
|
|
@@ -28855,7 +28852,7 @@ function RG(e, t, n) {
|
|
|
28855
28852
|
t.next = e;
|
|
28856
28853
|
}
|
|
28857
28854
|
}
|
|
28858
|
-
function
|
|
28855
|
+
function IG() {
|
|
28859
28856
|
throw Error(Ye(394));
|
|
28860
28857
|
}
|
|
28861
28858
|
function Df() {
|
|
@@ -28880,7 +28877,7 @@ var ES = { readContext: function(e) {
|
|
|
28880
28877
|
}, useTransition: function() {
|
|
28881
28878
|
return Ho(), [
|
|
28882
28879
|
!1,
|
|
28883
|
-
|
|
28880
|
+
IG
|
|
28884
28881
|
];
|
|
28885
28882
|
}, useId: function() {
|
|
28886
28883
|
var e = wv.treeContext, t = e.overflow;
|
|
@@ -28896,14 +28893,14 @@ var ES = { readContext: function(e) {
|
|
|
28896
28893
|
throw Error(Ye(407));
|
|
28897
28894
|
return n();
|
|
28898
28895
|
} }, Jf = null, mg = uD.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
|
|
28899
|
-
function
|
|
28896
|
+
function NG(e) {
|
|
28900
28897
|
return console.error(e), null;
|
|
28901
28898
|
}
|
|
28902
28899
|
function au() {
|
|
28903
28900
|
}
|
|
28904
|
-
function
|
|
28901
|
+
function FG(e, t, n, r, i, s, a, c, d) {
|
|
28905
28902
|
var p = [], m = /* @__PURE__ */ new Set();
|
|
28906
|
-
return t = { destination: null, responseState: t, progressiveChunkSize: r === void 0 ? 12800 : r, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: m, pingedTasks: p, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: i === void 0 ?
|
|
28903
|
+
return t = { destination: null, responseState: t, progressiveChunkSize: r === void 0 ? 12800 : r, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: m, pingedTasks: p, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: i === void 0 ? NG : i, onAllReady: s === void 0 ? au : s, onShellReady: a === void 0 ? au : a, onShellError: c === void 0 ? au : c, onFatalError: d === void 0 ? au : d }, n = $d(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = _v(t, e, null, n, m, SD, null, EG), p.push(e), t;
|
|
28907
28904
|
}
|
|
28908
28905
|
function _v(e, t, n, r, i, s, a, c) {
|
|
28909
28906
|
e.allPendingTasks++, n === null ? e.pendingRootTasks++ : n.pendingTasks++;
|
|
@@ -28978,7 +28975,7 @@ function xy(e, t, n, r, i) {
|
|
|
28978
28975
|
_r(e, t, i);
|
|
28979
28976
|
}
|
|
28980
28977
|
else if (typeof n == "string") {
|
|
28981
|
-
switch (i = t.blockedSegment, s =
|
|
28978
|
+
switch (i = t.blockedSegment, s = yG(i.chunks, n, r, e.responseState, i.formatContext), i.lastPushedText = !1, a = i.formatContext, i.formatContext = pG(a, n, r), Sy(e, t, s), i.formatContext = a, n) {
|
|
28982
28979
|
case "area":
|
|
28983
28980
|
case "base":
|
|
28984
28981
|
case "br":
|
|
@@ -29001,8 +28998,8 @@ function xy(e, t, n, r, i) {
|
|
|
29001
28998
|
i.lastPushedText = !1;
|
|
29002
28999
|
} else {
|
|
29003
29000
|
switch (n) {
|
|
29001
|
+
case kG:
|
|
29004
29002
|
case CG:
|
|
29005
|
-
case _G:
|
|
29006
29003
|
case pD:
|
|
29007
29004
|
case mD:
|
|
29008
29005
|
case hD:
|
|
@@ -29011,7 +29008,7 @@ function xy(e, t, n, r, i) {
|
|
|
29011
29008
|
case wD:
|
|
29012
29009
|
_r(e, t, r.children);
|
|
29013
29010
|
return;
|
|
29014
|
-
case
|
|
29011
|
+
case _G:
|
|
29015
29012
|
throw Error(Ye(343));
|
|
29016
29013
|
case bD:
|
|
29017
29014
|
e: {
|
|
@@ -29053,9 +29050,9 @@ function xy(e, t, n, r, i) {
|
|
|
29053
29050
|
n = n.type, r = PS(n, r), xy(e, t, n, r, i);
|
|
29054
29051
|
return;
|
|
29055
29052
|
case gD:
|
|
29056
|
-
if (i = r.children, n = n._context, r = r.value, s = n._currentValue2, n._currentValue2 = r, a =
|
|
29053
|
+
if (i = r.children, n = n._context, r = r.value, s = n._currentValue2, n._currentValue2 = r, a = Jo, Jo = r = { parent: a, depth: a === null ? 0 : a.depth + 1, context: n, parentValue: s, value: r }, t.context = r, _r(e, t, i), e = Jo, e === null)
|
|
29057
29054
|
throw Error(Ye(403));
|
|
29058
|
-
r = e.parentValue, e.context._currentValue2 = r ===
|
|
29055
|
+
r = e.parentValue, e.context._currentValue2 = r === TG ? e.context._defaultValue : r, e = Jo = e.parent, t.context = e;
|
|
29059
29056
|
return;
|
|
29060
29057
|
case yD:
|
|
29061
29058
|
r = r.children, r = r(n._currentValue2), _r(e, t, r);
|
|
@@ -29076,7 +29073,7 @@ function xy(e, t, n, r, i) {
|
|
|
29076
29073
|
function _r(e, t, n) {
|
|
29077
29074
|
if (t.node = n, typeof n == "object" && n !== null) {
|
|
29078
29075
|
switch (n.$$typeof) {
|
|
29079
|
-
case
|
|
29076
|
+
case SG:
|
|
29080
29077
|
xy(e, t, n.type, n.props, n.ref);
|
|
29081
29078
|
return;
|
|
29082
29079
|
case dD:
|
|
@@ -29128,7 +29125,7 @@ function Sy(e, t, n) {
|
|
|
29128
29125
|
throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = s, Fd(s), d;
|
|
29129
29126
|
}
|
|
29130
29127
|
}
|
|
29131
|
-
function
|
|
29128
|
+
function LG(e) {
|
|
29132
29129
|
var t = e.blockedBoundary;
|
|
29133
29130
|
e = e.blockedSegment, e.status = 3, AD(this, t, e);
|
|
29134
29131
|
}
|
|
@@ -29154,12 +29151,12 @@ function AD(e, t, n) {
|
|
|
29154
29151
|
}
|
|
29155
29152
|
e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = au, t = e.onShellReady, t());
|
|
29156
29153
|
} else
|
|
29157
|
-
t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && Bd(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(
|
|
29154
|
+
t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && Bd(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(LG, e), t.fallbackAbortableTasks.clear()) : n.parentFlushed && n.status === 1 && (Bd(t, n), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
|
|
29158
29155
|
e.allPendingTasks--, e.allPendingTasks === 0 && (e = e.onAllReady, e());
|
|
29159
29156
|
}
|
|
29160
29157
|
function PD(e) {
|
|
29161
29158
|
if (e.status !== 2) {
|
|
29162
|
-
var t =
|
|
29159
|
+
var t = Jo, n = mg.current;
|
|
29163
29160
|
mg.current = ES;
|
|
29164
29161
|
var r = Jf;
|
|
29165
29162
|
Jf = e.responseState;
|
|
@@ -29236,7 +29233,7 @@ function lp(e, t, n) {
|
|
|
29236
29233
|
return lp(e, t, n[0]), e = e.responseState.generateStaticMarkup ? !0 : t.push("<!--/$-->"), e;
|
|
29237
29234
|
}
|
|
29238
29235
|
function RS(e, t, n) {
|
|
29239
|
-
return
|
|
29236
|
+
return vG(t, e.responseState, n.formatContext, n.id), lp(e, t, n), bG(t, n.formatContext);
|
|
29240
29237
|
}
|
|
29241
29238
|
function MS(e, t, n) {
|
|
29242
29239
|
for (var r = n.completedSegments, i = 0; i < r.length; i++)
|
|
@@ -29332,7 +29329,7 @@ function Cv(e, t) {
|
|
|
29332
29329
|
e.allPendingTasks === 0 && e.pingedTasks.length === 0 && e.clientRenderedBoundaries.length === 0 && e.completedBoundaries.length === 0 && t.push(null);
|
|
29333
29330
|
}
|
|
29334
29331
|
}
|
|
29335
|
-
function
|
|
29332
|
+
function $G(e, t) {
|
|
29336
29333
|
try {
|
|
29337
29334
|
var n = e.abortableTasks;
|
|
29338
29335
|
n.forEach(function(r) {
|
|
@@ -29342,7 +29339,7 @@ function LG(e, t) {
|
|
|
29342
29339
|
$u(e, r), jd(e, r);
|
|
29343
29340
|
}
|
|
29344
29341
|
}
|
|
29345
|
-
function
|
|
29342
|
+
function jG() {
|
|
29346
29343
|
}
|
|
29347
29344
|
function RD(e, t, n, r) {
|
|
29348
29345
|
var i = !1, s = null, a = "", c = { push: function(p) {
|
|
@@ -29350,9 +29347,9 @@ function RD(e, t, n, r) {
|
|
|
29350
29347
|
}, destroy: function(p) {
|
|
29351
29348
|
i = !0, s = p;
|
|
29352
29349
|
} }, d = !1;
|
|
29353
|
-
if (e =
|
|
29350
|
+
if (e = FG(e, xG(n, t ? t.identifierPrefix : void 0), { insertionMode: 1, selectedValue: null }, 1 / 0, jG, void 0, function() {
|
|
29354
29351
|
d = !0;
|
|
29355
|
-
}, void 0, void 0), PD(e),
|
|
29352
|
+
}, void 0, void 0), PD(e), $G(e, r), e.status === 1)
|
|
29356
29353
|
e.status = 2, c.destroy(e.fatalError);
|
|
29357
29354
|
else if (e.status !== 2 && e.destination === null) {
|
|
29358
29355
|
e.destination = c;
|
|
@@ -29423,9 +29420,9 @@ function ye(e) {
|
|
|
29423
29420
|
function ND(e, t) {
|
|
29424
29421
|
typeof e.error == "function" ? e.error(t) : e.close();
|
|
29425
29422
|
}
|
|
29426
|
-
var ar = Object.prototype.hasOwnProperty,
|
|
29423
|
+
var ar = Object.prototype.hasOwnProperty, BG = /^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/, NS = {}, FS = {};
|
|
29427
29424
|
function FD(e) {
|
|
29428
|
-
return ar.call(FS, e) ? !0 : ar.call(NS, e) ? !1 :
|
|
29425
|
+
return ar.call(FS, e) ? !0 : ar.call(NS, e) ? !1 : BG.test(e) ? FS[e] = !0 : (NS[e] = !0, !1);
|
|
29429
29426
|
}
|
|
29430
29427
|
function Yn(e, t, n, r, i, s, a) {
|
|
29431
29428
|
this.acceptsBooleans = t === 2 || t === 3 || t === 4, this.attributeName = r, this.attributeNamespace = i, this.mustUseProperty = n, this.propertyName = e, this.type = t, this.sanitizeURL = s, this.removeEmptyString = a;
|
|
@@ -29529,18 +29526,18 @@ var ed = {
|
|
|
29529
29526
|
strokeMiterlimit: !0,
|
|
29530
29527
|
strokeOpacity: !0,
|
|
29531
29528
|
strokeWidth: !0
|
|
29532
|
-
},
|
|
29529
|
+
}, WG = ["Webkit", "ms", "Moz", "O"];
|
|
29533
29530
|
Object.keys(ed).forEach(function(e) {
|
|
29534
|
-
|
|
29531
|
+
WG.forEach(function(t) {
|
|
29535
29532
|
t = t + e.charAt(0).toUpperCase() + e.substring(1), ed[t] = ed[e];
|
|
29536
29533
|
});
|
|
29537
29534
|
});
|
|
29538
|
-
var
|
|
29535
|
+
var VG = /["'&<>]/;
|
|
29539
29536
|
function xn(e) {
|
|
29540
29537
|
if (typeof e == "boolean" || typeof e == "number")
|
|
29541
29538
|
return "" + e;
|
|
29542
29539
|
e = "" + e;
|
|
29543
|
-
var t =
|
|
29540
|
+
var t = VG.exec(e);
|
|
29544
29541
|
if (t) {
|
|
29545
29542
|
var n = "", r, i = 0;
|
|
29546
29543
|
for (r = t.index; r < e.length; r++) {
|
|
@@ -29569,28 +29566,28 @@ function xn(e) {
|
|
|
29569
29566
|
}
|
|
29570
29567
|
return e;
|
|
29571
29568
|
}
|
|
29572
|
-
var
|
|
29573
|
-
function
|
|
29569
|
+
var UG = /([A-Z])/g, HG = /^ms-/, _y = Array.isArray, zG = ye("<script>"), YG = ye("<\/script>"), qG = ye('<script src="'), GG = ye('<script type="module" src="'), LS = ye('" async=""><\/script>'), KG = /(<\/|<)(s)(cript)/gi;
|
|
29570
|
+
function QG(e, t, n, r) {
|
|
29574
29571
|
return "" + t + (n === "s" ? "\\u0073" : "\\u0053") + r;
|
|
29575
29572
|
}
|
|
29576
|
-
function
|
|
29577
|
-
e = e === void 0 ? "" : e, t = t === void 0 ?
|
|
29573
|
+
function XG(e, t, n, r, i) {
|
|
29574
|
+
e = e === void 0 ? "" : e, t = t === void 0 ? zG : ye('<script nonce="' + xn(t) + '">');
|
|
29578
29575
|
var s = [];
|
|
29579
|
-
if (n !== void 0 && s.push(t, nt(("" + n).replace(
|
|
29576
|
+
if (n !== void 0 && s.push(t, nt(("" + n).replace(KG, QG)), YG), r !== void 0)
|
|
29580
29577
|
for (n = 0; n < r.length; n++)
|
|
29581
|
-
s.push(
|
|
29578
|
+
s.push(qG, nt(xn(r[n])), LS);
|
|
29582
29579
|
if (i !== void 0)
|
|
29583
29580
|
for (r = 0; r < i.length; r++)
|
|
29584
|
-
s.push(
|
|
29581
|
+
s.push(GG, nt(xn(i[r])), LS);
|
|
29585
29582
|
return { bootstrapChunks: s, startInlineScript: t, placeholderPrefix: ye(e + "P:"), segmentPrefix: ye(e + "S:"), boundaryPrefix: e + "B:", idPrefix: e, nextSuspenseID: 0, sentCompleteSegmentFunction: !1, sentCompleteBoundaryFunction: !1, sentClientRenderFunction: !1 };
|
|
29586
29583
|
}
|
|
29587
29584
|
function Fi(e, t) {
|
|
29588
29585
|
return { insertionMode: e, selectedValue: t };
|
|
29589
29586
|
}
|
|
29590
|
-
function
|
|
29587
|
+
function ZG(e) {
|
|
29591
29588
|
return Fi(e === "http://www.w3.org/2000/svg" ? 2 : e === "http://www.w3.org/1998/Math/MathML" ? 3 : 0, null);
|
|
29592
29589
|
}
|
|
29593
|
-
function
|
|
29590
|
+
function JG(e, t, n) {
|
|
29594
29591
|
switch (t) {
|
|
29595
29592
|
case "select":
|
|
29596
29593
|
return Fi(1, n.value != null ? n.value : n.defaultValue);
|
|
@@ -29617,7 +29614,7 @@ var Dv = ye("<!-- -->");
|
|
|
29617
29614
|
function $S(e, t, n, r) {
|
|
29618
29615
|
return t === "" ? r : (r && e.push(Dv), e.push(nt(xn(t))), !0);
|
|
29619
29616
|
}
|
|
29620
|
-
var jS = /* @__PURE__ */ new Map(),
|
|
29617
|
+
var jS = /* @__PURE__ */ new Map(), eK = ye(' style="'), BS = ye(":"), tK = ye(";");
|
|
29621
29618
|
function LD(e, t, n) {
|
|
29622
29619
|
if (typeof n != "object")
|
|
29623
29620
|
throw Error(Je(62));
|
|
@@ -29632,9 +29629,9 @@ function LD(e, t, n) {
|
|
|
29632
29629
|
} else {
|
|
29633
29630
|
s = r;
|
|
29634
29631
|
var a = jS.get(s);
|
|
29635
|
-
a !== void 0 || (a = ye(xn(s.replace(
|
|
29632
|
+
a !== void 0 || (a = ye(xn(s.replace(UG, "-$1").toLowerCase().replace(HG, "-ms-"))), jS.set(s, a)), s = a, i = typeof i == "number" ? i === 0 || ar.call(ed, r) ? nt("" + i) : nt(i + "px") : nt(xn(("" + i).trim()));
|
|
29636
29633
|
}
|
|
29637
|
-
t ? (t = !1, e.push(
|
|
29634
|
+
t ? (t = !1, e.push(eK, s, BS, i)) : e.push(tK, s, BS, i);
|
|
29638
29635
|
}
|
|
29639
29636
|
}
|
|
29640
29637
|
t || e.push(zo);
|
|
@@ -29701,7 +29698,7 @@ function td(e, t, n) {
|
|
|
29701
29698
|
t = t.__html, t != null && e.push(nt("" + t));
|
|
29702
29699
|
}
|
|
29703
29700
|
}
|
|
29704
|
-
function
|
|
29701
|
+
function nK(e) {
|
|
29705
29702
|
var t = "";
|
|
29706
29703
|
return MD.Children.forEach(e, function(n) {
|
|
29707
29704
|
n != null && (t += n);
|
|
@@ -29729,18 +29726,18 @@ function yg(e, t, n, r) {
|
|
|
29729
29726
|
return e.push(no), td(e, i, n), typeof n == "string" ? (e.push(nt(xn(n))), null) : n;
|
|
29730
29727
|
}
|
|
29731
29728
|
var vg = ye(`
|
|
29732
|
-
`),
|
|
29729
|
+
`), rK = /^[a-zA-Z][a-zA-Z:_\.\-\d]*$/, US = /* @__PURE__ */ new Map();
|
|
29733
29730
|
function Li(e) {
|
|
29734
29731
|
var t = US.get(e);
|
|
29735
29732
|
if (t === void 0) {
|
|
29736
|
-
if (!
|
|
29733
|
+
if (!rK.test(e))
|
|
29737
29734
|
throw Error(Je(65, e));
|
|
29738
29735
|
t = ye("<" + e), US.set(e, t);
|
|
29739
29736
|
}
|
|
29740
29737
|
return t;
|
|
29741
29738
|
}
|
|
29742
|
-
var
|
|
29743
|
-
function
|
|
29739
|
+
var iK = ye("<!DOCTYPE html>");
|
|
29740
|
+
function sK(e, t, n, r, i) {
|
|
29744
29741
|
switch (t) {
|
|
29745
29742
|
case "select":
|
|
29746
29743
|
e.push(Li("select"));
|
|
@@ -29788,7 +29785,7 @@ function iK(e, t, n, r, i) {
|
|
|
29788
29785
|
}
|
|
29789
29786
|
}
|
|
29790
29787
|
if (a != null)
|
|
29791
|
-
if (n = d !== null ? "" + d :
|
|
29788
|
+
if (n = d !== null ? "" + d : nK(c), _y(a)) {
|
|
29792
29789
|
for (r = 0; r < a.length; r++)
|
|
29793
29790
|
if ("" + a[r] === n) {
|
|
29794
29791
|
e.push(gg);
|
|
@@ -29942,7 +29939,7 @@ function iK(e, t, n, r, i) {
|
|
|
29942
29939
|
case "missing-glyph":
|
|
29943
29940
|
return yg(e, n, t, r);
|
|
29944
29941
|
case "html":
|
|
29945
|
-
return i.insertionMode === 0 && e.push(
|
|
29942
|
+
return i.insertionMode === 0 && e.push(iK), yg(e, n, t, r);
|
|
29946
29943
|
default:
|
|
29947
29944
|
if (t.indexOf("-") === -1 && typeof n.is != "string")
|
|
29948
29945
|
return yg(e, n, t, r);
|
|
@@ -29968,64 +29965,64 @@ function iK(e, t, n, r, i) {
|
|
|
29968
29965
|
return e.push(no), td(e, a, s), s;
|
|
29969
29966
|
}
|
|
29970
29967
|
}
|
|
29971
|
-
var
|
|
29968
|
+
var oK = ye("</"), aK = ye(">"), lK = ye('<template id="'), uK = ye('"></template>'), cK = ye("<!--$-->"), fK = ye('<!--$?--><template id="'), dK = ye('"></template>'), hK = ye("<!--$!-->"), pK = ye("<!--/$-->"), mK = ye("<template"), gK = ye('"'), yK = ye(' data-dgst="');
|
|
29972
29969
|
ye(' data-msg="');
|
|
29973
29970
|
ye(' data-stck="');
|
|
29974
|
-
var
|
|
29971
|
+
var vK = ye("></template>");
|
|
29975
29972
|
function HS(e, t, n) {
|
|
29976
|
-
if (Ee(e,
|
|
29973
|
+
if (Ee(e, fK), n === null)
|
|
29977
29974
|
throw Error(Je(395));
|
|
29978
|
-
return Ee(e, n), Dt(e,
|
|
29975
|
+
return Ee(e, n), Dt(e, dK);
|
|
29979
29976
|
}
|
|
29980
|
-
var
|
|
29981
|
-
function
|
|
29977
|
+
var bK = ye('<div hidden id="'), wK = ye('">'), xK = ye("</div>"), SK = ye('<svg aria-hidden="true" style="display:none" id="'), _K = ye('">'), CK = ye("</svg>"), kK = ye('<math aria-hidden="true" style="display:none" id="'), TK = ye('">'), EK = ye("</math>"), DK = ye('<table hidden id="'), AK = ye('">'), PK = ye("</table>"), OK = ye('<table hidden><tbody id="'), RK = ye('">'), MK = ye("</tbody></table>"), IK = ye('<table hidden><tr id="'), NK = ye('">'), FK = ye("</tr></table>"), LK = ye('<table hidden><colgroup id="'), $K = ye('">'), jK = ye("</colgroup></table>");
|
|
29978
|
+
function BK(e, t, n, r) {
|
|
29982
29979
|
switch (n.insertionMode) {
|
|
29983
29980
|
case 0:
|
|
29984
29981
|
case 1:
|
|
29985
|
-
return Ee(e,
|
|
29982
|
+
return Ee(e, bK), Ee(e, t.segmentPrefix), Ee(e, nt(r.toString(16))), Dt(e, wK);
|
|
29986
29983
|
case 2:
|
|
29987
|
-
return Ee(e,
|
|
29984
|
+
return Ee(e, SK), Ee(e, t.segmentPrefix), Ee(e, nt(r.toString(16))), Dt(e, _K);
|
|
29988
29985
|
case 3:
|
|
29989
|
-
return Ee(e,
|
|
29986
|
+
return Ee(e, kK), Ee(e, t.segmentPrefix), Ee(e, nt(r.toString(16))), Dt(e, TK);
|
|
29990
29987
|
case 4:
|
|
29991
|
-
return Ee(e,
|
|
29988
|
+
return Ee(e, DK), Ee(e, t.segmentPrefix), Ee(e, nt(r.toString(16))), Dt(e, AK);
|
|
29992
29989
|
case 5:
|
|
29993
|
-
return Ee(e,
|
|
29990
|
+
return Ee(e, OK), Ee(e, t.segmentPrefix), Ee(e, nt(r.toString(16))), Dt(e, RK);
|
|
29994
29991
|
case 6:
|
|
29995
|
-
return Ee(e,
|
|
29992
|
+
return Ee(e, IK), Ee(e, t.segmentPrefix), Ee(e, nt(r.toString(16))), Dt(e, NK);
|
|
29996
29993
|
case 7:
|
|
29997
29994
|
return Ee(
|
|
29998
29995
|
e,
|
|
29999
|
-
|
|
30000
|
-
), Ee(e, t.segmentPrefix), Ee(e, nt(r.toString(16))), Dt(e,
|
|
29996
|
+
LK
|
|
29997
|
+
), Ee(e, t.segmentPrefix), Ee(e, nt(r.toString(16))), Dt(e, $K);
|
|
30001
29998
|
default:
|
|
30002
29999
|
throw Error(Je(397));
|
|
30003
30000
|
}
|
|
30004
30001
|
}
|
|
30005
|
-
function
|
|
30002
|
+
function WK(e, t) {
|
|
30006
30003
|
switch (t.insertionMode) {
|
|
30007
30004
|
case 0:
|
|
30008
30005
|
case 1:
|
|
30009
|
-
return Dt(e,
|
|
30006
|
+
return Dt(e, xK);
|
|
30010
30007
|
case 2:
|
|
30011
|
-
return Dt(e,
|
|
30008
|
+
return Dt(e, CK);
|
|
30012
30009
|
case 3:
|
|
30013
|
-
return Dt(e,
|
|
30010
|
+
return Dt(e, EK);
|
|
30014
30011
|
case 4:
|
|
30015
|
-
return Dt(e,
|
|
30012
|
+
return Dt(e, PK);
|
|
30016
30013
|
case 5:
|
|
30017
|
-
return Dt(e,
|
|
30014
|
+
return Dt(e, MK);
|
|
30018
30015
|
case 6:
|
|
30019
|
-
return Dt(e,
|
|
30016
|
+
return Dt(e, FK);
|
|
30020
30017
|
case 7:
|
|
30021
|
-
return Dt(e,
|
|
30018
|
+
return Dt(e, jK);
|
|
30022
30019
|
default:
|
|
30023
30020
|
throw Error(Je(397));
|
|
30024
30021
|
}
|
|
30025
30022
|
}
|
|
30026
|
-
var
|
|
30023
|
+
var VK = ye('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'), UK = ye('$RS("'), HK = ye('","'), zK = ye('")<\/script>'), YK = ye('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'), qK = ye('$RC("'), GK = ye('","'), KK = ye('")<\/script>'), QK = ye('function $RX(b,c,d,e){var a=document.getElementById(b);a&&(b=a.previousSibling,b.data="$!",a=a.dataset,c&&(a.dgst=c),d&&(a.msg=d),e&&(a.stck=e),b._reactRetry&&b._reactRetry())};$RX("'), XK = ye('$RX("'), ZK = ye('"'), JK = ye(")<\/script>"), bg = ye(","), eQ = /[<\u2028\u2029]/g;
|
|
30027
30024
|
function wg(e) {
|
|
30028
|
-
return JSON.stringify(e).replace(
|
|
30025
|
+
return JSON.stringify(e).replace(eQ, function(t) {
|
|
30029
30026
|
switch (t) {
|
|
30030
30027
|
case "<":
|
|
30031
30028
|
return "\\u003c";
|
|
@@ -30038,7 +30035,7 @@ function wg(e) {
|
|
|
30038
30035
|
}
|
|
30039
30036
|
});
|
|
30040
30037
|
}
|
|
30041
|
-
var wu = Object.assign,
|
|
30038
|
+
var wu = Object.assign, tQ = Symbol.for("react.element"), $D = Symbol.for("react.portal"), jD = Symbol.for("react.fragment"), BD = Symbol.for("react.strict_mode"), WD = Symbol.for("react.profiler"), VD = Symbol.for("react.provider"), UD = Symbol.for("react.context"), HD = Symbol.for("react.forward_ref"), zD = Symbol.for("react.suspense"), YD = Symbol.for("react.suspense_list"), qD = Symbol.for("react.memo"), Av = Symbol.for("react.lazy"), nQ = Symbol.for("react.scope"), rQ = Symbol.for("react.debug_trace_mode"), iQ = Symbol.for("react.legacy_hidden"), sQ = Symbol.for("react.default_value"), zS = Symbol.iterator;
|
|
30042
30039
|
function Cy(e) {
|
|
30043
30040
|
if (e == null)
|
|
30044
30041
|
return null;
|
|
@@ -30089,7 +30086,7 @@ function YS(e, t) {
|
|
|
30089
30086
|
n[r] = t[r];
|
|
30090
30087
|
return n;
|
|
30091
30088
|
}
|
|
30092
|
-
var
|
|
30089
|
+
var ea = null;
|
|
30093
30090
|
function up(e, t) {
|
|
30094
30091
|
if (e !== t) {
|
|
30095
30092
|
e.context._currentValue = e.parentValue, e = e.parent;
|
|
@@ -30124,8 +30121,8 @@ function ZD(e, t) {
|
|
|
30124
30121
|
e.depth === n.depth ? up(e, n) : ZD(e, n), t.context._currentValue = t.value;
|
|
30125
30122
|
}
|
|
30126
30123
|
function Wd(e) {
|
|
30127
|
-
var t =
|
|
30128
|
-
t !== e && (t === null ? QD(e) : e === null ? KD(t) : t.depth === e.depth ? up(t, e) : t.depth > e.depth ? XD(t, e) : ZD(t, e),
|
|
30124
|
+
var t = ea;
|
|
30125
|
+
t !== e && (t === null ? QD(e) : e === null ? KD(t) : t.depth === e.depth ? up(t, e) : t.depth > e.depth ? XD(t, e) : ZD(t, e), ea = e);
|
|
30129
30126
|
}
|
|
30130
30127
|
var qS = { isMounted: function() {
|
|
30131
30128
|
return !1;
|
|
@@ -30155,7 +30152,7 @@ function GS(e, t, n, r) {
|
|
|
30155
30152
|
else
|
|
30156
30153
|
s.queue = null;
|
|
30157
30154
|
}
|
|
30158
|
-
var
|
|
30155
|
+
var oQ = { id: 1, overflow: "" };
|
|
30159
30156
|
function ky(e, t, n) {
|
|
30160
30157
|
var r = e.id;
|
|
30161
30158
|
e = e.overflow;
|
|
@@ -30168,14 +30165,14 @@ function ky(e, t, n) {
|
|
|
30168
30165
|
}
|
|
30169
30166
|
return { id: 1 << s | n << i | r, overflow: e };
|
|
30170
30167
|
}
|
|
30171
|
-
var nd = Math.clz32 ? Math.clz32 :
|
|
30172
|
-
function
|
|
30173
|
-
return e >>>= 0, e === 0 ? 32 : 31 - (
|
|
30168
|
+
var nd = Math.clz32 ? Math.clz32 : uQ, aQ = Math.log, lQ = Math.LN2;
|
|
30169
|
+
function uQ(e) {
|
|
30170
|
+
return e >>>= 0, e === 0 ? 32 : 31 - (aQ(e) / lQ | 0) | 0;
|
|
30174
30171
|
}
|
|
30175
|
-
function
|
|
30172
|
+
function cQ(e, t) {
|
|
30176
30173
|
return e === t && (e !== 0 || 1 / e === 1 / t) || e !== e && t !== t;
|
|
30177
30174
|
}
|
|
30178
|
-
var
|
|
30175
|
+
var fQ = typeof Object.is == "function" ? Object.is : cQ, Ps = null, Pv = null, rd = null, kt = null, lu = !1, Vd = !1, ju = 0, co = null, cp = 0;
|
|
30179
30176
|
function Yo() {
|
|
30180
30177
|
if (Ps === null)
|
|
30181
30178
|
throw Error(Je(321));
|
|
@@ -30207,7 +30204,7 @@ function QS(e, t, n) {
|
|
|
30207
30204
|
}
|
|
30208
30205
|
return [kt.memoizedState, t];
|
|
30209
30206
|
}
|
|
30210
|
-
return e = e === JD ? typeof t == "function" ? t() : t : n !== void 0 ? n(t) : t, kt.memoizedState = e, e = kt.queue = { last: null, dispatch: null }, e = e.dispatch =
|
|
30207
|
+
return e = e === JD ? typeof t == "function" ? t() : t : n !== void 0 ? n(t) : t, kt.memoizedState = e, e = kt.queue = { last: null, dispatch: null }, e = e.dispatch = dQ.bind(null, Ps, e), [kt.memoizedState, e];
|
|
30211
30208
|
}
|
|
30212
30209
|
function XS(e, t) {
|
|
30213
30210
|
if (Ps = Yo(), kt = Ov(), t = t === void 0 ? null : t, kt !== null) {
|
|
@@ -30219,7 +30216,7 @@ function XS(e, t) {
|
|
|
30219
30216
|
r = !1;
|
|
30220
30217
|
else {
|
|
30221
30218
|
for (var i = 0; i < r.length && i < t.length; i++)
|
|
30222
|
-
if (!
|
|
30219
|
+
if (!fQ(t[i], r[i])) {
|
|
30223
30220
|
r = !1;
|
|
30224
30221
|
break e;
|
|
30225
30222
|
}
|
|
@@ -30231,7 +30228,7 @@ function XS(e, t) {
|
|
|
30231
30228
|
}
|
|
30232
30229
|
return e = e(), kt.memoizedState = [e, t], e;
|
|
30233
30230
|
}
|
|
30234
|
-
function
|
|
30231
|
+
function dQ(e, t, n) {
|
|
30235
30232
|
if (25 <= cp)
|
|
30236
30233
|
throw Error(Je(301));
|
|
30237
30234
|
if (e === Ps)
|
|
@@ -30243,7 +30240,7 @@ function fQ(e, t, n) {
|
|
|
30243
30240
|
t.next = e;
|
|
30244
30241
|
}
|
|
30245
30242
|
}
|
|
30246
|
-
function
|
|
30243
|
+
function hQ() {
|
|
30247
30244
|
throw Error(Je(394));
|
|
30248
30245
|
}
|
|
30249
30246
|
function Pf() {
|
|
@@ -30266,7 +30263,7 @@ var ZS = { readContext: function(e) {
|
|
|
30266
30263
|
}, useImperativeHandle: Pf, useEffect: Pf, useDebugValue: Pf, useDeferredValue: function(e) {
|
|
30267
30264
|
return Yo(), e;
|
|
30268
30265
|
}, useTransition: function() {
|
|
30269
|
-
return Yo(), [!1,
|
|
30266
|
+
return Yo(), [!1, hQ];
|
|
30270
30267
|
}, useId: function() {
|
|
30271
30268
|
var e = Pv.treeContext, t = e.overflow;
|
|
30272
30269
|
e = e.id, e = (e & ~(1 << 32 - nd(e) - 1)).toString(32) + t;
|
|
@@ -30281,14 +30278,14 @@ var ZS = { readContext: function(e) {
|
|
|
30281
30278
|
throw Error(Je(407));
|
|
30282
30279
|
return n();
|
|
30283
30280
|
} }, id = null, xg = MD.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;
|
|
30284
|
-
function
|
|
30281
|
+
function pQ(e) {
|
|
30285
30282
|
return console.error(e), null;
|
|
30286
30283
|
}
|
|
30287
30284
|
function uu() {
|
|
30288
30285
|
}
|
|
30289
|
-
function
|
|
30286
|
+
function mQ(e, t, n, r, i, s, a, c, d) {
|
|
30290
30287
|
var p = [], m = /* @__PURE__ */ new Set();
|
|
30291
|
-
return t = { destination: null, responseState: t, progressiveChunkSize: r === void 0 ? 12800 : r, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: m, pingedTasks: p, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: i === void 0 ?
|
|
30288
|
+
return t = { destination: null, responseState: t, progressiveChunkSize: r === void 0 ? 12800 : r, status: 0, fatalError: null, nextSegmentId: 0, allPendingTasks: 0, pendingRootTasks: 0, completedRootSegment: null, abortableTasks: m, pingedTasks: p, clientRenderedBoundaries: [], completedBoundaries: [], partialBoundaries: [], onError: i === void 0 ? pQ : i, onAllReady: s === void 0 ? uu : s, onShellReady: a === void 0 ? uu : a, onShellError: c === void 0 ? uu : c, onFatalError: d === void 0 ? uu : d }, n = Ud(t, 0, null, n, !1, !1), n.parentFlushed = !0, e = Mv(t, e, null, n, m, GD, null, oQ), p.push(e), t;
|
|
30292
30289
|
}
|
|
30293
30290
|
function Mv(e, t, n, r, i, s, a, c) {
|
|
30294
30291
|
e.allPendingTasks++, n === null ? e.pendingRootTasks++ : n.pendingTasks++;
|
|
@@ -30363,7 +30360,7 @@ function Ty(e, t, n, r, i) {
|
|
|
30363
30360
|
Tr(e, t, i);
|
|
30364
30361
|
}
|
|
30365
30362
|
else if (typeof n == "string") {
|
|
30366
|
-
switch (i = t.blockedSegment, s =
|
|
30363
|
+
switch (i = t.blockedSegment, s = sK(i.chunks, n, r, e.responseState, i.formatContext), i.lastPushedText = !1, a = i.formatContext, i.formatContext = JG(a, n, r), Ey(e, t, s), i.formatContext = a, n) {
|
|
30367
30364
|
case "area":
|
|
30368
30365
|
case "base":
|
|
30369
30366
|
case "br":
|
|
@@ -30381,13 +30378,13 @@ function Ty(e, t, n, r, i) {
|
|
|
30381
30378
|
case "wbr":
|
|
30382
30379
|
break;
|
|
30383
30380
|
default:
|
|
30384
|
-
i.chunks.push(
|
|
30381
|
+
i.chunks.push(oK, nt(n), aK);
|
|
30385
30382
|
}
|
|
30386
30383
|
i.lastPushedText = !1;
|
|
30387
30384
|
} else {
|
|
30388
30385
|
switch (n) {
|
|
30386
|
+
case iQ:
|
|
30389
30387
|
case rQ:
|
|
30390
|
-
case nQ:
|
|
30391
30388
|
case BD:
|
|
30392
30389
|
case WD:
|
|
30393
30390
|
case jD:
|
|
@@ -30396,7 +30393,7 @@ function Ty(e, t, n, r, i) {
|
|
|
30396
30393
|
case YD:
|
|
30397
30394
|
Tr(e, t, r.children);
|
|
30398
30395
|
return;
|
|
30399
|
-
case
|
|
30396
|
+
case nQ:
|
|
30400
30397
|
throw Error(Je(343));
|
|
30401
30398
|
case zD:
|
|
30402
30399
|
e: {
|
|
@@ -30438,9 +30435,9 @@ function Ty(e, t, n, r, i) {
|
|
|
30438
30435
|
n = n.type, r = t_(n, r), Ty(e, t, n, r, i);
|
|
30439
30436
|
return;
|
|
30440
30437
|
case VD:
|
|
30441
|
-
if (i = r.children, n = n._context, r = r.value, s = n._currentValue, n._currentValue = r, a =
|
|
30438
|
+
if (i = r.children, n = n._context, r = r.value, s = n._currentValue, n._currentValue = r, a = ea, ea = r = { parent: a, depth: a === null ? 0 : a.depth + 1, context: n, parentValue: s, value: r }, t.context = r, Tr(e, t, i), e = ea, e === null)
|
|
30442
30439
|
throw Error(Je(403));
|
|
30443
|
-
r = e.parentValue, e.context._currentValue = r ===
|
|
30440
|
+
r = e.parentValue, e.context._currentValue = r === sQ ? e.context._defaultValue : r, e = ea = e.parent, t.context = e;
|
|
30444
30441
|
return;
|
|
30445
30442
|
case UD:
|
|
30446
30443
|
r = r.children, r = r(n._currentValue), Tr(e, t, r);
|
|
@@ -30459,7 +30456,7 @@ function Ty(e, t, n, r, i) {
|
|
|
30459
30456
|
function Tr(e, t, n) {
|
|
30460
30457
|
if (t.node = n, typeof n == "object" && n !== null) {
|
|
30461
30458
|
switch (n.$$typeof) {
|
|
30462
|
-
case
|
|
30459
|
+
case tQ:
|
|
30463
30460
|
Ty(e, t, n.type, n.props, n.ref);
|
|
30464
30461
|
return;
|
|
30465
30462
|
case $D:
|
|
@@ -30511,7 +30508,7 @@ function Ey(e, t, n) {
|
|
|
30511
30508
|
throw t.blockedSegment.formatContext = r, t.legacyContext = i, t.context = s, Wd(s), d;
|
|
30512
30509
|
}
|
|
30513
30510
|
}
|
|
30514
|
-
function
|
|
30511
|
+
function gQ(e) {
|
|
30515
30512
|
var t = e.blockedBoundary;
|
|
30516
30513
|
e = e.blockedSegment, e.status = 3, tA(this, t, e);
|
|
30517
30514
|
}
|
|
@@ -30537,12 +30534,12 @@ function tA(e, t, n) {
|
|
|
30537
30534
|
}
|
|
30538
30535
|
e.pendingRootTasks--, e.pendingRootTasks === 0 && (e.onShellError = uu, t = e.onShellReady, t());
|
|
30539
30536
|
} else
|
|
30540
|
-
t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && zd(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(
|
|
30537
|
+
t.pendingTasks--, t.forceClientRender || (t.pendingTasks === 0 ? (n.parentFlushed && n.status === 1 && zd(t, n), t.parentFlushed && e.completedBoundaries.push(t), t.fallbackAbortableTasks.forEach(gQ, e), t.fallbackAbortableTasks.clear()) : n.parentFlushed && n.status === 1 && (zd(t, n), t.completedSegments.length === 1 && t.parentFlushed && e.partialBoundaries.push(t)));
|
|
30541
30538
|
e.allPendingTasks--, e.allPendingTasks === 0 && (e = e.onAllReady, e());
|
|
30542
30539
|
}
|
|
30543
30540
|
function nA(e) {
|
|
30544
30541
|
if (e.status !== 2) {
|
|
30545
|
-
var t =
|
|
30542
|
+
var t = ea, n = xg.current;
|
|
30546
30543
|
xg.current = ZS;
|
|
30547
30544
|
var r = id;
|
|
30548
30545
|
id = e.responseState;
|
|
@@ -30582,7 +30579,7 @@ function Of(e, t, n) {
|
|
|
30582
30579
|
switch (n.parentFlushed = !0, n.status) {
|
|
30583
30580
|
case 0:
|
|
30584
30581
|
var r = n.id = e.nextSegmentId++;
|
|
30585
|
-
return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, Ee(t,
|
|
30582
|
+
return n.lastPushedText = !1, n.textEmbedded = !1, e = e.responseState, Ee(t, lK), Ee(t, e.placeholderPrefix), e = nt(r.toString(16)), Ee(t, e), Dt(t, uK);
|
|
30586
30583
|
case 1:
|
|
30587
30584
|
n.status = 2;
|
|
30588
30585
|
var i = !0;
|
|
@@ -30606,7 +30603,7 @@ function fp(e, t, n) {
|
|
|
30606
30603
|
if (r === null)
|
|
30607
30604
|
return Of(e, t, n);
|
|
30608
30605
|
if (r.parentFlushed = !0, r.forceClientRender)
|
|
30609
|
-
r = r.errorDigest, Dt(t,
|
|
30606
|
+
r = r.errorDigest, Dt(t, hK), Ee(t, mK), r && (Ee(t, yK), Ee(t, nt(xn(r))), Ee(t, gK)), Dt(t, vK), Of(e, t, n);
|
|
30610
30607
|
else if (0 < r.pendingTasks) {
|
|
30611
30608
|
r.rootSegmentID = e.nextSegmentId++, 0 < r.completedSegments.length && e.partialBoundaries.push(r);
|
|
30612
30609
|
var i = e.responseState, s = i.nextSuspenseID++;
|
|
@@ -30614,21 +30611,21 @@ function fp(e, t, n) {
|
|
|
30614
30611
|
} else if (r.byteSize > e.progressiveChunkSize)
|
|
30615
30612
|
r.rootSegmentID = e.nextSegmentId++, e.completedBoundaries.push(r), HS(t, e.responseState, r.id), Of(e, t, n);
|
|
30616
30613
|
else {
|
|
30617
|
-
if (Dt(t,
|
|
30614
|
+
if (Dt(t, cK), n = r.completedSegments, n.length !== 1)
|
|
30618
30615
|
throw Error(Je(391));
|
|
30619
30616
|
fp(e, t, n[0]);
|
|
30620
30617
|
}
|
|
30621
|
-
return Dt(t,
|
|
30618
|
+
return Dt(t, pK);
|
|
30622
30619
|
}
|
|
30623
30620
|
function r_(e, t, n) {
|
|
30624
|
-
return
|
|
30621
|
+
return BK(t, e.responseState, n.formatContext, n.id), fp(e, t, n), WK(t, n.formatContext);
|
|
30625
30622
|
}
|
|
30626
30623
|
function i_(e, t, n) {
|
|
30627
30624
|
for (var r = n.completedSegments, i = 0; i < r.length; i++)
|
|
30628
30625
|
rA(e, t, n, r[i]);
|
|
30629
|
-
if (r.length = 0, e = e.responseState, r = n.id, n = n.rootSegmentID, Ee(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? Ee(t,
|
|
30626
|
+
if (r.length = 0, e = e.responseState, r = n.id, n = n.rootSegmentID, Ee(t, e.startInlineScript), e.sentCompleteBoundaryFunction ? Ee(t, qK) : (e.sentCompleteBoundaryFunction = !0, Ee(t, YK)), r === null)
|
|
30630
30627
|
throw Error(Je(395));
|
|
30631
|
-
return n = nt(n.toString(16)), Ee(t, r), Ee(t,
|
|
30628
|
+
return n = nt(n.toString(16)), Ee(t, r), Ee(t, GK), Ee(t, e.segmentPrefix), Ee(t, n), Dt(t, KK);
|
|
30632
30629
|
}
|
|
30633
30630
|
function rA(e, t, n, r) {
|
|
30634
30631
|
if (r.status === 2)
|
|
@@ -30639,7 +30636,7 @@ function rA(e, t, n, r) {
|
|
|
30639
30636
|
throw Error(Je(392));
|
|
30640
30637
|
return r_(e, t, r);
|
|
30641
30638
|
}
|
|
30642
|
-
return r_(e, t, r), e = e.responseState, Ee(t, e.startInlineScript), e.sentCompleteSegmentFunction ? Ee(t,
|
|
30639
|
+
return r_(e, t, r), e = e.responseState, Ee(t, e.startInlineScript), e.sentCompleteSegmentFunction ? Ee(t, UK) : (e.sentCompleteSegmentFunction = !0, Ee(t, VK)), Ee(t, e.segmentPrefix), i = nt(i.toString(16)), Ee(t, i), Ee(t, HK), Ee(t, e.placeholderPrefix), Ee(t, i), Dt(t, zK);
|
|
30643
30640
|
}
|
|
30644
30641
|
function Iv(e, t) {
|
|
30645
30642
|
Cr = new Uint8Array(512), kr = 0;
|
|
@@ -30657,12 +30654,12 @@ function Iv(e, t) {
|
|
|
30657
30654
|
var a = i[s];
|
|
30658
30655
|
r = t;
|
|
30659
30656
|
var c = e.responseState, d = a.id, p = a.errorDigest, m = a.errorMessage, v = a.errorComponentStack;
|
|
30660
|
-
if (Ee(r, c.startInlineScript), c.sentClientRenderFunction ? Ee(r,
|
|
30657
|
+
if (Ee(r, c.startInlineScript), c.sentClientRenderFunction ? Ee(r, XK) : (c.sentClientRenderFunction = !0, Ee(
|
|
30661
30658
|
r,
|
|
30662
|
-
|
|
30659
|
+
QK
|
|
30663
30660
|
)), d === null)
|
|
30664
30661
|
throw Error(Je(395));
|
|
30665
|
-
Ee(r, d), Ee(r,
|
|
30662
|
+
Ee(r, d), Ee(r, ZK), (p || m || v) && (Ee(r, bg), Ee(r, nt(wg(p || "")))), (m || v) && (Ee(r, bg), Ee(r, nt(wg(m || "")))), v && (Ee(r, bg), Ee(r, nt(wg(v)))), Dt(r, JK);
|
|
30666
30663
|
}
|
|
30667
30664
|
i.splice(0, s);
|
|
30668
30665
|
var x = e.completedBoundaries;
|
|
@@ -30716,7 +30713,7 @@ kv.renderToReadableStream = function(e, t) {
|
|
|
30716
30713
|
return new Promise(function(n, r) {
|
|
30717
30714
|
var i, s, a = new Promise(function(m, v) {
|
|
30718
30715
|
s = m, i = v;
|
|
30719
|
-
}), c =
|
|
30716
|
+
}), c = mQ(e, XG(t ? t.identifierPrefix : void 0, t ? t.nonce : void 0, t ? t.bootstrapScriptContent : void 0, t ? t.bootstrapScripts : void 0, t ? t.bootstrapModules : void 0), ZG(t ? t.namespaceURI : void 0), t ? t.progressiveChunkSize : void 0, t ? t.onError : void 0, s, function() {
|
|
30720
30717
|
var m = new ReadableStream({ type: "bytes", pull: function(v) {
|
|
30721
30718
|
if (c.status === 1)
|
|
30722
30719
|
c.status = 2, ND(v, c.fatalError);
|
|
@@ -30749,16 +30746,16 @@ kv.version = "18.2.0";
|
|
|
30749
30746
|
var hl, iA;
|
|
30750
30747
|
hl = dl, iA = kv;
|
|
30751
30748
|
hl.version;
|
|
30752
|
-
var
|
|
30749
|
+
var yQ = hl.renderToString;
|
|
30753
30750
|
hl.renderToStaticMarkup;
|
|
30754
30751
|
hl.renderToNodeStream;
|
|
30755
30752
|
hl.renderToStaticNodeStream;
|
|
30756
30753
|
iA.renderToReadableStream;
|
|
30757
|
-
var
|
|
30754
|
+
var vQ = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
30758
30755
|
function sA(e, t) {
|
|
30759
30756
|
return e(t = { exports: {} }, t.exports), t.exports;
|
|
30760
30757
|
}
|
|
30761
|
-
var
|
|
30758
|
+
var bQ = sA(function(e) {
|
|
30762
30759
|
(function(t) {
|
|
30763
30760
|
var n = function(M, P, B) {
|
|
30764
30761
|
if (!d(P) || m(P) || v(P) || x(P) || c(P))
|
|
@@ -30812,11 +30809,11 @@ var vQ = sA(function(e) {
|
|
|
30812
30809
|
return this.decamelizeKeys.apply(this, arguments);
|
|
30813
30810
|
} };
|
|
30814
30811
|
e.exports ? e.exports = T : t.humps = T;
|
|
30815
|
-
})(
|
|
30816
|
-
}).decamelize,
|
|
30812
|
+
})(vQ);
|
|
30813
|
+
}).decamelize, wQ = function(e) {
|
|
30817
30814
|
if (Array.isArray(e))
|
|
30818
30815
|
return e;
|
|
30819
|
-
},
|
|
30816
|
+
}, xQ = function(e, t) {
|
|
30820
30817
|
if (typeof Symbol < "u" && Symbol.iterator in Object(e)) {
|
|
30821
30818
|
var n = [], r = !0, i = !1, s = void 0;
|
|
30822
30819
|
try {
|
|
@@ -30839,18 +30836,18 @@ var vQ = sA(function(e) {
|
|
|
30839
30836
|
for (var n = 0, r = new Array(t); n < t; n++)
|
|
30840
30837
|
r[n] = e[n];
|
|
30841
30838
|
return r;
|
|
30842
|
-
},
|
|
30839
|
+
}, SQ = function(e, t) {
|
|
30843
30840
|
if (e) {
|
|
30844
30841
|
if (typeof e == "string")
|
|
30845
30842
|
return o_(e, t);
|
|
30846
30843
|
var n = Object.prototype.toString.call(e).slice(8, -1);
|
|
30847
30844
|
return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? o_(e, t) : void 0;
|
|
30848
30845
|
}
|
|
30849
|
-
},
|
|
30846
|
+
}, _Q = function() {
|
|
30850
30847
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
30851
30848
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
30852
|
-
},
|
|
30853
|
-
return
|
|
30849
|
+
}, CQ = function(e, t) {
|
|
30850
|
+
return wQ(e) || xQ(e, t) || SQ(e, t) || _Q();
|
|
30854
30851
|
}, oA = sA(function(e) {
|
|
30855
30852
|
function t() {
|
|
30856
30853
|
return e.exports = t = Object.assign || function(n) {
|
|
@@ -30863,7 +30860,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
30863
30860
|
}, t.apply(this, arguments);
|
|
30864
30861
|
}
|
|
30865
30862
|
e.exports = t;
|
|
30866
|
-
}),
|
|
30863
|
+
}), kQ = function(e, t) {
|
|
30867
30864
|
if (e == null)
|
|
30868
30865
|
return {};
|
|
30869
30866
|
var n, r, i = {}, s = Object.keys(e);
|
|
@@ -30873,27 +30870,27 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
|
|
|
30873
30870
|
}, aA = function(e, t) {
|
|
30874
30871
|
if (e == null)
|
|
30875
30872
|
return {};
|
|
30876
|
-
var n, r, i =
|
|
30873
|
+
var n, r, i = kQ(e, t);
|
|
30877
30874
|
if (Object.getOwnPropertySymbols) {
|
|
30878
30875
|
var s = Object.getOwnPropertySymbols(e);
|
|
30879
30876
|
for (r = 0; r < s.length; r++)
|
|
30880
30877
|
n = s[r], t.indexOf(n) >= 0 || Object.prototype.propertyIsEnumerable.call(e, n) && (i[n] = e[n]);
|
|
30881
30878
|
}
|
|
30882
30879
|
return i;
|
|
30883
|
-
},
|
|
30880
|
+
}, TQ = $.createContext(null);
|
|
30884
30881
|
function Dy(e) {
|
|
30885
30882
|
var t = e.children, n = aA(e, ["children"]);
|
|
30886
|
-
return typeof t != "string" && (t =
|
|
30883
|
+
return typeof t != "string" && (t = yQ(t)), it.createElement("template", oA({}, n, { dangerouslySetInnerHTML: { __html: t } }));
|
|
30887
30884
|
}
|
|
30888
30885
|
function Ay(e) {
|
|
30889
30886
|
var t = e.root, n = e.children;
|
|
30890
30887
|
return l_.createPortal(n, t);
|
|
30891
30888
|
}
|
|
30892
|
-
function
|
|
30889
|
+
function EQ(e) {
|
|
30893
30890
|
var t = $.forwardRef(function(n, r) {
|
|
30894
30891
|
var i, s, a = n.mode, c = n.delegatesFocus, d = n.styleSheets, p = n.ssr, m = n.children, v = aA(n, ["mode", "delegatesFocus", "styleSheets", "ssr", "children"]), x = (s = $.useRef((i = r) && i.current), $.useEffect(function() {
|
|
30895
30892
|
i && (i.current = s.current);
|
|
30896
|
-
}, [i]), s), k = $.useState(null), E =
|
|
30893
|
+
}, [i]), s), k = $.useState(null), E = CQ(k, 2), T = E[0], M = E[1], P = "node_".concat(a).concat(c);
|
|
30897
30894
|
return $.useLayoutEffect(function() {
|
|
30898
30895
|
if (x.current)
|
|
30899
30896
|
try {
|
|
@@ -30915,24 +30912,24 @@ function TQ(e) {
|
|
|
30915
30912
|
}
|
|
30916
30913
|
})({ error: q, styleSheets: d, root: T });
|
|
30917
30914
|
}
|
|
30918
|
-
}, [r, x, d]), it.createElement(it.Fragment, null, it.createElement(e.tag, oA({ key: P, ref: x }, v), (T || p) && it.createElement(
|
|
30915
|
+
}, [r, x, d]), it.createElement(it.Fragment, null, it.createElement(e.tag, oA({ key: P, ref: x }, v), (T || p) && it.createElement(TQ.Provider, { value: T }, p ? it.createElement(Dy, { shadowroot: a, shadowrootmode: a }, e.render({ root: T, ssr: p, children: m })) : it.createElement(Ay, { root: T }, e.render({ root: T, ssr: p, children: m })))));
|
|
30919
30916
|
});
|
|
30920
30917
|
return t.propTypes = { mode: hi.oneOf(["open", "closed"]), delegatesFocus: hi.bool, styleSheets: hi.arrayOf(hi.instanceOf(globalThis.CSSStyleSheet)), ssr: hi.bool, children: hi.node }, t.defaultProps = { mode: "open", delegatesFocus: !1, styleSheets: [], ssr: !1, children: null }, t;
|
|
30921
30918
|
}
|
|
30922
30919
|
Dy.propTypes = { children: hi.oneOfType([hi.string, hi.node]) }, Dy.defaultProps = { children: "" }, Ay.propTypes = { root: hi.object.isRequired, children: hi.node }, Ay.defaultProps = { children: null };
|
|
30923
30920
|
var Sg = /* @__PURE__ */ new Map();
|
|
30924
|
-
function
|
|
30921
|
+
function DQ() {
|
|
30925
30922
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "core", n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : function(r) {
|
|
30926
30923
|
return r.children;
|
|
30927
30924
|
};
|
|
30928
30925
|
return new Proxy(e, { get: function(r, i) {
|
|
30929
|
-
var s =
|
|
30930
|
-
return Sg.has(a) || Sg.set(a,
|
|
30926
|
+
var s = bQ(i, { separator: "-" }), a = "".concat(t, "-").concat(s);
|
|
30927
|
+
return Sg.has(a) || Sg.set(a, EQ({ tag: s, render: n })), Sg.get(a);
|
|
30931
30928
|
} });
|
|
30932
30929
|
}
|
|
30933
|
-
var
|
|
30930
|
+
var AQ = DQ();
|
|
30934
30931
|
const a_ = localStorage.getItem("isCollapsed");
|
|
30935
|
-
function
|
|
30932
|
+
function PQ(e) {
|
|
30936
30933
|
const t = Gh(), [n, r] = $.useState([]), [i, s] = $.useState(
|
|
30937
30934
|
a_ === null ? !0 : a_ === "true"
|
|
30938
30935
|
), [a, c] = $.useState({}), d = Nv(n), [p, m] = $.useState(window.location.href);
|
|
@@ -30955,13 +30952,13 @@ function AQ(e) {
|
|
|
30955
30952
|
(async () => {
|
|
30956
30953
|
var q, G, K;
|
|
30957
30954
|
try {
|
|
30958
|
-
const g = e.menuPath || "/global-menu-config/api/v1/menu-items/user", le = e.baseUrl + g, { data: re } = await
|
|
30955
|
+
const g = e.menuPath || "/global-menu-config/api/v1/menu-items/user", le = e.baseUrl + g, { data: re } = await na.get(le);
|
|
30959
30956
|
let we = re.map((ke) => ({
|
|
30960
30957
|
...ke,
|
|
30961
30958
|
parentKey: 0
|
|
30962
30959
|
}));
|
|
30963
30960
|
we = cA(we), we = uA(we, e.replacePath ?? ((ke) => ke)), console.log("_filterDisableMenuItems menuItems:", we), (q = e.disabledMenuItems) != null && q.length && (we = Py(we, e.disabledMenuItems));
|
|
30964
|
-
const De =
|
|
30961
|
+
const De = RQ(we);
|
|
30965
30962
|
c(De), r(we);
|
|
30966
30963
|
} catch (g) {
|
|
30967
30964
|
console.error(g), ol(
|
|
@@ -30982,7 +30979,7 @@ function AQ(e) {
|
|
|
30982
30979
|
{
|
|
30983
30980
|
className: "icon-btn side-bar__toggle-btn",
|
|
30984
30981
|
onClick: k,
|
|
30985
|
-
children: i ? /* @__PURE__ */ V.jsx(
|
|
30982
|
+
children: i ? /* @__PURE__ */ V.jsx(oG, {}) : /* @__PURE__ */ V.jsx(sG, {})
|
|
30986
30983
|
}
|
|
30987
30984
|
) }),
|
|
30988
30985
|
/* @__PURE__ */ V.jsx(
|
|
@@ -31023,7 +31020,7 @@ function AQ(e) {
|
|
|
31023
31020
|
className: P("side-bar__logout-btn"),
|
|
31024
31021
|
onClick: () => T(!0),
|
|
31025
31022
|
children: [
|
|
31026
|
-
/* @__PURE__ */ V.jsx(
|
|
31023
|
+
/* @__PURE__ */ V.jsx(aG, { className: P("side-bar__icon-logout") }),
|
|
31027
31024
|
/* @__PURE__ */ V.jsx("span", { className: P("side-bar__logout-btn__text"), children: "Logout" })
|
|
31028
31025
|
]
|
|
31029
31026
|
}
|
|
@@ -31045,7 +31042,7 @@ function Nv(e) {
|
|
|
31045
31042
|
t.push(n), n.children && (t = t.concat(Nv(n.children)));
|
|
31046
31043
|
return t;
|
|
31047
31044
|
}
|
|
31048
|
-
function
|
|
31045
|
+
function OQ(e, t) {
|
|
31049
31046
|
const n = new URL(e).searchParams, r = new URL(t).searchParams;
|
|
31050
31047
|
return Array.from(r).filter(
|
|
31051
31048
|
([i, s]) => s === n.get(i)
|
|
@@ -31057,7 +31054,7 @@ function lA(e, t) {
|
|
|
31057
31054
|
let r = e.filter((p) => p.path && p.path.includes("http")).map((p) => ({
|
|
31058
31055
|
item: p,
|
|
31059
31056
|
itemUrl: new URL(p.path),
|
|
31060
|
-
matchingParamsCount:
|
|
31057
|
+
matchingParamsCount: OQ(t, p.path)
|
|
31061
31058
|
})).sort((p, m) => {
|
|
31062
31059
|
const v = new URL(p.itemUrl).searchParams, x = new URL(m.itemUrl).searchParams;
|
|
31063
31060
|
return Array.from(v).length - Array.from(x).length;
|
|
@@ -31089,7 +31086,7 @@ function cA(e) {
|
|
|
31089
31086
|
path: window.location.origin + n.path
|
|
31090
31087
|
} : (n.children && (n.children = cA(n.children)), n));
|
|
31091
31088
|
}
|
|
31092
|
-
function
|
|
31089
|
+
function RQ(e) {
|
|
31093
31090
|
const t = Nv(e), n = lA(t, window.location.href), r = {};
|
|
31094
31091
|
return n.forEach((i) => r[i.id] = !0), t.forEach((i) => {
|
|
31095
31092
|
i.parentKey || (r[i.id] = !0);
|
|
@@ -31098,21 +31095,21 @@ function OQ(e) {
|
|
|
31098
31095
|
function Py(e, t) {
|
|
31099
31096
|
return e.filter((n) => (n.children && (n.children = Py(n.children, t)), !t.includes(n.serviceKey)));
|
|
31100
31097
|
}
|
|
31101
|
-
function
|
|
31102
|
-
return /* @__PURE__ */ V.jsx(
|
|
31098
|
+
function MQ(e) {
|
|
31099
|
+
return /* @__PURE__ */ V.jsx(AQ.div, { children: /* @__PURE__ */ V.jsx(
|
|
31103
31100
|
Bk,
|
|
31104
31101
|
{
|
|
31105
|
-
styles: [iN,
|
|
31102
|
+
styles: [iN, lG],
|
|
31106
31103
|
style: { position: "sticky", zIndex: 20 },
|
|
31107
|
-
children: /* @__PURE__ */ V.jsx(
|
|
31104
|
+
children: /* @__PURE__ */ V.jsx(PQ, { ...e })
|
|
31108
31105
|
}
|
|
31109
31106
|
) });
|
|
31110
31107
|
}
|
|
31111
|
-
function
|
|
31112
|
-
return /* @__PURE__ */ V.jsx(XV, { children: /* @__PURE__ */ V.jsx(
|
|
31108
|
+
function IQ(e) {
|
|
31109
|
+
return /* @__PURE__ */ V.jsx(XV, { children: /* @__PURE__ */ V.jsx(MQ, { ...e, ssr: !0 }) });
|
|
31113
31110
|
}
|
|
31114
31111
|
{
|
|
31115
|
-
const e = Ry(
|
|
31112
|
+
const e = Ry(IQ, {
|
|
31116
31113
|
props: {
|
|
31117
31114
|
baseUrl: "string",
|
|
31118
31115
|
menuPath: "string",
|
|
@@ -31127,8 +31124,8 @@ function MQ(e) {
|
|
|
31127
31124
|
customElements.define("global-menu", e);
|
|
31128
31125
|
}
|
|
31129
31126
|
export {
|
|
31130
|
-
|
|
31127
|
+
MQ as G,
|
|
31131
31128
|
EV as H,
|
|
31132
|
-
|
|
31129
|
+
FQ as T,
|
|
31133
31130
|
TV as g
|
|
31134
31131
|
};
|