@epam/ai-dial-celebrations 1.3.0-dev.124 → 1.3.0-dev.126

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.
@@ -1,30 +1,30 @@
1
- import { t as e } from "./new-year.js";
1
+ import { t as e } from "./rolldown-runtime-VHNaYcLd.js";
2
2
  //#region ../../node_modules/lottie-web/build/player/lottie_light.js
3
- var t = /* @__PURE__ */ e(((e, t) => {
3
+ var t = /* @__PURE__ */ e(((e, t, n) => {
4
4
  typeof document < "u" && typeof navigator < "u" && (function(n, r) {
5
5
  typeof e == "object" && t !== void 0 ? t.exports = r() : typeof define == "function" && define.amd ? define(r) : (n = typeof globalThis < "u" ? globalThis : n || self, n.lottie = r());
6
- })(e, (function() {
7
- var n = "http://www.w3.org/2000/svg", r = "", i = !1, a = -999999, o = function(e) {
8
- i = !!e;
9
- }, s = function() {
10
- return i;
11
- }, c = function(e) {
12
- r = e;
13
- }, l = function() {
6
+ })(n, (function() {
7
+ var n = "", r = !1, i = -999999, a = function(e) {
8
+ r = !!e;
9
+ }, o = function() {
14
10
  return r;
11
+ }, s = function(e) {
12
+ n = e;
13
+ }, c = function() {
14
+ return n;
15
15
  };
16
- function u(e) {
16
+ function l(e) {
17
17
  return document.createElement(e);
18
18
  }
19
- function d(e, t) {
19
+ function u(e, t) {
20
20
  var n, r = e.length, i;
21
21
  for (n = 0; n < r; n += 1) for (var a in i = e[n].prototype, i) Object.prototype.hasOwnProperty.call(i, a) && (t.prototype[a] = i[a]);
22
22
  }
23
- function f(e) {
23
+ function d(e) {
24
24
  function t() {}
25
25
  return t.prototype = e, t;
26
26
  }
27
- var p = function() {
27
+ var f = function() {
28
28
  function e(e) {
29
29
  this.audios = [], this.audioFactory = e, this._volume = 1, this._isMuted = !1;
30
30
  }
@@ -80,7 +80,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
80
80
  }, function() {
81
81
  return new e();
82
82
  };
83
- }(), m = function() {
83
+ }(), p = function() {
84
84
  function e(e, t) {
85
85
  var n = 0, r = [], i;
86
86
  switch (e) {
@@ -88,9 +88,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
88
88
  case "uint8c":
89
89
  i = 1;
90
90
  break;
91
- default:
92
- i = 1.1;
93
- break;
91
+ default: i = 1.1;
94
92
  }
95
93
  for (n = 0; n < t; n += 1) r.push(i);
96
94
  return r;
@@ -100,58 +98,58 @@ var t = /* @__PURE__ */ e(((e, t) => {
100
98
  }
101
99
  return typeof Uint8ClampedArray == "function" && typeof Float32Array == "function" ? t : e;
102
100
  }();
103
- function h(e) {
101
+ function m(e) {
104
102
  return Array.apply(null, { length: e });
105
103
  }
106
- function g(e) {
104
+ function h(e) {
107
105
  "@babel/helpers - typeof";
108
- return g = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
106
+ return h = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
109
107
  return typeof e;
110
108
  } : function(e) {
111
109
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
112
- }, g(e);
110
+ }, h(e);
113
111
  }
114
- var _ = !0, v = null, y = null, b = "", x = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), S = Math.pow, C = Math.sqrt, w = Math.floor, T = Math.min, E = {};
112
+ var g = !0, _ = null, v = null, y = "", b = /^((?!chrome|android).)*safari/i.test(navigator.userAgent), x = Math.pow, S = Math.sqrt, C = Math.floor, w = Math.min, T = {};
115
113
  (function() {
116
114
  var e = /* @__PURE__ */ "abs.acos.acosh.asin.asinh.atan.atanh.atan2.ceil.cbrt.expm1.clz32.cos.cosh.exp.floor.fround.hypot.imul.log.log1p.log2.log10.max.min.pow.random.round.sign.sin.sinh.sqrt.tan.tanh.trunc.E.LN10.LN2.LOG10E.LOG2E.PI.SQRT1_2.SQRT2".split("."), t, n = e.length;
117
- for (t = 0; t < n; t += 1) E[e[t]] = Math[e[t]];
118
- })(), E.random = Math.random, E.abs = function(e) {
119
- if (g(e) === "object" && e.length) {
120
- var t = h(e.length), n, r = e.length;
115
+ for (t = 0; t < n; t += 1) T[e[t]] = Math[e[t]];
116
+ })(), T.random = Math.random, T.abs = function(e) {
117
+ if (h(e) === "object" && e.length) {
118
+ var t = m(e.length), n, r = e.length;
121
119
  for (n = 0; n < r; n += 1) t[n] = Math.abs(e[n]);
122
120
  return t;
123
121
  }
124
122
  return Math.abs(e);
125
123
  };
126
- var D = 150, O = Math.PI / 180, k = .5519;
127
- function A(e, t, n, r) {
124
+ var E = 150, D = Math.PI / 180, O = .5519;
125
+ function k(e, t, n, r) {
128
126
  this.type = e, this.currentTime = t, this.totalTime = n, this.direction = r < 0 ? -1 : 1;
129
127
  }
130
- function j(e, t) {
128
+ function A(e, t) {
131
129
  this.type = e, this.direction = t < 0 ? -1 : 1;
132
130
  }
133
- function M(e, t, n, r) {
131
+ function j(e, t, n, r) {
134
132
  this.type = e, this.currentLoop = n, this.totalLoops = t, this.direction = r < 0 ? -1 : 1;
135
133
  }
136
- function N(e, t, n) {
134
+ function M(e, t, n) {
137
135
  this.type = e, this.firstFrame = t, this.totalFrames = n;
138
136
  }
139
- function P(e, t) {
137
+ function N(e, t) {
140
138
  this.type = e, this.target = t;
141
139
  }
142
- function F(e, t) {
140
+ function P(e, t) {
143
141
  this.type = "renderFrameError", this.nativeError = e, this.currentTime = t;
144
142
  }
145
- function ee(e) {
143
+ function F(e) {
146
144
  this.type = "configError", this.nativeError = e;
147
145
  }
148
146
  var I = function() {
149
147
  var e = 0;
150
148
  return function() {
151
- return e += 1, b + "__lottie_element_" + e;
149
+ return e += 1, y + "__lottie_element_" + e;
152
150
  };
153
151
  }();
154
- function te(e, t, n) {
152
+ function L(e, t, n) {
155
153
  var r, i, a, o = Math.floor(e * 6), s = e * 6 - o, c = n * (1 - t), l = n * (1 - s * t), u = n * (1 - (1 - s) * t);
156
154
  switch (o % 6) {
157
155
  case 0:
@@ -169,10 +167,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
169
167
  case 4:
170
168
  r = u, i = c, a = n;
171
169
  break;
172
- case 5:
173
- r = n, i = c, a = l;
174
- break;
175
- default: break;
170
+ case 5: r = n, i = c, a = l;
176
171
  }
177
172
  return [
178
173
  r,
@@ -180,7 +175,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
180
175
  a
181
176
  ];
182
177
  }
183
- function ne(e, t, n) {
178
+ function ee(e, t, n) {
184
179
  var r = Math.max(e, t, n), i = Math.min(e, t, n), a = r - i, o, s = r === 0 ? 0 : a / r, c = r / 255;
185
180
  switch (r) {
186
181
  case i:
@@ -192,10 +187,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
192
187
  case t:
193
188
  o = n - e + a * 2, o /= 6 * a;
194
189
  break;
195
- case n:
196
- o = e - t + a * 4, o /= 6 * a;
197
- break;
198
- default: break;
190
+ case n: o = e - t + a * 4, o /= 6 * a;
199
191
  }
200
192
  return [
201
193
  o,
@@ -203,52 +195,51 @@ var t = /* @__PURE__ */ e(((e, t) => {
203
195
  c
204
196
  ];
205
197
  }
206
- function re(e, t) {
207
- var n = ne(e[0] * 255, e[1] * 255, e[2] * 255);
208
- return n[1] += t, n[1] > 1 ? n[1] = 1 : n[1] <= 0 && (n[1] = 0), te(n[0], n[1], n[2]);
198
+ function te(e, t) {
199
+ var n = ee(e[0] * 255, e[1] * 255, e[2] * 255);
200
+ return n[1] += t, n[1] > 1 ? n[1] = 1 : n[1] <= 0 && (n[1] = 0), L(n[0], n[1], n[2]);
209
201
  }
210
- function ie(e, t) {
211
- var n = ne(e[0] * 255, e[1] * 255, e[2] * 255);
212
- return n[2] += t, n[2] > 1 ? n[2] = 1 : n[2] < 0 && (n[2] = 0), te(n[0], n[1], n[2]);
202
+ function ne(e, t) {
203
+ var n = ee(e[0] * 255, e[1] * 255, e[2] * 255);
204
+ return n[2] += t, n[2] > 1 ? n[2] = 1 : n[2] < 0 && (n[2] = 0), L(n[0], n[1], n[2]);
213
205
  }
214
- function ae(e, t) {
215
- var n = ne(e[0] * 255, e[1] * 255, e[2] * 255);
216
- return n[0] += t / 360, n[0] > 1 ? --n[0] : n[0] < 0 && (n[0] += 1), te(n[0], n[1], n[2]);
206
+ function re(e, t) {
207
+ var n = ee(e[0] * 255, e[1] * 255, e[2] * 255);
208
+ return n[0] += t / 360, n[0] > 1 ? --n[0] : n[0] < 0 && (n[0] += 1), L(n[0], n[1], n[2]);
217
209
  }
218
210
  (function() {
219
- var e = [], t, n;
220
- for (t = 0; t < 256; t += 1) n = t.toString(16), e[t] = n.length === 1 ? "0" + n : n;
211
+ for (var e = [], t = 0, n; t < 256; t += 1) n = t.toString(16), e[t] = n.length === 1 ? "0" + n : n;
221
212
  return function(t, n, r) {
222
213
  return t < 0 && (t = 0), n < 0 && (n = 0), r < 0 && (r = 0), "#" + e[t] + e[n] + e[r];
223
214
  };
224
215
  })();
225
- var oe = function(e) {
226
- _ = !!e;
216
+ var ie = function(e) {
217
+ g = !!e;
218
+ }, ae = function() {
219
+ return g;
220
+ }, oe = function(e) {
221
+ _ = e;
227
222
  }, se = function() {
228
223
  return _;
229
- }, ce = function(e) {
230
- v = e;
231
- }, le = function() {
224
+ }, ce = function() {
232
225
  return v;
226
+ }, le = function(e) {
227
+ E = e;
233
228
  }, ue = function() {
234
- return y;
229
+ return E;
235
230
  }, de = function(e) {
236
- D = e;
237
- }, fe = function() {
238
- return D;
239
- }, pe = function(e) {
240
- b = e;
231
+ y = e;
241
232
  };
242
- function L(e) {
243
- return document.createElementNS(n, e);
244
- }
245
233
  function R(e) {
234
+ return document.createElementNS("http://www.w3.org/2000/svg", e);
235
+ }
236
+ function fe(e) {
246
237
  "@babel/helpers - typeof";
247
- return R = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
238
+ return fe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
248
239
  return typeof e;
249
240
  } : function(e) {
250
241
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
251
- }, R(e);
242
+ }, fe(e);
252
243
  }
253
244
  var z = function() {
254
245
  var e = 1, t = [], n, r, i = {
@@ -259,15 +250,15 @@ var t = /* @__PURE__ */ e(((e, t) => {
259
250
  }, a = { postMessage: function(e) {
260
251
  i.onmessage({ data: e });
261
252
  } };
262
- function o(e) {
263
- if (window.Worker && window.Blob && s()) {
253
+ function s(e) {
254
+ if (window.Worker && window.Blob && o()) {
264
255
  var t = new Blob(["var _workerSelf = self; self.onmessage = ", e.toString()], { type: "text/javascript" }), r = URL.createObjectURL(t);
265
256
  return new Worker(r);
266
257
  }
267
258
  return n = e, i;
268
259
  }
269
260
  function c() {
270
- r || (r = o(function(e) {
261
+ r || (r = s(function(e) {
271
262
  function t() {
272
263
  function e(t, n) {
273
264
  var o, s, c = t.length, l, u, d, f;
@@ -299,9 +290,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
299
290
  }
300
291
  function i(e) {
301
292
  var t, n = e.length, r, o;
302
- for (t = n - 1; t >= 0; --t) if (e[t].ty === "sh") if (e[t].ks.k.i) a(e[t].ks.k);
303
- else for (o = e[t].ks.k.length, r = 0; r < o; r += 1) e[t].ks.k[r].s && a(e[t].ks.k[r].s[0]), e[t].ks.k[r].e && a(e[t].ks.k[r].e[0]);
304
- else e[t].ty === "gr" && i(e[t].it);
293
+ for (t = n - 1; t >= 0; --t) if (e[t].ty === "sh") {
294
+ if (e[t].ks.k.i) a(e[t].ks.k);
295
+ else for (o = e[t].ks.k.length, r = 0; r < o; r += 1) e[t].ks.k[r].s && a(e[t].ks.k[r].s[0]), e[t].ks.k[r].e && a(e[t].ks.k[r].e[0]);
296
+ } else e[t].ty === "gr" && i(e[t].it);
305
297
  }
306
298
  function a(e) {
307
299
  var t, n = e.i.length;
@@ -442,8 +434,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
442
434
  function t(e) {
443
435
  var n, r = e.length, i, a;
444
436
  for (n = 0; n < r; n += 1) if (e[n].ty === "gr") t(e[n].it);
445
- else if (e[n].ty === "fl" || e[n].ty === "st") if (e[n].c.k && e[n].c.k[0].i) for (a = e[n].c.k.length, i = 0; i < a; i += 1) e[n].c.k[i].s && (e[n].c.k[i].s[0] /= 255, e[n].c.k[i].s[1] /= 255, e[n].c.k[i].s[2] /= 255, e[n].c.k[i].s[3] /= 255), e[n].c.k[i].e && (e[n].c.k[i].e[0] /= 255, e[n].c.k[i].e[1] /= 255, e[n].c.k[i].e[2] /= 255, e[n].c.k[i].e[3] /= 255);
446
- else e[n].c.k[0] /= 255, e[n].c.k[1] /= 255, e[n].c.k[2] /= 255, e[n].c.k[3] /= 255;
437
+ else if (e[n].ty === "fl" || e[n].ty === "st") {
438
+ if (e[n].c.k && e[n].c.k[0].i) for (a = e[n].c.k.length, i = 0; i < a; i += 1) e[n].c.k[i].s && (e[n].c.k[i].s[0] /= 255, e[n].c.k[i].s[1] /= 255, e[n].c.k[i].s[2] /= 255, e[n].c.k[i].s[3] /= 255), e[n].c.k[i].e && (e[n].c.k[i].e[0] /= 255, e[n].c.k[i].e[1] /= 255, e[n].c.k[i].e[2] /= 255, e[n].c.k[i].e[3] /= 255);
439
+ else e[n].c.k[0] /= 255, e[n].c.k[1] /= 255, e[n].c.k[2] /= 255, e[n].c.k[3] /= 255;
440
+ }
447
441
  }
448
442
  function n(e) {
449
443
  var n, r = e.length;
@@ -463,9 +457,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
463
457
  ];
464
458
  function t(e) {
465
459
  var n, r = e.length, i, a;
466
- for (n = r - 1; n >= 0; --n) if (e[n].ty === "sh") if (e[n].ks.k.i) e[n].ks.k.c = e[n].closed;
467
- else for (a = e[n].ks.k.length, i = 0; i < a; i += 1) e[n].ks.k[i].s && (e[n].ks.k[i].s[0].c = e[n].closed), e[n].ks.k[i].e && (e[n].ks.k[i].e[0].c = e[n].closed);
468
- else e[n].ty === "gr" && t(e[n].it);
460
+ for (n = r - 1; n >= 0; --n) if (e[n].ty === "sh") {
461
+ if (e[n].ks.k.i) e[n].ks.k.c = e[n].closed;
462
+ else for (a = e[n].ks.k.length, i = 0; i < a; i += 1) e[n].ks.k[i].s && (e[n].ks.k[i].s[0].c = e[n].closed), e[n].ks.k[i].e && (e[n].ks.k[i].e[0].c = e[n].closed);
463
+ } else e[n].ty === "gr" && t(e[n].it);
469
464
  }
470
465
  function n(e) {
471
466
  var n, r, i = e.length, a, o, s, c;
@@ -497,7 +492,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
497
492
  if (a.dataManager ||= t(), a.assetLoader ||= function() {
498
493
  function e(e) {
499
494
  var t = e.getResponseHeader("content-type");
500
- return t && e.responseType === "json" && t.indexOf("json") !== -1 || e.response && R(e.response) === "object" ? e.response : e.response && typeof e.response == "string" ? JSON.parse(e.response) : e.responseText ? JSON.parse(e.responseText) : null;
495
+ return t && e.responseType === "json" && t.indexOf("json") !== -1 || e.response && fe(e.response) === "object" ? e.response : e.response && typeof e.response == "string" ? JSON.parse(e.response) : e.responseText ? JSON.parse(e.responseText) : null;
501
496
  }
502
497
  function t(t, n, r, i) {
503
498
  var a, o = new XMLHttpRequest();
@@ -505,11 +500,13 @@ var t = /* @__PURE__ */ e(((e, t) => {
505
500
  o.responseType = "json";
506
501
  } catch {}
507
502
  o.onreadystatechange = function() {
508
- if (o.readyState === 4) if (o.status === 200) a = e(o), r(a);
509
- else try {
510
- a = e(o), r(a);
511
- } catch (e) {
512
- i && i(e);
503
+ if (o.readyState === 4) {
504
+ if (o.status === 200) a = e(o), r(a);
505
+ else try {
506
+ a = e(o), r(a);
507
+ } catch (e) {
508
+ i && i(e);
509
+ }
513
510
  }
514
511
  };
515
512
  try {
@@ -606,9 +603,9 @@ var t = /* @__PURE__ */ e(((e, t) => {
606
603
  loadData: d,
607
604
  completeAnimation: f
608
605
  };
609
- }(), me = function() {
606
+ }(), B = function() {
610
607
  var e = function() {
611
- var e = u("canvas");
608
+ var e = l("canvas");
612
609
  e.width = 1, e.height = 1;
613
610
  var t = e.getContext("2d");
614
611
  return t.fillStyle = "rgba(0,0,0,0)", t.fillRect(0, 0, 1, 1), e;
@@ -634,8 +631,8 @@ var t = /* @__PURE__ */ e(((e, t) => {
634
631
  }.bind(this), 50);
635
632
  }
636
633
  function a(t) {
637
- var n = r(t, this.assetsPath, this.path), i = L("image");
638
- x ? this.testImageLoaded(i) : i.addEventListener("load", this._imageLoaded, !1), i.addEventListener("error", function() {
634
+ var n = r(t, this.assetsPath, this.path), i = R("image");
635
+ b ? this.testImageLoaded(i) : i.addEventListener("load", this._imageLoaded, !1), i.addEventListener("error", function() {
639
636
  a.img = e, this._imageLoaded();
640
637
  }.bind(this), !1), i.setAttributeNS("http://www.w3.org/1999/xlink", "href", n), this._elementHelper.append ? this._elementHelper.append(i) : this._elementHelper.appendChild(i);
641
638
  var a = {
@@ -645,7 +642,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
645
642
  return a;
646
643
  }
647
644
  function o(t) {
648
- var n = r(t, this.assetsPath, this.path), i = u("img");
645
+ var n = r(t, this.assetsPath, this.path), i = l("img");
649
646
  i.crossOrigin = "anonymous", i.addEventListener("load", this._imageLoaded, !1), i.addEventListener("error", function() {
650
647
  a.img = e, this._imageLoaded();
651
648
  }.bind(this), !1), i.src = n;
@@ -668,7 +665,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
668
665
  var n, r = e.length;
669
666
  for (n = 0; n < r; n += 1) e[n].layers || (!e[n].t || e[n].t === "seq" ? (this.totalImages += 1, this.images.push(this._createImageData(e[n]))) : e[n].t === 3 && (this.totalFootages += 1, this.images.push(this.createFootageData(e[n]))));
670
667
  }
671
- function l(e) {
668
+ function u(e) {
672
669
  this.path = e || "";
673
670
  }
674
671
  function d(e) {
@@ -699,7 +696,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
699
696
  return _.prototype = {
700
697
  loadAssets: c,
701
698
  setAssetsPath: d,
702
- setPath: l,
699
+ setPath: u,
703
700
  loadedImages: m,
704
701
  loadedFootages: h,
705
702
  destroy: p,
@@ -711,8 +708,8 @@ var t = /* @__PURE__ */ e(((e, t) => {
711
708
  setCacheType: g
712
709
  }, _;
713
710
  }();
714
- function he() {}
715
- he.prototype = {
711
+ function pe() {}
712
+ pe.prototype = {
716
713
  triggerEvent: function(e, t) {
717
714
  if (this._cbs[e]) for (var n = this._cbs[e], r = 0; r < n.length; r += 1) n[r](t);
718
715
  },
@@ -729,7 +726,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
729
726
  }
730
727
  }
731
728
  };
732
- var ge = function() {
729
+ var me = function() {
733
730
  function e(e) {
734
731
  for (var t = e.split("\r\n"), n = {}, r, i = 0, a = 0; a < t.length; a += 1) r = t[a].split(":"), r.length === 2 && (n[r[0]] = r[1].trim(), i += 1);
735
732
  if (i === 0) throw Error();
@@ -754,7 +751,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
754
751
  }
755
752
  return n;
756
753
  };
757
- }(), _e = function() {
754
+ }(), he = function() {
758
755
  function e(e) {
759
756
  this.compositions.push(e);
760
757
  }
@@ -768,48 +765,48 @@ var t = /* @__PURE__ */ e(((e, t) => {
768
765
  }
769
766
  return t.compositions = [], t.currentFrame = 0, t.registerComposition = e, t;
770
767
  };
771
- }(), ve = {}, ye = function(e, t) {
772
- ve[e] = t;
768
+ }(), ge = {}, _e = function(e, t) {
769
+ ge[e] = t;
773
770
  };
774
- function be(e) {
775
- return ve[e];
771
+ function ve(e) {
772
+ return ge[e];
776
773
  }
777
- function xe() {
778
- if (ve.canvas) return "canvas";
779
- for (var e in ve) if (ve[e]) return e;
774
+ function ye() {
775
+ if (ge.canvas) return "canvas";
776
+ for (var e in ge) if (ge[e]) return e;
780
777
  return "";
781
778
  }
782
- function Se(e) {
779
+ function be(e) {
783
780
  "@babel/helpers - typeof";
784
- return Se = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
781
+ return be = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
785
782
  return typeof e;
786
783
  } : function(e) {
787
784
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
788
- }, Se(e);
785
+ }, be(e);
789
786
  }
790
- var B = function() {
791
- this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = I(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = se(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = _e(), this.imagePreloader = new me(), this.audioController = p(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new A("drawnFrame", 0, 0, 0), this.expressionsPlugin = le();
787
+ var V = function() {
788
+ this._cbs = [], this.name = "", this.path = "", this.isLoaded = !1, this.currentFrame = 0, this.currentRawFrame = 0, this.firstFrame = 0, this.totalFrames = 0, this.frameRate = 0, this.frameMult = 0, this.playSpeed = 1, this.playDirection = 1, this.playCount = 0, this.animationData = {}, this.assets = [], this.isPaused = !0, this.autoplay = !1, this.loop = !0, this.renderer = null, this.animationID = I(), this.assetsPath = "", this.timeCompleted = 0, this.segmentPos = 0, this.isSubframeEnabled = ae(), this.segments = [], this._idle = !0, this._completedLoop = !1, this.projectInterface = he(), this.imagePreloader = new B(), this.audioController = f(), this.markers = [], this.configAnimation = this.configAnimation.bind(this), this.onSetupError = this.onSetupError.bind(this), this.onSegmentComplete = this.onSegmentComplete.bind(this), this.drawnFrameEvent = new k("drawnFrame", 0, 0, 0), this.expressionsPlugin = se();
792
789
  };
793
- d([he], B), B.prototype.setParams = function(e) {
790
+ u([pe], V), V.prototype.setParams = function(e) {
794
791
  (e.wrapper || e.container) && (this.wrapper = e.wrapper || e.container);
795
792
  var t = "svg";
796
793
  e.animType ? t = e.animType : e.renderer && (t = e.renderer);
797
- var n = be(t);
798
- this.renderer = new n(this, e.rendererSettings), this.imagePreloader.setCacheType(t, this.renderer.globalData.defs), this.renderer.setProjectInterface(this.projectInterface), this.animType = t, e.loop === "" || e.loop === null || e.loop === void 0 || e.loop === !0 ? this.loop = !0 : e.loop === !1 ? this.loop = !1 : this.loop = parseInt(e.loop, 10), this.autoplay = "autoplay" in e ? e.autoplay : !0, this.name = e.name ? e.name : "", this.autoloadSegments = Object.prototype.hasOwnProperty.call(e, "autoloadSegments") ? e.autoloadSegments : !0, this.assetsPath = e.assetsPath, this.initialSegment = e.initialSegment, e.audioFactory && this.audioController.setAudioFactory(e.audioFactory), e.animationData ? this.setupAnimation(e.animationData) : e.path && (e.path.lastIndexOf("\\") === -1 ? this.path = e.path.substr(0, e.path.lastIndexOf("/") + 1) : this.path = e.path.substr(0, e.path.lastIndexOf("\\") + 1), this.fileName = e.path.substr(e.path.lastIndexOf("/") + 1), this.fileName = this.fileName.substr(0, this.fileName.lastIndexOf(".json")), z.loadAnimation(e.path, this.configAnimation, this.onSetupError));
799
- }, B.prototype.onSetupError = function() {
794
+ var n = ve(t);
795
+ this.renderer = new n(this, e.rendererSettings), this.imagePreloader.setCacheType(t, this.renderer.globalData.defs), this.renderer.setProjectInterface(this.projectInterface), this.animType = t, this.loop = e.loop === "" || e.loop === null || e.loop === void 0 || e.loop === !0 || e.loop !== !1 && parseInt(e.loop, 10), this.autoplay = "autoplay" in e ? e.autoplay : !0, this.name = e.name ? e.name : "", this.autoloadSegments = !Object.prototype.hasOwnProperty.call(e, "autoloadSegments") || e.autoloadSegments, this.assetsPath = e.assetsPath, this.initialSegment = e.initialSegment, e.audioFactory && this.audioController.setAudioFactory(e.audioFactory), e.animationData ? this.setupAnimation(e.animationData) : e.path && (this.path = e.path.lastIndexOf("\\") === -1 ? e.path.substr(0, e.path.lastIndexOf("/") + 1) : e.path.substr(0, e.path.lastIndexOf("\\") + 1), this.fileName = e.path.substr(e.path.lastIndexOf("/") + 1), this.fileName = this.fileName.substr(0, this.fileName.lastIndexOf(".json")), z.loadAnimation(e.path, this.configAnimation, this.onSetupError));
796
+ }, V.prototype.onSetupError = function() {
800
797
  this.trigger("data_failed");
801
- }, B.prototype.setupAnimation = function(e) {
798
+ }, V.prototype.setupAnimation = function(e) {
802
799
  z.completeAnimation(e, this.configAnimation);
803
- }, B.prototype.setData = function(e, t) {
804
- t && Se(t) !== "object" && (t = JSON.parse(t));
800
+ }, V.prototype.setData = function(e, t) {
801
+ t && be(t) !== "object" && (t = JSON.parse(t));
805
802
  var n = {
806
803
  wrapper: e,
807
804
  animationData: t
808
805
  }, r = e.attributes;
809
- n.path = r.getNamedItem("data-animation-path") ? r.getNamedItem("data-animation-path").value : r.getNamedItem("data-bm-path") ? r.getNamedItem("data-bm-path").value : r.getNamedItem("bm-path") ? r.getNamedItem("bm-path").value : "", n.animType = r.getNamedItem("data-anim-type") ? r.getNamedItem("data-anim-type").value : r.getNamedItem("data-bm-type") ? r.getNamedItem("data-bm-type").value : r.getNamedItem("bm-type") ? r.getNamedItem("bm-type").value : r.getNamedItem("data-bm-renderer") ? r.getNamedItem("data-bm-renderer").value : r.getNamedItem("bm-renderer") ? r.getNamedItem("bm-renderer").value : xe() || "canvas";
806
+ n.path = r.getNamedItem("data-animation-path") ? r.getNamedItem("data-animation-path").value : r.getNamedItem("data-bm-path") ? r.getNamedItem("data-bm-path").value : r.getNamedItem("bm-path") ? r.getNamedItem("bm-path").value : "", n.animType = r.getNamedItem("data-anim-type") ? r.getNamedItem("data-anim-type").value : r.getNamedItem("data-bm-type") ? r.getNamedItem("data-bm-type").value : r.getNamedItem("bm-type") ? r.getNamedItem("bm-type").value : r.getNamedItem("data-bm-renderer") ? r.getNamedItem("data-bm-renderer").value : r.getNamedItem("bm-renderer") ? r.getNamedItem("bm-renderer").value : ye() || "canvas";
810
807
  var i = r.getNamedItem("data-anim-loop") ? r.getNamedItem("data-anim-loop").value : r.getNamedItem("data-bm-loop") ? r.getNamedItem("data-bm-loop").value : r.getNamedItem("bm-loop") ? r.getNamedItem("bm-loop").value : "";
811
- i === "false" ? n.loop = !1 : i === "true" ? n.loop = !0 : i !== "" && (n.loop = parseInt(i, 10)), n.autoplay = (r.getNamedItem("data-anim-autoplay") ? r.getNamedItem("data-anim-autoplay").value : r.getNamedItem("data-bm-autoplay") ? r.getNamedItem("data-bm-autoplay").value : r.getNamedItem("bm-autoplay") ? r.getNamedItem("bm-autoplay").value : !0) !== "false", n.name = r.getNamedItem("data-name") ? r.getNamedItem("data-name").value : r.getNamedItem("data-bm-name") ? r.getNamedItem("data-bm-name").value : r.getNamedItem("bm-name") ? r.getNamedItem("bm-name").value : "", (r.getNamedItem("data-anim-prerender") ? r.getNamedItem("data-anim-prerender").value : r.getNamedItem("data-bm-prerender") ? r.getNamedItem("data-bm-prerender").value : r.getNamedItem("bm-prerender") ? r.getNamedItem("bm-prerender").value : "") === "false" && (n.prerender = !1), n.path ? this.setParams(n) : this.trigger("destroy");
812
- }, B.prototype.includeLayers = function(e) {
808
+ i === "false" ? n.loop = !1 : i === "true" ? n.loop = !0 : i !== "" && (n.loop = parseInt(i, 10)), n.autoplay = (r.getNamedItem("data-anim-autoplay") ? r.getNamedItem("data-anim-autoplay").value : r.getNamedItem("data-bm-autoplay") ? r.getNamedItem("data-bm-autoplay").value : !r.getNamedItem("bm-autoplay") || r.getNamedItem("bm-autoplay").value) !== "false", n.name = r.getNamedItem("data-name") ? r.getNamedItem("data-name").value : r.getNamedItem("data-bm-name") ? r.getNamedItem("data-bm-name").value : r.getNamedItem("bm-name") ? r.getNamedItem("bm-name").value : "", (r.getNamedItem("data-anim-prerender") ? r.getNamedItem("data-anim-prerender").value : r.getNamedItem("data-bm-prerender") ? r.getNamedItem("data-bm-prerender").value : r.getNamedItem("bm-prerender") ? r.getNamedItem("bm-prerender").value : "") === "false" && (n.prerender = !1), n.path ? this.setParams(n) : this.trigger("destroy");
809
+ }, V.prototype.includeLayers = function(e) {
813
810
  e.op > this.animationData.op && (this.animationData.op = e.op, this.totalFrames = Math.floor(e.op - this.animationData.ip));
814
811
  var t = this.animationData.layers, n, r = t.length, i = e.layers, a, o = i.length;
815
812
  for (a = 0; a < o; a += 1) for (n = 0; n < r;) {
@@ -821,69 +818,68 @@ var t = /* @__PURE__ */ e(((e, t) => {
821
818
  }
822
819
  if ((e.chars || e.fonts) && (this.renderer.globalData.fontManager.addChars(e.chars), this.renderer.globalData.fontManager.addFonts(e.fonts, this.renderer.globalData.defs)), e.assets) for (r = e.assets.length, n = 0; n < r; n += 1) this.animationData.assets.push(e.assets[n]);
823
820
  this.animationData.__complete = !1, z.completeAnimation(this.animationData, this.onSegmentComplete);
824
- }, B.prototype.onSegmentComplete = function(e) {
821
+ }, V.prototype.onSegmentComplete = function(e) {
825
822
  this.animationData = e;
826
- var t = le();
823
+ var t = se();
827
824
  t && t.initExpressions(this), this.loadNextSegment();
828
- }, B.prototype.loadNextSegment = function() {
825
+ }, V.prototype.loadNextSegment = function() {
829
826
  var e = this.animationData.segments;
830
- if (!e || e.length === 0 || !this.autoloadSegments) {
831
- this.trigger("data_ready"), this.timeCompleted = this.totalFrames;
832
- return;
833
- }
834
- var t = e.shift();
835
- this.timeCompleted = t.time * this.frameRate;
836
- var n = this.path + this.fileName + "_" + this.segmentPos + ".json";
837
- this.segmentPos += 1, z.loadData(n, this.includeLayers.bind(this), function() {
838
- this.trigger("data_failed");
839
- }.bind(this));
840
- }, B.prototype.loadSegments = function() {
827
+ if (!e || e.length === 0 || !this.autoloadSegments) this.trigger("data_ready"), this.timeCompleted = this.totalFrames;
828
+ else {
829
+ var t = e.shift();
830
+ this.timeCompleted = t.time * this.frameRate;
831
+ var n = this.path + this.fileName + "_" + this.segmentPos + ".json";
832
+ this.segmentPos += 1, z.loadData(n, this.includeLayers.bind(this), function() {
833
+ this.trigger("data_failed");
834
+ }.bind(this));
835
+ }
836
+ }, V.prototype.loadSegments = function() {
841
837
  this.animationData.segments || (this.timeCompleted = this.totalFrames), this.loadNextSegment();
842
- }, B.prototype.imagesLoaded = function() {
838
+ }, V.prototype.imagesLoaded = function() {
843
839
  this.trigger("loaded_images"), this.checkLoaded();
844
- }, B.prototype.preloadImages = function() {
840
+ }, V.prototype.preloadImages = function() {
845
841
  this.imagePreloader.setAssetsPath(this.assetsPath), this.imagePreloader.setPath(this.path), this.imagePreloader.loadAssets(this.animationData.assets, this.imagesLoaded.bind(this));
846
- }, B.prototype.configAnimation = function(e) {
842
+ }, V.prototype.configAnimation = function(e) {
847
843
  if (this.renderer) try {
848
- this.animationData = e, this.initialSegment ? (this.totalFrames = Math.floor(this.initialSegment[1] - this.initialSegment[0]), this.firstFrame = Math.round(this.initialSegment[0])) : (this.totalFrames = Math.floor(this.animationData.op - this.animationData.ip), this.firstFrame = Math.round(this.animationData.ip)), this.renderer.configAnimation(e), e.assets ||= [], this.assets = this.animationData.assets, this.frameRate = this.animationData.fr, this.frameMult = this.animationData.fr / 1e3, this.renderer.searchExtraCompositions(e.assets), this.markers = ge(e.markers || []), this.trigger("config_ready"), this.preloadImages(), this.loadSegments(), this.updaFrameModifier(), this.waitForFontsLoaded(), this.isPaused && this.audioController.pause();
844
+ this.animationData = e, this.initialSegment ? (this.totalFrames = Math.floor(this.initialSegment[1] - this.initialSegment[0]), this.firstFrame = Math.round(this.initialSegment[0])) : (this.totalFrames = Math.floor(this.animationData.op - this.animationData.ip), this.firstFrame = Math.round(this.animationData.ip)), this.renderer.configAnimation(e), e.assets ||= [], this.assets = this.animationData.assets, this.frameRate = this.animationData.fr, this.frameMult = this.animationData.fr / 1e3, this.renderer.searchExtraCompositions(e.assets), this.markers = me(e.markers || []), this.trigger("config_ready"), this.preloadImages(), this.loadSegments(), this.updaFrameModifier(), this.waitForFontsLoaded(), this.isPaused && this.audioController.pause();
849
845
  } catch (e) {
850
846
  this.triggerConfigError(e);
851
847
  }
852
- }, B.prototype.waitForFontsLoaded = function() {
848
+ }, V.prototype.waitForFontsLoaded = function() {
853
849
  this.renderer && (this.renderer.globalData.fontManager.isLoaded ? this.checkLoaded() : setTimeout(this.waitForFontsLoaded.bind(this), 20));
854
- }, B.prototype.checkLoaded = function() {
850
+ }, V.prototype.checkLoaded = function() {
855
851
  if (!this.isLoaded && this.renderer.globalData.fontManager.isLoaded && (this.imagePreloader.loadedImages() || this.renderer.rendererType !== "canvas") && this.imagePreloader.loadedFootages()) {
856
852
  this.isLoaded = !0;
857
- var e = le();
853
+ var e = se();
858
854
  e && e.initExpressions(this), this.renderer.initItems(), setTimeout(function() {
859
855
  this.trigger("DOMLoaded");
860
856
  }.bind(this), 0), this.gotoFrame(), this.autoplay && this.play();
861
857
  }
862
- }, B.prototype.resize = function(e, t) {
858
+ }, V.prototype.resize = function(e, t) {
863
859
  var n = typeof e == "number" ? e : void 0, r = typeof t == "number" ? t : void 0;
864
860
  this.renderer.updateContainerSize(n, r);
865
- }, B.prototype.setSubframe = function(e) {
861
+ }, V.prototype.setSubframe = function(e) {
866
862
  this.isSubframeEnabled = !!e;
867
- }, B.prototype.gotoFrame = function() {
863
+ }, V.prototype.gotoFrame = function() {
868
864
  this.currentFrame = this.isSubframeEnabled ? this.currentRawFrame : ~~this.currentRawFrame, this.timeCompleted !== this.totalFrames && this.currentFrame > this.timeCompleted && (this.currentFrame = this.timeCompleted), this.trigger("enterFrame"), this.renderFrame(), this.trigger("drawnFrame");
869
- }, B.prototype.renderFrame = function() {
870
- if (!(this.isLoaded === !1 || !this.renderer)) try {
865
+ }, V.prototype.renderFrame = function() {
866
+ if (this.isLoaded !== !1 && this.renderer) try {
871
867
  this.expressionsPlugin && this.expressionsPlugin.resetFrame(), this.renderer.renderFrame(this.currentFrame + this.firstFrame);
872
868
  } catch (e) {
873
869
  this.triggerRenderFrameError(e);
874
870
  }
875
- }, B.prototype.play = function(e) {
871
+ }, V.prototype.play = function(e) {
876
872
  e && this.name !== e || this.isPaused === !0 && (this.isPaused = !1, this.trigger("_play"), this.audioController.resume(), this._idle && (this._idle = !1, this.trigger("_active")));
877
- }, B.prototype.pause = function(e) {
873
+ }, V.prototype.pause = function(e) {
878
874
  e && this.name !== e || this.isPaused === !1 && (this.isPaused = !0, this.trigger("_pause"), this._idle = !0, this.trigger("_idle"), this.audioController.pause());
879
- }, B.prototype.togglePause = function(e) {
875
+ }, V.prototype.togglePause = function(e) {
880
876
  e && this.name !== e || (this.isPaused === !0 ? this.play() : this.pause());
881
- }, B.prototype.stop = function(e) {
877
+ }, V.prototype.stop = function(e) {
882
878
  e && this.name !== e || (this.pause(), this.playCount = 0, this._completedLoop = !1, this.setCurrentRawFrameValue(0));
883
- }, B.prototype.getMarkerData = function(e) {
879
+ }, V.prototype.getMarkerData = function(e) {
884
880
  for (var t, n = 0; n < this.markers.length; n += 1) if (t = this.markers[n], t.payload && t.payload.name === e) return t;
885
881
  return null;
886
- }, B.prototype.goToAndStop = function(e, t, n) {
882
+ }, V.prototype.goToAndStop = function(e, t, n) {
887
883
  if (!(n && this.name !== n)) {
888
884
  var r = Number(e);
889
885
  if (isNaN(r)) {
@@ -892,7 +888,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
892
888
  } else t ? this.setCurrentRawFrameValue(e) : this.setCurrentRawFrameValue(e * this.frameModifier);
893
889
  this.pause();
894
890
  }
895
- }, B.prototype.goToAndPlay = function(e, t, n) {
891
+ }, V.prototype.goToAndPlay = function(e, t, n) {
896
892
  if (!(n && this.name !== n)) {
897
893
  var r = Number(e);
898
894
  if (isNaN(r)) {
@@ -901,49 +897,49 @@ var t = /* @__PURE__ */ e(((e, t) => {
901
897
  } else this.goToAndStop(r, t, n);
902
898
  this.play();
903
899
  }
904
- }, B.prototype.advanceTime = function(e) {
905
- if (!(this.isPaused === !0 || this.isLoaded === !1)) {
900
+ }, V.prototype.advanceTime = function(e) {
901
+ if (this.isPaused !== !0 && this.isLoaded !== !1) {
906
902
  var t = this.currentRawFrame + e * this.frameModifier, n = !1;
907
903
  t >= this.totalFrames - 1 && this.frameModifier > 0 ? !this.loop || this.playCount === this.loop ? this.checkSegments(t > this.totalFrames ? t % this.totalFrames : 0) || (n = !0, t = this.totalFrames - 1) : t >= this.totalFrames ? (this.playCount += 1, this.checkSegments(t % this.totalFrames) || (this.setCurrentRawFrameValue(t % this.totalFrames), this._completedLoop = !0, this.trigger("loopComplete"))) : this.setCurrentRawFrameValue(t) : t < 0 ? this.checkSegments(t % this.totalFrames) || (this.loop && !(this.playCount-- <= 0 && this.loop !== !0) ? (this.setCurrentRawFrameValue(this.totalFrames + t % this.totalFrames), this._completedLoop ? this.trigger("loopComplete") : this._completedLoop = !0) : (n = !0, t = 0)) : this.setCurrentRawFrameValue(t), n && (this.setCurrentRawFrameValue(t), this.pause(), this.trigger("complete"));
908
904
  }
909
- }, B.prototype.adjustSegment = function(e, t) {
905
+ }, V.prototype.adjustSegment = function(e, t) {
910
906
  this.playCount = 0, e[1] < e[0] ? (this.frameModifier > 0 && (this.playSpeed < 0 ? this.setSpeed(-this.playSpeed) : this.setDirection(-1)), this.totalFrames = e[0] - e[1], this.timeCompleted = this.totalFrames, this.firstFrame = e[1], this.setCurrentRawFrameValue(this.totalFrames - .001 - t)) : e[1] > e[0] && (this.frameModifier < 0 && (this.playSpeed < 0 ? this.setSpeed(-this.playSpeed) : this.setDirection(1)), this.totalFrames = e[1] - e[0], this.timeCompleted = this.totalFrames, this.firstFrame = e[0], this.setCurrentRawFrameValue(.001 + t)), this.trigger("segmentStart");
911
- }, B.prototype.setSegment = function(e, t) {
907
+ }, V.prototype.setSegment = function(e, t) {
912
908
  var n = -1;
913
909
  this.isPaused && (this.currentRawFrame + this.firstFrame < e ? n = e : this.currentRawFrame + this.firstFrame > t && (n = t - e)), this.firstFrame = e, this.totalFrames = t - e, this.timeCompleted = this.totalFrames, n !== -1 && this.goToAndStop(n, !0);
914
- }, B.prototype.playSegments = function(e, t) {
915
- if (t && (this.segments.length = 0), Se(e[0]) === "object") {
910
+ }, V.prototype.playSegments = function(e, t) {
911
+ if (t && (this.segments.length = 0), be(e[0]) === "object") {
916
912
  var n, r = e.length;
917
913
  for (n = 0; n < r; n += 1) this.segments.push(e[n]);
918
914
  } else this.segments.push(e);
919
915
  this.segments.length && t && this.adjustSegment(this.segments.shift(), 0), this.isPaused && this.play();
920
- }, B.prototype.resetSegments = function(e) {
916
+ }, V.prototype.resetSegments = function(e) {
921
917
  this.segments.length = 0, this.segments.push([this.animationData.ip, this.animationData.op]), e && this.checkSegments(0);
922
- }, B.prototype.checkSegments = function(e) {
918
+ }, V.prototype.checkSegments = function(e) {
923
919
  return this.segments.length ? (this.adjustSegment(this.segments.shift(), e), !0) : !1;
924
- }, B.prototype.destroy = function(e) {
920
+ }, V.prototype.destroy = function(e) {
925
921
  e && this.name !== e || !this.renderer || (this.renderer.destroy(), this.imagePreloader.destroy(), this.trigger("destroy"), this._cbs = null, this.onEnterFrame = null, this.onLoopComplete = null, this.onComplete = null, this.onSegmentStart = null, this.onDestroy = null, this.renderer = null, this.expressionsPlugin = null, this.imagePreloader = null, this.projectInterface = null);
926
- }, B.prototype.setCurrentRawFrameValue = function(e) {
922
+ }, V.prototype.setCurrentRawFrameValue = function(e) {
927
923
  this.currentRawFrame = e, this.gotoFrame();
928
- }, B.prototype.setSpeed = function(e) {
924
+ }, V.prototype.setSpeed = function(e) {
929
925
  this.playSpeed = e, this.updaFrameModifier();
930
- }, B.prototype.setDirection = function(e) {
926
+ }, V.prototype.setDirection = function(e) {
931
927
  this.playDirection = e < 0 ? -1 : 1, this.updaFrameModifier();
932
- }, B.prototype.setLoop = function(e) {
928
+ }, V.prototype.setLoop = function(e) {
933
929
  this.loop = e;
934
- }, B.prototype.setVolume = function(e, t) {
930
+ }, V.prototype.setVolume = function(e, t) {
935
931
  t && this.name !== t || this.audioController.setVolume(e);
936
- }, B.prototype.getVolume = function() {
932
+ }, V.prototype.getVolume = function() {
937
933
  return this.audioController.getVolume();
938
- }, B.prototype.mute = function(e) {
934
+ }, V.prototype.mute = function(e) {
939
935
  e && this.name !== e || this.audioController.mute();
940
- }, B.prototype.unmute = function(e) {
936
+ }, V.prototype.unmute = function(e) {
941
937
  e && this.name !== e || this.audioController.unmute();
942
- }, B.prototype.updaFrameModifier = function() {
938
+ }, V.prototype.updaFrameModifier = function() {
943
939
  this.frameModifier = this.frameMult * this.playSpeed * this.playDirection, this.audioController.setRate(this.playSpeed * this.playDirection);
944
- }, B.prototype.getPath = function() {
940
+ }, V.prototype.getPath = function() {
945
941
  return this.path;
946
- }, B.prototype.getAssetsPath = function(e) {
942
+ }, V.prototype.getAssetsPath = function(e) {
947
943
  var t = "";
948
944
  if (e.e) t = e.p;
949
945
  else if (this.assetsPath) {
@@ -951,53 +947,53 @@ var t = /* @__PURE__ */ e(((e, t) => {
951
947
  n.indexOf("images/") !== -1 && (n = n.split("/")[1]), t = this.assetsPath + n;
952
948
  } else t = this.path, t += e.u ? e.u : "", t += e.p;
953
949
  return t;
954
- }, B.prototype.getAssetData = function(e) {
950
+ }, V.prototype.getAssetData = function(e) {
955
951
  for (var t = 0, n = this.assets.length; t < n;) {
956
952
  if (e === this.assets[t].id) return this.assets[t];
957
953
  t += 1;
958
954
  }
959
955
  return null;
960
- }, B.prototype.hide = function() {
956
+ }, V.prototype.hide = function() {
961
957
  this.renderer.hide();
962
- }, B.prototype.show = function() {
958
+ }, V.prototype.show = function() {
963
959
  this.renderer.show();
964
- }, B.prototype.getDuration = function(e) {
960
+ }, V.prototype.getDuration = function(e) {
965
961
  return e ? this.totalFrames : this.totalFrames / this.frameRate;
966
- }, B.prototype.updateDocumentData = function(e, t, n) {
962
+ }, V.prototype.updateDocumentData = function(e, t, n) {
967
963
  try {
968
964
  this.renderer.getElementByPath(e).updateDocumentData(t, n);
969
965
  } catch {}
970
- }, B.prototype.trigger = function(e) {
966
+ }, V.prototype.trigger = function(e) {
971
967
  if (this._cbs && this._cbs[e]) switch (e) {
972
968
  case "enterFrame":
973
- this.triggerEvent(e, new A(e, this.currentFrame, this.totalFrames, this.frameModifier));
969
+ this.triggerEvent(e, new k(e, this.currentFrame, this.totalFrames, this.frameModifier));
974
970
  break;
975
971
  case "drawnFrame":
976
972
  this.drawnFrameEvent.currentTime = this.currentFrame, this.drawnFrameEvent.totalTime = this.totalFrames, this.drawnFrameEvent.direction = this.frameModifier, this.triggerEvent(e, this.drawnFrameEvent);
977
973
  break;
978
974
  case "loopComplete":
979
- this.triggerEvent(e, new M(e, this.loop, this.playCount, this.frameMult));
975
+ this.triggerEvent(e, new j(e, this.loop, this.playCount, this.frameMult));
980
976
  break;
981
977
  case "complete":
982
- this.triggerEvent(e, new j(e, this.frameMult));
978
+ this.triggerEvent(e, new A(e, this.frameMult));
983
979
  break;
984
980
  case "segmentStart":
985
- this.triggerEvent(e, new N(e, this.firstFrame, this.totalFrames));
981
+ this.triggerEvent(e, new M(e, this.firstFrame, this.totalFrames));
986
982
  break;
987
983
  case "destroy":
988
- this.triggerEvent(e, new P(e, this));
984
+ this.triggerEvent(e, new N(e, this));
989
985
  break;
990
986
  default: this.triggerEvent(e);
991
987
  }
992
- e === "enterFrame" && this.onEnterFrame && this.onEnterFrame.call(this, new A(e, this.currentFrame, this.totalFrames, this.frameMult)), e === "loopComplete" && this.onLoopComplete && this.onLoopComplete.call(this, new M(e, this.loop, this.playCount, this.frameMult)), e === "complete" && this.onComplete && this.onComplete.call(this, new j(e, this.frameMult)), e === "segmentStart" && this.onSegmentStart && this.onSegmentStart.call(this, new N(e, this.firstFrame, this.totalFrames)), e === "destroy" && this.onDestroy && this.onDestroy.call(this, new P(e, this));
993
- }, B.prototype.triggerRenderFrameError = function(e) {
994
- var t = new F(e, this.currentFrame);
988
+ e === "enterFrame" && this.onEnterFrame && this.onEnterFrame.call(this, new k(e, this.currentFrame, this.totalFrames, this.frameMult)), e === "loopComplete" && this.onLoopComplete && this.onLoopComplete.call(this, new j(e, this.loop, this.playCount, this.frameMult)), e === "complete" && this.onComplete && this.onComplete.call(this, new A(e, this.frameMult)), e === "segmentStart" && this.onSegmentStart && this.onSegmentStart.call(this, new M(e, this.firstFrame, this.totalFrames)), e === "destroy" && this.onDestroy && this.onDestroy.call(this, new N(e, this));
989
+ }, V.prototype.triggerRenderFrameError = function(e) {
990
+ var t = new P(e, this.currentFrame);
995
991
  this.triggerEvent("error", t), this.onError && this.onError.call(this, t);
996
- }, B.prototype.triggerConfigError = function(e) {
997
- var t = new ee(e, this.currentFrame);
992
+ }, V.prototype.triggerConfigError = function(e) {
993
+ var t = new F(e, this.currentFrame);
998
994
  this.triggerEvent("error", t), this.onError && this.onError.call(this, t);
999
995
  };
1000
- var V = function() {
996
+ var H = function() {
1001
997
  var e = {}, t = [], n = 0, r = 0, i = 0, a = !0, o = !1;
1002
998
  function s(e) {
1003
999
  for (var n = 0, i = e.target; n < r;) t[n].animation === i && (t.splice(n, 1), --n, --r, i.isPaused || f()), n += 1;
@@ -1008,10 +1004,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
1008
1004
  if (t[i].elem === e && t[i].elem !== null) return t[i].animation;
1009
1005
  i += 1;
1010
1006
  }
1011
- var a = new B();
1007
+ var a = new V();
1012
1008
  return p(a, e), a.setData(e, n), a;
1013
1009
  }
1014
- function l() {
1010
+ function u() {
1015
1011
  var e, n = t.length, r = [];
1016
1012
  for (e = 0; e < n; e += 1) r.push(t[e].animation);
1017
1013
  return r;
@@ -1029,48 +1025,39 @@ var t = /* @__PURE__ */ e(((e, t) => {
1029
1025
  }), r += 1;
1030
1026
  }
1031
1027
  function m(e) {
1032
- var t = new B();
1028
+ var t = new V();
1033
1029
  return p(t, null), t.setParams(e), t;
1034
1030
  }
1035
1031
  function h(e, n) {
1036
- var i;
1037
- for (i = 0; i < r; i += 1) t[i].animation.setSpeed(e, n);
1032
+ for (var i = 0; i < r; i += 1) t[i].animation.setSpeed(e, n);
1038
1033
  }
1039
1034
  function g(e, n) {
1040
- var i;
1041
- for (i = 0; i < r; i += 1) t[i].animation.setDirection(e, n);
1035
+ for (var i = 0; i < r; i += 1) t[i].animation.setDirection(e, n);
1042
1036
  }
1043
1037
  function _(e) {
1044
- var n;
1045
- for (n = 0; n < r; n += 1) t[n].animation.play(e);
1038
+ for (var n = 0; n < r; n += 1) t[n].animation.play(e);
1046
1039
  }
1047
1040
  function v(e) {
1048
- var s = e - n, c;
1049
- for (c = 0; c < r; c += 1) t[c].animation.advanceTime(s);
1041
+ for (var s = e - n, c = 0; c < r; c += 1) t[c].animation.advanceTime(s);
1050
1042
  n = e, i && !o ? window.requestAnimationFrame(v) : a = !0;
1051
1043
  }
1052
1044
  function y(e) {
1053
1045
  n = e, window.requestAnimationFrame(v);
1054
1046
  }
1055
1047
  function b(e) {
1056
- var n;
1057
- for (n = 0; n < r; n += 1) t[n].animation.pause(e);
1048
+ for (var n = 0; n < r; n += 1) t[n].animation.pause(e);
1058
1049
  }
1059
1050
  function x(e, n, i) {
1060
- var a;
1061
- for (a = 0; a < r; a += 1) t[a].animation.goToAndStop(e, n, i);
1051
+ for (var a = 0; a < r; a += 1) t[a].animation.goToAndStop(e, n, i);
1062
1052
  }
1063
1053
  function S(e) {
1064
- var n;
1065
- for (n = 0; n < r; n += 1) t[n].animation.stop(e);
1054
+ for (var n = 0; n < r; n += 1) t[n].animation.stop(e);
1066
1055
  }
1067
1056
  function C(e) {
1068
- var n;
1069
- for (n = 0; n < r; n += 1) t[n].animation.togglePause(e);
1057
+ for (var n = 0; n < r; n += 1) t[n].animation.togglePause(e);
1070
1058
  }
1071
1059
  function w(e) {
1072
- var n;
1073
- for (n = r - 1; n >= 0; --n) t[n].animation.destroy(e);
1060
+ for (var n = r - 1; n >= 0; --n) t[n].animation.destroy(e);
1074
1061
  }
1075
1062
  function T(e, t, n) {
1076
1063
  var r = [].concat([].slice.call(document.getElementsByClassName("lottie")), [].slice.call(document.getElementsByClassName("bodymovin"))), i, a = r.length;
@@ -1079,13 +1066,12 @@ var t = /* @__PURE__ */ e(((e, t) => {
1079
1066
  n ||= "svg";
1080
1067
  var o = document.getElementsByTagName("body")[0];
1081
1068
  o.innerText = "";
1082
- var s = u("div");
1069
+ var s = l("div");
1083
1070
  s.style.width = "100%", s.style.height = "100%", s.setAttribute("data-bm-type", n), o.appendChild(s), c(s, e);
1084
1071
  }
1085
1072
  }
1086
1073
  function E() {
1087
- var e;
1088
- for (e = 0; e < r; e += 1) t[e].animation.resize();
1074
+ for (var e = 0; e < r; e += 1) t[e].animation.resize();
1089
1075
  }
1090
1076
  function D() {
1091
1077
  !o && i && (a &&= (window.requestAnimationFrame(y), !1));
@@ -1097,19 +1083,16 @@ var t = /* @__PURE__ */ e(((e, t) => {
1097
1083
  o = !1, D();
1098
1084
  }
1099
1085
  function A(e, n) {
1100
- var i;
1101
- for (i = 0; i < r; i += 1) t[i].animation.setVolume(e, n);
1086
+ for (var i = 0; i < r; i += 1) t[i].animation.setVolume(e, n);
1102
1087
  }
1103
1088
  function j(e) {
1104
- var n;
1105
- for (n = 0; n < r; n += 1) t[n].animation.mute(e);
1089
+ for (var n = 0; n < r; n += 1) t[n].animation.mute(e);
1106
1090
  }
1107
1091
  function M(e) {
1108
- var n;
1109
- for (n = 0; n < r; n += 1) t[n].animation.unmute(e);
1092
+ for (var n = 0; n < r; n += 1) t[n].animation.unmute(e);
1110
1093
  }
1111
- return e.registerAnimation = c, e.loadAnimation = m, e.setSpeed = h, e.setDirection = g, e.play = _, e.pause = b, e.stop = S, e.togglePause = C, e.searchAnimations = T, e.resize = E, e.goToAndStop = x, e.destroy = w, e.freeze = O, e.unfreeze = k, e.setVolume = A, e.mute = j, e.unmute = M, e.getRegisteredAnimations = l, e;
1112
- }(), Ce = function() {
1094
+ return e.registerAnimation = c, e.loadAnimation = m, e.setSpeed = h, e.setDirection = g, e.play = _, e.pause = b, e.stop = S, e.togglePause = C, e.searchAnimations = T, e.resize = E, e.goToAndStop = x, e.destroy = w, e.freeze = O, e.unfreeze = k, e.setVolume = A, e.mute = j, e.unmute = M, e.getRegisteredAnimations = u, e;
1095
+ }(), xe = function() {
1113
1096
  var e = {};
1114
1097
  e.getBezierEasing = n;
1115
1098
  var t = {};
@@ -1178,14 +1161,14 @@ var t = /* @__PURE__ */ e(((e, t) => {
1178
1161
  return f >= i ? g(e, d, t, n) : f === 0 ? d : h(e, a, a + c, t, n);
1179
1162
  }
1180
1163
  }, e;
1181
- }(), we = function() {
1164
+ }(), Se = function() {
1182
1165
  function e(e) {
1183
- return e.concat(h(e.length));
1166
+ return e.concat(m(e.length));
1184
1167
  }
1185
1168
  return { double: e };
1186
- }(), Te = function() {
1169
+ }(), Ce = function() {
1187
1170
  return function(e, t, n) {
1188
- var r = 0, i = e, a = h(i), o = {
1171
+ var r = 0, i = e, a = m(i), o = {
1189
1172
  newElement: s,
1190
1173
  release: c
1191
1174
  };
@@ -1194,20 +1177,20 @@ var t = /* @__PURE__ */ e(((e, t) => {
1194
1177
  return r ? (--r, e = a[r]) : e = t(), e;
1195
1178
  }
1196
1179
  function c(e) {
1197
- r === i && (a = we.double(a), i *= 2), n && n(e), a[r] = e, r += 1;
1180
+ r === i && (a = Se.double(a), i *= 2), n && n(e), a[r] = e, r += 1;
1198
1181
  }
1199
1182
  return o;
1200
1183
  };
1201
- }(), Ee = function() {
1184
+ }(), we = function() {
1202
1185
  function e() {
1203
1186
  return {
1204
1187
  addedLength: 0,
1205
- percents: m("float32", fe()),
1206
- lengths: m("float32", fe())
1188
+ percents: p("float32", ue()),
1189
+ lengths: p("float32", ue())
1207
1190
  };
1208
1191
  }
1209
- return Te(8, e);
1210
- }(), De = function() {
1192
+ return Ce(8, e);
1193
+ }(), Te = function() {
1211
1194
  function e() {
1212
1195
  return {
1213
1196
  lengths: [],
@@ -1216,12 +1199,12 @@ var t = /* @__PURE__ */ e(((e, t) => {
1216
1199
  }
1217
1200
  function t(e) {
1218
1201
  var t, n = e.lengths.length;
1219
- for (t = 0; t < n; t += 1) Ee.release(e.lengths[t]);
1202
+ for (t = 0; t < n; t += 1) we.release(e.lengths[t]);
1220
1203
  e.lengths.length = 0;
1221
1204
  }
1222
- return Te(8, e, t);
1205
+ return Ce(8, e, t);
1223
1206
  }();
1224
- function Oe() {
1207
+ function Ee() {
1225
1208
  var e = Math;
1226
1209
  function t(e, t, n, r, i, a) {
1227
1210
  var o = e * r + t * i + n * a - i * r - a * e - n * t;
@@ -1234,16 +1217,16 @@ var t = /* @__PURE__ */ e(((e, t) => {
1234
1217
  }
1235
1218
  var r = function() {
1236
1219
  return function(e, t, n, r) {
1237
- var i = fe(), a, o, s, c, l, u = 0, d, f = [], p = [], m = Ee.newElement();
1220
+ var i = ue(), a, o, s, c, l, u = 0, d, f = [], p = [], m = we.newElement();
1238
1221
  for (s = n.length, a = 0; a < i; a += 1) {
1239
- for (l = a / (i - 1), d = 0, o = 0; o < s; o += 1) c = S(1 - l, 3) * e[o] + 3 * S(1 - l, 2) * l * n[o] + 3 * (1 - l) * S(l, 2) * r[o] + S(l, 3) * t[o], f[o] = c, p[o] !== null && (d += S(f[o] - p[o], 2)), p[o] = f[o];
1240
- d && (d = C(d), u += d), m.percents[a] = l, m.lengths[a] = u;
1222
+ for (l = a / (i - 1), d = 0, o = 0; o < s; o += 1) c = x(1 - l, 3) * e[o] + 3 * x(1 - l, 2) * l * n[o] + 3 * (1 - l) * x(l, 2) * r[o] + x(l, 3) * t[o], f[o] = c, p[o] !== null && (d += x(f[o] - p[o], 2)), p[o] = f[o];
1223
+ d && (d = S(d), u += d), m.percents[a] = l, m.lengths[a] = u;
1241
1224
  }
1242
1225
  return m.addedLength = u, m;
1243
1226
  };
1244
1227
  }();
1245
1228
  function i(e) {
1246
- var t = De.newElement(), n = e.c, i = e.v, a = e.o, o = e.i, s, c = e._length, l = t.lengths, u = 0;
1229
+ var t = Te.newElement(), n = e.c, i = e.v, a = e.o, o = e.i, s, c = e._length, l = t.lengths, u = 0;
1247
1230
  for (s = 0; s < c - 1; s += 1) l[s] = r(i[s], i[s + 1], a[s], o[s + 1]), u += l[s].addedLength;
1248
1231
  return n && c && (l[s] = r(i[s], i[0], a[s], o[0]), u += l[s].addedLength), t.totalLength = u, t;
1249
1232
  }
@@ -1258,12 +1241,12 @@ var t = /* @__PURE__ */ e(((e, t) => {
1258
1241
  return function(n, r, i, s) {
1259
1242
  var c = (n[0] + "_" + n[1] + "_" + r[0] + "_" + r[1] + "_" + i[0] + "_" + i[1] + "_" + s[0] + "_" + s[1]).replace(/\./g, "p");
1260
1243
  if (!e[c]) {
1261
- var l = fe(), u, d, f, p, m, g = 0, _, v, y = null;
1244
+ var l = ue(), u, d, f, p, h, g = 0, _, v, y = null;
1262
1245
  n.length === 2 && (n[0] !== r[0] || n[1] !== r[1]) && t(n[0], n[1], r[0], r[1], n[0] + i[0], n[1] + i[1]) && t(n[0], n[1], r[0], r[1], r[0] + s[0], r[1] + s[1]) && (l = 2);
1263
1246
  var b = new a(l);
1264
1247
  for (f = i.length, u = 0; u < l; u += 1) {
1265
- for (v = h(f), m = u / (l - 1), _ = 0, d = 0; d < f; d += 1) p = S(1 - m, 3) * n[d] + 3 * S(1 - m, 2) * m * (n[d] + i[d]) + 3 * (1 - m) * S(m, 2) * (r[d] + s[d]) + S(m, 3) * r[d], v[d] = p, y !== null && (_ += S(v[d] - y[d], 2));
1266
- _ = C(_), g += _, b.points[u] = new o(_, v), y = v;
1248
+ for (v = m(f), h = u / (l - 1), _ = 0, d = 0; d < f; d += 1) p = x(1 - h, 3) * n[d] + 3 * x(1 - h, 2) * h * (n[d] + i[d]) + 3 * (1 - h) * x(h, 2) * (r[d] + s[d]) + x(h, 3) * r[d], v[d] = p, y !== null && (_ += x(v[d] - y[d], 2));
1249
+ _ = S(_), g += _, b.points[u] = new o(_, v), y = v;
1267
1250
  }
1268
1251
  b.segmentLength = g, e[c] = b;
1269
1252
  }
@@ -1271,7 +1254,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
1271
1254
  };
1272
1255
  }();
1273
1256
  function c(e, t) {
1274
- var n = t.percents, r = t.lengths, i = n.length, a = w((i - 1) * e), o = e * t.addedLength, s = 0;
1257
+ var n = t.percents, r = t.lengths, i = n.length, a = C((i - 1) * e), o = e * t.addedLength, s = 0;
1275
1258
  if (a === i - 1 || a === 0 || o === r[a]) return n[a];
1276
1259
  for (var c = r[a] > o ? -1 : 1, l = !0; l;) if (r[a] <= o && r[a + 1] > o ? (s = (o - r[a]) / (r[a + 1] - r[a]), l = !1) : a += c, a < 0 || a >= i - 1) {
1277
1260
  if (a === i - 1) return n[a];
@@ -1283,7 +1266,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
1283
1266
  var s = c(a, o), l = 1 - s;
1284
1267
  return [e.round((l * l * l * t[0] + (s * l * l + l * s * l + l * l * s) * r[0] + (s * s * l + l * s * s + s * l * s) * i[0] + s * s * s * n[0]) * 1e3) / 1e3, e.round((l * l * l * t[1] + (s * l * l + l * s * l + l * l * s) * r[1] + (s * s * l + l * s * s + s * l * s) * i[1] + s * s * s * n[1]) * 1e3) / 1e3];
1285
1268
  }
1286
- var u = m("float32", 8);
1269
+ var u = p("float32", 8);
1287
1270
  function d(t, n, r, i, a, o, s) {
1288
1271
  a < 0 ? a = 0 : a > 1 && (a = 1);
1289
1272
  var l = c(a, s);
@@ -1301,10 +1284,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
1301
1284
  pointOnLine3D: n
1302
1285
  };
1303
1286
  }
1304
- var ke = Oe(), Ae = a, je = Math.abs;
1305
- function Me(e, t) {
1287
+ var De = Ee(), Oe = i, ke = Math.abs;
1288
+ function Ae(e, t) {
1306
1289
  var n = this.offsetTime, r;
1307
- this.propType === "multidimensional" && (r = m("float32", this.pv.length));
1290
+ this.propType === "multidimensional" && (r = p("float32", this.pv.length));
1308
1291
  for (var i = t.lastIndex, a = i, o = this.keyframes.length - 1, s = !0, c, l, u; s;) {
1309
1292
  if (c = this.keyframes[a], l = this.keyframes[a + 1], a === o - 1 && e >= l.t - n) {
1310
1293
  c.h && (c = l), i = 0;
@@ -1317,21 +1300,22 @@ var t = /* @__PURE__ */ e(((e, t) => {
1317
1300
  a < o - 1 ? a += 1 : (i = 0, s = !1);
1318
1301
  }
1319
1302
  u = this.keyframesMetadata[a] || {};
1320
- var d, f, p, h, g, _, v = l.t - n, y = c.t - n, b;
1303
+ var d, f, m, h, g, _, v = l.t - n, y = c.t - n, b;
1321
1304
  if (c.to) {
1322
- u.bezierData ||= ke.buildBezierData(c.s, l.s || c.e, c.to, c.ti);
1305
+ u.bezierData || (u.bezierData = De.buildBezierData(c.s, l.s || c.e, c.to, c.ti));
1323
1306
  var x = u.bezierData;
1324
1307
  if (e >= v || e < y) {
1325
1308
  var S = e >= v ? x.points.length - 1 : 0;
1326
1309
  for (f = x.points[S].point.length, d = 0; d < f; d += 1) r[d] = x.points[S].point[d];
1327
1310
  } else {
1328
- u.__fnct ? _ = u.__fnct : (_ = Ce.getBezierEasing(c.o.x, c.o.y, c.i.x, c.i.y, c.n).get, u.__fnct = _), p = _((e - y) / (v - y));
1329
- var C = x.segmentLength * p, w, T = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
1311
+ u.__fnct ? _ = u.__fnct : (_ = xe.getBezierEasing(c.o.x, c.o.y, c.i.x, c.i.y, c.n).get, u.__fnct = _), m = _((e - y) / (v - y));
1312
+ var C = x.segmentLength * m, w, T = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastAddedLength : 0;
1330
1313
  for (g = t.lastFrame < e && t._lastKeyframeIndex === a ? t._lastPoint : 0, s = !0, h = x.points.length; s;) {
1331
- if (T += x.points[g].partialLength, C === 0 || p === 0 || g === x.points.length - 1) {
1314
+ if (T += x.points[g].partialLength, C === 0 || m === 0 || g === x.points.length - 1) {
1332
1315
  for (f = x.points[g].point.length, d = 0; d < f; d += 1) r[d] = x.points[g].point[d];
1333
1316
  break;
1334
- } else if (C >= T && C < T + x.points[g + 1].partialLength) {
1317
+ }
1318
+ if (C >= T && C < T + x.points[g + 1].partialLength) {
1335
1319
  for (w = (C - T) / x.points[g + 1].partialLength, f = x.points[g].point.length, d = 0; d < f; d += 1) r[d] = x.points[g].point[d] + (x.points[g + 1].point[d] - x.points[g].point[d]) * w;
1336
1320
  break;
1337
1321
  }
@@ -1341,26 +1325,27 @@ var t = /* @__PURE__ */ e(((e, t) => {
1341
1325
  }
1342
1326
  } else {
1343
1327
  var E, D, O, k, A;
1344
- if (o = c.s.length, b = l.s || c.e, this.sh && c.h !== 1) if (e >= v) r[0] = b[0], r[1] = b[1], r[2] = b[2];
1345
- else if (e <= y) r[0] = c.s[0], r[1] = c.s[1], r[2] = c.s[2];
1346
- else {
1347
- var j = Fe(c.s), M = Fe(b), N = (e - y) / (v - y);
1348
- Pe(r, Ne(j, M, N));
1349
- }
1350
- else for (a = 0; a < o; a += 1) c.h !== 1 && (e >= v ? p = 1 : e < y ? p = 0 : (c.o.x.constructor === Array ? (u.__fnct ||= [], u.__fnct[a] ? _ = u.__fnct[a] : (E = c.o.x[a] === void 0 ? c.o.x[0] : c.o.x[a], D = c.o.y[a] === void 0 ? c.o.y[0] : c.o.y[a], O = c.i.x[a] === void 0 ? c.i.x[0] : c.i.x[a], k = c.i.y[a] === void 0 ? c.i.y[0] : c.i.y[a], _ = Ce.getBezierEasing(E, D, O, k).get, u.__fnct[a] = _)) : u.__fnct ? _ = u.__fnct : (E = c.o.x, D = c.o.y, O = c.i.x, k = c.i.y, _ = Ce.getBezierEasing(E, D, O, k).get, c.keyframeMetadata = _), p = _((e - y) / (v - y)))), b = l.s || c.e, A = c.h === 1 ? c.s[a] : c.s[a] + (b[a] - c.s[a]) * p, this.propType === "multidimensional" ? r[a] = A : r = A;
1328
+ if (o = c.s.length, b = l.s || c.e, this.sh && c.h !== 1) {
1329
+ if (e >= v) r[0] = b[0], r[1] = b[1], r[2] = b[2];
1330
+ else if (e <= y) r[0] = c.s[0], r[1] = c.s[1], r[2] = c.s[2];
1331
+ else {
1332
+ var j = Ne(c.s), M = Ne(b), N = (e - y) / (v - y);
1333
+ Me(r, je(j, M, N));
1334
+ }
1335
+ } else for (a = 0; a < o; a += 1) c.h !== 1 && (e >= v ? m = 1 : e < y ? m = 0 : (c.o.x.constructor === Array ? (u.__fnct || (u.__fnct = []), u.__fnct[a] ? _ = u.__fnct[a] : (E = c.o.x[a] === void 0 ? c.o.x[0] : c.o.x[a], D = c.o.y[a] === void 0 ? c.o.y[0] : c.o.y[a], O = c.i.x[a] === void 0 ? c.i.x[0] : c.i.x[a], k = c.i.y[a] === void 0 ? c.i.y[0] : c.i.y[a], _ = xe.getBezierEasing(E, D, O, k).get, u.__fnct[a] = _)) : u.__fnct ? _ = u.__fnct : (E = c.o.x, D = c.o.y, O = c.i.x, k = c.i.y, _ = xe.getBezierEasing(E, D, O, k).get, c.keyframeMetadata = _), m = _((e - y) / (v - y)))), b = l.s || c.e, A = c.h === 1 ? c.s[a] : c.s[a] + (b[a] - c.s[a]) * m, this.propType === "multidimensional" ? r[a] = A : r = A;
1351
1336
  }
1352
1337
  return t.lastIndex = i, r;
1353
1338
  }
1354
- function Ne(e, t, n) {
1339
+ function je(e, t, n) {
1355
1340
  var r = [], i = e[0], a = e[1], o = e[2], s = e[3], c = t[0], l = t[1], u = t[2], d = t[3], f, p = i * c + a * l + o * u + s * d, m, h, g;
1356
1341
  return p < 0 && (p = -p, c = -c, l = -l, u = -u, d = -d), 1 - p > 1e-6 ? (f = Math.acos(p), m = Math.sin(f), h = Math.sin((1 - n) * f) / m, g = Math.sin(n * f) / m) : (h = 1 - n, g = n), r[0] = h * i + g * c, r[1] = h * a + g * l, r[2] = h * o + g * u, r[3] = h * s + g * d, r;
1357
1342
  }
1358
- function Pe(e, t) {
1343
+ function Me(e, t) {
1359
1344
  var n = t[0], r = t[1], i = t[2], a = t[3], o = Math.atan2(2 * r * a - 2 * n * i, 1 - 2 * r * r - 2 * i * i), s = Math.asin(2 * n * r + 2 * i * a), c = Math.atan2(2 * n * a - 2 * r * i, 1 - 2 * n * n - 2 * i * i);
1360
- e[0] = o / O, e[1] = s / O, e[2] = c / O;
1345
+ e[0] = o / D, e[1] = s / D, e[2] = c / D;
1361
1346
  }
1362
- function Fe(e) {
1363
- var t = e[0] * O, n = e[1] * O, r = e[2] * O, i = Math.cos(t / 2), a = Math.cos(n / 2), o = Math.cos(r / 2), s = Math.sin(t / 2), c = Math.sin(n / 2), l = Math.sin(r / 2), u = i * a * o - s * c * l;
1347
+ function Ne(e) {
1348
+ var t = e[0] * D, n = e[1] * D, r = e[2] * D, i = Math.cos(t / 2), a = Math.cos(n / 2), o = Math.cos(r / 2), s = Math.sin(t / 2), c = Math.sin(n / 2), l = Math.sin(r / 2), u = i * a * o - s * c * l;
1364
1349
  return [
1365
1350
  s * c * o + i * a * l,
1366
1351
  s * a * o + i * c * l,
@@ -1368,86 +1353,82 @@ var t = /* @__PURE__ */ e(((e, t) => {
1368
1353
  u
1369
1354
  ];
1370
1355
  }
1371
- function Ie() {
1356
+ function Pe() {
1372
1357
  var e = this.comp.renderedFrame - this.offsetTime, t = this.keyframes[0].t - this.offsetTime, n = this.keyframes[this.keyframes.length - 1].t - this.offsetTime;
1373
- if (!(e === this._caching.lastFrame || this._caching.lastFrame !== Ae && (this._caching.lastFrame >= n && e >= n || this._caching.lastFrame < t && e < t))) {
1358
+ if (!(e === this._caching.lastFrame || this._caching.lastFrame !== Oe && (this._caching.lastFrame >= n && e >= n || this._caching.lastFrame < t && e < t))) {
1374
1359
  this._caching.lastFrame >= e && (this._caching._lastKeyframeIndex = -1, this._caching.lastIndex = 0);
1375
1360
  var r = this.interpolateValue(e, this._caching);
1376
1361
  this.pv = r;
1377
1362
  }
1378
1363
  return this._caching.lastFrame = e, this.pv;
1379
1364
  }
1380
- function Le(e) {
1365
+ function Fe(e) {
1381
1366
  var t;
1382
- if (this.propType === "unidimensional") t = e * this.mult, je(this.v - t) > 1e-5 && (this.v = t, this._mdf = !0);
1383
- else for (var n = 0, r = this.v.length; n < r;) t = e[n] * this.mult, je(this.v[n] - t) > 1e-5 && (this.v[n] = t, this._mdf = !0), n += 1;
1367
+ if (this.propType === "unidimensional") t = e * this.mult, ke(this.v - t) > 1e-5 && (this.v = t, this._mdf = !0);
1368
+ else for (var n = 0, r = this.v.length; n < r;) t = e[n] * this.mult, ke(this.v[n] - t) > 1e-5 && (this.v[n] = t, this._mdf = !0), n += 1;
1384
1369
  }
1385
- function Re() {
1386
- if (!(this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length)) {
1387
- if (this.lock) {
1388
- this.setVValue(this.pv);
1389
- return;
1370
+ function Ie() {
1371
+ if (this.elem.globalData.frameId !== this.frameId && this.effectsSequence.length) {
1372
+ if (this.lock) this.setVValue(this.pv);
1373
+ else {
1374
+ this.lock = !0, this._mdf = this._isFirstFrame;
1375
+ var e, t = this.effectsSequence.length, n = this.kf ? this.pv : this.data.k;
1376
+ for (e = 0; e < t; e += 1) n = this.effectsSequence[e](n);
1377
+ this.setVValue(n), this._isFirstFrame = !1, this.lock = !1, this.frameId = this.elem.globalData.frameId;
1390
1378
  }
1391
- this.lock = !0, this._mdf = this._isFirstFrame;
1392
- var e, t = this.effectsSequence.length, n = this.kf ? this.pv : this.data.k;
1393
- for (e = 0; e < t; e += 1) n = this.effectsSequence[e](n);
1394
- this.setVValue(n), this._isFirstFrame = !1, this.lock = !1, this.frameId = this.elem.globalData.frameId;
1395
1379
  }
1396
1380
  }
1397
- function ze(e) {
1381
+ function Le(e) {
1398
1382
  this.effectsSequence.push(e), this.container.addDynamicProperty(this);
1399
1383
  }
1400
- function Be(e, t, n, r) {
1401
- this.propType = "unidimensional", this.mult = n || 1, this.data = t, this.v = n ? t.k * n : t.k, this.pv = t.k, this._mdf = !1, this.elem = e, this.container = r, this.comp = e.comp, this.k = !1, this.kf = !1, this.vel = 0, this.effectsSequence = [], this._isFirstFrame = !0, this.getValue = Re, this.setVValue = Le, this.addEffect = ze;
1384
+ function Re(e, t, n, r) {
1385
+ this.propType = "unidimensional", this.mult = n || 1, this.data = t, this.v = n ? t.k * n : t.k, this.pv = t.k, this._mdf = !1, this.elem = e, this.container = r, this.comp = e.comp, this.k = !1, this.kf = !1, this.vel = 0, this.effectsSequence = [], this._isFirstFrame = !0, this.getValue = Ie, this.setVValue = Fe, this.addEffect = Le;
1402
1386
  }
1403
- function Ve(e, t, n, r) {
1387
+ function ze(e, t, n, r) {
1404
1388
  this.propType = "multidimensional", this.mult = n || 1, this.data = t, this._mdf = !1, this.elem = e, this.container = r, this.comp = e.comp, this.k = !1, this.kf = !1, this.frameId = -1;
1405
1389
  var i, a = t.k.length;
1406
- for (this.v = m("float32", a), this.pv = m("float32", a), this.vel = m("float32", a), i = 0; i < a; i += 1) this.v[i] = t.k[i] * this.mult, this.pv[i] = t.k[i];
1407
- this._isFirstFrame = !0, this.effectsSequence = [], this.getValue = Re, this.setVValue = Le, this.addEffect = ze;
1390
+ for (this.v = p("float32", a), this.pv = p("float32", a), this.vel = p("float32", a), i = 0; i < a; i += 1) this.v[i] = t.k[i] * this.mult, this.pv[i] = t.k[i];
1391
+ this._isFirstFrame = !0, this.effectsSequence = [], this.getValue = Ie, this.setVValue = Fe, this.addEffect = Le;
1408
1392
  }
1409
- function He(e, t, n, r) {
1393
+ function Be(e, t, n, r) {
1410
1394
  this.propType = "unidimensional", this.keyframes = t.k, this.keyframesMetadata = [], this.offsetTime = e.data.st, this.frameId = -1, this._caching = {
1411
- lastFrame: Ae,
1395
+ lastFrame: Oe,
1412
1396
  lastIndex: 0,
1413
1397
  value: 0,
1414
1398
  _lastKeyframeIndex: -1
1415
- }, this.k = !0, this.kf = !0, this.data = t, this.mult = n || 1, this.elem = e, this.container = r, this.comp = e.comp, this.v = Ae, this.pv = Ae, this._isFirstFrame = !0, this.getValue = Re, this.setVValue = Le, this.interpolateValue = Me, this.effectsSequence = [Ie.bind(this)], this.addEffect = ze;
1399
+ }, this.k = !0, this.kf = !0, this.data = t, this.mult = n || 1, this.elem = e, this.container = r, this.comp = e.comp, this.v = Oe, this.pv = Oe, this._isFirstFrame = !0, this.getValue = Ie, this.setVValue = Fe, this.interpolateValue = Ae, this.effectsSequence = [Pe.bind(this)], this.addEffect = Le;
1416
1400
  }
1417
- function Ue(e, t, n, r) {
1401
+ function Ve(e, t, n, r) {
1418
1402
  this.propType = "multidimensional";
1419
1403
  var i, a = t.k.length, o, s, c, l;
1420
- for (i = 0; i < a - 1; i += 1) t.k[i].to && t.k[i].s && t.k[i + 1] && t.k[i + 1].s && (o = t.k[i].s, s = t.k[i + 1].s, c = t.k[i].to, l = t.k[i].ti, (o.length === 2 && !(o[0] === s[0] && o[1] === s[1]) && ke.pointOnLine2D(o[0], o[1], s[0], s[1], o[0] + c[0], o[1] + c[1]) && ke.pointOnLine2D(o[0], o[1], s[0], s[1], s[0] + l[0], s[1] + l[1]) || o.length === 3 && !(o[0] === s[0] && o[1] === s[1] && o[2] === s[2]) && ke.pointOnLine3D(o[0], o[1], o[2], s[0], s[1], s[2], o[0] + c[0], o[1] + c[1], o[2] + c[2]) && ke.pointOnLine3D(o[0], o[1], o[2], s[0], s[1], s[2], s[0] + l[0], s[1] + l[1], s[2] + l[2])) && (t.k[i].to = null, t.k[i].ti = null), o[0] === s[0] && o[1] === s[1] && c[0] === 0 && c[1] === 0 && l[0] === 0 && l[1] === 0 && (o.length === 2 || o[2] === s[2] && c[2] === 0 && l[2] === 0) && (t.k[i].to = null, t.k[i].ti = null));
1421
- this.effectsSequence = [Ie.bind(this)], this.data = t, this.keyframes = t.k, this.keyframesMetadata = [], this.offsetTime = e.data.st, this.k = !0, this.kf = !0, this._isFirstFrame = !0, this.mult = n || 1, this.elem = e, this.container = r, this.comp = e.comp, this.getValue = Re, this.setVValue = Le, this.interpolateValue = Me, this.frameId = -1;
1404
+ for (i = 0; i < a - 1; i += 1) t.k[i].to && t.k[i].s && t.k[i + 1] && t.k[i + 1].s && (o = t.k[i].s, s = t.k[i + 1].s, c = t.k[i].to, l = t.k[i].ti, (o.length === 2 && (o[0] !== s[0] || o[1] !== s[1]) && De.pointOnLine2D(o[0], o[1], s[0], s[1], o[0] + c[0], o[1] + c[1]) && De.pointOnLine2D(o[0], o[1], s[0], s[1], s[0] + l[0], s[1] + l[1]) || o.length === 3 && (o[0] !== s[0] || o[1] !== s[1] || o[2] !== s[2]) && De.pointOnLine3D(o[0], o[1], o[2], s[0], s[1], s[2], o[0] + c[0], o[1] + c[1], o[2] + c[2]) && De.pointOnLine3D(o[0], o[1], o[2], s[0], s[1], s[2], s[0] + l[0], s[1] + l[1], s[2] + l[2])) && (t.k[i].to = null, t.k[i].ti = null), o[0] === s[0] && o[1] === s[1] && c[0] === 0 && c[1] === 0 && l[0] === 0 && l[1] === 0 && (o.length === 2 || o[2] === s[2] && c[2] === 0 && l[2] === 0) && (t.k[i].to = null, t.k[i].ti = null));
1405
+ this.effectsSequence = [Pe.bind(this)], this.data = t, this.keyframes = t.k, this.keyframesMetadata = [], this.offsetTime = e.data.st, this.k = !0, this.kf = !0, this._isFirstFrame = !0, this.mult = n || 1, this.elem = e, this.container = r, this.comp = e.comp, this.getValue = Ie, this.setVValue = Fe, this.interpolateValue = Ae, this.frameId = -1;
1422
1406
  var u = t.k[0].s.length;
1423
- for (this.v = m("float32", u), this.pv = m("float32", u), i = 0; i < u; i += 1) this.v[i] = Ae, this.pv[i] = Ae;
1407
+ for (this.v = p("float32", u), this.pv = p("float32", u), i = 0; i < u; i += 1) this.v[i] = Oe, this.pv[i] = Oe;
1424
1408
  this._caching = {
1425
- lastFrame: Ae,
1409
+ lastFrame: Oe,
1426
1410
  lastIndex: 0,
1427
- value: m("float32", u)
1428
- }, this.addEffect = ze;
1411
+ value: p("float32", u)
1412
+ }, this.addEffect = Le;
1429
1413
  }
1430
- var H = function() {
1414
+ var U = function() {
1431
1415
  function e(e, t, n, r, i) {
1432
1416
  t.sid && (t = e.globalData.slotManager.getProp(t));
1433
1417
  var a;
1434
- if (!t.k.length) a = new Be(e, t, r, i);
1435
- else if (typeof t.k[0] == "number") a = new Ve(e, t, r, i);
1418
+ if (!t.k.length) a = new Re(e, t, r, i);
1419
+ else if (typeof t.k[0] == "number") a = new ze(e, t, r, i);
1436
1420
  else switch (n) {
1437
1421
  case 0:
1438
- a = new He(e, t, r, i);
1422
+ a = new Be(e, t, r, i);
1439
1423
  break;
1440
- case 1:
1441
- a = new Ue(e, t, r, i);
1442
- break;
1443
- default: break;
1424
+ case 1: a = new Ve(e, t, r, i);
1444
1425
  }
1445
1426
  return a.effectsSequence.length && i.addDynamicProperty(a), a;
1446
1427
  }
1447
1428
  return { getProp: e };
1448
1429
  }();
1449
- function U() {}
1450
- U.prototype = {
1430
+ function W() {}
1431
+ W.prototype = {
1451
1432
  addDynamicProperty: function(e) {
1452
1433
  this.dynamicProperties.indexOf(e) === -1 && (this.dynamicProperties.push(e), this.container.addDynamicProperty(this), this._isAnimated = !0);
1453
1434
  },
@@ -1460,24 +1441,24 @@ var t = /* @__PURE__ */ e(((e, t) => {
1460
1441
  this.container = e, this.dynamicProperties = [], this._mdf = !1, this._isAnimated = !1;
1461
1442
  }
1462
1443
  };
1463
- var We = function() {
1444
+ var He = function() {
1464
1445
  function e() {
1465
- return m("float32", 2);
1446
+ return p("float32", 2);
1466
1447
  }
1467
- return Te(8, e);
1448
+ return Ce(8, e);
1468
1449
  }();
1469
- function Ge() {
1470
- this.c = !1, this._length = 0, this._maxLength = 8, this.v = h(this._maxLength), this.o = h(this._maxLength), this.i = h(this._maxLength);
1450
+ function Ue() {
1451
+ this.c = !1, this._length = 0, this._maxLength = 8, this.v = m(this._maxLength), this.o = m(this._maxLength), this.i = m(this._maxLength);
1471
1452
  }
1472
- Ge.prototype.setPathData = function(e, t) {
1453
+ Ue.prototype.setPathData = function(e, t) {
1473
1454
  this.c = e, this.setLength(t);
1474
- for (var n = 0; n < t;) this.v[n] = We.newElement(), this.o[n] = We.newElement(), this.i[n] = We.newElement(), n += 1;
1475
- }, Ge.prototype.setLength = function(e) {
1455
+ for (var n = 0; n < t;) this.v[n] = He.newElement(), this.o[n] = He.newElement(), this.i[n] = He.newElement(), n += 1;
1456
+ }, Ue.prototype.setLength = function(e) {
1476
1457
  for (; this._maxLength < e;) this.doubleArrayLength();
1477
1458
  this._length = e;
1478
- }, Ge.prototype.doubleArrayLength = function() {
1479
- this.v = this.v.concat(h(this._maxLength)), this.i = this.i.concat(h(this._maxLength)), this.o = this.o.concat(h(this._maxLength)), this._maxLength *= 2;
1480
- }, Ge.prototype.setXYAt = function(e, t, n, r, i) {
1459
+ }, Ue.prototype.doubleArrayLength = function() {
1460
+ this.v = this.v.concat(m(this._maxLength)), this.i = this.i.concat(m(this._maxLength)), this.o = this.o.concat(m(this._maxLength)), this._maxLength *= 2;
1461
+ }, Ue.prototype.setXYAt = function(e, t, n, r, i) {
1481
1462
  var a;
1482
1463
  switch (this._length = Math.max(this._length, r + 1), this._length >= this._maxLength && this.doubleArrayLength(), n) {
1483
1464
  case "v":
@@ -1489,31 +1470,27 @@ var t = /* @__PURE__ */ e(((e, t) => {
1489
1470
  case "o":
1490
1471
  a = this.o;
1491
1472
  break;
1492
- default:
1493
- a = [];
1494
- break;
1473
+ default: a = [];
1495
1474
  }
1496
- (!a[r] || a[r] && !i) && (a[r] = We.newElement()), a[r][0] = e, a[r][1] = t;
1497
- }, Ge.prototype.setTripleAt = function(e, t, n, r, i, a, o, s) {
1475
+ (!a[r] || a[r] && !i) && (a[r] = He.newElement()), a[r][0] = e, a[r][1] = t;
1476
+ }, Ue.prototype.setTripleAt = function(e, t, n, r, i, a, o, s) {
1498
1477
  this.setXYAt(e, t, "v", o, s), this.setXYAt(n, r, "o", o, s), this.setXYAt(i, a, "i", o, s);
1499
- }, Ge.prototype.reverse = function() {
1500
- var e = new Ge();
1478
+ }, Ue.prototype.reverse = function() {
1479
+ var e = new Ue();
1501
1480
  e.setPathData(this.c, this._length);
1502
1481
  var t = this.v, n = this.o, r = this.i, i = 0;
1503
1482
  this.c && (e.setTripleAt(t[0][0], t[0][1], r[0][0], r[0][1], n[0][0], n[0][1], 0, !1), i = 1);
1504
- var a = this._length - 1, o = this._length, s;
1505
- for (s = i; s < o; s += 1) e.setTripleAt(t[a][0], t[a][1], r[a][0], r[a][1], n[a][0], n[a][1], s, !1), --a;
1483
+ for (var a = this._length - 1, o = this._length, s = i; s < o; s += 1) e.setTripleAt(t[a][0], t[a][1], r[a][0], r[a][1], n[a][0], n[a][1], s, !1), --a;
1506
1484
  return e;
1507
- }, Ge.prototype.length = function() {
1485
+ }, Ue.prototype.length = function() {
1508
1486
  return this._length;
1509
1487
  };
1510
- var W = function() {
1488
+ var G = function() {
1511
1489
  function e() {
1512
- return new Ge();
1490
+ return new Ue();
1513
1491
  }
1514
1492
  function t(e) {
1515
- var t = e._length, n;
1516
- for (n = 0; n < t; n += 1) We.release(e.v[n]), We.release(e.i[n]), We.release(e.o[n]), e.v[n] = null, e.i[n] = null, e.o[n] = null;
1493
+ for (var t = e._length, n = 0; n < t; n += 1) He.release(e.v[n]), He.release(e.i[n]), He.release(e.o[n]), e.v[n] = null, e.i[n] = null, e.o[n] = null;
1517
1494
  e._length = 0, e.c = !1;
1518
1495
  }
1519
1496
  function n(e) {
@@ -1521,35 +1498,34 @@ var t = /* @__PURE__ */ e(((e, t) => {
1521
1498
  for (t.setLength(i), t.c = e.c, n = 0; n < i; n += 1) t.setTripleAt(e.v[n][0], e.v[n][1], e.o[n][0], e.o[n][1], e.i[n][0], e.i[n][1], n);
1522
1499
  return t;
1523
1500
  }
1524
- var r = Te(4, e, t);
1501
+ var r = Ce(4, e, t);
1525
1502
  return r.clone = n, r;
1526
1503
  }();
1527
- function Ke() {
1528
- this._length = 0, this._maxLength = 4, this.shapes = h(this._maxLength);
1504
+ function We() {
1505
+ this._length = 0, this._maxLength = 4, this.shapes = m(this._maxLength);
1529
1506
  }
1530
- Ke.prototype.addShape = function(e) {
1531
- this._length === this._maxLength && (this.shapes = this.shapes.concat(h(this._maxLength)), this._maxLength *= 2), this.shapes[this._length] = e, this._length += 1;
1532
- }, Ke.prototype.releaseShapes = function() {
1533
- var e;
1534
- for (e = 0; e < this._length; e += 1) W.release(this.shapes[e]);
1507
+ We.prototype.addShape = function(e) {
1508
+ this._length === this._maxLength && (this.shapes = this.shapes.concat(m(this._maxLength)), this._maxLength *= 2), this.shapes[this._length] = e, this._length += 1;
1509
+ }, We.prototype.releaseShapes = function() {
1510
+ for (var e = 0; e < this._length; e += 1) G.release(this.shapes[e]);
1535
1511
  this._length = 0;
1536
1512
  };
1537
- var qe = function() {
1513
+ var Ge = function() {
1538
1514
  var e = {
1539
1515
  newShapeCollection: i,
1540
1516
  release: a
1541
- }, t = 0, n = 4, r = h(n);
1517
+ }, t = 0, n = 4, r = m(n);
1542
1518
  function i() {
1543
1519
  var e;
1544
- return t ? (--t, e = r[t]) : e = new Ke(), e;
1520
+ return t ? (--t, e = r[t]) : e = new We(), e;
1545
1521
  }
1546
1522
  function a(e) {
1547
1523
  var i, a = e._length;
1548
- for (i = 0; i < a; i += 1) W.release(e.shapes[i]);
1549
- e._length = 0, t === n && (r = we.double(r), n *= 2), r[t] = e, t += 1;
1524
+ for (i = 0; i < a; i += 1) G.release(e.shapes[i]);
1525
+ e._length = 0, t === n && (r = Se.double(r), n *= 2), r[t] = e, t += 1;
1550
1526
  }
1551
1527
  return e;
1552
- }(), Je = function() {
1528
+ }(), Ke = function() {
1553
1529
  var e = -999999;
1554
1530
  function t(e, t, n) {
1555
1531
  var r = n.lastIndex, i, a, o, s, c, l, u, d, f, p = this.keyframes;
@@ -1562,7 +1538,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
1562
1538
  else if (e < _.t - this.offsetTime) d = 0;
1563
1539
  else {
1564
1540
  var b;
1565
- y.__fnct ? b = y.__fnct : (b = Ce.getBezierEasing(_.o.x, _.o.y, _.i.x, _.i.y).get, y.__fnct = b), d = b((e - (_.t - this.offsetTime)) / (v.t - this.offsetTime - (_.t - this.offsetTime)));
1541
+ y.__fnct ? b = y.__fnct : (b = xe.getBezierEasing(_.o.x, _.o.y, _.i.x, _.i.y).get, y.__fnct = b), d = b((e - (_.t - this.offsetTime)) / (v.t - this.offsetTime - (_.t - this.offsetTime)));
1566
1542
  }
1567
1543
  a = v.s ? v.s[0] : _.e[0];
1568
1544
  }
@@ -1584,28 +1560,24 @@ var t = /* @__PURE__ */ e(((e, t) => {
1584
1560
  return !0;
1585
1561
  }
1586
1562
  function a(e) {
1587
- i(this.v, e) || (this.v = W.clone(e), this.localShapeCollection.releaseShapes(), this.localShapeCollection.addShape(this.v), this._mdf = !0, this.paths = this.localShapeCollection);
1563
+ i(this.v, e) || (this.v = G.clone(e), this.localShapeCollection.releaseShapes(), this.localShapeCollection.addShape(this.v), this._mdf = !0, this.paths = this.localShapeCollection);
1588
1564
  }
1589
1565
  function o() {
1590
1566
  if (this.elem.globalData.frameId !== this.frameId) {
1591
- if (!this.effectsSequence.length) {
1592
- this._mdf = !1;
1593
- return;
1594
- }
1595
- if (this.lock) {
1596
- this.setVValue(this.pv);
1597
- return;
1567
+ if (!this.effectsSequence.length) this._mdf = !1;
1568
+ else if (this.lock) this.setVValue(this.pv);
1569
+ else {
1570
+ this.lock = !0, this._mdf = !1;
1571
+ var e = this.kf ? this.pv : this.data.ks ? this.data.ks.k : this.data.pt.k, t, n = this.effectsSequence.length;
1572
+ for (t = 0; t < n; t += 1) e = this.effectsSequence[t](e);
1573
+ this.setVValue(e), this.lock = !1, this.frameId = this.elem.globalData.frameId;
1598
1574
  }
1599
- this.lock = !0, this._mdf = !1;
1600
- var e = this.kf ? this.pv : this.data.ks ? this.data.ks.k : this.data.pt.k, t, n = this.effectsSequence.length;
1601
- for (t = 0; t < n; t += 1) e = this.effectsSequence[t](e);
1602
- this.setVValue(e), this.lock = !1, this.frameId = this.elem.globalData.frameId;
1603
1575
  }
1604
1576
  }
1605
1577
  function s(e, t, n) {
1606
1578
  this.propType = "shape", this.comp = e.comp, this.container = e, this.elem = e, this.data = t, this.k = !1, this.kf = !1, this._mdf = !1;
1607
1579
  var i = n === 3 ? t.pt.k : t.ks.k;
1608
- this.v = W.clone(i), this.pv = W.clone(this.v), this.localShapeCollection = qe.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = r, this.effectsSequence = [];
1580
+ this.v = G.clone(i), this.pv = G.clone(this.v), this.localShapeCollection = Ge.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.reset = r, this.effectsSequence = [];
1609
1581
  }
1610
1582
  function c(e) {
1611
1583
  this.effectsSequence.push(e), this.container.addDynamicProperty(this);
@@ -1614,16 +1586,16 @@ var t = /* @__PURE__ */ e(((e, t) => {
1614
1586
  function l(t, i, a) {
1615
1587
  this.propType = "shape", this.comp = t.comp, this.elem = t, this.container = t, this.offsetTime = t.data.st, this.keyframes = a === 3 ? i.pt.k : i.ks.k, this.keyframesMetadata = [], this.k = !0, this.kf = !0;
1616
1588
  var o = this.keyframes[0].s[0].i.length;
1617
- this.v = W.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, o), this.pv = W.clone(this.v), this.localShapeCollection = qe.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = e, this.reset = r, this._caching = {
1589
+ this.v = G.newElement(), this.v.setPathData(this.keyframes[0].s[0].c, o), this.pv = G.clone(this.v), this.localShapeCollection = Ge.newShapeCollection(), this.paths = this.localShapeCollection, this.paths.addShape(this.v), this.lastFrame = e, this.reset = r, this._caching = {
1618
1590
  lastFrame: e,
1619
1591
  lastIndex: 0
1620
1592
  }, this.effectsSequence = [n.bind(this)];
1621
1593
  }
1622
1594
  l.prototype.getValue = o, l.prototype.interpolateShape = t, l.prototype.setVValue = a, l.prototype.addEffect = c;
1623
- var u = function() {
1624
- var e = k;
1595
+ var d = function() {
1596
+ var e = O;
1625
1597
  function t(e, t) {
1626
- this.v = W.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = qe.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = t.d, this.elem = e, this.comp = e.comp, this.frameId = -1, this.initDynamicPropertyContainer(e), this.p = H.getProp(e, t.p, 1, 0, this), this.s = H.getProp(e, t.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
1598
+ this.v = G.newElement(), this.v.setPathData(!0, 4), this.localShapeCollection = Ge.newShapeCollection(), this.paths = this.localShapeCollection, this.localShapeCollection.addShape(this.v), this.d = t.d, this.elem = e, this.comp = e.comp, this.frameId = -1, this.initDynamicPropertyContainer(e), this.p = U.getProp(e, t.p, 1, 0, this), this.s = U.getProp(e, t.s, 1, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertEllToPath());
1627
1599
  }
1628
1600
  return t.prototype = {
1629
1601
  reset: r,
@@ -1634,10 +1606,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
1634
1606
  var t = this.p.v[0], n = this.p.v[1], r = this.s.v[0] / 2, i = this.s.v[1] / 2, a = this.d !== 3, o = this.v;
1635
1607
  o.v[0][0] = t, o.v[0][1] = n - i, o.v[1][0] = a ? t + r : t - r, o.v[1][1] = n, o.v[2][0] = t, o.v[2][1] = n + i, o.v[3][0] = a ? t - r : t + r, o.v[3][1] = n, o.i[0][0] = a ? t - r * e : t + r * e, o.i[0][1] = n - i, o.i[1][0] = a ? t + r : t - r, o.i[1][1] = n - i * e, o.i[2][0] = a ? t + r * e : t - r * e, o.i[2][1] = n + i, o.i[3][0] = a ? t - r : t + r, o.i[3][1] = n + i * e, o.o[0][0] = a ? t + r * e : t - r * e, o.o[0][1] = n - i, o.o[1][0] = a ? t + r : t - r, o.o[1][1] = n + i * e, o.o[2][0] = a ? t - r * e : t + r * e, o.o[2][1] = n + i, o.o[3][0] = a ? t - r : t + r, o.o[3][1] = n - i * e;
1636
1608
  }
1637
- }, d([U], t), t;
1609
+ }, u([W], t), t;
1638
1610
  }(), f = function() {
1639
1611
  function e(e, t) {
1640
- this.v = W.newElement(), this.v.setPathData(!0, 0), this.elem = e, this.comp = e.comp, this.data = t, this.frameId = -1, this.d = t.d, this.initDynamicPropertyContainer(e), t.sy === 1 ? (this.ir = H.getProp(e, t.ir, 0, 0, this), this.is = H.getProp(e, t.is, 0, .01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = H.getProp(e, t.pt, 0, 0, this), this.p = H.getProp(e, t.p, 1, 0, this), this.r = H.getProp(e, t.r, 0, O, this), this.or = H.getProp(e, t.or, 0, 0, this), this.os = H.getProp(e, t.os, 0, .01, this), this.localShapeCollection = qe.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
1612
+ this.v = G.newElement(), this.v.setPathData(!0, 0), this.elem = e, this.comp = e.comp, this.data = t, this.frameId = -1, this.d = t.d, this.initDynamicPropertyContainer(e), t.sy === 1 ? (this.ir = U.getProp(e, t.ir, 0, 0, this), this.is = U.getProp(e, t.is, 0, .01, this), this.convertToPath = this.convertStarToPath) : this.convertToPath = this.convertPolygonToPath, this.pt = U.getProp(e, t.pt, 0, 0, this), this.p = U.getProp(e, t.p, 1, 0, this), this.r = U.getProp(e, t.r, 0, D, this), this.or = U.getProp(e, t.or, 0, 0, this), this.os = U.getProp(e, t.os, 0, .01, this), this.localShapeCollection = Ge.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertToPath());
1641
1613
  }
1642
1614
  return e.prototype = {
1643
1615
  reset: r,
@@ -1662,25 +1634,25 @@ var t = /* @__PURE__ */ e(((e, t) => {
1662
1634
  }
1663
1635
  this.paths.length = 0, this.paths[0] = this.v;
1664
1636
  }
1665
- }, d([U], e), e;
1637
+ }, u([W], e), e;
1666
1638
  }(), p = function() {
1667
1639
  function e(e, t) {
1668
- this.v = W.newElement(), this.v.c = !0, this.localShapeCollection = qe.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = e, this.comp = e.comp, this.frameId = -1, this.d = t.d, this.initDynamicPropertyContainer(e), this.p = H.getProp(e, t.p, 1, 0, this), this.s = H.getProp(e, t.s, 1, 0, this), this.r = H.getProp(e, t.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
1640
+ this.v = G.newElement(), this.v.c = !0, this.localShapeCollection = Ge.newShapeCollection(), this.localShapeCollection.addShape(this.v), this.paths = this.localShapeCollection, this.elem = e, this.comp = e.comp, this.frameId = -1, this.d = t.d, this.initDynamicPropertyContainer(e), this.p = U.getProp(e, t.p, 1, 0, this), this.s = U.getProp(e, t.s, 1, 0, this), this.r = U.getProp(e, t.r, 0, 0, this), this.dynamicProperties.length ? this.k = !0 : (this.k = !1, this.convertRectToPath());
1669
1641
  }
1670
1642
  return e.prototype = {
1671
1643
  convertRectToPath: function() {
1672
- var e = this.p.v[0], t = this.p.v[1], n = this.s.v[0] / 2, r = this.s.v[1] / 2, i = T(n, r, this.r.v), a = i * (1 - k);
1644
+ var e = this.p.v[0], t = this.p.v[1], n = this.s.v[0] / 2, r = this.s.v[1] / 2, i = w(n, r, this.r.v), a = i * (1 - O);
1673
1645
  this.v._length = 0, this.d === 2 || this.d === 1 ? (this.v.setTripleAt(e + n, t - r + i, e + n, t - r + i, e + n, t - r + a, 0, !0), this.v.setTripleAt(e + n, t + r - i, e + n, t + r - a, e + n, t + r - i, 1, !0), i === 0 ? (this.v.setTripleAt(e - n, t + r, e - n + a, t + r, e - n, t + r, 2), this.v.setTripleAt(e - n, t - r, e - n, t - r + a, e - n, t - r, 3)) : (this.v.setTripleAt(e + n - i, t + r, e + n - i, t + r, e + n - a, t + r, 2, !0), this.v.setTripleAt(e - n + i, t + r, e - n + a, t + r, e - n + i, t + r, 3, !0), this.v.setTripleAt(e - n, t + r - i, e - n, t + r - i, e - n, t + r - a, 4, !0), this.v.setTripleAt(e - n, t - r + i, e - n, t - r + a, e - n, t - r + i, 5, !0), this.v.setTripleAt(e - n + i, t - r, e - n + i, t - r, e - n + a, t - r, 6, !0), this.v.setTripleAt(e + n - i, t - r, e + n - a, t - r, e + n - i, t - r, 7, !0))) : (this.v.setTripleAt(e + n, t - r + i, e + n, t - r + a, e + n, t - r + i, 0, !0), i === 0 ? (this.v.setTripleAt(e - n, t - r, e - n + a, t - r, e - n, t - r, 1, !0), this.v.setTripleAt(e - n, t + r, e - n, t + r - a, e - n, t + r, 2, !0), this.v.setTripleAt(e + n, t + r, e + n - a, t + r, e + n, t + r, 3, !0)) : (this.v.setTripleAt(e + n - i, t - r, e + n - i, t - r, e + n - a, t - r, 1, !0), this.v.setTripleAt(e - n + i, t - r, e - n + a, t - r, e - n + i, t - r, 2, !0), this.v.setTripleAt(e - n, t - r + i, e - n, t - r + i, e - n, t - r + a, 3, !0), this.v.setTripleAt(e - n, t + r - i, e - n, t + r - a, e - n, t + r - i, 4, !0), this.v.setTripleAt(e - n + i, t + r, e - n + i, t + r, e - n + a, t + r, 5, !0), this.v.setTripleAt(e + n - i, t + r, e + n - a, t + r, e + n - i, t + r, 6, !0), this.v.setTripleAt(e + n, t + r - i, e + n, t + r - i, e + n, t + r - a, 7, !0)));
1674
1646
  },
1675
1647
  getValue: function() {
1676
1648
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf && this.convertRectToPath());
1677
1649
  },
1678
1650
  reset: r
1679
- }, d([U], e), e;
1651
+ }, u([W], e), e;
1680
1652
  }();
1681
1653
  function m(e, t, n) {
1682
1654
  var r;
1683
- return n === 3 || n === 4 ? r = (n === 3 ? t.pt : t.ks).k.length ? new l(e, t, n) : new s(e, t, n) : n === 5 ? r = new p(e, t) : n === 6 ? r = new u(e, t) : n === 7 && (r = new f(e, t)), r.k && e.addDynamicProperty(r), r;
1655
+ return n === 3 || n === 4 ? r = (n === 3 ? t.pt : t.ks).k.length ? new l(e, t, n) : new s(e, t, n) : n === 5 ? r = new p(e, t) : n === 6 ? r = new d(e, t) : n === 7 && (r = new f(e, t)), r.k && e.addDynamicProperty(r), r;
1684
1656
  }
1685
1657
  function h() {
1686
1658
  return s;
@@ -1690,7 +1662,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
1690
1662
  }
1691
1663
  var _ = {};
1692
1664
  return _.getShapeProp = m, _.getConstructorFunction = h, _.getKeyframedConstructorFunction = g, _;
1693
- }(), G = function() {
1665
+ }(), K = function() {
1694
1666
  var e = Math.cos, t = Math.sin, n = Math.tan, r = Math.round;
1695
1667
  function i() {
1696
1668
  return this.props[0] = 1, this.props[1] = 0, this.props[2] = 0, this.props[3] = 0, this.props[4] = 0, this.props[5] = 1, this.props[6] = 0, this.props[7] = 0, this.props[8] = 0, this.props[9] = 0, this.props[10] = 1, this.props[11] = 0, this.props[12] = 0, this.props[13] = 0, this.props[14] = 0, this.props[15] = 1, this;
@@ -1728,7 +1700,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
1728
1700
  function f(e, t, n) {
1729
1701
  return !n && n !== 0 && (n = 1), e === 1 && t === 1 && n === 1 ? this : this._t(e, 0, 0, 0, 0, t, 0, 0, 0, 0, n, 0, 0, 0, 0, 1);
1730
1702
  }
1731
- function p(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h) {
1703
+ function m(e, t, n, r, i, a, o, s, c, l, u, d, f, p, m, h) {
1732
1704
  return this.props[0] = e, this.props[1] = t, this.props[2] = n, this.props[3] = r, this.props[4] = i, this.props[5] = a, this.props[6] = o, this.props[7] = s, this.props[8] = c, this.props[9] = l, this.props[10] = u, this.props[11] = d, this.props[12] = f, this.props[13] = p, this.props[14] = m, this.props[15] = h, this;
1733
1705
  }
1734
1706
  function h(e, t, n) {
@@ -1745,7 +1717,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
1745
1717
  return this.transform(t[0], t[1], t[2], t[3], t[4], t[5], t[6], t[7], t[8], t[9], t[10], t[11], t[12], t[13], t[14], t[15]);
1746
1718
  }
1747
1719
  function v() {
1748
- return this._identityCalculated ||= (this._identity = !(this.props[0] !== 1 || this.props[1] !== 0 || this.props[2] !== 0 || this.props[3] !== 0 || this.props[4] !== 0 || this.props[5] !== 1 || this.props[6] !== 0 || this.props[7] !== 0 || this.props[8] !== 0 || this.props[9] !== 0 || this.props[10] !== 1 || this.props[11] !== 0 || this.props[12] !== 0 || this.props[13] !== 0 || this.props[14] !== 0 || this.props[15] !== 1), !0), this._identity;
1720
+ return this._identityCalculated ||= (this._identity = this.props[0] === 1 && this.props[1] === 0 && this.props[2] === 0 && this.props[3] === 0 && this.props[4] === 0 && this.props[5] === 1 && this.props[6] === 0 && this.props[7] === 0 && this.props[8] === 0 && this.props[9] === 0 && this.props[10] === 1 && this.props[11] === 0 && this.props[12] === 0 && this.props[13] === 0 && this.props[14] === 0 && this.props[15] === 1, !0), this._identity;
1749
1721
  }
1750
1722
  function y(e) {
1751
1723
  for (var t = 0; t < 16;) {
@@ -1755,13 +1727,11 @@ var t = /* @__PURE__ */ e(((e, t) => {
1755
1727
  return !0;
1756
1728
  }
1757
1729
  function b(e) {
1758
- var t;
1759
- for (t = 0; t < 16; t += 1) e.props[t] = this.props[t];
1730
+ for (var t = 0; t < 16; t += 1) e.props[t] = this.props[t];
1760
1731
  return e;
1761
1732
  }
1762
1733
  function x(e) {
1763
- var t;
1764
- for (t = 0; t < 16; t += 1) this.props[t] = e[t];
1734
+ for (var t = 0; t < 16; t += 1) this.props[t] = e[t];
1765
1735
  }
1766
1736
  function S(e, t, n) {
1767
1737
  return {
@@ -1780,7 +1750,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
1780
1750
  return e * this.props[2] + t * this.props[6] + n * this.props[10] + this.props[14];
1781
1751
  }
1782
1752
  function E() {
1783
- var e = this.props[0] * this.props[5] - this.props[1] * this.props[4], t = this.props[5] / e, n = -this.props[1] / e, r = -this.props[4] / e, i = this.props[0] / e, a = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / e, o = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / e, s = new G();
1753
+ var e = this.props[0] * this.props[5] - this.props[1] * this.props[4], t = this.props[5] / e, n = -this.props[1] / e, r = -this.props[4] / e, i = this.props[0] / e, a = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / e, o = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / e, s = new K();
1784
1754
  return s.props[0] = t, s.props[1] = n, s.props[4] = r, s.props[5] = i, s.props[12] = a, s.props[13] = o, s;
1785
1755
  }
1786
1756
  function D(e) {
@@ -1792,7 +1762,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
1792
1762
  return r;
1793
1763
  }
1794
1764
  function k(e, t, n) {
1795
- var r = m("float32", 6);
1765
+ var r = p("float32", 6);
1796
1766
  if (this.isIdentity()) r[0] = e[0], r[1] = e[1], r[2] = t[0], r[3] = t[1], r[4] = n[0], r[5] = n[1];
1797
1767
  else {
1798
1768
  var i = this.props[0], a = this.props[1], o = this.props[4], s = this.props[5], c = this.props[12], l = this.props[13];
@@ -1829,83 +1799,81 @@ var t = /* @__PURE__ */ e(((e, t) => {
1829
1799
  return "matrix(" + t + "," + n + "," + r + "," + i + "," + a + "," + o + ")";
1830
1800
  }
1831
1801
  return function() {
1832
- this.reset = i, this.rotate = a, this.rotateX = o, this.rotateY = s, this.rotateZ = c, this.skew = u, this.skewFromAxis = d, this.shear = l, this.scale = f, this.setTransform = p, this.translate = h, this.transform = g, this.multiply = _, this.applyToPoint = S, this.applyToX = C, this.applyToY = w, this.applyToZ = T, this.applyToPointArray = A, this.applyToTriplePoints = k, this.applyToPointStringified = j, this.toCSS = M, this.to2dCSS = P, this.clone = b, this.cloneFromProps = x, this.equals = y, this.inversePoints = O, this.inversePoint = D, this.getInverseMatrix = E, this._t = this.transform, this.isIdentity = v, this._identity = !0, this._identityCalculated = !1, this.props = m("float32", 16), this.reset();
1802
+ this.reset = i, this.rotate = a, this.rotateX = o, this.rotateY = s, this.rotateZ = c, this.skew = u, this.skewFromAxis = d, this.shear = l, this.scale = f, this.setTransform = m, this.translate = h, this.transform = g, this.multiply = _, this.applyToPoint = S, this.applyToX = C, this.applyToY = w, this.applyToZ = T, this.applyToPointArray = A, this.applyToTriplePoints = k, this.applyToPointStringified = j, this.toCSS = M, this.to2dCSS = P, this.clone = b, this.cloneFromProps = x, this.equals = y, this.inversePoints = O, this.inversePoint = D, this.getInverseMatrix = E, this._t = this.transform, this.isIdentity = v, this._identity = !0, this._identityCalculated = !1, this.props = p("float32", 16), this.reset();
1833
1803
  };
1834
1804
  }();
1835
- function Ye(e) {
1805
+ function qe(e) {
1836
1806
  "@babel/helpers - typeof";
1837
- return Ye = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1807
+ return qe = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(e) {
1838
1808
  return typeof e;
1839
1809
  } : function(e) {
1840
1810
  return e && typeof Symbol == "function" && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : typeof e;
1841
- }, Ye(e);
1811
+ }, qe(e);
1812
+ }
1813
+ var q = {}, Je = "__[STANDALONE]__", Ye = "__[ANIMATIONDATA]__", Xe = "";
1814
+ function Ze(e) {
1815
+ s(e);
1816
+ }
1817
+ function Qe() {
1818
+ Je === !0 ? H.searchAnimations(Ye, Je, Xe) : H.searchAnimations();
1842
1819
  }
1843
- var K = {}, Xe = "__[STANDALONE]__", Ze = "__[ANIMATIONDATA]__", Qe = "";
1844
1820
  function $e(e) {
1845
- c(e);
1821
+ ie(e);
1846
1822
  }
1847
- function et() {
1848
- Xe === !0 ? V.searchAnimations(Ze, Xe, Qe) : V.searchAnimations();
1823
+ function et(e) {
1824
+ de(e);
1849
1825
  }
1850
1826
  function tt(e) {
1851
- oe(e);
1827
+ return Je === !0 && (e.animationData = JSON.parse(Ye)), H.loadAnimation(e);
1852
1828
  }
1853
1829
  function nt(e) {
1854
- pe(e);
1855
- }
1856
- function rt(e) {
1857
- return Xe === !0 && (e.animationData = JSON.parse(Ze)), V.loadAnimation(e);
1858
- }
1859
- function it(e) {
1860
1830
  if (typeof e == "string") switch (e) {
1861
1831
  case "high":
1862
- de(200);
1832
+ le(200);
1863
1833
  break;
1864
1834
  default:
1865
1835
  case "medium":
1866
- de(50);
1867
- break;
1868
- case "low":
1869
- de(10);
1836
+ le(50);
1870
1837
  break;
1838
+ case "low": le(10);
1871
1839
  }
1872
- else !isNaN(e) && e > 1 && de(e);
1840
+ else !isNaN(e) && e > 1 && le(e);
1873
1841
  }
1874
- function at() {
1842
+ function rt() {
1875
1843
  return typeof navigator < "u";
1876
1844
  }
1877
- function ot(e, t) {
1878
- e === "expressions" && ce(t);
1845
+ function it(e, t) {
1846
+ e === "expressions" && oe(t);
1879
1847
  }
1880
- function st(e) {
1848
+ function at(e) {
1881
1849
  switch (e) {
1882
- case "propertyFactory": return H;
1883
- case "shapePropertyFactory": return Je;
1884
- case "matrix": return G;
1850
+ case "propertyFactory": return U;
1851
+ case "shapePropertyFactory": return Ke;
1852
+ case "matrix": return K;
1885
1853
  default: return null;
1886
1854
  }
1887
1855
  }
1888
- K.play = V.play, K.pause = V.pause, K.setLocationHref = $e, K.togglePause = V.togglePause, K.setSpeed = V.setSpeed, K.setDirection = V.setDirection, K.stop = V.stop, K.searchAnimations = et, K.registerAnimation = V.registerAnimation, K.loadAnimation = rt, K.setSubframeRendering = tt, K.resize = V.resize, K.goToAndStop = V.goToAndStop, K.destroy = V.destroy, K.setQuality = it, K.inBrowser = at, K.installPlugin = ot, K.freeze = V.freeze, K.unfreeze = V.unfreeze, K.setVolume = V.setVolume, K.mute = V.mute, K.unmute = V.unmute, K.getRegisteredAnimations = V.getRegisteredAnimations, K.useWebWorker = o, K.setIDPrefix = nt, K.__getFactory = st, K.version = "5.13.0";
1889
- function ct() {
1890
- document.readyState === "complete" && (clearInterval(pt), et());
1856
+ q.play = H.play, q.pause = H.pause, q.setLocationHref = Ze, q.togglePause = H.togglePause, q.setSpeed = H.setSpeed, q.setDirection = H.setDirection, q.stop = H.stop, q.searchAnimations = Qe, q.registerAnimation = H.registerAnimation, q.loadAnimation = tt, q.setSubframeRendering = $e, q.resize = H.resize, q.goToAndStop = H.goToAndStop, q.destroy = H.destroy, q.setQuality = nt, q.inBrowser = rt, q.installPlugin = it, q.freeze = H.freeze, q.unfreeze = H.unfreeze, q.setVolume = H.setVolume, q.mute = H.mute, q.unmute = H.unmute, q.getRegisteredAnimations = H.getRegisteredAnimations, q.useWebWorker = a, q.setIDPrefix = et, q.__getFactory = at, q.version = "5.13.0";
1857
+ function ot() {
1858
+ document.readyState === "complete" && (clearInterval(dt), Qe());
1891
1859
  }
1892
- function lt(e) {
1893
- for (var t = ut.split("&"), n = 0; n < t.length; n += 1) {
1860
+ function st(e) {
1861
+ for (var t = ct.split("&"), n = 0; n < t.length; n += 1) {
1894
1862
  var r = t[n].split("=");
1895
1863
  if (decodeURIComponent(r[0]) == e) return decodeURIComponent(r[1]);
1896
1864
  }
1897
1865
  return null;
1898
1866
  }
1899
- var ut = "";
1900
- if (Xe) {
1901
- var dt = document.getElementsByTagName("script"), ft = dt[dt.length - 1] || { src: "" };
1902
- ut = ft.src ? ft.src.replace(/^[^\?]+\??/, "") : "", Qe = lt("renderer");
1867
+ var ct = "";
1868
+ if (Je) {
1869
+ var lt = document.getElementsByTagName("script"), ut = lt[lt.length - 1] || { src: "" };
1870
+ ct = ut.src ? ut.src.replace(/^[^\?]+\??/, "") : "", Xe = st("renderer");
1903
1871
  }
1904
- var pt = setInterval(ct, 100);
1872
+ var dt = setInterval(ot, 100);
1905
1873
  try {
1906
- !((e === void 0 ? "undefined" : Ye(e)) === "object" && t !== void 0) && !(typeof define == "function" && define.amd) && (window.bodymovin = K);
1874
+ ((e === void 0 ? "undefined" : qe(e)) !== "object" || t === void 0) && !(typeof define == "function" && define.amd) && (window.bodymovin = q);
1907
1875
  } catch {}
1908
- var mt = function() {
1876
+ var ft = function() {
1909
1877
  var e = {}, t = {};
1910
1878
  e.registerModifier = n, e.getModifier = r;
1911
1879
  function n(e, n) {
@@ -1916,28 +1884,28 @@ var t = /* @__PURE__ */ e(((e, t) => {
1916
1884
  }
1917
1885
  return e;
1918
1886
  }();
1919
- function q() {}
1920
- q.prototype.initModifierProperties = function() {}, q.prototype.addShapeToModifier = function() {}, q.prototype.addShape = function(e) {
1887
+ function pt() {}
1888
+ pt.prototype.initModifierProperties = function() {}, pt.prototype.addShapeToModifier = function() {}, pt.prototype.addShape = function(e) {
1921
1889
  if (!this.closed) {
1922
1890
  e.sh.container.addDynamicProperty(e.sh);
1923
1891
  var t = {
1924
1892
  shape: e.sh,
1925
1893
  data: e,
1926
- localShapeCollection: qe.newShapeCollection()
1894
+ localShapeCollection: Ge.newShapeCollection()
1927
1895
  };
1928
1896
  this.shapes.push(t), this.addShapeToModifier(t), this._isAnimated && e.setAsAnimated();
1929
1897
  }
1930
- }, q.prototype.init = function(e, t) {
1931
- this.shapes = [], this.elem = e, this.initDynamicPropertyContainer(e), this.initModifierProperties(e, t), this.frameId = a, this.closed = !1, this.k = !1, this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
1932
- }, q.prototype.processKeys = function() {
1898
+ }, pt.prototype.init = function(e, t) {
1899
+ this.shapes = [], this.elem = e, this.initDynamicPropertyContainer(e), this.initModifierProperties(e, t), this.frameId = i, this.closed = !1, this.k = !1, this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
1900
+ }, pt.prototype.processKeys = function() {
1933
1901
  this.elem.globalData.frameId !== this.frameId && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties());
1934
- }, d([U], q);
1935
- function ht() {}
1936
- d([q], ht), ht.prototype.initModifierProperties = function(e, t) {
1937
- this.s = H.getProp(e, t.s, 0, .01, this), this.e = H.getProp(e, t.e, 0, .01, this), this.o = H.getProp(e, t.o, 0, 0, this), this.sValue = 0, this.eValue = 0, this.getValue = this.processKeys, this.m = t.m, this._isAnimated = !!this.s.effectsSequence.length || !!this.e.effectsSequence.length || !!this.o.effectsSequence.length;
1938
- }, ht.prototype.addShapeToModifier = function(e) {
1902
+ }, u([W], pt);
1903
+ function mt() {}
1904
+ u([pt], mt), mt.prototype.initModifierProperties = function(e, t) {
1905
+ this.s = U.getProp(e, t.s, 0, .01, this), this.e = U.getProp(e, t.e, 0, .01, this), this.o = U.getProp(e, t.o, 0, 0, this), this.sValue = 0, this.eValue = 0, this.getValue = this.processKeys, this.m = t.m, this._isAnimated = !!this.s.effectsSequence.length || !!this.e.effectsSequence.length || !!this.o.effectsSequence.length;
1906
+ }, mt.prototype.addShapeToModifier = function(e) {
1939
1907
  e.pathsData = [];
1940
- }, ht.prototype.calculateShapeEdges = function(e, t, n, r, i) {
1908
+ }, mt.prototype.calculateShapeEdges = function(e, t, n, r, i) {
1941
1909
  var a = [];
1942
1910
  t <= 1 ? a.push({
1943
1911
  s: e,
@@ -1958,11 +1926,11 @@ var t = /* @__PURE__ */ e(((e, t) => {
1958
1926
  o.push([u, d]);
1959
1927
  }
1960
1928
  return o.length || o.push([0, 0]), o;
1961
- }, ht.prototype.releasePathsData = function(e) {
1929
+ }, mt.prototype.releasePathsData = function(e) {
1962
1930
  var t, n = e.length;
1963
- for (t = 0; t < n; t += 1) De.release(e[t]);
1931
+ for (t = 0; t < n; t += 1) Te.release(e[t]);
1964
1932
  return e.length = 0, e;
1965
- }, ht.prototype.processShapes = function(e) {
1933
+ }, mt.prototype.processShapes = function(e) {
1966
1934
  var t, n;
1967
1935
  if (this._mdf || e) {
1968
1936
  var r = this.o.v % 360 / 360;
@@ -1980,7 +1948,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
1980
1948
  else {
1981
1949
  if (a = h.shape.paths, l = a._length, f = 0, !h.shape._mdf && h.pathsData.length) f = h.totalShapeLength;
1982
1950
  else {
1983
- for (u = this.releasePathsData(h.pathsData), c = 0; c < l; c += 1) d = ke.getSegmentsLength(a.shapes[c]), u.push(d), f += d.totalLength;
1951
+ for (u = this.releasePathsData(h.pathsData), c = 0; c < l; c += 1) d = De.getSegmentsLength(a.shapes[c]), u.push(d), f += d.totalLength;
1984
1952
  h.totalShapeLength = f, h.pathsData = u;
1985
1953
  }
1986
1954
  p += f, h.shape._mdf = !0;
@@ -2003,67 +1971,69 @@ var t = /* @__PURE__ */ e(((e, t) => {
2003
1971
  }));
2004
1972
  var x = this.addShapes(h, m[0]);
2005
1973
  if (m[0].s !== m[0].e) {
2006
- if (m.length > 1) if (h.shape.paths.shapes[h.shape.paths._length - 1].c) {
2007
- var S = x.pop();
2008
- this.addPaths(x, g), x = this.addShapes(h, m[1], S);
2009
- } else this.addPaths(x, g), x = this.addShapes(h, m[1]);
1974
+ if (m.length > 1) {
1975
+ if (h.shape.paths.shapes[h.shape.paths._length - 1].c) {
1976
+ var S = x.pop();
1977
+ this.addPaths(x, g), x = this.addShapes(h, m[1], S);
1978
+ } else this.addPaths(x, g), x = this.addShapes(h, m[1]);
1979
+ }
2010
1980
  this.addPaths(x, g);
2011
1981
  }
2012
1982
  }
2013
1983
  h.shape.paths = g;
2014
1984
  }
2015
1985
  } else if (this._mdf) for (o = 0; o < s; o += 1) this.shapes[o].pathsData.length = 0, this.shapes[o].shape._mdf = !0;
2016
- }, ht.prototype.addPaths = function(e, t) {
1986
+ }, mt.prototype.addPaths = function(e, t) {
2017
1987
  var n, r = e.length;
2018
1988
  for (n = 0; n < r; n += 1) t.addShape(e[n]);
2019
- }, ht.prototype.addSegment = function(e, t, n, r, i, a, o) {
1989
+ }, mt.prototype.addSegment = function(e, t, n, r, i, a, o) {
2020
1990
  i.setXYAt(t[0], t[1], "o", a), i.setXYAt(n[0], n[1], "i", a + 1), o && i.setXYAt(e[0], e[1], "v", a), i.setXYAt(r[0], r[1], "v", a + 1);
2021
- }, ht.prototype.addSegmentFromArray = function(e, t, n, r) {
1991
+ }, mt.prototype.addSegmentFromArray = function(e, t, n, r) {
2022
1992
  t.setXYAt(e[1], e[5], "o", n), t.setXYAt(e[2], e[6], "i", n + 1), r && t.setXYAt(e[0], e[4], "v", n), t.setXYAt(e[3], e[7], "v", n + 1);
2023
- }, ht.prototype.addShapes = function(e, t, n) {
1993
+ }, mt.prototype.addShapes = function(e, t, n) {
2024
1994
  var r = e.pathsData, i = e.shape.paths.shapes, a, o = e.shape.paths._length, s, c, l = 0, u, d, f, p, m = [], h, g = !0;
2025
- for (n ? (d = n._length, h = n._length) : (n = W.newElement(), d = 0, h = 0), m.push(n), a = 0; a < o; a += 1) {
1995
+ for (n ? (d = n._length, h = n._length) : (n = G.newElement(), d = 0, h = 0), m.push(n), a = 0; a < o; a += 1) {
2026
1996
  for (f = r[a].lengths, n.c = i[a].c, c = i[a].c ? f.length : f.length + 1, s = 1; s < c; s += 1) if (u = f[s - 1], l + u.addedLength < t.s) l += u.addedLength, n.c = !1;
2027
1997
  else if (l > t.e) {
2028
1998
  n.c = !1;
2029
1999
  break;
2030
- } else t.s <= l && t.e >= l + u.addedLength ? (this.addSegment(i[a].v[s - 1], i[a].o[s - 1], i[a].i[s], i[a].v[s], n, d, g), g = !1) : (p = ke.getNewSegment(i[a].v[s - 1], i[a].v[s], i[a].o[s - 1], i[a].i[s], (t.s - l) / u.addedLength, (t.e - l) / u.addedLength, f[s - 1]), this.addSegmentFromArray(p, n, d, g), g = !1, n.c = !1), l += u.addedLength, d += 1;
2000
+ } else t.s <= l && t.e >= l + u.addedLength ? (this.addSegment(i[a].v[s - 1], i[a].o[s - 1], i[a].i[s], i[a].v[s], n, d, g), g = !1) : (p = De.getNewSegment(i[a].v[s - 1], i[a].v[s], i[a].o[s - 1], i[a].i[s], (t.s - l) / u.addedLength, (t.e - l) / u.addedLength, f[s - 1]), this.addSegmentFromArray(p, n, d, g), g = !1, n.c = !1), l += u.addedLength, d += 1;
2031
2001
  if (i[a].c && f.length) {
2032
2002
  if (u = f[s - 1], l <= t.e) {
2033
2003
  var _ = f[s - 1].addedLength;
2034
- t.s <= l && t.e >= l + _ ? (this.addSegment(i[a].v[s - 1], i[a].o[s - 1], i[a].i[0], i[a].v[0], n, d, g), g = !1) : (p = ke.getNewSegment(i[a].v[s - 1], i[a].v[0], i[a].o[s - 1], i[a].i[0], (t.s - l) / _, (t.e - l) / _, f[s - 1]), this.addSegmentFromArray(p, n, d, g), g = !1, n.c = !1);
2004
+ t.s <= l && t.e >= l + _ ? (this.addSegment(i[a].v[s - 1], i[a].o[s - 1], i[a].i[0], i[a].v[0], n, d, g), g = !1) : (p = De.getNewSegment(i[a].v[s - 1], i[a].v[0], i[a].o[s - 1], i[a].i[0], (t.s - l) / _, (t.e - l) / _, f[s - 1]), this.addSegmentFromArray(p, n, d, g), g = !1, n.c = !1);
2035
2005
  } else n.c = !1;
2036
2006
  l += u.addedLength, d += 1;
2037
2007
  }
2038
2008
  if (n._length && (n.setXYAt(n.v[h][0], n.v[h][1], "i", h), n.setXYAt(n.v[n._length - 1][0], n.v[n._length - 1][1], "o", n._length - 1)), l > t.e) break;
2039
- a < o - 1 && (n = W.newElement(), g = !0, m.push(n), d = 0);
2009
+ a < o - 1 && (n = G.newElement(), g = !0, m.push(n), d = 0);
2040
2010
  }
2041
2011
  return m;
2042
2012
  };
2043
- function gt() {}
2044
- d([q], gt), gt.prototype.initModifierProperties = function(e, t) {
2045
- this.getValue = this.processKeys, this.amount = H.getProp(e, t.a, 0, null, this), this._isAnimated = !!this.amount.effectsSequence.length;
2046
- }, gt.prototype.processPath = function(e, t) {
2013
+ function ht() {}
2014
+ u([pt], ht), ht.prototype.initModifierProperties = function(e, t) {
2015
+ this.getValue = this.processKeys, this.amount = U.getProp(e, t.a, 0, null, this), this._isAnimated = !!this.amount.effectsSequence.length;
2016
+ }, ht.prototype.processPath = function(e, t) {
2047
2017
  var n = t / 100, r = [0, 0], i = e._length, a = 0;
2048
2018
  for (a = 0; a < i; a += 1) r[0] += e.v[a][0], r[1] += e.v[a][1];
2049
2019
  r[0] /= i, r[1] /= i;
2050
- var o = W.newElement();
2020
+ var o = G.newElement();
2051
2021
  o.c = e.c;
2052
2022
  var s, c, l, u, d, f;
2053
2023
  for (a = 0; a < i; a += 1) s = e.v[a][0] + (r[0] - e.v[a][0]) * n, c = e.v[a][1] + (r[1] - e.v[a][1]) * n, l = e.o[a][0] + (r[0] - e.o[a][0]) * -n, u = e.o[a][1] + (r[1] - e.o[a][1]) * -n, d = e.i[a][0] + (r[0] - e.i[a][0]) * -n, f = e.i[a][1] + (r[1] - e.i[a][1]) * -n, o.setTripleAt(s, c, l, u, d, f, a);
2054
2024
  return o;
2055
- }, gt.prototype.processShapes = function(e) {
2025
+ }, ht.prototype.processShapes = function(e) {
2056
2026
  var t, n, r = this.shapes.length, i, a, o = this.amount.v;
2057
2027
  if (o !== 0) {
2058
2028
  var s, c;
2059
2029
  for (n = 0; n < r; n += 1) {
2060
- if (s = this.shapes[n], c = s.localShapeCollection, !(!s.shape._mdf && !this._mdf && !e)) for (c.releaseShapes(), s.shape._mdf = !0, t = s.shape.paths.shapes, a = s.shape.paths._length, i = 0; i < a; i += 1) c.addShape(this.processPath(t[i], o));
2030
+ if (s = this.shapes[n], c = s.localShapeCollection, s.shape._mdf || this._mdf || e) for (c.releaseShapes(), s.shape._mdf = !0, t = s.shape.paths.shapes, a = s.shape.paths._length, i = 0; i < a; i += 1) c.addShape(this.processPath(t[i], o));
2061
2031
  s.shape.paths = s.localShapeCollection;
2062
2032
  }
2063
2033
  }
2064
2034
  this.dynamicProperties.length || (this._mdf = !1);
2065
2035
  };
2066
- var _t = function() {
2036
+ var gt = function() {
2067
2037
  var e = [0, 0];
2068
2038
  function t(e) {
2069
2039
  var t = this._mdf;
@@ -2093,8 +2063,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
2093
2063
  else return;
2094
2064
  if (!this.s.effectsSequence.length) this.pre.scale(this.s.v[0], this.s.v[1], this.s.v[2]), this.appliedTransformations = 2;
2095
2065
  else return;
2096
- if (this.sk) if (!this.sk.effectsSequence.length && !this.sa.effectsSequence.length) this.pre.skewFromAxis(-this.sk.v, this.sa.v), this.appliedTransformations = 3;
2097
- else return;
2066
+ if (this.sk) {
2067
+ if (!this.sk.effectsSequence.length && !this.sa.effectsSequence.length) this.pre.skewFromAxis(-this.sk.v, this.sa.v), this.appliedTransformations = 3;
2068
+ else return;
2069
+ }
2098
2070
  this.r ? this.r.effectsSequence.length || (this.pre.rotate(-this.r.v), this.appliedTransformations = 4) : !this.rz.effectsSequence.length && !this.ry.effectsSequence.length && !this.rx.effectsSequence.length && !this.or.effectsSequence.length && (this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]), this.appliedTransformations = 4);
2099
2071
  }
2100
2072
  function i() {}
@@ -2102,26 +2074,26 @@ var t = /* @__PURE__ */ e(((e, t) => {
2102
2074
  this._addDynamicProperty(e), this.elem.addDynamicProperty(e), this._isDirty = !0;
2103
2075
  }
2104
2076
  function o(e, t, n) {
2105
- if (this.elem = e, this.frameId = -1, this.propType = "transform", this.data = t, this.v = new G(), this.pre = new G(), this.appliedTransformations = 0, this.initDynamicPropertyContainer(n || e), t.p && t.p.s ? (this.px = H.getProp(e, t.p.x, 0, 0, this), this.py = H.getProp(e, t.p.y, 0, 0, this), t.p.z && (this.pz = H.getProp(e, t.p.z, 0, 0, this))) : this.p = H.getProp(e, t.p || { k: [
2077
+ if (this.elem = e, this.frameId = -1, this.propType = "transform", this.data = t, this.v = new K(), this.pre = new K(), this.appliedTransformations = 0, this.initDynamicPropertyContainer(n || e), t.p && t.p.s ? (this.px = U.getProp(e, t.p.x, 0, 0, this), this.py = U.getProp(e, t.p.y, 0, 0, this), t.p.z && (this.pz = U.getProp(e, t.p.z, 0, 0, this))) : this.p = U.getProp(e, t.p || { k: [
2106
2078
  0,
2107
2079
  0,
2108
2080
  0
2109
2081
  ] }, 1, 0, this), t.rx) {
2110
- if (this.rx = H.getProp(e, t.rx, 0, O, this), this.ry = H.getProp(e, t.ry, 0, O, this), this.rz = H.getProp(e, t.rz, 0, O, this), t.or.k[0].ti) {
2082
+ if (this.rx = U.getProp(e, t.rx, 0, D, this), this.ry = U.getProp(e, t.ry, 0, D, this), this.rz = U.getProp(e, t.rz, 0, D, this), t.or.k[0].ti) {
2111
2083
  var r, i = t.or.k.length;
2112
2084
  for (r = 0; r < i; r += 1) t.or.k[r].to = null, t.or.k[r].ti = null;
2113
2085
  }
2114
- this.or = H.getProp(e, t.or, 1, O, this), this.or.sh = !0;
2115
- } else this.r = H.getProp(e, t.r || { k: 0 }, 0, O, this);
2116
- t.sk && (this.sk = H.getProp(e, t.sk, 0, O, this), this.sa = H.getProp(e, t.sa, 0, O, this)), this.a = H.getProp(e, t.a || { k: [
2086
+ this.or = U.getProp(e, t.or, 1, D, this), this.or.sh = !0;
2087
+ } else this.r = U.getProp(e, t.r || { k: 0 }, 0, D, this);
2088
+ t.sk && (this.sk = U.getProp(e, t.sk, 0, D, this), this.sa = U.getProp(e, t.sa, 0, D, this)), this.a = U.getProp(e, t.a || { k: [
2117
2089
  0,
2118
2090
  0,
2119
2091
  0
2120
- ] }, 1, 0, this), this.s = H.getProp(e, t.s || { k: [
2092
+ ] }, 1, 0, this), this.s = U.getProp(e, t.s || { k: [
2121
2093
  100,
2122
2094
  100,
2123
2095
  100
2124
- ] }, 1, .01, this), t.o ? this.o = H.getProp(e, t.o, 0, .01, e) : this.o = {
2096
+ ] }, 1, .01, this), this.o = t.o ? U.getProp(e, t.o, 0, .01, e) : {
2125
2097
  _mdf: !1,
2126
2098
  v: 1
2127
2099
  }, this._isDirty = !0, this.dynamicProperties.length || this.getValue(!0);
@@ -2131,31 +2103,31 @@ var t = /* @__PURE__ */ e(((e, t) => {
2131
2103
  getValue: n,
2132
2104
  precalculateMatrix: r,
2133
2105
  autoOrient: i
2134
- }, d([U], o), o.prototype.addDynamicProperty = a, o.prototype._addDynamicProperty = U.prototype.addDynamicProperty;
2106
+ }, u([W], o), o.prototype.addDynamicProperty = a, o.prototype._addDynamicProperty = W.prototype.addDynamicProperty;
2135
2107
  function s(e, t, n) {
2136
2108
  return new o(e, t, n);
2137
2109
  }
2138
2110
  return { getTransformProperty: s };
2139
2111
  }();
2140
- function vt() {}
2141
- d([q], vt), vt.prototype.initModifierProperties = function(e, t) {
2142
- this.getValue = this.processKeys, this.c = H.getProp(e, t.c, 0, null, this), this.o = H.getProp(e, t.o, 0, null, this), this.tr = _t.getTransformProperty(e, t.tr, this), this.so = H.getProp(e, t.tr.so, 0, .01, this), this.eo = H.getProp(e, t.tr.eo, 0, .01, this), this.data = t, this.dynamicProperties.length || this.getValue(!0), this._isAnimated = !!this.dynamicProperties.length, this.pMatrix = new G(), this.rMatrix = new G(), this.sMatrix = new G(), this.tMatrix = new G(), this.matrix = new G();
2143
- }, vt.prototype.applyTransforms = function(e, t, n, r, i, a) {
2112
+ function _t() {}
2113
+ u([pt], _t), _t.prototype.initModifierProperties = function(e, t) {
2114
+ this.getValue = this.processKeys, this.c = U.getProp(e, t.c, 0, null, this), this.o = U.getProp(e, t.o, 0, null, this), this.tr = gt.getTransformProperty(e, t.tr, this), this.so = U.getProp(e, t.tr.so, 0, .01, this), this.eo = U.getProp(e, t.tr.eo, 0, .01, this), this.data = t, this.dynamicProperties.length || this.getValue(!0), this._isAnimated = !!this.dynamicProperties.length, this.pMatrix = new K(), this.rMatrix = new K(), this.sMatrix = new K(), this.tMatrix = new K(), this.matrix = new K();
2115
+ }, _t.prototype.applyTransforms = function(e, t, n, r, i, a) {
2144
2116
  var o = a ? -1 : 1, s = r.s.v[0] + (1 - r.s.v[0]) * (1 - i), c = r.s.v[1] + (1 - r.s.v[1]) * (1 - i);
2145
2117
  e.translate(r.p.v[0] * o * i, r.p.v[1] * o * i, r.p.v[2]), t.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]), t.rotate(-r.r.v * o * i), t.translate(r.a.v[0], r.a.v[1], r.a.v[2]), n.translate(-r.a.v[0], -r.a.v[1], r.a.v[2]), n.scale(a ? 1 / s : s, a ? 1 / c : c), n.translate(r.a.v[0], r.a.v[1], r.a.v[2]);
2146
- }, vt.prototype.init = function(e, t, n, r) {
2118
+ }, _t.prototype.init = function(e, t, n, r) {
2147
2119
  for (this.elem = e, this.arr = t, this.pos = n, this.elemsData = r, this._currentCopies = 0, this._elements = [], this._groups = [], this.frameId = -1, this.initDynamicPropertyContainer(e), this.initModifierProperties(e, t[n]); n > 0;) --n, this._elements.unshift(t[n]);
2148
2120
  this.dynamicProperties.length ? this.k = !0 : this.getValue(!0);
2149
- }, vt.prototype.resetElements = function(e) {
2121
+ }, _t.prototype.resetElements = function(e) {
2150
2122
  var t, n = e.length;
2151
2123
  for (t = 0; t < n; t += 1) e[t]._processed = !1, e[t].ty === "gr" && this.resetElements(e[t].it);
2152
- }, vt.prototype.cloneElements = function(e) {
2124
+ }, _t.prototype.cloneElements = function(e) {
2153
2125
  var t = JSON.parse(JSON.stringify(e));
2154
2126
  return this.resetElements(t), t;
2155
- }, vt.prototype.changeGroupRender = function(e, t) {
2127
+ }, _t.prototype.changeGroupRender = function(e, t) {
2156
2128
  var n, r = e.length;
2157
2129
  for (n = 0; n < r; n += 1) e[n]._render = t, e[n].ty === "gr" && this.changeGroupRender(e[n].it, t);
2158
- }, vt.prototype.processShapes = function(e) {
2130
+ }, _t.prototype.processShapes = function(e) {
2159
2131
  var t, n, r, i, a, o = !1;
2160
2132
  if (this._mdf || e) {
2161
2133
  var s = Math.ceil(this.c.v);
@@ -2245,40 +2217,40 @@ var t = /* @__PURE__ */ e(((e, t) => {
2245
2217
  }
2246
2218
  } else for (a = this._currentCopies, r = 0, i = 1; a;) t = this.elemsData[r].it, n = t[t.length - 1].transform.mProps.v.props, t[t.length - 1].transform.mProps._mdf = !1, t[t.length - 1].transform.op._mdf = !1, --a, r += i;
2247
2219
  return o;
2248
- }, vt.prototype.addShape = function() {};
2249
- function yt() {}
2250
- d([q], yt), yt.prototype.initModifierProperties = function(e, t) {
2251
- this.getValue = this.processKeys, this.rd = H.getProp(e, t.r, 0, null, this), this._isAnimated = !!this.rd.effectsSequence.length;
2252
- }, yt.prototype.processPath = function(e, t) {
2253
- var n = W.newElement();
2220
+ }, _t.prototype.addShape = function() {};
2221
+ function vt() {}
2222
+ u([pt], vt), vt.prototype.initModifierProperties = function(e, t) {
2223
+ this.getValue = this.processKeys, this.rd = U.getProp(e, t.r, 0, null, this), this._isAnimated = !!this.rd.effectsSequence.length;
2224
+ }, vt.prototype.processPath = function(e, t) {
2225
+ var n = G.newElement();
2254
2226
  n.c = e.c;
2255
2227
  var r, i = e._length, a, o, s, c, l, u, d = 0, f, p, m, h, g, _;
2256
- for (r = 0; r < i; r += 1) a = e.v[r], s = e.o[r], o = e.i[r], a[0] === s[0] && a[1] === s[1] && a[0] === o[0] && a[1] === o[1] ? (r === 0 || r === i - 1) && !e.c ? (n.setTripleAt(a[0], a[1], s[0], s[1], o[0], o[1], d), d += 1) : (c = r === 0 ? e.v[i - 1] : e.v[r - 1], l = Math.sqrt((a[0] - c[0]) ** 2 + (a[1] - c[1]) ** 2), u = l ? Math.min(l / 2, t) / l : 0, g = a[0] + (c[0] - a[0]) * u, f = g, _ = a[1] - (a[1] - c[1]) * u, p = _, m = f - (f - a[0]) * k, h = p - (p - a[1]) * k, n.setTripleAt(f, p, m, h, g, _, d), d += 1, c = r === i - 1 ? e.v[0] : e.v[r + 1], l = Math.sqrt((a[0] - c[0]) ** 2 + (a[1] - c[1]) ** 2), u = l ? Math.min(l / 2, t) / l : 0, m = a[0] + (c[0] - a[0]) * u, f = m, h = a[1] + (c[1] - a[1]) * u, p = h, g = f - (f - a[0]) * k, _ = p - (p - a[1]) * k, n.setTripleAt(f, p, m, h, g, _, d), d += 1) : (n.setTripleAt(e.v[r][0], e.v[r][1], e.o[r][0], e.o[r][1], e.i[r][0], e.i[r][1], d), d += 1);
2228
+ for (r = 0; r < i; r += 1) a = e.v[r], s = e.o[r], o = e.i[r], a[0] === s[0] && a[1] === s[1] && a[0] === o[0] && a[1] === o[1] ? (r === 0 || r === i - 1) && !e.c ? (n.setTripleAt(a[0], a[1], s[0], s[1], o[0], o[1], d), d += 1) : (c = r === 0 ? e.v[i - 1] : e.v[r - 1], l = Math.sqrt((a[0] - c[0]) ** 2 + (a[1] - c[1]) ** 2), u = l ? Math.min(l / 2, t) / l : 0, g = a[0] + (c[0] - a[0]) * u, f = g, _ = a[1] - (a[1] - c[1]) * u, p = _, m = f - (f - a[0]) * O, h = p - (p - a[1]) * O, n.setTripleAt(f, p, m, h, g, _, d), d += 1, c = r === i - 1 ? e.v[0] : e.v[r + 1], l = Math.sqrt((a[0] - c[0]) ** 2 + (a[1] - c[1]) ** 2), u = l ? Math.min(l / 2, t) / l : 0, m = a[0] + (c[0] - a[0]) * u, f = m, h = a[1] + (c[1] - a[1]) * u, p = h, g = f - (f - a[0]) * O, _ = p - (p - a[1]) * O, n.setTripleAt(f, p, m, h, g, _, d), d += 1) : (n.setTripleAt(e.v[r][0], e.v[r][1], e.o[r][0], e.o[r][1], e.i[r][0], e.i[r][1], d), d += 1);
2257
2229
  return n;
2258
- }, yt.prototype.processShapes = function(e) {
2230
+ }, vt.prototype.processShapes = function(e) {
2259
2231
  var t, n, r = this.shapes.length, i, a, o = this.rd.v;
2260
2232
  if (o !== 0) {
2261
2233
  var s, c;
2262
2234
  for (n = 0; n < r; n += 1) {
2263
- if (s = this.shapes[n], c = s.localShapeCollection, !(!s.shape._mdf && !this._mdf && !e)) for (c.releaseShapes(), s.shape._mdf = !0, t = s.shape.paths.shapes, a = s.shape.paths._length, i = 0; i < a; i += 1) c.addShape(this.processPath(t[i], o));
2235
+ if (s = this.shapes[n], c = s.localShapeCollection, s.shape._mdf || this._mdf || e) for (c.releaseShapes(), s.shape._mdf = !0, t = s.shape.paths.shapes, a = s.shape.paths._length, i = 0; i < a; i += 1) c.addShape(this.processPath(t[i], o));
2264
2236
  s.shape.paths = s.localShapeCollection;
2265
2237
  }
2266
2238
  }
2267
2239
  this.dynamicProperties.length || (this._mdf = !1);
2268
2240
  };
2269
- function bt(e, t) {
2241
+ function yt(e, t) {
2270
2242
  return Math.abs(e - t) * 1e5 <= Math.min(Math.abs(e), Math.abs(t));
2271
2243
  }
2272
- function xt(e) {
2244
+ function bt(e) {
2273
2245
  return Math.abs(e) <= 1e-5;
2274
2246
  }
2275
- function St(e, t, n) {
2247
+ function xt(e, t, n) {
2276
2248
  return e * (1 - n) + t * n;
2277
2249
  }
2278
- function Ct(e, t, n) {
2279
- return [St(e[0], t[0], n), St(e[1], t[1], n)];
2250
+ function St(e, t, n) {
2251
+ return [xt(e[0], t[0], n), xt(e[1], t[1], n)];
2280
2252
  }
2281
- function wt(e, t, n) {
2253
+ function Ct(e, t, n) {
2282
2254
  if (e === 0) return [];
2283
2255
  var r = t * t - 4 * e * n;
2284
2256
  if (r < 0) return [];
@@ -2287,7 +2259,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
2287
2259
  var a = Math.sqrt(r) / (2 * e);
2288
2260
  return [i - a, i + a];
2289
2261
  }
2290
- function Tt(e, t, n, r) {
2262
+ function wt(e, t, n, r) {
2291
2263
  return [
2292
2264
  -e + 3 * t - 3 * n + r,
2293
2265
  3 * e - 6 * t + 3 * n,
@@ -2295,12 +2267,12 @@ var t = /* @__PURE__ */ e(((e, t) => {
2295
2267
  e
2296
2268
  ];
2297
2269
  }
2298
- function Et(e) {
2270
+ function Tt(e) {
2299
2271
  return new J(e, e, e, e, !1);
2300
2272
  }
2301
2273
  function J(e, t, n, r, i) {
2302
- i && It(e, t) && (t = Ct(e, r, 1 / 3)), i && It(n, r) && (n = Ct(e, r, 2 / 3));
2303
- var a = Tt(e[0], t[0], n[0], r[0]), o = Tt(e[1], t[1], n[1], r[1]);
2274
+ i && Ft(e, t) && (t = St(e, r, 1 / 3)), i && Ft(n, r) && (n = St(e, r, 2 / 3));
2275
+ var a = wt(e[0], t[0], n[0], r[0]), o = wt(e[1], t[1], n[1], r[1]);
2304
2276
  this.a = [a[0], o[0]], this.b = [a[1], o[1]], this.c = [a[2], o[2]], this.d = [a[3], o[3]], this.points = [
2305
2277
  e,
2306
2278
  t,
@@ -2320,26 +2292,26 @@ var t = /* @__PURE__ */ e(((e, t) => {
2320
2292
  return Math.atan2(t[0], t[1]);
2321
2293
  }, J.prototype.inflectionPoints = function() {
2322
2294
  var e = this.a[1] * this.b[0] - this.a[0] * this.b[1];
2323
- if (xt(e)) return [];
2295
+ if (bt(e)) return [];
2324
2296
  var t = -.5 * (this.a[1] * this.c[0] - this.a[0] * this.c[1]) / e, n = t * t - 1 / 3 * (this.b[1] * this.c[0] - this.b[0] * this.c[1]) / e;
2325
2297
  if (n < 0) return [];
2326
2298
  var r = Math.sqrt(n);
2327
- return xt(r) ? r > 0 && r < 1 ? [t] : [] : [t - r, t + r].filter(function(e) {
2299
+ return bt(r) ? r > 0 && r < 1 ? [t] : [] : [t - r, t + r].filter(function(e) {
2328
2300
  return e > 0 && e < 1;
2329
2301
  });
2330
2302
  }, J.prototype.split = function(e) {
2331
- if (e <= 0) return [Et(this.points[0]), this];
2332
- if (e >= 1) return [this, Et(this.points[this.points.length - 1])];
2333
- var t = Ct(this.points[0], this.points[1], e), n = Ct(this.points[1], this.points[2], e), r = Ct(this.points[2], this.points[3], e), i = Ct(t, n, e), a = Ct(n, r, e), o = Ct(i, a, e);
2303
+ if (e <= 0) return [Tt(this.points[0]), this];
2304
+ if (e >= 1) return [this, Tt(this.points[this.points.length - 1])];
2305
+ var t = St(this.points[0], this.points[1], e), n = St(this.points[1], this.points[2], e), r = St(this.points[2], this.points[3], e), i = St(t, n, e), a = St(n, r, e), o = St(i, a, e);
2334
2306
  return [new J(this.points[0], t, i, o, !0), new J(o, a, r, this.points[3], !0)];
2335
2307
  };
2336
- function Dt(e, t) {
2308
+ function Et(e, t) {
2337
2309
  var n = e.points[0][t], r = e.points[e.points.length - 1][t];
2338
2310
  if (n > r) {
2339
2311
  var i = r;
2340
2312
  r = n, n = i;
2341
2313
  }
2342
- for (var a = wt(3 * e.a[t], 2 * e.b[t], e.c[t]), o = 0; o < a.length; o += 1) if (a[o] > 0 && a[o] < 1) {
2314
+ for (var a = Ct(3 * e.a[t], 2 * e.b[t], e.c[t]), o = 0; o < a.length; o += 1) if (a[o] > 0 && a[o] < 1) {
2343
2315
  var s = e.point(a[o])[t];
2344
2316
  s < n ? n = s : s > r && (r = s);
2345
2317
  }
@@ -2350,8 +2322,8 @@ var t = /* @__PURE__ */ e(((e, t) => {
2350
2322
  }
2351
2323
  J.prototype.bounds = function() {
2352
2324
  return {
2353
- x: Dt(this, 0),
2354
- y: Dt(this, 1)
2325
+ x: Et(this, 0),
2326
+ y: Et(this, 1)
2355
2327
  };
2356
2328
  }, J.prototype.boundingBox = function() {
2357
2329
  var e = this.bounds();
@@ -2366,7 +2338,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
2366
2338
  cy: (e.y.max + e.y.min) / 2
2367
2339
  };
2368
2340
  };
2369
- function Ot(e, t, n) {
2341
+ function Dt(e, t, n) {
2370
2342
  var r = e.boundingBox();
2371
2343
  return {
2372
2344
  cx: r.cx,
@@ -2379,27 +2351,26 @@ var t = /* @__PURE__ */ e(((e, t) => {
2379
2351
  t2: n
2380
2352
  };
2381
2353
  }
2382
- function kt(e) {
2354
+ function Ot(e) {
2383
2355
  var t = e.bez.split(.5);
2384
- return [Ot(t[0], e.t1, e.t), Ot(t[1], e.t, e.t2)];
2356
+ return [Dt(t[0], e.t1, e.t), Dt(t[1], e.t, e.t2)];
2385
2357
  }
2386
- function At(e, t) {
2358
+ function kt(e, t) {
2387
2359
  return Math.abs(e.cx - t.cx) * 2 < e.width + t.width && Math.abs(e.cy - t.cy) * 2 < e.height + t.height;
2388
2360
  }
2389
- function jt(e, t, n, r, i, a) {
2390
- if (At(e, t)) {
2391
- if (n >= a || e.width <= r && e.height <= r && t.width <= r && t.height <= r) {
2392
- i.push([e.t, t.t]);
2393
- return;
2361
+ function At(e, t, n, r, i, a) {
2362
+ if (kt(e, t)) {
2363
+ if (n >= a || e.width <= r && e.height <= r && t.width <= r && t.height <= r) i.push([e.t, t.t]);
2364
+ else {
2365
+ var o = Ot(e), s = Ot(t);
2366
+ At(o[0], s[0], n + 1, r, i, a), At(o[0], s[1], n + 1, r, i, a), At(o[1], s[0], n + 1, r, i, a), At(o[1], s[1], n + 1, r, i, a);
2394
2367
  }
2395
- var o = kt(e), s = kt(t);
2396
- jt(o[0], s[0], n + 1, r, i, a), jt(o[0], s[1], n + 1, r, i, a), jt(o[1], s[0], n + 1, r, i, a), jt(o[1], s[1], n + 1, r, i, a);
2397
2368
  }
2398
2369
  }
2399
2370
  J.prototype.intersections = function(e, t, n) {
2400
2371
  t === void 0 && (t = 2), n === void 0 && (n = 7);
2401
2372
  var r = [];
2402
- return jt(Ot(this, 0, 1), Ot(e, 0, 1), 0, t, r, n), r;
2373
+ return At(Dt(this, 0, 1), Dt(e, 0, 1), 0, t, r, n), r;
2403
2374
  }, J.shapeSegment = function(e, t) {
2404
2375
  var n = (t + 1) % e.length();
2405
2376
  return new J(e.v[t], e.o[t], e.i[n], e.v[n], !0);
@@ -2407,14 +2378,14 @@ var t = /* @__PURE__ */ e(((e, t) => {
2407
2378
  var n = (t + 1) % e.length();
2408
2379
  return new J(e.v[n], e.i[n], e.o[t], e.v[t], !0);
2409
2380
  };
2410
- function Mt(e, t) {
2381
+ function jt(e, t) {
2411
2382
  return [
2412
2383
  e[1] * t[2] - e[2] * t[1],
2413
2384
  e[2] * t[0] - e[0] * t[2],
2414
2385
  e[0] * t[1] - e[1] * t[0]
2415
2386
  ];
2416
2387
  }
2417
- function Nt(e, t, n, r) {
2388
+ function Mt(e, t, n, r) {
2418
2389
  var i = [
2419
2390
  e[0],
2420
2391
  e[1],
@@ -2431,139 +2402,139 @@ var t = /* @__PURE__ */ e(((e, t) => {
2431
2402
  r[0],
2432
2403
  r[1],
2433
2404
  1
2434
- ], c = Mt(Mt(i, a), Mt(o, s));
2435
- return xt(c[2]) ? null : [c[0] / c[2], c[1] / c[2]];
2405
+ ], c = jt(jt(i, a), jt(o, s));
2406
+ return bt(c[2]) ? null : [c[0] / c[2], c[1] / c[2]];
2436
2407
  }
2437
- function Pt(e, t, n) {
2408
+ function Nt(e, t, n) {
2438
2409
  return [e[0] + Math.cos(t) * n, e[1] - Math.sin(t) * n];
2439
2410
  }
2440
- function Ft(e, t) {
2411
+ function Pt(e, t) {
2441
2412
  return Math.hypot(e[0] - t[0], e[1] - t[1]);
2442
2413
  }
2443
- function It(e, t) {
2444
- return bt(e[0], t[0]) && bt(e[1], t[1]);
2414
+ function Ft(e, t) {
2415
+ return yt(e[0], t[0]) && yt(e[1], t[1]);
2445
2416
  }
2446
- function Lt() {}
2447
- d([q], Lt), Lt.prototype.initModifierProperties = function(e, t) {
2448
- this.getValue = this.processKeys, this.amplitude = H.getProp(e, t.s, 0, null, this), this.frequency = H.getProp(e, t.r, 0, null, this), this.pointsType = H.getProp(e, t.pt, 0, null, this), this._isAnimated = this.amplitude.effectsSequence.length !== 0 || this.frequency.effectsSequence.length !== 0 || this.pointsType.effectsSequence.length !== 0;
2417
+ function It() {}
2418
+ u([pt], It), It.prototype.initModifierProperties = function(e, t) {
2419
+ this.getValue = this.processKeys, this.amplitude = U.getProp(e, t.s, 0, null, this), this.frequency = U.getProp(e, t.r, 0, null, this), this.pointsType = U.getProp(e, t.pt, 0, null, this), this._isAnimated = this.amplitude.effectsSequence.length !== 0 || this.frequency.effectsSequence.length !== 0 || this.pointsType.effectsSequence.length !== 0;
2449
2420
  };
2450
- function Rt(e, t, n, r, i, a, o) {
2421
+ function Lt(e, t, n, r, i, a, o) {
2451
2422
  var s = n - Math.PI / 2, c = n + Math.PI / 2, l = t[0] + Math.cos(n) * r * i, u = t[1] - Math.sin(n) * r * i;
2452
2423
  e.setTripleAt(l, u, l + Math.cos(s) * a, u - Math.sin(s) * a, l + Math.cos(c) * o, u - Math.sin(c) * o, e.length());
2453
2424
  }
2454
- function zt(e, t) {
2425
+ function Rt(e, t) {
2455
2426
  var n = [t[0] - e[0], t[1] - e[1]], r = -Math.PI * .5;
2456
2427
  return [Math.cos(r) * n[0] - Math.sin(r) * n[1], Math.sin(r) * n[0] + Math.cos(r) * n[1]];
2457
2428
  }
2458
- function Bt(e, t) {
2459
- var n = t === 0 ? e.length() - 1 : t - 1, r = (t + 1) % e.length(), i = e.v[n], a = e.v[r], o = zt(i, a);
2429
+ function zt(e, t) {
2430
+ var n = t === 0 ? e.length() - 1 : t - 1, r = (t + 1) % e.length(), i = e.v[n], a = e.v[r], o = Rt(i, a);
2460
2431
  return Math.atan2(0, 1) - Math.atan2(o[1], o[0]);
2461
2432
  }
2462
- function Vt(e, t, n, r, i, a, o) {
2463
- var s = Bt(t, n), c = t.v[n % t._length], l = t.v[n === 0 ? t._length - 1 : n - 1], u = t.v[(n + 1) % t._length], d = a === 2 ? Math.sqrt((c[0] - l[0]) ** 2 + (c[1] - l[1]) ** 2) : 0, f = a === 2 ? Math.sqrt((c[0] - u[0]) ** 2 + (c[1] - u[1]) ** 2) : 0;
2464
- Rt(e, t.v[n % t._length], s, o, r, f / ((i + 1) * 2), d / ((i + 1) * 2), a);
2433
+ function Bt(e, t, n, r, i, a, o) {
2434
+ var s = zt(t, n), c = t.v[n % t._length], l = t.v[n === 0 ? t._length - 1 : n - 1], u = t.v[(n + 1) % t._length], d = a === 2 ? Math.sqrt((c[0] - l[0]) ** 2 + (c[1] - l[1]) ** 2) : 0, f = a === 2 ? Math.sqrt((c[0] - u[0]) ** 2 + (c[1] - u[1]) ** 2) : 0;
2435
+ Lt(e, t.v[n % t._length], s, o, r, f / ((i + 1) * 2), d / ((i + 1) * 2), a);
2465
2436
  }
2466
- function Ht(e, t, n, r, i, a) {
2437
+ function Vt(e, t, n, r, i, a) {
2467
2438
  for (var o = 0; o < r; o += 1) {
2468
2439
  var s = (o + 1) / (r + 1), c = i === 2 ? Math.sqrt((t.points[3][0] - t.points[0][0]) ** 2 + (t.points[3][1] - t.points[0][1]) ** 2) : 0, l = t.normalAngle(s);
2469
- Rt(e, t.point(s), l, a, n, c / ((r + 1) * 2), c / ((r + 1) * 2), i), a = -a;
2440
+ Lt(e, t.point(s), l, a, n, c / ((r + 1) * 2), c / ((r + 1) * 2), i), a = -a;
2470
2441
  }
2471
2442
  return a;
2472
2443
  }
2473
- Lt.prototype.processPath = function(e, t, n, r) {
2474
- var i = e._length, a = W.newElement();
2444
+ It.prototype.processPath = function(e, t, n, r) {
2445
+ var i = e._length, a = G.newElement();
2475
2446
  if (a.c = e.c, e.c || --i, i === 0) return a;
2476
2447
  var o = -1, s = J.shapeSegment(e, 0);
2477
- Vt(a, e, 0, t, n, r, o);
2478
- for (var c = 0; c < i; c += 1) o = Ht(a, s, t, n, r, -o), s = c === i - 1 && !e.c ? null : J.shapeSegment(e, (c + 1) % i), Vt(a, e, c + 1, t, n, r, o);
2448
+ Bt(a, e, 0, t, n, r, o);
2449
+ for (var c = 0; c < i; c += 1) o = Vt(a, s, t, n, r, -o), s = c === i - 1 && !e.c ? null : J.shapeSegment(e, (c + 1) % i), Bt(a, e, c + 1, t, n, r, o);
2479
2450
  return a;
2480
- }, Lt.prototype.processShapes = function(e) {
2451
+ }, It.prototype.processShapes = function(e) {
2481
2452
  var t, n, r = this.shapes.length, i, a, o = this.amplitude.v, s = Math.max(0, Math.round(this.frequency.v)), c = this.pointsType.v;
2482
2453
  if (o !== 0) {
2483
2454
  var l, u;
2484
2455
  for (n = 0; n < r; n += 1) {
2485
- if (l = this.shapes[n], u = l.localShapeCollection, !(!l.shape._mdf && !this._mdf && !e)) for (u.releaseShapes(), l.shape._mdf = !0, t = l.shape.paths.shapes, a = l.shape.paths._length, i = 0; i < a; i += 1) u.addShape(this.processPath(t[i], o, s, c));
2456
+ if (l = this.shapes[n], u = l.localShapeCollection, l.shape._mdf || this._mdf || e) for (u.releaseShapes(), l.shape._mdf = !0, t = l.shape.paths.shapes, a = l.shape.paths._length, i = 0; i < a; i += 1) u.addShape(this.processPath(t[i], o, s, c));
2486
2457
  l.shape.paths = l.localShapeCollection;
2487
2458
  }
2488
2459
  }
2489
2460
  this.dynamicProperties.length || (this._mdf = !1);
2490
2461
  };
2491
- function Ut(e, t, n) {
2462
+ function Ht(e, t, n) {
2492
2463
  var r = Math.atan2(t[0] - e[0], t[1] - e[1]);
2493
- return [Pt(e, r, n), Pt(t, r, n)];
2464
+ return [Nt(e, r, n), Nt(t, r, n)];
2494
2465
  }
2495
- function Wt(e, t) {
2496
- var n, r, i, a, o, s, c = Ut(e.points[0], e.points[1], t);
2497
- n = c[0], r = c[1], c = Ut(e.points[1], e.points[2], t), i = c[0], a = c[1], c = Ut(e.points[2], e.points[3], t), o = c[0], s = c[1];
2498
- var l = Nt(n, r, i, a);
2466
+ function Ut(e, t) {
2467
+ var n, r, i, a, o, s, c = Ht(e.points[0], e.points[1], t);
2468
+ n = c[0], r = c[1], c = Ht(e.points[1], e.points[2], t), i = c[0], a = c[1], c = Ht(e.points[2], e.points[3], t), o = c[0], s = c[1];
2469
+ var l = Mt(n, r, i, a);
2499
2470
  l === null && (l = r);
2500
- var u = Nt(o, s, i, a);
2471
+ var u = Mt(o, s, i, a);
2501
2472
  return u === null && (u = o), new J(n, l, u, s);
2502
2473
  }
2503
- function Gt(e, t, n, r, i) {
2474
+ function Wt(e, t, n, r, i) {
2504
2475
  var a = t.points[3], o = n.points[0];
2505
- if (r === 3 || It(a, o)) return a;
2476
+ if (r === 3 || Ft(a, o)) return a;
2506
2477
  if (r === 2) {
2507
- var s = -t.tangentAngle(1), c = -n.tangentAngle(0) + Math.PI, l = Nt(a, Pt(a, s + Math.PI / 2, 100), o, Pt(o, s + Math.PI / 2, 100)), u = l ? Ft(l, a) : Ft(a, o) / 2, d = Pt(a, s, 2 * u * k);
2508
- return e.setXYAt(d[0], d[1], "o", e.length() - 1), d = Pt(o, c, 2 * u * k), e.setTripleAt(o[0], o[1], o[0], o[1], d[0], d[1], e.length()), o;
2478
+ var s = -t.tangentAngle(1), c = -n.tangentAngle(0) + Math.PI, l = Mt(a, Nt(a, s + Math.PI / 2, 100), o, Nt(o, s + Math.PI / 2, 100)), u = l ? Pt(l, a) : Pt(a, o) / 2, d = Nt(a, s, 2 * u * O);
2479
+ return e.setXYAt(d[0], d[1], "o", e.length() - 1), d = Nt(o, c, 2 * u * O), e.setTripleAt(o[0], o[1], o[0], o[1], d[0], d[1], e.length()), o;
2509
2480
  }
2510
- var f = Nt(It(a, t.points[2]) ? t.points[0] : t.points[2], a, o, It(o, n.points[1]) ? n.points[3] : n.points[1]);
2511
- return f && Ft(f, a) < i ? (e.setTripleAt(f[0], f[1], f[0], f[1], f[0], f[1], e.length()), f) : a;
2481
+ var f = Mt(Ft(a, t.points[2]) ? t.points[0] : t.points[2], a, o, Ft(o, n.points[1]) ? n.points[3] : n.points[1]);
2482
+ return f && Pt(f, a) < i ? (e.setTripleAt(f[0], f[1], f[0], f[1], f[0], f[1], e.length()), f) : a;
2512
2483
  }
2513
- function Kt(e, t) {
2484
+ function Gt(e, t) {
2514
2485
  var n = e.intersections(t);
2515
- return n.length && bt(n[0][0], 1) && n.shift(), n.length ? n[0] : null;
2486
+ return n.length && yt(n[0][0], 1) && n.shift(), n.length ? n[0] : null;
2516
2487
  }
2517
- function qt(e, t) {
2518
- var n = e.slice(), r = t.slice(), i = Kt(e[e.length - 1], t[0]);
2519
- return i && (n[e.length - 1] = e[e.length - 1].split(i[0])[0], r[0] = t[0].split(i[1])[1]), e.length > 1 && t.length > 1 && (i = Kt(e[0], t[t.length - 1]), i) ? [[e[0].split(i[0])[0]], [t[t.length - 1].split(i[1])[1]]] : [n, r];
2488
+ function Kt(e, t) {
2489
+ var n = e.slice(), r = t.slice(), i = Gt(e[e.length - 1], t[0]);
2490
+ return i && (n[e.length - 1] = e[e.length - 1].split(i[0])[0], r[0] = t[0].split(i[1])[1]), e.length > 1 && t.length > 1 && (i = Gt(e[0], t[t.length - 1]), i) ? [[e[0].split(i[0])[0]], [t[t.length - 1].split(i[1])[1]]] : [n, r];
2520
2491
  }
2521
- function Jt(e) {
2522
- for (var t, n = 1; n < e.length; n += 1) t = qt(e[n - 1], e[n]), e[n - 1] = t[0], e[n] = t[1];
2523
- return e.length > 1 && (t = qt(e[e.length - 1], e[0]), e[e.length - 1] = t[0], e[0] = t[1]), e;
2492
+ function qt(e) {
2493
+ for (var t, n = 1; n < e.length; n += 1) t = Kt(e[n - 1], e[n]), e[n - 1] = t[0], e[n] = t[1];
2494
+ return e.length > 1 && (t = Kt(e[e.length - 1], e[0]), e[e.length - 1] = t[0], e[0] = t[1]), e;
2524
2495
  }
2525
- function Yt(e, t) {
2496
+ function Jt(e, t) {
2526
2497
  var n = e.inflectionPoints(), r, i, a, o;
2527
- if (n.length === 0) return [Wt(e, t)];
2528
- if (n.length === 1 || bt(n[1], 1)) return a = e.split(n[0]), r = a[0], i = a[1], [Wt(r, t), Wt(i, t)];
2498
+ if (n.length === 0) return [Ut(e, t)];
2499
+ if (n.length === 1 || yt(n[1], 1)) return a = e.split(n[0]), r = a[0], i = a[1], [Ut(r, t), Ut(i, t)];
2529
2500
  a = e.split(n[0]), r = a[0];
2530
2501
  var s = (n[1] - n[0]) / (1 - n[0]);
2531
2502
  return a = a[1].split(s), o = a[0], i = a[1], [
2532
- Wt(r, t),
2533
- Wt(o, t),
2534
- Wt(i, t)
2503
+ Ut(r, t),
2504
+ Ut(o, t),
2505
+ Ut(i, t)
2535
2506
  ];
2536
2507
  }
2537
- function Xt() {}
2538
- d([q], Xt), Xt.prototype.initModifierProperties = function(e, t) {
2539
- this.getValue = this.processKeys, this.amount = H.getProp(e, t.a, 0, null, this), this.miterLimit = H.getProp(e, t.ml, 0, null, this), this.lineJoin = t.lj, this._isAnimated = this.amount.effectsSequence.length !== 0;
2540
- }, Xt.prototype.processPath = function(e, t, n, r) {
2541
- var i = W.newElement();
2508
+ function Yt() {}
2509
+ u([pt], Yt), Yt.prototype.initModifierProperties = function(e, t) {
2510
+ this.getValue = this.processKeys, this.amount = U.getProp(e, t.a, 0, null, this), this.miterLimit = U.getProp(e, t.ml, 0, null, this), this.lineJoin = t.lj, this._isAnimated = this.amount.effectsSequence.length !== 0;
2511
+ }, Yt.prototype.processPath = function(e, t, n, r) {
2512
+ var i = G.newElement();
2542
2513
  i.c = e.c;
2543
2514
  var a = e.length();
2544
2515
  e.c || --a;
2545
2516
  var o, s, c, l = [];
2546
- for (o = 0; o < a; o += 1) c = J.shapeSegment(e, o), l.push(Yt(c, t));
2547
- if (!e.c) for (o = a - 1; o >= 0; --o) c = J.shapeSegmentInverted(e, o), l.push(Yt(c, t));
2548
- l = Jt(l);
2517
+ for (o = 0; o < a; o += 1) c = J.shapeSegment(e, o), l.push(Jt(c, t));
2518
+ if (!e.c) for (o = a - 1; o >= 0; --o) c = J.shapeSegmentInverted(e, o), l.push(Jt(c, t));
2519
+ l = qt(l);
2549
2520
  var u = null, d = null;
2550
2521
  for (o = 0; o < l.length; o += 1) {
2551
2522
  var f = l[o];
2552
- for (d && (u = Gt(i, d, f[0], n, r)), d = f[f.length - 1], s = 0; s < f.length; s += 1) c = f[s], u && It(c.points[0], u) ? i.setXYAt(c.points[1][0], c.points[1][1], "o", i.length() - 1) : i.setTripleAt(c.points[0][0], c.points[0][1], c.points[1][0], c.points[1][1], c.points[0][0], c.points[0][1], i.length()), i.setTripleAt(c.points[3][0], c.points[3][1], c.points[3][0], c.points[3][1], c.points[2][0], c.points[2][1], i.length()), u = c.points[3];
2523
+ for (d && (u = Wt(i, d, f[0], n, r)), d = f[f.length - 1], s = 0; s < f.length; s += 1) c = f[s], u && Ft(c.points[0], u) ? i.setXYAt(c.points[1][0], c.points[1][1], "o", i.length() - 1) : i.setTripleAt(c.points[0][0], c.points[0][1], c.points[1][0], c.points[1][1], c.points[0][0], c.points[0][1], i.length()), i.setTripleAt(c.points[3][0], c.points[3][1], c.points[3][0], c.points[3][1], c.points[2][0], c.points[2][1], i.length()), u = c.points[3];
2553
2524
  }
2554
- return l.length && Gt(i, d, l[0][0], n, r), i;
2555
- }, Xt.prototype.processShapes = function(e) {
2525
+ return l.length && Wt(i, d, l[0][0], n, r), i;
2526
+ }, Yt.prototype.processShapes = function(e) {
2556
2527
  var t, n, r = this.shapes.length, i, a, o = this.amount.v, s = this.miterLimit.v, c = this.lineJoin;
2557
2528
  if (o !== 0) {
2558
2529
  var l, u;
2559
2530
  for (n = 0; n < r; n += 1) {
2560
- if (l = this.shapes[n], u = l.localShapeCollection, !(!l.shape._mdf && !this._mdf && !e)) for (u.releaseShapes(), l.shape._mdf = !0, t = l.shape.paths.shapes, a = l.shape.paths._length, i = 0; i < a; i += 1) u.addShape(this.processPath(t[i], o, c, s));
2531
+ if (l = this.shapes[n], u = l.localShapeCollection, l.shape._mdf || this._mdf || e) for (u.releaseShapes(), l.shape._mdf = !0, t = l.shape.paths.shapes, a = l.shape.paths._length, i = 0; i < a; i += 1) u.addShape(this.processPath(t[i], o, c, s));
2561
2532
  l.shape.paths = l.localShapeCollection;
2562
2533
  }
2563
2534
  }
2564
2535
  this.dynamicProperties.length || (this._mdf = !1);
2565
2536
  };
2566
- function Zt(e) {
2537
+ function Xt(e) {
2567
2538
  for (var t = e.fStyle ? e.fStyle.split(" ") : [], n = "normal", r = "normal", i = t.length, a, o = 0; o < i; o += 1) switch (a = t[o].toLowerCase(), a) {
2568
2539
  case "italic":
2569
2540
  r = "italic";
@@ -2582,24 +2553,21 @@ var t = /* @__PURE__ */ e(((e, t) => {
2582
2553
  n = "400";
2583
2554
  break;
2584
2555
  case "light":
2585
- case "thin":
2586
- n = "200";
2587
- break;
2588
- default: break;
2556
+ case "thin": n = "200";
2589
2557
  }
2590
2558
  return {
2591
2559
  style: r,
2592
2560
  weight: e.fWeight || n
2593
2561
  };
2594
2562
  }
2595
- var Qt = function() {
2596
- var e = 5e3, t = {
2563
+ var Zt = function() {
2564
+ var e = {
2597
2565
  w: 0,
2598
2566
  size: 0,
2599
2567
  shapes: [],
2600
2568
  data: { shapes: [] }
2601
- }, n = [];
2602
- n = n.concat([
2569
+ }, t = [];
2570
+ t = t.concat([
2603
2571
  2304,
2604
2572
  2305,
2605
2573
  2306,
@@ -2634,39 +2602,39 @@ var t = /* @__PURE__ */ e(((e, t) => {
2634
2602
  2402,
2635
2603
  2403
2636
2604
  ]);
2637
- var r = 127988, i = 917631, a = 917601, o = 917626, s = 65039, c = 8205, l = 127462, d = 127487, f = [
2605
+ var n = 127988, r = 917631, i = 917601, a = 917626, o = 65039, s = 8205, c = 127462, u = 127487, d = [
2638
2606
  "d83cdffb",
2639
2607
  "d83cdffc",
2640
2608
  "d83cdffd",
2641
2609
  "d83cdffe",
2642
2610
  "d83cdfff"
2643
2611
  ];
2644
- function p(e) {
2612
+ function f(e) {
2645
2613
  var t = e.split(","), n, r = t.length, i = [];
2646
2614
  for (n = 0; n < r; n += 1) t[n] !== "sans-serif" && t[n] !== "monospace" && i.push(t[n]);
2647
2615
  return i.join(",");
2648
2616
  }
2649
- function m(e, t) {
2650
- var n = u("span");
2617
+ function p(e, t) {
2618
+ var n = l("span");
2651
2619
  n.setAttribute("aria-hidden", !0), n.style.fontFamily = t;
2652
- var r = u("span");
2620
+ var r = l("span");
2653
2621
  r.innerText = "giItT1WQy@!-/#", n.style.position = "absolute", n.style.left = "-10000px", n.style.top = "-10000px", n.style.fontSize = "300px", n.style.fontVariant = "normal", n.style.fontStyle = "normal", n.style.fontWeight = "normal", n.style.letterSpacing = "0", n.appendChild(r), document.body.appendChild(n);
2654
2622
  var i = r.offsetWidth;
2655
- return r.style.fontFamily = p(e) + ", " + t, {
2623
+ return r.style.fontFamily = f(e) + ", " + t, {
2656
2624
  node: r,
2657
2625
  w: i,
2658
2626
  parent: n
2659
2627
  };
2660
2628
  }
2661
- function h() {
2662
- var t, n = this.fonts.length, r, i, a = n;
2663
- for (t = 0; t < n; t += 1) this.fonts[t].loaded ? --a : this.fonts[t].fOrigin === "n" || this.fonts[t].origin === 0 ? this.fonts[t].loaded = !0 : (r = this.fonts[t].monoCase.node, i = this.fonts[t].monoCase.w, r.offsetWidth === i ? (r = this.fonts[t].sansCase.node, i = this.fonts[t].sansCase.w, r.offsetWidth !== i && (--a, this.fonts[t].loaded = !0)) : (--a, this.fonts[t].loaded = !0), this.fonts[t].loaded && (this.fonts[t].sansCase.parent.parentNode.removeChild(this.fonts[t].sansCase.parent), this.fonts[t].monoCase.parent.parentNode.removeChild(this.fonts[t].monoCase.parent)));
2664
- a !== 0 && Date.now() - this.initTime < e ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
2629
+ function m() {
2630
+ var e, t = this.fonts.length, n, r, i = t;
2631
+ for (e = 0; e < t; e += 1) this.fonts[e].loaded ? --i : this.fonts[e].fOrigin === "n" || this.fonts[e].origin === 0 ? this.fonts[e].loaded = !0 : (n = this.fonts[e].monoCase.node, r = this.fonts[e].monoCase.w, n.offsetWidth === r ? (n = this.fonts[e].sansCase.node, r = this.fonts[e].sansCase.w, n.offsetWidth !== r && (--i, this.fonts[e].loaded = !0)) : (--i, this.fonts[e].loaded = !0), this.fonts[e].loaded && (this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent), this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));
2632
+ i !== 0 && Date.now() - this.initTime < 5e3 ? setTimeout(this.checkLoadedFontsBinded, 20) : setTimeout(this.setIsLoadedBinded, 10);
2665
2633
  }
2666
- function g(e, t) {
2667
- var n = document.body && t ? "svg" : "canvas", r, i = Zt(e);
2634
+ function h(e, t) {
2635
+ var n = document.body && t ? "svg" : "canvas", r, i = Xt(e);
2668
2636
  if (n === "svg") {
2669
- var a = L("text");
2637
+ var a = R("text");
2670
2638
  a.style.fontSize = "100px", a.setAttribute("font-family", e.fFamily), a.setAttribute("font-style", i.style), a.setAttribute("font-weight", i.weight), a.textContent = "1", e.fClass ? (a.style.fontFamily = "inherit", a.setAttribute("class", e.fClass)) : a.style.fontFamily = e.fFamily, t.appendChild(a), r = a;
2671
2639
  } else {
2672
2640
  var o = new OffscreenCanvas(500, 500).getContext("2d");
@@ -2677,48 +2645,41 @@ var t = /* @__PURE__ */ e(((e, t) => {
2677
2645
  }
2678
2646
  return { measureText: s };
2679
2647
  }
2680
- function _(e, t) {
2681
- if (!e) {
2682
- this.isLoaded = !0;
2683
- return;
2684
- }
2685
- if (this.chars) {
2686
- this.isLoaded = !0, this.fonts = e.list;
2687
- return;
2688
- }
2689
- if (!document.body) {
2690
- this.isLoaded = !0, e.list.forEach(function(e) {
2691
- e.helper = g(e), e.cache = {};
2692
- }), this.fonts = e.list;
2693
- return;
2694
- }
2695
- var n = e.list, r, i = n.length, a = i;
2696
- for (r = 0; r < i; r += 1) {
2697
- var o = !0, s, c;
2698
- if (n[r].loaded = !1, n[r].monoCase = m(n[r].fFamily, "monospace"), n[r].sansCase = m(n[r].fFamily, "sans-serif"), !n[r].fPath) n[r].loaded = !0, --a;
2699
- else if (n[r].fOrigin === "p" || n[r].origin === 3) {
2700
- if (s = document.querySelectorAll("style[f-forigin=\"p\"][f-family=\"" + n[r].fFamily + "\"], style[f-origin=\"3\"][f-family=\"" + n[r].fFamily + "\"]"), s.length > 0 && (o = !1), o) {
2701
- var l = u("style");
2702
- l.setAttribute("f-forigin", n[r].fOrigin), l.setAttribute("f-origin", n[r].origin), l.setAttribute("f-family", n[r].fFamily), l.type = "text/css", l.innerText = "@font-face {font-family: " + n[r].fFamily + "; font-style: normal; src: url('" + n[r].fPath + "');}", t.appendChild(l);
2703
- }
2704
- } else if (n[r].fOrigin === "g" || n[r].origin === 1) {
2705
- for (s = document.querySelectorAll("link[f-forigin=\"g\"], link[f-origin=\"1\"]"), c = 0; c < s.length; c += 1) s[c].href.indexOf(n[r].fPath) !== -1 && (o = !1);
2706
- if (o) {
2707
- var d = u("link");
2708
- d.setAttribute("f-forigin", n[r].fOrigin), d.setAttribute("f-origin", n[r].origin), d.type = "text/css", d.rel = "stylesheet", d.href = n[r].fPath, document.body.appendChild(d);
2709
- }
2710
- } else if (n[r].fOrigin === "t" || n[r].origin === 2) {
2711
- for (s = document.querySelectorAll("script[f-forigin=\"t\"], script[f-origin=\"2\"]"), c = 0; c < s.length; c += 1) n[r].fPath === s[c].src && (o = !1);
2712
- if (o) {
2713
- var f = u("link");
2714
- f.setAttribute("f-forigin", n[r].fOrigin), f.setAttribute("f-origin", n[r].origin), f.setAttribute("rel", "stylesheet"), f.setAttribute("href", n[r].fPath), t.appendChild(f);
2648
+ function g(e, t) {
2649
+ if (!e) this.isLoaded = !0;
2650
+ else if (this.chars) this.isLoaded = !0, this.fonts = e.list;
2651
+ else if (!document.body) this.isLoaded = !0, e.list.forEach(function(e) {
2652
+ e.helper = h(e), e.cache = {};
2653
+ }), this.fonts = e.list;
2654
+ else {
2655
+ var n = e.list, r, i = n.length, a = i;
2656
+ for (r = 0; r < i; r += 1) {
2657
+ var o = !0, s, c;
2658
+ if (n[r].loaded = !1, n[r].monoCase = p(n[r].fFamily, "monospace"), n[r].sansCase = p(n[r].fFamily, "sans-serif"), !n[r].fPath) n[r].loaded = !0, --a;
2659
+ else if (n[r].fOrigin === "p" || n[r].origin === 3) {
2660
+ if (s = document.querySelectorAll("style[f-forigin=\"p\"][f-family=\"" + n[r].fFamily + "\"], style[f-origin=\"3\"][f-family=\"" + n[r].fFamily + "\"]"), s.length > 0 && (o = !1), o) {
2661
+ var u = l("style");
2662
+ u.setAttribute("f-forigin", n[r].fOrigin), u.setAttribute("f-origin", n[r].origin), u.setAttribute("f-family", n[r].fFamily), u.type = "text/css", u.innerText = "@font-face {font-family: " + n[r].fFamily + "; font-style: normal; src: url('" + n[r].fPath + "');}", t.appendChild(u);
2663
+ }
2664
+ } else if (n[r].fOrigin === "g" || n[r].origin === 1) {
2665
+ for (s = document.querySelectorAll("link[f-forigin=\"g\"], link[f-origin=\"1\"]"), c = 0; c < s.length; c += 1) s[c].href.indexOf(n[r].fPath) !== -1 && (o = !1);
2666
+ if (o) {
2667
+ var d = l("link");
2668
+ d.setAttribute("f-forigin", n[r].fOrigin), d.setAttribute("f-origin", n[r].origin), d.type = "text/css", d.rel = "stylesheet", d.href = n[r].fPath, document.body.appendChild(d);
2669
+ }
2670
+ } else if (n[r].fOrigin === "t" || n[r].origin === 2) {
2671
+ for (s = document.querySelectorAll("script[f-forigin=\"t\"], script[f-origin=\"2\"]"), c = 0; c < s.length; c += 1) n[r].fPath === s[c].src && (o = !1);
2672
+ if (o) {
2673
+ var f = l("link");
2674
+ f.setAttribute("f-forigin", n[r].fOrigin), f.setAttribute("f-origin", n[r].origin), f.setAttribute("rel", "stylesheet"), f.setAttribute("href", n[r].fPath), t.appendChild(f);
2675
+ }
2715
2676
  }
2677
+ n[r].helper = h(n[r], t), n[r].cache = {}, this.fonts.push(n[r]);
2716
2678
  }
2717
- n[r].helper = g(n[r], t), n[r].cache = {}, this.fonts.push(n[r]);
2679
+ a === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
2718
2680
  }
2719
- a === 0 ? this.isLoaded = !0 : setTimeout(this.checkLoadedFonts.bind(this), 100);
2720
2681
  }
2721
- function v(e) {
2682
+ function _(e) {
2722
2683
  if (e) {
2723
2684
  this.chars ||= [];
2724
2685
  var t, n = e.length, r, i = this.chars.length, a;
@@ -2728,14 +2689,14 @@ var t = /* @__PURE__ */ e(((e, t) => {
2728
2689
  }
2729
2690
  }
2730
2691
  }
2731
- function y(e, n, r) {
2692
+ function v(t, n, r) {
2732
2693
  for (var i = 0, a = this.chars.length; i < a;) {
2733
- if (this.chars[i].ch === e && this.chars[i].style === n && this.chars[i].fFamily === r) return this.chars[i];
2694
+ if (this.chars[i].ch === t && this.chars[i].style === n && this.chars[i].fFamily === r) return this.chars[i];
2734
2695
  i += 1;
2735
2696
  }
2736
- return (typeof e == "string" && e.charCodeAt(0) !== 13 || !e) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", e, n, r)), t;
2697
+ return (typeof t == "string" && t.charCodeAt(0) !== 13 || !t) && console && console.warn && !this._warned && (this._warned = !0, console.warn("Missing character from exported characters list: ", t, n, r)), e;
2737
2698
  }
2738
- function b(e, t, n) {
2699
+ function y(e, t, n) {
2739
2700
  var r = this.getFontByName(t), i = e;
2740
2701
  if (!r.cache[i]) {
2741
2702
  var a = r.helper;
@@ -2746,14 +2707,14 @@ var t = /* @__PURE__ */ e(((e, t) => {
2746
2707
  }
2747
2708
  return r.cache[i] * n;
2748
2709
  }
2749
- function x(e) {
2710
+ function b(e) {
2750
2711
  for (var t = 0, n = this.fonts.length; t < n;) {
2751
2712
  if (this.fonts[t].fName === e) return this.fonts[t];
2752
2713
  t += 1;
2753
2714
  }
2754
2715
  return this.fonts[0];
2755
2716
  }
2756
- function S(e) {
2717
+ function x(e) {
2757
2718
  var t = 0, n = e.charCodeAt(0);
2758
2719
  if (n >= 55296 && n <= 56319) {
2759
2720
  var r = e.charCodeAt(1);
@@ -2761,63 +2722,63 @@ var t = /* @__PURE__ */ e(((e, t) => {
2761
2722
  }
2762
2723
  return t;
2763
2724
  }
2764
- function C(e, t) {
2725
+ function S(e, t) {
2765
2726
  var n = e.toString(16) + t.toString(16);
2766
- return f.indexOf(n) !== -1;
2727
+ return d.indexOf(n) !== -1;
2728
+ }
2729
+ function C(e) {
2730
+ return e === s;
2767
2731
  }
2768
2732
  function w(e) {
2769
- return e === c;
2733
+ return e === o;
2770
2734
  }
2771
2735
  function T(e) {
2772
- return e === s;
2736
+ var t = x(e);
2737
+ return t >= c && t <= u;
2773
2738
  }
2774
2739
  function E(e) {
2775
- var t = S(e);
2776
- return t >= l && t <= d;
2740
+ return T(e.substr(0, 2)) && T(e.substr(2, 2));
2777
2741
  }
2778
2742
  function D(e) {
2779
- return E(e.substr(0, 2)) && E(e.substr(2, 2));
2780
- }
2781
- function O(e) {
2782
- return n.indexOf(e) !== -1;
2743
+ return t.indexOf(e) !== -1;
2783
2744
  }
2784
- function k(e, t) {
2785
- var n = S(e.substr(t, 2));
2786
- if (n !== r) return !1;
2745
+ function O(e, t) {
2746
+ var o = x(e.substr(t, 2));
2747
+ if (o !== n) return !1;
2787
2748
  var s = 0;
2788
2749
  for (t += 2; s < 5;) {
2789
- if (n = S(e.substr(t, 2)), n < a || n > o) return !1;
2750
+ if (o = x(e.substr(t, 2)), o < i || o > a) return !1;
2790
2751
  s += 1, t += 2;
2791
2752
  }
2792
- return S(e.substr(t, 2)) === i;
2753
+ return x(e.substr(t, 2)) === r;
2793
2754
  }
2794
- function A() {
2755
+ function k() {
2795
2756
  this.isLoaded = !0;
2796
2757
  }
2797
- var j = function() {
2758
+ var A = function() {
2798
2759
  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);
2799
2760
  };
2800
- return j.isModifier = C, j.isZeroWidthJoiner = w, j.isFlagEmoji = D, j.isRegionalCode = E, j.isCombinedCharacter = O, j.isRegionalFlag = k, j.isVariationSelector = T, j.BLACK_FLAG_CODE_POINT = r, j.prototype = {
2801
- addChars: v,
2802
- addFonts: _,
2803
- getCharData: y,
2804
- getFontByName: x,
2805
- measureText: b,
2806
- checkLoadedFonts: h,
2807
- setIsLoaded: A
2808
- }, j;
2761
+ return A.isModifier = S, A.isZeroWidthJoiner = C, A.isFlagEmoji = E, A.isRegionalCode = T, A.isCombinedCharacter = D, A.isRegionalFlag = O, A.isVariationSelector = w, A.BLACK_FLAG_CODE_POINT = n, A.prototype = {
2762
+ addChars: _,
2763
+ addFonts: g,
2764
+ getCharData: v,
2765
+ getFontByName: b,
2766
+ measureText: y,
2767
+ checkLoadedFonts: m,
2768
+ setIsLoaded: k
2769
+ }, A;
2809
2770
  }();
2810
- function $t(e) {
2771
+ function Qt(e) {
2811
2772
  this.animationData = e;
2812
2773
  }
2813
- $t.prototype.getProp = function(e) {
2774
+ Qt.prototype.getProp = function(e) {
2814
2775
  return this.animationData.slots && this.animationData.slots[e.sid] ? Object.assign(e, this.animationData.slots[e.sid].p) : e;
2815
2776
  };
2816
- function en(e) {
2817
- return new $t(e);
2777
+ function $t(e) {
2778
+ return new Qt(e);
2818
2779
  }
2819
- function tn() {}
2820
- tn.prototype = {
2780
+ function en() {}
2781
+ en.prototype = {
2821
2782
  initRenderable: function() {
2822
2783
  this.isInRange = !1, this.hidden = !1, this.isTransparent = !1, this.renderableComponents = [];
2823
2784
  },
@@ -2858,7 +2819,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
2858
2819
  };
2859
2820
  }
2860
2821
  };
2861
- var nn = function() {
2822
+ var tn = function() {
2862
2823
  var e = {
2863
2824
  0: "source-over",
2864
2825
  1: "multiply",
@@ -2881,78 +2842,76 @@ var t = /* @__PURE__ */ e(((e, t) => {
2881
2842
  return e[t] || "";
2882
2843
  };
2883
2844
  }();
2845
+ function nn(e, t, n) {
2846
+ this.p = U.getProp(t, e.v, 0, 0, n);
2847
+ }
2884
2848
  function rn(e, t, n) {
2885
- this.p = H.getProp(t, e.v, 0, 0, n);
2849
+ this.p = U.getProp(t, e.v, 0, 0, n);
2886
2850
  }
2887
2851
  function an(e, t, n) {
2888
- this.p = H.getProp(t, e.v, 0, 0, n);
2852
+ this.p = U.getProp(t, e.v, 1, 0, n);
2889
2853
  }
2890
2854
  function on(e, t, n) {
2891
- this.p = H.getProp(t, e.v, 1, 0, n);
2855
+ this.p = U.getProp(t, e.v, 1, 0, n);
2892
2856
  }
2893
2857
  function sn(e, t, n) {
2894
- this.p = H.getProp(t, e.v, 1, 0, n);
2858
+ this.p = U.getProp(t, e.v, 0, 0, n);
2895
2859
  }
2896
2860
  function cn(e, t, n) {
2897
- this.p = H.getProp(t, e.v, 0, 0, n);
2861
+ this.p = U.getProp(t, e.v, 0, 0, n);
2898
2862
  }
2899
2863
  function ln(e, t, n) {
2900
- this.p = H.getProp(t, e.v, 0, 0, n);
2901
- }
2902
- function un(e, t, n) {
2903
- this.p = H.getProp(t, e.v, 0, 0, n);
2864
+ this.p = U.getProp(t, e.v, 0, 0, n);
2904
2865
  }
2905
- function dn() {
2866
+ function un() {
2906
2867
  this.p = {};
2907
2868
  }
2908
- function fn(e, t) {
2869
+ function dn(e, t) {
2909
2870
  var n = e.ef || [];
2910
2871
  this.effectElements = [];
2911
2872
  var r, i = n.length, a;
2912
- for (r = 0; r < i; r += 1) a = new pn(n[r], t), this.effectElements.push(a);
2873
+ for (r = 0; r < i; r += 1) a = new fn(n[r], t), this.effectElements.push(a);
2913
2874
  }
2914
- function pn(e, t) {
2875
+ function fn(e, t) {
2915
2876
  this.init(e, t);
2916
2877
  }
2917
- d([U], pn), pn.prototype.getValue = pn.prototype.iterateDynamicProperties, pn.prototype.init = function(e, t) {
2878
+ u([W], fn), fn.prototype.getValue = fn.prototype.iterateDynamicProperties, fn.prototype.init = function(e, t) {
2918
2879
  this.data = e, this.effectElements = [], this.initDynamicPropertyContainer(t);
2919
2880
  var n, r = this.data.ef.length, i, a = this.data.ef;
2920
2881
  for (n = 0; n < r; n += 1) {
2921
2882
  switch (i = null, a[n].ty) {
2922
2883
  case 0:
2923
- i = new rn(a[n], t, this);
2884
+ i = new nn(a[n], t, this);
2924
2885
  break;
2925
2886
  case 1:
2926
- i = new an(a[n], t, this);
2887
+ i = new rn(a[n], t, this);
2927
2888
  break;
2928
2889
  case 2:
2929
- i = new on(a[n], t, this);
2890
+ i = new an(a[n], t, this);
2930
2891
  break;
2931
2892
  case 3:
2932
- i = new sn(a[n], t, this);
2893
+ i = new on(a[n], t, this);
2933
2894
  break;
2934
2895
  case 4:
2935
2896
  case 7:
2936
- i = new un(a[n], t, this);
2897
+ i = new ln(a[n], t, this);
2937
2898
  break;
2938
2899
  case 10:
2939
- i = new cn(a[n], t, this);
2900
+ i = new sn(a[n], t, this);
2940
2901
  break;
2941
2902
  case 11:
2942
- i = new ln(a[n], t, this);
2903
+ i = new cn(a[n], t, this);
2943
2904
  break;
2944
2905
  case 5:
2945
- i = new fn(a[n], t, this);
2946
- break;
2947
- default:
2948
2906
  i = new dn(a[n], t, this);
2949
2907
  break;
2908
+ default: i = new un(a[n], t, this);
2950
2909
  }
2951
2910
  i && this.effectElements.push(i);
2952
2911
  }
2953
2912
  };
2954
- function mn() {}
2955
- mn.prototype = {
2913
+ function pn() {}
2914
+ pn.prototype = {
2956
2915
  checkMasks: function() {
2957
2916
  if (!this.data.hasMask) return !1;
2958
2917
  for (var e = 0, t = this.data.masksProperties.length; e < t;) {
@@ -2962,7 +2921,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
2962
2921
  return !1;
2963
2922
  },
2964
2923
  initExpressions: function() {
2965
- var e = ue();
2924
+ var e = ce();
2966
2925
  if (e) {
2967
2926
  var t = e("layer"), n = e("effects"), r = e("shape"), i = e("text"), a = e("comp");
2968
2927
  this.layerInterface = t(this), this.data.hasMask && this.maskManager && this.layerInterface.registerMaskInterface(this.maskManager);
@@ -2971,19 +2930,19 @@ var t = /* @__PURE__ */ e(((e, t) => {
2971
2930
  }
2972
2931
  },
2973
2932
  setBlendMode: function() {
2974
- var e = nn(this.data.bm), t = this.baseElement || this.layerElement;
2933
+ var e = tn(this.data.bm), t = this.baseElement || this.layerElement;
2975
2934
  t.style["mix-blend-mode"] = e;
2976
2935
  },
2977
2936
  initBaseData: function(e, t, n) {
2978
- this.globalData = t, this.comp = n, this.data = e, this.layerId = I(), this.data.sr || (this.data.sr = 1), this.effectsManager = new fn(this.data, this, this.dynamicProperties);
2937
+ this.globalData = t, this.comp = n, this.data = e, this.layerId = I(), this.data.sr || (this.data.sr = 1), this.effectsManager = new dn(this.data, this, this.dynamicProperties);
2979
2938
  },
2980
2939
  getType: function() {
2981
2940
  return this.type;
2982
2941
  },
2983
2942
  sourceRectAtTime: function() {}
2984
2943
  };
2985
- function hn() {}
2986
- hn.prototype = {
2944
+ function mn() {}
2945
+ mn.prototype = {
2987
2946
  initFrame: function() {
2988
2947
  this._isFirstFrame = !1, this.dynamicProperties = [], this._mdf = !1;
2989
2948
  },
@@ -2995,28 +2954,28 @@ var t = /* @__PURE__ */ e(((e, t) => {
2995
2954
  this.dynamicProperties.indexOf(e) === -1 && this.dynamicProperties.push(e);
2996
2955
  }
2997
2956
  };
2998
- function gn(e, t, n) {
2957
+ function hn(e, t, n) {
2999
2958
  this.initFrame(), this.initRenderable(), this.assetData = t.getAssetData(e.refId), this.footageData = t.imageLoader.getAsset(this.assetData), this.initBaseData(e, t, n);
3000
2959
  }
3001
- gn.prototype.prepareFrame = function() {}, d([
3002
- tn,
3003
- mn,
3004
- hn
3005
- ], gn), gn.prototype.getBaseElement = function() {
2960
+ hn.prototype.prepareFrame = function() {}, u([
2961
+ en,
2962
+ pn,
2963
+ mn
2964
+ ], hn), hn.prototype.getBaseElement = function() {
3006
2965
  return null;
3007
- }, gn.prototype.renderFrame = function() {}, gn.prototype.destroy = function() {}, gn.prototype.initExpressions = function() {
3008
- var e = ue();
2966
+ }, hn.prototype.renderFrame = function() {}, hn.prototype.destroy = function() {}, hn.prototype.initExpressions = function() {
2967
+ var e = ce();
3009
2968
  if (e) {
3010
2969
  var t = e("footage");
3011
2970
  this.layerInterface = t(this);
3012
2971
  }
3013
- }, gn.prototype.getFootageData = function() {
2972
+ }, hn.prototype.getFootageData = function() {
3014
2973
  return this.footageData;
3015
2974
  };
3016
2975
  function Y(e, t, n) {
3017
2976
  this.initFrame(), this.initRenderable(), this.assetData = t.getAssetData(e.refId), this.initBaseData(e, t, n), this._isPlaying = !1, this._canPlay = !1;
3018
2977
  var r = this.globalData.getAssetsPath(this.assetData);
3019
- this.audio = this.globalData.audioController.createAudio(r), this._currentTime = 0, this.globalData.audioController.addAudio(this), this._volumeMultiplier = 1, this._volume = 1, this._previousVolume = null, this.tm = e.tm ? H.getProp(this, e.tm, 0, t.frameRate, this) : { _placeholder: !0 }, this.lv = H.getProp(this, e.au && e.au.lv ? e.au.lv : { k: [100] }, 1, .01, this);
2978
+ this.audio = this.globalData.audioController.createAudio(r), this._currentTime = 0, this.globalData.audioController.addAudio(this), this._volumeMultiplier = 1, this._volume = 1, this._previousVolume = null, this.tm = e.tm ? U.getProp(this, e.tm, 0, t.frameRate, this) : { _placeholder: !0 }, this.lv = U.getProp(this, e.au && e.au.lv ? e.au.lv : { k: [100] }, 1, .01, this);
3020
2979
  }
3021
2980
  Y.prototype.prepareFrame = function(e) {
3022
2981
  if (this.prepareRenderableFrame(e, !0), this.prepareProperties(e, !0), this.tm._placeholder) this._currentTime = e / this.data.sr;
@@ -3027,10 +2986,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
3027
2986
  this._volume = this.lv.v[0];
3028
2987
  var n = this._volume * this._volumeMultiplier;
3029
2988
  this._previousVolume !== n && (this._previousVolume = n, this.audio.volume(n));
3030
- }, d([
3031
- tn,
3032
- mn,
3033
- hn
2989
+ }, u([
2990
+ en,
2991
+ pn,
2992
+ mn
3034
2993
  ], Y), Y.prototype.renderFrame = function() {
3035
2994
  this.isInRange && this._canPlay && (this._isPlaying ? (!this.audio.playing() || Math.abs(this._currentTime / this.globalData.frameRate - this.audio.seek()) > .1) && this.audio.seek(this._currentTime / this.globalData.frameRate) : (this.audio.play(), this.audio.seek(this._currentTime / this.globalData.frameRate), this._isPlaying = !0));
3036
2995
  }, Y.prototype.show = function() {}, Y.prototype.hide = function() {
@@ -3069,7 +3028,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
3069
3028
  }, X.prototype.createAudio = function(e) {
3070
3029
  return new Y(e, this.globalData, this);
3071
3030
  }, X.prototype.createFootage = function(e) {
3072
- return new gn(e, this.globalData, this);
3031
+ return new hn(e, this.globalData, this);
3073
3032
  }, X.prototype.buildAllItems = function() {
3074
3033
  var e, t = this.layers.length;
3075
3034
  for (e = 0; e < t; e += 1) this.buildItem(e);
@@ -3114,18 +3073,18 @@ var t = /* @__PURE__ */ e(((e, t) => {
3114
3073
  }
3115
3074
  return e.length === 0 ? n : n.getElementByPath(e);
3116
3075
  }, X.prototype.setupGlobalData = function(e, t) {
3117
- this.globalData.fontManager = new Qt(), this.globalData.slotManager = en(e), this.globalData.fontManager.addChars(e.chars), this.globalData.fontManager.addFonts(e.fonts, t), this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem), this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem), this.globalData.imageLoader = this.animationItem.imagePreloader, this.globalData.audioController = this.animationItem.audioController, this.globalData.frameId = 0, this.globalData.frameRate = e.fr, this.globalData.nm = e.nm, this.globalData.compSize = {
3076
+ this.globalData.fontManager = new Zt(), this.globalData.slotManager = $t(e), this.globalData.fontManager.addChars(e.chars), this.globalData.fontManager.addFonts(e.fonts, t), this.globalData.getAssetData = this.animationItem.getAssetData.bind(this.animationItem), this.globalData.getAssetsPath = this.animationItem.getAssetsPath.bind(this.animationItem), this.globalData.imageLoader = this.animationItem.imagePreloader, this.globalData.audioController = this.animationItem.audioController, this.globalData.frameId = 0, this.globalData.frameRate = e.fr, this.globalData.nm = e.nm, this.globalData.compSize = {
3118
3077
  w: e.w,
3119
3078
  h: e.h
3120
3079
  };
3121
3080
  };
3122
- var _n = { TRANSFORM_EFFECT: "transformEFfect" };
3123
- function vn() {}
3124
- vn.prototype = {
3081
+ var gn = { TRANSFORM_EFFECT: "transformEFfect" };
3082
+ function _n() {}
3083
+ _n.prototype = {
3125
3084
  initTransform: function() {
3126
- var e = new G();
3085
+ var e = new K();
3127
3086
  this.finalTransform = {
3128
- mProp: this.data.ks ? _t.getTransformProperty(this, this.data.ks, this) : { o: 0 },
3087
+ mProp: this.data.ks ? gt.getTransformProperty(this, this.data.ks, this) : { o: 0 },
3129
3088
  _matMdf: !1,
3130
3089
  _localMatMdf: !1,
3131
3090
  _opMdf: !1,
@@ -3169,9 +3128,9 @@ var t = /* @__PURE__ */ e(((e, t) => {
3169
3128
  },
3170
3129
  searchEffectTransforms: function() {
3171
3130
  if (this.renderableEffectsManager) {
3172
- var e = this.renderableEffectsManager.getEffects(_n.TRANSFORM_EFFECT);
3131
+ var e = this.renderableEffectsManager.getEffects(gn.TRANSFORM_EFFECT);
3173
3132
  if (e.length) {
3174
- this.localTransforms = [], this.finalTransform.localMat = new G();
3133
+ this.localTransforms = [], this.finalTransform.localMat = new K();
3175
3134
  var t = 0, n = e.length;
3176
3135
  for (t = 0; t < n; t += 1) this.localTransforms.push(e[t]);
3177
3136
  }
@@ -3189,23 +3148,23 @@ var t = /* @__PURE__ */ e(((e, t) => {
3189
3148
  ];
3190
3149
  return e;
3191
3150
  },
3192
- mHelper: new G()
3151
+ mHelper: new K()
3193
3152
  };
3194
- function yn(e, t, n) {
3153
+ function vn(e, t, n) {
3195
3154
  this.data = e, this.element = t, this.globalData = n, this.storedData = [], this.masksProperties = this.data.masksProperties || [], this.maskElement = null;
3196
3155
  var r = this.globalData.defs, i, a = this.masksProperties ? this.masksProperties.length : 0;
3197
- this.viewData = h(a), this.solidPath = "";
3198
- var o, s = this.masksProperties, c = 0, u = [], d, f, p = I(), m, g, _, v, y = "clipPath", b = "clip-path";
3199
- for (i = 0; i < a; i += 1) if ((s[i].mode !== "a" && s[i].mode !== "n" || s[i].inv || s[i].o.k !== 100 || s[i].o.x) && (y = "mask", b = "mask"), (s[i].mode === "s" || s[i].mode === "i") && c === 0 ? (m = L("rect"), m.setAttribute("fill", "#ffffff"), m.setAttribute("width", this.element.comp.data.w || 0), m.setAttribute("height", this.element.comp.data.h || 0), u.push(m)) : m = null, o = L("path"), s[i].mode === "n") this.viewData[i] = {
3200
- op: H.getProp(this.element, s[i].o, 0, .01, this.element),
3201
- prop: Je.getShapeProp(this.element, s[i], 3),
3156
+ this.viewData = m(a), this.solidPath = "";
3157
+ var o, s = this.masksProperties, l = 0, u = [], d, f, p = I(), h, g, _, v, y = "clipPath", b = "clip-path";
3158
+ for (i = 0; i < a; i += 1) if ((s[i].mode !== "a" && s[i].mode !== "n" || s[i].inv || s[i].o.k !== 100 || s[i].o.x) && (y = "mask", b = "mask"), (s[i].mode === "s" || s[i].mode === "i") && l === 0 ? (h = R("rect"), h.setAttribute("fill", "#ffffff"), h.setAttribute("width", this.element.comp.data.w || 0), h.setAttribute("height", this.element.comp.data.h || 0), u.push(h)) : h = null, o = R("path"), s[i].mode === "n") this.viewData[i] = {
3159
+ op: U.getProp(this.element, s[i].o, 0, .01, this.element),
3160
+ prop: Ke.getShapeProp(this.element, s[i], 3),
3202
3161
  elem: o,
3203
3162
  lastPath: ""
3204
3163
  }, r.appendChild(o);
3205
3164
  else {
3206
- c += 1, o.setAttribute("fill", s[i].mode === "s" ? "#000000" : "#ffffff"), o.setAttribute("clip-rule", "nonzero");
3165
+ l += 1, o.setAttribute("fill", s[i].mode === "s" ? "#000000" : "#ffffff"), o.setAttribute("clip-rule", "nonzero");
3207
3166
  var x;
3208
- if (s[i].x.k === 0 ? (_ = null, v = null) : (y = "mask", b = "mask", v = H.getProp(this.element, s[i].x, 0, null, this.element), x = I(), g = L("filter"), g.setAttribute("id", x), _ = L("feMorphology"), _.setAttribute("operator", "erode"), _.setAttribute("in", "SourceGraphic"), _.setAttribute("radius", "0"), g.appendChild(_), r.appendChild(g), o.setAttribute("stroke", s[i].mode === "s" ? "#000000" : "#ffffff")), this.storedData[i] = {
3167
+ if (s[i].x.k === 0 ? (_ = null, v = null) : (y = "mask", b = "mask", v = U.getProp(this.element, s[i].x, 0, null, this.element), x = I(), g = R("filter"), g.setAttribute("id", x), _ = R("feMorphology"), _.setAttribute("operator", "erode"), _.setAttribute("in", "SourceGraphic"), _.setAttribute("radius", "0"), g.appendChild(_), r.appendChild(g), o.setAttribute("stroke", s[i].mode === "s" ? "#000000" : "#ffffff")), this.storedData[i] = {
3209
3168
  elem: o,
3210
3169
  x: v,
3211
3170
  expan: _,
@@ -3215,109 +3174,109 @@ var t = /* @__PURE__ */ e(((e, t) => {
3215
3174
  lastRadius: 0
3216
3175
  }, s[i].mode === "i") {
3217
3176
  f = u.length;
3218
- var S = L("g");
3177
+ var S = R("g");
3219
3178
  for (d = 0; d < f; d += 1) S.appendChild(u[d]);
3220
- var C = L("mask");
3221
- C.setAttribute("mask-type", "alpha"), C.setAttribute("id", p + "_" + c), C.appendChild(o), r.appendChild(C), S.setAttribute("mask", "url(" + l() + "#" + p + "_" + c + ")"), u.length = 0, u.push(S);
3179
+ var C = R("mask");
3180
+ C.setAttribute("mask-type", "alpha"), C.setAttribute("id", p + "_" + l), C.appendChild(o), r.appendChild(C), S.setAttribute("mask", "url(" + c() + "#" + p + "_" + l + ")"), u.length = 0, u.push(S);
3222
3181
  } else u.push(o);
3223
3182
  s[i].inv && !this.solidPath && (this.solidPath = this.createLayerSolidPath()), this.viewData[i] = {
3224
3183
  elem: o,
3225
3184
  lastPath: "",
3226
- op: H.getProp(this.element, s[i].o, 0, .01, this.element),
3227
- prop: Je.getShapeProp(this.element, s[i], 3),
3228
- invRect: m
3185
+ op: U.getProp(this.element, s[i].o, 0, .01, this.element),
3186
+ prop: Ke.getShapeProp(this.element, s[i], 3),
3187
+ invRect: h
3229
3188
  }, this.viewData[i].prop.k || this.drawPath(s[i], this.viewData[i].prop.v, this.viewData[i]);
3230
3189
  }
3231
- for (this.maskElement = L(y), a = u.length, i = 0; i < a; i += 1) this.maskElement.appendChild(u[i]);
3232
- c > 0 && (this.maskElement.setAttribute("id", p), this.element.maskedElement.setAttribute(b, "url(" + l() + "#" + p + ")"), r.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
3190
+ for (this.maskElement = R(y), a = u.length, i = 0; i < a; i += 1) this.maskElement.appendChild(u[i]);
3191
+ l > 0 && (this.maskElement.setAttribute("id", p), this.element.maskedElement.setAttribute(b, "url(" + c() + "#" + p + ")"), r.appendChild(this.maskElement)), this.viewData.length && this.element.addRenderableComponent(this);
3233
3192
  }
3234
- yn.prototype.getMaskProperty = function(e) {
3193
+ vn.prototype.getMaskProperty = function(e) {
3235
3194
  return this.viewData[e].prop;
3236
- }, yn.prototype.renderFrame = function(e) {
3195
+ }, vn.prototype.renderFrame = function(e) {
3237
3196
  var t = this.element.finalTransform.mat, n, r = this.masksProperties.length;
3238
3197
  for (n = 0; n < r; n += 1) if ((this.viewData[n].prop._mdf || e) && this.drawPath(this.masksProperties[n], this.viewData[n].prop.v, this.viewData[n]), (this.viewData[n].op._mdf || e) && this.viewData[n].elem.setAttribute("fill-opacity", this.viewData[n].op.v), this.masksProperties[n].mode !== "n" && (this.viewData[n].invRect && (this.element.finalTransform.mProp._mdf || e) && this.viewData[n].invRect.setAttribute("transform", t.getInverseMatrix().to2dCSS()), this.storedData[n].x && (this.storedData[n].x._mdf || e))) {
3239
3198
  var i = this.storedData[n].expan;
3240
- this.storedData[n].x.v < 0 ? (this.storedData[n].lastOperator !== "erode" && (this.storedData[n].lastOperator = "erode", this.storedData[n].elem.setAttribute("filter", "url(" + l() + "#" + this.storedData[n].filterId + ")")), i.setAttribute("radius", -this.storedData[n].x.v)) : (this.storedData[n].lastOperator !== "dilate" && (this.storedData[n].lastOperator = "dilate", this.storedData[n].elem.setAttribute("filter", null)), this.storedData[n].elem.setAttribute("stroke-width", this.storedData[n].x.v * 2));
3199
+ this.storedData[n].x.v < 0 ? (this.storedData[n].lastOperator !== "erode" && (this.storedData[n].lastOperator = "erode", this.storedData[n].elem.setAttribute("filter", "url(" + c() + "#" + this.storedData[n].filterId + ")")), i.setAttribute("radius", -this.storedData[n].x.v)) : (this.storedData[n].lastOperator !== "dilate" && (this.storedData[n].lastOperator = "dilate", this.storedData[n].elem.setAttribute("filter", null)), this.storedData[n].elem.setAttribute("stroke-width", this.storedData[n].x.v * 2));
3241
3200
  }
3242
- }, yn.prototype.getMaskelement = function() {
3201
+ }, vn.prototype.getMaskelement = function() {
3243
3202
  return this.maskElement;
3244
- }, yn.prototype.createLayerSolidPath = function() {
3203
+ }, vn.prototype.createLayerSolidPath = function() {
3245
3204
  var e = "M0,0 ";
3246
3205
  return e += " h" + this.globalData.compSize.w, e += " v" + this.globalData.compSize.h, e += " h-" + this.globalData.compSize.w, e += " v-" + this.globalData.compSize.h + " ", e;
3247
- }, yn.prototype.drawPath = function(e, t, n) {
3206
+ }, vn.prototype.drawPath = function(e, t, n) {
3248
3207
  var r = " M" + t.v[0][0] + "," + t.v[0][1], i, a = t._length;
3249
3208
  for (i = 1; i < a; i += 1) r += " C" + t.o[i - 1][0] + "," + t.o[i - 1][1] + " " + t.i[i][0] + "," + t.i[i][1] + " " + t.v[i][0] + "," + t.v[i][1];
3250
3209
  if (t.c && a > 1 && (r += " C" + t.o[i - 1][0] + "," + t.o[i - 1][1] + " " + t.i[0][0] + "," + t.i[0][1] + " " + t.v[0][0] + "," + t.v[0][1]), n.lastPath !== r) {
3251
3210
  var o = "";
3252
3211
  n.elem && (t.c && (o = e.inv ? this.solidPath + r : r), n.elem.setAttribute("d", o)), n.lastPath = r;
3253
3212
  }
3254
- }, yn.prototype.destroy = function() {
3213
+ }, vn.prototype.destroy = function() {
3255
3214
  this.element = null, this.globalData = null, this.maskElement = null, this.data = null, this.masksProperties = null;
3256
3215
  };
3257
- var bn = function() {
3216
+ var yn = function() {
3258
3217
  var e = {};
3259
3218
  e.createFilter = t, e.createAlphaToLuminanceFilter = n;
3260
3219
  function t(e, t) {
3261
- var n = L("filter");
3220
+ var n = R("filter");
3262
3221
  return n.setAttribute("id", e), t !== !0 && (n.setAttribute("filterUnits", "objectBoundingBox"), n.setAttribute("x", "0%"), n.setAttribute("y", "0%"), n.setAttribute("width", "100%"), n.setAttribute("height", "100%")), n;
3263
3222
  }
3264
3223
  function n() {
3265
- var e = L("feColorMatrix");
3224
+ var e = R("feColorMatrix");
3266
3225
  return e.setAttribute("type", "matrix"), e.setAttribute("color-interpolation-filters", "sRGB"), e.setAttribute("values", "0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 1"), e;
3267
3226
  }
3268
3227
  return e;
3269
- }(), xn = function() {
3228
+ }(), bn = function() {
3270
3229
  var e = {
3271
3230
  maskType: !0,
3272
3231
  svgLumaHidden: !0,
3273
3232
  offscreenCanvas: typeof OffscreenCanvas < "u"
3274
3233
  };
3275
3234
  return (/MSIE 10/i.test(navigator.userAgent) || /MSIE 9/i.test(navigator.userAgent) || /rv:11.0/i.test(navigator.userAgent) || /Edge\/\d./i.test(navigator.userAgent)) && (e.maskType = !1), /firefox/i.test(navigator.userAgent) && (e.svgLumaHidden = !1), e;
3276
- }(), Sn = {}, Cn = "filter_result_";
3277
- function wn(e) {
3278
- var t, n = "SourceGraphic", r = e.data.ef ? e.data.ef.length : 0, i = I(), a = bn.createFilter(i, !0), o = 0;
3235
+ }(), xn = {}, Sn = "filter_result_";
3236
+ function Cn(e) {
3237
+ var t, n = "SourceGraphic", r = e.data.ef ? e.data.ef.length : 0, i = I(), a = yn.createFilter(i, !0), o = 0;
3279
3238
  this.filters = [];
3280
3239
  var s;
3281
3240
  for (t = 0; t < r; t += 1) {
3282
3241
  s = null;
3283
- var c = e.data.ef[t].ty;
3284
- if (Sn[c]) {
3285
- var u = Sn[c].effect;
3286
- s = new u(a, e.effectsManager.effectElements[t], e, Cn + o, n), n = Cn + o, Sn[c].countsAsEffect && (o += 1);
3242
+ var l = e.data.ef[t].ty;
3243
+ if (xn[l]) {
3244
+ var u = xn[l].effect;
3245
+ s = new u(a, e.effectsManager.effectElements[t], e, Sn + o, n), n = Sn + o, xn[l].countsAsEffect && (o += 1);
3287
3246
  }
3288
3247
  s && this.filters.push(s);
3289
3248
  }
3290
- o && (e.globalData.defs.appendChild(a), e.layerElement.setAttribute("filter", "url(" + l() + "#" + i + ")")), this.filters.length && e.addRenderableComponent(this);
3249
+ o && (e.globalData.defs.appendChild(a), e.layerElement.setAttribute("filter", "url(" + c() + "#" + i + ")")), this.filters.length && e.addRenderableComponent(this);
3291
3250
  }
3292
- wn.prototype.renderFrame = function(e) {
3251
+ Cn.prototype.renderFrame = function(e) {
3293
3252
  var t, n = this.filters.length;
3294
3253
  for (t = 0; t < n; t += 1) this.filters[t].renderFrame(e);
3295
- }, wn.prototype.getEffects = function(e) {
3254
+ }, Cn.prototype.getEffects = function(e) {
3296
3255
  var t, n = this.filters.length, r = [];
3297
3256
  for (t = 0; t < n; t += 1) this.filters[t].type === e && r.push(this.filters[t]);
3298
3257
  return r;
3299
3258
  };
3300
- function Tn() {}
3301
- Tn.prototype = {
3259
+ function wn() {}
3260
+ wn.prototype = {
3302
3261
  initRendererElement: function() {
3303
- this.layerElement = L("g");
3262
+ this.layerElement = R("g");
3304
3263
  },
3305
3264
  createContainerElements: function() {
3306
- this.matteElement = L("g"), this.transformedElement = this.layerElement, this.maskedElement = this.layerElement, this._sizeChanged = !1;
3265
+ this.matteElement = R("g"), this.transformedElement = this.layerElement, this.maskedElement = this.layerElement, this._sizeChanged = !1;
3307
3266
  var e = null;
3308
3267
  if (this.data.td) {
3309
3268
  this.matteMasks = {};
3310
- var t = L("g");
3269
+ var t = R("g");
3311
3270
  t.setAttribute("id", this.layerId), t.appendChild(this.layerElement), e = t, this.globalData.defs.appendChild(t);
3312
3271
  } else this.data.tt ? (this.matteElement.appendChild(this.layerElement), e = this.matteElement, this.baseElement = this.matteElement) : this.baseElement = this.layerElement;
3313
3272
  if (this.data.ln && this.layerElement.setAttribute("id", this.data.ln), this.data.cl && this.layerElement.setAttribute("class", this.data.cl), this.data.ty === 0 && !this.data.hd) {
3314
- var n = L("clipPath"), r = L("path");
3273
+ var n = R("clipPath"), r = R("path");
3315
3274
  r.setAttribute("d", "M0,0 L" + this.data.w + ",0 L" + this.data.w + "," + this.data.h + " L0," + this.data.h + "z");
3316
3275
  var i = I();
3317
3276
  if (n.setAttribute("id", i), n.appendChild(r), this.globalData.defs.appendChild(n), this.checkMasks()) {
3318
- var a = L("g");
3319
- a.setAttribute("clip-path", "url(" + l() + "#" + i + ")"), a.appendChild(this.layerElement), this.transformedElement = a, e ? e.appendChild(this.transformedElement) : this.baseElement = this.transformedElement;
3320
- } else this.layerElement.setAttribute("clip-path", "url(" + l() + "#" + i + ")");
3277
+ var a = R("g");
3278
+ a.setAttribute("clip-path", "url(" + c() + "#" + i + ")"), a.appendChild(this.layerElement), this.transformedElement = a, e ? e.appendChild(this.transformedElement) : this.baseElement = this.transformedElement;
3279
+ } else this.layerElement.setAttribute("clip-path", "url(" + c() + "#" + i + ")");
3321
3280
  }
3322
3281
  this.data.bm !== 0 && this.setBlendMode();
3323
3282
  },
@@ -3331,36 +3290,36 @@ var t = /* @__PURE__ */ e(((e, t) => {
3331
3290
  return this.data.hd ? null : this.baseElement;
3332
3291
  },
3333
3292
  createRenderableComponents: function() {
3334
- this.maskManager = new yn(this.data, this, this.globalData), this.renderableEffectsManager = new wn(this), this.searchEffectTransforms();
3293
+ this.maskManager = new vn(this.data, this, this.globalData), this.renderableEffectsManager = new Cn(this), this.searchEffectTransforms();
3335
3294
  },
3336
3295
  getMatte: function(e) {
3337
3296
  if (this.matteMasks ||= {}, !this.matteMasks[e]) {
3338
3297
  var t = this.layerId + "_" + e, n, r, i, a;
3339
3298
  if (e === 1 || e === 3) {
3340
- var o = L("mask");
3341
- o.setAttribute("id", t), o.setAttribute("mask-type", e === 3 ? "luminance" : "alpha"), i = L("use"), i.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), o.appendChild(i), this.globalData.defs.appendChild(o), !xn.maskType && e === 1 && (o.setAttribute("mask-type", "luminance"), n = I(), r = bn.createFilter(n), this.globalData.defs.appendChild(r), r.appendChild(bn.createAlphaToLuminanceFilter()), a = L("g"), a.appendChild(i), o.appendChild(a), a.setAttribute("filter", "url(" + l() + "#" + n + ")"));
3299
+ var o = R("mask");
3300
+ o.setAttribute("id", t), o.setAttribute("mask-type", e === 3 ? "luminance" : "alpha"), i = R("use"), i.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), o.appendChild(i), this.globalData.defs.appendChild(o), !bn.maskType && e === 1 && (o.setAttribute("mask-type", "luminance"), n = I(), r = yn.createFilter(n), this.globalData.defs.appendChild(r), r.appendChild(yn.createAlphaToLuminanceFilter()), a = R("g"), a.appendChild(i), o.appendChild(a), a.setAttribute("filter", "url(" + c() + "#" + n + ")"));
3342
3301
  } else if (e === 2) {
3343
- var s = L("mask");
3302
+ var s = R("mask");
3344
3303
  s.setAttribute("id", t), s.setAttribute("mask-type", "alpha");
3345
- var c = L("g");
3346
- s.appendChild(c), n = I(), r = bn.createFilter(n);
3347
- var u = L("feComponentTransfer");
3304
+ var l = R("g");
3305
+ s.appendChild(l), n = I(), r = yn.createFilter(n);
3306
+ var u = R("feComponentTransfer");
3348
3307
  u.setAttribute("in", "SourceGraphic"), r.appendChild(u);
3349
- var d = L("feFuncA");
3308
+ var d = R("feFuncA");
3350
3309
  d.setAttribute("type", "table"), d.setAttribute("tableValues", "1.0 0.0"), u.appendChild(d), this.globalData.defs.appendChild(r);
3351
- var f = L("rect");
3352
- f.setAttribute("width", this.comp.data.w), f.setAttribute("height", this.comp.data.h), f.setAttribute("x", "0"), f.setAttribute("y", "0"), f.setAttribute("fill", "#ffffff"), f.setAttribute("opacity", "0"), c.setAttribute("filter", "url(" + l() + "#" + n + ")"), c.appendChild(f), i = L("use"), i.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), c.appendChild(i), xn.maskType || (s.setAttribute("mask-type", "luminance"), r.appendChild(bn.createAlphaToLuminanceFilter()), a = L("g"), c.appendChild(f), a.appendChild(this.layerElement), c.appendChild(a)), this.globalData.defs.appendChild(s);
3310
+ var f = R("rect");
3311
+ f.setAttribute("width", this.comp.data.w), f.setAttribute("height", this.comp.data.h), f.setAttribute("x", "0"), f.setAttribute("y", "0"), f.setAttribute("fill", "#ffffff"), f.setAttribute("opacity", "0"), l.setAttribute("filter", "url(" + c() + "#" + n + ")"), l.appendChild(f), i = R("use"), i.setAttributeNS("http://www.w3.org/1999/xlink", "href", "#" + this.layerId), l.appendChild(i), bn.maskType || (s.setAttribute("mask-type", "luminance"), r.appendChild(yn.createAlphaToLuminanceFilter()), a = R("g"), l.appendChild(f), a.appendChild(this.layerElement), l.appendChild(a)), this.globalData.defs.appendChild(s);
3353
3312
  }
3354
3313
  this.matteMasks[e] = t;
3355
3314
  }
3356
3315
  return this.matteMasks[e];
3357
3316
  },
3358
3317
  setMatte: function(e) {
3359
- this.matteElement && this.matteElement.setAttribute("mask", "url(" + l() + "#" + e + ")");
3318
+ this.matteElement && this.matteElement.setAttribute("mask", "url(" + c() + "#" + e + ")");
3360
3319
  }
3361
3320
  };
3362
- function En() {}
3363
- En.prototype = {
3321
+ function Tn() {}
3322
+ Tn.prototype = {
3364
3323
  initHierarchy: function() {
3365
3324
  this.hierarchy = [], this._isParent = !1, this.checkParenting();
3366
3325
  },
@@ -3374,9 +3333,9 @@ var t = /* @__PURE__ */ e(((e, t) => {
3374
3333
  this.data.parent !== void 0 && this.comp.buildElementParenting(this, this.data.parent, []);
3375
3334
  }
3376
3335
  };
3377
- function Dn() {}
3336
+ function En() {}
3378
3337
  (function() {
3379
- d([tn, f({
3338
+ u([en, d({
3380
3339
  initElement: function(e, t, n) {
3381
3340
  this.initFrame(), this.initBaseData(e, t, n), this.initTransform(e, t, n), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide();
3382
3341
  },
@@ -3405,9 +3364,9 @@ var t = /* @__PURE__ */ e(((e, t) => {
3405
3364
  destroy: function() {
3406
3365
  this.innerElem = null, this.destroyBaseElement();
3407
3366
  }
3408
- })], Dn);
3367
+ })], En);
3409
3368
  })();
3410
- function On(e, t, n) {
3369
+ function Dn(e, t, n) {
3411
3370
  this.assetData = t.getAssetData(e.refId), this.assetData && this.assetData.sid && (this.assetData = t.slotManager.getProp(this.assetData)), this.initElement(e, t, n), this.sourceRect = {
3412
3371
  top: 0,
3413
3372
  left: 0,
@@ -3415,24 +3374,24 @@ var t = /* @__PURE__ */ e(((e, t) => {
3415
3374
  height: this.assetData.h
3416
3375
  };
3417
3376
  }
3418
- d([
3419
- mn,
3420
- vn,
3377
+ u([
3378
+ pn,
3379
+ _n,
3380
+ wn,
3421
3381
  Tn,
3422
- En,
3423
- hn,
3424
- Dn
3425
- ], On), On.prototype.createContent = function() {
3382
+ mn,
3383
+ En
3384
+ ], Dn), Dn.prototype.createContent = function() {
3426
3385
  var e = this.globalData.getAssetsPath(this.assetData);
3427
- this.innerElem = L("image"), this.innerElem.setAttribute("width", this.assetData.w + "px"), this.innerElem.setAttribute("height", this.assetData.h + "px"), this.innerElem.setAttribute("preserveAspectRatio", this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio), this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink", "href", e), this.layerElement.appendChild(this.innerElem);
3428
- }, On.prototype.sourceRectAtTime = function() {
3386
+ this.innerElem = R("image"), this.innerElem.setAttribute("width", this.assetData.w + "px"), this.innerElem.setAttribute("height", this.assetData.h + "px"), this.innerElem.setAttribute("preserveAspectRatio", this.assetData.pr || this.globalData.renderConfig.imagePreserveAspectRatio), this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink", "href", e), this.layerElement.appendChild(this.innerElem);
3387
+ }, Dn.prototype.sourceRectAtTime = function() {
3429
3388
  return this.sourceRect;
3430
3389
  };
3431
- function kn(e, t) {
3390
+ function On(e, t) {
3432
3391
  this.elem = e, this.pos = t;
3433
3392
  }
3434
- function An() {}
3435
- An.prototype = {
3393
+ function kn() {}
3394
+ kn.prototype = {
3436
3395
  addShapeToModifiers: function(e) {
3437
3396
  var t, n = this.shapeModifiers.length;
3438
3397
  for (t = 0; t < n; t += 1) this.shapeModifiers[t].addShape(e);
@@ -3462,22 +3421,22 @@ var t = /* @__PURE__ */ e(((e, t) => {
3462
3421
  n[r].pos = t;
3463
3422
  return;
3464
3423
  }
3465
- n.push(new kn(e, t));
3424
+ n.push(new On(e, t));
3466
3425
  },
3467
3426
  prepareFrame: function(e) {
3468
3427
  this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange);
3469
3428
  }
3470
3429
  };
3471
- var jn = {
3430
+ var An = {
3472
3431
  1: "butt",
3473
3432
  2: "round",
3474
3433
  3: "square"
3475
- }, Mn = {
3434
+ }, jn = {
3476
3435
  1: "miter",
3477
3436
  2: "round",
3478
3437
  3: "bevel"
3479
3438
  };
3480
- function Nn(e, t, n) {
3439
+ function Mn(e, t, n) {
3481
3440
  this.caches = [], this.styles = [], this.transformers = e, this.lStr = "", this.sh = n, this.lvl = t, this._isAnimated = !!n.k;
3482
3441
  for (var r = 0, i = e.length; r < i;) {
3483
3442
  if (e[r].mProps.dynamicProperties.length) {
@@ -3487,54 +3446,54 @@ var t = /* @__PURE__ */ e(((e, t) => {
3487
3446
  r += 1;
3488
3447
  }
3489
3448
  }
3490
- Nn.prototype.setAsAnimated = function() {
3449
+ Mn.prototype.setAsAnimated = function() {
3491
3450
  this._isAnimated = !0;
3492
3451
  };
3493
- function Pn(e, t) {
3494
- this.data = e, this.type = e.ty, this.d = "", this.lvl = t, this._mdf = !1, this.closed = e.hd === !0, this.pElem = L("path"), this.msElem = null;
3452
+ function Nn(e, t) {
3453
+ this.data = e, this.type = e.ty, this.d = "", this.lvl = t, this._mdf = !1, this.closed = e.hd === !0, this.pElem = R("path"), this.msElem = null;
3495
3454
  }
3496
- Pn.prototype.reset = function() {
3455
+ Nn.prototype.reset = function() {
3497
3456
  this.d = "", this._mdf = !1;
3498
3457
  };
3499
- function Fn(e, t, n, r) {
3500
- this.elem = e, this.frameId = -1, this.dataProps = h(t.length), this.renderer = n, this.k = !1, this.dashStr = "", this.dashArray = m("float32", t.length ? t.length - 1 : 0), this.dashoffset = m("float32", 1), this.initDynamicPropertyContainer(r);
3458
+ function Pn(e, t, n, r) {
3459
+ this.elem = e, this.frameId = -1, this.dataProps = m(t.length), this.renderer = n, this.k = !1, this.dashStr = "", this.dashArray = p("float32", t.length ? t.length - 1 : 0), this.dashoffset = p("float32", 1), this.initDynamicPropertyContainer(r);
3501
3460
  var i, a = t.length || 0, o;
3502
- for (i = 0; i < a; i += 1) o = H.getProp(e, t[i].v, 0, 0, this), this.k = o.k || this.k, this.dataProps[i] = {
3461
+ for (i = 0; i < a; i += 1) o = U.getProp(e, t[i].v, 0, 0, this), this.k = o.k || this.k, this.dataProps[i] = {
3503
3462
  n: t[i].n,
3504
3463
  p: o
3505
3464
  };
3506
3465
  this.k || this.getValue(!0), this._isAnimated = this.k;
3507
3466
  }
3508
- Fn.prototype.getValue = function(e) {
3509
- if (!(this.elem.globalData.frameId === this.frameId && !e) && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf = this._mdf || e, this._mdf)) {
3467
+ Pn.prototype.getValue = function(e) {
3468
+ if ((this.elem.globalData.frameId !== this.frameId || e) && (this.frameId = this.elem.globalData.frameId, this.iterateDynamicProperties(), this._mdf = this._mdf || e, this._mdf)) {
3510
3469
  var t = 0, n = this.dataProps.length;
3511
3470
  for (this.renderer === "svg" && (this.dashStr = ""), t = 0; t < n; t += 1) this.dataProps[t].n === "o" ? this.dashoffset[0] = this.dataProps[t].p.v : this.renderer === "svg" ? this.dashStr += " " + this.dataProps[t].p.v : this.dashArray[t] = this.dataProps[t].p.v;
3512
3471
  }
3513
- }, d([U], Fn);
3472
+ }, u([W], Pn);
3473
+ function Fn(e, t, n) {
3474
+ this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.o = U.getProp(e, t.o, 0, .01, this), this.w = U.getProp(e, t.w, 0, null, this), this.d = new Pn(e, t.d || {}, "svg", this), this.c = U.getProp(e, t.c, 1, 255, this), this.style = n, this._isAnimated = !!this._isAnimated;
3475
+ }
3476
+ u([W], Fn);
3514
3477
  function In(e, t, n) {
3515
- this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.o = H.getProp(e, t.o, 0, .01, this), this.w = H.getProp(e, t.w, 0, null, this), this.d = new Fn(e, t.d || {}, "svg", this), this.c = H.getProp(e, t.c, 1, 255, this), this.style = n, this._isAnimated = !!this._isAnimated;
3478
+ this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.o = U.getProp(e, t.o, 0, .01, this), this.c = U.getProp(e, t.c, 1, 255, this), this.style = n;
3516
3479
  }
3517
- d([U], In);
3480
+ u([W], In);
3518
3481
  function Ln(e, t, n) {
3519
- this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.o = H.getProp(e, t.o, 0, .01, this), this.c = H.getProp(e, t.c, 1, 255, this), this.style = n;
3520
- }
3521
- d([U], Ln);
3522
- function Rn(e, t, n) {
3523
3482
  this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.style = n;
3524
3483
  }
3525
- d([U], Rn);
3526
- function zn(e, t, n) {
3527
- this.data = t, this.c = m("uint8c", t.p * 4);
3484
+ u([W], Ln);
3485
+ function Rn(e, t, n) {
3486
+ this.data = t, this.c = p("uint8c", t.p * 4);
3528
3487
  var r = t.k.k[0].s ? t.k.k[0].s.length - t.p * 4 : t.k.k.length - t.p * 4;
3529
- this.o = m("float32", r), this._cmdf = !1, this._omdf = !1, this._collapsable = this.checkCollapsable(), this._hasOpacity = r, this.initDynamicPropertyContainer(n), this.prop = H.getProp(e, t.k, 1, null, this), this.k = this.prop.k, this.getValue(!0);
3488
+ this.o = p("float32", r), this._cmdf = !1, this._omdf = !1, this._collapsable = this.checkCollapsable(), this._hasOpacity = r, this.initDynamicPropertyContainer(n), this.prop = U.getProp(e, t.k, 1, null, this), this.k = this.prop.k, this.getValue(!0);
3530
3489
  }
3531
- zn.prototype.comparePoints = function(e, t) {
3490
+ Rn.prototype.comparePoints = function(e, t) {
3532
3491
  for (var n = 0, r = this.o.length / 2, i; n < r;) {
3533
3492
  if (i = Math.abs(e[n * 4] - e[t * 4 + n * 2]), i > .01) return !1;
3534
3493
  n += 1;
3535
3494
  }
3536
3495
  return !0;
3537
- }, zn.prototype.checkCollapsable = function() {
3496
+ }, Rn.prototype.checkCollapsable = function() {
3538
3497
  if (this.o.length / 2 != this.c.length / 4) return !1;
3539
3498
  if (this.data.k.k[0].s) for (var e = 0, t = this.data.k.k.length; e < t;) {
3540
3499
  if (!this.comparePoints(this.data.k.k[e].s, this.data.p)) return !1;
@@ -3542,59 +3501,59 @@ var t = /* @__PURE__ */ e(((e, t) => {
3542
3501
  }
3543
3502
  else if (!this.comparePoints(this.data.k.k, this.data.p)) return !1;
3544
3503
  return !0;
3545
- }, zn.prototype.getValue = function(e) {
3504
+ }, Rn.prototype.getValue = function(e) {
3546
3505
  if (this.prop.getValue(), this._mdf = !1, this._cmdf = !1, this._omdf = !1, this.prop._mdf || e) {
3547
3506
  var t, n = this.data.p * 4, r, i;
3548
3507
  for (t = 0; t < n; t += 1) r = t % 4 == 0 ? 100 : 255, i = Math.round(this.prop.v[t] * r), this.c[t] !== i && (this.c[t] = i, this._cmdf = !e);
3549
3508
  if (this.o.length) for (n = this.prop.v.length, t = this.data.p * 4; t < n; t += 1) r = t % 2 == 0 ? 100 : 1, i = t % 2 == 0 ? Math.round(this.prop.v[t] * 100) : this.prop.v[t], this.o[t - this.data.p * 4] !== i && (this.o[t - this.data.p * 4] = i, this._omdf = !e);
3550
3509
  this._mdf = !e;
3551
3510
  }
3552
- }, d([U], zn);
3553
- function Bn(e, t, n) {
3511
+ }, u([W], Rn);
3512
+ function zn(e, t, n) {
3554
3513
  this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.initGradientData(e, t, n);
3555
3514
  }
3556
- Bn.prototype.initGradientData = function(e, t, n) {
3557
- this.o = H.getProp(e, t.o, 0, .01, this), this.s = H.getProp(e, t.s, 1, null, this), this.e = H.getProp(e, t.e, 1, null, this), this.h = H.getProp(e, t.h || { k: 0 }, 0, .01, this), this.a = H.getProp(e, t.a || { k: 0 }, 0, O, this), this.g = new zn(e, t.g, this), this.style = n, this.stops = [], this.setGradientData(n.pElem, t), this.setGradientOpacity(t, n), this._isAnimated = !!this._isAnimated;
3558
- }, Bn.prototype.setGradientData = function(e, t) {
3559
- var n = I(), r = L(t.t === 1 ? "linearGradient" : "radialGradient");
3515
+ zn.prototype.initGradientData = function(e, t, n) {
3516
+ this.o = U.getProp(e, t.o, 0, .01, this), this.s = U.getProp(e, t.s, 1, null, this), this.e = U.getProp(e, t.e, 1, null, this), this.h = U.getProp(e, t.h || { k: 0 }, 0, .01, this), this.a = U.getProp(e, t.a || { k: 0 }, 0, D, this), this.g = new Rn(e, t.g, this), this.style = n, this.stops = [], this.setGradientData(n.pElem, t), this.setGradientOpacity(t, n), this._isAnimated = !!this._isAnimated;
3517
+ }, zn.prototype.setGradientData = function(e, t) {
3518
+ var n = I(), r = R(t.t === 1 ? "linearGradient" : "radialGradient");
3560
3519
  r.setAttribute("id", n), r.setAttribute("spreadMethod", "pad"), r.setAttribute("gradientUnits", "userSpaceOnUse");
3561
3520
  var i = [], a, o, s = t.g.p * 4;
3562
- for (o = 0; o < s; o += 4) a = L("stop"), r.appendChild(a), i.push(a);
3563
- e.setAttribute(t.ty === "gf" ? "fill" : "stroke", "url(" + l() + "#" + n + ")"), this.gf = r, this.cst = i;
3564
- }, Bn.prototype.setGradientOpacity = function(e, t) {
3521
+ for (o = 0; o < s; o += 4) a = R("stop"), r.appendChild(a), i.push(a);
3522
+ e.setAttribute(t.ty === "gf" ? "fill" : "stroke", "url(" + c() + "#" + n + ")"), this.gf = r, this.cst = i;
3523
+ }, zn.prototype.setGradientOpacity = function(e, t) {
3565
3524
  if (this.g._hasOpacity && !this.g._collapsable) {
3566
- var n, r, i, a = L("mask"), o = L("path");
3525
+ var n, r, i, a = R("mask"), o = R("path");
3567
3526
  a.appendChild(o);
3568
- var s = I(), c = I();
3569
- a.setAttribute("id", c);
3570
- var u = L(e.t === 1 ? "linearGradient" : "radialGradient");
3527
+ var s = I(), l = I();
3528
+ a.setAttribute("id", l);
3529
+ var u = R(e.t === 1 ? "linearGradient" : "radialGradient");
3571
3530
  u.setAttribute("id", s), u.setAttribute("spreadMethod", "pad"), u.setAttribute("gradientUnits", "userSpaceOnUse"), i = e.g.k.k[0].s ? e.g.k.k[0].s.length : e.g.k.k.length;
3572
3531
  var d = this.stops;
3573
- for (r = e.g.p * 4; r < i; r += 2) n = L("stop"), n.setAttribute("stop-color", "rgb(255,255,255)"), u.appendChild(n), d.push(n);
3574
- o.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" + l() + "#" + s + ")"), e.ty === "gs" && (o.setAttribute("stroke-linecap", jn[e.lc || 2]), o.setAttribute("stroke-linejoin", Mn[e.lj || 2]), e.lj === 1 && o.setAttribute("stroke-miterlimit", e.ml)), this.of = u, this.ms = a, this.ost = d, this.maskId = c, t.msElem = o;
3532
+ for (r = e.g.p * 4; r < i; r += 2) n = R("stop"), n.setAttribute("stop-color", "rgb(255,255,255)"), u.appendChild(n), d.push(n);
3533
+ o.setAttribute(e.ty === "gf" ? "fill" : "stroke", "url(" + c() + "#" + s + ")"), e.ty === "gs" && (o.setAttribute("stroke-linecap", An[e.lc || 2]), o.setAttribute("stroke-linejoin", jn[e.lj || 2]), e.lj === 1 && o.setAttribute("stroke-miterlimit", e.ml)), this.of = u, this.ms = a, this.ost = d, this.maskId = l, t.msElem = o;
3575
3534
  }
3576
- }, d([U], Bn);
3577
- function Vn(e, t, n) {
3578
- this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.w = H.getProp(e, t.w, 0, null, this), this.d = new Fn(e, t.d || {}, "svg", this), this.initGradientData(e, t, n), this._isAnimated = !!this._isAnimated;
3535
+ }, u([W], zn);
3536
+ function Bn(e, t, n) {
3537
+ this.initDynamicPropertyContainer(e), this.getValue = this.iterateDynamicProperties, this.w = U.getProp(e, t.w, 0, null, this), this.d = new Pn(e, t.d || {}, "svg", this), this.initGradientData(e, t, n), this._isAnimated = !!this._isAnimated;
3579
3538
  }
3580
- d([Bn, U], Vn);
3581
- function Hn() {
3582
- this.it = [], this.prevViewData = [], this.gr = L("g");
3539
+ u([zn, W], Bn);
3540
+ function Vn() {
3541
+ this.it = [], this.prevViewData = [], this.gr = R("g");
3583
3542
  }
3584
- function Un(e, t, n) {
3543
+ function Hn(e, t, n) {
3585
3544
  this.transform = {
3586
3545
  mProps: e,
3587
3546
  op: t,
3588
3547
  container: n
3589
3548
  }, this.elements = [], this._isAnimated = this.transform.mProps.dynamicProperties.length || this.transform.op.effectsSequence.length;
3590
3549
  }
3591
- var Wn = function(e, t, n, r) {
3550
+ var Un = function(e, t, n, r) {
3592
3551
  if (t === 0) return "";
3593
3552
  var i = e.o, a = e.i, o = e.v, s, c = " M" + r.applyToPointStringified(o[0][0], o[0][1]);
3594
3553
  for (s = 1; s < t; s += 1) c += " C" + r.applyToPointStringified(i[s - 1][0], i[s - 1][1]) + " " + r.applyToPointStringified(a[s][0], a[s][1]) + " " + r.applyToPointStringified(o[s][0], o[s][1]);
3595
3554
  return n && t && (c += " C" + r.applyToPointStringified(i[s - 1][0], i[s - 1][1]) + " " + r.applyToPointStringified(a[0][0], a[0][1]) + " " + r.applyToPointStringified(o[0][0], o[0][1]), c += "z"), c;
3596
- }, Gn = function() {
3597
- var e = new G(), t = new G(), n = { createRenderFunction: r };
3555
+ }, Wn = function() {
3556
+ var e = new K(), t = new K(), n = { createRenderFunction: r };
3598
3557
  function r(e) {
3599
3558
  switch (e.ty) {
3600
3559
  case "fl": return s;
@@ -3622,7 +3581,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
3622
3581
  if (c) for (h = f - r.styles[u].lvl, g = r.transformers.length - 1; h > 0;) m.multiply(r.transformers[g].mProps.v), --h, --g;
3623
3582
  } else m = e;
3624
3583
  if (p = r.sh.paths, o = p._length, c) {
3625
- for (s = "", a = 0; a < o; a += 1) l = p.shapes[a], l && l._length && (s += Wn(l, l._length, l.c, m));
3584
+ for (s = "", a = 0; a < o; a += 1) l = p.shapes[a], l && l._length && (s += Un(l, l._length, l.c, m));
3626
3585
  r.caches[u] = s;
3627
3586
  } else s = r.caches[u];
3628
3587
  r.styles[u].d += n.hd === !0 ? "" : s, r.styles[u]._mdf = c || r.styles[u]._mdf;
@@ -3630,7 +3589,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
3630
3589
  }
3631
3590
  function s(e, t, n) {
3632
3591
  var r = t.style;
3633
- (t.c._mdf || n) && r.pElem.setAttribute("fill", "rgb(" + w(t.c.v[0]) + "," + w(t.c.v[1]) + "," + w(t.c.v[2]) + ")"), (t.o._mdf || n) && r.pElem.setAttribute("fill-opacity", t.o.v);
3592
+ (t.c._mdf || n) && r.pElem.setAttribute("fill", "rgb(" + C(t.c.v[0]) + "," + C(t.c.v[1]) + "," + C(t.c.v[2]) + ")"), (t.o._mdf || n) && r.pElem.setAttribute("fill-opacity", t.o.v);
3634
3593
  }
3635
3594
  function c(e, t, n) {
3636
3595
  l(e, t, n), u(e, t, n);
@@ -3669,22 +3628,22 @@ var t = /* @__PURE__ */ e(((e, t) => {
3669
3628
  }
3670
3629
  function u(e, t, n) {
3671
3630
  var r = t.style, i = t.d;
3672
- i && (i._mdf || n) && i.dashStr && (r.pElem.setAttribute("stroke-dasharray", i.dashStr), r.pElem.setAttribute("stroke-dashoffset", i.dashoffset[0])), t.c && (t.c._mdf || n) && r.pElem.setAttribute("stroke", "rgb(" + w(t.c.v[0]) + "," + w(t.c.v[1]) + "," + w(t.c.v[2]) + ")"), (t.o._mdf || n) && r.pElem.setAttribute("stroke-opacity", t.o.v), (t.w._mdf || n) && (r.pElem.setAttribute("stroke-width", t.w.v), r.msElem && r.msElem.setAttribute("stroke-width", t.w.v));
3631
+ i && (i._mdf || n) && i.dashStr && (r.pElem.setAttribute("stroke-dasharray", i.dashStr), r.pElem.setAttribute("stroke-dashoffset", i.dashoffset[0])), t.c && (t.c._mdf || n) && r.pElem.setAttribute("stroke", "rgb(" + C(t.c.v[0]) + "," + C(t.c.v[1]) + "," + C(t.c.v[2]) + ")"), (t.o._mdf || n) && r.pElem.setAttribute("stroke-opacity", t.o.v), (t.w._mdf || n) && (r.pElem.setAttribute("stroke-width", t.w.v), r.msElem && r.msElem.setAttribute("stroke-width", t.w.v));
3673
3632
  }
3674
3633
  return n;
3675
3634
  }();
3676
3635
  function Z(e, t, n) {
3677
3636
  this.shapes = [], this.shapesData = e.shapes, this.stylesList = [], this.shapeModifiers = [], this.itemsData = [], this.processedElements = [], this.animatedContents = [], this.initElement(e, t, n), this.prevViewData = [];
3678
3637
  }
3679
- d([
3680
- mn,
3681
- vn,
3638
+ u([
3639
+ pn,
3640
+ _n,
3641
+ wn,
3642
+ kn,
3682
3643
  Tn,
3683
- An,
3684
- En,
3685
- hn,
3686
- Dn
3687
- ], Z), Z.prototype.initSecondaryElement = function() {}, Z.prototype.identityMatrix = new G(), Z.prototype.buildExpressionInterface = function() {}, Z.prototype.createContent = function() {
3644
+ mn,
3645
+ En
3646
+ ], Z), Z.prototype.initSecondaryElement = function() {}, Z.prototype.identityMatrix = new K(), Z.prototype.buildExpressionInterface = function() {}, Z.prototype.createContent = function() {
3688
3647
  this.searchShapes(this.shapesData, this.itemsData, this.prevViewData, this.layerElement, 0, [], !0), this.filterUniqueShapes();
3689
3648
  }, Z.prototype.filterUniqueShapes = function() {
3690
3649
  var e, t = this.shapes.length, n, r, i = this.stylesList.length, a, o = [], s = !1;
@@ -3696,18 +3655,18 @@ var t = /* @__PURE__ */ e(((e, t) => {
3696
3655
  var t, n = e.length;
3697
3656
  for (t = 0; t < n; t += 1) e[t].setAsAnimated();
3698
3657
  }, Z.prototype.createStyleElement = function(e, t) {
3699
- var n, r = new Pn(e, t), i = r.pElem;
3700
- return e.ty === "st" ? n = new In(this, e, r) : e.ty === "fl" ? n = new Ln(this, e, r) : e.ty === "gf" || e.ty === "gs" ? (n = new (e.ty === "gf" ? Bn : Vn)(this, e, r), this.globalData.defs.appendChild(n.gf), n.maskId && (this.globalData.defs.appendChild(n.ms), this.globalData.defs.appendChild(n.of), i.setAttribute("mask", "url(" + l() + "#" + n.maskId + ")"))) : e.ty === "no" && (n = new Rn(this, e, r)), (e.ty === "st" || e.ty === "gs") && (i.setAttribute("stroke-linecap", jn[e.lc || 2]), i.setAttribute("stroke-linejoin", Mn[e.lj || 2]), i.setAttribute("fill-opacity", "0"), e.lj === 1 && i.setAttribute("stroke-miterlimit", e.ml)), e.r === 2 && i.setAttribute("fill-rule", "evenodd"), e.ln && i.setAttribute("id", e.ln), e.cl && i.setAttribute("class", e.cl), e.bm && (i.style["mix-blend-mode"] = nn(e.bm)), this.stylesList.push(r), this.addToAnimatedContents(e, n), n;
3658
+ var n, r = new Nn(e, t), i = r.pElem;
3659
+ return e.ty === "st" ? n = new Fn(this, e, r) : e.ty === "fl" ? n = new In(this, e, r) : e.ty === "gf" || e.ty === "gs" ? (n = new (e.ty === "gf" ? zn : Bn)(this, e, r), this.globalData.defs.appendChild(n.gf), n.maskId && (this.globalData.defs.appendChild(n.ms), this.globalData.defs.appendChild(n.of), i.setAttribute("mask", "url(" + c() + "#" + n.maskId + ")"))) : e.ty === "no" && (n = new Ln(this, e, r)), (e.ty === "st" || e.ty === "gs") && (i.setAttribute("stroke-linecap", An[e.lc || 2]), i.setAttribute("stroke-linejoin", jn[e.lj || 2]), i.setAttribute("fill-opacity", "0"), e.lj === 1 && i.setAttribute("stroke-miterlimit", e.ml)), e.r === 2 && i.setAttribute("fill-rule", "evenodd"), e.ln && i.setAttribute("id", e.ln), e.cl && i.setAttribute("class", e.cl), e.bm && (i.style["mix-blend-mode"] = tn(e.bm)), this.stylesList.push(r), this.addToAnimatedContents(e, n), n;
3701
3660
  }, Z.prototype.createGroupElement = function(e) {
3702
- var t = new Hn();
3703
- return e.ln && t.gr.setAttribute("id", e.ln), e.cl && t.gr.setAttribute("class", e.cl), e.bm && (t.gr.style["mix-blend-mode"] = nn(e.bm)), t;
3661
+ var t = new Vn();
3662
+ return e.ln && t.gr.setAttribute("id", e.ln), e.cl && t.gr.setAttribute("class", e.cl), e.bm && (t.gr.style["mix-blend-mode"] = tn(e.bm)), t;
3704
3663
  }, Z.prototype.createTransformElement = function(e, t) {
3705
- var n = _t.getTransformProperty(this, e, this), r = new Un(n, n.o, t);
3664
+ var n = gt.getTransformProperty(this, e, this), r = new Hn(n, n.o, t);
3706
3665
  return this.addToAnimatedContents(e, r), r;
3707
3666
  }, Z.prototype.createShapeElement = function(e, t, n) {
3708
3667
  var r = 4;
3709
3668
  e.ty === "rc" ? r = 5 : e.ty === "el" ? r = 6 : e.ty === "sr" && (r = 7);
3710
- var i = new Nn(t, n, Je.getShapeProp(this, e, r, this));
3669
+ var i = new Mn(t, n, Ke.getShapeProp(this, e, r, this));
3711
3670
  return this.shapes.push(i), this.addShapeToModifiers(i), this.addToAnimatedContents(e, i), i;
3712
3671
  }, Z.prototype.addToAnimatedContents = function(e, t) {
3713
3672
  for (var n = 0, r = this.animatedContents.length; n < r;) {
@@ -3715,7 +3674,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
3715
3674
  n += 1;
3716
3675
  }
3717
3676
  this.animatedContents.push({
3718
- fn: Gn.createRenderFunction(e),
3677
+ fn: Wn.createRenderFunction(e),
3719
3678
  element: t,
3720
3679
  data: e
3721
3680
  });
@@ -3736,7 +3695,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
3736
3695
  if (!g) t[c] = this.createGroupElement(e[c]);
3737
3696
  else for (d = t[c].it.length, u = 0; u < d; u += 1) t[c].prevViewData[u] = t[c].it[u];
3738
3697
  this.searchShapes(e[c].it, t[c].it, t[c].prevViewData, t[c].gr, i + 1, s, o), e[c]._render && t[c].gr.parentNode !== r && r.appendChild(t[c].gr);
3739
- } else e[c].ty === "tr" ? (g || (t[c] = this.createTransformElement(e[c], r)), m = t[c].transform, s.push(m)) : e[c].ty === "sh" || e[c].ty === "rc" || e[c].ty === "el" || e[c].ty === "sr" ? (g || (t[c] = this.createShapeElement(e[c], s, i)), this.setElementStyles(t[c])) : e[c].ty === "tm" || e[c].ty === "rd" || e[c].ty === "ms" || e[c].ty === "pb" || e[c].ty === "zz" || e[c].ty === "op" ? (g ? (h = t[c], h.closed = !1) : (h = mt.getModifier(e[c].ty), h.init(this, e[c]), t[c] = h, this.shapeModifiers.push(h)), p.push(h)) : e[c].ty === "rp" && (g ? (h = t[c], h.closed = !0) : (h = mt.getModifier(e[c].ty), t[c] = h, h.init(this, e, c, t), this.shapeModifiers.push(h), o = !1), p.push(h));
3698
+ } else e[c].ty === "tr" ? (g || (t[c] = this.createTransformElement(e[c], r)), m = t[c].transform, s.push(m)) : e[c].ty === "sh" || e[c].ty === "rc" || e[c].ty === "el" || e[c].ty === "sr" ? (g || (t[c] = this.createShapeElement(e[c], s, i)), this.setElementStyles(t[c])) : e[c].ty === "tm" || e[c].ty === "rd" || e[c].ty === "ms" || e[c].ty === "pb" || e[c].ty === "zz" || e[c].ty === "op" ? (g ? (h = t[c], h.closed = !1) : (h = ft.getModifier(e[c].ty), h.init(this, e[c]), t[c] = h, this.shapeModifiers.push(h)), p.push(h)) : e[c].ty === "rp" && (g ? (h = t[c], h.closed = !0) : (h = ft.getModifier(e[c].ty), t[c] = h, h.init(this, e, c, t), this.shapeModifiers.push(h), o = !1), p.push(h));
3740
3699
  this.addProcessedElement(e[c], c + 1);
3741
3700
  }
3742
3701
  for (l = f.length, c = 0; c < l; c += 1) f[c].closed = !0;
@@ -3752,7 +3711,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
3752
3711
  }, Z.prototype.destroy = function() {
3753
3712
  this.destroyBaseElement(), this.shapesData = null, this.itemsData = null;
3754
3713
  };
3755
- function Kn(e, t, n, r, i, a) {
3714
+ function Gn(e, t, n, r, i, a) {
3756
3715
  this.o = e, this.sw = t, this.sc = n, this.fc = r, this.m = i, this.p = a, this._mdf = {
3757
3716
  o: !0,
3758
3717
  sw: !!t,
@@ -3762,13 +3721,13 @@ var t = /* @__PURE__ */ e(((e, t) => {
3762
3721
  p: !0
3763
3722
  };
3764
3723
  }
3765
- Kn.prototype.update = function(e, t, n, r, i, a) {
3724
+ Gn.prototype.update = function(e, t, n, r, i, a) {
3766
3725
  this._mdf.o = !1, this._mdf.sw = !1, this._mdf.sc = !1, this._mdf.fc = !1, this._mdf.m = !1, this._mdf.p = !1;
3767
3726
  var o = !1;
3768
3727
  return this.o !== e && (this.o = e, this._mdf.o = !0, o = !0), this.sw !== t && (this.sw = t, this._mdf.sw = !0, o = !0), this.sc !== n && (this.sc = n, this._mdf.sc = !0, o = !0), this.fc !== r && (this.fc = r, this._mdf.fc = !0, o = !0), this.m !== i && (this.m = i, this._mdf.m = !0, o = !0), a.length && (this.p[0] !== a[0] || this.p[1] !== a[1] || this.p[4] !== a[4] || this.p[5] !== a[5] || this.p[12] !== a[12] || this.p[13] !== a[13]) && (this.p = a, this._mdf.p = !0, o = !0), o;
3769
3728
  };
3770
3729
  function Q(e, t) {
3771
- this._frameId = a, this.pv = "", this.v = "", this.kf = !1, this._isFirstFrame = !0, this._mdf = !1, t.d && t.d.sid && (t.d = e.globalData.slotManager.getProp(t.d)), this.data = t, this.elem = e, this.comp = this.elem.comp, this.keysIndex = 0, this.canResize = !1, this.minimumFontSize = 1, this.effectsSequence = [], this.currentData = {
3730
+ this._frameId = i, this.pv = "", this.v = "", this.kf = !1, this._isFirstFrame = !0, this._mdf = !1, t.d && t.d.sid && (t.d = e.globalData.slotManager.getProp(t.d)), this.data = t, this.elem = e, this.comp = this.elem.comp, this.keysIndex = 0, this.canResize = !1, this.minimumFontSize = 1, this.effectsSequence = [], this.currentData = {
3772
3731
  ascent: 0,
3773
3732
  boxWidth: this.defaultBoxWidth,
3774
3733
  f: "",
@@ -3811,27 +3770,26 @@ var t = /* @__PURE__ */ e(((e, t) => {
3811
3770
  }, Q.prototype.addEffect = function(e) {
3812
3771
  this.effectsSequence.push(e), this.elem.addDynamicProperty(this);
3813
3772
  }, Q.prototype.getValue = function(e) {
3814
- if (!((this.elem.globalData.frameId === this.frameId || !this.effectsSequence.length) && !e)) {
3773
+ if (this.elem.globalData.frameId !== this.frameId && this.effectsSequence.length || e) {
3815
3774
  this.currentData.t = this.data.d.k[this.keysIndex].s.t;
3816
3775
  var t = this.currentData, n = this.keysIndex;
3817
- if (this.lock) {
3818
- this.setCurrentData(this.currentData);
3819
- return;
3776
+ if (this.lock) this.setCurrentData(this.currentData);
3777
+ else {
3778
+ this.lock = !0, this._mdf = !1;
3779
+ var r, i = this.effectsSequence.length, a = e || this.data.d.k[this.keysIndex].s;
3780
+ for (r = 0; r < i; r += 1) a = n === this.keysIndex ? this.effectsSequence[r](this.currentData, a.t) : this.effectsSequence[r](a, a.t);
3781
+ t !== a && this.setCurrentData(a), this.v = this.currentData, this.pv = this.v, this.lock = !1, this.frameId = this.elem.globalData.frameId;
3820
3782
  }
3821
- this.lock = !0, this._mdf = !1;
3822
- var r, i = this.effectsSequence.length, a = e || this.data.d.k[this.keysIndex].s;
3823
- for (r = 0; r < i; r += 1) a = n === this.keysIndex ? this.effectsSequence[r](this.currentData, a.t) : this.effectsSequence[r](a, a.t);
3824
- t !== a && this.setCurrentData(a), this.v = this.currentData, this.pv = this.v, this.lock = !1, this.frameId = this.elem.globalData.frameId;
3825
3783
  }
3826
3784
  }, Q.prototype.getKeyframeValue = function() {
3827
3785
  for (var e = this.data.d.k, t = this.elem.comp.renderedFrame, n = 0, r = e.length; n <= r - 1 && !(n === r - 1 || e[n + 1].t > t);) n += 1;
3828
3786
  return this.keysIndex !== n && (this.keysIndex = n), this.data.d.k[this.keysIndex].s;
3829
3787
  }, Q.prototype.buildFinalText = function(e) {
3830
- for (var t = [], n = 0, r = e.length, i, a, o = !1, s = !1, c = ""; n < r;) o = s, s = !1, i = e.charCodeAt(n), c = e.charAt(n), Qt.isCombinedCharacter(i) ? o = !0 : i >= 55296 && i <= 56319 ? Qt.isRegionalFlag(e, n) ? c = e.substr(n, 14) : (a = e.charCodeAt(n + 1), a >= 56320 && a <= 57343 && (Qt.isModifier(i, a) ? (c = e.substr(n, 2), o = !0) : c = Qt.isFlagEmoji(e.substr(n, 4)) ? e.substr(n, 4) : e.substr(n, 2))) : i > 56319 ? (a = e.charCodeAt(n + 1), Qt.isVariationSelector(i) && (o = !0)) : Qt.isZeroWidthJoiner(i) && (o = !0, s = !0), o ? (t[t.length - 1] += c, o = !1) : t.push(c), n += c.length;
3788
+ for (var t = [], n = 0, r = e.length, i, a, o = !1, s = !1, c = ""; n < r;) o = s, s = !1, i = e.charCodeAt(n), c = e.charAt(n), Zt.isCombinedCharacter(i) ? o = !0 : i >= 55296 && i <= 56319 ? Zt.isRegionalFlag(e, n) ? c = e.substr(n, 14) : (a = e.charCodeAt(n + 1), a >= 56320 && a <= 57343 && (Zt.isModifier(i, a) ? (c = e.substr(n, 2), o = !0) : c = Zt.isFlagEmoji(e.substr(n, 4)) ? e.substr(n, 4) : e.substr(n, 2))) : i > 56319 ? (a = e.charCodeAt(n + 1), Zt.isVariationSelector(i) && (o = !0)) : Zt.isZeroWidthJoiner(i) && (o = !0, s = !0), o ? (t[t.length - 1] += c, o = !1) : t.push(c), n += c.length;
3831
3789
  return t;
3832
3790
  }, Q.prototype.completeTextData = function(e) {
3833
3791
  e.__complete = !0;
3834
- var t = this.elem.globalData.fontManager, n = this.data, r = [], i, a, o, s = 0, c, l = n.m.g, u = 0, d = 0, f = 0, p = [], m = 0, h = 0, g, _, v = t.getFontByName(e.f), y, b = 0, x = Zt(v);
3792
+ var t = this.elem.globalData.fontManager, n = this.data, r = [], i, a, o, s = 0, c, l = n.m.g, u = 0, d = 0, f = 0, p = [], m = 0, h = 0, g, _, v = t.getFontByName(e.f), y, b = 0, x = Xt(v);
3835
3793
  e.fWeight = x.weight, e.fStyle = x.style, e.finalSize = e.s, e.finalText = this.buildFinalText(e.t), a = e.finalText.length, e.finalLineHeight = e.lh;
3836
3794
  var S = e.tr / 1e3 * e.finalSize, C;
3837
3795
  if (e.sz) for (var w = !0, T = e.sz[0], E = e.sz[1], D, O; w;) {
@@ -3875,12 +3833,12 @@ var t = /* @__PURE__ */ e(((e, t) => {
3875
3833
  e.lineWidths = p;
3876
3834
  var M = n.a, N, P;
3877
3835
  _ = M.length;
3878
- var F, ee, I = [];
3836
+ var F, I, L = [];
3879
3837
  for (g = 0; g < _; g += 1) {
3880
- for (N = M[g], N.a.sc && (e.strokeColorAnim = !0), N.a.sw && (e.strokeWidthAnim = !0), (N.a.fc || N.a.fh || N.a.fs || N.a.fb) && (e.fillColorAnim = !0), ee = 0, F = N.s.b, i = 0; i < a; i += 1) P = r[i], P.anIndexes[g] = ee, (F == 1 && P.val !== "" || F == 2 && P.val !== "" && P.val !== " " || F == 3 && (P.n || P.val == " " || i == a - 1) || F == 4 && (P.n || i == a - 1)) && (N.s.rn === 1 && I.push(ee), ee += 1);
3881
- n.a[g].s.totalChars = ee;
3882
- var te = -1, ne;
3883
- if (N.s.rn === 1) for (i = 0; i < a; i += 1) P = r[i], te != P.anIndexes[g] && (te = P.anIndexes[g], ne = I.splice(Math.floor(Math.random() * I.length), 1)[0]), P.anIndexes[g] = ne;
3838
+ for (N = M[g], N.a.sc && (e.strokeColorAnim = !0), N.a.sw && (e.strokeWidthAnim = !0), (N.a.fc || N.a.fh || N.a.fs || N.a.fb) && (e.fillColorAnim = !0), I = 0, F = N.s.b, i = 0; i < a; i += 1) P = r[i], P.anIndexes[g] = I, (F == 1 && P.val !== "" || F == 2 && P.val !== "" && P.val !== " " || F == 3 && (P.n || P.val == " " || i == a - 1) || F == 4 && (P.n || i == a - 1)) && (N.s.rn === 1 && L.push(I), I += 1);
3839
+ n.a[g].s.totalChars = I;
3840
+ var ee = -1, te;
3841
+ if (N.s.rn === 1) for (i = 0; i < a; i += 1) P = r[i], ee != P.anIndexes[g] && (ee = P.anIndexes[g], te = L.splice(Math.floor(Math.random() * L.length), 1)[0]), P.anIndexes[g] = te;
3884
3842
  }
3885
3843
  e.yOffset = e.finalLineHeight || e.finalSize * 1.2, e.ls = e.ls || 0, e.ascent = v.ascent * e.finalSize / 100;
3886
3844
  }, Q.prototype.updateDocumentData = function(e, t) {
@@ -3895,17 +3853,17 @@ var t = /* @__PURE__ */ e(((e, t) => {
3895
3853
  }, Q.prototype.setMinimumFontSize = function(e) {
3896
3854
  this.minimumFontSize = Math.floor(e) || 1, this.recalculate(this.keysIndex), this.elem.addDynamicProperty(this);
3897
3855
  };
3898
- var qn = function() {
3856
+ var Kn = function() {
3899
3857
  var e = Math.max, t = Math.min, n = Math.floor;
3900
3858
  function r(e, t) {
3901
- this._currentTextLength = -1, this.k = !1, this.data = t, this.elem = e, this.comp = e.comp, this.finalS = 0, this.finalE = 0, this.initDynamicPropertyContainer(e), this.s = H.getProp(e, t.s || { k: 0 }, 0, 0, this), "e" in t ? this.e = H.getProp(e, t.e, 0, 0, this) : this.e = { v: 100 }, this.o = H.getProp(e, t.o || { k: 0 }, 0, 0, this), this.xe = H.getProp(e, t.xe || { k: 0 }, 0, 0, this), this.ne = H.getProp(e, t.ne || { k: 0 }, 0, 0, this), this.sm = H.getProp(e, t.sm || { k: 100 }, 0, 0, this), this.a = H.getProp(e, t.a, 0, .01, this), this.dynamicProperties.length || this.getValue();
3859
+ this._currentTextLength = -1, this.k = !1, this.data = t, this.elem = e, this.comp = e.comp, this.finalS = 0, this.finalE = 0, this.initDynamicPropertyContainer(e), this.s = U.getProp(e, t.s || { k: 0 }, 0, 0, this), this.e = "e" in t ? U.getProp(e, t.e, 0, 0, this) : { v: 100 }, this.o = U.getProp(e, t.o || { k: 0 }, 0, 0, this), this.xe = U.getProp(e, t.xe || { k: 0 }, 0, 0, this), this.ne = U.getProp(e, t.ne || { k: 0 }, 0, 0, this), this.sm = U.getProp(e, t.sm || { k: 100 }, 0, 0, this), this.a = U.getProp(e, t.a, 0, .01, this), this.dynamicProperties.length || this.getValue();
3902
3860
  }
3903
3861
  r.prototype = {
3904
3862
  getMult: function(r) {
3905
3863
  this._currentTextLength !== this.elem.textProperty.currentData.l.length && this.getValue();
3906
3864
  var i = 0, a = 0, o = 1, s = 1;
3907
3865
  this.ne.v > 0 ? i = this.ne.v / 100 : a = -this.ne.v / 100, this.xe.v > 0 ? o = 1 - this.xe.v / 100 : s = 1 + this.xe.v / 100;
3908
- var c = Ce.getBezierEasing(i, a, o, s).get, l = 0, u = this.finalS, d = this.finalE, f = this.data.sh;
3866
+ var c = xe.getBezierEasing(i, a, o, s).get, l = 0, u = this.finalS, d = this.finalE, f = this.data.sh;
3909
3867
  if (f === 2) l = d === u ? +(r >= d) : e(0, t(.5 / (d - u) + (r - u) / (d - u), 1)), l = c(l);
3910
3868
  else if (f === 3) l = d === u ? r >= d ? 0 : 1 : 1 - e(0, t(.5 / (d - u) + (r - u) / (d - u), 1)), l = c(l);
3911
3869
  else if (f === 4) d === u ? l = 0 : (l = e(0, t(.5 / (d - u) + (r - u) / (d - u), 1)), l < .5 ? l *= 2 : l = 1 - 2 * (l - .5)), l = c(l);
@@ -3936,20 +3894,20 @@ var t = /* @__PURE__ */ e(((e, t) => {
3936
3894
  }
3937
3895
  this.finalS = r, this.finalE = i;
3938
3896
  }
3939
- }, d([U], r);
3897
+ }, u([W], r);
3940
3898
  function i(e, t, n) {
3941
3899
  return new r(e, t, n);
3942
3900
  }
3943
3901
  return { getTextSelectorProp: i };
3944
3902
  }();
3945
- function Jn(e, t, n) {
3946
- var r = { propType: !1 }, i = H.getProp, a = t.a;
3903
+ function qn(e, t, n) {
3904
+ var r = { propType: !1 }, i = U.getProp, a = t.a;
3947
3905
  this.a = {
3948
- r: a.r ? i(e, a.r, 0, O, n) : r,
3949
- rx: a.rx ? i(e, a.rx, 0, O, n) : r,
3950
- ry: a.ry ? i(e, a.ry, 0, O, n) : r,
3951
- sk: a.sk ? i(e, a.sk, 0, O, n) : r,
3952
- sa: a.sa ? i(e, a.sa, 0, O, n) : r,
3906
+ r: a.r ? i(e, a.r, 0, D, n) : r,
3907
+ rx: a.rx ? i(e, a.rx, 0, D, n) : r,
3908
+ ry: a.ry ? i(e, a.ry, 0, D, n) : r,
3909
+ sk: a.sk ? i(e, a.sk, 0, D, n) : r,
3910
+ sa: a.sa ? i(e, a.sa, 0, D, n) : r,
3953
3911
  s: a.s ? i(e, a.s, 1, .01, n) : r,
3954
3912
  a: a.a ? i(e, a.a, 1, 0, n) : r,
3955
3913
  o: a.o ? i(e, a.o, 0, .01, n) : r,
@@ -3961,14 +3919,14 @@ var t = /* @__PURE__ */ e(((e, t) => {
3961
3919
  fs: a.fs ? i(e, a.fs, 0, .01, n) : r,
3962
3920
  fb: a.fb ? i(e, a.fb, 0, .01, n) : r,
3963
3921
  t: a.t ? i(e, a.t, 0, 0, n) : r
3964
- }, this.s = qn.getTextSelectorProp(e, t.s, n), this.s.t = t.s.t;
3922
+ }, this.s = Kn.getTextSelectorProp(e, t.s, n), this.s.t = t.s.t;
3965
3923
  }
3966
- function Yn(e, t, n) {
3967
- this._isFirstFrame = !0, this._hasMaskedPath = !1, this._frameId = -1, this._textData = e, this._renderType = t, this._elem = n, this._animatorsData = h(this._textData.a.length), this._pathData = {}, this._moreOptions = { alignment: {} }, this.renderedLetters = [], this.lettersChangedFlag = !1, this.initDynamicPropertyContainer(n);
3924
+ function Jn(e, t, n) {
3925
+ this._isFirstFrame = !0, this._hasMaskedPath = !1, this._frameId = -1, this._textData = e, this._renderType = t, this._elem = n, this._animatorsData = m(this._textData.a.length), this._pathData = {}, this._moreOptions = { alignment: {} }, this.renderedLetters = [], this.lettersChangedFlag = !1, this.initDynamicPropertyContainer(n);
3968
3926
  }
3969
- Yn.prototype.searchProperties = function() {
3970
- var e, t = this._textData.a.length, n, r = H.getProp;
3971
- for (e = 0; e < t; e += 1) n = this._textData.a[e], this._animatorsData[e] = new Jn(this._elem, n, this);
3927
+ Jn.prototype.searchProperties = function() {
3928
+ var e, t = this._textData.a.length, n, r = U.getProp;
3929
+ for (e = 0; e < t; e += 1) n = this._textData.a[e], this._animatorsData[e] = new qn(this._elem, n, this);
3972
3930
  this._textData.p && "m" in this._textData.p ? (this._pathData = {
3973
3931
  a: r(this._elem, this._textData.p.a, 0, 0, this),
3974
3932
  f: r(this._elem, this._textData.p.f, 0, 0, this),
@@ -3977,8 +3935,8 @@ var t = /* @__PURE__ */ e(((e, t) => {
3977
3935
  p: r(this._elem, this._textData.p.p, 0, 0, this),
3978
3936
  m: this._elem.maskManager.getMaskProperty(this._textData.p.m)
3979
3937
  }, this._hasMaskedPath = !0) : this._hasMaskedPath = !1, this._moreOptions.alignment = r(this._elem, this._textData.m.a, 1, 0, this);
3980
- }, Yn.prototype.getMeasures = function(e, t) {
3981
- if (this.lettersChangedFlag = t, !(!this._mdf && !this._isFirstFrame && !t && (!this._hasMaskedPath || !this._pathData.m._mdf))) {
3938
+ }, Jn.prototype.getMeasures = function(e, t) {
3939
+ if (this.lettersChangedFlag = t, this._mdf || this._isFirstFrame || t || this._hasMaskedPath && this._pathData.m._mdf) {
3982
3940
  this._isFirstFrame = !1;
3983
3941
  var n = this._moreOptions.alignment.v, r = this._animatorsData, i = this._textData, a = this.mHelper, o = this._renderType, s = this.renderedLetters.length, c, l, u, d, f = e.l, p, m, h, g, _, v, y, b, x, S, C, w, T, E, D;
3984
3942
  if (this._hasMaskedPath) {
@@ -3989,49 +3947,46 @@ var t = /* @__PURE__ */ e(((e, t) => {
3989
3947
  segments: []
3990
3948
  }, d = O._length - 1;
3991
3949
  var k;
3992
- for (w = 0, u = 0; u < d; u += 1) k = ke.buildBezierData(O.v[u], O.v[u + 1], [O.o[u][0] - O.v[u][0], O.o[u][1] - O.v[u][1]], [O.i[u + 1][0] - O.v[u + 1][0], O.i[u + 1][1] - O.v[u + 1][1]]), p.tLength += k.segmentLength, p.segments.push(k), w += k.segmentLength;
3993
- u = d, D.v.c && (k = ke.buildBezierData(O.v[u], O.v[0], [O.o[u][0] - O.v[u][0], O.o[u][1] - O.v[u][1]], [O.i[0][0] - O.v[0][0], O.i[0][1] - O.v[0][1]]), p.tLength += k.segmentLength, p.segments.push(k), w += k.segmentLength), this._pathData.pi = p;
3950
+ for (w = 0, u = 0; u < d; u += 1) k = De.buildBezierData(O.v[u], O.v[u + 1], [O.o[u][0] - O.v[u][0], O.o[u][1] - O.v[u][1]], [O.i[u + 1][0] - O.v[u + 1][0], O.i[u + 1][1] - O.v[u + 1][1]]), p.tLength += k.segmentLength, p.segments.push(k), w += k.segmentLength;
3951
+ u = d, D.v.c && (k = De.buildBezierData(O.v[u], O.v[0], [O.o[u][0] - O.v[u][0], O.o[u][1] - O.v[u][1]], [O.i[0][0] - O.v[0][0], O.i[0][1] - O.v[0][1]]), p.tLength += k.segmentLength, p.segments.push(k), w += k.segmentLength), this._pathData.pi = p;
3994
3952
  }
3995
3953
  if (p = this._pathData.pi, m = this._pathData.f.v, y = 0, v = 1, g = 0, _ = !0, S = p.segments, m < 0 && D.v.c) for (p.tLength < Math.abs(m) && (m = -Math.abs(m) % p.tLength), y = S.length - 1, x = S[y].points, v = x.length - 1; m < 0;) m += x[v].partialLength, --v, v < 0 && (--y, x = S[y].points, v = x.length - 1);
3996
3954
  x = S[y].points, b = x[v - 1], h = x[v], C = h.partialLength;
3997
3955
  }
3998
3956
  d = f.length, c = 0, l = 0;
3999
- var A = e.finalSize * 1.2 * .714, j = !0, M, N, P, F = r.length, ee, I, te = -1, ne, oe, se, ce = m, le = y, ue = v, de = -1, fe, pe, L, R, z, me, he, ge, _e = "", ve = this.defaultPropsArray, ye;
3957
+ var A = e.finalSize * 1.2 * .714, j = !0, M, N, P, F = r.length, I, L, ee = -1, ie, ae, oe, se = m, ce = y, le = v, ue = -1, de, R, fe, z, B, pe, me, he, ge = "", _e = this.defaultPropsArray, ve;
4000
3958
  if (e.j === 2 || e.j === 1) {
4001
- var be = 0, xe = 0, Se = e.j === 2 ? -.5 : -1, B = 0, V = !0;
3959
+ var ye = 0, be = 0, V = e.j === 2 ? -.5 : -1, H = 0, xe = !0;
4002
3960
  for (u = 0; u < d; u += 1) if (f[u].n) {
4003
- for (be && (be += xe); B < u;) f[B].animatorJustifyOffset = be, B += 1;
4004
- be = 0, V = !0;
3961
+ for (ye && (ye += be); H < u;) f[H].animatorJustifyOffset = ye, H += 1;
3962
+ ye = 0, xe = !0;
4005
3963
  } else {
4006
- for (P = 0; P < F; P += 1) M = r[P].a, M.t.propType && (V && e.j === 2 && (xe += M.t.v * Se), N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? be += M.t.v * I[0] * Se : be += M.t.v * I * Se);
4007
- V = !1;
3964
+ for (P = 0; P < F; P += 1) M = r[P].a, M.t.propType && (xe && e.j === 2 && (be += M.t.v * V), N = r[P].s, L = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), L.length ? ye += M.t.v * L[0] * V : ye += M.t.v * L * V);
3965
+ xe = !1;
4008
3966
  }
4009
- for (be && (be += xe); B < u;) f[B].animatorJustifyOffset = be, B += 1;
3967
+ for (ye && (ye += be); H < u;) f[H].animatorJustifyOffset = ye, H += 1;
4010
3968
  }
4011
3969
  for (u = 0; u < d; u += 1) {
4012
- if (a.reset(), fe = 1, f[u].n) c = 0, l += e.yOffset, l += +!!j, m = ce, j = !1, this._hasMaskedPath && (y = le, v = ue, x = S[y].points, b = x[v - 1], h = x[v], C = h.partialLength, g = 0), _e = "", ge = "", me = "", ye = "", ve = this.defaultPropsArray;
3970
+ if (a.reset(), de = 1, f[u].n) c = 0, l += e.yOffset, l += +!!j, m = se, j = !1, this._hasMaskedPath && (y = ce, v = le, x = S[y].points, b = x[v - 1], h = x[v], C = h.partialLength, g = 0), ge = "", he = "", pe = "", ve = "", _e = this.defaultPropsArray;
4013
3971
  else {
4014
3972
  if (this._hasMaskedPath) {
4015
- if (de !== f[u].line) {
3973
+ if (ue !== f[u].line) {
4016
3974
  switch (e.j) {
4017
3975
  case 1:
4018
3976
  m += w - e.lineWidths[f[u].line];
4019
3977
  break;
4020
- case 2:
4021
- m += (w - e.lineWidths[f[u].line]) / 2;
4022
- break;
4023
- default: break;
3978
+ case 2: m += (w - e.lineWidths[f[u].line]) / 2;
4024
3979
  }
4025
- de = f[u].line;
3980
+ ue = f[u].line;
4026
3981
  }
4027
- te !== f[u].ind && (f[te] && (m += f[te].extra), m += f[u].an / 2, te = f[u].ind), m += n[0] * f[u].an * .005;
4028
- var Ce = 0;
4029
- for (P = 0; P < F; P += 1) M = r[P].a, M.p.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? Ce += M.p.v[0] * I[0] : Ce += M.p.v[0] * I), M.a.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? Ce += M.a.v[0] * I[0] : Ce += M.a.v[0] * I);
4030
- for (_ = !0, this._pathData.a.v && (m = f[0].an * .5 + (w - this._pathData.f.v - f[0].an * .5 - f[f.length - 1].an * .5) * te / (d - 1), m += this._pathData.f.v); _;) g + C >= m + Ce || !x ? (T = (m + Ce - g) / h.partialLength, oe = b.point[0] + (h.point[0] - b.point[0]) * T, se = b.point[1] + (h.point[1] - b.point[1]) * T, a.translate(-n[0] * f[u].an * .005, -(n[1] * A) * .01), _ = !1) : x && (g += h.partialLength, v += 1, v >= x.length && (v = 0, y += 1, S[y] ? x = S[y].points : D.v.c ? (v = 0, y = 0, x = S[y].points) : (g -= h.partialLength, x = null)), x && (b = h, h = x[v], C = h.partialLength));
4031
- ne = f[u].an / 2 - f[u].add, a.translate(-ne, 0, 0);
4032
- } else ne = f[u].an / 2 - f[u].add, a.translate(-ne, 0, 0), a.translate(-n[0] * f[u].an * .005, -n[1] * A * .01, 0);
4033
- for (P = 0; P < F; P += 1) M = r[P].a, M.t.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), (c !== 0 || e.j !== 0) && (this._hasMaskedPath ? I.length ? m += M.t.v * I[0] : m += M.t.v * I : I.length ? c += M.t.v * I[0] : c += M.t.v * I));
4034
- for (e.strokeWidthAnim && (L = e.sw || 0), e.strokeColorAnim && (pe = e.sc ? [
3982
+ ee !== f[u].ind && (f[ee] && (m += f[ee].extra), m += f[u].an / 2, ee = f[u].ind), m += n[0] * f[u].an * .005;
3983
+ var Se = 0;
3984
+ for (P = 0; P < F; P += 1) M = r[P].a, M.p.propType && (N = r[P].s, L = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), L.length ? Se += M.p.v[0] * L[0] : Se += M.p.v[0] * L), M.a.propType && (N = r[P].s, L = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), L.length ? Se += M.a.v[0] * L[0] : Se += M.a.v[0] * L);
3985
+ for (_ = !0, this._pathData.a.v && (m = f[0].an * .5 + (w - this._pathData.f.v - f[0].an * .5 - f[f.length - 1].an * .5) * ee / (d - 1), m += this._pathData.f.v); _;) g + C >= m + Se || !x ? (T = (m + Se - g) / h.partialLength, ae = b.point[0] + (h.point[0] - b.point[0]) * T, oe = b.point[1] + (h.point[1] - b.point[1]) * T, a.translate(-n[0] * f[u].an * .005, -(n[1] * A) * .01), _ = !1) : x && (g += h.partialLength, v += 1, v >= x.length && (v = 0, y += 1, S[y] ? x = S[y].points : D.v.c ? (v = 0, y = 0, x = S[y].points) : (g -= h.partialLength, x = null)), x && (b = h, h = x[v], C = h.partialLength));
3986
+ ie = f[u].an / 2 - f[u].add, a.translate(-ie, 0, 0);
3987
+ } else ie = f[u].an / 2 - f[u].add, a.translate(-ie, 0, 0), a.translate(-n[0] * f[u].an * .005, -n[1] * A * .01, 0);
3988
+ for (P = 0; P < F; P += 1) M = r[P].a, M.t.propType && (N = r[P].s, L = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), (c !== 0 || e.j !== 0) && (this._hasMaskedPath ? L.length ? m += M.t.v * L[0] : m += M.t.v * L : L.length ? c += M.t.v * L[0] : c += M.t.v * L));
3989
+ for (e.strokeWidthAnim && (fe = e.sw || 0), e.strokeColorAnim && (R = e.sc ? [
4035
3990
  e.sc[0],
4036
3991
  e.sc[1],
4037
3992
  e.sc[2]
@@ -4039,40 +3994,37 @@ var t = /* @__PURE__ */ e(((e, t) => {
4039
3994
  0,
4040
3995
  0,
4041
3996
  0
4042
- ]), e.fillColorAnim && e.fc && (R = [
3997
+ ]), e.fillColorAnim && e.fc && (z = [
4043
3998
  e.fc[0],
4044
3999
  e.fc[1],
4045
4000
  e.fc[2]
4046
- ]), P = 0; P < F; P += 1) M = r[P].a, M.a.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? a.translate(-M.a.v[0] * I[0], -M.a.v[1] * I[1], M.a.v[2] * I[2]) : a.translate(-M.a.v[0] * I, -M.a.v[1] * I, M.a.v[2] * I));
4047
- for (P = 0; P < F; P += 1) M = r[P].a, M.s.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), I.length ? a.scale(1 + (M.s.v[0] - 1) * I[0], 1 + (M.s.v[1] - 1) * I[1], 1) : a.scale(1 + (M.s.v[0] - 1) * I, 1 + (M.s.v[1] - 1) * I, 1));
4001
+ ]), P = 0; P < F; P += 1) M = r[P].a, M.a.propType && (N = r[P].s, L = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), L.length ? a.translate(-M.a.v[0] * L[0], -M.a.v[1] * L[1], M.a.v[2] * L[2]) : a.translate(-M.a.v[0] * L, -M.a.v[1] * L, M.a.v[2] * L));
4002
+ for (P = 0; P < F; P += 1) M = r[P].a, M.s.propType && (N = r[P].s, L = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), L.length ? a.scale(1 + (M.s.v[0] - 1) * L[0], 1 + (M.s.v[1] - 1) * L[1], 1) : a.scale(1 + (M.s.v[0] - 1) * L, 1 + (M.s.v[1] - 1) * L, 1));
4048
4003
  for (P = 0; P < F; P += 1) {
4049
- if (M = r[P].a, N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), M.sk.propType && (I.length ? a.skewFromAxis(-M.sk.v * I[0], M.sa.v * I[1]) : a.skewFromAxis(-M.sk.v * I, M.sa.v * I)), M.r.propType && (I.length ? a.rotateZ(-M.r.v * I[2]) : a.rotateZ(-M.r.v * I)), M.ry.propType && (I.length ? a.rotateY(M.ry.v * I[1]) : a.rotateY(M.ry.v * I)), M.rx.propType && (I.length ? a.rotateX(M.rx.v * I[0]) : a.rotateX(M.rx.v * I)), M.o.propType && (I.length ? fe += (M.o.v * I[0] - fe) * I[0] : fe += (M.o.v * I - fe) * I), e.strokeWidthAnim && M.sw.propType && (I.length ? L += M.sw.v * I[0] : L += M.sw.v * I), e.strokeColorAnim && M.sc.propType) for (z = 0; z < 3; z += 1) I.length ? pe[z] += (M.sc.v[z] - pe[z]) * I[0] : pe[z] += (M.sc.v[z] - pe[z]) * I;
4004
+ if (M = r[P].a, N = r[P].s, L = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), M.sk.propType && (L.length ? a.skewFromAxis(-M.sk.v * L[0], M.sa.v * L[1]) : a.skewFromAxis(-M.sk.v * L, M.sa.v * L)), M.r.propType && (L.length ? a.rotateZ(-M.r.v * L[2]) : a.rotateZ(-M.r.v * L)), M.ry.propType && (L.length ? a.rotateY(M.ry.v * L[1]) : a.rotateY(M.ry.v * L)), M.rx.propType && (L.length ? a.rotateX(M.rx.v * L[0]) : a.rotateX(M.rx.v * L)), M.o.propType && (L.length ? de += (M.o.v * L[0] - de) * L[0] : de += (M.o.v * L - de) * L), e.strokeWidthAnim && M.sw.propType && (L.length ? fe += M.sw.v * L[0] : fe += M.sw.v * L), e.strokeColorAnim && M.sc.propType) for (B = 0; B < 3; B += 1) L.length ? R[B] += (M.sc.v[B] - R[B]) * L[0] : R[B] += (M.sc.v[B] - R[B]) * L;
4050
4005
  if (e.fillColorAnim && e.fc) {
4051
- if (M.fc.propType) for (z = 0; z < 3; z += 1) I.length ? R[z] += (M.fc.v[z] - R[z]) * I[0] : R[z] += (M.fc.v[z] - R[z]) * I;
4052
- M.fh.propType && (R = I.length ? ae(R, M.fh.v * I[0]) : ae(R, M.fh.v * I)), M.fs.propType && (R = I.length ? re(R, M.fs.v * I[0]) : re(R, M.fs.v * I)), M.fb.propType && (R = I.length ? ie(R, M.fb.v * I[0]) : ie(R, M.fb.v * I));
4006
+ if (M.fc.propType) for (B = 0; B < 3; B += 1) L.length ? z[B] += (M.fc.v[B] - z[B]) * L[0] : z[B] += (M.fc.v[B] - z[B]) * L;
4007
+ M.fh.propType && (z = L.length ? re(z, M.fh.v * L[0]) : re(z, M.fh.v * L)), M.fs.propType && (z = L.length ? te(z, M.fs.v * L[0]) : te(z, M.fs.v * L)), M.fb.propType && (z = L.length ? ne(z, M.fb.v * L[0]) : ne(z, M.fb.v * L));
4053
4008
  }
4054
4009
  }
4055
- for (P = 0; P < F; P += 1) M = r[P].a, M.p.propType && (N = r[P].s, I = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), this._hasMaskedPath ? I.length ? a.translate(0, M.p.v[1] * I[0], -M.p.v[2] * I[1]) : a.translate(0, M.p.v[1] * I, -M.p.v[2] * I) : I.length ? a.translate(M.p.v[0] * I[0], M.p.v[1] * I[1], -M.p.v[2] * I[2]) : a.translate(M.p.v[0] * I, M.p.v[1] * I, -M.p.v[2] * I));
4056
- if (e.strokeWidthAnim && (me = L < 0 ? 0 : L), e.strokeColorAnim && (he = "rgb(" + Math.round(pe[0] * 255) + "," + Math.round(pe[1] * 255) + "," + Math.round(pe[2] * 255) + ")"), e.fillColorAnim && e.fc && (ge = "rgb(" + Math.round(R[0] * 255) + "," + Math.round(R[1] * 255) + "," + Math.round(R[2] * 255) + ")"), this._hasMaskedPath) {
4010
+ for (P = 0; P < F; P += 1) M = r[P].a, M.p.propType && (N = r[P].s, L = N.getMult(f[u].anIndexes[P], i.a[P].s.totalChars), this._hasMaskedPath ? L.length ? a.translate(0, M.p.v[1] * L[0], -M.p.v[2] * L[1]) : a.translate(0, M.p.v[1] * L, -M.p.v[2] * L) : L.length ? a.translate(M.p.v[0] * L[0], M.p.v[1] * L[1], -M.p.v[2] * L[2]) : a.translate(M.p.v[0] * L, M.p.v[1] * L, -M.p.v[2] * L));
4011
+ if (e.strokeWidthAnim && (pe = fe < 0 ? 0 : fe), e.strokeColorAnim && (me = "rgb(" + Math.round(R[0] * 255) + "," + Math.round(R[1] * 255) + "," + Math.round(R[2] * 255) + ")"), e.fillColorAnim && e.fc && (he = "rgb(" + Math.round(z[0] * 255) + "," + Math.round(z[1] * 255) + "," + Math.round(z[2] * 255) + ")"), this._hasMaskedPath) {
4057
4012
  if (a.translate(0, -e.ls), a.translate(0, n[1] * A * .01 + l, 0), this._pathData.p.v) {
4058
4013
  E = (h.point[1] - b.point[1]) / (h.point[0] - b.point[0]);
4059
- var we = Math.atan(E) * 180 / Math.PI;
4060
- h.point[0] < b.point[0] && (we += 180), a.rotate(-we * Math.PI / 180);
4014
+ var Ce = Math.atan(E) * 180 / Math.PI;
4015
+ h.point[0] < b.point[0] && (Ce += 180), a.rotate(-Ce * Math.PI / 180);
4061
4016
  }
4062
- a.translate(oe, se, 0), m -= n[0] * f[u].an * .005, f[u + 1] && te !== f[u + 1].ind && (m += f[u].an / 2, m += e.tr * .001 * e.finalSize);
4017
+ a.translate(ae, oe, 0), m -= n[0] * f[u].an * .005, f[u + 1] && ee !== f[u + 1].ind && (m += f[u].an / 2, m += e.tr * .001 * e.finalSize);
4063
4018
  } else {
4064
4019
  switch (a.translate(c, l, 0), e.ps && a.translate(e.ps[0], e.ps[1] + e.ascent, 0), e.j) {
4065
4020
  case 1:
4066
4021
  a.translate(f[u].animatorJustifyOffset + e.justifyOffset + (e.boxWidth - e.lineWidths[f[u].line]), 0, 0);
4067
4022
  break;
4068
- case 2:
4069
- a.translate(f[u].animatorJustifyOffset + e.justifyOffset + (e.boxWidth - e.lineWidths[f[u].line]) / 2, 0, 0);
4070
- break;
4071
- default: break;
4023
+ case 2: a.translate(f[u].animatorJustifyOffset + e.justifyOffset + (e.boxWidth - e.lineWidths[f[u].line]) / 2, 0, 0);
4072
4024
  }
4073
- a.translate(0, -e.ls), a.translate(ne, 0, 0), a.translate(n[0] * f[u].an * .005, n[1] * A * .01, 0), c += f[u].l + e.tr * .001 * e.finalSize;
4025
+ a.translate(0, -e.ls), a.translate(ie, 0, 0), a.translate(n[0] * f[u].an * .005, n[1] * A * .01, 0), c += f[u].l + e.tr * .001 * e.finalSize;
4074
4026
  }
4075
- o === "html" ? _e = a.toCSS() : o === "svg" ? _e = a.to2dCSS() : ve = [
4027
+ o === "html" ? ge = a.toCSS() : o === "svg" ? ge = a.to2dCSS() : _e = [
4076
4028
  a.props[0],
4077
4029
  a.props[1],
4078
4030
  a.props[2],
@@ -4089,63 +4041,60 @@ var t = /* @__PURE__ */ e(((e, t) => {
4089
4041
  a.props[13],
4090
4042
  a.props[14],
4091
4043
  a.props[15]
4092
- ], ye = fe;
4044
+ ], ve = de;
4093
4045
  }
4094
- s <= u ? (ee = new Kn(ye, me, he, ge, _e, ve), this.renderedLetters.push(ee), s += 1, this.lettersChangedFlag = !0) : (ee = this.renderedLetters[u], this.lettersChangedFlag = ee.update(ye, me, he, ge, _e, ve) || this.lettersChangedFlag);
4046
+ s <= u ? (I = new Gn(ve, pe, me, he, ge, _e), this.renderedLetters.push(I), s += 1, this.lettersChangedFlag = !0) : (I = this.renderedLetters[u], this.lettersChangedFlag = I.update(ve, pe, me, he, ge, _e) || this.lettersChangedFlag);
4095
4047
  }
4096
4048
  }
4097
- }, Yn.prototype.getValue = function() {
4049
+ }, Jn.prototype.getValue = function() {
4098
4050
  this._elem.globalData.frameId !== this._frameId && (this._frameId = this._elem.globalData.frameId, this.iterateDynamicProperties());
4099
- }, Yn.prototype.mHelper = new G(), Yn.prototype.defaultPropsArray = [], d([U], Yn);
4100
- function Xn() {}
4101
- Xn.prototype.initElement = function(e, t, n) {
4102
- this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(e, t, n), this.textProperty = new Q(this, e.t, this.dynamicProperties), this.textAnimator = new Yn(e.t, this.renderType, this), this.initTransform(e, t, n), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide(), this.textAnimator.searchProperties(this.dynamicProperties);
4103
- }, Xn.prototype.prepareFrame = function(e) {
4051
+ }, Jn.prototype.mHelper = new K(), Jn.prototype.defaultPropsArray = [], u([W], Jn);
4052
+ function Yn() {}
4053
+ Yn.prototype.initElement = function(e, t, n) {
4054
+ this.lettersChangedFlag = !0, this.initFrame(), this.initBaseData(e, t, n), this.textProperty = new Q(this, e.t, this.dynamicProperties), this.textAnimator = new Jn(e.t, this.renderType, this), this.initTransform(e, t, n), this.initHierarchy(), this.initRenderable(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), this.createContent(), this.hide(), this.textAnimator.searchProperties(this.dynamicProperties);
4055
+ }, Yn.prototype.prepareFrame = function(e) {
4104
4056
  this._mdf = !1, this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange);
4105
- }, Xn.prototype.createPathShape = function(e, t) {
4057
+ }, Yn.prototype.createPathShape = function(e, t) {
4106
4058
  var n, r = t.length, i, a = "";
4107
- for (n = 0; n < r; n += 1) t[n].ty === "sh" && (i = t[n].ks.k, a += Wn(i, i.i.length, !0, e));
4059
+ for (n = 0; n < r; n += 1) t[n].ty === "sh" && (i = t[n].ks.k, a += Un(i, i.i.length, !0, e));
4108
4060
  return a;
4109
- }, Xn.prototype.updateDocumentData = function(e, t) {
4061
+ }, Yn.prototype.updateDocumentData = function(e, t) {
4110
4062
  this.textProperty.updateDocumentData(e, t);
4111
- }, Xn.prototype.canResizeFont = function(e) {
4063
+ }, Yn.prototype.canResizeFont = function(e) {
4112
4064
  this.textProperty.canResizeFont(e);
4113
- }, Xn.prototype.setMinimumFontSize = function(e) {
4065
+ }, Yn.prototype.setMinimumFontSize = function(e) {
4114
4066
  this.textProperty.setMinimumFontSize(e);
4115
- }, Xn.prototype.applyTextPropertiesToMatrix = function(e, t, n, r, i) {
4067
+ }, Yn.prototype.applyTextPropertiesToMatrix = function(e, t, n, r, i) {
4116
4068
  switch (e.ps && t.translate(e.ps[0], e.ps[1] + e.ascent, 0), t.translate(0, -e.ls, 0), e.j) {
4117
4069
  case 1:
4118
4070
  t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]), 0, 0);
4119
4071
  break;
4120
- case 2:
4121
- t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]) / 2, 0, 0);
4122
- break;
4123
- default: break;
4072
+ case 2: t.translate(e.justifyOffset + (e.boxWidth - e.lineWidths[n]) / 2, 0, 0);
4124
4073
  }
4125
4074
  t.translate(r, i, 0);
4126
- }, Xn.prototype.buildColor = function(e) {
4075
+ }, Yn.prototype.buildColor = function(e) {
4127
4076
  return "rgb(" + Math.round(e[0] * 255) + "," + Math.round(e[1] * 255) + "," + Math.round(e[2] * 255) + ")";
4128
- }, Xn.prototype.emptyProp = new Kn(), Xn.prototype.destroy = function() {}, Xn.prototype.validateText = function() {
4077
+ }, Yn.prototype.emptyProp = new Gn(), Yn.prototype.destroy = function() {}, Yn.prototype.validateText = function() {
4129
4078
  (this.textProperty._mdf || this.textProperty._isFirstFrame) && (this.buildNewText(), this.textProperty._isFirstFrame = !1, this.textProperty._mdf = !1);
4130
4079
  };
4131
- var Zn = { shapes: [] };
4132
- function Qn(e, t, n) {
4080
+ var Xn = { shapes: [] };
4081
+ function Zn(e, t, n) {
4133
4082
  this.textSpans = [], this.renderType = "svg", this.initElement(e, t, n);
4134
4083
  }
4135
- d([
4136
- mn,
4137
- vn,
4084
+ u([
4085
+ pn,
4086
+ _n,
4087
+ wn,
4138
4088
  Tn,
4089
+ mn,
4139
4090
  En,
4140
- hn,
4141
- Dn,
4142
- Xn
4143
- ], Qn), Qn.prototype.createContent = function() {
4144
- this.data.singleShape && !this.globalData.fontManager.chars && (this.textContainer = L("text"));
4145
- }, Qn.prototype.buildTextContents = function(e) {
4091
+ Yn
4092
+ ], Zn), Zn.prototype.createContent = function() {
4093
+ this.data.singleShape && !this.globalData.fontManager.chars && (this.textContainer = R("text"));
4094
+ }, Zn.prototype.buildTextContents = function(e) {
4146
4095
  for (var t = 0, n = e.length, r = [], i = ""; t < n;) e[t] === "\r" || e[t] === "" ? (r.push(i), i = "") : i += e[t], t += 1;
4147
4096
  return r.push(i), r;
4148
- }, Qn.prototype.buildShapeData = function(e, t) {
4097
+ }, Zn.prototype.buildShapeData = function(e, t) {
4149
4098
  if (e.shapes && e.shapes.length) {
4150
4099
  var n = e.shapes[0];
4151
4100
  if (n.it) {
@@ -4154,10 +4103,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
4154
4103
  }
4155
4104
  }
4156
4105
  return e;
4157
- }, Qn.prototype.buildNewText = function() {
4106
+ }, Zn.prototype.buildNewText = function() {
4158
4107
  this.addDynamicProperty(this);
4159
4108
  var e, t, n = this.textProperty.currentData;
4160
- this.renderedLetters = h(n ? n.l.length : 0), n.fc ? this.layerElement.setAttribute("fill", this.buildColor(n.fc)) : this.layerElement.setAttribute("fill", "rgba(0,0,0,0)"), n.sc && (this.layerElement.setAttribute("stroke", this.buildColor(n.sc)), this.layerElement.setAttribute("stroke-width", n.sw)), this.layerElement.setAttribute("font-size", n.finalSize);
4109
+ this.renderedLetters = m(n ? n.l.length : 0), n.fc ? this.layerElement.setAttribute("fill", this.buildColor(n.fc)) : this.layerElement.setAttribute("fill", "rgba(0,0,0,0)"), n.sc && (this.layerElement.setAttribute("stroke", this.buildColor(n.sc)), this.layerElement.setAttribute("stroke-width", n.sw)), this.layerElement.setAttribute("font-size", n.finalSize);
4161
4110
  var r = this.globalData.fontManager.getFontByName(n.f);
4162
4111
  if (r.fClass) this.layerElement.setAttribute("class", r.fClass);
4163
4112
  else {
@@ -4168,7 +4117,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
4168
4117
  this.layerElement.setAttribute("aria-label", n.t);
4169
4118
  var o = n.l || [], s = !!this.globalData.fontManager.chars;
4170
4119
  t = o.length;
4171
- var c, l = this.mHelper, u = "", d = this.data.singleShape, f = 0, p = 0, m = !0, g = n.tr * .001 * n.finalSize;
4120
+ var c, l = this.mHelper, u = "", d = this.data.singleShape, f = 0, p = 0, h = !0, g = n.tr * .001 * n.finalSize;
4172
4121
  if (d && !s && !n.sz) {
4173
4122
  var _ = this.textContainer, v = "start";
4174
4123
  switch (n.j) {
@@ -4178,13 +4127,11 @@ var t = /* @__PURE__ */ e(((e, t) => {
4178
4127
  case 2:
4179
4128
  v = "middle";
4180
4129
  break;
4181
- default:
4182
- v = "start";
4183
- break;
4130
+ default: v = "start";
4184
4131
  }
4185
4132
  _.setAttribute("text-anchor", v), _.setAttribute("letter-spacing", g);
4186
4133
  var y = this.buildTextContents(n.finalText);
4187
- for (t = y.length, p = n.ps ? n.ps[1] + n.ascent : 0, e = 0; e < t; e += 1) c = this.textSpans[e].span || L("tspan"), c.textContent = y[e], c.setAttribute("x", 0), c.setAttribute("y", p), c.style.display = "inherit", _.appendChild(c), this.textSpans[e] || (this.textSpans[e] = {
4134
+ for (t = y.length, p = n.ps ? n.ps[1] + n.ascent : 0, e = 0; e < t; e += 1) c = this.textSpans[e].span || R("tspan"), c.textContent = y[e], c.setAttribute("x", 0), c.setAttribute("y", p), c.style.display = "inherit", _.appendChild(c), this.textSpans[e] || (this.textSpans[e] = {
4188
4135
  span: null,
4189
4136
  glyph: null
4190
4137
  }), this.textSpans[e].span = c, p += n.finalLineHeight;
@@ -4197,21 +4144,21 @@ var t = /* @__PURE__ */ e(((e, t) => {
4197
4144
  childSpan: null,
4198
4145
  glyph: null
4199
4146
  }), !s || !d || e === 0) {
4200
- if (c = b > e ? this.textSpans[e].span : L(s ? "g" : "text"), b <= e) {
4147
+ if (c = b > e ? this.textSpans[e].span : R(s ? "g" : "text"), b <= e) {
4201
4148
  if (c.setAttribute("stroke-linecap", "butt"), c.setAttribute("stroke-linejoin", "round"), c.setAttribute("stroke-miterlimit", "4"), this.textSpans[e].span = c, s) {
4202
- var S = L("g");
4149
+ var S = R("g");
4203
4150
  c.appendChild(S), this.textSpans[e].childSpan = S;
4204
4151
  }
4205
4152
  this.textSpans[e].span = c, this.layerElement.appendChild(c);
4206
4153
  }
4207
4154
  c.style.display = "inherit";
4208
4155
  }
4209
- if (l.reset(), d && (o[e].n && (f = -g, p += n.yOffset, p += +!!m, m = !1), this.applyTextPropertiesToMatrix(n, l, o[e].line, f, p), f += o[e].l || 0, f += g), s) {
4156
+ if (l.reset(), d && (o[e].n && (f = -g, p += n.yOffset, p += +!!h, h = !1), this.applyTextPropertiesToMatrix(n, l, o[e].line, f, p), f += o[e].l || 0, f += g), s) {
4210
4157
  x = this.globalData.fontManager.getCharData(n.finalText[e], r.fStyle, this.globalData.fontManager.getFontByName(n.f).fFamily);
4211
4158
  var C;
4212
- if (x.t === 1) C = new nr(x.data, this.globalData, this);
4159
+ if (x.t === 1) C = new tr(x.data, this.globalData, this);
4213
4160
  else {
4214
- var w = Zn;
4161
+ var w = Xn;
4215
4162
  x.data && x.data.shapes && (w = this.buildShapeData(x.data, n.finalSize)), C = new Z(w, this.globalData, this);
4216
4163
  }
4217
4164
  if (this.textSpans[e].glyph) {
@@ -4225,7 +4172,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
4225
4172
  }
4226
4173
  for (; e < this.textSpans.length;) this.textSpans[e].span.style.display = "none", e += 1;
4227
4174
  this._sizeChanged = !0;
4228
- }, Qn.prototype.sourceRectAtTime = function() {
4175
+ }, Zn.prototype.sourceRectAtTime = function() {
4229
4176
  if (this.prepareFrame(this.comp.renderedFrame - this.data.st), this.renderInnerContent(), this._sizeChanged) {
4230
4177
  this._sizeChanged = !1;
4231
4178
  var e = this.layerElement.getBBox();
@@ -4237,10 +4184,10 @@ var t = /* @__PURE__ */ e(((e, t) => {
4237
4184
  };
4238
4185
  }
4239
4186
  return this.bbox;
4240
- }, Qn.prototype.getValue = function() {
4187
+ }, Zn.prototype.getValue = function() {
4241
4188
  var e, t = this.textSpans.length, n;
4242
4189
  for (this.renderedFrame = this.comp.renderedFrame, e = 0; e < t; e += 1) n = this.textSpans[e].glyph, n && (n.prepareFrame(this.comp.renderedFrame - this.data.st), n._mdf && (this._mdf = !0));
4243
- }, Qn.prototype.renderInnerContent = function() {
4190
+ }, Zn.prototype.renderInnerContent = function() {
4244
4191
  if (this.validateText(), (!this.data.singleShape || this._mdf) && (this.textAnimator.getMeasures(this.textProperty.currentData, this.lettersChangedFlag), this.lettersChangedFlag || this.textAnimator.lettersChangedFlag)) {
4245
4192
  this._sizeChanged = !0;
4246
4193
  var e, t, n = this.textAnimator.renderedLetters, r = this.textProperty.currentData.l;
@@ -4249,45 +4196,45 @@ var t = /* @__PURE__ */ e(((e, t) => {
4249
4196
  for (e = 0; e < t; e += 1) r[e].n || (i = n[e], a = this.textSpans[e].span, o = this.textSpans[e].glyph, o && o.renderFrame(), i._mdf.m && a.setAttribute("transform", i.m), i._mdf.o && a.setAttribute("opacity", i.o), i._mdf.sw && a.setAttribute("stroke-width", i.sw), i._mdf.sc && a.setAttribute("stroke", i.sc), i._mdf.fc && a.setAttribute("fill", i.fc));
4250
4197
  }
4251
4198
  };
4252
- function $n(e, t, n) {
4199
+ function Qn(e, t, n) {
4253
4200
  this.initElement(e, t, n);
4254
4201
  }
4255
- d([On], $n), $n.prototype.createContent = function() {
4256
- var e = L("rect");
4202
+ u([Dn], Qn), Qn.prototype.createContent = function() {
4203
+ var e = R("rect");
4257
4204
  e.setAttribute("width", this.data.sw), e.setAttribute("height", this.data.sh), e.setAttribute("fill", this.data.sc), this.layerElement.appendChild(e);
4258
4205
  };
4259
- function er(e, t, n) {
4206
+ function $n(e, t, n) {
4260
4207
  this.initFrame(), this.initBaseData(e, t, n), this.initFrame(), this.initTransform(e, t, n), this.initHierarchy();
4261
4208
  }
4262
- er.prototype.prepareFrame = function(e) {
4209
+ $n.prototype.prepareFrame = function(e) {
4263
4210
  this.prepareProperties(e, !0);
4264
- }, er.prototype.renderFrame = function() {}, er.prototype.getBaseElement = function() {
4211
+ }, $n.prototype.renderFrame = function() {}, $n.prototype.getBaseElement = function() {
4265
4212
  return null;
4266
- }, er.prototype.destroy = function() {}, er.prototype.sourceRectAtTime = function() {}, er.prototype.hide = function() {}, d([
4267
- mn,
4268
- vn,
4269
- En,
4270
- hn
4271
- ], er);
4213
+ }, $n.prototype.destroy = function() {}, $n.prototype.sourceRectAtTime = function() {}, $n.prototype.hide = function() {}, u([
4214
+ pn,
4215
+ _n,
4216
+ Tn,
4217
+ mn
4218
+ ], $n);
4272
4219
  function $() {}
4273
- d([X], $), $.prototype.createNull = function(e) {
4274
- return new er(e, this.globalData, this);
4220
+ u([X], $), $.prototype.createNull = function(e) {
4221
+ return new $n(e, this.globalData, this);
4275
4222
  }, $.prototype.createShape = function(e) {
4276
4223
  return new Z(e, this.globalData, this);
4277
4224
  }, $.prototype.createText = function(e) {
4278
- return new Qn(e, this.globalData, this);
4225
+ return new Zn(e, this.globalData, this);
4279
4226
  }, $.prototype.createImage = function(e) {
4280
- return new On(e, this.globalData, this);
4227
+ return new Dn(e, this.globalData, this);
4281
4228
  }, $.prototype.createSolid = function(e) {
4282
- return new $n(e, this.globalData, this);
4229
+ return new Qn(e, this.globalData, this);
4283
4230
  }, $.prototype.configAnimation = function(e) {
4284
4231
  this.svgElement.setAttribute("xmlns", "http://www.w3.org/2000/svg"), this.svgElement.setAttribute("xmlns:xlink", "http://www.w3.org/1999/xlink"), this.renderConfig.viewBoxSize ? this.svgElement.setAttribute("viewBox", this.renderConfig.viewBoxSize) : this.svgElement.setAttribute("viewBox", "0 0 " + e.w + " " + e.h), this.renderConfig.viewBoxOnly || (this.svgElement.setAttribute("width", e.w), this.svgElement.setAttribute("height", e.h), this.svgElement.style.width = "100%", this.svgElement.style.height = "100%", this.svgElement.style.transform = "translate3d(0,0,0)", this.svgElement.style.contentVisibility = this.renderConfig.contentVisibility), this.renderConfig.width && this.svgElement.setAttribute("width", this.renderConfig.width), this.renderConfig.height && this.svgElement.setAttribute("height", this.renderConfig.height), this.renderConfig.className && this.svgElement.setAttribute("class", this.renderConfig.className), this.renderConfig.id && this.svgElement.setAttribute("id", this.renderConfig.id), this.renderConfig.focusable !== void 0 && this.svgElement.setAttribute("focusable", this.renderConfig.focusable), this.svgElement.setAttribute("preserveAspectRatio", this.renderConfig.preserveAspectRatio), this.animationItem.wrapper.appendChild(this.svgElement);
4285
4232
  var t = this.globalData.defs;
4286
4233
  this.setupGlobalData(e, t), this.globalData.progressiveLoad = this.renderConfig.progressiveLoad, this.data = e;
4287
- var n = L("clipPath"), r = L("rect");
4234
+ var n = R("clipPath"), r = R("rect");
4288
4235
  r.setAttribute("width", e.w), r.setAttribute("height", e.h), r.setAttribute("x", 0), r.setAttribute("y", 0);
4289
4236
  var i = I();
4290
- n.setAttribute("id", i), n.appendChild(r), this.layerElement.setAttribute("clip-path", "url(" + l() + "#" + i + ")"), t.appendChild(n), this.layers = e.layers, this.elements = h(e.layers.length);
4237
+ n.setAttribute("id", i), n.appendChild(r), this.layerElement.setAttribute("clip-path", "url(" + c() + "#" + i + ")"), t.appendChild(n), this.layers = e.layers, this.elements = m(e.layers.length);
4291
4238
  }, $.prototype.destroy = function() {
4292
4239
  this.animationItem.wrapper && (this.animationItem.wrapper.innerText = ""), this.layerElement = null, this.globalData.defs = null;
4293
4240
  var e, t = this.layers ? this.layers.length : 0;
@@ -4302,7 +4249,7 @@ var t = /* @__PURE__ */ e(((e, t) => {
4302
4249
  if (!(t[e] || this.layers[e].ty === 99)) {
4303
4250
  t[e] = !0;
4304
4251
  var n = this.createItem(this.layers[e]);
4305
- if (t[e] = n, le() && (this.layers[e].ty === 0 && this.globalData.projectInterface.registerComposition(n), n.initExpressions()), this.appendElementInPos(n, e), this.layers[e].tt) {
4252
+ if (t[e] = n, se() && (this.layers[e].ty === 0 && this.globalData.projectInterface.registerComposition(n), n.initExpressions()), this.appendElementInPos(n, e), this.layers[e].tt) {
4306
4253
  var r = "tp" in this.layers[e] ? this.findIndexByInd(this.layers[e].tp) : e - 1;
4307
4254
  if (r === -1) return;
4308
4255
  if (!this.elements[r] || this.elements[r] === !0) this.buildItem(r), this.addPendingElement(n);
@@ -4342,17 +4289,17 @@ var t = /* @__PURE__ */ e(((e, t) => {
4342
4289
  }, $.prototype.show = function() {
4343
4290
  this.layerElement.style.display = "block";
4344
4291
  };
4345
- function tr() {}
4346
- d([
4292
+ function er() {}
4293
+ u([
4294
+ pn,
4295
+ _n,
4296
+ Tn,
4347
4297
  mn,
4348
- vn,
4349
- En,
4350
- hn,
4351
- Dn
4352
- ], tr), tr.prototype.initElement = function(e, t, n) {
4298
+ En
4299
+ ], er), er.prototype.initElement = function(e, t, n) {
4353
4300
  this.initFrame(), this.initBaseData(e, t, n), this.initTransform(e, t, n), this.initRenderable(), this.initHierarchy(), this.initRendererElement(), this.createContainerElements(), this.createRenderableComponents(), (this.data.xt || !t.progressiveLoad) && this.buildAllItems(), this.hide();
4354
- }, tr.prototype.prepareFrame = function(e) {
4355
- if (this._mdf = !1, this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange), !(!this.isInRange && !this.data.xt)) {
4301
+ }, er.prototype.prepareFrame = function(e) {
4302
+ if (this._mdf = !1, this.prepareRenderableFrame(e), this.prepareProperties(e, this.isInRange), this.isInRange || this.data.xt) {
4356
4303
  if (this.tm._placeholder) this.renderedFrame = e / this.data.sr;
4357
4304
  else {
4358
4305
  var t = this.tm.v;
@@ -4361,44 +4308,44 @@ var t = /* @__PURE__ */ e(((e, t) => {
4361
4308
  var n, r = this.elements.length;
4362
4309
  for (this.completeLayers || this.checkLayers(this.renderedFrame), n = r - 1; n >= 0; --n) (this.completeLayers || this.elements[n]) && (this.elements[n].prepareFrame(this.renderedFrame - this.layers[n].st), this.elements[n]._mdf && (this._mdf = !0));
4363
4310
  }
4364
- }, tr.prototype.renderInnerContent = function() {
4311
+ }, er.prototype.renderInnerContent = function() {
4365
4312
  var e, t = this.layers.length;
4366
4313
  for (e = 0; e < t; e += 1) (this.completeLayers || this.elements[e]) && this.elements[e].renderFrame();
4367
- }, tr.prototype.setElements = function(e) {
4314
+ }, er.prototype.setElements = function(e) {
4368
4315
  this.elements = e;
4369
- }, tr.prototype.getElements = function() {
4316
+ }, er.prototype.getElements = function() {
4370
4317
  return this.elements;
4371
- }, tr.prototype.destroyElements = function() {
4318
+ }, er.prototype.destroyElements = function() {
4372
4319
  var e, t = this.layers.length;
4373
4320
  for (e = 0; e < t; e += 1) this.elements[e] && this.elements[e].destroy();
4374
- }, tr.prototype.destroy = function() {
4321
+ }, er.prototype.destroy = function() {
4375
4322
  this.destroyElements(), this.destroyBaseElement();
4376
4323
  };
4377
- function nr(e, t, n) {
4378
- this.layers = e.layers, this.supports3d = !0, this.completeLayers = !1, this.pendingElements = [], this.elements = this.layers ? h(this.layers.length) : [], this.initElement(e, t, n), this.tm = e.tm ? H.getProp(this, e.tm, 0, t.frameRate, this) : { _placeholder: !0 };
4324
+ function tr(e, t, n) {
4325
+ this.layers = e.layers, this.supports3d = !0, this.completeLayers = !1, this.pendingElements = [], this.elements = this.layers ? m(this.layers.length) : [], this.initElement(e, t, n), this.tm = e.tm ? U.getProp(this, e.tm, 0, t.frameRate, this) : { _placeholder: !0 };
4379
4326
  }
4380
- d([
4327
+ u([
4381
4328
  $,
4382
- tr,
4383
- Tn
4384
- ], nr), nr.prototype.createComp = function(e) {
4385
- return new nr(e, this.globalData, this);
4329
+ er,
4330
+ wn
4331
+ ], tr), tr.prototype.createComp = function(e) {
4332
+ return new tr(e, this.globalData, this);
4386
4333
  };
4387
- function rr(e, t) {
4388
- this.animationItem = e, this.layers = null, this.renderedFrame = -1, this.svgElement = L("svg");
4334
+ function nr(e, t) {
4335
+ this.animationItem = e, this.layers = null, this.renderedFrame = -1, this.svgElement = R("svg");
4389
4336
  var n = "";
4390
4337
  if (t && t.title) {
4391
- var r = L("title"), i = I();
4338
+ var r = R("title"), i = I();
4392
4339
  r.setAttribute("id", i), r.textContent = t.title, this.svgElement.appendChild(r), n += i;
4393
4340
  }
4394
4341
  if (t && t.description) {
4395
- var a = L("desc"), o = I();
4342
+ var a = R("desc"), o = I();
4396
4343
  a.setAttribute("id", o), a.textContent = t.description, this.svgElement.appendChild(a), n += " " + o;
4397
4344
  }
4398
4345
  n && this.svgElement.setAttribute("aria-labelledby", n);
4399
- var s = L("defs");
4346
+ var s = R("defs");
4400
4347
  this.svgElement.appendChild(s);
4401
- var c = L("g");
4348
+ var c = R("g");
4402
4349
  this.svgElement.appendChild(c), this.layerElement = c, this.renderConfig = {
4403
4350
  preserveAspectRatio: t && t.preserveAspectRatio || "xMidYMid meet",
4404
4351
  imagePreserveAspectRatio: t && t.imagePreserveAspectRatio || "xMidYMid slice",
@@ -4426,9 +4373,9 @@ var t = /* @__PURE__ */ e(((e, t) => {
4426
4373
  renderConfig: this.renderConfig
4427
4374
  }, this.elements = [], this.pendingElements = [], this.destroyed = !1, this.rendererType = "svg";
4428
4375
  }
4429
- return d([$], rr), rr.prototype.createComp = function(e) {
4430
- return new nr(e, this.globalData, this);
4431
- }, ye("svg", rr), mt.registerModifier("tm", ht), mt.registerModifier("pb", gt), mt.registerModifier("rp", vt), mt.registerModifier("rd", yt), mt.registerModifier("zz", Lt), mt.registerModifier("op", Xt), K;
4376
+ return u([$], nr), nr.prototype.createComp = function(e) {
4377
+ return new tr(e, this.globalData, this);
4378
+ }, _e("svg", nr), ft.registerModifier("tm", mt), ft.registerModifier("pb", ht), ft.registerModifier("rp", _t), ft.registerModifier("rd", vt), ft.registerModifier("zz", It), ft.registerModifier("op", Yt), q;
4432
4379
  }));
4433
4380
  }));
4434
4381
  //#endregion