Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
thewickedkarma
GitHub Repository: thewickedkarma/blackeye-im
Path: blob/master/sites/bitcoin/js/jquery-2.1.3.min.js
777 views
1
/*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ ! function(a, b) {
2
"object" == typeof module && "object" == typeof module.exports ? module.exports = a.document ? b(a, !0) : function(a) {
3
if (!a.document) throw new Error("jQuery requires a window with a document");
4
return b(a)
5
} : b(a)
6
}("undefined" != typeof window ? window : this, function(a, b) {
7
var c = [],
8
d = c.slice,
9
e = c.concat,
10
f = c.push,
11
g = c.indexOf,
12
h = {},
13
i = h.toString,
14
j = h.hasOwnProperty,
15
k = {},
16
l = a.document,
17
m = "2.1.3",
18
n = function(a, b) {
19
return new n.fn.init(a, b)
20
},
21
o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
22
p = /^-ms-/,
23
q = /-([\da-z])/gi,
24
r = function(a, b) {
25
return b.toUpperCase()
26
};
27
n.fn = n.prototype = {
28
jquery: m,
29
constructor: n,
30
selector: "",
31
length: 0,
32
toArray: function() {
33
return d.call(this)
34
},
35
get: function(a) {
36
return null != a ? 0 > a ? this[a + this.length] : this[a] : d.call(this)
37
},
38
pushStack: function(a) {
39
var b = n.merge(this.constructor(), a);
40
return b.prevObject = this, b.context = this.context, b
41
},
42
each: function(a, b) {
43
return n.each(this, a, b)
44
},
45
map: function(a) {
46
return this.pushStack(n.map(this, function(b, c) {
47
return a.call(b, c, b)
48
}))
49
},
50
slice: function() {
51
return this.pushStack(d.apply(this, arguments))
52
},
53
first: function() {
54
return this.eq(0)
55
},
56
last: function() {
57
return this.eq(-1)
58
},
59
eq: function(a) {
60
var b = this.length,
61
c = +a + (0 > a ? b : 0);
62
return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
63
},
64
end: function() {
65
return this.prevObject || this.constructor(null)
66
},
67
push: f,
68
sort: c.sort,
69
splice: c.splice
70
}, n.extend = n.fn.extend = function() {
71
var a, b, c, d, e, f, g = arguments[0] || {},
72
h = 1,
73
i = arguments.length,
74
j = !1;
75
for ("boolean" == typeof g && (j = g, g = arguments[h] || {}, h++), "object" == typeof g || n.isFunction(g) || (g = {}), h === i && (g = this, h--); i > h; h++)
76
if (null != (a = arguments[h]))
77
for (b in a) c = g[b], d = a[b], g !== d && (j && d && (n.isPlainObject(d) || (e = n.isArray(d))) ? (e ? (e = !1, f = c && n.isArray(c) ? c : []) : f = c && n.isPlainObject(c) ? c : {}, g[b] = n.extend(j, f, d)) : void 0 !== d && (g[b] = d));
78
return g
79
}, n.extend({
80
expando: "jQuery" + (m + Math.random()).replace(/\D/g, ""),
81
isReady: !0,
82
error: function(a) {
83
throw new Error(a)
84
},
85
noop: function() {},
86
isFunction: function(a) {
87
return "function" === n.type(a)
88
},
89
isArray: Array.isArray,
90
isWindow: function(a) {
91
return null != a && a === a.window
92
},
93
isNumeric: function(a) {
94
return !n.isArray(a) && a - parseFloat(a) + 1 >= 0
95
},
96
isPlainObject: function(a) {
97
return "object" !== n.type(a) || a.nodeType || n.isWindow(a) ? !1 : a.constructor && !j.call(a.constructor.prototype, "isPrototypeOf") ? !1 : !0
98
},
99
isEmptyObject: function(a) {
100
var b;
101
for (b in a) return !1;
102
return !0
103
},
104
type: function(a) {
105
return null == a ? a + "" : "object" == typeof a || "function" == typeof a ? h[i.call(a)] || "object" : typeof a
106
},
107
globalEval: function(a) {
108
var b, c = eval;
109
a = n.trim(a), a && (1 === a.indexOf("use strict") ? (b = l.createElement("script"), b.text = a, l.head.appendChild(b).parentNode.removeChild(b)) : c(a))
110
},
111
camelCase: function(a) {
112
return a.replace(p, "ms-").replace(q, r)
113
},
114
nodeName: function(a, b) {
115
return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
116
},
117
each: function(a, b, c) {
118
var d, e = 0,
119
f = a.length,
120
g = s(a);
121
if (c) {
122
if (g) {
123
for (; f > e; e++)
124
if (d = b.apply(a[e], c), d === !1) break
125
} else
126
for (e in a)
127
if (d = b.apply(a[e], c), d === !1) break
128
} else if (g) {
129
for (; f > e; e++)
130
if (d = b.call(a[e], e, a[e]), d === !1) break
131
} else
132
for (e in a)
133
if (d = b.call(a[e], e, a[e]), d === !1) break;
134
return a
135
},
136
trim: function(a) {
137
return null == a ? "" : (a + "").replace(o, "")
138
},
139
makeArray: function(a, b) {
140
var c = b || [];
141
return null != a && (s(Object(a)) ? n.merge(c, "string" == typeof a ? [a] : a) : f.call(c, a)), c
142
},
143
inArray: function(a, b, c) {
144
return null == b ? -1 : g.call(b, a, c)
145
},
146
merge: function(a, b) {
147
for (var c = +b.length, d = 0, e = a.length; c > d; d++) a[e++] = b[d];
148
return a.length = e, a
149
},
150
grep: function(a, b, c) {
151
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]);
152
return e
153
},
154
map: function(a, b, c) {
155
var d, f = 0,
156
g = a.length,
157
h = s(a),
158
i = [];
159
if (h)
160
for (; g > f; f++) d = b(a[f], f, c), null != d && i.push(d);
161
else
162
for (f in a) d = b(a[f], f, c), null != d && i.push(d);
163
return e.apply([], i)
164
},
165
guid: 1,
166
proxy: function(a, b) {
167
var c, e, f;
168
return "string" == typeof b && (c = a[b], b = a, a = c), n.isFunction(a) ? (e = d.call(arguments, 2), f = function() {
169
return a.apply(b || this, e.concat(d.call(arguments)))
170
}, f.guid = a.guid = a.guid || n.guid++, f) : void 0
171
},
172
now: Date.now,
173
support: k
174
}), n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function(a, b) {
175
h["[object " + b + "]"] = b.toLowerCase()
176
});
177
178
function s(a) {
179
var b = a.length,
180
c = n.type(a);
181
return "function" === c || n.isWindow(a) ? !1 : 1 === a.nodeType && b ? !0 : "array" === c || 0 === b || "number" == typeof b && b > 0 && b - 1 in a
182
}
183
var t = function(a) {
184
var b, c, d, e, f, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u = "sizzle" + 1 * new Date,
185
v = a.document,
186
w = 0,
187
x = 0,
188
y = hb(),
189
z = hb(),
190
A = hb(),
191
B = function(a, b) {
192
return a === b && (l = !0), 0
193
},
194
C = 1 << 31,
195
D = {}.hasOwnProperty,
196
E = [],
197
F = E.pop,
198
G = E.push,
199
H = E.push,
200
I = E.slice,
201
J = function(a, b) {
202
for (var c = 0, d = a.length; d > c; c++)
203
if (a[c] === b) return c;
204
return -1
205
},
206
K = "checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",
207
L = "[\\x20\\t\\r\\n\\f]",
208
M = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
209
N = M.replace("w", "w#"),
210
O = "\\[" + L + "*(" + M + ")(?:" + L + "*([*^$|!~]?=)" + L + "*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|(" + N + "))|)" + L + "*\\]",
211
P = ":(" + M + ")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|" + O + ")*)|.*)\\)|)",
212
Q = new RegExp(L + "+", "g"),
213
R = new RegExp("^" + L + "+|((?:^|[^\\\\])(?:\\\\.)*)" + L + "+$", "g"),
214
S = new RegExp("^" + L + "*," + L + "*"),
215
T = new RegExp("^" + L + "*([>+~]|" + L + ")" + L + "*"),
216
U = new RegExp("=" + L + "*([^\\]'\"]*?)" + L + "*\\]", "g"),
217
V = new RegExp(P),
218
W = new RegExp("^" + N + "$"),
219
X = {
220
ID: new RegExp("^#(" + M + ")"),
221
CLASS: new RegExp("^\\.(" + M + ")"),
222
TAG: new RegExp("^(" + M.replace("w", "w*") + ")"),
223
ATTR: new RegExp("^" + O),
224
PSEUDO: new RegExp("^" + P),
225
CHILD: new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + L + "*(even|odd|(([+-]|)(\\d*)n|)" + L + "*(?:([+-]|)" + L + "*(\\d+)|))" + L + "*\\)|)", "i"),
226
bool: new RegExp("^(?:" + K + ")$", "i"),
227
needsContext: new RegExp("^" + L + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + L + "*((?:-\\d)?\\d*)" + L + "*\\)|)(?=[^-]|$)", "i")
228
},
229
Y = /^(?:input|select|textarea|button)$/i,
230
Z = /^h\d$/i,
231
$ = /^[^{]+\{\s*\[native \w/,
232
_ = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
233
ab = /[+~]/,
234
bb = /'|\\/g,
235
cb = new RegExp("\\\\([\\da-f]{1,6}" + L + "?|(" + L + ")|.)", "ig"),
236
db = function(a, b, c) {
237
var d = "0x" + b - 65536;
238
return d !== d || c ? b : 0 > d ? String.fromCharCode(d + 65536) : String.fromCharCode(d >> 10 | 55296, 1023 & d | 56320)
239
},
240
eb = function() {
241
m()
242
};
243
try {
244
H.apply(E = I.call(v.childNodes), v.childNodes), E[v.childNodes.length].nodeType
245
} catch (fb) {
246
H = {
247
apply: E.length ? function(a, b) {
248
G.apply(a, I.call(b))
249
} : function(a, b) {
250
var c = a.length,
251
d = 0;
252
while (a[c++] = b[d++]);
253
a.length = c - 1
254
}
255
}
256
}
257
258
function gb(a, b, d, e) {
259
var f, h, j, k, l, o, r, s, w, x;
260
if ((b ? b.ownerDocument || b : v) !== n && m(b), b = b || n, d = d || [], k = b.nodeType, "string" != typeof a || !a || 1 !== k && 9 !== k && 11 !== k) return d;
261
if (!e && p) {
262
if (11 !== k && (f = _.exec(a)))
263
if (j = f[1]) {
264
if (9 === k) {
265
if (h = b.getElementById(j), !h || !h.parentNode) return d;
266
if (h.id === j) return d.push(h), d
267
} else if (b.ownerDocument && (h = b.ownerDocument.getElementById(j)) && t(b, h) && h.id === j) return d.push(h), d
268
} else {
269
if (f[2]) return H.apply(d, b.getElementsByTagName(a)), d;
270
if ((j = f[3]) && c.getElementsByClassName) return H.apply(d, b.getElementsByClassName(j)), d
271
}
272
if (c.qsa && (!q || !q.test(a))) {
273
if (s = r = u, w = b, x = 1 !== k && a, 1 === k && "object" !== b.nodeName.toLowerCase()) {
274
o = g(a), (r = b.getAttribute("id")) ? s = r.replace(bb, "\\$&") : b.setAttribute("id", s), s = "[id='" + s + "'] ", l = o.length;
275
while (l--) o[l] = s + rb(o[l]);
276
w = ab.test(a) && pb(b.parentNode) || b, x = o.join(",")
277
}
278
if (x) try {
279
return H.apply(d, w.querySelectorAll(x)), d
280
} catch (y) {} finally {
281
r || b.removeAttribute("id")
282
}
283
}
284
}
285
return i(a.replace(R, "$1"), b, d, e)
286
}
287
288
function hb() {
289
var a = [];
290
291
function b(c, e) {
292
return a.push(c + " ") > d.cacheLength && delete b[a.shift()], b[c + " "] = e
293
}
294
return b
295
}
296
297
function ib(a) {
298
return a[u] = !0, a
299
}
300
301
function jb(a) {
302
var b = n.createElement("div");
303
try {
304
return !!a(b)
305
} catch (c) {
306
return !1
307
} finally {
308
b.parentNode && b.parentNode.removeChild(b), b = null
309
}
310
}
311
312
function kb(a, b) {
313
var c = a.split("|"),
314
e = a.length;
315
while (e--) d.attrHandle[c[e]] = b
316
}
317
318
function lb(a, b) {
319
var c = b && a,
320
d = c && 1 === a.nodeType && 1 === b.nodeType && (~b.sourceIndex || C) - (~a.sourceIndex || C);
321
if (d) return d;
322
if (c)
323
while (c = c.nextSibling)
324
if (c === b) return -1;
325
return a ? 1 : -1
326
}
327
328
function mb(a) {
329
return function(b) {
330
var c = b.nodeName.toLowerCase();
331
return "input" === c && b.type === a
332
}
333
}
334
335
function nb(a) {
336
return function(b) {
337
var c = b.nodeName.toLowerCase();
338
return ("input" === c || "button" === c) && b.type === a
339
}
340
}
341
342
function ob(a) {
343
return ib(function(b) {
344
return b = +b, ib(function(c, d) {
345
var e, f = a([], c.length, b),
346
g = f.length;
347
while (g--) c[e = f[g]] && (c[e] = !(d[e] = c[e]))
348
})
349
})
350
}
351
352
function pb(a) {
353
return a && "undefined" != typeof a.getElementsByTagName && a
354
}
355
c = gb.support = {}, f = gb.isXML = function(a) {
356
var b = a && (a.ownerDocument || a).documentElement;
357
return b ? "HTML" !== b.nodeName : !1
358
}, m = gb.setDocument = function(a) {
359
var b, e, g = a ? a.ownerDocument || a : v;
360
return g !== n && 9 === g.nodeType && g.documentElement ? (n = g, o = g.documentElement, e = g.defaultView, e && e !== e.top && (e.addEventListener ? e.addEventListener("unload", eb, !1) : e.attachEvent && e.attachEvent("onunload", eb)), p = !f(g), c.attributes = jb(function(a) {
361
return a.className = "i", !a.getAttribute("className")
362
}), c.getElementsByTagName = jb(function(a) {
363
return a.appendChild(g.createComment("")), !a.getElementsByTagName("*").length
364
}), c.getElementsByClassName = $.test(g.getElementsByClassName), c.getById = jb(function(a) {
365
return o.appendChild(a).id = u, !g.getElementsByName || !g.getElementsByName(u).length
366
}), c.getById ? (d.find.ID = function(a, b) {
367
if ("undefined" != typeof b.getElementById && p) {
368
var c = b.getElementById(a);
369
return c && c.parentNode ? [c] : []
370
}
371
}, d.filter.ID = function(a) {
372
var b = a.replace(cb, db);
373
return function(a) {
374
return a.getAttribute("id") === b
375
}
376
}) : (delete d.find.ID, d.filter.ID = function(a) {
377
var b = a.replace(cb, db);
378
return function(a) {
379
var c = "undefined" != typeof a.getAttributeNode && a.getAttributeNode("id");
380
return c && c.value === b
381
}
382
}), d.find.TAG = c.getElementsByTagName ? function(a, b) {
383
return "undefined" != typeof b.getElementsByTagName ? b.getElementsByTagName(a) : c.qsa ? b.querySelectorAll(a) : void 0
384
} : function(a, b) {
385
var c, d = [],
386
e = 0,
387
f = b.getElementsByTagName(a);
388
if ("*" === a) {
389
while (c = f[e++]) 1 === c.nodeType && d.push(c);
390
return d
391
}
392
return f
393
}, d.find.CLASS = c.getElementsByClassName && function(a, b) {
394
return p ? b.getElementsByClassName(a) : void 0
395
}, r = [], q = [], (c.qsa = $.test(g.querySelectorAll)) && (jb(function(a) {
396
o.appendChild(a).innerHTML = "<a id='" + u + "'></a><select id='" + u + "-\f]' msallowcapture=''><option selected=''></option></select>", a.querySelectorAll("[msallowcapture^='']").length && q.push("[*^$]=" + L + "*(?:''|\"\")"), a.querySelectorAll("[selected]").length || q.push("\\[" + L + "*(?:value|" + K + ")"), a.querySelectorAll("[id~=" + u + "-]").length || q.push("~="), a.querySelectorAll(":checked").length || q.push(":checked"), a.querySelectorAll("a#" + u + "+*").length || q.push(".#.+[+~]")
397
}), jb(function(a) {
398
var b = g.createElement("input");
399
b.setAttribute("type", "hidden"), a.appendChild(b).setAttribute("name", "D"), a.querySelectorAll("[name=d]").length && q.push("name" + L + "*[*^$|!~]?="), a.querySelectorAll(":enabled").length || q.push(":enabled", ":disabled"), a.querySelectorAll("*,:x"), q.push(",.*:")
400
})), (c.matchesSelector = $.test(s = o.matches || o.webkitMatchesSelector || o.mozMatchesSelector || o.oMatchesSelector || o.msMatchesSelector)) && jb(function(a) {
401
c.disconnectedMatch = s.call(a, "div"), s.call(a, "[s!='']:x"), r.push("!=", P)
402
}), q = q.length && new RegExp(q.join("|")), r = r.length && new RegExp(r.join("|")), b = $.test(o.compareDocumentPosition), t = b || $.test(o.contains) ? function(a, b) {
403
var c = 9 === a.nodeType ? a.documentElement : a,
404
d = b && b.parentNode;
405
return a === d || !(!d || 1 !== d.nodeType || !(c.contains ? c.contains(d) : a.compareDocumentPosition && 16 & a.compareDocumentPosition(d)))
406
} : function(a, b) {
407
if (b)
408
while (b = b.parentNode)
409
if (b === a) return !0;
410
return !1
411
}, B = b ? function(a, b) {
412
if (a === b) return l = !0, 0;
413
var d = !a.compareDocumentPosition - !b.compareDocumentPosition;
414
return d ? d : (d = (a.ownerDocument || a) === (b.ownerDocument || b) ? a.compareDocumentPosition(b) : 1, 1 & d || !c.sortDetached && b.compareDocumentPosition(a) === d ? a === g || a.ownerDocument === v && t(v, a) ? -1 : b === g || b.ownerDocument === v && t(v, b) ? 1 : k ? J(k, a) - J(k, b) : 0 : 4 & d ? -1 : 1)
415
} : function(a, b) {
416
if (a === b) return l = !0, 0;
417
var c, d = 0,
418
e = a.parentNode,
419
f = b.parentNode,
420
h = [a],
421
i = [b];
422
if (!e || !f) return a === g ? -1 : b === g ? 1 : e ? -1 : f ? 1 : k ? J(k, a) - J(k, b) : 0;
423
if (e === f) return lb(a, b);
424
c = a;
425
while (c = c.parentNode) h.unshift(c);
426
c = b;
427
while (c = c.parentNode) i.unshift(c);
428
while (h[d] === i[d]) d++;
429
return d ? lb(h[d], i[d]) : h[d] === v ? -1 : i[d] === v ? 1 : 0
430
}, g) : n
431
}, gb.matches = function(a, b) {
432
return gb(a, null, null, b)
433
}, gb.matchesSelector = function(a, b) {
434
if ((a.ownerDocument || a) !== n && m(a), b = b.replace(U, "='$1']"), !(!c.matchesSelector || !p || r && r.test(b) || q && q.test(b))) try {
435
var d = s.call(a, b);
436
if (d || c.disconnectedMatch || a.document && 11 !== a.document.nodeType) return d
437
} catch (e) {}
438
return gb(b, n, null, [a]).length > 0
439
}, gb.contains = function(a, b) {
440
return (a.ownerDocument || a) !== n && m(a), t(a, b)
441
}, gb.attr = function(a, b) {
442
(a.ownerDocument || a) !== n && m(a);
443
var e = d.attrHandle[b.toLowerCase()],
444
f = e && D.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !p) : void 0;
445
return void 0 !== f ? f : c.attributes || !p ? a.getAttribute(b) : (f = a.getAttributeNode(b)) && f.specified ? f.value : null
446
}, gb.error = function(a) {
447
throw new Error("Syntax error, unrecognized expression: " + a)
448
}, gb.uniqueSort = function(a) {
449
var b, d = [],
450
e = 0,
451
f = 0;
452
if (l = !c.detectDuplicates, k = !c.sortStable && a.slice(0), a.sort(B), l) {
453
while (b = a[f++]) b === a[f] && (e = d.push(f));
454
while (e--) a.splice(d[e], 1)
455
}
456
return k = null, a
457
}, e = gb.getText = function(a) {
458
var b, c = "",
459
d = 0,
460
f = a.nodeType;
461
if (f) {
462
if (1 === f || 9 === f || 11 === f) {
463
if ("string" == typeof a.textContent) return a.textContent;
464
for (a = a.firstChild; a; a = a.nextSibling) c += e(a)
465
} else if (3 === f || 4 === f) return a.nodeValue
466
} else
467
while (b = a[d++]) c += e(b);
468
return c
469
}, d = gb.selectors = {
470
cacheLength: 50,
471
createPseudo: ib,
472
match: X,
473
attrHandle: {},
474
find: {},
475
relative: {
476
">": {
477
dir: "parentNode",
478
first: !0
479
},
480
" ": {
481
dir: "parentNode"
482
},
483
"+": {
484
dir: "previousSibling",
485
first: !0
486
},
487
"~": {
488
dir: "previousSibling"
489
}
490
},
491
preFilter: {
492
ATTR: function(a) {
493
return a[1] = a[1].replace(cb, db), a[3] = (a[3] || a[4] || a[5] || "").replace(cb, db), "~=" === a[2] && (a[3] = " " + a[3] + " "), a.slice(0, 4)
494
},
495
CHILD: function(a) {
496
return a[1] = a[1].toLowerCase(), "nth" === a[1].slice(0, 3) ? (a[3] || gb.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] && gb.error(a[0]), a
497
},
498
PSEUDO: function(a) {
499
var b, c = !a[6] && a[2];
500
return X.CHILD.test(a[0]) ? null : (a[3] ? a[2] = a[4] || a[5] || "" : c && V.test(c) && (b = g(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))
501
}
502
},
503
filter: {
504
TAG: function(a) {
505
var b = a.replace(cb, db).toLowerCase();
506
return "*" === a ? function() {
507
return !0
508
} : function(a) {
509
return a.nodeName && a.nodeName.toLowerCase() === b
510
}
511
},
512
CLASS: function(a) {
513
var b = y[a + " "];
514
return b || (b = new RegExp("(^|" + L + ")" + a + "(" + L + "|$)")) && y(a, function(a) {
515
return b.test("string" == typeof a.className && a.className || "undefined" != typeof a.getAttribute && a.getAttribute("class") || "")
516
})
517
},
518
ATTR: function(a, b, c) {
519
return function(d) {
520
var e = gb.attr(d, a);
521
return null == e ? "!=" === b : b ? (e += "", "=" === b ? e === c : "!=" === b ? e !== c : "^=" === b ? c && 0 === e.indexOf(c) : "*=" === b ? c && e.indexOf(c) > -1 : "$=" === b ? c && e.slice(-c.length) === c : "~=" === b ? (" " + e.replace(Q, " ") + " ").indexOf(c) > -1 : "|=" === b ? e === c || e.slice(0, c.length + 1) === c + "-" : !1) : !0
522
}
523
},
524
CHILD: function(a, b, c, d, e) {
525
var f = "nth" !== a.slice(0, 3),
526
g = "last" !== a.slice(-4),
527
h = "of-type" === b;
528
return 1 === d && 0 === e ? function(a) {
529
return !!a.parentNode
530
} : function(b, c, i) {
531
var j, k, l, m, n, o, p = f !== g ? "nextSibling" : "previousSibling",
532
q = b.parentNode,
533
r = h && b.nodeName.toLowerCase(),
534
s = !i && !h;
535
if (q) {
536
if (f) {
537
while (p) {
538
l = b;
539
while (l = l[p])
540
if (h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) return !1;
541
o = p = "only" === a && !o && "nextSibling"
542
}
543
return !0
544
}
545
if (o = [g ? q.firstChild : q.lastChild], g && s) {
546
k = q[u] || (q[u] = {}), j = k[a] || [], n = j[0] === w && j[1], m = j[0] === w && j[2], l = n && q.childNodes[n];
547
while (l = ++n && l && l[p] || (m = n = 0) || o.pop())
548
if (1 === l.nodeType && ++m && l === b) {
549
k[a] = [w, n, m];
550
break
551
}
552
} else if (s && (j = (b[u] || (b[u] = {}))[a]) && j[0] === w) m = j[1];
553
else
554
while (l = ++n && l && l[p] || (m = n = 0) || o.pop())
555
if ((h ? l.nodeName.toLowerCase() === r : 1 === l.nodeType) && ++m && (s && ((l[u] || (l[u] = {}))[a] = [w, m]), l === b)) break;
556
return m -= e, m === d || m % d === 0 && m / d >= 0
557
}
558
}
559
},
560
PSEUDO: function(a, b) {
561
var c, e = d.pseudos[a] || d.setFilters[a.toLowerCase()] || gb.error("unsupported pseudo: " + a);
562
return e[u] ? e(b) : e.length > 1 ? (c = [a, a, "", b], d.setFilters.hasOwnProperty(a.toLowerCase()) ? ib(function(a, c) {
563
var d, f = e(a, b),
564
g = f.length;
565
while (g--) d = J(a, f[g]), a[d] = !(c[d] = f[g])
566
}) : function(a) {
567
return e(a, 0, c)
568
}) : e
569
}
570
},
571
pseudos: {
572
not: ib(function(a) {
573
var b = [],
574
c = [],
575
d = h(a.replace(R, "$1"));
576
return d[u] ? ib(function(a, b, c, e) {
577
var f, g = d(a, null, e, []),
578
h = a.length;
579
while (h--)(f = g[h]) && (a[h] = !(b[h] = f))
580
}) : function(a, e, f) {
581
return b[0] = a, d(b, null, f, c), b[0] = null, !c.pop()
582
}
583
}),
584
has: ib(function(a) {
585
return function(b) {
586
return gb(a, b).length > 0
587
}
588
}),
589
contains: ib(function(a) {
590
return a = a.replace(cb, db),
591
function(b) {
592
return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
593
}
594
}),
595
lang: ib(function(a) {
596
return W.test(a || "") || gb.error("unsupported lang: " + a), a = a.replace(cb, db).toLowerCase(),
597
function(b) {
598
var c;
599
do
600
if (c = p ? 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);
601
return !1
602
}
603
}),
604
target: function(b) {
605
var c = a.location && a.location.hash;
606
return c && c.slice(1) === b.id
607
},
608
root: function(a) {
609
return a === o
610
},
611
focus: function(a) {
612
return a === n.activeElement && (!n.hasFocus || n.hasFocus()) && !!(a.type || a.href || ~a.tabIndex)
613
},
614
enabled: function(a) {
615
return a.disabled === !1
616
},
617
disabled: function(a) {
618
return a.disabled === !0
619
},
620
checked: function(a) {
621
var b = a.nodeName.toLowerCase();
622
return "input" === b && !!a.checked || "option" === b && !!a.selected
623
},
624
selected: function(a) {
625
return a.parentNode && a.parentNode.selectedIndex, a.selected === !0
626
},
627
empty: function(a) {
628
for (a = a.firstChild; a; a = a.nextSibling)
629
if (a.nodeType < 6) return !1;
630
return !0
631
},
632
parent: function(a) {
633
return !d.pseudos.empty(a)
634
},
635
header: function(a) {
636
return Z.test(a.nodeName)
637
},
638
input: function(a) {
639
return Y.test(a.nodeName)
640
},
641
button: function(a) {
642
var b = a.nodeName.toLowerCase();
643
return "input" === b && "button" === a.type || "button" === b
644
},
645
text: function(a) {
646
var b;
647
return "input" === a.nodeName.toLowerCase() && "text" === a.type && (null == (b = a.getAttribute("type")) || "text" === b.toLowerCase())
648
},
649
first: ob(function() {
650
return [0]
651
}),
652
last: ob(function(a, b) {
653
return [b - 1]
654
}),
655
eq: ob(function(a, b, c) {
656
return [0 > c ? c + b : c]
657
}),
658
even: ob(function(a, b) {
659
for (var c = 0; b > c; c += 2) a.push(c);
660
return a
661
}),
662
odd: ob(function(a, b) {
663
for (var c = 1; b > c; c += 2) a.push(c);
664
return a
665
}),
666
lt: ob(function(a, b, c) {
667
for (var d = 0 > c ? c + b : c; --d >= 0;) a.push(d);
668
return a
669
}),
670
gt: ob(function(a, b, c) {
671
for (var d = 0 > c ? c + b : c; ++d < b;) a.push(d);
672
return a
673
})
674
}
675
}, d.pseudos.nth = d.pseudos.eq;
676
for (b in {
677
radio: !0,
678
checkbox: !0,
679
file: !0,
680
password: !0,
681
image: !0
682
}) d.pseudos[b] = mb(b);
683
for (b in {
684
submit: !0,
685
reset: !0
686
}) d.pseudos[b] = nb(b);
687
688
function qb() {}
689
qb.prototype = d.filters = d.pseudos, d.setFilters = new qb, g = gb.tokenize = function(a, b) {
690
var c, e, f, g, h, i, j, k = z[a + " "];
691
if (k) return b ? 0 : k.slice(0);
692
h = a, i = [], j = d.preFilter;
693
while (h) {
694
(!c || (e = S.exec(h))) && (e && (h = h.slice(e[0].length) || h), i.push(f = [])), c = !1, (e = T.exec(h)) && (c = e.shift(), f.push({
695
value: c,
696
type: e[0].replace(R, " ")
697
}), h = h.slice(c.length));
698
for (g in d.filter) !(e = X[g].exec(h)) || j[g] && !(e = j[g](e)) || (c = e.shift(), f.push({
699
value: c,
700
type: g,
701
matches: e
702
}), h = h.slice(c.length));
703
if (!c) break
704
}
705
return b ? h.length : h ? gb.error(a) : z(a, i).slice(0)
706
};
707
708
function rb(a) {
709
for (var b = 0, c = a.length, d = ""; c > b; b++) d += a[b].value;
710
return d
711
}
712
713
function sb(a, b, c) {
714
var d = b.dir,
715
e = c && "parentNode" === d,
716
f = x++;
717
return b.first ? function(b, c, f) {
718
while (b = b[d])
719
if (1 === b.nodeType || e) return a(b, c, f)
720
} : function(b, c, g) {
721
var h, i, j = [w, f];
722
if (g) {
723
while (b = b[d])
724
if ((1 === b.nodeType || e) && a(b, c, g)) return !0
725
} else
726
while (b = b[d])
727
if (1 === b.nodeType || e) {
728
if (i = b[u] || (b[u] = {}), (h = i[d]) && h[0] === w && h[1] === f) return j[2] = h[2];
729
if (i[d] = j, j[2] = a(b, c, g)) return !0
730
}
731
}
732
}
733
734
function tb(a) {
735
return a.length > 1 ? function(b, c, d) {
736
var e = a.length;
737
while (e--)
738
if (!a[e](b, c, d)) return !1;
739
return !0
740
} : a[0]
741
}
742
743
function ub(a, b, c) {
744
for (var d = 0, e = b.length; e > d; d++) gb(a, b[d], c);
745
return c
746
}
747
748
function vb(a, b, c, d, e) {
749
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));
750
return g
751
}
752
753
function wb(a, b, c, d, e, f) {
754
return d && !d[u] && (d = wb(d)), e && !e[u] && (e = wb(e, f)), ib(function(f, g, h, i) {
755
var j, k, l, m = [],
756
n = [],
757
o = g.length,
758
p = f || ub(b || "*", h.nodeType ? [h] : h, []),
759
q = !a || !f && b ? p : vb(p, m, a, h, i),
760
r = c ? e || (f ? a : o || d) ? [] : g : q;
761
if (c && c(q, r, h, i), d) {
762
j = vb(r, n), d(j, [], h, i), k = j.length;
763
while (k--)(l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
764
}
765
if (f) {
766
if (e || a) {
767
if (e) {
768
j = [], k = r.length;
769
while (k--)(l = r[k]) && j.push(q[k] = l);
770
e(null, r = [], j, i)
771
}
772
k = r.length;
773
while (k--)(l = r[k]) && (j = e ? J(f, l) : m[k]) > -1 && (f[j] = !(g[j] = l))
774
}
775
} else r = vb(r === g ? r.splice(o, r.length) : r), e ? e(null, g, r, i) : H.apply(g, r)
776
})
777
}
778
779
function xb(a) {
780
for (var b, c, e, f = a.length, g = d.relative[a[0].type], h = g || d.relative[" "], i = g ? 1 : 0, k = sb(function(a) {
781
return a === b
782
}, h, !0), l = sb(function(a) {
783
return J(b, a) > -1
784
}, h, !0), m = [function(a, c, d) {
785
var e = !g && (d || c !== j) || ((b = c).nodeType ? k(a, c, d) : l(a, c, d));
786
return b = null, e
787
}]; f > i; i++)
788
if (c = d.relative[a[i].type]) m = [sb(tb(m), c)];
789
else {
790
if (c = d.filter[a[i].type].apply(null, a[i].matches), c[u]) {
791
for (e = ++i; f > e; e++)
792
if (d.relative[a[e].type]) break;
793
return wb(i > 1 && tb(m), i > 1 && rb(a.slice(0, i - 1).concat({
794
value: " " === a[i - 2].type ? "*" : ""
795
})).replace(R, "$1"), c, e > i && xb(a.slice(i, e)), f > e && xb(a = a.slice(e)), f > e && rb(a))
796
}
797
m.push(c)
798
}
799
return tb(m)
800
}
801
802
function yb(a, b) {
803
var c = b.length > 0,
804
e = a.length > 0,
805
f = function(f, g, h, i, k) {
806
var l, m, o, p = 0,
807
q = "0",
808
r = f && [],
809
s = [],
810
t = j,
811
u = f || e && d.find.TAG("*", k),
812
v = w += null == t ? 1 : Math.random() || .1,
813
x = u.length;
814
for (k && (j = g !== n && g); q !== x && null != (l = u[q]); q++) {
815
if (e && l) {
816
m = 0;
817
while (o = a[m++])
818
if (o(l, g, h)) {
819
i.push(l);
820
break
821
}
822
k && (w = v)
823
}
824
c && ((l = !o && l) && p--, f && r.push(l))
825
}
826
if (p += q, c && q !== p) {
827
m = 0;
828
while (o = b[m++]) o(r, s, g, h);
829
if (f) {
830
if (p > 0)
831
while (q--) r[q] || s[q] || (s[q] = F.call(i));
832
s = vb(s)
833
}
834
H.apply(i, s), k && !f && s.length > 0 && p + b.length > 1 && gb.uniqueSort(i)
835
}
836
return k && (w = v, j = t), r
837
};
838
return c ? ib(f) : f
839
}
840
return h = gb.compile = function(a, b) {
841
var c, d = [],
842
e = [],
843
f = A[a + " "];
844
if (!f) {
845
b || (b = g(a)), c = b.length;
846
while (c--) f = xb(b[c]), f[u] ? d.push(f) : e.push(f);
847
f = A(a, yb(e, d)), f.selector = a
848
}
849
return f
850
}, i = gb.select = function(a, b, e, f) {
851
var i, j, k, l, m, n = "function" == typeof a && a,
852
o = !f && g(a = n.selector || a);
853
if (e = e || [], 1 === o.length) {
854
if (j = o[0] = o[0].slice(0), j.length > 2 && "ID" === (k = j[0]).type && c.getById && 9 === b.nodeType && p && d.relative[j[1].type]) {
855
if (b = (d.find.ID(k.matches[0].replace(cb, db), b) || [])[0], !b) return e;
856
n && (b = b.parentNode), a = a.slice(j.shift().value.length)
857
}
858
i = X.needsContext.test(a) ? 0 : j.length;
859
while (i--) {
860
if (k = j[i], d.relative[l = k.type]) break;
861
if ((m = d.find[l]) && (f = m(k.matches[0].replace(cb, db), ab.test(j[0].type) && pb(b.parentNode) || b))) {
862
if (j.splice(i, 1), a = f.length && rb(j), !a) return H.apply(e, f), e;
863
break
864
}
865
}
866
}
867
return (n || h(a, o))(f, b, !p, e, ab.test(a) && pb(b.parentNode) || b), e
868
}, c.sortStable = u.split("").sort(B).join("") === u, c.detectDuplicates = !!l, m(), c.sortDetached = jb(function(a) {
869
return 1 & a.compareDocumentPosition(n.createElement("div"))
870
}), jb(function(a) {
871
return a.innerHTML = "<a href='#'></a>", "#" === a.firstChild.getAttribute("href")
872
}) || kb("type|href|height|width", function(a, b, c) {
873
return c ? void 0 : a.getAttribute(b, "type" === b.toLowerCase() ? 1 : 2)
874
}), c.attributes && jb(function(a) {
875
return a.innerHTML = "<input/>", a.firstChild.setAttribute("value", ""), "" === a.firstChild.getAttribute("value")
876
}) || kb("value", function(a, b, c) {
877
return c || "input" !== a.nodeName.toLowerCase() ? void 0 : a.defaultValue
878
}), jb(function(a) {
879
return null == a.getAttribute("disabled")
880
}) || kb(K, function(a, b, c) {
881
var d;
882
return c ? void 0 : a[b] === !0 ? b.toLowerCase() : (d = a.getAttributeNode(b)) && d.specified ? d.value : null
883
}), gb
884
}(a);
885
n.find = t, n.expr = t.selectors, n.expr[":"] = n.expr.pseudos, n.unique = t.uniqueSort, n.text = t.getText, n.isXMLDoc = t.isXML, n.contains = t.contains;
886
var u = n.expr.match.needsContext,
887
v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
888
w = /^.[^:#\[\.,]*$/;
889
890
function x(a, b, c) {
891
if (n.isFunction(b)) return n.grep(a, function(a, d) {
892
return !!b.call(a, d, a) !== c
893
});
894
if (b.nodeType) return n.grep(a, function(a) {
895
return a === b !== c
896
});
897
if ("string" == typeof b) {
898
if (w.test(b)) return n.filter(b, a, c);
899
b = n.filter(b, a)
900
}
901
return n.grep(a, function(a) {
902
return g.call(b, a) >= 0 !== c
903
})
904
}
905
n.filter = function(a, b, c) {
906
var d = b[0];
907
return c && (a = ":not(" + a + ")"), 1 === b.length && 1 === d.nodeType ? n.find.matchesSelector(d, a) ? [d] : [] : n.find.matches(a, n.grep(b, function(a) {
908
return 1 === a.nodeType
909
}))
910
}, n.fn.extend({
911
find: function(a) {
912
var b, c = this.length,
913
d = [],
914
e = this;
915
if ("string" != typeof a) return this.pushStack(n(a).filter(function() {
916
for (b = 0; c > b; b++)
917
if (n.contains(e[b], this)) return !0
918
}));
919
for (b = 0; c > b; b++) n.find(a, e[b], d);
920
return d = this.pushStack(c > 1 ? n.unique(d) : d), d.selector = this.selector ? this.selector + " " + a : a, d
921
},
922
filter: function(a) {
923
return this.pushStack(x(this, a || [], !1))
924
},
925
not: function(a) {
926
return this.pushStack(x(this, a || [], !0))
927
},
928
is: function(a) {
929
return !!x(this, "string" == typeof a && u.test(a) ? n(a) : a || [], !1).length
930
}
931
});
932
var y, z = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
933
A = n.fn.init = function(a, b) {
934
var c, d;
935
if (!a) return this;
936
if ("string" == typeof a) {
937
if (c = "<" === a[0] && ">" === a[a.length - 1] && a.length >= 3 ? [null, a, null] : z.exec(a), !c || !c[1] && b) return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a);
938
if (c[1]) {
939
if (b = b instanceof n ? b[0] : b, n.merge(this, n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : l, !0)), v.test(c[1]) && n.isPlainObject(b))
940
for (c in b) n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c]);
941
return this
942
}
943
return d = l.getElementById(c[2]), d && d.parentNode && (this.length = 1, this[0] = d), this.context = l, this.selector = a, this
944
}
945
return a.nodeType ? (this.context = this[0] = a, this.length = 1, this) : n.isFunction(a) ? "undefined" != typeof y.ready ? y.ready(a) : a(n) : (void 0 !== a.selector && (this.selector = a.selector, this.context = a.context), n.makeArray(a, this))
946
};
947
A.prototype = n.fn, y = n(l);
948
var B = /^(?:parents|prev(?:Until|All))/,
949
C = {
950
children: !0,
951
contents: !0,
952
next: !0,
953
prev: !0
954
};
955
n.extend({
956
dir: function(a, b, c) {
957
var d = [],
958
e = void 0 !== c;
959
while ((a = a[b]) && 9 !== a.nodeType)
960
if (1 === a.nodeType) {
961
if (e && n(a).is(c)) break;
962
d.push(a)
963
}
964
return d
965
},
966
sibling: function(a, b) {
967
for (var c = []; a; a = a.nextSibling) 1 === a.nodeType && a !== b && c.push(a);
968
return c
969
}
970
}), n.fn.extend({
971
has: function(a) {
972
var b = n(a, this),
973
c = b.length;
974
return this.filter(function() {
975
for (var a = 0; c > a; a++)
976
if (n.contains(this, b[a])) return !0
977
})
978
},
979
closest: function(a, b) {
980
for (var c, d = 0, e = this.length, f = [], g = u.test(a) || "string" != typeof a ? n(a, b || this.context) : 0; e > d; d++)
981
for (c = this[d]; c && c !== b; c = c.parentNode)
982
if (c.nodeType < 11 && (g ? g.index(c) > -1 : 1 === c.nodeType && n.find.matchesSelector(c, a))) {
983
f.push(c);
984
break
985
}
986
return this.pushStack(f.length > 1 ? n.unique(f) : f)
987
},
988
index: function(a) {
989
return a ? "string" == typeof a ? g.call(n(a), this[0]) : g.call(this, a.jquery ? a[0] : a) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
990
},
991
add: function(a, b) {
992
return this.pushStack(n.unique(n.merge(this.get(), n(a, b))))
993
},
994
addBack: function(a) {
995
return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
996
}
997
});
998
999
function D(a, b) {
1000
while ((a = a[b]) && 1 !== a.nodeType);
1001
return a
1002
}
1003
n.each({
1004
parent: function(a) {
1005
var b = a.parentNode;
1006
return b && 11 !== b.nodeType ? b : null
1007
},
1008
parents: function(a) {
1009
return n.dir(a, "parentNode")
1010
},
1011
parentsUntil: function(a, b, c) {
1012
return n.dir(a, "parentNode", c)
1013
},
1014
next: function(a) {
1015
return D(a, "nextSibling")
1016
},
1017
prev: function(a) {
1018
return D(a, "previousSibling")
1019
},
1020
nextAll: function(a) {
1021
return n.dir(a, "nextSibling")
1022
},
1023
prevAll: function(a) {
1024
return n.dir(a, "previousSibling")
1025
},
1026
nextUntil: function(a, b, c) {
1027
return n.dir(a, "nextSibling", c)
1028
},
1029
prevUntil: function(a, b, c) {
1030
return n.dir(a, "previousSibling", c)
1031
},
1032
siblings: function(a) {
1033
return n.sibling((a.parentNode || {}).firstChild, a)
1034
},
1035
children: function(a) {
1036
return n.sibling(a.firstChild)
1037
},
1038
contents: function(a) {
1039
return a.contentDocument || n.merge([], a.childNodes)
1040
}
1041
}, function(a, b) {
1042
n.fn[a] = function(c, d) {
1043
var e = n.map(this, b, c);
1044
return "Until" !== a.slice(-5) && (d = c), d && "string" == typeof d && (e = n.filter(d, e)), this.length > 1 && (C[a] || n.unique(e), B.test(a) && e.reverse()), this.pushStack(e)
1045
}
1046
});
1047
var E = /\S+/g,
1048
F = {};
1049
1050
function G(a) {
1051
var b = F[a] = {};
1052
return n.each(a.match(E) || [], function(a, c) {
1053
b[c] = !0
1054
}), b
1055
}
1056
n.Callbacks = function(a) {
1057
a = "string" == typeof a ? F[a] || G(a) : n.extend({}, a);
1058
var b, c, d, e, f, g, h = [],
1059
i = !a.once && [],
1060
j = function(l) {
1061
for (b = a.memory && l, c = !0, g = e || 0, e = 0, f = h.length, d = !0; h && f > g; g++)
1062
if (h[g].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
1063
b = !1;
1064
break
1065
}
1066
d = !1, h && (i ? i.length && j(i.shift()) : b ? h = [] : k.disable())
1067
},
1068
k = {
1069
add: function() {
1070
if (h) {
1071
var c = h.length;
1072
! function g(b) {
1073
n.each(b, function(b, c) {
1074
var d = n.type(c);
1075
"function" === d ? a.unique && k.has(c) || h.push(c) : c && c.length && "string" !== d && g(c)
1076
})
1077
}(arguments), d ? f = h.length : b && (e = c, j(b))
1078
}
1079
return this
1080
},
1081
remove: function() {
1082
return h && n.each(arguments, function(a, b) {
1083
var c;
1084
while ((c = n.inArray(b, h, c)) > -1) h.splice(c, 1), d && (f >= c && f--, g >= c && g--)
1085
}), this
1086
},
1087
has: function(a) {
1088
return a ? n.inArray(a, h) > -1 : !(!h || !h.length)
1089
},
1090
empty: function() {
1091
return h = [], f = 0, this
1092
},
1093
disable: function() {
1094
return h = i = b = void 0, this
1095
},
1096
disabled: function() {
1097
return !h
1098
},
1099
lock: function() {
1100
return i = void 0, b || k.disable(), this
1101
},
1102
locked: function() {
1103
return !i
1104
},
1105
fireWith: function(a, b) {
1106
return !h || c && !i || (b = b || [], b = [a, b.slice ? b.slice() : b], d ? i.push(b) : j(b)), this
1107
},
1108
fire: function() {
1109
return k.fireWith(this, arguments), this
1110
},
1111
fired: function() {
1112
return !!c
1113
}
1114
};
1115
return k
1116
}, n.extend({
1117
Deferred: function(a) {
1118
var b = [
1119
["resolve", "done", n.Callbacks("once memory"), "resolved"],
1120
["reject", "fail", n.Callbacks("once memory"), "rejected"],
1121
["notify", "progress", n.Callbacks("memory")]
1122
],
1123
c = "pending",
1124
d = {
1125
state: function() {
1126
return c
1127
},
1128
always: function() {
1129
return e.done(arguments).fail(arguments), this
1130
},
1131
then: function() {
1132
var a = arguments;
1133
return n.Deferred(function(c) {
1134
n.each(b, function(b, f) {
1135
var g = n.isFunction(a[b]) && a[b];
1136
e[f[1]](function() {
1137
var a = g && g.apply(this, arguments);
1138
a && n.isFunction(a.promise) ? a.promise().done(c.resolve).fail(c.reject).progress(c.notify) : c[f[0] + "With"](this === d ? c.promise() : this, g ? [a] : arguments)
1139
})
1140
}), a = null
1141
}).promise()
1142
},
1143
promise: function(a) {
1144
return null != a ? n.extend(a, d) : d
1145
}
1146
},
1147
e = {};
1148
return d.pipe = d.then, n.each(b, function(a, f) {
1149
var g = f[2],
1150
h = f[3];
1151
d[f[1]] = g.add, h && g.add(function() {
1152
c = h
1153
}, b[1 ^ a][2].disable, b[2][2].lock), e[f[0]] = function() {
1154
return e[f[0] + "With"](this === e ? d : this, arguments), this
1155
}, e[f[0] + "With"] = g.fireWith
1156
}), d.promise(e), a && a.call(e, e), e
1157
},
1158
when: function(a) {
1159
var b = 0,
1160
c = d.call(arguments),
1161
e = c.length,
1162
f = 1 !== e || a && n.isFunction(a.promise) ? e : 0,
1163
g = 1 === f ? a : n.Deferred(),
1164
h = function(a, b, c) {
1165
return function(e) {
1166
b[a] = this, c[a] = arguments.length > 1 ? d.call(arguments) : e, c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
1167
}
1168
},
1169
i, j, k;
1170
if (e > 1)
1171
for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++) c[b] && n.isFunction(c[b].promise) ? c[b].promise().done(h(b, k, c)).fail(g.reject).progress(h(b, j, i)) : --f;
1172
return f || g.resolveWith(k, c), g.promise()
1173
}
1174
});
1175
var H;
1176
n.fn.ready = function(a) {
1177
return n.ready.promise().done(a), this
1178
}, n.extend({
1179
isReady: !1,
1180
readyWait: 1,
1181
holdReady: function(a) {
1182
a ? n.readyWait++ : n.ready(!0)
1183
},
1184
ready: function(a) {
1185
(a === !0 ? --n.readyWait : n.isReady) || (n.isReady = !0, a !== !0 && --n.readyWait > 0 || (H.resolveWith(l, [n]), n.fn.triggerHandler && (n(l).triggerHandler("ready"), n(l).off("ready"))))
1186
}
1187
});
1188
1189
function I() {
1190
l.removeEventListener("DOMContentLoaded", I, !1), a.removeEventListener("load", I, !1), n.ready()
1191
}
1192
n.ready.promise = function(b) {
1193
return H || (H = n.Deferred(), "complete" === l.readyState ? setTimeout(n.ready) : (l.addEventListener("DOMContentLoaded", I, !1), a.addEventListener("load", I, !1))), H.promise(b)
1194
}, n.ready.promise();
1195
var J = n.access = function(a, b, c, d, e, f, g) {
1196
var h = 0,
1197
i = a.length,
1198
j = null == c;
1199
if ("object" === n.type(c)) {
1200
e = !0;
1201
for (h in c) n.access(a, b, h, c[h], !0, f, g)
1202
} else if (void 0 !== d && (e = !0, n.isFunction(d) || (g = !0), j && (g ? (b.call(a, d), b = null) : (j = b, b = function(a, b, c) {
1203
return j.call(n(a), c)
1204
})), b))
1205
for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)));
1206
return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
1207
};
1208
n.acceptData = function(a) {
1209
return 1 === a.nodeType || 9 === a.nodeType || !+a.nodeType
1210
};
1211
1212
function K() {
1213
Object.defineProperty(this.cache = {}, 0, {
1214
get: function() {
1215
return {}
1216
}
1217
}), this.expando = n.expando + K.uid++
1218
}
1219
K.uid = 1, K.accepts = n.acceptData, K.prototype = {
1220
key: function(a) {
1221
if (!K.accepts(a)) return 0;
1222
var b = {},
1223
c = a[this.expando];
1224
if (!c) {
1225
c = K.uid++;
1226
try {
1227
b[this.expando] = {
1228
value: c
1229
}, Object.defineProperties(a, b)
1230
} catch (d) {
1231
b[this.expando] = c, n.extend(a, b)
1232
}
1233
}
1234
return this.cache[c] || (this.cache[c] = {}), c
1235
},
1236
set: function(a, b, c) {
1237
var d, e = this.key(a),
1238
f = this.cache[e];
1239
if ("string" == typeof b) f[b] = c;
1240
else if (n.isEmptyObject(f)) n.extend(this.cache[e], b);
1241
else
1242
for (d in b) f[d] = b[d];
1243
return f
1244
},
1245
get: function(a, b) {
1246
var c = this.cache[this.key(a)];
1247
return void 0 === b ? c : c[b]
1248
},
1249
access: function(a, b, c) {
1250
var d;
1251
return void 0 === b || b && "string" == typeof b && void 0 === c ? (d = this.get(a, b), void 0 !== d ? d : this.get(a, n.camelCase(b))) : (this.set(a, b, c), void 0 !== c ? c : b)
1252
},
1253
remove: function(a, b) {
1254
var c, d, e, f = this.key(a),
1255
g = this.cache[f];
1256
if (void 0 === b) this.cache[f] = {};
1257
else {
1258
n.isArray(b) ? d = b.concat(b.map(n.camelCase)) : (e = n.camelCase(b), b in g ? d = [b, e] : (d = e, d = d in g ? [d] : d.match(E) || [])), c = d.length;
1259
while (c--) delete g[d[c]]
1260
}
1261
},
1262
hasData: function(a) {
1263
return !n.isEmptyObject(this.cache[a[this.expando]] || {})
1264
},
1265
discard: function(a) {
1266
a[this.expando] && delete this.cache[a[this.expando]]
1267
}
1268
};
1269
var L = new K,
1270
M = new K,
1271
N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
1272
O = /([A-Z])/g;
1273
1274
function P(a, b, c) {
1275
var d;
1276
if (void 0 === c && 1 === a.nodeType)
1277
if (d = "data-" + b.replace(O, "-$1").toLowerCase(), c = a.getAttribute(d), "string" == typeof c) {
1278
try {
1279
c = "true" === c ? !0 : "false" === c ? !1 : "null" === c ? null : +c + "" === c ? +c : N.test(c) ? n.parseJSON(c) : c
1280
} catch (e) {}
1281
M.set(a, b, c)
1282
} else c = void 0;
1283
return c
1284
}
1285
n.extend({
1286
hasData: function(a) {
1287
return M.hasData(a) || L.hasData(a)
1288
},
1289
data: function(a, b, c) {
1290
return M.access(a, b, c)
1291
},
1292
removeData: function(a, b) {
1293
M.remove(a, b)
1294
},
1295
_data: function(a, b, c) {
1296
return L.access(a, b, c)
1297
},
1298
_removeData: function(a, b) {
1299
L.remove(a, b)
1300
}
1301
}), n.fn.extend({
1302
data: function(a, b) {
1303
var c, d, e, f = this[0],
1304
g = f && f.attributes;
1305
if (void 0 === a) {
1306
if (this.length && (e = M.get(f), 1 === f.nodeType && !L.get(f, "hasDataAttrs"))) {
1307
c = g.length;
1308
while (c--) g[c] && (d = g[c].name, 0 === d.indexOf("data-") && (d = n.camelCase(d.slice(5)), P(f, d, e[d])));
1309
L.set(f, "hasDataAttrs", !0)
1310
}
1311
return e
1312
}
1313
return "object" == typeof a ? this.each(function() {
1314
M.set(this, a)
1315
}) : J(this, function(b) {
1316
var c, d = n.camelCase(a);
1317
if (f && void 0 === b) {
1318
if (c = M.get(f, a), void 0 !== c) return c;
1319
if (c = M.get(f, d), void 0 !== c) return c;
1320
if (c = P(f, d, void 0), void 0 !== c) return c
1321
} else this.each(function() {
1322
var c = M.get(this, d);
1323
M.set(this, d, b), -1 !== a.indexOf("-") && void 0 !== c && M.set(this, a, b)
1324
})
1325
}, null, b, arguments.length > 1, null, !0)
1326
},
1327
removeData: function(a) {
1328
return this.each(function() {
1329
M.remove(this, a)
1330
})
1331
}
1332
}), n.extend({
1333
queue: function(a, b, c) {
1334
var d;
1335
return a ? (b = (b || "fx") + "queue", d = L.get(a, b), c && (!d || n.isArray(c) ? d = L.access(a, b, n.makeArray(c)) : d.push(c)), d || []) : void 0
1336
},
1337
dequeue: function(a, b) {
1338
b = b || "fx";
1339
var c = n.queue(a, b),
1340
d = c.length,
1341
e = c.shift(),
1342
f = n._queueHooks(a, b),
1343
g = function() {
1344
n.dequeue(a, b)
1345
};
1346
"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()
1347
},
1348
_queueHooks: function(a, b) {
1349
var c = b + "queueHooks";
1350
return L.get(a, c) || L.access(a, c, {
1351
empty: n.Callbacks("once memory").add(function() {
1352
L.remove(a, [b + "queue", c])
1353
})
1354
})
1355
}
1356
}), n.fn.extend({
1357
queue: function(a, b) {
1358
var c = 2;
1359
return "string" != typeof a && (b = a, a = "fx", c--), arguments.length < c ? n.queue(this[0], a) : void 0 === b ? this : this.each(function() {
1360
var c = n.queue(this, a, b);
1361
n._queueHooks(this, a), "fx" === a && "inprogress" !== c[0] && n.dequeue(this, a)
1362
})
1363
},
1364
dequeue: function(a) {
1365
return this.each(function() {
1366
n.dequeue(this, a)
1367
})
1368
},
1369
clearQueue: function(a) {
1370
return this.queue(a || "fx", [])
1371
},
1372
promise: function(a, b) {
1373
var c, d = 1,
1374
e = n.Deferred(),
1375
f = this,
1376
g = this.length,
1377
h = function() {
1378
--d || e.resolveWith(f, [f])
1379
};
1380
"string" != typeof a && (b = a, a = void 0), a = a || "fx";
1381
while (g--) c = L.get(f[g], a + "queueHooks"), c && c.empty && (d++, c.empty.add(h));
1382
return h(), e.promise(b)
1383
}
1384
});
1385
var Q = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
1386
R = ["Top", "Right", "Bottom", "Left"],
1387
S = function(a, b) {
1388
return a = b || a, "none" === n.css(a, "display") || !n.contains(a.ownerDocument, a)
1389
},
1390
T = /^(?:checkbox|radio)$/i;
1391
! function() {
1392
var a = l.createDocumentFragment(),
1393
b = a.appendChild(l.createElement("div")),
1394
c = l.createElement("input");
1395
c.setAttribute("type", "radio"), c.setAttribute("checked", "checked"), c.setAttribute("name", "t"), b.appendChild(c), k.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked, b.innerHTML = "<textarea>x</textarea>", k.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue
1396
}();
1397
var U = "undefined";
1398
k.focusinBubbles = "onfocusin" in a;
1399
var V = /^key/,
1400
W = /^(?:mouse|pointer|contextmenu)|click/,
1401
X = /^(?:focusinfocus|focusoutblur)$/,
1402
Y = /^([^.]*)(?:\.(.+)|)$/;
1403
1404
function Z() {
1405
return !0
1406
}
1407
1408
function $() {
1409
return !1
1410
}
1411
1412
function _() {
1413
try {
1414
return l.activeElement
1415
} catch (a) {}
1416
}
1417
n.event = {
1418
global: {},
1419
add: function(a, b, c, d, e) {
1420
var f, g, h, i, j, k, l, m, o, p, q, r = L.get(a);
1421
if (r) {
1422
c.handler && (f = c, c = f.handler, e = f.selector), c.guid || (c.guid = n.guid++), (i = r.events) || (i = r.events = {}), (g = r.handle) || (g = r.handle = function(b) {
1423
return typeof n !== U && n.event.triggered !== b.type ? n.event.dispatch.apply(a, arguments) : void 0
1424
}), b = (b || "").match(E) || [""], j = b.length;
1425
while (j--) h = Y.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o && (l = n.event.special[o] || {}, o = (e ? l.delegateType : l.bindType) || o, l = n.event.special[o] || {}, k = n.extend({
1426
type: o,
1427
origType: q,
1428
data: d,
1429
handler: c,
1430
guid: c.guid,
1431
selector: e,
1432
needsContext: e && n.expr.match.needsContext.test(e),
1433
namespace: p.join(".")
1434
}, f), (m = i[o]) || (m = i[o] = [], m.delegateCount = 0, l.setup && l.setup.call(a, d, p, g) !== !1 || a.addEventListener && a.addEventListener(o, g, !1)), l.add && (l.add.call(a, k), k.handler.guid || (k.handler.guid = c.guid)), e ? m.splice(m.delegateCount++, 0, k) : m.push(k), n.event.global[o] = !0)
1435
}
1436
},
1437
remove: function(a, b, c, d, e) {
1438
var f, g, h, i, j, k, l, m, o, p, q, r = L.hasData(a) && L.get(a);
1439
if (r && (i = r.events)) {
1440
b = (b || "").match(E) || [""], j = b.length;
1441
while (j--)
1442
if (h = Y.exec(b[j]) || [], o = q = h[1], p = (h[2] || "").split(".").sort(), o) {
1443
l = n.event.special[o] || {}, o = (d ? l.delegateType : l.bindType) || o, m = i[o] || [], h = h[2] && new RegExp("(^|\\.)" + p.join("\\.(?:.*\\.|)") + "(\\.|$)"), g = f = m.length;
1444
while (f--) k = m[f], !e && q !== k.origType || c && c.guid !== k.guid || h && !h.test(k.namespace) || d && d !== k.selector && ("**" !== d || !k.selector) || (m.splice(f, 1), k.selector && m.delegateCount--, l.remove && l.remove.call(a, k));
1445
g && !m.length && (l.teardown && l.teardown.call(a, p, r.handle) !== !1 || n.removeEvent(a, o, r.handle), delete i[o])
1446
} else
1447
for (o in i) n.event.remove(a, o + b[j], c, d, !0);
1448
n.isEmptyObject(i) && (delete r.handle, L.remove(a, "events"))
1449
}
1450
},
1451
trigger: function(b, c, d, e) {
1452
var f, g, h, i, k, m, o, p = [d || l],
1453
q = j.call(b, "type") ? b.type : b,
1454
r = j.call(b, "namespace") ? b.namespace.split(".") : [];
1455
if (g = h = d = d || l, 3 !== d.nodeType && 8 !== d.nodeType && !X.test(q + n.event.triggered) && (q.indexOf(".") >= 0 && (r = q.split("."), q = r.shift(), r.sort()), k = q.indexOf(":") < 0 && "on" + q, b = b[n.expando] ? b : new n.Event(q, "object" == typeof b && b), b.isTrigger = e ? 2 : 3, b.namespace = r.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + r.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = d), c = null == c ? [b] : n.makeArray(c, [b]), o = n.event.special[q] || {}, e || !o.trigger || o.trigger.apply(d, c) !== !1)) {
1456
if (!e && !o.noBubble && !n.isWindow(d)) {
1457
for (i = o.delegateType || q, X.test(i + q) || (g = g.parentNode); g; g = g.parentNode) p.push(g), h = g;
1458
h === (d.ownerDocument || l) && p.push(h.defaultView || h.parentWindow || a)
1459
}
1460
f = 0;
1461
while ((g = p[f++]) && !b.isPropagationStopped()) b.type = f > 1 ? i : o.bindType || q, m = (L.get(g, "events") || {})[b.type] && L.get(g, "handle"), m && m.apply(g, c), m = k && g[k], m && m.apply && n.acceptData(g) && (b.result = m.apply(g, c), b.result === !1 && b.preventDefault());
1462
return b.type = q, e || b.isDefaultPrevented() || o._default && o._default.apply(p.pop(), c) !== !1 || !n.acceptData(d) || k && n.isFunction(d[q]) && !n.isWindow(d) && (h = d[k], h && (d[k] = null), n.event.triggered = q, d[q](), n.event.triggered = void 0, h && (d[k] = h)), b.result
1463
}
1464
},
1465
dispatch: function(a) {
1466
a = n.event.fix(a);
1467
var b, c, e, f, g, h = [],
1468
i = d.call(arguments),
1469
j = (L.get(this, "events") || {})[a.type] || [],
1470
k = n.event.special[a.type] || {};
1471
if (i[0] = a, a.delegateTarget = this, !k.preDispatch || k.preDispatch.call(this, a) !== !1) {
1472
h = n.event.handlers.call(this, a, j), b = 0;
1473
while ((f = h[b++]) && !a.isPropagationStopped()) {
1474
a.currentTarget = f.elem, c = 0;
1475
while ((g = f.handlers[c++]) && !a.isImmediatePropagationStopped())(!a.namespace_re || a.namespace_re.test(g.namespace)) && (a.handleObj = g, a.data = g.data, e = ((n.event.special[g.origType] || {}).handle || g.handler).apply(f.elem, i), void 0 !== e && (a.result = e) === !1 && (a.preventDefault(), a.stopPropagation()))
1476
}
1477
return k.postDispatch && k.postDispatch.call(this, a), a.result
1478
}
1479
},
1480
handlers: function(a, b) {
1481
var c, d, e, f, g = [],
1482
h = b.delegateCount,
1483
i = a.target;
1484
if (h && i.nodeType && (!a.button || "click" !== a.type))
1485
for (; i !== this; i = i.parentNode || this)
1486
if (i.disabled !== !0 || "click" !== a.type) {
1487
for (d = [], c = 0; h > c; c++) f = b[c], e = f.selector + " ", void 0 === d[e] && (d[e] = f.needsContext ? n(e, this).index(i) >= 0 : n.find(e, this, null, [i]).length), d[e] && d.push(f);
1488
d.length && g.push({
1489
elem: i,
1490
handlers: d
1491
})
1492
}
1493
return h < b.length && g.push({
1494
elem: this,
1495
handlers: b.slice(h)
1496
}), g
1497
},
1498
props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
1499
fixHooks: {},
1500
keyHooks: {
1501
props: "char charCode key keyCode".split(" "),
1502
filter: function(a, b) {
1503
return null == a.which && (a.which = null != b.charCode ? b.charCode : b.keyCode), a
1504
}
1505
},
1506
mouseHooks: {
1507
props: "button buttons clientX clientY offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
1508
filter: function(a, b) {
1509
var c, d, e, f = b.button;
1510
return null == a.pageX && null != b.clientX && (c = a.target.ownerDocument || l, d = c.documentElement, e = c.body, a.pageX = b.clientX + (d && d.scrollLeft || e && e.scrollLeft || 0) - (d && d.clientLeft || e && e.clientLeft || 0), a.pageY = b.clientY + (d && d.scrollTop || e && e.scrollTop || 0) - (d && d.clientTop || e && e.clientTop || 0)), a.which || void 0 === f || (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0), a
1511
}
1512
},
1513
fix: function(a) {
1514
if (a[n.expando]) return a;
1515
var b, c, d, e = a.type,
1516
f = a,
1517
g = this.fixHooks[e];
1518
g || (this.fixHooks[e] = g = W.test(e) ? this.mouseHooks : V.test(e) ? this.keyHooks : {}), d = g.props ? this.props.concat(g.props) : this.props, a = new n.Event(f), b = d.length;
1519
while (b--) c = d[b], a[c] = f[c];
1520
return a.target || (a.target = l), 3 === a.target.nodeType && (a.target = a.target.parentNode), g.filter ? g.filter(a, f) : a
1521
},
1522
special: {
1523
load: {
1524
noBubble: !0
1525
},
1526
focus: {
1527
trigger: function() {
1528
return this !== _() && this.focus ? (this.focus(), !1) : void 0
1529
},
1530
delegateType: "focusin"
1531
},
1532
blur: {
1533
trigger: function() {
1534
return this === _() && this.blur ? (this.blur(), !1) : void 0
1535
},
1536
delegateType: "focusout"
1537
},
1538
click: {
1539
trigger: function() {
1540
return "checkbox" === this.type && this.click && n.nodeName(this, "input") ? (this.click(), !1) : void 0
1541
},
1542
_default: function(a) {
1543
return n.nodeName(a.target, "a")
1544
}
1545
},
1546
beforeunload: {
1547
postDispatch: function(a) {
1548
void 0 !== a.result && a.originalEvent && (a.originalEvent.returnValue = a.result)
1549
}
1550
}
1551
},
1552
simulate: function(a, b, c, d) {
1553
var e = n.extend(new n.Event, c, {
1554
type: a,
1555
isSimulated: !0,
1556
originalEvent: {}
1557
});
1558
d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e), e.isDefaultPrevented() && c.preventDefault()
1559
}
1560
}, n.removeEvent = function(a, b, c) {
1561
a.removeEventListener && a.removeEventListener(b, c, !1)
1562
}, n.Event = function(a, b) {
1563
return this instanceof n.Event ? (a && a.type ? (this.originalEvent = a, this.type = a.type, this.isDefaultPrevented = a.defaultPrevented || void 0 === a.defaultPrevented && a.returnValue === !1 ? Z : $) : this.type = a, b && n.extend(this, b), this.timeStamp = a && a.timeStamp || n.now(), void(this[n.expando] = !0)) : new n.Event(a, b)
1564
}, n.Event.prototype = {
1565
isDefaultPrevented: $,
1566
isPropagationStopped: $,
1567
isImmediatePropagationStopped: $,
1568
preventDefault: function() {
1569
var a = this.originalEvent;
1570
this.isDefaultPrevented = Z, a && a.preventDefault && a.preventDefault()
1571
},
1572
stopPropagation: function() {
1573
var a = this.originalEvent;
1574
this.isPropagationStopped = Z, a && a.stopPropagation && a.stopPropagation()
1575
},
1576
stopImmediatePropagation: function() {
1577
var a = this.originalEvent;
1578
this.isImmediatePropagationStopped = Z, a && a.stopImmediatePropagation && a.stopImmediatePropagation(), this.stopPropagation()
1579
}
1580
}, n.each({
1581
mouseenter: "mouseover",
1582
mouseleave: "mouseout",
1583
pointerenter: "pointerover",
1584
pointerleave: "pointerout"
1585
}, function(a, b) {
1586
n.event.special[a] = {
1587
delegateType: b,
1588
bindType: b,
1589
handle: function(a) {
1590
var c, d = this,
1591
e = a.relatedTarget,
1592
f = a.handleObj;
1593
return (!e || e !== d && !n.contains(d, e)) && (a.type = f.origType, c = f.handler.apply(this, arguments), a.type = b), c
1594
}
1595
}
1596
}), k.focusinBubbles || n.each({
1597
focus: "focusin",
1598
blur: "focusout"
1599
}, function(a, b) {
1600
var c = function(a) {
1601
n.event.simulate(b, a.target, n.event.fix(a), !0)
1602
};
1603
n.event.special[b] = {
1604
setup: function() {
1605
var d = this.ownerDocument || this,
1606
e = L.access(d, b);
1607
e || d.addEventListener(a, c, !0), L.access(d, b, (e || 0) + 1)
1608
},
1609
teardown: function() {
1610
var d = this.ownerDocument || this,
1611
e = L.access(d, b) - 1;
1612
e ? L.access(d, b, e) : (d.removeEventListener(a, c, !0), L.remove(d, b))
1613
}
1614
}
1615
}), n.fn.extend({
1616
on: function(a, b, c, d, e) {
1617
var f, g;
1618
if ("object" == typeof a) {
1619
"string" != typeof b && (c = c || b, b = void 0);
1620
for (g in a) this.on(g, b, c, a[g], e);
1621
return this
1622
}
1623
if (null == c && null == d ? (d = b, c = b = void 0) : null == d && ("string" == typeof b ? (d = c, c = void 0) : (d = c, c = b, b = void 0)), d === !1) d = $;
1624
else if (!d) return this;
1625
return 1 === e && (f = d, d = function(a) {
1626
return n().off(a), f.apply(this, arguments)
1627
}, d.guid = f.guid || (f.guid = n.guid++)), this.each(function() {
1628
n.event.add(this, a, d, c, b)
1629
})
1630
},
1631
one: function(a, b, c, d) {
1632
return this.on(a, b, c, d, 1)
1633
},
1634
off: function(a, b, c) {
1635
var d, e;
1636
if (a && a.preventDefault && a.handleObj) return d = a.handleObj, n(a.delegateTarget).off(d.namespace ? d.origType + "." + d.namespace : d.origType, d.selector, d.handler), this;
1637
if ("object" == typeof a) {
1638
for (e in a) this.off(e, b, a[e]);
1639
return this
1640
}
1641
return (b === !1 || "function" == typeof b) && (c = b, b = void 0), c === !1 && (c = $), this.each(function() {
1642
n.event.remove(this, a, c, b)
1643
})
1644
},
1645
trigger: function(a, b) {
1646
return this.each(function() {
1647
n.event.trigger(a, b, this)
1648
})
1649
},
1650
triggerHandler: function(a, b) {
1651
var c = this[0];
1652
return c ? n.event.trigger(a, b, c, !0) : void 0
1653
}
1654
});
1655
var ab = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
1656
bb = /<([\w:]+)/,
1657
cb = /<|&#?\w+;/,
1658
db = /<(?:script|style|link)/i,
1659
eb = /checked\s*(?:[^=]|=\s*.checked.)/i,
1660
fb = /^$|\/(?:java|ecma)script/i,
1661
gb = /^true\/(.*)/,
1662
hb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
1663
ib = {
1664
option: [1, "<select multiple='multiple'>", "</select>"],
1665
thead: [1, "<table>", "</table>"],
1666
col: [2, "<table><colgroup>", "</colgroup></table>"],
1667
tr: [2, "<table><tbody>", "</tbody></table>"],
1668
td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
1669
_default: [0, "", ""]
1670
};
1671
ib.optgroup = ib.option, ib.tbody = ib.tfoot = ib.colgroup = ib.caption = ib.thead, ib.th = ib.td;
1672
1673
function jb(a, b) {
1674
return n.nodeName(a, "table") && n.nodeName(11 !== b.nodeType ? b : b.firstChild, "tr") ? a.getElementsByTagName("tbody")[0] || a.appendChild(a.ownerDocument.createElement("tbody")) : a
1675
}
1676
1677
function kb(a) {
1678
return a.type = (null !== a.getAttribute("type")) + "/" + a.type, a
1679
}
1680
1681
function lb(a) {
1682
var b = gb.exec(a.type);
1683
return b ? a.type = b[1] : a.removeAttribute("type"), a
1684
}
1685
1686
function mb(a, b) {
1687
for (var c = 0, d = a.length; d > c; c++) L.set(a[c], "globalEval", !b || L.get(b[c], "globalEval"))
1688
}
1689
1690
function nb(a, b) {
1691
var c, d, e, f, g, h, i, j;
1692
if (1 === b.nodeType) {
1693
if (L.hasData(a) && (f = L.access(a), g = L.set(b, f), j = f.events)) {
1694
delete g.handle, g.events = {};
1695
for (e in j)
1696
for (c = 0, d = j[e].length; d > c; c++) n.event.add(b, e, j[e][c])
1697
}
1698
M.hasData(a) && (h = M.access(a), i = n.extend({}, h), M.set(b, i))
1699
}
1700
}
1701
1702
function ob(a, b) {
1703
var c = a.getElementsByTagName ? a.getElementsByTagName(b || "*") : a.querySelectorAll ? a.querySelectorAll(b || "*") : [];
1704
return void 0 === b || b && n.nodeName(a, b) ? n.merge([a], c) : c
1705
}
1706
1707
function pb(a, b) {
1708
var c = b.nodeName.toLowerCase();
1709
"input" === c && T.test(a.type) ? b.checked = a.checked : ("input" === c || "textarea" === c) && (b.defaultValue = a.defaultValue)
1710
}
1711
n.extend({
1712
clone: function(a, b, c) {
1713
var d, e, f, g, h = a.cloneNode(!0),
1714
i = n.contains(a.ownerDocument, a);
1715
if (!(k.noCloneChecked || 1 !== a.nodeType && 11 !== a.nodeType || n.isXMLDoc(a)))
1716
for (g = ob(h), f = ob(a), d = 0, e = f.length; e > d; d++) pb(f[d], g[d]);
1717
if (b)
1718
if (c)
1719
for (f = f || ob(a), g = g || ob(h), d = 0, e = f.length; e > d; d++) nb(f[d], g[d]);
1720
else nb(a, h);
1721
return g = ob(h, "script"), g.length > 0 && mb(g, !i && ob(a, "script")), h
1722
},
1723
buildFragment: function(a, b, c, d) {
1724
for (var e, f, g, h, i, j, k = b.createDocumentFragment(), l = [], m = 0, o = a.length; o > m; m++)
1725
if (e = a[m], e || 0 === e)
1726
if ("object" === n.type(e)) n.merge(l, e.nodeType ? [e] : e);
1727
else if (cb.test(e)) {
1728
f = f || k.appendChild(b.createElement("div")), g = (bb.exec(e) || ["", ""])[1].toLowerCase(), h = ib[g] || ib._default, f.innerHTML = h[1] + e.replace(ab, "<$1></$2>") + h[2], j = h[0];
1729
while (j--) f = f.lastChild;
1730
n.merge(l, f.childNodes), f = k.firstChild, f.textContent = ""
1731
} else l.push(b.createTextNode(e));
1732
k.textContent = "", m = 0;
1733
while (e = l[m++])
1734
if ((!d || -1 === n.inArray(e, d)) && (i = n.contains(e.ownerDocument, e), f = ob(k.appendChild(e), "script"), i && mb(f), c)) {
1735
j = 0;
1736
while (e = f[j++]) fb.test(e.type || "") && c.push(e)
1737
}
1738
return k
1739
},
1740
cleanData: function(a) {
1741
for (var b, c, d, e, f = n.event.special, g = 0; void 0 !== (c = a[g]); g++) {
1742
if (n.acceptData(c) && (e = c[L.expando], e && (b = L.cache[e]))) {
1743
if (b.events)
1744
for (d in b.events) f[d] ? n.event.remove(c, d) : n.removeEvent(c, d, b.handle);
1745
L.cache[e] && delete L.cache[e]
1746
}
1747
delete M.cache[c[M.expando]]
1748
}
1749
}
1750
}), n.fn.extend({
1751
text: function(a) {
1752
return J(this, function(a) {
1753
return void 0 === a ? n.text(this) : this.empty().each(function() {
1754
(1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) && (this.textContent = a)
1755
})
1756
}, null, a, arguments.length)
1757
},
1758
append: function() {
1759
return this.domManip(arguments, function(a) {
1760
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
1761
var b = jb(this, a);
1762
b.appendChild(a)
1763
}
1764
})
1765
},
1766
prepend: function() {
1767
return this.domManip(arguments, function(a) {
1768
if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
1769
var b = jb(this, a);
1770
b.insertBefore(a, b.firstChild)
1771
}
1772
})
1773
},
1774
before: function() {
1775
return this.domManip(arguments, function(a) {
1776
this.parentNode && this.parentNode.insertBefore(a, this)
1777
})
1778
},
1779
after: function() {
1780
return this.domManip(arguments, function(a) {
1781
this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
1782
})
1783
},
1784
remove: function(a, b) {
1785
for (var c, d = a ? n.filter(a, this) : this, e = 0; null != (c = d[e]); e++) b || 1 !== c.nodeType || n.cleanData(ob(c)), c.parentNode && (b && n.contains(c.ownerDocument, c) && mb(ob(c, "script")), c.parentNode.removeChild(c));
1786
return this
1787
},
1788
empty: function() {
1789
for (var a, b = 0; null != (a = this[b]); b++) 1 === a.nodeType && (n.cleanData(ob(a, !1)), a.textContent = "");
1790
return this
1791
},
1792
clone: function(a, b) {
1793
return a = null == a ? !1 : a, b = null == b ? a : b, this.map(function() {
1794
return n.clone(this, a, b)
1795
})
1796
},
1797
html: function(a) {
1798
return J(this, function(a) {
1799
var b = this[0] || {},
1800
c = 0,
1801
d = this.length;
1802
if (void 0 === a && 1 === b.nodeType) return b.innerHTML;
1803
if ("string" == typeof a && !db.test(a) && !ib[(bb.exec(a) || ["", ""])[1].toLowerCase()]) {
1804
a = a.replace(ab, "<$1></$2>");
1805
try {
1806
for (; d > c; c++) b = this[c] || {}, 1 === b.nodeType && (n.cleanData(ob(b, !1)), b.innerHTML = a);
1807
b = 0
1808
} catch (e) {}
1809
}
1810
b && this.empty().append(a)
1811
}, null, a, arguments.length)
1812
},
1813
replaceWith: function() {
1814
var a = arguments[0];
1815
return this.domManip(arguments, function(b) {
1816
a = this.parentNode, n.cleanData(ob(this)), a && a.replaceChild(b, this)
1817
}), a && (a.length || a.nodeType) ? this : this.remove()
1818
},
1819
detach: function(a) {
1820
return this.remove(a, !0)
1821
},
1822
domManip: function(a, b) {
1823
a = e.apply([], a);
1824
var c, d, f, g, h, i, j = 0,
1825
l = this.length,
1826
m = this,
1827
o = l - 1,
1828
p = a[0],
1829
q = n.isFunction(p);
1830
if (q || l > 1 && "string" == typeof p && !k.checkClone && eb.test(p)) return this.each(function(c) {
1831
var d = m.eq(c);
1832
q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b)
1833
});
1834
if (l && (c = n.buildFragment(a, this[0].ownerDocument, !1, this), d = c.firstChild, 1 === c.childNodes.length && (c = d), d)) {
1835
for (f = n.map(ob(c, "script"), kb), g = f.length; l > j; j++) h = c, j !== o && (h = n.clone(h, !0, !0), g && n.merge(f, ob(h, "script"))), b.call(this[j], h, j);
1836
if (g)
1837
for (i = f[f.length - 1].ownerDocument, n.map(f, lb), j = 0; g > j; j++) h = f[j], fb.test(h.type || "") && !L.access(h, "globalEval") && n.contains(i, h) && (h.src ? n._evalUrl && n._evalUrl(h.src) : n.globalEval(h.textContent.replace(hb, "")))
1838
}
1839
return this
1840
}
1841
}), n.each({
1842
appendTo: "append",
1843
prependTo: "prepend",
1844
insertBefore: "before",
1845
insertAfter: "after",
1846
replaceAll: "replaceWith"
1847
}, function(a, b) {
1848
n.fn[a] = function(a) {
1849
for (var c, d = [], e = n(a), g = e.length - 1, h = 0; g >= h; h++) c = h === g ? this : this.clone(!0), n(e[h])[b](c), f.apply(d, c.get());
1850
return this.pushStack(d)
1851
}
1852
});
1853
var qb, rb = {};
1854
1855
function sb(b, c) {
1856
var d, e = n(c.createElement(b)).appendTo(c.body),
1857
f = a.getDefaultComputedStyle && (d = a.getDefaultComputedStyle(e[0])) ? d.display : n.css(e[0], "display");
1858
return e.detach(), f
1859
}
1860
1861
function tb(a) {
1862
var b = l,
1863
c = rb[a];
1864
return c || (c = sb(a, b), "none" !== c && c || (qb = (qb || n("<iframe frameborder='0' width='0' height='0'/>")).appendTo(b.documentElement), b = qb[0].contentDocument, b.write(), b.close(), c = sb(a, b), qb.detach()), rb[a] = c), c
1865
}
1866
var ub = /^margin/,
1867
vb = new RegExp("^(" + Q + ")(?!px)[a-z%]+$", "i"),
1868
wb = function(b) {
1869
return b.ownerDocument.defaultView.opener ? b.ownerDocument.defaultView.getComputedStyle(b, null) : a.getComputedStyle(b, null)
1870
};
1871
1872
function xb(a, b, c) {
1873
var d, e, f, g, h = a.style;
1874
return c = c || wb(a), c && (g = c.getPropertyValue(b) || c[b]), c && ("" !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)), vb.test(g) && ub.test(b) && (d = h.width, e = h.minWidth, f = h.maxWidth, h.minWidth = h.maxWidth = h.width = g, g = c.width, h.width = d, h.minWidth = e, h.maxWidth = f)), void 0 !== g ? g + "" : g
1875
}
1876
1877
function yb(a, b) {
1878
return {
1879
get: function() {
1880
return a() ? void delete this.get : (this.get = b).apply(this, arguments)
1881
}
1882
}
1883
}! function() {
1884
var b, c, d = l.documentElement,
1885
e = l.createElement("div"),
1886
f = l.createElement("div");
1887
if (f.style) {
1888
f.style.backgroundClip = "content-box", f.cloneNode(!0).style.backgroundClip = "", k.clearCloneStyle = "content-box" === f.style.backgroundClip, e.style.cssText = "border:0;width:0;height:0;top:0;left:-9999px;margin-top:1px;position:absolute", e.appendChild(f);
1889
1890
function g() {
1891
f.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;display:block;margin-top:1%;top:1%;border:1px;padding:1px;width:4px;position:absolute", f.innerHTML = "", d.appendChild(e);
1892
var g = a.getComputedStyle(f, null);
1893
b = "1%" !== g.top, c = "4px" === g.width, d.removeChild(e)
1894
}
1895
a.getComputedStyle && n.extend(k, {
1896
pixelPosition: function() {
1897
return g(), b
1898
},
1899
boxSizingReliable: function() {
1900
return null == c && g(), c
1901
},
1902
reliableMarginRight: function() {
1903
var b, c = f.appendChild(l.createElement("div"));
1904
return c.style.cssText = f.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0", c.style.marginRight = c.style.width = "0", f.style.width = "1px", d.appendChild(e), b = !parseFloat(a.getComputedStyle(c, null).marginRight), d.removeChild(e), f.removeChild(c), b
1905
}
1906
})
1907
}
1908
}(), n.swap = function(a, b, c, d) {
1909
var e, f, g = {};
1910
for (f in b) g[f] = a.style[f], a.style[f] = b[f];
1911
e = c.apply(a, d || []);
1912
for (f in b) a.style[f] = g[f];
1913
return e
1914
};
1915
var zb = /^(none|table(?!-c[ea]).+)/,
1916
Ab = new RegExp("^(" + Q + ")(.*)$", "i"),
1917
Bb = new RegExp("^([+-])=(" + Q + ")", "i"),
1918
Cb = {
1919
position: "absolute",
1920
visibility: "hidden",
1921
display: "block"
1922
},
1923
Db = {
1924
letterSpacing: "0",
1925
fontWeight: "400"
1926
},
1927
Eb = ["Webkit", "O", "Moz", "ms"];
1928
1929
function Fb(a, b) {
1930
if (b in a) return b;
1931
var c = b[0].toUpperCase() + b.slice(1),
1932
d = b,
1933
e = Eb.length;
1934
while (e--)
1935
if (b = Eb[e] + c, b in a) return b;
1936
return d
1937
}
1938
1939
function Gb(a, b, c) {
1940
var d = Ab.exec(b);
1941
return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || "px") : b
1942
}
1943
1944
function Hb(a, b, c, d, e) {
1945
for (var f = c === (d ? "border" : "content") ? 4 : "width" === b ? 1 : 0, g = 0; 4 > f; f += 2) "margin" === c && (g += n.css(a, c + R[f], !0, e)), d ? ("content" === c && (g -= n.css(a, "padding" + R[f], !0, e)), "margin" !== c && (g -= n.css(a, "border" + R[f] + "Width", !0, e))) : (g += n.css(a, "padding" + R[f], !0, e), "padding" !== c && (g += n.css(a, "border" + R[f] + "Width", !0, e)));
1946
return g
1947
}
1948
1949
function Ib(a, b, c) {
1950
var d = !0,
1951
e = "width" === b ? a.offsetWidth : a.offsetHeight,
1952
f = wb(a),
1953
g = "border-box" === n.css(a, "boxSizing", !1, f);
1954
if (0 >= e || null == e) {
1955
if (e = xb(a, b, f), (0 > e || null == e) && (e = a.style[b]), vb.test(e)) return e;
1956
d = g && (k.boxSizingReliable() || e === a.style[b]), e = parseFloat(e) || 0
1957
}
1958
return e + Hb(a, b, c || (g ? "border" : "content"), d, f) + "px"
1959
}
1960
1961
function Jb(a, b) {
1962
for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++) d = a[g], d.style && (f[g] = L.get(d, "olddisplay"), c = d.style.display, b ? (f[g] || "none" !== c || (d.style.display = ""), "" === d.style.display && S(d) && (f[g] = L.access(d, "olddisplay", tb(d.nodeName)))) : (e = S(d), "none" === c && e || L.set(d, "olddisplay", e ? c : n.css(d, "display"))));
1963
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"));
1964
return a
1965
}
1966
n.extend({
1967
cssHooks: {
1968
opacity: {
1969
get: function(a, b) {
1970
if (b) {
1971
var c = xb(a, "opacity");
1972
return "" === c ? "1" : c
1973
}
1974
}
1975
}
1976
},
1977
cssNumber: {
1978
columnCount: !0,
1979
fillOpacity: !0,
1980
flexGrow: !0,
1981
flexShrink: !0,
1982
fontWeight: !0,
1983
lineHeight: !0,
1984
opacity: !0,
1985
order: !0,
1986
orphans: !0,
1987
widows: !0,
1988
zIndex: !0,
1989
zoom: !0
1990
},
1991
cssProps: {
1992
"float": "cssFloat"
1993
},
1994
style: function(a, b, c, d) {
1995
if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
1996
var e, f, g, h = n.camelCase(b),
1997
i = a.style;
1998
return b = n.cssProps[h] || (n.cssProps[h] = Fb(i, h)), g = n.cssHooks[b] || n.cssHooks[h], void 0 === c ? g && "get" in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b] : (f = typeof c, "string" === f && (e = Bb.exec(c)) && (c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b)), f = "number"), null != c && c === c && ("number" !== f || n.cssNumber[h] || (c += "px"), k.clearCloneStyle || "" !== c || 0 !== b.indexOf("background") || (i[b] = "inherit"), g && "set" in g && void 0 === (c = g.set(a, c, d)) || (i[b] = c)), void 0)
1999
}
2000
},
2001
css: function(a, b, c, d) {
2002
var e, f, g, h = n.camelCase(b);
2003
return b = n.cssProps[h] || (n.cssProps[h] = Fb(a.style, h)), g = n.cssHooks[b] || n.cssHooks[h], g && "get" in g && (e = g.get(a, !0, c)), void 0 === e && (e = xb(a, b, d)), "normal" === e && b in Db && (e = Db[b]), "" === c || c ? (f = parseFloat(e), c === !0 || n.isNumeric(f) ? f || 0 : e) : e
2004
}
2005
}), n.each(["height", "width"], function(a, b) {
2006
n.cssHooks[b] = {
2007
get: function(a, c, d) {
2008
return c ? zb.test(n.css(a, "display")) && 0 === a.offsetWidth ? n.swap(a, Cb, function() {
2009
return Ib(a, b, d)
2010
}) : Ib(a, b, d) : void 0
2011
},
2012
set: function(a, c, d) {
2013
var e = d && wb(a);
2014
return Gb(a, c, d ? Hb(a, b, d, "border-box" === n.css(a, "boxSizing", !1, e), e) : 0)
2015
}
2016
}
2017
}), n.cssHooks.marginRight = yb(k.reliableMarginRight, function(a, b) {
2018
return b ? n.swap(a, {
2019
display: "inline-block"
2020
}, xb, [a, "marginRight"]) : void 0
2021
}), n.each({
2022
margin: "",
2023
padding: "",
2024
border: "Width"
2025
}, function(a, b) {
2026
n.cssHooks[a + b] = {
2027
expand: function(c) {
2028
for (var d = 0, e = {}, f = "string" == typeof c ? c.split(" ") : [c]; 4 > d; d++) e[a + R[d] + b] = f[d] || f[d - 2] || f[0];
2029
return e
2030
}
2031
}, ub.test(a) || (n.cssHooks[a + b].set = Gb)
2032
}), n.fn.extend({
2033
css: function(a, b) {
2034
return J(this, function(a, b, c) {
2035
var d, e, f = {},
2036
g = 0;
2037
if (n.isArray(b)) {
2038
for (d = wb(a), e = b.length; e > g; g++) f[b[g]] = n.css(a, b[g], !1, d);
2039
return f
2040
}
2041
return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
2042
}, a, b, arguments.length > 1)
2043
},
2044
show: function() {
2045
return Jb(this, !0)
2046
},
2047
hide: function() {
2048
return Jb(this)
2049
},
2050
toggle: function(a) {
2051
return "boolean" == typeof a ? a ? this.show() : this.hide() : this.each(function() {
2052
S(this) ? n(this).show() : n(this).hide()
2053
})
2054
}
2055
});
2056
2057
function Kb(a, b, c, d, e) {
2058
return new Kb.prototype.init(a, b, c, d, e)
2059
}
2060
n.Tween = Kb, Kb.prototype = {
2061
constructor: Kb,
2062
init: function(a, b, c, d, e, f) {
2063
this.elem = a, this.prop = c, this.easing = e || "swing", this.options = b, this.start = this.now = this.cur(), this.end = d, this.unit = f || (n.cssNumber[c] ? "" : "px")
2064
},
2065
cur: function() {
2066
var a = Kb.propHooks[this.prop];
2067
return a && a.get ? a.get(this) : Kb.propHooks._default.get(this)
2068
},
2069
run: function(a) {
2070
var b, c = Kb.propHooks[this.prop];
2071
return this.pos = b = this.options.duration ? n.easing[this.easing](a, this.options.duration * a, 0, 1, this.options.duration) : a, this.now = (this.end - this.start) * b + this.start, this.options.step && this.options.step.call(this.elem, this.now, this), c && c.set ? c.set(this) : Kb.propHooks._default.set(this), this
2072
}
2073
}, Kb.prototype.init.prototype = Kb.prototype, Kb.propHooks = {
2074
_default: {
2075
get: function(a) {
2076
var b;
2077
return null == a.elem[a.prop] || a.elem.style && null != a.elem.style[a.prop] ? (b = n.css(a.elem, a.prop, ""), b && "auto" !== b ? b : 0) : a.elem[a.prop]
2078
},
2079
set: function(a) {
2080
n.fx.step[a.prop] ? n.fx.step[a.prop](a) : a.elem.style && (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop]) ? n.style(a.elem, a.prop, a.now + a.unit) : a.elem[a.prop] = a.now
2081
}
2082
}
2083
}, Kb.propHooks.scrollTop = Kb.propHooks.scrollLeft = {
2084
set: function(a) {
2085
a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
2086
}
2087
}, n.easing = {
2088
linear: function(a) {
2089
return a
2090
},
2091
swing: function(a) {
2092
return .5 - Math.cos(a * Math.PI) / 2
2093
}
2094
}, n.fx = Kb.prototype.init, n.fx.step = {};
2095
var Lb, Mb, Nb = /^(?:toggle|show|hide)$/,
2096
Ob = new RegExp("^(?:([+-])=|)(" + Q + ")([a-z%]*)$", "i"),
2097
Pb = /queueHooks$/,
2098
Qb = [Vb],
2099
Rb = {
2100
"*": [function(a, b) {
2101
var c = this.createTween(a, b),
2102
d = c.cur(),
2103
e = Ob.exec(b),
2104
f = e && e[3] || (n.cssNumber[a] ? "" : "px"),
2105
g = (n.cssNumber[a] || "px" !== f && +d) && Ob.exec(n.css(c.elem, a)),
2106
h = 1,
2107
i = 20;
2108
if (g && g[3] !== f) {
2109
f = f || g[3], e = e || [], g = +d || 1;
2110
do h = h || ".5", g /= h, n.style(c.elem, a, g + f); while (h !== (h = c.cur() / d) && 1 !== h && --i)
2111
}
2112
return e && (g = c.start = +g || +d || 0, c.unit = f, c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2]), c
2113
}]
2114
};
2115
2116
function Sb() {
2117
return setTimeout(function() {
2118
Lb = void 0
2119
}), Lb = n.now()
2120
}
2121
2122
function Tb(a, b) {
2123
var c, d = 0,
2124
e = {
2125
height: a
2126
};
2127
for (b = b ? 1 : 0; 4 > d; d += 2 - b) c = R[d], e["margin" + c] = e["padding" + c] = a;
2128
return b && (e.opacity = e.width = a), e
2129
}
2130
2131
function Ub(a, b, c) {
2132
for (var d, e = (Rb[b] || []).concat(Rb["*"]), f = 0, g = e.length; g > f; f++)
2133
if (d = e[f].call(c, b, a)) return d
2134
}
2135
2136
function Vb(a, b, c) {
2137
var d, e, f, g, h, i, j, k, l = this,
2138
m = {},
2139
o = a.style,
2140
p = a.nodeType && S(a),
2141
q = L.get(a, "fxshow");
2142
c.queue || (h = n._queueHooks(a, "fx"), null == h.unqueued && (h.unqueued = 0, i = h.empty.fire, h.empty.fire = function() {
2143
h.unqueued || i()
2144
}), h.unqueued++, l.always(function() {
2145
l.always(function() {
2146
h.unqueued--, n.queue(a, "fx").length || h.empty.fire()
2147
})
2148
})), 1 === a.nodeType && ("height" in b || "width" in b) && (c.overflow = [o.overflow, o.overflowX, o.overflowY], j = n.css(a, "display"), k = "none" === j ? L.get(a, "olddisplay") || tb(a.nodeName) : j, "inline" === k && "none" === n.css(a, "float") && (o.display = "inline-block")), c.overflow && (o.overflow = "hidden", l.always(function() {
2149
o.overflow = c.overflow[0], o.overflowX = c.overflow[1], o.overflowY = c.overflow[2]
2150
}));
2151
for (d in b)
2152
if (e = b[d], Nb.exec(e)) {
2153
if (delete b[d], f = f || "toggle" === e, e === (p ? "hide" : "show")) {
2154
if ("show" !== e || !q || void 0 === q[d]) continue;
2155
p = !0
2156
}
2157
m[d] = q && q[d] || n.style(a, d)
2158
} else j = void 0;
2159
if (n.isEmptyObject(m)) "inline" === ("none" === j ? tb(a.nodeName) : j) && (o.display = j);
2160
else {
2161
q ? "hidden" in q && (p = q.hidden) : q = L.access(a, "fxshow", {}), f && (q.hidden = !p), p ? n(a).show() : l.done(function() {
2162
n(a).hide()
2163
}), l.done(function() {
2164
var b;
2165
L.remove(a, "fxshow");
2166
for (b in m) n.style(a, b, m[b])
2167
});
2168
for (d in m) g = Ub(p ? q[d] : 0, d, l), d in q || (q[d] = g.start, p && (g.end = g.start, g.start = "width" === d || "height" === d ? 1 : 0))
2169
}
2170
}
2171
2172
function Wb(a, b) {
2173
var c, d, e, f, g;
2174
for (c in a)
2175
if (d = n.camelCase(c), e = b[d], f = a[c], n.isArray(f) && (e = f[1], f = a[c] = f[0]), c !== d && (a[d] = f, delete a[c]), g = n.cssHooks[d], g && "expand" in g) {
2176
f = g.expand(f), delete a[d];
2177
for (c in f) c in a || (a[c] = f[c], b[c] = e)
2178
} else b[d] = e
2179
}
2180
2181
function Xb(a, b, c) {
2182
var d, e, f = 0,
2183
g = Qb.length,
2184
h = n.Deferred().always(function() {
2185
delete i.elem
2186
}),
2187
i = function() {
2188
if (e) return !1;
2189
for (var b = Lb || Sb(), 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);
2190
return h.notifyWith(a, [j, f, c]), 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
2191
},
2192
j = h.promise({
2193
elem: a,
2194
props: n.extend({}, b),
2195
opts: n.extend(!0, {
2196
specialEasing: {}
2197
}, c),
2198
originalProperties: b,
2199
originalOptions: c,
2200
startTime: Lb || Sb(),
2201
duration: c.duration,
2202
tweens: [],
2203
createTween: function(b, c) {
2204
var d = n.Tween(a, j.opts, b, c, j.opts.specialEasing[b] || j.opts.easing);
2205
return j.tweens.push(d), d
2206
},
2207
stop: function(b) {
2208
var c = 0,
2209
d = b ? j.tweens.length : 0;
2210
if (e) return this;
2211
for (e = !0; d > c; c++) j.tweens[c].run(1);
2212
return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this
2213
}
2214
}),
2215
k = j.props;
2216
for (Wb(k, j.opts.specialEasing); g > f; f++)
2217
if (d = Qb[f].call(j, a, k, j.opts)) return d;
2218
return n.map(k, Ub, j), n.isFunction(j.opts.start) && j.opts.start.call(a, j), n.fx.timer(n.extend(i, {
2219
elem: a,
2220
anim: j,
2221
queue: j.opts.queue
2222
})), j.progress(j.opts.progress).done(j.opts.done, j.opts.complete).fail(j.opts.fail).always(j.opts.always)
2223
}
2224
n.Animation = n.extend(Xb, {
2225
tweener: function(a, b) {
2226
n.isFunction(a) ? (b = a, a = ["*"]) : a = a.split(" ");
2227
for (var c, d = 0, e = a.length; e > d; d++) c = a[d], Rb[c] = Rb[c] || [], Rb[c].unshift(b)
2228
},
2229
prefilter: function(a, b) {
2230
b ? Qb.unshift(a) : Qb.push(a)
2231
}
2232
}), n.speed = function(a, b, c) {
2233
var d = a && "object" == typeof a ? n.extend({}, a) : {
2234
complete: c || !c && b || n.isFunction(a) && a,
2235
duration: a,
2236
easing: c && b || b && !n.isFunction(b) && b
2237
};
2238
return d.duration = n.fx.off ? 0 : "number" == typeof d.duration ? d.duration : d.duration in n.fx.speeds ? n.fx.speeds[d.duration] : n.fx.speeds._default, (null == d.queue || d.queue === !0) && (d.queue = "fx"), d.old = d.complete, d.complete = function() {
2239
n.isFunction(d.old) && d.old.call(this), d.queue && n.dequeue(this, d.queue)
2240
}, d
2241
}, n.fn.extend({
2242
fadeTo: function(a, b, c, d) {
2243
return this.filter(S).css("opacity", 0).show().end().animate({
2244
opacity: b
2245
}, a, c, d)
2246
},
2247
animate: function(a, b, c, d) {
2248
var e = n.isEmptyObject(a),
2249
f = n.speed(b, c, d),
2250
g = function() {
2251
var b = Xb(this, n.extend({}, a), f);
2252
(e || L.get(this, "finish")) && b.stop(!0)
2253
};
2254
return g.finish = g, e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
2255
},
2256
stop: function(a, b, c) {
2257
var d = function(a) {
2258
var b = a.stop;
2259
delete a.stop, b(c)
2260
};
2261
return "string" != typeof a && (c = b, b = a, a = void 0), b && a !== !1 && this.queue(a || "fx", []), this.each(function() {
2262
var b = !0,
2263
e = null != a && a + "queueHooks",
2264
f = n.timers,
2265
g = L.get(this);
2266
if (e) g[e] && g[e].stop && d(g[e]);
2267
else
2268
for (e in g) g[e] && g[e].stop && Pb.test(e) && d(g[e]);
2269
for (e = f.length; e--;) f[e].elem !== this || null != a && f[e].queue !== a || (f[e].anim.stop(c), b = !1, f.splice(e, 1));
2270
(b || !c) && n.dequeue(this, a)
2271
})
2272
},
2273
finish: function(a) {
2274
return a !== !1 && (a = a || "fx"), this.each(function() {
2275
var b, c = L.get(this),
2276
d = c[a + "queue"],
2277
e = c[a + "queueHooks"],
2278
f = n.timers,
2279
g = d ? d.length : 0;
2280
for (c.finish = !0, n.queue(this, a, []), e && e.stop && e.stop.call(this, !0), b = f.length; b--;) f[b].elem === this && f[b].queue === a && (f[b].anim.stop(!0), f.splice(b, 1));
2281
for (b = 0; g > b; b++) d[b] && d[b].finish && d[b].finish.call(this);
2282
delete c.finish
2283
})
2284
}
2285
}), n.each(["toggle", "show", "hide"], function(a, b) {
2286
var c = n.fn[b];
2287
n.fn[b] = function(a, d, e) {
2288
return null == a || "boolean" == typeof a ? c.apply(this, arguments) : this.animate(Tb(b, !0), a, d, e)
2289
}
2290
}), n.each({
2291
slideDown: Tb("show"),
2292
slideUp: Tb("hide"),
2293
slideToggle: Tb("toggle"),
2294
fadeIn: {
2295
opacity: "show"
2296
},
2297
fadeOut: {
2298
opacity: "hide"
2299
},
2300
fadeToggle: {
2301
opacity: "toggle"
2302
}
2303
}, function(a, b) {
2304
n.fn[a] = function(a, c, d) {
2305
return this.animate(b, a, c, d)
2306
}
2307
}), n.timers = [], n.fx.tick = function() {
2308
var a, b = 0,
2309
c = n.timers;
2310
for (Lb = n.now(); b < c.length; b++) a = c[b], a() || c[b] !== a || c.splice(b--, 1);
2311
c.length || n.fx.stop(), Lb = void 0
2312
}, n.fx.timer = function(a) {
2313
n.timers.push(a), a() ? n.fx.start() : n.timers.pop()
2314
}, n.fx.interval = 13, n.fx.start = function() {
2315
Mb || (Mb = setInterval(n.fx.tick, n.fx.interval))
2316
}, n.fx.stop = function() {
2317
clearInterval(Mb), Mb = null
2318
}, n.fx.speeds = {
2319
slow: 600,
2320
fast: 200,
2321
_default: 400
2322
}, n.fn.delay = function(a, b) {
2323
return a = n.fx ? n.fx.speeds[a] || a : a, b = b || "fx", this.queue(b, function(b, c) {
2324
var d = setTimeout(b, a);
2325
c.stop = function() {
2326
clearTimeout(d)
2327
}
2328
})
2329
},
2330
function() {
2331
var a = l.createElement("input"),
2332
b = l.createElement("select"),
2333
c = b.appendChild(l.createElement("option"));
2334
a.type = "checkbox", k.checkOn = "" !== a.value, k.optSelected = c.selected, b.disabled = !0, k.optDisabled = !c.disabled, a = l.createElement("input"), a.value = "t", a.type = "radio", k.radioValue = "t" === a.value
2335
}();
2336
var Yb, Zb, $b = n.expr.attrHandle;
2337
n.fn.extend({
2338
attr: function(a, b) {
2339
return J(this, n.attr, a, b, arguments.length > 1)
2340
},
2341
removeAttr: function(a) {
2342
return this.each(function() {
2343
n.removeAttr(this, a)
2344
})
2345
}
2346
}), n.extend({
2347
attr: function(a, b, c) {
2348
var d, e, f = a.nodeType;
2349
if (a && 3 !== f && 8 !== f && 2 !== f) return typeof a.getAttribute === U ? n.prop(a, b, c) : (1 === f && n.isXMLDoc(a) || (b = b.toLowerCase(), d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? Zb : Yb)), void 0 === c ? d && "get" in d && null !== (e = d.get(a, b)) ? e : (e = n.find.attr(a, b), null == e ? void 0 : e) : null !== c ? d && "set" in d && void 0 !== (e = d.set(a, c, b)) ? e : (a.setAttribute(b, c + ""), c) : void n.removeAttr(a, b))
2350
},
2351
removeAttr: function(a, b) {
2352
var c, d, e = 0,
2353
f = b && b.match(E);
2354
if (f && 1 === a.nodeType)
2355
while (c = f[e++]) d = n.propFix[c] || c, n.expr.match.bool.test(c) && (a[d] = !1), a.removeAttribute(c)
2356
},
2357
attrHooks: {
2358
type: {
2359
set: function(a, b) {
2360
if (!k.radioValue && "radio" === b && n.nodeName(a, "input")) {
2361
var c = a.value;
2362
return a.setAttribute("type", b), c && (a.value = c), b
2363
}
2364
}
2365
}
2366
}
2367
}), Zb = {
2368
set: function(a, b, c) {
2369
return b === !1 ? n.removeAttr(a, c) : a.setAttribute(c, c), c
2370
}
2371
}, n.each(n.expr.match.bool.source.match(/\w+/g), function(a, b) {
2372
var c = $b[b] || n.find.attr;
2373
$b[b] = function(a, b, d) {
2374
var e, f;
2375
return d || (f = $b[b], $b[b] = e, e = null != c(a, b, d) ? b.toLowerCase() : null, $b[b] = f), e
2376
}
2377
});
2378
var _b = /^(?:input|select|textarea|button)$/i;
2379
n.fn.extend({
2380
prop: function(a, b) {
2381
return J(this, n.prop, a, b, arguments.length > 1)
2382
},
2383
removeProp: function(a) {
2384
return this.each(function() {
2385
delete this[n.propFix[a] || a]
2386
})
2387
}
2388
}), n.extend({
2389
propFix: {
2390
"for": "htmlFor",
2391
"class": "className"
2392
},
2393
prop: function(a, b, c) {
2394
var d, e, f, g = a.nodeType;
2395
if (a && 3 !== g && 8 !== g && 2 !== g) return f = 1 !== g || !n.isXMLDoc(a), f && (b = n.propFix[b] || b, e = n.propHooks[b]), void 0 !== c ? e && "set" in e && void 0 !== (d = e.set(a, c, b)) ? d : a[b] = c : e && "get" in e && null !== (d = e.get(a, b)) ? d : a[b]
2396
},
2397
propHooks: {
2398
tabIndex: {
2399
get: function(a) {
2400
return a.hasAttribute("tabindex") || _b.test(a.nodeName) || a.href ? a.tabIndex : -1
2401
}
2402
}
2403
}
2404
}), k.optSelected || (n.propHooks.selected = {
2405
get: function(a) {
2406
var b = a.parentNode;
2407
return b && b.parentNode && b.parentNode.selectedIndex, null
2408
}
2409
}), n.each(["tabIndex", "readOnly", "maxLength", "cellSpacing", "cellPadding", "rowSpan", "colSpan", "useMap", "frameBorder", "contentEditable"], function() {
2410
n.propFix[this.toLowerCase()] = this
2411
});
2412
var ac = /[\t\r\n\f]/g;
2413
n.fn.extend({
2414
addClass: function(a) {
2415
var b, c, d, e, f, g, h = "string" == typeof a && a,
2416
i = 0,
2417
j = this.length;
2418
if (n.isFunction(a)) return this.each(function(b) {
2419
n(this).addClass(a.call(this, b, this.className))
2420
});
2421
if (h)
2422
for (b = (a || "").match(E) || []; j > i; i++)
2423
if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : " ")) {
2424
f = 0;
2425
while (e = b[f++]) d.indexOf(" " + e + " ") < 0 && (d += e + " ");
2426
g = n.trim(d), c.className !== g && (c.className = g)
2427
}
2428
return this
2429
},
2430
removeClass: function(a) {
2431
var b, c, d, e, f, g, h = 0 === arguments.length || "string" == typeof a && a,
2432
i = 0,
2433
j = this.length;
2434
if (n.isFunction(a)) return this.each(function(b) {
2435
n(this).removeClass(a.call(this, b, this.className))
2436
});
2437
if (h)
2438
for (b = (a || "").match(E) || []; j > i; i++)
2439
if (c = this[i], d = 1 === c.nodeType && (c.className ? (" " + c.className + " ").replace(ac, " ") : "")) {
2440
f = 0;
2441
while (e = b[f++])
2442
while (d.indexOf(" " + e + " ") >= 0) d = d.replace(" " + e + " ", " ");
2443
g = a ? n.trim(d) : "", c.className !== g && (c.className = g)
2444
}
2445
return this
2446
},
2447
toggleClass: function(a, b) {
2448
var c = typeof a;
2449
return "boolean" == typeof b && "string" === c ? b ? this.addClass(a) : this.removeClass(a) : this.each(n.isFunction(a) ? function(c) {
2450
n(this).toggleClass(a.call(this, c, this.className, b), b)
2451
} : function() {
2452
if ("string" === c) {
2453
var b, d = 0,
2454
e = n(this),
2455
f = a.match(E) || [];
2456
while (b = f[d++]) e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
2457
} else(c === U || "boolean" === c) && (this.className && L.set(this, "__className__", this.className), this.className = this.className || a === !1 ? "" : L.get(this, "__className__") || "")
2458
})
2459
},
2460
hasClass: function(a) {
2461
for (var b = " " + a + " ", c = 0, d = this.length; d > c; c++)
2462
if (1 === this[c].nodeType && (" " + this[c].className + " ").replace(ac, " ").indexOf(b) >= 0) return !0;
2463
return !1
2464
}
2465
});
2466
var bc = /\r/g;
2467
n.fn.extend({
2468
val: function(a) {
2469
var b, c, d, e = this[0]; {
2470
if (arguments.length) return d = n.isFunction(a), this.each(function(c) {
2471
var e;
2472
1 === this.nodeType && (e = d ? a.call(this, c, n(this).val()) : a, null == e ? e = "" : "number" == typeof e ? e += "" : n.isArray(e) && (e = n.map(e, function(a) {
2473
return null == a ? "" : a + ""
2474
})), b = n.valHooks[this.type] || n.valHooks[this.nodeName.toLowerCase()], b && "set" in b && void 0 !== b.set(this, e, "value") || (this.value = e))
2475
});
2476
if (e) return b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()], b && "get" in b && void 0 !== (c = b.get(e, "value")) ? c : (c = e.value, "string" == typeof c ? c.replace(bc, "") : null == c ? "" : c)
2477
}
2478
}
2479
}), n.extend({
2480
valHooks: {
2481
option: {
2482
get: function(a) {
2483
var b = n.find.attr(a, "value");
2484
return null != b ? b : n.trim(n.text(a))
2485
}
2486
},
2487
select: {
2488
get: function(a) {
2489
for (var b, c, d = a.options, e = a.selectedIndex, f = "select-one" === a.type || 0 > e, g = f ? null : [], h = f ? e + 1 : d.length, i = 0 > e ? h : f ? e : 0; h > i; i++)
2490
if (c = d[i], !(!c.selected && i !== e || (k.optDisabled ? c.disabled : null !== c.getAttribute("disabled")) || c.parentNode.disabled && n.nodeName(c.parentNode, "optgroup"))) {
2491
if (b = n(c).val(), f) return b;
2492
g.push(b)
2493
}
2494
return g
2495
},
2496
set: function(a, b) {
2497
var c, d, e = a.options,
2498
f = n.makeArray(b),
2499
g = e.length;
2500
while (g--) d = e[g], (d.selected = n.inArray(d.value, f) >= 0) && (c = !0);
2501
return c || (a.selectedIndex = -1), f
2502
}
2503
}
2504
}
2505
}), n.each(["radio", "checkbox"], function() {
2506
n.valHooks[this] = {
2507
set: function(a, b) {
2508
return n.isArray(b) ? a.checked = n.inArray(n(a).val(), b) >= 0 : void 0
2509
}
2510
}, k.checkOn || (n.valHooks[this].get = function(a) {
2511
return null === a.getAttribute("value") ? "on" : a.value
2512
})
2513
}), n.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function(a, b) {
2514
n.fn[b] = function(a, c) {
2515
return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
2516
}
2517
}), n.fn.extend({
2518
hover: function(a, b) {
2519
return this.mouseenter(a).mouseleave(b || a)
2520
},
2521
bind: function(a, b, c) {
2522
return this.on(a, null, b, c)
2523
},
2524
unbind: function(a, b) {
2525
return this.off(a, null, b)
2526
},
2527
delegate: function(a, b, c, d) {
2528
return this.on(b, a, c, d)
2529
},
2530
undelegate: function(a, b, c) {
2531
return 1 === arguments.length ? this.off(a, "**") : this.off(b, a || "**", c)
2532
}
2533
});
2534
var cc = n.now(),
2535
dc = /\?/;
2536
n.parseJSON = function(a) {
2537
return JSON.parse(a + "")
2538
}, n.parseXML = function(a) {
2539
var b, c;
2540
if (!a || "string" != typeof a) return null;
2541
try {
2542
c = new DOMParser, b = c.parseFromString(a, "text/xml")
2543
} catch (d) {
2544
b = void 0
2545
}
2546
return (!b || b.getElementsByTagName("parsererror").length) && n.error("Invalid XML: " + a), b
2547
};
2548
var ec = /#.*$/,
2549
fc = /([?&])_=[^&]*/,
2550
gc = /^(.*?):[ \t]*([^\r\n]*)$/gm,
2551
hc = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
2552
ic = /^(?:GET|HEAD)$/,
2553
jc = /^\/\//,
2554
kc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
2555
lc = {},
2556
mc = {},
2557
nc = "*/".concat("*"),
2558
oc = a.location.href,
2559
pc = kc.exec(oc.toLowerCase()) || [];
2560
2561
function qc(a) {
2562
return function(b, c) {
2563
"string" != typeof b && (c = b, b = "*");
2564
var d, e = 0,
2565
f = b.toLowerCase().match(E) || [];
2566
if (n.isFunction(c))
2567
while (d = f[e++]) "+" === d[0] ? (d = d.slice(1) || "*", (a[d] = a[d] || []).unshift(c)) : (a[d] = a[d] || []).push(c)
2568
}
2569
}
2570
2571
function rc(a, b, c, d) {
2572
var e = {},
2573
f = a === mc;
2574
2575
function g(h) {
2576
var i;
2577
return e[h] = !0, n.each(a[h] || [], function(a, h) {
2578
var j = h(b, c, d);
2579
return "string" != typeof j || f || e[j] ? f ? !(i = j) : void 0 : (b.dataTypes.unshift(j), g(j), !1)
2580
}), i
2581
}
2582
return g(b.dataTypes[0]) || !e["*"] && g("*")
2583
}
2584
2585
function sc(a, b) {
2586
var c, d, e = n.ajaxSettings.flatOptions || {};
2587
for (c in b) void 0 !== b[c] && ((e[c] ? a : d || (d = {}))[c] = b[c]);
2588
return d && n.extend(!0, a, d), a
2589
}
2590
2591
function tc(a, b, c) {
2592
var d, e, f, g, h = a.contents,
2593
i = a.dataTypes;
2594
while ("*" === i[0]) i.shift(), void 0 === d && (d = a.mimeType || b.getResponseHeader("Content-Type"));
2595
if (d)
2596
for (e in h)
2597
if (h[e] && h[e].test(d)) {
2598
i.unshift(e);
2599
break
2600
}
2601
if (i[0] in c) f = i[0];
2602
else {
2603
for (e in c) {
2604
if (!i[0] || a.converters[e + " " + i[0]]) {
2605
f = e;
2606
break
2607
}
2608
g || (g = e)
2609
}
2610
f = f || g
2611
}
2612
return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
2613
}
2614
2615
function uc(a, b, c, d) {
2616
var e, f, g, h, i, j = {},
2617
k = a.dataTypes.slice();
2618
if (k[1])
2619
for (g in a.converters) j[g.toLowerCase()] = a.converters[g];
2620
f = k.shift();
2621
while (f)
2622
if (a.responseFields[f] && (c[a.responseFields[f]] = b), !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)), i = f, f = k.shift())
2623
if ("*" === f) f = i;
2624
else if ("*" !== i && i !== f) {
2625
if (g = j[i + " " + f] || j["* " + f], !g)
2626
for (e in j)
2627
if (h = e.split(" "), h[1] === f && (g = j[i + " " + h[0]] || j["* " + h[0]])) {
2628
g === !0 ? g = j[e] : j[e] !== !0 && (f = h[0], k.unshift(h[1]));
2629
break
2630
}
2631
if (g !== !0)
2632
if (g && a["throws"]) b = g(b);
2633
else try {
2634
b = g(b)
2635
} catch (l) {
2636
return {
2637
state: "parsererror",
2638
error: g ? l : "No conversion from " + i + " to " + f
2639
}
2640
}
2641
}
2642
return {
2643
state: "success",
2644
data: b
2645
}
2646
}
2647
n.extend({
2648
active: 0,
2649
lastModified: {},
2650
etag: {},
2651
ajaxSettings: {
2652
url: oc,
2653
type: "GET",
2654
isLocal: hc.test(pc[1]),
2655
global: !0,
2656
processData: !0,
2657
async: !0,
2658
contentType: "application/x-www-form-urlencoded; charset=UTF-8",
2659
accepts: {
2660
"*": nc,
2661
text: "text/plain",
2662
html: "text/html",
2663
xml: "application/xml, text/xml",
2664
json: "application/json, text/javascript"
2665
},
2666
contents: {
2667
xml: /xml/,
2668
html: /html/,
2669
json: /json/
2670
},
2671
responseFields: {
2672
xml: "responseXML",
2673
text: "responseText",
2674
json: "responseJSON"
2675
},
2676
converters: {
2677
"* text": String,
2678
"text html": !0,
2679
"text json": n.parseJSON,
2680
"text xml": n.parseXML
2681
},
2682
flatOptions: {
2683
url: !0,
2684
context: !0
2685
}
2686
},
2687
ajaxSetup: function(a, b) {
2688
return b ? sc(sc(a, n.ajaxSettings), b) : sc(n.ajaxSettings, a)
2689
},
2690
ajaxPrefilter: qc(lc),
2691
ajaxTransport: qc(mc),
2692
ajax: function(a, b) {
2693
"object" == typeof a && (b = a, a = void 0), b = b || {};
2694
var c, d, e, f, g, h, i, j, k = n.ajaxSetup({}, b),
2695
l = k.context || k,
2696
m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event,
2697
o = n.Deferred(),
2698
p = n.Callbacks("once memory"),
2699
q = k.statusCode || {},
2700
r = {},
2701
s = {},
2702
t = 0,
2703
u = "canceled",
2704
v = {
2705
readyState: 0,
2706
getResponseHeader: function(a) {
2707
var b;
2708
if (2 === t) {
2709
if (!f) {
2710
f = {};
2711
while (b = gc.exec(e)) f[b[1].toLowerCase()] = b[2]
2712
}
2713
b = f[a.toLowerCase()]
2714
}
2715
return null == b ? null : b
2716
},
2717
getAllResponseHeaders: function() {
2718
return 2 === t ? e : null
2719
},
2720
setRequestHeader: function(a, b) {
2721
var c = a.toLowerCase();
2722
return t || (a = s[c] = s[c] || a, r[a] = b), this
2723
},
2724
overrideMimeType: function(a) {
2725
return t || (k.mimeType = a), this
2726
},
2727
statusCode: function(a) {
2728
var b;
2729
if (a)
2730
if (2 > t)
2731
for (b in a) q[b] = [q[b], a[b]];
2732
else v.always(a[v.status]);
2733
return this
2734
},
2735
abort: function(a) {
2736
var b = a || u;
2737
return c && c.abort(b), x(0, b), this
2738
}
2739
};
2740
if (o.promise(v).complete = p.add, v.success = v.done, v.error = v.fail, k.url = ((a || k.url || oc) + "").replace(ec, "").replace(jc, pc[1] + "//"), k.type = b.method || b.type || k.method || k.type, k.dataTypes = n.trim(k.dataType || "*").toLowerCase().match(E) || [""], null == k.crossDomain && (h = kc.exec(k.url.toLowerCase()), k.crossDomain = !(!h || h[1] === pc[1] && h[2] === pc[2] && (h[3] || ("http:" === h[1] ? "80" : "443")) === (pc[3] || ("http:" === pc[1] ? "80" : "443")))), k.data && k.processData && "string" != typeof k.data && (k.data = n.param(k.data, k.traditional)), rc(lc, k, b, v), 2 === t) return v;
2741
i = n.event && k.global, i && 0 === n.active++ && n.event.trigger("ajaxStart"), k.type = k.type.toUpperCase(), k.hasContent = !ic.test(k.type), d = k.url, k.hasContent || (k.data && (d = k.url += (dc.test(d) ? "&" : "?") + k.data, delete k.data), k.cache === !1 && (k.url = fc.test(d) ? d.replace(fc, "$1_=" + cc++) : d + (dc.test(d) ? "&" : "?") + "_=" + cc++)), k.ifModified && (n.lastModified[d] && v.setRequestHeader("If-Modified-Since", n.lastModified[d]), n.etag[d] && v.setRequestHeader("If-None-Match", n.etag[d])), (k.data && k.hasContent && k.contentType !== !1 || b.contentType) && v.setRequestHeader("Content-Type", k.contentType), v.setRequestHeader("Accept", k.dataTypes[0] && k.accepts[k.dataTypes[0]] ? k.accepts[k.dataTypes[0]] + ("*" !== k.dataTypes[0] ? ", " + nc + "; q=0.01" : "") : k.accepts["*"]);
2742
for (j in k.headers) v.setRequestHeader(j, k.headers[j]);
2743
if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t)) return v.abort();
2744
u = "abort";
2745
for (j in {
2746
success: 1,
2747
error: 1,
2748
complete: 1
2749
}) v[j](k[j]);
2750
if (c = rc(mc, k, b, v)) {
2751
v.readyState = 1, i && m.trigger("ajaxSend", [v, k]), k.async && k.timeout > 0 && (g = setTimeout(function() {
2752
v.abort("timeout")
2753
}, k.timeout));
2754
try {
2755
t = 1, c.send(r, x)
2756
} catch (w) {
2757
if (!(2 > t)) throw w;
2758
x(-1, w)
2759
}
2760
} else x(-1, "No Transport");
2761
2762
function x(a, b, f, h) {
2763
var j, r, s, u, w, x = b;
2764
2 !== t && (t = 2, g && clearTimeout(g), c = void 0, e = h || "", v.readyState = a > 0 ? 4 : 0, j = a >= 200 && 300 > a || 304 === a, f && (u = tc(k, v, f)), u = uc(k, u, v, j), j ? (k.ifModified && (w = v.getResponseHeader("Last-Modified"), w && (n.lastModified[d] = w), w = v.getResponseHeader("etag"), w && (n.etag[d] = w)), 204 === a || "HEAD" === k.type ? x = "nocontent" : 304 === a ? x = "notmodified" : (x = u.state, r = u.data, s = u.error, j = !s)) : (s = x, (a || !x) && (x = "error", 0 > a && (a = 0))), v.status = a, v.statusText = (b || x) + "", j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]), v.statusCode(q), q = void 0, i && m.trigger(j ? "ajaxSuccess" : "ajaxError", [v, k, j ? r : s]), p.fireWith(l, [v, x]), i && (m.trigger("ajaxComplete", [v, k]), --n.active || n.event.trigger("ajaxStop")))
2765
}
2766
return v
2767
},
2768
getJSON: function(a, b, c) {
2769
return n.get(a, b, c, "json")
2770
},
2771
getScript: function(a, b) {
2772
return n.get(a, void 0, b, "script")
2773
}
2774
}), n.each(["get", "post"], function(a, b) {
2775
n[b] = function(a, c, d, e) {
2776
return n.isFunction(c) && (e = e || d, d = c, c = void 0), n.ajax({
2777
url: a,
2778
type: b,
2779
dataType: e,
2780
data: c,
2781
success: d
2782
})
2783
}
2784
}), n._evalUrl = function(a) {
2785
return n.ajax({
2786
url: a,
2787
type: "GET",
2788
dataType: "script",
2789
async: !1,
2790
global: !1,
2791
"throws": !0
2792
})
2793
}, n.fn.extend({
2794
wrapAll: function(a) {
2795
var b;
2796
return n.isFunction(a) ? this.each(function(b) {
2797
n(this).wrapAll(a.call(this, b))
2798
}) : (this[0] && (b = n(a, this[0].ownerDocument).eq(0).clone(!0), this[0].parentNode && b.insertBefore(this[0]), b.map(function() {
2799
var a = this;
2800
while (a.firstElementChild) a = a.firstElementChild;
2801
return a
2802
}).append(this)), this)
2803
},
2804
wrapInner: function(a) {
2805
return this.each(n.isFunction(a) ? function(b) {
2806
n(this).wrapInner(a.call(this, b))
2807
} : function() {
2808
var b = n(this),
2809
c = b.contents();
2810
c.length ? c.wrapAll(a) : b.append(a)
2811
})
2812
},
2813
wrap: function(a) {
2814
var b = n.isFunction(a);
2815
return this.each(function(c) {
2816
n(this).wrapAll(b ? a.call(this, c) : a)
2817
})
2818
},
2819
unwrap: function() {
2820
return this.parent().each(function() {
2821
n.nodeName(this, "body") || n(this).replaceWith(this.childNodes)
2822
}).end()
2823
}
2824
}), n.expr.filters.hidden = function(a) {
2825
return a.offsetWidth <= 0 && a.offsetHeight <= 0
2826
}, n.expr.filters.visible = function(a) {
2827
return !n.expr.filters.hidden(a)
2828
};
2829
var vc = /%20/g,
2830
wc = /\[\]$/,
2831
xc = /\r?\n/g,
2832
yc = /^(?:submit|button|image|reset|file)$/i,
2833
zc = /^(?:input|select|textarea|keygen)/i;
2834
2835
function Ac(a, b, c, d) {
2836
var e;
2837
if (n.isArray(b)) n.each(b, function(b, e) {
2838
c || wc.test(a) ? d(a, e) : Ac(a + "[" + ("object" == typeof e ? b : "") + "]", e, c, d)
2839
});
2840
else if (c || "object" !== n.type(b)) d(a, b);
2841
else
2842
for (e in b) Ac(a + "[" + e + "]", b[e], c, d)
2843
}
2844
n.param = function(a, b) {
2845
var c, d = [],
2846
e = function(a, b) {
2847
b = n.isFunction(b) ? b() : null == b ? "" : b, d[d.length] = encodeURIComponent(a) + "=" + encodeURIComponent(b)
2848
};
2849
if (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional), n.isArray(a) || a.jquery && !n.isPlainObject(a)) n.each(a, function() {
2850
e(this.name, this.value)
2851
});
2852
else
2853
for (c in a) Ac(c, a[c], b, e);
2854
return d.join("&").replace(vc, "+")
2855
}, n.fn.extend({
2856
serialize: function() {
2857
return n.param(this.serializeArray())
2858
},
2859
serializeArray: function() {
2860
return this.map(function() {
2861
var a = n.prop(this, "elements");
2862
return a ? n.makeArray(a) : this
2863
}).filter(function() {
2864
var a = this.type;
2865
return this.name && !n(this).is(":disabled") && zc.test(this.nodeName) && !yc.test(a) && (this.checked || !T.test(a))
2866
}).map(function(a, b) {
2867
var c = n(this).val();
2868
return null == c ? null : n.isArray(c) ? n.map(c, function(a) {
2869
return {
2870
name: b.name,
2871
value: a.replace(xc, "\r\n")
2872
}
2873
}) : {
2874
name: b.name,
2875
value: c.replace(xc, "\r\n")
2876
}
2877
}).get()
2878
}
2879
}), n.ajaxSettings.xhr = function() {
2880
try {
2881
return new XMLHttpRequest
2882
} catch (a) {}
2883
};
2884
var Bc = 0,
2885
Cc = {},
2886
Dc = {
2887
0: 200,
2888
1223: 204
2889
},
2890
Ec = n.ajaxSettings.xhr();
2891
a.attachEvent && a.attachEvent("onunload", function() {
2892
for (var a in Cc) Cc[a]()
2893
}), k.cors = !!Ec && "withCredentials" in Ec, k.ajax = Ec = !!Ec, n.ajaxTransport(function(a) {
2894
var b;
2895
return k.cors || Ec && !a.crossDomain ? {
2896
send: function(c, d) {
2897
var e, f = a.xhr(),
2898
g = ++Bc;
2899
if (f.open(a.type, a.url, a.async, a.username, a.password), a.xhrFields)
2900
for (e in a.xhrFields) f[e] = a.xhrFields[e];
2901
a.mimeType && f.overrideMimeType && f.overrideMimeType(a.mimeType), a.crossDomain || c["X-Requested-With"] || (c["X-Requested-With"] = "XMLHttpRequest");
2902
for (e in c) f.setRequestHeader(e, c[e]);
2903
b = function(a) {
2904
return function() {
2905
b && (delete Cc[g], b = f.onload = f.onerror = null, "abort" === a ? f.abort() : "error" === a ? d(f.status, f.statusText) : d(Dc[f.status] || f.status, f.statusText, "string" == typeof f.responseText ? {
2906
text: f.responseText
2907
} : void 0, f.getAllResponseHeaders()))
2908
}
2909
}, f.onload = b(), f.onerror = b("error"), b = Cc[g] = b("abort");
2910
try {
2911
f.send(a.hasContent && a.data || null)
2912
} catch (h) {
2913
if (b) throw h
2914
}
2915
},
2916
abort: function() {
2917
b && b()
2918
}
2919
} : void 0
2920
}), n.ajaxSetup({
2921
accepts: {
2922
script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
2923
},
2924
contents: {
2925
script: /(?:java|ecma)script/
2926
},
2927
converters: {
2928
"text script": function(a) {
2929
return n.globalEval(a), a
2930
}
2931
}
2932
}), n.ajaxPrefilter("script", function(a) {
2933
void 0 === a.cache && (a.cache = !1), a.crossDomain && (a.type = "GET")
2934
}), n.ajaxTransport("script", function(a) {
2935
if (a.crossDomain) {
2936
var b, c;
2937
return {
2938
send: function(d, e) {
2939
b = n("<script>").prop({
2940
async: !0,
2941
charset: a.scriptCharset,
2942
src: a.url
2943
}).on("load error", c = function(a) {
2944
b.remove(), c = null, a && e("error" === a.type ? 404 : 200, a.type)
2945
}), l.head.appendChild(b[0])
2946
},
2947
abort: function() {
2948
c && c()
2949
}
2950
}
2951
}
2952
});
2953
var Fc = [],
2954
Gc = /(=)\?(?=&|$)|\?\?/;
2955
n.ajaxSetup({
2956
jsonp: "callback",
2957
jsonpCallback: function() {
2958
var a = Fc.pop() || n.expando + "_" + cc++;
2959
return this[a] = !0, a
2960
}
2961
}), n.ajaxPrefilter("json jsonp", function(b, c, d) {
2962
var e, f, g, h = b.jsonp !== !1 && (Gc.test(b.url) ? "url" : "string" == typeof b.data && !(b.contentType || "").indexOf("application/x-www-form-urlencoded") && Gc.test(b.data) && "data");
2963
return h || "jsonp" === b.dataTypes[0] ? (e = b.jsonpCallback = n.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, h ? b[h] = b[h].replace(Gc, "$1" + e) : b.jsonp !== !1 && (b.url += (dc.test(b.url) ? "&" : "?") + b.jsonp + "=" + e), b.converters["script json"] = function() {
2964
return g || n.error(e + " was not called"), g[0]
2965
}, b.dataTypes[0] = "json", f = a[e], a[e] = function() {
2966
g = arguments
2967
}, d.always(function() {
2968
a[e] = f, b[e] && (b.jsonpCallback = c.jsonpCallback, Fc.push(e)), g && n.isFunction(f) && f(g[0]), g = f = void 0
2969
}), "script") : void 0
2970
}), n.parseHTML = function(a, b, c) {
2971
if (!a || "string" != typeof a) return null;
2972
"boolean" == typeof b && (c = b, b = !1), b = b || l;
2973
var d = v.exec(a),
2974
e = !c && [];
2975
return d ? [b.createElement(d[1])] : (d = n.buildFragment([a], b, e), e && e.length && n(e).remove(), n.merge([], d.childNodes))
2976
};
2977
var Hc = n.fn.load;
2978
n.fn.load = function(a, b, c) {
2979
if ("string" != typeof a && Hc) return Hc.apply(this, arguments);
2980
var d, e, f, g = this,
2981
h = a.indexOf(" ");
2982
return h >= 0 && (d = n.trim(a.slice(h)), a = a.slice(0, h)), n.isFunction(b) ? (c = b, b = void 0) : b && "object" == typeof b && (e = "POST"), g.length > 0 && n.ajax({
2983
url: a,
2984
type: e,
2985
dataType: "html",
2986
data: b
2987
}).done(function(a) {
2988
f = arguments, g.html(d ? n("<div>").append(n.parseHTML(a)).find(d) : a)
2989
}).complete(c && function(a, b) {
2990
g.each(c, f || [a.responseText, b, a])
2991
}), this
2992
}, n.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function(a, b) {
2993
n.fn[b] = function(a) {
2994
return this.on(b, a)
2995
}
2996
}), n.expr.filters.animated = function(a) {
2997
return n.grep(n.timers, function(b) {
2998
return a === b.elem
2999
}).length
3000
};
3001
var Ic = a.document.documentElement;
3002
3003
function Jc(a) {
3004
return n.isWindow(a) ? a : 9 === a.nodeType && a.defaultView
3005
}
3006
n.offset = {
3007
setOffset: function(a, b, c) {
3008
var d, e, f, g, h, i, j, k = n.css(a, "position"),
3009
l = n(a),
3010
m = {};
3011
"static" === k && (a.style.position = "relative"), h = l.offset(), f = n.css(a, "top"), i = n.css(a, "left"), j = ("absolute" === k || "fixed" === k) && (f + i).indexOf("auto") > -1, j ? (d = l.position(), g = d.top, e = d.left) : (g = parseFloat(f) || 0, e = parseFloat(i) || 0), n.isFunction(b) && (b = b.call(a, c, h)), null != b.top && (m.top = b.top - h.top + g), null != b.left && (m.left = b.left - h.left + e), "using" in b ? b.using.call(a, m) : l.css(m)
3012
}
3013
}, n.fn.extend({
3014
offset: function(a) {
3015
if (arguments.length) return void 0 === a ? this : this.each(function(b) {
3016
n.offset.setOffset(this, a, b)
3017
});
3018
var b, c, d = this[0],
3019
e = {
3020
top: 0,
3021
left: 0
3022
},
3023
f = d && d.ownerDocument;
3024
if (f) return b = f.documentElement, n.contains(b, d) ? (typeof d.getBoundingClientRect !== U && (e = d.getBoundingClientRect()), c = Jc(f), {
3025
top: e.top + c.pageYOffset - b.clientTop,
3026
left: e.left + c.pageXOffset - b.clientLeft
3027
}) : e
3028
},
3029
position: function() {
3030
if (this[0]) {
3031
var a, b, c = this[0],
3032
d = {
3033
top: 0,
3034
left: 0
3035
};
3036
return "fixed" === n.css(c, "position") ? b = c.getBoundingClientRect() : (a = this.offsetParent(), b = this.offset(), n.nodeName(a[0], "html") || (d = a.offset()), d.top += n.css(a[0], "borderTopWidth", !0), d.left += n.css(a[0], "borderLeftWidth", !0)), {
3037
top: b.top - d.top - n.css(c, "marginTop", !0),
3038
left: b.left - d.left - n.css(c, "marginLeft", !0)
3039
}
3040
}
3041
},
3042
offsetParent: function() {
3043
return this.map(function() {
3044
var a = this.offsetParent || Ic;
3045
while (a && !n.nodeName(a, "html") && "static" === n.css(a, "position")) a = a.offsetParent;
3046
return a || Ic
3047
})
3048
}
3049
}), n.each({
3050
scrollLeft: "pageXOffset",
3051
scrollTop: "pageYOffset"
3052
}, function(b, c) {
3053
var d = "pageYOffset" === c;
3054
n.fn[b] = function(e) {
3055
return J(this, function(b, e, f) {
3056
var g = Jc(b);
3057
return void 0 === f ? g ? g[c] : b[e] : void(g ? g.scrollTo(d ? a.pageXOffset : f, d ? f : a.pageYOffset) : b[e] = f)
3058
}, b, e, arguments.length, null)
3059
}
3060
}), n.each(["top", "left"], function(a, b) {
3061
n.cssHooks[b] = yb(k.pixelPosition, function(a, c) {
3062
return c ? (c = xb(a, b), vb.test(c) ? n(a).position()[b] + "px" : c) : void 0
3063
})
3064
}), n.each({
3065
Height: "height",
3066
Width: "width"
3067
}, function(a, b) {
3068
n.each({
3069
padding: "inner" + a,
3070
content: b,
3071
"": "outer" + a
3072
}, function(c, d) {
3073
n.fn[d] = function(d, e) {
3074
var f = arguments.length && (c || "boolean" != typeof d),
3075
g = c || (d === !0 || e === !0 ? "margin" : "border");
3076
return J(this, function(b, c, d) {
3077
var e;
3078
return n.isWindow(b) ? b.document.documentElement["client" + a] : 9 === b.nodeType ? (e = b.documentElement, Math.max(b.body["scroll" + a], e["scroll" + a], b.body["offset" + a], e["offset" + a], e["client" + a])) : void 0 === d ? n.css(b, c, g) : n.style(b, c, d, g)
3079
}, b, f ? d : void 0, f, null)
3080
}
3081
})
3082
}), n.fn.size = function() {
3083
return this.length
3084
}, n.fn.andSelf = n.fn.addBack, "function" == typeof define && define.amd && define("jquery", [], function() {
3085
return n
3086
});
3087
var Kc = a.jQuery,
3088
Lc = a.$;
3089
return n.noConflict = function(b) {
3090
return a.$ === n && (a.$ = Lc), b && a.jQuery === n && (a.jQuery = Kc), n
3091
}, typeof b === U && (a.jQuery = a.$ = n), n
3092
});
3093