@leemeyer/nth-letter 1.0.14 → 1.0.15

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.
@@ -160,1825 +160,20 @@ function r(e, t) {
160
160
  return (e.matches || e.matchesSelector || e.webkitMatchesSelector || e.mozMatchesSelector || e.msMatchesSelector || e.oMatchesSelector).call(e, t);
161
161
  }
162
162
  //#endregion
163
- //#region node_modules/gsap/gsap-core.js
164
- function i(e) {
165
- if (e === void 0) throw ReferenceError("this hasn't been initialised - super() hasn't been called");
166
- return e;
167
- }
168
- function a(e, t) {
169
- e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
170
- }
171
- var o = {
172
- autoSleep: 120,
173
- force3D: "auto",
174
- nullTargetWarn: 1,
175
- units: { lineHeight: "" }
176
- }, s = {
177
- duration: .5,
178
- overwrite: !1,
179
- delay: 0
180
- }, c, l, u, d = 1e8, f = 1 / d, p = Math.PI * 2, m = p / 4, h = 0, g = Math.sqrt, _ = Math.cos, v = Math.sin, y = function(e) {
181
- return typeof e == "string";
182
- }, b = function(e) {
183
- return typeof e == "function";
184
- }, x = function(e) {
185
- return typeof e == "number";
186
- }, S = function(e) {
187
- return e === void 0;
188
- }, C = function(e) {
189
- return typeof e == "object";
190
- }, w = function(e) {
191
- return e !== !1;
192
- }, T = function() {
193
- return typeof window < "u";
194
- }, E = function(e) {
195
- return b(e) || y(e);
196
- }, D = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {}, O = Array.isArray, k = /random\([^)]+\)/g, A = /,\s*/g, j = /(?:-?\.?\d|\.)+/gi, M = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, N = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, P = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, F = /[+-]=-?[.\d]+/, I = /[^,'"\[\]\s]+/gi, L = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, R, z, B, ee, te = {}, ne = {}, re, ie = function(e) {
197
- return (ne = Me(e, te)) && Z;
198
- }, ae = function(e, t) {
199
- return console.warn("Invalid property", e, "set to", t, "Missing plugin? gsap.registerPlugin()");
200
- }, oe = function(e, t) {
201
- return !t && console.warn(e);
202
- }, se = function(e, t) {
203
- return e && (te[e] = t) && ne && (ne[e] = t) || te;
204
- }, ce = function() {
205
- return 0;
206
- }, le = {
207
- suppressEvents: !0,
208
- isStart: !0,
209
- kill: !1
210
- }, ue = {
211
- suppressEvents: !0,
212
- kill: !1
213
- }, de = { suppressEvents: !0 }, fe = {}, pe = [], me = {}, he, ge = {}, _e = {}, ve = 30, ye = [], be = "", xe = function(e) {
214
- var t = e[0], n, r;
215
- if (C(t) || b(t) || (e = [e]), !(n = (t._gsap || {}).harness)) {
216
- for (r = ye.length; r-- && !ye[r].targetTest(t););
217
- n = ye[r];
218
- }
219
- for (r = e.length; r--;) e[r] && (e[r]._gsap || (e[r]._gsap = new on(e[r], n))) || e.splice(r, 1);
220
- return e;
221
- }, Se = function(e) {
222
- return e._gsap || xe(mt(e))[0]._gsap;
223
- }, Ce = function(e, t, n) {
224
- return (n = e[t]) && b(n) ? e[t]() : S(n) && e.getAttribute && e.getAttribute(t) || n;
225
- }, V = function(e, t) {
226
- return (e = e.split(",")).forEach(t) || e;
227
- }, H = function(e) {
228
- return Math.round(e * 1e5) / 1e5 || 0;
229
- }, U = function(e) {
230
- return Math.round(e * 1e7) / 1e7 || 0;
231
- }, we = function(e, t) {
232
- var n = t.charAt(0), r = parseFloat(t.substr(2));
233
- return e = parseFloat(e), n === "+" ? e + r : n === "-" ? e - r : n === "*" ? e * r : e / r;
234
- }, Te = function(e, t) {
235
- for (var n = t.length, r = 0; e.indexOf(t[r]) < 0 && ++r < n;);
236
- return r < n;
237
- }, Ee = function() {
238
- var e = pe.length, t = pe.slice(0), n, r;
239
- for (me = {}, pe.length = 0, n = 0; n < e; n++) r = t[n], r && r._lazy && (r.render(r._lazy[0], r._lazy[1], !0)._lazy = 0);
240
- }, De = function(e) {
241
- return !!(e._initted || e._startAt || e.add);
242
- }, Oe = function(e, t, n, r) {
243
- pe.length && !l && Ee(), e.render(t, n, r || !!(l && t < 0 && De(e))), pe.length && !l && Ee();
244
- }, ke = function(e) {
245
- var t = parseFloat(e);
246
- return (t || t === 0) && (e + "").match(I).length < 2 ? t : y(e) ? e.trim() : e;
247
- }, Ae = function(e) {
248
- return e;
249
- }, W = function(e, t) {
250
- for (var n in t) n in e || (e[n] = t[n]);
251
- return e;
252
- }, je = function(e) {
253
- return function(t, n) {
254
- for (var r in n) r in t || r === "duration" && e || r === "ease" || (t[r] = n[r]);
255
- };
256
- }, Me = function(e, t) {
257
- for (var n in t) e[n] = t[n];
258
- return e;
259
- }, Ne = function e(t, n) {
260
- for (var r in n) r !== "__proto__" && r !== "constructor" && r !== "prototype" && (t[r] = C(n[r]) ? e(t[r] || (t[r] = {}), n[r]) : n[r]);
261
- return t;
262
- }, Pe = function(e, t) {
263
- var n = {}, r;
264
- for (r in e) r in t || (n[r] = e[r]);
265
- return n;
266
- }, Fe = function(e) {
267
- var t = e.parent || R, n = e.keyframes ? je(O(e.keyframes)) : W;
268
- if (w(e.inherit)) for (; t;) n(e, t.vars.defaults), t = t.parent || t._dp;
269
- return e;
270
- }, Ie = function(e, t) {
271
- for (var n = e.length, r = n === t.length; r && n-- && e[n] === t[n];);
272
- return n < 0;
273
- }, Le = function(e, t, n, r, i) {
274
- n === void 0 && (n = "_first"), r === void 0 && (r = "_last");
275
- var a = e[r], o;
276
- if (i) for (o = t[i]; a && a[i] > o;) a = a._prev;
277
- return a ? (t._next = a._next, a._next = t) : (t._next = e[n], e[n] = t), t._next ? t._next._prev = t : e[r] = t, t._prev = a, t.parent = t._dp = e, t;
278
- }, Re = function(e, t, n, r) {
279
- n === void 0 && (n = "_first"), r === void 0 && (r = "_last");
280
- var i = t._prev, a = t._next;
281
- i ? i._next = a : e[n] === t && (e[n] = a), a ? a._prev = i : e[r] === t && (e[r] = i), t._next = t._prev = t.parent = null;
282
- }, ze = function(e, t) {
283
- e.parent && (!t || e.parent.autoRemoveChildren) && e.parent.remove && e.parent.remove(e), e._act = 0;
284
- }, Be = function(e, t) {
285
- if (e && (!t || t._end > e._dur || t._start < 0)) for (var n = e; n;) n._dirty = 1, n = n.parent;
286
- return e;
287
- }, Ve = function(e) {
288
- for (var t = e.parent; t && t.parent;) t._dirty = 1, t.totalDuration(), t = t.parent;
289
- return e;
290
- }, He = function(e, t, n, r) {
291
- return e._startAt && (l ? e._startAt.revert(ue) : e.vars.immediateRender && !e.vars.autoRevert || e._startAt.render(t, !0, r));
292
- }, Ue = function e(t) {
293
- return !t || t._ts && e(t.parent);
294
- }, We = function(e) {
295
- return e._repeat ? Ge(e._tTime, e = e.duration() + e._rDelay) * e : 0;
296
- }, Ge = function(e, t) {
297
- var n = Math.floor(e = U(e / t));
298
- return e && n === e ? n - 1 : n;
299
- }, Ke = function(e, t) {
300
- return (e - t._start) * t._ts + (t._ts >= 0 ? 0 : t._dirty ? t.totalDuration() : t._tDur);
301
- }, qe = function(e) {
302
- return e._end = U(e._start + (e._tDur / Math.abs(e._ts || e._rts || f) || 0));
303
- }, Je = function(e, t) {
304
- var n = e._dp;
305
- return n && n.smoothChildTiming && e._ts && (e._start = U(n._time - (e._ts > 0 ? t / e._ts : ((e._dirty ? e.totalDuration() : e._tDur) - t) / -e._ts)), qe(e), n._dirty || Be(n, e)), e;
306
- }, Ye = function(e, t) {
307
- var n;
308
- if ((t._time || !t._dur && t._initted || t._start < e._time && (t._dur || !t.add)) && (n = Ke(e.rawTime(), t), (!t._dur || lt(0, t.totalDuration(), n) - t._tTime > f) && t.render(n, !0)), Be(e, t)._dp && e._initted && e._time >= e._dur && e._ts) {
309
- if (e._dur < e.duration()) for (n = e; n._dp;) n.rawTime() >= 0 && n.totalTime(n._tTime), n = n._dp;
310
- e._zTime = -f;
311
- }
312
- }, Xe = function(e, t, n, r) {
313
- return t.parent && ze(t), t._start = U((x(n) ? n : n || e !== R ? ot(e, n, t) : e._time) + t._delay), t._end = U(t._start + (t.totalDuration() / Math.abs(t.timeScale()) || 0)), Le(e, t, "_first", "_last", e._sort ? "_start" : 0), et(t) || (e._recent = t), r || Ye(e, t), e._ts < 0 && Je(e, e._tTime), e;
314
- }, Ze = function(e, t) {
315
- return (te.ScrollTrigger || ae("scrollTrigger", t)) && te.ScrollTrigger.create(t, e);
316
- }, Qe = function(e, t, n, r, i) {
317
- if (mn(e, t, i), !e._initted) return 1;
318
- if (!n && e._pt && !l && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && he !== Gt.frame) return pe.push(e), e._lazy = [i, r], 1;
319
- }, $e = function e(t) {
320
- var n = t.parent;
321
- return n && n._ts && n._initted && !n._lock && (n.rawTime() < 0 || e(n));
322
- }, et = function(e) {
323
- var t = e.data;
324
- return t === "isFromStart" || t === "isStart";
325
- }, tt = function(e, t, n, r) {
326
- var i = e.ratio, a = t < 0 || !t && (!e._start && $e(e) && !(!e._initted && et(e)) || (e._ts < 0 || e._dp._ts < 0) && !et(e)) ? 0 : 1, o = e._rDelay, s = 0, c, u, d;
327
- if (o && e._repeat && (s = lt(0, e._tDur, t), u = Ge(s, o), e._yoyo && u & 1 && (a = 1 - a), u !== Ge(e._tTime, o) && (i = 1 - a, e.vars.repeatRefresh && e._initted && e.invalidate())), a !== i || l || r || e._zTime === f || !t && e._zTime) {
328
- if (!e._initted && Qe(e, t, r, n, s)) return;
329
- for (d = e._zTime, e._zTime = t || (n ? f : 0), n ||= t && !d, e.ratio = a, e._from && (a = 1 - a), e._time = 0, e._tTime = s, c = e._pt; c;) c.r(a, c.d), c = c._next;
330
- t < 0 && He(e, t, n, !0), e._onUpdate && !n && jt(e, "onUpdate"), s && e._repeat && !n && e.parent && jt(e, "onRepeat"), (t >= e._tDur || t < 0) && e.ratio === a && (a && ze(e, 1), !n && !l && (jt(e, a ? "onComplete" : "onReverseComplete", !0), e._prom && e._prom()));
331
- } else e._zTime ||= t;
332
- }, nt = function(e, t, n) {
333
- var r;
334
- if (n > t) for (r = e._first; r && r._start <= n;) {
335
- if (r.data === "isPause" && r._start > t) return r;
336
- r = r._next;
337
- }
338
- else for (r = e._last; r && r._start >= n;) {
339
- if (r.data === "isPause" && r._start < t) return r;
340
- r = r._prev;
341
- }
342
- }, rt = function(e, t, n, r) {
343
- var i = e._repeat, a = U(t) || 0, o = e._tTime / e._tDur;
344
- return o && !r && (e._time *= a / e._dur), e._dur = a, e._tDur = i ? i < 0 ? 1e10 : U(a * (i + 1) + e._rDelay * i) : a, o > 0 && !r && Je(e, e._tTime = e._tDur * o), e.parent && qe(e), n || Be(e.parent, e), e;
345
- }, it = function(e) {
346
- return e instanceof J ? Be(e) : rt(e, e._dur);
347
- }, at = {
348
- _start: 0,
349
- endTime: ce,
350
- totalDuration: ce
351
- }, ot = function e(t, n, r) {
352
- var i = t.labels, a = t._recent || at, o = t.duration() >= d ? a.endTime(!1) : t._dur, s, c, l;
353
- return y(n) && (isNaN(n) || n in i) ? (c = n.charAt(0), l = n.substr(-1) === "%", s = n.indexOf("="), c === "<" || c === ">" ? (s >= 0 && (n = n.replace(/=/, "")), (c === "<" ? a._start : a.endTime(a._repeat >= 0)) + (parseFloat(n.substr(1)) || 0) * (l ? (s < 0 ? a : r).totalDuration() / 100 : 1)) : s < 0 ? (n in i || (i[n] = o), i[n]) : (c = parseFloat(n.charAt(s - 1) + n.substr(s + 1)), l && r && (c = c / 100 * (O(r) ? r[0] : r).totalDuration()), s > 1 ? e(t, n.substr(0, s - 1), r) + c : o + c)) : n == null ? o : +n;
354
- }, st = function(e, t, n) {
355
- var r = x(t[1]), i = (r ? 2 : 1) + (e < 2 ? 0 : 1), a = t[i], o, s;
356
- if (r && (a.duration = t[1]), a.parent = n, e) {
357
- for (o = a, s = n; s && !("immediateRender" in o);) o = s.vars.defaults || {}, s = w(s.vars.inherit) && s.parent;
358
- a.immediateRender = w(o.immediateRender), e < 2 ? a.runBackwards = 1 : a.startAt = t[i - 1];
359
- }
360
- return new Y(t[0], a, t[i + 1]);
361
- }, ct = function(e, t) {
362
- return e || e === 0 ? t(e) : t;
363
- }, lt = function(e, t, n) {
364
- return n < e ? e : n > t ? t : n;
365
- }, G = function(e, t) {
366
- return !y(e) || !(t = L.exec(e)) ? "" : t[1];
367
- }, ut = function(e, t, n) {
368
- return ct(n, function(n) {
369
- return lt(e, t, n);
370
- });
371
- }, dt = [].slice, ft = function(e, t) {
372
- return e && C(e) && "length" in e && (!t && !e.length || e.length - 1 in e && C(e[0])) && !e.nodeType && e !== z;
373
- }, pt = function(e, t, n) {
374
- return n === void 0 && (n = []), e.forEach(function(e) {
375
- var r;
376
- return y(e) && !t || ft(e, 1) ? (r = n).push.apply(r, mt(e)) : n.push(e);
377
- }) || n;
378
- }, mt = function(e, t, n) {
379
- return u && !t && u.selector ? u.selector(e) : y(e) && !n && (B || !Kt()) ? dt.call((t || ee).querySelectorAll(e), 0) : O(e) ? pt(e, n) : ft(e) ? dt.call(e, 0) : e ? [e] : [];
380
- }, ht = function(e) {
381
- return e = mt(e)[0] || oe("Invalid scope") || {}, function(t) {
382
- var n = e.current || e.nativeElement || e;
383
- return mt(t, n.querySelectorAll ? n : n === e ? oe("Invalid scope") || ee.createElement("div") : e);
384
- };
385
- }, gt = function(e) {
386
- return e.sort(function() {
387
- return .5 - Math.random();
388
- });
389
- }, _t = function(e) {
390
- if (b(e)) return e;
391
- var t = C(e) ? e : { each: e }, n = en(t.ease), r = t.from || 0, i = parseFloat(t.base) || 0, a = {}, o = r > 0 && r < 1, s = isNaN(r) || o, c = t.axis, l = r, u = r;
392
- return y(r) ? l = u = {
393
- center: .5,
394
- edges: .5,
395
- end: 1
396
- }[r] || 0 : !o && s && (l = r[0], u = r[1]), function(e, o, f) {
397
- var p = (f || t).length, m = a[p], h, _, v, y, b, x, S, C, w;
398
- if (!m) {
399
- if (w = t.grid === "auto" ? 0 : (t.grid || [1, d])[1], !w) {
400
- for (S = -d; S < (S = f[w++].getBoundingClientRect().left) && w < p;);
401
- w < p && w--;
402
- }
403
- for (m = a[p] = [], h = s ? Math.min(w, p) * l - .5 : r % w, _ = w === d ? 0 : s ? p * u / w - .5 : r / w | 0, S = 0, C = d, x = 0; x < p; x++) v = x % w - h, y = _ - (x / w | 0), m[x] = b = c ? Math.abs(c === "y" ? y : v) : g(v * v + y * y), b > S && (S = b), b < C && (C = b);
404
- r === "random" && gt(m), m.max = S - C, m.min = C, m.v = p = (parseFloat(t.amount) || parseFloat(t.each) * (w > p ? p - 1 : c ? c === "y" ? p / w : w : Math.max(w, p / w)) || 0) * (r === "edges" ? -1 : 1), m.b = p < 0 ? i - p : i, m.u = G(t.amount || t.each) || 0, n = n && p < 0 ? Qt(n) : n;
405
- }
406
- return p = (m[e] - m.min) / m.max || 0, U(m.b + (n ? n(p) : p) * m.v) + m.u;
407
- };
408
- }, vt = function(e) {
409
- var t = 10 ** ((e + "").split(".")[1] || "").length;
410
- return function(n) {
411
- var r = U(Math.round(parseFloat(n) / e) * e * t);
412
- return (r - r % 1) / t + (x(n) ? 0 : G(n));
413
- };
414
- }, yt = function(e, t) {
415
- var n = O(e), r, i;
416
- return !n && C(e) && (r = n = e.radius || d, e.values ? (e = mt(e.values), (i = !x(e[0])) && (r *= r)) : e = vt(e.increment)), ct(t, n ? b(e) ? function(t) {
417
- return i = e(t), Math.abs(i - t) <= r ? i : t;
418
- } : function(t) {
419
- for (var n = parseFloat(i ? t.x : t), a = parseFloat(i ? t.y : 0), o = d, s = 0, c = e.length, l, u; c--;) i ? (l = e[c].x - n, u = e[c].y - a, l = l * l + u * u) : l = Math.abs(e[c] - n), l < o && (o = l, s = c);
420
- return s = !r || o <= r ? e[s] : t, i || s === t || x(t) ? s : s + G(t);
421
- } : vt(e));
422
- }, bt = function(e, t, n, r) {
423
- return ct(O(e) ? !t : n === !0 ? !!(n = 0) : !r, function() {
424
- return O(e) ? e[~~(Math.random() * e.length)] : (n ||= 1e-5) && (r = n < 1 ? 10 ** ((n + "").length - 2) : 1) && Math.floor(Math.round((e - n / 2 + Math.random() * (t - e + n * .99)) / n) * n * r) / r;
425
- });
426
- }, xt = function() {
427
- var e = [...arguments];
428
- return function(t) {
429
- return e.reduce(function(e, t) {
430
- return t(e);
431
- }, t);
432
- };
433
- }, St = function(e, t) {
434
- return function(n) {
435
- return e(parseFloat(n)) + (t || G(n));
436
- };
437
- }, Ct = function(e, t, n) {
438
- return Ot(e, t, 0, 1, n);
439
- }, wt = function(e, t, n) {
440
- return ct(n, function(n) {
441
- return e[~~t(n)];
442
- });
443
- }, Tt = function e(t, n, r) {
444
- var i = n - t;
445
- return O(t) ? wt(t, e(0, t.length), n) : ct(r, function(e) {
446
- return (i + (e - t) % i) % i + t;
447
- });
448
- }, Et = function e(t, n, r) {
449
- var i = n - t, a = i * 2;
450
- return O(t) ? wt(t, e(0, t.length - 1), n) : ct(r, function(e) {
451
- return e = (a + (e - t) % a) % a || 0, t + (e > i ? a - e : e);
452
- });
453
- }, Dt = function(e) {
454
- return e.replace(k, function(e) {
455
- var t = e.indexOf("[") + 1, n = e.substring(t || 7, t ? e.indexOf("]") : e.length - 1).split(A);
456
- return bt(t ? n : +n[0], t ? 0 : +n[1], +n[2] || 1e-5);
457
- });
458
- }, Ot = function(e, t, n, r, i) {
459
- var a = t - e, o = r - n;
460
- return ct(i, function(t) {
461
- return n + ((t - e) / a * o || 0);
462
- });
463
- }, kt = function e(t, n, r, i) {
464
- var a = isNaN(t + n) ? 0 : function(e) {
465
- return (1 - e) * t + e * n;
466
- };
467
- if (!a) {
468
- var o = y(t), s = {}, c, l, u, d, f;
469
- if (r === !0 && (i = 1) && (r = null), o) t = { p: t }, n = { p: n };
470
- else if (O(t) && !O(n)) {
471
- for (u = [], d = t.length, f = d - 2, l = 1; l < d; l++) u.push(e(t[l - 1], t[l]));
472
- d--, a = function(e) {
473
- e *= d;
474
- var t = Math.min(f, ~~e);
475
- return u[t](e - t);
476
- }, r = n;
477
- } else i || (t = Me(O(t) ? [] : {}, t));
478
- if (!u) {
479
- for (c in n) ln.call(s, t, c, "get", n[c]);
480
- a = function(e) {
481
- return kn(e, s) || (o ? t.p : t);
482
- };
483
- }
484
- }
485
- return ct(r, a);
486
- }, At = function(e, t, n) {
487
- var r = e.labels, i = d, a, o, s;
488
- for (a in r) o = r[a] - t, o < 0 == !!n && o && i > (o = Math.abs(o)) && (s = a, i = o);
489
- return s;
490
- }, jt = function(e, t, n) {
491
- var r = e.vars, i = r[t], a = u, o = e._ctx, s, c, l;
492
- if (i) return s = r[t + "Params"], c = r.callbackScope || e, n && pe.length && Ee(), o && (u = o), l = s ? i.apply(c, s) : i.call(c), u = a, l;
493
- }, Mt = function(e) {
494
- return ze(e), e.scrollTrigger && e.scrollTrigger.kill(!!l), e.progress() < 1 && jt(e, "onInterrupt"), e;
495
- }, Nt, Pt = [], Ft = function(e) {
496
- if (e) if (e = !e.name && e.default || e, T() || e.headless) {
497
- var t = e.name, n = b(e), r = t && !n && e.init ? function() {
498
- this._props = [];
499
- } : e, i = {
500
- init: ce,
501
- render: kn,
502
- add: ln,
503
- kill: jn,
504
- modifier: An,
505
- rawVars: 0
506
- }, a = {
507
- targetTest: 0,
508
- get: 0,
509
- getSetter: Tn,
510
- aliases: {},
511
- register: 0
512
- };
513
- if (Kt(), e !== r) {
514
- if (ge[t]) return;
515
- W(r, W(Pe(e, i), a)), Me(r.prototype, Me(i, Pe(e, a))), ge[r.prop = t] = r, e.targetTest && (ye.push(r), fe[t] = 1), t = (t === "css" ? "CSS" : t.charAt(0).toUpperCase() + t.substr(1)) + "Plugin";
516
- }
517
- se(t, r), e.register && e.register(Z, r, X);
518
- } else Pt.push(e);
519
- }, K = 255, It = {
520
- aqua: [
521
- 0,
522
- K,
523
- K
524
- ],
525
- lime: [
526
- 0,
527
- K,
528
- 0
529
- ],
530
- silver: [
531
- 192,
532
- 192,
533
- 192
534
- ],
535
- black: [
536
- 0,
537
- 0,
538
- 0
539
- ],
540
- maroon: [
541
- 128,
542
- 0,
543
- 0
544
- ],
545
- teal: [
546
- 0,
547
- 128,
548
- 128
549
- ],
550
- blue: [
551
- 0,
552
- 0,
553
- K
554
- ],
555
- navy: [
556
- 0,
557
- 0,
558
- 128
559
- ],
560
- white: [
561
- K,
562
- K,
563
- K
564
- ],
565
- olive: [
566
- 128,
567
- 128,
568
- 0
569
- ],
570
- yellow: [
571
- K,
572
- K,
573
- 0
574
- ],
575
- orange: [
576
- K,
577
- 165,
578
- 0
579
- ],
580
- gray: [
581
- 128,
582
- 128,
583
- 128
584
- ],
585
- purple: [
586
- 128,
587
- 0,
588
- 128
589
- ],
590
- green: [
591
- 0,
592
- 128,
593
- 0
594
- ],
595
- red: [
596
- K,
597
- 0,
598
- 0
599
- ],
600
- pink: [
601
- K,
602
- 192,
603
- 203
604
- ],
605
- cyan: [
606
- 0,
607
- K,
608
- K
609
- ],
610
- transparent: [
611
- K,
612
- K,
613
- K,
614
- 0
615
- ]
616
- }, Lt = function(e, t, n) {
617
- return e += e < 0 ? 1 : e > 1 ? -1 : 0, (e * 6 < 1 ? t + (n - t) * e * 6 : e < .5 ? n : e * 3 < 2 ? t + (n - t) * (2 / 3 - e) * 6 : t) * K + .5 | 0;
618
- }, Rt = function(e, t, n) {
619
- var r = e ? x(e) ? [
620
- e >> 16,
621
- e >> 8 & K,
622
- e & K
623
- ] : 0 : It.black, i, a, o, s, c, l, u, d, f, p;
624
- if (!r) {
625
- if (e.substr(-1) === "," && (e = e.substr(0, e.length - 1)), It[e]) r = It[e];
626
- else if (e.charAt(0) === "#") {
627
- if (e.length < 6 && (i = e.charAt(1), a = e.charAt(2), o = e.charAt(3), e = "#" + i + i + a + a + o + o + (e.length === 5 ? e.charAt(4) + e.charAt(4) : "")), e.length === 9) return r = parseInt(e.substr(1, 6), 16), [
628
- r >> 16,
629
- r >> 8 & K,
630
- r & K,
631
- parseInt(e.substr(7), 16) / 255
632
- ];
633
- e = parseInt(e.substr(1), 16), r = [
634
- e >> 16,
635
- e >> 8 & K,
636
- e & K
637
- ];
638
- } else if (e.substr(0, 3) === "hsl") {
639
- if (r = p = e.match(j), !t) s = r[0] % 360 / 360, c = r[1] / 100, l = r[2] / 100, a = l <= .5 ? l * (c + 1) : l + c - l * c, i = l * 2 - a, r.length > 3 && (r[3] *= 1), r[0] = Lt(s + 1 / 3, i, a), r[1] = Lt(s, i, a), r[2] = Lt(s - 1 / 3, i, a);
640
- else if (~e.indexOf("=")) return r = e.match(M), n && r.length < 4 && (r[3] = 1), r;
641
- } else r = e.match(j) || It.transparent;
642
- r = r.map(Number);
643
- }
644
- return t && !p && (i = r[0] / K, a = r[1] / K, o = r[2] / K, u = Math.max(i, a, o), d = Math.min(i, a, o), l = (u + d) / 2, u === d ? s = c = 0 : (f = u - d, c = l > .5 ? f / (2 - u - d) : f / (u + d), s = u === i ? (a - o) / f + (a < o ? 6 : 0) : u === a ? (o - i) / f + 2 : (i - a) / f + 4, s *= 60), r[0] = ~~(s + .5), r[1] = ~~(c * 100 + .5), r[2] = ~~(l * 100 + .5)), n && r.length < 4 && (r[3] = 1), r;
645
- }, zt = function(e) {
646
- var t = [], n = [], r = -1;
647
- return e.split(Vt).forEach(function(e) {
648
- var i = e.match(N) || [];
649
- t.push.apply(t, i), n.push(r += i.length + 1);
650
- }), t.c = n, t;
651
- }, Bt = function(e, t, n) {
652
- var r = "", i = (e + r).match(Vt), a = t ? "hsla(" : "rgba(", o = 0, s, c, l, u;
653
- if (!i) return e;
654
- if (i = i.map(function(e) {
655
- return (e = Rt(e, t, 1)) && a + (t ? e[0] + "," + e[1] + "%," + e[2] + "%," + e[3] : e.join(",")) + ")";
656
- }), n && (l = zt(e), s = n.c, s.join(r) !== l.c.join(r))) for (c = e.replace(Vt, "1").split(N), u = c.length - 1; o < u; o++) r += c[o] + (~s.indexOf(o) ? i.shift() || a + "0,0,0,0)" : (l.length ? l : i.length ? i : n).shift());
657
- if (!c) for (c = e.split(Vt), u = c.length - 1; o < u; o++) r += c[o] + i[o];
658
- return r + c[u];
659
- }, Vt = function() {
660
- var e = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b", t;
661
- for (t in It) e += "|" + t + "\\b";
662
- return RegExp(e + ")", "gi");
663
- }(), Ht = /hsl[a]?\(/, Ut = function(e) {
664
- var t = e.join(" "), n;
665
- if (Vt.lastIndex = 0, Vt.test(t)) return n = Ht.test(t), e[1] = Bt(e[1], n), e[0] = Bt(e[0], n, zt(e[1])), !0;
666
- }, Wt, Gt = function() {
667
- var e = Date.now, t = 500, n = 33, r = e(), i = r, a = 1e3 / 240, o = a, s = [], c, l, u, d, f, p, m = function u(m) {
668
- var h = e() - i, g = m === !0, _, v, y, b;
669
- if ((h > t || h < 0) && (r += h - n), i += h, y = i - r, _ = y - o, (_ > 0 || g) && (b = ++d.frame, f = y - d.time * 1e3, d.time = y /= 1e3, o += _ + (_ >= a ? 4 : a - _), v = 1), g || (c = l(u)), v) for (p = 0; p < s.length; p++) s[p](y, f, b, m);
670
- };
671
- return d = {
672
- time: 0,
673
- frame: 0,
674
- tick: function() {
675
- m(!0);
676
- },
677
- deltaRatio: function(e) {
678
- return f / (1e3 / (e || 60));
679
- },
680
- wake: function() {
681
- re && (!B && T() && (z = B = window, ee = z.document || {}, te.gsap = Z, (z.gsapVersions ||= []).push(Z.version), ie(ne || z.GreenSockGlobals || !z.gsap && z || {}), Pt.forEach(Ft)), u = typeof requestAnimationFrame < "u" && requestAnimationFrame, c && d.sleep(), l = u || function(e) {
682
- return setTimeout(e, o - d.time * 1e3 + 1 | 0);
683
- }, Wt = 1, m(2));
684
- },
685
- sleep: function() {
686
- (u ? cancelAnimationFrame : clearTimeout)(c), Wt = 0, l = ce;
687
- },
688
- lagSmoothing: function(e, r) {
689
- t = e || Infinity, n = Math.min(r || 33, t);
690
- },
691
- fps: function(e) {
692
- a = 1e3 / (e || 240), o = d.time * 1e3 + a;
693
- },
694
- add: function(e, t, n) {
695
- var r = t ? function(t, n, i, a) {
696
- e(t, n, i, a), d.remove(r);
697
- } : e;
698
- return d.remove(e), s[n ? "unshift" : "push"](r), Kt(), r;
699
- },
700
- remove: function(e, t) {
701
- ~(t = s.indexOf(e)) && s.splice(t, 1) && p >= t && p--;
702
- },
703
- _listeners: s
704
- }, d;
705
- }(), Kt = function() {
706
- return !Wt && Gt.wake();
707
- }, q = {}, qt = /^[\d.\-M][\d.\-,\s]/, Jt = /["']/g, Yt = function(e) {
708
- for (var t = {}, n = e.substr(1, e.length - 3).split(":"), r = n[0], i = 1, a = n.length, o, s, c; i < a; i++) s = n[i], o = i === a - 1 ? s.length : s.lastIndexOf(","), c = s.substr(0, o), t[r] = isNaN(c) ? c.replace(Jt, "").trim() : +c, r = s.substr(o + 1).trim();
709
- return t;
710
- }, Xt = function(e) {
711
- var t = e.indexOf("(") + 1, n = e.indexOf(")"), r = e.indexOf("(", t);
712
- return e.substring(t, ~r && r < n ? e.indexOf(")", n + 1) : n);
713
- }, Zt = function(e) {
714
- var t = (e + "").split("("), n = q[t[0]];
715
- return n && t.length > 1 && n.config ? n.config.apply(null, ~e.indexOf("{") ? [Yt(t[1])] : Xt(e).split(",").map(ke)) : q._CE && qt.test(e) ? q._CE("", e) : n;
716
- }, Qt = function(e) {
717
- return function(t) {
718
- return 1 - e(1 - t);
719
- };
720
- }, $t = function e(t, n) {
721
- for (var r = t._first, i; r;) r instanceof J ? e(r, n) : r.vars.yoyoEase && (!r._yoyo || !r._repeat) && r._yoyo !== n && (r.timeline ? e(r.timeline, n) : (i = r._ease, r._ease = r._yEase, r._yEase = i, r._yoyo = n)), r = r._next;
722
- }, en = function(e, t) {
723
- return e && (b(e) ? e : q[e] || Zt(e)) || t;
724
- }, tn = function(e, t, n, r) {
725
- n === void 0 && (n = function(e) {
726
- return 1 - t(1 - e);
727
- }), r === void 0 && (r = function(e) {
728
- return e < .5 ? t(e * 2) / 2 : 1 - t((1 - e) * 2) / 2;
729
- });
730
- var i = {
731
- easeIn: t,
732
- easeOut: n,
733
- easeInOut: r
734
- }, a;
735
- return V(e, function(e) {
736
- for (var t in q[e] = te[e] = i, q[a = e.toLowerCase()] = n, i) q[a + (t === "easeIn" ? ".in" : t === "easeOut" ? ".out" : ".inOut")] = q[e + "." + t] = i[t];
737
- }), i;
738
- }, nn = function(e) {
739
- return function(t) {
740
- return t < .5 ? (1 - e(1 - t * 2)) / 2 : .5 + e((t - .5) * 2) / 2;
741
- };
742
- }, rn = function e(t, n, r) {
743
- var i = n >= 1 ? n : 1, a = (r || (t ? .3 : .45)) / (n < 1 ? n : 1), o = a / p * (Math.asin(1 / i) || 0), s = function(e) {
744
- return e === 1 ? 1 : i * 2 ** (-10 * e) * v((e - o) * a) + 1;
745
- }, c = t === "out" ? s : t === "in" ? function(e) {
746
- return 1 - s(1 - e);
747
- } : nn(s);
748
- return a = p / a, c.config = function(n, r) {
749
- return e(t, n, r);
750
- }, c;
751
- }, an = function e(t, n) {
752
- n === void 0 && (n = 1.70158);
753
- var r = function(e) {
754
- return e ? --e * e * ((n + 1) * e + n) + 1 : 0;
755
- }, i = t === "out" ? r : t === "in" ? function(e) {
756
- return 1 - r(1 - e);
757
- } : nn(r);
758
- return i.config = function(n) {
759
- return e(t, n);
760
- }, i;
761
- };
762
- V("Linear,Quad,Cubic,Quart,Quint,Strong", function(e, t) {
763
- var n = t < 5 ? t + 1 : t;
764
- tn(e + ",Power" + (n - 1), t ? function(e) {
765
- return e ** +n;
766
- } : function(e) {
767
- return e;
768
- }, function(e) {
769
- return 1 - (1 - e) ** n;
770
- }, function(e) {
771
- return e < .5 ? (e * 2) ** n / 2 : 1 - ((1 - e) * 2) ** n / 2;
772
- });
773
- }), q.Linear.easeNone = q.none = q.Linear.easeIn, tn("Elastic", rn("in"), rn("out"), rn()), (function(e, t) {
774
- var n = 1 / t, r = 2 * n, i = 2.5 * n, a = function(a) {
775
- return a < n ? e * a * a : a < r ? e * (a - 1.5 / t) ** 2 + .75 : a < i ? e * (a -= 2.25 / t) * a + .9375 : e * (a - 2.625 / t) ** 2 + .984375;
776
- };
777
- tn("Bounce", function(e) {
778
- return 1 - a(1 - e);
779
- }, a);
780
- })(7.5625, 2.75), tn("Expo", function(e) {
781
- return 2 ** (10 * (e - 1)) * e + e * e * e * e * e * e * (1 - e);
782
- }), tn("Circ", function(e) {
783
- return -(g(1 - e * e) - 1);
784
- }), tn("Sine", function(e) {
785
- return e === 1 ? 1 : -_(e * m) + 1;
786
- }), tn("Back", an("in"), an("out"), an()), q.SteppedEase = q.steps = te.SteppedEase = { config: function(e, t) {
787
- e === void 0 && (e = 1);
788
- var n = 1 / e, r = e + (t ? 0 : 1), i = t ? 1 : 0, a = 1 - f;
789
- return function(e) {
790
- return ((r * lt(0, a, e) | 0) + i) * n;
791
- };
792
- } }, s.ease = q["quad.out"], V("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(e) {
793
- return be += e + "," + e + "Params,";
794
- });
795
- var on = function(e, t) {
796
- this.id = h++, e._gsap = this, this.target = e, this.harness = t, this.get = t ? t.get : Ce, this.set = t ? t.getSetter : Tn;
797
- }, sn = /* @__PURE__ */ function() {
798
- function e(e) {
799
- this.vars = e, this._delay = +e.delay || 0, (this._repeat = e.repeat === Infinity ? -2 : e.repeat || 0) && (this._rDelay = e.repeatDelay || 0, this._yoyo = !!e.yoyo || !!e.yoyoEase), this._ts = 1, rt(this, +e.duration, 1, 1), this.data = e.data, u && (this._ctx = u, u.data.push(this)), Wt || Gt.wake();
800
- }
801
- var t = e.prototype;
802
- return t.delay = function(e) {
803
- return e || e === 0 ? (this.parent && this.parent.smoothChildTiming && this.startTime(this._start + e - this._delay), this._delay = e, this) : this._delay;
804
- }, t.duration = function(e) {
805
- return arguments.length ? this.totalDuration(this._repeat > 0 ? e + (e + this._rDelay) * this._repeat : e) : this.totalDuration() && this._dur;
806
- }, t.totalDuration = function(e) {
807
- return arguments.length ? (this._dirty = 0, rt(this, this._repeat < 0 ? e : (e - this._repeat * this._rDelay) / (this._repeat + 1))) : this._tDur;
808
- }, t.totalTime = function(e, t) {
809
- if (Kt(), !arguments.length) return this._tTime;
810
- var n = this._dp;
811
- if (n && n.smoothChildTiming && this._ts) {
812
- for (Je(this, e), !n._dp || n.parent || Ye(n, this); n && n.parent;) n.parent._time !== n._start + (n._ts >= 0 ? n._tTime / n._ts : (n.totalDuration() - n._tTime) / -n._ts) && n.totalTime(n._tTime, !0), n = n.parent;
813
- !this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && e < this._tDur || this._ts < 0 && e > 0 || !this._tDur && !e) && Xe(this._dp, this, this._start - this._delay);
814
- }
815
- return (this._tTime !== e || !this._dur && !t || this._initted && Math.abs(this._zTime) === f || !this._initted && this._dur && e || !e && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = e), Oe(this, e, t)), this;
816
- }, t.time = function(e, t) {
817
- return arguments.length ? this.totalTime(Math.min(this.totalDuration(), e + We(this)) % (this._dur + this._rDelay) || (e ? this._dur : 0), t) : this._time;
818
- }, t.totalProgress = function(e, t) {
819
- return arguments.length ? this.totalTime(this.totalDuration() * e, t) : this.totalDuration() ? Math.min(1, this._tTime / this._tDur) : this.rawTime() >= 0 && this._initted ? 1 : 0;
820
- }, t.progress = function(e, t) {
821
- return arguments.length ? this.totalTime(this.duration() * (this._yoyo && !(this.iteration() & 1) ? 1 - e : e) + We(this), t) : this.duration() ? Math.min(1, this._time / this._dur) : this.rawTime() > 0 ? 1 : 0;
822
- }, t.iteration = function(e, t) {
823
- var n = this.duration() + this._rDelay;
824
- return arguments.length ? this.totalTime(this._time + (e - 1) * n, t) : this._repeat ? Ge(this._tTime, n) + 1 : 1;
825
- }, t.timeScale = function(e, t) {
826
- if (!arguments.length) return this._rts === -f ? 0 : this._rts;
827
- if (this._rts === e) return this;
828
- var n = this.parent && this._ts ? Ke(this.parent._time, this) : this._tTime;
829
- return this._rts = +e || 0, this._ts = this._ps || e === -f ? 0 : this._rts, this.totalTime(lt(-Math.abs(this._delay), this.totalDuration(), n), t !== !1), qe(this), Ve(this);
830
- }, t.paused = function(e) {
831
- return arguments.length ? (this._ps !== e && (this._ps = e, e ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (Kt(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== f && (this._tTime -= f)))), this) : this._ps;
832
- }, t.startTime = function(e) {
833
- if (arguments.length) {
834
- this._start = U(e);
835
- var t = this.parent || this._dp;
836
- return t && (t._sort || !this.parent) && Xe(t, this, this._start - this._delay), this;
837
- }
838
- return this._start;
839
- }, t.endTime = function(e) {
840
- return this._start + (w(e) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);
841
- }, t.rawTime = function(e) {
842
- var t = this.parent || this._dp;
843
- return t ? e && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? Ke(t.rawTime(e), this) : this._tTime : this._tTime;
844
- }, t.revert = function(e) {
845
- e === void 0 && (e = de);
846
- var t = l;
847
- return l = e, De(this) && (this.timeline && this.timeline.revert(e), this.totalTime(-.01, e.suppressEvents)), this.data !== "nested" && e.kill !== !1 && this.kill(), l = t, this;
848
- }, t.globalTime = function(e) {
849
- for (var t = this, n = arguments.length ? e : t.rawTime(); t;) n = t._start + n / (Math.abs(t._ts) || 1), t = t._dp;
850
- return !this.parent && this._sat ? this._sat.globalTime(e) : n;
851
- }, t.repeat = function(e) {
852
- return arguments.length ? (this._repeat = e === Infinity ? -2 : e, it(this)) : this._repeat === -2 ? Infinity : this._repeat;
853
- }, t.repeatDelay = function(e) {
854
- if (arguments.length) {
855
- var t = this._time;
856
- return this._rDelay = e, it(this), t ? this.time(t) : this;
857
- }
858
- return this._rDelay;
859
- }, t.yoyo = function(e) {
860
- return arguments.length ? (this._yoyo = e, this) : this._yoyo;
861
- }, t.seek = function(e, t) {
862
- return this.totalTime(ot(this, e), w(t));
863
- }, t.restart = function(e, t) {
864
- return this.play().totalTime(e ? -this._delay : 0, w(t)), this._dur || (this._zTime = -f), this;
865
- }, t.play = function(e, t) {
866
- return e != null && this.seek(e, t), this.reversed(!1).paused(!1);
867
- }, t.reverse = function(e, t) {
868
- return e != null && this.seek(e || this.totalDuration(), t), this.reversed(!0).paused(!1);
869
- }, t.pause = function(e, t) {
870
- return e != null && this.seek(e, t), this.paused(!0);
871
- }, t.resume = function() {
872
- return this.paused(!1);
873
- }, t.reversed = function(e) {
874
- return arguments.length ? (!!e !== this.reversed() && this.timeScale(-this._rts || (e ? -f : 0)), this) : this._rts < 0;
875
- }, t.invalidate = function() {
876
- return this._initted = this._act = 0, this._zTime = -f, this;
877
- }, t.isActive = function() {
878
- var e = this.parent || this._dp, t = this._start, n;
879
- return !!(!e || this._ts && this._initted && e.isActive() && (n = e.rawTime(!0)) >= t && n < this.endTime(!0) - f);
880
- }, t.eventCallback = function(e, t, n) {
881
- var r = this.vars;
882
- return arguments.length > 1 ? (t ? (r[e] = t, n && (r[e + "Params"] = n), e === "onUpdate" && (this._onUpdate = t)) : delete r[e], this) : r[e];
883
- }, t.then = function(e) {
884
- var t = this, n = t._prom;
885
- return new Promise(function(r) {
886
- var i = b(e) ? e : Ae, a = function() {
887
- var e = t.then;
888
- t.then = null, n && n(), b(i) && (i = i(t)) && (i.then || i === t) && (t.then = e), r(i), t.then = e;
889
- };
890
- t._initted && t.totalProgress() === 1 && t._ts >= 0 || !t._tTime && t._ts < 0 ? a() : t._prom = a;
891
- });
892
- }, t.kill = function() {
893
- Mt(this);
894
- }, e;
895
- }();
896
- W(sn.prototype, {
897
- _time: 0,
898
- _start: 0,
899
- _end: 0,
900
- _tTime: 0,
901
- _tDur: 0,
902
- _dirty: 0,
903
- _repeat: 0,
904
- _yoyo: !1,
905
- parent: null,
906
- _initted: !1,
907
- _rDelay: 0,
908
- _ts: 1,
909
- _dp: 0,
910
- ratio: 0,
911
- _zTime: -f,
912
- _prom: 0,
913
- _ps: !1,
914
- _rts: 1
915
- });
916
- var J = /* @__PURE__ */ function(e) {
917
- a(t, e);
918
- function t(t, n) {
919
- var r;
920
- return t === void 0 && (t = {}), r = e.call(this, t) || this, r.labels = {}, r.smoothChildTiming = !!t.smoothChildTiming, r.autoRemoveChildren = !!t.autoRemoveChildren, r._sort = w(t.sortChildren), R && Xe(t.parent || R, i(r), n), t.reversed && r.reverse(), t.paused && r.paused(!0), t.scrollTrigger && Ze(i(r), t.scrollTrigger), r;
921
- }
922
- var n = t.prototype;
923
- return n.to = function(e, t, n) {
924
- return st(0, arguments, this), this;
925
- }, n.from = function(e, t, n) {
926
- return st(1, arguments, this), this;
927
- }, n.fromTo = function(e, t, n, r) {
928
- return st(2, arguments, this), this;
929
- }, n.set = function(e, t, n) {
930
- return t.duration = 0, t.parent = this, Fe(t).repeatDelay || (t.repeat = 0), t.immediateRender = !!t.immediateRender, new Y(e, t, ot(this, n), 1), this;
931
- }, n.call = function(e, t, n) {
932
- return Xe(this, Y.delayedCall(0, e, t), n);
933
- }, n.staggerTo = function(e, t, n, r, i, a, o) {
934
- return n.duration = t, n.stagger = n.stagger || r, n.onComplete = a, n.onCompleteParams = o, n.parent = this, new Y(e, n, ot(this, i)), this;
935
- }, n.staggerFrom = function(e, t, n, r, i, a, o) {
936
- return n.runBackwards = 1, Fe(n).immediateRender = w(n.immediateRender), this.staggerTo(e, t, n, r, i, a, o);
937
- }, n.staggerFromTo = function(e, t, n, r, i, a, o, s) {
938
- return r.startAt = n, Fe(r).immediateRender = w(r.immediateRender), this.staggerTo(e, t, r, i, a, o, s);
939
- }, n.render = function(e, t, n) {
940
- var r = this._time, i = this._dirty ? this.totalDuration() : this._tDur, a = this._dur, o = e <= 0 ? 0 : U(e), s = this._zTime < 0 != e < 0 && (this._initted || !a), c, u, d, p, m, h, g, _, v, y, b, x;
941
- if (this !== R && o > i && e >= 0 && (o = i), o !== this._tTime || n || s) {
942
- if (r !== this._time && a && (o += this._time - r, e += this._time - r), c = o, v = this._start, _ = this._ts, h = !_, s && (a || (r = this._zTime), (e || !t) && (this._zTime = e)), this._repeat) {
943
- if (b = this._yoyo, m = a + this._rDelay, this._repeat < -1 && e < 0) return this.totalTime(m * 100 + e, t, n);
944
- if (c = U(o % m), o === i ? (p = this._repeat, c = a) : (y = U(o / m), p = ~~y, p && p === y && (c = a, p--), c > a && (c = a)), y = Ge(this._tTime, m), !r && this._tTime && y !== p && this._tTime - y * m - this._dur <= 0 && (y = p), b && p & 1 && (c = a - c, x = 1), p !== y && !this._lock) {
945
- var S = b && y & 1, C = S === (b && p & 1);
946
- if (p < y && (S = !S), r = S ? 0 : o % a ? a : o, this._lock = 1, this.render(r || (x ? 0 : U(p * m)), t, !a)._lock = 0, this._tTime = o, !t && this.parent && jt(this, "onRepeat"), this.vars.repeatRefresh && !x && (this.invalidate()._lock = 1, y = p), r && r !== this._time || h !== !this._ts || this.vars.onRepeat && !this.parent && !this._act || (a = this._dur, i = this._tDur, C && (this._lock = 2, r = S ? a : -1e-4, this.render(r, !0), this.vars.repeatRefresh && !x && this.invalidate()), this._lock = 0, !this._ts && !h)) return this;
947
- $t(this, x);
948
- }
949
- }
950
- if (this._hasPause && !this._forcing && this._lock < 2 && (g = nt(this, U(r), U(c)), g && (o -= c - (c = g._start))), this._tTime = o, this._time = c, this._act = !_, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = e, r = 0), !r && o && a && !t && !y && (jt(this, "onStart"), this._tTime !== o)) return this;
951
- if (c >= r && e >= 0) for (u = this._first; u;) {
952
- if (d = u._next, (u._act || c >= u._start) && u._ts && g !== u) {
953
- if (u.parent !== this) return this.render(e, t, n);
954
- if (u.render(u._ts > 0 ? (c - u._start) * u._ts : (u._dirty ? u.totalDuration() : u._tDur) + (c - u._start) * u._ts, t, n), c !== this._time || !this._ts && !h) {
955
- g = 0, d && (o += this._zTime = -f);
956
- break;
957
- }
958
- }
959
- u = d;
960
- }
961
- else {
962
- u = this._last;
963
- for (var w = e < 0 ? e : c; u;) {
964
- if (d = u._prev, (u._act || w <= u._end) && u._ts && g !== u) {
965
- if (u.parent !== this) return this.render(e, t, n);
966
- if (u.render(u._ts > 0 ? (w - u._start) * u._ts : (u._dirty ? u.totalDuration() : u._tDur) + (w - u._start) * u._ts, t, n || l && De(u)), c !== this._time || !this._ts && !h) {
967
- g = 0, d && (o += this._zTime = w ? -f : f);
968
- break;
969
- }
970
- }
971
- u = d;
972
- }
973
- }
974
- if (g && !t && (this.pause(), g.render(c >= r ? 0 : -f)._zTime = c >= r ? 1 : -1, this._ts)) return this._start = v, qe(this), this.render(e, t, n);
975
- this._onUpdate && !t && jt(this, "onUpdate", !0), (o === i && this._tTime >= this.totalDuration() || !o && r) && (v === this._start || Math.abs(_) !== Math.abs(this._ts)) && (this._lock || ((e || !a) && (o === i && this._ts > 0 || !o && this._ts < 0) && ze(this, 1), !t && !(e < 0 && !r) && (o || r || !i) && (jt(this, o === i && e >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(o < i && this.timeScale() > 0) && this._prom())));
976
- }
977
- return this;
978
- }, n.add = function(e, t) {
979
- var n = this;
980
- if (x(t) || (t = ot(this, t, e)), !(e instanceof sn)) {
981
- if (O(e)) return e.forEach(function(e) {
982
- return n.add(e, t);
983
- }), this;
984
- if (y(e)) return this.addLabel(e, t);
985
- if (b(e)) e = Y.delayedCall(0, e);
986
- else return this;
987
- }
988
- return this === e ? this : Xe(this, e, t);
989
- }, n.getChildren = function(e, t, n, r) {
990
- e === void 0 && (e = !0), t === void 0 && (t = !0), n === void 0 && (n = !0), r === void 0 && (r = -d);
991
- for (var i = [], a = this._first; a;) a._start >= r && (a instanceof Y ? t && i.push(a) : (n && i.push(a), e && i.push.apply(i, a.getChildren(!0, t, n)))), a = a._next;
992
- return i;
993
- }, n.getById = function(e) {
994
- for (var t = this.getChildren(1, 1, 1), n = t.length; n--;) if (t[n].vars.id === e) return t[n];
995
- }, n.remove = function(e) {
996
- return y(e) ? this.removeLabel(e) : b(e) ? this.killTweensOf(e) : (e.parent === this && Re(this, e), e === this._recent && (this._recent = this._last), Be(this));
997
- }, n.totalTime = function(t, n) {
998
- return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start = U(Gt.time - (this._ts > 0 ? t / this._ts : (this.totalDuration() - t) / -this._ts))), e.prototype.totalTime.call(this, t, n), this._forcing = 0, this) : this._tTime;
999
- }, n.addLabel = function(e, t) {
1000
- return this.labels[e] = ot(this, t), this;
1001
- }, n.removeLabel = function(e) {
1002
- return delete this.labels[e], this;
1003
- }, n.addPause = function(e, t, n) {
1004
- var r = Y.delayedCall(0, t || ce, n);
1005
- return r.data = "isPause", this._hasPause = 1, Xe(this, r, ot(this, e));
1006
- }, n.removePause = function(e) {
1007
- var t = this._first;
1008
- for (e = ot(this, e); t;) t._start === e && t.data === "isPause" && ze(t), t = t._next;
1009
- }, n.killTweensOf = function(e, t, n) {
1010
- for (var r = this.getTweensOf(e, n), i = r.length; i--;) fn !== r[i] && r[i].kill(e, t);
1011
- return this;
1012
- }, n.getTweensOf = function(e, t) {
1013
- for (var n = [], r = mt(e), i = this._first, a = x(t), o; i;) i instanceof Y ? Te(i._targets, r) && (a ? (!fn || i._initted && i._ts) && i.globalTime(0) <= t && i.globalTime(i.totalDuration()) > t : !t || i.isActive()) && n.push(i) : (o = i.getTweensOf(r, t)).length && n.push.apply(n, o), i = i._next;
1014
- return n;
1015
- }, n.tweenTo = function(e, t) {
1016
- t ||= {};
1017
- var n = this, r = ot(n, e), i = t, a = i.startAt, o = i.onStart, s = i.onStartParams, c = i.immediateRender, l, u = Y.to(n, W({
1018
- ease: t.ease || "none",
1019
- lazy: !1,
1020
- immediateRender: !1,
1021
- time: r,
1022
- overwrite: "auto",
1023
- duration: t.duration || Math.abs((r - (a && "time" in a ? a.time : n._time)) / n.timeScale()) || f,
1024
- onStart: function() {
1025
- if (n.pause(), !l) {
1026
- var e = t.duration || Math.abs((r - (a && "time" in a ? a.time : n._time)) / n.timeScale());
1027
- u._dur !== e && rt(u, e, 0, 1).render(u._time, !0, !0), l = 1;
1028
- }
1029
- o && o.apply(u, s || []);
1030
- }
1031
- }, t));
1032
- return c ? u.render(0) : u;
1033
- }, n.tweenFromTo = function(e, t, n) {
1034
- return this.tweenTo(t, W({ startAt: { time: ot(this, e) } }, n));
1035
- }, n.recent = function() {
1036
- return this._recent;
1037
- }, n.nextLabel = function(e) {
1038
- return e === void 0 && (e = this._time), At(this, ot(this, e));
1039
- }, n.previousLabel = function(e) {
1040
- return e === void 0 && (e = this._time), At(this, ot(this, e), 1);
1041
- }, n.currentLabel = function(e) {
1042
- return arguments.length ? this.seek(e, !0) : this.previousLabel(this._time + f);
1043
- }, n.shiftChildren = function(e, t, n) {
1044
- n === void 0 && (n = 0);
1045
- var r = this._first, i = this.labels, a;
1046
- for (e = U(e); r;) r._start >= n && (r._start += e, r._end += e), r = r._next;
1047
- if (t) for (a in i) i[a] >= n && (i[a] += e);
1048
- return Be(this);
1049
- }, n.invalidate = function(t) {
1050
- var n = this._first;
1051
- for (this._lock = 0; n;) n.invalidate(t), n = n._next;
1052
- return e.prototype.invalidate.call(this, t);
1053
- }, n.clear = function(e) {
1054
- e === void 0 && (e = !0);
1055
- for (var t = this._first, n; t;) n = t._next, this.remove(t), t = n;
1056
- return this._dp && (this._time = this._tTime = this._pTime = 0), e && (this.labels = {}), Be(this);
1057
- }, n.totalDuration = function(e) {
1058
- var t = 0, n = this, r = n._last, i = d, a, o, s;
1059
- if (arguments.length) return n.timeScale((n._repeat < 0 ? n.duration() : n.totalDuration()) / (n.reversed() ? -e : e));
1060
- if (n._dirty) {
1061
- for (s = n.parent; r;) a = r._prev, r._dirty && r.totalDuration(), o = r._start, o > i && n._sort && r._ts && !n._lock ? (n._lock = 1, Xe(n, r, o - r._delay, 1)._lock = 0) : i = o, o < 0 && r._ts && (t -= o, (!s && !n._dp || s && s.smoothChildTiming) && (n._start += U(o / n._ts), n._time -= o, n._tTime -= o), n.shiftChildren(-o, !1, -Infinity), i = 0), r._end > t && r._ts && (t = r._end), r = a;
1062
- rt(n, n === R && n._time > t ? n._time : t, 1, 1), n._dirty = 0;
1063
- }
1064
- return n._tDur;
1065
- }, t.updateRoot = function(e) {
1066
- if (R._ts && (Oe(R, Ke(e, R)), he = Gt.frame), Gt.frame >= ve) {
1067
- ve += o.autoSleep || 120;
1068
- var t = R._first;
1069
- if ((!t || !t._ts) && o.autoSleep && Gt._listeners.length < 2) {
1070
- for (; t && !t._ts;) t = t._next;
1071
- t || Gt.sleep();
1072
- }
1073
- }
1074
- }, t;
1075
- }(sn);
1076
- W(J.prototype, {
1077
- _lock: 0,
1078
- _hasPause: 0,
1079
- _forcing: 0
1080
- });
1081
- var cn = function(e, t, n, r, i, a, o) {
1082
- var s = new X(this._pt, e, t, 0, 1, On, null, i), c = 0, l = 0, u, d, f, p, m, h, g, _;
1083
- for (s.b = n, s.e = r, n += "", r += "", (g = ~r.indexOf("random(")) && (r = Dt(r)), a && (_ = [n, r], a(_, e, t), n = _[0], r = _[1]), d = n.match(P) || []; u = P.exec(r);) p = u[0], m = r.substring(c, u.index), f ? f = (f + 1) % 5 : m.substr(-5) === "rgba(" && (f = 1), p !== d[l++] && (h = parseFloat(d[l - 1]) || 0, s._pt = {
1084
- _next: s._pt,
1085
- p: m || l === 1 ? m : ",",
1086
- s: h,
1087
- c: p.charAt(1) === "=" ? we(h, p) - h : parseFloat(p) - h,
1088
- m: f && f < 4 ? Math.round : 0
1089
- }, c = P.lastIndex);
1090
- return s.c = c < r.length ? r.substring(c, r.length) : "", s.fp = o, (F.test(r) || g) && (s.e = 0), this._pt = s, s;
1091
- }, ln = function(e, t, n, r, i, a, s, c, l, u) {
1092
- b(r) && (r = r(i || 0, e, a));
1093
- var d = e[t], f = n === "get" ? b(d) ? l ? e[t.indexOf("set") || !b(e["get" + t.substr(3)]) ? t : "get" + t.substr(3)](l) : e[t]() : d : n, p = b(d) ? l ? Cn : Sn : xn, m;
1094
- if (y(r) && (~r.indexOf("random(") && (r = Dt(r)), r.charAt(1) === "=" && (m = we(f, r) + (G(f) || 0), (m || m === 0) && (r = m))), !u || f !== r || pn) return !isNaN(f * r) && r !== "" ? (m = new X(this._pt, e, t, +f || 0, r - (f || 0), typeof d == "boolean" ? Dn : En, 0, p), l && (m.fp = l), s && m.modifier(s, this, e), this._pt = m) : (!d && !(t in e) && ae(t, r), cn.call(this, e, t, f, r, p, c || o.stringFilter, l));
1095
- }, un = function(e, t, n, r, i) {
1096
- if (b(e) && (e = vn(e, i, t, n, r)), !C(e) || e.style && e.nodeType || O(e) || D(e)) return y(e) ? vn(e, i, t, n, r) : e;
1097
- var a = {}, o;
1098
- for (o in e) a[o] = vn(e[o], i, t, n, r);
1099
- return a;
1100
- }, dn = function(e, t, n, r, i, a) {
1101
- var o, s, c, l;
1102
- if (ge[e] && (o = new ge[e]()).init(i, o.rawVars ? t[e] : un(t[e], r, i, a, n), n, r, a) !== !1 && (n._pt = s = new X(n._pt, i, e, 0, 1, o.render, o, 0, o.priority), n !== Nt)) for (c = n._ptLookup[n._targets.indexOf(i)], l = o._props.length; l--;) c[o._props[l]] = s;
1103
- return o;
1104
- }, fn, pn, mn = function e(t, n, r) {
1105
- var i = t.vars, a = i.ease, o = i.startAt, u = i.immediateRender, p = i.lazy, m = i.onUpdate, h = i.runBackwards, g = i.yoyoEase, _ = i.keyframes, v = i.autoRevert, y = t._dur, b = t._startAt, x = t._targets, S = t.parent, C = S && S.data === "nested" ? S.vars.targets : x, T = t._overwrite === "auto" && !c, E = t.timeline, D, O, k, A, j, M, N, P, F, I, L, z, B;
1106
- if (E && (!_ || !a) && (a = "none"), t._ease = en(a, s.ease), t._yEase = g ? Qt(en(g === !0 ? a : g, s.ease)) : 0, g && t._yoyo && !t._repeat && (g = t._yEase, t._yEase = t._ease, t._ease = g), t._from = !E && !!i.runBackwards, !E || _ && !i.stagger) {
1107
- if (P = x[0] ? Se(x[0]).harness : 0, z = P && i[P.prop], D = Pe(i, fe), b && (b._zTime < 0 && b.progress(1), n < 0 && h && u && !v ? b.render(-1, !0) : b.revert(h && y ? ue : le), b._lazy = 0), o) {
1108
- if (ze(t._startAt = Y.set(x, W({
1109
- data: "isStart",
1110
- overwrite: !1,
1111
- parent: S,
1112
- immediateRender: !0,
1113
- lazy: !b && w(p),
1114
- startAt: null,
1115
- delay: 0,
1116
- onUpdate: m && function() {
1117
- return jt(t, "onUpdate");
1118
- },
1119
- stagger: 0
1120
- }, o))), t._startAt._dp = 0, t._startAt._sat = t, n < 0 && (l || !u && !v) && t._startAt.revert(ue), u && y && n <= 0 && r <= 0) {
1121
- n && (t._zTime = n);
1122
- return;
1123
- }
1124
- } else if (h && y && !b) {
1125
- if (n && (u = !1), k = W({
1126
- overwrite: !1,
1127
- data: "isFromStart",
1128
- lazy: u && !b && w(p),
1129
- immediateRender: u,
1130
- stagger: 0,
1131
- parent: S
1132
- }, D), z && (k[P.prop] = z), ze(t._startAt = Y.set(x, k)), t._startAt._dp = 0, t._startAt._sat = t, n < 0 && (l ? t._startAt.revert(ue) : t._startAt.render(-1, !0)), t._zTime = n, !u) e(t._startAt, f, f);
1133
- else if (!n) return;
1134
- }
1135
- for (t._pt = t._ptCache = 0, p = y && w(p) || p && !y, O = 0; O < x.length; O++) {
1136
- if (j = x[O], N = j._gsap || xe(x)[O]._gsap, t._ptLookup[O] = I = {}, me[N.id] && pe.length && Ee(), L = C === x ? O : C.indexOf(j), P && (F = new P()).init(j, z || D, t, L, C) !== !1 && (t._pt = A = new X(t._pt, j, F.name, 0, 1, F.render, F, 0, F.priority), F._props.forEach(function(e) {
1137
- I[e] = A;
1138
- }), F.priority && (M = 1)), !P || z) for (k in D) ge[k] && (F = dn(k, D, t, L, j, C)) ? F.priority && (M = 1) : I[k] = A = ln.call(t, j, k, "get", D[k], L, C, 0, i.stringFilter);
1139
- t._op && t._op[O] && t.kill(j, t._op[O]), T && t._pt && (fn = t, R.killTweensOf(j, I, t.globalTime(n)), B = !t.parent, fn = 0), t._pt && p && (me[N.id] = 1);
1140
- }
1141
- M && Nn(t), t._onInit && t._onInit(t);
1142
- }
1143
- t._onUpdate = m, t._initted = (!t._op || t._pt) && !B, _ && n <= 0 && E.render(d, !0, !0);
1144
- }, hn = function(e, t, n, r, i, a, o, s) {
1145
- var c = (e._pt && e._ptCache || (e._ptCache = {}))[t], l, u, d, f;
1146
- if (!c) for (c = e._ptCache[t] = [], d = e._ptLookup, f = e._targets.length; f--;) {
1147
- if (l = d[f][t], l && l.d && l.d._pt) for (l = l.d._pt; l && l.p !== t && l.fp !== t;) l = l._next;
1148
- if (!l) return pn = 1, e.vars[t] = "+=0", mn(e, o), pn = 0, s ? oe(t + " not eligible for reset") : 1;
1149
- c.push(l);
1150
- }
1151
- for (f = c.length; f--;) u = c[f], l = u._pt || u, l.s = (r || r === 0) && !i ? r : l.s + (r || 0) + a * l.c, l.c = n - l.s, u.e &&= H(n) + G(u.e), u.b &&= l.s + G(u.b);
1152
- }, gn = function(e, t) {
1153
- var n = e[0] ? Se(e[0]).harness : 0, r = n && n.aliases, i, a, o, s;
1154
- if (!r) return t;
1155
- for (a in i = Me({}, t), r) if (a in i) for (s = r[a].split(","), o = s.length; o--;) i[s[o]] = i[a];
1156
- return i;
1157
- }, _n = function(e, t, n, r) {
1158
- var i = t.ease || r || "power1.inOut", a, o;
1159
- if (O(t)) o = n[e] || (n[e] = []), t.forEach(function(e, n) {
1160
- return o.push({
1161
- t: n / (t.length - 1) * 100,
1162
- v: e,
1163
- e: i
1164
- });
1165
- });
1166
- else for (a in t) o = n[a] || (n[a] = []), a === "ease" || o.push({
1167
- t: parseFloat(e),
1168
- v: t[a],
1169
- e: i
1170
- });
1171
- }, vn = function(e, t, n, r, i) {
1172
- return b(e) ? e.call(t, n, r, i) : y(e) && ~e.indexOf("random(") ? Dt(e) : e;
1173
- }, yn = be + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", bn = {};
1174
- V(yn + ",id,stagger,delay,duration,paused,scrollTrigger", function(e) {
1175
- return bn[e] = 1;
1176
- });
1177
- var Y = /* @__PURE__ */ function(e) {
1178
- a(t, e);
1179
- function t(t, n, r, a) {
1180
- var s;
1181
- typeof n == "number" && (r.duration = n, n = r, r = null), s = e.call(this, a ? n : Fe(n)) || this;
1182
- var l = s.vars, u = l.duration, d = l.delay, p = l.immediateRender, m = l.stagger, h = l.overwrite, g = l.keyframes, _ = l.defaults, v = l.scrollTrigger, y = l.yoyoEase, b = n.parent || R, S = (O(t) || D(t) ? x(t[0]) : "length" in n) ? [t] : mt(t), T, k, A, j, M, N, P, F;
1183
- if (s._targets = S.length ? xe(S) : oe("GSAP target " + t + " not found. https://gsap.com", !o.nullTargetWarn) || [], s._ptLookup = [], s._overwrite = h, g || m || E(u) || E(d)) {
1184
- if (n = s.vars, T = s.timeline = new J({
1185
- data: "nested",
1186
- defaults: _ || {},
1187
- targets: b && b.data === "nested" ? b.vars.targets : S
1188
- }), T.kill(), T.parent = T._dp = i(s), T._start = 0, m || E(u) || E(d)) {
1189
- if (j = S.length, P = m && _t(m), C(m)) for (M in m) ~yn.indexOf(M) && (F ||= {}, F[M] = m[M]);
1190
- for (k = 0; k < j; k++) A = Pe(n, bn), A.stagger = 0, y && (A.yoyoEase = y), F && Me(A, F), N = S[k], A.duration = +vn(u, i(s), k, N, S), A.delay = (+vn(d, i(s), k, N, S) || 0) - s._delay, !m && j === 1 && A.delay && (s._delay = d = A.delay, s._start += d, A.delay = 0), T.to(N, A, P ? P(k, N, S) : 0), T._ease = q.none;
1191
- T.duration() ? u = d = 0 : s.timeline = 0;
1192
- } else if (g) {
1193
- Fe(W(T.vars.defaults, { ease: "none" })), T._ease = en(g.ease || n.ease || "none");
1194
- var I = 0, L, z, B;
1195
- if (O(g)) g.forEach(function(e) {
1196
- return T.to(S, e, ">");
1197
- }), T.duration();
1198
- else {
1199
- for (M in A = {}, g) M === "ease" || M === "easeEach" || _n(M, g[M], A, g.easeEach);
1200
- for (M in A) for (L = A[M].sort(function(e, t) {
1201
- return e.t - t.t;
1202
- }), I = 0, k = 0; k < L.length; k++) z = L[k], B = {
1203
- ease: z.e,
1204
- duration: (z.t - (k ? L[k - 1].t : 0)) / 100 * u
1205
- }, B[M] = z.v, T.to(S, B, I), I += B.duration;
1206
- T.duration() < u && T.to({}, { duration: u - T.duration() });
1207
- }
1208
- }
1209
- u || s.duration(u = T.duration());
1210
- } else s.timeline = 0;
1211
- return h === !0 && !c && (fn = i(s), R.killTweensOf(S), fn = 0), Xe(b, i(s), r), n.reversed && s.reverse(), n.paused && s.paused(!0), (p || !u && !g && s._start === U(b._time) && w(p) && Ue(i(s)) && b.data !== "nested") && (s._tTime = -f, s.render(Math.max(0, -d) || 0)), v && Ze(i(s), v), s;
1212
- }
1213
- var n = t.prototype;
1214
- return n.render = function(e, t, n) {
1215
- var r = this._time, i = this._tDur, a = this._dur, o = e < 0, s = e > i - f && !o ? i : e < f ? 0 : e, c, l, u, d, p, m, h, g, _;
1216
- if (!a) tt(this, e, t, n);
1217
- else if (s !== this._tTime || !e || n || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== o || this._lazy) {
1218
- if (c = s, g = this.timeline, this._repeat) {
1219
- if (d = a + this._rDelay, this._repeat < -1 && o) return this.totalTime(d * 100 + e, t, n);
1220
- if (c = U(s % d), s === i ? (u = this._repeat, c = a) : (p = U(s / d), u = ~~p, u && u === p ? (c = a, u--) : c > a && (c = a)), m = this._yoyo && u & 1, m && (_ = this._yEase, c = a - c), p = Ge(this._tTime, d), c === r && !n && this._initted && u === p) return this._tTime = s, this;
1221
- u !== p && (g && this._yEase && $t(g, m), this.vars.repeatRefresh && !m && !this._lock && c !== d && this._initted && (this._lock = n = 1, this.render(U(d * u), !0).invalidate()._lock = 0));
1222
- }
1223
- if (!this._initted) {
1224
- if (Qe(this, o ? e : c, n, t, s)) return this._tTime = 0, this;
1225
- if (r !== this._time && !(n && this.vars.repeatRefresh && u !== p)) return this;
1226
- if (a !== this._dur) return this.render(e, t, n);
1227
- }
1228
- if (this._tTime = s, this._time = c, !this._act && this._ts && (this._act = 1, this._lazy = 0), this.ratio = h = (_ || this._ease)(c / a), this._from && (this.ratio = h = 1 - h), !r && s && !t && !p && (jt(this, "onStart"), this._tTime !== s)) return this;
1229
- for (l = this._pt; l;) l.r(h, l.d), l = l._next;
1230
- g && g.render(e < 0 ? e : g._dur * g._ease(c / this._dur), t, n) || this._startAt && (this._zTime = e), this._onUpdate && !t && (o && He(this, e, t, n), jt(this, "onUpdate")), this._repeat && u !== p && this.vars.onRepeat && !t && this.parent && jt(this, "onRepeat"), (s === this._tDur || !s) && this._tTime === s && (o && !this._onUpdate && He(this, e, !0, !0), (e || !a) && (s === this._tDur && this._ts > 0 || !s && this._ts < 0) && ze(this, 1), !t && !(o && !r) && (s || r || m) && (jt(this, s === i ? "onComplete" : "onReverseComplete", !0), this._prom && !(s < i && this.timeScale() > 0) && this._prom()));
1231
- }
1232
- return this;
1233
- }, n.targets = function() {
1234
- return this._targets;
1235
- }, n.invalidate = function(t) {
1236
- return (!t || !this.vars.runBackwards) && (this._startAt = 0), this._pt = this._op = this._onUpdate = this._lazy = this.ratio = 0, this._ptLookup = [], this.timeline && this.timeline.invalidate(t), e.prototype.invalidate.call(this, t);
1237
- }, n.resetTo = function(e, t, n, r, i) {
1238
- Wt || Gt.wake(), this._ts || this.play();
1239
- var a = Math.min(this._dur, (this._dp._time - this._start) * this._ts), o;
1240
- return this._initted || mn(this, a), o = this._ease(a / this._dur), hn(this, e, t, n, r, o, a, i) ? this.resetTo(e, t, n, r, 1) : (Je(this, 0), this.parent || Le(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
1241
- }, n.kill = function(e, t) {
1242
- if (t === void 0 && (t = "all"), !e && (!t || t === "all")) return this._lazy = this._pt = 0, this.parent ? Mt(this) : this.scrollTrigger && this.scrollTrigger.kill(!!l), this;
1243
- if (this.timeline) {
1244
- var n = this.timeline.totalDuration();
1245
- return this.timeline.killTweensOf(e, t, fn && fn.vars.overwrite !== !0)._first || Mt(this), this.parent && n !== this.timeline.totalDuration() && rt(this, this._dur * this.timeline._tDur / n, 0, 1), this;
1246
- }
1247
- var r = this._targets, i = e ? mt(e) : r, a = this._ptLookup, o = this._pt, s, c, u, d, f, p, m;
1248
- if ((!t || t === "all") && Ie(r, i)) return t === "all" && (this._pt = 0), Mt(this);
1249
- for (s = this._op = this._op || [], t !== "all" && (y(t) && (f = {}, V(t, function(e) {
1250
- return f[e] = 1;
1251
- }), t = f), t = gn(r, t)), m = r.length; m--;) if (~i.indexOf(r[m])) for (f in c = a[m], t === "all" ? (s[m] = t, d = c, u = {}) : (u = s[m] = s[m] || {}, d = t), d) p = c && c[f], p && ((!("kill" in p.d) || p.d.kill(f) === !0) && Re(this, p, "_pt"), delete c[f]), u !== "all" && (u[f] = 1);
1252
- return this._initted && !this._pt && o && Mt(this), this;
1253
- }, t.to = function(e, n) {
1254
- return new t(e, n, arguments[2]);
1255
- }, t.from = function(e, t) {
1256
- return st(1, arguments);
1257
- }, t.delayedCall = function(e, n, r, i) {
1258
- return new t(n, 0, {
1259
- immediateRender: !1,
1260
- lazy: !1,
1261
- overwrite: !1,
1262
- delay: e,
1263
- onComplete: n,
1264
- onReverseComplete: n,
1265
- onCompleteParams: r,
1266
- onReverseCompleteParams: r,
1267
- callbackScope: i
1268
- });
1269
- }, t.fromTo = function(e, t, n) {
1270
- return st(2, arguments);
1271
- }, t.set = function(e, n) {
1272
- return n.duration = 0, n.repeatDelay || (n.repeat = 0), new t(e, n);
1273
- }, t.killTweensOf = function(e, t, n) {
1274
- return R.killTweensOf(e, t, n);
1275
- }, t;
1276
- }(sn);
1277
- W(Y.prototype, {
1278
- _targets: [],
1279
- _lazy: 0,
1280
- _startAt: 0,
1281
- _op: 0,
1282
- _onInit: 0
1283
- }), V("staggerTo,staggerFrom,staggerFromTo", function(e) {
1284
- Y[e] = function() {
1285
- var t = new J(), n = dt.call(arguments, 0);
1286
- return n.splice(e === "staggerFromTo" ? 5 : 4, 0, 0), t[e].apply(t, n);
1287
- };
1288
- });
1289
- var xn = function(e, t, n) {
1290
- return e[t] = n;
1291
- }, Sn = function(e, t, n) {
1292
- return e[t](n);
1293
- }, Cn = function(e, t, n, r) {
1294
- return e[t](r.fp, n);
1295
- }, wn = function(e, t, n) {
1296
- return e.setAttribute(t, n);
1297
- }, Tn = function(e, t) {
1298
- return b(e[t]) ? Sn : S(e[t]) && e.setAttribute ? wn : xn;
1299
- }, En = function(e, t) {
1300
- return t.set(t.t, t.p, Math.round((t.s + t.c * e) * 1e6) / 1e6, t);
1301
- }, Dn = function(e, t) {
1302
- return t.set(t.t, t.p, !!(t.s + t.c * e), t);
1303
- }, On = function(e, t) {
1304
- var n = t._pt, r = "";
1305
- if (!e && t.b) r = t.b;
1306
- else if (e === 1 && t.e) r = t.e;
1307
- else {
1308
- for (; n;) r = n.p + (n.m ? n.m(n.s + n.c * e) : Math.round((n.s + n.c * e) * 1e4) / 1e4) + r, n = n._next;
1309
- r += t.c;
1310
- }
1311
- t.set(t.t, t.p, r, t);
1312
- }, kn = function(e, t) {
1313
- for (var n = t._pt; n;) n.r(e, n.d), n = n._next;
1314
- }, An = function(e, t, n, r) {
1315
- for (var i = this._pt, a; i;) a = i._next, i.p === r && i.modifier(e, t, n), i = a;
1316
- }, jn = function(e) {
1317
- for (var t = this._pt, n, r; t;) r = t._next, t.p === e && !t.op || t.op === e ? Re(this, t, "_pt") : t.dep || (n = 1), t = r;
1318
- return !n;
1319
- }, Mn = function(e, t, n, r) {
1320
- r.mSet(e, t, r.m.call(r.tween, n, r.mt), r);
1321
- }, Nn = function(e) {
1322
- for (var t = e._pt, n, r, i, a; t;) {
1323
- for (n = t._next, r = i; r && r.pr > t.pr;) r = r._next;
1324
- (t._prev = r ? r._prev : a) ? t._prev._next = t : i = t, (t._next = r) ? r._prev = t : a = t, t = n;
1325
- }
1326
- e._pt = i;
1327
- }, X = /* @__PURE__ */ function() {
1328
- function e(e, t, n, r, i, a, o, s, c) {
1329
- this.t = t, this.s = r, this.c = i, this.p = n, this.r = a || En, this.d = o || this, this.set = s || xn, this.pr = c || 0, this._next = e, e && (e._prev = this);
1330
- }
1331
- var t = e.prototype;
1332
- return t.modifier = function(e, t, n) {
1333
- this.mSet = this.mSet || this.set, this.set = Mn, this.m = e, this.mt = n, this.tween = t;
1334
- }, e;
1335
- }();
1336
- V(be + "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(e) {
1337
- return fe[e] = 1;
1338
- }), te.TweenMax = te.TweenLite = Y, te.TimelineLite = te.TimelineMax = J, R = new J({
1339
- sortChildren: !1,
1340
- defaults: s,
1341
- autoRemoveChildren: !0,
1342
- id: "root",
1343
- smoothChildTiming: !0
1344
- }), o.stringFilter = Ut;
1345
- var Pn = [], Fn = {}, In = [], Ln = 0, Rn = 0, zn = function(e) {
1346
- return (Fn[e] || In).map(function(e) {
1347
- return e();
1348
- });
1349
- }, Bn = function() {
1350
- var e = Date.now(), t = [];
1351
- e - Ln > 2 && (zn("matchMediaInit"), Pn.forEach(function(e) {
1352
- var n = e.queries, r = e.conditions, i, a, o, s;
1353
- for (a in n) i = z.matchMedia(n[a]).matches, i && (o = 1), i !== r[a] && (r[a] = i, s = 1);
1354
- s && (e.revert(), o && t.push(e));
1355
- }), zn("matchMediaRevert"), t.forEach(function(e) {
1356
- return e.onMatch(e, function(t) {
1357
- return e.add(null, t);
1358
- });
1359
- }), Ln = e, zn("matchMedia"));
1360
- }, Vn = /* @__PURE__ */ function() {
1361
- function e(e, t) {
1362
- this.selector = t && ht(t), this.data = [], this._r = [], this.isReverted = !1, this.id = Rn++, e && this.add(e);
1363
- }
1364
- var t = e.prototype;
1365
- return t.add = function(e, t, n) {
1366
- b(e) && (n = t, t = e, e = b);
1367
- var r = this, i = function() {
1368
- var e = u, i = r.selector, a;
1369
- return e && e !== r && e.data.push(r), n && (r.selector = ht(n)), u = r, a = t.apply(r, arguments), b(a) && r._r.push(a), u = e, r.selector = i, r.isReverted = !1, a;
1370
- };
1371
- return r.last = i, e === b ? i(r, function(e) {
1372
- return r.add(null, e);
1373
- }) : e ? r[e] = i : i;
1374
- }, t.ignore = function(e) {
1375
- var t = u;
1376
- u = null, e(this), u = t;
1377
- }, t.getTweens = function() {
1378
- var t = [];
1379
- return this.data.forEach(function(n) {
1380
- return n instanceof e ? t.push.apply(t, n.getTweens()) : n instanceof Y && !(n.parent && n.parent.data === "nested") && t.push(n);
1381
- }), t;
1382
- }, t.clear = function() {
1383
- this._r.length = this.data.length = 0;
1384
- }, t.kill = function(e, t) {
1385
- var n = this;
1386
- if (e ? (function() {
1387
- for (var t = n.getTweens(), r = n.data.length, i; r--;) i = n.data[r], i.data === "isFlip" && (i.revert(), i.getChildren(!0, !0, !1).forEach(function(e) {
1388
- return t.splice(t.indexOf(e), 1);
1389
- }));
1390
- for (t.map(function(e) {
1391
- return {
1392
- g: e._dur || e._delay || e._sat && !e._sat.vars.immediateRender ? e.globalTime(0) : -Infinity,
1393
- t: e
1394
- };
1395
- }).sort(function(e, t) {
1396
- return t.g - e.g || -Infinity;
1397
- }).forEach(function(t) {
1398
- return t.t.revert(e);
1399
- }), r = n.data.length; r--;) i = n.data[r], i instanceof J ? i.data !== "nested" && (i.scrollTrigger && i.scrollTrigger.revert(), i.kill()) : !(i instanceof Y) && i.revert && i.revert(e);
1400
- n._r.forEach(function(t) {
1401
- return t(e, n);
1402
- }), n.isReverted = !0;
1403
- })() : this.data.forEach(function(e) {
1404
- return e.kill && e.kill();
1405
- }), this.clear(), t) for (var r = Pn.length; r--;) Pn[r].id === this.id && Pn.splice(r, 1);
1406
- }, t.revert = function(e) {
1407
- this.kill(e || {});
1408
- }, e;
1409
- }(), Hn = /* @__PURE__ */ function() {
1410
- function e(e) {
1411
- this.contexts = [], this.scope = e, u && u.data.push(this);
1412
- }
1413
- var t = e.prototype;
1414
- return t.add = function(e, t, n) {
1415
- C(e) || (e = { matches: e });
1416
- var r = new Vn(0, n || this.scope), i = r.conditions = {}, a, o, s;
1417
- for (o in u && !r.selector && (r.selector = u.selector), this.contexts.push(r), t = r.add("onMatch", t), r.queries = e, e) o === "all" ? s = 1 : (a = z.matchMedia(e[o]), a && (Pn.indexOf(r) < 0 && Pn.push(r), (i[o] = a.matches) && (s = 1), a.addListener ? a.addListener(Bn) : a.addEventListener("change", Bn)));
1418
- return s && t(r, function(e) {
1419
- return r.add(null, e);
1420
- }), this;
1421
- }, t.revert = function(e) {
1422
- this.kill(e || {});
1423
- }, t.kill = function(e) {
1424
- this.contexts.forEach(function(t) {
1425
- return t.kill(e, !0);
1426
- });
1427
- }, e;
1428
- }(), Un = {
1429
- registerPlugin: function() {
1430
- [...arguments].forEach(function(e) {
1431
- return Ft(e);
1432
- });
1433
- },
1434
- timeline: function(e) {
1435
- return new J(e);
1436
- },
1437
- getTweensOf: function(e, t) {
1438
- return R.getTweensOf(e, t);
1439
- },
1440
- getProperty: function(e, t, n, r) {
1441
- y(e) && (e = mt(e)[0]);
1442
- var i = Se(e || {}).get, a = n ? Ae : ke;
1443
- return n === "native" && (n = ""), e && (t ? a((ge[t] && ge[t].get || i)(e, t, n, r)) : function(t, n, r) {
1444
- return a((ge[t] && ge[t].get || i)(e, t, n, r));
1445
- });
1446
- },
1447
- quickSetter: function(e, t, n) {
1448
- if (e = mt(e), e.length > 1) {
1449
- var r = e.map(function(e) {
1450
- return Z.quickSetter(e, t, n);
1451
- }), i = r.length;
1452
- return function(e) {
1453
- for (var t = i; t--;) r[t](e);
1454
- };
1455
- }
1456
- e = e[0] || {};
1457
- var a = ge[t], o = Se(e), s = o.harness && (o.harness.aliases || {})[t] || t, c = a ? function(t) {
1458
- var r = new a();
1459
- Nt._pt = 0, r.init(e, n ? t + n : t, Nt, 0, [e]), r.render(1, r), Nt._pt && kn(1, Nt);
1460
- } : o.set(e, s);
1461
- return a ? c : function(t) {
1462
- return c(e, s, n ? t + n : t, o, 1);
1463
- };
1464
- },
1465
- quickTo: function(e, t, n) {
1466
- var r, i = Z.to(e, W((r = {}, r[t] = "+=0.1", r.paused = !0, r.stagger = 0, r), n || {})), a = function(e, n, r) {
1467
- return i.resetTo(t, e, n, r);
1468
- };
1469
- return a.tween = i, a;
1470
- },
1471
- isTweening: function(e) {
1472
- return R.getTweensOf(e, !0).length > 0;
1473
- },
1474
- defaults: function(e) {
1475
- return e && e.ease && (e.ease = en(e.ease, s.ease)), Ne(s, e || {});
1476
- },
1477
- config: function(e) {
1478
- return Ne(o, e || {});
1479
- },
1480
- registerEffect: function(e) {
1481
- var t = e.name, n = e.effect, r = e.plugins, i = e.defaults, a = e.extendTimeline;
1482
- (r || "").split(",").forEach(function(e) {
1483
- return e && !ge[e] && !te[e] && oe(t + " effect requires " + e + " plugin.");
1484
- }), _e[t] = function(e, t, r) {
1485
- return n(mt(e), W(t || {}, i), r);
1486
- }, a && (J.prototype[t] = function(e, n, r) {
1487
- return this.add(_e[t](e, C(n) ? n : (r = n) && {}, this), r);
1488
- });
1489
- },
1490
- registerEase: function(e, t) {
1491
- q[e] = en(t);
1492
- },
1493
- parseEase: function(e, t) {
1494
- return arguments.length ? en(e, t) : q;
1495
- },
1496
- getById: function(e) {
1497
- return R.getById(e);
1498
- },
1499
- exportRoot: function(e, t) {
1500
- e === void 0 && (e = {});
1501
- var n = new J(e), r, i;
1502
- for (n.smoothChildTiming = w(e.smoothChildTiming), R.remove(n), n._dp = 0, n._time = n._tTime = R._time, r = R._first; r;) i = r._next, (t || !(!r._dur && r instanceof Y && r.vars.onComplete === r._targets[0])) && Xe(n, r, r._start - r._delay), r = i;
1503
- return Xe(R, n, 0), n;
1504
- },
1505
- context: function(e, t) {
1506
- return e ? new Vn(e, t) : u;
1507
- },
1508
- matchMedia: function(e) {
1509
- return new Hn(e);
1510
- },
1511
- matchMediaRefresh: function() {
1512
- return Pn.forEach(function(e) {
1513
- var t = e.conditions, n, r;
1514
- for (r in t) t[r] && (t[r] = !1, n = 1);
1515
- n && e.revert();
1516
- }) || Bn();
1517
- },
1518
- addEventListener: function(e, t) {
1519
- var n = Fn[e] || (Fn[e] = []);
1520
- ~n.indexOf(t) || n.push(t);
1521
- },
1522
- removeEventListener: function(e, t) {
1523
- var n = Fn[e], r = n && n.indexOf(t);
1524
- r >= 0 && n.splice(r, 1);
1525
- },
1526
- utils: {
1527
- wrap: Tt,
1528
- wrapYoyo: Et,
1529
- distribute: _t,
1530
- random: bt,
1531
- snap: yt,
1532
- normalize: Ct,
1533
- getUnit: G,
1534
- clamp: ut,
1535
- splitColor: Rt,
1536
- toArray: mt,
1537
- selector: ht,
1538
- mapRange: Ot,
1539
- pipe: xt,
1540
- unitize: St,
1541
- interpolate: kt,
1542
- shuffle: gt
1543
- },
1544
- install: ie,
1545
- effects: _e,
1546
- ticker: Gt,
1547
- updateRoot: J.updateRoot,
1548
- plugins: ge,
1549
- globalTimeline: R,
1550
- core: {
1551
- PropTween: X,
1552
- globals: se,
1553
- Tween: Y,
1554
- Timeline: J,
1555
- Animation: sn,
1556
- getCache: Se,
1557
- _removeLinkedListItem: Re,
1558
- reverting: function() {
1559
- return l;
1560
- },
1561
- context: function(e) {
1562
- return e && u && (u.data.push(e), e._ctx = u), u;
1563
- },
1564
- suppressOverwrites: function(e) {
1565
- return c = e;
1566
- }
1567
- }
1568
- };
1569
- V("to,from,fromTo,delayedCall,set,killTweensOf", function(e) {
1570
- return Un[e] = Y[e];
1571
- }), Gt.add(J.updateRoot), Nt = Un.to({}, { duration: 0 });
1572
- var Wn = function(e, t) {
1573
- for (var n = e._pt; n && n.p !== t && n.op !== t && n.fp !== t;) n = n._next;
1574
- return n;
1575
- }, Gn = function(e, t) {
1576
- var n = e._targets, r, i, a;
1577
- for (r in t) for (i = n.length; i--;) a = e._ptLookup[i][r], (a &&= a.d) && (a._pt && (a = Wn(a, r)), a && a.modifier && a.modifier(t[r], e, n[i], r));
1578
- }, Kn = function(e, t) {
1579
- return {
1580
- name: e,
1581
- headless: 1,
1582
- rawVars: 1,
1583
- init: function(e, n, r) {
1584
- r._onInit = function(e) {
1585
- var r, i;
1586
- if (y(n) && (r = {}, V(n, function(e) {
1587
- return r[e] = 1;
1588
- }), n = r), t) {
1589
- for (i in r = {}, n) r[i] = t(n[i]);
1590
- n = r;
1591
- }
1592
- Gn(e, n);
1593
- };
1594
- }
1595
- };
1596
- }, Z = Un.registerPlugin({
1597
- name: "attr",
1598
- init: function(e, t, n, r, i) {
1599
- var a, o, s;
1600
- for (a in this.tween = n, t) s = e.getAttribute(a) || "", o = this.add(e, "setAttribute", (s || 0) + "", t[a], r, i, 0, 0, a), o.op = a, o.b = s, this._props.push(a);
1601
- },
1602
- render: function(e, t) {
1603
- for (var n = t._pt; n;) l ? n.set(n.t, n.p, n.b, n) : n.r(e, n.d), n = n._next;
1604
- }
1605
- }, {
1606
- name: "endArray",
1607
- headless: 1,
1608
- init: function(e, t) {
1609
- for (var n = t.length; n--;) this.add(e, n, e[n] || 0, t[n], 0, 0, 0, 0, 0, 1);
1610
- }
1611
- }, Kn("roundProps", vt), Kn("modifiers"), Kn("snap", yt)) || Un;
1612
- Y.version = J.version = Z.version = "3.14.2", re = 1, T() && Kt(), q.Power0, q.Power1, q.Power2, q.Power3, q.Power4, q.Linear, q.Quad, q.Cubic, q.Quart, q.Quint, q.Strong, q.Elastic, q.Back, q.SteppedEase, q.Bounce, q.Sine, q.Expo, q.Circ;
1613
- //#endregion
1614
- //#region node_modules/gsap/CSSPlugin.js
1615
- var qn, Jn, Yn, Xn, Zn, Qn, $n, er = function() {
1616
- return typeof window < "u";
1617
- }, tr = {}, nr = 180 / Math.PI, rr = Math.PI / 180, ir = Math.atan2, ar = 1e8, or = /([A-Z])/g, sr = /(left|right|width|margin|padding|x)/i, cr = /[\s,\(]\S/, lr = {
1618
- autoAlpha: "opacity,visibility",
1619
- scale: "scaleX,scaleY",
1620
- alpha: "opacity"
1621
- }, ur = function(e, t) {
1622
- return t.set(t.t, t.p, Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u, t);
1623
- }, dr = function(e, t) {
1624
- return t.set(t.t, t.p, e === 1 ? t.e : Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u, t);
1625
- }, fr = function(e, t) {
1626
- return t.set(t.t, t.p, e ? Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u : t.b, t);
1627
- }, pr = function(e, t) {
1628
- return t.set(t.t, t.p, e === 1 ? t.e : e ? Math.round((t.s + t.c * e) * 1e4) / 1e4 + t.u : t.b, t);
1629
- }, mr = function(e, t) {
1630
- var n = t.s + t.c * e;
1631
- t.set(t.t, t.p, ~~(n + (n < 0 ? -.5 : .5)) + t.u, t);
1632
- }, hr = function(e, t) {
1633
- return t.set(t.t, t.p, e ? t.e : t.b, t);
1634
- }, gr = function(e, t) {
1635
- return t.set(t.t, t.p, e === 1 ? t.e : t.b, t);
1636
- }, _r = function(e, t, n) {
1637
- return e.style[t] = n;
1638
- }, vr = function(e, t, n) {
1639
- return e.style.setProperty(t, n);
1640
- }, yr = function(e, t, n) {
1641
- return e._gsap[t] = n;
1642
- }, br = function(e, t, n) {
1643
- return e._gsap.scaleX = e._gsap.scaleY = n;
1644
- }, xr = function(e, t, n, r, i) {
1645
- var a = e._gsap;
1646
- a.scaleX = a.scaleY = n, a.renderTransform(i, a);
1647
- }, Sr = function(e, t, n, r, i) {
1648
- var a = e._gsap;
1649
- a[t] = n, a.renderTransform(i, a);
1650
- }, Q = "transform", $ = Q + "Origin", Cr = function e(t, n) {
1651
- var r = this, i = this.target, a = i.style, o = i._gsap;
1652
- if (t in tr && a) {
1653
- if (this.tfm = this.tfm || {}, t !== "transform") t = lr[t] || t, ~t.indexOf(",") ? t.split(",").forEach(function(e) {
1654
- return r.tfm[e] = Hr(i, e);
1655
- }) : this.tfm[t] = o.x ? o[t] : Hr(i, t), t === $ && (this.tfm.zOrigin = o.zOrigin);
1656
- else return lr.transform.split(",").forEach(function(t) {
1657
- return e.call(r, t, n);
1658
- });
1659
- if (this.props.indexOf(Q) >= 0) return;
1660
- o.svg && (this.svgo = i.getAttribute("data-svg-origin"), this.props.push($, n, "")), t = Q;
1661
- }
1662
- (a || n) && this.props.push(t, n, a[t]);
1663
- }, wr = function(e) {
1664
- e.translate && (e.removeProperty("translate"), e.removeProperty("scale"), e.removeProperty("rotate"));
1665
- }, Tr = function() {
1666
- var e = this.props, t = this.target, n = t.style, r = t._gsap, i, a;
1667
- for (i = 0; i < e.length; i += 3) e[i + 1] ? e[i + 1] === 2 ? t[e[i]](e[i + 2]) : t[e[i]] = e[i + 2] : e[i + 2] ? n[e[i]] = e[i + 2] : n.removeProperty(e[i].substr(0, 2) === "--" ? e[i] : e[i].replace(or, "-$1").toLowerCase());
1668
- if (this.tfm) {
1669
- for (a in this.tfm) r[a] = this.tfm[a];
1670
- r.svg && (r.renderTransform(), t.setAttribute("data-svg-origin", this.svgo || "")), i = $n(), (!i || !i.isStart) && !n[Q] && (wr(n), r.zOrigin && n[$] && (n[$] += " " + r.zOrigin + "px", r.zOrigin = 0, r.renderTransform()), r.uncache = 1);
1671
- }
1672
- }, Er = function(e, t) {
1673
- var n = {
1674
- target: e,
1675
- props: [],
1676
- revert: Tr,
1677
- save: Cr
1678
- };
1679
- return e._gsap || Z.core.getCache(e), t && e.style && e.nodeType && t.split(",").forEach(function(e) {
1680
- return n.save(e);
1681
- }), n;
1682
- }, Dr, Or = function(e, t) {
1683
- var n = Jn.createElementNS ? Jn.createElementNS((t || "http://www.w3.org/1999/xhtml").replace(/^https/, "http"), e) : Jn.createElement(e);
1684
- return n && n.style ? n : Jn.createElement(e);
1685
- }, kr = function e(t, n, r) {
1686
- var i = getComputedStyle(t);
1687
- return i[n] || i.getPropertyValue(n.replace(or, "-$1").toLowerCase()) || i.getPropertyValue(n) || !r && e(t, jr(n) || n, 1) || "";
1688
- }, Ar = "O,Moz,ms,Ms,Webkit".split(","), jr = function(e, t, n) {
1689
- var r = (t || Zn).style, i = 5;
1690
- if (e in r && !n) return e;
1691
- for (e = e.charAt(0).toUpperCase() + e.substr(1); i-- && !(Ar[i] + e in r););
1692
- return i < 0 ? null : (i === 3 ? "ms" : i >= 0 ? Ar[i] : "") + e;
1693
- }, Mr = function() {
1694
- er() && window.document && (qn = window, Jn = qn.document, Yn = Jn.documentElement, Zn = Or("div") || { style: {} }, Or("div"), Q = jr(Q), $ = Q + "Origin", Zn.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", Dr = !!jr("perspective"), $n = Z.core.reverting, Xn = 1);
1695
- }, Nr = function(e) {
1696
- var t = e.ownerSVGElement, n = Or("svg", t && t.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), r = e.cloneNode(!0), i;
1697
- r.style.display = "block", n.appendChild(r), Yn.appendChild(n);
1698
- try {
1699
- i = r.getBBox();
1700
- } catch {}
1701
- return n.removeChild(r), Yn.removeChild(n), i;
1702
- }, Pr = function(e, t) {
1703
- for (var n = t.length; n--;) if (e.hasAttribute(t[n])) return e.getAttribute(t[n]);
1704
- }, Fr = function(e) {
1705
- var t, n;
1706
- try {
1707
- t = e.getBBox();
1708
- } catch {
1709
- t = Nr(e), n = 1;
1710
- }
1711
- return t && (t.width || t.height) || n || (t = Nr(e)), t && !t.width && !t.x && !t.y ? {
1712
- x: +Pr(e, [
1713
- "x",
1714
- "cx",
1715
- "x1"
1716
- ]) || 0,
1717
- y: +Pr(e, [
1718
- "y",
1719
- "cy",
1720
- "y1"
1721
- ]) || 0,
1722
- width: 0,
1723
- height: 0
1724
- } : t;
1725
- }, Ir = function(e) {
1726
- return !!(e.getCTM && (!e.parentNode || e.ownerSVGElement) && Fr(e));
1727
- }, Lr = function(e, t) {
1728
- if (t) {
1729
- var n = e.style, r;
1730
- t in tr && t !== $ && (t = Q), n.removeProperty ? (r = t.substr(0, 2), (r === "ms" || t.substr(0, 6) === "webkit") && (t = "-" + t), n.removeProperty(r === "--" ? t : t.replace(or, "-$1").toLowerCase())) : n.removeAttribute(t);
1731
- }
1732
- }, Rr = function(e, t, n, r, i, a) {
1733
- var o = new X(e._pt, t, n, 0, 1, a ? gr : hr);
1734
- return e._pt = o, o.b = r, o.e = i, e._props.push(n), o;
1735
- }, zr = {
1736
- deg: 1,
1737
- rad: 1,
1738
- turn: 1
1739
- }, Br = {
1740
- grid: 1,
1741
- flex: 1
1742
- }, Vr = function e(t, n, r, i) {
1743
- var a = parseFloat(r) || 0, o = (r + "").trim().substr((a + "").length) || "px", s = Zn.style, c = sr.test(n), l = t.tagName.toLowerCase() === "svg", u = (l ? "client" : "offset") + (c ? "Width" : "Height"), d = 100, f = i === "px", p = i === "%", m, h, g, _;
1744
- if (i === o || !a || zr[i] || zr[o]) return a;
1745
- if (o !== "px" && !f && (a = e(t, n, r, "px")), _ = t.getCTM && Ir(t), (p || o === "%") && (tr[n] || ~n.indexOf("adius"))) return m = _ ? t.getBBox()[c ? "width" : "height"] : t[u], H(p ? a / m * d : a / 100 * m);
1746
- if (s[c ? "width" : "height"] = d + (f ? o : i), h = i !== "rem" && ~n.indexOf("adius") || i === "em" && t.appendChild && !l ? t : t.parentNode, _ && (h = (t.ownerSVGElement || {}).parentNode), (!h || h === Jn || !h.appendChild) && (h = Jn.body), g = h._gsap, g && p && g.width && c && g.time === Gt.time && !g.uncache) return H(a / g.width * d);
1747
- if (p && (n === "height" || n === "width")) {
1748
- var v = t.style[n];
1749
- t.style[n] = d + i, m = t[u], v ? t.style[n] = v : Lr(t, n);
1750
- } else (p || o === "%") && !Br[kr(h, "display")] && (s.position = kr(t, "position")), h === t && (s.position = "static"), h.appendChild(Zn), m = Zn[u], h.removeChild(Zn), s.position = "absolute";
1751
- return c && p && (g = Se(h), g.time = Gt.time, g.width = h[u]), H(f ? m * a / d : m && a ? d / m * a : 0);
1752
- }, Hr = function(e, t, n, r) {
1753
- var i;
1754
- return Xn || Mr(), t in lr && t !== "transform" && (t = lr[t], ~t.indexOf(",") && (t = t.split(",")[0])), tr[t] && t !== "transform" ? (i = ei(e, r), i = t === "transformOrigin" ? i.svg ? i.origin : ti(kr(e, $)) + " " + i.zOrigin + "px" : i[t]) : (i = e.style[t], (!i || i === "auto" || r || ~(i + "").indexOf("calc(")) && (i = qr[t] && qr[t](e, t, n) || kr(e, t) || Ce(e, t) || (t === "opacity" ? 1 : 0))), n && !~(i + "").trim().indexOf(" ") ? Vr(e, t, i, n) + n : i;
1755
- }, Ur = function(e, t, n, r) {
1756
- if (!n || n === "none") {
1757
- var i = jr(t, e, 1), a = i && kr(e, i, 1);
1758
- a && a !== n ? (t = i, n = a) : t === "borderColor" && (n = kr(e, "borderTopColor"));
1759
- }
1760
- var s = new X(this._pt, e.style, t, 0, 1, On), c = 0, l = 0, u, d, f, p, m, h, g, _, v, y, b, x;
1761
- if (s.b = n, s.e = r, n += "", r += "", r.substring(0, 6) === "var(--" && (r = kr(e, r.substring(4, r.indexOf(")")))), r === "auto" && (h = e.style[t], e.style[t] = r, r = kr(e, t) || r, h ? e.style[t] = h : Lr(e, t)), u = [n, r], Ut(u), n = u[0], r = u[1], f = n.match(N) || [], x = r.match(N) || [], x.length) {
1762
- for (; d = N.exec(r);) g = d[0], v = r.substring(c, d.index), m ? m = (m + 1) % 5 : (v.substr(-5) === "rgba(" || v.substr(-5) === "hsla(") && (m = 1), g !== (h = f[l++] || "") && (p = parseFloat(h) || 0, b = h.substr((p + "").length), g.charAt(1) === "=" && (g = we(p, g) + b), _ = parseFloat(g), y = g.substr((_ + "").length), c = N.lastIndex - y.length, y || (y = y || o.units[t] || b, c === r.length && (r += y, s.e += y)), b !== y && (p = Vr(e, t, h, y) || 0), s._pt = {
1763
- _next: s._pt,
1764
- p: v || l === 1 ? v : ",",
1765
- s: p,
1766
- c: _ - p,
1767
- m: m && m < 4 || t === "zIndex" ? Math.round : 0
1768
- });
1769
- s.c = c < r.length ? r.substring(c, r.length) : "";
1770
- } else s.r = t === "display" && r === "none" ? gr : hr;
1771
- return F.test(r) && (s.e = 0), this._pt = s, s;
1772
- }, Wr = {
1773
- top: "0%",
1774
- bottom: "100%",
1775
- left: "0%",
1776
- right: "100%",
1777
- center: "50%"
1778
- }, Gr = function(e) {
1779
- var t = e.split(" "), n = t[0], r = t[1] || "50%";
1780
- return (n === "top" || n === "bottom" || r === "left" || r === "right") && (e = n, n = r, r = e), t[0] = Wr[n] || n, t[1] = Wr[r] || r, t.join(" ");
1781
- }, Kr = function(e, t) {
1782
- if (t.tween && t.tween._time === t.tween._dur) {
1783
- var n = t.t, r = n.style, i = t.u, a = n._gsap, o, s, c;
1784
- if (i === "all" || i === !0) r.cssText = "", s = 1;
1785
- else for (i = i.split(","), c = i.length; --c > -1;) o = i[c], tr[o] && (s = 1, o = o === "transformOrigin" ? $ : Q), Lr(n, o);
1786
- s && (Lr(n, Q), a && (a.svg && n.removeAttribute("transform"), r.scale = r.rotate = r.translate = "none", ei(n, 1), a.uncache = 1, wr(r)));
1787
- }
1788
- }, qr = { clearProps: function(e, t, n, r, i) {
1789
- if (i.data !== "isFromStart") {
1790
- var a = e._pt = new X(e._pt, t, n, 0, 0, Kr);
1791
- return a.u = r, a.pr = -10, a.tween = i, e._props.push(n), 1;
1792
- }
1793
- } }, Jr = [
1794
- 1,
1795
- 0,
1796
- 0,
1797
- 1,
1798
- 0,
1799
- 0
1800
- ], Yr = {}, Xr = function(e) {
1801
- return e === "matrix(1, 0, 0, 1, 0, 0)" || e === "none" || !e;
1802
- }, Zr = function(e) {
1803
- var t = kr(e, Q);
1804
- return Xr(t) ? Jr : t.substr(7).match(M).map(H);
1805
- }, Qr = function(e, t) {
1806
- var n = e._gsap || Se(e), r = e.style, i = Zr(e), a, o, s, c;
1807
- return n.svg && e.getAttribute("transform") ? (s = e.transform.baseVal.consolidate().matrix, i = [
1808
- s.a,
1809
- s.b,
1810
- s.c,
1811
- s.d,
1812
- s.e,
1813
- s.f
1814
- ], i.join(",") === "1,0,0,1,0,0" ? Jr : i) : (i === Jr && !e.offsetParent && e !== Yn && !n.svg && (s = r.display, r.display = "block", a = e.parentNode, (!a || !e.offsetParent && !e.getBoundingClientRect().width) && (c = 1, o = e.nextElementSibling, Yn.appendChild(e)), i = Zr(e), s ? r.display = s : Lr(e, "display"), c && (o ? a.insertBefore(e, o) : a ? a.appendChild(e) : Yn.removeChild(e))), t && i.length > 6 ? [
1815
- i[0],
1816
- i[1],
1817
- i[4],
1818
- i[5],
1819
- i[12],
1820
- i[13]
1821
- ] : i);
1822
- }, $r = function(e, t, n, r, i, a) {
1823
- var o = e._gsap, s = i || Qr(e, !0), c = o.xOrigin || 0, l = o.yOrigin || 0, u = o.xOffset || 0, d = o.yOffset || 0, f = s[0], p = s[1], m = s[2], h = s[3], g = s[4], _ = s[5], v = t.split(" "), y = parseFloat(v[0]) || 0, b = parseFloat(v[1]) || 0, x, S, C, w;
1824
- n ? s !== Jr && (S = f * h - p * m) && (C = h / S * y + b * (-m / S) + (m * _ - h * g) / S, w = y * (-p / S) + f / S * b - (f * _ - p * g) / S, y = C, b = w) : (x = Fr(e), y = x.x + (~v[0].indexOf("%") ? y / 100 * x.width : y), b = x.y + (~(v[1] || v[0]).indexOf("%") ? b / 100 * x.height : b)), r || r !== !1 && o.smooth ? (g = y - c, _ = b - l, o.xOffset = u + (g * f + _ * m) - g, o.yOffset = d + (g * p + _ * h) - _) : o.xOffset = o.yOffset = 0, o.xOrigin = y, o.yOrigin = b, o.smooth = !!r, o.origin = t, o.originIsAbsolute = !!n, e.style[$] = "0px 0px", a && (Rr(a, o, "xOrigin", c, y), Rr(a, o, "yOrigin", l, b), Rr(a, o, "xOffset", u, o.xOffset), Rr(a, o, "yOffset", d, o.yOffset)), e.setAttribute("data-svg-origin", y + " " + b);
1825
- }, ei = function(e, t) {
1826
- var n = e._gsap || new on(e);
1827
- if ("x" in n && !t && !n.uncache) return n;
1828
- var r = e.style, i = n.scaleX < 0, a = "px", s = "deg", c = getComputedStyle(e), l = kr(e, $) || "0", u = d = f = h = g = _ = v = y = b = 0, d, f, p = m = 1, m, h, g, _, v, y, b, x, S, C, w, T, E, D, O, k, A, j, M, N, P, F, I, L, R, z, B, ee;
1829
- return n.svg = !!(e.getCTM && Ir(e)), c.translate && ((c.translate !== "none" || c.scale !== "none" || c.rotate !== "none") && (r[Q] = (c.translate === "none" ? "" : "translate3d(" + (c.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") ") + (c.rotate === "none" ? "" : "rotate(" + c.rotate + ") ") + (c.scale === "none" ? "" : "scale(" + c.scale.split(" ").join(",") + ") ") + (c[Q] === "none" ? "" : c[Q])), r.scale = r.rotate = r.translate = "none"), C = Qr(e, n.svg), n.svg && (n.uncache ? (P = e.getBBox(), l = n.xOrigin - P.x + "px " + (n.yOrigin - P.y) + "px", N = "") : N = !t && e.getAttribute("data-svg-origin"), $r(e, N || l, !!N || n.originIsAbsolute, n.smooth !== !1, C)), x = n.xOrigin || 0, S = n.yOrigin || 0, C !== Jr && (D = C[0], O = C[1], k = C[2], A = C[3], u = j = C[4], d = M = C[5], C.length === 6 ? (p = Math.sqrt(D * D + O * O), m = Math.sqrt(A * A + k * k), h = D || O ? ir(O, D) * nr : 0, v = k || A ? ir(k, A) * nr + h : 0, v && (m *= Math.abs(Math.cos(v * rr))), n.svg && (u -= x - (x * D + S * k), d -= S - (x * O + S * A))) : (ee = C[6], z = C[7], I = C[8], L = C[9], R = C[10], B = C[11], u = C[12], d = C[13], f = C[14], w = ir(ee, R), g = w * nr, w && (T = Math.cos(-w), E = Math.sin(-w), N = j * T + I * E, P = M * T + L * E, F = ee * T + R * E, I = j * -E + I * T, L = M * -E + L * T, R = ee * -E + R * T, B = z * -E + B * T, j = N, M = P, ee = F), w = ir(-k, R), _ = w * nr, w && (T = Math.cos(-w), E = Math.sin(-w), N = D * T - I * E, P = O * T - L * E, F = k * T - R * E, B = A * E + B * T, D = N, O = P, k = F), w = ir(O, D), h = w * nr, w && (T = Math.cos(w), E = Math.sin(w), N = D * T + O * E, P = j * T + M * E, O = O * T - D * E, M = M * T - j * E, D = N, j = P), g && Math.abs(g) + Math.abs(h) > 359.9 && (g = h = 0, _ = 180 - _), p = H(Math.sqrt(D * D + O * O + k * k)), m = H(Math.sqrt(M * M + ee * ee)), w = ir(j, M), v = Math.abs(w) > 2e-4 ? w * nr : 0, b = B ? 1 / (B < 0 ? -B : B) : 0), n.svg && (N = e.getAttribute("transform"), n.forceCSS = e.setAttribute("transform", "") || !Xr(kr(e, Q)), N && e.setAttribute("transform", N))), Math.abs(v) > 90 && Math.abs(v) < 270 && (i ? (p *= -1, v += h <= 0 ? 180 : -180, h += h <= 0 ? 180 : -180) : (m *= -1, v += v <= 0 ? 180 : -180)), t ||= n.uncache, n.x = u - ((n.xPercent = u && (!t && n.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-u) ? -50 : 0))) ? e.offsetWidth * n.xPercent / 100 : 0) + a, n.y = d - ((n.yPercent = d && (!t && n.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-d) ? -50 : 0))) ? e.offsetHeight * n.yPercent / 100 : 0) + a, n.z = f + a, n.scaleX = H(p), n.scaleY = H(m), n.rotation = H(h) + s, n.rotationX = H(g) + s, n.rotationY = H(_) + s, n.skewX = v + s, n.skewY = y + s, n.transformPerspective = b + a, (n.zOrigin = parseFloat(l.split(" ")[2]) || !t && n.zOrigin || 0) && (r[$] = ti(l)), n.xOffset = n.yOffset = 0, n.force3D = o.force3D, n.renderTransform = n.svg ? ci : Dr ? si : ri, n.uncache = 0, n;
1830
- }, ti = function(e) {
1831
- return (e = e.split(" "))[0] + " " + e[1];
1832
- }, ni = function(e, t, n) {
1833
- var r = G(t);
1834
- return H(parseFloat(t) + parseFloat(Vr(e, "x", n + "px", r))) + r;
1835
- }, ri = function(e, t) {
1836
- t.z = "0px", t.rotationY = t.rotationX = "0deg", t.force3D = 0, si(e, t);
1837
- }, ii = "0deg", ai = "0px", oi = ") ", si = function(e, t) {
1838
- var n = t || this, r = n.xPercent, i = n.yPercent, a = n.x, o = n.y, s = n.z, c = n.rotation, l = n.rotationY, u = n.rotationX, d = n.skewX, f = n.skewY, p = n.scaleX, m = n.scaleY, h = n.transformPerspective, g = n.force3D, _ = n.target, v = n.zOrigin, y = "", b = g === "auto" && e && e !== 1 || g === !0;
1839
- if (v && (u !== ii || l !== ii)) {
1840
- var x = parseFloat(l) * rr, S = Math.sin(x), C = Math.cos(x), w;
1841
- x = parseFloat(u) * rr, w = Math.cos(x), a = ni(_, a, S * w * -v), o = ni(_, o, -Math.sin(x) * -v), s = ni(_, s, C * w * -v + v);
1842
- }
1843
- h !== ai && (y += "perspective(" + h + oi), (r || i) && (y += "translate(" + r + "%, " + i + "%) "), (b || a !== ai || o !== ai || s !== ai) && (y += s !== ai || b ? "translate3d(" + a + ", " + o + ", " + s + ") " : "translate(" + a + ", " + o + oi), c !== ii && (y += "rotate(" + c + oi), l !== ii && (y += "rotateY(" + l + oi), u !== ii && (y += "rotateX(" + u + oi), (d !== ii || f !== ii) && (y += "skew(" + d + ", " + f + oi), (p !== 1 || m !== 1) && (y += "scale(" + p + ", " + m + oi), _.style[Q] = y || "translate(0, 0)";
1844
- }, ci = function(e, t) {
1845
- var n = t || this, r = n.xPercent, i = n.yPercent, a = n.x, o = n.y, s = n.rotation, c = n.skewX, l = n.skewY, u = n.scaleX, d = n.scaleY, f = n.target, p = n.xOrigin, m = n.yOrigin, h = n.xOffset, g = n.yOffset, _ = n.forceCSS, v = parseFloat(a), y = parseFloat(o), b, x, S, C, w;
1846
- s = parseFloat(s), c = parseFloat(c), l = parseFloat(l), l && (l = parseFloat(l), c += l, s += l), s || c ? (s *= rr, c *= rr, b = Math.cos(s) * u, x = Math.sin(s) * u, S = Math.sin(s - c) * -d, C = Math.cos(s - c) * d, c && (l *= rr, w = Math.tan(c - l), w = Math.sqrt(1 + w * w), S *= w, C *= w, l && (w = Math.tan(l), w = Math.sqrt(1 + w * w), b *= w, x *= w)), b = H(b), x = H(x), S = H(S), C = H(C)) : (b = u, C = d, x = S = 0), (v && !~(a + "").indexOf("px") || y && !~(o + "").indexOf("px")) && (v = Vr(f, "x", a, "px"), y = Vr(f, "y", o, "px")), (p || m || h || g) && (v = H(v + p - (p * b + m * S) + h), y = H(y + m - (p * x + m * C) + g)), (r || i) && (w = f.getBBox(), v = H(v + r / 100 * w.width), y = H(y + i / 100 * w.height)), w = "matrix(" + b + "," + x + "," + S + "," + C + "," + v + "," + y + ")", f.setAttribute("transform", w), _ && (f.style[Q] = w);
1847
- }, li = function(e, t, n, r, i) {
1848
- var a = 360, o = y(i), s = parseFloat(i) * (o && ~i.indexOf("rad") ? nr : 1) - r, c = r + s + "deg", l, u;
1849
- return o && (l = i.split("_")[1], l === "short" && (s %= a, s !== s % (a / 2) && (s += s < 0 ? a : -a)), l === "cw" && s < 0 ? s = (s + a * ar) % a - ~~(s / a) * a : l === "ccw" && s > 0 && (s = (s - a * ar) % a - ~~(s / a) * a)), e._pt = u = new X(e._pt, t, n, r, s, dr), u.e = c, u.u = "deg", e._props.push(n), u;
1850
- }, ui = function(e, t) {
1851
- for (var n in t) e[n] = t[n];
1852
- return e;
1853
- }, di = function(e, t, n) {
1854
- var r = ui({}, n._gsap), i = "perspective,force3D,transformOrigin,svgOrigin", a = n.style, o, s, c, l, u, d, f, p;
1855
- for (s in r.svg ? (c = n.getAttribute("transform"), n.setAttribute("transform", ""), a[Q] = t, o = ei(n, 1), Lr(n, Q), n.setAttribute("transform", c)) : (c = getComputedStyle(n)[Q], a[Q] = t, o = ei(n, 1), a[Q] = c), tr) c = r[s], l = o[s], c !== l && i.indexOf(s) < 0 && (f = G(c), p = G(l), u = f === p ? parseFloat(c) : Vr(n, s, c, p), d = parseFloat(l), e._pt = new X(e._pt, o, s, u, d - u, ur), e._pt.u = p || 0, e._props.push(s));
1856
- ui(o, r);
1857
- };
1858
- V("padding,margin,Width,Radius", function(e, t) {
1859
- var n = "Top", r = "Right", i = "Bottom", a = "Left", o = (t < 3 ? [
1860
- n,
1861
- r,
1862
- i,
1863
- a
1864
- ] : [
1865
- n + a,
1866
- n + r,
1867
- i + r,
1868
- i + a
1869
- ]).map(function(n) {
1870
- return t < 2 ? e + n : "border" + n + e;
1871
- });
1872
- qr[t > 1 ? "border" + e : e] = function(e, t, n, r, i) {
1873
- var a, s;
1874
- if (arguments.length < 4) return a = o.map(function(t) {
1875
- return Hr(e, t, n);
1876
- }), s = a.join(" "), s.split(a[0]).length === 5 ? a[0] : s;
1877
- a = (r + "").split(" "), s = {}, o.forEach(function(e, t) {
1878
- return s[e] = a[t] = a[t] || a[(t - 1) / 2 | 0];
1879
- }), e.init(t, s, i);
1880
- };
1881
- });
1882
- var fi = {
1883
- name: "css",
1884
- register: Mr,
1885
- targetTest: function(e) {
1886
- return e.style && e.nodeType;
1887
- },
1888
- init: function(e, t, n, r, i) {
1889
- var a = this._props, s = e.style, c = n.vars.startAt, l, u, d, f, p, m, h, g, _, v, b, x, S, C, w, T, E;
1890
- for (h in Xn || Mr(), this.styles = this.styles || Er(e), T = this.styles.props, this.tween = n, t) if (h !== "autoRound" && (u = t[h], !(ge[h] && dn(h, t, n, r, e, i)))) {
1891
- if (p = typeof u, m = qr[h], p === "function" && (u = u.call(n, r, e, i), p = typeof u), p === "string" && ~u.indexOf("random(") && (u = Dt(u)), m) m(this, e, h, u, n) && (w = 1);
1892
- else if (h.substr(0, 2) === "--") l = (getComputedStyle(e).getPropertyValue(h) + "").trim(), u += "", Vt.lastIndex = 0, Vt.test(l) || (g = G(l), _ = G(u), _ ? g !== _ && (l = Vr(e, h, l, _) + _) : g && (u += g)), this.add(s, "setProperty", l, u, r, i, 0, 0, h), a.push(h), T.push(h, 0, s[h]);
1893
- else if (p !== "undefined") {
1894
- if (c && h in c ? (l = typeof c[h] == "function" ? c[h].call(n, r, e, i) : c[h], y(l) && ~l.indexOf("random(") && (l = Dt(l)), G(l + "") || l === "auto" || (l += o.units[h] || G(Hr(e, h)) || ""), (l + "").charAt(1) === "=" && (l = Hr(e, h))) : l = Hr(e, h), f = parseFloat(l), v = p === "string" && u.charAt(1) === "=" && u.substr(0, 2), v && (u = u.substr(2)), d = parseFloat(u), h in lr && (h === "autoAlpha" && (f === 1 && Hr(e, "visibility") === "hidden" && d && (f = 0), T.push("visibility", 0, s.visibility), Rr(this, s, "visibility", f ? "inherit" : "hidden", d ? "inherit" : "hidden", !d)), h !== "scale" && h !== "transform" && (h = lr[h], ~h.indexOf(",") && (h = h.split(",")[0]))), b = h in tr, b) {
1895
- if (this.styles.save(h), E = u, p === "string" && u.substring(0, 6) === "var(--") {
1896
- if (u = kr(e, u.substring(4, u.indexOf(")"))), u.substring(0, 5) === "calc(") {
1897
- var D = e.style.perspective;
1898
- e.style.perspective = u, u = kr(e, "perspective"), D ? e.style.perspective = D : Lr(e, "perspective");
1899
- }
1900
- d = parseFloat(u);
1901
- }
1902
- if (x || (S = e._gsap, S.renderTransform && !t.parseTransform || ei(e, t.parseTransform), C = t.smoothOrigin !== !1 && S.smooth, x = this._pt = new X(this._pt, s, Q, 0, 1, S.renderTransform, S, 0, -1), x.dep = 1), h === "scale") this._pt = new X(this._pt, S, "scaleY", S.scaleY, (v ? we(S.scaleY, v + d) : d) - S.scaleY || 0, ur), this._pt.u = 0, a.push("scaleY", h), h += "X";
1903
- else if (h === "transformOrigin") {
1904
- T.push($, 0, s[$]), u = Gr(u), S.svg ? $r(e, u, 0, C, 0, this) : (_ = parseFloat(u.split(" ")[2]) || 0, _ !== S.zOrigin && Rr(this, S, "zOrigin", S.zOrigin, _), Rr(this, s, h, ti(l), ti(u)));
1905
- continue;
1906
- } else if (h === "svgOrigin") {
1907
- $r(e, u, 1, C, 0, this);
1908
- continue;
1909
- } else if (h in Yr) {
1910
- li(this, S, h, f, v ? we(f, v + u) : u);
1911
- continue;
1912
- } else if (h === "smoothOrigin") {
1913
- Rr(this, S, "smooth", S.smooth, u);
1914
- continue;
1915
- } else if (h === "force3D") {
1916
- S[h] = u;
1917
- continue;
1918
- } else if (h === "transform") {
1919
- di(this, u, e);
1920
- continue;
1921
- }
1922
- } else h in s || (h = jr(h) || h);
1923
- if (b || (d || d === 0) && (f || f === 0) && !cr.test(u) && h in s) g = (l + "").substr((f + "").length), d ||= 0, _ = G(u) || (h in o.units ? o.units[h] : g), g !== _ && (f = Vr(e, h, l, _)), this._pt = new X(this._pt, b ? S : s, h, f, (v ? we(f, v + d) : d) - f, !b && (_ === "px" || h === "zIndex") && t.autoRound !== !1 ? mr : ur), this._pt.u = _ || 0, b && E !== u ? (this._pt.b = l, this._pt.e = E, this._pt.r = pr) : g !== _ && _ !== "%" && (this._pt.b = l, this._pt.r = fr);
1924
- else if (h in s) Ur.call(this, e, h, l, v ? v + u : u);
1925
- else if (h in e) this.add(e, h, l || e[h], v ? v + u : u, r, i);
1926
- else if (h !== "parseTransform") {
1927
- ae(h, u);
1928
- continue;
1929
- }
1930
- b || (h in s ? T.push(h, 0, s[h]) : typeof e[h] == "function" ? T.push(h, 2, e[h]()) : T.push(h, 1, l || e[h])), a.push(h);
1931
- }
1932
- }
1933
- w && Nn(this);
1934
- },
1935
- render: function(e, t) {
1936
- if (t.tween._time || !$n()) for (var n = t._pt; n;) n.r(e, n.d), n = n._next;
1937
- else t.styles.revert();
1938
- },
1939
- get: Hr,
1940
- aliases: lr,
1941
- getSetter: function(e, t, n) {
1942
- var r = lr[t];
1943
- return r && r.indexOf(",") < 0 && (t = r), t in tr && t !== $ && (e._gsap.x || Hr(e, "x")) ? n && Qn === n ? t === "scale" ? br : yr : (Qn = n || {}) && (t === "scale" ? xr : Sr) : e.style && !S(e.style[t]) ? _r : ~t.indexOf("-") ? vr : Tn(e, t);
1944
- },
1945
- core: {
1946
- _removeProperty: Lr,
1947
- _getMatrix: Qr
1948
- }
1949
- };
1950
- Z.utils.checkPrefix = jr, Z.core.getStyleSaver = Er, (function(e, t, n, r) {
1951
- var i = V(e + "," + t + "," + n, function(e) {
1952
- tr[e] = 1;
1953
- });
1954
- V(t, function(e) {
1955
- o.units[e] = "deg", Yr[e] = 1;
1956
- }), lr[i[13]] = e + "," + t, V(r, function(e) {
1957
- var t = e.split(":");
1958
- lr[t[1]] = i[t[0]];
1959
- });
1960
- })("x,y,z,scale,scaleX,scaleY,xPercent,yPercent", "rotation,rotationX,rotationY,skewX,skewY", "transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective", "0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY"), V("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(e) {
1961
- o.units[e] = "px";
1962
- }), Z.registerPlugin(fi);
1963
- //#endregion
1964
- //#region node_modules/gsap/index.js
1965
- var pi = Z.registerPlugin(fi) || Z;
1966
- pi.core.Tween;
1967
- //#endregion
1968
163
  //#region node_modules/gsap/SplitText.js
1969
- var mi, hi, gi = typeof Symbol == "function" ? Symbol() : "_split", _i, vi = () => _i || Li.register(window.gsap), yi = typeof Intl < "u" && "Segmenter" in Intl ? new Intl.Segmenter() : 0, bi = (e) => typeof e == "string" ? bi(document.querySelectorAll(e)) : "length" in e ? Array.from(e).reduce((e, t) => (typeof t == "string" ? e.push(...bi(t)) : e.push(t), e), []) : [e], xi = (e) => bi(e).filter((e) => e instanceof HTMLElement), Si = [], Ci = function() {}, wi = { add: (e) => e() }, Ti = /\s+/g, Ei = /* @__PURE__ */ RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.", "gu"), Di = {
164
+ var i, a, o = typeof Symbol == "function" ? Symbol() : "_split", s, c = () => s || D.register(window.gsap), l = typeof Intl < "u" && "Segmenter" in Intl ? new Intl.Segmenter() : 0, u = (e) => typeof e == "string" ? u(document.querySelectorAll(e)) : "length" in e ? Array.from(e).reduce((e, t) => (typeof t == "string" ? e.push(...u(t)) : e.push(t), e), []) : [e], d = (e) => u(e).filter((e) => e instanceof HTMLElement), f = [], p = function() {}, m = { add: (e) => e() }, h = /\s+/g, g = /* @__PURE__ */ RegExp("\\p{RI}\\p{RI}|\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?(\\u{200D}\\p{Emoji}(\\p{EMod}|\\u{FE0F}\\u{20E3}?|[\\u{E0020}-\\u{E007E}]+\\u{E007F})?)*|.", "gu"), _ = {
1970
165
  left: 0,
1971
166
  top: 0,
1972
167
  width: 0,
1973
168
  height: 0
1974
- }, Oi = (e, t) => {
1975
- for (; ++t < e.length && e[t] === Di;);
1976
- return e[t] || Di;
1977
- }, ki = ({ element: e, html: t, ariaL: n, ariaH: r }) => {
169
+ }, v = (e, t) => {
170
+ for (; ++t < e.length && e[t] === _;);
171
+ return e[t] || _;
172
+ }, y = ({ element: e, html: t, ariaL: n, ariaH: r }) => {
1978
173
  e.innerHTML = t, n ? e.setAttribute("aria-label", n) : e.removeAttribute("aria-label"), r ? e.setAttribute("aria-hidden", r) : e.removeAttribute("aria-hidden");
1979
- }, Ai = (e, t) => {
174
+ }, b = (e, t) => {
1980
175
  if (t) {
1981
- let n = new Set(e.join("").match(t) || Si), r = e.length, i, a, o, s;
176
+ let n = new Set(e.join("").match(t) || f), r = e.length, i, a, o, s;
1982
177
  if (n.size) for (; --r > -1;) {
1983
178
  a = e[r];
1984
179
  for (o of n) if (o.startsWith(a) && o.length > a.length) {
@@ -1991,43 +186,43 @@ var mi, hi, gi = typeof Symbol == "function" ? Symbol() : "_split", _i, vi = ()
1991
186
  }
1992
187
  }
1993
188
  return e;
1994
- }, ji = (e) => window.getComputedStyle(e).display === "inline" && (e.style.display = "inline-block"), Mi = (e, t, n) => t.insertBefore(typeof e == "string" ? document.createTextNode(e) : e, n), Ni = (e, t, n) => {
189
+ }, x = (e) => window.getComputedStyle(e).display === "inline" && (e.style.display = "inline-block"), S = (e, t, n) => t.insertBefore(typeof e == "string" ? document.createTextNode(e) : e, n), C = (e, t, n) => {
1995
190
  let r = t[e + "sClass"] || "", { tag: i = "div", aria: a = "auto", propIndex: o = !1 } = t, s = e === "line" ? "block" : "inline-block", c = r.indexOf("++") > -1, l = (t) => {
1996
191
  let l = document.createElement(i), u = n.length + 1;
1997
192
  return r && (l.className = r + (c ? " " + r + u : "")), o && l.style.setProperty("--" + e, u + ""), a !== "none" && l.setAttribute("aria-hidden", "true"), i !== "span" && (l.style.position = "relative", l.style.display = s), l.textContent = t, n.push(l), l;
1998
193
  };
1999
194
  return c && (r = r.replace("++", "")), l.collection = n, l;
2000
- }, Pi = (e, t, n, r) => {
2001
- let i = Ni("line", n, r), a = window.getComputedStyle(e).textAlign || "left";
195
+ }, w = (e, t, n, r) => {
196
+ let i = C("line", n, r), a = window.getComputedStyle(e).textAlign || "left";
2002
197
  return (n, r) => {
2003
198
  let o = i("");
2004
199
  for (o.style.textAlign = a, e.insertBefore(o, t[n]); n < r; n++) o.appendChild(t[n]);
2005
200
  o.normalize();
2006
201
  };
2007
- }, Fi = (e, t, n, r, i, a, o, s, c, l) => {
2008
- var u;
2009
- let d = Array.from(e.childNodes), f = 0, { wordDelimiter: p, reduceWhiteSpace: m = !0, prepareText: h } = t, g = e.getBoundingClientRect(), _ = g, v = !m && window.getComputedStyle(e).whiteSpace.substring(0, 3) === "pre", y = 0, b = n.collection, x, S, C, w, T, E, D, O, k, A, j, M, N, P, F, I, L, R;
2010
- for (typeof p == "object" ? (C = p.delimiter || p, S = p.replaceWith || "") : S = p === "" ? "" : p || " ", x = S !== " "; f < d.length; f++) if (w = d[f], w.nodeType === 3) {
2011
- for (F = w.textContent || "", m ? F = F.replace(Ti, " ") : v && (F = F.replace(/\n/g, S + "\n")), h && (F = h(F, e)), w.textContent = F, T = S || C ? F.split(C || S) : F.match(s) || Si, L = T[T.length - 1], O = x ? L.slice(-1) === " " : !L, L || T.pop(), _ = g, D = x ? T[0].charAt(0) === " " : !T[0], D && Mi(" ", e, w), T[0] || T.shift(), Ai(T, c), a && l || (w.textContent = ""), k = 1; k <= T.length; k++) if (I = T[k - 1], !m && v && I.charAt(0) === "\n" && ((u = w.previousSibling) == null || u.remove(), Mi(document.createElement("br"), e, w), I = I.slice(1)), !m && I === "") Mi(S, e, w);
2012
- else if (I === " ") e.insertBefore(document.createTextNode(" "), w);
202
+ }, T = (e, t, n, r, i, a, o, s, c, u) => {
203
+ var d;
204
+ let p = Array.from(e.childNodes), m = 0, { wordDelimiter: g, reduceWhiteSpace: _ = !0, prepareText: v } = t, y = e.getBoundingClientRect(), C = y, w = !_ && window.getComputedStyle(e).whiteSpace.substring(0, 3) === "pre", E = 0, D = n.collection, O, k, A, j, M, N, P, F, I, L, R, z, B, V, H, U, W, G;
205
+ for (typeof g == "object" ? (A = g.delimiter || g, k = g.replaceWith || "") : k = g === "" ? "" : g || " ", O = k !== " "; m < p.length; m++) if (j = p[m], j.nodeType === 3) {
206
+ for (H = j.textContent || "", _ ? H = H.replace(h, " ") : w && (H = H.replace(/\n/g, k + "\n")), v && (H = v(H, e)), j.textContent = H, M = k || A ? H.split(A || k) : H.match(s) || f, W = M[M.length - 1], F = O ? W.slice(-1) === " " : !W, W || M.pop(), C = y, P = O ? M[0].charAt(0) === " " : !M[0], P && S(" ", e, j), M[0] || M.shift(), b(M, c), a && u || (j.textContent = ""), I = 1; I <= M.length; I++) if (U = M[I - 1], !_ && w && U.charAt(0) === "\n" && ((d = j.previousSibling) == null || d.remove(), S(document.createElement("br"), e, j), U = U.slice(1)), !_ && U === "") S(k, e, j);
207
+ else if (U === " ") e.insertBefore(document.createTextNode(" "), j);
2013
208
  else {
2014
- if (x && I.charAt(0) === " " && Mi(" ", e, w), y && k === 1 && !D && b.indexOf(y.parentNode) > -1 ? (E = b[b.length - 1], E.appendChild(document.createTextNode(r ? "" : I))) : (E = n(r ? "" : I), Mi(E, e, w), y && k === 1 && !D && E.insertBefore(y, E.firstChild)), r) for (j = yi ? Ai([...yi.segment(I)].map((e) => e.segment), c) : I.match(s) || Si, R = 0; R < j.length; R++) E.appendChild(j[R] === " " ? document.createTextNode(" ") : r(j[R]));
2015
- if (a && l) {
2016
- if (F = w.textContent = F.substring(I.length + 1, F.length), A = E.getBoundingClientRect(), A.top > _.top && A.left <= _.left) {
2017
- for (M = e.cloneNode(), N = e.childNodes[0]; N && N !== E;) P = N, N = N.nextSibling, M.appendChild(P);
2018
- e.parentNode.insertBefore(M, e), i && ji(M);
209
+ if (O && U.charAt(0) === " " && S(" ", e, j), E && I === 1 && !P && D.indexOf(E.parentNode) > -1 ? (N = D[D.length - 1], N.appendChild(document.createTextNode(r ? "" : U))) : (N = n(r ? "" : U), S(N, e, j), E && I === 1 && !P && N.insertBefore(E, N.firstChild)), r) for (R = l ? b([...l.segment(U)].map((e) => e.segment), c) : U.match(s) || f, G = 0; G < R.length; G++) N.appendChild(R[G] === " " ? document.createTextNode(" ") : r(R[G]));
210
+ if (a && u) {
211
+ if (H = j.textContent = H.substring(U.length + 1, H.length), L = N.getBoundingClientRect(), L.top > C.top && L.left <= C.left) {
212
+ for (z = e.cloneNode(), B = e.childNodes[0]; B && B !== N;) V = B, B = B.nextSibling, z.appendChild(V);
213
+ e.parentNode.insertBefore(z, e), i && x(z);
2019
214
  }
2020
- _ = A;
215
+ C = L;
2021
216
  }
2022
- (k < T.length || O) && Mi(k >= T.length ? " " : x && I.slice(-1) === " " ? " " + S : S, e, w);
217
+ (I < M.length || F) && S(I >= M.length ? " " : O && U.slice(-1) === " " ? " " + k : k, e, j);
2023
218
  }
2024
- e.removeChild(w), y = 0;
2025
- } else w.nodeType === 1 && (o && o.indexOf(w) > -1 ? (b.indexOf(w.previousSibling) > -1 && b[b.length - 1].appendChild(w), y = w) : (Fi(w, t, n, r, i, a, o, s, c, !0), y = 0), i && ji(w));
2026
- }, Ii = class e {
219
+ e.removeChild(j), E = 0;
220
+ } else j.nodeType === 1 && (o && o.indexOf(j) > -1 ? (D.indexOf(j.previousSibling) > -1 && D[D.length - 1].appendChild(j), E = j) : (T(j, t, n, r, i, a, o, s, c, !0), E = 0), i && x(j));
221
+ }, E = class e {
2027
222
  constructor(e, t) {
2028
- this.isSplit = !1, vi(), this.elements = xi(e), this.chars = [], this.words = [], this.lines = [], this.masks = [], this.vars = t, this.elements.forEach((e) => {
223
+ this.isSplit = !1, c(), this.elements = d(e), this.chars = [], this.words = [], this.lines = [], this.masks = [], this.vars = t, this.elements.forEach((e) => {
2029
224
  var n;
2030
- t.overwrite !== !1 && ((n = e[gi]) == null || n._data.orig.filter(({ element: t }) => t === e).forEach(ki)), e[gi] = this;
225
+ t.overwrite !== !1 && ((n = e[o]) == null || n._data.orig.filter(({ element: t }) => t === e).forEach(y)), e[o] = this;
2031
226
  }), this._split = () => this.isSplit && this.split(this.vars);
2032
227
  let n = [], r, i = () => {
2033
228
  let e = n.length, t;
@@ -2045,51 +240,51 @@ var mi, hi, gi = typeof Symbol == "function" ? Symbol() : "_split", _i, vi = ()
2045
240
  obs: typeof ResizeObserver < "u" && new ResizeObserver(() => {
2046
241
  clearTimeout(r), r = setTimeout(i, 200);
2047
242
  })
2048
- }, Ci(this), this.split(t);
243
+ }, p(this), this.split(t);
2049
244
  }
2050
245
  split(e) {
2051
- return (this._ctx || wi).add(() => {
246
+ return (this._ctx || m).add(() => {
2052
247
  this.isSplit && this.revert(), this.vars = e = e || this.vars || {};
2053
- let { type: t = "chars,words,lines", aria: n = "auto", deepSlice: r = !0, smartWrap: i, onSplit: a, autoSplit: o = !1, specialChars: s, mask: c } = this.vars, l = t.indexOf("lines") > -1, u = t.indexOf("chars") > -1, d = t.indexOf("words") > -1, f = u && !d && !l, p = s && ("push" in s ? RegExp("(?:" + s.join("|") + ")", "gu") : s), m = p ? RegExp(p.source + "|" + Ei.source, "gu") : Ei, h = !!e.ignore && xi(e.ignore), { orig: g, animTime: _, obs: v } = this._data, y;
2054
- (u || d || l) && (this.elements.forEach((t, a) => {
2055
- g[a] = {
248
+ let { type: t = "chars,words,lines", aria: n = "auto", deepSlice: r = !0, smartWrap: i, onSplit: o, autoSplit: s = !1, specialChars: c, mask: l } = this.vars, f = t.indexOf("lines") > -1, p = t.indexOf("chars") > -1, m = t.indexOf("words") > -1, h = p && !m && !f, y = c && ("push" in c ? RegExp("(?:" + c.join("|") + ")", "gu") : c), b = y ? RegExp(y.source + "|" + g.source, "gu") : g, x = !!e.ignore && d(e.ignore), { orig: S, animTime: E, obs: D } = this._data, O;
249
+ (p || m || f) && (this.elements.forEach((t, a) => {
250
+ S[a] = {
2056
251
  element: t,
2057
252
  html: t.innerHTML,
2058
253
  ariaL: t.getAttribute("aria-label"),
2059
254
  ariaH: t.getAttribute("aria-hidden")
2060
255
  }, n === "auto" ? t.setAttribute("aria-label", (t.textContent || "").trim()) : n === "hidden" && t.setAttribute("aria-hidden", "true");
2061
- let o = [], s = [], c = [], _ = u ? Ni("char", e, o) : null, v = Ni("word", e, s), y, b, x, S;
2062
- if (Fi(t, e, v, _, f, r && (l || f), h, m, p, !1), l) {
2063
- let n = bi(t.childNodes), r = Pi(t, n, e, c), i, a = [], o = 0, s = n.map((e) => e.nodeType === 1 ? e.getBoundingClientRect() : Di), l = Di, u;
2064
- for (y = 0; y < n.length; y++) i = n[y], i.nodeType === 1 && (i.nodeName === "BR" ? ((!y || n[y - 1].nodeName !== "BR") && (a.push(i), r(o, y + 1)), o = y + 1, l = Oi(s, y)) : (u = s[y], y && u.top > l.top && u.left < l.left + l.width - 1 && (r(o, y), o = y), l = u));
2065
- o < y && r(o, y), a.forEach((e) => e.parentNode?.removeChild(e));
256
+ let o = [], s = [], c = [], l = p ? C("char", e, o) : null, d = C("word", e, s), g, E, D, O;
257
+ if (T(t, e, d, l, h, r && (f || h), x, b, y, !1), f) {
258
+ let n = u(t.childNodes), r = w(t, n, e, c), i, a = [], o = 0, s = n.map((e) => e.nodeType === 1 ? e.getBoundingClientRect() : _), l = _, d;
259
+ for (g = 0; g < n.length; g++) i = n[g], i.nodeType === 1 && (i.nodeName === "BR" ? ((!g || n[g - 1].nodeName !== "BR") && (a.push(i), r(o, g + 1)), o = g + 1, l = v(s, g)) : (d = s[g], g && d.top > l.top && d.left < l.left + l.width - 1 && (r(o, g), o = g), l = d));
260
+ o < g && r(o, g), a.forEach((e) => e.parentNode?.removeChild(e));
2066
261
  }
2067
- if (!d) {
2068
- for (y = 0; y < s.length; y++) if (b = s[y], u || !b.nextSibling || b.nextSibling.nodeType !== 3) if (i && !l) {
2069
- for (x = document.createElement("span"), x.style.whiteSpace = "nowrap"; b.firstChild;) x.appendChild(b.firstChild);
2070
- b.replaceWith(x);
2071
- } else b.replaceWith(...b.childNodes);
2072
- else S = b.nextSibling, S && S.nodeType === 3 && (S.textContent = (b.textContent || "") + (S.textContent || ""), b.remove());
262
+ if (!m) {
263
+ for (g = 0; g < s.length; g++) if (E = s[g], p || !E.nextSibling || E.nextSibling.nodeType !== 3) if (i && !f) {
264
+ for (D = document.createElement("span"), D.style.whiteSpace = "nowrap"; E.firstChild;) D.appendChild(E.firstChild);
265
+ E.replaceWith(D);
266
+ } else E.replaceWith(...E.childNodes);
267
+ else O = E.nextSibling, O && O.nodeType === 3 && (O.textContent = (E.textContent || "") + (O.textContent || ""), E.remove());
2073
268
  s.length = 0, t.normalize();
2074
269
  }
2075
270
  this.lines.push(...c), this.words.push(...s), this.chars.push(...o);
2076
- }), c && this[c] && this.masks.push(...this[c].map((e) => {
271
+ }), l && this[l] && this.masks.push(...this[l].map((e) => {
2077
272
  let t = e.cloneNode();
2078
273
  return e.replaceWith(t), t.appendChild(e), e.className && (t.className = e.className.trim() + "-mask"), t.style.overflow = "clip", t;
2079
- }))), this.isSplit = !0, hi && l && (o ? hi.addEventListener("loadingdone", this._split) : hi.status === "loading" && console.warn("SplitText called before fonts loaded")), (y = a && a(this)) && y.totalTime && (this._data.anim = _ ? y.totalTime(_) : y), l && o && this.elements.forEach((e, t) => {
2080
- g[t].width = e.offsetWidth, v && v.observe(e);
274
+ }))), this.isSplit = !0, a && f && (s ? a.addEventListener("loadingdone", this._split) : a.status === "loading" && console.warn("SplitText called before fonts loaded")), (O = o && o(this)) && O.totalTime && (this._data.anim = E ? O.totalTime(E) : O), f && s && this.elements.forEach((e, t) => {
275
+ S[t].width = e.offsetWidth, D && D.observe(e);
2081
276
  });
2082
277
  }), this;
2083
278
  }
2084
279
  kill() {
2085
280
  let { obs: e } = this._data;
2086
- e && e.disconnect(), hi?.removeEventListener("loadingdone", this._split);
281
+ e && e.disconnect(), a?.removeEventListener("loadingdone", this._split);
2087
282
  }
2088
283
  revert() {
2089
284
  var e, t;
2090
285
  if (this.isSplit) {
2091
286
  let { orig: n, anim: r } = this._data;
2092
- this.kill(), n.forEach(ki), this.chars.length = this.words.length = this.lines.length = n.length = this.masks.length = 0, this.isSplit = !1, r && (this._data.animTime = r.totalTime(), r.revert()), (t = (e = this.vars).onRevert) == null || t.call(e, this);
287
+ this.kill(), n.forEach(y), this.chars.length = this.words.length = this.lines.length = n.length = this.masks.length = 0, this.isSplit = !1, r && (this._data.animTime = r.totalTime(), r.revert()), (t = (e = this.vars).onRevert) == null || t.call(e, this);
2093
288
  }
2094
289
  return this;
2095
290
  }
@@ -2097,23 +292,25 @@ var mi, hi, gi = typeof Symbol == "function" ? Symbol() : "_split", _i, vi = ()
2097
292
  return new e(t, n);
2098
293
  }
2099
294
  static register(e) {
2100
- mi = mi || e || window.gsap, mi && (bi = mi.utils.toArray, Ci = mi.core.context || Ci), !_i && window.innerWidth > 0 && (hi = document.fonts, _i = !0);
295
+ i = i || e || window.gsap, i && (u = i.utils.toArray, p = i.core.context || p), !s && window.innerWidth > 0 && (a = document.fonts, s = !0);
2101
296
  }
2102
297
  };
2103
- Ii.version = "3.14.2";
2104
- var Li = Ii;
2105
- pi.registerPlugin(Li), t({ onComplete(e, t, n) {
298
+ E.version = "3.14.2";
299
+ var D = E;
300
+ //#endregion
301
+ //#region index.js
302
+ t({ onComplete(e, t, n) {
2106
303
  n.forEach((e) => e.remove());
2107
304
  let r = /* @__PURE__ */ new Set(), i = /* @__PURE__ */ new Set();
2108
305
  e = e.replace(/\/\*[\s\S]*?\*\//g, "");
2109
- let a = e.replace(/([^,{\n]+?)::?nth-letter\s*\(([^)]*)\)/gi, (e, t, n) => (t = t.trim(), r.add(t), i.add(n), `${t}::part(nth-child\\(${CSS.escape(n)}\\))`));
306
+ let a = e.replace(/([^,{\r\n]+?)::?nth-letter[ \t]*\(([^\n)]*)\)/gi, (e, t, n) => (t = t.trim(), r.add(t), i.add(n), `${t}::part(nth-child\\(${CSS.escape(n)}\\))`));
2110
307
  document.head.insertAdjacentHTML("beforeend", `<style>${a}</style>`), r.forEach((e) => {
2111
308
  document.querySelectorAll(e).forEach((e) => {
2112
309
  if (e.shadowRoot || e.hasAttribute("data-nth-letter")) return;
2113
310
  let t = e.attachShadow({ mode: "closed" });
2114
311
  e.setAttribute("data-nth-letter", "attached");
2115
312
  let n = document.createElement("span");
2116
- n.innerHTML = e.innerHTML, t.appendChild(n), new Li(n, {
313
+ n.innerHTML = e.innerHTML, t.appendChild(n), new D(n, {
2117
314
  type: "chars",
2118
315
  charsClass: "char"
2119
316
  }), i.forEach((e, t) => {