gralobe 1.0.32 → 1.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/gralobe.js CHANGED
@@ -1,11 +1,11 @@
1
1
  import * as A from "three";
2
- import { Controls as Ur, Vector3 as oe, MOUSE as nt, TOUCH as Je, Quaternion as Zi, Spherical as Ki, Vector2 as fe, Ray as Fr, Plane as zr, MathUtils as Nr, Matrix4 as Sn, Object3D as Br } from "three";
2
+ import { Controls as Fr, Vector3 as oe, MOUSE as nt, TOUCH as Je, Quaternion as Zi, Spherical as Ki, Vector2 as fe, Ray as zr, Plane as Nr, MathUtils as Br, Matrix4 as Mn, Object3D as $r } from "three";
3
3
  function Ce(a) {
4
4
  if (a === void 0)
5
5
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
6
6
  return a;
7
7
  }
8
- function Mn(a, e) {
8
+ function Dn(a, e) {
9
9
  a.prototype = Object.create(e.prototype), a.prototype.constructor = a, a.__proto__ = e;
10
10
  }
11
11
  var ue = {
@@ -19,7 +19,7 @@ var ue = {
19
19
  duration: 0.5,
20
20
  overwrite: !1,
21
21
  delay: 0
22
- }, Ci, W, z, ge = 1e8, k = 1 / ge, li = Math.PI * 2, $r = li / 4, Gr = 0, Dn = Math.sqrt, Vr = Math.cos, jr = Math.sin, K = function(e) {
22
+ }, Ci, W, z, ge = 1e8, k = 1 / ge, li = Math.PI * 2, Gr = li / 4, Vr = 0, Rn = Math.sqrt, jr = Math.cos, Hr = Math.sin, K = function(e) {
23
23
  return typeof e == "string";
24
24
  }, G = function(e) {
25
25
  return typeof e == "function";
@@ -35,27 +35,27 @@ var ue = {
35
35
  return typeof window < "u";
36
36
  }, Rt = function(e) {
37
37
  return G(e) || K(e);
38
- }, Rn = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
39
- }, q = Array.isArray, hi = /(?:-?\.?\d|\.)+/gi, On = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, et = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Xt = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, In = /[+-]=-?[.\d]+/, Ln = /[^,'"\[\]\s]+/gi, Hr = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, N, xe, ci, Si, de = {}, Bt = {}, kn, Un = function(e) {
38
+ }, On = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
39
+ }, q = Array.isArray, hi = /(?:-?\.?\d|\.)+/gi, In = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, et = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Xt = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, Ln = /[+-]=-?[.\d]+/, kn = /[^,'"\[\]\s]+/gi, Yr = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, N, xe, ci, Si, de = {}, Bt = {}, Un, Fn = function(e) {
40
40
  return (Bt = lt(e, de)) && ae;
41
41
  }, Mi = function(e, t) {
42
42
  return console.warn("Invalid property", e, "set to", t, "Missing plugin? gsap.registerPlugin()");
43
43
  }, Et = function(e, t) {
44
44
  return !t && console.warn(e);
45
- }, Fn = function(e, t) {
45
+ }, zn = function(e, t) {
46
46
  return e && (de[e] = t) && Bt && (Bt[e] = t) || de;
47
47
  }, wt = function() {
48
48
  return 0;
49
- }, Yr = {
49
+ }, Zr = {
50
50
  suppressEvents: !0,
51
51
  isStart: !0,
52
52
  kill: !1
53
53
  }, Ut = {
54
54
  suppressEvents: !0,
55
55
  kill: !1
56
- }, Zr = {
56
+ }, Kr = {
57
57
  suppressEvents: !0
58
- }, Di = {}, Ie = [], ui = {}, zn, le = {}, qt = {}, Wi = 30, Ft = [], Ri = "", Oi = function(e) {
58
+ }, Di = {}, Ie = [], ui = {}, Nn, le = {}, qt = {}, Wi = 30, Ft = [], Ri = "", Oi = function(e) {
59
59
  var t = e[0], i, n;
60
60
  if (we(t) || G(t) || (e = [e]), !(i = (t._gsap || {}).harness)) {
61
61
  for (n = Ft.length; n-- && !Ft[n].targetTest(t); )
@@ -63,11 +63,11 @@ var ue = {
63
63
  i = Ft[n];
64
64
  }
65
65
  for (n = e.length; n--; )
66
- e[n] && (e[n]._gsap || (e[n]._gsap = new lr(e[n], i))) || e.splice(n, 1);
66
+ e[n] && (e[n]._gsap || (e[n]._gsap = new hr(e[n], i))) || e.splice(n, 1);
67
67
  return e;
68
68
  }, He = function(e) {
69
69
  return e._gsap || Oi(_e(e))[0]._gsap;
70
- }, Nn = function(e, t, i) {
70
+ }, Bn = function(e, t, i) {
71
71
  return (i = e[t]) && G(i) ? e[t]() : Ai(i) && e.getAttribute && e.getAttribute(t) || i;
72
72
  }, ne = function(e, t) {
73
73
  return (e = e.split(",")).forEach(t) || e;
@@ -78,7 +78,7 @@ var ue = {
78
78
  }, rt = function(e, t) {
79
79
  var i = t.charAt(0), n = parseFloat(t.substr(2));
80
80
  return e = parseFloat(e), i === "+" ? e + n : i === "-" ? e - n : i === "*" ? e * n : e / n;
81
- }, Kr = function(e, t) {
81
+ }, Wr = function(e, t) {
82
82
  for (var i = t.length, n = 0; e.indexOf(t[n]) < 0 && ++n < i; )
83
83
  ;
84
84
  return n < i;
@@ -88,18 +88,18 @@ var ue = {
88
88
  n = t[i], n && n._lazy && (n.render(n._lazy[0], n._lazy[1], !0)._lazy = 0);
89
89
  }, Ii = function(e) {
90
90
  return !!(e._initted || e._startAt || e.add);
91
- }, Bn = function(e, t, i, n) {
91
+ }, $n = function(e, t, i, n) {
92
92
  Ie.length && !W && $t(), e.render(t, i, !!(W && t < 0 && Ii(e))), Ie.length && !W && $t();
93
- }, $n = function(e) {
94
- var t = parseFloat(e);
95
- return (t || t === 0) && (e + "").match(Ln).length < 2 ? t : K(e) ? e.trim() : e;
96
93
  }, Gn = function(e) {
94
+ var t = parseFloat(e);
95
+ return (t || t === 0) && (e + "").match(kn).length < 2 ? t : K(e) ? e.trim() : e;
96
+ }, Vn = function(e) {
97
97
  return e;
98
98
  }, pe = function(e, t) {
99
99
  for (var i in t)
100
100
  i in e || (e[i] = t[i]);
101
101
  return e;
102
- }, Wr = function(e) {
102
+ }, Xr = function(e) {
103
103
  return function(t, i) {
104
104
  for (var n in i)
105
105
  n in t || n === "duration" && e || n === "ease" || (t[n] = i[n]);
@@ -118,16 +118,16 @@ var ue = {
118
118
  n in t || (i[n] = e[n]);
119
119
  return i;
120
120
  }, xt = function(e) {
121
- var t = e.parent || N, i = e.keyframes ? Wr(q(e.keyframes)) : pe;
121
+ var t = e.parent || N, i = e.keyframes ? Xr(q(e.keyframes)) : pe;
122
122
  if (ie(e.inherit))
123
123
  for (; t; )
124
124
  i(e, t.vars.defaults), t = t.parent || t._dp;
125
125
  return e;
126
- }, Xr = function(e, t) {
126
+ }, qr = function(e, t) {
127
127
  for (var i = e.length, n = i === t.length; n && i-- && e[i] === t[i]; )
128
128
  ;
129
129
  return i < 0;
130
- }, Vn = function(e, t, i, n, r) {
130
+ }, jn = function(e, t, i, n, r) {
131
131
  var s = e[n], o;
132
132
  if (r)
133
133
  for (o = t[r]; s && s[r] > o; )
@@ -144,13 +144,13 @@ var ue = {
144
144
  for (var i = e; i; )
145
145
  i._dirty = 1, i = i.parent;
146
146
  return e;
147
- }, qr = function(e) {
147
+ }, Qr = function(e) {
148
148
  for (var t = e.parent; t && t.parent; )
149
149
  t._dirty = 1, t.totalDuration(), t = t.parent;
150
150
  return e;
151
151
  }, di = function(e, t, i, n) {
152
152
  return e._startAt && (W ? e._startAt.revert(Ut) : e.vars.immediateRender && !e.vars.autoRevert || e._startAt.render(t, !0, n));
153
- }, Qr = function a(e) {
153
+ }, Jr = function a(e) {
154
154
  return !e || e._ts && a(e.parent);
155
155
  }, qi = function(e) {
156
156
  return e._repeat ? ht(e._tTime, e = e.duration() + e._rDelay) * e : 0;
@@ -164,7 +164,7 @@ var ue = {
164
164
  }, Wt = function(e, t) {
165
165
  var i = e._dp;
166
166
  return i && i.smoothChildTiming && e._ts && (e._start = H(i._time - (e._ts > 0 ? t / e._ts : ((e._dirty ? e.totalDuration() : e._tDur) - t) / -e._ts)), Kt(e), i._dirty || Ye(i, e)), e;
167
- }, jn = function(e, t) {
167
+ }, Hn = function(e, t) {
168
168
  var i;
169
169
  if ((t._time || !t._dur && t._initted || t._start < e._time && (t._dur || !t.add)) && (i = Vt(e.rawTime(), t), (!t._dur || Dt(0, t.totalDuration(), i) - t._tTime > k) && t.render(i, !0)), Ye(e, t)._dp && e._initted && e._time >= e._dur && e._ts) {
170
170
  if (e._dur < e.duration())
@@ -173,30 +173,30 @@ var ue = {
173
173
  e._zTime = -k;
174
174
  }
175
175
  }, be = function(e, t, i, n) {
176
- return t.parent && ke(t), t._start = H((Te(i) ? i : i || e !== N ? me(e, i, t) : e._time) + t._delay), t._end = H(t._start + (t.totalDuration() / Math.abs(t.timeScale()) || 0)), Vn(e, t, "_first", "_last", e._sort ? "_start" : 0), pi(t) || (e._recent = t), n || jn(e, t), e._ts < 0 && Wt(e, e._tTime), e;
177
- }, Hn = function(e, t) {
176
+ return t.parent && ke(t), t._start = H((Te(i) ? i : i || e !== N ? me(e, i, t) : e._time) + t._delay), t._end = H(t._start + (t.totalDuration() / Math.abs(t.timeScale()) || 0)), jn(e, t, "_first", "_last", e._sort ? "_start" : 0), pi(t) || (e._recent = t), n || Hn(e, t), e._ts < 0 && Wt(e, e._tTime), e;
177
+ }, Yn = function(e, t) {
178
178
  return (de.ScrollTrigger || Mi("scrollTrigger", t)) && de.ScrollTrigger.create(t, e);
179
- }, Yn = function(e, t, i, n, r) {
179
+ }, Zn = function(e, t, i, n, r) {
180
180
  if (ki(e, t, r), !e._initted)
181
181
  return 1;
182
- if (!i && e._pt && !W && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && zn !== he.frame)
182
+ if (!i && e._pt && !W && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && Nn !== he.frame)
183
183
  return Ie.push(e), e._lazy = [r, n], 1;
184
- }, Jr = function a(e) {
184
+ }, es = function a(e) {
185
185
  var t = e.parent;
186
186
  return t && t._ts && t._initted && !t._lock && (t.rawTime() < 0 || a(t));
187
187
  }, pi = function(e) {
188
188
  var t = e.data;
189
189
  return t === "isFromStart" || t === "isStart";
190
- }, es = function(e, t, i, n) {
191
- var r = e.ratio, s = t < 0 || !t && (!e._start && Jr(e) && !(!e._initted && pi(e)) || (e._ts < 0 || e._dp._ts < 0) && !pi(e)) ? 0 : 1, o = e._rDelay, l = 0, h, c, u;
190
+ }, ts = function(e, t, i, n) {
191
+ var r = e.ratio, s = t < 0 || !t && (!e._start && es(e) && !(!e._initted && pi(e)) || (e._ts < 0 || e._dp._ts < 0) && !pi(e)) ? 0 : 1, o = e._rDelay, l = 0, h, c, u;
192
192
  if (o && e._repeat && (l = Dt(0, e._tDur, t), c = ht(l, o), e._yoyo && c & 1 && (s = 1 - s), c !== ht(e._tTime, o) && (r = 1 - s, e.vars.repeatRefresh && e._initted && e.invalidate())), s !== r || W || n || e._zTime === k || !t && e._zTime) {
193
- if (!e._initted && Yn(e, t, n, i, l))
193
+ if (!e._initted && Zn(e, t, n, i, l))
194
194
  return;
195
195
  for (u = e._zTime, e._zTime = t || (i ? k : 0), i || (i = t && !u), e.ratio = s, e._from && (s = 1 - s), e._time = 0, e._tTime = l, h = e._pt; h; )
196
196
  h.r(s, h.d), h = h._next;
197
197
  t < 0 && di(e, t, i, !0), e._onUpdate && !i && ce(e, "onUpdate"), l && e._repeat && !i && e.parent && ce(e, "onRepeat"), (t >= e._tDur || t < 0) && e.ratio === s && (s && ke(e, 1), !i && !W && (ce(e, s ? "onComplete" : "onReverseComplete", !0), e._prom && e._prom()));
198
198
  } else e._zTime || (e._zTime = t);
199
- }, ts = function(e, t, i) {
199
+ }, is = function(e, t, i) {
200
200
  var n;
201
201
  if (i > t)
202
202
  for (n = e._first; n && n._start <= i; ) {
@@ -215,12 +215,12 @@ var ue = {
215
215
  return o && !n && (e._time *= s / e._dur), e._dur = s, e._tDur = r ? r < 0 ? 1e10 : H(s * (r + 1) + e._rDelay * r) : s, o > 0 && !n && Wt(e, e._tTime = e._tDur * o), e.parent && Kt(e), i || Ye(e.parent, e), e;
216
216
  }, Qi = function(e) {
217
217
  return e instanceof J ? Ye(e) : ct(e, e._dur);
218
- }, is = {
218
+ }, ns = {
219
219
  _start: 0,
220
220
  endTime: wt,
221
221
  totalDuration: wt
222
222
  }, me = function a(e, t, i) {
223
- var n = e.labels, r = e._recent || is, s = e.duration() >= ge ? r.endTime(!1) : e._dur, o, l, h;
223
+ var n = e.labels, r = e._recent || ns, s = e.duration() >= ge ? r.endTime(!1) : e._dur, o, l, h;
224
224
  return K(t) && (isNaN(t) || t in n) ? (l = t.charAt(0), h = t.substr(-1) === "%", o = t.indexOf("="), l === "<" || l === ">" ? (o >= 0 && (t = t.replace(/=/, "")), (l === "<" ? r._start : r.endTime(r._repeat >= 0)) + (parseFloat(t.substr(1)) || 0) * (h ? (o < 0 ? r : i).totalDuration() / 100 : 1)) : o < 0 ? (t in n || (n[t] = s), n[t]) : (l = parseFloat(t.charAt(o - 1) + t.substr(o + 1)), h && i && (l = l / 100 * (q(i) ? i[0] : i).totalDuration()), o > 1 ? a(e, t.substr(0, o - 1), i) + l : s + l)) : t == null ? s : +t;
225
225
  }, bt = function(e, t, i) {
226
226
  var n = Te(t[1]), r = (n ? 2 : 1) + (e < 2 ? 0 : 1), s = t[r], o, l;
@@ -235,30 +235,30 @@ var ue = {
235
235
  }, Dt = function(e, t, i) {
236
236
  return i < e ? e : i > t ? t : i;
237
237
  }, X = function(e, t) {
238
- return !K(e) || !(t = Hr.exec(e)) ? "" : t[1];
239
- }, ns = function(e, t, i) {
238
+ return !K(e) || !(t = Yr.exec(e)) ? "" : t[1];
239
+ }, rs = function(e, t, i) {
240
240
  return Fe(i, function(n) {
241
241
  return Dt(e, t, n);
242
242
  });
243
- }, fi = [].slice, Zn = function(e, t) {
243
+ }, fi = [].slice, Kn = function(e, t) {
244
244
  return e && we(e) && "length" in e && (!t && !e.length || e.length - 1 in e && we(e[0])) && !e.nodeType && e !== xe;
245
- }, rs = function(e, t, i) {
245
+ }, ss = function(e, t, i) {
246
246
  return i === void 0 && (i = []), e.forEach(function(n) {
247
247
  var r;
248
- return K(n) && !t || Zn(n, 1) ? (r = i).push.apply(r, _e(n)) : i.push(n);
248
+ return K(n) && !t || Kn(n, 1) ? (r = i).push.apply(r, _e(n)) : i.push(n);
249
249
  }) || i;
250
250
  }, _e = function(e, t, i) {
251
- return z && !t && z.selector ? z.selector(e) : K(e) && !i && (ci || !ut()) ? fi.call((t || Si).querySelectorAll(e), 0) : q(e) ? rs(e, i) : Zn(e) ? fi.call(e, 0) : e ? [e] : [];
251
+ return z && !t && z.selector ? z.selector(e) : K(e) && !i && (ci || !ut()) ? fi.call((t || Si).querySelectorAll(e), 0) : q(e) ? ss(e, i) : Kn(e) ? fi.call(e, 0) : e ? [e] : [];
252
252
  }, mi = function(e) {
253
253
  return e = _e(e)[0] || Et("Invalid scope") || {}, function(t) {
254
254
  var i = e.current || e.nativeElement || e;
255
255
  return _e(t, i.querySelectorAll ? i : i === e ? Et("Invalid scope") || Si.createElement("div") : e);
256
256
  };
257
- }, Kn = function(e) {
257
+ }, Wn = function(e) {
258
258
  return e.sort(function() {
259
259
  return 0.5 - Math.random();
260
260
  });
261
- }, Wn = function(e) {
261
+ }, Xn = function(e) {
262
262
  if (G(e))
263
263
  return e;
264
264
  var t = we(e) ? e : {
@@ -277,8 +277,8 @@ var ue = {
277
277
  w < d && w--;
278
278
  }
279
279
  for (m = s[d] = [], _ = l ? Math.min(w, d) * c - 0.5 : n % w, y = w === ge ? 0 : l ? d * u / w - 0.5 : n / w | 0, E = 0, C = ge, P = 0; P < d; P++)
280
- x = P % w - _, b = y - (P / w | 0), m[P] = v = h ? Math.abs(h === "y" ? b : x) : Dn(x * x + b * b), v > E && (E = v), v < C && (C = v);
281
- n === "random" && Kn(m), m.max = E - C, m.min = C, m.v = d = (parseFloat(t.amount) || parseFloat(t.each) * (w > d ? d - 1 : h ? h === "y" ? d / w : w : Math.max(w, d / w)) || 0) * (n === "edges" ? -1 : 1), m.b = d < 0 ? r - d : r, m.u = X(t.amount || t.each) || 0, i = i && d < 0 ? sr(i) : i;
280
+ x = P % w - _, b = y - (P / w | 0), m[P] = v = h ? Math.abs(h === "y" ? b : x) : Rn(x * x + b * b), v > E && (E = v), v < C && (C = v);
281
+ n === "random" && Wn(m), m.max = E - C, m.min = C, m.v = d = (parseFloat(t.amount) || parseFloat(t.each) * (w > d ? d - 1 : h ? h === "y" ? d / w : w : Math.max(w, d / w)) || 0) * (n === "edges" ? -1 : 1), m.b = d < 0 ? r - d : r, m.u = X(t.amount || t.each) || 0, i = i && d < 0 ? ar(i) : i;
282
282
  }
283
283
  return d = (m[f] - m.min) / m.max || 0, H(m.b + (i ? i(d) : d) * m.v) + m.u;
284
284
  };
@@ -288,7 +288,7 @@ var ue = {
288
288
  var n = H(Math.round(parseFloat(i) / e) * e * t);
289
289
  return (n - n % 1) / t + (Te(i) ? 0 : X(i));
290
290
  };
291
- }, Xn = function(e, t) {
291
+ }, qn = function(e, t) {
292
292
  var i = q(e), n, r;
293
293
  return !i && we(e) && (n = i = e.radius || ge, e.values ? (e = _e(e.values), (r = !Te(e[0])) && (n *= n)) : e = gi(e.increment)), Fe(t, i ? G(e) ? function(s) {
294
294
  return r = e(s), Math.abs(r - s) <= n ? r : s;
@@ -297,11 +297,11 @@ var ue = {
297
297
  r ? (f = e[u].x - o, g = e[u].y - l, f = f * f + g * g) : f = Math.abs(e[u] - o), f < h && (h = f, c = u);
298
298
  return c = !n || h <= n ? e[c] : s, r || c === s || Te(s) ? c : c + X(s);
299
299
  } : gi(e));
300
- }, qn = function(e, t, i, n) {
300
+ }, Qn = function(e, t, i, n) {
301
301
  return Fe(q(e) ? !t : i === !0 ? !!(i = 0) : !n, function() {
302
302
  return q(e) ? e[~~(Math.random() * e.length)] : (i = i || 1e-5) && (n = i < 1 ? Math.pow(10, (i + "").length - 2) : 1) && Math.floor(Math.round((e - i / 2 + Math.random() * (t - e + i * 0.99)) / i) * i * n) / n;
303
303
  });
304
- }, ss = function() {
304
+ }, as = function() {
305
305
  for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)
306
306
  t[i] = arguments[i];
307
307
  return function(n) {
@@ -309,36 +309,36 @@ var ue = {
309
309
  return s(r);
310
310
  }, n);
311
311
  };
312
- }, as = function(e, t) {
312
+ }, os = function(e, t) {
313
313
  return function(i) {
314
314
  return e(parseFloat(i)) + (t || X(i));
315
315
  };
316
- }, os = function(e, t, i) {
317
- return Jn(e, t, 0, 1, i);
318
- }, Qn = function(e, t, i) {
316
+ }, ls = function(e, t, i) {
317
+ return er(e, t, 0, 1, i);
318
+ }, Jn = function(e, t, i) {
319
319
  return Fe(i, function(n) {
320
320
  return e[~~t(n)];
321
321
  });
322
- }, ls = function a(e, t, i) {
322
+ }, hs = function a(e, t, i) {
323
323
  var n = t - e;
324
- return q(e) ? Qn(e, a(0, e.length), t) : Fe(i, function(r) {
324
+ return q(e) ? Jn(e, a(0, e.length), t) : Fe(i, function(r) {
325
325
  return (n + (r - e) % n) % n + e;
326
326
  });
327
- }, hs = function a(e, t, i) {
327
+ }, cs = function a(e, t, i) {
328
328
  var n = t - e, r = n * 2;
329
- return q(e) ? Qn(e, a(0, e.length - 1), t) : Fe(i, function(s) {
329
+ return q(e) ? Jn(e, a(0, e.length - 1), t) : Fe(i, function(s) {
330
330
  return s = (r + (s - e) % r) % r || 0, e + (s > n ? r - s : s);
331
331
  });
332
332
  }, Pt = function(e) {
333
333
  for (var t = 0, i = "", n, r, s, o; ~(n = e.indexOf("random(", t)); )
334
- s = e.indexOf(")", n), o = e.charAt(n + 7) === "[", r = e.substr(n + 7, s - n - 7).match(o ? Ln : hi), i += e.substr(t, n - t) + qn(o ? r : +r[0], o ? 0 : +r[1], +r[2] || 1e-5), t = s + 1;
334
+ s = e.indexOf(")", n), o = e.charAt(n + 7) === "[", r = e.substr(n + 7, s - n - 7).match(o ? kn : hi), i += e.substr(t, n - t) + Qn(o ? r : +r[0], o ? 0 : +r[1], +r[2] || 1e-5), t = s + 1;
335
335
  return i + e.substr(t, e.length - t);
336
- }, Jn = function(e, t, i, n, r) {
336
+ }, er = function(e, t, i, n, r) {
337
337
  var s = t - e, o = n - i;
338
338
  return Fe(r, function(l) {
339
339
  return i + ((l - e) / s * o || 0);
340
340
  });
341
- }, cs = function a(e, t, i, n) {
341
+ }, us = function a(e, t, i, n) {
342
342
  var r = isNaN(e + t) ? 0 : function(g) {
343
343
  return (1 - g) * e + g * t;
344
344
  };
@@ -379,7 +379,7 @@ var ue = {
379
379
  return l = n[t + "Params"], h = n.callbackScope || e, i && Ie.length && $t(), o && (z = o), c = l ? r.apply(h, l) : r.call(h), z = s, c;
380
380
  }, _t = function(e) {
381
381
  return ke(e), e.scrollTrigger && e.scrollTrigger.kill(!!W), e.progress() < 1 && ce(e, "onInterrupt"), e;
382
- }, tt, er = [], tr = function(e) {
382
+ }, tt, tr = [], ir = function(e) {
383
383
  if (e)
384
384
  if (e = !e.name && e.default || e, Ti() || e.headless) {
385
385
  var t = e.name, i = G(e), n = t && !i && e.init ? function() {
@@ -388,8 +388,8 @@ var ue = {
388
388
  init: wt,
389
389
  render: zi,
390
390
  add: Li,
391
- kill: As,
392
- modifier: Cs,
391
+ kill: Ts,
392
+ modifier: As,
393
393
  rawVars: 0
394
394
  }, s = {
395
395
  targetTest: 0,
@@ -403,9 +403,9 @@ var ue = {
403
403
  return;
404
404
  pe(n, pe(Gt(e, r), s)), lt(n.prototype, lt(r, Gt(e, s))), le[n.prop = t] = n, e.targetTest && (Ft.push(n), Di[t] = 1), t = (t === "css" ? "CSS" : t.charAt(0).toUpperCase() + t.substr(1)) + "Plugin";
405
405
  }
406
- Fn(t, n), e.register && e.register(ae, n, re);
406
+ zn(t, n), e.register && e.register(ae, n, re);
407
407
  } else
408
- er.push(e);
408
+ tr.push(e);
409
409
  }, L = 255, yt = {
410
410
  aqua: [0, L, L],
411
411
  lime: [0, L, 0],
@@ -428,7 +428,7 @@ var ue = {
428
428
  transparent: [L, L, L, 0]
429
429
  }, Qt = function(e, t, i) {
430
430
  return e += e < 0 ? 1 : e > 1 ? -1 : 0, (e * 6 < 1 ? t + (i - t) * e * 6 : e < 0.5 ? i : e * 3 < 2 ? t + (i - t) * (2 / 3 - e) * 6 : t) * L + 0.5 | 0;
431
- }, ir = function(e, t, i) {
431
+ }, nr = function(e, t, i) {
432
432
  var n = e ? Te(e) ? [e >> 16, e >> 8 & L, e & L] : 0 : yt.black, r, s, o, l, h, c, u, f, g, p;
433
433
  if (!n) {
434
434
  if (e.substr(-1) === "," && (e = e.substr(0, e.length - 1)), yt[e])
@@ -441,13 +441,13 @@ var ue = {
441
441
  if (n = p = e.match(hi), !t)
442
442
  l = +n[0] % 360 / 360, h = +n[1] / 100, c = +n[2] / 100, s = c <= 0.5 ? c * (h + 1) : c + h - c * h, r = c * 2 - s, n.length > 3 && (n[3] *= 1), n[0] = Qt(l + 1 / 3, r, s), n[1] = Qt(l, r, s), n[2] = Qt(l - 1 / 3, r, s);
443
443
  else if (~e.indexOf("="))
444
- return n = e.match(On), i && n.length < 4 && (n[3] = 1), n;
444
+ return n = e.match(In), i && n.length < 4 && (n[3] = 1), n;
445
445
  } else
446
446
  n = e.match(hi) || yt.transparent;
447
447
  n = n.map(Number);
448
448
  }
449
449
  return t && !p && (r = n[0] / L, s = n[1] / L, o = n[2] / L, u = Math.max(r, s, o), f = Math.min(r, s, o), c = (u + f) / 2, u === f ? l = h = 0 : (g = u - f, h = c > 0.5 ? g / (2 - u - f) : g / (u + f), l = u === r ? (s - o) / g + (s < o ? 6 : 0) : u === s ? (o - r) / g + 2 : (r - s) / g + 4, l *= 60), n[0] = ~~(l + 0.5), n[1] = ~~(h * 100 + 0.5), n[2] = ~~(c * 100 + 0.5)), i && n.length < 4 && (n[3] = 1), n;
450
- }, nr = function(e) {
450
+ }, rr = function(e) {
451
451
  var t = [], i = [], n = -1;
452
452
  return e.split(Le).forEach(function(r) {
453
453
  var s = r.match(et) || [];
@@ -458,8 +458,8 @@ var ue = {
458
458
  if (!r)
459
459
  return e;
460
460
  if (r = r.map(function(f) {
461
- return (f = ir(f, t, 1)) && s + (t ? f[0] + "," + f[1] + "%," + f[2] + "%," + f[3] : f.join(",")) + ")";
462
- }), i && (c = nr(e), l = i.c, l.join(n) !== c.c.join(n)))
461
+ return (f = nr(f, t, 1)) && s + (t ? f[0] + "," + f[1] + "%," + f[2] + "%," + f[3] : f.join(",")) + ")";
462
+ }), i && (c = rr(e), l = i.c, l.join(n) !== c.c.join(n)))
463
463
  for (h = e.replace(Le, "1").split(et), u = h.length - 1; o < u; o++)
464
464
  n += h[o] + (~l.indexOf(o) ? r.shift() || s + "0,0,0,0)" : (c.length ? c : r.length ? r : i).shift());
465
465
  if (!h)
@@ -471,10 +471,10 @@ var ue = {
471
471
  for (e in yt)
472
472
  a += "|" + e + "\\b";
473
473
  return new RegExp(a + ")", "gi");
474
- })(), us = /hsl[a]?\(/, rr = function(e) {
474
+ })(), ds = /hsl[a]?\(/, sr = function(e) {
475
475
  var t = e.join(" "), i;
476
476
  if (Le.lastIndex = 0, Le.test(t))
477
- return i = us.test(t), e[1] = en(e[1], i), e[0] = en(e[0], i, nr(e[1])), !0;
477
+ return i = ds.test(t), e[1] = en(e[1], i), e[0] = en(e[0], i, rr(e[1])), !0;
478
478
  }, Ct, he = (function() {
479
479
  var a = Date.now, e = 500, t = 33, i = a(), n = i, r = 1e3 / 240, s = r, o = [], l, h, c, u, f, g, p = function d(m) {
480
480
  var _ = a() - n, y = m === !0, x, b, v, P;
@@ -492,7 +492,7 @@ var ue = {
492
492
  return f / (1e3 / (m || 60));
493
493
  },
494
494
  wake: function() {
495
- kn && (!ci && Ti() && (xe = ci = window, Si = xe.document || {}, de.gsap = ae, (xe.gsapVersions || (xe.gsapVersions = [])).push(ae.version), Un(Bt || xe.GreenSockGlobals || !xe.gsap && xe || {}), er.forEach(tr)), c = typeof requestAnimationFrame < "u" && requestAnimationFrame, l && u.sleep(), h = c || function(m) {
495
+ Un && (!ci && Ti() && (xe = ci = window, Si = xe.document || {}, de.gsap = ae, (xe.gsapVersions || (xe.gsapVersions = [])).push(ae.version), Fn(Bt || xe.GreenSockGlobals || !xe.gsap && xe || {}), tr.forEach(ir)), c = typeof requestAnimationFrame < "u" && requestAnimationFrame, l && u.sleep(), h = c || function(m) {
496
496
  return setTimeout(m, s - u.time * 1e3 + 1 | 0);
497
497
  }, Ct = 1, p(2));
498
498
  },
@@ -518,25 +518,25 @@ var ue = {
518
518
  }, u;
519
519
  })(), ut = function() {
520
520
  return !Ct && he.wake();
521
- }, M = {}, ds = /^[\d.\-M][\d.\-,\s]/, ps = /["']/g, fs = function(e) {
521
+ }, M = {}, ps = /^[\d.\-M][\d.\-,\s]/, fs = /["']/g, ms = function(e) {
522
522
  for (var t = {}, i = e.substr(1, e.length - 3).split(":"), n = i[0], r = 1, s = i.length, o, l, h; r < s; r++)
523
- l = i[r], o = r !== s - 1 ? l.lastIndexOf(",") : l.length, h = l.substr(0, o), t[n] = isNaN(h) ? h.replace(ps, "").trim() : +h, n = l.substr(o + 1).trim();
523
+ l = i[r], o = r !== s - 1 ? l.lastIndexOf(",") : l.length, h = l.substr(0, o), t[n] = isNaN(h) ? h.replace(fs, "").trim() : +h, n = l.substr(o + 1).trim();
524
524
  return t;
525
- }, ms = function(e) {
525
+ }, gs = function(e) {
526
526
  var t = e.indexOf("(") + 1, i = e.indexOf(")"), n = e.indexOf("(", t);
527
527
  return e.substring(t, ~n && n < i ? e.indexOf(")", i + 1) : i);
528
- }, gs = function(e) {
528
+ }, _s = function(e) {
529
529
  var t = (e + "").split("("), i = M[t[0]];
530
- return i && t.length > 1 && i.config ? i.config.apply(null, ~e.indexOf("{") ? [fs(t[1])] : ms(e).split(",").map($n)) : M._CE && ds.test(e) ? M._CE("", e) : i;
531
- }, sr = function(e) {
530
+ return i && t.length > 1 && i.config ? i.config.apply(null, ~e.indexOf("{") ? [ms(t[1])] : gs(e).split(",").map(Gn)) : M._CE && ps.test(e) ? M._CE("", e) : i;
531
+ }, ar = function(e) {
532
532
  return function(t) {
533
533
  return 1 - e(1 - t);
534
534
  };
535
- }, ar = function a(e, t) {
535
+ }, or = function a(e, t) {
536
536
  for (var i = e._first, n; i; )
537
537
  i instanceof J ? a(i, t) : i.vars.yoyoEase && (!i._yoyo || !i._repeat) && i._yoyo !== t && (i.timeline ? a(i.timeline, t) : (n = i._ease, i._ease = i._yEase, i._yEase = n, i._yoyo = t)), i = i._next;
538
538
  }, Ze = function(e, t) {
539
- return e && (G(e) ? e : M[e] || gs(e)) || t;
539
+ return e && (G(e) ? e : M[e] || _s(e)) || t;
540
540
  }, Xe = function(e, t, i, n) {
541
541
  i === void 0 && (i = function(l) {
542
542
  return 1 - t(1 - l);
@@ -553,16 +553,16 @@ var ue = {
553
553
  for (var l in r)
554
554
  M[s + (l === "easeIn" ? ".in" : l === "easeOut" ? ".out" : ".inOut")] = M[o + "." + l] = r[l];
555
555
  }), r;
556
- }, or = function(e) {
556
+ }, lr = function(e) {
557
557
  return function(t) {
558
558
  return t < 0.5 ? (1 - e(1 - t * 2)) / 2 : 0.5 + e((t - 0.5) * 2) / 2;
559
559
  };
560
560
  }, Jt = function a(e, t, i) {
561
561
  var n = t >= 1 ? t : 1, r = (i || (e ? 0.3 : 0.45)) / (t < 1 ? t : 1), s = r / li * (Math.asin(1 / n) || 0), o = function(c) {
562
- return c === 1 ? 1 : n * Math.pow(2, -10 * c) * jr((c - s) * r) + 1;
562
+ return c === 1 ? 1 : n * Math.pow(2, -10 * c) * Hr((c - s) * r) + 1;
563
563
  }, l = e === "out" ? o : e === "in" ? function(h) {
564
564
  return 1 - o(1 - h);
565
- } : or(o);
565
+ } : lr(o);
566
566
  return r = li / r, l.config = function(h, c) {
567
567
  return a(e, h, c);
568
568
  }, l;
@@ -572,7 +572,7 @@ var ue = {
572
572
  return s ? --s * s * ((t + 1) * s + t) + 1 : 0;
573
573
  }, n = e === "out" ? i : e === "in" ? function(r) {
574
574
  return 1 - i(1 - r);
575
- } : or(i);
575
+ } : lr(i);
576
576
  return n.config = function(r) {
577
577
  return a(e, r);
578
578
  }, n;
@@ -603,10 +603,10 @@ Xe("Expo", function(a) {
603
603
  return Math.pow(2, 10 * (a - 1)) * a + a * a * a * a * a * a * (1 - a);
604
604
  });
605
605
  Xe("Circ", function(a) {
606
- return -(Dn(1 - a * a) - 1);
606
+ return -(Rn(1 - a * a) - 1);
607
607
  });
608
608
  Xe("Sine", function(a) {
609
- return a === 1 ? 1 : -Vr(a * $r) + 1;
609
+ return a === 1 ? 1 : -jr(a * Gr) + 1;
610
610
  });
611
611
  Xe("Back", ei("in"), ei("out"), ei());
612
612
  M.SteppedEase = M.steps = de.SteppedEase = {
@@ -622,8 +622,8 @@ ot.ease = M["quad.out"];
622
622
  ne("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(a) {
623
623
  return Ri += a + "," + a + "Params,";
624
624
  });
625
- var lr = function(e, t) {
626
- this.id = Gr++, e._gsap = this, this.target = e, this.harness = t, this.get = t ? t.get : Nn, this.set = t ? t.getSetter : Fi;
625
+ var hr = function(e, t) {
626
+ this.id = Vr++, e._gsap = this, this.target = e, this.harness = t, this.get = t ? t.get : Bn, this.set = t ? t.getSetter : Fi;
627
627
  }, At = /* @__PURE__ */ (function() {
628
628
  function a(t) {
629
629
  this.vars = t, this._delay = +t.delay || 0, (this._repeat = t.repeat === 1 / 0 ? -2 : t.repeat || 0) && (this._rDelay = t.repeatDelay || 0, this._yoyo = !!t.yoyo || !!t.yoyoEase), this._ts = 1, ct(this, +t.duration, 1, 1), this.data = t.data, z && (this._ctx = z, z.data.push(this)), Ct || he.wake();
@@ -640,11 +640,11 @@ var lr = function(e, t) {
640
640
  return this._tTime;
641
641
  var r = this._dp;
642
642
  if (r && r.smoothChildTiming && this._ts) {
643
- for (Wt(this, i), !r._dp || r.parent || jn(r, this); r && r.parent; )
643
+ for (Wt(this, i), !r._dp || r.parent || Hn(r, this); r && r.parent; )
644
644
  r.parent._time !== r._start + (r._ts >= 0 ? r._tTime / r._ts : (r.totalDuration() - r._tTime) / -r._ts) && r.totalTime(r._tTime, !0), r = r.parent;
645
645
  !this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && i < this._tDur || this._ts < 0 && i > 0 || !this._tDur && !i) && be(this._dp, this, this._start - this._delay);
646
646
  }
647
- return (this._tTime !== i || !this._dur && !n || this._initted && Math.abs(this._zTime) === k || !i && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = i), Bn(this, i, n)), this;
647
+ return (this._tTime !== i || !this._dur && !n || this._initted && Math.abs(this._zTime) === k || !i && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = i), $n(this, i, n)), this;
648
648
  }, e.time = function(i, n) {
649
649
  return arguments.length ? this.totalTime(Math.min(this.totalDuration(), i + qi(this)) % (this._dur + this._rDelay) || (i ? this._dur : 0), n) : this._time;
650
650
  }, e.totalProgress = function(i, n) {
@@ -660,7 +660,7 @@ var lr = function(e, t) {
660
660
  if (this._rts === i)
661
661
  return this;
662
662
  var r = this.parent && this._ts ? Vt(this.parent._time, this) : this._tTime;
663
- return this._rts = +i || 0, this._ts = this._ps || i === -k ? 0 : this._rts, this.totalTime(Dt(-Math.abs(this._delay), this.totalDuration(), r), n !== !1), Kt(this), qr(this);
663
+ return this._rts = +i || 0, this._ts = this._ps || i === -k ? 0 : this._rts, this.totalTime(Dt(-Math.abs(this._delay), this.totalDuration(), r), n !== !1), Kt(this), Qr(this);
664
664
  }, e.paused = function(i) {
665
665
  return arguments.length ? (this._ps !== i && (this._ps = i, i ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (ut(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== k && (this._tTime -= k)))), this) : this._ps;
666
666
  }, e.startTime = function(i) {
@@ -676,7 +676,7 @@ var lr = function(e, t) {
676
676
  var n = this.parent || this._dp;
677
677
  return n ? i && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? Vt(n.rawTime(i), this) : this._tTime : this._tTime;
678
678
  }, e.revert = function(i) {
679
- i === void 0 && (i = Zr);
679
+ i === void 0 && (i = Kr);
680
680
  var n = W;
681
681
  return W = i, Ii(this) && (this.timeline && this.timeline.revert(i), this.totalTime(-0.01, i.suppressEvents)), this.data !== "nested" && i.kill !== !1 && this.kill(), W = n, this;
682
682
  }, e.globalTime = function(i) {
@@ -718,7 +718,7 @@ var lr = function(e, t) {
718
718
  }, e.then = function(i) {
719
719
  var n = this;
720
720
  return new Promise(function(r) {
721
- var s = G(i) ? i : Gn, o = function() {
721
+ var s = G(i) ? i : Vn, o = function() {
722
722
  var h = n.then;
723
723
  n.then = null, G(s) && (s = s(n)) && (s.then || s === n) && (n.then = h), r(s), n.then = h;
724
724
  };
@@ -749,10 +749,10 @@ pe(At.prototype, {
749
749
  _rts: 1
750
750
  });
751
751
  var J = /* @__PURE__ */ (function(a) {
752
- Mn(e, a);
752
+ Dn(e, a);
753
753
  function e(i, n) {
754
754
  var r;
755
- return i === void 0 && (i = {}), r = a.call(this, i) || this, r.labels = {}, r.smoothChildTiming = !!i.smoothChildTiming, r.autoRemoveChildren = !!i.autoRemoveChildren, r._sort = ie(i.sortChildren), N && be(i.parent || N, Ce(r), n), i.reversed && r.reverse(), i.paused && r.paused(!0), i.scrollTrigger && Hn(Ce(r), i.scrollTrigger), r;
755
+ return i === void 0 && (i = {}), r = a.call(this, i) || this, r.labels = {}, r.smoothChildTiming = !!i.smoothChildTiming, r.autoRemoveChildren = !!i.autoRemoveChildren, r._sort = ie(i.sortChildren), N && be(i.parent || N, Ce(r), n), i.reversed && r.reverse(), i.paused && r.paused(!0), i.scrollTrigger && Yn(Ce(r), i.scrollTrigger), r;
756
756
  }
757
757
  var t = e.prototype;
758
758
  return t.to = function(n, r, s) {
@@ -783,10 +783,10 @@ var J = /* @__PURE__ */ (function(a) {
783
783
  return this;
784
784
  if (h = this._dur, l = this._tDur, w && (this._lock = 2, o = C ? h : -1e-4, this.render(o, !0), this.vars.repeatRefresh && !E && this.invalidate()), this._lock = 0, !this._ts && !_)
785
785
  return this;
786
- ar(this, E);
786
+ or(this, E);
787
787
  }
788
788
  }
789
- if (this._hasPause && !this._forcing && this._lock < 2 && (y = ts(this, H(o), H(f)), y && (c -= f - (f = y._start))), this._tTime = c, this._time = f, this._act = !x, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = n, o = 0), !o && c && !r && !v && (ce(this, "onStart"), this._tTime !== c))
789
+ if (this._hasPause && !this._forcing && this._lock < 2 && (y = is(this, H(o), H(f)), y && (c -= f - (f = y._start))), this._tTime = c, this._time = f, this._act = !x, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = n, o = 0), !o && c && !r && !v && (ce(this, "onStart"), this._tTime !== c))
790
790
  return this;
791
791
  if (f >= o && n >= 0)
792
792
  for (g = this._first; g; ) {
@@ -864,7 +864,7 @@ var J = /* @__PURE__ */ (function(a) {
864
864
  return this;
865
865
  }, t.getTweensOf = function(n, r) {
866
866
  for (var s = [], o = _e(n), l = this._first, h = Te(r), c; l; )
867
- l instanceof j ? Kr(l._targets, o) && (h ? (!Me || l._initted && l._ts) && l.globalTime(0) <= r && l.globalTime(l.totalDuration()) > r : !r || l.isActive()) && s.push(l) : (c = l.getTweensOf(o, r)).length && s.push.apply(s, c), l = l._next;
867
+ l instanceof j ? Wr(l._targets, o) && (h ? (!Me || l._initted && l._ts) && l.globalTime(0) <= r && l.globalTime(l.totalDuration()) > r : !r || l.isActive()) && s.push(l) : (c = l.getTweensOf(o, r)).length && s.push.apply(s, c), l = l._next;
868
868
  return s;
869
869
  }, t.tweenTo = function(n, r) {
870
870
  r = r || {};
@@ -927,7 +927,7 @@ var J = /* @__PURE__ */ (function(a) {
927
927
  }
928
928
  return s._tDur;
929
929
  }, e.updateRoot = function(n) {
930
- if (N._ts && (Bn(N, Vt(n, N)), zn = he.frame), he.frame >= Wi) {
930
+ if (N._ts && ($n(N, Vt(n, N)), Nn = he.frame), he.frame >= Wi) {
931
931
  Wi += ue.autoSleep || 120;
932
932
  var r = N._first;
933
933
  if ((!r || !r._ts) && ue.autoSleep && he._listeners.length < 2) {
@@ -943,8 +943,8 @@ pe(J.prototype, {
943
943
  _hasPause: 0,
944
944
  _forcing: 0
945
945
  });
946
- var _s = function(e, t, i, n, r, s, o) {
947
- var l = new re(this._pt, e, t, 0, 1, fr, null, r), h = 0, c = 0, u, f, g, p, d, m, _, y;
946
+ var ys = function(e, t, i, n, r, s, o) {
947
+ var l = new re(this._pt, e, t, 0, 1, mr, null, r), h = 0, c = 0, u, f, g, p, d, m, _, y;
948
948
  for (l.b = i, l.e = n, i += "", n += "", (_ = ~n.indexOf("random(")) && (n = Pt(n)), s && (y = [i, n], s(y, e, t), i = y[0], n = y[1]), f = i.match(Xt) || []; u = Xt.exec(n); )
949
949
  p = u[0], d = n.substring(h, u.index), g ? g = (g + 1) % 5 : d.substr(-5) === "rgba(" && (g = 1), p !== f[c++] && (m = parseFloat(f[c - 1]) || 0, l._pt = {
950
950
  _next: l._pt,
@@ -954,29 +954,29 @@ var _s = function(e, t, i, n, r, s, o) {
954
954
  c: p.charAt(1) === "=" ? rt(m, p) - m : parseFloat(p) - m,
955
955
  m: g && g < 4 ? Math.round : 0
956
956
  }, h = Xt.lastIndex);
957
- return l.c = h < n.length ? n.substring(h, n.length) : "", l.fp = o, (In.test(n) || _) && (l.e = 0), this._pt = l, l;
957
+ return l.c = h < n.length ? n.substring(h, n.length) : "", l.fp = o, (Ln.test(n) || _) && (l.e = 0), this._pt = l, l;
958
958
  }, Li = function(e, t, i, n, r, s, o, l, h, c) {
959
959
  G(n) && (n = n(r || 0, e, s));
960
- var u = e[t], f = i !== "get" ? i : G(u) ? h ? e[t.indexOf("set") || !G(e["get" + t.substr(3)]) ? t : "get" + t.substr(3)](h) : e[t]() : u, g = G(u) ? h ? Es : dr : Ui, p;
960
+ var u = e[t], f = i !== "get" ? i : G(u) ? h ? e[t.indexOf("set") || !G(e["get" + t.substr(3)]) ? t : "get" + t.substr(3)](h) : e[t]() : u, g = G(u) ? h ? ws : pr : Ui, p;
961
961
  if (K(n) && (~n.indexOf("random(") && (n = Pt(n)), n.charAt(1) === "=" && (p = rt(f, n) + (X(f) || 0), (p || p === 0) && (n = p))), !c || f !== n || _i)
962
- return !isNaN(f * n) && n !== "" ? (p = new re(this._pt, e, t, +f || 0, n - (f || 0), typeof u == "boolean" ? Ps : pr, 0, g), h && (p.fp = h), o && p.modifier(o, this, e), this._pt = p) : (!u && !(t in e) && Mi(t, n), _s.call(this, e, t, f, n, g, l || ue.stringFilter, h));
963
- }, ys = function(e, t, i, n, r) {
964
- if (G(e) && (e = vt(e, r, t, i, n)), !we(e) || e.style && e.nodeType || q(e) || Rn(e))
962
+ return !isNaN(f * n) && n !== "" ? (p = new re(this._pt, e, t, +f || 0, n - (f || 0), typeof u == "boolean" ? Cs : fr, 0, g), h && (p.fp = h), o && p.modifier(o, this, e), this._pt = p) : (!u && !(t in e) && Mi(t, n), ys.call(this, e, t, f, n, g, l || ue.stringFilter, h));
963
+ }, xs = function(e, t, i, n, r) {
964
+ if (G(e) && (e = vt(e, r, t, i, n)), !we(e) || e.style && e.nodeType || q(e) || On(e))
965
965
  return K(e) ? vt(e, r, t, i, n) : e;
966
966
  var s = {}, o;
967
967
  for (o in e)
968
968
  s[o] = vt(e[o], r, t, i, n);
969
969
  return s;
970
- }, hr = function(e, t, i, n, r, s) {
970
+ }, cr = function(e, t, i, n, r, s) {
971
971
  var o, l, h, c;
972
- if (le[e] && (o = new le[e]()).init(r, o.rawVars ? t[e] : ys(t[e], n, r, s, i), i, n, s) !== !1 && (i._pt = l = new re(i._pt, r, e, 0, 1, o.render, o, 0, o.priority), i !== tt))
972
+ if (le[e] && (o = new le[e]()).init(r, o.rawVars ? t[e] : xs(t[e], n, r, s, i), i, n, s) !== !1 && (i._pt = l = new re(i._pt, r, e, 0, 1, o.render, o, 0, o.priority), i !== tt))
973
973
  for (h = i._ptLookup[i._targets.indexOf(r)], c = o._props.length; c--; )
974
974
  h[o._props[c]] = l;
975
975
  return o;
976
976
  }, Me, _i, ki = function a(e, t, i) {
977
977
  var n = e.vars, r = n.ease, s = n.startAt, o = n.immediateRender, l = n.lazy, h = n.onUpdate, c = n.runBackwards, u = n.yoyoEase, f = n.keyframes, g = n.autoRevert, p = e._dur, d = e._startAt, m = e._targets, _ = e.parent, y = _ && _.data === "nested" ? _.vars.targets : m, x = e._overwrite === "auto" && !Ci, b = e.timeline, v, P, E, C, w, S, D, T, R, O, $, F, U;
978
- if (b && (!f || !r) && (r = "none"), e._ease = Ze(r, ot.ease), e._yEase = u ? sr(Ze(u === !0 ? r : u, ot.ease)) : 0, u && e._yoyo && !e._repeat && (u = e._yEase, e._yEase = e._ease, e._ease = u), e._from = !b && !!n.runBackwards, !b || f && !n.stagger) {
979
- if (T = m[0] ? He(m[0]).harness : 0, F = T && n[T.prop], v = Gt(n, Di), d && (d._zTime < 0 && d.progress(1), t < 0 && c && o && !g ? d.render(-1, !0) : d.revert(c && p ? Ut : Yr), d._lazy = 0), s) {
978
+ if (b && (!f || !r) && (r = "none"), e._ease = Ze(r, ot.ease), e._yEase = u ? ar(Ze(u === !0 ? r : u, ot.ease)) : 0, u && e._yoyo && !e._repeat && (u = e._yEase, e._yEase = e._ease, e._ease = u), e._from = !b && !!n.runBackwards, !b || f && !n.stagger) {
979
+ if (T = m[0] ? He(m[0]).harness : 0, F = T && n[T.prop], v = Gt(n, Di), d && (d._zTime < 0 && d.progress(1), t < 0 && c && o && !g ? d.render(-1, !0) : d.revert(c && p ? Ut : Zr), d._lazy = 0), s) {
980
980
  if (ke(e._startAt = j.set(m, pe({
981
981
  data: "isStart",
982
982
  overwrite: !1,
@@ -1014,13 +1014,13 @@ var _s = function(e, t, i, n, r, s, o) {
1014
1014
  O[ee] = C;
1015
1015
  }), R.priority && (S = 1)), !T || F)
1016
1016
  for (E in v)
1017
- le[E] && (R = hr(E, v, e, $, w, y)) ? R.priority && (S = 1) : O[E] = C = Li.call(e, w, E, "get", v[E], $, y, 0, n.stringFilter);
1017
+ le[E] && (R = cr(E, v, e, $, w, y)) ? R.priority && (S = 1) : O[E] = C = Li.call(e, w, E, "get", v[E], $, y, 0, n.stringFilter);
1018
1018
  e._op && e._op[P] && e.kill(w, e._op[P]), x && e._pt && (Me = e, N.killTweensOf(w, O, e.globalTime(t)), U = !e.parent, Me = 0), e._pt && l && (ui[D.id] = 1);
1019
1019
  }
1020
- S && mr(e), e._onInit && e._onInit(e);
1020
+ S && gr(e), e._onInit && e._onInit(e);
1021
1021
  }
1022
1022
  e._onUpdate = h, e._initted = (!e._op || e._pt) && !U, f && t <= 0 && b.render(ge, !0, !0);
1023
- }, xs = function(e, t, i, n, r, s, o, l) {
1023
+ }, bs = function(e, t, i, n, r, s, o, l) {
1024
1024
  var h = (e._pt && e._ptCache || (e._ptCache = {}))[t], c, u, f, g;
1025
1025
  if (!h)
1026
1026
  for (h = e._ptCache[t] = [], f = e._ptLookup, g = e._targets.length; g--; ) {
@@ -1033,7 +1033,7 @@ var _s = function(e, t, i, n, r, s, o) {
1033
1033
  }
1034
1034
  for (g = h.length; g--; )
1035
1035
  u = h[g], c = u._pt || u, c.s = (n || n === 0) && !r ? n : c.s + (n || 0) + s * c.c, c.c = i - c.s, u.e && (u.e = V(i) + X(u.e)), u.b && (u.b = c.s + X(u.b));
1036
- }, bs = function(e, t) {
1036
+ }, vs = function(e, t) {
1037
1037
  var i = e[0] ? He(e[0]).harness : 0, n = i && i.aliases, r, s, o, l;
1038
1038
  if (!n)
1039
1039
  return t;
@@ -1043,7 +1043,7 @@ var _s = function(e, t, i, n, r, s, o) {
1043
1043
  for (l = n[s].split(","), o = l.length; o--; )
1044
1044
  r[l[o]] = r[s];
1045
1045
  return r;
1046
- }, vs = function(e, t, i, n) {
1046
+ }, Es = function(e, t, i, n) {
1047
1047
  var r = t.ease || n || "power1.inOut", s, o;
1048
1048
  if (q(t))
1049
1049
  o = i[e] || (i[e] = []), t.forEach(function(l, h) {
@@ -1062,27 +1062,27 @@ var _s = function(e, t, i, n, r, s, o) {
1062
1062
  });
1063
1063
  }, vt = function(e, t, i, n, r) {
1064
1064
  return G(e) ? e.call(t, i, n, r) : K(e) && ~e.indexOf("random(") ? Pt(e) : e;
1065
- }, cr = Ri + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", ur = {};
1066
- ne(cr + ",id,stagger,delay,duration,paused,scrollTrigger", function(a) {
1067
- return ur[a] = 1;
1065
+ }, ur = Ri + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", dr = {};
1066
+ ne(ur + ",id,stagger,delay,duration,paused,scrollTrigger", function(a) {
1067
+ return dr[a] = 1;
1068
1068
  });
1069
1069
  var j = /* @__PURE__ */ (function(a) {
1070
- Mn(e, a);
1070
+ Dn(e, a);
1071
1071
  function e(i, n, r, s) {
1072
1072
  var o;
1073
1073
  typeof n == "number" && (r.duration = n, n = r, r = null), o = a.call(this, s ? n : xt(n)) || this;
1074
- var l = o.vars, h = l.duration, c = l.delay, u = l.immediateRender, f = l.stagger, g = l.overwrite, p = l.keyframes, d = l.defaults, m = l.scrollTrigger, _ = l.yoyoEase, y = n.parent || N, x = (q(i) || Rn(i) ? Te(i[0]) : "length" in n) ? [i] : _e(i), b, v, P, E, C, w, S, D;
1074
+ var l = o.vars, h = l.duration, c = l.delay, u = l.immediateRender, f = l.stagger, g = l.overwrite, p = l.keyframes, d = l.defaults, m = l.scrollTrigger, _ = l.yoyoEase, y = n.parent || N, x = (q(i) || On(i) ? Te(i[0]) : "length" in n) ? [i] : _e(i), b, v, P, E, C, w, S, D;
1075
1075
  if (o._targets = x.length ? Oi(x) : Et("GSAP target " + i + " not found. https://gsap.com", !ue.nullTargetWarn) || [], o._ptLookup = [], o._overwrite = g, p || f || Rt(h) || Rt(c)) {
1076
1076
  if (n = o.vars, b = o.timeline = new J({
1077
1077
  data: "nested",
1078
1078
  defaults: d || {},
1079
1079
  targets: y && y.data === "nested" ? y.vars.targets : x
1080
1080
  }), b.kill(), b.parent = b._dp = Ce(o), b._start = 0, f || Rt(h) || Rt(c)) {
1081
- if (E = x.length, S = f && Wn(f), we(f))
1081
+ if (E = x.length, S = f && Xn(f), we(f))
1082
1082
  for (C in f)
1083
- ~cr.indexOf(C) && (D || (D = {}), D[C] = f[C]);
1083
+ ~ur.indexOf(C) && (D || (D = {}), D[C] = f[C]);
1084
1084
  for (v = 0; v < E; v++)
1085
- P = Gt(n, ur), P.stagger = 0, _ && (P.yoyoEase = _), D && lt(P, D), w = x[v], P.duration = +vt(h, Ce(o), v, w, x), P.delay = (+vt(c, Ce(o), v, w, x) || 0) - o._delay, !f && E === 1 && P.delay && (o._delay = c = P.delay, o._start += c, P.delay = 0), b.to(w, P, S ? S(v, w, x) : 0), b._ease = M.none;
1085
+ P = Gt(n, dr), P.stagger = 0, _ && (P.yoyoEase = _), D && lt(P, D), w = x[v], P.duration = +vt(h, Ce(o), v, w, x), P.delay = (+vt(c, Ce(o), v, w, x) || 0) - o._delay, !f && E === 1 && P.delay && (o._delay = c = P.delay, o._start += c, P.delay = 0), b.to(w, P, S ? S(v, w, x) : 0), b._ease = M.none;
1086
1086
  b.duration() ? h = c = 0 : o.timeline = 0;
1087
1087
  } else if (p) {
1088
1088
  xt(pe(b.vars.defaults, {
@@ -1096,7 +1096,7 @@ var j = /* @__PURE__ */ (function(a) {
1096
1096
  else {
1097
1097
  P = {};
1098
1098
  for (C in p)
1099
- C === "ease" || C === "easeEach" || vs(C, p[C], P, p.easeEach);
1099
+ C === "ease" || C === "easeEach" || Es(C, p[C], P, p.easeEach);
1100
1100
  for (C in P)
1101
1101
  for (R = P[C].sort(function(F, U) {
1102
1102
  return F.t - U.t;
@@ -1113,23 +1113,23 @@ var j = /* @__PURE__ */ (function(a) {
1113
1113
  h || o.duration(h = b.duration());
1114
1114
  } else
1115
1115
  o.timeline = 0;
1116
- return g === !0 && !Ci && (Me = Ce(o), N.killTweensOf(x), Me = 0), be(y, Ce(o), r), n.reversed && o.reverse(), n.paused && o.paused(!0), (u || !h && !p && o._start === H(y._time) && ie(u) && Qr(Ce(o)) && y.data !== "nested") && (o._tTime = -k, o.render(Math.max(0, -c) || 0)), m && Hn(Ce(o), m), o;
1116
+ return g === !0 && !Ci && (Me = Ce(o), N.killTweensOf(x), Me = 0), be(y, Ce(o), r), n.reversed && o.reverse(), n.paused && o.paused(!0), (u || !h && !p && o._start === H(y._time) && ie(u) && Jr(Ce(o)) && y.data !== "nested") && (o._tTime = -k, o.render(Math.max(0, -c) || 0)), m && Yn(Ce(o), m), o;
1117
1117
  }
1118
1118
  var t = e.prototype;
1119
1119
  return t.render = function(n, r, s) {
1120
1120
  var o = this._time, l = this._tDur, h = this._dur, c = n < 0, u = n > l - k && !c ? l : n < k ? 0 : n, f, g, p, d, m, _, y, x, b;
1121
1121
  if (!h)
1122
- es(this, n, r, s);
1122
+ ts(this, n, r, s);
1123
1123
  else if (u !== this._tTime || !n || s || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== c || this._lazy) {
1124
1124
  if (f = u, x = this.timeline, this._repeat) {
1125
1125
  if (d = h + this._rDelay, this._repeat < -1 && c)
1126
1126
  return this.totalTime(d * 100 + n, r, s);
1127
1127
  if (f = H(u % d), u === l ? (p = this._repeat, f = h) : (m = H(u / d), p = ~~m, p && p === m ? (f = h, p--) : f > h && (f = h)), _ = this._yoyo && p & 1, _ && (b = this._yEase, f = h - f), m = ht(this._tTime, d), f === o && !s && this._initted && p === m)
1128
1128
  return this._tTime = u, this;
1129
- p !== m && (x && this._yEase && ar(x, _), this.vars.repeatRefresh && !_ && !this._lock && f !== d && this._initted && (this._lock = s = 1, this.render(H(d * p), !0).invalidate()._lock = 0));
1129
+ p !== m && (x && this._yEase && or(x, _), this.vars.repeatRefresh && !_ && !this._lock && f !== d && this._initted && (this._lock = s = 1, this.render(H(d * p), !0).invalidate()._lock = 0));
1130
1130
  }
1131
1131
  if (!this._initted) {
1132
- if (Yn(this, c ? n : f, s, r, u))
1132
+ if (Zn(this, c ? n : f, s, r, u))
1133
1133
  return this._tTime = 0, this;
1134
1134
  if (o !== this._time && !(s && this.vars.repeatRefresh && p !== m))
1135
1135
  return this;
@@ -1150,7 +1150,7 @@ var j = /* @__PURE__ */ (function(a) {
1150
1150
  }, t.resetTo = function(n, r, s, o, l) {
1151
1151
  Ct || he.wake(), this._ts || this.play();
1152
1152
  var h = Math.min(this._dur, (this._dp._time - this._start) * this._ts), c;
1153
- return this._initted || ki(this, h), c = this._ease(h / this._dur), xs(this, n, r, s, o, c, h, l) ? this.resetTo(n, r, s, o, 1) : (Wt(this, 0), this.parent || Vn(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1153
+ return this._initted || ki(this, h), c = this._ease(h / this._dur), bs(this, n, r, s, o, c, h, l) ? this.resetTo(n, r, s, o, 1) : (Wt(this, 0), this.parent || jn(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1154
1154
  }, t.kill = function(n, r) {
1155
1155
  if (r === void 0 && (r = "all"), !n && (!r || r === "all"))
1156
1156
  return this._lazy = this._pt = 0, this.parent ? _t(this) : this.scrollTrigger && this.scrollTrigger.kill(!!W), this;
@@ -1159,11 +1159,11 @@ var j = /* @__PURE__ */ (function(a) {
1159
1159
  return this.timeline.killTweensOf(n, r, Me && Me.vars.overwrite !== !0)._first || _t(this), this.parent && s !== this.timeline.totalDuration() && ct(this, this._dur * this.timeline._tDur / s, 0, 1), this;
1160
1160
  }
1161
1161
  var o = this._targets, l = n ? _e(n) : o, h = this._ptLookup, c = this._pt, u, f, g, p, d, m, _;
1162
- if ((!r || r === "all") && Xr(o, l))
1162
+ if ((!r || r === "all") && qr(o, l))
1163
1163
  return r === "all" && (this._pt = 0), _t(this);
1164
1164
  for (u = this._op = this._op || [], r !== "all" && (K(r) && (d = {}, ne(r, function(y) {
1165
1165
  return d[y] = 1;
1166
- }), r = d), r = bs(o, r)), _ = o.length; _--; )
1166
+ }), r = d), r = vs(o, r)), _ = o.length; _--; )
1167
1167
  if (~l.indexOf(o[_])) {
1168
1168
  f = h[_], r === "all" ? (u[_] = r, p = f, g = {}) : (g = u[_] = u[_] || {}, p = r);
1169
1169
  for (d in p)
@@ -1209,19 +1209,19 @@ ne("staggerTo,staggerFrom,staggerFromTo", function(a) {
1209
1209
  });
1210
1210
  var Ui = function(e, t, i) {
1211
1211
  return e[t] = i;
1212
- }, dr = function(e, t, i) {
1212
+ }, pr = function(e, t, i) {
1213
1213
  return e[t](i);
1214
- }, Es = function(e, t, i, n) {
1214
+ }, ws = function(e, t, i, n) {
1215
1215
  return e[t](n.fp, i);
1216
- }, ws = function(e, t, i) {
1216
+ }, Ps = function(e, t, i) {
1217
1217
  return e.setAttribute(t, i);
1218
1218
  }, Fi = function(e, t) {
1219
- return G(e[t]) ? dr : Ai(e[t]) && e.setAttribute ? ws : Ui;
1220
- }, pr = function(e, t) {
1219
+ return G(e[t]) ? pr : Ai(e[t]) && e.setAttribute ? Ps : Ui;
1220
+ }, fr = function(e, t) {
1221
1221
  return t.set(t.t, t.p, Math.round((t.s + t.c * e) * 1e6) / 1e6, t);
1222
- }, Ps = function(e, t) {
1222
+ }, Cs = function(e, t) {
1223
1223
  return t.set(t.t, t.p, !!(t.s + t.c * e), t);
1224
- }, fr = function(e, t) {
1224
+ }, mr = function(e, t) {
1225
1225
  var i = t._pt, n = "";
1226
1226
  if (!e && t.b)
1227
1227
  n = t.b;
@@ -1236,16 +1236,16 @@ var Ui = function(e, t, i) {
1236
1236
  }, zi = function(e, t) {
1237
1237
  for (var i = t._pt; i; )
1238
1238
  i.r(e, i.d), i = i._next;
1239
- }, Cs = function(e, t, i, n) {
1239
+ }, As = function(e, t, i, n) {
1240
1240
  for (var r = this._pt, s; r; )
1241
1241
  s = r._next, r.p === n && r.modifier(e, t, i), r = s;
1242
- }, As = function(e) {
1242
+ }, Ts = function(e) {
1243
1243
  for (var t = this._pt, i, n; t; )
1244
1244
  n = t._next, t.p === e && !t.op || t.op === e ? Zt(this, t, "_pt") : t.dep || (i = 1), t = n;
1245
1245
  return !i;
1246
- }, Ts = function(e, t, i, n) {
1246
+ }, Ss = function(e, t, i, n) {
1247
1247
  n.mSet(e, t, n.m.call(n.tween, i, n.mt), n);
1248
- }, mr = function(e) {
1248
+ }, gr = function(e) {
1249
1249
  for (var t = e._pt, i, n, r, s; t; ) {
1250
1250
  for (i = t._next, n = r; n && n.pr > t.pr; )
1251
1251
  n = n._next;
@@ -1254,11 +1254,11 @@ var Ui = function(e, t, i) {
1254
1254
  e._pt = r;
1255
1255
  }, re = /* @__PURE__ */ (function() {
1256
1256
  function a(t, i, n, r, s, o, l, h, c) {
1257
- this.t = i, this.s = r, this.c = s, this.p = n, this.r = o || pr, this.d = l || this, this.set = h || Ui, this.pr = c || 0, this._next = t, t && (t._prev = this);
1257
+ this.t = i, this.s = r, this.c = s, this.p = n, this.r = o || fr, this.d = l || this, this.set = h || Ui, this.pr = c || 0, this._next = t, t && (t._prev = this);
1258
1258
  }
1259
1259
  var e = a.prototype;
1260
1260
  return e.modifier = function(i, n, r) {
1261
- this.mSet = this.mSet || this.set, this.set = Ts, this.m = i, this.mt = r, this.tween = n;
1261
+ this.mSet = this.mSet || this.set, this.set = Ss, this.m = i, this.mt = r, this.tween = n;
1262
1262
  }, a;
1263
1263
  })();
1264
1264
  ne(Ri + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(a) {
@@ -1273,9 +1273,9 @@ N = new J({
1273
1273
  id: "root",
1274
1274
  smoothChildTiming: !0
1275
1275
  });
1276
- ue.stringFilter = rr;
1277
- var Ke = [], zt = {}, Ss = [], tn = 0, Ms = 0, ti = function(e) {
1278
- return (zt[e] || Ss).map(function(t) {
1276
+ ue.stringFilter = sr;
1277
+ var Ke = [], zt = {}, Ms = [], tn = 0, Ds = 0, ti = function(e) {
1278
+ return (zt[e] || Ms).map(function(t) {
1279
1279
  return t();
1280
1280
  });
1281
1281
  }, yi = function() {
@@ -1290,9 +1290,9 @@ var Ke = [], zt = {}, Ss = [], tn = 0, Ms = 0, ti = function(e) {
1290
1290
  return i.add(null, n);
1291
1291
  });
1292
1292
  }), tn = e, ti("matchMedia"));
1293
- }, gr = /* @__PURE__ */ (function() {
1293
+ }, _r = /* @__PURE__ */ (function() {
1294
1294
  function a(t, i) {
1295
- this.selector = i && mi(i), this.data = [], this._r = [], this.isReverted = !1, this.id = Ms++, t && this.add(t);
1295
+ this.selector = i && mi(i), this.data = [], this._r = [], this.isReverted = !1, this.id = Ds++, t && this.add(t);
1296
1296
  }
1297
1297
  var e = a.prototype;
1298
1298
  return e.add = function(i, n, r) {
@@ -1343,7 +1343,7 @@ var Ke = [], zt = {}, Ss = [], tn = 0, Ms = 0, ti = function(e) {
1343
1343
  }, e.revert = function(i) {
1344
1344
  this.kill(i || {});
1345
1345
  }, a;
1346
- })(), Ds = /* @__PURE__ */ (function() {
1346
+ })(), Rs = /* @__PURE__ */ (function() {
1347
1347
  function a(t) {
1348
1348
  this.contexts = [], this.scope = t, z && z.data.push(this);
1349
1349
  }
@@ -1352,7 +1352,7 @@ var Ke = [], zt = {}, Ss = [], tn = 0, Ms = 0, ti = function(e) {
1352
1352
  we(i) || (i = {
1353
1353
  matches: i
1354
1354
  });
1355
- var s = new gr(0, r || this.scope), o = s.conditions = {}, l, h, c;
1355
+ var s = new _r(0, r || this.scope), o = s.conditions = {}, l, h, c;
1356
1356
  z && !s.selector && (s.selector = z.selector), this.contexts.push(s), n = s.add("onMatch", n), s.queries = i;
1357
1357
  for (h in i)
1358
1358
  h === "all" ? c = 1 : (l = xe.matchMedia(i[h]), l && (Ke.indexOf(s) < 0 && Ke.push(s), (o[h] = l.matches) && (c = 1), l.addListener ? l.addListener(yi) : l.addEventListener("change", yi)));
@@ -1371,7 +1371,7 @@ var Ke = [], zt = {}, Ss = [], tn = 0, Ms = 0, ti = function(e) {
1371
1371
  for (var e = arguments.length, t = new Array(e), i = 0; i < e; i++)
1372
1372
  t[i] = arguments[i];
1373
1373
  t.forEach(function(n) {
1374
- return tr(n);
1374
+ return ir(n);
1375
1375
  });
1376
1376
  },
1377
1377
  timeline: function(e) {
@@ -1382,7 +1382,7 @@ var Ke = [], zt = {}, Ss = [], tn = 0, Ms = 0, ti = function(e) {
1382
1382
  },
1383
1383
  getProperty: function(e, t, i, n) {
1384
1384
  K(e) && (e = _e(e)[0]);
1385
- var r = He(e || {}).get, s = i ? Gn : $n;
1385
+ var r = He(e || {}).get, s = i ? Vn : Gn;
1386
1386
  return i === "native" && (i = ""), e && (t ? s((le[t] && le[t].get || r)(e, t, i, n)) : function(o, l, h) {
1387
1387
  return s((le[o] && le[o].get || r)(e, o, l, h));
1388
1388
  });
@@ -1448,10 +1448,10 @@ var Ke = [], zt = {}, Ss = [], tn = 0, Ms = 0, ti = function(e) {
1448
1448
  return be(N, i, 0), i;
1449
1449
  },
1450
1450
  context: function(e, t) {
1451
- return e ? new gr(e, t) : z;
1451
+ return e ? new _r(e, t) : z;
1452
1452
  },
1453
1453
  matchMedia: function(e) {
1454
- return new Ds(e);
1454
+ return new Rs(e);
1455
1455
  },
1456
1456
  matchMediaRefresh: function() {
1457
1457
  return Ke.forEach(function(e) {
@@ -1470,24 +1470,24 @@ var Ke = [], zt = {}, Ss = [], tn = 0, Ms = 0, ti = function(e) {
1470
1470
  n >= 0 && i.splice(n, 1);
1471
1471
  },
1472
1472
  utils: {
1473
- wrap: ls,
1474
- wrapYoyo: hs,
1475
- distribute: Wn,
1476
- random: qn,
1477
- snap: Xn,
1478
- normalize: os,
1473
+ wrap: hs,
1474
+ wrapYoyo: cs,
1475
+ distribute: Xn,
1476
+ random: Qn,
1477
+ snap: qn,
1478
+ normalize: ls,
1479
1479
  getUnit: X,
1480
- clamp: ns,
1481
- splitColor: ir,
1480
+ clamp: rs,
1481
+ splitColor: nr,
1482
1482
  toArray: _e,
1483
1483
  selector: mi,
1484
- mapRange: Jn,
1485
- pipe: ss,
1486
- unitize: as,
1487
- interpolate: cs,
1488
- shuffle: Kn
1484
+ mapRange: er,
1485
+ pipe: as,
1486
+ unitize: os,
1487
+ interpolate: us,
1488
+ shuffle: Wn
1489
1489
  },
1490
- install: Un,
1490
+ install: Fn,
1491
1491
  effects: qt,
1492
1492
  ticker: he,
1493
1493
  updateRoot: J.updateRoot,
@@ -1495,7 +1495,7 @@ var Ke = [], zt = {}, Ss = [], tn = 0, Ms = 0, ti = function(e) {
1495
1495
  globalTimeline: N,
1496
1496
  core: {
1497
1497
  PropTween: re,
1498
- globals: Fn,
1498
+ globals: zn,
1499
1499
  Tween: j,
1500
1500
  Timeline: J,
1501
1501
  Animation: At,
@@ -1519,15 +1519,15 @@ he.add(J.updateRoot);
1519
1519
  tt = jt.to({}, {
1520
1520
  duration: 0
1521
1521
  });
1522
- var Rs = function(e, t) {
1522
+ var Os = function(e, t) {
1523
1523
  for (var i = e._pt; i && i.p !== t && i.op !== t && i.fp !== t; )
1524
1524
  i = i._next;
1525
1525
  return i;
1526
- }, Os = function(e, t) {
1526
+ }, Is = function(e, t) {
1527
1527
  var i = e._targets, n, r, s;
1528
1528
  for (n in t)
1529
1529
  for (r = i.length; r--; )
1530
- s = e._ptLookup[r][n], s && (s = s.d) && (s._pt && (s = Rs(s, n)), s && s.modifier && s.modifier(t[n], e, i[r], n));
1530
+ s = e._ptLookup[r][n], s && (s = s.d) && (s._pt && (s = Os(s, n)), s && s.modifier && s.modifier(t[n], e, i[r], n));
1531
1531
  }, ii = function(e, t) {
1532
1532
  return {
1533
1533
  name: e,
@@ -1545,7 +1545,7 @@ var Rs = function(e, t) {
1545
1545
  l[h] = t(r[h]);
1546
1546
  r = l;
1547
1547
  }
1548
- Os(o, r);
1548
+ Is(o, r);
1549
1549
  };
1550
1550
  }
1551
1551
  };
@@ -1568,9 +1568,9 @@ var Rs = function(e, t) {
1568
1568
  for (var i = t.length; i--; )
1569
1569
  this.add(e, i, e[i] || 0, t[i], 0, 0, 0, 0, 0, 1);
1570
1570
  }
1571
- }, ii("roundProps", gi), ii("modifiers"), ii("snap", Xn)) || jt;
1571
+ }, ii("roundProps", gi), ii("modifiers"), ii("snap", qn)) || jt;
1572
1572
  j.version = J.version = ae.version = "3.13.0";
1573
- kn = 1;
1573
+ Un = 1;
1574
1574
  Ti() && ut();
1575
1575
  M.Power0;
1576
1576
  M.Power1;
@@ -1590,40 +1590,40 @@ M.Bounce;
1590
1590
  M.Sine;
1591
1591
  M.Expo;
1592
1592
  M.Circ;
1593
- var nn, De, st, Ni, Ve, rn, Bi, Is = function() {
1593
+ var nn, De, st, Ni, Ve, rn, Bi, Ls = function() {
1594
1594
  return typeof window < "u";
1595
- }, Se = {}, Ge = 180 / Math.PI, at = Math.PI / 180, qe = Math.atan2, sn = 1e8, $i = /([A-Z])/g, Ls = /(left|right|width|margin|padding|x)/i, ks = /[\s,\(]\S/, ve = {
1595
+ }, Se = {}, Ge = 180 / Math.PI, at = Math.PI / 180, qe = Math.atan2, sn = 1e8, $i = /([A-Z])/g, ks = /(left|right|width|margin|padding|x)/i, Us = /[\s,\(]\S/, ve = {
1596
1596
  autoAlpha: "opacity,visibility",
1597
1597
  scale: "scaleX,scaleY",
1598
1598
  alpha: "opacity"
1599
1599
  }, xi = function(e, t) {
1600
1600
  return t.set(t.t, t.p, Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u, t);
1601
- }, Us = function(e, t) {
1602
- return t.set(t.t, t.p, e === 1 ? t.e : Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u, t);
1603
1601
  }, Fs = function(e, t) {
1604
- return t.set(t.t, t.p, e ? Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u : t.b, t);
1602
+ return t.set(t.t, t.p, e === 1 ? t.e : Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u, t);
1605
1603
  }, zs = function(e, t) {
1604
+ return t.set(t.t, t.p, e ? Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u : t.b, t);
1605
+ }, Ns = function(e, t) {
1606
1606
  var i = t.s + t.c * e;
1607
1607
  t.set(t.t, t.p, ~~(i + (i < 0 ? -0.5 : 0.5)) + t.u, t);
1608
- }, _r = function(e, t) {
1609
- return t.set(t.t, t.p, e ? t.e : t.b, t);
1610
1608
  }, yr = function(e, t) {
1609
+ return t.set(t.t, t.p, e ? t.e : t.b, t);
1610
+ }, xr = function(e, t) {
1611
1611
  return t.set(t.t, t.p, e !== 1 ? t.b : t.e, t);
1612
- }, Ns = function(e, t, i) {
1613
- return e.style[t] = i;
1614
1612
  }, Bs = function(e, t, i) {
1615
- return e.style.setProperty(t, i);
1613
+ return e.style[t] = i;
1616
1614
  }, $s = function(e, t, i) {
1617
- return e._gsap[t] = i;
1615
+ return e.style.setProperty(t, i);
1618
1616
  }, Gs = function(e, t, i) {
1617
+ return e._gsap[t] = i;
1618
+ }, Vs = function(e, t, i) {
1619
1619
  return e._gsap.scaleX = e._gsap.scaleY = i;
1620
- }, Vs = function(e, t, i, n, r) {
1620
+ }, js = function(e, t, i, n, r) {
1621
1621
  var s = e._gsap;
1622
1622
  s.scaleX = s.scaleY = i, s.renderTransform(r, s);
1623
- }, js = function(e, t, i, n, r) {
1623
+ }, Hs = function(e, t, i, n, r) {
1624
1624
  var s = e._gsap;
1625
1625
  s[t] = i, s.renderTransform(r, s);
1626
- }, B = "transform", se = B + "Origin", Hs = function a(e, t) {
1626
+ }, B = "transform", se = B + "Origin", Ys = function a(e, t) {
1627
1627
  var i = this, n = this.target, r = n.style, s = n._gsap;
1628
1628
  if (e in Se && r) {
1629
1629
  if (this.tfm = this.tfm || {}, e !== "transform")
@@ -1639,28 +1639,28 @@ var nn, De, st, Ni, Ve, rn, Bi, Is = function() {
1639
1639
  s.svg && (this.svgo = n.getAttribute("data-svg-origin"), this.props.push(se, t, "")), e = B;
1640
1640
  }
1641
1641
  (r || t) && this.props.push(e, t, r[e]);
1642
- }, xr = function(e) {
1642
+ }, br = function(e) {
1643
1643
  e.translate && (e.removeProperty("translate"), e.removeProperty("scale"), e.removeProperty("rotate"));
1644
- }, Ys = function() {
1644
+ }, Zs = function() {
1645
1645
  var e = this.props, t = this.target, i = t.style, n = t._gsap, r, s;
1646
1646
  for (r = 0; r < e.length; r += 3)
1647
1647
  e[r + 1] ? e[r + 1] === 2 ? t[e[r]](e[r + 2]) : t[e[r]] = e[r + 2] : e[r + 2] ? i[e[r]] = e[r + 2] : i.removeProperty(e[r].substr(0, 2) === "--" ? e[r] : e[r].replace($i, "-$1").toLowerCase());
1648
1648
  if (this.tfm) {
1649
1649
  for (s in this.tfm)
1650
1650
  n[s] = this.tfm[s];
1651
- n.svg && (n.renderTransform(), t.setAttribute("data-svg-origin", this.svgo || "")), r = Bi(), (!r || !r.isStart) && !i[B] && (xr(i), n.zOrigin && i[se] && (i[se] += " " + n.zOrigin + "px", n.zOrigin = 0, n.renderTransform()), n.uncache = 1);
1651
+ n.svg && (n.renderTransform(), t.setAttribute("data-svg-origin", this.svgo || "")), r = Bi(), (!r || !r.isStart) && !i[B] && (br(i), n.zOrigin && i[se] && (i[se] += " " + n.zOrigin + "px", n.zOrigin = 0, n.renderTransform()), n.uncache = 1);
1652
1652
  }
1653
- }, br = function(e, t) {
1653
+ }, vr = function(e, t) {
1654
1654
  var i = {
1655
1655
  target: e,
1656
1656
  props: [],
1657
- revert: Ys,
1658
- save: Hs
1657
+ revert: Zs,
1658
+ save: Ys
1659
1659
  };
1660
1660
  return e._gsap || ae.core.getCache(e), t && e.style && e.nodeType && t.split(",").forEach(function(n) {
1661
1661
  return i.save(n);
1662
1662
  }), i;
1663
- }, vr, bi = function(e, t) {
1663
+ }, Er, bi = function(e, t) {
1664
1664
  var i = De.createElementNS ? De.createElementNS((t || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), e) : De.createElement(e);
1665
1665
  return i && i.style ? i : De.createElement(e);
1666
1666
  }, ye = function a(e, t, i) {
@@ -1674,9 +1674,9 @@ var nn, De, st, Ni, Ve, rn, Bi, Is = function() {
1674
1674
  ;
1675
1675
  return s < 0 ? null : (s === 3 ? "ms" : s >= 0 ? an[s] : "") + e;
1676
1676
  }, vi = function() {
1677
- Is() && window.document && (nn = window, De = nn.document, st = De.documentElement, Ve = bi("div") || {
1677
+ Ls() && window.document && (nn = window, De = nn.document, st = De.documentElement, Ve = bi("div") || {
1678
1678
  style: {}
1679
- }, bi("div"), B = dt(B), se = B + "Origin", Ve.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", vr = !!dt("perspective"), Bi = ae.core.reverting, Ni = 1);
1679
+ }, bi("div"), B = dt(B), se = B + "Origin", Ve.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", Er = !!dt("perspective"), Bi = ae.core.reverting, Ni = 1);
1680
1680
  }, on = function(e) {
1681
1681
  var t = e.ownerSVGElement, i = bi("svg", t && t.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), n = e.cloneNode(!0), r;
1682
1682
  n.style.display = "block", i.appendChild(n), st.appendChild(i);
@@ -1689,7 +1689,7 @@ var nn, De, st, Ni, Ve, rn, Bi, Is = function() {
1689
1689
  for (var i = t.length; i--; )
1690
1690
  if (e.hasAttribute(t[i]))
1691
1691
  return e.getAttribute(t[i]);
1692
- }, Er = function(e) {
1692
+ }, wr = function(e) {
1693
1693
  var t, i;
1694
1694
  try {
1695
1695
  t = e.getBBox();
@@ -1702,28 +1702,28 @@ var nn, De, st, Ni, Ve, rn, Bi, Is = function() {
1702
1702
  width: 0,
1703
1703
  height: 0
1704
1704
  } : t;
1705
- }, wr = function(e) {
1706
- return !!(e.getCTM && (!e.parentNode || e.ownerSVGElement) && Er(e));
1705
+ }, Pr = function(e) {
1706
+ return !!(e.getCTM && (!e.parentNode || e.ownerSVGElement) && wr(e));
1707
1707
  }, We = function(e, t) {
1708
1708
  if (t) {
1709
1709
  var i = e.style, n;
1710
1710
  t in Se && t !== se && (t = B), i.removeProperty ? (n = t.substr(0, 2), (n === "ms" || t.substr(0, 6) === "webkit") && (t = "-" + t), i.removeProperty(n === "--" ? t : t.replace($i, "-$1").toLowerCase())) : i.removeAttribute(t);
1711
1711
  }
1712
1712
  }, Re = function(e, t, i, n, r, s) {
1713
- var o = new re(e._pt, t, i, 0, 1, s ? yr : _r);
1713
+ var o = new re(e._pt, t, i, 0, 1, s ? xr : yr);
1714
1714
  return e._pt = o, o.b = n, o.e = r, e._props.push(i), o;
1715
1715
  }, hn = {
1716
1716
  deg: 1,
1717
1717
  rad: 1,
1718
1718
  turn: 1
1719
- }, Zs = {
1719
+ }, Ks = {
1720
1720
  grid: 1,
1721
1721
  flex: 1
1722
1722
  }, Ue = function a(e, t, i, n) {
1723
- var r = parseFloat(i) || 0, s = (i + "").trim().substr((r + "").length) || "px", o = Ve.style, l = Ls.test(t), h = e.tagName.toLowerCase() === "svg", c = (h ? "client" : "offset") + (l ? "Width" : "Height"), u = 100, f = n === "px", g = n === "%", p, d, m, _;
1723
+ var r = parseFloat(i) || 0, s = (i + "").trim().substr((r + "").length) || "px", o = Ve.style, l = ks.test(t), h = e.tagName.toLowerCase() === "svg", c = (h ? "client" : "offset") + (l ? "Width" : "Height"), u = 100, f = n === "px", g = n === "%", p, d, m, _;
1724
1724
  if (n === s || !r || hn[n] || hn[s])
1725
1725
  return r;
1726
- if (s !== "px" && !f && (r = a(e, t, i, "px")), _ = e.getCTM && wr(e), (g || s === "%") && (Se[t] || ~t.indexOf("adius")))
1726
+ if (s !== "px" && !f && (r = a(e, t, i, "px")), _ = e.getCTM && Pr(e), (g || s === "%") && (Se[t] || ~t.indexOf("adius")))
1727
1727
  return p = _ ? e.getBBox()[l ? "width" : "height"] : e[c], V(g ? r / p * u : r / 100 * p);
1728
1728
  if (o[l ? "width" : "height"] = u + (f ? s : n), d = n !== "rem" && ~t.indexOf("adius") || n === "em" && e.appendChild && !h ? e : e.parentNode, _ && (d = (e.ownerSVGElement || {}).parentNode), (!d || d === De || !d.appendChild) && (d = De.body), m = d._gsap, m && g && m.width && l && m.time === he.time && !m.uncache)
1729
1729
  return V(r / m.width * u);
@@ -1731,18 +1731,18 @@ var nn, De, st, Ni, Ve, rn, Bi, Is = function() {
1731
1731
  var y = e.style[t];
1732
1732
  e.style[t] = u + n, p = e[c], y ? e.style[t] = y : We(e, t);
1733
1733
  } else
1734
- (g || s === "%") && !Zs[ye(d, "display")] && (o.position = ye(e, "position")), d === e && (o.position = "static"), d.appendChild(Ve), p = Ve[c], d.removeChild(Ve), o.position = "absolute";
1734
+ (g || s === "%") && !Ks[ye(d, "display")] && (o.position = ye(e, "position")), d === e && (o.position = "static"), d.appendChild(Ve), p = Ve[c], d.removeChild(Ve), o.position = "absolute";
1735
1735
  return l && g && (m = He(d), m.time = he.time, m.width = d[c]), V(f ? p * r / u : p && r ? u / p * r : 0);
1736
1736
  }, Ae = function(e, t, i, n) {
1737
1737
  var r;
1738
- return Ni || vi(), t in ve && t !== "transform" && (t = ve[t], ~t.indexOf(",") && (t = t.split(",")[0])), Se[t] && t !== "transform" ? (r = St(e, n), r = t !== "transformOrigin" ? r[t] : r.svg ? r.origin : Yt(ye(e, se)) + " " + r.zOrigin + "px") : (r = e.style[t], (!r || r === "auto" || n || ~(r + "").indexOf("calc(")) && (r = Ht[t] && Ht[t](e, t, i) || ye(e, t) || Nn(e, t) || (t === "opacity" ? 1 : 0))), i && !~(r + "").trim().indexOf(" ") ? Ue(e, t, r, i) + i : r;
1739
- }, Ks = function(e, t, i, n) {
1738
+ return Ni || vi(), t in ve && t !== "transform" && (t = ve[t], ~t.indexOf(",") && (t = t.split(",")[0])), Se[t] && t !== "transform" ? (r = St(e, n), r = t !== "transformOrigin" ? r[t] : r.svg ? r.origin : Yt(ye(e, se)) + " " + r.zOrigin + "px") : (r = e.style[t], (!r || r === "auto" || n || ~(r + "").indexOf("calc(")) && (r = Ht[t] && Ht[t](e, t, i) || ye(e, t) || Bn(e, t) || (t === "opacity" ? 1 : 0))), i && !~(r + "").trim().indexOf(" ") ? Ue(e, t, r, i) + i : r;
1739
+ }, Ws = function(e, t, i, n) {
1740
1740
  if (!i || i === "none") {
1741
1741
  var r = dt(t, e, 1), s = r && ye(e, r, 1);
1742
1742
  s && s !== i ? (t = r, i = s) : t === "borderColor" && (i = ye(e, "borderTopColor"));
1743
1743
  }
1744
- var o = new re(this._pt, e.style, t, 0, 1, fr), l = 0, h = 0, c, u, f, g, p, d, m, _, y, x, b, v;
1745
- if (o.b = i, o.e = n, i += "", n += "", n.substring(0, 6) === "var(--" && (n = ye(e, n.substring(4, n.indexOf(")")))), n === "auto" && (d = e.style[t], e.style[t] = n, n = ye(e, t) || n, d ? e.style[t] = d : We(e, t)), c = [i, n], rr(c), i = c[0], n = c[1], f = i.match(et) || [], v = n.match(et) || [], v.length) {
1744
+ var o = new re(this._pt, e.style, t, 0, 1, mr), l = 0, h = 0, c, u, f, g, p, d, m, _, y, x, b, v;
1745
+ if (o.b = i, o.e = n, i += "", n += "", n.substring(0, 6) === "var(--" && (n = ye(e, n.substring(4, n.indexOf(")")))), n === "auto" && (d = e.style[t], e.style[t] = n, n = ye(e, t) || n, d ? e.style[t] = d : We(e, t)), c = [i, n], sr(c), i = c[0], n = c[1], f = i.match(et) || [], v = n.match(et) || [], v.length) {
1746
1746
  for (; u = et.exec(n); )
1747
1747
  m = u[0], y = n.substring(l, u.index), p ? p = (p + 1) % 5 : (y.substr(-5) === "rgba(" || y.substr(-5) === "hsla(") && (p = 1), m !== (d = f[h++] || "") && (g = parseFloat(d) || 0, b = d.substr((g + "").length), m.charAt(1) === "=" && (m = rt(g, m) + b), _ = parseFloat(m), x = m.substr((_ + "").length), l = et.lastIndex - x.length, x || (x = x || ue.units[t] || b, l === n.length && (n += x, o.e += x)), b !== x && (g = Ue(e, t, d, x) || 0), o._pt = {
1748
1748
  _next: o._pt,
@@ -1754,18 +1754,18 @@ var nn, De, st, Ni, Ve, rn, Bi, Is = function() {
1754
1754
  });
1755
1755
  o.c = l < n.length ? n.substring(l, n.length) : "";
1756
1756
  } else
1757
- o.r = t === "display" && n === "none" ? yr : _r;
1758
- return In.test(n) && (o.e = 0), this._pt = o, o;
1757
+ o.r = t === "display" && n === "none" ? xr : yr;
1758
+ return Ln.test(n) && (o.e = 0), this._pt = o, o;
1759
1759
  }, cn = {
1760
1760
  top: "0%",
1761
1761
  bottom: "100%",
1762
1762
  left: "0%",
1763
1763
  right: "100%",
1764
1764
  center: "50%"
1765
- }, Ws = function(e) {
1765
+ }, Xs = function(e) {
1766
1766
  var t = e.split(" "), i = t[0], n = t[1] || "50%";
1767
1767
  return (i === "top" || i === "bottom" || n === "left" || n === "right") && (e = i, i = n, n = e), t[0] = cn[i] || i, t[1] = cn[n] || n, t.join(" ");
1768
- }, Xs = function(e, t) {
1768
+ }, qs = function(e, t) {
1769
1769
  if (t.tween && t.tween._time === t.tween._dur) {
1770
1770
  var i = t.t, n = i.style, r = t.u, s = i._gsap, o, l, h;
1771
1771
  if (r === "all" || r === !0)
@@ -1773,12 +1773,12 @@ var nn, De, st, Ni, Ve, rn, Bi, Is = function() {
1773
1773
  else
1774
1774
  for (r = r.split(","), h = r.length; --h > -1; )
1775
1775
  o = r[h], Se[o] && (l = 1, o = o === "transformOrigin" ? se : B), We(i, o);
1776
- l && (We(i, B), s && (s.svg && i.removeAttribute("transform"), n.scale = n.rotate = n.translate = "none", St(i, 1), s.uncache = 1, xr(n)));
1776
+ l && (We(i, B), s && (s.svg && i.removeAttribute("transform"), n.scale = n.rotate = n.translate = "none", St(i, 1), s.uncache = 1, br(n)));
1777
1777
  }
1778
1778
  }, Ht = {
1779
1779
  clearProps: function(e, t, i, n, r) {
1780
1780
  if (r.data !== "isFromStart") {
1781
- var s = e._pt = new re(e._pt, t, i, 0, 0, Xs);
1781
+ var s = e._pt = new re(e._pt, t, i, 0, 0, qs);
1782
1782
  return s.u = n, s.pr = -10, s.tween = r, e._props.push(i), 1;
1783
1783
  }
1784
1784
  }
@@ -1845,48 +1845,48 @@ var nn, De, st, Ni, Ve, rn, Bi, Is = function() {
1845
1845
  return 1;
1846
1846
  }
1847
1847
  */
1848
- }, Tt = [1, 0, 0, 1, 0, 0], Pr = {}, Cr = function(e) {
1848
+ }, Tt = [1, 0, 0, 1, 0, 0], Cr = {}, Ar = function(e) {
1849
1849
  return e === "matrix(1, 0, 0, 1, 0, 0)" || e === "none" || !e;
1850
1850
  }, un = function(e) {
1851
1851
  var t = ye(e, B);
1852
- return Cr(t) ? Tt : t.substr(7).match(On).map(V);
1852
+ return Ar(t) ? Tt : t.substr(7).match(In).map(V);
1853
1853
  }, Gi = function(e, t) {
1854
1854
  var i = e._gsap || He(e), n = e.style, r = un(e), s, o, l, h;
1855
1855
  return i.svg && e.getAttribute("transform") ? (l = e.transform.baseVal.consolidate().matrix, r = [l.a, l.b, l.c, l.d, l.e, l.f], r.join(",") === "1,0,0,1,0,0" ? Tt : r) : (r === Tt && !e.offsetParent && e !== st && !i.svg && (l = n.display, n.display = "block", s = e.parentNode, (!s || !e.offsetParent && !e.getBoundingClientRect().width) && (h = 1, o = e.nextElementSibling, st.appendChild(e)), r = un(e), l ? n.display = l : We(e, "display"), h && (o ? s.insertBefore(e, o) : s ? s.appendChild(e) : st.removeChild(e))), t && r.length > 6 ? [r[0], r[1], r[4], r[5], r[12], r[13]] : r);
1856
1856
  }, Ei = function(e, t, i, n, r, s) {
1857
1857
  var o = e._gsap, l = r || Gi(e, !0), h = o.xOrigin || 0, c = o.yOrigin || 0, u = o.xOffset || 0, f = o.yOffset || 0, g = l[0], p = l[1], d = l[2], m = l[3], _ = l[4], y = l[5], x = t.split(" "), b = parseFloat(x[0]) || 0, v = parseFloat(x[1]) || 0, P, E, C, w;
1858
- i ? l !== Tt && (E = g * m - p * d) && (C = b * (m / E) + v * (-d / E) + (d * y - m * _) / E, w = b * (-p / E) + v * (g / E) - (g * y - p * _) / E, b = C, v = w) : (P = Er(e), b = P.x + (~x[0].indexOf("%") ? b / 100 * P.width : b), v = P.y + (~(x[1] || x[0]).indexOf("%") ? v / 100 * P.height : v)), n || n !== !1 && o.smooth ? (_ = b - h, y = v - c, o.xOffset = u + (_ * g + y * d) - _, o.yOffset = f + (_ * p + y * m) - y) : o.xOffset = o.yOffset = 0, o.xOrigin = b, o.yOrigin = v, o.smooth = !!n, o.origin = t, o.originIsAbsolute = !!i, e.style[se] = "0px 0px", s && (Re(s, o, "xOrigin", h, b), Re(s, o, "yOrigin", c, v), Re(s, o, "xOffset", u, o.xOffset), Re(s, o, "yOffset", f, o.yOffset)), e.setAttribute("data-svg-origin", b + " " + v);
1858
+ i ? l !== Tt && (E = g * m - p * d) && (C = b * (m / E) + v * (-d / E) + (d * y - m * _) / E, w = b * (-p / E) + v * (g / E) - (g * y - p * _) / E, b = C, v = w) : (P = wr(e), b = P.x + (~x[0].indexOf("%") ? b / 100 * P.width : b), v = P.y + (~(x[1] || x[0]).indexOf("%") ? v / 100 * P.height : v)), n || n !== !1 && o.smooth ? (_ = b - h, y = v - c, o.xOffset = u + (_ * g + y * d) - _, o.yOffset = f + (_ * p + y * m) - y) : o.xOffset = o.yOffset = 0, o.xOrigin = b, o.yOrigin = v, o.smooth = !!n, o.origin = t, o.originIsAbsolute = !!i, e.style[se] = "0px 0px", s && (Re(s, o, "xOrigin", h, b), Re(s, o, "yOrigin", c, v), Re(s, o, "xOffset", u, o.xOffset), Re(s, o, "yOffset", f, o.yOffset)), e.setAttribute("data-svg-origin", b + " " + v);
1859
1859
  }, St = function(e, t) {
1860
- var i = e._gsap || new lr(e);
1860
+ var i = e._gsap || new hr(e);
1861
1861
  if ("x" in i && !t && !i.uncache)
1862
1862
  return i;
1863
1863
  var n = e.style, r = i.scaleX < 0, s = "px", o = "deg", l = getComputedStyle(e), h = ye(e, se) || "0", c, u, f, g, p, d, m, _, y, x, b, v, P, E, C, w, S, D, T, R, O, $, F, U, ee, pt, ft, mt, ze, Yi, Pe, Ne;
1864
- return c = u = f = d = m = _ = y = x = b = 0, g = p = 1, i.svg = !!(e.getCTM && wr(e)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (n[B] = (l.translate !== "none" ? "translate3d(" + (l.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (l.rotate !== "none" ? "rotate(" + l.rotate + ") " : "") + (l.scale !== "none" ? "scale(" + l.scale.split(" ").join(",") + ") " : "") + (l[B] !== "none" ? l[B] : "")), n.scale = n.rotate = n.translate = "none"), E = Gi(e, i.svg), i.svg && (i.uncache ? (ee = e.getBBox(), h = i.xOrigin - ee.x + "px " + (i.yOrigin - ee.y) + "px", U = "") : U = !t && e.getAttribute("data-svg-origin"), Ei(e, U || h, !!U || i.originIsAbsolute, i.smooth !== !1, E)), v = i.xOrigin || 0, P = i.yOrigin || 0, E !== Tt && (D = E[0], T = E[1], R = E[2], O = E[3], c = $ = E[4], u = F = E[5], E.length === 6 ? (g = Math.sqrt(D * D + T * T), p = Math.sqrt(O * O + R * R), d = D || T ? qe(T, D) * Ge : 0, y = R || O ? qe(R, O) * Ge + d : 0, y && (p *= Math.abs(Math.cos(y * at))), i.svg && (c -= v - (v * D + P * R), u -= P - (v * T + P * O))) : (Ne = E[6], Yi = E[7], ft = E[8], mt = E[9], ze = E[10], Pe = E[11], c = E[12], u = E[13], f = E[14], C = qe(Ne, ze), m = C * Ge, C && (w = Math.cos(-C), S = Math.sin(-C), U = $ * w + ft * S, ee = F * w + mt * S, pt = Ne * w + ze * S, ft = $ * -S + ft * w, mt = F * -S + mt * w, ze = Ne * -S + ze * w, Pe = Yi * -S + Pe * w, $ = U, F = ee, Ne = pt), C = qe(-R, ze), _ = C * Ge, C && (w = Math.cos(-C), S = Math.sin(-C), U = D * w - ft * S, ee = T * w - mt * S, pt = R * w - ze * S, Pe = O * S + Pe * w, D = U, T = ee, R = pt), C = qe(T, D), d = C * Ge, C && (w = Math.cos(C), S = Math.sin(C), U = D * w + T * S, ee = $ * w + F * S, T = T * w - D * S, F = F * w - $ * S, D = U, $ = ee), m && Math.abs(m) + Math.abs(d) > 359.9 && (m = d = 0, _ = 180 - _), g = V(Math.sqrt(D * D + T * T + R * R)), p = V(Math.sqrt(F * F + Ne * Ne)), C = qe($, F), y = Math.abs(C) > 2e-4 ? C * Ge : 0, b = Pe ? 1 / (Pe < 0 ? -Pe : Pe) : 0), i.svg && (U = e.getAttribute("transform"), i.forceCSS = e.setAttribute("transform", "") || !Cr(ye(e, B)), U && e.setAttribute("transform", U))), Math.abs(y) > 90 && Math.abs(y) < 270 && (r ? (g *= -1, y += d <= 0 ? 180 : -180, d += d <= 0 ? 180 : -180) : (p *= -1, y += y <= 0 ? 180 : -180)), t = t || i.uncache, i.x = c - ((i.xPercent = c && (!t && i.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-c) ? -50 : 0))) ? e.offsetWidth * i.xPercent / 100 : 0) + s, i.y = u - ((i.yPercent = u && (!t && i.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-u) ? -50 : 0))) ? e.offsetHeight * i.yPercent / 100 : 0) + s, i.z = f + s, i.scaleX = V(g), i.scaleY = V(p), i.rotation = V(d) + o, i.rotationX = V(m) + o, i.rotationY = V(_) + o, i.skewX = y + o, i.skewY = x + o, i.transformPerspective = b + s, (i.zOrigin = parseFloat(h.split(" ")[2]) || !t && i.zOrigin || 0) && (n[se] = Yt(h)), i.xOffset = i.yOffset = 0, i.force3D = ue.force3D, i.renderTransform = i.svg ? Qs : vr ? Ar : qs, i.uncache = 0, i;
1864
+ return c = u = f = d = m = _ = y = x = b = 0, g = p = 1, i.svg = !!(e.getCTM && Pr(e)), l.translate && ((l.translate !== "none" || l.scale !== "none" || l.rotate !== "none") && (n[B] = (l.translate !== "none" ? "translate3d(" + (l.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (l.rotate !== "none" ? "rotate(" + l.rotate + ") " : "") + (l.scale !== "none" ? "scale(" + l.scale.split(" ").join(",") + ") " : "") + (l[B] !== "none" ? l[B] : "")), n.scale = n.rotate = n.translate = "none"), E = Gi(e, i.svg), i.svg && (i.uncache ? (ee = e.getBBox(), h = i.xOrigin - ee.x + "px " + (i.yOrigin - ee.y) + "px", U = "") : U = !t && e.getAttribute("data-svg-origin"), Ei(e, U || h, !!U || i.originIsAbsolute, i.smooth !== !1, E)), v = i.xOrigin || 0, P = i.yOrigin || 0, E !== Tt && (D = E[0], T = E[1], R = E[2], O = E[3], c = $ = E[4], u = F = E[5], E.length === 6 ? (g = Math.sqrt(D * D + T * T), p = Math.sqrt(O * O + R * R), d = D || T ? qe(T, D) * Ge : 0, y = R || O ? qe(R, O) * Ge + d : 0, y && (p *= Math.abs(Math.cos(y * at))), i.svg && (c -= v - (v * D + P * R), u -= P - (v * T + P * O))) : (Ne = E[6], Yi = E[7], ft = E[8], mt = E[9], ze = E[10], Pe = E[11], c = E[12], u = E[13], f = E[14], C = qe(Ne, ze), m = C * Ge, C && (w = Math.cos(-C), S = Math.sin(-C), U = $ * w + ft * S, ee = F * w + mt * S, pt = Ne * w + ze * S, ft = $ * -S + ft * w, mt = F * -S + mt * w, ze = Ne * -S + ze * w, Pe = Yi * -S + Pe * w, $ = U, F = ee, Ne = pt), C = qe(-R, ze), _ = C * Ge, C && (w = Math.cos(-C), S = Math.sin(-C), U = D * w - ft * S, ee = T * w - mt * S, pt = R * w - ze * S, Pe = O * S + Pe * w, D = U, T = ee, R = pt), C = qe(T, D), d = C * Ge, C && (w = Math.cos(C), S = Math.sin(C), U = D * w + T * S, ee = $ * w + F * S, T = T * w - D * S, F = F * w - $ * S, D = U, $ = ee), m && Math.abs(m) + Math.abs(d) > 359.9 && (m = d = 0, _ = 180 - _), g = V(Math.sqrt(D * D + T * T + R * R)), p = V(Math.sqrt(F * F + Ne * Ne)), C = qe($, F), y = Math.abs(C) > 2e-4 ? C * Ge : 0, b = Pe ? 1 / (Pe < 0 ? -Pe : Pe) : 0), i.svg && (U = e.getAttribute("transform"), i.forceCSS = e.setAttribute("transform", "") || !Ar(ye(e, B)), U && e.setAttribute("transform", U))), Math.abs(y) > 90 && Math.abs(y) < 270 && (r ? (g *= -1, y += d <= 0 ? 180 : -180, d += d <= 0 ? 180 : -180) : (p *= -1, y += y <= 0 ? 180 : -180)), t = t || i.uncache, i.x = c - ((i.xPercent = c && (!t && i.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-c) ? -50 : 0))) ? e.offsetWidth * i.xPercent / 100 : 0) + s, i.y = u - ((i.yPercent = u && (!t && i.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-u) ? -50 : 0))) ? e.offsetHeight * i.yPercent / 100 : 0) + s, i.z = f + s, i.scaleX = V(g), i.scaleY = V(p), i.rotation = V(d) + o, i.rotationX = V(m) + o, i.rotationY = V(_) + o, i.skewX = y + o, i.skewY = x + o, i.transformPerspective = b + s, (i.zOrigin = parseFloat(h.split(" ")[2]) || !t && i.zOrigin || 0) && (n[se] = Yt(h)), i.xOffset = i.yOffset = 0, i.force3D = ue.force3D, i.renderTransform = i.svg ? Js : Er ? Tr : Qs, i.uncache = 0, i;
1865
1865
  }, Yt = function(e) {
1866
1866
  return (e = e.split(" "))[0] + " " + e[1];
1867
1867
  }, ni = function(e, t, i) {
1868
1868
  var n = X(t);
1869
1869
  return V(parseFloat(t) + parseFloat(Ue(e, "x", i + "px", n))) + n;
1870
- }, qs = function(e, t) {
1871
- t.z = "0px", t.rotationY = t.rotationX = "0deg", t.force3D = 0, Ar(e, t);
1872
- }, Be = "0deg", gt = "0px", $e = ") ", Ar = function(e, t) {
1870
+ }, Qs = function(e, t) {
1871
+ t.z = "0px", t.rotationY = t.rotationX = "0deg", t.force3D = 0, Tr(e, t);
1872
+ }, Be = "0deg", gt = "0px", $e = ") ", Tr = function(e, t) {
1873
1873
  var i = t || this, n = i.xPercent, r = i.yPercent, s = i.x, o = i.y, l = i.z, h = i.rotation, c = i.rotationY, u = i.rotationX, f = i.skewX, g = i.skewY, p = i.scaleX, d = i.scaleY, m = i.transformPerspective, _ = i.force3D, y = i.target, x = i.zOrigin, b = "", v = _ === "auto" && e && e !== 1 || _ === !0;
1874
1874
  if (x && (u !== Be || c !== Be)) {
1875
1875
  var P = parseFloat(c) * at, E = Math.sin(P), C = Math.cos(P), w;
1876
1876
  P = parseFloat(u) * at, w = Math.cos(P), s = ni(y, s, E * w * -x), o = ni(y, o, -Math.sin(P) * -x), l = ni(y, l, C * w * -x + x);
1877
1877
  }
1878
1878
  m !== gt && (b += "perspective(" + m + $e), (n || r) && (b += "translate(" + n + "%, " + r + "%) "), (v || s !== gt || o !== gt || l !== gt) && (b += l !== gt || v ? "translate3d(" + s + ", " + o + ", " + l + ") " : "translate(" + s + ", " + o + $e), h !== Be && (b += "rotate(" + h + $e), c !== Be && (b += "rotateY(" + c + $e), u !== Be && (b += "rotateX(" + u + $e), (f !== Be || g !== Be) && (b += "skew(" + f + ", " + g + $e), (p !== 1 || d !== 1) && (b += "scale(" + p + ", " + d + $e), y.style[B] = b || "translate(0, 0)";
1879
- }, Qs = function(e, t) {
1879
+ }, Js = function(e, t) {
1880
1880
  var i = t || this, n = i.xPercent, r = i.yPercent, s = i.x, o = i.y, l = i.rotation, h = i.skewX, c = i.skewY, u = i.scaleX, f = i.scaleY, g = i.target, p = i.xOrigin, d = i.yOrigin, m = i.xOffset, _ = i.yOffset, y = i.forceCSS, x = parseFloat(s), b = parseFloat(o), v, P, E, C, w;
1881
1881
  l = parseFloat(l), h = parseFloat(h), c = parseFloat(c), c && (c = parseFloat(c), h += c, l += c), l || h ? (l *= at, h *= at, v = Math.cos(l) * u, P = Math.sin(l) * u, E = Math.sin(l - h) * -f, C = Math.cos(l - h) * f, h && (c *= at, w = Math.tan(h - c), w = Math.sqrt(1 + w * w), E *= w, C *= w, c && (w = Math.tan(c), w = Math.sqrt(1 + w * w), v *= w, P *= w)), v = V(v), P = V(P), E = V(E), C = V(C)) : (v = u, C = f, P = E = 0), (x && !~(s + "").indexOf("px") || b && !~(o + "").indexOf("px")) && (x = Ue(g, "x", s, "px"), b = Ue(g, "y", o, "px")), (p || d || m || _) && (x = V(x + p - (p * v + d * E) + m), b = V(b + d - (p * P + d * C) + _)), (n || r) && (w = g.getBBox(), x = V(x + n / 100 * w.width), b = V(b + r / 100 * w.height)), w = "matrix(" + v + "," + P + "," + E + "," + C + "," + x + "," + b + ")", g.setAttribute("transform", w), y && (g.style[B] = w);
1882
- }, Js = function(e, t, i, n, r) {
1882
+ }, ea = function(e, t, i, n, r) {
1883
1883
  var s = 360, o = K(r), l = parseFloat(r) * (o && ~r.indexOf("rad") ? Ge : 1), h = l - n, c = n + h + "deg", u, f;
1884
- return o && (u = r.split("_")[1], u === "short" && (h %= s, h !== h % (s / 2) && (h += h < 0 ? s : -s)), u === "cw" && h < 0 ? h = (h + s * sn) % s - ~~(h / s) * s : u === "ccw" && h > 0 && (h = (h - s * sn) % s - ~~(h / s) * s)), e._pt = f = new re(e._pt, t, i, n, h, Us), f.e = c, f.u = "deg", e._props.push(i), f;
1884
+ return o && (u = r.split("_")[1], u === "short" && (h %= s, h !== h % (s / 2) && (h += h < 0 ? s : -s)), u === "cw" && h < 0 ? h = (h + s * sn) % s - ~~(h / s) * s : u === "ccw" && h > 0 && (h = (h - s * sn) % s - ~~(h / s) * s)), e._pt = f = new re(e._pt, t, i, n, h, Fs), f.e = c, f.u = "deg", e._props.push(i), f;
1885
1885
  }, dn = function(e, t) {
1886
1886
  for (var i in t)
1887
1887
  e[i] = t[i];
1888
1888
  return e;
1889
- }, ea = function(e, t, i) {
1889
+ }, ta = function(e, t, i) {
1890
1890
  var n = dn({}, i._gsap), r = "perspective,force3D,transformOrigin,svgOrigin", s = i.style, o, l, h, c, u, f, g, p;
1891
1891
  n.svg ? (h = i.getAttribute("transform"), i.setAttribute("transform", ""), s[B] = t, o = St(i, 1), We(i, B), i.setAttribute("transform", h)) : (h = getComputedStyle(i)[B], s[B] = t, o = St(i, 1), s[B] = h);
1892
1892
  for (l in Se)
@@ -1908,7 +1908,7 @@ ne("padding,margin,Width,Radius", function(a, e) {
1908
1908
  }), o.init(l, g, u);
1909
1909
  };
1910
1910
  });
1911
- var Tr = {
1911
+ var Sr = {
1912
1912
  name: "css",
1913
1913
  register: vi,
1914
1914
  targetTest: function(e) {
@@ -1916,9 +1916,9 @@ var Tr = {
1916
1916
  },
1917
1917
  init: function(e, t, i, n, r) {
1918
1918
  var s = this._props, o = e.style, l = i.vars.startAt, h, c, u, f, g, p, d, m, _, y, x, b, v, P, E, C;
1919
- Ni || vi(), this.styles = this.styles || br(e), C = this.styles.props, this.tween = i;
1919
+ Ni || vi(), this.styles = this.styles || vr(e), C = this.styles.props, this.tween = i;
1920
1920
  for (d in t)
1921
- if (d !== "autoRound" && (c = t[d], !(le[d] && hr(d, t, i, n, e, r)))) {
1921
+ if (d !== "autoRound" && (c = t[d], !(le[d] && cr(d, t, i, n, e, r)))) {
1922
1922
  if (g = typeof c, p = Ht[d], g === "function" && (c = c.call(i, n, e, r), g = typeof c), g === "string" && ~c.indexOf("random(") && (c = Pt(c)), p)
1923
1923
  p(this, e, d, c, i) && (E = 1);
1924
1924
  else if (d.substr(0, 2) === "--")
@@ -1928,13 +1928,13 @@ var Tr = {
1928
1928
  if (this.styles.save(d), g === "string" && c.substring(0, 6) === "var(--" && (c = ye(e, c.substring(4, c.indexOf(")"))), u = parseFloat(c)), b || (v = e._gsap, v.renderTransform && !t.parseTransform || St(e, t.parseTransform), P = t.smoothOrigin !== !1 && v.smooth, b = this._pt = new re(this._pt, o, B, 0, 1, v.renderTransform, v, 0, -1), b.dep = 1), d === "scale")
1929
1929
  this._pt = new re(this._pt, v, "scaleY", v.scaleY, (y ? rt(v.scaleY, y + u) : u) - v.scaleY || 0, xi), this._pt.u = 0, s.push("scaleY", d), d += "X";
1930
1930
  else if (d === "transformOrigin") {
1931
- C.push(se, 0, o[se]), c = Ws(c), v.svg ? Ei(e, c, 0, P, 0, this) : (_ = parseFloat(c.split(" ")[2]) || 0, _ !== v.zOrigin && Re(this, v, "zOrigin", v.zOrigin, _), Re(this, o, d, Yt(h), Yt(c)));
1931
+ C.push(se, 0, o[se]), c = Xs(c), v.svg ? Ei(e, c, 0, P, 0, this) : (_ = parseFloat(c.split(" ")[2]) || 0, _ !== v.zOrigin && Re(this, v, "zOrigin", v.zOrigin, _), Re(this, o, d, Yt(h), Yt(c)));
1932
1932
  continue;
1933
1933
  } else if (d === "svgOrigin") {
1934
1934
  Ei(e, c, 1, P, 0, this);
1935
1935
  continue;
1936
- } else if (d in Pr) {
1937
- Js(this, v, d, f, y ? rt(f, y + c) : c);
1936
+ } else if (d in Cr) {
1937
+ ea(this, v, d, f, y ? rt(f, y + c) : c);
1938
1938
  continue;
1939
1939
  } else if (d === "smoothOrigin") {
1940
1940
  Re(this, v, "smooth", v.smooth, c);
@@ -1943,14 +1943,14 @@ var Tr = {
1943
1943
  v[d] = c;
1944
1944
  continue;
1945
1945
  } else if (d === "transform") {
1946
- ea(this, c, e);
1946
+ ta(this, c, e);
1947
1947
  continue;
1948
1948
  }
1949
1949
  } else d in o || (d = dt(d) || d);
1950
- if (x || (u || u === 0) && (f || f === 0) && !ks.test(c) && d in o)
1951
- m = (h + "").substr((f + "").length), u || (u = 0), _ = X(c) || (d in ue.units ? ue.units[d] : m), m !== _ && (f = Ue(e, d, h, _)), this._pt = new re(this._pt, x ? v : o, d, f, (y ? rt(f, y + u) : u) - f, !x && (_ === "px" || d === "zIndex") && t.autoRound !== !1 ? zs : xi), this._pt.u = _ || 0, m !== _ && _ !== "%" && (this._pt.b = h, this._pt.r = Fs);
1950
+ if (x || (u || u === 0) && (f || f === 0) && !Us.test(c) && d in o)
1951
+ m = (h + "").substr((f + "").length), u || (u = 0), _ = X(c) || (d in ue.units ? ue.units[d] : m), m !== _ && (f = Ue(e, d, h, _)), this._pt = new re(this._pt, x ? v : o, d, f, (y ? rt(f, y + u) : u) - f, !x && (_ === "px" || d === "zIndex") && t.autoRound !== !1 ? Ns : xi), this._pt.u = _ || 0, m !== _ && _ !== "%" && (this._pt.b = h, this._pt.r = zs);
1952
1952
  else if (d in o)
1953
- Ks.call(this, e, d, h, y ? y + c : c);
1953
+ Ws.call(this, e, d, h, y ? y + c : c);
1954
1954
  else if (d in e)
1955
1955
  this.add(e, d, h || e[d], y ? y + c : c, n, r);
1956
1956
  else if (d !== "parseTransform") {
@@ -1960,7 +1960,7 @@ var Tr = {
1960
1960
  x || (d in o ? C.push(d, 0, o[d]) : typeof e[d] == "function" ? C.push(d, 2, e[d]()) : C.push(d, 1, h || e[d])), s.push(d);
1961
1961
  }
1962
1962
  }
1963
- E && mr(this);
1963
+ E && gr(this);
1964
1964
  },
1965
1965
  render: function(e, t) {
1966
1966
  if (t.tween._time || !Bi())
@@ -1973,7 +1973,7 @@ var Tr = {
1973
1973
  aliases: ve,
1974
1974
  getSetter: function(e, t, i) {
1975
1975
  var n = ve[t];
1976
- return n && n.indexOf(",") < 0 && (t = n), t in Se && t !== se && (e._gsap.x || Ae(e, "x")) ? i && rn === i ? t === "scale" ? Gs : $s : (rn = i || {}) && (t === "scale" ? Vs : js) : e.style && !Ai(e.style[t]) ? Ns : ~t.indexOf("-") ? Bs : Fi(e, t);
1976
+ return n && n.indexOf(",") < 0 && (t = n), t in Se && t !== se && (e._gsap.x || Ae(e, "x")) ? i && rn === i ? t === "scale" ? Vs : Gs : (rn = i || {}) && (t === "scale" ? js : Hs) : e.style && !Ai(e.style[t]) ? Bs : ~t.indexOf("-") ? $s : Fi(e, t);
1977
1977
  },
1978
1978
  core: {
1979
1979
  _removeProperty: We,
@@ -1981,13 +1981,13 @@ var Tr = {
1981
1981
  }
1982
1982
  };
1983
1983
  ae.utils.checkPrefix = dt;
1984
- ae.core.getStyleSaver = br;
1984
+ ae.core.getStyleSaver = vr;
1985
1985
  (function(a, e, t, i) {
1986
1986
  var n = ne(a + "," + e + "," + t, function(r) {
1987
1987
  Se[r] = 1;
1988
1988
  });
1989
1989
  ne(e, function(r) {
1990
- ue.units[r] = "deg", Pr[r] = 1;
1990
+ ue.units[r] = "deg", Cr[r] = 1;
1991
1991
  }), ve[n[13]] = a + "," + e, ne(i, function(r) {
1992
1992
  var s = r.split(":");
1993
1993
  ve[s[1]] = n[s[0]];
@@ -1996,8 +1996,8 @@ ae.core.getStyleSaver = br;
1996
1996
  ne("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(a) {
1997
1997
  ue.units[a] = "px";
1998
1998
  });
1999
- ae.registerPlugin(Tr);
2000
- var Z = ae.registerPlugin(Tr) || ae;
1999
+ ae.registerPlugin(Sr);
2000
+ var Z = ae.registerPlugin(Sr) || ae;
2001
2001
  Z.core.Tween;
2002
2002
  class Ee {
2003
2003
  constructor(e, t, i, n, r = "div") {
@@ -2225,7 +2225,7 @@ class Ee {
2225
2225
  this.listen(!1), this.parent.children.splice(this.parent.children.indexOf(this), 1), this.parent.controllers.splice(this.parent.controllers.indexOf(this), 1), this.parent.$children.removeChild(this.domElement);
2226
2226
  }
2227
2227
  }
2228
- class ta extends Ee {
2228
+ class ia extends Ee {
2229
2229
  constructor(e, t, i) {
2230
2230
  super(e, t, i, "lil-boolean", "label"), this.$input = document.createElement("input"), this.$input.setAttribute("type", "checkbox"), this.$input.setAttribute("aria-labelledby", this.$name.id), this.$widget.appendChild(this.$input), this.$input.addEventListener("change", () => {
2231
2231
  this.setValue(this.$input.checked), this._callOnFinishChange();
@@ -2239,7 +2239,7 @@ function wi(a) {
2239
2239
  let e, t;
2240
2240
  return (e = a.match(/(#|0x)?([a-f0-9]{6})/i)) ? t = e[2] : (e = a.match(/rgb\(\s*(\d*)\s*,\s*(\d*)\s*,\s*(\d*)\s*\)/)) ? t = parseInt(e[1]).toString(16).padStart(2, 0) + parseInt(e[2]).toString(16).padStart(2, 0) + parseInt(e[3]).toString(16).padStart(2, 0) : (e = a.match(/^#?([a-f0-9])([a-f0-9])([a-f0-9])$/i)) && (t = e[1] + e[1] + e[2] + e[2] + e[3] + e[3]), t ? "#" + t : !1;
2241
2241
  }
2242
- const ia = {
2242
+ const na = {
2243
2243
  isPrimitive: !0,
2244
2244
  match: (a) => typeof a == "string",
2245
2245
  fromHexString: wi,
@@ -2249,7 +2249,7 @@ const ia = {
2249
2249
  match: (a) => typeof a == "number",
2250
2250
  fromHexString: (a) => parseInt(a.substring(1), 16),
2251
2251
  toHexString: (a) => "#" + a.toString(16).padStart(6, 0)
2252
- }, na = {
2252
+ }, ra = {
2253
2253
  isPrimitive: !1,
2254
2254
  match: (a) => Array.isArray(a) || ArrayBuffer.isView(a),
2255
2255
  fromHexString(a, e, t = 1) {
@@ -2261,7 +2261,7 @@ const ia = {
2261
2261
  const n = a * i << 16 ^ e * i << 8 ^ t * i << 0;
2262
2262
  return Mt.toHexString(n);
2263
2263
  }
2264
- }, ra = {
2264
+ }, sa = {
2265
2265
  isPrimitive: !1,
2266
2266
  match: (a) => Object(a) === a,
2267
2267
  fromHexString(a, e, t = 1) {
@@ -2273,13 +2273,13 @@ const ia = {
2273
2273
  const n = a * i << 16 ^ e * i << 8 ^ t * i << 0;
2274
2274
  return Mt.toHexString(n);
2275
2275
  }
2276
- }, sa = [ia, Mt, na, ra];
2277
- function aa(a) {
2278
- return sa.find((e) => e.match(a));
2276
+ }, aa = [na, Mt, ra, sa];
2277
+ function oa(a) {
2278
+ return aa.find((e) => e.match(a));
2279
2279
  }
2280
- class oa extends Ee {
2280
+ class la extends Ee {
2281
2281
  constructor(e, t, i, n) {
2282
- super(e, t, i, "lil-color"), this.$input = document.createElement("input"), this.$input.setAttribute("type", "color"), this.$input.setAttribute("tabindex", -1), this.$input.setAttribute("aria-labelledby", this.$name.id), this.$text = document.createElement("input"), this.$text.setAttribute("type", "text"), this.$text.setAttribute("spellcheck", "false"), this.$text.setAttribute("aria-labelledby", this.$name.id), this.$display = document.createElement("div"), this.$display.classList.add("lil-display"), this.$display.appendChild(this.$input), this.$widget.appendChild(this.$display), this.$widget.appendChild(this.$text), this._format = aa(this.initialValue), this._rgbScale = n, this._initialValueHexString = this.save(), this._textFocused = !1, this.$input.addEventListener("input", () => {
2282
+ super(e, t, i, "lil-color"), this.$input = document.createElement("input"), this.$input.setAttribute("type", "color"), this.$input.setAttribute("tabindex", -1), this.$input.setAttribute("aria-labelledby", this.$name.id), this.$text = document.createElement("input"), this.$text.setAttribute("type", "text"), this.$text.setAttribute("spellcheck", "false"), this.$text.setAttribute("aria-labelledby", this.$name.id), this.$display = document.createElement("div"), this.$display.classList.add("lil-display"), this.$display.appendChild(this.$input), this.$widget.appendChild(this.$display), this.$widget.appendChild(this.$text), this._format = oa(this.initialValue), this._rgbScale = n, this._initialValueHexString = this.save(), this._textFocused = !1, this.$input.addEventListener("input", () => {
2283
2283
  this._setValueFromHexString(this.$input.value);
2284
2284
  }), this.$input.addEventListener("blur", () => {
2285
2285
  this._callOnFinishChange();
@@ -2320,7 +2320,7 @@ class ri extends Ee {
2320
2320
  }, { passive: !0 }), this.$disable = this.$button;
2321
2321
  }
2322
2322
  }
2323
- class la extends Ee {
2323
+ class ha extends Ee {
2324
2324
  constructor(e, t, i, n, r, s) {
2325
2325
  super(e, t, i, "lil-number"), this._initInput(), this.min(n), this.max(r);
2326
2326
  const o = s !== void 0;
@@ -2455,7 +2455,7 @@ class la extends Ee {
2455
2455
  return this._max !== void 0;
2456
2456
  }
2457
2457
  }
2458
- class ha extends Ee {
2458
+ class ca extends Ee {
2459
2459
  constructor(e, t, i, n) {
2460
2460
  super(e, t, i, "lil-option"), this.$select = document.createElement("select"), this.$select.setAttribute("aria-labelledby", this.$name.id), this.$display = document.createElement("div"), this.$display.classList.add("lil-display"), this.$select.addEventListener("change", () => {
2461
2461
  this.setValue(this._values[this.$select.selectedIndex]), this._callOnFinishChange();
@@ -2476,7 +2476,7 @@ class ha extends Ee {
2476
2476
  return this.$select.selectedIndex = t, this.$display.textContent = t === -1 ? e : this._names[t], this;
2477
2477
  }
2478
2478
  }
2479
- class ca extends Ee {
2479
+ class ua extends Ee {
2480
2480
  constructor(e, t, i) {
2481
2481
  super(e, t, i, "lil-string"), this.$input = document.createElement("input"), this.$input.setAttribute("type", "text"), this.$input.setAttribute("spellcheck", "false"), this.$input.setAttribute("aria-labelledby", this.$name.id), this.$input.addEventListener("input", () => {
2482
2482
  this.setValue(this.$input.value);
@@ -2490,7 +2490,7 @@ class ca extends Ee {
2490
2490
  return this.$input.value = this.getValue(), this;
2491
2491
  }
2492
2492
  }
2493
- var ua = `.lil-gui {
2493
+ var da = `.lil-gui {
2494
2494
  font-family: var(--font-family);
2495
2495
  font-size: var(--font-size);
2496
2496
  line-height: 1;
@@ -2912,7 +2912,7 @@ var ua = `.lil-gui {
2912
2912
  font-family: "lil-gui";
2913
2913
  src: url("data:application/font-woff2;charset=utf-8;base64,d09GMgABAAAAAALkAAsAAAAABtQAAAKVAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHFQGYACDMgqBBIEbATYCJAMUCwwABCAFhAoHgQQbHAbIDiUFEYVARAAAYQTVWNmz9MxhEgodq49wYRUFKE8GWNiUBxI2LBRaVnc51U83Gmhs0Q7JXWMiz5eteLwrKwuxHO8VFxUX9UpZBs6pa5ABRwHA+t3UxUnH20EvVknRerzQgX6xC/GH6ZUvTcAjAv122dF28OTqCXrPuyaDER30YBA1xnkVutDDo4oCi71Ca7rrV9xS8dZHbPHefsuwIyCpmT7j+MnjAH5X3984UZoFFuJ0yiZ4XEJFxjagEBeqs+e1iyK8Xf/nOuwF+vVK0ur765+vf7txotUi0m3N0m/84RGSrBCNrh8Ee5GjODjF4gnWP+dJrH/Lk9k4oT6d+gr6g/wssA2j64JJGP6cmx554vUZnpZfn6ZfX2bMwPPrlANsB86/DiHjhl0OP+c87+gaJo/gY084s3HoYL/ZkWHTRfBXvvoHnnkHvngKun4KBE/ede7tvq3/vQOxDXB1/fdNz6XbPdcr0Vhpojj9dG+owuSKFsslCi1tgEjirjXdwMiov2EioadxmqTHUCIwo8NgQaeIasAi0fTYSPTbSmwbMOFduyh9wvBrESGY0MtgRjtgQR8Q1bRPohn2UoCRZf9wyYANMXFeJTysqAe0I4mrherOekFdKMrYvJjLvOIUM9SuwYB5DVZUwwVjJJOaUnZCmcEkIZZrKqNvRGRMvmFZsmhP4VMKCSXBhSqUBxgMS7h0cZvEd71AWkEhGWaeMFcNnpqyJkyXgYL7PQ1MoSq0wDAkRtJIijkZSmqYTiSImfLiSWXIZwhRh3Rug2X0kk1Dgj+Iu43u5p98ghopcpSo0Uyc8SnjlYX59WUeaMoDqmVD2TOWD9a4pCRAzf2ECgwGcrHjPOWY9bNxq/OL3I/QjwEAAAA=") format("woff2");
2914
2914
  }`;
2915
- function da(a) {
2915
+ function pa(a) {
2916
2916
  const e = document.createElement("style");
2917
2917
  e.innerHTML = a;
2918
2918
  const t = document.querySelector("head link[rel=stylesheet], head style");
@@ -2968,7 +2968,7 @@ class Vi {
2968
2968
  this.parent.children.push(this), this.parent.folders.push(this), this.parent.$children.appendChild(this.domElement);
2969
2969
  return;
2970
2970
  }
2971
- this.domElement.classList.add("lil-root"), l && this.domElement.classList.add("lil-allow-touch-styles"), !pn && o && (da(ua), pn = !0), i ? i.appendChild(this.domElement) : t && (this.domElement.classList.add("lil-auto-place", "autoPlace"), document.body.appendChild(this.domElement)), n && this.domElement.style.setProperty("--width", n + "px"), this._closeFolders = s;
2971
+ this.domElement.classList.add("lil-root"), l && this.domElement.classList.add("lil-allow-touch-styles"), !pn && o && (pa(da), pn = !0), i ? i.appendChild(this.domElement) : t && (this.domElement.classList.add("lil-auto-place", "autoPlace"), document.body.appendChild(this.domElement)), n && this.domElement.style.setProperty("--width", n + "px"), this._closeFolders = s;
2972
2972
  }
2973
2973
  /**
2974
2974
  * Adds a controller to the GUI, inferring controller type using the `typeof` operator.
@@ -2987,15 +2987,15 @@ class Vi {
2987
2987
  */
2988
2988
  add(e, t, i, n, r) {
2989
2989
  if (Object(i) === i)
2990
- return new ha(this, e, t, i);
2990
+ return new ca(this, e, t, i);
2991
2991
  const s = e[t];
2992
2992
  switch (typeof s) {
2993
2993
  case "number":
2994
- return new la(this, e, t, i, n, r);
2994
+ return new ha(this, e, t, i, n, r);
2995
2995
  case "boolean":
2996
- return new ta(this, e, t);
2996
+ return new ia(this, e, t);
2997
2997
  case "string":
2998
- return new ca(this, e, t);
2998
+ return new ua(this, e, t);
2999
2999
  case "function":
3000
3000
  return new ri(this, e, t);
3001
3001
  }
@@ -3024,7 +3024,7 @@ class Vi {
3024
3024
  * @returns {Controller}
3025
3025
  */
3026
3026
  addColor(e, t, i = 1) {
3027
- return new oa(this, e, t, i);
3027
+ return new la(this, e, t, i);
3028
3028
  }
3029
3029
  /**
3030
3030
  * Adds a folder to the GUI, which is just another GUI. This method returns
@@ -3251,7 +3251,7 @@ class Vi {
3251
3251
  }), e;
3252
3252
  }
3253
3253
  }
3254
- const fn = { type: "change" }, ji = { type: "start" }, Sr = { type: "end" }, Ot = new Fr(), mn = new zr(), pa = Math.cos(70 * Nr.DEG2RAD), Y = new oe(), te = 2 * Math.PI, I = {
3254
+ const fn = { type: "change" }, ji = { type: "start" }, Mr = { type: "end" }, Ot = new zr(), mn = new Nr(), fa = Math.cos(70 * Br.DEG2RAD), Y = new oe(), te = 2 * Math.PI, I = {
3255
3255
  NONE: -1,
3256
3256
  ROTATE: 0,
3257
3257
  DOLLY: 1,
@@ -3261,7 +3261,7 @@ const fn = { type: "change" }, ji = { type: "start" }, Sr = { type: "end" }, Ot
3261
3261
  TOUCH_DOLLY_PAN: 5,
3262
3262
  TOUCH_DOLLY_ROTATE: 6
3263
3263
  }, si = 1e-6;
3264
- class fa extends Ur {
3264
+ class ma extends Fr {
3265
3265
  /**
3266
3266
  * Constructs a new controls instance.
3267
3267
  *
@@ -3269,7 +3269,7 @@ class fa extends Ur {
3269
3269
  * @param {?HTMLElement} domElement - The HTML element used for event listeners.
3270
3270
  */
3271
3271
  constructor(e, t = null) {
3272
- super(e, t), this.state = I.NONE, this.target = new oe(), this.cursor = new oe(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.keyRotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: nt.ROTATE, MIDDLE: nt.DOLLY, RIGHT: nt.PAN }, this.touches = { ONE: Je.ROTATE, TWO: Je.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new oe(), this._lastQuaternion = new Zi(), this._lastTargetPosition = new oe(), this._quat = new Zi().setFromUnitVectors(e.up, new oe(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Ki(), this._sphericalDelta = new Ki(), this._scale = 1, this._panOffset = new oe(), this._rotateStart = new fe(), this._rotateEnd = new fe(), this._rotateDelta = new fe(), this._panStart = new fe(), this._panEnd = new fe(), this._panDelta = new fe(), this._dollyStart = new fe(), this._dollyEnd = new fe(), this._dollyDelta = new fe(), this._dollyDirection = new oe(), this._mouse = new fe(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = ga.bind(this), this._onPointerDown = ma.bind(this), this._onPointerUp = _a.bind(this), this._onContextMenu = Pa.bind(this), this._onMouseWheel = ba.bind(this), this._onKeyDown = va.bind(this), this._onTouchStart = Ea.bind(this), this._onTouchMove = wa.bind(this), this._onMouseDown = ya.bind(this), this._onMouseMove = xa.bind(this), this._interceptControlDown = Ca.bind(this), this._interceptControlUp = Aa.bind(this), this.domElement !== null && this.connect(this.domElement), this.update();
3272
+ super(e, t), this.state = I.NONE, this.target = new oe(), this.cursor = new oe(), this.minDistance = 0, this.maxDistance = 1 / 0, this.minZoom = 0, this.maxZoom = 1 / 0, this.minTargetRadius = 0, this.maxTargetRadius = 1 / 0, this.minPolarAngle = 0, this.maxPolarAngle = Math.PI, this.minAzimuthAngle = -1 / 0, this.maxAzimuthAngle = 1 / 0, this.enableDamping = !1, this.dampingFactor = 0.05, this.enableZoom = !0, this.zoomSpeed = 1, this.enableRotate = !0, this.rotateSpeed = 1, this.keyRotateSpeed = 1, this.enablePan = !0, this.panSpeed = 1, this.screenSpacePanning = !0, this.keyPanSpeed = 7, this.zoomToCursor = !1, this.autoRotate = !1, this.autoRotateSpeed = 2, this.keys = { LEFT: "ArrowLeft", UP: "ArrowUp", RIGHT: "ArrowRight", BOTTOM: "ArrowDown" }, this.mouseButtons = { LEFT: nt.ROTATE, MIDDLE: nt.DOLLY, RIGHT: nt.PAN }, this.touches = { ONE: Je.ROTATE, TWO: Je.DOLLY_PAN }, this.target0 = this.target.clone(), this.position0 = this.object.position.clone(), this.zoom0 = this.object.zoom, this._domElementKeyEvents = null, this._lastPosition = new oe(), this._lastQuaternion = new Zi(), this._lastTargetPosition = new oe(), this._quat = new Zi().setFromUnitVectors(e.up, new oe(0, 1, 0)), this._quatInverse = this._quat.clone().invert(), this._spherical = new Ki(), this._sphericalDelta = new Ki(), this._scale = 1, this._panOffset = new oe(), this._rotateStart = new fe(), this._rotateEnd = new fe(), this._rotateDelta = new fe(), this._panStart = new fe(), this._panEnd = new fe(), this._panDelta = new fe(), this._dollyStart = new fe(), this._dollyEnd = new fe(), this._dollyDelta = new fe(), this._dollyDirection = new oe(), this._mouse = new fe(), this._performCursorZoom = !1, this._pointers = [], this._pointerPositions = {}, this._controlActive = !1, this._onPointerMove = _a.bind(this), this._onPointerDown = ga.bind(this), this._onPointerUp = ya.bind(this), this._onContextMenu = Ca.bind(this), this._onMouseWheel = va.bind(this), this._onKeyDown = Ea.bind(this), this._onTouchStart = wa.bind(this), this._onTouchMove = Pa.bind(this), this._onMouseDown = xa.bind(this), this._onMouseMove = ba.bind(this), this._interceptControlDown = Aa.bind(this), this._interceptControlUp = Ta.bind(this), this.domElement !== null && this.connect(this.domElement), this.update();
3273
3273
  }
3274
3274
  connect(e) {
3275
3275
  super.connect(e), this.domElement.addEventListener("pointerdown", this._onPointerDown), this.domElement.addEventListener("pointercancel", this._onPointerUp), this.domElement.addEventListener("contextmenu", this._onContextMenu), this.domElement.addEventListener("wheel", this._onMouseWheel, { passive: !1 }), this.domElement.getRootNode().addEventListener("keydown", this._interceptControlDown, { passive: !0, capture: !0 }), this.domElement.style.touchAction = "none";
@@ -3360,7 +3360,7 @@ class fa extends Ur {
3360
3360
  h.unproject(this.object), this.object.position.sub(h).add(o), this.object.updateMatrixWorld(), s = Y.length();
3361
3361
  } else
3362
3362
  console.warn("WARNING: OrbitControls.js encountered an unknown camera type - zoom to cursor disabled."), this.zoomToCursor = !1;
3363
- s !== null && (this.screenSpacePanning ? this.target.set(0, 0, -1).transformDirection(this.object.matrix).multiplyScalar(s).add(this.object.position) : (Ot.origin.copy(this.object.position), Ot.direction.set(0, 0, -1).transformDirection(this.object.matrix), Math.abs(this.object.up.dot(Ot.direction)) < pa ? this.object.lookAt(this.target) : (mn.setFromNormalAndCoplanarPoint(this.object.up, this.target), Ot.intersectPlane(mn, this.target))));
3363
+ s !== null && (this.screenSpacePanning ? this.target.set(0, 0, -1).transformDirection(this.object.matrix).multiplyScalar(s).add(this.object.position) : (Ot.origin.copy(this.object.position), Ot.direction.set(0, 0, -1).transformDirection(this.object.matrix), Math.abs(this.object.up.dot(Ot.direction)) < fa ? this.object.lookAt(this.target) : (mn.setFromNormalAndCoplanarPoint(this.object.up, this.target), Ot.intersectPlane(mn, this.target))));
3364
3364
  } else if (this.object.isOrthographicCamera) {
3365
3365
  const s = this.object.zoom;
3366
3366
  this.object.zoom = Math.max(this.minZoom, Math.min(this.maxZoom, this.object.zoom / this._scale)), s !== this.object.zoom && (this.object.updateProjectionMatrix(), r = !0);
@@ -3557,16 +3557,16 @@ class fa extends Ur {
3557
3557
  return e.ctrlKey && !this._controlActive && (i.deltaY *= 10), i;
3558
3558
  }
3559
3559
  }
3560
- function ma(a) {
3560
+ function ga(a) {
3561
3561
  this.enabled !== !1 && (this._pointers.length === 0 && (this.domElement.setPointerCapture(a.pointerId), this.domElement.addEventListener("pointermove", this._onPointerMove), this.domElement.addEventListener("pointerup", this._onPointerUp)), !this._isTrackingPointer(a) && (this._addPointer(a), a.pointerType === "touch" ? this._onTouchStart(a) : this._onMouseDown(a)));
3562
3562
  }
3563
- function ga(a) {
3563
+ function _a(a) {
3564
3564
  this.enabled !== !1 && (a.pointerType === "touch" ? this._onTouchMove(a) : this._onMouseMove(a));
3565
3565
  }
3566
- function _a(a) {
3566
+ function ya(a) {
3567
3567
  switch (this._removePointer(a), this._pointers.length) {
3568
3568
  case 0:
3569
- this.domElement.releasePointerCapture(a.pointerId), this.domElement.removeEventListener("pointermove", this._onPointerMove), this.domElement.removeEventListener("pointerup", this._onPointerUp), this.dispatchEvent(Sr), this.state = I.NONE;
3569
+ this.domElement.releasePointerCapture(a.pointerId), this.domElement.removeEventListener("pointermove", this._onPointerMove), this.domElement.removeEventListener("pointerup", this._onPointerUp), this.dispatchEvent(Mr), this.state = I.NONE;
3570
3570
  break;
3571
3571
  case 1:
3572
3572
  const e = this._pointers[0], t = this._pointerPositions[e];
@@ -3574,7 +3574,7 @@ function _a(a) {
3574
3574
  break;
3575
3575
  }
3576
3576
  }
3577
- function ya(a) {
3577
+ function xa(a) {
3578
3578
  let e;
3579
3579
  switch (a.button) {
3580
3580
  case 0:
@@ -3617,7 +3617,7 @@ function ya(a) {
3617
3617
  }
3618
3618
  this.state !== I.NONE && this.dispatchEvent(ji);
3619
3619
  }
3620
- function xa(a) {
3620
+ function ba(a) {
3621
3621
  switch (this.state) {
3622
3622
  case I.ROTATE:
3623
3623
  if (this.enableRotate === !1) return;
@@ -3633,13 +3633,13 @@ function xa(a) {
3633
3633
  break;
3634
3634
  }
3635
3635
  }
3636
- function ba(a) {
3637
- this.enabled === !1 || this.enableZoom === !1 || this.state !== I.NONE || (a.preventDefault(), this.dispatchEvent(ji), this._handleMouseWheel(this._customWheelEvent(a)), this.dispatchEvent(Sr));
3638
- }
3639
3636
  function va(a) {
3640
- this.enabled !== !1 && this._handleKeyDown(a);
3637
+ this.enabled === !1 || this.enableZoom === !1 || this.state !== I.NONE || (a.preventDefault(), this.dispatchEvent(ji), this._handleMouseWheel(this._customWheelEvent(a)), this.dispatchEvent(Mr));
3641
3638
  }
3642
3639
  function Ea(a) {
3640
+ this.enabled !== !1 && this._handleKeyDown(a);
3641
+ }
3642
+ function wa(a) {
3643
3643
  switch (this._trackPointer(a), this._pointers.length) {
3644
3644
  case 1:
3645
3645
  switch (this.touches.ONE) {
@@ -3674,7 +3674,7 @@ function Ea(a) {
3674
3674
  }
3675
3675
  this.state !== I.NONE && this.dispatchEvent(ji);
3676
3676
  }
3677
- function wa(a) {
3677
+ function Pa(a) {
3678
3678
  switch (this._trackPointer(a), this.state) {
3679
3679
  case I.TOUCH_ROTATE:
3680
3680
  if (this.enableRotate === !1) return;
@@ -3696,16 +3696,16 @@ function wa(a) {
3696
3696
  this.state = I.NONE;
3697
3697
  }
3698
3698
  }
3699
- function Pa(a) {
3699
+ function Ca(a) {
3700
3700
  this.enabled !== !1 && a.preventDefault();
3701
3701
  }
3702
- function Ca(a) {
3702
+ function Aa(a) {
3703
3703
  a.key === "Control" && (this._controlActive = !0, this.domElement.getRootNode().addEventListener("keyup", this._interceptControlUp, { passive: !0, capture: !0 }));
3704
3704
  }
3705
- function Aa(a) {
3705
+ function Ta(a) {
3706
3706
  a.key === "Control" && (this._controlActive = !1, this.domElement.getRootNode().removeEventListener("keyup", this._interceptControlUp, { passive: !0, capture: !0 }));
3707
3707
  }
3708
- const Mr = [
3708
+ const Dr = [
3709
3709
  // Major economies and populous nations
3710
3710
  { id: "156", code: "CN", name: "China", population: 1412, gdpPerCapita: 21476, co2Emissions: 8, lifeExpectancy: 78.2, humanDevIndex: 0.768, internetUsers: 73, renewableEnergy: 15, urbanPopulation: 64.7, healthExpenditure: 5.4, educationExpenditure: 3.6, forestArea: 23.3, accessElectricity: 100 },
3711
3711
  { id: "356", code: "IN", name: "India", population: 1408, gdpPerCapita: 8379, co2Emissions: 1.9, lifeExpectancy: 70.8, humanDevIndex: 0.633, internetUsers: 47, renewableEnergy: 38, urbanPopulation: 35.9, healthExpenditure: 3, educationExpenditure: 4.5, forestArea: 24.3, accessElectricity: 99.6 },
@@ -3804,7 +3804,7 @@ const Mr = [
3804
3804
  { id: "858", code: "UY", name: "Uruguay", population: 3.5, gdpPerCapita: 25041, co2Emissions: 2, lifeExpectancy: 78.4, humanDevIndex: 0.83, internetUsers: 87, renewableEnergy: 55, urbanPopulation: 95.6, healthExpenditure: 9.3, educationExpenditure: 5, forestArea: 10.5, accessElectricity: 100 },
3805
3805
  { id: "188", code: "CR", name: "Costa Rica", population: 5, gdpPerCapita: 23101, co2Emissions: 1.5, lifeExpectancy: 80.8, humanDevIndex: 0.809, internetUsers: 81, renewableEnergy: 73, urbanPopulation: 81.4, healthExpenditure: 7.3, educationExpenditure: 6.7, forestArea: 59, accessElectricity: 100 },
3806
3806
  { id: "591", code: "PA", name: "Panama", population: 4.4, gdpPerCapita: 35317, co2Emissions: 2.5, lifeExpectancy: 79.2, humanDevIndex: 0.805, internetUsers: 68, renewableEnergy: 35, urbanPopulation: 68.4, healthExpenditure: 7.3, educationExpenditure: 3.2, forestArea: 62.1, accessElectricity: 95 }
3807
- ], Ta = [
3807
+ ], Sa = [
3808
3808
  {
3809
3809
  id: "humanDevIndex",
3810
3810
  name: "Human Development Index",
@@ -3906,11 +3906,11 @@ const Mr = [
3906
3906
  format: (a) => `${a.toFixed(0)}%`
3907
3907
  }
3908
3908
  ];
3909
- function Sa(a, e) {
3909
+ function Ma(a, e) {
3910
3910
  const [t, i] = a.domain;
3911
3911
  return Math.max(0, Math.min(1, (e - t) / (i - t)));
3912
3912
  }
3913
- const Ma = {
3913
+ const Da = {
3914
3914
  // North America
3915
3915
  US: "840",
3916
3916
  USA: "840",
@@ -4111,9 +4111,9 @@ const Ma = {
4111
4111
  };
4112
4112
  function gn(a) {
4113
4113
  const e = a.toUpperCase().trim();
4114
- return /^\d{1,3}$/.test(a) ? a.padStart(3, "0") : Ma[e] || a;
4114
+ return /^\d{1,3}$/.test(a) ? a.padStart(3, "0") : Da[e] || a;
4115
4115
  }
4116
- function Da(a) {
4116
+ function Ra(a) {
4117
4117
  const e = {};
4118
4118
  return a instanceof Map ? a.forEach((t, i) => {
4119
4119
  e[gn(i)] = t;
@@ -4121,7 +4121,7 @@ function Da(a) {
4121
4121
  e[gn(t)] = i;
4122
4122
  }), e;
4123
4123
  }
4124
- const It = 4096, Lt = 2048, Ra = `
4124
+ const It = 4096, Lt = 2048, Oa = `
4125
4125
  importScripts('https://unpkg.com/topojson-client@3.1.0/dist/topojson-client.min.js');
4126
4126
 
4127
4127
  self.onmessage = async (e) => {
@@ -4201,7 +4201,7 @@ class it {
4201
4201
  objectName: e?.objectName || "countries",
4202
4202
  disableNormalization: e?.disableNormalization || !1,
4203
4203
  idProperty: e?.idProperty
4204
- }, this.statsMap = /* @__PURE__ */ new Map(), Mr.forEach((n) => {
4204
+ }, this.statsMap = /* @__PURE__ */ new Map(), Dr.forEach((n) => {
4205
4205
  this.statsMap.set(n.id, n);
4206
4206
  }), this.loadCountries();
4207
4207
  }
@@ -4244,7 +4244,7 @@ class it {
4244
4244
  */
4245
4245
  loadInWorker(e, t, i) {
4246
4246
  return new Promise((n, r) => {
4247
- const s = new Blob([Ra], { type: "application/javascript" }), o = URL.createObjectURL(s), l = new Worker(o);
4247
+ const s = new Blob([Oa], { type: "application/javascript" }), o = URL.createObjectURL(s), l = new Worker(o);
4248
4248
  l.onmessage = (h) => {
4249
4249
  URL.revokeObjectURL(o), l.terminate(), h.data.success ? n(h.data.features) : r(new Error(h.data.error));
4250
4250
  }, l.onerror = (h) => {
@@ -4279,7 +4279,7 @@ class it {
4279
4279
  const c = this.countries[h], u = this.statsMap.get(c.id);
4280
4280
  let f = "#2a2a2a";
4281
4281
  if (u) {
4282
- const g = e.accessor(u), p = Sa(e, g);
4282
+ const g = e.accessor(u), p = Ma(e, g);
4283
4283
  f = this.interpolateColor(e.colorScale, p);
4284
4284
  }
4285
4285
  this.drawFeature(c, f, i);
@@ -4345,7 +4345,7 @@ class it {
4345
4345
  const n = this.currentRenderId;
4346
4346
  if (this.ctx.fillStyle = "rgba(10, 20, 30, 0.9)", this.ctx.fillRect(0, 0, It, Lt), this.onTextureUpdate?.(), !this.loaded)
4347
4347
  return this.canvas;
4348
- const r = this.topologyConfig?.disableNormalization ? e instanceof Map ? Object.fromEntries(e) : e : Da(e), s = this.countries.length < 1500;
4348
+ const r = this.topologyConfig?.disableNormalization ? e instanceof Map ? Object.fromEntries(e) : e : Ra(e), s = this.countries.length < 1500;
4349
4349
  this.ctx.lineWidth = 0.5, this.ctx.strokeStyle = "rgba(0, 0, 0, 0.3)";
4350
4350
  const o = 500, l = this.countries.length;
4351
4351
  let h = 0;
@@ -4400,7 +4400,7 @@ class it {
4400
4400
  return [f, d, g, m];
4401
4401
  }
4402
4402
  }
4403
- class Oa extends Br {
4403
+ class Ia extends $r {
4404
4404
  /**
4405
4405
  * Constructs a new CSS2D object.
4406
4406
  *
@@ -4417,8 +4417,8 @@ class Oa extends Br {
4417
4417
  return super.copy(e, t), this.element = e.element.cloneNode(!0), this.center = e.center, this;
4418
4418
  }
4419
4419
  }
4420
- const Qe = new oe(), _n = new Sn(), yn = new Sn(), xn = new oe(), bn = new oe();
4421
- class Ia {
4420
+ const Qe = new oe(), _n = new Mn(), yn = new Mn(), xn = new oe(), bn = new oe();
4421
+ class La {
4422
4422
  /**
4423
4423
  * Constructs a new CSS2D renderer.
4424
4424
  *
@@ -4483,7 +4483,7 @@ class Ia {
4483
4483
  }
4484
4484
  }
4485
4485
  }
4486
- const La = {
4486
+ const ka = {
4487
4487
  // Major economies
4488
4488
  CN: [35, 105],
4489
4489
  IN: [22, 78],
@@ -4582,7 +4582,7 @@ const La = {
4582
4582
  UY: [-33, -56],
4583
4583
  CR: [10, -84],
4584
4584
  PA: [9, -80]
4585
- }, ka = /* @__PURE__ */ new Set([
4585
+ }, Ua = /* @__PURE__ */ new Set([
4586
4586
  "CN",
4587
4587
  "IN",
4588
4588
  "US",
@@ -4613,7 +4613,7 @@ const La = {
4613
4613
  "PK",
4614
4614
  "BD",
4615
4615
  "VN"
4616
- ]), Ua = /* @__PURE__ */ new Set(["CN", "IN", "US", "BR", "RU", "AU", "CA"]), Fa = /* @__PURE__ */ new Set(["RU", "CA", "US", "CN", "BR", "AU"]), za = /* @__PURE__ */ new Set([
4616
+ ]), Fa = /* @__PURE__ */ new Set(["CN", "IN", "US", "BR", "RU", "AU", "CA"]), za = /* @__PURE__ */ new Set(["RU", "CA", "US", "CN", "BR", "AU"]), Na = /* @__PURE__ */ new Set([
4617
4617
  "IN",
4618
4618
  "AR",
4619
4619
  "KZ",
@@ -4644,7 +4644,7 @@ const La = {
4644
4644
  "TR",
4645
4645
  "CL",
4646
4646
  "MM"
4647
- ]), Na = /* @__PURE__ */ new Set([
4647
+ ]), Ba = /* @__PURE__ */ new Set([
4648
4648
  "AF",
4649
4649
  "UA",
4650
4650
  "MG",
@@ -4686,7 +4686,7 @@ const La = {
4686
4686
  "IQ",
4687
4687
  "BD"
4688
4688
  ]);
4689
- class Ba {
4689
+ class $a {
4690
4690
  labelRenderer;
4691
4691
  labels = [];
4692
4692
  labelGroup;
@@ -4696,7 +4696,7 @@ class Ba {
4696
4696
  globe = null;
4697
4697
  camera = null;
4698
4698
  constructor(e, t) {
4699
- this.sphereRadius = t, this.labelRenderer = new Ia();
4699
+ this.sphereRadius = t, this.labelRenderer = new La();
4700
4700
  const i = e.clientWidth || 800, n = e.clientHeight || 600;
4701
4701
  this.labelRenderer.setSize(i, n), this.labelRenderer.domElement.style.position = "absolute", this.labelRenderer.domElement.style.top = "0", this.labelRenderer.domElement.style.left = "0", this.labelRenderer.domElement.style.pointerEvents = "none", this.labelRenderer.domElement.style.zIndex = "5", e.appendChild(this.labelRenderer.domElement), this.labelGroup = new A.Group(), this.injectStyles(), this.createLabels();
4702
4702
  }
@@ -4790,15 +4790,15 @@ class Ba {
4790
4790
  `, document.head.appendChild(e);
4791
4791
  }
4792
4792
  getSizeCategory(e) {
4793
- return Fa.has(e) ? "large" : za.has(e) ? "medium" : Na.has(e) ? "small" : "tiny";
4793
+ return za.has(e) ? "large" : Na.has(e) ? "medium" : Ba.has(e) ? "small" : "tiny";
4794
4794
  }
4795
4795
  createLabels() {
4796
- Mr.forEach((e) => {
4797
- const t = La[e.code];
4796
+ Dr.forEach((e) => {
4797
+ const t = ka[e.code];
4798
4798
  if (!t) return;
4799
4799
  const [i, n] = t, r = this.getSizeCategory(e.code), s = document.createElement("div");
4800
4800
  s.className = `country-label hidden size-${r}`, s.textContent = e.name;
4801
- const o = new Oa(s), l = {
4801
+ const o = new Ia(s), l = {
4802
4802
  element: s,
4803
4803
  object: o,
4804
4804
  country: e,
@@ -4847,10 +4847,10 @@ class Ba {
4847
4847
  n = !1;
4848
4848
  break;
4849
4849
  case "minimal":
4850
- n = Ua.has(i);
4850
+ n = Fa.has(i);
4851
4851
  break;
4852
4852
  case "major":
4853
- n = ka.has(i);
4853
+ n = Ua.has(i);
4854
4854
  break;
4855
4855
  case "all":
4856
4856
  case "capitals":
@@ -4932,8 +4932,8 @@ class Ba {
4932
4932
  }), this.labels = [], this.labelRenderer.domElement.remove();
4933
4933
  }
4934
4934
  }
4935
- var $a = { trailer: 59 };
4936
- function Dr(a = 256) {
4935
+ var Ga = { trailer: 59 };
4936
+ function Rr(a = 256) {
4937
4937
  let e = 0, t = new Uint8Array(a);
4938
4938
  return { get buffer() {
4939
4939
  return t.buffer;
@@ -4960,8 +4960,8 @@ function Dr(a = 256) {
4960
4960
  t = new Uint8Array(n), e > 0 && t.set(o.subarray(0, e), 0);
4961
4961
  }
4962
4962
  }
4963
- var ai = 12, vn = 5003, Ga = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535];
4964
- function Va(a, e, t, i, n = Dr(512), r = new Uint8Array(256), s = new Int32Array(vn), o = new Int32Array(vn)) {
4963
+ var ai = 12, vn = 5003, Va = [0, 1, 3, 7, 15, 31, 63, 127, 255, 511, 1023, 2047, 4095, 8191, 16383, 32767, 65535];
4964
+ function ja(a, e, t, i, n = Rr(512), r = new Uint8Array(256), s = new Int32Array(vn), o = new Int32Array(vn)) {
4965
4965
  let l = s.length, h = Math.max(2, i);
4966
4966
  r.fill(0), o.fill(0), s.fill(-1);
4967
4967
  let c = 0, u = 0, f = h + 1, g = f, p = !1, d = g, m = (1 << d) - 1, _ = 1 << f - 1, y = _ + 1, x = _ + 2, b = 0, v = t[0], P = 0;
@@ -4984,21 +4984,21 @@ function Va(a, e, t, i, n = Dr(512), r = new Uint8Array(256), s = new Int32Array
4984
4984
  }
4985
4985
  return C(v), C(y), n.writeByte(0), n.bytesView();
4986
4986
  function C(w) {
4987
- for (c &= Ga[u], u > 0 ? c |= w << u : c = w, u += d; u >= 8; ) r[b++] = c & 255, b >= 254 && (n.writeByte(b), n.writeBytesView(r, 0, b), b = 0), c >>= 8, u -= 8;
4987
+ for (c &= Va[u], u > 0 ? c |= w << u : c = w, u += d; u >= 8; ) r[b++] = c & 255, b >= 254 && (n.writeByte(b), n.writeBytesView(r, 0, b), b = 0), c >>= 8, u -= 8;
4988
4988
  if ((x > m || p) && (p ? (d = g, m = (1 << d) - 1, p = !1) : (++d, m = d === ai ? 1 << d : (1 << d) - 1)), w == y) {
4989
4989
  for (; u > 0; ) r[b++] = c & 255, b >= 254 && (n.writeByte(b), n.writeBytesView(r, 0, b), b = 0), c >>= 8, u -= 8;
4990
4990
  b > 0 && (n.writeByte(b), n.writeBytesView(r, 0, b), b = 0);
4991
4991
  }
4992
4992
  }
4993
4993
  }
4994
- var ja = Va;
4995
- function Rr(a, e, t) {
4994
+ var Ha = ja;
4995
+ function Or(a, e, t) {
4996
4996
  return a << 8 & 63488 | e << 2 & 992 | t >> 3;
4997
4997
  }
4998
- function Or(a, e, t, i) {
4998
+ function Ir(a, e, t, i) {
4999
4999
  return a >> 4 | e & 240 | (t & 240) << 4 | (i & 240) << 8;
5000
5000
  }
5001
- function Ir(a, e, t) {
5001
+ function Lr(a, e, t) {
5002
5002
  return a >> 4 << 8 | e & 240 | t >> 4;
5003
5003
  }
5004
5004
  function kt(a, e, t) {
@@ -5024,27 +5024,27 @@ function En(a, e, t) {
5024
5024
  function oi() {
5025
5025
  return { ac: 0, rc: 0, gc: 0, bc: 0, cnt: 0, nn: 0, fw: 0, bk: 0, tm: 0, mtm: 0, err: 0 };
5026
5026
  }
5027
- function Ha(a, e) {
5027
+ function Ya(a, e) {
5028
5028
  let t = e === "rgb444" ? 4096 : 65536, i = new Array(t), n = a.length;
5029
5029
  if (e === "rgba4444") for (let r = 0; r < n; ++r) {
5030
- let s = a[r], o = s >> 24 & 255, l = s >> 16 & 255, h = s >> 8 & 255, c = s & 255, u = Or(c, h, l, o), f = u in i ? i[u] : i[u] = oi();
5030
+ let s = a[r], o = s >> 24 & 255, l = s >> 16 & 255, h = s >> 8 & 255, c = s & 255, u = Ir(c, h, l, o), f = u in i ? i[u] : i[u] = oi();
5031
5031
  f.rc += c, f.gc += h, f.bc += l, f.ac += o, f.cnt++;
5032
5032
  }
5033
5033
  else if (e === "rgb444") for (let r = 0; r < n; ++r) {
5034
- let s = a[r], o = s >> 16 & 255, l = s >> 8 & 255, h = s & 255, c = Ir(h, l, o), u = c in i ? i[c] : i[c] = oi();
5034
+ let s = a[r], o = s >> 16 & 255, l = s >> 8 & 255, h = s & 255, c = Lr(h, l, o), u = c in i ? i[c] : i[c] = oi();
5035
5035
  u.rc += h, u.gc += l, u.bc += o, u.cnt++;
5036
5036
  }
5037
5037
  else for (let r = 0; r < n; ++r) {
5038
- let s = a[r], o = s >> 16 & 255, l = s >> 8 & 255, h = s & 255, c = Rr(h, l, o), u = c in i ? i[c] : i[c] = oi();
5038
+ let s = a[r], o = s >> 16 & 255, l = s >> 8 & 255, h = s & 255, c = Or(h, l, o), u = c in i ? i[c] : i[c] = oi();
5039
5039
  u.rc += h, u.gc += l, u.bc += o, u.cnt++;
5040
5040
  }
5041
5041
  return i;
5042
5042
  }
5043
- function Ya(a, e, t = {}) {
5043
+ function Za(a, e, t = {}) {
5044
5044
  let { format: i = "rgb565", clearAlpha: n = !0, clearAlphaColor: r = 0, clearAlphaThreshold: s = 0, oneBitAlpha: o = !1 } = t;
5045
5045
  if (!a || !a.buffer) throw new Error("quantize() expected RGBA Uint8Array data");
5046
5046
  if (!(a instanceof Uint8Array) && !(a instanceof Uint8ClampedArray)) throw new Error("quantize() expected RGBA Uint8Array data");
5047
- let l = new Uint32Array(a.buffer), h = t.useSqrt !== !1, c = i === "rgba4444", u = Ha(l, i), f = u.length, g = f - 1, p = new Uint32Array(f + 1);
5047
+ let l = new Uint32Array(a.buffer), h = t.useSqrt !== !1, c = i === "rgba4444", u = Ya(l, i), f = u.length, g = f - 1, p = new Uint32Array(f + 1);
5048
5048
  for (var d = 0, m = 0; m < f; ++m) {
5049
5049
  let O = u[m];
5050
5050
  if (O != null) {
@@ -5081,36 +5081,36 @@ function Ya(a, e, t = {}) {
5081
5081
  let O = kt(Math.round(u[m].rc), 0, 255), $ = kt(Math.round(u[m].gc), 0, 255), F = kt(Math.round(u[m].bc), 0, 255), U = 255;
5082
5082
  c && (U = kt(Math.round(u[m].ac), 0, 255), o && (U = U <= (typeof o == "number" ? o : 127) ? 0 : 255), n && U <= s && (O = $ = F = r, U = 0));
5083
5083
  let ee = c ? [O, $, F, U] : [O, $, F];
5084
- if (Za(T, ee) || T.push(ee), (m = u[m].fw) == 0) break;
5084
+ if (Ka(T, ee) || T.push(ee), (m = u[m].fw) == 0) break;
5085
5085
  }
5086
5086
  return T;
5087
5087
  }
5088
- function Za(a, e) {
5088
+ function Ka(a, e) {
5089
5089
  for (let t = 0; t < a.length; t++) {
5090
5090
  let i = a[t], n = i[0] === e[0] && i[1] === e[1] && i[2] === e[2], r = i.length >= 4 && e.length >= 4 ? i[3] === e[3] : !0;
5091
5091
  if (n && r) return !0;
5092
5092
  }
5093
5093
  return !1;
5094
5094
  }
5095
- function Ka(a, e, t = "rgb565") {
5095
+ function Wa(a, e, t = "rgb565") {
5096
5096
  if (!a || !a.buffer) throw new Error("quantize() expected RGBA Uint8Array data");
5097
5097
  if (!(a instanceof Uint8Array) && !(a instanceof Uint8ClampedArray)) throw new Error("quantize() expected RGBA Uint8Array data");
5098
5098
  if (e.length > 256) throw new Error("applyPalette() only works with 256 colors or less");
5099
5099
  let i = new Uint32Array(a.buffer), n = i.length, r = t === "rgb444" ? 4096 : 65536, s = new Uint8Array(n), o = new Array(r);
5100
5100
  if (t === "rgba4444") for (let l = 0; l < n; l++) {
5101
- let h = i[l], c = h >> 24 & 255, u = h >> 16 & 255, f = h >> 8 & 255, g = h & 255, p = Or(g, f, u, c), d = p in o ? o[p] : o[p] = Wa(g, f, u, c, e);
5101
+ let h = i[l], c = h >> 24 & 255, u = h >> 16 & 255, f = h >> 8 & 255, g = h & 255, p = Ir(g, f, u, c), d = p in o ? o[p] : o[p] = Xa(g, f, u, c, e);
5102
5102
  s[l] = d;
5103
5103
  }
5104
5104
  else {
5105
- let l = t === "rgb444" ? Ir : Rr;
5105
+ let l = t === "rgb444" ? Lr : Or;
5106
5106
  for (let h = 0; h < n; h++) {
5107
- let c = i[h], u = c >> 16 & 255, f = c >> 8 & 255, g = c & 255, p = l(g, f, u), d = p in o ? o[p] : o[p] = Xa(g, f, u, e);
5107
+ let c = i[h], u = c >> 16 & 255, f = c >> 8 & 255, g = c & 255, p = l(g, f, u), d = p in o ? o[p] : o[p] = qa(g, f, u, e);
5108
5108
  s[h] = d;
5109
5109
  }
5110
5110
  }
5111
5111
  return s;
5112
5112
  }
5113
- function Wa(a, e, t, i, n) {
5113
+ function Xa(a, e, t, i, n) {
5114
5114
  let r = 0, s = 1e100;
5115
5115
  for (let o = 0; o < n.length; o++) {
5116
5116
  let l = n[o], h = l[3], c = je(h - i);
@@ -5124,7 +5124,7 @@ function Wa(a, e, t, i, n) {
5124
5124
  }
5125
5125
  return r;
5126
5126
  }
5127
- function Xa(a, e, t, i) {
5127
+ function qa(a, e, t, i) {
5128
5128
  let n = 0, r = 1e100;
5129
5129
  for (let s = 0; s < i.length; s++) {
5130
5130
  let o = i[s], l = o[0], h = je(l - a);
@@ -5139,12 +5139,12 @@ function Xa(a, e, t, i) {
5139
5139
  function je(a) {
5140
5140
  return a * a;
5141
5141
  }
5142
- function qa(a = {}) {
5143
- let { initialCapacity: e = 4096, auto: t = !0 } = a, i = Dr(e), n = 5003, r = new Uint8Array(256), s = new Int32Array(n), o = new Int32Array(n), l = !1;
5142
+ function Qa(a = {}) {
5143
+ let { initialCapacity: e = 4096, auto: t = !0 } = a, i = Rr(e), n = 5003, r = new Uint8Array(256), s = new Int32Array(n), o = new Int32Array(n), l = !1;
5144
5144
  return { reset() {
5145
5145
  i.reset(), l = !1;
5146
5146
  }, finish() {
5147
- i.writeByte($a.trailer);
5147
+ i.writeByte(Ga.trailer);
5148
5148
  }, bytes() {
5149
5149
  return i.bytes();
5150
5150
  }, bytesView() {
@@ -5157,28 +5157,28 @@ function qa(a = {}) {
5157
5157
  let { transparent: p = !1, transparentIndex: d = 0, delay: m = 0, palette: _ = null, repeat: y = 0, colorDepth: x = 8, dispose: b = -1 } = g, v = !1;
5158
5158
  if (t ? l || (v = !0, h(), l = !0) : v = !!g.first, u = Math.max(0, Math.floor(u)), f = Math.max(0, Math.floor(f)), v) {
5159
5159
  if (!_) throw new Error("First frame must include a { palette } option");
5160
- Ja(i, u, f, _, x), wn(i, _), y >= 0 && eo(i, y);
5160
+ eo(i, u, f, _, x), wn(i, _), y >= 0 && to(i, y);
5161
5161
  }
5162
5162
  let P = Math.round(m / 10);
5163
- Qa(i, b, P, p, d);
5163
+ Ja(i, b, P, p, d);
5164
5164
  let E = !!_ && !v;
5165
- to(i, u, f, E ? _ : null), E && wn(i, _), io(i, c, u, f, x, r, s, o);
5165
+ io(i, u, f, E ? _ : null), E && wn(i, _), no(i, c, u, f, x, r, s, o);
5166
5166
  } };
5167
5167
  function h() {
5168
- Lr(i, "GIF89a");
5168
+ kr(i, "GIF89a");
5169
5169
  }
5170
5170
  }
5171
- function Qa(a, e, t, i, n) {
5171
+ function Ja(a, e, t, i, n) {
5172
5172
  a.writeByte(33), a.writeByte(249), a.writeByte(4), n < 0 && (n = 0, i = !1);
5173
5173
  var r, s;
5174
5174
  i ? (r = 1, s = 2) : (r = 0, s = 0), e >= 0 && (s = e & 7), s <<= 2, a.writeByte(0 | s | 0 | r), Oe(a, t), a.writeByte(n || 0), a.writeByte(0);
5175
5175
  }
5176
- function Ja(a, e, t, i, n = 8) {
5176
+ function eo(a, e, t, i, n = 8) {
5177
5177
  let r = 1, s = 0, o = Hi(i.length) - 1, l = r << 7 | n - 1 << 4 | s << 3 | o;
5178
5178
  Oe(a, e), Oe(a, t), a.writeBytes([l, 0, 0]);
5179
5179
  }
5180
- function eo(a, e) {
5181
- a.writeByte(33), a.writeByte(255), a.writeByte(11), Lr(a, "NETSCAPE2.0"), a.writeByte(3), a.writeByte(1), Oe(a, e), a.writeByte(0);
5180
+ function to(a, e) {
5181
+ a.writeByte(33), a.writeByte(255), a.writeByte(11), kr(a, "NETSCAPE2.0"), a.writeByte(3), a.writeByte(1), Oe(a, e), a.writeByte(0);
5182
5182
  }
5183
5183
  function wn(a, e) {
5184
5184
  let t = 1 << Hi(e.length);
@@ -5187,25 +5187,25 @@ function wn(a, e) {
5187
5187
  i < e.length && (n = e[i]), a.writeByte(n[0]), a.writeByte(n[1]), a.writeByte(n[2]);
5188
5188
  }
5189
5189
  }
5190
- function to(a, e, t, i) {
5190
+ function io(a, e, t, i) {
5191
5191
  if (a.writeByte(44), Oe(a, 0), Oe(a, 0), Oe(a, e), Oe(a, t), i) {
5192
5192
  let n = 0, r = 0, s = Hi(i.length) - 1;
5193
5193
  a.writeByte(128 | n | r | 0 | s);
5194
5194
  } else a.writeByte(0);
5195
5195
  }
5196
- function io(a, e, t, i, n = 8, r, s, o) {
5197
- ja(t, i, e, n, a, r, s, o);
5196
+ function no(a, e, t, i, n = 8, r, s, o) {
5197
+ Ha(t, i, e, n, a, r, s, o);
5198
5198
  }
5199
5199
  function Oe(a, e) {
5200
5200
  a.writeByte(e & 255), a.writeByte(e >> 8 & 255);
5201
5201
  }
5202
- function Lr(a, e) {
5202
+ function kr(a, e) {
5203
5203
  for (var t = 0; t < e.length; t++) a.writeByte(e.charCodeAt(t));
5204
5204
  }
5205
5205
  function Hi(a) {
5206
5206
  return Math.max(Math.ceil(Math.log2(a)), 1);
5207
5207
  }
5208
- class no {
5208
+ class ro {
5209
5209
  renderer;
5210
5210
  scene;
5211
5211
  camera;
@@ -5404,9 +5404,9 @@ class no {
5404
5404
  const { fps: t = 20, filename: i } = e, n = Math.round(1e3 / t);
5405
5405
  console.log(`Generating GIF with ${this.frames.length} frames at ${t} fps...`);
5406
5406
  try {
5407
- const r = this.frames[0], s = r.width, o = r.height, l = Ya(r.data, 256), h = qa();
5407
+ const r = this.frames[0], s = r.width, o = r.height, l = Za(r.data, 256), h = Qa();
5408
5408
  for (let p = 0; p < this.frames.length; p++) {
5409
- const d = this.frames[p], m = Ka(d.data, l);
5409
+ const d = this.frames[p], m = Wa(d.data, l);
5410
5410
  h.writeFrame(m, s, o, {
5411
5411
  palette: p === 0 ? l : void 0,
5412
5412
  // Only first frame needs palette
@@ -5440,19 +5440,28 @@ class no {
5440
5440
  i.href = e, i.download = t, i.style.display = "none", document.body.appendChild(i), i.click(), document.body.removeChild(i);
5441
5441
  }
5442
5442
  }
5443
- function kr(a) {
5444
- return a === "%" ? (e) => `${e.toFixed(1)}%` : a === "$" ? (e) => `$${e.toLocaleString()}` : a === "years" ? (e) => `${e.toFixed(1)} yrs` : a.includes("per capita") || a.includes("per 100") || a.includes("per 1000") ? (e) => `${e.toFixed(1)}` : a === "% GDP" || a === "% of GDP" ? (e) => `${e.toFixed(1)}%` : a === "" || a === "index" ? (e) => e.toFixed(3) : (e) => {
5443
+ const Pn = {
5444
+ "%": (a) => `${a.toFixed(1)}%`,
5445
+ $: (a) => `$${a.toLocaleString()}`,
5446
+ years: (a) => `${a.toFixed(1)} yrs`,
5447
+ "% GDP": (a) => `${a.toFixed(1)}%`,
5448
+ "% of GDP": (a) => `${a.toFixed(1)}%`,
5449
+ index: (a) => a.toFixed(3),
5450
+ "": (a) => a.toFixed(3)
5451
+ }, so = ["per capita", "per 100", "per 1000"];
5452
+ function Ur(a) {
5453
+ return Pn[a] ? Pn[a] : so.some((e) => a.includes(e)) ? (e) => `${e.toFixed(1)}` : (e) => {
5445
5454
  const t = Number.isInteger(e) ? e.toLocaleString() : e.toFixed(1);
5446
5455
  return a ? `${t} ${a}` : t;
5447
5456
  };
5448
5457
  }
5449
- function yo(a, e, t) {
5450
- return (t ?? kr(e))(a);
5458
+ function bo(a, e, t) {
5459
+ return (t ?? Ur(e))(a);
5451
5460
  }
5452
- let Pn = !1;
5453
- function ro() {
5454
- if (Pn) return;
5455
- Pn = !0;
5461
+ let Cn = !1;
5462
+ function ao() {
5463
+ if (Cn) return;
5464
+ Cn = !0;
5456
5465
  const a = document.createElement("style");
5457
5466
  a.setAttribute("data-gralobe-legend", "true"), a.textContent = `
5458
5467
  .gralobe-legend {
@@ -5588,13 +5597,13 @@ function ro() {
5588
5597
  }
5589
5598
  `, document.head.appendChild(a);
5590
5599
  }
5591
- class so {
5600
+ class oo {
5592
5601
  element;
5593
5602
  parentContainer;
5594
5603
  visible = !1;
5595
5604
  resizeObserver = null;
5596
5605
  constructor(e) {
5597
- ro(), this.parentContainer = e, getComputedStyle(e).position === "static" && (e.style.position = "relative"), this.element = document.createElement("div"), this.element.className = "gralobe-legend", this.element.setAttribute("data-testid", "globe-legend"), this.element.innerHTML = `
5606
+ ao(), this.parentContainer = e, getComputedStyle(e).position === "static" && (e.style.position = "relative"), this.element = document.createElement("div"), this.element.className = "gralobe-legend", this.element.setAttribute("data-testid", "globe-legend"), this.element.innerHTML = `
5598
5607
  <div class="gralobe-legend-hint">G: view · F: fullscreen</div>
5599
5608
  <div class="gralobe-legend-title" data-testid="legend-title"></div>
5600
5609
  <div class="gralobe-legend-gradient"></div>
@@ -5618,7 +5627,7 @@ class so {
5618
5627
  t.textContent = e.name, s.textContent = e.description;
5619
5628
  const [o, l, h] = e.colorScale;
5620
5629
  i.style.background = `linear-gradient(to right, ${o}, ${l}, ${h})`;
5621
- const c = e.format ?? kr(e.unit);
5630
+ const c = e.format ?? Ur(e.unit);
5622
5631
  n.textContent = c(e.domain[0]), r.textContent = c(e.domain[1]), this.element.classList.add("visible"), this.visible = !0;
5623
5632
  }
5624
5633
  hide() {
@@ -5634,7 +5643,7 @@ class so {
5634
5643
  this.resizeObserver?.disconnect(), this.element.remove();
5635
5644
  }
5636
5645
  }
5637
- const Q = 50, ao = `
5646
+ const Q = 50, lo = `
5638
5647
  uniform float uMorph;
5639
5648
  uniform float uTime;
5640
5649
  uniform float uParchment;
@@ -5882,7 +5891,7 @@ void main() {
5882
5891
 
5883
5892
  gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);
5884
5893
  }
5885
- `, oo = `
5894
+ `, ho = `
5886
5895
  uniform sampler2D uTexture;
5887
5896
  uniform sampler2D uDataTexture;
5888
5897
  uniform sampler2D uCloudTexture;
@@ -6094,7 +6103,7 @@ void main() {
6094
6103
 
6095
6104
  gl_FragColor = vec4(color, 1.0);
6096
6105
  }
6097
- `, lo = `
6106
+ `, co = `
6098
6107
  varying vec3 vNormal;
6099
6108
  varying vec3 vPosition;
6100
6109
  uniform float uMorph;
@@ -6129,7 +6138,7 @@ void main() {
6129
6138
  vPosition = pos;
6130
6139
  gl_Position = projectionMatrix * modelViewMatrix * vec4(pos, 1.0);
6131
6140
  }
6132
- `, ho = `
6141
+ `, uo = `
6133
6142
  varying vec3 vNormal;
6134
6143
  varying vec3 vPosition;
6135
6144
  uniform float uOpacity;
@@ -6145,7 +6154,7 @@ void main() {
6145
6154
 
6146
6155
  gl_FragColor = vec4(color, intensity * 0.6 * uOpacity);
6147
6156
  }
6148
- `, co = `
6157
+ `, po = `
6149
6158
  attribute float aSize;
6150
6159
  attribute float aPhase;
6151
6160
  uniform float uTime;
@@ -6162,7 +6171,7 @@ void main() {
6162
6171
  gl_PointSize = aSize * (300.0 / -mvPosition.z) * twinkle;
6163
6172
  gl_Position = projectionMatrix * mvPosition;
6164
6173
  }
6165
- `, uo = `
6174
+ `, fo = `
6166
6175
  uniform float uOpacity;
6167
6176
  varying float vOpacity;
6168
6177
 
@@ -6173,16 +6182,16 @@ void main() {
6173
6182
 
6174
6183
  gl_FragColor = vec4(1.0, 1.0, 1.0, alpha * vOpacity * 0.9 * uOpacity);
6175
6184
  }
6176
- `, Cn = Math.PI / 180;
6177
- function po(a, e, t = Q) {
6178
- const i = (90 - a) * Cn, n = (e + 180) * Cn;
6185
+ `, An = Math.PI / 180;
6186
+ function mo(a, e, t = Q) {
6187
+ const i = (90 - a) * An, n = (e + 180) * An;
6179
6188
  return new A.Vector3(
6180
6189
  -t * Math.sin(i) * Math.cos(n),
6181
6190
  t * Math.cos(i),
6182
6191
  t * Math.sin(i) * Math.sin(n)
6183
6192
  );
6184
6193
  }
6185
- function fo(a, e) {
6194
+ function go(a, e) {
6186
6195
  const t = 2 * Math.PI * Q, i = Math.PI * Q;
6187
6196
  return new A.Vector3(
6188
6197
  e / 180 * (t / 2),
@@ -6190,7 +6199,7 @@ function fo(a, e) {
6190
6199
  0
6191
6200
  );
6192
6201
  }
6193
- const mo = {
6202
+ const _o = {
6194
6203
  style: "spike",
6195
6204
  color: "#0ea5e9",
6196
6205
  // Cyan/teal
@@ -6198,7 +6207,7 @@ const mo = {
6198
6207
  pulseAnimation: !0,
6199
6208
  opacity: 0.9
6200
6209
  };
6201
- class go {
6210
+ class yo {
6202
6211
  group;
6203
6212
  markers = [];
6204
6213
  config;
@@ -6210,7 +6219,7 @@ class go {
6210
6219
  markerMaterial;
6211
6220
  glowMaterial;
6212
6221
  constructor(e = {}) {
6213
- this.group = new A.Group(), this.config = { ...mo, ...e }, this.markerMaterial = new A.MeshBasicMaterial({
6222
+ this.group = new A.Group(), this.config = { ..._o, ...e }, this.markerMaterial = new A.MeshBasicMaterial({
6214
6223
  color: new A.Color(this.config.color),
6215
6224
  transparent: !0,
6216
6225
  opacity: this.config.opacity
@@ -6335,7 +6344,7 @@ class go {
6335
6344
  */
6336
6345
  updatePositions() {
6337
6346
  for (let e = 0; e < this.markerMeshes.length; e++) {
6338
- const t = this.markerMeshes[e], i = t.userData.marker, n = t.userData.height, r = po(i.lat, i.lng, Q), s = fo(i.lat, i.lng), o = this.morph * this.morph * (3 - 2 * this.morph);
6347
+ const t = this.markerMeshes[e], i = t.userData.marker, n = t.userData.height, r = mo(i.lat, i.lng, Q), s = go(i.lat, i.lng), o = this.morph * this.morph * (3 - 2 * this.morph);
6339
6348
  if (t.position.lerpVectors(s, r, o), o > 0.01) {
6340
6349
  if (t.lookAt(t.position.clone().multiplyScalar(2)), this.config.style === "spike" || this.config.style === "pin") {
6341
6350
  t.rotateX(Math.PI / 2);
@@ -6478,14 +6487,14 @@ const Pi = {
6478
6487
  }
6479
6488
  };
6480
6489
  Pi.lifeExpectancy;
6481
- const An = {
6490
+ const Tn = {
6482
6491
  satellite: "https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/textures/planets/earth_atmos_2048.jpg",
6483
6492
  natural: "https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/textures/planets/earth_day_4096.jpg",
6484
6493
  dark: "https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/textures/planets/earth_lights_2048.png",
6485
6494
  light: "https://raw.githubusercontent.com/turban/webgl-earth/master/images/2_no_clouds_4k.jpg",
6486
6495
  night: "https://raw.githubusercontent.com/mrdoob/three.js/dev/examples/textures/planets/earth_lights_2048.png",
6487
6496
  topographic: "https://eoimages.gsfc.nasa.gov/images/imagerecords/74000/74117/world.topo.200407.3x5400x2700.jpg"
6488
- }, Tn = {
6497
+ }, Sn = {
6489
6498
  texture: "satellite",
6490
6499
  labels: "all",
6491
6500
  statistic: "lifeExpectancy",
@@ -6501,7 +6510,7 @@ const An = {
6501
6510
  },
6502
6511
  extrudeHeight: !1
6503
6512
  };
6504
- class xo {
6513
+ class vo {
6505
6514
  container;
6506
6515
  config;
6507
6516
  // Three.js core
@@ -6544,9 +6553,9 @@ class xo {
6544
6553
  } else
6545
6554
  this.container = e;
6546
6555
  this.config = {
6547
- ...Tn,
6556
+ ...Sn,
6548
6557
  ...t,
6549
- effects: { ...Tn.effects, ...t.effects }
6558
+ effects: { ...Sn.effects, ...t.effects }
6550
6559
  }, this.ready = new Promise((i) => {
6551
6560
  this.resolveReady = i;
6552
6561
  }), this.init();
@@ -6557,7 +6566,7 @@ class xo {
6557
6566
  0,
6558
6567
  0,
6559
6568
  this.config.initialView === "flat" ? 350 : 150
6560
- ), this.renderer = new A.WebGLRenderer({ antialias: !0 }), this.renderer.setSize(e, t), this.renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2)), this.container.appendChild(this.renderer.domElement), this.controls = new fa(this.camera, this.renderer.domElement), this.controls.enableDamping = !0, this.controls.minDistance = 10, this.controls.maxDistance = 400;
6569
+ ), this.renderer = new A.WebGLRenderer({ antialias: !0 }), this.renderer.setSize(e, t), this.renderer.setPixelRatio(Math.min(window.devicePixelRatio, 2)), this.container.appendChild(this.renderer.domElement), this.controls = new ma(this.camera, this.renderer.domElement), this.controls.enableDamping = !0, this.controls.minDistance = 10, this.controls.maxDistance = 400;
6561
6570
  try {
6562
6571
  this.choropleth = new it(
6563
6572
  this.config.topology,
@@ -6568,7 +6577,7 @@ class xo {
6568
6577
  duration: 1
6569
6578
  }));
6570
6579
  }
6571
- ), this.config.showLegend && (this.legend = new so(this.container)), await this.createGlobe(), this.createStars(), this.config.effects.atmosphere && this.createAtmosphere(), this.countryLabels = new Ba(this.container, Q), this.scene.add(this.countryLabels.getGroup()), this.globe && this.countryLabels.setGlobe(this.globe), this.countryLabels.setCamera(this.camera), this.countryLabels.setStyle(this.config.labels), this.exporter = new no(this.renderer, this.scene, this.camera), this.legend && this.exporter.setLegendElement(this.legend.getElement()), this.countryLabels && this.exporter.setCountryLabels(this.countryLabels), this.config.showControls && this.createGUI(), this.setupInteraction(), await this.choropleth.waitForLoad(), this.setStatistic(this.config.statistic);
6580
+ ), this.config.showLegend && (this.legend = new oo(this.container)), await this.createGlobe(), this.createStars(), this.config.effects.atmosphere && this.createAtmosphere(), this.countryLabels = new $a(this.container, Q), this.scene.add(this.countryLabels.getGroup()), this.globe && this.countryLabels.setGlobe(this.globe), this.countryLabels.setCamera(this.camera), this.countryLabels.setStyle(this.config.labels), this.exporter = new ro(this.renderer, this.scene, this.camera), this.legend && this.exporter.setLegendElement(this.legend.getElement()), this.countryLabels && this.exporter.setCountryLabels(this.countryLabels), this.config.showControls && this.createGUI(), this.setupInteraction(), await this.choropleth.waitForLoad(), this.setStatistic(this.config.statistic);
6572
6581
  } catch (i) {
6573
6582
  console.error("GlobeViz init failed:", i);
6574
6583
  }
@@ -6582,7 +6591,7 @@ class xo {
6582
6591
  };
6583
6592
  async createGlobe() {
6584
6593
  const e = await this.textureLoader.loadAsync(
6585
- An[this.config.texture]
6594
+ Tn[this.config.texture]
6586
6595
  );
6587
6596
  e.anisotropy = this.renderer.capabilities.getMaxAnisotropy(), e.minFilter = A.LinearMipmapLinearFilter, e.magFilter = A.LinearFilter;
6588
6597
  const t = document.createElement("canvas");
@@ -6594,8 +6603,8 @@ class xo {
6594
6603
  128
6595
6604
  );
6596
6605
  this.material = new A.ShaderMaterial({
6597
- vertexShader: ao,
6598
- fragmentShader: oo,
6606
+ vertexShader: lo,
6607
+ fragmentShader: ho,
6599
6608
  uniforms: {
6600
6609
  // Core uniforms
6601
6610
  uMorph: { value: 0 },
@@ -6647,8 +6656,8 @@ class xo {
6647
6656
  128,
6648
6657
  64
6649
6658
  ), t = new A.ShaderMaterial({
6650
- vertexShader: lo,
6651
- fragmentShader: ho,
6659
+ vertexShader: co,
6660
+ fragmentShader: uo,
6652
6661
  uniforms: {
6653
6662
  uMorph: { value: 0 },
6654
6663
  uOpacity: { value: 1 }
@@ -6668,8 +6677,8 @@ class xo {
6668
6677
  }
6669
6678
  t.setAttribute("position", new A.BufferAttribute(i, 3)), t.setAttribute("aSize", new A.BufferAttribute(n, 1)), t.setAttribute("aPhase", new A.BufferAttribute(r, 1));
6670
6679
  const s = new A.ShaderMaterial({
6671
- vertexShader: co,
6672
- fragmentShader: uo,
6680
+ vertexShader: po,
6681
+ fragmentShader: fo,
6673
6682
  uniforms: {
6674
6683
  uTime: { value: 0 },
6675
6684
  uTwinkle: { value: this.config.effects.starTwinkle ? 1 : 0 },
@@ -6875,7 +6884,7 @@ class xo {
6875
6884
  return;
6876
6885
  }
6877
6886
  this.currentStatistic = e;
6878
- const i = Ta.find((n) => n.id === e);
6887
+ const i = Sa.find((n) => n.id === e);
6879
6888
  if (i && this.choropleth) {
6880
6889
  const n = this.choropleth.renderTexture(i);
6881
6890
  if (this.material && n) {
@@ -6904,7 +6913,7 @@ class xo {
6904
6913
  this.countryLabels?.setStyle(e);
6905
6914
  }
6906
6915
  async setTexture(e) {
6907
- const t = An[e];
6916
+ const t = Tn[e];
6908
6917
  if (!(!t || !this.material))
6909
6918
  try {
6910
6919
  const i = await this.textureLoader.loadAsync(t);
@@ -6935,7 +6944,7 @@ class xo {
6935
6944
  Object.assign(this.config.effects, e), this.material && (e.atmosphere !== void 0 && (e.atmosphere && !this.atmosphere ? this.createAtmosphere() : !e.atmosphere && this.atmosphere && (this.scene.remove(this.atmosphere), this.atmosphere.geometry.dispose(), this.atmosphere.material.dispose(), this.atmosphere = null)), e.clouds !== void 0 && (this.material.uniforms.uClouds.value = e.clouds ? 1 : 0), e.cloudSpeed !== void 0 && (this.material.uniforms.uCloudSpeed.value = e.cloudSpeed), e.cloudOpacity !== void 0 && (this.material.uniforms.uCloudOpacity.value = e.cloudOpacity), e.atmosphereIntensity !== void 0 && (this.material.uniforms.uAtmosphereIntensity.value = e.atmosphereIntensity), e.gridLines !== void 0 && (this.material.uniforms.uGridLines.value = e.gridLines ? 1 : 0), e.gridOpacity !== void 0 && (this.material.uniforms.uGridOpacity.value = e.gridOpacity), e.glowPulse !== void 0 && (this.material.uniforms.uGlowPulse.value = e.glowPulse ? 1 : 0), e.starTwinkle !== void 0 && this.stars && (this.stars.material.uniforms.uTwinkle.value = e.starTwinkle ? 1 : 0));
6936
6945
  }
6937
6946
  setMarkers(e, t) {
6938
- this.markerLayer ? t && this.markerLayer.setConfig(t) : (this.markerLayer = new go(t), this.scene.add(this.markerLayer.getGroup()), this.markerLayer.setMorph(this.morph)), this.markerLayer.setMarkers(e);
6947
+ this.markerLayer ? t && this.markerLayer.setConfig(t) : (this.markerLayer = new yo(t), this.scene.add(this.markerLayer.getGroup()), this.markerLayer.setMorph(this.morph)), this.markerLayer.setMarkers(e);
6939
6948
  }
6940
6949
  resize(e, t) {
6941
6950
  this.config.width = e, this.config.height = t, this.handleResize();
@@ -6955,11 +6964,11 @@ class xo {
6955
6964
  }
6956
6965
  export {
6957
6966
  Pi as BUILT_IN_STATISTICS,
6958
- xo as GlobeViz,
6959
- Mr as WORLD_STATISTICS,
6960
- kr as createFormatter,
6961
- yo as formatValue,
6962
- Da as normalizeCountryValues,
6967
+ vo as GlobeViz,
6968
+ Dr as WORLD_STATISTICS,
6969
+ Ur as createFormatter,
6970
+ bo as formatValue,
6971
+ Ra as normalizeCountryValues,
6963
6972
  gn as toNumericCode
6964
6973
  };
6965
6974
  //# sourceMappingURL=gralobe.js.map