materialize-sass 0.100.2.1 → 1.0.0.alpha1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (126) hide show
  1. checksums.yaml +5 -5
  2. data/README.md +18 -42
  3. data/Rakefile +17 -17
  4. data/{app/assets → assets}/javascripts/materialize-sprockets.js +8 -12
  5. data/assets/javascripts/materialize.js +11877 -0
  6. data/assets/javascripts/materialize/autocomplete.js +420 -0
  7. data/assets/javascripts/materialize/buttons.js +388 -0
  8. data/assets/javascripts/materialize/cards.js +28 -0
  9. data/assets/javascripts/materialize/carousel.js +791 -0
  10. data/assets/javascripts/materialize/cash.js +992 -0
  11. data/assets/javascripts/materialize/characterCounter.js +180 -0
  12. data/assets/javascripts/materialize/chips.js +555 -0
  13. data/assets/javascripts/materialize/collapsible.js +275 -0
  14. data/assets/javascripts/materialize/datepicker.js +898 -0
  15. data/assets/javascripts/materialize/dropdown.js +530 -0
  16. data/{app/assets → assets}/javascripts/materialize/extras/nouislider.js +1 -1
  17. data/{app/assets → assets}/javascripts/materialize/extras/nouislider.min.js +1 -1
  18. data/assets/javascripts/materialize/forms.js +223 -0
  19. data/assets/javascripts/materialize/global.js +353 -0
  20. data/assets/javascripts/materialize/materialbox.js +432 -0
  21. data/{app/assets → assets}/javascripts/materialize/modal.js +82 -113
  22. data/assets/javascripts/materialize/parallax.js +135 -0
  23. data/assets/javascripts/materialize/pushpin.js +158 -0
  24. data/assets/javascripts/materialize/range.js +305 -0
  25. data/assets/javascripts/materialize/scrollspy.js +322 -0
  26. data/assets/javascripts/materialize/select.js +426 -0
  27. data/assets/javascripts/materialize/sidenav.js +584 -0
  28. data/assets/javascripts/materialize/slider.js +383 -0
  29. data/assets/javascripts/materialize/tabs.js +460 -0
  30. data/assets/javascripts/materialize/tapTarget.js +347 -0
  31. data/assets/javascripts/materialize/timepicker.js +616 -0
  32. data/{app/assets → assets}/javascripts/materialize/toasts.js +42 -46
  33. data/assets/javascripts/materialize/tooltip.js +325 -0
  34. data/assets/javascripts/materialize/velocity.min.js +782 -0
  35. data/{app/assets → assets}/javascripts/materialize/waves.js +0 -0
  36. data/{app/assets → assets}/stylesheets/materialize.scss +5 -6
  37. data/{app/assets → assets}/stylesheets/materialize/components/_badges.scss +1 -1
  38. data/{app/assets → assets}/stylesheets/materialize/components/_buttons.scss +34 -2
  39. data/{app/assets → assets}/stylesheets/materialize/components/_cards.scss +0 -0
  40. data/{app/assets → assets}/stylesheets/materialize/components/_carousel.scss +1 -1
  41. data/{app/assets → assets}/stylesheets/materialize/components/_chips.scss +6 -5
  42. data/{app/assets → assets}/stylesheets/materialize/components/_collapsible.scss +3 -3
  43. data/{app/assets → assets}/stylesheets/materialize/components/_color.scss +0 -0
  44. data/assets/stylesheets/materialize/components/_datepicker.scss +180 -0
  45. data/{app/assets → assets}/stylesheets/materialize/components/_dropdown.scss +16 -15
  46. data/{app/assets → assets}/stylesheets/materialize/components/_global.scss +49 -14
  47. data/{app/assets → assets}/stylesheets/materialize/components/_grid.scss +1 -1
  48. data/{app/assets → assets}/stylesheets/materialize/components/_icons-material-design.scss +0 -0
  49. data/{app/assets → assets}/stylesheets/materialize/components/_materialbox.scss +0 -0
  50. data/assets/stylesheets/materialize/components/_mixins.scss +5 -0
  51. data/{app/assets → assets}/stylesheets/materialize/components/_modal.scss +1 -1
  52. data/{app/assets → assets}/stylesheets/materialize/components/_navbar.scss +0 -0
  53. data/assets/stylesheets/materialize/components/_normalize.scss +447 -0
  54. data/{app/assets → assets}/stylesheets/materialize/components/_preloader.scss +0 -0
  55. data/{app/assets → assets}/stylesheets/materialize/components/_pulse.scss +0 -0
  56. data/{app/assets/stylesheets/materialize/components/_sideNav.scss → assets/stylesheets/materialize/components/_sidenav.scss} +23 -21
  57. data/{app/assets → assets}/stylesheets/materialize/components/_slider.scss +0 -0
  58. data/{app/assets → assets}/stylesheets/materialize/components/_table_of_contents.scss +3 -3
  59. data/{app/assets → assets}/stylesheets/materialize/components/_tabs.scss +2 -2
  60. data/{app/assets → assets}/stylesheets/materialize/components/_tapTarget.scss +0 -0
  61. data/assets/stylesheets/materialize/components/_timepicker.scss +182 -0
  62. data/{app/assets → assets}/stylesheets/materialize/components/_toast.scss +0 -0
  63. data/{app/assets → assets}/stylesheets/materialize/components/_tooltip.scss +1 -0
  64. data/{app/assets → assets}/stylesheets/materialize/components/_transitions.scss +0 -0
  65. data/{app/assets → assets}/stylesheets/materialize/components/_typography.scss +8 -8
  66. data/{app/assets → assets}/stylesheets/materialize/components/_variables.scss +42 -44
  67. data/{app/assets → assets}/stylesheets/materialize/components/_waves.scss +0 -0
  68. data/{app/assets → assets}/stylesheets/materialize/components/forms/_checkboxes.scss +24 -24
  69. data/{app/assets → assets}/stylesheets/materialize/components/forms/_file-input.scss +0 -0
  70. data/{app/assets → assets}/stylesheets/materialize/components/forms/_forms.scss +0 -0
  71. data/{app/assets → assets}/stylesheets/materialize/components/forms/_input-fields.scss +49 -35
  72. data/{app/assets → assets}/stylesheets/materialize/components/forms/_radio-buttons.scss +29 -29
  73. data/{app/assets → assets}/stylesheets/materialize/components/forms/_range.scss +32 -31
  74. data/{app/assets → assets}/stylesheets/materialize/components/forms/_select.scss +20 -11
  75. data/{app/assets → assets}/stylesheets/materialize/components/forms/_switches.scss +0 -0
  76. data/{app/assets → assets}/stylesheets/materialize/extras/nouislider.css +1 -1
  77. data/lib/materialize-sass.rb +13 -23
  78. data/lib/materialize-sass/engine.rb +6 -9
  79. data/lib/materialize-sass/version.rb +1 -1
  80. data/materialize-sass.gemspec +2 -1
  81. metadata +97 -97
  82. data/app/assets/fonts/roboto/Roboto-Bold.woff +0 -0
  83. data/app/assets/fonts/roboto/Roboto-Bold.woff2 +0 -0
  84. data/app/assets/fonts/roboto/Roboto-Light.woff +0 -0
  85. data/app/assets/fonts/roboto/Roboto-Light.woff2 +0 -0
  86. data/app/assets/fonts/roboto/Roboto-Medium.woff +0 -0
  87. data/app/assets/fonts/roboto/Roboto-Medium.woff2 +0 -0
  88. data/app/assets/fonts/roboto/Roboto-Regular.woff +0 -0
  89. data/app/assets/fonts/roboto/Roboto-Regular.woff2 +0 -0
  90. data/app/assets/fonts/roboto/Roboto-Thin.woff +0 -0
  91. data/app/assets/fonts/roboto/Roboto-Thin.woff2 +0 -0
  92. data/app/assets/javascripts/materialize.js +0 -10021
  93. data/app/assets/javascripts/materialize/animation.js +0 -7
  94. data/app/assets/javascripts/materialize/buttons.js +0 -253
  95. data/app/assets/javascripts/materialize/cards.js +0 -28
  96. data/app/assets/javascripts/materialize/carousel.js +0 -543
  97. data/app/assets/javascripts/materialize/character_counter.js +0 -64
  98. data/app/assets/javascripts/materialize/chips.js +0 -315
  99. data/app/assets/javascripts/materialize/collapsible.js +0 -178
  100. data/app/assets/javascripts/materialize/date_picker/picker.date.js +0 -1399
  101. data/app/assets/javascripts/materialize/date_picker/picker.js +0 -1196
  102. data/app/assets/javascripts/materialize/date_picker/picker.time.js +0 -646
  103. data/app/assets/javascripts/materialize/dropdown.js +0 -257
  104. data/app/assets/javascripts/materialize/forms.js +0 -806
  105. data/app/assets/javascripts/materialize/global.js +0 -170
  106. data/app/assets/javascripts/materialize/hammer.min.js +0 -424
  107. data/app/assets/javascripts/materialize/initial.js +0 -10
  108. data/app/assets/javascripts/materialize/jquery.easing.1.4.js +0 -144
  109. data/app/assets/javascripts/materialize/jquery.hammer.js +0 -33
  110. data/app/assets/javascripts/materialize/materialbox.js +0 -263
  111. data/app/assets/javascripts/materialize/parallax.js +0 -54
  112. data/app/assets/javascripts/materialize/pushpin.js +0 -68
  113. data/app/assets/javascripts/materialize/scrollFire.js +0 -49
  114. data/app/assets/javascripts/materialize/scrollspy.js +0 -230
  115. data/app/assets/javascripts/materialize/sideNav.js +0 -395
  116. data/app/assets/javascripts/materialize/slider.js +0 -295
  117. data/app/assets/javascripts/materialize/tabs.js +0 -244
  118. data/app/assets/javascripts/materialize/tapTarget.js +0 -184
  119. data/app/assets/javascripts/materialize/tooltip.js +0 -227
  120. data/app/assets/javascripts/materialize/transitions.js +0 -163
  121. data/app/assets/javascripts/materialize/velocity.min.js +0 -626
  122. data/app/assets/stylesheets/materialize/components/_normalize.scss +0 -424
  123. data/app/assets/stylesheets/materialize/components/_roboto.scss +0 -39
  124. data/app/assets/stylesheets/materialize/components/date_picker/_default.date.scss +0 -469
  125. data/app/assets/stylesheets/materialize/components/date_picker/_default.scss +0 -216
  126. data/app/assets/stylesheets/materialize/components/date_picker/_default.time.scss +0 -267
@@ -0,0 +1,782 @@
1
+ /*! VelocityJS.org (1.4.2). (C) 2014 Julian Shapiro. MIT @license: en.wikipedia.org/wiki/MIT_License */
2
+ /*! VelocityJS.org jQuery Shim (1.0.1). (C) 2014 The jQuery Foundation. MIT @license: en.wikipedia.org/wiki/MIT_License. */
3
+ !function (a) {
4
+ "use strict";
5
+ function b(a) {
6
+ var b = a.length,
7
+ d = c.type(a);return "function" !== d && !c.isWindow(a) && (!(1 !== a.nodeType || !b) || "array" === d || 0 === b || "number" == typeof b && b > 0 && b - 1 in a);
8
+ }if (!a.jQuery) {
9
+ var c = function (a, b) {
10
+ return new c.fn.init(a, b);
11
+ };c.isWindow = function (a) {
12
+ return a && a === a.window;
13
+ }, c.type = function (a) {
14
+ return a ? "object" == typeof a || "function" == typeof a ? e[g.call(a)] || "object" : typeof a : a + "";
15
+ }, c.isArray = Array.isArray || function (a) {
16
+ return "array" === c.type(a);
17
+ }, c.isPlainObject = function (a) {
18
+ var b;if (!a || "object" !== c.type(a) || a.nodeType || c.isWindow(a)) return !1;try {
19
+ if (a.constructor && !f.call(a, "constructor") && !f.call(a.constructor.prototype, "isPrototypeOf")) return !1;
20
+ } catch (d) {
21
+ return !1;
22
+ }for (b in a) {}return void 0 === b || f.call(a, b);
23
+ }, c.each = function (a, c, d) {
24
+ var e,
25
+ f = 0,
26
+ g = a.length,
27
+ h = b(a);if (d) {
28
+ if (h) for (; f < g && (e = c.apply(a[f], d), e !== !1); f++) {} else for (f in a) {
29
+ if (a.hasOwnProperty(f) && (e = c.apply(a[f], d), e === !1)) break;
30
+ }
31
+ } else if (h) for (; f < g && (e = c.call(a[f], f, a[f]), e !== !1); f++) {} else for (f in a) {
32
+ if (a.hasOwnProperty(f) && (e = c.call(a[f], f, a[f]), e === !1)) break;
33
+ }return a;
34
+ }, c.data = function (a, b, e) {
35
+ if (void 0 === e) {
36
+ var f = a[c.expando],
37
+ g = f && d[f];if (void 0 === b) return g;if (g && b in g) return g[b];
38
+ } else if (void 0 !== b) {
39
+ var h = a[c.expando] || (a[c.expando] = ++c.uuid);return d[h] = d[h] || {}, d[h][b] = e, e;
40
+ }
41
+ }, c.removeData = function (a, b) {
42
+ var e = a[c.expando],
43
+ f = e && d[e];f && (b ? c.each(b, function (a, b) {
44
+ delete f[b];
45
+ }) : delete d[e]);
46
+ }, c.extend = function () {
47
+ var a,
48
+ b,
49
+ d,
50
+ e,
51
+ f,
52
+ g,
53
+ h = arguments[0] || {},
54
+ i = 1,
55
+ j = arguments.length,
56
+ k = !1;for ("boolean" == typeof h && (k = h, h = arguments[i] || {}, i++), "object" != typeof h && "function" !== c.type(h) && (h = {}), i === j && (h = this, i--); i < j; i++) {
57
+ if (f = arguments[i]) for (e in f) {
58
+ f.hasOwnProperty(e) && (a = h[e], d = f[e], h !== d && (k && d && (c.isPlainObject(d) || (b = c.isArray(d))) ? (b ? (b = !1, g = a && c.isArray(a) ? a : []) : g = a && c.isPlainObject(a) ? a : {}, h[e] = c.extend(k, g, d)) : void 0 !== d && (h[e] = d)));
59
+ }
60
+ }return h;
61
+ }, c.queue = function (a, d, e) {
62
+ function f(a, c) {
63
+ var d = c || [];return a && (b(Object(a)) ? !function (a, b) {
64
+ for (var c = +b.length, d = 0, e = a.length; d < c;) {
65
+ a[e++] = b[d++];
66
+ }if (c !== c) for (; void 0 !== b[d];) {
67
+ a[e++] = b[d++];
68
+ }return a.length = e, a;
69
+ }(d, "string" == typeof a ? [a] : a) : [].push.call(d, a)), d;
70
+ }if (a) {
71
+ d = (d || "fx") + "queue";var g = c.data(a, d);return e ? (!g || c.isArray(e) ? g = c.data(a, d, f(e)) : g.push(e), g) : g || [];
72
+ }
73
+ }, c.dequeue = function (a, b) {
74
+ c.each(a.nodeType ? [a] : a, function (a, d) {
75
+ b = b || "fx";var e = c.queue(d, b),
76
+ f = e.shift();"inprogress" === f && (f = e.shift()), f && ("fx" === b && e.unshift("inprogress"), f.call(d, function () {
77
+ c.dequeue(d, b);
78
+ }));
79
+ });
80
+ }, c.fn = c.prototype = { init: function (a) {
81
+ if (a.nodeType) return this[0] = a, this;throw new Error("Not a DOM node.");
82
+ }, offset: function () {
83
+ var b = this[0].getBoundingClientRect ? this[0].getBoundingClientRect() : { top: 0, left: 0 };return { top: b.top + (a.pageYOffset || document.scrollTop || 0) - (document.clientTop || 0), left: b.left + (a.pageXOffset || document.scrollLeft || 0) - (document.clientLeft || 0) };
84
+ }, position: function () {
85
+ function a(a) {
86
+ for (var b = a.offsetParent; b && "html" !== b.nodeName.toLowerCase() && b.style && "static" === b.style.position;) {
87
+ b = b.offsetParent;
88
+ }return b || document;
89
+ }var b = this[0],
90
+ d = a(b),
91
+ e = this.offset(),
92
+ f = /^(?:body|html)$/i.test(d.nodeName) ? { top: 0, left: 0 } : c(d).offset();return e.top -= parseFloat(b.style.marginTop) || 0, e.left -= parseFloat(b.style.marginLeft) || 0, d.style && (f.top += parseFloat(d.style.borderTopWidth) || 0, f.left += parseFloat(d.style.borderLeftWidth) || 0), { top: e.top - f.top, left: e.left - f.left };
93
+ } };var d = {};c.expando = "velocity" + new Date().getTime(), c.uuid = 0;for (var e = {}, f = e.hasOwnProperty, g = e.toString, h = "Boolean Number String Function Array Date RegExp Object Error".split(" "), i = 0; i < h.length; i++) {
94
+ e["[object " + h[i] + "]"] = h[i].toLowerCase();
95
+ }c.fn.init.prototype = c.fn, a.Velocity = { Utilities: c };
96
+ }
97
+ }(window), function (a) {
98
+ "use strict";
99
+ "object" == typeof module && "object" == typeof module.exports ? module.exports = a() : "function" == typeof define && define.amd ? define(a) : a();
100
+ }(function () {
101
+ "use strict";
102
+ return function (a, b, c, d) {
103
+ function e(a) {
104
+ for (var b = -1, c = a ? a.length : 0, d = []; ++b < c;) {
105
+ var e = a[b];e && d.push(e);
106
+ }return d;
107
+ }function f(a) {
108
+ return t.isWrapped(a) ? a = s.call(a) : t.isNode(a) && (a = [a]), a;
109
+ }function g(a) {
110
+ var b = o.data(a, "velocity");return null === b ? d : b;
111
+ }function h(a, b) {
112
+ var c = g(a);c && c.delayTimer && !c.delayPaused && (c.delayRemaining = c.delay - b + c.delayBegin, c.delayPaused = !0, clearTimeout(c.delayTimer.setTimeout));
113
+ }function i(a, b) {
114
+ var c = g(a);c && c.delayTimer && c.delayPaused && (c.delayPaused = !1, c.delayTimer.setTimeout = setTimeout(c.delayTimer.next, c.delayRemaining));
115
+ }function j(a) {
116
+ return function (b) {
117
+ return Math.round(b * a) * (1 / a);
118
+ };
119
+ }function k(a, c, d, e) {
120
+ function f(a, b) {
121
+ return 1 - 3 * b + 3 * a;
122
+ }function g(a, b) {
123
+ return 3 * b - 6 * a;
124
+ }function h(a) {
125
+ return 3 * a;
126
+ }function i(a, b, c) {
127
+ return ((f(b, c) * a + g(b, c)) * a + h(b)) * a;
128
+ }function j(a, b, c) {
129
+ return 3 * f(b, c) * a * a + 2 * g(b, c) * a + h(b);
130
+ }function k(b, c) {
131
+ for (var e = 0; e < p; ++e) {
132
+ var f = j(c, a, d);if (0 === f) return c;var g = i(c, a, d) - b;c -= g / f;
133
+ }return c;
134
+ }function l() {
135
+ for (var b = 0; b < t; ++b) {
136
+ x[b] = i(b * u, a, d);
137
+ }
138
+ }function m(b, c, e) {
139
+ var f,
140
+ g,
141
+ h = 0;do {
142
+ g = c + (e - c) / 2, f = i(g, a, d) - b, f > 0 ? e = g : c = g;
143
+ } while (Math.abs(f) > r && ++h < s);return g;
144
+ }function n(b) {
145
+ for (var c = 0, e = 1, f = t - 1; e !== f && x[e] <= b; ++e) {
146
+ c += u;
147
+ }--e;var g = (b - x[e]) / (x[e + 1] - x[e]),
148
+ h = c + g * u,
149
+ i = j(h, a, d);return i >= q ? k(b, h) : 0 === i ? h : m(b, c, c + u);
150
+ }function o() {
151
+ y = !0, a === c && d === e || l();
152
+ }var p = 4,
153
+ q = .001,
154
+ r = 1e-7,
155
+ s = 10,
156
+ t = 11,
157
+ u = 1 / (t - 1),
158
+ v = "Float32Array" in b;if (4 !== arguments.length) return !1;for (var w = 0; w < 4; ++w) {
159
+ if ("number" != typeof arguments[w] || isNaN(arguments[w]) || !isFinite(arguments[w])) return !1;
160
+ }a = Math.min(a, 1), d = Math.min(d, 1), a = Math.max(a, 0), d = Math.max(d, 0);var x = v ? new Float32Array(t) : new Array(t),
161
+ y = !1,
162
+ z = function (b) {
163
+ return y || o(), a === c && d === e ? b : 0 === b ? 0 : 1 === b ? 1 : i(n(b), c, e);
164
+ };z.getControlPoints = function () {
165
+ return [{ x: a, y: c }, { x: d, y: e }];
166
+ };var A = "generateBezier(" + [a, c, d, e] + ")";return z.toString = function () {
167
+ return A;
168
+ }, z;
169
+ }function l(a, b) {
170
+ var c = a;return t.isString(a) ? x.Easings[a] || (c = !1) : c = t.isArray(a) && 1 === a.length ? j.apply(null, a) : t.isArray(a) && 2 === a.length ? y.apply(null, a.concat([b])) : !(!t.isArray(a) || 4 !== a.length) && k.apply(null, a), c === !1 && (c = x.Easings[x.defaults.easing] ? x.defaults.easing : w), c;
171
+ }function m(a) {
172
+ if (a) {
173
+ var b = x.timestamp && a !== !0 ? a : r.now(),
174
+ c = x.State.calls.length;c > 1e4 && (x.State.calls = e(x.State.calls), c = x.State.calls.length);for (var f = 0; f < c; f++) {
175
+ if (x.State.calls[f]) {
176
+ var h = x.State.calls[f],
177
+ i = h[0],
178
+ j = h[2],
179
+ k = h[3],
180
+ l = !!k,
181
+ q = null,
182
+ s = h[5],
183
+ u = h[6];if (k || (k = x.State.calls[f][3] = b - 16), s) {
184
+ if (s.resume !== !0) continue;k = h[3] = Math.round(b - u - 16), h[5] = null;
185
+ }u = h[6] = b - k;for (var v = Math.min(u / j.duration, 1), w = 0, y = i.length; w < y; w++) {
186
+ var A = i[w],
187
+ C = A.element;if (g(C)) {
188
+ var D = !1;if (j.display !== d && null !== j.display && "none" !== j.display) {
189
+ if ("flex" === j.display) {
190
+ var E = ["-webkit-box", "-moz-box", "-ms-flexbox", "-webkit-flex"];o.each(E, function (a, b) {
191
+ z.setPropertyValue(C, "display", b);
192
+ });
193
+ }z.setPropertyValue(C, "display", j.display);
194
+ }j.visibility !== d && "hidden" !== j.visibility && z.setPropertyValue(C, "visibility", j.visibility);for (var F in A) {
195
+ if (A.hasOwnProperty(F) && "element" !== F) {
196
+ var G,
197
+ H = A[F],
198
+ I = t.isString(H.easing) ? x.Easings[H.easing] : H.easing;if (t.isString(H.pattern)) {
199
+ var J = 1 === v ? function (a, b, c) {
200
+ var d = H.endValue[b];return c ? Math.round(d) : d;
201
+ } : function (a, b, c) {
202
+ var d = H.startValue[b],
203
+ e = H.endValue[b] - d,
204
+ f = d + e * I(v, j, e);return c ? Math.round(f) : f;
205
+ };G = H.pattern.replace(/{(\d+)(!)?}/g, J);
206
+ } else if (1 === v) G = H.endValue;else {
207
+ var K = H.endValue - H.startValue;G = H.startValue + K * I(v, j, K);
208
+ }if (!l && G === H.currentValue) continue;if (H.currentValue = G, "tween" === F) q = G;else {
209
+ var L;if (z.Hooks.registered[F]) {
210
+ L = z.Hooks.getRoot(F);var M = g(C).rootPropertyValueCache[L];M && (H.rootPropertyValue = M);
211
+ }var N = z.setPropertyValue(C, F, H.currentValue + (p < 9 && 0 === parseFloat(G) ? "" : H.unitType), H.rootPropertyValue, H.scrollData);z.Hooks.registered[F] && (z.Normalizations.registered[L] ? g(C).rootPropertyValueCache[L] = z.Normalizations.registered[L]("extract", null, N[1]) : g(C).rootPropertyValueCache[L] = N[1]), "transform" === N[0] && (D = !0);
212
+ }
213
+ }
214
+ }j.mobileHA && g(C).transformCache.translate3d === d && (g(C).transformCache.translate3d = "(0px, 0px, 0px)", D = !0), D && z.flushTransformCache(C);
215
+ }
216
+ }j.display !== d && "none" !== j.display && (x.State.calls[f][2].display = !1), j.visibility !== d && "hidden" !== j.visibility && (x.State.calls[f][2].visibility = !1), j.progress && j.progress.call(h[1], h[1], v, Math.max(0, k + j.duration - b), k, q), 1 === v && n(f);
217
+ }
218
+ }
219
+ }x.State.isTicking && B(m);
220
+ }function n(a, b) {
221
+ if (!x.State.calls[a]) return !1;for (var c = x.State.calls[a][0], e = x.State.calls[a][1], f = x.State.calls[a][2], h = x.State.calls[a][4], i = !1, j = 0, k = c.length; j < k; j++) {
222
+ var l = c[j].element;b || f.loop || ("none" === f.display && z.setPropertyValue(l, "display", f.display), "hidden" === f.visibility && z.setPropertyValue(l, "visibility", f.visibility));var m = g(l);if (f.loop !== !0 && (o.queue(l)[1] === d || !/\.velocityQueueEntryFlag/i.test(o.queue(l)[1])) && m) {
223
+ m.isAnimating = !1, m.rootPropertyValueCache = {};var n = !1;o.each(z.Lists.transforms3D, function (a, b) {
224
+ var c = /^scale/.test(b) ? 1 : 0,
225
+ e = m.transformCache[b];m.transformCache[b] !== d && new RegExp("^\\(" + c + "[^.]").test(e) && (n = !0, delete m.transformCache[b]);
226
+ }), f.mobileHA && (n = !0, delete m.transformCache.translate3d), n && z.flushTransformCache(l), z.Values.removeClass(l, "velocity-animating");
227
+ }if (!b && f.complete && !f.loop && j === k - 1) try {
228
+ f.complete.call(e, e);
229
+ } catch (p) {
230
+ setTimeout(function () {
231
+ throw p;
232
+ }, 1);
233
+ }h && f.loop !== !0 && h(e), m && f.loop === !0 && !b && (o.each(m.tweensContainer, function (a, b) {
234
+ if (/^rotate/.test(a) && (parseFloat(b.startValue) - parseFloat(b.endValue)) % 360 === 0) {
235
+ var c = b.startValue;b.startValue = b.endValue, b.endValue = c;
236
+ }/^backgroundPosition/.test(a) && 100 === parseFloat(b.endValue) && "%" === b.unitType && (b.endValue = 0, b.startValue = 100);
237
+ }), x(l, "reverse", { loop: !0, delay: f.delay })), f.queue !== !1 && o.dequeue(l, f.queue);
238
+ }x.State.calls[a] = !1;for (var q = 0, r = x.State.calls.length; q < r; q++) {
239
+ if (x.State.calls[q] !== !1) {
240
+ i = !0;break;
241
+ }
242
+ }i === !1 && (x.State.isTicking = !1, delete x.State.calls, x.State.calls = []);
243
+ }var o,
244
+ p = function () {
245
+ if (c.documentMode) return c.documentMode;for (var a = 7; a > 4; a--) {
246
+ var b = c.createElement("div");if (b.innerHTML = "<!--[if IE " + a + "]><span></span><![endif]-->", b.getElementsByTagName("span").length) return b = null, a;
247
+ }return d;
248
+ }(),
249
+ q = function () {
250
+ var a = 0;return b.webkitRequestAnimationFrame || b.mozRequestAnimationFrame || function (b) {
251
+ var c,
252
+ d = new Date().getTime();return c = Math.max(0, 16 - (d - a)), a = d + c, setTimeout(function () {
253
+ b(d + c);
254
+ }, c);
255
+ };
256
+ }(),
257
+ r = function () {
258
+ var a = b.performance || {};if (!Object.prototype.hasOwnProperty.call(a, "now")) {
259
+ var c = a.timing && a.timing.domComplete ? a.timing.domComplete : new Date().getTime();a.now = function () {
260
+ return new Date().getTime() - c;
261
+ };
262
+ }return a;
263
+ }(),
264
+ s = function () {
265
+ var a = Array.prototype.slice;try {
266
+ a.call(c.documentElement);
267
+ } catch (b) {
268
+ a = function () {
269
+ for (var a = this.length, b = []; --a > 0;) {
270
+ b[a] = this[a];
271
+ }return cloned;
272
+ };
273
+ }return a;
274
+ }(),
275
+ t = { isNumber: function (a) {
276
+ return "number" == typeof a;
277
+ }, isString: function (a) {
278
+ return "string" == typeof a;
279
+ }, isArray: Array.isArray || function (a) {
280
+ return "[object Array]" === Object.prototype.toString.call(a);
281
+ }, isFunction: function (a) {
282
+ return "[object Function]" === Object.prototype.toString.call(a);
283
+ }, isNode: function (a) {
284
+ return a && a.nodeType;
285
+ }, isWrapped: function (a) {
286
+ return a && t.isNumber(a.length) && !t.isString(a) && !t.isFunction(a) && !t.isNode(a) && (0 === a.length || t.isNode(a[0]));
287
+ }, isSVG: function (a) {
288
+ return b.SVGElement && a instanceof b.SVGElement;
289
+ }, isEmptyObject: function (a) {
290
+ for (var b in a) {
291
+ if (a.hasOwnProperty(b)) return !1;
292
+ }return !0;
293
+ } },
294
+ u = !1;if (a.fn && a.fn.jquery ? (o = a, u = !0) : o = b.Velocity.Utilities, p <= 8 && !u) throw new Error("Velocity: IE8 and below require jQuery to be loaded before Velocity.");if (p <= 7) return void (jQuery.fn.velocity = jQuery.fn.animate);var v = 400,
295
+ w = "swing",
296
+ x = { State: { isMobile: /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent), isAndroid: /Android/i.test(navigator.userAgent), isGingerbread: /Android 2\.3\.[3-7]/i.test(navigator.userAgent), isChrome: b.chrome, isFirefox: /Firefox/i.test(navigator.userAgent), prefixElement: c.createElement("div"), prefixMatches: {}, scrollAnchor: null, scrollPropertyLeft: null, scrollPropertyTop: null, isTicking: !1, calls: [], delayedElements: { count: 0 } }, CSS: {}, Utilities: o, Redirects: {}, Easings: {}, Promise: b.Promise, defaults: { queue: "", duration: v, easing: w, begin: d, complete: d, progress: d, display: d, visibility: d, loop: !1, delay: !1, mobileHA: !0, _cacheValues: !0, promiseRejectEmpty: !0 }, init: function (a) {
297
+ o.data(a, "velocity", { isSVG: t.isSVG(a), isAnimating: !1, computedStyle: null, tweensContainer: null, rootPropertyValueCache: {}, transformCache: {} });
298
+ }, hook: null, mock: !1, version: { major: 1, minor: 4, patch: 2 }, debug: !1, timestamp: !0, pauseAll: function (a) {
299
+ var b = new Date().getTime();o.each(x.State.calls, function (b, c) {
300
+ if (c) {
301
+ if (a !== d && (c[2].queue !== a || c[2].queue === !1)) return !0;c[5] = { resume: !1 };
302
+ }
303
+ }), o.each(x.State.delayedElements, function (a, c) {
304
+ c && h(c, b);
305
+ });
306
+ }, resumeAll: function (a) {
307
+ var b = new Date().getTime();o.each(x.State.calls, function (b, c) {
308
+ if (c) {
309
+ if (a !== d && (c[2].queue !== a || c[2].queue === !1)) return !0;c[5] && (c[5].resume = !0);
310
+ }
311
+ }), o.each(x.State.delayedElements, function (a, c) {
312
+ c && i(c, b);
313
+ });
314
+ } };b.pageYOffset !== d ? (x.State.scrollAnchor = b, x.State.scrollPropertyLeft = "pageXOffset", x.State.scrollPropertyTop = "pageYOffset") : (x.State.scrollAnchor = c.documentElement || c.body.parentNode || c.body, x.State.scrollPropertyLeft = "scrollLeft", x.State.scrollPropertyTop = "scrollTop");var y = function () {
315
+ function a(a) {
316
+ return -a.tension * a.x - a.friction * a.v;
317
+ }function b(b, c, d) {
318
+ var e = { x: b.x + d.dx * c, v: b.v + d.dv * c, tension: b.tension, friction: b.friction };return { dx: e.v, dv: a(e) };
319
+ }function c(c, d) {
320
+ var e = { dx: c.v, dv: a(c) },
321
+ f = b(c, .5 * d, e),
322
+ g = b(c, .5 * d, f),
323
+ h = b(c, d, g),
324
+ i = 1 / 6 * (e.dx + 2 * (f.dx + g.dx) + h.dx),
325
+ j = 1 / 6 * (e.dv + 2 * (f.dv + g.dv) + h.dv);return c.x = c.x + i * d, c.v = c.v + j * d, c;
326
+ }return function d(a, b, e) {
327
+ var f,
328
+ g,
329
+ h,
330
+ i = { x: -1, v: 0, tension: null, friction: null },
331
+ j = [0],
332
+ k = 0,
333
+ l = 1e-4,
334
+ m = .016;for (a = parseFloat(a) || 500, b = parseFloat(b) || 20, e = e || null, i.tension = a, i.friction = b, f = null !== e, f ? (k = d(a, b), g = k / e * m) : g = m;;) {
335
+ if (h = c(h || i, g), j.push(1 + h.x), k += 16, !(Math.abs(h.x) > l && Math.abs(h.v) > l)) break;
336
+ }return f ? function (a) {
337
+ return j[a * (j.length - 1) | 0];
338
+ } : k;
339
+ };
340
+ }();x.Easings = { linear: function (a) {
341
+ return a;
342
+ }, swing: function (a) {
343
+ return .5 - Math.cos(a * Math.PI) / 2;
344
+ }, spring: function (a) {
345
+ return 1 - Math.cos(4.5 * a * Math.PI) * Math.exp(6 * -a);
346
+ } }, o.each([["ease", [.25, .1, .25, 1]], ["ease-in", [.42, 0, 1, 1]], ["ease-out", [0, 0, .58, 1]], ["ease-in-out", [.42, 0, .58, 1]], ["easeInSine", [.47, 0, .745, .715]], ["easeOutSine", [.39, .575, .565, 1]], ["easeInOutSine", [.445, .05, .55, .95]], ["easeInQuad", [.55, .085, .68, .53]], ["easeOutQuad", [.25, .46, .45, .94]], ["easeInOutQuad", [.455, .03, .515, .955]], ["easeInCubic", [.55, .055, .675, .19]], ["easeOutCubic", [.215, .61, .355, 1]], ["easeInOutCubic", [.645, .045, .355, 1]], ["easeInQuart", [.895, .03, .685, .22]], ["easeOutQuart", [.165, .84, .44, 1]], ["easeInOutQuart", [.77, 0, .175, 1]], ["easeInQuint", [.755, .05, .855, .06]], ["easeOutQuint", [.23, 1, .32, 1]], ["easeInOutQuint", [.86, 0, .07, 1]], ["easeInExpo", [.95, .05, .795, .035]], ["easeOutExpo", [.19, 1, .22, 1]], ["easeInOutExpo", [1, 0, 0, 1]], ["easeInCirc", [.6, .04, .98, .335]], ["easeOutCirc", [.075, .82, .165, 1]], ["easeInOutCirc", [.785, .135, .15, .86]]], function (a, b) {
347
+ x.Easings[b[0]] = k.apply(null, b[1]);
348
+ });var z = x.CSS = { RegEx: { isHex: /^#([A-f\d]{3}){1,2}$/i, valueUnwrap: /^[A-z]+\((.*)\)$/i, wrappedValueAlreadyExtracted: /[0-9.]+ [0-9.]+ [0-9.]+( [0-9.]+)?/, valueSplit: /([A-z]+\(.+\))|(([A-z0-9#-.]+?)(?=\s|$))/gi }, Lists: { colors: ["fill", "stroke", "stopColor", "color", "backgroundColor", "borderColor", "borderTopColor", "borderRightColor", "borderBottomColor", "borderLeftColor", "outlineColor"], transformsBase: ["translateX", "translateY", "scale", "scaleX", "scaleY", "skewX", "skewY", "rotateZ"], transforms3D: ["transformPerspective", "translateZ", "scaleZ", "rotateX", "rotateY"], units: ["%", "em", "ex", "ch", "rem", "vw", "vh", "vmin", "vmax", "cm", "mm", "Q", "in", "pc", "pt", "px", "deg", "grad", "rad", "turn", "s", "ms"], colorNames: { aliceblue: "240,248,255", antiquewhite: "250,235,215", aquamarine: "127,255,212", aqua: "0,255,255", azure: "240,255,255", beige: "245,245,220", bisque: "255,228,196", black: "0,0,0", blanchedalmond: "255,235,205", blueviolet: "138,43,226", blue: "0,0,255", brown: "165,42,42", burlywood: "222,184,135", cadetblue: "95,158,160", chartreuse: "127,255,0", chocolate: "210,105,30", coral: "255,127,80", cornflowerblue: "100,149,237", cornsilk: "255,248,220", crimson: "220,20,60", cyan: "0,255,255", darkblue: "0,0,139", darkcyan: "0,139,139", darkgoldenrod: "184,134,11", darkgray: "169,169,169", darkgrey: "169,169,169", darkgreen: "0,100,0", darkkhaki: "189,183,107", darkmagenta: "139,0,139", darkolivegreen: "85,107,47", darkorange: "255,140,0", darkorchid: "153,50,204", darkred: "139,0,0", darksalmon: "233,150,122", darkseagreen: "143,188,143", darkslateblue: "72,61,139", darkslategray: "47,79,79", darkturquoise: "0,206,209", darkviolet: "148,0,211", deeppink: "255,20,147", deepskyblue: "0,191,255", dimgray: "105,105,105", dimgrey: "105,105,105", dodgerblue: "30,144,255", firebrick: "178,34,34", floralwhite: "255,250,240", forestgreen: "34,139,34", fuchsia: "255,0,255", gainsboro: "220,220,220", ghostwhite: "248,248,255", gold: "255,215,0", goldenrod: "218,165,32", gray: "128,128,128", grey: "128,128,128", greenyellow: "173,255,47", green: "0,128,0", honeydew: "240,255,240", hotpink: "255,105,180", indianred: "205,92,92", indigo: "75,0,130", ivory: "255,255,240", khaki: "240,230,140", lavenderblush: "255,240,245", lavender: "230,230,250", lawngreen: "124,252,0", lemonchiffon: "255,250,205", lightblue: "173,216,230", lightcoral: "240,128,128", lightcyan: "224,255,255", lightgoldenrodyellow: "250,250,210", lightgray: "211,211,211", lightgrey: "211,211,211", lightgreen: "144,238,144", lightpink: "255,182,193", lightsalmon: "255,160,122", lightseagreen: "32,178,170", lightskyblue: "135,206,250", lightslategray: "119,136,153", lightsteelblue: "176,196,222", lightyellow: "255,255,224", limegreen: "50,205,50", lime: "0,255,0", linen: "250,240,230", magenta: "255,0,255", maroon: "128,0,0", mediumaquamarine: "102,205,170", mediumblue: "0,0,205", mediumorchid: "186,85,211", mediumpurple: "147,112,219", mediumseagreen: "60,179,113", mediumslateblue: "123,104,238", mediumspringgreen: "0,250,154", mediumturquoise: "72,209,204", mediumvioletred: "199,21,133", midnightblue: "25,25,112", mintcream: "245,255,250", mistyrose: "255,228,225", moccasin: "255,228,181", navajowhite: "255,222,173", navy: "0,0,128", oldlace: "253,245,230", olivedrab: "107,142,35", olive: "128,128,0", orangered: "255,69,0", orange: "255,165,0", orchid: "218,112,214", palegoldenrod: "238,232,170", palegreen: "152,251,152", paleturquoise: "175,238,238", palevioletred: "219,112,147", papayawhip: "255,239,213", peachpuff: "255,218,185", peru: "205,133,63", pink: "255,192,203", plum: "221,160,221", powderblue: "176,224,230", purple: "128,0,128", red: "255,0,0", rosybrown: "188,143,143", royalblue: "65,105,225", saddlebrown: "139,69,19", salmon: "250,128,114", sandybrown: "244,164,96", seagreen: "46,139,87", seashell: "255,245,238", sienna: "160,82,45", silver: "192,192,192", skyblue: "135,206,235", slateblue: "106,90,205", slategray: "112,128,144", snow: "255,250,250", springgreen: "0,255,127", steelblue: "70,130,180", tan: "210,180,140", teal: "0,128,128", thistle: "216,191,216", tomato: "255,99,71", turquoise: "64,224,208", violet: "238,130,238", wheat: "245,222,179", whitesmoke: "245,245,245", white: "255,255,255", yellowgreen: "154,205,50", yellow: "255,255,0" } }, Hooks: { templates: { textShadow: ["Color X Y Blur", "black 0px 0px 0px"], boxShadow: ["Color X Y Blur Spread", "black 0px 0px 0px 0px"], clip: ["Top Right Bottom Left", "0px 0px 0px 0px"], backgroundPosition: ["X Y", "0% 0%"], transformOrigin: ["X Y Z", "50% 50% 0px"], perspectiveOrigin: ["X Y", "50% 50%"] }, registered: {}, register: function () {
349
+ for (var a = 0; a < z.Lists.colors.length; a++) {
350
+ var b = "color" === z.Lists.colors[a] ? "0 0 0 1" : "255 255 255 1";z.Hooks.templates[z.Lists.colors[a]] = ["Red Green Blue Alpha", b];
351
+ }var c, d, e;if (p) for (c in z.Hooks.templates) {
352
+ if (z.Hooks.templates.hasOwnProperty(c)) {
353
+ d = z.Hooks.templates[c], e = d[0].split(" ");var f = d[1].match(z.RegEx.valueSplit);"Color" === e[0] && (e.push(e.shift()), f.push(f.shift()), z.Hooks.templates[c] = [e.join(" "), f.join(" ")]);
354
+ }
355
+ }for (c in z.Hooks.templates) {
356
+ if (z.Hooks.templates.hasOwnProperty(c)) {
357
+ d = z.Hooks.templates[c], e = d[0].split(" ");for (var g in e) {
358
+ if (e.hasOwnProperty(g)) {
359
+ var h = c + e[g],
360
+ i = g;z.Hooks.registered[h] = [c, i];
361
+ }
362
+ }
363
+ }
364
+ }
365
+ }, getRoot: function (a) {
366
+ var b = z.Hooks.registered[a];return b ? b[0] : a;
367
+ }, getUnit: function (a, b) {
368
+ var c = (a.substr(b || 0, 5).match(/^[a-z%]+/) || [])[0] || "";return c && z.Lists.units.indexOf(c) >= 0 ? c : "";
369
+ }, fixColors: function (a) {
370
+ return a.replace(/(rgba?\(\s*)?(\b[a-z]+\b)/g, function (a, b, c) {
371
+ return z.Lists.colorNames.hasOwnProperty(c) ? (b ? b : "rgba(") + z.Lists.colorNames[c] + (b ? "" : ",1)") : b + c;
372
+ });
373
+ }, cleanRootPropertyValue: function (a, b) {
374
+ return z.RegEx.valueUnwrap.test(b) && (b = b.match(z.RegEx.valueUnwrap)[1]), z.Values.isCSSNullValue(b) && (b = z.Hooks.templates[a][1]), b;
375
+ }, extractValue: function (a, b) {
376
+ var c = z.Hooks.registered[a];if (c) {
377
+ var d = c[0],
378
+ e = c[1];return b = z.Hooks.cleanRootPropertyValue(d, b), b.toString().match(z.RegEx.valueSplit)[e];
379
+ }return b;
380
+ }, injectValue: function (a, b, c) {
381
+ var d = z.Hooks.registered[a];if (d) {
382
+ var e,
383
+ f,
384
+ g = d[0],
385
+ h = d[1];return c = z.Hooks.cleanRootPropertyValue(g, c), e = c.toString().match(z.RegEx.valueSplit), e[h] = b, f = e.join(" ");
386
+ }return c;
387
+ } }, Normalizations: { registered: { clip: function (a, b, c) {
388
+ switch (a) {case "name":
389
+ return "clip";case "extract":
390
+ var d;return z.RegEx.wrappedValueAlreadyExtracted.test(c) ? d = c : (d = c.toString().match(z.RegEx.valueUnwrap), d = d ? d[1].replace(/,(\s+)?/g, " ") : c), d;case "inject":
391
+ return "rect(" + c + ")";}
392
+ }, blur: function (a, b, c) {
393
+ switch (a) {case "name":
394
+ return x.State.isFirefox ? "filter" : "-webkit-filter";case "extract":
395
+ var d = parseFloat(c);if (!d && 0 !== d) {
396
+ var e = c.toString().match(/blur\(([0-9]+[A-z]+)\)/i);d = e ? e[1] : 0;
397
+ }return d;case "inject":
398
+ return parseFloat(c) ? "blur(" + c + ")" : "none";}
399
+ }, opacity: function (a, b, c) {
400
+ if (p <= 8) switch (a) {case "name":
401
+ return "filter";case "extract":
402
+ var d = c.toString().match(/alpha\(opacity=(.*)\)/i);return c = d ? d[1] / 100 : 1;case "inject":
403
+ return b.style.zoom = 1, parseFloat(c) >= 1 ? "" : "alpha(opacity=" + parseInt(100 * parseFloat(c), 10) + ")";} else switch (a) {case "name":
404
+ return "opacity";case "extract":
405
+ return c;case "inject":
406
+ return c;}
407
+ } }, register: function () {
408
+ function a(a, b, c) {
409
+ var d = "border-box" === z.getPropertyValue(b, "boxSizing").toString().toLowerCase();if (d === (c || !1)) {
410
+ var e,
411
+ f,
412
+ g = 0,
413
+ h = "width" === a ? ["Left", "Right"] : ["Top", "Bottom"],
414
+ i = ["padding" + h[0], "padding" + h[1], "border" + h[0] + "Width", "border" + h[1] + "Width"];for (e = 0; e < i.length; e++) {
415
+ f = parseFloat(z.getPropertyValue(b, i[e])), isNaN(f) || (g += f);
416
+ }return c ? -g : g;
417
+ }return 0;
418
+ }function b(b, c) {
419
+ return function (d, e, f) {
420
+ switch (d) {case "name":
421
+ return b;case "extract":
422
+ return parseFloat(f) + a(b, e, c);case "inject":
423
+ return parseFloat(f) - a(b, e, c) + "px";}
424
+ };
425
+ }p && !(p > 9) || x.State.isGingerbread || (z.Lists.transformsBase = z.Lists.transformsBase.concat(z.Lists.transforms3D));for (var c = 0; c < z.Lists.transformsBase.length; c++) {
426
+ !function () {
427
+ var a = z.Lists.transformsBase[c];z.Normalizations.registered[a] = function (b, c, e) {
428
+ switch (b) {case "name":
429
+ return "transform";case "extract":
430
+ return g(c) === d || g(c).transformCache[a] === d ? /^scale/i.test(a) ? 1 : 0 : g(c).transformCache[a].replace(/[()]/g, "");case "inject":
431
+ var f = !1;switch (a.substr(0, a.length - 1)) {case "translate":
432
+ f = !/(%|px|em|rem|vw|vh|\d)$/i.test(e);break;case "scal":case "scale":
433
+ x.State.isAndroid && g(c).transformCache[a] === d && e < 1 && (e = 1), f = !/(\d)$/i.test(e);break;case "skew":
434
+ f = !/(deg|\d)$/i.test(e);break;case "rotate":
435
+ f = !/(deg|\d)$/i.test(e);}return f || (g(c).transformCache[a] = "(" + e + ")"), g(c).transformCache[a];}
436
+ };
437
+ }();
438
+ }for (var e = 0; e < z.Lists.colors.length; e++) {
439
+ !function () {
440
+ var a = z.Lists.colors[e];z.Normalizations.registered[a] = function (b, c, e) {
441
+ switch (b) {case "name":
442
+ return a;case "extract":
443
+ var f;if (z.RegEx.wrappedValueAlreadyExtracted.test(e)) f = e;else {
444
+ var g,
445
+ h = { black: "rgb(0, 0, 0)", blue: "rgb(0, 0, 255)", gray: "rgb(128, 128, 128)", green: "rgb(0, 128, 0)", red: "rgb(255, 0, 0)", white: "rgb(255, 255, 255)" };/^[A-z]+$/i.test(e) ? g = h[e] !== d ? h[e] : h.black : z.RegEx.isHex.test(e) ? g = "rgb(" + z.Values.hexToRgb(e).join(" ") + ")" : /^rgba?\(/i.test(e) || (g = h.black), f = (g || e).toString().match(z.RegEx.valueUnwrap)[1].replace(/,(\s+)?/g, " ");
446
+ }return (!p || p > 8) && 3 === f.split(" ").length && (f += " 1"), f;case "inject":
447
+ return (/^rgb/.test(e) ? e : (p <= 8 ? 4 === e.split(" ").length && (e = e.split(/\s+/).slice(0, 3).join(" ")) : 3 === e.split(" ").length && (e += " 1"), (p <= 8 ? "rgb" : "rgba") + "(" + e.replace(/\s+/g, ",").replace(/\.(\d)+(?=,)/g, "") + ")")
448
+ );}
449
+ };
450
+ }();
451
+ }z.Normalizations.registered.innerWidth = b("width", !0), z.Normalizations.registered.innerHeight = b("height", !0), z.Normalizations.registered.outerWidth = b("width"), z.Normalizations.registered.outerHeight = b("height");
452
+ } }, Names: { camelCase: function (a) {
453
+ return a.replace(/-(\w)/g, function (a, b) {
454
+ return b.toUpperCase();
455
+ });
456
+ }, SVGAttribute: function (a) {
457
+ var b = "width|height|x|y|cx|cy|r|rx|ry|x1|x2|y1|y2";return (p || x.State.isAndroid && !x.State.isChrome) && (b += "|transform"), new RegExp("^(" + b + ")$", "i").test(a);
458
+ }, prefixCheck: function (a) {
459
+ if (x.State.prefixMatches[a]) return [x.State.prefixMatches[a], !0];for (var b = ["", "Webkit", "Moz", "ms", "O"], c = 0, d = b.length; c < d; c++) {
460
+ var e;if (e = 0 === c ? a : b[c] + a.replace(/^\w/, function (a) {
461
+ return a.toUpperCase();
462
+ }), t.isString(x.State.prefixElement.style[e])) return x.State.prefixMatches[a] = e, [e, !0];
463
+ }return [a, !1];
464
+ } }, Values: { hexToRgb: function (a) {
465
+ var b,
466
+ c = /^#?([a-f\d])([a-f\d])([a-f\d])$/i,
467
+ d = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i;return a = a.replace(c, function (a, b, c, d) {
468
+ return b + b + c + c + d + d;
469
+ }), b = d.exec(a), b ? [parseInt(b[1], 16), parseInt(b[2], 16), parseInt(b[3], 16)] : [0, 0, 0];
470
+ }, isCSSNullValue: function (a) {
471
+ return !a || /^(none|auto|transparent|(rgba\(0, ?0, ?0, ?0\)))$/i.test(a);
472
+ }, getUnitType: function (a) {
473
+ return (/^(rotate|skew)/i.test(a) ? "deg" : /(^(scale|scaleX|scaleY|scaleZ|alpha|flexGrow|flexHeight|zIndex|fontWeight)$)|((opacity|red|green|blue|alpha)$)/i.test(a) ? "" : "px"
474
+ );
475
+ }, getDisplayType: function (a) {
476
+ var b = a && a.tagName.toString().toLowerCase();return (/^(b|big|i|small|tt|abbr|acronym|cite|code|dfn|em|kbd|strong|samp|var|a|bdo|br|img|map|object|q|script|span|sub|sup|button|input|label|select|textarea)$/i.test(b) ? "inline" : /^(li)$/i.test(b) ? "list-item" : /^(tr)$/i.test(b) ? "table-row" : /^(table)$/i.test(b) ? "table" : /^(tbody)$/i.test(b) ? "table-row-group" : "block"
477
+ );
478
+ }, addClass: function (a, b) {
479
+ if (a) if (a.classList) a.classList.add(b);else if (t.isString(a.className)) a.className += (a.className.length ? " " : "") + b;else {
480
+ var c = a.getAttribute(p <= 7 ? "className" : "class") || "";a.setAttribute("class", c + (c ? " " : "") + b);
481
+ }
482
+ }, removeClass: function (a, b) {
483
+ if (a) if (a.classList) a.classList.remove(b);else if (t.isString(a.className)) a.className = a.className.toString().replace(new RegExp("(^|\\s)" + b.split(" ").join("|") + "(\\s|$)", "gi"), " ");else {
484
+ var c = a.getAttribute(p <= 7 ? "className" : "class") || "";a.setAttribute("class", c.replace(new RegExp("(^|s)" + b.split(" ").join("|") + "(s|$)", "gi"), " "));
485
+ }
486
+ } }, getPropertyValue: function (a, c, e, f) {
487
+ function h(a, c) {
488
+ var e = 0;if (p <= 8) e = o.css(a, c);else {
489
+ var i = !1;/^(width|height)$/.test(c) && 0 === z.getPropertyValue(a, "display") && (i = !0, z.setPropertyValue(a, "display", z.Values.getDisplayType(a)));var j = function () {
490
+ i && z.setPropertyValue(a, "display", "none");
491
+ };if (!f) {
492
+ if ("height" === c && "border-box" !== z.getPropertyValue(a, "boxSizing").toString().toLowerCase()) {
493
+ var k = a.offsetHeight - (parseFloat(z.getPropertyValue(a, "borderTopWidth")) || 0) - (parseFloat(z.getPropertyValue(a, "borderBottomWidth")) || 0) - (parseFloat(z.getPropertyValue(a, "paddingTop")) || 0) - (parseFloat(z.getPropertyValue(a, "paddingBottom")) || 0);return j(), k;
494
+ }if ("width" === c && "border-box" !== z.getPropertyValue(a, "boxSizing").toString().toLowerCase()) {
495
+ var l = a.offsetWidth - (parseFloat(z.getPropertyValue(a, "borderLeftWidth")) || 0) - (parseFloat(z.getPropertyValue(a, "borderRightWidth")) || 0) - (parseFloat(z.getPropertyValue(a, "paddingLeft")) || 0) - (parseFloat(z.getPropertyValue(a, "paddingRight")) || 0);return j(), l;
496
+ }
497
+ }var m;m = g(a) === d ? b.getComputedStyle(a, null) : g(a).computedStyle ? g(a).computedStyle : g(a).computedStyle = b.getComputedStyle(a, null), "borderColor" === c && (c = "borderTopColor"), e = 9 === p && "filter" === c ? m.getPropertyValue(c) : m[c], "" !== e && null !== e || (e = a.style[c]), j();
498
+ }if ("auto" === e && /^(top|right|bottom|left)$/i.test(c)) {
499
+ var n = h(a, "position");("fixed" === n || "absolute" === n && /top|left/i.test(c)) && (e = o(a).position()[c] + "px");
500
+ }return e;
501
+ }var i;if (z.Hooks.registered[c]) {
502
+ var j = c,
503
+ k = z.Hooks.getRoot(j);e === d && (e = z.getPropertyValue(a, z.Names.prefixCheck(k)[0])), z.Normalizations.registered[k] && (e = z.Normalizations.registered[k]("extract", a, e)), i = z.Hooks.extractValue(j, e);
504
+ } else if (z.Normalizations.registered[c]) {
505
+ var l, m;l = z.Normalizations.registered[c]("name", a), "transform" !== l && (m = h(a, z.Names.prefixCheck(l)[0]), z.Values.isCSSNullValue(m) && z.Hooks.templates[c] && (m = z.Hooks.templates[c][1])), i = z.Normalizations.registered[c]("extract", a, m);
506
+ }if (!/^[\d-]/.test(i)) {
507
+ var n = g(a);if (n && n.isSVG && z.Names.SVGAttribute(c)) {
508
+ if (/^(height|width)$/i.test(c)) try {
509
+ i = a.getBBox()[c];
510
+ } catch (q) {
511
+ i = 0;
512
+ } else i = a.getAttribute(c);
513
+ } else i = h(a, z.Names.prefixCheck(c)[0]);
514
+ }return z.Values.isCSSNullValue(i) && (i = 0), x.debug >= 2 && console.log("Get " + c + ": " + i), i;
515
+ }, setPropertyValue: function (a, c, d, e, f) {
516
+ var h = c;if ("scroll" === c) f.container ? f.container["scroll" + f.direction] = d : "Left" === f.direction ? b.scrollTo(d, f.alternateValue) : b.scrollTo(f.alternateValue, d);else if (z.Normalizations.registered[c] && "transform" === z.Normalizations.registered[c]("name", a)) z.Normalizations.registered[c]("inject", a, d), h = "transform", d = g(a).transformCache[c];else {
517
+ if (z.Hooks.registered[c]) {
518
+ var i = c,
519
+ j = z.Hooks.getRoot(c);e = e || z.getPropertyValue(a, j), d = z.Hooks.injectValue(i, d, e), c = j;
520
+ }if (z.Normalizations.registered[c] && (d = z.Normalizations.registered[c]("inject", a, d), c = z.Normalizations.registered[c]("name", a)), h = z.Names.prefixCheck(c)[0], p <= 8) try {
521
+ a.style[h] = d;
522
+ } catch (k) {
523
+ x.debug && console.log("Browser does not support [" + d + "] for [" + h + "]");
524
+ } else {
525
+ var l = g(a);l && l.isSVG && z.Names.SVGAttribute(c) ? a.setAttribute(c, d) : a.style[h] = d;
526
+ }x.debug >= 2 && console.log("Set " + c + " (" + h + "): " + d);
527
+ }return [h, d];
528
+ }, flushTransformCache: function (a) {
529
+ var b = "",
530
+ c = g(a);if ((p || x.State.isAndroid && !x.State.isChrome) && c && c.isSVG) {
531
+ var d = function (b) {
532
+ return parseFloat(z.getPropertyValue(a, b));
533
+ },
534
+ e = { translate: [d("translateX"), d("translateY")], skewX: [d("skewX")], skewY: [d("skewY")], scale: 1 !== d("scale") ? [d("scale"), d("scale")] : [d("scaleX"), d("scaleY")], rotate: [d("rotateZ"), 0, 0] };o.each(g(a).transformCache, function (a) {
535
+ /^translate/i.test(a) ? a = "translate" : /^scale/i.test(a) ? a = "scale" : /^rotate/i.test(a) && (a = "rotate"), e[a] && (b += a + "(" + e[a].join(" ") + ") ", delete e[a]);
536
+ });
537
+ } else {
538
+ var f, h;o.each(g(a).transformCache, function (c) {
539
+ return f = g(a).transformCache[c], "transformPerspective" === c ? (h = f, !0) : (9 === p && "rotateZ" === c && (c = "rotate"), void (b += c + f + " "));
540
+ }), h && (b = "perspective" + h + " " + b);
541
+ }z.setPropertyValue(a, "transform", b);
542
+ } };z.Hooks.register(), z.Normalizations.register(), x.hook = function (a, b, c) {
543
+ var e;return a = f(a), o.each(a, function (a, f) {
544
+ if (g(f) === d && x.init(f), c === d) e === d && (e = z.getPropertyValue(f, b));else {
545
+ var h = z.setPropertyValue(f, b, c);"transform" === h[0] && x.CSS.flushTransformCache(f), e = h;
546
+ }
547
+ }), e;
548
+ };var A = function () {
549
+ function a() {
550
+ return k ? y.promise || null : p;
551
+ }function e(a, e) {
552
+ function f(f) {
553
+ var k, n;if (i.begin && 0 === C) try {
554
+ i.begin.call(r, r);
555
+ } catch (p) {
556
+ setTimeout(function () {
557
+ throw p;
558
+ }, 1);
559
+ }if ("scroll" === F) {
560
+ var q,
561
+ v,
562
+ w,
563
+ A = /^x$/i.test(i.axis) ? "Left" : "Top",
564
+ D = parseFloat(i.offset) || 0;i.container ? t.isWrapped(i.container) || t.isNode(i.container) ? (i.container = i.container[0] || i.container, q = i.container["scroll" + A], w = q + o(a).position()[A.toLowerCase()] + D) : i.container = null : (q = x.State.scrollAnchor[x.State["scrollProperty" + A]], v = x.State.scrollAnchor[x.State["scrollProperty" + ("Left" === A ? "Top" : "Left")]], w = o(a).offset()[A.toLowerCase()] + D), j = { scroll: { rootPropertyValue: !1, startValue: q, currentValue: q, endValue: w, unitType: "", easing: i.easing, scrollData: { container: i.container, direction: A, alternateValue: v } }, element: a }, x.debug && console.log("tweensContainer (scroll): ", j.scroll, a);
565
+ } else if ("reverse" === F) {
566
+ if (k = g(a), !k) return;if (!k.tweensContainer) return void o.dequeue(a, i.queue);"none" === k.opts.display && (k.opts.display = "auto"), "hidden" === k.opts.visibility && (k.opts.visibility = "visible"), k.opts.loop = !1, k.opts.begin = null, k.opts.complete = null, u.easing || delete i.easing, u.duration || delete i.duration, i = o.extend({}, k.opts, i), n = o.extend(!0, {}, k ? k.tweensContainer : null);for (var E in n) {
567
+ if (n.hasOwnProperty(E) && "element" !== E) {
568
+ var G = n[E].startValue;n[E].startValue = n[E].currentValue = n[E].endValue, n[E].endValue = G, t.isEmptyObject(u) || (n[E].easing = i.easing), x.debug && console.log("reverse tweensContainer (" + E + "): " + JSON.stringify(n[E]), a);
569
+ }
570
+ }j = n;
571
+ } else if ("start" === F) {
572
+ k = g(a), k && k.tweensContainer && k.isAnimating === !0 && (n = k.tweensContainer);var H = function (b, c) {
573
+ var d, f, g;return t.isFunction(b) && (b = b.call(a, e, B)), t.isArray(b) ? (d = b[0], !t.isArray(b[1]) && /^[\d-]/.test(b[1]) || t.isFunction(b[1]) || z.RegEx.isHex.test(b[1]) ? g = b[1] : t.isString(b[1]) && !z.RegEx.isHex.test(b[1]) && x.Easings[b[1]] || t.isArray(b[1]) ? (f = c ? b[1] : l(b[1], i.duration), g = b[2]) : g = b[1] || b[2]) : d = b, c || (f = f || i.easing), t.isFunction(d) && (d = d.call(a, e, B)), t.isFunction(g) && (g = g.call(a, e, B)), [d || 0, f, g];
574
+ },
575
+ I = function (e, f) {
576
+ var g,
577
+ l = z.Hooks.getRoot(e),
578
+ m = !1,
579
+ p = f[0],
580
+ q = f[1],
581
+ r = f[2];
582
+ if (!(k && k.isSVG || "tween" === l || z.Names.prefixCheck(l)[1] !== !1 || z.Normalizations.registered[l] !== d)) return void (x.debug && console.log("Skipping [" + l + "] due to a lack of browser support."));(i.display !== d && null !== i.display && "none" !== i.display || i.visibility !== d && "hidden" !== i.visibility) && /opacity|filter/.test(e) && !r && 0 !== p && (r = 0), i._cacheValues && n && n[e] ? (r === d && (r = n[e].endValue + n[e].unitType), m = k.rootPropertyValueCache[l]) : z.Hooks.registered[e] ? r === d ? (m = z.getPropertyValue(a, l), r = z.getPropertyValue(a, e, m)) : m = z.Hooks.templates[l][1] : r === d && (r = z.getPropertyValue(a, e));var s,
583
+ u,
584
+ v,
585
+ w = !1,
586
+ y = function (a, b) {
587
+ var c, d;return d = (b || "0").toString().toLowerCase().replace(/[%A-z]+$/, function (a) {
588
+ return c = a, "";
589
+ }), c || (c = z.Values.getUnitType(a)), [d, c];
590
+ };if (r !== p && t.isString(r) && t.isString(p)) {
591
+ g = "";var A = 0,
592
+ B = 0,
593
+ C = [],
594
+ D = [],
595
+ E = 0,
596
+ F = 0,
597
+ G = 0;for (r = z.Hooks.fixColors(r), p = z.Hooks.fixColors(p); A < r.length && B < p.length;) {
598
+ var H = r[A],
599
+ I = p[B];if (/[\d\.]/.test(H) && /[\d\.]/.test(I)) {
600
+ for (var J = H, K = I, M = ".", N = "."; ++A < r.length;) {
601
+ if (H = r[A], H === M) M = "..";else if (!/\d/.test(H)) break;J += H;
602
+ }for (; ++B < p.length;) {
603
+ if (I = p[B], I === N) N = "..";else if (!/\d/.test(I)) break;K += I;
604
+ }var O = z.Hooks.getUnit(r, A),
605
+ P = z.Hooks.getUnit(p, B);if (A += O.length, B += P.length, O === P) J === K ? g += J + O : (g += "{" + C.length + (F ? "!" : "") + "}" + O, C.push(parseFloat(J)), D.push(parseFloat(K)));else {
606
+ var Q = parseFloat(J),
607
+ R = parseFloat(K);g += (E < 5 ? "calc" : "") + "(" + (Q ? "{" + C.length + (F ? "!" : "") + "}" : "0") + O + " + " + (R ? "{" + (C.length + (Q ? 1 : 0)) + (F ? "!" : "") + "}" : "0") + P + ")", Q && (C.push(Q), D.push(0)), R && (C.push(0), D.push(R));
608
+ }
609
+ } else {
610
+ if (H !== I) {
611
+ E = 0;break;
612
+ }g += H, A++, B++, 0 === E && "c" === H || 1 === E && "a" === H || 2 === E && "l" === H || 3 === E && "c" === H || E >= 4 && "(" === H ? E++ : (E && E < 5 || E >= 4 && ")" === H && --E < 5) && (E = 0), 0 === F && "r" === H || 1 === F && "g" === H || 2 === F && "b" === H || 3 === F && "a" === H || F >= 3 && "(" === H ? (3 === F && "a" === H && (G = 1), F++) : G && "," === H ? ++G > 3 && (F = G = 0) : (G && F < (G ? 5 : 4) || F >= (G ? 4 : 3) && ")" === H && --F < (G ? 5 : 4)) && (F = G = 0);
613
+ }
614
+ }A === r.length && B === p.length || (x.debug && console.error('Trying to pattern match mis-matched strings ["' + p + '", "' + r + '"]'), g = d), g && (C.length ? (x.debug && console.log('Pattern found "' + g + '" -> ', C, D, "[" + r + "," + p + "]"), r = C, p = D, u = v = "") : g = d);
615
+ }g || (s = y(e, r), r = s[0], v = s[1], s = y(e, p), p = s[0].replace(/^([+-\/*])=/, function (a, b) {
616
+ return w = b, "";
617
+ }), u = s[1], r = parseFloat(r) || 0, p = parseFloat(p) || 0, "%" === u && (/^(fontSize|lineHeight)$/.test(e) ? (p /= 100, u = "em") : /^scale/.test(e) ? (p /= 100, u = "") : /(Red|Green|Blue)$/i.test(e) && (p = p / 100 * 255, u = "")));var S = function () {
618
+ var d = { myParent: a.parentNode || c.body, position: z.getPropertyValue(a, "position"), fontSize: z.getPropertyValue(a, "fontSize") },
619
+ e = d.position === L.lastPosition && d.myParent === L.lastParent,
620
+ f = d.fontSize === L.lastFontSize;L.lastParent = d.myParent, L.lastPosition = d.position, L.lastFontSize = d.fontSize;var g = 100,
621
+ h = {};if (f && e) h.emToPx = L.lastEmToPx, h.percentToPxWidth = L.lastPercentToPxWidth, h.percentToPxHeight = L.lastPercentToPxHeight;else {
622
+ var i = k && k.isSVG ? c.createElementNS("http://www.w3.org/2000/svg", "rect") : c.createElement("div");x.init(i), d.myParent.appendChild(i), o.each(["overflow", "overflowX", "overflowY"], function (a, b) {
623
+ x.CSS.setPropertyValue(i, b, "hidden");
624
+ }), x.CSS.setPropertyValue(i, "position", d.position), x.CSS.setPropertyValue(i, "fontSize", d.fontSize), x.CSS.setPropertyValue(i, "boxSizing", "content-box"), o.each(["minWidth", "maxWidth", "width", "minHeight", "maxHeight", "height"], function (a, b) {
625
+ x.CSS.setPropertyValue(i, b, g + "%");
626
+ }), x.CSS.setPropertyValue(i, "paddingLeft", g + "em"), h.percentToPxWidth = L.lastPercentToPxWidth = (parseFloat(z.getPropertyValue(i, "width", null, !0)) || 1) / g, h.percentToPxHeight = L.lastPercentToPxHeight = (parseFloat(z.getPropertyValue(i, "height", null, !0)) || 1) / g, h.emToPx = L.lastEmToPx = (parseFloat(z.getPropertyValue(i, "paddingLeft")) || 1) / g, d.myParent.removeChild(i);
627
+ }return null === L.remToPx && (L.remToPx = parseFloat(z.getPropertyValue(c.body, "fontSize")) || 16), null === L.vwToPx && (L.vwToPx = parseFloat(b.innerWidth) / 100, L.vhToPx = parseFloat(b.innerHeight) / 100), h.remToPx = L.remToPx, h.vwToPx = L.vwToPx, h.vhToPx = L.vhToPx, x.debug >= 1 && console.log("Unit ratios: " + JSON.stringify(h), a), h;
628
+ };if (/[\/*]/.test(w)) u = v;else if (v !== u && 0 !== r) if (0 === p) u = v;else {
629
+ h = h || S();var T = /margin|padding|left|right|width|text|word|letter/i.test(e) || /X$/.test(e) || "x" === e ? "x" : "y";switch (v) {case "%":
630
+ r *= "x" === T ? h.percentToPxWidth : h.percentToPxHeight;break;case "px":
631
+ break;default:
632
+ r *= h[v + "ToPx"];}switch (u) {case "%":
633
+ r *= 1 / ("x" === T ? h.percentToPxWidth : h.percentToPxHeight);break;case "px":
634
+ break;default:
635
+ r *= 1 / h[u + "ToPx"];}
636
+ }switch (w) {case "+":
637
+ p = r + p;break;case "-":
638
+ p = r - p;break;case "*":
639
+ p *= r;break;case "/":
640
+ p = r / p;}j[e] = { rootPropertyValue: m, startValue: r, currentValue: r, endValue: p, unitType: u, easing: q }, g && (j[e].pattern = g), x.debug && console.log("tweensContainer (" + e + "): " + JSON.stringify(j[e]), a);
641
+ };for (var J in s) {
642
+ if (s.hasOwnProperty(J)) {
643
+ var K = z.Names.camelCase(J),
644
+ N = H(s[J]);if (z.Lists.colors.indexOf(K) >= 0) {
645
+ var O = N[0],
646
+ P = N[1],
647
+ Q = N[2];if (z.RegEx.isHex.test(O)) {
648
+ for (var R = ["Red", "Green", "Blue"], S = z.Values.hexToRgb(O), T = Q ? z.Values.hexToRgb(Q) : d, U = 0; U < R.length; U++) {
649
+ var V = [S[U]];P && V.push(P), T !== d && V.push(T[U]), I(K + R[U], V);
650
+ }continue;
651
+ }
652
+ }I(K, N);
653
+ }
654
+ }j.element = a;
655
+ }j.element && (z.Values.addClass(a, "velocity-animating"), M.push(j), k = g(a), k && ("" === i.queue && (k.tweensContainer = j, k.opts = i), k.isAnimating = !0), C === B - 1 ? (x.State.calls.push([M, r, i, null, y.resolver, null, 0]), x.State.isTicking === !1 && (x.State.isTicking = !0, m())) : C++);
656
+ }var h,
657
+ i = o.extend({}, x.defaults, u),
658
+ j = {};switch (g(a) === d && x.init(a), parseFloat(i.delay) && i.queue !== !1 && o.queue(a, i.queue, function (b) {
659
+ x.velocityQueueEntryFlag = !0;var c = x.State.delayedElements.count++;x.State.delayedElements[c] = a;var d = function (a) {
660
+ return function () {
661
+ x.State.delayedElements[a] = !1, b();
662
+ };
663
+ }(c);g(a).delayBegin = new Date().getTime(), g(a).delay = parseFloat(i.delay), g(a).delayTimer = { setTimeout: setTimeout(b, parseFloat(i.delay)), next: d };
664
+ }), i.duration.toString().toLowerCase()) {case "fast":
665
+ i.duration = 200;break;case "normal":
666
+ i.duration = v;break;case "slow":
667
+ i.duration = 600;break;default:
668
+ i.duration = parseFloat(i.duration) || 1;}if (x.mock !== !1 && (x.mock === !0 ? i.duration = i.delay = 1 : (i.duration *= parseFloat(x.mock) || 1, i.delay *= parseFloat(x.mock) || 1)), i.easing = l(i.easing, i.duration), i.begin && !t.isFunction(i.begin) && (i.begin = null), i.progress && !t.isFunction(i.progress) && (i.progress = null), i.complete && !t.isFunction(i.complete) && (i.complete = null), i.display !== d && null !== i.display && (i.display = i.display.toString().toLowerCase(), "auto" === i.display && (i.display = x.CSS.Values.getDisplayType(a))), i.visibility !== d && null !== i.visibility && (i.visibility = i.visibility.toString().toLowerCase()), i.mobileHA = i.mobileHA && x.State.isMobile && !x.State.isGingerbread, i.queue === !1) {
669
+ if (i.delay) {
670
+ var k = x.State.delayedElements.count++;x.State.delayedElements[k] = a;var n = function (a) {
671
+ return function () {
672
+ x.State.delayedElements[a] = !1, f();
673
+ };
674
+ }(k);g(a).delayBegin = new Date().getTime(), g(a).delay = parseFloat(i.delay), g(a).delayTimer = { setTimeout: setTimeout(f, parseFloat(i.delay)), next: n };
675
+ } else f();
676
+ } else o.queue(a, i.queue, function (a, b) {
677
+ return b === !0 ? (y.promise && y.resolver(r), !0) : (x.velocityQueueEntryFlag = !0, void f(a));
678
+ });"" !== i.queue && "fx" !== i.queue || "inprogress" === o.queue(a)[0] || o.dequeue(a);
679
+ }var j,
680
+ k,
681
+ p,
682
+ q,
683
+ r,
684
+ s,
685
+ u,
686
+ w = arguments[0] && (arguments[0].p || o.isPlainObject(arguments[0].properties) && !arguments[0].properties.names || t.isString(arguments[0].properties));t.isWrapped(this) ? (k = !1, q = 0, r = this, p = this) : (k = !0, q = 1, r = w ? arguments[0].elements || arguments[0].e : arguments[0]);var y = { promise: null, resolver: null, rejecter: null };if (k && x.Promise && (y.promise = new x.Promise(function (a, b) {
687
+ y.resolver = a, y.rejecter = b;
688
+ })), w ? (s = arguments[0].properties || arguments[0].p, u = arguments[0].options || arguments[0].o) : (s = arguments[q], u = arguments[q + 1]), r = f(r), !r) return void (y.promise && (s && u && u.promiseRejectEmpty === !1 ? y.resolver() : y.rejecter()));var B = r.length,
689
+ C = 0;if (!/^(stop|finish|finishAll|pause|resume)$/i.test(s) && !o.isPlainObject(u)) {
690
+ var D = q + 1;u = {};for (var E = D; E < arguments.length; E++) {
691
+ t.isArray(arguments[E]) || !/^(fast|normal|slow)$/i.test(arguments[E]) && !/^\d/.test(arguments[E]) ? t.isString(arguments[E]) || t.isArray(arguments[E]) ? u.easing = arguments[E] : t.isFunction(arguments[E]) && (u.complete = arguments[E]) : u.duration = arguments[E];
692
+ }
693
+ }var F;switch (s) {case "scroll":
694
+ F = "scroll";break;case "reverse":
695
+ F = "reverse";break;case "pause":
696
+ var G = new Date().getTime();return o.each(r, function (a, b) {
697
+ h(b, G);
698
+ }), o.each(x.State.calls, function (a, b) {
699
+ var c = !1;b && o.each(b[1], function (a, e) {
700
+ var f = u === d ? "" : u;return f !== !0 && b[2].queue !== f && (u !== d || b[2].queue !== !1) || (o.each(r, function (a, d) {
701
+ if (d === e) return b[5] = { resume: !1 }, c = !0, !1;
702
+ }), !c && void 0);
703
+ });
704
+ }), a();case "resume":
705
+ return o.each(r, function (a, b) {
706
+ i(b, G);
707
+ }), o.each(x.State.calls, function (a, b) {
708
+ var c = !1;b && o.each(b[1], function (a, e) {
709
+ var f = u === d ? "" : u;return f !== !0 && b[2].queue !== f && (u !== d || b[2].queue !== !1) || !b[5] || (o.each(r, function (a, d) {
710
+ if (d === e) return b[5].resume = !0, c = !0, !1;
711
+ }), !c && void 0);
712
+ });
713
+ }), a();case "finish":case "finishAll":case "stop":
714
+ o.each(r, function (a, b) {
715
+ g(b) && g(b).delayTimer && (clearTimeout(g(b).delayTimer.setTimeout), g(b).delayTimer.next && g(b).delayTimer.next(), delete g(b).delayTimer), "finishAll" !== s || u !== !0 && !t.isString(u) || (o.each(o.queue(b, t.isString(u) ? u : ""), function (a, b) {
716
+ t.isFunction(b) && b();
717
+ }), o.queue(b, t.isString(u) ? u : "", []));
718
+ });var H = [];return o.each(x.State.calls, function (a, b) {
719
+ b && o.each(b[1], function (c, e) {
720
+ var f = u === d ? "" : u;return f !== !0 && b[2].queue !== f && (u !== d || b[2].queue !== !1) || void o.each(r, function (c, d) {
721
+ if (d === e) if ((u === !0 || t.isString(u)) && (o.each(o.queue(d, t.isString(u) ? u : ""), function (a, b) {
722
+ t.isFunction(b) && b(null, !0);
723
+ }), o.queue(d, t.isString(u) ? u : "", [])), "stop" === s) {
724
+ var h = g(d);h && h.tweensContainer && f !== !1 && o.each(h.tweensContainer, function (a, b) {
725
+ b.endValue = b.currentValue;
726
+ }), H.push(a);
727
+ } else "finish" !== s && "finishAll" !== s || (b[2].duration = 1);
728
+ });
729
+ });
730
+ }), "stop" === s && (o.each(H, function (a, b) {
731
+ n(b, !0);
732
+ }), y.promise && y.resolver(r)), a();default:
733
+ if (!o.isPlainObject(s) || t.isEmptyObject(s)) {
734
+ if (t.isString(s) && x.Redirects[s]) {
735
+ j = o.extend({}, u);var I = j.duration,
736
+ J = j.delay || 0;return j.backwards === !0 && (r = o.extend(!0, [], r).reverse()), o.each(r, function (a, b) {
737
+ parseFloat(j.stagger) ? j.delay = J + parseFloat(j.stagger) * a : t.isFunction(j.stagger) && (j.delay = J + j.stagger.call(b, a, B)), j.drag && (j.duration = parseFloat(I) || (/^(callout|transition)/.test(s) ? 1e3 : v), j.duration = Math.max(j.duration * (j.backwards ? 1 - a / B : (a + 1) / B), .75 * j.duration, 200)), x.Redirects[s].call(b, b, j || {}, a, B, r, y.promise ? y : d);
738
+ }), a();
739
+ }var K = "Velocity: First argument (" + s + ") was not a property map, a known action, or a registered redirect. Aborting.";return y.promise ? y.rejecter(new Error(K)) : console.log(K), a();
740
+ }F = "start";}var L = { lastParent: null, lastPosition: null, lastFontSize: null, lastPercentToPxWidth: null, lastPercentToPxHeight: null, lastEmToPx: null, remToPx: null, vwToPx: null, vhToPx: null },
741
+ M = [];o.each(r, function (a, b) {
742
+ t.isNode(b) && e(b, a);
743
+ }), j = o.extend({}, x.defaults, u), j.loop = parseInt(j.loop, 10);var N = 2 * j.loop - 1;if (j.loop) for (var O = 0; O < N; O++) {
744
+ var P = { delay: j.delay, progress: j.progress };O === N - 1 && (P.display = j.display, P.visibility = j.visibility, P.complete = j.complete), A(r, "reverse", P);
745
+ }return a();
746
+ };x = o.extend(A, x), x.animate = A;var B = b.requestAnimationFrame || q;if (!x.State.isMobile && c.hidden !== d) {
747
+ var C = function () {
748
+ c.hidden ? (B = function (a) {
749
+ return setTimeout(function () {
750
+ a(!0);
751
+ }, 16);
752
+ }, m()) : B = b.requestAnimationFrame || q;
753
+ };C(), c.addEventListener("visibilitychange", C);
754
+ }return a.Velocity = x, a !== b && (a.fn.velocity = A, a.fn.velocity.defaults = x.defaults), o.each(["Down", "Up"], function (a, b) {
755
+ x.Redirects["slide" + b] = function (a, c, e, f, g, h) {
756
+ var i = o.extend({}, c),
757
+ j = i.begin,
758
+ k = i.complete,
759
+ l = {},
760
+ m = { height: "", marginTop: "", marginBottom: "", paddingTop: "", paddingBottom: "" };i.display === d && (i.display = "Down" === b ? "inline" === x.CSS.Values.getDisplayType(a) ? "inline-block" : "block" : "none"), i.begin = function () {
761
+ 0 === e && j && j.call(g, g);for (var c in m) {
762
+ if (m.hasOwnProperty(c)) {
763
+ l[c] = a.style[c];var d = z.getPropertyValue(a, c);m[c] = "Down" === b ? [d, 0] : [0, d];
764
+ }
765
+ }l.overflow = a.style.overflow, a.style.overflow = "hidden";
766
+ }, i.complete = function () {
767
+ for (var b in l) {
768
+ l.hasOwnProperty(b) && (a.style[b] = l[b]);
769
+ }e === f - 1 && (k && k.call(g, g), h && h.resolver(g));
770
+ }, x(a, m, i);
771
+ };
772
+ }), o.each(["In", "Out"], function (a, b) {
773
+ x.Redirects["fade" + b] = function (a, c, e, f, g, h) {
774
+ var i = o.extend({}, c),
775
+ j = i.complete,
776
+ k = { opacity: "In" === b ? 1 : 0 };0 !== e && (i.begin = null), e !== f - 1 ? i.complete = null : i.complete = function () {
777
+ j && j.call(g, g), h && h.resolver(g);
778
+ }, i.display === d && (i.display = "In" === b ? "auto" : "none"), x(this, k, i);
779
+ };
780
+ }), x;
781
+ }(window.jQuery || window.Zepto || window, window, window ? window.document : void 0);
782
+ });