@gardenfi/garden-book 0.1.38 → 0.1.39
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/style.css +1 -1
- package/dist/ui.cjs.js +1 -1
- package/dist/ui.es.js +396 -388
- package/dist/ui.umd.js +5 -5
- package/package.json +1 -1
package/dist/ui.es.js
CHANGED
|
@@ -25,14 +25,14 @@ const falsyToString = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0
|
|
|
25
25
|
}, {}), l = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((p, m) => {
|
|
26
26
|
let { class: E, className: u, ...P } = m;
|
|
27
27
|
return Object.entries(P).every((C) => {
|
|
28
|
-
let [y,
|
|
29
|
-
return Array.isArray(
|
|
28
|
+
let [y, L] = C;
|
|
29
|
+
return Array.isArray(L) ? L.includes({
|
|
30
30
|
...a,
|
|
31
31
|
...f
|
|
32
32
|
}[y]) : {
|
|
33
33
|
...a,
|
|
34
34
|
...f
|
|
35
|
-
}[y] ===
|
|
35
|
+
}[y] === L;
|
|
36
36
|
}) ? [
|
|
37
37
|
...p,
|
|
38
38
|
E,
|
|
@@ -182,15 +182,15 @@ function createParseClassName(e) {
|
|
|
182
182
|
function o(f) {
|
|
183
183
|
const l = [];
|
|
184
184
|
let p = 0, m = 0, E;
|
|
185
|
-
for (let
|
|
186
|
-
let d = f[
|
|
185
|
+
for (let L = 0; L < f.length; L++) {
|
|
186
|
+
let d = f[L];
|
|
187
187
|
if (p === 0) {
|
|
188
|
-
if (d === n && (s || f.slice(
|
|
189
|
-
l.push(f.slice(m,
|
|
188
|
+
if (d === n && (s || f.slice(L, L + a) === t)) {
|
|
189
|
+
l.push(f.slice(m, L)), m = L + a;
|
|
190
190
|
continue;
|
|
191
191
|
}
|
|
192
192
|
if (d === "/") {
|
|
193
|
-
E =
|
|
193
|
+
E = L;
|
|
194
194
|
continue;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
@@ -368,7 +368,7 @@ function isImage(e) {
|
|
|
368
368
|
return imageRegex.test(e);
|
|
369
369
|
}
|
|
370
370
|
function getDefaultConfig() {
|
|
371
|
-
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), s = fromTheme("brightness"), n = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), f = fromTheme("borderWidth"), l = fromTheme("contrast"), p = fromTheme("grayscale"), m = fromTheme("hueRotate"), E = fromTheme("invert"), u = fromTheme("gap"), P = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), y = fromTheme("inset"),
|
|
371
|
+
const e = fromTheme("colors"), t = fromTheme("spacing"), i = fromTheme("blur"), s = fromTheme("brightness"), n = fromTheme("borderColor"), a = fromTheme("borderRadius"), o = fromTheme("borderSpacing"), f = fromTheme("borderWidth"), l = fromTheme("contrast"), p = fromTheme("grayscale"), m = fromTheme("hueRotate"), E = fromTheme("invert"), u = fromTheme("gap"), P = fromTheme("gradientColorStops"), C = fromTheme("gradientColorStopPositions"), y = fromTheme("inset"), L = fromTheme("margin"), d = fromTheme("opacity"), g = fromTheme("padding"), c = fromTheme("saturate"), b = fromTheme("scale"), M = fromTheme("sepia"), A = fromTheme("skew"), T = fromTheme("space"), k = fromTheme("translate"), R = () => ["auto", "contain", "none"], X = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", isArbitraryValue, t], j = () => [isArbitraryValue, t], Y = () => ["", isLength, isArbitraryLength], U = () => ["auto", isNumber, isArbitraryValue], Z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], _ = () => ["solid", "dashed", "dotted", "double", "none"], I = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], S = () => ["", "0", isArbitraryValue], B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [isNumber, isArbitraryNumber], G = () => [isNumber, isArbitraryValue];
|
|
372
372
|
return {
|
|
373
373
|
cacheSize: 500,
|
|
374
374
|
separator: ":",
|
|
@@ -899,63 +899,63 @@ function getDefaultConfig() {
|
|
|
899
899
|
* @see https://tailwindcss.com/docs/margin
|
|
900
900
|
*/
|
|
901
901
|
m: [{
|
|
902
|
-
m: [
|
|
902
|
+
m: [L]
|
|
903
903
|
}],
|
|
904
904
|
/**
|
|
905
905
|
* Margin X
|
|
906
906
|
* @see https://tailwindcss.com/docs/margin
|
|
907
907
|
*/
|
|
908
908
|
mx: [{
|
|
909
|
-
mx: [
|
|
909
|
+
mx: [L]
|
|
910
910
|
}],
|
|
911
911
|
/**
|
|
912
912
|
* Margin Y
|
|
913
913
|
* @see https://tailwindcss.com/docs/margin
|
|
914
914
|
*/
|
|
915
915
|
my: [{
|
|
916
|
-
my: [
|
|
916
|
+
my: [L]
|
|
917
917
|
}],
|
|
918
918
|
/**
|
|
919
919
|
* Margin Start
|
|
920
920
|
* @see https://tailwindcss.com/docs/margin
|
|
921
921
|
*/
|
|
922
922
|
ms: [{
|
|
923
|
-
ms: [
|
|
923
|
+
ms: [L]
|
|
924
924
|
}],
|
|
925
925
|
/**
|
|
926
926
|
* Margin End
|
|
927
927
|
* @see https://tailwindcss.com/docs/margin
|
|
928
928
|
*/
|
|
929
929
|
me: [{
|
|
930
|
-
me: [
|
|
930
|
+
me: [L]
|
|
931
931
|
}],
|
|
932
932
|
/**
|
|
933
933
|
* Margin Top
|
|
934
934
|
* @see https://tailwindcss.com/docs/margin
|
|
935
935
|
*/
|
|
936
936
|
mt: [{
|
|
937
|
-
mt: [
|
|
937
|
+
mt: [L]
|
|
938
938
|
}],
|
|
939
939
|
/**
|
|
940
940
|
* Margin Right
|
|
941
941
|
* @see https://tailwindcss.com/docs/margin
|
|
942
942
|
*/
|
|
943
943
|
mr: [{
|
|
944
|
-
mr: [
|
|
944
|
+
mr: [L]
|
|
945
945
|
}],
|
|
946
946
|
/**
|
|
947
947
|
* Margin Bottom
|
|
948
948
|
* @see https://tailwindcss.com/docs/margin
|
|
949
949
|
*/
|
|
950
950
|
mb: [{
|
|
951
|
-
mb: [
|
|
951
|
+
mb: [L]
|
|
952
952
|
}],
|
|
953
953
|
/**
|
|
954
954
|
* Margin Left
|
|
955
955
|
* @see https://tailwindcss.com/docs/margin
|
|
956
956
|
*/
|
|
957
957
|
ml: [{
|
|
958
|
-
ml: [
|
|
958
|
+
ml: [L]
|
|
959
959
|
}],
|
|
960
960
|
/**
|
|
961
961
|
* Space Between X
|
|
@@ -1827,7 +1827,7 @@ function getDefaultConfig() {
|
|
|
1827
1827
|
* @see https://tailwindcss.com/docs/sepia
|
|
1828
1828
|
*/
|
|
1829
1829
|
sepia: [{
|
|
1830
|
-
sepia: [
|
|
1830
|
+
sepia: [M]
|
|
1831
1831
|
}],
|
|
1832
1832
|
/**
|
|
1833
1833
|
* Backdrop Filter
|
|
@@ -1898,7 +1898,7 @@ function getDefaultConfig() {
|
|
|
1898
1898
|
* @see https://tailwindcss.com/docs/backdrop-sepia
|
|
1899
1899
|
*/
|
|
1900
1900
|
"backdrop-sepia": [{
|
|
1901
|
-
"backdrop-sepia": [
|
|
1901
|
+
"backdrop-sepia": [M]
|
|
1902
1902
|
}],
|
|
1903
1903
|
// Tables
|
|
1904
1904
|
/**
|
|
@@ -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 = c(I.refId, _),
|
|
2701
|
+
I.ty === 0 ? (I.layers = c(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 = c(Z[I].data.refId, _),
|
|
2708
|
+
Z[I].t === 1 && (Z[I].data.layers = c(Z[I].data.refId, _), L(Z[I].data.layers, _));
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
2711
|
function g(Z, _) {
|
|
@@ -2725,13 +2725,13 @@ 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];
|
|
@@ -2917,20 +2917,20 @@ var lottie$1 = { exports: {} };
|
|
|
2917
2917
|
};
|
|
2918
2918
|
}();
|
|
2919
2919
|
function j(Z) {
|
|
2920
|
-
Z.__complete || (X(Z), T(Z), k(Z), R(Z), N(Z),
|
|
2920
|
+
Z.__complete || (X(Z), T(Z), k(Z), R(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 = R, U.checkShapes = N, U.completeLayers =
|
|
2926
|
+
return U.completeData = j, U.checkColors = X, U.checkChars = k, U.checkPathProperties = R, 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(g) {
|
|
2930
2930
|
var c = g.getResponseHeader("content-type");
|
|
2931
2931
|
return c && g.responseType === "json" && c.indexOf("json") !== -1 || g.response && _typeof$5(g.response) === "object" ? g.response : g.response && typeof g.response == "string" ? JSON.parse(g.response) : g.responseText ? JSON.parse(g.responseText) : null;
|
|
2932
2932
|
}
|
|
2933
|
-
function d(g, c, b,
|
|
2933
|
+
function d(g, c, b, M) {
|
|
2934
2934
|
var A, T = new XMLHttpRequest();
|
|
2935
2935
|
try {
|
|
2936
2936
|
T.responseType = "json";
|
|
@@ -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
|
-
A =
|
|
2942
|
+
A = L(T), b(A);
|
|
2943
2943
|
else
|
|
2944
2944
|
try {
|
|
2945
|
-
A =
|
|
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: y,
|
|
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 (g) {
|
|
3057
|
-
var
|
|
3058
|
-
|
|
3057
|
+
var M = d.p;
|
|
3058
|
+
M.indexOf("images/") !== -1 && (M = M.split("/")[1]), b = g + M;
|
|
3059
3059
|
} else
|
|
3060
3060
|
b = c, b += d.u ? d.u : "", b += d.p;
|
|
3061
3061
|
return b;
|
|
@@ -3130,10 +3130,10 @@ var lottie$1 = { exports: {} };
|
|
|
3130
3130
|
function y(d, g) {
|
|
3131
3131
|
d === "svg" ? (this._elementHelper = g, 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: p,
|
|
@@ -3146,7 +3146,7 @@ var lottie$1 = { exports: {} };
|
|
|
3146
3146
|
imageLoaded: t,
|
|
3147
3147
|
footageLoaded: i,
|
|
3148
3148
|
setCacheType: y
|
|
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,7 +3543,7 @@ 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(_);
|
|
@@ -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 = y, e.play =
|
|
3602
|
+
return e.registerAnimation = l, e.loadAnimation = P, e.setSpeed = C, e.setDirection = y, e.play = L, e.pause = c, e.stop = M, e.togglePause = A, e.searchAnimations = k, e.resize = R, e.goToAndStop = b, e.destroy = T, e.freeze = N, e.unfreeze = j, e.setVolume = Y, e.mute = U, e.unmute = Z, e.getRegisteredAnimations = p, e;
|
|
3603
3603
|
}(), BezierFactory = function() {
|
|
3604
3604
|
var e = {};
|
|
3605
3605
|
e.getBezierEasing = i;
|
|
3606
3606
|
var t = {};
|
|
3607
|
-
function i(g, c, b,
|
|
3608
|
-
var T = A || ("bez_" + g + "_" + c + "_" + b + "_" +
|
|
3607
|
+
function i(g, c, b, M, A) {
|
|
3608
|
+
var T = A || ("bez_" + g + "_" + c + "_" + b + "_" + M).replace(/\./g, "p");
|
|
3609
3609
|
if (t[T])
|
|
3610
3610
|
return t[T];
|
|
3611
|
-
var k = new d([g, c, b,
|
|
3611
|
+
var k = new d([g, c, 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), p = typeof Float32Array == "function";
|
|
@@ -3627,18 +3627,18 @@ var lottie$1 = { exports: {} };
|
|
|
3627
3627
|
function C(g, c, b) {
|
|
3628
3628
|
return 3 * m(c, b) * g * g + 2 * E(c, b) * g + u(c);
|
|
3629
3629
|
}
|
|
3630
|
-
function y(g, c, b,
|
|
3630
|
+
function y(g, c, b, M, A) {
|
|
3631
3631
|
var T, k, R = 0;
|
|
3632
3632
|
do
|
|
3633
|
-
k = c + (b - c) / 2, T = P(k,
|
|
3633
|
+
k = c + (b - c) / 2, T = P(k, M, A) - g, T > 0 ? b = k : c = k;
|
|
3634
3634
|
while (Math.abs(T) > a && ++R < o);
|
|
3635
3635
|
return k;
|
|
3636
3636
|
}
|
|
3637
|
-
function
|
|
3637
|
+
function L(g, c, b, M) {
|
|
3638
3638
|
for (var A = 0; A < s; ++A) {
|
|
3639
|
-
var T = C(c, b,
|
|
3639
|
+
var T = C(c, b, M);
|
|
3640
3640
|
if (T === 0) return c;
|
|
3641
|
-
var k = P(c, b,
|
|
3641
|
+
var k = P(c, b, M) - g;
|
|
3642
3642
|
c -= k / T;
|
|
3643
3643
|
}
|
|
3644
3644
|
return c;
|
|
@@ -3648,27 +3648,27 @@ var lottie$1 = { exports: {} };
|
|
|
3648
3648
|
}
|
|
3649
3649
|
return d.prototype = {
|
|
3650
3650
|
get: function(c) {
|
|
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 ? c : c === 0 ? 0 : c === 1 ? 1 : P(this._getTForX(c), M, T);
|
|
3653
3653
|
},
|
|
3654
3654
|
// Private part
|
|
3655
3655
|
_precompute: function() {
|
|
3656
|
-
var c = this._p[0], b = this._p[1],
|
|
3657
|
-
this._precomputed = !0, (c !== b ||
|
|
3656
|
+
var c = this._p[0], b = this._p[1], M = this._p[2], A = this._p[3];
|
|
3657
|
+
this._precomputed = !0, (c !== b || M !== A) && this._calcSampleValues();
|
|
3658
3658
|
},
|
|
3659
3659
|
_calcSampleValues: function() {
|
|
3660
|
-
for (var c = this._p[0], b = this._p[2],
|
|
3661
|
-
this._mSampleValues[
|
|
3660
|
+
for (var c = this._p[0], b = this._p[2], M = 0; M < f; ++M)
|
|
3661
|
+
this._mSampleValues[M] = P(M * l, c, 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(c) {
|
|
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, R = f - 1; k !== R && A[k] <= c; ++k)
|
|
3668
3668
|
T += l;
|
|
3669
3669
|
--k;
|
|
3670
|
-
var X = (c - A[k]) / (A[k + 1] - A[k]), N = T + X * l, j = C(N, b,
|
|
3671
|
-
return j >= n ?
|
|
3670
|
+
var X = (c - A[k]) / (A[k + 1] - A[k]), N = T + X * l, j = C(N, b, M);
|
|
3671
|
+
return j >= n ? L(c, N, b, M) : j === 0 ? N : y(c, 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, y,
|
|
3723
|
-
var g = u * y + P *
|
|
3722
|
+
function t(u, P, C, y, L, d) {
|
|
3723
|
+
var g = u * y + P * L + C * d - L * y - d * u - C * P;
|
|
3724
3724
|
return g > -1e-3 && g < 1e-3;
|
|
3725
3725
|
}
|
|
3726
|
-
function i(u, P, C, y,
|
|
3726
|
+
function i(u, P, C, y, L, d, g, c, b) {
|
|
3727
3727
|
if (C === 0 && d === 0 && b === 0)
|
|
3728
|
-
return t(u, P, y,
|
|
3729
|
-
var
|
|
3730
|
-
return
|
|
3728
|
+
return t(u, P, y, L, g, c);
|
|
3729
|
+
var M = e.sqrt(e.pow(y - u, 2) + e.pow(L - P, 2) + e.pow(d - C, 2)), A = e.sqrt(e.pow(g - u, 2) + e.pow(c - P, 2) + e.pow(b - C, 2)), T = e.sqrt(e.pow(g - y, 2) + e.pow(c - 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, y) {
|
|
3734
|
-
var
|
|
3735
|
-
for (c = C.length, d = 0; d <
|
|
3736
|
-
for (
|
|
3737
|
-
b = bmPow(1 -
|
|
3738
|
-
T && (T = bmSqrt(T), A += T), X.percents[d] =
|
|
3734
|
+
var L = getDefaultCurveSegments(), d, g, c, b, M, A = 0, T, k = [], R = [], X = bezierLengthPool.newElement();
|
|
3735
|
+
for (c = C.length, d = 0; d < L; d += 1) {
|
|
3736
|
+
for (M = d / (L - 1), T = 0, g = 0; g < c; g += 1)
|
|
3737
|
+
b = bmPow(1 - M, 3) * u[g] + 3 * bmPow(1 - M, 2) * M * C[g] + 3 * (1 - M) * bmPow(M, 2) * y[g] + bmPow(M, 3) * P[g], k[g] = b, R[g] !== null && (T += bmPow(k[g] - R[g], 2)), R[g] = k[g];
|
|
3738
|
+
T && (T = bmSqrt(T), A += T), X.percents[d] = M, X.lengths[d] = A;
|
|
3739
3739
|
}
|
|
3740
3740
|
return X.addedLength = A, X;
|
|
3741
3741
|
};
|
|
3742
3742
|
}();
|
|
3743
3743
|
function n(u) {
|
|
3744
|
-
var P = segmentsLengthPool.newElement(), C = u.c, y = u.v,
|
|
3744
|
+
var P = segmentsLengthPool.newElement(), C = u.c, y = u.v, L = u.o, d = u.i, g, c = u._length, b = P.lengths, M = 0;
|
|
3745
3745
|
for (g = 0; g < c - 1; g += 1)
|
|
3746
|
-
b[g] = s(y[g], y[g + 1],
|
|
3747
|
-
return C && c && (b[g] = s(y[g], y[0],
|
|
3746
|
+
b[g] = s(y[g], y[g + 1], L[g], d[g + 1]), M += b[g].addedLength;
|
|
3747
|
+
return C && c && (b[g] = s(y[g], y[0], L[g], d[0]), M += b[g].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, y,
|
|
3758
|
-
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + y[0] + "_" + y[1] + "_" +
|
|
3757
|
+
return function(P, C, y, L) {
|
|
3758
|
+
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + y[0] + "_" + y[1] + "_" + L[0] + "_" + L[1]).replace(/\./g, "p");
|
|
3759
3759
|
if (!u[d]) {
|
|
3760
|
-
var g = getDefaultCurveSegments(), c, b,
|
|
3761
|
-
P.length === 2 && (P[0] !== C[0] || P[1] !== C[1]) && t(P[0], P[1], C[0], C[1], P[0] + y[0], P[1] + y[1]) && t(P[0], P[1], C[0], C[1], C[0] +
|
|
3760
|
+
var g = getDefaultCurveSegments(), c, b, M, A, T, k = 0, R, X, N = null;
|
|
3761
|
+
P.length === 2 && (P[0] !== C[0] || P[1] !== C[1]) && t(P[0], P[1], C[0], C[1], P[0] + y[0], P[1] + y[1]) && t(P[0], P[1], C[0], C[1], C[0] + L[0], C[1] + L[1]) && (g = 2);
|
|
3762
3762
|
var j = new a(g);
|
|
3763
|
-
for (
|
|
3764
|
-
for (X = createSizedArray(
|
|
3765
|
-
A = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + y[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] +
|
|
3763
|
+
for (M = y.length, c = 0; c < g; c += 1) {
|
|
3764
|
+
for (X = createSizedArray(M), T = c / (g - 1), R = 0, b = 0; b < M; b += 1)
|
|
3765
|
+
A = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + y[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] + L[b]) + bmPow(T, 3) * C[b], X[b] = A, N !== null && (R += bmPow(X[b] - N[b], 2));
|
|
3766
3766
|
R = bmSqrt(R), k += R, j.points[c] = new o(R, X), N = X;
|
|
3767
3767
|
}
|
|
3768
3768
|
j.segmentLength = k, u[d] = j;
|
|
@@ -3771,29 +3771,29 @@ var lottie$1 = { exports: {} };
|
|
|
3771
3771
|
};
|
|
3772
3772
|
}();
|
|
3773
3773
|
function l(u, P) {
|
|
3774
|
-
var C = P.percents, y = P.lengths,
|
|
3775
|
-
if (d ===
|
|
3774
|
+
var C = P.percents, y = P.lengths, L = C.length, d = bmFloor((L - 1) * u), g = u * P.addedLength, c = 0;
|
|
3775
|
+
if (d === L - 1 || d === 0 || g === y[d])
|
|
3776
3776
|
return C[d];
|
|
3777
|
-
for (var b = y[d] > g ? -1 : 1,
|
|
3778
|
-
if (y[d] <= g && y[d + 1] > g ? (c = (g - y[d]) / (y[d + 1] - y[d]),
|
|
3779
|
-
if (d ===
|
|
3777
|
+
for (var b = y[d] > g ? -1 : 1, M = !0; M; )
|
|
3778
|
+
if (y[d] <= g && y[d + 1] > g ? (c = (g - y[d]) / (y[d + 1] - y[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]) * c;
|
|
3784
3784
|
}
|
|
3785
|
-
function p(u, P, C, y,
|
|
3786
|
-
var g = l(
|
|
3787
|
-
return [b,
|
|
3785
|
+
function p(u, P, C, y, L, d) {
|
|
3786
|
+
var g = l(L, d), c = 1 - g, b = e.round((c * c * c * u[0] + (g * c * c + c * g * c + c * c * g) * C[0] + (g * g * c + c * g * g + g * c * g) * y[0] + g * g * g * P[0]) * 1e3) / 1e3, M = e.round((c * c * c * u[1] + (g * c * c + c * g * c + c * c * g) * C[1] + (g * g * c + c * g * g + g * c * g) * y[1] + g * g * g * P[1]) * 1e3) / 1e3;
|
|
3787
|
+
return [b, M];
|
|
3788
3788
|
}
|
|
3789
3789
|
var m = createTypedArray("float32", 8);
|
|
3790
|
-
function E(u, P, C, y,
|
|
3791
|
-
|
|
3792
|
-
var c = l(
|
|
3790
|
+
function E(u, P, C, y, L, d, g) {
|
|
3791
|
+
L < 0 ? L = 0 : L > 1 && (L = 1);
|
|
3792
|
+
var c = l(L, g);
|
|
3793
3793
|
d = d > 1 ? 1 : d;
|
|
3794
|
-
var b = l(d, g),
|
|
3795
|
-
for (
|
|
3796
|
-
m[
|
|
3794
|
+
var b = l(d, g), M, A = u.length, T = 1 - c, k = 1 - b, R = T * T * T, X = c * T * T * 3, N = c * c * T * 3, j = c * c * c, Y = T * T * k, U = c * T * k + T * c * k + T * T * b, Z = c * c * k + T * c * b + c * T * b, _ = c * c * b, I = T * k * k, x = c * k * k + T * b * k + T * k * b, S = c * b * k + T * b * b + c * k * b, B = c * 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((R * u[M] + X * C[M] + N * y[M] + j * P[M]) * 1e3) / 1e3, m[M * 4 + 1] = e.round((Y * u[M] + U * C[M] + Z * y[M] + _ * P[M]) * 1e3) / 1e3, m[M * 4 + 2] = e.round((I * u[M] + x * C[M] + S * y[M] + B * P[M]) * 1e3) / 1e3, m[M * 4 + 3] = e.round((F * u[M] + G * C[M] + q * y[M] + $ * P[M]) * 1e3) / 1e3;
|
|
3797
3797
|
return m;
|
|
3798
3798
|
}
|
|
3799
3799
|
return {
|
|
@@ -3821,16 +3821,16 @@ 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, y,
|
|
3824
|
+
var E, u, P, C, y, L, d = p.t - i, g = l.t - i, c;
|
|
3825
3825
|
if (l.to) {
|
|
3826
3826
|
m.bezierData || (m.bezierData = bez.buildBezierData(l.s, p.s || l.e, l.to, l.ti));
|
|
3827
3827
|
var b = m.bezierData;
|
|
3828
3828
|
if (e >= d || e < g) {
|
|
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 ?
|
|
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 - g) / (d - g));
|
|
3834
3834
|
var A = b.segmentLength * P, T, k = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
|
|
3835
3835
|
for (y = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, f = !0, C = b.points.length; f; ) {
|
|
3836
3836
|
if (k += b.points[y].partialLength, A === 0 || P === 0 || y === b.points.length - 1) {
|
|
@@ -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 < g ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ?
|
|
3862
|
+
l.h !== 1 && (e >= d ? P = 1 : e < g ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ? L = m.__fnct[a] : (R = l.o.x[a] === void 0 ? l.o.x[0] : l.o.x[a], X = l.o.y[a] === void 0 ? l.o.y[0] : l.o.y[a], N = l.i.x[a] === void 0 ? l.i.x[0] : l.i.x[a], j = l.i.y[a] === void 0 ? l.i.y[0] : l.i.y[a], L = BezierFactory.getBezierEasing(R, X, N, j).get, m.__fnct[a] = L)) : m.__fnct ? L = m.__fnct : (R = l.o.x, X = l.o.y, N = l.i.x, j = l.i.y, L = BezierFactory.getBezierEasing(R, X, N, j).get, l.keyframeMetadata = L), P = L((e - g) / (d - g)))), c = p.s || l.e, Y = l.h === 1 ? l.s[a] : l.s[a] + (c[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], p = t[1], m = t[2], E = t[3], u, P, C, y,
|
|
3868
|
-
return P = n * l + a * p + o * m + f * E, P < 0 && (P = -P, l = -l, p = -p, m = -m, E = -E), 1 - P > 1e-6 ? (u = Math.acos(P), C = Math.sin(u), y = Math.sin((1 - i) * u) / C,
|
|
3867
|
+
var s = [], n = e[0], a = e[1], o = e[2], f = e[3], l = t[0], p = t[1], m = t[2], E = t[3], u, P, C, y, L;
|
|
3868
|
+
return P = n * l + a * p + o * m + f * E, P < 0 && (P = -P, l = -l, p = -p, m = -m, E = -E), 1 - P > 1e-6 ? (u = Math.acos(P), C = Math.sin(u), y = Math.sin((1 - i) * u) / C, L = Math.sin(i * u) / C) : (y = 1 - i, L = i), s[0] = y * n + L * l, s[1] = y * a + L * p, s[2] = y * o + L * m, s[3] = y * 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, g, c) {
|
|
4083
|
-
var b = c.lastIndex,
|
|
4083
|
+
var b = c.lastIndex, M, A, T, k, R, 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;
|
|
@@ -4099,11 +4099,11 @@ var lottie$1 = { exports: {} };
|
|
|
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 = g._length, N =
|
|
4104
|
+
for (X = g._length, N = M.i[0].length, c.lastIndex = b, k = 0; k < X; k += 1)
|
|
4105
4105
|
for (R = 0; R < N; R += 1)
|
|
4106
|
-
Y = T ?
|
|
4106
|
+
Y = T ? M.i[k][R] : M.i[k][R] + (A.i[k][R] - M.i[k][R]) * j, g.i[k][R] = Y, Y = T ? M.o[k][R] : M.o[k][R] + (A.o[k][R] - M.o[k][R]) * j, g.o[k][R] = Y, Y = T ? M.v[k][R] : M.v[k][R] + (A.v[k][R] - M.v[k][R]) * j, g.v[k][R] = Y;
|
|
4107
4107
|
}
|
|
4108
4108
|
function i() {
|
|
4109
4109
|
var d = this.comp.renderedFrame - this.offsetTime, g = this.keyframes[0].t - this.offsetTime, c = 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
|
-
R.v[0][0] = b, R.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, R = this.v;
|
|
4176
|
+
R.v[0][0] = b, R.v[0][1] = M - T, R.v[1][0] = k ? b + A : b - A, R.v[1][1] = M, R.v[2][0] = b, R.v[2][1] = M + T, R.v[3][0] = k ? b - A : b + A, R.v[3][1] = M, R.i[0][0] = k ? b - A * d : b + A * d, R.i[0][1] = M - T, R.i[1][0] = k ? b + A : b - A, R.i[1][1] = M - T * d, R.i[2][0] = k ? b + A * d : b - A * d, R.i[2][1] = M + T, R.i[3][0] = k ? b - A : b + A, R.i[3][1] = M + T * d, R.o[0][0] = k ? b + A * d : b - A * d, R.o[0][1] = M - T, R.o[1][0] = k ? b + A : b - A, R.o[1][1] = M + T * d, R.o[2][0] = k ? b - A * d : b + A * d, R.o[2][1] = M + T, R.o[3][0] = k ? b - A : b + A, R.o[3][1] = M - T * d;
|
|
4177
4177
|
}
|
|
4178
4178
|
}, extendPrototype([DynamicPropertyContainer], g), g;
|
|
4179
4179
|
}(), E = function() {
|
|
@@ -4186,19 +4186,19 @@ 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 c = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / c,
|
|
4189
|
+
var c = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / c, M = !0, A = this.or.v, T = this.ir.v, k = this.os.v, R = this.is.v, X = 2 * Math.PI * A / (c * 2), N = 2 * Math.PI * T / (c * 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 < c; j += 1) {
|
|
4193
|
-
Y =
|
|
4193
|
+
Y = M ? A : T, U = M ? k : R, 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 c = Math.floor(this.pt.v), b = Math.PI * 2 / c,
|
|
4199
|
+
var c = Math.floor(this.pt.v), b = Math.PI * 2 / c, M = this.or.v, A = this.os.v, T = 2 * Math.PI * M / (c * 4), k, R = -Math.PI * 0.5, X = this.data.d === 3 ? -1 : 1;
|
|
4200
4200
|
for (R += this.r.v, this.v._length = 0, k = 0; k < c; k += 1) {
|
|
4201
|
-
var N =
|
|
4201
|
+
var N = M * Math.cos(R), j = M * Math.sin(R), 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
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), R += b * X;
|
|
4203
4203
|
}
|
|
4204
4204
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
@@ -4210,8 +4210,8 @@ var lottie$1 = { exports: {} };
|
|
|
4210
4210
|
}
|
|
4211
4211
|
return d.prototype = {
|
|
4212
4212
|
convertRectToPath: function() {
|
|
4213
|
-
var c = this.p.v[0], b = this.p.v[1],
|
|
4214
|
-
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(c +
|
|
4213
|
+
var c = 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(c + M, b - A + T, c + M, b - A + T, c + M, b - A + k, 0, !0), this.v.setTripleAt(c + M, b + A - T, c + M, b + A - k, c + M, b + A - T, 1, !0), T !== 0 ? (this.v.setTripleAt(c + M - T, b + A, c + M - T, b + A, c + M - k, b + A, 2, !0), this.v.setTripleAt(c - M + T, b + A, c - M + k, b + A, c - M + T, b + A, 3, !0), this.v.setTripleAt(c - M, b + A - T, c - M, b + A - T, c - M, b + A - k, 4, !0), this.v.setTripleAt(c - M, b - A + T, c - M, b - A + k, c - M, b - A + T, 5, !0), this.v.setTripleAt(c - M + T, b - A, c - M + T, b - A, c - M + k, b - A, 6, !0), this.v.setTripleAt(c + M - T, b - A, c + M - k, b - A, c + M - T, b - A, 7, !0)) : (this.v.setTripleAt(c - M, b + A, c - M + k, b + A, c - M, b + A, 2), this.v.setTripleAt(c - M, b - A, c - M, b - A + k, c - M, b - A, 3))) : (this.v.setTripleAt(c + M, b - A + T, c + M, b - A + k, c + M, b - A + T, 0, !0), T !== 0 ? (this.v.setTripleAt(c + M - T, b - A, c + M - T, b - A, c + M - k, b - A, 1, !0), this.v.setTripleAt(c - M + T, b - A, c - M + k, b - A, c - M + T, b - A, 2, !0), this.v.setTripleAt(c - M, b - A + T, c - M, b - A + T, c - M, b - A + k, 3, !0), this.v.setTripleAt(c - M, b + A - T, c - M, b + A - k, c - M, b + A - T, 4, !0), this.v.setTripleAt(c - M + T, b + A, c - M + T, b + A, c - M + k, b + A, 5, !0), this.v.setTripleAt(c + M - T, b + A, c + M - k, b + A, c + M - T, b + A, 6, !0), this.v.setTripleAt(c + M, b + A - T, c + M, b + A - T, c + M, b + A - k, 7, !0)) : (this.v.setTripleAt(c - M, b - A, c - M + k, b - A, c - M, b - A, 1, !0), this.v.setTripleAt(c - M, b + A, c - M, b + A - k, c - M, b + A, 2, !0), this.v.setTripleAt(c + M, b + A, c + M - k, b + A, c + 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,7 +4222,7 @@ var lottie$1 = { exports: {} };
|
|
|
4222
4222
|
function P(d, g, c) {
|
|
4223
4223
|
var b;
|
|
4224
4224
|
if (c === 3 || c === 4) {
|
|
4225
|
-
var
|
|
4225
|
+
var M = c === 3 ? g.pt : g.ks, A = M.k;
|
|
4226
4226
|
A.length ? b = new p(d, g, c) : b = new f(d, g, c);
|
|
4227
4227
|
} else c === 5 ? b = new u(d, g) : c === 6 ? b = new m(d, g) : c === 7 && (b = new E(d, g));
|
|
4228
4228
|
return b.k && d.addDynamicProperty(b), b;
|
|
@@ -4233,8 +4233,8 @@ var lottie$1 = { exports: {} };
|
|
|
4233
4233
|
function y() {
|
|
4234
4234
|
return p;
|
|
4235
4235
|
}
|
|
4236
|
-
var
|
|
4237
|
-
return
|
|
4236
|
+
var L = {};
|
|
4237
|
+
return L.getShapeProp = P, L.getConstructorFunction = C, L.getKeyframedConstructorFunction = y, 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], ye = 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 + ye * ce, K[1] = Me * S + Ae * q + Se * le + ye * se, K[2] = Me * B + Ae * $ + Se * pe + ye * oe, K[3] = Me * F + Ae * J + Se * ue + ye * te, K[4] = xe * x + we * G + me * re + Ce * ce, K[5] = xe * S + we * q + me * le + Ce * se, K[6] = xe * B + we * $ + me * pe + Ce * oe, K[7] = xe * F + we * J + me * ue + Ce * te, K[8] = _e * x + be * G + 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,7 +4325,7 @@ 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],
|
|
@@ -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 = p, this.scale = u, this.setTransform = P, this.translate = C, this.transform = y, 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 = p, this.scale = u, this.setTransform = P, this.translate = C, this.transform = y, 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 = c, this.cloneFromProps = b, this.equals = g, this.inversePoints = N, this.inversePoint = X, this.getInverseMatrix = R, this._t = this.transform, this.isIdentity = d, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
|
4393
4393
|
};
|
|
4394
4394
|
}();
|
|
4395
4395
|
function _typeof$3(e) {
|
|
@@ -4557,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 = [], y,
|
|
4560
|
+
var C = [], y, L;
|
|
4561
4561
|
for (o = 0; o < f; o += 1)
|
|
4562
4562
|
if (y = this.shapes[o], !y.shape._mdf && !this._mdf && !e && this.m !== 2)
|
|
4563
4563
|
y.shape.paths = y.localShapeCollection;
|
|
@@ -4574,7 +4574,7 @@ var lottie$1 = { exports: {} };
|
|
|
4574
4574
|
var d = t, g = i, c = 0, b;
|
|
4575
4575
|
for (o = f - 1; o >= 0; o -= 1)
|
|
4576
4576
|
if (y = this.shapes[o], y.shape._mdf) {
|
|
4577
|
-
for (
|
|
4577
|
+
for (L = y.localShapeCollection, L.releaseShapes(), this.m === 2 && f > 1 ? (b = this.calculateShapeEdges(t, i, y.totalShapeLength, c, P), c += y.totalShapeLength) : b = [[d, g]], p = b.length, l = 0; l < p; l += 1) {
|
|
4578
4578
|
d = b[l][0], g = b[l][1], C.length = 0, g <= 1 ? C.push({
|
|
4579
4579
|
s: y.totalShapeLength * d,
|
|
4580
4580
|
e: y.totalShapeLength * g
|
|
@@ -4588,20 +4588,20 @@ var lottie$1 = { exports: {} };
|
|
|
4588
4588
|
s: 0,
|
|
4589
4589
|
e: y.totalShapeLength * (g - 1)
|
|
4590
4590
|
}));
|
|
4591
|
-
var
|
|
4591
|
+
var M = this.addShapes(y, C[0]);
|
|
4592
4592
|
if (C[0].s !== C[0].e) {
|
|
4593
4593
|
if (C.length > 1) {
|
|
4594
4594
|
var A = y.shape.paths.shapes[y.shape.paths._length - 1];
|
|
4595
4595
|
if (A.c) {
|
|
4596
|
-
var T =
|
|
4597
|
-
this.addPaths(
|
|
4596
|
+
var T = M.pop();
|
|
4597
|
+
this.addPaths(M, L), M = this.addShapes(y, C[1], T);
|
|
4598
4598
|
} else
|
|
4599
|
-
this.addPaths(
|
|
4599
|
+
this.addPaths(M, L), M = this.addShapes(y, C[1]);
|
|
4600
4600
|
}
|
|
4601
|
-
this.addPaths(
|
|
4601
|
+
this.addPaths(M, L);
|
|
4602
4602
|
}
|
|
4603
4603
|
}
|
|
4604
|
-
y.shape.paths =
|
|
4604
|
+
y.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, p = 0, m, E, u, P, C = [], y,
|
|
4616
|
+
var s = e.pathsData, n = e.shape.paths.shapes, a, o = e.shape.paths._length, f, l, p = 0, m, E, u, P, C = [], y, L = !0;
|
|
4617
4617
|
for (i ? (E = i._length, y = i._length) : (i = shapePool.newElement(), E = 0, y = 0), C.push(i), a = 0; a < o; a += 1) {
|
|
4618
4618
|
for (u = s[a].lengths, i.c = n[a].c, l = n[a].c ? u.length : u.length + 1, f = 1; f < l; f += 1)
|
|
4619
4619
|
if (m = u[f - 1], p + 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 <= p && t.e >= p + 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 <= p && t.e >= p + 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 - p) / m.addedLength, (t.e - p) / m.addedLength, u[f - 1]), this.addSegmentFromArray(P, i, E, L), L = !1, i.c = !1), p += m.addedLength, E += 1;
|
|
4626
4626
|
if (n[a].c && u.length) {
|
|
4627
4627
|
if (m = u[f - 1], p <= t.e) {
|
|
4628
4628
|
var d = u[f - 1].addedLength;
|
|
4629
|
-
t.s <= p && t.e >= p + 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 <= p && t.e >= p + 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 - p) / d, (t.e - p) / 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
|
p += m.addedLength, E += 1;
|
|
4633
4633
|
}
|
|
4634
4634
|
if (i._length && (i.setXYAt(i.v[y][0], i.v[y][1], "i", y), i.setXYAt(i.v[i._length - 1][0], i.v[i._length - 1][1], "o", i._length - 1)), p > 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), y = this.pMatrix.props,
|
|
4844
|
+
var u = this.o.v, P = u % 1, C = u > 0 ? Math.floor(u) : Math.ceil(u), y = 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 g = 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 c, 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)), g !== 0) {
|
|
4859
|
-
for ((s !== 0 && n === 1 || s !== this._currentCopies - 1 && n === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(
|
|
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(y[0], y[1], y[2], y[3], y[4], y[5], y[6], y[7], y[8], y[9], y[10], y[11], y[12], y[13], y[14], y[15]), c = 0; c < b; c += 1)
|
|
4860
4860
|
i[c] = this.matrix.props[c];
|
|
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, p, m, E = 0, u, P, C, y,
|
|
4880
|
+
var s, n = e._length, a, o, f, l, p, m, E = 0, u, P, C, y, 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], p = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = p ? Math.min(p / 2, t) / p : 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], p = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = p ? Math.min(p / 2, t) / p : 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, y = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, y, L, d, E), E += 1, s === n - 1 ? l = e.v[0] : l = e.v[s + 1], p = Math.sqrt(Math.pow(a[0] - l[0], 2) + Math.pow(a[1] - l[1], 2)), m = p ? Math.min(p / 2, t) / p : 0, C = a[0] + (l[0] - a[0]) * m, u = C, y = a[1] + (l[1] - a[1]) * m, P = y, L = u - (u - a[0]) * roundCorner, d = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, y, 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);
|
|
@@ -5354,7 +5354,7 @@ var lottie$1 = { exports: {} };
|
|
|
5354
5354
|
return _ === f;
|
|
5355
5355
|
}
|
|
5356
5356
|
function R(_) {
|
|
5357
|
-
var I =
|
|
5357
|
+
var I = M(_);
|
|
5358
5358
|
return I >= p && 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;
|
|
@@ -5384,7 +5384,7 @@ var lottie$1 = { exports: {} };
|
|
|
5384
5384
|
U.isModifier = A, U.isZeroWidthJoiner = T, U.isFlagEmoji = X, U.isRegionalCode = R, 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: g,
|
|
5389
5389
|
getFontByName: b,
|
|
5390
5390
|
measureText: c,
|
|
@@ -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, p = [], m, E, u = createElementID(), P, C, y,
|
|
5850
|
+
var o, f = this.masksProperties, l = 0, p = [], m, E, u = createElementID(), P, C, y, L, d = "clipPath", g = "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", g = "mask"), (f[n].mode === "s" || f[n].mode === "i") && l === 0 ? (P = createNS("rect"), P.setAttribute("fill", "#ffffff"), P.setAttribute("width", this.element.comp.data.w || 0), P.setAttribute("height", this.element.comp.data.h || 0), p.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 c;
|
|
5862
|
-
if (f[n].x.k !== 0 ? (d = "mask", g = "mask",
|
|
5862
|
+
if (f[n].x.k !== 0 ? (d = "mask", g = "mask", L = PropertyFactory.getProp(this.element, f[n].x, 0, null, this.element), c = createElementID(), C = createNS("filter"), C.setAttribute("id", c), y = createNS("feMorphology"), y.setAttribute("operator", "erode"), y.setAttribute("in", "SourceGraphic"), y.setAttribute("radius", "0"), C.appendChild(y), s.appendChild(C), o.setAttribute("stroke", f[n].mode === "s" ? "#000000" : "#ffffff")) : (y = null, L = null), this.storedData[n] = {
|
|
5863
5863
|
elem: o,
|
|
5864
|
-
x:
|
|
5864
|
+
x: L,
|
|
5865
5865
|
expan: y,
|
|
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(p[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 + ")"), p.length = 0, p.push(b);
|
|
5877
5877
|
} else
|
|
5878
5878
|
p.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, y,
|
|
6343
|
+
var C, y, L, d, g, c, b = u.styles.length, M = u.lvl, A, T, k, R;
|
|
6344
6344
|
for (c = 0; c < b; c += 1) {
|
|
6345
|
-
if (d = u.sh._mdf || P, u.styles[c].lvl <
|
|
6346
|
-
for (T = t.reset(), k =
|
|
6345
|
+
if (d = u.sh._mdf || P, u.styles[c].lvl < M) {
|
|
6346
|
+
for (T = t.reset(), k = M - u.styles[c].lvl, R = u.transformers.length - 1; !d && k > 0; )
|
|
6347
6347
|
d = u.transformers[R].mProps._mdf || d, k -= 1, R -= 1;
|
|
6348
6348
|
if (d)
|
|
6349
|
-
for (k =
|
|
6349
|
+
for (k = M - u.styles[c].lvl, R = u.transformers.length - 1; k > 0; )
|
|
6350
6350
|
T.multiply(u.transformers[R].mProps.v), k -= 1, R -= 1;
|
|
6351
6351
|
} else
|
|
6352
6352
|
T = e;
|
|
6353
6353
|
if (A = u.sh.paths, y = A._length, d) {
|
|
6354
|
-
for (
|
|
6355
|
-
g = A.shapes[C], g && g._length && (
|
|
6356
|
-
u.caches[c] =
|
|
6354
|
+
for (L = "", C = 0; C < y; C += 1)
|
|
6355
|
+
g = A.shapes[C], g && g._length && (L += buildShapeString(g, g._length, g.c, T));
|
|
6356
|
+
u.caches[c] = L;
|
|
6357
6357
|
} else
|
|
6358
|
-
|
|
6359
|
-
u.styles[c].d += E.hd === !0 ? "" :
|
|
6358
|
+
L = u.caches[c];
|
|
6359
|
+
u.styles[c].d += E.hd === !0 ? "" : L, u.styles[c]._mdf = d || u.styles[c]._mdf;
|
|
6360
6360
|
}
|
|
6361
6361
|
}
|
|
6362
6362
|
function f(E, u, P) {
|
|
@@ -6367,36 +6367,36 @@ var lottie$1 = { exports: {} };
|
|
|
6367
6367
|
p(E, u, P), m(E, u, P);
|
|
6368
6368
|
}
|
|
6369
6369
|
function p(E, u, P) {
|
|
6370
|
-
var C = u.gf, y = u.g._hasOpacity,
|
|
6370
|
+
var C = u.gf, y = u.g._hasOpacity, L = u.s.v, d = u.e.v;
|
|
6371
6371
|
if (u.o._mdf || P) {
|
|
6372
6372
|
var g = E.ty === "gf" ? "fill-opacity" : "stroke-opacity";
|
|
6373
6373
|
u.style.pElem.setAttribute(g, u.o.v);
|
|
6374
6374
|
}
|
|
6375
6375
|
if (u.s._mdf || P) {
|
|
6376
6376
|
var c = E.t === 1 ? "x1" : "cx", b = c === "x1" ? "y1" : "cy";
|
|
6377
|
-
C.setAttribute(c,
|
|
6377
|
+
C.setAttribute(c, L[0]), C.setAttribute(b, L[1]), y && !u.g._collapsable && (u.of.setAttribute(c, 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 R = 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", R[A * 4] + "%"), k.setAttribute("stop-color", "rgb(" + R[A * 4 + 1] + "," + R[A * 4 + 2] + "," + R[A * 4 + 3] + ")");
|
|
6385
6385
|
}
|
|
6386
6386
|
if (y && (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]), y && !u.g._collapsable && (u.of.setAttribute("x2", d[0]), u.of.setAttribute("y2", d[1])));
|
|
6393
6393
|
else {
|
|
6394
6394
|
var N;
|
|
6395
|
-
if ((u.s._mdf || u.e._mdf || P) && (N = Math.sqrt(Math.pow(
|
|
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), y && !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", _), y && !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, p = e.length - 1, m, E, u = [], P = [], C, y,
|
|
6474
|
+
var f = [].concat(a), l, p = e.length - 1, m, E, u = [], P = [], C, y, L;
|
|
6475
6475
|
for (l = p; 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 ? (y = t[l], y.closed = !1) : (y = ShapeModifiers.getModifier(e[l].ty), y.init(this, e[l]), t[l] = y, this.shapeModifiers.push(y)), P.push(y)) : e[l].ty === "rp" && (L ? (y = t[l], y.closed = !0) : (y = ShapeModifiers.getModifier(e[l].ty), t[l] = y, y.init(this, e, l, t), this.shapeModifiers.push(y), o = !1), P.push(y));
|
|
6486
6486
|
this.addProcessedElement(e[l], l + 1);
|
|
6487
6487
|
}
|
|
6488
6488
|
for (p = u.length, l = 0; l < p; l += 1)
|
|
@@ -6586,8 +6586,8 @@ 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, p = i.m.g, m = 0, E = 0, u = 0, P = [], C = 0, y = 0,
|
|
6590
|
-
e.fWeight =
|
|
6589
|
+
var t = this.elem.globalData.fontManager, i = this.data, s = [], n, a, o, f = 0, l, p = i.m.g, m = 0, E = 0, u = 0, P = [], C = 0, y = 0, L, d, g = t.getFontByName(e.f), c, b = 0, M = getFontProperties(g);
|
|
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
6591
|
var A = e.tr / 1e3 * e.finalSize, T;
|
|
6592
6592
|
if (e.sz)
|
|
6593
6593
|
for (var k = !0, R = e.sz[0], X = e.sz[1], N, j; k; ) {
|
|
@@ -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 = g.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, g = L / 2;
|
|
6701
6701
|
u = Math.sqrt(1 - d * d / (g * g));
|
|
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, p, m, E, u = e.l, P, C, y,
|
|
6773
|
+
var i = this._moreOptions.alignment.v, s = this._animatorsData, n = this._textData, a = this.mHelper, o = this._renderType, f = this.renderedLetters.length, l, p, m, E, u = e.l, P, C, y, L, d, g, c, b, M, A, T, k, R, X, N;
|
|
6774
6774
|
if (this._hasMaskedPath) {
|
|
6775
6775
|
if (N = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
6776
6776
|
var j = N.v;
|
|
@@ -6783,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, c = 0, g = 1,
|
|
6787
|
-
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength), c = A.length - 1,
|
|
6788
|
-
C +=
|
|
6789
|
-
|
|
6786
|
+
if (P = this._pathData.pi, C = this._pathData.f.v, c = 0, g = 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), c = A.length - 1, M = A[c].points, g = M.length - 1; C < 0; )
|
|
6788
|
+
C += M[g].partialLength, g -= 1, g < 0 && (c -= 1, M = A[c].points, g = M.length - 1);
|
|
6789
|
+
M = A[c].points, b = M[g - 1], y = M[g], T = y.partialLength;
|
|
6790
6790
|
}
|
|
6791
6791
|
E = u.length, l = 0, p = 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 = c, pe = g, ue = -1, ce, se, oe, te, K,
|
|
6794
|
+
var F, G = -1, q, $, J, re = C, le = c, pe = g, ue = -1, ce, se, oe, te, K, Me, Ae, Se, ye = "", 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, p += e.yOffset, p += Z ? 1 : 0, C = re, Z = !1, this._hasMaskedPath && (c = le, g = pe,
|
|
6812
|
+
l = 0, p += e.yOffset, p += Z ? 1 : 0, C = re, Z = !1, this._hasMaskedPath && (c = le, g = pe, M = A[c].points, b = M[g - 1], y = M[g], T = y.partialLength, L = 0), ye = "", 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 ? (R = (C + Pe - L) / y.partialLength, $ = b.point[0] + (y.point[0] - b.point[0]) * R, J = b.point[1] + (y.point[1] - b.point[1]) * R, a.translate(-i[0] * u[m].an * 5e-3, -(i[1] * U) * 0.01), d = !1) : M && (L += y.partialLength, g += 1, g >= M.length && (g = 0, c += 1, A[c] ? M = A[c].points : N.v.c ? (g = 0, c = 0, M = A[c].points) : (L -= y.partialLength, M = null)), M && (b = y, y = M[g], T = y.partialLength));
|
|
6832
6832
|
q = u[m].an / 2 - u[m].add, a.translate(-q, 0, 0);
|
|
6833
6833
|
} else
|
|
6834
6834
|
q = u[m].an / 2 - u[m].add, a.translate(-q, 0, 0), a.translate(-i[0] * u[m].an * 5e-3, -i[1] * U * 0.01, 0);
|
|
@@ -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 + p, 0), this._pathData.p.v) {
|
|
6856
6856
|
X = (y.point[1] - b.point[1]) / (y.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" ? ye = a.toCSS() : o === "svg" ? ye = a.to2dCSS() : xe = [a.props[0], a.props[1], a.props[2], a.props[3], a.props[4], a.props[5], a.props[6], a.props[7], a.props[8], a.props[9], a.props[10], a.props[11], a.props[12], a.props[13], a.props[14], a.props[15]], we = ce;
|
|
6873
6873
|
}
|
|
6874
|
-
f <= m ? (B = new LetterProps(we,
|
|
6874
|
+
f <= m ? (B = new LetterProps(we, Me, Ae, Se, ye, xe), this.renderedLetters.push(B), f += 1, this.lettersChangedFlag = !0) : (B = this.renderedLetters[m], this.lettersChangedFlag = B.update(we, Me, Ae, Se, ye, 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, p = this.mHelper, m = "", E = this.data.singleShape, u = 0, P = 0, C = !0, y = i.tr * 1e-3 * i.finalSize;
|
|
6950
6950
|
if (E && !f && !i.sz) {
|
|
6951
|
-
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", y);
|
|
6964
6964
|
var g = this.buildTextContents(i.finalText);
|
|
6965
6965
|
for (t = g.length, P = i.ps ? i.ps[1] + i.ascent : 0, e = 0; e < t; e += 1)
|
|
6966
|
-
l = this.textSpans[e].span || createNS("tspan"), l.textContent = g[e], l.setAttribute("x", 0), l.setAttribute("y", P), l.style.display = "inherit",
|
|
6966
|
+
l = this.textSpans[e].span || createNS("tspan"), l.textContent = g[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 c = 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 = c > e ? this.textSpans[e].span : createNS(f ? "g" : "text"), c <= 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
|
}
|
|
@@ -7584,9 +7584,9 @@ var lottie$1 = { exports: {} };
|
|
|
7584
7584
|
var E = l * m, u = Math.cos(p + t.a.v) * E + o[0], P = Math.sin(p + t.a.v) * E + o[1];
|
|
7585
7585
|
n = a.createRadialGradient(u, P, 0, o[0], o[1], l);
|
|
7586
7586
|
}
|
|
7587
|
-
var C, y = e.g.p,
|
|
7587
|
+
var C, y = e.g.p, L = t.g.c, d = 1;
|
|
7588
7588
|
for (C = 0; C < y; 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, p, m, E, u, P, C, y,
|
|
7616
|
+
var l, p, m, E, u, P, C, y, L, d, g = this.data.singleShape, c = 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), p = l && l.data || {}, f.reset(), g && o[n].n && (b = -c,
|
|
7618
|
+
l = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), p = l && l.data || {}, f.reset(), g && o[n].n && (b = -c, M += e.yOffset, M += A ? 1 : 0, A = !1), u = p.shapes ? p.shapes[0].it : [], C = u.length, f.scale(e.finalSize / 100, e.finalSize / 100), g && 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, y = u[P].ks.k, d = [], m = 1; m < E; m += 1)
|
|
7623
7623
|
m === 1 && d.push(f.applyToX(y.v[0][0], y.v[0][1], 0), f.applyToY(y.v[0][0], y.v[0][1], 0)), d.push(f.applyToX(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToY(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToX(y.i[m][0], y.i[m][1], 0), f.applyToY(y.i[m][0], y.i[m][1], 0), f.applyToX(y.v[m][0], y.v[m][1], 0), f.applyToY(y.v[m][0], y.v[m][1], 0));
|
|
7624
|
-
d.push(f.applyToX(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToY(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToX(y.i[0][0], y.i[0][1], 0), f.applyToY(y.i[0][0], y.i[0][1], 0), f.applyToX(y.v[0][0], y.v[0][1], 0), f.applyToY(y.v[0][0], y.v[0][1], 0)),
|
|
7624
|
+
d.push(f.applyToX(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToY(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToX(y.i[0][0], y.i[0][1], 0), f.applyToY(y.i[0][0], y.i[0][1], 0), f.applyToX(y.v[0][0], y.v[0][1], 0), f.applyToY(y.v[0][0], y.v[0][1], 0)), L[k] = d, k += 1;
|
|
7625
7625
|
}
|
|
7626
|
-
g && (b += o[n].l, b += c), this.textSpans[T] ? this.textSpans[T].elem =
|
|
7627
|
-
elem:
|
|
7626
|
+
g && (b += o[n].l, b += c), 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 p, m, E, u = this.mHelper, P, C = "", y = 0;
|
|
8049
8049
|
for (o = 0; o < f; o += 1) {
|
|
8050
8050
|
if (this.globalData.fontManager.chars ? (this.textPaths[y] ? p = this.textPaths[y] : (p = createNS("path"), p.setAttribute("stroke-linecap", lineCapEnum[1]), p.setAttribute("stroke-linejoin", lineJoinEnum[2]), p.setAttribute("stroke-miterlimit", "4")), this.isMasked || (this.textSpans[y] ? (m = this.textSpans[y], E = m.children[0]) : (m = createTag("div"), m.style.lineHeight = 0, E = createNS("svg"), E.appendChild(p), styleDiv(m)))) : this.isMasked ? p = this.textPaths[y] ? this.textPaths[y] : createNS("text") : this.textSpans[y] ? (m = this.textSpans[y], p = this.textPaths[y]) : (m = createTag("span"), styleDiv(m), p = createTag("span"), styleDiv(p), m.appendChild(p)), 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), p.setAttribute("d", C)), this.isMasked)
|
|
8053
8053
|
this.innerElem.appendChild(p);
|
|
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(p);
|
|
8067
8067
|
else {
|
|
8068
8068
|
this.innerElem.appendChild(m);
|
|
8069
|
-
var
|
|
8070
|
-
|
|
8069
|
+
var M = p.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[y] = p : this.textSpans[y] = m, this.textSpans[y].style.display = "block", this.textPaths[y] = p, y += 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), p = l * 2, m = s - 1, E;
|
|
8365
|
-
function u(c, b,
|
|
8365
|
+
function u(c, b, M) {
|
|
8366
8366
|
var A = [];
|
|
8367
8367
|
b = b === !0 ? {
|
|
8368
8368
|
entropy: !0
|
|
8369
8369
|
} : b || {};
|
|
8370
|
-
var T =
|
|
8370
|
+
var T = L(y(b.entropy ? [c, g(e)] : c === null ? d() : c, 3), A), k = new P(A), R = function() {
|
|
8371
8371
|
for (var N = k.g(n), j = f, Y = 0; N < l; )
|
|
8372
8372
|
N = (N + Y) * s, j *= s, Y = k.g(1);
|
|
8373
8373
|
for (; N >= p; )
|
|
@@ -8378,7 +8378,7 @@ var lottie$1 = { exports: {} };
|
|
|
8378
8378
|
return k.g(4) | 0;
|
|
8379
8379
|
}, R.quick = function() {
|
|
8380
8380
|
return k.g(4) / 4294967296;
|
|
8381
|
-
}, R.double = R,
|
|
8381
|
+
}, R.double = R, L(g(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,11 +8386,11 @@ var lottie$1 = { exports: {} };
|
|
|
8386
8386
|
}
|
|
8387
8387
|
t["seed" + o] = u;
|
|
8388
8388
|
function P(c) {
|
|
8389
|
-
var b,
|
|
8390
|
-
for (
|
|
8389
|
+
var b, M = c.length, A = this, T = 0, k = A.i = A.j = 0, R = A.S = [];
|
|
8390
|
+
for (M || (c = [M++]); T < s; )
|
|
8391
8391
|
R[T] = T++;
|
|
8392
8392
|
for (T = 0; T < s; T++)
|
|
8393
|
-
R[T] = R[k = m & k + c[T %
|
|
8393
|
+
R[T] = R[k = m & k + c[T % M] + (b = R[T])], R[k] = b;
|
|
8394
8394
|
A.g = function(X) {
|
|
8395
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)];
|
|
@@ -8401,18 +8401,18 @@ var lottie$1 = { exports: {} };
|
|
|
8401
8401
|
return b.i = c.i, b.j = c.j, b.S = c.S.slice(), b;
|
|
8402
8402
|
}
|
|
8403
8403
|
function y(c, b) {
|
|
8404
|
-
var
|
|
8404
|
+
var M = [], A = _typeof$2(c), T;
|
|
8405
8405
|
if (b && A == "object")
|
|
8406
8406
|
for (T in c)
|
|
8407
8407
|
try {
|
|
8408
|
-
|
|
8408
|
+
M.push(y(c[T], b - 1));
|
|
8409
8409
|
} catch {
|
|
8410
8410
|
}
|
|
8411
|
-
return
|
|
8411
|
+
return M.length ? M : A == "string" ? c : c + "\0";
|
|
8412
8412
|
}
|
|
8413
|
-
function
|
|
8414
|
-
for (var
|
|
8415
|
-
b[m & T] = m & (A ^= b[m & T] * 19) +
|
|
8413
|
+
function L(c, b) {
|
|
8414
|
+
for (var M = c + "", A, T = 0; T < M.length; )
|
|
8415
|
+
b[m & T] = m & (A ^= b[m & T] * 19) + M.charCodeAt(T++);
|
|
8416
8416
|
return g(b);
|
|
8417
8417
|
}
|
|
8418
8418
|
function d() {
|
|
@@ -8420,14 +8420,14 @@ var lottie$1 = { exports: {} };
|
|
|
8420
8420
|
var c = new Uint8Array(s);
|
|
8421
8421
|
return (i.crypto || i.msCrypto).getRandomValues(c), g(c);
|
|
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, g(e)];
|
|
8425
8425
|
}
|
|
8426
8426
|
}
|
|
8427
8427
|
function g(c) {
|
|
8428
8428
|
return String.fromCharCode.apply(0, c);
|
|
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, y = 0,
|
|
9100
|
+
for (var C = n.ef, y = 0, L = C.length; y < L; ) {
|
|
9101
9101
|
if (P === C[y].nm || P === C[y].mn || P === C[y].ix)
|
|
9102
9102
|
return C[y].ty === 5 ? m[y] : m[y]();
|
|
9103
9103
|
y += 1;
|
|
@@ -9169,28 +9169,28 @@ var lottie$1 = { exports: {} };
|
|
|
9169
9169
|
}), a;
|
|
9170
9170
|
};
|
|
9171
9171
|
}(), ShapeExpressionInterface = /* @__PURE__ */ function() {
|
|
9172
|
-
function e(C, y,
|
|
9172
|
+
function e(C, y, L) {
|
|
9173
9173
|
var d = [], g, c = C ? C.length : 0;
|
|
9174
9174
|
for (g = 0; g < c; g += 1)
|
|
9175
|
-
C[g].ty === "gr" ? d.push(i(C[g], y[g],
|
|
9175
|
+
C[g].ty === "gr" ? d.push(i(C[g], y[g], L)) : C[g].ty === "fl" ? d.push(s(C[g], y[g], L)) : C[g].ty === "st" ? d.push(o(C[g], y[g], L)) : C[g].ty === "tm" ? d.push(f(C[g], y[g], L)) : C[g].ty === "tr" || (C[g].ty === "el" ? d.push(p(C[g], y[g], L)) : C[g].ty === "sr" ? d.push(m(C[g], y[g], L)) : C[g].ty === "sh" ? d.push(ShapePathInterface(C[g], y[g], L)) : C[g].ty === "rc" ? d.push(E(C[g], y[g], L)) : C[g].ty === "rd" ? d.push(u(C[g], y[g], L)) : C[g].ty === "rp" ? d.push(P(C[g], y[g], L)) : C[g].ty === "gf" ? d.push(n(C[g], y[g], L)) : d.push(a(C[g], y[g])));
|
|
9176
9176
|
return d;
|
|
9177
9177
|
}
|
|
9178
|
-
function t(C, y,
|
|
9179
|
-
var d, g = function(
|
|
9178
|
+
function t(C, y, L) {
|
|
9179
|
+
var d, g = function(M) {
|
|
9180
9180
|
for (var A = 0, T = d.length; A < T; ) {
|
|
9181
|
-
if (d[A]._name ===
|
|
9181
|
+
if (d[A]._name === M || d[A].mn === M || d[A].propertyIndex === M || d[A].ix === M || d[A].ind === M)
|
|
9182
9182
|
return d[A];
|
|
9183
9183
|
A += 1;
|
|
9184
9184
|
}
|
|
9185
|
-
return typeof
|
|
9185
|
+
return typeof M == "number" ? d[M - 1] : null;
|
|
9186
9186
|
};
|
|
9187
|
-
g.propertyGroup = propertyGroupFactory(g,
|
|
9187
|
+
g.propertyGroup = propertyGroupFactory(g, L), d = e(C.it, y.it, g.propertyGroup), g.numProperties = d.length;
|
|
9188
9188
|
var c = l(C.it[C.it.length - 1], y.it[y.it.length - 1], g.propertyGroup);
|
|
9189
9189
|
return g.transform = c, g.propertyIndex = C.cix, g._name = C.nm, g;
|
|
9190
9190
|
}
|
|
9191
|
-
function i(C, y,
|
|
9192
|
-
var d = function(
|
|
9193
|
-
switch (
|
|
9191
|
+
function i(C, y, 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 g = t(C, y, d.propertyGroup), c = l(C.it[C.it.length - 1], y.it[y.it.length - 1], d.propertyGroup);
|
|
9204
9204
|
return d.content = g, d.transform = c, 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, y,
|
|
9210
|
+
function s(C, y, L) {
|
|
9211
9211
|
function d(g) {
|
|
9212
9212
|
return g === "Color" || g === "color" ? d.color : g === "Opacity" || g === "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
|
-
}), y.c.setGroupProperty(PropertyInterface("Color",
|
|
9227
|
+
}), y.c.setGroupProperty(PropertyInterface("Color", L)), y.o.setGroupProperty(PropertyInterface("Opacity", L)), d;
|
|
9228
9228
|
}
|
|
9229
|
-
function n(C, y,
|
|
9229
|
+
function n(C, y, L) {
|
|
9230
9230
|
function d(g) {
|
|
9231
9231
|
return g === "Start Point" || g === "start point" ? d.startPoint : g === "End Point" || g === "end point" ? d.endPoint : g === "Opacity" || g === "opacity" ? d.opacity : null;
|
|
9232
9232
|
}
|
|
@@ -9251,7 +9251,7 @@ var lottie$1 = { exports: {} };
|
|
|
9251
9251
|
mn: {
|
|
9252
9252
|
value: C.mn
|
|
9253
9253
|
}
|
|
9254
|
-
}), y.s.setGroupProperty(PropertyInterface("Start Point",
|
|
9254
|
+
}), y.s.setGroupProperty(PropertyInterface("Start Point", L)), y.e.setGroupProperty(PropertyInterface("End Point", L)), y.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, y,
|
|
9263
|
-
var d = propertyGroupFactory(T,
|
|
9262
|
+
function o(C, y, L) {
|
|
9263
|
+
var d = propertyGroupFactory(T, L), g = propertyGroupFactory(A, d);
|
|
9264
9264
|
function c(k) {
|
|
9265
9265
|
Object.defineProperty(A, C.d[k].nm, {
|
|
9266
9266
|
get: ExpressionPropertyInterface(y.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
|
c(b), y.d.dataProps[b].p.setGroupProperty(g);
|
|
9272
9272
|
function T(k) {
|
|
9273
9273
|
return k === "Color" || k === "color" ? T.color : k === "Opacity" || k === "opacity" ? T.opacity : k === "Stroke Width" || k === "stroke width" ? T.strokeWidth : null;
|
|
@@ -9295,12 +9295,12 @@ var lottie$1 = { exports: {} };
|
|
|
9295
9295
|
}
|
|
9296
9296
|
}), y.c.setGroupProperty(PropertyInterface("Color", d)), y.o.setGroupProperty(PropertyInterface("Opacity", d)), y.w.setGroupProperty(PropertyInterface("Stroke Width", d)), T;
|
|
9297
9297
|
}
|
|
9298
|
-
function f(C, y,
|
|
9298
|
+
function f(C, y, L) {
|
|
9299
9299
|
function d(c) {
|
|
9300
9300
|
return c === C.e.ix || c === "End" || c === "end" ? d.end : c === C.s.ix ? d.start : c === C.o.ix ? d.offset : null;
|
|
9301
9301
|
}
|
|
9302
|
-
var g = propertyGroupFactory(d,
|
|
9303
|
-
return d.propertyIndex = C.ix, y.s.setGroupProperty(PropertyInterface("Start", g)), y.e.setGroupProperty(PropertyInterface("End", g)), y.o.setGroupProperty(PropertyInterface("Offset", g)), d.propertyIndex = C.ix, d.propertyGroup =
|
|
9302
|
+
var g = propertyGroupFactory(d, L);
|
|
9303
|
+
return d.propertyIndex = C.ix, y.s.setGroupProperty(PropertyInterface("Start", g)), y.e.setGroupProperty(PropertyInterface("End", g)), y.o.setGroupProperty(PropertyInterface("Offset", g)), d.propertyIndex = C.ix, d.propertyGroup = L, Object.defineProperties(d, {
|
|
9304
9304
|
start: {
|
|
9305
9305
|
get: ExpressionPropertyInterface(y.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, y,
|
|
9318
|
+
function l(C, y, L) {
|
|
9319
9319
|
function d(c) {
|
|
9320
9320
|
return C.a.ix === c || c === "Anchor Point" ? d.anchorPoint : C.o.ix === c || c === "Opacity" ? d.opacity : C.p.ix === c || c === "Position" ? d.position : C.r.ix === c || c === "Rotation" || c === "ADBE Vector Rotation" ? d.rotation : C.s.ix === c || c === "Scale" ? d.scale : C.sk && C.sk.ix === c || c === "Skew" ? d.skew : C.sa && C.sa.ix === c || c === "Skew Axis" ? d.skewAxis : null;
|
|
9321
9321
|
}
|
|
9322
|
-
var g = propertyGroupFactory(d,
|
|
9322
|
+
var g = propertyGroupFactory(d, L);
|
|
9323
9323
|
return y.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity", g)), y.transform.mProps.p.setGroupProperty(PropertyInterface("Position", g)), y.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point", g)), y.transform.mProps.s.setGroupProperty(PropertyInterface("Scale", g)), y.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation", g)), y.transform.mProps.sk && (y.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew", g)), y.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle", g))), y.transform.op.setGroupProperty(PropertyInterface("Opacity", g)), Object.defineProperties(d, {
|
|
9324
9324
|
opacity: {
|
|
9325
9325
|
get: ExpressionPropertyInterface(y.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 p(C, y,
|
|
9350
|
+
function p(C, y, 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 g = propertyGroupFactory(d,
|
|
9354
|
+
var g = propertyGroupFactory(d, L);
|
|
9355
9355
|
d.propertyIndex = C.ix;
|
|
9356
9356
|
var c = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9357
9357
|
return c.s.setGroupProperty(PropertyInterface("Size", g)), c.p.setGroupProperty(PropertyInterface("Position", g)), 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, y,
|
|
9369
|
+
function m(C, y, 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 g = propertyGroupFactory(d,
|
|
9373
|
+
var g = propertyGroupFactory(d, L), c = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9374
9374
|
return d.propertyIndex = C.ix, c.or.setGroupProperty(PropertyInterface("Outer Radius", g)), c.os.setGroupProperty(PropertyInterface("Outer Roundness", g)), c.pt.setGroupProperty(PropertyInterface("Points", g)), c.p.setGroupProperty(PropertyInterface("Position", g)), c.r.setGroupProperty(PropertyInterface("Rotation", g)), C.ir && (c.ir.setGroupProperty(PropertyInterface("Inner Radius", g)), c.is.setGroupProperty(PropertyInterface("Inner Roundness", g))), Object.defineProperties(d, {
|
|
9375
9375
|
position: {
|
|
9376
9376
|
get: ExpressionPropertyInterface(c.p)
|
|
@@ -9398,11 +9398,11 @@ var lottie$1 = { exports: {} };
|
|
|
9398
9398
|
}
|
|
9399
9399
|
}), d.mn = C.mn, d;
|
|
9400
9400
|
}
|
|
9401
|
-
function E(C, y,
|
|
9401
|
+
function E(C, y, 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 g = propertyGroupFactory(d,
|
|
9405
|
+
var g = propertyGroupFactory(d, L), c = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9406
9406
|
return d.propertyIndex = C.ix, c.p.setGroupProperty(PropertyInterface("Position", g)), c.s.setGroupProperty(PropertyInterface("Size", g)), c.r.setGroupProperty(PropertyInterface("Rotation", g)), Object.defineProperties(d, {
|
|
9407
9407
|
position: {
|
|
9408
9408
|
get: ExpressionPropertyInterface(c.p)
|
|
@@ -9418,11 +9418,11 @@ var lottie$1 = { exports: {} };
|
|
|
9418
9418
|
}
|
|
9419
9419
|
}), d.mn = C.mn, d;
|
|
9420
9420
|
}
|
|
9421
|
-
function u(C, y,
|
|
9421
|
+
function u(C, y, L) {
|
|
9422
9422
|
function d(b) {
|
|
9423
9423
|
return C.r.ix === b || b === "Round Corners 1" ? d.radius : null;
|
|
9424
9424
|
}
|
|
9425
|
-
var g = propertyGroupFactory(d,
|
|
9425
|
+
var g = propertyGroupFactory(d, L), c = y;
|
|
9426
9426
|
return d.propertyIndex = C.ix, c.rd.setGroupProperty(PropertyInterface("Radius", g)), Object.defineProperties(d, {
|
|
9427
9427
|
radius: {
|
|
9428
9428
|
get: ExpressionPropertyInterface(c.rd)
|
|
@@ -9432,11 +9432,11 @@ var lottie$1 = { exports: {} };
|
|
|
9432
9432
|
}
|
|
9433
9433
|
}), d.mn = C.mn, d;
|
|
9434
9434
|
}
|
|
9435
|
-
function P(C, y,
|
|
9435
|
+
function P(C, y, 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 g = propertyGroupFactory(d,
|
|
9439
|
+
var g = propertyGroupFactory(d, L), c = y;
|
|
9440
9440
|
return d.propertyIndex = C.ix, c.c.setGroupProperty(PropertyInterface("Copies", g)), c.o.setGroupProperty(PropertyInterface("Offset", g)), Object.defineProperties(d, {
|
|
9441
9441
|
copies: {
|
|
9442
9442
|
get: ExpressionPropertyInterface(c.c)
|
|
@@ -9449,20 +9449,20 @@ var lottie$1 = { exports: {} };
|
|
|
9449
9449
|
}
|
|
9450
9450
|
}), d.mn = C.mn, d;
|
|
9451
9451
|
}
|
|
9452
|
-
return function(C, y,
|
|
9452
|
+
return function(C, y, L) {
|
|
9453
9453
|
var d;
|
|
9454
9454
|
function g(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 c() {
|
|
9465
|
-
return
|
|
9465
|
+
return L;
|
|
9466
9466
|
}
|
|
9467
9467
|
return g.propertyGroup = propertyGroupFactory(g, c), d = e(C, y, g.propertyGroup), g.numProperties = d.length, g._name = "Contents", g;
|
|
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 y = this.comp.renderedFrame,
|
|
9594
|
+
var y = this.comp.renderedFrame, L = this.keyframes, d = L[L.length - 1].t;
|
|
9595
9595
|
if (y <= d)
|
|
9596
9596
|
return this.pv;
|
|
9597
9597
|
var g, c;
|
|
9598
|
-
C ? (P ? g = Math.abs(d - this.elem.comp.globalData.frameRate * P) : g = Math.max(0, d - this.elem.data.ip), c = d - g) : ((!P || P >
|
|
9599
|
-
var b,
|
|
9598
|
+
C ? (P ? g = Math.abs(d - this.elem.comp.globalData.frameRate * P) : g = Math.max(0, d - this.elem.data.ip), c = d - g) : ((!P || P > L.length - 1) && (P = L.length - 1), c = L[L.length - 1 - P].t, g = d - c);
|
|
9599
|
+
var b, M, A;
|
|
9600
9600
|
if (u === "pingpong") {
|
|
9601
9601
|
var T = Math.floor((y - c) / g);
|
|
9602
9602
|
if (T % 2 !== 0)
|
|
@@ -9604,7 +9604,7 @@ var lottie$1 = { exports: {} };
|
|
|
9604
9604
|
} else if (u === "offset") {
|
|
9605
9605
|
var k = this.getValueAtTime(c / this.comp.globalData.frameRate, 0), R = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), X = this.getValueAtTime(((y - c) % g + c) / this.comp.globalData.frameRate, 0), N = Math.floor((y - c) / g);
|
|
9606
9606
|
if (this.pv.length) {
|
|
9607
|
-
for (A = new Array(k.length),
|
|
9607
|
+
for (A = new Array(k.length), M = A.length, b = 0; b < M; b += 1)
|
|
9608
9608
|
A[b] = (R[b] - k[b]) * N + X[b];
|
|
9609
9609
|
return A;
|
|
9610
9610
|
}
|
|
@@ -9612,7 +9612,7 @@ var lottie$1 = { exports: {} };
|
|
|
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 (A = new Array(j.length),
|
|
9615
|
+
for (A = new Array(j.length), M = A.length, b = 0; b < M; b += 1)
|
|
9616
9616
|
A[b] = j[b] + (j[b] - Y[b]) * ((y - d) / this.comp.globalData.frameRate) / 5e-4;
|
|
9617
9617
|
return A;
|
|
9618
9618
|
}
|
|
@@ -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 y = this.comp.renderedFrame,
|
|
9627
|
+
var y = this.comp.renderedFrame, L = this.keyframes, d = L[0].t;
|
|
9628
9628
|
if (y >= d)
|
|
9629
9629
|
return this.pv;
|
|
9630
9630
|
var g, c;
|
|
9631
|
-
C ? (P ? g = Math.abs(this.elem.comp.globalData.frameRate * P) : g = Math.max(0, this.elem.data.op - d), c = d + g) : ((!P || P >
|
|
9632
|
-
var b,
|
|
9631
|
+
C ? (P ? g = Math.abs(this.elem.comp.globalData.frameRate * P) : g = Math.max(0, this.elem.data.op - d), c = d + g) : ((!P || P > L.length - 1) && (P = L.length - 1), c = L[P].t, g = c - d);
|
|
9632
|
+
var b, M, A;
|
|
9633
9633
|
if (u === "pingpong") {
|
|
9634
9634
|
var T = Math.floor((d - y) / g);
|
|
9635
9635
|
if (T % 2 === 0)
|
|
@@ -9637,7 +9637,7 @@ var lottie$1 = { exports: {} };
|
|
|
9637
9637
|
} else if (u === "offset") {
|
|
9638
9638
|
var k = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), R = this.getValueAtTime(c / this.comp.globalData.frameRate, 0), X = this.getValueAtTime((g - (d - y) % g + d) / this.comp.globalData.frameRate, 0), N = Math.floor((d - y) / g) + 1;
|
|
9639
9639
|
if (this.pv.length) {
|
|
9640
|
-
for (A = new Array(k.length),
|
|
9640
|
+
for (A = new Array(k.length), M = A.length, b = 0; b < M; b += 1)
|
|
9641
9641
|
A[b] = X[b] - (R[b] - k[b]) * N;
|
|
9642
9642
|
return A;
|
|
9643
9643
|
}
|
|
@@ -9645,7 +9645,7 @@ var lottie$1 = { exports: {} };
|
|
|
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 (A = new Array(j.length),
|
|
9648
|
+
for (A = new Array(j.length), M = A.length, b = 0; b < M; b += 1)
|
|
9649
9649
|
A[b] = j[b] + (j[b] - Y[b]) * (d - y) / 1e-3;
|
|
9650
9650
|
return A;
|
|
9651
9651
|
}
|
|
@@ -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, y = C - u,
|
|
9661
|
+
var C = this.comp.renderedFrame / this.comp.globalData.frameRate, y = C - u, L = C + u, d = P > 1 ? (L - y) / (P - 1) : 1, g = 0, c = 0, b;
|
|
9662
9662
|
this.pv.length ? b = createTypedArray("float32", this.pv.length) : b = 0;
|
|
9663
|
-
for (var
|
|
9664
|
-
if (
|
|
9663
|
+
for (var M; g < P; ) {
|
|
9664
|
+
if (M = this.getValueAtTime(y + g * d), this.pv.length)
|
|
9665
9665
|
for (c = 0; c < this.pv.length; c += 1)
|
|
9666
|
-
b[c] +=
|
|
9666
|
+
b[c] += M[c];
|
|
9667
9667
|
else
|
|
9668
|
-
b +=
|
|
9668
|
+
b += M;
|
|
9669
9669
|
g += 1;
|
|
9670
9670
|
}
|
|
9671
9671
|
if (this.pv.length)
|
|
@@ -9689,15 +9689,15 @@ var lottie$1 = { exports: {} };
|
|
|
9689
9689
|
P.scale(y[0] * this.s.mult, y[1] * this.s.mult, y[2] * this.s.mult);
|
|
9690
9690
|
}
|
|
9691
9691
|
if (this.sk && this.appliedTransformations < 3) {
|
|
9692
|
-
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 g = this.r.getValueAtTime(u);
|
|
9697
9697
|
P.rotate(-g * this.r.mult);
|
|
9698
9698
|
} else if (!this.r && this.appliedTransformations < 4) {
|
|
9699
|
-
var c = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u),
|
|
9700
|
-
P.rotateZ(-c * this.rz.mult).rotateY(b * this.ry.mult).rotateX(
|
|
9699
|
+
var c = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u), M = this.rx.getValueAtTime(u), A = this.or.getValueAtTime(u);
|
|
9700
|
+
P.rotateZ(-c * 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 y.dynamicProperties.length ? y.getValueAtTime = s.bind(y) : y.getValueAtTime = n.bind(y), y.setGroupProperty = expressionHelpers.setGroupProperty, y;
|
|
9722
9722
|
};
|
|
9723
9723
|
var o = PropertyFactory.getProp;
|
|
9724
|
-
PropertyFactory.getProp = function(u, P, C, y,
|
|
9725
|
-
var d = o(u, P, C, y,
|
|
9724
|
+
PropertyFactory.getProp = function(u, P, C, y, L) {
|
|
9725
|
+
var d = o(u, P, C, y, 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 g = 0;
|
|
9728
9728
|
return C !== 0 && (g = createTypedArray("float32", P.a === 1 ? P.k[0].s.length : P.k.length)), d._cachingAtTime = {
|
|
9729
9729
|
lastFrame: initialDefaultFrame,
|
|
9730
9730
|
lastIndex: 0,
|
|
9731
9731
|
value: g
|
|
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 y = this.v;
|
|
9748
9748
|
C !== void 0 && (y = this.getValueAtTime(C, 0));
|
|
9749
|
-
var
|
|
9750
|
-
for (
|
|
9751
|
-
P === "i" || P === "o" ? b[
|
|
9749
|
+
var L, d = y._length, g = y[P], c = y.v, b = createSizedArray(d);
|
|
9750
|
+
for (L = 0; L < d; L += 1)
|
|
9751
|
+
P === "i" || P === "o" ? b[L] = [g[L][0] - c[L][0], g[L][1] - c[L][1]] : b[L] = [g[L][0], g[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 y = this.v;
|
|
9768
9768
|
C !== void 0 && (y = this.getValueAtTime(C, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(y));
|
|
9769
|
-
for (var
|
|
9770
|
-
if (
|
|
9771
|
-
var T = c, k = y.c && c === b - 1 ? 0 : c + 1, R = (g -
|
|
9769
|
+
for (var L = this._segmentsLength, d = L.lengths, g = L.totalLength * P, c = 0, b = d.length, M = 0, A; c < b; ) {
|
|
9770
|
+
if (M + d[c].addedLength > g) {
|
|
9771
|
+
var T = c, k = y.c && c === b - 1 ? 0 : c + 1, R = (g - M) / d[c].addedLength;
|
|
9772
9772
|
A = bez.getPointInSegment(y.v[T], y.v[k], y.o[T], y.i[k], R, d[c]);
|
|
9773
9773
|
break;
|
|
9774
9774
|
} else
|
|
9775
|
-
|
|
9775
|
+
M += d[c].addedLength;
|
|
9776
9776
|
c += 1;
|
|
9777
9777
|
}
|
|
9778
9778
|
return A || (A = y.c ? [y.v[0][0], y.v[0][1]] : [y.v[y._length - 1][0], y.v[y._length - 1][1]]), A;
|
|
9779
9779
|
},
|
|
9780
9780
|
vectorOnPath: function(P, C, y) {
|
|
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), g = d[0] - L[0], c = d[1] - L[1], b = Math.sqrt(Math.pow(g, 2) + Math.pow(c, 2));
|
|
9783
9783
|
if (b === 0)
|
|
9784
9784
|
return [0, 0];
|
|
9785
|
-
var
|
|
9786
|
-
return
|
|
9785
|
+
var M = y === "tangent" ? [g / b, c / b] : [-c / b, g / 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], p), p.prototype.getValueAtTime = f, p.prototype.initiateExpression = ExpressionManager.initiateExpression;
|
|
9797
9797
|
var E = ShapePropertyFactory.getShapeProp;
|
|
9798
|
-
ShapePropertyFactory.getShapeProp = function(u, P, C, y,
|
|
9799
|
-
var d = E(u, P, C, y,
|
|
9798
|
+
ShapePropertyFactory.getShapeProp = function(u, P, C, y, L) {
|
|
9799
|
+
var d = E(u, P, C, y, 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,9 +10147,9 @@ function _toPropertyKey(e) {
|
|
|
10147
10147
|
return typeof t == "symbol" ? t : String(t);
|
|
10148
10148
|
}
|
|
10149
10149
|
var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], useLottie = function e(t, i) {
|
|
10150
|
-
var s = t.animationData, n = t.loop, a = t.autoplay, o = t.initialSegment, f = t.onComplete, l = t.onLoopComplete, p = t.onEnterFrame, m = t.onSegmentStart, E = t.onConfigReady, u = t.onDataReady, P = t.onDataFailed, C = t.onLoadedImages, y = t.onDOMLoaded,
|
|
10150
|
+
var s = t.animationData, n = t.loop, a = t.autoplay, o = t.initialSegment, f = t.onComplete, l = t.onLoopComplete, p = t.onEnterFrame, m = t.onSegmentStart, E = t.onConfigReady, u = t.onDataReady, P = t.onDataFailed, C = t.onLoadedImages, y = t.onDOMLoaded, L = t.onDestroy;
|
|
10151
10151
|
t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
|
|
10152
|
-
var d = _objectWithoutProperties(t, _excluded$1), g = useState(!1), c = _slicedToArray(g, 2), b = c[0],
|
|
10152
|
+
var d = _objectWithoutProperties(t, _excluded$1), g = useState(!1), c = _slicedToArray(g, 2), b = c[0], M = c[1], A = useRef(), T = useRef(null), k = function() {
|
|
10153
10153
|
var G;
|
|
10154
10154
|
(G = A.current) === null || G === void 0 || G.play();
|
|
10155
10155
|
}, R = function() {
|
|
@@ -10189,7 +10189,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10189
10189
|
var $ = _objectSpread2(_objectSpread2(_objectSpread2({}, t), G), {}, {
|
|
10190
10190
|
container: T.current
|
|
10191
10191
|
});
|
|
10192
|
-
return A.current = lottie.loadAnimation($),
|
|
10192
|
+
return A.current = lottie.loadAnimation($), M(!!A.current), function() {
|
|
10193
10193
|
var J;
|
|
10194
10194
|
(J = A.current) === null || J === void 0 || J.destroy(), A.current = void 0;
|
|
10195
10195
|
};
|
|
@@ -10240,7 +10240,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10240
10240
|
handler: y
|
|
10241
10241
|
}, {
|
|
10242
10242
|
name: "destroy",
|
|
10243
|
-
handler:
|
|
10243
|
+
handler: L
|
|
10244
10244
|
}], G = F.filter(function($) {
|
|
10245
10245
|
return $.handler != null;
|
|
10246
10246
|
});
|
|
@@ -10265,7 +10265,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10265
10265
|
});
|
|
10266
10266
|
};
|
|
10267
10267
|
}
|
|
10268
|
-
}, [f, l, p, m, E, u, P, C, y,
|
|
10268
|
+
}, [f, l, p, m, E, u, P, C, y, L]);
|
|
10269
10269
|
var B = /* @__PURE__ */ React.createElement("div", _objectSpread2({
|
|
10270
10270
|
style: i,
|
|
10271
10271
|
ref: T
|
|
@@ -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, y) {
|
|
10328
|
-
var
|
|
10329
|
-
if (
|
|
10330
|
-
var g = getContainerCursorPosition(o,
|
|
10331
|
-
|
|
10328
|
+
var L = C, d = y;
|
|
10329
|
+
if (L !== -1 && d !== -1) {
|
|
10330
|
+
var g = getContainerCursorPosition(o, L, d);
|
|
10331
|
+
L = g.x, d = g.y;
|
|
10332
10332
|
}
|
|
10333
10333
|
var c = a.find(function(A) {
|
|
10334
10334
|
var T = A.position;
|
|
10335
|
-
return T && Array.isArray(T.x) && Array.isArray(T.y) ?
|
|
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 (c) {
|
|
10338
10338
|
if (c.type === "seek" && c.position && Array.isArray(c.position.x) && Array.isArray(c.position.y) && c.frames.length === 2) {
|
|
10339
|
-
var b = (
|
|
10340
|
-
s.playSegments(c.frames, !0), s.goToAndStop(Math.ceil((b +
|
|
10339
|
+
var b = (L - c.position.x[0]) / (c.position.x[1] - c.position.x[0]), M = (d - c.position.y[0]) / (c.position.y[1] - c.position.y[0]);
|
|
10340
|
+
s.playSegments(c.frames, !0), s.goToAndStop(Math.ceil((b + M) / 2 * (c.frames[1] - c.frames[0])), !0);
|
|
10341
10341
|
}
|
|
10342
10342
|
c.type === "loop" && s.playSegments(c.frames, !0), c.type === "play" && (s.isPaused && s.resetSegments(!1), s.playSegments(c.frames)), c.type === "stop" && s.goToAndStop(c.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), p = l.View, m = l.play, E = l.stop, u = l.pause, P = l.setSpeed, C = l.goToAndStop, y = l.goToAndPlay,
|
|
10370
|
+
var i, s, n, a = t.style, o = t.interactivity, f = _objectWithoutProperties(t, _excluded), l = useLottie(f, a), p = l.View, m = l.play, E = l.stop, u = l.pause, P = l.setSpeed, C = l.goToAndStop, y = l.goToAndPlay, L = l.setDirection, d = l.playSegments, g = l.setSubframe, c = 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,12 +10376,12 @@ var useInitInteractivity = function e(t) {
|
|
|
10376
10376
|
setSpeed: P,
|
|
10377
10377
|
goToAndPlay: y,
|
|
10378
10378
|
goToAndStop: C,
|
|
10379
|
-
setDirection:
|
|
10379
|
+
setDirection: L,
|
|
10380
10380
|
playSegments: d,
|
|
10381
10381
|
setSubframe: g,
|
|
10382
10382
|
getDuration: c,
|
|
10383
10383
|
destroy: b,
|
|
10384
|
-
animationContainerRef:
|
|
10384
|
+
animationContainerRef: M,
|
|
10385
10385
|
animationLoaded: A,
|
|
10386
10386
|
animationItem: T
|
|
10387
10387
|
});
|
|
@@ -10394,12 +10394,12 @@ var useInitInteractivity = function e(t) {
|
|
|
10394
10394
|
setSpeed: P,
|
|
10395
10395
|
goToAndStop: C,
|
|
10396
10396
|
goToAndPlay: y,
|
|
10397
|
-
setDirection:
|
|
10397
|
+
setDirection: L,
|
|
10398
10398
|
playSegments: d,
|
|
10399
10399
|
setSubframe: g,
|
|
10400
10400
|
getDuration: c,
|
|
10401
10401
|
destroy: b,
|
|
10402
|
-
animationContainerRef:
|
|
10402
|
+
animationContainerRef: M,
|
|
10403
10403
|
animationLoaded: A,
|
|
10404
10404
|
animationItem: T
|
|
10405
10405
|
},
|
|
@@ -13182,25 +13182,33 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13182
13182
|
...n,
|
|
13183
13183
|
children: /* @__PURE__ */ jsxs("button", { className: "gf-flex gf-flex-row gf-justify-center gf-items-center gf-gap-2 gf-w-full focus:gf-outline-none", children: [
|
|
13184
13184
|
/* @__PURE__ */ jsx(Typography, { size: "h2", children: e }),
|
|
13185
|
-
/* @__PURE__ */ jsxs(
|
|
13186
|
-
|
|
13187
|
-
|
|
13188
|
-
{
|
|
13189
|
-
|
|
13190
|
-
|
|
13191
|
-
|
|
13192
|
-
|
|
13193
|
-
|
|
13194
|
-
|
|
13195
|
-
|
|
13196
|
-
|
|
13197
|
-
|
|
13198
|
-
|
|
13199
|
-
|
|
13200
|
-
|
|
13201
|
-
|
|
13202
|
-
|
|
13203
|
-
|
|
13185
|
+
/* @__PURE__ */ jsxs(
|
|
13186
|
+
"div",
|
|
13187
|
+
{
|
|
13188
|
+
className: `gf-flex gf-items-center ${i ? "" : "gf-gap-1"}`,
|
|
13189
|
+
children: [
|
|
13190
|
+
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-items-center", children: [
|
|
13191
|
+
typeof t == "string" ? /* @__PURE__ */ jsx(
|
|
13192
|
+
"img",
|
|
13193
|
+
{
|
|
13194
|
+
src: t,
|
|
13195
|
+
alt: "token logo",
|
|
13196
|
+
className: "gf-w-5 gf-h-5 gf-z-20"
|
|
13197
|
+
}
|
|
13198
|
+
) : t,
|
|
13199
|
+
i && (typeof i == "string" ? /* @__PURE__ */ jsx(
|
|
13200
|
+
"img",
|
|
13201
|
+
{
|
|
13202
|
+
src: i,
|
|
13203
|
+
alt: "chain logo",
|
|
13204
|
+
className: "gf-w-5 gf-h-5 -gf-translate-x-1 gf-z-10"
|
|
13205
|
+
}
|
|
13206
|
+
) : i)
|
|
13207
|
+
] }),
|
|
13208
|
+
/* @__PURE__ */ jsx("span", { children: /* @__PURE__ */ jsx(KeyboardDownIcon, {}) })
|
|
13209
|
+
]
|
|
13210
|
+
}
|
|
13211
|
+
)
|
|
13204
13212
|
] })
|
|
13205
13213
|
}
|
|
13206
13214
|
), appLink = "https://app.garden.finance", footerDetails = [
|
|
@@ -13320,35 +13328,35 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13320
13328
|
var build = { exports: {} };
|
|
13321
13329
|
(() => {
|
|
13322
13330
|
var e = { 181: (n, a, o) => {
|
|
13323
|
-
var f = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, m = /^0o[0-7]+$/i, E = parseInt, u = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, P = typeof self == "object" && self && self.Object === Object && self, C = u || P || Function("return this")(), y = Object.prototype.toString,
|
|
13331
|
+
var f = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i, p = /^0b[01]+$/i, m = /^0o[0-7]+$/i, E = parseInt, u = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, P = typeof self == "object" && self && self.Object === Object && self, C = u || P || Function("return this")(), y = Object.prototype.toString, L = Math.max, d = Math.min, g = function() {
|
|
13324
13332
|
return C.Date.now();
|
|
13325
13333
|
};
|
|
13326
|
-
function c(
|
|
13327
|
-
var A = typeof
|
|
13328
|
-
return !!
|
|
13334
|
+
function c(M) {
|
|
13335
|
+
var A = typeof M;
|
|
13336
|
+
return !!M && (A == "object" || A == "function");
|
|
13329
13337
|
}
|
|
13330
|
-
function b(
|
|
13331
|
-
if (typeof
|
|
13338
|
+
function b(M) {
|
|
13339
|
+
if (typeof M == "number") return M;
|
|
13332
13340
|
if (function(k) {
|
|
13333
13341
|
return typeof k == "symbol" || /* @__PURE__ */ function(R) {
|
|
13334
13342
|
return !!R && typeof R == "object";
|
|
13335
13343
|
}(k) && y.call(k) == "[object Symbol]";
|
|
13336
|
-
}(
|
|
13337
|
-
if (c(
|
|
13338
|
-
var A = typeof
|
|
13339
|
-
|
|
13344
|
+
}(M)) return NaN;
|
|
13345
|
+
if (c(M)) {
|
|
13346
|
+
var A = typeof M.valueOf == "function" ? M.valueOf() : M;
|
|
13347
|
+
M = c(A) ? A + "" : A;
|
|
13340
13348
|
}
|
|
13341
|
-
if (typeof
|
|
13342
|
-
|
|
13343
|
-
var T = p.test(
|
|
13344
|
-
return T || m.test(
|
|
13349
|
+
if (typeof M != "string") return M === 0 ? M : +M;
|
|
13350
|
+
M = M.replace(f, "");
|
|
13351
|
+
var T = p.test(M);
|
|
13352
|
+
return T || m.test(M) ? E(M.slice(2), T ? 2 : 8) : l.test(M) ? NaN : +M;
|
|
13345
13353
|
}
|
|
13346
|
-
n.exports = function(
|
|
13354
|
+
n.exports = function(M, A, T) {
|
|
13347
13355
|
var k, R, X, N, j, Y, U = 0, Z = !1, _ = !1, I = !0;
|
|
13348
|
-
if (typeof
|
|
13356
|
+
if (typeof M != "function") throw new TypeError("Expected a function");
|
|
13349
13357
|
function x(q) {
|
|
13350
13358
|
var $ = k, J = R;
|
|
13351
|
-
return k = R = void 0, U = q, N =
|
|
13359
|
+
return k = R = void 0, U = q, N = M.apply(J, $);
|
|
13352
13360
|
}
|
|
13353
13361
|
function S(q) {
|
|
13354
13362
|
var $ = q - Y;
|
|
@@ -13375,14 +13383,14 @@ var build = { exports: {} };
|
|
|
13375
13383
|
}
|
|
13376
13384
|
return j === void 0 && (j = setTimeout(B, A)), N;
|
|
13377
13385
|
}
|
|
13378
|
-
return A = b(A) || 0, c(T) && (Z = !!T.leading, X = (_ = "maxWait" in T) ?
|
|
13386
|
+
return A = b(A) || 0, c(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() {
|
|
13379
13387
|
j !== void 0 && clearTimeout(j), U = 0, k = Y = R = j = void 0;
|
|
13380
13388
|
}, G.flush = function() {
|
|
13381
13389
|
return j === void 0 ? N : F(g());
|
|
13382
13390
|
}, G;
|
|
13383
13391
|
};
|
|
13384
13392
|
}, 858: (n, a, o) => {
|
|
13385
|
-
var f = "Expected a function", l = NaN, p = "[object Symbol]", m = /^\s+|\s+$/g, E = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, P = /^0o[0-7]+$/i, C = parseInt, y = typeof o.g == "object" && o.g && o.g.Object === Object && o.g,
|
|
13393
|
+
var f = "Expected a function", l = NaN, p = "[object Symbol]", m = /^\s+|\s+$/g, E = /^[-+]0x[0-9a-f]+$/i, u = /^0b[01]+$/i, P = /^0o[0-7]+$/i, C = parseInt, y = typeof o.g == "object" && o.g && o.g.Object === Object && o.g, L = typeof self == "object" && self && self.Object === Object && self, d = y || L || Function("return this")(), g = Object.prototype.toString, c = Math.max, b = Math.min, M = function() {
|
|
13386
13394
|
return d.Date.now();
|
|
13387
13395
|
};
|
|
13388
13396
|
function A(k) {
|
|
@@ -13420,7 +13428,7 @@ var build = { exports: {} };
|
|
|
13420
13428
|
return F === void 0 || oe >= U || oe < 0 || $ && se - G >= x;
|
|
13421
13429
|
}
|
|
13422
13430
|
function pe() {
|
|
13423
|
-
var se =
|
|
13431
|
+
var se = M();
|
|
13424
13432
|
if (le(se)) return ue(se);
|
|
13425
13433
|
B = setTimeout(pe, function(oe) {
|
|
13426
13434
|
var te = U - (oe - F);
|
|
@@ -13431,7 +13439,7 @@ var build = { exports: {} };
|
|
|
13431
13439
|
return B = void 0, J && _ ? re(se) : (_ = I = void 0, S);
|
|
13432
13440
|
}
|
|
13433
13441
|
function ce() {
|
|
13434
|
-
var se =
|
|
13442
|
+
var se = M(), oe = le(se);
|
|
13435
13443
|
if (_ = arguments, I = this, F = se, oe) {
|
|
13436
13444
|
if (B === void 0) return function(te) {
|
|
13437
13445
|
return G = te, B = setTimeout(pe, U), q ? re(te) : S;
|
|
@@ -13443,7 +13451,7 @@ var build = { exports: {} };
|
|
|
13443
13451
|
return U = T(U) || 0, A(Z) && (q = !!Z.leading, x = ($ = "maxWait" in Z) ? c(T(Z.maxWait) || 0, U) : x, J = "trailing" in Z ? !!Z.trailing : J), ce.cancel = function() {
|
|
13444
13452
|
B !== void 0 && clearTimeout(B), G = 0, _ = F = I = B = void 0;
|
|
13445
13453
|
}, ce.flush = function() {
|
|
13446
|
-
return B === void 0 ? S : ue(
|
|
13454
|
+
return B === void 0 ? S : ue(M());
|
|
13447
13455
|
}, ce;
|
|
13448
13456
|
}(k, R, { leading: N, maxWait: R, trailing: j });
|
|
13449
13457
|
};
|
|
@@ -13454,7 +13462,7 @@ var build = { exports: {} };
|
|
|
13454
13462
|
function p() {
|
|
13455
13463
|
}
|
|
13456
13464
|
p.resetWarningCache = l, n.exports = function() {
|
|
13457
|
-
function m(P, C, y,
|
|
13465
|
+
function m(P, C, y, L, d, g) {
|
|
13458
13466
|
if (g !== f) {
|
|
13459
13467
|
var c = 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");
|
|
13460
13468
|
throw c.name = "Invariant Violation", c;
|
|
@@ -13565,10 +13573,10 @@ var build = { exports: {} };
|
|
|
13565
13573
|
return V.__proto__ || Object.getPrototypeOf(V);
|
|
13566
13574
|
}, y(D);
|
|
13567
13575
|
}
|
|
13568
|
-
function
|
|
13569
|
-
return
|
|
13576
|
+
function L(D, V) {
|
|
13577
|
+
return L = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(O, W) {
|
|
13570
13578
|
return O.__proto__ = W, O;
|
|
13571
|
-
},
|
|
13579
|
+
}, L(D, V);
|
|
13572
13580
|
}
|
|
13573
13581
|
var d = function(D) {
|
|
13574
13582
|
D.forEach(function(V) {
|
|
@@ -13589,7 +13597,7 @@ var build = { exports: {} };
|
|
|
13589
13597
|
}
|
|
13590
13598
|
return function(H, z) {
|
|
13591
13599
|
if (typeof z != "function" && z !== null) throw new TypeError("Super expression must either be null or a function");
|
|
13592
|
-
H.prototype = Object.create(z && z.prototype, { constructor: { value: H, writable: !0, configurable: !0 } }), Object.defineProperty(H, "prototype", { writable: !1 }), z &&
|
|
13600
|
+
H.prototype = Object.create(z && z.prototype, { constructor: { value: H, writable: !0, configurable: !0 } }), Object.defineProperty(H, "prototype", { writable: !1 }), z && L(H, z);
|
|
13593
13601
|
}(V, D), O = V, W = [{ key: "componentDidMount", value: function() {
|
|
13594
13602
|
this.placeholder && this.observer && (this.placeholder.onVisible = this.props.onVisible, this.observer.observe(this.placeholder)), this.supportsObserver || this.updateVisibility();
|
|
13595
13603
|
} }, { key: "componentWillUnmount", value: function() {
|
|
@@ -13629,7 +13637,7 @@ var build = { exports: {} };
|
|
|
13629
13637
|
}(a().Component);
|
|
13630
13638
|
c.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]) }, c.defaultProps = { className: "", placeholder: null, threshold: 100, useIntersectionObserver: !0 };
|
|
13631
13639
|
const b = c;
|
|
13632
|
-
var
|
|
13640
|
+
var M = i(181), A = i.n(M), T = i(858), k = i.n(T), R = function(D) {
|
|
13633
13641
|
var V = getComputedStyle(D, null);
|
|
13634
13642
|
return V.getPropertyValue("overflow") + V.getPropertyValue("overflow-y") + V.getPropertyValue("overflow-x");
|
|
13635
13643
|
};
|
|
@@ -13843,10 +13851,10 @@ var build = { exports: {} };
|
|
|
13843
13851
|
function K(D, V) {
|
|
13844
13852
|
for (var O = 0; O < V.length; O++) {
|
|
13845
13853
|
var W = V[O];
|
|
13846
|
-
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D,
|
|
13854
|
+
W.enumerable = W.enumerable || !1, W.configurable = !0, "value" in W && (W.writable = !0), Object.defineProperty(D, Me(W.key), W);
|
|
13847
13855
|
}
|
|
13848
13856
|
}
|
|
13849
|
-
function
|
|
13857
|
+
function Me(D) {
|
|
13850
13858
|
var V = function(O, W) {
|
|
13851
13859
|
if (te(O) != "object" || !O) return O;
|
|
13852
13860
|
var H = O[Symbol.toPrimitive];
|
|
@@ -13936,7 +13944,7 @@ var build = { exports: {} };
|
|
|
13936
13944
|
}
|
|
13937
13945
|
return O;
|
|
13938
13946
|
}
|
|
13939
|
-
function
|
|
13947
|
+
function Le(D) {
|
|
13940
13948
|
for (var V = 1; V < arguments.length; V++) {
|
|
13941
13949
|
var O = arguments[V] != null ? arguments[V] : {};
|
|
13942
13950
|
V % 2 ? be(Object(O), !0).forEach(function(W) {
|
|
@@ -14047,7 +14055,7 @@ var build = { exports: {} };
|
|
|
14047
14055
|
return a().createElement(me, { beforeLoad: z, className: ee, delayMethod: Q, delayTime: ie, height: ne, placeholder: he, scrollPosition: fe, style: ae, threshold: ve, useIntersectionObserver: de, visibleByDefault: ge, width: Re }, this.getImg());
|
|
14048
14056
|
} }, { key: "getWrappedLazyLoadImage", value: function(H) {
|
|
14049
14057
|
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%" };
|
|
14050
|
-
return a().createElement("span", Ee({ className: he + " lazy-load-image-background " + ee + ve, style:
|
|
14058
|
+
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), H);
|
|
14051
14059
|
} }, { key: "render", value: function() {
|
|
14052
14060
|
var H = this.props, z = H.effect, ee = H.placeholderSrc, Q = H.visibleByDefault, ie = H.wrapperClassName, ne = H.wrapperProps, he = this.getLazyLoadImage();
|
|
14053
14061
|
return (z || ee) && !Q || ie || ne ? this.getWrappedLazyLoadImage(he) : he;
|