@streamlayer/react 0.28.2 → 0.28.3
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/lib/cjs/masters.js +1 -1
- package/lib/cjs/points.js +1 -1
- package/lib/es/masters.js +2 -2
- package/lib/es/points.js +1 -1
- package/lib/{index-5a8ee4a9.js → index-05d85ab5.js} +77 -64
- package/lib/index-44ee2284.cjs +1 -0
- package/lib/{index-26d5da20.cjs → index-6b61558d.cjs} +1 -1
- package/lib/{index-c51ae13f.js → index-ba692797.js} +2 -2
- package/lib/{masters-9adff97c.js → masters-0e939bcb.js} +983 -983
- package/lib/{masters-31c0f972.cjs → masters-11a6e952.cjs} +2 -2
- package/lib/style.css +1 -1
- package/package.json +2 -2
- package/lib/index-2f4c89a7.cjs +0 -1
|
@@ -4,17 +4,17 @@ import e__default, { lazy, useMemo, Suspense, useRef, useState, Component, creat
|
|
|
4
4
|
import { FeatureType, QuestionType } from "@streamlayer/sdk-web-types";
|
|
5
5
|
import { useStore } from "@nanostores/react";
|
|
6
6
|
import { FeatureStatus } from "@streamlayer/sdk-web-interfaces";
|
|
7
|
-
import { s as styled_default,
|
|
7
|
+
import { s as styled_default, e as e1, c as cx_default } from "./index-05d85ab5.js";
|
|
8
8
|
import { NotificationType } from "@streamlayer/sdk-web-notifications";
|
|
9
|
-
const c$
|
|
9
|
+
const c$7 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
10
10
|
const g0 = useStore(k.status), { slStreamId: S0 } = useStore(y.sdkStore);
|
|
11
11
|
return S0 != null && S0.loading ? /* @__PURE__ */ jsx("div", { className: E, children: "event is loading..." }) : S0 != null && S0.data ? g0 !== FeatureStatus.Ready ? /* @__PURE__ */ jsx("div", { className: E, children: "wait feature..." }) : A : /* @__PURE__ */ jsx("div", { className: E, children: "event is forbidden..." });
|
|
12
|
-
}, u$1 = lazy(() => import("./index-
|
|
12
|
+
}, u$1 = lazy(() => import("./index-ba692797.js")), s$6 = ({
|
|
13
13
|
sdk: k,
|
|
14
14
|
feature: y,
|
|
15
15
|
className: A
|
|
16
16
|
}) => {
|
|
17
|
-
const E = useMemo(() => y && y.featureConfig.get().type === FeatureType.GAMES ? /* @__PURE__ */ jsx(c$
|
|
17
|
+
const E = useMemo(() => y && y.featureConfig.get().type === FeatureType.GAMES ? /* @__PURE__ */ jsx(c$7, { className: A, sdk: k, feature: y, children: /* @__PURE__ */ jsx(u$1, { className: A, gamification: y, sdk: k }) }) : null, [k, y, A]);
|
|
18
18
|
return /* @__PURE__ */ jsx(
|
|
19
19
|
Suspense,
|
|
20
20
|
{
|
|
@@ -37,7 +37,7 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
37
37
|
}), p$7 = ({ disabled: k, active: y, onClick: A, label: E, icon: g0 }) => /* @__PURE__ */ jsx(e$5, { onClick: A, disabled: k, "data-selected": y, children: /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
38
38
|
g0 && /* @__PURE__ */ jsx(t$1, { children: g0 }),
|
|
39
39
|
/* @__PURE__ */ jsx(a$9, { children: E })
|
|
40
|
-
] }) }), Channels_1jfruqb = "", _exp$a = () =>
|
|
40
|
+
] }) }), Channels_1jfruqb = "", _exp$a = () => e1, a$8 = /* @__PURE__ */ styled_default(_exp$a())({
|
|
41
41
|
name: "a",
|
|
42
42
|
class: "a10lggiw",
|
|
43
43
|
propsAsIs: !0
|
|
@@ -52,11 +52,11 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
52
52
|
"data-selected": (y = k.active) == null ? void 0 : y.toString()
|
|
53
53
|
})
|
|
54
54
|
});
|
|
55
|
-
}, FeaturedGroups_9tcax4 = "", _exp$9 = () =>
|
|
55
|
+
}, FeaturedGroups_9tcax4 = "", _exp$9 = () => e1, d$4 = /* @__PURE__ */ styled_default(_exp$9())({
|
|
56
56
|
name: "d",
|
|
57
57
|
class: "d1x5s8ie",
|
|
58
58
|
propsAsIs: !0
|
|
59
|
-
}), p$5 = "featuredGroups", l$
|
|
59
|
+
}), p$5 = "featuredGroups", l$5 = (k) => {
|
|
60
60
|
var y;
|
|
61
61
|
return /* @__PURE__ */ jsx(p$7, {
|
|
62
62
|
...k,
|
|
@@ -67,7 +67,7 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
67
67
|
"data-selected": (y = k.active) == null ? void 0 : y.toString()
|
|
68
68
|
})
|
|
69
69
|
});
|
|
70
|
-
}, LeaderBoard_cxk5h0 = "", _exp$8 = () =>
|
|
70
|
+
}, LeaderBoard_cxk5h0 = "", _exp$8 = () => e1, n$5 = /* @__PURE__ */ styled_default(_exp$8())({
|
|
71
71
|
name: "n",
|
|
72
72
|
class: "ntav86o",
|
|
73
73
|
propsAsIs: !0
|
|
@@ -99,7 +99,7 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
99
99
|
}), G$1 = ({ activeOverlay: k, setActiveOverlay: y, sdkReady: A, className: E }) => /* @__PURE__ */ jsxs(n$3, { className: E, children: [
|
|
100
100
|
/* @__PURE__ */ jsx(p$6, { active: k === d$5, onClick: () => y(d$5) }),
|
|
101
101
|
/* @__PURE__ */ jsx(
|
|
102
|
-
l$
|
|
102
|
+
l$5,
|
|
103
103
|
{
|
|
104
104
|
active: k === p$5,
|
|
105
105
|
disabled: !A,
|
|
@@ -158,7 +158,7 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
158
158
|
}
|
|
159
159
|
),
|
|
160
160
|
/* @__PURE__ */ jsx(r$4, { src: k, style: { visibility: S0 ? "visible" : "hidden" } }),
|
|
161
|
-
/* @__PURE__ */ jsx(s$4, { children: !E && /* @__PURE__ */ jsx(
|
|
161
|
+
/* @__PURE__ */ jsx(s$4, { children: !E && /* @__PURE__ */ jsx(e1, { name: "icon-play" }) })
|
|
162
162
|
] });
|
|
163
163
|
}, styles_1jjye6y = "", r$3 = /* @__PURE__ */ styled_default("div")({
|
|
164
164
|
name: "r",
|
|
@@ -176,7 +176,7 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
176
176
|
name: "n",
|
|
177
177
|
class: "n18s3mno",
|
|
178
178
|
propsAsIs: !1
|
|
179
|
-
}), l$
|
|
179
|
+
}), l$4 = /* @__PURE__ */ styled_default("button")({
|
|
180
180
|
name: "l",
|
|
181
181
|
class: "lc8mqwv",
|
|
182
182
|
propsAsIs: !1
|
|
@@ -190,9 +190,9 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
190
190
|
/* @__PURE__ */ jsxs(t, { children: [
|
|
191
191
|
/* @__PURE__ */ jsx(i$3, { children: y }),
|
|
192
192
|
/* @__PURE__ */ jsx(n$2, { children: A }),
|
|
193
|
-
E && /* @__PURE__ */ jsx(l$
|
|
193
|
+
E && /* @__PURE__ */ jsx(l$4, { onClick: E, children: "View Insight" })
|
|
194
194
|
] })
|
|
195
|
-
] }), styles_1wvputg = "", _exp$6 = () =>
|
|
195
|
+
] }), styles_1wvputg = "", _exp$6 = () => e1, _exp2$2 = () => e1, p$3 = /* @__PURE__ */ styled_default("div")({
|
|
196
196
|
name: "p",
|
|
197
197
|
class: "p16oo5uk",
|
|
198
198
|
propsAsIs: !1
|
|
@@ -200,7 +200,7 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
200
200
|
name: "a",
|
|
201
201
|
class: "a18c5k3h",
|
|
202
202
|
propsAsIs: !1
|
|
203
|
-
}), c$
|
|
203
|
+
}), c$6 = /* @__PURE__ */ styled_default(_exp$6())({
|
|
204
204
|
name: "c",
|
|
205
205
|
class: "czv5t8k",
|
|
206
206
|
propsAsIs: !0
|
|
@@ -208,7 +208,7 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
208
208
|
name: "s",
|
|
209
209
|
class: "s1wp1emp",
|
|
210
210
|
propsAsIs: !1
|
|
211
|
-
}), l$
|
|
211
|
+
}), l$3 = /* @__PURE__ */ styled_default(_exp2$2())({
|
|
212
212
|
name: "l",
|
|
213
213
|
class: "l1nz0q6x",
|
|
214
214
|
propsAsIs: !0
|
|
@@ -231,9 +231,9 @@ const c$6 = ({ feature: k, sdk: y, children: A, className: E }) => {
|
|
|
231
231
|
}) => {
|
|
232
232
|
const S0 = o$1[A];
|
|
233
233
|
return S0 ? /* @__PURE__ */ jsxs(p$3, { children: [
|
|
234
|
-
/* @__PURE__ */ jsx(a$5, { onClick: k, children: /* @__PURE__ */ jsx(c$
|
|
234
|
+
/* @__PURE__ */ jsx(a$5, { onClick: k, children: /* @__PURE__ */ jsx(c$6, { name: "icon-cross" }) }),
|
|
235
235
|
/* @__PURE__ */ jsxs(s$3, { children: [
|
|
236
|
-
/* @__PURE__ */ jsx(l$
|
|
236
|
+
/* @__PURE__ */ jsx(l$3, { name: S0.iconName }),
|
|
237
237
|
/* @__PURE__ */ jsx(g$3, { children: S0.label })
|
|
238
238
|
] }),
|
|
239
239
|
A === QuestionType.FACTOID ? /* @__PURE__ */ jsx(a$6, { ...g0, action: y }) : /* @__PURE__ */ jsx(d$3, { children: E == null ? void 0 : E.title }),
|
|
@@ -379,7 +379,7 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
379
379
|
throw new TypeError(
|
|
380
380
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof X0
|
|
381
381
|
);
|
|
382
|
-
if (
|
|
382
|
+
if (_1(X0, ArrayBuffer) || X0 && _1(X0.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (_1(X0, SharedArrayBuffer) || X0 && _1(X0.buffer, SharedArrayBuffer)))
|
|
383
383
|
return z0(X0, _0, L0);
|
|
384
384
|
if (typeof X0 == "number")
|
|
385
385
|
throw new TypeError(
|
|
@@ -388,9 +388,9 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
388
388
|
const i1 = X0.valueOf && X0.valueOf();
|
|
389
389
|
if (i1 != null && i1 !== X0)
|
|
390
390
|
return P0.from(i1, _0, L0);
|
|
391
|
-
const
|
|
392
|
-
if (
|
|
393
|
-
return
|
|
391
|
+
const s1 = J0(X0);
|
|
392
|
+
if (s1)
|
|
393
|
+
return s1;
|
|
394
394
|
if (typeof Symbol < "u" && Symbol.toPrimitive != null && typeof X0[Symbol.toPrimitive] == "function")
|
|
395
395
|
return P0.from(X0[Symbol.toPrimitive]("string"), _0, L0);
|
|
396
396
|
throw new TypeError(
|
|
@@ -425,8 +425,8 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
425
425
|
throw new TypeError("Unknown encoding: " + _0);
|
|
426
426
|
const L0 = w0(X0, _0) | 0;
|
|
427
427
|
let i1 = T0(L0);
|
|
428
|
-
const
|
|
429
|
-
return
|
|
428
|
+
const s1 = i1.write(X0, _0);
|
|
429
|
+
return s1 !== L0 && (i1 = i1.slice(0, s1)), i1;
|
|
430
430
|
}
|
|
431
431
|
function H0(X0) {
|
|
432
432
|
const _0 = X0.length < 0 ? 0 : R0(X0.length) | 0, L0 = T0(_0);
|
|
@@ -435,7 +435,7 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
435
435
|
return L0;
|
|
436
436
|
}
|
|
437
437
|
function $0(X0) {
|
|
438
|
-
if (
|
|
438
|
+
if (_1(X0, Uint8Array)) {
|
|
439
439
|
const _0 = new Uint8Array(X0);
|
|
440
440
|
return z0(_0.buffer, _0.byteOffset, _0.byteLength);
|
|
441
441
|
}
|
|
@@ -455,7 +455,7 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
455
455
|
return L0.length === 0 || X0.copy(L0, 0, 0, _0), L0;
|
|
456
456
|
}
|
|
457
457
|
if (X0.length !== void 0)
|
|
458
|
-
return typeof X0.length != "number" ||
|
|
458
|
+
return typeof X0.length != "number" || j1(X0.length) ? T0(0) : H0(X0);
|
|
459
459
|
if (X0.type === "Buffer" && Array.isArray(X0.data))
|
|
460
460
|
return H0(X0.data);
|
|
461
461
|
}
|
|
@@ -470,19 +470,19 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
470
470
|
P0.isBuffer = function(_0) {
|
|
471
471
|
return _0 != null && _0._isBuffer === !0 && _0 !== P0.prototype;
|
|
472
472
|
}, P0.compare = function(_0, L0) {
|
|
473
|
-
if (
|
|
473
|
+
if (_1(_0, Uint8Array) && (_0 = P0.from(_0, _0.offset, _0.byteLength)), _1(L0, Uint8Array) && (L0 = P0.from(L0, L0.offset, L0.byteLength)), !P0.isBuffer(_0) || !P0.isBuffer(L0))
|
|
474
474
|
throw new TypeError(
|
|
475
475
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
476
476
|
);
|
|
477
477
|
if (_0 === L0)
|
|
478
478
|
return 0;
|
|
479
|
-
let i1 = _0.length,
|
|
480
|
-
for (let
|
|
481
|
-
if (_0[
|
|
482
|
-
i1 = _0[
|
|
479
|
+
let i1 = _0.length, s1 = L0.length;
|
|
480
|
+
for (let x1 = 0, h1 = Math.min(i1, s1); x1 < h1; ++x1)
|
|
481
|
+
if (_0[x1] !== L0[x1]) {
|
|
482
|
+
i1 = _0[x1], s1 = L0[x1];
|
|
483
483
|
break;
|
|
484
484
|
}
|
|
485
|
-
return i1 <
|
|
485
|
+
return i1 < s1 ? -1 : s1 < i1 ? 1 : 0;
|
|
486
486
|
}, P0.isEncoding = function(_0) {
|
|
487
487
|
switch (String(_0).toLowerCase()) {
|
|
488
488
|
case "hex":
|
|
@@ -509,28 +509,28 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
509
509
|
if (L0 === void 0)
|
|
510
510
|
for (L0 = 0, i1 = 0; i1 < _0.length; ++i1)
|
|
511
511
|
L0 += _0[i1].length;
|
|
512
|
-
const
|
|
513
|
-
let
|
|
512
|
+
const s1 = P0.allocUnsafe(L0);
|
|
513
|
+
let x1 = 0;
|
|
514
514
|
for (i1 = 0; i1 < _0.length; ++i1) {
|
|
515
|
-
let
|
|
516
|
-
if (
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
|
|
515
|
+
let h1 = _0[i1];
|
|
516
|
+
if (_1(h1, Uint8Array))
|
|
517
|
+
x1 + h1.length > s1.length ? (P0.isBuffer(h1) || (h1 = P0.from(h1)), h1.copy(s1, x1)) : Uint8Array.prototype.set.call(
|
|
518
|
+
s1,
|
|
519
|
+
h1,
|
|
520
|
+
x1
|
|
521
521
|
);
|
|
522
|
-
else if (P0.isBuffer(
|
|
523
|
-
|
|
522
|
+
else if (P0.isBuffer(h1))
|
|
523
|
+
h1.copy(s1, x1);
|
|
524
524
|
else
|
|
525
525
|
throw new TypeError('"list" argument must be an Array of Buffers');
|
|
526
|
-
|
|
526
|
+
x1 += h1.length;
|
|
527
527
|
}
|
|
528
|
-
return
|
|
528
|
+
return s1;
|
|
529
529
|
};
|
|
530
530
|
function w0(X0, _0) {
|
|
531
531
|
if (P0.isBuffer(X0))
|
|
532
532
|
return X0.length;
|
|
533
|
-
if (ArrayBuffer.isView(X0) ||
|
|
533
|
+
if (ArrayBuffer.isView(X0) || _1(X0, ArrayBuffer))
|
|
534
534
|
return X0.byteLength;
|
|
535
535
|
if (typeof X0 != "string")
|
|
536
536
|
throw new TypeError(
|
|
@@ -539,7 +539,7 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
539
539
|
const L0 = X0.length, i1 = arguments.length > 2 && arguments[2] === !0;
|
|
540
540
|
if (!i1 && L0 === 0)
|
|
541
541
|
return 0;
|
|
542
|
-
let
|
|
542
|
+
let s1 = !1;
|
|
543
543
|
for (; ; )
|
|
544
544
|
switch (_0) {
|
|
545
545
|
case "ascii":
|
|
@@ -548,7 +548,7 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
548
548
|
return L0;
|
|
549
549
|
case "utf8":
|
|
550
550
|
case "utf-8":
|
|
551
|
-
return
|
|
551
|
+
return R1(X0).length;
|
|
552
552
|
case "ucs2":
|
|
553
553
|
case "ucs-2":
|
|
554
554
|
case "utf16le":
|
|
@@ -557,11 +557,11 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
557
557
|
case "hex":
|
|
558
558
|
return L0 >>> 1;
|
|
559
559
|
case "base64":
|
|
560
|
-
return
|
|
560
|
+
return $1(X0).length;
|
|
561
561
|
default:
|
|
562
|
-
if (
|
|
563
|
-
return i1 ? -1 :
|
|
564
|
-
_0 = ("" + _0).toLowerCase(),
|
|
562
|
+
if (s1)
|
|
563
|
+
return i1 ? -1 : R1(X0).length;
|
|
564
|
+
_0 = ("" + _0).toLowerCase(), s1 = !0;
|
|
565
565
|
}
|
|
566
566
|
}
|
|
567
567
|
P0.byteLength = w0;
|
|
@@ -575,19 +575,19 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
575
575
|
return U0(this, _0, L0);
|
|
576
576
|
case "utf8":
|
|
577
577
|
case "utf-8":
|
|
578
|
-
return
|
|
578
|
+
return u1(this, _0, L0);
|
|
579
579
|
case "ascii":
|
|
580
|
-
return
|
|
580
|
+
return r1(this, _0, L0);
|
|
581
581
|
case "latin1":
|
|
582
582
|
case "binary":
|
|
583
583
|
return q0(this, _0, L0);
|
|
584
584
|
case "base64":
|
|
585
|
-
return
|
|
585
|
+
return f1(this, _0, L0);
|
|
586
586
|
case "ucs2":
|
|
587
587
|
case "ucs-2":
|
|
588
588
|
case "utf16le":
|
|
589
589
|
case "utf-16le":
|
|
590
|
-
return
|
|
590
|
+
return o1(this, _0, L0);
|
|
591
591
|
default:
|
|
592
592
|
if (i1)
|
|
593
593
|
throw new TypeError("Unknown encoding: " + X0);
|
|
@@ -622,7 +622,7 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
622
622
|
return this;
|
|
623
623
|
}, P0.prototype.toString = function() {
|
|
624
624
|
const _0 = this.length;
|
|
625
|
-
return _0 === 0 ? "" : arguments.length === 0 ?
|
|
625
|
+
return _0 === 0 ? "" : arguments.length === 0 ? u1(this, 0, _0) : j0.apply(this, arguments);
|
|
626
626
|
}, P0.prototype.toLocaleString = P0.prototype.toString, P0.prototype.equals = function(_0) {
|
|
627
627
|
if (!P0.isBuffer(_0))
|
|
628
628
|
throw new TypeError("Argument must be a Buffer");
|
|
@@ -631,77 +631,77 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
631
631
|
let _0 = "";
|
|
632
632
|
const L0 = k.INSPECT_MAX_BYTES;
|
|
633
633
|
return _0 = this.toString("hex", 0, L0).replace(/(.{2})/g, "$1 ").trim(), this.length > L0 && (_0 += " ... "), "<Buffer " + _0 + ">";
|
|
634
|
-
}, E && (P0.prototype[E] = P0.prototype.inspect), P0.prototype.compare = function(_0, L0, i1,
|
|
635
|
-
if (
|
|
634
|
+
}, E && (P0.prototype[E] = P0.prototype.inspect), P0.prototype.compare = function(_0, L0, i1, s1, x1) {
|
|
635
|
+
if (_1(_0, Uint8Array) && (_0 = P0.from(_0, _0.offset, _0.byteLength)), !P0.isBuffer(_0))
|
|
636
636
|
throw new TypeError(
|
|
637
637
|
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof _0
|
|
638
638
|
);
|
|
639
|
-
if (L0 === void 0 && (L0 = 0), i1 === void 0 && (i1 = _0 ? _0.length : 0),
|
|
639
|
+
if (L0 === void 0 && (L0 = 0), i1 === void 0 && (i1 = _0 ? _0.length : 0), s1 === void 0 && (s1 = 0), x1 === void 0 && (x1 = this.length), L0 < 0 || i1 > _0.length || s1 < 0 || x1 > this.length)
|
|
640
640
|
throw new RangeError("out of range index");
|
|
641
|
-
if (
|
|
641
|
+
if (s1 >= x1 && L0 >= i1)
|
|
642
642
|
return 0;
|
|
643
|
-
if (
|
|
643
|
+
if (s1 >= x1)
|
|
644
644
|
return -1;
|
|
645
645
|
if (L0 >= i1)
|
|
646
646
|
return 1;
|
|
647
|
-
if (L0 >>>= 0, i1 >>>= 0,
|
|
647
|
+
if (L0 >>>= 0, i1 >>>= 0, s1 >>>= 0, x1 >>>= 0, this === _0)
|
|
648
648
|
return 0;
|
|
649
|
-
let
|
|
650
|
-
const
|
|
651
|
-
for (let
|
|
652
|
-
if (b1
|
|
653
|
-
|
|
649
|
+
let h1 = x1 - s1, B1 = i1 - L0;
|
|
650
|
+
const F1 = Math.min(h1, B1), V1 = this.slice(s1, x1), S1 = _0.slice(L0, i1);
|
|
651
|
+
for (let b1 = 0; b1 < F1; ++b1)
|
|
652
|
+
if (V1[b1] !== S1[b1]) {
|
|
653
|
+
h1 = V1[b1], B1 = S1[b1];
|
|
654
654
|
break;
|
|
655
655
|
}
|
|
656
|
-
return
|
|
656
|
+
return h1 < B1 ? -1 : B1 < h1 ? 1 : 0;
|
|
657
657
|
};
|
|
658
|
-
function Z0(X0, _0, L0, i1,
|
|
658
|
+
function Z0(X0, _0, L0, i1, s1) {
|
|
659
659
|
if (X0.length === 0)
|
|
660
660
|
return -1;
|
|
661
|
-
if (typeof L0 == "string" ? (i1 = L0, L0 = 0) : L0 > 2147483647 ? L0 = 2147483647 : L0 < -2147483648 && (L0 = -2147483648), L0 = +L0,
|
|
662
|
-
if (
|
|
661
|
+
if (typeof L0 == "string" ? (i1 = L0, L0 = 0) : L0 > 2147483647 ? L0 = 2147483647 : L0 < -2147483648 && (L0 = -2147483648), L0 = +L0, j1(L0) && (L0 = s1 ? 0 : X0.length - 1), L0 < 0 && (L0 = X0.length + L0), L0 >= X0.length) {
|
|
662
|
+
if (s1)
|
|
663
663
|
return -1;
|
|
664
664
|
L0 = X0.length - 1;
|
|
665
665
|
} else if (L0 < 0)
|
|
666
|
-
if (
|
|
666
|
+
if (s1)
|
|
667
667
|
L0 = 0;
|
|
668
668
|
else
|
|
669
669
|
return -1;
|
|
670
670
|
if (typeof _0 == "string" && (_0 = P0.from(_0, i1)), P0.isBuffer(_0))
|
|
671
|
-
return _0.length === 0 ? -1 : t1(X0, _0, L0, i1,
|
|
671
|
+
return _0.length === 0 ? -1 : t1(X0, _0, L0, i1, s1);
|
|
672
672
|
if (typeof _0 == "number")
|
|
673
|
-
return _0 = _0 & 255, typeof Uint8Array.prototype.indexOf == "function" ?
|
|
673
|
+
return _0 = _0 & 255, typeof Uint8Array.prototype.indexOf == "function" ? s1 ? Uint8Array.prototype.indexOf.call(X0, _0, L0) : Uint8Array.prototype.lastIndexOf.call(X0, _0, L0) : t1(X0, [_0], L0, i1, s1);
|
|
674
674
|
throw new TypeError("val must be string, number or Buffer");
|
|
675
675
|
}
|
|
676
|
-
function t1(X0, _0, L0, i1,
|
|
677
|
-
let
|
|
676
|
+
function t1(X0, _0, L0, i1, s1) {
|
|
677
|
+
let x1 = 1, h1 = X0.length, B1 = _0.length;
|
|
678
678
|
if (i1 !== void 0 && (i1 = String(i1).toLowerCase(), i1 === "ucs2" || i1 === "ucs-2" || i1 === "utf16le" || i1 === "utf-16le")) {
|
|
679
679
|
if (X0.length < 2 || _0.length < 2)
|
|
680
680
|
return -1;
|
|
681
|
-
|
|
682
|
-
}
|
|
683
|
-
function
|
|
684
|
-
return
|
|
685
|
-
}
|
|
686
|
-
let
|
|
687
|
-
if (
|
|
688
|
-
let
|
|
689
|
-
for (
|
|
690
|
-
if (
|
|
691
|
-
if (
|
|
692
|
-
return
|
|
681
|
+
x1 = 2, h1 /= 2, B1 /= 2, L0 /= 2;
|
|
682
|
+
}
|
|
683
|
+
function F1(S1, b1) {
|
|
684
|
+
return x1 === 1 ? S1[b1] : S1.readUInt16BE(b1 * x1);
|
|
685
|
+
}
|
|
686
|
+
let V1;
|
|
687
|
+
if (s1) {
|
|
688
|
+
let S1 = -1;
|
|
689
|
+
for (V1 = L0; V1 < h1; V1++)
|
|
690
|
+
if (F1(X0, V1) === F1(_0, S1 === -1 ? 0 : V1 - S1)) {
|
|
691
|
+
if (S1 === -1 && (S1 = V1), V1 - S1 + 1 === B1)
|
|
692
|
+
return S1 * x1;
|
|
693
693
|
} else
|
|
694
|
-
|
|
694
|
+
S1 !== -1 && (V1 -= V1 - S1), S1 = -1;
|
|
695
695
|
} else
|
|
696
|
-
for (L0 +
|
|
697
|
-
let
|
|
698
|
-
for (let
|
|
699
|
-
if (
|
|
700
|
-
|
|
696
|
+
for (L0 + B1 > h1 && (L0 = h1 - B1), V1 = L0; V1 >= 0; V1--) {
|
|
697
|
+
let S1 = !0;
|
|
698
|
+
for (let b1 = 0; b1 < B1; b1++)
|
|
699
|
+
if (F1(X0, V1 + b1) !== F1(_0, b1)) {
|
|
700
|
+
S1 = !1;
|
|
701
701
|
break;
|
|
702
702
|
}
|
|
703
|
-
if (
|
|
704
|
-
return
|
|
703
|
+
if (S1)
|
|
704
|
+
return V1;
|
|
705
705
|
}
|
|
706
706
|
return -1;
|
|
707
707
|
}
|
|
@@ -712,71 +712,71 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
712
712
|
}, P0.prototype.lastIndexOf = function(_0, L0, i1) {
|
|
713
713
|
return Z0(this, _0, L0, i1, !1);
|
|
714
714
|
};
|
|
715
|
-
function
|
|
715
|
+
function n1(X0, _0, L0, i1) {
|
|
716
716
|
L0 = Number(L0) || 0;
|
|
717
|
-
const
|
|
718
|
-
i1 ? (i1 = Number(i1), i1 >
|
|
719
|
-
const
|
|
720
|
-
i1 >
|
|
721
|
-
let
|
|
722
|
-
for (
|
|
723
|
-
const
|
|
724
|
-
if (
|
|
725
|
-
return
|
|
726
|
-
X0[L0 +
|
|
727
|
-
}
|
|
728
|
-
return
|
|
717
|
+
const s1 = X0.length - L0;
|
|
718
|
+
i1 ? (i1 = Number(i1), i1 > s1 && (i1 = s1)) : i1 = s1;
|
|
719
|
+
const x1 = _0.length;
|
|
720
|
+
i1 > x1 / 2 && (i1 = x1 / 2);
|
|
721
|
+
let h1;
|
|
722
|
+
for (h1 = 0; h1 < i1; ++h1) {
|
|
723
|
+
const B1 = parseInt(_0.substr(h1 * 2, 2), 16);
|
|
724
|
+
if (j1(B1))
|
|
725
|
+
return h1;
|
|
726
|
+
X0[L0 + h1] = B1;
|
|
727
|
+
}
|
|
728
|
+
return h1;
|
|
729
729
|
}
|
|
730
|
-
function
|
|
731
|
-
return
|
|
730
|
+
function m1(X0, _0, L0, i1) {
|
|
731
|
+
return C1(R1(_0, X0.length - L0), X0, L0, i1);
|
|
732
732
|
}
|
|
733
|
-
function
|
|
734
|
-
return
|
|
733
|
+
function v1(X0, _0, L0, i1) {
|
|
734
|
+
return C1(N1(_0), X0, L0, i1);
|
|
735
735
|
}
|
|
736
|
-
function
|
|
737
|
-
return
|
|
736
|
+
function d1(X0, _0, L0, i1) {
|
|
737
|
+
return C1($1(_0), X0, L0, i1);
|
|
738
738
|
}
|
|
739
|
-
function
|
|
740
|
-
return
|
|
739
|
+
function p1(X0, _0, L0, i1) {
|
|
740
|
+
return C1(q1(_0, X0.length - L0), X0, L0, i1);
|
|
741
741
|
}
|
|
742
|
-
P0.prototype.write = function(_0, L0, i1,
|
|
742
|
+
P0.prototype.write = function(_0, L0, i1, s1) {
|
|
743
743
|
if (L0 === void 0)
|
|
744
|
-
|
|
744
|
+
s1 = "utf8", i1 = this.length, L0 = 0;
|
|
745
745
|
else if (i1 === void 0 && typeof L0 == "string")
|
|
746
|
-
|
|
746
|
+
s1 = L0, i1 = this.length, L0 = 0;
|
|
747
747
|
else if (isFinite(L0))
|
|
748
|
-
L0 = L0 >>> 0, isFinite(i1) ? (i1 = i1 >>> 0,
|
|
748
|
+
L0 = L0 >>> 0, isFinite(i1) ? (i1 = i1 >>> 0, s1 === void 0 && (s1 = "utf8")) : (s1 = i1, i1 = void 0);
|
|
749
749
|
else
|
|
750
750
|
throw new Error(
|
|
751
751
|
"Buffer.write(string, encoding, offset[, length]) is no longer supported"
|
|
752
752
|
);
|
|
753
|
-
const
|
|
754
|
-
if ((i1 === void 0 || i1 >
|
|
753
|
+
const x1 = this.length - L0;
|
|
754
|
+
if ((i1 === void 0 || i1 > x1) && (i1 = x1), _0.length > 0 && (i1 < 0 || L0 < 0) || L0 > this.length)
|
|
755
755
|
throw new RangeError("Attempt to write outside buffer bounds");
|
|
756
|
-
|
|
757
|
-
let
|
|
756
|
+
s1 || (s1 = "utf8");
|
|
757
|
+
let h1 = !1;
|
|
758
758
|
for (; ; )
|
|
759
|
-
switch (
|
|
759
|
+
switch (s1) {
|
|
760
760
|
case "hex":
|
|
761
|
-
return
|
|
761
|
+
return n1(this, _0, L0, i1);
|
|
762
762
|
case "utf8":
|
|
763
763
|
case "utf-8":
|
|
764
|
-
return
|
|
764
|
+
return m1(this, _0, L0, i1);
|
|
765
765
|
case "ascii":
|
|
766
766
|
case "latin1":
|
|
767
767
|
case "binary":
|
|
768
|
-
return
|
|
768
|
+
return v1(this, _0, L0, i1);
|
|
769
769
|
case "base64":
|
|
770
|
-
return
|
|
770
|
+
return d1(this, _0, L0, i1);
|
|
771
771
|
case "ucs2":
|
|
772
772
|
case "ucs-2":
|
|
773
773
|
case "utf16le":
|
|
774
774
|
case "utf-16le":
|
|
775
|
-
return
|
|
775
|
+
return p1(this, _0, L0, i1);
|
|
776
776
|
default:
|
|
777
|
-
if (
|
|
778
|
-
throw new TypeError("Unknown encoding: " +
|
|
779
|
-
|
|
777
|
+
if (h1)
|
|
778
|
+
throw new TypeError("Unknown encoding: " + s1);
|
|
779
|
+
s1 = ("" + s1).toLowerCase(), h1 = !0;
|
|
780
780
|
}
|
|
781
781
|
}, P0.prototype.toJSON = function() {
|
|
782
782
|
return {
|
|
@@ -784,308 +784,308 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
784
784
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
785
785
|
};
|
|
786
786
|
};
|
|
787
|
-
function
|
|
787
|
+
function f1(X0, _0, L0) {
|
|
788
788
|
return _0 === 0 && L0 === X0.length ? y.fromByteArray(X0) : y.fromByteArray(X0.slice(_0, L0));
|
|
789
789
|
}
|
|
790
|
-
function
|
|
790
|
+
function u1(X0, _0, L0) {
|
|
791
791
|
L0 = Math.min(X0.length, L0);
|
|
792
792
|
const i1 = [];
|
|
793
|
-
let
|
|
794
|
-
for (;
|
|
795
|
-
const
|
|
796
|
-
let
|
|
797
|
-
if (
|
|
798
|
-
let
|
|
799
|
-
switch (
|
|
793
|
+
let s1 = _0;
|
|
794
|
+
for (; s1 < L0; ) {
|
|
795
|
+
const x1 = X0[s1];
|
|
796
|
+
let h1 = null, B1 = x1 > 239 ? 4 : x1 > 223 ? 3 : x1 > 191 ? 2 : 1;
|
|
797
|
+
if (s1 + B1 <= L0) {
|
|
798
|
+
let F1, V1, S1, b1;
|
|
799
|
+
switch (B1) {
|
|
800
800
|
case 1:
|
|
801
|
-
|
|
801
|
+
x1 < 128 && (h1 = x1);
|
|
802
802
|
break;
|
|
803
803
|
case 2:
|
|
804
|
-
|
|
804
|
+
F1 = X0[s1 + 1], (F1 & 192) === 128 && (b1 = (x1 & 31) << 6 | F1 & 63, b1 > 127 && (h1 = b1));
|
|
805
805
|
break;
|
|
806
806
|
case 3:
|
|
807
|
-
|
|
807
|
+
F1 = X0[s1 + 1], V1 = X0[s1 + 2], (F1 & 192) === 128 && (V1 & 192) === 128 && (b1 = (x1 & 15) << 12 | (F1 & 63) << 6 | V1 & 63, b1 > 2047 && (b1 < 55296 || b1 > 57343) && (h1 = b1));
|
|
808
808
|
break;
|
|
809
809
|
case 4:
|
|
810
|
-
|
|
810
|
+
F1 = X0[s1 + 1], V1 = X0[s1 + 2], S1 = X0[s1 + 3], (F1 & 192) === 128 && (V1 & 192) === 128 && (S1 & 192) === 128 && (b1 = (x1 & 15) << 18 | (F1 & 63) << 12 | (V1 & 63) << 6 | S1 & 63, b1 > 65535 && b1 < 1114112 && (h1 = b1));
|
|
811
811
|
}
|
|
812
812
|
}
|
|
813
|
-
|
|
813
|
+
h1 === null ? (h1 = 65533, B1 = 1) : h1 > 65535 && (h1 -= 65536, i1.push(h1 >>> 10 & 1023 | 55296), h1 = 56320 | h1 & 1023), i1.push(h1), s1 += B1;
|
|
814
814
|
}
|
|
815
815
|
return Q0(i1);
|
|
816
816
|
}
|
|
817
|
-
const
|
|
817
|
+
const k1 = 4096;
|
|
818
818
|
function Q0(X0) {
|
|
819
819
|
const _0 = X0.length;
|
|
820
|
-
if (_0 <=
|
|
820
|
+
if (_0 <= k1)
|
|
821
821
|
return String.fromCharCode.apply(String, X0);
|
|
822
822
|
let L0 = "", i1 = 0;
|
|
823
823
|
for (; i1 < _0; )
|
|
824
824
|
L0 += String.fromCharCode.apply(
|
|
825
825
|
String,
|
|
826
|
-
X0.slice(i1, i1 +=
|
|
826
|
+
X0.slice(i1, i1 += k1)
|
|
827
827
|
);
|
|
828
828
|
return L0;
|
|
829
829
|
}
|
|
830
|
-
function
|
|
830
|
+
function r1(X0, _0, L0) {
|
|
831
831
|
let i1 = "";
|
|
832
832
|
L0 = Math.min(X0.length, L0);
|
|
833
|
-
for (let
|
|
834
|
-
i1 += String.fromCharCode(X0[
|
|
833
|
+
for (let s1 = _0; s1 < L0; ++s1)
|
|
834
|
+
i1 += String.fromCharCode(X0[s1] & 127);
|
|
835
835
|
return i1;
|
|
836
836
|
}
|
|
837
837
|
function q0(X0, _0, L0) {
|
|
838
838
|
let i1 = "";
|
|
839
839
|
L0 = Math.min(X0.length, L0);
|
|
840
|
-
for (let
|
|
841
|
-
i1 += String.fromCharCode(X0[
|
|
840
|
+
for (let s1 = _0; s1 < L0; ++s1)
|
|
841
|
+
i1 += String.fromCharCode(X0[s1]);
|
|
842
842
|
return i1;
|
|
843
843
|
}
|
|
844
844
|
function U0(X0, _0, L0) {
|
|
845
845
|
const i1 = X0.length;
|
|
846
846
|
(!_0 || _0 < 0) && (_0 = 0), (!L0 || L0 < 0 || L0 > i1) && (L0 = i1);
|
|
847
|
-
let
|
|
848
|
-
for (let
|
|
849
|
-
|
|
850
|
-
return
|
|
847
|
+
let s1 = "";
|
|
848
|
+
for (let x1 = _0; x1 < L0; ++x1)
|
|
849
|
+
s1 += O1[X0[x1]];
|
|
850
|
+
return s1;
|
|
851
851
|
}
|
|
852
|
-
function
|
|
852
|
+
function o1(X0, _0, L0) {
|
|
853
853
|
const i1 = X0.slice(_0, L0);
|
|
854
|
-
let
|
|
855
|
-
for (let
|
|
856
|
-
|
|
857
|
-
return
|
|
854
|
+
let s1 = "";
|
|
855
|
+
for (let x1 = 0; x1 < i1.length - 1; x1 += 2)
|
|
856
|
+
s1 += String.fromCharCode(i1[x1] + i1[x1 + 1] * 256);
|
|
857
|
+
return s1;
|
|
858
858
|
}
|
|
859
859
|
P0.prototype.slice = function(_0, L0) {
|
|
860
860
|
const i1 = this.length;
|
|
861
861
|
_0 = ~~_0, L0 = L0 === void 0 ? i1 : ~~L0, _0 < 0 ? (_0 += i1, _0 < 0 && (_0 = 0)) : _0 > i1 && (_0 = i1), L0 < 0 ? (L0 += i1, L0 < 0 && (L0 = 0)) : L0 > i1 && (L0 = i1), L0 < _0 && (L0 = _0);
|
|
862
|
-
const
|
|
863
|
-
return Object.setPrototypeOf(
|
|
862
|
+
const s1 = this.subarray(_0, L0);
|
|
863
|
+
return Object.setPrototypeOf(s1, P0.prototype), s1;
|
|
864
864
|
};
|
|
865
|
-
function
|
|
865
|
+
function a1(X0, _0, L0) {
|
|
866
866
|
if (X0 % 1 !== 0 || X0 < 0)
|
|
867
867
|
throw new RangeError("offset is not uint");
|
|
868
868
|
if (X0 + _0 > L0)
|
|
869
869
|
throw new RangeError("Trying to access beyond buffer length");
|
|
870
870
|
}
|
|
871
871
|
P0.prototype.readUintLE = P0.prototype.readUIntLE = function(_0, L0, i1) {
|
|
872
|
-
_0 = _0 >>> 0, L0 = L0 >>> 0, i1 ||
|
|
873
|
-
let
|
|
874
|
-
for (; ++
|
|
875
|
-
|
|
876
|
-
return
|
|
872
|
+
_0 = _0 >>> 0, L0 = L0 >>> 0, i1 || a1(_0, L0, this.length);
|
|
873
|
+
let s1 = this[_0], x1 = 1, h1 = 0;
|
|
874
|
+
for (; ++h1 < L0 && (x1 *= 256); )
|
|
875
|
+
s1 += this[_0 + h1] * x1;
|
|
876
|
+
return s1;
|
|
877
877
|
}, P0.prototype.readUintBE = P0.prototype.readUIntBE = function(_0, L0, i1) {
|
|
878
|
-
_0 = _0 >>> 0, L0 = L0 >>> 0, i1 ||
|
|
879
|
-
let
|
|
880
|
-
for (; L0 > 0 && (
|
|
881
|
-
|
|
882
|
-
return
|
|
878
|
+
_0 = _0 >>> 0, L0 = L0 >>> 0, i1 || a1(_0, L0, this.length);
|
|
879
|
+
let s1 = this[_0 + --L0], x1 = 1;
|
|
880
|
+
for (; L0 > 0 && (x1 *= 256); )
|
|
881
|
+
s1 += this[_0 + --L0] * x1;
|
|
882
|
+
return s1;
|
|
883
883
|
}, P0.prototype.readUint8 = P0.prototype.readUInt8 = function(_0, L0) {
|
|
884
|
-
return _0 = _0 >>> 0, L0 ||
|
|
884
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 1, this.length), this[_0];
|
|
885
885
|
}, P0.prototype.readUint16LE = P0.prototype.readUInt16LE = function(_0, L0) {
|
|
886
|
-
return _0 = _0 >>> 0, L0 ||
|
|
886
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 2, this.length), this[_0] | this[_0 + 1] << 8;
|
|
887
887
|
}, P0.prototype.readUint16BE = P0.prototype.readUInt16BE = function(_0, L0) {
|
|
888
|
-
return _0 = _0 >>> 0, L0 ||
|
|
888
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 2, this.length), this[_0] << 8 | this[_0 + 1];
|
|
889
889
|
}, P0.prototype.readUint32LE = P0.prototype.readUInt32LE = function(_0, L0) {
|
|
890
|
-
return _0 = _0 >>> 0, L0 ||
|
|
890
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 4, this.length), (this[_0] | this[_0 + 1] << 8 | this[_0 + 2] << 16) + this[_0 + 3] * 16777216;
|
|
891
891
|
}, P0.prototype.readUint32BE = P0.prototype.readUInt32BE = function(_0, L0) {
|
|
892
|
-
return _0 = _0 >>> 0, L0 ||
|
|
893
|
-
}, P0.prototype.readBigUInt64LE =
|
|
894
|
-
_0 = _0 >>> 0,
|
|
892
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 4, this.length), this[_0] * 16777216 + (this[_0 + 1] << 16 | this[_0 + 2] << 8 | this[_0 + 3]);
|
|
893
|
+
}, P0.prototype.readBigUInt64LE = w1(function(_0) {
|
|
894
|
+
_0 = _0 >>> 0, D1(_0, "offset");
|
|
895
895
|
const L0 = this[_0], i1 = this[_0 + 7];
|
|
896
|
-
(L0 === void 0 || i1 === void 0) &&
|
|
897
|
-
const
|
|
898
|
-
return BigInt(
|
|
899
|
-
}), P0.prototype.readBigUInt64BE =
|
|
900
|
-
_0 = _0 >>> 0,
|
|
896
|
+
(L0 === void 0 || i1 === void 0) && A1(_0, this.length - 8);
|
|
897
|
+
const s1 = L0 + this[++_0] * 2 ** 8 + this[++_0] * 2 ** 16 + this[++_0] * 2 ** 24, x1 = this[++_0] + this[++_0] * 2 ** 8 + this[++_0] * 2 ** 16 + i1 * 2 ** 24;
|
|
898
|
+
return BigInt(s1) + (BigInt(x1) << BigInt(32));
|
|
899
|
+
}), P0.prototype.readBigUInt64BE = w1(function(_0) {
|
|
900
|
+
_0 = _0 >>> 0, D1(_0, "offset");
|
|
901
901
|
const L0 = this[_0], i1 = this[_0 + 7];
|
|
902
|
-
(L0 === void 0 || i1 === void 0) &&
|
|
903
|
-
const
|
|
904
|
-
return (BigInt(
|
|
902
|
+
(L0 === void 0 || i1 === void 0) && A1(_0, this.length - 8);
|
|
903
|
+
const s1 = L0 * 2 ** 24 + this[++_0] * 2 ** 16 + this[++_0] * 2 ** 8 + this[++_0], x1 = this[++_0] * 2 ** 24 + this[++_0] * 2 ** 16 + this[++_0] * 2 ** 8 + i1;
|
|
904
|
+
return (BigInt(s1) << BigInt(32)) + BigInt(x1);
|
|
905
905
|
}), P0.prototype.readIntLE = function(_0, L0, i1) {
|
|
906
|
-
_0 = _0 >>> 0, L0 = L0 >>> 0, i1 ||
|
|
907
|
-
let
|
|
908
|
-
for (; ++
|
|
909
|
-
|
|
910
|
-
return
|
|
906
|
+
_0 = _0 >>> 0, L0 = L0 >>> 0, i1 || a1(_0, L0, this.length);
|
|
907
|
+
let s1 = this[_0], x1 = 1, h1 = 0;
|
|
908
|
+
for (; ++h1 < L0 && (x1 *= 256); )
|
|
909
|
+
s1 += this[_0 + h1] * x1;
|
|
910
|
+
return x1 *= 128, s1 >= x1 && (s1 -= Math.pow(2, 8 * L0)), s1;
|
|
911
911
|
}, P0.prototype.readIntBE = function(_0, L0, i1) {
|
|
912
|
-
_0 = _0 >>> 0, L0 = L0 >>> 0, i1 ||
|
|
913
|
-
let
|
|
914
|
-
for (;
|
|
915
|
-
|
|
916
|
-
return
|
|
912
|
+
_0 = _0 >>> 0, L0 = L0 >>> 0, i1 || a1(_0, L0, this.length);
|
|
913
|
+
let s1 = L0, x1 = 1, h1 = this[_0 + --s1];
|
|
914
|
+
for (; s1 > 0 && (x1 *= 256); )
|
|
915
|
+
h1 += this[_0 + --s1] * x1;
|
|
916
|
+
return x1 *= 128, h1 >= x1 && (h1 -= Math.pow(2, 8 * L0)), h1;
|
|
917
917
|
}, P0.prototype.readInt8 = function(_0, L0) {
|
|
918
|
-
return _0 = _0 >>> 0, L0 ||
|
|
918
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 1, this.length), this[_0] & 128 ? (255 - this[_0] + 1) * -1 : this[_0];
|
|
919
919
|
}, P0.prototype.readInt16LE = function(_0, L0) {
|
|
920
|
-
_0 = _0 >>> 0, L0 ||
|
|
920
|
+
_0 = _0 >>> 0, L0 || a1(_0, 2, this.length);
|
|
921
921
|
const i1 = this[_0] | this[_0 + 1] << 8;
|
|
922
922
|
return i1 & 32768 ? i1 | 4294901760 : i1;
|
|
923
923
|
}, P0.prototype.readInt16BE = function(_0, L0) {
|
|
924
|
-
_0 = _0 >>> 0, L0 ||
|
|
924
|
+
_0 = _0 >>> 0, L0 || a1(_0, 2, this.length);
|
|
925
925
|
const i1 = this[_0 + 1] | this[_0] << 8;
|
|
926
926
|
return i1 & 32768 ? i1 | 4294901760 : i1;
|
|
927
927
|
}, P0.prototype.readInt32LE = function(_0, L0) {
|
|
928
|
-
return _0 = _0 >>> 0, L0 ||
|
|
928
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 4, this.length), this[_0] | this[_0 + 1] << 8 | this[_0 + 2] << 16 | this[_0 + 3] << 24;
|
|
929
929
|
}, P0.prototype.readInt32BE = function(_0, L0) {
|
|
930
|
-
return _0 = _0 >>> 0, L0 ||
|
|
931
|
-
}, P0.prototype.readBigInt64LE =
|
|
932
|
-
_0 = _0 >>> 0,
|
|
930
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 4, this.length), this[_0] << 24 | this[_0 + 1] << 16 | this[_0 + 2] << 8 | this[_0 + 3];
|
|
931
|
+
}, P0.prototype.readBigInt64LE = w1(function(_0) {
|
|
932
|
+
_0 = _0 >>> 0, D1(_0, "offset");
|
|
933
933
|
const L0 = this[_0], i1 = this[_0 + 7];
|
|
934
|
-
(L0 === void 0 || i1 === void 0) &&
|
|
935
|
-
const
|
|
936
|
-
return (BigInt(
|
|
937
|
-
}), P0.prototype.readBigInt64BE =
|
|
938
|
-
_0 = _0 >>> 0,
|
|
934
|
+
(L0 === void 0 || i1 === void 0) && A1(_0, this.length - 8);
|
|
935
|
+
const s1 = this[_0 + 4] + this[_0 + 5] * 2 ** 8 + this[_0 + 6] * 2 ** 16 + (i1 << 24);
|
|
936
|
+
return (BigInt(s1) << BigInt(32)) + BigInt(L0 + this[++_0] * 2 ** 8 + this[++_0] * 2 ** 16 + this[++_0] * 2 ** 24);
|
|
937
|
+
}), P0.prototype.readBigInt64BE = w1(function(_0) {
|
|
938
|
+
_0 = _0 >>> 0, D1(_0, "offset");
|
|
939
939
|
const L0 = this[_0], i1 = this[_0 + 7];
|
|
940
|
-
(L0 === void 0 || i1 === void 0) &&
|
|
941
|
-
const
|
|
940
|
+
(L0 === void 0 || i1 === void 0) && A1(_0, this.length - 8);
|
|
941
|
+
const s1 = (L0 << 24) + // Overflow
|
|
942
942
|
this[++_0] * 2 ** 16 + this[++_0] * 2 ** 8 + this[++_0];
|
|
943
|
-
return (BigInt(
|
|
943
|
+
return (BigInt(s1) << BigInt(32)) + BigInt(this[++_0] * 2 ** 24 + this[++_0] * 2 ** 16 + this[++_0] * 2 ** 8 + i1);
|
|
944
944
|
}), P0.prototype.readFloatLE = function(_0, L0) {
|
|
945
|
-
return _0 = _0 >>> 0, L0 ||
|
|
945
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 4, this.length), A.read(this, _0, !0, 23, 4);
|
|
946
946
|
}, P0.prototype.readFloatBE = function(_0, L0) {
|
|
947
|
-
return _0 = _0 >>> 0, L0 ||
|
|
947
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 4, this.length), A.read(this, _0, !1, 23, 4);
|
|
948
948
|
}, P0.prototype.readDoubleLE = function(_0, L0) {
|
|
949
|
-
return _0 = _0 >>> 0, L0 ||
|
|
949
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 8, this.length), A.read(this, _0, !0, 52, 8);
|
|
950
950
|
}, P0.prototype.readDoubleBE = function(_0, L0) {
|
|
951
|
-
return _0 = _0 >>> 0, L0 ||
|
|
951
|
+
return _0 = _0 >>> 0, L0 || a1(_0, 8, this.length), A.read(this, _0, !1, 52, 8);
|
|
952
952
|
};
|
|
953
|
-
function
|
|
953
|
+
function l1(X0, _0, L0, i1, s1, x1) {
|
|
954
954
|
if (!P0.isBuffer(X0))
|
|
955
955
|
throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
956
|
-
if (_0 >
|
|
956
|
+
if (_0 > s1 || _0 < x1)
|
|
957
957
|
throw new RangeError('"value" argument is out of bounds');
|
|
958
958
|
if (L0 + i1 > X0.length)
|
|
959
959
|
throw new RangeError("Index out of range");
|
|
960
960
|
}
|
|
961
|
-
P0.prototype.writeUintLE = P0.prototype.writeUIntLE = function(_0, L0, i1,
|
|
962
|
-
if (_0 = +_0, L0 = L0 >>> 0, i1 = i1 >>> 0, !
|
|
963
|
-
const
|
|
964
|
-
|
|
965
|
-
}
|
|
966
|
-
let
|
|
967
|
-
for (this[L0] = _0 & 255; ++
|
|
968
|
-
this[L0 +
|
|
961
|
+
P0.prototype.writeUintLE = P0.prototype.writeUIntLE = function(_0, L0, i1, s1) {
|
|
962
|
+
if (_0 = +_0, L0 = L0 >>> 0, i1 = i1 >>> 0, !s1) {
|
|
963
|
+
const B1 = Math.pow(2, 8 * i1) - 1;
|
|
964
|
+
l1(this, _0, L0, i1, B1, 0);
|
|
965
|
+
}
|
|
966
|
+
let x1 = 1, h1 = 0;
|
|
967
|
+
for (this[L0] = _0 & 255; ++h1 < i1 && (x1 *= 256); )
|
|
968
|
+
this[L0 + h1] = _0 / x1 & 255;
|
|
969
969
|
return L0 + i1;
|
|
970
|
-
}, P0.prototype.writeUintBE = P0.prototype.writeUIntBE = function(_0, L0, i1,
|
|
971
|
-
if (_0 = +_0, L0 = L0 >>> 0, i1 = i1 >>> 0, !
|
|
972
|
-
const
|
|
973
|
-
|
|
974
|
-
}
|
|
975
|
-
let
|
|
976
|
-
for (this[L0 +
|
|
977
|
-
this[L0 +
|
|
970
|
+
}, P0.prototype.writeUintBE = P0.prototype.writeUIntBE = function(_0, L0, i1, s1) {
|
|
971
|
+
if (_0 = +_0, L0 = L0 >>> 0, i1 = i1 >>> 0, !s1) {
|
|
972
|
+
const B1 = Math.pow(2, 8 * i1) - 1;
|
|
973
|
+
l1(this, _0, L0, i1, B1, 0);
|
|
974
|
+
}
|
|
975
|
+
let x1 = i1 - 1, h1 = 1;
|
|
976
|
+
for (this[L0 + x1] = _0 & 255; --x1 >= 0 && (h1 *= 256); )
|
|
977
|
+
this[L0 + x1] = _0 / h1 & 255;
|
|
978
978
|
return L0 + i1;
|
|
979
979
|
}, P0.prototype.writeUint8 = P0.prototype.writeUInt8 = function(_0, L0, i1) {
|
|
980
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
980
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 1, 255, 0), this[L0] = _0 & 255, L0 + 1;
|
|
981
981
|
}, P0.prototype.writeUint16LE = P0.prototype.writeUInt16LE = function(_0, L0, i1) {
|
|
982
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
982
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 2, 65535, 0), this[L0] = _0 & 255, this[L0 + 1] = _0 >>> 8, L0 + 2;
|
|
983
983
|
}, P0.prototype.writeUint16BE = P0.prototype.writeUInt16BE = function(_0, L0, i1) {
|
|
984
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
984
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 2, 65535, 0), this[L0] = _0 >>> 8, this[L0 + 1] = _0 & 255, L0 + 2;
|
|
985
985
|
}, P0.prototype.writeUint32LE = P0.prototype.writeUInt32LE = function(_0, L0, i1) {
|
|
986
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
986
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 4, 4294967295, 0), this[L0 + 3] = _0 >>> 24, this[L0 + 2] = _0 >>> 16, this[L0 + 1] = _0 >>> 8, this[L0] = _0 & 255, L0 + 4;
|
|
987
987
|
}, P0.prototype.writeUint32BE = P0.prototype.writeUInt32BE = function(_0, L0, i1) {
|
|
988
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
988
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 4, 4294967295, 0), this[L0] = _0 >>> 24, this[L0 + 1] = _0 >>> 16, this[L0 + 2] = _0 >>> 8, this[L0 + 3] = _0 & 255, L0 + 4;
|
|
989
989
|
};
|
|
990
|
-
function
|
|
991
|
-
|
|
992
|
-
let
|
|
993
|
-
X0[L0++] =
|
|
994
|
-
let
|
|
995
|
-
return X0[L0++] =
|
|
990
|
+
function c1(X0, _0, L0, i1, s1) {
|
|
991
|
+
I1(_0, i1, s1, X0, L0, 7);
|
|
992
|
+
let x1 = Number(_0 & BigInt(4294967295));
|
|
993
|
+
X0[L0++] = x1, x1 = x1 >> 8, X0[L0++] = x1, x1 = x1 >> 8, X0[L0++] = x1, x1 = x1 >> 8, X0[L0++] = x1;
|
|
994
|
+
let h1 = Number(_0 >> BigInt(32) & BigInt(4294967295));
|
|
995
|
+
return X0[L0++] = h1, h1 = h1 >> 8, X0[L0++] = h1, h1 = h1 >> 8, X0[L0++] = h1, h1 = h1 >> 8, X0[L0++] = h1, L0;
|
|
996
996
|
}
|
|
997
|
-
function
|
|
998
|
-
|
|
999
|
-
let
|
|
1000
|
-
X0[L0 + 7] =
|
|
1001
|
-
let
|
|
1002
|
-
return X0[L0 + 3] =
|
|
997
|
+
function y1(X0, _0, L0, i1, s1) {
|
|
998
|
+
I1(_0, i1, s1, X0, L0, 7);
|
|
999
|
+
let x1 = Number(_0 & BigInt(4294967295));
|
|
1000
|
+
X0[L0 + 7] = x1, x1 = x1 >> 8, X0[L0 + 6] = x1, x1 = x1 >> 8, X0[L0 + 5] = x1, x1 = x1 >> 8, X0[L0 + 4] = x1;
|
|
1001
|
+
let h1 = Number(_0 >> BigInt(32) & BigInt(4294967295));
|
|
1002
|
+
return X0[L0 + 3] = h1, h1 = h1 >> 8, X0[L0 + 2] = h1, h1 = h1 >> 8, X0[L0 + 1] = h1, h1 = h1 >> 8, X0[L0] = h1, L0 + 8;
|
|
1003
1003
|
}
|
|
1004
|
-
P0.prototype.writeBigUInt64LE =
|
|
1005
|
-
return
|
|
1006
|
-
}), P0.prototype.writeBigUInt64BE =
|
|
1007
|
-
return
|
|
1008
|
-
}), P0.prototype.writeIntLE = function(_0, L0, i1,
|
|
1009
|
-
if (_0 = +_0, L0 = L0 >>> 0, !
|
|
1010
|
-
const
|
|
1011
|
-
|
|
1012
|
-
}
|
|
1013
|
-
let
|
|
1014
|
-
for (this[L0] = _0 & 255; ++
|
|
1015
|
-
_0 < 0 &&
|
|
1004
|
+
P0.prototype.writeBigUInt64LE = w1(function(_0, L0 = 0) {
|
|
1005
|
+
return c1(this, _0, L0, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
1006
|
+
}), P0.prototype.writeBigUInt64BE = w1(function(_0, L0 = 0) {
|
|
1007
|
+
return y1(this, _0, L0, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
1008
|
+
}), P0.prototype.writeIntLE = function(_0, L0, i1, s1) {
|
|
1009
|
+
if (_0 = +_0, L0 = L0 >>> 0, !s1) {
|
|
1010
|
+
const F1 = Math.pow(2, 8 * i1 - 1);
|
|
1011
|
+
l1(this, _0, L0, i1, F1 - 1, -F1);
|
|
1012
|
+
}
|
|
1013
|
+
let x1 = 0, h1 = 1, B1 = 0;
|
|
1014
|
+
for (this[L0] = _0 & 255; ++x1 < i1 && (h1 *= 256); )
|
|
1015
|
+
_0 < 0 && B1 === 0 && this[L0 + x1 - 1] !== 0 && (B1 = 1), this[L0 + x1] = (_0 / h1 >> 0) - B1 & 255;
|
|
1016
1016
|
return L0 + i1;
|
|
1017
|
-
}, P0.prototype.writeIntBE = function(_0, L0, i1,
|
|
1018
|
-
if (_0 = +_0, L0 = L0 >>> 0, !
|
|
1019
|
-
const
|
|
1020
|
-
|
|
1021
|
-
}
|
|
1022
|
-
let
|
|
1023
|
-
for (this[L0 +
|
|
1024
|
-
_0 < 0 &&
|
|
1017
|
+
}, P0.prototype.writeIntBE = function(_0, L0, i1, s1) {
|
|
1018
|
+
if (_0 = +_0, L0 = L0 >>> 0, !s1) {
|
|
1019
|
+
const F1 = Math.pow(2, 8 * i1 - 1);
|
|
1020
|
+
l1(this, _0, L0, i1, F1 - 1, -F1);
|
|
1021
|
+
}
|
|
1022
|
+
let x1 = i1 - 1, h1 = 1, B1 = 0;
|
|
1023
|
+
for (this[L0 + x1] = _0 & 255; --x1 >= 0 && (h1 *= 256); )
|
|
1024
|
+
_0 < 0 && B1 === 0 && this[L0 + x1 + 1] !== 0 && (B1 = 1), this[L0 + x1] = (_0 / h1 >> 0) - B1 & 255;
|
|
1025
1025
|
return L0 + i1;
|
|
1026
1026
|
}, P0.prototype.writeInt8 = function(_0, L0, i1) {
|
|
1027
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
1027
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 1, 127, -128), _0 < 0 && (_0 = 255 + _0 + 1), this[L0] = _0 & 255, L0 + 1;
|
|
1028
1028
|
}, P0.prototype.writeInt16LE = function(_0, L0, i1) {
|
|
1029
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
1029
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 2, 32767, -32768), this[L0] = _0 & 255, this[L0 + 1] = _0 >>> 8, L0 + 2;
|
|
1030
1030
|
}, P0.prototype.writeInt16BE = function(_0, L0, i1) {
|
|
1031
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
1031
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 2, 32767, -32768), this[L0] = _0 >>> 8, this[L0 + 1] = _0 & 255, L0 + 2;
|
|
1032
1032
|
}, P0.prototype.writeInt32LE = function(_0, L0, i1) {
|
|
1033
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
1033
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 4, 2147483647, -2147483648), this[L0] = _0 & 255, this[L0 + 1] = _0 >>> 8, this[L0 + 2] = _0 >>> 16, this[L0 + 3] = _0 >>> 24, L0 + 4;
|
|
1034
1034
|
}, P0.prototype.writeInt32BE = function(_0, L0, i1) {
|
|
1035
|
-
return _0 = +_0, L0 = L0 >>> 0, i1 ||
|
|
1036
|
-
}, P0.prototype.writeBigInt64LE =
|
|
1037
|
-
return
|
|
1038
|
-
}), P0.prototype.writeBigInt64BE =
|
|
1039
|
-
return
|
|
1035
|
+
return _0 = +_0, L0 = L0 >>> 0, i1 || l1(this, _0, L0, 4, 2147483647, -2147483648), _0 < 0 && (_0 = 4294967295 + _0 + 1), this[L0] = _0 >>> 24, this[L0 + 1] = _0 >>> 16, this[L0 + 2] = _0 >>> 8, this[L0 + 3] = _0 & 255, L0 + 4;
|
|
1036
|
+
}, P0.prototype.writeBigInt64LE = w1(function(_0, L0 = 0) {
|
|
1037
|
+
return c1(this, _0, L0, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
1038
|
+
}), P0.prototype.writeBigInt64BE = w1(function(_0, L0 = 0) {
|
|
1039
|
+
return y1(this, _0, L0, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
1040
1040
|
});
|
|
1041
|
-
function
|
|
1041
|
+
function E1(X0, _0, L0, i1, s1, x1) {
|
|
1042
1042
|
if (L0 + i1 > X0.length)
|
|
1043
1043
|
throw new RangeError("Index out of range");
|
|
1044
1044
|
if (L0 < 0)
|
|
1045
1045
|
throw new RangeError("Index out of range");
|
|
1046
1046
|
}
|
|
1047
|
-
function
|
|
1048
|
-
return _0 = +_0, L0 = L0 >>> 0,
|
|
1047
|
+
function g1(X0, _0, L0, i1, s1) {
|
|
1048
|
+
return _0 = +_0, L0 = L0 >>> 0, s1 || E1(X0, _0, L0, 4), A.write(X0, _0, L0, i1, 23, 4), L0 + 4;
|
|
1049
1049
|
}
|
|
1050
1050
|
P0.prototype.writeFloatLE = function(_0, L0, i1) {
|
|
1051
|
-
return
|
|
1051
|
+
return g1(this, _0, L0, !0, i1);
|
|
1052
1052
|
}, P0.prototype.writeFloatBE = function(_0, L0, i1) {
|
|
1053
|
-
return
|
|
1053
|
+
return g1(this, _0, L0, !1, i1);
|
|
1054
1054
|
};
|
|
1055
|
-
function
|
|
1056
|
-
return _0 = +_0, L0 = L0 >>> 0,
|
|
1055
|
+
function G1(X0, _0, L0, i1, s1) {
|
|
1056
|
+
return _0 = +_0, L0 = L0 >>> 0, s1 || E1(X0, _0, L0, 8), A.write(X0, _0, L0, i1, 52, 8), L0 + 8;
|
|
1057
1057
|
}
|
|
1058
1058
|
P0.prototype.writeDoubleLE = function(_0, L0, i1) {
|
|
1059
|
-
return
|
|
1059
|
+
return G1(this, _0, L0, !0, i1);
|
|
1060
1060
|
}, P0.prototype.writeDoubleBE = function(_0, L0, i1) {
|
|
1061
|
-
return
|
|
1062
|
-
}, P0.prototype.copy = function(_0, L0, i1,
|
|
1061
|
+
return G1(this, _0, L0, !1, i1);
|
|
1062
|
+
}, P0.prototype.copy = function(_0, L0, i1, s1) {
|
|
1063
1063
|
if (!P0.isBuffer(_0))
|
|
1064
1064
|
throw new TypeError("argument should be a Buffer");
|
|
1065
|
-
if (i1 || (i1 = 0), !
|
|
1065
|
+
if (i1 || (i1 = 0), !s1 && s1 !== 0 && (s1 = this.length), L0 >= _0.length && (L0 = _0.length), L0 || (L0 = 0), s1 > 0 && s1 < i1 && (s1 = i1), s1 === i1 || _0.length === 0 || this.length === 0)
|
|
1066
1066
|
return 0;
|
|
1067
1067
|
if (L0 < 0)
|
|
1068
1068
|
throw new RangeError("targetStart out of bounds");
|
|
1069
1069
|
if (i1 < 0 || i1 >= this.length)
|
|
1070
1070
|
throw new RangeError("Index out of range");
|
|
1071
|
-
if (
|
|
1071
|
+
if (s1 < 0)
|
|
1072
1072
|
throw new RangeError("sourceEnd out of bounds");
|
|
1073
|
-
|
|
1074
|
-
const
|
|
1075
|
-
return this === _0 && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(L0, i1,
|
|
1073
|
+
s1 > this.length && (s1 = this.length), _0.length - L0 < s1 - i1 && (s1 = _0.length - L0 + i1);
|
|
1074
|
+
const x1 = s1 - i1;
|
|
1075
|
+
return this === _0 && typeof Uint8Array.prototype.copyWithin == "function" ? this.copyWithin(L0, i1, s1) : Uint8Array.prototype.set.call(
|
|
1076
1076
|
_0,
|
|
1077
|
-
this.subarray(i1,
|
|
1077
|
+
this.subarray(i1, s1),
|
|
1078
1078
|
L0
|
|
1079
|
-
),
|
|
1080
|
-
}, P0.prototype.fill = function(_0, L0, i1,
|
|
1079
|
+
), x1;
|
|
1080
|
+
}, P0.prototype.fill = function(_0, L0, i1, s1) {
|
|
1081
1081
|
if (typeof _0 == "string") {
|
|
1082
|
-
if (typeof L0 == "string" ? (
|
|
1082
|
+
if (typeof L0 == "string" ? (s1 = L0, L0 = 0, i1 = this.length) : typeof i1 == "string" && (s1 = i1, i1 = this.length), s1 !== void 0 && typeof s1 != "string")
|
|
1083
1083
|
throw new TypeError("encoding must be a string");
|
|
1084
|
-
if (typeof
|
|
1085
|
-
throw new TypeError("Unknown encoding: " +
|
|
1084
|
+
if (typeof s1 == "string" && !P0.isEncoding(s1))
|
|
1085
|
+
throw new TypeError("Unknown encoding: " + s1);
|
|
1086
1086
|
if (_0.length === 1) {
|
|
1087
|
-
const
|
|
1088
|
-
(
|
|
1087
|
+
const h1 = _0.charCodeAt(0);
|
|
1088
|
+
(s1 === "utf8" && h1 < 128 || s1 === "latin1") && (_0 = h1);
|
|
1089
1089
|
}
|
|
1090
1090
|
} else
|
|
1091
1091
|
typeof _0 == "number" ? _0 = _0 & 255 : typeof _0 == "boolean" && (_0 = Number(_0));
|
|
@@ -1094,22 +1094,22 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
1094
1094
|
if (i1 <= L0)
|
|
1095
1095
|
return this;
|
|
1096
1096
|
L0 = L0 >>> 0, i1 = i1 === void 0 ? this.length : i1 >>> 0, _0 || (_0 = 0);
|
|
1097
|
-
let
|
|
1097
|
+
let x1;
|
|
1098
1098
|
if (typeof _0 == "number")
|
|
1099
|
-
for (
|
|
1100
|
-
this[
|
|
1099
|
+
for (x1 = L0; x1 < i1; ++x1)
|
|
1100
|
+
this[x1] = _0;
|
|
1101
1101
|
else {
|
|
1102
|
-
const
|
|
1103
|
-
if (
|
|
1102
|
+
const h1 = P0.isBuffer(_0) ? _0 : P0.from(_0, s1), B1 = h1.length;
|
|
1103
|
+
if (B1 === 0)
|
|
1104
1104
|
throw new TypeError('The value "' + _0 + '" is invalid for argument "value"');
|
|
1105
|
-
for (
|
|
1106
|
-
this[
|
|
1105
|
+
for (x1 = 0; x1 < i1 - L0; ++x1)
|
|
1106
|
+
this[x1 + L0] = h1[x1 % B1];
|
|
1107
1107
|
}
|
|
1108
1108
|
return this;
|
|
1109
1109
|
};
|
|
1110
|
-
const
|
|
1111
|
-
function
|
|
1112
|
-
|
|
1110
|
+
const T1 = {};
|
|
1111
|
+
function L1(X0, _0, L0) {
|
|
1112
|
+
T1[X0] = class extends L0 {
|
|
1113
1113
|
constructor() {
|
|
1114
1114
|
super(), Object.defineProperty(this, "message", {
|
|
1115
1115
|
value: _0.apply(this, arguments),
|
|
@@ -1120,11 +1120,11 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
1120
1120
|
get code() {
|
|
1121
1121
|
return X0;
|
|
1122
1122
|
}
|
|
1123
|
-
set code(
|
|
1123
|
+
set code(s1) {
|
|
1124
1124
|
Object.defineProperty(this, "code", {
|
|
1125
1125
|
configurable: !0,
|
|
1126
1126
|
enumerable: !0,
|
|
1127
|
-
value:
|
|
1127
|
+
value: s1,
|
|
1128
1128
|
writable: !0
|
|
1129
1129
|
});
|
|
1130
1130
|
}
|
|
@@ -1133,104 +1133,104 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
1133
1133
|
}
|
|
1134
1134
|
};
|
|
1135
1135
|
}
|
|
1136
|
-
|
|
1136
|
+
L1(
|
|
1137
1137
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
1138
1138
|
function(X0) {
|
|
1139
1139
|
return X0 ? `${X0} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
1140
1140
|
},
|
|
1141
1141
|
RangeError
|
|
1142
|
-
),
|
|
1142
|
+
), L1(
|
|
1143
1143
|
"ERR_INVALID_ARG_TYPE",
|
|
1144
1144
|
function(X0, _0) {
|
|
1145
1145
|
return `The "${X0}" argument must be of type number. Received type ${typeof _0}`;
|
|
1146
1146
|
},
|
|
1147
1147
|
TypeError
|
|
1148
|
-
),
|
|
1148
|
+
), L1(
|
|
1149
1149
|
"ERR_OUT_OF_RANGE",
|
|
1150
1150
|
function(X0, _0, L0) {
|
|
1151
|
-
let i1 = `The value of "${X0}" is out of range.`,
|
|
1152
|
-
return Number.isInteger(L0) && Math.abs(L0) > 2 ** 32 ?
|
|
1151
|
+
let i1 = `The value of "${X0}" is out of range.`, s1 = L0;
|
|
1152
|
+
return Number.isInteger(L0) && Math.abs(L0) > 2 ** 32 ? s1 = M1(String(L0)) : typeof L0 == "bigint" && (s1 = String(L0), (L0 > BigInt(2) ** BigInt(32) || L0 < -(BigInt(2) ** BigInt(32))) && (s1 = M1(s1)), s1 += "n"), i1 += ` It must be ${_0}. Received ${s1}`, i1;
|
|
1153
1153
|
},
|
|
1154
1154
|
RangeError
|
|
1155
1155
|
);
|
|
1156
|
-
function
|
|
1156
|
+
function M1(X0) {
|
|
1157
1157
|
let _0 = "", L0 = X0.length;
|
|
1158
1158
|
const i1 = X0[0] === "-" ? 1 : 0;
|
|
1159
1159
|
for (; L0 >= i1 + 4; L0 -= 3)
|
|
1160
1160
|
_0 = `_${X0.slice(L0 - 3, L0)}${_0}`;
|
|
1161
1161
|
return `${X0.slice(0, L0)}${_0}`;
|
|
1162
1162
|
}
|
|
1163
|
-
function
|
|
1164
|
-
|
|
1163
|
+
function P1(X0, _0, L0) {
|
|
1164
|
+
D1(_0, "offset"), (X0[_0] === void 0 || X0[_0 + L0] === void 0) && A1(_0, X0.length - (L0 + 1));
|
|
1165
1165
|
}
|
|
1166
|
-
function
|
|
1166
|
+
function I1(X0, _0, L0, i1, s1, x1) {
|
|
1167
1167
|
if (X0 > L0 || X0 < _0) {
|
|
1168
|
-
const
|
|
1169
|
-
let
|
|
1170
|
-
throw
|
|
1168
|
+
const h1 = typeof _0 == "bigint" ? "n" : "";
|
|
1169
|
+
let B1;
|
|
1170
|
+
throw x1 > 3 ? _0 === 0 || _0 === BigInt(0) ? B1 = `>= 0${h1} and < 2${h1} ** ${(x1 + 1) * 8}${h1}` : B1 = `>= -(2${h1} ** ${(x1 + 1) * 8 - 1}${h1}) and < 2 ** ${(x1 + 1) * 8 - 1}${h1}` : B1 = `>= ${_0}${h1} and <= ${L0}${h1}`, new T1.ERR_OUT_OF_RANGE("value", B1, X0);
|
|
1171
1171
|
}
|
|
1172
|
-
|
|
1172
|
+
P1(i1, s1, x1);
|
|
1173
1173
|
}
|
|
1174
|
-
function
|
|
1174
|
+
function D1(X0, _0) {
|
|
1175
1175
|
if (typeof X0 != "number")
|
|
1176
|
-
throw new
|
|
1176
|
+
throw new T1.ERR_INVALID_ARG_TYPE(_0, "number", X0);
|
|
1177
1177
|
}
|
|
1178
|
-
function
|
|
1179
|
-
throw Math.floor(X0) !== X0 ? (
|
|
1178
|
+
function A1(X0, _0, L0) {
|
|
1179
|
+
throw Math.floor(X0) !== X0 ? (D1(X0, L0), new T1.ERR_OUT_OF_RANGE(L0 || "offset", "an integer", X0)) : _0 < 0 ? new T1.ERR_BUFFER_OUT_OF_BOUNDS() : new T1.ERR_OUT_OF_RANGE(
|
|
1180
1180
|
L0 || "offset",
|
|
1181
1181
|
`>= ${L0 ? 1 : 0} and <= ${_0}`,
|
|
1182
1182
|
X0
|
|
1183
1183
|
);
|
|
1184
1184
|
}
|
|
1185
|
-
const
|
|
1186
|
-
function
|
|
1187
|
-
if (X0 = X0.split("=")[0], X0 = X0.trim().replace(
|
|
1185
|
+
const H1 = /[^+/0-9A-Za-z-_]/g;
|
|
1186
|
+
function W1(X0) {
|
|
1187
|
+
if (X0 = X0.split("=")[0], X0 = X0.trim().replace(H1, ""), X0.length < 2)
|
|
1188
1188
|
return "";
|
|
1189
1189
|
for (; X0.length % 4 !== 0; )
|
|
1190
1190
|
X0 = X0 + "=";
|
|
1191
1191
|
return X0;
|
|
1192
1192
|
}
|
|
1193
|
-
function
|
|
1193
|
+
function R1(X0, _0) {
|
|
1194
1194
|
_0 = _0 || 1 / 0;
|
|
1195
1195
|
let L0;
|
|
1196
1196
|
const i1 = X0.length;
|
|
1197
|
-
let
|
|
1198
|
-
const
|
|
1199
|
-
for (let
|
|
1200
|
-
if (L0 = X0.charCodeAt(
|
|
1201
|
-
if (!
|
|
1197
|
+
let s1 = null;
|
|
1198
|
+
const x1 = [];
|
|
1199
|
+
for (let h1 = 0; h1 < i1; ++h1) {
|
|
1200
|
+
if (L0 = X0.charCodeAt(h1), L0 > 55295 && L0 < 57344) {
|
|
1201
|
+
if (!s1) {
|
|
1202
1202
|
if (L0 > 56319) {
|
|
1203
|
-
(_0 -= 3) > -1 &&
|
|
1203
|
+
(_0 -= 3) > -1 && x1.push(239, 191, 189);
|
|
1204
1204
|
continue;
|
|
1205
|
-
} else if (
|
|
1206
|
-
(_0 -= 3) > -1 &&
|
|
1205
|
+
} else if (h1 + 1 === i1) {
|
|
1206
|
+
(_0 -= 3) > -1 && x1.push(239, 191, 189);
|
|
1207
1207
|
continue;
|
|
1208
1208
|
}
|
|
1209
|
-
|
|
1209
|
+
s1 = L0;
|
|
1210
1210
|
continue;
|
|
1211
1211
|
}
|
|
1212
1212
|
if (L0 < 56320) {
|
|
1213
|
-
(_0 -= 3) > -1 &&
|
|
1213
|
+
(_0 -= 3) > -1 && x1.push(239, 191, 189), s1 = L0;
|
|
1214
1214
|
continue;
|
|
1215
1215
|
}
|
|
1216
|
-
L0 = (
|
|
1216
|
+
L0 = (s1 - 55296 << 10 | L0 - 56320) + 65536;
|
|
1217
1217
|
} else
|
|
1218
|
-
|
|
1219
|
-
if (
|
|
1218
|
+
s1 && (_0 -= 3) > -1 && x1.push(239, 191, 189);
|
|
1219
|
+
if (s1 = null, L0 < 128) {
|
|
1220
1220
|
if ((_0 -= 1) < 0)
|
|
1221
1221
|
break;
|
|
1222
|
-
|
|
1222
|
+
x1.push(L0);
|
|
1223
1223
|
} else if (L0 < 2048) {
|
|
1224
1224
|
if ((_0 -= 2) < 0)
|
|
1225
1225
|
break;
|
|
1226
|
-
|
|
1226
|
+
x1.push(
|
|
1227
1227
|
L0 >> 6 | 192,
|
|
1228
1228
|
L0 & 63 | 128
|
|
1229
1229
|
);
|
|
1230
1230
|
} else if (L0 < 65536) {
|
|
1231
1231
|
if ((_0 -= 3) < 0)
|
|
1232
1232
|
break;
|
|
1233
|
-
|
|
1233
|
+
x1.push(
|
|
1234
1234
|
L0 >> 12 | 224,
|
|
1235
1235
|
L0 >> 6 & 63 | 128,
|
|
1236
1236
|
L0 & 63 | 128
|
|
@@ -1238,7 +1238,7 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
1238
1238
|
} else if (L0 < 1114112) {
|
|
1239
1239
|
if ((_0 -= 4) < 0)
|
|
1240
1240
|
break;
|
|
1241
|
-
|
|
1241
|
+
x1.push(
|
|
1242
1242
|
L0 >> 18 | 240,
|
|
1243
1243
|
L0 >> 12 & 63 | 128,
|
|
1244
1244
|
L0 >> 6 & 63 | 128,
|
|
@@ -1247,49 +1247,49 @@ ieee754.write = function(k, y, A, E, g0, S0) {
|
|
|
1247
1247
|
} else
|
|
1248
1248
|
throw new Error("Invalid code point");
|
|
1249
1249
|
}
|
|
1250
|
-
return
|
|
1250
|
+
return x1;
|
|
1251
1251
|
}
|
|
1252
|
-
function
|
|
1252
|
+
function N1(X0) {
|
|
1253
1253
|
const _0 = [];
|
|
1254
1254
|
for (let L0 = 0; L0 < X0.length; ++L0)
|
|
1255
1255
|
_0.push(X0.charCodeAt(L0) & 255);
|
|
1256
1256
|
return _0;
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1259
|
-
let L0, i1,
|
|
1260
|
-
const
|
|
1261
|
-
for (let
|
|
1262
|
-
L0 = X0.charCodeAt(
|
|
1263
|
-
return
|
|
1258
|
+
function q1(X0, _0) {
|
|
1259
|
+
let L0, i1, s1;
|
|
1260
|
+
const x1 = [];
|
|
1261
|
+
for (let h1 = 0; h1 < X0.length && !((_0 -= 2) < 0); ++h1)
|
|
1262
|
+
L0 = X0.charCodeAt(h1), i1 = L0 >> 8, s1 = L0 % 256, x1.push(s1), x1.push(i1);
|
|
1263
|
+
return x1;
|
|
1264
1264
|
}
|
|
1265
|
-
function
|
|
1266
|
-
return y.toByteArray(
|
|
1265
|
+
function $1(X0) {
|
|
1266
|
+
return y.toByteArray(W1(X0));
|
|
1267
1267
|
}
|
|
1268
|
-
function
|
|
1269
|
-
let
|
|
1270
|
-
for (
|
|
1271
|
-
_0[
|
|
1272
|
-
return
|
|
1268
|
+
function C1(X0, _0, L0, i1) {
|
|
1269
|
+
let s1;
|
|
1270
|
+
for (s1 = 0; s1 < i1 && !(s1 + L0 >= _0.length || s1 >= X0.length); ++s1)
|
|
1271
|
+
_0[s1 + L0] = X0[s1];
|
|
1272
|
+
return s1;
|
|
1273
1273
|
}
|
|
1274
|
-
function
|
|
1274
|
+
function _1(X0, _0) {
|
|
1275
1275
|
return X0 instanceof _0 || X0 != null && X0.constructor != null && X0.constructor.name != null && X0.constructor.name === _0.name;
|
|
1276
1276
|
}
|
|
1277
|
-
function
|
|
1277
|
+
function j1(X0) {
|
|
1278
1278
|
return X0 !== X0;
|
|
1279
1279
|
}
|
|
1280
|
-
const
|
|
1280
|
+
const O1 = function() {
|
|
1281
1281
|
const X0 = "0123456789abcdef", _0 = new Array(256);
|
|
1282
1282
|
for (let L0 = 0; L0 < 16; ++L0) {
|
|
1283
1283
|
const i1 = L0 * 16;
|
|
1284
|
-
for (let
|
|
1285
|
-
_0[i1 +
|
|
1284
|
+
for (let s1 = 0; s1 < 16; ++s1)
|
|
1285
|
+
_0[i1 + s1] = X0[L0] + X0[s1];
|
|
1286
1286
|
}
|
|
1287
1287
|
return _0;
|
|
1288
1288
|
}();
|
|
1289
|
-
function
|
|
1290
|
-
return typeof BigInt > "u" ?
|
|
1289
|
+
function w1(X0) {
|
|
1290
|
+
return typeof BigInt > "u" ? z1 : X0;
|
|
1291
1291
|
}
|
|
1292
|
-
function
|
|
1292
|
+
function z1() {
|
|
1293
1293
|
throw new Error("BigInt not supported");
|
|
1294
1294
|
}
|
|
1295
1295
|
})(buffer);
|
|
@@ -1869,64 +1869,64 @@ var lottie$1 = { exports: {} };
|
|
|
1869
1869
|
function P0() {
|
|
1870
1870
|
E || (E = T0(function(H0) {
|
|
1871
1871
|
function $0() {
|
|
1872
|
-
function J0(
|
|
1873
|
-
var
|
|
1872
|
+
function J0(k1, Q0) {
|
|
1873
|
+
var r1, q0, U0 = k1.length, o1, a1, l1, c1;
|
|
1874
1874
|
for (q0 = 0; q0 < U0; q0 += 1)
|
|
1875
|
-
if (
|
|
1876
|
-
if (
|
|
1877
|
-
var
|
|
1878
|
-
for (
|
|
1879
|
-
if (
|
|
1880
|
-
K0(
|
|
1875
|
+
if (r1 = k1[q0], "ks" in r1 && !r1.completed) {
|
|
1876
|
+
if (r1.completed = !0, r1.hasMask) {
|
|
1877
|
+
var y1 = r1.masksProperties;
|
|
1878
|
+
for (a1 = y1.length, o1 = 0; o1 < a1; o1 += 1)
|
|
1879
|
+
if (y1[o1].pt.k.i)
|
|
1880
|
+
K0(y1[o1].pt.k);
|
|
1881
1881
|
else
|
|
1882
|
-
for (
|
|
1883
|
-
|
|
1882
|
+
for (c1 = y1[o1].pt.k.length, l1 = 0; l1 < c1; l1 += 1)
|
|
1883
|
+
y1[o1].pt.k[l1].s && K0(y1[o1].pt.k[l1].s[0]), y1[o1].pt.k[l1].e && K0(y1[o1].pt.k[l1].e[0]);
|
|
1884
1884
|
}
|
|
1885
|
-
|
|
1885
|
+
r1.ty === 0 ? (r1.layers = w0(r1.refId, Q0), J0(r1.layers, Q0)) : r1.ty === 4 ? j0(r1.shapes) : r1.ty === 5 && f1(r1);
|
|
1886
1886
|
}
|
|
1887
1887
|
}
|
|
1888
|
-
function R0(
|
|
1889
|
-
if (
|
|
1890
|
-
var
|
|
1891
|
-
for (
|
|
1892
|
-
|
|
1888
|
+
function R0(k1, Q0) {
|
|
1889
|
+
if (k1) {
|
|
1890
|
+
var r1 = 0, q0 = k1.length;
|
|
1891
|
+
for (r1 = 0; r1 < q0; r1 += 1)
|
|
1892
|
+
k1[r1].t === 1 && (k1[r1].data.layers = w0(k1[r1].data.refId, Q0), J0(k1[r1].data.layers, Q0));
|
|
1893
1893
|
}
|
|
1894
1894
|
}
|
|
1895
|
-
function O0(
|
|
1896
|
-
for (var
|
|
1897
|
-
if (Q0[
|
|
1898
|
-
return Q0[
|
|
1899
|
-
|
|
1895
|
+
function O0(k1, Q0) {
|
|
1896
|
+
for (var r1 = 0, q0 = Q0.length; r1 < q0; ) {
|
|
1897
|
+
if (Q0[r1].id === k1)
|
|
1898
|
+
return Q0[r1];
|
|
1899
|
+
r1 += 1;
|
|
1900
1900
|
}
|
|
1901
1901
|
return null;
|
|
1902
1902
|
}
|
|
1903
|
-
function w0(
|
|
1904
|
-
var
|
|
1905
|
-
return
|
|
1903
|
+
function w0(k1, Q0) {
|
|
1904
|
+
var r1 = O0(k1, Q0);
|
|
1905
|
+
return r1 ? r1.layers.__used ? JSON.parse(JSON.stringify(r1.layers)) : (r1.layers.__used = !0, r1.layers) : null;
|
|
1906
1906
|
}
|
|
1907
|
-
function j0(
|
|
1908
|
-
var Q0,
|
|
1909
|
-
for (Q0 =
|
|
1910
|
-
if (
|
|
1911
|
-
if (
|
|
1912
|
-
K0(
|
|
1907
|
+
function j0(k1) {
|
|
1908
|
+
var Q0, r1 = k1.length, q0, U0;
|
|
1909
|
+
for (Q0 = r1 - 1; Q0 >= 0; Q0 -= 1)
|
|
1910
|
+
if (k1[Q0].ty === "sh")
|
|
1911
|
+
if (k1[Q0].ks.k.i)
|
|
1912
|
+
K0(k1[Q0].ks.k);
|
|
1913
1913
|
else
|
|
1914
|
-
for (U0 =
|
|
1915
|
-
|
|
1914
|
+
for (U0 = k1[Q0].ks.k.length, q0 = 0; q0 < U0; q0 += 1)
|
|
1915
|
+
k1[Q0].ks.k[q0].s && K0(k1[Q0].ks.k[q0].s[0]), k1[Q0].ks.k[q0].e && K0(k1[Q0].ks.k[q0].e[0]);
|
|
1916
1916
|
else
|
|
1917
|
-
|
|
1917
|
+
k1[Q0].ty === "gr" && j0(k1[Q0].it);
|
|
1918
1918
|
}
|
|
1919
|
-
function K0(
|
|
1920
|
-
var Q0,
|
|
1921
|
-
for (Q0 = 0; Q0 <
|
|
1922
|
-
|
|
1919
|
+
function K0(k1) {
|
|
1920
|
+
var Q0, r1 = k1.i.length;
|
|
1921
|
+
for (Q0 = 0; Q0 < r1; Q0 += 1)
|
|
1922
|
+
k1.i[Q0][0] += k1.v[Q0][0], k1.i[Q0][1] += k1.v[Q0][1], k1.o[Q0][0] += k1.v[Q0][0], k1.o[Q0][1] += k1.v[Q0][1];
|
|
1923
1923
|
}
|
|
1924
|
-
function Z0(
|
|
1925
|
-
var
|
|
1926
|
-
return
|
|
1924
|
+
function Z0(k1, Q0) {
|
|
1925
|
+
var r1 = Q0 ? Q0.split(".") : [100, 100, 100];
|
|
1926
|
+
return k1[0] > r1[0] ? !0 : r1[0] > k1[0] ? !1 : k1[1] > r1[1] ? !0 : r1[1] > k1[1] ? !1 : k1[2] > r1[2] ? !0 : r1[2] > k1[2] ? !1 : null;
|
|
1927
1927
|
}
|
|
1928
1928
|
var t1 = function() {
|
|
1929
|
-
var
|
|
1929
|
+
var k1 = [4, 4, 14];
|
|
1930
1930
|
function Q0(q0) {
|
|
1931
1931
|
var U0 = q0.t.d;
|
|
1932
1932
|
q0.t.d = {
|
|
@@ -1936,25 +1936,25 @@ var lottie$1 = { exports: {} };
|
|
|
1936
1936
|
}]
|
|
1937
1937
|
};
|
|
1938
1938
|
}
|
|
1939
|
-
function
|
|
1940
|
-
var U0,
|
|
1941
|
-
for (U0 = 0; U0 <
|
|
1939
|
+
function r1(q0) {
|
|
1940
|
+
var U0, o1 = q0.length;
|
|
1941
|
+
for (U0 = 0; U0 < o1; U0 += 1)
|
|
1942
1942
|
q0[U0].ty === 5 && Q0(q0[U0]);
|
|
1943
1943
|
}
|
|
1944
1944
|
return function(q0) {
|
|
1945
|
-
if (Z0(
|
|
1946
|
-
var U0,
|
|
1947
|
-
for (U0 = 0; U0 <
|
|
1948
|
-
q0.assets[U0].layers &&
|
|
1945
|
+
if (Z0(k1, q0.v) && (r1(q0.layers), q0.assets)) {
|
|
1946
|
+
var U0, o1 = q0.assets.length;
|
|
1947
|
+
for (U0 = 0; U0 < o1; U0 += 1)
|
|
1948
|
+
q0.assets[U0].layers && r1(q0.assets[U0].layers);
|
|
1949
1949
|
}
|
|
1950
1950
|
};
|
|
1951
|
-
}(),
|
|
1952
|
-
var
|
|
1951
|
+
}(), n1 = function() {
|
|
1952
|
+
var k1 = [4, 7, 99];
|
|
1953
1953
|
return function(Q0) {
|
|
1954
|
-
if (Q0.chars && !Z0(
|
|
1955
|
-
var
|
|
1956
|
-
for (
|
|
1957
|
-
var U0 = Q0.chars[
|
|
1954
|
+
if (Q0.chars && !Z0(k1, Q0.v)) {
|
|
1955
|
+
var r1, q0 = Q0.chars.length;
|
|
1956
|
+
for (r1 = 0; r1 < q0; r1 += 1) {
|
|
1957
|
+
var U0 = Q0.chars[r1];
|
|
1958
1958
|
U0.data && U0.data.shapes && (j0(U0.data.shapes), U0.data.ip = 0, U0.data.op = 99999, U0.data.st = 0, U0.data.sr = 1, U0.data.ks = {
|
|
1959
1959
|
p: {
|
|
1960
1960
|
k: [0, 0],
|
|
@@ -1976,7 +1976,7 @@ var lottie$1 = { exports: {} };
|
|
|
1976
1976
|
k: 100,
|
|
1977
1977
|
a: 0
|
|
1978
1978
|
}
|
|
1979
|
-
}, Q0.chars[
|
|
1979
|
+
}, Q0.chars[r1].t || (U0.data.shapes.push({
|
|
1980
1980
|
ty: "no"
|
|
1981
1981
|
}), U0.data.shapes[0].it.push({
|
|
1982
1982
|
p: {
|
|
@@ -2012,8 +2012,8 @@ var lottie$1 = { exports: {} };
|
|
|
2012
2012
|
}
|
|
2013
2013
|
}
|
|
2014
2014
|
};
|
|
2015
|
-
}(),
|
|
2016
|
-
var
|
|
2015
|
+
}(), m1 = function() {
|
|
2016
|
+
var k1 = [5, 7, 15];
|
|
2017
2017
|
function Q0(q0) {
|
|
2018
2018
|
var U0 = q0.t.p;
|
|
2019
2019
|
typeof U0.a == "number" && (U0.a = {
|
|
@@ -2027,89 +2027,89 @@ var lottie$1 = { exports: {} };
|
|
|
2027
2027
|
k: U0.r
|
|
2028
2028
|
});
|
|
2029
2029
|
}
|
|
2030
|
-
function
|
|
2031
|
-
var U0,
|
|
2032
|
-
for (U0 = 0; U0 <
|
|
2030
|
+
function r1(q0) {
|
|
2031
|
+
var U0, o1 = q0.length;
|
|
2032
|
+
for (U0 = 0; U0 < o1; U0 += 1)
|
|
2033
2033
|
q0[U0].ty === 5 && Q0(q0[U0]);
|
|
2034
2034
|
}
|
|
2035
2035
|
return function(q0) {
|
|
2036
|
-
if (Z0(
|
|
2037
|
-
var U0,
|
|
2038
|
-
for (U0 = 0; U0 <
|
|
2039
|
-
q0.assets[U0].layers &&
|
|
2036
|
+
if (Z0(k1, q0.v) && (r1(q0.layers), q0.assets)) {
|
|
2037
|
+
var U0, o1 = q0.assets.length;
|
|
2038
|
+
for (U0 = 0; U0 < o1; U0 += 1)
|
|
2039
|
+
q0.assets[U0].layers && r1(q0.assets[U0].layers);
|
|
2040
2040
|
}
|
|
2041
2041
|
};
|
|
2042
|
-
}(),
|
|
2043
|
-
var
|
|
2042
|
+
}(), v1 = function() {
|
|
2043
|
+
var k1 = [4, 1, 9];
|
|
2044
2044
|
function Q0(q0) {
|
|
2045
|
-
var U0,
|
|
2046
|
-
for (U0 = 0; U0 <
|
|
2045
|
+
var U0, o1 = q0.length, a1, l1;
|
|
2046
|
+
for (U0 = 0; U0 < o1; U0 += 1)
|
|
2047
2047
|
if (q0[U0].ty === "gr")
|
|
2048
2048
|
Q0(q0[U0].it);
|
|
2049
2049
|
else if (q0[U0].ty === "fl" || q0[U0].ty === "st")
|
|
2050
2050
|
if (q0[U0].c.k && q0[U0].c.k[0].i)
|
|
2051
|
-
for (
|
|
2052
|
-
q0[U0].c.k[
|
|
2051
|
+
for (l1 = q0[U0].c.k.length, a1 = 0; a1 < l1; a1 += 1)
|
|
2052
|
+
q0[U0].c.k[a1].s && (q0[U0].c.k[a1].s[0] /= 255, q0[U0].c.k[a1].s[1] /= 255, q0[U0].c.k[a1].s[2] /= 255, q0[U0].c.k[a1].s[3] /= 255), q0[U0].c.k[a1].e && (q0[U0].c.k[a1].e[0] /= 255, q0[U0].c.k[a1].e[1] /= 255, q0[U0].c.k[a1].e[2] /= 255, q0[U0].c.k[a1].e[3] /= 255);
|
|
2053
2053
|
else
|
|
2054
2054
|
q0[U0].c.k[0] /= 255, q0[U0].c.k[1] /= 255, q0[U0].c.k[2] /= 255, q0[U0].c.k[3] /= 255;
|
|
2055
2055
|
}
|
|
2056
|
-
function
|
|
2057
|
-
var U0,
|
|
2058
|
-
for (U0 = 0; U0 <
|
|
2056
|
+
function r1(q0) {
|
|
2057
|
+
var U0, o1 = q0.length;
|
|
2058
|
+
for (U0 = 0; U0 < o1; U0 += 1)
|
|
2059
2059
|
q0[U0].ty === 4 && Q0(q0[U0].shapes);
|
|
2060
2060
|
}
|
|
2061
2061
|
return function(q0) {
|
|
2062
|
-
if (Z0(
|
|
2063
|
-
var U0,
|
|
2064
|
-
for (U0 = 0; U0 <
|
|
2065
|
-
q0.assets[U0].layers &&
|
|
2062
|
+
if (Z0(k1, q0.v) && (r1(q0.layers), q0.assets)) {
|
|
2063
|
+
var U0, o1 = q0.assets.length;
|
|
2064
|
+
for (U0 = 0; U0 < o1; U0 += 1)
|
|
2065
|
+
q0.assets[U0].layers && r1(q0.assets[U0].layers);
|
|
2066
2066
|
}
|
|
2067
2067
|
};
|
|
2068
|
-
}(),
|
|
2069
|
-
var
|
|
2068
|
+
}(), d1 = function() {
|
|
2069
|
+
var k1 = [4, 4, 18];
|
|
2070
2070
|
function Q0(q0) {
|
|
2071
|
-
var U0,
|
|
2072
|
-
for (U0 =
|
|
2071
|
+
var U0, o1 = q0.length, a1, l1;
|
|
2072
|
+
for (U0 = o1 - 1; U0 >= 0; U0 -= 1)
|
|
2073
2073
|
if (q0[U0].ty === "sh")
|
|
2074
2074
|
if (q0[U0].ks.k.i)
|
|
2075
2075
|
q0[U0].ks.k.c = q0[U0].closed;
|
|
2076
2076
|
else
|
|
2077
|
-
for (
|
|
2078
|
-
q0[U0].ks.k[
|
|
2077
|
+
for (l1 = q0[U0].ks.k.length, a1 = 0; a1 < l1; a1 += 1)
|
|
2078
|
+
q0[U0].ks.k[a1].s && (q0[U0].ks.k[a1].s[0].c = q0[U0].closed), q0[U0].ks.k[a1].e && (q0[U0].ks.k[a1].e[0].c = q0[U0].closed);
|
|
2079
2079
|
else
|
|
2080
2080
|
q0[U0].ty === "gr" && Q0(q0[U0].it);
|
|
2081
2081
|
}
|
|
2082
|
-
function
|
|
2083
|
-
var U0,
|
|
2084
|
-
for (
|
|
2085
|
-
if (U0 = q0[
|
|
2086
|
-
var
|
|
2087
|
-
for (
|
|
2088
|
-
if (
|
|
2089
|
-
|
|
2082
|
+
function r1(q0) {
|
|
2083
|
+
var U0, o1, a1 = q0.length, l1, c1, y1, E1;
|
|
2084
|
+
for (o1 = 0; o1 < a1; o1 += 1) {
|
|
2085
|
+
if (U0 = q0[o1], U0.hasMask) {
|
|
2086
|
+
var g1 = U0.masksProperties;
|
|
2087
|
+
for (c1 = g1.length, l1 = 0; l1 < c1; l1 += 1)
|
|
2088
|
+
if (g1[l1].pt.k.i)
|
|
2089
|
+
g1[l1].pt.k.c = g1[l1].cl;
|
|
2090
2090
|
else
|
|
2091
|
-
for (
|
|
2092
|
-
|
|
2091
|
+
for (E1 = g1[l1].pt.k.length, y1 = 0; y1 < E1; y1 += 1)
|
|
2092
|
+
g1[l1].pt.k[y1].s && (g1[l1].pt.k[y1].s[0].c = g1[l1].cl), g1[l1].pt.k[y1].e && (g1[l1].pt.k[y1].e[0].c = g1[l1].cl);
|
|
2093
2093
|
}
|
|
2094
2094
|
U0.ty === 4 && Q0(U0.shapes);
|
|
2095
2095
|
}
|
|
2096
2096
|
}
|
|
2097
2097
|
return function(q0) {
|
|
2098
|
-
if (Z0(
|
|
2099
|
-
var U0,
|
|
2100
|
-
for (U0 = 0; U0 <
|
|
2101
|
-
q0.assets[U0].layers &&
|
|
2098
|
+
if (Z0(k1, q0.v) && (r1(q0.layers), q0.assets)) {
|
|
2099
|
+
var U0, o1 = q0.assets.length;
|
|
2100
|
+
for (U0 = 0; U0 < o1; U0 += 1)
|
|
2101
|
+
q0.assets[U0].layers && r1(q0.assets[U0].layers);
|
|
2102
2102
|
}
|
|
2103
2103
|
};
|
|
2104
2104
|
}();
|
|
2105
|
-
function k1
|
|
2106
|
-
|
|
2105
|
+
function p1(k1) {
|
|
2106
|
+
k1.__complete || (v1(k1), t1(k1), n1(k1), m1(k1), d1(k1), J0(k1.layers, k1.assets), R0(k1.chars, k1.assets), k1.__complete = !0);
|
|
2107
2107
|
}
|
|
2108
|
-
function
|
|
2109
|
-
|
|
2108
|
+
function f1(k1) {
|
|
2109
|
+
k1.t.a.length === 0 && "m" in k1.t.p;
|
|
2110
2110
|
}
|
|
2111
|
-
var
|
|
2112
|
-
return
|
|
2111
|
+
var u1 = {};
|
|
2112
|
+
return u1.completeData = p1, u1.checkColors = v1, u1.checkChars = n1, u1.checkPathProperties = m1, u1.checkShapes = d1, u1.completeLayers = J0, u1;
|
|
2113
2113
|
}
|
|
2114
2114
|
if (S0.dataManager || (S0.dataManager = $0()), S0.assetLoader || (S0.assetLoader = function() {
|
|
2115
2115
|
function J0(O0) {
|
|
@@ -2129,8 +2129,8 @@ var lottie$1 = { exports: {} };
|
|
|
2129
2129
|
else
|
|
2130
2130
|
try {
|
|
2131
2131
|
Z0 = J0(t1), j0(Z0);
|
|
2132
|
-
} catch (
|
|
2133
|
-
K0 && K0(
|
|
2132
|
+
} catch (n1) {
|
|
2133
|
+
K0 && K0(n1);
|
|
2134
2134
|
}
|
|
2135
2135
|
};
|
|
2136
2136
|
try {
|
|
@@ -2661,10 +2661,10 @@ var lottie$1 = { exports: {} };
|
|
|
2661
2661
|
var animationManager = function() {
|
|
2662
2662
|
var k = {}, y = [], A = 0, E = 0, g0 = 0, S0 = !0, T0 = !1;
|
|
2663
2663
|
function P0(Q0) {
|
|
2664
|
-
for (var
|
|
2665
|
-
y[
|
|
2664
|
+
for (var r1 = 0, q0 = Q0.target; r1 < E; )
|
|
2665
|
+
y[r1].animation === q0 && (y.splice(r1, 1), r1 -= 1, E -= 1, q0.isPaused || W0()), r1 += 1;
|
|
2666
2666
|
}
|
|
2667
|
-
function C0(Q0,
|
|
2667
|
+
function C0(Q0, r1) {
|
|
2668
2668
|
if (!Q0)
|
|
2669
2669
|
return null;
|
|
2670
2670
|
for (var q0 = 0; q0 < E; ) {
|
|
@@ -2673,121 +2673,121 @@ var lottie$1 = { exports: {} };
|
|
|
2673
2673
|
q0 += 1;
|
|
2674
2674
|
}
|
|
2675
2675
|
var U0 = new AnimationItem();
|
|
2676
|
-
return M0(U0, Q0), U0.setData(Q0,
|
|
2676
|
+
return M0(U0, Q0), U0.setData(Q0, r1), U0;
|
|
2677
2677
|
}
|
|
2678
2678
|
function I0() {
|
|
2679
|
-
var Q0,
|
|
2680
|
-
for (Q0 = 0; Q0 <
|
|
2679
|
+
var Q0, r1 = y.length, q0 = [];
|
|
2680
|
+
for (Q0 = 0; Q0 < r1; Q0 += 1)
|
|
2681
2681
|
q0.push(y[Q0].animation);
|
|
2682
2682
|
return q0;
|
|
2683
2683
|
}
|
|
2684
2684
|
function N0() {
|
|
2685
|
-
g0 += 1,
|
|
2685
|
+
g0 += 1, v1();
|
|
2686
2686
|
}
|
|
2687
2687
|
function W0() {
|
|
2688
2688
|
g0 -= 1;
|
|
2689
2689
|
}
|
|
2690
|
-
function M0(Q0,
|
|
2690
|
+
function M0(Q0, r1) {
|
|
2691
2691
|
Q0.addEventListener("destroy", P0), Q0.addEventListener("_active", N0), Q0.addEventListener("_idle", W0), y.push({
|
|
2692
|
-
elem:
|
|
2692
|
+
elem: r1,
|
|
2693
2693
|
animation: Q0
|
|
2694
2694
|
}), E += 1;
|
|
2695
2695
|
}
|
|
2696
2696
|
function H0(Q0) {
|
|
2697
|
-
var
|
|
2698
|
-
return M0(
|
|
2697
|
+
var r1 = new AnimationItem();
|
|
2698
|
+
return M0(r1, null), r1.setParams(Q0), r1;
|
|
2699
2699
|
}
|
|
2700
|
-
function $0(Q0,
|
|
2700
|
+
function $0(Q0, r1) {
|
|
2701
2701
|
var q0;
|
|
2702
2702
|
for (q0 = 0; q0 < E; q0 += 1)
|
|
2703
|
-
y[q0].animation.setSpeed(Q0,
|
|
2703
|
+
y[q0].animation.setSpeed(Q0, r1);
|
|
2704
2704
|
}
|
|
2705
|
-
function z0(Q0,
|
|
2705
|
+
function z0(Q0, r1) {
|
|
2706
2706
|
var q0;
|
|
2707
2707
|
for (q0 = 0; q0 < E; q0 += 1)
|
|
2708
|
-
y[q0].animation.setDirection(Q0,
|
|
2708
|
+
y[q0].animation.setDirection(Q0, r1);
|
|
2709
2709
|
}
|
|
2710
2710
|
function J0(Q0) {
|
|
2711
|
-
var
|
|
2712
|
-
for (
|
|
2713
|
-
y[
|
|
2711
|
+
var r1;
|
|
2712
|
+
for (r1 = 0; r1 < E; r1 += 1)
|
|
2713
|
+
y[r1].animation.play(Q0);
|
|
2714
2714
|
}
|
|
2715
2715
|
function R0(Q0) {
|
|
2716
|
-
var
|
|
2716
|
+
var r1 = Q0 - A, q0;
|
|
2717
2717
|
for (q0 = 0; q0 < E; q0 += 1)
|
|
2718
|
-
y[q0].animation.advanceTime(
|
|
2718
|
+
y[q0].animation.advanceTime(r1);
|
|
2719
2719
|
A = Q0, g0 && !T0 ? window.requestAnimationFrame(R0) : S0 = !0;
|
|
2720
2720
|
}
|
|
2721
2721
|
function O0(Q0) {
|
|
2722
2722
|
A = Q0, window.requestAnimationFrame(R0);
|
|
2723
2723
|
}
|
|
2724
2724
|
function w0(Q0) {
|
|
2725
|
-
var
|
|
2726
|
-
for (
|
|
2727
|
-
y[
|
|
2725
|
+
var r1;
|
|
2726
|
+
for (r1 = 0; r1 < E; r1 += 1)
|
|
2727
|
+
y[r1].animation.pause(Q0);
|
|
2728
2728
|
}
|
|
2729
|
-
function j0(Q0,
|
|
2729
|
+
function j0(Q0, r1, q0) {
|
|
2730
2730
|
var U0;
|
|
2731
2731
|
for (U0 = 0; U0 < E; U0 += 1)
|
|
2732
|
-
y[U0].animation.goToAndStop(Q0,
|
|
2732
|
+
y[U0].animation.goToAndStop(Q0, r1, q0);
|
|
2733
2733
|
}
|
|
2734
2734
|
function K0(Q0) {
|
|
2735
|
-
var
|
|
2736
|
-
for (
|
|
2737
|
-
y[
|
|
2735
|
+
var r1;
|
|
2736
|
+
for (r1 = 0; r1 < E; r1 += 1)
|
|
2737
|
+
y[r1].animation.stop(Q0);
|
|
2738
2738
|
}
|
|
2739
2739
|
function Z0(Q0) {
|
|
2740
|
-
var
|
|
2741
|
-
for (
|
|
2742
|
-
y[
|
|
2740
|
+
var r1;
|
|
2741
|
+
for (r1 = 0; r1 < E; r1 += 1)
|
|
2742
|
+
y[r1].animation.togglePause(Q0);
|
|
2743
2743
|
}
|
|
2744
2744
|
function t1(Q0) {
|
|
2745
|
-
var
|
|
2746
|
-
for (
|
|
2747
|
-
y[
|
|
2748
|
-
}
|
|
2749
|
-
function
|
|
2750
|
-
var U0 = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))),
|
|
2751
|
-
for (
|
|
2752
|
-
q0 && U0[
|
|
2753
|
-
if (
|
|
2745
|
+
var r1;
|
|
2746
|
+
for (r1 = E - 1; r1 >= 0; r1 -= 1)
|
|
2747
|
+
y[r1].animation.destroy(Q0);
|
|
2748
|
+
}
|
|
2749
|
+
function n1(Q0, r1, q0) {
|
|
2750
|
+
var U0 = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), o1, a1 = U0.length;
|
|
2751
|
+
for (o1 = 0; o1 < a1; o1 += 1)
|
|
2752
|
+
q0 && U0[o1].setAttribute("data-bm-type", q0), C0(U0[o1], Q0);
|
|
2753
|
+
if (r1 && a1 === 0) {
|
|
2754
2754
|
q0 || (q0 = "svg");
|
|
2755
|
-
var
|
|
2756
|
-
|
|
2757
|
-
var
|
|
2758
|
-
|
|
2755
|
+
var l1 = document.getElementsByTagName("body")[0];
|
|
2756
|
+
l1.innerText = "";
|
|
2757
|
+
var c1 = createTag("div");
|
|
2758
|
+
c1.style.width = "100%", c1.style.height = "100%", c1.setAttribute("data-bm-type", q0), l1.appendChild(c1), C0(c1, Q0);
|
|
2759
2759
|
}
|
|
2760
2760
|
}
|
|
2761
|
-
function
|
|
2761
|
+
function m1() {
|
|
2762
2762
|
var Q0;
|
|
2763
2763
|
for (Q0 = 0; Q0 < E; Q0 += 1)
|
|
2764
2764
|
y[Q0].animation.resize();
|
|
2765
2765
|
}
|
|
2766
|
-
function
|
|
2766
|
+
function v1() {
|
|
2767
2767
|
!T0 && g0 && S0 && (window.requestAnimationFrame(O0), S0 = !1);
|
|
2768
2768
|
}
|
|
2769
|
-
function
|
|
2769
|
+
function d1() {
|
|
2770
2770
|
T0 = !0;
|
|
2771
2771
|
}
|
|
2772
|
-
function
|
|
2773
|
-
T0 = !1,
|
|
2772
|
+
function p1() {
|
|
2773
|
+
T0 = !1, v1();
|
|
2774
2774
|
}
|
|
2775
|
-
function
|
|
2775
|
+
function f1(Q0, r1) {
|
|
2776
2776
|
var q0;
|
|
2777
2777
|
for (q0 = 0; q0 < E; q0 += 1)
|
|
2778
|
-
y[q0].animation.setVolume(Q0,
|
|
2778
|
+
y[q0].animation.setVolume(Q0, r1);
|
|
2779
2779
|
}
|
|
2780
|
-
function
|
|
2781
|
-
var
|
|
2782
|
-
for (
|
|
2783
|
-
y[
|
|
2780
|
+
function u1(Q0) {
|
|
2781
|
+
var r1;
|
|
2782
|
+
for (r1 = 0; r1 < E; r1 += 1)
|
|
2783
|
+
y[r1].animation.mute(Q0);
|
|
2784
2784
|
}
|
|
2785
|
-
function
|
|
2786
|
-
var
|
|
2787
|
-
for (
|
|
2788
|
-
y[
|
|
2785
|
+
function k1(Q0) {
|
|
2786
|
+
var r1;
|
|
2787
|
+
for (r1 = 0; r1 < E; r1 += 1)
|
|
2788
|
+
y[r1].animation.unmute(Q0);
|
|
2789
2789
|
}
|
|
2790
|
-
return k.registerAnimation = C0, k.loadAnimation = H0, k.setSpeed = $0, k.setDirection = z0, k.play = J0, k.pause = w0, k.stop = K0, k.togglePause = Z0, k.searchAnimations =
|
|
2790
|
+
return k.registerAnimation = C0, k.loadAnimation = H0, k.setSpeed = $0, k.setDirection = z0, k.play = J0, k.pause = w0, k.stop = K0, k.togglePause = Z0, k.searchAnimations = n1, k.resize = m1, k.goToAndStop = j0, k.destroy = t1, k.freeze = d1, k.unfreeze = p1, k.setVolume = f1, k.mute = u1, k.unmute = k1, k.getRegisteredAnimations = I0, k;
|
|
2791
2791
|
}(), BezierFactory = function() {
|
|
2792
2792
|
var k = {};
|
|
2793
2793
|
k.getBezierEasing = A;
|
|
@@ -2796,8 +2796,8 @@ var lottie$1 = { exports: {} };
|
|
|
2796
2796
|
var t1 = Z0 || ("bez_" + O0 + "_" + w0 + "_" + j0 + "_" + K0).replace(/\./g, "p");
|
|
2797
2797
|
if (y[t1])
|
|
2798
2798
|
return y[t1];
|
|
2799
|
-
var
|
|
2800
|
-
return y[t1] =
|
|
2799
|
+
var n1 = new R0([O0, w0, j0, K0]);
|
|
2800
|
+
return y[t1] = n1, n1;
|
|
2801
2801
|
}
|
|
2802
2802
|
var E = 4, g0 = 1e-3, S0 = 1e-7, T0 = 10, P0 = 11, C0 = 1 / (P0 - 1), I0 = typeof Float32Array == "function";
|
|
2803
2803
|
function N0(O0, w0) {
|
|
@@ -2816,19 +2816,19 @@ var lottie$1 = { exports: {} };
|
|
|
2816
2816
|
return 3 * N0(w0, j0) * O0 * O0 + 2 * W0(w0, j0) * O0 + M0(w0);
|
|
2817
2817
|
}
|
|
2818
2818
|
function z0(O0, w0, j0, K0, Z0) {
|
|
2819
|
-
var t1,
|
|
2819
|
+
var t1, n1, m1 = 0;
|
|
2820
2820
|
do
|
|
2821
|
-
|
|
2822
|
-
while (Math.abs(t1) > S0 && ++
|
|
2823
|
-
return
|
|
2821
|
+
n1 = w0 + (j0 - w0) / 2, t1 = H0(n1, K0, Z0) - O0, t1 > 0 ? j0 = n1 : w0 = n1;
|
|
2822
|
+
while (Math.abs(t1) > S0 && ++m1 < T0);
|
|
2823
|
+
return n1;
|
|
2824
2824
|
}
|
|
2825
2825
|
function J0(O0, w0, j0, K0) {
|
|
2826
2826
|
for (var Z0 = 0; Z0 < E; ++Z0) {
|
|
2827
2827
|
var t1 = $0(w0, j0, K0);
|
|
2828
2828
|
if (t1 === 0)
|
|
2829
2829
|
return w0;
|
|
2830
|
-
var
|
|
2831
|
-
w0 -=
|
|
2830
|
+
var n1 = H0(w0, j0, K0) - O0;
|
|
2831
|
+
w0 -= n1 / t1;
|
|
2832
2832
|
}
|
|
2833
2833
|
return w0;
|
|
2834
2834
|
}
|
|
@@ -2853,11 +2853,11 @@ var lottie$1 = { exports: {} };
|
|
|
2853
2853
|
* getTForX chose the fastest heuristic to determine the percentage value precisely from a given X projection.
|
|
2854
2854
|
*/
|
|
2855
2855
|
_getTForX: function(w0) {
|
|
2856
|
-
for (var j0 = this._p[0], K0 = this._p[2], Z0 = this._mSampleValues, t1 = 0,
|
|
2856
|
+
for (var j0 = this._p[0], K0 = this._p[2], Z0 = this._mSampleValues, t1 = 0, n1 = 1, m1 = P0 - 1; n1 !== m1 && Z0[n1] <= w0; ++n1)
|
|
2857
2857
|
t1 += C0;
|
|
2858
|
-
--
|
|
2859
|
-
var
|
|
2860
|
-
return
|
|
2858
|
+
--n1;
|
|
2859
|
+
var v1 = (w0 - Z0[n1]) / (Z0[n1 + 1] - Z0[n1]), d1 = t1 + v1 * C0, p1 = $0(d1, j0, K0);
|
|
2860
|
+
return p1 >= g0 ? J0(w0, d1, j0, K0) : p1 === 0 ? d1 : z0(w0, t1, t1 + C0, j0, K0);
|
|
2861
2861
|
}
|
|
2862
2862
|
}, k;
|
|
2863
2863
|
}(), pooling = function() {
|
|
@@ -2915,18 +2915,18 @@ var lottie$1 = { exports: {} };
|
|
|
2915
2915
|
function A(M0, H0, $0, z0, J0, R0, O0, w0, j0) {
|
|
2916
2916
|
if ($0 === 0 && R0 === 0 && j0 === 0)
|
|
2917
2917
|
return y(M0, H0, z0, J0, O0, w0);
|
|
2918
|
-
var K0 = k.sqrt(k.pow(z0 - M0, 2) + k.pow(J0 - H0, 2) + k.pow(R0 - $0, 2)), Z0 = k.sqrt(k.pow(O0 - M0, 2) + k.pow(w0 - H0, 2) + k.pow(j0 - $0, 2)), t1 = k.sqrt(k.pow(O0 - z0, 2) + k.pow(w0 - J0, 2) + k.pow(j0 - R0, 2)),
|
|
2919
|
-
return K0 > Z0 ? K0 > t1 ?
|
|
2918
|
+
var K0 = k.sqrt(k.pow(z0 - M0, 2) + k.pow(J0 - H0, 2) + k.pow(R0 - $0, 2)), Z0 = k.sqrt(k.pow(O0 - M0, 2) + k.pow(w0 - H0, 2) + k.pow(j0 - $0, 2)), t1 = k.sqrt(k.pow(O0 - z0, 2) + k.pow(w0 - J0, 2) + k.pow(j0 - R0, 2)), n1;
|
|
2919
|
+
return K0 > Z0 ? K0 > t1 ? n1 = K0 - Z0 - t1 : n1 = t1 - Z0 - K0 : t1 > Z0 ? n1 = t1 - Z0 - K0 : n1 = Z0 - K0 - t1, n1 > -1e-4 && n1 < 1e-4;
|
|
2920
2920
|
}
|
|
2921
2921
|
var E = function() {
|
|
2922
2922
|
return function(M0, H0, $0, z0) {
|
|
2923
|
-
var J0 = getDefaultCurveSegments(), R0, O0, w0, j0, K0, Z0 = 0, t1,
|
|
2923
|
+
var J0 = getDefaultCurveSegments(), R0, O0, w0, j0, K0, Z0 = 0, t1, n1 = [], m1 = [], v1 = bezierLengthPool.newElement();
|
|
2924
2924
|
for (w0 = $0.length, R0 = 0; R0 < J0; R0 += 1) {
|
|
2925
2925
|
for (K0 = R0 / (J0 - 1), t1 = 0, O0 = 0; O0 < w0; O0 += 1)
|
|
2926
|
-
j0 = bmPow(1 - K0, 3) * M0[O0] + 3 * bmPow(1 - K0, 2) * K0 * $0[O0] + 3 * (1 - K0) * bmPow(K0, 2) * z0[O0] + bmPow(K0, 3) * H0[O0],
|
|
2927
|
-
t1 && (t1 = bmSqrt(t1), Z0 += t1),
|
|
2926
|
+
j0 = bmPow(1 - K0, 3) * M0[O0] + 3 * bmPow(1 - K0, 2) * K0 * $0[O0] + 3 * (1 - K0) * bmPow(K0, 2) * z0[O0] + bmPow(K0, 3) * H0[O0], n1[O0] = j0, m1[O0] !== null && (t1 += bmPow(n1[O0] - m1[O0], 2)), m1[O0] = n1[O0];
|
|
2927
|
+
t1 && (t1 = bmSqrt(t1), Z0 += t1), v1.percents[R0] = K0, v1.lengths[R0] = Z0;
|
|
2928
2928
|
}
|
|
2929
|
-
return
|
|
2929
|
+
return v1.addedLength = Z0, v1;
|
|
2930
2930
|
};
|
|
2931
2931
|
}();
|
|
2932
2932
|
function g0(M0) {
|
|
@@ -2946,15 +2946,15 @@ var lottie$1 = { exports: {} };
|
|
|
2946
2946
|
return function(H0, $0, z0, J0) {
|
|
2947
2947
|
var R0 = (H0[0] + "_" + H0[1] + "_" + $0[0] + "_" + $0[1] + "_" + z0[0] + "_" + z0[1] + "_" + J0[0] + "_" + J0[1]).replace(/\./g, "p");
|
|
2948
2948
|
if (!M0[R0]) {
|
|
2949
|
-
var O0 = getDefaultCurveSegments(), w0, j0, K0, Z0, t1,
|
|
2949
|
+
var O0 = getDefaultCurveSegments(), w0, j0, K0, Z0, t1, n1 = 0, m1, v1, d1 = null;
|
|
2950
2950
|
H0.length === 2 && (H0[0] !== $0[0] || H0[1] !== $0[1]) && y(H0[0], H0[1], $0[0], $0[1], H0[0] + z0[0], H0[1] + z0[1]) && y(H0[0], H0[1], $0[0], $0[1], $0[0] + J0[0], $0[1] + J0[1]) && (O0 = 2);
|
|
2951
|
-
var
|
|
2951
|
+
var p1 = new S0(O0);
|
|
2952
2952
|
for (K0 = z0.length, w0 = 0; w0 < O0; w0 += 1) {
|
|
2953
|
-
for (
|
|
2954
|
-
Z0 = bmPow(1 - t1, 3) * H0[j0] + 3 * bmPow(1 - t1, 2) * t1 * (H0[j0] + z0[j0]) + 3 * (1 - t1) * bmPow(t1, 2) * ($0[j0] + J0[j0]) + bmPow(t1, 3) * $0[j0],
|
|
2955
|
-
|
|
2953
|
+
for (v1 = createSizedArray(K0), t1 = w0 / (O0 - 1), m1 = 0, j0 = 0; j0 < K0; j0 += 1)
|
|
2954
|
+
Z0 = bmPow(1 - t1, 3) * H0[j0] + 3 * bmPow(1 - t1, 2) * t1 * (H0[j0] + z0[j0]) + 3 * (1 - t1) * bmPow(t1, 2) * ($0[j0] + J0[j0]) + bmPow(t1, 3) * $0[j0], v1[j0] = Z0, d1 !== null && (m1 += bmPow(v1[j0] - d1[j0], 2));
|
|
2955
|
+
m1 = bmSqrt(m1), n1 += m1, p1.points[w0] = new T0(m1, v1), d1 = v1;
|
|
2956
2956
|
}
|
|
2957
|
-
|
|
2957
|
+
p1.segmentLength = n1, M0[R0] = p1;
|
|
2958
2958
|
}
|
|
2959
2959
|
return M0[R0];
|
|
2960
2960
|
};
|
|
@@ -2980,9 +2980,9 @@ var lottie$1 = { exports: {} };
|
|
|
2980
2980
|
J0 < 0 ? J0 = 0 : J0 > 1 && (J0 = 1);
|
|
2981
2981
|
var w0 = C0(J0, O0);
|
|
2982
2982
|
R0 = R0 > 1 ? 1 : R0;
|
|
2983
|
-
var j0 = C0(R0, O0), K0, Z0 = M0.length, t1 = 1 - w0,
|
|
2983
|
+
var j0 = C0(R0, O0), K0, Z0 = M0.length, t1 = 1 - w0, n1 = 1 - j0, m1 = t1 * t1 * t1, v1 = w0 * t1 * t1 * 3, d1 = w0 * w0 * t1 * 3, p1 = w0 * w0 * w0, f1 = t1 * t1 * n1, u1 = w0 * t1 * n1 + t1 * w0 * n1 + t1 * t1 * j0, k1 = w0 * w0 * n1 + t1 * w0 * j0 + w0 * t1 * j0, Q0 = w0 * w0 * j0, r1 = t1 * n1 * n1, q0 = w0 * n1 * n1 + t1 * j0 * n1 + t1 * n1 * j0, U0 = w0 * j0 * n1 + t1 * j0 * j0 + w0 * n1 * j0, o1 = w0 * j0 * j0, a1 = n1 * n1 * n1, l1 = j0 * n1 * n1 + n1 * j0 * n1 + n1 * n1 * j0, c1 = j0 * j0 * n1 + n1 * j0 * j0 + j0 * n1 * j0, y1 = j0 * j0 * j0;
|
|
2984
2984
|
for (K0 = 0; K0 < Z0; K0 += 1)
|
|
2985
|
-
N0[K0 * 4] = k.round((
|
|
2985
|
+
N0[K0 * 4] = k.round((m1 * M0[K0] + v1 * $0[K0] + d1 * z0[K0] + p1 * H0[K0]) * 1e3) / 1e3, N0[K0 * 4 + 1] = k.round((f1 * M0[K0] + u1 * $0[K0] + k1 * z0[K0] + Q0 * H0[K0]) * 1e3) / 1e3, N0[K0 * 4 + 2] = k.round((r1 * M0[K0] + q0 * $0[K0] + U0 * z0[K0] + o1 * H0[K0]) * 1e3) / 1e3, N0[K0 * 4 + 3] = k.round((a1 * M0[K0] + l1 * $0[K0] + c1 * z0[K0] + y1 * H0[K0]) * 1e3) / 1e3;
|
|
2986
2986
|
return N0;
|
|
2987
2987
|
}
|
|
2988
2988
|
return {
|
|
@@ -3020,35 +3020,35 @@ var lottie$1 = { exports: {} };
|
|
|
3020
3020
|
E[W0] = j0.points[K0].point[W0];
|
|
3021
3021
|
} else {
|
|
3022
3022
|
N0.__fnct ? J0 = N0.__fnct : (J0 = BezierFactory.getBezierEasing(C0.o.x, C0.o.y, C0.i.x, C0.i.y, C0.n).get, N0.__fnct = J0), H0 = J0((k - O0) / (R0 - O0));
|
|
3023
|
-
var Z0 = j0.segmentLength * H0, t1,
|
|
3023
|
+
var Z0 = j0.segmentLength * H0, t1, n1 = y.lastFrame < k && y._lastKeyframeIndex === S0 ? y._lastAddedLength : 0;
|
|
3024
3024
|
for (z0 = y.lastFrame < k && y._lastKeyframeIndex === S0 ? y._lastPoint : 0, P0 = !0, $0 = j0.points.length; P0; ) {
|
|
3025
|
-
if (
|
|
3025
|
+
if (n1 += j0.points[z0].partialLength, Z0 === 0 || H0 === 0 || z0 === j0.points.length - 1) {
|
|
3026
3026
|
for (M0 = j0.points[z0].point.length, W0 = 0; W0 < M0; W0 += 1)
|
|
3027
3027
|
E[W0] = j0.points[z0].point[W0];
|
|
3028
3028
|
break;
|
|
3029
|
-
} else if (Z0 >=
|
|
3030
|
-
for (t1 = (Z0 -
|
|
3029
|
+
} else if (Z0 >= n1 && Z0 < n1 + j0.points[z0 + 1].partialLength) {
|
|
3030
|
+
for (t1 = (Z0 - n1) / j0.points[z0 + 1].partialLength, M0 = j0.points[z0].point.length, W0 = 0; W0 < M0; W0 += 1)
|
|
3031
3031
|
E[W0] = j0.points[z0].point[W0] + (j0.points[z0 + 1].point[W0] - j0.points[z0].point[W0]) * t1;
|
|
3032
3032
|
break;
|
|
3033
3033
|
}
|
|
3034
3034
|
z0 < $0 - 1 ? z0 += 1 : P0 = !1;
|
|
3035
3035
|
}
|
|
3036
|
-
y._lastPoint = z0, y._lastAddedLength =
|
|
3036
|
+
y._lastPoint = z0, y._lastAddedLength = n1 - j0.points[z0].partialLength, y._lastKeyframeIndex = S0;
|
|
3037
3037
|
}
|
|
3038
3038
|
} else {
|
|
3039
|
-
var
|
|
3039
|
+
var m1, v1, d1, p1, f1;
|
|
3040
3040
|
if (T0 = C0.s.length, w0 = I0.s || C0.e, this.sh && C0.h !== 1)
|
|
3041
3041
|
if (k >= R0)
|
|
3042
3042
|
E[0] = w0[0], E[1] = w0[1], E[2] = w0[2];
|
|
3043
3043
|
else if (k <= O0)
|
|
3044
3044
|
E[0] = C0.s[0], E[1] = C0.s[1], E[2] = C0.s[2];
|
|
3045
3045
|
else {
|
|
3046
|
-
var
|
|
3047
|
-
quaternionToEuler(E, slerp(
|
|
3046
|
+
var u1 = createQuaternion(C0.s), k1 = createQuaternion(w0), Q0 = (k - O0) / (R0 - O0);
|
|
3047
|
+
quaternionToEuler(E, slerp(u1, k1, Q0));
|
|
3048
3048
|
}
|
|
3049
3049
|
else
|
|
3050
3050
|
for (S0 = 0; S0 < T0; S0 += 1)
|
|
3051
|
-
C0.h !== 1 && (k >= R0 ? H0 = 1 : k < O0 ? H0 = 0 : (C0.o.x.constructor === Array ? (N0.__fnct || (N0.__fnct = []), N0.__fnct[S0] ? J0 = N0.__fnct[S0] : (
|
|
3051
|
+
C0.h !== 1 && (k >= R0 ? H0 = 1 : k < O0 ? H0 = 0 : (C0.o.x.constructor === Array ? (N0.__fnct || (N0.__fnct = []), N0.__fnct[S0] ? J0 = N0.__fnct[S0] : (m1 = C0.o.x[S0] === void 0 ? C0.o.x[0] : C0.o.x[S0], v1 = C0.o.y[S0] === void 0 ? C0.o.y[0] : C0.o.y[S0], d1 = C0.i.x[S0] === void 0 ? C0.i.x[0] : C0.i.x[S0], p1 = C0.i.y[S0] === void 0 ? C0.i.y[0] : C0.i.y[S0], J0 = BezierFactory.getBezierEasing(m1, v1, d1, p1).get, N0.__fnct[S0] = J0)) : N0.__fnct ? J0 = N0.__fnct : (m1 = C0.o.x, v1 = C0.o.y, d1 = C0.i.x, p1 = C0.i.y, J0 = BezierFactory.getBezierEasing(m1, v1, d1, p1).get, C0.keyframeMetadata = J0), H0 = J0((k - O0) / (R0 - O0)))), w0 = I0.s || C0.e, f1 = C0.h === 1 ? C0.s[S0] : C0.s[S0] + (w0[S0] - C0.s[S0]) * H0, this.propType === "multidimensional" ? E[S0] = f1 : E = f1;
|
|
3052
3052
|
}
|
|
3053
3053
|
return y.lastIndex = g0, E;
|
|
3054
3054
|
}
|
|
@@ -3269,30 +3269,30 @@ var lottie$1 = { exports: {} };
|
|
|
3269
3269
|
}(), ShapePropertyFactory = function() {
|
|
3270
3270
|
var k = -999999;
|
|
3271
3271
|
function y(R0, O0, w0) {
|
|
3272
|
-
var j0 = w0.lastIndex, K0, Z0, t1,
|
|
3273
|
-
if (R0 <
|
|
3274
|
-
K0 =
|
|
3275
|
-
else if (R0 >=
|
|
3276
|
-
K0 =
|
|
3272
|
+
var j0 = w0.lastIndex, K0, Z0, t1, n1, m1, v1, d1, p1, f1, u1 = this.keyframes;
|
|
3273
|
+
if (R0 < u1[0].t - this.offsetTime)
|
|
3274
|
+
K0 = u1[0].s[0], t1 = !0, j0 = 0;
|
|
3275
|
+
else if (R0 >= u1[u1.length - 1].t - this.offsetTime)
|
|
3276
|
+
K0 = u1[u1.length - 1].s ? u1[u1.length - 1].s[0] : u1[u1.length - 2].e[0], t1 = !0;
|
|
3277
3277
|
else {
|
|
3278
|
-
for (var
|
|
3279
|
-
|
|
3280
|
-
if (
|
|
3278
|
+
for (var k1 = j0, Q0 = u1.length - 1, r1 = !0, q0, U0, o1; r1 && (q0 = u1[k1], U0 = u1[k1 + 1], !(U0.t - this.offsetTime > R0)); )
|
|
3279
|
+
k1 < Q0 - 1 ? k1 += 1 : r1 = !1;
|
|
3280
|
+
if (o1 = this.keyframesMetadata[k1] || {}, t1 = q0.h === 1, j0 = k1, !t1) {
|
|
3281
3281
|
if (R0 >= U0.t - this.offsetTime)
|
|
3282
|
-
|
|
3282
|
+
p1 = 1;
|
|
3283
3283
|
else if (R0 < q0.t - this.offsetTime)
|
|
3284
|
-
|
|
3284
|
+
p1 = 0;
|
|
3285
3285
|
else {
|
|
3286
|
-
var
|
|
3287
|
-
|
|
3286
|
+
var a1;
|
|
3287
|
+
o1.__fnct ? a1 = o1.__fnct : (a1 = BezierFactory.getBezierEasing(q0.o.x, q0.o.y, q0.i.x, q0.i.y).get, o1.__fnct = a1), p1 = a1((R0 - (q0.t - this.offsetTime)) / (U0.t - this.offsetTime - (q0.t - this.offsetTime)));
|
|
3288
3288
|
}
|
|
3289
3289
|
Z0 = U0.s ? U0.s[0] : q0.e[0];
|
|
3290
3290
|
}
|
|
3291
3291
|
K0 = q0.s[0];
|
|
3292
3292
|
}
|
|
3293
|
-
for (
|
|
3294
|
-
for (
|
|
3295
|
-
|
|
3293
|
+
for (v1 = O0._length, d1 = K0.i[0].length, w0.lastIndex = j0, n1 = 0; n1 < v1; n1 += 1)
|
|
3294
|
+
for (m1 = 0; m1 < d1; m1 += 1)
|
|
3295
|
+
f1 = t1 ? K0.i[n1][m1] : K0.i[n1][m1] + (Z0.i[n1][m1] - K0.i[n1][m1]) * p1, O0.i[n1][m1] = f1, f1 = t1 ? K0.o[n1][m1] : K0.o[n1][m1] + (Z0.o[n1][m1] - K0.o[n1][m1]) * p1, O0.o[n1][m1] = f1, f1 = t1 ? K0.v[n1][m1] : K0.v[n1][m1] + (Z0.v[n1][m1] - K0.v[n1][m1]) * p1, O0.v[n1][m1] = f1;
|
|
3296
3296
|
}
|
|
3297
3297
|
function A() {
|
|
3298
3298
|
var R0 = this.comp.renderedFrame - this.offsetTime, O0 = this.keyframes[0].t - this.offsetTime, w0 = this.keyframes[this.keyframes.length - 1].t - this.offsetTime, j0 = this._caching.lastFrame;
|
|
@@ -3361,8 +3361,8 @@ var lottie$1 = { exports: {} };
|
|
|
3361
3361
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertEllToPath());
|
|
3362
3362
|
},
|
|
3363
3363
|
convertEllToPath: function() {
|
|
3364
|
-
var j0 = this.p.v[0], K0 = this.p.v[1], Z0 = this.s.v[0] / 2, t1 = this.s.v[1] / 2,
|
|
3365
|
-
|
|
3364
|
+
var j0 = this.p.v[0], K0 = this.p.v[1], Z0 = this.s.v[0] / 2, t1 = this.s.v[1] / 2, n1 = this.d !== 3, m1 = this.v;
|
|
3365
|
+
m1.v[0][0] = j0, m1.v[0][1] = K0 - t1, m1.v[1][0] = n1 ? j0 + Z0 : j0 - Z0, m1.v[1][1] = K0, m1.v[2][0] = j0, m1.v[2][1] = K0 + t1, m1.v[3][0] = n1 ? j0 - Z0 : j0 + Z0, m1.v[3][1] = K0, m1.i[0][0] = n1 ? j0 - Z0 * R0 : j0 + Z0 * R0, m1.i[0][1] = K0 - t1, m1.i[1][0] = n1 ? j0 + Z0 : j0 - Z0, m1.i[1][1] = K0 - t1 * R0, m1.i[2][0] = n1 ? j0 + Z0 * R0 : j0 - Z0 * R0, m1.i[2][1] = K0 + t1, m1.i[3][0] = n1 ? j0 - Z0 : j0 + Z0, m1.i[3][1] = K0 + t1 * R0, m1.o[0][0] = n1 ? j0 + Z0 * R0 : j0 - Z0 * R0, m1.o[0][1] = K0 - t1, m1.o[1][0] = n1 ? j0 + Z0 : j0 - Z0, m1.o[1][1] = K0 + t1 * R0, m1.o[2][0] = n1 ? j0 - Z0 * R0 : j0 + Z0 * R0, m1.o[2][1] = K0 + t1, m1.o[3][0] = n1 ? j0 - Z0 : j0 + Z0, m1.o[3][1] = K0 - t1 * R0;
|
|
3366
3366
|
}
|
|
3367
3367
|
}, extendPrototype([DynamicPropertyContainer], O0), O0;
|
|
3368
3368
|
}(), W0 = function() {
|
|
@@ -3375,20 +3375,20 @@ var lottie$1 = { exports: {} };
|
|
|
3375
3375
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertToPath());
|
|
3376
3376
|
},
|
|
3377
3377
|
convertStarToPath: function() {
|
|
3378
|
-
var w0 = Math.floor(this.pt.v) * 2, j0 = Math.PI * 2 / w0, K0 = !0, Z0 = this.or.v, t1 = this.ir.v,
|
|
3378
|
+
var w0 = Math.floor(this.pt.v) * 2, j0 = Math.PI * 2 / w0, K0 = !0, Z0 = this.or.v, t1 = this.ir.v, n1 = this.os.v, m1 = this.is.v, v1 = 2 * Math.PI * Z0 / (w0 * 2), d1 = 2 * Math.PI * t1 / (w0 * 2), p1, f1, u1, k1, Q0 = -Math.PI / 2;
|
|
3379
3379
|
Q0 += this.r.v;
|
|
3380
|
-
var
|
|
3381
|
-
for (this.v._length = 0,
|
|
3382
|
-
|
|
3383
|
-
var q0 =
|
|
3384
|
-
q0 += +this.p.v[0], U0 += +this.p.v[1], this.v.setTripleAt(q0, U0, q0 -
|
|
3380
|
+
var r1 = this.data.d === 3 ? -1 : 1;
|
|
3381
|
+
for (this.v._length = 0, p1 = 0; p1 < w0; p1 += 1) {
|
|
3382
|
+
f1 = K0 ? Z0 : t1, u1 = K0 ? n1 : m1, k1 = K0 ? v1 : d1;
|
|
3383
|
+
var q0 = f1 * Math.cos(Q0), U0 = f1 * Math.sin(Q0), o1 = q0 === 0 && U0 === 0 ? 0 : U0 / Math.sqrt(q0 * q0 + U0 * U0), a1 = q0 === 0 && U0 === 0 ? 0 : -q0 / Math.sqrt(q0 * q0 + U0 * U0);
|
|
3384
|
+
q0 += +this.p.v[0], U0 += +this.p.v[1], this.v.setTripleAt(q0, U0, q0 - o1 * k1 * u1 * r1, U0 - a1 * k1 * u1 * r1, q0 + o1 * k1 * u1 * r1, U0 + a1 * k1 * u1 * r1, p1, !0), K0 = !K0, Q0 += j0 * r1;
|
|
3385
3385
|
}
|
|
3386
3386
|
},
|
|
3387
3387
|
convertPolygonToPath: function() {
|
|
3388
|
-
var w0 = Math.floor(this.pt.v), j0 = Math.PI * 2 / w0, K0 = this.or.v, Z0 = this.os.v, t1 = 2 * Math.PI * K0 / (w0 * 4),
|
|
3389
|
-
for (
|
|
3390
|
-
var
|
|
3391
|
-
|
|
3388
|
+
var w0 = Math.floor(this.pt.v), j0 = Math.PI * 2 / w0, K0 = this.or.v, Z0 = this.os.v, t1 = 2 * Math.PI * K0 / (w0 * 4), n1, m1 = -Math.PI * 0.5, v1 = this.data.d === 3 ? -1 : 1;
|
|
3389
|
+
for (m1 += this.r.v, this.v._length = 0, n1 = 0; n1 < w0; n1 += 1) {
|
|
3390
|
+
var d1 = K0 * Math.cos(m1), p1 = K0 * Math.sin(m1), f1 = d1 === 0 && p1 === 0 ? 0 : p1 / Math.sqrt(d1 * d1 + p1 * p1), u1 = d1 === 0 && p1 === 0 ? 0 : -d1 / Math.sqrt(d1 * d1 + p1 * p1);
|
|
3391
|
+
d1 += +this.p.v[0], p1 += +this.p.v[1], this.v.setTripleAt(d1, p1, d1 - f1 * t1 * Z0 * v1, p1 - u1 * t1 * Z0 * v1, d1 + f1 * t1 * Z0 * v1, p1 + u1 * t1 * Z0 * v1, n1, !0), m1 += j0 * v1;
|
|
3392
3392
|
}
|
|
3393
3393
|
this.paths.length = 0, this.paths[0] = this.v;
|
|
3394
3394
|
}
|
|
@@ -3399,8 +3399,8 @@ var lottie$1 = { exports: {} };
|
|
|
3399
3399
|
}
|
|
3400
3400
|
return R0.prototype = {
|
|
3401
3401
|
convertRectToPath: function() {
|
|
3402
|
-
var w0 = this.p.v[0], j0 = this.p.v[1], K0 = this.s.v[0] / 2, Z0 = this.s.v[1] / 2, t1 = bmMin(K0, Z0, this.r.v),
|
|
3403
|
-
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(w0 + K0, j0 - Z0 + t1, w0 + K0, j0 - Z0 + t1, w0 + K0, j0 - Z0 +
|
|
3402
|
+
var w0 = this.p.v[0], j0 = this.p.v[1], K0 = this.s.v[0] / 2, Z0 = this.s.v[1] / 2, t1 = bmMin(K0, Z0, this.r.v), n1 = t1 * (1 - roundCorner);
|
|
3403
|
+
this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(w0 + K0, j0 - Z0 + t1, w0 + K0, j0 - Z0 + t1, w0 + K0, j0 - Z0 + n1, 0, !0), this.v.setTripleAt(w0 + K0, j0 + Z0 - t1, w0 + K0, j0 + Z0 - n1, w0 + K0, j0 + Z0 - t1, 1, !0), t1 !== 0 ? (this.v.setTripleAt(w0 + K0 - t1, j0 + Z0, w0 + K0 - t1, j0 + Z0, w0 + K0 - n1, j0 + Z0, 2, !0), this.v.setTripleAt(w0 - K0 + t1, j0 + Z0, w0 - K0 + n1, j0 + Z0, w0 - K0 + t1, j0 + Z0, 3, !0), this.v.setTripleAt(w0 - K0, j0 + Z0 - t1, w0 - K0, j0 + Z0 - t1, w0 - K0, j0 + Z0 - n1, 4, !0), this.v.setTripleAt(w0 - K0, j0 - Z0 + t1, w0 - K0, j0 - Z0 + n1, w0 - K0, j0 - Z0 + t1, 5, !0), this.v.setTripleAt(w0 - K0 + t1, j0 - Z0, w0 - K0 + t1, j0 - Z0, w0 - K0 + n1, j0 - Z0, 6, !0), this.v.setTripleAt(w0 + K0 - t1, j0 - Z0, w0 + K0 - n1, j0 - Z0, w0 + K0 - t1, j0 - Z0, 7, !0)) : (this.v.setTripleAt(w0 - K0, j0 + Z0, w0 - K0 + n1, j0 + Z0, w0 - K0, j0 + Z0, 2), this.v.setTripleAt(w0 - K0, j0 - Z0, w0 - K0, j0 - Z0 + n1, w0 - K0, j0 - Z0, 3))) : (this.v.setTripleAt(w0 + K0, j0 - Z0 + t1, w0 + K0, j0 - Z0 + n1, w0 + K0, j0 - Z0 + t1, 0, !0), t1 !== 0 ? (this.v.setTripleAt(w0 + K0 - t1, j0 - Z0, w0 + K0 - t1, j0 - Z0, w0 + K0 - n1, j0 - Z0, 1, !0), this.v.setTripleAt(w0 - K0 + t1, j0 - Z0, w0 - K0 + n1, j0 - Z0, w0 - K0 + t1, j0 - Z0, 2, !0), this.v.setTripleAt(w0 - K0, j0 - Z0 + t1, w0 - K0, j0 - Z0 + t1, w0 - K0, j0 - Z0 + n1, 3, !0), this.v.setTripleAt(w0 - K0, j0 + Z0 - t1, w0 - K0, j0 + Z0 - n1, w0 - K0, j0 + Z0 - t1, 4, !0), this.v.setTripleAt(w0 - K0 + t1, j0 + Z0, w0 - K0 + t1, j0 + Z0, w0 - K0 + n1, j0 + Z0, 5, !0), this.v.setTripleAt(w0 + K0 - t1, j0 + Z0, w0 + K0 - n1, j0 + Z0, w0 + K0 - t1, j0 + Z0, 6, !0), this.v.setTripleAt(w0 + K0, j0 + Z0 - t1, w0 + K0, j0 + Z0 - t1, w0 + K0, j0 + Z0 - n1, 7, !0)) : (this.v.setTripleAt(w0 - K0, j0 - Z0, w0 - K0 + n1, j0 - Z0, w0 - K0, j0 - Z0, 1, !0), this.v.setTripleAt(w0 - K0, j0 + Z0, w0 - K0, j0 + Z0 - n1, w0 - K0, j0 + Z0, 2, !0), this.v.setTripleAt(w0 + K0, j0 + Z0, w0 + K0 - n1, j0 + Z0, w0 + K0, j0 + Z0, 3, !0)));
|
|
3404
3404
|
},
|
|
3405
3405
|
getValue: function() {
|
|
3406
3406
|
this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
|
|
@@ -3442,26 +3442,26 @@ var lottie$1 = { exports: {} };
|
|
|
3442
3442
|
function S0(q0) {
|
|
3443
3443
|
if (q0 === 0)
|
|
3444
3444
|
return this;
|
|
3445
|
-
var U0 = k(q0),
|
|
3446
|
-
return this._t(U0, -
|
|
3445
|
+
var U0 = k(q0), o1 = y(q0);
|
|
3446
|
+
return this._t(U0, -o1, 0, 0, o1, U0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
|
|
3447
3447
|
}
|
|
3448
3448
|
function T0(q0) {
|
|
3449
3449
|
if (q0 === 0)
|
|
3450
3450
|
return this;
|
|
3451
|
-
var U0 = k(q0),
|
|
3452
|
-
return this._t(1, 0, 0, 0, 0, U0, -
|
|
3451
|
+
var U0 = k(q0), o1 = y(q0);
|
|
3452
|
+
return this._t(1, 0, 0, 0, 0, U0, -o1, 0, 0, o1, U0, 0, 0, 0, 0, 1);
|
|
3453
3453
|
}
|
|
3454
3454
|
function P0(q0) {
|
|
3455
3455
|
if (q0 === 0)
|
|
3456
3456
|
return this;
|
|
3457
|
-
var U0 = k(q0),
|
|
3458
|
-
return this._t(U0, 0,
|
|
3457
|
+
var U0 = k(q0), o1 = y(q0);
|
|
3458
|
+
return this._t(U0, 0, o1, 0, 0, 1, 0, 0, -o1, 0, U0, 0, 0, 0, 0, 1);
|
|
3459
3459
|
}
|
|
3460
3460
|
function C0(q0) {
|
|
3461
3461
|
if (q0 === 0)
|
|
3462
3462
|
return this;
|
|
3463
|
-
var U0 = k(q0),
|
|
3464
|
-
return this._t(U0, -
|
|
3463
|
+
var U0 = k(q0), o1 = y(q0);
|
|
3464
|
+
return this._t(U0, -o1, 0, 0, o1, U0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
|
|
3465
3465
|
}
|
|
3466
3466
|
function I0(q0, U0) {
|
|
3467
3467
|
return this._t(1, U0, q0, 1, 0, 0);
|
|
@@ -3470,24 +3470,24 @@ var lottie$1 = { exports: {} };
|
|
|
3470
3470
|
return this.shear(A(q0), A(U0));
|
|
3471
3471
|
}
|
|
3472
3472
|
function W0(q0, U0) {
|
|
3473
|
-
var
|
|
3474
|
-
return this._t(
|
|
3473
|
+
var o1 = k(U0), a1 = y(U0);
|
|
3474
|
+
return this._t(o1, a1, 0, 0, -a1, o1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, A(q0), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(o1, -a1, 0, 0, a1, o1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
|
|
3475
3475
|
}
|
|
3476
|
-
function M0(q0, U0,
|
|
3477
|
-
return !
|
|
3476
|
+
function M0(q0, U0, o1) {
|
|
3477
|
+
return !o1 && o1 !== 0 && (o1 = 1), q0 === 1 && U0 === 1 && o1 === 1 ? this : this._t(q0, 0, 0, 0, 0, U0, 0, 0, 0, 0, o1, 0, 0, 0, 0, 1);
|
|
3478
3478
|
}
|
|
3479
|
-
function H0(q0, U0,
|
|
3480
|
-
return this.props[0] = q0, this.props[1] = U0, this.props[2] =
|
|
3479
|
+
function H0(q0, U0, o1, a1, l1, c1, y1, E1, g1, G1, T1, L1, M1, P1, I1, D1) {
|
|
3480
|
+
return this.props[0] = q0, this.props[1] = U0, this.props[2] = o1, this.props[3] = a1, this.props[4] = l1, this.props[5] = c1, this.props[6] = y1, this.props[7] = E1, this.props[8] = g1, this.props[9] = G1, this.props[10] = T1, this.props[11] = L1, this.props[12] = M1, this.props[13] = P1, this.props[14] = I1, this.props[15] = D1, this;
|
|
3481
3481
|
}
|
|
3482
|
-
function $0(q0, U0,
|
|
3483
|
-
return
|
|
3482
|
+
function $0(q0, U0, o1) {
|
|
3483
|
+
return o1 = o1 || 0, q0 !== 0 || U0 !== 0 || o1 !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, q0, U0, o1, 1) : this;
|
|
3484
3484
|
}
|
|
3485
|
-
function z0(q0, U0,
|
|
3486
|
-
var
|
|
3487
|
-
if (q0 === 1 && U0 === 0 &&
|
|
3488
|
-
return
|
|
3489
|
-
var
|
|
3490
|
-
return
|
|
3485
|
+
function z0(q0, U0, o1, a1, l1, c1, y1, E1, g1, G1, T1, L1, M1, P1, I1, D1) {
|
|
3486
|
+
var A1 = this.props;
|
|
3487
|
+
if (q0 === 1 && U0 === 0 && o1 === 0 && a1 === 0 && l1 === 0 && c1 === 1 && y1 === 0 && E1 === 0 && g1 === 0 && G1 === 0 && T1 === 1 && L1 === 0)
|
|
3488
|
+
return A1[12] = A1[12] * q0 + A1[15] * M1, A1[13] = A1[13] * c1 + A1[15] * P1, A1[14] = A1[14] * T1 + A1[15] * I1, A1[15] *= D1, this._identityCalculated = !1, this;
|
|
3489
|
+
var H1 = A1[0], W1 = A1[1], R1 = A1[2], N1 = A1[3], q1 = A1[4], $1 = A1[5], C1 = A1[6], _1 = A1[7], j1 = A1[8], O1 = A1[9], w1 = A1[10], z1 = A1[11], X0 = A1[12], _0 = A1[13], L0 = A1[14], i1 = A1[15];
|
|
3490
|
+
return A1[0] = H1 * q0 + W1 * l1 + R1 * g1 + N1 * M1, A1[1] = H1 * U0 + W1 * c1 + R1 * G1 + N1 * P1, A1[2] = H1 * o1 + W1 * y1 + R1 * T1 + N1 * I1, A1[3] = H1 * a1 + W1 * E1 + R1 * L1 + N1 * D1, A1[4] = q1 * q0 + $1 * l1 + C1 * g1 + _1 * M1, A1[5] = q1 * U0 + $1 * c1 + C1 * G1 + _1 * P1, A1[6] = q1 * o1 + $1 * y1 + C1 * T1 + _1 * I1, A1[7] = q1 * a1 + $1 * E1 + C1 * L1 + _1 * D1, A1[8] = j1 * q0 + O1 * l1 + w1 * g1 + z1 * M1, A1[9] = j1 * U0 + O1 * c1 + w1 * G1 + z1 * P1, A1[10] = j1 * o1 + O1 * y1 + w1 * T1 + z1 * I1, A1[11] = j1 * a1 + O1 * E1 + w1 * L1 + z1 * D1, A1[12] = X0 * q0 + _0 * l1 + L0 * g1 + i1 * M1, A1[13] = X0 * U0 + _0 * c1 + L0 * G1 + i1 * P1, A1[14] = X0 * o1 + _0 * y1 + L0 * T1 + i1 * I1, A1[15] = X0 * a1 + _0 * E1 + L0 * L1 + i1 * D1, this._identityCalculated = !1, this;
|
|
3491
3491
|
}
|
|
3492
3492
|
function J0(q0) {
|
|
3493
3493
|
var U0 = q0.props;
|
|
@@ -3515,71 +3515,71 @@ var lottie$1 = { exports: {} };
|
|
|
3515
3515
|
for (U0 = 0; U0 < 16; U0 += 1)
|
|
3516
3516
|
this.props[U0] = q0[U0];
|
|
3517
3517
|
}
|
|
3518
|
-
function K0(q0, U0,
|
|
3518
|
+
function K0(q0, U0, o1) {
|
|
3519
3519
|
return {
|
|
3520
|
-
x: q0 * this.props[0] + U0 * this.props[4] +
|
|
3521
|
-
y: q0 * this.props[1] + U0 * this.props[5] +
|
|
3522
|
-
z: q0 * this.props[2] + U0 * this.props[6] +
|
|
3520
|
+
x: q0 * this.props[0] + U0 * this.props[4] + o1 * this.props[8] + this.props[12],
|
|
3521
|
+
y: q0 * this.props[1] + U0 * this.props[5] + o1 * this.props[9] + this.props[13],
|
|
3522
|
+
z: q0 * this.props[2] + U0 * this.props[6] + o1 * this.props[10] + this.props[14]
|
|
3523
3523
|
};
|
|
3524
3524
|
}
|
|
3525
|
-
function Z0(q0, U0,
|
|
3526
|
-
return q0 * this.props[0] + U0 * this.props[4] +
|
|
3525
|
+
function Z0(q0, U0, o1) {
|
|
3526
|
+
return q0 * this.props[0] + U0 * this.props[4] + o1 * this.props[8] + this.props[12];
|
|
3527
3527
|
}
|
|
3528
|
-
function t1(q0, U0,
|
|
3529
|
-
return q0 * this.props[1] + U0 * this.props[5] +
|
|
3528
|
+
function t1(q0, U0, o1) {
|
|
3529
|
+
return q0 * this.props[1] + U0 * this.props[5] + o1 * this.props[9] + this.props[13];
|
|
3530
3530
|
}
|
|
3531
|
-
function
|
|
3532
|
-
return q0 * this.props[2] + U0 * this.props[6] +
|
|
3531
|
+
function n1(q0, U0, o1) {
|
|
3532
|
+
return q0 * this.props[2] + U0 * this.props[6] + o1 * this.props[10] + this.props[14];
|
|
3533
3533
|
}
|
|
3534
|
-
function
|
|
3535
|
-
var q0 = this.props[0] * this.props[5] - this.props[1] * this.props[4], U0 = this.props[5] / q0,
|
|
3536
|
-
return
|
|
3534
|
+
function m1() {
|
|
3535
|
+
var q0 = this.props[0] * this.props[5] - this.props[1] * this.props[4], U0 = this.props[5] / q0, o1 = -this.props[1] / q0, a1 = -this.props[4] / q0, l1 = this.props[0] / q0, c1 = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / q0, y1 = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / q0, E1 = new Matrix();
|
|
3536
|
+
return E1.props[0] = U0, E1.props[1] = o1, E1.props[4] = a1, E1.props[5] = l1, E1.props[12] = c1, E1.props[13] = y1, E1;
|
|
3537
3537
|
}
|
|
3538
|
-
function
|
|
3538
|
+
function v1(q0) {
|
|
3539
3539
|
var U0 = this.getInverseMatrix();
|
|
3540
3540
|
return U0.applyToPointArray(q0[0], q0[1], q0[2] || 0);
|
|
3541
3541
|
}
|
|
3542
|
-
function
|
|
3543
|
-
var U0,
|
|
3544
|
-
for (U0 = 0; U0 <
|
|
3545
|
-
|
|
3546
|
-
return
|
|
3542
|
+
function d1(q0) {
|
|
3543
|
+
var U0, o1 = q0.length, a1 = [];
|
|
3544
|
+
for (U0 = 0; U0 < o1; U0 += 1)
|
|
3545
|
+
a1[U0] = v1(q0[U0]);
|
|
3546
|
+
return a1;
|
|
3547
3547
|
}
|
|
3548
|
-
function
|
|
3549
|
-
var
|
|
3548
|
+
function p1(q0, U0, o1) {
|
|
3549
|
+
var a1 = createTypedArray("float32", 6);
|
|
3550
3550
|
if (this.isIdentity())
|
|
3551
|
-
|
|
3551
|
+
a1[0] = q0[0], a1[1] = q0[1], a1[2] = U0[0], a1[3] = U0[1], a1[4] = o1[0], a1[5] = o1[1];
|
|
3552
3552
|
else {
|
|
3553
|
-
var
|
|
3554
|
-
|
|
3553
|
+
var l1 = this.props[0], c1 = this.props[1], y1 = this.props[4], E1 = this.props[5], g1 = this.props[12], G1 = this.props[13];
|
|
3554
|
+
a1[0] = q0[0] * l1 + q0[1] * y1 + g1, a1[1] = q0[0] * c1 + q0[1] * E1 + G1, a1[2] = U0[0] * l1 + U0[1] * y1 + g1, a1[3] = U0[0] * c1 + U0[1] * E1 + G1, a1[4] = o1[0] * l1 + o1[1] * y1 + g1, a1[5] = o1[0] * c1 + o1[1] * E1 + G1;
|
|
3555
3555
|
}
|
|
3556
|
-
return
|
|
3556
|
+
return a1;
|
|
3557
3557
|
}
|
|
3558
|
-
function
|
|
3559
|
-
var
|
|
3560
|
-
return this.isIdentity() ?
|
|
3558
|
+
function f1(q0, U0, o1) {
|
|
3559
|
+
var a1;
|
|
3560
|
+
return this.isIdentity() ? a1 = [q0, U0, o1] : a1 = [q0 * this.props[0] + U0 * this.props[4] + o1 * this.props[8] + this.props[12], q0 * this.props[1] + U0 * this.props[5] + o1 * this.props[9] + this.props[13], q0 * this.props[2] + U0 * this.props[6] + o1 * this.props[10] + this.props[14]], a1;
|
|
3561
3561
|
}
|
|
3562
|
-
function
|
|
3562
|
+
function u1(q0, U0) {
|
|
3563
3563
|
if (this.isIdentity())
|
|
3564
3564
|
return q0 + "," + U0;
|
|
3565
|
-
var
|
|
3566
|
-
return Math.round((q0 *
|
|
3565
|
+
var o1 = this.props;
|
|
3566
|
+
return Math.round((q0 * o1[0] + U0 * o1[4] + o1[12]) * 100) / 100 + "," + Math.round((q0 * o1[1] + U0 * o1[5] + o1[13]) * 100) / 100;
|
|
3567
3567
|
}
|
|
3568
|
-
function
|
|
3569
|
-
for (var q0 = 0, U0 = this.props,
|
|
3570
|
-
|
|
3571
|
-
return
|
|
3568
|
+
function k1() {
|
|
3569
|
+
for (var q0 = 0, U0 = this.props, o1 = "matrix3d(", a1 = 1e4; q0 < 16; )
|
|
3570
|
+
o1 += E(U0[q0] * a1) / a1, o1 += q0 === 15 ? ")" : ",", q0 += 1;
|
|
3571
|
+
return o1;
|
|
3572
3572
|
}
|
|
3573
3573
|
function Q0(q0) {
|
|
3574
3574
|
var U0 = 1e4;
|
|
3575
3575
|
return q0 < 1e-6 && q0 > 0 || q0 > -1e-6 && q0 < 0 ? E(q0 * U0) / U0 : q0;
|
|
3576
3576
|
}
|
|
3577
|
-
function
|
|
3578
|
-
var q0 = this.props, U0 = Q0(q0[0]),
|
|
3579
|
-
return "matrix(" + U0 + "," +
|
|
3577
|
+
function r1() {
|
|
3578
|
+
var q0 = this.props, U0 = Q0(q0[0]), o1 = Q0(q0[1]), a1 = Q0(q0[4]), l1 = Q0(q0[5]), c1 = Q0(q0[12]), y1 = Q0(q0[13]);
|
|
3579
|
+
return "matrix(" + U0 + "," + o1 + "," + a1 + "," + l1 + "," + c1 + "," + y1 + ")";
|
|
3580
3580
|
}
|
|
3581
3581
|
return function() {
|
|
3582
|
-
this.reset = g0, this.rotate = S0, this.rotateX = T0, this.rotateY = P0, this.rotateZ = C0, this.skew = N0, this.skewFromAxis = W0, this.shear = I0, this.scale = M0, this.setTransform = H0, this.translate = $0, this.transform = z0, this.multiply = J0, this.applyToPoint = K0, this.applyToX = Z0, this.applyToY = t1, this.applyToZ =
|
|
3582
|
+
this.reset = g0, this.rotate = S0, this.rotateX = T0, this.rotateY = P0, this.rotateZ = C0, this.skew = N0, this.skewFromAxis = W0, this.shear = I0, this.scale = M0, this.setTransform = H0, this.translate = $0, this.transform = z0, this.multiply = J0, this.applyToPoint = K0, this.applyToX = Z0, this.applyToY = t1, this.applyToZ = n1, this.applyToPointArray = f1, this.applyToTriplePoints = p1, this.applyToPointStringified = u1, this.toCSS = k1, this.to2dCSS = r1, this.clone = w0, this.cloneFromProps = j0, this.equals = O0, this.inversePoints = d1, this.inversePoint = v1, this.getInverseMatrix = m1, this._t = this.transform, this.isIdentity = R0, this._identity = !0, this._identityCalculated = !1, this.props = createTypedArray("float32", 16), this.reset();
|
|
3583
3583
|
};
|
|
3584
3584
|
}();
|
|
3585
3585
|
function _typeof$3(k) {
|
|
@@ -4413,46 +4413,46 @@ var lottie$1 = { exports: {} };
|
|
|
4413
4413
|
A = A.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]);
|
|
4414
4414
|
var E = 127988, g0 = 917631, S0 = 917601, T0 = 917626, P0 = 65039, C0 = 8205, I0 = 127462, N0 = 127487, W0 = ["d83cdffb", "d83cdffc", "d83cdffd", "d83cdffe", "d83cdfff"];
|
|
4415
4415
|
function M0(Q0) {
|
|
4416
|
-
var
|
|
4416
|
+
var r1 = Q0.split(","), q0, U0 = r1.length, o1 = [];
|
|
4417
4417
|
for (q0 = 0; q0 < U0; q0 += 1)
|
|
4418
|
-
|
|
4419
|
-
return
|
|
4418
|
+
r1[q0] !== "sans-serif" && r1[q0] !== "monospace" && o1.push(r1[q0]);
|
|
4419
|
+
return o1.join(",");
|
|
4420
4420
|
}
|
|
4421
|
-
function H0(Q0,
|
|
4421
|
+
function H0(Q0, r1) {
|
|
4422
4422
|
var q0 = createTag("span");
|
|
4423
|
-
q0.setAttribute("aria-hidden", !0), q0.style.fontFamily =
|
|
4423
|
+
q0.setAttribute("aria-hidden", !0), q0.style.fontFamily = r1;
|
|
4424
4424
|
var U0 = createTag("span");
|
|
4425
4425
|
U0.innerText = "giItT1WQy@!-/#", q0.style.position = "absolute", q0.style.left = "-10000px", q0.style.top = "-10000px", q0.style.fontSize = "300px", q0.style.fontVariant = "normal", q0.style.fontStyle = "normal", q0.style.fontWeight = "normal", q0.style.letterSpacing = "0", q0.appendChild(U0), document.body.appendChild(q0);
|
|
4426
|
-
var
|
|
4427
|
-
return U0.style.fontFamily = M0(Q0) + ", " +
|
|
4426
|
+
var o1 = U0.offsetWidth;
|
|
4427
|
+
return U0.style.fontFamily = M0(Q0) + ", " + r1, {
|
|
4428
4428
|
node: U0,
|
|
4429
|
-
w:
|
|
4429
|
+
w: o1,
|
|
4430
4430
|
parent: q0
|
|
4431
4431
|
};
|
|
4432
4432
|
}
|
|
4433
4433
|
function $0() {
|
|
4434
|
-
var Q0,
|
|
4435
|
-
for (Q0 = 0; Q0 <
|
|
4436
|
-
this.fonts[Q0].loaded ?
|
|
4437
|
-
|
|
4434
|
+
var Q0, r1 = this.fonts.length, q0, U0, o1 = r1;
|
|
4435
|
+
for (Q0 = 0; Q0 < r1; Q0 += 1)
|
|
4436
|
+
this.fonts[Q0].loaded ? o1 -= 1 : this.fonts[Q0].fOrigin === "n" || this.fonts[Q0].origin === 0 ? this.fonts[Q0].loaded = !0 : (q0 = this.fonts[Q0].monoCase.node, U0 = this.fonts[Q0].monoCase.w, q0.offsetWidth !== U0 ? (o1 -= 1, this.fonts[Q0].loaded = !0) : (q0 = this.fonts[Q0].sansCase.node, U0 = this.fonts[Q0].sansCase.w, q0.offsetWidth !== U0 && (o1 -= 1, this.fonts[Q0].loaded = !0)), this.fonts[Q0].loaded && (this.fonts[Q0].sansCase.parent.parentNode.removeChild(this.fonts[Q0].sansCase.parent), this.fonts[Q0].monoCase.parent.parentNode.removeChild(this.fonts[Q0].monoCase.parent)));
|
|
4437
|
+
o1 !== 0 && Date.now() - this.initTime < k ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
|
|
4438
4438
|
}
|
|
4439
|
-
function z0(Q0,
|
|
4440
|
-
var q0 = document.body &&
|
|
4439
|
+
function z0(Q0, r1) {
|
|
4440
|
+
var q0 = document.body && r1 ? "svg" : "canvas", U0, o1 = getFontProperties(Q0);
|
|
4441
4441
|
if (q0 === "svg") {
|
|
4442
|
-
var
|
|
4443
|
-
|
|
4442
|
+
var a1 = createNS("text");
|
|
4443
|
+
a1.style.fontSize = "100px", a1.setAttribute("font-family", Q0.fFamily), a1.setAttribute("font-style", o1.style), a1.setAttribute("font-weight", o1.weight), a1.textContent = "1", Q0.fClass ? (a1.style.fontFamily = "inherit", a1.setAttribute("class", Q0.fClass)) : a1.style.fontFamily = Q0.fFamily, r1.appendChild(a1), U0 = a1;
|
|
4444
4444
|
} else {
|
|
4445
|
-
var
|
|
4446
|
-
|
|
4445
|
+
var l1 = new OffscreenCanvas(500, 500).getContext("2d");
|
|
4446
|
+
l1.font = o1.style + " " + o1.weight + " 100px " + Q0.fFamily, U0 = l1;
|
|
4447
4447
|
}
|
|
4448
|
-
function
|
|
4449
|
-
return q0 === "svg" ? (U0.textContent =
|
|
4448
|
+
function c1(y1) {
|
|
4449
|
+
return q0 === "svg" ? (U0.textContent = y1, U0.getComputedTextLength()) : U0.measureText(y1).width;
|
|
4450
4450
|
}
|
|
4451
4451
|
return {
|
|
4452
|
-
measureText:
|
|
4452
|
+
measureText: c1
|
|
4453
4453
|
};
|
|
4454
4454
|
}
|
|
4455
|
-
function J0(Q0,
|
|
4455
|
+
function J0(Q0, r1) {
|
|
4456
4456
|
if (!Q0) {
|
|
4457
4457
|
this.isLoaded = !0;
|
|
4458
4458
|
return;
|
|
@@ -4462,136 +4462,136 @@ var lottie$1 = { exports: {} };
|
|
|
4462
4462
|
return;
|
|
4463
4463
|
}
|
|
4464
4464
|
if (!document.body) {
|
|
4465
|
-
this.isLoaded = !0, Q0.list.forEach(function(
|
|
4466
|
-
|
|
4465
|
+
this.isLoaded = !0, Q0.list.forEach(function(T1) {
|
|
4466
|
+
T1.helper = z0(T1), T1.cache = {};
|
|
4467
4467
|
}), this.fonts = Q0.list;
|
|
4468
4468
|
return;
|
|
4469
4469
|
}
|
|
4470
|
-
var q0 = Q0.list, U0,
|
|
4471
|
-
for (U0 = 0; U0 <
|
|
4472
|
-
var
|
|
4470
|
+
var q0 = Q0.list, U0, o1 = q0.length, a1 = o1;
|
|
4471
|
+
for (U0 = 0; U0 < o1; U0 += 1) {
|
|
4472
|
+
var l1 = !0, c1, y1;
|
|
4473
4473
|
if (q0[U0].loaded = !1, q0[U0].monoCase = H0(q0[U0].fFamily, "monospace"), q0[U0].sansCase = H0(q0[U0].fFamily, "sans-serif"), !q0[U0].fPath)
|
|
4474
|
-
q0[U0].loaded = !0,
|
|
4474
|
+
q0[U0].loaded = !0, a1 -= 1;
|
|
4475
4475
|
else if (q0[U0].fOrigin === "p" || q0[U0].origin === 3) {
|
|
4476
|
-
if (
|
|
4477
|
-
var
|
|
4478
|
-
|
|
4476
|
+
if (c1 = document.querySelectorAll('style[f-forigin="p"][f-family="' + q0[U0].fFamily + '"], style[f-origin="3"][f-family="' + q0[U0].fFamily + '"]'), c1.length > 0 && (l1 = !1), l1) {
|
|
4477
|
+
var E1 = createTag("style");
|
|
4478
|
+
E1.setAttribute("f-forigin", q0[U0].fOrigin), E1.setAttribute("f-origin", q0[U0].origin), E1.setAttribute("f-family", q0[U0].fFamily), E1.type = "text/css", E1.innerText = "@font-face {font-family: " + q0[U0].fFamily + "; font-style: normal; src: url('" + q0[U0].fPath + "');}", r1.appendChild(E1);
|
|
4479
4479
|
}
|
|
4480
4480
|
} else if (q0[U0].fOrigin === "g" || q0[U0].origin === 1) {
|
|
4481
|
-
for (
|
|
4482
|
-
|
|
4483
|
-
if (
|
|
4484
|
-
var
|
|
4485
|
-
|
|
4481
|
+
for (c1 = document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'), y1 = 0; y1 < c1.length; y1 += 1)
|
|
4482
|
+
c1[y1].href.indexOf(q0[U0].fPath) !== -1 && (l1 = !1);
|
|
4483
|
+
if (l1) {
|
|
4484
|
+
var g1 = createTag("link");
|
|
4485
|
+
g1.setAttribute("f-forigin", q0[U0].fOrigin), g1.setAttribute("f-origin", q0[U0].origin), g1.type = "text/css", g1.rel = "stylesheet", g1.href = q0[U0].fPath, document.body.appendChild(g1);
|
|
4486
4486
|
}
|
|
4487
4487
|
} else if (q0[U0].fOrigin === "t" || q0[U0].origin === 2) {
|
|
4488
|
-
for (
|
|
4489
|
-
q0[U0].fPath ===
|
|
4490
|
-
if (
|
|
4491
|
-
var
|
|
4492
|
-
|
|
4488
|
+
for (c1 = document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'), y1 = 0; y1 < c1.length; y1 += 1)
|
|
4489
|
+
q0[U0].fPath === c1[y1].src && (l1 = !1);
|
|
4490
|
+
if (l1) {
|
|
4491
|
+
var G1 = createTag("link");
|
|
4492
|
+
G1.setAttribute("f-forigin", q0[U0].fOrigin), G1.setAttribute("f-origin", q0[U0].origin), G1.setAttribute("rel", "stylesheet"), G1.setAttribute("href", q0[U0].fPath), r1.appendChild(G1);
|
|
4493
4493
|
}
|
|
4494
4494
|
}
|
|
4495
|
-
q0[U0].helper = z0(q0[U0],
|
|
4495
|
+
q0[U0].helper = z0(q0[U0], r1), q0[U0].cache = {}, this.fonts.push(q0[U0]);
|
|
4496
4496
|
}
|
|
4497
|
-
|
|
4497
|
+
a1 === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
|
|
4498
4498
|
}
|
|
4499
4499
|
function R0(Q0) {
|
|
4500
4500
|
if (Q0) {
|
|
4501
4501
|
this.chars || (this.chars = []);
|
|
4502
|
-
var
|
|
4503
|
-
for (
|
|
4504
|
-
for (U0 = 0,
|
|
4505
|
-
this.chars[U0].style === Q0[
|
|
4506
|
-
|
|
4502
|
+
var r1, q0 = Q0.length, U0, o1 = this.chars.length, a1;
|
|
4503
|
+
for (r1 = 0; r1 < q0; r1 += 1) {
|
|
4504
|
+
for (U0 = 0, a1 = !1; U0 < o1; )
|
|
4505
|
+
this.chars[U0].style === Q0[r1].style && this.chars[U0].fFamily === Q0[r1].fFamily && this.chars[U0].ch === Q0[r1].ch && (a1 = !0), U0 += 1;
|
|
4506
|
+
a1 || (this.chars.push(Q0[r1]), o1 += 1);
|
|
4507
4507
|
}
|
|
4508
4508
|
}
|
|
4509
4509
|
}
|
|
4510
|
-
function O0(Q0,
|
|
4511
|
-
for (var U0 = 0,
|
|
4512
|
-
if (this.chars[U0].ch === Q0 && this.chars[U0].style ===
|
|
4510
|
+
function O0(Q0, r1, q0) {
|
|
4511
|
+
for (var U0 = 0, o1 = this.chars.length; U0 < o1; ) {
|
|
4512
|
+
if (this.chars[U0].ch === Q0 && this.chars[U0].style === r1 && this.chars[U0].fFamily === q0)
|
|
4513
4513
|
return this.chars[U0];
|
|
4514
4514
|
U0 += 1;
|
|
4515
4515
|
}
|
|
4516
|
-
return (typeof Q0 == "string" && Q0.charCodeAt(0) !== 13 || !Q0) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", Q0,
|
|
4516
|
+
return (typeof Q0 == "string" && Q0.charCodeAt(0) !== 13 || !Q0) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", Q0, r1, q0)), y;
|
|
4517
4517
|
}
|
|
4518
|
-
function w0(Q0,
|
|
4519
|
-
var U0 = this.getFontByName(
|
|
4520
|
-
if (!U0.cache[
|
|
4521
|
-
var
|
|
4518
|
+
function w0(Q0, r1, q0) {
|
|
4519
|
+
var U0 = this.getFontByName(r1), o1 = Q0;
|
|
4520
|
+
if (!U0.cache[o1]) {
|
|
4521
|
+
var a1 = U0.helper;
|
|
4522
4522
|
if (Q0 === " ") {
|
|
4523
|
-
var
|
|
4524
|
-
U0.cache[
|
|
4523
|
+
var l1 = a1.measureText("|" + Q0 + "|"), c1 = a1.measureText("||");
|
|
4524
|
+
U0.cache[o1] = (l1 - c1) / 100;
|
|
4525
4525
|
} else
|
|
4526
|
-
U0.cache[
|
|
4526
|
+
U0.cache[o1] = a1.measureText(Q0) / 100;
|
|
4527
4527
|
}
|
|
4528
|
-
return U0.cache[
|
|
4528
|
+
return U0.cache[o1] * q0;
|
|
4529
4529
|
}
|
|
4530
4530
|
function j0(Q0) {
|
|
4531
|
-
for (var
|
|
4532
|
-
if (this.fonts[
|
|
4533
|
-
return this.fonts[
|
|
4534
|
-
|
|
4531
|
+
for (var r1 = 0, q0 = this.fonts.length; r1 < q0; ) {
|
|
4532
|
+
if (this.fonts[r1].fName === Q0)
|
|
4533
|
+
return this.fonts[r1];
|
|
4534
|
+
r1 += 1;
|
|
4535
4535
|
}
|
|
4536
4536
|
return this.fonts[0];
|
|
4537
4537
|
}
|
|
4538
4538
|
function K0(Q0) {
|
|
4539
|
-
var
|
|
4539
|
+
var r1 = 0, q0 = Q0.charCodeAt(0);
|
|
4540
4540
|
if (q0 >= 55296 && q0 <= 56319) {
|
|
4541
4541
|
var U0 = Q0.charCodeAt(1);
|
|
4542
|
-
U0 >= 56320 && U0 <= 57343 && (
|
|
4542
|
+
U0 >= 56320 && U0 <= 57343 && (r1 = (q0 - 55296) * 1024 + U0 - 56320 + 65536);
|
|
4543
4543
|
}
|
|
4544
|
-
return
|
|
4544
|
+
return r1;
|
|
4545
4545
|
}
|
|
4546
|
-
function Z0(Q0,
|
|
4547
|
-
var q0 = Q0.toString(16) +
|
|
4546
|
+
function Z0(Q0, r1) {
|
|
4547
|
+
var q0 = Q0.toString(16) + r1.toString(16);
|
|
4548
4548
|
return W0.indexOf(q0) !== -1;
|
|
4549
4549
|
}
|
|
4550
4550
|
function t1(Q0) {
|
|
4551
4551
|
return Q0 === C0;
|
|
4552
4552
|
}
|
|
4553
|
-
function
|
|
4553
|
+
function n1(Q0) {
|
|
4554
4554
|
return Q0 === P0;
|
|
4555
4555
|
}
|
|
4556
|
-
function
|
|
4557
|
-
var
|
|
4558
|
-
return
|
|
4556
|
+
function m1(Q0) {
|
|
4557
|
+
var r1 = K0(Q0);
|
|
4558
|
+
return r1 >= I0 && r1 <= N0;
|
|
4559
4559
|
}
|
|
4560
|
-
function
|
|
4561
|
-
return
|
|
4560
|
+
function v1(Q0) {
|
|
4561
|
+
return m1(Q0.substr(0, 2)) && m1(Q0.substr(2, 2));
|
|
4562
4562
|
}
|
|
4563
|
-
function
|
|
4563
|
+
function d1(Q0) {
|
|
4564
4564
|
return A.indexOf(Q0) !== -1;
|
|
4565
4565
|
}
|
|
4566
|
-
function
|
|
4567
|
-
var q0 = K0(Q0.substr(
|
|
4566
|
+
function p1(Q0, r1) {
|
|
4567
|
+
var q0 = K0(Q0.substr(r1, 2));
|
|
4568
4568
|
if (q0 !== E)
|
|
4569
4569
|
return !1;
|
|
4570
4570
|
var U0 = 0;
|
|
4571
|
-
for (
|
|
4572
|
-
if (q0 = K0(Q0.substr(
|
|
4571
|
+
for (r1 += 2; U0 < 5; ) {
|
|
4572
|
+
if (q0 = K0(Q0.substr(r1, 2)), q0 < S0 || q0 > T0)
|
|
4573
4573
|
return !1;
|
|
4574
|
-
U0 += 1,
|
|
4574
|
+
U0 += 1, r1 += 2;
|
|
4575
4575
|
}
|
|
4576
|
-
return K0(Q0.substr(
|
|
4576
|
+
return K0(Q0.substr(r1, 2)) === g0;
|
|
4577
4577
|
}
|
|
4578
|
-
function
|
|
4578
|
+
function f1() {
|
|
4579
4579
|
this.isLoaded = !0;
|
|
4580
4580
|
}
|
|
4581
|
-
var
|
|
4581
|
+
var u1 = function() {
|
|
4582
4582
|
this.fonts = [], this.chars = null, this.typekitLoaded = 0, this.isLoaded = !1, this._warned = !1, this.initTime = Date.now(), this.setIsLoadedBinded = this.setIsLoaded.bind(this), this.checkLoadedFontsBinded = this.checkLoadedFonts.bind(this);
|
|
4583
4583
|
};
|
|
4584
|
-
|
|
4585
|
-
var
|
|
4584
|
+
u1.isModifier = Z0, u1.isZeroWidthJoiner = t1, u1.isFlagEmoji = v1, u1.isRegionalCode = m1, u1.isCombinedCharacter = d1, u1.isRegionalFlag = p1, u1.isVariationSelector = n1, u1.BLACK_FLAG_CODE_POINT = E;
|
|
4585
|
+
var k1 = {
|
|
4586
4586
|
addChars: R0,
|
|
4587
4587
|
addFonts: J0,
|
|
4588
4588
|
getCharData: O0,
|
|
4589
4589
|
getFontByName: j0,
|
|
4590
4590
|
measureText: w0,
|
|
4591
4591
|
checkLoadedFonts: $0,
|
|
4592
|
-
setIsLoaded:
|
|
4592
|
+
setIsLoaded: f1
|
|
4593
4593
|
};
|
|
4594
|
-
return
|
|
4594
|
+
return u1.prototype = k1, u1;
|
|
4595
4595
|
}();
|
|
4596
4596
|
function SlotManager(k) {
|
|
4597
4597
|
this.animationData = k;
|
|
@@ -5541,14 +5541,14 @@ var lottie$1 = { exports: {} };
|
|
|
5541
5541
|
function S0() {
|
|
5542
5542
|
}
|
|
5543
5543
|
function T0(W0, M0, H0) {
|
|
5544
|
-
var $0, z0, J0, R0, O0, w0, j0 = M0.styles.length, K0 = M0.lvl, Z0, t1,
|
|
5544
|
+
var $0, z0, J0, R0, O0, w0, j0 = M0.styles.length, K0 = M0.lvl, Z0, t1, n1, m1;
|
|
5545
5545
|
for (w0 = 0; w0 < j0; w0 += 1) {
|
|
5546
5546
|
if (R0 = M0.sh._mdf || H0, M0.styles[w0].lvl < K0) {
|
|
5547
|
-
for (t1 = y.reset(),
|
|
5548
|
-
R0 = M0.transformers[
|
|
5547
|
+
for (t1 = y.reset(), n1 = K0 - M0.styles[w0].lvl, m1 = M0.transformers.length - 1; !R0 && n1 > 0; )
|
|
5548
|
+
R0 = M0.transformers[m1].mProps._mdf || R0, n1 -= 1, m1 -= 1;
|
|
5549
5549
|
if (R0)
|
|
5550
|
-
for (
|
|
5551
|
-
t1.multiply(M0.transformers[
|
|
5550
|
+
for (n1 = K0 - M0.styles[w0].lvl, m1 = M0.transformers.length - 1; n1 > 0; )
|
|
5551
|
+
t1.multiply(M0.transformers[m1].mProps.v), n1 -= 1, m1 -= 1;
|
|
5552
5552
|
} else
|
|
5553
5553
|
t1 = k;
|
|
5554
5554
|
if (Z0 = M0.sh.paths, z0 = Z0._length, R0) {
|
|
@@ -5577,28 +5577,28 @@ var lottie$1 = { exports: {} };
|
|
|
5577
5577
|
var w0 = W0.t === 1 ? "x1" : "cx", j0 = w0 === "x1" ? "y1" : "cy";
|
|
5578
5578
|
$0.setAttribute(w0, J0[0]), $0.setAttribute(j0, J0[1]), z0 && !M0.g._collapsable && (M0.of.setAttribute(w0, J0[0]), M0.of.setAttribute(j0, J0[1]));
|
|
5579
5579
|
}
|
|
5580
|
-
var K0, Z0, t1,
|
|
5580
|
+
var K0, Z0, t1, n1;
|
|
5581
5581
|
if (M0.g._cmdf || H0) {
|
|
5582
5582
|
K0 = M0.cst;
|
|
5583
|
-
var
|
|
5583
|
+
var m1 = M0.g.c;
|
|
5584
5584
|
for (t1 = K0.length, Z0 = 0; Z0 < t1; Z0 += 1)
|
|
5585
|
-
|
|
5585
|
+
n1 = K0[Z0], n1.setAttribute("offset", m1[Z0 * 4] + "%"), n1.setAttribute("stop-color", "rgb(" + m1[Z0 * 4 + 1] + "," + m1[Z0 * 4 + 2] + "," + m1[Z0 * 4 + 3] + ")");
|
|
5586
5586
|
}
|
|
5587
5587
|
if (z0 && (M0.g._omdf || H0)) {
|
|
5588
|
-
var
|
|
5588
|
+
var v1 = M0.g.o;
|
|
5589
5589
|
for (M0.g._collapsable ? K0 = M0.cst : K0 = M0.ost, t1 = K0.length, Z0 = 0; Z0 < t1; Z0 += 1)
|
|
5590
|
-
|
|
5590
|
+
n1 = K0[Z0], M0.g._collapsable || n1.setAttribute("offset", v1[Z0 * 2] + "%"), n1.setAttribute("stop-opacity", v1[Z0 * 2 + 1]);
|
|
5591
5591
|
}
|
|
5592
5592
|
if (W0.t === 1)
|
|
5593
5593
|
(M0.e._mdf || H0) && ($0.setAttribute("x2", R0[0]), $0.setAttribute("y2", R0[1]), z0 && !M0.g._collapsable && (M0.of.setAttribute("x2", R0[0]), M0.of.setAttribute("y2", R0[1])));
|
|
5594
5594
|
else {
|
|
5595
|
-
var
|
|
5596
|
-
if ((M0.s._mdf || M0.e._mdf || H0) && (
|
|
5597
|
-
|
|
5598
|
-
var
|
|
5599
|
-
|
|
5600
|
-
var
|
|
5601
|
-
$0.setAttribute("fx",
|
|
5595
|
+
var d1;
|
|
5596
|
+
if ((M0.s._mdf || M0.e._mdf || H0) && (d1 = Math.sqrt(Math.pow(J0[0] - R0[0], 2) + Math.pow(J0[1] - R0[1], 2)), $0.setAttribute("r", d1), z0 && !M0.g._collapsable && M0.of.setAttribute("r", d1)), M0.e._mdf || M0.h._mdf || M0.a._mdf || H0) {
|
|
5597
|
+
d1 || (d1 = Math.sqrt(Math.pow(J0[0] - R0[0], 2) + Math.pow(J0[1] - R0[1], 2)));
|
|
5598
|
+
var p1 = Math.atan2(R0[1] - J0[1], R0[0] - J0[0]), f1 = M0.h.v;
|
|
5599
|
+
f1 >= 1 ? f1 = 0.99 : f1 <= -1 && (f1 = -0.99);
|
|
5600
|
+
var u1 = d1 * f1, k1 = Math.cos(p1 + M0.a.v) * u1 + J0[0], Q0 = Math.sin(p1 + M0.a.v) * u1 + J0[1];
|
|
5601
|
+
$0.setAttribute("fx", k1), $0.setAttribute("fy", Q0), z0 && !M0.g._collapsable && (M0.of.setAttribute("fx", k1), M0.of.setAttribute("fy", Q0));
|
|
5602
5602
|
}
|
|
5603
5603
|
}
|
|
5604
5604
|
}
|
|
@@ -5793,17 +5793,17 @@ var lottie$1 = { exports: {} };
|
|
|
5793
5793
|
k.fWeight = K0.weight, k.fStyle = K0.style, k.finalSize = k.s, k.finalText = this.buildFinalText(k.t), S0 = k.finalText.length, k.finalLineHeight = k.lh;
|
|
5794
5794
|
var Z0 = k.tr / 1e3 * k.finalSize, t1;
|
|
5795
5795
|
if (k.sz)
|
|
5796
|
-
for (var
|
|
5797
|
-
|
|
5798
|
-
var
|
|
5796
|
+
for (var n1 = !0, m1 = k.sz[0], v1 = k.sz[1], d1, p1; n1; ) {
|
|
5797
|
+
p1 = this.buildFinalText(k.t), d1 = 0, $0 = 0, S0 = p1.length, Z0 = k.tr / 1e3 * k.finalSize;
|
|
5798
|
+
var f1 = -1;
|
|
5799
5799
|
for (g0 = 0; g0 < S0; g0 += 1)
|
|
5800
|
-
t1 =
|
|
5801
|
-
|
|
5800
|
+
t1 = p1[g0].charCodeAt(0), T0 = !1, p1[g0] === " " ? f1 = g0 : (t1 === 13 || t1 === 3) && ($0 = 0, T0 = !0, d1 += k.finalLineHeight || k.finalSize * 1.2), y.chars ? (w0 = y.getCharData(p1[g0], O0.fStyle, O0.fFamily), j0 = T0 ? 0 : w0.w * k.finalSize / 100) : j0 = y.measureText(p1[g0], k.f, k.finalSize), $0 + j0 > m1 && p1[g0] !== " " ? (f1 === -1 ? S0 += 1 : g0 = f1, d1 += k.finalLineHeight || k.finalSize * 1.2, p1.splice(g0, f1 === g0 ? 1 : 0, "\r"), f1 = -1, $0 = 0) : ($0 += j0, $0 += Z0);
|
|
5801
|
+
d1 += O0.ascent * k.finalSize / 100, this.canResize && k.finalSize > this.minimumFontSize && v1 < d1 ? (k.finalSize -= 1, k.finalLineHeight = k.finalSize * k.lh / k.s) : (k.finalText = p1, S0 = k.finalText.length, n1 = !1);
|
|
5802
5802
|
}
|
|
5803
5803
|
$0 = -Z0, j0 = 0;
|
|
5804
|
-
var
|
|
5804
|
+
var u1 = 0, k1;
|
|
5805
5805
|
for (g0 = 0; g0 < S0; g0 += 1)
|
|
5806
|
-
if (T0 = !1,
|
|
5806
|
+
if (T0 = !1, k1 = k.finalText[g0], t1 = k1.charCodeAt(0), t1 === 13 || t1 === 3 ? (u1 = 0, H0.push($0), z0 = $0 > z0 ? $0 : z0, $0 = -2 * Z0, C0 = "", T0 = !0, M0 += 1) : C0 = k1, y.chars ? (w0 = y.getCharData(k1, O0.fStyle, y.getFontByName(k.f).fFamily), j0 = T0 ? 0 : w0.w * k.finalSize / 100) : j0 = y.measureText(C0, k.f, k.finalSize), k1 === " " ? u1 += j0 + Z0 : ($0 += j0 + Z0 + u1, u1 = 0), E.push({
|
|
5807
5807
|
l: j0,
|
|
5808
5808
|
an: j0,
|
|
5809
5809
|
add: N0,
|
|
@@ -5840,17 +5840,17 @@ var lottie$1 = { exports: {} };
|
|
|
5840
5840
|
k.justifyOffset = 0;
|
|
5841
5841
|
}
|
|
5842
5842
|
k.lineWidths = H0;
|
|
5843
|
-
var Q0 = A.a,
|
|
5843
|
+
var Q0 = A.a, r1, q0;
|
|
5844
5844
|
R0 = Q0.length;
|
|
5845
|
-
var U0,
|
|
5845
|
+
var U0, o1, a1 = [];
|
|
5846
5846
|
for (J0 = 0; J0 < R0; J0 += 1) {
|
|
5847
|
-
for (
|
|
5848
|
-
q0 = E[g0], q0.anIndexes[J0] =
|
|
5849
|
-
A.a[J0].s.totalChars =
|
|
5850
|
-
var
|
|
5851
|
-
if (
|
|
5847
|
+
for (r1 = Q0[J0], r1.a.sc && (k.strokeColorAnim = !0), r1.a.sw && (k.strokeWidthAnim = !0), (r1.a.fc || r1.a.fh || r1.a.fs || r1.a.fb) && (k.fillColorAnim = !0), o1 = 0, U0 = r1.s.b, g0 = 0; g0 < S0; g0 += 1)
|
|
5848
|
+
q0 = E[g0], q0.anIndexes[J0] = o1, (U0 == 1 && q0.val !== "" || U0 == 2 && q0.val !== "" && q0.val !== " " || U0 == 3 && (q0.n || q0.val == " " || g0 == S0 - 1) || U0 == 4 && (q0.n || g0 == S0 - 1)) && (r1.s.rn === 1 && a1.push(o1), o1 += 1);
|
|
5849
|
+
A.a[J0].s.totalChars = o1;
|
|
5850
|
+
var l1 = -1, c1;
|
|
5851
|
+
if (r1.s.rn === 1)
|
|
5852
5852
|
for (g0 = 0; g0 < S0; g0 += 1)
|
|
5853
|
-
q0 = E[g0],
|
|
5853
|
+
q0 = E[g0], l1 != q0.anIndexes[J0] && (l1 = q0.anIndexes[J0], c1 = a1.splice(Math.floor(Math.random() * a1.length), 1)[0]), q0.anIndexes[J0] = c1;
|
|
5854
5854
|
}
|
|
5855
5855
|
k.yOffset = k.finalLineHeight || k.finalSize * 1.2, k.ls = k.ls || 0, k.ascent = O0.ascent * k.finalSize / 100;
|
|
5856
5856
|
}, TextProperty.prototype.updateDocumentData = function(k, y) {
|
|
@@ -5974,94 +5974,94 @@ var lottie$1 = { exports: {} };
|
|
|
5974
5974
|
}, TextAnimatorProperty.prototype.getMeasures = function(k, y) {
|
|
5975
5975
|
if (this.lettersChangedFlag = y, !(!this._mdf && !this._isFirstFrame && !y && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
|
|
5976
5976
|
this._isFirstFrame = !1;
|
|
5977
|
-
var A = this._moreOptions.alignment.v, E = this._animatorsData, g0 = this._textData, S0 = this.mHelper, T0 = this._renderType, P0 = this.renderedLetters.length, C0, I0, N0, W0, M0 = k.l, H0, $0, z0, J0, R0, O0, w0, j0, K0, Z0, t1,
|
|
5977
|
+
var A = this._moreOptions.alignment.v, E = this._animatorsData, g0 = this._textData, S0 = this.mHelper, T0 = this._renderType, P0 = this.renderedLetters.length, C0, I0, N0, W0, M0 = k.l, H0, $0, z0, J0, R0, O0, w0, j0, K0, Z0, t1, n1, m1, v1, d1;
|
|
5978
5978
|
if (this._hasMaskedPath) {
|
|
5979
|
-
if (
|
|
5980
|
-
var
|
|
5981
|
-
this._pathData.r.v && (
|
|
5979
|
+
if (d1 = this._pathData.m, !this._pathData.n || this._pathData._mdf) {
|
|
5980
|
+
var p1 = d1.v;
|
|
5981
|
+
this._pathData.r.v && (p1 = p1.reverse()), H0 = {
|
|
5982
5982
|
tLength: 0,
|
|
5983
5983
|
segments: []
|
|
5984
|
-
}, W0 =
|
|
5985
|
-
var
|
|
5986
|
-
for (
|
|
5987
|
-
|
|
5988
|
-
N0 = W0,
|
|
5984
|
+
}, W0 = p1._length - 1;
|
|
5985
|
+
var f1;
|
|
5986
|
+
for (n1 = 0, N0 = 0; N0 < W0; N0 += 1)
|
|
5987
|
+
f1 = bez.buildBezierData(p1.v[N0], p1.v[N0 + 1], [p1.o[N0][0] - p1.v[N0][0], p1.o[N0][1] - p1.v[N0][1]], [p1.i[N0 + 1][0] - p1.v[N0 + 1][0], p1.i[N0 + 1][1] - p1.v[N0 + 1][1]]), H0.tLength += f1.segmentLength, H0.segments.push(f1), n1 += f1.segmentLength;
|
|
5988
|
+
N0 = W0, d1.v.c && (f1 = bez.buildBezierData(p1.v[N0], p1.v[0], [p1.o[N0][0] - p1.v[N0][0], p1.o[N0][1] - p1.v[N0][1]], [p1.i[0][0] - p1.v[0][0], p1.i[0][1] - p1.v[0][1]]), H0.tLength += f1.segmentLength, H0.segments.push(f1), n1 += f1.segmentLength), this._pathData.pi = H0;
|
|
5989
5989
|
}
|
|
5990
|
-
if (H0 = this._pathData.pi, $0 = this._pathData.f.v, w0 = 0, O0 = 1, J0 = 0, R0 = !0, Z0 = H0.segments, $0 < 0 &&
|
|
5990
|
+
if (H0 = this._pathData.pi, $0 = this._pathData.f.v, w0 = 0, O0 = 1, J0 = 0, R0 = !0, Z0 = H0.segments, $0 < 0 && d1.v.c)
|
|
5991
5991
|
for (H0.tLength < Math.abs($0) && ($0 = -Math.abs($0) % H0.tLength), w0 = Z0.length - 1, K0 = Z0[w0].points, O0 = K0.length - 1; $0 < 0; )
|
|
5992
5992
|
$0 += K0[O0].partialLength, O0 -= 1, O0 < 0 && (w0 -= 1, K0 = Z0[w0].points, O0 = K0.length - 1);
|
|
5993
5993
|
K0 = Z0[w0].points, j0 = K0[O0 - 1], z0 = K0[O0], t1 = z0.partialLength;
|
|
5994
5994
|
}
|
|
5995
5995
|
W0 = M0.length, C0 = 0, I0 = 0;
|
|
5996
|
-
var
|
|
5996
|
+
var u1 = k.finalSize * 1.2 * 0.714, k1 = !0, Q0, r1, q0, U0, o1;
|
|
5997
5997
|
U0 = E.length;
|
|
5998
|
-
var
|
|
5998
|
+
var a1, l1 = -1, c1, y1, E1, g1 = $0, G1 = w0, T1 = O0, L1 = -1, M1, P1, I1, D1, A1, H1, W1, R1, N1 = "", q1 = this.defaultPropsArray, $1;
|
|
5999
5999
|
if (k.j === 2 || k.j === 1) {
|
|
6000
|
-
var
|
|
6000
|
+
var C1 = 0, _1 = 0, j1 = k.j === 2 ? -0.5 : -1, O1 = 0, w1 = !0;
|
|
6001
6001
|
for (N0 = 0; N0 < W0; N0 += 1)
|
|
6002
6002
|
if (M0[N0].n) {
|
|
6003
|
-
for (
|
|
6004
|
-
M0[
|
|
6005
|
-
|
|
6003
|
+
for (C1 && (C1 += _1); O1 < N0; )
|
|
6004
|
+
M0[O1].animatorJustifyOffset = C1, O1 += 1;
|
|
6005
|
+
C1 = 0, w1 = !0;
|
|
6006
6006
|
} else {
|
|
6007
6007
|
for (q0 = 0; q0 < U0; q0 += 1)
|
|
6008
|
-
Q0 = E[q0].a, Q0.t.propType && (
|
|
6009
|
-
|
|
6008
|
+
Q0 = E[q0].a, Q0.t.propType && (w1 && k.j === 2 && (_1 += Q0.t.v * j1), r1 = E[q0].s, a1 = r1.getMult(M0[N0].anIndexes[q0], g0.a[q0].s.totalChars), a1.length ? C1 += Q0.t.v * a1[0] * j1 : C1 += Q0.t.v * a1 * j1);
|
|
6009
|
+
w1 = !1;
|
|
6010
6010
|
}
|
|
6011
|
-
for (
|
|
6012
|
-
M0[
|
|
6011
|
+
for (C1 && (C1 += _1); O1 < N0; )
|
|
6012
|
+
M0[O1].animatorJustifyOffset = C1, O1 += 1;
|
|
6013
6013
|
}
|
|
6014
6014
|
for (N0 = 0; N0 < W0; N0 += 1) {
|
|
6015
|
-
if (S0.reset(),
|
|
6016
|
-
C0 = 0, I0 += k.yOffset, I0 +=
|
|
6015
|
+
if (S0.reset(), M1 = 1, M0[N0].n)
|
|
6016
|
+
C0 = 0, I0 += k.yOffset, I0 += k1 ? 1 : 0, $0 = g1, k1 = !1, this._hasMaskedPath && (w0 = G1, O0 = T1, K0 = Z0[w0].points, j0 = K0[O0 - 1], z0 = K0[O0], t1 = z0.partialLength, J0 = 0), N1 = "", R1 = "", H1 = "", $1 = "", q1 = this.defaultPropsArray;
|
|
6017
6017
|
else {
|
|
6018
6018
|
if (this._hasMaskedPath) {
|
|
6019
|
-
if (
|
|
6019
|
+
if (L1 !== M0[N0].line) {
|
|
6020
6020
|
switch (k.j) {
|
|
6021
6021
|
case 1:
|
|
6022
|
-
$0 +=
|
|
6022
|
+
$0 += n1 - k.lineWidths[M0[N0].line];
|
|
6023
6023
|
break;
|
|
6024
6024
|
case 2:
|
|
6025
|
-
$0 += (
|
|
6025
|
+
$0 += (n1 - k.lineWidths[M0[N0].line]) / 2;
|
|
6026
6026
|
break;
|
|
6027
6027
|
}
|
|
6028
|
-
|
|
6028
|
+
L1 = M0[N0].line;
|
|
6029
6029
|
}
|
|
6030
|
-
|
|
6031
|
-
var
|
|
6030
|
+
l1 !== M0[N0].ind && (M0[l1] && ($0 += M0[l1].extra), $0 += M0[N0].an / 2, l1 = M0[N0].ind), $0 += A[0] * M0[N0].an * 5e-3;
|
|
6031
|
+
var z1 = 0;
|
|
6032
6032
|
for (q0 = 0; q0 < U0; q0 += 1)
|
|
6033
|
-
Q0 = E[q0].a, Q0.p.propType && (
|
|
6034
|
-
for (R0 = !0, this._pathData.a.v && ($0 = M0[0].an * 0.5 + (
|
|
6035
|
-
J0 + t1 >= $0 +
|
|
6036
|
-
|
|
6033
|
+
Q0 = E[q0].a, Q0.p.propType && (r1 = E[q0].s, a1 = r1.getMult(M0[N0].anIndexes[q0], g0.a[q0].s.totalChars), a1.length ? z1 += Q0.p.v[0] * a1[0] : z1 += Q0.p.v[0] * a1), Q0.a.propType && (r1 = E[q0].s, a1 = r1.getMult(M0[N0].anIndexes[q0], g0.a[q0].s.totalChars), a1.length ? z1 += Q0.a.v[0] * a1[0] : z1 += Q0.a.v[0] * a1);
|
|
6034
|
+
for (R0 = !0, this._pathData.a.v && ($0 = M0[0].an * 0.5 + (n1 - this._pathData.f.v - M0[0].an * 0.5 - M0[M0.length - 1].an * 0.5) * l1 / (W0 - 1), $0 += this._pathData.f.v); R0; )
|
|
6035
|
+
J0 + t1 >= $0 + z1 || !K0 ? (m1 = ($0 + z1 - J0) / z0.partialLength, y1 = j0.point[0] + (z0.point[0] - j0.point[0]) * m1, E1 = j0.point[1] + (z0.point[1] - j0.point[1]) * m1, S0.translate(-A[0] * M0[N0].an * 5e-3, -(A[1] * u1) * 0.01), R0 = !1) : K0 && (J0 += z0.partialLength, O0 += 1, O0 >= K0.length && (O0 = 0, w0 += 1, Z0[w0] ? K0 = Z0[w0].points : d1.v.c ? (O0 = 0, w0 = 0, K0 = Z0[w0].points) : (J0 -= z0.partialLength, K0 = null)), K0 && (j0 = z0, z0 = K0[O0], t1 = z0.partialLength));
|
|
6036
|
+
c1 = M0[N0].an / 2 - M0[N0].add, S0.translate(-c1, 0, 0);
|
|
6037
6037
|
} else
|
|
6038
|
-
|
|
6038
|
+
c1 = M0[N0].an / 2 - M0[N0].add, S0.translate(-c1, 0, 0), S0.translate(-A[0] * M0[N0].an * 5e-3, -A[1] * u1 * 0.01, 0);
|
|
6039
6039
|
for (q0 = 0; q0 < U0; q0 += 1)
|
|
6040
|
-
Q0 = E[q0].a, Q0.t.propType && (
|
|
6041
|
-
for (k.strokeWidthAnim && (
|
|
6042
|
-
Q0 = E[q0].a, Q0.a.propType && (
|
|
6040
|
+
Q0 = E[q0].a, Q0.t.propType && (r1 = E[q0].s, a1 = r1.getMult(M0[N0].anIndexes[q0], g0.a[q0].s.totalChars), (C0 !== 0 || k.j !== 0) && (this._hasMaskedPath ? a1.length ? $0 += Q0.t.v * a1[0] : $0 += Q0.t.v * a1 : a1.length ? C0 += Q0.t.v * a1[0] : C0 += Q0.t.v * a1));
|
|
6041
|
+
for (k.strokeWidthAnim && (I1 = k.sw || 0), k.strokeColorAnim && (k.sc ? P1 = [k.sc[0], k.sc[1], k.sc[2]] : P1 = [0, 0, 0]), k.fillColorAnim && k.fc && (D1 = [k.fc[0], k.fc[1], k.fc[2]]), q0 = 0; q0 < U0; q0 += 1)
|
|
6042
|
+
Q0 = E[q0].a, Q0.a.propType && (r1 = E[q0].s, a1 = r1.getMult(M0[N0].anIndexes[q0], g0.a[q0].s.totalChars), a1.length ? S0.translate(-Q0.a.v[0] * a1[0], -Q0.a.v[1] * a1[1], Q0.a.v[2] * a1[2]) : S0.translate(-Q0.a.v[0] * a1, -Q0.a.v[1] * a1, Q0.a.v[2] * a1));
|
|
6043
6043
|
for (q0 = 0; q0 < U0; q0 += 1)
|
|
6044
|
-
Q0 = E[q0].a, Q0.s.propType && (
|
|
6044
|
+
Q0 = E[q0].a, Q0.s.propType && (r1 = E[q0].s, a1 = r1.getMult(M0[N0].anIndexes[q0], g0.a[q0].s.totalChars), a1.length ? S0.scale(1 + (Q0.s.v[0] - 1) * a1[0], 1 + (Q0.s.v[1] - 1) * a1[1], 1) : S0.scale(1 + (Q0.s.v[0] - 1) * a1, 1 + (Q0.s.v[1] - 1) * a1, 1));
|
|
6045
6045
|
for (q0 = 0; q0 < U0; q0 += 1) {
|
|
6046
|
-
if (Q0 = E[q0].a,
|
|
6047
|
-
for (
|
|
6048
|
-
|
|
6046
|
+
if (Q0 = E[q0].a, r1 = E[q0].s, a1 = r1.getMult(M0[N0].anIndexes[q0], g0.a[q0].s.totalChars), Q0.sk.propType && (a1.length ? S0.skewFromAxis(-Q0.sk.v * a1[0], Q0.sa.v * a1[1]) : S0.skewFromAxis(-Q0.sk.v * a1, Q0.sa.v * a1)), Q0.r.propType && (a1.length ? S0.rotateZ(-Q0.r.v * a1[2]) : S0.rotateZ(-Q0.r.v * a1)), Q0.ry.propType && (a1.length ? S0.rotateY(Q0.ry.v * a1[1]) : S0.rotateY(Q0.ry.v * a1)), Q0.rx.propType && (a1.length ? S0.rotateX(Q0.rx.v * a1[0]) : S0.rotateX(Q0.rx.v * a1)), Q0.o.propType && (a1.length ? M1 += (Q0.o.v * a1[0] - M1) * a1[0] : M1 += (Q0.o.v * a1 - M1) * a1), k.strokeWidthAnim && Q0.sw.propType && (a1.length ? I1 += Q0.sw.v * a1[0] : I1 += Q0.sw.v * a1), k.strokeColorAnim && Q0.sc.propType)
|
|
6047
|
+
for (A1 = 0; A1 < 3; A1 += 1)
|
|
6048
|
+
a1.length ? P1[A1] += (Q0.sc.v[A1] - P1[A1]) * a1[0] : P1[A1] += (Q0.sc.v[A1] - P1[A1]) * a1;
|
|
6049
6049
|
if (k.fillColorAnim && k.fc) {
|
|
6050
6050
|
if (Q0.fc.propType)
|
|
6051
|
-
for (
|
|
6052
|
-
|
|
6053
|
-
Q0.fh.propType && (
|
|
6051
|
+
for (A1 = 0; A1 < 3; A1 += 1)
|
|
6052
|
+
a1.length ? D1[A1] += (Q0.fc.v[A1] - D1[A1]) * a1[0] : D1[A1] += (Q0.fc.v[A1] - D1[A1]) * a1;
|
|
6053
|
+
Q0.fh.propType && (a1.length ? D1 = addHueToRGB(D1, Q0.fh.v * a1[0]) : D1 = addHueToRGB(D1, Q0.fh.v * a1)), Q0.fs.propType && (a1.length ? D1 = addSaturationToRGB(D1, Q0.fs.v * a1[0]) : D1 = addSaturationToRGB(D1, Q0.fs.v * a1)), Q0.fb.propType && (a1.length ? D1 = addBrightnessToRGB(D1, Q0.fb.v * a1[0]) : D1 = addBrightnessToRGB(D1, Q0.fb.v * a1));
|
|
6054
6054
|
}
|
|
6055
6055
|
}
|
|
6056
6056
|
for (q0 = 0; q0 < U0; q0 += 1)
|
|
6057
|
-
Q0 = E[q0].a, Q0.p.propType && (
|
|
6058
|
-
if (k.strokeWidthAnim && (
|
|
6059
|
-
if (S0.translate(0, -k.ls), S0.translate(0, A[1] *
|
|
6060
|
-
|
|
6061
|
-
var X0 = Math.atan(
|
|
6057
|
+
Q0 = E[q0].a, Q0.p.propType && (r1 = E[q0].s, a1 = r1.getMult(M0[N0].anIndexes[q0], g0.a[q0].s.totalChars), this._hasMaskedPath ? a1.length ? S0.translate(0, Q0.p.v[1] * a1[0], -Q0.p.v[2] * a1[1]) : S0.translate(0, Q0.p.v[1] * a1, -Q0.p.v[2] * a1) : a1.length ? S0.translate(Q0.p.v[0] * a1[0], Q0.p.v[1] * a1[1], -Q0.p.v[2] * a1[2]) : S0.translate(Q0.p.v[0] * a1, Q0.p.v[1] * a1, -Q0.p.v[2] * a1));
|
|
6058
|
+
if (k.strokeWidthAnim && (H1 = I1 < 0 ? 0 : I1), k.strokeColorAnim && (W1 = "rgb(" + Math.round(P1[0] * 255) + "," + Math.round(P1[1] * 255) + "," + Math.round(P1[2] * 255) + ")"), k.fillColorAnim && k.fc && (R1 = "rgb(" + Math.round(D1[0] * 255) + "," + Math.round(D1[1] * 255) + "," + Math.round(D1[2] * 255) + ")"), this._hasMaskedPath) {
|
|
6059
|
+
if (S0.translate(0, -k.ls), S0.translate(0, A[1] * u1 * 0.01 + I0, 0), this._pathData.p.v) {
|
|
6060
|
+
v1 = (z0.point[1] - j0.point[1]) / (z0.point[0] - j0.point[0]);
|
|
6061
|
+
var X0 = Math.atan(v1) * 180 / Math.PI;
|
|
6062
6062
|
z0.point[0] < j0.point[0] && (X0 += 180), S0.rotate(-X0 * Math.PI / 180);
|
|
6063
6063
|
}
|
|
6064
|
-
S0.translate(
|
|
6064
|
+
S0.translate(y1, E1, 0), $0 -= A[0] * M0[N0].an * 5e-3, M0[N0 + 1] && l1 !== M0[N0 + 1].ind && ($0 += M0[N0].an / 2, $0 += k.tr * 1e-3 * k.finalSize);
|
|
6065
6065
|
} else {
|
|
6066
6066
|
switch (S0.translate(C0, I0, 0), k.ps && S0.translate(k.ps[0], k.ps[1] + k.ascent, 0), k.j) {
|
|
6067
6067
|
case 1:
|
|
@@ -6071,11 +6071,11 @@ var lottie$1 = { exports: {} };
|
|
|
6071
6071
|
S0.translate(M0[N0].animatorJustifyOffset + k.justifyOffset + (k.boxWidth - k.lineWidths[M0[N0].line]) / 2, 0, 0);
|
|
6072
6072
|
break;
|
|
6073
6073
|
}
|
|
6074
|
-
S0.translate(0, -k.ls), S0.translate(
|
|
6074
|
+
S0.translate(0, -k.ls), S0.translate(c1, 0, 0), S0.translate(A[0] * M0[N0].an * 5e-3, A[1] * u1 * 0.01, 0), C0 += M0[N0].l + k.tr * 1e-3 * k.finalSize;
|
|
6075
6075
|
}
|
|
6076
|
-
T0 === "html" ?
|
|
6076
|
+
T0 === "html" ? N1 = S0.toCSS() : T0 === "svg" ? N1 = S0.to2dCSS() : q1 = [S0.props[0], S0.props[1], S0.props[2], S0.props[3], S0.props[4], S0.props[5], S0.props[6], S0.props[7], S0.props[8], S0.props[9], S0.props[10], S0.props[11], S0.props[12], S0.props[13], S0.props[14], S0.props[15]], $1 = M1;
|
|
6077
6077
|
}
|
|
6078
|
-
P0 <= N0 ? (
|
|
6078
|
+
P0 <= N0 ? (o1 = new LetterProps($1, H1, W1, R1, N1, q1), this.renderedLetters.push(o1), P0 += 1, this.lettersChangedFlag = !0) : (o1 = this.renderedLetters[N0], this.lettersChangedFlag = o1.update($1, H1, W1, R1, N1, q1) || this.lettersChangedFlag);
|
|
6079
6079
|
}
|
|
6080
6080
|
}
|
|
6081
6081
|
}, TextAnimatorProperty.prototype.getValue = function() {
|
|
@@ -6199,8 +6199,8 @@ var lottie$1 = { exports: {} };
|
|
|
6199
6199
|
j0.data && j0.data.shapes && (t1 = this.buildShapeData(j0.data, A.finalSize)), Z0 = new SVGShapeElement(t1, this.globalData, this);
|
|
6200
6200
|
}
|
|
6201
6201
|
if (this.textSpans[k].glyph) {
|
|
6202
|
-
var
|
|
6203
|
-
this.textSpans[k].childSpan.removeChild(
|
|
6202
|
+
var n1 = this.textSpans[k].glyph;
|
|
6203
|
+
this.textSpans[k].childSpan.removeChild(n1.layerElement), n1.destroy();
|
|
6204
6204
|
}
|
|
6205
6205
|
this.textSpans[k].glyph = Z0, Z0._debug = !0, Z0.prepareFrame(0), Z0.renderFrame(), this.textSpans[k].childSpan.appendChild(Z0.layerElement), j0.t === 1 && this.textSpans[k].childSpan.setAttribute("transform", "scale(" + A.finalSize / 100 + "," + A.finalSize / 100 + ")");
|
|
6206
6206
|
} else
|
|
@@ -6821,12 +6821,12 @@ var lottie$1 = { exports: {} };
|
|
|
6821
6821
|
var C0, I0, N0, W0, M0, H0, $0, z0, J0, R0, O0 = this.data.singleShape, w0 = k.tr * 1e-3 * k.finalSize, j0 = 0, K0 = 0, Z0 = !0, t1 = 0;
|
|
6822
6822
|
for (g0 = 0; g0 < S0; g0 += 1) {
|
|
6823
6823
|
C0 = this.globalData.fontManager.getCharData(k.finalText[g0], E.fStyle, this.globalData.fontManager.getFontByName(k.f).fFamily), I0 = C0 && C0.data || {}, P0.reset(), O0 && T0[g0].n && (j0 = -w0, K0 += k.yOffset, K0 += Z0 ? 1 : 0, Z0 = !1), M0 = I0.shapes ? I0.shapes[0].it : [], $0 = M0.length, P0.scale(k.finalSize / 100, k.finalSize / 100), O0 && this.applyTextPropertiesToMatrix(k, P0, T0[g0].line, j0, K0), J0 = createSizedArray($0 - 1);
|
|
6824
|
-
var
|
|
6824
|
+
var n1 = 0;
|
|
6825
6825
|
for (H0 = 0; H0 < $0; H0 += 1)
|
|
6826
6826
|
if (M0[H0].ty === "sh") {
|
|
6827
6827
|
for (W0 = M0[H0].ks.k.i.length, z0 = M0[H0].ks.k, R0 = [], N0 = 1; N0 < W0; N0 += 1)
|
|
6828
6828
|
N0 === 1 && R0.push(P0.applyToX(z0.v[0][0], z0.v[0][1], 0), P0.applyToY(z0.v[0][0], z0.v[0][1], 0)), R0.push(P0.applyToX(z0.o[N0 - 1][0], z0.o[N0 - 1][1], 0), P0.applyToY(z0.o[N0 - 1][0], z0.o[N0 - 1][1], 0), P0.applyToX(z0.i[N0][0], z0.i[N0][1], 0), P0.applyToY(z0.i[N0][0], z0.i[N0][1], 0), P0.applyToX(z0.v[N0][0], z0.v[N0][1], 0), P0.applyToY(z0.v[N0][0], z0.v[N0][1], 0));
|
|
6829
|
-
R0.push(P0.applyToX(z0.o[N0 - 1][0], z0.o[N0 - 1][1], 0), P0.applyToY(z0.o[N0 - 1][0], z0.o[N0 - 1][1], 0), P0.applyToX(z0.i[0][0], z0.i[0][1], 0), P0.applyToY(z0.i[0][0], z0.i[0][1], 0), P0.applyToX(z0.v[0][0], z0.v[0][1], 0), P0.applyToY(z0.v[0][0], z0.v[0][1], 0)), J0[
|
|
6829
|
+
R0.push(P0.applyToX(z0.o[N0 - 1][0], z0.o[N0 - 1][1], 0), P0.applyToY(z0.o[N0 - 1][0], z0.o[N0 - 1][1], 0), P0.applyToX(z0.i[0][0], z0.i[0][1], 0), P0.applyToY(z0.i[0][0], z0.i[0][1], 0), P0.applyToX(z0.v[0][0], z0.v[0][1], 0), P0.applyToY(z0.v[0][0], z0.v[0][1], 0)), J0[n1] = R0, n1 += 1;
|
|
6830
6830
|
}
|
|
6831
6831
|
O0 && (j0 += T0[g0].l, j0 += w0), this.textSpans[t1] ? this.textSpans[t1].elem = J0 : this.textSpans[t1] = {
|
|
6832
6832
|
elem: J0
|
|
@@ -7573,34 +7573,34 @@ var lottie$1 = { exports: {} };
|
|
|
7573
7573
|
j0 = j0 === !0 ? {
|
|
7574
7574
|
entropy: !0
|
|
7575
7575
|
} : j0 || {};
|
|
7576
|
-
var t1 = J0(z0(j0.entropy ? [w0, O0(k)] : w0 === null ? R0() : w0, 3), Z0),
|
|
7577
|
-
for (var
|
|
7578
|
-
|
|
7579
|
-
for (;
|
|
7580
|
-
|
|
7581
|
-
return (
|
|
7576
|
+
var t1 = J0(z0(j0.entropy ? [w0, O0(k)] : w0 === null ? R0() : w0, 3), Z0), n1 = new H0(Z0), m1 = function() {
|
|
7577
|
+
for (var d1 = n1.g(g0), p1 = P0, f1 = 0; d1 < C0; )
|
|
7578
|
+
d1 = (d1 + f1) * E, p1 *= E, f1 = n1.g(1);
|
|
7579
|
+
for (; d1 >= I0; )
|
|
7580
|
+
d1 /= 2, p1 /= 2, f1 >>>= 1;
|
|
7581
|
+
return (d1 + f1) / p1;
|
|
7582
7582
|
};
|
|
7583
|
-
return
|
|
7584
|
-
return
|
|
7585
|
-
},
|
|
7586
|
-
return
|
|
7587
|
-
},
|
|
7588
|
-
return
|
|
7589
|
-
return $0(
|
|
7590
|
-
}),
|
|
7591
|
-
})(
|
|
7583
|
+
return m1.int32 = function() {
|
|
7584
|
+
return n1.g(4) | 0;
|
|
7585
|
+
}, m1.quick = function() {
|
|
7586
|
+
return n1.g(4) / 4294967296;
|
|
7587
|
+
}, m1.double = m1, J0(O0(n1.S), k), (j0.pass || K0 || function(v1, d1, p1, f1) {
|
|
7588
|
+
return f1 && (f1.S && $0(f1, n1), v1.state = function() {
|
|
7589
|
+
return $0(n1, {});
|
|
7590
|
+
}), p1 ? (y[T0] = v1, d1) : v1;
|
|
7591
|
+
})(m1, t1, "global" in j0 ? j0.global : this == y, j0.state);
|
|
7592
7592
|
}
|
|
7593
7593
|
y["seed" + T0] = M0;
|
|
7594
7594
|
function H0(w0) {
|
|
7595
|
-
var j0, K0 = w0.length, Z0 = this, t1 = 0,
|
|
7595
|
+
var j0, K0 = w0.length, Z0 = this, t1 = 0, n1 = Z0.i = Z0.j = 0, m1 = Z0.S = [];
|
|
7596
7596
|
for (K0 || (w0 = [K0++]); t1 < E; )
|
|
7597
|
-
|
|
7597
|
+
m1[t1] = t1++;
|
|
7598
7598
|
for (t1 = 0; t1 < E; t1++)
|
|
7599
|
-
|
|
7600
|
-
Z0.g = function(
|
|
7601
|
-
for (var
|
|
7602
|
-
|
|
7603
|
-
return Z0.i =
|
|
7599
|
+
m1[t1] = m1[n1 = N0 & n1 + w0[t1 % K0] + (j0 = m1[t1])], m1[n1] = j0;
|
|
7600
|
+
Z0.g = function(v1) {
|
|
7601
|
+
for (var d1, p1 = 0, f1 = Z0.i, u1 = Z0.j, k1 = Z0.S; v1--; )
|
|
7602
|
+
d1 = k1[f1 = N0 & f1 + 1], p1 = p1 * E + k1[N0 & (k1[f1] = k1[u1 = N0 & u1 + d1]) + (k1[u1] = d1)];
|
|
7603
|
+
return Z0.i = f1, Z0.j = u1, p1;
|
|
7604
7604
|
};
|
|
7605
7605
|
}
|
|
7606
7606
|
function $0(w0, j0) {
|
|
@@ -8467,16 +8467,16 @@ var lottie$1 = { exports: {} };
|
|
|
8467
8467
|
}
|
|
8468
8468
|
function T0($0, z0, J0) {
|
|
8469
8469
|
var R0 = propertyGroupFactory(t1, J0), O0 = propertyGroupFactory(Z0, R0);
|
|
8470
|
-
function w0(
|
|
8471
|
-
Object.defineProperty(Z0, $0.d[
|
|
8472
|
-
get: ExpressionPropertyInterface(z0.d.dataProps[
|
|
8470
|
+
function w0(n1) {
|
|
8471
|
+
Object.defineProperty(Z0, $0.d[n1].nm, {
|
|
8472
|
+
get: ExpressionPropertyInterface(z0.d.dataProps[n1].p)
|
|
8473
8473
|
});
|
|
8474
8474
|
}
|
|
8475
8475
|
var j0, K0 = $0.d ? $0.d.length : 0, Z0 = {};
|
|
8476
8476
|
for (j0 = 0; j0 < K0; j0 += 1)
|
|
8477
8477
|
w0(j0), z0.d.dataProps[j0].p.setGroupProperty(O0);
|
|
8478
|
-
function t1(
|
|
8479
|
-
return
|
|
8478
|
+
function t1(n1) {
|
|
8479
|
+
return n1 === "Color" || n1 === "color" ? t1.color : n1 === "Opacity" || n1 === "opacity" ? t1.opacity : n1 === "Stroke Width" || n1 === "stroke width" ? t1.strokeWidth : null;
|
|
8480
8480
|
}
|
|
8481
8481
|
return Object.defineProperties(t1, {
|
|
8482
8482
|
color: {
|
|
@@ -8808,21 +8808,21 @@ var lottie$1 = { exports: {} };
|
|
|
8808
8808
|
if (t1 % 2 !== 0)
|
|
8809
8809
|
return this.getValueAtTime((O0 - (z0 - w0) % O0 + w0) / this.comp.globalData.frameRate, 0);
|
|
8810
8810
|
} else if (M0 === "offset") {
|
|
8811
|
-
var
|
|
8811
|
+
var n1 = this.getValueAtTime(w0 / this.comp.globalData.frameRate, 0), m1 = this.getValueAtTime(R0 / this.comp.globalData.frameRate, 0), v1 = this.getValueAtTime(((z0 - w0) % O0 + w0) / this.comp.globalData.frameRate, 0), d1 = Math.floor((z0 - w0) / O0);
|
|
8812
8812
|
if (this.pv.length) {
|
|
8813
|
-
for (Z0 = new Array(
|
|
8814
|
-
Z0[j0] = (
|
|
8813
|
+
for (Z0 = new Array(n1.length), K0 = Z0.length, j0 = 0; j0 < K0; j0 += 1)
|
|
8814
|
+
Z0[j0] = (m1[j0] - n1[j0]) * d1 + v1[j0];
|
|
8815
8815
|
return Z0;
|
|
8816
8816
|
}
|
|
8817
|
-
return (
|
|
8817
|
+
return (m1 - n1) * d1 + v1;
|
|
8818
8818
|
} else if (M0 === "continue") {
|
|
8819
|
-
var
|
|
8819
|
+
var p1 = this.getValueAtTime(R0 / this.comp.globalData.frameRate, 0), f1 = this.getValueAtTime((R0 - 1e-3) / this.comp.globalData.frameRate, 0);
|
|
8820
8820
|
if (this.pv.length) {
|
|
8821
|
-
for (Z0 = new Array(
|
|
8822
|
-
Z0[j0] =
|
|
8821
|
+
for (Z0 = new Array(p1.length), K0 = Z0.length, j0 = 0; j0 < K0; j0 += 1)
|
|
8822
|
+
Z0[j0] = p1[j0] + (p1[j0] - f1[j0]) * ((z0 - R0) / this.comp.globalData.frameRate) / 5e-4;
|
|
8823
8823
|
return Z0;
|
|
8824
8824
|
}
|
|
8825
|
-
return
|
|
8825
|
+
return p1 + (p1 - f1) * ((z0 - R0) / 1e-3);
|
|
8826
8826
|
}
|
|
8827
8827
|
return this.getValueAtTime(((z0 - w0) % O0 + w0) / this.comp.globalData.frameRate, 0);
|
|
8828
8828
|
}
|
|
@@ -8841,21 +8841,21 @@ var lottie$1 = { exports: {} };
|
|
|
8841
8841
|
if (t1 % 2 === 0)
|
|
8842
8842
|
return this.getValueAtTime(((R0 - z0) % O0 + R0) / this.comp.globalData.frameRate, 0);
|
|
8843
8843
|
} else if (M0 === "offset") {
|
|
8844
|
-
var
|
|
8844
|
+
var n1 = this.getValueAtTime(R0 / this.comp.globalData.frameRate, 0), m1 = this.getValueAtTime(w0 / this.comp.globalData.frameRate, 0), v1 = this.getValueAtTime((O0 - (R0 - z0) % O0 + R0) / this.comp.globalData.frameRate, 0), d1 = Math.floor((R0 - z0) / O0) + 1;
|
|
8845
8845
|
if (this.pv.length) {
|
|
8846
|
-
for (Z0 = new Array(
|
|
8847
|
-
Z0[j0] =
|
|
8846
|
+
for (Z0 = new Array(n1.length), K0 = Z0.length, j0 = 0; j0 < K0; j0 += 1)
|
|
8847
|
+
Z0[j0] = v1[j0] - (m1[j0] - n1[j0]) * d1;
|
|
8848
8848
|
return Z0;
|
|
8849
8849
|
}
|
|
8850
|
-
return
|
|
8850
|
+
return v1 - (m1 - n1) * d1;
|
|
8851
8851
|
} else if (M0 === "continue") {
|
|
8852
|
-
var
|
|
8852
|
+
var p1 = this.getValueAtTime(R0 / this.comp.globalData.frameRate, 0), f1 = this.getValueAtTime((R0 + 1e-3) / this.comp.globalData.frameRate, 0);
|
|
8853
8853
|
if (this.pv.length) {
|
|
8854
|
-
for (Z0 = new Array(
|
|
8855
|
-
Z0[j0] =
|
|
8854
|
+
for (Z0 = new Array(p1.length), K0 = Z0.length, j0 = 0; j0 < K0; j0 += 1)
|
|
8855
|
+
Z0[j0] = p1[j0] + (p1[j0] - f1[j0]) * (R0 - z0) / 1e-3;
|
|
8856
8856
|
return Z0;
|
|
8857
8857
|
}
|
|
8858
|
-
return
|
|
8858
|
+
return p1 + (p1 - f1) * (R0 - z0) / 1e-3;
|
|
8859
8859
|
}
|
|
8860
8860
|
return this.getValueAtTime((O0 - ((R0 - z0) % O0 + R0)) / this.comp.globalData.frameRate, 0);
|
|
8861
8861
|
}
|
|
@@ -8906,15 +8906,15 @@ var lottie$1 = { exports: {} };
|
|
|
8906
8906
|
H0.rotateZ(-w0 * this.rz.mult).rotateY(j0 * this.ry.mult).rotateX(K0 * this.rx.mult).rotateZ(-Z0[2] * this.or.mult).rotateY(Z0[1] * this.or.mult).rotateX(Z0[0] * this.or.mult);
|
|
8907
8907
|
}
|
|
8908
8908
|
if (this.data.p && this.data.p.s) {
|
|
8909
|
-
var t1 = this.px.getValueAtTime(M0),
|
|
8909
|
+
var t1 = this.px.getValueAtTime(M0), n1 = this.py.getValueAtTime(M0);
|
|
8910
8910
|
if (this.data.p.z) {
|
|
8911
|
-
var
|
|
8912
|
-
H0.translate(t1 * this.px.mult,
|
|
8911
|
+
var m1 = this.pz.getValueAtTime(M0);
|
|
8912
|
+
H0.translate(t1 * this.px.mult, n1 * this.py.mult, -m1 * this.pz.mult);
|
|
8913
8913
|
} else
|
|
8914
|
-
H0.translate(t1 * this.px.mult,
|
|
8914
|
+
H0.translate(t1 * this.px.mult, n1 * this.py.mult, 0);
|
|
8915
8915
|
} else {
|
|
8916
|
-
var
|
|
8917
|
-
H0.translate(
|
|
8916
|
+
var v1 = this.p.getValueAtTime(M0);
|
|
8917
|
+
H0.translate(v1[0] * this.p.mult, v1[1] * this.p.mult, -v1[2] * this.p.mult);
|
|
8918
8918
|
}
|
|
8919
8919
|
return H0;
|
|
8920
8920
|
}
|
|
@@ -8974,8 +8974,8 @@ var lottie$1 = { exports: {} };
|
|
|
8974
8974
|
$0 !== void 0 && (z0 = this.getValueAtTime($0, 0)), this._segmentsLength || (this._segmentsLength = bez.getSegmentsLength(z0));
|
|
8975
8975
|
for (var J0 = this._segmentsLength, R0 = J0.lengths, O0 = J0.totalLength * H0, w0 = 0, j0 = R0.length, K0 = 0, Z0; w0 < j0; ) {
|
|
8976
8976
|
if (K0 + R0[w0].addedLength > O0) {
|
|
8977
|
-
var t1 = w0,
|
|
8978
|
-
Z0 = bez.getPointInSegment(z0.v[t1], z0.v[
|
|
8977
|
+
var t1 = w0, n1 = z0.c && w0 === j0 - 1 ? 0 : w0 + 1, m1 = (O0 - K0) / R0[w0].addedLength;
|
|
8978
|
+
Z0 = bez.getPointInSegment(z0.v[t1], z0.v[n1], z0.o[t1], z0.i[n1], m1, R0[w0]);
|
|
8979
8979
|
break;
|
|
8980
8980
|
} else
|
|
8981
8981
|
K0 += R0[w0].addedLength;
|
|
@@ -9372,56 +9372,56 @@ function _toPropertyKey(k) {
|
|
|
9372
9372
|
var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], useLottie = function k(y, A) {
|
|
9373
9373
|
var E = y.animationData, g0 = y.loop, S0 = y.autoplay, T0 = y.initialSegment, P0 = y.onComplete, C0 = y.onLoopComplete, I0 = y.onEnterFrame, N0 = y.onSegmentStart, W0 = y.onConfigReady, M0 = y.onDataReady, H0 = y.onDataFailed, $0 = y.onLoadedImages, z0 = y.onDOMLoaded, J0 = y.onDestroy;
|
|
9374
9374
|
y.lottieRef, y.renderer, y.name, y.assetsPath, y.rendererSettings;
|
|
9375
|
-
var R0 = _objectWithoutProperties(y, _excluded$1), O0 = useState(!1), w0 = _slicedToArray(O0, 2), j0 = w0[0], K0 = w0[1], Z0 = useRef(), t1 = useRef(null),
|
|
9376
|
-
var
|
|
9377
|
-
(
|
|
9378
|
-
},
|
|
9379
|
-
var
|
|
9380
|
-
(
|
|
9381
|
-
},
|
|
9382
|
-
var
|
|
9383
|
-
(
|
|
9384
|
-
},
|
|
9385
|
-
var
|
|
9386
|
-
(
|
|
9387
|
-
},
|
|
9388
|
-
var
|
|
9389
|
-
(
|
|
9390
|
-
},
|
|
9391
|
-
var
|
|
9392
|
-
(
|
|
9393
|
-
},
|
|
9394
|
-
var
|
|
9395
|
-
(
|
|
9396
|
-
},
|
|
9397
|
-
var
|
|
9398
|
-
(
|
|
9399
|
-
}, Q0 = function(
|
|
9400
|
-
var
|
|
9401
|
-
(
|
|
9402
|
-
},
|
|
9403
|
-
var
|
|
9404
|
-
return (
|
|
9375
|
+
var R0 = _objectWithoutProperties(y, _excluded$1), O0 = useState(!1), w0 = _slicedToArray(O0, 2), j0 = w0[0], K0 = w0[1], Z0 = useRef(), t1 = useRef(null), n1 = function() {
|
|
9376
|
+
var l1;
|
|
9377
|
+
(l1 = Z0.current) === null || l1 === void 0 || l1.play();
|
|
9378
|
+
}, m1 = function() {
|
|
9379
|
+
var l1;
|
|
9380
|
+
(l1 = Z0.current) === null || l1 === void 0 || l1.stop();
|
|
9381
|
+
}, v1 = function() {
|
|
9382
|
+
var l1;
|
|
9383
|
+
(l1 = Z0.current) === null || l1 === void 0 || l1.pause();
|
|
9384
|
+
}, d1 = function(l1) {
|
|
9385
|
+
var c1;
|
|
9386
|
+
(c1 = Z0.current) === null || c1 === void 0 || c1.setSpeed(l1);
|
|
9387
|
+
}, p1 = function(l1, c1) {
|
|
9388
|
+
var y1;
|
|
9389
|
+
(y1 = Z0.current) === null || y1 === void 0 || y1.goToAndPlay(l1, c1);
|
|
9390
|
+
}, f1 = function(l1, c1) {
|
|
9391
|
+
var y1;
|
|
9392
|
+
(y1 = Z0.current) === null || y1 === void 0 || y1.goToAndStop(l1, c1);
|
|
9393
|
+
}, u1 = function(l1) {
|
|
9394
|
+
var c1;
|
|
9395
|
+
(c1 = Z0.current) === null || c1 === void 0 || c1.setDirection(l1);
|
|
9396
|
+
}, k1 = function(l1, c1) {
|
|
9397
|
+
var y1;
|
|
9398
|
+
(y1 = Z0.current) === null || y1 === void 0 || y1.playSegments(l1, c1);
|
|
9399
|
+
}, Q0 = function(l1) {
|
|
9400
|
+
var c1;
|
|
9401
|
+
(c1 = Z0.current) === null || c1 === void 0 || c1.setSubframe(l1);
|
|
9402
|
+
}, r1 = function(l1) {
|
|
9403
|
+
var c1;
|
|
9404
|
+
return (c1 = Z0.current) === null || c1 === void 0 ? void 0 : c1.getDuration(l1);
|
|
9405
9405
|
}, q0 = function() {
|
|
9406
|
-
var
|
|
9407
|
-
(
|
|
9406
|
+
var l1;
|
|
9407
|
+
(l1 = Z0.current) === null || l1 === void 0 || l1.destroy(), Z0.current = void 0;
|
|
9408
9408
|
}, U0 = function() {
|
|
9409
|
-
var
|
|
9409
|
+
var l1 = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, c1;
|
|
9410
9410
|
if (t1.current) {
|
|
9411
|
-
(
|
|
9412
|
-
var
|
|
9411
|
+
(c1 = Z0.current) === null || c1 === void 0 || c1.destroy();
|
|
9412
|
+
var y1 = _objectSpread2(_objectSpread2(_objectSpread2({}, y), l1), {}, {
|
|
9413
9413
|
container: t1.current
|
|
9414
9414
|
});
|
|
9415
|
-
return Z0.current = lottie.loadAnimation(
|
|
9416
|
-
var
|
|
9417
|
-
(
|
|
9415
|
+
return Z0.current = lottie.loadAnimation(y1), K0(!!Z0.current), function() {
|
|
9416
|
+
var E1;
|
|
9417
|
+
(E1 = Z0.current) === null || E1 === void 0 || E1.destroy(), Z0.current = void 0;
|
|
9418
9418
|
};
|
|
9419
9419
|
}
|
|
9420
9420
|
};
|
|
9421
9421
|
useEffect(function() {
|
|
9422
|
-
var
|
|
9422
|
+
var a1 = U0();
|
|
9423
9423
|
return function() {
|
|
9424
|
-
return
|
|
9424
|
+
return a1 == null ? void 0 : a1();
|
|
9425
9425
|
};
|
|
9426
9426
|
}, [E, g0]), useEffect(function() {
|
|
9427
9427
|
Z0.current && (Z0.current.autoplay = !!S0);
|
|
@@ -9434,7 +9434,7 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
9434
9434
|
!Array.isArray(T0) || !T0.length || ((Z0.current.currentRawFrame < T0[0] || Z0.current.currentRawFrame > T0[1]) && (Z0.current.currentRawFrame = T0[0]), Z0.current.setSegment(T0[0], T0[1]));
|
|
9435
9435
|
}
|
|
9436
9436
|
}, [T0]), useEffect(function() {
|
|
9437
|
-
var
|
|
9437
|
+
var a1 = [{
|
|
9438
9438
|
name: "complete",
|
|
9439
9439
|
handler: P0
|
|
9440
9440
|
}, {
|
|
@@ -9464,47 +9464,47 @@ var _excluded$1 = ["animationData", "loop", "autoplay", "initialSegment", "onCom
|
|
|
9464
9464
|
}, {
|
|
9465
9465
|
name: "destroy",
|
|
9466
9466
|
handler: J0
|
|
9467
|
-
}],
|
|
9468
|
-
return
|
|
9467
|
+
}], l1 = a1.filter(function(y1) {
|
|
9468
|
+
return y1.handler != null;
|
|
9469
9469
|
});
|
|
9470
|
-
if (
|
|
9471
|
-
var
|
|
9470
|
+
if (l1.length) {
|
|
9471
|
+
var c1 = l1.map(
|
|
9472
9472
|
/**
|
|
9473
9473
|
* Handle the process of adding an event listener
|
|
9474
9474
|
* @param {Listener} listener
|
|
9475
9475
|
* @return {Function} Function that deregister the listener
|
|
9476
9476
|
*/
|
|
9477
|
-
function(
|
|
9478
|
-
var
|
|
9479
|
-
return (
|
|
9480
|
-
var
|
|
9481
|
-
(
|
|
9477
|
+
function(y1) {
|
|
9478
|
+
var E1;
|
|
9479
|
+
return (E1 = Z0.current) === null || E1 === void 0 || E1.addEventListener(y1.name, y1.handler), function() {
|
|
9480
|
+
var g1;
|
|
9481
|
+
(g1 = Z0.current) === null || g1 === void 0 || g1.removeEventListener(y1.name, y1.handler);
|
|
9482
9482
|
};
|
|
9483
9483
|
}
|
|
9484
9484
|
);
|
|
9485
9485
|
return function() {
|
|
9486
|
-
|
|
9487
|
-
return
|
|
9486
|
+
c1.forEach(function(y1) {
|
|
9487
|
+
return y1();
|
|
9488
9488
|
});
|
|
9489
9489
|
};
|
|
9490
9490
|
}
|
|
9491
9491
|
}, [P0, C0, I0, N0, W0, M0, H0, $0, z0, J0]);
|
|
9492
|
-
var
|
|
9492
|
+
var o1 = /* @__PURE__ */ e__default.createElement("div", _objectSpread2({
|
|
9493
9493
|
style: A,
|
|
9494
9494
|
ref: t1
|
|
9495
9495
|
}, R0));
|
|
9496
9496
|
return {
|
|
9497
|
-
View:
|
|
9498
|
-
play:
|
|
9499
|
-
stop:
|
|
9500
|
-
pause:
|
|
9501
|
-
setSpeed:
|
|
9502
|
-
goToAndStop:
|
|
9503
|
-
goToAndPlay:
|
|
9504
|
-
setDirection:
|
|
9505
|
-
playSegments:
|
|
9497
|
+
View: o1,
|
|
9498
|
+
play: n1,
|
|
9499
|
+
stop: m1,
|
|
9500
|
+
pause: v1,
|
|
9501
|
+
setSpeed: d1,
|
|
9502
|
+
goToAndStop: f1,
|
|
9503
|
+
goToAndPlay: p1,
|
|
9504
|
+
setDirection: u1,
|
|
9505
|
+
playSegments: k1,
|
|
9506
9506
|
setSubframe: Q0,
|
|
9507
|
-
getDuration:
|
|
9507
|
+
getDuration: r1,
|
|
9508
9508
|
destroy: q0,
|
|
9509
9509
|
animationContainerRef: t1,
|
|
9510
9510
|
animationLoaded: j0,
|
|
@@ -9630,7 +9630,7 @@ var useInitInteractivity = function k(y) {
|
|
|
9630
9630
|
mode: (g0 = T0 == null ? void 0 : T0.mode) !== null && g0 !== void 0 ? g0 : "scroll"
|
|
9631
9631
|
});
|
|
9632
9632
|
};
|
|
9633
|
-
const
|
|
9633
|
+
const styles_1gatczx = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_default("div")({
|
|
9634
9634
|
name: "i",
|
|
9635
9635
|
class: "ii47pil",
|
|
9636
9636
|
propsAsIs: !1
|
|
@@ -9642,11 +9642,11 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9642
9642
|
name: "a",
|
|
9643
9643
|
class: "a1xztfgg",
|
|
9644
9644
|
propsAsIs: !0
|
|
9645
|
-
}), c$
|
|
9645
|
+
}), c$5 = /* @__PURE__ */ styled_default("div")({
|
|
9646
9646
|
name: "c",
|
|
9647
9647
|
class: "cpijrjs",
|
|
9648
9648
|
propsAsIs: !1
|
|
9649
|
-
}), l$
|
|
9649
|
+
}), l$2 = /* @__PURE__ */ styled_default("div")({
|
|
9650
9650
|
name: "l",
|
|
9651
9651
|
class: "l9mt963",
|
|
9652
9652
|
propsAsIs: !1
|
|
@@ -9662,14 +9662,14 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9662
9662
|
}) => /* @__PURE__ */ jsxs(i$1, { children: [
|
|
9663
9663
|
/* @__PURE__ */ jsxs(r$2, { children: [
|
|
9664
9664
|
/* @__PURE__ */ jsx(a$4, { animationData: k }),
|
|
9665
|
-
y && /* @__PURE__ */ jsx(c$
|
|
9665
|
+
y && /* @__PURE__ */ jsx(c$5, { children: y })
|
|
9666
9666
|
] }),
|
|
9667
|
-
/* @__PURE__ */ jsx(l$
|
|
9668
|
-
] }), styles_u39hk1 = "", _exp$4 = () =>
|
|
9667
|
+
/* @__PURE__ */ jsx(l$2, { children: Array.from({ length: A }).map((g0, S0) => /* @__PURE__ */ jsx(p$2, { "data-active": E === S0 }, S0)) })
|
|
9668
|
+
] }), styles_u39hk1 = "", _exp$4 = () => e1, _exp2$1 = () => e1, a$3 = /* @__PURE__ */ styled_default("div")({
|
|
9669
9669
|
name: "a",
|
|
9670
9670
|
class: "ay8exst",
|
|
9671
9671
|
propsAsIs: !1
|
|
9672
|
-
}), l$
|
|
9672
|
+
}), l$1 = /* @__PURE__ */ styled_default("div")({
|
|
9673
9673
|
name: "l",
|
|
9674
9674
|
class: "l31riw0",
|
|
9675
9675
|
propsAsIs: !1
|
|
@@ -9677,7 +9677,7 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9677
9677
|
name: "p",
|
|
9678
9678
|
class: "pcmm4w7",
|
|
9679
9679
|
propsAsIs: !0
|
|
9680
|
-
}), c$
|
|
9680
|
+
}), c$4 = /* @__PURE__ */ styled_default("div")({
|
|
9681
9681
|
name: "c",
|
|
9682
9682
|
class: "cct922a",
|
|
9683
9683
|
propsAsIs: !1
|
|
@@ -9728,8 +9728,8 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9728
9728
|
inviteCardSubtext: E,
|
|
9729
9729
|
primaryColor: g0
|
|
9730
9730
|
}) => /* @__PURE__ */ jsxs(a$3, { children: [
|
|
9731
|
-
/* @__PURE__ */ jsx(l$
|
|
9732
|
-
/* @__PURE__ */ jsxs(c$
|
|
9731
|
+
/* @__PURE__ */ jsx(l$1, { style: { backgroundColor: g0 }, children: /* @__PURE__ */ jsx(p$1, { name: "invite-game-icon" }) }),
|
|
9732
|
+
/* @__PURE__ */ jsxs(c$4, { children: [
|
|
9733
9733
|
/* @__PURE__ */ jsx(s$2, { children: A || "" }),
|
|
9734
9734
|
/* @__PURE__ */ jsx(x$2, { children: E || "" })
|
|
9735
9735
|
] }),
|
|
@@ -9748,10 +9748,10 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9748
9748
|
/* @__PURE__ */ jsx(m$1, { name: "icon-copy" })
|
|
9749
9749
|
] }),
|
|
9750
9750
|
y && y.length > 0 && /* @__PURE__ */ jsx(v$1, { children: y.map(({ icon: S0, link: T0, label: P0 }) => /* @__PURE__ */ jsxs(w$2, { href: T0, children: [
|
|
9751
|
-
/* @__PURE__ */ jsx(
|
|
9751
|
+
/* @__PURE__ */ jsx(e1, { name: S0 }),
|
|
9752
9752
|
/* @__PURE__ */ jsx(u, { children: P0 })
|
|
9753
9753
|
] }, T0)) })
|
|
9754
|
-
] }),
|
|
9754
|
+
] }), styles_os0gec = "", e$3 = /* @__PURE__ */ styled_default("div")({
|
|
9755
9755
|
name: "e",
|
|
9756
9756
|
class: "eqgpvuy",
|
|
9757
9757
|
propsAsIs: !1
|
|
@@ -9767,7 +9767,7 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9767
9767
|
name: "r",
|
|
9768
9768
|
class: "rfwdwp9",
|
|
9769
9769
|
propsAsIs: !1
|
|
9770
|
-
}), l
|
|
9770
|
+
}), l = /* @__PURE__ */ styled_default("div")({
|
|
9771
9771
|
name: "l",
|
|
9772
9772
|
class: "lvq91sy",
|
|
9773
9773
|
propsAsIs: !1
|
|
@@ -9775,7 +9775,7 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9775
9775
|
name: "a",
|
|
9776
9776
|
class: "a1xep3tf",
|
|
9777
9777
|
propsAsIs: !1
|
|
9778
|
-
}), c$
|
|
9778
|
+
}), c$3 = /* @__PURE__ */ styled_default("div")({
|
|
9779
9779
|
name: "c",
|
|
9780
9780
|
class: "c1rm9ij3",
|
|
9781
9781
|
propsAsIs: !1
|
|
@@ -9786,9 +9786,9 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9786
9786
|
}), b$1 = ({ rules: k, rulesTitle: y, primaryColor: A }) => /* @__PURE__ */ jsxs(e$3, { children: [
|
|
9787
9787
|
/* @__PURE__ */ jsxs(n$1, { children: [
|
|
9788
9788
|
/* @__PURE__ */ jsx(o, { children: y }),
|
|
9789
|
-
/* @__PURE__ */ jsx(r$1, { children: k == null ? void 0 : k.map(({ label: E, icon: g0 }, S0) => /* @__PURE__ */ jsxs(l
|
|
9790
|
-
g0 && /* @__PURE__ */ jsx(a$2, { style: { backgroundColor: A }, children: /* @__PURE__ */ jsx(
|
|
9791
|
-
/* @__PURE__ */ jsx(c$
|
|
9789
|
+
/* @__PURE__ */ jsx(r$1, { children: k == null ? void 0 : k.map(({ label: E, icon: g0 }, S0) => /* @__PURE__ */ jsxs(l, { children: [
|
|
9790
|
+
g0 && /* @__PURE__ */ jsx(a$2, { style: { backgroundColor: A }, children: /* @__PURE__ */ jsx(e1, { name: g0, "data-icon": g0 }) }),
|
|
9791
|
+
/* @__PURE__ */ jsx(c$3, { children: E })
|
|
9792
9792
|
] }, S0)) })
|
|
9793
9793
|
] }),
|
|
9794
9794
|
/* @__PURE__ */ jsx(p, { children: "See Terms and Conditions" })
|
|
@@ -9800,9 +9800,9 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9800
9800
|
name: "e",
|
|
9801
9801
|
class: "eptoiz9",
|
|
9802
9802
|
propsAsIs: !1
|
|
9803
|
-
}), c$
|
|
9804
|
-
name: "
|
|
9805
|
-
class: "
|
|
9803
|
+
}), c$2 = ({ disabled: k, variant: y = "primary", onClick: A, children: E, ...g0 }) => /* @__PURE__ */ jsx(a$1, { onClick: A, disabled: k, "data-variant": y, ...g0, children: /* @__PURE__ */ jsx(e$2, { children: E }) }), styles_honjxr = "", _exp$3 = () => e1, _exp2 = () => c$2, c$1 = /* @__PURE__ */ styled_default("div")({
|
|
9804
|
+
name: "c",
|
|
9805
|
+
class: "c1cm2rh8",
|
|
9806
9806
|
propsAsIs: !1
|
|
9807
9807
|
}), a = /* @__PURE__ */ styled_default("div")({
|
|
9808
9808
|
name: "a",
|
|
@@ -9855,7 +9855,7 @@ const styles_14j4zhs = "", _exp$5 = () => Lottie, i$1 = /* @__PURE__ */ styled_d
|
|
|
9855
9855
|
}, [M0, y == null ? void 0 : y.length, A == null ? void 0 : A.length, $0, H0, z0]), R0 = async () => {
|
|
9856
9856
|
await k.submitInplay();
|
|
9857
9857
|
};
|
|
9858
|
-
return /* @__PURE__ */ jsx(AutoSizer, { children: ({ width: O0, height: w0 }) => /* @__PURE__ */ jsxs(
|
|
9858
|
+
return /* @__PURE__ */ jsx(AutoSizer, { children: ({ width: O0, height: w0 }) => /* @__PURE__ */ jsxs(c$1, { style: { width: O0, height: w0 }, children: [
|
|
9859
9859
|
/* @__PURE__ */ jsx(s$1, { children: /* @__PURE__ */ jsx(x$1, { onClick: W0, children: /* @__PURE__ */ jsx(g$1, { name: "icon-close-btn-gray" }) }) }),
|
|
9860
9860
|
/* @__PURE__ */ jsxs(a, { children: [
|
|
9861
9861
|
$0.steps && (y == null ? void 0 : y.length) && /* @__PURE__ */ jsx(
|
|
@@ -10037,7 +10037,7 @@ export {
|
|
|
10037
10037
|
AutoSizer as A,
|
|
10038
10038
|
MastersStreamLayerProvider as M,
|
|
10039
10039
|
MastersStreamLayerSDKReact as a,
|
|
10040
|
-
c$
|
|
10040
|
+
c$2 as c,
|
|
10041
10041
|
e,
|
|
10042
10042
|
f,
|
|
10043
10043
|
n,
|