Sentiero Naturalistico Stavoli Lunas
Itinerario in aggiornamento
Sentiero Naturalistico Stavoli Lunas
Itinerario in aggiornamento
Sentiero Naturalistico Stavoli Lunas
Itinerario in aggiornamento
Sentiero Naturalistico Stavoli Lunas
Itinerario in aggiornamento
Sentiero Naturalistico Stavoli Lunas
Itinerario in aggiornamento
s;) c(n, r = t[s++]) && (~S(a, r) || a.push(r));
return a
}
},
z = function() {};
s(s.S, "Object", {
getPrototypeOf: n.getProto = n.getProto || function(t) {
return t = g(t), c(t, T) ? t[T] : "function" == typeof t.constructor && t instanceof t.constructor ? t.constructor.prototype : t instanceof Object ? O : null
},
getOwnPropertyNames: n.getNames = n.getNames || L(j, j.length, !0),
create: n.create = n.create || function(t, e) {
var i;
return null !== t ? (z.prototype = _(t), i = new z, z.prototype = null, i[T] = t) : i = I(), void 0 === e ? i : D(i, e)
},
keys: n.getKeys = n.getKeys || L(F, N, !1)
});
var B = function(t, e, i) {
if (!(e in E)) {
for (var r = [], n = 0; e > n; n++) r[n] = "a[" + n + "]";
E[e] = Function("F,a", "return new F(" + r.join(",") + ")")
}
return E[e](t, i)
};
s(s.P, "Function", {
bind: function(t) {
var e = d(this),
i = k.call(arguments, 1),
r = function() {
var n = i.concat(k.call(arguments));
return this instanceof r ? B(e, n.length, n) : f(e, n, t)
};
return m(e.prototype) && (r.prototype = e.prototype), r
}
}), s(s.P + s.F * p(function() {
u && k.call(u)
}), "Array", {
slice: function(t, e) {
var i = b(this.length),
r = h(this);
if (e = void 0 === e ? i : e, "Array" == r) return k.call(this, t, e);
for (var n = x(t, i), s = x(e, i), a = b(s - n), o = Array(a), u = 0; a > u; u++) o[u] = "String" == r ? this.charAt(n + u) : this[n + u];
return o
}
}), s(s.P + s.F * (w != Object), "Array", {
join: function(t) {
return M.call(w(this), void 0 === t ? "," : t)
}
}), s(s.S, "Array", {
isArray: i(32)
});
var X = function(t) {
return function(e, i) {
d(e);
var r = w(this),
n = b(r.length),
s = t ? n - 1 : 0,
a = t ? -1 : 1;
if (arguments.length < 2)
for (;;) {
if (s in r) {
i = r[s], s += a;
break
}
if (s += a, t ? 0 > s : s >= n) throw TypeError("Reduce of empty array with no initial value")
}
for (; t ? s >= 0 : n > s; s += a) s in r && (i = e(i, r[s], s, this));
return i
}
},
Y = function(t) {
return function(e) {
return t(this, e, arguments[1])
}
};
s(s.P, "Array", {
forEach: n.each = n.each || Y(P(0)),
map: Y(P(1)),
filter: Y(P(2)),
some: Y(P(3)),
every: Y(P(4)),
reduce: X(!1),
reduceRight: X(!0),
indexOf: Y(S),
lastIndexOf: function(t, e) {
var i = v(this),
r = b(i.length),
n = r - 1;
for (arguments.length > 1 && (n = Math.min(n, y(e))), 0 > n && (n = b(r + n)); n >= 0; n--)
if (n in i && i[n] === t) return n;
return -1
}
}), s(s.S, "Date", {
now: function() {
return +new Date
}
});
var W = function(t) {
return t > 9 ? t : "0" + t
};
s(s.P + s.F * (p(function() {
return "0385-07-25T07:06:39.999Z" != new Date(-5e13 - 1).toISOString()
}) || !p(function() {
new Date(NaN).toISOString()
})), "Date", {
toISOString: function() {
if (!isFinite(this)) throw RangeError("Invalid time value");
var t = this,
e = t.getUTCFullYear(),
i = t.getUTCMilliseconds(),
r = 0 > e ? "-" : e > 9999 ? "+" : "";
return r + ("00000" + R4(e)).slice(r ? -6 : -4) + "-" + W(t.getUTCMonth() + 1) + "-" + W(t.getUTCDate()) + "T" + W(t.getUTCHours()) + ":" + W(t.getUTCMinutes()) + ":" + W(t.getUTCSeconds()) + "." + (i > 99 ? i : "0" + W(i)) + "Z"
}
})
}, function(t, e) {
var i = Object;
t.exports = {
create: i.create,
getProto: i.getPrototypeOf,
isEnum: {}.propertyIsEnumerable,
getDesc: i.getOwnPropertyDescriptor,
setDesc: i.defineProperty,
setDescs: i.defineProperties,
getKeys: i.keys,
getNames: i.getOwnPropertyNames,
getSymbols: i.getOwnPropertySymbols,
each: [].forEach
}
}, function(t, e, i) {
var r = i(6),
n = i(7),
s = i(8),
a = i(12),
o = i(14),
u = "prototype",
l = function(t, e, i) {
var c, h, f, p, _ = t & l.F,
d = t & l.G,
m = t & l.S,
g = t & l.P,
v = t & l.B,
y = d ? r : m ? r[e] || (r[e] = {}) : (r[e] || {})[u],
x = d ? n : n[e] || (n[e] = {}),
b = x[u] || (x[u] = {});
d && (i = e);
for (c in i) h = !_ && y && c in y, f = (h ? y : i)[c], p = v && h ? o(f, r) : g && "function" == typeof f ? o(Function.call, f) : f, y && !h && a(y, c, f), x[c] != f && s(x, c, p), g && b[c] != f && (b[c] = f)
};
r.core = n, l.F = 1, l.G = 2, l.S = 4, l.P = 8, l.B = 16, l.W = 32, t.exports = l
}, function(t, e) {
var i = t.exports = "undefined" != typeof window && window.Math == Math ? window : "undefined" != typeof self && self.Math == Math ? self : Function("return this")();
"number" == typeof __g && (__g = i)
}, function(t, e) {
var i = t.exports = {
version: "1.2.6"
};
"number" == typeof __e && (__e = i)
}, function(t, e, i) {
var r = i(4),
n = i(9);
t.exports = i(10) ? function(t, e, i) {
return r.setDesc(t, e, n(1, i))
} : function(t, e, i) {
return t[e] = i, t
}
}, function(t, e) {
t.exports = function(t, e) {
return {
enumerable: !(1 & t),
configurable: !(2 & t),
writable: !(4 & t),
value: e
}
}
}, function(t, e, i) {
t.exports = !i(11)(function() {
return 7 != Object.defineProperty({}, "a", {
get: function() {
return 7
}
}).a
})
}, function(t, e) {
t.exports = function(t) {
try {
return !!t()
} catch (t) {
return !0
}
}
}, function(t, e, i) {
var r = i(6),
n = i(8),
s = i(13)("src"),
a = "toString",
o = Function[a],
u = ("" + o).split(a);
i(7).inspectSource = function(t) {
return o.call(t)
}, (t.exports = function(t, e, i, a) {
"function" == typeof i && (i.hasOwnProperty(s) || n(i, s, t[e] ? "" + t[e] : u.join(String(e))), i.hasOwnProperty("name") || n(i, "name", e)), t === r ? t[e] = i : (a || delete t[e], n(t, e, i))
})(Function.prototype, a, function() {
return "function" == typeof this && this[s] || o.call(this)
})
}, function(t, e) {
var i = 0,
r = Math.random();
t.exports = function(t) {
return "Symbol(".concat(void 0 === t ? "" : t, ")_", (++i + r).toString(36))
}
}, function(t, e, i) {
var r = i(15);
t.exports = function(t, e, i) {
if (r(t), void 0 === e) return t;
switch (i) {
case 1:
return function(i) {
return t.call(e, i)
};
case 2:
return function(i, r) {
return t.call(e, i, r)
};
case 3:
return function(i, r, n) {
return t.call(e, i, r, n)
}
}
return function() {
return t.apply(e, arguments)
}
}
}, function(t, e) {
t.exports = function(t) {
if ("function" != typeof t) throw TypeError(t + " is not a function!");
return t
}
}, function(t, e, i) {
t.exports = i(6).document && document.documentElement
}, function(t, e, i) {
var r = i(18),
n = i(6).document,
s = r(n) && r(n.createElement);
t.exports = function(t) {
return s ? n.createElement(t) : {}
}
}, function(t, e) {
t.exports = function(t) {
return "object" == typeof t ? null !== t : "function" == typeof t
}
}, function(t, e) {
var i = {}.hasOwnProperty;
t.exports = function(t, e) {
return i.call(t, e)
}
}, function(t, e) {
var i = {}.toString;
t.exports = function(t) {
return i.call(t).slice(8, -1)
}
}, function(t, e) {
t.exports = function(t, e, i) {
var r = void 0 === i;
switch (e.length) {
case 0:
return r ? t() : t.call(i);
case 1:
return r ? t(e[0]) : t.call(i, e[0]);
case 2:
return r ? t(e[0], e[1]) : t.call(i, e[0], e[1]);
case 3:
return r ? t(e[0], e[1], e[2]) : t.call(i, e[0], e[1], e[2]);
case 4:
return r ? t(e[0], e[1], e[2], e[3]) : t.call(i, e[0], e[1], e[2], e[3])
}
return t.apply(i, e)
}
}, function(t, e, i) {
var r = i(18);
t.exports = function(t) {
if (!r(t)) throw TypeError(t + " is not an object!");
return t
}
}, function(t, e, i) {
var r = i(24);
t.exports = function(t) {
return Object(r(t))
}
}, function(t, e) {
t.exports = function(t) {
if (void 0 == t) throw TypeError("Can't call method on " + t);
return t
}
}, function(t, e, i) {
var r = i(26),
n = i(24);
t.exports = function(t) {
return r(n(t))
}
}, function(t, e, i) {
var r = i(20);
t.exports = Object("z").propertyIsEnumerable(0) ? Object : function(t) {
return "String" == r(t) ? t.split("") : Object(t)
}
}, function(t, e) {
var i = R3,
r = R3;
t.exports = function(t) {
return isNaN(t = +t) ? 0 : (t > 0 ? r : i)(t)
}
}, function(t, e, i) {
var r = i(27),
n = Math.max,
s = Math.min;
t.exports = function(t, e) {
return t = r(t), 0 > t ? n(t + e, 0) : s(t, e)
}
}, function(t, e, i) {
var r = i(27),
n = Math.min;
t.exports = function(t) {
return t > 0 ? n(r(t), 9007199254740991) : 0
}
}, function(t, e, i) {
var r = i(14),
n = i(26),
s = i(23),
a = i(29),
o = i(31);
t.exports = function(t) {
var e = 1 == t,
i = 2 == t,
u = 3 == t,
l = 4 == t,
c = 6 == t,
h = 5 == t || c;
return function(f, p, _) {
for (var d, m, g = s(f), v = n(g), y = r(p, _, 3), x = a(v.length), b = 0, w = e ? o(f, x) : i ? o(f, 0) : void 0; x > b; b++)
if ((h || b in v) && (d = v[b], m = y(d, b, g), t))
if (e) w[b] = m;
else if (m) switch (t) {
case 3:
return !0;
case 5:
return d;
case 6:
return b;
case 2:
w.push(d)
} else if (l) return !1;
return c ? -1 : u || l ? l : w
}
}
}, function(t, e, i) {
var r = i(18),
n = i(32),
s = i(33)("species");
t.exports = function(t, e) {
var i;
return n(t) && (i = t.constructor, "function" != typeof i || i !== Array && !n(i.prototype) || (i = void 0), r(i) && (i = i[s], null === i && (i = void 0))), new(void 0 === i ? Array : i)(e)
}
}, function(t, e, i) {
var r = i(20);
t.exports = Array.isArray || function(t) {
return "Array" == r(t)
}
}, function(t, e, i) {
var r = i(34)("wks"),
n = i(13),
s = i(6).Symbol;
t.exports = function(t) {
return r[t] || (r[t] = s && s[t] || (s || n)("Symbol." + t))
}
}, function(t, e, i) {
var r = i(6),
n = "__core-js_shared__",
s = r[n] || (r[n] = {});
t.exports = function(t) {
return s[t] || (s[t] = {})
}
}, function(t, e, i) {
var r = i(25),
n = i(29),
s = i(28);
t.exports = function(t) {
return function(e, i, a) {
var o, u = r(e),
l = n(u.length),
c = s(a, l);
if (t && i != i) {
for (; l > c;)
if (o = u[c++], o != o) return !0
} else
for (; l > c; c++)
if ((t || c in u) && u[c] === i) return t || c;
return !t && -1
}
}
}, function(t, e, i) {
"use strict";
var r = i(4),
n = i(6),
s = i(19),
a = i(10),
o = i(5),
u = i(12),
l = i(11),
c = i(34),
h = i(37),
f = i(13),
p = i(33),
_ = i(38),
d = i(39),
m = i(40),
g = i(32),
v = i(22),
y = i(25),
x = i(9),
b = r.getDesc,
w = r.setDesc,
T = r.create,
P = d.get,
S = n.Symbol,
O = n.JSON,
A = O && O.stringify,
k = !1,
M = p("_hidden"),
R = r.isEnum,
C = c("symbol-registry"),
D = c("symbols"),
E = "function" == typeof S,
F = Object.prototype,
j = a && l(function() {
return 7 != T(w({}, "a", {
get: function() {
return w(this, "a", {
value: 7
}).a
}
})).a
}) ? function(t, e, i) {
var r = b(F, e);
r && delete F[e], w(t, e, i), r && t !== F && w(F, e, r)
} : w,
N = function(t) {
var e = D[t] = T(S.prototype);
return e._k = t, a && k && j(F, t, {
configurable: !0,
set: function(e) {
s(this, M) && s(this[M], t) && (this[M][t] = !1), j(this, t, x(1, e))
}
}), e
},
I = function(t) {
return "symbol" == typeof t
},
L = function(t, e, i) {
return i && s(D, e) ? (i.enumerable ? (s(t, M) && t[M][e] && (t[M][e] = !1), i = T(i, {
enumerable: x(0, !1)
})) : (s(t, M) || w(t, M, x(1, {})), t[M][e] = !0), j(t, e, i)) : w(t, e, i)
},
z = function(t, e) {
v(t);
for (var i, r = m(e = y(e)), n = 0, s = r.length; s > n;) L(t, i = r[n++], e[i]);
return t
},
B = function(t, e) {
return void 0 === e ? T(t) : z(T(t), e)
},
X = function(t) {
var e = R.call(this, t);
return e || !s(this, t) || !s(D, t) || s(this, M) && this[M][t] ? e : !0
},
Y = function(t, e) {
var i = b(t = y(t), e);
return !i || !s(D, e) || s(t, M) && t[M][e] || (i.enumerable = !0), i
},
W = function(t) {
for (var e, i = P(y(t)), r = [], n = 0; i.length > n;) s(D, e = i[n++]) || e == M || r.push(e);
return r
},
q = function(t) {
for (var e, i = P(y(t)), r = [], n = 0; i.length > n;) s(D, e = i[n++]) && r.push(D[e]);
return r
},
U = function(t) {
if (void 0 !== t && !I(t)) {
for (var e, i, r = [t], n = 1, s = arguments; s.length > n;) r.push(s[n++]);
return e = r[1], "function" == typeof e && (i = e), (i || !g(e)) && (e = function(t, e) {
return i && (e = i.call(this, t, e)), I(e) ? void 0 : e
}), r[1] = e, A.apply(O, r)
}
},
V = l(function() {
var t = S();
return "[null]" != A([t]) || "{}" != A({
a: t
}) || "{}" != A(Object(t))
});
E || (S = function() {
if (I(this)) throw TypeError("Symbol is not a constructor");
return N(f(arguments.length > 0 ? arguments[0] : void 0))
}, u(S.prototype, "toString", function() {
return this._k
}), I = function(t) {
return t instanceof S
}, r.create = B, r.isEnum = X, r.getDesc = Y, r.setDesc = L, r.setDescs = z, r.getNames = d.get = W, r.getSymbols = q, a && !i(41) && u(F, "propertyIsEnumerable", X, !0));
var G = {
for: function(t) {
return s(C, t += "") ? C[t] : C[t] = S(t)
},
keyFor: function(t) {
return _(C, t)
},
useSetter: function() {
k = !0
},
useSimple: function() {
k = !1
}
};
r.each.call("hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","), function(t) {
var e = p(t);
G[t] = E ? e : N(e)
}), k = !0, o(o.G + o.W, {
Symbol: S
}), o(o.S, "Symbol", G), o(o.S + o.F * !E, "Object", {
create: B,
defineProperty: L,
defineProperties: z,
getOwnPropertyDescriptor: Y,
getOwnPropertyNames: W,
getOwnPropertySymbols: q
}), O && o(o.S + o.F * (!E || V), "JSON", {
stringify: U
}), h(S, "Symbol"), h(Math, "Math", !0), h(n.JSON, "JSON", !0)
}, function(t, e, i) {
var r = i(4).setDesc,
n = i(19),
s = i(33)("toStringTag");
t.exports = function(t, e, i) {
t && !n(t = i ? t : t.prototype, s) && r(t, s, {
configurable: !0,
value: e
})
}
}, function(t, e, i) {
var r = i(4),
n = i(25);
t.exports = function(t, e) {
for (var i, s = n(t), a = r.getKeys(s), o = a.length, u = 0; o > u;)
if (s[i = a[u++]] === e) return i
}
}, function(t, e, i) {
var r = i(25),
n = i(4).getNames,
s = {}.toString,
a = "object" == typeof window && Object.getOwnPropertyNames ? Object.getOwnPropertyNames(window) : [],
o = function(t) {
try {
return n(t)
} catch (t) {
return a.slice()
}
};
t.exports.get = function(t) {
return a && "[object Window]" == s.call(t) ? o(t) : n(r(t))
}
}, function(t, e, i) {
var r = i(4);
t.exports = function(t) {
var e = r.getKeys(t),
i = r.getSymbols;
if (i)
for (var n, s = i(t), a = r.isEnum, o = 0; s.length > o;) a.call(t, n = s[o++]) && e.push(n);
return e
}
}, function(t, e) {
t.exports = !1
}, function(t, e, i) {
var r = i(5);
r(r.S + r.F, "Object", {
assign: i(43)
})
}, function(t, e, i) {
var r = i(4),
n = i(23),
s = i(26);
t.exports = i(11)(function() {
var t = Object.assign,
e = {},
i = {},
r = Symbol(),
n = "abcdefghijklmnopqrst";
return e[r] = 7, n.split("").forEach(function(t) {
i[t] = t
}), 7 != t({}, e)[r] || Object.keys(t({}, i)).join("") != n
}) ? function(t, e) {
for (var i = n(t), a = arguments, o = a.length, u = 1, l = r.getKeys, c = r.getSymbols, h = r.isEnum; o > u;)
for (var f, p = s(a[u++]), _ = c ? l(p).concat(c(p)) : l(p), d = _.length, m = 0; d > m;) h.call(p, f = _[m++]) && (i[f] = p[f]);
return i
} : Object.assign
}, function(t, e, i) {
var r = i(5);
r(r.S, "Object", {
is: i(45)
})
}, function(t, e) {
t.exports = Object.is || function(t, e) {
return t === e ? 0 !== t || 1 / t === 1 / e : t != t && e != e
}
}, function(t, e, i) {
var r = i(5);
r(r.S, "Object", {
setPrototypeOf: i(47).set
})
}, function(t, e, i) {
var r = i(4).getDesc,
n = i(18),
s = i(22),
a = function(t, e) {
if (s(t), !n(e) && null !== e) throw TypeError(e + ": can't set as prototype!")
};
t.exports = {
set: Object.setPrototypeOf || ("__proto__" in {} ? function(t, e, n) {
try {
n = i(14)(Function.call, r(Object.prototype, "__proto__").set, 2), n(t, []), e = !(t instanceof Array)
} catch (t) {
e = !0
}
return function(t, i) {
return a(t, i), e ? t.__proto__ = i : n(t, i), t
}
}({}, !1) : void 0),
check: a
}
}, function(t, e, i) {
"use strict";
var r = i(49),
n = {};
n[i(33)("toStringTag")] = "z", n + "" != "[object z]" && i(12)(Object.prototype, "toString", function() {
return "[object " + r(this) + "]"
}, !0)
}, function(t, e, i) {
var r = i(20),
n = i(33)("toStringTag"),
s = "Arguments" == r(function() {
return arguments
}());
t.exports = function(t) {
var e, i, a;
return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof(i = (e = Object(t))[n]) ? i : s ? r(e) : "Object" == (a = r(e)) && "function" == typeof e.callee ? "Arguments" : a
}
}, function(t, e, i) {
var r = i(18);
i(51)("freeze", function(t) {
return function(e) {
return t && r(e) ? t(e) : e
}
})
}, function(t, e, i) {
var r = i(5),
n = i(7),
s = i(11);
t.exports = function(t, e) {
var i = (n.Object || {})[t] || Object[t],
a = {};
a[t] = e(i), r(r.S + r.F * s(function() {
i(1)
}), "Object", a)
}
}, function(t, e, i) {
var r = i(18);
i(51)("seal", function(t) {
return function(e) {
return t && r(e) ? t(e) : e
}
})
}, function(t, e, i) {
var r = i(18);
i(51)("preventExtensions", function(t) {
return function(e) {
return t && r(e) ? t(e) : e
}
})
}, function(t, e, i) {
var r = i(18);
i(51)("isFrozen", function(t) {
return function(e) {
return r(e) ? t ? t(e) : !1 : !0
}
})
}, function(t, e, i) {
var r = i(18);
i(51)("isSealed", function(t) {
return function(e) {
return r(e) ? t ? t(e) : !1 : !0
}
})
}, function(t, e, i) {
var r = i(18);
i(51)("isExtensible", function(t) {
return function(e) {
return r(e) ? t ? t(e) : !0 : !1
}
})
}, function(t, e, i) {
var r = i(25);
i(51)("getOwnPropertyDescriptor", function(t) {
return function(e, i) {
return t(r(e), i)
}
})
}, function(t, e, i) {
var r = i(23);
i(51)("getPrototypeOf", function(t) {
return function(e) {
return t(r(e))
}
})
}, function(t, e, i) {
var r = i(23);
i(51)("keys", function(t) {
return function(e) {
return t(r(e))
}
})
}, function(t, e, i) {
i(51)("getOwnPropertyNames", function() {
return i(39).get
})
}, function(t, e, i) {
var r = i(4).setDesc,
n = i(9),
s = i(19),
a = Function.prototype,
o = /^\s*function ([^ (]*)/,
u = "name";
u in a || i(10) && r(a, u, {
configurable: !0,
get: function() {
var t = ("" + this).match(o),
e = t ? t[1] : "";
return s(this, u) || r(this, u, n(5, e)), e
}
})
}, function(t, e, i) {
"use strict";
var r = i(4),
n = i(18),
s = i(33)("hasInstance"),
a = Function.prototype;
s in a || r.setDesc(a, s, {
value: function(t) {
if ("function" != typeof this || !n(t)) return !1;
if (!n(this.prototype)) return t instanceof this;
for (; t = r.getProto(t);)
if (this.prototype === t) return !0;
return !1
}
})
}, function(t, e, i) {
"use strict";
var r = i(4),
n = i(6),
s = i(19),
a = i(20),
o = i(64),
u = i(11),
l = i(65).trim,
c = "Number",
h = n[c],
f = h,
p = h.prototype,
_ = a(r.create(p)) == c,
d = "trim" in String.prototype,
m = function(t) {
var e = o(t, !1);
if ("string" == typeof e && e.length > 2) {
e = d ? e.trim() : l(e, 3);
var i, r, n, s = e.charCodeAt(0);
if (43 === s || 45 === s) {
if (i = e.charCodeAt(2), 88 === i || 120 === i) return NaN
} else if (48 === s) {
switch (e.charCodeAt(1)) {
case 66:
case 98:
r = 2, n = 49;
break;
case 79:
case 111:
r = 8, n = 55;
break;
default:
return +e
}
for (var a, u = e.slice(2), c = 0, h = u.length; h > c; c++)
if (a = u.charCodeAt(c), 48 > a || a > n) return NaN;
return parseInt(u, r)
}
}
return +e
};
h(" 0o1") && h("0b1") && !h("+0x1") || (h = function(t) {
var e = arguments.length < 1 ? 0 : t,
i = this;
return i instanceof h && (_ ? u(function() {
p.valueOf.call(i)
}) : a(i) != c) ? new f(m(e)) : m(e)
}, r.each.call(i(10) ? r.getNames(f) : "MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","), function(t) {
s(f, t) && !s(h, t) && r.setDesc(h, t, r.getDesc(f, t))
}), h.prototype = p, p.constructor = h, i(12)(n, c, h))
}, function(t, e, i) {
var r = i(18);
t.exports = function(t, e) {
if (!r(t)) return t;
var i, n;
if (e && "function" == typeof(i = t.toString) && !r(n = i.call(t))) return n;
if ("function" == typeof(i = t.valueOf) && !r(n = i.call(t))) return n;
if (!e && "function" == typeof(i = t.toString) && !r(n = i.call(t))) return n;
throw TypeError("Can't convert object to primitive value")
}
}, function(t, e, i) {
var r = i(5),
n = i(24),
s = i(11),
a = " \n\v\f\r \u2028\u2029\ufeff",
o = "[" + a + "]",
u = "
",
l = RegExp("^" + o + o + "*"),
c = RegExp(o + o + "*$"),
h = function(t, e) {
var i = {};
i[t] = e(f), r(r.P + r.F * s(function() {
return !!a[t]() || u[t]() != u
}), "String", i)
},
f = h.trim = function(t, e) {
return t = String(n(t)), 1 & e && (t = t.replace(l, "")), 2 & e && (t = t.replace(c, "")), t
};
t.exports = h
}, function(t, e, i) {
var r = i(5);
r(r.S, "Number", {
EPSILON: Math.pow(2, -52)
})
}, function(t, e, i) {
var r = i(5),
n = i(6).isFinite;
r(r.S, "Number", {
isFinite: function(t) {
return "number" == typeof t && n(t)
}
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Number", {
isInteger: i(69)
})
}, function(t, e, i) {
var r = i(18),
n = R3;
t.exports = function(t) {
return !r(t) && isFinite(t) && n(t) === t
}
}, function(t, e, i) {
var r = i(5);
r(r.S, "Number", {
isNaN: function(t) {
return t != t
}
})
}, function(t, e, i) {
var r = i(5),
n = i(69),
s = R4;
r(r.S, "Number", {
isSafeInteger: function(t) {
return n(t) && s(t) <= 9007199254740991
}
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Number", {
MAX_SAFE_INTEGER: 9007199254740991
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Number", {
MIN_SAFE_INTEGER: -9007199254740991
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Number", {
parseFloat: parseFloat
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Number", {
parseInt: parseInt
})
}, function(t, e, i) {
var r = i(5),
n = i(77),
s = Math.sqrt,
a = Math.acosh;
r(r.S + r.F * !(a && 710 == R3(a(Number.MAX_VALUE))), "Math", {
acosh: function(t) {
return (t = +t) < 1 ? NaN : t > 94906265.62425156 ? Math.log(t) + Math.LN2 : n(t - 1 + s(t - 1) * s(t + 1))
}
})
}, function(t, e) {
t.exports = Math.log1p || function(t) {
return (t = +t) > -1e-8 && 1e-8 > t ? t - t * t / 2 : Math.log(1 + t)
}
}, function(t, e, i) {
function r(t) {
return isFinite(t = +t) && 0 != t ? 0 > t ? -r(-t) : Math.log(t + Math.sqrt(t * t + 1)) : t
}
var n = i(5);
n(n.S, "Math", {
asinh: r
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Math", {
atanh: function(t) {
return 0 == (t = +t) ? t : Math.log((1 + t) / (1 - t)) / 2
}
})
}, function(t, e, i) {
var r = i(5),
n = i(81);
r(r.S, "Math", {
cbrt: function(t) {
return n(t = +t) * Math.pow(R4(t), 1 / 3)
}
})
}, function(t, e) {
t.exports = Math.sign || function(t) {
return 0 == (t = +t) || t != t ? t : 0 > t ? -1 : 1
}
}, function(t, e, i) {
var r = i(5);
r(r.S, "Math", {
clz32: function(t) {
return (t >>>= 0) ? 31 - R3(Math.log(t + .5) * Math.LOG2E) : 32
}
})
}, function(t, e, i) {
var r = i(5),
n = Math.exp;
r(r.S, "Math", {
cosh: function(t) {
return (n(t = +t) + n(-t)) / 2
}
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Math", {
expm1: i(85)
})
}, function(t, e) {
t.exports = Math.expm1 || function(t) {
return 0 == (t = +t) ? t : t > -1e-6 && 1e-6 > t ? t + t * t / 2 : Math.exp(t) - 1
}
}, function(t, e, i) {
var r = i(5),
n = i(81),
s = Math.pow,
a = s(2, -52),
o = s(2, -23),
u = s(2, 127) * (2 - o),
l = s(2, -126),
c = function(t) {
return t + 1 / a - 1 / a
};
r(r.S, "Math", {
fround: function(t) {
var e, i, r = R4(t),
s = n(t);
return l > r ? s * c(r / l / o) * l * o : (e = (1 + o / a) * r, i = e - (e - r), i > u || i != i ? s * (1 / 0) : s * i)
}
})
}, function(t, e, i) {
var r = i(5),
n = R4;
r(r.S, "Math", {
hypot: function(t, e) {
for (var i, r, s = 0, a = 0, o = arguments, u = o.length, l = 0; u > a;) i = n(o[a++]), i > l ? (r = l / i, s = s * r * r + 1, l = i) : i > 0 ? (r = i / l, s += r * r) : s += i;
return l === 1 / 0 ? 1 / 0 : l * Math.sqrt(s)
}
})
}, function(t, e, i) {
var r = i(5),
n = Math.imul;
r(r.S + r.F * i(11)(function() {
return -5 != n(4294967295, 5) || 2 != n.length
}), "Math", {
imul: function(t, e) {
var i = 65535,
r = +t,
n = +e,
s = i & r,
a = i & n;
return 0 | s * a + ((i & r >>> 16) * a + s * (i & n >>> 16) << 16 >>> 0)
}
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Math", {
log10: function(t) {
return Math.log(t) / Math.LN10
}
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Math", {
log1p: i(77)
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Math", {
log2: function(t) {
return Math.log(t) / Math.LN2
}
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Math", {
sign: i(81)
})
}, function(t, e, i) {
var r = i(5),
n = i(85),
s = Math.exp;
r(r.S + r.F * i(11)(function() {
return -2e-17 != !Math.sinh(-2e-17)
}), "Math", {
sinh: function(t) {
return R4(t = +t) < 1 ? (n(t) - n(-t)) / 2 : (s(t - 1) - s(-t - 1)) * (Math.E / 2)
}
})
}, function(t, e, i) {
var r = i(5),
n = i(85),
s = Math.exp;
r(r.S, "Math", {
tanh: function(t) {
var e = n(t = +t),
i = n(-t);
return e == 1 / 0 ? 1 : i == 1 / 0 ? -1 : (e - i) / (s(t) + s(-t))
}
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Math", {
trunc: function(t) {
return (t > 0 ? R3 : R3)(t)
}
})
}, function(t, e, i) {
var r = i(5),
n = i(28),
s = String.fromCharCode,
a = String.fromCodePoint;
r(r.S + r.F * (!!a && 1 != a.length), "String", {
fromCodePoint: function(t) {
for (var e, i = [], r = arguments, a = r.length, o = 0; a > o;) {
if (e = +r[o++], n(e, 1114111) !== e) throw RangeError(e + " is not a valid code point");
i.push(65536 > e ? s(e) : s(((e -= 65536) >> 10) + 55296, e % 1024 + 56320))
}
return i.join("")
}
})
}, function(t, e, i) {
var r = i(5),
n = i(25),
s = i(29);
r(r.S, "String", {
raw: function(t) {
for (var e = n(t.raw), i = s(e.length), r = arguments, a = r.length, o = [], u = 0; i > u;) o.push(String(e[u++])), a > u && o.push(String(r[u]));
return o.join("")
}
})
}, function(t, e, i) {
"use strict";
i(65)("trim", function(t) {
return function() {
return t(this, 3)
}
})
}, function(t, e, i) {
"use strict";
var r = i(100)(!0);
i(101)(String, "String", function(t) {
this._t = String(t), this._i = 0
}, function() {
var t, e = this._t,
i = this._i;
return i >= e.length ? {
value: void 0,
done: !0
} : (t = r(e, i), this._i += t.length, {
value: t,
done: !1
})
})
}, function(t, e, i) {
var r = i(27),
n = i(24);
t.exports = function(t) {
return function(e, i) {
var s, a, o = String(n(e)),
u = r(i),
l = o.length;
return 0 > u || u >= l ? t ? "" : void 0 : (s = o.charCodeAt(u), 55296 > s || s > 56319 || u + 1 === l || (a = o.charCodeAt(u + 1)) < 56320 || a > 57343 ? t ? o.charAt(u) : s : t ? o.slice(u, u + 2) : (s - 55296 << 10) + (a - 56320) + 65536)
}
}
}, function(t, e, i) {
"use strict";
var r = i(41),
n = i(5),
s = i(12),
a = i(8),
o = i(19),
u = i(102),
l = i(103),
c = i(37),
h = i(4).getProto,
f = i(33)("iterator"),
p = !([].keys && "next" in [].keys()),
_ = "@@iterator",
d = "keys",
m = "values",
g = function() {
return this
};
t.exports = function(t, e, i, v, y, x, b) {
l(i, e, v);
var w, T, P = function(t) {
if (!p && t in k) return k[t];
switch (t) {
case d:
return function() {
return new i(this, t)
};
case m:
return function() {
return new i(this, t)
}
}
return function() {
return new i(this, t)
}
},
S = e + " Iterator",
O = y == m,
A = !1,
k = t.prototype,
M = k[f] || k[_] || y && k[y],
R = M || P(y);
if (M) {
var C = h(R.call(new t));
c(C, S, !0), !r && o(k, _) && a(C, f, g), O && M.name !== m && (A = !0, R = function() {
return M.call(this)
})
}
if (r && !b || !p && !A && k[f] || a(k, f, R), u[e] = R, u[S] = g, y)
if (w = {
values: O ? R : P(m),
keys: x ? R : P(d),
entries: O ? P("entries") : R
}, b)
for (T in w) T in k || s(k, T, w[T]);
else n(n.P + n.F * (p || A), e, w);
return w
}
}, function(t, e) {
t.exports = {}
}, function(t, e, i) {
"use strict";
var r = i(4),
n = i(9),
s = i(37),
a = {};
i(8)(a, i(33)("iterator"), function() {
return this
}), t.exports = function(t, e, i) {
t.prototype = r.create(a, {
next: n(1, i)
}), s(t, e + " Iterator")
}
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(100)(!1);
r(r.P, "String", {
codePointAt: function(t) {
return n(this, t)
}
})
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(29),
s = i(106),
a = "endsWith",
o = "" [a];
r(r.P + r.F * i(108)(a), "String", {
endsWith: function(t) {
var e = s(this, t, a),
i = arguments,
r = i.length > 1 ? i[1] : void 0,
u = n(e.length),
l = void 0 === r ? u : Math.min(n(r), u),
c = String(t);
return o ? o.call(e, c, l) : e.slice(l - c.length, l) === c
}
})
}, function(t, e, i) {
var r = i(107),
n = i(24);
t.exports = function(t, e, i) {
if (r(e)) throw TypeError("String#" + i + " doesn't accept regex!");
return String(n(t))
}
}, function(t, e, i) {
var r = i(18),
n = i(20),
s = i(33)("match");
t.exports = function(t) {
var e;
return r(t) && (void 0 !== (e = t[s]) ? !!e : "RegExp" == n(t))
}
}, function(t, e, i) {
var r = i(33)("match");
t.exports = function(t) {
var e = /./;
try {
"/./" [t](e)
} catch (i) {
try {
return e[r] = !1, !"/./" [t](e)
} catch (t) {}
}
return !0
}
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(106),
s = "includes";
r(r.P + r.F * i(108)(s), "String", {
includes: function(t) {
return !!~n(this, t, s).indexOf(t, arguments.length > 1 ? arguments[1] : void 0)
}
})
}, function(t, e, i) {
var r = i(5);
r(r.P, "String", {
repeat: i(111)
})
}, function(t, e, i) {
"use strict";
var r = i(27),
n = i(24);
t.exports = function(t) {
var e = String(n(this)),
i = "",
s = r(t);
if (0 > s || s == 1 / 0) throw RangeError("Count can't be negative");
for (; s > 0;
(s >>>= 1) && (e += e)) 1 & s && (i += e);
return i
}
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(29),
s = i(106),
a = "startsWith",
o = "" [a];
r(r.P + r.F * i(108)(a), "String", {
startsWith: function(t) {
var e = s(this, t, a),
i = arguments,
r = n(Math.min(i.length > 1 ? i[1] : void 0, e.length)),
u = String(t);
return o ? o.call(e, u, r) : e.slice(r, r + u.length) === u
}
})
}, function(t, e, i) {
"use strict";
var r = i(14),
n = i(5),
s = i(23),
a = i(114),
o = i(115),
u = i(29),
l = i(116);
n(n.S + n.F * !i(117)(function(t) {
Array.from(t)
}), "Array", {
from: function(t) {
var e, i, n, c, h = s(t),
f = "function" == typeof this ? this : Array,
p = arguments,
_ = p.length,
d = _ > 1 ? p[1] : void 0,
m = void 0 !== d,
g = 0,
v = l(h);
if (m && (d = r(d, _ > 2 ? p[2] : void 0, 2)), void 0 == v || f == Array && o(v))
for (e = u(h.length), i = new f(e); e > g; g++) i[g] = m ? d(h[g], g) : h[g];
else
for (c = v.call(h), i = new f; !(n = c.next()).done; g++) i[g] = m ? a(c, d, [n.value, g], !0) : n.value;
return i.length = g, i
}
})
}, function(t, e, i) {
var r = i(22);
t.exports = function(t, e, i, n) {
try {
return n ? e(r(i)[0], i[1]) : e(i)
} catch (e) {
var s = t.return;
throw void 0 !== s && r(s.call(t)), e
}
}
}, function(t, e, i) {
var r = i(102),
n = i(33)("iterator"),
s = Array.prototype;
t.exports = function(t) {
return void 0 !== t && (r.Array === t || s[n] === t)
}
}, function(t, e, i) {
var r = i(49),
n = i(33)("iterator"),
s = i(102);
t.exports = i(7).getIteratorMethod = function(t) {
return void 0 != t ? t[n] || t["@@iterator"] || s[r(t)] : void 0
}
}, function(t, e, i) {
var r = i(33)("iterator"),
n = !1;
try {
var s = [7][r]();
s.return = function() {
n = !0
}, Array.from(s, function() {
throw 2
})
} catch (t) {}
t.exports = function(t, e) {
if (!e && !n) return !1;
var i = !1;
try {
var s = [7],
a = s[r]();
a.next = function() {
i = !0
}, s[r] = function() {
return a
}, t(s)
} catch (t) {}
return i
}
}, function(t, e, i) {
"use strict";
var r = i(5);
r(r.S + r.F * i(11)(function() {
function t() {}
return !(Array.of.call(t) instanceof t)
}), "Array", { of: function() {
for (var t = 0, e = arguments, i = e.length, r = new("function" == typeof this ? this : Array)(i); i > t;) r[t] = e[t++];
return r.length = i, r
}
})
}, function(t, e, i) {
"use strict";
var r = i(120),
n = i(121),
s = i(102),
a = i(25);
t.exports = i(101)(Array, "Array", function(t, e) {
this._t = a(t), this._i = 0, this._k = e
}, function() {
var t = this._t,
e = this._k,
i = this._i++;
return !t || i >= t.length ? (this._t = void 0, n(1)) : "keys" == e ? n(0, i) : "values" == e ? n(0, t[i]) : n(0, [i, t[i]])
}, "values"), s.Arguments = s.Array, r("keys"), r("values"), r("entries")
}, function(t, e, i) {
var r = i(33)("unscopables"),
n = Array.prototype;
void 0 == n[r] && i(8)(n, r, {}), t.exports = function(t) {
n[r][t] = !0
}
}, function(t, e) {
t.exports = function(t, e) {
return {
value: e,
done: !!t
}
}
}, function(t, e, i) {
i(123)("Array")
}, function(t, e, i) {
"use strict";
var r = i(6),
n = i(4),
s = i(10),
a = i(33)("species");
t.exports = function(t) {
var e = r[t];
s && e && !e[a] && n.setDesc(e, a, {
configurable: !0,
get: function() {
return this
}
})
}
}, function(t, e, i) {
var r = i(5);
r(r.P, "Array", {
copyWithin: i(125)
}), i(120)("copyWithin")
}, function(t, e, i) {
"use strict";
var r = i(23),
n = i(28),
s = i(29);
t.exports = [].copyWithin || function(t, e) {
var i = r(this),
a = s(i.length),
o = n(t, a),
u = n(e, a),
l = arguments,
c = l.length > 2 ? l[2] : void 0,
h = Math.min((void 0 === c ? a : n(c, a)) - u, a - o),
f = 1;
for (o > u && u + h > o && (f = -1, u += h - 1, o += h - 1); h-- > 0;) u in i ? i[o] = i[u] : delete i[o], o += f, u += f;
return i
}
}, function(t, e, i) {
var r = i(5);
r(r.P, "Array", {
fill: i(127)
}), i(120)("fill")
}, function(t, e, i) {
"use strict";
var r = i(23),
n = i(28),
s = i(29);
t.exports = [].fill || function(t) {
for (var e = r(this), i = s(e.length), a = arguments, o = a.length, u = n(o > 1 ? a[1] : void 0, i), l = o > 2 ? a[2] : void 0, c = void 0 === l ? i : n(l, i); c > u;) e[u++] = t;
return e
}
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(30)(5),
s = "find",
a = !0;
s in [] && Array(1)[s](function() {
a = !1
}), r(r.P + r.F * a, "Array", {
find: function(t) {
return n(this, t, arguments.length > 1 ? arguments[1] : void 0)
}
}), i(120)(s)
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(30)(6),
s = "findIndex",
a = !0;
s in [] && Array(1)[s](function() {
a = !1
}), r(r.P + r.F * a, "Array", {
findIndex: function(t) {
return n(this, t, arguments.length > 1 ? arguments[1] : void 0)
}
}), i(120)(s)
}, function(t, e, i) {
var r = i(4),
n = i(6),
s = i(107),
a = i(131),
o = n.RegExp,
u = o,
l = o.prototype,
c = /a/g,
h = /a/g,
f = new o(c) !== c;
!i(10) || f && !i(11)(function() {
return h[i(33)("match")] = !1, o(c) != c || o(h) == h || "/a/i" != o(c, "i")
}) || (o = function(t, e) {
var i = s(t),
r = void 0 === e;
return this instanceof o || !i || t.constructor !== o || !r ? f ? new u(i && !r ? t.source : t, e) : u((i = t instanceof o) ? t.source : t, i && r ? a.call(t) : e) : t
}, r.each.call(r.getNames(u), function(t) {
t in o || r.setDesc(o, t, {
configurable: !0,
get: function() {
return u[t]
},
set: function(e) {
u[t] = e
}
})
}), l.constructor = o, o.prototype = l, i(12)(n, "RegExp", o)), i(123)("RegExp")
}, function(t, e, i) {
"use strict";
var r = i(22);
t.exports = function() {
var t = r(this),
e = "";
return t.global && (e += "g"), t.ignoreCase && (e += "i"), t.multiline && (e += "m"), t.unicode && (e += "u"), t.sticky && (e += "y"), e
}
}, function(t, e, i) {
var r = i(4);
i(10) && "g" != /./g.flags && r.setDesc(RegExp.prototype, "flags", {
configurable: !0,
get: i(131)
})
}, function(t, e, i) {
i(134)("match", 1, function(t, e) {
return function(i) {
"use strict";
var r = t(this),
n = void 0 == i ? void 0 : i[e];
return void 0 !== n ? n.call(i, r) : new RegExp(i)[e](String(r))
}
})
}, function(t, e, i) {
"use strict";
var r = i(8),
n = i(12),
s = i(11),
a = i(24),
o = i(33);
t.exports = function(t, e, i) {
var u = o(t),
l = "" [t];
s(function() {
var e = {};
return e[u] = function() {
return 7
}, 7 != "" [t](e)
}) && (n(String.prototype, t, i(a, u, l)), r(RegExp.prototype, u, 2 == e ? function(t, e) {
return l.call(t, this, e)
} : function(t) {
return l.call(t, this)
}))
}
}, function(t, e, i) {
i(134)("replace", 2, function(t, e, i) {
return function(r, n) {
"use strict";
var s = t(this),
a = void 0 == r ? void 0 : r[e];
return void 0 !== a ? a.call(r, s, n) : i.call(String(s), r, n)
}
})
}, function(t, e, i) {
i(134)("search", 1, function(t, e) {
return function(i) {
"use strict";
var r = t(this),
n = void 0 == i ? void 0 : i[e];
return void 0 !== n ? n.call(i, r) : new RegExp(i)[e](String(r))
}
})
}, function(t, e, i) {
i(134)("split", 2, function(t, e, i) {
return function(r, n) {
"use strict";
var s = t(this),
a = void 0 == r ? void 0 : r[e];
return void 0 !== a ? a.call(r, s, n) : i.call(String(s), r, n)
}
})
}, function(t, e, i) {
"use strict";
var r, n = i(4),
s = i(41),
a = i(6),
o = i(14),
u = i(49),
l = i(5),
c = i(18),
h = i(22),
f = i(15),
p = i(139),
_ = i(140),
d = i(47).set,
m = i(45),
g = i(33)("species"),
v = i(141),
y = i(142),
x = "Promise",
b = a.process,
w = "process" == u(b),
T = a[x],
P = function(t) {
var e = new T(function() {});
return t && (e.constructor = Object), T.resolve(e) === e
},
S = function() {
function t(e) {
var i = new T(e);
return d(i, t.prototype), i
}
var e = !1;
try {
if (e = T && T.resolve && P(), d(t, T), t.prototype = n.create(T.prototype, {
constructor: {
value: t
}
}), t.resolve(5).then(function() {}) instanceof t || (e = !1), e && i(10)) {
var r = !1;
T.resolve(n.setDesc({}, "then", {
get: function() {
r = !0
}
})), e = r
}
} catch (t) {
e = !1
}
return e
}(),
O = function(t, e) {
return s && t === T && e === r ? !0 : m(t, e)
},
A = function(t) {
var e = h(t)[g];
return void 0 != e ? e : t
},
k = function(t) {
var e;
return c(t) && "function" == typeof(e = t.then) ? e : !1
},
M = function(t) {
var e, i;
this.promise = new t(function(t, r) {
if (void 0 !== e || void 0 !== i) throw TypeError("Bad Promise constructor");
e = t, i = r
}), this.resolve = f(e), this.reject = f(i)
},
R = function(t) {
try {
t()
} catch (t) {
return {
error: t
}
}
},
C = function(t, e) {
if (!t.n) {
t.n = !0;
var i = t.c;
y(function() {
for (var r = t.v, n = 1 == t.s, s = 0, o = function(e) {
var i, s, a = n ? e.ok : e.fail,
o = e.resolve,
u = e.reject;
try {
a ? (n || (t.h = !0), i = a === !0 ? r : a(r), i === e.promise ? u(TypeError("Promise-chain cycle")) : (s = k(i)) ? s.call(i, o, u) : o(i)) : u(r)
} catch (t) {
u(t)
}
}; i.length > s;) o(i[s++]);
i.length = 0, t.n = !1, e && setTimeout(function() {
var e, i, n = t.p;
D(n) && (w ? b.emit("unhandledRejection", r, n) : (e = a.onunhandledrejection) ? e({
promise: n,
reason: r
}) : (i = a.console) && i.error && i.error("Unhandled promise rejection", r)), t.a = void 0
}, 1)
})
}
},
D = function(t) {
var e, i = t._d,
r = i.a || i.c,
n = 0;
if (i.h) return !1;
for (; r.length > n;)
if (e = r[n++], e.fail || !D(e.promise)) return !1;
return !0
},
E = function(t) {
var e = this;
e.d || (e.d = !0, e = e.r || e, e.v = t, e.s = 2, e.a = e.c.slice(), C(e, !0))
},
F = function(t) {
var e, i = this;
if (!i.d) {
i.d = !0, i = i.r || i;
try {
if (i.p === t) throw TypeError("Promise can't be resolved itself");
(e = k(t)) ? y(function() {
var r = {
r: i,
d: !1
};
try {
e.call(t, o(F, r, 1), o(E, r, 1))
} catch (t) {
E.call(r, t)
}
}): (i.v = t, i.s = 1, C(i, !1))
} catch (t) {
E.call({
r: i,
d: !1
}, t)
}
}
};
S || (T = function(t) {
f(t);
var e = this._d = {
p: p(this, T, x),
c: [],
a: void 0,
s: 0,
d: !1,
v: void 0,
h: !1,
n: !1
};
try {
t(o(F, e, 1), o(E, e, 1))
} catch (t) {
E.call(e, t)
}
}, i(144)(T.prototype, {
then: function(t, e) {
var i = new M(v(this, T)),
r = i.promise,
n = this._d;
return i.ok = "function" == typeof t ? t : !0, i.fail = "function" == typeof e && e, n.c.push(i), n.a && n.a.push(i), n.s && C(n, !1), r
},
catch: function(t) {
return this.then(void 0, t)
}
})), l(l.G + l.W + l.F * !S, {
Promise: T
}), i(37)(T, x), i(123)(x), r = i(7)[x], l(l.S + l.F * !S, x, {
reject: function(t) {
var e = new M(this),
i = e.reject;
return i(t), e.promise
}
}), l(l.S + l.F * (!S || P(!0)), x, {
resolve: function(t) {
if (t instanceof T && O(t.constructor, this)) return t;
var e = new M(this),
i = e.resolve;
return i(t), e.promise
}
}), l(l.S + l.F * !(S && i(117)(function(t) {
T.all(t).catch(function() {})
})), x, {
all: function(t) {
var e = A(this),
i = new M(e),
r = i.resolve,
s = i.reject,
a = [],
o = R(function() {
_(t, !1, a.push, a);
var i = a.length,
o = Array(i);
i ? n.each.call(a, function(t, n) {
var a = !1;
e.resolve(t).then(function(t) {
a || (a = !0, o[n] = t, --i || r(o))
}, s)
}) : r(o)
});
return o && s(o.error), i.promise
},
race: function(t) {
var e = A(this),
i = new M(e),
r = i.reject,
n = R(function() {
_(t, !1, function(t) {
e.resolve(t).then(i.resolve, r)
})
});
return n && r(n.error), i.promise
}
})
}, function(t, e) {
t.exports = function(t, e, i) {
if (!(t instanceof e)) throw TypeError(i + ": use the 'new' operator!");
return t
}
}, function(t, e, i) {
var r = i(14),
n = i(114),
s = i(115),
a = i(22),
o = i(29),
u = i(116);
t.exports = function(t, e, i, l) {
var c, h, f, p = u(t),
_ = r(i, l, e ? 2 : 1),
d = 0;
if ("function" != typeof p) throw TypeError(t + " is not iterable!");
if (s(p))
for (c = o(t.length); c > d; d++) e ? _(a(h = t[d])[0], h[1]) : _(t[d]);
else
for (f = p.call(t); !(h = f.next()).done;) n(f, _, h.value, e)
}
}, function(t, e, i) {
var r = i(22),
n = i(15),
s = i(33)("species");
t.exports = function(t, e) {
var i, a = r(t).constructor;
return void 0 === a || void 0 == (i = r(a)[s]) ? e : n(i)
}
}, function(t, e, i) {
var r, n, s, a = i(6),
o = i(143).set,
u = a.MutationObserver || a.WebKitMutationObserver,
l = a.process,
c = a.Promise,
h = "process" == i(20)(l),
f = function() {
var t, e, i;
for (h && (t = l.domain) && (l.domain = null, t.exit()); r;) e = r.domain, i = r.fn, e && e.enter(), i(), e && e.exit(), r = r.next;
n = void 0, t && t.enter()
};
if (h) s = function() {
l.nextTick(f)
};
else if (u) {
var p = 1,
_ = document.createTextNode("");
new u(f).observe(_, {
characterData: !0
}), s = function() {
_.data = p = -p
}
} else s = c && c.resolve ? function() {
c.resolve().then(f)
} : function() {
o.call(a, f)
};
t.exports = function(t) {
var e = {
fn: t,
next: void 0,
domain: h && l.domain
};
n && (n.next = e), r || (r = e, s()), n = e
}
}, function(t, e, i) {
var r, n, s, a = i(14),
o = i(21),
u = i(16),
l = i(17),
c = i(6),
h = c.process,
f = c.setImmediate,
p = c.clearImmediate,
_ = c.MessageChannel,
d = 0,
m = {},
g = "onreadystatechange",
v = function() {
var t = +this;
if (m.hasOwnProperty(t)) {
var e = m[t];
delete m[t], e()
}
},
y = function(t) {
v.call(t.data)
};
f && p || (f = function(t) {
for (var e = [], i = 1; arguments.length > i;) e.push(arguments[i++]);
return m[++d] = function() {
o("function" == typeof t ? t : Function(t), e)
}, r(d), d
}, p = function(t) {
delete m[t]
}, "process" == i(20)(h) ? r = function(t) {
h.nextTick(a(v, t, 1))
} : _ ? (n = new _, s = n.port2, n.port1.onmessage = y, r = a(s.postMessage, s, 1)) : c.addEventListener && "function" == typeof postMessage && !c.importScripts ? (r = function(t) {
c.postMessage(t + "", "*")
}, c.addEventListener("message", y, !1)) : r = g in l("script") ? function(t) {
u.appendChild(l("script"))[g] = function() {
u.removeChild(this), v.call(t)
}
} : function(t) {
setTimeout(a(v, t, 1), 0)
}), t.exports = {
set: f,
clear: p
}
}, function(t, e, i) {
var r = i(12);
t.exports = function(t, e) {
for (var i in e) r(t, i, e[i]);
return t
}
}, function(t, e, i) {
"use strict";
var r = i(146);
i(147)("Map", function(t) {
return function() {
return t(this, arguments.length > 0 ? arguments[0] : void 0)
}
}, {
get: function(t) {
var e = r.getEntry(this, t);
return e && e.v
},
set: function(t, e) {
return r.def(this, 0 === t ? 0 : t, e)
}
}, r, !0)
}, function(t, e, i) {
"use strict";
var r = i(4),
n = i(8),
s = i(144),
a = i(14),
o = i(139),
u = i(24),
l = i(140),
c = i(101),
h = i(121),
f = i(13)("id"),
p = i(19),
_ = i(18),
d = i(123),
m = i(10),
g = Object.isExtensible || _,
v = m ? "_s" : "size",
y = 0,
x = function(t, e) {
if (!_(t)) return "symbol" == typeof t ? t : ("string" == typeof t ? "S" : "P") + t;
if (!p(t, f)) {
if (!g(t)) return "F";
if (!e) return "E";
n(t, f, ++y)
}
return "O" + t[f]
},
b = function(t, e) {
var i, r = x(e);
if ("F" !== r) return t._i[r];
for (i = t._f; i; i = i.n)
if (i.k == e) return i
};
t.exports = {
getConstructor: function(t, e, i, n) {
var c = t(function(t, s) {
o(t, c, e), t._i = r.create(null), t._f = void 0, t._l = void 0, t[v] = 0, void 0 != s && l(s, i, t[n], t)
});
return s(c.prototype, {
clear: function() {
for (var t = this, e = t._i, i = t._f; i; i = i.n) i.r = !0, i.p && (i.p = i.p.n = void 0), delete e[i.i];
t._f = t._l = void 0, t[v] = 0
},
delete: function(t) {
var e = this,
i = b(e, t);
if (i) {
var r = i.n,
n = i.p;
delete e._i[i.i], i.r = !0, n && (n.n = r), r && (r.p = n), e._f == i && (e._f = r), e._l == i && (e._l = n), e[v]--
}
return !!i
},
forEach: function(t) {
for (var e, i = a(t, arguments.length > 1 ? arguments[1] : void 0, 3); e = e ? e.n : this._f;)
for (i(e.v, e.k, this); e && e.r;) e = e.p
},
has: function(t) {
return !!b(this, t)
}
}), m && r.setDesc(c.prototype, "size", {
get: function() {
return u(this[v])
}
}), c
},
def: function(t, e, i) {
var r, n, s = b(t, e);
return s ? s.v = i : (t._l = s = {
i: n = x(e, !0),
k: e,
v: i,
p: r = t._l,
n: void 0,
r: !1
}, t._f || (t._f = s), r && (r.n = s), t[v]++, "F" !== n && (t._i[n] = s)), t
},
getEntry: b,
setStrong: function(t, e, i) {
c(t, e, function(t, e) {
this._t = t, this._k = e, this._l = void 0
}, function() {
for (var t = this, e = t._k, i = t._l; i && i.r;) i = i.p;
return t._t && (t._l = i = i ? i.n : t._t._f) ? "keys" == e ? h(0, i.k) : "values" == e ? h(0, i.v) : h(0, [i.k, i.v]) : (t._t = void 0, h(1))
}, i ? "entries" : "values", !i, !0), d(e)
}
}
}, function(t, e, i) {
"use strict";
var r = i(6),
n = i(5),
s = i(12),
a = i(144),
o = i(140),
u = i(139),
l = i(18),
c = i(11),
h = i(117),
f = i(37);
t.exports = function(t, e, i, p, _, d) {
var m = r[t],
g = m,
v = _ ? "set" : "add",
y = g && g.prototype,
x = {},
b = function(t) {
var e = y[t];
s(y, t, "delete" == t ? function(t) {
return d && !l(t) ? !1 : e.call(this, 0 === t ? 0 : t)
} : "has" == t ? function(t) {
return d && !l(t) ? !1 : e.call(this, 0 === t ? 0 : t)
} : "get" == t ? function(t) {
return d && !l(t) ? void 0 : e.call(this, 0 === t ? 0 : t)
} : "add" == t ? function(t) {
return e.call(this, 0 === t ? 0 : t), this
} : function(t, i) {
return e.call(this, 0 === t ? 0 : t, i), this
})
};
if ("function" == typeof g && (d || y.forEach && !c(function() {
(new g).entries().next()
}))) {
var w, T = new g,
P = T[v](d ? {} : -0, 1) != T,
S = c(function() {
T.has(1)
}),
O = h(function(t) {
new g(t)
});
O || (g = e(function(e, i) {
u(e, g, t);
var r = new m;
return void 0 != i && o(i, _, r[v], r), r
}), g.prototype = y, y.constructor = g), d || T.forEach(function(t, e) {
w = 1 / e === -(1 / 0)
}), (S || w) && (b("delete"), b("has"), _ && b("get")), (w || P) && b(v), d && y.clear && delete y.clear
} else g = p.getConstructor(e, t, _, v), a(g.prototype, i);
return f(g, t), x[t] = g, n(n.G + n.W + n.F * (g != m), x), d || p.setStrong(g, t, _), g
}
}, function(t, e, i) {
"use strict";
var r = i(146);
i(147)("Set", function(t) {
return function() {
return t(this, arguments.length > 0 ? arguments[0] : void 0)
}
}, {
add: function(t) {
return r.def(this, t = 0 === t ? 0 : t, t)
}
}, r)
}, function(t, e, i) {
"use strict";
var r = i(4),
n = i(12),
s = i(150),
a = i(18),
o = i(19),
u = s.frozenStore,
l = s.WEAK,
c = Object.isExtensible || a,
h = {},
f = i(147)("WeakMap", function(t) {
return function() {
return t(this, arguments.length > 0 ? arguments[0] : void 0)
}
}, {
get: function(t) {
if (a(t)) {
if (!c(t)) return u(this).get(t);
if (o(t, l)) return t[l][this._i]
}
},
set: function(t, e) {
return s.def(this, t, e)
}
}, s, !0, !0);
7 != (new f).set((Object.freeze || Object)(h), 7).get(h) && r.each.call(["delete", "has", "get", "set"], function(t) {
var e = f.prototype,
i = e[t];
n(e, t, function(e, r) {
if (a(e) && !c(e)) {
var n = u(this)[t](e, r);
return "set" == t ? this : n
}
return i.call(this, e, r)
})
})
}, function(t, e, i) {
"use strict";
var r = i(8),
n = i(144),
s = i(22),
a = i(18),
o = i(139),
u = i(140),
l = i(30),
c = i(19),
h = i(13)("weak"),
f = Object.isExtensible || a,
p = l(5),
_ = l(6),
d = 0,
m = function(t) {
return t._l || (t._l = new g)
},
g = function() {
this.a = []
},
v = function(t, e) {
return p(t.a, function(t) {
return t[0] === e
})
};
g.prototype = {
get: function(t) {
var e = v(this, t);
return e ? e[1] : void 0
},
has: function(t) {
return !!v(this, t)
},
set: function(t, e) {
var i = v(this, t);
i ? i[1] = e : this.a.push([t, e])
},
delete: function(t) {
var e = _(this.a, function(e) {
return e[0] === t
});
return ~e && this.a.splice(e, 1), !!~e
}
}, t.exports = {
getConstructor: function(t, e, i, r) {
var s = t(function(t, n) {
o(t, s, e), t._i = d++, t._l = void 0, void 0 != n && u(n, i, t[r], t)
});
return n(s.prototype, {
delete: function(t) {
return a(t) ? f(t) ? c(t, h) && c(t[h], this._i) && delete t[h][this._i] : m(this).delete(t) : !1
},
has: function(t) {
return a(t) ? f(t) ? c(t, h) && c(t[h], this._i) : m(this).has(t) : !1
}
}), s
},
def: function(t, e, i) {
return f(s(e)) ? (c(e, h) || r(e, h, {}), e[h][t._i] = i) : m(t).set(e, i), t
},
frozenStore: m,
WEAK: h
}
}, function(t, e, i) {
"use strict";
var r = i(150);
i(147)("WeakSet", function(t) {
return function() {
return t(this, arguments.length > 0 ? arguments[0] : void 0)
}
}, {
add: function(t) {
return r.def(this, t, !0)
}
}, r, !1, !0)
}, function(t, e, i) {
var r = i(5),
n = Function.apply;
r(r.S, "Reflect", {
apply: function(t, e, i) {
return n.call(t, e, i)
}
})
}, function(t, e, i) {
var r = i(4),
n = i(5),
s = i(15),
a = i(22),
o = i(18),
u = Function.bind || i(7).Function.prototype.bind;
n(n.S + n.F * i(11)(function() {
function t() {}
return !(Reflect.construct(function() {}, [], t) instanceof t)
}), "Reflect", {
construct: function(t, e) {
s(t);
var i = arguments.length < 3 ? t : s(arguments[2]);
if (t == i) {
if (void 0 != e) switch (a(e).length) {
case 0:
return new t;
case 1:
return new t(e[0]);
case 2:
return new t(e[0], e[1]);
case 3:
return new t(e[0], e[1], e[2]);
case 4:
return new t(e[0], e[1], e[2], e[3])
}
var n = [null];
return n.push.apply(n, e), new(u.apply(t, n))
}
var l = i.prototype,
c = r.create(o(l) ? l : Object.prototype),
h = Function.apply.call(t, c, e);
return o(h) ? h : c
}
})
}, function(t, e, i) {
var r = i(4),
n = i(5),
s = i(22);
n(n.S + n.F * i(11)(function() {
Reflect.defineProperty(r.setDesc({}, 1, {
value: 1
}), 1, {
value: 2
})
}), "Reflect", {
defineProperty: function(t, e, i) {
s(t);
try {
return r.setDesc(t, e, i), !0
} catch (t) {
return !1
}
}
})
}, function(t, e, i) {
var r = i(5),
n = i(4).getDesc,
s = i(22);
r(r.S, "Reflect", {
deleteProperty: function(t, e) {
var i = n(s(t), e);
return i && !i.configurable ? !1 : delete t[e]
}
})
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(22),
s = function(t) {
this._t = n(t), this._i = 0;
var e, i = this._k = [];
for (e in t) i.push(e)
};
i(103)(s, "Object", function() {
var t, e = this,
i = e._k;
do
if (e._i >= i.length) return {
value: void 0,
done: !0
}; while (!((t = i[e._i++]) in e._t));
return {
value: t,
done: !1
}
}), r(r.S, "Reflect", {
enumerate: function(t) {
return new s(t)
}
})
}, function(t, e, i) {
function r(t, e) {
var i, a, l = arguments.length < 3 ? t : arguments[2];
return u(t) === l ? t[e] : (i = n.getDesc(t, e)) ? s(i, "value") ? i.value : void 0 !== i.get ? i.get.call(l) : void 0 : o(a = n.getProto(t)) ? r(a, e, l) : void 0
}
var n = i(4),
s = i(19),
a = i(5),
o = i(18),
u = i(22);
a(a.S, "Reflect", {
get: r
})
}, function(t, e, i) {
var r = i(4),
n = i(5),
s = i(22);
n(n.S, "Reflect", {
getOwnPropertyDescriptor: function(t, e) {
return r.getDesc(s(t), e)
}
})
}, function(t, e, i) {
var r = i(5),
n = i(4).getProto,
s = i(22);
r(r.S, "Reflect", {
getPrototypeOf: function(t) {
return n(s(t))
}
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Reflect", {
has: function(t, e) {
return e in t
}
})
}, function(t, e, i) {
var r = i(5),
n = i(22),
s = Object.isExtensible;
r(r.S, "Reflect", {
isExtensible: function(t) {
return n(t), s ? s(t) : !0
}
})
}, function(t, e, i) {
var r = i(5);
r(r.S, "Reflect", {
ownKeys: i(163)
})
}, function(t, e, i) {
var r = i(4),
n = i(22),
s = i(6).Reflect;
t.exports = s && s.ownKeys || function(t) {
var e = r.getNames(n(t)),
i = r.getSymbols;
return i ? e.concat(i(t)) : e
}
}, function(t, e, i) {
var r = i(5),
n = i(22),
s = Object.preventExtensions;
r(r.S, "Reflect", {
preventExtensions: function(t) {
n(t);
try {
return s && s(t), !0
} catch (t) {
return !1
}
}
})
}, function(t, e, i) {
function r(t, e, i) {
var a, c, h = arguments.length < 4 ? t : arguments[3],
f = n.getDesc(u(t), e);
if (!f) {
if (l(c = n.getProto(t))) return r(c, e, i, h);
f = o(0)
}
return s(f, "value") ? f.writable !== !1 && l(h) ? (a = n.getDesc(h, e) || o(0), a.value = i, n.setDesc(h, e, a), !0) : !1 : void 0 === f.set ? !1 : (f.set.call(h, i), !0)
}
var n = i(4),
s = i(19),
a = i(5),
o = i(9),
u = i(22),
l = i(18);
a(a.S, "Reflect", {
set: r
})
}, function(t, e, i) {
var r = i(5),
n = i(47);
n && r(r.S, "Reflect", {
setPrototypeOf: function(t, e) {
n.check(t, e);
try {
return n.set(t, e), !0
} catch (t) {
return !1
}
}
})
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(35)(!0);
r(r.P, "Array", {
includes: function(t) {
return n(this, t, arguments.length > 1 ? arguments[1] : void 0)
}
}), i(120)("includes")
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(100)(!0);
r(r.P, "String", {
at: function(t) {
return n(this, t)
}
})
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(170);
r(r.P, "String", {
padLeft: function(t) {
return n(this, t, arguments.length > 1 ? arguments[1] : void 0, !0)
}
})
}, function(t, e, i) {
var r = i(29),
n = i(111),
s = i(24);
t.exports = function(t, e, i, a) {
var o = String(s(t)),
u = o.length,
l = void 0 === i ? " " : String(i),
c = r(e);
if (u >= c) return o;
"" == l && (l = " ");
var h = c - u,
f = n.call(l, R3(h / l.length));
return f.length > h && (f = f.slice(0, h)), a ? f + o : o + f
}
}, function(t, e, i) {
"use strict";
var r = i(5),
n = i(170);
r(r.P, "String", {
padRight: function(t) {
return n(this, t, arguments.length > 1 ? arguments[1] : void 0, !1)
}
})
}, function(t, e, i) {
"use strict";
i(65)("trimLeft", function(t) {
return function() {
return t(this, 1)
}
})
}, function(t, e, i) {
"use strict";
i(65)("trimRight", function(t) {
return function() {
return t(this, 2)
}
})
}, function(t, e, i) {
var r = i(5),
n = i(175)(/[\\^$*+?.()|[\]{}]/g, "\\$&");
r(r.S, "RegExp", {
escape: function(t) {
return n(t)
}
})
}, function(t, e) {
t.exports = function(t, e) {
var i = e === Object(e) ? function(t) {
return e[t]
} : e;
return function(e) {
return String(e).replace(t, i)
}
}
}, function(t, e, i) {
var r = i(4),
n = i(5),
s = i(163),
a = i(25),
o = i(9);
n(n.S, "Object", {
getOwnPropertyDescriptors: function(t) {
for (var e, i, n = a(t), u = r.setDesc, l = r.getDesc, c = s(n), h = {}, f = 0; c.length > f;) i = l(n, e = c[f++]), e in h ? u(h, e, o(0, i)) : h[e] = i;
return h
}
})
}, function(t, e, i) {
var r = i(5),
n = i(178)(!1);
r(r.S, "Object", {
values: function(t) {
return n(t)
}
})
}, function(t, e, i) {
var r = i(4),
n = i(25),
s = r.isEnum;
t.exports = function(t) {
return function(e) {
for (var i, a = n(e), o = r.getKeys(a), u = o.length, l = 0, c = []; u > l;) s.call(a, i = o[l++]) && c.push(t ? [i, a[i]] : a[i]);
return c
}
}
}, function(t, e, i) {
var r = i(5),
n = i(178)(!0);
r(r.S, "Object", {
entries: function(t) {
return n(t)
}
})
}, function(t, e, i) {
var r = i(5);
r(r.P, "Map", {
toJSON: i(181)("Map")
})
}, function(t, e, i) {
var r = i(140),
n = i(49);
t.exports = function(t) {
return function() {
if (n(this) != t) throw TypeError(t + "#toJSON isn't generic");
var e = [];
return r(this, !1, e.push, e), e
}
}
}, function(t, e, i) {
var r = i(5);
r(r.P, "Set", {
toJSON: i(181)("Set")
})
}, function(t, e, i) {
var r = i(4),
n = i(5),
s = i(14),
a = i(7).Array || Array,
o = {},
u = function(t, e) {
r.each.call(t.split(","), function(t) {
void 0 == e && t in a ? o[t] = a[t] : t in [] && (o[t] = s(Function.call, [][t], e))
})
};
u("pop,reverse,shift,keys,values,entries", 1), u("indexOf,every,some,forEach,map,filter,find,findIndex,includes", 3), u("join,slice,concat,push,splice,unshift,sort,lastIndexOf,reduce,reduceRight,copyWithin,fill"), n(n.S, "Array", o)
}, function(t, e, i) {
var r = i(6),
n = i(5),
s = i(21),
a = i(185),
o = r.navigator,
u = !!o && /MSIE .\./.test(o.userAgent),
l = function(t) {
return u ? function(e, i) {
return t(s(a, [].slice.call(arguments, 2), "function" == typeof e ? e : Function(e)), i)
} : t
};
n(n.G + n.B + n.F * u, {
setTimeout: l(r.setTimeout),
setInterval: l(r.setInterval)
})
}, function(t, e, i) {
"use strict";
var r = i(186),
n = i(21),
s = i(15);
t.exports = function() {
for (var t = s(this), e = arguments.length, i = Array(e), a = 0, o = r._, u = !1; e > a;)(i[a] = arguments[a++]) === o && (u = !0);
return function() {
var r, s = this,
a = arguments,
l = a.length,
c = 0,
h = 0;
if (!u && !l) return n(t, i, s);
if (r = i.slice(), u)
for (; e > c; c++) r[c] === o && (r[c] = a[h++]);
for (; l > h;) r.push(a[h++]);
return n(t, r, s)
}
}
}, function(t, e, i) {
t.exports = i(6)
}, function(t, e, i) {
var r = i(5),
n = i(143);
r(r.G + r.B, {
setImmediate: n.set,
clearImmediate: n.clear
})
}, function(t, e, i) {
i(119);
var r = i(6),
n = i(8),
s = i(102),
a = i(33)("iterator"),
o = r.NodeList,
u = r.HTMLCollection,
l = o && o.prototype,
c = u && u.prototype,
h = s.NodeList = s.HTMLCollection = s.Array;
l && !l[a] && n(l, a, h), c && !c[a] && n(c, a, h)
}, function(t, e, i) {
(function(e, i) {
! function(e) {
"use strict";
function r(t, e, i, r) {
var n = Object.create((e || s).prototype),
a = new _(r || []);
return n._invoke = h(t, i, a), n
}
function n(t, e, i) {
try {
return {
type: "normal",
arg: t.call(e, i)
}
} catch (t) {
return {
type: "throw",
arg: t
}
}
}
function s() {}
function a() {}
function o() {}
function u(t) {
["next", "throw", "return"].forEach(function(e) {
t[e] = function(t) {
return this._invoke(e, t)
}
})
}
function l(t) {
this.arg = t
}
function c(t) {
function e(i, r, s, a) {
var o = n(t[i], t, r);
if ("throw" !== o.type) {
var u = o.arg,
c = u.value;
return c instanceof l ? Promise.resolve(c.arg).then(function(t) {
e("next", t, s, a)
}, function(t) {
e("throw", t, s, a)
}) : Promise.resolve(c).then(function(t) {
u.value = t, s(u)
}, a)
}
a(o.arg)
}
function r(t, i) {
function r() {
return new Promise(function(r, n) {
e(t, i, r, n)
})
}
return s = s ? s.then(r, r) : r()
}
"object" == typeof i && i.domain && (e = i.domain.bind(e));
var s;
this._invoke = r
}
function h(t, e, i) {
var r = P;
return function(s, a) {
if (r === O) throw new Error("Generator is already running");
if (r === A) {
if ("throw" === s) throw a;
return m()
}
for (;;) {
var o = i.delegate;
if (o) {
if ("return" === s || "throw" === s && o.iterator[s] === g) {
i.delegate = null;
var u = o.iterator.return;
if (u) {
var l = n(u, o.iterator, a);
if ("throw" === l.type) {
s = "throw", a = l.arg;
continue
}
}
if ("return" === s) continue
}
var l = n(o.iterator[s], o.iterator, a);
if ("throw" === l.type) {
i.delegate = null, s = "throw", a = l.arg;
continue
}
s = "next", a = g;
var c = l.arg;
if (!c.done) return r = S, c;
i[o.resultName] = c.value, i.next = o.nextLoc, i.delegate = null
}
if ("next" === s) r === S ? i.sent = a : i.sent = g;
else if ("throw" === s) {
if (r === P) throw r = A, a;
i.dispatchException(a) && (s = "next", a = g)
} else "return" === s && i.abrupt("return", a);
r = O;
var l = n(t, e, i);
if ("normal" === l.type) {
r = i.done ? A : S;
var c = {
value: l.arg,
done: i.done
};
if (l.arg !== k) return c;
i.delegate && "next" === s && (a = g)
} else "throw" === l.type && (r = A, s = "throw", a = l.arg)
}
}
}
function f(t) {
var e = {
tryLoc: t[0]
};
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e)
}
function p(t) {
var e = t.completion || {};
e.type = "normal", delete e.arg, t.completion = e
}
function _(t) {
this.tryEntries = [{
tryLoc: "root"
}], t.forEach(f, this), this.reset(!0)
}
function d(t) {
if (t) {
var e = t[x];
if (e) return e.call(t);
if ("function" == typeof t.next) return t;
if (!isNaN(t.length)) {
var i = -1,
r = function e() {
for (; ++i < t.length;)
if (v.call(t, i)) return e.value = t[i], e.done = !1, e;
return e.value = g, e.done = !0, e
};
return r.next = r
}
}
return {
next: m
}
}
function m() {
return {
value: g,
done: !0
}
}
var g, v = Object.prototype.hasOwnProperty,
y = "function" == typeof Symbol ? Symbol : {},
x = y.iterator || "@@iterator",
b = y.toStringTag || "@@toStringTag",
w = "object" == typeof t,
T = e.regeneratorRuntime;
if (T) return void(w && (t.exports = T));
T = e.regeneratorRuntime = w ? t.exports : {}, T.wrap = r;
var P = "suspendedStart",
S = "suspendedYield",
O = "executing",
A = "completed",
k = {},
M = o.prototype = s.prototype;
a.prototype = M.constructor = o, o.constructor = a, o[b] = a.displayName = "GeneratorFunction", T.isGeneratorFunction = function(t) {
var e = "function" == typeof t && t.constructor;
return e ? e === a || "GeneratorFunction" === (e.displayName || e.name) : !1
}, T.mark = function(t) {
return Object.setPrototypeOf ? Object.setPrototypeOf(t, o) : (t.__proto__ = o, b in t || (t[b] = "GeneratorFunction")), t.prototype = Object.create(M), t
}, T.awrap = function(t) {
return new l(t)
}, u(c.prototype), T.async = function(t, e, i, n) {
var s = new c(r(t, e, i, n));
return T.isGeneratorFunction(e) ? s : s.next().then(function(t) {
return t.done ? t.value : s.next()
})
}, u(M), M[x] = function() {
return this
}, M[b] = "Generator", M.toString = function() {
return "[object Generator]"
}, T.keys = function(t) {
var e = [];
for (var i in t) e.push(i);
return e.reverse(),
function i() {
for (; e.length;) {
var r = e.pop();
if (r in t) return i.value = r, i.done = !1, i
}
return i.done = !0, i
}
}, T.values = d, _.prototype = {
constructor: _,
reset: function(t) {
if (this.prev = 0, this.next = 0, this.sent = g, this.done = !1, this.delegate = null, this.tryEntries.forEach(p), !t)
for (var e in this) "t" === e.charAt(0) && v.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = g)
},
stop: function() {
this.done = !0;
var t = this.tryEntries[0],
e = t.completion;
if ("throw" === e.type) throw e.arg;
return this.rval
},
dispatchException: function(t) {
function e(e, r) {
return s.type = "throw", s.arg = t, i.next = e, !!r
}
if (this.done) throw t;
for (var i = this, r = this.tryEntries.length - 1; r >= 0; --r) {
var n = this.tryEntries[r],
s = n.completion;
if ("root" === n.tryLoc) return e("end");
if (n.tryLoc <= this.prev) {
var a = v.call(n, "catchLoc"),
o = v.call(n, "finallyLoc");
if (a && o) {
if (this.prev < n.catchLoc) return e(n.catchLoc, !0);
if (this.prev < n.finallyLoc) return e(n.finallyLoc)
} else if (a) {
if (this.prev < n.catchLoc) return e(n.catchLoc, !0)
} else {
if (!o) throw new Error("try statement without catch or finally");
if (this.prev < n.finallyLoc) return e(n.finallyLoc)
}
}
}
},
abrupt: function(t, e) {
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
var r = this.tryEntries[i];
if (r.tryLoc <= this.prev && v.call(r, "finallyLoc") && this.prev < r.finallyLoc) {
var n = r;
break
}
}
n && ("break" === t || "continue" === t) && n.tryLoc <= e && e <= n.finallyLoc && (n = null);
var s = n ? n.completion : {};
return s.type = t, s.arg = e, n ? this.next = n.finallyLoc : this.complete(s), k
},
complete: function(t, e) {
if ("throw" === t.type) throw t.arg;
"break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = t.arg, this.next = "end") : "normal" === t.type && e && (this.next = e)
},
finish: function(t) {
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
var i = this.tryEntries[e];
if (i.finallyLoc === t) return this.complete(i.completion, i.afterLoc), p(i), k
}
},
catch: function(t) {
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
var i = this.tryEntries[e];
if (i.tryLoc === t) {
var r = i.completion;
if ("throw" === r.type) {
var n = r.arg;
p(i)
}
return n
}
}
throw new Error("illegal catch attempt")
},
delegateYield: function(t, e, i) {
return this.delegate = {
iterator: d(t),
resultName: e,
nextLoc: i
}, k
}
}
}("object" == typeof e ? e : "object" == typeof window ? window : "object" == typeof self ? self : this)
}).call(e, function() {
return this
}(), i(190))
}, function(t, e) {
function i() {
l = !1, a.length ? u = a.concat(u) : c = -1, u.length && r()
}
function r() {
if (!l) {
var t = setTimeout(i);
l = !0;
for (var e = u.length; e;) {
for (a = u, u = []; ++c < e;) a && a[c].run();
c = -1, e = u.length
}
a = null, l = !1, clearTimeout(t)
}
}
function n(t, e) {
this.fun = t, this.array = e
}
function s() {}
var a, o = t.exports = {},
u = [],
l = !1,
c = -1;
o.nextTick = function(t) {
var e = new Array(arguments.length - 1);
if (arguments.length > 1)
for (var i = 1; i < arguments.length; i++) e[i - 1] = arguments[i];
u.push(new n(t, e)), 1 !== u.length || l || setTimeout(r, 0)
}, n.prototype.run = function() {
this.fun.apply(null, this.array)
}, o.title = "browser", o.browser = !0, o.env = {}, o.argv = [], o.version = "", o.versions = {}, o.on = s, o.addListener = s, o.once = s, o.off = s, o.removeListener = s, o.removeAllListeners = s, o.emit = s, o.binding = function(t) {
throw new Error("process.binding is not supported")
}, o.cwd = function() {
return "/"
}, o.chdir = function(t) {
throw new Error("process.chdir is not supported")
}, o.umask = function() {
return 0
}
}, function(t, e, i) {
"use strict";
function r(t) {
if (t && t.__esModule) return t;
var e = {};
if (null != t)
for (var i in t) Object.prototype.hasOwnProperty.call(t, i) && (e[i] = t[i]);
return e.default = t, e
}
function n(t) {
return t && t.__esModule ? t : {
default: t
}
}
function s(t) {
return t && "undefined" != typeof Symbol && t.constructor === Symbol ? "symbol" : typeof t
}
function a(t) {
if (Array.isArray(t)) {
for (var e = 0, i = Array(t.length); e < t.length; e++) i[e] = t[e];
return i
}
return Array.from(t)
}
Object.defineProperty(e, "__esModule", {
value: !0
});
var o = i(192),
u = n(o),
l = i(193),
c = i(194),
h = n(c),
f = i(195),
p = n(f),
_ = i(196),
d = r(_),
m = i(197),
g = i(198),
v = i(199),
y = n(v),
x = i(201),
b = (n(x), function(t) {
return Array.from(Array(t))
}),
w = function() {
return window.pageYOffset
},
T = function(t) {
var e = arguments.length <= 1 || void 0 === arguments[1] ? "source-over" : arguments[1],
i = arguments.length <= 2 || void 0 === arguments[2] ? null : arguments[2];
t.globalCompositeOperation = e;
var r = t.globalCompositeOperation == e;
return r || null == i || (t.globalCompositeOperation = i), r
},
P = function(t, e, i, r) {
var n = {
x: e.width / i.width,
y: e.height / i.height
},
s = {
width: r.width * n.x,
height: r.height * n.y
},
a = {
x: s.width / e.width,
y: s.height / e.height
};
t.drawImage(e, R3(-i.x * a.x), R3(-i.y * a.y), R3(s.width), R3(s.height))
},
S = function(t) {
var e = {
ready: !1,
canvas: null,
ctx: null,
map: null,
mapScale: 1,
mapScales: 2,
mapMaxScale: 2.5,
mapCache: null,
mapBuffer: null,
mapBufferCtx: null,
mapBufferScale: 0,
mapBufferSize: {
x: 4048,
y: 4048
},
mapBufferMargin: 400,
mapBufferOffset: null,
mapBufferLast: null,
mapSVG: null,
mapWidth: null,
mapHeight: null,
points: null,
pointsPos: null,
cameraPath: null,
cameraBreakpoints: null,
cameraSubdivisions: null,
cameraSubdivisionSize: 1,
cameraLength: 0,
trailPath: null,
trailPathData: null,
trailBreakpoints: null,
trailSubdivisions: null,
trailSubdivisionSize: 1,
trailLength: 0,
labels: null,
sections: null,
sectionsBounds: null,
sectionsIcons: null,
imagesBounds: null,
lastScroll: 0,
scrollAnim: null,
textWidth: 0,
initialState: function() {
return {
sectionIndex: 0,
section: null,
sectionBounds: {
top: 0,
bottom: 0,
height: 0
},
cameraSegment: {
start: 0,
end: 0,
length: 0
},
trailSegment: {
start: 0,
end: 0,
length: 0
},
pos: 0,
width: 0,
height: 0,
zoom: 1
}
},
defaultProps: function() {
return {
textContainer: null,
mapSrc: null,
trailColor: null,
trailWidth: null,
trailDash: [2, 4],
trailVisitedColor: "#8EC641",
trailVisitedWidth: 7,
pointColor: null,
pointRadius: null,
pointFutureColor: "#ccc",
pointPresentColor: null,
pointPastColor: null,
fontPastColor: "#666",
fontPresentColor: "#000",
fontFutureColor: "#aaa"
}
},
get trailColor() {
return "undefined" != typeof this.props && null != this.props.trailColor ? this.props.trailColor : null == this.trailPath ? "#ccc" : this.trailPath.getAttribute("stroke")
},
get trailWidth() {
return "undefined" != typeof this.props && null != this.props.trailWidth ? this.props.trailColor : null == this.trailPath ? 2 : parseFloat(this.trailPath.getAttribute("stroke-width") || 2)
},
init: function() {
var t = this,
e = window.innerWidth,
i = window.innerHeight;
this.state = {
width: e,
height: i
}, this.canvas = (0, h.default)(e, i), this.canvas.style.position = "absolute", this.canvas.style.top = 0, this.canvas.style.left = 0, this.ctx = this.canvas.getContext("2d", {
alpha: !1
}), this.ctx.fillStyle = "#fff", this.ctx.fillRect(0, 0, this.state.width, this.state.height), this.container.appendChild(this.canvas), this.calculateSections(), Array.from(this.props.textContainer.querySelectorAll("img")).forEach(function(e) {
e.addEventListener("load", function(e) {
t.calculateSections(), t.renderMap()
})
}), this.scrollAnim = {
value: 0
}, (0, p.default)(this.props.mapSrc).then(function(e) {
t.mapSVG = Array.from((new DOMParser).parseFromString(e, "image/svg+xml").childNodes).filter(function(t) {
var e = t.tagName;
return "undefined" == typeof e ? !1 : "svg" == e.toLowerCase()
})[0], t.cameraPath = t.mapSVG.querySelector("#camera-path path"), t.trailPath = t.mapSVG.querySelector("#trail-path path"), t.points = Array.from(t.mapSVG.querySelectorAll("#points circle")).map(function(e) {
var i = parseFloat(e.getAttribute("cx")),
r = parseFloat(e.getAttribute("cy"));
return {
x: i,
y: r,
length: d.getLengthAtPoint(t.trailPath, {
x: i,
y: r
}),
label: (e.getAttribute("id") || "").replace(/_/g, " "),
color: e.getAttribute("fill") || "black",
radius: parseFloat(e.getAttribute("r"))
}
}).sort(function(t, e) {
return t.length - e.length
}), t.cameraSubdivisions = d.subdividePath(t.cameraPath, t.cameraSubdivisionSize, !0), t.cameraLength = d.getLength(t.cameraPath), t.cameraBreakpoints = t.setupBreakpoints(t.cameraPath), t.trailSubdivisions = d.subdividePath(t.trailPath, t.trailSubdivisionSize, !0), t.trailBreakpoints = t.setupBreakpoints(t.trailPath), t.trailLength = d.getLength(t.trailPath), (0, l.loadImage)(t.props.mapSrc).then(function(e) {
t.mapWidth = e.width, t.mapHeight = e.height, 0 == t.mapHeight && (t.mapWidth = 2040, t.mapHeight = 1178), t.map = b(t.mapScales).map(function(i, r) {
var n = 1 + (t.mapMaxScale - 1) / (t.mapScales - 1) * r,
s = (0, h.default)(t.mapWidth * n, t.mapHeight * n),
a = s.getContext("2d", {
alpha: !1
});
return a.fillStyle = "white", a.fillRect(0, 0, t.mapWidth * n, t.mapHeight * n), a.drawImage(e, 0, 0, t.mapWidth * n, t.mapHeight * n), {
map: s,
scale: n
}
}), t.mapBuffer = (0, h.default)(1, 1), t.mapBufferCtx = t.mapBuffer.getContext("2d", {
alpha: !1
}), t.updateMapBufferSize(), t.mapBufferCtx.fillStyle = "white", t.mapBufferCtx.fillRect(0, 0, t.mapBufferSize.x, t.mapBufferSize.y), t.mapBufferOffset = {
x: 0,
y: 0
}, t.mapBufferScale = t.mapScale, document.getElementById("everything").classList.remove("interhide"), document.getElementById("header-title__loading").className = "invisible" , t.ready = !0, document.addEventListener("scroll", t.onScroll.bind(t)), t.onScroll() ,window.scroll({top: 500, left: 0, behavior: 'smooth' });
})
}), window.addEventListener("resize", this.onResize.bind(this))
},
setupBreakpoints: function(t) {
var e = this;
return this.points.map(function(e) {
return d.getLengthAtPoint(t, e)
}).map(function(t, i) {
return "true" == e.sections[i].getAttribute("data-stay") ? [t, t] : [t]
}).reduce(function(t, e) {
return t.concat(e)
}, [])
},
getMapBufferSize: function() {
return {
x: this.state.width + 2 * this.mapBufferMargin,
y: this.state.height + 2 * this.mapBufferMargin
}
},
updateMapBufferSize: function() {
this.mapBufferSize = this.getMapBufferSize(), this.mapBuffer.setAttribute("width", this.mapBufferSize.x), this.mapBuffer.setAttribute("height", this.mapBufferSize.y), this.mapBufferLast = {
zoom: -1,
pos: {
x: -1,
y: -1
}
}
},
calculateSections: function() {
var t = w();
this.sections = Array.from(this.props.textContainer.querySelectorAll(".js-section")), this.sectionsBounds = this.sections.map(function(e) {
var i = e.getBoundingClientRect();
return {
top: i.top + t,
bottom: i.bottom + t,
left: i.left,
right: i.right,
height: i.height,
width: i.width
}
}), this.sectionsIcons = this.sections.map(function(t) {
var e = t.getAttribute("data-icon");
if (null != e) {
var i = document.createElement("img");
return i.setAttribute("src", e), i
}
return null
}), this.imagesBounds = this.sections.map(function(e) {
return Array.from(e.querySelectorAll(".js-image")).map(function(e) {
var i = e.getBoundingClientRect();
return {
top: i.top + t,
bottom: i.bottom + t,
left: i.left,
right: i.right,
height: i.height,
mapPos: parseFloat(e.getAttribute("data-pos"))
}
})
})
},
onScroll: function() {
var t = this,
e = w(),
i = 0,
r = R4(e - this.lastScroll);
r = Math.sqrt((0, g.clamp)(r / 10)), this.lastScroll = e, i = .2 * r, y.default.to(this.scrollAnim, i, {
value: e,
onUpdate: function() {
t.updateScroll(t.scrollAnim.value)
},
onComplete: function() {
t.updateScroll(t.scrollAnim.value)
}
})
},
updateScroll: function(t) {
var e = this.sectionsBounds.findIndex(function(e, i, r) {
var n = i == r.length - 1;
if (n) return !0;
var s = r[i + 1],
a = "undefined" != typeof s ? t < s.top : !1,
o = t < e.bottom;
return o || a
}),
i = this.sectionsBounds[e],
r = this.sections[e],
n = (0, g.clamp)((t - i.top) / i.height, 0, 1),
s = {
start: this.cameraBreakpoints[e],
end: this.cameraBreakpoints[(0, g.clamp)(e + 1, this.cameraBreakpoints.length - 1)]
};
s.length = s.end - s.start;
var a = {
start: this.trailBreakpoints[e],
end: this.trailBreakpoints[(0, g.clamp)(e + 1, this.trailBreakpoints.length - 1)]
};
a.length = a.end - a.start, this.state = {
sectionIndex: e,
section: r,
sectionBounds: i,
pos: n,
cameraSegment: s,
trailSegment: a
}
},
onResize: function() {
this.state = {
width: window.innerWidth,
height: window.innerHeight
}, this.updateMapBufferSize(), this.canvas.width = this.state.width, this.canvas.height = this.state.height, this.calculateSections(), this.onScroll()
},
getZoom: function() {
return this.getZoomAtPercent(this.state.pos)
},
drawMapBuffer: function(t, e, i) {
t.fillStyle = "white", t.fillRect(0, 0, this.mapBufferSize.x, this.mapBufferSize.y);
for (var r = 0; i > this.map[r].scale && r < this.map.length - 1;) r++;
var n = this.map[r],
s = (0, m.sub)((0, m.mult)(e, n.scale), this.mapBufferMargin),
a = n.scale / i;
return P(t, n.map, Object.assign({}, s, {
width: this.mapBufferSize.x * a,
height: this.mapBufferSize.y * a
}), {
x: 0,
y: 0,
width: this.mapBufferSize.x,
height: this.mapBufferSize.y
}), {
offset: s,
scale: a,
mapScale: n.scale
}
},
getCameraPosAtPercent: function(t) {
return d.getPointAtPercent(this.cameraSubdivisions, t)
},
getMapSliceAtPercent: function(t) {
isNaN(t) && (t = 1);
var e = this.getCameraPosAtPercent(t),
i = this.getZoomAtPercent(t),
r = this.state.width / i,
n = this.state.height / i,
s = {
x: this.state.width > 720 ? .66 : .5,
y: .33
};
return {
x: e.x - r * s.x,
y: e.y - n * s.y,
width: r,
height: n,
zoom: i,
cameraPos: e
}
},
getPosAtPercent: function(t) {
return this.state.pos
},
getZoomAtPercent: function(t) {
var e = this.state.sectionIndex,
i = this.getPosAtPercent(),
r = this.sections[e],
n = this.sections[(0, g.clamp)(e + 1, this.sections.length - 1)],
s = (this.sections[(0, g.clamp)(e - 1, 0, this.sections.length - 1)], function(t, e) {
var i = arguments.length <= 2 || void 0 === arguments[2] ? 1 : arguments[2],
r = t.getAttribute(e);
return null == r ? i : parseFloat(r)
}),
a = function(t) {
return s(t, "data-zoom-middle", o(t))
},
o = function(t) {
return s(t, "data-zoom-start", 1)
},
u = .5 >= i ? o(r) : a(r),
l = .5 >= i ? a(r) : o(n);
return (0, g.interpolate)(1 == i ? 1 : i / .5 - R3(i / .5), u, l, g.easing.cubic.inOut)
},
renderMap: function() {
var t = this;
if (this.ready) {
var e = function(e) {
var i = w(),
r = d.getPointAtPercent(t.trailSubdivisions, (0, g.interpolate)(e.mapPos, A.start, A.end) / t.trailLength),
n = window.innerHeight / 2,
s = 1.2 * n,
o = e.top + e.height / 2 - i,
u = (s - R4(n - o)) / s;
if (u = g.easing.quad.out((0, g.clamp)(u)), !(0 >= u)) {
var l = I(r);
l = {
x: l[0],
y: l[1]
};
var c = function(t, e) {
return [t, e]
},
h = function(e, i) {
var r, n;
e = c.apply(void 0, a(e)), i = c.apply(void 0, a(i));
var s = function(t, e) {
return Math.atan2(e - l.y, t - l.x)
},
o = Math.PI,
h = 2 * o,
f = s.apply(void 0, a(e)) + h,
p = s.apply(void 0, a(i)) + h,
_ = Math.atan2(Math.sin(f - p), Math.cos(f - p)),
d = f - _ / 2,
m = 2 * u,
g = d + o / 2,
v = {
x: (m + 1) * Math.cos(g),
y: (m + 1) * Math.sin(g)
},
y = .3 * u;
t.ctx.fillStyle = "rgba(220,220,202," + y + ")", T(t.ctx, "darken", "source-over"), t.ctx.beginPath(), t.ctx.moveTo(l.x + v.x, l.y + v.y), (r = t.ctx).lineTo.apply(r, a(e)), (n = t.ctx).lineTo.apply(n, a(i)), t.ctx.lineTo(l.x - v.x, l.y - v.y), t.ctx.lineWidth = 5 * u, t.ctx.arc(l.x, l.y, m, g + o, g), t.ctx.fill(), t.ctx.beginPath(), t.ctx.arc(l.x, l.y, m, g, g + h), t.ctx.fill(), T(t.ctx), t.ctx.fillStyle = "#da5f06";
var x = 4 * u;
t.ctx.beginPath(), t.ctx.arc(l.x, l.y, x*5, 0, h), t.ctx.fill()// punto immagine ***************************************************************************************************************************************
},
f = [e.top - i < l.y ? e.right : e.left, e.top - i],
p = [e.bottom - i < l.y ? e.left : e.right, e.right < l.x ? e.bottom - i : e.top - i];
h(f, p)
}
},
i = function() {
t.imagesBounds[t.state.sectionIndex].forEach(e)
},
r = function(e) {
var i, r = arguments.length <= 1 || void 0 === arguments[1] ? 1 : arguments[1],
n = arguments.length <= 2 || void 0 === arguments[2] ? -1 : arguments[2];
t.ctx.beginPath(), (i = t.ctx).moveTo.apply(i, a(I(e[0])));
for (var s = !1, o = 1; o < (-1 == n ? e.length : (0, g.clamp)(n, e.length)); o += r) {
var u = s ? t.ctx.moveTo : t.ctx.lineTo,
l = I(e[o]);
l[0] >= 0 && l[1] >= 0 && l[0] < t.state.width && l[1] < t.state.height ? (s = !1, u.call.apply(u, [t.ctx].concat(a(l)))) : s = !0
}
t.ctx.stroke()
},
n = function() {
t.ctx.lineWidth = t.trailWidth, t.ctx.strokeStyle = t.trailColor, t.ctx.lineCap = "round", t.ctx.setLineDash(t.props.trailDash), r(t.trailSubdivisions, 4), t.ctx.lineWidth = t.props.trailVisitedWidth, t.ctx.setLineDash([]), t.ctx.strokeStyle = t.props.trailVisitedColor, t.ctx.lineCap = "butt", r(t.trailSubdivisions, 2, M)
},
o = function(t) {
return k >= t.length
},
u = function(e, i, r) {
var n = arguments.length <= 3 || void 0 === arguments[3] ? null : arguments[3];
null == n && (n = i);
var s = t.points[e],
a = t.points[e + 1] || null;
return o(s) ? null == a ? r : o(a) ? i : r : n
},
l = function(e, i) {
var r;
t.ctx.fillStyle = u(i, t.props.pointPastColor || e.color, t.props.pointPresentColor || e.color, t.props.pointFutureColor), t.ctx.beginPath(), (r = t.ctx).arc.apply(r, a(I(e)).concat([t.props.pointRadius || e.radius, 0, 2 * Math.PI])), t.ctx.fill()
},
c = function() {
return t.points.forEach(l)
},
h = function(e, i) {
var r, n, s = 15;
t.ctx.font = u(i, "normal", "bold") + " " + u(i, s, 1.2 * s) + "px Arial", t.ctx.textAlign = "left", t.ctx.textBaseline = "middle", t.ctx.fillStyle = u(i, t.props.fontPastColor, t.props.fontPresentColor, t.props.fontFutureColor), t.ctx.strokeStyle = "#FDFCEC", t.ctx.lineWidth = 6;
var o = (0, m.add)(e, {
x: 20 * j,
y: 0
});
(r = t.ctx).strokeText.apply(r, [e.label].concat(a(I(o)))), (n = t.ctx).fillText.apply(n, [e.label].concat(a(I(o))))
},
f = function() {
return t.points.forEach(h)
},
p = function() {
var e;
if (null != D) {
var i = {
x: D.width / 2,
y: D.height / 2
},
r = Math.atan2(R.y - C.y, R.x - C.x);
t.ctx.save(), (e = t.ctx).translate.apply(e, a(I(R.x, R.y))), t.ctx.rotate(r);
var n = 1.2 * b,
s = (0, g.clamp)(.5 > n ? (0, g.interpolate)(2 * n, 0, 1, g.easing.quad.out) : (0, g.interpolate)(2 * n - 1, 1, 0, g.easing.quad.in));
s *= .7, t.ctx.scale(s, s), t.ctx.drawImage(D, -i.x, -i.y), t.ctx.restore()
}
},
_ = function() {
for (var e = R4(F - t.mapBufferLast.zoom), i = R4(E.x - t.mapBufferLast.pos.x), r = R4(E.y - t.mapBufferLast.pos.y), n = 0; F > t.map[n].scale && n < t.map.length - 1;) n++;
var s = t.map[n].scale;
i < t.mapBufferMargin / 3 && r < t.mapBufferMargin / 3 && 1 > e && (F != s || t.mapBufferLast.zoom == s) || (t.mapBufferLast = {
zoom: F,
pos: {
x: E.x,
y: E.y
}
}, y())
},
v = !1,
y = function() {
v = !0;
var e = t.drawMapBuffer(t.mapBufferCtx, E, F);
t.mapBufferScale = e.scale, t.mapBufferOffset = e.offset, t.mapScale = e.mapScale
},
x = function() {
if (_(), v) t.ctx.drawImage(t.mapBuffer, R3(-t.mapBufferMargin / t.mapBufferScale), R3(-t.mapBufferMargin / t.mapBufferScale));
else {
var e = {
x: (E.x * t.mapScale - t.mapBufferOffset.x) / t.mapBufferScale,
y: (E.y * t.mapScale - t.mapBufferOffset.y) / t.mapBufferScale,
width: E.width * t.mapScale / t.mapBufferScale,
height: E.height * t.mapScale / t.mapBufferScale
},
i = {
x: 0,
y: 0,
width: t.state.width,
height: t.state.height
};
P(t.ctx, t.mapBuffer, e, i)
}
},
b = (this.cameraPath, this.state.pos),
S = (this.state.section, this.state.sectionIndex),
O = this.state.cameraSegment,
A = this.state.trailSegment,
k = (0, g.interpolate)(b, A.start, A.end, function(t) {
return (0, g.clamp)(1.2 * t)
}),
M = R3(k / this.trailSubdivisionSize),
R = this.trailSubdivisions[(0, g.clamp)(M, this.trailSubdivisions.length - 1)],
C = this.trailSubdivisions[(0, g.clamp)(M - 1, this.trailSubdivisions.length - 1)],
D = this.sectionsIcons[S],
E = this.getMapSliceAtPercent((0, g.interpolate)(b, O.start, O.end) / this.cameraLength),
F = E.zoom,
j = 1 / F,
N = (E.cameraPos, 1),
I = function t(e, i) {
return "object" == ("undefined" == typeof e ? "undefined" : s(e)) ? t(e.x, e.y) : [(e - E.x) * F, (i - E.y) * F]
};
this.ctx.fillStyle = "#fff", this.ctx.fillRect(0, 0, this.canvas.width * N, this.canvas.height * N), x(), n(), p(), c(), f(), i();
var L = T(this.ctx, "screen"),
z = this.ctx.createLinearGradient(this.sectionsBounds[0].right, 0, this.sectionsBounds[0].right + 200, 0);
L ? (z.addColorStop(0, "rgba(185, 217, 151, 1)"), z.addColorStop(1, "rgba(185, 217, 151, 0)")) : (z.addColorStop(0, "rgba(255, 255, 255, 0.85)"), z.addColorStop(1, "rgba(255, 255, 255, 0)")), this.ctx.fillStyle = z, this.ctx.fillRect(0, 0, this.sectionsBounds[0].right + 200, this.state.height), L && T(this.ctx)
}
},
render: function() {
this.renderMap()
}
};
return Object.assign((0, u.default)(t), e)
};
e.default = S
}, function(t, e) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
});
var i = function(t) {
return "function" == typeof t
},
r = function(t, e) {
var r = arguments.length <= 2 || void 0 === arguments[2] ? void 0 : arguments[2];
return i(e) ? e.call(t) : i(r) ? r.call(t) : r
},
n = function() {
var t = arguments.length <= 0 || void 0 === arguments[0] ? null : arguments[0],
e = {
_state: null,
_props: null,
_setProps: null,
_hasToRender: !1,
_container: null,
get hasToRender() {
return this._hasToRender
},
set hasToRender(t) {
t != this._hasToRender && (this._hasToRender = t, t && requestAnimationFrame(this.startRendering.bind(this)))
},
get state() {
return null == this._state && (this._state = r(this, this.initialState, {})), this._state
},
set state(t) {
var e = this,
i = Object.assign({}, this.state, t);
this._state = i, this.hasToRender = !0, Object.keys(t).forEach(function(t) {
return r(e, "onState" + t.substr(0, 1).toUpperCase() + t.substr(1))
})
},
get props() {
return null == this._props && (this._props = r(this, this.defaultProps, {})), null != this._setProps && (this._props = Object.assign({}, this._props, this._setProps)), this._props
},
set props(t) {
var e = Object.assign({}, this.props, t);
this._props = e, this.hasToRender = !0
},
get container() {
return this._container
},
appendTo: function(t) {
return "string" == typeof t && (t = document.querySelector(t)), this._container = t, r(this, this.init), this
},
startRendering: function() {
this.hasToRender && (r(this, this.render), this.hasToRender = !1)
}
};
return e._setProps = t, e
};
e.default = n
}, function(t, e) {
"use strict";
function i(t) {
return new Promise(function(e, i) {
var r = new Image;
r.addEventListener("load", function(t) {
e(r)
}), r.src = t
})
}
Object.defineProperty(e, "__esModule", {
value: !0
}), e.loadImage = i
}, function(t, e) {
"use strict";
function i(t, e) {
var i = arguments.length <= 2 || void 0 === arguments[2] ? !1 : arguments[2],
r = document.createElement("canvas"),
n = 1;
return i && (n = window.devicePixelRatio, r.style.width = t + "px", r.style.height = e + "px"), r.width = t * n, r.height = e * n, r
}
Object.defineProperty(e, "__esModule", {
value: !0
}), e.default = i
}, function(t, e) {
"use strict";
function i(t) {
return new Promise(function(e, i) {
var r = new XMLHttpRequest;
r.open("GET", t), r.onload = function(t) {
200 == r.status ? e(r.response) : i(r)
}, r.send()
})
}
Object.defineProperty(e, "__esModule", {
value: !0
}), e.default = i
}, function(t, e, i) {
"use strict";
function r(t) {
if (Array.isArray(t)) {
for (var e = 0, i = Array(t.length); e < t.length; e++) i[e] = t[e];
return i
}
return Array.from(t)
}
function n(t, e) {
var i = t.getPointAtLength(e);
return {
x: i.x,
y: i.y
}
}
function s(t) {
return t.getTotalLength()
}
function a(t, e) {
return Array.isArray(t) ? t[R3((0, h.clamp)(e) * (t.length - 1))] : n(t, e * s(t))
}
function o(t, e) {
var i = (0, c.sub)(t, e);
return Math.sqrt(i.x * i.x + i.y * i.y)
}
function u(t, e) {
var i = arguments.length <= 2 || void 0 === arguments[2] ? 10 : arguments[2],
a = arguments.length <= 3 || void 0 === arguments[3] ? 5 : arguments[3],
u = s(t);
return function s(u, l) {
var c = l - u,
h = c / (i - 1),
f = Array.from(Array(i)).map(function(i, r) {
var s = u + h * r,
a = n(t, s),
l = o(e, a);
return {
length: s,
point: a,
distance: l
}
}).sort(function(t, e) {
return t.distance - e.distance
}).map(function(t) {
return t.length
}).slice(0, 2);
return --a ? s.apply(void 0, r(f.sort(function(t, e) {
return t - e
}))) : f[0]
}(0, u)
}
function l(t, e) {
var i = arguments.length <= 2 || void 0 === arguments[2] ? !1 : arguments[2],
r = s(t);
i && (e = r / e);
var a = r / e;
return Array.from(Array(R3(e))).map(function(e, i) {
return n(t, i * a)
})
}
Object.defineProperty(e, "__esModule", {
value: !0
}), e.getPointAtLength = n, e.getLength = s, e.getPointAtPercent = a, e.getLengthAtPoint = u, e.subdividePath = l;
var c = i(197),
h = i(198)
}, function(t, e) {
"use strict";
function i(t) {
return t && "undefined" != typeof Symbol && t.constructor === Symbol ? "symbol" : typeof t
}
function r(t) {
if (Array.isArray(t)) {
for (var e = 0, i = Array(t.length); e < t.length; e++) i[e] = t[e];
return i
}
return Array.from(t)
}
function n(t, e, i) {
var n;
return (n = Object).assign.apply(n, [{}].concat(r(Object.keys(e).map(function(r) {
var n = {};
return n[r] = t(e[r], i), n
}))))
}
function s(t, e, i) {
var n, s = Object.keys(e);
Object.keys(i);
return (n = Object).assign.apply(n, [{}].concat(r(s.map(function(r) {
var n = {};
return n[r] = t(e[r], i[r]), n
}))))
}
function a(t, e, r) {
if (("undefined" == typeof e ? "undefined" : i(e)) == ("undefined" == typeof r ? "undefined" : i(r))) {
if ("number" == typeof e) return t(e, r);
if ("object" == ("undefined" == typeof e ? "undefined" : i(e))) return s(t, e, r)
} else if ("object" == ("undefined" == typeof e ? "undefined" : i(e))) return n(t, e, r)
}
function o(t, e) {
var i = Object.assign({}, e);
for (var r in i) i[r] = t(i[r]);
return i
}
function u(t, e) {
return a(f.mult, t, e)
}
function l(t, e) {
return a(f.sub, t, e)
}
function c(t, e) {
return a(f.add, t, e)
}
function h(t, e) {
return a(f.div, t, e)
}
Object.defineProperty(e, "__esModule", {
value: !0
}), e.applyToAll = o, e.mult = u, e.sub = l, e.add = c, e.div = h;
var f = {
add: function(t, e) {
return t + e
},
sub: function(t, e) {
return t - e
},
mult: function(t, e) {
return t * e
},
div: function(t, e) {
return t / e
}
}
}, function(t, e) {
"use strict";
function i(t) {
var e = arguments.length <= 1 || void 0 === arguments[1] ? null : arguments[1],
i = arguments.length <= 2 || void 0 === arguments[2] ? null : arguments[2];
return null == e ? (e = 0, i = 1) : null == i && (i = e, e = 0), Math.min(i, Math.max(e, t))
}
function r(t, e, i) {
var r = arguments.length <= 3 || void 0 === arguments[3] ? null : arguments[3];
null == r && (r = function(t) {
return t
}), t = r(t);
var n = i - e;
return e + t * n
}
Object.defineProperty(e, "__esModule", {
value: !0
}), e.clamp = i, e.interpolate = r;
e.easing = {
quad: { in: function(t) {
return t * t
},
out: function(t) {
return -1 * t * (t - 2)
},
inOut: function(t) {
return t /= .5, 1 > t ? .5 * t * t : (t--, -.5 * (t * (t - 2) - 1))
}
},
cubic: {
inOut: function(t) {
return t /= .5, 1 > t ? .5 * t * t * t : (t -= 2, .5 * (t * t * t + 2))
}
},
sine: {
inOut: function(t) {
return -.5 * (Math.cos(Math.PI * t) - 1)
}
}
}
}, function(t, e, i) {
var r, n;
(function(s) {
var a = "undefined" != typeof t && t.exports && "undefined" != typeof s ? s : this || window;
(a._gsQueue || (a._gsQueue = [])).push(function() {
"use strict";
a._gsDefine("TweenMax", ["core.Animation", "core.SimpleTimeline", "TweenLite"], function(t, e, i) {
var r = function(t) {
var e, i = [],
r = t.length;
for (e = 0; e !== r; i.push(t[e++]));
return i
},
n = function(t, e, i) {
var r, n, s = t.cycle;
for (r in s) n = s[r], t[r] = "function" == typeof n ? n.call(e[i], i) : n[i % n.length];
delete t.cycle
},
s = function(t, e, r) {
i.call(this, t, e, r), this._cycle = 0, this._yoyo = this.vars.yoyo === !0, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._dirty = !0, this.render = s.prototype.render
},
a = 1e-10,
o = i._internals,
u = o.isSelector,
l = o.isArray,
c = s.prototype = i.to({}, .1, {}),
h = [];
s.version = "1.18.0", c.constructor = s, c.kill()._gc = !1, s.killTweensOf = s.killDelayedCallsTo = i.killTweensOf, s.getTweensOf = i.getTweensOf, s.lagSmoothing = i.lagSmoothing, s.ticker = i.ticker, s.render = i.render, c.invalidate = function() {
return this._yoyo = this.vars.yoyo === !0, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._uncache(!0), i.prototype.invalidate.call(this)
}, c.updateTo = function(t, e) {
var r, n = this.ratio,
s = this.vars.immediateRender || t.immediateRender;
e && this._startTime < this._timeline._time && (this._startTime = this._timeline._time, this._uncache(!1), this._gc ? this._enabled(!0, !1) : this._timeline.insert(this, this._startTime - this._delay));
for (r in t) this.vars[r] = t[r];
if (this._initted || s)
if (e) this._initted = !1, s && this.render(0, !0, !0);
else if (this._gc && this._enabled(!0, !1), this._notifyPluginsOfEnabled && this._firstPT && i._onPluginEvent("_onDisable", this), this._time / this._duration > .998) {
var a = this._time;
this.render(0, !0, !1), this._initted = !1, this.render(a, !0, !1)
} else if (this._time > 0 || s) {
this._initted = !1, this._init();
for (var o, u = 1 / (1 - n), l = this._firstPT; l;) o = l.s + l.c, l.c *= u, l.s = o - l.c, l = l._next
}
return this
}, c.render = function(t, e, i) {
this._initted || 0 === this._duration && this.vars.repeat && this.invalidate();
var r, n, s, u, l, c, h, f, p = this._dirty ? this.totalDuration() : this._totalDuration,
_ = this._time,
d = this._totalTime,
m = this._cycle,
g = this._duration,
v = this._rawPrevTime;
if (t >= p ? (this._totalTime = p, this._cycle = this._repeat, this._yoyo && 0 !== (1 & this._cycle) ? (this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0) : (this._time = g, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1), this._reversed || (r = !0, n = "onComplete", i = i || this._timeline.autoRemoveChildren), 0 === g && (this._initted || !this.vars.lazy || i) && (this._startTime === this._timeline._duration && (t = 0), (0 === t || 0 > v || v === a) && v !== t && (i = !0, v > a && (n = "onReverseComplete")), this._rawPrevTime = f = !e || t || v === t ? t : a)) : 1e-7 > t ? (this._totalTime = this._time = this._cycle = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (0 !== d || 0 === g && v > 0) && (n = "onReverseComplete", r = this._reversed), 0 > t && (this._active = !1, 0 === g && (this._initted || !this.vars.lazy || i) && (v >= 0 && (i = !0), this._rawPrevTime = f = !e || t || v === t ? t : a)), this._initted || (i = !0)) : (this._totalTime = this._time = t, 0 !== this._repeat && (u = g + this._repeatDelay, this._cycle = this._totalTime / u >> 0, 0 !== this._cycle && this._cycle === this._totalTime / u && this._cycle--, this._time = this._totalTime - this._cycle * u, this._yoyo && 0 !== (1 & this._cycle) && (this._time = g - this._time), this._time > g ? this._time = g : this._time < 0 && (this._time = 0)), this._easeType ? (l = this._time / g, c = this._easeType, h = this._easePower, (1 === c || 3 === c && l >= .5) && (l = 1 - l), 3 === c && (l *= 2), 1 === h ? l *= l : 2 === h ? l *= l * l : 3 === h ? l *= l * l * l : 4 === h && (l *= l * l * l * l), 1 === c ? this.ratio = 1 - l : 2 === c ? this.ratio = l : this._time / g < .5 ? this.ratio = l / 2 : this.ratio = 1 - l / 2) : this.ratio = this._ease.getRatio(this._time / g)), _ === this._time && !i && m === this._cycle) return void(d !== this._totalTime && this._onUpdate && (e || this._callback("onUpdate")));
if (!this._initted) {
if (this._init(), !this._initted || this._gc) return;
if (!i && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration)) return this._time = _, this._totalTime = d, this._rawPrevTime = v, this._cycle = m, o.lazyTweens.push(this), void(this._lazy = [t, e]);
this._time && !r ? this.ratio = this._ease.getRatio(this._time / g) : r && this._ease._calcEnd && (this.ratio = this._ease.getRatio(0 === this._time ? 0 : 1))
}
for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== _ && t >= 0 && (this._active = !0), 0 === d && (2 === this._initted && t > 0 && this._init(), this._startAt && (t >= 0 ? this._startAt.render(t, e, i) : n || (n = "_dummyGS")), this.vars.onStart && (0 !== this._totalTime || 0 === g) && (e || this._callback("onStart"))), s = this._firstPT; s;) s.f ? s.t[s.p](s.c * this.ratio + s.s) : s.t[s.p] = s.c * this.ratio + s.s, s = s._next;
this._onUpdate && (0 > t && this._startAt && this._startTime && this._startAt.render(t, e, i), e || (this._totalTime !== d || r) && this._callback("onUpdate")), this._cycle !== m && (e || this._gc || this.vars.onRepeat && this._callback("onRepeat")), n && (!this._gc || i) && (0 > t && this._startAt && !this._onUpdate && this._startTime && this._startAt.render(t, e, i), r && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[n] && this._callback(n), 0 === g && this._rawPrevTime === a && f !== a && (this._rawPrevTime = 0))
}, s.to = function(t, e, i) {
return new s(t, e, i)
}, s.from = function(t, e, i) {
return i.runBackwards = !0, i.immediateRender = 0 != i.immediateRender, new s(t, e, i)
}, s.fromTo = function(t, e, i, r) {
return r.startAt = i, r.immediateRender = 0 != r.immediateRender && 0 != i.immediateRender, new s(t, e, r)
}, s.staggerTo = s.allTo = function(t, e, a, o, c, f, p) {
o = o || 0;
var _, d, m, g, v = a.delay || 0,
y = [],
x = function() {
a.onComplete && a.onComplete.apply(a.onCompleteScope || this, arguments), c.apply(p || a.callbackScope || this, f || h)
},
b = a.cycle,
w = a.startAt && a.startAt.cycle;
for (l(t) || ("string" == typeof t && (t = i.selector(t) || t), u(t) && (t = r(t))), t = t || [], 0 > o && (t = r(t), t.reverse(), o *= -1), _ = t.length - 1, m = 0; _ >= m; m++) {
d = {};
for (g in a) d[g] = a[g];
if (b && n(d, t, m), w) {
w = d.startAt = {};
for (g in a.startAt) w[g] = a.startAt[g];
n(d.startAt, t, m)
}
d.delay = v, m === _ && c && (d.onComplete = x), y[m] = new s(t[m], e, d), v += o
}
return y
}, s.staggerFrom = s.allFrom = function(t, e, i, r, n, a, o) {
return i.runBackwards = !0, i.immediateRender = 0 != i.immediateRender, s.staggerTo(t, e, i, r, n, a, o)
}, s.staggerFromTo = s.allFromTo = function(t, e, i, r, n, a, o, u) {
return r.startAt = i, r.immediateRender = 0 != r.immediateRender && 0 != i.immediateRender, s.staggerTo(t, e, r, n, a, o, u)
}, s.delayedCall = function(t, e, i, r, n) {
return new s(e, 0, {
delay: t,
onComplete: e,
onCompleteParams: i,
callbackScope: r,
onReverseComplete: e,
onReverseCompleteParams: i,
immediateRender: !1,
useFrames: n,
overwrite: 0
})
}, s.set = function(t, e) {
return new s(t, 0, e)
}, s.isTweening = function(t) {
return i.getTweensOf(t, !0).length > 0
};
var f = function(t, e) {
for (var r = [], n = 0, s = t._first; s;) s instanceof i ? r[n++] = s : (e && (r[n++] = s), r = r.concat(f(s, e)), n = r.length), s = s._next;
return r
},
p = s.getAllTweens = function(e) {
return f(t._rootTimeline, e).concat(f(t._rootFramesTimeline, e))
};
s.killAll = function(t, i, r, n) {
null == i && (i = !0), null == r && (r = !0);
var s, a, o, u = p(0 != n),
l = u.length,
c = i && r && n;
for (o = 0; l > o; o++) a = u[o], (c || a instanceof e || (s = a.target === a.vars.onComplete) && r || i && !s) && (t ? a.totalTime(a._reversed ? 0 : a.totalDuration()) : a._enabled(!1, !1))
}, s.killChildTweensOf = function(t, e) {
if (null != t) {
var n, a, c, h, f, p = o.tweenLookup;
if ("string" == typeof t && (t = i.selector(t) || t), u(t) && (t = r(t)), l(t))
for (h = t.length; --h > -1;) s.killChildTweensOf(t[h], e);
else {
n = [];
for (c in p)
for (a = p[c].target.parentNode; a;) a === t && (n = n.concat(p[c].tweens)), a = a.parentNode;
for (f = n.length, h = 0; f > h; h++) e && n[h].totalTime(n[h].totalDuration()), n[h]._enabled(!1, !1)
}
}
};
var _ = function(t, i, r, n) {
i = i !== !1, r = r !== !1, n = n !== !1;
for (var s, a, o = p(n), u = i && r && n, l = o.length; --l > -1;) a = o[l], (u || a instanceof e || (s = a.target === a.vars.onComplete) && r || i && !s) && a.paused(t)
};
return s.pauseAll = function(t, e, i) {
_(!0, t, e, i)
}, s.resumeAll = function(t, e, i) {
_(!1, t, e, i)
}, s.globalTimeScale = function(e) {
var r = t._rootTimeline,
n = i.ticker.time;
return arguments.length ? (e = e || a, r._startTime = n - (n - r._startTime) * r._timeScale / e, r = t._rootFramesTimeline, n = i.ticker.frame, r._startTime = n - (n - r._startTime) * r._timeScale / e, r._timeScale = t._rootTimeline._timeScale = e, e) : r._timeScale
}, c.progress = function(t) {
return arguments.length ? this.totalTime(this.duration() * (this._yoyo && 0 !== (1 & this._cycle) ? 1 - t : t) + this._cycle * (this._duration + this._repeatDelay), !1) : this._time / this.duration()
}, c.totalProgress = function(t) {
return arguments.length ? this.totalTime(this.totalDuration() * t, !1) : this._totalTime / this.totalDuration()
}, c.time = function(t, e) {
return arguments.length ? (this._dirty && this.totalDuration(), t > this._duration && (t = this._duration), this._yoyo && 0 !== (1 & this._cycle) ? t = this._duration - t + this._cycle * (this._duration + this._repeatDelay) : 0 !== this._repeat && (t += this._cycle * (this._duration + this._repeatDelay)), this.totalTime(t, e)) : this._time
}, c.duration = function(e) {
return arguments.length ? t.prototype.duration.call(this, e) : this._duration
}, c.totalDuration = function(t) {
return arguments.length ? -1 === this._repeat ? this : this.duration((t - this._repeat * this._repeatDelay) / (this._repeat + 1)) : (this._dirty && (this._totalDuration = -1 === this._repeat ? 999999999999 : this._duration * (this._repeat + 1) + this._repeatDelay * this._repeat, this._dirty = !1), this._totalDuration)
}, c.repeat = function(t) {
return arguments.length ? (this._repeat = t, this._uncache(!0)) : this._repeat
}, c.repeatDelay = function(t) {
return arguments.length ? (this._repeatDelay = t, this._uncache(!0)) : this._repeatDelay
}, c.yoyo = function(t) {
return arguments.length ? (this._yoyo = t, this) : this._yoyo
}, s
}, !0), a._gsDefine("TimelineLite", ["core.Animation", "core.SimpleTimeline", "TweenLite"], function(t, e, i) {
var r = function(t) {
e.call(this, t), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate;
var i, r, n = this.vars;
for (r in n) i = n[r], l(i) && -1 !== i.join("").indexOf("{self}") && (n[r] = this._swapSelfInParams(i));
l(n.tweens) && this.add(n.tweens, 0, n.align, n.stagger)
},
n = 1e-10,
s = i._internals,
o = r._internals = {},
u = s.isSelector,
l = s.isArray,
c = s.lazyTweens,
h = s.lazyRender,
f = a._gsDefine.globals,
p = function(t) {
var e, i = {};
for (e in t) i[e] = t[e];
return i
},
_ = function(t, e, i) {
var r, n, s = t.cycle;
for (r in s) n = s[r], t[r] = "function" == typeof n ? n.call(e[i], i) : n[i % n.length];
delete t.cycle
},
d = o.pauseCallback = function() {},
m = function(t) {
var e, i = [],
r = t.length;
for (e = 0; e !== r; i.push(t[e++]));
return i
},
g = r.prototype = new e;
return r.version = "1.18.0", g.constructor = r, g.kill()._gc = g._forcingPlayhead = g._hasPause = !1, g.to = function(t, e, r, n) {
var s = r.repeat && f.TweenMax || i;
return e ? this.add(new s(t, e, r), n) : this.set(t, r, n)
}, g.from = function(t, e, r, n) {
return this.add((r.repeat && f.TweenMax || i).from(t, e, r), n)
}, g.fromTo = function(t, e, r, n, s) {
var a = n.repeat && f.TweenMax || i;
return e ? this.add(a.fromTo(t, e, r, n), s) : this.set(t, n, s)
}, g.staggerTo = function(t, e, n, s, a, o, l, c) {
var h, f, d = new r({
onComplete: o,
onCompleteParams: l,
callbackScope: c,
smoothChildTiming: this.smoothChildTiming
}),
g = n.cycle;
for ("string" == typeof t && (t = i.selector(t) || t), t = t || [], u(t) && (t = m(t)), s = s || 0, 0 > s && (t = m(t), t.reverse(), s *= -1), f = 0; f < t.length; f++) h = p(n), h.startAt && (h.startAt = p(h.startAt), h.startAt.cycle && _(h.startAt, t, f)), g && _(h, t, f), d.to(t[f], e, h, f * s);
return this.add(d, a)
}, g.staggerFrom = function(t, e, i, r, n, s, a, o) {
return i.immediateRender = 0 != i.immediateRender, i.runBackwards = !0, this.staggerTo(t, e, i, r, n, s, a, o)
}, g.staggerFromTo = function(t, e, i, r, n, s, a, o, u) {
return r.startAt = i, r.immediateRender = 0 != r.immediateRender && 0 != i.immediateRender, this.staggerTo(t, e, r, n, s, a, o, u)
}, g.call = function(t, e, r, n) {
return this.add(i.delayedCall(0, t, e, r), n)
}, g.set = function(t, e, r) {
return r = this._parseTimeOrLabel(r, 0, !0), null == e.immediateRender && (e.immediateRender = r === this._time && !this._paused), this.add(new i(t, 0, e), r)
}, r.exportRoot = function(t, e) {
t = t || {}, null == t.smoothChildTiming && (t.smoothChildTiming = !0);
var n, s, a = new r(t),
o = a._timeline;
for (null == e && (e = !0), o._remove(a, !0), a._startTime = 0, a._rawPrevTime = a._time = a._totalTime = o._time, n = o._first; n;) s = n._next, e && n instanceof i && n.target === n.vars.onComplete || a.add(n, n._startTime - n._delay), n = s;
return o.add(a, 0), a
}, g.add = function(n, s, a, o) {
var u, c, h, f, p, _;
if ("number" != typeof s && (s = this._parseTimeOrLabel(s, 0, !0, n)), !(n instanceof t)) {
if (n instanceof Array || n && n.push && l(n)) {
for (a = a || "normal", o = o || 0, u = s, c = n.length, h = 0; c > h; h++) l(f = n[h]) && (f = new r({
tweens: f
})), this.add(f, u), "string" != typeof f && "function" != typeof f && ("sequence" === a ? u = f._startTime + f.totalDuration() / f._timeScale : "start" === a && (f._startTime -= f.delay())), u += o;
return this._uncache(!0)
}
if ("string" == typeof n) return this.addLabel(n, s);
if ("function" != typeof n) throw "Cannot add " + n + " into the timeline; it is not a tween, timeline, function, or string.";
n = i.delayedCall(0, n)
}
if (e.prototype.add.call(this, n, s), (this._gc || this._time === this._duration) && !this._paused && this._duration < this.duration())
for (p = this, _ = p.rawTime() > n._startTime; p._timeline;) _ && p._timeline.smoothChildTiming ? p.totalTime(p._totalTime, !0) : p._gc && p._enabled(!0, !1), p = p._timeline;
return this
}, g.remove = function(e) {
if (e instanceof t) {
this._remove(e, !1);
var i = e._timeline = e.vars.useFrames ? t._rootFramesTimeline : t._rootTimeline;
return e._startTime = (e._paused ? e._pauseTime : i._time) - (e._reversed ? e.totalDuration() - e._totalTime : e._totalTime) / e._timeScale, this
}
if (e instanceof Array || e && e.push && l(e)) {
for (var r = e.length; --r > -1;) this.remove(e[r]);
return this
}
return "string" == typeof e ? this.removeLabel(e) : this.kill(null, e)
}, g._remove = function(t, i) {
e.prototype._remove.call(this, t, i);
var r = this._last;
return r ? this._time > r._startTime + r._totalDuration / r._timeScale && (this._time = this.duration(), this._totalTime = this._totalDuration) : this._time = this._totalTime = this._duration = this._totalDuration = 0, this
}, g.append = function(t, e) {
return this.add(t, this._parseTimeOrLabel(null, e, !0, t))
}, g.insert = g.insertMultiple = function(t, e, i, r) {
return this.add(t, e || 0, i, r)
}, g.appendMultiple = function(t, e, i, r) {
return this.add(t, this._parseTimeOrLabel(null, e, !0, t), i, r)
}, g.addLabel = function(t, e) {
return this._labels[t] = this._parseTimeOrLabel(e), this
}, g.addPause = function(t, e, r, n) {
var s = i.delayedCall(0, d, r, n || this);
return s.vars.onComplete = s.vars.onReverseComplete = e, s.data = "isPause", this._hasPause = !0, this.add(s, t)
}, g.removeLabel = function(t) {
return delete this._labels[t], this
}, g.getLabelTime = function(t) {
return null != this._labels[t] ? this._labels[t] : -1
}, g._parseTimeOrLabel = function(e, i, r, n) {
var s;
if (n instanceof t && n.timeline === this) this.remove(n);
else if (n && (n instanceof Array || n.push && l(n)))
for (s = n.length; --s > -1;) n[s] instanceof t && n[s].timeline === this && this.remove(n[s]);
if ("string" == typeof i) return this._parseTimeOrLabel(i, r && "number" == typeof e && null == this._labels[i] ? e - this.duration() : 0, r);
if (i = i || 0, "string" != typeof e || !isNaN(e) && null == this._labels[e]) null == e && (e = this.duration());
else {
if (s = e.indexOf("="), -1 === s) return null == this._labels[e] ? r ? this._labels[e] = this.duration() + i : i : this._labels[e] + i;
i = parseInt(e.charAt(s - 1) + "1", 10) * Number(e.substr(s + 1)), e = s > 1 ? this._parseTimeOrLabel(e.substr(0, s - 1), 0, r) : this.duration()
}
return Number(e) + i
}, g.seek = function(t, e) {
return this.totalTime("number" == typeof t ? t : this._parseTimeOrLabel(t), e !== !1)
}, g.stop = function() {
return this.paused(!0)
}, g.gotoAndPlay = function(t, e) {
return this.play(t, e)
}, g.gotoAndStop = function(t, e) {
return this.pause(t, e)
}, g.render = function(t, e, i) {
this._gc && this._enabled(!0, !1);
var r, s, a, o, u, l, f = this._dirty ? this.totalDuration() : this._totalDuration,
p = this._time,
_ = this._startTime,
d = this._timeScale,
m = this._paused;
if (t >= f) this._totalTime = this._time = f, this._reversed || this._hasPausedChild() || (s = !0, o = "onComplete", u = !!this._timeline.autoRemoveChildren, 0 === this._duration && (0 === t || this._rawPrevTime < 0 || this._rawPrevTime === n) && this._rawPrevTime !== t && this._first && (u = !0, this._rawPrevTime > n && (o = "onReverseComplete"))), this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : n, t = f + 1e-4;
else if (1e-7 > t)
if (this._totalTime = this._time = 0, (0 !== p || 0 === this._duration && this._rawPrevTime !== n && (this._rawPrevTime > 0 || 0 > t && this._rawPrevTime >= 0)) && (o = "onReverseComplete", s = this._reversed), 0 > t) this._active = !1, this._timeline.autoRemoveChildren && this._reversed ? (u = s = !0, o = "onReverseComplete") : this._rawPrevTime >= 0 && this._first && (u = !0), this._rawPrevTime = t;
else {
if (this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : n, 0 === t && s)
for (r = this._first; r && 0 === r._startTime;) r._duration || (s = !1), r = r._next;
t = 0, this._initted || (u = !0)
}
else {
if (this._hasPause && !this._forcingPlayhead && !e) {
if (t >= p)
for (r = this._first; r && r._startTime <= t && !l;) r._duration || "isPause" !== r.data || r.ratio || 0 === r._startTime && 0 === this._rawPrevTime || (l = r), r = r._next;
else
for (r = this._last; r && r._startTime >= t && !l;) r._duration || "isPause" === r.data && r._rawPrevTime > 0 && (l = r), r = r._prev;
l && (this._time = t = l._startTime, this._totalTime = t + this._cycle * (this._totalDuration + this._repeatDelay))
}
this._totalTime = this._time = this._rawPrevTime = t
}
if (this._time !== p && this._first || i || u || l) {
if (this._initted || (this._initted = !0), this._active || !this._paused && this._time !== p && t > 0 && (this._active = !0), 0 === p && this.vars.onStart && 0 !== this._time && (e || this._callback("onStart")), this._time >= p)
for (r = this._first; r && (a = r._next, !this._paused || m);)(r._active || r._startTime <= this._time && !r._paused && !r._gc) && (l === r && this.pause(), r._reversed ? r.render((r._dirty ? r.totalDuration() : r._totalDuration) - (t - r._startTime) * r._timeScale, e, i) : r.render((t - r._startTime) * r._timeScale, e, i)), r = a;
else
for (r = this._last; r && (a = r._prev, !this._paused || m);) {
if (r._active || r._startTime <= p && !r._paused && !r._gc) {
if (l === r) {
for (l = r._prev; l && l.endTime() > this._time;) l.render(l._reversed ? l.totalDuration() - (t - l._startTime) * l._timeScale : (t - l._startTime) * l._timeScale, e, i), l = l._prev;
l = null, this.pause()
}
r._reversed ? r.render((r._dirty ? r.totalDuration() : r._totalDuration) - (t - r._startTime) * r._timeScale, e, i) : r.render((t - r._startTime) * r._timeScale, e, i)
}
r = a
}
this._onUpdate && (e || (c.length && h(), this._callback("onUpdate"))), o && (this._gc || (_ === this._startTime || d !== this._timeScale) && (0 === this._time || f >= this.totalDuration()) && (s && (c.length && h(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[o] && this._callback(o)))
}
}, g._hasPausedChild = function() {
for (var t = this._first; t;) {
if (t._paused || t instanceof r && t._hasPausedChild()) return !0;
t = t._next
}
return !1
}, g.getChildren = function(t, e, r, n) {
n = n || -9999999999;
for (var s = [], a = this._first, o = 0; a;) a._startTime < n || (a instanceof i ? e !== !1 && (s[o++] = a) : (r !== !1 && (s[o++] = a), t !== !1 && (s = s.concat(a.getChildren(!0, e, r)), o = s.length))), a = a._next;
return s
}, g.getTweensOf = function(t, e) {
var r, n, s = this._gc,
a = [],
o = 0;
for (s && this._enabled(!0, !0), r = i.getTweensOf(t), n = r.length; --n > -1;)(r[n].timeline === this || e && this._contains(r[n])) && (a[o++] = r[n]);
return s && this._enabled(!1, !0), a
}, g.recent = function() {
return this._recent
}, g._contains = function(t) {
for (var e = t.timeline; e;) {
if (e === this) return !0;
e = e.timeline
}
return !1
}, g.shiftChildren = function(t, e, i) {
i = i || 0;
for (var r, n = this._first, s = this._labels; n;) n._startTime >= i && (n._startTime += t), n = n._next;
if (e)
for (r in s) s[r] >= i && (s[r] += t);
return this._uncache(!0)
}, g._kill = function(t, e) {
if (!t && !e) return this._enabled(!1, !1);
for (var i = e ? this.getTweensOf(e) : this.getChildren(!0, !0, !1), r = i.length, n = !1; --r > -1;) i[r]._kill(t, e) && (n = !0);
return n
}, g.clear = function(t) {
var e = this.getChildren(!1, !0, !0),
i = e.length;
for (this._time = this._totalTime = 0; --i > -1;) e[i]._enabled(!1, !1);
return t !== !1 && (this._labels = {}), this._uncache(!0)
}, g.invalidate = function() {
for (var e = this._first; e;) e.invalidate(), e = e._next;
return t.prototype.invalidate.call(this)
}, g._enabled = function(t, i) {
if (t === this._gc)
for (var r = this._first; r;) r._enabled(t, !0), r = r._next;
return e.prototype._enabled.call(this, t, i)
}, g.totalTime = function(e, i, r) {
this._forcingPlayhead = !0;
var n = t.prototype.totalTime.apply(this, arguments);
return this._forcingPlayhead = !1, n
}, g.duration = function(t) {
return arguments.length ? (0 !== this.duration() && 0 !== t && this.timeScale(this._duration / t), this) : (this._dirty && this.totalDuration(), this._duration)
}, g.totalDuration = function(t) {
if (!arguments.length) {
if (this._dirty) {
for (var e, i, r = 0, n = this._last, s = 999999999999; n;) e = n._prev, n._dirty && n.totalDuration(), n._startTime > s && this._sortChildren && !n._paused ? this.add(n, n._startTime - n._delay) : s = n._startTime, n._startTime < 0 && !n._paused && (r -= n._startTime, this._timeline.smoothChildTiming && (this._startTime += n._startTime / this._timeScale), this.shiftChildren(-n._startTime, !1, -9999999999), s = 0), i = n._startTime + n._totalDuration / n._timeScale, i > r && (r = i), n = e;
this._duration = this._totalDuration = r, this._dirty = !1
}
return this._totalDuration
}
return 0 !== this.totalDuration() && 0 !== t && this.timeScale(this._totalDuration / t), this
}, g.paused = function(e) {
if (!e)
for (var i = this._first, r = this._time; i;) i._startTime === r && "isPause" === i.data && (i._rawPrevTime = 0), i = i._next;
return t.prototype.paused.apply(this, arguments)
}, g.usesFrames = function() {
for (var e = this._timeline; e._timeline;) e = e._timeline;
return e === t._rootFramesTimeline
}, g.rawTime = function() {
return this._paused ? this._totalTime : (this._timeline.rawTime() - this._startTime) * this._timeScale
}, r
}, !0), a._gsDefine("TimelineMax", ["TimelineLite", "TweenLite", "easing.Ease"], function(t, e, i) {
var r = function(e) {
t.call(this, e), this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._cycle = 0, this._yoyo = this.vars.yoyo === !0, this._dirty = !0
},
n = 1e-10,
s = e._internals,
a = s.lazyTweens,
o = s.lazyRender,
u = new i(null, null, 1, 0),
l = r.prototype = new t;
return l.constructor = r, l.kill()._gc = !1, r.version = "1.18.0", l.invalidate = function() {
return this._yoyo = this.vars.yoyo === !0, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._uncache(!0), t.prototype.invalidate.call(this)
}, l.addCallback = function(t, i, r, n) {
return this.add(e.delayedCall(0, t, r, n), i)
}, l.removeCallback = function(t, e) {
if (t)
if (null == e) this._kill(null, t);
else
for (var i = this.getTweensOf(t, !1), r = i.length, n = this._parseTimeOrLabel(e); --r > -1;) i[r]._startTime === n && i[r]._enabled(!1, !1);
return this
}, l.removePause = function(e) {
return this.removeCallback(t._internals.pauseCallback, e)
}, l.tweenTo = function(t, i) {
i = i || {};
var r, n, s, a = {
ease: u,
useFrames: this.usesFrames(),
immediateRender: !1
};
for (n in i) a[n] = i[n];
return a.time = this._parseTimeOrLabel(t), r = R4(Number(a.time) - this._time) / this._timeScale || .001, s = new e(this, r, a), a.onStart = function() {
s.target.paused(!0), s.vars.time !== s.target.time() && r === s.duration() && s.duration(R4(s.vars.time - s.target.time()) / s.target._timeScale), i.onStart && s._callback("onStart")
}, s
}, l.tweenFromTo = function(t, e, i) {
i = i || {}, t = this._parseTimeOrLabel(t), i.startAt = {
onComplete: this.seek,
onCompleteParams: [t],
callbackScope: this
}, i.immediateRender = i.immediateRender !== !1;
var r = this.tweenTo(e, i);
return r.duration(R4(r.vars.time - t) / this._timeScale || .001)
}, l.render = function(t, e, i) {
this._gc && this._enabled(!0, !1);
var r, s, u, l, c, h, f, p = this._dirty ? this.totalDuration() : this._totalDuration,
_ = this._duration,
d = this._time,
m = this._totalTime,
g = this._startTime,
v = this._timeScale,
y = this._rawPrevTime,
x = this._paused,
b = this._cycle;
if (t >= p) this._locked || (this._totalTime = p, this._cycle = this._repeat), this._reversed || this._hasPausedChild() || (s = !0, l = "onComplete", c = !!this._timeline.autoRemoveChildren, 0 === this._duration && (0 === t || 0 > y || y === n) && y !== t && this._first && (c = !0, y > n && (l = "onReverseComplete"))), this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : n, this._yoyo && 0 !== (1 & this._cycle) ? this._time = t = 0 : (this._time = _, t = _ + 1e-4);
else if (1e-7 > t)
if (this._locked || (this._totalTime = this._cycle = 0), this._time = 0, (0 !== d || 0 === _ && y !== n && (y > 0 || 0 > t && y >= 0) && !this._locked) && (l = "onReverseComplete", s = this._reversed), 0 > t) this._active = !1, this._timeline.autoRemoveChildren && this._reversed ? (c = s = !0, l = "onReverseComplete") : y >= 0 && this._first && (c = !0), this._rawPrevTime = t;
else {
if (this._rawPrevTime = _ || !e || t || this._rawPrevTime === t ? t : n, 0 === t && s)
for (r = this._first; r && 0 === r._startTime;) r._duration || (s = !1), r = r._next;
t = 0, this._initted || (c = !0)
}
else if (0 === _ && 0 > y && (c = !0), this._time = this._rawPrevTime = t, this._locked || (this._totalTime = t, 0 !== this._repeat && (h = _ + this._repeatDelay, this._cycle = this._totalTime / h >> 0, 0 !== this._cycle && this._cycle === this._totalTime / h && this._cycle--, this._time = this._totalTime - this._cycle * h, this._yoyo && 0 !== (1 & this._cycle) && (this._time = _ - this._time), this._time > _ ? (this._time = _, t = _ + 1e-4) : this._time < 0 ? this._time = t = 0 : t = this._time)), this._hasPause && !this._forcingPlayhead && !e) {
if (t = this._time, t >= d)
for (r = this._first; r && r._startTime <= t && !f;) r._duration || "isPause" !== r.data || r.ratio || 0 === r._startTime && 0 === this._rawPrevTime || (f = r), r = r._next;
else
for (r = this._last; r && r._startTime >= t && !f;) r._duration || "isPause" === r.data && r._rawPrevTime > 0 && (f = r), r = r._prev;
f && (this._time = t = f._startTime, this._totalTime = t + this._cycle * (this._totalDuration + this._repeatDelay))
}
if (this._cycle !== b && !this._locked) {
var w = this._yoyo && 0 !== (1 & b),
T = w === (this._yoyo && 0 !== (1 & this._cycle)),
P = this._totalTime,
S = this._cycle,
O = this._rawPrevTime,
A = this._time;
if (this._totalTime = b * _, this._cycle < b ? w = !w : this._totalTime += _, this._time = d, this._rawPrevTime = 0 === _ ? y - 1e-4 : y, this._cycle = b, this._locked = !0, d = w ? 0 : _, this.render(d, e, 0 === _), e || this._gc || this.vars.onRepeat && this._callback("onRepeat"), T && (d = w ? _ + 1e-4 : -1e-4, this.render(d, !0, !1)), this._locked = !1, this._paused && !x) return;
this._time = A, this._totalTime = P, this._cycle = S, this._rawPrevTime = O
}
if (!(this._time !== d && this._first || i || c || f)) return void(m !== this._totalTime && this._onUpdate && (e || this._callback("onUpdate")));
if (this._initted || (this._initted = !0), this._active || !this._paused && this._totalTime !== m && t > 0 && (this._active = !0), 0 === m && this.vars.onStart && 0 !== this._totalTime && (e || this._callback("onStart")), this._time >= d)
for (r = this._first; r && (u = r._next, !this._paused || x);)(r._active || r._startTime <= this._time && !r._paused && !r._gc) && (f === r && this.pause(), r._reversed ? r.render((r._dirty ? r.totalDuration() : r._totalDuration) - (t - r._startTime) * r._timeScale, e, i) : r.render((t - r._startTime) * r._timeScale, e, i)), r = u;
else
for (r = this._last; r && (u = r._prev, !this._paused || x);) {
if (r._active || r._startTime <= d && !r._paused && !r._gc) {
if (f === r) {
for (f = r._prev; f && f.endTime() > this._time;) f.render(f._reversed ? f.totalDuration() - (t - f._startTime) * f._timeScale : (t - f._startTime) * f._timeScale, e, i), f = f._prev;
f = null, this.pause()
}
r._reversed ? r.render((r._dirty ? r.totalDuration() : r._totalDuration) - (t - r._startTime) * r._timeScale, e, i) : r.render((t - r._startTime) * r._timeScale, e, i)
}
r = u
}
this._onUpdate && (e || (a.length && o(), this._callback("onUpdate"))), l && (this._locked || this._gc || (g === this._startTime || v !== this._timeScale) && (0 === this._time || p >= this.totalDuration()) && (s && (a.length && o(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[l] && this._callback(l)))
}, l.getActive = function(t, e, i) {
null == t && (t = !0), null == e && (e = !0), null == i && (i = !1);
var r, n, s = [],
a = this.getChildren(t, e, i),
o = 0,
u = a.length;
for (r = 0; u > r; r++) n = a[r], n.isActive() && (s[o++] = n);
return s
}, l.getLabelAfter = function(t) {
t || 0 !== t && (t = this._time);
var e, i = this.getLabelsArray(),
r = i.length;
for (e = 0; r > e; e++)
if (i[e].time > t) return i[e].name;
return null
}, l.getLabelBefore = function(t) {
null == t && (t = this._time);
for (var e = this.getLabelsArray(), i = e.length; --i > -1;)
if (e[i].time < t) return e[i].name;
return null
}, l.getLabelsArray = function() {
var t, e = [],
i = 0;
for (t in this._labels) e[i++] = {
time: this._labels[t],
name: t
};
return e.sort(function(t, e) {
return t.time - e.time
}), e
}, l.progress = function(t, e) {
return arguments.length ? this.totalTime(this.duration() * (this._yoyo && 0 !== (1 & this._cycle) ? 1 - t : t) + this._cycle * (this._duration + this._repeatDelay), e) : this._time / this.duration()
}, l.totalProgress = function(t, e) {
return arguments.length ? this.totalTime(this.totalDuration() * t, e) : this._totalTime / this.totalDuration()
}, l.totalDuration = function(e) {
return arguments.length ? -1 === this._repeat ? this : this.duration((e - this._repeat * this._repeatDelay) / (this._repeat + 1)) : (this._dirty && (t.prototype.totalDuration.call(this), this._totalDuration = -1 === this._repeat ? 999999999999 : this._duration * (this._repeat + 1) + this._repeatDelay * this._repeat), this._totalDuration)
}, l.time = function(t, e) {
return arguments.length ? (this._dirty && this.totalDuration(), t > this._duration && (t = this._duration), this._yoyo && 0 !== (1 & this._cycle) ? t = this._duration - t + this._cycle * (this._duration + this._repeatDelay) : 0 !== this._repeat && (t += this._cycle * (this._duration + this._repeatDelay)), this.totalTime(t, e)) : this._time
}, l.repeat = function(t) {
return arguments.length ? (this._repeat = t, this._uncache(!0)) : this._repeat
}, l.repeatDelay = function(t) {
return arguments.length ? (this._repeatDelay = t, this._uncache(!0)) : this._repeatDelay
}, l.yoyo = function(t) {
return arguments.length ? (this._yoyo = t, this) : this._yoyo
}, l.currentLabel = function(t) {
return arguments.length ? this.seek(t, !0) : this.getLabelBefore(this._time + 1e-8)
}, r
}, !0),
function() {
var t = 180 / Math.PI,
e = [],
i = [],
r = [],
n = {},
s = a._gsDefine.globals,
o = function(t, e, i, r) {
this.a = t, this.b = e, this.c = i, this.d = r, this.da = r - t, this.ca = i - t, this.ba = e - t
},
u = ",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",
l = function(t, e, i, r) {
var n = {
a: t
},
s = {},
a = {},
o = {
c: r
},
u = (t + e) / 2,
l = (e + i) / 2,
c = (i + r) / 2,
h = (u + l) / 2,
f = (l + c) / 2,
p = (f - h) / 8;
return n.b = u + (t - u) / 4, s.b = h + p, n.c = s.a = (n.b + s.b) / 2, s.c = a.a = (h + f) / 2, a.b = f - p, o.b = c + (r - c) / 4, a.c = o.a = (a.b + o.b) / 2, [n, s, a, o]
},
c = function(t, n, s, a, o) {
var u, c, h, f, p, _, d, m, g, v, y, x, b, w = t.length - 1,
T = 0,
P = t[0].a;
for (u = 0; w > u; u++) p = t[T], c = p.a, h = p.d, f = t[T + 1].d, o ? (y = e[u], x = i[u], b = (x + y) * n * .25 / (a ? .5 : r[u] || .5), _ = h - (h - c) * (a ? .5 * n : 0 !== y ? b / y : 0), d = h + (f - h) * (a ? .5 * n : 0 !== x ? b / x : 0), m = h - (_ + ((d - _) * (3 * y / (y + x) + .5) / 4 || 0))) : (_ = h - (h - c) * n * .5, d = h + (f - h) * n * .5, m = h - (_ + d) / 2), _ += m, d += m, p.c = g = _, 0 !== u ? p.b = P : p.b = P = p.a + .6 * (p.c - p.a), p.da = h - c, p.ca = g - c, p.ba = P - c, s ? (v = l(c, P, g, h), t.splice(T, 1, v[0], v[1], v[2], v[3]), T += 4) : T++, P = d;
p = t[T], p.b = P, p.c = P + .4 * (p.d - P), p.da = p.d - p.a, p.ca = p.c - p.a, p.ba = P - p.a, s && (v = l(p.a, P, p.c, p.d), t.splice(T, 1, v[0], v[1], v[2], v[3]))
},
h = function(t, r, n, s) {
var a, u, l, c, h, f, p = [];
if (s)
for (t = [s].concat(t), u = t.length; --u > -1;) "string" == typeof(f = t[u][r]) && "=" === f.charAt(1) && (t[u][r] = s[r] + Number(f.charAt(0) + f.substr(2)));
if (a = t.length - 2, 0 > a) return p[0] = new o(t[0][r], 0, 0, t[-1 > a ? 0 : 1][r]), p;
for (u = 0; a > u; u++) l = t[u][r], c = t[u + 1][r], p[u] = new o(l, 0, 0, c), n && (h = t[u + 2][r], e[u] = (e[u] || 0) + (c - l) * (c - l), i[u] = (i[u] || 0) + (h - c) * (h - c));
return p[u] = new o(t[u][r], 0, 0, t[u + 1][r]), p
},
f = function(t, s, a, o, l, f) {
var p, _, d, m, g, v, y, x, b = {},
w = [],
T = f || t[0];
l = "string" == typeof l ? "," + l + "," : u, null == s && (s = 1);
for (_ in t[0]) w.push(_);
if (t.length > 1) {
for (x = t[t.length - 1], y = !0, p = w.length; --p > -1;)
if (_ = w[p], R4(T[_] - x[_]) > .05) {
y = !1;
break
}
y && (t = t.concat(), f && t.unshift(f), t.push(t[1]), f = t[t.length - 3])
}
for (e.length = i.length = r.length = 0, p = w.length; --p > -1;) _ = w[p], n[_] = -1 !== l.indexOf("," + _ + ","), b[_] = h(t, _, n[_], f);
for (p = e.length; --p > -1;) e[p] = Math.sqrt(e[p]), i[p] = Math.sqrt(i[p]);
if (!o) {
for (p = w.length; --p > -1;)
if (n[_])
for (d = b[w[p]], v = d.length - 1, m = 0; v > m; m++) g = d[m + 1].da / i[m] + d[m].da / e[m], r[m] = (r[m] || 0) + g * g;
for (p = r.length; --p > -1;) r[p] = Math.sqrt(r[p])
}
for (p = w.length, m = a ? 4 : 1; --p > -1;) _ = w[p], d = b[_], c(d, s, a, o, n[_]), y && (d.splice(0, m), d.splice(d.length - m, m));
return b
},
p = function(t, e, i) {
e = e || "soft";
var r, n, s, a, u, l, c, h, f, p, _, d = {},
m = "cubic" === e ? 3 : 2,
g = "soft" === e,
v = [];
if (g && i && (t = [i].concat(t)), null == t || t.length < m + 1) throw "invalid Bezier data";
for (f in t[0]) v.push(f);
for (l = v.length; --l > -1;) {
for (f = v[l], d[f] = u = [], p = 0, h = t.length, c = 0; h > c; c++) r = null == i ? t[c][f] : "string" == typeof(_ = t[c][f]) && "=" === _.charAt(1) ? i[f] + Number(_.charAt(0) + _.substr(2)) : Number(_), g && c > 1 && h - 1 > c && (u[p++] = (r + u[p - 2]) / 2), u[p++] = r;
for (h = p - m + 1, p = 0, c = 0; h > c; c += m) r = u[c], n = u[c + 1], s = u[c + 2], a = 2 === m ? 0 : u[c + 3], u[p++] = _ = 3 === m ? new o(r, n, s, a) : new o(r, (2 * n + r) / 3, (2 * n + s) / 3, s);
u.length = p
}
return d
},
_ = function(t, e, i) {
for (var r, n, s, a, o, u, l, c, h, f, p, _ = 1 / i, d = t.length; --d > -1;)
for (f = t[d], s = f.a, a = f.d - s, o = f.c - s, u = f.b - s, r = n = 0, c = 1; i >= c; c++) l = _ * c, h = 1 - l, r = n - (n = (l * l * a + 3 * h * (l * o + h * u)) * l), p = d * i + c - 1, e[p] = (e[p] || 0) + r * r
},
d = function(t, e) {
e = e >> 0 || 6;
var i, r, n, s, a = [],
o = [],
u = 0,
l = 0,
c = e - 1,
h = [],
f = [];
for (i in t) _(t[i], a, e);
for (n = a.length, r = 0; n > r; r++) u += Math.sqrt(a[r]), s = r % e, f[s] = u, s === c && (l += u, s = r / e >> 0, h[s] = f, o[s] = l, u = 0, f = []);
return {
length: l,
lengths: o,
segments: h
}
},
m = a._gsDefine.plugin({
propName: "bezier",
priority: -1,
version: "1.3.4",
API: 2,
global: !0,
init: function(t, e, i) {
this._target = t, e instanceof Array && (e = {
values: e
}), this._func = {}, this._round = {}, this._props = [], this._timeRes = null == e.timeResolution ? 6 : parseInt(e.timeResolution, 10);
var r, n, s, a, o, u = e.values || [],
l = {},
c = u[0],
h = e.autoRotate || i.vars.orientToBezier;
this._autoRotate = h ? h instanceof Array ? h : [
["x", "y", "rotation", h === !0 ? 0 : Number(h) || 0]
] : null;
for (r in c) this._props.push(r);
for (s = this._props.length; --s > -1;) r = this._props[s], this._overwriteProps.push(r), n = this._func[r] = "function" == typeof t[r], l[r] = n ? t[r.indexOf("set") || "function" != typeof t["get" + r.substr(3)] ? r : "get" + r.substr(3)]() : parseFloat(t[r]), o || l[r] !== u[0][r] && (o = l);
if (this._beziers = "cubic" !== e.type && "quadratic" !== e.type && "soft" !== e.type ? f(u, isNaN(e.curviness) ? 1 : e.curviness, !1, "thruBasic" === e.type, e.correlate, o) : p(u, e.type, l), this._segCount = this._beziers[r].length, this._timeRes) {
var _ = d(this._beziers, this._timeRes);
this._length = _.length, this._lengths = _.lengths, this._segments = _.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
}
if (h = this._autoRotate)
for (this._initialRotations = [], h[0] instanceof Array || (this._autoRotate = h = [h]), s = h.length; --s > -1;) {
for (a = 0; 3 > a; a++) r = h[s][a], this._func[r] = "function" == typeof t[r] ? t[r.indexOf("set") || "function" != typeof t["get" + r.substr(3)] ? r : "get" + r.substr(3)] : !1;
r = h[s][2], this._initialRotations[s] = this._func[r] ? this._func[r].call(this._target) : this._target[r]
}
return this._startRatio = i.vars.runBackwards ? 1 : 0, !0
},
set: function(e) {
var i, r, n, s, a, o, u, l, c, h, f = this._segCount,
p = this._func,
_ = this._target,
d = e !== this._startRatio;
if (this._timeRes) {
if (c = this._lengths, h = this._curSeg, e *= this._length, n = this._li, e > this._l2 && f - 1 > n) {
for (l = f - 1; l > n && (this._l2 = c[++n]) <= e;);
this._l1 = c[n - 1], this._li = n, this._curSeg = h = this._segments[n], this._s2 = h[this._s1 = this._si = 0]
} else if (e < this._l1 && n > 0) {
for (; n > 0 && (this._l1 = c[--n]) >= e;);
0 === n && e < this._l1 ? this._l1 = 0 : n++, this._l2 = c[n], this._li = n, this._curSeg = h = this._segments[n], this._s1 = h[(this._si = h.length - 1) - 1] || 0, this._s2 = h[this._si]
}
if (i = n, e -= this._l1, n = this._si, e > this._s2 && n < h.length - 1) {
for (l = h.length - 1; l > n && (this._s2 = h[++n]) <= e;);
this._s1 = h[n - 1], this._si = n
} else if (e < this._s1 && n > 0) {
for (; n > 0 && (this._s1 = h[--n]) >= e;);
0 === n && e < this._s1 ? this._s1 = 0 : n++, this._s2 = h[n], this._si = n
}
o = (n + (e - this._s1) / (this._s2 - this._s1)) * this._prec
} else i = 0 > e ? 0 : e >= 1 ? f - 1 : f * e >> 0, o = (e - i * (1 / f)) * f;
for (r = 1 - o, n = this._props.length; --n > -1;) s = this._props[n], a = this._beziers[s][i], u = (o * o * a.da + 3 * r * (o * a.ca + r * a.ba)) * o + a.a, this._round[s] && (u = R3(u)), p[s] ? _[s](u) : _[s] = u;
if (this._autoRotate) {
var m, g, v, y, x, b, w, T = this._autoRotate;
for (n = T.length; --n > -1;) s = T[n][2], b = T[n][3] || 0, w = T[n][4] === !0 ? 1 : t, a = this._beziers[T[n][0]], m = this._beziers[T[n][1]], a && m && (a = a[i], m = m[i], g = a.a + (a.b - a.a) * o, y = a.b + (a.c - a.b) * o, g += (y - g) * o, y += (a.c + (a.d - a.c) * o - y) * o, v = m.a + (m.b - m.a) * o, x = m.b + (m.c - m.b) * o, v += (x - v) * o, x += (m.c + (m.d - m.c) * o - x) * o, u = d ? Math.atan2(x - v, y - g) * w + b : this._initialRotations[n], p[s] ? _[s](u) : _[s] = u)
}
}
}),
g = m.prototype;
m.bezierThrough = f, m.cubicToQuadratic = l, m._autoCSS = !0, m.quadraticToCubic = function(t, e, i) {
return new o(t, (2 * e + t) / 3, (2 * e + i) / 3, i)
}, m._cssRegister = function() {
var t = s.CSSPlugin;
if (t) {
var e = t._internals,
i = e._parseToProxy,
r = e._setPluginRatio,
n = e.CSSPropTween;
e._registerComplexSpecialProp("bezier", {
parser: function(t, e, s, a, o, u) {
e instanceof Array && (e = {
values: e
}), u = new m;
var l, c, h, f = e.values,
p = f.length - 1,
_ = [],
d = {};
if (0 > p) return o;
for (l = 0; p >= l; l++) h = i(t, f[l], a, o, u, p !== l), _[l] = h.end;
for (c in e) d[c] = e[c];
return d.values = _, o = new n(t, "bezier", 0, 0, h.pt, 2), o.data = h, o.plugin = u, o.setRatio = r, 0 === d.autoRotate && (d.autoRotate = !0), !d.autoRotate || d.autoRotate instanceof Array || (l = d.autoRotate === !0 ? 0 : Number(d.autoRotate), d.autoRotate = null != h.end.left ? [
["left", "top", "rotation", l, !1]
] : null != h.end.x ? [
["x", "y", "rotation", l, !1]
] : !1), d.autoRotate && (a._transform || a._enableTransforms(!1), h.autoRotate = a._target._gsTransform), u._onInitTween(h.proxy, d, a._tween), o
}
})
}
}, g._roundProps = function(t, e) {
for (var i = this._overwriteProps, r = i.length; --r > -1;)(t[i[r]] || t.bezier || t.bezierThrough) && (this._round[i[r]] = e)
}, g._kill = function(t) {
var e, i, r = this._props;
for (e in this._beziers)
if (e in t)
for (delete this._beziers[e], delete this._func[e], i = r.length; --i > -1;) r[i] === e && r.splice(i, 1);
return this._super._kill.call(this, t)
}
}(), a._gsDefine("plugins.CSSPlugin", ["plugins.TweenPlugin", "TweenLite"], function(t, e) {
var i, r, n, s, o = function() {
t.call(this, "css"), this._overwriteProps.length = 0, this.setRatio = o.prototype.setRatio
},
u = a._gsDefine.globals,
l = {},
c = o.prototype = new t("css");
c.constructor = o, o.version = "1.18.0", o.API = 2, o.defaultTransformPerspective = 0, o.defaultSkewType = "compensated", o.defaultSmoothOrigin = !0, c = "px", o.suffixMap = {
top: c,
right: c,
bottom: c,
left: c,
width: c,
height: c,
fontSize: c,
padding: c,
margin: c,
perspective: c,
lineHeight: ""
};
var h, f, p, _, d, m, g = /(?:\d|\-\d|\.\d|\-\.\d)+/g,
v = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
y = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,
x = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,
b = /(?:\d|\-|\+|=|#|\.)*/g,
w = /opacity *= *([^)]*)/i,
T = /opacity:([^;]*)/i,
P = /alpha\(opacity *=.+?\)/i,
S = /^(rgb|hsl)/,
O = /([A-Z])/g,
A = /-([a-z])/gi,
k = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,
M = function(t, e) {
return e.toUpperCase()
},
R = /(?:Left|Right|Width)/i,
C = /(M11|M12|M21|M22)=[\d\-\.e]+/gi,
D = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,
E = /,(?=[^\)]*(?:\(|$))/gi,
F = Math.PI / 180,
j = 180 / Math.PI,
N = {},
I = document,
L = function(t) {
return I.createElementNS ? I.createElementNS("http://www.w3.org/1999/xhtml", t) : I.createElement(t)
},
z = L("div"),
B = L("img"),
X = o._internals = {
_specialProps: l
},
Y = navigator.userAgent,
W = function() {
var t = Y.indexOf("Android"),
e = L("a");
return p = -1 !== Y.indexOf("Safari") && -1 === Y.indexOf("Chrome") && (-1 === t || Number(Y.substr(t + 8, 1)) > 3), d = p && Number(Y.substr(Y.indexOf("Version/") + 8, 1)) < 6, _ = -1 !== Y.indexOf("Firefox"), (/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y) || /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Y)) && (m = parseFloat(RegExp.$1)), e ? (e.style.cssText = "top:1px;opacity:.55;", /^0.55/.test(e.style.opacity)) : !1
}(),
q = function(t) {
return w.test("string" == typeof t ? t : (t.currentStyle ? t.currentStyle.filter : t.style.filter) || "") ? parseFloat(RegExp.$1) / 100 : 1
},
U = function(t) {
window.console && console.log(t)
},
V = "",
G = "",
Z = function(t, e) {
e = e || z;
var i, r, n = e.style;
if (void 0 !== n[t]) return t;
for (t = t.charAt(0).toUpperCase() + t.substr(1), i = ["O", "Moz", "ms", "Ms", "Webkit"], r = 5; --r > -1 && void 0 === n[i[r] + t];);
return r >= 0 ? (G = 3 === r ? "ms" : i[r], V = "-" + G.toLowerCase() + "-", G + t) : null
},
H = I.defaultView ? I.defaultView.getComputedStyle : function() {},
$ = o.getStyle = function(t, e, i, r, n) {
var s;
return W || "opacity" !== e ? (!r && t.style[e] ? s = t.style[e] : (i = i || H(t)) ? s = i[e] || i.getPropertyValue(e) || i.getPropertyValue(e.replace(O, "-$1").toLowerCase()) : t.currentStyle && (s = t.currentStyle[e]), null == n || s && "none" !== s && "auto" !== s && "auto auto" !== s ? s : n) : q(t)
},
K = X.convertToPixels = function(t, i, r, n, s) {
if ("px" === n || !n) return r;
if ("auto" === n || !r) return 0;
var a, u, l, c = R.test(i),
h = t,
f = z.style,
p = 0 > r;
if (p && (r = -r), "%" === n && -1 !== i.indexOf("border")) a = r / 100 * (c ? t.clientWidth : t.clientHeight);
else {
if (f.cssText = "border:0 solid red;position:" + $(t, "position") + ";line-height:0;", "%" !== n && h.appendChild && "v" !== n.charAt(0) && "rem" !== n) f[c ? "borderLeftWidth" : "borderTopWidth"] = r + n;
else {
if (h = t.parentNode || I.body, u = h._gsCache, l = e.ticker.frame, u && c && u.time === l) return u.width * r / 100;
f[c ? "width" : "height"] = r + n
}
h.appendChild(z), a = parseFloat(z[c ? "offsetWidth" : "offsetHeight"]), h.removeChild(z), c && "%" === n && o.cacheWidths !== !1 && (u = h._gsCache = h._gsCache || {}, u.time = l, u.width = a / r * 100), 0 !== a || s || (a = K(t, i, r, n, !0))
}
return p ? -a : a
},
Q = X.calculateOffset = function(t, e, i) {
if ("absolute" !== $(t, "position", i)) return 0;
var r = "left" === e ? "Left" : "Top",
n = $(t, "margin" + r, i);
return t["offset" + r] - (K(t, e, parseFloat(n), n.replace(b, "")) || 0)
},
J = function(t, e) {
var i, r, n, s = {};
if (e = e || H(t, null))
if (i = e.length)
for (; --i > -1;) n = e[i], (-1 === n.indexOf("-transform") || Ot === n) && (s[n.replace(A, M)] = e.getPropertyValue(n));
else
for (i in e)(-1 === i.indexOf("Transform") || St === i) && (s[i] = e[i]);
else if (e = t.currentStyle || t.style)
for (i in e) "string" == typeof i && void 0 === s[i] && (s[i.replace(A, M)] = e[i]);
return W || (s.opacity = q(t)), r = Lt(t, e, !1), s.rotation = r.rotation, s.skewX = r.skewX, s.scaleX = r.scaleX, s.scaleY = r.scaleY, s.x = r.x, s.y = r.y, kt && (s.z = r.z, s.rotationX = r.rotationX, s.rotationY = r.rotationY, s.scaleZ = r.scaleZ), s.filters && delete s.filters, s
},
tt = function(t, e, i, r, n) {
var s, a, o, u = {},
l = t.style;
for (a in i) "cssText" !== a && "length" !== a && isNaN(a) && (e[a] !== (s = i[a]) || n && n[a]) && -1 === a.indexOf("Origin") && ("number" == typeof s || "string" == typeof s) && (u[a] = "auto" !== s || "left" !== a && "top" !== a ? "" !== s && "auto" !== s && "none" !== s || "string" != typeof e[a] || "" === e[a].replace(x, "") ? s : 0 : Q(t, a), void 0 !== l[a] && (o = new dt(l, a, l[a], o)));
if (r)
for (a in r) "className" !== a && (u[a] = r[a]);
return {
difs: u,
firstMPT: o
}
},
et = {
width: ["Left", "Right"],
height: ["Top", "Bottom"]
},
it = ["marginLeft", "marginRight", "marginTop", "marginBottom"],
rt = function(t, e, i) {
var r = parseFloat("width" === e ? t.offsetWidth : t.offsetHeight),
n = et[e],
s = n.length;
for (i = i || H(t, null); --s > -1;) r -= parseFloat($(t, "padding" + n[s], i, !0)) || 0, r -= parseFloat($(t, "border" + n[s] + "Width", i, !0)) || 0;
return r
},
nt = function(t, e) {
if ("contain" === t || "auto" === t || "auto auto" === t) return t + " ";
(null == t || "" === t) && (t = "0 0");
var i = t.split(" "),
r = -1 !== t.indexOf("left") ? "0%" : -1 !== t.indexOf("right") ? "100%" : i[0],
n = -1 !== t.indexOf("top") ? "0%" : -1 !== t.indexOf("bottom") ? "100%" : i[1];
return null == n ? n = "center" === r ? "50%" : "0" : "center" === n && (n = "50%"), ("center" === r || isNaN(parseFloat(r)) && -1 === (r + "").indexOf("=")) && (r = "50%"), t = r + " " + n + (i.length > 2 ? " " + i[2] : ""), e && (e.oxp = -1 !== r.indexOf("%"), e.oyp = -1 !== n.indexOf("%"), e.oxr = "=" === r.charAt(1), e.oyr = "=" === n.charAt(1), e.ox = parseFloat(r.replace(x, "")), e.oy = parseFloat(n.replace(x, "")), e.v = t), e || t
},
st = function(t, e) {
return "string" == typeof t && "=" === t.charAt(1) ? parseInt(t.charAt(0) + "1", 10) * parseFloat(t.substr(2)) : parseFloat(t) - parseFloat(e)
},
at = function(t, e) {
return null == t ? e : "string" == typeof t && "=" === t.charAt(1) ? parseInt(t.charAt(0) + "1", 10) * parseFloat(t.substr(2)) + e : parseFloat(t)
},
ot = function(t, e, i, r) {
var n, s, a, o, u, l = 1e-6;
return null == t ? o = e : "number" == typeof t ? o = t : (n = 360, s = t.split("_"), u = "=" === t.charAt(1), a = (u ? parseInt(t.charAt(0) + "1", 10) * parseFloat(s[0].substr(2)) : parseFloat(s[0])) * (-1 === t.indexOf("rad") ? 1 : j) - (u ? 0 : e), s.length && (r && (r[i] = e + a), -1 !== t.indexOf("short") && (a %= n, a !== a % (n / 2) && (a = 0 > a ? a + n : a - n)), -1 !== t.indexOf("_cw") && 0 > a ? a = (a + 9999999999 * n) % n - (a / n | 0) * n : -1 !== t.indexOf("ccw") && a > 0 && (a = (a - 9999999999 * n) % n - (a / n | 0) * n)), o = e + a), l > o && o > -l && (o = 0), o
},
ut = {
aqua: [0, 255, 255],
lime: [0, 255, 0],
silver: [192, 192, 192],
black: [0, 0, 0],
maroon: [128, 0, 0],
teal: [0, 128, 128],
blue: [0, 0, 255],
navy: [0, 0, 128],
white: [255, 255, 255],
fuchsia: [255, 0, 255],
olive: [128, 128, 0],
yellow: [255, 255, 0],
orange: [255, 165, 0],
gray: [128, 128, 128],
purple: [128, 0, 128],
green: [0, 128, 0],
red: [255, 0, 0],
pink: [255, 192, 203],
cyan: [0, 255, 255],
transparent: [255, 255, 255, 0]
},
lt = function(t, e, i) {
return t = 0 > t ? t + 1 : t > 1 ? t - 1 : t, 255 * (1 > 6 * t ? e + (i - e) * t * 6 : .5 > t ? i : 2 > 3 * t ? e + (i - e) * (2 / 3 - t) * 6 : e) + .5 | 0
},
ct = o.parseColor = function(t, e) {
var i, r, n, s, a, o, u, l, c, h, f;
if (t)
if ("number" == typeof t) i = [t >> 16, t >> 8 & 255, 255 & t];
else {
if ("," === t.charAt(t.length - 1) && (t = t.substr(0, t.length - 1)), ut[t]) i = ut[t];
else if ("#" === t.charAt(0)) 4 === t.length && (r = t.charAt(1), n = t.charAt(2), s = t.charAt(3), t = "#" + r + r + n + n + s + s), t = parseInt(t.substr(1), 16), i = [t >> 16, t >> 8 & 255, 255 & t];
else if ("hsl" === t.substr(0, 3))
if (i = f = t.match(g), e) {
if (-1 !== t.indexOf("=")) return t.match(v)
} else a = Number(i[0]) % 360 / 360, o = Number(i[1]) / 100, u = Number(i[2]) / 100, n = .5 >= u ? u * (o + 1) : u + o - u * o, r = 2 * u - n, i.length > 3 && (i[3] = Number(t[3])), i[0] = lt(a + 1 / 3, r, n), i[1] = lt(a, r, n), i[2] = lt(a - 1 / 3, r, n);
else i = t.match(g) || ut.transparent;
i[0] = Number(i[0]), i[1] = Number(i[1]), i[2] = Number(i[2]), i.length > 3 && (i[3] = Number(i[3]))
}
else i = ut.black;
return e && !f && (r = i[0] / 255, n = i[1] / 255, s = i[2] / 255, l = Math.max(r, n, s), c = Math.min(r, n, s), u = (l + c) / 2, l === c ? a = o = 0 : (h = l - c, o = u > .5 ? h / (2 - l - c) : h / (l + c), a = l === r ? (n - s) / h + (s > n ? 6 : 0) : l === n ? (s - r) / h + 2 : (r - n) / h + 4, a *= 60), i[0] = a + .5 | 0, i[1] = 100 * o + .5 | 0, i[2] = 100 * u + .5 | 0), i
},
ht = function(t, e) {
var i, r, n, s = t.match(ft) || [],
a = 0,
o = s.length ? "" : t;
for (i = 0; i < s.length; i++) r = s[i], n = t.substr(a, t.indexOf(r, a) - a), a += n.length + r.length, r = ct(r, e), 3 === r.length && r.push(1), o += n + (e ? "hsla(" + r[0] + "," + r[1] + "%," + r[2] + "%," + r[3] : "rgba(" + r.join(",")) + ")";
return o
},
ft = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";
for (c in ut) ft += "|" + c + "\\b";
ft = new RegExp(ft + ")", "gi"), o.colorStringFilter = function(t) {
var e, i = t[0] + t[1];
ft.lastIndex = 0, ft.test(i) && (e = -1 !== i.indexOf("hsl(") || -1 !== i.indexOf("hsla("), t[0] = ht(t[0], e), t[1] = ht(t[1], e))
}, e.defaultStringFilter || (e.defaultStringFilter = o.colorStringFilter);
var pt = function(t, e, i, r) {
if (null == t) return function(t) {
return t
};
var n, s = e ? (t.match(ft) || [""])[0] : "",
a = t.split(s).join("").match(y) || [],
o = t.substr(0, t.indexOf(a[0])),
u = ")" === t.charAt(t.length - 1) ? ")" : "",
l = -1 !== t.indexOf(" ") ? " " : ",",
c = a.length,
h = c > 0 ? a[0].replace(g, "") : "";
return c ? n = e ? function(t) {
var e, f, p, _;
if ("number" == typeof t) t += h;
else if (r && E.test(t)) {
for (_ = t.replace(E, "|").split("|"), p = 0; p < _.length; p++) _[p] = n(_[p]);
return _.join(",")
}
if (e = (t.match(ft) || [s])[0], f = t.split(e).join("").match(y) || [], p = f.length, c > p--)
for (; ++p < c;) f[p] = i ? f[(p - 1) / 2 | 0] : a[p];
return o + f.join(l) + l + e + u + (-1 !== t.indexOf("inset") ? " inset" : "")
} : function(t) {
var e, s, f;
if ("number" == typeof t) t += h;
else if (r && E.test(t)) {
for (s = t.replace(E, "|").split("|"), f = 0; f < s.length; f++) s[f] = n(s[f]);
return s.join(",")
}
if (e = t.match(y) || [], f = e.length, c > f--)
for (; ++f < c;) e[f] = i ? e[(f - 1) / 2 | 0] : a[f];
return o + e.join(l) + u
} : function(t) {
return t
}
},
_t = function(t) {
return t = t.split(","),
function(e, i, r, n, s, a, o) {
var u, l = (i + "").split(" ");
for (o = {}, u = 0; 4 > u; u++) o[t[u]] = l[u] = l[u] || l[(u - 1) / 2 >> 0];
return n.parse(e, o, s, a)
}
},
dt = (X._setPluginRatio = function(t) {
this.plugin.setRatio(t);
for (var e, i, r, n, s = this.data, a = s.proxy, o = s.firstMPT, u = 1e-6; o;) e = a[o.v], o.r ? e = R3(e) : u > e && e > -u && (e = 0), o.t[o.p] = e, o = o._next;
if (s.autoRotate && (s.autoRotate.rotation = a.rotation), 1 === t)
for (o = s.firstMPT; o;) {
if (i = o.t, i.type) {
if (1 === i.type) {
for (n = i.xs0 + i.s + i.xs1, r = 1; r < i.l; r++) n += i["xn" + r] + i["xs" + (r + 1)];
i.e = n
}
} else i.e = i.s + i.xs0;
o = o._next
}
}, function(t, e, i, r, n) {
this.t = t, this.p = e, this.v = i, this.r = n, r && (r._prev = this, this._next = r)
}),
mt = (X._parseToProxy = function(t, e, i, r, n, s) {
var a, o, u, l, c, h = r,
f = {},
p = {},
_ = i._transform,
d = N;
for (i._transform = null, N = e, r = c = i.parse(t, e, r, n), N = d, s && (i._transform = _, h && (h._prev = null, h._prev && (h._prev._next = null))); r && r !== h;) {
if (r.type <= 1 && (o = r.p, p[o] = r.s + r.c, f[o] = r.s, s || (l = new dt(r, "s", o, l, r.r), r.c = 0), 1 === r.type))
for (a = r.l; --a > 0;) u = "xn" + a, o = r.p + "_" + u, p[o] = r.data[u], f[o] = r[u], s || (l = new dt(r, u, o, l, r.rxp[u]));
r = r._next
}
return {
proxy: f,
end: p,
firstMPT: l,
pt: c
}
}, X.CSSPropTween = function(t, e, r, n, a, o, u, l, c, h, f) {
this.t = t, this.p = e, this.s = r, this.c = n, this.n = u || e, t instanceof mt || s.push(this.n), this.r = l, this.type = o || 0, c && (this.pr = c, i = !0), this.b = void 0 === h ? r : h, this.e = void 0 === f ? r + n : f, a && (this._next = a, a._prev = this)
}),
gt = function(t, e, i, r, n, s) {
var a = new mt(t, e, i, r - i, n, -1, s);
return a.b = i, a.e = a.xs0 = r, a
},
vt = o.parseComplex = function(t, e, i, r, n, s, a, o, u, l) {
i = i || s || "", a = new mt(t, e, 0, 0, a, l ? 2 : 1, null, !1, o, i, r), r += "";
var c, f, p, _, d, m, y, x, b, w, T, P, S, O = i.split(", ").join(",").split(" "),
A = r.split(", ").join(",").split(" "),
k = O.length,
M = h !== !1;
for ((-1 !== r.indexOf(",") || -1 !== i.indexOf(",")) && (O = O.join(" ").replace(E, ", ").split(" "), A = A.join(" ").replace(E, ", ").split(" "), k = O.length), k !== A.length && (O = (s || "").split(" "), k = O.length), a.plugin = u, a.setRatio = l, ft.lastIndex = 0, c = 0; k > c; c++)
if (_ = O[c], d = A[c], x = parseFloat(_), x || 0 === x) a.appendXtra("", x, st(d, x), d.replace(v, ""), M && -1 !== d.indexOf("px"), !0);
else if (n && ft.test(_)) P = "," === d.charAt(d.length - 1) ? ")," : ")", S = -1 !== d.indexOf("hsl") && W, _ = ct(_, S), d = ct(d, S), b = _.length + d.length > 6, b && !W && 0 === d[3] ? (a["xs" + a.l] += a.l ? " transparent" : "transparent", a.e = a.e.split(A[c]).join("transparent")) : (W || (b = !1), S ? a.appendXtra(b ? "hsla(" : "hsl(", _[0], st(d[0], _[0]), ",", !1, !0).appendXtra("", _[1], st(d[1], _[1]), "%,", !1).appendXtra("", _[2], st(d[2], _[2]), b ? "%," : "%" + P, !1) : a.appendXtra(b ? "rgba(" : "rgb(", _[0], d[0] - _[0], ",", !0, !0).appendXtra("", _[1], d[1] - _[1], ",", !0).appendXtra("", _[2], d[2] - _[2], b ? "," : P, !0), b && (_ = _.length < 4 ? 1 : _[3], a.appendXtra("", _, (d.length < 4 ? 1 : d[3]) - _, P, !1))), ft.lastIndex = 0;
else if (m = _.match(g)) {
if (y = d.match(v), !y || y.length !== m.length) return a;
for (p = 0, f = 0; f < m.length; f++) T = m[f], w = _.indexOf(T, p), a.appendXtra(_.substr(p, w - p), Number(T), st(y[f], T), "", M && "px" === _.substr(w + T.length, 2), 0 === f), p = w + T.length;
a["xs" + a.l] += _.substr(p)
} else a["xs" + a.l] += a.l ? " " + _ : _;
if (-1 !== r.indexOf("=") && a.data) {
for (P = a.xs0 + a.data.s, c = 1; c < a.l; c++) P += a["xs" + c] + a.data["xn" + c];
a.e = P + a["xs" + c]
}
return a.l || (a.type = -1, a.xs0 = a.e), a.xfirst || a
},
yt = 9;
for (c = mt.prototype, c.l = c.pr = 0; --yt > 0;) c["xn" + yt] = 0, c["xs" + yt] = "";
c.xs0 = "", c._next = c._prev = c.xfirst = c.data = c.plugin = c.setRatio = c.rxp = null, c.appendXtra = function(t, e, i, r, n, s) {
var a = this,
o = a.l;
return a["xs" + o] += s && o ? " " + t : t || "", i || 0 === o || a.plugin ? (a.l++, a.type = a.setRatio ? 2 : 1, a["xs" + a.l] = r || "", o > 0 ? (a.data["xn" + o] = e + i, a.rxp["xn" + o] = n, a["xn" + o] = e, a.plugin || (a.xfirst = new mt(a, "xn" + o, e, i, a.xfirst || a, 0, a.n, n, a.pr), a.xfirst.xs0 = 0), a) : (a.data = {
s: e + i
}, a.rxp = {}, a.s = e, a.c = i, a.r = n, a)) : (a["xs" + o] += e + (r || ""), a)
};
var xt = function(t, e) {
e = e || {}, this.p = e.prefix ? Z(t) || t : t, l[t] = l[this.p] = this, this.format = e.formatter || pt(e.defaultValue, e.color, e.collapsible, e.multi), e.parser && (this.parse = e.parser), this.clrs = e.color, this.multi = e.multi, this.keyword = e.keyword, this.dflt = e.defaultValue, this.pr = e.priority || 0
},
bt = X._registerComplexSpecialProp = function(t, e, i) {
"object" != typeof e && (e = {
parser: i
});
var r, n, s = t.split(","),
a = e.defaultValue;
for (i = i || [a], r = 0; r < s.length; r++) e.prefix = 0 === r && e.prefix, e.defaultValue = i[r] || a, n = new xt(s[r], e)
},
wt = function(t) {
if (!l[t]) {
var e = t.charAt(0).toUpperCase() + t.substr(1) + "Plugin";
bt(t, {
parser: function(t, i, r, n, s, a, o) {
var c = u.com.greensock.plugins[e];
return c ? (c._cssRegister(), l[r].parse(t, i, r, n, s, a, o)) : (U("Error: " + e + " js file not loaded."), s)
}
})
}
};
c = xt.prototype, c.parseComplex = function(t, e, i, r, n, s) {
var a, o, u, l, c, h, f = this.keyword;
if (this.multi && (E.test(i) || E.test(e) ? (o = e.replace(E, "|").split("|"), u = i.replace(E, "|").split("|")) : f && (o = [e], u = [i])), u) {
for (l = u.length > o.length ? u.length : o.length, a = 0; l > a; a++) e = o[a] = o[a] || this.dflt, i = u[a] = u[a] || this.dflt, f && (c = e.indexOf(f), h = i.indexOf(f), c !== h && (-1 === h ? o[a] = o[a].split(f).join("") : -1 === c && (o[a] += " " + f)));
e = o.join(", "), i = u.join(", ")
}
return vt(t, this.p, e, i, this.clrs, this.dflt, r, this.pr, n, s)
}, c.parse = function(t, e, i, r, s, a, o) {
return this.parseComplex(t.style, this.format($(t, this.p, n, !1, this.dflt)), this.format(e), s, a)
}, o.registerSpecialProp = function(t, e, i) {
bt(t, {
parser: function(t, r, n, s, a, o, u) {
var l = new mt(t, n, 0, 0, a, 2, n, !1, i);
return l.plugin = o, l.setRatio = e(t, r, s._tween, n), l
},
priority: i
})
}, o.useSVGTransformAttr = p || _;
var Tt, Pt = "scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),
St = Z("transform"),
Ot = V + "transform",
At = Z("transformOrigin"),
kt = null !== Z("perspective"),
Mt = X.Transform = function() {
this.perspective = parseFloat(o.defaultTransformPerspective) || 0, this.force3D = o.defaultForce3D !== !1 && kt ? o.defaultForce3D || "auto" : !1
},
Rt = window.SVGElement,
Ct = function(t, e, i) {
var r, n = I.createElementNS("http://www.w3.org/2000/svg", t),
s = /([a-z])([A-Z])/g;
for (r in i) n.setAttributeNS(null, r.replace(s, "$1-$2").toLowerCase(), i[r]);
return e.appendChild(n), n
},
Dt = I.documentElement,
Et = function() {
var t, e, i, r = m || /Android/i.test(Y) && !window.chrome;
return I.createElementNS && !r && (t = Ct("svg", Dt), e = Ct("rect", t, {
width: 100,
height: 50,
x: 100
}), i = e.getBoundingClientRect().width, e.style[At] = "50% 50%", e.style[St] = "scaleX(0.5)", r = i === e.getBoundingClientRect().width && !(_ && kt), Dt.removeChild(t)), r
}(),
Ft = function(t, e, i, r, n) {
var s, a, u, l, c, h, f, p, _, d, m, g, v, y, x = t._gsTransform,
b = It(t, !0);
x && (v = x.xOrigin, y = x.yOrigin), (!r || (s = r.split(" ")).length < 2) && (f = t.getBBox(), e = nt(e).split(" "), s = [(-1 !== e[0].indexOf("%") ? parseFloat(e[0]) / 100 * f.width : parseFloat(e[0])) + f.x, (-1 !== e[1].indexOf("%") ? parseFloat(e[1]) / 100 * f.height : parseFloat(e[1])) + f.y]), i.xOrigin = l = parseFloat(s[0]), i.yOrigin = c = parseFloat(s[1]), r && b !== Nt && (h = b[0], f = b[1], p = b[2], _ = b[3], d = b[4], m = b[5], g = h * _ - f * p, a = l * (_ / g) + c * (-p / g) + (p * m - _ * d) / g, u = l * (-f / g) + c * (h / g) - (h * m - f * d) / g, l = i.xOrigin = s[0] = a, c = i.yOrigin = s[1] = u), x && (n || n !== !1 && o.defaultSmoothOrigin !== !1 ? (a = l - v, u = c - y, x.xOffset += a * b[0] + u * b[2] - a, x.yOffset += a * b[1] + u * b[3] - u) : x.xOffset = x.yOffset = 0), t.setAttribute("data-svg-origin", s.join(" "))
},
jt = function(t) {
return !!(Rt && "function" == typeof t.getBBox && t.getCTM && (!t.parentNode || t.parentNode.getBBox && t.parentNode.getCTM))
},
Nt = [1, 0, 0, 1, 0, 0],
It = function(t, e) {
var i, r, n, s, a, o = t._gsTransform || new Mt,
u = 1e5;
if (St ? r = $(t, Ot, null, !0) : t.currentStyle && (r = t.currentStyle.filter.match(C), r = r && 4 === r.length ? [r[0].substr(4), Number(r[2].substr(4)), Number(r[1].substr(4)), r[3].substr(4), o.x || 0, o.y || 0].join(",") : ""), i = !r || "none" === r || "matrix(1, 0, 0, 1, 0, 0)" === r,
(o.svg || t.getBBox && jt(t)) && (i && -1 !== (t.style[St] + "").indexOf("matrix") && (r = t.style[St], i = 0), n = t.getAttribute("transform"), i && n && (-1 !== n.indexOf("matrix") ? (r = n, i = 0) : -1 !== n.indexOf("translate") && (r = "matrix(1,0,0,1," + n.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",") + ")", i = 0))), i) return Nt;
for (n = (r || "").match(/(?:\-|\b)[\d\-\.e]+\b/gi) || [], yt = n.length; --yt > -1;) s = Number(n[yt]), n[yt] = (a = s - (s |= 0)) ? (a * u + (0 > a ? -.5 : .5) | 0) / u + s : s;
return e && n.length > 6 ? [n[0], n[1], n[4], n[5], n[12], n[13]] : n
},
Lt = X.getTransform = function(t, i, r, s) {
if (t._gsTransform && r && !s) return t._gsTransform;
var a, u, l, c, h, f, p = r ? t._gsTransform || new Mt : new Mt,
_ = p.scaleX < 0,
d = 2e-5,
m = 1e5,
g = kt ? parseFloat($(t, At, i, !1, "0 0 0").split(" ")[2]) || p.zOrigin || 0 : 0,
v = parseFloat(o.defaultTransformPerspective) || 0;
if (p.svg = !(!t.getBBox || !jt(t)), p.svg && (Ft(t, $(t, At, n, !1, "50% 50%") + "", p, t.getAttribute("data-svg-origin")), Tt = o.useSVGTransformAttr || Et), a = It(t), a !== Nt) {
if (16 === a.length) {
var y, x, b, w, T, P = a[0],
S = a[1],
O = a[2],
A = a[3],
k = a[4],
M = a[5],
R = a[6],
C = a[7],
D = a[8],
E = a[9],
F = a[10],
N = a[12],
I = a[13],
L = a[14],
z = a[11],
B = Math.atan2(R, F);
p.zOrigin && (L = -p.zOrigin, N = D * L - a[12], I = E * L - a[13], L = F * L + p.zOrigin - a[14]), p.rotationX = B * j, B && (w = Math.cos(-B), T = Math.sin(-B), y = k * w + D * T, x = M * w + E * T, b = R * w + F * T, D = k * -T + D * w, E = M * -T + E * w, F = R * -T + F * w, z = C * -T + z * w, k = y, M = x, R = b), B = Math.atan2(D, F), p.rotationY = B * j, B && (w = Math.cos(-B), T = Math.sin(-B), y = P * w - D * T, x = S * w - E * T, b = O * w - F * T, E = S * T + E * w, F = O * T + F * w, z = A * T + z * w, P = y, S = x, O = b), B = Math.atan2(S, P), p.rotation = B * j, B && (w = Math.cos(-B), T = Math.sin(-B), P = P * w + k * T, x = S * w + M * T, M = S * -T + M * w, R = O * -T + R * w, S = x), p.rotationX && R4(p.rotationX) + R4(p.rotation) > 359.9 && (p.rotationX = p.rotation = 0, p.rotationY += 180), p.scaleX = (Math.sqrt(P * P + S * S) * m + .5 | 0) / m, p.scaleY = (Math.sqrt(M * M + E * E) * m + .5 | 0) / m, p.scaleZ = (Math.sqrt(R * R + F * F) * m + .5 | 0) / m, p.skewX = 0, p.perspective = z ? 1 / (0 > z ? -z : z) : 0, p.x = N, p.y = I, p.z = L, p.svg && (p.x -= p.xOrigin - (p.xOrigin * P - p.yOrigin * k), p.y -= p.yOrigin - (p.yOrigin * S - p.xOrigin * M))
} else if ((!kt || s || !a.length || p.x !== a[4] || p.y !== a[5] || !p.rotationX && !p.rotationY) && (void 0 === p.x || "none" !== $(t, "display", i))) {
var X = a.length >= 6,
Y = X ? a[0] : 1,
W = a[1] || 0,
q = a[2] || 0,
U = X ? a[3] : 1;
p.x = a[4] || 0, p.y = a[5] || 0, l = Math.sqrt(Y * Y + W * W), c = Math.sqrt(U * U + q * q), h = Y || W ? Math.atan2(W, Y) * j : p.rotation || 0, f = q || U ? Math.atan2(q, U) * j + h : p.skewX || 0, R4(f) > 90 && R4(f) < 270 && (_ ? (l *= -1, f += 0 >= h ? 180 : -180, h += 0 >= h ? 180 : -180) : (c *= -1, f += 0 >= f ? 180 : -180)), p.scaleX = l, p.scaleY = c, p.rotation = h, p.skewX = f, kt && (p.rotationX = p.rotationY = p.z = 0, p.perspective = v, p.scaleZ = 1), p.svg && (p.x -= p.xOrigin - (p.xOrigin * Y + p.yOrigin * q), p.y -= p.yOrigin - (p.xOrigin * W + p.yOrigin * U))
}
p.zOrigin = g;
for (u in p) p[u] < d && p[u] > -d && (p[u] = 0)
}
return r && (t._gsTransform = p, p.svg && (Tt && t.style[St] ? e.delayedCall(.001, function() {
Yt(t.style, St)
}) : !Tt && t.getAttribute("transform") && e.delayedCall(.001, function() {
t.removeAttribute("transform")
}))), p
},
zt = function(t) {
var e, i, r = this.data,
n = -r.rotation * F,
s = n + r.skewX * F,
a = 1e5,
o = (Math.cos(n) * r.scaleX * a | 0) / a,
u = (Math.sin(n) * r.scaleX * a | 0) / a,
l = (Math.sin(s) * -r.scaleY * a | 0) / a,
c = (Math.cos(s) * r.scaleY * a | 0) / a,
h = this.t.style,
f = this.t.currentStyle;
if (f) {
i = u, u = -l, l = -i, e = f.filter, h.filter = "";
var p, _, d = this.t.offsetWidth,
g = this.t.offsetHeight,
v = "absolute" !== f.position,
y = "progid:DXImageTransform.Microsoft.Matrix(M11=" + o + ", M12=" + u + ", M21=" + l + ", M22=" + c,
x = r.x + d * r.xPercent / 100,
T = r.y + g * r.yPercent / 100;
if (null != r.ox && (p = (r.oxp ? d * r.ox * .01 : r.ox) - d / 2, _ = (r.oyp ? g * r.oy * .01 : r.oy) - g / 2, x += p - (p * o + _ * u), T += _ - (p * l + _ * c)), v ? (p = d / 2, _ = g / 2, y += ", Dx=" + (p - (p * o + _ * u) + x) + ", Dy=" + (_ - (p * l + _ * c) + T) + ")") : y += ", sizingMethod='auto expand')", -1 !== e.indexOf("DXImageTransform.Microsoft.Matrix(") ? h.filter = e.replace(D, y) : h.filter = y + " " + e, (0 === t || 1 === t) && 1 === o && 0 === u && 0 === l && 1 === c && (v && -1 === y.indexOf("Dx=0, Dy=0") || w.test(e) && 100 !== parseFloat(RegExp.$1) || -1 === e.indexOf(e.indexOf("Alpha")) && h.removeAttribute("filter")), !v) {
var P, S, O, A = 8 > m ? 1 : -1;
for (p = r.ieOffsetX || 0, _ = r.ieOffsetY || 0, r.ieOffsetX = R3((d - ((0 > o ? -o : o) * d + (0 > u ? -u : u) * g)) / 2 + x), r.ieOffsetY = R3((g - ((0 > c ? -c : c) * g + (0 > l ? -l : l) * d)) / 2 + T), yt = 0; 4 > yt; yt++) S = it[yt], P = f[S], i = -1 !== P.indexOf("px") ? parseFloat(P) : K(this.t, S, parseFloat(P), P.replace(b, "")) || 0, O = i !== r[S] ? 2 > yt ? -r.ieOffsetX : -r.ieOffsetY : 2 > yt ? p - r.ieOffsetX : _ - r.ieOffsetY, h[S] = (r[S] = R3(i - O * (0 === yt || 2 === yt ? 1 : A))) + "px"
}
}
},
Bt = X.set3DTransformRatio = X.setTransformRatio = function(t) {
var e, i, r, n, s, a, o, u, l, c, h, f, p, d, m, g, v, y, x, b, w, T, P, S = this.data,
O = this.t.style,
A = S.rotation,
k = S.rotationX,
M = S.rotationY,
R = S.scaleX,
C = S.scaleY,
D = S.scaleZ,
E = S.x,
j = S.y,
N = S.z,
I = S.svg,
L = S.perspective,
z = S.force3D;
if (((1 === t || 0 === t) && "auto" === z && (this.tween._totalTime === this.tween._totalDuration || !this.tween._totalTime) || !z) && !N && !L && !M && !k || Tt && I || !kt) return void(A || S.skewX || I ? (A *= F, T = S.skewX * F, P = 1e5, e = Math.cos(A) * R, n = Math.sin(A) * R, i = Math.sin(A - T) * -C, s = Math.cos(A - T) * C, T && "simple" === S.skewType && (v = Math.tan(T), v = Math.sqrt(1 + v * v), i *= v, s *= v, S.skewY && (e *= v, n *= v)), I && (E += S.xOrigin - (S.xOrigin * e + S.yOrigin * i) + S.xOffset, j += S.yOrigin - (S.xOrigin * n + S.yOrigin * s) + S.yOffset, Tt && (S.xPercent || S.yPercent) && (d = this.t.getBBox(), E += .01 * S.xPercent * d.width, j += .01 * S.yPercent * d.height), d = 1e-6, d > E && E > -d && (E = 0), d > j && j > -d && (j = 0)), x = (e * P | 0) / P + "," + (n * P | 0) / P + "," + (i * P | 0) / P + "," + (s * P | 0) / P + "," + E + "," + j + ")", I && Tt ? this.t.setAttribute("transform", "matrix(" + x) : O[St] = (S.xPercent || S.yPercent ? "translate(" + S.xPercent + "%," + S.yPercent + "%) matrix(" : "matrix(") + x) : O[St] = (S.xPercent || S.yPercent ? "translate(" + S.xPercent + "%," + S.yPercent + "%) matrix(" : "matrix(") + R + ",0,0," + C + "," + E + "," + j + ")");
if (_ && (d = 1e-4, d > R && R > -d && (R = D = 2e-5), d > C && C > -d && (C = D = 2e-5), !L || S.z || S.rotationX || S.rotationY || (L = 0)), A || S.skewX) A *= F, m = e = Math.cos(A), g = n = Math.sin(A), S.skewX && (A -= S.skewX * F, m = Math.cos(A), g = Math.sin(A), "simple" === S.skewType && (v = Math.tan(S.skewX * F), v = Math.sqrt(1 + v * v), m *= v, g *= v, S.skewY && (e *= v, n *= v))), i = -g, s = m;
else {
if (!(M || k || 1 !== D || L || I)) return void(O[St] = (S.xPercent || S.yPercent ? "translate(" + S.xPercent + "%," + S.yPercent + "%) translate3d(" : "translate3d(") + E + "px," + j + "px," + N + "px)" + (1 !== R || 1 !== C ? " scale(" + R + "," + C + ")" : ""));
e = s = 1, i = n = 0
}
l = 1, r = a = o = u = c = h = 0, f = L ? -1 / L : 0, p = S.zOrigin, d = 1e-6, b = ",", w = "0", A = M * F, A && (m = Math.cos(A), g = Math.sin(A), o = -g, c = f * -g, r = e * g, a = n * g, l = m, f *= m, e *= m, n *= m), A = k * F, A && (m = Math.cos(A), g = Math.sin(A), v = i * m + r * g, y = s * m + a * g, u = l * g, h = f * g, r = i * -g + r * m, a = s * -g + a * m, l *= m, f *= m, i = v, s = y), 1 !== D && (r *= D, a *= D, l *= D, f *= D), 1 !== C && (i *= C, s *= C, u *= C, h *= C), 1 !== R && (e *= R, n *= R, o *= R, c *= R), (p || I) && (p && (E += r * -p, j += a * -p, N += l * -p + p), I && (E += S.xOrigin - (S.xOrigin * e + S.yOrigin * i) + S.xOffset, j += S.yOrigin - (S.xOrigin * n + S.yOrigin * s) + S.yOffset), d > E && E > -d && (E = w), d > j && j > -d && (j = w), d > N && N > -d && (N = 0)), x = S.xPercent || S.yPercent ? "translate(" + S.xPercent + "%," + S.yPercent + "%) matrix3d(" : "matrix3d(", x += (d > e && e > -d ? w : e) + b + (d > n && n > -d ? w : n) + b + (d > o && o > -d ? w : o), x += b + (d > c && c > -d ? w : c) + b + (d > i && i > -d ? w : i) + b + (d > s && s > -d ? w : s), k || M ? (x += b + (d > u && u > -d ? w : u) + b + (d > h && h > -d ? w : h) + b + (d > r && r > -d ? w : r), x += b + (d > a && a > -d ? w : a) + b + (d > l && l > -d ? w : l) + b + (d > f && f > -d ? w : f) + b) : x += ",0,0,0,0,1,0,", x += E + b + j + b + N + b + (L ? 1 + -N / L : 1) + ")", O[St] = x
};
c = Mt.prototype, c.x = c.y = c.z = c.skewX = c.skewY = c.rotation = c.rotationX = c.rotationY = c.zOrigin = c.xPercent = c.yPercent = c.xOffset = c.yOffset = 0, c.scaleX = c.scaleY = c.scaleZ = 1, bt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin", {
parser: function(t, e, i, r, s, a, u) {
if (r._lastParsedTransform === u) return s;
r._lastParsedTransform = u;
var l, c, h, f, p, _, d, m, g, v, y = t._gsTransform,
x = t.style,
b = 1e-6,
w = Pt.length,
T = u,
P = {},
S = "transformOrigin";
if (u.display ? (f = $(t, "display"), x.display = "block", l = Lt(t, n, !0, u.parseTransform), x.display = f) : l = Lt(t, n, !0, u.parseTransform), r._transform = l, "string" == typeof T.transform && St) f = z.style, f[St] = T.transform, f.display = "block", f.position = "absolute", I.body.appendChild(z), c = Lt(z, null, !1), I.body.removeChild(z), c.perspective || (c.perspective = l.perspective), null != T.xPercent && (c.xPercent = at(T.xPercent, l.xPercent)), null != T.yPercent && (c.yPercent = at(T.yPercent, l.yPercent));
else if ("object" == typeof T) {
if (c = {
scaleX: at(null != T.scaleX ? T.scaleX : T.scale, l.scaleX),
scaleY: at(null != T.scaleY ? T.scaleY : T.scale, l.scaleY),
scaleZ: at(T.scaleZ, l.scaleZ),
x: at(T.x, l.x),
y: at(T.y, l.y),
z: at(T.z, l.z),
xPercent: at(T.xPercent, l.xPercent),
yPercent: at(T.yPercent, l.yPercent),
perspective: at(T.transformPerspective, l.perspective)
}, m = T.directionalRotation, null != m)
if ("object" == typeof m)
for (f in m) T[f] = m[f];
else T.rotation = m;
"string" == typeof T.x && -1 !== T.x.indexOf("%") && (c.x = 0, c.xPercent = at(T.x, l.xPercent)), "string" == typeof T.y && -1 !== T.y.indexOf("%") && (c.y = 0, c.yPercent = at(T.y, l.yPercent)), c.rotation = ot("rotation" in T ? T.rotation : "shortRotation" in T ? T.shortRotation + "_short" : "rotationZ" in T ? T.rotationZ : l.rotation, l.rotation, "rotation", P), kt && (c.rotationX = ot("rotationX" in T ? T.rotationX : "shortRotationX" in T ? T.shortRotationX + "_short" : l.rotationX || 0, l.rotationX, "rotationX", P), c.rotationY = ot("rotationY" in T ? T.rotationY : "shortRotationY" in T ? T.shortRotationY + "_short" : l.rotationY || 0, l.rotationY, "rotationY", P)), c.skewX = null == T.skewX ? l.skewX : ot(T.skewX, l.skewX), c.skewY = null == T.skewY ? l.skewY : ot(T.skewY, l.skewY), (h = c.skewY - l.skewY) && (c.skewX += h, c.rotation += h)
}
for (kt && null != T.force3D && (l.force3D = T.force3D, d = !0), l.skewType = T.skewType || l.skewType || o.defaultSkewType, _ = l.force3D || l.z || l.rotationX || l.rotationY || c.z || c.rotationX || c.rotationY || c.perspective, _ || null == T.scale || (c.scaleZ = 1); --w > -1;) i = Pt[w], p = c[i] - l[i], (p > b || -b > p || null != T[i] || null != N[i]) && (d = !0, s = new mt(l, i, l[i], p, s), i in P && (s.e = P[i]), s.xs0 = 0, s.plugin = a, r._overwriteProps.push(s.n));
return p = T.transformOrigin, l.svg && (p || T.svgOrigin) && (g = l.xOffset, v = l.yOffset, Ft(t, nt(p), c, T.svgOrigin, T.smoothOrigin), s = gt(l, "xOrigin", (y ? l : c).xOrigin, c.xOrigin, s, S), s = gt(l, "yOrigin", (y ? l : c).yOrigin, c.yOrigin, s, S), (g !== l.xOffset || v !== l.yOffset) && (s = gt(l, "xOffset", y ? g : l.xOffset, l.xOffset, s, S), s = gt(l, "yOffset", y ? v : l.yOffset, l.yOffset, s, S)), p = Tt ? null : "0px 0px"), (p || kt && _ && l.zOrigin) && (St ? (d = !0, i = At, p = (p || $(t, i, n, !1, "50% 50%")) + "", s = new mt(x, i, 0, 0, s, -1, S), s.b = x[i], s.plugin = a, kt ? (f = l.zOrigin, p = p.split(" "), l.zOrigin = (p.length > 2 && (0 === f || "0px" !== p[2]) ? parseFloat(p[2]) : f) || 0, s.xs0 = s.e = p[0] + " " + (p[1] || "50%") + " 0px", s = new mt(l, "zOrigin", 0, 0, s, -1, s.n), s.b = f, s.xs0 = s.e = l.zOrigin) : s.xs0 = s.e = p) : nt(p + "", l)), d && (r._transformType = l.svg && Tt || !_ && 3 !== this._transformType ? 2 : 3), s
},
prefix: !0
}), bt("boxShadow", {
defaultValue: "0px 0px 0px 0px #999",
prefix: !0,
color: !0,
multi: !0,
keyword: "inset"
}), bt("borderRadius", {
defaultValue: "0px",
parser: function(t, e, i, s, a, o) {
e = this.format(e);
var u, l, c, h, f, p, _, d, m, g, v, y, x, b, w, T, P = ["borderTopLeftRadius", "borderTopRightRadius", "borderBottomRightRadius", "borderBottomLeftRadius"],
S = t.style;
for (m = parseFloat(t.offsetWidth), g = parseFloat(t.offsetHeight), u = e.split(" "), l = 0; l < P.length; l++) this.p.indexOf("border") && (P[l] = Z(P[l])), f = h = $(t, P[l], n, !1, "0px"), -1 !== f.indexOf(" ") && (h = f.split(" "), f = h[0], h = h[1]), p = c = u[l], _ = parseFloat(f), y = f.substr((_ + "").length), x = "=" === p.charAt(1), x ? (d = parseInt(p.charAt(0) + "1", 10), p = p.substr(2), d *= parseFloat(p), v = p.substr((d + "").length - (0 > d ? 1 : 0)) || "") : (d = parseFloat(p), v = p.substr((d + "").length)), "" === v && (v = r[i] || y), v !== y && (b = K(t, "borderLeft", _, y), w = K(t, "borderTop", _, y), "%" === v ? (f = b / m * 100 + "%", h = w / g * 100 + "%") : "em" === v ? (T = K(t, "borderLeft", 1, "em"), f = b / T + "em", h = w / T + "em") : (f = b + "px", h = w + "px"), x && (p = parseFloat(f) + d + v, c = parseFloat(h) + d + v)), a = vt(S, P[l], f + " " + h, p + " " + c, !1, "0px", a);
return a
},
prefix: !0,
formatter: pt("0px 0px 0px 0px", !1, !0)
}), bt("backgroundPosition", {
defaultValue: "0 0",
parser: function(t, e, i, r, s, a) {
var o, u, l, c, h, f, p = "background-position",
_ = n || H(t, null),
d = this.format((_ ? m ? _.getPropertyValue(p + "-x") + " " + _.getPropertyValue(p + "-y") : _.getPropertyValue(p) : t.currentStyle.backgroundPositionX + " " + t.currentStyle.backgroundPositionY) || "0 0"),
g = this.format(e);
if (-1 !== d.indexOf("%") != (-1 !== g.indexOf("%")) && (f = $(t, "backgroundImage").replace(k, ""), f && "none" !== f)) {
for (o = d.split(" "), u = g.split(" "), B.setAttribute("src", f), l = 2; --l > -1;) d = o[l], c = -1 !== d.indexOf("%"), c !== (-1 !== u[l].indexOf("%")) && (h = 0 === l ? t.offsetWidth - B.width : t.offsetHeight - B.height, o[l] = c ? parseFloat(d) / 100 * h + "px" : parseFloat(d) / h * 100 + "%");
d = o.join(" ")
}
return this.parseComplex(t.style, d, g, s, a)
},
formatter: nt
}), bt("backgroundSize", {
defaultValue: "0 0",
formatter: nt
}), bt("perspective", {
defaultValue: "0px",
prefix: !0
}), bt("perspectiveOrigin", {
defaultValue: "50% 50%",
prefix: !0
}), bt("transformStyle", {
prefix: !0
}), bt("backfaceVisibility", {
prefix: !0
}), bt("userSelect", {
prefix: !0
}), bt("margin", {
parser: _t("marginTop,marginRight,marginBottom,marginLeft")
}), bt("padding", {
parser: _t("paddingTop,paddingRight,paddingBottom,paddingLeft")
}), bt("clip", {
defaultValue: "rect(0px,0px,0px,0px)",
parser: function(t, e, i, r, s, a) {
var o, u, l;
return 9 > m ? (u = t.currentStyle, l = 8 > m ? " " : ",", o = "rect(" + u.clipTop + l + u.clipRight + l + u.clipBottom + l + u.clipLeft + ")", e = this.format(e).split(",").join(l)) : (o = this.format($(t, this.p, n, !1, this.dflt)), e = this.format(e)), this.parseComplex(t.style, o, e, s, a)
}
}), bt("textShadow", {
defaultValue: "0px 0px 0px #999",
color: !0,
multi: !0
}), bt("autoRound,strictUnits", {
parser: function(t, e, i, r, n) {
return n
}
}), bt("border", {
defaultValue: "0px solid #000",
parser: function(t, e, i, r, s, a) {
return this.parseComplex(t.style, this.format($(t, "borderTopWidth", n, !1, "0px") + " " + $(t, "borderTopStyle", n, !1, "solid") + " " + $(t, "borderTopColor", n, !1, "#000")), this.format(e), s, a)
},
color: !0,
formatter: function(t) {
var e = t.split(" ");
return e[0] + " " + (e[1] || "solid") + " " + (t.match(ft) || ["#000"])[0]
}
}), bt("borderWidth", {
parser: _t("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")
}), bt("float,cssFloat,styleFloat", {
parser: function(t, e, i, r, n, s) {
var a = t.style,
o = "cssFloat" in a ? "cssFloat" : "styleFloat";
return new mt(a, o, 0, 0, n, -1, i, !1, 0, a[o], e)
}
});
var Xt = function(t) {
var e, i = this.t,
r = i.filter || $(this.data, "filter") || "",
n = this.s + this.c * t | 0;
100 === n && (-1 === r.indexOf("atrix(") && -1 === r.indexOf("radient(") && -1 === r.indexOf("oader(") ? (i.removeAttribute("filter"), e = !$(this.data, "filter")) : (i.filter = r.replace(P, ""), e = !0)), e || (this.xn1 && (i.filter = r = r || "alpha(opacity=" + n + ")"), -1 === r.indexOf("pacity") ? 0 === n && this.xn1 || (i.filter = r + " alpha(opacity=" + n + ")") : i.filter = r.replace(w, "opacity=" + n))
};
bt("opacity,alpha,autoAlpha", {
defaultValue: "1",
parser: function(t, e, i, r, s, a) {
var o = parseFloat($(t, "opacity", n, !1, "1")),
u = t.style,
l = "autoAlpha" === i;
return "string" == typeof e && "=" === e.charAt(1) && (e = ("-" === e.charAt(0) ? -1 : 1) * parseFloat(e.substr(2)) + o), l && 1 === o && "hidden" === $(t, "visibility", n) && 0 !== e && (o = 0), W ? s = new mt(u, "opacity", o, e - o, s) : (s = new mt(u, "opacity", 100 * o, 100 * (e - o), s), s.xn1 = l ? 1 : 0, u.zoom = 1, s.type = 2, s.b = "alpha(opacity=" + s.s + ")", s.e = "alpha(opacity=" + (s.s + s.c) + ")", s.data = t, s.plugin = a, s.setRatio = Xt), l && (s = new mt(u, "visibility", 0, 0, s, -1, null, !1, 0, 0 !== o ? "inherit" : "hidden", 0 === e ? "hidden" : "inherit"), s.xs0 = "inherit", r._overwriteProps.push(s.n), r._overwriteProps.push(i)), s
}
});
var Yt = function(t, e) {
e && (t.removeProperty ? (("ms" === e.substr(0, 2) || "webkit" === e.substr(0, 6)) && (e = "-" + e), t.removeProperty(e.replace(O, "-$1").toLowerCase())) : t.removeAttribute(e))
},
Wt = function(t) {
if (this.t._gsClassPT = this, 1 === t || 0 === t) {
this.t.setAttribute("class", 0 === t ? this.b : this.e);
for (var e = this.data, i = this.t.style; e;) e.v ? i[e.p] = e.v : Yt(i, e.p), e = e._next;
1 === t && this.t._gsClassPT === this && (this.t._gsClassPT = null)
} else this.t.getAttribute("class") !== this.e && this.t.setAttribute("class", this.e)
};
bt("className", {
parser: function(t, e, r, s, a, o, u) {
var l, c, h, f, p, _ = t.getAttribute("class") || "",
d = t.style.cssText;
if (a = s._classNamePT = new mt(t, r, 0, 0, a, 2), a.setRatio = Wt, a.pr = -11, i = !0, a.b = _, c = J(t, n), h = t._gsClassPT) {
for (f = {}, p = h.data; p;) f[p.p] = 1, p = p._next;
h.setRatio(1)
}
return t._gsClassPT = a, a.e = "=" !== e.charAt(1) ? e : _.replace(new RegExp("\\s*\\b" + e.substr(2) + "\\b"), "") + ("+" === e.charAt(0) ? " " + e.substr(2) : ""), t.setAttribute("class", a.e), l = tt(t, c, J(t), u, f), t.setAttribute("class", _), a.data = l.firstMPT, t.style.cssText = d, a = a.xfirst = s.parse(t, l.difs, a, o)
}
});
var qt = function(t) {
if ((1 === t || 0 === t) && this.data._totalTime === this.data._totalDuration && "isFromStart" !== this.data.data) {
var e, i, r, n, s, a = this.t.style,
o = l.transform.parse;
if ("all" === this.e) a.cssText = "", n = !0;
else
for (e = this.e.split(" ").join("").split(","), r = e.length; --r > -1;) i = e[r], l[i] && (l[i].parse === o ? n = !0 : i = "transformOrigin" === i ? At : l[i].p), Yt(a, i);
n && (Yt(a, St), s = this.t._gsTransform, s && (s.svg && this.t.removeAttribute("data-svg-origin"), delete this.t._gsTransform))
}
};
for (bt("clearProps", {
parser: function(t, e, r, n, s) {
return s = new mt(t, r, 0, 0, s, 2), s.setRatio = qt, s.e = e, s.pr = -10, s.data = n._tween, i = !0, s
}
}), c = "bezier,throwProps,physicsProps,physics2D".split(","), yt = c.length; yt--;) wt(c[yt]);
c = o.prototype, c._firstPT = c._lastParsedTransform = c._transform = null, c._onInitTween = function(t, e, a) {
if (!t.nodeType) return !1;
this._target = t, this._tween = a, this._vars = e, h = e.autoRound, i = !1, r = e.suffixMap || o.suffixMap, n = H(t, ""), s = this._overwriteProps;
var u, c, _, m, g, v, y, x, b, w = t.style;
if (f && "" === w.zIndex && (u = $(t, "zIndex", n), ("auto" === u || "" === u) && this._addLazySet(w, "zIndex", 0)), "string" == typeof e && (m = w.cssText, u = J(t, n), w.cssText = m + ";" + e, u = tt(t, u, J(t)).difs, !W && T.test(e) && (u.opacity = parseFloat(RegExp.$1)), e = u, w.cssText = m), e.className ? this._firstPT = c = l.className.parse(t, e.className, "className", this, null, null, e) : this._firstPT = c = this.parse(t, e, null), this._transformType) {
for (b = 3 === this._transformType, St ? p && (f = !0, "" === w.zIndex && (y = $(t, "zIndex", n), ("auto" === y || "" === y) && this._addLazySet(w, "zIndex", 0)), d && this._addLazySet(w, "WebkitBackfaceVisibility", this._vars.WebkitBackfaceVisibility || (b ? "visible" : "hidden"))) : w.zoom = 1, _ = c; _ && _._next;) _ = _._next;
x = new mt(t, "transform", 0, 0, null, 2), this._linkCSSP(x, null, _), x.setRatio = St ? Bt : zt, x.data = this._transform || Lt(t, n, !0), x.tween = a, x.pr = -1, s.pop()
}
if (i) {
for (; c;) {
for (v = c._next, _ = m; _ && _.pr > c.pr;) _ = _._next;
(c._prev = _ ? _._prev : g) ? c._prev._next = c: m = c, (c._next = _) ? _._prev = c : g = c, c = v
}
this._firstPT = m
}
return !0
}, c.parse = function(t, e, i, s) {
var a, o, u, c, f, p, _, d, m, g, v = t.style;
for (a in e) p = e[a], o = l[a], o ? i = o.parse(t, p, a, this, i, s, e) : (f = $(t, a, n) + "", m = "string" == typeof p, "color" === a || "fill" === a || "stroke" === a || -1 !== a.indexOf("Color") || m && S.test(p) ? (m || (p = ct(p), p = (p.length > 3 ? "rgba(" : "rgb(") + p.join(",") + ")"), i = vt(v, a, f, p, !0, "transparent", i, 0, s)) : !m || -1 === p.indexOf(" ") && -1 === p.indexOf(",") ? (u = parseFloat(f), _ = u || 0 === u ? f.substr((u + "").length) : "", ("" === f || "auto" === f) && ("width" === a || "height" === a ? (u = rt(t, a, n), _ = "px") : "left" === a || "top" === a ? (u = Q(t, a, n), _ = "px") : (u = "opacity" !== a ? 0 : 1, _ = "")), g = m && "=" === p.charAt(1), g ? (c = parseInt(p.charAt(0) + "1", 10), p = p.substr(2), c *= parseFloat(p), d = p.replace(b, "")) : (c = parseFloat(p), d = m ? p.replace(b, "") : ""), "" === d && (d = a in r ? r[a] : _), p = c || 0 === c ? (g ? c + u : c) + d : e[a], _ !== d && "" !== d && (c || 0 === c) && u && (u = K(t, a, u, _), "%" === d ? (u /= K(t, a, 100, "%") / 100, e.strictUnits !== !0 && (f = u + "%")) : "em" === d || "rem" === d ? u /= K(t, a, 1, d) : "px" !== d && (c = K(t, a, c, d), d = "px"), g && (c || 0 === c) && (p = c + u + d)), g && (c += u), !u && 0 !== u || !c && 0 !== c ? void 0 !== v[a] && (p || p + "" != "NaN" && null != p) ? (i = new mt(v, a, c || u || 0, 0, i, -1, a, !1, 0, f, p), i.xs0 = "none" !== p || "display" !== a && -1 === a.indexOf("Style") ? p : f) : U("invalid " + a + " tween value: " + e[a]) : (i = new mt(v, a, u, c - u, i, 0, a, h !== !1 && ("px" === d || "zIndex" === a), 0, f, p), i.xs0 = d)) : i = vt(v, a, f, p, !0, null, i, 0, s)), s && i && !i.plugin && (i.plugin = s);
return i
}, c.setRatio = function(t) {
var e, i, r, n = this._firstPT,
s = 1e-6;
if (1 !== t || this._tween._time !== this._tween._duration && 0 !== this._tween._time)
if (t || this._tween._time !== this._tween._duration && 0 !== this._tween._time || this._tween._rawPrevTime === -1e-6)
for (; n;) {
if (e = n.c * t + n.s, n.r ? e = R3(e) : s > e && e > -s && (e = 0), n.type)
if (1 === n.type)
if (r = n.l, 2 === r) n.t[n.p] = n.xs0 + e + n.xs1 + n.xn1 + n.xs2;
else if (3 === r) n.t[n.p] = n.xs0 + e + n.xs1 + n.xn1 + n.xs2 + n.xn2 + n.xs3;
else if (4 === r) n.t[n.p] = n.xs0 + e + n.xs1 + n.xn1 + n.xs2 + n.xn2 + n.xs3 + n.xn3 + n.xs4;
else if (5 === r) n.t[n.p] = n.xs0 + e + n.xs1 + n.xn1 + n.xs2 + n.xn2 + n.xs3 + n.xn3 + n.xs4 + n.xn4 + n.xs5;
else {
for (i = n.xs0 + e + n.xs1, r = 1; r < n.l; r++) i += n["xn" + r] + n["xs" + (r + 1)];
n.t[n.p] = i
} else -1 === n.type ? n.t[n.p] = n.xs0 : n.setRatio && n.setRatio(t);
else n.t[n.p] = e + n.xs0;
n = n._next
} else
for (; n;) 2 !== n.type ? n.t[n.p] = n.b : n.setRatio(t), n = n._next;
else
for (; n;) {
if (2 !== n.type)
if (n.r && -1 !== n.type)
if (e = R3(n.s + n.c), n.type) {
if (1 === n.type) {
for (r = n.l, i = n.xs0 + e + n.xs1, r = 1; r < n.l; r++) i += n["xn" + r] + n["xs" + (r + 1)];
n.t[n.p] = i
}
} else n.t[n.p] = e + n.xs0;
else n.t[n.p] = n.e;
else n.setRatio(t);
n = n._next
}
}, c._enableTransforms = function(t) {
this._transform = this._transform || Lt(this._target, n, !0), this._transformType = this._transform.svg && Tt || !t && 3 !== this._transformType ? 2 : 3
};
var Ut = function(t) {
this.t[this.p] = this.e, this.data._linkCSSP(this, this._next, null, !0)
};
c._addLazySet = function(t, e, i) {
var r = this._firstPT = new mt(t, e, 0, 0, this._firstPT, 2);
r.e = i, r.setRatio = Ut, r.data = this
}, c._linkCSSP = function(t, e, i, r) {
return t && (e && (e._prev = t), t._next && (t._next._prev = t._prev), t._prev ? t._prev._next = t._next : this._firstPT === t && (this._firstPT = t._next, r = !0), i ? i._next = t : r || null !== this._firstPT || (this._firstPT = t), t._next = e, t._prev = i), t
}, c._kill = function(e) {
var i, r, n, s = e;
if (e.autoAlpha || e.alpha) {
s = {};
for (r in e) s[r] = e[r];
s.opacity = 1, s.autoAlpha && (s.visibility = 1)
}
return e.className && (i = this._classNamePT) && (n = i.xfirst, n && n._prev ? this._linkCSSP(n._prev, i._next, n._prev._prev) : n === this._firstPT && (this._firstPT = i._next), i._next && this._linkCSSP(i._next, i._next._next, n._prev), this._classNamePT = null), t.prototype._kill.call(this, s)
};
var Vt = function(t, e, i) {
var r, n, s, a;
if (t.slice)
for (n = t.length; --n > -1;) Vt(t[n], e, i);
else
for (r = t.childNodes, n = r.length; --n > -1;) s = r[n], a = s.type, s.style && (e.push(J(s)), i && i.push(s)), 1 !== a && 9 !== a && 11 !== a || !s.childNodes.length || Vt(s, e, i)
};
return o.cascadeTo = function(t, i, r) {
var n, s, a, o, u = e.to(t, i, r),
l = [u],
c = [],
h = [],
f = [],
p = e._internals.reservedProps;
for (t = u._targets || u.target, Vt(t, c, f), u.render(i, !0, !0), Vt(t, h), u.render(0, !0, !0), u._enabled(!0), n = f.length; --n > -1;)
if (s = tt(f[n], c[n], h[n]), s.firstMPT) {
s = s.difs;
for (a in r) p[a] && (s[a] = r[a]);
o = {};
for (a in s) o[a] = c[n][a];
l.push(e.fromTo(f[n], i, o, s))
}
return l
}, t.activate([o]), o
}, !0),
function() {
var t = a._gsDefine.plugin({
propName: "roundProps",
version: "1.5",
priority: -1,
API: 2,
init: function(t, e, i) {
return this._tween = i, !0
}
}),
e = function(t) {
for (; t;) t.f || t.blob || (t.r = 1), t = t._next
},
i = t.prototype;
i._onInitAllProps = function() {
for (var t, i, r, n = this._tween, s = n.vars.roundProps.join ? n.vars.roundProps : n.vars.roundProps.split(","), a = s.length, o = {}, u = n._propLookup.roundProps; --a > -1;) o[s[a]] = 1;
for (a = s.length; --a > -1;)
for (t = s[a], i = n._firstPT; i;) r = i._next, i.pg ? i.t._roundProps(o, !0) : i.n === t && (2 === i.f && i.t ? e(i.t._firstPT) : (this._add(i.t, t, i.s, i.c), r && (r._prev = i._prev), i._prev ? i._prev._next = r : n._firstPT === i && (n._firstPT = r), i._next = i._prev = null, n._propLookup[t] = u)), i = r;
return !1
}, i._add = function(t, e, i, r) {
this._addTween(t, e, i, i + r, e, !0), this._overwriteProps.push(e)
}
}(),
function() {
a._gsDefine.plugin({
propName: "attr",
API: 2,
version: "0.5.0",
init: function(t, e, i) {
var r;
if ("function" != typeof t.setAttribute) return !1;
for (r in e) this._addTween(t, "setAttribute", t.getAttribute(r) + "", e[r] + "", r, !1, r), this._overwriteProps.push(r);
return !0
}
})
}(), a._gsDefine.plugin({
propName: "directionalRotation",
version: "0.2.1",
API: 2,
init: function(t, e, i) {
"object" != typeof e && (e = {
rotation: e
}), this.finals = {};
var r, n, s, a, o, u, l = e.useRadians === !0 ? 2 * Math.PI : 360,
c = 1e-6;
for (r in e) "useRadians" !== r && (u = (e[r] + "").split("_"), n = u[0], s = parseFloat("function" != typeof t[r] ? t[r] : t[r.indexOf("set") || "function" != typeof t["get" + r.substr(3)] ? r : "get" + r.substr(3)]()), a = this.finals[r] = "string" == typeof n && "=" === n.charAt(1) ? s + parseInt(n.charAt(0) + "1", 10) * Number(n.substr(2)) : Number(n) || 0, o = a - s, u.length && (n = u.join("_"), -1 !== n.indexOf("short") && (o %= l, o !== o % (l / 2) && (o = 0 > o ? o + l : o - l)), -1 !== n.indexOf("_cw") && 0 > o ? o = (o + 9999999999 * l) % l - (o / l | 0) * l : -1 !== n.indexOf("ccw") && o > 0 && (o = (o - 9999999999 * l) % l - (o / l | 0) * l)), (o > c || -c > o) && (this._addTween(t, r, s, s + o, r), this._overwriteProps.push(r)));
return !0
},
set: function(t) {
var e;
if (1 !== t) this._super.setRatio.call(this, t);
else
for (e = this._firstPT; e;) e.f ? e.t[e.p](this.finals[e.p]) : e.t[e.p] = this.finals[e.p], e = e._next
}
})._autoCSS = !0, a._gsDefine("easing.Back", ["easing.Ease"], function(t) {
var e, i, r, n = a.GreenSockGlobals || a,
s = n.com.greensock,
o = 2 * Math.PI,
u = Math.PI / 2,
l = s._class,
c = function(e, i) {
var r = l("easing." + e, function() {}, !0),
n = r.prototype = new t;
return n.constructor = r, n.getRatio = i, r
},
h = t.register || function() {},
f = function(t, e, i, r, n) {
var s = l("easing." + t, {
easeOut: new e,
easeIn: new i,
easeInOut: new r
}, !0);
return h(s, t), s
},
p = function(t, e, i) {
this.t = t, this.v = e, i && (this.next = i, i.prev = this, this.c = i.v - e, this.gap = i.t - t)
},
_ = function(e, i) {
var r = l("easing." + e, function(t) {
this._p1 = t || 0 === t ? t : 1.70158, this._p2 = 1.525 * this._p1
}, !0),
n = r.prototype = new t;
return n.constructor = r, n.getRatio = i, n.config = function(t) {
return new r(t)
}, r
},
d = f("Back", _("BackOut", function(t) {
return (t -= 1) * t * ((this._p1 + 1) * t + this._p1) + 1
}), _("BackIn", function(t) {
return t * t * ((this._p1 + 1) * t - this._p1)
}), _("BackInOut", function(t) {
return (t *= 2) < 1 ? .5 * t * t * ((this._p2 + 1) * t - this._p2) : .5 * ((t -= 2) * t * ((this._p2 + 1) * t + this._p2) + 2)
})),
m = l("easing.SlowMo", function(t, e, i) {
e = e || 0 === e ? e : .7, null == t ? t = .7 : t > 1 && (t = 1), this._p = 1 !== t ? e : 0, this._p1 = (1 - t) / 2, this._p2 = t, this._p3 = this._p1 + this._p2, this._calcEnd = i === !0
}, !0),
g = m.prototype = new t;
return g.constructor = m, g.getRatio = function(t) {
var e = t + (.5 - t) * this._p;
return t < this._p1 ? this._calcEnd ? 1 - (t = 1 - t / this._p1) * t : e - (t = 1 - t / this._p1) * t * t * t * e : t > this._p3 ? this._calcEnd ? 1 - (t = (t - this._p3) / this._p1) * t : e + (t - e) * (t = (t - this._p3) / this._p1) * t * t * t : this._calcEnd ? 1 : e
}, m.ease = new m(.7, .7), g.config = m.config = function(t, e, i) {
return new m(t, e, i)
}, e = l("easing.SteppedEase", function(t) {
t = t || 1, this._p1 = 1 / t, this._p2 = t + 1
}, !0), g = e.prototype = new t, g.constructor = e, g.getRatio = function(t) {
return 0 > t ? t = 0 : t >= 1 && (t = .999999999), (this._p2 * t >> 0) * this._p1
}, g.config = e.config = function(t) {
return new e(t)
}, i = l("easing.RoughEase", function(e) {
e = e || {};
for (var i, r, n, s, a, o, u = e.taper || "none", l = [], c = 0, h = 0 | (e.points || 20), f = h, _ = e.randomize !== !1, d = e.clamp === !0, m = e.template instanceof t ? e.template : null, g = "number" == typeof e.strength ? .4 * e.strength : .4; --f > -1;) i = _ ? Math.random() : 1 / h * f, r = m ? m.getRatio(i) : i, "none" === u ? n = g : "out" === u ? (s = 1 - i, n = s * s * g) : "in" === u ? n = i * i * g : .5 > i ? (s = 2 * i, n = s * s * .5 * g) : (s = 2 * (1 - i), n = s * s * .5 * g), _ ? r += Math.random() * n - .5 * n : f % 2 ? r += .5 * n : r -= .5 * n, d && (r > 1 ? r = 1 : 0 > r && (r = 0)), l[c++] = {
x: i,
y: r
};
for (l.sort(function(t, e) {
return t.x - e.x
}), o = new p(1, 1, null), f = h; --f > -1;) a = l[f], o = new p(a.x, a.y, o);
this._prev = new p(0, 0, 0 !== o.t ? o : o.next)
}, !0), g = i.prototype = new t, g.constructor = i, g.getRatio = function(t) {
var e = this._prev;
if (t > e.t) {
for (; e.next && t >= e.t;) e = e.next;
e = e.prev
} else
for (; e.prev && t <= e.t;) e = e.prev;
return this._prev = e, e.v + (t - e.t) / e.gap * e.c
}, g.config = function(t) {
return new i(t)
}, i.ease = new i, f("Bounce", c("BounceOut", function(t) {
return 1 / 2.75 > t ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : 2.5 / 2.75 > t ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375
}), c("BounceIn", function(t) {
return (t = 1 - t) < 1 / 2.75 ? 1 - 7.5625 * t * t : 2 / 2.75 > t ? 1 - (7.5625 * (t -= 1.5 / 2.75) * t + .75) : 2.5 / 2.75 > t ? 1 - (7.5625 * (t -= 2.25 / 2.75) * t + .9375) : 1 - (7.5625 * (t -= 2.625 / 2.75) * t + .984375)
}), c("BounceInOut", function(t) {
var e = .5 > t;
return t = e ? 1 - 2 * t : 2 * t - 1, t = 1 / 2.75 > t ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : 2.5 / 2.75 > t ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375, e ? .5 * (1 - t) : .5 * t + .5
})), f("Circ", c("CircOut", function(t) {
return Math.sqrt(1 - (t -= 1) * t)
}), c("CircIn", function(t) {
return -(Math.sqrt(1 - t * t) - 1)
}), c("CircInOut", function(t) {
return (t *= 2) < 1 ? -.5 * (Math.sqrt(1 - t * t) - 1) : .5 * (Math.sqrt(1 - (t -= 2) * t) + 1)
})), r = function(e, i, r) {
var n = l("easing." + e, function(t, e) {
this._p1 = t >= 1 ? t : 1, this._p2 = (e || r) / (1 > t ? t : 1), this._p3 = this._p2 / o * (Math.asin(1 / this._p1) || 0), this._p2 = o / this._p2
}, !0),
s = n.prototype = new t;
return s.constructor = n, s.getRatio = i, s.config = function(t, e) {
return new n(t, e)
}, n
}, f("Elastic", r("ElasticOut", function(t) {
return this._p1 * Math.pow(2, -10 * t) * Math.sin((t - this._p3) * this._p2) + 1
}, .3), r("ElasticIn", function(t) {
return -(this._p1 * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - this._p3) * this._p2))
}, .3), r("ElasticInOut", function(t) {
return (t *= 2) < 1 ? -.5 * (this._p1 * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - this._p3) * this._p2)) : this._p1 * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - this._p3) * this._p2) * .5 + 1
}, .45)), f("Expo", c("ExpoOut", function(t) {
return 1 - Math.pow(2, -10 * t)
}), c("ExpoIn", function(t) {
return Math.pow(2, 10 * (t - 1)) - .001
}), c("ExpoInOut", function(t) {
return (t *= 2) < 1 ? .5 * Math.pow(2, 10 * (t - 1)) : .5 * (2 - Math.pow(2, -10 * (t - 1)))
})), f("Sine", c("SineOut", function(t) {
return Math.sin(t * u)
}), c("SineIn", function(t) {
return -Math.cos(t * u) + 1
}), c("SineInOut", function(t) {
return -.5 * (Math.cos(Math.PI * t) - 1)
})), l("easing.EaseLookup", {
find: function(e) {
return t.map[e]
}
}, !0), h(n.SlowMo, "SlowMo", "ease,"), h(i, "RoughEase", "ease,"), h(e, "SteppedEase", "ease,"), d
}, !0)
}), a._gsDefine && a._gsQueue.pop()(),
function(s, a) {
"use strict";
var o = s.GreenSockGlobals = s.GreenSockGlobals || s;
if (!o.TweenLite) {
var u, l, c, h, f, p = function(t) {
var e, i = t.split("."),
r = o;
for (e = 0; e < i.length; e++) r[i[e]] = r = r[i[e]] || {};
return r
},
_ = p("com.greensock"),
d = 1e-10,
m = function(t) {
var e, i = [],
r = t.length;
for (e = 0; e !== r; i.push(t[e++]));
return i
},
g = function() {},
v = function() {
var t = Object.prototype.toString,
e = t.call([]);
return function(i) {
return null != i && (i instanceof Array || "object" == typeof i && !!i.push && t.call(i) === e)
}
}(),
y = {},
x = function(s, u, l, c) {
this.sc = y[s] ? y[s].sc : [], y[s] = this, this.gsClass = null, this.func = l;
var h = [];
this.check = function(f) {
for (var _, d, m, g, v, b = u.length, w = b; --b > -1;)(_ = y[u[b]] || new x(u[b], [])).gsClass ? (h[b] = _.gsClass, w--) : f && _.sc.push(this);
if (0 === w && l)
for (d = ("com.greensock." + s).split("."), m = d.pop(), g = p(d.join("."))[m] = this.gsClass = l.apply(l, h), c && (o[m] = g, v = "undefined" != typeof t && t.exports, !v && i(200) ? (r = [], n = function() {
return g
}.apply(e, r), !(void 0 !== n && (t.exports = n))) : s === a && v && (t.exports = g)), b = 0; b < this.sc.length; b++) this.sc[b].check()
}, this.check(!0)
},
b = s._gsDefine = function(t, e, i, r) {
return new x(t, e, i, r)
},
w = _._class = function(t, e, i) {
return e = e || function() {}, b(t, [], function() {
return e
}, i), e
};
b.globals = o;
var T = [0, 0, 1, 1],
P = [],
S = w("easing.Ease", function(t, e, i, r) {
this._func = t, this._type = i || 0, this._power = r || 0, this._params = e ? T.concat(e) : T
}, !0),
O = S.map = {},
A = S.register = function(t, e, i, r) {
for (var n, s, a, o, u = e.split(","), l = u.length, c = (i || "easeIn,easeOut,easeInOut").split(","); --l > -1;)
for (s = u[l], n = r ? w("easing." + s, null, !0) : _.easing[s] || {}, a = c.length; --a > -1;) o = c[a], O[s + "." + o] = O[o + s] = n[o] = t.getRatio ? t : t[o] || new t
};
for (c = S.prototype, c._calcEnd = !1, c.getRatio = function(t) {
if (this._func) return this._params[0] = t, this._func.apply(null, this._params);
var e = this._type,
i = this._power,
r = 1 === e ? 1 - t : 2 === e ? t : .5 > t ? 2 * t : 2 * (1 - t);
return 1 === i ? r *= r : 2 === i ? r *= r * r : 3 === i ? r *= r * r * r : 4 === i && (r *= r * r * r * r), 1 === e ? 1 - r : 2 === e ? r : .5 > t ? r / 2 : 1 - r / 2
}, u = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"], l = u.length; --l > -1;) c = u[l] + ",Power" + l, A(new S(null, null, 1, l), c, "easeOut", !0), A(new S(null, null, 2, l), c, "easeIn" + (0 === l ? ",easeNone" : "")), A(new S(null, null, 3, l), c, "easeInOut");
O.linear = _.easing.Linear.easeIn, O.swing = _.easing.Quad.easeInOut;
var k = w("events.EventDispatcher", function(t) {
this._listeners = {}, this._eventTarget = t || this
});
c = k.prototype, c.addEventListener = function(t, e, i, r, n) {
n = n || 0;
var s, a, o = this._listeners[t],
u = 0;
for (null == o && (this._listeners[t] = o = []), a = o.length; --a > -1;) s = o[a], s.c === e && s.s === i ? o.splice(a, 1) : 0 === u && s.pr < n && (u = a + 1);
o.splice(u, 0, {
c: e,
s: i,
up: r,
pr: n
}), this !== h || f || h.wake()
}, c.removeEventListener = function(t, e) {
var i, r = this._listeners[t];
if (r)
for (i = r.length; --i > -1;)
if (r[i].c === e) return void r.splice(i, 1)
}, c.dispatchEvent = function(t) {
var e, i, r, n = this._listeners[t];
if (n)
for (e = n.length, i = this._eventTarget; --e > -1;) r = n[e], r && (r.up ? r.c.call(r.s || i, {
type: t,
target: i
}) : r.c.call(r.s || i))
};
var M = s.requestAnimationFrame,
R = s.cancelAnimationFrame,
C = Date.now || function() {
return (new Date).getTime()
},
D = C();
for (u = ["ms", "moz", "webkit", "o"], l = u.length; --l > -1 && !M;) M = s[u[l] + "RequestAnimationFrame"], R = s[u[l] + "CancelAnimationFrame"] || s[u[l] + "CancelRequestAnimationFrame"];
w("Ticker", function(t, e) {
var i, r, n, s, a, o = this,
u = C(),
l = e !== !1 && M,
c = 500,
p = 33,
_ = "tick",
m = function(t) {
var e, l, h = C() - D;
h > c && (u += h - p), D += h, o.time = (D - u) / 1e3, e = o.time - a, (!i || e > 0 || t === !0) && (o.frame++, a += e + (e >= s ? .004 : s - e), l = !0), t !== !0 && (n = r(m)), l && o.dispatchEvent(_)
};
k.call(o), o.time = o.frame = 0, o.tick = function() {
m(!0)
}, o.lagSmoothing = function(t, e) {
c = t || 1 / d, p = Math.min(e, c, 0)
}, o.sleep = function() {
null != n && (l && R ? R(n) : clearTimeout(n), r = g, n = null, o === h && (f = !1))
}, o.wake = function() {
null !== n ? o.sleep() : o.frame > 10 && (D = C() - c + 5), r = 0 === i ? g : l && M ? M : function(t) {
return setTimeout(t, 1e3 * (a - o.time) + 1 | 0)
}, o === h && (f = !0), m(2)
}, o.fps = function(t) {
return arguments.length ? (i = t, s = 1 / (i || 60), a = this.time + s, void o.wake()) : i
}, o.useRAF = function(t) {
return arguments.length ? (o.sleep(), l = t, void o.fps(i)) : l
}, o.fps(t), setTimeout(function() {
l && o.frame < 5 && o.useRAF(!1)
}, 1500)
}), c = _.Ticker.prototype = new _.events.EventDispatcher, c.constructor = _.Ticker;
var E = w("core.Animation", function(t, e) {
if (this.vars = e = e || {}, this._duration = this._totalDuration = t || 0, this._delay = Number(e.delay) || 0, this._timeScale = 1, this._active = e.immediateRender === !0, this.data = e.data, this._reversed = e.reversed === !0, Q) {
f || h.wake();
var i = this.vars.useFrames ? K : Q;
i.add(this, i._time), this.vars.paused && this.paused(!0)
}
});
h = E.ticker = new _.Ticker, c = E.prototype, c._dirty = c._gc = c._initted = c._paused = !1, c._totalTime = c._time = 0, c._rawPrevTime = -1, c._next = c._last = c._onUpdate = c._timeline = c.timeline = null, c._paused = !1;
var F = function() {
f && C() - D > 2e3 && h.wake(), setTimeout(F, 2e3)
};
F(), c.play = function(t, e) {
return null != t && this.seek(t, e), this.reversed(!1).paused(!1)
}, c.pause = function(t, e) {
return null != t && this.seek(t, e), this.paused(!0)
}, c.resume = function(t, e) {
return null != t && this.seek(t, e), this.paused(!1)
}, c.seek = function(t, e) {
return this.totalTime(Number(t), e !== !1)
}, c.restart = function(t, e) {
return this.reversed(!1).paused(!1).totalTime(t ? -this._delay : 0, e !== !1, !0)
}, c.reverse = function(t, e) {
return null != t && this.seek(t || this.totalDuration(), e), this.reversed(!0).paused(!1)
}, c.render = function(t, e, i) {}, c.invalidate = function() {
return this._time = this._totalTime = 0, this._initted = this._gc = !1, this._rawPrevTime = -1, (this._gc || !this.timeline) && this._enabled(!0), this
}, c.isActive = function() {
var t, e = this._timeline,
i = this._startTime;
return !e || !this._gc && !this._paused && e.isActive() && (t = e.rawTime()) >= i && t < i + this.totalDuration() / this._timeScale
}, c._enabled = function(t, e) {
return f || h.wake(), this._gc = !t, this._active = this.isActive(), e !== !0 && (t && !this.timeline ? this._timeline.add(this, this._startTime - this._delay) : !t && this.timeline && this._timeline._remove(this, !0)), !1
}, c._kill = function(t, e) {
return this._enabled(!1, !1)
}, c.kill = function(t, e) {
return this._kill(t, e), this
}, c._uncache = function(t) {
for (var e = t ? this : this.timeline; e;) e._dirty = !0, e = e.timeline;
return this
}, c._swapSelfInParams = function(t) {
for (var e = t.length, i = t.concat(); --e > -1;) "{self}" === t[e] && (i[e] = this);
return i
}, c._callback = function(t) {
var e = this.vars;
e[t].apply(e[t + "Scope"] || e.callbackScope || this, e[t + "Params"] || P)
}, c.eventCallback = function(t, e, i, r) {
if ("on" === (t || "").substr(0, 2)) {
var n = this.vars;
if (1 === arguments.length) return n[t];
null == e ? delete n[t] : (n[t] = e, n[t + "Params"] = v(i) && -1 !== i.join("").indexOf("{self}") ? this._swapSelfInParams(i) : i, n[t + "Scope"] = r), "onUpdate" === t && (this._onUpdate = e)
}
return this
}, c.delay = function(t) {
return arguments.length ? (this._timeline.smoothChildTiming && this.startTime(this._startTime + t - this._delay), this._delay = t, this) : this._delay
}, c.duration = function(t) {
return arguments.length ? (this._duration = this._totalDuration = t, this._uncache(!0), this._timeline.smoothChildTiming && this._time > 0 && this._time < this._duration && 0 !== t && this.totalTime(this._totalTime * (t / this._duration), !0), this) : (this._dirty = !1, this._duration)
}, c.totalDuration = function(t) {
return this._dirty = !1, arguments.length ? this.duration(t) : this._totalDuration
}, c.time = function(t, e) {
return arguments.length ? (this._dirty && this.totalDuration(), this.totalTime(t > this._duration ? this._duration : t, e)) : this._time
}, c.totalTime = function(t, e, i) {
if (f || h.wake(), !arguments.length) return this._totalTime;
if (this._timeline) {
if (0 > t && !i && (t += this.totalDuration()), this._timeline.smoothChildTiming) {
this._dirty && this.totalDuration();
var r = this._totalDuration,
n = this._timeline;
if (t > r && !i && (t = r), this._startTime = (this._paused ? this._pauseTime : n._time) - (this._reversed ? r - t : t) / this._timeScale, n._dirty || this._uncache(!1), n._timeline)
for (; n._timeline;) n._timeline._time !== (n._startTime + n._totalTime) / n._timeScale && n.totalTime(n._totalTime, !0), n = n._timeline
}
this._gc && this._enabled(!0, !1), (this._totalTime !== t || 0 === this._duration) && (z.length && tt(), this.render(t, e, !1), z.length && tt())
}
return this
}, c.progress = c.totalProgress = function(t, e) {
var i = this.duration();
return arguments.length ? this.totalTime(i * t, e) : i ? this._time / i : this.ratio
}, c.startTime = function(t) {
return arguments.length ? (t !== this._startTime && (this._startTime = t, this.timeline && this.timeline._sortChildren && this.timeline.add(this, t - this._delay)), this) : this._startTime
}, c.endTime = function(t) {
return this._startTime + (0 != t ? this.totalDuration() : this.duration()) / this._timeScale
}, c.timeScale = function(t) {
if (!arguments.length) return this._timeScale;
if (t = t || d, this._timeline && this._timeline.smoothChildTiming) {
var e = this._pauseTime,
i = e || 0 === e ? e : this._timeline.totalTime();
this._startTime = i - (i - this._startTime) * this._timeScale / t
}
return this._timeScale = t, this._uncache(!1)
}, c.reversed = function(t) {
return arguments.length ? (t != this._reversed && (this._reversed = t, this.totalTime(this._timeline && !this._timeline.smoothChildTiming ? this.totalDuration() - this._totalTime : this._totalTime, !0)), this) : this._reversed
}, c.paused = function(t) {
if (!arguments.length) return this._paused;
var e, i, r = this._timeline;
return t != this._paused && r && (f || t || h.wake(), e = r.rawTime(), i = e - this._pauseTime, !t && r.smoothChildTiming && (this._startTime += i, this._uncache(!1)), this._pauseTime = t ? e : null, this._paused = t, this._active = this.isActive(), !t && 0 !== i && this._initted && this.duration() && (e = r.smoothChildTiming ? this._totalTime : (e - this._startTime) / this._timeScale, this.render(e, e === this._totalTime, !0))), this._gc && !t && this._enabled(!0, !1), this
};
var j = w("core.SimpleTimeline", function(t) {
E.call(this, 0, t), this.autoRemoveChildren = this.smoothChildTiming = !0
});
c = j.prototype = new E, c.constructor = j, c.kill()._gc = !1, c._first = c._last = c._recent = null, c._sortChildren = !1, c.add = c.insert = function(t, e, i, r) {
var n, s;
if (t._startTime = Number(e || 0) + t._delay, t._paused && this !== t._timeline && (t._pauseTime = t._startTime + (this.rawTime() - t._startTime) / t._timeScale), t.timeline && t.timeline._remove(t, !0), t.timeline = t._timeline = this, t._gc && t._enabled(!0, !0), n = this._last, this._sortChildren)
for (s = t._startTime; n && n._startTime > s;) n = n._prev;
return n ? (t._next = n._next, n._next = t) : (t._next = this._first, this._first = t), t._next ? t._next._prev = t : this._last = t, t._prev = n, this._recent = t, this._timeline && this._uncache(!0), this
}, c._remove = function(t, e) {
return t.timeline === this && (e || t._enabled(!1, !0), t._prev ? t._prev._next = t._next : this._first === t && (this._first = t._next), t._next ? t._next._prev = t._prev : this._last === t && (this._last = t._prev), t._next = t._prev = t.timeline = null, t === this._recent && (this._recent = this._last), this._timeline && this._uncache(!0)), this
}, c.render = function(t, e, i) {
var r, n = this._first;
for (this._totalTime = this._time = this._rawPrevTime = t; n;) r = n._next, (n._active || t >= n._startTime && !n._paused) && (n._reversed ? n.render((n._dirty ? n.totalDuration() : n._totalDuration) - (t - n._startTime) * n._timeScale, e, i) : n.render((t - n._startTime) * n._timeScale, e, i)), n = r
}, c.rawTime = function() {
return f || h.wake(), this._totalTime
};
var N = w("TweenLite", function(t, e, i) {
if (E.call(this, e, i), this.render = N.prototype.render, null == t) throw "Cannot tween a null target.";
this.target = t = "string" != typeof t ? t : N.selector(t) || t;
var r, n, a, o = t.jquery || t.length && t !== s && t[0] && (t[0] === s || t[0].nodeType && t[0].style && !t.nodeType),
u = this.vars.overwrite;
if (this._overwrite = u = null == u ? $[N.defaultOverwrite] : "number" == typeof u ? u >> 0 : $[u], (o || t instanceof Array || t.push && v(t)) && "number" != typeof t[0])
for (this._targets = a = m(t), this._propLookup = [], this._siblings = [], r = 0; r < a.length; r++) n = a[r], n ? "string" != typeof n ? n.length && n !== s && n[0] && (n[0] === s || n[0].nodeType && n[0].style && !n.nodeType) ? (a.splice(r--, 1), this._targets = a = a.concat(m(n))) : (this._siblings[r] = et(n, this, !1), 1 === u && this._siblings[r].length > 1 && rt(n, this, null, 1, this._siblings[r])) : (n = a[r--] = N.selector(n), "string" == typeof n && a.splice(r + 1, 1)) : a.splice(r--, 1);
else this._propLookup = {}, this._siblings = et(t, this, !1), 1 === u && this._siblings.length > 1 && rt(t, this, null, 1, this._siblings);
(this.vars.immediateRender || 0 === e && 0 === this._delay && this.vars.immediateRender !== !1) && (this._time = -d, this.render(-this._delay))
}, !0),
I = function(t) {
return t && t.length && t !== s && t[0] && (t[0] === s || t[0].nodeType && t[0].style && !t.nodeType)
},
L = function(t, e) {
var i, r = {};
for (i in t) H[i] || i in e && "transform" !== i && "x" !== i && "y" !== i && "width" !== i && "height" !== i && "className" !== i && "border" !== i || !(!V[i] || V[i] && V[i]._autoCSS) || (r[i] = t[i], delete t[i]);
t.css = r
};
c = N.prototype = new E, c.constructor = N, c.kill()._gc = !1, c.ratio = 0, c._firstPT = c._targets = c._overwrittenProps = c._startAt = null, c._notifyPluginsOfEnabled = c._lazy = !1, N.version = "1.18.0", N.defaultEase = c._ease = new S(null, null, 1, 1), N.defaultOverwrite = "auto", N.ticker = h, N.autoSleep = 120, N.lagSmoothing = function(t, e) {
h.lagSmoothing(t, e)
}, N.selector = s.$ || s.jQuery || function(t) {
var e = s.$ || s.jQuery;
return e ? (N.selector = e, e(t)) : "undefined" == typeof document ? t : document.querySelectorAll ? document.querySelectorAll(t) : document.getElementById("#" === t.charAt(0) ? t.substr(1) : t)
};
var z = [],
B = {},
X = /(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,
Y = function(t) {
for (var e, i = this._firstPT, r = 1e-6; i;) e = i.blob ? t ? this.join("") : this.start : i.c * t + i.s, i.r ? e = R3(e) : r > e && e > -r && (e = 0), i.f ? i.fp ? i.t[i.p](i.fp, e) : i.t[i.p](e) : i.t[i.p] = e, i = i._next
},
W = function(t, e, i, r) {
var n, s, a, o, u, l, c, h = [t, e],
f = 0,
p = "",
_ = 0;
for (h.start = t, i && (i(h), t = h[0], e = h[1]), h.length = 0, n = t.match(X) || [], s = e.match(X) || [], r && (r._next = null, r.blob = 1, h._firstPT = r), u = s.length, o = 0; u > o; o++) c = s[o], l = e.substr(f, e.indexOf(c, f) - f), p += l || !o ? l : ",", f += l.length, _ ? _ = (_ + 1) % 5 : "rgba(" === l.substr(-5) && (_ = 1), c === n[o] || n.length <= o ? p += c : (p && (h.push(p), p = ""), a = parseFloat(n[o]), h.push(a), h._firstPT = {
_next: h._firstPT,
t: h,
p: h.length - 1,
s: a,
c: ("=" === c.charAt(1) ? parseInt(c.charAt(0) + "1", 10) * parseFloat(c.substr(2)) : parseFloat(c) - a) || 0,
f: 0,
r: _ && 4 > _
}), f += c.length;
return p += e.substr(f), p && h.push(p), h.setRatio = Y, h
},
q = function(t, e, i, r, n, s, a, o) {
var u, l, c = "get" === i ? t[e] : i,
h = typeof t[e],
f = "string" == typeof r && "=" === r.charAt(1),
p = {
t: t,
p: e,
s: c,
f: "function" === h,
pg: 0,
n: n || e,
r: s,
pr: 0,
c: f ? parseInt(r.charAt(0) + "1", 10) * parseFloat(r.substr(2)) : parseFloat(r) - c || 0
};
return "number" !== h && ("function" === h && "get" === i && (l = e.indexOf("set") || "function" != typeof t["get" + e.substr(3)] ? e : "get" + e.substr(3), p.s = c = a ? t[l](a) : t[l]()), "string" == typeof c && (a || isNaN(c)) ? (p.fp = a, u = W(c, r, o || N.defaultStringFilter, p), p = {
t: u,
p: "setRatio",
s: 0,
c: 1,
f: 2,
pg: 0,
n: n || e,
pr: 0
}) : f || (p.c = parseFloat(r) - parseFloat(c) || 0)), p.c ? ((p._next = this._firstPT) && (p._next._prev = p), this._firstPT = p, p) : void 0
},
U = N._internals = {
isArray: v,
isSelector: I,
lazyTweens: z,
blobDif: W
},
V = N._plugins = {},
G = U.tweenLookup = {},
Z = 0,
H = U.reservedProps = {
ease: 1,
delay: 1,
overwrite: 1,
onComplete: 1,
onCompleteParams: 1,
onCompleteScope: 1,
useFrames: 1,
runBackwards: 1,
startAt: 1,
onUpdate: 1,
onUpdateParams: 1,
onUpdateScope: 1,
onStart: 1,
onStartParams: 1,
onStartScope: 1,
onReverseComplete: 1,
onReverseCompleteParams: 1,
onReverseCompleteScope: 1,
onRepeat: 1,
onRepeatParams: 1,
onRepeatScope: 1,
easeParams: 1,
yoyo: 1,
immediateRender: 1,
repeat: 1,
repeatDelay: 1,
data: 1,
paused: 1,
reversed: 1,
autoCSS: 1,
lazy: 1,
onOverwrite: 1,
callbackScope: 1,
stringFilter: 1
},
$ = {
none: 0,
all: 1,
auto: 2,
concurrent: 3,
allOnStart: 4,
preexisting: 5,
true: 1,
false: 0
},
K = E._rootFramesTimeline = new j,
Q = E._rootTimeline = new j,
J = 30,
tt = U.lazyRender = function() {
var t, e = z.length;
for (B = {}; --e > -1;) t = z[e], t && t._lazy !== !1 && (t.render(t._lazy[0], t._lazy[1], !0), t._lazy = !1);
z.length = 0
};
Q._startTime = h.time, K._startTime = h.frame, Q._active = K._active = !0, setTimeout(tt, 1), E._updateRoot = N.render = function() {
var t, e, i;
if (z.length && tt(), Q.render((h.time - Q._startTime) * Q._timeScale, !1, !1), K.render((h.frame - K._startTime) * K._timeScale, !1, !1), z.length && tt(), h.frame >= J) {
J = h.frame + (parseInt(N.autoSleep, 10) || 120);
for (i in G) {
for (e = G[i].tweens, t = e.length; --t > -1;) e[t]._gc && e.splice(t, 1);
0 === e.length && delete G[i]
}
if (i = Q._first, (!i || i._paused) && N.autoSleep && !K._first && 1 === h._listeners.tick.length) {
for (; i && i._paused;) i = i._next;
i || h.sleep()
}
}
}, h.addEventListener("tick", E._updateRoot);
var et = function(t, e, i) {
var r, n, s = t._gsTweenID;
if (G[s || (t._gsTweenID = s = "t" + Z++)] || (G[s] = {
target: t,
tweens: []
}), e && (r = G[s].tweens, r[n = r.length] = e, i))
for (; --n > -1;) r[n] === e && r.splice(n, 1);
return G[s].tweens
},
it = function(t, e, i, r) {
var n, s, a = t.vars.onOverwrite;
return a && (n = a(t, e, i, r)), a = N.onOverwrite, a && (s = a(t, e, i, r)), n !== !1 && s !== !1
},
rt = function(t, e, i, r, n) {
var s, a, o, u;
if (1 === r || r >= 4) {
for (u = n.length, s = 0; u > s; s++)
if ((o = n[s]) !== e) o._gc || o._kill(null, t, e) && (a = !0);
else if (5 === r) break;
return a
}
var l, c = e._startTime + d,
h = [],
f = 0,
p = 0 === e._duration;
for (s = n.length; --s > -1;)(o = n[s]) === e || o._gc || o._paused || (o._timeline !== e._timeline ? (l = l || nt(e, 0, p), 0 === nt(o, l, p) && (h[f++] = o)) : o._startTime <= c && o._startTime + o.totalDuration() / o._timeScale > c && ((p || !o._initted) && c - o._startTime <= 2e-10 || (h[f++] = o)));
for (s = f; --s > -1;)
if (o = h[s], 2 === r && o._kill(i, t, e) && (a = !0), 2 !== r || !o._firstPT && o._initted) {
if (2 !== r && !it(o, e)) continue;
o._enabled(!1, !1) && (a = !0)
}
return a
},
nt = function(t, e, i) {
for (var r = t._timeline, n = r._timeScale, s = t._startTime; r._timeline;) {
if (s += r._startTime, n *= r._timeScale, r._paused) return -100;
r = r._timeline
}
return s /= n, s > e ? s - e : i && s === e || !t._initted && 2 * d > s - e ? d : (s += t.totalDuration() / t._timeScale / n) > e + d ? 0 : s - e - d
};
c._init = function() {
var t, e, i, r, n, s = this.vars,
a = this._overwrittenProps,
o = this._duration,
u = !!s.immediateRender,
l = s.ease;
if (s.startAt) {
this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), n = {};
for (r in s.startAt) n[r] = s.startAt[r];
if (n.overwrite = !1, n.immediateRender = !0, n.lazy = u && s.lazy !== !1, n.startAt = n.delay = null, this._startAt = N.to(this.target, 0, n), u)
if (this._time > 0) this._startAt = null;
else if (0 !== o) return
} else if (s.runBackwards && 0 !== o)
if (this._startAt) this._startAt.render(-1, !0), this._startAt.kill(), this._startAt = null;
else {
0 !== this._time && (u = !1), i = {};
for (r in s) H[r] && "autoCSS" !== r || (i[r] = s[r]);
if (i.overwrite = 0, i.data = "isFromStart", i.lazy = u && s.lazy !== !1, i.immediateRender = u, this._startAt = N.to(this.target, 0, i), u) {
if (0 === this._time) return
} else this._startAt._init(), this._startAt._enabled(!1), this.vars.immediateRender && (this._startAt = null)
}
if (this._ease = l = l ? l instanceof S ? l : "function" == typeof l ? new S(l, s.easeParams) : O[l] || N.defaultEase : N.defaultEase, s.easeParams instanceof Array && l.config && (this._ease = l.config.apply(l, s.easeParams)), this._easeType = this._ease._type, this._easePower = this._ease._power, this._firstPT = null, this._targets)
for (t = this._targets.length; --t > -1;) this._initProps(this._targets[t], this._propLookup[t] = {}, this._siblings[t], a ? a[t] : null) && (e = !0);
else e = this._initProps(this.target, this._propLookup, this._siblings, a);
if (e && N._onPluginEvent("_onInitAllProps", this), a && (this._firstPT || "function" != typeof this.target && this._enabled(!1, !1)), s.runBackwards)
for (i = this._firstPT; i;) i.s += i.c, i.c = -i.c, i = i._next;
this._onUpdate = s.onUpdate, this._initted = !0
}, c._initProps = function(t, e, i, r) {
var n, a, o, u, l, c;
if (null == t) return !1;
B[t._gsTweenID] && tt(), this.vars.css || t.style && t !== s && t.nodeType && V.css && this.vars.autoCSS !== !1 && L(this.vars, t);
for (n in this.vars)
if (c = this.vars[n], H[n]) c && (c instanceof Array || c.push && v(c)) && -1 !== c.join("").indexOf("{self}") && (this.vars[n] = c = this._swapSelfInParams(c, this));
else if (V[n] && (u = new V[n])._onInitTween(t, this.vars[n], this)) {
for (this._firstPT = l = {
_next: this._firstPT,
t: u,
p: "setRatio",
s: 0,
c: 1,
f: 1,
n: n,
pg: 1,
pr: u._priority
}, a = u._overwriteProps.length; --a > -1;) e[u._overwriteProps[a]] = this._firstPT;
(u._priority || u._onInitAllProps) && (o = !0), (u._onDisable || u._onEnable) && (this._notifyPluginsOfEnabled = !0), l._next && (l._next._prev = l)
} else e[n] = q.call(this, t, n, "get", c, n, 0, null, this.vars.stringFilter);
return r && this._kill(r, t) ? this._initProps(t, e, i, r) : this._overwrite > 1 && this._firstPT && i.length > 1 && rt(t, this, e, this._overwrite, i) ? (this._kill(e, t), this._initProps(t, e, i, r)) : (this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration) && (B[t._gsTweenID] = !0), o)
}, c.render = function(t, e, i) {
var r, n, s, a, o = this._time,
u = this._duration,
l = this._rawPrevTime;
if (t >= u) this._totalTime = this._time = u, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (r = !0, n = "onComplete", i = i || this._timeline.autoRemoveChildren), 0 === u && (this._initted || !this.vars.lazy || i) && (this._startTime === this._timeline._duration && (t = 0), (0 === t || 0 > l || l === d && "isPause" !== this.data) && l !== t && (i = !0, l > d && (n = "onReverseComplete")), this._rawPrevTime = a = !e || t || l === t ? t : d);
else if (1e-7 > t) this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (0 !== o || 0 === u && l > 0) && (n = "onReverseComplete", r = this._reversed), 0 > t && (this._active = !1, 0 === u && (this._initted || !this.vars.lazy || i) && (l >= 0 && (l !== d || "isPause" !== this.data) && (i = !0), this._rawPrevTime = a = !e || t || l === t ? t : d)), this._initted || (i = !0);
else if (this._totalTime = this._time = t, this._easeType) {
var c = t / u,
h = this._easeType,
f = this._easePower;
(1 === h || 3 === h && c >= .5) && (c = 1 - c), 3 === h && (c *= 2), 1 === f ? c *= c : 2 === f ? c *= c * c : 3 === f ? c *= c * c * c : 4 === f && (c *= c * c * c * c), 1 === h ? this.ratio = 1 - c : 2 === h ? this.ratio = c : .5 > t / u ? this.ratio = c / 2 : this.ratio = 1 - c / 2
} else this.ratio = this._ease.getRatio(t / u);
if (this._time !== o || i) {
if (!this._initted) {
if (this._init(), !this._initted || this._gc) return;
if (!i && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration)) return this._time = this._totalTime = o, this._rawPrevTime = l, z.push(this), void(this._lazy = [t, e]);
this._time && !r ? this.ratio = this._ease.getRatio(this._time / u) : r && this._ease._calcEnd && (this.ratio = this._ease.getRatio(0 === this._time ? 0 : 1))
}
for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== o && t >= 0 && (this._active = !0), 0 === o && (this._startAt && (t >= 0 ? this._startAt.render(t, e, i) : n || (n = "_dummyGS")), this.vars.onStart && (0 !== this._time || 0 === u) && (e || this._callback("onStart"))), s = this._firstPT; s;) s.f ? s.t[s.p](s.c * this.ratio + s.s) : s.t[s.p] = s.c * this.ratio + s.s, s = s._next;
this._onUpdate && (0 > t && this._startAt && t !== -1e-4 && this._startAt.render(t, e, i), e || (this._time !== o || r) && this._callback("onUpdate")), n && (!this._gc || i) && (0 > t && this._startAt && !this._onUpdate && t !== -1e-4 && this._startAt.render(t, e, i), r && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[n] && this._callback(n), 0 === u && this._rawPrevTime === d && a !== d && (this._rawPrevTime = 0))
}
}, c._kill = function(t, e, i) {
if ("all" === t && (t = null), null == t && (null == e || e === this.target)) return this._lazy = !1, this._enabled(!1, !1);
e = "string" != typeof e ? e || this._targets || this.target : N.selector(e) || e;
var r, n, s, a, o, u, l, c, h, f = i && this._time && i._startTime === this._startTime && this._timeline === i._timeline;
if ((v(e) || I(e)) && "number" != typeof e[0])
for (r = e.length; --r > -1;) this._kill(t, e[r], i) && (u = !0);
else {
if (this._targets) {
for (r = this._targets.length; --r > -1;)
if (e === this._targets[r]) {
o = this._propLookup[r] || {}, this._overwrittenProps = this._overwrittenProps || [], n = this._overwrittenProps[r] = t ? this._overwrittenProps[r] || {} : "all";
break
}
} else {
if (e !== this.target) return !1;
o = this._propLookup, n = this._overwrittenProps = t ? this._overwrittenProps || {} : "all"
}
if (o) {
if (l = t || o, c = t !== n && "all" !== n && t !== o && ("object" != typeof t || !t._tempKill), i && (N.onOverwrite || this.vars.onOverwrite)) {
for (s in l) o[s] && (h || (h = []), h.push(s));
if ((h || !t) && !it(this, i, e, h)) return !1
}
for (s in l)(a = o[s]) && (f && (a.f ? a.t[a.p](a.s) : a.t[a.p] = a.s, u = !0), a.pg && a.t._kill(l) && (u = !0), a.pg && 0 !== a.t._overwriteProps.length || (a._prev ? a._prev._next = a._next : a === this._firstPT && (this._firstPT = a._next), a._next && (a._next._prev = a._prev), a._next = a._prev = null), delete o[s]), c && (n[s] = 1);
!this._firstPT && this._initted && this._enabled(!1, !1)
}
}
return u
}, c.invalidate = function() {
return this._notifyPluginsOfEnabled && N._onPluginEvent("_onDisable", this), this._firstPT = this._overwrittenProps = this._startAt = this._onUpdate = null, this._notifyPluginsOfEnabled = this._active = this._lazy = !1, this._propLookup = this._targets ? {} : [], E.prototype.invalidate.call(this), this.vars.immediateRender && (this._time = -d, this.render(-this._delay)), this
}, c._enabled = function(t, e) {
if (f || h.wake(), t && this._gc) {
var i, r = this._targets;
if (r)
for (i = r.length; --i > -1;) this._siblings[i] = et(r[i], this, !0);
else this._siblings = et(this.target, this, !0)
}
return E.prototype._enabled.call(this, t, e), this._notifyPluginsOfEnabled && this._firstPT ? N._onPluginEvent(t ? "_onEnable" : "_onDisable", this) : !1
}, N.to = function(t, e, i) {
return new N(t, e, i)
}, N.from = function(t, e, i) {
return i.runBackwards = !0, i.immediateRender = 0 != i.immediateRender, new N(t, e, i)
}, N.fromTo = function(t, e, i, r) {
return r.startAt = i, r.immediateRender = 0 != r.immediateRender && 0 != i.immediateRender, new N(t, e, r)
}, N.delayedCall = function(t, e, i, r, n) {
return new N(e, 0, {
delay: t,
onComplete: e,
onCompleteParams: i,
callbackScope: r,
onReverseComplete: e,
onReverseCompleteParams: i,
immediateRender: !1,
lazy: !1,
useFrames: n,
overwrite: 0
})
}, N.set = function(t, e) {
return new N(t, 0, e)
}, N.getTweensOf = function(t, e) {
if (null == t) return [];
t = "string" != typeof t ? t : N.selector(t) || t;
var i, r, n, s;
if ((v(t) || I(t)) && "number" != typeof t[0]) {
for (i = t.length, r = []; --i > -1;) r = r.concat(N.getTweensOf(t[i], e));
for (i = r.length; --i > -1;)
for (s = r[i], n = i; --n > -1;) s === r[n] && r.splice(i, 1)
} else
for (r = et(t).concat(), i = r.length; --i > -1;)(r[i]._gc || e && !r[i].isActive()) && r.splice(i, 1);
return r
}, N.killTweensOf = N.killDelayedCallsTo = function(t, e, i) {
"object" == typeof e && (i = e, e = !1);
for (var r = N.getTweensOf(t, e), n = r.length; --n > -1;) r[n]._kill(i, t)
};
var st = w("plugins.TweenPlugin", function(t, e) {
this._overwriteProps = (t || "").split(","), this._propName = this._overwriteProps[0], this._priority = e || 0, this._super = st.prototype
}, !0);
if (c = st.prototype, st.version = "1.18.0", st.API = 2, c._firstPT = null, c._addTween = q, c.setRatio = Y, c._kill = function(t) {
var e, i = this._overwriteProps,
r = this._firstPT;
if (null != t[this._propName]) this._overwriteProps = [];
else
for (e = i.length; --e > -1;) null != t[i[e]] && i.splice(e, 1);
for (; r;) null != t[r.n] && (r._next && (r._next._prev = r._prev), r._prev ? (r._prev._next = r._next, r._prev = null) : this._firstPT === r && (this._firstPT = r._next)), r = r._next;
return !1
}, c._roundProps = function(t, e) {
for (var i = this._firstPT; i;)(t[this._propName] || null != i.n && t[i.n.split(this._propName + "_").join("")]) && (i.r = e), i = i._next
}, N._onPluginEvent = function(t, e) {
var i, r, n, s, a, o = e._firstPT;
if ("_onInitAllProps" === t) {
for (; o;) {
for (a = o._next, r = n; r && r.pr > o.pr;) r = r._next;
(o._prev = r ? r._prev : s) ? o._prev._next = o: n = o, (o._next = r) ? r._prev = o : s = o, o = a
}
o = e._firstPT = n
}
for (; o;) o.pg && "function" == typeof o.t[t] && o.t[t]() && (i = !0), o = o._next;
return i
}, st.activate = function(t) {
for (var e = t.length; --e > -1;) t[e].API === st.API && (V[(new t[e])._propName] = t[e]);
return !0
}, b.plugin = function(t) {
if (!(t && t.propName && t.init && t.API)) throw "illegal plugin definition.";
var e, i = t.propName,
r = t.priority || 0,
n = t.overwriteProps,
s = {
init: "_onInitTween",
set: "setRatio",
kill: "_kill",
round: "_roundProps",
initAll: "_onInitAllProps"
},
a = w("plugins." + i.charAt(0).toUpperCase() + i.substr(1) + "Plugin", function() {
st.call(this, i, r), this._overwriteProps = n || []
}, t.global === !0),
o = a.prototype = new st(i);
o.constructor = a, a.API = t.API;
for (e in s) "function" == typeof t[e] && (o[s[e]] = t[e]);
return a.version = t.version, st.activate([a]), a
}, u = s._gsQueue) {
for (l = 0; l < u.length; l++) u[l]();
for (c in y) y[c].func || s.console.log("GSAP encountered missing dependency: com.greensock." + c)
}
f = !1
}
}("undefined" != typeof t && t.exports && "undefined" != typeof s ? s : this || window, "TweenMax")
}).call(e, function() {
return this
}())
}, function(t, e) {
(function(e) {
t.exports = e
}).call(e, {})
}, function(t, e) {
"use strict";
Object.defineProperty(e, "__esModule", {
value: !0
}), e.default = function(t, e) {
return t.classList.contains(e)
}
}]);