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