You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3265 lines
143 KiB

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