Advertisement
Guest User

Untitled

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