chbim-plugins 0.0.6 → 0.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/chbim-plugins.js CHANGED
@@ -219,7 +219,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
219
219
  delete v.cycle;
220
220
  }, Y = function(v, P, e) {
221
221
  Q.call(this, v, P, e), this._cycle = 0, this._yoyo = this.vars.yoyo === !0 || !!this.vars.yoyoEase, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._repeat && this._uncache(!0), this.render = Y.prototype.render;
222
- }, $ = 1e-10, dt = Q._internals, S = dt.isSelector, M = dt.isArray, b = Y.prototype = Q.to({}, 0.1, {}), F = [];
222
+ }, $ = 1e-10, mt = Q._internals, O = mt.isSelector, M = mt.isArray, b = Y.prototype = Q.to({}, 0.1, {}), F = [];
223
223
  Y.version = "2.0.2", b.constructor = Y, b.kill()._gc = !1, Y.killTweensOf = Y.killDelayedCallsTo = Q.killTweensOf, Y.getTweensOf = Q.getTweensOf, Y.lagSmoothing = Q.lagSmoothing, Y.ticker = Q.ticker, Y.render = Q.render, b.invalidate = function() {
224
224
  return this._yoyo = this.vars.yoyo === !0 || !!this.vars.yoyoEase, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._yoyoEase = null, this._uncache(!0), Q.prototype.invalidate.call(this);
225
225
  }, b.updateTo = function(v, P) {
@@ -240,19 +240,19 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
240
240
  return this;
241
241
  }, b.render = function(v, P, e) {
242
242
  this._initted || this._duration === 0 && this.vars.repeat && this.invalidate();
243
- var t, _, n, g, p, T, O, D, R, Z = this._dirty ? this.totalDuration() : this._totalDuration, V = this._time, tt = this._totalTime, et = this._cycle, mt = this._duration, at = this._rawPrevTime;
244
- if (v >= Z - 1e-7 && v >= 0 ? (this._totalTime = Z, this._cycle = this._repeat, this._yoyo && 1 & this._cycle ? (this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0) : (this._time = mt, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1), this._reversed || (t = !0, _ = "onComplete", e = e || this._timeline.autoRemoveChildren), mt === 0 && (this._initted || !this.vars.lazy || e) && (this._startTime === this._timeline._duration && (v = 0), (0 > at || 0 >= v && v >= -1e-7 || at === $ && this.data !== "isPause") && at !== v && (e = !0, at > $ && (_ = "onReverseComplete")), this._rawPrevTime = D = !P || v || at === v ? v : $)) : 1e-7 > v ? (this._totalTime = this._time = this._cycle = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (tt !== 0 || mt === 0 && at > 0) && (_ = "onReverseComplete", t = this._reversed), 0 > v && (this._active = !1, mt === 0 && (this._initted || !this.vars.lazy || e) && (at >= 0 && (e = !0), this._rawPrevTime = D = !P || v || at === v ? v : $)), this._initted || (e = !0)) : (this._totalTime = this._time = v, this._repeat !== 0 && (g = mt + this._repeatDelay, this._cycle = this._totalTime / g >> 0, this._cycle !== 0 && this._cycle === this._totalTime / g && v >= tt && this._cycle--, this._time = this._totalTime - this._cycle * g, this._yoyo && 1 & this._cycle && (this._time = mt - this._time, R = this._yoyoEase || this.vars.yoyoEase, R && (this._yoyoEase || (R !== !0 || this._initted ? this._yoyoEase = R = R === !0 ? this._ease : R instanceof Ease ? R : Ease.map[R] : (R = this.vars.ease, this._yoyoEase = R = R ? R instanceof Ease ? R : typeof R == "function" ? new Ease(R, this.vars.easeParams) : Ease.map[R] || Q.defaultEase : Q.defaultEase)), this.ratio = R ? 1 - R.getRatio((mt - this._time) / mt) : 0)), this._time > mt ? this._time = mt : this._time < 0 && (this._time = 0)), this._easeType && !R ? (p = this._time / mt, T = this._easeType, O = this._easePower, (T === 1 || T === 3 && p >= 0.5) && (p = 1 - p), T === 3 && (p *= 2), O === 1 ? p *= p : O === 2 ? p *= p * p : O === 3 ? p *= p * p * p : O === 4 && (p *= p * p * p * p), T === 1 ? this.ratio = 1 - p : T === 2 ? this.ratio = p : this._time / mt < 0.5 ? this.ratio = p / 2 : this.ratio = 1 - p / 2) : R || (this.ratio = this._ease.getRatio(this._time / mt))), V === this._time && !e && et === this._cycle)
243
+ var t, _, n, g, p, T, S, D, R, Z = this._dirty ? this.totalDuration() : this._totalDuration, V = this._time, tt = this._totalTime, et = this._cycle, dt = this._duration, at = this._rawPrevTime;
244
+ if (v >= Z - 1e-7 && v >= 0 ? (this._totalTime = Z, this._cycle = this._repeat, this._yoyo && 1 & this._cycle ? (this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0) : (this._time = dt, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1), this._reversed || (t = !0, _ = "onComplete", e = e || this._timeline.autoRemoveChildren), dt === 0 && (this._initted || !this.vars.lazy || e) && (this._startTime === this._timeline._duration && (v = 0), (0 > at || 0 >= v && v >= -1e-7 || at === $ && this.data !== "isPause") && at !== v && (e = !0, at > $ && (_ = "onReverseComplete")), this._rawPrevTime = D = !P || v || at === v ? v : $)) : 1e-7 > v ? (this._totalTime = this._time = this._cycle = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (tt !== 0 || dt === 0 && at > 0) && (_ = "onReverseComplete", t = this._reversed), 0 > v && (this._active = !1, dt === 0 && (this._initted || !this.vars.lazy || e) && (at >= 0 && (e = !0), this._rawPrevTime = D = !P || v || at === v ? v : $)), this._initted || (e = !0)) : (this._totalTime = this._time = v, this._repeat !== 0 && (g = dt + this._repeatDelay, this._cycle = this._totalTime / g >> 0, this._cycle !== 0 && this._cycle === this._totalTime / g && v >= tt && this._cycle--, this._time = this._totalTime - this._cycle * g, this._yoyo && 1 & this._cycle && (this._time = dt - this._time, R = this._yoyoEase || this.vars.yoyoEase, R && (this._yoyoEase || (R !== !0 || this._initted ? this._yoyoEase = R = R === !0 ? this._ease : R instanceof Ease ? R : Ease.map[R] : (R = this.vars.ease, this._yoyoEase = R = R ? R instanceof Ease ? R : typeof R == "function" ? new Ease(R, this.vars.easeParams) : Ease.map[R] || Q.defaultEase : Q.defaultEase)), this.ratio = R ? 1 - R.getRatio((dt - this._time) / dt) : 0)), this._time > dt ? this._time = dt : this._time < 0 && (this._time = 0)), this._easeType && !R ? (p = this._time / dt, T = this._easeType, S = this._easePower, (T === 1 || T === 3 && p >= 0.5) && (p = 1 - p), T === 3 && (p *= 2), S === 1 ? p *= p : S === 2 ? p *= p * p : S === 3 ? p *= p * p * p : S === 4 && (p *= p * p * p * p), T === 1 ? this.ratio = 1 - p : T === 2 ? this.ratio = p : this._time / dt < 0.5 ? this.ratio = p / 2 : this.ratio = 1 - p / 2) : R || (this.ratio = this._ease.getRatio(this._time / dt))), V === this._time && !e && et === this._cycle)
245
245
  return void (tt !== this._totalTime && this._onUpdate && (P || this._callback("onUpdate")));
246
246
  if (!this._initted) {
247
247
  if (this._init(), !this._initted || this._gc)
248
248
  return;
249
249
  if (!e && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration))
250
- return this._time = V, this._totalTime = tt, this._rawPrevTime = at, this._cycle = et, dt.lazyTweens.push(this), void (this._lazy = [v, P]);
251
- !this._time || t || R ? t && this._ease._calcEnd && !R && (this.ratio = this._ease.getRatio(this._time === 0 ? 0 : 1)) : this.ratio = this._ease.getRatio(this._time / mt);
250
+ return this._time = V, this._totalTime = tt, this._rawPrevTime = at, this._cycle = et, mt.lazyTweens.push(this), void (this._lazy = [v, P]);
251
+ !this._time || t || R ? t && this._ease._calcEnd && !R && (this.ratio = this._ease.getRatio(this._time === 0 ? 0 : 1)) : this.ratio = this._ease.getRatio(this._time / dt);
252
252
  }
253
- for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== V && v >= 0 && (this._active = !0), tt === 0 && (this._initted === 2 && v > 0 && this._init(), this._startAt && (v >= 0 ? this._startAt.render(v, !0, e) : _ || (_ = "_dummyGS")), this.vars.onStart && (this._totalTime !== 0 || mt === 0) && (P || this._callback("onStart"))), n = this._firstPT; n; )
253
+ for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== V && v >= 0 && (this._active = !0), tt === 0 && (this._initted === 2 && v > 0 && this._init(), this._startAt && (v >= 0 ? this._startAt.render(v, !0, e) : _ || (_ = "_dummyGS")), this.vars.onStart && (this._totalTime !== 0 || dt === 0) && (P || this._callback("onStart"))), n = this._firstPT; n; )
254
254
  n.f ? n.t[n.p](n.c * this.ratio + n.s) : n.t[n.p] = n.c * this.ratio + n.s, n = n._next;
255
- this._onUpdate && (0 > v && this._startAt && this._startTime && this._startAt.render(v, !0, e), P || (this._totalTime !== tt || _) && this._callback("onUpdate")), this._cycle !== et && (P || this._gc || this.vars.onRepeat && this._callback("onRepeat")), _ && (!this._gc || e) && (0 > v && this._startAt && !this._onUpdate && this._startTime && this._startAt.render(v, !0, e), t && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !P && this.vars[_] && this._callback(_), mt === 0 && this._rawPrevTime === $ && D !== $ && (this._rawPrevTime = 0));
255
+ this._onUpdate && (0 > v && this._startAt && this._startTime && this._startAt.render(v, !0, e), P || (this._totalTime !== tt || _) && this._callback("onUpdate")), this._cycle !== et && (P || this._gc || this.vars.onRepeat && this._callback("onRepeat")), _ && (!this._gc || e) && (0 > v && this._startAt && !this._onUpdate && this._startTime && this._startAt.render(v, !0, e), t && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !P && this.vars[_] && this._callback(_), dt === 0 && this._rawPrevTime === $ && D !== $ && (this._rawPrevTime = 0));
256
256
  }, Y.to = function(v, P, e) {
257
257
  return new Y(v, P, e);
258
258
  }, Y.from = function(v, P, e) {
@@ -261,20 +261,20 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
261
261
  return t.startAt = e, t.immediateRender = t.immediateRender != 0 && e.immediateRender != 0, new Y(v, P, t);
262
262
  }, Y.staggerTo = Y.allTo = function(v, P, e, t, _, n, g) {
263
263
  t = t || 0;
264
- var p, T, O, D, R = 0, Z = [], V = function() {
264
+ var p, T, S, D, R = 0, Z = [], V = function() {
265
265
  e.onComplete && e.onComplete.apply(e.onCompleteScope || this, arguments), _.apply(g || e.callbackScope || this, n || F);
266
266
  }, tt = e.cycle, et = e.startAt && e.startAt.cycle;
267
- for (M(v) || (typeof v == "string" && (v = Q.selector(v) || v), S(v) && (v = nt(v))), v = v || [], 0 > t && (v = nt(v), v.reverse(), t *= -1), p = v.length - 1, O = 0; p >= O; O++) {
267
+ for (M(v) || (typeof v == "string" && (v = Q.selector(v) || v), O(v) && (v = nt(v))), v = v || [], 0 > t && (v = nt(v), v.reverse(), t *= -1), p = v.length - 1, S = 0; p >= S; S++) {
268
268
  T = {};
269
269
  for (D in e)
270
270
  T[D] = e[D];
271
- if (tt && (E(T, v, O), T.duration != null && (P = T.duration, delete T.duration)), et) {
271
+ if (tt && (E(T, v, S), T.duration != null && (P = T.duration, delete T.duration)), et) {
272
272
  et = T.startAt = {};
273
273
  for (D in e.startAt)
274
274
  et[D] = e.startAt[D];
275
- E(T.startAt, v, O);
275
+ E(T.startAt, v, S);
276
276
  }
277
- T.delay = R + (T.delay || 0), O === p && _ && (T.onComplete = V), Z[O] = new Y(v[O], P, T), R += t;
277
+ T.delay = R + (T.delay || 0), S === p && _ && (T.onComplete = V), Z[S] = new Y(v[S], P, T), R += t;
278
278
  }
279
279
  return Z;
280
280
  }, Y.staggerFrom = Y.allFrom = function(v, P, e, t, _, n, g) {
@@ -307,13 +307,13 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
307
307
  };
308
308
  Y.killAll = function(v, P, e, t) {
309
309
  P == null && (P = !0), e == null && (e = !0);
310
- var _, n, g, p = st(t != 0), T = p.length, O = P && e && t;
310
+ var _, n, g, p = st(t != 0), T = p.length, S = P && e && t;
311
311
  for (g = 0; T > g; g++)
312
- n = p[g], (O || n instanceof J || (_ = n.target === n.vars.onComplete) && e || P && !_) && (v ? n.totalTime(n._reversed ? 0 : n.totalDuration()) : n._enabled(!1, !1));
312
+ n = p[g], (S || n instanceof J || (_ = n.target === n.vars.onComplete) && e || P && !_) && (v ? n.totalTime(n._reversed ? 0 : n.totalDuration()) : n._enabled(!1, !1));
313
313
  }, Y.killChildTweensOf = function(v, P) {
314
314
  if (v != null) {
315
- var e, t, _, n, g, p = dt.tweenLookup;
316
- if (typeof v == "string" && (v = Q.selector(v) || v), S(v) && (v = nt(v)), M(v))
315
+ var e, t, _, n, g, p = mt.tweenLookup;
316
+ if (typeof v == "string" && (v = Q.selector(v) || v), O(v) && (v = nt(v)), M(v))
317
317
  for (n = v.length; --n > -1; )
318
318
  Y.killChildTweensOf(v[n], P);
319
319
  else {
@@ -370,9 +370,9 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
370
370
  J.call(this, e), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate;
371
371
  var t, _, n = this.vars;
372
372
  for (_ in n)
373
- t = n[_], S(t) && t.join("").indexOf("{self}") !== -1 && (n[_] = this._swapSelfInParams(t));
374
- S(n.tweens) && this.add(n.tweens, 0, n.align, n.stagger);
375
- }, E = 1e-10, Y = Q._internals, $ = nt._internals = {}, dt = Y.isSelector, S = Y.isArray, M = Y.lazyTweens, b = Y.lazyRender, F = Dt._gsDefine.globals, G = function(e) {
373
+ t = n[_], O(t) && t.join("").indexOf("{self}") !== -1 && (n[_] = this._swapSelfInParams(t));
374
+ O(n.tweens) && this.add(n.tweens, 0, n.align, n.stagger);
375
+ }, E = 1e-10, Y = Q._internals, $ = nt._internals = {}, mt = Y.isSelector, O = Y.isArray, M = Y.lazyTweens, b = Y.lazyRender, F = Dt._gsDefine.globals, G = function(e) {
376
376
  var t, _ = {};
377
377
  for (t in e)
378
378
  _[t] = e[t];
@@ -397,36 +397,36 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
397
397
  }, P.fromTo = function(e, t, _, n, g) {
398
398
  var p = n.repeat && F.TweenMax || Q;
399
399
  return t ? this.add(p.fromTo(e, t, _, n), g) : this.set(e, n, g);
400
- }, P.staggerTo = function(e, t, _, n, g, p, T, O) {
400
+ }, P.staggerTo = function(e, t, _, n, g, p, T, S) {
401
401
  var D, R, Z = new nt({
402
402
  onComplete: p,
403
403
  onCompleteParams: T,
404
- callbackScope: O,
404
+ callbackScope: S,
405
405
  smoothChildTiming: this.smoothChildTiming
406
406
  }), V = _.cycle;
407
- for (typeof e == "string" && (e = Q.selector(e) || e), e = e || [], dt(e) && (e = v(e)), n = n || 0, 0 > n && (e = v(e), e.reverse(), n *= -1), R = 0; R < e.length; R++)
407
+ for (typeof e == "string" && (e = Q.selector(e) || e), e = e || [], mt(e) && (e = v(e)), n = n || 0, 0 > n && (e = v(e), e.reverse(), n *= -1), R = 0; R < e.length; R++)
408
408
  D = G(_), D.startAt && (D.startAt = G(D.startAt), D.startAt.cycle && st(D.startAt, e, R)), V && (st(D, e, R), D.duration != null && (t = D.duration, delete D.duration)), Z.to(e[R], t, D, R * n);
409
409
  return this.add(Z, g);
410
- }, P.staggerFrom = function(e, t, _, n, g, p, T, O) {
411
- return _.immediateRender = _.immediateRender != 0, _.runBackwards = !0, this.staggerTo(e, t, _, n, g, p, T, O);
412
- }, P.staggerFromTo = function(e, t, _, n, g, p, T, O, D) {
413
- return n.startAt = _, n.immediateRender = n.immediateRender != 0 && _.immediateRender != 0, this.staggerTo(e, t, n, g, p, T, O, D);
410
+ }, P.staggerFrom = function(e, t, _, n, g, p, T, S) {
411
+ return _.immediateRender = _.immediateRender != 0, _.runBackwards = !0, this.staggerTo(e, t, _, n, g, p, T, S);
412
+ }, P.staggerFromTo = function(e, t, _, n, g, p, T, S, D) {
413
+ return n.startAt = _, n.immediateRender = n.immediateRender != 0 && _.immediateRender != 0, this.staggerTo(e, t, n, g, p, T, S, D);
414
414
  }, P.call = function(e, t, _, n) {
415
415
  return this.add(Q.delayedCall(0, e, t, _), n);
416
416
  }, P.set = function(e, t, _) {
417
417
  return _ = this._parseTimeOrLabel(_, 0, !0), t.immediateRender == null && (t.immediateRender = _ === this._time && !this._paused), this.add(new Q(e, 0, t), _);
418
418
  }, nt.exportRoot = function(e, t) {
419
419
  e = e || {}, e.smoothChildTiming == null && (e.smoothChildTiming = !0);
420
- var _, n, g, p, T = new nt(e), O = T._timeline;
421
- for (t == null && (t = !0), O._remove(T, !0), T._startTime = 0, T._rawPrevTime = T._time = T._totalTime = O._time, g = O._first; g; )
420
+ var _, n, g, p, T = new nt(e), S = T._timeline;
421
+ for (t == null && (t = !0), S._remove(T, !0), T._startTime = 0, T._rawPrevTime = T._time = T._totalTime = S._time, g = S._first; g; )
422
422
  p = g._next, t && g instanceof Q && g.target === g.vars.onComplete || (n = g._startTime - g._delay, 0 > n && (_ = 1), T.add(g, n)), g = p;
423
- return O.add(T, 0), _ && T.totalDuration(), T;
423
+ return S.add(T, 0), _ && T.totalDuration(), T;
424
424
  }, P.add = function(e, t, _, n) {
425
- var g, p, T, O, D, R;
425
+ var g, p, T, S, D, R;
426
426
  if (typeof t != "number" && (t = this._parseTimeOrLabel(t, 0, !0, e)), !(e instanceof N)) {
427
- if (e instanceof Array || e && e.push && S(e)) {
427
+ if (e instanceof Array || e && e.push && O(e)) {
428
428
  for (_ = _ || "normal", n = n || 0, g = t, p = e.length, T = 0; p > T; T++)
429
- S(O = e[T]) && (O = new nt({ tweens: O })), this.add(O, g), typeof O != "string" && typeof O != "function" && (_ === "sequence" ? g = O._startTime + O.totalDuration() / O._timeScale : _ === "start" && (O._startTime -= O.delay())), g += n;
429
+ O(S = e[T]) && (S = new nt({ tweens: S })), this.add(S, g), typeof S != "string" && typeof S != "function" && (_ === "sequence" ? g = S._startTime + S.totalDuration() / S._timeScale : _ === "start" && (S._startTime -= S.delay())), g += n;
430
430
  return this._uncache(!0);
431
431
  }
432
432
  if (typeof e == "string")
@@ -451,7 +451,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
451
451
  var t = e._timeline = e.vars.useFrames ? N._rootFramesTimeline : N._rootTimeline;
452
452
  return e._startTime = (e._paused ? e._pauseTime : t._time) - (e._reversed ? e.totalDuration() - e._totalTime : e._totalTime) / e._timeScale, this;
453
453
  }
454
- if (e instanceof Array || e && e.push && S(e)) {
454
+ if (e instanceof Array || e && e.push && O(e)) {
455
455
  for (var _ = e.length; --_ > -1; )
456
456
  this.remove(e[_]);
457
457
  return this;
@@ -480,7 +480,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
480
480
  var g, p;
481
481
  if (n instanceof N && n.timeline === this)
482
482
  this.remove(n);
483
- else if (n && (n instanceof Array || n.push && S(n)))
483
+ else if (n && (n instanceof Array || n.push && O(n)))
484
484
  for (p = n.length; --p > -1; )
485
485
  n[p] instanceof N && n[p].timeline === this && this.remove(n[p]);
486
486
  if (g = typeof e != "number" || t ? this.duration() > 99999999999 ? this.recent().endTime(!1) : this._duration : 0, typeof t == "string")
@@ -510,17 +510,17 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
510
510
  return this.pause(e, t);
511
511
  }, P.render = function(e, t, _) {
512
512
  this._gc && this._enabled(!0, !1);
513
- var n, g, p, T, O, D, R, Z = this._time, V = this._dirty ? this.totalDuration() : this._totalDuration, tt = this._startTime, et = this._timeScale, mt = this._paused;
513
+ var n, g, p, T, S, D, R, Z = this._time, V = this._dirty ? this.totalDuration() : this._totalDuration, tt = this._startTime, et = this._timeScale, dt = this._paused;
514
514
  if (Z !== this._time && (e += this._time - Z), e >= V - 1e-7 && e >= 0)
515
- this._totalTime = this._time = V, this._reversed || this._hasPausedChild() || (g = !0, T = "onComplete", O = !!this._timeline.autoRemoveChildren, this._duration === 0 && (0 >= e && e >= -1e-7 || this._rawPrevTime < 0 || this._rawPrevTime === E) && this._rawPrevTime !== e && this._first && (O = !0, this._rawPrevTime > E && (T = "onReverseComplete"))), this._rawPrevTime = this._duration || !t || e || this._rawPrevTime === e ? e : E, e = V + 1e-4;
515
+ this._totalTime = this._time = V, this._reversed || this._hasPausedChild() || (g = !0, T = "onComplete", S = !!this._timeline.autoRemoveChildren, this._duration === 0 && (0 >= e && e >= -1e-7 || this._rawPrevTime < 0 || this._rawPrevTime === E) && this._rawPrevTime !== e && this._first && (S = !0, this._rawPrevTime > E && (T = "onReverseComplete"))), this._rawPrevTime = this._duration || !t || e || this._rawPrevTime === e ? e : E, e = V + 1e-4;
516
516
  else if (1e-7 > e)
517
517
  if (this._totalTime = this._time = 0, (Z !== 0 || this._duration === 0 && this._rawPrevTime !== E && (this._rawPrevTime > 0 || 0 > e && this._rawPrevTime >= 0)) && (T = "onReverseComplete", g = this._reversed), 0 > e)
518
- this._active = !1, this._timeline.autoRemoveChildren && this._reversed ? (O = g = !0, T = "onReverseComplete") : this._rawPrevTime >= 0 && this._first && (O = !0), this._rawPrevTime = e;
518
+ this._active = !1, this._timeline.autoRemoveChildren && this._reversed ? (S = g = !0, T = "onReverseComplete") : this._rawPrevTime >= 0 && this._first && (S = !0), this._rawPrevTime = e;
519
519
  else {
520
520
  if (this._rawPrevTime = this._duration || !t || e || this._rawPrevTime === e ? e : E, e === 0 && g)
521
521
  for (n = this._first; n && n._startTime === 0; )
522
522
  n._duration || (g = !1), n = n._next;
523
- e = 0, this._initted || (O = !0);
523
+ e = 0, this._initted || (S = !0);
524
524
  }
525
525
  else {
526
526
  if (this._hasPause && !this._forcingPlayhead && !t) {
@@ -534,16 +534,16 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
534
534
  }
535
535
  this._totalTime = this._time = this._rawPrevTime = e;
536
536
  }
537
- if (this._time !== Z && this._first || _ || O || D) {
537
+ if (this._time !== Z && this._first || _ || S || D) {
538
538
  if (this._initted || (this._initted = !0), this._active || !this._paused && this._time !== Z && e > 0 && (this._active = !0), Z === 0 && this.vars.onStart && (this._time === 0 && this._duration || t || this._callback("onStart")), R = this._time, R >= Z)
539
- for (n = this._first; n && (p = n._next, R === this._time && (!this._paused || mt)); )
539
+ for (n = this._first; n && (p = n._next, R === this._time && (!this._paused || dt)); )
540
540
  (n._active || n._startTime <= R && !n._paused && !n._gc) && (D === n && this.pause(), n._reversed ? n.render(
541
541
  (n._dirty ? n.totalDuration() : n._totalDuration) - (e - n._startTime) * n._timeScale,
542
542
  t,
543
543
  _
544
544
  ) : n.render((e - n._startTime) * n._timeScale, t, _)), n = p;
545
545
  else
546
- for (n = this._last; n && (p = n._prev, R === this._time && (!this._paused || mt)); ) {
546
+ for (n = this._last; n && (p = n._prev, R === this._time && (!this._paused || dt)); ) {
547
547
  if (n._active || n._startTime <= Z && !n._paused && !n._gc) {
548
548
  if (D === n) {
549
549
  for (D = n._prev; D && D.endTime() > this._time; )
@@ -654,7 +654,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
654
654
  function(N, J, Q) {
655
655
  var nt = function(F) {
656
656
  N.call(this, F), this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._cycle = 0, this._yoyo = this.vars.yoyo === !0, this._dirty = !0;
657
- }, E = 1e-10, Y = J._internals, $ = Y.lazyTweens, dt = Y.lazyRender, S = Dt._gsDefine.globals, M = new Q(null, null, 1, 0), b = nt.prototype = new N();
657
+ }, E = 1e-10, Y = J._internals, $ = Y.lazyTweens, mt = Y.lazyRender, O = Dt._gsDefine.globals, M = new Q(null, null, 1, 0), b = nt.prototype = new N();
658
658
  return b.constructor = nt, b.kill()._gc = !1, nt.version = "2.0.2", b.invalidate = function() {
659
659
  return this._yoyo = this.vars.yoyo === !0, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._uncache(!0), N.prototype.invalidate.call(this);
660
660
  }, b.addCallback = function(F, G, st, L) {
@@ -676,7 +676,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
676
676
  useFrames: this.usesFrames(),
677
677
  immediateRender: !1,
678
678
  lazy: !1
679
- }, e = G.repeat && S.TweenMax || J;
679
+ }, e = G.repeat && O.TweenMax || J;
680
680
  for (L in G)
681
681
  P[L] = G[L];
682
682
  return P.time = this._parseTimeOrLabel(F), st = Math.abs(Number(P.time) - this._time) / this._timeScale || 1e-3, v = new e(this, st, P), P.onStart = function() {
@@ -697,30 +697,30 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
697
697
  return L.isFromTo = 1, L.duration(Math.abs(L.vars.time - F) / this._timeScale || 1e-3);
698
698
  }, b.render = function(F, G, st) {
699
699
  this._gc && this._enabled(!0, !1);
700
- var L, v, P, e, t, _, n, g, p = this._time, T = this._dirty ? this.totalDuration() : this._totalDuration, O = this._duration, D = this._totalTime, R = this._startTime, Z = this._timeScale, V = this._rawPrevTime, tt = this._paused, et = this._cycle;
700
+ var L, v, P, e, t, _, n, g, p = this._time, T = this._dirty ? this.totalDuration() : this._totalDuration, S = this._duration, D = this._totalTime, R = this._startTime, Z = this._timeScale, V = this._rawPrevTime, tt = this._paused, et = this._cycle;
701
701
  if (p !== this._time && (F += this._time - p), F >= T - 1e-7 && F >= 0)
702
- this._locked || (this._totalTime = T, this._cycle = this._repeat), this._reversed || this._hasPausedChild() || (v = !0, e = "onComplete", t = !!this._timeline.autoRemoveChildren, this._duration === 0 && (0 >= F && F >= -1e-7 || 0 > V || V === E) && V !== F && this._first && (t = !0, V > E && (e = "onReverseComplete"))), this._rawPrevTime = this._duration || !G || F || this._rawPrevTime === F ? F : E, this._yoyo && 1 & this._cycle ? this._time = F = 0 : (this._time = O, F = O + 1e-4);
702
+ this._locked || (this._totalTime = T, this._cycle = this._repeat), this._reversed || this._hasPausedChild() || (v = !0, e = "onComplete", t = !!this._timeline.autoRemoveChildren, this._duration === 0 && (0 >= F && F >= -1e-7 || 0 > V || V === E) && V !== F && this._first && (t = !0, V > E && (e = "onReverseComplete"))), this._rawPrevTime = this._duration || !G || F || this._rawPrevTime === F ? F : E, this._yoyo && 1 & this._cycle ? this._time = F = 0 : (this._time = S, F = S + 1e-4);
703
703
  else if (1e-7 > F)
704
- if (this._locked || (this._totalTime = this._cycle = 0), this._time = 0, (p !== 0 || O === 0 && V !== E && (V > 0 || 0 > F && V >= 0) && !this._locked) && (e = "onReverseComplete", v = this._reversed), 0 > F)
704
+ if (this._locked || (this._totalTime = this._cycle = 0), this._time = 0, (p !== 0 || S === 0 && V !== E && (V > 0 || 0 > F && V >= 0) && !this._locked) && (e = "onReverseComplete", v = this._reversed), 0 > F)
705
705
  this._active = !1, this._timeline.autoRemoveChildren && this._reversed ? (t = v = !0, e = "onReverseComplete") : V >= 0 && this._first && (t = !0), this._rawPrevTime = F;
706
706
  else {
707
- if (this._rawPrevTime = O || !G || F || this._rawPrevTime === F ? F : E, F === 0 && v)
707
+ if (this._rawPrevTime = S || !G || F || this._rawPrevTime === F ? F : E, F === 0 && v)
708
708
  for (L = this._first; L && L._startTime === 0; )
709
709
  L._duration || (v = !1), L = L._next;
710
710
  F = 0, this._initted || (t = !0);
711
711
  }
712
- else if (O === 0 && 0 > V && (t = !0), this._time = this._rawPrevTime = F, this._locked || (this._totalTime = F, this._repeat !== 0 && (_ = O + this._repeatDelay, this._cycle = this._totalTime / _ >> 0, this._cycle !== 0 && this._cycle === this._totalTime / _ && F >= D && this._cycle--, this._time = this._totalTime - this._cycle * _, this._yoyo && 1 & this._cycle && (this._time = O - this._time), this._time > O ? (this._time = O, F = O + 1e-4) : this._time < 0 ? this._time = F = 0 : F = this._time)), this._hasPause && !this._forcingPlayhead && !G) {
712
+ else if (S === 0 && 0 > V && (t = !0), this._time = this._rawPrevTime = F, this._locked || (this._totalTime = F, this._repeat !== 0 && (_ = S + this._repeatDelay, this._cycle = this._totalTime / _ >> 0, this._cycle !== 0 && this._cycle === this._totalTime / _ && F >= D && this._cycle--, this._time = this._totalTime - this._cycle * _, this._yoyo && 1 & this._cycle && (this._time = S - this._time), this._time > S ? (this._time = S, F = S + 1e-4) : this._time < 0 ? this._time = F = 0 : F = this._time)), this._hasPause && !this._forcingPlayhead && !G) {
713
713
  if (F = this._time, F >= p || this._repeat && et !== this._cycle)
714
714
  for (L = this._first; L && L._startTime <= F && !n; )
715
715
  L._duration || L.data !== "isPause" || L.ratio || L._startTime === 0 && this._rawPrevTime === 0 || (n = L), L = L._next;
716
716
  else
717
717
  for (L = this._last; L && L._startTime >= F && !n; )
718
718
  L._duration || L.data === "isPause" && L._rawPrevTime > 0 && (n = L), L = L._prev;
719
- n && n._startTime < O && (this._time = F = n._startTime, this._totalTime = F + this._cycle * (this._totalDuration + this._repeatDelay));
719
+ n && n._startTime < S && (this._time = F = n._startTime, this._totalTime = F + this._cycle * (this._totalDuration + this._repeatDelay));
720
720
  }
721
721
  if (this._cycle !== et && !this._locked) {
722
- var mt = this._yoyo && (1 & et) !== 0, at = mt === (this._yoyo && (1 & this._cycle) !== 0), K = this._totalTime, gt = this._cycle, Yt = this._rawPrevTime, yt = this._time;
723
- if (this._totalTime = et * O, this._cycle < et ? mt = !mt : this._totalTime += O, this._time = p, this._rawPrevTime = O === 0 ? V - 1e-4 : V, this._cycle = et, this._locked = !0, p = mt ? 0 : O, this.render(p, G, O === 0), G || this._gc || this.vars.onRepeat && (this._cycle = gt, this._locked = !1, this._callback("onRepeat")), p !== this._time || (at && (this._cycle = et, this._locked = !0, p = mt ? O + 1e-4 : -1e-4, this.render(p, !0, !1)), this._locked = !1, this._paused && !tt))
722
+ var dt = this._yoyo && (1 & et) !== 0, at = dt === (this._yoyo && (1 & this._cycle) !== 0), K = this._totalTime, gt = this._cycle, Yt = this._rawPrevTime, yt = this._time;
723
+ if (this._totalTime = et * S, this._cycle < et ? dt = !dt : this._totalTime += S, this._time = p, this._rawPrevTime = S === 0 ? V - 1e-4 : V, this._cycle = et, this._locked = !0, p = dt ? 0 : S, this.render(p, G, S === 0), G || this._gc || this.vars.onRepeat && (this._cycle = gt, this._locked = !1, this._callback("onRepeat")), p !== this._time || (at && (this._cycle = et, this._locked = !0, p = dt ? S + 1e-4 : -1e-4, this.render(p, !0, !1)), this._locked = !1, this._paused && !tt))
724
724
  return;
725
725
  this._time = yt, this._totalTime = K, this._cycle = gt, this._rawPrevTime = Yt;
726
726
  }
@@ -753,7 +753,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
753
753
  }
754
754
  L = P;
755
755
  }
756
- this._onUpdate && (G || ($.length && dt(), this._callback("onUpdate"))), e && (this._locked || this._gc || (R === this._startTime || Z !== this._timeScale) && (this._time === 0 || T >= this.totalDuration()) && (v && ($.length && dt(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !G && this.vars[e] && this._callback(e)));
756
+ this._onUpdate && (G || ($.length && mt(), this._callback("onUpdate"))), e && (this._locked || this._gc || (R === this._startTime || Z !== this._timeScale) && (this._time === 0 || T >= this.totalDuration()) && (v && ($.length && mt(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !G && this.vars[e] && this._callback(e)));
757
757
  }, b.getActive = function(F, G, st) {
758
758
  F == null && (F = !0), G == null && (G = !0), st == null && (st = !1);
759
759
  var L, v, P = [], e = this.getChildren(F, G, st), t = 0, _ = e.length;
@@ -807,79 +807,79 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
807
807
  ), function() {
808
808
  var N = 180 / Math.PI, J = [], Q = [], nt = [], E = {}, Y = Dt._gsDefine.globals, $ = function(e, t, _, n) {
809
809
  _ === n && (_ = n - (n - t) / 1e6), e === t && (t = e + (_ - e) / 1e6), this.a = e, this.b = t, this.c = _, this.d = n, this.da = n - e, this.ca = _ - e, this.ba = t - e;
810
- }, dt = ",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,", S = function(e, t, _, n) {
811
- var g = { a: e }, p = {}, T = {}, O = { c: n }, D = (e + t) / 2, R = (t + _) / 2, Z = (_ + n) / 2, V = (D + R) / 2, tt = (R + Z) / 2, et = (tt - V) / 8;
812
- return g.b = D + (e - D) / 4, p.b = V + et, g.c = p.a = (g.b + p.b) / 2, p.c = T.a = (V + tt) / 2, T.b = tt - et, O.b = Z + (n - Z) / 4, T.c = O.a = (T.b + O.b) / 2, [g, p, T, O];
810
+ }, mt = ",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,", O = function(e, t, _, n) {
811
+ var g = { a: e }, p = {}, T = {}, S = { c: n }, D = (e + t) / 2, R = (t + _) / 2, Z = (_ + n) / 2, V = (D + R) / 2, tt = (R + Z) / 2, et = (tt - V) / 8;
812
+ return g.b = D + (e - D) / 4, p.b = V + et, g.c = p.a = (g.b + p.b) / 2, p.c = T.a = (V + tt) / 2, T.b = tt - et, S.b = Z + (n - Z) / 4, T.c = S.a = (T.b + S.b) / 2, [g, p, T, S];
813
813
  }, M = function(e, t, _, n, g) {
814
- var p, T, O, D, R, Z, V, tt, et, mt, at, K, gt, Yt = e.length - 1, yt = 0, At = e[0].a;
814
+ var p, T, S, D, R, Z, V, tt, et, dt, at, K, gt, Yt = e.length - 1, yt = 0, At = e[0].a;
815
815
  for (p = 0; Yt > p; p++)
816
- R = e[yt], T = R.a, O = R.d, D = e[yt + 1].d, g ? (at = J[p], K = Q[p], gt = (K + at) * t * 0.25 / (n ? 0.5 : nt[p] || 0.5), Z = O - (O - T) * (n ? 0.5 * t : at !== 0 ? gt / at : 0), V = O + (D - O) * (n ? 0.5 * t : K !== 0 ? gt / K : 0), tt = O - (Z + ((V - Z) * (3 * at / (at + K) + 0.5) / 4 || 0))) : (Z = O - (O - T) * t * 0.5, V = O + (D - O) * t * 0.5, tt = O - (Z + V) / 2), Z += tt, V += tt, R.c = et = Z, p !== 0 ? R.b = At : R.b = At = R.a + 0.6 * (R.c - R.a), R.da = O - T, R.ca = et - T, R.ba = At - T, _ ? (mt = S(T, At, et, O), e.splice(yt, 1, mt[0], mt[1], mt[2], mt[3]), yt += 4) : yt++, At = V;
817
- R = e[yt], R.b = At, R.c = At + 0.4 * (R.d - At), R.da = R.d - R.a, R.ca = R.c - R.a, R.ba = At - R.a, _ && (mt = S(R.a, At, R.c, R.d), e.splice(yt, 1, mt[0], mt[1], mt[2], mt[3]));
816
+ R = e[yt], T = R.a, S = R.d, D = e[yt + 1].d, g ? (at = J[p], K = Q[p], gt = (K + at) * t * 0.25 / (n ? 0.5 : nt[p] || 0.5), Z = S - (S - T) * (n ? 0.5 * t : at !== 0 ? gt / at : 0), V = S + (D - S) * (n ? 0.5 * t : K !== 0 ? gt / K : 0), tt = S - (Z + ((V - Z) * (3 * at / (at + K) + 0.5) / 4 || 0))) : (Z = S - (S - T) * t * 0.5, V = S + (D - S) * t * 0.5, tt = S - (Z + V) / 2), Z += tt, V += tt, R.c = et = Z, p !== 0 ? R.b = At : R.b = At = R.a + 0.6 * (R.c - R.a), R.da = S - T, R.ca = et - T, R.ba = At - T, _ ? (dt = O(T, At, et, S), e.splice(yt, 1, dt[0], dt[1], dt[2], dt[3]), yt += 4) : yt++, At = V;
817
+ R = e[yt], R.b = At, R.c = At + 0.4 * (R.d - At), R.da = R.d - R.a, R.ca = R.c - R.a, R.ba = At - R.a, _ && (dt = O(R.a, At, R.c, R.d), e.splice(yt, 1, dt[0], dt[1], dt[2], dt[3]));
818
818
  }, b = function(e, t, _, n) {
819
- var g, p, T, O, D, R, Z = [];
819
+ var g, p, T, S, D, R, Z = [];
820
820
  if (n)
821
821
  for (e = [n].concat(e), p = e.length; --p > -1; )
822
822
  typeof (R = e[p][t]) == "string" && R.charAt(1) === "=" && (e[p][t] = n[t] + Number(R.charAt(0) + R.substr(2)));
823
823
  if (g = e.length - 2, 0 > g)
824
824
  return Z[0] = new $(e[0][t], 0, 0, e[0][t]), Z;
825
825
  for (p = 0; g > p; p++)
826
- T = e[p][t], O = e[p + 1][t], Z[p] = new $(T, 0, 0, O), _ && (D = e[p + 2][t], J[p] = (J[p] || 0) + (O - T) * (O - T), Q[p] = (Q[p] || 0) + (D - O) * (D - O));
826
+ T = e[p][t], S = e[p + 1][t], Z[p] = new $(T, 0, 0, S), _ && (D = e[p + 2][t], J[p] = (J[p] || 0) + (S - T) * (S - T), Q[p] = (Q[p] || 0) + (D - S) * (D - S));
827
827
  return Z[p] = new $(e[p][t], 0, 0, e[p + 1][t]), Z;
828
828
  }, F = function(e, t, _, n, g, p) {
829
- var T, O, D, R, Z, V, tt, et, mt = {}, at = [], K = p || e[0];
830
- g = typeof g == "string" ? "," + g + "," : dt, t == null && (t = 1);
831
- for (O in e[0])
832
- at.push(O);
829
+ var T, S, D, R, Z, V, tt, et, dt = {}, at = [], K = p || e[0];
830
+ g = typeof g == "string" ? "," + g + "," : mt, t == null && (t = 1);
831
+ for (S in e[0])
832
+ at.push(S);
833
833
  if (e.length > 1) {
834
834
  for (et = e[e.length - 1], tt = !0, T = at.length; --T > -1; )
835
- if (O = at[T], Math.abs(K[O] - et[O]) > 0.05) {
835
+ if (S = at[T], Math.abs(K[S] - et[S]) > 0.05) {
836
836
  tt = !1;
837
837
  break;
838
838
  }
839
839
  tt && (e = e.concat(), p && e.unshift(p), e.push(e[1]), p = e[e.length - 3]);
840
840
  }
841
841
  for (J.length = Q.length = nt.length = 0, T = at.length; --T > -1; )
842
- O = at[T], E[O] = g.indexOf("," + O + ",") !== -1, mt[O] = b(e, O, E[O], p);
842
+ S = at[T], E[S] = g.indexOf("," + S + ",") !== -1, dt[S] = b(e, S, E[S], p);
843
843
  for (T = J.length; --T > -1; )
844
844
  J[T] = Math.sqrt(J[T]), Q[T] = Math.sqrt(Q[T]);
845
845
  if (!n) {
846
846
  for (T = at.length; --T > -1; )
847
- if (E[O])
848
- for (D = mt[at[T]], V = D.length - 1, R = 0; V > R; R++)
847
+ if (E[S])
848
+ for (D = dt[at[T]], V = D.length - 1, R = 0; V > R; R++)
849
849
  Z = D[R + 1].da / Q[R] + D[R].da / J[R] || 0, nt[R] = (nt[R] || 0) + Z * Z;
850
850
  for (T = nt.length; --T > -1; )
851
851
  nt[T] = Math.sqrt(nt[T]);
852
852
  }
853
853
  for (T = at.length, R = _ ? 4 : 1; --T > -1; )
854
- O = at[T], D = mt[O], M(D, t, _, n, E[O]), tt && (D.splice(0, R), D.splice(D.length - R, R));
855
- return mt;
854
+ S = at[T], D = dt[S], M(D, t, _, n, E[S]), tt && (D.splice(0, R), D.splice(D.length - R, R));
855
+ return dt;
856
856
  }, G = function(e, t, _) {
857
857
  t = t || "soft";
858
- var n, g, p, T, O, D, R, Z, V, tt, et, mt = {}, at = t === "cubic" ? 3 : 2, K = t === "soft", gt = [];
858
+ var n, g, p, T, S, D, R, Z, V, tt, et, dt = {}, at = t === "cubic" ? 3 : 2, K = t === "soft", gt = [];
859
859
  if (K && _ && (e = [_].concat(e)), e == null || e.length < at + 1)
860
860
  throw "invalid Bezier data";
861
861
  for (V in e[0])
862
862
  gt.push(V);
863
863
  for (D = gt.length; --D > -1; ) {
864
- for (V = gt[D], mt[V] = O = [], tt = 0, Z = e.length, R = 0; Z > R; R++)
865
- n = _ == null ? e[R][V] : typeof (et = e[R][V]) == "string" && et.charAt(1) === "=" ? _[V] + Number(et.charAt(0) + et.substr(2)) : Number(et), K && R > 1 && Z - 1 > R && (O[tt++] = (n + O[tt - 2]) / 2), O[tt++] = n;
864
+ for (V = gt[D], dt[V] = S = [], tt = 0, Z = e.length, R = 0; Z > R; R++)
865
+ n = _ == null ? e[R][V] : typeof (et = e[R][V]) == "string" && et.charAt(1) === "=" ? _[V] + Number(et.charAt(0) + et.substr(2)) : Number(et), K && R > 1 && Z - 1 > R && (S[tt++] = (n + S[tt - 2]) / 2), S[tt++] = n;
866
866
  for (Z = tt - at + 1, tt = 0, R = 0; Z > R; R += at)
867
- n = O[R], g = O[R + 1], p = O[R + 2], T = at === 2 ? 0 : O[R + 3], O[tt++] = et = at === 3 ? new $(n, g, p, T) : new $(n, (2 * g + n) / 3, (2 * g + p) / 3, p);
868
- O.length = tt;
867
+ n = S[R], g = S[R + 1], p = S[R + 2], T = at === 2 ? 0 : S[R + 3], S[tt++] = et = at === 3 ? new $(n, g, p, T) : new $(n, (2 * g + n) / 3, (2 * g + p) / 3, p);
868
+ S.length = tt;
869
869
  }
870
- return mt;
870
+ return dt;
871
871
  }, st = function(e, t, _) {
872
- for (var n, g, p, T, O, D, R, Z, V, tt, et, mt = 1 / _, at = e.length; --at > -1; )
873
- for (tt = e[at], p = tt.a, T = tt.d - p, O = tt.c - p, D = tt.b - p, n = g = 0, Z = 1; _ >= Z; Z++)
874
- R = mt * Z, V = 1 - R, n = g - (g = (R * R * T + 3 * V * (R * O + V * D)) * R), et = at * _ + Z - 1, t[et] = (t[et] || 0) + n * n;
872
+ for (var n, g, p, T, S, D, R, Z, V, tt, et, dt = 1 / _, at = e.length; --at > -1; )
873
+ for (tt = e[at], p = tt.a, T = tt.d - p, S = tt.c - p, D = tt.b - p, n = g = 0, Z = 1; _ >= Z; Z++)
874
+ R = dt * Z, V = 1 - R, n = g - (g = (R * R * T + 3 * V * (R * S + V * D)) * R), et = at * _ + Z - 1, t[et] = (t[et] || 0) + n * n;
875
875
  }, L = function(e, t) {
876
876
  t = t >> 0 || 6;
877
- var _, n, g, p, T = [], O = [], D = 0, R = 0, Z = t - 1, V = [], tt = [];
877
+ var _, n, g, p, T = [], S = [], D = 0, R = 0, Z = t - 1, V = [], tt = [];
878
878
  for (_ in e)
879
879
  st(e[_], T, t);
880
880
  for (g = T.length, n = 0; g > n; n++)
881
- D += Math.sqrt(T[n]), p = n % t, tt[p] = D, p === Z && (R += D, p = n / t >> 0, V[p] = tt, O[p] = R, D = 0, tt = []);
882
- return { length: R, lengths: O, segments: V };
881
+ D += Math.sqrt(T[n]), p = n % t, tt[p] = D, p === Z && (R += D, p = n / t >> 0, V[p] = tt, S[p] = R, D = 0, tt = []);
882
+ return { length: R, lengths: S, segments: V };
883
883
  }, v = Dt._gsDefine.plugin({
884
884
  propName: "bezier",
885
885
  priority: -1,
@@ -888,19 +888,19 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
888
888
  global: !0,
889
889
  init: function(e, t, _) {
890
890
  this._target = e, t instanceof Array && (t = { values: t }), this._func = {}, this._mod = {}, this._props = [], this._timeRes = t.timeResolution == null ? 6 : parseInt(t.timeResolution, 10);
891
- var n, g, p, T, O, D = t.values || [], R = {}, Z = D[0], V = t.autoRotate || _.vars.orientToBezier;
891
+ var n, g, p, T, S, D = t.values || [], R = {}, Z = D[0], V = t.autoRotate || _.vars.orientToBezier;
892
892
  this._autoRotate = V ? V instanceof Array ? V : [["x", "y", "rotation", V === !0 ? 0 : Number(V) || 0]] : null;
893
893
  for (n in Z)
894
894
  this._props.push(n);
895
895
  for (p = this._props.length; --p > -1; )
896
- n = this._props[p], this._overwriteProps.push(n), g = this._func[n] = typeof e[n] == "function", R[n] = g ? e[n.indexOf("set") || typeof e["get" + n.substr(3)] != "function" ? n : "get" + n.substr(3)]() : parseFloat(e[n]), O || R[n] !== D[0][n] && (O = R);
896
+ n = this._props[p], this._overwriteProps.push(n), g = this._func[n] = typeof e[n] == "function", R[n] = g ? e[n.indexOf("set") || typeof e["get" + n.substr(3)] != "function" ? n : "get" + n.substr(3)]() : parseFloat(e[n]), S || R[n] !== D[0][n] && (S = R);
897
897
  if (this._beziers = t.type !== "cubic" && t.type !== "quadratic" && t.type !== "soft" ? F(
898
898
  D,
899
899
  isNaN(t.curviness) ? 1 : t.curviness,
900
900
  !1,
901
901
  t.type === "thruBasic",
902
902
  t.correlate,
903
- O
903
+ S
904
904
  ) : G(D, t.type, R), this._segCount = this._beziers[n].length, this._timeRes) {
905
905
  var tt = L(this._beziers, this._timeRes);
906
906
  this._length = tt.length, this._lengths = tt.lengths, this._segments = tt.segments, this._l1 = this._li = this._s1 = this._si = 0, this._l2 = this._lengths[0], this._curSeg = this._segments[0], this._s2 = this._curSeg[0], this._prec = 1 / this._curSeg.length;
@@ -914,7 +914,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
914
914
  return this._startRatio = _.vars.runBackwards ? 1 : 0, !0;
915
915
  },
916
916
  set: function(e) {
917
- var t, _, n, g, p, T, O, D, R, Z, V = this._segCount, tt = this._func, et = this._target, mt = e !== this._startRatio;
917
+ var t, _, n, g, p, T, S, D, R, Z, V = this._segCount, tt = this._func, et = this._target, dt = e !== this._startRatio;
918
918
  if (this._timeRes) {
919
919
  if (R = this._lengths, Z = this._curSeg, e *= this._length, n = this._li, e > this._l2 && V - 1 > n) {
920
920
  for (D = V - 1; D > n && (this._l2 = R[++n]) <= e; )
@@ -938,28 +938,28 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
938
938
  } else
939
939
  t = 0 > e ? 0 : e >= 1 ? V - 1 : V * e >> 0, T = (e - t * (1 / V)) * V;
940
940
  for (_ = 1 - T, n = this._props.length; --n > -1; )
941
- g = this._props[n], p = this._beziers[g][t], O = (T * T * p.da + 3 * _ * (T * p.ca + _ * p.ba)) * T + p.a, this._mod[g] && (O = this._mod[g](O, et)), tt[g] ? et[g](O) : et[g] = O;
941
+ g = this._props[n], p = this._beziers[g][t], S = (T * T * p.da + 3 * _ * (T * p.ca + _ * p.ba)) * T + p.a, this._mod[g] && (S = this._mod[g](S, et)), tt[g] ? et[g](S) : et[g] = S;
942
942
  if (this._autoRotate) {
943
943
  var at, K, gt, Yt, yt, At, Kt, te = this._autoRotate;
944
944
  for (n = te.length; --n > -1; )
945
- g = te[n][2], At = te[n][3] || 0, Kt = te[n][4] === !0 ? 1 : N, p = this._beziers[te[n][0]], at = this._beziers[te[n][1]], p && at && (p = p[t], at = at[t], K = p.a + (p.b - p.a) * T, Yt = p.b + (p.c - p.b) * T, K += (Yt - K) * T, Yt += (p.c + (p.d - p.c) * T - Yt) * T, gt = at.a + (at.b - at.a) * T, yt = at.b + (at.c - at.b) * T, gt += (yt - gt) * T, yt += (at.c + (at.d - at.c) * T - yt) * T, O = mt ? Math.atan2(yt - gt, Yt - K) * Kt + At : this._initialRotations[n], this._mod[g] && (O = this._mod[g](O, et)), tt[g] ? et[g](O) : et[g] = O);
945
+ g = te[n][2], At = te[n][3] || 0, Kt = te[n][4] === !0 ? 1 : N, p = this._beziers[te[n][0]], at = this._beziers[te[n][1]], p && at && (p = p[t], at = at[t], K = p.a + (p.b - p.a) * T, Yt = p.b + (p.c - p.b) * T, K += (Yt - K) * T, Yt += (p.c + (p.d - p.c) * T - Yt) * T, gt = at.a + (at.b - at.a) * T, yt = at.b + (at.c - at.b) * T, gt += (yt - gt) * T, yt += (at.c + (at.d - at.c) * T - yt) * T, S = dt ? Math.atan2(yt - gt, Yt - K) * Kt + At : this._initialRotations[n], this._mod[g] && (S = this._mod[g](S, et)), tt[g] ? et[g](S) : et[g] = S);
946
946
  }
947
947
  }
948
948
  }), P = v.prototype;
949
- v.bezierThrough = F, v.cubicToQuadratic = S, v._autoCSS = !0, v.quadraticToCubic = function(e, t, _) {
949
+ v.bezierThrough = F, v.cubicToQuadratic = O, v._autoCSS = !0, v.quadraticToCubic = function(e, t, _) {
950
950
  return new $(e, (2 * t + e) / 3, (2 * t + _) / 3, _);
951
951
  }, v._cssRegister = function() {
952
952
  var e = Y.CSSPlugin;
953
953
  if (e) {
954
954
  var t = e._internals, _ = t._parseToProxy, n = t._setPluginRatio, g = t.CSSPropTween;
955
955
  t._registerComplexSpecialProp("bezier", {
956
- parser: function(p, T, O, D, R, Z) {
956
+ parser: function(p, T, S, D, R, Z) {
957
957
  T instanceof Array && (T = { values: T }), Z = new v();
958
- var V, tt, et, mt = T.values, at = mt.length - 1, K = [], gt = {};
958
+ var V, tt, et, dt = T.values, at = dt.length - 1, K = [], gt = {};
959
959
  if (0 > at)
960
960
  return R;
961
961
  for (V = 0; at >= V; V++)
962
- et = _(p, mt[V], D, R, Z, at !== V), K[V] = et.end;
962
+ et = _(p, dt[V], D, R, Z, at !== V), K[V] = et.end;
963
963
  for (tt in T)
964
964
  gt[tt] = T[tt];
965
965
  return gt.values = K, R = new g(p, "bezier", 0, 0, et.pt, 2), R.data = et, R.plugin = Z, R.setRatio = n, gt.autoRotate === 0 && (gt.autoRotate = !0), !gt.autoRotate || gt.autoRotate instanceof Array || (V = gt.autoRotate === !0 ? 0 : Number(gt.autoRotate), gt.autoRotate = et.end.left != null ? [["left", "top", "rotation", V, !1]] : et.end.x != null ? [["x", "y", "rotation", V, !1]] : !1), gt.autoRotate && (D._transform || D._enableTransforms(!1), et.autoRotate = D._target._gsTransform, et.proxy.rotation = et.autoRotate.rotation || 0, D._overwriteProps.push("rotation")), Z._onInitTween(et.proxy, gt, D._tween), R;
@@ -986,7 +986,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
986
986
  function(N, J) {
987
987
  var Q, nt, E, Y, $ = function() {
988
988
  N.call(this, "css"), this._overwriteProps.length = 0, this.setRatio = $.prototype.setRatio;
989
- }, dt = Dt._gsDefine.globals, S = {}, M = $.prototype = new N("css");
989
+ }, mt = Dt._gsDefine.globals, O = {}, M = $.prototype = new N("css");
990
990
  M.constructor = $, $.version = "2.0.2", $.API = 2, $.defaultTransformPerspective = 0, $.defaultSkewType = "compensated", $.defaultSmoothOrigin = !0, M = "px", $.suffixMap = {
991
991
  top: M,
992
992
  right: M,
@@ -1000,15 +1000,15 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
1000
1000
  perspective: M,
1001
1001
  lineHeight: ""
1002
1002
  };
1003
- var b, F, G, st, L, v, P, e, t = /(?:\-|\.|\b)(\d|\.|e\-)+/g, _ = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, n = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, g = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, p = /(?:\d|\-|\+|=|#|\.)*/g, T = /opacity *= *([^)]*)/i, O = /opacity:([^;]*)/i, D = /alpha\(opacity *=.+?\)/i, R = /^(rgb|hsl)/, Z = /([A-Z])/g, V = /-([a-z])/gi, tt = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, et = function(i, o) {
1003
+ var b, F, G, st, L, v, P, e, t = /(?:\-|\.|\b)(\d|\.|e\-)+/g, _ = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, n = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, g = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, p = /(?:\d|\-|\+|=|#|\.)*/g, T = /opacity *= *([^)]*)/i, S = /opacity:([^;]*)/i, D = /alpha\(opacity *=.+?\)/i, R = /^(rgb|hsl)/, Z = /([A-Z])/g, V = /-([a-z])/gi, tt = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, et = function(i, o) {
1004
1004
  return o.toUpperCase();
1005
- }, mt = /(?:Left|Right|Width)/i, at = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, K = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i, gt = /,(?=[^\)]*(?:\(|$))/gi, Yt = /[\s,\(]/i, yt = Math.PI / 180, At = 180 / Math.PI, Kt = {}, te = { style: {} }, bt = Dt.document || {
1005
+ }, dt = /(?:Left|Right|Width)/i, at = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, K = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i, gt = /,(?=[^\)]*(?:\(|$))/gi, Yt = /[\s,\(]/i, yt = Math.PI / 180, At = 180 / Math.PI, Kt = {}, te = { style: {} }, bt = Dt.document || {
1006
1006
  createElement: function() {
1007
1007
  return te;
1008
1008
  }
1009
1009
  }, ae = function(i, o) {
1010
1010
  return bt.createElementNS ? bt.createElementNS(o || "http://www.w3.org/1999/xhtml", i) : bt.createElement(i);
1011
- }, $t = ae("div"), le = ae("img"), Et = $._internals = { _specialProps: S }, zt = (Dt.navigator || {}).userAgent || "", ie = function() {
1011
+ }, $t = ae("div"), le = ae("img"), Et = $._internals = { _specialProps: O }, zt = (Dt.navigator || {}).userAgent || "", ie = function() {
1012
1012
  var i = zt.indexOf("Android"), o = ae("a");
1013
1013
  return G = zt.indexOf("Safari") !== -1 && zt.indexOf("Chrome") === -1 && (i === -1 || parseFloat(zt.substr(i + 8, 2)) > 3), L = G && parseFloat(zt.substr(zt.indexOf("Version/") + 8, 2)) < 6, st = zt.indexOf("Firefox") !== -1, (/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(zt) || /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(zt)) && (v = parseFloat(RegExp.$1)), o ? (o.style.cssText = "top:1px;opacity:.55;", /^0.55/.test(o.style.opacity)) : !1;
1014
1014
  }(), _e = function(i) {
@@ -1034,7 +1034,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
1034
1034
  return l;
1035
1035
  if (a === "auto" || !l)
1036
1036
  return 0;
1037
- var d, h, y, k = mt.test(o), x = i, m = $t.style, I = 0 > l, B = l === 1;
1037
+ var d, h, y, k = dt.test(o), x = i, m = $t.style, I = 0 > l, B = l === 1;
1038
1038
  if (I && (l = -l), B && (l *= 100), o !== "lineHeight" || a)
1039
1039
  if (a === "%" && o.indexOf("border") !== -1)
1040
1040
  d = l / 100 * (k ? i.clientWidth : i.clientHeight);
@@ -1326,19 +1326,19 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
1326
1326
  ), h.xfirst.xs0 = 0), h) : (h.data = { s: o + l }, h.rxp = {}, h.s = o, h.c = l, h.r = s, h)) : (h["xs" + y] += o + (a || ""), h);
1327
1327
  };
1328
1328
  var De = function(i, o) {
1329
- o = o || {}, this.p = o.prefix && re(i) || i, S[i] = S[this.p] = this, this.format = o.formatter || Pt(o.defaultValue, o.color, o.collapsible, o.multi), o.parser && (this.parse = o.parser), this.clrs = o.color, this.multi = o.multi, this.keyword = o.keyword, this.dflt = o.defaultValue, this.pr = o.priority || 0;
1329
+ o = o || {}, this.p = o.prefix && re(i) || i, O[i] = O[this.p] = this, this.format = o.formatter || Pt(o.defaultValue, o.color, o.collapsible, o.multi), o.parser && (this.parse = o.parser), this.clrs = o.color, this.multi = o.multi, this.keyword = o.keyword, this.dflt = o.defaultValue, this.pr = o.priority || 0;
1330
1330
  }, Ct = Et._registerComplexSpecialProp = function(i, o, l) {
1331
1331
  typeof o != "object" && (o = { parser: l });
1332
1332
  var a, s = i.split(","), d = o.defaultValue;
1333
1333
  for (l = l || [d], a = 0; a < s.length; a++)
1334
1334
  o.prefix = a === 0 && o.prefix, o.defaultValue = l[a] || d, new De(s[a], o);
1335
1335
  }, Ne = Et._registerPluginProp = function(i) {
1336
- if (!S[i]) {
1336
+ if (!O[i]) {
1337
1337
  var o = i.charAt(0).toUpperCase() + i.substr(1) + "Plugin";
1338
1338
  Ct(i, {
1339
1339
  parser: function(l, a, s, d, h, y, k) {
1340
- var x = dt.com.greensock.plugins[o];
1341
- return x ? (x._cssRegister(), S[s].parse(l, a, s, d, h, y, k)) : (ce("Error: " + o + " js file not loaded."), h);
1340
+ var x = mt.com.greensock.plugins[o];
1341
+ return x ? (x._cssRegister(), O[s].parse(l, a, s, d, h, y, k)) : (ce("Error: " + o + " js file not loaded."), h);
1342
1342
  }
1343
1343
  });
1344
1344
  }
@@ -1735,12 +1735,12 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
1735
1735
  });
1736
1736
  var We = function(i) {
1737
1737
  if ((i === 1 || i === 0) && this.data._totalTime === this.data._totalDuration && this.data.data !== "isFromStart") {
1738
- var o, l, a, s, d, h = this.t.style, y = S.transform.parse;
1738
+ var o, l, a, s, d, h = this.t.style, y = O.transform.parse;
1739
1739
  if (this.e === "all")
1740
1740
  h.cssText = "", s = !0;
1741
1741
  else
1742
1742
  for (o = this.e.split(" ").join("").split(","), a = o.length; --a > -1; )
1743
- l = o[a], S[l] && (S[l].parse === y ? s = !0 : l = l === "transformOrigin" ? me : S[l].p), ge(h, l);
1743
+ l = o[a], O[l] && (O[l].parse === y ? s = !0 : l = l === "transformOrigin" ? me : O[l].p), ge(h, l);
1744
1744
  s && (ge(h, Xt), d = this.t._gsTransform, d && (d.svg && (this.t.removeAttribute("data-svg-origin"), this.t.removeAttribute("transform")), delete this.t._gsTransform));
1745
1745
  }
1746
1746
  };
@@ -1755,7 +1755,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
1755
1755
  return !1;
1756
1756
  this._target = P = i, this._tween = l, this._vars = o, e = a, b = o.autoRound, Q = !1, nt = o.suffixMap || $.suffixMap, E = jt(i, ""), Y = this._overwriteProps;
1757
1757
  var s, d, h, y, k, x, m, I, B, z = i.style;
1758
- if (F && z.zIndex === "" && (s = wt(i, "zIndex", E), (s === "auto" || s === "") && this._addLazySet(z, "zIndex", 0)), typeof o == "string" && (y = z.cssText, s = ne(i, E), z.cssText = y + ";" + o, s = Wt(i, s, ne(i)).difs, !ie && O.test(o) && (s.opacity = parseFloat(RegExp.$1)), o = s, z.cssText = y), o.className ? this._firstPT = d = S.className.parse(
1758
+ if (F && z.zIndex === "" && (s = wt(i, "zIndex", E), (s === "auto" || s === "") && this._addLazySet(z, "zIndex", 0)), typeof o == "string" && (y = z.cssText, s = ne(i, E), z.cssText = y + ";" + o, s = Wt(i, s, ne(i)).difs, !ie && S.test(o) && (s.opacity = parseFloat(RegExp.$1)), o = s, z.cssText = y), o.className ? this._firstPT = d = O.className.parse(
1759
1759
  i,
1760
1760
  o.className,
1761
1761
  "className",
@@ -1784,7 +1784,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
1784
1784
  }, M.parse = function(i, o, l, a) {
1785
1785
  var s, d, h, y, k, x, m, I, B, z, q = i.style;
1786
1786
  for (s in o) {
1787
- if (x = o[s], typeof x == "function" && (x = x(e, P)), d = S[s])
1787
+ if (x = o[s], typeof x == "function" && (x = x(e, P)), d = O[s])
1788
1788
  l = d.parse(i, x, s, this, l, a, o);
1789
1789
  else {
1790
1790
  if (s.substr(0, 2) === "--") {
@@ -1946,19 +1946,19 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
1946
1946
  E.f || E.blob || (E.m = Y || Math.round), E = E._next;
1947
1947
  }, nt = N.prototype;
1948
1948
  nt._onInitAllProps = function() {
1949
- var E, Y, $, dt, S = this._tween, M = S.vars.roundProps, b = {}, F = S._propLookup.roundProps;
1949
+ var E, Y, $, mt, O = this._tween, M = O.vars.roundProps, b = {}, F = O._propLookup.roundProps;
1950
1950
  if (typeof M != "object" || M.push)
1951
1951
  for (typeof M == "string" && (M = M.split(",")), $ = M.length; --$ > -1; )
1952
1952
  b[M[$]] = Math.round;
1953
1953
  else
1954
- for (dt in M)
1955
- b[dt] = J(M[dt]);
1956
- for (dt in b)
1957
- for (E = S._firstPT; E; )
1958
- Y = E._next, E.pg ? E.t._mod(b) : E.n === dt && (E.f === 2 && E.t ? Q(E.t._firstPT, b[dt]) : (this._add(E.t, dt, E.s, E.c, b[dt]), Y && (Y._prev = E._prev), E._prev ? E._prev._next = Y : S._firstPT === E && (S._firstPT = Y), E._next = E._prev = null, S._propLookup[dt] = F)), E = Y;
1954
+ for (mt in M)
1955
+ b[mt] = J(M[mt]);
1956
+ for (mt in b)
1957
+ for (E = O._firstPT; E; )
1958
+ Y = E._next, E.pg ? E.t._mod(b) : E.n === mt && (E.f === 2 && E.t ? Q(E.t._firstPT, b[mt]) : (this._add(E.t, mt, E.s, E.c, b[mt]), Y && (Y._prev = E._prev), E._prev ? E._prev._next = Y : O._firstPT === E && (O._firstPT = Y), E._next = E._prev = null, O._propLookup[mt] = F)), E = Y;
1959
1959
  return !1;
1960
- }, nt._add = function(E, Y, $, dt, S) {
1961
- this._addTween(E, Y, $, $ + dt, Y, S || Math.round), this._overwriteProps.push(Y);
1960
+ }, nt._add = function(E, Y, $, mt, O) {
1961
+ this._addTween(E, Y, $, $ + mt, Y, O || Math.round), this._overwriteProps.push(Y);
1962
1962
  };
1963
1963
  }(), function() {
1964
1964
  Dt._gsDefine.plugin({
@@ -1988,11 +1988,11 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
1988
1988
  API: 2,
1989
1989
  init: function(N, J, Q, nt) {
1990
1990
  typeof J != "object" && (J = { rotation: J }), this.finals = {};
1991
- var E, Y, $, dt, S, M, b = J.useRadians === !0 ? 2 * Math.PI : 360, F = 1e-6;
1991
+ var E, Y, $, mt, O, M, b = J.useRadians === !0 ? 2 * Math.PI : 360, F = 1e-6;
1992
1992
  for (E in J)
1993
- E !== "useRadians" && (dt = J[E], typeof dt == "function" && (dt = dt(nt, N)), M = (dt + "").split("_"), Y = M[0], $ = parseFloat(
1993
+ E !== "useRadians" && (mt = J[E], typeof mt == "function" && (mt = mt(nt, N)), M = (mt + "").split("_"), Y = M[0], $ = parseFloat(
1994
1994
  typeof N[E] != "function" ? N[E] : N[E.indexOf("set") || typeof N["get" + E.substr(3)] != "function" ? E : "get" + E.substr(3)]()
1995
- ), dt = this.finals[E] = typeof Y == "string" && Y.charAt(1) === "=" ? $ + parseInt(Y.charAt(0) + "1", 10) * Number(Y.substr(2)) : Number(Y) || 0, S = dt - $, M.length && (Y = M.join("_"), Y.indexOf("short") !== -1 && (S %= b, S !== S % (b / 2) && (S = 0 > S ? S + b : S - b)), Y.indexOf("_cw") !== -1 && 0 > S ? S = (S + 9999999999 * b) % b - (S / b | 0) * b : Y.indexOf("ccw") !== -1 && S > 0 && (S = (S - 9999999999 * b) % b - (S / b | 0) * b)), (S > F || -F > S) && (this._addTween(N, E, $, $ + S, E), this._overwriteProps.push(E)));
1995
+ ), mt = this.finals[E] = typeof Y == "string" && Y.charAt(1) === "=" ? $ + parseInt(Y.charAt(0) + "1", 10) * Number(Y.substr(2)) : Number(Y) || 0, O = mt - $, M.length && (Y = M.join("_"), Y.indexOf("short") !== -1 && (O %= b, O !== O % (b / 2) && (O = 0 > O ? O + b : O - b)), Y.indexOf("_cw") !== -1 && 0 > O ? O = (O + 9999999999 * b) % b - (O / b | 0) * b : Y.indexOf("ccw") !== -1 && O > 0 && (O = (O - 9999999999 * b) % b - (O / b | 0) * b)), (O > F || -F > O) && (this._addTween(N, E, $, $ + O, E), this._overwriteProps.push(E)));
1996
1996
  return !0;
1997
1997
  },
1998
1998
  set: function(N) {
@@ -2007,7 +2007,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2007
2007
  "easing.Back",
2008
2008
  ["easing.Ease"],
2009
2009
  function(N) {
2010
- var J, Q, nt, E, Y = Dt.GreenSockGlobals || Dt, $ = Y.com.greensock, dt = 2 * Math.PI, S = Math.PI / 2, M = $._class, b = function(t, _) {
2010
+ var J, Q, nt, E, Y = Dt.GreenSockGlobals || Dt, $ = Y.com.greensock, mt = 2 * Math.PI, O = Math.PI / 2, M = $._class, b = function(t, _) {
2011
2011
  var n = M("easing." + t, function() {
2012
2012
  }, !0), g = n.prototype = new N();
2013
2013
  return g.constructor = n, g.getRatio = _, n;
@@ -2079,13 +2079,13 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2079
2079
  "easing.RoughEase",
2080
2080
  function(t) {
2081
2081
  t = t || {};
2082
- for (var _, n, g, p, T, O, D = t.taper || "none", R = [], Z = 0, V = 0 | (t.points || 20), tt = V, et = t.randomize !== !1, mt = t.clamp === !0, at = t.template instanceof N ? t.template : null, K = typeof t.strength == "number" ? 0.4 * t.strength : 0.4; --tt > -1; )
2083
- _ = et ? Math.random() : 1 / V * tt, n = at ? at.getRatio(_) : _, D === "none" ? g = K : D === "out" ? (p = 1 - _, g = p * p * K) : D === "in" ? g = _ * _ * K : 0.5 > _ ? (p = 2 * _, g = p * p * 0.5 * K) : (p = 2 * (1 - _), g = p * p * 0.5 * K), et ? n += Math.random() * g - 0.5 * g : tt % 2 ? n += 0.5 * g : n -= 0.5 * g, mt && (n > 1 ? n = 1 : 0 > n && (n = 0)), R[Z++] = { x: _, y: n };
2082
+ for (var _, n, g, p, T, S, D = t.taper || "none", R = [], Z = 0, V = 0 | (t.points || 20), tt = V, et = t.randomize !== !1, dt = t.clamp === !0, at = t.template instanceof N ? t.template : null, K = typeof t.strength == "number" ? 0.4 * t.strength : 0.4; --tt > -1; )
2083
+ _ = et ? Math.random() : 1 / V * tt, n = at ? at.getRatio(_) : _, D === "none" ? g = K : D === "out" ? (p = 1 - _, g = p * p * K) : D === "in" ? g = _ * _ * K : 0.5 > _ ? (p = 2 * _, g = p * p * 0.5 * K) : (p = 2 * (1 - _), g = p * p * 0.5 * K), et ? n += Math.random() * g - 0.5 * g : tt % 2 ? n += 0.5 * g : n -= 0.5 * g, dt && (n > 1 ? n = 1 : 0 > n && (n = 0)), R[Z++] = { x: _, y: n };
2084
2084
  for (R.sort(function(gt, Yt) {
2085
2085
  return gt.x - Yt.x;
2086
- }), O = new st(1, 1, null), tt = V; --tt > -1; )
2087
- T = R[tt], O = new st(T.x, T.y, O);
2088
- this._prev = new st(0, 0, O.t !== 0 ? O : O.next);
2086
+ }), S = new st(1, 1, null), tt = V; --tt > -1; )
2087
+ T = R[tt], S = new st(T.x, T.y, S);
2088
+ this._prev = new st(0, 0, S.t !== 0 ? S : S.next);
2089
2089
  },
2090
2090
  !0
2091
2091
  ), e = nt.prototype = new N(), e.constructor = nt, e.getRatio = function(t) {
@@ -2126,13 +2126,13 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2126
2126
  ), E = function(t, _, n) {
2127
2127
  var g = M(
2128
2128
  "easing." + t,
2129
- function(T, O) {
2130
- this._p1 = T >= 1 ? T : 1, this._p2 = (O || n) / (1 > T ? T : 1), this._p3 = this._p2 / dt * (Math.asin(1 / this._p1) || 0), this._p2 = dt / this._p2;
2129
+ function(T, S) {
2130
+ this._p1 = T >= 1 ? T : 1, this._p2 = (S || n) / (1 > T ? T : 1), this._p3 = this._p2 / mt * (Math.asin(1 / this._p1) || 0), this._p2 = mt / this._p2;
2131
2131
  },
2132
2132
  !0
2133
2133
  ), p = g.prototype = new N();
2134
- return p.constructor = g, p.getRatio = _, p.config = function(T, O) {
2135
- return new g(T, O);
2134
+ return p.constructor = g, p.getRatio = _, p.config = function(T, S) {
2135
+ return new g(T, S);
2136
2136
  }, g;
2137
2137
  }, G(
2138
2138
  "Elastic",
@@ -2171,10 +2171,10 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2171
2171
  ), G(
2172
2172
  "Sine",
2173
2173
  b("SineOut", function(t) {
2174
- return Math.sin(t * S);
2174
+ return Math.sin(t * O);
2175
2175
  }),
2176
2176
  b("SineIn", function(t) {
2177
- return -Math.cos(t * S) + 1;
2177
+ return -Math.cos(t * O) + 1;
2178
2178
  }),
2179
2179
  b("SineInOut", function(t) {
2180
2180
  return -0.5 * (Math.cos(Math.PI * t) - 1);
@@ -2195,7 +2195,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2195
2195
  var Q = {}, nt = N.document, E = N.GreenSockGlobals = N.GreenSockGlobals || N, Y = E[J];
2196
2196
  if (Y)
2197
2197
  return typeof module < "u" && module.exports && (module.exports = Y), Y;
2198
- var $, dt, S, M, b, F = function(r) {
2198
+ var $, mt, O, M, b, F = function(r) {
2199
2199
  var u, f = r.split("."), c = E;
2200
2200
  for (u = 0; u < f.length; u++)
2201
2201
  c[f[u]] = c = c[f[u]] || {};
@@ -2258,36 +2258,36 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2258
2258
  this._func = r, this._type = f || 0, this._power = c || 0, this._params = u ? g.concat(u) : g;
2259
2259
  },
2260
2260
  !0
2261
- ), T = p.map = {}, O = p.register = function(r, u, f, c) {
2261
+ ), T = p.map = {}, S = p.register = function(r, u, f, c) {
2262
2262
  for (var w, C, j, A, ft = u.split(","), ut = ft.length, W = (f || "easeIn,easeOut,easeInOut").split(","); --ut > -1; )
2263
2263
  for (C = ft[ut], w = c ? n("easing." + C, null, !0) : G.easing[C] || {}, j = W.length; --j > -1; )
2264
2264
  A = W[j], T[C + "." + A] = T[A + C] = w[A] = r.getRatio ? r : r[A] || new r();
2265
2265
  };
2266
- for (S = p.prototype, S._calcEnd = !1, S.getRatio = function(r) {
2266
+ for (O = p.prototype, O._calcEnd = !1, O.getRatio = function(r) {
2267
2267
  if (this._func)
2268
2268
  return this._params[0] = r, this._func.apply(null, this._params);
2269
2269
  var u = this._type, f = this._power, c = u === 1 ? 1 - r : u === 2 ? r : 0.5 > r ? 2 * r : 2 * (1 - r);
2270
2270
  return f === 1 ? c *= c : f === 2 ? c *= c * c : f === 3 ? c *= c * c * c : f === 4 && (c *= c * c * c * c), u === 1 ? 1 - c : u === 2 ? c : 0.5 > r ? c / 2 : 1 - c / 2;
2271
- }, $ = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"], dt = $.length; --dt > -1; )
2272
- S = $[dt] + ",Power" + dt, O(new p(null, null, 1, dt), S, "easeOut", !0), O(new p(null, null, 2, dt), S, "easeIn" + (dt === 0 ? ",easeNone" : "")), O(new p(null, null, 3, dt), S, "easeInOut");
2271
+ }, $ = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"], mt = $.length; --mt > -1; )
2272
+ O = $[mt] + ",Power" + mt, S(new p(null, null, 1, mt), O, "easeOut", !0), S(new p(null, null, 2, mt), O, "easeIn" + (mt === 0 ? ",easeNone" : "")), S(new p(null, null, 3, mt), O, "easeInOut");
2273
2273
  T.linear = G.easing.Linear.easeIn, T.swing = G.easing.Quad.easeInOut;
2274
2274
  var D = n("events.EventDispatcher", function(r) {
2275
2275
  this._listeners = {}, this._eventTarget = r || this;
2276
2276
  });
2277
- S = D.prototype, S.addEventListener = function(r, u, f, c, w) {
2277
+ O = D.prototype, O.addEventListener = function(r, u, f, c, w) {
2278
2278
  w = w || 0;
2279
2279
  var C, j, A = this._listeners[r], ft = 0;
2280
2280
  for (this !== M || b || M.wake(), A == null && (this._listeners[r] = A = []), j = A.length; --j > -1; )
2281
2281
  C = A[j], C.c === u && C.s === f ? A.splice(j, 1) : ft === 0 && C.pr < w && (ft = j + 1);
2282
2282
  A.splice(ft, 0, { c: u, s: f, up: c, pr: w });
2283
- }, S.removeEventListener = function(r, u) {
2283
+ }, O.removeEventListener = function(r, u) {
2284
2284
  var f, c = this._listeners[r];
2285
2285
  if (c) {
2286
2286
  for (f = c.length; --f > -1; )
2287
2287
  if (c[f].c === u)
2288
2288
  return void c.splice(f, 1);
2289
2289
  }
2290
- }, S.dispatchEvent = function(r) {
2290
+ }, O.dispatchEvent = function(r) {
2291
2291
  var u, f, c, w = this._listeners[r];
2292
2292
  if (w)
2293
2293
  for (u = w.length, u > 1 && (w = w.slice(0)), f = this._eventTarget; --u > -1; )
@@ -2296,8 +2296,8 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2296
2296
  var R = N.requestAnimationFrame, Z = N.cancelAnimationFrame, V = Date.now || function() {
2297
2297
  return (/* @__PURE__ */ new Date()).getTime();
2298
2298
  }, tt = V();
2299
- for ($ = ["ms", "moz", "webkit", "o"], dt = $.length; --dt > -1 && !R; )
2300
- R = N[$[dt] + "RequestAnimationFrame"], Z = N[$[dt] + "CancelAnimationFrame"] || N[$[dt] + "CancelRequestAnimationFrame"];
2299
+ for ($ = ["ms", "moz", "webkit", "o"], mt = $.length; --mt > -1 && !R; )
2300
+ R = N[$[mt] + "RequestAnimationFrame"], Z = N[$[mt] + "CancelAnimationFrame"] || N[$[mt] + "CancelRequestAnimationFrame"];
2301
2301
  n("Ticker", function(r, u) {
2302
2302
  var f, c, w, C, j, A = this, ft = V(), ut = u !== !1 && R ? "auto" : !1, W = 500, pt = 33, Pt = "tick", Ot = function(vt) {
2303
2303
  var kt, he, se = V() - tt;
@@ -2320,7 +2320,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2320
2320
  }, A.fps(r), setTimeout(function() {
2321
2321
  ut === "auto" && A.frame < 5 && (nt || {}).visibilityState !== "hidden" && A.useRAF(!1);
2322
2322
  }, 1500);
2323
- }), S = G.Ticker.prototype = new G.events.EventDispatcher(), S.constructor = G.Ticker;
2323
+ }), O = G.Ticker.prototype = new G.events.EventDispatcher(), O.constructor = G.Ticker;
2324
2324
  var et = n("core.Animation", function(r, u) {
2325
2325
  if (this.vars = u = u || {}, this._duration = this._totalDuration = r || 0, this._delay = Number(u.delay) || 0, this._timeScale = 1, this._active = u.immediateRender === !0, this.data = u.data, this._reversed = u.reversed === !0, Gt) {
2326
2326
  b || M.wake();
@@ -2328,45 +2328,45 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2328
2328
  f.add(this, f._time), this.vars.paused && this.paused(!0);
2329
2329
  }
2330
2330
  });
2331
- M = et.ticker = new G.Ticker(), S = et.prototype, S._dirty = S._gc = S._initted = S._paused = !1, S._totalTime = S._time = 0, S._rawPrevTime = -1, S._next = S._last = S._onUpdate = S._timeline = S.timeline = null, S._paused = !1;
2332
- var mt = function() {
2331
+ M = et.ticker = new G.Ticker(), O = et.prototype, O._dirty = O._gc = O._initted = O._paused = !1, O._totalTime = O._time = 0, O._rawPrevTime = -1, O._next = O._last = O._onUpdate = O._timeline = O.timeline = null, O._paused = !1;
2332
+ var dt = function() {
2333
2333
  b && V() - tt > 2e3 && ((nt || {}).visibilityState !== "hidden" || !M.lagSmoothing()) && M.wake();
2334
- var r = setTimeout(mt, 2e3);
2334
+ var r = setTimeout(dt, 2e3);
2335
2335
  r.unref && r.unref();
2336
2336
  };
2337
- mt(), S.play = function(r, u) {
2337
+ dt(), O.play = function(r, u) {
2338
2338
  return r != null && this.seek(r, u), this.reversed(!1).paused(!1);
2339
- }, S.pause = function(r, u) {
2339
+ }, O.pause = function(r, u) {
2340
2340
  return r != null && this.seek(r, u), this.paused(!0);
2341
- }, S.resume = function(r, u) {
2341
+ }, O.resume = function(r, u) {
2342
2342
  return r != null && this.seek(r, u), this.paused(!1);
2343
- }, S.seek = function(r, u) {
2343
+ }, O.seek = function(r, u) {
2344
2344
  return this.totalTime(Number(r), u !== !1);
2345
- }, S.restart = function(r, u) {
2345
+ }, O.restart = function(r, u) {
2346
2346
  return this.reversed(!1).paused(!1).totalTime(r ? -this._delay : 0, u !== !1, !0);
2347
- }, S.reverse = function(r, u) {
2347
+ }, O.reverse = function(r, u) {
2348
2348
  return r != null && this.seek(r || this.totalDuration(), u), this.reversed(!0).paused(!1);
2349
- }, S.render = function(r, u, f) {
2350
- }, S.invalidate = function() {
2349
+ }, O.render = function(r, u, f) {
2350
+ }, O.invalidate = function() {
2351
2351
  return this._time = this._totalTime = 0, this._initted = this._gc = !1, this._rawPrevTime = -1, (this._gc || !this.timeline) && this._enabled(!0), this;
2352
- }, S.isActive = function() {
2352
+ }, O.isActive = function() {
2353
2353
  var r, u = this._timeline, f = this._startTime;
2354
2354
  return !u || !this._gc && !this._paused && u.isActive() && (r = u.rawTime(!0)) >= f && r < f + this.totalDuration() / this._timeScale - 1e-7;
2355
- }, S._enabled = function(r, u) {
2355
+ }, O._enabled = function(r, u) {
2356
2356
  return b || M.wake(), this._gc = !r, this._active = this.isActive(), u !== !0 && (r && !this.timeline ? this._timeline.add(this, this._startTime - this._delay) : !r && this.timeline && this._timeline._remove(this, !0)), !1;
2357
- }, S._kill = function(r, u) {
2357
+ }, O._kill = function(r, u) {
2358
2358
  return this._enabled(!1, !1);
2359
- }, S.kill = function(r, u) {
2359
+ }, O.kill = function(r, u) {
2360
2360
  return this._kill(r, u), this;
2361
- }, S._uncache = function(r) {
2361
+ }, O._uncache = function(r) {
2362
2362
  for (var u = r ? this : this.timeline; u; )
2363
2363
  u._dirty = !0, u = u.timeline;
2364
2364
  return this;
2365
- }, S._swapSelfInParams = function(r) {
2365
+ }, O._swapSelfInParams = function(r) {
2366
2366
  for (var u = r.length, f = r.concat(); --u > -1; )
2367
2367
  r[u] === "{self}" && (f[u] = this);
2368
2368
  return f;
2369
- }, S._callback = function(r) {
2369
+ }, O._callback = function(r) {
2370
2370
  var u = this.vars, f = u[r], c = u[r + "Params"], w = u[r + "Scope"] || u.callbackScope || this, C = c ? c.length : 0;
2371
2371
  switch (C) {
2372
2372
  case 0:
@@ -2381,7 +2381,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2381
2381
  default:
2382
2382
  f.apply(w, c);
2383
2383
  }
2384
- }, S.eventCallback = function(r, u, f, c) {
2384
+ }, O.eventCallback = function(r, u, f, c) {
2385
2385
  if ((r || "").substr(0, 2) === "on") {
2386
2386
  var w = this.vars;
2387
2387
  if (arguments.length === 1)
@@ -2389,15 +2389,15 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2389
2389
  u == null ? delete w[r] : (w[r] = u, w[r + "Params"] = P(f) && f.join("").indexOf("{self}") !== -1 ? this._swapSelfInParams(f) : f, w[r + "Scope"] = c), r === "onUpdate" && (this._onUpdate = u);
2390
2390
  }
2391
2391
  return this;
2392
- }, S.delay = function(r) {
2392
+ }, O.delay = function(r) {
2393
2393
  return arguments.length ? (this._timeline.smoothChildTiming && this.startTime(this._startTime + r - this._delay), this._delay = r, this) : this._delay;
2394
- }, S.duration = function(r) {
2394
+ }, O.duration = function(r) {
2395
2395
  return arguments.length ? (this._duration = this._totalDuration = r, this._uncache(!0), this._timeline.smoothChildTiming && this._time > 0 && this._time < this._duration && r !== 0 && this.totalTime(this._totalTime * (r / this._duration), !0), this) : (this._dirty = !1, this._duration);
2396
- }, S.totalDuration = function(r) {
2396
+ }, O.totalDuration = function(r) {
2397
2397
  return this._dirty = !1, arguments.length ? this.duration(r) : this._totalDuration;
2398
- }, S.time = function(r, u) {
2398
+ }, O.time = function(r, u) {
2399
2399
  return arguments.length ? (this._dirty && this.totalDuration(), this.totalTime(r > this._duration ? this._duration : r, u)) : this._time;
2400
- }, S.totalTime = function(r, u, f) {
2400
+ }, O.totalTime = function(r, u, f) {
2401
2401
  if (b || M.wake(), !arguments.length)
2402
2402
  return this._totalTime;
2403
2403
  if (this._timeline) {
@@ -2411,26 +2411,26 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2411
2411
  this._gc && this._enabled(!0, !1), (this._totalTime !== r || this._duration === 0) && (yt.length && jt(), this.render(r, u, !1), yt.length && jt());
2412
2412
  }
2413
2413
  return this;
2414
- }, S.progress = S.totalProgress = function(r, u) {
2414
+ }, O.progress = O.totalProgress = function(r, u) {
2415
2415
  var f = this.duration();
2416
2416
  return arguments.length ? this.totalTime(f * r, u) : f ? this._time / f : this.ratio;
2417
- }, S.startTime = function(r) {
2417
+ }, O.startTime = function(r) {
2418
2418
  return arguments.length ? (r !== this._startTime && (this._startTime = r, this.timeline && this.timeline._sortChildren && this.timeline.add(this, r - this._delay)), this) : this._startTime;
2419
- }, S.endTime = function(r) {
2419
+ }, O.endTime = function(r) {
2420
2420
  return this._startTime + (r != 0 ? this.totalDuration() : this.duration()) / this._timeScale;
2421
- }, S.timeScale = function(r) {
2421
+ }, O.timeScale = function(r) {
2422
2422
  if (!arguments.length)
2423
2423
  return this._timeScale;
2424
2424
  var u, f;
2425
2425
  for (r = r || st, this._timeline && this._timeline.smoothChildTiming && (u = this._pauseTime, f = u || u === 0 ? u : this._timeline.totalTime(), this._startTime = f - (f - this._startTime) * this._timeScale / r), this._timeScale = r, f = this.timeline; f && f.timeline; )
2426
2426
  f._dirty = !0, f.totalDuration(), f = f.timeline;
2427
2427
  return this;
2428
- }, S.reversed = function(r) {
2428
+ }, O.reversed = function(r) {
2429
2429
  return arguments.length ? (r != this._reversed && (this._reversed = r, this.totalTime(
2430
2430
  this._timeline && !this._timeline.smoothChildTiming ? this.totalDuration() - this._totalTime : this._totalTime,
2431
2431
  !0
2432
2432
  )), this) : this._reversed;
2433
- }, S.paused = function(r) {
2433
+ }, O.paused = function(r) {
2434
2434
  if (!arguments.length)
2435
2435
  return this._paused;
2436
2436
  var u, f, c = this._timeline;
@@ -2439,15 +2439,15 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2439
2439
  var at = n("core.SimpleTimeline", function(r) {
2440
2440
  et.call(this, 0, r), this.autoRemoveChildren = this.smoothChildTiming = !0;
2441
2441
  });
2442
- S = at.prototype = new et(), S.constructor = at, S.kill()._gc = !1, S._first = S._last = S._recent = null, S._sortChildren = !1, S.add = S.insert = function(r, u, f, c) {
2442
+ O = at.prototype = new et(), O.constructor = at, O.kill()._gc = !1, O._first = O._last = O._recent = null, O._sortChildren = !1, O.add = O.insert = function(r, u, f, c) {
2443
2443
  var w, C;
2444
2444
  if (r._startTime = Number(u || 0) + r._delay, r._paused && this !== r._timeline && (r._pauseTime = this.rawTime() - (r._timeline.rawTime() - r._pauseTime)), r.timeline && r.timeline._remove(r, !0), r.timeline = r._timeline = this, r._gc && r._enabled(!0, !0), w = this._last, this._sortChildren)
2445
2445
  for (C = r._startTime; w && w._startTime > C; )
2446
2446
  w = w._prev;
2447
2447
  return w ? (r._next = w._next, w._next = r) : (r._next = this._first, this._first = r), r._next ? r._next._prev = r : this._last = r, r._prev = w, this._recent = r, this._timeline && this._uncache(!0), this;
2448
- }, S._remove = function(r, u) {
2448
+ }, O._remove = function(r, u) {
2449
2449
  return r.timeline === this && (u || r._enabled(!1, !0), r._prev ? r._prev._next = r._next : this._first === r && (this._first = r._next), r._next ? r._next._prev = r._prev : this._last === r && (this._last = r._prev), r._next = r._prev = r.timeline = null, r === this._recent && (this._recent = this._last), this._timeline && this._uncache(!0)), this;
2450
- }, S.render = function(r, u, f) {
2450
+ }, O.render = function(r, u, f) {
2451
2451
  var c, w = this._first;
2452
2452
  for (this._totalTime = this._time = this._rawPrevTime = r; w; )
2453
2453
  c = w._next, (w._active || r >= w._startTime && !w._paused && !w._gc) && (w._reversed ? w.render(
@@ -2455,7 +2455,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2455
2455
  u,
2456
2456
  f
2457
2457
  ) : w.render((r - w._startTime) * w._timeScale, u, f)), w = c;
2458
- }, S.rawTime = function() {
2458
+ }, O.rawTime = function() {
2459
2459
  return b || M.wake(), this._totalTime;
2460
2460
  };
2461
2461
  var K = n(
@@ -2481,7 +2481,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2481
2481
  _e[f] || f in u && f !== "transform" && f !== "x" && f !== "y" && f !== "width" && f !== "height" && f !== "className" && f !== "border" || !(!Et[f] || Et[f] && Et[f]._autoCSS) || (c[f] = r[f], delete r[f]);
2482
2482
  r.css = c;
2483
2483
  };
2484
- S = K.prototype = new et(), S.constructor = K, S.kill()._gc = !1, S.ratio = 0, S._firstPT = S._targets = S._overwrittenProps = S._startAt = null, S._notifyPluginsOfEnabled = S._lazy = !1, K.version = "2.0.2", K.defaultEase = S._ease = new p(null, null, 1, 1), K.defaultOverwrite = "auto", K.ticker = M, K.autoSleep = 120, K.lagSmoothing = function(r, u) {
2484
+ O = K.prototype = new et(), O.constructor = K, O.kill()._gc = !1, O.ratio = 0, O._firstPT = O._targets = O._overwrittenProps = O._startAt = null, O._notifyPluginsOfEnabled = O._lazy = !1, K.version = "2.0.2", K.defaultEase = O._ease = new p(null, null, 1, 1), K.defaultOverwrite = "auto", K.ticker = M, K.autoSleep = 120, K.lagSmoothing = function(r, u) {
2485
2485
  M.lagSmoothing(r, u);
2486
2486
  }, K.selector = N.$ || N.jQuery || function(r) {
2487
2487
  var u = N.$ || N.jQuery;
@@ -2642,7 +2642,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2642
2642
  }
2643
2643
  return C /= w, C > u ? C - u : f && C === u || !r._initted && 2 * st > C - u ? st : (C += r.totalDuration() / r._timeScale / w) > u + st ? 0 : C - u - st;
2644
2644
  };
2645
- S._init = function() {
2645
+ O._init = function() {
2646
2646
  var r, u, f, c, w, C, j = this.vars, A = this._overwrittenProps, ft = this._duration, ut = !!j.immediateRender, W = j.ease;
2647
2647
  if (j.startAt) {
2648
2648
  this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), w = {};
@@ -2688,7 +2688,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2688
2688
  for (f = this._firstPT; f; )
2689
2689
  f.s += f.c, f.c = -f.c, f = f._next;
2690
2690
  this._onUpdate = j.onUpdate, this._initted = !0;
2691
- }, S._initProps = function(r, u, f, c, w) {
2691
+ }, O._initProps = function(r, u, f, c, w) {
2692
2692
  var C, j, A, ft, ut, W;
2693
2693
  if (r == null)
2694
2694
  return !1;
@@ -2725,7 +2725,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2725
2725
  w
2726
2726
  );
2727
2727
  return c && this._kill(c, r) ? this._initProps(r, u, f, c, w) : this._overwrite > 1 && this._firstPT && f.length > 1 && ue(r, this, u, this._overwrite, f) ? (this._kill(u, r), this._initProps(r, u, f, c, w)) : (this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration) && (At[r._gsTweenID] = !0), A);
2728
- }, S.render = function(r, u, f) {
2728
+ }, O.render = function(r, u, f) {
2729
2729
  var c, w, C, j, A = this._time, ft = this._duration, ut = this._rawPrevTime;
2730
2730
  if (r >= ft - 1e-7 && r >= 0)
2731
2731
  this._totalTime = this._time = ft, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (c = !0, w = "onComplete", f = f || this._timeline.autoRemoveChildren), ft === 0 && (this._initted || !this.vars.lazy || f) && (this._startTime === this._timeline._duration && (r = 0), (0 > ut || 0 >= r && r >= -1e-7 || ut === st && this.data !== "isPause") && ut !== r && (f = !0, ut > st && (w = "onReverseComplete")), this._rawPrevTime = j = !u || r || ut === r ? r : st);
@@ -2748,7 +2748,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2748
2748
  C.f ? C.t[C.p](C.c * this.ratio + C.s) : C.t[C.p] = C.c * this.ratio + C.s, C = C._next;
2749
2749
  this._onUpdate && (0 > r && this._startAt && r !== -1e-4 && this._startAt.render(r, !0, f), u || (this._time !== A || c || f) && this._callback("onUpdate")), w && (!this._gc || f) && (0 > r && this._startAt && !this._onUpdate && r !== -1e-4 && this._startAt.render(r, !0, f), c && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !u && this.vars[w] && this._callback(w), ft === 0 && this._rawPrevTime === st && j !== st && (this._rawPrevTime = 0));
2750
2750
  }
2751
- }, S._kill = function(r, u, f) {
2751
+ }, O._kill = function(r, u, f) {
2752
2752
  if (r === "all" && (r = null), r == null && (u == null || u === this.target))
2753
2753
  return this._lazy = !1, this._enabled(!1, !1);
2754
2754
  u = typeof u != "string" ? u || this._targets || this.target : K.selector(u) || u;
@@ -2781,9 +2781,9 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2781
2781
  }
2782
2782
  }
2783
2783
  return ft;
2784
- }, S.invalidate = function() {
2784
+ }, O.invalidate = function() {
2785
2785
  return this._notifyPluginsOfEnabled && K._onPluginEvent("_onDisable", this), this._firstPT = this._overwrittenProps = this._startAt = this._onUpdate = null, this._notifyPluginsOfEnabled = this._active = this._lazy = !1, this._propLookup = this._targets ? {} : [], et.prototype.invalidate.call(this), this.vars.immediateRender && (this._time = -st, this.render(Math.min(0, -this._delay))), this;
2786
- }, S._enabled = function(r, u) {
2786
+ }, O._enabled = function(r, u) {
2787
2787
  if (b || M.wake(), r && this._gc) {
2788
2788
  var f, c = this._targets;
2789
2789
  if (c)
@@ -2841,7 +2841,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2841
2841
  },
2842
2842
  !0
2843
2843
  );
2844
- if (S = Wt.prototype, Wt.version = "1.19.0", Wt.API = 2, S._firstPT = null, S._addTween = $t, S.setRatio = bt, S._kill = function(r) {
2844
+ if (O = Wt.prototype, Wt.version = "1.19.0", Wt.API = 2, O._firstPT = null, O._addTween = $t, O.setRatio = bt, O._kill = function(r) {
2845
2845
  var u, f = this._overwriteProps, c = this._firstPT;
2846
2846
  if (r[this._propName] != null)
2847
2847
  this._overwriteProps = [];
@@ -2851,7 +2851,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2851
2851
  for (; c; )
2852
2852
  r[c.n] != null && (c._next && (c._next._prev = c._prev), c._prev ? (c._prev._next = c._next, c._prev = null) : this._firstPT === c && (this._firstPT = c._next)), c = c._next;
2853
2853
  return !1;
2854
- }, S._mod = S._roundProps = function(r) {
2854
+ }, O._mod = O._roundProps = function(r) {
2855
2855
  for (var u, f = this._firstPT; f; )
2856
2856
  u = r[this._propName] || f.n != null && r[f.n.split(this._propName + "_").join("")], u && typeof u == "function" && (f.f === 2 ? f.t._applyPT.m = u : f.m = u), f = f._next;
2857
2857
  }, K._onPluginEvent = function(r, u) {
@@ -2893,20 +2893,20 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
2893
2893
  typeof r[u] == "function" && (A[C[u]] = r[u]);
2894
2894
  return j.version = r.version, Wt.activate([j]), j;
2895
2895
  }, $ = N._gsQueue) {
2896
- for (dt = 0; dt < $.length; dt++)
2897
- $[dt]();
2898
- for (S in e)
2899
- e[S].func || N.console.log("GSAP encountered missing dependency: " + S);
2896
+ for (mt = 0; mt < $.length; mt++)
2897
+ $[mt]();
2898
+ for (O in e)
2899
+ e[O].func || N.console.log("GSAP encountered missing dependency: " + O);
2900
2900
  }
2901
2901
  b = !1;
2902
2902
  }(
2903
2903
  typeof module < "u" && module.exports && typeof global < "u" ? global : globalThis || window,
2904
2904
  "TweenMax"
2905
2905
  );
2906
- const fi = { class: "modal-background" }, pi = { class: "modal" }, ci = ["innerHTML"], mi = {
2906
+ const fi = { class: "modal-background" }, pi = ["innerHTML"], ci = {
2907
2907
  name: "MapModali"
2908
- }, di = /* @__PURE__ */ Xe({
2909
- ...mi,
2908
+ }, mi = /* @__PURE__ */ Xe({
2909
+ ...ci,
2910
2910
  props: {
2911
2911
  // text: {
2912
2912
  // type: String,
@@ -2923,27 +2923,32 @@ const fi = { class: "modal-background" }, pi = { class: "modal" }, ci = ["innerH
2923
2923
  }), J({
2924
2924
  text: nt,
2925
2925
  show: E
2926
- }), ($, dt) => (Ce(), Me("div", {
2926
+ }), ($, mt) => (Ce(), Me("div", {
2927
2927
  id: "modal-container",
2928
2928
  class: Ie(Q.value),
2929
2929
  onClick: Y
2930
2930
  }, [
2931
2931
  Jt("div", fi, [
2932
- Jt("div", pi, [
2932
+ Jt("div", {
2933
+ class: "modal",
2934
+ onClick: mt[0] || (mt[0] = (O) => {
2935
+ O.stopPropagation();
2936
+ })
2937
+ }, [
2933
2938
  Jt("p", {
2934
- style: { "white-space": "pre-line", "line-height": "1", margin: "0" },
2939
+ style: { "white-space": "pre-line", "line-height": "1", margin: "0", color: "#fff" },
2935
2940
  innerHTML: nt.value
2936
- }, null, 8, ci)
2941
+ }, null, 8, pi)
2937
2942
  ])
2938
2943
  ])
2939
2944
  ], 2));
2940
2945
  }
2941
2946
  });
2942
- const gi = [ti], vi = {
2947
+ const di = [ti], yi = {
2943
2948
  continuation: null,
2944
2949
  mapModali: null,
2945
2950
  install(N) {
2946
- if (gi.forEach(($, dt) => {
2951
+ if (di.forEach(($, mt) => {
2947
2952
  N.component($.name, $);
2948
2953
  }), this.continuation) {
2949
2954
  N.config.globalProperties.$continuation = this.continuation;
@@ -2954,13 +2959,13 @@ const gi = [ti], vi = {
2954
2959
  N.config.globalProperties.$mapModali = this.mapModali;
2955
2960
  return;
2956
2961
  }
2957
- let E = je(di), Y = document.createElement("div");
2962
+ let E = je(mi), Y = document.createElement("div");
2958
2963
  nt.appendChild(Y), this.mapModali = E.mount(Y), N.config.globalProperties.$mapModali = this.mapModali, window.$mapModali = this.mapModali;
2959
2964
  }
2960
2965
  };
2961
2966
  export {
2962
2967
  ti as Button,
2963
2968
  ui as Cutscenes,
2964
- di as MapModali,
2965
- vi as default
2969
+ mi as MapModali,
2970
+ yi as default
2966
2971
  };