ImNotSpam

Untitled

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