vendor: 5,366 bytes, lines 1-143
1! function (a) { 2 "use strict"; 3 "function" == typeof require && "object" == typeof exports ? module.exports = a() : "function" == typeof define && define.amd ? define(["velocity"], a) : a() 4}(function () { 5 "use strict"; 6 return function (a, b, c, d) { 7 var e = a.Velocity; 8 if (!e || !e.Utilities) return void(b.console && console.log("Velocity UI Pack: Velocity must be loaded first. Aborting.")); 9 var f = e.Utilities, 10 g = e.version, 11 h = { 12 major: 1, 13 minor: 1, 14 patch: 0 15 }; 16 if (function (a, b) { 17 var c = []; 18 return !(!a || !b) && (f.each([a, b], function (a, b) { 19 var d = []; 20 f.each(b, function (a, b) { 21 for (; b.toString().length < 5;) b = "0" + b; 22 d.push(b) 23 }), c.push(d.join("")) 24 }), parseFloat(c[0]) > parseFloat(c[1])) 25 }(h, g)) { 26 var i = "Velocity UI Pack: You need to update Velocity (velocity.js) to a newer version."; 27 throw alert(i), new Error(i) 28 } 29 e.RegisterEffect = e.RegisterUI = function (a, b) { 30 function c(a, b, c, d) { 31 var g, h = 0; 32 f.each(a.nodeType ? [a] : a, function (a, b) { 33 d && (c += a * d), g = b.parentNode; 34 var i = ["height", "paddingTop", "paddingBottom", "marginTop", "marginBottom"]; 35 "border-box" === e.CSS.getPropertyValue(b, "boxSizing").toString().toLowerCase() && (i = ["height"]), f.each(i, function (a, c) { 36 h += parseFloat(e.CSS.getPropertyValue(b, c)) 37 }) 38 }), e.animate(g, { 39 height: ("In" === b ? "+" : "-") + "=" + h 40 }, { 41 queue: !1, 42 easing: "ease-in-out", 43 duration: c * ("In" === b ? .6 : 1) 44 }) 45 } 46 return e.Redirects[a] = function (d, g, h, i, j, k, l) { 47 var m = h === i - 1, 48 n = 0; 49 l = l || b.loop, "function" == typeof b.defaultDuration ? b.defaultDuration = b.defaultDuration.call(j, j) : b.defaultDuration = parseFloat(b.defaultDuration); 50 for (var o = 0; o < b.calls.length; o++) "number" == typeof (t = b.calls[o][1]) && (n += t); 51 var p = n >= 1 ? 0 : b.calls.length ? (1 - n) / b.calls.length : 1; 52 for (o = 0; o < b.calls.length; o++) { 53 var q = b.calls[o], 54 r = q[0], 55 s = 1e3, 56 t = q[1], 57 u = q[2] || {}, 58 v = {}; 59 if (void 0 !== g.duration ? s = g.duration : void 0 !== b.defaultDuration && (s = b.defaultDuration), v.duration = s * ("number" == typeof t ? t : p), v.queue = g.queue || "", v.easing = u.easing || "ease", v.delay = parseFloat(u.delay) || 0, v.loop = !b.loop && u.loop, v._cacheValues = u._cacheValues || !0, 0 === o) { 60 if (v.delay += parseFloat(g.delay) || 0, 0 === h && (v.begin = function () { 61 g.begin && g.begin.call(j, j); 62 var b = a.match(/(In|Out)$/); 63 b && "In" === b[0] && void 0 !== r.opacity && f.each(j.nodeType ? [j] : j, function (a, b) { 64 e.CSS.setPropertyValue(b, "opacity", 0) 65 }), g.animateParentHeight && b && c(j, b[0], s + v.delay, g.stagger) 66 }), null !== g.display) 67 if (void 0 !== g.display && "none" !== g.display) v.display = g.display; 68 else if (/In$/.test(a)) { 69 var w = e.CSS.Values.getDisplayType(d); 70 v.display = "inline" === w ? "inline-block" : w 71 } 72 g.visibility && "hidden" !== g.visibility && (v.visibility = g.visibility) 73 } 74 if (o === b.calls.length - 1) { 75 var x = function () { 76 void 0 !== g.display && "none" !== g.display || !/Out$/.test(a) || f.each(j.nodeType ? [j] : j, function (a, b) { 77 e.CSS.setPropertyValue(b, "display", "none") 78 }), g.complete && g.complete.call(j, j), k && k.resolver(j || d) 79 }; 80 v.complete = function () { 81 if (l && e.Redirects[a](d, g, h, i, j, k, !0 === l || Math.max(0, l - 1)), b.reset) { 82 for (var c in b.reset) 83 if (b.reset.hasOwnProperty(c)) { 84 var f = b.reset[c]; 85 void 0 !== e.CSS.Hooks.registered[c] || "string" != typeof f && "number" != typeof f || (b.reset[c] = [b.reset[c], b.reset[c]]) 86 } var n = { 87 duration: 0, 88 queue: !1 89 }; 90 m && (n.complete = x), e.animate(d, b.reset, n) 91 } else m && x() 92 }, "hidden" === g.visibility && (v.visibility = g.visibility) 93 } 94 e.animate(d, r, v) 95 } 96 }, e 97 }, e.RegisterEffect.packagedEffects = { 98 99 "transition.slideUpIn": { 100 defaultDuration: 900, 101 calls: [[{ 102 opacity: [1, 0], 103 translateY: [0, 20], 104 translateZ: 0 105 }]] 106 }, 107 "transition.slideUpOut": { 108 defaultDuration: 900, 109 calls: [[{ 110 opacity: [0, 1], 111 translateY: -20, 112 translateZ: 0 113 }]], 114 reset: { 115 translateY: 0 116 } 117 }, 118 119 120 121 122 }; 123 for (var j in e.RegisterEffect.packagedEffects) e.RegisterEffect.packagedEffects.hasOwnProperty(j) && e.RegisterEffect(j, e.RegisterEffect.packagedEffects[j]); 124 e.RunSequence = function (a) { 125 var b = f.extend(!0, [], a); 126 b.length > 1 && (f.each(b.reverse(), function (a, c) { 127 var d = b[a + 1]; 128 if (d) { 129 var g = c.o || c.options, 130 h = d.o || d.options, 131 i = g && !1 === g.sequenceQueue ? "begin" : "complete", 132 j = h && h[i], 133 k = {}; 134 k[i] = function () { 135 var a = d.e || d.elements, 136 b = a.nodeType ? [a] : a; 137 j && j.call(b, b), e(c) 138 }, d.o ? d.o = f.extend({}, h, k) : d.options = f.extend({}, h, k) 139 } 140 }), b.reverse()), e(b[0]) 141 } 142 }(window.jQuery || window.Zepto || window, window, window ? window.document : undefined) 143});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.