@gardenfi/garden-book 0.0.35 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/Icons/index.d.ts +35 -37
- package/dist/components/atoms/Logo/index.d.ts +28 -30
- package/dist/components/molecules/InfoBadge/InfoBadge.stories.d.ts +0 -1
- package/dist/index.d.ts +1 -0
- package/dist/style.css +1 -1
- package/dist/ui.cjs.js +5 -5
- package/dist/ui.es.js +936 -686
- package/dist/ui.umd.js +5 -5
- package/package.json +1 -1
- package/dist/utils/GardenShell.d.ts +0 -8
package/dist/ui.es.js
CHANGED
|
@@ -1,16 +1,57 @@
|
|
|
1
1
|
import { jsx, jsxs, Fragment } from "react/jsx-runtime";
|
|
2
2
|
import React, { useEffect, useState, useRef, forwardRef } from "react";
|
|
3
3
|
function r$1(e) {
|
|
4
|
+
var t, i, s = "";
|
|
5
|
+
if (typeof e == "string" || typeof e == "number") s += e;
|
|
6
|
+
else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (i = r$1(e[t])) && (s && (s += " "), s += i);
|
|
7
|
+
else for (t in e) e[t] && (s && (s += " "), s += t);
|
|
8
|
+
return s;
|
|
9
|
+
}
|
|
10
|
+
function clsx$1() {
|
|
11
|
+
for (var e, t, i = 0, s = ""; i < arguments.length; ) (e = arguments[i++]) && (t = r$1(e)) && (s && (s += " "), s += t);
|
|
12
|
+
return s;
|
|
13
|
+
}
|
|
14
|
+
const falsyToString = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, cx = clsx$1, cva = (e, t) => (i) => {
|
|
15
|
+
var s;
|
|
16
|
+
if ((t == null ? void 0 : t.variants) == null) return cx(e, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
17
|
+
const { variants: n, defaultVariants: a } = t, o = Object.keys(n).map((c) => {
|
|
18
|
+
const m = i == null ? void 0 : i[c], E = a == null ? void 0 : a[c];
|
|
19
|
+
if (m === null) return null;
|
|
20
|
+
const u = falsyToString(m) || falsyToString(E);
|
|
21
|
+
return n[c][u];
|
|
22
|
+
}), f = i && Object.entries(i).reduce((c, m) => {
|
|
23
|
+
let [E, u] = m;
|
|
24
|
+
return u === void 0 || (c[E] = u), c;
|
|
25
|
+
}, {}), l = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((c, m) => {
|
|
26
|
+
let { class: E, className: u, ...P } = m;
|
|
27
|
+
return Object.entries(P).every((C) => {
|
|
28
|
+
let [y, M] = C;
|
|
29
|
+
return Array.isArray(M) ? M.includes({
|
|
30
|
+
...a,
|
|
31
|
+
...f
|
|
32
|
+
}[y]) : {
|
|
33
|
+
...a,
|
|
34
|
+
...f
|
|
35
|
+
}[y] === M;
|
|
36
|
+
}) ? [
|
|
37
|
+
...c,
|
|
38
|
+
E,
|
|
39
|
+
u
|
|
40
|
+
] : c;
|
|
41
|
+
}, []);
|
|
42
|
+
return cx(e, o, l, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
43
|
+
};
|
|
44
|
+
function r(e) {
|
|
4
45
|
var t, i, s = "";
|
|
5
46
|
if (typeof e == "string" || typeof e == "number") s += e;
|
|
6
47
|
else if (typeof e == "object") if (Array.isArray(e)) {
|
|
7
48
|
var n = e.length;
|
|
8
|
-
for (t = 0; t < n; t++) e[t] && (i = r
|
|
49
|
+
for (t = 0; t < n; t++) e[t] && (i = r(e[t])) && (s && (s += " "), s += i);
|
|
9
50
|
} else for (i in e) e[i] && (s && (s += " "), s += i);
|
|
10
51
|
return s;
|
|
11
52
|
}
|
|
12
|
-
function clsx
|
|
13
|
-
for (var e, t, i = 0, s = "", n = arguments.length; i < n; i++) (e = arguments[i]) && (t = r
|
|
53
|
+
function clsx() {
|
|
54
|
+
for (var e, t, i = 0, s = "", n = arguments.length; i < n; i++) (e = arguments[i]) && (t = r(e)) && (s && (s += " "), s += t);
|
|
14
55
|
return s;
|
|
15
56
|
}
|
|
16
57
|
const CLASS_PART_SEPARATOR = "-";
|
|
@@ -155,12 +196,12 @@ function createParseClassName(e) {
|
|
|
155
196
|
}
|
|
156
197
|
d === "[" ? c++ : d === "]" && c--;
|
|
157
198
|
}
|
|
158
|
-
const u = l.length === 0 ? f : f.substring(m), P = u.startsWith(IMPORTANT_MODIFIER), C = P ? u.substring(1) : u,
|
|
199
|
+
const u = l.length === 0 ? f : f.substring(m), P = u.startsWith(IMPORTANT_MODIFIER), C = P ? u.substring(1) : u, y = E && E > m ? E - m : void 0;
|
|
159
200
|
return {
|
|
160
201
|
modifiers: l,
|
|
161
202
|
hasImportantModifier: P,
|
|
162
203
|
baseClassName: C,
|
|
163
|
-
maybePostfixModifierPosition:
|
|
204
|
+
maybePostfixModifierPosition: y
|
|
164
205
|
};
|
|
165
206
|
}
|
|
166
207
|
return i ? function(l) {
|
|
@@ -327,7 +368,7 @@ function isImage(e) {
|
|
|
327
368
|
return imageRegex.test(e);
|
|
328
369
|
}
|
|
329
370
|
function getDefaultConfig() {
|
|
330
|
-
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), s = fromTheme("brightness"), n = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), f = fromTheme("borderWidth"), l = fromTheme("contrast"), c = fromTheme("grayscale"), m = fromTheme("hueRotate"), E = fromTheme("invert"), u = fromTheme("gap"), P = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"),
|
|
371
|
+
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), s = fromTheme("brightness"), n = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), f = fromTheme("borderWidth"), l = fromTheme("contrast"), c = fromTheme("grayscale"), m = fromTheme("hueRotate"), E = fromTheme("invert"), u = fromTheme("gap"), P = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), y = fromTheme("inset"), M = fromTheme("margin"), d = fromTheme("opacity"), g = fromTheme("padding"), p = fromTheme("saturate"), b = fromTheme("scale"), L = fromTheme("sepia"), A = fromTheme("skew"), T = fromTheme("space"), k = fromTheme("translate"), R = () => ["auto", "contain", "none"], X = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", isArbitraryValue, t], j = () => [isArbitraryValue, t], Y = () => ["", isLength, isArbitraryLength], U = () => ["auto", isNumber, isArbitraryValue], Z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], _ = () => ["solid", "dashed", "dotted", "double", "none"], I = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], S = () => ["", "0", isArbitraryValue], B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [isNumber, isArbitraryNumber], G = () => [isNumber, isArbitraryValue];
|
|
331
372
|
return {
|
|
332
373
|
cacheSize: 500,
|
|
333
374
|
separator: ":",
|
|
@@ -504,63 +545,63 @@ function getDefaultConfig() {
|
|
|
504
545
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
505
546
|
*/
|
|
506
547
|
inset: [{
|
|
507
|
-
inset: [
|
|
548
|
+
inset: [y]
|
|
508
549
|
}],
|
|
509
550
|
/**
|
|
510
551
|
* Right / Left
|
|
511
552
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
512
553
|
*/
|
|
513
554
|
"inset-x": [{
|
|
514
|
-
"inset-x": [
|
|
555
|
+
"inset-x": [y]
|
|
515
556
|
}],
|
|
516
557
|
/**
|
|
517
558
|
* Top / Bottom
|
|
518
559
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
519
560
|
*/
|
|
520
561
|
"inset-y": [{
|
|
521
|
-
"inset-y": [
|
|
562
|
+
"inset-y": [y]
|
|
522
563
|
}],
|
|
523
564
|
/**
|
|
524
565
|
* Start
|
|
525
566
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
526
567
|
*/
|
|
527
568
|
start: [{
|
|
528
|
-
start: [
|
|
569
|
+
start: [y]
|
|
529
570
|
}],
|
|
530
571
|
/**
|
|
531
572
|
* End
|
|
532
573
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
533
574
|
*/
|
|
534
575
|
end: [{
|
|
535
|
-
end: [
|
|
576
|
+
end: [y]
|
|
536
577
|
}],
|
|
537
578
|
/**
|
|
538
579
|
* Top
|
|
539
580
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
540
581
|
*/
|
|
541
582
|
top: [{
|
|
542
|
-
top: [
|
|
583
|
+
top: [y]
|
|
543
584
|
}],
|
|
544
585
|
/**
|
|
545
586
|
* Right
|
|
546
587
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
547
588
|
*/
|
|
548
589
|
right: [{
|
|
549
|
-
right: [
|
|
590
|
+
right: [y]
|
|
550
591
|
}],
|
|
551
592
|
/**
|
|
552
593
|
* Bottom
|
|
553
594
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
554
595
|
*/
|
|
555
596
|
bottom: [{
|
|
556
|
-
bottom: [
|
|
597
|
+
bottom: [y]
|
|
557
598
|
}],
|
|
558
599
|
/**
|
|
559
600
|
* Left
|
|
560
601
|
* @see https://tailwindcss.com/docs/top-right-bottom-left
|
|
561
602
|
*/
|
|
562
603
|
left: [{
|
|
563
|
-
left: [
|
|
604
|
+
left: [y]
|
|
564
605
|
}],
|
|
565
606
|
/**
|
|
566
607
|
* Visibility
|
|
@@ -795,63 +836,63 @@ function getDefaultConfig() {
|
|
|
795
836
|
* @see https://tailwindcss.com/docs/padding
|
|
796
837
|
*/
|
|
797
838
|
p: [{
|
|
798
|
-
p: [
|
|
839
|
+
p: [g]
|
|
799
840
|
}],
|
|
800
841
|
/**
|
|
801
842
|
* Padding X
|
|
802
843
|
* @see https://tailwindcss.com/docs/padding
|
|
803
844
|
*/
|
|
804
845
|
px: [{
|
|
805
|
-
px: [
|
|
846
|
+
px: [g]
|
|
806
847
|
}],
|
|
807
848
|
/**
|
|
808
849
|
* Padding Y
|
|
809
850
|
* @see https://tailwindcss.com/docs/padding
|
|
810
851
|
*/
|
|
811
852
|
py: [{
|
|
812
|
-
py: [
|
|
853
|
+
py: [g]
|
|
813
854
|
}],
|
|
814
855
|
/**
|
|
815
856
|
* Padding Start
|
|
816
857
|
* @see https://tailwindcss.com/docs/padding
|
|
817
858
|
*/
|
|
818
859
|
ps: [{
|
|
819
|
-
ps: [
|
|
860
|
+
ps: [g]
|
|
820
861
|
}],
|
|
821
862
|
/**
|
|
822
863
|
* Padding End
|
|
823
864
|
* @see https://tailwindcss.com/docs/padding
|
|
824
865
|
*/
|
|
825
866
|
pe: [{
|
|
826
|
-
pe: [
|
|
867
|
+
pe: [g]
|
|
827
868
|
}],
|
|
828
869
|
/**
|
|
829
870
|
* Padding Top
|
|
830
871
|
* @see https://tailwindcss.com/docs/padding
|
|
831
872
|
*/
|
|
832
873
|
pt: [{
|
|
833
|
-
pt: [
|
|
874
|
+
pt: [g]
|
|
834
875
|
}],
|
|
835
876
|
/**
|
|
836
877
|
* Padding Right
|
|
837
878
|
* @see https://tailwindcss.com/docs/padding
|
|
838
879
|
*/
|
|
839
880
|
pr: [{
|
|
840
|
-
pr: [
|
|
881
|
+
pr: [g]
|
|
841
882
|
}],
|
|
842
883
|
/**
|
|
843
884
|
* Padding Bottom
|
|
844
885
|
* @see https://tailwindcss.com/docs/padding
|
|
845
886
|
*/
|
|
846
887
|
pb: [{
|
|
847
|
-
pb: [
|
|
888
|
+
pb: [g]
|
|
848
889
|
}],
|
|
849
890
|
/**
|
|
850
891
|
* Padding Left
|
|
851
892
|
* @see https://tailwindcss.com/docs/padding
|
|
852
893
|
*/
|
|
853
894
|
pl: [{
|
|
854
|
-
pl: [
|
|
895
|
+
pl: [g]
|
|
855
896
|
}],
|
|
856
897
|
/**
|
|
857
898
|
* Margin
|
|
@@ -2342,48 +2383,7 @@ function getDefaultConfig() {
|
|
|
2342
2383
|
}
|
|
2343
2384
|
};
|
|
2344
2385
|
}
|
|
2345
|
-
const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig), cn = (...e) => twMerge(clsx
|
|
2346
|
-
function r(e) {
|
|
2347
|
-
var t, i, s = "";
|
|
2348
|
-
if (typeof e == "string" || typeof e == "number") s += e;
|
|
2349
|
-
else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (i = r(e[t])) && (s && (s += " "), s += i);
|
|
2350
|
-
else for (t in e) e[t] && (s && (s += " "), s += t);
|
|
2351
|
-
return s;
|
|
2352
|
-
}
|
|
2353
|
-
function clsx() {
|
|
2354
|
-
for (var e, t, i = 0, s = ""; i < arguments.length; ) (e = arguments[i++]) && (t = r(e)) && (s && (s += " "), s += t);
|
|
2355
|
-
return s;
|
|
2356
|
-
}
|
|
2357
|
-
const falsyToString = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, cx = clsx, cva = (e, t) => (i) => {
|
|
2358
|
-
var s;
|
|
2359
|
-
if ((t == null ? void 0 : t.variants) == null) return cx(e, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
2360
|
-
const { variants: n, defaultVariants: a } = t, o = Object.keys(n).map((c) => {
|
|
2361
|
-
const m = i == null ? void 0 : i[c], E = a == null ? void 0 : a[c];
|
|
2362
|
-
if (m === null) return null;
|
|
2363
|
-
const u = falsyToString(m) || falsyToString(E);
|
|
2364
|
-
return n[c][u];
|
|
2365
|
-
}), f = i && Object.entries(i).reduce((c, m) => {
|
|
2366
|
-
let [E, u] = m;
|
|
2367
|
-
return u === void 0 || (c[E] = u), c;
|
|
2368
|
-
}, {}), l = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((c, m) => {
|
|
2369
|
-
let { class: E, className: u, ...P } = m;
|
|
2370
|
-
return Object.entries(P).every((C) => {
|
|
2371
|
-
let [g, M] = C;
|
|
2372
|
-
return Array.isArray(M) ? M.includes({
|
|
2373
|
-
...a,
|
|
2374
|
-
...f
|
|
2375
|
-
}[g]) : {
|
|
2376
|
-
...a,
|
|
2377
|
-
...f
|
|
2378
|
-
}[g] === M;
|
|
2379
|
-
}) ? [
|
|
2380
|
-
...c,
|
|
2381
|
-
E,
|
|
2382
|
-
u
|
|
2383
|
-
] : c;
|
|
2384
|
-
}, []);
|
|
2385
|
-
return cx(e, o, l, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
2386
|
-
};
|
|
2386
|
+
const twMerge = /* @__PURE__ */ createTailwindMerge(getDefaultConfig), cn = (...e) => twMerge(clsx(e));
|
|
2387
2387
|
var commonjsGlobal = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
2388
2388
|
function getDefaultExportFromCjs(e) {
|
|
2389
2389
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
@@ -2708,7 +2708,7 @@ var lottie$1 = { exports: {} };
|
|
|
2708
2708
|
Z[I].t === 1 && (Z[I].data.layers = p(Z[I].data.refId, _), M(Z[I].data.layers, _));
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
|
-
function
|
|
2711
|
+
function g(Z, _) {
|
|
2712
2712
|
for (var I = 0, x = _.length; I < x; ) {
|
|
2713
2713
|
if (_[I].id === Z)
|
|
2714
2714
|
return _[I];
|
|
@@ -2717,7 +2717,7 @@ var lottie$1 = { exports: {} };
|
|
|
2717
2717
|
return null;
|
|
2718
2718
|
}
|
|
2719
2719
|
function p(Z, _) {
|
|
2720
|
-
var I =
|
|
2720
|
+
var I = g(Z, _);
|
|
2721
2721
|
return I ? I.layers.__used ? JSON.parse(JSON.stringify(I.layers)) : (I.layers.__used = !0, I.layers) : null;
|
|
2722
2722
|
}
|
|
2723
2723
|
function b(Z) {
|
|
@@ -2926,11 +2926,11 @@ var lottie$1 = { exports: {} };
|
|
|
2926
2926
|
return U.completeData = j, U.checkColors = X, U.checkChars = k, U.checkPathProperties = R, U.checkShapes = N, U.completeLayers = M, U;
|
|
2927
2927
|
}
|
|
2928
2928
|
if (a.dataManager || (a.dataManager = C()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ function() {
|
|
2929
|
-
function M(
|
|
2930
|
-
var p =
|
|
2931
|
-
return p &&
|
|
2929
|
+
function M(g) {
|
|
2930
|
+
var p = g.getResponseHeader("content-type");
|
|
2931
|
+
return p && g.responseType === "json" && p.indexOf("json") !== -1 || g.response && _typeof$5(g.response) === "object" ? g.response : g.response && typeof g.response == "string" ? JSON.parse(g.response) : g.responseText ? JSON.parse(g.responseText) : null;
|
|
2932
2932
|
}
|
|
2933
|
-
function d(
|
|
2933
|
+
function d(g, p, b, L) {
|
|
2934
2934
|
var A, T = new XMLHttpRequest();
|
|
2935
2935
|
try {
|
|
2936
2936
|
T.responseType = "json";
|
|
@@ -2948,9 +2948,9 @@ var lottie$1 = { exports: {} };
|
|
|
2948
2948
|
}
|
|
2949
2949
|
};
|
|
2950
2950
|
try {
|
|
2951
|
-
T.open(["G", "E", "T"].join(""),
|
|
2951
|
+
T.open(["G", "E", "T"].join(""), g, !0);
|
|
2952
2952
|
} catch {
|
|
2953
|
-
T.open(["G", "E", "T"].join(""), p + "/" +
|
|
2953
|
+
T.open(["G", "E", "T"].join(""), p + "/" + g, !0);
|
|
2954
2954
|
}
|
|
2955
2955
|
T.send();
|
|
2956
2956
|
}
|
|
@@ -2971,10 +2971,10 @@ var lottie$1 = { exports: {} };
|
|
|
2971
2971
|
});
|
|
2972
2972
|
});
|
|
2973
2973
|
else if (P.data.type === "complete") {
|
|
2974
|
-
var
|
|
2975
|
-
a.dataManager.completeData(
|
|
2974
|
+
var y = P.data.animation;
|
|
2975
|
+
a.dataManager.completeData(y), a.postMessage({
|
|
2976
2976
|
id: P.data.id,
|
|
2977
|
-
payload:
|
|
2977
|
+
payload: y,
|
|
2978
2978
|
status: "success"
|
|
2979
2979
|
});
|
|
2980
2980
|
} else P.data.type === "loadData" && a.assetLoader.load(P.data.path, P.data.fullPath, function(M) {
|
|
@@ -2990,8 +2990,8 @@ var lottie$1 = { exports: {} };
|
|
|
2990
2990
|
});
|
|
2991
2991
|
});
|
|
2992
2992
|
}), s.onmessage = function(u) {
|
|
2993
|
-
var P = u.data, C = P.id,
|
|
2994
|
-
t[C] = null, P.status === "success" ?
|
|
2993
|
+
var P = u.data, C = P.id, y = t[C];
|
|
2994
|
+
t[C] = null, P.status === "success" ? y.onComplete(P.payload) : y.onError && y.onError();
|
|
2995
2995
|
});
|
|
2996
2996
|
}
|
|
2997
2997
|
function l(u, P) {
|
|
@@ -3004,31 +3004,31 @@ var lottie$1 = { exports: {} };
|
|
|
3004
3004
|
}
|
|
3005
3005
|
function c(u, P, C) {
|
|
3006
3006
|
f();
|
|
3007
|
-
var
|
|
3007
|
+
var y = l(P, C);
|
|
3008
3008
|
s.postMessage({
|
|
3009
3009
|
type: "loadAnimation",
|
|
3010
3010
|
path: u,
|
|
3011
3011
|
fullPath: window.location.origin + window.location.pathname,
|
|
3012
|
-
id:
|
|
3012
|
+
id: y
|
|
3013
3013
|
});
|
|
3014
3014
|
}
|
|
3015
3015
|
function m(u, P, C) {
|
|
3016
3016
|
f();
|
|
3017
|
-
var
|
|
3017
|
+
var y = l(P, C);
|
|
3018
3018
|
s.postMessage({
|
|
3019
3019
|
type: "loadData",
|
|
3020
3020
|
path: u,
|
|
3021
3021
|
fullPath: window.location.origin + window.location.pathname,
|
|
3022
|
-
id:
|
|
3022
|
+
id: y
|
|
3023
3023
|
});
|
|
3024
3024
|
}
|
|
3025
3025
|
function E(u, P, C) {
|
|
3026
3026
|
f();
|
|
3027
|
-
var
|
|
3027
|
+
var y = l(P, C);
|
|
3028
3028
|
s.postMessage({
|
|
3029
3029
|
type: "complete",
|
|
3030
3030
|
animation: u,
|
|
3031
|
-
id:
|
|
3031
|
+
id: y
|
|
3032
3032
|
});
|
|
3033
3033
|
}
|
|
3034
3034
|
return {
|
|
@@ -3040,8 +3040,8 @@ var lottie$1 = { exports: {} };
|
|
|
3040
3040
|
var e = function() {
|
|
3041
3041
|
var d = createTag("canvas");
|
|
3042
3042
|
d.width = 1, d.height = 1;
|
|
3043
|
-
var
|
|
3044
|
-
return
|
|
3043
|
+
var g = d.getContext("2d");
|
|
3044
|
+
return g.fillStyle = "rgba(0,0,0,0)", g.fillRect(0, 0, 1, 1), d;
|
|
3045
3045
|
}();
|
|
3046
3046
|
function t() {
|
|
3047
3047
|
this.loadedAssets += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
|
|
@@ -3049,28 +3049,28 @@ var lottie$1 = { exports: {} };
|
|
|
3049
3049
|
function i() {
|
|
3050
3050
|
this.loadedFootagesCount += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
|
|
3051
3051
|
}
|
|
3052
|
-
function s(d,
|
|
3052
|
+
function s(d, g, p) {
|
|
3053
3053
|
var b = "";
|
|
3054
3054
|
if (d.e)
|
|
3055
3055
|
b = d.p;
|
|
3056
|
-
else if (
|
|
3056
|
+
else if (g) {
|
|
3057
3057
|
var L = d.p;
|
|
3058
|
-
L.indexOf("images/") !== -1 && (L = L.split("/")[1]), b =
|
|
3058
|
+
L.indexOf("images/") !== -1 && (L = L.split("/")[1]), b = g + L;
|
|
3059
3059
|
} else
|
|
3060
3060
|
b = p, b += d.u ? d.u : "", b += d.p;
|
|
3061
3061
|
return b;
|
|
3062
3062
|
}
|
|
3063
3063
|
function n(d) {
|
|
3064
|
-
var
|
|
3064
|
+
var g = 0, p = setInterval((function() {
|
|
3065
3065
|
var b = d.getBBox();
|
|
3066
|
-
(b.width ||
|
|
3066
|
+
(b.width || g > 500) && (this._imageLoaded(), clearInterval(p)), g += 1;
|
|
3067
3067
|
}).bind(this), 50);
|
|
3068
3068
|
}
|
|
3069
3069
|
function a(d) {
|
|
3070
|
-
var
|
|
3070
|
+
var g = s(d, this.assetsPath, this.path), p = createNS("image");
|
|
3071
3071
|
isSafari ? this.testImageLoaded(p) : p.addEventListener("load", this._imageLoaded, !1), p.addEventListener("error", (function() {
|
|
3072
3072
|
b.img = e, this._imageLoaded();
|
|
3073
|
-
}).bind(this), !1), p.setAttributeNS("http://www.w3.org/1999/xlink", "href",
|
|
3073
|
+
}).bind(this), !1), p.setAttributeNS("http://www.w3.org/1999/xlink", "href", g), this._elementHelper.append ? this._elementHelper.append(p) : this._elementHelper.appendChild(p);
|
|
3074
3074
|
var b = {
|
|
3075
3075
|
img: p,
|
|
3076
3076
|
assetData: d
|
|
@@ -3078,10 +3078,10 @@ var lottie$1 = { exports: {} };
|
|
|
3078
3078
|
return b;
|
|
3079
3079
|
}
|
|
3080
3080
|
function o(d) {
|
|
3081
|
-
var
|
|
3081
|
+
var g = s(d, this.assetsPath, this.path), p = createTag("img");
|
|
3082
3082
|
p.crossOrigin = "anonymous", p.addEventListener("load", this._imageLoaded, !1), p.addEventListener("error", (function() {
|
|
3083
3083
|
b.img = e, this._imageLoaded();
|
|
3084
|
-
}).bind(this), !1), p.src =
|
|
3084
|
+
}).bind(this), !1), p.src = g;
|
|
3085
3085
|
var b = {
|
|
3086
3086
|
img: p,
|
|
3087
3087
|
assetData: d
|
|
@@ -3089,17 +3089,17 @@ var lottie$1 = { exports: {} };
|
|
|
3089
3089
|
return b;
|
|
3090
3090
|
}
|
|
3091
3091
|
function f(d) {
|
|
3092
|
-
var
|
|
3092
|
+
var g = {
|
|
3093
3093
|
assetData: d
|
|
3094
3094
|
}, p = s(d, this.assetsPath, this.path);
|
|
3095
3095
|
return dataManager.loadData(p, (function(b) {
|
|
3096
|
-
|
|
3096
|
+
g.img = b, this._footageLoaded();
|
|
3097
3097
|
}).bind(this), (function() {
|
|
3098
|
-
|
|
3099
|
-
}).bind(this)),
|
|
3098
|
+
g.img = {}, this._footageLoaded();
|
|
3099
|
+
}).bind(this)), g;
|
|
3100
3100
|
}
|
|
3101
|
-
function l(d,
|
|
3102
|
-
this.imagesLoadedCb =
|
|
3101
|
+
function l(d, g) {
|
|
3102
|
+
this.imagesLoadedCb = g;
|
|
3103
3103
|
var p, b = d.length;
|
|
3104
3104
|
for (p = 0; p < b; p += 1)
|
|
3105
3105
|
d[p].layers || (!d[p].t || d[p].t === "seq" ? (this.totalImages += 1, this.images.push(this._createImageData(d[p]))) : d[p].t === 3 && (this.totalFootages += 1, this.images.push(this.createFootageData(d[p]))));
|
|
@@ -3111,10 +3111,10 @@ var lottie$1 = { exports: {} };
|
|
|
3111
3111
|
this.assetsPath = d || "";
|
|
3112
3112
|
}
|
|
3113
3113
|
function E(d) {
|
|
3114
|
-
for (var
|
|
3115
|
-
if (this.images[
|
|
3116
|
-
return this.images[
|
|
3117
|
-
|
|
3114
|
+
for (var g = 0, p = this.images.length; g < p; ) {
|
|
3115
|
+
if (this.images[g].assetData === d)
|
|
3116
|
+
return this.images[g].img;
|
|
3117
|
+
g += 1;
|
|
3118
3118
|
}
|
|
3119
3119
|
return null;
|
|
3120
3120
|
}
|
|
@@ -3127,8 +3127,8 @@ var lottie$1 = { exports: {} };
|
|
|
3127
3127
|
function C() {
|
|
3128
3128
|
return this.totalFootages === this.loadedFootagesCount;
|
|
3129
3129
|
}
|
|
3130
|
-
function
|
|
3131
|
-
d === "svg" ? (this._elementHelper =
|
|
3130
|
+
function y(d, g) {
|
|
3131
|
+
d === "svg" ? (this._elementHelper = g, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
|
|
3132
3132
|
}
|
|
3133
3133
|
function M() {
|
|
3134
3134
|
this._imageLoaded = t.bind(this), this._footageLoaded = i.bind(this), this.testImageLoaded = n.bind(this), this.createFootageData = f.bind(this), this.assetsPath = "", this.path = "", this.totalImages = 0, this.totalFootages = 0, this.loadedAssets = 0, this.loadedFootagesCount = 0, this.imagesLoadedCb = null, this.images = [];
|
|
@@ -3145,7 +3145,7 @@ var lottie$1 = { exports: {} };
|
|
|
3145
3145
|
createImageData: a,
|
|
3146
3146
|
imageLoaded: t,
|
|
3147
3147
|
footageLoaded: i,
|
|
3148
|
-
setCacheType:
|
|
3148
|
+
setCacheType: y
|
|
3149
3149
|
}, M;
|
|
3150
3150
|
}();
|
|
3151
3151
|
function BaseEvent() {
|
|
@@ -3514,7 +3514,7 @@ var lottie$1 = { exports: {} };
|
|
|
3514
3514
|
for (x = 0; x < s; x += 1)
|
|
3515
3515
|
t[x].animation.setSpeed(_, I);
|
|
3516
3516
|
}
|
|
3517
|
-
function
|
|
3517
|
+
function y(_, I) {
|
|
3518
3518
|
var x;
|
|
3519
3519
|
for (x = 0; x < s; x += 1)
|
|
3520
3520
|
t[x].animation.setDirection(_, I);
|
|
@@ -3530,7 +3530,7 @@ var lottie$1 = { exports: {} };
|
|
|
3530
3530
|
t[x].animation.advanceTime(I);
|
|
3531
3531
|
i = _, n && !o ? window.requestAnimationFrame(d) : a = !0;
|
|
3532
3532
|
}
|
|
3533
|
-
function
|
|
3533
|
+
function g(_) {
|
|
3534
3534
|
i = _, window.requestAnimationFrame(d);
|
|
3535
3535
|
}
|
|
3536
3536
|
function p(_) {
|
|
@@ -3576,7 +3576,7 @@ var lottie$1 = { exports: {} };
|
|
|
3576
3576
|
t[_].animation.resize();
|
|
3577
3577
|
}
|
|
3578
3578
|
function X() {
|
|
3579
|
-
!o && n && a && (window.requestAnimationFrame(
|
|
3579
|
+
!o && n && a && (window.requestAnimationFrame(g), a = !1);
|
|
3580
3580
|
}
|
|
3581
3581
|
function N() {
|
|
3582
3582
|
o = !0;
|
|
@@ -3599,52 +3599,52 @@ var lottie$1 = { exports: {} };
|
|
|
3599
3599
|
for (I = 0; I < s; I += 1)
|
|
3600
3600
|
t[I].animation.unmute(_);
|
|
3601
3601
|
}
|
|
3602
|
-
return e.registerAnimation = l, e.loadAnimation = P, e.setSpeed = C, e.setDirection =
|
|
3602
|
+
return e.registerAnimation = l, e.loadAnimation = P, e.setSpeed = C, e.setDirection = y, e.play = M, e.pause = p, e.stop = L, e.togglePause = A, e.searchAnimations = k, e.resize = R, e.goToAndStop = b, e.destroy = T, e.freeze = N, e.unfreeze = j, e.setVolume = Y, e.mute = U, e.unmute = Z, e.getRegisteredAnimations = c, e;
|
|
3603
3603
|
}(), BezierFactory = function() {
|
|
3604
3604
|
var e = {};
|
|
3605
3605
|
e.getBezierEasing = i;
|
|
3606
3606
|
var t = {};
|
|
3607
|
-
function i(
|
|
3608
|
-
var T = A || ("bez_" +
|
|
3607
|
+
function i(g, p, b, L, A) {
|
|
3608
|
+
var T = A || ("bez_" + g + "_" + p + "_" + b + "_" + L).replace(/\./g, "p");
|
|
3609
3609
|
if (t[T])
|
|
3610
3610
|
return t[T];
|
|
3611
|
-
var k = new d([
|
|
3611
|
+
var k = new d([g, p, b, L]);
|
|
3612
3612
|
return t[T] = k, k;
|
|
3613
3613
|
}
|
|
3614
3614
|
var s = 4, n = 1e-3, a = 1e-7, o = 10, f = 11, l = 1 / (f - 1), c = typeof Float32Array == "function";
|
|
3615
|
-
function m(
|
|
3616
|
-
return 1 - 3 * p + 3 *
|
|
3615
|
+
function m(g, p) {
|
|
3616
|
+
return 1 - 3 * p + 3 * g;
|
|
3617
3617
|
}
|
|
3618
|
-
function E(
|
|
3619
|
-
return 3 * p - 6 *
|
|
3618
|
+
function E(g, p) {
|
|
3619
|
+
return 3 * p - 6 * g;
|
|
3620
3620
|
}
|
|
3621
|
-
function u(
|
|
3622
|
-
return 3 *
|
|
3621
|
+
function u(g) {
|
|
3622
|
+
return 3 * g;
|
|
3623
3623
|
}
|
|
3624
|
-
function P(
|
|
3625
|
-
return ((m(p, b) *
|
|
3624
|
+
function P(g, p, b) {
|
|
3625
|
+
return ((m(p, b) * g + E(p, b)) * g + u(p)) * g;
|
|
3626
3626
|
}
|
|
3627
|
-
function C(
|
|
3628
|
-
return 3 * m(p, b) *
|
|
3627
|
+
function C(g, p, b) {
|
|
3628
|
+
return 3 * m(p, b) * g * g + 2 * E(p, b) * g + u(p);
|
|
3629
3629
|
}
|
|
3630
|
-
function g
|
|
3630
|
+
function y(g, p, b, L, A) {
|
|
3631
3631
|
var T, k, R = 0;
|
|
3632
3632
|
do
|
|
3633
|
-
k = p + (b - p) / 2, T = P(k, L, A) -
|
|
3633
|
+
k = p + (b - p) / 2, T = P(k, L, A) - g, T > 0 ? b = k : p = k;
|
|
3634
3634
|
while (Math.abs(T) > a && ++R < o);
|
|
3635
3635
|
return k;
|
|
3636
3636
|
}
|
|
3637
|
-
function M(
|
|
3637
|
+
function M(g, p, b, L) {
|
|
3638
3638
|
for (var A = 0; A < s; ++A) {
|
|
3639
3639
|
var T = C(p, b, L);
|
|
3640
3640
|
if (T === 0) return p;
|
|
3641
|
-
var k = P(p, b, L) -
|
|
3641
|
+
var k = P(p, b, L) - g;
|
|
3642
3642
|
p -= k / T;
|
|
3643
3643
|
}
|
|
3644
3644
|
return p;
|
|
3645
3645
|
}
|
|
3646
|
-
function d(
|
|
3647
|
-
this._p =
|
|
3646
|
+
function d(g) {
|
|
3647
|
+
this._p = g, this._mSampleValues = c ? new Float32Array(f) : new Array(f), this._precomputed = !1, this.get = this.get.bind(this);
|
|
3648
3648
|
}
|
|
3649
3649
|
return d.prototype = {
|
|
3650
3650
|
get: function(p) {
|
|
@@ -3668,7 +3668,7 @@ var lottie$1 = { exports: {} };
|
|
|
3668
3668
|
T += l;
|
|
3669
3669
|
--k;
|
|
3670
3670
|
var X = (p - A[k]) / (A[k + 1] - A[k]), N = T + X * l, j = C(N, b, L);
|
|
3671
|
-
return j >= n ? M(p, N, b, L) : j === 0 ? N :
|
|
3671
|
+
return j >= n ? M(p, N, b, L) : j === 0 ? N : y(p, T, T + l, b, L);
|
|
3672
3672
|
}
|
|
3673
3673
|
}, e;
|
|
3674
3674
|
}(), pooling = /* @__PURE__ */ function() {
|
|
@@ -3719,32 +3719,32 @@ var lottie$1 = { exports: {} };
|
|
|
3719
3719
|
}();
|
|
3720
3720
|
function bezFunction() {
|
|
3721
3721
|
var e = Math;
|
|
3722
|
-
function t(u, P, C,
|
|
3723
|
-
var
|
|
3724
|
-
return
|
|
3722
|
+
function t(u, P, C, y, M, d) {
|
|
3723
|
+
var g = u * y + P * M + C * d - M * y - d * u - C * P;
|
|
3724
|
+
return g > -1e-3 && g < 1e-3;
|
|
3725
3725
|
}
|
|
3726
|
-
function i(u, P, C,
|
|
3726
|
+
function i(u, P, C, y, M, d, g, p, b) {
|
|
3727
3727
|
if (C === 0 && d === 0 && b === 0)
|
|
3728
|
-
return t(u, P,
|
|
3729
|
-
var L = e.sqrt(e.pow(
|
|
3728
|
+
return t(u, P, y, M, g, p);
|
|
3729
|
+
var L = e.sqrt(e.pow(y - u, 2) + e.pow(M - P, 2) + e.pow(d - C, 2)), A = e.sqrt(e.pow(g - u, 2) + e.pow(p - P, 2) + e.pow(b - C, 2)), T = e.sqrt(e.pow(g - y, 2) + e.pow(p - M, 2) + e.pow(b - d, 2)), k;
|
|
3730
3730
|
return L > A ? L > T ? k = L - A - T : k = T - A - L : T > A ? k = T - A - L : k = A - L - T, k > -1e-4 && k < 1e-4;
|
|
3731
3731
|
}
|
|
3732
3732
|
var s = /* @__PURE__ */ function() {
|
|
3733
|
-
return function(u, P, C,
|
|
3734
|
-
var M = getDefaultCurveSegments(), d,
|
|
3733
|
+
return function(u, P, C, y) {
|
|
3734
|
+
var M = getDefaultCurveSegments(), d, g, p, b, L, A = 0, T, k = [], R = [], X = bezierLengthPool.newElement();
|
|
3735
3735
|
for (p = C.length, d = 0; d < M; d += 1) {
|
|
3736
|
-
for (L = d / (M - 1), T = 0,
|
|
3737
|
-
b = bmPow(1 - L, 3) * u[
|
|
3736
|
+
for (L = d / (M - 1), T = 0, g = 0; g < p; g += 1)
|
|
3737
|
+
b = bmPow(1 - L, 3) * u[g] + 3 * bmPow(1 - L, 2) * L * C[g] + 3 * (1 - L) * bmPow(L, 2) * y[g] + bmPow(L, 3) * P[g], k[g] = b, R[g] !== null && (T += bmPow(k[g] - R[g], 2)), R[g] = k[g];
|
|
3738
3738
|
T && (T = bmSqrt(T), A += T), X.percents[d] = L, X.lengths[d] = A;
|
|
3739
3739
|
}
|
|
3740
3740
|
return X.addedLength = A, X;
|
|
3741
3741
|
};
|
|
3742
3742
|
}();
|
|
3743
3743
|
function n(u) {
|
|
3744
|
-
var P = segmentsLengthPool.newElement(), C = u.c,
|
|
3745
|
-
for (
|
|
3746
|
-
b[
|
|
3747
|
-
return C && p && (b[
|
|
3744
|
+
var P = segmentsLengthPool.newElement(), C = u.c, y = u.v, M = u.o, d = u.i, g, p = u._length, b = P.lengths, L = 0;
|
|
3745
|
+
for (g = 0; g < p - 1; g += 1)
|
|
3746
|
+
b[g] = s(y[g], y[g + 1], M[g], d[g + 1]), L += b[g].addedLength;
|
|
3747
|
+
return C && p && (b[g] = s(y[g], y[0], M[g], d[0]), L += b[g].addedLength), P.totalLength = L, P;
|
|
3748
3748
|
}
|
|
3749
3749
|
function a(u) {
|
|
3750
3750
|
this.segmentLength = 0, this.points = new Array(u);
|
|
@@ -3754,15 +3754,15 @@ var lottie$1 = { exports: {} };
|
|
|
3754
3754
|
}
|
|
3755
3755
|
var f = /* @__PURE__ */ function() {
|
|
3756
3756
|
var u = {};
|
|
3757
|
-
return function(P, C,
|
|
3758
|
-
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" +
|
|
3757
|
+
return function(P, C, y, M) {
|
|
3758
|
+
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + y[0] + "_" + y[1] + "_" + M[0] + "_" + M[1]).replace(/\./g, "p");
|
|
3759
3759
|
if (!u[d]) {
|
|
3760
|
-
var
|
|
3761
|
-
P.length === 2 && (P[0] !== C[0] || P[1] !== C[1]) && t(P[0], P[1], C[0], C[1], P[0] +
|
|
3762
|
-
var j = new a(
|
|
3763
|
-
for (L =
|
|
3764
|
-
for (X = createSizedArray(L), T = p / (
|
|
3765
|
-
A = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] +
|
|
3760
|
+
var g = getDefaultCurveSegments(), p, b, L, A, T, k = 0, R, X, N = null;
|
|
3761
|
+
P.length === 2 && (P[0] !== C[0] || P[1] !== C[1]) && t(P[0], P[1], C[0], C[1], P[0] + y[0], P[1] + y[1]) && t(P[0], P[1], C[0], C[1], C[0] + M[0], C[1] + M[1]) && (g = 2);
|
|
3762
|
+
var j = new a(g);
|
|
3763
|
+
for (L = y.length, p = 0; p < g; p += 1) {
|
|
3764
|
+
for (X = createSizedArray(L), T = p / (g - 1), R = 0, b = 0; b < L; b += 1)
|
|
3765
|
+
A = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + y[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] + M[b]) + bmPow(T, 3) * C[b], X[b] = A, N !== null && (R += bmPow(X[b] - N[b], 2));
|
|
3766
3766
|
R = bmSqrt(R), k += R, j.points[p] = new o(R, X), N = X;
|
|
3767
3767
|
}
|
|
3768
3768
|
j.segmentLength = k, u[d] = j;
|
|
@@ -3771,29 +3771,29 @@ var lottie$1 = { exports: {} };
|
|
|
3771
3771
|
};
|
|
3772
3772
|
}();
|
|
3773
3773
|
function l(u, P) {
|
|
3774
|
-
var C = P.percents,
|
|
3775
|
-
if (d === M - 1 || d === 0 ||
|
|
3774
|
+
var C = P.percents, y = P.lengths, M = C.length, d = bmFloor((M - 1) * u), g = u * P.addedLength, p = 0;
|
|
3775
|
+
if (d === M - 1 || d === 0 || g === y[d])
|
|
3776
3776
|
return C[d];
|
|
3777
|
-
for (var b =
|
|
3778
|
-
if (
|
|
3777
|
+
for (var b = y[d] > g ? -1 : 1, L = !0; L; )
|
|
3778
|
+
if (y[d] <= g && y[d + 1] > g ? (p = (g - y[d]) / (y[d + 1] - y[d]), L = !1) : d += b, d < 0 || d >= M - 1) {
|
|
3779
3779
|
if (d === M - 1)
|
|
3780
3780
|
return C[d];
|
|
3781
3781
|
L = !1;
|
|
3782
3782
|
}
|
|
3783
3783
|
return C[d] + (C[d + 1] - C[d]) * p;
|
|
3784
3784
|
}
|
|
3785
|
-
function c(u, P, C,
|
|
3786
|
-
var
|
|
3785
|
+
function c(u, P, C, y, M, d) {
|
|
3786
|
+
var g = l(M, d), p = 1 - g, b = e.round((p * p * p * u[0] + (g * p * p + p * g * p + p * p * g) * C[0] + (g * g * p + p * g * g + g * p * g) * y[0] + g * g * g * P[0]) * 1e3) / 1e3, L = e.round((p * p * p * u[1] + (g * p * p + p * g * p + p * p * g) * C[1] + (g * g * p + p * g * g + g * p * g) * y[1] + g * g * g * P[1]) * 1e3) / 1e3;
|
|
3787
3787
|
return [b, L];
|
|
3788
3788
|
}
|
|
3789
3789
|
var m = createTypedArray("float32", 8);
|
|
3790
|
-
function E(u, P, C,
|
|
3790
|
+
function E(u, P, C, y, M, d, g) {
|
|
3791
3791
|
M < 0 ? M = 0 : M > 1 && (M = 1);
|
|
3792
|
-
var p = l(M,
|
|
3792
|
+
var p = l(M, g);
|
|
3793
3793
|
d = d > 1 ? 1 : d;
|
|
3794
|
-
var b = l(d,
|
|
3794
|
+
var b = l(d, g), L, A = u.length, T = 1 - p, k = 1 - b, R = T * T * T, X = p * T * T * 3, N = p * p * T * 3, j = p * p * p, Y = T * T * k, U = p * T * k + T * p * k + T * T * b, Z = p * p * k + T * p * b + p * T * b, _ = p * p * b, I = T * k * k, x = p * k * k + T * b * k + T * k * b, S = p * b * k + T * b * b + p * k * b, B = p * b * b, F = k * k * k, G = b * k * k + k * b * k + k * k * b, q = b * b * k + k * b * b + b * k * b, $ = b * b * b;
|
|
3795
3795
|
for (L = 0; L < A; L += 1)
|
|
3796
|
-
m[L * 4] = e.round((R * u[L] + X * C[L] + N *
|
|
3796
|
+
m[L * 4] = e.round((R * u[L] + X * C[L] + N * y[L] + j * P[L]) * 1e3) / 1e3, m[L * 4 + 1] = e.round((Y * u[L] + U * C[L] + Z * y[L] + _ * P[L]) * 1e3) / 1e3, m[L * 4 + 2] = e.round((I * u[L] + x * C[L] + S * y[L] + B * P[L]) * 1e3) / 1e3, m[L * 4 + 3] = e.round((F * u[L] + G * C[L] + q * y[L] + $ * P[L]) * 1e3) / 1e3;
|
|
3797
3797
|
return m;
|
|
3798
3798
|
}
|
|
3799
3799
|
return {
|
|
@@ -3821,51 +3821,51 @@ var lottie$1 = { exports: {} };
|
|
|
3821
3821
|
a < o - 1 ? a += 1 : (n = 0, f = !1);
|
|
3822
3822
|
}
|
|
3823
3823
|
m = this.keyframesMetadata[a] || {};
|
|
3824
|
-
var E, u, P, C,
|
|
3824
|
+
var E, u, P, C, y, M, d = c.t - i, g = l.t - i, p;
|
|
3825
3825
|
if (l.to) {
|
|
3826
3826
|
m.bezierData || (m.bezierData = bez.buildBezierData(l.s, c.s || l.e, l.to, l.ti));
|
|
3827
3827
|
var b = m.bezierData;
|
|
3828
|
-
if (e >= d || e <
|
|
3828
|
+
if (e >= d || e < g) {
|
|
3829
3829
|
var L = e >= d ? b.points.length - 1 : 0;
|
|
3830
3830
|
for (u = b.points[L].point.length, E = 0; E < u; E += 1)
|
|
3831
3831
|
s[E] = b.points[L].point[E];
|
|
3832
3832
|
} else {
|
|
3833
|
-
m.__fnct ? M = m.__fnct : (M = BezierFactory.getBezierEasing(l.o.x, l.o.y, l.i.x, l.i.y, l.n).get, m.__fnct = M), P = M((e -
|
|
3833
|
+
m.__fnct ? M = m.__fnct : (M = BezierFactory.getBezierEasing(l.o.x, l.o.y, l.i.x, l.i.y, l.n).get, m.__fnct = M), P = M((e - g) / (d - g));
|
|
3834
3834
|
var A = b.segmentLength * P, T, k = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
|
|
3835
|
-
for (
|
|
3836
|
-
if (k += b.points[
|
|
3837
|
-
for (u = b.points[
|
|
3838
|
-
s[E] = b.points[
|
|
3835
|
+
for (y = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, f = !0, C = b.points.length; f; ) {
|
|
3836
|
+
if (k += b.points[y].partialLength, A === 0 || P === 0 || y === b.points.length - 1) {
|
|
3837
|
+
for (u = b.points[y].point.length, E = 0; E < u; E += 1)
|
|
3838
|
+
s[E] = b.points[y].point[E];
|
|
3839
3839
|
break;
|
|
3840
|
-
} else if (A >= k && A < k + b.points[
|
|
3841
|
-
for (T = (A - k) / b.points[
|
|
3842
|
-
s[E] = b.points[
|
|
3840
|
+
} else if (A >= k && A < k + b.points[y + 1].partialLength) {
|
|
3841
|
+
for (T = (A - k) / b.points[y + 1].partialLength, u = b.points[y].point.length, E = 0; E < u; E += 1)
|
|
3842
|
+
s[E] = b.points[y].point[E] + (b.points[y + 1].point[E] - b.points[y].point[E]) * T;
|
|
3843
3843
|
break;
|
|
3844
3844
|
}
|
|
3845
|
-
|
|
3845
|
+
y < C - 1 ? y += 1 : f = !1;
|
|
3846
3846
|
}
|
|
3847
|
-
t._lastPoint =
|
|
3847
|
+
t._lastPoint = y, t._lastAddedLength = k - b.points[y].partialLength, t._lastKeyframeIndex = a;
|
|
3848
3848
|
}
|
|
3849
3849
|
} else {
|
|
3850
3850
|
var R, X, N, j, Y;
|
|
3851
3851
|
if (o = l.s.length, p = c.s || l.e, this.sh && l.h !== 1)
|
|
3852
3852
|
if (e >= d)
|
|
3853
3853
|
s[0] = p[0], s[1] = p[1], s[2] = p[2];
|
|
3854
|
-
else if (e <=
|
|
3854
|
+
else if (e <= g)
|
|
3855
3855
|
s[0] = l.s[0], s[1] = l.s[1], s[2] = l.s[2];
|
|
3856
3856
|
else {
|
|
3857
|
-
var U = createQuaternion(l.s), Z = createQuaternion(p), _ = (e -
|
|
3857
|
+
var U = createQuaternion(l.s), Z = createQuaternion(p), _ = (e - g) / (d - g);
|
|
3858
3858
|
quaternionToEuler(s, slerp(U, Z, _));
|
|
3859
3859
|
}
|
|
3860
3860
|
else
|
|
3861
3861
|
for (a = 0; a < o; a += 1)
|
|
3862
|
-
l.h !== 1 && (e >= d ? P = 1 : e <
|
|
3862
|
+
l.h !== 1 && (e >= d ? P = 1 : e < g ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ? M = m.__fnct[a] : (R = l.o.x[a] === void 0 ? l.o.x[0] : l.o.x[a], X = l.o.y[a] === void 0 ? l.o.y[0] : l.o.y[a], N = l.i.x[a] === void 0 ? l.i.x[0] : l.i.x[a], j = l.i.y[a] === void 0 ? l.i.y[0] : l.i.y[a], M = BezierFactory.getBezierEasing(R, X, N, j).get, m.__fnct[a] = M)) : m.__fnct ? M = m.__fnct : (R = l.o.x, X = l.o.y, N = l.i.x, j = l.i.y, M = BezierFactory.getBezierEasing(R, X, N, j).get, l.keyframeMetadata = M), P = M((e - g) / (d - g)))), p = c.s || l.e, Y = l.h === 1 ? l.s[a] : l.s[a] + (p[a] - l.s[a]) * P, this.propType === "multidimensional" ? s[a] = Y : s = Y;
|
|
3863
3863
|
}
|
|
3864
3864
|
return t.lastIndex = n, s;
|
|
3865
3865
|
}
|
|
3866
3866
|
function slerp(e, t, i) {
|
|
3867
|
-
var s = [], n = e[0], a = e[1], o = e[2], f = e[3], l = t[0], c = t[1], m = t[2], E = t[3], u, P, C,
|
|
3868
|
-
return P = n * l + a * c + o * m + f * E, P < 0 && (P = -P, l = -l, c = -c, m = -m, E = -E), 1 - P > 1e-6 ? (u = Math.acos(P), C = Math.sin(u),
|
|
3867
|
+
var s = [], n = e[0], a = e[1], o = e[2], f = e[3], l = t[0], c = t[1], m = t[2], E = t[3], u, P, C, y, M;
|
|
3868
|
+
return P = n * l + a * c + o * m + f * E, P < 0 && (P = -P, l = -l, c = -c, m = -m, E = -E), 1 - P > 1e-6 ? (u = Math.acos(P), C = Math.sin(u), y = Math.sin((1 - i) * u) / C, M = Math.sin(i * u) / C) : (y = 1 - i, M = i), s[0] = y * n + M * l, s[1] = y * a + M * c, s[2] = y * o + M * m, s[3] = y * f + M * E, s;
|
|
3869
3869
|
}
|
|
3870
3870
|
function quaternionToEuler(e, t) {
|
|
3871
3871
|
var i = t[0], s = t[1], n = t[2], a = t[3], o = Math.atan2(2 * s * a - 2 * i * n, 1 - 2 * s * s - 2 * n * n), f = Math.asin(2 * i * s + 2 * n * a), l = Math.atan2(2 * i * a - 2 * s * n, 1 - 2 * i * i - 2 * n * n);
|
|
@@ -4079,7 +4079,7 @@ var lottie$1 = { exports: {} };
|
|
|
4079
4079
|
return e;
|
|
4080
4080
|
}(), ShapePropertyFactory = function() {
|
|
4081
4081
|
var e = -999999;
|
|
4082
|
-
function t(d,
|
|
4082
|
+
function t(d, g, p) {
|
|
4083
4083
|
var b = p.lastIndex, L, A, T, k, R, X, N, j, Y, U = this.keyframes;
|
|
4084
4084
|
if (d < U[0].t - this.offsetTime)
|
|
4085
4085
|
L = U[0].s[0], T = !0, b = 0;
|
|
@@ -4101,23 +4101,23 @@ var lottie$1 = { exports: {} };
|
|
|
4101
4101
|
}
|
|
4102
4102
|
L = x.s[0];
|
|
4103
4103
|
}
|
|
4104
|
-
for (X =
|
|
4104
|
+
for (X = g._length, N = L.i[0].length, p.lastIndex = b, k = 0; k < X; k += 1)
|
|
4105
4105
|
for (R = 0; R < N; R += 1)
|
|
4106
|
-
Y = T ? L.i[k][R] : L.i[k][R] + (A.i[k][R] - L.i[k][R]) * j,
|
|
4106
|
+
Y = T ? L.i[k][R] : L.i[k][R] + (A.i[k][R] - L.i[k][R]) * j, g.i[k][R] = Y, Y = T ? L.o[k][R] : L.o[k][R] + (A.o[k][R] - L.o[k][R]) * j, g.o[k][R] = Y, Y = T ? L.v[k][R] : L.v[k][R] + (A.v[k][R] - L.v[k][R]) * j, g.v[k][R] = Y;
|
|
4107
4107
|
}
|
|
4108
4108
|
function i() {
|
|
4109
|
-
var d = this.comp.renderedFrame - this.offsetTime,
|
|
4110
|
-
return b !== e && (b <
|
|
4109
|
+
var d = this.comp.renderedFrame - this.offsetTime, g = this.keyframes[0].t - this.offsetTime, p = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, b = this._caching.lastFrame;
|
|
4110
|
+
return b !== e && (b < g && d < g || b > p && d > p) || (this._caching.lastIndex = b < d ? this._caching.lastIndex : 0, this.interpolateShape(d, this.pv, this._caching)), this._caching.lastFrame = d, this.pv;
|
|
4111
4111
|
}
|
|
4112
4112
|
function s() {
|
|
4113
4113
|
this.paths = this.localShapeCollection;
|
|
4114
4114
|
}
|
|
4115
|
-
function n(d,
|
|
4116
|
-
if (d._length !==
|
|
4115
|
+
function n(d, g) {
|
|
4116
|
+
if (d._length !== g._length || d.c !== g.c)
|
|
4117
4117
|
return !1;
|
|
4118
4118
|
var p, b = d._length;
|
|
4119
4119
|
for (p = 0; p < b; p += 1)
|
|
4120
|
-
if (d.v[p][0] !==
|
|
4120
|
+
if (d.v[p][0] !== g.v[p][0] || d.v[p][1] !== g.v[p][1] || d.o[p][0] !== g.o[p][0] || d.o[p][1] !== g.o[p][1] || d.i[p][0] !== g.i[p][0] || d.i[p][1] !== g.i[p][1])
|
|
4121
4121
|
return !1;
|
|
4122
4122
|
return !0;
|
|
4123
4123
|
}
|
|
@@ -4137,23 +4137,23 @@ var lottie$1 = { exports: {} };
|
|
|
4137
4137
|
this.lock = !0, this._mdf = !1;
|
|
4138
4138
|
var d;
|
|
4139
4139
|
this.kf ? d = this.pv : this.data.ks ? d = this.data.ks.k : d = this.data.pt.k;
|
|
4140
|
-
var
|
|
4141
|
-
for (
|
|
4142
|
-
d = this.effectsSequence[
|
|
4140
|
+
var g, p = this.effectsSequence.length;
|
|
4141
|
+
for (g = 0; g < p; g += 1)
|
|
4142
|
+
d = this.effectsSequence[g](d);
|
|
4143
4143
|
this.setVValue(d), this.lock = !1, this.frameId = this.elem.globalData.frameId;
|
|
4144
4144
|
}
|
|
4145
4145
|
}
|
|
4146
|
-
function f(d,
|
|
4147
|
-
this.propType = "shape", this.comp = d.comp, this.container = d, this.elem = d, this.data =
|
|
4148
|
-
var b = p === 3 ?
|
|
4146
|
+
function f(d, g, p) {
|
|
4147
|
+
this.propType = "shape", this.comp = d.comp, this.container = d, this.elem = d, this.data = g, this.k = !1, this.kf = !1, this._mdf = !1;
|
|
4148
|
+
var b = p === 3 ? g.pt.k : g.ks.k;
|
|
4149
4149
|
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 = [];
|
|
4150
4150
|
}
|
|
4151
4151
|
function l(d) {
|
|
4152
4152
|
this.effectsSequence.push(d), this.container.addDynamicProperty(this);
|
|
4153
4153
|
}
|
|
4154
4154
|
f.prototype.interpolateShape = t, f.prototype.getValue = o, f.prototype.setVValue = a, f.prototype.addEffect = l;
|
|
4155
|
-
function c(d,
|
|
4156
|
-
this.propType = "shape", this.comp = d.comp, this.elem = d, this.container = d, this.offsetTime = d.data.st, this.keyframes = p === 3 ?
|
|
4155
|
+
function c(d, g, p) {
|
|
4156
|
+
this.propType = "shape", this.comp = d.comp, this.elem = d, this.container = d, this.offsetTime = d.data.st, this.keyframes = p === 3 ? g.pt.k : g.ks.k, this.keyframesMetadata = [], this.k = !0, this.kf = !0;
|
|
4157
4157
|
var b = this.keyframes[0].s[0].i.length;
|
|
4158
4158
|
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 = {
|
|
4159
4159
|
lastFrame: e,
|
|
@@ -4163,10 +4163,10 @@ var lottie$1 = { exports: {} };
|
|
|
4163
4163
|
c.prototype.getValue = o, c.prototype.interpolateShape = t, c.prototype.setVValue = a, c.prototype.addEffect = l;
|
|
4164
4164
|
var m = function() {
|
|
4165
4165
|
var d = roundCorner;
|
|
4166
|
-
function
|
|
4166
|
+
function g(p, b) {
|
|
4167
4167
|
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 = p, this.comp = p.comp, this.frameId = -1, this.initDynamicPropertyContainer(p), this.p = PropertyFactory.getProp(p, b.p, 1, 0, this), this.s = PropertyFactory.getProp(p, b.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
|
|
4168
4168
|
}
|
|
4169
|
-
return
|
|
4169
|
+
return g.prototype = {
|
|
4170
4170
|
reset: s,
|
|
4171
4171
|
getValue: function() {
|
|
4172
4172
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
|
|
@@ -4175,10 +4175,10 @@ var lottie$1 = { exports: {} };
|
|
|
4175
4175
|
var b = this.p.v[0], L = this.p.v[1], A = this.s.v[0] / 2, T = this.s.v[1] / 2, k = this.d !== 3, R = this.v;
|
|
4176
4176
|
R.v[0][0] = b, R.v[0][1] = L - T, R.v[1][0] = k ? b + A : b - A, R.v[1][1] = L, R.v[2][0] = b, R.v[2][1] = L + T, R.v[3][0] = k ? b - A : b + A, R.v[3][1] = L, R.i[0][0] = k ? b - A * d : b + A * d, R.i[0][1] = L - T, R.i[1][0] = k ? b + A : b - A, R.i[1][1] = L - T * d, R.i[2][0] = k ? b + A * d : b - A * d, R.i[2][1] = L + T, R.i[3][0] = k ? b - A : b + A, R.i[3][1] = L + T * d, R.o[0][0] = k ? b + A * d : b - A * d, R.o[0][1] = L - T, R.o[1][0] = k ? b + A : b - A, R.o[1][1] = L + T * d, R.o[2][0] = k ? b - A * d : b + A * d, R.o[2][1] = L + T, R.o[3][0] = k ? b - A : b + A, R.o[3][1] = L - T * d;
|
|
4177
4177
|
}
|
|
4178
|
-
}, extendPrototype([DynamicPropertyContainer],
|
|
4178
|
+
}, extendPrototype([DynamicPropertyContainer], g), g;
|
|
4179
4179
|
}(), E = function() {
|
|
4180
|
-
function d(
|
|
4181
|
-
this.v = shapePool.newElement(), this.v.setPathData(!0, 0), this.elem =
|
|
4180
|
+
function d(g, p) {
|
|
4181
|
+
this.v = shapePool.newElement(), this.v.setPathData(!0, 0), this.elem = g, this.comp = g.comp, this.data = p, this.frameId = -1, this.d = p.d, this.initDynamicPropertyContainer(g), p.sy === 1 ? (this.ir = PropertyFactory.getProp(g, p.ir, 0, 0, this), this.is = PropertyFactory.getProp(g, p.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = PropertyFactory.getProp(g, p.pt, 0, 0, this), this.p = PropertyFactory.getProp(g, p.p, 1, 0, this), this.r = PropertyFactory.getProp(g, p.r, 0, degToRads, this), this.or = PropertyFactory.getProp(g, p.or, 0, 0, this), this.os = PropertyFactory.getProp(g, p.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());
|
|
4182
4182
|
}
|
|
4183
4183
|
return d.prototype = {
|
|
4184
4184
|
reset: s,
|
|
@@ -4205,8 +4205,8 @@ var lottie$1 = { exports: {} };
|
|
|
4205
4205
|
}
|
|
4206
4206
|
}, extendPrototype([DynamicPropertyContainer], d), d;
|
|
4207
4207
|
}(), u = function() {
|
|
4208
|
-
function d(
|
|
4209
|
-
this.v = shapePool.newElement(), this.v.c = !0, this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem =
|
|
4208
|
+
function d(g, p) {
|
|
4209
|
+
this.v = shapePool.newElement(), this.v.c = !0, this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = g, this.comp = g.comp, this.frameId = -1, this.d = p.d, this.initDynamicPropertyContainer(g), this.p = PropertyFactory.getProp(g, p.p, 1, 0, this), this.s = PropertyFactory.getProp(g, p.s, 1, 0, this), this.r = PropertyFactory.getProp(g, p.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
|
|
4210
4210
|
}
|
|
4211
4211
|
return d.prototype = {
|
|
4212
4212
|
convertRectToPath: function() {
|
|
@@ -4219,22 +4219,22 @@ var lottie$1 = { exports: {} };
|
|
|
4219
4219
|
reset: s
|
|
4220
4220
|
}, extendPrototype([DynamicPropertyContainer], d), d;
|
|
4221
4221
|
}();
|
|
4222
|
-
function P(d,
|
|
4222
|
+
function P(d, g, p) {
|
|
4223
4223
|
var b;
|
|
4224
4224
|
if (p === 3 || p === 4) {
|
|
4225
|
-
var L = p === 3 ?
|
|
4226
|
-
A.length ? b = new c(d,
|
|
4227
|
-
} else p === 5 ? b = new u(d,
|
|
4225
|
+
var L = p === 3 ? g.pt : g.ks, A = L.k;
|
|
4226
|
+
A.length ? b = new c(d, g, p) : b = new f(d, g, p);
|
|
4227
|
+
} else p === 5 ? b = new u(d, g) : p === 6 ? b = new m(d, g) : p === 7 && (b = new E(d, g));
|
|
4228
4228
|
return b.k && d.addDynamicProperty(b), b;
|
|
4229
4229
|
}
|
|
4230
4230
|
function C() {
|
|
4231
4231
|
return f;
|
|
4232
4232
|
}
|
|
4233
|
-
function
|
|
4233
|
+
function y() {
|
|
4234
4234
|
return c;
|
|
4235
4235
|
}
|
|
4236
4236
|
var M = {};
|
|
4237
|
-
return M.getShapeProp = P, M.getConstructorFunction = C, M.getKeyframedConstructorFunction =
|
|
4237
|
+
return M.getShapeProp = P, M.getConstructorFunction = C, M.getKeyframedConstructorFunction = y, M;
|
|
4238
4238
|
}();
|
|
4239
4239
|
/*!
|
|
4240
4240
|
Transformation Matrix v2.0
|
|
@@ -4292,12 +4292,12 @@ var lottie$1 = { exports: {} };
|
|
|
4292
4292
|
function C(x, S, B) {
|
|
4293
4293
|
return B = B || 0, x !== 0 || S !== 0 || B !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, x, S, B, 1) : this;
|
|
4294
4294
|
}
|
|
4295
|
-
function
|
|
4295
|
+
function y(x, S, B, F, G, q, $, J, re, le, pe, ue, ce, se, oe, te) {
|
|
4296
4296
|
var K = this.props;
|
|
4297
4297
|
if (x === 1 && S === 0 && B === 0 && F === 0 && G === 0 && q === 1 && $ === 0 && J === 0 && re === 0 && le === 0 && pe === 1 && ue === 0)
|
|
4298
4298
|
return K[12] = K[12] * x + K[15] * ce, K[13] = K[13] * q + K[15] * se, K[14] = K[14] * pe + K[15] * oe, K[15] *= te, this._identityCalculated = !1, this;
|
|
4299
|
-
var Le = K[0], Ae = K[1], Se = K[2],
|
|
4300
|
-
return K[0] = Le * x + Ae * G + Se * re +
|
|
4299
|
+
var Le = K[0], Ae = K[1], Se = K[2], ye = K[3], xe = K[4], we = K[5], me = K[6], Ce = K[7], _e = K[8], be = K[9], Me = K[10], Pe = K[11], Ee = K[12], ke = K[13], Te = K[14], Ie = K[15];
|
|
4300
|
+
return K[0] = Le * x + Ae * G + Se * re + ye * ce, K[1] = Le * S + Ae * q + Se * le + ye * se, K[2] = Le * B + Ae * $ + Se * pe + ye * oe, K[3] = Le * F + Ae * J + Se * ue + ye * te, K[4] = xe * x + we * G + me * re + Ce * ce, K[5] = xe * S + we * q + me * le + Ce * se, K[6] = xe * B + we * $ + me * pe + Ce * oe, K[7] = xe * F + we * J + me * ue + Ce * te, K[8] = _e * x + be * G + Me * re + Pe * ce, K[9] = _e * S + be * q + Me * le + Pe * se, K[10] = _e * B + be * $ + Me * pe + Pe * oe, K[11] = _e * F + be * J + Me * ue + Pe * te, K[12] = Ee * x + ke * G + Te * re + Ie * ce, K[13] = Ee * S + ke * q + Te * le + Ie * se, K[14] = Ee * B + ke * $ + Te * pe + Ie * oe, K[15] = Ee * F + ke * J + Te * ue + Ie * te, this._identityCalculated = !1, this;
|
|
4301
4301
|
}
|
|
4302
4302
|
function M(x) {
|
|
4303
4303
|
var S = x.props;
|
|
@@ -4306,7 +4306,7 @@ var lottie$1 = { exports: {} };
|
|
|
4306
4306
|
function d() {
|
|
4307
4307
|
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;
|
|
4308
4308
|
}
|
|
4309
|
-
function
|
|
4309
|
+
function g(x) {
|
|
4310
4310
|
for (var S = 0; S < 16; ) {
|
|
4311
4311
|
if (x.props[S] !== this.props[S])
|
|
4312
4312
|
return !1;
|
|
@@ -4389,7 +4389,7 @@ var lottie$1 = { exports: {} };
|
|
|
4389
4389
|
return "matrix(" + S + "," + B + "," + F + "," + G + "," + q + "," + $ + ")";
|
|
4390
4390
|
}
|
|
4391
4391
|
return function() {
|
|
4392
|
-
this.reset = n, this.rotate = a, this.rotateX = o, this.rotateY = f, this.rotateZ = l, this.skew = m, this.skewFromAxis = E, this.shear = c, this.scale = u, this.setTransform = P, this.translate = C, this.transform =
|
|
4392
|
+
this.reset = n, this.rotate = a, this.rotateX = o, this.rotateY = f, this.rotateZ = l, this.skew = m, this.skewFromAxis = E, this.shear = c, this.scale = u, this.setTransform = P, this.translate = C, this.transform = y, this.multiply = M, this.applyToPoint = L, this.applyToX = A, this.applyToY = T, this.applyToZ = k, this.applyToPointArray = Y, this.applyToTriplePoints = j, this.applyToPointStringified = U, this.toCSS = Z, this.to2dCSS = I, this.clone = p, this.cloneFromProps = b, this.equals = g, this.inversePoints = N, this.inversePoint = X, this.getInverseMatrix = R, this._t = this.transform, this.isIdentity = d, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
|
4393
4393
|
};
|
|
4394
4394
|
}();
|
|
4395
4395
|
function _typeof$3(e) {
|
|
@@ -4557,51 +4557,51 @@ var lottie$1 = { exports: {} };
|
|
|
4557
4557
|
for (o = 0; o < f; o += 1)
|
|
4558
4558
|
this.shapes[o].pathsData.length = 0, this.shapes[o].shape._mdf = !0;
|
|
4559
4559
|
} else {
|
|
4560
|
-
var C = [],
|
|
4560
|
+
var C = [], y, M;
|
|
4561
4561
|
for (o = 0; o < f; o += 1)
|
|
4562
|
-
if (
|
|
4563
|
-
|
|
4562
|
+
if (y = this.shapes[o], !y.shape._mdf && !this._mdf && !e && this.m !== 2)
|
|
4563
|
+
y.shape.paths = y.localShapeCollection;
|
|
4564
4564
|
else {
|
|
4565
|
-
if (a =
|
|
4566
|
-
u =
|
|
4565
|
+
if (a = y.shape.paths, c = a._length, u = 0, !y.shape._mdf && y.pathsData.length)
|
|
4566
|
+
u = y.totalShapeLength;
|
|
4567
4567
|
else {
|
|
4568
|
-
for (m = this.releasePathsData(
|
|
4568
|
+
for (m = this.releasePathsData(y.pathsData), l = 0; l < c; l += 1)
|
|
4569
4569
|
E = bez.getSegmentsLength(a.shapes[l]), m.push(E), u += E.totalLength;
|
|
4570
|
-
|
|
4570
|
+
y.totalShapeLength = u, y.pathsData = m;
|
|
4571
4571
|
}
|
|
4572
|
-
P += u,
|
|
4572
|
+
P += u, y.shape._mdf = !0;
|
|
4573
4573
|
}
|
|
4574
|
-
var d = t,
|
|
4574
|
+
var d = t, g = i, p = 0, b;
|
|
4575
4575
|
for (o = f - 1; o >= 0; o -= 1)
|
|
4576
|
-
if (
|
|
4577
|
-
for (M =
|
|
4578
|
-
d = b[l][0],
|
|
4579
|
-
s:
|
|
4580
|
-
e:
|
|
4576
|
+
if (y = this.shapes[o], y.shape._mdf) {
|
|
4577
|
+
for (M = y.localShapeCollection, M.releaseShapes(), this.m === 2 && f > 1 ? (b = this.calculateShapeEdges(t, i, y.totalShapeLength, p, P), p += y.totalShapeLength) : b = [[d, g]], c = b.length, l = 0; l < c; l += 1) {
|
|
4578
|
+
d = b[l][0], g = b[l][1], C.length = 0, g <= 1 ? C.push({
|
|
4579
|
+
s: y.totalShapeLength * d,
|
|
4580
|
+
e: y.totalShapeLength * g
|
|
4581
4581
|
}) : d >= 1 ? C.push({
|
|
4582
|
-
s:
|
|
4583
|
-
e:
|
|
4582
|
+
s: y.totalShapeLength * (d - 1),
|
|
4583
|
+
e: y.totalShapeLength * (g - 1)
|
|
4584
4584
|
}) : (C.push({
|
|
4585
|
-
s:
|
|
4586
|
-
e:
|
|
4585
|
+
s: y.totalShapeLength * d,
|
|
4586
|
+
e: y.totalShapeLength
|
|
4587
4587
|
}), C.push({
|
|
4588
4588
|
s: 0,
|
|
4589
|
-
e:
|
|
4589
|
+
e: y.totalShapeLength * (g - 1)
|
|
4590
4590
|
}));
|
|
4591
|
-
var L = this.addShapes(
|
|
4591
|
+
var L = this.addShapes(y, C[0]);
|
|
4592
4592
|
if (C[0].s !== C[0].e) {
|
|
4593
4593
|
if (C.length > 1) {
|
|
4594
|
-
var A =
|
|
4594
|
+
var A = y.shape.paths.shapes[y.shape.paths._length - 1];
|
|
4595
4595
|
if (A.c) {
|
|
4596
4596
|
var T = L.pop();
|
|
4597
|
-
this.addPaths(L, M), L = this.addShapes(
|
|
4597
|
+
this.addPaths(L, M), L = this.addShapes(y, C[1], T);
|
|
4598
4598
|
} else
|
|
4599
|
-
this.addPaths(L, M), L = this.addShapes(
|
|
4599
|
+
this.addPaths(L, M), L = this.addShapes(y, C[1]);
|
|
4600
4600
|
}
|
|
4601
4601
|
this.addPaths(L, M);
|
|
4602
4602
|
}
|
|
4603
4603
|
}
|
|
4604
|
-
|
|
4604
|
+
y.shape.paths = M;
|
|
4605
4605
|
}
|
|
4606
4606
|
}
|
|
4607
4607
|
}, TrimModifier.prototype.addPaths = function(e, t) {
|
|
@@ -4613,8 +4613,8 @@ var lottie$1 = { exports: {} };
|
|
|
4613
4613
|
}, TrimModifier.prototype.addSegmentFromArray = function(e, t, i, s) {
|
|
4614
4614
|
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);
|
|
4615
4615
|
}, TrimModifier.prototype.addShapes = function(e, t, i) {
|
|
4616
|
-
var s = e.pathsData, n = e.shape.paths.shapes, a, o = e.shape.paths._length, f, l, c = 0, m, E, u, P, C = [],
|
|
4617
|
-
for (i ? (E = i._length,
|
|
4616
|
+
var s = e.pathsData, n = e.shape.paths.shapes, a, o = e.shape.paths._length, f, l, c = 0, m, E, u, P, C = [], y, M = !0;
|
|
4617
|
+
for (i ? (E = i._length, y = i._length) : (i = shapePool.newElement(), E = 0, y = 0), C.push(i), a = 0; a < o; a += 1) {
|
|
4618
4618
|
for (u = s[a].lengths, i.c = n[a].c, l = n[a].c ? u.length : u.length + 1, f = 1; f < l; f += 1)
|
|
4619
4619
|
if (m = u[f - 1], c + m.addedLength < t.s)
|
|
4620
4620
|
c += m.addedLength, i.c = !1;
|
|
@@ -4631,7 +4631,7 @@ var lottie$1 = { exports: {} };
|
|
|
4631
4631
|
i.c = !1;
|
|
4632
4632
|
c += m.addedLength, E += 1;
|
|
4633
4633
|
}
|
|
4634
|
-
if (i._length && (i.setXYAt(i.v[
|
|
4634
|
+
if (i._length && (i.setXYAt(i.v[y][0], i.v[y][1], "i", y), i.setXYAt(i.v[i._length - 1][0], i.v[i._length - 1][1], "o", i._length - 1)), c > t.e)
|
|
4635
4635
|
break;
|
|
4636
4636
|
a < o - 1 && (i = shapePool.newElement(), M = !0, C.push(i), E = 0);
|
|
4637
4637
|
}
|
|
@@ -4841,28 +4841,28 @@ var lottie$1 = { exports: {} };
|
|
|
4841
4841
|
a += 1;
|
|
4842
4842
|
}
|
|
4843
4843
|
this._currentCopies = f;
|
|
4844
|
-
var u = this.o.v, P = u % 1, C = u > 0 ? Math.floor(u) : Math.ceil(u),
|
|
4844
|
+
var u = this.o.v, P = u % 1, C = u > 0 ? Math.floor(u) : Math.ceil(u), y = this.pMatrix.props, M = this.rMatrix.props, d = this.sMatrix.props;
|
|
4845
4845
|
this.pMatrix.reset(), this.rMatrix.reset(), this.sMatrix.reset(), this.tMatrix.reset(), this.matrix.reset();
|
|
4846
|
-
var
|
|
4846
|
+
var g = 0;
|
|
4847
4847
|
if (u > 0) {
|
|
4848
|
-
for (;
|
|
4849
|
-
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1),
|
|
4850
|
-
P && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, P, !1),
|
|
4848
|
+
for (; g < C; )
|
|
4849
|
+
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), g += 1;
|
|
4850
|
+
P && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, P, !1), g += P);
|
|
4851
4851
|
} else if (u < 0) {
|
|
4852
|
-
for (;
|
|
4853
|
-
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0),
|
|
4854
|
-
P && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -P, !0),
|
|
4852
|
+
for (; g > C; )
|
|
4853
|
+
this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !0), g -= 1;
|
|
4854
|
+
P && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -P, !0), g -= P);
|
|
4855
4855
|
}
|
|
4856
4856
|
s = this.data.m === 1 ? 0 : this._currentCopies - 1, n = this.data.m === 1 ? 1 : -1, a = this._currentCopies;
|
|
4857
4857
|
for (var p, b; a; ) {
|
|
4858
|
-
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)),
|
|
4859
|
-
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(M[0], M[1], M[2], M[3], M[4], M[5], M[6], M[7], M[8], M[9], M[10], M[11], M[12], M[13], M[14], M[15]), this.matrix.transform(d[0], d[1], d[2], d[3], d[4], d[5], d[6], d[7], d[8], d[9], d[10], d[11], d[12], d[13], d[14], d[15]), this.matrix.transform(
|
|
4858
|
+
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)), g !== 0) {
|
|
4859
|
+
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(M[0], M[1], M[2], M[3], M[4], M[5], M[6], M[7], M[8], M[9], M[10], M[11], M[12], M[13], M[14], M[15]), this.matrix.transform(d[0], d[1], d[2], d[3], d[4], d[5], d[6], d[7], d[8], d[9], d[10], d[11], d[12], d[13], d[14], d[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]), p = 0; p < b; p += 1)
|
|
4860
4860
|
i[p] = this.matrix.props[p];
|
|
4861
4861
|
this.matrix.reset();
|
|
4862
4862
|
} else
|
|
4863
4863
|
for (this.matrix.reset(), p = 0; p < b; p += 1)
|
|
4864
4864
|
i[p] = this.matrix.props[p];
|
|
4865
|
-
|
|
4865
|
+
g += 1, a -= 1, s += n;
|
|
4866
4866
|
}
|
|
4867
4867
|
} else
|
|
4868
4868
|
for (a = this._currentCopies, s = 0, n = 1; a; )
|
|
@@ -4877,9 +4877,9 @@ var lottie$1 = { exports: {} };
|
|
|
4877
4877
|
}, RoundCornersModifier.prototype.processPath = function(e, t) {
|
|
4878
4878
|
var i = shapePool.newElement();
|
|
4879
4879
|
i.c = e.c;
|
|
4880
|
-
var s, n = e._length, a, o, f, l, c, m, E = 0, u, P, C,
|
|
4880
|
+
var s, n = e._length, a, o, f, l, c, m, E = 0, u, P, C, y, M, d;
|
|
4881
4881
|
for (s = 0; s < n; s += 1)
|
|
4882
|
-
a = e.v[s], f = e.o[s], o = e.i[s], a[0] === f[0] && a[1] === f[1] && a[0] === o[0] && a[1] === o[1] ? (s === 0 || s === n - 1) && !e.c ? (i.setTripleAt(a[0], a[1], f[0], f[1], o[0], o[1], E), E += 1) : (s === 0 ? l = e.v[n - 1] : l = e.v[s - 1], c = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = c ? Math.min(c / 2, t) / c : 0, M = a[0] + (l[0] - a[0]) * m, u = M, d = a[1] - (a[1] - l[1]) * m, P = d, C = u - (u - a[0]) * roundCorner,
|
|
4882
|
+
a = e.v[s], f = e.o[s], o = e.i[s], a[0] === f[0] && a[1] === f[1] && a[0] === o[0] && a[1] === o[1] ? (s === 0 || s === n - 1) && !e.c ? (i.setTripleAt(a[0], a[1], f[0], f[1], o[0], o[1], E), E += 1) : (s === 0 ? l = e.v[n - 1] : l = e.v[s - 1], c = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = c ? Math.min(c / 2, t) / c : 0, M = a[0] + (l[0] - a[0]) * m, u = M, d = a[1] - (a[1] - l[1]) * m, P = d, C = u - (u - a[0]) * roundCorner, y = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, y, M, d, E), E += 1, s === n - 1 ? l = e.v[0] : l = e.v[s + 1], c = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = c ? Math.min(c / 2, t) / c : 0, C = a[0] + (l[0] - a[0]) * m, u = C, y = a[1] + (l[1] - a[1]) * m, P = y, M = u - (u - a[0]) * roundCorner, d = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, y, M, d, E), E += 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], E), E += 1);
|
|
4883
4883
|
return i;
|
|
4884
4884
|
}, RoundCornersModifier.prototype.processShapes = function(e) {
|
|
4885
4885
|
var t, i, s = this.shapes.length, n, a, o = this.rd.v;
|
|
@@ -5236,7 +5236,7 @@ var lottie$1 = { exports: {} };
|
|
|
5236
5236
|
this.fonts[_].loaded ? B -= 1 : this.fonts[_].fOrigin === "n" || this.fonts[_].origin === 0 ? this.fonts[_].loaded = !0 : (x = this.fonts[_].monoCase.node, S = this.fonts[_].monoCase.w, x.offsetWidth !== S ? (B -= 1, this.fonts[_].loaded = !0) : (x = this.fonts[_].sansCase.node, S = this.fonts[_].sansCase.w, x.offsetWidth !== S && (B -= 1, this.fonts[_].loaded = !0)), this.fonts[_].loaded && (this.fonts[_].sansCase.parent.parentNode.removeChild(this.fonts[_].sansCase.parent), this.fonts[_].monoCase.parent.parentNode.removeChild(this.fonts[_].monoCase.parent)));
|
|
5237
5237
|
B !== 0 && Date.now() - this.initTime < e ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
|
|
5238
5238
|
}
|
|
5239
|
-
function
|
|
5239
|
+
function y(_, I) {
|
|
5240
5240
|
var x = document.body && I ? "svg" : "canvas", S, B = getFontProperties(_);
|
|
5241
5241
|
if (x === "svg") {
|
|
5242
5242
|
var F = createNS("text");
|
|
@@ -5263,7 +5263,7 @@ var lottie$1 = { exports: {} };
|
|
|
5263
5263
|
}
|
|
5264
5264
|
if (!document.body) {
|
|
5265
5265
|
this.isLoaded = !0, _.list.forEach(function(pe) {
|
|
5266
|
-
pe.helper =
|
|
5266
|
+
pe.helper = y(pe), pe.cache = {};
|
|
5267
5267
|
}), this.fonts = _.list;
|
|
5268
5268
|
return;
|
|
5269
5269
|
}
|
|
@@ -5292,7 +5292,7 @@ var lottie$1 = { exports: {} };
|
|
|
5292
5292
|
le.setAttribute("f-forigin", x[S].fOrigin), le.setAttribute("f-origin", x[S].origin), le.setAttribute("rel", "stylesheet"), le.setAttribute("href", x[S].fPath), I.appendChild(le);
|
|
5293
5293
|
}
|
|
5294
5294
|
}
|
|
5295
|
-
x[S].helper =
|
|
5295
|
+
x[S].helper = y(x[S], I), x[S].cache = {}, this.fonts.push(x[S]);
|
|
5296
5296
|
}
|
|
5297
5297
|
F === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
|
|
5298
5298
|
}
|
|
@@ -5307,7 +5307,7 @@ var lottie$1 = { exports: {} };
|
|
|
5307
5307
|
}
|
|
5308
5308
|
}
|
|
5309
5309
|
}
|
|
5310
|
-
function
|
|
5310
|
+
function g(_, I, x) {
|
|
5311
5311
|
for (var S = 0, B = this.chars.length; S < B; ) {
|
|
5312
5312
|
if (this.chars[S].ch === _ && this.chars[S].style === I && this.chars[S].fFamily === x)
|
|
5313
5313
|
return this.chars[S];
|
|
@@ -5385,7 +5385,7 @@ var lottie$1 = { exports: {} };
|
|
|
5385
5385
|
var Z = {
|
|
5386
5386
|
addChars: d,
|
|
5387
5387
|
addFonts: M,
|
|
5388
|
-
getCharData:
|
|
5388
|
+
getCharData: g,
|
|
5389
5389
|
getFontByName: b,
|
|
5390
5390
|
measureText: p,
|
|
5391
5391
|
checkLoadedFonts: C,
|
|
@@ -5847,9 +5847,9 @@ var lottie$1 = { exports: {} };
|
|
|
5847
5847
|
this.data = e, this.element = t, this.globalData = i, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
|
|
5848
5848
|
var s = this.globalData.defs, n, a = this.masksProperties ? this.masksProperties.length : 0;
|
|
5849
5849
|
this.viewData = createSizedArray(a), this.solidPath = "";
|
|
5850
|
-
var o, f = this.masksProperties, l = 0, c = [], m, E, u = createElementID(), P, C,
|
|
5850
|
+
var o, f = this.masksProperties, l = 0, c = [], m, E, u = createElementID(), P, C, y, M, d = "clipPath", g = "clip-path";
|
|
5851
5851
|
for (n = 0; n < a; n += 1)
|
|
5852
|
-
if ((f[n].mode !== "a" && f[n].mode !== "n" || f[n].inv || f[n].o.k !== 100 || f[n].o.x) && (d = "mask",
|
|
5852
|
+
if ((f[n].mode !== "a" && f[n].mode !== "n" || f[n].inv || f[n].o.k !== 100 || f[n].o.x) && (d = "mask", g = "mask"), (f[n].mode === "s" || f[n].mode === "i") && l === 0 ? (P = createNS("rect"), P.setAttribute("fill", "#ffffff"), P.setAttribute("width", this.element.comp.data.w || 0), P.setAttribute("height", this.element.comp.data.h || 0), c.push(P)) : P = null, o = createNS("path"), f[n].mode === "n")
|
|
5853
5853
|
this.viewData[n] = {
|
|
5854
5854
|
op: PropertyFactory.getProp(this.element, f[n].o, 0, 0.01, this.element),
|
|
5855
5855
|
prop: ShapePropertyFactory.getShapeProp(this.element, f[n], 3),
|
|
@@ -5859,10 +5859,10 @@ var lottie$1 = { exports: {} };
|
|
|
5859
5859
|
else {
|
|
5860
5860
|
l += 1, o.setAttribute("fill", f[n].mode === "s" ? "#000000" : "#ffffff"), o.setAttribute("clip-rule", "nonzero");
|
|
5861
5861
|
var p;
|
|
5862
|
-
if (f[n].x.k !== 0 ? (d = "mask",
|
|
5862
|
+
if (f[n].x.k !== 0 ? (d = "mask", g = "mask", M = PropertyFactory.getProp(this.element, f[n].x, 0, null, this.element), p = createElementID(), C = createNS("filter"), C.setAttribute("id", p), y = createNS("feMorphology"), y.setAttribute("operator", "erode"), y.setAttribute("in", "SourceGraphic"), y.setAttribute("radius", "0"), C.appendChild(y), s.appendChild(C), o.setAttribute("stroke", f[n].mode === "s" ? "#000000" : "#ffffff")) : (y = null, M = null), this.storedData[n] = {
|
|
5863
5863
|
elem: o,
|
|
5864
5864
|
x: M,
|
|
5865
|
-
expan:
|
|
5865
|
+
expan: y,
|
|
5866
5866
|
lastPath: "",
|
|
5867
5867
|
lastOperator: "",
|
|
5868
5868
|
filterId: p,
|
|
@@ -5886,7 +5886,7 @@ var lottie$1 = { exports: {} };
|
|
|
5886
5886
|
}
|
|
5887
5887
|
for (this.maskElement = createNS(d), a = c.length, n = 0; n < a; n += 1)
|
|
5888
5888
|
this.maskElement.appendChild(c[n]);
|
|
5889
|
-
l > 0 && (this.maskElement.setAttribute("id", u), this.element.maskedElement.setAttribute(
|
|
5889
|
+
l > 0 && (this.maskElement.setAttribute("id", u), this.element.maskedElement.setAttribute(g, "url(" + getLocationHref() + "#" + u + ")"), s.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
|
|
5890
5890
|
}
|
|
5891
5891
|
MaskElement.prototype.getMaskProperty = function(e) {
|
|
5892
5892
|
return this.viewData[e].prop;
|
|
@@ -6340,7 +6340,7 @@ var lottie$1 = { exports: {} };
|
|
|
6340
6340
|
function a() {
|
|
6341
6341
|
}
|
|
6342
6342
|
function o(E, u, P) {
|
|
6343
|
-
var C,
|
|
6343
|
+
var C, y, M, d, g, p, b = u.styles.length, L = u.lvl, A, T, k, R;
|
|
6344
6344
|
for (p = 0; p < b; p += 1) {
|
|
6345
6345
|
if (d = u.sh._mdf || P, u.styles[p].lvl < L) {
|
|
6346
6346
|
for (T = t.reset(), k = L - u.styles[p].lvl, R = u.transformers.length - 1; !d && k > 0; )
|
|
@@ -6350,9 +6350,9 @@ var lottie$1 = { exports: {} };
|
|
|
6350
6350
|
T.multiply(u.transformers[R].mProps.v), k -= 1, R -= 1;
|
|
6351
6351
|
} else
|
|
6352
6352
|
T = e;
|
|
6353
|
-
if (A = u.sh.paths,
|
|
6354
|
-
for (M = "", C = 0; C <
|
|
6355
|
-
|
|
6353
|
+
if (A = u.sh.paths, y = A._length, d) {
|
|
6354
|
+
for (M = "", C = 0; C < y; C += 1)
|
|
6355
|
+
g = A.shapes[C], g && g._length && (M += buildShapeString(g, g._length, g.c, T));
|
|
6356
6356
|
u.caches[p] = M;
|
|
6357
6357
|
} else
|
|
6358
6358
|
M = u.caches[p];
|
|
@@ -6367,14 +6367,14 @@ var lottie$1 = { exports: {} };
|
|
|
6367
6367
|
c(E, u, P), m(E, u, P);
|
|
6368
6368
|
}
|
|
6369
6369
|
function c(E, u, P) {
|
|
6370
|
-
var C = u.gf,
|
|
6370
|
+
var C = u.gf, y = u.g._hasOpacity, M = u.s.v, d = u.e.v;
|
|
6371
6371
|
if (u.o._mdf || P) {
|
|
6372
|
-
var
|
|
6373
|
-
u.style.pElem.setAttribute(
|
|
6372
|
+
var g = E.ty === "gf" ? "fill-opacity" : "stroke-opacity";
|
|
6373
|
+
u.style.pElem.setAttribute(g, u.o.v);
|
|
6374
6374
|
}
|
|
6375
6375
|
if (u.s._mdf || P) {
|
|
6376
6376
|
var p = E.t === 1 ? "x1" : "cx", b = p === "x1" ? "y1" : "cy";
|
|
6377
|
-
C.setAttribute(p, M[0]), C.setAttribute(b, M[1]),
|
|
6377
|
+
C.setAttribute(p, M[0]), C.setAttribute(b, M[1]), y && !u.g._collapsable && (u.of.setAttribute(p, M[0]), u.of.setAttribute(b, M[1]));
|
|
6378
6378
|
}
|
|
6379
6379
|
var L, A, T, k;
|
|
6380
6380
|
if (u.g._cmdf || P) {
|
|
@@ -6383,27 +6383,27 @@ var lottie$1 = { exports: {} };
|
|
|
6383
6383
|
for (T = L.length, A = 0; A < T; A += 1)
|
|
6384
6384
|
k = L[A], k.setAttribute("offset", R[A * 4] + "%"), k.setAttribute("stop-color", "rgb(" + R[A * 4 + 1] + "," + R[A * 4 + 2] + "," + R[A * 4 + 3] + ")");
|
|
6385
6385
|
}
|
|
6386
|
-
if (
|
|
6386
|
+
if (y && (u.g._omdf || P)) {
|
|
6387
6387
|
var X = u.g.o;
|
|
6388
6388
|
for (u.g._collapsable ? L = u.cst : L = u.ost, T = L.length, A = 0; A < T; A += 1)
|
|
6389
6389
|
k = L[A], u.g._collapsable || k.setAttribute("offset", X[A * 2] + "%"), k.setAttribute("stop-opacity", X[A * 2 + 1]);
|
|
6390
6390
|
}
|
|
6391
6391
|
if (E.t === 1)
|
|
6392
|
-
(u.e._mdf || P) && (C.setAttribute("x2", d[0]), C.setAttribute("y2", d[1]),
|
|
6392
|
+
(u.e._mdf || P) && (C.setAttribute("x2", d[0]), C.setAttribute("y2", d[1]), y && !u.g._collapsable && (u.of.setAttribute("x2", d[0]), u.of.setAttribute("y2", d[1])));
|
|
6393
6393
|
else {
|
|
6394
6394
|
var N;
|
|
6395
|
-
if ((u.s._mdf || u.e._mdf || P) && (N = Math.sqrt(Math.pow(M[0] - d[0], 2) + Math.pow(M[1] - d[1], 2)), C.setAttribute("r", N),
|
|
6395
|
+
if ((u.s._mdf || u.e._mdf || P) && (N = Math.sqrt(Math.pow(M[0] - d[0], 2) + Math.pow(M[1] - d[1], 2)), C.setAttribute("r", N), y && !u.g._collapsable && u.of.setAttribute("r", N)), u.e._mdf || u.h._mdf || u.a._mdf || P) {
|
|
6396
6396
|
N || (N = Math.sqrt(Math.pow(M[0] - d[0], 2) + Math.pow(M[1] - d[1], 2)));
|
|
6397
6397
|
var j = Math.atan2(d[1] - M[1], d[0] - M[0]), Y = u.h.v;
|
|
6398
6398
|
Y >= 1 ? Y = 0.99 : Y <= -1 && (Y = -0.99);
|
|
6399
6399
|
var U = N * Y, Z = Math.cos(j + u.a.v) * U + M[0], _ = Math.sin(j + u.a.v) * U + M[1];
|
|
6400
|
-
C.setAttribute("fx", Z), C.setAttribute("fy", _),
|
|
6400
|
+
C.setAttribute("fx", Z), C.setAttribute("fy", _), y && !u.g._collapsable && (u.of.setAttribute("fx", Z), u.of.setAttribute("fy", _));
|
|
6401
6401
|
}
|
|
6402
6402
|
}
|
|
6403
6403
|
}
|
|
6404
6404
|
function m(E, u, P) {
|
|
6405
|
-
var C = u.style,
|
|
6406
|
-
|
|
6405
|
+
var C = u.style, y = u.d;
|
|
6406
|
+
y && (y._mdf || P) && y.dashStr && (C.pElem.setAttribute("stroke-dasharray", y.dashStr), C.pElem.setAttribute("stroke-dashoffset", y.dashoffset[0])), u.c && (u.c._mdf || P) && C.pElem.setAttribute("stroke", "rgb(" + bmFloor(u.c.v[0]) + "," + bmFloor(u.c.v[1]) + "," + bmFloor(u.c.v[2]) + ")"), (u.o._mdf || P) && C.pElem.setAttribute("stroke-opacity", u.o.v), (u.w._mdf || P) && (C.pElem.setAttribute("stroke-width", u.w.v), C.msElem && C.msElem.setAttribute("stroke-width", u.w.v));
|
|
6407
6407
|
}
|
|
6408
6408
|
return i;
|
|
6409
6409
|
}();
|
|
@@ -6471,7 +6471,7 @@ var lottie$1 = { exports: {} };
|
|
|
6471
6471
|
this.dynamicProperties[e].getValue();
|
|
6472
6472
|
this.renderModifiers();
|
|
6473
6473
|
}, SVGShapeElement.prototype.searchShapes = function(e, t, i, s, n, a, o) {
|
|
6474
|
-
var f = [].concat(a), l, c = e.length - 1, m, E, u = [], P = [], C,
|
|
6474
|
+
var f = [].concat(a), l, c = e.length - 1, m, E, u = [], P = [], C, y, M;
|
|
6475
6475
|
for (l = c; l >= 0; l -= 1) {
|
|
6476
6476
|
if (M = this.searchProcessedElement(e[l]), M ? t[l] = i[M - 1] : e[l]._render = o, e[l].ty === "fl" || e[l].ty === "st" || e[l].ty === "gf" || e[l].ty === "gs" || e[l].ty === "no")
|
|
6477
6477
|
M ? t[l].style.closed = !1 : t[l] = this.createStyleElement(e[l], n), e[l]._render && t[l].style.pElem.parentNode !== s && s.appendChild(t[l].style.pElem), u.push(t[l].style);
|
|
@@ -6482,7 +6482,7 @@ var lottie$1 = { exports: {} };
|
|
|
6482
6482
|
for (E = t[l].it.length, m = 0; m < E; m += 1)
|
|
6483
6483
|
t[l].prevViewData[m] = t[l].it[m];
|
|
6484
6484
|
this.searchShapes(e[l].it, t[l].it, t[l].prevViewData, t[l].gr, n + 1, f, o), e[l]._render && t[l].gr.parentNode !== s && s.appendChild(t[l].gr);
|
|
6485
|
-
} else e[l].ty === "tr" ? (M || (t[l] = this.createTransformElement(e[l], s)), C = t[l].transform, f.push(C)) : e[l].ty === "sh" || e[l].ty === "rc" || e[l].ty === "el" || e[l].ty === "sr" ? (M || (t[l] = this.createShapeElement(e[l], f, n)), this.setElementStyles(t[l])) : e[l].ty === "tm" || e[l].ty === "rd" || e[l].ty === "ms" || e[l].ty === "pb" || e[l].ty === "zz" || e[l].ty === "op" ? (M ? (
|
|
6485
|
+
} else e[l].ty === "tr" ? (M || (t[l] = this.createTransformElement(e[l], s)), C = t[l].transform, f.push(C)) : e[l].ty === "sh" || e[l].ty === "rc" || e[l].ty === "el" || e[l].ty === "sr" ? (M || (t[l] = this.createShapeElement(e[l], f, n)), this.setElementStyles(t[l])) : e[l].ty === "tm" || e[l].ty === "rd" || e[l].ty === "ms" || e[l].ty === "pb" || e[l].ty === "zz" || e[l].ty === "op" ? (M ? (y = t[l], y.closed = !1) : (y = ShapeModifiers.getModifier(e[l].ty), y.init(this, e[l]), t[l] = y, this.shapeModifiers.push(y)), P.push(y)) : e[l].ty === "rp" && (M ? (y = t[l], y.closed = !0) : (y = ShapeModifiers.getModifier(e[l].ty), t[l] = y, y.init(this, e, l, t), this.shapeModifiers.push(y), o = !1), P.push(y));
|
|
6486
6486
|
this.addProcessedElement(e[l], l + 1);
|
|
6487
6487
|
}
|
|
6488
6488
|
for (c = u.length, l = 0; l < c; l += 1)
|
|
@@ -6586,7 +6586,7 @@ var lottie$1 = { exports: {} };
|
|
|
6586
6586
|
return t;
|
|
6587
6587
|
}, TextProperty.prototype.completeTextData = function(e) {
|
|
6588
6588
|
e.__complete = !0;
|
|
6589
|
-
var t = this.elem.globalData.fontManager, i = this.data, s = [], n, a, o, f = 0, l, c = i.m.g, m = 0, E = 0, u = 0, P = [], C = 0,
|
|
6589
|
+
var t = this.elem.globalData.fontManager, i = this.data, s = [], n, a, o, f = 0, l, c = i.m.g, m = 0, E = 0, u = 0, P = [], C = 0, y = 0, M, d, g = t.getFontByName(e.f), p, b = 0, L = getFontProperties(g);
|
|
6590
6590
|
e.fWeight = L.weight, e.fStyle = L.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
|
|
6591
6591
|
var A = e.tr / 1e3 * e.finalSize, T;
|
|
6592
6592
|
if (e.sz)
|
|
@@ -6594,13 +6594,13 @@ var lottie$1 = { exports: {} };
|
|
|
6594
6594
|
j = this.buildFinalText(e.t), N = 0, C = 0, a = j.length, A = e.tr / 1e3 * e.finalSize;
|
|
6595
6595
|
var Y = -1;
|
|
6596
6596
|
for (n = 0; n < a; n += 1)
|
|
6597
|
-
T = j[n].charCodeAt(0), o = !1, j[n] === " " ? Y = n : (T === 13 || T === 3) && (C = 0, o = !0, N += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (p = t.getCharData(j[n],
|
|
6598
|
-
N +=
|
|
6597
|
+
T = j[n].charCodeAt(0), o = !1, j[n] === " " ? Y = n : (T === 13 || T === 3) && (C = 0, o = !0, N += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (p = t.getCharData(j[n], g.fStyle, g.fFamily), b = o ? 0 : p.w * e.finalSize / 100) : b = t.measureText(j[n], e.f, e.finalSize), C + b > R && j[n] !== " " ? (Y === -1 ? a += 1 : n = Y, N += e.finalLineHeight || e.finalSize * 1.2, j.splice(n, Y === n ? 1 : 0, "\r"), Y = -1, C = 0) : (C += b, C += A);
|
|
6598
|
+
N += g.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && X < N ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = j, a = e.finalText.length, k = !1);
|
|
6599
6599
|
}
|
|
6600
6600
|
C = -A, b = 0;
|
|
6601
6601
|
var U = 0, Z;
|
|
6602
6602
|
for (n = 0; n < a; n += 1)
|
|
6603
|
-
if (o = !1, Z = e.finalText[n], T = Z.charCodeAt(0), T === 13 || T === 3 ? (U = 0, P.push(C),
|
|
6603
|
+
if (o = !1, Z = e.finalText[n], T = Z.charCodeAt(0), T === 13 || T === 3 ? (U = 0, P.push(C), y = C > y ? C : y, C = -2 * A, l = "", o = !0, u += 1) : l = Z, t.chars ? (p = t.getCharData(Z, g.fStyle, t.getFontByName(e.f).fFamily), b = o ? 0 : p.w * e.finalSize / 100) : b = t.measureText(l, e.f, e.finalSize), Z === " " ? U += b + A : (C += b + A + U, U = 0), s.push({
|
|
6604
6604
|
l: b,
|
|
6605
6605
|
an: b,
|
|
6606
6606
|
add: m,
|
|
@@ -6623,10 +6623,10 @@ var lottie$1 = { exports: {} };
|
|
|
6623
6623
|
}
|
|
6624
6624
|
} else
|
|
6625
6625
|
s[f].ind = f, s[f].extra = 0, f += 1;
|
|
6626
|
-
if (e.l = s,
|
|
6626
|
+
if (e.l = s, y = C > y ? C : y, P.push(C), e.sz)
|
|
6627
6627
|
e.boxWidth = e.sz[0], e.justifyOffset = 0;
|
|
6628
6628
|
else
|
|
6629
|
-
switch (e.boxWidth =
|
|
6629
|
+
switch (e.boxWidth = y, e.j) {
|
|
6630
6630
|
case 1:
|
|
6631
6631
|
e.justifyOffset = -e.boxWidth;
|
|
6632
6632
|
break;
|
|
@@ -6649,7 +6649,7 @@ var lottie$1 = { exports: {} };
|
|
|
6649
6649
|
for (n = 0; n < a; n += 1)
|
|
6650
6650
|
x = s[n], G != x.anIndexes[M] && (G = x.anIndexes[M], q = F.splice(Math.floor(Math.random() * F.length), 1)[0]), x.anIndexes[M] = q;
|
|
6651
6651
|
}
|
|
6652
|
-
e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent =
|
|
6652
|
+
e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = g.ascent * e.finalSize / 100;
|
|
6653
6653
|
}, TextProperty.prototype.updateDocumentData = function(e, t) {
|
|
6654
6654
|
t = t === void 0 ? this.keysIndex : t;
|
|
6655
6655
|
var i = this.copyData({}, this.data.d.k[t].s);
|
|
@@ -6684,24 +6684,24 @@ var lottie$1 = { exports: {} };
|
|
|
6684
6684
|
this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
|
|
6685
6685
|
var f = 0, l = 0, c = 1, m = 1;
|
|
6686
6686
|
this.ne.v > 0 ? f = this.ne.v / 100 : l = -this.ne.v / 100, this.xe.v > 0 ? c = 1 - this.xe.v / 100 : m = 1 + this.xe.v / 100;
|
|
6687
|
-
var E = BezierFactory.getBezierEasing(f, l, c, m).get, u = 0, P = this.finalS, C = this.finalE,
|
|
6688
|
-
if (
|
|
6687
|
+
var E = BezierFactory.getBezierEasing(f, l, c, m).get, u = 0, P = this.finalS, C = this.finalE, y = this.data.sh;
|
|
6688
|
+
if (y === 2)
|
|
6689
6689
|
C === P ? u = o >= C ? 1 : 0 : u = e(0, t(0.5 / (C - P) + (o - P) / (C - P), 1)), u = E(u);
|
|
6690
|
-
else if (
|
|
6690
|
+
else if (y === 3)
|
|
6691
6691
|
C === P ? u = o >= C ? 0 : 1 : u = 1 - e(0, t(0.5 / (C - P) + (o - P) / (C - P), 1)), u = E(u);
|
|
6692
|
-
else if (
|
|
6692
|
+
else if (y === 4)
|
|
6693
6693
|
C === P ? u = 0 : (u = e(0, t(0.5 / (C - P) + (o - P) / (C - P), 1)), u < 0.5 ? u *= 2 : u = 1 - 2 * (u - 0.5)), u = E(u);
|
|
6694
|
-
else if (
|
|
6694
|
+
else if (y === 5) {
|
|
6695
6695
|
if (C === P)
|
|
6696
6696
|
u = 0;
|
|
6697
6697
|
else {
|
|
6698
6698
|
var M = C - P;
|
|
6699
6699
|
o = t(e(0, o + 0.5 - P), C - P);
|
|
6700
|
-
var d = -M / 2 + o,
|
|
6701
|
-
u = Math.sqrt(1 - d * d / (
|
|
6700
|
+
var d = -M / 2 + o, g = M / 2;
|
|
6701
|
+
u = Math.sqrt(1 - d * d / (g * g));
|
|
6702
6702
|
}
|
|
6703
6703
|
u = E(u);
|
|
6704
|
-
} else
|
|
6704
|
+
} else y === 6 ? (C === P ? u = 0 : (o = t(e(0, o + 0.5 - P), C - P), u = (1 + Math.cos(Math.PI + Math.PI * 2 * o / (C - P))) / 2), u = E(u)) : (o >= i(P) && (o - P < 0 ? u = e(0, t(t(C, 1) - (P - o), 1)) : u = e(0, t(C - o, 1))), u = E(u));
|
|
6705
6705
|
if (this.sm.v !== 100) {
|
|
6706
6706
|
var p = this.sm.v * 0.01;
|
|
6707
6707
|
p === 0 && (p = 1e-8);
|
|
@@ -6770,7 +6770,7 @@ var lottie$1 = { exports: {} };
|
|
|
6770
6770
|
}, TextAnimatorProperty.prototype.getMeasures = function(e, t) {
|
|
6771
6771
|
if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
6772
6772
|
this._isFirstFrame = !1;
|
|
6773
|
-
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, a = this.mHelper, o = this._renderType, f = this.renderedLetters.length, l, c, m, E, u = e.l, P, C,
|
|
6773
|
+
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, a = this.mHelper, o = this._renderType, f = this.renderedLetters.length, l, c, m, E, u = e.l, P, C, y, M, d, g, p, b, L, A, T, k, R, X, N;
|
|
6774
6774
|
if (this._hasMaskedPath) {
|
|
6775
6775
|
if (N = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
6776
6776
|
var j = N.v;
|
|
@@ -6783,15 +6783,15 @@ var lottie$1 = { exports: {} };
|
|
|
6783
6783
|
Y = bez.buildBezierData(j.v[m], j.v[m + 1], [j.o[m][0] - j.v[m][0], j.o[m][1] - j.v[m][1]], [j.i[m + 1][0] - j.v[m + 1][0], j.i[m + 1][1] - j.v[m + 1][1]]), P.tLength += Y.segmentLength, P.segments.push(Y), k += Y.segmentLength;
|
|
6784
6784
|
m = E, N.v.c && (Y = bez.buildBezierData(j.v[m], j.v[0], [j.o[m][0] - j.v[m][0], j.o[m][1] - j.v[m][1]], [j.i[0][0] - j.v[0][0], j.i[0][1] - j.v[0][1]]), P.tLength += Y.segmentLength, P.segments.push(Y), k += Y.segmentLength), this._pathData.pi = P;
|
|
6785
6785
|
}
|
|
6786
|
-
if (P = this._pathData.pi, C = this._pathData.f.v, p = 0,
|
|
6787
|
-
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength), p = A.length - 1, L = A[p].points,
|
|
6788
|
-
C += L[
|
|
6789
|
-
L = A[p].points, b = L[
|
|
6786
|
+
if (P = this._pathData.pi, C = this._pathData.f.v, p = 0, g = 1, M = 0, d = !0, A = P.segments, C < 0 && N.v.c)
|
|
6787
|
+
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength), p = A.length - 1, L = A[p].points, g = L.length - 1; C < 0; )
|
|
6788
|
+
C += L[g].partialLength, g -= 1, g < 0 && (p -= 1, L = A[p].points, g = L.length - 1);
|
|
6789
|
+
L = A[p].points, b = L[g - 1], y = L[g], T = y.partialLength;
|
|
6790
6790
|
}
|
|
6791
6791
|
E = u.length, l = 0, c = 0;
|
|
6792
6792
|
var U = e.finalSize * 1.2 * 0.714, Z = !0, _, I, x, S, B;
|
|
6793
6793
|
S = s.length;
|
|
6794
|
-
var F, G = -1, q, $, J, re = C, le = p, pe =
|
|
6794
|
+
var F, G = -1, q, $, J, re = C, le = p, pe = g, ue = -1, ce, se, oe, te, K, Le, Ae, Se, ye = "", xe = this.defaultPropsArray, we;
|
|
6795
6795
|
if (e.j === 2 || e.j === 1) {
|
|
6796
6796
|
var me = 0, Ce = 0, _e = e.j === 2 ? -0.5 : -1, be = 0, Me = !0;
|
|
6797
6797
|
for (m = 0; m < E; m += 1)
|
|
@@ -6809,7 +6809,7 @@ var lottie$1 = { exports: {} };
|
|
|
6809
6809
|
}
|
|
6810
6810
|
for (m = 0; m < E; m += 1) {
|
|
6811
6811
|
if (a.reset(), ce = 1, u[m].n)
|
|
6812
|
-
l = 0, c += e.yOffset, c += Z ? 1 : 0, C = re, Z = !1, this._hasMaskedPath && (p = le,
|
|
6812
|
+
l = 0, c += e.yOffset, c += Z ? 1 : 0, C = re, Z = !1, this._hasMaskedPath && (p = le, g = pe, L = A[p].points, b = L[g - 1], y = L[g], T = y.partialLength, M = 0), ye = "", Se = "", Le = "", we = "", xe = this.defaultPropsArray;
|
|
6813
6813
|
else {
|
|
6814
6814
|
if (this._hasMaskedPath) {
|
|
6815
6815
|
if (ue !== u[m].line) {
|
|
@@ -6828,7 +6828,7 @@ var lottie$1 = { exports: {} };
|
|
|
6828
6828
|
for (x = 0; x < S; x += 1)
|
|
6829
6829
|
_ = s[x].a, _.p.propType && (I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), F.length ? Pe += _.p.v[0] * F[0] : Pe += _.p.v[0] * F), _.a.propType && (I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), F.length ? Pe += _.a.v[0] * F[0] : Pe += _.a.v[0] * F);
|
|
6830
6830
|
for (d = !0, this._pathData.a.v && (C = u[0].an * 0.5 + (k - this._pathData.f.v - u[0].an * 0.5 - u[u.length - 1].an * 0.5) * G / (E - 1), C += this._pathData.f.v); d; )
|
|
6831
|
-
M + T >= C + Pe || !L ? (R = (C + Pe - M) /
|
|
6831
|
+
M + T >= C + Pe || !L ? (R = (C + Pe - M) / y.partialLength, $ = b.point[0] + (y.point[0] - b.point[0]) * R, J = b.point[1] + (y.point[1] - b.point[1]) * R, a.translate(-i[0] * u[m].an * 5e-3, -(i[1] * U) * 0.01), d = !1) : L && (M += y.partialLength, g += 1, g >= L.length && (g = 0, p += 1, A[p] ? L = A[p].points : N.v.c ? (g = 0, p = 0, L = A[p].points) : (M -= y.partialLength, L = null)), L && (b = y, y = L[g], T = y.partialLength));
|
|
6832
6832
|
q = u[m].an / 2 - u[m].add, a.translate(-q, 0, 0);
|
|
6833
6833
|
} else
|
|
6834
6834
|
q = u[m].an / 2 - u[m].add, a.translate(-q, 0, 0), a.translate(-i[0] * u[m].an * 5e-3, -i[1] * U * 0.01, 0);
|
|
@@ -6853,9 +6853,9 @@ var lottie$1 = { exports: {} };
|
|
|
6853
6853
|
_ = s[x].a, _.p.propType && (I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), this._hasMaskedPath ? F.length ? a.translate(0, _.p.v[1] * F[0], -_.p.v[2] * F[1]) : a.translate(0, _.p.v[1] * F, -_.p.v[2] * F) : F.length ? a.translate(_.p.v[0] * F[0], _.p.v[1] * F[1], -_.p.v[2] * F[2]) : a.translate(_.p.v[0] * F, _.p.v[1] * F, -_.p.v[2] * F));
|
|
6854
6854
|
if (e.strokeWidthAnim && (Le = oe < 0 ? 0 : oe), e.strokeColorAnim && (Ae = "rgb(" + Math.round(se[0] * 255) + "," + Math.round(se[1] * 255) + "," + Math.round(se[2] * 255) + ")"), e.fillColorAnim && e.fc && (Se = "rgb(" + Math.round(te[0] * 255) + "," + Math.round(te[1] * 255) + "," + Math.round(te[2] * 255) + ")"), this._hasMaskedPath) {
|
|
6855
6855
|
if (a.translate(0, -e.ls), a.translate(0, i[1] * U * 0.01 + c, 0), this._pathData.p.v) {
|
|
6856
|
-
X = (
|
|
6856
|
+
X = (y.point[1] - b.point[1]) / (y.point[0] - b.point[0]);
|
|
6857
6857
|
var Ee = Math.atan(X) * 180 / Math.PI;
|
|
6858
|
-
|
|
6858
|
+
y.point[0] < b.point[0] && (Ee += 180), a.rotate(-Ee * Math.PI / 180);
|
|
6859
6859
|
}
|
|
6860
6860
|
a.translate($, J, 0), C -= i[0] * u[m].an * 5e-3, u[m + 1] && G !== u[m + 1].ind && (C += u[m].an / 2, C += e.tr * 1e-3 * e.finalSize);
|
|
6861
6861
|
} else {
|
|
@@ -6869,9 +6869,9 @@ var lottie$1 = { exports: {} };
|
|
|
6869
6869
|
}
|
|
6870
6870
|
a.translate(0, -e.ls), a.translate(q, 0, 0), a.translate(i[0] * u[m].an * 5e-3, i[1] * U * 0.01, 0), l += u[m].l + e.tr * 1e-3 * e.finalSize;
|
|
6871
6871
|
}
|
|
6872
|
-
o === "html" ?
|
|
6872
|
+
o === "html" ? ye = a.toCSS() : o === "svg" ? ye = a.to2dCSS() : xe = [a.props[0], a.props[1], a.props[2], a.props[3], a.props[4], a.props[5], a.props[6], a.props[7], a.props[8], a.props[9], a.props[10], a.props[11], a.props[12], a.props[13], a.props[14], a.props[15]], we = ce;
|
|
6873
6873
|
}
|
|
6874
|
-
f <= m ? (B = new LetterProps(we, Le, Ae, Se,
|
|
6874
|
+
f <= m ? (B = new LetterProps(we, Le, Ae, Se, ye, xe), this.renderedLetters.push(B), f += 1, this.lettersChangedFlag = !0) : (B = this.renderedLetters[m], this.lettersChangedFlag = B.update(we, Le, Ae, Se, ye, xe) || this.lettersChangedFlag);
|
|
6875
6875
|
}
|
|
6876
6876
|
}
|
|
6877
6877
|
}, TextAnimatorProperty.prototype.getValue = function() {
|
|
@@ -6946,7 +6946,7 @@ var lottie$1 = { exports: {} };
|
|
|
6946
6946
|
this.layerElement.setAttribute("aria-label", i.t);
|
|
6947
6947
|
var o = i.l || [], f = !!this.globalData.fontManager.chars;
|
|
6948
6948
|
t = o.length;
|
|
6949
|
-
var l, c = this.mHelper, m = "", E = this.data.singleShape, u = 0, P = 0, C = !0,
|
|
6949
|
+
var l, c = this.mHelper, m = "", E = this.data.singleShape, u = 0, P = 0, C = !0, y = i.tr * 1e-3 * i.finalSize;
|
|
6950
6950
|
if (E && !f && !i.sz) {
|
|
6951
6951
|
var M = this.textContainer, d = "start";
|
|
6952
6952
|
switch (i.j) {
|
|
@@ -6960,10 +6960,10 @@ var lottie$1 = { exports: {} };
|
|
|
6960
6960
|
d = "start";
|
|
6961
6961
|
break;
|
|
6962
6962
|
}
|
|
6963
|
-
M.setAttribute("text-anchor", d), M.setAttribute("letter-spacing",
|
|
6964
|
-
var
|
|
6965
|
-
for (t =
|
|
6966
|
-
l = this.textSpans[e].span || createNS("tspan"), l.textContent =
|
|
6963
|
+
M.setAttribute("text-anchor", d), M.setAttribute("letter-spacing", y);
|
|
6964
|
+
var g = this.buildTextContents(i.finalText);
|
|
6965
|
+
for (t = g.length, P = i.ps ? i.ps[1] + i.ascent : 0, e = 0; e < t; e += 1)
|
|
6966
|
+
l = this.textSpans[e].span || createNS("tspan"), l.textContent = g[e], l.setAttribute("x", 0), l.setAttribute("y", P), l.style.display = "inherit", M.appendChild(l), this.textSpans[e] || (this.textSpans[e] = {
|
|
6967
6967
|
span: null,
|
|
6968
6968
|
glyph: null
|
|
6969
6969
|
}), this.textSpans[e].span = l, P += i.finalLineHeight;
|
|
@@ -6985,7 +6985,7 @@ var lottie$1 = { exports: {} };
|
|
|
6985
6985
|
}
|
|
6986
6986
|
l.style.display = "inherit";
|
|
6987
6987
|
}
|
|
6988
|
-
if (c.reset(), E && (o[e].n && (u = -
|
|
6988
|
+
if (c.reset(), E && (o[e].n && (u = -y, P += i.yOffset, P += C ? 1 : 0, C = !1), this.applyTextPropertiesToMatrix(i, c, o[e].line, u, P), u += o[e].l || 0, u += y), f) {
|
|
6989
6989
|
b = this.globalData.fontManager.getCharData(i.finalText[e], s.fStyle, this.globalData.fontManager.getFontByName(i.f).fFamily);
|
|
6990
6990
|
var A;
|
|
6991
6991
|
if (b.t === 1)
|
|
@@ -7584,8 +7584,8 @@ var lottie$1 = { exports: {} };
|
|
|
7584
7584
|
var E = l * m, u = Math.cos(c + t.a.v) * E + o[0], P = Math.sin(c + t.a.v) * E + o[1];
|
|
7585
7585
|
n = a.createRadialGradient(u, P, 0, o[0], o[1], l);
|
|
7586
7586
|
}
|
|
7587
|
-
var C,
|
|
7588
|
-
for (C = 0; C <
|
|
7587
|
+
var C, y = e.g.p, M = t.g.c, d = 1;
|
|
7588
|
+
for (C = 0; C < y; C += 1)
|
|
7589
7589
|
t.g._hasOpacity && t.g._collapsable && (d = t.g.o[C * 2 + 1]), n.addColorStop(M[C * 4] / 100, "rgba(" + M[C * 4 + 1] + "," + M[C * 4 + 2] + "," + M[C * 4 + 3] + "," + d + ")");
|
|
7590
7590
|
s.grd = n;
|
|
7591
7591
|
}
|
|
@@ -7613,17 +7613,17 @@ var lottie$1 = { exports: {} };
|
|
|
7613
7613
|
e.sc && (i = !0, this.values.stroke = this.buildColor(e.sc), this.values.sWidth = e.sw);
|
|
7614
7614
|
var s = this.globalData.fontManager.getFontByName(e.f), n, a, o = e.l, f = this.mHelper;
|
|
7615
7615
|
this.stroke = i, this.values.fValue = e.finalSize + "px " + this.globalData.fontManager.getFontByName(e.f).fFamily, a = e.finalText.length;
|
|
7616
|
-
var l, c, m, E, u, P, C,
|
|
7616
|
+
var l, c, m, E, u, P, C, y, M, d, g = this.data.singleShape, p = e.tr * 1e-3 * e.finalSize, b = 0, L = 0, A = !0, T = 0;
|
|
7617
7617
|
for (n = 0; n < a; n += 1) {
|
|
7618
|
-
l = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), c = l && l.data || {}, f.reset(),
|
|
7618
|
+
l = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), c = l && l.data || {}, f.reset(), g && o[n].n && (b = -p, L += e.yOffset, L += A ? 1 : 0, A = !1), u = c.shapes ? c.shapes[0].it : [], C = u.length, f.scale(e.finalSize / 100, e.finalSize / 100), g && this.applyTextPropertiesToMatrix(e, f, o[n].line, b, L), M = createSizedArray(C - 1);
|
|
7619
7619
|
var k = 0;
|
|
7620
7620
|
for (P = 0; P < C; P += 1)
|
|
7621
7621
|
if (u[P].ty === "sh") {
|
|
7622
|
-
for (E = u[P].ks.k.i.length,
|
|
7623
|
-
m === 1 && d.push(f.applyToX(
|
|
7624
|
-
d.push(f.applyToX(
|
|
7622
|
+
for (E = u[P].ks.k.i.length, y = u[P].ks.k, d = [], m = 1; m < E; m += 1)
|
|
7623
|
+
m === 1 && d.push(f.applyToX(y.v[0][0], y.v[0][1], 0), f.applyToY(y.v[0][0], y.v[0][1], 0)), d.push(f.applyToX(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToY(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToX(y.i[m][0], y.i[m][1], 0), f.applyToY(y.i[m][0], y.i[m][1], 0), f.applyToX(y.v[m][0], y.v[m][1], 0), f.applyToY(y.v[m][0], y.v[m][1], 0));
|
|
7624
|
+
d.push(f.applyToX(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToY(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToX(y.i[0][0], y.i[0][1], 0), f.applyToY(y.i[0][0], y.i[0][1], 0), f.applyToX(y.v[0][0], y.v[0][1], 0), f.applyToY(y.v[0][0], y.v[0][1], 0)), M[k] = d, k += 1;
|
|
7625
7625
|
}
|
|
7626
|
-
|
|
7626
|
+
g && (b += o[n].l, b += p), this.textSpans[T] ? this.textSpans[T].elem = M : this.textSpans[T] = {
|
|
7627
7627
|
elem: M
|
|
7628
7628
|
}, T += 1;
|
|
7629
7629
|
}
|
|
@@ -7633,20 +7633,20 @@ var lottie$1 = { exports: {} };
|
|
|
7633
7633
|
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);
|
|
7634
7634
|
var t, i, s, n, a, o, f = this.textAnimator.renderedLetters, l = this.textProperty.currentData.l;
|
|
7635
7635
|
i = l.length;
|
|
7636
|
-
var c, m = null, E = null, u = null, P, C,
|
|
7636
|
+
var c, m = null, E = null, u = null, P, C, y = this.globalData.renderer;
|
|
7637
7637
|
for (t = 0; t < i; t += 1)
|
|
7638
7638
|
if (!l[t].n) {
|
|
7639
|
-
if (c = f[t], c && (
|
|
7640
|
-
for (c && c.fc ? m !== c.fc && (
|
|
7639
|
+
if (c = f[t], c && (y.save(), y.ctxTransform(c.p), y.ctxOpacity(c.o)), this.fill) {
|
|
7640
|
+
for (c && c.fc ? m !== c.fc && (y.ctxFillStyle(c.fc), m = c.fc) : m !== this.values.fill && (m = this.values.fill, y.ctxFillStyle(this.values.fill)), P = this.textSpans[t].elem, n = P.length, this.globalData.canvasContext.beginPath(), s = 0; s < n; s += 1)
|
|
7641
7641
|
for (C = P[s], o = C.length, this.globalData.canvasContext.moveTo(C[0], C[1]), a = 2; a < o; a += 6)
|
|
7642
7642
|
this.globalData.canvasContext.bezierCurveTo(C[a], C[a + 1], C[a + 2], C[a + 3], C[a + 4], C[a + 5]);
|
|
7643
|
-
this.globalData.canvasContext.closePath(),
|
|
7643
|
+
this.globalData.canvasContext.closePath(), y.ctxFill();
|
|
7644
7644
|
}
|
|
7645
7645
|
if (this.stroke) {
|
|
7646
|
-
for (c && c.sw ? u !== c.sw && (u = c.sw,
|
|
7646
|
+
for (c && c.sw ? u !== c.sw && (u = c.sw, y.ctxLineWidth(c.sw)) : u !== this.values.sWidth && (u = this.values.sWidth, y.ctxLineWidth(this.values.sWidth)), c && c.sc ? E !== c.sc && (E = c.sc, y.ctxStrokeStyle(c.sc)) : E !== this.values.stroke && (E = this.values.stroke, y.ctxStrokeStyle(this.values.stroke)), P = this.textSpans[t].elem, n = P.length, this.globalData.canvasContext.beginPath(), s = 0; s < n; s += 1)
|
|
7647
7647
|
for (C = P[s], o = C.length, this.globalData.canvasContext.moveTo(C[0], C[1]), a = 2; a < o; a += 6)
|
|
7648
7648
|
this.globalData.canvasContext.bezierCurveTo(C[a], C[a + 1], C[a + 2], C[a + 3], C[a + 4], C[a + 5]);
|
|
7649
|
-
this.globalData.canvasContext.closePath(),
|
|
7649
|
+
this.globalData.canvasContext.closePath(), y.ctxStroke();
|
|
7650
7650
|
}
|
|
7651
7651
|
c && this.globalData.renderer.restore();
|
|
7652
7652
|
}
|
|
@@ -8045,19 +8045,19 @@ var lottie$1 = { exports: {} };
|
|
|
8045
8045
|
}
|
|
8046
8046
|
var o, f, l = e.l;
|
|
8047
8047
|
f = l.length;
|
|
8048
|
-
var c, m, E, u = this.mHelper, P, C = "",
|
|
8048
|
+
var c, m, E, u = this.mHelper, P, C = "", y = 0;
|
|
8049
8049
|
for (o = 0; o < f; o += 1) {
|
|
8050
|
-
if (this.globalData.fontManager.chars ? (this.textPaths[
|
|
8050
|
+
if (this.globalData.fontManager.chars ? (this.textPaths[y] ? c = this.textPaths[y] : (c = createNS("path"), c.setAttribute("stroke-linecap", lineCapEnum[1]), c.setAttribute("stroke-linejoin", lineJoinEnum[2]), c.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[y] ? (m = this.textSpans[y], E = m.children[0]) : (m = createTag("div"), m.style.lineHeight = 0, E = createNS("svg"), E.appendChild(c), styleDiv(m)))) : this.isMasked ? c = this.textPaths[y] ? this.textPaths[y] : createNS("text") : this.textSpans[y] ? (m = this.textSpans[y], c = this.textPaths[y]) : (m = createTag("span"), styleDiv(m), c = createTag("span"), styleDiv(c), m.appendChild(c)), this.globalData.fontManager.chars) {
|
|
8051
8051
|
var M = this.globalData.fontManager.getCharData(e.finalText[o], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), d;
|
|
8052
8052
|
if (M ? d = M.data : d = null, u.reset(), d && d.shapes && d.shapes.length && (P = d.shapes[0].it, u.scale(e.finalSize / 100, e.finalSize / 100), C = this.createPathShape(u, P), c.setAttribute("d", C)), this.isMasked)
|
|
8053
8053
|
this.innerElem.appendChild(c);
|
|
8054
8054
|
else {
|
|
8055
8055
|
if (this.innerElem.appendChild(m), d && d.shapes) {
|
|
8056
8056
|
document.body.appendChild(E);
|
|
8057
|
-
var
|
|
8058
|
-
E.setAttribute("width",
|
|
8059
|
-
var p = E.style, b = "translate(" + (
|
|
8060
|
-
p.transform = b, p.webkitTransform = b, l[o].yOffset =
|
|
8057
|
+
var g = E.getBBox();
|
|
8058
|
+
E.setAttribute("width", g.width + 2), E.setAttribute("height", g.height + 2), E.setAttribute("viewBox", g.x - 1 + " " + (g.y - 1) + " " + (g.width + 2) + " " + (g.height + 2));
|
|
8059
|
+
var p = E.style, b = "translate(" + (g.x - 1) + "px," + (g.y - 1) + "px)";
|
|
8060
|
+
p.transform = b, p.webkitTransform = b, l[o].yOffset = g.y - 1;
|
|
8061
8061
|
} else
|
|
8062
8062
|
E.setAttribute("width", 1), E.setAttribute("height", 1);
|
|
8063
8063
|
m.appendChild(E);
|
|
@@ -8069,10 +8069,10 @@ var lottie$1 = { exports: {} };
|
|
|
8069
8069
|
var L = c.style, A = "translate3d(0," + -e.finalSize / 1.2 + "px,0)";
|
|
8070
8070
|
L.transform = A, L.webkitTransform = A;
|
|
8071
8071
|
}
|
|
8072
|
-
this.isMasked ? this.textSpans[
|
|
8072
|
+
this.isMasked ? this.textSpans[y] = c : this.textSpans[y] = m, this.textSpans[y].style.display = "block", this.textPaths[y] = c, y += 1;
|
|
8073
8073
|
}
|
|
8074
|
-
for (;
|
|
8075
|
-
this.textSpans[
|
|
8074
|
+
for (; y < this.textSpans.length; )
|
|
8075
|
+
this.textSpans[y].style.display = "none", y += 1;
|
|
8076
8076
|
}, HTextElement.prototype.renderInnerContent = function() {
|
|
8077
8077
|
this.validateText();
|
|
8078
8078
|
var e;
|
|
@@ -8367,7 +8367,7 @@ var lottie$1 = { exports: {} };
|
|
|
8367
8367
|
b = b === !0 ? {
|
|
8368
8368
|
entropy: !0
|
|
8369
8369
|
} : b || {};
|
|
8370
|
-
var T = M(
|
|
8370
|
+
var T = M(y(b.entropy ? [p, g(e)] : p === null ? d() : p, 3), A), k = new P(A), R = function() {
|
|
8371
8371
|
for (var N = k.g(n), j = f, Y = 0; N < l; )
|
|
8372
8372
|
N = (N + Y) * s, j *= s, Y = k.g(1);
|
|
8373
8373
|
for (; N >= c; )
|
|
@@ -8378,7 +8378,7 @@ var lottie$1 = { exports: {} };
|
|
|
8378
8378
|
return k.g(4) | 0;
|
|
8379
8379
|
}, R.quick = function() {
|
|
8380
8380
|
return k.g(4) / 4294967296;
|
|
8381
|
-
}, R.double = R, M(
|
|
8381
|
+
}, R.double = R, M(g(k.S), e), (b.pass || L || function(X, N, j, Y) {
|
|
8382
8382
|
return Y && (Y.S && C(Y, k), X.state = function() {
|
|
8383
8383
|
return C(k, {});
|
|
8384
8384
|
}), j ? (t[o] = X, N) : X;
|
|
@@ -8400,12 +8400,12 @@ var lottie$1 = { exports: {} };
|
|
|
8400
8400
|
function C(p, b) {
|
|
8401
8401
|
return b.i = p.i, b.j = p.j, b.S = p.S.slice(), b;
|
|
8402
8402
|
}
|
|
8403
|
-
function
|
|
8403
|
+
function y(p, b) {
|
|
8404
8404
|
var L = [], A = _typeof$2(p), T;
|
|
8405
8405
|
if (b && A == "object")
|
|
8406
8406
|
for (T in p)
|
|
8407
8407
|
try {
|
|
8408
|
-
L.push(
|
|
8408
|
+
L.push(y(p[T], b - 1));
|
|
8409
8409
|
} catch {
|
|
8410
8410
|
}
|
|
8411
8411
|
return L.length ? L : A == "string" ? p : p + "\0";
|
|
@@ -8413,18 +8413,18 @@ var lottie$1 = { exports: {} };
|
|
|
8413
8413
|
function M(p, b) {
|
|
8414
8414
|
for (var L = p + "", A, T = 0; T < L.length; )
|
|
8415
8415
|
b[m & T] = m & (A ^= b[m & T] * 19) + L.charCodeAt(T++);
|
|
8416
|
-
return
|
|
8416
|
+
return g(b);
|
|
8417
8417
|
}
|
|
8418
8418
|
function d() {
|
|
8419
8419
|
try {
|
|
8420
8420
|
var p = new Uint8Array(s);
|
|
8421
|
-
return (i.crypto || i.msCrypto).getRandomValues(p),
|
|
8421
|
+
return (i.crypto || i.msCrypto).getRandomValues(p), g(p);
|
|
8422
8422
|
} catch {
|
|
8423
8423
|
var b = i.navigator, L = b && b.plugins;
|
|
8424
|
-
return [+/* @__PURE__ */ new Date(), i, L, i.screen,
|
|
8424
|
+
return [+/* @__PURE__ */ new Date(), i, L, i.screen, g(e)];
|
|
8425
8425
|
}
|
|
8426
8426
|
}
|
|
8427
|
-
function
|
|
8427
|
+
function g(p) {
|
|
8428
8428
|
return String.fromCharCode.apply(0, p);
|
|
8429
8429
|
}
|
|
8430
8430
|
M(t.random(), e);
|
|
@@ -8994,14 +8994,14 @@ var lottie$1 = { exports: {} };
|
|
|
8994
8994
|
}
|
|
8995
8995
|
return function(c) {
|
|
8996
8996
|
var m;
|
|
8997
|
-
function E(
|
|
8998
|
-
P.mask = new MaskManagerInterface(
|
|
8997
|
+
function E(y) {
|
|
8998
|
+
P.mask = new MaskManagerInterface(y, c);
|
|
8999
8999
|
}
|
|
9000
|
-
function u(
|
|
9001
|
-
P.effect =
|
|
9000
|
+
function u(y) {
|
|
9001
|
+
P.effect = y;
|
|
9002
9002
|
}
|
|
9003
|
-
function P(
|
|
9004
|
-
switch (
|
|
9003
|
+
function P(y) {
|
|
9004
|
+
switch (y) {
|
|
9005
9005
|
case "ADBE Root Vectors Group":
|
|
9006
9006
|
case "Contents":
|
|
9007
9007
|
case 2:
|
|
@@ -9097,10 +9097,10 @@ var lottie$1 = { exports: {} };
|
|
|
9097
9097
|
}
|
|
9098
9098
|
function i(n, a, o, f) {
|
|
9099
9099
|
function l(P) {
|
|
9100
|
-
for (var C = n.ef,
|
|
9101
|
-
if (P === C[
|
|
9102
|
-
return C[
|
|
9103
|
-
|
|
9100
|
+
for (var C = n.ef, y = 0, M = C.length; y < M; ) {
|
|
9101
|
+
if (P === C[y].nm || P === C[y].mn || P === C[y].ix)
|
|
9102
|
+
return C[y].ty === 5 ? m[y] : m[y]();
|
|
9103
|
+
y += 1;
|
|
9104
9104
|
}
|
|
9105
9105
|
throw new Error();
|
|
9106
9106
|
}
|
|
@@ -9169,14 +9169,14 @@ var lottie$1 = { exports: {} };
|
|
|
9169
9169
|
}), a;
|
|
9170
9170
|
};
|
|
9171
9171
|
}(), ShapeExpressionInterface = /* @__PURE__ */ function() {
|
|
9172
|
-
function e(C,
|
|
9173
|
-
var d = [],
|
|
9174
|
-
for (
|
|
9175
|
-
C[
|
|
9172
|
+
function e(C, y, M) {
|
|
9173
|
+
var d = [], g, p = C ? C.length : 0;
|
|
9174
|
+
for (g = 0; g < p; g += 1)
|
|
9175
|
+
C[g].ty === "gr" ? d.push(i(C[g], y[g], M)) : C[g].ty === "fl" ? d.push(s(C[g], y[g], M)) : C[g].ty === "st" ? d.push(o(C[g], y[g], M)) : C[g].ty === "tm" ? d.push(f(C[g], y[g], M)) : C[g].ty === "tr" || (C[g].ty === "el" ? d.push(c(C[g], y[g], M)) : C[g].ty === "sr" ? d.push(m(C[g], y[g], M)) : C[g].ty === "sh" ? d.push(ShapePathInterface(C[g], y[g], M)) : C[g].ty === "rc" ? d.push(E(C[g], y[g], M)) : C[g].ty === "rd" ? d.push(u(C[g], y[g], M)) : C[g].ty === "rp" ? d.push(P(C[g], y[g], M)) : C[g].ty === "gf" ? d.push(n(C[g], y[g], M)) : d.push(a(C[g], y[g])));
|
|
9176
9176
|
return d;
|
|
9177
9177
|
}
|
|
9178
|
-
function t(C,
|
|
9179
|
-
var d,
|
|
9178
|
+
function t(C, y, M) {
|
|
9179
|
+
var d, g = function(L) {
|
|
9180
9180
|
for (var A = 0, T = d.length; A < T; ) {
|
|
9181
9181
|
if (d[A]._name === L || d[A].mn === L || d[A].propertyIndex === L || d[A].ix === L || d[A].ind === L)
|
|
9182
9182
|
return d[A];
|
|
@@ -9184,11 +9184,11 @@ var lottie$1 = { exports: {} };
|
|
|
9184
9184
|
}
|
|
9185
9185
|
return typeof L == "number" ? d[L - 1] : null;
|
|
9186
9186
|
};
|
|
9187
|
-
|
|
9188
|
-
var p = l(C.it[C.it.length - 1],
|
|
9189
|
-
return
|
|
9187
|
+
g.propertyGroup = propertyGroupFactory(g, M), d = e(C.it, y.it, g.propertyGroup), g.numProperties = d.length;
|
|
9188
|
+
var p = l(C.it[C.it.length - 1], y.it[y.it.length - 1], g.propertyGroup);
|
|
9189
|
+
return g.transform = p, g.propertyIndex = C.cix, g._name = C.nm, g;
|
|
9190
9190
|
}
|
|
9191
|
-
function i(C,
|
|
9191
|
+
function i(C, y, M) {
|
|
9192
9192
|
var d = function(L) {
|
|
9193
9193
|
switch (L) {
|
|
9194
9194
|
case "ADBE Vectors Group":
|
|
@@ -9200,23 +9200,23 @@ var lottie$1 = { exports: {} };
|
|
|
9200
9200
|
}
|
|
9201
9201
|
};
|
|
9202
9202
|
d.propertyGroup = propertyGroupFactory(d, M);
|
|
9203
|
-
var
|
|
9204
|
-
return d.content =
|
|
9203
|
+
var g = t(C, y, d.propertyGroup), p = l(C.it[C.it.length - 1], y.it[y.it.length - 1], d.propertyGroup);
|
|
9204
|
+
return d.content = g, d.transform = p, Object.defineProperty(d, "_name", {
|
|
9205
9205
|
get: function() {
|
|
9206
9206
|
return C.nm;
|
|
9207
9207
|
}
|
|
9208
9208
|
}), d.numProperties = C.np, d.propertyIndex = C.ix, d.nm = C.nm, d.mn = C.mn, d;
|
|
9209
9209
|
}
|
|
9210
|
-
function s(C,
|
|
9211
|
-
function d(
|
|
9212
|
-
return
|
|
9210
|
+
function s(C, y, M) {
|
|
9211
|
+
function d(g) {
|
|
9212
|
+
return g === "Color" || g === "color" ? d.color : g === "Opacity" || g === "opacity" ? d.opacity : null;
|
|
9213
9213
|
}
|
|
9214
9214
|
return Object.defineProperties(d, {
|
|
9215
9215
|
color: {
|
|
9216
|
-
get: ExpressionPropertyInterface(
|
|
9216
|
+
get: ExpressionPropertyInterface(y.c)
|
|
9217
9217
|
},
|
|
9218
9218
|
opacity: {
|
|
9219
|
-
get: ExpressionPropertyInterface(
|
|
9219
|
+
get: ExpressionPropertyInterface(y.o)
|
|
9220
9220
|
},
|
|
9221
9221
|
_name: {
|
|
9222
9222
|
value: C.nm
|
|
@@ -9224,21 +9224,21 @@ var lottie$1 = { exports: {} };
|
|
|
9224
9224
|
mn: {
|
|
9225
9225
|
value: C.mn
|
|
9226
9226
|
}
|
|
9227
|
-
}),
|
|
9227
|
+
}), y.c.setGroupProperty(PropertyInterface("Color", M)), y.o.setGroupProperty(PropertyInterface("Opacity", M)), d;
|
|
9228
9228
|
}
|
|
9229
|
-
function n(C,
|
|
9230
|
-
function d(
|
|
9231
|
-
return
|
|
9229
|
+
function n(C, y, M) {
|
|
9230
|
+
function d(g) {
|
|
9231
|
+
return g === "Start Point" || g === "start point" ? d.startPoint : g === "End Point" || g === "end point" ? d.endPoint : g === "Opacity" || g === "opacity" ? d.opacity : null;
|
|
9232
9232
|
}
|
|
9233
9233
|
return Object.defineProperties(d, {
|
|
9234
9234
|
startPoint: {
|
|
9235
|
-
get: ExpressionPropertyInterface(
|
|
9235
|
+
get: ExpressionPropertyInterface(y.s)
|
|
9236
9236
|
},
|
|
9237
9237
|
endPoint: {
|
|
9238
|
-
get: ExpressionPropertyInterface(
|
|
9238
|
+
get: ExpressionPropertyInterface(y.e)
|
|
9239
9239
|
},
|
|
9240
9240
|
opacity: {
|
|
9241
|
-
get: ExpressionPropertyInterface(
|
|
9241
|
+
get: ExpressionPropertyInterface(y.o)
|
|
9242
9242
|
},
|
|
9243
9243
|
type: {
|
|
9244
9244
|
get: function() {
|
|
@@ -9251,7 +9251,7 @@ var lottie$1 = { exports: {} };
|
|
|
9251
9251
|
mn: {
|
|
9252
9252
|
value: C.mn
|
|
9253
9253
|
}
|
|
9254
|
-
}),
|
|
9254
|
+
}), y.s.setGroupProperty(PropertyInterface("Start Point", M)), y.e.setGroupProperty(PropertyInterface("End Point", M)), y.o.setGroupProperty(PropertyInterface("Opacity", M)), d;
|
|
9255
9255
|
}
|
|
9256
9256
|
function a() {
|
|
9257
9257
|
function C() {
|
|
@@ -9259,28 +9259,28 @@ var lottie$1 = { exports: {} };
|
|
|
9259
9259
|
}
|
|
9260
9260
|
return C;
|
|
9261
9261
|
}
|
|
9262
|
-
function o(C,
|
|
9263
|
-
var d = propertyGroupFactory(T, M),
|
|
9262
|
+
function o(C, y, M) {
|
|
9263
|
+
var d = propertyGroupFactory(T, M), g = propertyGroupFactory(A, d);
|
|
9264
9264
|
function p(k) {
|
|
9265
9265
|
Object.defineProperty(A, C.d[k].nm, {
|
|
9266
|
-
get: ExpressionPropertyInterface(
|
|
9266
|
+
get: ExpressionPropertyInterface(y.d.dataProps[k].p)
|
|
9267
9267
|
});
|
|
9268
9268
|
}
|
|
9269
9269
|
var b, L = C.d ? C.d.length : 0, A = {};
|
|
9270
9270
|
for (b = 0; b < L; b += 1)
|
|
9271
|
-
p(b),
|
|
9271
|
+
p(b), y.d.dataProps[b].p.setGroupProperty(g);
|
|
9272
9272
|
function T(k) {
|
|
9273
9273
|
return k === "Color" || k === "color" ? T.color : k === "Opacity" || k === "opacity" ? T.opacity : k === "Stroke Width" || k === "stroke width" ? T.strokeWidth : null;
|
|
9274
9274
|
}
|
|
9275
9275
|
return Object.defineProperties(T, {
|
|
9276
9276
|
color: {
|
|
9277
|
-
get: ExpressionPropertyInterface(
|
|
9277
|
+
get: ExpressionPropertyInterface(y.c)
|
|
9278
9278
|
},
|
|
9279
9279
|
opacity: {
|
|
9280
|
-
get: ExpressionPropertyInterface(
|
|
9280
|
+
get: ExpressionPropertyInterface(y.o)
|
|
9281
9281
|
},
|
|
9282
9282
|
strokeWidth: {
|
|
9283
|
-
get: ExpressionPropertyInterface(
|
|
9283
|
+
get: ExpressionPropertyInterface(y.w)
|
|
9284
9284
|
},
|
|
9285
9285
|
dash: {
|
|
9286
9286
|
get: function() {
|
|
@@ -9293,68 +9293,68 @@ var lottie$1 = { exports: {} };
|
|
|
9293
9293
|
mn: {
|
|
9294
9294
|
value: C.mn
|
|
9295
9295
|
}
|
|
9296
|
-
}),
|
|
9296
|
+
}), y.c.setGroupProperty(PropertyInterface("Color", d)), y.o.setGroupProperty(PropertyInterface("Opacity", d)), y.w.setGroupProperty(PropertyInterface("Stroke Width", d)), T;
|
|
9297
9297
|
}
|
|
9298
|
-
function f(C,
|
|
9298
|
+
function f(C, y, M) {
|
|
9299
9299
|
function d(p) {
|
|
9300
9300
|
return p === C.e.ix || p === "End" || p === "end" ? d.end : p === C.s.ix ? d.start : p === C.o.ix ? d.offset : null;
|
|
9301
9301
|
}
|
|
9302
|
-
var
|
|
9303
|
-
return d.propertyIndex = C.ix,
|
|
9302
|
+
var g = propertyGroupFactory(d, M);
|
|
9303
|
+
return d.propertyIndex = C.ix, y.s.setGroupProperty(PropertyInterface("Start", g)), y.e.setGroupProperty(PropertyInterface("End", g)), y.o.setGroupProperty(PropertyInterface("Offset", g)), d.propertyIndex = C.ix, d.propertyGroup = M, Object.defineProperties(d, {
|
|
9304
9304
|
start: {
|
|
9305
|
-
get: ExpressionPropertyInterface(
|
|
9305
|
+
get: ExpressionPropertyInterface(y.s)
|
|
9306
9306
|
},
|
|
9307
9307
|
end: {
|
|
9308
|
-
get: ExpressionPropertyInterface(
|
|
9308
|
+
get: ExpressionPropertyInterface(y.e)
|
|
9309
9309
|
},
|
|
9310
9310
|
offset: {
|
|
9311
|
-
get: ExpressionPropertyInterface(
|
|
9311
|
+
get: ExpressionPropertyInterface(y.o)
|
|
9312
9312
|
},
|
|
9313
9313
|
_name: {
|
|
9314
9314
|
value: C.nm
|
|
9315
9315
|
}
|
|
9316
9316
|
}), d.mn = C.mn, d;
|
|
9317
9317
|
}
|
|
9318
|
-
function l(C,
|
|
9318
|
+
function l(C, y, M) {
|
|
9319
9319
|
function d(p) {
|
|
9320
9320
|
return C.a.ix === p || p === "Anchor Point" ? d.anchorPoint : C.o.ix === p || p === "Opacity" ? d.opacity : C.p.ix === p || p === "Position" ? d.position : C.r.ix === p || p === "Rotation" || p === "ADBE Vector Rotation" ? d.rotation : C.s.ix === p || p === "Scale" ? d.scale : C.sk && C.sk.ix === p || p === "Skew" ? d.skew : C.sa && C.sa.ix === p || p === "Skew Axis" ? d.skewAxis : null;
|
|
9321
9321
|
}
|
|
9322
|
-
var
|
|
9323
|
-
return
|
|
9322
|
+
var g = propertyGroupFactory(d, M);
|
|
9323
|
+
return y.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", g)), y.transform.mProps.p.setGroupProperty(PropertyInterface("Position", g)), y.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", g)), y.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", g)), y.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", g)), y.transform.mProps.sk && (y.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", g)), y.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", g))), y.transform.op.setGroupProperty(PropertyInterface("Opacity", g)), Object.defineProperties(d, {
|
|
9324
9324
|
opacity: {
|
|
9325
|
-
get: ExpressionPropertyInterface(
|
|
9325
|
+
get: ExpressionPropertyInterface(y.transform.mProps.o)
|
|
9326
9326
|
},
|
|
9327
9327
|
position: {
|
|
9328
|
-
get: ExpressionPropertyInterface(
|
|
9328
|
+
get: ExpressionPropertyInterface(y.transform.mProps.p)
|
|
9329
9329
|
},
|
|
9330
9330
|
anchorPoint: {
|
|
9331
|
-
get: ExpressionPropertyInterface(
|
|
9331
|
+
get: ExpressionPropertyInterface(y.transform.mProps.a)
|
|
9332
9332
|
},
|
|
9333
9333
|
scale: {
|
|
9334
|
-
get: ExpressionPropertyInterface(
|
|
9334
|
+
get: ExpressionPropertyInterface(y.transform.mProps.s)
|
|
9335
9335
|
},
|
|
9336
9336
|
rotation: {
|
|
9337
|
-
get: ExpressionPropertyInterface(
|
|
9337
|
+
get: ExpressionPropertyInterface(y.transform.mProps.r)
|
|
9338
9338
|
},
|
|
9339
9339
|
skew: {
|
|
9340
|
-
get: ExpressionPropertyInterface(
|
|
9340
|
+
get: ExpressionPropertyInterface(y.transform.mProps.sk)
|
|
9341
9341
|
},
|
|
9342
9342
|
skewAxis: {
|
|
9343
|
-
get: ExpressionPropertyInterface(
|
|
9343
|
+
get: ExpressionPropertyInterface(y.transform.mProps.sa)
|
|
9344
9344
|
},
|
|
9345
9345
|
_name: {
|
|
9346
9346
|
value: C.nm
|
|
9347
9347
|
}
|
|
9348
9348
|
}), d.ty = "tr", d.mn = C.mn, d.propertyGroup = M, d;
|
|
9349
9349
|
}
|
|
9350
|
-
function c(C,
|
|
9350
|
+
function c(C, y, M) {
|
|
9351
9351
|
function d(b) {
|
|
9352
9352
|
return C.p.ix === b ? d.position : C.s.ix === b ? d.size : null;
|
|
9353
9353
|
}
|
|
9354
|
-
var
|
|
9354
|
+
var g = propertyGroupFactory(d, M);
|
|
9355
9355
|
d.propertyIndex = C.ix;
|
|
9356
|
-
var p =
|
|
9357
|
-
return p.s.setGroupProperty(PropertyInterface("Size",
|
|
9356
|
+
var p = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9357
|
+
return p.s.setGroupProperty(PropertyInterface("Size", g)), p.p.setGroupProperty(PropertyInterface("Position", g)), Object.defineProperties(d, {
|
|
9358
9358
|
size: {
|
|
9359
9359
|
get: ExpressionPropertyInterface(p.s)
|
|
9360
9360
|
},
|
|
@@ -9366,12 +9366,12 @@ var lottie$1 = { exports: {} };
|
|
|
9366
9366
|
}
|
|
9367
9367
|
}), d.mn = C.mn, d;
|
|
9368
9368
|
}
|
|
9369
|
-
function m(C,
|
|
9369
|
+
function m(C, y, M) {
|
|
9370
9370
|
function d(b) {
|
|
9371
9371
|
return C.p.ix === b ? d.position : C.r.ix === b ? d.rotation : C.pt.ix === b ? d.points : C.or.ix === b || b === "ADBE Vector Star Outer Radius" ? d.outerRadius : C.os.ix === b ? d.outerRoundness : C.ir && (C.ir.ix === b || b === "ADBE Vector Star Inner Radius") ? d.innerRadius : C.is && C.is.ix === b ? d.innerRoundness : null;
|
|
9372
9372
|
}
|
|
9373
|
-
var
|
|
9374
|
-
return d.propertyIndex = C.ix, p.or.setGroupProperty(PropertyInterface("Outer Radius",
|
|
9373
|
+
var g = propertyGroupFactory(d, M), p = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9374
|
+
return d.propertyIndex = C.ix, p.or.setGroupProperty(PropertyInterface("Outer Radius", g)), p.os.setGroupProperty(PropertyInterface("Outer Roundness", g)), p.pt.setGroupProperty(PropertyInterface("Points", g)), p.p.setGroupProperty(PropertyInterface("Position", g)), p.r.setGroupProperty(PropertyInterface("Rotation", g)), C.ir && (p.ir.setGroupProperty(PropertyInterface("Inner Radius", g)), p.is.setGroupProperty(PropertyInterface("Inner Roundness", g))), Object.defineProperties(d, {
|
|
9375
9375
|
position: {
|
|
9376
9376
|
get: ExpressionPropertyInterface(p.p)
|
|
9377
9377
|
},
|
|
@@ -9398,12 +9398,12 @@ var lottie$1 = { exports: {} };
|
|
|
9398
9398
|
}
|
|
9399
9399
|
}), d.mn = C.mn, d;
|
|
9400
9400
|
}
|
|
9401
|
-
function E(C,
|
|
9401
|
+
function E(C, y, M) {
|
|
9402
9402
|
function d(b) {
|
|
9403
9403
|
return C.p.ix === b ? d.position : C.r.ix === b ? d.roundness : C.s.ix === b || b === "Size" || b === "ADBE Vector Rect Size" ? d.size : null;
|
|
9404
9404
|
}
|
|
9405
|
-
var
|
|
9406
|
-
return d.propertyIndex = C.ix, p.p.setGroupProperty(PropertyInterface("Position",
|
|
9405
|
+
var g = propertyGroupFactory(d, M), p = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9406
|
+
return d.propertyIndex = C.ix, p.p.setGroupProperty(PropertyInterface("Position", g)), p.s.setGroupProperty(PropertyInterface("Size", g)), p.r.setGroupProperty(PropertyInterface("Rotation", g)), Object.defineProperties(d, {
|
|
9407
9407
|
position: {
|
|
9408
9408
|
get: ExpressionPropertyInterface(p.p)
|
|
9409
9409
|
},
|
|
@@ -9418,12 +9418,12 @@ var lottie$1 = { exports: {} };
|
|
|
9418
9418
|
}
|
|
9419
9419
|
}), d.mn = C.mn, d;
|
|
9420
9420
|
}
|
|
9421
|
-
function u(C,
|
|
9421
|
+
function u(C, y, M) {
|
|
9422
9422
|
function d(b) {
|
|
9423
9423
|
return C.r.ix === b || b === "Round Corners 1" ? d.radius : null;
|
|
9424
9424
|
}
|
|
9425
|
-
var
|
|
9426
|
-
return d.propertyIndex = C.ix, p.rd.setGroupProperty(PropertyInterface("Radius",
|
|
9425
|
+
var g = propertyGroupFactory(d, M), p = y;
|
|
9426
|
+
return d.propertyIndex = C.ix, p.rd.setGroupProperty(PropertyInterface("Radius", g)), Object.defineProperties(d, {
|
|
9427
9427
|
radius: {
|
|
9428
9428
|
get: ExpressionPropertyInterface(p.rd)
|
|
9429
9429
|
},
|
|
@@ -9432,12 +9432,12 @@ var lottie$1 = { exports: {} };
|
|
|
9432
9432
|
}
|
|
9433
9433
|
}), d.mn = C.mn, d;
|
|
9434
9434
|
}
|
|
9435
|
-
function P(C,
|
|
9435
|
+
function P(C, y, M) {
|
|
9436
9436
|
function d(b) {
|
|
9437
9437
|
return C.c.ix === b || b === "Copies" ? d.copies : C.o.ix === b || b === "Offset" ? d.offset : null;
|
|
9438
9438
|
}
|
|
9439
|
-
var
|
|
9440
|
-
return d.propertyIndex = C.ix, p.c.setGroupProperty(PropertyInterface("Copies",
|
|
9439
|
+
var g = propertyGroupFactory(d, M), p = y;
|
|
9440
|
+
return d.propertyIndex = C.ix, p.c.setGroupProperty(PropertyInterface("Copies", g)), p.o.setGroupProperty(PropertyInterface("Offset", g)), Object.defineProperties(d, {
|
|
9441
9441
|
copies: {
|
|
9442
9442
|
get: ExpressionPropertyInterface(p.c)
|
|
9443
9443
|
},
|
|
@@ -9449,9 +9449,9 @@ var lottie$1 = { exports: {} };
|
|
|
9449
9449
|
}
|
|
9450
9450
|
}), d.mn = C.mn, d;
|
|
9451
9451
|
}
|
|
9452
|
-
return function(C,
|
|
9452
|
+
return function(C, y, M) {
|
|
9453
9453
|
var d;
|
|
9454
|
-
function
|
|
9454
|
+
function g(b) {
|
|
9455
9455
|
if (typeof b == "number")
|
|
9456
9456
|
return b = b === void 0 ? 1 : b, b === 0 ? M : d[b - 1];
|
|
9457
9457
|
for (var L = 0, A = d.length; L < A; ) {
|
|
@@ -9464,7 +9464,7 @@ var lottie$1 = { exports: {} };
|
|
|
9464
9464
|
function p() {
|
|
9465
9465
|
return M;
|
|
9466
9466
|
}
|
|
9467
|
-
return
|
|
9467
|
+
return g.propertyGroup = propertyGroupFactory(g, p), d = e(C, y, g.propertyGroup), g.numProperties = d.length, g._name = "Contents", g;
|
|
9468
9468
|
};
|
|
9469
9469
|
}(), TextExpressionInterface = /* @__PURE__ */ function() {
|
|
9470
9470
|
return function(e) {
|
|
@@ -9591,18 +9591,18 @@ var lottie$1 = { exports: {} };
|
|
|
9591
9591
|
if (!this.k || !this.keyframes)
|
|
9592
9592
|
return this.pv;
|
|
9593
9593
|
u = u ? u.toLowerCase() : "";
|
|
9594
|
-
var
|
|
9595
|
-
if (
|
|
9594
|
+
var y = this.comp.renderedFrame, M = this.keyframes, d = M[M.length - 1].t;
|
|
9595
|
+
if (y <= d)
|
|
9596
9596
|
return this.pv;
|
|
9597
|
-
var
|
|
9598
|
-
C ? (P ?
|
|
9597
|
+
var g, p;
|
|
9598
|
+
C ? (P ? g = Math.abs(d - this.elem.comp.globalData.frameRate * P) : g = Math.max(0, d - this.elem.data.ip), p = d - g) : ((!P || P > M.length - 1) && (P = M.length - 1), p = M[M.length - 1 - P].t, g = d - p);
|
|
9599
9599
|
var b, L, A;
|
|
9600
9600
|
if (u === "pingpong") {
|
|
9601
|
-
var T = Math.floor((
|
|
9601
|
+
var T = Math.floor((y - p) / g);
|
|
9602
9602
|
if (T % 2 !== 0)
|
|
9603
|
-
return this.getValueAtTime((
|
|
9603
|
+
return this.getValueAtTime((g - (y - p) % g + p) / this.comp.globalData.frameRate, 0);
|
|
9604
9604
|
} else if (u === "offset") {
|
|
9605
|
-
var k = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), R = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), X = this.getValueAtTime(((
|
|
9605
|
+
var k = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), R = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), X = this.getValueAtTime(((y - p) % g + p) / this.comp.globalData.frameRate, 0), N = Math.floor((y - p) / g);
|
|
9606
9606
|
if (this.pv.length) {
|
|
9607
9607
|
for (A = new Array(k.length), L = A.length, b = 0; b < L; b += 1)
|
|
9608
9608
|
A[b] = (R[b] - k[b]) * N + X[b];
|
|
@@ -9613,29 +9613,29 @@ var lottie$1 = { exports: {} };
|
|
|
9613
9613
|
var j = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), Y = this.getValueAtTime((d - 1e-3) / this.comp.globalData.frameRate, 0);
|
|
9614
9614
|
if (this.pv.length) {
|
|
9615
9615
|
for (A = new Array(j.length), L = A.length, b = 0; b < L; b += 1)
|
|
9616
|
-
A[b] = j[b] + (j[b] - Y[b]) * ((
|
|
9616
|
+
A[b] = j[b] + (j[b] - Y[b]) * ((y - d) / this.comp.globalData.frameRate) / 5e-4;
|
|
9617
9617
|
return A;
|
|
9618
9618
|
}
|
|
9619
|
-
return j + (j - Y) * ((
|
|
9619
|
+
return j + (j - Y) * ((y - d) / 1e-3);
|
|
9620
9620
|
}
|
|
9621
|
-
return this.getValueAtTime(((
|
|
9621
|
+
return this.getValueAtTime(((y - p) % g + p) / this.comp.globalData.frameRate, 0);
|
|
9622
9622
|
}
|
|
9623
9623
|
function t(u, P, C) {
|
|
9624
9624
|
if (!this.k)
|
|
9625
9625
|
return this.pv;
|
|
9626
9626
|
u = u ? u.toLowerCase() : "";
|
|
9627
|
-
var
|
|
9628
|
-
if (
|
|
9627
|
+
var y = this.comp.renderedFrame, M = this.keyframes, d = M[0].t;
|
|
9628
|
+
if (y >= d)
|
|
9629
9629
|
return this.pv;
|
|
9630
|
-
var
|
|
9631
|
-
C ? (P ?
|
|
9630
|
+
var g, p;
|
|
9631
|
+
C ? (P ? g = Math.abs(this.elem.comp.globalData.frameRate * P) : g = Math.max(0, this.elem.data.op - d), p = d + g) : ((!P || P > M.length - 1) && (P = M.length - 1), p = M[P].t, g = p - d);
|
|
9632
9632
|
var b, L, A;
|
|
9633
9633
|
if (u === "pingpong") {
|
|
9634
|
-
var T = Math.floor((d -
|
|
9634
|
+
var T = Math.floor((d - y) / g);
|
|
9635
9635
|
if (T % 2 === 0)
|
|
9636
|
-
return this.getValueAtTime(((d -
|
|
9636
|
+
return this.getValueAtTime(((d - y) % g + d) / this.comp.globalData.frameRate, 0);
|
|
9637
9637
|
} else if (u === "offset") {
|
|
9638
|
-
var k = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), R = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), X = this.getValueAtTime((
|
|
9638
|
+
var k = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), R = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), X = this.getValueAtTime((g - (d - y) % g + d) / this.comp.globalData.frameRate, 0), N = Math.floor((d - y) / g) + 1;
|
|
9639
9639
|
if (this.pv.length) {
|
|
9640
9640
|
for (A = new Array(k.length), L = A.length, b = 0; b < L; b += 1)
|
|
9641
9641
|
A[b] = X[b] - (R[b] - k[b]) * N;
|
|
@@ -9646,27 +9646,27 @@ var lottie$1 = { exports: {} };
|
|
|
9646
9646
|
var j = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), Y = this.getValueAtTime((d + 1e-3) / this.comp.globalData.frameRate, 0);
|
|
9647
9647
|
if (this.pv.length) {
|
|
9648
9648
|
for (A = new Array(j.length), L = A.length, b = 0; b < L; b += 1)
|
|
9649
|
-
A[b] = j[b] + (j[b] - Y[b]) * (d -
|
|
9649
|
+
A[b] = j[b] + (j[b] - Y[b]) * (d - y) / 1e-3;
|
|
9650
9650
|
return A;
|
|
9651
9651
|
}
|
|
9652
|
-
return j + (j - Y) * (d -
|
|
9652
|
+
return j + (j - Y) * (d - y) / 1e-3;
|
|
9653
9653
|
}
|
|
9654
|
-
return this.getValueAtTime((
|
|
9654
|
+
return this.getValueAtTime((g - ((d - y) % g + d)) / this.comp.globalData.frameRate, 0);
|
|
9655
9655
|
}
|
|
9656
9656
|
function i(u, P) {
|
|
9657
9657
|
if (!this.k)
|
|
9658
9658
|
return this.pv;
|
|
9659
9659
|
if (u = (u || 0.4) * 0.5, P = Math.floor(P || 5), P <= 1)
|
|
9660
9660
|
return this.pv;
|
|
9661
|
-
var C = this.comp.renderedFrame / this.comp.globalData.frameRate,
|
|
9661
|
+
var C = this.comp.renderedFrame / this.comp.globalData.frameRate, y = C - u, M = C + u, d = P > 1 ? (M - y) / (P - 1) : 1, g = 0, p = 0, b;
|
|
9662
9662
|
this.pv.length ? b = createTypedArray("float32", this.pv.length) : b = 0;
|
|
9663
|
-
for (var L;
|
|
9664
|
-
if (L = this.getValueAtTime(
|
|
9663
|
+
for (var L; g < P; ) {
|
|
9664
|
+
if (L = this.getValueAtTime(y + g * d), this.pv.length)
|
|
9665
9665
|
for (p = 0; p < this.pv.length; p += 1)
|
|
9666
9666
|
b[p] += L[p];
|
|
9667
9667
|
else
|
|
9668
9668
|
b += L;
|
|
9669
|
-
|
|
9669
|
+
g += 1;
|
|
9670
9670
|
}
|
|
9671
9671
|
if (this.pv.length)
|
|
9672
9672
|
for (p = 0; p < this.pv.length; p += 1)
|
|
@@ -9685,16 +9685,16 @@ var lottie$1 = { exports: {} };
|
|
|
9685
9685
|
P.translate(-C[0] * this.a.mult, -C[1] * this.a.mult, C[2] * this.a.mult);
|
|
9686
9686
|
}
|
|
9687
9687
|
if (this.appliedTransformations < 2) {
|
|
9688
|
-
var
|
|
9689
|
-
P.scale(
|
|
9688
|
+
var y = this.s.getValueAtTime(u);
|
|
9689
|
+
P.scale(y[0] * this.s.mult, y[1] * this.s.mult, y[2] * this.s.mult);
|
|
9690
9690
|
}
|
|
9691
9691
|
if (this.sk && this.appliedTransformations < 3) {
|
|
9692
9692
|
var M = this.sk.getValueAtTime(u), d = this.sa.getValueAtTime(u);
|
|
9693
9693
|
P.skewFromAxis(-M * this.sk.mult, d * this.sa.mult);
|
|
9694
9694
|
}
|
|
9695
9695
|
if (this.r && this.appliedTransformations < 4) {
|
|
9696
|
-
var
|
|
9697
|
-
P.rotate(-
|
|
9696
|
+
var g = this.r.getValueAtTime(u);
|
|
9697
|
+
P.rotate(-g * this.r.mult);
|
|
9698
9698
|
} else if (!this.r && this.appliedTransformations < 4) {
|
|
9699
9699
|
var p = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u), L = this.rx.getValueAtTime(u), A = this.or.getValueAtTime(u);
|
|
9700
9700
|
P.rotateZ(-p * this.rz.mult).rotateY(b * this.ry.mult).rotateX(L * this.rx.mult).rotateZ(-A[2] * this.or.mult).rotateY(A[1] * this.or.mult).rotateX(A[0] * this.or.mult);
|
|
@@ -9717,18 +9717,18 @@ var lottie$1 = { exports: {} };
|
|
|
9717
9717
|
}
|
|
9718
9718
|
var a = TransformPropertyFactory.getTransformProperty;
|
|
9719
9719
|
TransformPropertyFactory.getTransformProperty = function(u, P, C) {
|
|
9720
|
-
var
|
|
9721
|
-
return
|
|
9720
|
+
var y = a(u, P, C);
|
|
9721
|
+
return y.dynamicProperties.length ? y.getValueAtTime = s.bind(y) : y.getValueAtTime = n.bind(y), y.setGroupProperty = expressionHelpers.setGroupProperty, y;
|
|
9722
9722
|
};
|
|
9723
9723
|
var o = PropertyFactory.getProp;
|
|
9724
|
-
PropertyFactory.getProp = function(u, P, C,
|
|
9725
|
-
var d = o(u, P, C,
|
|
9724
|
+
PropertyFactory.getProp = function(u, P, C, y, M) {
|
|
9725
|
+
var d = o(u, P, C, y, M);
|
|
9726
9726
|
d.kf ? d.getValueAtTime = expressionHelpers.getValueAtTime.bind(d) : d.getValueAtTime = expressionHelpers.getStaticValueAtTime.bind(d), d.setGroupProperty = expressionHelpers.setGroupProperty, d.loopOut = e, d.loopIn = t, d.smooth = i, d.getVelocityAtTime = expressionHelpers.getVelocityAtTime.bind(d), d.getSpeedAtTime = expressionHelpers.getSpeedAtTime.bind(d), d.numKeys = P.a === 1 ? P.k.length : 0, d.propertyIndex = P.ix;
|
|
9727
|
-
var
|
|
9728
|
-
return C !== 0 && (
|
|
9727
|
+
var g = 0;
|
|
9728
|
+
return C !== 0 && (g = createTypedArray("float32", P.a === 1 ? P.k[0].s.length : P.k.length)), d._cachingAtTime = {
|
|
9729
9729
|
lastFrame: initialDefaultFrame,
|
|
9730
9730
|
lastIndex: 0,
|
|
9731
|
-
value:
|
|
9731
|
+
value: g
|
|
9732
9732
|
}, expressionHelpers.searchExpressions(u, P, d), d.k && M.addDynamicProperty(d), d;
|
|
9733
9733
|
};
|
|
9734
9734
|
function f(u) {
|
|
@@ -9744,11 +9744,11 @@ var lottie$1 = { exports: {} };
|
|
|
9744
9744
|
m.prototype = {
|
|
9745
9745
|
vertices: function(P, C) {
|
|
9746
9746
|
this.k && this.getValue();
|
|
9747
|
-
var
|
|
9748
|
-
C !== void 0 && (
|
|
9749
|
-
var M, d =
|
|
9747
|
+
var y = this.v;
|
|
9748
|
+
C !== void 0 && (y = this.getValueAtTime(C, 0));
|
|
9749
|
+
var M, d = y._length, g = y[P], p = y.v, b = createSizedArray(d);
|
|
9750
9750
|
for (M = 0; M < d; M += 1)
|
|
9751
|
-
P === "i" || P === "o" ? b[M] = [
|
|
9751
|
+
P === "i" || P === "o" ? b[M] = [g[M][0] - p[M][0], g[M][1] - p[M][1]] : b[M] = [g[M][0], g[M][1]];
|
|
9752
9752
|
return b;
|
|
9753
9753
|
},
|
|
9754
9754
|
points: function(P) {
|
|
@@ -9764,25 +9764,25 @@ var lottie$1 = { exports: {} };
|
|
|
9764
9764
|
return this.v.c;
|
|
9765
9765
|
},
|
|
9766
9766
|
pointOnPath: function(P, C) {
|
|
9767
|
-
var
|
|
9768
|
-
C !== void 0 && (
|
|
9769
|
-
for (var M = this._segmentsLength, d = M.lengths,
|
|
9770
|
-
if (L + d[p].addedLength >
|
|
9771
|
-
var T = p, k =
|
|
9772
|
-
A = bez.getPointInSegment(
|
|
9767
|
+
var y = this.v;
|
|
9768
|
+
C !== void 0 && (y = this.getValueAtTime(C, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(y));
|
|
9769
|
+
for (var M = this._segmentsLength, d = M.lengths, g = M.totalLength * P, p = 0, b = d.length, L = 0, A; p < b; ) {
|
|
9770
|
+
if (L + d[p].addedLength > g) {
|
|
9771
|
+
var T = p, k = y.c && p === b - 1 ? 0 : p + 1, R = (g - L) / d[p].addedLength;
|
|
9772
|
+
A = bez.getPointInSegment(y.v[T], y.v[k], y.o[T], y.i[k], R, d[p]);
|
|
9773
9773
|
break;
|
|
9774
9774
|
} else
|
|
9775
9775
|
L += d[p].addedLength;
|
|
9776
9776
|
p += 1;
|
|
9777
9777
|
}
|
|
9778
|
-
return A || (A =
|
|
9778
|
+
return A || (A = y.c ? [y.v[0][0], y.v[0][1]] : [y.v[y._length - 1][0], y.v[y._length - 1][1]]), A;
|
|
9779
9779
|
},
|
|
9780
|
-
vectorOnPath: function(P, C,
|
|
9780
|
+
vectorOnPath: function(P, C, y) {
|
|
9781
9781
|
P == 1 ? P = this.v.c : P == 0 && (P = 0.999);
|
|
9782
|
-
var M = this.pointOnPath(P, C), d = this.pointOnPath(P + 1e-3, C),
|
|
9782
|
+
var M = this.pointOnPath(P, C), d = this.pointOnPath(P + 1e-3, C), g = d[0] - M[0], p = d[1] - M[1], b = Math.sqrt(Math.pow(g, 2) + Math.pow(p, 2));
|
|
9783
9783
|
if (b === 0)
|
|
9784
9784
|
return [0, 0];
|
|
9785
|
-
var L =
|
|
9785
|
+
var L = y === "tangent" ? [g / b, p / b] : [-p / b, g / b];
|
|
9786
9786
|
return L;
|
|
9787
9787
|
},
|
|
9788
9788
|
tangentOnPath: function(P, C) {
|
|
@@ -9795,8 +9795,8 @@ var lottie$1 = { exports: {} };
|
|
|
9795
9795
|
getValueAtTime: expressionHelpers.getStaticValueAtTime
|
|
9796
9796
|
}, extendPrototype([m], l), extendPrototype([m], c), c.prototype.getValueAtTime = f, c.prototype.initiateExpression = ExpressionManager.initiateExpression;
|
|
9797
9797
|
var E = ShapePropertyFactory.getShapeProp;
|
|
9798
|
-
ShapePropertyFactory.getShapeProp = function(u, P, C,
|
|
9799
|
-
var d = E(u, P, C,
|
|
9798
|
+
ShapePropertyFactory.getShapeProp = function(u, P, C, y, M) {
|
|
9799
|
+
var d = E(u, P, C, y, M);
|
|
9800
9800
|
return d.propertyIndex = P.ix, d.lock = !1, C === 3 ? expressionHelpers.searchExpressions(u, P.pt, d) : C === 4 && expressionHelpers.searchExpressions(u, P.ks, d), d.k && u.addDynamicProperty(d), d;
|
|
9801
9801
|
};
|
|
9802
9802
|
}
|
|
@@ -10147,9 +10147,9 @@ function _toPropertyKey(e) {
|
|
|
10147
10147
|
return typeof t == "symbol" ? t : String(t);
|
|
10148
10148
|
}
|
|
10149
10149
|
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) {
|
|
10150
|
-
var s = t.animationData, n = t.loop, a = t.autoplay, o = t.initialSegment, f = t.onComplete, l = t.onLoopComplete, c = t.onEnterFrame, m = t.onSegmentStart, E = t.onConfigReady, u = t.onDataReady, P = t.onDataFailed, C = t.onLoadedImages,
|
|
10150
|
+
var s = t.animationData, n = t.loop, a = t.autoplay, o = t.initialSegment, f = t.onComplete, l = t.onLoopComplete, c = t.onEnterFrame, m = t.onSegmentStart, E = t.onConfigReady, u = t.onDataReady, P = t.onDataFailed, C = t.onLoadedImages, y = t.onDOMLoaded, M = t.onDestroy;
|
|
10151
10151
|
t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
|
|
10152
|
-
var d = _objectWithoutProperties(t, _excluded$1),
|
|
10152
|
+
var d = _objectWithoutProperties(t, _excluded$1), g = useState(!1), p = _slicedToArray(g, 2), b = p[0], L = p[1], A = useRef(), T = useRef(null), k = function() {
|
|
10153
10153
|
var G;
|
|
10154
10154
|
(G = A.current) === null || G === void 0 || G.play();
|
|
10155
10155
|
}, R = function() {
|
|
@@ -10237,7 +10237,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10237
10237
|
handler: C
|
|
10238
10238
|
}, {
|
|
10239
10239
|
name: "DOMLoaded",
|
|
10240
|
-
handler:
|
|
10240
|
+
handler: y
|
|
10241
10241
|
}, {
|
|
10242
10242
|
name: "destroy",
|
|
10243
10243
|
handler: M
|
|
@@ -10265,7 +10265,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10265
10265
|
});
|
|
10266
10266
|
};
|
|
10267
10267
|
}
|
|
10268
|
-
}, [f, l, c, m, E, u, P, C,
|
|
10268
|
+
}, [f, l, c, m, E, u, P, C, y, M]);
|
|
10269
10269
|
var B = /* @__PURE__ */ React.createElement("div", _objectSpread2({
|
|
10270
10270
|
style: i,
|
|
10271
10271
|
ref: T
|
|
@@ -10313,9 +10313,9 @@ var useInitInteractivity = function e(t) {
|
|
|
10313
10313
|
});
|
|
10314
10314
|
if (C) {
|
|
10315
10315
|
if (C.type === "seek" && C.visibility && C.frames.length === 2) {
|
|
10316
|
-
var
|
|
10316
|
+
var y = C.frames[0] + Math.ceil((P - C.visibility[0]) / (C.visibility[1] - C.visibility[0]) * C.frames[1]);
|
|
10317
10317
|
//! goToAndStop must be relative to the start of the current segment
|
|
10318
|
-
s.goToAndStop(
|
|
10318
|
+
s.goToAndStop(y - s.firstFrame - 1, !0);
|
|
10319
10319
|
}
|
|
10320
10320
|
C.type === "loop" && (m === null || m !== C.frames || s.isPaused) && (s.playSegments(C.frames, !0), m = C.frames), C.type === "play" && s.isPaused && (s.resetSegments(!0), s.play()), C.type === "stop" && s.goToAndStop(C.frames[0] - s.firstFrame - 1, !0);
|
|
10321
10321
|
}
|
|
@@ -10324,11 +10324,11 @@ var useInitInteractivity = function e(t) {
|
|
|
10324
10324
|
document.removeEventListener("scroll", E);
|
|
10325
10325
|
};
|
|
10326
10326
|
}, l = function() {
|
|
10327
|
-
var m = function(C,
|
|
10328
|
-
var M = C, d =
|
|
10327
|
+
var m = function(C, y) {
|
|
10328
|
+
var M = C, d = y;
|
|
10329
10329
|
if (M !== -1 && d !== -1) {
|
|
10330
|
-
var
|
|
10331
|
-
M =
|
|
10330
|
+
var g = getContainerCursorPosition(o, M, d);
|
|
10331
|
+
M = g.x, d = g.y;
|
|
10332
10332
|
}
|
|
10333
10333
|
var p = a.find(function(A) {
|
|
10334
10334
|
var T = A.position;
|
|
@@ -10367,18 +10367,18 @@ var useInitInteractivity = function e(t) {
|
|
|
10367
10367
|
wrapperRef: f
|
|
10368
10368
|
}), o;
|
|
10369
10369
|
}, _excluded = ["style", "interactivity"], Lottie = function e(t) {
|
|
10370
|
-
var i, s, n, a = t.style, o = t.interactivity, f = _objectWithoutProperties(t, _excluded), l = useLottie(f, a), c = l.View, m = l.play, E = l.stop, u = l.pause, P = l.setSpeed, C = l.goToAndStop,
|
|
10370
|
+
var i, s, n, a = t.style, o = t.interactivity, f = _objectWithoutProperties(t, _excluded), l = useLottie(f, a), c = l.View, m = l.play, E = l.stop, u = l.pause, P = l.setSpeed, C = l.goToAndStop, y = l.goToAndPlay, M = l.setDirection, d = l.playSegments, g = l.setSubframe, p = l.getDuration, b = l.destroy, L = l.animationContainerRef, A = l.animationLoaded, T = l.animationItem;
|
|
10371
10371
|
return useEffect(function() {
|
|
10372
10372
|
t.lottieRef && (t.lottieRef.current = {
|
|
10373
10373
|
play: m,
|
|
10374
10374
|
stop: E,
|
|
10375
10375
|
pause: u,
|
|
10376
10376
|
setSpeed: P,
|
|
10377
|
-
goToAndPlay:
|
|
10377
|
+
goToAndPlay: y,
|
|
10378
10378
|
goToAndStop: C,
|
|
10379
10379
|
setDirection: M,
|
|
10380
10380
|
playSegments: d,
|
|
10381
|
-
setSubframe:
|
|
10381
|
+
setSubframe: g,
|
|
10382
10382
|
getDuration: p,
|
|
10383
10383
|
destroy: b,
|
|
10384
10384
|
animationContainerRef: L,
|
|
@@ -10393,10 +10393,10 @@ var useInitInteractivity = function e(t) {
|
|
|
10393
10393
|
pause: u,
|
|
10394
10394
|
setSpeed: P,
|
|
10395
10395
|
goToAndStop: C,
|
|
10396
|
-
goToAndPlay:
|
|
10396
|
+
goToAndPlay: y,
|
|
10397
10397
|
setDirection: M,
|
|
10398
10398
|
playSegments: d,
|
|
10399
|
-
setSubframe:
|
|
10399
|
+
setSubframe: g,
|
|
10400
10400
|
getDuration: p,
|
|
10401
10401
|
destroy: b,
|
|
10402
10402
|
animationContainerRef: L,
|
|
@@ -10767,47 +10767,46 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10767
10767
|
assets,
|
|
10768
10768
|
layers,
|
|
10769
10769
|
markers
|
|
10770
|
-
},
|
|
10770
|
+
}, buttonStyles = cva(
|
|
10771
10771
|
[
|
|
10772
|
-
"
|
|
10773
|
-
"
|
|
10774
|
-
"font-satoshi",
|
|
10775
|
-
"font-bold",
|
|
10776
|
-
"min-w-32",
|
|
10777
|
-
"px-6",
|
|
10778
|
-
"focus:outline-none",
|
|
10779
|
-
"
|
|
10780
|
-
"border-none"
|
|
10772
|
+
"gf-text-white",
|
|
10773
|
+
"gf-w-full",
|
|
10774
|
+
"gf-font-satoshi",
|
|
10775
|
+
"gf-font-bold",
|
|
10776
|
+
"gf-min-w-32",
|
|
10777
|
+
"gf-px-6",
|
|
10778
|
+
"gf-focus:outline-none",
|
|
10779
|
+
"gf-border-none"
|
|
10781
10780
|
],
|
|
10782
10781
|
{
|
|
10783
10782
|
variants: {
|
|
10784
10783
|
variant: {
|
|
10785
|
-
primary: "bg-button-primary",
|
|
10786
|
-
secondary: "bg-button-secondary",
|
|
10787
|
-
disabled: "bg-button-disabled-bg text-button-disabled-text cursor-not-allowed"
|
|
10784
|
+
primary: "gf-bg-button-primary",
|
|
10785
|
+
secondary: "gf-bg-button-secondary",
|
|
10786
|
+
disabled: "gf-bg-button-disabled-bg gf-text-button-disabled-text gf-cursor-not-allowed"
|
|
10788
10787
|
},
|
|
10789
10788
|
size: {
|
|
10790
|
-
sm: "h-9 rounded-xl text-xs",
|
|
10791
|
-
md: "h-10 rounded-xl text-sm",
|
|
10792
|
-
lg: "h-12 rounded-2xl text-base"
|
|
10789
|
+
sm: "gf-h-9 gf-rounded-xl gf-text-xs",
|
|
10790
|
+
md: "gf-h-10 gf-rounded-xl gf-text-sm",
|
|
10791
|
+
lg: "gf-h-12 gf-rounded-2xl gf-text-base"
|
|
10793
10792
|
},
|
|
10794
10793
|
breakpointSize: {
|
|
10795
10794
|
// breakpoint: button size
|
|
10796
|
-
"xs:sm": "xs:h-9 xs:rounded-xl xs:text-xs",
|
|
10797
|
-
"xs:md": "xs:h-10 xs:rounded-xl xs:text-sm",
|
|
10798
|
-
"xs:lg": "xs:h-12 xs:rounded-2xl xs:text-base",
|
|
10799
|
-
"sm:sm": "sm:h-9 sm:rounded-xl sm:text-xs",
|
|
10800
|
-
"sm:md": "sm:h-10 sm:rounded-xl sm:text-sm",
|
|
10801
|
-
"sm:lg": "sm:h-12 sm:rounded-2xl sm:text-base",
|
|
10802
|
-
"md:sm": "md:h-9 md:rounded-xl md:text-xs",
|
|
10803
|
-
"md:md": "md:h-10 md:rounded-xl md:text-sm",
|
|
10804
|
-
"md:lg": "md:h-12 md:rounded-2xl md:text-base",
|
|
10805
|
-
"lg:sm": "lg:h-9 lg:rounded-xl lg:text-xs",
|
|
10806
|
-
"lg:md": "lg:h-10 lg:rounded-xl lg:text-sm",
|
|
10807
|
-
"lg:lg": "lg:h-12 lg:rounded-2xl lg:text-base",
|
|
10808
|
-
"xl:sm": "xl:h-9 xl:rounded-xl xl:text-xs",
|
|
10809
|
-
"xl:md": "xl:h-10 xl:rounded-xl xl:text-sm",
|
|
10810
|
-
"xl:lg": "xl:h-12 xl:rounded-2xl xl:text-base"
|
|
10795
|
+
"xs:sm": "xs:gf-h-9 xs:gf-rounded-xl xs:gf-text-xs",
|
|
10796
|
+
"xs:md": "xs:gf-h-10 xs:gf-rounded-xl xs:gf-text-sm",
|
|
10797
|
+
"xs:lg": "xs:gf-h-12 xs:gf-rounded-2xl xs:gf-text-base",
|
|
10798
|
+
"sm:sm": "sm:gf-h-9 sm:gf-rounded-xl sm:gf-text-xs",
|
|
10799
|
+
"sm:md": "sm:gf-h-10 sm:gf-rounded-xl sm:gf-text-sm",
|
|
10800
|
+
"sm:lg": "sm:gf-h-12 sm:gf-rounded-2xl sm:gf-text-base",
|
|
10801
|
+
"md:sm": "md:gf-h-9 md:gf-rounded-xl md:gf-text-xs",
|
|
10802
|
+
"md:md": "md:gf-h-10 md:gf-rounded-xl md:gf-text-sm",
|
|
10803
|
+
"md:lg": "md:gf-h-12 md:gf-rounded-2xl md:gf-text-base",
|
|
10804
|
+
"lg:sm": "lg:gf-h-9 lg:gf-rounded-xl lg:gf-text-xs",
|
|
10805
|
+
"lg:md": "lg:gf-h-10 lg:gf-rounded-xl lg:gf-text-sm",
|
|
10806
|
+
"lg:lg": "lg:gf-h-12 lg:gf-rounded-2xl lg:gf-text-base",
|
|
10807
|
+
"xl:sm": "xl:gf-h-9 xl:gf-rounded-xl xl:gf-text-xs",
|
|
10808
|
+
"xl:md": "xl:gf-h-10 xl:gf-rounded-xl xl:gf-text-sm",
|
|
10809
|
+
"xl:lg": "xl:gf-h-12 xl:gf-rounded-2xl xl:gf-text-base"
|
|
10811
10810
|
}
|
|
10812
10811
|
},
|
|
10813
10812
|
defaultVariants: {
|
|
@@ -10820,7 +10819,7 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10820
10819
|
const l = i ? Object.entries(i).map(([c, m]) => `${c}:${m}`).map(
|
|
10821
10820
|
(c) => buttonStyles({ breakpointSize: c })
|
|
10822
10821
|
).join(" ") : "";
|
|
10823
|
-
return /* @__PURE__ */ jsx(
|
|
10822
|
+
return /* @__PURE__ */ jsx(
|
|
10824
10823
|
"button",
|
|
10825
10824
|
{
|
|
10826
10825
|
ref: f,
|
|
@@ -10835,7 +10834,7 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10835
10834
|
),
|
|
10836
10835
|
disabled: s,
|
|
10837
10836
|
...o,
|
|
10838
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex justify-center gap-3", children: [
|
|
10837
|
+
children: /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-justify-center gf-gap-3", children: [
|
|
10839
10838
|
a,
|
|
10840
10839
|
s && /* @__PURE__ */ jsx(
|
|
10841
10840
|
Lottie,
|
|
@@ -10848,47 +10847,47 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10848
10847
|
)
|
|
10849
10848
|
] })
|
|
10850
10849
|
}
|
|
10851
|
-
)
|
|
10850
|
+
);
|
|
10852
10851
|
}
|
|
10853
|
-
), typographyStyles = cva(["font-satoshi text-dark-grey"], {
|
|
10852
|
+
), typographyStyles = cva(["gf-font-satoshi gf-text-dark-grey"], {
|
|
10854
10853
|
variants: {
|
|
10855
10854
|
size: {
|
|
10856
|
-
h1: "text-[32px] leading-[48px]",
|
|
10857
|
-
h2: "text-xl leading-7",
|
|
10858
|
-
h3: "text-base leading-6",
|
|
10859
|
-
h4: "text-sm leading-5",
|
|
10860
|
-
h5: "text-xs leading-4"
|
|
10855
|
+
h1: "gf-text-[32px] gf-leading-[48px]",
|
|
10856
|
+
h2: "gf-text-xl gf-leading-7",
|
|
10857
|
+
h3: "gf-text-base gf-leading-6",
|
|
10858
|
+
h4: "gf-text-sm gf-leading-5",
|
|
10859
|
+
h5: "gf-text-xs gf-leading-4"
|
|
10861
10860
|
},
|
|
10862
10861
|
weight: {
|
|
10863
|
-
bold: "font-bold",
|
|
10864
|
-
medium: "font-medium"
|
|
10862
|
+
bold: "gf-font-bold",
|
|
10863
|
+
medium: "gf-font-medium"
|
|
10865
10864
|
},
|
|
10866
10865
|
breakpointSize: {
|
|
10867
|
-
"xs:h1": "xs:text-[32px] xs:leading-[48px]",
|
|
10868
|
-
"xs:h2": "xs:text-xl xs:leading-7",
|
|
10869
|
-
"xs:h3": "xs:text-base xs:leading-6",
|
|
10870
|
-
"xs:h4": "xs:text-sm xs:leading-5",
|
|
10871
|
-
"xs:h5": "xs:text-xs xs:leading-4",
|
|
10872
|
-
"sm:h1": "sm:text-[32px] sm:leading-[48px]",
|
|
10873
|
-
"sm:h2": "sm:text-xl sm:leading-7",
|
|
10874
|
-
"sm:h3": "sm:text-base sm:leading-6",
|
|
10875
|
-
"sm:h4": "sm:text-sm sm:leading-5",
|
|
10876
|
-
"sm:h5": "sm:text-xs sm:leading-4",
|
|
10877
|
-
"md:h1": "md:text-[32px] md:leading-[48px]",
|
|
10878
|
-
"md:h2": "md:text-xl md:leading-7",
|
|
10879
|
-
"md:h3": "md:text-base md:leading-6",
|
|
10880
|
-
"md:h4": "md:text-sm md:leading-5",
|
|
10881
|
-
"md:h5": "md:text-xs md:leading-4",
|
|
10882
|
-
"lg:h1": "lg:text-[32px] lg:leading-[48px]",
|
|
10883
|
-
"lg:h2": "lg:text-xl lg:leading-7",
|
|
10884
|
-
"lg:h3": "lg:text-base lg:leading-6",
|
|
10885
|
-
"lg:h4": "lg:text-sm lg:leading-5",
|
|
10886
|
-
"lg:h5": "lg:text-xs lg:leading-4",
|
|
10887
|
-
"xl:h1": "xl:text-[32px] xl:leading-[48px]",
|
|
10888
|
-
"xl:h2": "xl:text-xl xl:leading-7",
|
|
10889
|
-
"xl:h3": "xl:text-base xl:leading-6",
|
|
10890
|
-
"xl:h4": "xl:text-sm xl:leading-5",
|
|
10891
|
-
"xl:h5": "xl:text-xs xl:leading-4"
|
|
10866
|
+
"xs:h1": "xs:gf-text-[32px] xs:gf-leading-[48px]",
|
|
10867
|
+
"xs:h2": "xs:gf-text-xl xs:gf-leading-7",
|
|
10868
|
+
"xs:h3": "xs:gf-text-base xs:gf-leading-6",
|
|
10869
|
+
"xs:h4": "xs:gf-text-sm xs:gf-leading-5",
|
|
10870
|
+
"xs:h5": "xs:gf-text-xs xs:gf-leading-4",
|
|
10871
|
+
"sm:h1": "sm:gf-text-[32px] sm:gf-leading-[48px]",
|
|
10872
|
+
"sm:h2": "sm:gf-text-xl sm:gf-leading-7",
|
|
10873
|
+
"sm:h3": "sm:gf-text-base sm:gf-leading-6",
|
|
10874
|
+
"sm:h4": "sm:gf-text-sm sm:gf-leading-5",
|
|
10875
|
+
"sm:h5": "sm:gf-text-xs sm:gf-leading-4",
|
|
10876
|
+
"md:h1": "md:gf-text-[32px] md:gf-leading-[48px]",
|
|
10877
|
+
"md:h2": "md:gf-text-xl md:gf-leading-7",
|
|
10878
|
+
"md:h3": "md:gf-text-base md:gf-leading-6",
|
|
10879
|
+
"md:h4": "md:gf-text-sm md:gf-leading-5",
|
|
10880
|
+
"md:h5": "md:gf-text-xs md:gf-leading-4",
|
|
10881
|
+
"lg:h1": "lg:gf-text-[32px] lg:gf-leading-[48px]",
|
|
10882
|
+
"lg:h2": "lg:gf-text-xl lg:gf-leading-7",
|
|
10883
|
+
"lg:h3": "lg:gf-text-base lg:gf-leading-6",
|
|
10884
|
+
"lg:h4": "lg:gf-text-sm lg:gf-leading-5",
|
|
10885
|
+
"lg:h5": "lg:gf-text-xs lg:gf-leading-4",
|
|
10886
|
+
"xl:h1": "xl:gf-text-[32px] xl:gf-leading-[48px]",
|
|
10887
|
+
"xl:h2": "xl:gf-text-xl xl:gf-leading-7",
|
|
10888
|
+
"xl:h3": "xl:gf-text-base xl:gf-leading-6",
|
|
10889
|
+
"xl:h4": "xl:gf-text-sm xl:gf-leading-5",
|
|
10890
|
+
"xl:h5": "xl:gf-text-xs xl:gf-leading-4"
|
|
10892
10891
|
},
|
|
10893
10892
|
defaultVariants: {
|
|
10894
10893
|
size: "h3",
|
|
@@ -10906,7 +10905,7 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10906
10905
|
const o = s ? Object.entries(s).map(([f, l]) => `${f}:${l}`).map(
|
|
10907
10906
|
(f) => typographyStyles({ breakpointSize: f })
|
|
10908
10907
|
).join(" ") : "";
|
|
10909
|
-
return /* @__PURE__ */ jsx(
|
|
10908
|
+
return /* @__PURE__ */ jsx(
|
|
10910
10909
|
e,
|
|
10911
10910
|
{
|
|
10912
10911
|
className: cn(
|
|
@@ -10919,15 +10918,15 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10919
10918
|
),
|
|
10920
10919
|
...a
|
|
10921
10920
|
}
|
|
10922
|
-
)
|
|
10923
|
-
}, OpacityStyles = cva("bg-white", {
|
|
10921
|
+
);
|
|
10922
|
+
}, OpacityStyles = cva("gf-bg-white", {
|
|
10924
10923
|
variants: {
|
|
10925
10924
|
level: {
|
|
10926
|
-
"extra-light": "bg-opacity-10",
|
|
10927
|
-
light: "bg-opacity-25",
|
|
10928
|
-
medium: "bg-opacity-50",
|
|
10929
|
-
"semi-dark": "bg-opacity-75",
|
|
10930
|
-
full: "bg-opacity-100"
|
|
10925
|
+
"extra-light": "gf-bg-opacity-10",
|
|
10926
|
+
light: "gf-bg-opacity-25",
|
|
10927
|
+
medium: "gf-bg-opacity-50",
|
|
10928
|
+
"semi-dark": "gf-bg-opacity-75",
|
|
10929
|
+
full: "gf-bg-opacity-100"
|
|
10931
10930
|
}
|
|
10932
10931
|
},
|
|
10933
10932
|
defaultVariants: {
|
|
@@ -10938,17 +10937,17 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10938
10937
|
className: t,
|
|
10939
10938
|
children: i,
|
|
10940
10939
|
...s
|
|
10941
|
-
}) => /* @__PURE__ */ jsx(
|
|
10942
|
-
"fixed inset-y-0 right-0 transition-transform duration-200 bg-white backdrop-blur-sm p-4",
|
|
10940
|
+
}) => /* @__PURE__ */ jsx("div", { ...s, className: cn(OpacityStyles({ level: e }), t), children: i }), sidebarStyles = cva(
|
|
10941
|
+
"gf-fixed gf-inset-y-0 gf-right-0 gf-transition-transform gf-duration-200 gf-bg-white gf-backdrop-blur-sm gf-p-4",
|
|
10943
10942
|
{
|
|
10944
10943
|
variants: {
|
|
10945
10944
|
open: {
|
|
10946
|
-
true: "translate-x-0",
|
|
10947
|
-
false: "translate-x-full"
|
|
10945
|
+
true: "gf-translate-x-0",
|
|
10946
|
+
false: "gf-translate-x-full"
|
|
10948
10947
|
},
|
|
10949
10948
|
size: {
|
|
10950
|
-
small: "w-full md:w-[360px]",
|
|
10951
|
-
large: "w-full md:w-[480px]"
|
|
10949
|
+
small: "gf-w-full md:gf-w-[360px]",
|
|
10950
|
+
large: "gf-w-full md:gf-w-[480px]"
|
|
10952
10951
|
}
|
|
10953
10952
|
},
|
|
10954
10953
|
defaultVariants: {
|
|
@@ -10961,15 +10960,23 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10961
10960
|
children: i,
|
|
10962
10961
|
className: s,
|
|
10963
10962
|
...n
|
|
10964
|
-
}) => /* @__PURE__ */ jsx(
|
|
10963
|
+
}) => /* @__PURE__ */ jsx(
|
|
10964
|
+
Opacity,
|
|
10965
|
+
{
|
|
10966
|
+
level: "medium",
|
|
10967
|
+
className: cn(sidebarStyles({ open: e, size: t, className: s })),
|
|
10968
|
+
...n,
|
|
10969
|
+
children: i
|
|
10970
|
+
}
|
|
10971
|
+
), modalStyles = cva(
|
|
10965
10972
|
[
|
|
10966
|
-
"fixed inset-0 z-50 flex items-center justify-center min-h-screen transition-all"
|
|
10973
|
+
"gf-fixed gf-inset-0 gf-z-50 gf-flex gf-items-center gf-justify-center gf-min-h-screen gf-transition-all"
|
|
10967
10974
|
],
|
|
10968
10975
|
{
|
|
10969
10976
|
variants: {
|
|
10970
10977
|
open: {
|
|
10971
|
-
true: "bg-black",
|
|
10972
|
-
false: "opacity-0 pointer-events-none"
|
|
10978
|
+
true: "gf-bg-black",
|
|
10979
|
+
false: "gf-opacity-0 gf-pointer-events-none"
|
|
10973
10980
|
}
|
|
10974
10981
|
},
|
|
10975
10982
|
defaultVariants: {
|
|
@@ -10984,21 +10991,21 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10984
10991
|
const a = (o) => {
|
|
10985
10992
|
t && (o.stopPropagation(), t());
|
|
10986
10993
|
};
|
|
10987
|
-
return /* @__PURE__ */ jsx(
|
|
10994
|
+
return /* @__PURE__ */ jsx(
|
|
10988
10995
|
Opacity,
|
|
10989
10996
|
{
|
|
10990
10997
|
level: "medium",
|
|
10991
|
-
className: `${modalStyles({ open: e })} ${s ? e ? "animate-fade-in" : "animate-fade-out" : ""}`,
|
|
10998
|
+
className: `${modalStyles({ open: e })} ${s ? e ? "gf-animate-fade-in" : "gf-animate-fade-out" : ""}`,
|
|
10992
10999
|
onClick: a,
|
|
10993
11000
|
children: /* @__PURE__ */ jsx(
|
|
10994
11001
|
"div",
|
|
10995
11002
|
{
|
|
10996
|
-
className: `transform transition-transform backdrop-blur-sm ${e ? "animate-scale-in" : "animate-scale-out"}`,
|
|
11003
|
+
className: `gf-transform gf-transition-transform gf-backdrop-blur-sm ${e ? "gf-animate-scale-in" : "gf-animate-scale-out"}`,
|
|
10997
11004
|
children: i
|
|
10998
11005
|
}
|
|
10999
11006
|
)
|
|
11000
11007
|
}
|
|
11001
|
-
)
|
|
11008
|
+
);
|
|
11002
11009
|
}, Children = ({
|
|
11003
11010
|
children: e,
|
|
11004
11011
|
className: t,
|
|
@@ -11011,13 +11018,81 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
11011
11018
|
onClick: (a) => {
|
|
11012
11019
|
a.stopPropagation();
|
|
11013
11020
|
},
|
|
11014
|
-
className: `mx-auto ${t ? " " + t : ""}`,
|
|
11021
|
+
className: `gf-mx-auto ${t ? " " + t : ""}`,
|
|
11015
11022
|
...s,
|
|
11016
11023
|
children: e
|
|
11017
11024
|
}
|
|
11018
11025
|
);
|
|
11019
11026
|
Modal.Children = Children;
|
|
11020
|
-
const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
11027
|
+
const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
11028
|
+
"svg",
|
|
11029
|
+
{
|
|
11030
|
+
width: "12",
|
|
11031
|
+
height: "18",
|
|
11032
|
+
viewBox: "0 0 12 18",
|
|
11033
|
+
...e,
|
|
11034
|
+
fill: "none",
|
|
11035
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11036
|
+
children: /* @__PURE__ */ jsx(
|
|
11037
|
+
"path",
|
|
11038
|
+
{
|
|
11039
|
+
d: "M6.0013 17.3333L0.167969 11.5L1.33464 10.3333L5.16797 14.1458V0.666656H6.83464V14.1458L10.668 10.3125L11.8346 11.5L6.0013 17.3333Z",
|
|
11040
|
+
fill: "#554B6A"
|
|
11041
|
+
}
|
|
11042
|
+
)
|
|
11043
|
+
}
|
|
11044
|
+
), ArrowUpwardIcon = (e) => /* @__PURE__ */ jsx(
|
|
11045
|
+
"svg",
|
|
11046
|
+
{
|
|
11047
|
+
width: "12",
|
|
11048
|
+
height: "18",
|
|
11049
|
+
viewBox: "0 0 12 18",
|
|
11050
|
+
...e,
|
|
11051
|
+
fill: "none",
|
|
11052
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11053
|
+
children: /* @__PURE__ */ jsx(
|
|
11054
|
+
"path",
|
|
11055
|
+
{
|
|
11056
|
+
d: "M5.16797 17.3333V3.85416L1.33464 7.66666L0.167969 6.49999L6.0013 0.666656L11.8346 6.49999L10.668 7.68749L6.83464 3.85416V17.3333H5.16797Z",
|
|
11057
|
+
fill: "#554B6A"
|
|
11058
|
+
}
|
|
11059
|
+
)
|
|
11060
|
+
}
|
|
11061
|
+
), ArrowLeftIcon = (e) => /* @__PURE__ */ jsx(
|
|
11062
|
+
"svg",
|
|
11063
|
+
{
|
|
11064
|
+
width: "18",
|
|
11065
|
+
height: "12",
|
|
11066
|
+
...e,
|
|
11067
|
+
viewBox: "0 0 18 12",
|
|
11068
|
+
fill: "none",
|
|
11069
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11070
|
+
children: /* @__PURE__ */ jsx(
|
|
11071
|
+
"path",
|
|
11072
|
+
{
|
|
11073
|
+
d: "M6.5013 11.8333L0.667969 5.99999L6.5013 0.166656L7.66797 1.33332L3.85547 5.16666H17.3346V6.83332H3.85547L7.6888 10.6667L6.5013 11.8333Z",
|
|
11074
|
+
fill: "#554B6A"
|
|
11075
|
+
}
|
|
11076
|
+
)
|
|
11077
|
+
}
|
|
11078
|
+
), ArrowRightIcon = (e) => /* @__PURE__ */ jsx(
|
|
11079
|
+
"svg",
|
|
11080
|
+
{
|
|
11081
|
+
width: "18",
|
|
11082
|
+
height: "12",
|
|
11083
|
+
...e,
|
|
11084
|
+
viewBox: "0 0 18 12",
|
|
11085
|
+
fill: "none",
|
|
11086
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11087
|
+
children: /* @__PURE__ */ jsx(
|
|
11088
|
+
"path",
|
|
11089
|
+
{
|
|
11090
|
+
d: "M11.5013 11.8333L10.3138 10.6667L14.1471 6.83332H0.667969V5.16666H14.1471L10.3346 1.33332L11.5013 0.166656L17.3346 5.99999L11.5013 11.8333Z",
|
|
11091
|
+
fill: "#554B6A"
|
|
11092
|
+
}
|
|
11093
|
+
)
|
|
11094
|
+
}
|
|
11095
|
+
), AddIcon = (e) => /* @__PURE__ */ jsx(
|
|
11021
11096
|
"svg",
|
|
11022
11097
|
{
|
|
11023
11098
|
width: "12",
|
|
@@ -11034,7 +11109,109 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
11034
11109
|
}
|
|
11035
11110
|
)
|
|
11036
11111
|
}
|
|
11037
|
-
), ArrowNorthEastIcon = (e) => /* @__PURE__ */ jsx(
|
|
11112
|
+
), ArrowNorthEastIcon = (e) => /* @__PURE__ */ jsx(
|
|
11113
|
+
"svg",
|
|
11114
|
+
{
|
|
11115
|
+
width: "13",
|
|
11116
|
+
height: "13",
|
|
11117
|
+
viewBox: "0 0 13 13",
|
|
11118
|
+
...e,
|
|
11119
|
+
fill: "none",
|
|
11120
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11121
|
+
children: /* @__PURE__ */ jsx(
|
|
11122
|
+
"path",
|
|
11123
|
+
{
|
|
11124
|
+
d: "M1.4987 12.6667L0.332031 11.5L9.9987 1.83335H4.4987V0.166687H12.832V8.50002H11.1654V3.00002L1.4987 12.6667Z",
|
|
11125
|
+
fill: "#554B6A"
|
|
11126
|
+
}
|
|
11127
|
+
)
|
|
11128
|
+
}
|
|
11129
|
+
), ArrowNorthWestIcon = (e) => /* @__PURE__ */ jsx(
|
|
11130
|
+
"svg",
|
|
11131
|
+
{
|
|
11132
|
+
width: "13",
|
|
11133
|
+
height: "13",
|
|
11134
|
+
viewBox: "0 0 13 13",
|
|
11135
|
+
...e,
|
|
11136
|
+
fill: "none",
|
|
11137
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11138
|
+
children: /* @__PURE__ */ jsx(
|
|
11139
|
+
"path",
|
|
11140
|
+
{
|
|
11141
|
+
d: "M11.5013 12.6667L1.83464 3.00002V8.50002H0.167969V0.166687H8.5013V1.83335H3.0013L12.668 11.5L11.5013 12.6667Z",
|
|
11142
|
+
fill: "#554B6A"
|
|
11143
|
+
}
|
|
11144
|
+
)
|
|
11145
|
+
}
|
|
11146
|
+
), ArrowSouthEastIcon = (e) => /* @__PURE__ */ jsx(
|
|
11147
|
+
"svg",
|
|
11148
|
+
{
|
|
11149
|
+
width: "13",
|
|
11150
|
+
height: "13",
|
|
11151
|
+
...e,
|
|
11152
|
+
viewBox: "0 0 13 13",
|
|
11153
|
+
fill: "none",
|
|
11154
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11155
|
+
children: /* @__PURE__ */ jsx(
|
|
11156
|
+
"path",
|
|
11157
|
+
{
|
|
11158
|
+
d: "M4.4987 12.8333V11.1666H9.9987L0.332031 1.49998L1.4987 0.333313L11.1654 9.99998V4.49998H12.832V12.8333H4.4987Z",
|
|
11159
|
+
fill: "#554B6A"
|
|
11160
|
+
}
|
|
11161
|
+
)
|
|
11162
|
+
}
|
|
11163
|
+
), ArrowSouthWestIcon = (e) => /* @__PURE__ */ jsx(
|
|
11164
|
+
"svg",
|
|
11165
|
+
{
|
|
11166
|
+
width: "13",
|
|
11167
|
+
height: "13",
|
|
11168
|
+
...e,
|
|
11169
|
+
viewBox: "0 0 13 13",
|
|
11170
|
+
fill: "none",
|
|
11171
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11172
|
+
children: /* @__PURE__ */ jsx(
|
|
11173
|
+
"path",
|
|
11174
|
+
{
|
|
11175
|
+
d: "M0.167969 12.8333V4.49998H1.83464V9.99998L11.5013 0.333313L12.668 1.49998L3.0013 11.1666H8.5013V12.8333H0.167969Z",
|
|
11176
|
+
fill: "#554B6A"
|
|
11177
|
+
}
|
|
11178
|
+
)
|
|
11179
|
+
}
|
|
11180
|
+
), CheckIcon = (e) => /* @__PURE__ */ jsx(
|
|
11181
|
+
"svg",
|
|
11182
|
+
{
|
|
11183
|
+
width: "14",
|
|
11184
|
+
height: "11",
|
|
11185
|
+
...e,
|
|
11186
|
+
viewBox: "0 0 14 11",
|
|
11187
|
+
fill: "none",
|
|
11188
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11189
|
+
children: /* @__PURE__ */ jsx(
|
|
11190
|
+
"path",
|
|
11191
|
+
{
|
|
11192
|
+
d: "M4.95703 11.0003L0.207031 6.25033L1.39453 5.06283L4.95703 8.62533L12.6029 0.979492L13.7904 2.16699L4.95703 11.0003Z",
|
|
11193
|
+
fill: "#554B6A"
|
|
11194
|
+
}
|
|
11195
|
+
)
|
|
11196
|
+
}
|
|
11197
|
+
), ClockIcon = (e) => /* @__PURE__ */ jsx(
|
|
11198
|
+
"svg",
|
|
11199
|
+
{
|
|
11200
|
+
width: "18",
|
|
11201
|
+
height: "18",
|
|
11202
|
+
...e,
|
|
11203
|
+
viewBox: "0 0 18 18",
|
|
11204
|
+
fill: "none",
|
|
11205
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11206
|
+
children: /* @__PURE__ */ jsx(
|
|
11207
|
+
"path",
|
|
11208
|
+
{
|
|
11209
|
+
d: "M11.7513 12.9167L12.918 11.75L9.83463 8.66669V4.83335H8.16797V9.33335L11.7513 12.9167ZM9.0013 17.3334C7.84852 17.3334 6.76519 17.1146 5.7513 16.6771C4.73741 16.2396 3.85547 15.6459 3.10547 14.8959C2.35547 14.1459 1.76172 13.2639 1.32422 12.25C0.886719 11.2361 0.667969 10.1528 0.667969 9.00002C0.667969 7.84724 0.886719 6.76391 1.32422 5.75002C1.76172 4.73613 2.35547 3.85419 3.10547 3.10419C3.85547 2.35419 4.73741 1.76044 5.7513 1.32294C6.76519 0.885437 7.84852 0.666687 9.0013 0.666687C10.1541 0.666687 11.2374 0.885437 12.2513 1.32294C13.2652 1.76044 14.1471 2.35419 14.8971 3.10419C15.6471 3.85419 16.2409 4.73613 16.6784 5.75002C17.1159 6.76391 17.3346 7.84724 17.3346 9.00002C17.3346 10.1528 17.1159 11.2361 16.6784 12.25C16.2409 13.2639 15.6471 14.1459 14.8971 14.8959C14.1471 15.6459 13.2652 16.2396 12.2513 16.6771C11.2374 17.1146 10.1541 17.3334 9.0013 17.3334ZM9.0013 15.6667C10.8485 15.6667 12.4214 15.0174 13.7201 13.7188C15.0187 12.4202 15.668 10.8472 15.668 9.00002C15.668 7.1528 15.0187 5.57988 13.7201 4.28127C12.4214 2.98266 10.8485 2.33335 9.0013 2.33335C7.15408 2.33335 5.58116 2.98266 4.28255 4.28127C2.98394 5.57988 2.33464 7.1528 2.33464 9.00002C2.33464 10.8472 2.98394 12.4202 4.28255 13.7188C5.58116 15.0174 7.15408 15.6667 9.0013 15.6667Z",
|
|
11210
|
+
fill: "#554B6A"
|
|
11211
|
+
}
|
|
11212
|
+
)
|
|
11213
|
+
}
|
|
11214
|
+
), CloseIcon = (e) => /* @__PURE__ */ jsx(
|
|
11038
11215
|
"svg",
|
|
11039
11216
|
{
|
|
11040
11217
|
width: "12",
|
|
@@ -11512,11 +11689,34 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
11512
11689
|
)
|
|
11513
11690
|
]
|
|
11514
11691
|
}
|
|
11515
|
-
), BTCLogo = (e) => /* @__PURE__ */ jsxs(
|
|
11516
|
-
|
|
11517
|
-
|
|
11518
|
-
|
|
11519
|
-
|
|
11692
|
+
), BTCLogo = (e) => /* @__PURE__ */ jsxs(
|
|
11693
|
+
"svg",
|
|
11694
|
+
{
|
|
11695
|
+
width: "20",
|
|
11696
|
+
height: "20",
|
|
11697
|
+
viewBox: "0 0 20 20",
|
|
11698
|
+
...e,
|
|
11699
|
+
fill: "none",
|
|
11700
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11701
|
+
children: [
|
|
11702
|
+
/* @__PURE__ */ jsx(
|
|
11703
|
+
"path",
|
|
11704
|
+
{
|
|
11705
|
+
d: "M9.99969 19.9995C15.5225 19.9995 19.9994 15.5226 19.9994 9.99976C19.9994 4.47692 15.5225 6.10352e-05 9.99969 6.10352e-05C4.47686 6.10352e-05 0 4.47692 0 9.99976C0 15.5226 4.47686 19.9995 9.99969 19.9995Z",
|
|
11706
|
+
fill: "#ECECEC"
|
|
11707
|
+
}
|
|
11708
|
+
),
|
|
11709
|
+
/* @__PURE__ */ jsx("circle", { cx: "10", cy: "10", r: "10", fill: "#F7931A" }),
|
|
11710
|
+
/* @__PURE__ */ jsx(
|
|
11711
|
+
"path",
|
|
11712
|
+
{
|
|
11713
|
+
d: "M12.1154 8.57283C11.7999 9.80896 9.89365 9.1692 9.27554 9.01141L9.83393 6.82401C10.452 6.9818 12.4446 7.28205 12.1154 8.57283ZM11.7556 12.1043C11.4095 13.4641 9.12116 12.7148 8.37762 12.5254L9.00085 10.1179C9.74165 10.3082 12.1255 10.6884 11.7627 12.1082L11.7556 12.1043ZM14.2891 8.60841C14.4968 7.27892 13.4874 6.56018 12.1055 6.07304L12.565 4.2735L11.4686 3.99277L11.0207 5.74572C10.734 5.67215 10.4382 5.60277 10.1441 5.53436L10.5843 3.77028L9.49154 3.48697L9.03298 5.28474C8.79357 5.23004 8.55965 5.17373 8.33297 5.11677L6.82267 4.72988L6.52396 5.90153C6.52396 5.90153 7.33973 6.09353 7.31764 6.10449C7.63363 6.14376 7.85989 6.42897 7.82623 6.74558L7.31089 8.7908C7.34946 8.8006 7.38737 8.81283 7.42439 8.82742L7.3088 8.79886L6.56959 11.6677C6.49946 11.8783 6.27252 11.9929 6.06139 11.9242C6.07735 11.9329 5.26593 11.7203 5.26593 11.7203L4.71393 12.9723L6.14007 13.3363L6.92488 13.5345L6.46197 15.3529L7.55665 15.6326L8.00779 13.84C8.29685 13.9218 8.58882 13.9983 8.87998 14.072L8.42158 15.8653L9.51626 16.145L9.98272 14.3286C11.8545 14.6941 13.2588 14.5583 13.8598 12.8705C14.3425 11.5093 13.8509 10.7233 12.8723 10.2054C13.5904 10.045 14.1351 9.57824 14.2821 8.60454L14.2891 8.60841Z",
|
|
11714
|
+
fill: "white"
|
|
11715
|
+
}
|
|
11716
|
+
)
|
|
11717
|
+
]
|
|
11718
|
+
}
|
|
11719
|
+
), CatalogLogo = (e) => /* @__PURE__ */ jsxs(
|
|
11520
11720
|
"svg",
|
|
11521
11721
|
{
|
|
11522
11722
|
width: "170",
|
|
@@ -11755,14 +11955,61 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
11755
11955
|
)
|
|
11756
11956
|
]
|
|
11757
11957
|
}
|
|
11758
|
-
), GardenLogoText = (e) => /* @__PURE__ */ jsxs(
|
|
11759
|
-
|
|
11760
|
-
|
|
11761
|
-
|
|
11762
|
-
|
|
11763
|
-
|
|
11764
|
-
|
|
11765
|
-
|
|
11958
|
+
), GardenLogoText = (e) => /* @__PURE__ */ jsxs(
|
|
11959
|
+
"svg",
|
|
11960
|
+
{
|
|
11961
|
+
width: "72",
|
|
11962
|
+
height: "24",
|
|
11963
|
+
viewBox: "0 0 72 24",
|
|
11964
|
+
...e,
|
|
11965
|
+
fill: "none",
|
|
11966
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11967
|
+
children: [
|
|
11968
|
+
/* @__PURE__ */ jsx(
|
|
11969
|
+
"path",
|
|
11970
|
+
{
|
|
11971
|
+
d: "M63.5054 18.2476H61.2305V6.123H63.2876L63.5296 7.9826C64.2799 6.5941 65.7804 5.77588 67.4503 5.77588C70.5723 5.77588 72.0002 7.73466 72.0002 10.834V18.2476H69.7252V11.3547C69.7252 8.90001 68.612 7.90822 66.8695 7.90822C64.7397 7.90822 63.5054 9.47028 63.5054 11.8258V18.2476Z",
|
|
11972
|
+
fill: "#554B6A"
|
|
11973
|
+
}
|
|
11974
|
+
),
|
|
11975
|
+
/* @__PURE__ */ jsx(
|
|
11976
|
+
"path",
|
|
11977
|
+
{
|
|
11978
|
+
d: "M53.8263 18.5451C50.3413 18.5451 47.9453 15.9665 47.9453 12.1977C47.9453 8.40411 50.2929 5.77588 53.7295 5.77588C57.0935 5.77588 59.2959 8.15617 59.2959 11.7514V12.6192L50.1477 12.644C50.3171 15.1979 51.624 16.6111 53.8747 16.6111C55.6414 16.6111 56.8031 15.8673 57.1903 14.4788H59.3201C58.7393 17.0822 56.7547 18.5451 53.8263 18.5451ZM53.7295 7.73466C51.745 7.73466 50.4865 8.9496 50.1961 11.0819H57.0209C57.0209 9.07357 55.7382 7.73466 53.7295 7.73466Z",
|
|
11979
|
+
fill: "#554B6A"
|
|
11980
|
+
}
|
|
11981
|
+
),
|
|
11982
|
+
/* @__PURE__ */ jsx(
|
|
11983
|
+
"path",
|
|
11984
|
+
{
|
|
11985
|
+
d: "M39.557 18.5464C36.1204 18.5464 34.0391 15.9182 34.0391 12.2238C34.0391 8.50457 36.1446 5.77716 39.6538 5.77716C41.469 5.77716 42.9937 6.59538 43.7923 8.08306V0H46.0431V18.2489H44.0101L43.8165 16.0421C43.0421 17.7034 41.4448 18.5464 39.557 18.5464ZM40.0169 16.4389C42.3402 16.4389 43.7681 14.6784 43.7681 12.1494C43.7681 9.66992 42.3402 7.8847 40.0169 7.8847C37.6935 7.8847 36.3382 9.66992 36.3382 12.1494C36.3382 14.6536 37.6935 16.4389 40.0169 16.4389Z",
|
|
11986
|
+
fill: "#554B6A"
|
|
11987
|
+
}
|
|
11988
|
+
),
|
|
11989
|
+
/* @__PURE__ */ jsx(
|
|
11990
|
+
"path",
|
|
11991
|
+
{
|
|
11992
|
+
d: "M33.7101 6.02523V8.15757H32.6936C30.5396 8.15757 29.2085 9.49649 29.2085 11.8272V18.249H26.9336V6.14921H29.0633L29.2085 7.98401C29.6926 6.71948 30.8785 5.87646 32.5 5.87646C32.9114 5.87646 33.2502 5.92605 33.7101 6.02523Z",
|
|
11993
|
+
fill: "#554B6A"
|
|
11994
|
+
}
|
|
11995
|
+
),
|
|
11996
|
+
/* @__PURE__ */ jsx(
|
|
11997
|
+
"path",
|
|
11998
|
+
{
|
|
11999
|
+
d: "M18.069 18.5451C15.5278 18.5451 14.0273 17.0822 14.0273 14.8755C14.0273 12.644 15.6489 11.2555 18.432 11.0323L22.1591 10.7348V10.3877C22.1591 8.35452 20.9732 7.63548 19.3759 7.63548C17.464 7.63548 16.3749 8.50329 16.3749 9.96618H14.3904C14.3904 7.43712 16.4233 5.77588 19.4727 5.77588C22.4011 5.77588 24.3857 7.36274 24.3857 10.6356V18.2476H22.4495L22.2075 16.2888C21.6025 17.6773 19.981 18.5451 18.069 18.5451ZM18.7225 16.7351C20.8764 16.7351 22.1833 15.297 22.1833 13.0159V12.3713L19.1581 12.6192C17.1494 12.8176 16.3265 13.611 16.3265 14.8011C16.3265 16.0905 17.2462 16.7351 18.7225 16.7351Z",
|
|
12000
|
+
fill: "#554B6A"
|
|
12001
|
+
}
|
|
12002
|
+
),
|
|
12003
|
+
/* @__PURE__ */ jsx(
|
|
12004
|
+
"path",
|
|
12005
|
+
{
|
|
12006
|
+
d: "M0 11.8754C0 8.4537 2.15395 5.77588 5.59058 5.77588C7.50251 5.77588 8.97882 6.66849 9.72907 8.18096L9.89848 6.123H11.9314V17.7517C11.9314 21.5701 9.63226 24 6.00201 24C2.78319 24 0.58084 22.1404 0.14521 19.0658H2.42017C2.71059 20.851 4.01748 21.8924 6.00201 21.8924C8.22856 21.8924 9.68066 20.4047 9.68066 18.0988V15.6689C8.90621 17.0822 7.3573 17.9253 5.49378 17.9253C2.12975 17.9253 0 15.2722 0 11.8754ZM2.27496 11.8258C2.27496 14.1069 3.65445 15.8921 5.881 15.8921C8.18016 15.8921 9.58386 14.2061 9.58386 11.8258C9.58386 9.49508 8.22856 7.80904 5.9052 7.80904C3.63025 7.80904 2.27496 9.59426 2.27496 11.8258Z",
|
|
12007
|
+
fill: "#554B6A"
|
|
12008
|
+
}
|
|
12009
|
+
)
|
|
12010
|
+
]
|
|
12011
|
+
}
|
|
12012
|
+
), GardenStrokeIcon = (e) => /* @__PURE__ */ jsxs(
|
|
11766
12013
|
"svg",
|
|
11767
12014
|
{
|
|
11768
12015
|
width: "20",
|
|
@@ -12933,54 +13180,51 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
12933
13180
|
)
|
|
12934
13181
|
]
|
|
12935
13182
|
}
|
|
12936
|
-
), Chip = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
13183
|
+
), Chip = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
12937
13184
|
"div",
|
|
12938
13185
|
{
|
|
12939
13186
|
className: cn(
|
|
12940
|
-
"flex items-center rounded-full text-dark-grey font-medium bg-white gap-x-2",
|
|
13187
|
+
"gf-flex gf-items-center gf-rounded-full gf-text-dark-grey gf-font-medium gf-w-max gf-bg-white gf-gap-x-2",
|
|
12941
13188
|
t
|
|
12942
13189
|
),
|
|
12943
13190
|
...i,
|
|
12944
13191
|
children: e
|
|
12945
13192
|
}
|
|
12946
|
-
)
|
|
13193
|
+
), CheckBox = ({ checked: e }) => /* @__PURE__ */ jsx(Fragment, { children: e ? /* @__PURE__ */ jsx(RadioCheckedIcon, { className: "gf-w-4 gf-sm:w-5" }) : /* @__PURE__ */ jsx(RadioUncheckedIcon, { className: "gf-w-4 gf-sm:w-5" }) }), Logo = ({ children: e, ...t }) => /* @__PURE__ */ jsx("div", { className: "gf-flex gf-items-center gf-justify-center", ...t, children: e });
|
|
12947
13194
|
Chip.CheckBox = CheckBox;
|
|
12948
13195
|
Chip.Logo = Logo;
|
|
12949
|
-
const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
13196
|
+
const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
12950
13197
|
Opacity,
|
|
12951
13198
|
{
|
|
12952
13199
|
level: "medium",
|
|
12953
|
-
className: "px-4 py-3 rounded-3xl "
|
|
13200
|
+
className: cn("gf-px-4 gf-py-3 gf-rounded-3xl gf-w-max", t),
|
|
12954
13201
|
...i,
|
|
12955
13202
|
children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", children: e })
|
|
12956
13203
|
}
|
|
12957
|
-
)
|
|
13204
|
+
), TokenInfo = ({
|
|
12958
13205
|
symbol: e,
|
|
12959
13206
|
tokenLogo: t,
|
|
12960
13207
|
chainLogo: i,
|
|
12961
13208
|
className: s,
|
|
12962
13209
|
...n
|
|
12963
|
-
}) => /* @__PURE__ */ jsx(
|
|
13210
|
+
}) => /* @__PURE__ */ jsx(
|
|
12964
13211
|
"div",
|
|
12965
13212
|
{
|
|
12966
|
-
className: cn(
|
|
13213
|
+
className: cn(
|
|
13214
|
+
"gf-flex gf-text-left gf-cursor-pointer gf-w-max",
|
|
13215
|
+
s
|
|
13216
|
+
),
|
|
12967
13217
|
...n,
|
|
12968
|
-
children: /* @__PURE__ */ jsxs(
|
|
12969
|
-
"
|
|
12970
|
-
{
|
|
12971
|
-
|
|
12972
|
-
|
|
12973
|
-
|
|
12974
|
-
|
|
12975
|
-
|
|
12976
|
-
i && (typeof i == "string" ? /* @__PURE__ */ jsx("img", { src: i, alt: "chain logo", className: "w-5 h-5" }) : i),
|
|
12977
|
-
/* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(KeyboardDownIcon, {}) })
|
|
12978
|
-
] })
|
|
12979
|
-
]
|
|
12980
|
-
}
|
|
12981
|
-
)
|
|
13218
|
+
children: /* @__PURE__ */ jsxs("button", { className: "gf-flex gf-flex-row gf-justify-center gf-items-center gf-gap-2 gf-w-full focus:gf-outline-none", children: [
|
|
13219
|
+
/* @__PURE__ */ jsx(Typography, { size: "h2", children: e }),
|
|
13220
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-items-center gf-gap-2", children: [
|
|
13221
|
+
typeof t == "string" ? /* @__PURE__ */ jsx("img", { src: t, alt: "token logo", className: "gf-w-5 gf-h-5" }) : t,
|
|
13222
|
+
i && (typeof i == "string" ? /* @__PURE__ */ jsx("img", { src: i, alt: "chain logo", className: "gf-w-5 gf-h-5" }) : i),
|
|
13223
|
+
/* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(KeyboardDownIcon, {}) })
|
|
13224
|
+
] })
|
|
13225
|
+
] })
|
|
12982
13226
|
}
|
|
12983
|
-
)
|
|
13227
|
+
), appLink = "https://app.garden.finance", footerDetails = [
|
|
12984
13228
|
{
|
|
12985
13229
|
title: "Application",
|
|
12986
13230
|
targetSame: !0,
|
|
@@ -13052,16 +13296,19 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(G
|
|
|
13052
13296
|
}
|
|
13053
13297
|
]
|
|
13054
13298
|
}
|
|
13055
|
-
], Footer = ({ className: e, ...t }) => /* @__PURE__ */
|
|
13299
|
+
], Footer = ({ className: e, ...t }) => /* @__PURE__ */ jsxs(
|
|
13056
13300
|
"footer",
|
|
13057
13301
|
{
|
|
13058
|
-
className: cn(
|
|
13302
|
+
className: cn(
|
|
13303
|
+
"gf-w-full gf-p-8 md:gf-px-28 md:gf-pt-8 md:gf-pb-16",
|
|
13304
|
+
e
|
|
13305
|
+
),
|
|
13059
13306
|
...t,
|
|
13060
13307
|
children: [
|
|
13061
|
-
/* @__PURE__ */ jsxs("div", { className: "md:flex md:justify-between md:items-start", children: [
|
|
13062
|
-
/* @__PURE__ */ jsx("div", { className: "flex items-center mb-6", children: /* @__PURE__ */ jsx(GardenFullLogo, {}) }),
|
|
13063
|
-
/* @__PURE__ */ jsx("div", { className: "grid grid-cols-2 gap-x-14 gap-y-6 md:flex w-full md:justify-end md:gap-x-14", children: footerDetails.map((i) => /* @__PURE__ */ jsxs("div", { className: "flex flex-col", children: [
|
|
13064
|
-
/* @__PURE__ */ jsx(Typography, { size: "h4", weight: "bold", className: "mb-3", children: i.title }),
|
|
13308
|
+
/* @__PURE__ */ jsxs("div", { className: "md:gf-flex md:gf-justify-between md:gf-items-start", children: [
|
|
13309
|
+
/* @__PURE__ */ jsx("div", { className: "gf-flex gf-items-center gf-mb-6", children: /* @__PURE__ */ jsx(GardenFullLogo, {}) }),
|
|
13310
|
+
/* @__PURE__ */ jsx("div", { className: "gf-grid gf-grid-cols-2 gf-gap-x-14 gf-gap-y-6 md:gf-flex gf-w-full md:gf-justify-end md:gf-gap-x-14", children: footerDetails.map((i) => /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col", children: [
|
|
13311
|
+
/* @__PURE__ */ jsx(Typography, { size: "h4", weight: "bold", className: "gf-mb-3", children: i.title }),
|
|
13065
13312
|
i.links.map((s) => /* @__PURE__ */ jsx(
|
|
13066
13313
|
"a",
|
|
13067
13314
|
{
|
|
@@ -13074,24 +13321,27 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(G
|
|
|
13074
13321
|
))
|
|
13075
13322
|
] }, i.title)) })
|
|
13076
13323
|
] }),
|
|
13077
|
-
/* @__PURE__ */ jsx("hr", { className: "mt-6 mb-5 md:mt-12 md:mb-6 border-dark-grey" }),
|
|
13078
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-y-3 md:flex-row justify-between items-center", children: [
|
|
13079
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-x-2 items-center", children: [
|
|
13080
|
-
/* @__PURE__ */
|
|
13324
|
+
/* @__PURE__ */ jsx("hr", { className: "gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey" }),
|
|
13325
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center", children: [
|
|
13326
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-2 gf-items-center", children: [
|
|
13327
|
+
/* @__PURE__ */ jsxs(Typography, { size: "h5", weight: "medium", children: [
|
|
13328
|
+
"Powered by",
|
|
13329
|
+
" "
|
|
13330
|
+
] }),
|
|
13081
13331
|
/* @__PURE__ */ jsx(CatalogLogo, { width: 76 })
|
|
13082
13332
|
] }),
|
|
13083
|
-
/* @__PURE__ */ jsxs("div", { className: "flex gap-x-6 md:gap-x-4", children: [
|
|
13084
|
-
/* @__PURE__ */ jsx("a", { href: "#", className: "hover:underline", children: /* @__PURE__ */ jsx(Typography, { size: "h5", weight: "medium", children: "Privacy Policy" }) }),
|
|
13085
|
-
/* @__PURE__ */ jsx("a", { href: "#", className: "hover:underline", children: /* @__PURE__ */ jsx(Typography, { size: "h5", weight: "medium", children: "Terms of Service" }) })
|
|
13333
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-6 md:gf-gap-x-4", children: [
|
|
13334
|
+
/* @__PURE__ */ jsx("a", { href: "#", className: "hover:gf-underline", children: /* @__PURE__ */ jsx(Typography, { size: "h5", weight: "medium", children: "Privacy Policy" }) }),
|
|
13335
|
+
/* @__PURE__ */ jsx("a", { href: "#", className: "hover:gf-underline", children: /* @__PURE__ */ jsx(Typography, { size: "h5", weight: "medium", children: "Terms of Service" }) })
|
|
13086
13336
|
] })
|
|
13087
13337
|
] })
|
|
13088
13338
|
]
|
|
13089
13339
|
}
|
|
13090
|
-
)
|
|
13340
|
+
);
|
|
13091
13341
|
var build = { exports: {} };
|
|
13092
13342
|
(() => {
|
|
13093
13343
|
var e = { 181: (n, a, o) => {
|
|
13094
|
-
var f = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, c = /^0b[01]+$/i, m = /^0o[0-7]+$/i, E = parseInt, u = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, P = typeof self == "object" && self && self.Object === Object && self, C = u || P || Function("return this")(),
|
|
13344
|
+
var f = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, c = /^0b[01]+$/i, m = /^0o[0-7]+$/i, E = parseInt, u = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, P = typeof self == "object" && self && self.Object === Object && self, C = u || P || Function("return this")(), y = Object.prototype.toString, M = Math.max, d = Math.min, g = function() {
|
|
13095
13345
|
return C.Date.now();
|
|
13096
13346
|
};
|
|
13097
13347
|
function p(L) {
|
|
@@ -13103,7 +13353,7 @@ var build = { exports: {} };
|
|
|
13103
13353
|
if (function(k) {
|
|
13104
13354
|
return typeof k == "symbol" || /* @__PURE__ */ function(R) {
|
|
13105
13355
|
return !!R && typeof R == "object";
|
|
13106
|
-
}(k) &&
|
|
13356
|
+
}(k) && y.call(k) == "[object Symbol]";
|
|
13107
13357
|
}(L)) return NaN;
|
|
13108
13358
|
if (p(L)) {
|
|
13109
13359
|
var A = typeof L.valueOf == "function" ? L.valueOf() : L;
|
|
@@ -13126,7 +13376,7 @@ var build = { exports: {} };
|
|
|
13126
13376
|
return Y === void 0 || $ >= A || $ < 0 || _ && q - U >= X;
|
|
13127
13377
|
}
|
|
13128
13378
|
function B() {
|
|
13129
|
-
var q =
|
|
13379
|
+
var q = g();
|
|
13130
13380
|
if (S(q)) return F(q);
|
|
13131
13381
|
j = setTimeout(B, function($) {
|
|
13132
13382
|
var J = A - ($ - Y);
|
|
@@ -13137,7 +13387,7 @@ var build = { exports: {} };
|
|
|
13137
13387
|
return j = void 0, I && k ? x(q) : (k = R = void 0, N);
|
|
13138
13388
|
}
|
|
13139
13389
|
function G() {
|
|
13140
|
-
var q =
|
|
13390
|
+
var q = g(), $ = S(q);
|
|
13141
13391
|
if (k = arguments, R = this, Y = q, $) {
|
|
13142
13392
|
if (j === void 0) return function(J) {
|
|
13143
13393
|
return U = J, j = setTimeout(B, A), Z ? x(J) : N;
|
|
@@ -13149,11 +13399,11 @@ var build = { exports: {} };
|
|
|
13149
13399
|
return A = b(A) || 0, p(T) && (Z = !!T.leading, X = (_ = "maxWait" in T) ? M(b(T.maxWait) || 0, A) : X, I = "trailing" in T ? !!T.trailing : I), G.cancel = function() {
|
|
13150
13400
|
j !== void 0 && clearTimeout(j), U = 0, k = Y = R = j = void 0;
|
|
13151
13401
|
}, G.flush = function() {
|
|
13152
|
-
return j === void 0 ? N : F(
|
|
13402
|
+
return j === void 0 ? N : F(g());
|
|
13153
13403
|
}, G;
|
|
13154
13404
|
};
|
|
13155
13405
|
}, 858: (n, a, o) => {
|
|
13156
|
-
var f = "Expected a function", l = NaN, c = "[object Symbol]", m = /^\s+|\s+$/g, E = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, P = /^0o[0-7]+$/i, C = parseInt,
|
|
13406
|
+
var f = "Expected a function", l = NaN, c = "[object Symbol]", m = /^\s+|\s+$/g, E = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, P = /^0o[0-7]+$/i, C = parseInt, y = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, M = typeof self == "object" && self && self.Object === Object && self, d = y || M || Function("return this")(), g = Object.prototype.toString, p = Math.max, b = Math.min, L = function() {
|
|
13157
13407
|
return d.Date.now();
|
|
13158
13408
|
};
|
|
13159
13409
|
function A(k) {
|
|
@@ -13165,7 +13415,7 @@ var build = { exports: {} };
|
|
|
13165
13415
|
if (function(N) {
|
|
13166
13416
|
return typeof N == "symbol" || /* @__PURE__ */ function(j) {
|
|
13167
13417
|
return !!j && typeof j == "object";
|
|
13168
|
-
}(N) &&
|
|
13418
|
+
}(N) && g.call(N) == c;
|
|
13169
13419
|
}(k)) return l;
|
|
13170
13420
|
if (A(k)) {
|
|
13171
13421
|
var R = typeof k.valueOf == "function" ? k.valueOf() : k;
|
|
@@ -13225,8 +13475,8 @@ var build = { exports: {} };
|
|
|
13225
13475
|
function c() {
|
|
13226
13476
|
}
|
|
13227
13477
|
c.resetWarningCache = l, n.exports = function() {
|
|
13228
|
-
function m(P, C,
|
|
13229
|
-
if (
|
|
13478
|
+
function m(P, C, y, M, d, g) {
|
|
13479
|
+
if (g !== f) {
|
|
13230
13480
|
var p = new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");
|
|
13231
13481
|
throw p.name = "Invariant Violation", p;
|
|
13232
13482
|
}
|
|
@@ -13312,14 +13562,14 @@ var build = { exports: {} };
|
|
|
13312
13562
|
return l(V) == "symbol" ? V : V + "";
|
|
13313
13563
|
}
|
|
13314
13564
|
function P(D, V, O) {
|
|
13315
|
-
return V =
|
|
13565
|
+
return V = y(V), function(W, H) {
|
|
13316
13566
|
if (H && (l(H) == "object" || typeof H == "function")) return H;
|
|
13317
13567
|
if (H !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13318
13568
|
return function(z) {
|
|
13319
13569
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13320
13570
|
return z;
|
|
13321
13571
|
}(W);
|
|
13322
|
-
}(D, C() ? Reflect.construct(V, O || [],
|
|
13572
|
+
}(D, C() ? Reflect.construct(V, O || [], y(D).constructor) : V.apply(D, O));
|
|
13323
13573
|
}
|
|
13324
13574
|
function C() {
|
|
13325
13575
|
try {
|
|
@@ -13331,10 +13581,10 @@ var build = { exports: {} };
|
|
|
13331
13581
|
return !!D;
|
|
13332
13582
|
})();
|
|
13333
13583
|
}
|
|
13334
|
-
function
|
|
13335
|
-
return
|
|
13584
|
+
function y(D) {
|
|
13585
|
+
return y = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(V) {
|
|
13336
13586
|
return V.__proto__ || Object.getPrototypeOf(V);
|
|
13337
|
-
},
|
|
13587
|
+
}, y(D);
|
|
13338
13588
|
}
|
|
13339
13589
|
function M(D, V) {
|
|
13340
13590
|
return M = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
@@ -13345,7 +13595,7 @@ var build = { exports: {} };
|
|
|
13345
13595
|
D.forEach(function(V) {
|
|
13346
13596
|
V.isIntersecting && V.target.onVisible();
|
|
13347
13597
|
});
|
|
13348
|
-
},
|
|
13598
|
+
}, g = {}, p = function(D) {
|
|
13349
13599
|
function V(H) {
|
|
13350
13600
|
var z;
|
|
13351
13601
|
if (function(Q, ie) {
|
|
@@ -13353,7 +13603,7 @@ var build = { exports: {} };
|
|
|
13353
13603
|
}(this, V), (z = P(this, V, [H])).supportsObserver = !H.scrollPosition && H.useIntersectionObserver && f(), z.supportsObserver) {
|
|
13354
13604
|
var ee = H.threshold;
|
|
13355
13605
|
z.observer = function(Q) {
|
|
13356
|
-
return
|
|
13606
|
+
return g[Q] = g[Q] || new IntersectionObserver(d, { rootMargin: Q + "px" }), g[Q];
|
|
13357
13607
|
}(ee);
|
|
13358
13608
|
}
|
|
13359
13609
|
return z;
|
|
@@ -13384,10 +13634,10 @@ var build = { exports: {} };
|
|
|
13384
13634
|
var fe = function(ae) {
|
|
13385
13635
|
for (var ve = 1; ve < arguments.length; ve++) {
|
|
13386
13636
|
var de = arguments[ve] != null ? arguments[ve] : {};
|
|
13387
|
-
ve % 2 ? c(Object(de), !0).forEach(function(
|
|
13388
|
-
m(ae,
|
|
13389
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(ae, Object.getOwnPropertyDescriptors(de)) : c(Object(de)).forEach(function(
|
|
13390
|
-
Object.defineProperty(ae,
|
|
13637
|
+
ve % 2 ? c(Object(de), !0).forEach(function(ge) {
|
|
13638
|
+
m(ae, ge, de[ge]);
|
|
13639
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(ae, Object.getOwnPropertyDescriptors(de)) : c(Object(de)).forEach(function(ge) {
|
|
13640
|
+
Object.defineProperty(ae, ge, Object.getOwnPropertyDescriptor(de, ge));
|
|
13391
13641
|
});
|
|
13392
13642
|
}
|
|
13393
13643
|
return ae;
|
|
@@ -13512,12 +13762,12 @@ var build = { exports: {} };
|
|
|
13512
13762
|
} }, { key: "render", value: function() {
|
|
13513
13763
|
var ee = this.props, Q = (ee.delayMethod, ee.delayTime, function(ne, he) {
|
|
13514
13764
|
if (ne == null) return {};
|
|
13515
|
-
var fe, ae, ve = function(
|
|
13516
|
-
if (
|
|
13765
|
+
var fe, ae, ve = function(ge, Re) {
|
|
13766
|
+
if (ge == null) return {};
|
|
13517
13767
|
var Oe = {};
|
|
13518
|
-
for (var Ve in
|
|
13768
|
+
for (var Ve in ge) if ({}.hasOwnProperty.call(ge, Ve)) {
|
|
13519
13769
|
if (Re.indexOf(Ve) >= 0) continue;
|
|
13520
|
-
Oe[Ve] =
|
|
13770
|
+
Oe[Ve] = ge[Ve];
|
|
13521
13771
|
}
|
|
13522
13772
|
return Oe;
|
|
13523
13773
|
}(ne, he);
|
|
@@ -13631,14 +13881,14 @@ var build = { exports: {} };
|
|
|
13631
13881
|
return te(V) == "symbol" ? V : V + "";
|
|
13632
13882
|
}
|
|
13633
13883
|
function Ae(D, V, O) {
|
|
13634
|
-
return V =
|
|
13884
|
+
return V = ye(V), function(W, H) {
|
|
13635
13885
|
if (H && (te(H) == "object" || typeof H == "function")) return H;
|
|
13636
13886
|
if (H !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
13637
13887
|
return function(z) {
|
|
13638
13888
|
if (z === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
|
|
13639
13889
|
return z;
|
|
13640
13890
|
}(W);
|
|
13641
|
-
}(D, Se() ? Reflect.construct(V, O || [],
|
|
13891
|
+
}(D, Se() ? Reflect.construct(V, O || [], ye(D).constructor) : V.apply(D, O));
|
|
13642
13892
|
}
|
|
13643
13893
|
function Se() {
|
|
13644
13894
|
try {
|
|
@@ -13650,10 +13900,10 @@ var build = { exports: {} };
|
|
|
13650
13900
|
return !!D;
|
|
13651
13901
|
})();
|
|
13652
13902
|
}
|
|
13653
|
-
function
|
|
13654
|
-
return
|
|
13903
|
+
function ye(D) {
|
|
13904
|
+
return ye = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(V) {
|
|
13655
13905
|
return V.__proto__ || Object.getPrototypeOf(V);
|
|
13656
|
-
},
|
|
13906
|
+
}, ye(D);
|
|
13657
13907
|
}
|
|
13658
13908
|
function xe(D, V) {
|
|
13659
13909
|
return xe = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
@@ -13800,9 +14050,9 @@ var build = { exports: {} };
|
|
|
13800
14050
|
var ie, ne, he = function(ae, ve) {
|
|
13801
14051
|
if (ae == null) return {};
|
|
13802
14052
|
var de = {};
|
|
13803
|
-
for (var
|
|
13804
|
-
if (ve.indexOf(
|
|
13805
|
-
de[
|
|
14053
|
+
for (var ge in ae) if ({}.hasOwnProperty.call(ae, ge)) {
|
|
14054
|
+
if (ve.indexOf(ge) >= 0) continue;
|
|
14055
|
+
de[ge] = ae[ge];
|
|
13806
14056
|
}
|
|
13807
14057
|
return de;
|
|
13808
14058
|
}(ee, Q);
|
|
@@ -13814,8 +14064,8 @@ var build = { exports: {} };
|
|
|
13814
14064
|
}(H, _e));
|
|
13815
14065
|
return a().createElement("img", Ee({}, z, { onLoad: this.onImageLoad() }));
|
|
13816
14066
|
} }, { key: "getLazyLoadImage", value: function() {
|
|
13817
|
-
var H = this.props, z = H.beforeLoad, ee = H.className, Q = H.delayMethod, ie = H.delayTime, ne = H.height, he = H.placeholder, fe = H.scrollPosition, ae = H.style, ve = H.threshold, de = H.useIntersectionObserver,
|
|
13818
|
-
return a().createElement(me, { beforeLoad: z, className: ee, delayMethod: Q, delayTime: ie, height: ne, placeholder: he, scrollPosition: fe, style: ae, threshold: ve, useIntersectionObserver: de, visibleByDefault:
|
|
14067
|
+
var H = this.props, z = H.beforeLoad, ee = H.className, Q = H.delayMethod, ie = H.delayTime, ne = H.height, he = H.placeholder, fe = H.scrollPosition, ae = H.style, ve = H.threshold, de = H.useIntersectionObserver, ge = H.visibleByDefault, Re = H.width;
|
|
14068
|
+
return a().createElement(me, { beforeLoad: z, className: ee, delayMethod: Q, delayTime: ie, height: ne, placeholder: he, scrollPosition: fe, style: ae, threshold: ve, useIntersectionObserver: de, visibleByDefault: ge, width: Re }, this.getImg());
|
|
13819
14069
|
} }, { key: "getWrappedLazyLoadImage", value: function(H) {
|
|
13820
14070
|
var z = this.props, ee = z.effect, Q = z.height, ie = z.placeholderSrc, ne = z.width, he = z.wrapperClassName, fe = z.wrapperProps, ae = this.state.loaded, ve = ae ? " lazy-load-image-loaded" : "", de = ae || !ie ? {} : { backgroundImage: "url(".concat(ie, ")"), backgroundSize: "100% 100%" };
|
|
13821
14071
|
return a().createElement("span", Ee({ className: he + " lazy-load-image-background " + ee + ve, style: Me(Me({}, de), {}, { color: "transparent", display: "inline-block", height: Q, width: ne }) }, fe), H);
|
|
@@ -13844,11 +14094,11 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
13844
14094
|
const [n, a] = useState(!1), [o, f] = useState(e ?? placeholderUrl), l = () => {
|
|
13845
14095
|
f(placeholderUrl);
|
|
13846
14096
|
};
|
|
13847
|
-
return /* @__PURE__ */ jsx(
|
|
14097
|
+
return /* @__PURE__ */ jsx(Opacity, { level: "semi-dark", className: "gf-rounded-2xl gf-w-max", children: /* @__PURE__ */ jsxs("div", { className: "gf-w-[328px] gf-h-[305px] gf-sm:w-[384px] gf-sm:h-[336px] gf-overflow-hidden gf-rounded-2xl", children: [
|
|
13848
14098
|
/* @__PURE__ */ jsx(
|
|
13849
14099
|
"div",
|
|
13850
14100
|
{
|
|
13851
|
-
className: `w-[328px] h-[185px] sm:w-[384px] sm:h-[216px] ${n ? "" : "filter blur-md"}`,
|
|
14101
|
+
className: `gf-w-[328px] gf-h-[185px] sm:gf-w-[384px] sm:gf-h-[216px] ${n ? "" : "gf-filter gf-blur-md"}`,
|
|
13852
14102
|
children: /* @__PURE__ */ jsx(
|
|
13853
14103
|
buildExports.LazyLoadImage,
|
|
13854
14104
|
{
|
|
@@ -13865,29 +14115,29 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
13865
14115
|
)
|
|
13866
14116
|
}
|
|
13867
14117
|
),
|
|
13868
|
-
/* @__PURE__ */ jsxs("div", { className: "px-4 pt-4 pb-5 md:px-5 md:pb-11", children: [
|
|
13869
|
-
/* @__PURE__ */ jsxs("div", { className: "flex justify-between mb-3", children: [
|
|
14118
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-px-4 gf-pt-4 gf-pb-5 gf-md:px-5 gf-md:pb-11", children: [
|
|
14119
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-justify-between gf-mb-3", children: [
|
|
13870
14120
|
/* @__PURE__ */ jsx(
|
|
13871
14121
|
Typography,
|
|
13872
14122
|
{
|
|
13873
14123
|
size: "h5",
|
|
13874
14124
|
weight: "medium",
|
|
13875
|
-
className: "bg-rose px-3 py-1 rounded-full",
|
|
14125
|
+
className: "gf-bg-rose gf-px-3 gf-py-1 gf-rounded-full",
|
|
13876
14126
|
children: t
|
|
13877
14127
|
}
|
|
13878
14128
|
),
|
|
13879
|
-
/* @__PURE__ */ jsx(Typography, { size: "h5", weight: "medium", className: "px-3 py-1", children: i })
|
|
14129
|
+
/* @__PURE__ */ jsx(Typography, { size: "h5", weight: "medium", className: "gf-px-3 gf-py-1", children: i })
|
|
13880
14130
|
] }),
|
|
13881
14131
|
/* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", children: s })
|
|
13882
14132
|
] })
|
|
13883
|
-
] }) })
|
|
14133
|
+
] }) });
|
|
13884
14134
|
}, questCardStyles = cva(
|
|
13885
|
-
["w-full max-w-96 p-4 pb-5 md:p-6 md:pb-8 rounded-2xl"],
|
|
14135
|
+
["gf-w-full gf-max-w-96 gf-p-4 gf-pb-5 md:gf-p-6 md:gf-pb-8 gf-rounded-2xl"],
|
|
13886
14136
|
{
|
|
13887
14137
|
variants: {
|
|
13888
14138
|
variant: {
|
|
13889
|
-
locked: "bg-white bg-opacity-25",
|
|
13890
|
-
default: "bg-white bg-opacity-50"
|
|
14139
|
+
locked: "gf-bg-white gf-bg-opacity-25",
|
|
14140
|
+
default: "gf-bg-white gf-bg-opacity-50"
|
|
13891
14141
|
}
|
|
13892
14142
|
},
|
|
13893
14143
|
defaultVariants: {
|
|
@@ -13900,9 +14150,9 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
13900
14150
|
description: i,
|
|
13901
14151
|
chipContent: s,
|
|
13902
14152
|
logo: n
|
|
13903
|
-
}) => /* @__PURE__ */
|
|
13904
|
-
/* @__PURE__ */ jsxs("div", { className: "flex justify-between items-center mb-4", children: [
|
|
13905
|
-
/* @__PURE__ */ jsxs(Chip, { className: "cursor-pointer px-2 py-1", children: [
|
|
14153
|
+
}) => /* @__PURE__ */ jsxs("div", { className: cn(questCardStyles({ variant: e })), children: [
|
|
14154
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-justify-between gf-items-center gf-mb-4", children: [
|
|
14155
|
+
/* @__PURE__ */ jsxs(Chip, { className: "gf-cursor-pointer gf-px-2 gf-py-1", children: [
|
|
13906
14156
|
/* @__PURE__ */ jsx(Chip.Logo, { children: n }),
|
|
13907
14157
|
t,
|
|
13908
14158
|
/* @__PURE__ */ jsx(Chip.CheckBox, { checked: !1 })
|
|
@@ -13910,24 +14160,24 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
13910
14160
|
e === "default" ? /* @__PURE__ */ jsx(
|
|
13911
14161
|
OpenInFullIcon,
|
|
13912
14162
|
{
|
|
13913
|
-
className: "cursor-pointer",
|
|
14163
|
+
className: "gf-cursor-pointer",
|
|
13914
14164
|
height: "20px",
|
|
13915
14165
|
width: "20px"
|
|
13916
14166
|
}
|
|
13917
|
-
) : /* @__PURE__ */ jsx(LockIcon, { className: "cursor-pointer", height: "20px", width: "20px" })
|
|
14167
|
+
) : /* @__PURE__ */ jsx(LockIcon, { className: "gf-cursor-pointer", height: "20px", width: "20px" })
|
|
13918
14168
|
] }),
|
|
13919
|
-
/* @__PURE__ */ jsx("div", { className: "mb-3 md:mb-8", children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "medium", children: i }) }),
|
|
13920
|
-
/* @__PURE__ */ jsxs("div", { className: "flex justify-end space-x-2", children: [
|
|
13921
|
-
/* @__PURE__ */ jsxs(Chip, { className: "pl-3 pr-2 py-1", children: [
|
|
14169
|
+
/* @__PURE__ */ jsx("div", { className: "gf-mb-3 md:gf-mb-8", children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "medium", children: i }) }),
|
|
14170
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-justify-end gf-space-x-2", children: [
|
|
14171
|
+
/* @__PURE__ */ jsxs(Chip, { className: "gf-pl-3 gf-pr-2 gf-py-1", children: [
|
|
13922
14172
|
/* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Quest Access" }),
|
|
13923
14173
|
/* @__PURE__ */ jsx(Chip.CheckBox, { checked: !1 })
|
|
13924
14174
|
] }),
|
|
13925
|
-
/* @__PURE__ */ jsxs(Chip, { className: "pl-3 pr-2 py-1", children: [
|
|
14175
|
+
/* @__PURE__ */ jsxs(Chip, { className: "gf-pl-3 gf-pr-2 gf-py-1", children: [
|
|
13926
14176
|
/* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: s }),
|
|
13927
14177
|
/* @__PURE__ */ jsx(Chip.CheckBox, { checked: !1 })
|
|
13928
14178
|
] })
|
|
13929
14179
|
] })
|
|
13930
|
-
] })
|
|
14180
|
+
] });
|
|
13931
14181
|
export {
|
|
13932
14182
|
AddIcon,
|
|
13933
14183
|
ArbitrumLogo,
|