cecomponent 1.0.20 → 1.0.21
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/ce-component-lib.css +1 -1
- package/dist/ce-component-lib.js +34 -34
- package/dist/ce-component-lib.mjs +856 -846
- package/package.json +1 -1
|
@@ -80,7 +80,7 @@ function requireReactJsxRuntime_development() {
|
|
|
80
80
|
return "Portal";
|
|
81
81
|
case x:
|
|
82
82
|
return (k.displayName || "Context") + ".Provider";
|
|
83
|
-
case
|
|
83
|
+
case E:
|
|
84
84
|
return (k._context.displayName || "Context") + ".Consumer";
|
|
85
85
|
case b:
|
|
86
86
|
var j = k.render;
|
|
@@ -161,7 +161,7 @@ function requireReactJsxRuntime_development() {
|
|
|
161
161
|
}
|
|
162
162
|
function u(k, j, L, V, G, q, Y, X) {
|
|
163
163
|
return L = q.ref, k = {
|
|
164
|
-
$$typeof:
|
|
164
|
+
$$typeof: S,
|
|
165
165
|
type: k,
|
|
166
166
|
key: j,
|
|
167
167
|
props: q,
|
|
@@ -242,9 +242,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
242
242
|
);
|
|
243
243
|
}
|
|
244
244
|
function g(k) {
|
|
245
|
-
typeof k == "object" && k !== null && k.$$typeof ===
|
|
245
|
+
typeof k == "object" && k !== null && k.$$typeof === S && k._store && (k._store.validated = 1);
|
|
246
246
|
}
|
|
247
|
-
var d = React__default,
|
|
247
|
+
var d = React__default, S = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), f = Symbol.for("react.fragment"), T = Symbol.for("react.strict_mode"), y = Symbol.for("react.profiler"), E = Symbol.for("react.consumer"), x = Symbol.for("react.context"), b = Symbol.for("react.forward_ref"), C = Symbol.for("react.suspense"), P = Symbol.for("react.suspense_list"), I = Symbol.for("react.memo"), F = Symbol.for("react.lazy"), $ = Symbol.for("react.activity"), A = Symbol.for("react.client.reference"), D = d.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, B = Object.prototype.hasOwnProperty, z = Array.isArray, U = console.createTask ? console.createTask : function() {
|
|
248
248
|
return null;
|
|
249
249
|
};
|
|
250
250
|
d = {
|
|
@@ -296,24 +296,24 @@ function requireDist() {
|
|
|
296
296
|
};
|
|
297
297
|
return d.prototype = /* @__PURE__ */ Object.create(null), d;
|
|
298
298
|
})();
|
|
299
|
-
function a(d,
|
|
299
|
+
function a(d, S) {
|
|
300
300
|
const m = new o(), f = d.length;
|
|
301
301
|
if (f < 2)
|
|
302
302
|
return m;
|
|
303
|
-
const T = (
|
|
303
|
+
const T = (S == null ? void 0 : S.decode) || p;
|
|
304
304
|
let y = 0;
|
|
305
305
|
do {
|
|
306
|
-
const
|
|
307
|
-
if (
|
|
306
|
+
const E = d.indexOf("=", y);
|
|
307
|
+
if (E === -1)
|
|
308
308
|
break;
|
|
309
309
|
const x = d.indexOf(";", y), b = x === -1 ? f : x;
|
|
310
|
-
if (
|
|
311
|
-
y = d.lastIndexOf(";",
|
|
310
|
+
if (E > b) {
|
|
311
|
+
y = d.lastIndexOf(";", E - 1) + 1;
|
|
312
312
|
continue;
|
|
313
313
|
}
|
|
314
|
-
const C = l(d, y,
|
|
314
|
+
const C = l(d, y, E), P = c(d, E, C), I = d.slice(C, P);
|
|
315
315
|
if (m[I] === void 0) {
|
|
316
|
-
let F = l(d,
|
|
316
|
+
let F = l(d, E + 1, b), $ = c(d, b, F);
|
|
317
317
|
const A = T(d.slice(F, $));
|
|
318
318
|
m[I] = A;
|
|
319
319
|
}
|
|
@@ -321,29 +321,29 @@ function requireDist() {
|
|
|
321
321
|
} while (y < f);
|
|
322
322
|
return m;
|
|
323
323
|
}
|
|
324
|
-
function l(d,
|
|
324
|
+
function l(d, S, m) {
|
|
325
325
|
do {
|
|
326
|
-
const f = d.charCodeAt(
|
|
326
|
+
const f = d.charCodeAt(S);
|
|
327
327
|
if (f !== 32 && f !== 9)
|
|
328
|
-
return
|
|
329
|
-
} while (++
|
|
328
|
+
return S;
|
|
329
|
+
} while (++S < m);
|
|
330
330
|
return m;
|
|
331
331
|
}
|
|
332
|
-
function c(d,
|
|
333
|
-
for (;
|
|
334
|
-
const f = d.charCodeAt(--
|
|
332
|
+
function c(d, S, m) {
|
|
333
|
+
for (; S > m; ) {
|
|
334
|
+
const f = d.charCodeAt(--S);
|
|
335
335
|
if (f !== 32 && f !== 9)
|
|
336
|
-
return
|
|
336
|
+
return S + 1;
|
|
337
337
|
}
|
|
338
338
|
return m;
|
|
339
339
|
}
|
|
340
|
-
function u(d,
|
|
340
|
+
function u(d, S, m) {
|
|
341
341
|
const f = (m == null ? void 0 : m.encode) || encodeURIComponent;
|
|
342
342
|
if (!e.test(d))
|
|
343
343
|
throw new TypeError(`argument name is invalid: ${d}`);
|
|
344
|
-
const T = f(
|
|
344
|
+
const T = f(S);
|
|
345
345
|
if (!t.test(T))
|
|
346
|
-
throw new TypeError(`argument val is invalid: ${
|
|
346
|
+
throw new TypeError(`argument val is invalid: ${S}`);
|
|
347
347
|
let y = d + "=" + T;
|
|
348
348
|
if (!m)
|
|
349
349
|
return y;
|
|
@@ -594,8 +594,8 @@ function matchPath(e, t) {
|
|
|
594
594
|
let m = l[d] || "";
|
|
595
595
|
a = o.slice(0, o.length - m.length).replace(/(.)\/+$/, "$1");
|
|
596
596
|
}
|
|
597
|
-
const
|
|
598
|
-
return g && !
|
|
597
|
+
const S = l[d];
|
|
598
|
+
return g && !S ? u[p] = void 0 : u[p] = (S || "").replace(/%2F/g, "/"), u;
|
|
599
599
|
},
|
|
600
600
|
{}
|
|
601
601
|
),
|
|
@@ -842,10 +842,10 @@ Please change the parent <Route path="${y}"> to <Route path="${y === "/" ? "*" :
|
|
|
842
842
|
}
|
|
843
843
|
let g = useLocation(), d;
|
|
844
844
|
d = g;
|
|
845
|
-
let
|
|
845
|
+
let S = d.pathname || "/", m = S;
|
|
846
846
|
if (u !== "/") {
|
|
847
847
|
let y = u.replace(/^\//, "").split("/");
|
|
848
|
-
m = "/" +
|
|
848
|
+
m = "/" + S.replace(/^\//, "").split("/").slice(y.length).join("/");
|
|
849
849
|
}
|
|
850
850
|
let f = matchRoutes(e, { pathname: m });
|
|
851
851
|
return warning(
|
|
@@ -964,15 +964,15 @@ function _renderMatches(e, t = [], i = null, s = null) {
|
|
|
964
964
|
}
|
|
965
965
|
}
|
|
966
966
|
return n.reduceRight((c, u, p) => {
|
|
967
|
-
let g, d = !1,
|
|
968
|
-
i && (g = o && u.route.id ? o[u.route.id] : void 0,
|
|
967
|
+
let g, d = !1, S = null, m = null;
|
|
968
|
+
i && (g = o && u.route.id ? o[u.route.id] : void 0, S = u.route.errorElement || defaultErrorElement, a && (l < 0 && p === 0 ? (warningOnce(
|
|
969
969
|
"route-fallback",
|
|
970
970
|
!1,
|
|
971
971
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
972
972
|
), d = !0, m = null) : l === p && (d = !0, m = u.route.hydrateFallbackElement || null)));
|
|
973
973
|
let f = t.concat(n.slice(0, p + 1)), T = () => {
|
|
974
974
|
let y;
|
|
975
|
-
return g ? y =
|
|
975
|
+
return g ? y = S : d ? y = m : u.route.Component ? y = /* @__PURE__ */ React.createElement(u.route.Component, null) : u.route.element ? y = u.route.element : y = c, /* @__PURE__ */ React.createElement(
|
|
976
976
|
RenderedRoute,
|
|
977
977
|
{
|
|
978
978
|
match: u,
|
|
@@ -990,7 +990,7 @@ function _renderMatches(e, t = [], i = null, s = null) {
|
|
|
990
990
|
{
|
|
991
991
|
location: i.location,
|
|
992
992
|
revalidation: i.revalidation,
|
|
993
|
-
component:
|
|
993
|
+
component: S,
|
|
994
994
|
error: g,
|
|
995
995
|
children: T(),
|
|
996
996
|
routeContext: { outlet: null, matches: f, isDataRoute: !0 }
|
|
@@ -1282,8 +1282,8 @@ function usePrefetchBehavior(e, t) {
|
|
|
1282
1282
|
React.useEffect(() => {
|
|
1283
1283
|
if (e === "render" && a(!0), e === "viewport") {
|
|
1284
1284
|
let f = (y) => {
|
|
1285
|
-
y.forEach((
|
|
1286
|
-
a(
|
|
1285
|
+
y.forEach((E) => {
|
|
1286
|
+
a(E.isIntersecting);
|
|
1287
1287
|
});
|
|
1288
1288
|
}, T = new IntersectionObserver(f, { threshold: 0.5 });
|
|
1289
1289
|
return d.current && T.observe(d.current), () => {
|
|
@@ -1300,7 +1300,7 @@ function usePrefetchBehavior(e, t) {
|
|
|
1300
1300
|
};
|
|
1301
1301
|
}
|
|
1302
1302
|
}, [s]);
|
|
1303
|
-
let
|
|
1303
|
+
let S = () => {
|
|
1304
1304
|
n(!0);
|
|
1305
1305
|
}, m = () => {
|
|
1306
1306
|
n(!1), a(!1);
|
|
@@ -1309,11 +1309,11 @@ function usePrefetchBehavior(e, t) {
|
|
|
1309
1309
|
o,
|
|
1310
1310
|
d,
|
|
1311
1311
|
{
|
|
1312
|
-
onFocus: composeEventHandlers(l,
|
|
1312
|
+
onFocus: composeEventHandlers(l, S),
|
|
1313
1313
|
onBlur: composeEventHandlers(c, m),
|
|
1314
|
-
onMouseEnter: composeEventHandlers(u,
|
|
1314
|
+
onMouseEnter: composeEventHandlers(u, S),
|
|
1315
1315
|
onMouseLeave: composeEventHandlers(p, m),
|
|
1316
|
-
onTouchStart: composeEventHandlers(g,
|
|
1316
|
+
onTouchStart: composeEventHandlers(g, S)
|
|
1317
1317
|
}
|
|
1318
1318
|
] : [!1, d, {}];
|
|
1319
1319
|
}
|
|
@@ -1376,8 +1376,8 @@ function PrefetchPageLinksImpl({
|
|
|
1376
1376
|
let m = /* @__PURE__ */ new Set(), f = !1;
|
|
1377
1377
|
if (t.forEach((y) => {
|
|
1378
1378
|
var x;
|
|
1379
|
-
let
|
|
1380
|
-
!
|
|
1379
|
+
let E = n.routes[y.route.id];
|
|
1380
|
+
!E || !E.hasLoader || (!u.some((b) => b.route.id === y.route.id) && y.route.id in l && ((x = o[y.route.id]) != null && x.shouldRevalidate) || E.hasClientLoader ? f = !0 : m.add(y.route.id));
|
|
1381
1381
|
}), m.size === 0)
|
|
1382
1382
|
return [];
|
|
1383
1383
|
let T = singleFetchUrl(e, a);
|
|
@@ -1397,8 +1397,8 @@ function PrefetchPageLinksImpl({
|
|
|
1397
1397
|
]), d = React.useMemo(
|
|
1398
1398
|
() => getModuleLinkHrefs(p, n),
|
|
1399
1399
|
[p, n]
|
|
1400
|
-
),
|
|
1401
|
-
return /* @__PURE__ */ React.createElement(React.Fragment, null, g.map((m) => /* @__PURE__ */ React.createElement("link", { key: m, rel: "prefetch", as: "fetch", href: m, ...i })), d.map((m) => /* @__PURE__ */ React.createElement("link", { key: m, rel: "modulepreload", href: m, ...i })),
|
|
1400
|
+
), S = useKeyedPrefetchLinks(p);
|
|
1401
|
+
return /* @__PURE__ */ React.createElement(React.Fragment, null, g.map((m) => /* @__PURE__ */ React.createElement("link", { key: m, rel: "prefetch", as: "fetch", href: m, ...i })), d.map((m) => /* @__PURE__ */ React.createElement("link", { key: m, rel: "modulepreload", href: m, ...i })), S.map(({ key: m, link: f }) => (
|
|
1402
1402
|
// these don't spread `linkProps` because they are full link descriptors
|
|
1403
1403
|
// already with their own props
|
|
1404
1404
|
/* @__PURE__ */ React.createElement("link", { key: m, ...f })
|
|
@@ -1430,7 +1430,7 @@ var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = React.forwardR
|
|
|
1430
1430
|
preventScrollReset: p,
|
|
1431
1431
|
viewTransition: g,
|
|
1432
1432
|
...d
|
|
1433
|
-
},
|
|
1433
|
+
}, S) {
|
|
1434
1434
|
let { basename: m } = React.useContext(NavigationContext), f = typeof u == "string" && ABSOLUTE_URL_REGEX2.test(u), T, y = !1;
|
|
1435
1435
|
if (typeof u == "string" && f && (T = u, isBrowser$1))
|
|
1436
1436
|
try {
|
|
@@ -1442,7 +1442,7 @@ var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = React.forwardR
|
|
|
1442
1442
|
`<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
1443
1443
|
);
|
|
1444
1444
|
}
|
|
1445
|
-
let
|
|
1445
|
+
let E = useHref(u, { relative: n }), [x, b, C] = usePrefetchBehavior(
|
|
1446
1446
|
s,
|
|
1447
1447
|
d
|
|
1448
1448
|
), P = useLinkClickHandler(u, {
|
|
@@ -1463,15 +1463,15 @@ var ABSOLUTE_URL_REGEX2 = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, Link = React.forwardR
|
|
|
1463
1463
|
{
|
|
1464
1464
|
...d,
|
|
1465
1465
|
...C,
|
|
1466
|
-
href: T ||
|
|
1466
|
+
href: T || E,
|
|
1467
1467
|
onClick: y || o ? t : I,
|
|
1468
|
-
ref: mergeRefs(
|
|
1468
|
+
ref: mergeRefs(S, b),
|
|
1469
1469
|
target: c,
|
|
1470
1470
|
"data-discover": !f && i === "render" ? "true" : void 0
|
|
1471
1471
|
}
|
|
1472
1472
|
)
|
|
1473
1473
|
);
|
|
1474
|
-
return x && !f ? /* @__PURE__ */ React.createElement(React.Fragment, null, F, /* @__PURE__ */ React.createElement(PrefetchPageLinks, { page:
|
|
1474
|
+
return x && !f ? /* @__PURE__ */ React.createElement(React.Fragment, null, F, /* @__PURE__ */ React.createElement(PrefetchPageLinks, { page: E })) : F;
|
|
1475
1475
|
}
|
|
1476
1476
|
);
|
|
1477
1477
|
Link.displayName = "Link";
|
|
@@ -1487,12 +1487,12 @@ var NavLink = React.forwardRef(
|
|
|
1487
1487
|
children: c,
|
|
1488
1488
|
...u
|
|
1489
1489
|
}, p) {
|
|
1490
|
-
let g = useResolvedPath(a, { relative: u.relative }), d = useLocation(),
|
|
1490
|
+
let g = useResolvedPath(a, { relative: u.relative }), d = useLocation(), S = React.useContext(DataRouterStateContext), { navigator: m, basename: f } = React.useContext(NavigationContext), T = S != null && // Conditional usage is OK here because the usage of a data router is static
|
|
1491
1491
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
1492
|
-
useViewTransitionState(g) && l === !0, y = m.encodeLocation ? m.encodeLocation(g).pathname : g.pathname,
|
|
1493
|
-
i || (
|
|
1492
|
+
useViewTransitionState(g) && l === !0, y = m.encodeLocation ? m.encodeLocation(g).pathname : g.pathname, E = d.pathname, x = S && S.navigation && S.navigation.location ? S.navigation.location.pathname : null;
|
|
1493
|
+
i || (E = E.toLowerCase(), x = x ? x.toLowerCase() : null, y = y.toLowerCase()), x && f && (x = stripBasename(x, f) || x);
|
|
1494
1494
|
const b = y !== "/" && y.endsWith("/") ? y.length - 1 : y.length;
|
|
1495
|
-
let C =
|
|
1495
|
+
let C = E === y || !n && E.startsWith(y) && E.charAt(b) === "/", P = x != null && (x === y || !n && x.startsWith(y) && x.charAt(y.length) === "/"), I = {
|
|
1496
1496
|
isActive: C,
|
|
1497
1497
|
isPending: P,
|
|
1498
1498
|
isTransitioning: T
|
|
@@ -1535,8 +1535,8 @@ var Form = React.forwardRef(
|
|
|
1535
1535
|
preventScrollReset: p,
|
|
1536
1536
|
viewTransition: g,
|
|
1537
1537
|
...d
|
|
1538
|
-
},
|
|
1539
|
-
let m = useSubmit(), f = useFormAction(l, { relative: u }), T = a.toLowerCase() === "get" ? "get" : "post", y = typeof l == "string" && ABSOLUTE_URL_REGEX2.test(l),
|
|
1538
|
+
}, S) => {
|
|
1539
|
+
let m = useSubmit(), f = useFormAction(l, { relative: u }), T = a.toLowerCase() === "get" ? "get" : "post", y = typeof l == "string" && ABSOLUTE_URL_REGEX2.test(l), E = (x) => {
|
|
1540
1540
|
if (c && c(x), x.defaultPrevented) return;
|
|
1541
1541
|
x.preventDefault();
|
|
1542
1542
|
let b = x.nativeEvent.submitter, C = (b == null ? void 0 : b.getAttribute("formmethod")) || a;
|
|
@@ -1554,10 +1554,10 @@ var Form = React.forwardRef(
|
|
|
1554
1554
|
return /* @__PURE__ */ React.createElement(
|
|
1555
1555
|
"form",
|
|
1556
1556
|
{
|
|
1557
|
-
ref:
|
|
1557
|
+
ref: S,
|
|
1558
1558
|
method: T,
|
|
1559
1559
|
action: f,
|
|
1560
|
-
onSubmit: s ? c :
|
|
1560
|
+
onSubmit: s ? c : E,
|
|
1561
1561
|
...d,
|
|
1562
1562
|
"data-discover": !y && e === "render" ? "true" : void 0
|
|
1563
1563
|
}
|
|
@@ -1682,25 +1682,25 @@ function useViewTransitionState(e, t = {}) {
|
|
|
1682
1682
|
...NO_BODY_STATUS_CODES
|
|
1683
1683
|
];
|
|
1684
1684
|
const Breadcrumbs = ({ items: e, maxVisible: t = 4, onItemClick: i }) => {
|
|
1685
|
-
const [s, n] = useState(!1), o = () => n((d) => !d), a = (d,
|
|
1686
|
-
d && d(),
|
|
1685
|
+
const [s, n] = useState(!1), o = () => n((d) => !d), a = (d, S) => {
|
|
1686
|
+
d && d(), S !== void 0 && (i == null || i(S)), n(!1);
|
|
1687
1687
|
}, l = e.length > t, c = e[0], u = e[e.length - 1], p = e.slice(1, e.length - 1), g = l ? [] : p;
|
|
1688
1688
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("nav", { className: "breadcrumbs", children: [
|
|
1689
1689
|
c && renderLink(c, !1, 0, i),
|
|
1690
1690
|
l && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "breadcrumbs-menu", children: [
|
|
1691
1691
|
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: o, className: "breadcrumbs-collapse-button", children: "..." }),
|
|
1692
|
-
s && /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "breadcrumbs-dropdown", children: p.map((d,
|
|
1692
|
+
s && /* @__PURE__ */ jsxRuntimeExports.jsx("ul", { className: "breadcrumbs-dropdown", children: p.map((d, S) => /* @__PURE__ */ jsxRuntimeExports.jsx("li", { children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
1693
1693
|
Link,
|
|
1694
1694
|
{
|
|
1695
1695
|
to: d.href || "#",
|
|
1696
|
-
onClick: () => a(d.onClick,
|
|
1696
|
+
onClick: () => a(d.onClick, S + 1),
|
|
1697
1697
|
className: "breadcrumbs-item",
|
|
1698
1698
|
children: d.label
|
|
1699
1699
|
}
|
|
1700
|
-
) },
|
|
1700
|
+
) }, S)) })
|
|
1701
1701
|
] }),
|
|
1702
1702
|
!l && g.map(
|
|
1703
|
-
(d,
|
|
1703
|
+
(d, S) => renderLink(d, !1, S + 1, i)
|
|
1704
1704
|
),
|
|
1705
1705
|
u && e.length > 1 && renderLink(u, !0, e.length - 1, i)
|
|
1706
1706
|
] });
|
|
@@ -1755,7 +1755,7 @@ var hasRequiredReactIs_production;
|
|
|
1755
1755
|
function requireReactIs_production() {
|
|
1756
1756
|
if (hasRequiredReactIs_production) return reactIs_production;
|
|
1757
1757
|
hasRequiredReactIs_production = 1;
|
|
1758
|
-
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"),
|
|
1758
|
+
var e = Symbol.for("react.transitional.element"), t = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), n = Symbol.for("react.profiler"), o = Symbol.for("react.consumer"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), u = Symbol.for("react.suspense_list"), p = Symbol.for("react.memo"), g = Symbol.for("react.lazy"), d = Symbol.for("react.offscreen"), S = Symbol.for("react.client.reference");
|
|
1759
1759
|
function m(f) {
|
|
1760
1760
|
if (typeof f == "object" && f !== null) {
|
|
1761
1761
|
var T = f.$$typeof;
|
|
@@ -1811,7 +1811,7 @@ function requireReactIs_production() {
|
|
|
1811
1811
|
}, reactIs_production.isSuspenseList = function(f) {
|
|
1812
1812
|
return m(f) === u;
|
|
1813
1813
|
}, reactIs_production.isValidElementType = function(f) {
|
|
1814
|
-
return typeof f == "string" || typeof f == "function" || f === i || f === n || f === s || f === c || f === u || f === d || typeof f == "object" && f !== null && (f.$$typeof === g || f.$$typeof === p || f.$$typeof === a || f.$$typeof === o || f.$$typeof === l || f.$$typeof ===
|
|
1814
|
+
return typeof f == "string" || typeof f == "function" || f === i || f === n || f === s || f === c || f === u || f === d || typeof f == "object" && f !== null && (f.$$typeof === g || f.$$typeof === p || f.$$typeof === a || f.$$typeof === o || f.$$typeof === l || f.$$typeof === S || f.getModuleId !== void 0);
|
|
1815
1815
|
}, reactIs_production.typeOf = m, reactIs_production;
|
|
1816
1816
|
}
|
|
1817
1817
|
var reactIs_development$2 = {};
|
|
@@ -1857,7 +1857,7 @@ function requireReactIs_development$2() {
|
|
|
1857
1857
|
}
|
|
1858
1858
|
}
|
|
1859
1859
|
}
|
|
1860
|
-
var t = Symbol.for("react.transitional.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), d = Symbol.for("react.lazy"),
|
|
1860
|
+
var t = Symbol.for("react.transitional.element"), i = Symbol.for("react.portal"), s = Symbol.for("react.fragment"), n = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), a = Symbol.for("react.consumer"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), u = Symbol.for("react.suspense"), p = Symbol.for("react.suspense_list"), g = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), S = Symbol.for("react.offscreen"), m = Symbol.for("react.client.reference");
|
|
1861
1861
|
reactIs_development$2.ContextConsumer = a, reactIs_development$2.ContextProvider = l, reactIs_development$2.Element = t, reactIs_development$2.ForwardRef = c, reactIs_development$2.Fragment = s, reactIs_development$2.Lazy = d, reactIs_development$2.Memo = g, reactIs_development$2.Portal = i, reactIs_development$2.Profiler = o, reactIs_development$2.StrictMode = n, reactIs_development$2.Suspense = u, reactIs_development$2.SuspenseList = p, reactIs_development$2.isContextConsumer = function(f) {
|
|
1862
1862
|
return e(f) === a;
|
|
1863
1863
|
}, reactIs_development$2.isContextProvider = function(f) {
|
|
@@ -1883,7 +1883,7 @@ function requireReactIs_development$2() {
|
|
|
1883
1883
|
}, reactIs_development$2.isSuspenseList = function(f) {
|
|
1884
1884
|
return e(f) === p;
|
|
1885
1885
|
}, reactIs_development$2.isValidElementType = function(f) {
|
|
1886
|
-
return typeof f == "string" || typeof f == "function" || f === s || f === o || f === n || f === u || f === p || f ===
|
|
1886
|
+
return typeof f == "string" || typeof f == "function" || f === s || f === o || f === n || f === u || f === p || f === S || typeof f == "object" && f !== null && (f.$$typeof === d || f.$$typeof === g || f.$$typeof === l || f.$$typeof === a || f.$$typeof === c || f.$$typeof === m || f.getModuleId !== void 0);
|
|
1887
1887
|
}, reactIs_development$2.typeOf = e;
|
|
1888
1888
|
}()), reactIs_development$2;
|
|
1889
1889
|
}
|
|
@@ -1930,7 +1930,7 @@ var hasRequiredReactIs_production_min$1;
|
|
|
1930
1930
|
function requireReactIs_production_min$1() {
|
|
1931
1931
|
if (hasRequiredReactIs_production_min$1) return reactIs_production_min$1;
|
|
1932
1932
|
hasRequiredReactIs_production_min$1 = 1;
|
|
1933
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120,
|
|
1933
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
1934
1934
|
function x(C) {
|
|
1935
1935
|
if (typeof C == "object" && C !== null) {
|
|
1936
1936
|
var P = C.$$typeof;
|
|
@@ -1949,7 +1949,7 @@ function requireReactIs_production_min$1() {
|
|
|
1949
1949
|
case l:
|
|
1950
1950
|
case p:
|
|
1951
1951
|
case m:
|
|
1952
|
-
case
|
|
1952
|
+
case S:
|
|
1953
1953
|
case a:
|
|
1954
1954
|
return C;
|
|
1955
1955
|
default:
|
|
@@ -1964,7 +1964,7 @@ function requireReactIs_production_min$1() {
|
|
|
1964
1964
|
function b(C) {
|
|
1965
1965
|
return x(C) === u;
|
|
1966
1966
|
}
|
|
1967
|
-
return reactIs_production_min$1.AsyncMode = c, reactIs_production_min$1.ConcurrentMode = u, reactIs_production_min$1.ContextConsumer = l, reactIs_production_min$1.ContextProvider = a, reactIs_production_min$1.Element = t, reactIs_production_min$1.ForwardRef = p, reactIs_production_min$1.Fragment = s, reactIs_production_min$1.Lazy = m, reactIs_production_min$1.Memo =
|
|
1967
|
+
return reactIs_production_min$1.AsyncMode = c, reactIs_production_min$1.ConcurrentMode = u, reactIs_production_min$1.ContextConsumer = l, reactIs_production_min$1.ContextProvider = a, reactIs_production_min$1.Element = t, reactIs_production_min$1.ForwardRef = p, reactIs_production_min$1.Fragment = s, reactIs_production_min$1.Lazy = m, reactIs_production_min$1.Memo = S, reactIs_production_min$1.Portal = i, reactIs_production_min$1.Profiler = o, reactIs_production_min$1.StrictMode = n, reactIs_production_min$1.Suspense = g, reactIs_production_min$1.isAsyncMode = function(C) {
|
|
1968
1968
|
return b(C) || x(C) === c;
|
|
1969
1969
|
}, reactIs_production_min$1.isConcurrentMode = b, reactIs_production_min$1.isContextConsumer = function(C) {
|
|
1970
1970
|
return x(C) === l;
|
|
@@ -1979,7 +1979,7 @@ function requireReactIs_production_min$1() {
|
|
|
1979
1979
|
}, reactIs_production_min$1.isLazy = function(C) {
|
|
1980
1980
|
return x(C) === m;
|
|
1981
1981
|
}, reactIs_production_min$1.isMemo = function(C) {
|
|
1982
|
-
return x(C) ===
|
|
1982
|
+
return x(C) === S;
|
|
1983
1983
|
}, reactIs_production_min$1.isPortal = function(C) {
|
|
1984
1984
|
return x(C) === i;
|
|
1985
1985
|
}, reactIs_production_min$1.isProfiler = function(C) {
|
|
@@ -1989,7 +1989,7 @@ function requireReactIs_production_min$1() {
|
|
|
1989
1989
|
}, reactIs_production_min$1.isSuspense = function(C) {
|
|
1990
1990
|
return x(C) === g;
|
|
1991
1991
|
}, reactIs_production_min$1.isValidElementType = function(C) {
|
|
1992
|
-
return typeof C == "string" || typeof C == "function" || C === s || C === u || C === o || C === n || C === g || C === d || typeof C == "object" && C !== null && (C.$$typeof === m || C.$$typeof ===
|
|
1992
|
+
return typeof C == "string" || typeof C == "function" || C === s || C === u || C === o || C === n || C === g || C === d || typeof C == "object" && C !== null && (C.$$typeof === m || C.$$typeof === S || C.$$typeof === a || C.$$typeof === l || C.$$typeof === p || C.$$typeof === T || C.$$typeof === y || C.$$typeof === E || C.$$typeof === f);
|
|
1993
1993
|
}, reactIs_production_min$1.typeOf = x, reactIs_production_min$1;
|
|
1994
1994
|
}
|
|
1995
1995
|
var reactIs_development$1 = {};
|
|
@@ -2004,10 +2004,10 @@ var reactIs_development$1 = {};
|
|
|
2004
2004
|
var hasRequiredReactIs_development$1;
|
|
2005
2005
|
function requireReactIs_development$1() {
|
|
2006
2006
|
return hasRequiredReactIs_development$1 || (hasRequiredReactIs_development$1 = 1, process.env.NODE_ENV !== "production" && function() {
|
|
2007
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120,
|
|
2007
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
2008
2008
|
function x(H) {
|
|
2009
2009
|
return typeof H == "string" || typeof H == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
2010
|
-
H === s || H === u || H === o || H === n || H === g || H === d || typeof H == "object" && H !== null && (H.$$typeof === m || H.$$typeof ===
|
|
2010
|
+
H === s || H === u || H === o || H === n || H === g || H === d || typeof H == "object" && H !== null && (H.$$typeof === m || H.$$typeof === S || H.$$typeof === a || H.$$typeof === l || H.$$typeof === p || H.$$typeof === T || H.$$typeof === y || H.$$typeof === E || H.$$typeof === f);
|
|
2011
2011
|
}
|
|
2012
2012
|
function b(H) {
|
|
2013
2013
|
if (typeof H == "object" && H !== null) {
|
|
@@ -2029,7 +2029,7 @@ function requireReactIs_development$1() {
|
|
|
2029
2029
|
case l:
|
|
2030
2030
|
case p:
|
|
2031
2031
|
case m:
|
|
2032
|
-
case
|
|
2032
|
+
case S:
|
|
2033
2033
|
case a:
|
|
2034
2034
|
return ce;
|
|
2035
2035
|
default:
|
|
@@ -2041,7 +2041,7 @@ function requireReactIs_development$1() {
|
|
|
2041
2041
|
}
|
|
2042
2042
|
}
|
|
2043
2043
|
}
|
|
2044
|
-
var C = c, P = u, I = l, F = a, $ = t, A = p, D = s, B = m, z =
|
|
2044
|
+
var C = c, P = u, I = l, F = a, $ = t, A = p, D = s, B = m, z = S, U = i, N = o, M = n, O = g, R = !1;
|
|
2045
2045
|
function _(H) {
|
|
2046
2046
|
return R || (R = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), k(H) || b(H) === c;
|
|
2047
2047
|
}
|
|
@@ -2067,7 +2067,7 @@ function requireReactIs_development$1() {
|
|
|
2067
2067
|
return b(H) === m;
|
|
2068
2068
|
}
|
|
2069
2069
|
function X(H) {
|
|
2070
|
-
return b(H) ===
|
|
2070
|
+
return b(H) === S;
|
|
2071
2071
|
}
|
|
2072
2072
|
function Q(H) {
|
|
2073
2073
|
return b(H) === i;
|
|
@@ -2187,9 +2187,9 @@ function requireCheckPropTypes() {
|
|
|
2187
2187
|
(c || "React class") + ": type specification of " + l + " `" + p + "` is invalid; the type checker function must return `null` or an `Error` but returned a " + typeof g + ". You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument)."
|
|
2188
2188
|
), g instanceof Error && !(g.message in i)) {
|
|
2189
2189
|
i[g.message] = !0;
|
|
2190
|
-
var
|
|
2190
|
+
var S = u ? u() : "";
|
|
2191
2191
|
e(
|
|
2192
|
-
"Failed " + l + " type: " + g.message + (
|
|
2192
|
+
"Failed " + l + " type: " + g.message + (S ?? "")
|
|
2193
2193
|
);
|
|
2194
2194
|
}
|
|
2195
2195
|
}
|
|
@@ -2223,7 +2223,7 @@ function requireFactoryWithTypeCheckers() {
|
|
|
2223
2223
|
if (typeof j == "function")
|
|
2224
2224
|
return j;
|
|
2225
2225
|
}
|
|
2226
|
-
var d = "<<anonymous>>",
|
|
2226
|
+
var d = "<<anonymous>>", S = {
|
|
2227
2227
|
array: y("array"),
|
|
2228
2228
|
bigint: y("bigint"),
|
|
2229
2229
|
bool: y("boolean"),
|
|
@@ -2232,7 +2232,7 @@ function requireFactoryWithTypeCheckers() {
|
|
|
2232
2232
|
object: y("object"),
|
|
2233
2233
|
string: y("string"),
|
|
2234
2234
|
symbol: y("symbol"),
|
|
2235
|
-
any:
|
|
2235
|
+
any: E(),
|
|
2236
2236
|
arrayOf: x,
|
|
2237
2237
|
element: b(),
|
|
2238
2238
|
elementType: C(),
|
|
@@ -2288,7 +2288,7 @@ function requireFactoryWithTypeCheckers() {
|
|
|
2288
2288
|
}
|
|
2289
2289
|
return T(j);
|
|
2290
2290
|
}
|
|
2291
|
-
function
|
|
2291
|
+
function E() {
|
|
2292
2292
|
return T(a);
|
|
2293
2293
|
}
|
|
2294
2294
|
function x(k) {
|
|
@@ -2517,7 +2517,7 @@ Valid keys: ` + JSON.stringify(Object.keys(k), null, " ")
|
|
|
2517
2517
|
function _(k) {
|
|
2518
2518
|
return !k.constructor || !k.constructor.name ? d : k.constructor.name;
|
|
2519
2519
|
}
|
|
2520
|
-
return
|
|
2520
|
+
return S.checkPropTypes = n, S.resetWarningCache = n.resetWarningCache, S.PropTypes = S, S;
|
|
2521
2521
|
}, factoryWithTypeCheckers;
|
|
2522
2522
|
}
|
|
2523
2523
|
var factoryWithThrowingShims, hasRequiredFactoryWithThrowingShims;
|
|
@@ -2911,7 +2911,7 @@ function mergeSlotProps(e) {
|
|
|
2911
2911
|
className: o
|
|
2912
2912
|
} = e;
|
|
2913
2913
|
if (!t) {
|
|
2914
|
-
const
|
|
2914
|
+
const S = clsx(i == null ? void 0 : i.className, o, n == null ? void 0 : n.className, s == null ? void 0 : s.className), m = {
|
|
2915
2915
|
...i == null ? void 0 : i.style,
|
|
2916
2916
|
...n == null ? void 0 : n.style,
|
|
2917
2917
|
...s == null ? void 0 : s.style
|
|
@@ -2920,7 +2920,7 @@ function mergeSlotProps(e) {
|
|
|
2920
2920
|
...n,
|
|
2921
2921
|
...s
|
|
2922
2922
|
};
|
|
2923
|
-
return
|
|
2923
|
+
return S.length > 0 && (f.className = S), Object.keys(m).length > 0 && (f.style = m), {
|
|
2924
2924
|
props: f,
|
|
2925
2925
|
internalRef: void 0
|
|
2926
2926
|
};
|
|
@@ -3692,24 +3692,24 @@ function unstable_createStyleFunctionSx() {
|
|
|
3692
3692
|
const u = createEmptyBreakpointObject(n.breakpoints), p = Object.keys(u);
|
|
3693
3693
|
let g = u;
|
|
3694
3694
|
return Object.keys(c).forEach((d) => {
|
|
3695
|
-
const
|
|
3696
|
-
if (
|
|
3697
|
-
if (typeof
|
|
3695
|
+
const S = callIfFn(c[d], n);
|
|
3696
|
+
if (S != null)
|
|
3697
|
+
if (typeof S == "object")
|
|
3698
3698
|
if (o[d])
|
|
3699
|
-
g = merge$1(g, e(d,
|
|
3699
|
+
g = merge$1(g, e(d, S, n, o));
|
|
3700
3700
|
else {
|
|
3701
3701
|
const m = handleBreakpoints({
|
|
3702
3702
|
theme: n
|
|
3703
|
-
},
|
|
3703
|
+
}, S, (f) => ({
|
|
3704
3704
|
[d]: f
|
|
3705
3705
|
}));
|
|
3706
|
-
objectsHaveSameKeys(m,
|
|
3707
|
-
sx:
|
|
3706
|
+
objectsHaveSameKeys(m, S) ? g[d] = t({
|
|
3707
|
+
sx: S,
|
|
3708
3708
|
theme: n
|
|
3709
3709
|
}) : g = merge$1(g, m);
|
|
3710
3710
|
}
|
|
3711
3711
|
else
|
|
3712
|
-
g = merge$1(g, e(d,
|
|
3712
|
+
g = merge$1(g, e(d, S, n, o));
|
|
3713
3713
|
}), sortContainerQueries(n, removeUnusedBreakpoints(p, g));
|
|
3714
3714
|
}
|
|
3715
3715
|
return Array.isArray(s) ? s.map(a) : a(s);
|
|
@@ -3920,19 +3920,19 @@ function compile(e) {
|
|
|
3920
3920
|
return dealloc(parse("", null, null, null, [""], e = alloc(e), 0, [0], e));
|
|
3921
3921
|
}
|
|
3922
3922
|
function parse(e, t, i, s, n, o, a, l, c) {
|
|
3923
|
-
for (var u = 0, p = 0, g = a, d = 0,
|
|
3924
|
-
switch (m =
|
|
3923
|
+
for (var u = 0, p = 0, g = a, d = 0, S = 0, m = 0, f = 1, T = 1, y = 1, E = 0, x = "", b = n, C = o, P = s, I = x; T; )
|
|
3924
|
+
switch (m = E, E = next()) {
|
|
3925
3925
|
// (
|
|
3926
3926
|
case 40:
|
|
3927
3927
|
if (m != 108 && charat(I, g - 1) == 58) {
|
|
3928
|
-
indexof(I += replace(delimit(
|
|
3928
|
+
indexof(I += replace(delimit(E), "&", "&\f"), "&\f") != -1 && (y = -1);
|
|
3929
3929
|
break;
|
|
3930
3930
|
}
|
|
3931
3931
|
// " ' [
|
|
3932
3932
|
case 34:
|
|
3933
3933
|
case 39:
|
|
3934
3934
|
case 91:
|
|
3935
|
-
I += delimit(
|
|
3935
|
+
I += delimit(E);
|
|
3936
3936
|
break;
|
|
3937
3937
|
// \t \n \r \s
|
|
3938
3938
|
case 9:
|
|
@@ -3963,21 +3963,21 @@ function parse(e, t, i, s, n, o, a, l, c) {
|
|
|
3963
3963
|
case 125 * f:
|
|
3964
3964
|
case 59:
|
|
3965
3965
|
case 0:
|
|
3966
|
-
switch (
|
|
3966
|
+
switch (E) {
|
|
3967
3967
|
// \0 }
|
|
3968
3968
|
case 0:
|
|
3969
3969
|
case 125:
|
|
3970
3970
|
T = 0;
|
|
3971
3971
|
// ;
|
|
3972
3972
|
case 59 + p:
|
|
3973
|
-
y == -1 && (I = replace(I, /\f/g, "")),
|
|
3973
|
+
y == -1 && (I = replace(I, /\f/g, "")), S > 0 && strlen(I) - g && append(S > 32 ? declaration(I + ";", s, i, g - 1) : declaration(replace(I, " ", "") + ";", s, i, g - 2), c);
|
|
3974
3974
|
break;
|
|
3975
3975
|
// @ ;
|
|
3976
3976
|
case 59:
|
|
3977
3977
|
I += ";";
|
|
3978
3978
|
// { rule/at-rule
|
|
3979
3979
|
default:
|
|
3980
|
-
if (append(P = ruleset(I, t, i, u, p, n, l, x, b = [], C = [], g), o),
|
|
3980
|
+
if (append(P = ruleset(I, t, i, u, p, n, l, x, b = [], C = [], g), o), E === 123)
|
|
3981
3981
|
if (p === 0)
|
|
3982
3982
|
parse(I, t, P, P, b, o, g, l, C);
|
|
3983
3983
|
else
|
|
@@ -3993,19 +3993,19 @@ function parse(e, t, i, s, n, o, a, l, c) {
|
|
|
3993
3993
|
parse(I, P, P, P, [""], C, 0, l, C);
|
|
3994
3994
|
}
|
|
3995
3995
|
}
|
|
3996
|
-
u = p =
|
|
3996
|
+
u = p = S = 0, f = y = 1, x = I = "", g = a;
|
|
3997
3997
|
break;
|
|
3998
3998
|
// :
|
|
3999
3999
|
case 58:
|
|
4000
|
-
g = 1 + strlen(I),
|
|
4000
|
+
g = 1 + strlen(I), S = m;
|
|
4001
4001
|
default:
|
|
4002
4002
|
if (f < 1) {
|
|
4003
|
-
if (
|
|
4003
|
+
if (E == 123)
|
|
4004
4004
|
--f;
|
|
4005
|
-
else if (
|
|
4005
|
+
else if (E == 125 && f++ == 0 && prev() == 125)
|
|
4006
4006
|
continue;
|
|
4007
4007
|
}
|
|
4008
|
-
switch (I += from(
|
|
4008
|
+
switch (I += from(E), E * f) {
|
|
4009
4009
|
// &
|
|
4010
4010
|
case 38:
|
|
4011
4011
|
y = p > 0 ? 1 : (I += "\f", -1);
|
|
@@ -4016,7 +4016,7 @@ function parse(e, t, i, s, n, o, a, l, c) {
|
|
|
4016
4016
|
break;
|
|
4017
4017
|
// @
|
|
4018
4018
|
case 64:
|
|
4019
|
-
peek() === 45 && (I += delimit(next())), d = peek(), p = g = strlen(x = I += identifier(caret())),
|
|
4019
|
+
peek() === 45 && (I += delimit(next())), d = peek(), p = g = strlen(x = I += identifier(caret())), E++;
|
|
4020
4020
|
break;
|
|
4021
4021
|
// -
|
|
4022
4022
|
case 45:
|
|
@@ -4026,9 +4026,9 @@ function parse(e, t, i, s, n, o, a, l, c) {
|
|
|
4026
4026
|
return o;
|
|
4027
4027
|
}
|
|
4028
4028
|
function ruleset(e, t, i, s, n, o, a, l, c, u, p) {
|
|
4029
|
-
for (var g = n - 1, d = n === 0 ? o : [""],
|
|
4030
|
-
for (var y = 0,
|
|
4031
|
-
(x = trim$1(f > 0 ? d[y] + " " +
|
|
4029
|
+
for (var g = n - 1, d = n === 0 ? o : [""], S = sizeof(d), m = 0, f = 0, T = 0; m < s; ++m)
|
|
4030
|
+
for (var y = 0, E = substr(e, g + 1, g = abs(f = a[m])), x = e; y < S; ++y)
|
|
4031
|
+
(x = trim$1(f > 0 ? d[y] + " " + E : replace(E, /&\f/g, d[y]))) && (c[T++] = x);
|
|
4032
4032
|
return node(e, t, i, n === 0 ? RULESET : l, c, u, p);
|
|
4033
4033
|
}
|
|
4034
4034
|
function comment(e, t, i) {
|
|
@@ -4322,11 +4322,11 @@ var prefixer = function(t, i, s, n) {
|
|
|
4322
4322
|
{
|
|
4323
4323
|
var p, g = [stringify, rulesheet(function(f) {
|
|
4324
4324
|
p.insert(f);
|
|
4325
|
-
})], d = middleware(u.concat(n, g)),
|
|
4325
|
+
})], d = middleware(u.concat(n, g)), S = function(T) {
|
|
4326
4326
|
return serialize(compile(T), d);
|
|
4327
4327
|
};
|
|
4328
|
-
c = function(T, y,
|
|
4329
|
-
p =
|
|
4328
|
+
c = function(T, y, E, x) {
|
|
4329
|
+
p = E, S(T ? T + "{" + y.styles + "}" : y.styles), x && (m.inserted[y.name] = !0);
|
|
4330
4330
|
};
|
|
4331
4331
|
}
|
|
4332
4332
|
var m = {
|
|
@@ -4358,7 +4358,7 @@ var hasRequiredReactIs_production_min;
|
|
|
4358
4358
|
function requireReactIs_production_min() {
|
|
4359
4359
|
if (hasRequiredReactIs_production_min) return reactIs_production_min;
|
|
4360
4360
|
hasRequiredReactIs_production_min = 1;
|
|
4361
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120,
|
|
4361
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
4362
4362
|
function x(C) {
|
|
4363
4363
|
if (typeof C == "object" && C !== null) {
|
|
4364
4364
|
var P = C.$$typeof;
|
|
@@ -4377,7 +4377,7 @@ function requireReactIs_production_min() {
|
|
|
4377
4377
|
case l:
|
|
4378
4378
|
case p:
|
|
4379
4379
|
case m:
|
|
4380
|
-
case
|
|
4380
|
+
case S:
|
|
4381
4381
|
case a:
|
|
4382
4382
|
return C;
|
|
4383
4383
|
default:
|
|
@@ -4392,7 +4392,7 @@ function requireReactIs_production_min() {
|
|
|
4392
4392
|
function b(C) {
|
|
4393
4393
|
return x(C) === u;
|
|
4394
4394
|
}
|
|
4395
|
-
return reactIs_production_min.AsyncMode = c, reactIs_production_min.ConcurrentMode = u, reactIs_production_min.ContextConsumer = l, reactIs_production_min.ContextProvider = a, reactIs_production_min.Element = t, reactIs_production_min.ForwardRef = p, reactIs_production_min.Fragment = s, reactIs_production_min.Lazy = m, reactIs_production_min.Memo =
|
|
4395
|
+
return reactIs_production_min.AsyncMode = c, reactIs_production_min.ConcurrentMode = u, reactIs_production_min.ContextConsumer = l, reactIs_production_min.ContextProvider = a, reactIs_production_min.Element = t, reactIs_production_min.ForwardRef = p, reactIs_production_min.Fragment = s, reactIs_production_min.Lazy = m, reactIs_production_min.Memo = S, reactIs_production_min.Portal = i, reactIs_production_min.Profiler = o, reactIs_production_min.StrictMode = n, reactIs_production_min.Suspense = g, reactIs_production_min.isAsyncMode = function(C) {
|
|
4396
4396
|
return b(C) || x(C) === c;
|
|
4397
4397
|
}, reactIs_production_min.isConcurrentMode = b, reactIs_production_min.isContextConsumer = function(C) {
|
|
4398
4398
|
return x(C) === l;
|
|
@@ -4407,7 +4407,7 @@ function requireReactIs_production_min() {
|
|
|
4407
4407
|
}, reactIs_production_min.isLazy = function(C) {
|
|
4408
4408
|
return x(C) === m;
|
|
4409
4409
|
}, reactIs_production_min.isMemo = function(C) {
|
|
4410
|
-
return x(C) ===
|
|
4410
|
+
return x(C) === S;
|
|
4411
4411
|
}, reactIs_production_min.isPortal = function(C) {
|
|
4412
4412
|
return x(C) === i;
|
|
4413
4413
|
}, reactIs_production_min.isProfiler = function(C) {
|
|
@@ -4417,7 +4417,7 @@ function requireReactIs_production_min() {
|
|
|
4417
4417
|
}, reactIs_production_min.isSuspense = function(C) {
|
|
4418
4418
|
return x(C) === g;
|
|
4419
4419
|
}, reactIs_production_min.isValidElementType = function(C) {
|
|
4420
|
-
return typeof C == "string" || typeof C == "function" || C === s || C === u || C === o || C === n || C === g || C === d || typeof C == "object" && C !== null && (C.$$typeof === m || C.$$typeof ===
|
|
4420
|
+
return typeof C == "string" || typeof C == "function" || C === s || C === u || C === o || C === n || C === g || C === d || typeof C == "object" && C !== null && (C.$$typeof === m || C.$$typeof === S || C.$$typeof === a || C.$$typeof === l || C.$$typeof === p || C.$$typeof === T || C.$$typeof === y || C.$$typeof === E || C.$$typeof === f);
|
|
4421
4421
|
}, reactIs_production_min.typeOf = x, reactIs_production_min;
|
|
4422
4422
|
}
|
|
4423
4423
|
var reactIs_development = {};
|
|
@@ -4432,10 +4432,10 @@ var reactIs_development = {};
|
|
|
4432
4432
|
var hasRequiredReactIs_development;
|
|
4433
4433
|
function requireReactIs_development() {
|
|
4434
4434
|
return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && function() {
|
|
4435
|
-
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120,
|
|
4435
|
+
var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, i = e ? Symbol.for("react.portal") : 60106, s = e ? Symbol.for("react.fragment") : 60107, n = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, a = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, p = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, d = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, T = e ? Symbol.for("react.fundamental") : 60117, y = e ? Symbol.for("react.responder") : 60118, E = e ? Symbol.for("react.scope") : 60119;
|
|
4436
4436
|
function x(H) {
|
|
4437
4437
|
return typeof H == "string" || typeof H == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
4438
|
-
H === s || H === u || H === o || H === n || H === g || H === d || typeof H == "object" && H !== null && (H.$$typeof === m || H.$$typeof ===
|
|
4438
|
+
H === s || H === u || H === o || H === n || H === g || H === d || typeof H == "object" && H !== null && (H.$$typeof === m || H.$$typeof === S || H.$$typeof === a || H.$$typeof === l || H.$$typeof === p || H.$$typeof === T || H.$$typeof === y || H.$$typeof === E || H.$$typeof === f);
|
|
4439
4439
|
}
|
|
4440
4440
|
function b(H) {
|
|
4441
4441
|
if (typeof H == "object" && H !== null) {
|
|
@@ -4457,7 +4457,7 @@ function requireReactIs_development() {
|
|
|
4457
4457
|
case l:
|
|
4458
4458
|
case p:
|
|
4459
4459
|
case m:
|
|
4460
|
-
case
|
|
4460
|
+
case S:
|
|
4461
4461
|
case a:
|
|
4462
4462
|
return ce;
|
|
4463
4463
|
default:
|
|
@@ -4469,7 +4469,7 @@ function requireReactIs_development() {
|
|
|
4469
4469
|
}
|
|
4470
4470
|
}
|
|
4471
4471
|
}
|
|
4472
|
-
var C = c, P = u, I = l, F = a, $ = t, A = p, D = s, B = m, z =
|
|
4472
|
+
var C = c, P = u, I = l, F = a, $ = t, A = p, D = s, B = m, z = S, U = i, N = o, M = n, O = g, R = !1;
|
|
4473
4473
|
function _(H) {
|
|
4474
4474
|
return R || (R = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), k(H) || b(H) === c;
|
|
4475
4475
|
}
|
|
@@ -4495,7 +4495,7 @@ function requireReactIs_development() {
|
|
|
4495
4495
|
return b(H) === m;
|
|
4496
4496
|
}
|
|
4497
4497
|
function X(H) {
|
|
4498
|
-
return b(H) ===
|
|
4498
|
+
return b(H) === S;
|
|
4499
4499
|
}
|
|
4500
4500
|
function Q(H) {
|
|
4501
4501
|
return b(H) === i;
|
|
@@ -4559,16 +4559,16 @@ function requireHoistNonReactStatics_cjs() {
|
|
|
4559
4559
|
return e.isMemo(m) ? n : o[m.$$typeof] || t;
|
|
4560
4560
|
}
|
|
4561
4561
|
var l = Object.defineProperty, c = Object.getOwnPropertyNames, u = Object.getOwnPropertySymbols, p = Object.getOwnPropertyDescriptor, g = Object.getPrototypeOf, d = Object.prototype;
|
|
4562
|
-
function
|
|
4562
|
+
function S(m, f, T) {
|
|
4563
4563
|
if (typeof f != "string") {
|
|
4564
4564
|
if (d) {
|
|
4565
4565
|
var y = g(f);
|
|
4566
|
-
y && y !== d &&
|
|
4566
|
+
y && y !== d && S(m, y, T);
|
|
4567
4567
|
}
|
|
4568
|
-
var
|
|
4569
|
-
u && (
|
|
4570
|
-
for (var x = a(m), b = a(f), C = 0; C <
|
|
4571
|
-
var P =
|
|
4568
|
+
var E = c(f);
|
|
4569
|
+
u && (E = E.concat(u(f)));
|
|
4570
|
+
for (var x = a(m), b = a(f), C = 0; C < E.length; ++C) {
|
|
4571
|
+
var P = E[C];
|
|
4572
4572
|
if (!i[P] && !(T && T[P]) && !(b && b[P]) && !(x && x[P])) {
|
|
4573
4573
|
var I = p(f, P);
|
|
4574
4574
|
try {
|
|
@@ -4580,7 +4580,7 @@ function requireHoistNonReactStatics_cjs() {
|
|
|
4580
4580
|
}
|
|
4581
4581
|
return m;
|
|
4582
4582
|
}
|
|
4583
|
-
return hoistNonReactStatics_cjs =
|
|
4583
|
+
return hoistNonReactStatics_cjs = S, hoistNonReactStatics_cjs;
|
|
4584
4584
|
}
|
|
4585
4585
|
requireHoistNonReactStatics_cjs();
|
|
4586
4586
|
var isBrowser = !0;
|
|
@@ -4915,10 +4915,10 @@ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|def
|
|
|
4915
4915
|
else {
|
|
4916
4916
|
var d = p[0];
|
|
4917
4917
|
g.push(d[0]);
|
|
4918
|
-
for (var
|
|
4918
|
+
for (var S = p.length, m = 1; m < S; m++)
|
|
4919
4919
|
g.push(p[m], d[m]);
|
|
4920
4920
|
}
|
|
4921
|
-
var f = withEmotionCache(function(T, y,
|
|
4921
|
+
var f = withEmotionCache(function(T, y, E) {
|
|
4922
4922
|
var x = u && T.as || n, b = "", C = [], P = T;
|
|
4923
4923
|
if (T.theme == null) {
|
|
4924
4924
|
P = {};
|
|
@@ -4932,7 +4932,7 @@ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|def
|
|
|
4932
4932
|
var $ = u && l === void 0 ? getDefaultShouldForwardProp(x) : c, A = {};
|
|
4933
4933
|
for (var D in T)
|
|
4934
4934
|
u && D === "as" || $(D) && (A[D] = T[D]);
|
|
4935
|
-
return A.className = b,
|
|
4935
|
+
return A.className = b, E && (A.ref = E), /* @__PURE__ */ React.createElement(React.Fragment, null, /* @__PURE__ */ React.createElement(Insertion, {
|
|
4936
4936
|
cache: y,
|
|
4937
4937
|
serialized: F,
|
|
4938
4938
|
isStringTag: typeof x == "string"
|
|
@@ -4943,10 +4943,10 @@ var reactPropsRegex = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|def
|
|
|
4943
4943
|
return "." + a;
|
|
4944
4944
|
}
|
|
4945
4945
|
}), f.withComponent = function(T, y) {
|
|
4946
|
-
var
|
|
4946
|
+
var E = e(T, _extends({}, i, y, {
|
|
4947
4947
|
shouldForwardProp: composeShouldForwardProps(f, y, !0)
|
|
4948
4948
|
}));
|
|
4949
|
-
return
|
|
4949
|
+
return E.apply(void 0, g);
|
|
4950
4950
|
}, f;
|
|
4951
4951
|
};
|
|
4952
4952
|
}, tags = [
|
|
@@ -5147,16 +5147,16 @@ function createBreakpoints(e) {
|
|
|
5147
5147
|
function c(d) {
|
|
5148
5148
|
return `@media (max-width:${(typeof t[d] == "number" ? t[d] : d) - s / 100}${i})`;
|
|
5149
5149
|
}
|
|
5150
|
-
function u(d,
|
|
5151
|
-
const m = a.indexOf(
|
|
5152
|
-
return `@media (min-width:${typeof t[d] == "number" ? t[d] : d}${i}) and (max-width:${(m !== -1 && typeof t[a[m]] == "number" ? t[a[m]] :
|
|
5150
|
+
function u(d, S) {
|
|
5151
|
+
const m = a.indexOf(S);
|
|
5152
|
+
return `@media (min-width:${typeof t[d] == "number" ? t[d] : d}${i}) and (max-width:${(m !== -1 && typeof t[a[m]] == "number" ? t[a[m]] : S) - s / 100}${i})`;
|
|
5153
5153
|
}
|
|
5154
5154
|
function p(d) {
|
|
5155
5155
|
return a.indexOf(d) + 1 < a.length ? u(d, a[a.indexOf(d) + 1]) : l(d);
|
|
5156
5156
|
}
|
|
5157
5157
|
function g(d) {
|
|
5158
|
-
const
|
|
5159
|
-
return
|
|
5158
|
+
const S = a.indexOf(d);
|
|
5159
|
+
return S === 0 ? l(a[1]) : S === a.length - 1 ? c(a[S]) : u(d, a[a.indexOf(d) + 1]).replace("@media", "@media not all and");
|
|
5160
5160
|
}
|
|
5161
5161
|
return {
|
|
5162
5162
|
keys: a,
|
|
@@ -5326,7 +5326,7 @@ function createStyled(e = {}) {
|
|
|
5326
5326
|
skipSx: d,
|
|
5327
5327
|
// TODO v6: remove `lowercaseFirstLetter()` in the next major release
|
|
5328
5328
|
// For more details: https://github.com/mui/material-ui/pull/37908
|
|
5329
|
-
overridesResolver:
|
|
5329
|
+
overridesResolver: S = defaultOverridesResolver(lowercaseFirstLetter(p)),
|
|
5330
5330
|
...m
|
|
5331
5331
|
} = c, f = g !== void 0 ? g : (
|
|
5332
5332
|
// TODO v6: remove `Root` in the next major release
|
|
@@ -5335,7 +5335,7 @@ function createStyled(e = {}) {
|
|
|
5335
5335
|
), T = d || !1;
|
|
5336
5336
|
let y = shouldForwardProp;
|
|
5337
5337
|
p === "Root" || p === "root" ? y = s : p ? y = n : isStringTag(l) && (y = void 0);
|
|
5338
|
-
const
|
|
5338
|
+
const E = styled$1(l, {
|
|
5339
5339
|
shouldForwardProp: y,
|
|
5340
5340
|
label: generateStyledLabel(u, p),
|
|
5341
5341
|
...m
|
|
@@ -5353,7 +5353,7 @@ function createStyled(e = {}) {
|
|
|
5353
5353
|
return C;
|
|
5354
5354
|
}, b = (...C) => {
|
|
5355
5355
|
const P = [], I = C.map(x), F = [];
|
|
5356
|
-
if (P.push(o), u &&
|
|
5356
|
+
if (P.push(o), u && S && F.push(function(B) {
|
|
5357
5357
|
var M, O;
|
|
5358
5358
|
const U = (O = (M = B.theme.components) == null ? void 0 : M[u]) == null ? void 0 : O.styleOverrides;
|
|
5359
5359
|
if (!U)
|
|
@@ -5361,7 +5361,7 @@ function createStyled(e = {}) {
|
|
|
5361
5361
|
const N = {};
|
|
5362
5362
|
for (const R in U)
|
|
5363
5363
|
N[R] = processStyle(B, U[R]);
|
|
5364
|
-
return
|
|
5364
|
+
return S(B, N);
|
|
5365
5365
|
}), u && !f && F.push(function(B) {
|
|
5366
5366
|
var N, M;
|
|
5367
5367
|
const z = B.theme, U = (M = (N = z == null ? void 0 : z.components) == null ? void 0 : N[u]) == null ? void 0 : M.variants;
|
|
@@ -5371,10 +5371,10 @@ function createStyled(e = {}) {
|
|
|
5371
5371
|
let U;
|
|
5372
5372
|
U = [...B, ...D, ...z], U.raw = [...B, ...D.raw, ...z], P.unshift(U);
|
|
5373
5373
|
}
|
|
5374
|
-
const $ = [...P, ...I, ...F], A =
|
|
5374
|
+
const $ = [...P, ...I, ...F], A = E(...$);
|
|
5375
5375
|
return l.muiName && (A.muiName = l.muiName), process.env.NODE_ENV !== "production" && (A.displayName = generateDisplayName(u, p, l)), A;
|
|
5376
5376
|
};
|
|
5377
|
-
return
|
|
5377
|
+
return E.withConfig && (b.withConfig = E.withConfig), b;
|
|
5378
5378
|
};
|
|
5379
5379
|
}
|
|
5380
5380
|
function generateDisplayName(e, t, i) {
|
|
@@ -5622,7 +5622,7 @@ function prepareCssVars(e, t = {}) {
|
|
|
5622
5622
|
varsWithDefaults: g
|
|
5623
5623
|
} = cssVarsParser(c, t);
|
|
5624
5624
|
let d = g;
|
|
5625
|
-
const
|
|
5625
|
+
const S = {}, {
|
|
5626
5626
|
[l]: m,
|
|
5627
5627
|
...f
|
|
5628
5628
|
} = o;
|
|
@@ -5632,7 +5632,7 @@ function prepareCssVars(e, t = {}) {
|
|
|
5632
5632
|
css: P,
|
|
5633
5633
|
varsWithDefaults: I
|
|
5634
5634
|
} = cssVarsParser(b, t);
|
|
5635
|
-
d = deepmerge(d, I),
|
|
5635
|
+
d = deepmerge(d, I), S[x] = {
|
|
5636
5636
|
css: P,
|
|
5637
5637
|
vars: C
|
|
5638
5638
|
};
|
|
@@ -5642,7 +5642,7 @@ function prepareCssVars(e, t = {}) {
|
|
|
5642
5642
|
vars: b,
|
|
5643
5643
|
varsWithDefaults: C
|
|
5644
5644
|
} = cssVarsParser(m, t);
|
|
5645
|
-
d = deepmerge(d, C),
|
|
5645
|
+
d = deepmerge(d, C), S[l] = {
|
|
5646
5646
|
css: x,
|
|
5647
5647
|
vars: b
|
|
5648
5648
|
};
|
|
@@ -5668,7 +5668,7 @@ function prepareCssVars(e, t = {}) {
|
|
|
5668
5668
|
let x = {
|
|
5669
5669
|
...u
|
|
5670
5670
|
};
|
|
5671
|
-
return Object.entries(
|
|
5671
|
+
return Object.entries(S).forEach(([, {
|
|
5672
5672
|
vars: b
|
|
5673
5673
|
}]) => {
|
|
5674
5674
|
x = deepmerge(x, b);
|
|
@@ -5690,7 +5690,7 @@ function prepareCssVars(e, t = {}) {
|
|
|
5690
5690
|
const {
|
|
5691
5691
|
[b]: P,
|
|
5692
5692
|
...I
|
|
5693
|
-
} =
|
|
5693
|
+
} = S;
|
|
5694
5694
|
if (P) {
|
|
5695
5695
|
const {
|
|
5696
5696
|
css: A
|
|
@@ -5944,7 +5944,7 @@ function createPalette(e) {
|
|
|
5944
5944
|
color: f,
|
|
5945
5945
|
name: T,
|
|
5946
5946
|
mainShade: y = 500,
|
|
5947
|
-
lightShade:
|
|
5947
|
+
lightShade: E = 300,
|
|
5948
5948
|
darkShade: x = 700
|
|
5949
5949
|
}) => {
|
|
5950
5950
|
if (f = {
|
|
@@ -5967,10 +5967,10 @@ const theme1 = createTheme({ palette: {
|
|
|
5967
5967
|
const theme2 = createTheme({ palette: {
|
|
5968
5968
|
primary: { main: green[500] },
|
|
5969
5969
|
} });` : formatMuiErrorMessage(12, T ? ` (${T})` : "", JSON.stringify(f.main)));
|
|
5970
|
-
return addLightOrDark(f, "light",
|
|
5970
|
+
return addLightOrDark(f, "light", E, s), addLightOrDark(f, "dark", x, s), f.contrastText || (f.contrastText = g(f.main)), f;
|
|
5971
5971
|
};
|
|
5972
|
-
let
|
|
5973
|
-
return t === "light" ?
|
|
5972
|
+
let S;
|
|
5973
|
+
return t === "light" ? S = getLight() : t === "dark" && (S = getDark()), process.env.NODE_ENV !== "production" && (S || console.error(`MUI: The palette mode \`${t}\` is not supported.`)), deepmerge({
|
|
5974
5974
|
// A collection of common colors.
|
|
5975
5975
|
common: {
|
|
5976
5976
|
...common
|
|
@@ -6025,7 +6025,7 @@ const theme2 = createTheme({ palette: {
|
|
|
6025
6025
|
// E.g., shift from Red 500 to Red 300 or Red 700.
|
|
6026
6026
|
tonalOffset: s,
|
|
6027
6027
|
// The light and dark mode object.
|
|
6028
|
-
...
|
|
6028
|
+
...S
|
|
6029
6029
|
}, n);
|
|
6030
6030
|
}
|
|
6031
6031
|
function prepareTypographyVars(e) {
|
|
@@ -6076,12 +6076,12 @@ function createTypography(e, t) {
|
|
|
6076
6076
|
...g
|
|
6077
6077
|
} = typeof t == "function" ? t(e) : t;
|
|
6078
6078
|
process.env.NODE_ENV !== "production" && (typeof s != "number" && console.error("MUI: `fontSize` is required to be a number."), typeof c != "number" && console.error("MUI: `htmlFontSize` is required to be a number."));
|
|
6079
|
-
const d = s / 14,
|
|
6079
|
+
const d = s / 14, S = p || ((T) => `${T / c * d}rem`), m = (T, y, E, x, b) => ({
|
|
6080
6080
|
fontFamily: i,
|
|
6081
6081
|
fontWeight: T,
|
|
6082
|
-
fontSize:
|
|
6082
|
+
fontSize: S(y),
|
|
6083
6083
|
// Unitless following https://meyerweb.com/eric/thoughts/2006/02/08/unitless-line-heights/
|
|
6084
|
-
lineHeight:
|
|
6084
|
+
lineHeight: E,
|
|
6085
6085
|
// The letter spacing was designed for the Roboto font-family. Using the same letter-spacing
|
|
6086
6086
|
// across font-families can cause issues with the kerning.
|
|
6087
6087
|
...i === defaultFontFamily ? {
|
|
@@ -6114,7 +6114,7 @@ function createTypography(e, t) {
|
|
|
6114
6114
|
};
|
|
6115
6115
|
return deepmerge({
|
|
6116
6116
|
htmlFontSize: c,
|
|
6117
|
-
pxToRem:
|
|
6117
|
+
pxToRem: S,
|
|
6118
6118
|
fontFamily: i,
|
|
6119
6119
|
fontSize: s,
|
|
6120
6120
|
fontWeightLight: n,
|
|
@@ -6254,17 +6254,17 @@ function createThemeNoVars(e = {}, ...t) {
|
|
|
6254
6254
|
...zIndex
|
|
6255
6255
|
}
|
|
6256
6256
|
});
|
|
6257
|
-
if (d = deepmerge(d, u), d = t.reduce((
|
|
6258
|
-
const
|
|
6257
|
+
if (d = deepmerge(d, u), d = t.reduce((S, m) => deepmerge(S, m), d), process.env.NODE_ENV !== "production") {
|
|
6258
|
+
const S = ["active", "checked", "completed", "disabled", "error", "expanded", "focused", "focusVisible", "required", "selected"], m = (f, T) => {
|
|
6259
6259
|
let y;
|
|
6260
6260
|
for (y in f) {
|
|
6261
|
-
const
|
|
6262
|
-
if (
|
|
6261
|
+
const E = f[y];
|
|
6262
|
+
if (S.includes(y) && Object.keys(E).length > 0) {
|
|
6263
6263
|
if (process.env.NODE_ENV !== "production") {
|
|
6264
6264
|
const x = generateUtilityClass("", y);
|
|
6265
6265
|
console.error([`MUI: The \`${T}\` component increases the CSS specificity of the \`${y}\` internal state.`, "You can not override it like this: ", JSON.stringify(f, null, 2), "", `Instead, you need to use the '&.${x}' syntax:`, JSON.stringify({
|
|
6266
6266
|
root: {
|
|
6267
|
-
[`&.${x}`]:
|
|
6267
|
+
[`&.${x}`]: E
|
|
6268
6268
|
}
|
|
6269
6269
|
}, null, 2), "", "https://mui.com/r/state-classes-guide"].join(`
|
|
6270
6270
|
`));
|
|
@@ -6443,17 +6443,17 @@ function createThemeWithVars(e = {}, ...t) {
|
|
|
6443
6443
|
rootSelector: c = ":root",
|
|
6444
6444
|
...u
|
|
6445
6445
|
} = e, p = Object.keys(i)[0], g = s || (i.light && p !== "light" ? "light" : p), d = createGetCssVar(o), {
|
|
6446
|
-
[g]:
|
|
6446
|
+
[g]: S,
|
|
6447
6447
|
light: m,
|
|
6448
6448
|
dark: f,
|
|
6449
6449
|
...T
|
|
6450
6450
|
} = i, y = {
|
|
6451
6451
|
...T
|
|
6452
6452
|
};
|
|
6453
|
-
let
|
|
6454
|
-
if ((g === "dark" && !("dark" in i) || g === "light" && !("light" in i)) && (
|
|
6453
|
+
let E = S;
|
|
6454
|
+
if ((g === "dark" && !("dark" in i) || g === "light" && !("light" in i)) && (E = !0), !E)
|
|
6455
6455
|
throw new Error(process.env.NODE_ENV !== "production" ? `MUI: The \`colorSchemes.${g}\` option is either missing or invalid.` : formatMuiErrorMessage(21, g));
|
|
6456
|
-
const x = attachColorScheme$1(y,
|
|
6456
|
+
const x = attachColorScheme$1(y, E, u, g);
|
|
6457
6457
|
m && !y.light && attachColorScheme$1(y, m, void 0, "light"), f && !y.dark && attachColorScheme$1(y, f, void 0, "dark");
|
|
6458
6458
|
let b = {
|
|
6459
6459
|
defaultColorScheme: g,
|
|
@@ -6609,7 +6609,7 @@ const useUtilityClasses$5 = (e) => {
|
|
|
6609
6609
|
})(memoTheme(({
|
|
6610
6610
|
theme: e
|
|
6611
6611
|
}) => {
|
|
6612
|
-
var t, i, s, n, o, a, l, c, u, p, g, d,
|
|
6612
|
+
var t, i, s, n, o, a, l, c, u, p, g, d, S, m;
|
|
6613
6613
|
return {
|
|
6614
6614
|
userSelect: "none",
|
|
6615
6615
|
width: "1em",
|
|
@@ -6685,7 +6685,7 @@ const useUtilityClasses$5 = (e) => {
|
|
|
6685
6685
|
color: "disabled"
|
|
6686
6686
|
},
|
|
6687
6687
|
style: {
|
|
6688
|
-
color: (m = (
|
|
6688
|
+
color: (m = (S = (e.vars ?? e).palette) == null ? void 0 : S.action) == null ? void 0 : m.disabled
|
|
6689
6689
|
}
|
|
6690
6690
|
},
|
|
6691
6691
|
{
|
|
@@ -6712,7 +6712,7 @@ const useUtilityClasses$5 = (e) => {
|
|
|
6712
6712
|
inheritViewBox: p = !1,
|
|
6713
6713
|
titleAccess: g,
|
|
6714
6714
|
viewBox: d = "0 0 24 24",
|
|
6715
|
-
...
|
|
6715
|
+
...S
|
|
6716
6716
|
} = s, m = /* @__PURE__ */ React.isValidElement(n) && n.type === "svg", f = {
|
|
6717
6717
|
...s,
|
|
6718
6718
|
color: a,
|
|
@@ -6734,7 +6734,7 @@ const useUtilityClasses$5 = (e) => {
|
|
|
6734
6734
|
role: g ? "img" : void 0,
|
|
6735
6735
|
ref: i,
|
|
6736
6736
|
...T,
|
|
6737
|
-
...
|
|
6737
|
+
...S,
|
|
6738
6738
|
...m && n.props,
|
|
6739
6739
|
ownerState: f,
|
|
6740
6740
|
children: [m ? n.props.children : n, g ? /* @__PURE__ */ jsxRuntimeExports.jsx("title", {
|
|
@@ -6839,15 +6839,15 @@ const SearchIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path", {
|
|
|
6839
6839
|
// default height
|
|
6840
6840
|
style: l = {}
|
|
6841
6841
|
}) => {
|
|
6842
|
-
const [c, u] = useState([]), [p, g] = useState(!1), [d,
|
|
6842
|
+
const [c, u] = useState([]), [p, g] = useState(!1), [d, S] = useState(!1), [m, f] = useState(!1), T = useRef(null);
|
|
6843
6843
|
useEffect(() => {
|
|
6844
6844
|
if (s.trim() === "") {
|
|
6845
6845
|
u([]);
|
|
6846
6846
|
return;
|
|
6847
6847
|
}
|
|
6848
|
-
|
|
6848
|
+
S(!0), i(s).then((P) => u(P)).finally(() => S(!1));
|
|
6849
6849
|
}, [s, i]);
|
|
6850
|
-
const y = parseFloat(a),
|
|
6850
|
+
const y = parseFloat(a), E = a.includes("rem"), x = E ? "rem" : "px", b = E ? y : y / 16, C = {
|
|
6851
6851
|
width: o,
|
|
6852
6852
|
height: a,
|
|
6853
6853
|
"--input-font-size": `${b * 0.4}${x}`,
|
|
@@ -7230,24 +7230,24 @@ function toFormData$1(e, t, i) {
|
|
|
7230
7230
|
convertValue: u,
|
|
7231
7231
|
isVisitable
|
|
7232
7232
|
});
|
|
7233
|
-
function
|
|
7233
|
+
function S(m, f) {
|
|
7234
7234
|
if (!utils$1.isUndefined(m)) {
|
|
7235
7235
|
if (g.indexOf(m) !== -1)
|
|
7236
7236
|
throw Error("Circular reference detected in " + f.join("."));
|
|
7237
|
-
g.push(m), utils$1.forEach(m, function(y,
|
|
7237
|
+
g.push(m), utils$1.forEach(m, function(y, E) {
|
|
7238
7238
|
(!(utils$1.isUndefined(y) || y === null) && n.call(
|
|
7239
7239
|
t,
|
|
7240
7240
|
y,
|
|
7241
|
-
utils$1.isString(
|
|
7241
|
+
utils$1.isString(E) ? E.trim() : E,
|
|
7242
7242
|
f,
|
|
7243
7243
|
d
|
|
7244
|
-
)) === !0 &&
|
|
7244
|
+
)) === !0 && S(y, f ? f.concat(E) : [E]);
|
|
7245
7245
|
}), g.pop();
|
|
7246
7246
|
}
|
|
7247
7247
|
}
|
|
7248
7248
|
if (!utils$1.isObject(e))
|
|
7249
7249
|
throw new TypeError("data must be an object");
|
|
7250
|
-
return
|
|
7250
|
+
return S(e), t;
|
|
7251
7251
|
}
|
|
7252
7252
|
function encode$1(e) {
|
|
7253
7253
|
const t = {
|
|
@@ -7722,8 +7722,8 @@ function speedometer(e, t) {
|
|
|
7722
7722
|
d += i[g++], g = g % e;
|
|
7723
7723
|
if (n = (n + 1) % e, n === o && (o = (o + 1) % e), u - a < t)
|
|
7724
7724
|
return;
|
|
7725
|
-
const
|
|
7726
|
-
return
|
|
7725
|
+
const S = p && u - p;
|
|
7726
|
+
return S ? Math.round(d * 1e3 / S) : void 0;
|
|
7727
7727
|
};
|
|
7728
7728
|
}
|
|
7729
7729
|
function throttle(e, t) {
|
|
@@ -7895,9 +7895,9 @@ const resolveConfig = (e) => {
|
|
|
7895
7895
|
const n = resolveConfig(e);
|
|
7896
7896
|
let o = n.data;
|
|
7897
7897
|
const a = AxiosHeaders$1.from(n.headers).normalize();
|
|
7898
|
-
let { responseType: l, onUploadProgress: c, onDownloadProgress: u } = n, p, g, d,
|
|
7898
|
+
let { responseType: l, onUploadProgress: c, onDownloadProgress: u } = n, p, g, d, S, m;
|
|
7899
7899
|
function f() {
|
|
7900
|
-
|
|
7900
|
+
S && S(), m && m(), n.cancelToken && n.cancelToken.unsubscribe(p), n.signal && n.signal.removeEventListener("abort", p);
|
|
7901
7901
|
}
|
|
7902
7902
|
let T = new XMLHttpRequest();
|
|
7903
7903
|
T.open(n.method.toUpperCase(), n.url, !0), T.timeout = n.timeout;
|
|
@@ -7937,12 +7937,12 @@ const resolveConfig = (e) => {
|
|
|
7937
7937
|
)), T = null;
|
|
7938
7938
|
}, o === void 0 && a.setContentType(null), "setRequestHeader" in T && utils$1.forEach(a.toJSON(), function(b, C) {
|
|
7939
7939
|
T.setRequestHeader(C, b);
|
|
7940
|
-
}), utils$1.isUndefined(n.withCredentials) || (T.withCredentials = !!n.withCredentials), l && l !== "json" && (T.responseType = n.responseType), u && ([d, m] = progressEventReducer(u, !0), T.addEventListener("progress", d)), c && T.upload && ([g,
|
|
7940
|
+
}), utils$1.isUndefined(n.withCredentials) || (T.withCredentials = !!n.withCredentials), l && l !== "json" && (T.responseType = n.responseType), u && ([d, m] = progressEventReducer(u, !0), T.addEventListener("progress", d)), c && T.upload && ([g, S] = progressEventReducer(c), T.upload.addEventListener("progress", g), T.upload.addEventListener("loadend", S)), (n.cancelToken || n.signal) && (p = (x) => {
|
|
7941
7941
|
T && (s(!x || x.type ? new CanceledError$1(null, e, T) : x), T.abort(), T = null);
|
|
7942
7942
|
}, n.cancelToken && n.cancelToken.subscribe(p), n.signal && (n.signal.aborted ? p() : n.signal.addEventListener("abort", p)));
|
|
7943
|
-
const
|
|
7944
|
-
if (
|
|
7945
|
-
s(new AxiosError$1("Unsupported protocol " +
|
|
7943
|
+
const E = parseProtocol(n.url);
|
|
7944
|
+
if (E && platform.protocols.indexOf(E) === -1) {
|
|
7945
|
+
s(new AxiosError$1("Unsupported protocol " + E + ":", AxiosError$1.ERR_BAD_REQUEST, e));
|
|
7946
7946
|
return;
|
|
7947
7947
|
}
|
|
7948
7948
|
T.send(o || null);
|
|
@@ -8086,9 +8086,9 @@ const getBodyLength = async (e) => {
|
|
|
8086
8086
|
fetchOptions: d
|
|
8087
8087
|
} = resolveConfig(e);
|
|
8088
8088
|
u = u ? (u + "").toLowerCase() : "text";
|
|
8089
|
-
let
|
|
8090
|
-
const f =
|
|
8091
|
-
|
|
8089
|
+
let S = composeSignals([n, o && o.toAbortSignal()], a), m;
|
|
8090
|
+
const f = S && S.unsubscribe && (() => {
|
|
8091
|
+
S.unsubscribe();
|
|
8092
8092
|
});
|
|
8093
8093
|
let T;
|
|
8094
8094
|
try {
|
|
@@ -8110,39 +8110,39 @@ const getBodyLength = async (e) => {
|
|
|
8110
8110
|
const y = "credentials" in Request.prototype;
|
|
8111
8111
|
m = new Request(t, {
|
|
8112
8112
|
...d,
|
|
8113
|
-
signal:
|
|
8113
|
+
signal: S,
|
|
8114
8114
|
method: i.toUpperCase(),
|
|
8115
8115
|
headers: p.normalize().toJSON(),
|
|
8116
8116
|
body: s,
|
|
8117
8117
|
duplex: "half",
|
|
8118
8118
|
credentials: y ? g : void 0
|
|
8119
8119
|
});
|
|
8120
|
-
let
|
|
8120
|
+
let E = await fetch(m);
|
|
8121
8121
|
const x = supportsResponseStream && (u === "stream" || u === "response");
|
|
8122
8122
|
if (supportsResponseStream && (l || x && f)) {
|
|
8123
8123
|
const C = {};
|
|
8124
8124
|
["status", "statusText", "headers"].forEach(($) => {
|
|
8125
|
-
C[$] =
|
|
8125
|
+
C[$] = E[$];
|
|
8126
8126
|
});
|
|
8127
|
-
const P = utils$1.toFiniteNumber(
|
|
8127
|
+
const P = utils$1.toFiniteNumber(E.headers.get("content-length")), [I, F] = l && progressEventDecorator(
|
|
8128
8128
|
P,
|
|
8129
8129
|
progressEventReducer(asyncDecorator(l), !0)
|
|
8130
8130
|
) || [];
|
|
8131
|
-
|
|
8132
|
-
trackStream(
|
|
8131
|
+
E = new Response(
|
|
8132
|
+
trackStream(E.body, DEFAULT_CHUNK_SIZE, I, () => {
|
|
8133
8133
|
F && F(), f && f();
|
|
8134
8134
|
}),
|
|
8135
8135
|
C
|
|
8136
8136
|
);
|
|
8137
8137
|
}
|
|
8138
8138
|
u = u || "text";
|
|
8139
|
-
let b = await resolvers[utils$1.findKey(resolvers, u) || "text"](
|
|
8139
|
+
let b = await resolvers[utils$1.findKey(resolvers, u) || "text"](E, e);
|
|
8140
8140
|
return !x && f && f(), await new Promise((C, P) => {
|
|
8141
8141
|
settle(C, P, {
|
|
8142
8142
|
data: b,
|
|
8143
|
-
headers: AxiosHeaders$1.from(
|
|
8144
|
-
status:
|
|
8145
|
-
statusText:
|
|
8143
|
+
headers: AxiosHeaders$1.from(E.headers),
|
|
8144
|
+
status: E.status,
|
|
8145
|
+
statusText: E.statusText,
|
|
8146
8146
|
config: e,
|
|
8147
8147
|
request: m
|
|
8148
8148
|
});
|
|
@@ -8346,18 +8346,18 @@ let Axios$1 = class {
|
|
|
8346
8346
|
return p;
|
|
8347
8347
|
}
|
|
8348
8348
|
d = l.length;
|
|
8349
|
-
let
|
|
8349
|
+
let S = i;
|
|
8350
8350
|
for (g = 0; g < d; ) {
|
|
8351
8351
|
const m = l[g++], f = l[g++];
|
|
8352
8352
|
try {
|
|
8353
|
-
|
|
8353
|
+
S = m(S);
|
|
8354
8354
|
} catch (T) {
|
|
8355
8355
|
f.call(this, T);
|
|
8356
8356
|
break;
|
|
8357
8357
|
}
|
|
8358
8358
|
}
|
|
8359
8359
|
try {
|
|
8360
|
-
p = dispatchRequest.call(this,
|
|
8360
|
+
p = dispatchRequest.call(this, S);
|
|
8361
8361
|
} catch (m) {
|
|
8362
8362
|
return Promise.reject(m);
|
|
8363
8363
|
}
|
|
@@ -8594,15 +8594,15 @@ const {
|
|
|
8594
8594
|
if (d)
|
|
8595
8595
|
if (l) {
|
|
8596
8596
|
d.style.display = "block";
|
|
8597
|
-
const
|
|
8598
|
-
p({ maxHeight:
|
|
8597
|
+
const S = d.scrollHeight;
|
|
8598
|
+
p({ maxHeight: S });
|
|
8599
8599
|
const m = setTimeout(() => {
|
|
8600
8600
|
p({ maxHeight: "none" });
|
|
8601
8601
|
}, 300);
|
|
8602
8602
|
return () => clearTimeout(m);
|
|
8603
8603
|
} else {
|
|
8604
|
-
const
|
|
8605
|
-
p({ maxHeight:
|
|
8604
|
+
const S = d.scrollHeight;
|
|
8605
|
+
p({ maxHeight: S });
|
|
8606
8606
|
const m = setTimeout(() => {
|
|
8607
8607
|
p({ maxHeight: 0 });
|
|
8608
8608
|
}, 20), f = setTimeout(() => {
|
|
@@ -8652,14 +8652,14 @@ const {
|
|
|
8652
8652
|
)
|
|
8653
8653
|
] });
|
|
8654
8654
|
}, CEDrawer = ({ jsonUrl: e, isOpen: t, onClose: i }) => {
|
|
8655
|
-
const s = useRef(null), [n, o] = useState(), [a, l] = useState([]), [c, u] = useState({}), [p, g] = useState(!0), [d,
|
|
8655
|
+
const s = useRef(null), [n, o] = useState(), [a, l] = useState([]), [c, u] = useState({}), [p, g] = useState(!0), [d, S] = useState(null);
|
|
8656
8656
|
useEffect(() => {
|
|
8657
8657
|
(async () => {
|
|
8658
8658
|
try {
|
|
8659
8659
|
const T = await axios.get(e);
|
|
8660
8660
|
o(T.data.headerItem), l(T.data.menuItems || []), g(!1);
|
|
8661
8661
|
} catch {
|
|
8662
|
-
|
|
8662
|
+
S("Failed to load drawer data."), g(!1);
|
|
8663
8663
|
}
|
|
8664
8664
|
})();
|
|
8665
8665
|
}, [e]);
|
|
@@ -8767,7 +8767,7 @@ const {
|
|
|
8767
8767
|
}, d = (b) => s[b].fields.every((P) => {
|
|
8768
8768
|
var I;
|
|
8769
8769
|
return P.required ? ((I = l[b][P.name]) == null ? void 0 : I.trim()) !== "" : !0;
|
|
8770
|
-
}),
|
|
8770
|
+
}), S = () => {
|
|
8771
8771
|
const b = [...u];
|
|
8772
8772
|
b[o] = !0, p(b), a((C) => C < s.length - 1 ? C + 1 : C);
|
|
8773
8773
|
}, m = () => {
|
|
@@ -8781,7 +8781,7 @@ const {
|
|
|
8781
8781
|
formData: l[o],
|
|
8782
8782
|
onInputChange: g
|
|
8783
8783
|
}
|
|
8784
|
-
) }),
|
|
8784
|
+
) }), E = (b) => s.map((C, P) => {
|
|
8785
8785
|
const I = d(P), F = P === o, $ = u[P] && !I, A = I && u[P];
|
|
8786
8786
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `step-item${b ? "-vertical" : ""} ${$ ? "error" : ""}`, children: [
|
|
8787
8787
|
b ? /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "step-left", children: [
|
|
@@ -8796,16 +8796,16 @@ const {
|
|
|
8796
8796
|
] }, P);
|
|
8797
8797
|
}), x = () => /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "step-actions", children: [
|
|
8798
8798
|
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: m, disabled: o === 0, children: "Back" }),
|
|
8799
|
-
o < s.length - 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick:
|
|
8799
|
+
o < s.length - 1 ? /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: S, children: "Next" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: T, disabled: !f(), children: "Submit" })
|
|
8800
8800
|
] });
|
|
8801
8801
|
return !s || s.length === 0 ? /* @__PURE__ */ jsxRuntimeExports.jsx("div", { children: "No steps configured" }) : /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `stepper-container ${t}`, children: t === "vertical" ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
8802
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "vertical-left-column", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `stepper-header ${t}`, children:
|
|
8802
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "vertical-left-column", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `stepper-header ${t}`, children: E(!0) }) }),
|
|
8803
8803
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "vertical-right-column", children: [
|
|
8804
8804
|
y(),
|
|
8805
8805
|
x()
|
|
8806
8806
|
] })
|
|
8807
8807
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [
|
|
8808
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `stepper-header ${t}`, children:
|
|
8808
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `stepper-header ${t}`, children: E(!1) }),
|
|
8809
8809
|
y(),
|
|
8810
8810
|
x()
|
|
8811
8811
|
] }) });
|
|
@@ -9140,29 +9140,29 @@ function requireLottie() {
|
|
|
9140
9140
|
var e = 1, t = [], i, s, n = {
|
|
9141
9141
|
onmessage: function() {
|
|
9142
9142
|
},
|
|
9143
|
-
postMessage: function(
|
|
9143
|
+
postMessage: function(S) {
|
|
9144
9144
|
i({
|
|
9145
|
-
data:
|
|
9145
|
+
data: S
|
|
9146
9146
|
});
|
|
9147
9147
|
}
|
|
9148
9148
|
}, o = {
|
|
9149
|
-
postMessage: function(
|
|
9149
|
+
postMessage: function(S) {
|
|
9150
9150
|
n.onmessage({
|
|
9151
|
-
data:
|
|
9151
|
+
data: S
|
|
9152
9152
|
});
|
|
9153
9153
|
}
|
|
9154
9154
|
};
|
|
9155
9155
|
function a(d) {
|
|
9156
9156
|
if (window.Worker && window.Blob && getWebWorker()) {
|
|
9157
|
-
var
|
|
9157
|
+
var S = new Blob(["var _workerSelf = self; self.onmessage = ", d.toString()], {
|
|
9158
9158
|
type: "text/javascript"
|
|
9159
|
-
}), m = URL.createObjectURL(
|
|
9159
|
+
}), m = URL.createObjectURL(S);
|
|
9160
9160
|
return new Worker(m);
|
|
9161
9161
|
}
|
|
9162
9162
|
return i = d, n;
|
|
9163
9163
|
}
|
|
9164
9164
|
function l() {
|
|
9165
|
-
s || (s = a(function(
|
|
9165
|
+
s || (s = a(function(S) {
|
|
9166
9166
|
function m() {
|
|
9167
9167
|
function T(N, M) {
|
|
9168
9168
|
var O, R, _ = N.length, k, j, L, V;
|
|
@@ -9187,7 +9187,7 @@ function requireLottie() {
|
|
|
9187
9187
|
N[O].t === 1 && (N[O].data.layers = x(N[O].data.refId, M), T(N[O].data.layers, M));
|
|
9188
9188
|
}
|
|
9189
9189
|
}
|
|
9190
|
-
function
|
|
9190
|
+
function E(N, M) {
|
|
9191
9191
|
for (var O = 0, R = M.length; O < R; ) {
|
|
9192
9192
|
if (M[O].id === N)
|
|
9193
9193
|
return M[O];
|
|
@@ -9196,7 +9196,7 @@ function requireLottie() {
|
|
|
9196
9196
|
return null;
|
|
9197
9197
|
}
|
|
9198
9198
|
function x(N, M) {
|
|
9199
|
-
var O =
|
|
9199
|
+
var O = E(N, M);
|
|
9200
9200
|
return O ? O.layers.__used ? JSON.parse(JSON.stringify(O.layers)) : (O.layers.__used = !0, O.layers) : null;
|
|
9201
9201
|
}
|
|
9202
9202
|
function b(N) {
|
|
@@ -9405,11 +9405,11 @@ function requireLottie() {
|
|
|
9405
9405
|
return U.completeData = B, U.checkColors = A, U.checkChars = F, U.checkPathProperties = $, U.checkShapes = D, U.completeLayers = T, U;
|
|
9406
9406
|
}
|
|
9407
9407
|
if (o.dataManager || (o.dataManager = m()), o.assetLoader || (o.assetLoader = /* @__PURE__ */ function() {
|
|
9408
|
-
function T(
|
|
9409
|
-
var x =
|
|
9410
|
-
return x &&
|
|
9408
|
+
function T(E) {
|
|
9409
|
+
var x = E.getResponseHeader("content-type");
|
|
9410
|
+
return x && E.responseType === "json" && x.indexOf("json") !== -1 || E.response && _typeof$5(E.response) === "object" ? E.response : E.response && typeof E.response == "string" ? JSON.parse(E.response) : E.responseText ? JSON.parse(E.responseText) : null;
|
|
9411
9411
|
}
|
|
9412
|
-
function y(
|
|
9412
|
+
function y(E, x, b, C) {
|
|
9413
9413
|
var P, I = new XMLHttpRequest();
|
|
9414
9414
|
try {
|
|
9415
9415
|
I.responseType = "json";
|
|
@@ -9427,63 +9427,63 @@ function requireLottie() {
|
|
|
9427
9427
|
}
|
|
9428
9428
|
};
|
|
9429
9429
|
try {
|
|
9430
|
-
I.open(["G", "E", "T"].join(""),
|
|
9430
|
+
I.open(["G", "E", "T"].join(""), E, !0);
|
|
9431
9431
|
} catch {
|
|
9432
|
-
I.open(["G", "E", "T"].join(""), x + "/" +
|
|
9432
|
+
I.open(["G", "E", "T"].join(""), x + "/" + E, !0);
|
|
9433
9433
|
}
|
|
9434
9434
|
I.send();
|
|
9435
9435
|
}
|
|
9436
9436
|
return {
|
|
9437
9437
|
load: y
|
|
9438
9438
|
};
|
|
9439
|
-
}()),
|
|
9440
|
-
o.assetLoader.load(
|
|
9439
|
+
}()), S.data.type === "loadAnimation")
|
|
9440
|
+
o.assetLoader.load(S.data.path, S.data.fullPath, function(T) {
|
|
9441
9441
|
o.dataManager.completeData(T), o.postMessage({
|
|
9442
|
-
id:
|
|
9442
|
+
id: S.data.id,
|
|
9443
9443
|
payload: T,
|
|
9444
9444
|
status: "success"
|
|
9445
9445
|
});
|
|
9446
9446
|
}, function() {
|
|
9447
9447
|
o.postMessage({
|
|
9448
|
-
id:
|
|
9448
|
+
id: S.data.id,
|
|
9449
9449
|
status: "error"
|
|
9450
9450
|
});
|
|
9451
9451
|
});
|
|
9452
|
-
else if (
|
|
9453
|
-
var f =
|
|
9452
|
+
else if (S.data.type === "complete") {
|
|
9453
|
+
var f = S.data.animation;
|
|
9454
9454
|
o.dataManager.completeData(f), o.postMessage({
|
|
9455
|
-
id:
|
|
9455
|
+
id: S.data.id,
|
|
9456
9456
|
payload: f,
|
|
9457
9457
|
status: "success"
|
|
9458
9458
|
});
|
|
9459
|
-
} else
|
|
9459
|
+
} else S.data.type === "loadData" && o.assetLoader.load(S.data.path, S.data.fullPath, function(T) {
|
|
9460
9460
|
o.postMessage({
|
|
9461
|
-
id:
|
|
9461
|
+
id: S.data.id,
|
|
9462
9462
|
payload: T,
|
|
9463
9463
|
status: "success"
|
|
9464
9464
|
});
|
|
9465
9465
|
}, function() {
|
|
9466
9466
|
o.postMessage({
|
|
9467
|
-
id:
|
|
9467
|
+
id: S.data.id,
|
|
9468
9468
|
status: "error"
|
|
9469
9469
|
});
|
|
9470
9470
|
});
|
|
9471
9471
|
}), s.onmessage = function(d) {
|
|
9472
|
-
var
|
|
9473
|
-
t[m] = null,
|
|
9472
|
+
var S = d.data, m = S.id, f = t[m];
|
|
9473
|
+
t[m] = null, S.status === "success" ? f.onComplete(S.payload) : f.onError && f.onError();
|
|
9474
9474
|
});
|
|
9475
9475
|
}
|
|
9476
|
-
function c(d,
|
|
9476
|
+
function c(d, S) {
|
|
9477
9477
|
e += 1;
|
|
9478
9478
|
var m = "processId_" + e;
|
|
9479
9479
|
return t[m] = {
|
|
9480
9480
|
onComplete: d,
|
|
9481
|
-
onError:
|
|
9481
|
+
onError: S
|
|
9482
9482
|
}, m;
|
|
9483
9483
|
}
|
|
9484
|
-
function u(d,
|
|
9484
|
+
function u(d, S, m) {
|
|
9485
9485
|
l();
|
|
9486
|
-
var f = c(
|
|
9486
|
+
var f = c(S, m);
|
|
9487
9487
|
s.postMessage({
|
|
9488
9488
|
type: "loadAnimation",
|
|
9489
9489
|
path: d,
|
|
@@ -9491,9 +9491,9 @@ function requireLottie() {
|
|
|
9491
9491
|
id: f
|
|
9492
9492
|
});
|
|
9493
9493
|
}
|
|
9494
|
-
function p(d,
|
|
9494
|
+
function p(d, S, m) {
|
|
9495
9495
|
l();
|
|
9496
|
-
var f = c(
|
|
9496
|
+
var f = c(S, m);
|
|
9497
9497
|
s.postMessage({
|
|
9498
9498
|
type: "loadData",
|
|
9499
9499
|
path: d,
|
|
@@ -9501,9 +9501,9 @@ function requireLottie() {
|
|
|
9501
9501
|
id: f
|
|
9502
9502
|
});
|
|
9503
9503
|
}
|
|
9504
|
-
function g(d,
|
|
9504
|
+
function g(d, S, m) {
|
|
9505
9505
|
l();
|
|
9506
|
-
var f = c(
|
|
9506
|
+
var f = c(S, m);
|
|
9507
9507
|
s.postMessage({
|
|
9508
9508
|
type: "complete",
|
|
9509
9509
|
animation: d,
|
|
@@ -9519,8 +9519,8 @@ function requireLottie() {
|
|
|
9519
9519
|
var e = function() {
|
|
9520
9520
|
var y = createTag("canvas");
|
|
9521
9521
|
y.width = 1, y.height = 1;
|
|
9522
|
-
var
|
|
9523
|
-
return
|
|
9522
|
+
var E = y.getContext("2d");
|
|
9523
|
+
return E.fillStyle = "rgba(0,0,0,0)", E.fillRect(0, 0, 1, 1), y;
|
|
9524
9524
|
}();
|
|
9525
9525
|
function t() {
|
|
9526
9526
|
this.loadedAssets += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
|
|
@@ -9528,28 +9528,28 @@ function requireLottie() {
|
|
|
9528
9528
|
function i() {
|
|
9529
9529
|
this.loadedFootagesCount += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
|
|
9530
9530
|
}
|
|
9531
|
-
function s(y,
|
|
9531
|
+
function s(y, E, x) {
|
|
9532
9532
|
var b = "";
|
|
9533
9533
|
if (y.e)
|
|
9534
9534
|
b = y.p;
|
|
9535
|
-
else if (
|
|
9535
|
+
else if (E) {
|
|
9536
9536
|
var C = y.p;
|
|
9537
|
-
C.indexOf("images/") !== -1 && (C = C.split("/")[1]), b =
|
|
9537
|
+
C.indexOf("images/") !== -1 && (C = C.split("/")[1]), b = E + C;
|
|
9538
9538
|
} else
|
|
9539
9539
|
b = x, b += y.u ? y.u : "", b += y.p;
|
|
9540
9540
|
return b;
|
|
9541
9541
|
}
|
|
9542
9542
|
function n(y) {
|
|
9543
|
-
var
|
|
9543
|
+
var E = 0, x = setInterval((function() {
|
|
9544
9544
|
var b = y.getBBox();
|
|
9545
|
-
(b.width ||
|
|
9545
|
+
(b.width || E > 500) && (this._imageLoaded(), clearInterval(x)), E += 1;
|
|
9546
9546
|
}).bind(this), 50);
|
|
9547
9547
|
}
|
|
9548
9548
|
function o(y) {
|
|
9549
|
-
var
|
|
9549
|
+
var E = s(y, this.assetsPath, this.path), x = createNS("image");
|
|
9550
9550
|
isSafari ? this.testImageLoaded(x) : x.addEventListener("load", this._imageLoaded, !1), x.addEventListener("error", (function() {
|
|
9551
9551
|
b.img = e, this._imageLoaded();
|
|
9552
|
-
}).bind(this), !1), x.setAttributeNS("http://www.w3.org/1999/xlink", "href",
|
|
9552
|
+
}).bind(this), !1), x.setAttributeNS("http://www.w3.org/1999/xlink", "href", E), this._elementHelper.append ? this._elementHelper.append(x) : this._elementHelper.appendChild(x);
|
|
9553
9553
|
var b = {
|
|
9554
9554
|
img: x,
|
|
9555
9555
|
assetData: y
|
|
@@ -9557,10 +9557,10 @@ function requireLottie() {
|
|
|
9557
9557
|
return b;
|
|
9558
9558
|
}
|
|
9559
9559
|
function a(y) {
|
|
9560
|
-
var
|
|
9560
|
+
var E = s(y, this.assetsPath, this.path), x = createTag("img");
|
|
9561
9561
|
x.crossOrigin = "anonymous", x.addEventListener("load", this._imageLoaded, !1), x.addEventListener("error", (function() {
|
|
9562
9562
|
b.img = e, this._imageLoaded();
|
|
9563
|
-
}).bind(this), !1), x.src =
|
|
9563
|
+
}).bind(this), !1), x.src = E;
|
|
9564
9564
|
var b = {
|
|
9565
9565
|
img: x,
|
|
9566
9566
|
assetData: y
|
|
@@ -9568,17 +9568,17 @@ function requireLottie() {
|
|
|
9568
9568
|
return b;
|
|
9569
9569
|
}
|
|
9570
9570
|
function l(y) {
|
|
9571
|
-
var
|
|
9571
|
+
var E = {
|
|
9572
9572
|
assetData: y
|
|
9573
9573
|
}, x = s(y, this.assetsPath, this.path);
|
|
9574
9574
|
return dataManager.loadData(x, (function(b) {
|
|
9575
|
-
|
|
9575
|
+
E.img = b, this._footageLoaded();
|
|
9576
9576
|
}).bind(this), (function() {
|
|
9577
|
-
|
|
9578
|
-
}).bind(this)),
|
|
9577
|
+
E.img = {}, this._footageLoaded();
|
|
9578
|
+
}).bind(this)), E;
|
|
9579
9579
|
}
|
|
9580
|
-
function c(y,
|
|
9581
|
-
this.imagesLoadedCb =
|
|
9580
|
+
function c(y, E) {
|
|
9581
|
+
this.imagesLoadedCb = E;
|
|
9582
9582
|
var x, b = y.length;
|
|
9583
9583
|
for (x = 0; x < b; x += 1)
|
|
9584
9584
|
y[x].layers || (!y[x].t || y[x].t === "seq" ? (this.totalImages += 1, this.images.push(this._createImageData(y[x]))) : y[x].t === 3 && (this.totalFootages += 1, this.images.push(this.createFootageData(y[x]))));
|
|
@@ -9590,24 +9590,24 @@ function requireLottie() {
|
|
|
9590
9590
|
this.assetsPath = y || "";
|
|
9591
9591
|
}
|
|
9592
9592
|
function g(y) {
|
|
9593
|
-
for (var
|
|
9594
|
-
if (this.images[
|
|
9595
|
-
return this.images[
|
|
9596
|
-
|
|
9593
|
+
for (var E = 0, x = this.images.length; E < x; ) {
|
|
9594
|
+
if (this.images[E].assetData === y)
|
|
9595
|
+
return this.images[E].img;
|
|
9596
|
+
E += 1;
|
|
9597
9597
|
}
|
|
9598
9598
|
return null;
|
|
9599
9599
|
}
|
|
9600
9600
|
function d() {
|
|
9601
9601
|
this.imagesLoadedCb = null, this.images.length = 0;
|
|
9602
9602
|
}
|
|
9603
|
-
function
|
|
9603
|
+
function S() {
|
|
9604
9604
|
return this.totalImages === this.loadedAssets;
|
|
9605
9605
|
}
|
|
9606
9606
|
function m() {
|
|
9607
9607
|
return this.totalFootages === this.loadedFootagesCount;
|
|
9608
9608
|
}
|
|
9609
|
-
function f(y,
|
|
9610
|
-
y === "svg" ? (this._elementHelper =
|
|
9609
|
+
function f(y, E) {
|
|
9610
|
+
y === "svg" ? (this._elementHelper = E, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
|
|
9611
9611
|
}
|
|
9612
9612
|
function T() {
|
|
9613
9613
|
this._imageLoaded = t.bind(this), this._footageLoaded = i.bind(this), this.testImageLoaded = n.bind(this), this.createFootageData = l.bind(this), this.assetsPath = "", this.path = "", this.totalImages = 0, this.totalFootages = 0, this.loadedAssets = 0, this.loadedFootagesCount = 0, this.imagesLoadedCb = null, this.images = [];
|
|
@@ -9616,7 +9616,7 @@ function requireLottie() {
|
|
|
9616
9616
|
loadAssets: c,
|
|
9617
9617
|
setAssetsPath: p,
|
|
9618
9618
|
setPath: u,
|
|
9619
|
-
loadedImages:
|
|
9619
|
+
loadedImages: S,
|
|
9620
9620
|
loadedFootages: m,
|
|
9621
9621
|
destroy: d,
|
|
9622
9622
|
getAsset: g,
|
|
@@ -9984,7 +9984,7 @@ function requireLottie() {
|
|
|
9984
9984
|
animation: M
|
|
9985
9985
|
}), s += 1;
|
|
9986
9986
|
}
|
|
9987
|
-
function
|
|
9987
|
+
function S(M) {
|
|
9988
9988
|
var O = new AnimationItem();
|
|
9989
9989
|
return d(O, null), O.setParams(M), O;
|
|
9990
9990
|
}
|
|
@@ -10009,7 +10009,7 @@ function requireLottie() {
|
|
|
10009
10009
|
t[R].animation.advanceTime(O);
|
|
10010
10010
|
i = M, n && !a ? window.requestAnimationFrame(y) : o = !0;
|
|
10011
10011
|
}
|
|
10012
|
-
function
|
|
10012
|
+
function E(M) {
|
|
10013
10013
|
i = M, window.requestAnimationFrame(y);
|
|
10014
10014
|
}
|
|
10015
10015
|
function x(M) {
|
|
@@ -10055,7 +10055,7 @@ function requireLottie() {
|
|
|
10055
10055
|
t[M].animation.resize();
|
|
10056
10056
|
}
|
|
10057
10057
|
function A() {
|
|
10058
|
-
!a && n && o && (window.requestAnimationFrame(
|
|
10058
|
+
!a && n && o && (window.requestAnimationFrame(E), o = !1);
|
|
10059
10059
|
}
|
|
10060
10060
|
function D() {
|
|
10061
10061
|
a = !0;
|
|
@@ -10078,57 +10078,57 @@ function requireLottie() {
|
|
|
10078
10078
|
for (O = 0; O < s; O += 1)
|
|
10079
10079
|
t[O].animation.unmute(M);
|
|
10080
10080
|
}
|
|
10081
|
-
return e.registerAnimation = c, e.loadAnimation =
|
|
10081
|
+
return e.registerAnimation = c, e.loadAnimation = S, e.setSpeed = m, e.setDirection = f, e.play = T, e.pause = x, e.stop = C, e.togglePause = P, e.searchAnimations = F, e.resize = $, e.goToAndStop = b, e.destroy = I, e.freeze = D, e.unfreeze = B, e.setVolume = z, e.mute = U, e.unmute = N, e.getRegisteredAnimations = u, e;
|
|
10082
10082
|
}(), BezierFactory = function() {
|
|
10083
10083
|
var e = {};
|
|
10084
10084
|
e.getBezierEasing = i;
|
|
10085
10085
|
var t = {};
|
|
10086
|
-
function i(
|
|
10087
|
-
var I = P || ("bez_" +
|
|
10086
|
+
function i(E, x, b, C, P) {
|
|
10087
|
+
var I = P || ("bez_" + E + "_" + x + "_" + b + "_" + C).replace(/\./g, "p");
|
|
10088
10088
|
if (t[I])
|
|
10089
10089
|
return t[I];
|
|
10090
|
-
var F = new y([
|
|
10090
|
+
var F = new y([E, x, b, C]);
|
|
10091
10091
|
return t[I] = F, F;
|
|
10092
10092
|
}
|
|
10093
10093
|
var s = 4, n = 1e-3, o = 1e-7, a = 10, l = 11, c = 1 / (l - 1), u = typeof Float32Array == "function";
|
|
10094
|
-
function p(
|
|
10095
|
-
return 1 - 3 * x + 3 *
|
|
10094
|
+
function p(E, x) {
|
|
10095
|
+
return 1 - 3 * x + 3 * E;
|
|
10096
10096
|
}
|
|
10097
|
-
function g(
|
|
10098
|
-
return 3 * x - 6 *
|
|
10097
|
+
function g(E, x) {
|
|
10098
|
+
return 3 * x - 6 * E;
|
|
10099
10099
|
}
|
|
10100
|
-
function d(
|
|
10101
|
-
return 3 *
|
|
10100
|
+
function d(E) {
|
|
10101
|
+
return 3 * E;
|
|
10102
10102
|
}
|
|
10103
|
-
function E
|
|
10104
|
-
return ((p(x, b) *
|
|
10103
|
+
function S(E, x, b) {
|
|
10104
|
+
return ((p(x, b) * E + g(x, b)) * E + d(x)) * E;
|
|
10105
10105
|
}
|
|
10106
|
-
function m(
|
|
10107
|
-
return 3 * p(x, b) *
|
|
10106
|
+
function m(E, x, b) {
|
|
10107
|
+
return 3 * p(x, b) * E * E + 2 * g(x, b) * E + d(x);
|
|
10108
10108
|
}
|
|
10109
|
-
function f(
|
|
10109
|
+
function f(E, x, b, C, P) {
|
|
10110
10110
|
var I, F, $ = 0;
|
|
10111
10111
|
do
|
|
10112
|
-
F = x + (b - x) / 2, I =
|
|
10112
|
+
F = x + (b - x) / 2, I = S(F, C, P) - E, I > 0 ? b = F : x = F;
|
|
10113
10113
|
while (Math.abs(I) > o && ++$ < a);
|
|
10114
10114
|
return F;
|
|
10115
10115
|
}
|
|
10116
|
-
function T(
|
|
10116
|
+
function T(E, x, b, C) {
|
|
10117
10117
|
for (var P = 0; P < s; ++P) {
|
|
10118
10118
|
var I = m(x, b, C);
|
|
10119
10119
|
if (I === 0) return x;
|
|
10120
|
-
var F =
|
|
10120
|
+
var F = S(x, b, C) - E;
|
|
10121
10121
|
x -= F / I;
|
|
10122
10122
|
}
|
|
10123
10123
|
return x;
|
|
10124
10124
|
}
|
|
10125
|
-
function y(
|
|
10126
|
-
this._p =
|
|
10125
|
+
function y(E) {
|
|
10126
|
+
this._p = E, this._mSampleValues = u ? new Float32Array(l) : new Array(l), this._precomputed = !1, this.get = this.get.bind(this);
|
|
10127
10127
|
}
|
|
10128
10128
|
return y.prototype = {
|
|
10129
10129
|
get: function(x) {
|
|
10130
10130
|
var b = this._p[0], C = this._p[1], P = this._p[2], I = this._p[3];
|
|
10131
|
-
return this._precomputed || this._precompute(), b === C && P === I ? x : x === 0 ? 0 : x === 1 ? 1 :
|
|
10131
|
+
return this._precomputed || this._precompute(), b === C && P === I ? x : x === 0 ? 0 : x === 1 ? 1 : S(this._getTForX(x), C, I);
|
|
10132
10132
|
},
|
|
10133
10133
|
// Private part
|
|
10134
10134
|
_precompute: function() {
|
|
@@ -10137,7 +10137,7 @@ function requireLottie() {
|
|
|
10137
10137
|
},
|
|
10138
10138
|
_calcSampleValues: function() {
|
|
10139
10139
|
for (var x = this._p[0], b = this._p[2], C = 0; C < l; ++C)
|
|
10140
|
-
this._mSampleValues[C] =
|
|
10140
|
+
this._mSampleValues[C] = S(C * c, x, b);
|
|
10141
10141
|
},
|
|
10142
10142
|
/**
|
|
10143
10143
|
* getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
|
|
@@ -10198,50 +10198,50 @@ function requireLottie() {
|
|
|
10198
10198
|
}();
|
|
10199
10199
|
function bezFunction() {
|
|
10200
10200
|
var e = Math;
|
|
10201
|
-
function t(d,
|
|
10202
|
-
var
|
|
10203
|
-
return
|
|
10201
|
+
function t(d, S, m, f, T, y) {
|
|
10202
|
+
var E = d * f + S * T + m * y - T * f - y * d - m * S;
|
|
10203
|
+
return E > -1e-3 && E < 1e-3;
|
|
10204
10204
|
}
|
|
10205
|
-
function i(d,
|
|
10205
|
+
function i(d, S, m, f, T, y, E, x, b) {
|
|
10206
10206
|
if (m === 0 && y === 0 && b === 0)
|
|
10207
|
-
return t(d,
|
|
10208
|
-
var C = e.sqrt(e.pow(f - d, 2) + e.pow(T -
|
|
10207
|
+
return t(d, S, f, T, E, x);
|
|
10208
|
+
var C = e.sqrt(e.pow(f - d, 2) + e.pow(T - S, 2) + e.pow(y - m, 2)), P = e.sqrt(e.pow(E - d, 2) + e.pow(x - S, 2) + e.pow(b - m, 2)), I = e.sqrt(e.pow(E - f, 2) + e.pow(x - T, 2) + e.pow(b - y, 2)), F;
|
|
10209
10209
|
return C > P ? C > I ? F = C - P - I : F = I - P - C : I > P ? F = I - P - C : F = P - C - I, F > -1e-4 && F < 1e-4;
|
|
10210
10210
|
}
|
|
10211
10211
|
var s = /* @__PURE__ */ function() {
|
|
10212
|
-
return function(d,
|
|
10213
|
-
var T = getDefaultCurveSegments(), y,
|
|
10212
|
+
return function(d, S, m, f) {
|
|
10213
|
+
var T = getDefaultCurveSegments(), y, E, x, b, C, P = 0, I, F = [], $ = [], A = bezierLengthPool.newElement();
|
|
10214
10214
|
for (x = m.length, y = 0; y < T; y += 1) {
|
|
10215
|
-
for (C = y / (T - 1), I = 0,
|
|
10216
|
-
b = bmPow(1 - C, 3) * d[
|
|
10215
|
+
for (C = y / (T - 1), I = 0, E = 0; E < x; E += 1)
|
|
10216
|
+
b = bmPow(1 - C, 3) * d[E] + 3 * bmPow(1 - C, 2) * C * m[E] + 3 * (1 - C) * bmPow(C, 2) * f[E] + bmPow(C, 3) * S[E], F[E] = b, $[E] !== null && (I += bmPow(F[E] - $[E], 2)), $[E] = F[E];
|
|
10217
10217
|
I && (I = bmSqrt(I), P += I), A.percents[y] = C, A.lengths[y] = P;
|
|
10218
10218
|
}
|
|
10219
10219
|
return A.addedLength = P, A;
|
|
10220
10220
|
};
|
|
10221
10221
|
}();
|
|
10222
10222
|
function n(d) {
|
|
10223
|
-
var
|
|
10224
|
-
for (
|
|
10225
|
-
b[
|
|
10226
|
-
return m && x && (b[
|
|
10223
|
+
var S = segmentsLengthPool.newElement(), m = d.c, f = d.v, T = d.o, y = d.i, E, x = d._length, b = S.lengths, C = 0;
|
|
10224
|
+
for (E = 0; E < x - 1; E += 1)
|
|
10225
|
+
b[E] = s(f[E], f[E + 1], T[E], y[E + 1]), C += b[E].addedLength;
|
|
10226
|
+
return m && x && (b[E] = s(f[E], f[0], T[E], y[0]), C += b[E].addedLength), S.totalLength = C, S;
|
|
10227
10227
|
}
|
|
10228
10228
|
function o(d) {
|
|
10229
10229
|
this.segmentLength = 0, this.points = new Array(d);
|
|
10230
10230
|
}
|
|
10231
|
-
function a(d,
|
|
10232
|
-
this.partialLength = d, this.point =
|
|
10231
|
+
function a(d, S) {
|
|
10232
|
+
this.partialLength = d, this.point = S;
|
|
10233
10233
|
}
|
|
10234
10234
|
var l = /* @__PURE__ */ function() {
|
|
10235
10235
|
var d = {};
|
|
10236
|
-
return function(
|
|
10237
|
-
var y = (
|
|
10236
|
+
return function(S, m, f, T) {
|
|
10237
|
+
var y = (S[0] + "_" + S[1] + "_" + m[0] + "_" + m[1] + "_" + f[0] + "_" + f[1] + "_" + T[0] + "_" + T[1]).replace(/\./g, "p");
|
|
10238
10238
|
if (!d[y]) {
|
|
10239
|
-
var
|
|
10240
|
-
|
|
10241
|
-
var B = new o(
|
|
10242
|
-
for (C = f.length, x = 0; x <
|
|
10243
|
-
for (A = createSizedArray(C), I = x / (
|
|
10244
|
-
P = bmPow(1 - I, 3) *
|
|
10239
|
+
var E = getDefaultCurveSegments(), x, b, C, P, I, F = 0, $, A, D = null;
|
|
10240
|
+
S.length === 2 && (S[0] !== m[0] || S[1] !== m[1]) && t(S[0], S[1], m[0], m[1], S[0] + f[0], S[1] + f[1]) && t(S[0], S[1], m[0], m[1], m[0] + T[0], m[1] + T[1]) && (E = 2);
|
|
10241
|
+
var B = new o(E);
|
|
10242
|
+
for (C = f.length, x = 0; x < E; x += 1) {
|
|
10243
|
+
for (A = createSizedArray(C), I = x / (E - 1), $ = 0, b = 0; b < C; b += 1)
|
|
10244
|
+
P = bmPow(1 - I, 3) * S[b] + 3 * bmPow(1 - I, 2) * I * (S[b] + f[b]) + 3 * (1 - I) * bmPow(I, 2) * (m[b] + T[b]) + bmPow(I, 3) * m[b], A[b] = P, D !== null && ($ += bmPow(A[b] - D[b], 2));
|
|
10245
10245
|
$ = bmSqrt($), F += $, B.points[x] = new a($, A), D = A;
|
|
10246
10246
|
}
|
|
10247
10247
|
B.segmentLength = F, d[y] = B;
|
|
@@ -10249,30 +10249,30 @@ function requireLottie() {
|
|
|
10249
10249
|
return d[y];
|
|
10250
10250
|
};
|
|
10251
10251
|
}();
|
|
10252
|
-
function c(d,
|
|
10253
|
-
var m =
|
|
10254
|
-
if (y === T - 1 || y === 0 ||
|
|
10252
|
+
function c(d, S) {
|
|
10253
|
+
var m = S.percents, f = S.lengths, T = m.length, y = bmFloor((T - 1) * d), E = d * S.addedLength, x = 0;
|
|
10254
|
+
if (y === T - 1 || y === 0 || E === f[y])
|
|
10255
10255
|
return m[y];
|
|
10256
|
-
for (var b = f[y] >
|
|
10257
|
-
if (f[y] <=
|
|
10256
|
+
for (var b = f[y] > E ? -1 : 1, C = !0; C; )
|
|
10257
|
+
if (f[y] <= E && f[y + 1] > E ? (x = (E - f[y]) / (f[y + 1] - f[y]), C = !1) : y += b, y < 0 || y >= T - 1) {
|
|
10258
10258
|
if (y === T - 1)
|
|
10259
10259
|
return m[y];
|
|
10260
10260
|
C = !1;
|
|
10261
10261
|
}
|
|
10262
10262
|
return m[y] + (m[y + 1] - m[y]) * x;
|
|
10263
10263
|
}
|
|
10264
|
-
function u(d,
|
|
10265
|
-
var
|
|
10264
|
+
function u(d, S, m, f, T, y) {
|
|
10265
|
+
var E = c(T, y), x = 1 - E, b = e.round((x * x * x * d[0] + (E * x * x + x * E * x + x * x * E) * m[0] + (E * E * x + x * E * E + E * x * E) * f[0] + E * E * E * S[0]) * 1e3) / 1e3, C = e.round((x * x * x * d[1] + (E * x * x + x * E * x + x * x * E) * m[1] + (E * E * x + x * E * E + E * x * E) * f[1] + E * E * E * S[1]) * 1e3) / 1e3;
|
|
10266
10266
|
return [b, C];
|
|
10267
10267
|
}
|
|
10268
10268
|
var p = createTypedArray("float32", 8);
|
|
10269
|
-
function g(d,
|
|
10269
|
+
function g(d, S, m, f, T, y, E) {
|
|
10270
10270
|
T < 0 ? T = 0 : T > 1 && (T = 1);
|
|
10271
|
-
var x = c(T,
|
|
10271
|
+
var x = c(T, E);
|
|
10272
10272
|
y = y > 1 ? 1 : y;
|
|
10273
|
-
var b = c(y,
|
|
10273
|
+
var b = c(y, E), C, P = d.length, I = 1 - x, F = 1 - b, $ = I * I * I, A = x * I * I * 3, D = x * x * I * 3, B = x * x * x, z = I * I * F, U = x * I * F + I * x * F + I * I * b, N = x * x * F + I * x * b + x * I * b, M = x * x * b, O = I * F * F, R = x * F * F + I * b * F + I * F * b, _ = x * b * F + I * b * b + x * F * b, k = x * b * b, j = F * F * F, L = b * F * F + F * b * F + F * F * b, V = b * b * F + F * b * b + b * F * b, G = b * b * b;
|
|
10274
10274
|
for (C = 0; C < P; C += 1)
|
|
10275
|
-
p[C * 4] = e.round(($ * d[C] + A * m[C] + D * f[C] + B *
|
|
10275
|
+
p[C * 4] = e.round(($ * d[C] + A * m[C] + D * f[C] + B * S[C]) * 1e3) / 1e3, p[C * 4 + 1] = e.round((z * d[C] + U * m[C] + N * f[C] + M * S[C]) * 1e3) / 1e3, p[C * 4 + 2] = e.round((O * d[C] + R * m[C] + _ * f[C] + k * S[C]) * 1e3) / 1e3, p[C * 4 + 3] = e.round((j * d[C] + L * m[C] + V * f[C] + G * S[C]) * 1e3) / 1e3;
|
|
10276
10276
|
return p;
|
|
10277
10277
|
}
|
|
10278
10278
|
return {
|
|
@@ -10300,19 +10300,19 @@ function requireLottie() {
|
|
|
10300
10300
|
o < a - 1 ? o += 1 : (n = 0, l = !1);
|
|
10301
10301
|
}
|
|
10302
10302
|
p = this.keyframesMetadata[o] || {};
|
|
10303
|
-
var g, d,
|
|
10303
|
+
var g, d, S, m, f, T, y = u.t - i, E = c.t - i, x;
|
|
10304
10304
|
if (c.to) {
|
|
10305
10305
|
p.bezierData || (p.bezierData = bez.buildBezierData(c.s, u.s || c.e, c.to, c.ti));
|
|
10306
10306
|
var b = p.bezierData;
|
|
10307
|
-
if (e >= y || e <
|
|
10307
|
+
if (e >= y || e < E) {
|
|
10308
10308
|
var C = e >= y ? b.points.length - 1 : 0;
|
|
10309
10309
|
for (d = b.points[C].point.length, g = 0; g < d; g += 1)
|
|
10310
10310
|
s[g] = b.points[C].point[g];
|
|
10311
10311
|
} else {
|
|
10312
|
-
p.__fnct ? T = p.__fnct : (T = BezierFactory.getBezierEasing(c.o.x, c.o.y, c.i.x, c.i.y, c.n).get, p.__fnct = T),
|
|
10313
|
-
var P = b.segmentLength *
|
|
10312
|
+
p.__fnct ? T = p.__fnct : (T = BezierFactory.getBezierEasing(c.o.x, c.o.y, c.i.x, c.i.y, c.n).get, p.__fnct = T), S = T((e - E) / (y - E));
|
|
10313
|
+
var P = b.segmentLength * S, I, F = t.lastFrame < e && t._lastKeyframeIndex === o ? t._lastAddedLength : 0;
|
|
10314
10314
|
for (f = t.lastFrame < e && t._lastKeyframeIndex === o ? t._lastPoint : 0, l = !0, m = b.points.length; l; ) {
|
|
10315
|
-
if (F += b.points[f].partialLength, P === 0 ||
|
|
10315
|
+
if (F += b.points[f].partialLength, P === 0 || S === 0 || f === b.points.length - 1) {
|
|
10316
10316
|
for (d = b.points[f].point.length, g = 0; g < d; g += 1)
|
|
10317
10317
|
s[g] = b.points[f].point[g];
|
|
10318
10318
|
break;
|
|
@@ -10330,29 +10330,29 @@ function requireLottie() {
|
|
|
10330
10330
|
if (a = c.s.length, x = u.s || c.e, this.sh && c.h !== 1)
|
|
10331
10331
|
if (e >= y)
|
|
10332
10332
|
s[0] = x[0], s[1] = x[1], s[2] = x[2];
|
|
10333
|
-
else if (e <=
|
|
10333
|
+
else if (e <= E)
|
|
10334
10334
|
s[0] = c.s[0], s[1] = c.s[1], s[2] = c.s[2];
|
|
10335
10335
|
else {
|
|
10336
|
-
var U = createQuaternion(c.s), N = createQuaternion(x), M = (e -
|
|
10336
|
+
var U = createQuaternion(c.s), N = createQuaternion(x), M = (e - E) / (y - E);
|
|
10337
10337
|
quaternionToEuler(s, slerp(U, N, M));
|
|
10338
10338
|
}
|
|
10339
10339
|
else
|
|
10340
10340
|
for (o = 0; o < a; o += 1)
|
|
10341
|
-
c.h !== 1 && (e >= y ?
|
|
10341
|
+
c.h !== 1 && (e >= y ? S = 1 : e < E ? S = 0 : (c.o.x.constructor === Array ? (p.__fnct || (p.__fnct = []), p.__fnct[o] ? T = p.__fnct[o] : ($ = c.o.x[o] === void 0 ? c.o.x[0] : c.o.x[o], A = c.o.y[o] === void 0 ? c.o.y[0] : c.o.y[o], D = c.i.x[o] === void 0 ? c.i.x[0] : c.i.x[o], B = c.i.y[o] === void 0 ? c.i.y[0] : c.i.y[o], T = BezierFactory.getBezierEasing($, A, D, B).get, p.__fnct[o] = T)) : p.__fnct ? T = p.__fnct : ($ = c.o.x, A = c.o.y, D = c.i.x, B = c.i.y, T = BezierFactory.getBezierEasing($, A, D, B).get, c.keyframeMetadata = T), S = T((e - E) / (y - E)))), x = u.s || c.e, z = c.h === 1 ? c.s[o] : c.s[o] + (x[o] - c.s[o]) * S, this.propType === "multidimensional" ? s[o] = z : s = z;
|
|
10342
10342
|
}
|
|
10343
10343
|
return t.lastIndex = n, s;
|
|
10344
10344
|
}
|
|
10345
10345
|
function slerp(e, t, i) {
|
|
10346
|
-
var s = [], n = e[0], o = e[1], a = e[2], l = e[3], c = t[0], u = t[1], p = t[2], g = t[3], d,
|
|
10347
|
-
return
|
|
10346
|
+
var s = [], n = e[0], o = e[1], a = e[2], l = e[3], c = t[0], u = t[1], p = t[2], g = t[3], d, S, m, f, T;
|
|
10347
|
+
return S = n * c + o * u + a * p + l * g, S < 0 && (S = -S, c = -c, u = -u, p = -p, g = -g), 1 - S > 1e-6 ? (d = Math.acos(S), m = Math.sin(d), f = Math.sin((1 - i) * d) / m, T = Math.sin(i * d) / m) : (f = 1 - i, T = i), s[0] = f * n + T * c, s[1] = f * o + T * u, s[2] = f * a + T * p, s[3] = f * l + T * g, s;
|
|
10348
10348
|
}
|
|
10349
10349
|
function quaternionToEuler(e, t) {
|
|
10350
10350
|
var i = t[0], s = t[1], n = t[2], o = t[3], a = Math.atan2(2 * s * o - 2 * i * n, 1 - 2 * s * s - 2 * n * n), l = Math.asin(2 * i * s + 2 * n * o), c = Math.atan2(2 * i * o - 2 * s * n, 1 - 2 * i * i - 2 * n * n);
|
|
10351
10351
|
e[0] = a / degToRads, e[1] = l / degToRads, e[2] = c / degToRads;
|
|
10352
10352
|
}
|
|
10353
10353
|
function createQuaternion(e) {
|
|
10354
|
-
var t = e[0] * degToRads, i = e[1] * degToRads, s = e[2] * degToRads, n = Math.cos(t / 2), o = Math.cos(i / 2), a = Math.cos(s / 2), l = Math.sin(t / 2), c = Math.sin(i / 2), u = Math.sin(s / 2), p = n * o * a - l * c * u, g = l * c * a + n * o * u, d = l * o * a + n * c * u,
|
|
10355
|
-
return [g, d,
|
|
10354
|
+
var t = e[0] * degToRads, i = e[1] * degToRads, s = e[2] * degToRads, n = Math.cos(t / 2), o = Math.cos(i / 2), a = Math.cos(s / 2), l = Math.sin(t / 2), c = Math.sin(i / 2), u = Math.sin(s / 2), p = n * o * a - l * c * u, g = l * c * a + n * o * u, d = l * o * a + n * c * u, S = n * c * a - l * o * u;
|
|
10355
|
+
return [g, d, S, p];
|
|
10356
10356
|
}
|
|
10357
10357
|
function getValueAtCurrentTime() {
|
|
10358
10358
|
var e = this.comp.renderedFrame - this.offsetTime, t = this.keyframes[0].t - this.offsetTime, i = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
|
|
@@ -10558,7 +10558,7 @@ function requireLottie() {
|
|
|
10558
10558
|
return e;
|
|
10559
10559
|
}(), ShapePropertyFactory = function() {
|
|
10560
10560
|
var e = -999999;
|
|
10561
|
-
function t(y,
|
|
10561
|
+
function t(y, E, x) {
|
|
10562
10562
|
var b = x.lastIndex, C, P, I, F, $, A, D, B, z, U = this.keyframes;
|
|
10563
10563
|
if (y < U[0].t - this.offsetTime)
|
|
10564
10564
|
C = U[0].s[0], I = !0, b = 0;
|
|
@@ -10580,23 +10580,23 @@ function requireLottie() {
|
|
|
10580
10580
|
}
|
|
10581
10581
|
C = R.s[0];
|
|
10582
10582
|
}
|
|
10583
|
-
for (A =
|
|
10583
|
+
for (A = E._length, D = C.i[0].length, x.lastIndex = b, F = 0; F < A; F += 1)
|
|
10584
10584
|
for ($ = 0; $ < D; $ += 1)
|
|
10585
|
-
z = I ? C.i[F][$] : C.i[F][$] + (P.i[F][$] - C.i[F][$]) * B,
|
|
10585
|
+
z = I ? C.i[F][$] : C.i[F][$] + (P.i[F][$] - C.i[F][$]) * B, E.i[F][$] = z, z = I ? C.o[F][$] : C.o[F][$] + (P.o[F][$] - C.o[F][$]) * B, E.o[F][$] = z, z = I ? C.v[F][$] : C.v[F][$] + (P.v[F][$] - C.v[F][$]) * B, E.v[F][$] = z;
|
|
10586
10586
|
}
|
|
10587
10587
|
function i() {
|
|
10588
|
-
var y = this.comp.renderedFrame - this.offsetTime,
|
|
10589
|
-
return b !== e && (b <
|
|
10588
|
+
var y = this.comp.renderedFrame - this.offsetTime, E = this.keyframes[0].t - this.offsetTime, x = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, b = this._caching.lastFrame;
|
|
10589
|
+
return b !== e && (b < E && y < E || b > x && y > x) || (this._caching.lastIndex = b < y ? this._caching.lastIndex : 0, this.interpolateShape(y, this.pv, this._caching)), this._caching.lastFrame = y, this.pv;
|
|
10590
10590
|
}
|
|
10591
10591
|
function s() {
|
|
10592
10592
|
this.paths = this.localShapeCollection;
|
|
10593
10593
|
}
|
|
10594
|
-
function n(y,
|
|
10595
|
-
if (y._length !==
|
|
10594
|
+
function n(y, E) {
|
|
10595
|
+
if (y._length !== E._length || y.c !== E.c)
|
|
10596
10596
|
return !1;
|
|
10597
10597
|
var x, b = y._length;
|
|
10598
10598
|
for (x = 0; x < b; x += 1)
|
|
10599
|
-
if (y.v[x][0] !==
|
|
10599
|
+
if (y.v[x][0] !== E.v[x][0] || y.v[x][1] !== E.v[x][1] || y.o[x][0] !== E.o[x][0] || y.o[x][1] !== E.o[x][1] || y.i[x][0] !== E.i[x][0] || y.i[x][1] !== E.i[x][1])
|
|
10600
10600
|
return !1;
|
|
10601
10601
|
return !0;
|
|
10602
10602
|
}
|
|
@@ -10616,23 +10616,23 @@ function requireLottie() {
|
|
|
10616
10616
|
this.lock = !0, this._mdf = !1;
|
|
10617
10617
|
var y;
|
|
10618
10618
|
this.kf ? y = this.pv : this.data.ks ? y = this.data.ks.k : y = this.data.pt.k;
|
|
10619
|
-
var
|
|
10620
|
-
for (
|
|
10621
|
-
y = this.effectsSequence[
|
|
10619
|
+
var E, x = this.effectsSequence.length;
|
|
10620
|
+
for (E = 0; E < x; E += 1)
|
|
10621
|
+
y = this.effectsSequence[E](y);
|
|
10622
10622
|
this.setVValue(y), this.lock = !1, this.frameId = this.elem.globalData.frameId;
|
|
10623
10623
|
}
|
|
10624
10624
|
}
|
|
10625
|
-
function l(y,
|
|
10626
|
-
this.propType = "shape", this.comp = y.comp, this.container = y, this.elem = y, this.data =
|
|
10627
|
-
var b = x === 3 ?
|
|
10625
|
+
function l(y, E, x) {
|
|
10626
|
+
this.propType = "shape", this.comp = y.comp, this.container = y, this.elem = y, this.data = E, this.k = !1, this.kf = !1, this._mdf = !1;
|
|
10627
|
+
var b = x === 3 ? E.pt.k : E.ks.k;
|
|
10628
10628
|
this.v = shapePool.clone(b), this.pv = shapePool.clone(this.v), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = s, this.effectsSequence = [];
|
|
10629
10629
|
}
|
|
10630
10630
|
function c(y) {
|
|
10631
10631
|
this.effectsSequence.push(y), this.container.addDynamicProperty(this);
|
|
10632
10632
|
}
|
|
10633
10633
|
l.prototype.interpolateShape = t, l.prototype.getValue = a, l.prototype.setVValue = o, l.prototype.addEffect = c;
|
|
10634
|
-
function u(y,
|
|
10635
|
-
this.propType = "shape", this.comp = y.comp, this.elem = y, this.container = y, this.offsetTime = y.data.st, this.keyframes = x === 3 ?
|
|
10634
|
+
function u(y, E, x) {
|
|
10635
|
+
this.propType = "shape", this.comp = y.comp, this.elem = y, this.container = y, this.offsetTime = y.data.st, this.keyframes = x === 3 ? E.pt.k : E.ks.k, this.keyframesMetadata = [], this.k = !0, this.kf = !0;
|
|
10636
10636
|
var b = this.keyframes[0].s[0].i.length;
|
|
10637
10637
|
this.v = shapePool.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, b), this.pv = shapePool.clone(this.v), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = e, this.reset = s, this._caching = {
|
|
10638
10638
|
lastFrame: e,
|
|
@@ -10642,10 +10642,10 @@ function requireLottie() {
|
|
|
10642
10642
|
u.prototype.getValue = a, u.prototype.interpolateShape = t, u.prototype.setVValue = o, u.prototype.addEffect = c;
|
|
10643
10643
|
var p = function() {
|
|
10644
10644
|
var y = roundCorner;
|
|
10645
|
-
function
|
|
10645
|
+
function E(x, b) {
|
|
10646
10646
|
this.v = shapePool.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = b.d, this.elem = x, this.comp = x.comp, this.frameId = -1, this.initDynamicPropertyContainer(x), this.p = PropertyFactory.getProp(x, b.p, 1, 0, this), this.s = PropertyFactory.getProp(x, b.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
|
|
10647
10647
|
}
|
|
10648
|
-
return
|
|
10648
|
+
return E.prototype = {
|
|
10649
10649
|
reset: s,
|
|
10650
10650
|
getValue: function() {
|
|
10651
10651
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
|
|
@@ -10654,10 +10654,10 @@ function requireLottie() {
|
|
|
10654
10654
|
var b = this.p.v[0], C = this.p.v[1], P = this.s.v[0] / 2, I = this.s.v[1] / 2, F = this.d !== 3, $ = this.v;
|
|
10655
10655
|
$.v[0][0] = b, $.v[0][1] = C - I, $.v[1][0] = F ? b + P : b - P, $.v[1][1] = C, $.v[2][0] = b, $.v[2][1] = C + I, $.v[3][0] = F ? b - P : b + P, $.v[3][1] = C, $.i[0][0] = F ? b - P * y : b + P * y, $.i[0][1] = C - I, $.i[1][0] = F ? b + P : b - P, $.i[1][1] = C - I * y, $.i[2][0] = F ? b + P * y : b - P * y, $.i[2][1] = C + I, $.i[3][0] = F ? b - P : b + P, $.i[3][1] = C + I * y, $.o[0][0] = F ? b + P * y : b - P * y, $.o[0][1] = C - I, $.o[1][0] = F ? b + P : b - P, $.o[1][1] = C + I * y, $.o[2][0] = F ? b - P * y : b + P * y, $.o[2][1] = C + I, $.o[3][0] = F ? b - P : b + P, $.o[3][1] = C - I * y;
|
|
10656
10656
|
}
|
|
10657
|
-
}, extendPrototype([DynamicPropertyContainer],
|
|
10657
|
+
}, extendPrototype([DynamicPropertyContainer], E), E;
|
|
10658
10658
|
}(), g = function() {
|
|
10659
|
-
function y(
|
|
10660
|
-
this.v = shapePool.newElement(), this.v.setPathData(!0, 0), this.elem =
|
|
10659
|
+
function y(E, x) {
|
|
10660
|
+
this.v = shapePool.newElement(), this.v.setPathData(!0, 0), this.elem = E, this.comp = E.comp, this.data = x, this.frameId = -1, this.d = x.d, this.initDynamicPropertyContainer(E), x.sy === 1 ? (this.ir = PropertyFactory.getProp(E, x.ir, 0, 0, this), this.is = PropertyFactory.getProp(E, x.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = PropertyFactory.getProp(E, x.pt, 0, 0, this), this.p = PropertyFactory.getProp(E, x.p, 1, 0, this), this.r = PropertyFactory.getProp(E, x.r, 0, degToRads, this), this.or = PropertyFactory.getProp(E, x.or, 0, 0, this), this.os = PropertyFactory.getProp(E, x.os, 0, 0.01, this), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
|
|
10661
10661
|
}
|
|
10662
10662
|
return y.prototype = {
|
|
10663
10663
|
reset: s,
|
|
@@ -10684,8 +10684,8 @@ function requireLottie() {
|
|
|
10684
10684
|
}
|
|
10685
10685
|
}, extendPrototype([DynamicPropertyContainer], y), y;
|
|
10686
10686
|
}(), d = function() {
|
|
10687
|
-
function y(
|
|
10688
|
-
this.v = shapePool.newElement(), this.v.c = !0, this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem =
|
|
10687
|
+
function y(E, x) {
|
|
10688
|
+
this.v = shapePool.newElement(), this.v.c = !0, this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = E, this.comp = E.comp, this.frameId = -1, this.d = x.d, this.initDynamicPropertyContainer(E), this.p = PropertyFactory.getProp(E, x.p, 1, 0, this), this.s = PropertyFactory.getProp(E, x.s, 1, 0, this), this.r = PropertyFactory.getProp(E, x.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
|
|
10689
10689
|
}
|
|
10690
10690
|
return y.prototype = {
|
|
10691
10691
|
convertRectToPath: function() {
|
|
@@ -10698,12 +10698,12 @@ function requireLottie() {
|
|
|
10698
10698
|
reset: s
|
|
10699
10699
|
}, extendPrototype([DynamicPropertyContainer], y), y;
|
|
10700
10700
|
}();
|
|
10701
|
-
function
|
|
10701
|
+
function S(y, E, x) {
|
|
10702
10702
|
var b;
|
|
10703
10703
|
if (x === 3 || x === 4) {
|
|
10704
|
-
var C = x === 3 ?
|
|
10705
|
-
P.length ? b = new u(y,
|
|
10706
|
-
} else x === 5 ? b = new d(y,
|
|
10704
|
+
var C = x === 3 ? E.pt : E.ks, P = C.k;
|
|
10705
|
+
P.length ? b = new u(y, E, x) : b = new l(y, E, x);
|
|
10706
|
+
} else x === 5 ? b = new d(y, E) : x === 6 ? b = new p(y, E) : x === 7 && (b = new g(y, E));
|
|
10707
10707
|
return b.k && y.addDynamicProperty(b), b;
|
|
10708
10708
|
}
|
|
10709
10709
|
function m() {
|
|
@@ -10713,7 +10713,7 @@ function requireLottie() {
|
|
|
10713
10713
|
return u;
|
|
10714
10714
|
}
|
|
10715
10715
|
var T = {};
|
|
10716
|
-
return T.getShapeProp =
|
|
10716
|
+
return T.getShapeProp = S, T.getConstructorFunction = m, T.getKeyframedConstructorFunction = f, T;
|
|
10717
10717
|
}();
|
|
10718
10718
|
/*!
|
|
10719
10719
|
Transformation Matrix v2.0
|
|
@@ -10765,7 +10765,7 @@ function requireLottie() {
|
|
|
10765
10765
|
function d(R, _, k) {
|
|
10766
10766
|
return !k && k !== 0 && (k = 1), R === 1 && _ === 1 && k === 1 ? this : this._t(R, 0, 0, 0, 0, _, 0, 0, 0, 0, k, 0, 0, 0, 0, 1);
|
|
10767
10767
|
}
|
|
10768
|
-
function
|
|
10768
|
+
function S(R, _, k, j, L, V, G, q, Y, X, Q, re, ie, ne, H, se) {
|
|
10769
10769
|
return this.props[0] = R, this.props[1] = _, this.props[2] = k, this.props[3] = j, this.props[4] = L, this.props[5] = V, this.props[6] = G, this.props[7] = q, this.props[8] = Y, this.props[9] = X, this.props[10] = Q, this.props[11] = re, this.props[12] = ie, this.props[13] = ne, this.props[14] = H, this.props[15] = se, this;
|
|
10770
10770
|
}
|
|
10771
10771
|
function m(R, _, k) {
|
|
@@ -10785,7 +10785,7 @@ function requireLottie() {
|
|
|
10785
10785
|
function y() {
|
|
10786
10786
|
return this._identityCalculated || (this._identity = !(this.props[0] !== 1 || this.props[1] !== 0 || this.props[2] !== 0 || this.props[3] !== 0 || this.props[4] !== 0 || this.props[5] !== 1 || this.props[6] !== 0 || this.props[7] !== 0 || this.props[8] !== 0 || this.props[9] !== 0 || this.props[10] !== 1 || this.props[11] !== 0 || this.props[12] !== 0 || this.props[13] !== 0 || this.props[14] !== 0 || this.props[15] !== 1), this._identityCalculated = !0), this._identity;
|
|
10787
10787
|
}
|
|
10788
|
-
function
|
|
10788
|
+
function E(R) {
|
|
10789
10789
|
for (var _ = 0; _ < 16; ) {
|
|
10790
10790
|
if (R.props[_] !== this.props[_])
|
|
10791
10791
|
return !1;
|
|
@@ -10868,7 +10868,7 @@ function requireLottie() {
|
|
|
10868
10868
|
return "matrix(" + _ + "," + k + "," + j + "," + L + "," + V + "," + G + ")";
|
|
10869
10869
|
}
|
|
10870
10870
|
return function() {
|
|
10871
|
-
this.reset = n, this.rotate = o, this.rotateX = a, this.rotateY = l, this.rotateZ = c, this.skew = p, this.skewFromAxis = g, this.shear = u, this.scale = d, this.setTransform =
|
|
10871
|
+
this.reset = n, this.rotate = o, this.rotateX = a, this.rotateY = l, this.rotateZ = c, this.skew = p, this.skewFromAxis = g, this.shear = u, this.scale = d, this.setTransform = S, this.translate = m, this.transform = f, this.multiply = T, this.applyToPoint = C, this.applyToX = P, this.applyToY = I, this.applyToZ = F, this.applyToPointArray = z, this.applyToTriplePoints = B, this.applyToPointStringified = U, this.toCSS = N, this.to2dCSS = O, this.clone = x, this.cloneFromProps = b, this.equals = E, this.inversePoints = D, this.inversePoint = A, this.getInverseMatrix = $, this._t = this.transform, this.isIdentity = y, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
|
10872
10872
|
};
|
|
10873
10873
|
}();
|
|
10874
10874
|
function _typeof$3(e) {
|
|
@@ -11027,7 +11027,7 @@ function requireLottie() {
|
|
|
11027
11027
|
t = Math.round(t * 1e4) * 1e-4, i = Math.round(i * 1e4) * 1e-4, this.sValue = t, this.eValue = i;
|
|
11028
11028
|
} else
|
|
11029
11029
|
t = this.sValue, i = this.eValue;
|
|
11030
|
-
var o, a, l = this.shapes.length, c, u, p, g, d,
|
|
11030
|
+
var o, a, l = this.shapes.length, c, u, p, g, d, S = 0;
|
|
11031
11031
|
if (i === t)
|
|
11032
11032
|
for (a = 0; a < l; a += 1)
|
|
11033
11033
|
this.shapes[a].localShapeCollection.releaseShapes(), this.shapes[a].shape._mdf = !0, this.shapes[a].shape.paths = this.shapes[a].localShapeCollection, this._mdf && (this.shapes[a].pathsData.length = 0);
|
|
@@ -11048,24 +11048,24 @@ function requireLottie() {
|
|
|
11048
11048
|
g = bez.getSegmentsLength(o.shapes[c]), p.push(g), d += g.totalLength;
|
|
11049
11049
|
f.totalShapeLength = d, f.pathsData = p;
|
|
11050
11050
|
}
|
|
11051
|
-
|
|
11051
|
+
S += d, f.shape._mdf = !0;
|
|
11052
11052
|
}
|
|
11053
|
-
var y = t,
|
|
11053
|
+
var y = t, E = i, x = 0, b;
|
|
11054
11054
|
for (a = l - 1; a >= 0; a -= 1)
|
|
11055
11055
|
if (f = this.shapes[a], f.shape._mdf) {
|
|
11056
|
-
for (T = f.localShapeCollection, T.releaseShapes(), this.m === 2 && l > 1 ? (b = this.calculateShapeEdges(t, i, f.totalShapeLength, x,
|
|
11057
|
-
y = b[c][0],
|
|
11056
|
+
for (T = f.localShapeCollection, T.releaseShapes(), this.m === 2 && l > 1 ? (b = this.calculateShapeEdges(t, i, f.totalShapeLength, x, S), x += f.totalShapeLength) : b = [[y, E]], u = b.length, c = 0; c < u; c += 1) {
|
|
11057
|
+
y = b[c][0], E = b[c][1], m.length = 0, E <= 1 ? m.push({
|
|
11058
11058
|
s: f.totalShapeLength * y,
|
|
11059
|
-
e: f.totalShapeLength *
|
|
11059
|
+
e: f.totalShapeLength * E
|
|
11060
11060
|
}) : y >= 1 ? m.push({
|
|
11061
11061
|
s: f.totalShapeLength * (y - 1),
|
|
11062
|
-
e: f.totalShapeLength * (
|
|
11062
|
+
e: f.totalShapeLength * (E - 1)
|
|
11063
11063
|
}) : (m.push({
|
|
11064
11064
|
s: f.totalShapeLength * y,
|
|
11065
11065
|
e: f.totalShapeLength
|
|
11066
11066
|
}), m.push({
|
|
11067
11067
|
s: 0,
|
|
11068
|
-
e: f.totalShapeLength * (
|
|
11068
|
+
e: f.totalShapeLength * (E - 1)
|
|
11069
11069
|
}));
|
|
11070
11070
|
var C = this.addShapes(f, m[0]);
|
|
11071
11071
|
if (m[0].s !== m[0].e) {
|
|
@@ -11092,7 +11092,7 @@ function requireLottie() {
|
|
|
11092
11092
|
}, TrimModifier.prototype.addSegmentFromArray = function(e, t, i, s) {
|
|
11093
11093
|
t.setXYAt(e[1], e[5], "o", i), t.setXYAt(e[2], e[6], "i", i + 1), s && t.setXYAt(e[0], e[4], "v", i), t.setXYAt(e[3], e[7], "v", i + 1);
|
|
11094
11094
|
}, TrimModifier.prototype.addShapes = function(e, t, i) {
|
|
11095
|
-
var s = e.pathsData, n = e.shape.paths.shapes, o, a = e.shape.paths._length, l, c, u = 0, p, g, d,
|
|
11095
|
+
var s = e.pathsData, n = e.shape.paths.shapes, o, a = e.shape.paths._length, l, c, u = 0, p, g, d, S, m = [], f, T = !0;
|
|
11096
11096
|
for (i ? (g = i._length, f = i._length) : (i = shapePool.newElement(), g = 0, f = 0), m.push(i), o = 0; o < a; o += 1) {
|
|
11097
11097
|
for (d = s[o].lengths, i.c = n[o].c, c = n[o].c ? d.length : d.length + 1, l = 1; l < c; l += 1)
|
|
11098
11098
|
if (p = d[l - 1], u + p.addedLength < t.s)
|
|
@@ -11101,11 +11101,11 @@ function requireLottie() {
|
|
|
11101
11101
|
i.c = !1;
|
|
11102
11102
|
break;
|
|
11103
11103
|
} else
|
|
11104
|
-
t.s <= u && t.e >= u + p.addedLength ? (this.addSegment(n[o].v[l - 1], n[o].o[l - 1], n[o].i[l], n[o].v[l], i, g, T), T = !1) : (
|
|
11104
|
+
t.s <= u && t.e >= u + p.addedLength ? (this.addSegment(n[o].v[l - 1], n[o].o[l - 1], n[o].i[l], n[o].v[l], i, g, T), T = !1) : (S = bez.getNewSegment(n[o].v[l - 1], n[o].v[l], n[o].o[l - 1], n[o].i[l], (t.s - u) / p.addedLength, (t.e - u) / p.addedLength, d[l - 1]), this.addSegmentFromArray(S, i, g, T), T = !1, i.c = !1), u += p.addedLength, g += 1;
|
|
11105
11105
|
if (n[o].c && d.length) {
|
|
11106
11106
|
if (p = d[l - 1], u <= t.e) {
|
|
11107
11107
|
var y = d[l - 1].addedLength;
|
|
11108
|
-
t.s <= u && t.e >= u + y ? (this.addSegment(n[o].v[l - 1], n[o].o[l - 1], n[o].i[0], n[o].v[0], i, g, T), T = !1) : (
|
|
11108
|
+
t.s <= u && t.e >= u + y ? (this.addSegment(n[o].v[l - 1], n[o].o[l - 1], n[o].i[0], n[o].v[0], i, g, T), T = !1) : (S = bez.getNewSegment(n[o].v[l - 1], n[o].v[0], n[o].o[l - 1], n[o].i[0], (t.s - u) / y, (t.e - u) / y, d[l - 1]), this.addSegmentFromArray(S, i, g, T), T = !1, i.c = !1);
|
|
11109
11109
|
} else
|
|
11110
11110
|
i.c = !1;
|
|
11111
11111
|
u += p.addedLength, g += 1;
|
|
@@ -11160,8 +11160,8 @@ function requireLottie() {
|
|
|
11160
11160
|
this.p._caching.lastFrame + this.p.offsetTime <= this.p.keyframes[0].t ? (p = this.p.getValueAtTime((this.p.keyframes[0].t + 0.01) / u, 0), g = this.p.getValueAtTime(this.p.keyframes[0].t / u, 0)) : this.p._caching.lastFrame + this.p.offsetTime >= this.p.keyframes[this.p.keyframes.length - 1].t ? (p = this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length - 1].t / u, 0), g = this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length - 1].t - 0.05) / u, 0)) : (p = this.p.pv, g = this.p.getValueAtTime((this.p._caching.lastFrame + this.p.offsetTime - 0.01) / u, this.p.offsetTime));
|
|
11161
11161
|
else if (this.px && this.px.keyframes && this.py.keyframes && this.px.getValueAtTime && this.py.getValueAtTime) {
|
|
11162
11162
|
p = [], g = [];
|
|
11163
|
-
var d = this.px,
|
|
11164
|
-
d._caching.lastFrame + d.offsetTime <= d.keyframes[0].t ? (p[0] = d.getValueAtTime((d.keyframes[0].t + 0.01) / u, 0), p[1] =
|
|
11163
|
+
var d = this.px, S = this.py;
|
|
11164
|
+
d._caching.lastFrame + d.offsetTime <= d.keyframes[0].t ? (p[0] = d.getValueAtTime((d.keyframes[0].t + 0.01) / u, 0), p[1] = S.getValueAtTime((S.keyframes[0].t + 0.01) / u, 0), g[0] = d.getValueAtTime(d.keyframes[0].t / u, 0), g[1] = S.getValueAtTime(S.keyframes[0].t / u, 0)) : d._caching.lastFrame + d.offsetTime >= d.keyframes[d.keyframes.length - 1].t ? (p[0] = d.getValueAtTime(d.keyframes[d.keyframes.length - 1].t / u, 0), p[1] = S.getValueAtTime(S.keyframes[S.keyframes.length - 1].t / u, 0), g[0] = d.getValueAtTime((d.keyframes[d.keyframes.length - 1].t - 0.01) / u, 0), g[1] = S.getValueAtTime((S.keyframes[S.keyframes.length - 1].t - 0.01) / u, 0)) : (p = [d.pv, S.pv], g[0] = d.getValueAtTime((d._caching.lastFrame + d.offsetTime - 0.01) / u, d.offsetTime), g[1] = S.getValueAtTime((S._caching.lastFrame + S.offsetTime - 0.01) / u, S.offsetTime));
|
|
11165
11165
|
} else
|
|
11166
11166
|
g = e, p = g;
|
|
11167
11167
|
this.v.rotate(-Math.atan2(p[1] - g[1], p[0] - g[0]));
|
|
@@ -11320,28 +11320,28 @@ function requireLottie() {
|
|
|
11320
11320
|
o += 1;
|
|
11321
11321
|
}
|
|
11322
11322
|
this._currentCopies = l;
|
|
11323
|
-
var d = this.o.v,
|
|
11323
|
+
var d = this.o.v, S = d % 1, m = d > 0 ? Math.floor(d) : Math.ceil(d), f = this.pMatrix.props, T = this.rMatrix.props, y = this.sMatrix.props;
|
|
11324
11324
|
this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
|
|
11325
|
-
var
|
|
11325
|
+
var E = 0;
|
|
11326
11326
|
if (d > 0) {
|
|
11327
|
-
for (;
|
|
11328
|
-
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1),
|
|
11329
|
-
|
|
11327
|
+
for (; E < m; )
|
|
11328
|
+
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), E += 1;
|
|
11329
|
+
S && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, S, !1), E += S);
|
|
11330
11330
|
} else if (d < 0) {
|
|
11331
|
-
for (;
|
|
11332
|
-
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0),
|
|
11333
|
-
|
|
11331
|
+
for (; E > m; )
|
|
11332
|
+
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0), E -= 1;
|
|
11333
|
+
S && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -S, !0), E -= S);
|
|
11334
11334
|
}
|
|
11335
11335
|
s = this.data.m === 1 ? 0 : this._currentCopies - 1, n = this.data.m === 1 ? 1 : -1, o = this._currentCopies;
|
|
11336
11336
|
for (var x, b; o; ) {
|
|
11337
|
-
if (t = this.elemsData[s].it, i = t[t.length - 1].transform.mProps.v.props, b = i.length, t[t.length - 1].transform.mProps._mdf = !0, t[t.length - 1].transform.op._mdf = !0, t[t.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (s / (this._currentCopies - 1)),
|
|
11337
|
+
if (t = this.elemsData[s].it, i = t[t.length - 1].transform.mProps.v.props, b = i.length, t[t.length - 1].transform.mProps._mdf = !0, t[t.length - 1].transform.op._mdf = !0, t[t.length - 1].transform.op.v = this._currentCopies === 1 ? this.so.v : this.so.v + (this.eo.v - this.so.v) * (s / (this._currentCopies - 1)), E !== 0) {
|
|
11338
11338
|
for ((s !== 0 && n === 1 || s !== this._currentCopies - 1 && n === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(T[0], T[1], T[2], T[3], T[4], T[5], T[6], T[7], T[8], T[9], T[10], T[11], T[12], T[13], T[14], T[15]), this.matrix.transform(y[0], y[1], y[2], y[3], y[4], y[5], y[6], y[7], y[8], y[9], y[10], y[11], y[12], y[13], y[14], y[15]), this.matrix.transform(f[0], f[1], f[2], f[3], f[4], f[5], f[6], f[7], f[8], f[9], f[10], f[11], f[12], f[13], f[14], f[15]), x = 0; x < b; x += 1)
|
|
11339
11339
|
i[x] = this.matrix.props[x];
|
|
11340
11340
|
this.matrix.reset();
|
|
11341
11341
|
} else
|
|
11342
11342
|
for (this.matrix.reset(), x = 0; x < b; x += 1)
|
|
11343
11343
|
i[x] = this.matrix.props[x];
|
|
11344
|
-
|
|
11344
|
+
E += 1, o -= 1, s += n;
|
|
11345
11345
|
}
|
|
11346
11346
|
} else
|
|
11347
11347
|
for (o = this._currentCopies, s = 0, n = 1; o; )
|
|
@@ -11356,9 +11356,9 @@ function requireLottie() {
|
|
|
11356
11356
|
}, RoundCornersModifier.prototype.processPath = function(e, t) {
|
|
11357
11357
|
var i = shapePool.newElement();
|
|
11358
11358
|
i.c = e.c;
|
|
11359
|
-
var s, n = e._length, o, a, l, c, u, p, g = 0, d,
|
|
11359
|
+
var s, n = e._length, o, a, l, c, u, p, g = 0, d, S, m, f, T, y;
|
|
11360
11360
|
for (s = 0; s < n; s += 1)
|
|
11361
|
-
o = e.v[s], l = e.o[s], a = e.i[s], o[0] === l[0] && o[1] === l[1] && o[0] === a[0] && o[1] === a[1] ? (s === 0 || s === n - 1) && !e.c ? (i.setTripleAt(o[0], o[1], l[0], l[1], a[0], a[1], g), g += 1) : (s === 0 ? c = e.v[n - 1] : c = e.v[s - 1], u = Math.sqrt(Math.pow(o[0] - c[0], 2) + Math.pow(o[1] - c[1], 2)), p = u ? Math.min(u / 2, t) / u : 0, T = o[0] + (c[0] - o[0]) * p, d = T, y = o[1] - (o[1] - c[1]) * p,
|
|
11361
|
+
o = e.v[s], l = e.o[s], a = e.i[s], o[0] === l[0] && o[1] === l[1] && o[0] === a[0] && o[1] === a[1] ? (s === 0 || s === n - 1) && !e.c ? (i.setTripleAt(o[0], o[1], l[0], l[1], a[0], a[1], g), g += 1) : (s === 0 ? c = e.v[n - 1] : c = e.v[s - 1], u = Math.sqrt(Math.pow(o[0] - c[0], 2) + Math.pow(o[1] - c[1], 2)), p = u ? Math.min(u / 2, t) / u : 0, T = o[0] + (c[0] - o[0]) * p, d = T, y = o[1] - (o[1] - c[1]) * p, S = y, m = d - (d - o[0]) * roundCorner, f = S - (S - o[1]) * roundCorner, i.setTripleAt(d, S, m, f, T, y, g), g += 1, s === n - 1 ? c = e.v[0] : c = e.v[s + 1], u = Math.sqrt(Math.pow(o[0] - c[0], 2) + Math.pow(o[1] - c[1], 2)), p = u ? Math.min(u / 2, t) / u : 0, m = o[0] + (c[0] - o[0]) * p, d = m, f = o[1] + (c[1] - o[1]) * p, S = f, T = d - (d - o[0]) * roundCorner, y = S - (S - o[1]) * roundCorner, i.setTripleAt(d, S, m, f, T, y, g), g += 1) : (i.setTripleAt(e.v[s][0], e.v[s][1], e.o[s][0], e.o[s][1], e.i[s][0], e.i[s][1], g), g += 1);
|
|
11362
11362
|
return i;
|
|
11363
11363
|
}, RoundCornersModifier.prototype.processShapes = function(e) {
|
|
11364
11364
|
var t, i, s = this.shapes.length, n, o, a = this.rd.v;
|
|
@@ -11589,7 +11589,7 @@ function requireLottie() {
|
|
|
11589
11589
|
var l = -t.tangentAngle(1), c = -i.tangentAngle(0) + Math.PI, u = lineIntersection(o, polarOffset(o, l + Math.PI / 2, 100), a, polarOffset(a, l + Math.PI / 2, 100)), p = u ? pointDistance(u, o) : pointDistance(o, a) / 2, g = polarOffset(o, l, 2 * p * roundCorner);
|
|
11590
11590
|
return e.setXYAt(g[0], g[1], "o", e.length() - 1), g = polarOffset(a, c, 2 * p * roundCorner), e.setTripleAt(a[0], a[1], a[0], a[1], g[0], g[1], e.length()), a;
|
|
11591
11591
|
}
|
|
11592
|
-
var d = pointEqual(o, t.points[2]) ? t.points[0] : t.points[2],
|
|
11592
|
+
var d = pointEqual(o, t.points[2]) ? t.points[0] : t.points[2], S = pointEqual(a, i.points[1]) ? i.points[3] : i.points[1], m = lineIntersection(d, o, a, S);
|
|
11593
11593
|
return m && pointDistance(m, o) < n ? (e.setTripleAt(m[0], m[1], m[0], m[1], m[0], m[1], e.length()), m) : o;
|
|
11594
11594
|
}
|
|
11595
11595
|
function getIntersection(e, t) {
|
|
@@ -11697,7 +11697,7 @@ function requireLottie() {
|
|
|
11697
11697
|
O[R] !== "sans-serif" && O[R] !== "monospace" && k.push(O[R]);
|
|
11698
11698
|
return k.join(",");
|
|
11699
11699
|
}
|
|
11700
|
-
function
|
|
11700
|
+
function S(M, O) {
|
|
11701
11701
|
var R = createTag("span");
|
|
11702
11702
|
R.setAttribute("aria-hidden", !0), R.style.fontFamily = O;
|
|
11703
11703
|
var _ = createTag("span");
|
|
@@ -11749,7 +11749,7 @@ function requireLottie() {
|
|
|
11749
11749
|
var R = M.list, _, k = R.length, j = k;
|
|
11750
11750
|
for (_ = 0; _ < k; _ += 1) {
|
|
11751
11751
|
var L = !0, V, G;
|
|
11752
|
-
if (R[_].loaded = !1, R[_].monoCase =
|
|
11752
|
+
if (R[_].loaded = !1, R[_].monoCase = S(R[_].fFamily, "monospace"), R[_].sansCase = S(R[_].fFamily, "sans-serif"), !R[_].fPath)
|
|
11753
11753
|
R[_].loaded = !0, j -= 1;
|
|
11754
11754
|
else if (R[_].fOrigin === "p" || R[_].origin === 3) {
|
|
11755
11755
|
if (V = document.querySelectorAll('style[f-forigin="p"][f-family="' + R[_].fFamily + '"], style[f-origin="3"][f-family="' + R[_].fFamily + '"]'), V.length > 0 && (L = !1), L) {
|
|
@@ -11786,7 +11786,7 @@ function requireLottie() {
|
|
|
11786
11786
|
}
|
|
11787
11787
|
}
|
|
11788
11788
|
}
|
|
11789
|
-
function
|
|
11789
|
+
function E(M, O, R) {
|
|
11790
11790
|
for (var _ = 0, k = this.chars.length; _ < k; ) {
|
|
11791
11791
|
if (this.chars[_].ch === M && this.chars[_].style === O && this.chars[_].fFamily === R)
|
|
11792
11792
|
return this.chars[_];
|
|
@@ -11864,7 +11864,7 @@ function requireLottie() {
|
|
|
11864
11864
|
var N = {
|
|
11865
11865
|
addChars: y,
|
|
11866
11866
|
addFonts: T,
|
|
11867
|
-
getCharData:
|
|
11867
|
+
getCharData: E,
|
|
11868
11868
|
getFontByName: b,
|
|
11869
11869
|
measureText: x,
|
|
11870
11870
|
checkLoadedFonts: m,
|
|
@@ -12327,9 +12327,9 @@ function requireLottie() {
|
|
|
12327
12327
|
this.data = e, this.element = t, this.globalData = i, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
|
|
12328
12328
|
var s = this.globalData.defs, n, o = this.masksProperties ? this.masksProperties.length : 0;
|
|
12329
12329
|
this.viewData = createSizedArray(o), this.solidPath = "";
|
|
12330
|
-
var a, l = this.masksProperties, c = 0, u = [], p, g, d = createElementID(),
|
|
12330
|
+
var a, l = this.masksProperties, c = 0, u = [], p, g, d = createElementID(), S, m, f, T, y = "clipPath", E = "clip-path";
|
|
12331
12331
|
for (n = 0; n < o; n += 1)
|
|
12332
|
-
if ((l[n].mode !== "a" && l[n].mode !== "n" || l[n].inv || l[n].o.k !== 100 || l[n].o.x) && (y = "mask",
|
|
12332
|
+
if ((l[n].mode !== "a" && l[n].mode !== "n" || l[n].inv || l[n].o.k !== 100 || l[n].o.x) && (y = "mask", E = "mask"), (l[n].mode === "s" || l[n].mode === "i") && c === 0 ? (S = createNS("rect"), S.setAttribute("fill", "#ffffff"), S.setAttribute("width", this.element.comp.data.w || 0), S.setAttribute("height", this.element.comp.data.h || 0), u.push(S)) : S = null, a = createNS("path"), l[n].mode === "n")
|
|
12333
12333
|
this.viewData[n] = {
|
|
12334
12334
|
op: PropertyFactory.getProp(this.element, l[n].o, 0, 0.01, this.element),
|
|
12335
12335
|
prop: ShapePropertyFactory.getShapeProp(this.element, l[n], 3),
|
|
@@ -12339,7 +12339,7 @@ function requireLottie() {
|
|
|
12339
12339
|
else {
|
|
12340
12340
|
c += 1, a.setAttribute("fill", l[n].mode === "s" ? "#000000" : "#ffffff"), a.setAttribute("clip-rule", "nonzero");
|
|
12341
12341
|
var x;
|
|
12342
|
-
if (l[n].x.k !== 0 ? (y = "mask",
|
|
12342
|
+
if (l[n].x.k !== 0 ? (y = "mask", E = "mask", T = PropertyFactory.getProp(this.element, l[n].x, 0, null, this.element), x = createElementID(), m = createNS("filter"), m.setAttribute("id", x), f = createNS("feMorphology"), f.setAttribute("operator", "erode"), f.setAttribute("in", "SourceGraphic"), f.setAttribute("radius", "0"), m.appendChild(f), s.appendChild(m), a.setAttribute("stroke", l[n].mode === "s" ? "#000000" : "#ffffff")) : (f = null, T = null), this.storedData[n] = {
|
|
12343
12343
|
elem: a,
|
|
12344
12344
|
x: T,
|
|
12345
12345
|
expan: f,
|
|
@@ -12361,12 +12361,12 @@ function requireLottie() {
|
|
|
12361
12361
|
lastPath: "",
|
|
12362
12362
|
op: PropertyFactory.getProp(this.element, l[n].o, 0, 0.01, this.element),
|
|
12363
12363
|
prop: ShapePropertyFactory.getShapeProp(this.element, l[n], 3),
|
|
12364
|
-
invRect:
|
|
12364
|
+
invRect: S
|
|
12365
12365
|
}, this.viewData[n].prop.k || this.drawPath(l[n], this.viewData[n].prop.v, this.viewData[n]);
|
|
12366
12366
|
}
|
|
12367
12367
|
for (this.maskElement = createNS(y), o = u.length, n = 0; n < o; n += 1)
|
|
12368
12368
|
this.maskElement.appendChild(u[n]);
|
|
12369
|
-
c > 0 && (this.maskElement.setAttribute("id", d), this.element.maskedElement.setAttribute(
|
|
12369
|
+
c > 0 && (this.maskElement.setAttribute("id", d), this.element.maskedElement.setAttribute(E, "url(" + getLocationHref() + "#" + d + ")"), s.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
|
|
12370
12370
|
}
|
|
12371
12371
|
MaskElement.prototype.getMaskProperty = function(e) {
|
|
12372
12372
|
return this.viewData[e].prop;
|
|
@@ -12814,15 +12814,15 @@ function requireLottie() {
|
|
|
12814
12814
|
return null;
|
|
12815
12815
|
}
|
|
12816
12816
|
}
|
|
12817
|
-
function n(g, d,
|
|
12818
|
-
(
|
|
12817
|
+
function n(g, d, S) {
|
|
12818
|
+
(S || d.transform.op._mdf) && d.transform.container.setAttribute("opacity", d.transform.op.v), (S || d.transform.mProps._mdf) && d.transform.container.setAttribute("transform", d.transform.mProps.v.to2dCSS());
|
|
12819
12819
|
}
|
|
12820
12820
|
function o() {
|
|
12821
12821
|
}
|
|
12822
|
-
function a(g, d,
|
|
12823
|
-
var m, f, T, y,
|
|
12822
|
+
function a(g, d, S) {
|
|
12823
|
+
var m, f, T, y, E, x, b = d.styles.length, C = d.lvl, P, I, F, $;
|
|
12824
12824
|
for (x = 0; x < b; x += 1) {
|
|
12825
|
-
if (y = d.sh._mdf ||
|
|
12825
|
+
if (y = d.sh._mdf || S, d.styles[x].lvl < C) {
|
|
12826
12826
|
for (I = t.reset(), F = C - d.styles[x].lvl, $ = d.transformers.length - 1; !y && F > 0; )
|
|
12827
12827
|
y = d.transformers[$].mProps._mdf || y, F -= 1, $ -= 1;
|
|
12828
12828
|
if (y)
|
|
@@ -12832,47 +12832,47 @@ function requireLottie() {
|
|
|
12832
12832
|
I = e;
|
|
12833
12833
|
if (P = d.sh.paths, f = P._length, y) {
|
|
12834
12834
|
for (T = "", m = 0; m < f; m += 1)
|
|
12835
|
-
|
|
12835
|
+
E = P.shapes[m], E && E._length && (T += buildShapeString(E, E._length, E.c, I));
|
|
12836
12836
|
d.caches[x] = T;
|
|
12837
12837
|
} else
|
|
12838
12838
|
T = d.caches[x];
|
|
12839
12839
|
d.styles[x].d += g.hd === !0 ? "" : T, d.styles[x]._mdf = y || d.styles[x]._mdf;
|
|
12840
12840
|
}
|
|
12841
12841
|
}
|
|
12842
|
-
function l(g, d,
|
|
12842
|
+
function l(g, d, S) {
|
|
12843
12843
|
var m = d.style;
|
|
12844
|
-
(d.c._mdf ||
|
|
12844
|
+
(d.c._mdf || S) && m.pElem.setAttribute("fill", "rgb(" + bmFloor(d.c.v[0]) + "," + bmFloor(d.c.v[1]) + "," + bmFloor(d.c.v[2]) + ")"), (d.o._mdf || S) && m.pElem.setAttribute("fill-opacity", d.o.v);
|
|
12845
12845
|
}
|
|
12846
|
-
function c(g, d,
|
|
12847
|
-
u(g, d,
|
|
12846
|
+
function c(g, d, S) {
|
|
12847
|
+
u(g, d, S), p(g, d, S);
|
|
12848
12848
|
}
|
|
12849
|
-
function u(g, d,
|
|
12849
|
+
function u(g, d, S) {
|
|
12850
12850
|
var m = d.gf, f = d.g._hasOpacity, T = d.s.v, y = d.e.v;
|
|
12851
|
-
if (d.o._mdf ||
|
|
12852
|
-
var
|
|
12853
|
-
d.style.pElem.setAttribute(
|
|
12851
|
+
if (d.o._mdf || S) {
|
|
12852
|
+
var E = g.ty === "gf" ? "fill-opacity" : "stroke-opacity";
|
|
12853
|
+
d.style.pElem.setAttribute(E, d.o.v);
|
|
12854
12854
|
}
|
|
12855
|
-
if (d.s._mdf ||
|
|
12855
|
+
if (d.s._mdf || S) {
|
|
12856
12856
|
var x = g.t === 1 ? "x1" : "cx", b = x === "x1" ? "y1" : "cy";
|
|
12857
12857
|
m.setAttribute(x, T[0]), m.setAttribute(b, T[1]), f && !d.g._collapsable && (d.of.setAttribute(x, T[0]), d.of.setAttribute(b, T[1]));
|
|
12858
12858
|
}
|
|
12859
12859
|
var C, P, I, F;
|
|
12860
|
-
if (d.g._cmdf ||
|
|
12860
|
+
if (d.g._cmdf || S) {
|
|
12861
12861
|
C = d.cst;
|
|
12862
12862
|
var $ = d.g.c;
|
|
12863
12863
|
for (I = C.length, P = 0; P < I; P += 1)
|
|
12864
12864
|
F = C[P], F.setAttribute("offset", $[P * 4] + "%"), F.setAttribute("stop-color", "rgb(" + $[P * 4 + 1] + "," + $[P * 4 + 2] + "," + $[P * 4 + 3] + ")");
|
|
12865
12865
|
}
|
|
12866
|
-
if (f && (d.g._omdf ||
|
|
12866
|
+
if (f && (d.g._omdf || S)) {
|
|
12867
12867
|
var A = d.g.o;
|
|
12868
12868
|
for (d.g._collapsable ? C = d.cst : C = d.ost, I = C.length, P = 0; P < I; P += 1)
|
|
12869
12869
|
F = C[P], d.g._collapsable || F.setAttribute("offset", A[P * 2] + "%"), F.setAttribute("stop-opacity", A[P * 2 + 1]);
|
|
12870
12870
|
}
|
|
12871
12871
|
if (g.t === 1)
|
|
12872
|
-
(d.e._mdf ||
|
|
12872
|
+
(d.e._mdf || S) && (m.setAttribute("x2", y[0]), m.setAttribute("y2", y[1]), f && !d.g._collapsable && (d.of.setAttribute("x2", y[0]), d.of.setAttribute("y2", y[1])));
|
|
12873
12873
|
else {
|
|
12874
12874
|
var D;
|
|
12875
|
-
if ((d.s._mdf || d.e._mdf ||
|
|
12875
|
+
if ((d.s._mdf || d.e._mdf || S) && (D = Math.sqrt(Math.pow(T[0] - y[0], 2) + Math.pow(T[1] - y[1], 2)), m.setAttribute("r", D), f && !d.g._collapsable && d.of.setAttribute("r", D)), d.e._mdf || d.h._mdf || d.a._mdf || S) {
|
|
12876
12876
|
D || (D = Math.sqrt(Math.pow(T[0] - y[0], 2) + Math.pow(T[1] - y[1], 2)));
|
|
12877
12877
|
var B = Math.atan2(y[1] - T[1], y[0] - T[0]), z = d.h.v;
|
|
12878
12878
|
z >= 1 ? z = 0.99 : z <= -1 && (z = -0.99);
|
|
@@ -12881,9 +12881,9 @@ function requireLottie() {
|
|
|
12881
12881
|
}
|
|
12882
12882
|
}
|
|
12883
12883
|
}
|
|
12884
|
-
function p(g, d,
|
|
12884
|
+
function p(g, d, S) {
|
|
12885
12885
|
var m = d.style, f = d.d;
|
|
12886
|
-
f && (f._mdf ||
|
|
12886
|
+
f && (f._mdf || S) && f.dashStr && (m.pElem.setAttribute("stroke-dasharray", f.dashStr), m.pElem.setAttribute("stroke-dashoffset", f.dashoffset[0])), d.c && (d.c._mdf || S) && m.pElem.setAttribute("stroke", "rgb(" + bmFloor(d.c.v[0]) + "," + bmFloor(d.c.v[1]) + "," + bmFloor(d.c.v[2]) + ")"), (d.o._mdf || S) && m.pElem.setAttribute("stroke-opacity", d.o.v), (d.w._mdf || S) && (m.pElem.setAttribute("stroke-width", d.w.v), m.msElem && m.msElem.setAttribute("stroke-width", d.w.v));
|
|
12887
12887
|
}
|
|
12888
12888
|
return i;
|
|
12889
12889
|
}();
|
|
@@ -12951,7 +12951,7 @@ function requireLottie() {
|
|
|
12951
12951
|
this.dynamicProperties[e].getValue();
|
|
12952
12952
|
this.renderModifiers();
|
|
12953
12953
|
}, SVGShapeElement.prototype.searchShapes = function(e, t, i, s, n, o, a) {
|
|
12954
|
-
var l = [].concat(o), c, u = e.length - 1, p, g, d = [],
|
|
12954
|
+
var l = [].concat(o), c, u = e.length - 1, p, g, d = [], S = [], m, f, T;
|
|
12955
12955
|
for (c = u; c >= 0; c -= 1) {
|
|
12956
12956
|
if (T = this.searchProcessedElement(e[c]), T ? t[c] = i[T - 1] : e[c]._render = a, e[c].ty === "fl" || e[c].ty === "st" || e[c].ty === "gf" || e[c].ty === "gs" || e[c].ty === "no")
|
|
12957
12957
|
T ? t[c].style.closed = !1 : t[c] = this.createStyleElement(e[c], n), e[c]._render && t[c].style.pElem.parentNode !== s && s.appendChild(t[c].style.pElem), d.push(t[c].style);
|
|
@@ -12962,13 +12962,13 @@ function requireLottie() {
|
|
|
12962
12962
|
for (g = t[c].it.length, p = 0; p < g; p += 1)
|
|
12963
12963
|
t[c].prevViewData[p] = t[c].it[p];
|
|
12964
12964
|
this.searchShapes(e[c].it, t[c].it, t[c].prevViewData, t[c].gr, n + 1, l, a), e[c]._render && t[c].gr.parentNode !== s && s.appendChild(t[c].gr);
|
|
12965
|
-
} else e[c].ty === "tr" ? (T || (t[c] = this.createTransformElement(e[c], s)), m = t[c].transform, l.push(m)) : e[c].ty === "sh" || e[c].ty === "rc" || e[c].ty === "el" || e[c].ty === "sr" ? (T || (t[c] = this.createShapeElement(e[c], l, n)), this.setElementStyles(t[c])) : e[c].ty === "tm" || e[c].ty === "rd" || e[c].ty === "ms" || e[c].ty === "pb" || e[c].ty === "zz" || e[c].ty === "op" ? (T ? (f = t[c], f.closed = !1) : (f = ShapeModifiers.getModifier(e[c].ty), f.init(this, e[c]), t[c] = f, this.shapeModifiers.push(f)),
|
|
12965
|
+
} else e[c].ty === "tr" ? (T || (t[c] = this.createTransformElement(e[c], s)), m = t[c].transform, l.push(m)) : e[c].ty === "sh" || e[c].ty === "rc" || e[c].ty === "el" || e[c].ty === "sr" ? (T || (t[c] = this.createShapeElement(e[c], l, n)), this.setElementStyles(t[c])) : e[c].ty === "tm" || e[c].ty === "rd" || e[c].ty === "ms" || e[c].ty === "pb" || e[c].ty === "zz" || e[c].ty === "op" ? (T ? (f = t[c], f.closed = !1) : (f = ShapeModifiers.getModifier(e[c].ty), f.init(this, e[c]), t[c] = f, this.shapeModifiers.push(f)), S.push(f)) : e[c].ty === "rp" && (T ? (f = t[c], f.closed = !0) : (f = ShapeModifiers.getModifier(e[c].ty), t[c] = f, f.init(this, e, c, t), this.shapeModifiers.push(f), a = !1), S.push(f));
|
|
12966
12966
|
this.addProcessedElement(e[c], c + 1);
|
|
12967
12967
|
}
|
|
12968
12968
|
for (u = d.length, c = 0; c < u; c += 1)
|
|
12969
12969
|
d[c].closed = !0;
|
|
12970
|
-
for (u =
|
|
12971
|
-
|
|
12970
|
+
for (u = S.length, c = 0; c < u; c += 1)
|
|
12971
|
+
S[c].closed = !0;
|
|
12972
12972
|
}, SVGShapeElement.prototype.renderInnerContent = function() {
|
|
12973
12973
|
this.renderModifiers();
|
|
12974
12974
|
var e, t = this.stylesList.length;
|
|
@@ -13066,7 +13066,7 @@ function requireLottie() {
|
|
|
13066
13066
|
return t;
|
|
13067
13067
|
}, TextProperty.prototype.completeTextData = function(e) {
|
|
13068
13068
|
e.__complete = !0;
|
|
13069
|
-
var t = this.elem.globalData.fontManager, i = this.data, s = [], n, o, a, l = 0, c, u = i.m.g, p = 0, g = 0, d = 0,
|
|
13069
|
+
var t = this.elem.globalData.fontManager, i = this.data, s = [], n, o, a, l = 0, c, u = i.m.g, p = 0, g = 0, d = 0, S = [], m = 0, f = 0, T, y, E = t.getFontByName(e.f), x, b = 0, C = getFontProperties(E);
|
|
13070
13070
|
e.fWeight = C.weight, e.fStyle = C.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), o = e.finalText.length, e.finalLineHeight = e.lh;
|
|
13071
13071
|
var P = e.tr / 1e3 * e.finalSize, I;
|
|
13072
13072
|
if (e.sz)
|
|
@@ -13074,13 +13074,13 @@ function requireLottie() {
|
|
|
13074
13074
|
B = this.buildFinalText(e.t), D = 0, m = 0, o = B.length, P = e.tr / 1e3 * e.finalSize;
|
|
13075
13075
|
var z = -1;
|
|
13076
13076
|
for (n = 0; n < o; n += 1)
|
|
13077
|
-
I = B[n].charCodeAt(0), a = !1, B[n] === " " ? z = n : (I === 13 || I === 3) && (m = 0, a = !0, D += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (x = t.getCharData(B[n],
|
|
13078
|
-
D +=
|
|
13077
|
+
I = B[n].charCodeAt(0), a = !1, B[n] === " " ? z = n : (I === 13 || I === 3) && (m = 0, a = !0, D += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (x = t.getCharData(B[n], E.fStyle, E.fFamily), b = a ? 0 : x.w * e.finalSize / 100) : b = t.measureText(B[n], e.f, e.finalSize), m + b > $ && B[n] !== " " ? (z === -1 ? o += 1 : n = z, D += e.finalLineHeight || e.finalSize * 1.2, B.splice(n, z === n ? 1 : 0, "\r"), z = -1, m = 0) : (m += b, m += P);
|
|
13078
|
+
D += E.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && A < D ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = B, o = e.finalText.length, F = !1);
|
|
13079
13079
|
}
|
|
13080
13080
|
m = -P, b = 0;
|
|
13081
13081
|
var U = 0, N;
|
|
13082
13082
|
for (n = 0; n < o; n += 1)
|
|
13083
|
-
if (a = !1, N = e.finalText[n], I = N.charCodeAt(0), I === 13 || I === 3 ? (U = 0,
|
|
13083
|
+
if (a = !1, N = e.finalText[n], I = N.charCodeAt(0), I === 13 || I === 3 ? (U = 0, S.push(m), f = m > f ? m : f, m = -2 * P, c = "", a = !0, d += 1) : c = N, t.chars ? (x = t.getCharData(N, E.fStyle, t.getFontByName(e.f).fFamily), b = a ? 0 : x.w * e.finalSize / 100) : b = t.measureText(c, e.f, e.finalSize), N === " " ? U += b + P : (m += b + P + U, U = 0), s.push({
|
|
13084
13084
|
l: b,
|
|
13085
13085
|
an: b,
|
|
13086
13086
|
add: p,
|
|
@@ -13103,7 +13103,7 @@ function requireLottie() {
|
|
|
13103
13103
|
}
|
|
13104
13104
|
} else
|
|
13105
13105
|
s[l].ind = l, s[l].extra = 0, l += 1;
|
|
13106
|
-
if (e.l = s, f = m > f ? m : f,
|
|
13106
|
+
if (e.l = s, f = m > f ? m : f, S.push(m), e.sz)
|
|
13107
13107
|
e.boxWidth = e.sz[0], e.justifyOffset = 0;
|
|
13108
13108
|
else
|
|
13109
13109
|
switch (e.boxWidth = f, e.j) {
|
|
@@ -13116,7 +13116,7 @@ function requireLottie() {
|
|
|
13116
13116
|
default:
|
|
13117
13117
|
e.justifyOffset = 0;
|
|
13118
13118
|
}
|
|
13119
|
-
e.lineWidths =
|
|
13119
|
+
e.lineWidths = S;
|
|
13120
13120
|
var M = i.a, O, R;
|
|
13121
13121
|
y = M.length;
|
|
13122
13122
|
var _, k, j = [];
|
|
@@ -13129,7 +13129,7 @@ function requireLottie() {
|
|
|
13129
13129
|
for (n = 0; n < o; n += 1)
|
|
13130
13130
|
R = s[n], L != R.anIndexes[T] && (L = R.anIndexes[T], V = j.splice(Math.floor(Math.random() * j.length), 1)[0]), R.anIndexes[T] = V;
|
|
13131
13131
|
}
|
|
13132
|
-
e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent =
|
|
13132
|
+
e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = E.ascent * e.finalSize / 100;
|
|
13133
13133
|
}, TextProperty.prototype.updateDocumentData = function(e, t) {
|
|
13134
13134
|
t = t === void 0 ? this.keysIndex : t;
|
|
13135
13135
|
var i = this.copyData({}, this.data.d.k[t].s);
|
|
@@ -13164,24 +13164,24 @@ function requireLottie() {
|
|
|
13164
13164
|
this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
|
|
13165
13165
|
var l = 0, c = 0, u = 1, p = 1;
|
|
13166
13166
|
this.ne.v > 0 ? l = this.ne.v / 100 : c = -this.ne.v / 100, this.xe.v > 0 ? u = 1 - this.xe.v / 100 : p = 1 + this.xe.v / 100;
|
|
13167
|
-
var g = BezierFactory.getBezierEasing(l, c, u, p).get, d = 0,
|
|
13167
|
+
var g = BezierFactory.getBezierEasing(l, c, u, p).get, d = 0, S = this.finalS, m = this.finalE, f = this.data.sh;
|
|
13168
13168
|
if (f === 2)
|
|
13169
|
-
m ===
|
|
13169
|
+
m === S ? d = a >= m ? 1 : 0 : d = e(0, t(0.5 / (m - S) + (a - S) / (m - S), 1)), d = g(d);
|
|
13170
13170
|
else if (f === 3)
|
|
13171
|
-
m ===
|
|
13171
|
+
m === S ? d = a >= m ? 0 : 1 : d = 1 - e(0, t(0.5 / (m - S) + (a - S) / (m - S), 1)), d = g(d);
|
|
13172
13172
|
else if (f === 4)
|
|
13173
|
-
m ===
|
|
13173
|
+
m === S ? d = 0 : (d = e(0, t(0.5 / (m - S) + (a - S) / (m - S), 1)), d < 0.5 ? d *= 2 : d = 1 - 2 * (d - 0.5)), d = g(d);
|
|
13174
13174
|
else if (f === 5) {
|
|
13175
|
-
if (m ===
|
|
13175
|
+
if (m === S)
|
|
13176
13176
|
d = 0;
|
|
13177
13177
|
else {
|
|
13178
|
-
var T = m -
|
|
13179
|
-
a = t(e(0, a + 0.5 -
|
|
13180
|
-
var y = -T / 2 + a,
|
|
13181
|
-
d = Math.sqrt(1 - y * y / (
|
|
13178
|
+
var T = m - S;
|
|
13179
|
+
a = t(e(0, a + 0.5 - S), m - S);
|
|
13180
|
+
var y = -T / 2 + a, E = T / 2;
|
|
13181
|
+
d = Math.sqrt(1 - y * y / (E * E));
|
|
13182
13182
|
}
|
|
13183
13183
|
d = g(d);
|
|
13184
|
-
} else f === 6 ? (m ===
|
|
13184
|
+
} else f === 6 ? (m === S ? d = 0 : (a = t(e(0, a + 0.5 - S), m - S), d = (1 + Math.cos(Math.PI + Math.PI * 2 * a / (m - S))) / 2), d = g(d)) : (a >= i(S) && (a - S < 0 ? d = e(0, t(t(m, 1) - (S - a), 1)) : d = e(0, t(m - a, 1))), d = g(d));
|
|
13185
13185
|
if (this.sm.v !== 100) {
|
|
13186
13186
|
var x = this.sm.v * 0.01;
|
|
13187
13187
|
x === 0 && (x = 1e-8);
|
|
@@ -13250,28 +13250,28 @@ function requireLottie() {
|
|
|
13250
13250
|
}, TextAnimatorProperty.prototype.getMeasures = function(e, t) {
|
|
13251
13251
|
if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
13252
13252
|
this._isFirstFrame = !1;
|
|
13253
|
-
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, o = this.mHelper, a = this._renderType, l = this.renderedLetters.length, c, u, p, g, d = e.l,
|
|
13253
|
+
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, o = this.mHelper, a = this._renderType, l = this.renderedLetters.length, c, u, p, g, d = e.l, S, m, f, T, y, E, x, b, C, P, I, F, $, A, D;
|
|
13254
13254
|
if (this._hasMaskedPath) {
|
|
13255
13255
|
if (D = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
13256
13256
|
var B = D.v;
|
|
13257
|
-
this._pathData.r.v && (B = B.reverse()),
|
|
13257
|
+
this._pathData.r.v && (B = B.reverse()), S = {
|
|
13258
13258
|
tLength: 0,
|
|
13259
13259
|
segments: []
|
|
13260
13260
|
}, g = B._length - 1;
|
|
13261
13261
|
var z;
|
|
13262
13262
|
for (F = 0, p = 0; p < g; p += 1)
|
|
13263
|
-
z = bez.buildBezierData(B.v[p], B.v[p + 1], [B.o[p][0] - B.v[p][0], B.o[p][1] - B.v[p][1]], [B.i[p + 1][0] - B.v[p + 1][0], B.i[p + 1][1] - B.v[p + 1][1]]),
|
|
13264
|
-
p = g, D.v.c && (z = bez.buildBezierData(B.v[p], B.v[0], [B.o[p][0] - B.v[p][0], B.o[p][1] - B.v[p][1]], [B.i[0][0] - B.v[0][0], B.i[0][1] - B.v[0][1]]),
|
|
13263
|
+
z = bez.buildBezierData(B.v[p], B.v[p + 1], [B.o[p][0] - B.v[p][0], B.o[p][1] - B.v[p][1]], [B.i[p + 1][0] - B.v[p + 1][0], B.i[p + 1][1] - B.v[p + 1][1]]), S.tLength += z.segmentLength, S.segments.push(z), F += z.segmentLength;
|
|
13264
|
+
p = g, D.v.c && (z = bez.buildBezierData(B.v[p], B.v[0], [B.o[p][0] - B.v[p][0], B.o[p][1] - B.v[p][1]], [B.i[0][0] - B.v[0][0], B.i[0][1] - B.v[0][1]]), S.tLength += z.segmentLength, S.segments.push(z), F += z.segmentLength), this._pathData.pi = S;
|
|
13265
13265
|
}
|
|
13266
|
-
if (
|
|
13267
|
-
for (
|
|
13268
|
-
m += C[
|
|
13269
|
-
C = P[x].points, b = C[
|
|
13266
|
+
if (S = this._pathData.pi, m = this._pathData.f.v, x = 0, E = 1, T = 0, y = !0, P = S.segments, m < 0 && D.v.c)
|
|
13267
|
+
for (S.tLength < Math.abs(m) && (m = -Math.abs(m) % S.tLength), x = P.length - 1, C = P[x].points, E = C.length - 1; m < 0; )
|
|
13268
|
+
m += C[E].partialLength, E -= 1, E < 0 && (x -= 1, C = P[x].points, E = C.length - 1);
|
|
13269
|
+
C = P[x].points, b = C[E - 1], f = C[E], I = f.partialLength;
|
|
13270
13270
|
}
|
|
13271
13271
|
g = d.length, c = 0, u = 0;
|
|
13272
13272
|
var U = e.finalSize * 1.2 * 0.714, N = !0, M, O, R, _, k;
|
|
13273
13273
|
_ = s.length;
|
|
13274
|
-
var j, L = -1, V, G, q, Y = m, X = x, Q =
|
|
13274
|
+
var j, L = -1, V, G, q, Y = m, X = x, Q = E, re = -1, ie, ne, H, se, J, ce, he, ue, W = "", Z = this.defaultPropsArray, ee;
|
|
13275
13275
|
if (e.j === 2 || e.j === 1) {
|
|
13276
13276
|
var te = 0, K = 0, le = e.j === 2 ? -0.5 : -1, ae = 0, pe = !0;
|
|
13277
13277
|
for (p = 0; p < g; p += 1)
|
|
@@ -13289,7 +13289,7 @@ function requireLottie() {
|
|
|
13289
13289
|
}
|
|
13290
13290
|
for (p = 0; p < g; p += 1) {
|
|
13291
13291
|
if (o.reset(), ie = 1, d[p].n)
|
|
13292
|
-
c = 0, u += e.yOffset, u += N ? 1 : 0, m = Y, N = !1, this._hasMaskedPath && (x = X,
|
|
13292
|
+
c = 0, u += e.yOffset, u += N ? 1 : 0, m = Y, N = !1, this._hasMaskedPath && (x = X, E = Q, C = P[x].points, b = C[E - 1], f = C[E], I = f.partialLength, T = 0), W = "", ue = "", ce = "", ee = "", Z = this.defaultPropsArray;
|
|
13293
13293
|
else {
|
|
13294
13294
|
if (this._hasMaskedPath) {
|
|
13295
13295
|
if (re !== d[p].line) {
|
|
@@ -13308,7 +13308,7 @@ function requireLottie() {
|
|
|
13308
13308
|
for (R = 0; R < _; R += 1)
|
|
13309
13309
|
M = s[R].a, M.p.propType && (O = s[R].s, j = O.getMult(d[p].anIndexes[R], n.a[R].s.totalChars), j.length ? fe += M.p.v[0] * j[0] : fe += M.p.v[0] * j), M.a.propType && (O = s[R].s, j = O.getMult(d[p].anIndexes[R], n.a[R].s.totalChars), j.length ? fe += M.a.v[0] * j[0] : fe += M.a.v[0] * j);
|
|
13310
13310
|
for (y = !0, this._pathData.a.v && (m = d[0].an * 0.5 + (F - this._pathData.f.v - d[0].an * 0.5 - d[d.length - 1].an * 0.5) * L / (g - 1), m += this._pathData.f.v); y; )
|
|
13311
|
-
T + I >= m + fe || !C ? ($ = (m + fe - T) / f.partialLength, G = b.point[0] + (f.point[0] - b.point[0]) * $, q = b.point[1] + (f.point[1] - b.point[1]) * $, o.translate(-i[0] * d[p].an * 5e-3, -(i[1] * U) * 0.01), y = !1) : C && (T += f.partialLength,
|
|
13311
|
+
T + I >= m + fe || !C ? ($ = (m + fe - T) / f.partialLength, G = b.point[0] + (f.point[0] - b.point[0]) * $, q = b.point[1] + (f.point[1] - b.point[1]) * $, o.translate(-i[0] * d[p].an * 5e-3, -(i[1] * U) * 0.01), y = !1) : C && (T += f.partialLength, E += 1, E >= C.length && (E = 0, x += 1, P[x] ? C = P[x].points : D.v.c ? (E = 0, x = 0, C = P[x].points) : (T -= f.partialLength, C = null)), C && (b = f, f = C[E], I = f.partialLength));
|
|
13312
13312
|
V = d[p].an / 2 - d[p].add, o.translate(-V, 0, 0);
|
|
13313
13313
|
} else
|
|
13314
13314
|
V = d[p].an / 2 - d[p].add, o.translate(-V, 0, 0), o.translate(-i[0] * d[p].an * 5e-3, -i[1] * U * 0.01, 0);
|
|
@@ -13426,7 +13426,7 @@ function requireLottie() {
|
|
|
13426
13426
|
this.layerElement.setAttribute("aria-label", i.t);
|
|
13427
13427
|
var a = i.l || [], l = !!this.globalData.fontManager.chars;
|
|
13428
13428
|
t = a.length;
|
|
13429
|
-
var c, u = this.mHelper, p = "", g = this.data.singleShape, d = 0,
|
|
13429
|
+
var c, u = this.mHelper, p = "", g = this.data.singleShape, d = 0, S = 0, m = !0, f = i.tr * 1e-3 * i.finalSize;
|
|
13430
13430
|
if (g && !l && !i.sz) {
|
|
13431
13431
|
var T = this.textContainer, y = "start";
|
|
13432
13432
|
switch (i.j) {
|
|
@@ -13441,12 +13441,12 @@ function requireLottie() {
|
|
|
13441
13441
|
break;
|
|
13442
13442
|
}
|
|
13443
13443
|
T.setAttribute("text-anchor", y), T.setAttribute("letter-spacing", f);
|
|
13444
|
-
var
|
|
13445
|
-
for (t =
|
|
13446
|
-
c = this.textSpans[e].span || createNS("tspan"), c.textContent =
|
|
13444
|
+
var E = this.buildTextContents(i.finalText);
|
|
13445
|
+
for (t = E.length, S = i.ps ? i.ps[1] + i.ascent : 0, e = 0; e < t; e += 1)
|
|
13446
|
+
c = this.textSpans[e].span || createNS("tspan"), c.textContent = E[e], c.setAttribute("x", 0), c.setAttribute("y", S), c.style.display = "inherit", T.appendChild(c), this.textSpans[e] || (this.textSpans[e] = {
|
|
13447
13447
|
span: null,
|
|
13448
13448
|
glyph: null
|
|
13449
|
-
}), this.textSpans[e].span = c,
|
|
13449
|
+
}), this.textSpans[e].span = c, S += i.finalLineHeight;
|
|
13450
13450
|
this.layerElement.appendChild(T);
|
|
13451
13451
|
} else {
|
|
13452
13452
|
var x = this.textSpans.length, b;
|
|
@@ -13465,7 +13465,7 @@ function requireLottie() {
|
|
|
13465
13465
|
}
|
|
13466
13466
|
c.style.display = "inherit";
|
|
13467
13467
|
}
|
|
13468
|
-
if (u.reset(), g && (a[e].n && (d = -f,
|
|
13468
|
+
if (u.reset(), g && (a[e].n && (d = -f, S += i.yOffset, S += m ? 1 : 0, m = !1), this.applyTextPropertiesToMatrix(i, u, a[e].line, d, S), d += a[e].l || 0, d += f), l) {
|
|
13469
13469
|
b = this.globalData.fontManager.getCharData(i.finalText[e], s.fStyle, this.globalData.fontManager.getFontByName(i.f).fFamily);
|
|
13470
13470
|
var P;
|
|
13471
13471
|
if (b.t === 1)
|
|
@@ -13978,7 +13978,7 @@ function requireLottie() {
|
|
|
13978
13978
|
for (t = 0; t < i; t += 1)
|
|
13979
13979
|
e[t].closed = !0;
|
|
13980
13980
|
}, CVShapeElement.prototype.searchShapes = function(e, t, i, s, n) {
|
|
13981
|
-
var o, a = e.length - 1, l, c, u = [], p = [], g, d,
|
|
13981
|
+
var o, a = e.length - 1, l, c, u = [], p = [], g, d, S, m = [].concat(n);
|
|
13982
13982
|
for (o = a; o >= 0; o -= 1) {
|
|
13983
13983
|
if (g = this.searchProcessedElement(e[o]), g ? t[o] = i[g - 1] : e[o]._shouldRender = s, e[o].ty === "fl" || e[o].ty === "st" || e[o].ty === "gf" || e[o].ty === "gs")
|
|
13984
13984
|
g ? t[o].style.closed = !1 : t[o] = this.createStyleElement(e[o], m), u.push(t[o].style);
|
|
@@ -13989,7 +13989,7 @@ function requireLottie() {
|
|
|
13989
13989
|
for (c = t[o].it.length, l = 0; l < c; l += 1)
|
|
13990
13990
|
t[o].prevViewData[l] = t[o].it[l];
|
|
13991
13991
|
this.searchShapes(e[o].it, t[o].it, t[o].prevViewData, s, m);
|
|
13992
|
-
} else e[o].ty === "tr" ? (g || (
|
|
13992
|
+
} else e[o].ty === "tr" ? (g || (S = this.createTransformElement(e[o]), t[o] = S), m.push(t[o]), this.addTransformToStyleList(t[o])) : e[o].ty === "sh" || e[o].ty === "rc" || e[o].ty === "el" || e[o].ty === "sr" ? g || (t[o] = this.createShapeElement(e[o])) : e[o].ty === "tm" || e[o].ty === "rd" || e[o].ty === "pb" || e[o].ty === "zz" || e[o].ty === "op" ? (g ? (d = t[o], d.closed = !1) : (d = ShapeModifiers.getModifier(e[o].ty), d.init(this, e[o]), t[o] = d, this.shapeModifiers.push(d)), p.push(d)) : e[o].ty === "rp" && (g ? (d = t[o], d.closed = !0) : (d = ShapeModifiers.getModifier(e[o].ty), t[o] = d, d.init(this, e, o, t), this.shapeModifiers.push(d), s = !1), p.push(d));
|
|
13993
13993
|
this.addProcessedElement(e[o], o + 1);
|
|
13994
13994
|
}
|
|
13995
13995
|
for (this.removeTransformFromStyleList(), this.closeStyles(u), a = p.length, o = 0; o < a; o += 1)
|
|
@@ -14061,8 +14061,8 @@ function requireLottie() {
|
|
|
14061
14061
|
else {
|
|
14062
14062
|
var c = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), u = Math.atan2(l[1] - a[1], l[0] - a[0]), p = t.h.v;
|
|
14063
14063
|
p >= 1 ? p = 0.99 : p <= -1 && (p = -0.99);
|
|
14064
|
-
var g = c * p, d = Math.cos(u + t.a.v) * g + a[0],
|
|
14065
|
-
n = o.createRadialGradient(d,
|
|
14064
|
+
var g = c * p, d = Math.cos(u + t.a.v) * g + a[0], S = Math.sin(u + t.a.v) * g + a[1];
|
|
14065
|
+
n = o.createRadialGradient(d, S, 0, a[0], a[1], c);
|
|
14066
14066
|
}
|
|
14067
14067
|
var m, f = e.g.p, T = t.g.c, y = 1;
|
|
14068
14068
|
for (m = 0; m < f; m += 1)
|
|
@@ -14093,17 +14093,17 @@ function requireLottie() {
|
|
|
14093
14093
|
e.sc && (i = !0, this.values.stroke = this.buildColor(e.sc), this.values.sWidth = e.sw);
|
|
14094
14094
|
var s = this.globalData.fontManager.getFontByName(e.f), n, o, a = e.l, l = this.mHelper;
|
|
14095
14095
|
this.stroke = i, this.values.fValue = e.finalSize + "px " + this.globalData.fontManager.getFontByName(e.f).fFamily, o = e.finalText.length;
|
|
14096
|
-
var c, u, p, g, d,
|
|
14096
|
+
var c, u, p, g, d, S, m, f, T, y, E = this.data.singleShape, x = e.tr * 1e-3 * e.finalSize, b = 0, C = 0, P = !0, I = 0;
|
|
14097
14097
|
for (n = 0; n < o; n += 1) {
|
|
14098
|
-
c = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), u = c && c.data || {}, l.reset(),
|
|
14098
|
+
c = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), u = c && c.data || {}, l.reset(), E && a[n].n && (b = -x, C += e.yOffset, C += P ? 1 : 0, P = !1), d = u.shapes ? u.shapes[0].it : [], m = d.length, l.scale(e.finalSize / 100, e.finalSize / 100), E && this.applyTextPropertiesToMatrix(e, l, a[n].line, b, C), T = createSizedArray(m - 1);
|
|
14099
14099
|
var F = 0;
|
|
14100
|
-
for (
|
|
14101
|
-
if (d[
|
|
14102
|
-
for (g = d[
|
|
14100
|
+
for (S = 0; S < m; S += 1)
|
|
14101
|
+
if (d[S].ty === "sh") {
|
|
14102
|
+
for (g = d[S].ks.k.i.length, f = d[S].ks.k, y = [], p = 1; p < g; p += 1)
|
|
14103
14103
|
p === 1 && y.push(l.applyToX(f.v[0][0], f.v[0][1], 0), l.applyToY(f.v[0][0], f.v[0][1], 0)), y.push(l.applyToX(f.o[p - 1][0], f.o[p - 1][1], 0), l.applyToY(f.o[p - 1][0], f.o[p - 1][1], 0), l.applyToX(f.i[p][0], f.i[p][1], 0), l.applyToY(f.i[p][0], f.i[p][1], 0), l.applyToX(f.v[p][0], f.v[p][1], 0), l.applyToY(f.v[p][0], f.v[p][1], 0));
|
|
14104
14104
|
y.push(l.applyToX(f.o[p - 1][0], f.o[p - 1][1], 0), l.applyToY(f.o[p - 1][0], f.o[p - 1][1], 0), l.applyToX(f.i[0][0], f.i[0][1], 0), l.applyToY(f.i[0][0], f.i[0][1], 0), l.applyToX(f.v[0][0], f.v[0][1], 0), l.applyToY(f.v[0][0], f.v[0][1], 0)), T[F] = y, F += 1;
|
|
14105
14105
|
}
|
|
14106
|
-
|
|
14106
|
+
E && (b += a[n].l, b += x), this.textSpans[I] ? this.textSpans[I].elem = T : this.textSpans[I] = {
|
|
14107
14107
|
elem: T
|
|
14108
14108
|
}, I += 1;
|
|
14109
14109
|
}
|
|
@@ -14113,18 +14113,18 @@ function requireLottie() {
|
|
|
14113
14113
|
e.font = this.values.fValue, this.globalData.renderer.ctxLineCap("butt"), this.globalData.renderer.ctxLineJoin("miter"), this.globalData.renderer.ctxMiterLimit(4), this.data.singleShape || this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag);
|
|
14114
14114
|
var t, i, s, n, o, a, l = this.textAnimator.renderedLetters, c = this.textProperty.currentData.l;
|
|
14115
14115
|
i = c.length;
|
|
14116
|
-
var u, p = null, g = null, d = null,
|
|
14116
|
+
var u, p = null, g = null, d = null, S, m, f = this.globalData.renderer;
|
|
14117
14117
|
for (t = 0; t < i; t += 1)
|
|
14118
14118
|
if (!c[t].n) {
|
|
14119
14119
|
if (u = l[t], u && (f.save(), f.ctxTransform(u.p), f.ctxOpacity(u.o)), this.fill) {
|
|
14120
|
-
for (u && u.fc ? p !== u.fc && (f.ctxFillStyle(u.fc), p = u.fc) : p !== this.values.fill && (p = this.values.fill, f.ctxFillStyle(this.values.fill)),
|
|
14121
|
-
for (m =
|
|
14120
|
+
for (u && u.fc ? p !== u.fc && (f.ctxFillStyle(u.fc), p = u.fc) : p !== this.values.fill && (p = this.values.fill, f.ctxFillStyle(this.values.fill)), S = this.textSpans[t].elem, n = S.length, this.globalData.canvasContext.beginPath(), s = 0; s < n; s += 1)
|
|
14121
|
+
for (m = S[s], a = m.length, this.globalData.canvasContext.moveTo(m[0], m[1]), o = 2; o < a; o += 6)
|
|
14122
14122
|
this.globalData.canvasContext.bezierCurveTo(m[o], m[o + 1], m[o + 2], m[o + 3], m[o + 4], m[o + 5]);
|
|
14123
14123
|
this.globalData.canvasContext.closePath(), f.ctxFill();
|
|
14124
14124
|
}
|
|
14125
14125
|
if (this.stroke) {
|
|
14126
|
-
for (u && u.sw ? d !== u.sw && (d = u.sw, f.ctxLineWidth(u.sw)) : d !== this.values.sWidth && (d = this.values.sWidth, f.ctxLineWidth(this.values.sWidth)), u && u.sc ? g !== u.sc && (g = u.sc, f.ctxStrokeStyle(u.sc)) : g !== this.values.stroke && (g = this.values.stroke, f.ctxStrokeStyle(this.values.stroke)),
|
|
14127
|
-
for (m =
|
|
14126
|
+
for (u && u.sw ? d !== u.sw && (d = u.sw, f.ctxLineWidth(u.sw)) : d !== this.values.sWidth && (d = this.values.sWidth, f.ctxLineWidth(this.values.sWidth)), u && u.sc ? g !== u.sc && (g = u.sc, f.ctxStrokeStyle(u.sc)) : g !== this.values.stroke && (g = this.values.stroke, f.ctxStrokeStyle(this.values.stroke)), S = this.textSpans[t].elem, n = S.length, this.globalData.canvasContext.beginPath(), s = 0; s < n; s += 1)
|
|
14127
|
+
for (m = S[s], a = m.length, this.globalData.canvasContext.moveTo(m[0], m[1]), o = 2; o < a; o += 6)
|
|
14128
14128
|
this.globalData.canvasContext.bezierCurveTo(m[o], m[o + 1], m[o + 2], m[o + 3], m[o + 4], m[o + 5]);
|
|
14129
14129
|
this.globalData.canvasContext.closePath(), f.ctxStroke();
|
|
14130
14130
|
}
|
|
@@ -14525,19 +14525,19 @@ function requireLottie() {
|
|
|
14525
14525
|
}
|
|
14526
14526
|
var a, l, c = e.l;
|
|
14527
14527
|
l = c.length;
|
|
14528
|
-
var u, p, g, d = this.mHelper,
|
|
14528
|
+
var u, p, g, d = this.mHelper, S, m = "", f = 0;
|
|
14529
14529
|
for (a = 0; a < l; a += 1) {
|
|
14530
14530
|
if (this.globalData.fontManager.chars ? (this.textPaths[f] ? u = this.textPaths[f] : (u = createNS("path"), u.setAttribute("stroke-linecap", lineCapEnum[1]), u.setAttribute("stroke-linejoin", lineJoinEnum[2]), u.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[f] ? (p = this.textSpans[f], g = p.children[0]) : (p = createTag("div"), p.style.lineHeight = 0, g = createNS("svg"), g.appendChild(u), styleDiv(p)))) : this.isMasked ? u = this.textPaths[f] ? this.textPaths[f] : createNS("text") : this.textSpans[f] ? (p = this.textSpans[f], u = this.textPaths[f]) : (p = createTag("span"), styleDiv(p), u = createTag("span"), styleDiv(u), p.appendChild(u)), this.globalData.fontManager.chars) {
|
|
14531
14531
|
var T = this.globalData.fontManager.getCharData(e.finalText[a], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), y;
|
|
14532
|
-
if (T ? y = T.data : y = null, d.reset(), y && y.shapes && y.shapes.length && (
|
|
14532
|
+
if (T ? y = T.data : y = null, d.reset(), y && y.shapes && y.shapes.length && (S = y.shapes[0].it, d.scale(e.finalSize / 100, e.finalSize / 100), m = this.createPathShape(d, S), u.setAttribute("d", m)), this.isMasked)
|
|
14533
14533
|
this.innerElem.appendChild(u);
|
|
14534
14534
|
else {
|
|
14535
14535
|
if (this.innerElem.appendChild(p), y && y.shapes) {
|
|
14536
14536
|
document.body.appendChild(g);
|
|
14537
|
-
var
|
|
14538
|
-
g.setAttribute("width",
|
|
14539
|
-
var x = g.style, b = "translate(" + (
|
|
14540
|
-
x.transform = b, x.webkitTransform = b, c[a].yOffset =
|
|
14537
|
+
var E = g.getBBox();
|
|
14538
|
+
g.setAttribute("width", E.width + 2), g.setAttribute("height", E.height + 2), g.setAttribute("viewBox", E.x - 1 + " " + (E.y - 1) + " " + (E.width + 2) + " " + (E.height + 2));
|
|
14539
|
+
var x = g.style, b = "translate(" + (E.x - 1) + "px," + (E.y - 1) + "px)";
|
|
14540
|
+
x.transform = b, x.webkitTransform = b, c[a].yOffset = E.y - 1;
|
|
14541
14541
|
} else
|
|
14542
14542
|
g.setAttribute("width", 1), g.setAttribute("height", 1);
|
|
14543
14543
|
p.appendChild(g);
|
|
@@ -14626,12 +14626,12 @@ function requireLottie() {
|
|
|
14626
14626
|
var p = !this._prevMat.equals(this.mat);
|
|
14627
14627
|
if ((p || this.pe._mdf) && this.comp.threeDElements) {
|
|
14628
14628
|
i = this.comp.threeDElements.length;
|
|
14629
|
-
var g, d,
|
|
14629
|
+
var g, d, S;
|
|
14630
14630
|
for (t = 0; t < i; t += 1)
|
|
14631
14631
|
if (g = this.comp.threeDElements[t], g.type === "3d") {
|
|
14632
14632
|
if (p) {
|
|
14633
14633
|
var m = this.mat.toCSS();
|
|
14634
|
-
|
|
14634
|
+
S = g.container.style, S.transform = m, S.webkitTransform = m;
|
|
14635
14635
|
}
|
|
14636
14636
|
this.pe._mdf && (d = g.perspectiveElem.style, d.perspective = this.pe.v + "px", d.webkitPerspective = this.pe.v + "px");
|
|
14637
14637
|
}
|
|
@@ -14847,7 +14847,7 @@ function requireLottie() {
|
|
|
14847
14847
|
b = b === !0 ? {
|
|
14848
14848
|
entropy: !0
|
|
14849
14849
|
} : b || {};
|
|
14850
|
-
var I = T(f(b.entropy ? [x,
|
|
14850
|
+
var I = T(f(b.entropy ? [x, E(e)] : x === null ? y() : x, 3), P), F = new S(P), $ = function() {
|
|
14851
14851
|
for (var D = F.g(n), B = l, z = 0; D < c; )
|
|
14852
14852
|
D = (D + z) * s, B *= s, z = F.g(1);
|
|
14853
14853
|
for (; D >= u; )
|
|
@@ -14858,14 +14858,14 @@ function requireLottie() {
|
|
|
14858
14858
|
return F.g(4) | 0;
|
|
14859
14859
|
}, $.quick = function() {
|
|
14860
14860
|
return F.g(4) / 4294967296;
|
|
14861
|
-
}, $.double = $, T(
|
|
14861
|
+
}, $.double = $, T(E(F.S), e), (b.pass || C || function(A, D, B, z) {
|
|
14862
14862
|
return z && (z.S && m(z, F), A.state = function() {
|
|
14863
14863
|
return m(F, {});
|
|
14864
14864
|
}), B ? (t[a] = A, D) : A;
|
|
14865
14865
|
})($, I, "global" in b ? b.global : this == t, b.state);
|
|
14866
14866
|
}
|
|
14867
14867
|
t["seed" + a] = d;
|
|
14868
|
-
function
|
|
14868
|
+
function S(x) {
|
|
14869
14869
|
var b, C = x.length, P = this, I = 0, F = P.i = P.j = 0, $ = P.S = [];
|
|
14870
14870
|
for (C || (x = [C++]); I < s; )
|
|
14871
14871
|
$[I] = I++;
|
|
@@ -14893,18 +14893,18 @@ function requireLottie() {
|
|
|
14893
14893
|
function T(x, b) {
|
|
14894
14894
|
for (var C = x + "", P, I = 0; I < C.length; )
|
|
14895
14895
|
b[p & I] = p & (P ^= b[p & I] * 19) + C.charCodeAt(I++);
|
|
14896
|
-
return
|
|
14896
|
+
return E(b);
|
|
14897
14897
|
}
|
|
14898
14898
|
function y() {
|
|
14899
14899
|
try {
|
|
14900
14900
|
var x = new Uint8Array(s);
|
|
14901
|
-
return (i.crypto || i.msCrypto).getRandomValues(x),
|
|
14901
|
+
return (i.crypto || i.msCrypto).getRandomValues(x), E(x);
|
|
14902
14902
|
} catch {
|
|
14903
14903
|
var b = i.navigator, C = b && b.plugins;
|
|
14904
|
-
return [+/* @__PURE__ */ new Date(), i, C, i.screen,
|
|
14904
|
+
return [+/* @__PURE__ */ new Date(), i, C, i.screen, E(e)];
|
|
14905
14905
|
}
|
|
14906
14906
|
}
|
|
14907
|
-
function
|
|
14907
|
+
function E(x) {
|
|
14908
14908
|
return String.fromCharCode.apply(0, x);
|
|
14909
14909
|
}
|
|
14910
14910
|
T(t.random(), e);
|
|
@@ -15475,17 +15475,17 @@ function requireLottie() {
|
|
|
15475
15475
|
return function(u) {
|
|
15476
15476
|
var p;
|
|
15477
15477
|
function g(f) {
|
|
15478
|
-
|
|
15478
|
+
S.mask = new MaskManagerInterface(f, u);
|
|
15479
15479
|
}
|
|
15480
15480
|
function d(f) {
|
|
15481
|
-
|
|
15481
|
+
S.effect = f;
|
|
15482
15482
|
}
|
|
15483
|
-
function
|
|
15483
|
+
function S(f) {
|
|
15484
15484
|
switch (f) {
|
|
15485
15485
|
case "ADBE Root Vectors Group":
|
|
15486
15486
|
case "Contents":
|
|
15487
15487
|
case 2:
|
|
15488
|
-
return
|
|
15488
|
+
return S.shapeInterface;
|
|
15489
15489
|
case 1:
|
|
15490
15490
|
case 6:
|
|
15491
15491
|
case "Transform":
|
|
@@ -15496,16 +15496,16 @@ function requireLottie() {
|
|
|
15496
15496
|
case "ADBE Effect Parade":
|
|
15497
15497
|
case "effects":
|
|
15498
15498
|
case "Effects":
|
|
15499
|
-
return
|
|
15499
|
+
return S.effect;
|
|
15500
15500
|
case "ADBE Text Properties":
|
|
15501
|
-
return
|
|
15501
|
+
return S.textInterface;
|
|
15502
15502
|
default:
|
|
15503
15503
|
return null;
|
|
15504
15504
|
}
|
|
15505
15505
|
}
|
|
15506
|
-
|
|
15506
|
+
S.getMatrix = e, S.invertPoint = a, S.applyPoint = o, S.toWorld = i, S.toWorldVec = t, S.fromWorld = n, S.fromWorldVec = s, S.toComp = i, S.fromComp = l, S.sampleImage = c, S.sourceRectAtTime = u.sourceRectAtTime.bind(u), S._elem = u, p = TransformExpressionInterface(u.finalTransform.mProp);
|
|
15507
15507
|
var m = getDescriptor(p, "anchorPoint");
|
|
15508
|
-
return Object.defineProperties(
|
|
15508
|
+
return Object.defineProperties(S, {
|
|
15509
15509
|
hasParent: {
|
|
15510
15510
|
get: function() {
|
|
15511
15511
|
return u.hierarchy.length;
|
|
@@ -15532,7 +15532,7 @@ function requireLottie() {
|
|
|
15532
15532
|
return u.isInRange;
|
|
15533
15533
|
}
|
|
15534
15534
|
}
|
|
15535
|
-
}),
|
|
15535
|
+
}), S.startTime = u.data.st, S.index = u.data.ind, S.source = u.data.refId, S.height = u.data.ty === 0 ? u.data.h : 100, S.width = u.data.ty === 0 ? u.data.w : 100, S.inPoint = u.data.ip / u.comp.globalData.frameRate, S.outPoint = u.data.op / u.comp.globalData.frameRate, S._name = u.data.nm, S.registerMaskInterface = g, S.registerEffectsInterface = d, S;
|
|
15536
15536
|
};
|
|
15537
15537
|
}(), propertyGroupFactory = /* @__PURE__ */ function() {
|
|
15538
15538
|
return function(e, t) {
|
|
@@ -15559,9 +15559,9 @@ function requireLottie() {
|
|
|
15559
15559
|
var a = [], l = n.data.ef, c, u = n.effectsManager.effectElements.length;
|
|
15560
15560
|
for (c = 0; c < u; c += 1)
|
|
15561
15561
|
a.push(i(l[c], n.effectsManager.effectElements[c], o, n));
|
|
15562
|
-
var p = n.data.ef || [], g = function(
|
|
15562
|
+
var p = n.data.ef || [], g = function(S) {
|
|
15563
15563
|
for (c = 0, u = p.length; c < u; ) {
|
|
15564
|
-
if (
|
|
15564
|
+
if (S === p[c].nm || S === p[c].mn || S === p[c].ix)
|
|
15565
15565
|
return a[c];
|
|
15566
15566
|
c += 1;
|
|
15567
15567
|
}
|
|
@@ -15576,9 +15576,9 @@ function requireLottie() {
|
|
|
15576
15576
|
return null;
|
|
15577
15577
|
}
|
|
15578
15578
|
function i(n, o, a, l) {
|
|
15579
|
-
function c(
|
|
15579
|
+
function c(S) {
|
|
15580
15580
|
for (var m = n.ef, f = 0, T = m.length; f < T; ) {
|
|
15581
|
-
if (
|
|
15581
|
+
if (S === m[f].nm || S === m[f].mn || S === m[f].ix)
|
|
15582
15582
|
return m[f].ty === 5 ? p[f] : p[f]();
|
|
15583
15583
|
f += 1;
|
|
15584
15584
|
}
|
|
@@ -15650,13 +15650,13 @@ function requireLottie() {
|
|
|
15650
15650
|
};
|
|
15651
15651
|
}(), ShapeExpressionInterface = /* @__PURE__ */ function() {
|
|
15652
15652
|
function e(m, f, T) {
|
|
15653
|
-
var y = [],
|
|
15654
|
-
for (
|
|
15655
|
-
m[
|
|
15653
|
+
var y = [], E, x = m ? m.length : 0;
|
|
15654
|
+
for (E = 0; E < x; E += 1)
|
|
15655
|
+
m[E].ty === "gr" ? y.push(i(m[E], f[E], T)) : m[E].ty === "fl" ? y.push(s(m[E], f[E], T)) : m[E].ty === "st" ? y.push(a(m[E], f[E], T)) : m[E].ty === "tm" ? y.push(l(m[E], f[E], T)) : m[E].ty === "tr" || (m[E].ty === "el" ? y.push(u(m[E], f[E], T)) : m[E].ty === "sr" ? y.push(p(m[E], f[E], T)) : m[E].ty === "sh" ? y.push(ShapePathInterface(m[E], f[E], T)) : m[E].ty === "rc" ? y.push(g(m[E], f[E], T)) : m[E].ty === "rd" ? y.push(d(m[E], f[E], T)) : m[E].ty === "rp" ? y.push(S(m[E], f[E], T)) : m[E].ty === "gf" ? y.push(n(m[E], f[E], T)) : y.push(o(m[E], f[E])));
|
|
15656
15656
|
return y;
|
|
15657
15657
|
}
|
|
15658
15658
|
function t(m, f, T) {
|
|
15659
|
-
var y,
|
|
15659
|
+
var y, E = function(C) {
|
|
15660
15660
|
for (var P = 0, I = y.length; P < I; ) {
|
|
15661
15661
|
if (y[P]._name === C || y[P].mn === C || y[P].propertyIndex === C || y[P].ix === C || y[P].ind === C)
|
|
15662
15662
|
return y[P];
|
|
@@ -15664,9 +15664,9 @@ function requireLottie() {
|
|
|
15664
15664
|
}
|
|
15665
15665
|
return typeof C == "number" ? y[C - 1] : null;
|
|
15666
15666
|
};
|
|
15667
|
-
|
|
15668
|
-
var x = c(m.it[m.it.length - 1], f.it[f.it.length - 1],
|
|
15669
|
-
return
|
|
15667
|
+
E.propertyGroup = propertyGroupFactory(E, T), y = e(m.it, f.it, E.propertyGroup), E.numProperties = y.length;
|
|
15668
|
+
var x = c(m.it[m.it.length - 1], f.it[f.it.length - 1], E.propertyGroup);
|
|
15669
|
+
return E.transform = x, E.propertyIndex = m.cix, E._name = m.nm, E;
|
|
15670
15670
|
}
|
|
15671
15671
|
function i(m, f, T) {
|
|
15672
15672
|
var y = function(C) {
|
|
@@ -15683,16 +15683,16 @@ function requireLottie() {
|
|
|
15683
15683
|
}
|
|
15684
15684
|
};
|
|
15685
15685
|
y.propertyGroup = propertyGroupFactory(y, T);
|
|
15686
|
-
var
|
|
15687
|
-
return y.content =
|
|
15686
|
+
var E = t(m, f, y.propertyGroup), x = c(m.it[m.it.length - 1], f.it[f.it.length - 1], y.propertyGroup);
|
|
15687
|
+
return y.content = E, y.transform = x, Object.defineProperty(y, "_name", {
|
|
15688
15688
|
get: function() {
|
|
15689
15689
|
return m.nm;
|
|
15690
15690
|
}
|
|
15691
15691
|
}), y.numProperties = m.np, y.propertyIndex = m.ix, y.nm = m.nm, y.mn = m.mn, y;
|
|
15692
15692
|
}
|
|
15693
15693
|
function s(m, f, T) {
|
|
15694
|
-
function y(
|
|
15695
|
-
return
|
|
15694
|
+
function y(E) {
|
|
15695
|
+
return E === "Color" || E === "color" ? y.color : E === "Opacity" || E === "opacity" ? y.opacity : null;
|
|
15696
15696
|
}
|
|
15697
15697
|
return Object.defineProperties(y, {
|
|
15698
15698
|
color: {
|
|
@@ -15710,8 +15710,8 @@ function requireLottie() {
|
|
|
15710
15710
|
}), f.c.setGroupProperty(PropertyInterface("Color", T)), f.o.setGroupProperty(PropertyInterface("Opacity", T)), y;
|
|
15711
15711
|
}
|
|
15712
15712
|
function n(m, f, T) {
|
|
15713
|
-
function y(
|
|
15714
|
-
return
|
|
15713
|
+
function y(E) {
|
|
15714
|
+
return E === "Start Point" || E === "start point" ? y.startPoint : E === "End Point" || E === "end point" ? y.endPoint : E === "Opacity" || E === "opacity" ? y.opacity : null;
|
|
15715
15715
|
}
|
|
15716
15716
|
return Object.defineProperties(y, {
|
|
15717
15717
|
startPoint: {
|
|
@@ -15743,7 +15743,7 @@ function requireLottie() {
|
|
|
15743
15743
|
return m;
|
|
15744
15744
|
}
|
|
15745
15745
|
function a(m, f, T) {
|
|
15746
|
-
var y = propertyGroupFactory(I, T),
|
|
15746
|
+
var y = propertyGroupFactory(I, T), E = propertyGroupFactory(P, y);
|
|
15747
15747
|
function x(F) {
|
|
15748
15748
|
Object.defineProperty(P, m.d[F].nm, {
|
|
15749
15749
|
get: ExpressionPropertyInterface(f.d.dataProps[F].p)
|
|
@@ -15751,7 +15751,7 @@ function requireLottie() {
|
|
|
15751
15751
|
}
|
|
15752
15752
|
var b, C = m.d ? m.d.length : 0, P = {};
|
|
15753
15753
|
for (b = 0; b < C; b += 1)
|
|
15754
|
-
x(b), f.d.dataProps[b].p.setGroupProperty(
|
|
15754
|
+
x(b), f.d.dataProps[b].p.setGroupProperty(E);
|
|
15755
15755
|
function I(F) {
|
|
15756
15756
|
return F === "Color" || F === "color" ? I.color : F === "Opacity" || F === "opacity" ? I.opacity : F === "Stroke Width" || F === "stroke width" ? I.strokeWidth : null;
|
|
15757
15757
|
}
|
|
@@ -15782,8 +15782,8 @@ function requireLottie() {
|
|
|
15782
15782
|
function y(x) {
|
|
15783
15783
|
return x === m.e.ix || x === "End" || x === "end" ? y.end : x === m.s.ix ? y.start : x === m.o.ix ? y.offset : null;
|
|
15784
15784
|
}
|
|
15785
|
-
var
|
|
15786
|
-
return y.propertyIndex = m.ix, f.s.setGroupProperty(PropertyInterface("Start",
|
|
15785
|
+
var E = propertyGroupFactory(y, T);
|
|
15786
|
+
return y.propertyIndex = m.ix, f.s.setGroupProperty(PropertyInterface("Start", E)), f.e.setGroupProperty(PropertyInterface("End", E)), f.o.setGroupProperty(PropertyInterface("Offset", E)), y.propertyIndex = m.ix, y.propertyGroup = T, Object.defineProperties(y, {
|
|
15787
15787
|
start: {
|
|
15788
15788
|
get: ExpressionPropertyInterface(f.s)
|
|
15789
15789
|
},
|
|
@@ -15802,8 +15802,8 @@ function requireLottie() {
|
|
|
15802
15802
|
function y(x) {
|
|
15803
15803
|
return m.a.ix === x || x === "Anchor Point" ? y.anchorPoint : m.o.ix === x || x === "Opacity" ? y.opacity : m.p.ix === x || x === "Position" ? y.position : m.r.ix === x || x === "Rotation" || x === "ADBE Vector Rotation" ? y.rotation : m.s.ix === x || x === "Scale" ? y.scale : m.sk && m.sk.ix === x || x === "Skew" ? y.skew : m.sa && m.sa.ix === x || x === "Skew Axis" ? y.skewAxis : null;
|
|
15804
15804
|
}
|
|
15805
|
-
var
|
|
15806
|
-
return f.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",
|
|
15805
|
+
var E = propertyGroupFactory(y, T);
|
|
15806
|
+
return f.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", E)), f.transform.mProps.p.setGroupProperty(PropertyInterface("Position", E)), f.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", E)), f.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", E)), f.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", E)), f.transform.mProps.sk && (f.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", E)), f.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", E))), f.transform.op.setGroupProperty(PropertyInterface("Opacity", E)), Object.defineProperties(y, {
|
|
15807
15807
|
opacity: {
|
|
15808
15808
|
get: ExpressionPropertyInterface(f.transform.mProps.o)
|
|
15809
15809
|
},
|
|
@@ -15834,10 +15834,10 @@ function requireLottie() {
|
|
|
15834
15834
|
function y(b) {
|
|
15835
15835
|
return m.p.ix === b ? y.position : m.s.ix === b ? y.size : null;
|
|
15836
15836
|
}
|
|
15837
|
-
var
|
|
15837
|
+
var E = propertyGroupFactory(y, T);
|
|
15838
15838
|
y.propertyIndex = m.ix;
|
|
15839
15839
|
var x = f.sh.ty === "tm" ? f.sh.prop : f.sh;
|
|
15840
|
-
return x.s.setGroupProperty(PropertyInterface("Size",
|
|
15840
|
+
return x.s.setGroupProperty(PropertyInterface("Size", E)), x.p.setGroupProperty(PropertyInterface("Position", E)), Object.defineProperties(y, {
|
|
15841
15841
|
size: {
|
|
15842
15842
|
get: ExpressionPropertyInterface(x.s)
|
|
15843
15843
|
},
|
|
@@ -15853,8 +15853,8 @@ function requireLottie() {
|
|
|
15853
15853
|
function y(b) {
|
|
15854
15854
|
return m.p.ix === b ? y.position : m.r.ix === b ? y.rotation : m.pt.ix === b ? y.points : m.or.ix === b || b === "ADBE Vector Star Outer Radius" ? y.outerRadius : m.os.ix === b ? y.outerRoundness : m.ir && (m.ir.ix === b || b === "ADBE Vector Star Inner Radius") ? y.innerRadius : m.is && m.is.ix === b ? y.innerRoundness : null;
|
|
15855
15855
|
}
|
|
15856
|
-
var
|
|
15857
|
-
return y.propertyIndex = m.ix, x.or.setGroupProperty(PropertyInterface("Outer Radius",
|
|
15856
|
+
var E = propertyGroupFactory(y, T), x = f.sh.ty === "tm" ? f.sh.prop : f.sh;
|
|
15857
|
+
return y.propertyIndex = m.ix, x.or.setGroupProperty(PropertyInterface("Outer Radius", E)), x.os.setGroupProperty(PropertyInterface("Outer Roundness", E)), x.pt.setGroupProperty(PropertyInterface("Points", E)), x.p.setGroupProperty(PropertyInterface("Position", E)), x.r.setGroupProperty(PropertyInterface("Rotation", E)), m.ir && (x.ir.setGroupProperty(PropertyInterface("Inner Radius", E)), x.is.setGroupProperty(PropertyInterface("Inner Roundness", E))), Object.defineProperties(y, {
|
|
15858
15858
|
position: {
|
|
15859
15859
|
get: ExpressionPropertyInterface(x.p)
|
|
15860
15860
|
},
|
|
@@ -15885,8 +15885,8 @@ function requireLottie() {
|
|
|
15885
15885
|
function y(b) {
|
|
15886
15886
|
return m.p.ix === b ? y.position : m.r.ix === b ? y.roundness : m.s.ix === b || b === "Size" || b === "ADBE Vector Rect Size" ? y.size : null;
|
|
15887
15887
|
}
|
|
15888
|
-
var
|
|
15889
|
-
return y.propertyIndex = m.ix, x.p.setGroupProperty(PropertyInterface("Position",
|
|
15888
|
+
var E = propertyGroupFactory(y, T), x = f.sh.ty === "tm" ? f.sh.prop : f.sh;
|
|
15889
|
+
return y.propertyIndex = m.ix, x.p.setGroupProperty(PropertyInterface("Position", E)), x.s.setGroupProperty(PropertyInterface("Size", E)), x.r.setGroupProperty(PropertyInterface("Rotation", E)), Object.defineProperties(y, {
|
|
15890
15890
|
position: {
|
|
15891
15891
|
get: ExpressionPropertyInterface(x.p)
|
|
15892
15892
|
},
|
|
@@ -15905,8 +15905,8 @@ function requireLottie() {
|
|
|
15905
15905
|
function y(b) {
|
|
15906
15906
|
return m.r.ix === b || b === "Round Corners 1" ? y.radius : null;
|
|
15907
15907
|
}
|
|
15908
|
-
var
|
|
15909
|
-
return y.propertyIndex = m.ix, x.rd.setGroupProperty(PropertyInterface("Radius",
|
|
15908
|
+
var E = propertyGroupFactory(y, T), x = f;
|
|
15909
|
+
return y.propertyIndex = m.ix, x.rd.setGroupProperty(PropertyInterface("Radius", E)), Object.defineProperties(y, {
|
|
15910
15910
|
radius: {
|
|
15911
15911
|
get: ExpressionPropertyInterface(x.rd)
|
|
15912
15912
|
},
|
|
@@ -15915,12 +15915,12 @@ function requireLottie() {
|
|
|
15915
15915
|
}
|
|
15916
15916
|
}), y.mn = m.mn, y;
|
|
15917
15917
|
}
|
|
15918
|
-
function
|
|
15918
|
+
function S(m, f, T) {
|
|
15919
15919
|
function y(b) {
|
|
15920
15920
|
return m.c.ix === b || b === "Copies" ? y.copies : m.o.ix === b || b === "Offset" ? y.offset : null;
|
|
15921
15921
|
}
|
|
15922
|
-
var
|
|
15923
|
-
return y.propertyIndex = m.ix, x.c.setGroupProperty(PropertyInterface("Copies",
|
|
15922
|
+
var E = propertyGroupFactory(y, T), x = f;
|
|
15923
|
+
return y.propertyIndex = m.ix, x.c.setGroupProperty(PropertyInterface("Copies", E)), x.o.setGroupProperty(PropertyInterface("Offset", E)), Object.defineProperties(y, {
|
|
15924
15924
|
copies: {
|
|
15925
15925
|
get: ExpressionPropertyInterface(x.c)
|
|
15926
15926
|
},
|
|
@@ -15934,7 +15934,7 @@ function requireLottie() {
|
|
|
15934
15934
|
}
|
|
15935
15935
|
return function(m, f, T) {
|
|
15936
15936
|
var y;
|
|
15937
|
-
function
|
|
15937
|
+
function E(b) {
|
|
15938
15938
|
if (typeof b == "number")
|
|
15939
15939
|
return b = b === void 0 ? 1 : b, b === 0 ? T : y[b - 1];
|
|
15940
15940
|
for (var C = 0, P = y.length; C < P; ) {
|
|
@@ -15947,7 +15947,7 @@ function requireLottie() {
|
|
|
15947
15947
|
function x() {
|
|
15948
15948
|
return T;
|
|
15949
15949
|
}
|
|
15950
|
-
return
|
|
15950
|
+
return E.propertyGroup = propertyGroupFactory(E, x), y = e(m, f, E.propertyGroup), E.numProperties = y.length, E._name = "Contents", E;
|
|
15951
15951
|
};
|
|
15952
15952
|
}(), TextExpressionInterface = /* @__PURE__ */ function() {
|
|
15953
15953
|
return function(e) {
|
|
@@ -16070,22 +16070,22 @@ function requireLottie() {
|
|
|
16070
16070
|
};
|
|
16071
16071
|
}();
|
|
16072
16072
|
function addPropertyDecorator() {
|
|
16073
|
-
function e(d,
|
|
16073
|
+
function e(d, S, m) {
|
|
16074
16074
|
if (!this.k || !this.keyframes)
|
|
16075
16075
|
return this.pv;
|
|
16076
16076
|
d = d ? d.toLowerCase() : "";
|
|
16077
16077
|
var f = this.comp.renderedFrame, T = this.keyframes, y = T[T.length - 1].t;
|
|
16078
16078
|
if (f <= y)
|
|
16079
16079
|
return this.pv;
|
|
16080
|
-
var
|
|
16081
|
-
m ? (
|
|
16080
|
+
var E, x;
|
|
16081
|
+
m ? (S ? E = Math.abs(y - this.elem.comp.globalData.frameRate * S) : E = Math.max(0, y - this.elem.data.ip), x = y - E) : ((!S || S > T.length - 1) && (S = T.length - 1), x = T[T.length - 1 - S].t, E = y - x);
|
|
16082
16082
|
var b, C, P;
|
|
16083
16083
|
if (d === "pingpong") {
|
|
16084
|
-
var I = Math.floor((f - x) /
|
|
16084
|
+
var I = Math.floor((f - x) / E);
|
|
16085
16085
|
if (I % 2 !== 0)
|
|
16086
|
-
return this.getValueAtTime((
|
|
16086
|
+
return this.getValueAtTime((E - (f - x) % E + x) / this.comp.globalData.frameRate, 0);
|
|
16087
16087
|
} else if (d === "offset") {
|
|
16088
|
-
var F = this.getValueAtTime(x / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), A = this.getValueAtTime(((f - x) %
|
|
16088
|
+
var F = this.getValueAtTime(x / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), A = this.getValueAtTime(((f - x) % E + x) / this.comp.globalData.frameRate, 0), D = Math.floor((f - x) / E);
|
|
16089
16089
|
if (this.pv.length) {
|
|
16090
16090
|
for (P = new Array(F.length), C = P.length, b = 0; b < C; b += 1)
|
|
16091
16091
|
P[b] = ($[b] - F[b]) * D + A[b];
|
|
@@ -16101,24 +16101,24 @@ function requireLottie() {
|
|
|
16101
16101
|
}
|
|
16102
16102
|
return B + (B - z) * ((f - y) / 1e-3);
|
|
16103
16103
|
}
|
|
16104
|
-
return this.getValueAtTime(((f - x) %
|
|
16104
|
+
return this.getValueAtTime(((f - x) % E + x) / this.comp.globalData.frameRate, 0);
|
|
16105
16105
|
}
|
|
16106
|
-
function t(d,
|
|
16106
|
+
function t(d, S, m) {
|
|
16107
16107
|
if (!this.k)
|
|
16108
16108
|
return this.pv;
|
|
16109
16109
|
d = d ? d.toLowerCase() : "";
|
|
16110
16110
|
var f = this.comp.renderedFrame, T = this.keyframes, y = T[0].t;
|
|
16111
16111
|
if (f >= y)
|
|
16112
16112
|
return this.pv;
|
|
16113
|
-
var
|
|
16114
|
-
m ? (
|
|
16113
|
+
var E, x;
|
|
16114
|
+
m ? (S ? E = Math.abs(this.elem.comp.globalData.frameRate * S) : E = Math.max(0, this.elem.data.op - y), x = y + E) : ((!S || S > T.length - 1) && (S = T.length - 1), x = T[S].t, E = x - y);
|
|
16115
16115
|
var b, C, P;
|
|
16116
16116
|
if (d === "pingpong") {
|
|
16117
|
-
var I = Math.floor((y - f) /
|
|
16117
|
+
var I = Math.floor((y - f) / E);
|
|
16118
16118
|
if (I % 2 === 0)
|
|
16119
|
-
return this.getValueAtTime(((y - f) %
|
|
16119
|
+
return this.getValueAtTime(((y - f) % E + y) / this.comp.globalData.frameRate, 0);
|
|
16120
16120
|
} else if (d === "offset") {
|
|
16121
|
-
var F = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime(x / this.comp.globalData.frameRate, 0), A = this.getValueAtTime((
|
|
16121
|
+
var F = this.getValueAtTime(y / this.comp.globalData.frameRate, 0), $ = this.getValueAtTime(x / this.comp.globalData.frameRate, 0), A = this.getValueAtTime((E - (y - f) % E + y) / this.comp.globalData.frameRate, 0), D = Math.floor((y - f) / E) + 1;
|
|
16122
16122
|
if (this.pv.length) {
|
|
16123
16123
|
for (P = new Array(F.length), C = P.length, b = 0; b < C; b += 1)
|
|
16124
16124
|
P[b] = A[b] - ($[b] - F[b]) * D;
|
|
@@ -16134,85 +16134,85 @@ function requireLottie() {
|
|
|
16134
16134
|
}
|
|
16135
16135
|
return B + (B - z) * (y - f) / 1e-3;
|
|
16136
16136
|
}
|
|
16137
|
-
return this.getValueAtTime((
|
|
16137
|
+
return this.getValueAtTime((E - ((y - f) % E + y)) / this.comp.globalData.frameRate, 0);
|
|
16138
16138
|
}
|
|
16139
|
-
function i(d,
|
|
16139
|
+
function i(d, S) {
|
|
16140
16140
|
if (!this.k)
|
|
16141
16141
|
return this.pv;
|
|
16142
|
-
if (d = (d || 0.4) * 0.5,
|
|
16142
|
+
if (d = (d || 0.4) * 0.5, S = Math.floor(S || 5), S <= 1)
|
|
16143
16143
|
return this.pv;
|
|
16144
|
-
var m = this.comp.renderedFrame / this.comp.globalData.frameRate, f = m - d, T = m + d, y =
|
|
16144
|
+
var m = this.comp.renderedFrame / this.comp.globalData.frameRate, f = m - d, T = m + d, y = S > 1 ? (T - f) / (S - 1) : 1, E = 0, x = 0, b;
|
|
16145
16145
|
this.pv.length ? b = createTypedArray("float32", this.pv.length) : b = 0;
|
|
16146
|
-
for (var C;
|
|
16147
|
-
if (C = this.getValueAtTime(f +
|
|
16146
|
+
for (var C; E < S; ) {
|
|
16147
|
+
if (C = this.getValueAtTime(f + E * y), this.pv.length)
|
|
16148
16148
|
for (x = 0; x < this.pv.length; x += 1)
|
|
16149
16149
|
b[x] += C[x];
|
|
16150
16150
|
else
|
|
16151
16151
|
b += C;
|
|
16152
|
-
|
|
16152
|
+
E += 1;
|
|
16153
16153
|
}
|
|
16154
16154
|
if (this.pv.length)
|
|
16155
16155
|
for (x = 0; x < this.pv.length; x += 1)
|
|
16156
|
-
b[x] /=
|
|
16156
|
+
b[x] /= S;
|
|
16157
16157
|
else
|
|
16158
|
-
b /=
|
|
16158
|
+
b /= S;
|
|
16159
16159
|
return b;
|
|
16160
16160
|
}
|
|
16161
16161
|
function s(d) {
|
|
16162
16162
|
this._transformCachingAtTime || (this._transformCachingAtTime = {
|
|
16163
16163
|
v: new Matrix()
|
|
16164
16164
|
});
|
|
16165
|
-
var
|
|
16166
|
-
if (
|
|
16165
|
+
var S = this._transformCachingAtTime.v;
|
|
16166
|
+
if (S.cloneFromProps(this.pre.props), this.appliedTransformations < 1) {
|
|
16167
16167
|
var m = this.a.getValueAtTime(d);
|
|
16168
|
-
|
|
16168
|
+
S.translate(-m[0] * this.a.mult, -m[1] * this.a.mult, m[2] * this.a.mult);
|
|
16169
16169
|
}
|
|
16170
16170
|
if (this.appliedTransformations < 2) {
|
|
16171
16171
|
var f = this.s.getValueAtTime(d);
|
|
16172
|
-
|
|
16172
|
+
S.scale(f[0] * this.s.mult, f[1] * this.s.mult, f[2] * this.s.mult);
|
|
16173
16173
|
}
|
|
16174
16174
|
if (this.sk && this.appliedTransformations < 3) {
|
|
16175
16175
|
var T = this.sk.getValueAtTime(d), y = this.sa.getValueAtTime(d);
|
|
16176
|
-
|
|
16176
|
+
S.skewFromAxis(-T * this.sk.mult, y * this.sa.mult);
|
|
16177
16177
|
}
|
|
16178
16178
|
if (this.r && this.appliedTransformations < 4) {
|
|
16179
|
-
var
|
|
16180
|
-
|
|
16179
|
+
var E = this.r.getValueAtTime(d);
|
|
16180
|
+
S.rotate(-E * this.r.mult);
|
|
16181
16181
|
} else if (!this.r && this.appliedTransformations < 4) {
|
|
16182
16182
|
var x = this.rz.getValueAtTime(d), b = this.ry.getValueAtTime(d), C = this.rx.getValueAtTime(d), P = this.or.getValueAtTime(d);
|
|
16183
|
-
|
|
16183
|
+
S.rotateZ(-x * this.rz.mult).rotateY(b * this.ry.mult).rotateX(C * this.rx.mult).rotateZ(-P[2] * this.or.mult).rotateY(P[1] * this.or.mult).rotateX(P[0] * this.or.mult);
|
|
16184
16184
|
}
|
|
16185
16185
|
if (this.data.p && this.data.p.s) {
|
|
16186
16186
|
var I = this.px.getValueAtTime(d), F = this.py.getValueAtTime(d);
|
|
16187
16187
|
if (this.data.p.z) {
|
|
16188
16188
|
var $ = this.pz.getValueAtTime(d);
|
|
16189
|
-
|
|
16189
|
+
S.translate(I * this.px.mult, F * this.py.mult, -$ * this.pz.mult);
|
|
16190
16190
|
} else
|
|
16191
|
-
|
|
16191
|
+
S.translate(I * this.px.mult, F * this.py.mult, 0);
|
|
16192
16192
|
} else {
|
|
16193
16193
|
var A = this.p.getValueAtTime(d);
|
|
16194
|
-
|
|
16194
|
+
S.translate(A[0] * this.p.mult, A[1] * this.p.mult, -A[2] * this.p.mult);
|
|
16195
16195
|
}
|
|
16196
|
-
return
|
|
16196
|
+
return S;
|
|
16197
16197
|
}
|
|
16198
16198
|
function n() {
|
|
16199
16199
|
return this.v.clone(new Matrix());
|
|
16200
16200
|
}
|
|
16201
16201
|
var o = TransformPropertyFactory.getTransformProperty;
|
|
16202
|
-
TransformPropertyFactory.getTransformProperty = function(d,
|
|
16203
|
-
var f = o(d,
|
|
16202
|
+
TransformPropertyFactory.getTransformProperty = function(d, S, m) {
|
|
16203
|
+
var f = o(d, S, m);
|
|
16204
16204
|
return f.dynamicProperties.length ? f.getValueAtTime = s.bind(f) : f.getValueAtTime = n.bind(f), f.setGroupProperty = expressionHelpers.setGroupProperty, f;
|
|
16205
16205
|
};
|
|
16206
16206
|
var a = PropertyFactory.getProp;
|
|
16207
|
-
PropertyFactory.getProp = function(d,
|
|
16208
|
-
var y = a(d,
|
|
16209
|
-
y.kf ? y.getValueAtTime = expressionHelpers.getValueAtTime.bind(y) : y.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(y), y.setGroupProperty = expressionHelpers.setGroupProperty, y.loopOut = e, y.loopIn = t, y.smooth = i, y.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(y), y.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(y), y.numKeys =
|
|
16210
|
-
var
|
|
16211
|
-
return m !== 0 && (
|
|
16207
|
+
PropertyFactory.getProp = function(d, S, m, f, T) {
|
|
16208
|
+
var y = a(d, S, m, f, T);
|
|
16209
|
+
y.kf ? y.getValueAtTime = expressionHelpers.getValueAtTime.bind(y) : y.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(y), y.setGroupProperty = expressionHelpers.setGroupProperty, y.loopOut = e, y.loopIn = t, y.smooth = i, y.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(y), y.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(y), y.numKeys = S.a === 1 ? S.k.length : 0, y.propertyIndex = S.ix;
|
|
16210
|
+
var E = 0;
|
|
16211
|
+
return m !== 0 && (E = createTypedArray("float32", S.a === 1 ? S.k[0].s.length : S.k.length)), y._cachingAtTime = {
|
|
16212
16212
|
lastFrame: initialDefaultFrame,
|
|
16213
16213
|
lastIndex: 0,
|
|
16214
|
-
value:
|
|
16215
|
-
}, expressionHelpers.searchExpressions(d,
|
|
16214
|
+
value: E
|
|
16215
|
+
}, expressionHelpers.searchExpressions(d, S, y), y.k && T.addDynamicProperty(y), y;
|
|
16216
16216
|
};
|
|
16217
16217
|
function l(d) {
|
|
16218
16218
|
return this._cachingAtTime || (this._cachingAtTime = {
|
|
@@ -16225,33 +16225,33 @@ function requireLottie() {
|
|
|
16225
16225
|
function p() {
|
|
16226
16226
|
}
|
|
16227
16227
|
p.prototype = {
|
|
16228
|
-
vertices: function(
|
|
16228
|
+
vertices: function(S, m) {
|
|
16229
16229
|
this.k && this.getValue();
|
|
16230
16230
|
var f = this.v;
|
|
16231
16231
|
m !== void 0 && (f = this.getValueAtTime(m, 0));
|
|
16232
|
-
var T, y = f._length,
|
|
16232
|
+
var T, y = f._length, E = f[S], x = f.v, b = createSizedArray(y);
|
|
16233
16233
|
for (T = 0; T < y; T += 1)
|
|
16234
|
-
|
|
16234
|
+
S === "i" || S === "o" ? b[T] = [E[T][0] - x[T][0], E[T][1] - x[T][1]] : b[T] = [E[T][0], E[T][1]];
|
|
16235
16235
|
return b;
|
|
16236
16236
|
},
|
|
16237
|
-
points: function(
|
|
16238
|
-
return this.vertices("v",
|
|
16237
|
+
points: function(S) {
|
|
16238
|
+
return this.vertices("v", S);
|
|
16239
16239
|
},
|
|
16240
|
-
inTangents: function(
|
|
16241
|
-
return this.vertices("i",
|
|
16240
|
+
inTangents: function(S) {
|
|
16241
|
+
return this.vertices("i", S);
|
|
16242
16242
|
},
|
|
16243
|
-
outTangents: function(
|
|
16244
|
-
return this.vertices("o",
|
|
16243
|
+
outTangents: function(S) {
|
|
16244
|
+
return this.vertices("o", S);
|
|
16245
16245
|
},
|
|
16246
16246
|
isClosed: function() {
|
|
16247
16247
|
return this.v.c;
|
|
16248
16248
|
},
|
|
16249
|
-
pointOnPath: function(
|
|
16249
|
+
pointOnPath: function(S, m) {
|
|
16250
16250
|
var f = this.v;
|
|
16251
16251
|
m !== void 0 && (f = this.getValueAtTime(m, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(f));
|
|
16252
|
-
for (var T = this._segmentsLength, y = T.lengths,
|
|
16253
|
-
if (C + y[x].addedLength >
|
|
16254
|
-
var I = x, F = f.c && x === b - 1 ? 0 : x + 1, $ = (
|
|
16252
|
+
for (var T = this._segmentsLength, y = T.lengths, E = T.totalLength * S, x = 0, b = y.length, C = 0, P; x < b; ) {
|
|
16253
|
+
if (C + y[x].addedLength > E) {
|
|
16254
|
+
var I = x, F = f.c && x === b - 1 ? 0 : x + 1, $ = (E - C) / y[x].addedLength;
|
|
16255
16255
|
P = bez.getPointInSegment(f.v[I], f.v[F], f.o[I], f.i[F], $, y[x]);
|
|
16256
16256
|
break;
|
|
16257
16257
|
} else
|
|
@@ -16260,27 +16260,27 @@ function requireLottie() {
|
|
|
16260
16260
|
}
|
|
16261
16261
|
return P || (P = f.c ? [f.v[0][0], f.v[0][1]] : [f.v[f._length - 1][0], f.v[f._length - 1][1]]), P;
|
|
16262
16262
|
},
|
|
16263
|
-
vectorOnPath: function(
|
|
16264
|
-
|
|
16265
|
-
var T = this.pointOnPath(
|
|
16263
|
+
vectorOnPath: function(S, m, f) {
|
|
16264
|
+
S == 1 ? S = this.v.c : S == 0 && (S = 0.999);
|
|
16265
|
+
var T = this.pointOnPath(S, m), y = this.pointOnPath(S + 1e-3, m), E = y[0] - T[0], x = y[1] - T[1], b = Math.sqrt(Math.pow(E, 2) + Math.pow(x, 2));
|
|
16266
16266
|
if (b === 0)
|
|
16267
16267
|
return [0, 0];
|
|
16268
|
-
var C = f === "tangent" ? [
|
|
16268
|
+
var C = f === "tangent" ? [E / b, x / b] : [-x / b, E / b];
|
|
16269
16269
|
return C;
|
|
16270
16270
|
},
|
|
16271
|
-
tangentOnPath: function(
|
|
16272
|
-
return this.vectorOnPath(
|
|
16271
|
+
tangentOnPath: function(S, m) {
|
|
16272
|
+
return this.vectorOnPath(S, m, "tangent");
|
|
16273
16273
|
},
|
|
16274
|
-
normalOnPath: function(
|
|
16275
|
-
return this.vectorOnPath(
|
|
16274
|
+
normalOnPath: function(S, m) {
|
|
16275
|
+
return this.vectorOnPath(S, m, "normal");
|
|
16276
16276
|
},
|
|
16277
16277
|
setGroupProperty: expressionHelpers.setGroupProperty,
|
|
16278
16278
|
getValueAtTime: expressionHelpers.getStaticValueAtTime
|
|
16279
16279
|
}, extendPrototype([p], c), extendPrototype([p], u), u.prototype.getValueAtTime = l, u.prototype.initiateExpression = ExpressionManager.initiateExpression;
|
|
16280
16280
|
var g = ShapePropertyFactory.getShapeProp;
|
|
16281
|
-
ShapePropertyFactory.getShapeProp = function(d,
|
|
16282
|
-
var y = g(d,
|
|
16283
|
-
return y.propertyIndex =
|
|
16281
|
+
ShapePropertyFactory.getShapeProp = function(d, S, m, f, T) {
|
|
16282
|
+
var y = g(d, S, m, f, T);
|
|
16283
|
+
return y.propertyIndex = S.ix, y.lock = !1, m === 3 ? expressionHelpers.searchExpressions(d, S.pt, y) : m === 4 && expressionHelpers.searchExpressions(d, S.ks, y), y.k && d.addDynamicProperty(y), y;
|
|
16284
16284
|
};
|
|
16285
16285
|
}
|
|
16286
16286
|
function initialize$1() {
|
|
@@ -16384,8 +16384,8 @@ function requireLottie() {
|
|
|
16384
16384
|
n.setAttribute("stroke-dasharray", o);
|
|
16385
16385
|
}
|
|
16386
16386
|
if ((e || this.filterManager.effectElements[4].p._mdf) && this.pathMasker.setAttribute("stroke-width", this.filterManager.effectElements[4].p.v * 2), (e || this.filterManager.effectElements[6].p._mdf) && this.pathMasker.setAttribute("opacity", this.filterManager.effectElements[6].p.v), (this.filterManager.effectElements[10].p.v === 1 || this.filterManager.effectElements[10].p.v === 2) && (e || this.filterManager.effectElements[3].p._mdf)) {
|
|
16387
|
-
var
|
|
16388
|
-
this.pathMasker.setAttribute("stroke", "rgb(" + bmFloor(
|
|
16387
|
+
var S = this.filterManager.effectElements[3].p.v;
|
|
16388
|
+
this.pathMasker.setAttribute("stroke", "rgb(" + bmFloor(S[0] * 255) + "," + bmFloor(S[1] * 255) + "," + bmFloor(S[2] * 255) + ")");
|
|
16389
16389
|
}
|
|
16390
16390
|
};
|
|
16391
16391
|
function SVGTritoneFilter(e, t, i, s) {
|
|
@@ -16418,8 +16418,8 @@ function requireLottie() {
|
|
|
16418
16418
|
}, SVGProLevelsFilter.prototype.getTableValue = function(e, t, i, s, n) {
|
|
16419
16419
|
for (var o = 0, a = 256, l, c = Math.min(e, t), u = Math.max(e, t), p = Array.call(null, {
|
|
16420
16420
|
length: a
|
|
16421
|
-
}), g, d = 0,
|
|
16422
|
-
l = o / 256, l <= c ? g = m < 0 ? n : s : l >= u ? g = m < 0 ? s : n : g = s +
|
|
16421
|
+
}), g, d = 0, S = n - s, m = t - e; o <= 256; )
|
|
16422
|
+
l = o / 256, l <= c ? g = m < 0 ? n : s : l >= u ? g = m < 0 ? s : n : g = s + S * Math.pow((l - e) / m, 1 / i), p[d] = g, d += 1, o += 256 / (a - 1);
|
|
16423
16423
|
return p.join(" ");
|
|
16424
16424
|
}, SVGProLevelsFilter.prototype.renderFrame = function(e) {
|
|
16425
16425
|
if (e || this.filterManager._mdf) {
|
|
@@ -16631,9 +16631,9 @@ function _unsupportedIterableToArray(e, t) {
|
|
|
16631
16631
|
}
|
|
16632
16632
|
}
|
|
16633
16633
|
var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], useLottie = function e(t, i) {
|
|
16634
|
-
var s = t.animationData, n = t.loop, o = t.autoplay, a = t.initialSegment, l = t.onComplete, c = t.onLoopComplete, u = t.onEnterFrame, p = t.onSegmentStart, g = t.onConfigReady, d = t.onDataReady,
|
|
16634
|
+
var s = t.animationData, n = t.loop, o = t.autoplay, a = t.initialSegment, l = t.onComplete, c = t.onLoopComplete, u = t.onEnterFrame, p = t.onSegmentStart, g = t.onConfigReady, d = t.onDataReady, S = t.onDataFailed, m = t.onLoadedImages, f = t.onDOMLoaded, T = t.onDestroy;
|
|
16635
16635
|
t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
|
|
16636
|
-
var y = _objectWithoutProperties(t, _excluded$1),
|
|
16636
|
+
var y = _objectWithoutProperties(t, _excluded$1), E = useState(!1), x = _slicedToArray(E, 2), b = x[0], C = x[1], P = useRef(), I = useRef(null), F = function() {
|
|
16637
16637
|
var L;
|
|
16638
16638
|
(L = P.current) === null || L === void 0 || L.play();
|
|
16639
16639
|
}, $ = function() {
|
|
@@ -16715,7 +16715,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
16715
16715
|
handler: d
|
|
16716
16716
|
}, {
|
|
16717
16717
|
name: "data_failed",
|
|
16718
|
-
handler:
|
|
16718
|
+
handler: S
|
|
16719
16719
|
}, {
|
|
16720
16720
|
name: "loaded_images",
|
|
16721
16721
|
handler: m
|
|
@@ -16749,7 +16749,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
16749
16749
|
});
|
|
16750
16750
|
};
|
|
16751
16751
|
}
|
|
16752
|
-
}, [l, c, u, p, g, d,
|
|
16752
|
+
}, [l, c, u, p, g, d, S, m, f, T]);
|
|
16753
16753
|
var k = /* @__PURE__ */ React__default.createElement("div", _objectSpread2({
|
|
16754
16754
|
style: i,
|
|
16755
16755
|
ref: I
|
|
@@ -16791,13 +16791,13 @@ var useInitInteractivity = function e(t) {
|
|
|
16791
16791
|
s.stop();
|
|
16792
16792
|
var l = function() {
|
|
16793
16793
|
var p = null, g = function() {
|
|
16794
|
-
var
|
|
16794
|
+
var S = getContainerVisibility(a), m = o.find(function(T) {
|
|
16795
16795
|
var y = T.visibility;
|
|
16796
|
-
return y &&
|
|
16796
|
+
return y && S >= y[0] && S <= y[1];
|
|
16797
16797
|
});
|
|
16798
16798
|
if (m) {
|
|
16799
16799
|
if (m.type === "seek" && m.visibility && m.frames.length === 2) {
|
|
16800
|
-
var f = m.frames[0] + Math.ceil((
|
|
16800
|
+
var f = m.frames[0] + Math.ceil((S - m.visibility[0]) / (m.visibility[1] - m.visibility[0]) * m.frames[1]);
|
|
16801
16801
|
//! goToAndStop must be relative to the start of the current segment
|
|
16802
16802
|
s.goToAndStop(f - s.firstFrame - 1, !0);
|
|
16803
16803
|
}
|
|
@@ -16811,8 +16811,8 @@ var useInitInteractivity = function e(t) {
|
|
|
16811
16811
|
var p = function(m, f) {
|
|
16812
16812
|
var T = m, y = f;
|
|
16813
16813
|
if (T !== -1 && y !== -1) {
|
|
16814
|
-
var
|
|
16815
|
-
T =
|
|
16814
|
+
var E = getContainerCursorPosition(a, T, y);
|
|
16815
|
+
T = E.x, y = E.y;
|
|
16816
16816
|
}
|
|
16817
16817
|
var x = o.find(function(P) {
|
|
16818
16818
|
var I = P.position;
|
|
@@ -16851,18 +16851,18 @@ var useInitInteractivity = function e(t) {
|
|
|
16851
16851
|
wrapperRef: l
|
|
16852
16852
|
}), a;
|
|
16853
16853
|
}, _excluded = ["style", "interactivity"], Lottie = function e(t) {
|
|
16854
|
-
var i, s, n, o = t.style, a = t.interactivity, l = _objectWithoutProperties(t, _excluded), c = useLottie(l, o), u = c.View, p = c.play, g = c.stop, d = c.pause,
|
|
16854
|
+
var i, s, n, o = t.style, a = t.interactivity, l = _objectWithoutProperties(t, _excluded), c = useLottie(l, o), u = c.View, p = c.play, g = c.stop, d = c.pause, S = c.setSpeed, m = c.goToAndStop, f = c.goToAndPlay, T = c.setDirection, y = c.playSegments, E = c.setSubframe, x = c.getDuration, b = c.destroy, C = c.animationContainerRef, P = c.animationLoaded, I = c.animationItem;
|
|
16855
16855
|
return useEffect(function() {
|
|
16856
16856
|
t.lottieRef && (t.lottieRef.current = {
|
|
16857
16857
|
play: p,
|
|
16858
16858
|
stop: g,
|
|
16859
16859
|
pause: d,
|
|
16860
|
-
setSpeed:
|
|
16860
|
+
setSpeed: S,
|
|
16861
16861
|
goToAndPlay: f,
|
|
16862
16862
|
goToAndStop: m,
|
|
16863
16863
|
setDirection: T,
|
|
16864
16864
|
playSegments: y,
|
|
16865
|
-
setSubframe:
|
|
16865
|
+
setSubframe: E,
|
|
16866
16866
|
getDuration: x,
|
|
16867
16867
|
destroy: b,
|
|
16868
16868
|
animationContainerRef: C,
|
|
@@ -16875,12 +16875,12 @@ var useInitInteractivity = function e(t) {
|
|
|
16875
16875
|
play: p,
|
|
16876
16876
|
stop: g,
|
|
16877
16877
|
pause: d,
|
|
16878
|
-
setSpeed:
|
|
16878
|
+
setSpeed: S,
|
|
16879
16879
|
goToAndStop: m,
|
|
16880
16880
|
goToAndPlay: f,
|
|
16881
16881
|
setDirection: T,
|
|
16882
16882
|
playSegments: y,
|
|
16883
|
-
setSubframe:
|
|
16883
|
+
setSubframe: E,
|
|
16884
16884
|
getDuration: x,
|
|
16885
16885
|
destroy: b,
|
|
16886
16886
|
animationContainerRef: C,
|
|
@@ -17015,13 +17015,13 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
|
|
|
17015
17015
|
buttons: g,
|
|
17016
17016
|
classNames: d = {}
|
|
17017
17017
|
}) => {
|
|
17018
|
-
const [
|
|
17018
|
+
const [S, m] = useState(!1), [f, T] = useState(!1);
|
|
17019
17019
|
if (!e) return null;
|
|
17020
17020
|
const y = {
|
|
17021
17021
|
left: "flex-start",
|
|
17022
17022
|
center: "center",
|
|
17023
17023
|
right: "flex-end"
|
|
17024
|
-
},
|
|
17024
|
+
}, E = (x) => {
|
|
17025
17025
|
m(x), x && T(!1);
|
|
17026
17026
|
};
|
|
17027
17027
|
return /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `dialog-overlay ${e ? "open" : ""}`, children: /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -17048,8 +17048,8 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
|
|
|
17048
17048
|
CECheckBox,
|
|
17049
17049
|
{
|
|
17050
17050
|
label: n,
|
|
17051
|
-
checked:
|
|
17052
|
-
onChange:
|
|
17051
|
+
checked: S,
|
|
17052
|
+
onChange: E
|
|
17053
17053
|
}
|
|
17054
17054
|
),
|
|
17055
17055
|
f && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: `error-message ${d.error || ""}`, children: "Please accept the terms to continue" })
|
|
@@ -17063,7 +17063,7 @@ const v$2 = "5.1.7", fr$2 = 30, ip$2 = 25, op$2 = 69, w$2 = 600, h$2 = 600, nm$2
|
|
|
17063
17063
|
CEButton,
|
|
17064
17064
|
{
|
|
17065
17065
|
onClick: () => {
|
|
17066
|
-
if (l && !
|
|
17066
|
+
if (l && !S && !x.bypassCheckbox) {
|
|
17067
17067
|
T(!0);
|
|
17068
17068
|
return;
|
|
17069
17069
|
}
|
|
@@ -17721,7 +17721,7 @@ function useSlot(e, t) {
|
|
|
17721
17721
|
[e]: void 0
|
|
17722
17722
|
},
|
|
17723
17723
|
...d
|
|
17724
|
-
} = o,
|
|
17724
|
+
} = o, S = p[e] || s, m = resolveComponentProps(g[e], n), {
|
|
17725
17725
|
props: {
|
|
17726
17726
|
component: f,
|
|
17727
17727
|
...T
|
|
@@ -17732,7 +17732,7 @@ function useSlot(e, t) {
|
|
|
17732
17732
|
...c,
|
|
17733
17733
|
externalForwardedProps: e === "root" ? d : void 0,
|
|
17734
17734
|
externalSlotProps: m
|
|
17735
|
-
}),
|
|
17735
|
+
}), E = useForkRef(y, m == null ? void 0 : m.ref, t.ref), x = e === "root" ? f || u : f, b = appendOwnerState(S, {
|
|
17736
17736
|
...e === "root" && !u && !p[e] && a,
|
|
17737
17737
|
...e !== "root" && !p[e] && a,
|
|
17738
17738
|
...T,
|
|
@@ -17742,9 +17742,9 @@ function useSlot(e, t) {
|
|
|
17742
17742
|
...x && l && {
|
|
17743
17743
|
component: x
|
|
17744
17744
|
},
|
|
17745
|
-
ref:
|
|
17745
|
+
ref: E
|
|
17746
17746
|
}, n);
|
|
17747
|
-
return [
|
|
17747
|
+
return [S, b];
|
|
17748
17748
|
}
|
|
17749
17749
|
class LazyRipple {
|
|
17750
17750
|
constructor() {
|
|
@@ -17811,7 +17811,7 @@ function Ripple(e) {
|
|
|
17811
17811
|
in: l,
|
|
17812
17812
|
onExited: c,
|
|
17813
17813
|
timeout: u
|
|
17814
|
-
} = e, [p, g] = React.useState(!1), d = clsx(t, i.ripple, i.rippleVisible, s && i.ripplePulsate),
|
|
17814
|
+
} = e, [p, g] = React.useState(!1), d = clsx(t, i.ripple, i.rippleVisible, s && i.ripplePulsate), S = {
|
|
17815
17815
|
width: a,
|
|
17816
17816
|
height: a,
|
|
17817
17817
|
top: -(a / 2) + o,
|
|
@@ -17826,7 +17826,7 @@ function Ripple(e) {
|
|
|
17826
17826
|
}
|
|
17827
17827
|
}, [c, l, u]), /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
|
|
17828
17828
|
className: d,
|
|
17829
|
-
style:
|
|
17829
|
+
style: S,
|
|
17830
17830
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", {
|
|
17831
17831
|
className: m
|
|
17832
17832
|
})
|
|
@@ -17977,7 +17977,7 @@ const touchRippleClasses = generateUtilityClasses("MuiTouchRipple", ["root", "ri
|
|
|
17977
17977
|
React.useEffect(() => {
|
|
17978
17978
|
g.current && (g.current(), g.current = null);
|
|
17979
17979
|
}, [c]);
|
|
17980
|
-
const d = React.useRef(!1),
|
|
17980
|
+
const d = React.useRef(!1), S = useTimeout(), m = React.useRef(null), f = React.useRef(null), T = React.useCallback((b) => {
|
|
17981
17981
|
const {
|
|
17982
17982
|
pulsate: C,
|
|
17983
17983
|
rippleX: P,
|
|
@@ -18043,7 +18043,7 @@ const touchRippleClasses = generateUtilityClasses("MuiTouchRipple", ["root", "ri
|
|
|
18043
18043
|
rippleSize: U,
|
|
18044
18044
|
cb: P
|
|
18045
18045
|
});
|
|
18046
|
-
},
|
|
18046
|
+
}, S.start(DELAY_RIPPLE, () => {
|
|
18047
18047
|
m.current && (m.current(), m.current = null);
|
|
18048
18048
|
})) : T({
|
|
18049
18049
|
pulsate: I,
|
|
@@ -18052,24 +18052,24 @@ const touchRippleClasses = generateUtilityClasses("MuiTouchRipple", ["root", "ri
|
|
|
18052
18052
|
rippleSize: U,
|
|
18053
18053
|
cb: P
|
|
18054
18054
|
});
|
|
18055
|
-
}, [n, T,
|
|
18055
|
+
}, [n, T, S]), E = React.useCallback(() => {
|
|
18056
18056
|
y({}, {
|
|
18057
18057
|
pulsate: !0
|
|
18058
18058
|
});
|
|
18059
18059
|
}, [y]), x = React.useCallback((b, C) => {
|
|
18060
|
-
if (
|
|
18061
|
-
m.current(), m.current = null,
|
|
18060
|
+
if (S.clear(), (b == null ? void 0 : b.type) === "touchend" && m.current) {
|
|
18061
|
+
m.current(), m.current = null, S.start(0, () => {
|
|
18062
18062
|
x(b, C);
|
|
18063
18063
|
});
|
|
18064
18064
|
return;
|
|
18065
18065
|
}
|
|
18066
18066
|
m.current = null, u((P) => P.length > 0 ? P.slice(1) : P), g.current = C;
|
|
18067
|
-
}, [
|
|
18067
|
+
}, [S]);
|
|
18068
18068
|
return React.useImperativeHandle(i, () => ({
|
|
18069
|
-
pulsate:
|
|
18069
|
+
pulsate: E,
|
|
18070
18070
|
start: y,
|
|
18071
18071
|
stop: x
|
|
18072
|
-
}), [
|
|
18072
|
+
}), [E, y, x]), /* @__PURE__ */ jsxRuntimeExports.jsx(TouchRippleRoot, {
|
|
18073
18073
|
className: clsx(touchRippleClasses.root, o.root, a),
|
|
18074
18074
|
ref: f,
|
|
18075
18075
|
...l,
|
|
@@ -18165,12 +18165,12 @@ const buttonBaseClasses = generateUtilityClasses("MuiButtonBase", ["root", "disa
|
|
|
18165
18165
|
disableRipple: p = !1,
|
|
18166
18166
|
disableTouchRipple: g = !1,
|
|
18167
18167
|
focusRipple: d = !1,
|
|
18168
|
-
focusVisibleClassName:
|
|
18168
|
+
focusVisibleClassName: S,
|
|
18169
18169
|
LinkComponent: m = "a",
|
|
18170
18170
|
onBlur: f,
|
|
18171
18171
|
onClick: T,
|
|
18172
18172
|
onContextMenu: y,
|
|
18173
|
-
onDragLeave:
|
|
18173
|
+
onDragLeave: E,
|
|
18174
18174
|
onFocus: x,
|
|
18175
18175
|
onFocusVisible: b,
|
|
18176
18176
|
onKeyDown: C,
|
|
@@ -18196,7 +18196,7 @@ const buttonBaseClasses = generateUtilityClasses("MuiButtonBase", ["root", "disa
|
|
|
18196
18196
|
React.useEffect(() => {
|
|
18197
18197
|
j && d && !p && _.pulsate();
|
|
18198
18198
|
}, [p, d, j, _]);
|
|
18199
|
-
const G = useRippleHandler(_, "start", I, g), q = useRippleHandler(_, "stop", y, g), Y = useRippleHandler(_, "stop",
|
|
18199
|
+
const G = useRippleHandler(_, "start", I, g), q = useRippleHandler(_, "stop", y, g), Y = useRippleHandler(_, "stop", E, g), X = useRippleHandler(_, "stop", $, g), Q = useRippleHandler(_, "stop", (K) => {
|
|
18200
18200
|
j && K.preventDefault(), F && F(K);
|
|
18201
18201
|
}, g), re = useRippleHandler(_, "start", B, g), ie = useRippleHandler(_, "stop", A, g), ne = useRippleHandler(_, "stop", D, g), H = useRippleHandler(_, "stop", (K) => {
|
|
18202
18202
|
isFocusVisible(K.target) || L(!1), f && f(K);
|
|
@@ -18571,7 +18571,7 @@ const SIZE = 44, circularRotateKeyframe = keyframes`
|
|
|
18571
18571
|
value: p = 0,
|
|
18572
18572
|
variant: g = "indeterminate",
|
|
18573
18573
|
...d
|
|
18574
|
-
} = s,
|
|
18574
|
+
} = s, S = {
|
|
18575
18575
|
...s,
|
|
18576
18576
|
color: o,
|
|
18577
18577
|
disableShrink: a,
|
|
@@ -18579,10 +18579,10 @@ const SIZE = 44, circularRotateKeyframe = keyframes`
|
|
|
18579
18579
|
thickness: u,
|
|
18580
18580
|
value: p,
|
|
18581
18581
|
variant: g
|
|
18582
|
-
}, m = useUtilityClasses$3(
|
|
18582
|
+
}, m = useUtilityClasses$3(S), f = {}, T = {}, y = {};
|
|
18583
18583
|
if (g === "determinate") {
|
|
18584
|
-
const
|
|
18585
|
-
f.strokeDasharray =
|
|
18584
|
+
const E = 2 * Math.PI * ((SIZE - u) / 2);
|
|
18585
|
+
f.strokeDasharray = E.toFixed(3), y["aria-valuenow"] = Math.round(p), f.strokeDashoffset = `${((100 - p) / 100 * E).toFixed(3)}px`, T.transform = "rotate(-90deg)";
|
|
18586
18586
|
}
|
|
18587
18587
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressRoot, {
|
|
18588
18588
|
className: clsx(m.root, n),
|
|
@@ -18592,19 +18592,19 @@ const SIZE = 44, circularRotateKeyframe = keyframes`
|
|
|
18592
18592
|
...T,
|
|
18593
18593
|
...c
|
|
18594
18594
|
},
|
|
18595
|
-
ownerState:
|
|
18595
|
+
ownerState: S,
|
|
18596
18596
|
ref: i,
|
|
18597
18597
|
role: "progressbar",
|
|
18598
18598
|
...y,
|
|
18599
18599
|
...d,
|
|
18600
18600
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressSVG, {
|
|
18601
18601
|
className: m.svg,
|
|
18602
|
-
ownerState:
|
|
18602
|
+
ownerState: S,
|
|
18603
18603
|
viewBox: `${SIZE / 2} ${SIZE / 2} ${SIZE} ${SIZE}`,
|
|
18604
18604
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgressCircle, {
|
|
18605
18605
|
className: m.circle,
|
|
18606
18606
|
style: f,
|
|
18607
|
-
ownerState:
|
|
18607
|
+
ownerState: S,
|
|
18608
18608
|
cx: SIZE,
|
|
18609
18609
|
cy: SIZE,
|
|
18610
18610
|
r: (SIZE - u) / 2,
|
|
@@ -18838,9 +18838,9 @@ const iconButtonClasses = generateUtilityClasses("MuiIconButton", ["root", "disa
|
|
|
18838
18838
|
size: p = "medium",
|
|
18839
18839
|
id: g,
|
|
18840
18840
|
loading: d = null,
|
|
18841
|
-
loadingIndicator:
|
|
18841
|
+
loadingIndicator: S,
|
|
18842
18842
|
...m
|
|
18843
|
-
} = s, f = useId(g), T =
|
|
18843
|
+
} = s, f = useId(g), T = S ?? /* @__PURE__ */ jsxRuntimeExports.jsx(CircularProgress, {
|
|
18844
18844
|
"aria-labelledby": f,
|
|
18845
18845
|
color: "inherit",
|
|
18846
18846
|
size: 16
|
|
@@ -18853,10 +18853,10 @@ const iconButtonClasses = generateUtilityClasses("MuiIconButton", ["root", "disa
|
|
|
18853
18853
|
loading: d,
|
|
18854
18854
|
loadingIndicator: T,
|
|
18855
18855
|
size: p
|
|
18856
|
-
},
|
|
18856
|
+
}, E = useUtilityClasses$2(y);
|
|
18857
18857
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs(IconButtonRoot, {
|
|
18858
18858
|
id: d ? f : g,
|
|
18859
|
-
className: clsx(
|
|
18859
|
+
className: clsx(E.root, a),
|
|
18860
18860
|
centerRipple: !0,
|
|
18861
18861
|
focusRipple: !u,
|
|
18862
18862
|
disabled: c || d,
|
|
@@ -18865,12 +18865,12 @@ const iconButtonClasses = generateUtilityClasses("MuiIconButton", ["root", "disa
|
|
|
18865
18865
|
ownerState: y,
|
|
18866
18866
|
children: [typeof d == "boolean" && // use plain HTML span to minimize the runtime overhead
|
|
18867
18867
|
/* @__PURE__ */ jsxRuntimeExports.jsx("span", {
|
|
18868
|
-
className:
|
|
18868
|
+
className: E.loadingWrapper,
|
|
18869
18869
|
style: {
|
|
18870
18870
|
display: "contents"
|
|
18871
18871
|
},
|
|
18872
18872
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx(IconButtonLoadingIndicator, {
|
|
18873
|
-
className:
|
|
18873
|
+
className: E.loadingIndicator,
|
|
18874
18874
|
ownerState: y,
|
|
18875
18875
|
children: d && T
|
|
18876
18876
|
})
|
|
@@ -19164,7 +19164,7 @@ var toPaddingObject = function e(t, i) {
|
|
|
19164
19164
|
function arrow(e) {
|
|
19165
19165
|
var t, i = e.state, s = e.name, n = e.options, o = i.elements.arrow, a = i.modifiersData.popperOffsets, l = getBasePlacement(i.placement), c = getMainAxisFromPlacement(l), u = [left, right].indexOf(l) >= 0, p = u ? "height" : "width";
|
|
19166
19166
|
if (!(!o || !a)) {
|
|
19167
|
-
var g = toPaddingObject(n.padding, i), d = getLayoutRect(o),
|
|
19167
|
+
var g = toPaddingObject(n.padding, i), d = getLayoutRect(o), S = c === "y" ? top : left, m = c === "y" ? bottom : right, f = i.rects.reference[p] + i.rects.reference[c] - a[c] - i.rects.popper[p], T = a[c] - i.rects.reference[c], y = getOffsetParent(o), E = y ? c === "y" ? y.clientHeight || 0 : y.clientWidth || 0 : 0, x = f / 2 - T / 2, b = g[S], C = E - d[p] - g[m], P = E / 2 - d[p] / 2 + x, I = within(b, P, C), F = c;
|
|
19168
19168
|
i.modifiersData[s] = (t = {}, t[F] = I, t.centerOffset = I - P, t);
|
|
19169
19169
|
}
|
|
19170
19170
|
}
|
|
@@ -19198,15 +19198,15 @@ function roundOffsetsByDPR(e, t) {
|
|
|
19198
19198
|
};
|
|
19199
19199
|
}
|
|
19200
19200
|
function mapToStyles(e) {
|
|
19201
|
-
var t, i = e.popper, s = e.popperRect, n = e.placement, o = e.variation, a = e.offsets, l = e.position, c = e.gpuAcceleration, u = e.adaptive, p = e.roundOffsets, g = e.isFixed, d = a.x,
|
|
19202
|
-
x:
|
|
19201
|
+
var t, i = e.popper, s = e.popperRect, n = e.placement, o = e.variation, a = e.offsets, l = e.position, c = e.gpuAcceleration, u = e.adaptive, p = e.roundOffsets, g = e.isFixed, d = a.x, S = d === void 0 ? 0 : d, m = a.y, f = m === void 0 ? 0 : m, T = typeof p == "function" ? p({
|
|
19202
|
+
x: S,
|
|
19203
19203
|
y: f
|
|
19204
19204
|
}) : {
|
|
19205
|
-
x:
|
|
19205
|
+
x: S,
|
|
19206
19206
|
y: f
|
|
19207
19207
|
};
|
|
19208
|
-
|
|
19209
|
-
var y = a.hasOwnProperty("x"),
|
|
19208
|
+
S = T.x, f = T.y;
|
|
19209
|
+
var y = a.hasOwnProperty("x"), E = a.hasOwnProperty("y"), x = left, b = top, C = window;
|
|
19210
19210
|
if (u) {
|
|
19211
19211
|
var P = getOffsetParent(i), I = "clientHeight", F = "clientWidth";
|
|
19212
19212
|
if (P === getWindow(i) && (P = getDocumentElement(i), getComputedStyle(P).position !== "static" && l === "absolute" && (I = "scrollHeight", F = "scrollWidth")), P = P, n === top || (n === left || n === right) && o === end) {
|
|
@@ -19223,23 +19223,23 @@ function mapToStyles(e) {
|
|
|
19223
19223
|
// $FlowFixMe[prop-missing]
|
|
19224
19224
|
P[F]
|
|
19225
19225
|
);
|
|
19226
|
-
|
|
19226
|
+
S -= A - s.width, S *= c ? 1 : -1;
|
|
19227
19227
|
}
|
|
19228
19228
|
}
|
|
19229
19229
|
var D = Object.assign({
|
|
19230
19230
|
position: l
|
|
19231
19231
|
}, u && unsetSides), B = p === !0 ? roundOffsetsByDPR({
|
|
19232
|
-
x:
|
|
19232
|
+
x: S,
|
|
19233
19233
|
y: f
|
|
19234
19234
|
}, getWindow(i)) : {
|
|
19235
|
-
x:
|
|
19235
|
+
x: S,
|
|
19236
19236
|
y: f
|
|
19237
19237
|
};
|
|
19238
|
-
if (
|
|
19238
|
+
if (S = B.x, f = B.y, c) {
|
|
19239
19239
|
var z;
|
|
19240
|
-
return Object.assign({}, D, (z = {}, z[b] =
|
|
19240
|
+
return Object.assign({}, D, (z = {}, z[b] = E ? "0" : "", z[x] = y ? "0" : "", z.transform = (C.devicePixelRatio || 1) <= 1 ? "translate(" + S + "px, " + f + "px)" : "translate3d(" + S + "px, " + f + "px, 0)", z));
|
|
19241
19241
|
}
|
|
19242
|
-
return Object.assign({}, D, (t = {}, t[b] =
|
|
19242
|
+
return Object.assign({}, D, (t = {}, t[b] = E ? f + "px" : "", t[x] = y ? S + "px" : "", t.transform = "", t));
|
|
19243
19243
|
}
|
|
19244
19244
|
function computeStyles(e) {
|
|
19245
19245
|
var t = e.state, i = e.options, s = i.gpuAcceleration, n = s === void 0 ? !0 : s, o = i.adaptive, a = o === void 0 ? !0 : o, l = i.roundOffsets, c = l === void 0 ? !0 : l, u = {
|
|
@@ -19439,7 +19439,7 @@ function computeOffsets(e) {
|
|
|
19439
19439
|
}
|
|
19440
19440
|
function detectOverflow(e, t) {
|
|
19441
19441
|
t === void 0 && (t = {});
|
|
19442
|
-
var i = t, s = i.placement, n = s === void 0 ? e.placement : s, o = i.strategy, a = o === void 0 ? e.strategy : o, l = i.boundary, c = l === void 0 ? clippingParents : l, u = i.rootBoundary, p = u === void 0 ? viewport : u, g = i.elementContext, d = g === void 0 ? popper : g,
|
|
19442
|
+
var i = t, s = i.placement, n = s === void 0 ? e.placement : s, o = i.strategy, a = o === void 0 ? e.strategy : o, l = i.boundary, c = l === void 0 ? clippingParents : l, u = i.rootBoundary, p = u === void 0 ? viewport : u, g = i.elementContext, d = g === void 0 ? popper : g, S = i.altBoundary, m = S === void 0 ? !1 : S, f = i.padding, T = f === void 0 ? 0 : f, y = mergePaddingObject(typeof T != "number" ? T : expandToHashMap(T, basePlacements)), E = d === popper ? reference : popper, x = e.rects.popper, b = e.elements[m ? E : d], C = getClippingRect(isElement(b) ? b : b.contextElement || getDocumentElement(e.elements.popper), c, p, a), P = getBoundingClientRect(e.elements.reference), I = computeOffsets({
|
|
19443
19443
|
reference: P,
|
|
19444
19444
|
element: x,
|
|
19445
19445
|
placement: n
|
|
@@ -19466,7 +19466,7 @@ function computeAutoPlacement(e, t) {
|
|
|
19466
19466
|
return u.indexOf(m) >= 0;
|
|
19467
19467
|
});
|
|
19468
19468
|
d.length === 0 && (d = g);
|
|
19469
|
-
var
|
|
19469
|
+
var S = d.reduce(function(m, f) {
|
|
19470
19470
|
return m[f] = detectOverflow(e, {
|
|
19471
19471
|
placement: f,
|
|
19472
19472
|
boundary: n,
|
|
@@ -19474,8 +19474,8 @@ function computeAutoPlacement(e, t) {
|
|
|
19474
19474
|
padding: a
|
|
19475
19475
|
})[getBasePlacement(f)], m;
|
|
19476
19476
|
}, {});
|
|
19477
|
-
return Object.keys(
|
|
19478
|
-
return
|
|
19477
|
+
return Object.keys(S).sort(function(m, f) {
|
|
19478
|
+
return S[m] - S[f];
|
|
19479
19479
|
});
|
|
19480
19480
|
}
|
|
19481
19481
|
function getExpandedFallbackPlacements(e) {
|
|
@@ -19487,7 +19487,7 @@ function getExpandedFallbackPlacements(e) {
|
|
|
19487
19487
|
function flip(e) {
|
|
19488
19488
|
var t = e.state, i = e.options, s = e.name;
|
|
19489
19489
|
if (!t.modifiersData[s]._skip) {
|
|
19490
|
-
for (var n = i.mainAxis, o = n === void 0 ? !0 : n, a = i.altAxis, l = a === void 0 ? !0 : a, c = i.fallbackPlacements, u = i.padding, p = i.boundary, g = i.rootBoundary, d = i.altBoundary,
|
|
19490
|
+
for (var n = i.mainAxis, o = n === void 0 ? !0 : n, a = i.altAxis, l = a === void 0 ? !0 : a, c = i.fallbackPlacements, u = i.padding, p = i.boundary, g = i.rootBoundary, d = i.altBoundary, S = i.flipVariations, m = S === void 0 ? !0 : S, f = i.allowedAutoPlacements, T = t.options.placement, y = getBasePlacement(T), E = y === T, x = c || (E || !m ? [getOppositePlacement(T)] : getExpandedFallbackPlacements(T)), b = [T].concat(x).reduce(function(G, q) {
|
|
19491
19491
|
return G.concat(getBasePlacement(q) === auto ? computeAutoPlacement(t, {
|
|
19492
19492
|
placement: q,
|
|
19493
19493
|
boundary: p,
|
|
@@ -19625,12 +19625,12 @@ function getAltAxis(e) {
|
|
|
19625
19625
|
return e === "x" ? "y" : "x";
|
|
19626
19626
|
}
|
|
19627
19627
|
function preventOverflow(e) {
|
|
19628
|
-
var t = e.state, i = e.options, s = e.name, n = i.mainAxis, o = n === void 0 ? !0 : n, a = i.altAxis, l = a === void 0 ? !1 : a, c = i.boundary, u = i.rootBoundary, p = i.altBoundary, g = i.padding, d = i.tether,
|
|
19628
|
+
var t = e.state, i = e.options, s = e.name, n = i.mainAxis, o = n === void 0 ? !0 : n, a = i.altAxis, l = a === void 0 ? !1 : a, c = i.boundary, u = i.rootBoundary, p = i.altBoundary, g = i.padding, d = i.tether, S = d === void 0 ? !0 : d, m = i.tetherOffset, f = m === void 0 ? 0 : m, T = detectOverflow(t, {
|
|
19629
19629
|
boundary: c,
|
|
19630
19630
|
rootBoundary: u,
|
|
19631
19631
|
padding: g,
|
|
19632
19632
|
altBoundary: p
|
|
19633
|
-
}), y = getBasePlacement(t.placement),
|
|
19633
|
+
}), y = getBasePlacement(t.placement), E = getVariation(t.placement), x = !E, b = getMainAxisFromPlacement(y), C = getAltAxis(b), P = t.modifiersData.popperOffsets, I = t.rects.reference, F = t.rects.popper, $ = typeof f == "function" ? f(Object.assign({}, t.rects, {
|
|
19634
19634
|
placement: t.placement
|
|
19635
19635
|
})) : f, A = typeof $ == "number" ? {
|
|
19636
19636
|
mainAxis: $,
|
|
@@ -19644,14 +19644,14 @@ function preventOverflow(e) {
|
|
|
19644
19644
|
};
|
|
19645
19645
|
if (P) {
|
|
19646
19646
|
if (o) {
|
|
19647
|
-
var z, U = b === "y" ? top : left, N = b === "y" ? bottom : right, M = b === "y" ? "height" : "width", O = P[b], R = O + T[U], _ = O - T[N], k =
|
|
19647
|
+
var z, U = b === "y" ? top : left, N = b === "y" ? bottom : right, M = b === "y" ? "height" : "width", O = P[b], R = O + T[U], _ = O - T[N], k = S ? -F[M] / 2 : 0, j = E === start ? I[M] : F[M], L = E === start ? -F[M] : -I[M], V = t.elements.arrow, G = S && V ? getLayoutRect(V) : {
|
|
19648
19648
|
width: 0,
|
|
19649
19649
|
height: 0
|
|
19650
|
-
}, q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Y = q[U], X = q[N], Q = within(0, I[M], G[M]), re = x ? I[M] / 2 - k - Q - Y - A.mainAxis : j - Q - Y - A.mainAxis, ie = x ? -I[M] / 2 + k + Q + X + A.mainAxis : L + Q + X + A.mainAxis, ne = t.elements.arrow && getOffsetParent(t.elements.arrow), H = ne ? b === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, se = (z = D == null ? void 0 : D[b]) != null ? z : 0, J = O + re - se - H, ce = O + ie - se, he = within(
|
|
19650
|
+
}, q = t.modifiersData["arrow#persistent"] ? t.modifiersData["arrow#persistent"].padding : getFreshSideObject(), Y = q[U], X = q[N], Q = within(0, I[M], G[M]), re = x ? I[M] / 2 - k - Q - Y - A.mainAxis : j - Q - Y - A.mainAxis, ie = x ? -I[M] / 2 + k + Q + X + A.mainAxis : L + Q + X + A.mainAxis, ne = t.elements.arrow && getOffsetParent(t.elements.arrow), H = ne ? b === "y" ? ne.clientTop || 0 : ne.clientLeft || 0 : 0, se = (z = D == null ? void 0 : D[b]) != null ? z : 0, J = O + re - se - H, ce = O + ie - se, he = within(S ? min(R, J) : R, O, S ? max(_, ce) : _);
|
|
19651
19651
|
P[b] = he, B[b] = he - O;
|
|
19652
19652
|
}
|
|
19653
19653
|
if (l) {
|
|
19654
|
-
var ue, W = b === "x" ? top : left, Z = b === "x" ? bottom : right, ee = P[C], te = C === "y" ? "height" : "width", K = ee + T[W], le = ee - T[Z], ae = [top, left].indexOf(y) !== -1, pe = (ue = D == null ? void 0 : D[C]) != null ? ue : 0, fe = ae ? K : ee - I[te] - F[te] - pe + A.altAxis, de = ae ? ee + I[te] + F[te] - pe - A.altAxis : le, ve =
|
|
19654
|
+
var ue, W = b === "x" ? top : left, Z = b === "x" ? bottom : right, ee = P[C], te = C === "y" ? "height" : "width", K = ee + T[W], le = ee - T[Z], ae = [top, left].indexOf(y) !== -1, pe = (ue = D == null ? void 0 : D[C]) != null ? ue : 0, fe = ae ? K : ee - I[te] - F[te] - pe + A.altAxis, de = ae ? ee + I[te] + F[te] - pe - A.altAxis : le, ve = S && ae ? withinMaxClamp(fe, ee, de) : within(S ? fe : K, ee, S ? de : le);
|
|
19655
19655
|
P[C] = ve, B[C] = ve - ee;
|
|
19656
19656
|
}
|
|
19657
19657
|
t.modifiersData[s] = B;
|
|
@@ -19771,18 +19771,18 @@ function popperGenerator(e) {
|
|
|
19771
19771
|
},
|
|
19772
19772
|
attributes: {},
|
|
19773
19773
|
styles: {}
|
|
19774
|
-
}, g = [], d = !1,
|
|
19774
|
+
}, g = [], d = !1, S = {
|
|
19775
19775
|
state: p,
|
|
19776
19776
|
setOptions: function(y) {
|
|
19777
|
-
var
|
|
19778
|
-
f(), p.options = Object.assign({}, o, p.options,
|
|
19777
|
+
var E = typeof y == "function" ? y(p.options) : y;
|
|
19778
|
+
f(), p.options = Object.assign({}, o, p.options, E), p.scrollParents = {
|
|
19779
19779
|
reference: isElement(l) ? listScrollParents(l) : l.contextElement ? listScrollParents(l.contextElement) : [],
|
|
19780
19780
|
popper: listScrollParents(c)
|
|
19781
19781
|
};
|
|
19782
19782
|
var x = orderModifiers(mergeByName([].concat(s, p.options.modifiers)));
|
|
19783
19783
|
return p.orderedModifiers = x.filter(function(b) {
|
|
19784
19784
|
return b.enabled;
|
|
19785
|
-
}), m(),
|
|
19785
|
+
}), m(), S.update();
|
|
19786
19786
|
},
|
|
19787
19787
|
// Sync update – it will always be executed, even if not necessary. This
|
|
19788
19788
|
// is useful for low frequency updates where sync behavior simplifies the
|
|
@@ -19791,10 +19791,10 @@ function popperGenerator(e) {
|
|
|
19791
19791
|
// prefer the async Popper#update method
|
|
19792
19792
|
forceUpdate: function() {
|
|
19793
19793
|
if (!d) {
|
|
19794
|
-
var y = p.elements,
|
|
19795
|
-
if (areValidElements(
|
|
19794
|
+
var y = p.elements, E = y.reference, x = y.popper;
|
|
19795
|
+
if (areValidElements(E, x)) {
|
|
19796
19796
|
p.rects = {
|
|
19797
|
-
reference: getCompositeRect(
|
|
19797
|
+
reference: getCompositeRect(E, getOffsetParent(x), p.options.strategy === "fixed"),
|
|
19798
19798
|
popper: getLayoutRect(x)
|
|
19799
19799
|
}, p.reset = !1, p.placement = p.options.placement, p.orderedModifiers.forEach(function(A) {
|
|
19800
19800
|
return p.modifiersData[A.name] = Object.assign({}, A.data);
|
|
@@ -19809,7 +19809,7 @@ function popperGenerator(e) {
|
|
|
19809
19809
|
state: p,
|
|
19810
19810
|
options: F,
|
|
19811
19811
|
name: $,
|
|
19812
|
-
instance:
|
|
19812
|
+
instance: S
|
|
19813
19813
|
}) || p);
|
|
19814
19814
|
}
|
|
19815
19815
|
}
|
|
@@ -19819,7 +19819,7 @@ function popperGenerator(e) {
|
|
|
19819
19819
|
// not necessary (debounced to run at most once-per-tick)
|
|
19820
19820
|
update: debounce(function() {
|
|
19821
19821
|
return new Promise(function(T) {
|
|
19822
|
-
|
|
19822
|
+
S.forceUpdate(), T(p);
|
|
19823
19823
|
});
|
|
19824
19824
|
}),
|
|
19825
19825
|
destroy: function() {
|
|
@@ -19827,18 +19827,18 @@ function popperGenerator(e) {
|
|
|
19827
19827
|
}
|
|
19828
19828
|
};
|
|
19829
19829
|
if (!areValidElements(l, c))
|
|
19830
|
-
return
|
|
19831
|
-
|
|
19830
|
+
return S;
|
|
19831
|
+
S.setOptions(u).then(function(T) {
|
|
19832
19832
|
!d && u.onFirstUpdate && u.onFirstUpdate(T);
|
|
19833
19833
|
});
|
|
19834
19834
|
function m() {
|
|
19835
19835
|
p.orderedModifiers.forEach(function(T) {
|
|
19836
|
-
var y = T.name,
|
|
19836
|
+
var y = T.name, E = T.options, x = E === void 0 ? {} : E, b = T.effect;
|
|
19837
19837
|
if (typeof b == "function") {
|
|
19838
19838
|
var C = b({
|
|
19839
19839
|
state: p,
|
|
19840
19840
|
name: y,
|
|
19841
|
-
instance:
|
|
19841
|
+
instance: S,
|
|
19842
19842
|
options: x
|
|
19843
19843
|
}), P = function() {
|
|
19844
19844
|
};
|
|
@@ -19851,7 +19851,7 @@ function popperGenerator(e) {
|
|
|
19851
19851
|
return T();
|
|
19852
19852
|
}), g = [];
|
|
19853
19853
|
}
|
|
19854
|
-
return
|
|
19854
|
+
return S;
|
|
19855
19855
|
};
|
|
19856
19856
|
}
|
|
19857
19857
|
var defaultModifiers = [eventListeners, popperOffsets$1, computeStyles$1, applyStyles$1, offset$1, flip$1, preventOverflow$1, arrow$1, hide$1], createPopper = /* @__PURE__ */ popperGenerator({
|
|
@@ -19959,13 +19959,13 @@ const useUtilityClasses$1 = (e) => {
|
|
|
19959
19959
|
popperOptions: p,
|
|
19960
19960
|
popperRef: g,
|
|
19961
19961
|
slotProps: d = {},
|
|
19962
|
-
slots:
|
|
19962
|
+
slots: S = {},
|
|
19963
19963
|
TransitionProps: m,
|
|
19964
19964
|
// @ts-ignore internal logic
|
|
19965
19965
|
ownerState: f,
|
|
19966
19966
|
// prevent from spreading to DOM, it can come from the parent component e.g. Select.
|
|
19967
19967
|
...T
|
|
19968
|
-
} = t, y = React.useRef(null),
|
|
19968
|
+
} = t, y = React.useRef(null), E = useForkRef(y, i), x = React.useRef(null), b = useForkRef(x, g), C = React.useRef(b);
|
|
19969
19969
|
useEnhancedEffect(() => {
|
|
19970
19970
|
C.current = b;
|
|
19971
19971
|
}, [b]), React.useImperativeHandle(g, () => x.current, []);
|
|
@@ -20019,13 +20019,13 @@ const useUtilityClasses$1 = (e) => {
|
|
|
20019
20019
|
placement: I
|
|
20020
20020
|
};
|
|
20021
20021
|
m !== null && (D.TransitionProps = m);
|
|
20022
|
-
const B = useUtilityClasses$1(t), z =
|
|
20022
|
+
const B = useUtilityClasses$1(t), z = S.root ?? "div", U = useSlotProps({
|
|
20023
20023
|
elementType: z,
|
|
20024
20024
|
externalSlotProps: d.root,
|
|
20025
20025
|
externalForwardedProps: T,
|
|
20026
20026
|
additionalProps: {
|
|
20027
20027
|
role: "tooltip",
|
|
20028
|
-
ref:
|
|
20028
|
+
ref: E
|
|
20029
20029
|
},
|
|
20030
20030
|
ownerState: t,
|
|
20031
20031
|
className: B.root
|
|
@@ -20046,12 +20046,12 @@ const useUtilityClasses$1 = (e) => {
|
|
|
20046
20046
|
open: p,
|
|
20047
20047
|
placement: g = "bottom",
|
|
20048
20048
|
popperOptions: d = defaultPopperOptions,
|
|
20049
|
-
popperRef:
|
|
20049
|
+
popperRef: S,
|
|
20050
20050
|
style: m,
|
|
20051
20051
|
transition: f = !1,
|
|
20052
20052
|
slotProps: T = {},
|
|
20053
20053
|
slots: y = {},
|
|
20054
|
-
...
|
|
20054
|
+
...E
|
|
20055
20055
|
} = t, [x, b] = React.useState(!0), C = () => {
|
|
20056
20056
|
b(!1);
|
|
20057
20057
|
}, P = () => {
|
|
@@ -20083,10 +20083,10 @@ const useUtilityClasses$1 = (e) => {
|
|
|
20083
20083
|
open: f ? !x : p,
|
|
20084
20084
|
placement: g,
|
|
20085
20085
|
popperOptions: d,
|
|
20086
|
-
popperRef:
|
|
20086
|
+
popperRef: S,
|
|
20087
20087
|
slotProps: T,
|
|
20088
20088
|
slots: y,
|
|
20089
|
-
...
|
|
20089
|
+
...E,
|
|
20090
20090
|
style: {
|
|
20091
20091
|
// Prevents scroll issue, waiting for Popper.js to add this style once initiated.
|
|
20092
20092
|
position: "fixed",
|
|
@@ -20239,21 +20239,21 @@ const PopperRoot = styled(Popper$1, {
|
|
|
20239
20239
|
disablePortal: p,
|
|
20240
20240
|
keepMounted: g,
|
|
20241
20241
|
modifiers: d,
|
|
20242
|
-
open:
|
|
20242
|
+
open: S,
|
|
20243
20243
|
placement: m,
|
|
20244
20244
|
popperOptions: f,
|
|
20245
20245
|
popperRef: T,
|
|
20246
20246
|
transition: y,
|
|
20247
|
-
slots:
|
|
20247
|
+
slots: E,
|
|
20248
20248
|
slotProps: x,
|
|
20249
20249
|
...b
|
|
20250
|
-
} = n, C = (
|
|
20250
|
+
} = n, C = (E == null ? void 0 : E.root) ?? (l == null ? void 0 : l.Root), P = {
|
|
20251
20251
|
anchorEl: o,
|
|
20252
20252
|
container: u,
|
|
20253
20253
|
disablePortal: p,
|
|
20254
20254
|
keepMounted: g,
|
|
20255
20255
|
modifiers: d,
|
|
20256
|
-
open:
|
|
20256
|
+
open: S,
|
|
20257
20257
|
placement: m,
|
|
20258
20258
|
popperOptions: f,
|
|
20259
20259
|
popperRef: T,
|
|
@@ -20426,13 +20426,13 @@ const styles = {
|
|
|
20426
20426
|
onEntering: p,
|
|
20427
20427
|
onExit: g,
|
|
20428
20428
|
onExited: d,
|
|
20429
|
-
onExiting:
|
|
20429
|
+
onExiting: S,
|
|
20430
20430
|
style: m,
|
|
20431
20431
|
timeout: f = "auto",
|
|
20432
20432
|
// eslint-disable-next-line react/prop-types
|
|
20433
20433
|
TransitionComponent: T = Transition,
|
|
20434
20434
|
...y
|
|
20435
|
-
} = t,
|
|
20435
|
+
} = t, E = useTimeout(), x = React.useRef(), b = useTheme(), C = React.useRef(null), P = useForkRef(C, getReactElementRef(o), i), I = (N) => (M) => {
|
|
20436
20436
|
if (N) {
|
|
20437
20437
|
const O = C.current;
|
|
20438
20438
|
M === void 0 ? N(O) : N(O, M);
|
|
@@ -20459,7 +20459,7 @@ const styles = {
|
|
|
20459
20459
|
delay: R,
|
|
20460
20460
|
easing: _
|
|
20461
20461
|
})].join(","), c && c(N, M);
|
|
20462
|
-
}), A = I(u), D = I(
|
|
20462
|
+
}), A = I(u), D = I(S), B = I((N) => {
|
|
20463
20463
|
const {
|
|
20464
20464
|
duration: M,
|
|
20465
20465
|
delay: O,
|
|
@@ -20481,7 +20481,7 @@ const styles = {
|
|
|
20481
20481
|
easing: R
|
|
20482
20482
|
})].join(","), N.style.opacity = 0, N.style.transform = getScale(0.75), g && g(N);
|
|
20483
20483
|
}), z = I(d), U = (N) => {
|
|
20484
|
-
f === "auto" &&
|
|
20484
|
+
f === "auto" && E.start(x.current || 0, N), s && s(C.current, N);
|
|
20485
20485
|
};
|
|
20486
20486
|
return /* @__PURE__ */ jsxRuntimeExports.jsx(T, {
|
|
20487
20487
|
appear: n,
|
|
@@ -20880,12 +20880,12 @@ const Tooltip = /* @__PURE__ */ React.forwardRef(function e(t, i) {
|
|
|
20880
20880
|
disableFocusListener: p = !1,
|
|
20881
20881
|
disableHoverListener: g = !1,
|
|
20882
20882
|
disableInteractive: d = !1,
|
|
20883
|
-
disableTouchListener:
|
|
20883
|
+
disableTouchListener: S = !1,
|
|
20884
20884
|
enterDelay: m = 100,
|
|
20885
20885
|
enterNextDelay: f = 0,
|
|
20886
20886
|
enterTouchDelay: T = 700,
|
|
20887
20887
|
followCursor: y = !1,
|
|
20888
|
-
id:
|
|
20888
|
+
id: E,
|
|
20889
20889
|
leaveDelay: x = 0,
|
|
20890
20890
|
leaveTouchDelay: b = 1500,
|
|
20891
20891
|
onClose: C,
|
|
@@ -20918,7 +20918,7 @@ const Tooltip = /* @__PURE__ */ React.forwardRef(function e(t, i) {
|
|
|
20918
20918
|
`));
|
|
20919
20919
|
}, [z, k, oe]);
|
|
20920
20920
|
}
|
|
20921
|
-
const se = useId(
|
|
20921
|
+
const se = useId(E), J = React.useRef(), ce = useEventCallback(() => {
|
|
20922
20922
|
J.current !== void 0 && (document.body.style.WebkitUserSelect = J.current, J.current = void 0), re.clear();
|
|
20923
20923
|
});
|
|
20924
20924
|
React.useEffect(() => ce, [ce]);
|
|
@@ -20996,7 +20996,7 @@ const Tooltip = /* @__PURE__ */ React.forwardRef(function e(t, i) {
|
|
|
20996
20996
|
`));
|
|
20997
20997
|
}, [k]));
|
|
20998
20998
|
const Se = {};
|
|
20999
|
-
|
|
20999
|
+
S || (me.onTouchStart = ae, me.onTouchEnd = pe), g || (me.onMouseOver = composeEventHandler(W, me.onMouseOver), me.onMouseLeave = composeEventHandler(Z, me.onMouseLeave), q || (Se.onMouseOver = W, Se.onMouseLeave = Z)), p || (me.onFocus = composeEventHandler(K, me.onFocus), me.onBlur = composeEventHandler(te, me.onBlur), q || (Se.onFocus = K, Se.onBlur = te)), process.env.NODE_ENV !== "production" && O.props.title && console.error(["MUI: You have provided a `title` prop to the child of <Tooltip />.", `Remove this title prop \`${O.props.title}\` or the Tooltip component.`].join(`
|
|
21000
21000
|
`));
|
|
21001
21001
|
const Ee = {
|
|
21002
21002
|
...s,
|
|
@@ -21297,7 +21297,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
21297
21297
|
}) => {
|
|
21298
21298
|
const [n, o] = useState(
|
|
21299
21299
|
{}
|
|
21300
|
-
), [a, l] = useState(!1), [c, u] = useState([]), [p, g] = useState(/* @__PURE__ */ new Set()), [d,
|
|
21300
|
+
), [a, l] = useState(!1), [c, u] = useState([]), [p, g] = useState(/* @__PURE__ */ new Set()), [d, S] = useState(null), [m, f] = useState(!1), [T, y] = useState(""), [E, x] = useState("contains"), [b, C] = useState(""), [P, I] = useState(0), [F, $] = useState(10), [A, D] = useState(/* @__PURE__ */ new Set()), [B, z] = useState(""), [U, N] = useState(!1), [M, O] = useState(/* @__PURE__ */ new Set()), R = useRef(null), _ = useRef(null), k = useRef(null), [j, L] = useState(/* @__PURE__ */ new Set()), [V, G] = useState([]), q = () => {
|
|
21301
21301
|
axios.get(e).then((W) => u(W.data)).catch((W) => console.error("Error fetching data:", W));
|
|
21302
21302
|
};
|
|
21303
21303
|
useEffect(() => {
|
|
@@ -21337,22 +21337,22 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
21337
21337
|
K.startsWith(`${W}`) && te.delete(K);
|
|
21338
21338
|
}), te.add(ee)), D(te);
|
|
21339
21339
|
}, ie = (W) => {
|
|
21340
|
-
|
|
21340
|
+
S(d === W ? null : W);
|
|
21341
21341
|
}, ne = (W, Z) => {
|
|
21342
21342
|
const ee = [...c].sort((te, K) => Z === "asc" ? te[W] > K[W] ? 1 : -1 : te[W] < K[W] ? 1 : -1);
|
|
21343
|
-
u(ee),
|
|
21343
|
+
u(ee), S(null);
|
|
21344
21344
|
}, H = () => {
|
|
21345
21345
|
const W = c.filter((Z) => {
|
|
21346
21346
|
var te;
|
|
21347
21347
|
const ee = ((te = Z[T]) == null ? void 0 : te.toString()) || "";
|
|
21348
|
-
return
|
|
21348
|
+
return E === "contains" ? ee.includes(b) : E === "equals" ? ee === b : E === "startsWith" ? ee.startsWith(b) : E === "endsWith" ? ee.endsWith(b) : E === "does not contain" ? !ee.includes(b) : E === "does not equal" ? ee !== b : E === "is empty" ? ee.trim() === "" : E === "is not empty" ? ee.trim() !== "" : E === "is any of" ? b.split(",").map((K) => K.trim()).includes(ee) : !0;
|
|
21349
21349
|
});
|
|
21350
21350
|
u(W), f(!1);
|
|
21351
21351
|
}, se = (W) => {
|
|
21352
21352
|
W.key === "Enter" && H();
|
|
21353
21353
|
};
|
|
21354
21354
|
useEscapeKey(() => {
|
|
21355
|
-
|
|
21355
|
+
S(null), f(!1);
|
|
21356
21356
|
});
|
|
21357
21357
|
const J = (W, Z = "") => {
|
|
21358
21358
|
const ee = (te) => {
|
|
@@ -21581,7 +21581,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
21581
21581
|
{
|
|
21582
21582
|
className: "dropdown-item",
|
|
21583
21583
|
onClick: () => {
|
|
21584
|
-
y(W.id), f(!0),
|
|
21584
|
+
y(W.id), f(!0), S(null);
|
|
21585
21585
|
},
|
|
21586
21586
|
children: "Filter"
|
|
21587
21587
|
}
|
|
@@ -21760,7 +21760,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
21760
21760
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
21761
21761
|
"select",
|
|
21762
21762
|
{
|
|
21763
|
-
value:
|
|
21763
|
+
value: E,
|
|
21764
21764
|
onChange: (W) => x(W.target.value),
|
|
21765
21765
|
children: [
|
|
21766
21766
|
/* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: "contains", children: "contains" }),
|
|
@@ -21843,8 +21843,8 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
21843
21843
|
}
|
|
21844
21844
|
);
|
|
21845
21845
|
}, DateRangeIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewBox='0%200%2024%2025'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20d='M19%204.5H18V3.5C18%202.95%2017.55%202.5%2017%202.5C16.45%202.5%2016%202.95%2016%203.5V4.5H8V3.5C8%202.95%207.55%202.5%207%202.5C6.45%202.5%206%202.95%206%203.5V4.5H5C3.89%204.5%203.01%205.4%203.01%206.5L3%2020.5C3%2021.6%203.89%2022.5%205%2022.5H19C20.1%2022.5%2021%2021.6%2021%2020.5V6.5C21%205.4%2020.1%204.5%2019%204.5ZM19%2019.5C19%2020.05%2018.55%2020.5%2018%2020.5H6C5.45%2020.5%205%2020.05%205%2019.5V9.5H19V19.5ZM7%2011.5H9V13.5H7V11.5ZM11%2011.5H13V13.5H11V11.5ZM15%2011.5H17V13.5H15V11.5Z'%20fill='black'%20fill-opacity='0.54'/%3e%3c/svg%3e", WEEKDAYS = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], CEDatePicker = ({ onChange: e, label: t = "Calendar" }) => {
|
|
21846
|
-
const [i, s] = useState(!1), [n, o] = useState(null), [a, l] = useState(/* @__PURE__ */ new Date()), [c, u] = useState(!1), [p, g] = useState({ start: 2020, end: 2031 }), [d,
|
|
21847
|
-
s(!1), !x && !C && !I &&
|
|
21846
|
+
const [i, s] = useState(!1), [n, o] = useState(null), [a, l] = useState(/* @__PURE__ */ new Date()), [c, u] = useState(!1), [p, g] = useState({ start: 2020, end: 2031 }), [d, S] = useState("left"), [m, f] = useState(0), T = useRef(null), [y, E] = useState(!1), [x, b] = useState(""), [C, P] = useState(""), [I, F] = useState(""), [$, A] = useState(!0), D = () => {
|
|
21847
|
+
s(!1), !x && !C && !I && E(!1);
|
|
21848
21848
|
};
|
|
21849
21849
|
useEscapeKey(D);
|
|
21850
21850
|
const B = () => {
|
|
@@ -21868,7 +21868,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
21868
21868
|
const L = String(j.getMonth() + 1).padStart(2, "0"), V = String(j.getDate()).padStart(2, "0"), G = String(j.getFullYear());
|
|
21869
21869
|
b(L), P(V), F(G), A(!0), e(`${L}/${V}/${G}`), s(!1);
|
|
21870
21870
|
}, U = (k) => {
|
|
21871
|
-
|
|
21871
|
+
S(k > 0 ? "left" : "right"), l((j) => {
|
|
21872
21872
|
const L = new Date(j.getFullYear(), j.getMonth() + k, 1);
|
|
21873
21873
|
return n && b(String(L.getMonth() + 1).padStart(2, "0")), f((V) => V + 1), L;
|
|
21874
21874
|
});
|
|
@@ -21923,7 +21923,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
21923
21923
|
{
|
|
21924
21924
|
className: "dp-input-wrapper",
|
|
21925
21925
|
onClick: () => {
|
|
21926
|
-
|
|
21926
|
+
E(!0);
|
|
21927
21927
|
},
|
|
21928
21928
|
children: [
|
|
21929
21929
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -22058,8 +22058,8 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22058
22058
|
recentSearches: s = []
|
|
22059
22059
|
}) => {
|
|
22060
22060
|
const [n, o] = useState(!1), [a, l] = useState(""), [c, u] = useState(i), [p, g] = useState(s), d = (m, f) => {
|
|
22061
|
-
m === "quickActions" ? u((T) => T.filter((y,
|
|
22062
|
-
},
|
|
22061
|
+
m === "quickActions" ? u((T) => T.filter((y, E) => E !== f)) : g((T) => T.filter((y, E) => E !== f));
|
|
22062
|
+
}, S = () => {
|
|
22063
22063
|
a.trim() !== "" && (g((m) => [a, ...m]), l(""));
|
|
22064
22064
|
};
|
|
22065
22065
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "ceui-search-bar", children: [
|
|
@@ -22078,7 +22078,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22078
22078
|
setTimeout(() => o(!1), 200), t && t();
|
|
22079
22079
|
},
|
|
22080
22080
|
onKeyDown: (m) => {
|
|
22081
|
-
m.key === "Enter" &&
|
|
22081
|
+
m.key === "Enter" && S();
|
|
22082
22082
|
}
|
|
22083
22083
|
}
|
|
22084
22084
|
),
|
|
@@ -22244,7 +22244,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22244
22244
|
showUserInfo: p = !1,
|
|
22245
22245
|
showHamburgerButton: g = !1,
|
|
22246
22246
|
showDrawer: d = !1,
|
|
22247
|
-
userInfoProps:
|
|
22247
|
+
userInfoProps: S,
|
|
22248
22248
|
onMenuClick: m,
|
|
22249
22249
|
drawerJsonUrl: f = "",
|
|
22250
22250
|
isDrawerOpen: T = !1,
|
|
@@ -22280,7 +22280,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22280
22280
|
l && /* @__PURE__ */ jsxRuntimeExports.jsx(CEHelpButton, {}),
|
|
22281
22281
|
c && /* @__PURE__ */ jsxRuntimeExports.jsx(CENotificationButton, {}),
|
|
22282
22282
|
u && /* @__PURE__ */ jsxRuntimeExports.jsx(CEAvatarMenu, {}),
|
|
22283
|
-
p &&
|
|
22283
|
+
p && S && /* @__PURE__ */ jsxRuntimeExports.jsx(CEUserInfo, { name: S.name, role: S.role })
|
|
22284
22284
|
] })
|
|
22285
22285
|
] }),
|
|
22286
22286
|
d && g && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -22335,13 +22335,13 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22335
22335
|
label: p,
|
|
22336
22336
|
disabled: g = !1
|
|
22337
22337
|
}) => {
|
|
22338
|
-
const [d,
|
|
22339
|
-
|
|
22338
|
+
const [d, S] = useState(!1), m = (y) => {
|
|
22339
|
+
S(!0);
|
|
22340
22340
|
}, f = (y) => {
|
|
22341
|
-
|
|
22341
|
+
S(!1);
|
|
22342
22342
|
}, T = (y) => {
|
|
22343
|
-
const
|
|
22344
|
-
s === "number" && !/^\d*$/.test(
|
|
22343
|
+
const E = y.target.value;
|
|
22344
|
+
s === "number" && !/^\d*$/.test(E) || s === "alphanumeric" && !/^[a-zA-Z0-9]*$/.test(E) || t(E);
|
|
22345
22345
|
};
|
|
22346
22346
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `validated-input-wrapper ${d ? "focused" : ""}`, children: [
|
|
22347
22347
|
p && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -22373,115 +22373,125 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22373
22373
|
placeholder: s = "Select options",
|
|
22374
22374
|
multipleSelection: n = !0
|
|
22375
22375
|
}) => {
|
|
22376
|
-
const [o, a] = useState(!1), [l, c] = useState(""), u = useRef(null), p = "src/assets/KeyboardArrowDownRounded.svg", g = (
|
|
22377
|
-
let
|
|
22378
|
-
n ?
|
|
22379
|
-
},
|
|
22376
|
+
const [o, a] = useState(!1), [l, c] = useState(""), u = useRef(null), p = "src/assets/KeyboardArrowDownRounded.svg", [g, d] = useState(!1), S = (E) => {
|
|
22377
|
+
let x;
|
|
22378
|
+
n ? x = t.includes(E) ? t.filter((b) => b !== E) : [...t, E] : (x = t.includes(E) ? [] : [E], a(!1)), i(x), c("");
|
|
22379
|
+
}, m = () => {
|
|
22380
22380
|
i([]);
|
|
22381
|
-
},
|
|
22382
|
-
const
|
|
22383
|
-
i(
|
|
22384
|
-
},
|
|
22385
|
-
(
|
|
22381
|
+
}, f = (E) => {
|
|
22382
|
+
const x = t.filter((b) => b !== E);
|
|
22383
|
+
i(x);
|
|
22384
|
+
}, T = e.filter(
|
|
22385
|
+
(E) => E.label.toLowerCase().includes(l.toLowerCase())
|
|
22386
22386
|
);
|
|
22387
22387
|
useEffect(() => {
|
|
22388
|
-
const
|
|
22389
|
-
u.current && !u.current.contains(
|
|
22388
|
+
const E = (x) => {
|
|
22389
|
+
u.current && !u.current.contains(x.target) && a(!1);
|
|
22390
22390
|
};
|
|
22391
|
-
return document.addEventListener("mousedown",
|
|
22392
|
-
document.removeEventListener("mousedown",
|
|
22391
|
+
return document.addEventListener("mousedown", E), () => {
|
|
22392
|
+
document.removeEventListener("mousedown", E);
|
|
22393
22393
|
};
|
|
22394
22394
|
}, []);
|
|
22395
|
-
const
|
|
22395
|
+
const y = () => {
|
|
22396
22396
|
if (t.length === e.length)
|
|
22397
22397
|
i([]);
|
|
22398
22398
|
else {
|
|
22399
|
-
const
|
|
22400
|
-
i(
|
|
22399
|
+
const E = e.map((x) => x.label);
|
|
22400
|
+
i(E);
|
|
22401
22401
|
}
|
|
22402
22402
|
};
|
|
22403
22403
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "dropdown-container", ref: u, children: [
|
|
22404
|
-
/* @__PURE__ */ jsxRuntimeExports.
|
|
22404
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
22405
22405
|
"div",
|
|
22406
22406
|
{
|
|
22407
|
-
className: "
|
|
22408
|
-
onClick: () => a((T) => !T),
|
|
22407
|
+
className: `dropdown${g ? " focused" : ""}${t.length > 0 || l ? " has-value" : ""}`,
|
|
22409
22408
|
children: [
|
|
22410
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("
|
|
22411
|
-
|
|
22412
|
-
|
|
22413
|
-
"button",
|
|
22414
|
-
{
|
|
22415
|
-
className: "remove-tag",
|
|
22416
|
-
onClick: (y) => {
|
|
22417
|
-
y.stopPropagation(), E(T);
|
|
22418
|
-
},
|
|
22419
|
-
children: "×"
|
|
22420
|
-
}
|
|
22421
|
-
)
|
|
22422
|
-
] }, T)) }),
|
|
22423
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22424
|
-
"input",
|
|
22425
|
-
{
|
|
22426
|
-
type: "text",
|
|
22427
|
-
className: "search-input",
|
|
22428
|
-
placeholder: t.length === 0 ? s : "",
|
|
22429
|
-
value: l,
|
|
22430
|
-
onChange: (T) => c(T.target.value),
|
|
22431
|
-
readOnly: !n
|
|
22432
|
-
}
|
|
22433
|
-
),
|
|
22434
|
-
n && t.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22435
|
-
"button",
|
|
22436
|
-
{
|
|
22437
|
-
className: "clear-button",
|
|
22438
|
-
onClick: (T) => {
|
|
22439
|
-
T.stopPropagation(), d(), c("");
|
|
22440
|
-
},
|
|
22441
|
-
children: "×"
|
|
22442
|
-
}
|
|
22443
|
-
),
|
|
22444
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "dropdown-toggle-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22445
|
-
"img",
|
|
22409
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("label", { className: "dropdown-label", children: s }),
|
|
22410
|
+
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
22411
|
+
"div",
|
|
22446
22412
|
{
|
|
22447
|
-
|
|
22448
|
-
|
|
22449
|
-
|
|
22413
|
+
className: "search-container",
|
|
22414
|
+
onClick: () => a((E) => !E),
|
|
22415
|
+
children: [
|
|
22416
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "selected-tags", children: t.map((E) => /* @__PURE__ */ jsxRuntimeExports.jsxs("span", { className: "tag", children: [
|
|
22417
|
+
E,
|
|
22418
|
+
n && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22419
|
+
"button",
|
|
22420
|
+
{
|
|
22421
|
+
className: "remove-tag",
|
|
22422
|
+
onClick: (x) => {
|
|
22423
|
+
x.stopPropagation(), f(E);
|
|
22424
|
+
},
|
|
22425
|
+
children: "×"
|
|
22426
|
+
}
|
|
22427
|
+
)
|
|
22428
|
+
] }, E)) }),
|
|
22429
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22430
|
+
"input",
|
|
22431
|
+
{
|
|
22432
|
+
type: "text",
|
|
22433
|
+
className: "search-input",
|
|
22434
|
+
value: l,
|
|
22435
|
+
onFocus: () => d(!0),
|
|
22436
|
+
onBlur: () => d(!1),
|
|
22437
|
+
onChange: (E) => c(E.target.value),
|
|
22438
|
+
readOnly: !n
|
|
22439
|
+
}
|
|
22440
|
+
),
|
|
22441
|
+
n && t.length > 0 && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22442
|
+
"button",
|
|
22443
|
+
{
|
|
22444
|
+
className: "clear-button",
|
|
22445
|
+
onClick: (E) => {
|
|
22446
|
+
E.stopPropagation(), m(), c("");
|
|
22447
|
+
},
|
|
22448
|
+
children: "×"
|
|
22449
|
+
}
|
|
22450
|
+
),
|
|
22451
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "dropdown-toggle-icon", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22452
|
+
"img",
|
|
22453
|
+
{
|
|
22454
|
+
src: p,
|
|
22455
|
+
alt: "Toggle Dropdown",
|
|
22456
|
+
className: o ? "rotate-icon" : ""
|
|
22457
|
+
}
|
|
22458
|
+
) })
|
|
22459
|
+
]
|
|
22450
22460
|
}
|
|
22451
|
-
)
|
|
22461
|
+
)
|
|
22452
22462
|
]
|
|
22453
22463
|
}
|
|
22454
|
-
)
|
|
22464
|
+
),
|
|
22455
22465
|
o && /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "options open", children: [
|
|
22456
|
-
n && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "select-clear-container", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "select-all", onClick:
|
|
22457
|
-
|
|
22466
|
+
n && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "select-clear-container", children: /* @__PURE__ */ jsxRuntimeExports.jsx("span", { className: "select-all", onClick: y, children: t.length === e.length ? "Clear All" : "Select All" }) }),
|
|
22467
|
+
T.map((E) => /* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
22458
22468
|
"div",
|
|
22459
22469
|
{
|
|
22460
22470
|
className: "option",
|
|
22461
|
-
onClick: () =>
|
|
22471
|
+
onClick: () => S(E.label),
|
|
22462
22472
|
children: [
|
|
22463
22473
|
n ? /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22464
22474
|
"input",
|
|
22465
22475
|
{
|
|
22466
22476
|
type: "checkbox",
|
|
22467
|
-
checked: t.includes(
|
|
22468
|
-
onChange: () =>
|
|
22469
|
-
onClick: (
|
|
22477
|
+
checked: t.includes(E.label),
|
|
22478
|
+
onChange: () => S(E.label),
|
|
22479
|
+
onClick: (x) => x.stopPropagation()
|
|
22470
22480
|
}
|
|
22471
22481
|
) : /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22472
22482
|
"input",
|
|
22473
22483
|
{
|
|
22474
22484
|
type: "radio",
|
|
22475
|
-
checked: t.includes(
|
|
22485
|
+
checked: t.includes(E.label),
|
|
22476
22486
|
readOnly: !0,
|
|
22477
22487
|
tabIndex: -1,
|
|
22478
22488
|
style: { display: "none" }
|
|
22479
22489
|
}
|
|
22480
22490
|
),
|
|
22481
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("label", { children:
|
|
22491
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("label", { children: E.label })
|
|
22482
22492
|
]
|
|
22483
22493
|
},
|
|
22484
|
-
|
|
22494
|
+
E.label
|
|
22485
22495
|
))
|
|
22486
22496
|
] })
|
|
22487
22497
|
] });
|
|
@@ -22616,7 +22626,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22616
22626
|
style: l = {},
|
|
22617
22627
|
editorStyle: c = {}
|
|
22618
22628
|
}) => {
|
|
22619
|
-
const u = useRef(null), [p, g] = useState("3"), [d,
|
|
22629
|
+
const u = useRef(null), [p, g] = useState("3"), [d, S] = useState("Arial"), [m, f] = useState({
|
|
22620
22630
|
bold: !1,
|
|
22621
22631
|
italic: !1,
|
|
22622
22632
|
underline: !1,
|
|
@@ -22650,7 +22660,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22650
22660
|
justifyRight: T("justifyRight"),
|
|
22651
22661
|
justifyFull: T("justifyFull")
|
|
22652
22662
|
});
|
|
22653
|
-
}, [T]),
|
|
22663
|
+
}, [T]), E = useCallback((P, I = "") => {
|
|
22654
22664
|
var A, D;
|
|
22655
22665
|
const F = saveSelection(), $ = document.getSelection();
|
|
22656
22666
|
if (P === "createLink") {
|
|
@@ -22667,16 +22677,16 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22667
22677
|
const z = `<img src="${B}" alt="image" style="max-width: 100%; height: auto;"/>`;
|
|
22668
22678
|
document.execCommand("insertHTML", !1, z);
|
|
22669
22679
|
}
|
|
22670
|
-
} else P === "fontSize" || P === "fontName" ? (restoreSelection(F), document.execCommand(P, !0, I), P === "fontSize" ? g(I) :
|
|
22680
|
+
} else P === "fontSize" || P === "fontName" ? (restoreSelection(F), document.execCommand(P, !0, I), P === "fontSize" ? g(I) : S(I)) : (restoreSelection(F), document.execCommand(P, !1, I));
|
|
22671
22681
|
u.current && (t == null || t(u.current.innerHTML)), (D = u.current) == null || D.focus(), y();
|
|
22672
22682
|
}, [t, y]), x = (P) => {
|
|
22673
22683
|
if (P.key === "Tab" && (P.preventDefault(), document.execCommand("insertHTML", !1, " ")), P.ctrlKey || P.metaKey)
|
|
22674
22684
|
switch (P.key.toLowerCase()) {
|
|
22675
22685
|
case "z":
|
|
22676
|
-
P.preventDefault(), P.shiftKey ?
|
|
22686
|
+
P.preventDefault(), P.shiftKey ? E("redo") : E("undo");
|
|
22677
22687
|
break;
|
|
22678
22688
|
case "y":
|
|
22679
|
-
P.preventDefault(),
|
|
22689
|
+
P.preventDefault(), E("redo");
|
|
22680
22690
|
break;
|
|
22681
22691
|
}
|
|
22682
22692
|
}, b = [
|
|
@@ -22711,7 +22721,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22711
22721
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22712
22722
|
"button",
|
|
22713
22723
|
{
|
|
22714
|
-
onClick: () =>
|
|
22724
|
+
onClick: () => E("bold"),
|
|
22715
22725
|
className: `toolbar-button ${m.bold ? "active" : ""}`,
|
|
22716
22726
|
title: "Bold",
|
|
22717
22727
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("strong", { children: "B" })
|
|
@@ -22720,7 +22730,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22720
22730
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22721
22731
|
"button",
|
|
22722
22732
|
{
|
|
22723
|
-
onClick: () =>
|
|
22733
|
+
onClick: () => E("italic"),
|
|
22724
22734
|
className: `toolbar-button ${m.italic ? "active" : ""}`,
|
|
22725
22735
|
title: "Italic",
|
|
22726
22736
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("em", { children: "I" })
|
|
@@ -22729,7 +22739,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22729
22739
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22730
22740
|
"button",
|
|
22731
22741
|
{
|
|
22732
|
-
onClick: () =>
|
|
22742
|
+
onClick: () => E("underline"),
|
|
22733
22743
|
className: `toolbar-button ${m.underline ? "active" : ""}`,
|
|
22734
22744
|
title: "Underline",
|
|
22735
22745
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("u", { children: "U" })
|
|
@@ -22738,7 +22748,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22738
22748
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22739
22749
|
"button",
|
|
22740
22750
|
{
|
|
22741
|
-
onClick: () =>
|
|
22751
|
+
onClick: () => E("strikeThrough"),
|
|
22742
22752
|
className: `toolbar-button ${m.strikeThrough ? "active" : ""}`,
|
|
22743
22753
|
title: "Strike Through",
|
|
22744
22754
|
children: /* @__PURE__ */ jsxRuntimeExports.jsx("s", { children: "S" })
|
|
@@ -22747,7 +22757,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22747
22757
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22748
22758
|
"button",
|
|
22749
22759
|
{
|
|
22750
|
-
onClick: () =>
|
|
22760
|
+
onClick: () => E("subscript"),
|
|
22751
22761
|
className: `toolbar-button ${m.subscript ? "active" : ""}`,
|
|
22752
22762
|
title: "Subscript",
|
|
22753
22763
|
children: "X₂"
|
|
@@ -22756,7 +22766,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22756
22766
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22757
22767
|
"button",
|
|
22758
22768
|
{
|
|
22759
|
-
onClick: () =>
|
|
22769
|
+
onClick: () => E("superscript"),
|
|
22760
22770
|
className: `toolbar-button ${m.superscript ? "active" : ""}`,
|
|
22761
22771
|
title: "Superscript",
|
|
22762
22772
|
children: "X²"
|
|
@@ -22765,7 +22775,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22765
22775
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22766
22776
|
"button",
|
|
22767
22777
|
{
|
|
22768
|
-
onClick: () =>
|
|
22778
|
+
onClick: () => E("justifyLeft"),
|
|
22769
22779
|
className: `toolbar-button ${m.justifyLeft ? "active" : ""}`,
|
|
22770
22780
|
title: "Align Left",
|
|
22771
22781
|
children: "⇤"
|
|
@@ -22774,7 +22784,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22774
22784
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22775
22785
|
"button",
|
|
22776
22786
|
{
|
|
22777
|
-
onClick: () =>
|
|
22787
|
+
onClick: () => E("justifyCenter"),
|
|
22778
22788
|
className: `toolbar-button ${m.justifyCenter ? "active" : ""}`,
|
|
22779
22789
|
title: "Center",
|
|
22780
22790
|
children: "⇔"
|
|
@@ -22783,7 +22793,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22783
22793
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22784
22794
|
"button",
|
|
22785
22795
|
{
|
|
22786
|
-
onClick: () =>
|
|
22796
|
+
onClick: () => E("justifyRight"),
|
|
22787
22797
|
className: `toolbar-button ${m.justifyRight ? "active" : ""}`,
|
|
22788
22798
|
title: "Align Right",
|
|
22789
22799
|
children: "⇥"
|
|
@@ -22792,7 +22802,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22792
22802
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "toolbar-group", children: /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22793
22803
|
"button",
|
|
22794
22804
|
{
|
|
22795
|
-
onClick: () =>
|
|
22805
|
+
onClick: () => E("justifyFull"),
|
|
22796
22806
|
className: `toolbar-button ${m.justifyFull ? "active" : ""}`,
|
|
22797
22807
|
title: "Justify",
|
|
22798
22808
|
children: "≡"
|
|
@@ -22802,7 +22812,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22802
22812
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22803
22813
|
"button",
|
|
22804
22814
|
{
|
|
22805
|
-
onClick: () =>
|
|
22815
|
+
onClick: () => E("insertUnorderedList"),
|
|
22806
22816
|
className: "toolbar-button",
|
|
22807
22817
|
title: "Bullet List",
|
|
22808
22818
|
children: "●"
|
|
@@ -22811,7 +22821,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22811
22821
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
22812
22822
|
"button",
|
|
22813
22823
|
{
|
|
22814
|
-
onClick: () =>
|
|
22824
|
+
onClick: () => E("insertOrderedList"),
|
|
22815
22825
|
className: "toolbar-button",
|
|
22816
22826
|
title: "Numbered List",
|
|
22817
22827
|
children: "1. 2. 3."
|
|
@@ -22822,7 +22832,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22822
22832
|
"select",
|
|
22823
22833
|
{
|
|
22824
22834
|
value: p,
|
|
22825
|
-
onChange: (P) =>
|
|
22835
|
+
onChange: (P) => E("fontSize", P.target.value),
|
|
22826
22836
|
className: "toolbar-select",
|
|
22827
22837
|
title: "Font Size",
|
|
22828
22838
|
children: b.map((P) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: P.value, children: P.label }, P.value))
|
|
@@ -22832,19 +22842,19 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22832
22842
|
"select",
|
|
22833
22843
|
{
|
|
22834
22844
|
value: d,
|
|
22835
|
-
onChange: (P) =>
|
|
22845
|
+
onChange: (P) => E("fontName", P.target.value),
|
|
22836
22846
|
className: "toolbar-select",
|
|
22837
22847
|
title: "Font Family",
|
|
22838
22848
|
children: C.map((P) => /* @__PURE__ */ jsxRuntimeExports.jsx("option", { value: P, children: P }, P))
|
|
22839
22849
|
}
|
|
22840
22850
|
) }),
|
|
22841
22851
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "toolbar-group", children: [
|
|
22842
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () =>
|
|
22843
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () =>
|
|
22852
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () => E("createLink"), className: "toolbar-button", title: "Insert Link", children: "🔗" }),
|
|
22853
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () => E("insertImage"), className: "toolbar-button", title: "Insert Image", children: "📷" })
|
|
22844
22854
|
] }),
|
|
22845
22855
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "toolbar-group", children: [
|
|
22846
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () =>
|
|
22847
|
-
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () =>
|
|
22856
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () => E("undo"), className: "toolbar-button", title: "Undo (Ctrl+Z)", children: "↩" }),
|
|
22857
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("button", { onClick: () => E("redo"), className: "toolbar-button", title: "Redo (Ctrl+Y)", children: "↪" })
|
|
22848
22858
|
] })
|
|
22849
22859
|
] }),
|
|
22850
22860
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -22908,7 +22918,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22908
22918
|
initialTime: i = "",
|
|
22909
22919
|
className: s = ""
|
|
22910
22920
|
}) => {
|
|
22911
|
-
const [n, o] = useState(!1), [a, l] = useState(i), [c, u] = useState("12"), [p, g] = useState("00"), [d,
|
|
22921
|
+
const [n, o] = useState(!1), [a, l] = useState(i), [c, u] = useState("12"), [p, g] = useState("00"), [d, S] = useState("AM"), [m, f] = useState(!1), [T, y] = useState(""), [E, x] = useState(""), b = useRef(null), C = Array.from({ length: 12 }, (N, M) => String(M + 1).padStart(2, "0")), P = Array.from({ length: 60 }, (N, M) => String(M).padStart(2, "0")), I = (N, M) => {
|
|
22912
22922
|
if (!N) return "";
|
|
22913
22923
|
const O = parseInt(N);
|
|
22914
22924
|
return M === "hours" ? O > 12 ? "12" : O === 0 ? "01" : N.padStart(2, "0") : O > 59 ? "59" : N.padStart(2, "0");
|
|
@@ -22956,7 +22966,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22956
22966
|
const V = M.substring(M.lastIndexOf(" ") + 1).toUpperCase();
|
|
22957
22967
|
V.startsWith("A") ? (k = "AM", j = `${c}:${p} AM`) : V.startsWith("P") && (k = "PM", j = `${c}:${p} PM`);
|
|
22958
22968
|
}
|
|
22959
|
-
u(R), g(_),
|
|
22969
|
+
u(R), g(_), S(k), l(j), o(!1), t == null || t(j);
|
|
22960
22970
|
}, $ = (N) => {
|
|
22961
22971
|
if (![
|
|
22962
22972
|
"Backspace",
|
|
@@ -22997,8 +23007,8 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
22997
23007
|
}
|
|
22998
23008
|
N.currentTarget.setSelectionRange(3, 5);
|
|
22999
23009
|
} else if (O >= 3 && O <= 5) {
|
|
23000
|
-
if (
|
|
23001
|
-
const R = I(
|
|
23010
|
+
if (E) {
|
|
23011
|
+
const R = I(E, "minutes");
|
|
23002
23012
|
g(R), x(""), l(`${c}:${R} ${d}`);
|
|
23003
23013
|
}
|
|
23004
23014
|
N.currentTarget.setSelectionRange(6, 8);
|
|
@@ -23011,14 +23021,14 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
23011
23021
|
o(!0), f(!0);
|
|
23012
23022
|
}, B = (N, M) => {
|
|
23013
23023
|
const O = N === "hours" ? M : c, R = N === "minutes" ? M : p, _ = N === "period" ? M : d;
|
|
23014
|
-
u(O), g(R),
|
|
23024
|
+
u(O), g(R), S(_);
|
|
23015
23025
|
const k = `${O}:${R} ${_}`;
|
|
23016
23026
|
l(k), t == null || t(k);
|
|
23017
23027
|
}, z = () => {
|
|
23018
23028
|
const N = `${c}:${p} ${d}`;
|
|
23019
23029
|
l(N), o(!1), t == null || t(N);
|
|
23020
23030
|
}, U = () => {
|
|
23021
|
-
l(""), u("12"), g("00"),
|
|
23031
|
+
l(""), u("12"), g("00"), S("AM"), o(!1), f(!1);
|
|
23022
23032
|
};
|
|
23023
23033
|
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `time-picker-container ${s}`, children: [
|
|
23024
23034
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `time-picker-input ${n || m ? "active" : ""}`, children: [
|
|
@@ -23100,7 +23110,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
23100
23110
|
boxClass: s = "",
|
|
23101
23111
|
buttonClass: n = ""
|
|
23102
23112
|
}) => {
|
|
23103
|
-
const [o, a] = useState([]), [l, c] = useState([]), [u, p] = useState(!0), [g, d] = useState(null), [
|
|
23113
|
+
const [o, a] = useState([]), [l, c] = useState([]), [u, p] = useState(!0), [g, d] = useState(null), [S, m] = useState(/* @__PURE__ */ new Set()), [f, T] = useState(/* @__PURE__ */ new Set());
|
|
23104
23114
|
useEffect(() => {
|
|
23105
23115
|
(async () => {
|
|
23106
23116
|
var P, I;
|
|
@@ -23119,10 +23129,10 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
23119
23129
|
}, []);
|
|
23120
23130
|
const y = (C) => {
|
|
23121
23131
|
if (C === "available") {
|
|
23122
|
-
const P = o.filter((F) =>
|
|
23132
|
+
const P = o.filter((F) => S.has(F.id)).sort((F, $) => {
|
|
23123
23133
|
const A = parseInt(F.id.replace(/\D/g, "")), D = parseInt($.id.replace(/\D/g, ""));
|
|
23124
23134
|
return A - D;
|
|
23125
|
-
}), I = o.filter((F) => !
|
|
23135
|
+
}), I = o.filter((F) => !S.has(F.id));
|
|
23126
23136
|
a(I), c((F) => [...F, ...P].sort((A, D) => {
|
|
23127
23137
|
const B = parseInt(A.id.replace(/\D/g, "")), z = parseInt(D.id.replace(/\D/g, ""));
|
|
23128
23138
|
return B - z;
|
|
@@ -23138,7 +23148,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
23138
23148
|
})), T(/* @__PURE__ */ new Set());
|
|
23139
23149
|
}
|
|
23140
23150
|
t(l, o);
|
|
23141
|
-
},
|
|
23151
|
+
}, E = (C, P, I) => {
|
|
23142
23152
|
I((F) => {
|
|
23143
23153
|
const $ = new Set(F);
|
|
23144
23154
|
return $.has(C) ? $.delete(C) : $.add(C), $;
|
|
@@ -23175,7 +23185,7 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
23175
23185
|
label: U.label,
|
|
23176
23186
|
checked: P.has(U.id),
|
|
23177
23187
|
disabled: U.disabled,
|
|
23178
|
-
onChange: () =>
|
|
23188
|
+
onChange: () => E(U.id, P, I)
|
|
23179
23189
|
},
|
|
23180
23190
|
U.id
|
|
23181
23191
|
)) })
|
|
@@ -23185,14 +23195,14 @@ const ViewColumnIcon = createSvgIcon(/* @__PURE__ */ jsxRuntimeExports.jsx("path
|
|
|
23185
23195
|
"Error: ",
|
|
23186
23196
|
g
|
|
23187
23197
|
] }) : /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: `transfer-list-container ${i}`, children: [
|
|
23188
|
-
b(o,
|
|
23198
|
+
b(o, S, m, "Choices"),
|
|
23189
23199
|
/* @__PURE__ */ jsxRuntimeExports.jsxs("div", { className: "transfer-buttons", children: [
|
|
23190
23200
|
/* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
23191
23201
|
CETransferButton,
|
|
23192
23202
|
{
|
|
23193
23203
|
label: ">>",
|
|
23194
23204
|
onClick: () => y("available"),
|
|
23195
|
-
disabled:
|
|
23205
|
+
disabled: S.size === 0,
|
|
23196
23206
|
className: n
|
|
23197
23207
|
}
|
|
23198
23208
|
),
|