@gardenfi/garden-book 0.0.31 → 0.0.32
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/ui.es.js
CHANGED
|
@@ -141,15 +141,15 @@ function createParseClassName(e) {
|
|
|
141
141
|
function o(f) {
|
|
142
142
|
const l = [];
|
|
143
143
|
let c = 0, m = 0, E;
|
|
144
|
-
for (let
|
|
145
|
-
let d = f[
|
|
144
|
+
for (let L = 0; L < f.length; L++) {
|
|
145
|
+
let d = f[L];
|
|
146
146
|
if (c === 0) {
|
|
147
|
-
if (d === n && (s || f.slice(
|
|
148
|
-
l.push(f.slice(m,
|
|
147
|
+
if (d === n && (s || f.slice(L, L + a) === t)) {
|
|
148
|
+
l.push(f.slice(m, L)), m = L + a;
|
|
149
149
|
continue;
|
|
150
150
|
}
|
|
151
151
|
if (d === "/") {
|
|
152
|
-
E =
|
|
152
|
+
E = L;
|
|
153
153
|
continue;
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -327,7 +327,7 @@ function isImage(e) {
|
|
|
327
327
|
return imageRegex.test(e);
|
|
328
328
|
}
|
|
329
329
|
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"), g = fromTheme("inset"),
|
|
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"), g = fromTheme("inset"), L = fromTheme("margin"), d = fromTheme("opacity"), y = fromTheme("padding"), p = fromTheme("saturate"), b = fromTheme("scale"), M = fromTheme("sepia"), A = fromTheme("skew"), T = fromTheme("space"), k = fromTheme("translate"), H = () => ["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
331
|
return {
|
|
332
332
|
cacheSize: 500,
|
|
333
333
|
separator: ":",
|
|
@@ -858,63 +858,63 @@ function getDefaultConfig() {
|
|
|
858
858
|
* @see https://tailwindcss.com/docs/margin
|
|
859
859
|
*/
|
|
860
860
|
m: [{
|
|
861
|
-
m: [
|
|
861
|
+
m: [L]
|
|
862
862
|
}],
|
|
863
863
|
/**
|
|
864
864
|
* Margin X
|
|
865
865
|
* @see https://tailwindcss.com/docs/margin
|
|
866
866
|
*/
|
|
867
867
|
mx: [{
|
|
868
|
-
mx: [
|
|
868
|
+
mx: [L]
|
|
869
869
|
}],
|
|
870
870
|
/**
|
|
871
871
|
* Margin Y
|
|
872
872
|
* @see https://tailwindcss.com/docs/margin
|
|
873
873
|
*/
|
|
874
874
|
my: [{
|
|
875
|
-
my: [
|
|
875
|
+
my: [L]
|
|
876
876
|
}],
|
|
877
877
|
/**
|
|
878
878
|
* Margin Start
|
|
879
879
|
* @see https://tailwindcss.com/docs/margin
|
|
880
880
|
*/
|
|
881
881
|
ms: [{
|
|
882
|
-
ms: [
|
|
882
|
+
ms: [L]
|
|
883
883
|
}],
|
|
884
884
|
/**
|
|
885
885
|
* Margin End
|
|
886
886
|
* @see https://tailwindcss.com/docs/margin
|
|
887
887
|
*/
|
|
888
888
|
me: [{
|
|
889
|
-
me: [
|
|
889
|
+
me: [L]
|
|
890
890
|
}],
|
|
891
891
|
/**
|
|
892
892
|
* Margin Top
|
|
893
893
|
* @see https://tailwindcss.com/docs/margin
|
|
894
894
|
*/
|
|
895
895
|
mt: [{
|
|
896
|
-
mt: [
|
|
896
|
+
mt: [L]
|
|
897
897
|
}],
|
|
898
898
|
/**
|
|
899
899
|
* Margin Right
|
|
900
900
|
* @see https://tailwindcss.com/docs/margin
|
|
901
901
|
*/
|
|
902
902
|
mr: [{
|
|
903
|
-
mr: [
|
|
903
|
+
mr: [L]
|
|
904
904
|
}],
|
|
905
905
|
/**
|
|
906
906
|
* Margin Bottom
|
|
907
907
|
* @see https://tailwindcss.com/docs/margin
|
|
908
908
|
*/
|
|
909
909
|
mb: [{
|
|
910
|
-
mb: [
|
|
910
|
+
mb: [L]
|
|
911
911
|
}],
|
|
912
912
|
/**
|
|
913
913
|
* Margin Left
|
|
914
914
|
* @see https://tailwindcss.com/docs/margin
|
|
915
915
|
*/
|
|
916
916
|
ml: [{
|
|
917
|
-
ml: [
|
|
917
|
+
ml: [L]
|
|
918
918
|
}],
|
|
919
919
|
/**
|
|
920
920
|
* Space Between X
|
|
@@ -1786,7 +1786,7 @@ function getDefaultConfig() {
|
|
|
1786
1786
|
* @see https://tailwindcss.com/docs/sepia
|
|
1787
1787
|
*/
|
|
1788
1788
|
sepia: [{
|
|
1789
|
-
sepia: [
|
|
1789
|
+
sepia: [M]
|
|
1790
1790
|
}],
|
|
1791
1791
|
/**
|
|
1792
1792
|
* Backdrop Filter
|
|
@@ -1857,7 +1857,7 @@ function getDefaultConfig() {
|
|
|
1857
1857
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1858
1858
|
*/
|
|
1859
1859
|
"backdrop-sepia": [{
|
|
1860
|
-
"backdrop-sepia": [
|
|
1860
|
+
"backdrop-sepia": [M]
|
|
1861
1861
|
}],
|
|
1862
1862
|
// Tables
|
|
1863
1863
|
/**
|
|
@@ -1993,14 +1993,14 @@ function getDefaultConfig() {
|
|
|
1993
1993
|
* @see https://tailwindcss.com/docs/skew
|
|
1994
1994
|
*/
|
|
1995
1995
|
"skew-x": [{
|
|
1996
|
-
"skew-x": [
|
|
1996
|
+
"skew-x": [A]
|
|
1997
1997
|
}],
|
|
1998
1998
|
/**
|
|
1999
1999
|
* Skew Y
|
|
2000
2000
|
* @see https://tailwindcss.com/docs/skew
|
|
2001
2001
|
*/
|
|
2002
2002
|
"skew-y": [{
|
|
2003
|
-
"skew-y": [
|
|
2003
|
+
"skew-y": [A]
|
|
2004
2004
|
}],
|
|
2005
2005
|
/**
|
|
2006
2006
|
* Transform Origin
|
|
@@ -2368,14 +2368,14 @@ const falsyToString = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0
|
|
|
2368
2368
|
}, {}), l = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((c, m) => {
|
|
2369
2369
|
let { class: E, className: u, ...P } = m;
|
|
2370
2370
|
return Object.entries(P).every((C) => {
|
|
2371
|
-
let [g,
|
|
2372
|
-
return Array.isArray(
|
|
2371
|
+
let [g, L] = C;
|
|
2372
|
+
return Array.isArray(L) ? L.includes({
|
|
2373
2373
|
...a,
|
|
2374
2374
|
...f
|
|
2375
2375
|
}[g]) : {
|
|
2376
2376
|
...a,
|
|
2377
2377
|
...f
|
|
2378
|
-
}[g] ===
|
|
2378
|
+
}[g] === L;
|
|
2379
2379
|
}) ? [
|
|
2380
2380
|
...c,
|
|
2381
2381
|
E,
|
|
@@ -2685,7 +2685,7 @@ var lottie$1 = { exports: {} };
|
|
|
2685
2685
|
function f() {
|
|
2686
2686
|
s || (s = o(function(P) {
|
|
2687
2687
|
function C() {
|
|
2688
|
-
function
|
|
2688
|
+
function L(Z, _) {
|
|
2689
2689
|
var I, x, S = Z.length, B, F, G, q;
|
|
2690
2690
|
for (x = 0; x < S; x += 1)
|
|
2691
2691
|
if (I = Z[x], "ks" in I && !I.completed) {
|
|
@@ -2693,19 +2693,19 @@ var lottie$1 = { exports: {} };
|
|
|
2693
2693
|
var $ = I.masksProperties;
|
|
2694
2694
|
for (F = $.length, B = 0; B < F; B += 1)
|
|
2695
2695
|
if ($[B].pt.k.i)
|
|
2696
|
-
|
|
2696
|
+
M($[B].pt.k);
|
|
2697
2697
|
else
|
|
2698
2698
|
for (q = $[B].pt.k.length, G = 0; G < q; G += 1)
|
|
2699
|
-
$[B].pt.k[G].s &&
|
|
2699
|
+
$[B].pt.k[G].s && M($[B].pt.k[G].s[0]), $[B].pt.k[G].e && M($[B].pt.k[G].e[0]);
|
|
2700
2700
|
}
|
|
2701
|
-
I.ty === 0 ? (I.layers = p(I.refId, _),
|
|
2701
|
+
I.ty === 0 ? (I.layers = p(I.refId, _), L(I.layers, _)) : I.ty === 4 ? b(I.shapes) : I.ty === 5 && Y(I);
|
|
2702
2702
|
}
|
|
2703
2703
|
}
|
|
2704
2704
|
function d(Z, _) {
|
|
2705
2705
|
if (Z) {
|
|
2706
2706
|
var I = 0, x = Z.length;
|
|
2707
2707
|
for (I = 0; I < x; I += 1)
|
|
2708
|
-
Z[I].t === 1 && (Z[I].data.layers = p(Z[I].data.refId, _),
|
|
2708
|
+
Z[I].t === 1 && (Z[I].data.layers = p(Z[I].data.refId, _), L(Z[I].data.layers, _));
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
2711
|
function y(Z, _) {
|
|
@@ -2725,18 +2725,18 @@ var lottie$1 = { exports: {} };
|
|
|
2725
2725
|
for (_ = I - 1; _ >= 0; _ -= 1)
|
|
2726
2726
|
if (Z[_].ty === "sh")
|
|
2727
2727
|
if (Z[_].ks.k.i)
|
|
2728
|
-
|
|
2728
|
+
M(Z[_].ks.k);
|
|
2729
2729
|
else
|
|
2730
2730
|
for (S = Z[_].ks.k.length, x = 0; x < S; x += 1)
|
|
2731
|
-
Z[_].ks.k[x].s &&
|
|
2731
|
+
Z[_].ks.k[x].s && M(Z[_].ks.k[x].s[0]), Z[_].ks.k[x].e && M(Z[_].ks.k[x].e[0]);
|
|
2732
2732
|
else Z[_].ty === "gr" && b(Z[_].it);
|
|
2733
2733
|
}
|
|
2734
|
-
function
|
|
2734
|
+
function M(Z) {
|
|
2735
2735
|
var _, I = Z.i.length;
|
|
2736
2736
|
for (_ = 0; _ < I; _ += 1)
|
|
2737
2737
|
Z.i[_][0] += Z.v[_][0], Z.i[_][1] += Z.v[_][1], Z.o[_][0] += Z.v[_][0], Z.o[_][1] += Z.v[_][1];
|
|
2738
2738
|
}
|
|
2739
|
-
function
|
|
2739
|
+
function A(Z, _) {
|
|
2740
2740
|
var I = _ ? _.split(".") : [100, 100, 100];
|
|
2741
2741
|
return Z[0] > I[0] ? !0 : I[0] > Z[0] ? !1 : Z[1] > I[1] ? !0 : I[1] > Z[1] ? !1 : Z[2] > I[2] ? !0 : I[2] > Z[2] ? !1 : null;
|
|
2742
2742
|
}
|
|
@@ -2757,7 +2757,7 @@ var lottie$1 = { exports: {} };
|
|
|
2757
2757
|
x[S].ty === 5 && _(x[S]);
|
|
2758
2758
|
}
|
|
2759
2759
|
return function(x) {
|
|
2760
|
-
if (
|
|
2760
|
+
if (A(Z, x.v) && (I(x.layers), x.assets)) {
|
|
2761
2761
|
var S, B = x.assets.length;
|
|
2762
2762
|
for (S = 0; S < B; S += 1)
|
|
2763
2763
|
x.assets[S].layers && I(x.assets[S].layers);
|
|
@@ -2766,7 +2766,7 @@ var lottie$1 = { exports: {} };
|
|
|
2766
2766
|
}(), k = /* @__PURE__ */ function() {
|
|
2767
2767
|
var Z = [4, 7, 99];
|
|
2768
2768
|
return function(_) {
|
|
2769
|
-
if (_.chars && !
|
|
2769
|
+
if (_.chars && !A(Z, _.v)) {
|
|
2770
2770
|
var I, x = _.chars.length;
|
|
2771
2771
|
for (I = 0; I < x; I += 1) {
|
|
2772
2772
|
var S = _.chars[I];
|
|
@@ -2848,7 +2848,7 @@ var lottie$1 = { exports: {} };
|
|
|
2848
2848
|
x[S].ty === 5 && _(x[S]);
|
|
2849
2849
|
}
|
|
2850
2850
|
return function(x) {
|
|
2851
|
-
if (
|
|
2851
|
+
if (A(Z, x.v) && (I(x.layers), x.assets)) {
|
|
2852
2852
|
var S, B = x.assets.length;
|
|
2853
2853
|
for (S = 0; S < B; S += 1)
|
|
2854
2854
|
x.assets[S].layers && I(x.assets[S].layers);
|
|
@@ -2874,7 +2874,7 @@ var lottie$1 = { exports: {} };
|
|
|
2874
2874
|
x[S].ty === 4 && _(x[S].shapes);
|
|
2875
2875
|
}
|
|
2876
2876
|
return function(x) {
|
|
2877
|
-
if (
|
|
2877
|
+
if (A(Z, x.v) && (I(x.layers), x.assets)) {
|
|
2878
2878
|
var S, B = x.assets.length;
|
|
2879
2879
|
for (S = 0; S < B; S += 1)
|
|
2880
2880
|
x.assets[S].layers && I(x.assets[S].layers);
|
|
@@ -2909,7 +2909,7 @@ var lottie$1 = { exports: {} };
|
|
|
2909
2909
|
}
|
|
2910
2910
|
}
|
|
2911
2911
|
return function(x) {
|
|
2912
|
-
if (
|
|
2912
|
+
if (A(Z, x.v) && (I(x.layers), x.assets)) {
|
|
2913
2913
|
var S, B = x.assets.length;
|
|
2914
2914
|
for (S = 0; S < B; S += 1)
|
|
2915
2915
|
x.assets[S].layers && I(x.assets[S].layers);
|
|
@@ -2917,21 +2917,21 @@ var lottie$1 = { exports: {} };
|
|
|
2917
2917
|
};
|
|
2918
2918
|
}();
|
|
2919
2919
|
function j(Z) {
|
|
2920
|
-
Z.__complete || (X(Z), T(Z), k(Z), H(Z), N(Z),
|
|
2920
|
+
Z.__complete || (X(Z), T(Z), k(Z), H(Z), N(Z), L(Z.layers, Z.assets), d(Z.chars, Z.assets), Z.__complete = !0);
|
|
2921
2921
|
}
|
|
2922
2922
|
function Y(Z) {
|
|
2923
2923
|
Z.t.a.length === 0 && "m" in Z.t.p;
|
|
2924
2924
|
}
|
|
2925
2925
|
var U = {};
|
|
2926
|
-
return U.completeData = j, U.checkColors = X, U.checkChars = k, U.checkPathProperties = H, U.checkShapes = N, U.completeLayers =
|
|
2926
|
+
return U.completeData = j, U.checkColors = X, U.checkChars = k, U.checkPathProperties = H, U.checkShapes = N, U.completeLayers = L, U;
|
|
2927
2927
|
}
|
|
2928
2928
|
if (a.dataManager || (a.dataManager = C()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ function() {
|
|
2929
|
-
function
|
|
2929
|
+
function L(y) {
|
|
2930
2930
|
var p = y.getResponseHeader("content-type");
|
|
2931
2931
|
return p && y.responseType === "json" && p.indexOf("json") !== -1 || y.response && _typeof$5(y.response) === "object" ? y.response : y.response && typeof y.response == "string" ? JSON.parse(y.response) : y.responseText ? JSON.parse(y.responseText) : null;
|
|
2932
2932
|
}
|
|
2933
|
-
function d(y, p, b,
|
|
2934
|
-
var
|
|
2933
|
+
function d(y, p, b, M) {
|
|
2934
|
+
var A, T = new XMLHttpRequest();
|
|
2935
2935
|
try {
|
|
2936
2936
|
T.responseType = "json";
|
|
2937
2937
|
} catch {
|
|
@@ -2939,12 +2939,12 @@ var lottie$1 = { exports: {} };
|
|
|
2939
2939
|
T.onreadystatechange = function() {
|
|
2940
2940
|
if (T.readyState === 4)
|
|
2941
2941
|
if (T.status === 200)
|
|
2942
|
-
|
|
2942
|
+
A = L(T), b(A);
|
|
2943
2943
|
else
|
|
2944
2944
|
try {
|
|
2945
|
-
|
|
2945
|
+
A = L(T), b(A);
|
|
2946
2946
|
} catch (k) {
|
|
2947
|
-
|
|
2947
|
+
M && M(k);
|
|
2948
2948
|
}
|
|
2949
2949
|
};
|
|
2950
2950
|
try {
|
|
@@ -2958,10 +2958,10 @@ var lottie$1 = { exports: {} };
|
|
|
2958
2958
|
load: d
|
|
2959
2959
|
};
|
|
2960
2960
|
}()), P.data.type === "loadAnimation")
|
|
2961
|
-
a.assetLoader.load(P.data.path, P.data.fullPath, function(
|
|
2962
|
-
a.dataManager.completeData(
|
|
2961
|
+
a.assetLoader.load(P.data.path, P.data.fullPath, function(L) {
|
|
2962
|
+
a.dataManager.completeData(L), a.postMessage({
|
|
2963
2963
|
id: P.data.id,
|
|
2964
|
-
payload:
|
|
2964
|
+
payload: L,
|
|
2965
2965
|
status: "success"
|
|
2966
2966
|
});
|
|
2967
2967
|
}, function() {
|
|
@@ -2977,10 +2977,10 @@ var lottie$1 = { exports: {} };
|
|
|
2977
2977
|
payload: g,
|
|
2978
2978
|
status: "success"
|
|
2979
2979
|
});
|
|
2980
|
-
} else P.data.type === "loadData" && a.assetLoader.load(P.data.path, P.data.fullPath, function(
|
|
2980
|
+
} else P.data.type === "loadData" && a.assetLoader.load(P.data.path, P.data.fullPath, function(L) {
|
|
2981
2981
|
a.postMessage({
|
|
2982
2982
|
id: P.data.id,
|
|
2983
|
-
payload:
|
|
2983
|
+
payload: L,
|
|
2984
2984
|
status: "success"
|
|
2985
2985
|
});
|
|
2986
2986
|
}, function() {
|
|
@@ -3054,8 +3054,8 @@ var lottie$1 = { exports: {} };
|
|
|
3054
3054
|
if (d.e)
|
|
3055
3055
|
b = d.p;
|
|
3056
3056
|
else if (y) {
|
|
3057
|
-
var
|
|
3058
|
-
|
|
3057
|
+
var M = d.p;
|
|
3058
|
+
M.indexOf("images/") !== -1 && (M = M.split("/")[1]), b = y + M;
|
|
3059
3059
|
} else
|
|
3060
3060
|
b = p, b += d.u ? d.u : "", b += d.p;
|
|
3061
3061
|
return b;
|
|
@@ -3130,10 +3130,10 @@ var lottie$1 = { exports: {} };
|
|
|
3130
3130
|
function g(d, y) {
|
|
3131
3131
|
d === "svg" ? (this._elementHelper = y, this._createImageData = this.createImageData.bind(this)) : this._createImageData = this.createImgData.bind(this);
|
|
3132
3132
|
}
|
|
3133
|
-
function
|
|
3133
|
+
function L() {
|
|
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 = [];
|
|
3135
3135
|
}
|
|
3136
|
-
return
|
|
3136
|
+
return L.prototype = {
|
|
3137
3137
|
loadAssets: l,
|
|
3138
3138
|
setAssetsPath: m,
|
|
3139
3139
|
setPath: c,
|
|
@@ -3146,7 +3146,7 @@ var lottie$1 = { exports: {} };
|
|
|
3146
3146
|
imageLoaded: t,
|
|
3147
3147
|
footageLoaded: i,
|
|
3148
3148
|
setCacheType: g
|
|
3149
|
-
},
|
|
3149
|
+
}, L;
|
|
3150
3150
|
}();
|
|
3151
3151
|
function BaseEvent() {
|
|
3152
3152
|
}
|
|
@@ -3519,7 +3519,7 @@ var lottie$1 = { exports: {} };
|
|
|
3519
3519
|
for (x = 0; x < s; x += 1)
|
|
3520
3520
|
t[x].animation.setDirection(_, I);
|
|
3521
3521
|
}
|
|
3522
|
-
function
|
|
3522
|
+
function L(_) {
|
|
3523
3523
|
var I;
|
|
3524
3524
|
for (I = 0; I < s; I += 1)
|
|
3525
3525
|
t[I].animation.play(_);
|
|
@@ -3543,12 +3543,12 @@ var lottie$1 = { exports: {} };
|
|
|
3543
3543
|
for (S = 0; S < s; S += 1)
|
|
3544
3544
|
t[S].animation.goToAndStop(_, I, x);
|
|
3545
3545
|
}
|
|
3546
|
-
function
|
|
3546
|
+
function M(_) {
|
|
3547
3547
|
var I;
|
|
3548
3548
|
for (I = 0; I < s; I += 1)
|
|
3549
3549
|
t[I].animation.stop(_);
|
|
3550
3550
|
}
|
|
3551
|
-
function
|
|
3551
|
+
function A(_) {
|
|
3552
3552
|
var I;
|
|
3553
3553
|
for (I = 0; I < s; I += 1)
|
|
3554
3554
|
t[I].animation.togglePause(_);
|
|
@@ -3599,16 +3599,16 @@ 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 = g, e.play =
|
|
3602
|
+
return e.registerAnimation = l, e.loadAnimation = P, e.setSpeed = C, e.setDirection = g, e.play = L, e.pause = p, e.stop = M, e.togglePause = A, e.searchAnimations = k, e.resize = H, 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(y, p, b,
|
|
3608
|
-
var T =
|
|
3607
|
+
function i(y, p, b, M, A) {
|
|
3608
|
+
var T = A || ("bez_" + y + "_" + p + "_" + b + "_" + M).replace(/\./g, "p");
|
|
3609
3609
|
if (t[T])
|
|
3610
3610
|
return t[T];
|
|
3611
|
-
var k = new d([y, p, b,
|
|
3611
|
+
var k = new d([y, p, b, M]);
|
|
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";
|
|
@@ -3627,18 +3627,18 @@ var lottie$1 = { exports: {} };
|
|
|
3627
3627
|
function C(y, p, b) {
|
|
3628
3628
|
return 3 * m(p, b) * y * y + 2 * E(p, b) * y + u(p);
|
|
3629
3629
|
}
|
|
3630
|
-
function g(y, p, b,
|
|
3630
|
+
function g(y, p, b, M, A) {
|
|
3631
3631
|
var T, k, H = 0;
|
|
3632
3632
|
do
|
|
3633
|
-
k = p + (b - p) / 2, T = P(k,
|
|
3633
|
+
k = p + (b - p) / 2, T = P(k, M, A) - y, T > 0 ? b = k : p = k;
|
|
3634
3634
|
while (Math.abs(T) > a && ++H < o);
|
|
3635
3635
|
return k;
|
|
3636
3636
|
}
|
|
3637
|
-
function
|
|
3638
|
-
for (var
|
|
3639
|
-
var T = C(p, b,
|
|
3637
|
+
function L(y, p, b, M) {
|
|
3638
|
+
for (var A = 0; A < s; ++A) {
|
|
3639
|
+
var T = C(p, b, M);
|
|
3640
3640
|
if (T === 0) return p;
|
|
3641
|
-
var k = P(p, b,
|
|
3641
|
+
var k = P(p, b, M) - y;
|
|
3642
3642
|
p -= k / T;
|
|
3643
3643
|
}
|
|
3644
3644
|
return p;
|
|
@@ -3648,27 +3648,27 @@ var lottie$1 = { exports: {} };
|
|
|
3648
3648
|
}
|
|
3649
3649
|
return d.prototype = {
|
|
3650
3650
|
get: function(p) {
|
|
3651
|
-
var b = this._p[0],
|
|
3652
|
-
return this._precomputed || this._precompute(), b ===
|
|
3651
|
+
var b = this._p[0], M = this._p[1], A = this._p[2], T = this._p[3];
|
|
3652
|
+
return this._precomputed || this._precompute(), b === M && A === T ? p : p === 0 ? 0 : p === 1 ? 1 : P(this._getTForX(p), M, T);
|
|
3653
3653
|
},
|
|
3654
3654
|
// Private part
|
|
3655
3655
|
_precompute: function() {
|
|
3656
|
-
var p = this._p[0], b = this._p[1],
|
|
3657
|
-
this._precomputed = !0, (p !== b ||
|
|
3656
|
+
var p = this._p[0], b = this._p[1], M = this._p[2], A = this._p[3];
|
|
3657
|
+
this._precomputed = !0, (p !== b || M !== A) && this._calcSampleValues();
|
|
3658
3658
|
},
|
|
3659
3659
|
_calcSampleValues: function() {
|
|
3660
|
-
for (var p = this._p[0], b = this._p[2],
|
|
3661
|
-
this._mSampleValues[
|
|
3660
|
+
for (var p = this._p[0], b = this._p[2], M = 0; M < f; ++M)
|
|
3661
|
+
this._mSampleValues[M] = P(M * l, p, b);
|
|
3662
3662
|
},
|
|
3663
3663
|
/**
|
|
3664
3664
|
* getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
|
|
3665
3665
|
*/
|
|
3666
3666
|
_getTForX: function(p) {
|
|
3667
|
-
for (var b = this._p[0],
|
|
3667
|
+
for (var b = this._p[0], M = this._p[2], A = this._mSampleValues, T = 0, k = 1, H = f - 1; k !== H && A[k] <= p; ++k)
|
|
3668
3668
|
T += l;
|
|
3669
3669
|
--k;
|
|
3670
|
-
var X = (p -
|
|
3671
|
-
return j >= n ?
|
|
3670
|
+
var X = (p - A[k]) / (A[k + 1] - A[k]), N = T + X * l, j = C(N, b, M);
|
|
3671
|
+
return j >= n ? L(p, N, b, M) : j === 0 ? N : g(p, T, T + l, b, M);
|
|
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, g,
|
|
3723
|
-
var y = u * g + P *
|
|
3722
|
+
function t(u, P, C, g, L, d) {
|
|
3723
|
+
var y = u * g + P * L + C * d - L * g - d * u - C * P;
|
|
3724
3724
|
return y > -1e-3 && y < 1e-3;
|
|
3725
3725
|
}
|
|
3726
|
-
function i(u, P, C, g,
|
|
3726
|
+
function i(u, P, C, g, L, d, y, p, b) {
|
|
3727
3727
|
if (C === 0 && d === 0 && b === 0)
|
|
3728
|
-
return t(u, P, g,
|
|
3729
|
-
var
|
|
3730
|
-
return
|
|
3728
|
+
return t(u, P, g, L, y, p);
|
|
3729
|
+
var M = e.sqrt(e.pow(g - u, 2) + e.pow(L - P, 2) + e.pow(d - C, 2)), A = e.sqrt(e.pow(y - u, 2) + e.pow(p - P, 2) + e.pow(b - C, 2)), T = e.sqrt(e.pow(y - g, 2) + e.pow(p - L, 2) + e.pow(b - d, 2)), k;
|
|
3730
|
+
return M > A ? M > T ? k = M - A - T : k = T - A - M : T > A ? k = T - A - M : k = A - M - T, k > -1e-4 && k < 1e-4;
|
|
3731
3731
|
}
|
|
3732
3732
|
var s = /* @__PURE__ */ function() {
|
|
3733
3733
|
return function(u, P, C, g) {
|
|
3734
|
-
var
|
|
3735
|
-
for (p = C.length, d = 0; d <
|
|
3736
|
-
for (
|
|
3737
|
-
b = bmPow(1 -
|
|
3738
|
-
T && (T = bmSqrt(T),
|
|
3734
|
+
var L = getDefaultCurveSegments(), d, y, p, b, M, A = 0, T, k = [], H = [], X = bezierLengthPool.newElement();
|
|
3735
|
+
for (p = C.length, d = 0; d < L; d += 1) {
|
|
3736
|
+
for (M = d / (L - 1), T = 0, y = 0; y < p; y += 1)
|
|
3737
|
+
b = bmPow(1 - M, 3) * u[y] + 3 * bmPow(1 - M, 2) * M * C[y] + 3 * (1 - M) * bmPow(M, 2) * g[y] + bmPow(M, 3) * P[y], k[y] = b, H[y] !== null && (T += bmPow(k[y] - H[y], 2)), H[y] = k[y];
|
|
3738
|
+
T && (T = bmSqrt(T), A += T), X.percents[d] = M, X.lengths[d] = A;
|
|
3739
3739
|
}
|
|
3740
|
-
return X.addedLength =
|
|
3740
|
+
return X.addedLength = A, X;
|
|
3741
3741
|
};
|
|
3742
3742
|
}();
|
|
3743
3743
|
function n(u) {
|
|
3744
|
-
var P = segmentsLengthPool.newElement(), C = u.c, g = u.v,
|
|
3744
|
+
var P = segmentsLengthPool.newElement(), C = u.c, g = u.v, L = u.o, d = u.i, y, p = u._length, b = P.lengths, M = 0;
|
|
3745
3745
|
for (y = 0; y < p - 1; y += 1)
|
|
3746
|
-
b[y] = s(g[y], g[y + 1],
|
|
3747
|
-
return C && p && (b[y] = s(g[y], g[0],
|
|
3746
|
+
b[y] = s(g[y], g[y + 1], L[y], d[y + 1]), M += b[y].addedLength;
|
|
3747
|
+
return C && p && (b[y] = s(g[y], g[0], L[y], d[0]), M += b[y].addedLength), P.totalLength = M, 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, g,
|
|
3758
|
-
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + g[0] + "_" + g[1] + "_" +
|
|
3757
|
+
return function(P, C, g, L) {
|
|
3758
|
+
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + g[0] + "_" + g[1] + "_" + L[0] + "_" + L[1]).replace(/\./g, "p");
|
|
3759
3759
|
if (!u[d]) {
|
|
3760
|
-
var y = getDefaultCurveSegments(), p, b,
|
|
3761
|
-
P.length === 2 && (P[0] !== C[0] || P[1] !== C[1]) && t(P[0], P[1], C[0], C[1], P[0] + g[0], P[1] + g[1]) && t(P[0], P[1], C[0], C[1], C[0] +
|
|
3760
|
+
var y = getDefaultCurveSegments(), p, b, M, A, T, k = 0, H, 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] + g[0], P[1] + g[1]) && t(P[0], P[1], C[0], C[1], C[0] + L[0], C[1] + L[1]) && (y = 2);
|
|
3762
3762
|
var j = new a(y);
|
|
3763
|
-
for (
|
|
3764
|
-
for (X = createSizedArray(
|
|
3765
|
-
|
|
3763
|
+
for (M = g.length, p = 0; p < y; p += 1) {
|
|
3764
|
+
for (X = createSizedArray(M), T = p / (y - 1), H = 0, b = 0; b < M; b += 1)
|
|
3765
|
+
A = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + g[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] + L[b]) + bmPow(T, 3) * C[b], X[b] = A, N !== null && (H += bmPow(X[b] - N[b], 2));
|
|
3766
3766
|
H = bmSqrt(H), k += H, j.points[p] = new o(H, 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, g = P.lengths,
|
|
3775
|
-
if (d ===
|
|
3774
|
+
var C = P.percents, g = P.lengths, L = C.length, d = bmFloor((L - 1) * u), y = u * P.addedLength, p = 0;
|
|
3775
|
+
if (d === L - 1 || d === 0 || y === g[d])
|
|
3776
3776
|
return C[d];
|
|
3777
|
-
for (var b = g[d] > y ? -1 : 1,
|
|
3778
|
-
if (g[d] <= y && g[d + 1] > y ? (p = (y - g[d]) / (g[d + 1] - g[d]),
|
|
3779
|
-
if (d ===
|
|
3777
|
+
for (var b = g[d] > y ? -1 : 1, M = !0; M; )
|
|
3778
|
+
if (g[d] <= y && g[d + 1] > y ? (p = (y - g[d]) / (g[d + 1] - g[d]), M = !1) : d += b, d < 0 || d >= L - 1) {
|
|
3779
|
+
if (d === L - 1)
|
|
3780
3780
|
return C[d];
|
|
3781
|
-
|
|
3781
|
+
M = !1;
|
|
3782
3782
|
}
|
|
3783
3783
|
return C[d] + (C[d + 1] - C[d]) * p;
|
|
3784
3784
|
}
|
|
3785
|
-
function c(u, P, C, g,
|
|
3786
|
-
var y = l(
|
|
3787
|
-
return [b,
|
|
3785
|
+
function c(u, P, C, g, L, d) {
|
|
3786
|
+
var y = l(L, d), p = 1 - y, b = e.round((p * p * p * u[0] + (y * p * p + p * y * p + p * p * y) * C[0] + (y * y * p + p * y * y + y * p * y) * g[0] + y * y * y * P[0]) * 1e3) / 1e3, M = e.round((p * p * p * u[1] + (y * p * p + p * y * p + p * p * y) * C[1] + (y * y * p + p * y * y + y * p * y) * g[1] + y * y * y * P[1]) * 1e3) / 1e3;
|
|
3787
|
+
return [b, M];
|
|
3788
3788
|
}
|
|
3789
3789
|
var m = createTypedArray("float32", 8);
|
|
3790
|
-
function E(u, P, C, g,
|
|
3791
|
-
|
|
3792
|
-
var p = l(
|
|
3790
|
+
function E(u, P, C, g, L, d, y) {
|
|
3791
|
+
L < 0 ? L = 0 : L > 1 && (L = 1);
|
|
3792
|
+
var p = l(L, y);
|
|
3793
3793
|
d = d > 1 ? 1 : d;
|
|
3794
|
-
var b = l(d, y),
|
|
3795
|
-
for (
|
|
3796
|
-
m[
|
|
3794
|
+
var b = l(d, y), M, A = u.length, T = 1 - p, k = 1 - b, H = 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
|
+
for (M = 0; M < A; M += 1)
|
|
3796
|
+
m[M * 4] = e.round((H * u[M] + X * C[M] + N * g[M] + j * P[M]) * 1e3) / 1e3, m[M * 4 + 1] = e.round((Y * u[M] + U * C[M] + Z * g[M] + _ * P[M]) * 1e3) / 1e3, m[M * 4 + 2] = e.round((I * u[M] + x * C[M] + S * g[M] + B * P[M]) * 1e3) / 1e3, m[M * 4 + 3] = e.round((F * u[M] + G * C[M] + q * g[M] + $ * P[M]) * 1e3) / 1e3;
|
|
3797
3797
|
return m;
|
|
3798
3798
|
}
|
|
3799
3799
|
return {
|
|
@@ -3821,24 +3821,24 @@ 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, g,
|
|
3824
|
+
var E, u, P, C, g, L, d = c.t - i, y = 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
3828
|
if (e >= d || e < y) {
|
|
3829
|
-
var
|
|
3830
|
-
for (u = b.points[
|
|
3831
|
-
s[E] = b.points[
|
|
3829
|
+
var M = e >= d ? b.points.length - 1 : 0;
|
|
3830
|
+
for (u = b.points[M].point.length, E = 0; E < u; E += 1)
|
|
3831
|
+
s[E] = b.points[M].point[E];
|
|
3832
3832
|
} else {
|
|
3833
|
-
m.__fnct ?
|
|
3834
|
-
var
|
|
3833
|
+
m.__fnct ? L = m.__fnct : (L = BezierFactory.getBezierEasing(l.o.x, l.o.y, l.i.x, l.i.y, l.n).get, m.__fnct = L), P = L((e - y) / (d - y));
|
|
3834
|
+
var A = b.segmentLength * P, T, k = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
|
|
3835
3835
|
for (g = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, f = !0, C = b.points.length; f; ) {
|
|
3836
|
-
if (k += b.points[g].partialLength,
|
|
3836
|
+
if (k += b.points[g].partialLength, A === 0 || P === 0 || g === b.points.length - 1) {
|
|
3837
3837
|
for (u = b.points[g].point.length, E = 0; E < u; E += 1)
|
|
3838
3838
|
s[E] = b.points[g].point[E];
|
|
3839
3839
|
break;
|
|
3840
|
-
} else if (
|
|
3841
|
-
for (T = (
|
|
3840
|
+
} else if (A >= k && A < k + b.points[g + 1].partialLength) {
|
|
3841
|
+
for (T = (A - k) / b.points[g + 1].partialLength, u = b.points[g].point.length, E = 0; E < u; E += 1)
|
|
3842
3842
|
s[E] = b.points[g].point[E] + (b.points[g + 1].point[E] - b.points[g].point[E]) * T;
|
|
3843
3843
|
break;
|
|
3844
3844
|
}
|
|
@@ -3859,13 +3859,13 @@ var lottie$1 = { exports: {} };
|
|
|
3859
3859
|
}
|
|
3860
3860
|
else
|
|
3861
3861
|
for (a = 0; a < o; a += 1)
|
|
3862
|
-
l.h !== 1 && (e >= d ? P = 1 : e < y ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ?
|
|
3862
|
+
l.h !== 1 && (e >= d ? P = 1 : e < y ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ? L = m.__fnct[a] : (H = 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], L = BezierFactory.getBezierEasing(H, X, N, j).get, m.__fnct[a] = L)) : m.__fnct ? L = m.__fnct : (H = l.o.x, X = l.o.y, N = l.i.x, j = l.i.y, L = BezierFactory.getBezierEasing(H, X, N, j).get, l.keyframeMetadata = L), P = L((e - y) / (d - y)))), 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, g,
|
|
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), g = Math.sin((1 - i) * u) / C,
|
|
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, g, L;
|
|
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), g = Math.sin((1 - i) * u) / C, L = Math.sin(i * u) / C) : (g = 1 - i, L = i), s[0] = g * n + L * l, s[1] = g * a + L * c, s[2] = g * o + L * m, s[3] = g * f + L * 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);
|
|
@@ -4080,11 +4080,11 @@ var lottie$1 = { exports: {} };
|
|
|
4080
4080
|
}(), ShapePropertyFactory = function() {
|
|
4081
4081
|
var e = -999999;
|
|
4082
4082
|
function t(d, y, p) {
|
|
4083
|
-
var b = p.lastIndex,
|
|
4083
|
+
var b = p.lastIndex, M, A, T, k, H, X, N, j, Y, U = this.keyframes;
|
|
4084
4084
|
if (d < U[0].t - this.offsetTime)
|
|
4085
|
-
|
|
4085
|
+
M = U[0].s[0], T = !0, b = 0;
|
|
4086
4086
|
else if (d >= U[U.length - 1].t - this.offsetTime)
|
|
4087
|
-
|
|
4087
|
+
M = U[U.length - 1].s ? U[U.length - 1].s[0] : U[U.length - 2].e[0], T = !0;
|
|
4088
4088
|
else {
|
|
4089
4089
|
for (var Z = b, _ = U.length - 1, I = !0, x, S, B; I && (x = U[Z], S = U[Z + 1], !(S.t - this.offsetTime > d)); )
|
|
4090
4090
|
Z < _ - 1 ? Z += 1 : I = !1;
|
|
@@ -4097,13 +4097,13 @@ var lottie$1 = { exports: {} };
|
|
|
4097
4097
|
var F;
|
|
4098
4098
|
B.__fnct ? F = B.__fnct : (F = BezierFactory.getBezierEasing(x.o.x, x.o.y, x.i.x, x.i.y).get, B.__fnct = F), j = F((d - (x.t - this.offsetTime)) / (S.t - this.offsetTime - (x.t - this.offsetTime)));
|
|
4099
4099
|
}
|
|
4100
|
-
|
|
4100
|
+
A = S.s ? S.s[0] : x.e[0];
|
|
4101
4101
|
}
|
|
4102
|
-
|
|
4102
|
+
M = x.s[0];
|
|
4103
4103
|
}
|
|
4104
|
-
for (X = y._length, N =
|
|
4104
|
+
for (X = y._length, N = M.i[0].length, p.lastIndex = b, k = 0; k < X; k += 1)
|
|
4105
4105
|
for (H = 0; H < N; H += 1)
|
|
4106
|
-
Y = T ?
|
|
4106
|
+
Y = T ? M.i[k][H] : M.i[k][H] + (A.i[k][H] - M.i[k][H]) * j, y.i[k][H] = Y, Y = T ? M.o[k][H] : M.o[k][H] + (A.o[k][H] - M.o[k][H]) * j, y.o[k][H] = Y, Y = T ? M.v[k][H] : M.v[k][H] + (A.v[k][H] - M.v[k][H]) * j, y.v[k][H] = Y;
|
|
4107
4107
|
}
|
|
4108
4108
|
function i() {
|
|
4109
4109
|
var d = this.comp.renderedFrame - this.offsetTime, y = this.keyframes[0].t - this.offsetTime, p = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, b = this._caching.lastFrame;
|
|
@@ -4172,8 +4172,8 @@ var lottie$1 = { exports: {} };
|
|
|
4172
4172
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
|
|
4173
4173
|
},
|
|
4174
4174
|
convertEllToPath: function() {
|
|
4175
|
-
var b = this.p.v[0],
|
|
4176
|
-
H.v[0][0] = b, H.v[0][1] =
|
|
4175
|
+
var b = this.p.v[0], M = this.p.v[1], A = this.s.v[0] / 2, T = this.s.v[1] / 2, k = this.d !== 3, H = this.v;
|
|
4176
|
+
H.v[0][0] = b, H.v[0][1] = M - T, H.v[1][0] = k ? b + A : b - A, H.v[1][1] = M, H.v[2][0] = b, H.v[2][1] = M + T, H.v[3][0] = k ? b - A : b + A, H.v[3][1] = M, H.i[0][0] = k ? b - A * d : b + A * d, H.i[0][1] = M - T, H.i[1][0] = k ? b + A : b - A, H.i[1][1] = M - T * d, H.i[2][0] = k ? b + A * d : b - A * d, H.i[2][1] = M + T, H.i[3][0] = k ? b - A : b + A, H.i[3][1] = M + T * d, H.o[0][0] = k ? b + A * d : b - A * d, H.o[0][1] = M - T, H.o[1][0] = k ? b + A : b - A, H.o[1][1] = M + T * d, H.o[2][0] = k ? b - A * d : b + A * d, H.o[2][1] = M + T, H.o[3][0] = k ? b - A : b + A, H.o[3][1] = M - T * d;
|
|
4177
4177
|
}
|
|
4178
4178
|
}, extendPrototype([DynamicPropertyContainer], y), y;
|
|
4179
4179
|
}(), E = function() {
|
|
@@ -4186,20 +4186,20 @@ var lottie$1 = { exports: {} };
|
|
|
4186
4186
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
4187
4187
|
},
|
|
4188
4188
|
convertStarToPath: function() {
|
|
4189
|
-
var p = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / p,
|
|
4189
|
+
var p = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / p, M = !0, A = this.or.v, T = this.ir.v, k = this.os.v, H = this.is.v, X = 2 * Math.PI * A / (p * 2), N = 2 * Math.PI * T / (p * 2), j, Y, U, Z, _ = -Math.PI / 2;
|
|
4190
4190
|
_ += this.r.v;
|
|
4191
4191
|
var I = this.data.d === 3 ? -1 : 1;
|
|
4192
4192
|
for (this.v._length = 0, j = 0; j < p; j += 1) {
|
|
4193
|
-
Y =
|
|
4193
|
+
Y = M ? A : T, U = M ? k : H, Z = M ? X : N;
|
|
4194
4194
|
var x = Y * Math.cos(_), S = Y * Math.sin(_), B = x === 0 && S === 0 ? 0 : S / Math.sqrt(x * x + S * S), F = x === 0 && S === 0 ? 0 : -x / Math.sqrt(x * x + S * S);
|
|
4195
|
-
x += +this.p.v[0], S += +this.p.v[1], this.v.setTripleAt(x, S, x - B * Z * U * I, S - F * Z * U * I, x + B * Z * U * I, S + F * Z * U * I, j, !0),
|
|
4195
|
+
x += +this.p.v[0], S += +this.p.v[1], this.v.setTripleAt(x, S, x - B * Z * U * I, S - F * Z * U * I, x + B * Z * U * I, S + F * Z * U * I, j, !0), M = !M, _ += b * I;
|
|
4196
4196
|
}
|
|
4197
4197
|
},
|
|
4198
4198
|
convertPolygonToPath: function() {
|
|
4199
|
-
var p = Math.floor(this.pt.v), b = Math.PI * 2 / p,
|
|
4199
|
+
var p = Math.floor(this.pt.v), b = Math.PI * 2 / p, M = this.or.v, A = this.os.v, T = 2 * Math.PI * M / (p * 4), k, H = -Math.PI * 0.5, X = this.data.d === 3 ? -1 : 1;
|
|
4200
4200
|
for (H += this.r.v, this.v._length = 0, k = 0; k < p; k += 1) {
|
|
4201
|
-
var N =
|
|
4202
|
-
N += +this.p.v[0], j += +this.p.v[1], this.v.setTripleAt(N, j, N - Y * T *
|
|
4201
|
+
var N = M * Math.cos(H), j = M * Math.sin(H), Y = N === 0 && j === 0 ? 0 : j / Math.sqrt(N * N + j * j), U = N === 0 && j === 0 ? 0 : -N / Math.sqrt(N * N + j * j);
|
|
4202
|
+
N += +this.p.v[0], j += +this.p.v[1], this.v.setTripleAt(N, j, N - Y * T * A * X, j - U * T * A * X, N + Y * T * A * X, j + U * T * A * X, k, !0), H += b * X;
|
|
4203
4203
|
}
|
|
4204
4204
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
4205
4205
|
}
|
|
@@ -4210,8 +4210,8 @@ var lottie$1 = { exports: {} };
|
|
|
4210
4210
|
}
|
|
4211
4211
|
return d.prototype = {
|
|
4212
4212
|
convertRectToPath: function() {
|
|
4213
|
-
var p = this.p.v[0], b = this.p.v[1],
|
|
4214
|
-
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(p +
|
|
4213
|
+
var p = this.p.v[0], b = this.p.v[1], M = this.s.v[0] / 2, A = this.s.v[1] / 2, T = bmMin(M, A, this.r.v), k = T * (1 - roundCorner);
|
|
4214
|
+
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(p + M, b - A + T, p + M, b - A + T, p + M, b - A + k, 0, !0), this.v.setTripleAt(p + M, b + A - T, p + M, b + A - k, p + M, b + A - T, 1, !0), T !== 0 ? (this.v.setTripleAt(p + M - T, b + A, p + M - T, b + A, p + M - k, b + A, 2, !0), this.v.setTripleAt(p - M + T, b + A, p - M + k, b + A, p - M + T, b + A, 3, !0), this.v.setTripleAt(p - M, b + A - T, p - M, b + A - T, p - M, b + A - k, 4, !0), this.v.setTripleAt(p - M, b - A + T, p - M, b - A + k, p - M, b - A + T, 5, !0), this.v.setTripleAt(p - M + T, b - A, p - M + T, b - A, p - M + k, b - A, 6, !0), this.v.setTripleAt(p + M - T, b - A, p + M - k, b - A, p + M - T, b - A, 7, !0)) : (this.v.setTripleAt(p - M, b + A, p - M + k, b + A, p - M, b + A, 2), this.v.setTripleAt(p - M, b - A, p - M, b - A + k, p - M, b - A, 3))) : (this.v.setTripleAt(p + M, b - A + T, p + M, b - A + k, p + M, b - A + T, 0, !0), T !== 0 ? (this.v.setTripleAt(p + M - T, b - A, p + M - T, b - A, p + M - k, b - A, 1, !0), this.v.setTripleAt(p - M + T, b - A, p - M + k, b - A, p - M + T, b - A, 2, !0), this.v.setTripleAt(p - M, b - A + T, p - M, b - A + T, p - M, b - A + k, 3, !0), this.v.setTripleAt(p - M, b + A - T, p - M, b + A - k, p - M, b + A - T, 4, !0), this.v.setTripleAt(p - M + T, b + A, p - M + T, b + A, p - M + k, b + A, 5, !0), this.v.setTripleAt(p + M - T, b + A, p + M - k, b + A, p + M - T, b + A, 6, !0), this.v.setTripleAt(p + M, b + A - T, p + M, b + A - T, p + M, b + A - k, 7, !0)) : (this.v.setTripleAt(p - M, b - A, p - M + k, b - A, p - M, b - A, 1, !0), this.v.setTripleAt(p - M, b + A, p - M, b + A - k, p - M, b + A, 2, !0), this.v.setTripleAt(p + M, b + A, p + M - k, b + A, p + M, b + A, 3, !0)));
|
|
4215
4215
|
},
|
|
4216
4216
|
getValue: function() {
|
|
4217
4217
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
|
|
@@ -4222,8 +4222,8 @@ var lottie$1 = { exports: {} };
|
|
|
4222
4222
|
function P(d, y, p) {
|
|
4223
4223
|
var b;
|
|
4224
4224
|
if (p === 3 || p === 4) {
|
|
4225
|
-
var
|
|
4226
|
-
|
|
4225
|
+
var M = p === 3 ? y.pt : y.ks, A = M.k;
|
|
4226
|
+
A.length ? b = new c(d, y, p) : b = new f(d, y, p);
|
|
4227
4227
|
} else p === 5 ? b = new u(d, y) : p === 6 ? b = new m(d, y) : p === 7 && (b = new E(d, y));
|
|
4228
4228
|
return b.k && d.addDynamicProperty(b), b;
|
|
4229
4229
|
}
|
|
@@ -4233,8 +4233,8 @@ var lottie$1 = { exports: {} };
|
|
|
4233
4233
|
function g() {
|
|
4234
4234
|
return c;
|
|
4235
4235
|
}
|
|
4236
|
-
var
|
|
4237
|
-
return
|
|
4236
|
+
var L = {};
|
|
4237
|
+
return L.getShapeProp = P, L.getConstructorFunction = C, L.getKeyframedConstructorFunction = g, L;
|
|
4238
4238
|
}();
|
|
4239
4239
|
/*!
|
|
4240
4240
|
Transformation Matrix v2.0
|
|
@@ -4296,10 +4296,10 @@ var lottie$1 = { exports: {} };
|
|
|
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
|
|
4300
|
-
return K[0] =
|
|
4299
|
+
var Me = K[0], Ae = K[1], Se = K[2], ge = K[3], xe = K[4], we = K[5], me = K[6], Ce = K[7], _e = K[8], be = K[9], Le = K[10], Pe = K[11], Ee = K[12], ke = K[13], Te = K[14], Ie = K[15];
|
|
4300
|
+
return K[0] = Me * x + Ae * G + Se * re + ge * ce, K[1] = Me * S + Ae * q + Se * le + ge * se, K[2] = Me * B + Ae * $ + Se * pe + ge * oe, K[3] = Me * F + Ae * J + Se * ue + ge * 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 + Le * re + Pe * ce, K[9] = _e * S + be * q + Le * le + Pe * se, K[10] = _e * B + be * $ + Le * pe + Pe * oe, K[11] = _e * F + be * J + Le * 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
|
-
function
|
|
4302
|
+
function L(x) {
|
|
4303
4303
|
var S = x.props;
|
|
4304
4304
|
return this.transform(S[0], S[1], S[2], S[3], S[4], S[5], S[6], S[7], S[8], S[9], S[10], S[11], S[12], S[13], S[14], S[15]);
|
|
4305
4305
|
}
|
|
@@ -4325,14 +4325,14 @@ var lottie$1 = { exports: {} };
|
|
|
4325
4325
|
for (S = 0; S < 16; S += 1)
|
|
4326
4326
|
this.props[S] = x[S];
|
|
4327
4327
|
}
|
|
4328
|
-
function
|
|
4328
|
+
function M(x, S, B) {
|
|
4329
4329
|
return {
|
|
4330
4330
|
x: x * this.props[0] + S * this.props[4] + B * this.props[8] + this.props[12],
|
|
4331
4331
|
y: x * this.props[1] + S * this.props[5] + B * this.props[9] + this.props[13],
|
|
4332
4332
|
z: x * this.props[2] + S * this.props[6] + B * this.props[10] + this.props[14]
|
|
4333
4333
|
};
|
|
4334
4334
|
}
|
|
4335
|
-
function
|
|
4335
|
+
function A(x, S, B) {
|
|
4336
4336
|
return x * this.props[0] + S * this.props[4] + B * this.props[8] + this.props[12];
|
|
4337
4337
|
}
|
|
4338
4338
|
function T(x, S, B) {
|
|
@@ -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 = g, this.multiply =
|
|
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 = g, this.multiply = L, this.applyToPoint = M, 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 = y, this.inversePoints = N, this.inversePoint = X, this.getInverseMatrix = H, 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,7 +4557,7 @@ 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 = [], g,
|
|
4560
|
+
var C = [], g, L;
|
|
4561
4561
|
for (o = 0; o < f; o += 1)
|
|
4562
4562
|
if (g = this.shapes[o], !g.shape._mdf && !this._mdf && !e && this.m !== 2)
|
|
4563
4563
|
g.shape.paths = g.localShapeCollection;
|
|
@@ -4574,7 +4574,7 @@ var lottie$1 = { exports: {} };
|
|
|
4574
4574
|
var d = t, y = i, p = 0, b;
|
|
4575
4575
|
for (o = f - 1; o >= 0; o -= 1)
|
|
4576
4576
|
if (g = this.shapes[o], g.shape._mdf) {
|
|
4577
|
-
for (
|
|
4577
|
+
for (L = g.localShapeCollection, L.releaseShapes(), this.m === 2 && f > 1 ? (b = this.calculateShapeEdges(t, i, g.totalShapeLength, p, P), p += g.totalShapeLength) : b = [[d, y]], c = b.length, l = 0; l < c; l += 1) {
|
|
4578
4578
|
d = b[l][0], y = b[l][1], C.length = 0, y <= 1 ? C.push({
|
|
4579
4579
|
s: g.totalShapeLength * d,
|
|
4580
4580
|
e: g.totalShapeLength * y
|
|
@@ -4588,20 +4588,20 @@ var lottie$1 = { exports: {} };
|
|
|
4588
4588
|
s: 0,
|
|
4589
4589
|
e: g.totalShapeLength * (y - 1)
|
|
4590
4590
|
}));
|
|
4591
|
-
var
|
|
4591
|
+
var M = this.addShapes(g, C[0]);
|
|
4592
4592
|
if (C[0].s !== C[0].e) {
|
|
4593
4593
|
if (C.length > 1) {
|
|
4594
|
-
var
|
|
4595
|
-
if (
|
|
4596
|
-
var T =
|
|
4597
|
-
this.addPaths(
|
|
4594
|
+
var A = g.shape.paths.shapes[g.shape.paths._length - 1];
|
|
4595
|
+
if (A.c) {
|
|
4596
|
+
var T = M.pop();
|
|
4597
|
+
this.addPaths(M, L), M = this.addShapes(g, C[1], T);
|
|
4598
4598
|
} else
|
|
4599
|
-
this.addPaths(
|
|
4599
|
+
this.addPaths(M, L), M = this.addShapes(g, C[1]);
|
|
4600
4600
|
}
|
|
4601
|
-
this.addPaths(
|
|
4601
|
+
this.addPaths(M, L);
|
|
4602
4602
|
}
|
|
4603
4603
|
}
|
|
4604
|
-
g.shape.paths =
|
|
4604
|
+
g.shape.paths = L;
|
|
4605
4605
|
}
|
|
4606
4606
|
}
|
|
4607
4607
|
}, TrimModifier.prototype.addPaths = function(e, t) {
|
|
@@ -4613,7 +4613,7 @@ 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 = [], g,
|
|
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 = [], g, L = !0;
|
|
4617
4617
|
for (i ? (E = i._length, g = i._length) : (i = shapePool.newElement(), E = 0, g = 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)
|
|
@@ -4622,18 +4622,18 @@ var lottie$1 = { exports: {} };
|
|
|
4622
4622
|
i.c = !1;
|
|
4623
4623
|
break;
|
|
4624
4624
|
} else
|
|
4625
|
-
t.s <= c && t.e >= c + m.addedLength ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[f], n[a].v[f], i, E,
|
|
4625
|
+
t.s <= c && t.e >= c + m.addedLength ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[f], n[a].v[f], i, E, L), L = !1) : (P = bez.getNewSegment(n[a].v[f - 1], n[a].v[f], n[a].o[f - 1], n[a].i[f], (t.s - c) / m.addedLength, (t.e - c) / m.addedLength, u[f - 1]), this.addSegmentFromArray(P, i, E, L), L = !1, i.c = !1), c += m.addedLength, E += 1;
|
|
4626
4626
|
if (n[a].c && u.length) {
|
|
4627
4627
|
if (m = u[f - 1], c <= t.e) {
|
|
4628
4628
|
var d = u[f - 1].addedLength;
|
|
4629
|
-
t.s <= c && t.e >= c + d ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[0], n[a].v[0], i, E,
|
|
4629
|
+
t.s <= c && t.e >= c + d ? (this.addSegment(n[a].v[f - 1], n[a].o[f - 1], n[a].i[0], n[a].v[0], i, E, L), L = !1) : (P = bez.getNewSegment(n[a].v[f - 1], n[a].v[0], n[a].o[f - 1], n[a].i[0], (t.s - c) / d, (t.e - c) / d, u[f - 1]), this.addSegmentFromArray(P, i, E, L), L = !1, i.c = !1);
|
|
4630
4630
|
} else
|
|
4631
4631
|
i.c = !1;
|
|
4632
4632
|
c += m.addedLength, E += 1;
|
|
4633
4633
|
}
|
|
4634
4634
|
if (i._length && (i.setXYAt(i.v[g][0], i.v[g][1], "i", g), 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
|
-
a < o - 1 && (i = shapePool.newElement(),
|
|
4636
|
+
a < o - 1 && (i = shapePool.newElement(), L = !0, C.push(i), E = 0);
|
|
4637
4637
|
}
|
|
4638
4638
|
return C;
|
|
4639
4639
|
};
|
|
@@ -4841,7 +4841,7 @@ 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), g = this.pMatrix.props,
|
|
4844
|
+
var u = this.o.v, P = u % 1, C = u > 0 ? Math.floor(u) : Math.ceil(u), g = this.pMatrix.props, L = 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
4846
|
var y = 0;
|
|
4847
4847
|
if (u > 0) {
|
|
@@ -4856,7 +4856,7 @@ var lottie$1 = { exports: {} };
|
|
|
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
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)), y !== 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(
|
|
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(L[0], L[1], L[2], L[3], L[4], L[5], L[6], L[7], L[8], L[9], L[10], L[11], L[12], L[13], L[14], L[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(g[0], g[1], g[2], g[3], g[4], g[5], g[6], g[7], g[8], g[9], g[10], g[11], g[12], g[13], g[14], g[15]), p = 0; p < b; p += 1)
|
|
4860
4860
|
i[p] = this.matrix.props[p];
|
|
4861
4861
|
this.matrix.reset();
|
|
4862
4862
|
} else
|
|
@@ -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, g,
|
|
4880
|
+
var s, n = e._length, a, o, f, l, c, m, E = 0, u, P, C, g, L, 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,
|
|
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, L = a[0] + (l[0] - a[0]) * m, u = L, d = a[1] - (a[1] - l[1]) * m, P = d, C = u - (u - a[0]) * roundCorner, g = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, g, L, 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, g = a[1] + (l[1] - a[1]) * m, P = g, L = u - (u - a[0]) * roundCorner, d = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, g, L, 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;
|
|
@@ -5252,7 +5252,7 @@ var lottie$1 = { exports: {} };
|
|
|
5252
5252
|
measureText: q
|
|
5253
5253
|
};
|
|
5254
5254
|
}
|
|
5255
|
-
function
|
|
5255
|
+
function L(_, I) {
|
|
5256
5256
|
if (!_) {
|
|
5257
5257
|
this.isLoaded = !0;
|
|
5258
5258
|
return;
|
|
@@ -5335,7 +5335,7 @@ var lottie$1 = { exports: {} };
|
|
|
5335
5335
|
}
|
|
5336
5336
|
return this.fonts[0];
|
|
5337
5337
|
}
|
|
5338
|
-
function
|
|
5338
|
+
function M(_) {
|
|
5339
5339
|
var I = 0, x = _.charCodeAt(0);
|
|
5340
5340
|
if (x >= 55296 && x <= 56319) {
|
|
5341
5341
|
var S = _.charCodeAt(1);
|
|
@@ -5343,7 +5343,7 @@ var lottie$1 = { exports: {} };
|
|
|
5343
5343
|
}
|
|
5344
5344
|
return I;
|
|
5345
5345
|
}
|
|
5346
|
-
function
|
|
5346
|
+
function A(_, I) {
|
|
5347
5347
|
var x = _.toString(16) + I.toString(16);
|
|
5348
5348
|
return E.indexOf(x) !== -1;
|
|
5349
5349
|
}
|
|
@@ -5354,7 +5354,7 @@ var lottie$1 = { exports: {} };
|
|
|
5354
5354
|
return _ === f;
|
|
5355
5355
|
}
|
|
5356
5356
|
function H(_) {
|
|
5357
|
-
var I =
|
|
5357
|
+
var I = M(_);
|
|
5358
5358
|
return I >= c && I <= m;
|
|
5359
5359
|
}
|
|
5360
5360
|
function X(_) {
|
|
@@ -5364,16 +5364,16 @@ var lottie$1 = { exports: {} };
|
|
|
5364
5364
|
return i.indexOf(_) !== -1;
|
|
5365
5365
|
}
|
|
5366
5366
|
function j(_, I) {
|
|
5367
|
-
var x =
|
|
5367
|
+
var x = M(_.substr(I, 2));
|
|
5368
5368
|
if (x !== s)
|
|
5369
5369
|
return !1;
|
|
5370
5370
|
var S = 0;
|
|
5371
5371
|
for (I += 2; S < 5; ) {
|
|
5372
|
-
if (x =
|
|
5372
|
+
if (x = M(_.substr(I, 2)), x < a || x > o)
|
|
5373
5373
|
return !1;
|
|
5374
5374
|
S += 1, I += 2;
|
|
5375
5375
|
}
|
|
5376
|
-
return
|
|
5376
|
+
return M(_.substr(I, 2)) === n;
|
|
5377
5377
|
}
|
|
5378
5378
|
function Y() {
|
|
5379
5379
|
this.isLoaded = !0;
|
|
@@ -5381,10 +5381,10 @@ var lottie$1 = { exports: {} };
|
|
|
5381
5381
|
var U = function() {
|
|
5382
5382
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
|
5383
5383
|
};
|
|
5384
|
-
U.isModifier =
|
|
5384
|
+
U.isModifier = A, U.isZeroWidthJoiner = T, U.isFlagEmoji = X, U.isRegionalCode = H, U.isCombinedCharacter = N, U.isRegionalFlag = j, U.isVariationSelector = k, U.BLACK_FLAG_CODE_POINT = s;
|
|
5385
5385
|
var Z = {
|
|
5386
5386
|
addChars: d,
|
|
5387
|
-
addFonts:
|
|
5387
|
+
addFonts: L,
|
|
5388
5388
|
getCharData: y,
|
|
5389
5389
|
getFontByName: b,
|
|
5390
5390
|
measureText: p,
|
|
@@ -5847,7 +5847,7 @@ 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, g,
|
|
5850
|
+
var o, f = this.masksProperties, l = 0, c = [], m, E, u = createElementID(), P, C, g, L, d = "clipPath", y = "clip-path";
|
|
5851
5851
|
for (n = 0; n < a; n += 1)
|
|
5852
5852
|
if ((f[n].mode !== "a" && f[n].mode !== "n" || f[n].inv || f[n].o.k !== 100 || f[n].o.x) && (d = "mask", y = "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] = {
|
|
@@ -5859,9 +5859,9 @@ 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", y = "mask",
|
|
5862
|
+
if (f[n].x.k !== 0 ? (d = "mask", y = "mask", L = PropertyFactory.getProp(this.element, f[n].x, 0, null, this.element), p = createElementID(), C = createNS("filter"), C.setAttribute("id", p), g = createNS("feMorphology"), g.setAttribute("operator", "erode"), g.setAttribute("in", "SourceGraphic"), g.setAttribute("radius", "0"), C.appendChild(g), s.appendChild(C), o.setAttribute("stroke", f[n].mode === "s" ? "#000000" : "#ffffff")) : (g = null, L = null), this.storedData[n] = {
|
|
5863
5863
|
elem: o,
|
|
5864
|
-
x:
|
|
5864
|
+
x: L,
|
|
5865
5865
|
expan: g,
|
|
5866
5866
|
lastPath: "",
|
|
5867
5867
|
lastOperator: "",
|
|
@@ -5872,8 +5872,8 @@ var lottie$1 = { exports: {} };
|
|
|
5872
5872
|
var b = createNS("g");
|
|
5873
5873
|
for (m = 0; m < E; m += 1)
|
|
5874
5874
|
b.appendChild(c[m]);
|
|
5875
|
-
var
|
|
5876
|
-
|
|
5875
|
+
var M = createNS("mask");
|
|
5876
|
+
M.setAttribute("mask-type", "alpha"), M.setAttribute("id", u + "_" + l), M.appendChild(o), s.appendChild(M), b.setAttribute("mask", "url(" + getLocationHref() + "#" + u + "_" + l + ")"), c.length = 0, c.push(b);
|
|
5877
5877
|
} else
|
|
5878
5878
|
c.push(o);
|
|
5879
5879
|
f[n].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()), this.viewData[n] = {
|
|
@@ -6340,23 +6340,23 @@ var lottie$1 = { exports: {} };
|
|
|
6340
6340
|
function a() {
|
|
6341
6341
|
}
|
|
6342
6342
|
function o(E, u, P) {
|
|
6343
|
-
var C, g,
|
|
6343
|
+
var C, g, L, d, y, p, b = u.styles.length, M = u.lvl, A, T, k, H;
|
|
6344
6344
|
for (p = 0; p < b; p += 1) {
|
|
6345
|
-
if (d = u.sh._mdf || P, u.styles[p].lvl <
|
|
6346
|
-
for (T = t.reset(), k =
|
|
6345
|
+
if (d = u.sh._mdf || P, u.styles[p].lvl < M) {
|
|
6346
|
+
for (T = t.reset(), k = M - u.styles[p].lvl, H = u.transformers.length - 1; !d && k > 0; )
|
|
6347
6347
|
d = u.transformers[H].mProps._mdf || d, k -= 1, H -= 1;
|
|
6348
6348
|
if (d)
|
|
6349
|
-
for (k =
|
|
6349
|
+
for (k = M - u.styles[p].lvl, H = u.transformers.length - 1; k > 0; )
|
|
6350
6350
|
T.multiply(u.transformers[H].mProps.v), k -= 1, H -= 1;
|
|
6351
6351
|
} else
|
|
6352
6352
|
T = e;
|
|
6353
|
-
if (
|
|
6354
|
-
for (
|
|
6355
|
-
y =
|
|
6356
|
-
u.caches[p] =
|
|
6353
|
+
if (A = u.sh.paths, g = A._length, d) {
|
|
6354
|
+
for (L = "", C = 0; C < g; C += 1)
|
|
6355
|
+
y = A.shapes[C], y && y._length && (L += buildShapeString(y, y._length, y.c, T));
|
|
6356
|
+
u.caches[p] = L;
|
|
6357
6357
|
} else
|
|
6358
|
-
|
|
6359
|
-
u.styles[p].d += E.hd === !0 ? "" :
|
|
6358
|
+
L = u.caches[p];
|
|
6359
|
+
u.styles[p].d += E.hd === !0 ? "" : L, u.styles[p]._mdf = d || u.styles[p]._mdf;
|
|
6360
6360
|
}
|
|
6361
6361
|
}
|
|
6362
6362
|
function f(E, u, P) {
|
|
@@ -6367,36 +6367,36 @@ 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, g = u.g._hasOpacity,
|
|
6370
|
+
var C = u.gf, g = u.g._hasOpacity, L = u.s.v, d = u.e.v;
|
|
6371
6371
|
if (u.o._mdf || P) {
|
|
6372
6372
|
var y = E.ty === "gf" ? "fill-opacity" : "stroke-opacity";
|
|
6373
6373
|
u.style.pElem.setAttribute(y, 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,
|
|
6377
|
+
C.setAttribute(p, L[0]), C.setAttribute(b, L[1]), g && !u.g._collapsable && (u.of.setAttribute(p, L[0]), u.of.setAttribute(b, L[1]));
|
|
6378
6378
|
}
|
|
6379
|
-
var
|
|
6379
|
+
var M, A, T, k;
|
|
6380
6380
|
if (u.g._cmdf || P) {
|
|
6381
|
-
|
|
6381
|
+
M = u.cst;
|
|
6382
6382
|
var H = u.g.c;
|
|
6383
|
-
for (T =
|
|
6384
|
-
k =
|
|
6383
|
+
for (T = M.length, A = 0; A < T; A += 1)
|
|
6384
|
+
k = M[A], k.setAttribute("offset", H[A * 4] + "%"), k.setAttribute("stop-color", "rgb(" + H[A * 4 + 1] + "," + H[A * 4 + 2] + "," + H[A * 4 + 3] + ")");
|
|
6385
6385
|
}
|
|
6386
6386
|
if (g && (u.g._omdf || P)) {
|
|
6387
6387
|
var X = u.g.o;
|
|
6388
|
-
for (u.g._collapsable ?
|
|
6389
|
-
k =
|
|
6388
|
+
for (u.g._collapsable ? M = u.cst : M = u.ost, T = M.length, A = 0; A < T; A += 1)
|
|
6389
|
+
k = M[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
6392
|
(u.e._mdf || P) && (C.setAttribute("x2", d[0]), C.setAttribute("y2", d[1]), g && !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(
|
|
6396
|
-
N || (N = Math.sqrt(Math.pow(
|
|
6397
|
-
var j = Math.atan2(d[1] -
|
|
6395
|
+
if ((u.s._mdf || u.e._mdf || P) && (N = Math.sqrt(Math.pow(L[0] - d[0], 2) + Math.pow(L[1] - d[1], 2)), C.setAttribute("r", N), g && !u.g._collapsable && u.of.setAttribute("r", N)), u.e._mdf || u.h._mdf || u.a._mdf || P) {
|
|
6396
|
+
N || (N = Math.sqrt(Math.pow(L[0] - d[0], 2) + Math.pow(L[1] - d[1], 2)));
|
|
6397
|
+
var j = Math.atan2(d[1] - L[1], d[0] - L[0]), Y = u.h.v;
|
|
6398
6398
|
Y >= 1 ? Y = 0.99 : Y <= -1 && (Y = -0.99);
|
|
6399
|
-
var U = N * Y, Z = Math.cos(j + u.a.v) * U +
|
|
6399
|
+
var U = N * Y, Z = Math.cos(j + u.a.v) * U + L[0], _ = Math.sin(j + u.a.v) * U + L[1];
|
|
6400
6400
|
C.setAttribute("fx", Z), C.setAttribute("fy", _), g && !u.g._collapsable && (u.of.setAttribute("fx", Z), u.of.setAttribute("fy", _));
|
|
6401
6401
|
}
|
|
6402
6402
|
}
|
|
@@ -6471,18 +6471,18 @@ 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, g,
|
|
6474
|
+
var f = [].concat(a), l, c = e.length - 1, m, E, u = [], P = [], C, g, L;
|
|
6475
6475
|
for (l = c; l >= 0; l -= 1) {
|
|
6476
|
-
if (
|
|
6477
|
-
|
|
6476
|
+
if (L = this.searchProcessedElement(e[l]), L ? t[l] = i[L - 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
|
+
L ? 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);
|
|
6478
6478
|
else if (e[l].ty === "gr") {
|
|
6479
|
-
if (!
|
|
6479
|
+
if (!L)
|
|
6480
6480
|
t[l] = this.createGroupElement(e[l]);
|
|
6481
6481
|
else
|
|
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" ? (
|
|
6485
|
+
} else e[l].ty === "tr" ? (L || (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" ? (L || (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" ? (L ? (g = t[l], g.closed = !1) : (g = ShapeModifiers.getModifier(e[l].ty), g.init(this, e[l]), t[l] = g, this.shapeModifiers.push(g)), P.push(g)) : e[l].ty === "rp" && (L ? (g = t[l], g.closed = !0) : (g = ShapeModifiers.getModifier(e[l].ty), t[l] = g, g.init(this, e, l, t), this.shapeModifiers.push(g), o = !1), P.push(g));
|
|
6486
6486
|
this.addProcessedElement(e[l], l + 1);
|
|
6487
6487
|
}
|
|
6488
6488
|
for (c = u.length, l = 0; l < c; l += 1)
|
|
@@ -6586,21 +6586,21 @@ 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, g = 0,
|
|
6590
|
-
e.fWeight =
|
|
6591
|
-
var
|
|
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, g = 0, L, d, y = t.getFontByName(e.f), p, b = 0, M = getFontProperties(y);
|
|
6590
|
+
e.fWeight = M.weight, e.fStyle = M.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
|
|
6591
|
+
var A = e.tr / 1e3 * e.finalSize, T;
|
|
6592
6592
|
if (e.sz)
|
|
6593
6593
|
for (var k = !0, H = e.sz[0], X = e.sz[1], N, j; k; ) {
|
|
6594
|
-
j = this.buildFinalText(e.t), N = 0, C = 0, a = j.length,
|
|
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], y.fStyle, y.fFamily), b = o ? 0 : p.w * e.finalSize / 100) : b = t.measureText(j[n], e.f, e.finalSize), C + b > H && 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 +=
|
|
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], y.fStyle, y.fFamily), b = o ? 0 : p.w * e.finalSize / 100) : b = t.measureText(j[n], e.f, e.finalSize), C + b > H && 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
6598
|
N += y.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
|
-
C = -
|
|
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), g = C > g ? C : g, C = -2 *
|
|
6603
|
+
if (o = !1, Z = e.finalText[n], T = Z.charCodeAt(0), T === 13 || T === 3 ? (U = 0, P.push(C), g = C > g ? C : g, C = -2 * A, l = "", o = !0, u += 1) : l = Z, t.chars ? (p = t.getCharData(Z, y.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,
|
|
@@ -6640,14 +6640,14 @@ var lottie$1 = { exports: {} };
|
|
|
6640
6640
|
var _ = i.a, I, x;
|
|
6641
6641
|
d = _.length;
|
|
6642
6642
|
var S, B, F = [];
|
|
6643
|
-
for (
|
|
6644
|
-
for (I = _[
|
|
6645
|
-
x = s[n], x.anIndexes[
|
|
6646
|
-
i.a[
|
|
6643
|
+
for (L = 0; L < d; L += 1) {
|
|
6644
|
+
for (I = _[L], I.a.sc && (e.strokeColorAnim = !0), I.a.sw && (e.strokeWidthAnim = !0), (I.a.fc || I.a.fh || I.a.fs || I.a.fb) && (e.fillColorAnim = !0), B = 0, S = I.s.b, n = 0; n < a; n += 1)
|
|
6645
|
+
x = s[n], x.anIndexes[L] = B, (S == 1 && x.val !== "" || S == 2 && x.val !== "" && x.val !== " " || S == 3 && (x.n || x.val == " " || n == a - 1) || S == 4 && (x.n || n == a - 1)) && (I.s.rn === 1 && F.push(B), B += 1);
|
|
6646
|
+
i.a[L].s.totalChars = B;
|
|
6647
6647
|
var G = -1, q;
|
|
6648
6648
|
if (I.s.rn === 1)
|
|
6649
6649
|
for (n = 0; n < a; n += 1)
|
|
6650
|
-
x = s[n], G != x.anIndexes[
|
|
6650
|
+
x = s[n], G != x.anIndexes[L] && (G = x.anIndexes[L], q = F.splice(Math.floor(Math.random() * F.length), 1)[0]), x.anIndexes[L] = q;
|
|
6651
6651
|
}
|
|
6652
6652
|
e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = y.ascent * e.finalSize / 100;
|
|
6653
6653
|
}, TextProperty.prototype.updateDocumentData = function(e, t) {
|
|
@@ -6695,9 +6695,9 @@ var lottie$1 = { exports: {} };
|
|
|
6695
6695
|
if (C === P)
|
|
6696
6696
|
u = 0;
|
|
6697
6697
|
else {
|
|
6698
|
-
var
|
|
6698
|
+
var L = C - P;
|
|
6699
6699
|
o = t(e(0, o + 0.5 - P), C - P);
|
|
6700
|
-
var d = -
|
|
6700
|
+
var d = -L / 2 + o, y = L / 2;
|
|
6701
6701
|
u = Math.sqrt(1 - d * d / (y * y));
|
|
6702
6702
|
}
|
|
6703
6703
|
u = E(u);
|
|
@@ -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, g,
|
|
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, g, L, d, y, p, b, M, A, T, k, H, 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,33 +6783,33 @@ 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, y = 1,
|
|
6787
|
-
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength), p =
|
|
6788
|
-
C +=
|
|
6789
|
-
|
|
6786
|
+
if (P = this._pathData.pi, C = this._pathData.f.v, p = 0, y = 1, L = 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, M = A[p].points, y = M.length - 1; C < 0; )
|
|
6788
|
+
C += M[y].partialLength, y -= 1, y < 0 && (p -= 1, M = A[p].points, y = M.length - 1);
|
|
6789
|
+
M = A[p].points, b = M[y - 1], g = M[y], T = g.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 = y, ue = -1, ce, se, oe, te, K,
|
|
6794
|
+
var F, G = -1, q, $, J, re = C, le = p, pe = y, ue = -1, ce, se, oe, te, K, Me, Ae, Se, ge = "", xe = this.defaultPropsArray, we;
|
|
6795
6795
|
if (e.j === 2 || e.j === 1) {
|
|
6796
|
-
var me = 0, Ce = 0, _e = e.j === 2 ? -0.5 : -1, be = 0,
|
|
6796
|
+
var me = 0, Ce = 0, _e = e.j === 2 ? -0.5 : -1, be = 0, Le = !0;
|
|
6797
6797
|
for (m = 0; m < E; m += 1)
|
|
6798
6798
|
if (u[m].n) {
|
|
6799
6799
|
for (me && (me += Ce); be < m; )
|
|
6800
6800
|
u[be].animatorJustifyOffset = me, be += 1;
|
|
6801
|
-
me = 0,
|
|
6801
|
+
me = 0, Le = !0;
|
|
6802
6802
|
} else {
|
|
6803
6803
|
for (x = 0; x < S; x += 1)
|
|
6804
|
-
_ = s[x].a, _.t.propType && (
|
|
6805
|
-
|
|
6804
|
+
_ = s[x].a, _.t.propType && (Le && e.j === 2 && (Ce += _.t.v * _e), I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), F.length ? me += _.t.v * F[0] * _e : me += _.t.v * F * _e);
|
|
6805
|
+
Le = !1;
|
|
6806
6806
|
}
|
|
6807
6807
|
for (me && (me += Ce); be < m; )
|
|
6808
6808
|
u[be].animatorJustifyOffset = me, be += 1;
|
|
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, y = pe,
|
|
6812
|
+
l = 0, c += e.yOffset, c += Z ? 1 : 0, C = re, Z = !1, this._hasMaskedPath && (p = le, y = pe, M = A[p].points, b = M[y - 1], g = M[y], T = g.partialLength, L = 0), ge = "", Se = "", Me = "", 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
|
-
|
|
6831
|
+
L + T >= C + Pe || !M ? (H = (C + Pe - L) / g.partialLength, $ = b.point[0] + (g.point[0] - b.point[0]) * H, J = b.point[1] + (g.point[1] - b.point[1]) * H, a.translate(-i[0] * u[m].an * 5e-3, -(i[1] * U) * 0.01), d = !1) : M && (L += g.partialLength, y += 1, y >= M.length && (y = 0, p += 1, A[p] ? M = A[p].points : N.v.c ? (y = 0, p = 0, M = A[p].points) : (L -= g.partialLength, M = null)), M && (b = g, g = M[y], T = g.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);
|
|
@@ -6851,7 +6851,7 @@ var lottie$1 = { exports: {} };
|
|
|
6851
6851
|
}
|
|
6852
6852
|
for (x = 0; x < S; x += 1)
|
|
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
|
-
if (e.strokeWidthAnim && (
|
|
6854
|
+
if (e.strokeWidthAnim && (Me = 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
6856
|
X = (g.point[1] - b.point[1]) / (g.point[0] - b.point[0]);
|
|
6857
6857
|
var Ee = Math.atan(X) * 180 / Math.PI;
|
|
@@ -6871,7 +6871,7 @@ var lottie$1 = { exports: {} };
|
|
|
6871
6871
|
}
|
|
6872
6872
|
o === "html" ? ge = a.toCSS() : o === "svg" ? ge = 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,
|
|
6874
|
+
f <= m ? (B = new LetterProps(we, Me, Ae, Se, ge, xe), this.renderedLetters.push(B), f += 1, this.lettersChangedFlag = !0) : (B = this.renderedLetters[m], this.lettersChangedFlag = B.update(we, Me, Ae, Se, ge, xe) || this.lettersChangedFlag);
|
|
6875
6875
|
}
|
|
6876
6876
|
}
|
|
6877
6877
|
}, TextAnimatorProperty.prototype.getValue = function() {
|
|
@@ -6948,7 +6948,7 @@ var lottie$1 = { exports: {} };
|
|
|
6948
6948
|
t = o.length;
|
|
6949
6949
|
var l, c = this.mHelper, m = "", E = this.data.singleShape, u = 0, P = 0, C = !0, g = i.tr * 1e-3 * i.finalSize;
|
|
6950
6950
|
if (E && !f && !i.sz) {
|
|
6951
|
-
var
|
|
6951
|
+
var L = this.textContainer, d = "start";
|
|
6952
6952
|
switch (i.j) {
|
|
6953
6953
|
case 1:
|
|
6954
6954
|
d = "end";
|
|
@@ -6960,14 +6960,14 @@ var lottie$1 = { exports: {} };
|
|
|
6960
6960
|
d = "start";
|
|
6961
6961
|
break;
|
|
6962
6962
|
}
|
|
6963
|
-
|
|
6963
|
+
L.setAttribute("text-anchor", d), L.setAttribute("letter-spacing", g);
|
|
6964
6964
|
var y = this.buildTextContents(i.finalText);
|
|
6965
6965
|
for (t = y.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 = y[e], l.setAttribute("x", 0), l.setAttribute("y", P), l.style.display = "inherit",
|
|
6966
|
+
l = this.textSpans[e].span || createNS("tspan"), l.textContent = y[e], l.setAttribute("x", 0), l.setAttribute("y", P), l.style.display = "inherit", L.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;
|
|
6970
|
-
this.layerElement.appendChild(
|
|
6970
|
+
this.layerElement.appendChild(L);
|
|
6971
6971
|
} else {
|
|
6972
6972
|
var p = this.textSpans.length, b;
|
|
6973
6973
|
for (e = 0; e < t; e += 1) {
|
|
@@ -6978,8 +6978,8 @@ var lottie$1 = { exports: {} };
|
|
|
6978
6978
|
}), !f || !E || e === 0) {
|
|
6979
6979
|
if (l = p > e ? this.textSpans[e].span : createNS(f ? "g" : "text"), p <= e) {
|
|
6980
6980
|
if (l.setAttribute("stroke-linecap", "butt"), l.setAttribute("stroke-linejoin", "round"), l.setAttribute("stroke-miterlimit", "4"), this.textSpans[e].span = l, f) {
|
|
6981
|
-
var
|
|
6982
|
-
l.appendChild(
|
|
6981
|
+
var M = createNS("g");
|
|
6982
|
+
l.appendChild(M), this.textSpans[e].childSpan = M;
|
|
6983
6983
|
}
|
|
6984
6984
|
this.textSpans[e].span = l, this.layerElement.appendChild(l);
|
|
6985
6985
|
}
|
|
@@ -6987,18 +6987,18 @@ var lottie$1 = { exports: {} };
|
|
|
6987
6987
|
}
|
|
6988
6988
|
if (c.reset(), E && (o[e].n && (u = -g, P += i.yOffset, P += C ? 1 : 0, C = !1), this.applyTextPropertiesToMatrix(i, c, o[e].line, u, P), u += o[e].l || 0, u += g), f) {
|
|
6989
6989
|
b = this.globalData.fontManager.getCharData(i.finalText[e], s.fStyle, this.globalData.fontManager.getFontByName(i.f).fFamily);
|
|
6990
|
-
var
|
|
6990
|
+
var A;
|
|
6991
6991
|
if (b.t === 1)
|
|
6992
|
-
|
|
6992
|
+
A = new SVGCompElement(b.data, this.globalData, this);
|
|
6993
6993
|
else {
|
|
6994
6994
|
var T = emptyShapeData;
|
|
6995
|
-
b.data && b.data.shapes && (T = this.buildShapeData(b.data, i.finalSize)),
|
|
6995
|
+
b.data && b.data.shapes && (T = this.buildShapeData(b.data, i.finalSize)), A = new SVGShapeElement(T, this.globalData, this);
|
|
6996
6996
|
}
|
|
6997
6997
|
if (this.textSpans[e].glyph) {
|
|
6998
6998
|
var k = this.textSpans[e].glyph;
|
|
6999
6999
|
this.textSpans[e].childSpan.removeChild(k.layerElement), k.destroy();
|
|
7000
7000
|
}
|
|
7001
|
-
this.textSpans[e].glyph =
|
|
7001
|
+
this.textSpans[e].glyph = A, A._debug = !0, A.prepareFrame(0), A.renderFrame(), this.textSpans[e].childSpan.appendChild(A.layerElement), b.t === 1 && this.textSpans[e].childSpan.setAttribute("transform", "scale(" + i.finalSize / 100 + "," + i.finalSize / 100 + ")");
|
|
7002
7002
|
} else
|
|
7003
7003
|
E && l.setAttribute("transform", "translate(" + c.props[12] + "," + c.props[13] + ")"), l.textContent = o[e].val, l.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
|
|
7004
7004
|
}
|
|
@@ -7584,9 +7584,9 @@ 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, g = e.g.p,
|
|
7587
|
+
var C, g = e.g.p, L = t.g.c, d = 1;
|
|
7588
7588
|
for (C = 0; C < g; C += 1)
|
|
7589
|
-
t.g._hasOpacity && t.g._collapsable && (d = t.g.o[C * 2 + 1]), n.addColorStop(
|
|
7589
|
+
t.g._hasOpacity && t.g._collapsable && (d = t.g.o[C * 2 + 1]), n.addColorStop(L[C * 4] / 100, "rgba(" + L[C * 4 + 1] + "," + L[C * 4 + 2] + "," + L[C * 4 + 3] + "," + d + ")");
|
|
7590
7590
|
s.grd = n;
|
|
7591
7591
|
}
|
|
7592
7592
|
s.coOp = t.o.v * i.opacity;
|
|
@@ -7613,18 +7613,18 @@ 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, g,
|
|
7616
|
+
var l, c, m, E, u, P, C, g, L, d, y = this.data.singleShape, p = e.tr * 1e-3 * e.finalSize, b = 0, M = 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(), y && o[n].n && (b = -p,
|
|
7618
|
+
l = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), c = l && l.data || {}, f.reset(), y && o[n].n && (b = -p, M += e.yOffset, M += A ? 1 : 0, A = !1), u = c.shapes ? c.shapes[0].it : [], C = u.length, f.scale(e.finalSize / 100, e.finalSize / 100), y && this.applyTextPropertiesToMatrix(e, f, o[n].line, b, M), L = 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
7622
|
for (E = u[P].ks.k.i.length, g = u[P].ks.k, d = [], m = 1; m < E; m += 1)
|
|
7623
7623
|
m === 1 && d.push(f.applyToX(g.v[0][0], g.v[0][1], 0), f.applyToY(g.v[0][0], g.v[0][1], 0)), d.push(f.applyToX(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToY(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToX(g.i[m][0], g.i[m][1], 0), f.applyToY(g.i[m][0], g.i[m][1], 0), f.applyToX(g.v[m][0], g.v[m][1], 0), f.applyToY(g.v[m][0], g.v[m][1], 0));
|
|
7624
|
-
d.push(f.applyToX(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToY(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToX(g.i[0][0], g.i[0][1], 0), f.applyToY(g.i[0][0], g.i[0][1], 0), f.applyToX(g.v[0][0], g.v[0][1], 0), f.applyToY(g.v[0][0], g.v[0][1], 0)),
|
|
7624
|
+
d.push(f.applyToX(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToY(g.o[m - 1][0], g.o[m - 1][1], 0), f.applyToX(g.i[0][0], g.i[0][1], 0), f.applyToY(g.i[0][0], g.i[0][1], 0), f.applyToX(g.v[0][0], g.v[0][1], 0), f.applyToY(g.v[0][0], g.v[0][1], 0)), L[k] = d, k += 1;
|
|
7625
7625
|
}
|
|
7626
|
-
y && (b += o[n].l, b += p), this.textSpans[T] ? this.textSpans[T].elem =
|
|
7627
|
-
elem:
|
|
7626
|
+
y && (b += o[n].l, b += p), this.textSpans[T] ? this.textSpans[T].elem = L : this.textSpans[T] = {
|
|
7627
|
+
elem: L
|
|
7628
7628
|
}, T += 1;
|
|
7629
7629
|
}
|
|
7630
7630
|
}, CVTextElement.prototype.renderInnerContent = function() {
|
|
@@ -8048,8 +8048,8 @@ var lottie$1 = { exports: {} };
|
|
|
8048
8048
|
var c, m, E, u = this.mHelper, P, C = "", g = 0;
|
|
8049
8049
|
for (o = 0; o < f; o += 1) {
|
|
8050
8050
|
if (this.globalData.fontManager.chars ? (this.textPaths[g] ? c = this.textPaths[g] : (c = createNS("path"), c.setAttribute("stroke-linecap", lineCapEnum[1]), c.setAttribute("stroke-linejoin", lineJoinEnum[2]), c.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[g] ? (m = this.textSpans[g], E = m.children[0]) : (m = createTag("div"), m.style.lineHeight = 0, E = createNS("svg"), E.appendChild(c), styleDiv(m)))) : this.isMasked ? c = this.textPaths[g] ? this.textPaths[g] : createNS("text") : this.textSpans[g] ? (m = this.textSpans[g], c = this.textPaths[g]) : (m = createTag("span"), styleDiv(m), c = createTag("span"), styleDiv(c), m.appendChild(c)), this.globalData.fontManager.chars) {
|
|
8051
|
-
var
|
|
8052
|
-
if (
|
|
8051
|
+
var L = this.globalData.fontManager.getCharData(e.finalText[o], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), d;
|
|
8052
|
+
if (L ? d = L.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) {
|
|
@@ -8066,8 +8066,8 @@ var lottie$1 = { exports: {} };
|
|
|
8066
8066
|
this.innerElem.appendChild(c);
|
|
8067
8067
|
else {
|
|
8068
8068
|
this.innerElem.appendChild(m);
|
|
8069
|
-
var
|
|
8070
|
-
|
|
8069
|
+
var M = c.style, A = "translate3d(0," + -e.finalSize / 1.2 + "px,0)";
|
|
8070
|
+
M.transform = A, M.webkitTransform = A;
|
|
8071
8071
|
}
|
|
8072
8072
|
this.isMasked ? this.textSpans[g] = c : this.textSpans[g] = m, this.textSpans[g].style.display = "block", this.textPaths[g] = c, g += 1;
|
|
8073
8073
|
}
|
|
@@ -8362,12 +8362,12 @@ var lottie$1 = { exports: {} };
|
|
|
8362
8362
|
}
|
|
8363
8363
|
function seedRandom(e, t) {
|
|
8364
8364
|
var i = this, s = 256, n = 6, a = 52, o = "random", f = t.pow(s, n), l = t.pow(2, a), c = l * 2, m = s - 1, E;
|
|
8365
|
-
function u(p, b,
|
|
8366
|
-
var
|
|
8365
|
+
function u(p, b, M) {
|
|
8366
|
+
var A = [];
|
|
8367
8367
|
b = b === !0 ? {
|
|
8368
8368
|
entropy: !0
|
|
8369
8369
|
} : b || {};
|
|
8370
|
-
var T =
|
|
8370
|
+
var T = L(g(b.entropy ? [p, y(e)] : p === null ? d() : p, 3), A), k = new P(A), H = 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
|
}, H.quick = function() {
|
|
8380
8380
|
return k.g(4) / 4294967296;
|
|
8381
|
-
}, H.double = H,
|
|
8381
|
+
}, H.double = H, L(y(k.S), e), (b.pass || M || 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;
|
|
@@ -8386,33 +8386,33 @@ var lottie$1 = { exports: {} };
|
|
|
8386
8386
|
}
|
|
8387
8387
|
t["seed" + o] = u;
|
|
8388
8388
|
function P(p) {
|
|
8389
|
-
var b,
|
|
8390
|
-
for (
|
|
8389
|
+
var b, M = p.length, A = this, T = 0, k = A.i = A.j = 0, H = A.S = [];
|
|
8390
|
+
for (M || (p = [M++]); T < s; )
|
|
8391
8391
|
H[T] = T++;
|
|
8392
8392
|
for (T = 0; T < s; T++)
|
|
8393
|
-
H[T] = H[k = m & k + p[T %
|
|
8394
|
-
|
|
8395
|
-
for (var N, j = 0, Y =
|
|
8393
|
+
H[T] = H[k = m & k + p[T % M] + (b = H[T])], H[k] = b;
|
|
8394
|
+
A.g = function(X) {
|
|
8395
|
+
for (var N, j = 0, Y = A.i, U = A.j, Z = A.S; X--; )
|
|
8396
8396
|
N = Z[Y = m & Y + 1], j = j * s + Z[m & (Z[Y] = Z[U = m & U + N]) + (Z[U] = N)];
|
|
8397
|
-
return
|
|
8397
|
+
return A.i = Y, A.j = U, j;
|
|
8398
8398
|
};
|
|
8399
8399
|
}
|
|
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
8403
|
function g(p, b) {
|
|
8404
|
-
var
|
|
8405
|
-
if (b &&
|
|
8404
|
+
var M = [], A = _typeof$2(p), T;
|
|
8405
|
+
if (b && A == "object")
|
|
8406
8406
|
for (T in p)
|
|
8407
8407
|
try {
|
|
8408
|
-
|
|
8408
|
+
M.push(g(p[T], b - 1));
|
|
8409
8409
|
} catch {
|
|
8410
8410
|
}
|
|
8411
|
-
return
|
|
8411
|
+
return M.length ? M : A == "string" ? p : p + "\0";
|
|
8412
8412
|
}
|
|
8413
|
-
function
|
|
8414
|
-
for (var
|
|
8415
|
-
b[m & T] = m & (
|
|
8413
|
+
function L(p, b) {
|
|
8414
|
+
for (var M = p + "", A, T = 0; T < M.length; )
|
|
8415
|
+
b[m & T] = m & (A ^= b[m & T] * 19) + M.charCodeAt(T++);
|
|
8416
8416
|
return y(b);
|
|
8417
8417
|
}
|
|
8418
8418
|
function d() {
|
|
@@ -8420,14 +8420,14 @@ var lottie$1 = { exports: {} };
|
|
|
8420
8420
|
var p = new Uint8Array(s);
|
|
8421
8421
|
return (i.crypto || i.msCrypto).getRandomValues(p), y(p);
|
|
8422
8422
|
} catch {
|
|
8423
|
-
var b = i.navigator,
|
|
8424
|
-
return [+/* @__PURE__ */ new Date(), i,
|
|
8423
|
+
var b = i.navigator, M = b && b.plugins;
|
|
8424
|
+
return [+/* @__PURE__ */ new Date(), i, M, i.screen, y(e)];
|
|
8425
8425
|
}
|
|
8426
8426
|
}
|
|
8427
8427
|
function y(p) {
|
|
8428
8428
|
return String.fromCharCode.apply(0, p);
|
|
8429
8429
|
}
|
|
8430
|
-
|
|
8430
|
+
L(t.random(), e);
|
|
8431
8431
|
}
|
|
8432
8432
|
function initialize$2(e) {
|
|
8433
8433
|
seedRandom([], e);
|
|
@@ -9097,7 +9097,7 @@ 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, g = 0,
|
|
9100
|
+
for (var C = n.ef, g = 0, L = C.length; g < L; ) {
|
|
9101
9101
|
if (P === C[g].nm || P === C[g].mn || P === C[g].ix)
|
|
9102
9102
|
return C[g].ty === 5 ? m[g] : m[g]();
|
|
9103
9103
|
g += 1;
|
|
@@ -9169,28 +9169,28 @@ var lottie$1 = { exports: {} };
|
|
|
9169
9169
|
}), a;
|
|
9170
9170
|
};
|
|
9171
9171
|
}(), ShapeExpressionInterface = /* @__PURE__ */ function() {
|
|
9172
|
-
function e(C, g,
|
|
9172
|
+
function e(C, g, L) {
|
|
9173
9173
|
var d = [], y, p = C ? C.length : 0;
|
|
9174
9174
|
for (y = 0; y < p; y += 1)
|
|
9175
|
-
C[y].ty === "gr" ? d.push(i(C[y], g[y],
|
|
9175
|
+
C[y].ty === "gr" ? d.push(i(C[y], g[y], L)) : C[y].ty === "fl" ? d.push(s(C[y], g[y], L)) : C[y].ty === "st" ? d.push(o(C[y], g[y], L)) : C[y].ty === "tm" ? d.push(f(C[y], g[y], L)) : C[y].ty === "tr" || (C[y].ty === "el" ? d.push(c(C[y], g[y], L)) : C[y].ty === "sr" ? d.push(m(C[y], g[y], L)) : C[y].ty === "sh" ? d.push(ShapePathInterface(C[y], g[y], L)) : C[y].ty === "rc" ? d.push(E(C[y], g[y], L)) : C[y].ty === "rd" ? d.push(u(C[y], g[y], L)) : C[y].ty === "rp" ? d.push(P(C[y], g[y], L)) : C[y].ty === "gf" ? d.push(n(C[y], g[y], L)) : d.push(a(C[y], g[y])));
|
|
9176
9176
|
return d;
|
|
9177
9177
|
}
|
|
9178
|
-
function t(C, g,
|
|
9179
|
-
var d, y = function(
|
|
9180
|
-
for (var
|
|
9181
|
-
if (d[
|
|
9182
|
-
return d[
|
|
9183
|
-
|
|
9178
|
+
function t(C, g, L) {
|
|
9179
|
+
var d, y = function(M) {
|
|
9180
|
+
for (var A = 0, T = d.length; A < T; ) {
|
|
9181
|
+
if (d[A]._name === M || d[A].mn === M || d[A].propertyIndex === M || d[A].ix === M || d[A].ind === M)
|
|
9182
|
+
return d[A];
|
|
9183
|
+
A += 1;
|
|
9184
9184
|
}
|
|
9185
|
-
return typeof
|
|
9185
|
+
return typeof M == "number" ? d[M - 1] : null;
|
|
9186
9186
|
};
|
|
9187
|
-
y.propertyGroup = propertyGroupFactory(y,
|
|
9187
|
+
y.propertyGroup = propertyGroupFactory(y, L), d = e(C.it, g.it, y.propertyGroup), y.numProperties = d.length;
|
|
9188
9188
|
var p = l(C.it[C.it.length - 1], g.it[g.it.length - 1], y.propertyGroup);
|
|
9189
9189
|
return y.transform = p, y.propertyIndex = C.cix, y._name = C.nm, y;
|
|
9190
9190
|
}
|
|
9191
|
-
function i(C, g,
|
|
9192
|
-
var d = function(
|
|
9193
|
-
switch (
|
|
9191
|
+
function i(C, g, L) {
|
|
9192
|
+
var d = function(M) {
|
|
9193
|
+
switch (M) {
|
|
9194
9194
|
case "ADBE Vectors Group":
|
|
9195
9195
|
case "Contents":
|
|
9196
9196
|
case 2:
|
|
@@ -9199,7 +9199,7 @@ var lottie$1 = { exports: {} };
|
|
|
9199
9199
|
return d.transform;
|
|
9200
9200
|
}
|
|
9201
9201
|
};
|
|
9202
|
-
d.propertyGroup = propertyGroupFactory(d,
|
|
9202
|
+
d.propertyGroup = propertyGroupFactory(d, L);
|
|
9203
9203
|
var y = t(C, g, d.propertyGroup), p = l(C.it[C.it.length - 1], g.it[g.it.length - 1], d.propertyGroup);
|
|
9204
9204
|
return d.content = y, d.transform = p, Object.defineProperty(d, "_name", {
|
|
9205
9205
|
get: function() {
|
|
@@ -9207,7 +9207,7 @@ var lottie$1 = { exports: {} };
|
|
|
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, g,
|
|
9210
|
+
function s(C, g, L) {
|
|
9211
9211
|
function d(y) {
|
|
9212
9212
|
return y === "Color" || y === "color" ? d.color : y === "Opacity" || y === "opacity" ? d.opacity : null;
|
|
9213
9213
|
}
|
|
@@ -9224,9 +9224,9 @@ var lottie$1 = { exports: {} };
|
|
|
9224
9224
|
mn: {
|
|
9225
9225
|
value: C.mn
|
|
9226
9226
|
}
|
|
9227
|
-
}), g.c.setGroupProperty(PropertyInterface("Color",
|
|
9227
|
+
}), g.c.setGroupProperty(PropertyInterface("Color", L)), g.o.setGroupProperty(PropertyInterface("Opacity", L)), d;
|
|
9228
9228
|
}
|
|
9229
|
-
function n(C, g,
|
|
9229
|
+
function n(C, g, L) {
|
|
9230
9230
|
function d(y) {
|
|
9231
9231
|
return y === "Start Point" || y === "start point" ? d.startPoint : y === "End Point" || y === "end point" ? d.endPoint : y === "Opacity" || y === "opacity" ? d.opacity : null;
|
|
9232
9232
|
}
|
|
@@ -9251,7 +9251,7 @@ var lottie$1 = { exports: {} };
|
|
|
9251
9251
|
mn: {
|
|
9252
9252
|
value: C.mn
|
|
9253
9253
|
}
|
|
9254
|
-
}), g.s.setGroupProperty(PropertyInterface("Start Point",
|
|
9254
|
+
}), g.s.setGroupProperty(PropertyInterface("Start Point", L)), g.e.setGroupProperty(PropertyInterface("End Point", L)), g.o.setGroupProperty(PropertyInterface("Opacity", L)), d;
|
|
9255
9255
|
}
|
|
9256
9256
|
function a() {
|
|
9257
9257
|
function C() {
|
|
@@ -9259,15 +9259,15 @@ var lottie$1 = { exports: {} };
|
|
|
9259
9259
|
}
|
|
9260
9260
|
return C;
|
|
9261
9261
|
}
|
|
9262
|
-
function o(C, g,
|
|
9263
|
-
var d = propertyGroupFactory(T,
|
|
9262
|
+
function o(C, g, L) {
|
|
9263
|
+
var d = propertyGroupFactory(T, L), y = propertyGroupFactory(A, d);
|
|
9264
9264
|
function p(k) {
|
|
9265
|
-
Object.defineProperty(
|
|
9265
|
+
Object.defineProperty(A, C.d[k].nm, {
|
|
9266
9266
|
get: ExpressionPropertyInterface(g.d.dataProps[k].p)
|
|
9267
9267
|
});
|
|
9268
9268
|
}
|
|
9269
|
-
var b,
|
|
9270
|
-
for (b = 0; b <
|
|
9269
|
+
var b, M = C.d ? C.d.length : 0, A = {};
|
|
9270
|
+
for (b = 0; b < M; b += 1)
|
|
9271
9271
|
p(b), g.d.dataProps[b].p.setGroupProperty(y);
|
|
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;
|
|
@@ -9284,7 +9284,7 @@ var lottie$1 = { exports: {} };
|
|
|
9284
9284
|
},
|
|
9285
9285
|
dash: {
|
|
9286
9286
|
get: function() {
|
|
9287
|
-
return
|
|
9287
|
+
return A;
|
|
9288
9288
|
}
|
|
9289
9289
|
},
|
|
9290
9290
|
_name: {
|
|
@@ -9295,12 +9295,12 @@ var lottie$1 = { exports: {} };
|
|
|
9295
9295
|
}
|
|
9296
9296
|
}), g.c.setGroupProperty(PropertyInterface("Color", d)), g.o.setGroupProperty(PropertyInterface("Opacity", d)), g.w.setGroupProperty(PropertyInterface("Stroke Width", d)), T;
|
|
9297
9297
|
}
|
|
9298
|
-
function f(C, g,
|
|
9298
|
+
function f(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9303
|
-
return d.propertyIndex = C.ix, g.s.setGroupProperty(PropertyInterface("Start", y)), g.e.setGroupProperty(PropertyInterface("End", y)), g.o.setGroupProperty(PropertyInterface("Offset", y)), d.propertyIndex = C.ix, d.propertyGroup =
|
|
9302
|
+
var y = propertyGroupFactory(d, L);
|
|
9303
|
+
return d.propertyIndex = C.ix, g.s.setGroupProperty(PropertyInterface("Start", y)), g.e.setGroupProperty(PropertyInterface("End", y)), g.o.setGroupProperty(PropertyInterface("Offset", y)), d.propertyIndex = C.ix, d.propertyGroup = L, Object.defineProperties(d, {
|
|
9304
9304
|
start: {
|
|
9305
9305
|
get: ExpressionPropertyInterface(g.s)
|
|
9306
9306
|
},
|
|
@@ -9315,11 +9315,11 @@ var lottie$1 = { exports: {} };
|
|
|
9315
9315
|
}
|
|
9316
9316
|
}), d.mn = C.mn, d;
|
|
9317
9317
|
}
|
|
9318
|
-
function l(C, g,
|
|
9318
|
+
function l(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9322
|
+
var y = propertyGroupFactory(d, L);
|
|
9323
9323
|
return g.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", y)), g.transform.mProps.p.setGroupProperty(PropertyInterface("Position", y)), g.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", y)), g.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", y)), g.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", y)), g.transform.mProps.sk && (g.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", y)), g.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", y))), g.transform.op.setGroupProperty(PropertyInterface("Opacity", y)), Object.defineProperties(d, {
|
|
9324
9324
|
opacity: {
|
|
9325
9325
|
get: ExpressionPropertyInterface(g.transform.mProps.o)
|
|
@@ -9345,13 +9345,13 @@ var lottie$1 = { exports: {} };
|
|
|
9345
9345
|
_name: {
|
|
9346
9346
|
value: C.nm
|
|
9347
9347
|
}
|
|
9348
|
-
}), d.ty = "tr", d.mn = C.mn, d.propertyGroup =
|
|
9348
|
+
}), d.ty = "tr", d.mn = C.mn, d.propertyGroup = L, d;
|
|
9349
9349
|
}
|
|
9350
|
-
function c(C, g,
|
|
9350
|
+
function c(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9354
|
+
var y = propertyGroupFactory(d, L);
|
|
9355
9355
|
d.propertyIndex = C.ix;
|
|
9356
9356
|
var p = g.sh.ty === "tm" ? g.sh.prop : g.sh;
|
|
9357
9357
|
return p.s.setGroupProperty(PropertyInterface("Size", y)), p.p.setGroupProperty(PropertyInterface("Position", y)), Object.defineProperties(d, {
|
|
@@ -9366,11 +9366,11 @@ var lottie$1 = { exports: {} };
|
|
|
9366
9366
|
}
|
|
9367
9367
|
}), d.mn = C.mn, d;
|
|
9368
9368
|
}
|
|
9369
|
-
function m(C, g,
|
|
9369
|
+
function m(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9373
|
+
var y = propertyGroupFactory(d, L), p = g.sh.ty === "tm" ? g.sh.prop : g.sh;
|
|
9374
9374
|
return d.propertyIndex = C.ix, p.or.setGroupProperty(PropertyInterface("Outer Radius", y)), p.os.setGroupProperty(PropertyInterface("Outer Roundness", y)), p.pt.setGroupProperty(PropertyInterface("Points", y)), p.p.setGroupProperty(PropertyInterface("Position", y)), p.r.setGroupProperty(PropertyInterface("Rotation", y)), C.ir && (p.ir.setGroupProperty(PropertyInterface("Inner Radius", y)), p.is.setGroupProperty(PropertyInterface("Inner Roundness", y))), Object.defineProperties(d, {
|
|
9375
9375
|
position: {
|
|
9376
9376
|
get: ExpressionPropertyInterface(p.p)
|
|
@@ -9398,11 +9398,11 @@ var lottie$1 = { exports: {} };
|
|
|
9398
9398
|
}
|
|
9399
9399
|
}), d.mn = C.mn, d;
|
|
9400
9400
|
}
|
|
9401
|
-
function E(C, g,
|
|
9401
|
+
function E(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9405
|
+
var y = propertyGroupFactory(d, L), p = g.sh.ty === "tm" ? g.sh.prop : g.sh;
|
|
9406
9406
|
return d.propertyIndex = C.ix, p.p.setGroupProperty(PropertyInterface("Position", y)), p.s.setGroupProperty(PropertyInterface("Size", y)), p.r.setGroupProperty(PropertyInterface("Rotation", y)), Object.defineProperties(d, {
|
|
9407
9407
|
position: {
|
|
9408
9408
|
get: ExpressionPropertyInterface(p.p)
|
|
@@ -9418,11 +9418,11 @@ var lottie$1 = { exports: {} };
|
|
|
9418
9418
|
}
|
|
9419
9419
|
}), d.mn = C.mn, d;
|
|
9420
9420
|
}
|
|
9421
|
-
function u(C, g,
|
|
9421
|
+
function u(C, g, L) {
|
|
9422
9422
|
function d(b) {
|
|
9423
9423
|
return C.r.ix === b || b === "Round Corners 1" ? d.radius : null;
|
|
9424
9424
|
}
|
|
9425
|
-
var y = propertyGroupFactory(d,
|
|
9425
|
+
var y = propertyGroupFactory(d, L), p = g;
|
|
9426
9426
|
return d.propertyIndex = C.ix, p.rd.setGroupProperty(PropertyInterface("Radius", y)), Object.defineProperties(d, {
|
|
9427
9427
|
radius: {
|
|
9428
9428
|
get: ExpressionPropertyInterface(p.rd)
|
|
@@ -9432,11 +9432,11 @@ var lottie$1 = { exports: {} };
|
|
|
9432
9432
|
}
|
|
9433
9433
|
}), d.mn = C.mn, d;
|
|
9434
9434
|
}
|
|
9435
|
-
function P(C, g,
|
|
9435
|
+
function P(C, g, L) {
|
|
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 y = propertyGroupFactory(d,
|
|
9439
|
+
var y = propertyGroupFactory(d, L), p = g;
|
|
9440
9440
|
return d.propertyIndex = C.ix, p.c.setGroupProperty(PropertyInterface("Copies", y)), p.o.setGroupProperty(PropertyInterface("Offset", y)), Object.defineProperties(d, {
|
|
9441
9441
|
copies: {
|
|
9442
9442
|
get: ExpressionPropertyInterface(p.c)
|
|
@@ -9449,20 +9449,20 @@ var lottie$1 = { exports: {} };
|
|
|
9449
9449
|
}
|
|
9450
9450
|
}), d.mn = C.mn, d;
|
|
9451
9451
|
}
|
|
9452
|
-
return function(C, g,
|
|
9452
|
+
return function(C, g, L) {
|
|
9453
9453
|
var d;
|
|
9454
9454
|
function y(b) {
|
|
9455
9455
|
if (typeof b == "number")
|
|
9456
|
-
return b = b === void 0 ? 1 : b, b === 0 ?
|
|
9457
|
-
for (var
|
|
9458
|
-
if (d[
|
|
9459
|
-
return d[
|
|
9460
|
-
|
|
9456
|
+
return b = b === void 0 ? 1 : b, b === 0 ? L : d[b - 1];
|
|
9457
|
+
for (var M = 0, A = d.length; M < A; ) {
|
|
9458
|
+
if (d[M]._name === b)
|
|
9459
|
+
return d[M];
|
|
9460
|
+
M += 1;
|
|
9461
9461
|
}
|
|
9462
9462
|
return null;
|
|
9463
9463
|
}
|
|
9464
9464
|
function p() {
|
|
9465
|
-
return
|
|
9465
|
+
return L;
|
|
9466
9466
|
}
|
|
9467
9467
|
return y.propertyGroup = propertyGroupFactory(y, p), d = e(C, g, y.propertyGroup), y.numProperties = d.length, y._name = "Contents", y;
|
|
9468
9468
|
};
|
|
@@ -9591,12 +9591,12 @@ var lottie$1 = { exports: {} };
|
|
|
9591
9591
|
if (!this.k || !this.keyframes)
|
|
9592
9592
|
return this.pv;
|
|
9593
9593
|
u = u ? u.toLowerCase() : "";
|
|
9594
|
-
var g = this.comp.renderedFrame,
|
|
9594
|
+
var g = this.comp.renderedFrame, L = this.keyframes, d = L[L.length - 1].t;
|
|
9595
9595
|
if (g <= d)
|
|
9596
9596
|
return this.pv;
|
|
9597
9597
|
var y, p;
|
|
9598
|
-
C ? (P ? y = Math.abs(d - this.elem.comp.globalData.frameRate * P) : y = Math.max(0, d - this.elem.data.ip), p = d - y) : ((!P || P >
|
|
9599
|
-
var b,
|
|
9598
|
+
C ? (P ? y = Math.abs(d - this.elem.comp.globalData.frameRate * P) : y = Math.max(0, d - this.elem.data.ip), p = d - y) : ((!P || P > L.length - 1) && (P = L.length - 1), p = L[L.length - 1 - P].t, y = d - p);
|
|
9599
|
+
var b, M, A;
|
|
9600
9600
|
if (u === "pingpong") {
|
|
9601
9601
|
var T = Math.floor((g - p) / y);
|
|
9602
9602
|
if (T % 2 !== 0)
|
|
@@ -9604,17 +9604,17 @@ var lottie$1 = { exports: {} };
|
|
|
9604
9604
|
} else if (u === "offset") {
|
|
9605
9605
|
var k = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), H = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), X = this.getValueAtTime(((g - p) % y + p) / this.comp.globalData.frameRate, 0), N = Math.floor((g - p) / y);
|
|
9606
9606
|
if (this.pv.length) {
|
|
9607
|
-
for (
|
|
9608
|
-
|
|
9609
|
-
return
|
|
9607
|
+
for (A = new Array(k.length), M = A.length, b = 0; b < M; b += 1)
|
|
9608
|
+
A[b] = (H[b] - k[b]) * N + X[b];
|
|
9609
|
+
return A;
|
|
9610
9610
|
}
|
|
9611
9611
|
return (H - k) * N + X;
|
|
9612
9612
|
} else if (u === "continue") {
|
|
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
|
-
for (
|
|
9616
|
-
|
|
9617
|
-
return
|
|
9615
|
+
for (A = new Array(j.length), M = A.length, b = 0; b < M; b += 1)
|
|
9616
|
+
A[b] = j[b] + (j[b] - Y[b]) * ((g - d) / this.comp.globalData.frameRate) / 5e-4;
|
|
9617
|
+
return A;
|
|
9618
9618
|
}
|
|
9619
9619
|
return j + (j - Y) * ((g - d) / 1e-3);
|
|
9620
9620
|
}
|
|
@@ -9624,12 +9624,12 @@ var lottie$1 = { exports: {} };
|
|
|
9624
9624
|
if (!this.k)
|
|
9625
9625
|
return this.pv;
|
|
9626
9626
|
u = u ? u.toLowerCase() : "";
|
|
9627
|
-
var g = this.comp.renderedFrame,
|
|
9627
|
+
var g = this.comp.renderedFrame, L = this.keyframes, d = L[0].t;
|
|
9628
9628
|
if (g >= d)
|
|
9629
9629
|
return this.pv;
|
|
9630
9630
|
var y, p;
|
|
9631
|
-
C ? (P ? y = Math.abs(this.elem.comp.globalData.frameRate * P) : y = Math.max(0, this.elem.data.op - d), p = d + y) : ((!P || P >
|
|
9632
|
-
var b,
|
|
9631
|
+
C ? (P ? y = Math.abs(this.elem.comp.globalData.frameRate * P) : y = Math.max(0, this.elem.data.op - d), p = d + y) : ((!P || P > L.length - 1) && (P = L.length - 1), p = L[P].t, y = p - d);
|
|
9632
|
+
var b, M, A;
|
|
9633
9633
|
if (u === "pingpong") {
|
|
9634
9634
|
var T = Math.floor((d - g) / y);
|
|
9635
9635
|
if (T % 2 === 0)
|
|
@@ -9637,17 +9637,17 @@ var lottie$1 = { exports: {} };
|
|
|
9637
9637
|
} else if (u === "offset") {
|
|
9638
9638
|
var k = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), H = this.getValueAtTime(p / this.comp.globalData.frameRate, 0), X = this.getValueAtTime((y - (d - g) % y + d) / this.comp.globalData.frameRate, 0), N = Math.floor((d - g) / y) + 1;
|
|
9639
9639
|
if (this.pv.length) {
|
|
9640
|
-
for (
|
|
9641
|
-
|
|
9642
|
-
return
|
|
9640
|
+
for (A = new Array(k.length), M = A.length, b = 0; b < M; b += 1)
|
|
9641
|
+
A[b] = X[b] - (H[b] - k[b]) * N;
|
|
9642
|
+
return A;
|
|
9643
9643
|
}
|
|
9644
9644
|
return X - (H - k) * N;
|
|
9645
9645
|
} else if (u === "continue") {
|
|
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
|
-
for (
|
|
9649
|
-
|
|
9650
|
-
return
|
|
9648
|
+
for (A = new Array(j.length), M = A.length, b = 0; b < M; b += 1)
|
|
9649
|
+
A[b] = j[b] + (j[b] - Y[b]) * (d - g) / 1e-3;
|
|
9650
|
+
return A;
|
|
9651
9651
|
}
|
|
9652
9652
|
return j + (j - Y) * (d - g) / 1e-3;
|
|
9653
9653
|
}
|
|
@@ -9658,14 +9658,14 @@ var lottie$1 = { exports: {} };
|
|
|
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, g = C - u,
|
|
9661
|
+
var C = this.comp.renderedFrame / this.comp.globalData.frameRate, g = C - u, L = C + u, d = P > 1 ? (L - g) / (P - 1) : 1, y = 0, p = 0, b;
|
|
9662
9662
|
this.pv.length ? b = createTypedArray("float32", this.pv.length) : b = 0;
|
|
9663
|
-
for (var
|
|
9664
|
-
if (
|
|
9663
|
+
for (var M; y < P; ) {
|
|
9664
|
+
if (M = this.getValueAtTime(g + y * d), this.pv.length)
|
|
9665
9665
|
for (p = 0; p < this.pv.length; p += 1)
|
|
9666
|
-
b[p] +=
|
|
9666
|
+
b[p] += M[p];
|
|
9667
9667
|
else
|
|
9668
|
-
b +=
|
|
9668
|
+
b += M;
|
|
9669
9669
|
y += 1;
|
|
9670
9670
|
}
|
|
9671
9671
|
if (this.pv.length)
|
|
@@ -9689,15 +9689,15 @@ var lottie$1 = { exports: {} };
|
|
|
9689
9689
|
P.scale(g[0] * this.s.mult, g[1] * this.s.mult, g[2] * this.s.mult);
|
|
9690
9690
|
}
|
|
9691
9691
|
if (this.sk && this.appliedTransformations < 3) {
|
|
9692
|
-
var
|
|
9693
|
-
P.skewFromAxis(-
|
|
9692
|
+
var L = this.sk.getValueAtTime(u), d = this.sa.getValueAtTime(u);
|
|
9693
|
+
P.skewFromAxis(-L * this.sk.mult, d * this.sa.mult);
|
|
9694
9694
|
}
|
|
9695
9695
|
if (this.r && this.appliedTransformations < 4) {
|
|
9696
9696
|
var y = this.r.getValueAtTime(u);
|
|
9697
9697
|
P.rotate(-y * this.r.mult);
|
|
9698
9698
|
} else if (!this.r && this.appliedTransformations < 4) {
|
|
9699
|
-
var p = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u),
|
|
9700
|
-
P.rotateZ(-p * this.rz.mult).rotateY(b * this.ry.mult).rotateX(
|
|
9699
|
+
var p = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u), M = this.rx.getValueAtTime(u), A = this.or.getValueAtTime(u);
|
|
9700
|
+
P.rotateZ(-p * this.rz.mult).rotateY(b * this.ry.mult).rotateX(M * this.rx.mult).rotateZ(-A[2] * this.or.mult).rotateY(A[1] * this.or.mult).rotateX(A[0] * this.or.mult);
|
|
9701
9701
|
}
|
|
9702
9702
|
if (this.data.p && this.data.p.s) {
|
|
9703
9703
|
var T = this.px.getValueAtTime(u), k = this.py.getValueAtTime(u);
|
|
@@ -9721,15 +9721,15 @@ var lottie$1 = { exports: {} };
|
|
|
9721
9721
|
return g.dynamicProperties.length ? g.getValueAtTime = s.bind(g) : g.getValueAtTime = n.bind(g), g.setGroupProperty = expressionHelpers.setGroupProperty, g;
|
|
9722
9722
|
};
|
|
9723
9723
|
var o = PropertyFactory.getProp;
|
|
9724
|
-
PropertyFactory.getProp = function(u, P, C, g,
|
|
9725
|
-
var d = o(u, P, C, g,
|
|
9724
|
+
PropertyFactory.getProp = function(u, P, C, g, L) {
|
|
9725
|
+
var d = o(u, P, C, g, L);
|
|
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
9727
|
var y = 0;
|
|
9728
9728
|
return C !== 0 && (y = createTypedArray("float32", P.a === 1 ? P.k[0].s.length : P.k.length)), d._cachingAtTime = {
|
|
9729
9729
|
lastFrame: initialDefaultFrame,
|
|
9730
9730
|
lastIndex: 0,
|
|
9731
9731
|
value: y
|
|
9732
|
-
}, expressionHelpers.searchExpressions(u, P, d), d.k &&
|
|
9732
|
+
}, expressionHelpers.searchExpressions(u, P, d), d.k && L.addDynamicProperty(d), d;
|
|
9733
9733
|
};
|
|
9734
9734
|
function f(u) {
|
|
9735
9735
|
return this._cachingAtTime || (this._cachingAtTime = {
|
|
@@ -9746,9 +9746,9 @@ var lottie$1 = { exports: {} };
|
|
|
9746
9746
|
this.k && this.getValue();
|
|
9747
9747
|
var g = this.v;
|
|
9748
9748
|
C !== void 0 && (g = this.getValueAtTime(C, 0));
|
|
9749
|
-
var
|
|
9750
|
-
for (
|
|
9751
|
-
P === "i" || P === "o" ? b[
|
|
9749
|
+
var L, d = g._length, y = g[P], p = g.v, b = createSizedArray(d);
|
|
9750
|
+
for (L = 0; L < d; L += 1)
|
|
9751
|
+
P === "i" || P === "o" ? b[L] = [y[L][0] - p[L][0], y[L][1] - p[L][1]] : b[L] = [y[L][0], y[L][1]];
|
|
9752
9752
|
return b;
|
|
9753
9753
|
},
|
|
9754
9754
|
points: function(P) {
|
|
@@ -9766,24 +9766,24 @@ var lottie$1 = { exports: {} };
|
|
|
9766
9766
|
pointOnPath: function(P, C) {
|
|
9767
9767
|
var g = this.v;
|
|
9768
9768
|
C !== void 0 && (g = this.getValueAtTime(C, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(g));
|
|
9769
|
-
for (var
|
|
9770
|
-
if (
|
|
9771
|
-
var T = p, k = g.c && p === b - 1 ? 0 : p + 1, H = (y -
|
|
9772
|
-
|
|
9769
|
+
for (var L = this._segmentsLength, d = L.lengths, y = L.totalLength * P, p = 0, b = d.length, M = 0, A; p < b; ) {
|
|
9770
|
+
if (M + d[p].addedLength > y) {
|
|
9771
|
+
var T = p, k = g.c && p === b - 1 ? 0 : p + 1, H = (y - M) / d[p].addedLength;
|
|
9772
|
+
A = bez.getPointInSegment(g.v[T], g.v[k], g.o[T], g.i[k], H, d[p]);
|
|
9773
9773
|
break;
|
|
9774
9774
|
} else
|
|
9775
|
-
|
|
9775
|
+
M += d[p].addedLength;
|
|
9776
9776
|
p += 1;
|
|
9777
9777
|
}
|
|
9778
|
-
return
|
|
9778
|
+
return A || (A = g.c ? [g.v[0][0], g.v[0][1]] : [g.v[g._length - 1][0], g.v[g._length - 1][1]]), A;
|
|
9779
9779
|
},
|
|
9780
9780
|
vectorOnPath: function(P, C, g) {
|
|
9781
9781
|
P == 1 ? P = this.v.c : P == 0 && (P = 0.999);
|
|
9782
|
-
var
|
|
9782
|
+
var L = this.pointOnPath(P, C), d = this.pointOnPath(P + 1e-3, C), y = d[0] - L[0], p = d[1] - L[1], b = Math.sqrt(Math.pow(y, 2) + Math.pow(p, 2));
|
|
9783
9783
|
if (b === 0)
|
|
9784
9784
|
return [0, 0];
|
|
9785
|
-
var
|
|
9786
|
-
return
|
|
9785
|
+
var M = g === "tangent" ? [y / b, p / b] : [-p / b, y / b];
|
|
9786
|
+
return M;
|
|
9787
9787
|
},
|
|
9788
9788
|
tangentOnPath: function(P, C) {
|
|
9789
9789
|
return this.vectorOnPath(P, C, "tangent");
|
|
@@ -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, g,
|
|
9799
|
-
var d = E(u, P, C, g,
|
|
9798
|
+
ShapePropertyFactory.getShapeProp = function(u, P, C, g, L) {
|
|
9799
|
+
var d = E(u, P, C, g, L);
|
|
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,51 +10147,51 @@ 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, g = t.onDOMLoaded,
|
|
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, g = t.onDOMLoaded, L = t.onDestroy;
|
|
10151
10151
|
t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
|
|
10152
|
-
var d = _objectWithoutProperties(t, _excluded$1), y = useState(!1), p = _slicedToArray(y, 2), b = p[0],
|
|
10152
|
+
var d = _objectWithoutProperties(t, _excluded$1), y = useState(!1), p = _slicedToArray(y, 2), b = p[0], M = p[1], A = useRef(), T = useRef(null), k = function() {
|
|
10153
10153
|
var G;
|
|
10154
|
-
(G =
|
|
10154
|
+
(G = A.current) === null || G === void 0 || G.play();
|
|
10155
10155
|
}, H = function() {
|
|
10156
10156
|
var G;
|
|
10157
|
-
(G =
|
|
10157
|
+
(G = A.current) === null || G === void 0 || G.stop();
|
|
10158
10158
|
}, X = function() {
|
|
10159
10159
|
var G;
|
|
10160
|
-
(G =
|
|
10160
|
+
(G = A.current) === null || G === void 0 || G.pause();
|
|
10161
10161
|
}, N = function(G) {
|
|
10162
10162
|
var q;
|
|
10163
|
-
(q =
|
|
10163
|
+
(q = A.current) === null || q === void 0 || q.setSpeed(G);
|
|
10164
10164
|
}, j = function(G, q) {
|
|
10165
10165
|
var $;
|
|
10166
|
-
($ =
|
|
10166
|
+
($ = A.current) === null || $ === void 0 || $.goToAndPlay(G, q);
|
|
10167
10167
|
}, Y = function(G, q) {
|
|
10168
10168
|
var $;
|
|
10169
|
-
($ =
|
|
10169
|
+
($ = A.current) === null || $ === void 0 || $.goToAndStop(G, q);
|
|
10170
10170
|
}, U = function(G) {
|
|
10171
10171
|
var q;
|
|
10172
|
-
(q =
|
|
10172
|
+
(q = A.current) === null || q === void 0 || q.setDirection(G);
|
|
10173
10173
|
}, Z = function(G, q) {
|
|
10174
10174
|
var $;
|
|
10175
|
-
($ =
|
|
10175
|
+
($ = A.current) === null || $ === void 0 || $.playSegments(G, q);
|
|
10176
10176
|
}, _ = function(G) {
|
|
10177
10177
|
var q;
|
|
10178
|
-
(q =
|
|
10178
|
+
(q = A.current) === null || q === void 0 || q.setSubframe(G);
|
|
10179
10179
|
}, I = function(G) {
|
|
10180
10180
|
var q;
|
|
10181
|
-
return (q =
|
|
10181
|
+
return (q = A.current) === null || q === void 0 ? void 0 : q.getDuration(G);
|
|
10182
10182
|
}, x = function() {
|
|
10183
10183
|
var G;
|
|
10184
|
-
(G =
|
|
10184
|
+
(G = A.current) === null || G === void 0 || G.destroy(), A.current = void 0;
|
|
10185
10185
|
}, S = function() {
|
|
10186
10186
|
var G = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, q;
|
|
10187
10187
|
if (T.current) {
|
|
10188
|
-
(q =
|
|
10188
|
+
(q = A.current) === null || q === void 0 || q.destroy();
|
|
10189
10189
|
var $ = _objectSpread2(_objectSpread2(_objectSpread2({}, t), G), {}, {
|
|
10190
10190
|
container: T.current
|
|
10191
10191
|
});
|
|
10192
|
-
return
|
|
10192
|
+
return A.current = lottie.loadAnimation($), M(!!A.current), function() {
|
|
10193
10193
|
var J;
|
|
10194
|
-
(J =
|
|
10194
|
+
(J = A.current) === null || J === void 0 || J.destroy(), A.current = void 0;
|
|
10195
10195
|
};
|
|
10196
10196
|
}
|
|
10197
10197
|
};
|
|
@@ -10201,14 +10201,14 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10201
10201
|
return F == null ? void 0 : F();
|
|
10202
10202
|
};
|
|
10203
10203
|
}, [s, n]), useEffect(function() {
|
|
10204
|
-
|
|
10204
|
+
A.current && (A.current.autoplay = !!a);
|
|
10205
10205
|
}, [a]), useEffect(function() {
|
|
10206
|
-
if (
|
|
10206
|
+
if (A.current) {
|
|
10207
10207
|
if (!o) {
|
|
10208
|
-
|
|
10208
|
+
A.current.resetSegments(!0);
|
|
10209
10209
|
return;
|
|
10210
10210
|
}
|
|
10211
|
-
!Array.isArray(o) || !o.length || ((
|
|
10211
|
+
!Array.isArray(o) || !o.length || ((A.current.currentRawFrame < o[0] || A.current.currentRawFrame > o[1]) && (A.current.currentRawFrame = o[0]), A.current.setSegment(o[0], o[1]));
|
|
10212
10212
|
}
|
|
10213
10213
|
}, [o]), useEffect(function() {
|
|
10214
10214
|
var F = [{
|
|
@@ -10240,7 +10240,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10240
10240
|
handler: g
|
|
10241
10241
|
}, {
|
|
10242
10242
|
name: "destroy",
|
|
10243
|
-
handler:
|
|
10243
|
+
handler: L
|
|
10244
10244
|
}], G = F.filter(function($) {
|
|
10245
10245
|
return $.handler != null;
|
|
10246
10246
|
});
|
|
@@ -10253,9 +10253,9 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10253
10253
|
*/
|
|
10254
10254
|
function($) {
|
|
10255
10255
|
var J;
|
|
10256
|
-
return (J =
|
|
10256
|
+
return (J = A.current) === null || J === void 0 || J.addEventListener($.name, $.handler), function() {
|
|
10257
10257
|
var re;
|
|
10258
|
-
(re =
|
|
10258
|
+
(re = A.current) === null || re === void 0 || re.removeEventListener($.name, $.handler);
|
|
10259
10259
|
};
|
|
10260
10260
|
}
|
|
10261
10261
|
);
|
|
@@ -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, g,
|
|
10268
|
+
}, [f, l, c, m, E, u, P, C, g, L]);
|
|
10269
10269
|
var B = /* @__PURE__ */ React.createElement("div", _objectSpread2({
|
|
10270
10270
|
style: i,
|
|
10271
10271
|
ref: T
|
|
@@ -10285,7 +10285,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10285
10285
|
destroy: x,
|
|
10286
10286
|
animationContainerRef: T,
|
|
10287
10287
|
animationLoaded: b,
|
|
10288
|
-
animationItem:
|
|
10288
|
+
animationItem: A.current
|
|
10289
10289
|
};
|
|
10290
10290
|
};
|
|
10291
10291
|
function getContainerVisibility(e) {
|
|
@@ -10307,8 +10307,8 @@ var useInitInteractivity = function e(t) {
|
|
|
10307
10307
|
s.stop();
|
|
10308
10308
|
var f = function() {
|
|
10309
10309
|
var m = null, E = function() {
|
|
10310
|
-
var P = getContainerVisibility(o), C = a.find(function(
|
|
10311
|
-
var d =
|
|
10310
|
+
var P = getContainerVisibility(o), C = a.find(function(L) {
|
|
10311
|
+
var d = L.visibility;
|
|
10312
10312
|
return d && P >= d[0] && P <= d[1];
|
|
10313
10313
|
});
|
|
10314
10314
|
if (C) {
|
|
@@ -10325,19 +10325,19 @@ var useInitInteractivity = function e(t) {
|
|
|
10325
10325
|
};
|
|
10326
10326
|
}, l = function() {
|
|
10327
10327
|
var m = function(C, g) {
|
|
10328
|
-
var
|
|
10329
|
-
if (
|
|
10330
|
-
var y = getContainerCursorPosition(o,
|
|
10331
|
-
|
|
10332
|
-
}
|
|
10333
|
-
var p = a.find(function(
|
|
10334
|
-
var T =
|
|
10335
|
-
return T && Array.isArray(T.x) && Array.isArray(T.y) ?
|
|
10328
|
+
var L = C, d = g;
|
|
10329
|
+
if (L !== -1 && d !== -1) {
|
|
10330
|
+
var y = getContainerCursorPosition(o, L, d);
|
|
10331
|
+
L = y.x, d = y.y;
|
|
10332
|
+
}
|
|
10333
|
+
var p = a.find(function(A) {
|
|
10334
|
+
var T = A.position;
|
|
10335
|
+
return T && Array.isArray(T.x) && Array.isArray(T.y) ? L >= T.x[0] && L <= T.x[1] && d >= T.y[0] && d <= T.y[1] : T && !Number.isNaN(T.x) && !Number.isNaN(T.y) ? L === T.x && d === T.y : !1;
|
|
10336
10336
|
});
|
|
10337
10337
|
if (p) {
|
|
10338
10338
|
if (p.type === "seek" && p.position && Array.isArray(p.position.x) && Array.isArray(p.position.y) && p.frames.length === 2) {
|
|
10339
|
-
var b = (
|
|
10340
|
-
s.playSegments(p.frames, !0), s.goToAndStop(Math.ceil((b +
|
|
10339
|
+
var b = (L - p.position.x[0]) / (p.position.x[1] - p.position.x[0]), M = (d - p.position.y[0]) / (p.position.y[1] - p.position.y[0]);
|
|
10340
|
+
s.playSegments(p.frames, !0), s.goToAndStop(Math.ceil((b + M) / 2 * (p.frames[1] - p.frames[0])), !0);
|
|
10341
10341
|
}
|
|
10342
10342
|
p.type === "loop" && s.playSegments(p.frames, !0), p.type === "play" && (s.isPaused && s.resetSegments(!1), s.playSegments(p.frames)), p.type === "stop" && s.goToAndStop(p.frames[0], !0);
|
|
10343
10343
|
}
|
|
@@ -10367,7 +10367,7 @@ 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, g = l.goToAndPlay,
|
|
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, g = l.goToAndPlay, L = l.setDirection, d = l.playSegments, y = l.setSubframe, p = l.getDuration, b = l.destroy, M = l.animationContainerRef, A = l.animationLoaded, T = l.animationItem;
|
|
10371
10371
|
return useEffect(function() {
|
|
10372
10372
|
t.lottieRef && (t.lottieRef.current = {
|
|
10373
10373
|
play: m,
|
|
@@ -10376,13 +10376,13 @@ var useInitInteractivity = function e(t) {
|
|
|
10376
10376
|
setSpeed: P,
|
|
10377
10377
|
goToAndPlay: g,
|
|
10378
10378
|
goToAndStop: C,
|
|
10379
|
-
setDirection:
|
|
10379
|
+
setDirection: L,
|
|
10380
10380
|
playSegments: d,
|
|
10381
10381
|
setSubframe: y,
|
|
10382
10382
|
getDuration: p,
|
|
10383
10383
|
destroy: b,
|
|
10384
|
-
animationContainerRef:
|
|
10385
|
-
animationLoaded:
|
|
10384
|
+
animationContainerRef: M,
|
|
10385
|
+
animationLoaded: A,
|
|
10386
10386
|
animationItem: T
|
|
10387
10387
|
});
|
|
10388
10388
|
}, [(i = t.lottieRef) === null || i === void 0 ? void 0 : i.current]), useLottieInteractivity({
|
|
@@ -10394,13 +10394,13 @@ var useInitInteractivity = function e(t) {
|
|
|
10394
10394
|
setSpeed: P,
|
|
10395
10395
|
goToAndStop: C,
|
|
10396
10396
|
goToAndPlay: g,
|
|
10397
|
-
setDirection:
|
|
10397
|
+
setDirection: L,
|
|
10398
10398
|
playSegments: d,
|
|
10399
10399
|
setSubframe: y,
|
|
10400
10400
|
getDuration: p,
|
|
10401
10401
|
destroy: b,
|
|
10402
|
-
animationContainerRef:
|
|
10403
|
-
animationLoaded:
|
|
10402
|
+
animationContainerRef: M,
|
|
10403
|
+
animationLoaded: A,
|
|
10404
10404
|
animationItem: T
|
|
10405
10405
|
},
|
|
10406
10406
|
actions: (s = o == null ? void 0 : o.actions) !== null && s !== void 0 ? s : [],
|
|
@@ -11399,6 +11399,40 @@ const ArrowDownwardIcon = (e) => /* @__PURE__ */ jsx("svg", { width: "12", heigh
|
|
|
11399
11399
|
}
|
|
11400
11400
|
)
|
|
11401
11401
|
}
|
|
11402
|
+
), TimerIcon = (e) => /* @__PURE__ */ jsx(
|
|
11403
|
+
"svg",
|
|
11404
|
+
{
|
|
11405
|
+
width: "16",
|
|
11406
|
+
height: "19",
|
|
11407
|
+
viewBox: "0 0 16 19",
|
|
11408
|
+
fill: "none",
|
|
11409
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11410
|
+
...e,
|
|
11411
|
+
children: /* @__PURE__ */ jsx(
|
|
11412
|
+
"path",
|
|
11413
|
+
{
|
|
11414
|
+
d: "M5.5 2.49998V0.833313H10.5V2.49998H5.5ZM7.16667 11.6666H8.83333V6.66665H7.16667V11.6666ZM8 18.3333C6.97222 18.3333 6.00347 18.1354 5.09375 17.7396C4.18403 17.3437 3.38889 16.8055 2.70833 16.125C2.02778 15.4444 1.48958 14.6493 1.09375 13.7396C0.697917 12.8298 0.5 11.8611 0.5 10.8333C0.5 9.80554 0.697917 8.83679 1.09375 7.92706C1.48958 7.01734 2.02778 6.2222 2.70833 5.54165C3.38889 4.86109 4.18403 4.3229 5.09375 3.92706C6.00347 3.53123 6.97222 3.33331 8 3.33331C8.86111 3.33331 9.6875 3.4722 10.4792 3.74998C11.2708 4.02776 12.0139 4.43054 12.7083 4.95831L13.875 3.79165L15.0417 4.95831L13.875 6.12498C14.4028 6.81942 14.8056 7.56248 15.0833 8.35415C15.3611 9.14581 15.5 9.9722 15.5 10.8333C15.5 11.8611 15.3021 12.8298 14.9062 13.7396C14.5104 14.6493 13.9722 15.4444 13.2917 16.125C12.6111 16.8055 11.816 17.3437 10.9062 17.7396C9.99653 18.1354 9.02778 18.3333 8 18.3333ZM8 16.6666C9.61111 16.6666 10.9861 16.0972 12.125 14.9583C13.2639 13.8194 13.8333 12.4444 13.8333 10.8333C13.8333 9.2222 13.2639 7.8472 12.125 6.70831C10.9861 5.56942 9.61111 4.99998 8 4.99998C6.38889 4.99998 5.01389 5.56942 3.875 6.70831C2.73611 7.8472 2.16667 9.2222 2.16667 10.8333C2.16667 12.4444 2.73611 13.8194 3.875 14.9583C5.01389 16.0972 6.38889 16.6666 8 16.6666Z",
|
|
11415
|
+
fill: "#554B6A"
|
|
11416
|
+
}
|
|
11417
|
+
)
|
|
11418
|
+
}
|
|
11419
|
+
), ReferralIcon = (e) => /* @__PURE__ */ jsx(
|
|
11420
|
+
"svg",
|
|
11421
|
+
{
|
|
11422
|
+
width: "20",
|
|
11423
|
+
height: "14",
|
|
11424
|
+
viewBox: "0 0 20 14",
|
|
11425
|
+
fill: "none",
|
|
11426
|
+
xmlns: "http://www.w3.org/2000/svg",
|
|
11427
|
+
...e,
|
|
11428
|
+
children: /* @__PURE__ */ jsx(
|
|
11429
|
+
"path",
|
|
11430
|
+
{
|
|
11431
|
+
d: "M10.4167 6.95831C10.8194 6.51387 11.1285 6.00692 11.3438 5.43748C11.559 4.86804 11.6667 4.27776 11.6667 3.66665C11.6667 3.05554 11.559 2.46526 11.3438 1.89581C11.1285 1.32637 10.8194 0.819424 10.4167 0.37498C11.25 0.486091 11.9444 0.854146 12.5 1.47915C13.0556 2.10415 13.3333 2.83331 13.3333 3.66665C13.3333 4.49998 13.0556 5.22915 12.5 5.85415C11.9444 6.47915 11.25 6.8472 10.4167 6.95831ZM15 13.6666V11.1666C15 10.6666 14.8889 10.191 14.6667 9.73956C14.4444 9.28817 14.1528 8.88887 13.7917 8.54165C14.5 8.79165 15.1562 9.11456 15.7604 9.5104C16.3646 9.90623 16.6667 10.4583 16.6667 11.1666V13.6666H15ZM16.6667 7.83331V6.16665H15V4.49998H16.6667V2.83331H18.3333V4.49998H20V6.16665H18.3333V7.83331H16.6667ZM6.66667 6.99998C5.75 6.99998 4.96528 6.67359 4.3125 6.02081C3.65972 5.36804 3.33333 4.58331 3.33333 3.66665C3.33333 2.74998 3.65972 1.96526 4.3125 1.31248C4.96528 0.659702 5.75 0.333313 6.66667 0.333313C7.58333 0.333313 8.36806 0.659702 9.02083 1.31248C9.67361 1.96526 10 2.74998 10 3.66665C10 4.58331 9.67361 5.36804 9.02083 6.02081C8.36806 6.67359 7.58333 6.99998 6.66667 6.99998ZM0 13.6666V11.3333C0 10.8611 0.121528 10.4271 0.364583 10.0312C0.607639 9.6354 0.930556 9.33331 1.33333 9.12498C2.19444 8.69442 3.06944 8.37151 3.95833 8.15623C4.84722 7.94095 5.75 7.83331 6.66667 7.83331C7.58333 7.83331 8.48611 7.94095 9.375 8.15623C10.2639 8.37151 11.1389 8.69442 12 9.12498C12.4028 9.33331 12.7257 9.6354 12.9688 10.0312C13.2118 10.4271 13.3333 10.8611 13.3333 11.3333V13.6666H0ZM6.66667 5.33331C7.125 5.33331 7.51736 5.17012 7.84375 4.84373C8.17014 4.51734 8.33333 4.12498 8.33333 3.66665C8.33333 3.20831 8.17014 2.81595 7.84375 2.48956C7.51736 2.16317 7.125 1.99998 6.66667 1.99998C6.20833 1.99998 5.81597 2.16317 5.48958 2.48956C5.16319 2.81595 5 3.20831 5 3.66665C5 4.12498 5.16319 4.51734 5.48958 4.84373C5.81597 5.17012 6.20833 5.33331 6.66667 5.33331ZM1.66667 12H11.6667V11.3333C11.6667 11.1805 11.6285 11.0416 11.5521 10.9166C11.4757 10.7916 11.375 10.6944 11.25 10.625C10.5 10.25 9.74306 9.96873 8.97917 9.78123C8.21528 9.59373 7.44444 9.49998 6.66667 9.49998C5.88889 9.49998 5.11806 9.59373 4.35417 9.78123C3.59028 9.96873 2.83333 10.25 2.08333 10.625C1.95833 10.6944 1.85764 10.7916 1.78125 10.9166C1.70486 11.0416 1.66667 11.1805 1.66667 11.3333V12Z",
|
|
11432
|
+
fill: "#554B6A"
|
|
11433
|
+
}
|
|
11434
|
+
)
|
|
11435
|
+
}
|
|
11402
11436
|
), ArbitrumLogo = (e) => /* @__PURE__ */ jsxs("svg", { width: "18", height: "20", viewBox: "0 0 18 20", ...e, fill: "none", xmlns: "http://www.w3.org/2000/svg", children: [
|
|
11403
11437
|
/* @__PURE__ */ jsx("path", { d: "M0.671875 6.07916V13.9193C0.671875 14.4199 0.939395 14.8827 1.37268 15.1322L8.16244 19.0531C8.59572 19.3025 9.12912 19.3025 9.5624 19.0531L16.3522 15.1322C16.7854 14.8827 17.053 14.4199 17.053 13.9193V6.07916C17.053 5.57858 16.7854 5.11576 16.3522 4.86629L9.5624 0.945401C9.12912 0.695934 8.59572 0.695934 8.16244 0.945401L1.37104 4.86629C0.937754 5.11576 0.671875 5.57858 0.671875 6.07916Z", fill: "#213147" }),
|
|
11404
11438
|
/* @__PURE__ */ jsx("path", { d: "M10.3474 11.5195L9.37907 14.175C9.35281 14.2488 9.35281 14.3292 9.37907 14.4031L11.0449 18.9723L12.9717 17.8595L10.6592 11.5195C10.6067 11.3734 10.3999 11.3734 10.3474 11.5195Z", fill: "#12AAFF" }),
|
|
@@ -12987,45 +13021,45 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
12987
13021
|
var build = { exports: {} };
|
|
12988
13022
|
(() => {
|
|
12989
13023
|
var e = { 181: (n, a, o) => {
|
|
12990
|
-
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")(), g = Object.prototype.toString,
|
|
13024
|
+
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")(), g = Object.prototype.toString, L = Math.max, d = Math.min, y = function() {
|
|
12991
13025
|
return C.Date.now();
|
|
12992
13026
|
};
|
|
12993
|
-
function p(
|
|
12994
|
-
var
|
|
12995
|
-
return !!
|
|
13027
|
+
function p(M) {
|
|
13028
|
+
var A = typeof M;
|
|
13029
|
+
return !!M && (A == "object" || A == "function");
|
|
12996
13030
|
}
|
|
12997
|
-
function b(
|
|
12998
|
-
if (typeof
|
|
13031
|
+
function b(M) {
|
|
13032
|
+
if (typeof M == "number") return M;
|
|
12999
13033
|
if (function(k) {
|
|
13000
13034
|
return typeof k == "symbol" || /* @__PURE__ */ function(H) {
|
|
13001
13035
|
return !!H && typeof H == "object";
|
|
13002
13036
|
}(k) && g.call(k) == "[object Symbol]";
|
|
13003
|
-
}(
|
|
13004
|
-
if (p(
|
|
13005
|
-
var
|
|
13006
|
-
|
|
13037
|
+
}(M)) return NaN;
|
|
13038
|
+
if (p(M)) {
|
|
13039
|
+
var A = typeof M.valueOf == "function" ? M.valueOf() : M;
|
|
13040
|
+
M = p(A) ? A + "" : A;
|
|
13007
13041
|
}
|
|
13008
|
-
if (typeof
|
|
13009
|
-
|
|
13010
|
-
var T = c.test(
|
|
13011
|
-
return T || m.test(
|
|
13042
|
+
if (typeof M != "string") return M === 0 ? M : +M;
|
|
13043
|
+
M = M.replace(f, "");
|
|
13044
|
+
var T = c.test(M);
|
|
13045
|
+
return T || m.test(M) ? E(M.slice(2), T ? 2 : 8) : l.test(M) ? NaN : +M;
|
|
13012
13046
|
}
|
|
13013
|
-
n.exports = function(
|
|
13047
|
+
n.exports = function(M, A, T) {
|
|
13014
13048
|
var k, H, X, N, j, Y, U = 0, Z = !1, _ = !1, I = !0;
|
|
13015
|
-
if (typeof
|
|
13049
|
+
if (typeof M != "function") throw new TypeError("Expected a function");
|
|
13016
13050
|
function x(q) {
|
|
13017
13051
|
var $ = k, J = H;
|
|
13018
|
-
return k = H = void 0, U = q, N =
|
|
13052
|
+
return k = H = void 0, U = q, N = M.apply(J, $);
|
|
13019
13053
|
}
|
|
13020
13054
|
function S(q) {
|
|
13021
13055
|
var $ = q - Y;
|
|
13022
|
-
return Y === void 0 || $ >=
|
|
13056
|
+
return Y === void 0 || $ >= A || $ < 0 || _ && q - U >= X;
|
|
13023
13057
|
}
|
|
13024
13058
|
function B() {
|
|
13025
13059
|
var q = y();
|
|
13026
13060
|
if (S(q)) return F(q);
|
|
13027
13061
|
j = setTimeout(B, function($) {
|
|
13028
|
-
var J =
|
|
13062
|
+
var J = A - ($ - Y);
|
|
13029
13063
|
return _ ? d(J, X - ($ - U)) : J;
|
|
13030
13064
|
}(q));
|
|
13031
13065
|
}
|
|
@@ -13036,23 +13070,23 @@ var build = { exports: {} };
|
|
|
13036
13070
|
var q = y(), $ = S(q);
|
|
13037
13071
|
if (k = arguments, H = this, Y = q, $) {
|
|
13038
13072
|
if (j === void 0) return function(J) {
|
|
13039
|
-
return U = J, j = setTimeout(B,
|
|
13073
|
+
return U = J, j = setTimeout(B, A), Z ? x(J) : N;
|
|
13040
13074
|
}(Y);
|
|
13041
|
-
if (_) return j = setTimeout(B,
|
|
13075
|
+
if (_) return j = setTimeout(B, A), x(Y);
|
|
13042
13076
|
}
|
|
13043
|
-
return j === void 0 && (j = setTimeout(B,
|
|
13077
|
+
return j === void 0 && (j = setTimeout(B, A)), N;
|
|
13044
13078
|
}
|
|
13045
|
-
return
|
|
13079
|
+
return A = b(A) || 0, p(T) && (Z = !!T.leading, X = (_ = "maxWait" in T) ? L(b(T.maxWait) || 0, A) : X, I = "trailing" in T ? !!T.trailing : I), G.cancel = function() {
|
|
13046
13080
|
j !== void 0 && clearTimeout(j), U = 0, k = Y = H = j = void 0;
|
|
13047
13081
|
}, G.flush = function() {
|
|
13048
13082
|
return j === void 0 ? N : F(y());
|
|
13049
13083
|
}, G;
|
|
13050
13084
|
};
|
|
13051
13085
|
}, 858: (n, a, o) => {
|
|
13052
|
-
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, g = typeof o.g == "object" && o.g && o.g.Object === Object && o.g,
|
|
13086
|
+
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, g = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, L = typeof self == "object" && self && self.Object === Object && self, d = g || L || Function("return this")(), y = Object.prototype.toString, p = Math.max, b = Math.min, M = function() {
|
|
13053
13087
|
return d.Date.now();
|
|
13054
13088
|
};
|
|
13055
|
-
function
|
|
13089
|
+
function A(k) {
|
|
13056
13090
|
var H = typeof k;
|
|
13057
13091
|
return !!k && (H == "object" || H == "function");
|
|
13058
13092
|
}
|
|
@@ -13063,9 +13097,9 @@ var build = { exports: {} };
|
|
|
13063
13097
|
return !!j && typeof j == "object";
|
|
13064
13098
|
}(N) && y.call(N) == c;
|
|
13065
13099
|
}(k)) return l;
|
|
13066
|
-
if (
|
|
13100
|
+
if (A(k)) {
|
|
13067
13101
|
var H = typeof k.valueOf == "function" ? k.valueOf() : k;
|
|
13068
|
-
k =
|
|
13102
|
+
k = A(H) ? H + "" : H;
|
|
13069
13103
|
}
|
|
13070
13104
|
if (typeof k != "string") return k === 0 ? k : +k;
|
|
13071
13105
|
k = k.replace(m, "");
|
|
@@ -13075,7 +13109,7 @@ var build = { exports: {} };
|
|
|
13075
13109
|
n.exports = function(k, H, X) {
|
|
13076
13110
|
var N = !0, j = !0;
|
|
13077
13111
|
if (typeof k != "function") throw new TypeError(f);
|
|
13078
|
-
return
|
|
13112
|
+
return A(X) && (N = "leading" in X ? !!X.leading : N, j = "trailing" in X ? !!X.trailing : j), function(Y, U, Z) {
|
|
13079
13113
|
var _, I, x, S, B, F, G = 0, q = !1, $ = !1, J = !0;
|
|
13080
13114
|
if (typeof Y != "function") throw new TypeError(f);
|
|
13081
13115
|
function re(se) {
|
|
@@ -13087,7 +13121,7 @@ var build = { exports: {} };
|
|
|
13087
13121
|
return F === void 0 || oe >= U || oe < 0 || $ && se - G >= x;
|
|
13088
13122
|
}
|
|
13089
13123
|
function pe() {
|
|
13090
|
-
var se =
|
|
13124
|
+
var se = M();
|
|
13091
13125
|
if (le(se)) return ue(se);
|
|
13092
13126
|
B = setTimeout(pe, function(oe) {
|
|
13093
13127
|
var te = U - (oe - F);
|
|
@@ -13098,7 +13132,7 @@ var build = { exports: {} };
|
|
|
13098
13132
|
return B = void 0, J && _ ? re(se) : (_ = I = void 0, S);
|
|
13099
13133
|
}
|
|
13100
13134
|
function ce() {
|
|
13101
|
-
var se =
|
|
13135
|
+
var se = M(), oe = le(se);
|
|
13102
13136
|
if (_ = arguments, I = this, F = se, oe) {
|
|
13103
13137
|
if (B === void 0) return function(te) {
|
|
13104
13138
|
return G = te, B = setTimeout(pe, U), q ? re(te) : S;
|
|
@@ -13107,10 +13141,10 @@ var build = { exports: {} };
|
|
|
13107
13141
|
}
|
|
13108
13142
|
return B === void 0 && (B = setTimeout(pe, U)), S;
|
|
13109
13143
|
}
|
|
13110
|
-
return U = T(U) || 0,
|
|
13144
|
+
return U = T(U) || 0, A(Z) && (q = !!Z.leading, x = ($ = "maxWait" in Z) ? p(T(Z.maxWait) || 0, U) : x, J = "trailing" in Z ? !!Z.trailing : J), ce.cancel = function() {
|
|
13111
13145
|
B !== void 0 && clearTimeout(B), G = 0, _ = F = I = B = void 0;
|
|
13112
13146
|
}, ce.flush = function() {
|
|
13113
|
-
return B === void 0 ? S : ue(
|
|
13147
|
+
return B === void 0 ? S : ue(M());
|
|
13114
13148
|
}, ce;
|
|
13115
13149
|
}(k, H, { leading: N, maxWait: H, trailing: j });
|
|
13116
13150
|
};
|
|
@@ -13121,7 +13155,7 @@ var build = { exports: {} };
|
|
|
13121
13155
|
function c() {
|
|
13122
13156
|
}
|
|
13123
13157
|
c.resetWarningCache = l, n.exports = function() {
|
|
13124
|
-
function m(P, C, g,
|
|
13158
|
+
function m(P, C, g, L, d, y) {
|
|
13125
13159
|
if (y !== f) {
|
|
13126
13160
|
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");
|
|
13127
13161
|
throw p.name = "Invariant Violation", p;
|
|
@@ -13232,10 +13266,10 @@ var build = { exports: {} };
|
|
|
13232
13266
|
return V.__proto__ || Object.getPrototypeOf(V);
|
|
13233
13267
|
}, g(D);
|
|
13234
13268
|
}
|
|
13235
|
-
function
|
|
13236
|
-
return
|
|
13269
|
+
function L(D, V) {
|
|
13270
|
+
return L = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
13237
13271
|
return O.__proto__ = W, O;
|
|
13238
|
-
},
|
|
13272
|
+
}, L(D, V);
|
|
13239
13273
|
}
|
|
13240
13274
|
var d = function(D) {
|
|
13241
13275
|
D.forEach(function(V) {
|
|
@@ -13256,7 +13290,7 @@ var build = { exports: {} };
|
|
|
13256
13290
|
}
|
|
13257
13291
|
return function(R, z) {
|
|
13258
13292
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13259
|
-
R.prototype = Object.create(z && z.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), z &&
|
|
13293
|
+
R.prototype = Object.create(z && z.prototype, { constructor: { value: R, writable: !0, configurable: !0 } }), Object.defineProperty(R, "prototype", { writable: !1 }), z && L(R, z);
|
|
13260
13294
|
}(V, D), O = V, W = [{ key: "componentDidMount", value: function() {
|
|
13261
13295
|
this.placeholder && this.observer && (this.placeholder.onVisible = this.props.onVisible, this.observer.observe(this.placeholder)), this.supportsObserver || this.updateVisibility();
|
|
13262
13296
|
} }, { key: "componentWillUnmount", value: function() {
|
|
@@ -13296,7 +13330,7 @@ var build = { exports: {} };
|
|
|
13296
13330
|
}(a().Component);
|
|
13297
13331
|
p.propTypes = { onVisible: o.PropTypes.func.isRequired, className: o.PropTypes.string, height: o.PropTypes.oneOfType([o.PropTypes.number, o.PropTypes.string]), placeholder: o.PropTypes.element, threshold: o.PropTypes.number, useIntersectionObserver: o.PropTypes.bool, scrollPosition: o.PropTypes.shape({ x: o.PropTypes.number.isRequired, y: o.PropTypes.number.isRequired }), width: o.PropTypes.oneOfType([o.PropTypes.number, o.PropTypes.string]) }, p.defaultProps = { className: "", placeholder: null, threshold: 100, useIntersectionObserver: !0 };
|
|
13298
13332
|
const b = p;
|
|
13299
|
-
var
|
|
13333
|
+
var M = i(181), A = i.n(M), T = i(858), k = i.n(T), H = function(D) {
|
|
13300
13334
|
var V = getComputedStyle(D, null);
|
|
13301
13335
|
return V.getPropertyValue("overflow") + V.getPropertyValue("overflow-y") + V.getPropertyValue("overflow-x");
|
|
13302
13336
|
};
|
|
@@ -13388,7 +13422,7 @@ var build = { exports: {} };
|
|
|
13388
13422
|
if (!(ne instanceof he)) throw new TypeError("Cannot call a class as a function");
|
|
13389
13423
|
}(this, W), (Q = _(this, W, [ee])).useIntersectionObserver = ee.useIntersectionObserver && f(), Q.useIntersectionObserver) return I(Q);
|
|
13390
13424
|
var ie = Q.onChangeScroll.bind(Q);
|
|
13391
|
-
return ee.delayMethod === "debounce" ? Q.delayedScroll =
|
|
13425
|
+
return ee.delayMethod === "debounce" ? Q.delayedScroll = A()(ie, ee.delayTime) : ee.delayMethod === "throttle" && (Q.delayedScroll = k()(ie, ee.delayTime)), Q.state = { scrollPosition: { x: F(), y: G() } }, Q.baseComponentRef = a().createRef(), Q;
|
|
13392
13426
|
}
|
|
13393
13427
|
return function(ee, Q) {
|
|
13394
13428
|
if (typeof Q != "function" && Q !== null) throw new TypeError("Super expression must either be null or a function");
|
|
@@ -13510,10 +13544,10 @@ var build = { exports: {} };
|
|
|
13510
13544
|
function K(D, V) {
|
|
13511
13545
|
for (var O = 0; O < V.length; O++) {
|
|
13512
13546
|
var W = V[O];
|
|
13513
|
-
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D,
|
|
13547
|
+
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, Me(W.key), W);
|
|
13514
13548
|
}
|
|
13515
13549
|
}
|
|
13516
|
-
function
|
|
13550
|
+
function Me(D) {
|
|
13517
13551
|
var V = function(O, W) {
|
|
13518
13552
|
if (te(O) != "object" || !O) return O;
|
|
13519
13553
|
var R = O[Symbol.toPrimitive];
|
|
@@ -13526,7 +13560,7 @@ var build = { exports: {} };
|
|
|
13526
13560
|
}(D);
|
|
13527
13561
|
return te(V) == "symbol" ? V : V + "";
|
|
13528
13562
|
}
|
|
13529
|
-
function
|
|
13563
|
+
function Ae(D, V, O) {
|
|
13530
13564
|
return V = ge(V), function(W, R) {
|
|
13531
13565
|
if (R && (te(R) == "object" || typeof R == "function")) return R;
|
|
13532
13566
|
if (R !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
|
|
@@ -13561,7 +13595,7 @@ var build = { exports: {} };
|
|
|
13561
13595
|
var z;
|
|
13562
13596
|
(function(he, fe) {
|
|
13563
13597
|
if (!(he instanceof fe)) throw new TypeError("Cannot call a class as a function");
|
|
13564
|
-
})(this, V), z =
|
|
13598
|
+
})(this, V), z = Ae(this, V, [R]);
|
|
13565
13599
|
var ee = R.afterLoad, Q = R.beforeLoad, ie = R.scrollPosition, ne = R.visibleByDefault;
|
|
13566
13600
|
return z.state = { visible: ne }, ne && (Q(), ee()), z.onVisible = z.onVisible.bind(z), z.isScrollTracked = !!(ie && Number.isFinite(ie.x) && ie.x >= 0 && Number.isFinite(ie.y) && ie.y >= 0), z;
|
|
13567
13601
|
}
|
|
@@ -13603,7 +13637,7 @@ var build = { exports: {} };
|
|
|
13603
13637
|
}
|
|
13604
13638
|
return O;
|
|
13605
13639
|
}
|
|
13606
|
-
function
|
|
13640
|
+
function Le(D) {
|
|
13607
13641
|
for (var V = 1; V < arguments.length; V++) {
|
|
13608
13642
|
var O = arguments[V] != null ? arguments[V] : {};
|
|
13609
13643
|
V % 2 ? be(Object(O), !0).forEach(function(W) {
|
|
@@ -13714,7 +13748,7 @@ var build = { exports: {} };
|
|
|
13714
13748
|
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: ye, width: He }, this.getImg());
|
|
13715
13749
|
} }, { key: "getWrappedLazyLoadImage", value: function(R) {
|
|
13716
13750
|
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%" };
|
|
13717
|
-
return a().createElement("span", Ee({ className: he + " lazy-load-image-background " + ee + ve, style:
|
|
13751
|
+
return a().createElement("span", Ee({ className: he + " lazy-load-image-background " + ee + ve, style: Le(Le({}, de), {}, { color: "transparent", display: "inline-block", height: Q, width: ne }) }, fe), R);
|
|
13718
13752
|
} }, { key: "render", value: function() {
|
|
13719
13753
|
var R = this.props, z = R.effect, ee = R.placeholderSrc, Q = R.visibleByDefault, ie = R.wrapperClassName, ne = R.wrapperProps, he = this.getLazyLoadImage();
|
|
13720
13754
|
return (z || ee) && !Q || ie || ne ? this.getWrappedLazyLoadImage(he) : he;
|
|
@@ -13881,12 +13915,14 @@ export {
|
|
|
13881
13915
|
RadiantLogo,
|
|
13882
13916
|
RadioCheckedIcon,
|
|
13883
13917
|
RadioUncheckedIcon,
|
|
13918
|
+
ReferralIcon,
|
|
13884
13919
|
RemoveIcon,
|
|
13885
13920
|
SearchIcon,
|
|
13886
13921
|
Sidebar,
|
|
13887
13922
|
Solv,
|
|
13888
13923
|
StarIcon,
|
|
13889
13924
|
SwellBTC,
|
|
13925
|
+
TimerIcon,
|
|
13890
13926
|
TokenInfo,
|
|
13891
13927
|
TraderJoe,
|
|
13892
13928
|
TrailOfBits,
|