@gardenfi/garden-book 0.1.34 → 0.1.36
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/ui.es.js
CHANGED
|
@@ -14,15 +14,15 @@ function clsx$1() {
|
|
|
14
14
|
const falsyToString = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, cx = clsx$1, cva = (e, t) => (i) => {
|
|
15
15
|
var s;
|
|
16
16
|
if ((t == null ? void 0 : t.variants) == null) return cx(e, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
17
|
-
const { variants: n, defaultVariants: a } = t, o = Object.keys(n).map((
|
|
18
|
-
const m = i == null ? void 0 : i[
|
|
17
|
+
const { variants: n, defaultVariants: a } = t, o = Object.keys(n).map((p) => {
|
|
18
|
+
const m = i == null ? void 0 : i[p], E = a == null ? void 0 : a[p];
|
|
19
19
|
if (m === null) return null;
|
|
20
20
|
const u = falsyToString(m) || falsyToString(E);
|
|
21
|
-
return n[
|
|
22
|
-
}), f = i && Object.entries(i).reduce((
|
|
21
|
+
return n[p][u];
|
|
22
|
+
}), f = i && Object.entries(i).reduce((p, m) => {
|
|
23
23
|
let [E, u] = m;
|
|
24
|
-
return u === void 0 || (
|
|
25
|
-
}, {}), l = t == null || (s = t.compoundVariants) === null || s === void 0 ? void 0 : s.reduce((
|
|
24
|
+
return u === void 0 || (p[E] = u), p;
|
|
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
28
|
let [y, M] = C;
|
|
@@ -34,10 +34,10 @@ const falsyToString = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0
|
|
|
34
34
|
...f
|
|
35
35
|
}[y] === M;
|
|
36
36
|
}) ? [
|
|
37
|
-
...
|
|
37
|
+
...p,
|
|
38
38
|
E,
|
|
39
39
|
u
|
|
40
|
-
] :
|
|
40
|
+
] : p;
|
|
41
41
|
}, []);
|
|
42
42
|
return cx(e, o, l, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
|
|
43
43
|
};
|
|
@@ -181,10 +181,10 @@ function createParseClassName(e) {
|
|
|
181
181
|
} = e, s = t.length === 1, n = t[0], a = t.length;
|
|
182
182
|
function o(f) {
|
|
183
183
|
const l = [];
|
|
184
|
-
let
|
|
184
|
+
let p = 0, m = 0, E;
|
|
185
185
|
for (let M = 0; M < f.length; M++) {
|
|
186
186
|
let d = f[M];
|
|
187
|
-
if (
|
|
187
|
+
if (p === 0) {
|
|
188
188
|
if (d === n && (s || f.slice(M, M + a) === t)) {
|
|
189
189
|
l.push(f.slice(m, M)), m = M + a;
|
|
190
190
|
continue;
|
|
@@ -194,7 +194,7 @@ function createParseClassName(e) {
|
|
|
194
194
|
continue;
|
|
195
195
|
}
|
|
196
196
|
}
|
|
197
|
-
d === "[" ?
|
|
197
|
+
d === "[" ? p++ : d === "]" && p--;
|
|
198
198
|
}
|
|
199
199
|
const u = l.length === 0 ? f : f.substring(m), P = u.startsWith(IMPORTANT_MODIFIER), C = P ? u.substring(1) : u, y = E && E > m ? E - m : void 0;
|
|
200
200
|
return {
|
|
@@ -238,17 +238,17 @@ function mergeClassList(e, t) {
|
|
|
238
238
|
const {
|
|
239
239
|
modifiers: f,
|
|
240
240
|
hasImportantModifier: l,
|
|
241
|
-
baseClassName:
|
|
241
|
+
baseClassName: p,
|
|
242
242
|
maybePostfixModifierPosition: m
|
|
243
243
|
} = i(o);
|
|
244
|
-
let E = !!m, u = s(E ?
|
|
244
|
+
let E = !!m, u = s(E ? p.substring(0, m) : p);
|
|
245
245
|
if (!u) {
|
|
246
246
|
if (!E)
|
|
247
247
|
return {
|
|
248
248
|
isTailwindClass: !1,
|
|
249
249
|
originalClassName: o
|
|
250
250
|
};
|
|
251
|
-
if (u = s(
|
|
251
|
+
if (u = s(p), !u)
|
|
252
252
|
return {
|
|
253
253
|
isTailwindClass: !1,
|
|
254
254
|
originalClassName: o
|
|
@@ -269,9 +269,9 @@ function mergeClassList(e, t) {
|
|
|
269
269
|
const {
|
|
270
270
|
modifierId: f,
|
|
271
271
|
classGroupId: l,
|
|
272
|
-
hasPostfixModifier:
|
|
272
|
+
hasPostfixModifier: p
|
|
273
273
|
} = o, m = f + l;
|
|
274
|
-
return a.has(m) ? !1 : (a.add(m), n(l,
|
|
274
|
+
return a.has(m) ? !1 : (a.add(m), n(l, p).forEach((E) => a.add(f + E)), !0);
|
|
275
275
|
}).reverse().map((o) => o.originalClassName).join(" ");
|
|
276
276
|
}
|
|
277
277
|
function twJoin() {
|
|
@@ -291,13 +291,13 @@ function toValue(e) {
|
|
|
291
291
|
function createTailwindMerge(e, ...t) {
|
|
292
292
|
let i, s, n, a = o;
|
|
293
293
|
function o(l) {
|
|
294
|
-
const
|
|
295
|
-
return i = createConfigUtils(
|
|
294
|
+
const p = t.reduce((m, E) => E(m), e());
|
|
295
|
+
return i = createConfigUtils(p), s = i.cache.get, n = i.cache.set, a = f, f(l);
|
|
296
296
|
}
|
|
297
297
|
function f(l) {
|
|
298
|
-
const
|
|
299
|
-
if (
|
|
300
|
-
return
|
|
298
|
+
const p = s(l);
|
|
299
|
+
if (p)
|
|
300
|
+
return p;
|
|
301
301
|
const m = mergeClassList(l, i);
|
|
302
302
|
return n(l, m), m;
|
|
303
303
|
}
|
|
@@ -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"),
|
|
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"), M = fromTheme("margin"), d = fromTheme("opacity"), g = fromTheme("padding"), c = fromTheme("saturate"), b = fromTheme("scale"), L = fromTheme("sepia"), A = fromTheme("skew"), T = fromTheme("space"), k = fromTheme("translate"), R = () => ["auto", "contain", "none"], X = () => ["auto", "hidden", "clip", "visible", "scroll"], N = () => ["auto", isArbitraryValue, t], j = () => [isArbitraryValue, t], Y = () => ["", isLength, isArbitraryLength], U = () => ["auto", isNumber, isArbitraryValue], Z = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], _ = () => ["solid", "dashed", "dotted", "double", "none"], I = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], x = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], S = () => ["", "0", isArbitraryValue], B = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], F = () => [isNumber, isArbitraryNumber], G = () => [isNumber, isArbitraryValue];
|
|
372
372
|
return {
|
|
373
373
|
cacheSize: 500,
|
|
374
374
|
separator: ":",
|
|
@@ -1799,7 +1799,7 @@ function getDefaultConfig() {
|
|
|
1799
1799
|
* @see https://tailwindcss.com/docs/grayscale
|
|
1800
1800
|
*/
|
|
1801
1801
|
grayscale: [{
|
|
1802
|
-
grayscale: [
|
|
1802
|
+
grayscale: [p]
|
|
1803
1803
|
}],
|
|
1804
1804
|
/**
|
|
1805
1805
|
* Hue Rotate
|
|
@@ -1820,7 +1820,7 @@ function getDefaultConfig() {
|
|
|
1820
1820
|
* @see https://tailwindcss.com/docs/saturate
|
|
1821
1821
|
*/
|
|
1822
1822
|
saturate: [{
|
|
1823
|
-
saturate: [
|
|
1823
|
+
saturate: [c]
|
|
1824
1824
|
}],
|
|
1825
1825
|
/**
|
|
1826
1826
|
* Sepia
|
|
@@ -1863,7 +1863,7 @@ function getDefaultConfig() {
|
|
|
1863
1863
|
* @see https://tailwindcss.com/docs/backdrop-grayscale
|
|
1864
1864
|
*/
|
|
1865
1865
|
"backdrop-grayscale": [{
|
|
1866
|
-
"backdrop-grayscale": [
|
|
1866
|
+
"backdrop-grayscale": [p]
|
|
1867
1867
|
}],
|
|
1868
1868
|
/**
|
|
1869
1869
|
* Backdrop Hue Rotate
|
|
@@ -1891,7 +1891,7 @@ function getDefaultConfig() {
|
|
|
1891
1891
|
* @see https://tailwindcss.com/docs/backdrop-saturate
|
|
1892
1892
|
*/
|
|
1893
1893
|
"backdrop-saturate": [{
|
|
1894
|
-
"backdrop-saturate": [
|
|
1894
|
+
"backdrop-saturate": [c]
|
|
1895
1895
|
}],
|
|
1896
1896
|
/**
|
|
1897
1897
|
* Backdrop Sepia
|
|
@@ -2567,25 +2567,25 @@ var lottie$1 = { exports: {} };
|
|
|
2567
2567
|
};
|
|
2568
2568
|
}();
|
|
2569
2569
|
function HSVtoRGB(e, t, i) {
|
|
2570
|
-
var s, n, a, o, f, l,
|
|
2571
|
-
switch (o = Math.floor(e * 6), f = e * 6 - o, l = i * (1 - t),
|
|
2570
|
+
var s, n, a, o, f, l, p, m;
|
|
2571
|
+
switch (o = Math.floor(e * 6), f = e * 6 - o, l = i * (1 - t), p = i * (1 - f * t), m = i * (1 - (1 - f) * t), o % 6) {
|
|
2572
2572
|
case 0:
|
|
2573
2573
|
s = i, n = m, a = l;
|
|
2574
2574
|
break;
|
|
2575
2575
|
case 1:
|
|
2576
|
-
s =
|
|
2576
|
+
s = p, n = i, a = l;
|
|
2577
2577
|
break;
|
|
2578
2578
|
case 2:
|
|
2579
2579
|
s = l, n = i, a = m;
|
|
2580
2580
|
break;
|
|
2581
2581
|
case 3:
|
|
2582
|
-
s = l, n =
|
|
2582
|
+
s = l, n = p, a = i;
|
|
2583
2583
|
break;
|
|
2584
2584
|
case 4:
|
|
2585
2585
|
s = m, n = l, a = i;
|
|
2586
2586
|
break;
|
|
2587
2587
|
case 5:
|
|
2588
|
-
s = i, n = l, a =
|
|
2588
|
+
s = i, n = l, a = p;
|
|
2589
2589
|
break;
|
|
2590
2590
|
}
|
|
2591
2591
|
return [s, n, a];
|
|
@@ -2698,14 +2698,14 @@ var lottie$1 = { exports: {} };
|
|
|
2698
2698
|
for (q = $[B].pt.k.length, G = 0; G < q; G += 1)
|
|
2699
2699
|
$[B].pt.k[G].s && L($[B].pt.k[G].s[0]), $[B].pt.k[G].e && L($[B].pt.k[G].e[0]);
|
|
2700
2700
|
}
|
|
2701
|
-
I.ty === 0 ? (I.layers =
|
|
2701
|
+
I.ty === 0 ? (I.layers = c(I.refId, _), M(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 =
|
|
2708
|
+
Z[I].t === 1 && (Z[I].data.layers = c(Z[I].data.refId, _), M(Z[I].data.layers, _));
|
|
2709
2709
|
}
|
|
2710
2710
|
}
|
|
2711
2711
|
function g(Z, _) {
|
|
@@ -2716,7 +2716,7 @@ var lottie$1 = { exports: {} };
|
|
|
2716
2716
|
}
|
|
2717
2717
|
return null;
|
|
2718
2718
|
}
|
|
2719
|
-
function
|
|
2719
|
+
function c(Z, _) {
|
|
2720
2720
|
var I = g(Z, _);
|
|
2721
2721
|
return I ? I.layers.__used ? JSON.parse(JSON.stringify(I.layers)) : (I.layers.__used = !0, I.layers) : null;
|
|
2722
2722
|
}
|
|
@@ -2927,10 +2927,10 @@ var lottie$1 = { exports: {} };
|
|
|
2927
2927
|
}
|
|
2928
2928
|
if (a.dataManager || (a.dataManager = C()), a.assetLoader || (a.assetLoader = /* @__PURE__ */ function() {
|
|
2929
2929
|
function M(g) {
|
|
2930
|
-
var
|
|
2931
|
-
return
|
|
2930
|
+
var c = g.getResponseHeader("content-type");
|
|
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,
|
|
2933
|
+
function d(g, c, b, L) {
|
|
2934
2934
|
var A, T = new XMLHttpRequest();
|
|
2935
2935
|
try {
|
|
2936
2936
|
T.responseType = "json";
|
|
@@ -2950,7 +2950,7 @@ var lottie$1 = { exports: {} };
|
|
|
2950
2950
|
try {
|
|
2951
2951
|
T.open(["G", "E", "T"].join(""), g, !0);
|
|
2952
2952
|
} catch {
|
|
2953
|
-
T.open(["G", "E", "T"].join(""),
|
|
2953
|
+
T.open(["G", "E", "T"].join(""), c + "/" + g, !0);
|
|
2954
2954
|
}
|
|
2955
2955
|
T.send();
|
|
2956
2956
|
}
|
|
@@ -3002,7 +3002,7 @@ var lottie$1 = { exports: {} };
|
|
|
3002
3002
|
onError: P
|
|
3003
3003
|
}, C;
|
|
3004
3004
|
}
|
|
3005
|
-
function
|
|
3005
|
+
function p(u, P, C) {
|
|
3006
3006
|
f();
|
|
3007
3007
|
var y = l(P, C);
|
|
3008
3008
|
s.postMessage({
|
|
@@ -3032,7 +3032,7 @@ var lottie$1 = { exports: {} };
|
|
|
3032
3032
|
});
|
|
3033
3033
|
}
|
|
3034
3034
|
return {
|
|
3035
|
-
loadAnimation:
|
|
3035
|
+
loadAnimation: p,
|
|
3036
3036
|
loadData: m,
|
|
3037
3037
|
completeAnimation: E
|
|
3038
3038
|
};
|
|
@@ -3049,7 +3049,7 @@ var lottie$1 = { exports: {} };
|
|
|
3049
3049
|
function i() {
|
|
3050
3050
|
this.loadedFootagesCount += 1, this.loadedAssets === this.totalImages && this.loadedFootagesCount === this.totalFootages && this.imagesLoadedCb && this.imagesLoadedCb(null);
|
|
3051
3051
|
}
|
|
3052
|
-
function s(d, g,
|
|
3052
|
+
function s(d, g, c) {
|
|
3053
3053
|
var b = "";
|
|
3054
3054
|
if (d.e)
|
|
3055
3055
|
b = d.p;
|
|
@@ -3057,33 +3057,33 @@ var lottie$1 = { exports: {} };
|
|
|
3057
3057
|
var L = d.p;
|
|
3058
3058
|
L.indexOf("images/") !== -1 && (L = L.split("/")[1]), b = g + L;
|
|
3059
3059
|
} else
|
|
3060
|
-
b =
|
|
3060
|
+
b = c, b += d.u ? d.u : "", b += d.p;
|
|
3061
3061
|
return b;
|
|
3062
3062
|
}
|
|
3063
3063
|
function n(d) {
|
|
3064
|
-
var g = 0,
|
|
3064
|
+
var g = 0, c = setInterval((function() {
|
|
3065
3065
|
var b = d.getBBox();
|
|
3066
|
-
(b.width || g > 500) && (this._imageLoaded(), clearInterval(
|
|
3066
|
+
(b.width || g > 500) && (this._imageLoaded(), clearInterval(c)), g += 1;
|
|
3067
3067
|
}).bind(this), 50);
|
|
3068
3068
|
}
|
|
3069
3069
|
function a(d) {
|
|
3070
|
-
var g = s(d, this.assetsPath, this.path),
|
|
3071
|
-
isSafari ? this.testImageLoaded(
|
|
3070
|
+
var g = s(d, this.assetsPath, this.path), c = createNS("image");
|
|
3071
|
+
isSafari ? this.testImageLoaded(c) : c.addEventListener("load", this._imageLoaded, !1), c.addEventListener("error", (function() {
|
|
3072
3072
|
b.img = e, this._imageLoaded();
|
|
3073
|
-
}).bind(this), !1),
|
|
3073
|
+
}).bind(this), !1), c.setAttributeNS("http://www.w3.org/1999/xlink", "href", g), this._elementHelper.append ? this._elementHelper.append(c) : this._elementHelper.appendChild(c);
|
|
3074
3074
|
var b = {
|
|
3075
|
-
img:
|
|
3075
|
+
img: c,
|
|
3076
3076
|
assetData: d
|
|
3077
3077
|
};
|
|
3078
3078
|
return b;
|
|
3079
3079
|
}
|
|
3080
3080
|
function o(d) {
|
|
3081
|
-
var g = s(d, this.assetsPath, this.path),
|
|
3082
|
-
|
|
3081
|
+
var g = s(d, this.assetsPath, this.path), c = createTag("img");
|
|
3082
|
+
c.crossOrigin = "anonymous", c.addEventListener("load", this._imageLoaded, !1), c.addEventListener("error", (function() {
|
|
3083
3083
|
b.img = e, this._imageLoaded();
|
|
3084
|
-
}).bind(this), !1),
|
|
3084
|
+
}).bind(this), !1), c.src = g;
|
|
3085
3085
|
var b = {
|
|
3086
|
-
img:
|
|
3086
|
+
img: c,
|
|
3087
3087
|
assetData: d
|
|
3088
3088
|
};
|
|
3089
3089
|
return b;
|
|
@@ -3091,8 +3091,8 @@ var lottie$1 = { exports: {} };
|
|
|
3091
3091
|
function f(d) {
|
|
3092
3092
|
var g = {
|
|
3093
3093
|
assetData: d
|
|
3094
|
-
},
|
|
3095
|
-
return dataManager.loadData(
|
|
3094
|
+
}, c = s(d, this.assetsPath, this.path);
|
|
3095
|
+
return dataManager.loadData(c, (function(b) {
|
|
3096
3096
|
g.img = b, this._footageLoaded();
|
|
3097
3097
|
}).bind(this), (function() {
|
|
3098
3098
|
g.img = {}, this._footageLoaded();
|
|
@@ -3100,18 +3100,18 @@ var lottie$1 = { exports: {} };
|
|
|
3100
3100
|
}
|
|
3101
3101
|
function l(d, g) {
|
|
3102
3102
|
this.imagesLoadedCb = g;
|
|
3103
|
-
var
|
|
3104
|
-
for (
|
|
3105
|
-
d[
|
|
3103
|
+
var c, b = d.length;
|
|
3104
|
+
for (c = 0; c < b; c += 1)
|
|
3105
|
+
d[c].layers || (!d[c].t || d[c].t === "seq" ? (this.totalImages += 1, this.images.push(this._createImageData(d[c]))) : d[c].t === 3 && (this.totalFootages += 1, this.images.push(this.createFootageData(d[c]))));
|
|
3106
3106
|
}
|
|
3107
|
-
function
|
|
3107
|
+
function p(d) {
|
|
3108
3108
|
this.path = d || "";
|
|
3109
3109
|
}
|
|
3110
3110
|
function m(d) {
|
|
3111
3111
|
this.assetsPath = d || "";
|
|
3112
3112
|
}
|
|
3113
3113
|
function E(d) {
|
|
3114
|
-
for (var g = 0,
|
|
3114
|
+
for (var g = 0, c = this.images.length; g < c; ) {
|
|
3115
3115
|
if (this.images[g].assetData === d)
|
|
3116
3116
|
return this.images[g].img;
|
|
3117
3117
|
g += 1;
|
|
@@ -3136,7 +3136,7 @@ var lottie$1 = { exports: {} };
|
|
|
3136
3136
|
return M.prototype = {
|
|
3137
3137
|
loadAssets: l,
|
|
3138
3138
|
setAssetsPath: m,
|
|
3139
|
-
setPath:
|
|
3139
|
+
setPath: p,
|
|
3140
3140
|
loadedImages: P,
|
|
3141
3141
|
loadedFootages: C,
|
|
3142
3142
|
destroy: u,
|
|
@@ -3487,7 +3487,7 @@ var lottie$1 = { exports: {} };
|
|
|
3487
3487
|
var S = new AnimationItem();
|
|
3488
3488
|
return u(S, _), S.setData(_, I), S;
|
|
3489
3489
|
}
|
|
3490
|
-
function
|
|
3490
|
+
function p() {
|
|
3491
3491
|
var _, I = t.length, x = [];
|
|
3492
3492
|
for (_ = 0; _ < I; _ += 1)
|
|
3493
3493
|
x.push(t[_].animation);
|
|
@@ -3533,7 +3533,7 @@ var lottie$1 = { exports: {} };
|
|
|
3533
3533
|
function g(_) {
|
|
3534
3534
|
i = _, window.requestAnimationFrame(d);
|
|
3535
3535
|
}
|
|
3536
|
-
function
|
|
3536
|
+
function c(_) {
|
|
3537
3537
|
var I;
|
|
3538
3538
|
for (I = 0; I < s; I += 1)
|
|
3539
3539
|
t[I].animation.pause(_);
|
|
@@ -3599,76 +3599,76 @@ 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 = M, e.pause =
|
|
3602
|
+
return e.registerAnimation = l, e.loadAnimation = P, e.setSpeed = C, e.setDirection = y, e.play = M, e.pause = c, e.stop = L, e.togglePause = A, e.searchAnimations = k, e.resize = R, e.goToAndStop = b, e.destroy = T, e.freeze = N, e.unfreeze = j, e.setVolume = Y, e.mute = U, e.unmute = Z, e.getRegisteredAnimations = p, e;
|
|
3603
3603
|
}(), BezierFactory = function() {
|
|
3604
3604
|
var e = {};
|
|
3605
3605
|
e.getBezierEasing = i;
|
|
3606
3606
|
var t = {};
|
|
3607
|
-
function i(g,
|
|
3608
|
-
var T = A || ("bez_" + g + "_" +
|
|
3607
|
+
function i(g, c, b, L, A) {
|
|
3608
|
+
var T = A || ("bez_" + g + "_" + c + "_" + b + "_" + L).replace(/\./g, "p");
|
|
3609
3609
|
if (t[T])
|
|
3610
3610
|
return t[T];
|
|
3611
|
-
var k = new d([g,
|
|
3611
|
+
var k = new d([g, c, b, L]);
|
|
3612
3612
|
return t[T] = k, k;
|
|
3613
3613
|
}
|
|
3614
|
-
var s = 4, n = 1e-3, a = 1e-7, o = 10, f = 11, l = 1 / (f - 1),
|
|
3615
|
-
function m(g,
|
|
3616
|
-
return 1 - 3 *
|
|
3614
|
+
var s = 4, n = 1e-3, a = 1e-7, o = 10, f = 11, l = 1 / (f - 1), p = typeof Float32Array == "function";
|
|
3615
|
+
function m(g, c) {
|
|
3616
|
+
return 1 - 3 * c + 3 * g;
|
|
3617
3617
|
}
|
|
3618
|
-
function E(g,
|
|
3619
|
-
return 3 *
|
|
3618
|
+
function E(g, c) {
|
|
3619
|
+
return 3 * c - 6 * g;
|
|
3620
3620
|
}
|
|
3621
3621
|
function u(g) {
|
|
3622
3622
|
return 3 * g;
|
|
3623
3623
|
}
|
|
3624
|
-
function P(g,
|
|
3625
|
-
return ((m(
|
|
3624
|
+
function P(g, c, b) {
|
|
3625
|
+
return ((m(c, b) * g + E(c, b)) * g + u(c)) * g;
|
|
3626
3626
|
}
|
|
3627
|
-
function C(g,
|
|
3628
|
-
return 3 * m(
|
|
3627
|
+
function C(g, c, b) {
|
|
3628
|
+
return 3 * m(c, b) * g * g + 2 * E(c, b) * g + u(c);
|
|
3629
3629
|
}
|
|
3630
|
-
function y(g,
|
|
3630
|
+
function y(g, c, b, L, A) {
|
|
3631
3631
|
var T, k, R = 0;
|
|
3632
3632
|
do
|
|
3633
|
-
k =
|
|
3633
|
+
k = c + (b - c) / 2, T = P(k, L, 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 M(g,
|
|
3637
|
+
function M(g, c, b, L) {
|
|
3638
3638
|
for (var A = 0; A < s; ++A) {
|
|
3639
|
-
var T = C(
|
|
3640
|
-
if (T === 0) return
|
|
3641
|
-
var k = P(
|
|
3642
|
-
|
|
3639
|
+
var T = C(c, b, L);
|
|
3640
|
+
if (T === 0) return c;
|
|
3641
|
+
var k = P(c, b, L) - g;
|
|
3642
|
+
c -= k / T;
|
|
3643
3643
|
}
|
|
3644
|
-
return
|
|
3644
|
+
return c;
|
|
3645
3645
|
}
|
|
3646
3646
|
function d(g) {
|
|
3647
|
-
this._p = g, this._mSampleValues =
|
|
3647
|
+
this._p = g, this._mSampleValues = p ? new Float32Array(f) : new Array(f), this._precomputed = !1, this.get = this.get.bind(this);
|
|
3648
3648
|
}
|
|
3649
3649
|
return d.prototype = {
|
|
3650
|
-
get: function(
|
|
3650
|
+
get: function(c) {
|
|
3651
3651
|
var b = this._p[0], L = this._p[1], A = this._p[2], T = this._p[3];
|
|
3652
|
-
return this._precomputed || this._precompute(), b === L && A === T ?
|
|
3652
|
+
return this._precomputed || this._precompute(), b === L && A === T ? c : c === 0 ? 0 : c === 1 ? 1 : P(this._getTForX(c), L, T);
|
|
3653
3653
|
},
|
|
3654
3654
|
// Private part
|
|
3655
3655
|
_precompute: function() {
|
|
3656
|
-
var
|
|
3657
|
-
this._precomputed = !0, (
|
|
3656
|
+
var c = this._p[0], b = this._p[1], L = this._p[2], A = this._p[3];
|
|
3657
|
+
this._precomputed = !0, (c !== b || L !== A) && this._calcSampleValues();
|
|
3658
3658
|
},
|
|
3659
3659
|
_calcSampleValues: function() {
|
|
3660
|
-
for (var
|
|
3661
|
-
this._mSampleValues[L] = P(L * l,
|
|
3660
|
+
for (var c = this._p[0], b = this._p[2], L = 0; L < f; ++L)
|
|
3661
|
+
this._mSampleValues[L] = P(L * 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
|
-
_getTForX: function(
|
|
3667
|
-
for (var b = this._p[0], L = this._p[2], A = this._mSampleValues, T = 0, k = 1, R = f - 1; k !== R && A[k] <=
|
|
3666
|
+
_getTForX: function(c) {
|
|
3667
|
+
for (var b = this._p[0], L = 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 = (
|
|
3671
|
-
return j >= n ? M(
|
|
3670
|
+
var X = (c - A[k]) / (A[k + 1] - A[k]), N = T + X * l, j = C(N, b, L);
|
|
3671
|
+
return j >= n ? M(c, N, b, L) : j === 0 ? N : y(c, T, T + l, b, L);
|
|
3672
3672
|
}
|
|
3673
3673
|
}, e;
|
|
3674
3674
|
}(), pooling = /* @__PURE__ */ function() {
|
|
@@ -3685,11 +3685,11 @@ var lottie$1 = { exports: {} };
|
|
|
3685
3685
|
release: l
|
|
3686
3686
|
};
|
|
3687
3687
|
function f() {
|
|
3688
|
-
var
|
|
3689
|
-
return s ? (s -= 1,
|
|
3688
|
+
var p;
|
|
3689
|
+
return s ? (s -= 1, p = a[s]) : p = t(), p;
|
|
3690
3690
|
}
|
|
3691
|
-
function l(
|
|
3692
|
-
s === n && (a = pooling.double(a), n *= 2), i && i(
|
|
3691
|
+
function l(p) {
|
|
3692
|
+
s === n && (a = pooling.double(a), n *= 2), i && i(p), a[s] = p, s += 1;
|
|
3693
3693
|
}
|
|
3694
3694
|
return o;
|
|
3695
3695
|
};
|
|
@@ -3723,17 +3723,17 @@ var lottie$1 = { exports: {} };
|
|
|
3723
3723
|
var g = u * y + P * M + C * d - M * y - d * u - C * P;
|
|
3724
3724
|
return g > -1e-3 && g < 1e-3;
|
|
3725
3725
|
}
|
|
3726
|
-
function i(u, P, C, y, M, d, g,
|
|
3726
|
+
function i(u, P, C, y, M, d, g, c, b) {
|
|
3727
3727
|
if (C === 0 && d === 0 && b === 0)
|
|
3728
|
-
return t(u, P, y, M, g,
|
|
3729
|
-
var L = e.sqrt(e.pow(y - u, 2) + e.pow(M - P, 2) + e.pow(d - C, 2)), A = e.sqrt(e.pow(g - u, 2) + e.pow(
|
|
3728
|
+
return t(u, P, y, M, g, c);
|
|
3729
|
+
var L = e.sqrt(e.pow(y - u, 2) + e.pow(M - P, 2) + e.pow(d - C, 2)), A = e.sqrt(e.pow(g - u, 2) + e.pow(c - P, 2) + e.pow(b - C, 2)), T = e.sqrt(e.pow(g - y, 2) + e.pow(c - M, 2) + e.pow(b - d, 2)), k;
|
|
3730
3730
|
return L > A ? L > T ? k = L - A - T : k = T - A - L : T > A ? k = T - A - L : k = A - L - T, k > -1e-4 && k < 1e-4;
|
|
3731
3731
|
}
|
|
3732
3732
|
var s = /* @__PURE__ */ function() {
|
|
3733
3733
|
return function(u, P, C, y) {
|
|
3734
|
-
var M = getDefaultCurveSegments(), d, g,
|
|
3735
|
-
for (
|
|
3736
|
-
for (L = d / (M - 1), T = 0, g = 0; g <
|
|
3734
|
+
var M = getDefaultCurveSegments(), d, g, c, b, L, A = 0, T, k = [], R = [], X = bezierLengthPool.newElement();
|
|
3735
|
+
for (c = C.length, d = 0; d < M; d += 1) {
|
|
3736
|
+
for (L = d / (M - 1), T = 0, g = 0; g < c; g += 1)
|
|
3737
3737
|
b = bmPow(1 - L, 3) * u[g] + 3 * bmPow(1 - L, 2) * L * C[g] + 3 * (1 - L) * bmPow(L, 2) * y[g] + bmPow(L, 3) * P[g], k[g] = b, R[g] !== null && (T += bmPow(k[g] - R[g], 2)), R[g] = k[g];
|
|
3738
3738
|
T && (T = bmSqrt(T), A += T), X.percents[d] = L, X.lengths[d] = A;
|
|
3739
3739
|
}
|
|
@@ -3741,10 +3741,10 @@ var lottie$1 = { exports: {} };
|
|
|
3741
3741
|
};
|
|
3742
3742
|
}();
|
|
3743
3743
|
function n(u) {
|
|
3744
|
-
var P = segmentsLengthPool.newElement(), C = u.c, y = u.v, M = u.o, d = u.i, g,
|
|
3745
|
-
for (g = 0; g <
|
|
3744
|
+
var P = segmentsLengthPool.newElement(), C = u.c, y = u.v, M = u.o, d = u.i, g, c = u._length, b = P.lengths, L = 0;
|
|
3745
|
+
for (g = 0; g < c - 1; g += 1)
|
|
3746
3746
|
b[g] = s(y[g], y[g + 1], M[g], d[g + 1]), L += b[g].addedLength;
|
|
3747
|
-
return C &&
|
|
3747
|
+
return C && c && (b[g] = s(y[g], y[0], M[g], d[0]), L += b[g].addedLength), P.totalLength = L, P;
|
|
3748
3748
|
}
|
|
3749
3749
|
function a(u) {
|
|
3750
3750
|
this.segmentLength = 0, this.points = new Array(u);
|
|
@@ -3757,13 +3757,13 @@ var lottie$1 = { exports: {} };
|
|
|
3757
3757
|
return function(P, C, y, M) {
|
|
3758
3758
|
var d = (P[0] + "_" + P[1] + "_" + C[0] + "_" + C[1] + "_" + y[0] + "_" + y[1] + "_" + M[0] + "_" + M[1]).replace(/\./g, "p");
|
|
3759
3759
|
if (!u[d]) {
|
|
3760
|
-
var g = getDefaultCurveSegments(),
|
|
3760
|
+
var g = getDefaultCurveSegments(), c, b, L, A, T, k = 0, R, X, N = null;
|
|
3761
3761
|
P.length === 2 && (P[0] !== C[0] || P[1] !== C[1]) && t(P[0], P[1], C[0], C[1], P[0] + y[0], P[1] + y[1]) && t(P[0], P[1], C[0], C[1], C[0] + M[0], C[1] + M[1]) && (g = 2);
|
|
3762
3762
|
var j = new a(g);
|
|
3763
|
-
for (L = y.length,
|
|
3764
|
-
for (X = createSizedArray(L), T =
|
|
3763
|
+
for (L = y.length, c = 0; c < g; c += 1) {
|
|
3764
|
+
for (X = createSizedArray(L), T = c / (g - 1), R = 0, b = 0; b < L; b += 1)
|
|
3765
3765
|
A = bmPow(1 - T, 3) * P[b] + 3 * bmPow(1 - T, 2) * T * (P[b] + y[b]) + 3 * (1 - T) * bmPow(T, 2) * (C[b] + M[b]) + bmPow(T, 3) * C[b], X[b] = A, N !== null && (R += bmPow(X[b] - N[b], 2));
|
|
3766
|
-
R = bmSqrt(R), k += R, j.points[
|
|
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;
|
|
3769
3769
|
}
|
|
@@ -3771,27 +3771,27 @@ var lottie$1 = { exports: {} };
|
|
|
3771
3771
|
};
|
|
3772
3772
|
}();
|
|
3773
3773
|
function l(u, P) {
|
|
3774
|
-
var C = P.percents, y = P.lengths, M = C.length, d = bmFloor((M - 1) * u), g = u * P.addedLength,
|
|
3774
|
+
var C = P.percents, y = P.lengths, M = C.length, d = bmFloor((M - 1) * u), g = u * P.addedLength, c = 0;
|
|
3775
3775
|
if (d === M - 1 || d === 0 || g === y[d])
|
|
3776
3776
|
return C[d];
|
|
3777
3777
|
for (var b = y[d] > g ? -1 : 1, L = !0; L; )
|
|
3778
|
-
if (y[d] <= g && y[d + 1] > g ? (
|
|
3778
|
+
if (y[d] <= g && y[d + 1] > g ? (c = (g - y[d]) / (y[d + 1] - y[d]), L = !1) : d += b, d < 0 || d >= M - 1) {
|
|
3779
3779
|
if (d === M - 1)
|
|
3780
3780
|
return C[d];
|
|
3781
3781
|
L = !1;
|
|
3782
3782
|
}
|
|
3783
|
-
return C[d] + (C[d + 1] - C[d]) *
|
|
3783
|
+
return C[d] + (C[d + 1] - C[d]) * c;
|
|
3784
3784
|
}
|
|
3785
|
-
function
|
|
3786
|
-
var g = l(M, d),
|
|
3785
|
+
function p(u, P, C, y, M, d) {
|
|
3786
|
+
var g = l(M, 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, L = 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
3787
|
return [b, L];
|
|
3788
3788
|
}
|
|
3789
3789
|
var m = createTypedArray("float32", 8);
|
|
3790
3790
|
function E(u, P, C, y, M, d, g) {
|
|
3791
3791
|
M < 0 ? M = 0 : M > 1 && (M = 1);
|
|
3792
|
-
var
|
|
3792
|
+
var c = l(M, g);
|
|
3793
3793
|
d = d > 1 ? 1 : d;
|
|
3794
|
-
var b = l(d, g), L, A = u.length, T = 1 -
|
|
3794
|
+
var b = l(d, g), L, 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
3795
|
for (L = 0; L < A; L += 1)
|
|
3796
3796
|
m[L * 4] = e.round((R * u[L] + X * C[L] + N * y[L] + j * P[L]) * 1e3) / 1e3, m[L * 4 + 1] = e.round((Y * u[L] + U * C[L] + Z * y[L] + _ * P[L]) * 1e3) / 1e3, m[L * 4 + 2] = e.round((I * u[L] + x * C[L] + S * y[L] + B * P[L]) * 1e3) / 1e3, m[L * 4 + 3] = e.round((F * u[L] + G * C[L] + q * y[L] + $ * P[L]) * 1e3) / 1e3;
|
|
3797
3797
|
return m;
|
|
@@ -3799,7 +3799,7 @@ var lottie$1 = { exports: {} };
|
|
|
3799
3799
|
return {
|
|
3800
3800
|
getSegmentsLength: n,
|
|
3801
3801
|
getNewSegment: E,
|
|
3802
|
-
getPointInSegment:
|
|
3802
|
+
getPointInSegment: p,
|
|
3803
3803
|
buildBezierData: f,
|
|
3804
3804
|
pointOnLine2D: t,
|
|
3805
3805
|
pointOnLine3D: i
|
|
@@ -3809,21 +3809,21 @@ var lottie$1 = { exports: {} };
|
|
|
3809
3809
|
function interpolateValue(e, t) {
|
|
3810
3810
|
var i = this.offsetTime, s;
|
|
3811
3811
|
this.propType === "multidimensional" && (s = createTypedArray("float32", this.pv.length));
|
|
3812
|
-
for (var n = t.lastIndex, a = n, o = this.keyframes.length - 1, f = !0, l,
|
|
3813
|
-
if (l = this.keyframes[a],
|
|
3814
|
-
l.h && (l =
|
|
3812
|
+
for (var n = t.lastIndex, a = n, o = this.keyframes.length - 1, f = !0, l, p, m; f; ) {
|
|
3813
|
+
if (l = this.keyframes[a], p = this.keyframes[a + 1], a === o - 1 && e >= p.t - i) {
|
|
3814
|
+
l.h && (l = p), n = 0;
|
|
3815
3815
|
break;
|
|
3816
3816
|
}
|
|
3817
|
-
if (
|
|
3817
|
+
if (p.t - i > e) {
|
|
3818
3818
|
n = a;
|
|
3819
3819
|
break;
|
|
3820
3820
|
}
|
|
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, M, d =
|
|
3824
|
+
var E, u, P, C, y, M, d = p.t - i, g = l.t - i, c;
|
|
3825
3825
|
if (l.to) {
|
|
3826
|
-
m.bezierData || (m.bezierData = bez.buildBezierData(l.s,
|
|
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
3829
|
var L = e >= d ? b.points.length - 1 : 0;
|
|
@@ -3848,31 +3848,31 @@ var lottie$1 = { exports: {} };
|
|
|
3848
3848
|
}
|
|
3849
3849
|
} else {
|
|
3850
3850
|
var R, X, N, j, Y;
|
|
3851
|
-
if (o = l.s.length,
|
|
3851
|
+
if (o = l.s.length, c = p.s || l.e, this.sh && l.h !== 1)
|
|
3852
3852
|
if (e >= d)
|
|
3853
|
-
s[0] =
|
|
3853
|
+
s[0] = c[0], s[1] = c[1], s[2] = c[2];
|
|
3854
3854
|
else if (e <= g)
|
|
3855
3855
|
s[0] = l.s[0], s[1] = l.s[1], s[2] = l.s[2];
|
|
3856
3856
|
else {
|
|
3857
|
-
var U = createQuaternion(l.s), Z = createQuaternion(
|
|
3857
|
+
var U = createQuaternion(l.s), Z = createQuaternion(c), _ = (e - g) / (d - g);
|
|
3858
3858
|
quaternionToEuler(s, slerp(U, Z, _));
|
|
3859
3859
|
}
|
|
3860
3860
|
else
|
|
3861
3861
|
for (a = 0; a < o; a += 1)
|
|
3862
|
-
l.h !== 1 && (e >= d ? P = 1 : e < g ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ? M = m.__fnct[a] : (R = l.o.x[a] === void 0 ? l.o.x[0] : l.o.x[a], X = l.o.y[a] === void 0 ? l.o.y[0] : l.o.y[a], N = l.i.x[a] === void 0 ? l.i.x[0] : l.i.x[a], j = l.i.y[a] === void 0 ? l.i.y[0] : l.i.y[a], M = BezierFactory.getBezierEasing(R, X, N, j).get, m.__fnct[a] = M)) : m.__fnct ? M = m.__fnct : (R = l.o.x, X = l.o.y, N = l.i.x, j = l.i.y, M = BezierFactory.getBezierEasing(R, X, N, j).get, l.keyframeMetadata = M), P = M((e - g) / (d - g)))),
|
|
3862
|
+
l.h !== 1 && (e >= d ? P = 1 : e < g ? P = 0 : (l.o.x.constructor === Array ? (m.__fnct || (m.__fnct = []), m.__fnct[a] ? M = m.__fnct[a] : (R = l.o.x[a] === void 0 ? l.o.x[0] : l.o.x[a], X = l.o.y[a] === void 0 ? l.o.y[0] : l.o.y[a], N = l.i.x[a] === void 0 ? l.i.x[0] : l.i.x[a], j = l.i.y[a] === void 0 ? l.i.y[0] : l.i.y[a], M = BezierFactory.getBezierEasing(R, X, N, j).get, m.__fnct[a] = M)) : m.__fnct ? M = m.__fnct : (R = l.o.x, X = l.o.y, N = l.i.x, j = l.i.y, M = BezierFactory.getBezierEasing(R, X, N, j).get, l.keyframeMetadata = M), P = M((e - g) / (d - g)))), 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],
|
|
3868
|
-
return P = n * l + a *
|
|
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, M;
|
|
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, M = Math.sin(i * u) / C) : (y = 1 - i, M = i), s[0] = y * n + M * l, s[1] = y * a + M * p, s[2] = y * o + M * m, s[3] = y * f + M * E, s;
|
|
3869
3869
|
}
|
|
3870
3870
|
function quaternionToEuler(e, t) {
|
|
3871
3871
|
var i = t[0], s = t[1], n = t[2], a = t[3], o = Math.atan2(2 * s * a - 2 * i * n, 1 - 2 * s * s - 2 * n * n), f = Math.asin(2 * i * s + 2 * n * a), l = Math.atan2(2 * i * a - 2 * s * n, 1 - 2 * i * i - 2 * n * n);
|
|
3872
3872
|
e[0] = o / degToRads, e[1] = f / degToRads, e[2] = l / degToRads;
|
|
3873
3873
|
}
|
|
3874
3874
|
function createQuaternion(e) {
|
|
3875
|
-
var t = e[0] * degToRads, i = e[1] * degToRads, s = e[2] * degToRads, n = Math.cos(t / 2), a = Math.cos(i / 2), o = Math.cos(s / 2), f = Math.sin(t / 2), l = Math.sin(i / 2),
|
|
3875
|
+
var t = e[0] * degToRads, i = e[1] * degToRads, s = e[2] * degToRads, n = Math.cos(t / 2), a = Math.cos(i / 2), o = Math.cos(s / 2), f = Math.sin(t / 2), l = Math.sin(i / 2), p = Math.sin(s / 2), m = n * a * o - f * l * p, E = f * l * o + n * a * p, u = f * a * o + n * l * p, P = n * l * o - f * a * p;
|
|
3876
3876
|
return [E, u, P, m];
|
|
3877
3877
|
}
|
|
3878
3878
|
function getValueAtCurrentTime() {
|
|
@@ -3928,9 +3928,9 @@ var lottie$1 = { exports: {} };
|
|
|
3928
3928
|
}
|
|
3929
3929
|
function KeyframedMultidimensionalProperty(e, t, i, s) {
|
|
3930
3930
|
this.propType = "multidimensional";
|
|
3931
|
-
var n, a = t.k.length, o, f, l,
|
|
3931
|
+
var n, a = t.k.length, o, f, l, p;
|
|
3932
3932
|
for (n = 0; n < a - 1; n += 1)
|
|
3933
|
-
t.k[n].to && t.k[n].s && t.k[n + 1] && t.k[n + 1].s && (o = t.k[n].s, f = t.k[n + 1].s, l = t.k[n].to,
|
|
3933
|
+
t.k[n].to && t.k[n].s && t.k[n + 1] && t.k[n + 1].s && (o = t.k[n].s, f = t.k[n + 1].s, l = t.k[n].to, p = t.k[n].ti, (o.length === 2 && !(o[0] === f[0] && o[1] === f[1]) && bez.pointOnLine2D(o[0], o[1], f[0], f[1], o[0] + l[0], o[1] + l[1]) && bez.pointOnLine2D(o[0], o[1], f[0], f[1], f[0] + p[0], f[1] + p[1]) || o.length === 3 && !(o[0] === f[0] && o[1] === f[1] && o[2] === f[2]) && bez.pointOnLine3D(o[0], o[1], o[2], f[0], f[1], f[2], o[0] + l[0], o[1] + l[1], o[2] + l[2]) && bez.pointOnLine3D(o[0], o[1], o[2], f[0], f[1], f[2], f[0] + p[0], f[1] + p[1], f[2] + p[2])) && (t.k[n].to = null, t.k[n].ti = null), o[0] === f[0] && o[1] === f[1] && l[0] === 0 && l[1] === 0 && p[0] === 0 && p[1] === 0 && (o.length === 2 || o[2] === f[2] && l[2] === 0 && p[2] === 0) && (t.k[n].to = null, t.k[n].ti = null));
|
|
3934
3934
|
this.effectsSequence = [getValueAtCurrentTime.bind(this)], this.data = t, this.keyframes = t.k, this.keyframesMetadata = [], this.offsetTime = e.data.st, this.k = !0, this.kf = !0, this._isFirstFrame = !0, this.mult = i || 1, this.elem = e, this.container = s, this.comp = e.comp, this.getValue = processEffectsSequence, this.setVValue = setVValue, this.interpolateValue = interpolateValue, this.frameId = -1;
|
|
3935
3935
|
var m = t.k[0].s.length;
|
|
3936
3936
|
for (this.v = createTypedArray("float32", m), this.pv = createTypedArray("float32", m), n = 0; n < m; n += 1)
|
|
@@ -4079,8 +4079,8 @@ var lottie$1 = { exports: {} };
|
|
|
4079
4079
|
return e;
|
|
4080
4080
|
}(), ShapePropertyFactory = function() {
|
|
4081
4081
|
var e = -999999;
|
|
4082
|
-
function t(d, g,
|
|
4083
|
-
var b =
|
|
4082
|
+
function t(d, g, c) {
|
|
4083
|
+
var b = c.lastIndex, L, A, T, k, R, X, N, j, Y, U = this.keyframes;
|
|
4084
4084
|
if (d < U[0].t - this.offsetTime)
|
|
4085
4085
|
L = U[0].s[0], T = !0, b = 0;
|
|
4086
4086
|
else if (d >= U[U.length - 1].t - this.offsetTime)
|
|
@@ -4101,13 +4101,13 @@ var lottie$1 = { exports: {} };
|
|
|
4101
4101
|
}
|
|
4102
4102
|
L = x.s[0];
|
|
4103
4103
|
}
|
|
4104
|
-
for (X = g._length, N = L.i[0].length,
|
|
4104
|
+
for (X = g._length, N = L.i[0].length, c.lastIndex = b, k = 0; k < X; k += 1)
|
|
4105
4105
|
for (R = 0; R < N; R += 1)
|
|
4106
4106
|
Y = T ? L.i[k][R] : L.i[k][R] + (A.i[k][R] - L.i[k][R]) * j, g.i[k][R] = Y, Y = T ? L.o[k][R] : L.o[k][R] + (A.o[k][R] - L.o[k][R]) * j, g.o[k][R] = Y, Y = T ? L.v[k][R] : L.v[k][R] + (A.v[k][R] - L.v[k][R]) * j, g.v[k][R] = Y;
|
|
4107
4107
|
}
|
|
4108
4108
|
function i() {
|
|
4109
|
-
var d = this.comp.renderedFrame - this.offsetTime, g = this.keyframes[0].t - this.offsetTime,
|
|
4110
|
-
return b !== e && (b < g && d < g || b >
|
|
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;
|
|
4110
|
+
return b !== e && (b < g && d < g || b > c && d > c) || (this._caching.lastIndex = b < d ? this._caching.lastIndex : 0, this.interpolateShape(d, this.pv, this._caching)), this._caching.lastFrame = d, this.pv;
|
|
4111
4111
|
}
|
|
4112
4112
|
function s() {
|
|
4113
4113
|
this.paths = this.localShapeCollection;
|
|
@@ -4115,9 +4115,9 @@ var lottie$1 = { exports: {} };
|
|
|
4115
4115
|
function n(d, g) {
|
|
4116
4116
|
if (d._length !== g._length || d.c !== g.c)
|
|
4117
4117
|
return !1;
|
|
4118
|
-
var
|
|
4119
|
-
for (
|
|
4120
|
-
if (d.v[
|
|
4118
|
+
var c, b = d._length;
|
|
4119
|
+
for (c = 0; c < b; c += 1)
|
|
4120
|
+
if (d.v[c][0] !== g.v[c][0] || d.v[c][1] !== g.v[c][1] || d.o[c][0] !== g.o[c][0] || d.o[c][1] !== g.o[c][1] || d.i[c][0] !== g.i[c][0] || d.i[c][1] !== g.i[c][1])
|
|
4121
4121
|
return !1;
|
|
4122
4122
|
return !0;
|
|
4123
4123
|
}
|
|
@@ -4137,34 +4137,34 @@ var lottie$1 = { exports: {} };
|
|
|
4137
4137
|
this.lock = !0, this._mdf = !1;
|
|
4138
4138
|
var d;
|
|
4139
4139
|
this.kf ? d = this.pv : this.data.ks ? d = this.data.ks.k : d = this.data.pt.k;
|
|
4140
|
-
var g,
|
|
4141
|
-
for (g = 0; g <
|
|
4140
|
+
var g, c = this.effectsSequence.length;
|
|
4141
|
+
for (g = 0; g < c; g += 1)
|
|
4142
4142
|
d = this.effectsSequence[g](d);
|
|
4143
4143
|
this.setVValue(d), this.lock = !1, this.frameId = this.elem.globalData.frameId;
|
|
4144
4144
|
}
|
|
4145
4145
|
}
|
|
4146
|
-
function f(d, g,
|
|
4146
|
+
function f(d, g, c) {
|
|
4147
4147
|
this.propType = "shape", this.comp = d.comp, this.container = d, this.elem = d, this.data = g, this.k = !1, this.kf = !1, this._mdf = !1;
|
|
4148
|
-
var b =
|
|
4148
|
+
var b = c === 3 ? g.pt.k : g.ks.k;
|
|
4149
4149
|
this.v = shapePool.clone(b), this.pv = shapePool.clone(this.v), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = s, this.effectsSequence = [];
|
|
4150
4150
|
}
|
|
4151
4151
|
function l(d) {
|
|
4152
4152
|
this.effectsSequence.push(d), this.container.addDynamicProperty(this);
|
|
4153
4153
|
}
|
|
4154
4154
|
f.prototype.interpolateShape = t, f.prototype.getValue = o, f.prototype.setVValue = a, f.prototype.addEffect = l;
|
|
4155
|
-
function
|
|
4156
|
-
this.propType = "shape", this.comp = d.comp, this.elem = d, this.container = d, this.offsetTime = d.data.st, this.keyframes =
|
|
4155
|
+
function p(d, g, c) {
|
|
4156
|
+
this.propType = "shape", this.comp = d.comp, this.elem = d, this.container = d, this.offsetTime = d.data.st, this.keyframes = c === 3 ? g.pt.k : g.ks.k, this.keyframesMetadata = [], this.k = !0, this.kf = !0;
|
|
4157
4157
|
var b = this.keyframes[0].s[0].i.length;
|
|
4158
4158
|
this.v = shapePool.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, b), this.pv = shapePool.clone(this.v), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = e, this.reset = s, this._caching = {
|
|
4159
4159
|
lastFrame: e,
|
|
4160
4160
|
lastIndex: 0
|
|
4161
4161
|
}, this.effectsSequence = [i.bind(this)];
|
|
4162
4162
|
}
|
|
4163
|
-
|
|
4163
|
+
p.prototype.getValue = o, p.prototype.interpolateShape = t, p.prototype.setVValue = a, p.prototype.addEffect = l;
|
|
4164
4164
|
var m = function() {
|
|
4165
4165
|
var d = roundCorner;
|
|
4166
|
-
function g(
|
|
4167
|
-
this.v = shapePool.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = b.d, this.elem =
|
|
4166
|
+
function g(c, b) {
|
|
4167
|
+
this.v = shapePool.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = b.d, this.elem = c, this.comp = c.comp, this.frameId = -1, this.initDynamicPropertyContainer(c), this.p = PropertyFactory.getProp(c, b.p, 1, 0, this), this.s = PropertyFactory.getProp(c, b.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
|
|
4168
4168
|
}
|
|
4169
4169
|
return g.prototype = {
|
|
4170
4170
|
reset: s,
|
|
@@ -4177,8 +4177,8 @@ var lottie$1 = { exports: {} };
|
|
|
4177
4177
|
}
|
|
4178
4178
|
}, extendPrototype([DynamicPropertyContainer], g), g;
|
|
4179
4179
|
}(), E = function() {
|
|
4180
|
-
function d(g,
|
|
4181
|
-
this.v = shapePool.newElement(), this.v.setPathData(!0, 0), this.elem = g, this.comp = g.comp, this.data =
|
|
4180
|
+
function d(g, c) {
|
|
4181
|
+
this.v = shapePool.newElement(), this.v.setPathData(!0, 0), this.elem = g, this.comp = g.comp, this.data = c, this.frameId = -1, this.d = c.d, this.initDynamicPropertyContainer(g), c.sy === 1 ? (this.ir = PropertyFactory.getProp(g, c.ir, 0, 0, this), this.is = PropertyFactory.getProp(g, c.is, 0, 0.01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = PropertyFactory.getProp(g, c.pt, 0, 0, this), this.p = PropertyFactory.getProp(g, c.p, 1, 0, this), this.r = PropertyFactory.getProp(g, c.r, 0, degToRads, this), this.or = PropertyFactory.getProp(g, c.or, 0, 0, this), this.os = PropertyFactory.getProp(g, c.os, 0, 0.01, this), this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
|
|
4182
4182
|
}
|
|
4183
4183
|
return d.prototype = {
|
|
4184
4184
|
reset: s,
|
|
@@ -4186,18 +4186,18 @@ 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
|
|
4189
|
+
var c = Math.floor(this.pt.v) * 2, b = Math.PI * 2 / c, L = !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
|
-
for (this.v._length = 0, j = 0; j <
|
|
4192
|
+
for (this.v._length = 0, j = 0; j < c; j += 1) {
|
|
4193
4193
|
Y = L ? A : T, U = L ? k : R, Z = L ? 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
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), L = !L, _ += b * I;
|
|
4196
4196
|
}
|
|
4197
4197
|
},
|
|
4198
4198
|
convertPolygonToPath: function() {
|
|
4199
|
-
var
|
|
4200
|
-
for (R += this.r.v, this.v._length = 0, k = 0; k <
|
|
4199
|
+
var c = Math.floor(this.pt.v), b = Math.PI * 2 / c, L = this.or.v, A = this.os.v, T = 2 * Math.PI * L / (c * 4), k, R = -Math.PI * 0.5, X = this.data.d === 3 ? -1 : 1;
|
|
4200
|
+
for (R += this.r.v, this.v._length = 0, k = 0; k < c; k += 1) {
|
|
4201
4201
|
var N = L * Math.cos(R), j = L * 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
|
}
|
|
@@ -4205,13 +4205,13 @@ var lottie$1 = { exports: {} };
|
|
|
4205
4205
|
}
|
|
4206
4206
|
}, extendPrototype([DynamicPropertyContainer], d), d;
|
|
4207
4207
|
}(), u = function() {
|
|
4208
|
-
function d(g,
|
|
4209
|
-
this.v = shapePool.newElement(), this.v.c = !0, this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = g, this.comp = g.comp, this.frameId = -1, this.d =
|
|
4208
|
+
function d(g, c) {
|
|
4209
|
+
this.v = shapePool.newElement(), this.v.c = !0, this.localShapeCollection = shapeCollectionPool.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = g, this.comp = g.comp, this.frameId = -1, this.d = c.d, this.initDynamicPropertyContainer(g), this.p = PropertyFactory.getProp(g, c.p, 1, 0, this), this.s = PropertyFactory.getProp(g, c.s, 1, 0, this), this.r = PropertyFactory.getProp(g, c.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
|
|
4210
4210
|
}
|
|
4211
4211
|
return d.prototype = {
|
|
4212
4212
|
convertRectToPath: function() {
|
|
4213
|
-
var
|
|
4214
|
-
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(
|
|
4213
|
+
var c = this.p.v[0], b = this.p.v[1], L = this.s.v[0] / 2, A = this.s.v[1] / 2, T = bmMin(L, A, this.r.v), k = T * (1 - roundCorner);
|
|
4214
|
+
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(c + L, b - A + T, c + L, b - A + T, c + L, b - A + k, 0, !0), this.v.setTripleAt(c + L, b + A - T, c + L, b + A - k, c + L, b + A - T, 1, !0), T !== 0 ? (this.v.setTripleAt(c + L - T, b + A, c + L - T, b + A, c + L - k, b + A, 2, !0), this.v.setTripleAt(c - L + T, b + A, c - L + k, b + A, c - L + T, b + A, 3, !0), this.v.setTripleAt(c - L, b + A - T, c - L, b + A - T, c - L, b + A - k, 4, !0), this.v.setTripleAt(c - L, b - A + T, c - L, b - A + k, c - L, b - A + T, 5, !0), this.v.setTripleAt(c - L + T, b - A, c - L + T, b - A, c - L + k, b - A, 6, !0), this.v.setTripleAt(c + L - T, b - A, c + L - k, b - A, c + L - T, b - A, 7, !0)) : (this.v.setTripleAt(c - L, b + A, c - L + k, b + A, c - L, b + A, 2), this.v.setTripleAt(c - L, b - A, c - L, b - A + k, c - L, b - A, 3))) : (this.v.setTripleAt(c + L, b - A + T, c + L, b - A + k, c + L, b - A + T, 0, !0), T !== 0 ? (this.v.setTripleAt(c + L - T, b - A, c + L - T, b - A, c + L - k, b - A, 1, !0), this.v.setTripleAt(c - L + T, b - A, c - L + k, b - A, c - L + T, b - A, 2, !0), this.v.setTripleAt(c - L, b - A + T, c - L, b - A + T, c - L, b - A + k, 3, !0), this.v.setTripleAt(c - L, b + A - T, c - L, b + A - k, c - L, b + A - T, 4, !0), this.v.setTripleAt(c - L + T, b + A, c - L + T, b + A, c - L + k, b + A, 5, !0), this.v.setTripleAt(c + L - T, b + A, c + L - k, b + A, c + L - T, b + A, 6, !0), this.v.setTripleAt(c + L, b + A - T, c + L, b + A - T, c + L, b + A - k, 7, !0)) : (this.v.setTripleAt(c - L, b - A, c - L + k, b - A, c - L, b - A, 1, !0), this.v.setTripleAt(c - L, b + A, c - L, b + A - k, c - L, b + A, 2, !0), this.v.setTripleAt(c + L, b + A, c + L - k, b + A, c + L, 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());
|
|
@@ -4219,19 +4219,19 @@ var lottie$1 = { exports: {} };
|
|
|
4219
4219
|
reset: s
|
|
4220
4220
|
}, extendPrototype([DynamicPropertyContainer], d), d;
|
|
4221
4221
|
}();
|
|
4222
|
-
function P(d, g,
|
|
4222
|
+
function P(d, g, c) {
|
|
4223
4223
|
var b;
|
|
4224
|
-
if (
|
|
4225
|
-
var L =
|
|
4226
|
-
A.length ? b = new
|
|
4227
|
-
} else
|
|
4224
|
+
if (c === 3 || c === 4) {
|
|
4225
|
+
var L = c === 3 ? g.pt : g.ks, A = L.k;
|
|
4226
|
+
A.length ? b = new p(d, g, c) : b = new f(d, g, c);
|
|
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;
|
|
4229
4229
|
}
|
|
4230
4230
|
function C() {
|
|
4231
4231
|
return f;
|
|
4232
4232
|
}
|
|
4233
4233
|
function y() {
|
|
4234
|
-
return
|
|
4234
|
+
return p;
|
|
4235
4235
|
}
|
|
4236
4236
|
var M = {};
|
|
4237
4237
|
return M.getShapeProp = P, M.getConstructorFunction = C, M.getKeyframedConstructorFunction = y, M;
|
|
@@ -4273,7 +4273,7 @@ var lottie$1 = { exports: {} };
|
|
|
4273
4273
|
var S = e(x), B = t(x);
|
|
4274
4274
|
return this._t(S, -B, 0, 0, B, S, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
|
|
4275
4275
|
}
|
|
4276
|
-
function
|
|
4276
|
+
function p(x, S) {
|
|
4277
4277
|
return this._t(1, S, x, 1, 0, 0);
|
|
4278
4278
|
}
|
|
4279
4279
|
function m(x, S) {
|
|
@@ -4314,7 +4314,7 @@ var lottie$1 = { exports: {} };
|
|
|
4314
4314
|
}
|
|
4315
4315
|
return !0;
|
|
4316
4316
|
}
|
|
4317
|
-
function
|
|
4317
|
+
function c(x) {
|
|
4318
4318
|
var S;
|
|
4319
4319
|
for (S = 0; S < 16; S += 1)
|
|
4320
4320
|
x.props[S] = this.props[S];
|
|
@@ -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 =
|
|
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 = M, this.applyToPoint = L, this.applyToX = A, this.applyToY = T, this.applyToZ = k, this.applyToPointArray = Y, this.applyToTriplePoints = j, this.applyToPointStringified = U, this.toCSS = Z, this.to2dCSS = I, this.clone = 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) {
|
|
@@ -4525,11 +4525,11 @@ var lottie$1 = { exports: {} };
|
|
|
4525
4525
|
s: 0,
|
|
4526
4526
|
e: t - 1
|
|
4527
4527
|
}));
|
|
4528
|
-
var o = [], f, l = a.length,
|
|
4528
|
+
var o = [], f, l = a.length, p;
|
|
4529
4529
|
for (f = 0; f < l; f += 1)
|
|
4530
|
-
if (
|
|
4530
|
+
if (p = a[f], !(p.e * n < s || p.s * n > s + i)) {
|
|
4531
4531
|
var m, E;
|
|
4532
|
-
|
|
4532
|
+
p.s * n <= s ? m = 0 : m = (p.s * n - s) / i, p.e * n >= s + i ? E = 1 : E = (p.e * n - s) / i, o.push([m, E]);
|
|
4533
4533
|
}
|
|
4534
4534
|
return o.length || o.push([0, 0]), o;
|
|
4535
4535
|
}, TrimModifier.prototype.releasePathsData = function(e) {
|
|
@@ -4548,7 +4548,7 @@ var lottie$1 = { exports: {} };
|
|
|
4548
4548
|
t = Math.round(t * 1e4) * 1e-4, i = Math.round(i * 1e4) * 1e-4, this.sValue = t, this.eValue = i;
|
|
4549
4549
|
} else
|
|
4550
4550
|
t = this.sValue, i = this.eValue;
|
|
4551
|
-
var a, o, f = this.shapes.length, l,
|
|
4551
|
+
var a, o, f = this.shapes.length, l, p, m, E, u, P = 0;
|
|
4552
4552
|
if (i === t)
|
|
4553
4553
|
for (o = 0; o < f; o += 1)
|
|
4554
4554
|
this.shapes[o].localShapeCollection.releaseShapes(), this.shapes[o].shape._mdf = !0, this.shapes[o].shape.paths = this.shapes[o].localShapeCollection, this._mdf && (this.shapes[o].pathsData.length = 0);
|
|
@@ -4562,19 +4562,19 @@ var lottie$1 = { exports: {} };
|
|
|
4562
4562
|
if (y = this.shapes[o], !y.shape._mdf && !this._mdf && !e && this.m !== 2)
|
|
4563
4563
|
y.shape.paths = y.localShapeCollection;
|
|
4564
4564
|
else {
|
|
4565
|
-
if (a = y.shape.paths,
|
|
4565
|
+
if (a = y.shape.paths, p = a._length, u = 0, !y.shape._mdf && y.pathsData.length)
|
|
4566
4566
|
u = y.totalShapeLength;
|
|
4567
4567
|
else {
|
|
4568
|
-
for (m = this.releasePathsData(y.pathsData), l = 0; l <
|
|
4568
|
+
for (m = this.releasePathsData(y.pathsData), l = 0; l < p; l += 1)
|
|
4569
4569
|
E = bez.getSegmentsLength(a.shapes[l]), m.push(E), u += E.totalLength;
|
|
4570
4570
|
y.totalShapeLength = u, y.pathsData = m;
|
|
4571
4571
|
}
|
|
4572
4572
|
P += u, y.shape._mdf = !0;
|
|
4573
4573
|
}
|
|
4574
|
-
var d = t, g = i,
|
|
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 (M = y.localShapeCollection, M.releaseShapes(), this.m === 2 && f > 1 ? (b = this.calculateShapeEdges(t, i, y.totalShapeLength,
|
|
4577
|
+
for (M = y.localShapeCollection, M.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
|
|
@@ -4613,25 +4613,25 @@ 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,
|
|
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, M = !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
|
-
if (m = u[f - 1],
|
|
4620
|
-
|
|
4621
|
-
else if (
|
|
4619
|
+
if (m = u[f - 1], p + m.addedLength < t.s)
|
|
4620
|
+
p += m.addedLength, i.c = !1;
|
|
4621
|
+
else if (p > t.e) {
|
|
4622
4622
|
i.c = !1;
|
|
4623
4623
|
break;
|
|
4624
4624
|
} else
|
|
4625
|
-
t.s <=
|
|
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, M), M = !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, M), M = !1, i.c = !1), p += m.addedLength, E += 1;
|
|
4626
4626
|
if (n[a].c && u.length) {
|
|
4627
|
-
if (m = u[f - 1],
|
|
4627
|
+
if (m = u[f - 1], p <= t.e) {
|
|
4628
4628
|
var d = u[f - 1].addedLength;
|
|
4629
|
-
t.s <=
|
|
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, M), M = !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, M), M = !1, i.c = !1);
|
|
4630
4630
|
} else
|
|
4631
4631
|
i.c = !1;
|
|
4632
|
-
|
|
4632
|
+
p += m.addedLength, E += 1;
|
|
4633
4633
|
}
|
|
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)),
|
|
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
4636
|
a < o - 1 && (i = shapePool.newElement(), M = !0, C.push(i), E = 0);
|
|
4637
4637
|
}
|
|
@@ -4648,9 +4648,9 @@ var lottie$1 = { exports: {} };
|
|
|
4648
4648
|
s[0] /= n, s[1] /= n;
|
|
4649
4649
|
var o = shapePool.newElement();
|
|
4650
4650
|
o.c = e.c;
|
|
4651
|
-
var f, l,
|
|
4651
|
+
var f, l, p, m, E, u;
|
|
4652
4652
|
for (a = 0; a < n; a += 1)
|
|
4653
|
-
f = e.v[a][0] + (s[0] - e.v[a][0]) * i, l = e.v[a][1] + (s[1] - e.v[a][1]) * i,
|
|
4653
|
+
f = e.v[a][0] + (s[0] - e.v[a][0]) * i, l = e.v[a][1] + (s[1] - e.v[a][1]) * i, p = e.o[a][0] + (s[0] - e.o[a][0]) * -i, m = e.o[a][1] + (s[1] - e.o[a][1]) * -i, E = e.i[a][0] + (s[0] - e.i[a][0]) * -i, u = e.i[a][1] + (s[1] - e.i[a][1]) * -i, o.setTripleAt(f, l, p, m, E, u, a);
|
|
4654
4654
|
return o;
|
|
4655
4655
|
}, PuckerAndBloatModifier.prototype.processShapes = function(e) {
|
|
4656
4656
|
var t, i, s = this.shapes.length, n, a, o = this.amount.v;
|
|
@@ -4668,21 +4668,21 @@ var lottie$1 = { exports: {} };
|
|
|
4668
4668
|
var TransformPropertyFactory = function() {
|
|
4669
4669
|
var e = [0, 0];
|
|
4670
4670
|
function t(l) {
|
|
4671
|
-
var
|
|
4672
|
-
this.iterateDynamicProperties(), this._mdf = this._mdf ||
|
|
4671
|
+
var p = this._mdf;
|
|
4672
|
+
this.iterateDynamicProperties(), this._mdf = this._mdf || p, this.a && l.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]), this.s && l.scale(this.s.v[0], this.s.v[1], this.s.v[2]), this.sk && l.skewFromAxis(-this.sk.v, this.sa.v), this.r ? l.rotate(-this.r.v) : l.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]), this.data.p.s ? this.data.p.z ? l.translate(this.px.v, this.py.v, -this.pz.v) : l.translate(this.px.v, this.py.v, 0) : l.translate(this.p.v[0], this.p.v[1], -this.p.v[2]);
|
|
4673
4673
|
}
|
|
4674
4674
|
function i(l) {
|
|
4675
4675
|
if (this.elem.globalData.frameId !== this.frameId) {
|
|
4676
4676
|
if (this._isDirty && (this.precalculateMatrix(), this._isDirty = !1), this.iterateDynamicProperties(), this._mdf || l) {
|
|
4677
|
-
var
|
|
4677
|
+
var p;
|
|
4678
4678
|
if (this.v.cloneFromProps(this.pre.props), this.appliedTransformations < 1 && this.v.translate(-this.a.v[0], -this.a.v[1], this.a.v[2]), this.appliedTransformations < 2 && this.v.scale(this.s.v[0], this.s.v[1], this.s.v[2]), this.sk && this.appliedTransformations < 3 && this.v.skewFromAxis(-this.sk.v, this.sa.v), this.r && this.appliedTransformations < 4 ? this.v.rotate(-this.r.v) : !this.r && this.appliedTransformations < 4 && this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]), this.autoOriented) {
|
|
4679
4679
|
var m, E;
|
|
4680
|
-
if (
|
|
4681
|
-
this.p._caching.lastFrame + this.p.offsetTime <= this.p.keyframes[0].t ? (m = this.p.getValueAtTime((this.p.keyframes[0].t + 0.01) /
|
|
4680
|
+
if (p = this.elem.globalData.frameRate, this.p && this.p.keyframes && this.p.getValueAtTime)
|
|
4681
|
+
this.p._caching.lastFrame + this.p.offsetTime <= this.p.keyframes[0].t ? (m = this.p.getValueAtTime((this.p.keyframes[0].t + 0.01) / p, 0), E = this.p.getValueAtTime(this.p.keyframes[0].t / p, 0)) : this.p._caching.lastFrame + this.p.offsetTime >= this.p.keyframes[this.p.keyframes.length - 1].t ? (m = this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length - 1].t / p, 0), E = this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length - 1].t - 0.05) / p, 0)) : (m = this.p.pv, E = this.p.getValueAtTime((this.p._caching.lastFrame + this.p.offsetTime - 0.01) / p, this.p.offsetTime));
|
|
4682
4682
|
else if (this.px && this.px.keyframes && this.py.keyframes && this.px.getValueAtTime && this.py.getValueAtTime) {
|
|
4683
4683
|
m = [], E = [];
|
|
4684
4684
|
var u = this.px, P = this.py;
|
|
4685
|
-
u._caching.lastFrame + u.offsetTime <= u.keyframes[0].t ? (m[0] = u.getValueAtTime((u.keyframes[0].t + 0.01) /
|
|
4685
|
+
u._caching.lastFrame + u.offsetTime <= u.keyframes[0].t ? (m[0] = u.getValueAtTime((u.keyframes[0].t + 0.01) / p, 0), m[1] = P.getValueAtTime((P.keyframes[0].t + 0.01) / p, 0), E[0] = u.getValueAtTime(u.keyframes[0].t / p, 0), E[1] = P.getValueAtTime(P.keyframes[0].t / p, 0)) : u._caching.lastFrame + u.offsetTime >= u.keyframes[u.keyframes.length - 1].t ? (m[0] = u.getValueAtTime(u.keyframes[u.keyframes.length - 1].t / p, 0), m[1] = P.getValueAtTime(P.keyframes[P.keyframes.length - 1].t / p, 0), E[0] = u.getValueAtTime((u.keyframes[u.keyframes.length - 1].t - 0.01) / p, 0), E[1] = P.getValueAtTime((P.keyframes[P.keyframes.length - 1].t - 0.01) / p, 0)) : (m = [u.pv, P.pv], E[0] = u.getValueAtTime((u._caching.lastFrame + u.offsetTime - 0.01) / p, u.offsetTime), E[1] = P.getValueAtTime((P._caching.lastFrame + P.offsetTime - 0.01) / p, P.offsetTime));
|
|
4686
4686
|
} else
|
|
4687
4687
|
E = e, m = E;
|
|
4688
4688
|
this.v.rotate(-Math.atan2(m[1] - E[1], m[0] - E[0]));
|
|
@@ -4713,25 +4713,25 @@ var lottie$1 = { exports: {} };
|
|
|
4713
4713
|
function a(l) {
|
|
4714
4714
|
this._addDynamicProperty(l), this.elem.addDynamicProperty(l), this._isDirty = !0;
|
|
4715
4715
|
}
|
|
4716
|
-
function o(l,
|
|
4717
|
-
if (this.elem = l, this.frameId = -1, this.propType = "transform", this.data =
|
|
4716
|
+
function o(l, p, m) {
|
|
4717
|
+
if (this.elem = l, this.frameId = -1, this.propType = "transform", this.data = p, this.v = new Matrix(), this.pre = new Matrix(), this.appliedTransformations = 0, this.initDynamicPropertyContainer(m || l), p.p && p.p.s ? (this.px = PropertyFactory.getProp(l, p.p.x, 0, 0, this), this.py = PropertyFactory.getProp(l, p.p.y, 0, 0, this), p.p.z && (this.pz = PropertyFactory.getProp(l, p.p.z, 0, 0, this))) : this.p = PropertyFactory.getProp(l, p.p || {
|
|
4718
4718
|
k: [0, 0, 0]
|
|
4719
|
-
}, 1, 0, this),
|
|
4720
|
-
if (this.rx = PropertyFactory.getProp(l,
|
|
4721
|
-
var E, u =
|
|
4719
|
+
}, 1, 0, this), p.rx) {
|
|
4720
|
+
if (this.rx = PropertyFactory.getProp(l, p.rx, 0, degToRads, this), this.ry = PropertyFactory.getProp(l, p.ry, 0, degToRads, this), this.rz = PropertyFactory.getProp(l, p.rz, 0, degToRads, this), p.or.k[0].ti) {
|
|
4721
|
+
var E, u = p.or.k.length;
|
|
4722
4722
|
for (E = 0; E < u; E += 1)
|
|
4723
|
-
|
|
4723
|
+
p.or.k[E].to = null, p.or.k[E].ti = null;
|
|
4724
4724
|
}
|
|
4725
|
-
this.or = PropertyFactory.getProp(l,
|
|
4725
|
+
this.or = PropertyFactory.getProp(l, p.or, 1, degToRads, this), this.or.sh = !0;
|
|
4726
4726
|
} else
|
|
4727
|
-
this.r = PropertyFactory.getProp(l,
|
|
4727
|
+
this.r = PropertyFactory.getProp(l, p.r || {
|
|
4728
4728
|
k: 0
|
|
4729
4729
|
}, 0, degToRads, this);
|
|
4730
|
-
|
|
4730
|
+
p.sk && (this.sk = PropertyFactory.getProp(l, p.sk, 0, degToRads, this), this.sa = PropertyFactory.getProp(l, p.sa, 0, degToRads, this)), this.a = PropertyFactory.getProp(l, p.a || {
|
|
4731
4731
|
k: [0, 0, 0]
|
|
4732
|
-
}, 1, 0, this), this.s = PropertyFactory.getProp(l,
|
|
4732
|
+
}, 1, 0, this), this.s = PropertyFactory.getProp(l, p.s || {
|
|
4733
4733
|
k: [100, 100, 100]
|
|
4734
|
-
}, 1, 0.01, this),
|
|
4734
|
+
}, 1, 0.01, this), p.o ? this.o = PropertyFactory.getProp(l, p.o, 0, 0.01, l) : this.o = {
|
|
4735
4735
|
_mdf: !1,
|
|
4736
4736
|
v: 1
|
|
4737
4737
|
}, this._isDirty = !0, this.dynamicProperties.length || this.getValue(!0);
|
|
@@ -4742,8 +4742,8 @@ var lottie$1 = { exports: {} };
|
|
|
4742
4742
|
precalculateMatrix: s,
|
|
4743
4743
|
autoOrient: n
|
|
4744
4744
|
}, extendPrototype([DynamicPropertyContainer], o), o.prototype.addDynamicProperty = a, o.prototype._addDynamicProperty = DynamicPropertyContainer.prototype.addDynamicProperty;
|
|
4745
|
-
function f(l,
|
|
4746
|
-
return new o(l,
|
|
4745
|
+
function f(l, p, m) {
|
|
4746
|
+
return new o(l, p, m);
|
|
4747
4747
|
}
|
|
4748
4748
|
return {
|
|
4749
4749
|
getTransformProperty: f
|
|
@@ -4832,9 +4832,9 @@ var lottie$1 = { exports: {} };
|
|
|
4832
4832
|
this.elem.reloadShapes(), o = !0;
|
|
4833
4833
|
}
|
|
4834
4834
|
a = 0;
|
|
4835
|
-
var
|
|
4835
|
+
var p;
|
|
4836
4836
|
for (s = 0; s <= this._groups.length - 1; s += 1) {
|
|
4837
|
-
if (
|
|
4837
|
+
if (p = a < f, this._groups[s]._render = p, this.changeGroupRender(this._groups[s].it, p), !p) {
|
|
4838
4838
|
var m = this.elemsData[s].it, E = m[m.length - 1];
|
|
4839
4839
|
E.transform.op.v !== 0 ? (E.transform.op._mdf = !0, E.transform.op.v = 0) : E.transform.op._mdf = !1;
|
|
4840
4840
|
}
|
|
@@ -4854,14 +4854,14 @@ var lottie$1 = { exports: {} };
|
|
|
4854
4854
|
P && (this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, -P, !0), g -= P);
|
|
4855
4855
|
}
|
|
4856
4856
|
s = this.data.m === 1 ? 0 : this._currentCopies - 1, n = this.data.m === 1 ? 1 : -1, a = this._currentCopies;
|
|
4857
|
-
for (var
|
|
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(M[0], M[1], M[2], M[3], M[4], M[5], M[6], M[7], M[8], M[9], M[10], M[11], M[12], M[13], M[14], M[15]), this.matrix.transform(d[0], d[1], d[2], d[3], d[4], d[5], d[6], d[7], d[8], d[9], d[10], d[11], d[12], d[13], d[14], d[15]), this.matrix.transform(y[0], y[1], y[2], y[3], y[4], y[5], y[6], y[7], y[8], y[9], y[10], y[11], y[12], y[13], y[14], y[15]),
|
|
4860
|
-
i[
|
|
4859
|
+
for ((s !== 0 && n === 1 || s !== this._currentCopies - 1 && n === -1) && this.applyTransforms(this.pMatrix, this.rMatrix, this.sMatrix, this.tr, 1, !1), this.matrix.transform(M[0], M[1], M[2], M[3], M[4], M[5], M[6], M[7], M[8], M[9], M[10], M[11], M[12], M[13], M[14], M[15]), this.matrix.transform(d[0], d[1], d[2], d[3], d[4], d[5], d[6], d[7], d[8], d[9], d[10], d[11], d[12], d[13], d[14], d[15]), this.matrix.transform(y[0], y[1], y[2], y[3], y[4], y[5], y[6], y[7], y[8], y[9], y[10], y[11], y[12], y[13], y[14], y[15]), c = 0; c < b; c += 1)
|
|
4860
|
+
i[c] = this.matrix.props[c];
|
|
4861
4861
|
this.matrix.reset();
|
|
4862
4862
|
} else
|
|
4863
|
-
for (this.matrix.reset(),
|
|
4864
|
-
i[
|
|
4863
|
+
for (this.matrix.reset(), c = 0; c < b; c += 1)
|
|
4864
|
+
i[c] = this.matrix.props[c];
|
|
4865
4865
|
g += 1, a -= 1, s += n;
|
|
4866
4866
|
}
|
|
4867
4867
|
} 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,
|
|
4880
|
+
var s, n = e._length, a, o, f, l, p, m, E = 0, u, P, C, y, M, d;
|
|
4881
4881
|
for (s = 0; s < n; s += 1)
|
|
4882
|
-
a = e.v[s], f = e.o[s], o = e.i[s], a[0] === f[0] && a[1] === f[1] && a[0] === o[0] && a[1] === o[1] ? (s === 0 || s === n - 1) && !e.c ? (i.setTripleAt(a[0], a[1], f[0], f[1], o[0], o[1], E), E += 1) : (s === 0 ? l = e.v[n - 1] : l = e.v[s - 1],
|
|
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, M = a[0] + (l[0] - a[0]) * m, u = M, d = a[1] - (a[1] - l[1]) * m, P = d, C = u - (u - a[0]) * roundCorner, y = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, y, M, d, E), E += 1, s === n - 1 ? l = e.v[0] : l = e.v[s + 1], 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, M = u - (u - a[0]) * roundCorner, d = P - (P - a[1]) * roundCorner, i.setTripleAt(u, P, C, y, M, d, E), E += 1) : (i.setTripleAt(e.v[s][0], e.v[s][1], e.o[s][0], e.o[s][1], e.i[s][0], e.i[s][1], E), E += 1);
|
|
4883
4883
|
return i;
|
|
4884
4884
|
}, RoundCornersModifier.prototype.processShapes = function(e) {
|
|
4885
4885
|
var t, i, s = this.shapes.length, n, a, o = this.rd.v;
|
|
@@ -5048,8 +5048,8 @@ var lottie$1 = { exports: {} };
|
|
|
5048
5048
|
this.getValue = this.processKeys, this.amplitude = PropertyFactory.getProp(e, t.s, 0, null, this), this.frequency = PropertyFactory.getProp(e, t.r, 0, null, this), this.pointsType = PropertyFactory.getProp(e, t.pt, 0, null, this), this._isAnimated = this.amplitude.effectsSequence.length !== 0 || this.frequency.effectsSequence.length !== 0 || this.pointsType.effectsSequence.length !== 0;
|
|
5049
5049
|
};
|
|
5050
5050
|
function setPoint(e, t, i, s, n, a, o) {
|
|
5051
|
-
var f = i - Math.PI / 2, l = i + Math.PI / 2,
|
|
5052
|
-
e.setTripleAt(
|
|
5051
|
+
var f = i - Math.PI / 2, l = i + Math.PI / 2, p = t[0] + Math.cos(i) * s * n, m = t[1] - Math.sin(i) * s * n;
|
|
5052
|
+
e.setTripleAt(p, m, p + Math.cos(f) * a, m - Math.sin(f) * a, p + Math.cos(l) * o, m - Math.sin(l) * o, e.length());
|
|
5053
5053
|
}
|
|
5054
5054
|
function getPerpendicularVector(e, t) {
|
|
5055
5055
|
var i = [t[0] - e[0], t[1] - e[1]], s = -Math.PI * 0.5, n = [Math.cos(s) * i[0] - Math.sin(s) * i[1], Math.sin(s) * i[0] + Math.cos(s) * i[1]];
|
|
@@ -5060,13 +5060,13 @@ var lottie$1 = { exports: {} };
|
|
|
5060
5060
|
return Math.atan2(0, 1) - Math.atan2(o[1], o[0]);
|
|
5061
5061
|
}
|
|
5062
5062
|
function zigZagCorner(e, t, i, s, n, a, o) {
|
|
5063
|
-
var f = getProjectingAngle(t, i), l = t.v[i % t._length],
|
|
5063
|
+
var f = getProjectingAngle(t, i), l = t.v[i % t._length], p = t.v[i === 0 ? t._length - 1 : i - 1], m = t.v[(i + 1) % t._length], E = a === 2 ? Math.sqrt(Math.pow(l[0] - p[0], 2) + Math.pow(l[1] - p[1], 2)) : 0, u = a === 2 ? Math.sqrt(Math.pow(l[0] - m[0], 2) + Math.pow(l[1] - m[1], 2)) : 0;
|
|
5064
5064
|
setPoint(e, t.v[i % t._length], f, o, s, u / ((n + 1) * 2), E / ((n + 1) * 2));
|
|
5065
5065
|
}
|
|
5066
5066
|
function zigZagSegment(e, t, i, s, n, a) {
|
|
5067
5067
|
for (var o = 0; o < s; o += 1) {
|
|
5068
|
-
var f = (o + 1) / (s + 1), l = n === 2 ? Math.sqrt(Math.pow(t.points[3][0] - t.points[0][0], 2) + Math.pow(t.points[3][1] - t.points[0][1], 2)) : 0,
|
|
5069
|
-
setPoint(e, m,
|
|
5068
|
+
var f = (o + 1) / (s + 1), l = n === 2 ? Math.sqrt(Math.pow(t.points[3][0] - t.points[0][0], 2) + Math.pow(t.points[3][1] - t.points[0][1], 2)) : 0, p = t.normalAngle(f), m = t.point(f);
|
|
5069
|
+
setPoint(e, m, p, a, i, l / ((s + 1) * 2), l / ((s + 1) * 2)), a = -a;
|
|
5070
5070
|
}
|
|
5071
5071
|
return a;
|
|
5072
5072
|
}
|
|
@@ -5081,12 +5081,12 @@ var lottie$1 = { exports: {} };
|
|
|
5081
5081
|
}, ZigZagModifier.prototype.processShapes = function(e) {
|
|
5082
5082
|
var t, i, s = this.shapes.length, n, a, o = this.amplitude.v, f = Math.max(0, Math.round(this.frequency.v)), l = this.pointsType.v;
|
|
5083
5083
|
if (o !== 0) {
|
|
5084
|
-
var
|
|
5084
|
+
var p, m;
|
|
5085
5085
|
for (i = 0; i < s; i += 1) {
|
|
5086
|
-
if (
|
|
5087
|
-
for (m.releaseShapes(),
|
|
5086
|
+
if (p = this.shapes[i], m = p.localShapeCollection, !(!p.shape._mdf && !this._mdf && !e))
|
|
5087
|
+
for (m.releaseShapes(), p.shape._mdf = !0, t = p.shape.paths.shapes, a = p.shape.paths._length, n = 0; n < a; n += 1)
|
|
5088
5088
|
m.addShape(this.processPath(t[n], o, f, l));
|
|
5089
|
-
|
|
5089
|
+
p.shape.paths = p.localShapeCollection;
|
|
5090
5090
|
}
|
|
5091
5091
|
}
|
|
5092
5092
|
this.dynamicProperties.length || (this._mdf = !1);
|
|
@@ -5098,16 +5098,16 @@ var lottie$1 = { exports: {} };
|
|
|
5098
5098
|
function offsetSegment(e, t) {
|
|
5099
5099
|
var i, s, n, a, o, f, l;
|
|
5100
5100
|
l = linearOffset(e.points[0], e.points[1], t), i = l[0], s = l[1], l = linearOffset(e.points[1], e.points[2], t), n = l[0], a = l[1], l = linearOffset(e.points[2], e.points[3], t), o = l[0], f = l[1];
|
|
5101
|
-
var
|
|
5102
|
-
|
|
5101
|
+
var p = lineIntersection(i, s, n, a);
|
|
5102
|
+
p === null && (p = s);
|
|
5103
5103
|
var m = lineIntersection(o, f, n, a);
|
|
5104
|
-
return m === null && (m = o), new PolynomialBezier(i,
|
|
5104
|
+
return m === null && (m = o), new PolynomialBezier(i, p, m, f);
|
|
5105
5105
|
}
|
|
5106
5106
|
function joinLines(e, t, i, s, n) {
|
|
5107
5107
|
var a = t.points[3], o = i.points[0];
|
|
5108
5108
|
if (s === 3 || pointEqual(a, o)) return a;
|
|
5109
5109
|
if (s === 2) {
|
|
5110
|
-
var f = -t.tangentAngle(1), l = -i.tangentAngle(0) + Math.PI,
|
|
5110
|
+
var f = -t.tangentAngle(1), l = -i.tangentAngle(0) + Math.PI, p = lineIntersection(a, polarOffset(a, f + Math.PI / 2, 100), o, polarOffset(o, f + Math.PI / 2, 100)), m = p ? pointDistance(p, a) : pointDistance(a, o) / 2, E = polarOffset(a, f, 2 * m * roundCorner);
|
|
5111
5111
|
return e.setXYAt(E[0], E[1], "o", e.length() - 1), E = polarOffset(o, l, 2 * m * roundCorner), e.setTripleAt(o[0], o[1], o[0], o[1], E[0], E[1], e.length()), o;
|
|
5112
5112
|
}
|
|
5113
5113
|
var u = pointEqual(a, t.points[2]) ? t.points[0] : t.points[2], P = pointEqual(o, i.points[1]) ? i.points[3] : i.points[1], C = lineIntersection(u, a, o, P);
|
|
@@ -5145,29 +5145,29 @@ var lottie$1 = { exports: {} };
|
|
|
5145
5145
|
n.c = e.c;
|
|
5146
5146
|
var a = e.length();
|
|
5147
5147
|
e.c || (a -= 1);
|
|
5148
|
-
var o, f, l,
|
|
5148
|
+
var o, f, l, p = [];
|
|
5149
5149
|
for (o = 0; o < a; o += 1)
|
|
5150
|
-
l = PolynomialBezier.shapeSegment(e, o),
|
|
5150
|
+
l = PolynomialBezier.shapeSegment(e, o), p.push(offsetSegmentSplit(l, t));
|
|
5151
5151
|
if (!e.c)
|
|
5152
5152
|
for (o = a - 1; o >= 0; o -= 1)
|
|
5153
|
-
l = PolynomialBezier.shapeSegmentInverted(e, o),
|
|
5154
|
-
|
|
5153
|
+
l = PolynomialBezier.shapeSegmentInverted(e, o), p.push(offsetSegmentSplit(l, t));
|
|
5154
|
+
p = pruneIntersections(p);
|
|
5155
5155
|
var m = null, E = null;
|
|
5156
|
-
for (o = 0; o <
|
|
5157
|
-
var u =
|
|
5156
|
+
for (o = 0; o < p.length; o += 1) {
|
|
5157
|
+
var u = p[o];
|
|
5158
5158
|
for (E && (m = joinLines(n, E, u[0], i, s)), E = u[u.length - 1], f = 0; f < u.length; f += 1)
|
|
5159
5159
|
l = u[f], m && pointEqual(l.points[0], m) ? n.setXYAt(l.points[1][0], l.points[1][1], "o", n.length() - 1) : n.setTripleAt(l.points[0][0], l.points[0][1], l.points[1][0], l.points[1][1], l.points[0][0], l.points[0][1], n.length()), n.setTripleAt(l.points[3][0], l.points[3][1], l.points[3][0], l.points[3][1], l.points[2][0], l.points[2][1], n.length()), m = l.points[3];
|
|
5160
5160
|
}
|
|
5161
|
-
return
|
|
5161
|
+
return p.length && joinLines(n, E, p[0][0], i, s), n;
|
|
5162
5162
|
}, OffsetPathModifier.prototype.processShapes = function(e) {
|
|
5163
5163
|
var t, i, s = this.shapes.length, n, a, o = this.amount.v, f = this.miterLimit.v, l = this.lineJoin;
|
|
5164
5164
|
if (o !== 0) {
|
|
5165
|
-
var
|
|
5165
|
+
var p, m;
|
|
5166
5166
|
for (i = 0; i < s; i += 1) {
|
|
5167
|
-
if (
|
|
5168
|
-
for (m.releaseShapes(),
|
|
5167
|
+
if (p = this.shapes[i], m = p.localShapeCollection, !(!p.shape._mdf && !this._mdf && !e))
|
|
5168
|
+
for (m.releaseShapes(), p.shape._mdf = !0, t = p.shape.paths.shapes, a = p.shape.paths._length, n = 0; n < a; n += 1)
|
|
5169
5169
|
m.addShape(this.processPath(t[n], o, l, f));
|
|
5170
|
-
|
|
5170
|
+
p.shape.paths = p.localShapeCollection;
|
|
5171
5171
|
}
|
|
5172
5172
|
}
|
|
5173
5173
|
this.dynamicProperties.length || (this._mdf = !1);
|
|
@@ -5211,7 +5211,7 @@ var lottie$1 = { exports: {} };
|
|
|
5211
5211
|
}
|
|
5212
5212
|
}, i = [];
|
|
5213
5213
|
i = i.concat([2304, 2305, 2306, 2307, 2362, 2363, 2364, 2364, 2366, 2367, 2368, 2369, 2370, 2371, 2372, 2373, 2374, 2375, 2376, 2377, 2378, 2379, 2380, 2381, 2382, 2383, 2387, 2388, 2389, 2390, 2391, 2402, 2403]);
|
|
5214
|
-
var s = 127988, n = 917631, a = 917601, o = 917626, f = 65039, l = 8205,
|
|
5214
|
+
var s = 127988, n = 917631, a = 917601, o = 917626, f = 65039, l = 8205, p = 127462, m = 127487, E = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
|
|
5215
5215
|
function u(_) {
|
|
5216
5216
|
var I = _.split(","), x, S = I.length, B = [];
|
|
5217
5217
|
for (x = 0; x < S; x += 1)
|
|
@@ -5315,7 +5315,7 @@ var lottie$1 = { exports: {} };
|
|
|
5315
5315
|
}
|
|
5316
5316
|
return (typeof _ == "string" && _.charCodeAt(0) !== 13 || !_) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", _, I, x)), t;
|
|
5317
5317
|
}
|
|
5318
|
-
function
|
|
5318
|
+
function c(_, I, x) {
|
|
5319
5319
|
var S = this.getFontByName(I), B = _;
|
|
5320
5320
|
if (!S.cache[B]) {
|
|
5321
5321
|
var F = S.helper;
|
|
@@ -5355,7 +5355,7 @@ var lottie$1 = { exports: {} };
|
|
|
5355
5355
|
}
|
|
5356
5356
|
function R(_) {
|
|
5357
5357
|
var I = L(_);
|
|
5358
|
-
return I >=
|
|
5358
|
+
return I >= p && I <= m;
|
|
5359
5359
|
}
|
|
5360
5360
|
function X(_) {
|
|
5361
5361
|
return R(_.substr(0, 2)) && R(_.substr(2, 2));
|
|
@@ -5387,7 +5387,7 @@ var lottie$1 = { exports: {} };
|
|
|
5387
5387
|
addFonts: M,
|
|
5388
5388
|
getCharData: g,
|
|
5389
5389
|
getFontByName: b,
|
|
5390
|
-
measureText:
|
|
5390
|
+
measureText: c,
|
|
5391
5391
|
checkLoadedFonts: C,
|
|
5392
5392
|
setIsLoaded: Y
|
|
5393
5393
|
};
|
|
@@ -5847,9 +5847,9 @@ var lottie$1 = { exports: {} };
|
|
|
5847
5847
|
this.data = e, this.element = t, this.globalData = i, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
|
|
5848
5848
|
var s = this.globalData.defs, n, a = this.masksProperties ? this.masksProperties.length : 0;
|
|
5849
5849
|
this.viewData = createSizedArray(a), this.solidPath = "";
|
|
5850
|
-
var o, f = this.masksProperties, l = 0,
|
|
5850
|
+
var o, f = this.masksProperties, l = 0, p = [], m, E, u = createElementID(), P, C, y, M, d = "clipPath", g = "clip-path";
|
|
5851
5851
|
for (n = 0; n < a; n += 1)
|
|
5852
|
-
if ((f[n].mode !== "a" && f[n].mode !== "n" || f[n].inv || f[n].o.k !== 100 || f[n].o.x) && (d = "mask", 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),
|
|
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] = {
|
|
5854
5854
|
op: PropertyFactory.getProp(this.element, f[n].o, 0, 0.01, this.element),
|
|
5855
5855
|
prop: ShapePropertyFactory.getShapeProp(this.element, f[n], 3),
|
|
@@ -5858,24 +5858,24 @@ var lottie$1 = { exports: {} };
|
|
|
5858
5858
|
}, s.appendChild(o);
|
|
5859
5859
|
else {
|
|
5860
5860
|
l += 1, o.setAttribute("fill", f[n].mode === "s" ? "#000000" : "#ffffff"), o.setAttribute("clip-rule", "nonzero");
|
|
5861
|
-
var
|
|
5862
|
-
if (f[n].x.k !== 0 ? (d = "mask", g = "mask", M = PropertyFactory.getProp(this.element, f[n].x, 0, null, this.element),
|
|
5861
|
+
var c;
|
|
5862
|
+
if (f[n].x.k !== 0 ? (d = "mask", g = "mask", M = 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, M = null), this.storedData[n] = {
|
|
5863
5863
|
elem: o,
|
|
5864
5864
|
x: M,
|
|
5865
5865
|
expan: y,
|
|
5866
5866
|
lastPath: "",
|
|
5867
5867
|
lastOperator: "",
|
|
5868
|
-
filterId:
|
|
5868
|
+
filterId: c,
|
|
5869
5869
|
lastRadius: 0
|
|
5870
5870
|
}, f[n].mode === "i") {
|
|
5871
|
-
E =
|
|
5871
|
+
E = p.length;
|
|
5872
5872
|
var b = createNS("g");
|
|
5873
5873
|
for (m = 0; m < E; m += 1)
|
|
5874
|
-
b.appendChild(
|
|
5874
|
+
b.appendChild(p[m]);
|
|
5875
5875
|
var L = createNS("mask");
|
|
5876
|
-
L.setAttribute("mask-type", "alpha"), L.setAttribute("id", u + "_" + l), L.appendChild(o), s.appendChild(L), b.setAttribute("mask", "url(" + getLocationHref() + "#" + u + "_" + l + ")"),
|
|
5876
|
+
L.setAttribute("mask-type", "alpha"), L.setAttribute("id", u + "_" + l), L.appendChild(o), s.appendChild(L), 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] = {
|
|
5880
5880
|
elem: o,
|
|
5881
5881
|
lastPath: "",
|
|
@@ -5884,8 +5884,8 @@ var lottie$1 = { exports: {} };
|
|
|
5884
5884
|
invRect: P
|
|
5885
5885
|
}, this.viewData[n].prop.k || this.drawPath(f[n], this.viewData[n].prop.v, this.viewData[n]);
|
|
5886
5886
|
}
|
|
5887
|
-
for (this.maskElement = createNS(d), a =
|
|
5888
|
-
this.maskElement.appendChild(
|
|
5887
|
+
for (this.maskElement = createNS(d), a = p.length, n = 0; n < a; n += 1)
|
|
5888
|
+
this.maskElement.appendChild(p[n]);
|
|
5889
5889
|
l > 0 && (this.maskElement.setAttribute("id", u), this.element.maskedElement.setAttribute(g, "url(" + getLocationHref() + "#" + u + ")"), s.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
|
|
5890
5890
|
}
|
|
5891
5891
|
MaskElement.prototype.getMaskProperty = function(e) {
|
|
@@ -5941,8 +5941,8 @@ var lottie$1 = { exports: {} };
|
|
|
5941
5941
|
f = null;
|
|
5942
5942
|
var l = e.data.ef[t].ty;
|
|
5943
5943
|
if (registeredEffects$1[l]) {
|
|
5944
|
-
var
|
|
5945
|
-
f = new
|
|
5944
|
+
var p = registeredEffects$1[l].effect;
|
|
5945
|
+
f = new p(a, e.effectsManager.effectElements[t], e, idPrefix + o, i), i = idPrefix + o, registeredEffects$1[l].countsAsEffect && (o += 1);
|
|
5946
5946
|
}
|
|
5947
5947
|
f && this.filters.push(f);
|
|
5948
5948
|
}
|
|
@@ -6011,14 +6011,14 @@ var lottie$1 = { exports: {} };
|
|
|
6011
6011
|
} else if (t === 2) {
|
|
6012
6012
|
var l = createNS("mask");
|
|
6013
6013
|
l.setAttribute("id", i), l.setAttribute("mask-type", "alpha");
|
|
6014
|
-
var
|
|
6015
|
-
l.appendChild(
|
|
6014
|
+
var p = createNS("g");
|
|
6015
|
+
l.appendChild(p), s = createElementID(), n = filtersFactory.createFilter(s);
|
|
6016
6016
|
var m = createNS("feComponentTransfer");
|
|
6017
6017
|
m.setAttribute("in", "SourceGraphic"), n.appendChild(m);
|
|
6018
6018
|
var E = createNS("feFuncA");
|
|
6019
6019
|
E.setAttribute("type", "table"), E.setAttribute("tableValues", "1.0 0.0"), m.appendChild(E), this.globalData.defs.appendChild(n);
|
|
6020
6020
|
var u = createNS("rect");
|
|
6021
|
-
u.setAttribute("width", this.comp.data.w), u.setAttribute("height", this.comp.data.h), u.setAttribute("x", "0"), u.setAttribute("y", "0"), u.setAttribute("fill", "#ffffff"), u.setAttribute("opacity", "0"),
|
|
6021
|
+
u.setAttribute("width", this.comp.data.w), u.setAttribute("height", this.comp.data.h), u.setAttribute("x", "0"), u.setAttribute("y", "0"), u.setAttribute("fill", "#ffffff"), u.setAttribute("opacity", "0"), p.setAttribute("filter", "url(" + getLocationHref() + "#" + s + ")"), p.appendChild(u), a = createNS("use"), a.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), p.appendChild(a), featureSupport.maskType || (l.setAttribute("mask-type", "luminance"), n.appendChild(filtersFactory.createAlphaToLuminanceFilter()), o = createNS("g"), p.appendChild(u), o.appendChild(this.layerElement), p.appendChild(o)), this.globalData.defs.appendChild(l);
|
|
6022
6022
|
}
|
|
6023
6023
|
this.matteMasks[t] = i;
|
|
6024
6024
|
}
|
|
@@ -6278,12 +6278,12 @@ var lottie$1 = { exports: {} };
|
|
|
6278
6278
|
a.appendChild(o);
|
|
6279
6279
|
var f = createElementID(), l = createElementID();
|
|
6280
6280
|
a.setAttribute("id", l);
|
|
6281
|
-
var
|
|
6282
|
-
|
|
6281
|
+
var p = createNS(e.t === 1 ? "linearGradient" : "radialGradient");
|
|
6282
|
+
p.setAttribute("id", f), p.setAttribute("spreadMethod", "pad"), p.setAttribute("gradientUnits", "userSpaceOnUse"), n = e.g.k.k[0].s ? e.g.k.k[0].s.length : e.g.k.k.length;
|
|
6283
6283
|
var m = this.stops;
|
|
6284
6284
|
for (s = e.g.p * 4; s < n; s += 2)
|
|
6285
|
-
i = createNS("stop"), i.setAttribute("stop-color", "rgb(255,255,255)"),
|
|
6286
|
-
o.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" + getLocationHref() + "#" + f + ")"), e.ty === "gs" && (o.setAttribute("stroke-linecap", lineCapEnum[e.lc || 2]), o.setAttribute("stroke-linejoin", lineJoinEnum[e.lj || 2]), e.lj === 1 && o.setAttribute("stroke-miterlimit", e.ml)), this.of =
|
|
6285
|
+
i = createNS("stop"), i.setAttribute("stop-color", "rgb(255,255,255)"), p.appendChild(i), m.push(i);
|
|
6286
|
+
o.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" + getLocationHref() + "#" + f + ")"), e.ty === "gs" && (o.setAttribute("stroke-linecap", lineCapEnum[e.lc || 2]), o.setAttribute("stroke-linejoin", lineJoinEnum[e.lj || 2]), e.lj === 1 && o.setAttribute("stroke-miterlimit", e.ml)), this.of = p, this.ms = a, this.ost = m, this.maskId = l, t.msElem = o;
|
|
6287
6287
|
}
|
|
6288
6288
|
}, extendPrototype([DynamicPropertyContainer], SVGGradientFillStyleData);
|
|
6289
6289
|
function SVGGradientStrokeStyleData(e, t, i) {
|
|
@@ -6303,10 +6303,10 @@ var lottie$1 = { exports: {} };
|
|
|
6303
6303
|
var buildShapeString = function(t, i, s, n) {
|
|
6304
6304
|
if (i === 0)
|
|
6305
6305
|
return "";
|
|
6306
|
-
var a = t.o, o = t.i, f = t.v, l,
|
|
6306
|
+
var a = t.o, o = t.i, f = t.v, l, p = " M" + n.applyToPointStringified(f[0][0], f[0][1]);
|
|
6307
6307
|
for (l = 1; l < i; l += 1)
|
|
6308
|
-
|
|
6309
|
-
return s && i && (
|
|
6308
|
+
p += " C" + n.applyToPointStringified(a[l - 1][0], a[l - 1][1]) + " " + n.applyToPointStringified(o[l][0], o[l][1]) + " " + n.applyToPointStringified(f[l][0], f[l][1]);
|
|
6309
|
+
return s && i && (p += " C" + n.applyToPointStringified(a[l - 1][0], a[l - 1][1]) + " " + n.applyToPointStringified(o[0][0], o[0][1]) + " " + n.applyToPointStringified(f[0][0], f[0][1]), p += "z"), p;
|
|
6310
6310
|
}, SVGElementsRenderer = function() {
|
|
6311
6311
|
var e = new Matrix(), t = new Matrix(), i = {
|
|
6312
6312
|
createRenderFunction: s
|
|
@@ -6316,7 +6316,7 @@ var lottie$1 = { exports: {} };
|
|
|
6316
6316
|
case "fl":
|
|
6317
6317
|
return f;
|
|
6318
6318
|
case "gf":
|
|
6319
|
-
return
|
|
6319
|
+
return p;
|
|
6320
6320
|
case "gs":
|
|
6321
6321
|
return l;
|
|
6322
6322
|
case "st":
|
|
@@ -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, M, d, g,
|
|
6344
|
-
for (
|
|
6345
|
-
if (d = u.sh._mdf || P, u.styles[
|
|
6346
|
-
for (T = t.reset(), k = L - u.styles[
|
|
6343
|
+
var C, y, M, d, g, c, b = u.styles.length, L = u.lvl, A, T, k, R;
|
|
6344
|
+
for (c = 0; c < b; c += 1) {
|
|
6345
|
+
if (d = u.sh._mdf || P, u.styles[c].lvl < L) {
|
|
6346
|
+
for (T = t.reset(), k = L - 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 = L - u.styles[
|
|
6349
|
+
for (k = L - 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
6354
|
for (M = "", C = 0; C < y; C += 1)
|
|
6355
6355
|
g = A.shapes[C], g && g._length && (M += buildShapeString(g, g._length, g.c, T));
|
|
6356
|
-
u.caches[
|
|
6356
|
+
u.caches[c] = M;
|
|
6357
6357
|
} else
|
|
6358
|
-
M = u.caches[
|
|
6359
|
-
u.styles[
|
|
6358
|
+
M = u.caches[c];
|
|
6359
|
+
u.styles[c].d += E.hd === !0 ? "" : M, u.styles[c]._mdf = d || u.styles[c]._mdf;
|
|
6360
6360
|
}
|
|
6361
6361
|
}
|
|
6362
6362
|
function f(E, u, P) {
|
|
@@ -6364,17 +6364,17 @@ var lottie$1 = { exports: {} };
|
|
|
6364
6364
|
(u.c._mdf || P) && C.pElem.setAttribute("fill", "rgb(" + bmFloor(u.c.v[0]) + "," + bmFloor(u.c.v[1]) + "," + bmFloor(u.c.v[2]) + ")"), (u.o._mdf || P) && C.pElem.setAttribute("fill-opacity", u.o.v);
|
|
6365
6365
|
}
|
|
6366
6366
|
function l(E, u, P) {
|
|
6367
|
-
|
|
6367
|
+
p(E, u, P), m(E, u, P);
|
|
6368
6368
|
}
|
|
6369
|
-
function
|
|
6369
|
+
function p(E, u, P) {
|
|
6370
6370
|
var C = u.gf, y = u.g._hasOpacity, M = u.s.v, d = u.e.v;
|
|
6371
6371
|
if (u.o._mdf || P) {
|
|
6372
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
|
-
var
|
|
6377
|
-
C.setAttribute(
|
|
6376
|
+
var c = E.t === 1 ? "x1" : "cx", b = c === "x1" ? "y1" : "cy";
|
|
6377
|
+
C.setAttribute(c, M[0]), C.setAttribute(b, M[1]), y && !u.g._collapsable && (u.of.setAttribute(c, M[0]), u.of.setAttribute(b, M[1]));
|
|
6378
6378
|
}
|
|
6379
6379
|
var L, A, T, k;
|
|
6380
6380
|
if (u.g._cmdf || P) {
|
|
@@ -6471,8 +6471,8 @@ 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,
|
|
6475
|
-
for (l =
|
|
6474
|
+
var f = [].concat(a), l, p = e.length - 1, m, E, u = [], P = [], C, y, M;
|
|
6475
|
+
for (l = p; l >= 0; l -= 1) {
|
|
6476
6476
|
if (M = this.searchProcessedElement(e[l]), M ? t[l] = i[M - 1] : e[l]._render = o, e[l].ty === "fl" || e[l].ty === "st" || e[l].ty === "gf" || e[l].ty === "gs" || e[l].ty === "no")
|
|
6477
6477
|
M ? t[l].style.closed = !1 : t[l] = this.createStyleElement(e[l], n), e[l]._render && t[l].style.pElem.parentNode !== s && s.appendChild(t[l].style.pElem), u.push(t[l].style);
|
|
6478
6478
|
else if (e[l].ty === "gr") {
|
|
@@ -6485,9 +6485,9 @@ var lottie$1 = { exports: {} };
|
|
|
6485
6485
|
} else e[l].ty === "tr" ? (M || (t[l] = this.createTransformElement(e[l], s)), C = t[l].transform, f.push(C)) : e[l].ty === "sh" || e[l].ty === "rc" || e[l].ty === "el" || e[l].ty === "sr" ? (M || (t[l] = this.createShapeElement(e[l], f, n)), this.setElementStyles(t[l])) : e[l].ty === "tm" || e[l].ty === "rd" || e[l].ty === "ms" || e[l].ty === "pb" || e[l].ty === "zz" || e[l].ty === "op" ? (M ? (y = t[l], y.closed = !1) : (y = ShapeModifiers.getModifier(e[l].ty), y.init(this, e[l]), t[l] = y, this.shapeModifiers.push(y)), P.push(y)) : e[l].ty === "rp" && (M ? (y = t[l], y.closed = !0) : (y = ShapeModifiers.getModifier(e[l].ty), t[l] = y, y.init(this, e, l, t), this.shapeModifiers.push(y), o = !1), P.push(y));
|
|
6486
6486
|
this.addProcessedElement(e[l], l + 1);
|
|
6487
6487
|
}
|
|
6488
|
-
for (
|
|
6488
|
+
for (p = u.length, l = 0; l < p; l += 1)
|
|
6489
6489
|
u[l].closed = !0;
|
|
6490
|
-
for (
|
|
6490
|
+
for (p = P.length, l = 0; l < p; l += 1)
|
|
6491
6491
|
P[l].closed = !0;
|
|
6492
6492
|
}, SVGShapeElement.prototype.renderInnerContent = function() {
|
|
6493
6493
|
this.renderModifiers();
|
|
@@ -6586,7 +6586,7 @@ var lottie$1 = { exports: {} };
|
|
|
6586
6586
|
return t;
|
|
6587
6587
|
}, TextProperty.prototype.completeTextData = function(e) {
|
|
6588
6588
|
e.__complete = !0;
|
|
6589
|
-
var t = this.elem.globalData.fontManager, i = this.data, s = [], n, a, o, f = 0, l,
|
|
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, M, d, g = t.getFontByName(e.f), c, b = 0, L = getFontProperties(g);
|
|
6590
6590
|
e.fWeight = L.weight, e.fStyle = L.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
|
|
6591
6591
|
var A = e.tr / 1e3 * e.finalSize, T;
|
|
6592
6592
|
if (e.sz)
|
|
@@ -6594,13 +6594,13 @@ var lottie$1 = { exports: {} };
|
|
|
6594
6594
|
j = this.buildFinalText(e.t), N = 0, C = 0, a = j.length, A = e.tr / 1e3 * e.finalSize;
|
|
6595
6595
|
var Y = -1;
|
|
6596
6596
|
for (n = 0; n < a; n += 1)
|
|
6597
|
-
T = j[n].charCodeAt(0), o = !1, j[n] === " " ? Y = n : (T === 13 || T === 3) && (C = 0, o = !0, N += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (
|
|
6597
|
+
T = j[n].charCodeAt(0), o = !1, j[n] === " " ? Y = n : (T === 13 || T === 3) && (C = 0, o = !0, N += e.finalLineHeight || e.finalSize * 1.2), t.chars ? (c = t.getCharData(j[n], g.fStyle, g.fFamily), b = o ? 0 : c.w * e.finalSize / 100) : b = t.measureText(j[n], e.f, e.finalSize), C + b > R && j[n] !== " " ? (Y === -1 ? a += 1 : n = Y, N += e.finalLineHeight || e.finalSize * 1.2, j.splice(n, Y === n ? 1 : 0, "\r"), Y = -1, C = 0) : (C += b, C += A);
|
|
6598
6598
|
N += g.ascent * e.finalSize / 100, this.canResize && e.finalSize > this.minimumFontSize && X < N ? (e.finalSize -= 1, e.finalLineHeight = e.finalSize * e.lh / e.s) : (e.finalText = j, a = e.finalText.length, k = !1);
|
|
6599
6599
|
}
|
|
6600
6600
|
C = -A, b = 0;
|
|
6601
6601
|
var U = 0, Z;
|
|
6602
6602
|
for (n = 0; n < a; n += 1)
|
|
6603
|
-
if (o = !1, Z = e.finalText[n], T = Z.charCodeAt(0), T === 13 || T === 3 ? (U = 0, P.push(C), y = C > y ? C : y, C = -2 * A, l = "", o = !0, u += 1) : l = Z, t.chars ? (
|
|
6603
|
+
if (o = !1, Z = e.finalText[n], T = Z.charCodeAt(0), T === 13 || T === 3 ? (U = 0, P.push(C), y = C > y ? C : y, C = -2 * A, l = "", o = !0, u += 1) : l = Z, t.chars ? (c = t.getCharData(Z, g.fStyle, t.getFontByName(e.f).fFamily), b = o ? 0 : c.w * e.finalSize / 100) : b = t.measureText(l, e.f, e.finalSize), Z === " " ? U += b + A : (C += b + A + U, U = 0), s.push({
|
|
6604
6604
|
l: b,
|
|
6605
6605
|
an: b,
|
|
6606
6606
|
add: m,
|
|
@@ -6609,13 +6609,13 @@ var lottie$1 = { exports: {} };
|
|
|
6609
6609
|
val: l,
|
|
6610
6610
|
line: u,
|
|
6611
6611
|
animatorJustifyOffset: 0
|
|
6612
|
-
}),
|
|
6612
|
+
}), p == 2) {
|
|
6613
6613
|
if (m += b, l === "" || l === " " || n === a - 1) {
|
|
6614
6614
|
for ((l === "" || l === " ") && (m -= b); E <= n; )
|
|
6615
6615
|
s[E].an = m, s[E].ind = f, s[E].extra = b, E += 1;
|
|
6616
6616
|
f += 1, m = 0;
|
|
6617
6617
|
}
|
|
6618
|
-
} else if (
|
|
6618
|
+
} else if (p == 3) {
|
|
6619
6619
|
if (m += b, l === "" || n === a - 1) {
|
|
6620
6620
|
for (l === "" && (m -= b); E <= n; )
|
|
6621
6621
|
s[E].an = m, s[E].ind = f, s[E].extra = b, E += 1;
|
|
@@ -6682,9 +6682,9 @@ var lottie$1 = { exports: {} };
|
|
|
6682
6682
|
s.prototype = {
|
|
6683
6683
|
getMult: function(o) {
|
|
6684
6684
|
this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
|
|
6685
|
-
var f = 0, l = 0,
|
|
6686
|
-
this.ne.v > 0 ? f = this.ne.v / 100 : l = -this.ne.v / 100, this.xe.v > 0 ?
|
|
6687
|
-
var E = BezierFactory.getBezierEasing(f, l,
|
|
6685
|
+
var f = 0, l = 0, p = 1, m = 1;
|
|
6686
|
+
this.ne.v > 0 ? f = this.ne.v / 100 : l = -this.ne.v / 100, this.xe.v > 0 ? p = 1 - this.xe.v / 100 : m = 1 + this.xe.v / 100;
|
|
6687
|
+
var E = BezierFactory.getBezierEasing(f, l, p, m).get, u = 0, P = this.finalS, C = this.finalE, y = this.data.sh;
|
|
6688
6688
|
if (y === 2)
|
|
6689
6689
|
C === P ? u = o >= C ? 1 : 0 : u = e(0, t(0.5 / (C - P) + (o - P) / (C - P), 1)), u = E(u);
|
|
6690
6690
|
else if (y === 3)
|
|
@@ -6703,21 +6703,21 @@ var lottie$1 = { exports: {} };
|
|
|
6703
6703
|
u = E(u);
|
|
6704
6704
|
} else y === 6 ? (C === P ? u = 0 : (o = t(e(0, o + 0.5 - P), C - P), u = (1 + Math.cos(Math.PI + Math.PI * 2 * o / (C - P))) / 2), u = E(u)) : (o >= i(P) && (o - P < 0 ? u = e(0, t(t(C, 1) - (P - o), 1)) : u = e(0, t(C - o, 1))), u = E(u));
|
|
6705
6705
|
if (this.sm.v !== 100) {
|
|
6706
|
-
var
|
|
6707
|
-
|
|
6708
|
-
var b = 0.5 -
|
|
6709
|
-
u < b ? u = 0 : (u = (u - b) /
|
|
6706
|
+
var c = this.sm.v * 0.01;
|
|
6707
|
+
c === 0 && (c = 1e-8);
|
|
6708
|
+
var b = 0.5 - c * 0.5;
|
|
6709
|
+
u < b ? u = 0 : (u = (u - b) / c, u > 1 && (u = 1));
|
|
6710
6710
|
}
|
|
6711
6711
|
return u * this.a.v;
|
|
6712
6712
|
},
|
|
6713
6713
|
getValue: function(o) {
|
|
6714
6714
|
this.iterateDynamicProperties(), this._mdf = o || this._mdf, this._currentTextLength = this.elem.textProperty.currentData.l.length || 0, o && this.data.r === 2 && (this.e.v = this._currentTextLength);
|
|
6715
|
-
var f = this.data.r === 2 ? 1 : 100 / this.data.totalChars, l = this.o.v / f,
|
|
6716
|
-
if (
|
|
6717
|
-
var E =
|
|
6718
|
-
|
|
6715
|
+
var f = this.data.r === 2 ? 1 : 100 / this.data.totalChars, l = this.o.v / f, p = this.s.v / f + l, m = this.e.v / f + l;
|
|
6716
|
+
if (p > m) {
|
|
6717
|
+
var E = p;
|
|
6718
|
+
p = m, m = E;
|
|
6719
6719
|
}
|
|
6720
|
-
this.finalS =
|
|
6720
|
+
this.finalS = p, this.finalE = m;
|
|
6721
6721
|
}
|
|
6722
6722
|
}, extendPrototype([DynamicPropertyContainer], s);
|
|
6723
6723
|
function n(a, o, f) {
|
|
@@ -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,
|
|
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, M, d, g, c, b, L, A, T, k, R, X, N;
|
|
6774
6774
|
if (this._hasMaskedPath) {
|
|
6775
6775
|
if (N = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
6776
6776
|
var j = N.v;
|
|
@@ -6783,15 +6783,15 @@ var lottie$1 = { exports: {} };
|
|
|
6783
6783
|
Y = bez.buildBezierData(j.v[m], j.v[m + 1], [j.o[m][0] - j.v[m][0], j.o[m][1] - j.v[m][1]], [j.i[m + 1][0] - j.v[m + 1][0], j.i[m + 1][1] - j.v[m + 1][1]]), P.tLength += Y.segmentLength, P.segments.push(Y), k += Y.segmentLength;
|
|
6784
6784
|
m = E, N.v.c && (Y = bez.buildBezierData(j.v[m], j.v[0], [j.o[m][0] - j.v[m][0], j.o[m][1] - j.v[m][1]], [j.i[0][0] - j.v[0][0], j.i[0][1] - j.v[0][1]]), P.tLength += Y.segmentLength, P.segments.push(Y), k += Y.segmentLength), this._pathData.pi = P;
|
|
6785
6785
|
}
|
|
6786
|
-
if (P = this._pathData.pi, C = this._pathData.f.v,
|
|
6787
|
-
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength),
|
|
6788
|
-
C += L[g].partialLength, g -= 1, g < 0 && (
|
|
6789
|
-
L = A[
|
|
6786
|
+
if (P = this._pathData.pi, C = this._pathData.f.v, c = 0, g = 1, M = 0, d = !0, A = P.segments, C < 0 && N.v.c)
|
|
6787
|
+
for (P.tLength < Math.abs(C) && (C = -Math.abs(C) % P.tLength), c = A.length - 1, L = A[c].points, g = L.length - 1; C < 0; )
|
|
6788
|
+
C += L[g].partialLength, g -= 1, g < 0 && (c -= 1, L = A[c].points, g = L.length - 1);
|
|
6789
|
+
L = A[c].points, b = L[g - 1], y = L[g], T = y.partialLength;
|
|
6790
6790
|
}
|
|
6791
|
-
E = u.length, l = 0,
|
|
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 =
|
|
6794
|
+
var F, G = -1, q, $, J, re = C, le = c, pe = g, ue = -1, ce, se, oe, te, K, Le, Ae, Se, ye = "", xe = this.defaultPropsArray, we;
|
|
6795
6795
|
if (e.j === 2 || e.j === 1) {
|
|
6796
6796
|
var me = 0, Ce = 0, _e = e.j === 2 ? -0.5 : -1, be = 0, Me = !0;
|
|
6797
6797
|
for (m = 0; m < E; m += 1)
|
|
@@ -6809,7 +6809,7 @@ var lottie$1 = { exports: {} };
|
|
|
6809
6809
|
}
|
|
6810
6810
|
for (m = 0; m < E; m += 1) {
|
|
6811
6811
|
if (a.reset(), ce = 1, u[m].n)
|
|
6812
|
-
l = 0,
|
|
6812
|
+
l = 0, p += e.yOffset, p += Z ? 1 : 0, C = re, Z = !1, this._hasMaskedPath && (c = le, g = pe, L = A[c].points, b = L[g - 1], y = L[g], T = y.partialLength, M = 0), ye = "", Se = "", Le = "", we = "", xe = this.defaultPropsArray;
|
|
6813
6813
|
else {
|
|
6814
6814
|
if (this._hasMaskedPath) {
|
|
6815
6815
|
if (ue !== u[m].line) {
|
|
@@ -6828,7 +6828,7 @@ var lottie$1 = { exports: {} };
|
|
|
6828
6828
|
for (x = 0; x < S; x += 1)
|
|
6829
6829
|
_ = s[x].a, _.p.propType && (I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), F.length ? Pe += _.p.v[0] * F[0] : Pe += _.p.v[0] * F), _.a.propType && (I = s[x].s, F = I.getMult(u[m].anIndexes[x], n.a[x].s.totalChars), F.length ? Pe += _.a.v[0] * F[0] : Pe += _.a.v[0] * F);
|
|
6830
6830
|
for (d = !0, this._pathData.a.v && (C = u[0].an * 0.5 + (k - this._pathData.f.v - u[0].an * 0.5 - u[u.length - 1].an * 0.5) * G / (E - 1), C += this._pathData.f.v); d; )
|
|
6831
|
-
M + T >= C + Pe || !L ? (R = (C + Pe - M) / y.partialLength, $ = b.point[0] + (y.point[0] - b.point[0]) * R, J = b.point[1] + (y.point[1] - b.point[1]) * R, a.translate(-i[0] * u[m].an * 5e-3, -(i[1] * U) * 0.01), d = !1) : L && (M += y.partialLength, g += 1, g >= L.length && (g = 0,
|
|
6831
|
+
M + T >= C + Pe || !L ? (R = (C + Pe - M) / y.partialLength, $ = b.point[0] + (y.point[0] - b.point[0]) * R, J = b.point[1] + (y.point[1] - b.point[1]) * R, a.translate(-i[0] * u[m].an * 5e-3, -(i[1] * U) * 0.01), d = !1) : L && (M += y.partialLength, g += 1, g >= L.length && (g = 0, c += 1, A[c] ? L = A[c].points : N.v.c ? (g = 0, c = 0, L = A[c].points) : (M -= y.partialLength, L = null)), L && (b = y, y = L[g], T = y.partialLength));
|
|
6832
6832
|
q = u[m].an / 2 - u[m].add, a.translate(-q, 0, 0);
|
|
6833
6833
|
} else
|
|
6834
6834
|
q = u[m].an / 2 - u[m].add, a.translate(-q, 0, 0), a.translate(-i[0] * u[m].an * 5e-3, -i[1] * U * 0.01, 0);
|
|
@@ -6852,14 +6852,14 @@ var lottie$1 = { exports: {} };
|
|
|
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
6854
|
if (e.strokeWidthAnim && (Le = oe < 0 ? 0 : oe), e.strokeColorAnim && (Ae = "rgb(" + Math.round(se[0] * 255) + "," + Math.round(se[1] * 255) + "," + Math.round(se[2] * 255) + ")"), e.fillColorAnim && e.fc && (Se = "rgb(" + Math.round(te[0] * 255) + "," + Math.round(te[1] * 255) + "," + Math.round(te[2] * 255) + ")"), this._hasMaskedPath) {
|
|
6855
|
-
if (a.translate(0, -e.ls), a.translate(0, i[1] * U * 0.01 +
|
|
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;
|
|
6858
6858
|
y.point[0] < b.point[0] && (Ee += 180), a.rotate(-Ee * Math.PI / 180);
|
|
6859
6859
|
}
|
|
6860
6860
|
a.translate($, J, 0), C -= i[0] * u[m].an * 5e-3, u[m + 1] && G !== u[m + 1].ind && (C += u[m].an / 2, C += e.tr * 1e-3 * e.finalSize);
|
|
6861
6861
|
} else {
|
|
6862
|
-
switch (a.translate(l,
|
|
6862
|
+
switch (a.translate(l, p, 0), e.ps && a.translate(e.ps[0], e.ps[1] + e.ascent, 0), e.j) {
|
|
6863
6863
|
case 1:
|
|
6864
6864
|
a.translate(u[m].animatorJustifyOffset + e.justifyOffset + (e.boxWidth - e.lineWidths[u[m].line]), 0, 0);
|
|
6865
6865
|
break;
|
|
@@ -6946,7 +6946,7 @@ var lottie$1 = { exports: {} };
|
|
|
6946
6946
|
this.layerElement.setAttribute("aria-label", i.t);
|
|
6947
6947
|
var o = i.l || [], f = !!this.globalData.fontManager.chars;
|
|
6948
6948
|
t = o.length;
|
|
6949
|
-
var l,
|
|
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
6951
|
var M = this.textContainer, d = "start";
|
|
6952
6952
|
switch (i.j) {
|
|
@@ -6969,14 +6969,14 @@ var lottie$1 = { exports: {} };
|
|
|
6969
6969
|
}), this.textSpans[e].span = l, P += i.finalLineHeight;
|
|
6970
6970
|
this.layerElement.appendChild(M);
|
|
6971
6971
|
} else {
|
|
6972
|
-
var
|
|
6972
|
+
var c = this.textSpans.length, b;
|
|
6973
6973
|
for (e = 0; e < t; e += 1) {
|
|
6974
6974
|
if (this.textSpans[e] || (this.textSpans[e] = {
|
|
6975
6975
|
span: null,
|
|
6976
6976
|
childSpan: null,
|
|
6977
6977
|
glyph: null
|
|
6978
6978
|
}), !f || !E || e === 0) {
|
|
6979
|
-
if (l =
|
|
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
6981
|
var L = createNS("g");
|
|
6982
6982
|
l.appendChild(L), this.textSpans[e].childSpan = L;
|
|
@@ -6985,7 +6985,7 @@ var lottie$1 = { exports: {} };
|
|
|
6985
6985
|
}
|
|
6986
6986
|
l.style.display = "inherit";
|
|
6987
6987
|
}
|
|
6988
|
-
if (
|
|
6988
|
+
if (p.reset(), E && (o[e].n && (u = -y, P += i.yOffset, P += C ? 1 : 0, C = !1), this.applyTextPropertiesToMatrix(i, p, o[e].line, u, P), u += o[e].l || 0, u += y), f) {
|
|
6989
6989
|
b = this.globalData.fontManager.getCharData(i.finalText[e], s.fStyle, this.globalData.fontManager.getFontByName(i.f).fFamily);
|
|
6990
6990
|
var A;
|
|
6991
6991
|
if (b.t === 1)
|
|
@@ -7000,7 +7000,7 @@ var lottie$1 = { exports: {} };
|
|
|
7000
7000
|
}
|
|
7001
7001
|
this.textSpans[e].glyph = A, A._debug = !0, A.prepareFrame(0), A.renderFrame(), this.textSpans[e].childSpan.appendChild(A.layerElement), b.t === 1 && this.textSpans[e].childSpan.setAttribute("transform", "scale(" + i.finalSize / 100 + "," + i.finalSize / 100 + ")");
|
|
7002
7002
|
} else
|
|
7003
|
-
E && l.setAttribute("transform", "translate(" +
|
|
7003
|
+
E && l.setAttribute("transform", "translate(" + p.props[12] + "," + p.props[13] + ")"), l.textContent = o[e].val, l.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve");
|
|
7004
7004
|
}
|
|
7005
7005
|
E && l && l.setAttribute("d", m);
|
|
7006
7006
|
}
|
|
@@ -7261,8 +7261,8 @@ var lottie$1 = { exports: {} };
|
|
|
7261
7261
|
var lumaLoader = function() {
|
|
7262
7262
|
var t = "__lottie_element_luma_buffer", i = null, s = null, n = null;
|
|
7263
7263
|
function a() {
|
|
7264
|
-
var l = createNS("svg"),
|
|
7265
|
-
return
|
|
7264
|
+
var l = createNS("svg"), p = createNS("filter"), m = createNS("feColorMatrix");
|
|
7265
|
+
return p.setAttribute("id", t), m.setAttribute("type", "matrix"), m.setAttribute("color-interpolation-filters", "sRGB"), m.setAttribute("values", "0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0, 0.3, 0.3, 0.3, 0, 0"), p.appendChild(m), l.appendChild(p), l.setAttribute("id", t + "_svg"), featureSupport.svgLumaHidden && (l.style.display = "none"), l;
|
|
7266
7266
|
}
|
|
7267
7267
|
function o() {
|
|
7268
7268
|
i || (n = a(), document.body.appendChild(n), i = createTag("canvas"), s = i.getContext("2d"), s.filter = "url(#" + t + ")", s.fillStyle = "rgba(0,0,0,0)", s.fillRect(0, 0, 1, 1));
|
|
@@ -7498,10 +7498,10 @@ var lottie$1 = { exports: {} };
|
|
|
7498
7498
|
for (t = 0; t < i; t += 1)
|
|
7499
7499
|
e[t].closed = !0;
|
|
7500
7500
|
}, CVShapeElement.prototype.searchShapes = function(e, t, i, s, n) {
|
|
7501
|
-
var a, o = e.length - 1, f, l,
|
|
7501
|
+
var a, o = e.length - 1, f, l, p = [], m = [], E, u, P, C = [].concat(n);
|
|
7502
7502
|
for (a = o; a >= 0; a -= 1) {
|
|
7503
7503
|
if (E = this.searchProcessedElement(e[a]), E ? t[a] = i[E - 1] : e[a]._shouldRender = s, e[a].ty === "fl" || e[a].ty === "st" || e[a].ty === "gf" || e[a].ty === "gs")
|
|
7504
|
-
E ? t[a].style.closed = !1 : t[a] = this.createStyleElement(e[a], C),
|
|
7504
|
+
E ? t[a].style.closed = !1 : t[a] = this.createStyleElement(e[a], C), p.push(t[a].style);
|
|
7505
7505
|
else if (e[a].ty === "gr") {
|
|
7506
7506
|
if (!E)
|
|
7507
7507
|
t[a] = this.createGroupElement(e[a]);
|
|
@@ -7512,20 +7512,20 @@ var lottie$1 = { exports: {} };
|
|
|
7512
7512
|
} else e[a].ty === "tr" ? (E || (P = this.createTransformElement(e[a]), t[a] = P), C.push(t[a]), this.addTransformToStyleList(t[a])) : e[a].ty === "sh" || e[a].ty === "rc" || e[a].ty === "el" || e[a].ty === "sr" ? E || (t[a] = this.createShapeElement(e[a])) : e[a].ty === "tm" || e[a].ty === "rd" || e[a].ty === "pb" || e[a].ty === "zz" || e[a].ty === "op" ? (E ? (u = t[a], u.closed = !1) : (u = ShapeModifiers.getModifier(e[a].ty), u.init(this, e[a]), t[a] = u, this.shapeModifiers.push(u)), m.push(u)) : e[a].ty === "rp" && (E ? (u = t[a], u.closed = !0) : (u = ShapeModifiers.getModifier(e[a].ty), t[a] = u, u.init(this, e, a, t), this.shapeModifiers.push(u), s = !1), m.push(u));
|
|
7513
7513
|
this.addProcessedElement(e[a], a + 1);
|
|
7514
7514
|
}
|
|
7515
|
-
for (this.removeTransformFromStyleList(), this.closeStyles(
|
|
7515
|
+
for (this.removeTransformFromStyleList(), this.closeStyles(p), o = m.length, a = 0; a < o; a += 1)
|
|
7516
7516
|
m[a].closed = !0;
|
|
7517
7517
|
}, CVShapeElement.prototype.renderInnerContent = function() {
|
|
7518
7518
|
this.transformHelper.opacity = 1, this.transformHelper._opMdf = !1, this.renderModifiers(), this.transformsManager.processSequences(this._isFirstFrame), this.renderShape(this.transformHelper, this.shapesData, this.itemsData, !0);
|
|
7519
7519
|
}, CVShapeElement.prototype.renderShapeTransform = function(e, t) {
|
|
7520
7520
|
(e._opMdf || t.op._mdf || this._isFirstFrame) && (t.opacity = e.opacity, t.opacity *= t.op.v, t._opMdf = !0);
|
|
7521
7521
|
}, CVShapeElement.prototype.drawLayer = function() {
|
|
7522
|
-
var e, t = this.stylesList.length, i, s, n, a, o, f, l = this.globalData.renderer,
|
|
7522
|
+
var e, t = this.stylesList.length, i, s, n, a, o, f, l = this.globalData.renderer, p = this.globalData.canvasContext, m, E;
|
|
7523
7523
|
for (e = 0; e < t; e += 1)
|
|
7524
7524
|
if (E = this.stylesList[e], m = E.type, !((m === "st" || m === "gs") && E.wi === 0 || !E.data._shouldRender || E.coOp === 0 || this.globalData.currentGlobalAlpha === 0)) {
|
|
7525
|
-
for (l.save(), o = E.elements, m === "st" || m === "gs" ? (l.ctxStrokeStyle(m === "st" ? E.co : E.grd), l.ctxLineWidth(E.wi), l.ctxLineCap(E.lc), l.ctxLineJoin(E.lj), l.ctxMiterLimit(E.ml || 0)) : l.ctxFillStyle(m === "fl" ? E.co : E.grd), l.ctxOpacity(E.coOp), m !== "st" && m !== "gs" &&
|
|
7526
|
-
for ((m === "st" || m === "gs") && (
|
|
7527
|
-
f[n].t === "m" ?
|
|
7528
|
-
(m === "st" || m === "gs") && (l.ctxStroke(), E.da &&
|
|
7525
|
+
for (l.save(), o = E.elements, m === "st" || m === "gs" ? (l.ctxStrokeStyle(m === "st" ? E.co : E.grd), l.ctxLineWidth(E.wi), l.ctxLineCap(E.lc), l.ctxLineJoin(E.lj), l.ctxMiterLimit(E.ml || 0)) : l.ctxFillStyle(m === "fl" ? E.co : E.grd), l.ctxOpacity(E.coOp), m !== "st" && m !== "gs" && p.beginPath(), l.ctxTransform(E.preTransforms.finalTransform.props), s = o.length, i = 0; i < s; i += 1) {
|
|
7526
|
+
for ((m === "st" || m === "gs") && (p.beginPath(), E.da && (p.setLineDash(E.da), p.lineDashOffset = E.do)), f = o[i].trNodes, a = f.length, n = 0; n < a; n += 1)
|
|
7527
|
+
f[n].t === "m" ? p.moveTo(f[n].p[0], f[n].p[1]) : f[n].t === "c" ? p.bezierCurveTo(f[n].pts[0], f[n].pts[1], f[n].pts[2], f[n].pts[3], f[n].pts[4], f[n].pts[5]) : p.closePath();
|
|
7528
|
+
(m === "st" || m === "gs") && (l.ctxStroke(), E.da && p.setLineDash(this.dashResetter));
|
|
7529
7529
|
}
|
|
7530
7530
|
m !== "st" && m !== "gs" && this.globalData.renderer.ctxFill(E.r), l.restore();
|
|
7531
7531
|
}
|
|
@@ -7540,22 +7540,22 @@ var lottie$1 = { exports: {} };
|
|
|
7540
7540
|
i.length = 0;
|
|
7541
7541
|
var l = e.transforms.finalTransform;
|
|
7542
7542
|
for (o = 0; o < f; o += 1) {
|
|
7543
|
-
var
|
|
7544
|
-
if (
|
|
7545
|
-
for (a =
|
|
7543
|
+
var p = s.shapes[o];
|
|
7544
|
+
if (p && p.v) {
|
|
7545
|
+
for (a = p._length, n = 1; n < a; n += 1)
|
|
7546
7546
|
n === 1 && i.push({
|
|
7547
7547
|
t: "m",
|
|
7548
|
-
p: l.applyToPointArray(
|
|
7548
|
+
p: l.applyToPointArray(p.v[0][0], p.v[0][1], 0)
|
|
7549
7549
|
}), i.push({
|
|
7550
7550
|
t: "c",
|
|
7551
|
-
pts: l.applyToTriplePoints(
|
|
7551
|
+
pts: l.applyToTriplePoints(p.o[n - 1], p.i[n], p.v[n])
|
|
7552
7552
|
});
|
|
7553
7553
|
a === 1 && i.push({
|
|
7554
7554
|
t: "m",
|
|
7555
|
-
p: l.applyToPointArray(
|
|
7556
|
-
}),
|
|
7555
|
+
p: l.applyToPointArray(p.v[0][0], p.v[0][1], 0)
|
|
7556
|
+
}), p.c && a && (i.push({
|
|
7557
7557
|
t: "c",
|
|
7558
|
-
pts: l.applyToTriplePoints(
|
|
7558
|
+
pts: l.applyToTriplePoints(p.o[n - 1], p.i[0], p.v[0])
|
|
7559
7559
|
}), i.push({
|
|
7560
7560
|
t: "z"
|
|
7561
7561
|
}));
|
|
@@ -7579,9 +7579,9 @@ var lottie$1 = { exports: {} };
|
|
|
7579
7579
|
if (e.t === 1)
|
|
7580
7580
|
n = a.createLinearGradient(o[0], o[1], f[0], f[1]);
|
|
7581
7581
|
else {
|
|
7582
|
-
var l = Math.sqrt(Math.pow(o[0] - f[0], 2) + Math.pow(o[1] - f[1], 2)),
|
|
7582
|
+
var l = Math.sqrt(Math.pow(o[0] - f[0], 2) + Math.pow(o[1] - f[1], 2)), p = Math.atan2(f[1] - o[1], f[0] - o[0]), m = t.h.v;
|
|
7583
7583
|
m >= 1 ? m = 0.99 : m <= -1 && (m = -0.99);
|
|
7584
|
-
var E = l * m, u = Math.cos(
|
|
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
7587
|
var C, y = e.g.p, M = t.g.c, d = 1;
|
|
@@ -7613,9 +7613,9 @@ 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,
|
|
7616
|
+
var l, p, m, E, u, P, C, y, M, d, g = this.data.singleShape, c = e.tr * 1e-3 * e.finalSize, b = 0, L = 0, A = !0, T = 0;
|
|
7617
7617
|
for (n = 0; n < a; n += 1) {
|
|
7618
|
-
l = this.globalData.fontManager.getCharData(e.finalText[n], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily),
|
|
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, L += e.yOffset, L += 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, L), M = createSizedArray(C - 1);
|
|
7619
7619
|
var k = 0;
|
|
7620
7620
|
for (P = 0; P < C; P += 1)
|
|
7621
7621
|
if (u[P].ty === "sh") {
|
|
@@ -7623,7 +7623,7 @@ var lottie$1 = { exports: {} };
|
|
|
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
7624
|
d.push(f.applyToX(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToY(y.o[m - 1][0], y.o[m - 1][1], 0), f.applyToX(y.i[0][0], y.i[0][1], 0), f.applyToY(y.i[0][0], y.i[0][1], 0), f.applyToX(y.v[0][0], y.v[0][1], 0), f.applyToY(y.v[0][0], y.v[0][1], 0)), M[k] = d, k += 1;
|
|
7625
7625
|
}
|
|
7626
|
-
g && (b += o[n].l, b +=
|
|
7626
|
+
g && (b += o[n].l, b += c), this.textSpans[T] ? this.textSpans[T].elem = M : this.textSpans[T] = {
|
|
7627
7627
|
elem: M
|
|
7628
7628
|
}, T += 1;
|
|
7629
7629
|
}
|
|
@@ -7633,22 +7633,22 @@ var lottie$1 = { exports: {} };
|
|
|
7633
7633
|
e.font = this.values.fValue, this.globalData.renderer.ctxLineCap("butt"), this.globalData.renderer.ctxLineJoin("miter"), this.globalData.renderer.ctxMiterLimit(4), this.data.singleShape || this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag);
|
|
7634
7634
|
var t, i, s, n, a, o, f = this.textAnimator.renderedLetters, l = this.textProperty.currentData.l;
|
|
7635
7635
|
i = l.length;
|
|
7636
|
-
var
|
|
7636
|
+
var p, m = null, E = null, u = null, P, C, y = this.globalData.renderer;
|
|
7637
7637
|
for (t = 0; t < i; t += 1)
|
|
7638
7638
|
if (!l[t].n) {
|
|
7639
|
-
if (
|
|
7640
|
-
for (
|
|
7639
|
+
if (p = f[t], p && (y.save(), y.ctxTransform(p.p), y.ctxOpacity(p.o)), this.fill) {
|
|
7640
|
+
for (p && p.fc ? m !== p.fc && (y.ctxFillStyle(p.fc), m = p.fc) : m !== this.values.fill && (m = this.values.fill, y.ctxFillStyle(this.values.fill)), P = this.textSpans[t].elem, n = P.length, this.globalData.canvasContext.beginPath(), s = 0; s < n; s += 1)
|
|
7641
7641
|
for (C = P[s], o = C.length, this.globalData.canvasContext.moveTo(C[0], C[1]), a = 2; a < o; a += 6)
|
|
7642
7642
|
this.globalData.canvasContext.bezierCurveTo(C[a], C[a + 1], C[a + 2], C[a + 3], C[a + 4], C[a + 5]);
|
|
7643
7643
|
this.globalData.canvasContext.closePath(), y.ctxFill();
|
|
7644
7644
|
}
|
|
7645
7645
|
if (this.stroke) {
|
|
7646
|
-
for (
|
|
7646
|
+
for (p && p.sw ? u !== p.sw && (u = p.sw, y.ctxLineWidth(p.sw)) : u !== this.values.sWidth && (u = this.values.sWidth, y.ctxLineWidth(this.values.sWidth)), p && p.sc ? E !== p.sc && (E = p.sc, y.ctxStrokeStyle(p.sc)) : E !== this.values.stroke && (E = this.values.stroke, y.ctxStrokeStyle(this.values.stroke)), P = this.textSpans[t].elem, n = P.length, this.globalData.canvasContext.beginPath(), s = 0; s < n; s += 1)
|
|
7647
7647
|
for (C = P[s], o = C.length, this.globalData.canvasContext.moveTo(C[0], C[1]), a = 2; a < o; a += 6)
|
|
7648
7648
|
this.globalData.canvasContext.bezierCurveTo(C[a], C[a + 1], C[a + 2], C[a + 3], C[a + 4], C[a + 5]);
|
|
7649
7649
|
this.globalData.canvasContext.closePath(), y.ctxStroke();
|
|
7650
7650
|
}
|
|
7651
|
-
|
|
7651
|
+
p && this.globalData.renderer.restore();
|
|
7652
7652
|
}
|
|
7653
7653
|
};
|
|
7654
7654
|
function CVImageElement(e, t, i) {
|
|
@@ -7741,8 +7741,8 @@ var lottie$1 = { exports: {} };
|
|
|
7741
7741
|
e ? (i = e, s = t, this.canvasContext.canvas.width = i, this.canvasContext.canvas.height = s) : (this.animationItem.wrapper && this.animationItem.container ? (i = this.animationItem.wrapper.offsetWidth, s = this.animationItem.wrapper.offsetHeight) : (i = this.canvasContext.canvas.width, s = this.canvasContext.canvas.height), this.canvasContext.canvas.width = i * this.renderConfig.dpr, this.canvasContext.canvas.height = s * this.renderConfig.dpr);
|
|
7742
7742
|
var n, a;
|
|
7743
7743
|
if (this.renderConfig.preserveAspectRatio.indexOf("meet") !== -1 || this.renderConfig.preserveAspectRatio.indexOf("slice") !== -1) {
|
|
7744
|
-
var o = this.renderConfig.preserveAspectRatio.split(" "), f = o[1] || "meet", l = o[0] || "xMidYMid",
|
|
7745
|
-
n = i / s, a = this.transformCanvas.w / this.transformCanvas.h, a > n && f === "meet" || a < n && f === "slice" ? (this.transformCanvas.sx = i / (this.transformCanvas.w / this.renderConfig.dpr), this.transformCanvas.sy = i / (this.transformCanvas.w / this.renderConfig.dpr)) : (this.transformCanvas.sx = s / (this.transformCanvas.h / this.renderConfig.dpr), this.transformCanvas.sy = s / (this.transformCanvas.h / this.renderConfig.dpr)),
|
|
7744
|
+
var o = this.renderConfig.preserveAspectRatio.split(" "), f = o[1] || "meet", l = o[0] || "xMidYMid", p = l.substr(0, 4), m = l.substr(4);
|
|
7745
|
+
n = i / s, a = this.transformCanvas.w / this.transformCanvas.h, a > n && f === "meet" || a < n && f === "slice" ? (this.transformCanvas.sx = i / (this.transformCanvas.w / this.renderConfig.dpr), this.transformCanvas.sy = i / (this.transformCanvas.w / this.renderConfig.dpr)) : (this.transformCanvas.sx = s / (this.transformCanvas.h / this.renderConfig.dpr), this.transformCanvas.sy = s / (this.transformCanvas.h / this.renderConfig.dpr)), p === "xMid" && (a < n && f === "meet" || a > n && f === "slice") ? this.transformCanvas.tx = (i - this.transformCanvas.w * (s / this.transformCanvas.h)) / 2 * this.renderConfig.dpr : p === "xMax" && (a < n && f === "meet" || a > n && f === "slice") ? this.transformCanvas.tx = (i - this.transformCanvas.w * (s / this.transformCanvas.h)) * this.renderConfig.dpr : this.transformCanvas.tx = 0, m === "YMid" && (a > n && f === "meet" || a < n && f === "slice") ? this.transformCanvas.ty = (s - this.transformCanvas.h * (i / this.transformCanvas.w)) / 2 * this.renderConfig.dpr : m === "YMax" && (a > n && f === "meet" || a < n && f === "slice") ? this.transformCanvas.ty = (s - this.transformCanvas.h * (i / this.transformCanvas.w)) * this.renderConfig.dpr : this.transformCanvas.ty = 0;
|
|
7746
7746
|
} else this.renderConfig.preserveAspectRatio === "none" ? (this.transformCanvas.sx = i / (this.transformCanvas.w / this.renderConfig.dpr), this.transformCanvas.sy = s / (this.transformCanvas.h / this.renderConfig.dpr), this.transformCanvas.tx = 0, this.transformCanvas.ty = 0) : (this.transformCanvas.sx = this.renderConfig.dpr, this.transformCanvas.sy = this.renderConfig.dpr, this.transformCanvas.tx = 0, this.transformCanvas.ty = 0);
|
|
7747
7747
|
this.transformCanvas.props = [this.transformCanvas.sx, 0, 0, 0, 0, this.transformCanvas.sy, 0, 0, 0, 0, 1, 0, this.transformCanvas.tx, this.transformCanvas.ty, 0, 1], this.ctxTransform(this.transformCanvas.props), this.canvasContext.beginPath(), this.canvasContext.rect(0, 0, this.transformCanvas.w, this.transformCanvas.h), this.canvasContext.closePath(), this.canvasContext.clip(), this.renderFrame(this.renderedFrame, !0);
|
|
7748
7748
|
}, CanvasRendererBase.prototype.destroy = function() {
|
|
@@ -7955,11 +7955,11 @@ var lottie$1 = { exports: {} };
|
|
|
7955
7955
|
t = e[i].mProps.v.applyToPointArray(t[0], t[1], 0);
|
|
7956
7956
|
return t;
|
|
7957
7957
|
}, HShapeElement.prototype.calculateShapeBoundingBox = function(e, t) {
|
|
7958
|
-
var i = e.sh.v, s = e.transformers, n, a = i._length, o, f, l,
|
|
7958
|
+
var i = e.sh.v, s = e.transformers, n, a = i._length, o, f, l, p;
|
|
7959
7959
|
if (!(a <= 1)) {
|
|
7960
7960
|
for (n = 0; n < a - 1; n += 1)
|
|
7961
|
-
o = this.getTransformedPoint(s, i.v[n]), f = this.getTransformedPoint(s, i.o[n]), l = this.getTransformedPoint(s, i.i[n + 1]),
|
|
7962
|
-
i.c && (o = this.getTransformedPoint(s, i.v[n]), f = this.getTransformedPoint(s, i.o[n]), l = this.getTransformedPoint(s, i.i[0]),
|
|
7961
|
+
o = this.getTransformedPoint(s, i.v[n]), f = this.getTransformedPoint(s, i.o[n]), l = this.getTransformedPoint(s, i.i[n + 1]), p = this.getTransformedPoint(s, i.v[n + 1]), this.checkBounds(o, f, l, p, t);
|
|
7962
|
+
i.c && (o = this.getTransformedPoint(s, i.v[n]), f = this.getTransformedPoint(s, i.o[n]), l = this.getTransformedPoint(s, i.i[0]), p = this.getTransformedPoint(s, i.v[0]), this.checkBounds(o, f, l, p, t));
|
|
7963
7963
|
}
|
|
7964
7964
|
}, HShapeElement.prototype.checkBounds = function(e, t, i, s, n) {
|
|
7965
7965
|
this.getBoundsOfCurve(e, t, i, s);
|
|
@@ -7978,8 +7978,8 @@ var lottie$1 = { exports: {} };
|
|
|
7978
7978
|
width: 0,
|
|
7979
7979
|
height: 0
|
|
7980
7980
|
}, HShapeElement.prototype.getBoundsOfCurve = function(e, t, i, s) {
|
|
7981
|
-
for (var n = [[e[0], s[0]], [e[1], s[1]]], a, o, f, l,
|
|
7982
|
-
o = 6 * e[u] - 12 * t[u] + 6 * i[u], a = -3 * e[u] + 9 * t[u] - 9 * i[u] + 3 * s[u], f = 3 * t[u] - 3 * e[u], o |= 0, a |= 0, f |= 0, a === 0 && o === 0 || (a === 0 ? (l = -f / o, l > 0 && l < 1 && n[u].push(this.calculateF(l, e, t, i, s, u))) : (
|
|
7981
|
+
for (var n = [[e[0], s[0]], [e[1], s[1]]], a, o, f, l, p, m, E, u = 0; u < 2; ++u)
|
|
7982
|
+
o = 6 * e[u] - 12 * t[u] + 6 * i[u], a = -3 * e[u] + 9 * t[u] - 9 * i[u] + 3 * s[u], f = 3 * t[u] - 3 * e[u], o |= 0, a |= 0, f |= 0, a === 0 && o === 0 || (a === 0 ? (l = -f / o, l > 0 && l < 1 && n[u].push(this.calculateF(l, e, t, i, s, u))) : (p = o * o - 4 * f * a, p >= 0 && (m = (-o + bmSqrt(p)) / (2 * a), m > 0 && m < 1 && n[u].push(this.calculateF(m, e, t, i, s, u)), E = (-o - bmSqrt(p)) / (2 * a), E > 0 && E < 1 && n[u].push(this.calculateF(E, e, t, i, s, u)))));
|
|
7983
7983
|
this.shapeBoundingBox.left = bmMin.apply(null, n[0]), this.shapeBoundingBox.top = bmMin.apply(null, n[1]), this.shapeBoundingBox.right = bmMax.apply(null, n[0]), this.shapeBoundingBox.bottom = bmMax.apply(null, n[1]);
|
|
7984
7984
|
}, HShapeElement.prototype.calculateF = function(e, t, i, s, n, a) {
|
|
7985
7985
|
return bmPow(1 - e, 3) * t[a] + 3 * bmPow(1 - e, 2) * e * i[a] + 3 * (1 - e) * bmPow(e, 2) * s[a] + bmPow(e, 3) * n[a];
|
|
@@ -8045,31 +8045,31 @@ var lottie$1 = { exports: {} };
|
|
|
8045
8045
|
}
|
|
8046
8046
|
var o, f, l = e.l;
|
|
8047
8047
|
f = l.length;
|
|
8048
|
-
var
|
|
8048
|
+
var p, m, E, u = this.mHelper, P, C = "", y = 0;
|
|
8049
8049
|
for (o = 0; o < f; o += 1) {
|
|
8050
|
-
if (this.globalData.fontManager.chars ? (this.textPaths[y] ?
|
|
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
8051
|
var M = this.globalData.fontManager.getCharData(e.finalText[o], s.fStyle, this.globalData.fontManager.getFontByName(e.f).fFamily), d;
|
|
8052
|
-
if (M ? d = M.data : d = null, u.reset(), d && d.shapes && d.shapes.length && (P = d.shapes[0].it, u.scale(e.finalSize / 100, e.finalSize / 100), C = this.createPathShape(u, P),
|
|
8053
|
-
this.innerElem.appendChild(
|
|
8052
|
+
if (M ? d = M.data : d = null, u.reset(), d && d.shapes && d.shapes.length && (P = d.shapes[0].it, u.scale(e.finalSize / 100, e.finalSize / 100), C = this.createPathShape(u, P), p.setAttribute("d", C)), this.isMasked)
|
|
8053
|
+
this.innerElem.appendChild(p);
|
|
8054
8054
|
else {
|
|
8055
8055
|
if (this.innerElem.appendChild(m), d && d.shapes) {
|
|
8056
8056
|
document.body.appendChild(E);
|
|
8057
8057
|
var g = E.getBBox();
|
|
8058
8058
|
E.setAttribute("width", g.width + 2), E.setAttribute("height", g.height + 2), E.setAttribute("viewBox", g.x - 1 + " " + (g.y - 1) + " " + (g.width + 2) + " " + (g.height + 2));
|
|
8059
|
-
var
|
|
8060
|
-
|
|
8059
|
+
var c = E.style, b = "translate(" + (g.x - 1) + "px," + (g.y - 1) + "px)";
|
|
8060
|
+
c.transform = b, c.webkitTransform = b, l[o].yOffset = g.y - 1;
|
|
8061
8061
|
} else
|
|
8062
8062
|
E.setAttribute("width", 1), E.setAttribute("height", 1);
|
|
8063
8063
|
m.appendChild(E);
|
|
8064
8064
|
}
|
|
8065
|
-
} else if (
|
|
8066
|
-
this.innerElem.appendChild(
|
|
8065
|
+
} else if (p.textContent = l[o].val, p.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), this.isMasked)
|
|
8066
|
+
this.innerElem.appendChild(p);
|
|
8067
8067
|
else {
|
|
8068
8068
|
this.innerElem.appendChild(m);
|
|
8069
|
-
var L =
|
|
8069
|
+
var L = p.style, A = "translate3d(0," + -e.finalSize / 1.2 + "px,0)";
|
|
8070
8070
|
L.transform = A, L.webkitTransform = A;
|
|
8071
8071
|
}
|
|
8072
|
-
this.isMasked ? this.textSpans[y] =
|
|
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
|
}
|
|
8074
8074
|
for (; y < this.textSpans.length; )
|
|
8075
8075
|
this.textSpans[y].style.display = "none", y += 1;
|
|
@@ -8088,9 +8088,9 @@ var lottie$1 = { exports: {} };
|
|
|
8088
8088
|
if (this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag), !(!this.lettersChangedFlag && !this.textAnimator.lettersChangedFlag)) {
|
|
8089
8089
|
var i, s, n = 0, a = this.textAnimator.renderedLetters, o = this.textProperty.currentData.l;
|
|
8090
8090
|
s = o.length;
|
|
8091
|
-
var f, l,
|
|
8091
|
+
var f, l, p;
|
|
8092
8092
|
for (i = 0; i < s; i += 1)
|
|
8093
|
-
o[i].n ? n += 1 : (l = this.textSpans[i],
|
|
8093
|
+
o[i].n ? n += 1 : (l = this.textSpans[i], p = this.textPaths[i], f = a[n], n += 1, f._mdf.m && (this.isMasked ? l.setAttribute("transform", f.m) : (l.style.webkitTransform = f.m, l.style.transform = f.m)), l.style.opacity = f.o, f.sw && f._mdf.sw && p.setAttribute("stroke-width", f.sw), f.sc && f._mdf.sc && p.setAttribute("stroke", f.sc), f.fc && f._mdf.fc && (p.setAttribute("fill", f.fc), p.style.color = f.fc));
|
|
8094
8094
|
if (this.innerElem.getBBox && !this.hidden && (this._isFirstFrame || this._mdf)) {
|
|
8095
8095
|
var m = this.innerElem.getBBox();
|
|
8096
8096
|
this.currentBBox.w !== m.width && (this.currentBBox.w = m.width, this.svgElement.setAttribute("width", m.width)), this.currentBBox.h !== m.height && (this.currentBBox.h = m.height, this.svgElement.setAttribute("height", m.height));
|
|
@@ -8139,8 +8139,8 @@ var lottie$1 = { exports: {} };
|
|
|
8139
8139
|
if (this.p ? this.mat.translate(-this.p.v[0], -this.p.v[1], this.p.v[2]) : this.mat.translate(-this.px.v, -this.py.v, this.pz.v), this.a) {
|
|
8140
8140
|
var n;
|
|
8141
8141
|
this.p ? n = [this.p.v[0] - this.a.v[0], this.p.v[1] - this.a.v[1], this.p.v[2] - this.a.v[2]] : n = [this.px.v - this.a.v[0], this.py.v - this.a.v[1], this.pz.v - this.a.v[2]];
|
|
8142
|
-
var a = Math.sqrt(Math.pow(n[0], 2) + Math.pow(n[1], 2) + Math.pow(n[2], 2)), o = [n[0] / a, n[1] / a, n[2] / a], f = Math.sqrt(o[2] * o[2] + o[0] * o[0]), l = Math.atan2(o[1], f),
|
|
8143
|
-
this.mat.rotateY(
|
|
8142
|
+
var a = Math.sqrt(Math.pow(n[0], 2) + Math.pow(n[1], 2) + Math.pow(n[2], 2)), o = [n[0] / a, n[1] / a, n[2] / a], f = Math.sqrt(o[2] * o[2] + o[0] * o[0]), l = Math.atan2(o[1], f), p = Math.atan2(o[0], -o[2]);
|
|
8143
|
+
this.mat.rotateY(p).rotateX(-l);
|
|
8144
8144
|
}
|
|
8145
8145
|
this.mat.rotateX(-this.rx.v).rotateY(-this.ry.v).rotateZ(this.rz.v), this.mat.rotateX(-this.or.v[0]).rotateY(-this.or.v[1]).rotateZ(this.or.v[2]), this.mat.translate(this.globalData.compSize.w / 2, this.globalData.compSize.h / 2, 0), this.mat.translate(0, 0, this.pe.v);
|
|
8146
8146
|
var m = !this._prevMat.equals(this.mat);
|
|
@@ -8361,16 +8361,16 @@ var lottie$1 = { exports: {} };
|
|
|
8361
8361
|
}, _typeof$2(e);
|
|
8362
8362
|
}
|
|
8363
8363
|
function seedRandom(e, t) {
|
|
8364
|
-
var i = this, s = 256, n = 6, a = 52, o = "random", f = t.pow(s, n), l = t.pow(2, a),
|
|
8365
|
-
function u(
|
|
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, L) {
|
|
8366
8366
|
var A = [];
|
|
8367
8367
|
b = b === !0 ? {
|
|
8368
8368
|
entropy: !0
|
|
8369
8369
|
} : b || {};
|
|
8370
|
-
var T = M(y(b.entropy ? [
|
|
8370
|
+
var T = M(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
|
-
for (; N >=
|
|
8373
|
+
for (; N >= p; )
|
|
8374
8374
|
N /= 2, j /= 2, Y >>>= 1;
|
|
8375
8375
|
return (N + Y) / j;
|
|
8376
8376
|
};
|
|
@@ -8385,47 +8385,47 @@ var lottie$1 = { exports: {} };
|
|
|
8385
8385
|
})(R, T, "global" in b ? b.global : this == t, b.state);
|
|
8386
8386
|
}
|
|
8387
8387
|
t["seed" + o] = u;
|
|
8388
|
-
function P(
|
|
8389
|
-
var b, L =
|
|
8390
|
-
for (L || (
|
|
8388
|
+
function P(c) {
|
|
8389
|
+
var b, L = c.length, A = this, T = 0, k = A.i = A.j = 0, R = A.S = [];
|
|
8390
|
+
for (L || (c = [L++]); T < s; )
|
|
8391
8391
|
R[T] = T++;
|
|
8392
8392
|
for (T = 0; T < s; T++)
|
|
8393
|
-
R[T] = R[k = m & k +
|
|
8393
|
+
R[T] = R[k = m & k + c[T % L] + (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)];
|
|
8397
8397
|
return A.i = Y, A.j = U, j;
|
|
8398
8398
|
};
|
|
8399
8399
|
}
|
|
8400
|
-
function C(
|
|
8401
|
-
return b.i =
|
|
8400
|
+
function C(c, b) {
|
|
8401
|
+
return b.i = c.i, b.j = c.j, b.S = c.S.slice(), b;
|
|
8402
8402
|
}
|
|
8403
|
-
function y(
|
|
8404
|
-
var L = [], A = _typeof$2(
|
|
8403
|
+
function y(c, b) {
|
|
8404
|
+
var L = [], A = _typeof$2(c), T;
|
|
8405
8405
|
if (b && A == "object")
|
|
8406
|
-
for (T in
|
|
8406
|
+
for (T in c)
|
|
8407
8407
|
try {
|
|
8408
|
-
L.push(y(
|
|
8408
|
+
L.push(y(c[T], b - 1));
|
|
8409
8409
|
} catch {
|
|
8410
8410
|
}
|
|
8411
|
-
return L.length ? L : A == "string" ?
|
|
8411
|
+
return L.length ? L : A == "string" ? c : c + "\0";
|
|
8412
8412
|
}
|
|
8413
|
-
function M(
|
|
8414
|
-
for (var L =
|
|
8413
|
+
function M(c, b) {
|
|
8414
|
+
for (var L = c + "", A, T = 0; T < L.length; )
|
|
8415
8415
|
b[m & T] = m & (A ^= b[m & T] * 19) + L.charCodeAt(T++);
|
|
8416
8416
|
return g(b);
|
|
8417
8417
|
}
|
|
8418
8418
|
function d() {
|
|
8419
8419
|
try {
|
|
8420
|
-
var
|
|
8421
|
-
return (i.crypto || i.msCrypto).getRandomValues(
|
|
8420
|
+
var c = new Uint8Array(s);
|
|
8421
|
+
return (i.crypto || i.msCrypto).getRandomValues(c), g(c);
|
|
8422
8422
|
} catch {
|
|
8423
8423
|
var b = i.navigator, L = b && b.plugins;
|
|
8424
8424
|
return [+/* @__PURE__ */ new Date(), i, L, i.screen, g(e)];
|
|
8425
8425
|
}
|
|
8426
8426
|
}
|
|
8427
|
-
function g(
|
|
8428
|
-
return String.fromCharCode.apply(0,
|
|
8427
|
+
function g(c) {
|
|
8428
|
+
return String.fromCharCode.apply(0, c);
|
|
8429
8429
|
}
|
|
8430
8430
|
M(t.random(), e);
|
|
8431
8431
|
}
|
|
@@ -8569,16 +8569,16 @@ var lottie$1 = { exports: {} };
|
|
|
8569
8569
|
if (n === a)
|
|
8570
8570
|
o = 0, f = 0;
|
|
8571
8571
|
else {
|
|
8572
|
-
var
|
|
8573
|
-
switch (f = l > 0.5 ?
|
|
8572
|
+
var p = n - a;
|
|
8573
|
+
switch (f = l > 0.5 ? p / (2 - n - a) : p / (n + a), n) {
|
|
8574
8574
|
case t:
|
|
8575
|
-
o = (i - s) /
|
|
8575
|
+
o = (i - s) / p + (i < s ? 6 : 0);
|
|
8576
8576
|
break;
|
|
8577
8577
|
case i:
|
|
8578
|
-
o = (s - t) /
|
|
8578
|
+
o = (s - t) / p + 2;
|
|
8579
8579
|
break;
|
|
8580
8580
|
case s:
|
|
8581
|
-
o = (t - i) /
|
|
8581
|
+
o = (t - i) / p + 4;
|
|
8582
8582
|
break;
|
|
8583
8583
|
}
|
|
8584
8584
|
o /= 6;
|
|
@@ -8610,10 +8610,10 @@ var lottie$1 = { exports: {} };
|
|
|
8610
8610
|
var o = i === t ? 0 : (e - t) / (i - t);
|
|
8611
8611
|
if (!s.length)
|
|
8612
8612
|
return s + (n - s) * o;
|
|
8613
|
-
var f, l = s.length,
|
|
8613
|
+
var f, l = s.length, p = createTypedArray("float32", l);
|
|
8614
8614
|
for (f = 0; f < l; f += 1)
|
|
8615
|
-
|
|
8616
|
-
return
|
|
8615
|
+
p[f] = s[f] + (n[f] - s[f]) * o;
|
|
8616
|
+
return p;
|
|
8617
8617
|
}
|
|
8618
8618
|
function random(e, t) {
|
|
8619
8619
|
if (t === void 0 && (e === void 0 ? (e = 0, t = 1) : (t = e, e = void 0)), t.length) {
|
|
@@ -8631,9 +8631,9 @@ var lottie$1 = { exports: {} };
|
|
|
8631
8631
|
function createPath(e, t, i, s) {
|
|
8632
8632
|
var n, a = e.length, o = shapePool.newElement();
|
|
8633
8633
|
o.setPathData(!!s, a);
|
|
8634
|
-
var f = [0, 0], l,
|
|
8634
|
+
var f = [0, 0], l, p;
|
|
8635
8635
|
for (n = 0; n < a; n += 1)
|
|
8636
|
-
l = t && t[n] ? t[n] : f,
|
|
8636
|
+
l = t && t[n] ? t[n] : f, p = i && i[n] ? i[n] : f, o.setTripleAt(e[n][0], e[n][1], p[0] + e[n][0], p[1] + e[n][1], l[0] + e[n][0], l[1] + e[n][1], n, !0);
|
|
8637
8637
|
return o;
|
|
8638
8638
|
}
|
|
8639
8639
|
function initiateExpression(elem, data, property) {
|
|
@@ -8657,13 +8657,13 @@ var lottie$1 = { exports: {} };
|
|
|
8657
8657
|
o[n] += -i + i * 2 * BMMath.random();
|
|
8658
8658
|
s += 1;
|
|
8659
8659
|
}
|
|
8660
|
-
var l = time * t,
|
|
8660
|
+
var l = time * t, p = l - Math.floor(l), m = createTypedArray("float32", a);
|
|
8661
8661
|
if (a > 1) {
|
|
8662
8662
|
for (n = 0; n < a; n += 1)
|
|
8663
|
-
m[n] = this.pv[n] + o[n] + (-i + i * 2 * BMMath.random()) *
|
|
8663
|
+
m[n] = this.pv[n] + o[n] + (-i + i * 2 * BMMath.random()) * p;
|
|
8664
8664
|
return m;
|
|
8665
8665
|
}
|
|
8666
|
-
return this.pv + o[0] + (-i + i * 2 * BMMath.random()) *
|
|
8666
|
+
return this.pv + o[0] + (-i + i * 2 * BMMath.random()) * p;
|
|
8667
8667
|
}).bind(this);
|
|
8668
8668
|
thisProperty.loopIn && (loopIn = thisProperty.loopIn.bind(thisProperty), loop_in = loopIn), thisProperty.loopOut && (loopOut = thisProperty.loopOut.bind(thisProperty), loop_out = loopOut), thisProperty.smooth && (smooth = thisProperty.smooth.bind(thisProperty));
|
|
8669
8669
|
function loopInDuration(e, t) {
|
|
@@ -8691,10 +8691,10 @@ var lottie$1 = { exports: {} };
|
|
|
8691
8691
|
n === void 0 ? (n = i, a = s) : t = (t - i) / (s - i), t > 1 ? t = 1 : t < 0 && (t = 0);
|
|
8692
8692
|
var o = e(t);
|
|
8693
8693
|
if ($bm_isInstanceOfArray(n)) {
|
|
8694
|
-
var f, l = n.length,
|
|
8694
|
+
var f, l = n.length, p = createTypedArray("float32", l);
|
|
8695
8695
|
for (f = 0; f < l; f += 1)
|
|
8696
|
-
|
|
8697
|
-
return
|
|
8696
|
+
p[f] = (a[f] - n[f]) * o + n[f];
|
|
8697
|
+
return p;
|
|
8698
8698
|
}
|
|
8699
8699
|
return (a - n) * o + n;
|
|
8700
8700
|
}
|
|
@@ -8770,13 +8770,13 @@ var lottie$1 = { exports: {} };
|
|
|
8770
8770
|
function o() {
|
|
8771
8771
|
s -= 1, s === 0 && l();
|
|
8772
8772
|
}
|
|
8773
|
-
function f(
|
|
8774
|
-
n.indexOf(
|
|
8773
|
+
function f(p) {
|
|
8774
|
+
n.indexOf(p) === -1 && n.push(p);
|
|
8775
8775
|
}
|
|
8776
8776
|
function l() {
|
|
8777
|
-
var
|
|
8778
|
-
for (
|
|
8779
|
-
n[
|
|
8777
|
+
var p, m = n.length;
|
|
8778
|
+
for (p = 0; p < m; p += 1)
|
|
8779
|
+
n[p].release();
|
|
8780
8780
|
n.length = 0;
|
|
8781
8781
|
}
|
|
8782
8782
|
i.renderer.compInterface = CompExpressionInterface(i.renderer), i.renderer.globalData.projectInterface.registerComposition(i.renderer), i.renderer.globalData.pushExpression = a, i.renderer.globalData.popExpression = o, i.renderer.globalData.registerExpressionProperty = f;
|
|
@@ -8799,9 +8799,9 @@ var lottie$1 = { exports: {} };
|
|
|
8799
8799
|
var n = createSizedArray(s.viewData.length), a, o = s.viewData.length;
|
|
8800
8800
|
for (a = 0; a < o; a += 1)
|
|
8801
8801
|
n[a] = new e(s.viewData[a], s.masksProperties[a]);
|
|
8802
|
-
var f = function(
|
|
8802
|
+
var f = function(p) {
|
|
8803
8803
|
for (a = 0; a < o; ) {
|
|
8804
|
-
if (s.masksProperties[a].nm ===
|
|
8804
|
+
if (s.masksProperties[a].nm === p)
|
|
8805
8805
|
return n[a];
|
|
8806
8806
|
a += 1;
|
|
8807
8807
|
}
|
|
@@ -8825,30 +8825,30 @@ var lottie$1 = { exports: {} };
|
|
|
8825
8825
|
get: function() {
|
|
8826
8826
|
return f.getVelocityAtTime(f.comp.currentFrame);
|
|
8827
8827
|
}
|
|
8828
|
-
}), o.numKeys = f.keyframes ? f.keyframes.length : 0, o.key = function(
|
|
8828
|
+
}), o.numKeys = f.keyframes ? f.keyframes.length : 0, o.key = function(p) {
|
|
8829
8829
|
if (!o.numKeys)
|
|
8830
8830
|
return 0;
|
|
8831
8831
|
var m = "";
|
|
8832
|
-
"s" in f.keyframes[
|
|
8832
|
+
"s" in f.keyframes[p - 1] ? m = f.keyframes[p - 1].s : "e" in f.keyframes[p - 2] ? m = f.keyframes[p - 2].e : m = f.keyframes[p - 2].s;
|
|
8833
8833
|
var E = l === "unidimensional" ? new Number(m) : Object.assign({}, m);
|
|
8834
|
-
return E.time = f.keyframes[
|
|
8834
|
+
return E.time = f.keyframes[p - 1].t / f.elem.comp.globalData.frameRate, E.value = l === "unidimensional" ? m[0] : m, E;
|
|
8835
8835
|
}, o.valueAtTime = f.getValueAtTime, o.speedAtTime = f.getSpeedAtTime, o.velocityAtTime = f.getVelocityAtTime, o.propertyGroup = f.propertyGroup;
|
|
8836
8836
|
}
|
|
8837
8837
|
function s(o) {
|
|
8838
8838
|
(!o || !("pv" in o)) && (o = e);
|
|
8839
|
-
var f = 1 / o.mult, l = o.pv * f,
|
|
8840
|
-
return
|
|
8841
|
-
return o.k && o.getValue(), l = o.v * f,
|
|
8839
|
+
var f = 1 / o.mult, l = o.pv * f, p = new Number(l);
|
|
8840
|
+
return p.value = l, i(p, o, "unidimensional"), function() {
|
|
8841
|
+
return o.k && o.getValue(), l = o.v * f, p.value !== l && (p = new Number(l), p.value = l, i(p, o, "unidimensional")), p;
|
|
8842
8842
|
};
|
|
8843
8843
|
}
|
|
8844
8844
|
function n(o) {
|
|
8845
8845
|
(!o || !("pv" in o)) && (o = t);
|
|
8846
|
-
var f = 1 / o.mult, l = o.data && o.data.l || o.pv.length,
|
|
8847
|
-
return
|
|
8846
|
+
var f = 1 / o.mult, l = o.data && o.data.l || o.pv.length, p = createTypedArray("float32", l), m = createTypedArray("float32", l);
|
|
8847
|
+
return p.value = m, i(p, o, "multidimensional"), function() {
|
|
8848
8848
|
o.k && o.getValue();
|
|
8849
8849
|
for (var E = 0; E < l; E += 1)
|
|
8850
|
-
m[E] = o.v[E] * f,
|
|
8851
|
-
return
|
|
8850
|
+
m[E] = o.v[E] * f, p[E] = m[E];
|
|
8851
|
+
return p;
|
|
8852
8852
|
};
|
|
8853
8853
|
}
|
|
8854
8854
|
function a() {
|
|
@@ -8936,10 +8936,10 @@ var lottie$1 = { exports: {} };
|
|
|
8936
8936
|
}), t;
|
|
8937
8937
|
};
|
|
8938
8938
|
}(), LayerExpressionInterface = /* @__PURE__ */ function() {
|
|
8939
|
-
function e(
|
|
8939
|
+
function e(p) {
|
|
8940
8940
|
var m = new Matrix();
|
|
8941
|
-
if (
|
|
8942
|
-
var E = this._elem.finalTransform.mProp.getValueAtTime(
|
|
8941
|
+
if (p !== void 0) {
|
|
8942
|
+
var E = this._elem.finalTransform.mProp.getValueAtTime(p);
|
|
8943
8943
|
E.clone(m);
|
|
8944
8944
|
} else {
|
|
8945
8945
|
var u = this._elem.finalTransform.mProp;
|
|
@@ -8947,55 +8947,55 @@ var lottie$1 = { exports: {} };
|
|
|
8947
8947
|
}
|
|
8948
8948
|
return m;
|
|
8949
8949
|
}
|
|
8950
|
-
function t(
|
|
8950
|
+
function t(p, m) {
|
|
8951
8951
|
var E = this.getMatrix(m);
|
|
8952
|
-
return E.props[12] = 0, E.props[13] = 0, E.props[14] = 0, this.applyPoint(E,
|
|
8952
|
+
return E.props[12] = 0, E.props[13] = 0, E.props[14] = 0, this.applyPoint(E, p);
|
|
8953
8953
|
}
|
|
8954
|
-
function i(
|
|
8954
|
+
function i(p, m) {
|
|
8955
8955
|
var E = this.getMatrix(m);
|
|
8956
|
-
return this.applyPoint(E,
|
|
8956
|
+
return this.applyPoint(E, p);
|
|
8957
8957
|
}
|
|
8958
|
-
function s(
|
|
8958
|
+
function s(p, m) {
|
|
8959
8959
|
var E = this.getMatrix(m);
|
|
8960
|
-
return E.props[12] = 0, E.props[13] = 0, E.props[14] = 0, this.invertPoint(E,
|
|
8960
|
+
return E.props[12] = 0, E.props[13] = 0, E.props[14] = 0, this.invertPoint(E, p);
|
|
8961
8961
|
}
|
|
8962
|
-
function n(
|
|
8962
|
+
function n(p, m) {
|
|
8963
8963
|
var E = this.getMatrix(m);
|
|
8964
|
-
return this.invertPoint(E,
|
|
8964
|
+
return this.invertPoint(E, p);
|
|
8965
8965
|
}
|
|
8966
|
-
function a(
|
|
8966
|
+
function a(p, m) {
|
|
8967
8967
|
if (this._elem.hierarchy && this._elem.hierarchy.length) {
|
|
8968
8968
|
var E, u = this._elem.hierarchy.length;
|
|
8969
8969
|
for (E = 0; E < u; E += 1)
|
|
8970
|
-
this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(
|
|
8970
|
+
this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(p);
|
|
8971
8971
|
}
|
|
8972
|
-
return
|
|
8972
|
+
return p.applyToPointArray(m[0], m[1], m[2] || 0);
|
|
8973
8973
|
}
|
|
8974
|
-
function o(
|
|
8974
|
+
function o(p, m) {
|
|
8975
8975
|
if (this._elem.hierarchy && this._elem.hierarchy.length) {
|
|
8976
8976
|
var E, u = this._elem.hierarchy.length;
|
|
8977
8977
|
for (E = 0; E < u; E += 1)
|
|
8978
|
-
this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(
|
|
8978
|
+
this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(p);
|
|
8979
8979
|
}
|
|
8980
|
-
return
|
|
8980
|
+
return p.inversePoint(m);
|
|
8981
8981
|
}
|
|
8982
|
-
function f(
|
|
8982
|
+
function f(p) {
|
|
8983
8983
|
var m = new Matrix();
|
|
8984
8984
|
if (m.reset(), this._elem.finalTransform.mProp.applyToMatrix(m), this._elem.hierarchy && this._elem.hierarchy.length) {
|
|
8985
8985
|
var E, u = this._elem.hierarchy.length;
|
|
8986
8986
|
for (E = 0; E < u; E += 1)
|
|
8987
8987
|
this._elem.hierarchy[E].finalTransform.mProp.applyToMatrix(m);
|
|
8988
|
-
return m.inversePoint(
|
|
8988
|
+
return m.inversePoint(p);
|
|
8989
8989
|
}
|
|
8990
|
-
return m.inversePoint(
|
|
8990
|
+
return m.inversePoint(p);
|
|
8991
8991
|
}
|
|
8992
8992
|
function l() {
|
|
8993
8993
|
return [1, 1, 1, 1];
|
|
8994
8994
|
}
|
|
8995
|
-
return function(
|
|
8995
|
+
return function(p) {
|
|
8996
8996
|
var m;
|
|
8997
8997
|
function E(y) {
|
|
8998
|
-
P.mask = new MaskManagerInterface(y,
|
|
8998
|
+
P.mask = new MaskManagerInterface(y, p);
|
|
8999
8999
|
}
|
|
9000
9000
|
function u(y) {
|
|
9001
9001
|
P.effect = y;
|
|
@@ -9023,17 +9023,17 @@ var lottie$1 = { exports: {} };
|
|
|
9023
9023
|
return null;
|
|
9024
9024
|
}
|
|
9025
9025
|
}
|
|
9026
|
-
P.getMatrix = e, P.invertPoint = o, P.applyPoint = a, P.toWorld = i, P.toWorldVec = t, P.fromWorld = n, P.fromWorldVec = s, P.toComp = i, P.fromComp = f, P.sampleImage = l, P.sourceRectAtTime =
|
|
9026
|
+
P.getMatrix = e, P.invertPoint = o, P.applyPoint = a, P.toWorld = i, P.toWorldVec = t, P.fromWorld = n, P.fromWorldVec = s, P.toComp = i, P.fromComp = f, P.sampleImage = l, P.sourceRectAtTime = p.sourceRectAtTime.bind(p), P._elem = p, m = TransformExpressionInterface(p.finalTransform.mProp);
|
|
9027
9027
|
var C = getDescriptor(m, "anchorPoint");
|
|
9028
9028
|
return Object.defineProperties(P, {
|
|
9029
9029
|
hasParent: {
|
|
9030
9030
|
get: function() {
|
|
9031
|
-
return
|
|
9031
|
+
return p.hierarchy.length;
|
|
9032
9032
|
}
|
|
9033
9033
|
},
|
|
9034
9034
|
parent: {
|
|
9035
9035
|
get: function() {
|
|
9036
|
-
return
|
|
9036
|
+
return p.hierarchy[0].layerInterface;
|
|
9037
9037
|
}
|
|
9038
9038
|
},
|
|
9039
9039
|
rotation: getDescriptor(m, "rotation"),
|
|
@@ -9049,10 +9049,10 @@ var lottie$1 = { exports: {} };
|
|
|
9049
9049
|
},
|
|
9050
9050
|
active: {
|
|
9051
9051
|
get: function() {
|
|
9052
|
-
return
|
|
9052
|
+
return p.isInRange;
|
|
9053
9053
|
}
|
|
9054
9054
|
}
|
|
9055
|
-
}), P.startTime =
|
|
9055
|
+
}), P.startTime = p.data.st, P.index = p.data.ind, P.source = p.data.refId, P.height = p.data.ty === 0 ? p.data.h : 100, P.width = p.data.ty === 0 ? p.data.w : 100, P.inPoint = p.data.ip / p.comp.globalData.frameRate, P.outPoint = p.data.op / p.comp.globalData.frameRate, P._name = p.data.nm, P.registerMaskInterface = E, P.registerEffectsInterface = u, P;
|
|
9056
9056
|
};
|
|
9057
9057
|
}(), propertyGroupFactory = /* @__PURE__ */ function() {
|
|
9058
9058
|
return function(e, t) {
|
|
@@ -9076,11 +9076,11 @@ var lottie$1 = { exports: {} };
|
|
|
9076
9076
|
};
|
|
9077
9077
|
function t(n, a) {
|
|
9078
9078
|
if (n.effectsManager) {
|
|
9079
|
-
var o = [], f = n.data.ef, l,
|
|
9080
|
-
for (l = 0; l <
|
|
9079
|
+
var o = [], f = n.data.ef, l, p = n.effectsManager.effectElements.length;
|
|
9080
|
+
for (l = 0; l < p; l += 1)
|
|
9081
9081
|
o.push(i(f[l], n.effectsManager.effectElements[l], a, n));
|
|
9082
9082
|
var m = n.data.ef || [], E = function(P) {
|
|
9083
|
-
for (l = 0,
|
|
9083
|
+
for (l = 0, p = m.length; l < p; ) {
|
|
9084
9084
|
if (P === m[l].nm || P === m[l].mn || P === m[l].ix)
|
|
9085
9085
|
return o[l];
|
|
9086
9086
|
l += 1;
|
|
@@ -9104,9 +9104,9 @@ var lottie$1 = { exports: {} };
|
|
|
9104
9104
|
}
|
|
9105
9105
|
throw new Error();
|
|
9106
9106
|
}
|
|
9107
|
-
var
|
|
9107
|
+
var p = propertyGroupFactory(l, o), m = [], E, u = n.ef.length;
|
|
9108
9108
|
for (E = 0; E < u; E += 1)
|
|
9109
|
-
n.ef[E].ty === 5 ? m.push(i(n.ef[E], a.effectElements[E], a.effectElements[E].propertyGroup, f)) : m.push(s(a.effectElements[E], n.ef[E].ty, f,
|
|
9109
|
+
n.ef[E].ty === 5 ? m.push(i(n.ef[E], a.effectElements[E], a.effectElements[E].propertyGroup, f)) : m.push(s(a.effectElements[E], n.ef[E].ty, f, p));
|
|
9110
9110
|
return n.mn === "ADBE Color Control" && Object.defineProperty(l, "color", {
|
|
9111
9111
|
get: function() {
|
|
9112
9112
|
return m[0]();
|
|
@@ -9121,16 +9121,16 @@ var lottie$1 = { exports: {} };
|
|
|
9121
9121
|
value: n.nm
|
|
9122
9122
|
},
|
|
9123
9123
|
propertyGroup: {
|
|
9124
|
-
value:
|
|
9124
|
+
value: p
|
|
9125
9125
|
}
|
|
9126
9126
|
}), l.enabled = n.en !== 0, l.active = l.enabled, l;
|
|
9127
9127
|
}
|
|
9128
9128
|
function s(n, a, o, f) {
|
|
9129
9129
|
var l = ExpressionPropertyInterface(n.p);
|
|
9130
|
-
function
|
|
9130
|
+
function p() {
|
|
9131
9131
|
return a === 10 ? o.comp.compInterface(n.p.v) : l();
|
|
9132
9132
|
}
|
|
9133
|
-
return n.p.setGroupProperty && n.p.setGroupProperty(PropertyInterface("", f)),
|
|
9133
|
+
return n.p.setGroupProperty && n.p.setGroupProperty(PropertyInterface("", f)), p;
|
|
9134
9134
|
}
|
|
9135
9135
|
return e;
|
|
9136
9136
|
}(), ShapePathInterface = /* @__PURE__ */ function() {
|
|
@@ -9170,9 +9170,9 @@ var lottie$1 = { exports: {} };
|
|
|
9170
9170
|
};
|
|
9171
9171
|
}(), ShapeExpressionInterface = /* @__PURE__ */ function() {
|
|
9172
9172
|
function e(C, y, M) {
|
|
9173
|
-
var d = [], g,
|
|
9174
|
-
for (g = 0; g <
|
|
9175
|
-
C[g].ty === "gr" ? d.push(i(C[g], y[g], M)) : C[g].ty === "fl" ? d.push(s(C[g], y[g], M)) : C[g].ty === "st" ? d.push(o(C[g], y[g], M)) : C[g].ty === "tm" ? d.push(f(C[g], y[g], M)) : C[g].ty === "tr" || (C[g].ty === "el" ? d.push(
|
|
9173
|
+
var d = [], g, c = C ? C.length : 0;
|
|
9174
|
+
for (g = 0; g < c; g += 1)
|
|
9175
|
+
C[g].ty === "gr" ? d.push(i(C[g], y[g], M)) : C[g].ty === "fl" ? d.push(s(C[g], y[g], M)) : C[g].ty === "st" ? d.push(o(C[g], y[g], M)) : C[g].ty === "tm" ? d.push(f(C[g], y[g], M)) : C[g].ty === "tr" || (C[g].ty === "el" ? d.push(p(C[g], y[g], M)) : C[g].ty === "sr" ? d.push(m(C[g], y[g], M)) : C[g].ty === "sh" ? d.push(ShapePathInterface(C[g], y[g], M)) : C[g].ty === "rc" ? d.push(E(C[g], y[g], M)) : C[g].ty === "rd" ? d.push(u(C[g], y[g], M)) : C[g].ty === "rp" ? d.push(P(C[g], y[g], M)) : C[g].ty === "gf" ? d.push(n(C[g], y[g], M)) : d.push(a(C[g], y[g])));
|
|
9176
9176
|
return d;
|
|
9177
9177
|
}
|
|
9178
9178
|
function t(C, y, M) {
|
|
@@ -9185,8 +9185,8 @@ var lottie$1 = { exports: {} };
|
|
|
9185
9185
|
return typeof L == "number" ? d[L - 1] : null;
|
|
9186
9186
|
};
|
|
9187
9187
|
g.propertyGroup = propertyGroupFactory(g, M), d = e(C.it, y.it, g.propertyGroup), g.numProperties = d.length;
|
|
9188
|
-
var
|
|
9189
|
-
return g.transform =
|
|
9188
|
+
var c = l(C.it[C.it.length - 1], y.it[y.it.length - 1], g.propertyGroup);
|
|
9189
|
+
return g.transform = c, g.propertyIndex = C.cix, g._name = C.nm, g;
|
|
9190
9190
|
}
|
|
9191
9191
|
function i(C, y, M) {
|
|
9192
9192
|
var d = function(L) {
|
|
@@ -9200,8 +9200,8 @@ var lottie$1 = { exports: {} };
|
|
|
9200
9200
|
}
|
|
9201
9201
|
};
|
|
9202
9202
|
d.propertyGroup = propertyGroupFactory(d, M);
|
|
9203
|
-
var g = t(C, y, d.propertyGroup),
|
|
9204
|
-
return d.content = g, d.transform =
|
|
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
|
+
return d.content = g, d.transform = c, Object.defineProperty(d, "_name", {
|
|
9205
9205
|
get: function() {
|
|
9206
9206
|
return C.nm;
|
|
9207
9207
|
}
|
|
@@ -9261,14 +9261,14 @@ var lottie$1 = { exports: {} };
|
|
|
9261
9261
|
}
|
|
9262
9262
|
function o(C, y, M) {
|
|
9263
9263
|
var d = propertyGroupFactory(T, M), g = propertyGroupFactory(A, d);
|
|
9264
|
-
function
|
|
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
9269
|
var b, L = C.d ? C.d.length : 0, A = {};
|
|
9270
9270
|
for (b = 0; b < L; 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;
|
|
9274
9274
|
}
|
|
@@ -9296,8 +9296,8 @@ var lottie$1 = { exports: {} };
|
|
|
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
9298
|
function f(C, y, M) {
|
|
9299
|
-
function d(
|
|
9300
|
-
return
|
|
9299
|
+
function d(c) {
|
|
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
9302
|
var g = propertyGroupFactory(d, M);
|
|
9303
9303
|
return d.propertyIndex = C.ix, y.s.setGroupProperty(PropertyInterface("Start", g)), y.e.setGroupProperty(PropertyInterface("End", g)), y.o.setGroupProperty(PropertyInterface("Offset", g)), d.propertyIndex = C.ix, d.propertyGroup = M, Object.defineProperties(d, {
|
|
@@ -9316,8 +9316,8 @@ var lottie$1 = { exports: {} };
|
|
|
9316
9316
|
}), d.mn = C.mn, d;
|
|
9317
9317
|
}
|
|
9318
9318
|
function l(C, y, M) {
|
|
9319
|
-
function d(
|
|
9320
|
-
return C.a.ix ===
|
|
9319
|
+
function d(c) {
|
|
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
9322
|
var g = propertyGroupFactory(d, M);
|
|
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, {
|
|
@@ -9347,19 +9347,19 @@ var lottie$1 = { exports: {} };
|
|
|
9347
9347
|
}
|
|
9348
9348
|
}), d.ty = "tr", d.mn = C.mn, d.propertyGroup = M, d;
|
|
9349
9349
|
}
|
|
9350
|
-
function
|
|
9350
|
+
function p(C, y, M) {
|
|
9351
9351
|
function d(b) {
|
|
9352
9352
|
return C.p.ix === b ? d.position : C.s.ix === b ? d.size : null;
|
|
9353
9353
|
}
|
|
9354
9354
|
var g = propertyGroupFactory(d, M);
|
|
9355
9355
|
d.propertyIndex = C.ix;
|
|
9356
|
-
var
|
|
9357
|
-
return
|
|
9356
|
+
var c = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
9357
|
+
return c.s.setGroupProperty(PropertyInterface("Size", g)), c.p.setGroupProperty(PropertyInterface("Position", g)), Object.defineProperties(d, {
|
|
9358
9358
|
size: {
|
|
9359
|
-
get: ExpressionPropertyInterface(
|
|
9359
|
+
get: ExpressionPropertyInterface(c.s)
|
|
9360
9360
|
},
|
|
9361
9361
|
position: {
|
|
9362
|
-
get: ExpressionPropertyInterface(
|
|
9362
|
+
get: ExpressionPropertyInterface(c.p)
|
|
9363
9363
|
},
|
|
9364
9364
|
_name: {
|
|
9365
9365
|
value: C.nm
|
|
@@ -9370,28 +9370,28 @@ var lottie$1 = { exports: {} };
|
|
|
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, M),
|
|
9374
|
-
return d.propertyIndex = C.ix,
|
|
9373
|
+
var g = propertyGroupFactory(d, M), c = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
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
|
-
get: ExpressionPropertyInterface(
|
|
9376
|
+
get: ExpressionPropertyInterface(c.p)
|
|
9377
9377
|
},
|
|
9378
9378
|
rotation: {
|
|
9379
|
-
get: ExpressionPropertyInterface(
|
|
9379
|
+
get: ExpressionPropertyInterface(c.r)
|
|
9380
9380
|
},
|
|
9381
9381
|
points: {
|
|
9382
|
-
get: ExpressionPropertyInterface(
|
|
9382
|
+
get: ExpressionPropertyInterface(c.pt)
|
|
9383
9383
|
},
|
|
9384
9384
|
outerRadius: {
|
|
9385
|
-
get: ExpressionPropertyInterface(
|
|
9385
|
+
get: ExpressionPropertyInterface(c.or)
|
|
9386
9386
|
},
|
|
9387
9387
|
outerRoundness: {
|
|
9388
|
-
get: ExpressionPropertyInterface(
|
|
9388
|
+
get: ExpressionPropertyInterface(c.os)
|
|
9389
9389
|
},
|
|
9390
9390
|
innerRadius: {
|
|
9391
|
-
get: ExpressionPropertyInterface(
|
|
9391
|
+
get: ExpressionPropertyInterface(c.ir)
|
|
9392
9392
|
},
|
|
9393
9393
|
innerRoundness: {
|
|
9394
|
-
get: ExpressionPropertyInterface(
|
|
9394
|
+
get: ExpressionPropertyInterface(c.is)
|
|
9395
9395
|
},
|
|
9396
9396
|
_name: {
|
|
9397
9397
|
value: C.nm
|
|
@@ -9402,16 +9402,16 @@ var lottie$1 = { exports: {} };
|
|
|
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, M),
|
|
9406
|
-
return d.propertyIndex = C.ix,
|
|
9405
|
+
var g = propertyGroupFactory(d, M), c = y.sh.ty === "tm" ? y.sh.prop : y.sh;
|
|
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
|
-
get: ExpressionPropertyInterface(
|
|
9408
|
+
get: ExpressionPropertyInterface(c.p)
|
|
9409
9409
|
},
|
|
9410
9410
|
roundness: {
|
|
9411
|
-
get: ExpressionPropertyInterface(
|
|
9411
|
+
get: ExpressionPropertyInterface(c.r)
|
|
9412
9412
|
},
|
|
9413
9413
|
size: {
|
|
9414
|
-
get: ExpressionPropertyInterface(
|
|
9414
|
+
get: ExpressionPropertyInterface(c.s)
|
|
9415
9415
|
},
|
|
9416
9416
|
_name: {
|
|
9417
9417
|
value: C.nm
|
|
@@ -9422,10 +9422,10 @@ var lottie$1 = { exports: {} };
|
|
|
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, M),
|
|
9426
|
-
return d.propertyIndex = C.ix,
|
|
9425
|
+
var g = propertyGroupFactory(d, M), c = y;
|
|
9426
|
+
return d.propertyIndex = C.ix, c.rd.setGroupProperty(PropertyInterface("Radius", g)), Object.defineProperties(d, {
|
|
9427
9427
|
radius: {
|
|
9428
|
-
get: ExpressionPropertyInterface(
|
|
9428
|
+
get: ExpressionPropertyInterface(c.rd)
|
|
9429
9429
|
},
|
|
9430
9430
|
_name: {
|
|
9431
9431
|
value: C.nm
|
|
@@ -9436,13 +9436,13 @@ var lottie$1 = { exports: {} };
|
|
|
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, M),
|
|
9440
|
-
return d.propertyIndex = C.ix,
|
|
9439
|
+
var g = propertyGroupFactory(d, M), c = y;
|
|
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
|
-
get: ExpressionPropertyInterface(
|
|
9442
|
+
get: ExpressionPropertyInterface(c.c)
|
|
9443
9443
|
},
|
|
9444
9444
|
offset: {
|
|
9445
|
-
get: ExpressionPropertyInterface(
|
|
9445
|
+
get: ExpressionPropertyInterface(c.o)
|
|
9446
9446
|
},
|
|
9447
9447
|
_name: {
|
|
9448
9448
|
value: C.nm
|
|
@@ -9461,10 +9461,10 @@ var lottie$1 = { exports: {} };
|
|
|
9461
9461
|
}
|
|
9462
9462
|
return null;
|
|
9463
9463
|
}
|
|
9464
|
-
function
|
|
9464
|
+
function c() {
|
|
9465
9465
|
return M;
|
|
9466
9466
|
}
|
|
9467
|
-
return g.propertyGroup = propertyGroupFactory(g,
|
|
9467
|
+
return g.propertyGroup = propertyGroupFactory(g, c), d = e(C, y, g.propertyGroup), g.numProperties = d.length, g._name = "Contents", g;
|
|
9468
9468
|
};
|
|
9469
9469
|
}(), TextExpressionInterface = /* @__PURE__ */ function() {
|
|
9470
9470
|
return function(e) {
|
|
@@ -9509,9 +9509,9 @@ var lottie$1 = { exports: {} };
|
|
|
9509
9509
|
function f(l) {
|
|
9510
9510
|
if (a[l])
|
|
9511
9511
|
return n = l, a = a[l], _typeof(a) === "object" ? f : a;
|
|
9512
|
-
var
|
|
9513
|
-
if (
|
|
9514
|
-
var m = parseInt(l.substr(
|
|
9512
|
+
var p = l.indexOf(n);
|
|
9513
|
+
if (p !== -1) {
|
|
9514
|
+
var m = parseInt(l.substr(p + n.length), 10);
|
|
9515
9515
|
return a = a[m], _typeof(a) === "object" ? f : a;
|
|
9516
9516
|
}
|
|
9517
9517
|
return "";
|
|
@@ -9548,11 +9548,11 @@ var lottie$1 = { exports: {} };
|
|
|
9548
9548
|
return o *= this.elem.globalData.frameRate, o -= this.offsetTime, o !== this._cachingAtTime.lastFrame && (this._cachingAtTime.lastIndex = this._cachingAtTime.lastFrame < o ? this._cachingAtTime.lastIndex : 0, this._cachingAtTime.value = this.interpolateValue(o, this._cachingAtTime), this._cachingAtTime.lastFrame = o), this._cachingAtTime.value;
|
|
9549
9549
|
}
|
|
9550
9550
|
function i(o) {
|
|
9551
|
-
var f = -0.01, l = this.getValueAtTime(o),
|
|
9551
|
+
var f = -0.01, l = this.getValueAtTime(o), p = this.getValueAtTime(o + f), m = 0;
|
|
9552
9552
|
if (l.length) {
|
|
9553
9553
|
var E;
|
|
9554
9554
|
for (E = 0; E < l.length; E += 1)
|
|
9555
|
-
m += Math.pow(
|
|
9555
|
+
m += Math.pow(p[E] - l[E], 2);
|
|
9556
9556
|
m = Math.sqrt(m) * 100;
|
|
9557
9557
|
} else
|
|
9558
9558
|
m = 0;
|
|
@@ -9561,14 +9561,14 @@ var lottie$1 = { exports: {} };
|
|
|
9561
9561
|
function s(o) {
|
|
9562
9562
|
if (this.vel !== void 0)
|
|
9563
9563
|
return this.vel;
|
|
9564
|
-
var f = -1e-3, l = this.getValueAtTime(o),
|
|
9564
|
+
var f = -1e-3, l = this.getValueAtTime(o), p = this.getValueAtTime(o + f), m;
|
|
9565
9565
|
if (l.length) {
|
|
9566
9566
|
m = createTypedArray("float32", l.length);
|
|
9567
9567
|
var E;
|
|
9568
9568
|
for (E = 0; E < l.length; E += 1)
|
|
9569
|
-
m[E] = (
|
|
9569
|
+
m[E] = (p[E] - l[E]) / f;
|
|
9570
9570
|
} else
|
|
9571
|
-
m = (
|
|
9571
|
+
m = (p - l) / f;
|
|
9572
9572
|
return m;
|
|
9573
9573
|
}
|
|
9574
9574
|
function n() {
|
|
@@ -9594,15 +9594,15 @@ var lottie$1 = { exports: {} };
|
|
|
9594
9594
|
var y = this.comp.renderedFrame, M = this.keyframes, d = M[M.length - 1].t;
|
|
9595
9595
|
if (y <= d)
|
|
9596
9596
|
return this.pv;
|
|
9597
|
-
var g,
|
|
9598
|
-
C ? (P ? g = Math.abs(d - this.elem.comp.globalData.frameRate * P) : g = Math.max(0, d - this.elem.data.ip),
|
|
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 > M.length - 1) && (P = M.length - 1), c = M[M.length - 1 - P].t, g = d - c);
|
|
9599
9599
|
var b, L, A;
|
|
9600
9600
|
if (u === "pingpong") {
|
|
9601
|
-
var T = Math.floor((y -
|
|
9601
|
+
var T = Math.floor((y - c) / g);
|
|
9602
9602
|
if (T % 2 !== 0)
|
|
9603
|
-
return this.getValueAtTime((g - (y -
|
|
9603
|
+
return this.getValueAtTime((g - (y - c) % g + c) / this.comp.globalData.frameRate, 0);
|
|
9604
9604
|
} else if (u === "offset") {
|
|
9605
|
-
var k = this.getValueAtTime(
|
|
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
9607
|
for (A = new Array(k.length), L = A.length, b = 0; b < L; b += 1)
|
|
9608
9608
|
A[b] = (R[b] - k[b]) * N + X[b];
|
|
@@ -9618,7 +9618,7 @@ var lottie$1 = { exports: {} };
|
|
|
9618
9618
|
}
|
|
9619
9619
|
return j + (j - Y) * ((y - d) / 1e-3);
|
|
9620
9620
|
}
|
|
9621
|
-
return this.getValueAtTime(((y -
|
|
9621
|
+
return this.getValueAtTime(((y - c) % g + c) / this.comp.globalData.frameRate, 0);
|
|
9622
9622
|
}
|
|
9623
9623
|
function t(u, P, C) {
|
|
9624
9624
|
if (!this.k)
|
|
@@ -9627,15 +9627,15 @@ var lottie$1 = { exports: {} };
|
|
|
9627
9627
|
var y = this.comp.renderedFrame, M = this.keyframes, d = M[0].t;
|
|
9628
9628
|
if (y >= d)
|
|
9629
9629
|
return this.pv;
|
|
9630
|
-
var g,
|
|
9631
|
-
C ? (P ? g = Math.abs(this.elem.comp.globalData.frameRate * P) : g = Math.max(0, this.elem.data.op - d),
|
|
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 > M.length - 1) && (P = M.length - 1), c = M[P].t, g = c - d);
|
|
9632
9632
|
var b, L, A;
|
|
9633
9633
|
if (u === "pingpong") {
|
|
9634
9634
|
var T = Math.floor((d - y) / g);
|
|
9635
9635
|
if (T % 2 === 0)
|
|
9636
9636
|
return this.getValueAtTime(((d - y) % g + d) / this.comp.globalData.frameRate, 0);
|
|
9637
9637
|
} else if (u === "offset") {
|
|
9638
|
-
var k = this.getValueAtTime(d / this.comp.globalData.frameRate, 0), R = this.getValueAtTime(
|
|
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
9640
|
for (A = new Array(k.length), L = A.length, b = 0; b < L; b += 1)
|
|
9641
9641
|
A[b] = X[b] - (R[b] - k[b]) * N;
|
|
@@ -9658,19 +9658,19 @@ 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, M = C + u, d = P > 1 ? (M - y) / (P - 1) : 1, g = 0,
|
|
9661
|
+
var C = this.comp.renderedFrame / this.comp.globalData.frameRate, y = C - u, M = C + u, d = P > 1 ? (M - y) / (P - 1) : 1, g = 0, c = 0, b;
|
|
9662
9662
|
this.pv.length ? b = createTypedArray("float32", this.pv.length) : b = 0;
|
|
9663
9663
|
for (var L; g < P; ) {
|
|
9664
9664
|
if (L = this.getValueAtTime(y + g * d), this.pv.length)
|
|
9665
|
-
for (
|
|
9666
|
-
b[
|
|
9665
|
+
for (c = 0; c < this.pv.length; c += 1)
|
|
9666
|
+
b[c] += L[c];
|
|
9667
9667
|
else
|
|
9668
9668
|
b += L;
|
|
9669
9669
|
g += 1;
|
|
9670
9670
|
}
|
|
9671
9671
|
if (this.pv.length)
|
|
9672
|
-
for (
|
|
9673
|
-
b[
|
|
9672
|
+
for (c = 0; c < this.pv.length; c += 1)
|
|
9673
|
+
b[c] /= P;
|
|
9674
9674
|
else
|
|
9675
9675
|
b /= P;
|
|
9676
9676
|
return b;
|
|
@@ -9696,8 +9696,8 @@ var lottie$1 = { exports: {} };
|
|
|
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
|
|
9700
|
-
P.rotateZ(-
|
|
9699
|
+
var c = this.rz.getValueAtTime(u), b = this.ry.getValueAtTime(u), L = this.rx.getValueAtTime(u), A = this.or.getValueAtTime(u);
|
|
9700
|
+
P.rotateZ(-c * this.rz.mult).rotateY(b * this.ry.mult).rotateX(L * this.rx.mult).rotateZ(-A[2] * this.or.mult).rotateY(A[1] * this.or.mult).rotateX(A[0] * this.or.mult);
|
|
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);
|
|
@@ -9738,7 +9738,7 @@ var lottie$1 = { exports: {} };
|
|
|
9738
9738
|
lastTime: initialDefaultFrame
|
|
9739
9739
|
}), u *= this.elem.globalData.frameRate, u -= this.offsetTime, u !== this._cachingAtTime.lastTime && (this._cachingAtTime.lastIndex = this._cachingAtTime.lastTime < u ? this._caching.lastIndex : 0, this._cachingAtTime.lastTime = u, this.interpolateShape(u, this._cachingAtTime.shapeValue, this._cachingAtTime)), this._cachingAtTime.shapeValue;
|
|
9740
9740
|
}
|
|
9741
|
-
var l = ShapePropertyFactory.getConstructorFunction(),
|
|
9741
|
+
var l = ShapePropertyFactory.getConstructorFunction(), p = ShapePropertyFactory.getKeyframedConstructorFunction();
|
|
9742
9742
|
function m() {
|
|
9743
9743
|
}
|
|
9744
9744
|
m.prototype = {
|
|
@@ -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 M, d = y._length, g = y[P],
|
|
9749
|
+
var M, d = y._length, g = y[P], c = y.v, b = createSizedArray(d);
|
|
9750
9750
|
for (M = 0; M < d; M += 1)
|
|
9751
|
-
P === "i" || P === "o" ? b[M] = [g[M][0] -
|
|
9751
|
+
P === "i" || P === "o" ? b[M] = [g[M][0] - c[M][0], g[M][1] - c[M][1]] : b[M] = [g[M][0], g[M][1]];
|
|
9752
9752
|
return b;
|
|
9753
9753
|
},
|
|
9754
9754
|
points: function(P) {
|
|
@@ -9766,23 +9766,23 @@ 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 M = this._segmentsLength, d = M.lengths, g = M.totalLength * P,
|
|
9770
|
-
if (L + d[
|
|
9771
|
-
var T =
|
|
9772
|
-
A = bez.getPointInSegment(y.v[T], y.v[k], y.o[T], y.i[k], R, d[
|
|
9769
|
+
for (var M = this._segmentsLength, d = M.lengths, g = M.totalLength * P, c = 0, b = d.length, L = 0, A; c < b; ) {
|
|
9770
|
+
if (L + d[c].addedLength > g) {
|
|
9771
|
+
var T = c, k = y.c && c === b - 1 ? 0 : c + 1, R = (g - L) / d[c].addedLength;
|
|
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
|
-
L += d[
|
|
9776
|
-
|
|
9775
|
+
L += d[c].addedLength;
|
|
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 M = this.pointOnPath(P, C), d = this.pointOnPath(P + 1e-3, C), g = d[0] - M[0],
|
|
9782
|
+
var M = this.pointOnPath(P, C), d = this.pointOnPath(P + 1e-3, C), g = d[0] - M[0], c = d[1] - M[1], b = Math.sqrt(Math.pow(g, 2) + Math.pow(c, 2));
|
|
9783
9783
|
if (b === 0)
|
|
9784
9784
|
return [0, 0];
|
|
9785
|
-
var L = y === "tangent" ? [g / b,
|
|
9785
|
+
var L = y === "tangent" ? [g / b, c / b] : [-c / b, g / b];
|
|
9786
9786
|
return L;
|
|
9787
9787
|
},
|
|
9788
9788
|
tangentOnPath: function(P, C) {
|
|
@@ -9793,7 +9793,7 @@ var lottie$1 = { exports: {} };
|
|
|
9793
9793
|
},
|
|
9794
9794
|
setGroupProperty: expressionHelpers.setGroupProperty,
|
|
9795
9795
|
getValueAtTime: expressionHelpers.getStaticValueAtTime
|
|
9796
|
-
}, extendPrototype([m], l), extendPrototype([m],
|
|
9796
|
+
}, extendPrototype([m], l), extendPrototype([m], p), p.prototype.getValueAtTime = f, p.prototype.initiateExpression = ExpressionManager.initiateExpression;
|
|
9797
9797
|
var E = ShapePropertyFactory.getShapeProp;
|
|
9798
9798
|
ShapePropertyFactory.getShapeProp = function(u, P, C, y, M) {
|
|
9799
9799
|
var d = E(u, P, C, y, M);
|
|
@@ -9892,7 +9892,7 @@ var lottie$1 = { exports: {} };
|
|
|
9892
9892
|
if (this.filterManager.effectElements[7].p.v !== 0 || this.filterManager.effectElements[8].p.v !== 100) {
|
|
9893
9893
|
var o = Math.min(this.filterManager.effectElements[7].p.v, this.filterManager.effectElements[8].p.v) * 0.01, f = Math.max(this.filterManager.effectElements[7].p.v, this.filterManager.effectElements[8].p.v) * 0.01, l = n.getTotalLength();
|
|
9894
9894
|
a = "0 0 0 " + l * o + " ";
|
|
9895
|
-
var
|
|
9895
|
+
var p = l * (f - o), m = 1 + this.filterManager.effectElements[4].p.v * 2 * this.filterManager.effectElements[9].p.v * 0.01, E = Math.floor(p / m), u;
|
|
9896
9896
|
for (u = 0; u < E; u += 1)
|
|
9897
9897
|
a += "1 " + this.filterManager.effectElements[4].p.v * 2 * this.filterManager.effectElements[9].p.v * 0.01 + " ";
|
|
9898
9898
|
a += "0 " + l * 10 + " 0 0";
|
|
@@ -9933,10 +9933,10 @@ var lottie$1 = { exports: {} };
|
|
|
9933
9933
|
var i = createNS(e);
|
|
9934
9934
|
return i.setAttribute("type", "table"), t.appendChild(i), i;
|
|
9935
9935
|
}, SVGProLevelsFilter.prototype.getTableValue = function(e, t, i, s, n) {
|
|
9936
|
-
for (var a = 0, o = 256, f, l = Math.min(e, t),
|
|
9936
|
+
for (var a = 0, o = 256, f, l = Math.min(e, t), p = Math.max(e, t), m = Array.call(null, {
|
|
9937
9937
|
length: o
|
|
9938
9938
|
}), E, u = 0, P = n - s, C = t - e; a <= 256; )
|
|
9939
|
-
f = a / 256, f <= l ? E = C < 0 ? n : s : f >=
|
|
9939
|
+
f = a / 256, f <= l ? E = C < 0 ? n : s : f >= p ? E = C < 0 ? s : n : E = s + P * Math.pow((f - e) / C, 1 / i), m[u] = E, u += 1, a += 256 / (o - 1);
|
|
9940
9940
|
return m.join(" ");
|
|
9941
9941
|
}, SVGProLevelsFilter.prototype.renderFrame = function(e) {
|
|
9942
9942
|
if (e || this.filterManager._mdf) {
|
|
@@ -9951,8 +9951,8 @@ var lottie$1 = { exports: {} };
|
|
|
9951
9951
|
f.setAttribute("in", "SourceAlpha"), f.setAttribute("result", s + "_drop_shadow_1"), f.setAttribute("stdDeviation", "0"), this.feGaussianBlur = f, e.appendChild(f);
|
|
9952
9952
|
var l = createNS("feOffset");
|
|
9953
9953
|
l.setAttribute("dx", "25"), l.setAttribute("dy", "0"), l.setAttribute("in", s + "_drop_shadow_1"), l.setAttribute("result", s + "_drop_shadow_2"), this.feOffset = l, e.appendChild(l);
|
|
9954
|
-
var
|
|
9955
|
-
|
|
9954
|
+
var p = createNS("feFlood");
|
|
9955
|
+
p.setAttribute("flood-color", "#00ff00"), p.setAttribute("flood-opacity", "1"), p.setAttribute("result", s + "_drop_shadow_3"), this.feFlood = p, e.appendChild(p);
|
|
9956
9956
|
var m = createNS("feComposite");
|
|
9957
9957
|
m.setAttribute("in", s + "_drop_shadow_3"), m.setAttribute("in2", s + "_drop_shadow_2"), m.setAttribute("operator", "in"), m.setAttribute("result", s + "_drop_shadow_4"), e.appendChild(m);
|
|
9958
9958
|
var E = this.createMergeNode(s, [s + "_drop_shadow_4", n]);
|
|
@@ -10029,8 +10029,8 @@ var lottie$1 = { exports: {} };
|
|
|
10029
10029
|
this.effectsManager = e, this.type = effectTypes.TRANSFORM_EFFECT, this.matrix = new Matrix(), this.opacity = -1, this._mdf = !1, this._opMdf = !1;
|
|
10030
10030
|
}, TransformEffect.prototype.renderFrame = function(e) {
|
|
10031
10031
|
if (this._opMdf = !1, this._mdf = !1, e || this.effectsManager._mdf) {
|
|
10032
|
-
var t = this.effectsManager.effectElements, i = t[0].p.v, s = t[1].p.v, n = t[2].p.v === 1, a = t[3].p.v, o = n ? a : t[4].p.v, f = t[5].p.v, l = t[6].p.v,
|
|
10033
|
-
this.matrix.reset(), this.matrix.translate(-i[0], -i[1], i[2]), this.matrix.scale(o * 0.01, a * 0.01, 1), this.matrix.rotate(-
|
|
10032
|
+
var t = this.effectsManager.effectElements, i = t[0].p.v, s = t[1].p.v, n = t[2].p.v === 1, a = t[3].p.v, o = n ? a : t[4].p.v, f = t[5].p.v, l = t[6].p.v, p = t[7].p.v;
|
|
10033
|
+
this.matrix.reset(), this.matrix.translate(-i[0], -i[1], i[2]), this.matrix.scale(o * 0.01, a * 0.01, 1), this.matrix.rotate(-p * degToRads), this.matrix.skewFromAxis(-f * degToRads, (l + 90) * degToRads), this.matrix.translate(s[0], s[1], 0), this._mdf = !0, this.opacity !== t[8].p.v && (this.opacity = t[8].p.v, this._opMdf = !0);
|
|
10034
10034
|
}
|
|
10035
10035
|
};
|
|
10036
10036
|
function SVGTransformEffect(e, t) {
|
|
@@ -10048,16 +10048,16 @@ const lottie = /* @__PURE__ */ getDefaultExportFromCjs(lottieExports);
|
|
|
10048
10048
|
function _iterableToArrayLimit(e, t) {
|
|
10049
10049
|
var i = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
10050
10050
|
if (i != null) {
|
|
10051
|
-
var s, n, a, o, f = [], l = !0,
|
|
10051
|
+
var s, n, a, o, f = [], l = !0, p = !1;
|
|
10052
10052
|
try {
|
|
10053
10053
|
if (a = (i = i.call(e)).next, t !== 0) for (; !(l = (s = a.call(i)).done) && (f.push(s.value), f.length !== t); l = !0) ;
|
|
10054
10054
|
} catch (m) {
|
|
10055
|
-
|
|
10055
|
+
p = !0, n = m;
|
|
10056
10056
|
} finally {
|
|
10057
10057
|
try {
|
|
10058
10058
|
if (!l && i.return != null && (o = i.return(), Object(o) !== o)) return;
|
|
10059
10059
|
} finally {
|
|
10060
|
-
if (
|
|
10060
|
+
if (p) throw n;
|
|
10061
10061
|
}
|
|
10062
10062
|
}
|
|
10063
10063
|
return f;
|
|
@@ -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,
|
|
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, M = t.onDestroy;
|
|
10151
10151
|
t.lottieRef, t.renderer, t.name, t.assetsPath, t.rendererSettings;
|
|
10152
|
-
var d = _objectWithoutProperties(t, _excluded$1), g = useState(!1),
|
|
10152
|
+
var d = _objectWithoutProperties(t, _excluded$1), g = useState(!1), c = _slicedToArray(g, 2), b = c[0], L = 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() {
|
|
@@ -10219,7 +10219,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10219
10219
|
handler: l
|
|
10220
10220
|
}, {
|
|
10221
10221
|
name: "enterFrame",
|
|
10222
|
-
handler:
|
|
10222
|
+
handler: p
|
|
10223
10223
|
}, {
|
|
10224
10224
|
name: "segmentStart",
|
|
10225
10225
|
handler: m
|
|
@@ -10265,7 +10265,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
10265
10265
|
});
|
|
10266
10266
|
};
|
|
10267
10267
|
}
|
|
10268
|
-
}, [f, l,
|
|
10268
|
+
}, [f, l, p, m, E, u, P, C, y, M]);
|
|
10269
10269
|
var B = /* @__PURE__ */ React.createElement("div", _objectSpread2({
|
|
10270
10270
|
style: i,
|
|
10271
10271
|
ref: T
|
|
@@ -10293,10 +10293,10 @@ function getContainerVisibility(e) {
|
|
|
10293
10293
|
return n / a;
|
|
10294
10294
|
}
|
|
10295
10295
|
function getContainerCursorPosition(e, t, i) {
|
|
10296
|
-
var s = e.getBoundingClientRect(), n = s.top, a = s.left, o = s.width, f = s.height, l = (t - a) / o,
|
|
10296
|
+
var s = e.getBoundingClientRect(), n = s.top, a = s.left, o = s.width, f = s.height, l = (t - a) / o, p = (i - n) / f;
|
|
10297
10297
|
return {
|
|
10298
10298
|
x: l,
|
|
10299
|
-
y:
|
|
10299
|
+
y: p
|
|
10300
10300
|
};
|
|
10301
10301
|
}
|
|
10302
10302
|
var useInitInteractivity = function e(t) {
|
|
@@ -10330,16 +10330,16 @@ var useInitInteractivity = function e(t) {
|
|
|
10330
10330
|
var g = getContainerCursorPosition(o, M, d);
|
|
10331
10331
|
M = g.x, d = g.y;
|
|
10332
10332
|
}
|
|
10333
|
-
var
|
|
10333
|
+
var c = a.find(function(A) {
|
|
10334
10334
|
var T = A.position;
|
|
10335
10335
|
return T && Array.isArray(T.x) && Array.isArray(T.y) ? M >= T.x[0] && M <= T.x[1] && d >= T.y[0] && d <= T.y[1] : T && !Number.isNaN(T.x) && !Number.isNaN(T.y) ? M === T.x && d === T.y : !1;
|
|
10336
10336
|
});
|
|
10337
|
-
if (
|
|
10338
|
-
if (
|
|
10339
|
-
var b = (M -
|
|
10340
|
-
s.playSegments(
|
|
10337
|
+
if (c) {
|
|
10338
|
+
if (c.type === "seek" && c.position && Array.isArray(c.position.x) && Array.isArray(c.position.y) && c.frames.length === 2) {
|
|
10339
|
+
var b = (M - c.position.x[0]) / (c.position.x[1] - c.position.x[0]), L = (d - c.position.y[0]) / (c.position.y[1] - c.position.y[0]);
|
|
10340
|
+
s.playSegments(c.frames, !0), s.goToAndStop(Math.ceil((b + L) / 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
|
}
|
|
10344
10344
|
}, E = function(C) {
|
|
10345
10345
|
m(C.clientX, C.clientY);
|
|
@@ -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),
|
|
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, M = l.setDirection, d = l.playSegments, g = l.setSubframe, c = l.getDuration, b = l.destroy, L = l.animationContainerRef, A = l.animationLoaded, T = l.animationItem;
|
|
10371
10371
|
return useEffect(function() {
|
|
10372
10372
|
t.lottieRef && (t.lottieRef.current = {
|
|
10373
10373
|
play: m,
|
|
@@ -10379,7 +10379,7 @@ var useInitInteractivity = function e(t) {
|
|
|
10379
10379
|
setDirection: M,
|
|
10380
10380
|
playSegments: d,
|
|
10381
10381
|
setSubframe: g,
|
|
10382
|
-
getDuration:
|
|
10382
|
+
getDuration: c,
|
|
10383
10383
|
destroy: b,
|
|
10384
10384
|
animationContainerRef: L,
|
|
10385
10385
|
animationLoaded: A,
|
|
@@ -10387,7 +10387,7 @@ var useInitInteractivity = function e(t) {
|
|
|
10387
10387
|
});
|
|
10388
10388
|
}, [(i = t.lottieRef) === null || i === void 0 ? void 0 : i.current]), useLottieInteractivity({
|
|
10389
10389
|
lottieObj: {
|
|
10390
|
-
View:
|
|
10390
|
+
View: p,
|
|
10391
10391
|
play: m,
|
|
10392
10392
|
stop: E,
|
|
10393
10393
|
pause: u,
|
|
@@ -10397,7 +10397,7 @@ var useInitInteractivity = function e(t) {
|
|
|
10397
10397
|
setDirection: M,
|
|
10398
10398
|
playSegments: d,
|
|
10399
10399
|
setSubframe: g,
|
|
10400
|
-
getDuration:
|
|
10400
|
+
getDuration: c,
|
|
10401
10401
|
destroy: b,
|
|
10402
10402
|
animationContainerRef: L,
|
|
10403
10403
|
animationLoaded: A,
|
|
@@ -10769,7 +10769,6 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10769
10769
|
markers
|
|
10770
10770
|
}, buttonStyles = cva(
|
|
10771
10771
|
[
|
|
10772
|
-
"gf-w-full",
|
|
10773
10772
|
"gf-font-satoshi",
|
|
10774
10773
|
"gf-font-bold",
|
|
10775
10774
|
"gf-min-w-32",
|
|
@@ -10818,8 +10817,8 @@ const v = "5.7.4", fr = 60, ip = 0, op = 120, w = 64, h = 64, nm = "loading spin
|
|
|
10818
10817
|
}
|
|
10819
10818
|
), Button = forwardRef(
|
|
10820
10819
|
({ variant: e, size: t, breakpoints: i, loading: s, className: n, children: a, ...o }, f) => {
|
|
10821
|
-
const l = i ? Object.entries(i).map(([
|
|
10822
|
-
(
|
|
10820
|
+
const l = i ? Object.entries(i).map(([p, m]) => `${p}:${m}`).map(
|
|
10821
|
+
(p) => buttonStyles({ breakpointSize: p })
|
|
10823
10822
|
).join(" ") : "";
|
|
10824
10823
|
return /* @__PURE__ */ jsx(
|
|
10825
10824
|
"button",
|
|
@@ -13274,14 +13273,14 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13274
13273
|
/* @__PURE__ */ jsxs("div", { className: "md:gf-flex md:gf-justify-between md:gf-items-start", children: [
|
|
13275
13274
|
/* @__PURE__ */ jsx("div", { className: "gf-flex gf-items-center gf-mb-6", children: /* @__PURE__ */ jsx(GardenFullLogo, {}) }),
|
|
13276
13275
|
/* @__PURE__ */ jsx("div", { className: "gf-grid gf-grid-cols-2 gf-gap-x-14 gf-gap-y-6 md:gf-flex gf-w-full md:gf-justify-end md:gf-gap-x-14", children: footerDetails.map((i) => /* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col", children: [
|
|
13277
|
-
/* @__PURE__ */ jsx(Typography, { size: "
|
|
13276
|
+
/* @__PURE__ */ jsx(Typography, { size: "h3", weight: "bold", className: "gf-mb-3", children: i.title }),
|
|
13278
13277
|
i.links.map((s) => /* @__PURE__ */ jsx(
|
|
13279
13278
|
"a",
|
|
13280
13279
|
{
|
|
13281
13280
|
href: s.link,
|
|
13282
13281
|
target: i.targetSame ? "_self" : "_blank",
|
|
13283
13282
|
rel: "noreferrer",
|
|
13284
|
-
children: /* @__PURE__ */ jsx(Typography, { size: "
|
|
13283
|
+
children: /* @__PURE__ */ jsx(Typography, { size: "h3", weight: "medium", children: s.title })
|
|
13285
13284
|
},
|
|
13286
13285
|
s.title
|
|
13287
13286
|
))
|
|
@@ -13290,15 +13289,15 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13290
13289
|
/* @__PURE__ */ jsx("hr", { className: "gf-mt-6 gf-mb-5 md:gf-mt-12 md:gf-mb-6 gf-border-dark-grey" }),
|
|
13291
13290
|
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-flex-col gf-gap-y-3 md:gf-flex-row gf-justify-between gf-items-center", children: [
|
|
13292
13291
|
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-2 gf-items-center", children: [
|
|
13293
|
-
/* @__PURE__ */ jsxs(Typography, { size: "
|
|
13292
|
+
/* @__PURE__ */ jsxs(Typography, { size: "h4", weight: "medium", children: [
|
|
13294
13293
|
"Powered by",
|
|
13295
13294
|
" "
|
|
13296
13295
|
] }),
|
|
13297
13296
|
/* @__PURE__ */ jsx(CatalogLogo, { width: 76 })
|
|
13298
13297
|
] }),
|
|
13299
13298
|
/* @__PURE__ */ jsxs("div", { className: "gf-flex gf-gap-x-6 md:gf-gap-x-4", children: [
|
|
13300
|
-
/* @__PURE__ */ jsx("a", { href: "#", className: "hover:gf-underline", children: /* @__PURE__ */ jsx(Typography, { size: "
|
|
13301
|
-
/* @__PURE__ */ jsx("a", { href: "#", className: "hover:gf-underline", children: /* @__PURE__ */ jsx(Typography, { size: "
|
|
13299
|
+
/* @__PURE__ */ jsx("a", { href: "#", className: "hover:gf-underline", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Privacy Policy" }) }),
|
|
13300
|
+
/* @__PURE__ */ jsx("a", { href: "#", className: "hover:gf-underline", children: /* @__PURE__ */ jsx(Typography, { size: "h4", weight: "medium", children: "Terms of Service" }) })
|
|
13302
13301
|
] })
|
|
13303
13302
|
] })
|
|
13304
13303
|
]
|
|
@@ -13307,10 +13306,10 @@ const InfoBadge = ({ children: e, className: t, ...i }) => /* @__PURE__ */ jsx(
|
|
|
13307
13306
|
var build = { exports: {} };
|
|
13308
13307
|
(() => {
|
|
13309
13308
|
var e = { 181: (n, a, o) => {
|
|
13310
|
-
var f = /^\s+|\s+$/g, l = /^[-+]0x[0-9a-f]+$/i,
|
|
13309
|
+
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, M = Math.max, d = Math.min, g = function() {
|
|
13311
13310
|
return C.Date.now();
|
|
13312
13311
|
};
|
|
13313
|
-
function
|
|
13312
|
+
function c(L) {
|
|
13314
13313
|
var A = typeof L;
|
|
13315
13314
|
return !!L && (A == "object" || A == "function");
|
|
13316
13315
|
}
|
|
@@ -13321,13 +13320,13 @@ var build = { exports: {} };
|
|
|
13321
13320
|
return !!R && typeof R == "object";
|
|
13322
13321
|
}(k) && y.call(k) == "[object Symbol]";
|
|
13323
13322
|
}(L)) return NaN;
|
|
13324
|
-
if (
|
|
13323
|
+
if (c(L)) {
|
|
13325
13324
|
var A = typeof L.valueOf == "function" ? L.valueOf() : L;
|
|
13326
|
-
L =
|
|
13325
|
+
L = c(A) ? A + "" : A;
|
|
13327
13326
|
}
|
|
13328
13327
|
if (typeof L != "string") return L === 0 ? L : +L;
|
|
13329
13328
|
L = L.replace(f, "");
|
|
13330
|
-
var T =
|
|
13329
|
+
var T = p.test(L);
|
|
13331
13330
|
return T || m.test(L) ? E(L.slice(2), T ? 2 : 8) : l.test(L) ? NaN : +L;
|
|
13332
13331
|
}
|
|
13333
13332
|
n.exports = function(L, A, T) {
|
|
@@ -13362,14 +13361,14 @@ var build = { exports: {} };
|
|
|
13362
13361
|
}
|
|
13363
13362
|
return j === void 0 && (j = setTimeout(B, A)), N;
|
|
13364
13363
|
}
|
|
13365
|
-
return A = b(A) || 0,
|
|
13364
|
+
return A = b(A) || 0, c(T) && (Z = !!T.leading, X = (_ = "maxWait" in T) ? M(b(T.maxWait) || 0, A) : X, I = "trailing" in T ? !!T.trailing : I), G.cancel = function() {
|
|
13366
13365
|
j !== void 0 && clearTimeout(j), U = 0, k = Y = R = j = void 0;
|
|
13367
13366
|
}, G.flush = function() {
|
|
13368
13367
|
return j === void 0 ? N : F(g());
|
|
13369
13368
|
}, G;
|
|
13370
13369
|
};
|
|
13371
13370
|
}, 858: (n, a, o) => {
|
|
13372
|
-
var f = "Expected a function", l = NaN,
|
|
13371
|
+
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, M = typeof self == "object" && self && self.Object === Object && self, d = y || M || Function("return this")(), g = Object.prototype.toString, c = Math.max, b = Math.min, L = function() {
|
|
13373
13372
|
return d.Date.now();
|
|
13374
13373
|
};
|
|
13375
13374
|
function A(k) {
|
|
@@ -13381,7 +13380,7 @@ var build = { exports: {} };
|
|
|
13381
13380
|
if (function(N) {
|
|
13382
13381
|
return typeof N == "symbol" || /* @__PURE__ */ function(j) {
|
|
13383
13382
|
return !!j && typeof j == "object";
|
|
13384
|
-
}(N) && g.call(N) ==
|
|
13383
|
+
}(N) && g.call(N) == p;
|
|
13385
13384
|
}(k)) return l;
|
|
13386
13385
|
if (A(k)) {
|
|
13387
13386
|
var R = typeof k.valueOf == "function" ? k.valueOf() : k;
|
|
@@ -13427,7 +13426,7 @@ var build = { exports: {} };
|
|
|
13427
13426
|
}
|
|
13428
13427
|
return B === void 0 && (B = setTimeout(pe, U)), S;
|
|
13429
13428
|
}
|
|
13430
|
-
return U = T(U) || 0, A(Z) && (q = !!Z.leading, x = ($ = "maxWait" in Z) ?
|
|
13429
|
+
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() {
|
|
13431
13430
|
B !== void 0 && clearTimeout(B), G = 0, _ = F = I = B = void 0;
|
|
13432
13431
|
}, ce.flush = function() {
|
|
13433
13432
|
return B === void 0 ? S : ue(L());
|
|
@@ -13438,20 +13437,20 @@ var build = { exports: {} };
|
|
|
13438
13437
|
var f = o(925);
|
|
13439
13438
|
function l() {
|
|
13440
13439
|
}
|
|
13441
|
-
function
|
|
13440
|
+
function p() {
|
|
13442
13441
|
}
|
|
13443
|
-
|
|
13442
|
+
p.resetWarningCache = l, n.exports = function() {
|
|
13444
13443
|
function m(P, C, y, M, d, g) {
|
|
13445
13444
|
if (g !== f) {
|
|
13446
|
-
var
|
|
13447
|
-
throw
|
|
13445
|
+
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");
|
|
13446
|
+
throw c.name = "Invariant Violation", c;
|
|
13448
13447
|
}
|
|
13449
13448
|
}
|
|
13450
13449
|
function E() {
|
|
13451
13450
|
return m;
|
|
13452
13451
|
}
|
|
13453
13452
|
m.isRequired = m;
|
|
13454
|
-
var u = { array: m, bigint: m, bool: m, func: m, number: m, object: m, string: m, symbol: m, any: m, arrayOf: E, element: m, elementType: m, instanceOf: E, node: m, objectOf: E, oneOf: E, oneOfType: E, shape: E, exact: E, checkPropTypes:
|
|
13453
|
+
var u = { array: m, bigint: m, bool: m, func: m, number: m, object: m, string: m, symbol: m, any: m, arrayOf: E, element: m, elementType: m, instanceOf: E, node: m, objectOf: E, oneOf: E, oneOfType: E, shape: E, exact: E, checkPropTypes: p, resetWarningCache: l };
|
|
13455
13454
|
return u.PropTypes = u, u;
|
|
13456
13455
|
};
|
|
13457
13456
|
}, 556: (n, a, o) => {
|
|
@@ -13495,7 +13494,7 @@ var build = { exports: {} };
|
|
|
13495
13494
|
return V && typeof Symbol == "function" && V.constructor === Symbol && V !== Symbol.prototype ? "symbol" : typeof V;
|
|
13496
13495
|
}, l(D);
|
|
13497
13496
|
}
|
|
13498
|
-
function
|
|
13497
|
+
function p(D, V) {
|
|
13499
13498
|
var O = Object.keys(D);
|
|
13500
13499
|
if (Object.getOwnPropertySymbols) {
|
|
13501
13500
|
var W = Object.getOwnPropertySymbols(D);
|
|
@@ -13561,7 +13560,7 @@ var build = { exports: {} };
|
|
|
13561
13560
|
D.forEach(function(V) {
|
|
13562
13561
|
V.isIntersecting && V.target.onVisible();
|
|
13563
13562
|
});
|
|
13564
|
-
}, g = {},
|
|
13563
|
+
}, g = {}, c = function(D) {
|
|
13565
13564
|
function V(H) {
|
|
13566
13565
|
var z;
|
|
13567
13566
|
if (function(Q, ie) {
|
|
@@ -13600,9 +13599,9 @@ var build = { exports: {} };
|
|
|
13600
13599
|
var fe = function(ae) {
|
|
13601
13600
|
for (var ve = 1; ve < arguments.length; ve++) {
|
|
13602
13601
|
var de = arguments[ve] != null ? arguments[ve] : {};
|
|
13603
|
-
ve % 2 ?
|
|
13602
|
+
ve % 2 ? p(Object(de), !0).forEach(function(ge) {
|
|
13604
13603
|
m(ae, ge, de[ge]);
|
|
13605
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(ae, Object.getOwnPropertyDescriptors(de)) :
|
|
13604
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(ae, Object.getOwnPropertyDescriptors(de)) : p(Object(de)).forEach(function(ge) {
|
|
13606
13605
|
Object.defineProperty(ae, ge, Object.getOwnPropertyDescriptor(de, ge));
|
|
13607
13606
|
});
|
|
13608
13607
|
}
|
|
@@ -13614,8 +13613,8 @@ var build = { exports: {} };
|
|
|
13614
13613
|
} }], W && E(O.prototype, W), Object.defineProperty(O, "prototype", { writable: !1 }), O;
|
|
13615
13614
|
var O, W;
|
|
13616
13615
|
}(a().Component);
|
|
13617
|
-
|
|
13618
|
-
const b =
|
|
13616
|
+
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 };
|
|
13617
|
+
const b = c;
|
|
13619
13618
|
var L = i(181), A = i.n(L), T = i(858), k = i.n(T), R = function(D) {
|
|
13620
13619
|
var V = getComputedStyle(D, null);
|
|
13621
13620
|
return V.getPropertyValue("overflow") + V.getPropertyValue("overflow-y") + V.getPropertyValue("overflow-x");
|
|
@@ -14055,28 +14054,26 @@ const placeholderUrl = "data:image/svg+xml,%3csvg%20width='384'%20height='216'%2
|
|
|
14055
14054
|
thumbnail: e,
|
|
14056
14055
|
category: t,
|
|
14057
14056
|
date: i,
|
|
14058
|
-
title: s
|
|
14057
|
+
title: s,
|
|
14058
|
+
className: n,
|
|
14059
|
+
thumbnailClassName: a
|
|
14059
14060
|
}) => {
|
|
14060
|
-
const [
|
|
14061
|
-
|
|
14061
|
+
const [o, f] = useState(!1), [l, p] = useState(e ?? placeholderUrl), m = () => {
|
|
14062
|
+
p(placeholderUrl);
|
|
14062
14063
|
};
|
|
14063
|
-
return /* @__PURE__ */ jsx(Opacity, { level: "semi-dark", className: "gf-rounded-2xl
|
|
14064
|
+
return /* @__PURE__ */ jsx(Opacity, { level: "semi-dark", className: "gf-rounded-2xl h-full", children: /* @__PURE__ */ jsxs("div", { className: cn(n, "gf-overflow-hidden gf-rounded-2xl"), children: [
|
|
14064
14065
|
/* @__PURE__ */ jsx(
|
|
14065
14066
|
"div",
|
|
14066
14067
|
{
|
|
14067
|
-
className:
|
|
14068
|
+
className: cn(a, `${o ? "" : "gf-filter gf-blur-md"}`),
|
|
14068
14069
|
children: /* @__PURE__ */ jsx(
|
|
14069
14070
|
buildExports.LazyLoadImage,
|
|
14070
14071
|
{
|
|
14071
14072
|
alt: s,
|
|
14072
14073
|
effect: "blur",
|
|
14073
|
-
src:
|
|
14074
|
-
onLoad: () =>
|
|
14075
|
-
onError:
|
|
14076
|
-
style: { width: "100%", height: "100%", objectFit: "cover" },
|
|
14077
|
-
wrapperProps: {
|
|
14078
|
-
style: { width: "100%", height: "100%" }
|
|
14079
|
-
}
|
|
14074
|
+
src: l,
|
|
14075
|
+
onLoad: () => f(!0),
|
|
14076
|
+
onError: m
|
|
14080
14077
|
}
|
|
14081
14078
|
)
|
|
14082
14079
|
}
|