Skip to content

Instantly share code, notes, and snippets.

@mvnp mvnp/Script.js
Created Jan 12, 2018

Embed
What would you like to do?
This file has been truncated, but you can view the full file.
function setCookie(a, b, c) {
var d = new Date;
d.setTime(d.getTime() + 24 * c * 60 * 60 * 1e3);
var e = "expires=" + d.toUTCString();
document.cookie = a + "=" + b + ";" + e + ";path=/"
}
function getCookie(a) {
for (var b = a + "=", c = document.cookie.split(";"), d = 0; d < c.length; d++) {
for (var e = c[d];
" " == e.charAt(0);) e = e.substring(1);
if (0 == e.indexOf(b)) return e.substring(b.length, e.length)
}
return ""
}
if (! function(a, b) {
"object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function(a) {
if (!a.document) throw new Error("jQuery requires a window with a document");
return b(a)
} : b(a)
}("undefined" != typeof window ? window : this, function(a, b) {
function c(a) {
var b = !!a && "length" in a && a.length,
c = na.type(a);
return "function" !== c && !na.isWindow(a) && ("array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a)
}
function d(a, b, c) {
if (na.isFunction(b)) return na.grep(a, function(a, d) {
return !!b.call(a, d, a) !== c
});
if (b.nodeType) return na.grep(a, function(a) {
return a === b !== c
});
if ("string" == typeof b) {
if (xa.test(b)) return na.filter(b, a, c);
b = na.filter(b, a)
}
return na.grep(a, function(a) {
return na.inArray(a, b) > -1 !== c
})
}
function e(a, b) {
do a = a[b]; while (a && 1 !== a.nodeType);
return a
}
function f(a) {
var b = {};
return na.each(a.match(Da) || [], function(a, c) {
b[c] = !0
}), b
}
function g() {
da.addEventListener ? (da.removeEventListener("DOMContentLoaded", h), a.removeEventListener("load", h)) : (da.detachEvent("onreadystatechange", h), a.detachEvent("onload", h))
}
function h() {
(da.addEventListener || "load" === a.event.type || "complete" === da.readyState) && (g(), na.ready())
}
function i(a, b, c) {
if (void 0 === c && 1 === a.nodeType) {
var d = "data-" + b.replace(Ia, "-$1").toLowerCase();
if (c = a.getAttribute(d), "string" == typeof c) {
try {
c = "true" === c || "false" !== c && ("null" === c ? null : +c + "" === c ? +c : Ha.test(c) ? na.parseJSON(c) : c)
} catch (a) {}
na.data(a, b, c)
} else c = void 0
}
return c
}
function j(a) {
var b;
for (b in a)
if (("data" !== b || !na.isEmptyObject(a[b])) && "toJSON" !== b) return !1;
return !0
}
function k(a, b, c, d) {
if (Ga(a)) {
var e, f, g = na.expando,
h = a.nodeType,
i = h ? na.cache : a,
j = h ? a[g] : a[g] && g;
if (j && i[j] && (d || i[j].data) || void 0 !== c || "string" != typeof b) return j || (j = h ? a[g] = ca.pop() || na.guid++ : g), i[j] || (i[j] = h ? {} : {
toJSON: na.noop
}), "object" != typeof b && "function" != typeof b || (d ? i[j] = na.extend(i[j], b) : i[j].data = na.extend(i[j].data, b)), f = i[j], d || (f.data || (f.data = {}), f = f.data), void 0 !== c && (f[na.camelCase(b)] = c), "string" == typeof b ? (e = f[b], null == e && (e = f[na.camelCase(b)])) : e = f, e
}
}
function l(a, b, c) {
if (Ga(a)) {
var d, e, f = a.nodeType,
g = f ? na.cache : a,
h = f ? a[na.expando] : na.expando;
if (g[h]) {
if (b && (d = c ? g[h] : g[h].data)) {
na.isArray(b) ? b = b.concat(na.map(b, na.camelCase)) : b in d ? b = [b] : (b = na.camelCase(b), b = b in d ? [b] : b.split(" ")), e = b.length;
for (; e--;) delete d[b[e]];
if (c ? !j(d) : !na.isEmptyObject(d)) return
}(c || (delete g[h].data, j(g[h]))) && (f ? na.cleanData([a], !0) : la.deleteExpando || g != g.window ? delete g[h] : g[h] = void 0)
}
}
}
function m(a, b, c, d) {
var e, f = 1,
g = 20,
h = d ? function() {
return d.cur()
} : function() {
return na.css(a, b, "")
},
i = h(),
j = c && c[3] || (na.cssNumber[b] ? "" : "px"),
k = (na.cssNumber[b] || "px" !== j && +i) && Ka.exec(na.css(a, b));
if (k && k[3] !== j) {
j = j || k[3], c = c || [], k = +i || 1;
do f = f || ".5", k /= f, na.style(a, b, k + j); while (f !== (f = h() / i) && 1 !== f && --g)
}
return c && (k = +k || +i || 0, e = c[1] ? k + (c[1] + 1) * c[2] : +c[2], d && (d.unit = j, d.start = k, d.end = e)), e
}
function n(a) {
var b = Sa.split("|"),
c = a.createDocumentFragment();
if (c.createElement)
for (; b.length;) c.createElement(b.pop());
return c
}
function o(a, b) {
var c, d, e = 0,
f = "undefined" != typeof a.getElementsByTagName ? a.getElementsByTagName(b || "*") : "undefined" != typeof a.querySelectorAll ? a.querySelectorAll(b || "*") : void 0;
if (!f)
for (f = [], c = a.childNodes || a; null != (d = c[e]); e++) !b || na.nodeName(d, b) ? f.push(d) : na.merge(f, o(d, b));
return void 0 === b || b && na.nodeName(a, b) ? na.merge([a], f) : f
}
function p(a, b) {
for (var c, d = 0; null != (c = a[d]); d++) na._data(c, "globalEval", !b || na._data(b[d], "globalEval"))
}
function q(a) {
Oa.test(a.type) && (a.defaultChecked = a.checked)
}
function r(a, b, c, d, e) {
for (var f, g, h, i, j, k, l, m = a.length, r = n(b), s = [], t = 0; m > t; t++)
if (g = a[t], g || 0 === g)
if ("object" === na.type(g)) na.merge(s, g.nodeType ? [g] : g);
else if (Ua.test(g)) {
for (i = i || r.appendChild(b.createElement("div")), j = (Pa.exec(g) || ["", ""])[1].toLowerCase(), l = Ta[j] || Ta._default, i.innerHTML = l[1] + na.htmlPrefilter(g) + l[2], f = l[0]; f--;) i = i.lastChild;
if (!la.leadingWhitespace && Ra.test(g) && s.push(b.createTextNode(Ra.exec(g)[0])), !la.tbody)
for (g = "table" !== j || Va.test(g) ? "<table>" !== l[1] || Va.test(g) ? 0 : i : i.firstChild, f = g && g.childNodes.length; f--;) na.nodeName(k = g.childNodes[f], "tbody") && !k.childNodes.length && g.removeChild(k);
for (na.merge(s, i.childNodes), i.textContent = ""; i.firstChild;) i.removeChild(i.firstChild);
i = r.lastChild
} else s.push(b.createTextNode(g));
for (i && r.removeChild(i), la.appendChecked || na.grep(o(s, "input"), q), t = 0; g = s[t++];)
if (d && na.inArray(g, d) > -1) e && e.push(g);
else if (h = na.contains(g.ownerDocument, g), i = o(r.appendChild(g), "script"), h && p(i), c)
for (f = 0; g = i[f++];) Qa.test(g.type || "") && c.push(g);
return i = null, r
}
function s() {
return !0
}
function t() {
return !1
}
function u() {
try {
return da.activeElement
} catch (a) {}
}
function v(a, b, c, d, e, f) {
var g, h;
if ("object" == typeof b) {
"string" != typeof c && (d = d || c, c = void 0);
for (h in b) v(a, h, c, d, b[h], f);
return a
}
if (null == d && null == e ? (e = c, d = c = void 0) : null == e && ("string" == typeof c ? (e = d, d = void 0) : (e = d, d = c, c = void 0)), e === !1) e = t;
else if (!e) return a;
return 1 === f && (g = e, e = function(a) {
return na().off(a), g.apply(this, arguments)
}, e.guid = g.guid || (g.guid = na.guid++)), a.each(function() {
na.event.add(this, b, e, d, c)
})
}
function w(a, b) {
return na.nodeName(a, "table") && na.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
}
function x(a) {
return a.type = (null !== na.find.attr(a, "type")) + "/" + a.type, a
}
function y(a) {
var b = eb.exec(a.type);
return b ? a.type = b[1] : a.removeAttribute("type"), a
}
function z(a, b) {
if (1 === b.nodeType && na.hasData(a)) {
var c, d, e, f = na._data(a),
g = na._data(b, f),
h = f.events;
if (h) {
delete g.handle, g.events = {};
for (c in h)
for (d = 0, e = h[c].length; e > d; d++) na.event.add(b, c, h[c][d])
}
g.data && (g.data = na.extend({}, g.data))
}
}
function A(a, b) {
var c, d, e;
if (1 === b.nodeType) {
if (c = b.nodeName.toLowerCase(), !la.noCloneEvent && b[na.expando]) {
e = na._data(b);
for (d in e.events) na.removeEvent(b, d, e.handle);
b.removeAttribute(na.expando)
}
"script" === c && b.text !== a.text ? (x(b).text = a.text, y(b)) : "object" === c ? (b.parentNode && (b.outerHTML = a.outerHTML), la.html5Clone && a.innerHTML && !na.trim(b.innerHTML) && (b.innerHTML = a.innerHTML)) : "input" === c && Oa.test(a.type) ? (b.defaultChecked = b.checked = a.checked, b.value !== a.value && (b.value = a.value)) : "option" === c ? b.defaultSelected = b.selected = a.defaultSelected : "input" !== c && "textarea" !== c || (b.defaultValue = a.defaultValue)
}
}
function B(a, b, c, d) {
b = fa.apply([], b);
var e, f, g, h, i, j, k = 0,
l = a.length,
m = l - 1,
n = b[0],
p = na.isFunction(n);
if (p || l > 1 && "string" == typeof n && !la.checkClone && db.test(n)) return a.each(function(e) {
var f = a.eq(e);
p && (b[0] = n.call(this, e, f.html())), B(f, b, c, d)
});
if (l && (j = r(b, a[0].ownerDocument, !1, a, d), e = j.firstChild, 1 === j.childNodes.length && (j = e), e || d)) {
for (h = na.map(o(j, "script"), x), g = h.length; l > k; k++) f = j, k !== m && (f = na.clone(f, !0, !0), g && na.merge(h, o(f, "script"))), c.call(a[k], f, k);
if (g)
for (i = h[h.length - 1].ownerDocument, na.map(h, y), k = 0; g > k; k++) f = h[k], Qa.test(f.type || "") && !na._data(f, "globalEval") && na.contains(i, f) && (f.src ? na._evalUrl && na._evalUrl(f.src) : na.globalEval((f.text || f.textContent || f.innerHTML || "").replace(fb, "")));
j = e = null
}
return a
}
function C(a, b, c) {
for (var d, e = b ? na.filter(b, a) : a, f = 0; null != (d = e[f]); f++) c || 1 !== d.nodeType || na.cleanData(o(d)), d.parentNode && (c && na.contains(d.ownerDocument, d) && p(o(d, "script")), d.parentNode.removeChild(d));
return a
}
function D(a, b) {
var c = na(b.createElement(a)).appendTo(b.body),
d = na.css(c[0], "display");
return c.detach(), d
}
function E(a) {
var b = da,
c = jb[a];
return c || (c = D(a, b), "none" !== c && c || (ib = (ib || na("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = (ib[0].contentWindow || ib[0].contentDocument).document, b.write(), b.close(), c = D(a, b), ib.detach()), jb[a] = c), c
}
function F(a, b) {
return {
get: function() {
return a() ? void delete this.get : (this.get = b).apply(this, arguments)
}
}
}
function G(a) {
if (a in yb) return a;
for (var b = a.charAt(0).toUpperCase() + a.slice(1), c = xb.length; c--;)
if (a = xb[c] + b, a in yb) return a
}
function H(a, b) {
for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++) d = a[g], d.style && (f[g] = na._data(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && Ma(d) && (f[g] = na._data(d, "olddisplay", E(d.nodeName)))) : (e = Ma(d), (c && "none" !== c || !e) && na._data(d, "olddisplay", e ? c : na.css(d, "display"))));
for (g = 0; h > g; g++) d = a[g], d.style && (b && "none" !== d.style.display && "" !== d.style.display || (d.style.display = b ? f[g] || "" : "none"));
return a
}
function I(a, b, c) {
var d = ub.exec(b);
return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
}
function J(a, b, c, d, e) {
for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2) "margin" === c && (g += na.css(a, c + La[f], !0, e)), d ? ("content" === c && (g -= na.css(a, "padding" + La[f], !0, e)), "margin" !== c && (g -= na.css(a, "border" + La[f] + "Width", !0, e))) : (g += na.css(a, "padding" + La[f], !0, e), "padding" !== c && (g += na.css(a, "border" + La[f] + "Width", !0, e)));
return g
}
function K(a, b, c) {
var d = !0,
e = "width" === b ? a.offsetWidth : a.offsetHeight,
f = ob(a),
g = la.boxSizing && "border-box" === na.css(a, "boxSizing", !1, f);
if (0 >= e || null == e) {
if (e = pb(a, b, f), (0 > e || null == e) && (e = a.style[b]), lb.test(e)) return e;
d = g && (la.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0
}
return e + J(a, b, c || (g ? "border" : "content"), d, f) + "px"
}
function L(a, b, c, d, e) {
return new L.prototype.init(a, b, c, d, e)
}
function M() {
return a.setTimeout(function() {
zb = void 0
}), zb = na.now()
}
function N(a, b) {
var c, d = {
height: a
},
e = 0;
for (b = b ? 1 : 0; 4 > e; e += 2 - b) c = La[e], d["margin" + c] = d["padding" + c] = a;
return b && (d.opacity = d.width = a), d
}
function O(a, b, c) {
for (var d, e = (R.tweeners[b] || []).concat(R.tweeners["*"]), f = 0, g = e.length; g > f; f++)
if (d = e[f].call(c, b, a)) return d
}
function P(a, b, c) {
var d, e, f, g, h, i, j, k, l = this,
m = {},
n = a.style,
o = a.nodeType && Ma(a),
p = na._data(a, "fxshow");
c.queue || (h = na._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function() {
h.unqueued || i()
}), h.unqueued++, l.always(function() {
l.always(function() {
h.unqueued--, na.queue(a, "fx").length || h.empty.fire()
})
})), 1 === a.nodeType && ("height" in b || "width" in b) && (c.overflow = [n.overflow, n.overflowX, n.overflowY], j = na.css(a, "display"), k = "none" === j ? na._data(a, "olddisplay") || E(a.nodeName) : j, "inline" === k && "none" === na.css(a, "float") && (la.inlineBlockNeedsLayout && "inline" !== E(a.nodeName) ? n.zoom = 1 : n.display = "inline-block")), c.overflow && (n.overflow = "hidden", la.shrinkWrapBlocks() || l.always(function() {
n.overflow = c.overflow[0], n.overflowX = c.overflow[1], n.overflowY = c.overflow[2]
}));
for (d in b)
if (e = b[d], Bb.exec(e)) {
if (delete b[d], f = f || "toggle" === e, e === (o ? "hide" : "show")) {
if ("show" !== e || !p || void 0 === p[d]) continue;
o = !0
}
m[d] = p && p[d] || na.style(a, d)
} else j = void 0;
if (na.isEmptyObject(m)) "inline" === ("none" === j ? E(a.nodeName) : j) && (n.display = j);
else {
p ? "hidden" in p && (o = p.hidden) : p = na._data(a, "fxshow", {}), f && (p.hidden = !o), o ? na(a).show() : l.done(function() {
na(a).hide()
}), l.done(function() {
var b;
na._removeData(a, "fxshow");
for (b in m) na.style(a, b, m[b])
});
for (d in m) g = O(o ? p[d] : 0, d, l), d in p || (p[d] = g.start, o && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
}
}
function Q(a, b) {
var c, d, e, f, g;
for (c in a)
if (d = na.camelCase(c), e = b[d], f = a[c], na.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = na.cssHooks[d], g && "expand" in g) {
f = g.expand(f), delete a[d];
for (c in f) c in a || (a[c] = f[c], b[c] = e)
} else b[d] = e
}
function R(a, b, c) {
var d, e, f = 0,
g = R.prefilters.length,
h = na.Deferred().always(function() {
delete i.elem
}),
i = function() {
if (e) return !1;
for (var b = zb || M(), c = Math.max(0, j.startTime + j.duration - b), d = c / j.duration || 0, f = 1 - d, g = 0, i = j.tweens.length; i > g; g++) j.tweens[g].run(f);
return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
},
j = h.promise({
elem: a,
props: na.extend({}, b),
opts: na.extend(!0, {
specialEasing: {},
easing: na.easing._default
}, c),
originalProperties: b,
originalOptions: c,
startTime: zb || M(),
duration: c.duration,
tweens: [],
createTween: function(b, c) {
var d = na.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
return j.tweens.push(d), d
},
stop: function(b) {
var c = 0,
d = b ? j.tweens.length : 0;
if (e) return this;
for (e = !0; d > c; c++) j.tweens[c].run(1);
return b ? (h.notifyWith(a, [j, 1, 0]), h.resolveWith(a, [j, b])) : h.rejectWith(a, [j, b]), this
}
}),
k = j.props;
for (Q(k, j.opts.specialEasing); g > f; f++)
if (d = R.prefilters[f].call(j, a, k, j.opts)) return na.isFunction(d.stop) && (na._queueHooks(j.elem, j.opts.queue).stop = na.proxy(d.stop, d)), d;
return na.map(k, O, j), na.isFunction(j.opts.start) && j.opts.start.call(a, j), na.fx.timer(na.extend(i, {
elem: a,
anim: j,
queue: j.opts.queue
})), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
}
function S(a) {
return na.attr(a, "class") || ""
}
function T(a) {
return function(b, c) {
"string" != typeof b && (c = b, b = "*");
var d, e = 0,
f = b.toLowerCase().match(Da) || [];
if (na.isFunction(c))
for (; d = f[e++];) "+" === d.charAt(0) ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
}
}
function U(a, b, c, d) {
function e(h) {
var i;
return f[h] = !0, na.each(a[h] || [], function(a, h) {
var j = h(b, c, d);
return "string" != typeof j || g || f[j] ? g ? !(i = j) : void 0 : (b.dataTypes.unshift(j), e(j), !1)
}), i
}
var f = {},
g = a === $b;
return e(b.dataTypes[0]) || !f["*"] && e("*")
}
function V(a, b) {
var c, d, e = na.ajaxSettings.flatOptions || {};
for (d in b) void 0 !== b[d] && ((e[d] ? a : c || (c = {}))[d] = b[d]);
return c && na.extend(!0, a, c), a
}
function W(a, b, c) {
for (var d, e, f, g, h = a.contents, i = a.dataTypes;
"*" === i[0];) i.shift(), void 0 === e && (e = a.mimeType || b.getResponseHeader("Content-Type"));
if (e)
for (g in h)
if (h[g] && h[g].test(e)) {
i.unshift(g);
break
}
if (i[0] in c) f = i[0];
else {
for (g in c) {
if (!i[0] || a.converters[g + " " + i[0]]) {
f = g;
break
}
d || (d = g)
}
f = f || d
}
return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
}
function X(a, b, c, d) {
var e, f, g, h, i, j = {},
k = a.dataTypes.slice();
if (k[1])
for (g in a.converters) j[g.toLowerCase()] = a.converters[g];
for (f = k.shift(); f;)
if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift())
if ("*" === f) f = i;
else if ("*" !== i && i !== f) {
if (g = j[i + " " + f] || j["* " + f], !g)
for (e in j)
if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
break
}
if (g !== !0)
if (g && a.throws) b = g(b);
else try {
b = g(b)
} catch (a) {
return {
state: "parsererror",
error: g ? a : "No conversion from " + i + " to " + f
}
}
}
return {
state: "success",
data: b
}
}
function Y(a) {
return a.style && a.style.display || na.css(a, "display")
}
function Z(a) {
if (!na.contains(a.ownerDocument || da, a)) return !0;
for (; a && 1 === a.nodeType;) {
if ("none" === Y(a) || "hidden" === a.type) return !0;
a = a.parentNode
}
return !1
}
function $(a, b, c, d) {
var e;
if (na.isArray(b)) na.each(b, function(b, e) {
c || dc.test(a) ? d(a, e) : $(a + "[" + ("object" == typeof e && null != e ? b : "") + "]", e, c, d)
});
else if (c || "object" !== na.type(b)) d(a, b);
else
for (e in b) $(a + "[" + e + "]", b[e], c, d)
}
function _() {
try {
return new a.XMLHttpRequest
} catch (a) {}
}
function aa() {
try {
return new a.ActiveXObject("Microsoft.XMLHTTP")
} catch (a) {}
}
function ba(a) {
return na.isWindow(a) ? a : 9 === a.nodeType && (a.defaultView || a.parentWindow)
}
var ca = [],
da = a.document,
ea = ca.slice,
fa = ca.concat,
ga = ca.push,
ha = ca.indexOf,
ia = {},
ja = ia.toString,
ka = ia.hasOwnProperty,
la = {},
ma = "1.12.4",
na = function(a, b) {
return new na.fn.init(a, b)
},
oa = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
pa = /^-ms-/,
qa = /-([\da-z])/gi,
ra = function(a, b) {
return b.toUpperCase()
};
na.fn = na.prototype = {
jquery: ma,
constructor: na,
selector: "",
length: 0,
toArray: function() {
return ea.call(this)
},
get: function(a) {
return null != a ? 0 > a ? this[a + this.length] : this[a] : ea.call(this)
},
pushStack: function(a) {
var b = na.merge(this.constructor(), a);
return b.prevObject = this, b.context = this.context, b
},
each: function(a) {
return na.each(this, a)
},
map: function(a) {
return this.pushStack(na.map(this, function(b, c) {
return a.call(b, c, b)
}))
},
slice: function() {
return this.pushStack(ea.apply(this, arguments))
},
first: function() {
return this.eq(0)
},
last: function() {
return this.eq(-1)
},
eq: function(a) {
var b = this.length,
c = +a + (0 > a ? b : 0);
return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
},
end: function() {
return this.prevObject || this.constructor()
},
push: ga,
sort: ca.sort,
splice: ca.splice
}, na.extend = na.fn.extend = function() {
var a, b, c, d, e, f, g = arguments[0] || {},
h = 1,
i = arguments.length,
j = !1;
for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || na.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++)
if (null != (e = arguments[h]))
for (d in e) a = g[d], c = e[d], g !== c && (j && c && (na.isPlainObject(c) || (b = na.isArray(c))) ? (b ? (b = !1, f = a && na.isArray(a) ? a : []) : f = a && na.isPlainObject(a) ? a : {}, g[d] = na.extend(j, f, c)) : void 0 !== c && (g[d] = c));
return g
}, na.extend({
expando: "jQuery" + (ma + Math.random()).replace(/\D/g, ""),
isReady: !0,
error: function(a) {
throw new Error(a)
},
noop: function() {},
isFunction: function(a) {
return "function" === na.type(a)
},
isArray: Array.isArray || function(a) {
return "array" === na.type(a)
},
isWindow: function(a) {
return null != a && a == a.window
},
isNumeric: function(a) {
var b = a && a.toString();
return !na.isArray(a) && b - parseFloat(b) + 1 >= 0
},
isEmptyObject: function(a) {
var b;
for (b in a) return !1;
return !0
},
isPlainObject: function(a) {
var b;
if (!a || "object" !== na.type(a) || a.nodeType || na.isWindow(a)) return !1;
try {
if (a.constructor && !ka.call(a, "constructor") && !ka.call(a.constructor.prototype, "isPrototypeOf")) return !1
} catch (a) {
return !1
}
if (!la.ownFirst)
for (b in a) return ka.call(a, b);
for (b in a);
return void 0 === b || ka.call(a, b)
},
type: function(a) {
return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? ia[ja.call(a)] || "object" : typeof a
},
globalEval: function(b) {
b && na.trim(b) && (a.execScript || function(b) {
a.eval.call(a, b)
})(b)
},
camelCase: function(a) {
return a.replace(pa, "ms-").replace(qa, ra)
},
nodeName: function(a, b) {
return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
},
each: function(a, b) {
var d, e = 0;
if (c(a))
for (d = a.length; d > e && b.call(a[e], e, a[e]) !== !1; e++);
else
for (e in a)
if (b.call(a[e], e, a[e]) === !1) break;
return a
},
trim: function(a) {
return null == a ? "" : (a + "").replace(oa, "")
},
makeArray: function(a, b) {
var d = b || [];
return null != a && (c(Object(a)) ? na.merge(d, "string" == typeof a ? [a] : a) : ga.call(d, a)), d
},
inArray: function(a, b, c) {
var d;
if (b) {
if (ha) return ha.call(b, a, c);
for (d = b.length, c = c ? 0 > c ? Math.max(0, d + c) : c : 0; d > c; c++)
if (c in b && b[c] === a) return c
}
return -1
},
merge: function(a, b) {
for (var c = +b.length, d = 0, e = a.length; c > d;) a[e++] = b[d++];
if (c !== c)
for (; void 0 !== b[d];) a[e++] = b[d++];
return a.length = e, a
},
grep: function(a, b, c) {
for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++) d = !b(a[f], f), d !== h && e.push(a[f]);
return e
},
map: function(a, b, d) {
var e, f, g = 0,
h = [];
if (c(a))
for (e = a.length; e > g; g++) f = b(a[g], g, d), null != f && h.push(f);
else
for (g in a) f = b(a[g], g, d), null != f && h.push(f);
return fa.apply([], h)
},
guid: 1,
proxy: function(a, b) {
var c, d, e;
return "string" == typeof b && (e = a[b], b = a, a = e), na.isFunction(a) ? (c = ea.call(arguments, 2), d = function() {
return a.apply(b || this, c.concat(ea.call(arguments)))
}, d.guid = a.guid = a.guid || na.guid++, d) : void 0
},
now: function() {
return +new Date
},
support: la
}), "function" == typeof Symbol && (na.fn[Symbol.iterator] = ca[Symbol.iterator]), na.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "), function(a, b) {
ia["[object " + b + "]"] = b.toLowerCase()
});
var sa = function(a) {
function b(a, b, c, d) {
var e, f, g, h, i, j, l, n, o = b && b.ownerDocument,
p = b ? b.nodeType : 9;
if (c = c || [], "string" != typeof a || !a || 1 !== p && 9 !== p && 11 !== p) return c;
if (!d && ((b ? b.ownerDocument || b : O) !== G && F(b), b = b || G, I)) {
if (11 !== p && (j = ra.exec(a)))
if (e = j[1]) {
if (9 === p) {
if (!(g = b.getElementById(e))) return c;
if (g.id === e) return c.push(g), c
} else if (o && (g = o.getElementById(e)) && M(b, g) && g.id === e) return c.push(g), c
} else {
if (j[2]) return $.apply(c, b.getElementsByTagName(a)), c;
if ((e = j[3]) && v.getElementsByClassName && b.getElementsByClassName) return $.apply(c, b.getElementsByClassName(e)), c
}
if (v.qsa && !T[a + " "] && (!J || !J.test(a))) {
if (1 !== p) o = b, n = a;
else if ("object" !== b.nodeName.toLowerCase()) {
for ((h = b.getAttribute("id")) ? h = h.replace(ta, "\\$&") : b.setAttribute("id", h = N), l = z(a), f = l.length, i = ma.test(h) ? "#" + h : "[id='" + h + "']"; f--;) l[f] = i + " " + m(l[f]);
n = l.join(","), o = sa.test(a) && k(b.parentNode) || b
}
if (n) try {
return $.apply(c, o.querySelectorAll(n)), c
} catch (a) {} finally {
h === N && b.removeAttribute("id")
}
}
}
return B(a.replace(ha, "$1"), b, c, d)
}
function c() {
function a(c, d) {
return b.push(c + " ") > w.cacheLength && delete a[b.shift()], a[c + " "] = d
}
var b = [];
return a
}
function d(a) {
return a[N] = !0, a
}
function e(a) {
var b = G.createElement("div");
try {
return !!a(b)
} catch (a) {
return !1
} finally {
b.parentNode && b.parentNode.removeChild(b), b = null
}
}
function f(a, b) {
for (var c = a.split("|"), d = c.length; d--;) w.attrHandle[c[d]] = b
}
function g(a, b) {
var c = b && a,
d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || V) - (~a.sourceIndex || V);
if (d) return d;
if (c)
for (; c = c.nextSibling;)
if (c === b) return -1;
return a ? 1 : -1
}
function h(a) {
return function(b) {
var c = b.nodeName.toLowerCase();
return "input" === c && b.type === a
}
}
function i(a) {
return function(b) {
var c = b.nodeName.toLowerCase();
return ("input" === c || "button" === c) && b.type === a
}
}
function j(a) {
return d(function(b) {
return b = +b, d(function(c, d) {
for (var e, f = a([], c.length, b), g = f.length; g--;) c[e = f[g]] && (c[e] = !(d[e] = c[e]))
})
})
}
function k(a) {
return a && "undefined" != typeof a.getElementsByTagName && a
}
function l() {}
function m(a) {
for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value;
return d
}
function n(a, b, c) {
var d = b.dir,
e = c && "parentNode" === d,
f = Q++;
return b.first ? function(b, c, f) {
for (; b = b[d];)
if (1 === b.nodeType || e) return a(b, c, f)
} : function(b, c, g) {
var h, i, j, k = [P, f];
if (g) {
for (; b = b[d];)
if ((1 === b.nodeType || e) && a(b, c, g)) return !0
} else
for (; b = b[d];)
if (1 === b.nodeType || e) {
if (j = b[N] || (b[N] = {}), i = j[b.uniqueID] || (j[b.uniqueID] = {}), (h = i[d]) && h[0] === P && h[1] === f) return k[2] = h[2];
if (i[d] = k, k[2] = a(b, c, g)) return !0
}
}
}
function o(a) {
return a.length > 1 ? function(b, c, d) {
for (var e = a.length; e--;)
if (!a[e](b, c, d)) return !1;
return !0
} : a[0]
}
function p(a, c, d) {
for (var e = 0, f = c.length; f > e; e++) b(a, c[e], d);
return d
}
function q(a, b, c, d, e) {
for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)(f = a[h]) && (c && !c(f, d, e) || (g.push(f), j && b.push(h)));
return g
}
function r(a, b, c, e, f, g) {
return e && !e[N] && (e = r(e)), f && !f[N] && (f = r(f, g)), d(function(d, g, h, i) {
var j, k, l, m = [],
n = [],
o = g.length,
r = d || p(b || "*", h.nodeType ? [h] : h, []),
s = !a || !d && b ? r : q(r, m, a, h, i),
t = c ? f || (d ? a : o || e) ? [] : g : s;
if (c && c(s, t, h, i), e)
for (j = q(t, n), e(j, [], h, i), k = j.length; k--;)(l = j[k]) && (t[n[k]] = !(s[n[k]] = l));
if (d) {
if (f || a) {
if (f) {
for (j = [], k = t.length; k--;)(l = t[k]) && j.push(s[k] = l);
f(null, t = [], j, i)
}
for (k = t.length; k--;)(l = t[k]) && (j = f ? aa(d, l) : m[k]) > -1 && (d[j] = !(g[j] = l))
}
} else t = q(t === g ? t.splice(o, t.length) : t), f ? f(null, g, t, i) : $.apply(g, t)
})
}
function s(a) {
for (var b, c, d, e = a.length, f = w.relative[a[0].type], g = f || w.relative[" "], h = f ? 1 : 0, i = n(function(a) {
return a === b
}, g, !0), j = n(function(a) {
return aa(b, a) > -1
}, g, !0), k = [function(a, c, d) {
var e = !f && (d || c !== C) || ((b = c).nodeType ? i(a, c, d) : j(a, c, d));
return b = null, e
}]; e > h; h++)
if (c = w.relative[a[h].type]) k = [n(o(k), c)];
else {
if (c = w.filter[a[h].type].apply(null, a[h].matches), c[N]) {
for (d = ++h; e > d && !w.relative[a[d].type]; d++);
return r(h > 1 && o(k), h > 1 && m(a.slice(0, h - 1).concat({
value: " " === a[h - 2].type ? "*" : ""
})).replace(ha, "$1"), c, d > h && s(a.slice(h, d)), e > d && s(a = a.slice(d)), e > d && m(a))
}
k.push(c)
}
return o(k)
}
function t(a, c) {
var e = c.length > 0,
f = a.length > 0,
g = function(d, g, h, i, j) {
var k, l, m, n = 0,
o = "0",
p = d && [],
r = [],
s = C,
t = d || f && w.find.TAG("*", j),
u = P += null == s ? 1 : Math.random() || .1,
v = t.length;
for (j && (C = g === G || g || j); o !== v && null != (k = t[o]); o++) {
if (f && k) {
for (l = 0, g || k.ownerDocument === G || (F(k), h = !I); m = a[l++];)
if (m(k, g || G, h)) {
i.push(k);
break
}
j && (P = u)
}
e && ((k = !m && k) && n--, d && p.push(k))
}
if (n += o, e && o !== n) {
for (l = 0; m = c[l++];) m(p, r, g, h);
if (d) {
if (n > 0)
for (; o--;) p[o] || r[o] || (r[o] = Y.call(i));
r = q(r)
}
$.apply(i, r), j && !d && r.length > 0 && n + c.length > 1 && b.uniqueSort(i)
}
return j && (P = u, C = s), p
};
return e ? d(g) : g
}
var u, v, w, x, y, z, A, B, C, D, E, F, G, H, I, J, K, L, M, N = "sizzle" + 1 * new Date,
O = a.document,
P = 0,
Q = 0,
R = c(),
S = c(),
T = c(),
U = function(a, b) {
return a === b && (E = !0), 0
},
V = 1 << 31,
W = {}.hasOwnProperty,
X = [],
Y = X.pop,
Z = X.push,
$ = X.push,
_ = X.slice,
aa = function(a, b) {
for (var c = 0, d = a.length; d > c; c++)
if (a[c] === b) return c;
return -1
},
ba = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
ca = "[\\x20\\t\\r\\n\\f]",
da = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
ea = "\\[" + ca + "*(" + da + ")(?:" + ca + "*([*^$|!~]?=)" + ca + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + da + "))|)" + ca + "*\\]",
fa = ":(" + da + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + ea + ")*)|.*)\\)|)",
ga = new RegExp(ca + "+", "g"),
ha = new RegExp("^" + ca + "+|((?:^|[^\\\\])(?:\\\\.)*)" + ca + "+$", "g"),
ia = new RegExp("^" + ca + "*," + ca + "*"),
ja = new RegExp("^" + ca + "*([>+~]|" + ca + ")" + ca + "*"),
ka = new RegExp("=" + ca + "*([^\\]'\"]*?)" + ca + "*\\]", "g"),
la = new RegExp(fa),
ma = new RegExp("^" + da + "$"),
na = {
ID: new RegExp("^#(" + da + ")"),
CLASS: new RegExp("^\\.(" + da + ")"),
TAG: new RegExp("^(" + da + "|[*])"),
ATTR: new RegExp("^" + ea),
PSEUDO: new RegExp("^" + fa),
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + ca + "*(even|odd|(([+-]|)(\\d*)n|)" + ca + "*(?:([+-]|)" + ca + "*(\\d+)|))" + ca + "*\\)|)", "i"),
bool: new RegExp("^(?:" + ba + ")$", "i"),
needsContext: new RegExp("^" + ca + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + ca + "*((?:-\\d)?\\d*)" + ca + "*\\)|)(?=[^-]|$)", "i")
},
oa = /^(?:input|select|textarea|button)$/i,
pa = /^h\d$/i,
qa = /^[^{]+\{\s*\[native \w/,
ra = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
sa = /[+~]/,
ta = /'|\\/g,
ua = new RegExp("\\\\([\\da-f]{1,6}" + ca + "?|(" + ca + ")|.)", "ig"),
va = function(a, b, c) {
var d = "0x" + b - 65536;
return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
},
wa = function() {
F()
};
try {
$.apply(X = _.call(O.childNodes), O.childNodes), X[O.childNodes.length].nodeType
} catch (a) {
$ = {
apply: X.length ? function(a, b) {
Z.apply(a, _.call(b))
} : function(a, b) {
for (var c = a.length, d = 0; a[c++] = b[d++];);
a.length = c - 1
}
}
}
v = b.support = {}, y = b.isXML = function(a) {
var b = a && (a.ownerDocument || a).documentElement;
return !!b && "HTML" !== b.nodeName
}, F = b.setDocument = function(a) {
var b, c, d = a ? a.ownerDocument || a : O;
return d !== G && 9 === d.nodeType && d.documentElement ? (G = d, H = G.documentElement, I = !y(G), (c = G.defaultView) && c.top !== c && (c.addEventListener ? c.addEventListener("unload", wa, !1) : c.attachEvent && c.attachEvent("onunload", wa)), v.attributes = e(function(a) {
return a.className = "i", !a.getAttribute("className")
}), v.getElementsByTagName = e(function(a) {
return a.appendChild(G.createComment("")), !a.getElementsByTagName("*").length
}), v.getElementsByClassName = qa.test(G.getElementsByClassName), v.getById = e(function(a) {
return H.appendChild(a).id = N, !G.getElementsByName || !G.getElementsByName(N).length
}), v.getById ? (w.find.ID = function(a, b) {
if ("undefined" != typeof b.getElementById && I) {
var c = b.getElementById(a);
return c ? [c] : []
}
}, w.filter.ID = function(a) {
var b = a.replace(ua, va);
return function(a) {
return a.getAttribute("id") === b
}
}) : (delete w.find.ID, w.filter.ID = function(a) {
var b = a.replace(ua, va);
return function(a) {
var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
return c && c.value === b
}
}), w.find.TAG = v.getElementsByTagName ? function(a, b) {
return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : v.qsa ? b.querySelectorAll(a) : void 0
} : function(a, b) {
var c, d = [],
e = 0,
f = b.getElementsByTagName(a);
if ("*" === a) {
for (; c = f[e++];) 1 === c.nodeType && d.push(c);
return d
}
return f
}, w.find.CLASS = v.getElementsByClassName && function(a, b) {
return "undefined" != typeof b.getElementsByClassName && I ? b.getElementsByClassName(a) : void 0
}, K = [], J = [], (v.qsa = qa.test(G.querySelectorAll)) && (e(function(a) {
H.appendChild(a).innerHTML = "<a id='" + N + "'></a><select id='" + N + "-\r\\' msallowcapture=''><option selected=''></option></select>", a.querySelectorAll("[msallowcapture^='']").length && J.push("[*^$]=" + ca + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || J.push("\\[" + ca + "*(?:value|" + ba + ")"), a.querySelectorAll("[id~=" + N + "-]").length || J.push("~="), a.querySelectorAll(":checked").length || J.push(":checked"), a.querySelectorAll("a#" + N + "+*").length || J.push(".#.+[+~]")
}), e(function(a) {
var b = G.createElement("input");
b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && J.push("name" + ca + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || J.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), J.push(",.*:")
})), (v.matchesSelector = qa.test(L = H.matches || H.webkitMatchesSelector || H.mozMatchesSelector || H.oMatchesSelector || H.msMatchesSelector)) && e(function(a) {
v.disconnectedMatch = L.call(a, "div"), L.call(a, "[s!='']:x"), K.push("!=", fa)
}), J = J.length && new RegExp(J.join("|")), K = K.length && new RegExp(K.join("|")), b = qa.test(H.compareDocumentPosition), M = b || qa.test(H.contains) ? function(a, b) {
var c = 9 === a.nodeType ? a.documentElement : a,
d = b && b.parentNode;
return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
} : function(a, b) {
if (b)
for (; b = b.parentNode;)
if (b === a) return !0;
return !1
}, U = b ? function(a, b) {
if (a === b) return E = !0, 0;
var c = !a.compareDocumentPosition - !b.compareDocumentPosition;
return c ? c : (c = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & c || !v.sortDetached && b.compareDocumentPosition(a) === c ? a === G || a.ownerDocument === O && M(O, a) ? -1 : b === G || b.ownerDocument === O && M(O, b) ? 1 : D ? aa(D, a) - aa(D, b) : 0 : 4 & c ? -1 : 1)
} : function(a, b) {
if (a === b) return E = !0, 0;
var c, d = 0,
e = a.parentNode,
f = b.parentNode,
h = [a],
i = [b];
if (!e || !f) return a === G ? -1 : b === G ? 1 : e ? -1 : f ? 1 : D ? aa(D, a) - aa(D, b) : 0;
if (e === f) return g(a, b);
for (c = a; c = c.parentNode;) h.unshift(c);
for (c = b; c = c.parentNode;) i.unshift(c);
for (; h[d] === i[d];) d++;
return d ? g(h[d], i[d]) : h[d] === O ? -1 : i[d] === O ? 1 : 0
}, G) : G
}, b.matches = function(a, c) {
return b(a, null, null, c)
}, b.matchesSelector = function(a, c) {
if ((a.ownerDocument || a) !== G && F(a), c = c.replace(ka, "='$1']"), v.matchesSelector && I && !T[c + " "] && (!K || !K.test(c)) && (!J || !J.test(c))) try {
var d = L.call(a, c);
if (d || v.disconnectedMatch || a.document && 11 !== a.document.nodeType) return d
} catch (a) {}
return b(c, G, null, [a]).length > 0
}, b.contains = function(a, b) {
return (a.ownerDocument || a) !== G && F(a), M(a, b)
}, b.attr = function(a, b) {
(a.ownerDocument || a) !== G && F(a);
var c = w.attrHandle[b.toLowerCase()],
d = c && W.call(w.attrHandle, b.toLowerCase()) ? c(a, b, !I) : void 0;
return void 0 !== d ? d : v.attributes || !I ? a.getAttribute(b) : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
}, b.error = function(a) {
throw new Error("Syntax error, unrecognized expression: " + a)
}, b.uniqueSort = function(a) {
var b, c = [],
d = 0,
e = 0;
if (E = !v.detectDuplicates, D = !v.sortStable && a.slice(0), a.sort(U), E) {
for (; b = a[e++];) b === a[e] && (d = c.push(e));
for (; d--;) a.splice(c[d], 1)
}
return D = null, a
}, x = b.getText = function(a) {
var b, c = "",
d = 0,
e = a.nodeType;
if (e) {
if (1 === e || 9 === e || 11 === e) {
if ("string" == typeof a.textContent) return a.textContent;
for (a = a.firstChild; a; a = a.nextSibling) c += x(a)
} else if (3 === e || 4 === e) return a.nodeValue
} else
for (; b = a[d++];) c += x(b);
return c
}, w = b.selectors = {
cacheLength: 50,
createPseudo: d,
match: na,
attrHandle: {},
find: {},
relative: {
">": {
dir: "parentNode",
first: !0
},
" ": {
dir: "parentNode"
},
"+": {
dir: "previousSibling",
first: !0
},
"~": {
dir: "previousSibling"
}
},
preFilter: {
ATTR: function(a) {
return a[1] = a[1].replace(ua, va), a[3] = (a[3] || a[4] || a[5] || "").replace(ua, va), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
},
CHILD: function(a) {
return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || b.error(a[0]), a[4] = +(a[4] ? a[5] + (a[6] || 1) : 2 * ("even" === a[3] || "odd" === a[3])), a[5] = +(a[7] + a[8] || "odd" === a[3])) : a[3] && b.error(a[0]), a
},
PSEUDO: function(a) {
var b, c = !a[6] && a[2];
return na.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && la.test(c) && (b = z(c, !0)) && (b = c.indexOf(")", c.length - b) - c.length) && (a[0] = a[0].slice(0, b), a[2] = c.slice(0, b)), a.slice(0, 3))
}
},
filter: {
TAG: function(a) {
var b = a.replace(ua, va).toLowerCase();
return "*" === a ? function() {
return !0
} : function(a) {
return a.nodeName && a.nodeName.toLowerCase() === b
}
},
CLASS: function(a) {
var b = R[a + " "];
return b || (b = new RegExp("(^|" + ca + ")" + a + "(" + ca + "|$)")) && R(a, function(a) {
return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
})
},
ATTR: function(a, c, d) {
return function(e) {
var f = b.attr(e, a);
return null == f ? "!=" === c : !c || (f += "", "=" === c ? f === d : "!=" === c ? f !== d : "^=" === c ? d && 0 === f.indexOf(d) : "*=" === c ? d && f.indexOf(d) > -1 : "$=" === c ? d && f.slice(-d.length) === d : "~=" === c ? (" " + f.replace(ga, " ") + " ").indexOf(d) > -1 : "|=" === c && (f === d || f.slice(0, d.length + 1) === d + "-"))
}
},
CHILD: function(a, b, c, d, e) {
var f = "nth" !== a.slice(0, 3),
g = "last" !== a.slice(-4),
h = "of-type" === b;
return 1 === d && 0 === e ? function(a) {
return !!a.parentNode
} : function(b, c, i) {
var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling",
q = b.parentNode,
r = h && b.nodeName.toLowerCase(),
s = !i && !h,
t = !1;
if (q) {
if (f) {
for (; p;) {
for (m = b; m = m[p];)
if (h ? m.nodeName.toLowerCase() === r : 1 === m.nodeType) return !1;
o = p = "only" === a && !o && "nextSibling"
}
return !0
}
if (o = [g ? q.firstChild : q.lastChild], g && s) {
for (m = q, l = m[N] || (m[N] = {}), k = l[m.uniqueID] || (l[m.uniqueID] = {}), j = k[a] || [], n = j[0] === P && j[1], t = n && j[2], m = n && q.childNodes[n]; m = ++n && m && m[p] || (t = n = 0) || o.pop();)
if (1 === m.nodeType && ++t && m === b) {
k[a] = [P, n, t];
break
}
} else if (s && (m = b, l = m[N] || (m[N] = {}), k = l[m.uniqueID] || (l[m.uniqueID] = {}), j = k[a] || [], n = j[0] === P && j[1], t = n), t === !1)
for (;
(m = ++n && m && m[p] || (t = n = 0) || o.pop()) && ((h ? m.nodeName.toLowerCase() !== r : 1 !== m.nodeType) || !++t || (s && (l = m[N] || (m[N] = {}), k = l[m.uniqueID] || (l[m.uniqueID] = {}), k[a] = [P, t]), m !== b)););
return t -= e, t === d || t % d === 0 && t / d >= 0
}
}
},
PSEUDO: function(a, c) {
var e, f = w.pseudos[a] || w.setFilters[a.toLowerCase()] || b.error("unsupported pseudo: " + a);
return f[N] ? f(c) : f.length > 1 ? (e = [a, a, "", c], w.setFilters.hasOwnProperty(a.toLowerCase()) ? d(function(a, b) {
for (var d, e = f(a, c), g = e.length; g--;) d = aa(a, e[g]), a[d] = !(b[d] = e[g])
}) : function(a) {
return f(a, 0, e)
}) : f
}
},
pseudos: {
not: d(function(a) {
var b = [],
c = [],
e = A(a.replace(ha, "$1"));
return e[N] ? d(function(a, b, c, d) {
for (var f, g = e(a, null, d, []), h = a.length; h--;)(f = g[h]) && (a[h] = !(b[h] = f))
}) : function(a, d, f) {
return b[0] = a, e(b, null, f, c), b[0] = null, !c.pop()
}
}),
has: d(function(a) {
return function(c) {
return b(a, c).length > 0
}
}),
contains: d(function(a) {
return a = a.replace(ua, va),
function(b) {
return (b.textContent || b.innerText || x(b)).indexOf(a) > -1
}
}),
lang: d(function(a) {
return ma.test(a || "") || b.error("unsupported lang: " + a), a = a.replace(ua, va).toLowerCase(),
function(b) {
var c;
do
if (c = I ? b.lang : b.getAttribute("xml:lang") || b.getAttribute("lang")) return c = c.toLowerCase(), c === a || 0 === c.indexOf(a + "-"); while ((b = b.parentNode) && 1 === b.nodeType);
return !1
}
}),
target: function(b) {
var c = a.location && a.location.hash;
return c && c.slice(1) === b.id
},
root: function(a) {
return a === H
},
focus: function(a) {
return a === G.activeElement && (!G.hasFocus || G.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
},
enabled: function(a) {
return a.disabled === !1
},
disabled: function(a) {
return a.disabled === !0
},
checked: function(a) {
var b = a.nodeName.toLowerCase();
return "input" === b && !!a.checked || "option" === b && !!a.selected
},
selected: function(a) {
return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
},
empty: function(a) {
for (a = a.firstChild; a; a = a.nextSibling)
if (a.nodeType < 6) return !1;
return !0
},
parent: function(a) {
return !w.pseudos.empty(a)
},
header: function(a) {
return pa.test(a.nodeName)
},
input: function(a) {
return oa.test(a.nodeName)
},
button: function(a) {
var b = a.nodeName.toLowerCase();
return "input" === b && "button" === a.type || "button" === b
},
text: function(a) {
var b;
return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
},
first: j(function() {
return [0]
}),
last: j(function(a, b) {
return [b - 1]
}),
eq: j(function(a, b, c) {
return [0 > c ? c + b : c]
}),
even: j(function(a, b) {
for (var c = 0; b > c; c += 2) a.push(c);
return a
}),
odd: j(function(a, b) {
for (var c = 1; b > c; c += 2) a.push(c);
return a
}),
lt: j(function(a, b, c) {
for (var d = 0 > c ? c + b : c; --d >= 0;) a.push(d);
return a
}),
gt: j(function(a, b, c) {
for (var d = 0 > c ? c + b : c; ++d < b;) a.push(d);
return a
})
}
}, w.pseudos.nth = w.pseudos.eq;
for (u in {
radio: !0,
checkbox: !0,
file: !0,
password: !0,
image: !0
}) w.pseudos[u] = h(u);
for (u in {
submit: !0,
reset: !0
}) w.pseudos[u] = i(u);
return l.prototype = w.filters = w.pseudos, w.setFilters = new l, z = b.tokenize = function(a, c) {
var d, e, f, g, h, i, j, k = S[a + " "];
if (k) return c ? 0 : k.slice(0);
for (h = a, i = [], j = w.preFilter; h;) {
d && !(e = ia.exec(h)) || (e && (h = h.slice(e[0].length) || h), i.push(f = [])), d = !1, (e = ja.exec(h)) && (d = e.shift(), f.push({
value: d,
type: e[0].replace(ha, " ")
}), h = h.slice(d.length));
for (g in w.filter) !(e = na[g].exec(h)) || j[g] && !(e = j[g](e)) || (d = e.shift(), f.push({
value: d,
type: g,
matches: e
}), h = h.slice(d.length));
if (!d) break
}
return c ? h.length : h ? b.error(a) : S(a, i).slice(0)
}, A = b.compile = function(a, b) {
var c, d = [],
e = [],
f = T[a + " "];
if (!f) {
for (b || (b = z(a)), c = b.length; c--;) f = s(b[c]), f[N] ? d.push(f) : e.push(f);
f = T(a, t(e, d)), f.selector = a
}
return f
}, B = b.select = function(a, b, c, d) {
var e, f, g, h, i, j = "function" == typeof a && a,
l = !d && z(a = j.selector || a);
if (c = c || [], 1 === l.length) {
if (f = l[0] = l[0].slice(0), f.length > 2 && "ID" === (g = f[0]).type && v.getById && 9 === b.nodeType && I && w.relative[f[1].type]) {
if (b = (w.find.ID(g.matches[0].replace(ua, va), b) || [])[0], !b) return c;
j && (b = b.parentNode), a = a.slice(f.shift().value.length)
}
for (e = na.needsContext.test(a) ? 0 : f.length; e-- && (g = f[e], !w.relative[h = g.type]);)
if ((i = w.find[h]) && (d = i(g.matches[0].replace(ua, va), sa.test(f[0].type) && k(b.parentNode) || b))) {
if (f.splice(e, 1), a = d.length && m(f), !a) return $.apply(c, d), c;
break
}
}
return (j || A(a, l))(d, b, !I, c, !b || sa.test(a) && k(b.parentNode) || b), c
}, v.sortStable = N.split("").sort(U).join("") === N, v.detectDuplicates = !!E, F(), v.sortDetached = e(function(a) {
return 1 & a.compareDocumentPosition(G.createElement("div"))
}), e(function(a) {
return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
}) || f("type|href|height|width", function(a, b, c) {
return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
}), v.attributes && e(function(a) {
return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
}) || f("value", function(a, b, c) {
return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
}), e(function(a) {
return null == a.getAttribute("disabled")
}) || f(ba, function(a, b, c) {
var d;
return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
}), b
}(a);
na.find = sa, na.expr = sa.selectors, na.expr[":"] = na.expr.pseudos, na.uniqueSort = na.unique = sa.uniqueSort, na.text = sa.getText, na.isXMLDoc = sa.isXML, na.contains = sa.contains;
var ta = function(a, b, c) {
for (var d = [], e = void 0 !== c;
(a = a[b]) && 9 !== a.nodeType;)
if (1 === a.nodeType) {
if (e && na(a).is(c)) break;
d.push(a)
}
return d
},
ua = function(a, b) {
for (var c = []; a; a = a.nextSibling) 1 === a.nodeType && a !== b && c.push(a);
return c
},
va = na.expr.match.needsContext,
wa = /^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,
xa = /^.[^:#\[\.,]*$/;
na.filter = function(a, b, c) {
var d = b[0];
return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? na.find.matchesSelector(d, a) ? [d] : [] : na.find.matches(a, na.grep(b, function(a) {
return 1 === a.nodeType
}))
}, na.fn.extend({
find: function(a) {
var b, c = [],
d = this,
e = d.length;
if ("string" != typeof a) return this.pushStack(na(a).filter(function() {
for (b = 0; e > b; b++)
if (na.contains(d[b], this)) return !0
}));
for (b = 0; e > b; b++) na.find(a, d[b], c);
return c = this.pushStack(e > 1 ? na.unique(c) : c), c.selector = this.selector ? this.selector + " " + a : a, c
},
filter: function(a) {
return this.pushStack(d(this, a || [], !1))
},
not: function(a) {
return this.pushStack(d(this, a || [], !0))
},
is: function(a) {
return !!d(this, "string" == typeof a && va.test(a) ? na(a) : a || [], !1).length
}
});
var ya, za = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
Aa = na.fn.init = function(a, b, c) {
var d, e;
if (!a) return this;
if (c = c || ya, "string" == typeof a) {
if (d = "<" === a.charAt(0) && ">" === a.charAt(a.length - 1) && a.length >= 3 ? [null, a, null] : za.exec(a), !d || !d[1] && b) return !b || b.jquery ? (b || c).find(a) : this.constructor(b).find(a);
if (d[1]) {
if (b = b instanceof na ? b[0] : b, na.merge(this, na.parseHTML(d[1], b && b.nodeType ? b.ownerDocument || b : da, !0)), wa.test(d[1]) && na.isPlainObject(b))
for (d in b) na.isFunction(this[d]) ? this[d](b[d]) : this.attr(d, b[d]);
return this
}
if (e = da.getElementById(d[2]), e && e.parentNode) {
if (e.id !== d[2]) return ya.find(a);
this.length = 1, this[0] = e
}
return this.context = da, this.selector = a, this
}
return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : na.isFunction(a) ? "undefined" != typeof c.ready ? c.ready(a) : a(na) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), na.makeArray(a, this))
};
Aa.prototype = na.fn, ya = na(da);
var Ba = /^(?:parents|prev(?:Until|All))/,
Ca = {
children: !0,
contents: !0,
next: !0,
prev: !0
};
na.fn.extend({
has: function(a) {
var b, c = na(a, this),
d = c.length;
return this.filter(function() {
for (b = 0; d > b; b++)
if (na.contains(this, c[b])) return !0
})
},
closest: function(a, b) {
for (var c, d = 0, e = this.length, f = [], g = va.test(a) || "string" != typeof a ? na(a, b || this.context) : 0; e > d; d++)
for (c = this[d]; c && c !== b; c = c.parentNode)
if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && na.find.matchesSelector(c, a))) {
f.push(c);
break
}
return this.pushStack(f.length > 1 ? na.uniqueSort(f) : f)
},
index: function(a) {
return a ? "string" == typeof a ? na.inArray(this[0], na(a)) : na.inArray(a.jquery ? a[0] : a, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
},
add: function(a, b) {
return this.pushStack(na.uniqueSort(na.merge(this.get(), na(a, b))))
},
addBack: function(a) {
return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
}
}), na.each({
parent: function(a) {
var b = a.parentNode;
return b && 11 !== b.nodeType ? b : null
},
parents: function(a) {
return ta(a, "parentNode")
},
parentsUntil: function(a, b, c) {
return ta(a, "parentNode", c)
},
next: function(a) {
return e(a, "nextSibling")
},
prev: function(a) {
return e(a, "previousSibling")
},
nextAll: function(a) {
return ta(a, "nextSibling")
},
prevAll: function(a) {
return ta(a, "previousSibling")
},
nextUntil: function(a, b, c) {
return ta(a, "nextSibling", c)
},
prevUntil: function(a, b, c) {
return ta(a, "previousSibling", c)
},
siblings: function(a) {
return ua((a.parentNode || {}).firstChild, a)
},
children: function(a) {
return ua(a.firstChild)
},
contents: function(a) {
return na.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : na.merge([], a.childNodes)
}
}, function(a, b) {
na.fn[a] = function(c, d) {
var e = na.map(this, b, c);
return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = na.filter(d, e)), this.length > 1 && (Ca[a] || (e = na.uniqueSort(e)), Ba.test(a) && (e = e.reverse())), this.pushStack(e)
}
});
var Da = /\S+/g;
na.Callbacks = function(a) {
a = "string" == typeof a ? f(a) : na.extend({}, a);
var b, c, d, e, g = [],
h = [],
i = -1,
j = function() {
for (e = a.once, d = b = !0; h.length; i = -1)
for (c = h.shift(); ++i < g.length;) g[i].apply(c[0], c[1]) === !1 && a.stopOnFalse && (i = g.length, c = !1);
a.memory || (c = !1), b = !1, e && (g = c ? [] : "")
},
k = {
add: function() {
return g && (c && !b && (i = g.length - 1, h.push(c)), function b(c) {
na.each(c, function(c, d) {
na.isFunction(d) ? a.unique && k.has(d) || g.push(d) : d && d.length && "string" !== na.type(d) && b(d)
})
}(arguments), c && !b && j()), this
},
remove: function() {
return na.each(arguments, function(a, b) {
for (var c;
(c = na.inArray(b, g, c)) > -1;) g.splice(c, 1), i >= c && i--
}), this
},
has: function(a) {
return a ? na.inArray(a, g) > -1 : g.length > 0
},
empty: function() {
return g && (g = []), this
},
disable: function() {
return e = h = [], g = c = "", this
},
disabled: function() {
return !g
},
lock: function() {
return e = !0, c || k.disable(), this
},
locked: function() {
return !!e
},
fireWith: function(a, c) {
return e || (c = c || [], c = [a, c.slice ? c.slice() : c], h.push(c), b || j()), this
},
fire: function() {
return k.fireWith(this, arguments), this
},
fired: function() {
return !!d
}
};
return k
}, na.extend({
Deferred: function(a) {
var b = [
["resolve", "done", na.Callbacks("once memory"), "resolved"],
["reject", "fail", na.Callbacks("once memory"), "rejected"],
["notify", "progress", na.Callbacks("memory")]
],
c = "pending",
d = {
state: function() {
return c
},
always: function() {
return e.done(arguments).fail(arguments), this
},
then: function() {
var a = arguments;
return na.Deferred(function(c) {
na.each(b, function(b, f) {
var g = na.isFunction(a[b]) && a[b];
e[f[1]](function() {
var a = g && g.apply(this, arguments);
a && na.isFunction(a.promise) ? a.promise().progress(c.notify).done(c.resolve).fail(c.reject) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
})
}), a = null
}).promise()
},
promise: function(a) {
return null != a ? na.extend(a, d) : d
}
},
e = {};
return d.pipe = d.then, na.each(b, function(a, f) {
var g = f[2],
h = f[3];
d[f[1]] = g.add, h && g.add(function() {
c = h
}, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function() {
return e[f[0] + "With"](this === e ? d : this, arguments), this
}, e[f[0] + "With"] = g.fireWith
}), d.promise(e), a && a.call(e, e), e
},
when: function(a) {
var b, c, d, e = 0,
f = ea.call(arguments),
g = f.length,
h = 1 !== g || a && na.isFunction(a.promise) ? g : 0,
i = 1 === h ? a : na.Deferred(),
j = function(a, c, d) {
return function(e) {
c[a] = this, d[a] = arguments.length > 1 ? ea.call(arguments) : e, d === b ? i.notifyWith(c, d) : --h || i.resolveWith(c, d)
}
};
if (g > 1)
for (b = new Array(g), c = new Array(g), d = new Array(g); g > e; e++) f[e] && na.isFunction(f[e].promise) ? f[e].promise().progress(j(e, c, b)).done(j(e, d, f)).fail(i.reject) : --h;
return h || i.resolveWith(d, f), i.promise()
}
});
var Ea;
na.fn.ready = function(a) {
return na.ready.promise().done(a), this
}, na.extend({
isReady: !1,
readyWait: 1,
holdReady: function(a) {
a ? na.readyWait++ : na.ready(!0)
},
ready: function(a) {
(a === !0 ? --na.readyWait : na.isReady) || (na.isReady = !0, a !== !0 && --na.readyWait > 0 || (Ea.resolveWith(da, [na]), na.fn.triggerHandler && (na(da).triggerHandler("ready"), na(da).off("ready"))))
}
}), na.ready.promise = function(b) {
if (!Ea)
if (Ea = na.Deferred(), "complete" === da.readyState || "loading" !== da.readyState && !da.documentElement.doScroll) a.setTimeout(na.ready);
else if (da.addEventListener) da.addEventListener("DOMContentLoaded", h), a.addEventListener("load", h);
else {
da.attachEvent("onreadystatechange", h), a.attachEvent("onload", h);
var c = !1;
try {
c = null == a.frameElement && da.documentElement
} catch (a) {}
c && c.doScroll && ! function b() {
if (!na.isReady) {
try {
c.doScroll("left")
} catch (c) {
return a.setTimeout(b, 50)
}
g(), na.ready()
}
}()
}
return Ea.promise(b)
}, na.ready.promise();
var Fa;
for (Fa in na(la)) break;
la.ownFirst = "0" === Fa, la.inlineBlockNeedsLayout = !1, na(function() {
var a, b, c, d;
c = da.getElementsByTagName("body")[0], c && c.style && (b = da.createElement("div"), d = da.createElement("div"), d.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", c.appendChild(d).appendChild(b), "undefined" != typeof b.style.zoom && (b.style.cssText = "display:inline;margin:0;border:0;padding:1px;width:1px;zoom:1", la.inlineBlockNeedsLayout = a = 3 === b.offsetWidth, a && (c.style.zoom = 1)), c.removeChild(d))
}),
function() {
var a = da.createElement("div");
la.deleteExpando = !0;
try {
delete a.test
} catch (a) {
la.deleteExpando = !1
}
a = null
}();
var Ga = function(a) {
var b = na.noData[(a.nodeName + " ").toLowerCase()],
c = +a.nodeType || 1;
return (1 === c || 9 === c) && (!b || b !== !0 && a.getAttribute("classid") === b)
},
Ha = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
Ia = /([A-Z])/g;
na.extend({
cache: {},
noData: {
"applet ": !0,
"embed ": !0,
"object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
},
hasData: function(a) {
return a = a.nodeType ? na.cache[a[na.expando]] : a[na.expando], !!a && !j(a)
},
data: function(a, b, c) {
return k(a, b, c)
},
removeData: function(a, b) {
return l(a, b)
},
_data: function(a, b, c) {
return k(a, b, c, !0)
},
_removeData: function(a, b) {
return l(a, b, !0)
}
}), na.fn.extend({
data: function(a, b) {
var c, d, e, f = this[0],
g = f && f.attributes;
if (void 0 === a) {
if (this.length && (e = na.data(f), 1 === f.nodeType && !na._data(f, "parsedAttrs"))) {
for (c = g.length; c--;) g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = na.camelCase(d.slice(5)), i(f, d, e[d])));
na._data(f, "parsedAttrs", !0)
}
return e
}
return "object" == typeof a ? this.each(function() {
na.data(this, a)
}) : arguments.length > 1 ? this.each(function() {
na.data(this, a, b)
}) : f ? i(f, a, na.data(f, a)) : void 0
},
removeData: function(a) {
return this.each(function() {
na.removeData(this, a)
})
}
}), na.extend({
queue: function(a, b, c) {
var d;
return a ? (b = (b || "fx") + "queue", d = na._data(a, b), c && (!d || na.isArray(c) ? d = na._data(a, b, na.makeArray(c)) : d.push(c)), d || []) : void 0
},
dequeue: function(a, b) {
b = b || "fx";
var c = na.queue(a, b),
d = c.length,
e = c.shift(),
f = na._queueHooks(a, b),
g = function() {
na.dequeue(a, b)
};
"inprogress" === e && (e = c.shift(), d--), e && ("fx" === b && c.unshift("inprogress"), delete f.stop, e.call(a, g, f)), !d && f && f.empty.fire()
},
_queueHooks: function(a, b) {
var c = b + "queueHooks";
return na._data(a, c) || na._data(a, c, {
empty: na.Callbacks("once memory").add(function() {
na._removeData(a, b + "queue"), na._removeData(a, c)
})
})
}
}), na.fn.extend({
queue: function(a, b) {
var c = 2;
return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? na.queue(this[0], a) : void 0 === b ? this : this.each(function() {
var c = na.queue(this, a, b);
na._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && na.dequeue(this, a)
})
},
dequeue: function(a) {
return this.each(function() {
na.dequeue(this, a)
})
},
clearQueue: function(a) {
return this.queue(a || "fx", [])
},
promise: function(a, b) {
var c, d = 1,
e = na.Deferred(),
f = this,
g = this.length,
h = function() {
--d || e.resolveWith(f, [f])
};
for ("string" != typeof a && (b = a, a = void 0), a = a || "fx"; g--;) c = na._data(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h));
return h(), e.promise(b)
}
}),
function() {
var a;
la.shrinkWrapBlocks = function() {
if (null != a) return a;
a = !1;
var b, c, d;
return c = da.getElementsByTagName("body")[0], c && c.style ? (b = da.createElement("div"), d = da.createElement("div"), d.style.cssText = "position:absolute;border:0;width:0;height:0;top:0;left:-9999px", c.appendChild(d).appendChild(b), "undefined" != typeof b.style.zoom && (b.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:1px;width:1px;zoom:1", b.appendChild(da.createElement("div")).style.width = "5px", a = 3 !== b.offsetWidth), c.removeChild(d), a) : void 0
}
}();
var Ja = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
Ka = new RegExp("^(?:([+-])=|)(" + Ja + ")([a-z%]*)$", "i"),
La = ["Top", "Right", "Bottom", "Left"],
Ma = function(a, b) {
return a = b || a, "none" === na.css(a, "display") || !na.contains(a.ownerDocument, a)
},
Na = function(a, b, c, d, e, f, g) {
var h = 0,
i = a.length,
j = null == c;
if ("object" === na.type(c)) {
e = !0;
for (h in c) Na(a, b, h, c[h], !0, f, g)
} else if (void 0 !== d && (e = !0, na.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function(a, b, c) {
return j.call(na(a), c)
})), b))
for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
},
Oa = /^(?:checkbox|radio)$/i,
Pa = /<([\w:-]+)/,
Qa = /^$|\/(?:java|ecma)script/i,
Ra = /^\s+/,
Sa = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|dialog|figcaption|figure|footer|header|hgroup|main|mark|meter|nav|output|picture|progress|section|summary|template|time|video";
! function() {
var a = da.createElement("div"),
b = da.createDocumentFragment(),
c = da.createElement("input");
a.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", la.leadingWhitespace = 3 === a.firstChild.nodeType, la.tbody = !a.getElementsByTagName("tbody").length, la.htmlSerialize = !!a.getElementsByTagName("link").length, la.html5Clone = "<:nav></:nav>" !== da.createElement("nav").cloneNode(!0).outerHTML, c.type = "checkbox", c.checked = !0, b.appendChild(c), la.appendChecked = c.checked, a.innerHTML = "<textarea>x</textarea>", la.noCloneChecked = !!a.cloneNode(!0).lastChild.defaultValue, b.appendChild(a), c = da.createElement("input"), c.setAttribute("type", "radio"), c.setAttribute("checked", "checked"), c.setAttribute("name", "t"), a.appendChild(c), la.checkClone = a.cloneNode(!0).cloneNode(!0).lastChild.checked, la.noCloneEvent = !!a.addEventListener, a[na.expando] = 1, la.attributes = !a.getAttribute(na.expando)
}();
var Ta = {
option: [1, "<select multiple='multiple'>", "</select>"],
legend: [1, "<fieldset>", "</fieldset>"],
area: [1, "<map>", "</map>"],
param: [1, "<object>", "</object>"],
thead: [1, "<table>", "</table>"],
tr: [2, "<table><tbody>", "</tbody></table>"],
col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
_default: la.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
};
Ta.optgroup = Ta.option, Ta.tbody = Ta.tfoot = Ta.colgroup = Ta.caption = Ta.thead, Ta.th = Ta.td;
var Ua = /<|&#?\w+;/,
Va = /<tbody/i;
! function() {
var b, c, d = da.createElement("div");
for (b in {
submit: !0,
change: !0,
focusin: !0
}) c = "on" + b, (la[b] = c in a) || (d.setAttribute(c, "t"), la[b] = d.attributes[c].expando === !1);
d = null
}();
var Wa = /^(?:input|select|textarea)$/i,
Xa = /^key/,
Ya = /^(?:mouse|pointer|contextmenu|drag|drop)|click/,
Za = /^(?:focusinfocus|focusoutblur)$/,
$a = /^([^.]*)(?:\.(.+)|)/;
na.event = {
global: {},
add: function(a, b, c, d, e) {
var f, g, h, i, j, k, l, m, n, o, p, q = na._data(a);
if (q) {
for (c.handler && (i = c, c = i.handler, e = i.selector), c.guid || (c.guid = na.guid++), (g = q.events) || (g = q.events = {}), (k = q.handle) || (k = q.handle = function(a) {
return "undefined" == typeof na || a && na.event.triggered === a.type ? void 0 : na.event.dispatch.apply(k.elem, arguments)
}, k.elem = a), b = (b || "").match(Da) || [""], h = b.length; h--;) f = $a.exec(b[h]) || [], n = p = f[1], o = (f[2] || "").split(".").sort(), n && (j = na.event.special[n] || {}, n = (e ? j.delegateType : j.bindType) || n, j = na.event.special[n] || {}, l = na.extend({
type: n,
origType: p,
data: d,
handler: c,
guid: c.guid,
selector: e,
needsContext: e && na.expr.match.needsContext.test(e),
namespace: o.join(".")
}, i), (m = g[n]) || (m = g[n] = [], m.delegateCount = 0, j.setup && j.setup.call(a, d, o, k) !== !1 || (a.addEventListener ? a.addEventListener(n, k, !1) : a.attachEvent && a.attachEvent("on" + n, k))), j.add && (j.add.call(a, l), l.handler.guid || (l.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, l) : m.push(l), na.event.global[n] = !0);
a = null
}
},
remove: function(a, b, c, d, e) {
var f, g, h, i, j, k, l, m, n, o, p, q = na.hasData(a) && na._data(a);
if (q && (k = q.events)) {
for (b = (b || "").match(Da) || [""], j = b.length; j--;)
if (h = $a.exec(b[j]) || [], n = p = h[1], o = (h[2] || "").split(".").sort(), n) {
for (l = na.event.special[n] || {}, n = (d ? l.delegateType : l.bindType) || n, m = k[n] || [], h = h[2] && new RegExp("(^|\\.)" + o.join("\\.(?:.*\\.|)") + "(\\.|$)"), i = f = m.length; f--;) g = m[f], !e && p !== g.origType || c && c.guid !== g.guid || h && !h.test(g.namespace) || d && d !== g.selector && ("**" !== d || !g.selector) || (m.splice(f, 1), g.selector && m.delegateCount--, l.remove && l.remove.call(a, g));
i && !m.length && (l.teardown && l.teardown.call(a, o, q.handle) !== !1 || na.removeEvent(a, n, q.handle), delete k[n])
} else
for (n in k) na.event.remove(a, n + b[j], c, d, !0);
na.isEmptyObject(k) && (delete q.handle, na._removeData(a, "events"))
}
},
trigger: function(b, c, d, e) {
var f, g, h, i, j, k, l, m = [d || da],
n = ka.call(b, "type") ? b.type : b,
o = ka.call(b, "namespace") ? b.namespace.split(".") : [];
if (h = k = d = d || da, 3 !== d.nodeType && 8 !== d.nodeType && !Za.test(n + na.event.triggered) && (n.indexOf(".") > -1 && (o = n.split("."), n = o.shift(), o.sort()), g = n.indexOf(":") < 0 && "on" + n, b = b[na.expando] ? b : new na.Event(n, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = o.join("."), b.rnamespace = b.namespace ? new RegExp("(^|\\.)" + o.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : na.makeArray(c, [b]), j = na.event.special[n] || {}, e || !j.trigger || j.trigger.apply(d, c) !== !1)) {
if (!e && !j.noBubble && !na.isWindow(d)) {
for (i = j.delegateType || n, Za.test(i + n) || (h = h.parentNode); h; h = h.parentNode) m.push(h), k = h;
k === (d.ownerDocument || da) && m.push(k.defaultView || k.parentWindow || a)
}
for (l = 0;
(h = m[l++]) && !b.isPropagationStopped();) b.type = l > 1 ? i : j.bindType || n, f = (na._data(h, "events") || {})[b.type] && na._data(h, "handle"), f && f.apply(h, c), f = g && h[g], f && f.apply && Ga(h) && (b.result = f.apply(h, c), b.result === !1 && b.preventDefault());
if (b.type = n, !e && !b.isDefaultPrevented() && (!j._default || j._default.apply(m.pop(), c) === !1) && Ga(d) && g && d[n] && !na.isWindow(d)) {
k = d[g], k && (d[g] = null), na.event.triggered = n;
try {
d[n]()
} catch (a) {}
na.event.triggered = void 0, k && (d[g] = k)
}
return b.result
}
},
dispatch: function(a) {
a = na.event.fix(a);
var b, c, d, e, f, g = [],
h = ea.call(arguments),
i = (na._data(this, "events") || {})[a.type] || [],
j = na.event.special[a.type] || {};
if (h[0] = a, a.delegateTarget = this, !j.preDispatch || j.preDispatch.call(this, a) !== !1) {
for (g = na.event.handlers.call(this, a, i), b = 0;
(e = g[b++]) && !a.isPropagationStopped();)
for (a.currentTarget = e.elem, c = 0;
(f = e.handlers[c++]) && !a.isImmediatePropagationStopped();) a.rnamespace && !a.rnamespace.test(f.namespace) || (a.handleObj = f, a.data = f.data, d = ((na.event.special[f.origType] || {}).handle || f.handler).apply(e.elem, h), void 0 !== d && (a.result = d) === !1 && (a.preventDefault(), a.stopPropagation()));
return j.postDispatch && j.postDispatch.call(this, a), a.result
}
},
handlers: function(a, b) {
var c, d, e, f, g = [],
h = b.delegateCount,
i = a.target;
if (h && i.nodeType && ("click" !== a.type || isNaN(a.button) || a.button < 1))
for (; i != this; i = i.parentNode || this)
if (1 === i.nodeType && (i.disabled !== !0 || "click" !== a.type)) {
for (d = [], c = 0; h > c; c++) f = b[c], e = f.selector + " ", void 0 === d[e] && (d[e] = f.needsContext ? na(e, this).index(i) > -1 : na.find(e, this, null, [i]).length), d[e] && d.push(f);
d.length && g.push({
elem: i,
handlers: d
})
}
return h < b.length && g.push({
elem: this,
handlers: b.slice(h)
}), g
},
fix: function(a) {
if (a[na.expando]) return a;
var b, c, d, e = a.type,
f = a,
g = this.fixHooks[e];
for (g || (this.fixHooks[e] = g = Ya.test(e) ? this.mouseHooks : Xa.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new na.Event(f), b = d.length; b--;) c = d[b], a[c] = f[c];
return a.target || (a.target = f.srcElement || da), 3 === a.target.nodeType && (a.target = a.target.parentNode), a.metaKey = !!a.metaKey, g.filter ? g.filter(a, f) : a
},
props: "altKey bubbles cancelable ctrlKey currentTarget detail eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
fixHooks: {},
keyHooks: {
props: "char charCode key keyCode".split(" "),
filter: function(a, b) {
return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
}
},
mouseHooks: {
props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
filter: function(a, b) {
var c, d, e, f = b.button,
g = b.fromElement;
return null == a.pageX && null != b.clientX && (d = a.target.ownerDocument || da, e = d.documentElement, c = d.body, a.pageX = b.clientX + (e && e.scrollLeft || c && c.scrollLeft || 0) - (e && e.clientLeft || c && c.clientLeft || 0), a.pageY = b.clientY + (e && e.scrollTop || c && c.scrollTop || 0) - (e && e.clientTop || c && c.clientTop || 0)), !a.relatedTarget && g && (a.relatedTarget = g === a.target ? b.toElement : g), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a
}
},
special: {
load: {
noBubble: !0
},
focus: {
trigger: function() {
if (this !== u() && this.focus) try {
return this.focus(), !1
} catch (a) {}
},
delegateType: "focusin"
},
blur: {
trigger: function() {
return this === u() && this.blur ? (this.blur(), !1) : void 0
},
delegateType: "focusout"
},
click: {
trigger: function() {
return na.nodeName(this, "input") && "checkbox" === this.type && this.click ? (this.click(), !1) : void 0
},
_default: function(a) {
return na.nodeName(a.target, "a")
}
},
beforeunload: {
postDispatch: function(a) {
void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result)
}
}
},
simulate: function(a, b, c) {
var d = na.extend(new na.Event, c, {
type: a,
isSimulated: !0
});
na.event.trigger(d, null, b), d.isDefaultPrevented() && c.preventDefault()
}
}, na.removeEvent = da.removeEventListener ? function(a, b, c) {
a.removeEventListener && a.removeEventListener(b, c)
} : function(a, b, c) {
var d = "on" + b;
a.detachEvent && ("undefined" == typeof a[d] && (a[d] = null), a.detachEvent(d, c))
}, na.Event = function(a, b) {
return this instanceof na.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? s : t) : this.type = a, b && na.extend(this, b), this.timeStamp = a && a.timeStamp || na.now(), void(this[na.expando] = !0)) : new na.Event(a, b)
}, na.Event.prototype = {
constructor: na.Event,
isDefaultPrevented: t,
isPropagationStopped: t,
isImmediatePropagationStopped: t,
preventDefault: function() {
var a = this.originalEvent;
this.isDefaultPrevented = s, a && (a.preventDefault ? a.preventDefault() : a.returnValue = !1)
},
stopPropagation: function() {
var a = this.originalEvent;
this.isPropagationStopped = s, a && !this.isSimulated && (a.stopPropagation && a.stopPropagation(), a.cancelBubble = !0)
},
stopImmediatePropagation: function() {
var a = this.originalEvent;
this.isImmediatePropagationStopped = s, a && a.stopImmediatePropagation && a.stopImmediatePropagation(), this.stopPropagation()
}
}, na.each({
mouseenter: "mouseover",
mouseleave: "mouseout",
pointerenter: "pointerover",
pointerleave: "pointerout"
}, function(a, b) {
na.event.special[a] = {
delegateType: b,
bindType: b,
handle: function(a) {
var c, d = this,
e = a.relatedTarget,
f = a.handleObj;
return e && (e === d || na.contains(d, e)) || (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
}
}
}), la.submit || (na.event.special.submit = {
setup: function() {
return !na.nodeName(this, "form") && void na.event.add(this, "click._submit keypress._submit", function(a) {
var b = a.target,
c = na.nodeName(b, "input") || na.nodeName(b, "button") ? na.prop(b, "form") : void 0;
c && !na._data(c, "submit") && (na.event.add(c, "submit._submit", function(a) {
a._submitBubble = !0
}), na._data(c, "submit", !0))
})
},
postDispatch: function(a) {
a._submitBubble && (delete a._submitBubble, this.parentNode && !a.isTrigger && na.event.simulate("submit", this.parentNode, a))
},
teardown: function() {
return !na.nodeName(this, "form") && void na.event.remove(this, "._submit")
}
}), la.change || (na.event.special.change = {
setup: function() {
return Wa.test(this.nodeName) ? ("checkbox" !== this.type && "radio" !== this.type || (na.event.add(this, "propertychange._change", function(a) {
"checked" === a.originalEvent.propertyName && (this._justChanged = !0)
}), na.event.add(this, "click._change", function(a) {
this._justChanged && !a.isTrigger && (this._justChanged = !1), na.event.simulate("change", this, a)
})), !1) : void na.event.add(this, "beforeactivate._change", function(a) {
var b = a.target;
Wa.test(b.nodeName) && !na._data(b, "change") && (na.event.add(b, "change._change", function(a) {
!this.parentNode || a.isSimulated || a.isTrigger || na.event.simulate("change", this.parentNode, a)
}), na._data(b, "change", !0))
})
},
handle: function(a) {
var b = a.target;
return this !== b || a.isSimulated || a.isTrigger || "radio" !== b.type && "checkbox" !== b.type ? a.handleObj.handler.apply(this, arguments) : void 0
},
teardown: function() {
return na.event.remove(this, "._change"), !Wa.test(this.nodeName)
}
}), la.focusin || na.each({
focus: "focusin",
blur: "focusout"
}, function(a, b) {
var c = function(a) {
na.event.simulate(b, a.target, na.event.fix(a))
};
na.event.special[b] = {
setup: function() {
var d = this.ownerDocument || this,
e = na._data(d, b);
e || d.addEventListener(a, c, !0), na._data(d, b, (e || 0) + 1)
},
teardown: function() {
var d = this.ownerDocument || this,
e = na._data(d, b) - 1;
e ? na._data(d, b, e) : (d.removeEventListener(a, c, !0), na._removeData(d, b))
}
}
}), na.fn.extend({
on: function(a, b, c, d) {
return v(this, a, b, c, d)
},
one: function(a, b, c, d) {
return v(this, a, b, c, d, 1)
},
off: function(a, b, c) {
var d, e;
if (a && a.preventDefault && a.handleObj) return d = a.handleObj, na(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this;
if ("object" == typeof a) {
for (e in a) this.off(e, b, a[e]);
return this
}
return b !== !1 && "function" != typeof b || (c = b, b = void 0), c === !1 && (c = t), this.each(function() {
na.event.remove(this, a, c, b)
})
},
trigger: function(a, b) {
return this.each(function() {
na.event.trigger(a, b, this)
})
},
triggerHandler: function(a, b) {
var c = this[0];
return c ? na.event.trigger(a, b, c, !0) : void 0
}
});
var _a = / jQuery\d+="(?:null|\d+)"/g,
ab = new RegExp("<(?:" + Sa + ")[\\s/>]", "i"),
bb = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:-]+)[^>]*)\/>/gi,
cb = /<script|<style|<link/i,
db = /checked\s*(?:[^=]|=\s*.checked.)/i,
eb = /^true\/(.*)/,
fb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
gb = n(da),
hb = gb.appendChild(da.createElement("div"));
na.extend({
htmlPrefilter: function(a) {
return a.replace(bb, "<$1></$2>")
},
clone: function(a, b, c) {
var d, e, f, g, h, i = na.contains(a.ownerDocument, a);
if (la.html5Clone || na.isXMLDoc(a) || !ab.test("<" + a.nodeName + ">") ? f = a.cloneNode(!0) : (hb.innerHTML = a.outerHTML, hb.removeChild(f = hb.firstChild)), !(la.noCloneEvent && la.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || na.isXMLDoc(a)))
for (d = o(f), h = o(a), g = 0; null != (e = h[g]); ++g) d[g] && A(e, d[g]);
if (b)
if (c)
for (h = h || o(a), d = d || o(f), g = 0; null != (e = h[g]); g++) z(e, d[g]);
else z(a, f);
return d = o(f, "script"), d.length > 0 && p(d, !i && o(a, "script")), d = h = e = null, f
},
cleanData: function(a, b) {
for (var c, d, e, f, g = 0, h = na.expando, i = na.cache, j = la.attributes, k = na.event.special; null != (c = a[g]); g++)
if ((b || Ga(c)) && (e = c[h], f = e && i[e])) {
if (f.events)
for (d in f.events) k[d] ? na.event.remove(c, d) : na.removeEvent(c, d, f.handle);
i[e] && (delete i[e], j || "undefined" == typeof c.removeAttribute ? c[h] = void 0 : c.removeAttribute(h), ca.push(e))
}
}
}), na.fn.extend({
domManip: B,
detach: function(a) {
return C(this, a, !0)
},
remove: function(a) {
return C(this, a)
},
text: function(a) {
return Na(this, function(a) {
return void 0 === a ? na.text(this) : this.empty().append((this[0] && this[0].ownerDocument || da).createTextNode(a))
}, null, a, arguments.length)
},
append: function() {
return B(this, arguments, function(a) {
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
var b = w(this, a);
b.appendChild(a)
}
})
},
prepend: function() {
return B(this, arguments, function(a) {
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
var b = w(this, a);
b.insertBefore(a, b.firstChild)
}
})
},
before: function() {
return B(this, arguments, function(a) {
this.parentNode && this.parentNode.insertBefore(a, this)
})
},
after: function() {
return B(this, arguments, function(a) {
this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
})
},
empty: function() {
for (var a, b = 0; null != (a = this[b]); b++) {
for (1 === a.nodeType && na.cleanData(o(a, !1)); a.firstChild;) a.removeChild(a.firstChild);
a.options && na.nodeName(a, "select") && (a.options.length = 0)
}
return this
},
clone: function(a, b) {
return a = null != a && a, b = null == b ? a : b, this.map(function() {
return na.clone(this, a, b)
})
},
html: function(a) {
return Na(this, function(a) {
var b = this[0] || {},
c = 0,
d = this.length;
if (void 0 === a) return 1 === b.nodeType ? b.innerHTML.replace(_a, "") : void 0;
if ("string" == typeof a && !cb.test(a) && (la.htmlSerialize || !ab.test(a)) && (la.leadingWhitespace || !Ra.test(a)) && !Ta[(Pa.exec(a) || ["", ""])[1].toLowerCase()]) {
a = na.htmlPrefilter(a);
try {
for (; d > c; c++) b = this[c] || {}, 1 === b.nodeType && (na.cleanData(o(b, !1)), b.innerHTML = a);
b = 0
} catch (a) {}
}
b && this.empty().append(a)
}, null, a, arguments.length)
},
replaceWith: function() {
var a = [];
return B(this, arguments, function(b) {
var c = this.parentNode;
na.inArray(this, a) < 0 && (na.cleanData(o(this)), c && c.replaceChild(b, this))
}, a)
}
}), na.each({
appendTo: "append",
prependTo: "prepend",
insertBefore: "before",
insertAfter: "after",
replaceAll: "replaceWith"
}, function(a, b) {
na.fn[a] = function(a) {
for (var c, d = 0, e = [], f = na(a), g = f.length - 1; g >= d; d++) c = d === g ? this : this.clone(!0), na(f[d])[b](c), ga.apply(e, c.get());
return this.pushStack(e)
}
});
var ib, jb = {
HTML: "block",
BODY: "block"
},
kb = /^margin/,
lb = new RegExp("^(" + Ja + ")(?!px)[a-z%]+$", "i"),
mb = function(a, b, c, d) {
var e, f, g = {};
for (f in b) g[f] = a.style[f], a.style[f] = b[f];
e = c.apply(a, d || []);
for (f in b) a.style[f] = g[f];
return e
},
nb = da.documentElement;
! function() {
function b() {
var b, k, l = da.documentElement;
l.appendChild(i), j.style.cssText = "-webkit-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%", c = e = h = !1, d = g = !0, a.getComputedStyle && (k = a.getComputedStyle(j), c = "1%" !== (k || {}).top, h = "2px" === (k || {}).marginLeft, e = "4px" === (k || {
width: "4px"
}).width, j.style.marginRight = "50%", d = "4px" === (k || {
marginRight: "4px"
}).marginRight, b = j.appendChild(da.createElement("div")), b.style.cssText = j.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", b.style.marginRight = b.style.width = "0", j.style.width = "1px", g = !parseFloat((a.getComputedStyle(b) || {}).marginRight), j.