Jquery3.3.1

Jquery 3.3.1引用插件

This script should not be not be installed directly. It is a library for other scripts to include with the meta directive // @require https://update.greatest.deepsurf.us/scripts/502757/1422896/Jquery331.js

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