presenter 0.7.4 → 0.7.5

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.
@@ -46,7 +46,7 @@ const tt = {
46
46
  CUBIC_IN: Ut,
47
47
  CUBIC_OUT: Yt,
48
48
  BACK_IN_OUT: Ht.overshoot(0.8)
49
- }, Gt = tt.LINEAR;
49
+ }, $t = tt.LINEAR;
50
50
  function et(n, e, t = {}) {
51
51
  return {
52
52
  type: u0.ANIMATE,
@@ -54,7 +54,7 @@ function et(n, e, t = {}) {
54
54
  props: e,
55
55
  delay: 0,
56
56
  duration: 1e3,
57
- easing: Gt,
57
+ easing: $t,
58
58
  block: !1,
59
59
  interpolators: null,
60
60
  isKey: !1,
@@ -62,33 +62,34 @@ function et(n, e, t = {}) {
62
62
  ...typeof t == "number" ? { duration: t } : t
63
63
  };
64
64
  }
65
- function cn(n, e = {}) {
65
+ function un(n, e = {}) {
66
66
  return et(n, { opacity: 1 }, {
67
67
  duration: 500,
68
68
  easing: tt.CUBIC,
69
69
  ...typeof e == "number" ? { duration: e } : e
70
70
  });
71
71
  }
72
- function un(n, e = {}) {
72
+ function fn(n, e = {}) {
73
73
  return et(n, { opacity: 0 }, {
74
74
  duration: 500,
75
75
  easing: tt.CUBIC,
76
76
  ...typeof e == "number" ? { duration: e } : e
77
77
  });
78
78
  }
79
- function Ct(n, e) {
79
+ function Ct(n, e, t = {}) {
80
80
  return {
81
81
  type: u0.UPDATE,
82
82
  isKey: !1,
83
83
  object: n,
84
84
  props: e,
85
- shortcut: null
85
+ shortcut: null,
86
+ ...t
86
87
  };
87
88
  }
88
- function fn(n) {
89
+ function gn(n) {
89
90
  return Ct(n, { opacity: 0 });
90
91
  }
91
- function gn(n) {
92
+ function pn(n) {
92
93
  return Ct(n, { opacity: 1 });
93
94
  }
94
95
  const n0 = {
@@ -102,7 +103,7 @@ const n0 = {
102
103
  BOTTOM: "Bottom",
103
104
  BOTTOM_RIGHT: "BottomRight"
104
105
  }, o0 = n0.TOP_LEFT;
105
- function G(n, e = 0, t = 0, o = 1) {
106
+ function $(n, e = 0, t = 0, o = 1) {
106
107
  if (typeof n == "string") {
107
108
  const i = n.replace("#", ""), a = parseInt(i, 16);
108
109
  return isNaN(a) ? (console.warn("Invalid hex color format:", n), K) : i.length === 6 ? {
@@ -131,12 +132,12 @@ function G(n, e = 0, t = 0, o = 1) {
131
132
  ...n
132
133
  };
133
134
  }
134
- G.BLACK = G(0, 0, 0);
135
- G.BLUE = G(0, 0, 255);
136
- G.GREEN = G(0, 255, 0);
137
- G.RED = G(255, 0, 0);
138
- G.TRANSPARENT = G(0, 0, 0, 0);
139
- G.WHITE = G(255, 255, 255);
135
+ $.BLACK = $(0, 0, 0);
136
+ $.BLUE = $(0, 0, 255);
137
+ $.GREEN = $(0, 255, 0);
138
+ $.RED = $(255, 0, 0);
139
+ $.TRANSPARENT = $(0, 0, 0, 0);
140
+ $.WHITE = $(255, 255, 255);
140
141
  const K = { red: 0, green: 0, blue: 0, alpha: 1 };
141
142
  function Et(n = null) {
142
143
  return {
@@ -157,10 +158,10 @@ function E0(n, e = null) {
157
158
  const { red: t, green: o, blue: i } = n, a = t << 16 | o << 8 | i, s = Math.round(St(n, e) * 255);
158
159
  return `#${a.toString(16).padStart(6, "0")}${s !== 255 ? s.toString(16).padStart(2, "0") : ""}`;
159
160
  }
160
- function pn(n = null) {
161
+ function dn(n = null) {
161
162
  const {
162
163
  url: e = "https://wikipedia.org/",
163
- backgroundColor: t = G.TRANSPARENT,
164
+ backgroundColor: t = $.TRANSPARENT,
164
165
  borderColor: o = K,
165
166
  borderWidth: i = 0,
166
167
  pointerEvents: a = "auto",
@@ -186,11 +187,11 @@ const x0 = {
186
187
  LEFT: "left",
187
188
  CENTER: "center",
188
189
  RIGHT: "right"
189
- }, $t = x0.LEFT;
190
+ }, Gt = x0.LEFT;
190
191
  function r0(n, e) {
191
192
  throw new Error("Unexpected value: " + n);
192
193
  }
193
- function dn(n = null) {
194
+ function xn(n = null) {
194
195
  const {
195
196
  alignment: e = x0.LEFT,
196
197
  scale: t = 1,
@@ -264,7 +265,7 @@ function s0(n) {
264
265
  ...n
265
266
  };
266
267
  }
267
- function xn(n = null) {
268
+ function yn(n = null) {
268
269
  const { arrowheadSize: e, width: t = 10, ...o } = n || {}, i = e ?? t * 4;
269
270
  return s0({
270
271
  objectType: j.ARROW,
@@ -283,7 +284,7 @@ function xn(n = null) {
283
284
  });
284
285
  }
285
286
  const Wt = 50;
286
- function yn(n = null) {
287
+ function vn(n = null) {
287
288
  return s0({
288
289
  objectType: j.CIRCLE,
289
290
  anchor: o0,
@@ -322,7 +323,7 @@ function st(n, e = null) {
322
323
  ...e
323
324
  });
324
325
  }
325
- function vn(n) {
326
+ function wn(n) {
326
327
  const {
327
328
  anchor: e = o0,
328
329
  cols: t = 1,
@@ -336,19 +337,19 @@ function vn(n) {
336
337
  y: f = 0,
337
338
  objects: x = () => null
338
339
  } = n, l = [], u = [];
339
- let m = 0, y = 0;
340
- for (let C = 0; C < o; C++) {
340
+ let b = 0, y = 0;
341
+ for (let P = 0; P < o; P++) {
341
342
  const E = [];
342
- m = 0;
343
+ b = 0;
343
344
  let L = 0;
344
345
  for (let S = 0; S < t; S++) {
345
- const P = x(C, S), F = typeof r == "function" ? r(C, S) : r, z = typeof h == "function" ? h(C, S) : h;
346
- E.push(P), P != null && u.push(
347
- st([P], {
348
- x: m,
346
+ const C = x(P, S), R = typeof r == "function" ? r(P, S) : r, z = typeof h == "function" ? h(P, S) : h;
347
+ E.push(C), C != null && u.push(
348
+ st([C], {
349
+ x: b,
349
350
  y
350
351
  })
351
- ), m += F + i, L = Math.max(L, z);
352
+ ), b += R + i, L = Math.max(L, z);
352
353
  }
353
354
  l.push(E), y += L + a;
354
355
  }
@@ -357,14 +358,14 @@ function vn(n) {
357
358
  x: c,
358
359
  y: f,
359
360
  height: y - a,
360
- width: m - i,
361
+ width: b - i,
361
362
  anchor: e,
362
363
  ...s
363
364
  }),
364
365
  objects: l
365
366
  };
366
367
  }
367
- function wn(n = null) {
368
+ function mn(n = null) {
368
369
  return s0({
369
370
  objectType: j.IMAGE,
370
371
  anchor: o0,
@@ -378,7 +379,7 @@ function wn(n = null) {
378
379
  ...n
379
380
  });
380
381
  }
381
- function mn(n = null) {
382
+ function bn(n = null) {
382
383
  return s0({
383
384
  objectType: j.LINE,
384
385
  color: K,
@@ -393,7 +394,7 @@ function mn(n = null) {
393
394
  ...n
394
395
  });
395
396
  }
396
- function bn(n, e = null) {
397
+ function An(n, e = null) {
397
398
  return s0({
398
399
  objectType: j.MASK,
399
400
  anchor: o0,
@@ -496,11 +497,11 @@ var Zt = Object.defineProperty, _ = (n, e) => Zt(n, "name", { value: e, configur
496
497
  l > 1 && (e = Math.sqrt(l) * e, t = Math.sqrt(l) * t);
497
498
  let u = (Math.pow(e, 2) * Math.pow(t, 2) - Math.pow(e, 2) * Math.pow(x.y, 2) - Math.pow(t, 2) * Math.pow(x.x, 2)) / (Math.pow(e, 2) * Math.pow(x.y, 2) + Math.pow(t, 2) * Math.pow(x.x, 2));
498
499
  u = u < 0 ? 0 : u;
499
- const m = (i !== a ? 1 : -1) * Math.sqrt(u), y = m * (e * x.y / t), M = m * (-t * x.x / e), C = { x: Math.cos(h) * y - Math.sin(h) * M + (n.x + s.x) / 2, y: Math.sin(h) * y + Math.cos(h) * M + (n.y + s.y) / 2 }, E = { x: (x.x - y) / e, y: (x.y - M) / t }, L = ct({ x: 1, y: 0 }, E);
500
+ const b = (i !== a ? 1 : -1) * Math.sqrt(u), y = b * (e * x.y / t), M = b * (-t * x.x / e), P = { x: Math.cos(h) * y - Math.sin(h) * M + (n.x + s.x) / 2, y: Math.sin(h) * y + Math.cos(h) * M + (n.y + s.y) / 2 }, E = { x: (x.x - y) / e, y: (x.y - M) / t }, L = ct({ x: 1, y: 0 }, E);
500
501
  let S = ct(E, { x: (-x.x - y) / e, y: (-x.y - M) / t });
501
502
  !a && S > 0 ? S -= 2 * Math.PI : a && S < 0 && (S += 2 * Math.PI), S %= 2 * Math.PI;
502
- const P = L + S * r, F = e * Math.cos(P), z = t * Math.sin(P);
503
- return { x: Math.cos(h) * F - Math.sin(h) * z + C.x, y: Math.sin(h) * F + Math.cos(h) * z + C.y, ellipticalArcStartAngle: L, ellipticalArcEndAngle: L + S, ellipticalArcAngle: P, ellipticalArcCenter: C, resultantRx: e, resultantRy: t };
503
+ const C = L + S * r, R = e * Math.cos(C), z = t * Math.sin(C);
504
+ return { x: Math.cos(h) * R - Math.sin(h) * z + P.x, y: Math.sin(h) * R + Math.cos(h) * z + P.y, ellipticalArcStartAngle: L, ellipticalArcEndAngle: L + S, ellipticalArcAngle: C, ellipticalArcCenter: P, resultantRx: e, resultantRy: t };
504
505
  }, "pointOnEllipticalArc"), t1 = _((n, e) => {
505
506
  n = n ?? 500;
506
507
  let t = 0;
@@ -524,15 +525,15 @@ var Zt = Object.defineProperty, _ = (n, e) => Zt(n, "name", { value: e, configur
524
525
  t === void 0 && (t = 1);
525
526
  const o = n[0] - 2 * n[1] + n[2], i = e[0] - 2 * e[1] + e[2], a = 2 * n[1] - 2 * n[0], s = 2 * e[1] - 2 * e[0], r = 4 * (o * o + i * i), h = 4 * (o * a + i * s), c = a * a + s * s;
526
527
  if (r === 0) return t * Math.sqrt(Math.pow(n[2] - n[0], 2) + Math.pow(e[2] - e[0], 2));
527
- const f = h / (2 * r), x = t + f, l = c / r - f * f, u = x * x + l > 0 ? Math.sqrt(x * x + l) : 0, m = f * f + l > 0 ? Math.sqrt(f * f + l) : 0, y = f + Math.sqrt(f * f + l) !== 0 && (x + u) / (f + m) !== 0 ? l * Math.log(Math.abs((x + u) / (f + m))) : 0;
528
- return Math.sqrt(r) / 2 * (x * u - f * m + y);
528
+ const f = h / (2 * r), x = t + f, l = c / r - f * f, u = x * x + l > 0 ? Math.sqrt(x * x + l) : 0, b = f * f + l > 0 ? Math.sqrt(f * f + l) : 0, y = f + Math.sqrt(f * f + l) !== 0 && (x + u) / (f + b) !== 0 ? l * Math.log(Math.abs((x + u) / (f + b))) : 0;
529
+ return Math.sqrt(r) / 2 * (x * u - f * b + y);
529
530
  }, "getQuadraticArcLength"), u1 = _((n, e, t) => ({ x: 2 * (1 - t) * (n[1] - n[0]) + 2 * t * (n[2] - n[1]), y: 2 * (1 - t) * (e[1] - e[0]) + 2 * t * (e[2] - e[1]) }), "quadraticDerivative");
530
531
  function kt(n, e, t) {
531
- const o = $0(1, t, n), i = $0(1, t, e), a = o * o + i * i;
532
+ const o = G0(1, t, n), i = G0(1, t, e), a = o * o + i * i;
532
533
  return Math.sqrt(a);
533
534
  }
534
535
  _(kt, "BFunc");
535
- var $0 = _((n, e, t) => {
536
+ var G0 = _((n, e, t) => {
536
537
  const o = t.length - 1;
537
538
  let i, a;
538
539
  if (o === 0) return 0;
@@ -543,8 +544,8 @@ var $0 = _((n, e, t) => {
543
544
  }
544
545
  i = new Array(o);
545
546
  for (let s = 0; s < o; s++) i[s] = o * (t[s + 1] - t[s]);
546
- return $0(n - 1, e, i);
547
- }, "getDerivative"), R0 = _((n, e, t) => {
547
+ return G0(n - 1, e, i);
548
+ }, "getDerivative"), F0 = _((n, e, t) => {
548
549
  let o = 1, i = n / e, a = (n - t(i)) / e, s = 0;
549
550
  for (; o > 1e-3; ) {
550
551
  const r = t(i + a), h = Math.abs(n - r) / e;
@@ -568,16 +569,16 @@ var $0 = _((n, e, t) => {
568
569
  I(this, "getDerivative");
569
570
  I(this, "getTotalLength", _(() => this.length, "getTotalLength"));
570
571
  I(this, "getPointAtLength", _((e) => {
571
- const t = [this.a.x, this.b.x, this.c.x, this.d.x], o = [this.a.y, this.b.y, this.c.y, this.d.y], i = R0(e, this.length, (a) => this.getArcLength(t, o, a));
572
+ const t = [this.a.x, this.b.x, this.c.x, this.d.x], o = [this.a.y, this.b.y, this.c.y, this.d.y], i = F0(e, this.length, (a) => this.getArcLength(t, o, a));
572
573
  return this.getPoint(t, o, i);
573
574
  }, "getPointAtLength"));
574
575
  I(this, "getTangentAtLength", _((e) => {
575
- const t = [this.a.x, this.b.x, this.c.x, this.d.x], o = [this.a.y, this.b.y, this.c.y, this.d.y], i = R0(e, this.length, (h) => this.getArcLength(t, o, h)), a = this.getDerivative(t, o, i), s = Math.sqrt(a.x * a.x + a.y * a.y);
576
+ const t = [this.a.x, this.b.x, this.c.x, this.d.x], o = [this.a.y, this.b.y, this.c.y, this.d.y], i = F0(e, this.length, (h) => this.getArcLength(t, o, h)), a = this.getDerivative(t, o, i), s = Math.sqrt(a.x * a.x + a.y * a.y);
576
577
  let r;
577
578
  return r = s > 0 ? { x: a.x / s, y: a.y / s } : { x: 0, y: 0 }, r;
578
579
  }, "getTangentAtLength"));
579
580
  I(this, "getPropertiesAtLength", _((e) => {
580
- const t = [this.a.x, this.b.x, this.c.x, this.d.x], o = [this.a.y, this.b.y, this.c.y, this.d.y], i = R0(e, this.length, (c) => this.getArcLength(t, o, c)), a = this.getDerivative(t, o, i), s = Math.sqrt(a.x * a.x + a.y * a.y);
581
+ const t = [this.a.x, this.b.x, this.c.x, this.d.x], o = [this.a.y, this.b.y, this.c.y, this.d.y], i = F0(e, this.length, (c) => this.getArcLength(t, o, c)), a = this.getDerivative(t, o, i), s = Math.sqrt(a.x * a.x + a.y * a.y);
581
582
  let r;
582
583
  r = s > 0 ? { x: a.x / s, y: a.y / s } : { x: 0, y: 0 };
583
584
  const h = this.getPoint(t, o, i);
@@ -705,10 +706,10 @@ var $0 = _((n, e, t) => {
705
706
  if (this.inst = new f1(e), !(this instanceof W0)) return new W0(e);
706
707
  }
707
708
  }, _(M0, "_svgPathProperties"), M0);
708
- function g1(n = G.BLACK) {
709
+ function g1(n = $.BLACK) {
709
710
  return { ...n, alpha: 0 };
710
711
  }
711
- function An(n = null) {
712
+ function Mn(n = null) {
712
713
  const { path: e, height: t = 100, width: o = 100, viewboxHeight: i, viewboxWidth: a, ...s } = n ?? {}, r = e ?? "M 0 0 L 100 100", c = new W0(r).getTotalLength();
713
714
  return s0({
714
715
  objectType: j.PATH,
@@ -729,7 +730,7 @@ function An(n = null) {
729
730
  ...s
730
731
  });
731
732
  }
732
- function Mn(n = null) {
733
+ function Ln(n = null) {
733
734
  return s0({
734
735
  objectType: j.POLYGON,
735
736
  borderColor: K,
@@ -744,7 +745,7 @@ function Mn(n = null) {
744
745
  ...n
745
746
  });
746
747
  }
747
- function Ln(n = null) {
748
+ function Tn(n = null) {
748
749
  return s0({
749
750
  objectType: j.RECTANGLE,
750
751
  anchor: o0,
@@ -760,7 +761,7 @@ function Ln(n = null) {
760
761
  ...n
761
762
  });
762
763
  }
763
- function Tn(n = null) {
764
+ function Pn(n = null) {
764
765
  return s0({
765
766
  objectType: j.SVG,
766
767
  anchor: o0,
@@ -806,7 +807,7 @@ function w1(n) {
806
807
  function m1(n = "", e = null) {
807
808
  return s0({
808
809
  objectType: j.TEXT,
809
- alignment: $t,
810
+ alignment: Gt,
810
811
  anchor: o0,
811
812
  length: null,
812
813
  lineSpacing: 1,
@@ -862,7 +863,7 @@ function i0(n = null) {
862
863
  const L1 = i0({ width: 0, height: 0 });
863
864
  function T1(n = null) {
864
865
  return {
865
- backgroundColor: G.WHITE,
866
+ backgroundColor: $.WHITE,
866
867
  slides: [],
867
868
  title: "Presentation",
868
869
  size: i0({ width: 3840, height: 2160 }),
@@ -1024,7 +1025,7 @@ function O1({
1024
1025
  }
1025
1026
  return o;
1026
1027
  }
1027
- function F1(n) {
1028
+ function R1(n) {
1028
1029
  const e = {};
1029
1030
  function t(o) {
1030
1031
  if (o.objectType === j.SVG) {
@@ -1040,7 +1041,7 @@ function F1(n) {
1040
1041
  t(i);
1041
1042
  return e;
1042
1043
  }
1043
- function R1(n) {
1044
+ function F1(n) {
1044
1045
  var o;
1045
1046
  const { slides: e } = n, t = {
1046
1047
  // First build of first slide
@@ -1080,7 +1081,7 @@ function N0(n, e, t, o) {
1080
1081
  n[e] = { slideIndex: t, buildIndex: o };
1081
1082
  }
1082
1083
  function N1(n, e, t, { onNext: o, onPrevious: i, onRenderSlide: a, onShowNavigator: s }) {
1083
- t.shortcuts = R1(n), e.addEventListener("mousemove", () => {
1084
+ t.shortcuts = F1(n), e.addEventListener("mousemove", () => {
1084
1085
  e.style.cursor = "auto";
1085
1086
  }), e.addEventListener("keyup", (r) => {
1086
1087
  if (r.code === "Escape") {
@@ -1182,18 +1183,18 @@ function z1(n) {
1182
1183
  };
1183
1184
  }
1184
1185
  function U1(n) {
1185
- const { drawn: e, startX: t, startY: o, endX: i, endY: a, arrowheadSize: s, isArrowheadFilled: r, isDrawnFromCenter: h } = n, c = { x: t, y: o }, f = { x: i, y: a }, x = Math.atan2(f.y - c.y, f.x - c.x), l = { x: c.x + (f.x - c.x) / 2, y: c.y + (f.y - c.y) / 2 }, u = f.x - c.x, m = f.y - c.y, M = Math.hypot(u, m) * e, C = Math.cos(x), E = Math.sin(x), L = h ? { x: l.x - C * M / 2, y: l.y - E * M / 2 } : c, S = h ? { x: l.x + C * M / 2, y: l.y + E * M / 2 } : { x: c.x + C * M, y: c.y + E * M }, P = r ? Math.PI / 6 : Math.PI / 4.5, F = M < s * 2 ? M / 2 : s, z = {
1186
- x: S.x - F * Math.cos(x - P),
1187
- y: S.y - F * Math.sin(x - P)
1186
+ const { drawn: e, startX: t, startY: o, endX: i, endY: a, arrowheadSize: s, isArrowheadFilled: r, isDrawnFromCenter: h } = n, c = { x: t, y: o }, f = { x: i, y: a }, x = Math.atan2(f.y - c.y, f.x - c.x), l = { x: c.x + (f.x - c.x) / 2, y: c.y + (f.y - c.y) / 2 }, u = f.x - c.x, b = f.y - c.y, M = Math.hypot(u, b) * e, P = Math.cos(x), E = Math.sin(x), L = h ? { x: l.x - P * M / 2, y: l.y - E * M / 2 } : c, S = h ? { x: l.x + P * M / 2, y: l.y + E * M / 2 } : { x: c.x + P * M, y: c.y + E * M }, C = r ? Math.PI / 6 : Math.PI / 4.5, R = M < s * 2 ? M / 2 : s, z = {
1187
+ x: S.x - R * Math.cos(x - C),
1188
+ y: S.y - R * Math.sin(x - C)
1188
1189
  }, W = {
1189
- x: S.x - F * Math.cos(x + P),
1190
- y: S.y - F * Math.sin(x + P)
1190
+ x: S.x - R * Math.cos(x + C),
1191
+ y: S.y - R * Math.sin(x + C)
1191
1192
  }, U = {
1192
- x: L.x + F * Math.cos(x - P),
1193
- y: L.y + F * Math.sin(x - P)
1193
+ x: L.x + R * Math.cos(x - C),
1194
+ y: L.y + R * Math.sin(x - C)
1194
1195
  }, X = {
1195
- x: L.x + F * Math.cos(x + P),
1196
- y: L.y + F * Math.sin(x + P)
1196
+ x: L.x + R * Math.cos(x + C),
1197
+ y: L.y + R * Math.sin(x + C)
1197
1198
  };
1198
1199
  return {
1199
1200
  arrowPoints: [L, S],
@@ -1329,7 +1330,7 @@ function H1(n, e) {
1329
1330
  const i = 2 * Math.PI * n.radius;
1330
1331
  return { path: t, length: i };
1331
1332
  }
1332
- function Ft(n, e) {
1333
+ function Rt(n, e) {
1333
1334
  switch (n.type) {
1334
1335
  case V.Browser:
1335
1336
  e.type === f0.Browser ? n.context.clip(e.path) : console.warn("Attempted to use Node Path2D in Browser Canvas context");
@@ -1341,7 +1342,7 @@ function Ft(n, e) {
1341
1342
  r0(n);
1342
1343
  }
1343
1344
  }
1344
- const G1 = ({
1345
+ const $1 = ({
1345
1346
  ctx: n,
1346
1347
  object: e,
1347
1348
  opacity: t,
@@ -1353,7 +1354,7 @@ const G1 = ({
1353
1354
  const { path: a, length: s } = H1(e, o);
1354
1355
  if (i < 1 && e.borderWidth > 0) {
1355
1356
  const r = X1(e, o);
1356
- r !== void 0 && (n.context.save(), Ft(n, r), v0({ ctx: n, path: a, color: e.fill, opacity: i }), n.context.restore());
1357
+ r !== void 0 && (n.context.save(), Rt(n, r), v0({ ctx: n, path: a, color: e.fill, opacity: i }), n.context.restore());
1357
1358
  } else
1358
1359
  v0({ ctx: n, path: a, color: e.fill, opacity: i });
1359
1360
  y0({
@@ -1373,10 +1374,10 @@ function H(n = null) {
1373
1374
  ...n
1374
1375
  };
1375
1376
  }
1376
- const $1 = H();
1377
+ const G1 = H();
1377
1378
  function l0(n = null) {
1378
1379
  return {
1379
- origin: $1,
1380
+ origin: G1,
1380
1381
  size: L1,
1381
1382
  ...n
1382
1383
  };
@@ -1457,8 +1458,8 @@ const W1 = ({
1457
1458
  0,
1458
1459
  0
1459
1460
  ), n.context.translate(-f, -x);
1460
- for (const m of e.objects)
1461
- t(m, o * e.opacity);
1461
+ for (const b of e.objects)
1462
+ t(b, o * e.opacity);
1462
1463
  e.previewColor !== null && (n.context.fillStyle = E0(e.previewColor), n.context.fillRect(0, 0, e.width, e.height)), e.rotateOriginPreviewSize > 0 && (n.context.fillStyle = "red", n.context.beginPath(), n.context.arc(h, c, e.rotateOriginPreviewSize, 0, 2 * Math.PI), n.context.fill()), e.skewOriginPreviewSize > 0 && (n.context.fillStyle = "blue", n.context.beginPath(), n.context.arc(f, x, e.skewOriginPreviewSize, 0, 2 * Math.PI), n.context.fill()), n.context.restore();
1463
1464
  }
1464
1465
  };
@@ -1584,7 +1585,7 @@ const K1 = ({
1584
1585
  e.anchor,
1585
1586
  i0({ width: e.width, height: e.height })
1586
1587
  );
1587
- e.preview && (n.context.lineWidth = 4, n.context.strokeStyle = E0(G.RED), n.context.rect(i.origin.x, i.origin.y, i.size.width, i.size.height), n.context.stroke()), n.context.beginPath(), n.context.rect(i.origin.x, i.origin.y, i.size.width, i.size.height), n.context.closePath(), n.context.clip();
1588
+ e.preview && (n.context.lineWidth = 4, n.context.strokeStyle = E0($.RED), n.context.rect(i.origin.x, i.origin.y, i.size.width, i.size.height), n.context.stroke()), n.context.beginPath(), n.context.rect(i.origin.x, i.origin.y, i.size.width, i.size.height), n.context.closePath(), n.context.clip();
1588
1589
  for (const a of e.objects)
1589
1590
  o(a, t * e.opacity);
1590
1591
  n.context.restore();
@@ -1708,7 +1709,7 @@ const ie = ({
1708
1709
  const { path: a, length: s } = re(e, o);
1709
1710
  if (i < 1 && e.borderWidth > 0) {
1710
1711
  const r = ne(e, o);
1711
- r !== void 0 && (n.context.save(), Ft(n, r), v0({ ctx: n, path: a, color: e.fill, opacity: i }), n.context.restore());
1712
+ r !== void 0 && (n.context.save(), Rt(n, r), v0({ ctx: n, path: a, color: e.fill, opacity: i }), n.context.restore());
1712
1713
  } else
1713
1714
  v0({ ctx: n, path: a, color: e.fill, opacity: i });
1714
1715
  y0({
@@ -1792,7 +1793,7 @@ function he(n) {
1792
1793
  height: n.fontBoundingBoxAscent
1793
1794
  };
1794
1795
  }
1795
- function Rt(n, e, t = 1) {
1796
+ function Ft(n, e, t = 1) {
1796
1797
  n.context.fillStyle = nt(e.color, t), n.context.font = `${e.fontStyle} ${e.fontWeight} ${e.fontSize}px ${e.fontFamily}`, n.type === V.Browser ? n.context.textRendering = e.ligatures ? "optimizeLegibility" : "optimizeSpeed" : n.context.fontVariant = e.ligatures ? "common-ligatures" : "no-common-ligatures";
1797
1798
  }
1798
1799
  function le(n, e, t) {
@@ -1801,7 +1802,7 @@ function le(n, e, t) {
1801
1802
  const a = [];
1802
1803
  for (const s of i) {
1803
1804
  const { text: r, ...h } = s, c = { ...e, ...h };
1804
- Rt(t, c);
1805
+ Ft(t, c);
1805
1806
  const f = t.context.measureText(r);
1806
1807
  a.push(he(f));
1807
1808
  }
@@ -1815,22 +1816,22 @@ const ce = ({ ctx: n, object: e, opacity: t }) => {
1815
1816
  return;
1816
1817
  const { length: i } = e, a = _t(e.text), s = se(e), r = le(a, s, n), h = ae(r, e.lineSpacing), c = g0(H({ x: e.x, y: e.y }), e.anchor, h);
1817
1818
  let f = c.origin.x, x = c.origin.y, l = 0, u = 0;
1818
- for (let m = 0; m < a.length; m++) {
1819
- const y = a[m], M = r[m];
1819
+ for (let b = 0; b < a.length; b++) {
1820
+ const y = a[b], M = r[b];
1820
1821
  if (y == null || M == null) {
1821
1822
  console.error("Could not determine text units or sizes for line");
1822
1823
  continue;
1823
1824
  }
1824
- const C = M.reduce((L, S) => L + S.width, 0), E = M.length === 0 ? u : M.reduce((L, S) => Math.max(L, S.height), 0);
1825
+ const P = M.reduce((L, S) => L + S.width, 0), E = M.length === 0 ? u : M.reduce((L, S) => Math.max(L, S.height), 0);
1825
1826
  switch (e.alignment) {
1826
1827
  case x0.LEFT:
1827
1828
  f = c.origin.x;
1828
1829
  break;
1829
1830
  case x0.CENTER:
1830
- f = c.origin.x + (c.size.width - C) / 2;
1831
+ f = c.origin.x + (c.size.width - P) / 2;
1831
1832
  break;
1832
1833
  case x0.RIGHT:
1833
- f = c.origin.x + (c.size.width - C);
1834
+ f = c.origin.x + (c.size.width - P);
1834
1835
  break;
1835
1836
  default:
1836
1837
  r0(e.alignment);
@@ -1838,26 +1839,26 @@ const ce = ({ ctx: n, object: e, opacity: t }) => {
1838
1839
  }
1839
1840
  x += E + u * (e.lineSpacing - 1), u = E;
1840
1841
  for (let L = 0; L < y.length && !(i !== null && l >= i); L++) {
1841
- const S = y[L], P = M[L];
1842
- if (S == null || P == null) {
1842
+ const S = y[L], C = M[L];
1843
+ if (S == null || C == null) {
1843
1844
  console.error("Could not determine text unit or size for unit");
1844
1845
  continue;
1845
1846
  }
1846
- const { text: F, ...z } = S;
1847
+ const { text: R, ...z } = S;
1847
1848
  let W;
1848
- if (i !== null && l + F.length > i) {
1849
+ if (i !== null && l + R.length > i) {
1849
1850
  const a0 = i - l;
1850
- W = F.slice(0, a0);
1851
+ W = R.slice(0, a0);
1851
1852
  }
1852
- const U = W ?? F;
1853
+ const U = W ?? R;
1853
1854
  l += U.length;
1854
1855
  const X = { ...s, ...z };
1855
- Rt(n, X, o), n.context.fillText(U, f, x), f += P.width;
1856
+ Ft(n, X, o), n.context.fillText(U, f, x), f += C.width;
1856
1857
  }
1857
1858
  }
1858
1859
  }, ue = {
1859
1860
  [j.ARROW]: Y1,
1860
- [j.CIRCLE]: G1,
1861
+ [j.CIRCLE]: $1,
1861
1862
  [j.GROUP]: W1,
1862
1863
  [j.IMAGE]: Z1,
1863
1864
  [j.LINE]: K1,
@@ -1918,9 +1919,9 @@ async function pe(n) {
1918
1919
  }
1919
1920
  return e;
1920
1921
  }
1921
- class Pn {
1922
+ class Cn {
1922
1923
  constructor(e) {
1923
- const { objectRenderers: t, ...o } = e;
1924
+ const { objectRenderers: t, scale: o = 1, ...i } = e;
1924
1925
  this.props = {
1925
1926
  presentation: T1(),
1926
1927
  element: document.body,
@@ -1929,81 +1930,88 @@ class Pn {
1929
1930
  ...t
1930
1931
  },
1931
1932
  cacheDurationMinutes: 15,
1932
- ...o
1933
+ scale: de(o),
1934
+ ...i
1933
1935
  }, this.state = { ...pt };
1934
1936
  }
1935
1937
  /** Starts the presentation. */
1936
1938
  async present() {
1937
- const { presentation: e, element: t } = this.props, o = j1(e.size), i = fe(e.size);
1938
- this.state = {
1939
+ const { presentation: e, element: t, scale: o } = this.props, i = j1(e.size), a = fe(e.size);
1940
+ a.style.transformOrigin = "center center", a.style.transform = `scale(${o})`, this.state = {
1939
1941
  ...pt,
1940
1942
  imageById: await pe({
1941
1943
  ...e.resources.images,
1942
- ...F1(e)
1944
+ ...R1(e)
1943
1945
  }),
1944
- canvas: o,
1945
- extrasContainer: i
1946
+ canvas: i,
1947
+ extrasContainer: a
1946
1948
  };
1947
- const a = E1(e, t);
1949
+ const s = E1(e, t);
1948
1950
  N1(e, t, this.state.shortcutState, {
1949
- onNext: (r) => this.next(r),
1950
- onPrevious: (r) => this.previous(r),
1951
- onRenderSlide: (r, h) => {
1951
+ onNext: (h) => this.next(h),
1952
+ onPrevious: (h) => this.previous(h),
1953
+ onRenderSlide: (h, c) => {
1952
1954
  this.state.shortcutState.shortcuts.b = {
1953
1955
  slideIndex: this.state.slideIndex,
1954
1956
  buildIndex: this.state.buildIndex
1955
- }, this.renderSlide(r ?? this.state.slideIndex, h);
1957
+ }, this.renderSlide(h ?? this.state.slideIndex, c);
1956
1958
  },
1957
1959
  onShowNavigator: () => b1({
1958
1960
  presentation: e,
1959
- onNavigateToSlide: (r) => this.renderSlide(r)
1961
+ onNavigateToSlide: (h) => this.renderSlide(h)
1960
1962
  })
1961
- }), t.replaceChildren(), a.appendChild(o), a.appendChild(i), t.appendChild(a);
1962
- const s = q1(e, this.props.cacheDurationMinutes);
1963
- s !== null ? this.renderSlide(s.slideIndex, s.buildIndex) : this.renderSlide(0);
1963
+ }), t.replaceChildren(), s.appendChild(i), s.appendChild(a), t.appendChild(s);
1964
+ const r = q1(e, this.props.cacheDurationMinutes);
1965
+ r !== null ? this.renderSlide(r.slideIndex, r.buildIndex) : this.renderSlide(0);
1964
1966
  }
1965
1967
  renderSlide(e, t = 0, o = null) {
1966
- const { objectRenderers: i, presentation: a } = this.props, { canvas: s, imageById: r } = this.state, h = this.state.slideIndex !== e;
1968
+ const { objectRenderers: i, presentation: a, scale: s } = this.props, { canvas: r, imageById: h } = this.state, c = this.state.slideIndex !== e;
1967
1969
  this.state.slideIndex = e, this.state.buildIndex = t, o === null && B1({ title: a.title, slideIndex: e, buildIndex: t });
1968
- const c = a.slides[e];
1969
- if (c === void 0 || s === null)
1970
+ const f = a.slides[e];
1971
+ if (f === void 0 || r === null)
1970
1972
  return;
1971
- if (h || this.state.mountedExtrasCleanups.length === 0 && c.extras.length > 0) {
1972
- for (const m of this.state.mountedExtrasCleanups)
1973
- m();
1973
+ if (c || this.state.mountedExtrasCleanups.length === 0 && f.extras.length > 0) {
1974
+ for (const M of this.state.mountedExtrasCleanups)
1975
+ M();
1974
1976
  this.state.mountedExtrasCleanups = [];
1975
- for (const m of c.extras) {
1976
- const y = ge(this.state.extrasContainer, m);
1977
- y !== null && this.state.mountedExtrasCleanups.push(y);
1977
+ for (const M of f.extras) {
1978
+ const P = ge(this.state.extrasContainer, M);
1979
+ P !== null && this.state.mountedExtrasCleanups.push(P);
1978
1980
  }
1979
1981
  }
1980
- const f = s.getContext("2d");
1981
- if (f === null)
1982
+ const x = r.getContext("2d");
1983
+ if (x === null)
1982
1984
  return;
1983
- const x = {
1985
+ const l = {
1984
1986
  type: V.Browser,
1985
- context: f
1987
+ context: x
1986
1988
  };
1987
- D1(s, x);
1988
- const l = O1({
1989
- slide: c,
1989
+ D1(r, l);
1990
+ const u = O1({
1991
+ slide: f,
1990
1992
  buildIndex: t,
1991
1993
  buildTime: o
1992
1994
  });
1993
- x.context.fillStyle = nt(a.backgroundColor), x.context.fillRect(0, 0, s.width, s.height);
1994
- function u(m, y) {
1995
- const M = i[m.objectType], C = l.get(m);
1996
- M === void 0 || C === void 0 || M({
1997
- ctx: x,
1998
- imageById: r,
1999
- object: C,
2000
- opacity: y,
2001
- renderObject: u,
1995
+ l.context.fillStyle = nt(a.backgroundColor), l.context.fillRect(0, 0, r.width, r.height);
1996
+ function b(M, P) {
1997
+ const E = i[M.objectType], L = u.get(M);
1998
+ E === void 0 || L === void 0 || E({
1999
+ ctx: l,
2000
+ imageById: h,
2001
+ object: L,
2002
+ opacity: P,
2003
+ renderObject: b,
2002
2004
  createPath2D: z1
2003
2005
  });
2004
2006
  }
2005
- for (const m of c.objects)
2006
- u(m, 1);
2007
+ const y = s !== 1;
2008
+ y && (l.context.save(), l.context.translate(
2009
+ r.width * (1 - s) / 2,
2010
+ r.height * (1 - s) / 2
2011
+ ), l.context.scale(s, s));
2012
+ for (const M of f.objects)
2013
+ b(M, 1);
2014
+ y && l.context.restore();
2007
2015
  }
2008
2016
  next(e = !1) {
2009
2017
  const { presentation: t } = this.props, { currentAnimationId: o, slideIndex: i, buildIndex: a } = this.state;
@@ -2031,7 +2039,12 @@ class Pn {
2031
2039
  this.renderSlide(0, 0);
2032
2040
  }
2033
2041
  }
2034
- function Cn(n = 1e3) {
2042
+ function de(n) {
2043
+ return n <= 0 || n > 1 ? (console.warn(
2044
+ `BrowserCanvasRenderer scale must be positive and no greater than 1. Received ${n}; using 1 instead.`
2045
+ ), 1) : n;
2046
+ }
2047
+ function En(n = 1e3) {
2035
2048
  return {
2036
2049
  type: u0.PAUSE,
2037
2050
  isKey: !1,
@@ -2039,7 +2052,7 @@ function Cn(n = 1e3) {
2039
2052
  shortcut: null
2040
2053
  };
2041
2054
  }
2042
- function En(n = null) {
2055
+ function Sn(n = null) {
2043
2056
  return {
2044
2057
  objects: [],
2045
2058
  animations: [],
@@ -2052,30 +2065,30 @@ function En(n = null) {
2052
2065
  ...n
2053
2066
  };
2054
2067
  }
2055
- function Sn(n, e = {}) {
2068
+ function In(n, e = {}) {
2056
2069
  return {
2057
2070
  ...e,
2058
2071
  text: n
2059
2072
  };
2060
2073
  }
2061
- function In(n = G.BLACK) {
2074
+ function kn(n = $.BLACK) {
2062
2075
  return { ...n, alpha: 1 };
2063
2076
  }
2064
- function de(n) {
2077
+ function xe(n) {
2065
2078
  for (var e = -1, t = n.length, o, i = n[t - 1], a = 0; ++e < t; )
2066
2079
  o = i, i = n[e], a += o[1] * i[0] - o[0] * i[1];
2067
2080
  return a / 2;
2068
2081
  }
2069
- function xe(n) {
2082
+ function ye(n) {
2070
2083
  for (var e = -1, t = n.length, o = n[t - 1], i, a, s = o[0], r = o[1], h = 0; ++e < t; )
2071
2084
  i = s, a = r, o = n[e], s = o[0], r = o[1], i -= s, a -= r, h += Math.sqrt(i * i + a * a);
2072
2085
  return h;
2073
2086
  }
2074
- function ye(n) {
2087
+ function ve(n) {
2075
2088
  return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
2076
2089
  }
2077
2090
  var B0, dt;
2078
- function ve() {
2091
+ function we() {
2079
2092
  if (dt) return B0;
2080
2093
  dt = 1;
2081
2094
  var n = { a: 7, c: 6, h: 1, l: 2, m: 2, r: 4, q: 4, s: 4, t: 2, v: 1, z: 0 }, e = [
@@ -2139,47 +2152,47 @@ function ve() {
2139
2152
  u.index++;
2140
2153
  }
2141
2154
  function c(u) {
2142
- var m = u.path.charCodeAt(u.index);
2143
- if (m === 48) {
2155
+ var b = u.path.charCodeAt(u.index);
2156
+ if (b === 48) {
2144
2157
  u.param = 0, u.index++;
2145
2158
  return;
2146
2159
  }
2147
- if (m === 49) {
2160
+ if (b === 49) {
2148
2161
  u.param = 1, u.index++;
2149
2162
  return;
2150
2163
  }
2151
2164
  u.err = "SvgPath: arc flag can be 0 or 1 only (at pos " + u.index + ")";
2152
2165
  }
2153
2166
  function f(u) {
2154
- var m = u.index, y = m, M = u.max, C = !1, E = !1, L = !1, S = !1, P;
2167
+ var b = u.index, y = b, M = u.max, P = !1, E = !1, L = !1, S = !1, C;
2155
2168
  if (y >= M) {
2156
2169
  u.err = "SvgPath: missed param (at pos " + y + ")";
2157
2170
  return;
2158
2171
  }
2159
- if (P = u.path.charCodeAt(y), (P === 43 || P === 45) && (y++, P = y < M ? u.path.charCodeAt(y) : 0), !a(P) && P !== 46) {
2172
+ if (C = u.path.charCodeAt(y), (C === 43 || C === 45) && (y++, C = y < M ? u.path.charCodeAt(y) : 0), !a(C) && C !== 46) {
2160
2173
  u.err = "SvgPath: param should start with 0..9 or `.` (at pos " + y + ")";
2161
2174
  return;
2162
2175
  }
2163
- if (P !== 46) {
2164
- if (C = P === 48, y++, P = y < M ? u.path.charCodeAt(y) : 0, C && y < M && P && a(P)) {
2165
- u.err = "SvgPath: numbers started with `0` such as `09` are illegal (at pos " + m + ")";
2176
+ if (C !== 46) {
2177
+ if (P = C === 48, y++, C = y < M ? u.path.charCodeAt(y) : 0, P && y < M && C && a(C)) {
2178
+ u.err = "SvgPath: numbers started with `0` such as `09` are illegal (at pos " + b + ")";
2166
2179
  return;
2167
2180
  }
2168
2181
  for (; y < M && a(u.path.charCodeAt(y)); )
2169
2182
  y++, E = !0;
2170
- P = y < M ? u.path.charCodeAt(y) : 0;
2183
+ C = y < M ? u.path.charCodeAt(y) : 0;
2171
2184
  }
2172
- if (P === 46) {
2185
+ if (C === 46) {
2173
2186
  for (S = !0, y++; a(u.path.charCodeAt(y)); )
2174
2187
  y++, L = !0;
2175
- P = y < M ? u.path.charCodeAt(y) : 0;
2188
+ C = y < M ? u.path.charCodeAt(y) : 0;
2176
2189
  }
2177
- if (P === 101 || P === 69) {
2190
+ if (C === 101 || C === 69) {
2178
2191
  if (S && !E && !L) {
2179
2192
  u.err = "SvgPath: invalid float exponent (at pos " + y + ")";
2180
2193
  return;
2181
2194
  }
2182
- if (y++, P = y < M ? u.path.charCodeAt(y) : 0, (P === 43 || P === 45) && y++, y < M && a(u.path.charCodeAt(y)))
2195
+ if (y++, C = y < M ? u.path.charCodeAt(y) : 0, (C === 43 || C === 45) && y++, y < M && a(u.path.charCodeAt(y)))
2183
2196
  for (; y < M && a(u.path.charCodeAt(y)); )
2184
2197
  y++;
2185
2198
  else {
@@ -2187,20 +2200,20 @@ function ve() {
2187
2200
  return;
2188
2201
  }
2189
2202
  }
2190
- u.index = y, u.param = parseFloat(u.path.slice(m, y)) + 0;
2203
+ u.index = y, u.param = parseFloat(u.path.slice(b, y)) + 0;
2191
2204
  }
2192
2205
  function x(u) {
2193
- var m, y;
2194
- m = u.path[u.segmentStart], y = m.toLowerCase();
2206
+ var b, y;
2207
+ b = u.path[u.segmentStart], y = b.toLowerCase();
2195
2208
  var M = u.data;
2196
- if (y === "m" && M.length > 2 && (u.result.push([m, M[0], M[1]]), M = M.slice(2), y = "l", m = m === "m" ? "l" : "L"), y === "r")
2197
- u.result.push([m].concat(M));
2209
+ if (y === "m" && M.length > 2 && (u.result.push([b, M[0], M[1]]), M = M.slice(2), y = "l", b = b === "m" ? "l" : "L"), y === "r")
2210
+ u.result.push([b].concat(M));
2198
2211
  else
2199
- for (; M.length >= n[y] && (u.result.push([m].concat(M.splice(0, n[y]))), !!n[y]); )
2212
+ for (; M.length >= n[y] && (u.result.push([b].concat(M.splice(0, n[y]))), !!n[y]); )
2200
2213
  ;
2201
2214
  }
2202
2215
  function l(u) {
2203
- var m = u.max, y, M, C, E, L;
2216
+ var b = u.max, y, M, P, E, L;
2204
2217
  if (u.segmentStart = u.index, y = u.path.charCodeAt(u.index), M = i(y), !o(y)) {
2205
2218
  u.err = "SvgPath: bad command " + u.path[u.index] + " (at pos " + u.index + ")";
2206
2219
  return;
@@ -2209,21 +2222,21 @@ function ve() {
2209
2222
  x(u);
2210
2223
  return;
2211
2224
  }
2212
- for (C = !1; ; ) {
2225
+ for (P = !1; ; ) {
2213
2226
  for (L = E; L > 0; L--) {
2214
2227
  if (M && (L === 3 || L === 4) ? c(u) : f(u), u.err.length) {
2215
2228
  x(u);
2216
2229
  return;
2217
2230
  }
2218
- u.data.push(u.param), h(u), C = !1, u.index < m && u.path.charCodeAt(u.index) === 44 && (u.index++, h(u), C = !0);
2231
+ u.data.push(u.param), h(u), P = !1, u.index < b && u.path.charCodeAt(u.index) === 44 && (u.index++, h(u), P = !0);
2219
2232
  }
2220
- if (!C && (u.index >= u.max || !s(u.path.charCodeAt(u.index))))
2233
+ if (!P && (u.index >= u.max || !s(u.path.charCodeAt(u.index))))
2221
2234
  break;
2222
2235
  }
2223
2236
  x(u);
2224
2237
  }
2225
- return B0 = function(m) {
2226
- var y = new r(m), M = y.max;
2238
+ return B0 = function(b) {
2239
+ var y = new r(b), M = y.max;
2227
2240
  for (h(y); y.index < M && !y.err.length; )
2228
2241
  l(y);
2229
2242
  return y.result.length && ("mM".indexOf(y.result[0][0]) < 0 ? (y.err = "SvgPath: string should start with `M` or `m`", y.result = []) : y.result[0][0] = "M"), {
@@ -2283,7 +2296,7 @@ function Nt() {
2283
2296
  }, D0 = e, D0;
2284
2297
  }
2285
2298
  var j0, yt;
2286
- function we() {
2299
+ function me() {
2287
2300
  if (yt) return j0;
2288
2301
  yt = 1;
2289
2302
  var n = Nt(), e = {
@@ -2329,7 +2342,7 @@ function we() {
2329
2342
  }, j0;
2330
2343
  }
2331
2344
  var z0, vt;
2332
- function me() {
2345
+ function be() {
2333
2346
  if (vt) return z0;
2334
2347
  vt = 1;
2335
2348
  var n = Math.PI * 2;
@@ -2338,9 +2351,9 @@ function me() {
2338
2351
  return c > 1 && (c = 1), c < -1 && (c = -1), h * Math.acos(c);
2339
2352
  }
2340
2353
  function t(i, a, s, r, h, c, f, x, l, u) {
2341
- var m = u * (i - s) / 2 + l * (a - r) / 2, y = -l * (i - s) / 2 + u * (a - r) / 2, M = f * f, C = x * x, E = m * m, L = y * y, S = M * C - M * L - C * E;
2342
- S < 0 && (S = 0), S /= M * L + C * E, S = Math.sqrt(S) * (h === c ? -1 : 1);
2343
- var P = S * f / x * y, F = S * -x / f * m, z = u * P - l * F + (i + s) / 2, W = l * P + u * F + (a + r) / 2, U = (m - P) / f, X = (y - F) / x, a0 = (-m - P) / f, p0 = (-y - F) / x, c0 = e(1, 0, U, X), J = e(U, X, a0, p0);
2354
+ var b = u * (i - s) / 2 + l * (a - r) / 2, y = -l * (i - s) / 2 + u * (a - r) / 2, M = f * f, P = x * x, E = b * b, L = y * y, S = M * P - M * L - P * E;
2355
+ S < 0 && (S = 0), S /= M * L + P * E, S = Math.sqrt(S) * (h === c ? -1 : 1);
2356
+ var C = S * f / x * y, R = S * -x / f * b, z = u * C - l * R + (i + s) / 2, W = l * C + u * R + (a + r) / 2, U = (b - C) / f, X = (y - R) / x, a0 = (-b - C) / f, p0 = (-y - R) / x, c0 = e(1, 0, U, X), J = e(U, X, a0, p0);
2344
2357
  return c === 0 && J > 0 && (J -= n), c === 1 && J < 0 && (J += n), [z, W, c0, J];
2345
2358
  }
2346
2359
  function o(i, a) {
@@ -2348,23 +2361,23 @@ function me() {
2348
2361
  return [r, h, r - h * s, h + r * s, c + f * s, f - c * s, c, f];
2349
2362
  }
2350
2363
  return z0 = function(a, s, r, h, c, f, x, l, u) {
2351
- var m = Math.sin(u * n / 360), y = Math.cos(u * n / 360), M = y * (a - r) / 2 + m * (s - h) / 2, C = -m * (a - r) / 2 + y * (s - h) / 2;
2352
- if (M === 0 && C === 0)
2364
+ var b = Math.sin(u * n / 360), y = Math.cos(u * n / 360), M = y * (a - r) / 2 + b * (s - h) / 2, P = -b * (a - r) / 2 + y * (s - h) / 2;
2365
+ if (M === 0 && P === 0)
2353
2366
  return [];
2354
2367
  if (x === 0 || l === 0)
2355
2368
  return [];
2356
2369
  x = Math.abs(x), l = Math.abs(l);
2357
- var E = M * M / (x * x) + C * C / (l * l);
2370
+ var E = M * M / (x * x) + P * P / (l * l);
2358
2371
  E > 1 && (x *= Math.sqrt(E), l *= Math.sqrt(E));
2359
- var L = t(a, s, r, h, c, f, x, l, m, y), S = [], P = L[2], F = L[3], z = Math.max(Math.ceil(Math.abs(F) / (n / 4)), 1);
2360
- F /= z;
2372
+ var L = t(a, s, r, h, c, f, x, l, b, y), S = [], C = L[2], R = L[3], z = Math.max(Math.ceil(Math.abs(R) / (n / 4)), 1);
2373
+ R /= z;
2361
2374
  for (var W = 0; W < z; W++)
2362
- S.push(o(P, F)), P += F;
2375
+ S.push(o(C, R)), C += R;
2363
2376
  return S.map(function(U) {
2364
2377
  for (var X = 0; X < U.length; X += 2) {
2365
2378
  var a0 = U[X + 0], p0 = U[X + 1];
2366
2379
  a0 *= x, p0 *= l;
2367
- var c0 = y * a0 - m * p0, J = m * a0 + y * p0;
2380
+ var c0 = y * a0 - b * p0, J = b * a0 + y * p0;
2368
2381
  U[X + 0] = c0 + L[0], U[X + 1] = J + L[1];
2369
2382
  }
2370
2383
  return U;
@@ -2372,7 +2385,7 @@ function me() {
2372
2385
  }, z0;
2373
2386
  }
2374
2387
  var U0, wt;
2375
- function be() {
2388
+ function Ae() {
2376
2389
  if (wt) return U0;
2377
2390
  wt = 1;
2378
2391
  var n = 1e-10, e = Math.PI / 180;
@@ -2401,10 +2414,10 @@ function be() {
2401
2414
  }, U0 = t, U0;
2402
2415
  }
2403
2416
  var Y0, mt;
2404
- function Ae() {
2417
+ function Me() {
2405
2418
  if (mt) return Y0;
2406
2419
  mt = 1;
2407
- var n = ve(), e = we(), t = Nt(), o = me(), i = be();
2420
+ var n = we(), e = me(), t = Nt(), o = be(), i = Ae();
2408
2421
  function a(s) {
2409
2422
  if (!(this instanceof a))
2410
2423
  return new a(s);
@@ -2425,38 +2438,38 @@ function Ae() {
2425
2438
  }, a.prototype.__matrix = function(s) {
2426
2439
  var r = this, h;
2427
2440
  s.queue.length && this.iterate(function(c, f, x, l) {
2428
- var u, m, y, M;
2441
+ var u, b, y, M;
2429
2442
  switch (c[0]) {
2430
2443
  // Process 'assymetric' commands separately
2431
2444
  case "v":
2432
- u = s.calc(0, c[1], !0), m = u[0] === 0 ? ["v", u[1]] : ["l", u[0], u[1]];
2445
+ u = s.calc(0, c[1], !0), b = u[0] === 0 ? ["v", u[1]] : ["l", u[0], u[1]];
2433
2446
  break;
2434
2447
  case "V":
2435
- u = s.calc(x, c[1], !1), m = u[0] === s.calc(x, l, !1)[0] ? ["V", u[1]] : ["L", u[0], u[1]];
2448
+ u = s.calc(x, c[1], !1), b = u[0] === s.calc(x, l, !1)[0] ? ["V", u[1]] : ["L", u[0], u[1]];
2436
2449
  break;
2437
2450
  case "h":
2438
- u = s.calc(c[1], 0, !0), m = u[1] === 0 ? ["h", u[0]] : ["l", u[0], u[1]];
2451
+ u = s.calc(c[1], 0, !0), b = u[1] === 0 ? ["h", u[0]] : ["l", u[0], u[1]];
2439
2452
  break;
2440
2453
  case "H":
2441
- u = s.calc(c[1], l, !1), m = u[1] === s.calc(x, l, !1)[1] ? ["H", u[0]] : ["L", u[0], u[1]];
2454
+ u = s.calc(c[1], l, !1), b = u[1] === s.calc(x, l, !1)[1] ? ["H", u[0]] : ["L", u[0], u[1]];
2442
2455
  break;
2443
2456
  case "a":
2444
2457
  case "A":
2445
- var C = s.toArray(), E = i(c[1], c[2], c[3]).transform(C);
2446
- if (C[0] * C[3] - C[1] * C[2] < 0 && (c[5] = c[5] ? "0" : "1"), u = s.calc(c[6], c[7], c[0] === "a"), c[0] === "A" && c[6] === x && c[7] === l || c[0] === "a" && c[6] === 0 && c[7] === 0) {
2447
- m = [c[0] === "a" ? "l" : "L", u[0], u[1]];
2458
+ var P = s.toArray(), E = i(c[1], c[2], c[3]).transform(P);
2459
+ if (P[0] * P[3] - P[1] * P[2] < 0 && (c[5] = c[5] ? "0" : "1"), u = s.calc(c[6], c[7], c[0] === "a"), c[0] === "A" && c[6] === x && c[7] === l || c[0] === "a" && c[6] === 0 && c[7] === 0) {
2460
+ b = [c[0] === "a" ? "l" : "L", u[0], u[1]];
2448
2461
  break;
2449
2462
  }
2450
- E.isDegenerate() ? m = [c[0] === "a" ? "l" : "L", u[0], u[1]] : m = [c[0], E.rx, E.ry, E.ax, c[4], c[5], u[0], u[1]];
2463
+ E.isDegenerate() ? b = [c[0] === "a" ? "l" : "L", u[0], u[1]] : b = [c[0], E.rx, E.ry, E.ax, c[4], c[5], u[0], u[1]];
2451
2464
  break;
2452
2465
  case "m":
2453
- M = f > 0, u = s.calc(c[1], c[2], M), m = ["m", u[0], u[1]];
2466
+ M = f > 0, u = s.calc(c[1], c[2], M), b = ["m", u[0], u[1]];
2454
2467
  break;
2455
2468
  default:
2456
- for (y = c[0], m = [y], M = y.toLowerCase() === y, h = 1; h < c.length; h += 2)
2457
- u = s.calc(c[h], c[h + 1], M), m.push(u[0], u[1]);
2469
+ for (y = c[0], b = [y], M = y.toLowerCase() === y, h = 1; h < c.length; h += 2)
2470
+ u = s.calc(c[h], c[h + 1], M), b.push(u[0], u[1]);
2458
2471
  }
2459
- r.segments[f] = m;
2472
+ r.segments[f] = b;
2460
2473
  }, !0);
2461
2474
  }, a.prototype.__evaluateStack = function() {
2462
2475
  var s, r;
@@ -2476,8 +2489,8 @@ function Ae() {
2476
2489
  var x = this.segments[c], l = x[0];
2477
2490
  l !== r || l === "m" || l === "M" ? (l === "m" && r === "z" && (s += " "), s += l, h = !1) : h = !0;
2478
2491
  for (var u = 1; u < x.length; u++) {
2479
- var m = x[u];
2480
- u === 1 ? h && m >= 0 && (s += " ") : m >= 0 && (s += " "), s += m;
2492
+ var b = x[u];
2493
+ u === 1 ? h && b >= 0 && (s += " ") : b >= 0 && (s += " "), s += b;
2481
2494
  }
2482
2495
  r = l;
2483
2496
  }
@@ -2522,47 +2535,47 @@ function Ae() {
2522
2535
  u && (l[6] += c, l[7] += f), c = l[6] - l[6].toFixed(s), f = l[7] - l[7].toFixed(s), l[1] = +l[1].toFixed(s), l[2] = +l[2].toFixed(s), l[3] = +l[3].toFixed(s + 2), l[6] = +l[6].toFixed(s), l[7] = +l[7].toFixed(s);
2523
2536
  return;
2524
2537
  default:
2525
- x = l.length, u && (l[x - 2] += c, l[x - 1] += f), c = l[x - 2] - l[x - 2].toFixed(s), f = l[x - 1] - l[x - 1].toFixed(s), l.forEach(function(m, y) {
2538
+ x = l.length, u && (l[x - 2] += c, l[x - 1] += f), c = l[x - 2] - l[x - 2].toFixed(s), f = l[x - 1] - l[x - 1].toFixed(s), l.forEach(function(b, y) {
2526
2539
  y && (l[y] = +l[y].toFixed(s));
2527
2540
  });
2528
2541
  return;
2529
2542
  }
2530
2543
  }), this;
2531
2544
  }, a.prototype.iterate = function(s, r) {
2532
- var h = this.segments, c = {}, f = !1, x = 0, l = 0, u = 0, m = 0, y, M, C;
2545
+ var h = this.segments, c = {}, f = !1, x = 0, l = 0, u = 0, b = 0, y, M, P;
2533
2546
  if (r || this.__evaluateStack(), h.forEach(function(E, L) {
2534
2547
  var S = s(E, L, x, l);
2535
2548
  Array.isArray(S) && (c[L] = S, f = !0);
2536
- var P = E[0] === E[0].toLowerCase();
2549
+ var C = E[0] === E[0].toLowerCase();
2537
2550
  switch (E[0]) {
2538
2551
  case "m":
2539
2552
  case "M":
2540
- x = E[1] + (P ? x : 0), l = E[2] + (P ? l : 0), u = x, m = l;
2553
+ x = E[1] + (C ? x : 0), l = E[2] + (C ? l : 0), u = x, b = l;
2541
2554
  return;
2542
2555
  case "h":
2543
2556
  case "H":
2544
- x = E[1] + (P ? x : 0);
2557
+ x = E[1] + (C ? x : 0);
2545
2558
  return;
2546
2559
  case "v":
2547
2560
  case "V":
2548
- l = E[1] + (P ? l : 0);
2561
+ l = E[1] + (C ? l : 0);
2549
2562
  return;
2550
2563
  case "z":
2551
2564
  case "Z":
2552
- x = u, l = m;
2565
+ x = u, l = b;
2553
2566
  return;
2554
2567
  default:
2555
- x = E[E.length - 2] + (P ? x : 0), l = E[E.length - 1] + (P ? l : 0);
2568
+ x = E[E.length - 2] + (C ? x : 0), l = E[E.length - 1] + (C ? l : 0);
2556
2569
  }
2557
2570
  }), !f)
2558
2571
  return this;
2559
- for (C = [], y = 0; y < h.length; y++)
2572
+ for (P = [], y = 0; y < h.length; y++)
2560
2573
  if (typeof c[y] < "u")
2561
2574
  for (M = 0; M < c[y].length; M++)
2562
- C.push(c[y][M]);
2575
+ P.push(c[y][M]);
2563
2576
  else
2564
- C.push(h[y]);
2565
- return this.segments = C, this;
2577
+ P.push(h[y]);
2578
+ return this.segments = P, this;
2566
2579
  }, a.prototype.abs = function() {
2567
2580
  return this.iterate(function(s, r, h, c) {
2568
2581
  var f = s[0], x = f.toUpperCase(), l;
@@ -2597,22 +2610,22 @@ function Ae() {
2597
2610
  }, !0), this;
2598
2611
  }, a.prototype.unarc = function() {
2599
2612
  return this.iterate(function(s, r, h, c) {
2600
- var f, x, l, u = [], m = s[0];
2601
- return m !== "A" && m !== "a" ? null : (m === "a" ? (x = h + s[6], l = c + s[7]) : (x = s[6], l = s[7]), f = o(h, c, x, l, s[4], s[5], s[1], s[2], s[3]), f.length === 0 ? [[s[0] === "a" ? "l" : "L", s[6], s[7]]] : (f.forEach(function(y) {
2613
+ var f, x, l, u = [], b = s[0];
2614
+ return b !== "A" && b !== "a" ? null : (b === "a" ? (x = h + s[6], l = c + s[7]) : (x = s[6], l = s[7]), f = o(h, c, x, l, s[4], s[5], s[1], s[2], s[3]), f.length === 0 ? [[s[0] === "a" ? "l" : "L", s[6], s[7]]] : (f.forEach(function(y) {
2602
2615
  u.push(["C", y[2], y[3], y[4], y[5], y[6], y[7]]);
2603
2616
  }), u));
2604
2617
  }), this;
2605
2618
  }, a.prototype.unshort = function() {
2606
2619
  var s = this.segments, r, h, c, f, x;
2607
- return this.iterate(function(l, u, m, y) {
2608
- var M = l[0], C = M.toUpperCase(), E;
2609
- u && (C === "T" ? (E = M === "t", c = s[u - 1], c[0] === "Q" ? (r = c[1] - m, h = c[2] - y) : c[0] === "q" ? (r = c[1] - c[3], h = c[2] - c[4]) : (r = 0, h = 0), f = -r, x = -h, E || (f += m, x += y), s[u] = [
2620
+ return this.iterate(function(l, u, b, y) {
2621
+ var M = l[0], P = M.toUpperCase(), E;
2622
+ u && (P === "T" ? (E = M === "t", c = s[u - 1], c[0] === "Q" ? (r = c[1] - b, h = c[2] - y) : c[0] === "q" ? (r = c[1] - c[3], h = c[2] - c[4]) : (r = 0, h = 0), f = -r, x = -h, E || (f += b, x += y), s[u] = [
2610
2623
  E ? "q" : "Q",
2611
2624
  f,
2612
2625
  x,
2613
2626
  l[1],
2614
2627
  l[2]
2615
- ]) : C === "S" && (E = M === "s", c = s[u - 1], c[0] === "C" ? (r = c[3] - m, h = c[4] - y) : c[0] === "c" ? (r = c[3] - c[5], h = c[4] - c[6]) : (r = 0, h = 0), f = -r, x = -h, E || (f += m, x += y), s[u] = [
2628
+ ]) : P === "S" && (E = M === "s", c = s[u - 1], c[0] === "C" ? (r = c[3] - b, h = c[4] - y) : c[0] === "c" ? (r = c[3] - c[5], h = c[4] - c[6]) : (r = 0, h = 0), f = -r, x = -h, E || (f += b, x += y), s[u] = [
2616
2629
  E ? "c" : "C",
2617
2630
  f,
2618
2631
  x,
@@ -2625,17 +2638,17 @@ function Ae() {
2625
2638
  }, Y0 = a, Y0;
2626
2639
  }
2627
2640
  var X0, bt;
2628
- function Me() {
2629
- return bt || (bt = 1, X0 = Ae()), X0;
2641
+ function Le() {
2642
+ return bt || (bt = 1, X0 = Me()), X0;
2630
2643
  }
2631
- var Le = Me();
2632
- const Te = /* @__PURE__ */ ye(Le);
2633
- var H0 = { a: 7, c: 6, h: 1, l: 2, m: 2, q: 4, s: 4, t: 2, v: 1, z: 0 }, Pe = /([astvzqmhlc])([^astvzqmhlc]*)/ig;
2634
- function Ce(n) {
2644
+ var Te = Le();
2645
+ const Pe = /* @__PURE__ */ ve(Te);
2646
+ var H0 = { a: 7, c: 6, h: 1, l: 2, m: 2, q: 4, s: 4, t: 2, v: 1, z: 0 }, Ce = /([astvzqmhlc])([^astvzqmhlc]*)/ig;
2647
+ function Ee(n) {
2635
2648
  var e = [];
2636
- return n.replace(Pe, function(t, o, i) {
2649
+ return n.replace(Ce, function(t, o, i) {
2637
2650
  var a = o.toLowerCase();
2638
- for (i = Se(i), a === "m" && i.length > 2 && (e.push([o].concat(i.splice(0, 2))), a = "l", o = o === "m" ? "l" : "L"); i.length >= 0; ) {
2651
+ for (i = Ie(i), a === "m" && i.length > 2 && (e.push([o].concat(i.splice(0, 2))), a = "l", o = o === "m" ? "l" : "L"); i.length >= 0; ) {
2639
2652
  if (i.length === H0[a])
2640
2653
  return i.unshift(o), e.push(i);
2641
2654
  if (i.length < H0[a])
@@ -2644,16 +2657,16 @@ function Ce(n) {
2644
2657
  }
2645
2658
  }), e;
2646
2659
  }
2647
- var Ee = /-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;
2648
- function Se(n) {
2649
- var e = n.match(Ee);
2660
+ var Se = /-?[0-9]*\.?[0-9]+(?:e[-+]?\d+)?/ig;
2661
+ function Ie(n) {
2662
+ var e = n.match(Se);
2650
2663
  return e ? e.map(Number) : [];
2651
2664
  }
2652
2665
  function e0(n, e, t, o, i, a, s, r) {
2653
2666
  return new Z0(n, e, t, o, i, a, s, r);
2654
2667
  }
2655
2668
  function Z0(n, e, t, o, i, a, s, r) {
2656
- this.a = { x: n, y: e }, this.b = { x: t, y: o }, this.c = { x: i, y: a }, this.d = { x: s, y: r }, s != null && r !== null && r !== void 0 ? (this.getArcLength = De, this.getPoint = _e, this.getDerivative = ke) : (this.getArcLength = Oe, this.getPoint = qt, this.getDerivative = Ie), this.init();
2669
+ this.a = { x: n, y: e }, this.b = { x: t, y: o }, this.c = { x: i, y: a }, this.d = { x: s, y: r }, s != null && r !== null && r !== void 0 ? (this.getArcLength = je, this.getPoint = Oe, this.getDerivative = _e) : (this.getArcLength = Re, this.getPoint = qt, this.getDerivative = ke), this.init();
2657
2670
  }
2658
2671
  Z0.prototype = {
2659
2672
  constructor: Z0,
@@ -2667,7 +2680,7 @@ Z0.prototype = {
2667
2680
  return this.length;
2668
2681
  },
2669
2682
  getPointAtLength: function(n) {
2670
- var e = G0(
2683
+ var e = $0(
2671
2684
  n,
2672
2685
  this.length,
2673
2686
  this.getArcLength,
@@ -2681,7 +2694,7 @@ Z0.prototype = {
2681
2694
  );
2682
2695
  },
2683
2696
  getTangentAtLength: function(n) {
2684
- var e = G0(
2697
+ var e = $0(
2685
2698
  n,
2686
2699
  this.length,
2687
2700
  this.getArcLength,
@@ -2695,7 +2708,7 @@ Z0.prototype = {
2695
2708
  return o > 0 ? i = { x: t.x / o, y: t.y / o } : i = { x: 0, y: 0 }, i;
2696
2709
  },
2697
2710
  getPropertiesAtLength: function(n) {
2698
- var e = G0(
2711
+ var e = $0(
2699
2712
  n,
2700
2713
  this.length,
2701
2714
  this.getArcLength,
@@ -2715,13 +2728,13 @@ Z0.prototype = {
2715
2728
  return { x: a.x, y: a.y, tangentX: i.x, tangentY: i.y };
2716
2729
  }
2717
2730
  };
2718
- function Ie(n, e, t) {
2731
+ function ke(n, e, t) {
2719
2732
  return {
2720
2733
  x: (1 - t) * 2 * (n[1] - n[0]) + t * 2 * (n[2] - n[1]),
2721
2734
  y: (1 - t) * 2 * (e[1] - e[0]) + t * 2 * (e[2] - e[1])
2722
2735
  };
2723
2736
  }
2724
- function ke(n, e, t) {
2737
+ function _e(n, e, t) {
2725
2738
  var o = qt(
2726
2739
  [3 * (n[1] - n[0]), 3 * (n[2] - n[1]), 3 * (n[3] - n[2])],
2727
2740
  [3 * (e[1] - e[0]), 3 * (e[2] - e[1]), 3 * (e[3] - e[2])],
@@ -2729,7 +2742,7 @@ function ke(n, e, t) {
2729
2742
  );
2730
2743
  return o;
2731
2744
  }
2732
- function G0(n, e, t, o, i) {
2745
+ function $0(n, e, t, o, i) {
2733
2746
  for (var a = 1, s = n / e, r = (n - t(o, i, s)) / e; a > 1e-3; ) {
2734
2747
  var h = t(o, i, s + r), c = t(o, i, s - r), f = Math.abs(n - h) / e, x = Math.abs(n - c) / e;
2735
2748
  f < a ? (a = f, s += r) : x < a ? (a = x, s -= r) : r /= 2;
@@ -2740,11 +2753,11 @@ function qt(n, e, t) {
2740
2753
  var o = (1 - t) * (1 - t) * n[0] + 2 * (1 - t) * t * n[1] + t * t * n[2], i = (1 - t) * (1 - t) * e[0] + 2 * (1 - t) * t * e[1] + t * t * e[2];
2741
2754
  return { x: o, y: i };
2742
2755
  }
2743
- function _e(n, e, t) {
2756
+ function Oe(n, e, t) {
2744
2757
  var o = (1 - t) * (1 - t) * (1 - t) * n[0] + 3 * (1 - t) * (1 - t) * t * n[1] + 3 * (1 - t) * t * t * n[2] + t * t * t * n[3], i = (1 - t) * (1 - t) * (1 - t) * e[0] + 3 * (1 - t) * (1 - t) * t * e[1] + 3 * (1 - t) * t * t * e[2] + t * t * t * e[3];
2745
2758
  return { x: o, y: i };
2746
2759
  }
2747
- function Oe(n, e, t) {
2760
+ function Re(n, e, t) {
2748
2761
  t === void 0 && (t = 1);
2749
2762
  var o = n[0] - 2 * n[1] + n[2], i = e[0] - 2 * e[1] + e[2], a = 2 * n[1] - 2 * n[0], s = 2 * e[1] - 2 * e[0], r = 4 * (o * o + i * i), h = 4 * (o * a + i * s), c = a * a + s * s;
2750
2763
  if (r === 0)
@@ -2780,7 +2793,7 @@ var Fe = [
2780
2793
  [-0.06973927331972223, 0.06973927331972223, -0.20786042668822127, 0.20786042668822127, -0.34193582089208424, 0.34193582089208424, -0.469355837986757, 0.469355837986757, -0.5876404035069116, 0.5876404035069116, -0.6944872631866827, 0.6944872631866827, -0.7878168059792081, 0.7878168059792081, -0.8658125777203002, 0.8658125777203002, -0.926956772187174, 0.926956772187174, -0.9700604978354287, 0.9700604978354287, -0.9942945854823992, 0.9942945854823992],
2781
2794
  [0, -0.1332568242984661, 0.1332568242984661, -0.26413568097034495, 0.26413568097034495, -0.3903010380302908, 0.3903010380302908, -0.5095014778460075, 0.5095014778460075, -0.6196098757636461, 0.6196098757636461, -0.7186613631319502, 0.7186613631319502, -0.8048884016188399, 0.8048884016188399, -0.8767523582704416, 0.8767523582704416, -0.9329710868260161, 0.9329710868260161, -0.9725424712181152, 0.9725424712181152, -0.9947693349975522, 0.9947693349975522],
2782
2795
  [-0.06405689286260563, 0.06405689286260563, -0.1911188674736163, 0.1911188674736163, -0.3150426796961634, 0.3150426796961634, -0.4337935076260451, 0.4337935076260451, -0.5454214713888396, 0.5454214713888396, -0.6480936519369755, 0.6480936519369755, -0.7401241915785544, 0.7401241915785544, -0.820001985973903, 0.820001985973903, -0.8864155270044011, 0.8864155270044011, -0.9382745520027328, 0.9382745520027328, -0.9747285559713095, 0.9747285559713095, -0.9951872199970213, 0.9951872199970213]
2783
- ], Re = [
2796
+ ], Ne = [
2784
2797
  [],
2785
2798
  [],
2786
2799
  [1, 1],
@@ -2806,9 +2819,9 @@ var Fe = [
2806
2819
  [0.13925187285563198, 0.13925187285563198, 0.13654149834601517, 0.13654149834601517, 0.13117350478706238, 0.13117350478706238, 0.12325237681051242, 0.12325237681051242, 0.11293229608053922, 0.11293229608053922, 0.10041414444288096, 0.10041414444288096, 0.08594160621706773, 0.08594160621706773, 0.06979646842452049, 0.06979646842452049, 0.052293335152683286, 0.052293335152683286, 0.03377490158481415, 0.03377490158481415, 0.0146279952982722, 0.0146279952982722],
2807
2820
  [0.13365457218610619, 0.1324620394046966, 0.1324620394046966, 0.12890572218808216, 0.12890572218808216, 0.12304908430672953, 0.12304908430672953, 0.11499664022241136, 0.11499664022241136, 0.10489209146454141, 0.10489209146454141, 0.09291576606003515, 0.09291576606003515, 0.07928141177671895, 0.07928141177671895, 0.06423242140852585, 0.06423242140852585, 0.04803767173108467, 0.04803767173108467, 0.030988005856979445, 0.030988005856979445, 0.013411859487141771, 0.013411859487141771],
2808
2821
  [0.12793819534675216, 0.12793819534675216, 0.1258374563468283, 0.1258374563468283, 0.12167047292780339, 0.12167047292780339, 0.1155056680537256, 0.1155056680537256, 0.10744427011596563, 0.10744427011596563, 0.09761865210411388, 0.09761865210411388, 0.08619016153195327, 0.08619016153195327, 0.0733464814110803, 0.0733464814110803, 0.05929858491543678, 0.05929858491543678, 0.04427743881741981, 0.04427743881741981, 0.028531388628933663, 0.028531388628933663, 0.0123412297999872, 0.0123412297999872]
2809
- ], Ne = [[1], [1, 1], [1, 2, 1], [1, 3, 3, 1]];
2810
- function qe(n, e) {
2811
- return Ne[n][e];
2822
+ ], qe = [[1], [1, 1], [1, 2, 1], [1, 3, 3, 1]];
2823
+ function Be(n, e) {
2824
+ return qe[n][e];
2812
2825
  }
2813
2826
  function V0(n, e, t) {
2814
2827
  var o = t.length - 1, i, a, s;
@@ -2816,7 +2829,7 @@ function V0(n, e, t) {
2816
2829
  return 0;
2817
2830
  if (n === 0) {
2818
2831
  for (a = 0, s = 0; s <= o; s++)
2819
- a += qe(o, s) * Math.pow(1 - e, o - s) * Math.pow(e, s) * t[s];
2832
+ a += Be(o, s) * Math.pow(1 - e, o - s) * Math.pow(e, s) * t[s];
2820
2833
  return a;
2821
2834
  } else {
2822
2835
  for (i = new Array(o), s = 0; s < o; s++)
@@ -2824,16 +2837,16 @@ function V0(n, e, t) {
2824
2837
  return V0(n - 1, e, i);
2825
2838
  }
2826
2839
  }
2827
- function Be(n, e, t) {
2840
+ function De(n, e, t) {
2828
2841
  var o = V0(1, t, n), i = V0(1, t, e), a = o * o + i * i;
2829
2842
  return Math.sqrt(a);
2830
2843
  }
2831
- function De(n, e, t) {
2844
+ function je(n, e, t) {
2832
2845
  var o, i, a, s;
2833
2846
  t === void 0 && (t = 1);
2834
2847
  var r = 20;
2835
2848
  for (o = t / 2, i = 0, a = 0; a < r; a++)
2836
- s = o * Fe[r][a] + o, i += Re[r][a] * Be(n, e, s);
2849
+ s = o * Fe[r][a] + o, i += Ne[r][a] * De(n, e, s);
2837
2850
  return o * i;
2838
2851
  }
2839
2852
  var C0 = Math.PI * 2;
@@ -2841,17 +2854,17 @@ function At(n, e, t, o) {
2841
2854
  var i = n * o - e * t < 0 ? -1 : 1, a = n * t + e * o;
2842
2855
  return a > 1 && (a = 1), a < -1 && (a = -1), i * Math.acos(a);
2843
2856
  }
2844
- function je(n, e, t, o, i, a, s, r, h, c) {
2845
- var f = c * (n - t) / 2 + h * (e - o) / 2, x = -h * (n - t) / 2 + c * (e - o) / 2, l = s * s, u = r * r, m = f * f, y = x * x, M = l * u - l * y - u * m;
2846
- M < 0 && (M = 0), M /= l * y + u * m, M = Math.sqrt(M) * (i === a ? -1 : 1);
2847
- var C = M * s / r * x, E = M * -r / s * f, L = c * C - h * E + (n + t) / 2, S = h * C + c * E + (e + o) / 2, P = (f - C) / s, F = (x - E) / r, z = (-f - C) / s, W = (-x - E) / r, U = At(1, 0, P, F), X = At(P, F, z, W);
2857
+ function ze(n, e, t, o, i, a, s, r, h, c) {
2858
+ var f = c * (n - t) / 2 + h * (e - o) / 2, x = -h * (n - t) / 2 + c * (e - o) / 2, l = s * s, u = r * r, b = f * f, y = x * x, M = l * u - l * y - u * b;
2859
+ M < 0 && (M = 0), M /= l * y + u * b, M = Math.sqrt(M) * (i === a ? -1 : 1);
2860
+ var P = M * s / r * x, E = M * -r / s * f, L = c * P - h * E + (n + t) / 2, S = h * P + c * E + (e + o) / 2, C = (f - P) / s, R = (x - E) / r, z = (-f - P) / s, W = (-x - E) / r, U = At(1, 0, C, R), X = At(C, R, z, W);
2848
2861
  return a === 0 && X > 0 && (X -= C0), a === 1 && X < 0 && (X += C0), [L, S, U, X];
2849
2862
  }
2850
- function ze(n, e) {
2863
+ function Ue(n, e) {
2851
2864
  var t = 1.3333333333333333 * Math.tan(e / 4), o = Math.cos(n), i = Math.sin(n), a = Math.cos(n + e), s = Math.sin(n + e);
2852
2865
  return [o, i, o - i * t, i + o * t, a + s * t, s - a * t, a, s];
2853
2866
  }
2854
- function Ue(n, e, t, o, i, a, s, r, h) {
2867
+ function Ye(n, e, t, o, i, a, s, r, h) {
2855
2868
  var c = Math.sin(i * C0 / 360), f = Math.cos(i * C0 / 360), x = f * (n - r) / 2 + c * (e - h) / 2, l = -c * (n - r) / 2 + f * (e - h) / 2;
2856
2869
  if (x === 0 && l === 0)
2857
2870
  return [];
@@ -2860,16 +2873,16 @@ function Ue(n, e, t, o, i, a, s, r, h) {
2860
2873
  t = Math.abs(t), o = Math.abs(o);
2861
2874
  var u = x * x / (t * t) + l * l / (o * o);
2862
2875
  u > 1 && (t *= Math.sqrt(u), o *= Math.sqrt(u));
2863
- var m = je(n, e, r, h, a, s, t, o, c, f), y = [], M = m[2], C = m[3], E = Math.max(Math.ceil(Math.abs(C) / (C0 / 4)), 1);
2864
- C /= E;
2876
+ var b = ze(n, e, r, h, a, s, t, o, c, f), y = [], M = b[2], P = b[3], E = Math.max(Math.ceil(Math.abs(P) / (C0 / 4)), 1);
2877
+ P /= E;
2865
2878
  for (var L = 0; L < E; L++)
2866
- y.push(ze(M, C)), M += C;
2879
+ y.push(Ue(M, P)), M += P;
2867
2880
  return y.map(function(S) {
2868
- for (var P = 0; P < S.length; P += 2) {
2869
- var F = S[P + 0], z = S[P + 1];
2870
- F *= t, z *= o;
2871
- var W = f * F - c * z, U = c * F + f * z;
2872
- S[P + 0] = W + m[0], S[P + 1] = U + m[1];
2881
+ for (var C = 0; C < S.length; C += 2) {
2882
+ var R = S[C + 0], z = S[C + 1];
2883
+ R *= t, z *= o;
2884
+ var W = f * R - c * z, U = c * R + f * z;
2885
+ S[C + 0] = W + b[0], S[C + 1] = U + b[1];
2873
2886
  }
2874
2887
  return S;
2875
2888
  });
@@ -2878,10 +2891,10 @@ function Mt(n, e, t, o, i, a, s, r, h) {
2878
2891
  return new K0(n, e, t, o, i, a, s, r, h);
2879
2892
  }
2880
2893
  function K0(n, e, t, o, i, a, s, r, h) {
2881
- var c = 0, f = [], x = [], l = Ue(n, e, t, o, i, a, s, r, h);
2894
+ var c = 0, f = [], x = [], l = Ye(n, e, t, o, i, a, s, r, h);
2882
2895
  l.forEach(function(u) {
2883
- var m = new e0(u[0], u[1], u[2], u[3], u[4], u[5], u[6], u[7]), y = m.getTotalLength();
2884
- c += y, f.push(y), x.push(m);
2896
+ var b = new e0(u[0], u[1], u[2], u[3], u[4], u[5], u[6], u[7]), y = b.getTotalLength();
2897
+ c += y, f.push(y), x.push(b);
2885
2898
  }), this.length = c, this.partialLengths = f, this.curves = x;
2886
2899
  }
2887
2900
  K0.prototype = {
@@ -2935,12 +2948,12 @@ I0.prototype.getPropertiesAtLength = function(n) {
2935
2948
  var e = this.getPointAtLength(n), t = this.getTangentAtLength();
2936
2949
  return { x: e.x, y: e.y, tangentX: t.x, tangentY: t.y };
2937
2950
  };
2938
- function Ye(n) {
2951
+ function Xe(n) {
2939
2952
  var e = 0, t = [], o = [];
2940
2953
  function i(s) {
2941
2954
  if (!s)
2942
2955
  return null;
2943
- for (var r = Ce(s), h = [0, 0], c = [0, 0], f, x, l = 0; l < r.length; l++)
2956
+ for (var r = Ee(s), h = [0, 0], c = [0, 0], f, x, l = 0; l < r.length; l++)
2944
2957
  r[l][0] === "M" ? (h = [r[l][1], r[l][2]], x = [h[0], h[1]], o.push(null)) : r[l][0] === "m" ? (h = [r[l][1] + h[0], r[l][2] + h[1]], x = [h[0], h[1]], o.push(null)) : r[l][0] === "L" ? (e = e + Math.sqrt(Math.pow(h[0] - r[l][1], 2) + Math.pow(h[1] - r[l][2], 2)), o.push(new t0(h[0], r[l][1], h[1], r[l][2])), h = [r[l][1], r[l][2]]) : r[l][0] === "l" ? (e = e + Math.sqrt(Math.pow(r[l][1], 2) + Math.pow(r[l][2], 2)), o.push(new t0(h[0], r[l][1] + h[0], h[1], r[l][2] + h[1])), h = [r[l][1] + h[0], r[l][2] + h[1]]) : r[l][0] === "H" ? (e = e + Math.abs(h[0] - r[l][1]), o.push(new t0(h[0], r[l][1], h[1], h[1])), h[0] = r[l][1]) : r[l][0] === "h" ? (e = e + Math.abs(r[l][1]), o.push(new t0(h[0], h[0] + r[l][1], h[1], h[1])), h[0] = r[l][1] + h[0]) : r[l][0] === "V" ? (e = e + Math.abs(h[1] - r[l][1]), o.push(new t0(h[0], h[0], h[1], r[l][1])), h[1] = r[l][1]) : r[l][0] === "v" ? (e = e + Math.abs(r[l][1]), o.push(new t0(h[0], h[0], h[1], h[1] + r[l][1])), h[1] = r[l][1] + h[1]) : r[l][0] === "z" || r[l][0] === "Z" ? (e = e + Math.sqrt(Math.pow(x[0] - h[0], 2) + Math.pow(x[1] - h[1], 2)), o.push(new t0(h[0], x[0], h[1], x[1])), h = [x[0], x[1]]) : r[l][0] === "C" ? (f = new e0(h[0], h[1], r[l][1], r[l][2], r[l][3], r[l][4], r[l][5], r[l][6]), e = e + f.getTotalLength(), h = [r[l][5], r[l][6]], o.push(f)) : r[l][0] === "c" ? (f = new e0(h[0], h[1], h[0] + r[l][1], h[1] + r[l][2], h[0] + r[l][3], h[1] + r[l][4], h[0] + r[l][5], h[1] + r[l][6]), e = e + f.getTotalLength(), h = [r[l][5] + h[0], r[l][6] + h[1]], o.push(f)) : r[l][0] === "S" ? (l > 0 && ["C", "c", "S", "s"].indexOf(r[l - 1][0]) > -1 ? f = new e0(h[0], h[1], 2 * h[0] - r[l - 1][r[l - 1].length - 4], 2 * h[1] - r[l - 1][r[l - 1].length - 3], r[l][1], r[l][2], r[l][3], r[l][4]) : f = new e0(h[0], h[1], h[0], h[1], r[l][1], r[l][2], r[l][3], r[l][4]), e = e + f.getTotalLength(), h = [r[l][3], r[l][4]], o.push(f)) : r[l][0] === "s" ? (l > 0 && ["C", "c", "S", "s"].indexOf(r[l - 1][0]) > -1 ? f = new e0(h[0], h[1], h[0] + f.d.x - f.c.x, h[1] + f.d.y - f.c.y, h[0] + r[l][1], h[1] + r[l][2], h[0] + r[l][3], h[1] + r[l][4]) : f = new e0(h[0], h[1], h[0], h[1], h[0] + r[l][1], h[1] + r[l][2], h[0] + r[l][3], h[1] + r[l][4]), e = e + f.getTotalLength(), h = [r[l][3] + h[0], r[l][4] + h[1]], o.push(f)) : r[l][0] === "Q" ? (h[0] != r[l][1] && h[1] != r[l][2] ? f = new e0(h[0], h[1], r[l][1], r[l][2], r[l][3], r[l][4]) : f = new t0(r[l][1], r[l][3], r[l][2], r[l][4]), e = e + f.getTotalLength(), o.push(f), h = [r[l][3], r[l][4]], c = [r[l][1], r[l][2]]) : r[l][0] === "q" ? (r[l][1] == 0 && r[l][2] == 0 ? f = new t0(h[0] + r[l][1], h[0] + r[l][3], h[1] + r[l][2], h[1] + r[l][4]) : f = new e0(h[0], h[1], h[0] + r[l][1], h[1] + r[l][2], h[0] + r[l][3], h[1] + r[l][4]), e = e + f.getTotalLength(), c = [h[0] + r[l][1], h[1] + r[l][2]], h = [r[l][3] + h[0], r[l][4] + h[1]], o.push(f)) : r[l][0] === "T" ? (l > 0 && ["Q", "q", "T", "t"].indexOf(r[l - 1][0]) > -1 ? f = new e0(h[0], h[1], 2 * h[0] - c[0], 2 * h[1] - c[1], r[l][1], r[l][2]) : f = new t0(h[0], r[l][1], h[1], r[l][2]), o.push(f), e = e + f.getTotalLength(), c = [2 * h[0] - c[0], 2 * h[1] - c[1]], h = [r[l][1], r[l][2]]) : r[l][0] === "t" ? (l > 0 && ["Q", "q", "T", "t"].indexOf(r[l - 1][0]) > -1 ? f = new e0(h[0], h[1], 2 * h[0] - c[0], 2 * h[1] - c[1], h[0] + r[l][1], h[1] + r[l][2]) : f = new t0(h[0], h[0] + r[l][1], h[1], h[1] + r[l][2]), e = e + f.getTotalLength(), c = [2 * h[0] - c[0], 2 * h[1] - c[1]], h = [r[l][1] + h[0], r[l][2] + h[0]], o.push(f)) : r[l][0] === "A" ? (f = new Mt(h[0], h[1], r[l][1], r[l][2], r[l][3], r[l][4], r[l][5], r[l][6], r[l][7]), e = e + f.getTotalLength(), h = [r[l][6], r[l][7]], o.push(f)) : r[l][0] === "a" && (f = new Mt(h[0], h[1], r[l][1], r[l][2], r[l][3], r[l][4], r[l][5], h[0] + r[l][6], h[1] + r[l][7]), e = e + f.getTotalLength(), h = [h[0] + r[l][6], h[1] + r[l][7]], o.push(f)), t.push(e);
2945
2958
  return i;
2946
2959
  }
@@ -2970,14 +2983,14 @@ function O0(n, e) {
2970
2983
  function Bt(n, e, t) {
2971
2984
  return [n[0] + (e[0] - n[0]) * t, n[1] + (e[1] - n[1]) * t];
2972
2985
  }
2973
- function Xe(n, e) {
2986
+ function He(n, e) {
2974
2987
  return O0(n, e) < 1e-9;
2975
2988
  }
2976
- function He(n, e, t) {
2989
+ function $e(n, e, t) {
2977
2990
  let o = n.map((i, a) => Ge(i, e[a]));
2978
2991
  return function(i) {
2979
2992
  let a = o.map((s) => s(i));
2980
- return t ? Ze(a) : a;
2993
+ return t ? Ve(a) : a;
2981
2994
  };
2982
2995
  }
2983
2996
  function Ge(n, e) {
@@ -2993,20 +3006,20 @@ Example valid ways of supplying a shape would be:
2993
3006
  [[0, 0], [10, 0], [10, 10]]
2994
3007
  "M0,0 L10,0 L10,10Z"
2995
3008
  `;
2996
- function $e(n) {
2997
- return new Te(n).abs();
2998
- }
2999
3009
  function We(n) {
3000
- return n.toString().split("M").map((e, t) => (e = e.trim(), t && e ? "M" + e : e)).filter((e) => e);
3010
+ return new Pe(n).abs();
3001
3011
  }
3002
3012
  function Ze(n) {
3013
+ return n.toString().split("M").map((e, t) => (e = e.trim(), t && e ? "M" + e : e)).filter((e) => e);
3014
+ }
3015
+ function Ve(n) {
3003
3016
  return "M" + n.join("L") + "Z";
3004
3017
  }
3005
- function Ve(n, e) {
3006
- let t = $e(n);
3007
- return Ke(t) || Qe(t, e);
3018
+ function Ke(n, e) {
3019
+ let t = We(n);
3020
+ return Qe(t) || Je(t, e);
3008
3021
  }
3009
- function Ke(n) {
3022
+ function Qe(n) {
3010
3023
  let e = n.segments || [], t = [];
3011
3024
  if (!e.length || e[0][0] !== "M")
3012
3025
  return !1;
@@ -3025,11 +3038,11 @@ function Ke(n) {
3025
3038
  }
3026
3039
  return t.length ? { ring: t } : !1;
3027
3040
  }
3028
- function Qe(n, e) {
3029
- let t = We(n)[0], o = [], i, a, s = 3;
3041
+ function Je(n, e) {
3042
+ let t = Ze(n)[0], o = [], i, a, s = 3;
3030
3043
  if (!t)
3031
3044
  throw new TypeError(Q0);
3032
- a = Je(t), i = a.getTotalLength(), e && _0(e) && e > 0 && (s = Math.max(s, Math.ceil(i / e)));
3045
+ a = tn(t), i = a.getTotalLength(), e && _0(e) && e > 0 && (s = Math.max(s, Math.ceil(i / e)));
3033
3046
  for (let r = 0; r < s; r++) {
3034
3047
  let h = a.getPointAtLength(i * r / s);
3035
3048
  o.push([h.x, h.y]);
@@ -3039,17 +3052,17 @@ function Qe(n, e) {
3039
3052
  skipBisect: !0
3040
3053
  };
3041
3054
  }
3042
- function Je(n) {
3055
+ function tn(n) {
3043
3056
  if (typeof window < "u" && window && window.document)
3044
3057
  try {
3045
3058
  let e = window.document.createElementNS("http://www.w3.org/2000/svg", "path");
3046
3059
  return e.setAttributeNS(null, "d", n), e;
3047
3060
  } catch {
3048
3061
  }
3049
- return Ye(n);
3062
+ return Xe(n);
3050
3063
  }
3051
3064
  function Lt(n, e) {
3052
- const t = n.length + e, o = xe(n) / e;
3065
+ const t = n.length + e, o = ye(n) / e;
3053
3066
  let i = 0, a = 0, s = o / 2;
3054
3067
  for (; n.length < t; ) {
3055
3068
  let r = n[i], h = n[(i + 1) % n.length], c = O0(r, h);
@@ -3060,7 +3073,7 @@ function Lt(n, e) {
3060
3073
  a += c, i++;
3061
3074
  }
3062
3075
  }
3063
- function tn(n, e = 1 / 0) {
3076
+ function en(n, e = 1 / 0) {
3064
3077
  for (let t = 0; t < n.length; t++) {
3065
3078
  let o = n[t], i = t === n.length - 1 ? n[0] : n[t + 1];
3066
3079
  for (; O0(o, i) > e; )
@@ -3070,20 +3083,20 @@ function tn(n, e = 1 / 0) {
3070
3083
  function Tt(n, e) {
3071
3084
  let t, o, i;
3072
3085
  if (typeof n == "string") {
3073
- let a = Ve(n, e);
3086
+ let a = Ke(n, e);
3074
3087
  n = a.ring, i = a.skipBisect;
3075
3088
  } else if (!Array.isArray(n))
3076
3089
  throw new TypeError(Q0);
3077
- if (t = n.slice(0), !en(t))
3090
+ if (t = n.slice(0), !nn(t))
3078
3091
  throw new TypeError(Q0);
3079
- return t.length > 1 && Xe(t[0], t[t.length - 1]) && t.pop(), o = de(t), o > 0 && t.reverse(), !i && e && _0(e) && e > 0 && tn(t, e), t;
3092
+ return t.length > 1 && He(t[0], t[t.length - 1]) && t.pop(), o = xe(t), o > 0 && t.reverse(), !i && e && _0(e) && e > 0 && en(t, e), t;
3080
3093
  }
3081
- function en(n) {
3094
+ function nn(n) {
3082
3095
  return n.every(function(e) {
3083
3096
  return Array.isArray(e) && e.length >= 2 && _0(e[0]) && _0(e[1]);
3084
3097
  });
3085
3098
  }
3086
- function nn(n, e) {
3099
+ function rn(n, e) {
3087
3100
  let t = n.length, o = 1 / 0, i, a, s;
3088
3101
  for (let r = 0; r < t; r++)
3089
3102
  a = 0, e.forEach(function(h, c) {
@@ -3092,37 +3105,37 @@ function nn(n, e) {
3092
3105
  }), a < o && (o = a, i = r);
3093
3106
  i && (s = n.splice(0, i), n.splice(n.length, 0, ...s));
3094
3107
  }
3095
- function rn(n, e, { maxSegmentLength: t = 10, string: o = !0 } = {}) {
3096
- let i = Tt(n, t), a = Tt(e, t), s = on(i, a, o);
3108
+ function on(n, e, { maxSegmentLength: t = 10, string: o = !0 } = {}) {
3109
+ let i = Tt(n, t), a = Tt(e, t), s = sn(i, a, o);
3097
3110
  return !o || typeof n != "string" && typeof e != "string" ? s : (r) => r < 1e-4 && typeof n == "string" ? n : 1 - r < 1e-4 && typeof e == "string" ? e : s(r);
3098
3111
  }
3099
- function on(n, e, t) {
3112
+ function sn(n, e, t) {
3100
3113
  let o;
3101
- return o = n.length - e.length, Lt(n, o < 0 ? o * -1 : 0), Lt(e, o > 0 ? o : 0), nn(n, e), He(n, e, t);
3114
+ return o = n.length - e.length, Lt(n, o < 0 ? o * -1 : 0), Lt(e, o > 0 ? o : 0), rn(n, e), $e(n, e, t);
3102
3115
  }
3103
3116
  var k0 = { exports: {} }, Pt;
3104
- function sn() {
3117
+ function an() {
3105
3118
  if (Pt) return k0.exports;
3106
3119
  Pt = 1, k0.exports = n, k0.exports.default = n;
3107
3120
  function n(g, d, p) {
3108
3121
  p = p || 2;
3109
- var v = d && d.length, w = v ? d[0] * p : g.length, b = e(g, 0, w, p, !0), A = [];
3110
- if (!b || b.next === b.prev) return A;
3111
- var T, O, k, Y, B, R, $;
3112
- if (v && (b = h(g, d, b, p)), g.length > 80 * p) {
3122
+ var v = d && d.length, w = v ? d[0] * p : g.length, m = e(g, 0, w, p, !0), A = [];
3123
+ if (!m || m.next === m.prev) return A;
3124
+ var T, O, k, Y, B, F, G;
3125
+ if (v && (m = h(g, d, m, p)), g.length > 80 * p) {
3113
3126
  T = k = g[0], O = Y = g[1];
3114
3127
  for (var D = p; D < w; D += p)
3115
- B = g[D], R = g[D + 1], B < T && (T = B), R < O && (O = R), B > k && (k = B), R > Y && (Y = R);
3116
- $ = Math.max(k - T, Y - O), $ = $ !== 0 ? 32767 / $ : 0;
3128
+ B = g[D], F = g[D + 1], B < T && (T = B), F < O && (O = F), B > k && (k = B), F > Y && (Y = F);
3129
+ G = Math.max(k - T, Y - O), G = G !== 0 ? 32767 / G : 0;
3117
3130
  }
3118
- return o(b, A, p, T, O, $, 0), A;
3131
+ return o(m, A, p, T, O, G, 0), A;
3119
3132
  }
3120
3133
  function e(g, d, p, v, w) {
3121
- var b, A;
3122
- if (w === F0(g, d, p, v) > 0)
3123
- for (b = d; b < p; b += v) A = p0(b, g[b], g[b + 1], A);
3134
+ var m, A;
3135
+ if (w === R0(g, d, p, v) > 0)
3136
+ for (m = d; m < p; m += v) A = p0(m, g[m], g[m + 1], A);
3124
3137
  else
3125
- for (b = p - v; b >= d; b -= v) A = p0(b, g[b], g[b + 1], A);
3138
+ for (m = p - v; m >= d; m -= v) A = p0(m, g[m], g[m + 1], A);
3126
3139
  return A && S(A, A.next) && (c0(A), A = A.next), A;
3127
3140
  }
3128
3141
  function t(g, d) {
@@ -3138,16 +3151,16 @@ function sn() {
3138
3151
  while (v || p !== d);
3139
3152
  return d;
3140
3153
  }
3141
- function o(g, d, p, v, w, b, A) {
3154
+ function o(g, d, p, v, w, m, A) {
3142
3155
  if (g) {
3143
- !A && b && u(g, v, w, b);
3156
+ !A && m && u(g, v, w, m);
3144
3157
  for (var T = g, O, k; g.prev !== g.next; ) {
3145
- if (O = g.prev, k = g.next, b ? a(g, v, w, b) : i(g)) {
3158
+ if (O = g.prev, k = g.next, m ? a(g, v, w, m) : i(g)) {
3146
3159
  d.push(O.i / p | 0), d.push(g.i / p | 0), d.push(k.i / p | 0), c0(g), g = k.next, T = k.next;
3147
3160
  continue;
3148
3161
  }
3149
3162
  if (g = k, g === T) {
3150
- A ? A === 1 ? (g = s(t(g), d, p), o(g, d, p, v, w, b, 2)) : A === 2 && r(g, d, p, v, w, b) : o(t(g), d, p, v, w, b, 1);
3163
+ A ? A === 1 ? (g = s(t(g), d, p), o(g, d, p, v, w, m, 2)) : A === 2 && r(g, d, p, v, w, m) : o(t(g), d, p, v, w, m, 1);
3151
3164
  break;
3152
3165
  }
3153
3166
  }
@@ -3156,25 +3169,25 @@ function sn() {
3156
3169
  function i(g) {
3157
3170
  var d = g.prev, p = g, v = g.next;
3158
3171
  if (L(d, p, v) >= 0) return !1;
3159
- for (var w = d.x, b = p.x, A = v.x, T = d.y, O = p.y, k = v.y, Y = w < b ? w < A ? w : A : b < A ? b : A, B = T < O ? T < k ? T : k : O < k ? O : k, R = w > b ? w > A ? w : A : b > A ? b : A, $ = T > O ? T > k ? T : k : O > k ? O : k, D = v.next; D !== d; ) {
3160
- if (D.x >= Y && D.x <= R && D.y >= B && D.y <= $ && C(w, T, b, O, A, k, D.x, D.y) && L(D.prev, D, D.next) >= 0) return !1;
3172
+ for (var w = d.x, m = p.x, A = v.x, T = d.y, O = p.y, k = v.y, Y = w < m ? w < A ? w : A : m < A ? m : A, B = T < O ? T < k ? T : k : O < k ? O : k, F = w > m ? w > A ? w : A : m > A ? m : A, G = T > O ? T > k ? T : k : O > k ? O : k, D = v.next; D !== d; ) {
3173
+ if (D.x >= Y && D.x <= F && D.y >= B && D.y <= G && P(w, T, m, O, A, k, D.x, D.y) && L(D.prev, D, D.next) >= 0) return !1;
3161
3174
  D = D.next;
3162
3175
  }
3163
3176
  return !0;
3164
3177
  }
3165
3178
  function a(g, d, p, v) {
3166
- var w = g.prev, b = g, A = g.next;
3167
- if (L(w, b, A) >= 0) return !1;
3168
- for (var T = w.x, O = b.x, k = A.x, Y = w.y, B = b.y, R = A.y, $ = T < O ? T < k ? T : k : O < k ? O : k, D = Y < B ? Y < R ? Y : R : B < R ? B : R, L0 = T > O ? T > k ? T : k : O > k ? O : k, T0 = Y > B ? Y > R ? Y : R : B > R ? B : R, it = y($, D, d, p, v), ot = y(L0, T0, d, p, v), N = g.prevZ, q = g.nextZ; N && N.z >= it && q && q.z <= ot; ) {
3169
- if (N.x >= $ && N.x <= L0 && N.y >= D && N.y <= T0 && N !== w && N !== A && C(T, Y, O, B, k, R, N.x, N.y) && L(N.prev, N, N.next) >= 0 || (N = N.prevZ, q.x >= $ && q.x <= L0 && q.y >= D && q.y <= T0 && q !== w && q !== A && C(T, Y, O, B, k, R, q.x, q.y) && L(q.prev, q, q.next) >= 0)) return !1;
3179
+ var w = g.prev, m = g, A = g.next;
3180
+ if (L(w, m, A) >= 0) return !1;
3181
+ for (var T = w.x, O = m.x, k = A.x, Y = w.y, B = m.y, F = A.y, G = T < O ? T < k ? T : k : O < k ? O : k, D = Y < B ? Y < F ? Y : F : B < F ? B : F, L0 = T > O ? T > k ? T : k : O > k ? O : k, T0 = Y > B ? Y > F ? Y : F : B > F ? B : F, it = y(G, D, d, p, v), ot = y(L0, T0, d, p, v), N = g.prevZ, q = g.nextZ; N && N.z >= it && q && q.z <= ot; ) {
3182
+ if (N.x >= G && N.x <= L0 && N.y >= D && N.y <= T0 && N !== w && N !== A && P(T, Y, O, B, k, F, N.x, N.y) && L(N.prev, N, N.next) >= 0 || (N = N.prevZ, q.x >= G && q.x <= L0 && q.y >= D && q.y <= T0 && q !== w && q !== A && P(T, Y, O, B, k, F, q.x, q.y) && L(q.prev, q, q.next) >= 0)) return !1;
3170
3183
  q = q.nextZ;
3171
3184
  }
3172
3185
  for (; N && N.z >= it; ) {
3173
- if (N.x >= $ && N.x <= L0 && N.y >= D && N.y <= T0 && N !== w && N !== A && C(T, Y, O, B, k, R, N.x, N.y) && L(N.prev, N, N.next) >= 0) return !1;
3186
+ if (N.x >= G && N.x <= L0 && N.y >= D && N.y <= T0 && N !== w && N !== A && P(T, Y, O, B, k, F, N.x, N.y) && L(N.prev, N, N.next) >= 0) return !1;
3174
3187
  N = N.prevZ;
3175
3188
  }
3176
3189
  for (; q && q.z <= ot; ) {
3177
- if (q.x >= $ && q.x <= L0 && q.y >= D && q.y <= T0 && q !== w && q !== A && C(T, Y, O, B, k, R, q.x, q.y) && L(q.prev, q, q.next) >= 0) return !1;
3190
+ if (q.x >= G && q.x <= L0 && q.y >= D && q.y <= T0 && q !== w && q !== A && P(T, Y, O, B, k, F, q.x, q.y) && L(q.prev, q, q.next) >= 0) return !1;
3178
3191
  q = q.nextZ;
3179
3192
  }
3180
3193
  return !0;
@@ -3182,18 +3195,18 @@ function sn() {
3182
3195
  function s(g, d, p) {
3183
3196
  var v = g;
3184
3197
  do {
3185
- var w = v.prev, b = v.next.next;
3186
- !S(w, b) && P(w, v, v.next, b) && U(w, b) && U(b, w) && (d.push(w.i / p | 0), d.push(v.i / p | 0), d.push(b.i / p | 0), c0(v), c0(v.next), v = g = b), v = v.next;
3198
+ var w = v.prev, m = v.next.next;
3199
+ !S(w, m) && C(w, v, v.next, m) && U(w, m) && U(m, w) && (d.push(w.i / p | 0), d.push(v.i / p | 0), d.push(m.i / p | 0), c0(v), c0(v.next), v = g = m), v = v.next;
3187
3200
  } while (v !== g);
3188
3201
  return t(v);
3189
3202
  }
3190
- function r(g, d, p, v, w, b) {
3203
+ function r(g, d, p, v, w, m) {
3191
3204
  var A = g;
3192
3205
  do {
3193
3206
  for (var T = A.next.next; T !== A.prev; ) {
3194
3207
  if (A.i !== T.i && E(A, T)) {
3195
3208
  var O = a0(A, T);
3196
- A = t(A, A.next), O = t(O, O.next), o(A, d, p, v, w, b, 0), o(O, d, p, v, w, b, 0);
3209
+ A = t(A, A.next), O = t(O, O.next), o(A, d, p, v, w, m, 0), o(O, d, p, v, w, m, 0);
3197
3210
  return;
3198
3211
  }
3199
3212
  T = T.next;
@@ -3202,11 +3215,11 @@ function sn() {
3202
3215
  } while (A !== g);
3203
3216
  }
3204
3217
  function h(g, d, p, v) {
3205
- var w = [], b, A, T, O, k;
3206
- for (b = 0, A = d.length; b < A; b++)
3207
- T = d[b] * v, O = b < A - 1 ? d[b + 1] * v : g.length, k = e(g, T, O, v, !1), k === k.next && (k.steiner = !0), w.push(M(k));
3208
- for (w.sort(c), b = 0; b < w.length; b++)
3209
- p = f(w[b], p);
3218
+ var w = [], m, A, T, O, k;
3219
+ for (m = 0, A = d.length; m < A; m++)
3220
+ T = d[m] * v, O = m < A - 1 ? d[m + 1] * v : g.length, k = e(g, T, O, v, !1), k === k.next && (k.steiner = !0), w.push(M(k));
3221
+ for (w.sort(c), m = 0; m < w.length; m++)
3222
+ p = f(w[m], p);
3210
3223
  return p;
3211
3224
  }
3212
3225
  function c(g, d) {
@@ -3220,20 +3233,20 @@ function sn() {
3220
3233
  return t(v, v.next), t(p, p.next);
3221
3234
  }
3222
3235
  function x(g, d) {
3223
- var p = d, v = g.x, w = g.y, b = -1 / 0, A;
3236
+ var p = d, v = g.x, w = g.y, m = -1 / 0, A;
3224
3237
  do {
3225
3238
  if (w <= p.y && w >= p.next.y && p.next.y !== p.y) {
3226
3239
  var T = p.x + (w - p.y) * (p.next.x - p.x) / (p.next.y - p.y);
3227
- if (T <= v && T > b && (b = T, A = p.x < p.next.x ? p : p.next, T === v))
3240
+ if (T <= v && T > m && (m = T, A = p.x < p.next.x ? p : p.next, T === v))
3228
3241
  return A;
3229
3242
  }
3230
3243
  p = p.next;
3231
3244
  } while (p !== d);
3232
3245
  if (!A) return null;
3233
- var O = A, k = A.x, Y = A.y, B = 1 / 0, R;
3246
+ var O = A, k = A.x, Y = A.y, B = 1 / 0, F;
3234
3247
  p = A;
3235
3248
  do
3236
- v >= p.x && p.x >= k && v !== p.x && C(w < Y ? v : b, w, k, Y, w < Y ? b : v, w, p.x, p.y) && (R = Math.abs(w - p.y) / (v - p.x), U(p, g) && (R < B || R === B && (p.x > A.x || p.x === A.x && l(A, p))) && (A = p, B = R)), p = p.next;
3249
+ v >= p.x && p.x >= k && v !== p.x && P(w < Y ? v : m, w, k, Y, w < Y ? m : v, w, p.x, p.y) && (F = Math.abs(w - p.y) / (v - p.x), U(p, g) && (F < B || F === B && (p.x > A.x || p.x === A.x && l(A, p))) && (A = p, B = F)), p = p.next;
3237
3250
  while (p !== O);
3238
3251
  return A;
3239
3252
  }
@@ -3245,19 +3258,19 @@ function sn() {
3245
3258
  do
3246
3259
  w.z === 0 && (w.z = y(w.x, w.y, d, p, v)), w.prevZ = w.prev, w.nextZ = w.next, w = w.next;
3247
3260
  while (w !== g);
3248
- w.prevZ.nextZ = null, w.prevZ = null, m(w);
3261
+ w.prevZ.nextZ = null, w.prevZ = null, b(w);
3249
3262
  }
3250
- function m(g) {
3251
- var d, p, v, w, b, A, T, O, k = 1;
3263
+ function b(g) {
3264
+ var d, p, v, w, m, A, T, O, k = 1;
3252
3265
  do {
3253
- for (p = g, g = null, b = null, A = 0; p; ) {
3266
+ for (p = g, g = null, m = null, A = 0; p; ) {
3254
3267
  for (A++, v = p, T = 0, d = 0; d < k && (T++, v = v.nextZ, !!v); d++)
3255
3268
  ;
3256
3269
  for (O = k; T > 0 || O > 0 && v; )
3257
- T !== 0 && (O === 0 || !v || p.z <= v.z) ? (w = p, p = p.nextZ, T--) : (w = v, v = v.nextZ, O--), b ? b.nextZ = w : g = w, w.prevZ = b, b = w;
3270
+ T !== 0 && (O === 0 || !v || p.z <= v.z) ? (w = p, p = p.nextZ, T--) : (w = v, v = v.nextZ, O--), m ? m.nextZ = w : g = w, w.prevZ = m, m = w;
3258
3271
  p = v;
3259
3272
  }
3260
- b.nextZ = null, k *= 2;
3273
+ m.nextZ = null, k *= 2;
3261
3274
  } while (A > 1);
3262
3275
  return g;
3263
3276
  }
@@ -3271,8 +3284,8 @@ function sn() {
3271
3284
  while (d !== g);
3272
3285
  return p;
3273
3286
  }
3274
- function C(g, d, p, v, w, b, A, T) {
3275
- return (w - A) * (d - T) >= (g - A) * (b - T) && (g - A) * (v - T) >= (p - A) * (d - T) && (p - A) * (b - T) >= (w - A) * (v - T);
3287
+ function P(g, d, p, v, w, m, A, T) {
3288
+ return (w - A) * (d - T) >= (g - A) * (m - T) && (g - A) * (v - T) >= (p - A) * (d - T) && (p - A) * (m - T) >= (w - A) * (v - T);
3276
3289
  }
3277
3290
  function E(g, d) {
3278
3291
  return g.next.i !== d.i && g.prev.i !== d.i && !W(g, d) && // dones't intersect other edges
@@ -3286,11 +3299,11 @@ function sn() {
3286
3299
  function S(g, d) {
3287
3300
  return g.x === d.x && g.y === d.y;
3288
3301
  }
3289
- function P(g, d, p, v) {
3290
- var w = z(L(g, d, p)), b = z(L(g, d, v)), A = z(L(p, v, g)), T = z(L(p, v, d));
3291
- return !!(w !== b && A !== T || w === 0 && F(g, p, d) || b === 0 && F(g, v, d) || A === 0 && F(p, g, v) || T === 0 && F(p, d, v));
3302
+ function C(g, d, p, v) {
3303
+ var w = z(L(g, d, p)), m = z(L(g, d, v)), A = z(L(p, v, g)), T = z(L(p, v, d));
3304
+ return !!(w !== m && A !== T || w === 0 && R(g, p, d) || m === 0 && R(g, v, d) || A === 0 && R(p, g, v) || T === 0 && R(p, d, v));
3292
3305
  }
3293
- function F(g, d, p) {
3306
+ function R(g, d, p) {
3294
3307
  return d.x <= Math.max(g.x, p.x) && d.x >= Math.min(g.x, p.x) && d.y <= Math.max(g.y, p.y) && d.y >= Math.min(g.y, p.y);
3295
3308
  }
3296
3309
  function z(g) {
@@ -3299,7 +3312,7 @@ function sn() {
3299
3312
  function W(g, d) {
3300
3313
  var p = g;
3301
3314
  do {
3302
- if (p.i !== g.i && p.next.i !== g.i && p.i !== d.i && p.next.i !== d.i && P(p, p.next, g, d)) return !0;
3315
+ if (p.i !== g.i && p.next.i !== g.i && p.i !== d.i && p.next.i !== d.i && C(p, p.next, g, d)) return !0;
3303
3316
  p = p.next;
3304
3317
  } while (p !== g);
3305
3318
  return !1;
@@ -3308,15 +3321,15 @@ function sn() {
3308
3321
  return L(g.prev, g, g.next) < 0 ? L(g, d, g.next) >= 0 && L(g, g.prev, d) >= 0 : L(g, d, g.prev) < 0 || L(g, g.next, d) < 0;
3309
3322
  }
3310
3323
  function X(g, d) {
3311
- var p = g, v = !1, w = (g.x + d.x) / 2, b = (g.y + d.y) / 2;
3324
+ var p = g, v = !1, w = (g.x + d.x) / 2, m = (g.y + d.y) / 2;
3312
3325
  do
3313
- p.y > b != p.next.y > b && p.next.y !== p.y && w < (p.next.x - p.x) * (b - p.y) / (p.next.y - p.y) + p.x && (v = !v), p = p.next;
3326
+ p.y > m != p.next.y > m && p.next.y !== p.y && w < (p.next.x - p.x) * (m - p.y) / (p.next.y - p.y) + p.x && (v = !v), p = p.next;
3314
3327
  while (p !== g);
3315
3328
  return v;
3316
3329
  }
3317
3330
  function a0(g, d) {
3318
- var p = new J(g.i, g.x, g.y), v = new J(d.i, d.x, d.y), w = g.next, b = d.prev;
3319
- return g.next = d, d.prev = g, p.next = w, w.prev = p, v.next = p, p.prev = v, b.next = v, v.prev = b, v;
3331
+ var p = new J(g.i, g.x, g.y), v = new J(d.i, d.x, d.y), w = g.next, m = d.prev;
3332
+ return g.next = d, d.prev = g, p.next = w, w.prev = p, v.next = p, p.prev = v, m.next = v, v.prev = m, v;
3320
3333
  }
3321
3334
  function p0(g, d, p, v) {
3322
3335
  var w = new J(g, d, p);
@@ -3329,41 +3342,41 @@ function sn() {
3329
3342
  this.i = g, this.x = d, this.y = p, this.prev = null, this.next = null, this.z = 0, this.prevZ = null, this.nextZ = null, this.steiner = !1;
3330
3343
  }
3331
3344
  n.deviation = function(g, d, p, v) {
3332
- var w = d && d.length, b = w ? d[0] * p : g.length, A = Math.abs(F0(g, 0, b, p));
3345
+ var w = d && d.length, m = w ? d[0] * p : g.length, A = Math.abs(R0(g, 0, m, p));
3333
3346
  if (w)
3334
3347
  for (var T = 0, O = d.length; T < O; T++) {
3335
3348
  var k = d[T] * p, Y = T < O - 1 ? d[T + 1] * p : g.length;
3336
- A -= Math.abs(F0(g, k, Y, p));
3349
+ A -= Math.abs(R0(g, k, Y, p));
3337
3350
  }
3338
3351
  var B = 0;
3339
3352
  for (T = 0; T < v.length; T += 3) {
3340
- var R = v[T] * p, $ = v[T + 1] * p, D = v[T + 2] * p;
3353
+ var F = v[T] * p, G = v[T + 1] * p, D = v[T + 2] * p;
3341
3354
  B += Math.abs(
3342
- (g[R] - g[D]) * (g[$ + 1] - g[R + 1]) - (g[R] - g[$]) * (g[D + 1] - g[R + 1])
3355
+ (g[F] - g[D]) * (g[G + 1] - g[F + 1]) - (g[F] - g[G]) * (g[D + 1] - g[F + 1])
3343
3356
  );
3344
3357
  }
3345
3358
  return A === 0 && B === 0 ? 0 : Math.abs((B - A) / A);
3346
3359
  };
3347
- function F0(g, d, p, v) {
3348
- for (var w = 0, b = d, A = p - v; b < p; b += v)
3349
- w += (g[A] - g[b]) * (g[b + 1] + g[A + 1]), A = b;
3360
+ function R0(g, d, p, v) {
3361
+ for (var w = 0, m = d, A = p - v; m < p; m += v)
3362
+ w += (g[A] - g[m]) * (g[m + 1] + g[A + 1]), A = m;
3350
3363
  return w;
3351
3364
  }
3352
3365
  return n.flatten = function(g) {
3353
3366
  for (var d = g[0][0].length, p = { vertices: [], holes: [], dimensions: d }, v = 0, w = 0; w < g.length; w++) {
3354
- for (var b = 0; b < g[w].length; b++)
3355
- for (var A = 0; A < d; A++) p.vertices.push(g[w][b][A]);
3367
+ for (var m = 0; m < g[w].length; m++)
3368
+ for (var A = 0; A < d; A++) p.vertices.push(g[w][m][A]);
3356
3369
  w > 0 && (v += g[w - 1].length, p.holes.push(v));
3357
3370
  }
3358
3371
  return p;
3359
3372
  }, k0.exports;
3360
3373
  }
3361
- sn();
3374
+ an();
3362
3375
  function Dt(n, e) {
3363
3376
  return n < e ? -1 : n > e ? 1 : n >= e ? 0 : NaN;
3364
3377
  }
3365
- function an(n) {
3366
- return n.length === 1 && (n = hn(n)), {
3378
+ function hn(n) {
3379
+ return n.length === 1 && (n = ln(n)), {
3367
3380
  left: function(e, t, o, i) {
3368
3381
  for (o == null && (o = 0), i == null && (i = e.length); o < i; ) {
3369
3382
  var a = o + i >>> 1;
@@ -3380,20 +3393,20 @@ function an(n) {
3380
3393
  }
3381
3394
  };
3382
3395
  }
3383
- function hn(n) {
3396
+ function ln(n) {
3384
3397
  return function(e, t) {
3385
3398
  return Dt(n(e), t);
3386
3399
  };
3387
3400
  }
3388
- an(Dt);
3389
- function kn(n, e, t = 3) {
3390
- const o = rn(n, e, { maxSegmentLength: t });
3401
+ hn(Dt);
3402
+ function _n(n, e, t = 3) {
3403
+ const o = on(n, e, { maxSegmentLength: t });
3391
3404
  return {
3392
3405
  check: (i) => typeof i == "string",
3393
3406
  interpolate: (i, a, s) => o(s)
3394
3407
  };
3395
3408
  }
3396
- function _n(n) {
3409
+ function On(n) {
3397
3410
  const e = (o) => n.width * o, t = (o) => n.height * o;
3398
3411
  return {
3399
3412
  scaleX: e,
@@ -3404,7 +3417,7 @@ function _n(n) {
3404
3417
  })
3405
3418
  };
3406
3419
  }
3407
- function On(n) {
3420
+ function Rn(n) {
3408
3421
  const e = [];
3409
3422
  if (n.isAllKey) {
3410
3423
  for (let t = 0; t <= n.animations.length; t++)
@@ -3419,44 +3432,44 @@ export {
3419
3432
  x0 as Alignment,
3420
3433
  n0 as Anchor,
3421
3434
  et as Animate,
3422
- xn as Arrow,
3423
- Pn as BrowserCanvasRenderer,
3424
- yn as Circle,
3425
- G as Color,
3435
+ yn as Arrow,
3436
+ Cn as BrowserCanvasRenderer,
3437
+ vn as Circle,
3438
+ $ as Color,
3426
3439
  tt as Easing,
3427
- cn as FadeIn,
3428
- un as FadeOut,
3440
+ un as FadeIn,
3441
+ fn as FadeOut,
3429
3442
  p1 as FontStyle,
3430
3443
  x1 as FontWeight,
3431
- vn as Grid,
3444
+ wn as Grid,
3432
3445
  st as Group,
3433
- fn as Hide,
3434
- pn as IFrame,
3435
- wn as Image,
3436
- mn as Line,
3437
- bn as Mask,
3446
+ gn as Hide,
3447
+ dn as IFrame,
3448
+ mn as Image,
3449
+ bn as Line,
3450
+ An as Mask,
3438
3451
  j as ObjectType,
3439
- In as Opaque,
3440
- An as Path,
3441
- Cn as Pause,
3442
- Mn as Polygon,
3452
+ kn as Opaque,
3453
+ Mn as Path,
3454
+ En as Pause,
3455
+ Ln as Polygon,
3443
3456
  H as Position,
3444
3457
  T1 as Presentation,
3445
- Ln as Rectangle,
3446
- Tn as SVG,
3447
- dn as ScreenCapture,
3448
- gn as Show,
3458
+ Tn as Rectangle,
3459
+ Pn as SVG,
3460
+ xn as ScreenCapture,
3461
+ pn as Show,
3449
3462
  i0 as Size,
3450
- En as Slide,
3463
+ Sn as Slide,
3451
3464
  s0 as SlideObject,
3452
3465
  Et as SlideWebExtra,
3453
3466
  m1 as Text,
3454
- Sn as TextUnit,
3467
+ In as TextUnit,
3455
3468
  g1 as Transparent,
3456
3469
  Ct as Update,
3457
- On as getKeySlideBuildIndices,
3458
- _n as getSizingFunctions,
3459
- kn as getSmoothPathInterpolator,
3470
+ Rn as getKeySlideBuildIndices,
3471
+ On as getSizingFunctions,
3472
+ _n as getSmoothPathInterpolator,
3460
3473
  w1 as getTextContentLength,
3461
3474
  S1 as interpolateColor,
3462
3475
  k1 as interpolateNumber