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

5805 lines
172 KiB

  1. /*! jQuery v1.11.0 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */
  2. !(function (a, b) {
  3. 'object' == typeof module && 'object' == typeof module.exports
  4. ? (module.exports = a.document
  5. ? b(a, !0)
  6. : function (a) {
  7. if (!a.document)
  8. throw new Error('jQuery requires a window with a document')
  9. return b(a)
  10. })
  11. : b(a)
  12. })('undefined' != typeof window ? window : this, function (a, b) {
  13. var c = [],
  14. d = c.slice,
  15. e = c.concat,
  16. f = c.push,
  17. g = c.indexOf,
  18. h = {},
  19. i = h.toString,
  20. j = h.hasOwnProperty,
  21. k = ''.trim,
  22. l = {},
  23. m = '1.11.0',
  24. n = function (a, b) {
  25. return new n.fn.init(a, b)
  26. },
  27. o = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
  28. p = /^-ms-/,
  29. q = /-([\da-z])/gi,
  30. r = function (a, b) {
  31. return b.toUpperCase()
  32. }
  33. ;(n.fn = n.prototype =
  34. {
  35. jquery: m,
  36. constructor: n,
  37. selector: '',
  38. length: 0,
  39. toArray: function () {
  40. return d.call(this)
  41. },
  42. get: function (a) {
  43. return null != a
  44. ? 0 > a
  45. ? this[a + this.length]
  46. : this[a]
  47. : d.call(this)
  48. },
  49. pushStack: function (a) {
  50. var b = n.merge(this.constructor(), a)
  51. return (b.prevObject = this), (b.context = this.context), b
  52. },
  53. each: function (a, b) {
  54. return n.each(this, a, b)
  55. },
  56. map: function (a) {
  57. return this.pushStack(
  58. n.map(this, function (b, c) {
  59. return a.call(b, c, b)
  60. })
  61. )
  62. },
  63. slice: function () {
  64. return this.pushStack(d.apply(this, arguments))
  65. },
  66. first: function () {
  67. return this.eq(0)
  68. },
  69. last: function () {
  70. return this.eq(-1)
  71. },
  72. eq: function (a) {
  73. var b = this.length,
  74. c = +a + (0 > a ? b : 0)
  75. return this.pushStack(c >= 0 && b > c ? [this[c]] : [])
  76. },
  77. end: function () {
  78. return this.prevObject || this.constructor(null)
  79. },
  80. push: f,
  81. sort: c.sort,
  82. splice: c.splice
  83. }),
  84. (n.extend = n.fn.extend =
  85. function () {
  86. var a,
  87. b,
  88. c,
  89. d,
  90. e,
  91. f,
  92. g = arguments[0] || {},
  93. h = 1,
  94. i = arguments.length,
  95. j = !1
  96. for (
  97. 'boolean' == typeof g && ((j = g), (g = arguments[h] || {}), h++),
  98. 'object' == typeof g || n.isFunction(g) || (g = {}),
  99. h === i && ((g = this), h--);
  100. i > h;
  101. h++
  102. )
  103. if (null != (e = arguments[h]))
  104. for (d in e)
  105. (a = g[d]),
  106. (c = e[d]),
  107. g !== c &&
  108. (j && c && (n.isPlainObject(c) || (b = n.isArray(c)))
  109. ? (b
  110. ? ((b = !1), (f = a && n.isArray(a) ? a : []))
  111. : (f = a && n.isPlainObject(a) ? a : {}),
  112. (g[d] = n.extend(j, f, c)))
  113. : void 0 !== c && (g[d] = c))
  114. return g
  115. }),
  116. n.extend({
  117. expando: 'jQuery' + (m + Math.random()).replace(/\D/g, ''),
  118. isReady: !0,
  119. error: function (a) {
  120. throw new Error(a)
  121. },
  122. noop: function () {},
  123. isFunction: function (a) {
  124. return 'function' === n.type(a)
  125. },
  126. isArray:
  127. Array.isArray ||
  128. function (a) {
  129. return 'array' === n.type(a)
  130. },
  131. isWindow: function (a) {
  132. return null != a && a == a.window
  133. },
  134. isNumeric: function (a) {
  135. return a - parseFloat(a) >= 0
  136. },
  137. isEmptyObject: function (a) {
  138. var b
  139. for (b in a) return !1
  140. return !0
  141. },
  142. isPlainObject: function (a) {
  143. var b
  144. if (!a || 'object' !== n.type(a) || a.nodeType || n.isWindow(a))
  145. return !1
  146. try {
  147. if (
  148. a.constructor &&
  149. !j.call(a, 'constructor') &&
  150. !j.call(a.constructor.prototype, 'isPrototypeOf')
  151. )
  152. return !1
  153. } catch (c) {
  154. return !1
  155. }
  156. if (l.ownLast) for (b in a) return j.call(a, b)
  157. for (b in a);
  158. return void 0 === b || j.call(a, b)
  159. },
  160. type: function (a) {
  161. return null == a
  162. ? a + ''
  163. : 'object' == typeof a || 'function' == typeof a
  164. ? h[i.call(a)] || 'object'
  165. : typeof a
  166. },
  167. globalEval: function (b) {
  168. b &&
  169. n.trim(b) &&
  170. (
  171. a.execScript ||
  172. function (b) {
  173. a.eval.call(a, b)
  174. }
  175. )(b)
  176. },
  177. camelCase: function (a) {
  178. return a.replace(p, 'ms-').replace(q, r)
  179. },
  180. nodeName: function (a, b) {
  181. return a.nodeName && a.nodeName.toLowerCase() === b.toLowerCase()
  182. },
  183. each: function (a, b, c) {
  184. var d,
  185. e = 0,
  186. f = a.length,
  187. g = s(a)
  188. if (c) {
  189. if (g) {
  190. for (; f > e; e++) if (((d = b.apply(a[e], c)), d === !1)) break
  191. } else for (e in a) if (((d = b.apply(a[e], c)), d === !1)) break
  192. } else if (g) {
  193. for (; f > e; e++) if (((d = b.call(a[e], e, a[e])), d === !1)) break
  194. } else for (e in a) if (((d = b.call(a[e], e, a[e])), d === !1)) break
  195. return a
  196. },
  197. trim:
  198. k && !k.call('\ufeff\xa0')
  199. ? function (a) {
  200. return null == a ? '' : k.call(a)
  201. }
  202. : function (a) {
  203. return null == a ? '' : (a + '').replace(o, '')
  204. },
  205. makeArray: function (a, b) {
  206. var c = b || []
  207. return (
  208. null != a &&
  209. (s(Object(a))
  210. ? n.merge(c, 'string' == typeof a ? [a] : a)
  211. : f.call(c, a)),
  212. c
  213. )
  214. },
  215. inArray: function (a, b, c) {
  216. var d
  217. if (b) {
  218. if (g) return g.call(b, a, c)
  219. for (
  220. d = b.length, c = c ? (0 > c ? Math.max(0, d + c) : c) : 0;
  221. d > c;
  222. c++
  223. )
  224. if (c in b && b[c] === a) return c
  225. }
  226. return -1
  227. },
  228. merge: function (a, b) {
  229. var c = +b.length,
  230. d = 0,
  231. e = a.length
  232. while (c > d) a[e++] = b[d++]
  233. if (c !== c) while (void 0 !== b[d]) a[e++] = b[d++]
  234. return (a.length = e), a
  235. },
  236. grep: function (a, b, c) {
  237. for (var d, e = [], f = 0, g = a.length, h = !c; g > f; f++)
  238. (d = !b(a[f], f)), d !== h && e.push(a[f])
  239. return e
  240. },
  241. map: function (a, b, c) {
  242. var d,
  243. f = 0,
  244. g = a.length,
  245. h = s(a),
  246. i = []
  247. if (h) for (; g > f; f++) (d = b(a[f], f, c)), null != d && i.push(d)
  248. else for (f in a) (d = b(a[f], f, c)), null != d && i.push(d)
  249. return e.apply([], i)
  250. },
  251. guid: 1,
  252. proxy: function (a, b) {
  253. var c, e, f
  254. return (
  255. 'string' == typeof b && ((f = a[b]), (b = a), (a = f)),
  256. n.isFunction(a)
  257. ? ((c = d.call(arguments, 2)),
  258. (e = function () {
  259. return a.apply(b || this, c.concat(d.call(arguments)))
  260. }),
  261. (e.guid = a.guid = a.guid || n.guid++),
  262. e)
  263. : void 0
  264. )
  265. },
  266. now: function () {
  267. return +new Date()
  268. },
  269. support: l
  270. }),
  271. n.each(
  272. 'Boolean Number String Function Array Date RegExp Object Error'.split(
  273. ' '
  274. ),
  275. function (a, b) {
  276. h['[object ' + b + ']'] = b.toLowerCase()
  277. }
  278. )
  279. function s(a) {
  280. var b = a.length,
  281. c = n.type(a)
  282. return 'function' === c || n.isWindow(a)
  283. ? !1
  284. : 1 === a.nodeType && b
  285. ? !0
  286. : 'array' === c ||
  287. 0 === b ||
  288. ('number' == typeof b && b > 0 && b - 1 in a)
  289. }
  290. var t = (function (a) {
  291. var b,
  292. c,
  293. d,
  294. e,
  295. f,
  296. g,
  297. h,
  298. i,
  299. j,
  300. k,
  301. l,
  302. m,
  303. n,
  304. o,
  305. p,
  306. q,
  307. r,
  308. s = 'sizzle' + -new Date(),
  309. t = a.document,
  310. u = 0,
  311. v = 0,
  312. w = eb(),
  313. x = eb(),
  314. y = eb(),
  315. z = function (a, b) {
  316. return a === b && (j = !0), 0
  317. },
  318. A = 'undefined',
  319. B = 1 << 31,
  320. C = {}.hasOwnProperty,
  321. D = [],
  322. E = D.pop,
  323. F = D.push,
  324. G = D.push,
  325. H = D.slice,
  326. I =
  327. D.indexOf ||
  328. function (a) {
  329. for (var b = 0, c = this.length; c > b; b++)
  330. if (this[b] === a) return b
  331. return -1
  332. },
  333. J =
  334. 'checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped',
  335. K = '[\\x20\\t\\r\\n\\f]',
  336. L = '(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+',
  337. M = L.replace('w', 'w#'),
  338. N =
  339. '\\[' +
  340. K +
  341. '*(' +
  342. L +
  343. ')' +
  344. K +
  345. '*(?:([*^$|!~]?=)' +
  346. K +
  347. '*(?:([\'"])((?:\\\\.|[^\\\\])*?)\\3|(' +
  348. M +
  349. ')|)|)' +
  350. K +
  351. '*\\]',
  352. O =
  353. ':(' +
  354. L +
  355. ')(?:\\((([\'"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|' +
  356. N.replace(3, 8) +
  357. ')*)|.*)\\)|)',
  358. P = new RegExp('^' + K + '+|((?:^|[^\\\\])(?:\\\\.)*)' + K + '+$', 'g'),
  359. Q = new RegExp('^' + K + '*,' + K + '*'),
  360. R = new RegExp('^' + K + '*([>+~]|' + K + ')' + K + '*'),
  361. S = new RegExp('=' + K + '*([^\\]\'"]*?)' + K + '*\\]', 'g'),
  362. T = new RegExp(O),
  363. U = new RegExp('^' + M + '$'),
  364. V = {
  365. ID: new RegExp('^#(' + L + ')'),
  366. CLASS: new RegExp('^\\.(' + L + ')'),
  367. TAG: new RegExp('^(' + L.replace('w', 'w*') + ')'),
  368. ATTR: new RegExp('^' + N),
  369. PSEUDO: new RegExp('^' + O),
  370. CHILD: new RegExp(
  371. '^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(' +
  372. K +
  373. '*(even|odd|(([+-]|)(\\d*)n|)' +
  374. K +
  375. '*(?:([+-]|)' +
  376. K +
  377. '*(\\d+)|))' +
  378. K +
  379. '*\\)|)',
  380. 'i'
  381. ),
  382. bool: new RegExp('^(?:' + J + ')$', 'i'),
  383. needsContext: new RegExp(
  384. '^' +
  385. K +
  386. '*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(' +
  387. K +
  388. '*((?:-\\d)?\\d*)' +
  389. K +
  390. '*\\)|)(?=[^-]|$)',
  391. 'i'
  392. )
  393. },
  394. W = /^(?:input|select|textarea|button)$/i,
  395. X = /^h\d$/i,
  396. Y = /^[^{]+\{\s*\[native \w/,
  397. Z = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
  398. $ = /[+~]/,
  399. _ = /'|\\/g,
  400. ab = new RegExp('\\\\([\\da-f]{1,6}' + K + '?|(' + K + ')|.)', 'ig'),
  401. bb = function (a, b, c) {
  402. var d = '0x' + b - 65536
  403. return d !== d || c
  404. ? b
  405. : 0 > d
  406. ? String.fromCharCode(d + 65536)
  407. : String.fromCharCode((d >> 10) | 55296, (1023 & d) | 56320)
  408. }
  409. try {
  410. G.apply((D = H.call(t.childNodes)), t.childNodes),
  411. D[t.childNodes.length].nodeType
  412. } catch (cb) {
  413. G = {
  414. apply: D.length
  415. ? function (a, b) {
  416. F.apply(a, H.call(b))
  417. }
  418. : function (a, b) {
  419. var c = a.length,
  420. d = 0
  421. while ((a[c++] = b[d++]));
  422. a.length = c - 1
  423. }
  424. }
  425. }
  426. function db(a, b, d, e) {
  427. var f, g, h, i, j, m, p, q, u, v
  428. if (
  429. ((b ? b.ownerDocument || b : t) !== l && k(b),
  430. (b = b || l),
  431. (d = d || []),
  432. !a || 'string' != typeof a)
  433. )
  434. return d
  435. if (1 !== (i = b.nodeType) && 9 !== i) return []
  436. if (n && !e) {
  437. if ((f = Z.exec(a)))
  438. if ((h = f[1])) {
  439. if (9 === i) {
  440. if (((g = b.getElementById(h)), !g || !g.parentNode)) return d
  441. if (g.id === h) return d.push(g), d
  442. } else if (
  443. b.ownerDocument &&
  444. (g = b.ownerDocument.getElementById(h)) &&
  445. r(b, g) &&
  446. g.id === h
  447. )
  448. return d.push(g), d
  449. } else {
  450. if (f[2]) return G.apply(d, b.getElementsByTagName(a)), d
  451. if (
  452. (h = f[3]) &&
  453. c.getElementsByClassName &&
  454. b.getElementsByClassName
  455. )
  456. return G.apply(d, b.getElementsByClassName(h)), d
  457. }
  458. if (c.qsa && (!o || !o.test(a))) {
  459. if (
  460. ((q = p = s),
  461. (u = b),
  462. (v = 9 === i && a),
  463. 1 === i && 'object' !== b.nodeName.toLowerCase())
  464. ) {
  465. ;(m = ob(a)),
  466. (p = b.getAttribute('id'))
  467. ? (q = p.replace(_, '\\$&'))
  468. : b.setAttribute('id', q),
  469. (q = "[id='" + q + "'] "),
  470. (j = m.length)
  471. while (j--) m[j] = q + pb(m[j])
  472. ;(u = ($.test(a) && mb(b.parentNode)) || b), (v = m.join(','))
  473. }
  474. if (v)
  475. try {
  476. return G.apply(d, u.querySelectorAll(v)), d
  477. } catch (w) {
  478. } finally {
  479. p || b.removeAttribute('id')
  480. }
  481. }
  482. }
  483. return xb(a.replace(P, '$1'), b, d, e)
  484. }
  485. function eb() {
  486. var a = []
  487. function b(c, e) {
  488. return (
  489. a.push(c + ' ') > d.cacheLength && delete b[a.shift()],
  490. (b[c + ' '] = e)
  491. )
  492. }
  493. return b
  494. }
  495. function fb(a) {
  496. return (a[s] = !0), a
  497. }
  498. function gb(a) {
  499. var b = l.createElement('div')
  500. try {
  501. return !!a(b)
  502. } catch (c) {
  503. return !1
  504. } finally {
  505. b.parentNode && b.parentNode.removeChild(b), (b = null)
  506. }
  507. }
  508. function hb(a, b) {
  509. var c = a.split('|'),
  510. e = a.length
  511. while (e--) d.attrHandle[c[e]] = b
  512. }
  513. function ib(a, b) {
  514. var c = b && a,
  515. d =
  516. c &&
  517. 1 === a.nodeType &&
  518. 1 === b.nodeType &&
  519. (~b.sourceIndex || B) - (~a.sourceIndex || B)
  520. if (d) return d
  521. if (c) while ((c = c.nextSibling)) if (c === b) return -1
  522. return a ? 1 : -1
  523. }
  524. function jb(a) {
  525. return function (b) {
  526. var c = b.nodeName.toLowerCase()
  527. return 'input' === c && b.type === a
  528. }
  529. }
  530. function kb(a) {
  531. return function (b) {
  532. var c = b.nodeName.toLowerCase()
  533. return ('input' === c || 'button' === c) && b.type === a
  534. }
  535. }
  536. function lb(a) {
  537. return fb(function (b) {
  538. return (
  539. (b = +b),
  540. fb(function (c, d) {
  541. var e,
  542. f = a([], c.length, b),
  543. g = f.length
  544. while (g--) c[(e = f[g])] && (c[e] = !(d[e] = c[e]))
  545. })
  546. )
  547. })
  548. }
  549. function mb(a) {
  550. return a && typeof a.getElementsByTagName !== A && a
  551. }
  552. ;(c = db.support = {}),
  553. (f = db.isXML =
  554. function (a) {
  555. var b = a && (a.ownerDocument || a).documentElement
  556. return b ? 'HTML' !== b.nodeName : !1
  557. }),
  558. (k = db.setDocument =
  559. function (a) {
  560. var b,
  561. e = a ? a.ownerDocument || a : t,
  562. g = e.defaultView
  563. return e !== l && 9 === e.nodeType && e.documentElement
  564. ? ((l = e),
  565. (m = e.documentElement),
  566. (n = !f(e)),
  567. g &&
  568. g !== g.top &&
  569. (g.addEventListener
  570. ? g.addEventListener(
  571. 'unload',
  572. function () {
  573. k()
  574. },
  575. !1
  576. )
  577. : g.attachEvent &&
  578. g.attachEvent('onunload', function () {
  579. k()
  580. })),
  581. (c.attributes = gb(function (a) {
  582. return (a.className = 'i'), !a.getAttribute('className')
  583. })),
  584. (c.getElementsByTagName = gb(function (a) {
  585. return (
  586. a.appendChild(e.createComment('')),
  587. !a.getElementsByTagName('*').length
  588. )
  589. })),
  590. (c.getElementsByClassName =
  591. Y.test(e.getElementsByClassName) &&
  592. gb(function (a) {
  593. return (
  594. (a.innerHTML =
  595. "<div class='a'></div><div class='a i'></div>"),
  596. (a.firstChild.className = 'i'),
  597. 2 === a.getElementsByClassName('i').length
  598. )
  599. })),
  600. (c.getById = gb(function (a) {
  601. return (
  602. (m.appendChild(a).id = s),
  603. !e.getElementsByName || !e.getElementsByName(s).length
  604. )
  605. })),
  606. c.getById
  607. ? ((d.find.ID = function (a, b) {
  608. if (typeof b.getElementById !== A && n) {
  609. var c = b.getElementById(a)
  610. return c && c.parentNode ? [c] : []
  611. }
  612. }),
  613. (d.filter.ID = function (a) {
  614. var b = a.replace(ab, bb)
  615. return function (a) {
  616. return a.getAttribute('id') === b
  617. }
  618. }))
  619. : (delete d.find.ID,
  620. (d.filter.ID = function (a) {
  621. var b = a.replace(ab, bb)
  622. return function (a) {
  623. var c =
  624. typeof a.getAttributeNode !== A &&
  625. a.getAttributeNode('id')
  626. return c && c.value === b
  627. }
  628. })),
  629. (d.find.TAG = c.getElementsByTagName
  630. ? function (a, b) {
  631. return typeof b.getElementsByTagName !== A
  632. ? b.getElementsByTagName(a)
  633. : void 0
  634. }
  635. : function (a, b) {
  636. var c,
  637. d = [],
  638. e = 0,
  639. f = b.getElementsByTagName(a)
  640. if ('*' === a) {
  641. while ((c = f[e++])) 1 === c.nodeType && d.push(c)
  642. return d
  643. }
  644. return f
  645. }),
  646. (d.find.CLASS =
  647. c.getElementsByClassName &&
  648. function (a, b) {
  649. return typeof b.getElementsByClassName !== A && n
  650. ? b.getElementsByClassName(a)
  651. : void 0
  652. }),
  653. (p = []),
  654. (o = []),
  655. (c.qsa = Y.test(e.querySelectorAll)) &&
  656. (gb(function (a) {
  657. ;(a.innerHTML =
  658. "<select t=''><option selected=''></option></select>"),
  659. a.querySelectorAll("[t^='']").length &&
  660. o.push('[*^$]=' + K + '*(?:\'\'|"")'),
  661. a.querySelectorAll('[selected]').length ||
  662. o.push('\\[' + K + '*(?:value|' + J + ')'),
  663. a.querySelectorAll(':checked').length || o.push(':checked')
  664. }),
  665. gb(function (a) {
  666. var b = e.createElement('input')
  667. b.setAttribute('type', 'hidden'),
  668. a.appendChild(b).setAttribute('name', 'D'),
  669. a.querySelectorAll('[name=d]').length &&
  670. o.push('name' + K + '*[*^$|!~]?='),
  671. a.querySelectorAll(':enabled').length ||
  672. o.push(':enabled', ':disabled'),
  673. a.querySelectorAll('*,:x'),
  674. o.push(',.*:')
  675. })),
  676. (c.matchesSelector = Y.test(
  677. (q =
  678. m.webkitMatchesSelector ||
  679. m.mozMatchesSelector ||
  680. m.oMatchesSelector ||
  681. m.msMatchesSelector)
  682. )) &&
  683. gb(function (a) {
  684. ;(c.disconnectedMatch = q.call(a, 'div')),
  685. q.call(a, "[s!='']:x"),
  686. p.push('!=', O)
  687. }),
  688. (o = o.length && new RegExp(o.join('|'))),
  689. (p = p.length && new RegExp(p.join('|'))),
  690. (b = Y.test(m.compareDocumentPosition)),
  691. (r =
  692. b || Y.test(m.contains)
  693. ? function (a, b) {
  694. var c = 9 === a.nodeType ? a.documentElement : a,
  695. d = b && b.parentNode
  696. return (
  697. a === d ||
  698. !(
  699. !d ||
  700. 1 !== d.nodeType ||
  701. !(c.contains
  702. ? c.contains(d)
  703. : a.compareDocumentPosition &&
  704. 16 & a.compareDocumentPosition(d))
  705. )
  706. )
  707. }
  708. : function (a, b) {
  709. if (b) while ((b = b.parentNode)) if (b === a) return !0
  710. return !1
  711. }),
  712. (z = b
  713. ? function (a, b) {
  714. if (a === b) return (j = !0), 0
  715. var d =
  716. !a.compareDocumentPosition - !b.compareDocumentPosition
  717. return d
  718. ? d
  719. : ((d =
  720. (a.ownerDocument || a) === (b.ownerDocument || b)
  721. ? a.compareDocumentPosition(b)
  722. : 1),
  723. 1 & d ||
  724. (!c.sortDetached && b.compareDocumentPosition(a) === d)
  725. ? a === e || (a.ownerDocument === t && r(t, a))
  726. ? -1
  727. : b === e || (b.ownerDocument === t && r(t, b))
  728. ? 1
  729. : i
  730. ? I.call(i, a) - I.call(i, b)
  731. : 0
  732. : 4 & d
  733. ? -1
  734. : 1)
  735. }
  736. : function (a, b) {
  737. if (a === b) return (j = !0), 0
  738. var c,
  739. d = 0,
  740. f = a.parentNode,
  741. g = b.parentNode,
  742. h = [a],
  743. k = [b]
  744. if (!f || !g)
  745. return a === e
  746. ? -1
  747. : b === e
  748. ? 1
  749. : f
  750. ? -1
  751. : g
  752. ? 1
  753. : i
  754. ? I.call(i, a) - I.call(i, b)
  755. : 0
  756. if (f === g) return ib(a, b)
  757. c = a
  758. while ((c = c.parentNode)) h.unshift(c)
  759. c = b
  760. while ((c = c.parentNode)) k.unshift(c)
  761. while (h[d] === k[d]) d++
  762. return d
  763. ? ib(h[d], k[d])
  764. : h[d] === t
  765. ? -1
  766. : k[d] === t
  767. ? 1
  768. : 0
  769. }),
  770. e)
  771. : l
  772. }),
  773. (db.matches = function (a, b) {
  774. return db(a, null, null, b)
  775. }),
  776. (db.matchesSelector = function (a, b) {
  777. if (
  778. ((a.ownerDocument || a) !== l && k(a),
  779. (b = b.replace(S, "='$1']")),
  780. !(!c.matchesSelector || !n || (p && p.test(b)) || (o && o.test(b))))
  781. )
  782. try {
  783. var d = q.call(a, b)
  784. if (
  785. d ||
  786. c.disconnectedMatch ||
  787. (a.document && 11 !== a.document.nodeType)
  788. )
  789. return d
  790. } catch (e) {}
  791. return db(b, l, null, [a]).length > 0
  792. }),
  793. (db.contains = function (a, b) {
  794. return (a.ownerDocument || a) !== l && k(a), r(a, b)
  795. }),
  796. (db.attr = function (a, b) {
  797. ;(a.ownerDocument || a) !== l && k(a)
  798. var e = d.attrHandle[b.toLowerCase()],
  799. f = e && C.call(d.attrHandle, b.toLowerCase()) ? e(a, b, !n) : void 0
  800. return void 0 !== f
  801. ? f
  802. : c.attributes || !n
  803. ? a.getAttribute(b)
  804. : (f = a.getAttributeNode(b)) && f.specified
  805. ? f.value
  806. : null
  807. }),
  808. (db.error = function (a) {
  809. throw new Error('Syntax error, unrecognized expression: ' + a)
  810. }),
  811. (db.uniqueSort = function (a) {
  812. var b,
  813. d = [],
  814. e = 0,
  815. f = 0
  816. if (
  817. ((j = !c.detectDuplicates),
  818. (i = !c.sortStable && a.slice(0)),
  819. a.sort(z),
  820. j)
  821. ) {
  822. while ((b = a[f++])) b === a[f] && (e = d.push(f))
  823. while (e--) a.splice(d[e], 1)
  824. }
  825. return (i = null), a
  826. }),
  827. (e = db.getText =
  828. function (a) {
  829. var b,
  830. c = '',
  831. d = 0,
  832. f = a.nodeType
  833. if (f) {
  834. if (1 === f || 9 === f || 11 === f) {
  835. if ('string' == typeof a.textContent) return a.textContent
  836. for (a = a.firstChild; a; a = a.nextSibling) c += e(a)
  837. } else if (3 === f || 4 === f) return a.nodeValue
  838. } else while ((b = a[d++])) c += e(b)
  839. return c
  840. }),
  841. (d = db.selectors =
  842. {
  843. cacheLength: 50,
  844. createPseudo: fb,
  845. match: V,
  846. attrHandle: {},
  847. find: {},
  848. relative: {
  849. '>': { dir: 'parentNode', first: !0 },
  850. ' ': { dir: 'parentNode' },
  851. '+': { dir: 'previousSibling', first: !0 },
  852. '~': { dir: 'previousSibling' }
  853. },
  854. preFilter: {
  855. ATTR: function (a) {
  856. return (
  857. (a[1] = a[1].replace(ab, bb)),
  858. (a[3] = (a[4] || a[5] || '').replace(ab, bb)),
  859. '~=' === a[2] && (a[3] = ' ' + a[3] + ' '),
  860. a.slice(0, 4)
  861. )
  862. },
  863. CHILD: function (a) {
  864. return (
  865. (a[1] = a[1].toLowerCase()),
  866. 'nth' === a[1].slice(0, 3)
  867. ? (a[3] || db.error(a[0]),
  868. (a[4] = +(a[4]
  869. ? a[5] + (a[6] || 1)
  870. : 2 * ('even' === a[3] || 'odd' === a[3]))),
  871. (a[5] = +(a[7] + a[8] || 'odd' === a[3])))
  872. : a[3] && db.error(a[0]),
  873. a
  874. )
  875. },
  876. PSEUDO: function (a) {
  877. var b,
  878. c = !a[5] && a[2]
  879. return V.CHILD.test(a[0])
  880. ? null
  881. : (a[3] && void 0 !== a[4]
  882. ? (a[2] = a[4])
  883. : c &&
  884. T.test(c) &&
  885. (b = ob(c, !0)) &&
  886. (b = c.indexOf(')', c.length - b) - c.length) &&
  887. ((a[0] = a[0].slice(0, b)), (a[2] = c.slice(0, b))),
  888. a.slice(0, 3))
  889. }
  890. },
  891. filter: {
  892. TAG: function (a) {
  893. var b = a.replace(ab, bb).toLowerCase()
  894. return '*' === a
  895. ? function () {
  896. return !0
  897. }
  898. : function (a) {
  899. return a.nodeName && a.nodeName.toLowerCase() === b
  900. }
  901. },
  902. CLASS: function (a) {
  903. var b = w[a + ' ']
  904. return (
  905. b ||
  906. ((b = new RegExp('(^|' + K + ')' + a + '(' + K + '|$)')) &&
  907. w(a, function (a) {
  908. return b.test(
  909. ('string' == typeof a.className && a.className) ||
  910. (typeof a.getAttribute !== A &&
  911. a.getAttribute('class')) ||
  912. ''
  913. )
  914. }))
  915. )
  916. },
  917. ATTR: function (a, b, c) {
  918. return function (d) {
  919. var e = db.attr(d, a)
  920. return null == e
  921. ? '!=' === b
  922. : b
  923. ? ((e += ''),
  924. '=' === b
  925. ? e === c
  926. : '!=' === b
  927. ? e !== c
  928. : '^=' === b
  929. ? c && 0 === e.indexOf(c)
  930. : '*=' === b
  931. ? c && e.indexOf(c) > -1
  932. : '$=' === b
  933. ? c && e.slice(-c.length) === c
  934. : '~=' === b
  935. ? (' ' + e + ' ').indexOf(c) > -1
  936. : '|=' === b
  937. ? e === c || e.slice(0, c.length + 1) === c + '-'
  938. : !1)
  939. : !0
  940. }
  941. },
  942. CHILD: function (a, b, c, d, e) {
  943. var f = 'nth' !== a.slice(0, 3),
  944. g = 'last' !== a.slice(-4),
  945. h = 'of-type' === b
  946. return 1 === d && 0 === e
  947. ? function (a) {
  948. return !!a.parentNode
  949. }
  950. : function (b, c, i) {
  951. var j,
  952. k,
  953. l,
  954. m,
  955. n,
  956. o,
  957. p = f !== g ? 'nextSibling' : 'previousSibling',
  958. q = b.parentNode,
  959. r = h && b.nodeName.toLowerCase(),
  960. t = !i && !h
  961. if (q) {
  962. if (f) {
  963. while (p) {
  964. l = b
  965. while ((l = l[p]))
  966. if (
  967. h
  968. ? l.nodeName.toLowerCase() === r
  969. : 1 === l.nodeType
  970. )
  971. return !1
  972. o = p = 'only' === a && !o && 'nextSibling'
  973. }
  974. return !0
  975. }
  976. if (((o = [g ? q.firstChild : q.lastChild]), g && t)) {
  977. ;(k = q[s] || (q[s] = {})),
  978. (j = k[a] || []),
  979. (n = j[0] === u && j[1]),
  980. (m = j[0] === u && j[2]),
  981. (l = n && q.childNodes[n])
  982. while (
  983. (l = (++n && l && l[p]) || (m = n = 0) || o.pop())
  984. )
  985. if (1 === l.nodeType && ++m && l === b) {
  986. k[a] = [u, n, m]
  987. break
  988. }
  989. } else if (
  990. t &&
  991. (j = (b[s] || (b[s] = {}))[a]) &&
  992. j[0] === u
  993. )
  994. m = j[1]
  995. else
  996. while (
  997. (l = (++n && l && l[p]) || (m = n = 0) || o.pop())
  998. )
  999. if (
  1000. (h
  1001. ? l.nodeName.toLowerCase() === r
  1002. : 1 === l.nodeType) &&
  1003. ++m &&
  1004. (t && ((l[s] || (l[s] = {}))[a] = [u, m]), l === b)
  1005. )
  1006. break
  1007. return (m -= e), m === d || (m % d === 0 && m / d >= 0)
  1008. }
  1009. }
  1010. },
  1011. PSEUDO: function (a, b) {
  1012. var c,
  1013. e =
  1014. d.pseudos[a] ||
  1015. d.setFilters[a.toLowerCase()] ||
  1016. db.error('unsupported pseudo: ' + a)
  1017. return e[s]
  1018. ? e(b)
  1019. : e.length > 1
  1020. ? ((c = [a, a, '', b]),
  1021. d.setFilters.hasOwnProperty(a.toLowerCase())
  1022. ? fb(function (a, c) {
  1023. var d,
  1024. f = e(a, b),
  1025. g = f.length
  1026. while (g--)
  1027. (d = I.call(a, f[g])), (a[d] = !(c[d] = f[g]))
  1028. })
  1029. : function (a) {
  1030. return e(a, 0, c)
  1031. })
  1032. : e
  1033. }
  1034. },
  1035. pseudos: {
  1036. not: fb(function (a) {
  1037. var b = [],
  1038. c = [],
  1039. d = g(a.replace(P, '$1'))
  1040. return d[s]
  1041. ? fb(function (a, b, c, e) {
  1042. var f,
  1043. g = d(a, null, e, []),
  1044. h = a.length
  1045. while (h--) (f = g[h]) && (a[h] = !(b[h] = f))
  1046. })
  1047. : function (a, e, f) {
  1048. return (b[0] = a), d(b, null, f, c), !c.pop()
  1049. }
  1050. }),
  1051. has: fb(function (a) {
  1052. return function (b) {
  1053. return db(a, b).length > 0
  1054. }
  1055. }),
  1056. contains: fb(function (a) {
  1057. return function (b) {
  1058. return (b.textContent || b.innerText || e(b)).indexOf(a) > -1
  1059. }
  1060. }),
  1061. lang: fb(function (a) {
  1062. return (
  1063. U.test(a || '') || db.error('unsupported lang: ' + a),
  1064. (a = a.replace(ab, bb).toLowerCase()),
  1065. function (b) {
  1066. var c
  1067. do
  1068. if (
  1069. (c = n
  1070. ? b.lang
  1071. : b.getAttribute('xml:lang') || b.getAttribute('lang'))
  1072. )
  1073. return (
  1074. (c = c.toLowerCase()),
  1075. c === a || 0 === c.indexOf(a + '-')
  1076. )
  1077. while ((b = b.parentNode) && 1 === b.nodeType)
  1078. return !1
  1079. }
  1080. )
  1081. }),
  1082. target: function (b) {
  1083. var c = a.location && a.location.hash
  1084. return c && c.slice(1) === b.id
  1085. },
  1086. root: function (a) {
  1087. return a === m
  1088. },
  1089. focus: function (a) {
  1090. return (
  1091. a === l.activeElement &&
  1092. (!l.hasFocus || l.hasFocus()) &&
  1093. !!(a.type || a.href || ~a.tabIndex)
  1094. )
  1095. },
  1096. enabled: function (a) {
  1097. return a.disabled === !1
  1098. },
  1099. disabled: function (a) {
  1100. return a.disabled === !0
  1101. },
  1102. checked: function (a) {
  1103. var b = a.nodeName.toLowerCase()
  1104. return (
  1105. ('input' === b && !!a.checked) ||
  1106. ('option' === b && !!a.selected)
  1107. )
  1108. },
  1109. selected: function (a) {
  1110. return (
  1111. a.parentNode && a.parentNode.selectedIndex, a.selected === !0
  1112. )
  1113. },
  1114. empty: function (a) {
  1115. for (a = a.firstChild; a; a = a.nextSibling)
  1116. if (a.nodeType < 6) return !1
  1117. return !0
  1118. },
  1119. parent: function (a) {
  1120. return !d.pseudos.empty(a)
  1121. },
  1122. header: function (a) {
  1123. return X.test(a.nodeName)
  1124. },
  1125. input: function (a) {
  1126. return W.test(a.nodeName)
  1127. },
  1128. button: function (a) {
  1129. var b = a.nodeName.toLowerCase()
  1130. return ('input' === b && 'button' === a.type) || 'button' === b
  1131. },
  1132. text: function (a) {
  1133. var b
  1134. return (
  1135. 'input' === a.nodeName.toLowerCase() &&
  1136. 'text' === a.type &&
  1137. (null == (b = a.getAttribute('type')) ||
  1138. 'text' === b.toLowerCase())
  1139. )
  1140. },
  1141. first: lb(function () {
  1142. return [0]
  1143. }),
  1144. last: lb(function (a, b) {
  1145. return [b - 1]
  1146. }),
  1147. eq: lb(function (a, b, c) {
  1148. return [0 > c ? c + b : c]
  1149. }),
  1150. even: lb(function (a, b) {
  1151. for (var c = 0; b > c; c += 2) a.push(c)
  1152. return a
  1153. }),
  1154. odd: lb(function (a, b) {
  1155. for (var c = 1; b > c; c += 2) a.push(c)
  1156. return a
  1157. }),
  1158. lt: lb(function (a, b, c) {
  1159. for (var d = 0 > c ? c + b : c; --d >= 0; ) a.push(d)
  1160. return a
  1161. }),
  1162. gt: lb(function (a, b, c) {
  1163. for (var d = 0 > c ? c + b : c; ++d < b; ) a.push(d)
  1164. return a
  1165. })
  1166. }
  1167. }),
  1168. (d.pseudos.nth = d.pseudos.eq)
  1169. for (b in { radio: !0, checkbox: !0, file: !0, password: !0, image: !0 })
  1170. d.pseudos[b] = jb(b)
  1171. for (b in { submit: !0, reset: !0 }) d.pseudos[b] = kb(b)
  1172. function nb() {}
  1173. ;(nb.prototype = d.filters = d.pseudos), (d.setFilters = new nb())
  1174. function ob(a, b) {
  1175. var c,
  1176. e,
  1177. f,
  1178. g,
  1179. h,
  1180. i,
  1181. j,
  1182. k = x[a + ' ']
  1183. if (k) return b ? 0 : k.slice(0)
  1184. ;(h = a), (i = []), (j = d.preFilter)
  1185. while (h) {
  1186. ;(!c || (e = Q.exec(h))) &&
  1187. (e && (h = h.slice(e[0].length) || h), i.push((f = []))),
  1188. (c = !1),
  1189. (e = R.exec(h)) &&
  1190. ((c = e.shift()),
  1191. f.push({ value: c, type: e[0].replace(P, ' ') }),
  1192. (h = h.slice(c.length)))
  1193. for (g in d.filter)
  1194. !(e = V[g].exec(h)) ||
  1195. (j[g] && !(e = j[g](e))) ||
  1196. ((c = e.shift()),
  1197. f.push({ value: c, type: g, matches: e }),
  1198. (h = h.slice(c.length)))
  1199. if (!c) break
  1200. }
  1201. return b ? h.length : h ? db.error(a) : x(a, i).slice(0)
  1202. }
  1203. function pb(a) {
  1204. for (var b = 0, c = a.length, d = ''; c > b; b++) d += a[b].value
  1205. return d
  1206. }
  1207. function qb(a, b, c) {
  1208. var d = b.dir,
  1209. e = c && 'parentNode' === d,
  1210. f = v++
  1211. return b.first
  1212. ? function (b, c, f) {
  1213. while ((b = b[d])) if (1 === b.nodeType || e) return a(b, c, f)
  1214. }
  1215. : function (b, c, g) {
  1216. var h,
  1217. i,
  1218. j = [u, f]
  1219. if (g) {
  1220. while ((b = b[d]))
  1221. if ((1 === b.nodeType || e) && a(b, c, g)) return !0
  1222. } else
  1223. while ((b = b[d]))
  1224. if (1 === b.nodeType || e) {
  1225. if (
  1226. ((i = b[s] || (b[s] = {})),
  1227. (h = i[d]) && h[0] === u && h[1] === f)
  1228. )
  1229. return (j[2] = h[2])
  1230. if (((i[d] = j), (j[2] = a(b, c, g)))) return !0
  1231. }
  1232. }
  1233. }
  1234. function rb(a) {
  1235. return a.length > 1
  1236. ? function (b, c, d) {
  1237. var e = a.length
  1238. while (e--) if (!a[e](b, c, d)) return !1
  1239. return !0
  1240. }
  1241. : a[0]
  1242. }
  1243. function sb(a, b, c, d, e) {
  1244. for (var f, g = [], h = 0, i = a.length, j = null != b; i > h; h++)
  1245. (f = a[h]) && (!c || c(f, d, e)) && (g.push(f), j && b.push(h))
  1246. return g
  1247. }
  1248. function tb(a, b, c, d, e, f) {
  1249. return (
  1250. d && !d[s] && (d = tb(d)),
  1251. e && !e[s] && (e = tb(e, f)),
  1252. fb(function (f, g, h, i) {
  1253. var j,
  1254. k,
  1255. l,
  1256. m = [],
  1257. n = [],
  1258. o = g.length,
  1259. p = f || wb(b || '*', h.nodeType ? [h] : h, []),
  1260. q = !a || (!f && b) ? p : sb(p, m, a, h, i),
  1261. r = c ? (e || (f ? a : o || d) ? [] : g) : q
  1262. if ((c && c(q, r, h, i), d)) {
  1263. ;(j = sb(r, n)), d(j, [], h, i), (k = j.length)
  1264. while (k--) (l = j[k]) && (r[n[k]] = !(q[n[k]] = l))
  1265. }
  1266. if (f) {
  1267. if (e || a) {
  1268. if (e) {
  1269. ;(j = []), (k = r.length)
  1270. while (k--) (l = r[k]) && j.push((q[k] = l))
  1271. e(null, (r = []), j, i)
  1272. }
  1273. k = r.length
  1274. while (k--)
  1275. (l = r[k]) &&
  1276. (j = e ? I.call(f, l) : m[k]) > -1 &&
  1277. (f[j] = !(g[j] = l))
  1278. }
  1279. } else (r = sb(r === g ? r.splice(o, r.length) : r)), e ? e(null, g, r, i) : G.apply(g, r)
  1280. })
  1281. )
  1282. }
  1283. function ub(a) {
  1284. for (
  1285. var b,
  1286. c,
  1287. e,
  1288. f = a.length,
  1289. g = d.relative[a[0].type],
  1290. i = g || d.relative[' '],
  1291. j = g ? 1 : 0,
  1292. k = qb(
  1293. function (a) {
  1294. return a === b
  1295. },
  1296. i,
  1297. !0
  1298. ),
  1299. l = qb(
  1300. function (a) {
  1301. return I.call(b, a) > -1
  1302. },
  1303. i,
  1304. !0
  1305. ),
  1306. m = [
  1307. function (a, c, d) {
  1308. return (
  1309. (!g && (d || c !== h)) ||
  1310. ((b = c).nodeType ? k(a, c, d) : l(a, c, d))
  1311. )
  1312. }
  1313. ];
  1314. f > j;
  1315. j++
  1316. )
  1317. if ((c = d.relative[a[j].type])) m = [qb(rb(m), c)]
  1318. else {
  1319. if (((c = d.filter[a[j].type].apply(null, a[j].matches)), c[s])) {
  1320. for (e = ++j; f > e; e++) if (d.relative[a[e].type]) break
  1321. return tb(
  1322. j > 1 && rb(m),
  1323. j > 1 &&
  1324. pb(
  1325. a
  1326. .slice(0, j - 1)
  1327. .concat({ value: ' ' === a[j - 2].type ? '*' : '' })
  1328. ).replace(P, '$1'),
  1329. c,
  1330. e > j && ub(a.slice(j, e)),
  1331. f > e && ub((a = a.slice(e))),
  1332. f > e && pb(a)
  1333. )
  1334. }
  1335. m.push(c)
  1336. }
  1337. return rb(m)
  1338. }
  1339. function vb(a, b) {
  1340. var c = b.length > 0,
  1341. e = a.length > 0,
  1342. f = function (f, g, i, j, k) {
  1343. var m,
  1344. n,
  1345. o,
  1346. p = 0,
  1347. q = '0',
  1348. r = f && [],
  1349. s = [],
  1350. t = h,
  1351. v = f || (e && d.find.TAG('*', k)),
  1352. w = (u += null == t ? 1 : Math.random() || 0.1),
  1353. x = v.length
  1354. for (k && (h = g !== l && g); q !== x && null != (m = v[q]); q++) {
  1355. if (e && m) {
  1356. n = 0
  1357. while ((o = a[n++]))
  1358. if (o(m, g, i)) {
  1359. j.push(m)
  1360. break
  1361. }
  1362. k && (u = w)
  1363. }
  1364. c && ((m = !o && m) && p--, f && r.push(m))
  1365. }
  1366. if (((p += q), c && q !== p)) {
  1367. n = 0
  1368. while ((o = b[n++])) o(r, s, g, i)
  1369. if (f) {
  1370. if (p > 0) while (q--) r[q] || s[q] || (s[q] = E.call(j))
  1371. s = sb(s)
  1372. }
  1373. G.apply(j, s),
  1374. k && !f && s.length > 0 && p + b.length > 1 && db.uniqueSort(j)
  1375. }
  1376. return k && ((u = w), (h = t)), r
  1377. }
  1378. return c ? fb(f) : f
  1379. }
  1380. g = db.compile = function (a, b) {
  1381. var c,
  1382. d = [],
  1383. e = [],
  1384. f = y[a + ' ']
  1385. if (!f) {
  1386. b || (b = ob(a)), (c = b.length)
  1387. while (c--) (f = ub(b[c])), f[s] ? d.push(f) : e.push(f)
  1388. f = y(a, vb(e, d))
  1389. }
  1390. return f
  1391. }
  1392. function wb(a, b, c) {
  1393. for (var d = 0, e = b.length; e > d; d++) db(a, b[d], c)
  1394. return c
  1395. }
  1396. function xb(a, b, e, f) {
  1397. var h,
  1398. i,
  1399. j,
  1400. k,
  1401. l,
  1402. m = ob(a)
  1403. if (!f && 1 === m.length) {
  1404. if (
  1405. ((i = m[0] = m[0].slice(0)),
  1406. i.length > 2 &&
  1407. 'ID' === (j = i[0]).type &&
  1408. c.getById &&
  1409. 9 === b.nodeType &&
  1410. n &&
  1411. d.relative[i[1].type])
  1412. ) {
  1413. if (((b = (d.find.ID(j.matches[0].replace(ab, bb), b) || [])[0]), !b))
  1414. return e
  1415. a = a.slice(i.shift().value.length)
  1416. }
  1417. h = V.needsContext.test(a) ? 0 : i.length
  1418. while (h--) {
  1419. if (((j = i[h]), d.relative[(k = j.type)])) break
  1420. if (
  1421. (l = d.find[k]) &&
  1422. (f = l(
  1423. j.matches[0].replace(ab, bb),
  1424. ($.test(i[0].type) && mb(b.parentNode)) || b
  1425. ))
  1426. ) {
  1427. if ((i.splice(h, 1), (a = f.length && pb(i)), !a))
  1428. return G.apply(e, f), e
  1429. break
  1430. }
  1431. }
  1432. }
  1433. return g(a, m)(f, b, !n, e, ($.test(a) && mb(b.parentNode)) || b), e
  1434. }
  1435. return (
  1436. (c.sortStable = s.split('').sort(z).join('') === s),
  1437. (c.detectDuplicates = !!j),
  1438. k(),
  1439. (c.sortDetached = gb(function (a) {
  1440. return 1 & a.compareDocumentPosition(l.createElement('div'))
  1441. })),
  1442. gb(function (a) {
  1443. return (
  1444. (a.innerHTML = "<a href='#'></a>"),
  1445. '#' === a.firstChild.getAttribute('href')
  1446. )
  1447. }) ||
  1448. hb('type|href|height|width', function (a, b, c) {
  1449. return c
  1450. ? void 0
  1451. : a.getAttribute(b, 'type' === b.toLowerCase() ? 1 : 2)
  1452. }),
  1453. (c.attributes &&
  1454. gb(function (a) {
  1455. return (
  1456. (a.innerHTML = '<input/>'),
  1457. a.firstChild.setAttribute('value', ''),
  1458. '' === a.firstChild.getAttribute('value')
  1459. )
  1460. })) ||
  1461. hb('value', function (a, b, c) {
  1462. return c || 'input' !== a.nodeName.toLowerCase()
  1463. ? void 0
  1464. : a.defaultValue
  1465. }),
  1466. gb(function (a) {
  1467. return null == a.getAttribute('disabled')
  1468. }) ||
  1469. hb(J, function (a, b, c) {
  1470. var d
  1471. return c
  1472. ? void 0
  1473. : a[b] === !0
  1474. ? b.toLowerCase()
  1475. : (d = a.getAttributeNode(b)) && d.specified
  1476. ? d.value
  1477. : null
  1478. }),
  1479. db
  1480. )
  1481. })(a)
  1482. ;(n.find = t),
  1483. (n.expr = t.selectors),
  1484. (n.expr[':'] = n.expr.pseudos),
  1485. (n.unique = t.uniqueSort),
  1486. (n.text = t.getText),
  1487. (n.isXMLDoc = t.isXML),
  1488. (n.contains = t.contains)
  1489. var u = n.expr.match.needsContext,
  1490. v = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
  1491. w = /^.[^:#\[\.,]*$/
  1492. function x(a, b, c) {
  1493. if (n.isFunction(b))
  1494. return n.grep(a, function (a, d) {
  1495. return !!b.call(a, d, a) !== c
  1496. })
  1497. if (b.nodeType)
  1498. return n.grep(a, function (a) {
  1499. return (a === b) !== c
  1500. })
  1501. if ('string' == typeof b) {
  1502. if (w.test(b)) return n.filter(b, a, c)
  1503. b = n.filter(b, a)
  1504. }
  1505. return n.grep(a, function (a) {
  1506. return n.inArray(a, b) >= 0 !== c
  1507. })
  1508. }
  1509. ;(n.filter = function (a, b, c) {
  1510. var d = b[0]
  1511. return (
  1512. c && (a = ':not(' + a + ')'),
  1513. 1 === b.length && 1 === d.nodeType
  1514. ? n.find.matchesSelector(d, a)
  1515. ? [d]
  1516. : []
  1517. : n.find.matches(
  1518. a,
  1519. n.grep(b, function (a) {
  1520. return 1 === a.nodeType
  1521. })
  1522. )
  1523. )
  1524. }),
  1525. n.fn.extend({
  1526. find: function (a) {
  1527. var b,
  1528. c = [],
  1529. d = this,
  1530. e = d.length
  1531. if ('string' != typeof a)
  1532. return this.pushStack(
  1533. n(a).filter(function () {
  1534. for (b = 0; e > b; b++) if (n.contains(d[b], this)) return !0
  1535. })
  1536. )
  1537. for (b = 0; e > b; b++) n.find(a, d[b], c)
  1538. return (
  1539. (c = this.pushStack(e > 1 ? n.unique(c) : c)),
  1540. (c.selector = this.selector ? this.selector + ' ' + a : a),
  1541. c
  1542. )
  1543. },
  1544. filter: function (a) {
  1545. return this.pushStack(x(this, a || [], !1))
  1546. },
  1547. not: function (a) {
  1548. return this.pushStack(x(this, a || [], !0))
  1549. },
  1550. is: function (a) {
  1551. return !!x(this, 'string' == typeof a && u.test(a) ? n(a) : a || [], !1)
  1552. .length
  1553. }
  1554. })
  1555. var y,
  1556. z = a.document,
  1557. A = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,
  1558. B = (n.fn.init = function (a, b) {
  1559. var c, d
  1560. if (!a) return this
  1561. if ('string' == typeof a) {
  1562. if (
  1563. ((c =
  1564. '<' === a.charAt(0) &&
  1565. '>' === a.charAt(a.length - 1) &&
  1566. a.length >= 3
  1567. ? [null, a, null]
  1568. : A.exec(a)),
  1569. !c || (!c[1] && b))
  1570. )
  1571. return !b || b.jquery ? (b || y).find(a) : this.constructor(b).find(a)
  1572. if (c[1]) {
  1573. if (
  1574. ((b = b instanceof n ? b[0] : b),
  1575. n.merge(
  1576. this,
  1577. n.parseHTML(c[1], b && b.nodeType ? b.ownerDocument || b : z, !0)
  1578. ),
  1579. v.test(c[1]) && n.isPlainObject(b))
  1580. )
  1581. for (c in b)
  1582. n.isFunction(this[c]) ? this[c](b[c]) : this.attr(c, b[c])
  1583. return this
  1584. }
  1585. if (((d = z.getElementById(c[2])), d && d.parentNode)) {
  1586. if (d.id !== c[2]) return y.find(a)
  1587. ;(this.length = 1), (this[0] = d)
  1588. }
  1589. return (this.context = z), (this.selector = a), this
  1590. }
  1591. return a.nodeType
  1592. ? ((this.context = this[0] = a), (this.length = 1), this)
  1593. : n.isFunction(a)
  1594. ? 'undefined' != typeof y.ready
  1595. ? y.ready(a)
  1596. : a(n)
  1597. : (void 0 !== a.selector &&
  1598. ((this.selector = a.selector), (this.context = a.context)),
  1599. n.makeArray(a, this))
  1600. })
  1601. ;(B.prototype = n.fn), (y = n(z))
  1602. var C = /^(?:parents|prev(?:Until|All))/,
  1603. D = { children: !0, contents: !0, next: !0, prev: !0 }
  1604. n.extend({
  1605. dir: function (a, b, c) {
  1606. var d = [],
  1607. e = a[b]
  1608. while (
  1609. e &&
  1610. 9 !== e.nodeType &&
  1611. (void 0 === c || 1 !== e.nodeType || !n(e).is(c))
  1612. )
  1613. 1 === e.nodeType && d.push(e), (e = e[b])
  1614. return d
  1615. },
  1616. sibling: function (a, b) {
  1617. for (var c = []; a; a = a.nextSibling)
  1618. 1 === a.nodeType && a !== b && c.push(a)
  1619. return c
  1620. }
  1621. }),
  1622. n.fn.extend({
  1623. has: function (a) {
  1624. var b,
  1625. c = n(a, this),
  1626. d = c.length
  1627. return this.filter(function () {
  1628. for (b = 0; d > b; b++) if (n.contains(this, c[b])) return !0
  1629. })
  1630. },
  1631. closest: function (a, b) {
  1632. for (
  1633. var c,
  1634. d = 0,
  1635. e = this.length,
  1636. f = [],
  1637. g = u.test(a) || 'string' != typeof a ? n(a, b || this.context) : 0;
  1638. e > d;
  1639. d++
  1640. )
  1641. for (c = this[d]; c && c !== b; c = c.parentNode)
  1642. if (
  1643. c.nodeType < 11 &&
  1644. (g
  1645. ? g.index(c) > -1
  1646. : 1 === c.nodeType && n.find.matchesSelector(c, a))
  1647. ) {
  1648. f.push(c)
  1649. break
  1650. }
  1651. return this.pushStack(f.length > 1 ? n.unique(f) : f)
  1652. },
  1653. index: function (a) {
  1654. return a
  1655. ? 'string' == typeof a
  1656. ? n.inArray(this[0], n(a))
  1657. : n.inArray(a.jquery ? a[0] : a, this)
  1658. : this[0] && this[0].parentNode
  1659. ? this.first().prevAll().length
  1660. : -1
  1661. },
  1662. add: function (a, b) {
  1663. return this.pushStack(n.unique(n.merge(this.get(), n(a, b))))
  1664. },
  1665. addBack: function (a) {
  1666. return this.add(null == a ? this.prevObject : this.prevObject.filter(a))
  1667. }
  1668. })
  1669. function E(a, b) {
  1670. do a = a[b]
  1671. while (a && 1 !== a.nodeType)
  1672. return a
  1673. }
  1674. n.each(
  1675. {
  1676. parent: function (a) {
  1677. var b = a.parentNode
  1678. return b && 11 !== b.nodeType ? b : null
  1679. },
  1680. parents: function (a) {
  1681. return n.dir(a, 'parentNode')
  1682. },
  1683. parentsUntil: function (a, b, c) {
  1684. return n.dir(a, 'parentNode', c)
  1685. },
  1686. next: function (a) {
  1687. return E(a, 'nextSibling')
  1688. },
  1689. prev: function (a) {
  1690. return E(a, 'previousSibling')
  1691. },
  1692. nextAll: function (a) {
  1693. return n.dir(a, 'nextSibling')
  1694. },
  1695. prevAll: function (a) {
  1696. return n.dir(a, 'previousSibling')
  1697. },
  1698. nextUntil: function (a, b, c) {
  1699. return n.dir(a, 'nextSibling', c)
  1700. },
  1701. prevUntil: function (a, b, c) {
  1702. return n.dir(a, 'previousSibling', c)
  1703. },
  1704. siblings: function (a) {
  1705. return n.sibling((a.parentNode || {}).firstChild, a)
  1706. },
  1707. children: function (a) {
  1708. return n.sibling(a.firstChild)
  1709. },
  1710. contents: function (a) {
  1711. return n.nodeName(a, 'iframe')
  1712. ? a.contentDocument || a.contentWindow.document
  1713. : n.merge([], a.childNodes)
  1714. }
  1715. },
  1716. function (a, b) {
  1717. n.fn[a] = function (c, d) {
  1718. var e = n.map(this, b, c)
  1719. return (
  1720. 'Until' !== a.slice(-5) && (d = c),
  1721. d && 'string' == typeof d && (e = n.filter(d, e)),
  1722. this.length > 1 &&
  1723. (D[a] || (e = n.unique(e)), C.test(a) && (e = e.reverse())),
  1724. this.pushStack(e)
  1725. )
  1726. }
  1727. }
  1728. )
  1729. var F = /\S+/g,
  1730. G = {}
  1731. function H(a) {
  1732. var b = (G[a] = {})
  1733. return (
  1734. n.each(a.match(F) || [], function (a, c) {
  1735. b[c] = !0
  1736. }),
  1737. b
  1738. )
  1739. }
  1740. ;(n.Callbacks = function (a) {
  1741. a = 'string' == typeof a ? G[a] || H(a) : n.extend({}, a)
  1742. var b,
  1743. c,
  1744. d,
  1745. e,
  1746. f,
  1747. g,
  1748. h = [],
  1749. i = !a.once && [],
  1750. j = function (l) {
  1751. for (
  1752. c = a.memory && l, d = !0, f = g || 0, g = 0, e = h.length, b = !0;
  1753. h && e > f;
  1754. f++
  1755. )
  1756. if (h[f].apply(l[0], l[1]) === !1 && a.stopOnFalse) {
  1757. c = !1
  1758. break
  1759. }
  1760. ;(b = !1),
  1761. h && (i ? i.length && j(i.shift()) : c ? (h = []) : k.disable())
  1762. },
  1763. k = {
  1764. add: function () {
  1765. if (h) {
  1766. var d = h.length
  1767. !(function f(b) {
  1768. n.each(b, function (b, c) {
  1769. var d = n.type(c)
  1770. 'function' === d
  1771. ? (a.unique && k.has(c)) || h.push(c)
  1772. : c && c.length && 'string' !== d && f(c)
  1773. })
  1774. })(arguments),
  1775. b ? (e = h.length) : c && ((g = d), j(c))
  1776. }
  1777. return this
  1778. },
  1779. remove: function () {
  1780. return (
  1781. h &&
  1782. n.each(arguments, function (a, c) {
  1783. var d
  1784. while ((d = n.inArray(c, h, d)) > -1)
  1785. h.splice(d, 1), b && (e >= d && e--, f >= d && f--)
  1786. }),
  1787. this
  1788. )
  1789. },
  1790. has: function (a) {
  1791. return a ? n.inArray(a, h) > -1 : !(!h || !h.length)
  1792. },
  1793. empty: function () {
  1794. return (h = []), (e = 0), this
  1795. },
  1796. disable: function () {
  1797. return (h = i = c = void 0), this
  1798. },
  1799. disabled: function () {
  1800. return !h
  1801. },
  1802. lock: function () {
  1803. return (i = void 0), c || k.disable(), this
  1804. },
  1805. locked: function () {
  1806. return !i
  1807. },
  1808. fireWith: function (a, c) {
  1809. return (
  1810. !h ||
  1811. (d && !i) ||
  1812. ((c = c || []),
  1813. (c = [a, c.slice ? c.slice() : c]),
  1814. b ? i.push(c) : j(c)),
  1815. this
  1816. )
  1817. },
  1818. fire: function () {
  1819. return k.fireWith(this, arguments), this
  1820. },
  1821. fired: function () {
  1822. return !!d
  1823. }
  1824. }
  1825. return k
  1826. }),
  1827. n.extend({
  1828. Deferred: function (a) {
  1829. var b = [
  1830. ['resolve', 'done', n.Callbacks('once memory'), 'resolved'],
  1831. ['reject', 'fail', n.Callbacks('once memory'), 'rejected'],
  1832. ['notify', 'progress', n.Callbacks('memory')]
  1833. ],
  1834. c = 'pending',
  1835. d = {
  1836. state: function () {
  1837. return c
  1838. },
  1839. always: function () {
  1840. return e.done(arguments).fail(arguments), this
  1841. },
  1842. then: function () {
  1843. var a = arguments
  1844. return n
  1845. .Deferred(function (c) {
  1846. n.each(b, function (b, f) {
  1847. var g = n.isFunction(a[b]) && a[b]
  1848. e[f[1]](function () {
  1849. var a = g && g.apply(this, arguments)
  1850. a && n.isFunction(a.promise)
  1851. ? a
  1852. .promise()
  1853. .done(c.resolve)
  1854. .fail(c.reject)
  1855. .progress(c.notify)
  1856. : c[f[0] + 'With'](
  1857. this === d ? c.promise() : this,
  1858. g ? [a] : arguments
  1859. )
  1860. })
  1861. }),
  1862. (a = null)
  1863. })
  1864. .promise()
  1865. },
  1866. promise: function (a) {
  1867. return null != a ? n.extend(a, d) : d
  1868. }
  1869. },
  1870. e = {}
  1871. return (
  1872. (d.pipe = d.then),
  1873. n.each(b, function (a, f) {
  1874. var g = f[2],
  1875. h = f[3]
  1876. ;(d[f[1]] = g.add),
  1877. h &&
  1878. g.add(
  1879. function () {
  1880. c = h
  1881. },
  1882. b[1 ^ a][2].disable,
  1883. b[2][2].lock
  1884. ),
  1885. (e[f[0]] = function () {
  1886. return e[f[0] + 'With'](this === e ? d : this, arguments), this
  1887. }),
  1888. (e[f[0] + 'With'] = g.fireWith)
  1889. }),
  1890. d.promise(e),
  1891. a && a.call(e, e),
  1892. e
  1893. )
  1894. },
  1895. when: function (a) {
  1896. var b = 0,
  1897. c = d.call(arguments),
  1898. e = c.length,
  1899. f = 1 !== e || (a && n.isFunction(a.promise)) ? e : 0,
  1900. g = 1 === f ? a : n.Deferred(),
  1901. h = function (a, b, c) {
  1902. return function (e) {
  1903. ;(b[a] = this),
  1904. (c[a] = arguments.length > 1 ? d.call(arguments) : e),
  1905. c === i ? g.notifyWith(b, c) : --f || g.resolveWith(b, c)
  1906. }
  1907. },
  1908. i,
  1909. j,
  1910. k
  1911. if (e > 1)
  1912. for (i = new Array(e), j = new Array(e), k = new Array(e); e > b; b++)
  1913. c[b] && n.isFunction(c[b].promise)
  1914. ? c[b]
  1915. .promise()
  1916. .done(h(b, k, c))
  1917. .fail(g.reject)
  1918. .progress(h(b, j, i))
  1919. : --f
  1920. return f || g.resolveWith(k, c), g.promise()
  1921. }
  1922. })
  1923. var I
  1924. ;(n.fn.ready = function (a) {
  1925. return n.ready.promise().done(a), this
  1926. }),
  1927. n.extend({
  1928. isReady: !1,
  1929. readyWait: 1,
  1930. holdReady: function (a) {
  1931. a ? n.readyWait++ : n.ready(!0)
  1932. },
  1933. ready: function (a) {
  1934. if (a === !0 ? !--n.readyWait : !n.isReady) {
  1935. if (!z.body) return setTimeout(n.ready)
  1936. ;(n.isReady = !0),
  1937. (a !== !0 && --n.readyWait > 0) ||
  1938. (I.resolveWith(z, [n]),
  1939. n.fn.trigger && n(z).trigger('ready').off('ready'))
  1940. }
  1941. }
  1942. })
  1943. function J() {
  1944. z.addEventListener
  1945. ? (z.removeEventListener('DOMContentLoaded', K, !1),
  1946. a.removeEventListener('load', K, !1))
  1947. : (z.detachEvent('onreadystatechange', K), a.detachEvent('onload', K))
  1948. }
  1949. function K() {
  1950. ;(z.addEventListener ||
  1951. 'load' === event.type ||
  1952. 'complete' === z.readyState) &&
  1953. (J(), n.ready())
  1954. }
  1955. n.ready.promise = function (b) {
  1956. if (!I)
  1957. if (((I = n.Deferred()), 'complete' === z.readyState)) setTimeout(n.ready)
  1958. else if (z.addEventListener)
  1959. z.addEventListener('DOMContentLoaded', K, !1),
  1960. a.addEventListener('load', K, !1)
  1961. else {
  1962. z.attachEvent('onreadystatechange', K), a.attachEvent('onload', K)
  1963. var c = !1
  1964. try {
  1965. c = null == a.frameElement && z.documentElement
  1966. } catch (d) {}
  1967. c &&
  1968. c.doScroll &&
  1969. !(function e() {
  1970. if (!n.isReady) {
  1971. try {
  1972. c.doScroll('left')
  1973. } catch (a) {
  1974. return setTimeout(e, 50)
  1975. }
  1976. J(), n.ready()
  1977. }
  1978. })()
  1979. }
  1980. return I.promise(b)
  1981. }
  1982. var L = 'undefined',
  1983. M
  1984. for (M in n(l)) break
  1985. ;(l.ownLast = '0' !== M),
  1986. (l.inlineBlockNeedsLayout = !1),
  1987. n(function () {
  1988. var a,
  1989. b,
  1990. c = z.getElementsByTagName('body')[0]
  1991. c &&
  1992. ((a = z.createElement('div')),
  1993. (a.style.cssText =
  1994. 'border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px'),
  1995. (b = z.createElement('div')),
  1996. c.appendChild(a).appendChild(b),
  1997. typeof b.style.zoom !== L &&
  1998. ((b.style.cssText =
  1999. 'border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1'),
  2000. (l.inlineBlockNeedsLayout = 3 === b.offsetWidth) &&
  2001. (c.style.zoom = 1)),
  2002. c.removeChild(a),
  2003. (a = b = null))
  2004. }),
  2005. (function () {
  2006. var a = z.createElement('div')
  2007. if (null == l.deleteExpando) {
  2008. l.deleteExpando = !0
  2009. try {
  2010. delete a.test
  2011. } catch (b) {
  2012. l.deleteExpando = !1
  2013. }
  2014. }
  2015. a = null
  2016. })(),
  2017. (n.acceptData = function (a) {
  2018. var b = n.noData[(a.nodeName + ' ').toLowerCase()],
  2019. c = +a.nodeType || 1
  2020. return 1 !== c && 9 !== c
  2021. ? !1
  2022. : !b || (b !== !0 && a.getAttribute('classid') === b)
  2023. })
  2024. var N = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
  2025. O = /([A-Z])/g
  2026. function P(a, b, c) {
  2027. if (void 0 === c && 1 === a.nodeType) {
  2028. var d = 'data-' + b.replace(O, '-$1').toLowerCase()
  2029. if (((c = a.getAttribute(d)), 'string' == typeof c)) {
  2030. try {
  2031. c =
  2032. 'true' === c
  2033. ? !0
  2034. : 'false' === c
  2035. ? !1
  2036. : 'null' === c
  2037. ? null
  2038. : +c + '' === c
  2039. ? +c
  2040. : N.test(c)
  2041. ? n.parseJSON(c)
  2042. : c
  2043. } catch (e) {}
  2044. n.data(a, b, c)
  2045. } else c = void 0
  2046. }
  2047. return c
  2048. }
  2049. function Q(a) {
  2050. var b
  2051. for (b in a)
  2052. if (('data' !== b || !n.isEmptyObject(a[b])) && 'toJSON' !== b) return !1
  2053. return !0
  2054. }
  2055. function R(a, b, d, e) {
  2056. if (n.acceptData(a)) {
  2057. var f,
  2058. g,
  2059. h = n.expando,
  2060. i = a.nodeType,
  2061. j = i ? n.cache : a,
  2062. k = i ? a[h] : a[h] && h
  2063. if (
  2064. (k && j[k] && (e || j[k].data)) ||
  2065. void 0 !== d ||
  2066. 'string' != typeof b
  2067. )
  2068. return (
  2069. k || (k = i ? (a[h] = c.pop() || n.guid++) : h),
  2070. j[k] || (j[k] = i ? {} : { toJSON: n.noop }),
  2071. ('object' == typeof b || 'function' == typeof b) &&
  2072. (e
  2073. ? (j[k] = n.extend(j[k], b))
  2074. : (j[k].data = n.extend(j[k].data, b))),
  2075. (g = j[k]),
  2076. e || (g.data || (g.data = {}), (g = g.data)),
  2077. void 0 !== d && (g[n.camelCase(b)] = d),
  2078. 'string' == typeof b
  2079. ? ((f = g[b]), null == f && (f = g[n.camelCase(b)]))
  2080. : (f = g),
  2081. f
  2082. )
  2083. }
  2084. }
  2085. function S(a, b, c) {
  2086. if (n.acceptData(a)) {
  2087. var d,
  2088. e,
  2089. f = a.nodeType,
  2090. g = f ? n.cache : a,
  2091. h = f ? a[n.expando] : n.expando
  2092. if (g[h]) {
  2093. if (b && (d = c ? g[h] : g[h].data)) {
  2094. n.isArray(b)
  2095. ? (b = b.concat(n.map(b, n.camelCase)))
  2096. : b in d
  2097. ? (b = [b])
  2098. : ((b = n.camelCase(b)), (b = b in d ? [b] : b.split(' '))),
  2099. (e = b.length)
  2100. while (e--) delete d[b[e]]
  2101. if (c ? !Q(d) : !n.isEmptyObject(d)) return
  2102. }
  2103. ;(c || (delete g[h].data, Q(g[h]))) &&
  2104. (f
  2105. ? n.cleanData([a], !0)
  2106. : l.deleteExpando || g != g.window
  2107. ? delete g[h]
  2108. : (g[h] = null))
  2109. }
  2110. }
  2111. }
  2112. n.extend({
  2113. cache: {},
  2114. noData: {
  2115. 'applet ': !0,
  2116. 'embed ': !0,
  2117. 'object ': 'clsid:D27CDB6E-AE6D-11cf-96B8-444553540000'
  2118. },
  2119. hasData: function (a) {
  2120. return (
  2121. (a = a.nodeType ? n.cache[a[n.expando]] : a[n.expando]), !!a && !Q(a)
  2122. )
  2123. },
  2124. data: function (a, b, c) {
  2125. return R(a, b, c)
  2126. },
  2127. removeData: function (a, b) {
  2128. return S(a, b)
  2129. },
  2130. _data: function (a, b, c) {
  2131. return R(a, b, c, !0)
  2132. },
  2133. _removeData: function (a, b) {
  2134. return S(a, b, !0)
  2135. }
  2136. }),
  2137. n.fn.extend({
  2138. data: function (a, b) {
  2139. var c,
  2140. d,
  2141. e,
  2142. f = this[0],
  2143. g = f && f.attributes
  2144. if (void 0 === a) {
  2145. if (
  2146. this.length &&
  2147. ((e = n.data(f)), 1 === f.nodeType && !n._data(f, 'parsedAttrs'))
  2148. ) {
  2149. c = g.length
  2150. while (c--)
  2151. (d = g[c].name),
  2152. 0 === d.indexOf('data-') &&
  2153. ((d = n.camelCase(d.slice(5))), P(f, d, e[d]))
  2154. n._data(f, 'parsedAttrs', !0)
  2155. }
  2156. return e
  2157. }
  2158. return 'object' == typeof a
  2159. ? this.each(function () {
  2160. n.data(this, a)
  2161. })
  2162. : arguments.length > 1
  2163. ? this.each(function () {
  2164. n.data(this, a, b)
  2165. })
  2166. : f
  2167. ? P(f, a, n.data(f, a))
  2168. : void 0
  2169. },
  2170. removeData: function (a) {
  2171. return this.each(function () {
  2172. n.removeData(this, a)
  2173. })
  2174. }
  2175. }),
  2176. n.extend({
  2177. queue: function (a, b, c) {
  2178. var d
  2179. return a
  2180. ? ((b = (b || 'fx') + 'queue'),
  2181. (d = n._data(a, b)),
  2182. c &&
  2183. (!d || n.isArray(c)
  2184. ? (d = n._data(a, b, n.makeArray(c)))
  2185. : d.push(c)),
  2186. d || [])
  2187. : void 0
  2188. },
  2189. dequeue: function (a, b) {
  2190. b = b || 'fx'
  2191. var c = n.queue(a, b),
  2192. d = c.length,
  2193. e = c.shift(),
  2194. f = n._queueHooks(a, b),
  2195. g = function () {
  2196. n.dequeue(a, b)
  2197. }
  2198. 'inprogress' === e && ((e = c.shift()), d--),
  2199. e &&
  2200. ('fx' === b && c.unshift('inprogress'),
  2201. delete f.stop,
  2202. e.call(a, g, f)),
  2203. !d && f && f.empty.fire()
  2204. },
  2205. _queueHooks: function (a, b) {
  2206. var c = b + 'queueHooks'
  2207. return (
  2208. n._data(a, c) ||
  2209. n._data(a, c, {
  2210. empty: n.Callbacks('once memory').add(function () {
  2211. n._removeData(a, b + 'queue'), n._removeData(a, c)
  2212. })
  2213. })
  2214. )
  2215. }
  2216. }),
  2217. n.fn.extend({
  2218. queue: function (a, b) {
  2219. var c = 2
  2220. return (
  2221. 'string' != typeof a && ((b = a), (a = 'fx'), c--),
  2222. arguments.length < c
  2223. ? n.queue(this[0], a)
  2224. : void 0 === b
  2225. ? this
  2226. : this.each(function () {
  2227. var c = n.queue(this, a, b)
  2228. n._queueHooks(this, a),
  2229. 'fx' === a && 'inprogress' !== c[0] && n.dequeue(this, a)
  2230. })
  2231. )
  2232. },
  2233. dequeue: function (a) {
  2234. return this.each(function () {
  2235. n.dequeue(this, a)
  2236. })
  2237. },
  2238. clearQueue: function (a) {
  2239. return this.queue(a || 'fx', [])
  2240. },
  2241. promise: function (a, b) {
  2242. var c,
  2243. d = 1,
  2244. e = n.Deferred(),
  2245. f = this,
  2246. g = this.length,
  2247. h = function () {
  2248. --d || e.resolveWith(f, [f])
  2249. }
  2250. 'string' != typeof a && ((b = a), (a = void 0)), (a = a || 'fx')
  2251. while (g--)
  2252. (c = n._data(f[g], a + 'queueHooks')),
  2253. c && c.empty && (d++, c.empty.add(h))
  2254. return h(), e.promise(b)
  2255. }
  2256. })
  2257. var T = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
  2258. U = ['Top', 'Right', 'Bottom', 'Left'],
  2259. V = function (a, b) {
  2260. return (
  2261. (a = b || a),
  2262. 'none' === n.css(a, 'display') || !n.contains(a.ownerDocument, a)
  2263. )
  2264. },
  2265. W = (n.access = function (a, b, c, d, e, f, g) {
  2266. var h = 0,
  2267. i = a.length,
  2268. j = null == c
  2269. if ('object' === n.type(c)) {
  2270. e = !0
  2271. for (h in c) n.access(a, b, h, c[h], !0, f, g)
  2272. } else if (
  2273. void 0 !== d &&
  2274. ((e = !0),
  2275. n.isFunction(d) || (g = !0),
  2276. j &&
  2277. (g
  2278. ? (b.call(a, d), (b = null))
  2279. : ((j = b),
  2280. (b = function (a, b, c) {
  2281. return j.call(n(a), c)
  2282. }))),
  2283. b)
  2284. )
  2285. for (; i > h; h++) b(a[h], c, g ? d : d.call(a[h], h, b(a[h], c)))
  2286. return e ? a : j ? b.call(a) : i ? b(a[0], c) : f
  2287. }),
  2288. X = /^(?:checkbox|radio)$/i
  2289. !(function () {
  2290. var a = z.createDocumentFragment(),
  2291. b = z.createElement('div'),
  2292. c = z.createElement('input')
  2293. if (
  2294. (b.setAttribute('className', 't'),
  2295. (b.innerHTML = " <link/><table></table><a href='/a'>a</a>"),
  2296. (l.leadingWhitespace = 3 === b.firstChild.nodeType),
  2297. (l.tbody = !b.getElementsByTagName('tbody').length),
  2298. (l.htmlSerialize = !!b.getElementsByTagName('link').length),
  2299. (l.html5Clone =
  2300. '<:nav></:nav>' !== z.createElement('nav').cloneNode(!0).outerHTML),
  2301. (c.type = 'checkbox'),
  2302. (c.checked = !0),
  2303. a.appendChild(c),
  2304. (l.appendChecked = c.checked),
  2305. (b.innerHTML = '<textarea>x</textarea>'),
  2306. (l.noCloneChecked = !!b.cloneNode(!0).lastChild.defaultValue),
  2307. a.appendChild(b),
  2308. (b.innerHTML = "<input type='radio' checked='checked' name='t'/>"),
  2309. (l.checkClone = b.cloneNode(!0).cloneNode(!0).lastChild.checked),
  2310. (l.noCloneEvent = !0),
  2311. b.attachEvent &&
  2312. (b.attachEvent('onclick', function () {
  2313. l.noCloneEvent = !1
  2314. }),
  2315. b.cloneNode(!0).click()),
  2316. null == l.deleteExpando)
  2317. ) {
  2318. l.deleteExpando = !0
  2319. try {
  2320. delete b.test
  2321. } catch (d) {
  2322. l.deleteExpando = !1
  2323. }
  2324. }
  2325. a = b = c = null
  2326. })(),
  2327. (function () {
  2328. var b,
  2329. c,
  2330. d = z.createElement('div')
  2331. for (b in { submit: !0, change: !0, focusin: !0 })
  2332. (c = 'on' + b),
  2333. (l[b + 'Bubbles'] = c in a) ||
  2334. (d.setAttribute(c, 't'),
  2335. (l[b + 'Bubbles'] = d.attributes[c].expando === !1))
  2336. d = null
  2337. })()
  2338. var Y = /^(?:input|select|textarea)$/i,
  2339. Z = /^key/,
  2340. $ = /^(?:mouse|contextmenu)|click/,
  2341. _ = /^(?:focusinfocus|focusoutblur)$/,
  2342. ab = /^([^.]*)(?:\.(.+)|)$/
  2343. function bb() {
  2344. return !0
  2345. }
  2346. function cb() {
  2347. return !1
  2348. }
  2349. function db() {
  2350. try {
  2351. return z.activeElement
  2352. } catch (a) {}
  2353. }
  2354. ;(n.event = {
  2355. global: {},
  2356. add: function (a, b, c, d, e) {
  2357. var f,
  2358. g,
  2359. h,
  2360. i,
  2361. j,
  2362. k,
  2363. l,
  2364. m,
  2365. o,
  2366. p,
  2367. q,
  2368. r = n._data(a)
  2369. if (r) {
  2370. c.handler && ((i = c), (c = i.handler), (e = i.selector)),
  2371. c.guid || (c.guid = n.guid++),
  2372. (g = r.events) || (g = r.events = {}),
  2373. (k = r.handle) ||
  2374. ((k = r.handle =
  2375. function (a) {
  2376. return typeof n === L || (a && n.event.triggered === a.type)
  2377. ? void 0
  2378. : n.event.dispatch.apply(k.elem, arguments)
  2379. }),
  2380. (k.elem = a)),
  2381. (b = (b || '').match(F) || ['']),
  2382. (h = b.length)
  2383. while (h--)
  2384. (f = ab.exec(b[h]) || []),
  2385. (o = q = f[1]),
  2386. (p = (f[2] || '').split('.').sort()),
  2387. o &&
  2388. ((j = n.event.special[o] || {}),
  2389. (o = (e ? j.delegateType : j.bindType) || o),
  2390. (j = n.event.special[o] || {}),
  2391. (l = n.extend(
  2392. {
  2393. type: o,
  2394. origType: q,
  2395. data: d,
  2396. handler: c,
  2397. guid: c.guid,
  2398. selector: e,
  2399. needsContext: e && n.expr.match.needsContext.test(e),
  2400. namespace: p.join('.')
  2401. },
  2402. i
  2403. )),
  2404. (m = g[o]) ||
  2405. ((m = g[o] = []),
  2406. (m.delegateCount = 0),
  2407. (j.setup && j.setup.call(a, d, p, k) !== !1) ||
  2408. (a.addEventListener
  2409. ? a.addEventListener(o, k, !1)
  2410. : a.attachEvent && a.attachEvent('on' + o, k))),
  2411. j.add &&
  2412. (j.add.call(a, l), l.handler.guid || (l.handler.guid = c.guid)),
  2413. e ? m.splice(m.delegateCount++, 0, l) : m.push(l),
  2414. (n.event.global[o] = !0))
  2415. a = null
  2416. }
  2417. },
  2418. remove: function (a, b, c, d, e) {
  2419. var f,
  2420. g,
  2421. h,
  2422. i,
  2423. j,
  2424. k,
  2425. l,
  2426. m,
  2427. o,
  2428. p,
  2429. q,
  2430. r = n.hasData(a) && n._data(a)
  2431. if (r && (k = r.events)) {
  2432. ;(b = (b || '').match(F) || ['']), (j = b.length)
  2433. while (j--)
  2434. if (
  2435. ((h = ab.exec(b[j]) || []),
  2436. (o = q = h[1]),
  2437. (p = (h[2] || '').split('.').sort()),
  2438. o)
  2439. ) {
  2440. ;(l = n.event.special[o] || {}),
  2441. (o = (d ? l.delegateType : l.bindType) || o),
  2442. (m = k[o] || []),
  2443. (h =
  2444. h[2] &&
  2445. new RegExp('(^|\\.)' + p.join('\\.(?:.*\\.|)') + '(\\.|$)')),
  2446. (i = f = m.length)
  2447. while (f--)
  2448. (g = m[f]),
  2449. (!e && q !== g.origType) ||
  2450. (c && c.guid !== g.guid) ||
  2451. (h && !h.test(g.namespace)) ||
  2452. (d && d !== g.selector && ('**' !== d || !g.selector)) ||
  2453. (m.splice(f, 1),
  2454. g.selector && m.delegateCount--,
  2455. l.remove && l.remove.call(a, g))
  2456. i &&
  2457. !m.length &&
  2458. ((l.teardown && l.teardown.call(a, p, r.handle) !== !1) ||
  2459. n.removeEvent(a, o, r.handle),
  2460. delete k[o])
  2461. } else for (o in k) n.event.remove(a, o + b[j], c, d, !0)
  2462. n.isEmptyObject(k) && (delete r.handle, n._removeData(a, 'events'))
  2463. }
  2464. },
  2465. trigger: function (b, c, d, e) {
  2466. var f,
  2467. g,
  2468. h,
  2469. i,
  2470. k,
  2471. l,
  2472. m,
  2473. o = [d || z],
  2474. p = j.call(b, 'type') ? b.type : b,
  2475. q = j.call(b, 'namespace') ? b.namespace.split('.') : []
  2476. if (
  2477. ((h = l = d = d || z),
  2478. 3 !== d.nodeType &&
  2479. 8 !== d.nodeType &&
  2480. !_.test(p + n.event.triggered) &&
  2481. (p.indexOf('.') >= 0 &&
  2482. ((q = p.split('.')), (p = q.shift()), q.sort()),
  2483. (g = p.indexOf(':') < 0 && 'on' + p),
  2484. (b = b[n.expando] ? b : new n.Event(p, 'object' == typeof b && b)),
  2485. (b.isTrigger = e ? 2 : 3),
  2486. (b.namespace = q.join('.')),
  2487. (b.namespace_re = b.namespace
  2488. ? new RegExp('(^|\\.)' + q.join('\\.(?:.*\\.|)') + '(\\.|$)')
  2489. : null),
  2490. (b.result = void 0),
  2491. b.target || (b.target = d),
  2492. (c = null == c ? [b] : n.makeArray(c, [b])),
  2493. (k = n.event.special[p] || {}),
  2494. e || !k.trigger || k.trigger.apply(d, c) !== !1))
  2495. ) {
  2496. if (!e && !k.noBubble && !n.isWindow(d)) {
  2497. for (
  2498. i = k.delegateType || p, _.test(i + p) || (h = h.parentNode);
  2499. h;
  2500. h = h.parentNode
  2501. )
  2502. o.push(h), (l = h)
  2503. l === (d.ownerDocument || z) &&
  2504. o.push(l.defaultView || l.parentWindow || a)
  2505. }
  2506. m = 0
  2507. while ((h = o[m++]) && !b.isPropagationStopped())
  2508. (b.type = m > 1 ? i : k.bindType || p),
  2509. (f = (n._data(h, 'events') || {})[b.type] && n._data(h, 'handle')),
  2510. f && f.apply(h, c),
  2511. (f = g && h[g]),
  2512. f &&
  2513. f.apply &&
  2514. n.acceptData(h) &&
  2515. ((b.result = f.apply(h, c)),
  2516. b.result === !1 && b.preventDefault())
  2517. if (
  2518. ((b.type = p),
  2519. !e &&
  2520. !b.isDefaultPrevented() &&
  2521. (!k._default || k._default.apply(o.pop(), c) === !1) &&
  2522. n.acceptData(d) &&
  2523. g &&
  2524. d[p] &&
  2525. !n.isWindow(d))
  2526. ) {
  2527. ;(l = d[g]), l && (d[g] = null), (n.event.triggered = p)
  2528. try {
  2529. d[p]()
  2530. } catch (r) {}
  2531. ;(n.event.triggered = void 0), l && (d[g] = l)
  2532. }
  2533. return b.result
  2534. }
  2535. },
  2536. dispatch: function (a) {
  2537. a = n.event.fix(a)
  2538. var b,
  2539. c,
  2540. e,
  2541. f,
  2542. g,
  2543. h = [],
  2544. i = d.call(arguments),
  2545. j = (n._data(this, 'events') || {})[a.type] || [],
  2546. k = n.event.special[a.type] || {}
  2547. if (
  2548. ((i[0] = a),
  2549. (a.delegateTarget = this),
  2550. !k.preDispatch || k.preDispatch.call(this, a) !== !1)
  2551. ) {
  2552. ;(h = n.event.handlers.call(this, a, j)), (b = 0)
  2553. while ((f = h[b++]) && !a.isPropagationStopped()) {
  2554. ;(a.currentTarget = f.elem), (g = 0)
  2555. while ((e = f.handlers[g++]) && !a.isImmediatePropagationStopped())
  2556. (!a.namespace_re || a.namespace_re.test(e.namespace)) &&
  2557. ((a.handleObj = e),
  2558. (a.data = e.data),
  2559. (c = (
  2560. (n.event.special[e.origType] || {}).handle || e.handler
  2561. ).apply(f.elem, i)),
  2562. void 0 !== c &&
  2563. (a.result = c) === !1 &&
  2564. (a.preventDefault(), a.stopPropagation()))
  2565. }
  2566. return k.postDispatch && k.postDispatch.call(this, a), a.result
  2567. }
  2568. },
  2569. handlers: function (a, b) {
  2570. var c,
  2571. d,
  2572. e,
  2573. f,
  2574. g = [],
  2575. h = b.delegateCount,
  2576. i = a.target
  2577. if (h && i.nodeType && (!a.button || 'click' !== a.type))
  2578. for (; i != this; i = i.parentNode || this)
  2579. if (1 === i.nodeType && (i.disabled !== !0 || 'click' !== a.type)) {
  2580. for (e = [], f = 0; h > f; f++)
  2581. (d = b[f]),
  2582. (c = d.selector + ' '),
  2583. void 0 === e[c] &&
  2584. (e[c] = d.needsContext
  2585. ? n(c, this).index(i) >= 0
  2586. : n.find(c, this, null, [i]).length),
  2587. e[c] && e.push(d)
  2588. e.length && g.push({ elem: i, handlers: e })
  2589. }
  2590. return h < b.length && g.push({ elem: this, handlers: b.slice(h) }), g
  2591. },
  2592. fix: function (a) {
  2593. if (a[n.expando]) return a
  2594. var b,
  2595. c,
  2596. d,
  2597. e = a.type,
  2598. f = a,
  2599. g = this.fixHooks[e]
  2600. g ||
  2601. (this.fixHooks[e] = g =
  2602. $.test(e) ? this.mouseHooks : Z.test(e) ? this.keyHooks : {}),
  2603. (d = g.props ? this.props.concat(g.props) : this.props),
  2604. (a = new n.Event(f)),
  2605. (b = d.length)
  2606. while (b--) (c = d[b]), (a[c] = f[c])
  2607. return (
  2608. a.target || (a.target = f.srcElement || z),
  2609. 3 === a.target.nodeType && (a.target = a.target.parentNode),
  2610. (a.metaKey = !!a.metaKey),
  2611. g.filter ? g.filter(a, f) : a
  2612. )
  2613. },
  2614. props:
  2615. 'altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which'.split(
  2616. ' '
  2617. ),
  2618. fixHooks: {},
  2619. keyHooks: {
  2620. props: 'char charCode key keyCode'.split(' '),
  2621. filter: function (a, b) {
  2622. return (
  2623. null == a.which &&
  2624. (a.which = null != b.charCode ? b.charCode : b.keyCode),
  2625. a
  2626. )
  2627. }
  2628. },
  2629. mouseHooks: {
  2630. props:
  2631. 'button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement'.split(
  2632. ' '
  2633. ),
  2634. filter: function (a, b) {
  2635. var c,
  2636. d,
  2637. e,
  2638. f = b.button,
  2639. g = b.fromElement
  2640. return (
  2641. null == a.pageX &&
  2642. null != b.clientX &&
  2643. ((d = a.target.ownerDocument || z),
  2644. (e = d.documentElement),
  2645. (c = d.body),
  2646. (a.pageX =
  2647. b.clientX +
  2648. ((e && e.scrollLeft) || (c && c.scrollLeft) || 0) -
  2649. ((e && e.clientLeft) || (c && c.clientLeft) || 0)),
  2650. (a.pageY =
  2651. b.clientY +
  2652. ((e && e.scrollTop) || (c && c.scrollTop) || 0) -
  2653. ((e && e.clientTop) || (c && c.clientTop) || 0))),
  2654. !a.relatedTarget &&
  2655. g &&
  2656. (a.relatedTarget = g === a.target ? b.toElement : g),
  2657. a.which ||
  2658. void 0 === f ||
  2659. (a.which = 1 & f ? 1 : 2 & f ? 3 : 4 & f ? 2 : 0),
  2660. a
  2661. )
  2662. }
  2663. },
  2664. special: {
  2665. load: { noBubble: !0 },
  2666. focus: {
  2667. trigger: function () {
  2668. if (this !== db() && this.focus)
  2669. try {
  2670. return this.focus(), !1
  2671. } catch (a) {}
  2672. },
  2673. delegateType: 'focusin'
  2674. },
  2675. blur: {
  2676. trigger: function () {
  2677. return this === db() && this.blur ? (this.blur(), !1) : void 0
  2678. },
  2679. delegateType: 'focusout'
  2680. },
  2681. click: {
  2682. trigger: function () {
  2683. return n.nodeName(this, 'input') &&
  2684. 'checkbox' === this.type &&
  2685. this.click
  2686. ? (this.click(), !1)
  2687. : void 0
  2688. },
  2689. _default: function (a) {
  2690. return n.nodeName(a.target, 'a')
  2691. }
  2692. },
  2693. beforeunload: {
  2694. postDispatch: function (a) {
  2695. void 0 !== a.result && (a.originalEvent.returnValue = a.result)
  2696. }
  2697. }
  2698. },
  2699. simulate: function (a, b, c, d) {
  2700. var e = n.extend(new n.Event(), c, {
  2701. type: a,
  2702. isSimulated: !0,
  2703. originalEvent: {}
  2704. })
  2705. d ? n.event.trigger(e, null, b) : n.event.dispatch.call(b, e),
  2706. e.isDefaultPrevented() && c.preventDefault()
  2707. }
  2708. }),
  2709. (n.removeEvent = z.removeEventListener
  2710. ? function (a, b, c) {
  2711. a.removeEventListener && a.removeEventListener(b, c, !1)
  2712. }
  2713. : function (a, b, c) {
  2714. var d = 'on' + b
  2715. a.detachEvent &&
  2716. (typeof a[d] === L && (a[d] = null), a.detachEvent(d, c))
  2717. }),
  2718. (n.Event = function (a, b) {
  2719. return this instanceof n.Event
  2720. ? (a && a.type
  2721. ? ((this.originalEvent = a),
  2722. (this.type = a.type),
  2723. (this.isDefaultPrevented =
  2724. a.defaultPrevented ||
  2725. (void 0 === a.defaultPrevented &&
  2726. (a.returnValue === !1 ||
  2727. (a.getPreventDefault && a.getPreventDefault())))
  2728. ? bb
  2729. : cb))
  2730. : (this.type = a),
  2731. b && n.extend(this, b),
  2732. (this.timeStamp = (a && a.timeStamp) || n.now()),
  2733. void (this[n.expando] = !0))
  2734. : new n.Event(a, b)
  2735. }),
  2736. (n.Event.prototype = {
  2737. isDefaultPrevented: cb,
  2738. isPropagationStopped: cb,
  2739. isImmediatePropagationStopped: cb,
  2740. preventDefault: function () {
  2741. var a = this.originalEvent
  2742. ;(this.isDefaultPrevented = bb),
  2743. a && (a.preventDefault ? a.preventDefault() : (a.returnValue = !1))
  2744. },
  2745. stopPropagation: function () {
  2746. var a = this.originalEvent
  2747. ;(this.isPropagationStopped = bb),
  2748. a && (a.stopPropagation && a.stopPropagation(), (a.cancelBubble = !0))
  2749. },
  2750. stopImmediatePropagation: function () {
  2751. ;(this.isImmediatePropagationStopped = bb), this.stopPropagation()
  2752. }
  2753. }),
  2754. n.each(
  2755. { mouseenter: 'mouseover', mouseleave: 'mouseout' },
  2756. function (a, b) {
  2757. n.event.special[a] = {
  2758. delegateType: b,
  2759. bindType: b,
  2760. handle: function (a) {
  2761. var c,
  2762. d = this,
  2763. e = a.relatedTarget,
  2764. f = a.handleObj
  2765. return (
  2766. (!e || (e !== d && !n.contains(d, e))) &&
  2767. ((a.type = f.origType),
  2768. (c = f.handler.apply(this, arguments)),
  2769. (a.type = b)),
  2770. c
  2771. )
  2772. }
  2773. }
  2774. }
  2775. ),
  2776. l.submitBubbles ||
  2777. (n.event.special.submit = {
  2778. setup: function () {
  2779. return n.nodeName(this, 'form')
  2780. ? !1
  2781. : void n.event.add(
  2782. this,
  2783. 'click._submit keypress._submit',
  2784. function (a) {
  2785. var b = a.target,
  2786. c =
  2787. n.nodeName(b, 'input') || n.nodeName(b, 'button')
  2788. ? b.form
  2789. : void 0
  2790. c &&
  2791. !n._data(c, 'submitBubbles') &&
  2792. (n.event.add(c, 'submit._submit', function (a) {
  2793. a._submit_bubble = !0
  2794. }),
  2795. n._data(c, 'submitBubbles', !0))
  2796. }
  2797. )
  2798. },
  2799. postDispatch: function (a) {
  2800. a._submit_bubble &&
  2801. (delete a._submit_bubble,
  2802. this.parentNode &&
  2803. !a.isTrigger &&
  2804. n.event.simulate('submit', this.parentNode, a, !0))
  2805. },
  2806. teardown: function () {
  2807. return n.nodeName(this, 'form')
  2808. ? !1
  2809. : void n.event.remove(this, '._submit')
  2810. }
  2811. }),
  2812. l.changeBubbles ||
  2813. (n.event.special.change = {
  2814. setup: function () {
  2815. return Y.test(this.nodeName)
  2816. ? (('checkbox' === this.type || 'radio' === this.type) &&
  2817. (n.event.add(this, 'propertychange._change', function (a) {
  2818. 'checked' === a.originalEvent.propertyName &&
  2819. (this._just_changed = !0)
  2820. }),
  2821. n.event.add(this, 'click._change', function (a) {
  2822. this._just_changed &&
  2823. !a.isTrigger &&
  2824. (this._just_changed = !1),
  2825. n.event.simulate('change', this, a, !0)
  2826. })),
  2827. !1)
  2828. : void n.event.add(this, 'beforeactivate._change', function (a) {
  2829. var b = a.target
  2830. Y.test(b.nodeName) &&
  2831. !n._data(b, 'changeBubbles') &&
  2832. (n.event.add(b, 'change._change', function (a) {
  2833. !this.parentNode ||
  2834. a.isSimulated ||
  2835. a.isTrigger ||
  2836. n.event.simulate('change', this.parentNode, a, !0)
  2837. }),
  2838. n._data(b, 'changeBubbles', !0))
  2839. })
  2840. },
  2841. handle: function (a) {
  2842. var b = a.target
  2843. return this !== b ||
  2844. a.isSimulated ||
  2845. a.isTrigger ||
  2846. ('radio' !== b.type && 'checkbox' !== b.type)
  2847. ? a.handleObj.handler.apply(this, arguments)
  2848. : void 0
  2849. },
  2850. teardown: function () {
  2851. return n.event.remove(this, '._change'), !Y.test(this.nodeName)
  2852. }
  2853. }),
  2854. l.focusinBubbles ||
  2855. n.each({ focus: 'focusin', blur: 'focusout' }, function (a, b) {
  2856. var c = function (a) {
  2857. n.event.simulate(b, a.target, n.event.fix(a), !0)
  2858. }
  2859. n.event.special[b] = {
  2860. setup: function () {
  2861. var d = this.ownerDocument || this,
  2862. e = n._data(d, b)
  2863. e || d.addEventListener(a, c, !0), n._data(d, b, (e || 0) + 1)
  2864. },
  2865. teardown: function () {
  2866. var d = this.ownerDocument || this,
  2867. e = n._data(d, b) - 1
  2868. e
  2869. ? n._data(d, b, e)
  2870. : (d.removeEventListener(a, c, !0), n._removeData(d, b))
  2871. }
  2872. }
  2873. }),
  2874. n.fn.extend({
  2875. on: function (a, b, c, d, e) {
  2876. var f, g
  2877. if ('object' == typeof a) {
  2878. 'string' != typeof b && ((c = c || b), (b = void 0))
  2879. for (f in a) this.on(f, b, c, a[f], e)
  2880. return this
  2881. }
  2882. if (
  2883. (null == c && null == d
  2884. ? ((d = b), (c = b = void 0))
  2885. : null == d &&
  2886. ('string' == typeof b
  2887. ? ((d = c), (c = void 0))
  2888. : ((d = c), (c = b), (b = void 0))),
  2889. d === !1)
  2890. )
  2891. d = cb
  2892. else if (!d) return this
  2893. return (
  2894. 1 === e &&
  2895. ((g = d),
  2896. (d = function (a) {
  2897. return n().off(a), g.apply(this, arguments)
  2898. }),
  2899. (d.guid = g.guid || (g.guid = n.guid++))),
  2900. this.each(function () {
  2901. n.event.add(this, a, d, c, b)
  2902. })
  2903. )
  2904. },
  2905. one: function (a, b, c, d) {
  2906. return this.on(a, b, c, d, 1)
  2907. },
  2908. off: function (a, b, c) {
  2909. var d, e
  2910. if (a && a.preventDefault && a.handleObj)
  2911. return (
  2912. (d = a.handleObj),
  2913. n(a.delegateTarget).off(
  2914. d.namespace ? d.origType + '.' + d.namespace : d.origType,
  2915. d.selector,
  2916. d.handler
  2917. ),
  2918. this
  2919. )
  2920. if ('object' == typeof a) {
  2921. for (e in a) this.off(e, b, a[e])
  2922. return this
  2923. }
  2924. return (
  2925. (b === !1 || 'function' == typeof b) && ((c = b), (b = void 0)),
  2926. c === !1 && (c = cb),
  2927. this.each(function () {
  2928. n.event.remove(this, a, c, b)
  2929. })
  2930. )
  2931. },
  2932. trigger: function (a, b) {
  2933. return this.each(function () {
  2934. n.event.trigger(a, b, this)
  2935. })
  2936. },
  2937. triggerHandler: function (a, b) {
  2938. var c = this[0]
  2939. return c ? n.event.trigger(a, b, c, !0) : void 0
  2940. }
  2941. })
  2942. function eb(a) {
  2943. var b = fb.split('|'),
  2944. c = a.createDocumentFragment()
  2945. if (c.createElement) while (b.length) c.createElement(b.pop())
  2946. return c
  2947. }
  2948. var fb =
  2949. 'abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video',
  2950. gb = / jQuery\d+="(?:null|\d+)"/g,
  2951. hb = new RegExp('<(?:' + fb + ')[\\s/>]', 'i'),
  2952. ib = /^\s+/,
  2953. jb =
  2954. /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
  2955. kb = /<([\w:]+)/,
  2956. lb = /<tbody/i,
  2957. mb = /<|&#?\w+;/,
  2958. nb = /<(?:script|style|link)/i,
  2959. ob = /checked\s*(?:[^=]|=\s*.checked.)/i,
  2960. pb = /^$|\/(?:java|ecma)script/i,
  2961. qb = /^true\/(.*)/,
  2962. rb = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
  2963. sb = {
  2964. option: [1, "<select multiple='multiple'>", '</select>'],
  2965. legend: [1, '<fieldset>', '</fieldset>'],
  2966. area: [1, '<map>', '</map>'],
  2967. param: [1, '<object>', '</object>'],
  2968. thead: [1, '<table>', '</table>'],
  2969. tr: [2, '<table><tbody>', '</tbody></table>'],
  2970. col: [2, '<table><tbody></tbody><colgroup>', '</colgroup></table>'],
  2971. td: [3, '<table><tbody><tr>', '</tr></tbody></table>'],
  2972. _default: l.htmlSerialize ? [0, '', ''] : [1, 'X<div>', '</div>']
  2973. },
  2974. tb = eb(z),
  2975. ub = tb.appendChild(z.createElement('div'))
  2976. ;(sb.optgroup = sb.option),
  2977. (sb.tbody = sb.tfoot = sb.colgroup = sb.caption = sb.thead),
  2978. (sb.th = sb.td)
  2979. function vb(a, b) {
  2980. var c,
  2981. d,
  2982. e = 0,
  2983. f =
  2984. typeof a.getElementsByTagName !== L
  2985. ? a.getElementsByTagName(b || '*')
  2986. : typeof a.querySelectorAll !== L
  2987. ? a.querySelectorAll(b || '*')
  2988. : void 0
  2989. if (!f)
  2990. for (f = [], c = a.childNodes || a; null != (d = c[e]); e++)
  2991. !b || n.nodeName(d, b) ? f.push(d) : n.merge(f, vb(d, b))
  2992. return void 0 === b || (b && n.nodeName(a, b)) ? n.merge([a], f) : f
  2993. }
  2994. function wb(a) {
  2995. X.test(a.type) && (a.defaultChecked = a.checked)
  2996. }
  2997. function xb(a, b) {
  2998. return n.nodeName(a, 'table') &&
  2999. n.nodeName(11 !== b.nodeType ? b : b.firstChild, 'tr')
  3000. ? a.getElementsByTagName('tbody')[0] ||
  3001. a.appendChild(a.ownerDocument.createElement('tbody'))
  3002. : a
  3003. }
  3004. function yb(a) {
  3005. return (a.type = (null !== n.find.attr(a, 'type')) + '/' + a.type), a
  3006. }
  3007. function zb(a) {
  3008. var b = qb.exec(a.type)
  3009. return b ? (a.type = b[1]) : a.removeAttribute('type'), a
  3010. }
  3011. function Ab(a, b) {
  3012. for (var c, d = 0; null != (c = a[d]); d++)
  3013. n._data(c, 'globalEval', !b || n._data(b[d], 'globalEval'))
  3014. }
  3015. function Bb(a, b) {
  3016. if (1 === b.nodeType && n.hasData(a)) {
  3017. var c,
  3018. d,
  3019. e,
  3020. f = n._data(a),
  3021. g = n._data(b, f),
  3022. h = f.events
  3023. if (h) {
  3024. delete g.handle, (g.events = {})
  3025. for (c in h)
  3026. for (d = 0, e = h[c].length; e > d; d++) n.event.add(b, c, h[c][d])
  3027. }
  3028. g.data && (g.data = n.extend({}, g.data))
  3029. }
  3030. }
  3031. function Cb(a, b) {
  3032. var c, d, e
  3033. if (1 === b.nodeType) {
  3034. if (((c = b.nodeName.toLowerCase()), !l.noCloneEvent && b[n.expando])) {
  3035. e = n._data(b)
  3036. for (d in e.events) n.removeEvent(b, d, e.handle)
  3037. b.removeAttribute(n.expando)
  3038. }
  3039. 'script' === c && b.text !== a.text
  3040. ? ((yb(b).text = a.text), zb(b))
  3041. : 'object' === c
  3042. ? (b.parentNode && (b.outerHTML = a.outerHTML),
  3043. l.html5Clone &&
  3044. a.innerHTML &&
  3045. !n.trim(b.innerHTML) &&
  3046. (b.innerHTML = a.innerHTML))
  3047. : 'input' === c && X.test(a.type)
  3048. ? ((b.defaultChecked = b.checked = a.checked),
  3049. b.value !== a.value && (b.value = a.value))
  3050. : 'option' === c
  3051. ? (b.defaultSelected = b.selected = a.defaultSelected)
  3052. : ('input' === c || 'textarea' === c) &&
  3053. (b.defaultValue = a.defaultValue)
  3054. }
  3055. }
  3056. n.extend({
  3057. clone: function (a, b, c) {
  3058. var d,
  3059. e,
  3060. f,
  3061. g,
  3062. h,
  3063. i = n.contains(a.ownerDocument, a)
  3064. if (
  3065. (l.html5Clone || n.isXMLDoc(a) || !hb.test('<' + a.nodeName + '>')
  3066. ? (f = a.cloneNode(!0))
  3067. : ((ub.innerHTML = a.outerHTML), ub.removeChild((f = ub.firstChild))),
  3068. !(
  3069. (l.noCloneEvent && l.noCloneChecked) ||
  3070. (1 !== a.nodeType && 11 !== a.nodeType) ||
  3071. n.isXMLDoc(a)
  3072. ))
  3073. )
  3074. for (d = vb(f), h = vb(a), g = 0; null != (e = h[g]); ++g)
  3075. d[g] && Cb(e, d[g])
  3076. if (b)
  3077. if (c)
  3078. for (h = h || vb(a), d = d || vb(f), g = 0; null != (e = h[g]); g++)
  3079. Bb(e, d[g])
  3080. else Bb(a, f)
  3081. return (
  3082. (d = vb(f, 'script')),
  3083. d.length > 0 && Ab(d, !i && vb(a, 'script')),
  3084. (d = h = e = null),
  3085. f
  3086. )
  3087. },
  3088. buildFragment: function (a, b, c, d) {
  3089. for (
  3090. var e, f, g, h, i, j, k, m = a.length, o = eb(b), p = [], q = 0;
  3091. m > q;
  3092. q++
  3093. )
  3094. if (((f = a[q]), f || 0 === f))
  3095. if ('object' === n.type(f)) n.merge(p, f.nodeType ? [f] : f)
  3096. else if (mb.test(f)) {
  3097. ;(h = h || o.appendChild(b.createElement('div'))),
  3098. (i = (kb.exec(f) || ['', ''])[1].toLowerCase()),
  3099. (k = sb[i] || sb._default),
  3100. (h.innerHTML = k[1] + f.replace(jb, '<$1></$2>') + k[2]),
  3101. (e = k[0])
  3102. while (e--) h = h.lastChild
  3103. if (
  3104. (!l.leadingWhitespace &&
  3105. ib.test(f) &&
  3106. p.push(b.createTextNode(ib.exec(f)[0])),
  3107. !l.tbody)
  3108. ) {
  3109. ;(f =
  3110. 'table' !== i || lb.test(f)
  3111. ? '<table>' !== k[1] || lb.test(f)
  3112. ? 0
  3113. : h
  3114. : h.firstChild),
  3115. (e = f && f.childNodes.length)
  3116. while (e--)
  3117. n.nodeName((j = f.childNodes[e]), 'tbody') &&
  3118. !j.childNodes.length &&
  3119. f.removeChild(j)
  3120. }
  3121. n.merge(p, h.childNodes), (h.textContent = '')
  3122. while (h.firstChild) h.removeChild(h.firstChild)
  3123. h = o.lastChild
  3124. } else p.push(b.createTextNode(f))
  3125. h && o.removeChild(h),
  3126. l.appendChecked || n.grep(vb(p, 'input'), wb),
  3127. (q = 0)
  3128. while ((f = p[q++]))
  3129. if (
  3130. (!d || -1 === n.inArray(f, d)) &&
  3131. ((g = n.contains(f.ownerDocument, f)),
  3132. (h = vb(o.appendChild(f), 'script')),
  3133. g && Ab(h),
  3134. c)
  3135. ) {
  3136. e = 0
  3137. while ((f = h[e++])) pb.test(f.type || '') && c.push(f)
  3138. }
  3139. return (h = null), o
  3140. },
  3141. cleanData: function (a, b) {
  3142. for (
  3143. var d,
  3144. e,
  3145. f,
  3146. g,
  3147. h = 0,
  3148. i = n.expando,
  3149. j = n.cache,
  3150. k = l.deleteExpando,
  3151. m = n.event.special;
  3152. null != (d = a[h]);
  3153. h++
  3154. )
  3155. if ((b || n.acceptData(d)) && ((f = d[i]), (g = f && j[f]))) {
  3156. if (g.events)
  3157. for (e in g.events)
  3158. m[e] ? n.event.remove(d, e) : n.removeEvent(d, e, g.handle)
  3159. j[f] &&
  3160. (delete j[f],
  3161. k
  3162. ? delete d[i]
  3163. : typeof d.removeAttribute !== L
  3164. ? d.removeAttribute(i)
  3165. : (d[i] = null),
  3166. c.push(f))
  3167. }
  3168. }
  3169. }),
  3170. n.fn.extend({
  3171. text: function (a) {
  3172. return W(
  3173. this,
  3174. function (a) {
  3175. return void 0 === a
  3176. ? n.text(this)
  3177. : this.empty().append(
  3178. ((this[0] && this[0].ownerDocument) || z).createTextNode(a)
  3179. )
  3180. },
  3181. null,
  3182. a,
  3183. arguments.length
  3184. )
  3185. },
  3186. append: function () {
  3187. return this.domManip(arguments, function (a) {
  3188. if (
  3189. 1 === this.nodeType ||
  3190. 11 === this.nodeType ||
  3191. 9 === this.nodeType
  3192. ) {
  3193. var b = xb(this, a)
  3194. b.appendChild(a)
  3195. }
  3196. })
  3197. },
  3198. prepend: function () {
  3199. return this.domManip(arguments, function (a) {
  3200. if (
  3201. 1 === this.nodeType ||
  3202. 11 === this.nodeType ||
  3203. 9 === this.nodeType
  3204. ) {
  3205. var b = xb(this, a)
  3206. b.insertBefore(a, b.firstChild)
  3207. }
  3208. })
  3209. },
  3210. before: function () {
  3211. return this.domManip(arguments, function (a) {
  3212. this.parentNode && this.parentNode.insertBefore(a, this)
  3213. })
  3214. },
  3215. after: function () {
  3216. return this.domManip(arguments, function (a) {
  3217. this.parentNode && this.parentNode.insertBefore(a, this.nextSibling)
  3218. })
  3219. },
  3220. remove: function (a, b) {
  3221. for (
  3222. var c, d = a ? n.filter(a, this) : this, e = 0;
  3223. null != (c = d[e]);
  3224. e++
  3225. )
  3226. b || 1 !== c.nodeType || n.cleanData(vb(c)),
  3227. c.parentNode &&
  3228. (b && n.contains(c.ownerDocument, c) && Ab(vb(c, 'script')),
  3229. c.parentNode.removeChild(c))
  3230. return this
  3231. },
  3232. empty: function () {
  3233. for (var a, b = 0; null != (a = this[b]); b++) {
  3234. 1 === a.nodeType && n.cleanData(vb(a, !1))
  3235. while (a.firstChild) a.removeChild(a.firstChild)
  3236. a.options && n.nodeName(a, 'select') && (a.options.length = 0)
  3237. }
  3238. return this
  3239. },
  3240. clone: function (a, b) {
  3241. return (
  3242. (a = null == a ? !1 : a),
  3243. (b = null == b ? a : b),
  3244. this.map(function () {
  3245. return n.clone(this, a, b)
  3246. })
  3247. )
  3248. },
  3249. html: function (a) {
  3250. return W(
  3251. this,
  3252. function (a) {
  3253. var b = this[0] || {},
  3254. c = 0,
  3255. d = this.length
  3256. if (void 0 === a)
  3257. return 1 === b.nodeType ? b.innerHTML.replace(gb, '') : void 0
  3258. if (
  3259. !(
  3260. 'string' != typeof a ||
  3261. nb.test(a) ||
  3262. (!l.htmlSerialize && hb.test(a)) ||
  3263. (!l.leadingWhitespace && ib.test(a)) ||
  3264. sb[(kb.exec(a) || ['', ''])[1].toLowerCase()]
  3265. )
  3266. ) {
  3267. a = a.replace(jb, '<$1></$2>')
  3268. try {
  3269. for (; d > c; c++)
  3270. (b = this[c] || {}),
  3271. 1 === b.nodeType &&
  3272. (n.cleanData(vb(b, !1)), (b.innerHTML = a))
  3273. b = 0
  3274. } catch (e) {}
  3275. }
  3276. b && this.empty().append(a)
  3277. },
  3278. null,
  3279. a,
  3280. arguments.length
  3281. )
  3282. },
  3283. replaceWith: function () {
  3284. var a = arguments[0]
  3285. return (
  3286. this.domManip(arguments, function (b) {
  3287. ;(a = this.parentNode),
  3288. n.cleanData(vb(this)),
  3289. a && a.replaceChild(b, this)
  3290. }),
  3291. a && (a.length || a.nodeType) ? this : this.remove()
  3292. )
  3293. },
  3294. detach: function (a) {
  3295. return this.remove(a, !0)
  3296. },
  3297. domManip: function (a, b) {
  3298. a = e.apply([], a)
  3299. var c,
  3300. d,
  3301. f,
  3302. g,
  3303. h,
  3304. i,
  3305. j = 0,
  3306. k = this.length,
  3307. m = this,
  3308. o = k - 1,
  3309. p = a[0],
  3310. q = n.isFunction(p)
  3311. if (q || (k > 1 && 'string' == typeof p && !l.checkClone && ob.test(p)))
  3312. return this.each(function (c) {
  3313. var d = m.eq(c)
  3314. q && (a[0] = p.call(this, c, d.html())), d.domManip(a, b)
  3315. })
  3316. if (
  3317. k &&
  3318. ((i = n.buildFragment(a, this[0].ownerDocument, !1, this)),
  3319. (c = i.firstChild),
  3320. 1 === i.childNodes.length && (i = c),
  3321. c)
  3322. ) {
  3323. for (g = n.map(vb(i, 'script'), yb), f = g.length; k > j; j++)
  3324. (d = i),
  3325. j !== o &&
  3326. ((d = n.clone(d, !0, !0)), f && n.merge(g, vb(d, 'script'))),
  3327. b.call(this[j], d, j)
  3328. if (f)
  3329. for (
  3330. h = g[g.length - 1].ownerDocument, n.map(g, zb), j = 0;
  3331. f > j;
  3332. j++
  3333. )
  3334. (d = g[j]),
  3335. pb.test(d.type || '') &&
  3336. !n._data(d, 'globalEval') &&
  3337. n.contains(h, d) &&
  3338. (d.src
  3339. ? n._evalUrl && n._evalUrl(d.src)
  3340. : n.globalEval(
  3341. (d.text || d.textContent || d.innerHTML || '').replace(
  3342. rb,
  3343. ''
  3344. )
  3345. ))
  3346. i = c = null
  3347. }
  3348. return this
  3349. }
  3350. }),
  3351. n.each(
  3352. {
  3353. appendTo: 'append',
  3354. prependTo: 'prepend',
  3355. insertBefore: 'before',
  3356. insertAfter: 'after',
  3357. replaceAll: 'replaceWith'
  3358. },
  3359. function (a, b) {
  3360. n.fn[a] = function (a) {
  3361. for (var c, d = 0, e = [], g = n(a), h = g.length - 1; h >= d; d++)
  3362. (c = d === h ? this : this.clone(!0)),
  3363. n(g[d])[b](c),
  3364. f.apply(e, c.get())
  3365. return this.pushStack(e)
  3366. }
  3367. }
  3368. )
  3369. var Db,
  3370. Eb = {}
  3371. function Fb(b, c) {
  3372. var d = n(c.createElement(b)).appendTo(c.body),
  3373. e = a.getDefaultComputedStyle
  3374. ? a.getDefaultComputedStyle(d[0]).display
  3375. : n.css(d[0], 'display')
  3376. return d.detach(), e
  3377. }
  3378. function Gb(a) {
  3379. var b = z,
  3380. c = Eb[a]
  3381. return (
  3382. c ||
  3383. ((c = Fb(a, b)),
  3384. ('none' !== c && c) ||
  3385. ((Db = (
  3386. Db || n("<iframe frameborder='0' width='0' height='0'/>")
  3387. ).appendTo(b.documentElement)),
  3388. (b = (Db[0].contentWindow || Db[0].contentDocument).document),
  3389. b.write(),
  3390. b.close(),
  3391. (c = Fb(a, b)),
  3392. Db.detach()),
  3393. (Eb[a] = c)),
  3394. c
  3395. )
  3396. }
  3397. !(function () {
  3398. var a,
  3399. b,
  3400. c = z.createElement('div'),
  3401. d =
  3402. '-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0'
  3403. ;(c.innerHTML =
  3404. " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"),
  3405. (a = c.getElementsByTagName('a')[0]),
  3406. (a.style.cssText = 'float:left;opacity:.5'),
  3407. (l.opacity = /^0.5/.test(a.style.opacity)),
  3408. (l.cssFloat = !!a.style.cssFloat),
  3409. (c.style.backgroundClip = 'content-box'),
  3410. (c.cloneNode(!0).style.backgroundClip = ''),
  3411. (l.clearCloneStyle = 'content-box' === c.style.backgroundClip),
  3412. (a = c = null),
  3413. (l.shrinkWrapBlocks = function () {
  3414. var a, c, e, f
  3415. if (null == b) {
  3416. if (((a = z.getElementsByTagName('body')[0]), !a)) return
  3417. ;(f =
  3418. 'border:0;width:0;height:0;position:absolute;top:0;left:-9999px'),
  3419. (c = z.createElement('div')),
  3420. (e = z.createElement('div')),
  3421. a.appendChild(c).appendChild(e),
  3422. (b = !1),
  3423. typeof e.style.zoom !== L &&
  3424. ((e.style.cssText = d + ';width:1px;padding:1px;zoom:1'),
  3425. (e.innerHTML = '<div></div>'),
  3426. (e.firstChild.style.width = '5px'),
  3427. (b = 3 !== e.offsetWidth)),
  3428. a.removeChild(c),
  3429. (a = c = e = null)
  3430. }
  3431. return b
  3432. })
  3433. })()
  3434. var Hb = /^margin/,
  3435. Ib = new RegExp('^(' + T + ')(?!px)[a-z%]+$', 'i'),
  3436. Jb,
  3437. Kb,
  3438. Lb = /^(top|right|bottom|left)$/
  3439. a.getComputedStyle
  3440. ? ((Jb = function (a) {
  3441. return a.ownerDocument.defaultView.getComputedStyle(a, null)
  3442. }),
  3443. (Kb = function (a, b, c) {
  3444. var d,
  3445. e,
  3446. f,
  3447. g,
  3448. h = a.style
  3449. return (
  3450. (c = c || Jb(a)),
  3451. (g = c ? c.getPropertyValue(b) || c[b] : void 0),
  3452. c &&
  3453. ('' !== g || n.contains(a.ownerDocument, a) || (g = n.style(a, b)),
  3454. Ib.test(g) &&
  3455. Hb.test(b) &&
  3456. ((d = h.width),
  3457. (e = h.minWidth),
  3458. (f = h.maxWidth),
  3459. (h.minWidth = h.maxWidth = h.width = g),
  3460. (g = c.width),
  3461. (h.width = d),
  3462. (h.minWidth = e),
  3463. (h.maxWidth = f))),
  3464. void 0 === g ? g : g + ''
  3465. )
  3466. }))
  3467. : z.documentElement.currentStyle &&
  3468. ((Jb = function (a) {
  3469. return a.currentStyle
  3470. }),
  3471. (Kb = function (a, b, c) {
  3472. var d,
  3473. e,
  3474. f,
  3475. g,
  3476. h = a.style
  3477. return (
  3478. (c = c || Jb(a)),
  3479. (g = c ? c[b] : void 0),
  3480. null == g && h && h[b] && (g = h[b]),
  3481. Ib.test(g) &&
  3482. !Lb.test(b) &&
  3483. ((d = h.left),
  3484. (e = a.runtimeStyle),
  3485. (f = e && e.left),
  3486. f && (e.left = a.currentStyle.left),
  3487. (h.left = 'fontSize' === b ? '1em' : g),
  3488. (g = h.pixelLeft + 'px'),
  3489. (h.left = d),
  3490. f && (e.left = f)),
  3491. void 0 === g ? g : g + '' || 'auto'
  3492. )
  3493. }))
  3494. function Mb(a, b) {
  3495. return {
  3496. get: function () {
  3497. var c = a()
  3498. if (null != c)
  3499. return c
  3500. ? void delete this.get
  3501. : (this.get = b).apply(this, arguments)
  3502. }
  3503. }
  3504. }
  3505. !(function () {
  3506. var b,
  3507. c,
  3508. d,
  3509. e,
  3510. f,
  3511. g,
  3512. h = z.createElement('div'),
  3513. i = 'border:0;width:0;height:0;position:absolute;top:0;left:-9999px',
  3514. j =
  3515. '-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0'
  3516. ;(h.innerHTML =
  3517. " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"),
  3518. (b = h.getElementsByTagName('a')[0]),
  3519. (b.style.cssText = 'float:left;opacity:.5'),
  3520. (l.opacity = /^0.5/.test(b.style.opacity)),
  3521. (l.cssFloat = !!b.style.cssFloat),
  3522. (h.style.backgroundClip = 'content-box'),
  3523. (h.cloneNode(!0).style.backgroundClip = ''),
  3524. (l.clearCloneStyle = 'content-box' === h.style.backgroundClip),
  3525. (b = h = null),
  3526. n.extend(l, {
  3527. reliableHiddenOffsets: function () {
  3528. if (null != c) return c
  3529. var a,
  3530. b,
  3531. d,
  3532. e = z.createElement('div'),
  3533. f = z.getElementsByTagName('body')[0]
  3534. if (f)
  3535. return (
  3536. e.setAttribute('className', 't'),
  3537. (e.innerHTML =
  3538. " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"),
  3539. (a = z.createElement('div')),
  3540. (a.style.cssText = i),
  3541. f.appendChild(a).appendChild(e),
  3542. (e.innerHTML = '<table><tr><td></td><td>t</td></tr></table>'),
  3543. (b = e.getElementsByTagName('td')),
  3544. (b[0].style.cssText = 'padding:0;margin:0;border:0;display:none'),
  3545. (d = 0 === b[0].offsetHeight),
  3546. (b[0].style.display = ''),
  3547. (b[1].style.display = 'none'),
  3548. (c = d && 0 === b[0].offsetHeight),
  3549. f.removeChild(a),
  3550. (e = f = null),
  3551. c
  3552. )
  3553. },
  3554. boxSizing: function () {
  3555. return null == d && k(), d
  3556. },
  3557. boxSizingReliable: function () {
  3558. return null == e && k(), e
  3559. },
  3560. pixelPosition: function () {
  3561. return null == f && k(), f
  3562. },
  3563. reliableMarginRight: function () {
  3564. var b, c, d, e
  3565. if (null == g && a.getComputedStyle) {
  3566. if (((b = z.getElementsByTagName('body')[0]), !b)) return
  3567. ;(c = z.createElement('div')),
  3568. (d = z.createElement('div')),
  3569. (c.style.cssText = i),
  3570. b.appendChild(c).appendChild(d),
  3571. (e = d.appendChild(z.createElement('div'))),
  3572. (e.style.cssText = d.style.cssText = j),
  3573. (e.style.marginRight = e.style.width = '0'),
  3574. (d.style.width = '1px'),
  3575. (g = !parseFloat(
  3576. (a.getComputedStyle(e, null) || {}).marginRight
  3577. )),
  3578. b.removeChild(c)
  3579. }
  3580. return g
  3581. }
  3582. })
  3583. function k() {
  3584. var b,
  3585. c,
  3586. h = z.getElementsByTagName('body')[0]
  3587. h &&
  3588. ((b = z.createElement('div')),
  3589. (c = z.createElement('div')),
  3590. (b.style.cssText = i),
  3591. h.appendChild(b).appendChild(c),
  3592. (c.style.cssText =
  3593. '-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%'),
  3594. n.swap(h, null != h.style.zoom ? { zoom: 1 } : {}, function () {
  3595. d = 4 === c.offsetWidth
  3596. }),
  3597. (e = !0),
  3598. (f = !1),
  3599. (g = !0),
  3600. a.getComputedStyle &&
  3601. ((f = '1%' !== (a.getComputedStyle(c, null) || {}).top),
  3602. (e =
  3603. '4px' === (a.getComputedStyle(c, null) || { width: '4px' }).width)),
  3604. h.removeChild(b),
  3605. (c = h = null))
  3606. }
  3607. })(),
  3608. (n.swap = function (a, b, c, d) {
  3609. var e,
  3610. f,
  3611. g = {}
  3612. for (f in b) (g[f] = a.style[f]), (a.style[f] = b[f])
  3613. e = c.apply(a, d || [])
  3614. for (f in b) a.style[f] = g[f]
  3615. return e
  3616. })
  3617. var Nb = /alpha\([^)]*\)/i,
  3618. Ob = /opacity\s*=\s*([^)]*)/,
  3619. Pb = /^(none|table(?!-c[ea]).+)/,
  3620. Qb = new RegExp('^(' + T + ')(.*)$', 'i'),
  3621. Rb = new RegExp('^([+-])=(' + T + ')', 'i'),
  3622. Sb = { position: 'absolute', visibility: 'hidden', display: 'block' },
  3623. Tb = { letterSpacing: 0, fontWeight: 400 },
  3624. Ub = ['Webkit', 'O', 'Moz', 'ms']
  3625. function Vb(a, b) {
  3626. if (b in a) return b
  3627. var c = b.charAt(0).toUpperCase() + b.slice(1),
  3628. d = b,
  3629. e = Ub.length
  3630. while (e--) if (((b = Ub[e] + c), b in a)) return b
  3631. return d
  3632. }
  3633. function Wb(a, b) {
  3634. for (var c, d, e, f = [], g = 0, h = a.length; h > g; g++)
  3635. (d = a[g]),
  3636. d.style &&
  3637. ((f[g] = n._data(d, 'olddisplay')),
  3638. (c = d.style.display),
  3639. b
  3640. ? (f[g] || 'none' !== c || (d.style.display = ''),
  3641. '' === d.style.display &&
  3642. V(d) &&
  3643. (f[g] = n._data(d, 'olddisplay', Gb(d.nodeName))))
  3644. : f[g] ||
  3645. ((e = V(d)),
  3646. ((c && 'none' !== c) || !e) &&
  3647. n._data(d, 'olddisplay', e ? c : n.css(d, 'display'))))
  3648. for (g = 0; h > g; g++)
  3649. (d = a[g]),
  3650. d.style &&
  3651. ((b && 'none' !== d.style.display && '' !== d.style.display) ||
  3652. (d.style.display = b ? f[g] || '' : 'none'))
  3653. return a
  3654. }
  3655. function Xb(a, b, c) {
  3656. var d = Qb.exec(b)
  3657. return d ? Math.max(0, d[1] - (c || 0)) + (d[2] || 'px') : b
  3658. }
  3659. function Yb(a, b, c, d, e) {
  3660. for (
  3661. var f = c === (d ? 'border' : 'content') ? 4 : 'width' === b ? 1 : 0,
  3662. g = 0;
  3663. 4 > f;
  3664. f += 2
  3665. )
  3666. 'margin' === c && (g += n.css(a, c + U[f], !0, e)),
  3667. d
  3668. ? ('content' === c && (g -= n.css(a, 'padding' + U[f], !0, e)),
  3669. 'margin' !== c && (g -= n.css(a, 'border' + U[f] + 'Width', !0, e)))
  3670. : ((g += n.css(a, 'padding' + U[f], !0, e)),
  3671. 'padding' !== c &&
  3672. (g += n.css(a, 'border' + U[f] + 'Width', !0, e)))
  3673. return g
  3674. }
  3675. function Zb(a, b, c) {
  3676. var d = !0,
  3677. e = 'width' === b ? a.offsetWidth : a.offsetHeight,
  3678. f = Jb(a),
  3679. g = l.boxSizing() && 'border-box' === n.css(a, 'boxSizing', !1, f)
  3680. if (0 >= e || null == e) {
  3681. if (
  3682. ((e = Kb(a, b, f)),
  3683. (0 > e || null == e) && (e = a.style[b]),
  3684. Ib.test(e))
  3685. )
  3686. return e
  3687. ;(d = g && (l.boxSizingReliable() || e === a.style[b])),
  3688. (e = parseFloat(e) || 0)
  3689. }
  3690. return e + Yb(a, b, c || (g ? 'border' : 'content'), d, f) + 'px'
  3691. }
  3692. n.extend({
  3693. cssHooks: {
  3694. opacity: {
  3695. get: function (a, b) {
  3696. if (b) {
  3697. var c = Kb(a, 'opacity')
  3698. return '' === c ? '1' : c
  3699. }
  3700. }
  3701. }
  3702. },
  3703. cssNumber: {
  3704. columnCount: !0,
  3705. fillOpacity: !0,
  3706. fontWeight: !0,
  3707. lineHeight: !0,
  3708. opacity: !0,
  3709. order: !0,
  3710. orphans: !0,
  3711. widows: !0,
  3712. zIndex: !0,
  3713. zoom: !0
  3714. },
  3715. cssProps: { float: l.cssFloat ? 'cssFloat' : 'styleFloat' },
  3716. style: function (a, b, c, d) {
  3717. if (a && 3 !== a.nodeType && 8 !== a.nodeType && a.style) {
  3718. var e,
  3719. f,
  3720. g,
  3721. h = n.camelCase(b),
  3722. i = a.style
  3723. if (
  3724. ((b = n.cssProps[h] || (n.cssProps[h] = Vb(i, h))),
  3725. (g = n.cssHooks[b] || n.cssHooks[h]),
  3726. void 0 === c)
  3727. )
  3728. return g && 'get' in g && void 0 !== (e = g.get(a, !1, d)) ? e : i[b]
  3729. if (
  3730. ((f = typeof c),
  3731. 'string' === f &&
  3732. (e = Rb.exec(c)) &&
  3733. ((c = (e[1] + 1) * e[2] + parseFloat(n.css(a, b))), (f = 'number')),
  3734. null != c &&
  3735. c === c &&
  3736. ('number' !== f || n.cssNumber[h] || (c += 'px'),
  3737. l.clearCloneStyle ||
  3738. '' !== c ||
  3739. 0 !== b.indexOf('background') ||
  3740. (i[b] = 'inherit'),
  3741. !(g && 'set' in g && void 0 === (c = g.set(a, c, d)))))
  3742. )
  3743. try {
  3744. ;(i[b] = ''), (i[b] = c)
  3745. } catch (j) {}
  3746. }
  3747. },
  3748. css: function (a, b, c, d) {
  3749. var e,
  3750. f,
  3751. g,
  3752. h = n.camelCase(b)
  3753. return (
  3754. (b = n.cssProps[h] || (n.cssProps[h] = Vb(a.style, h))),
  3755. (g = n.cssHooks[b] || n.cssHooks[h]),
  3756. g && 'get' in g && (f = g.get(a, !0, c)),
  3757. void 0 === f && (f = Kb(a, b, d)),
  3758. 'normal' === f && b in Tb && (f = Tb[b]),
  3759. '' === c || c
  3760. ? ((e = parseFloat(f)), c === !0 || n.isNumeric(e) ? e || 0 : f)
  3761. : f
  3762. )
  3763. }
  3764. }),
  3765. n.each(['height', 'width'], function (a, b) {
  3766. n.cssHooks[b] = {
  3767. get: function (a, c, d) {
  3768. return c
  3769. ? 0 === a.offsetWidth && Pb.test(n.css(a, 'display'))
  3770. ? n.swap(a, Sb, function () {
  3771. return Zb(a, b, d)
  3772. })
  3773. : Zb(a, b, d)
  3774. : void 0
  3775. },
  3776. set: function (a, c, d) {
  3777. var e = d && Jb(a)
  3778. return Xb(
  3779. a,
  3780. c,
  3781. d
  3782. ? Yb(
  3783. a,
  3784. b,
  3785. d,
  3786. l.boxSizing() &&
  3787. 'border-box' === n.css(a, 'boxSizing', !1, e),
  3788. e
  3789. )
  3790. : 0
  3791. )
  3792. }
  3793. }
  3794. }),
  3795. l.opacity ||
  3796. (n.cssHooks.opacity = {
  3797. get: function (a, b) {
  3798. return Ob.test(
  3799. (b && a.currentStyle ? a.currentStyle.filter : a.style.filter) || ''
  3800. )
  3801. ? 0.01 * parseFloat(RegExp.$1) + ''
  3802. : b
  3803. ? '1'
  3804. : ''
  3805. },
  3806. set: function (a, b) {
  3807. var c = a.style,
  3808. d = a.currentStyle,
  3809. e = n.isNumeric(b) ? 'alpha(opacity=' + 100 * b + ')' : '',
  3810. f = (d && d.filter) || c.filter || ''
  3811. ;(c.zoom = 1),
  3812. ((b >= 1 || '' === b) &&
  3813. '' === n.trim(f.replace(Nb, '')) &&
  3814. c.removeAttribute &&
  3815. (c.removeAttribute('filter'), '' === b || (d && !d.filter))) ||
  3816. (c.filter = Nb.test(f) ? f.replace(Nb, e) : f + ' ' + e)
  3817. }
  3818. }),
  3819. (n.cssHooks.marginRight = Mb(l.reliableMarginRight, function (a, b) {
  3820. return b
  3821. ? n.swap(a, { display: 'inline-block' }, Kb, [a, 'marginRight'])
  3822. : void 0
  3823. })),
  3824. n.each({ margin: '', padding: '', border: 'Width' }, function (a, b) {
  3825. ;(n.cssHooks[a + b] = {
  3826. expand: function (c) {
  3827. for (
  3828. var d = 0, e = {}, f = 'string' == typeof c ? c.split(' ') : [c];
  3829. 4 > d;
  3830. d++
  3831. )
  3832. e[a + U[d] + b] = f[d] || f[d - 2] || f[0]
  3833. return e
  3834. }
  3835. }),
  3836. Hb.test(a) || (n.cssHooks[a + b].set = Xb)
  3837. }),
  3838. n.fn.extend({
  3839. css: function (a, b) {
  3840. return W(
  3841. this,
  3842. function (a, b, c) {
  3843. var d,
  3844. e,
  3845. f = {},
  3846. g = 0
  3847. if (n.isArray(b)) {
  3848. for (d = Jb(a), e = b.length; e > g; g++)
  3849. f[b[g]] = n.css(a, b[g], !1, d)
  3850. return f
  3851. }
  3852. return void 0 !== c ? n.style(a, b, c) : n.css(a, b)
  3853. },
  3854. a,
  3855. b,
  3856. arguments.length > 1
  3857. )
  3858. },
  3859. show: function () {
  3860. return Wb(this, !0)
  3861. },
  3862. hide: function () {
  3863. return Wb(this)
  3864. },
  3865. toggle: function (a) {
  3866. return 'boolean' == typeof a
  3867. ? a
  3868. ? this.show()
  3869. : this.hide()
  3870. : this.each(function () {
  3871. V(this) ? n(this).show() : n(this).hide()
  3872. })
  3873. }
  3874. })
  3875. function $b(a, b, c, d, e) {
  3876. return new $b.prototype.init(a, b, c, d, e)
  3877. }
  3878. ;(n.Tween = $b),
  3879. ($b.prototype = {
  3880. constructor: $b,
  3881. init: function (a, b, c, d, e, f) {
  3882. ;(this.elem = a),
  3883. (this.prop = c),
  3884. (this.easing = e || 'swing'),
  3885. (this.options = b),
  3886. (this.start = this.now = this.cur()),
  3887. (this.end = d),
  3888. (this.unit = f || (n.cssNumber[c] ? '' : 'px'))
  3889. },
  3890. cur: function () {
  3891. var a = $b.propHooks[this.prop]
  3892. return a && a.get ? a.get(this) : $b.propHooks._default.get(this)
  3893. },
  3894. run: function (a) {
  3895. var b,
  3896. c = $b.propHooks[this.prop]
  3897. return (
  3898. (this.pos = b =
  3899. this.options.duration
  3900. ? n.easing[this.easing](
  3901. a,
  3902. this.options.duration * a,
  3903. 0,
  3904. 1,
  3905. this.options.duration
  3906. )
  3907. : a),
  3908. (this.now = (this.end - this.start) * b + this.start),
  3909. this.options.step &&
  3910. this.options.step.call(this.elem, this.now, this),
  3911. c && c.set ? c.set(this) : $b.propHooks._default.set(this),
  3912. this
  3913. )
  3914. }
  3915. }),
  3916. ($b.prototype.init.prototype = $b.prototype),
  3917. ($b.propHooks = {
  3918. _default: {
  3919. get: function (a) {
  3920. var b
  3921. return null == a.elem[a.prop] ||
  3922. (a.elem.style && null != a.elem.style[a.prop])
  3923. ? ((b = n.css(a.elem, a.prop, '')), b && 'auto' !== b ? b : 0)
  3924. : a.elem[a.prop]
  3925. },
  3926. set: function (a) {
  3927. n.fx.step[a.prop]
  3928. ? n.fx.step[a.prop](a)
  3929. : a.elem.style &&
  3930. (null != a.elem.style[n.cssProps[a.prop]] || n.cssHooks[a.prop])
  3931. ? n.style(a.elem, a.prop, a.now + a.unit)
  3932. : (a.elem[a.prop] = a.now)
  3933. }
  3934. }
  3935. }),
  3936. ($b.propHooks.scrollTop = $b.propHooks.scrollLeft =
  3937. {
  3938. set: function (a) {
  3939. a.elem.nodeType && a.elem.parentNode && (a.elem[a.prop] = a.now)
  3940. }
  3941. }),
  3942. (n.easing = {
  3943. linear: function (a) {
  3944. return a
  3945. },
  3946. swing: function (a) {
  3947. return 0.5 - Math.cos(a * Math.PI) / 2
  3948. }
  3949. }),
  3950. (n.fx = $b.prototype.init),
  3951. (n.fx.step = {})
  3952. var _b,
  3953. ac,
  3954. bc = /^(?:toggle|show|hide)$/,
  3955. cc = new RegExp('^(?:([+-])=|)(' + T + ')([a-z%]*)$', 'i'),
  3956. dc = /queueHooks$/,
  3957. ec = [jc],
  3958. fc = {
  3959. '*': [
  3960. function (a, b) {
  3961. var c = this.createTween(a, b),
  3962. d = c.cur(),
  3963. e = cc.exec(b),
  3964. f = (e && e[3]) || (n.cssNumber[a] ? '' : 'px'),
  3965. g =
  3966. (n.cssNumber[a] || ('px' !== f && +d)) &&
  3967. cc.exec(n.css(c.elem, a)),
  3968. h = 1,
  3969. i = 20
  3970. if (g && g[3] !== f) {
  3971. ;(f = f || g[3]), (e = e || []), (g = +d || 1)
  3972. do (h = h || '.5'), (g /= h), n.style(c.elem, a, g + f)
  3973. while (h !== (h = c.cur() / d) && 1 !== h && --i)
  3974. }
  3975. return (
  3976. e &&
  3977. ((g = c.start = +g || +d || 0),
  3978. (c.unit = f),
  3979. (c.end = e[1] ? g + (e[1] + 1) * e[2] : +e[2])),
  3980. c
  3981. )
  3982. }
  3983. ]
  3984. }
  3985. function gc() {
  3986. return (
  3987. setTimeout(function () {
  3988. _b = void 0
  3989. }),
  3990. (_b = n.now())
  3991. )
  3992. }
  3993. function hc(a, b) {
  3994. var c,
  3995. d = { height: a },
  3996. e = 0
  3997. for (b = b ? 1 : 0; 4 > e; e += 2 - b)
  3998. (c = U[e]), (d['margin' + c] = d['padding' + c] = a)
  3999. return b && (d.opacity = d.width = a), d
  4000. }
  4001. function ic(a, b, c) {
  4002. for (
  4003. var d, e = (fc[b] || []).concat(fc['*']), f = 0, g = e.length;
  4004. g > f;
  4005. f++
  4006. )
  4007. if ((d = e[f].call(c, b, a))) return d
  4008. }
  4009. function jc(a, b, c) {
  4010. var d,
  4011. e,
  4012. f,
  4013. g,
  4014. h,
  4015. i,
  4016. j,
  4017. k,
  4018. m = this,
  4019. o = {},
  4020. p = a.style,
  4021. q = a.nodeType && V(a),
  4022. r = n._data(a, 'fxshow')
  4023. c.queue ||
  4024. ((h = n._queueHooks(a, 'fx')),
  4025. null == h.unqueued &&
  4026. ((h.unqueued = 0),
  4027. (i = h.empty.fire),
  4028. (h.empty.fire = function () {
  4029. h.unqueued || i()
  4030. })),
  4031. h.unqueued++,
  4032. m.always(function () {
  4033. m.always(function () {
  4034. h.unqueued--, n.queue(a, 'fx').length || h.empty.fire()
  4035. })
  4036. })),
  4037. 1 === a.nodeType &&
  4038. ('height' in b || 'width' in b) &&
  4039. ((c.overflow = [p.overflow, p.overflowX, p.overflowY]),
  4040. (j = n.css(a, 'display')),
  4041. (k = Gb(a.nodeName)),
  4042. 'none' === j && (j = k),
  4043. 'inline' === j &&
  4044. 'none' === n.css(a, 'float') &&
  4045. (l.inlineBlockNeedsLayout && 'inline' !== k
  4046. ? (p.zoom = 1)
  4047. : (p.display = 'inline-block'))),
  4048. c.overflow &&
  4049. ((p.overflow = 'hidden'),
  4050. l.shrinkWrapBlocks() ||
  4051. m.always(function () {
  4052. ;(p.overflow = c.overflow[0]),
  4053. (p.overflowX = c.overflow[1]),
  4054. (p.overflowY = c.overflow[2])
  4055. }))
  4056. for (d in b)
  4057. if (((e = b[d]), bc.exec(e))) {
  4058. if (
  4059. (delete b[d], (f = f || 'toggle' === e), e === (q ? 'hide' : 'show'))
  4060. ) {
  4061. if ('show' !== e || !r || void 0 === r[d]) continue
  4062. q = !0
  4063. }
  4064. o[d] = (r && r[d]) || n.style(a, d)
  4065. }
  4066. if (!n.isEmptyObject(o)) {
  4067. r ? 'hidden' in r && (q = r.hidden) : (r = n._data(a, 'fxshow', {})),
  4068. f && (r.hidden = !q),
  4069. q
  4070. ? n(a).show()
  4071. : m.done(function () {
  4072. n(a).hide()
  4073. }),
  4074. m.done(function () {
  4075. var b
  4076. n._removeData(a, 'fxshow')
  4077. for (b in o) n.style(a, b, o[b])
  4078. })
  4079. for (d in o)
  4080. (g = ic(q ? r[d] : 0, d, m)),
  4081. d in r ||
  4082. ((r[d] = g.start),
  4083. q &&
  4084. ((g.end = g.start),
  4085. (g.start = 'width' === d || 'height' === d ? 1 : 0)))
  4086. }
  4087. }
  4088. function kc(a, b) {
  4089. var c, d, e, f, g
  4090. for (c in a)
  4091. if (
  4092. ((d = n.camelCase(c)),
  4093. (e = b[d]),
  4094. (f = a[c]),
  4095. n.isArray(f) && ((e = f[1]), (f = a[c] = f[0])),
  4096. c !== d && ((a[d] = f), delete a[c]),
  4097. (g = n.cssHooks[d]),
  4098. g && 'expand' in g)
  4099. ) {
  4100. ;(f = g.expand(f)), delete a[d]
  4101. for (c in f) c in a || ((a[c] = f[c]), (b[c] = e))
  4102. } else b[d] = e
  4103. }
  4104. function lc(a, b, c) {
  4105. var d,
  4106. e,
  4107. f = 0,
  4108. g = ec.length,
  4109. h = n.Deferred().always(function () {
  4110. delete i.elem
  4111. }),
  4112. i = function () {
  4113. if (e) return !1
  4114. for (
  4115. var b = _b || gc(),
  4116. c = Math.max(0, j.startTime + j.duration - b),
  4117. d = c / j.duration || 0,
  4118. f = 1 - d,
  4119. g = 0,
  4120. i = j.tweens.length;
  4121. i > g;
  4122. g++
  4123. )
  4124. j.tweens[g].run(f)
  4125. return (
  4126. h.notifyWith(a, [j, f, c]),
  4127. 1 > f && i ? c : (h.resolveWith(a, [j]), !1)
  4128. )
  4129. },
  4130. j = h.promise({
  4131. elem: a,
  4132. props: n.extend({}, b),
  4133. opts: n.extend(!0, { specialEasing: {} }, c),
  4134. originalProperties: b,
  4135. originalOptions: c,
  4136. startTime: _b || gc(),
  4137. duration: c.duration,
  4138. tweens: [],
  4139. createTween: function (b, c) {
  4140. var d = n.Tween(
  4141. a,
  4142. j.opts,
  4143. b,
  4144. c,
  4145. j.opts.specialEasing[b] || j.opts.easing
  4146. )
  4147. return j.tweens.push(d), d
  4148. },
  4149. stop: function (b) {
  4150. var c = 0,
  4151. d = b ? j.tweens.length : 0
  4152. if (e) return this
  4153. for (e = !0; d > c; c++) j.tweens[c].run(1)
  4154. return b ? h.resolveWith(a, [j, b]) : h.rejectWith(a, [j, b]), this
  4155. }
  4156. }),
  4157. k = j.props
  4158. for (kc(k, j.opts.specialEasing); g > f; f++)
  4159. if ((d = ec[f].call(j, a, k, j.opts))) return d
  4160. return (
  4161. n.map(k, ic, j),
  4162. n.isFunction(j.opts.start) && j.opts.start.call(a, j),
  4163. n.fx.timer(n.extend(i, { elem: a, anim: j, queue: j.opts.queue })),
  4164. j
  4165. .progress(j.opts.progress)
  4166. .done(j.opts.done, j.opts.complete)
  4167. .fail(j.opts.fail)
  4168. .always(j.opts.always)
  4169. )
  4170. }
  4171. ;(n.Animation = n.extend(lc, {
  4172. tweener: function (a, b) {
  4173. n.isFunction(a) ? ((b = a), (a = ['*'])) : (a = a.split(' '))
  4174. for (var c, d = 0, e = a.length; e > d; d++)
  4175. (c = a[d]), (fc[c] = fc[c] || []), fc[c].unshift(b)
  4176. },
  4177. prefilter: function (a, b) {
  4178. b ? ec.unshift(a) : ec.push(a)
  4179. }
  4180. })),
  4181. (n.speed = function (a, b, c) {
  4182. var d =
  4183. a && 'object' == typeof a
  4184. ? n.extend({}, a)
  4185. : {
  4186. complete: c || (!c && b) || (n.isFunction(a) && a),
  4187. duration: a,
  4188. easing: (c && b) || (b && !n.isFunction(b) && b)
  4189. }
  4190. return (
  4191. (d.duration = n.fx.off
  4192. ? 0
  4193. : 'number' == typeof d.duration
  4194. ? d.duration
  4195. : d.duration in n.fx.speeds
  4196. ? n.fx.speeds[d.duration]
  4197. : n.fx.speeds._default),
  4198. (null == d.queue || d.queue === !0) && (d.queue = 'fx'),
  4199. (d.old = d.complete),
  4200. (d.complete = function () {
  4201. n.isFunction(d.old) && d.old.call(this),
  4202. d.queue && n.dequeue(this, d.queue)
  4203. }),
  4204. d
  4205. )
  4206. }),
  4207. n.fn.extend({
  4208. fadeTo: function (a, b, c, d) {
  4209. return this.filter(V)
  4210. .css('opacity', 0)
  4211. .show()
  4212. .end()
  4213. .animate({ opacity: b }, a, c, d)
  4214. },
  4215. animate: function (a, b, c, d) {
  4216. var e = n.isEmptyObject(a),
  4217. f = n.speed(b, c, d),
  4218. g = function () {
  4219. var b = lc(this, n.extend({}, a), f)
  4220. ;(e || n._data(this, 'finish')) && b.stop(!0)
  4221. }
  4222. return (
  4223. (g.finish = g),
  4224. e || f.queue === !1 ? this.each(g) : this.queue(f.queue, g)
  4225. )
  4226. },
  4227. stop: function (a, b, c) {
  4228. var d = function (a) {
  4229. var b = a.stop
  4230. delete a.stop, b(c)
  4231. }
  4232. return (
  4233. 'string' != typeof a && ((c = b), (b = a), (a = void 0)),
  4234. b && a !== !1 && this.queue(a || 'fx', []),
  4235. this.each(function () {
  4236. var b = !0,
  4237. e = null != a && a + 'queueHooks',
  4238. f = n.timers,
  4239. g = n._data(this)
  4240. if (e) g[e] && g[e].stop && d(g[e])
  4241. else for (e in g) g[e] && g[e].stop && dc.test(e) && d(g[e])
  4242. for (e = f.length; e--; )
  4243. f[e].elem !== this ||
  4244. (null != a && f[e].queue !== a) ||
  4245. (f[e].anim.stop(c), (b = !1), f.splice(e, 1))
  4246. ;(b || !c) && n.dequeue(this, a)
  4247. })
  4248. )
  4249. },
  4250. finish: function (a) {
  4251. return (
  4252. a !== !1 && (a = a || 'fx'),
  4253. this.each(function () {
  4254. var b,
  4255. c = n._data(this),
  4256. d = c[a + 'queue'],
  4257. e = c[a + 'queueHooks'],
  4258. f = n.timers,
  4259. g = d ? d.length : 0
  4260. for (
  4261. c.finish = !0,
  4262. n.queue(this, a, []),
  4263. e && e.stop && e.stop.call(this, !0),
  4264. b = f.length;
  4265. b--;
  4266. )
  4267. f[b].elem === this &&
  4268. f[b].queue === a &&
  4269. (f[b].anim.stop(!0), f.splice(b, 1))
  4270. for (b = 0; g > b; b++)
  4271. d[b] && d[b].finish && d[b].finish.call(this)
  4272. delete c.finish
  4273. })
  4274. )
  4275. }
  4276. }),
  4277. n.each(['toggle', 'show', 'hide'], function (a, b) {
  4278. var c = n.fn[b]
  4279. n.fn[b] = function (a, d, e) {
  4280. return null == a || 'boolean' == typeof a
  4281. ? c.apply(this, arguments)
  4282. : this.animate(hc(b, !0), a, d, e)
  4283. }
  4284. }),
  4285. n.each(
  4286. {
  4287. slideDown: hc('show'),
  4288. slideUp: hc('hide'),
  4289. slideToggle: hc('toggle'),
  4290. fadeIn: { opacity: 'show' },
  4291. fadeOut: { opacity: 'hide' },
  4292. fadeToggle: { opacity: 'toggle' }
  4293. },
  4294. function (a, b) {
  4295. n.fn[a] = function (a, c, d) {
  4296. return this.animate(b, a, c, d)
  4297. }
  4298. }
  4299. ),
  4300. (n.timers = []),
  4301. (n.fx.tick = function () {
  4302. var a,
  4303. b = n.timers,
  4304. c = 0
  4305. for (_b = n.now(); c < b.length; c++)
  4306. (a = b[c]), a() || b[c] !== a || b.splice(c--, 1)
  4307. b.length || n.fx.stop(), (_b = void 0)
  4308. }),
  4309. (n.fx.timer = function (a) {
  4310. n.timers.push(a), a() ? n.fx.start() : n.timers.pop()
  4311. }),
  4312. (n.fx.interval = 13),
  4313. (n.fx.start = function () {
  4314. ac || (ac = setInterval(n.fx.tick, n.fx.interval))
  4315. }),
  4316. (n.fx.stop = function () {
  4317. clearInterval(ac), (ac = null)
  4318. }),
  4319. (n.fx.speeds = { slow: 600, fast: 200, _default: 400 }),
  4320. (n.fn.delay = function (a, b) {
  4321. return (
  4322. (a = n.fx ? n.fx.speeds[a] || a : a),
  4323. (b = b || 'fx'),
  4324. this.queue(b, function (b, c) {
  4325. var d = setTimeout(b, a)
  4326. c.stop = function () {
  4327. clearTimeout(d)
  4328. }
  4329. })
  4330. )
  4331. }),
  4332. (function () {
  4333. var a,
  4334. b,
  4335. c,
  4336. d,
  4337. e = z.createElement('div')
  4338. e.setAttribute('className', 't'),
  4339. (e.innerHTML =
  4340. " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>"),
  4341. (a = e.getElementsByTagName('a')[0]),
  4342. (c = z.createElement('select')),
  4343. (d = c.appendChild(z.createElement('option'))),
  4344. (b = e.getElementsByTagName('input')[0]),
  4345. (a.style.cssText = 'top:1px'),
  4346. (l.getSetAttribute = 't' !== e.className),
  4347. (l.style = /top/.test(a.getAttribute('style'))),
  4348. (l.hrefNormalized = '/a' === a.getAttribute('href')),
  4349. (l.checkOn = !!b.value),
  4350. (l.optSelected = d.selected),
  4351. (l.enctype = !!z.createElement('form').enctype),
  4352. (c.disabled = !0),
  4353. (l.optDisabled = !d.disabled),
  4354. (b = z.createElement('input')),
  4355. b.setAttribute('value', ''),
  4356. (l.input = '' === b.getAttribute('value')),
  4357. (b.value = 't'),
  4358. b.setAttribute('type', 'radio'),
  4359. (l.radioValue = 't' === b.value),
  4360. (a = b = c = d = e = null)
  4361. })()
  4362. var mc = /\r/g
  4363. n.fn.extend({
  4364. val: function (a) {
  4365. var b,
  4366. c,
  4367. d,
  4368. e = this[0]
  4369. {
  4370. if (arguments.length)
  4371. return (
  4372. (d = n.isFunction(a)),
  4373. this.each(function (c) {
  4374. var e
  4375. 1 === this.nodeType &&
  4376. ((e = d ? a.call(this, c, n(this).val()) : a),
  4377. null == e
  4378. ? (e = '')
  4379. : 'number' == typeof e
  4380. ? (e += '')
  4381. : n.isArray(e) &&
  4382. (e = n.map(e, function (a) {
  4383. return null == a ? '' : a + ''
  4384. })),
  4385. (b =
  4386. n.valHooks[this.type] ||
  4387. n.valHooks[this.nodeName.toLowerCase()]),
  4388. (b && 'set' in b && void 0 !== b.set(this, e, 'value')) ||
  4389. (this.value = e))
  4390. })
  4391. )
  4392. if (e)
  4393. return (
  4394. (b = n.valHooks[e.type] || n.valHooks[e.nodeName.toLowerCase()]),
  4395. b && 'get' in b && void 0 !== (c = b.get(e, 'value'))
  4396. ? c
  4397. : ((c = e.value),
  4398. 'string' == typeof c ? c.replace(mc, '') : null == c ? '' : c)
  4399. )
  4400. }
  4401. }
  4402. }),
  4403. n.extend({
  4404. valHooks: {
  4405. option: {
  4406. get: function (a) {
  4407. var b = n.find.attr(a, 'value')
  4408. return null != b ? b : n.text(a)
  4409. }
  4410. },
  4411. select: {
  4412. get: function (a) {
  4413. for (
  4414. var b,
  4415. c,
  4416. d = a.options,
  4417. e = a.selectedIndex,
  4418. f = 'select-one' === a.type || 0 > e,
  4419. g = f ? null : [],
  4420. h = f ? e + 1 : d.length,
  4421. i = 0 > e ? h : f ? e : 0;
  4422. h > i;
  4423. i++
  4424. )
  4425. if (
  4426. ((c = d[i]),
  4427. !(
  4428. (!c.selected && i !== e) ||
  4429. (l.optDisabled
  4430. ? c.disabled
  4431. : null !== c.getAttribute('disabled')) ||
  4432. (c.parentNode.disabled &&
  4433. n.nodeName(c.parentNode, 'optgroup'))
  4434. ))
  4435. ) {
  4436. if (((b = n(c).val()), f)) return b
  4437. g.push(b)
  4438. }
  4439. return g
  4440. },
  4441. set: function (a, b) {
  4442. var c,
  4443. d,
  4444. e = a.options,
  4445. f = n.makeArray(b),
  4446. g = e.length
  4447. while (g--)
  4448. if (((d = e[g]), n.inArray(n.valHooks.option.get(d), f) >= 0))
  4449. try {
  4450. d.selected = c = !0
  4451. } catch (h) {
  4452. d.scrollHeight
  4453. }
  4454. else d.selected = !1
  4455. return c || (a.selectedIndex = -1), e
  4456. }
  4457. }
  4458. }
  4459. }),
  4460. n.each(['radio', 'checkbox'], function () {
  4461. ;(n.valHooks[this] = {
  4462. set: function (a, b) {
  4463. return n.isArray(b)
  4464. ? (a.checked = n.inArray(n(a).val(), b) >= 0)
  4465. : void 0
  4466. }
  4467. }),
  4468. l.checkOn ||
  4469. (n.valHooks[this].get = function (a) {
  4470. return null === a.getAttribute('value') ? 'on' : a.value
  4471. })
  4472. })
  4473. var nc,
  4474. oc,
  4475. pc = n.expr.attrHandle,
  4476. qc = /^(?:checked|selected)$/i,
  4477. rc = l.getSetAttribute,
  4478. sc = l.input
  4479. n.fn.extend({
  4480. attr: function (a, b) {
  4481. return W(this, n.attr, a, b, arguments.length > 1)
  4482. },
  4483. removeAttr: function (a) {
  4484. return this.each(function () {
  4485. n.removeAttr(this, a)
  4486. })
  4487. }
  4488. }),
  4489. n.extend({
  4490. attr: function (a, b, c) {
  4491. var d,
  4492. e,
  4493. f = a.nodeType
  4494. if (a && 3 !== f && 8 !== f && 2 !== f)
  4495. return typeof a.getAttribute === L
  4496. ? n.prop(a, b, c)
  4497. : ((1 === f && n.isXMLDoc(a)) ||
  4498. ((b = b.toLowerCase()),
  4499. (d = n.attrHooks[b] || (n.expr.match.bool.test(b) ? oc : nc))),
  4500. void 0 === c
  4501. ? d && 'get' in d && null !== (e = d.get(a, b))
  4502. ? e
  4503. : ((e = n.find.attr(a, b)), null == e ? void 0 : e)
  4504. : null !== c
  4505. ? d && 'set' in d && void 0 !== (e = d.set(a, c, b))
  4506. ? e
  4507. : (a.setAttribute(b, c + ''), c)
  4508. : void n.removeAttr(a, b))
  4509. },
  4510. removeAttr: function (a, b) {
  4511. var c,
  4512. d,
  4513. e = 0,
  4514. f = b && b.match(F)
  4515. if (f && 1 === a.nodeType)
  4516. while ((c = f[e++]))
  4517. (d = n.propFix[c] || c),
  4518. n.expr.match.bool.test(c)
  4519. ? (sc && rc) || !qc.test(c)
  4520. ? (a[d] = !1)
  4521. : (a[n.camelCase('default-' + c)] = a[d] = !1)
  4522. : n.attr(a, c, ''),
  4523. a.removeAttribute(rc ? c : d)
  4524. },
  4525. attrHooks: {
  4526. type: {
  4527. set: function (a, b) {
  4528. if (!l.radioValue && 'radio' === b && n.nodeName(a, 'input')) {
  4529. var c = a.value
  4530. return a.setAttribute('type', b), c && (a.value = c), b
  4531. }
  4532. }
  4533. }
  4534. }
  4535. }),
  4536. (oc = {
  4537. set: function (a, b, c) {
  4538. return (
  4539. b === !1
  4540. ? n.removeAttr(a, c)
  4541. : (sc && rc) || !qc.test(c)
  4542. ? a.setAttribute((!rc && n.propFix[c]) || c, c)
  4543. : (a[n.camelCase('default-' + c)] = a[c] = !0),
  4544. c
  4545. )
  4546. }
  4547. }),
  4548. n.each(n.expr.match.bool.source.match(/\w+/g), function (a, b) {
  4549. var c = pc[b] || n.find.attr
  4550. pc[b] =
  4551. (sc && rc) || !qc.test(b)
  4552. ? function (a, b, d) {
  4553. var e, f
  4554. return (
  4555. d ||
  4556. ((f = pc[b]),
  4557. (pc[b] = e),
  4558. (e = null != c(a, b, d) ? b.toLowerCase() : null),
  4559. (pc[b] = f)),
  4560. e
  4561. )
  4562. }
  4563. : function (a, b, c) {
  4564. return c
  4565. ? void 0
  4566. : a[n.camelCase('default-' + b)]
  4567. ? b.toLowerCase()
  4568. : null
  4569. }
  4570. }),
  4571. (sc && rc) ||
  4572. (n.attrHooks.value = {
  4573. set: function (a, b, c) {
  4574. return n.nodeName(a, 'input')
  4575. ? void (a.defaultValue = b)
  4576. : nc && nc.set(a, b, c)
  4577. }
  4578. }),
  4579. rc ||
  4580. ((nc = {
  4581. set: function (a, b, c) {
  4582. var d = a.getAttributeNode(c)
  4583. return (
  4584. d || a.setAttributeNode((d = a.ownerDocument.createAttribute(c))),
  4585. (d.value = b += ''),
  4586. 'value' === c || b === a.getAttribute(c) ? b : void 0
  4587. )
  4588. }
  4589. }),
  4590. (pc.id =
  4591. pc.name =
  4592. pc.coords =
  4593. function (a, b, c) {
  4594. var d
  4595. return c
  4596. ? void 0
  4597. : (d = a.getAttributeNode(b)) && '' !== d.value
  4598. ? d.value
  4599. : null
  4600. }),
  4601. (n.valHooks.button = {
  4602. get: function (a, b) {
  4603. var c = a.getAttributeNode(b)
  4604. return c && c.specified ? c.value : void 0
  4605. },
  4606. set: nc.set
  4607. }),
  4608. (n.attrHooks.contenteditable = {
  4609. set: function (a, b, c) {
  4610. nc.set(a, '' === b ? !1 : b, c)
  4611. }
  4612. }),
  4613. n.each(['width', 'height'], function (a, b) {
  4614. n.attrHooks[b] = {
  4615. set: function (a, c) {
  4616. return '' === c ? (a.setAttribute(b, 'auto'), c) : void 0
  4617. }
  4618. }
  4619. })),
  4620. l.style ||
  4621. (n.attrHooks.style = {
  4622. get: function (a) {
  4623. return a.style.cssText || void 0
  4624. },
  4625. set: function (a, b) {
  4626. return (a.style.cssText = b + '')
  4627. }
  4628. })
  4629. var tc = /^(?:input|select|textarea|button|object)$/i,
  4630. uc = /^(?:a|area)$/i
  4631. n.fn.extend({
  4632. prop: function (a, b) {
  4633. return W(this, n.prop, a, b, arguments.length > 1)
  4634. },
  4635. removeProp: function (a) {
  4636. return (
  4637. (a = n.propFix[a] || a),
  4638. this.each(function () {
  4639. try {
  4640. ;(this[a] = void 0), delete this[a]
  4641. } catch (b) {}
  4642. })
  4643. )
  4644. }
  4645. }),
  4646. n.extend({
  4647. propFix: { for: 'htmlFor', class: 'className' },
  4648. prop: function (a, b, c) {
  4649. var d,
  4650. e,
  4651. f,
  4652. g = a.nodeType
  4653. if (a && 3 !== g && 8 !== g && 2 !== g)
  4654. return (
  4655. (f = 1 !== g || !n.isXMLDoc(a)),
  4656. f && ((b = n.propFix[b] || b), (e = n.propHooks[b])),
  4657. void 0 !== c
  4658. ? e && 'set' in e && void 0 !== (d = e.set(a, c, b))
  4659. ? d
  4660. : (a[b] = c)
  4661. : e && 'get' in e && null !== (d = e.get(a, b))
  4662. ? d
  4663. : a[b]
  4664. )
  4665. },
  4666. propHooks: {
  4667. tabIndex: {
  4668. get: function (a) {
  4669. var b = n.find.attr(a, 'tabindex')
  4670. return b
  4671. ? parseInt(b, 10)
  4672. : tc.test(a.nodeName) || (uc.test(a.nodeName) && a.href)
  4673. ? 0
  4674. : -1
  4675. }
  4676. }
  4677. }
  4678. }),
  4679. l.hrefNormalized ||
  4680. n.each(['href', 'src'], function (a, b) {
  4681. n.propHooks[b] = {
  4682. get: function (a) {
  4683. return a.getAttribute(b, 4)
  4684. }
  4685. }
  4686. }),
  4687. l.optSelected ||
  4688. (n.propHooks.selected = {
  4689. get: function (a) {
  4690. var b = a.parentNode
  4691. return (
  4692. b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex),
  4693. null
  4694. )
  4695. }
  4696. }),
  4697. n.each(
  4698. [
  4699. 'tabIndex',
  4700. 'readOnly',
  4701. 'maxLength',
  4702. 'cellSpacing',
  4703. 'cellPadding',
  4704. 'rowSpan',
  4705. 'colSpan',
  4706. 'useMap',
  4707. 'frameBorder',
  4708. 'contentEditable'
  4709. ],
  4710. function () {
  4711. n.propFix[this.toLowerCase()] = this
  4712. }
  4713. ),
  4714. l.enctype || (n.propFix.enctype = 'encoding')
  4715. var vc = /[\t\r\n\f]/g
  4716. n.fn.extend({
  4717. addClass: function (a) {
  4718. var b,
  4719. c,
  4720. d,
  4721. e,
  4722. f,
  4723. g,
  4724. h = 0,
  4725. i = this.length,
  4726. j = 'string' == typeof a && a
  4727. if (n.isFunction(a))
  4728. return this.each(function (b) {
  4729. n(this).addClass(a.call(this, b, this.className))
  4730. })
  4731. if (j)
  4732. for (b = (a || '').match(F) || []; i > h; h++)
  4733. if (
  4734. ((c = this[h]),
  4735. (d =
  4736. 1 === c.nodeType &&
  4737. (c.className ? (' ' + c.className + ' ').replace(vc, ' ') : ' ')))
  4738. ) {
  4739. f = 0
  4740. while ((e = b[f++])) d.indexOf(' ' + e + ' ') < 0 && (d += e + ' ')
  4741. ;(g = n.trim(d)), c.className !== g && (c.className = g)
  4742. }
  4743. return this
  4744. },
  4745. removeClass: function (a) {
  4746. var b,
  4747. c,
  4748. d,
  4749. e,
  4750. f,
  4751. g,
  4752. h = 0,
  4753. i = this.length,
  4754. j = 0 === arguments.length || ('string' == typeof a && a)
  4755. if (n.isFunction(a))
  4756. return this.each(function (b) {
  4757. n(this).removeClass(a.call(this, b, this.className))
  4758. })
  4759. if (j)
  4760. for (b = (a || '').match(F) || []; i > h; h++)
  4761. if (
  4762. ((c = this[h]),
  4763. (d =
  4764. 1 === c.nodeType &&
  4765. (c.className ? (' ' + c.className + ' ').replace(vc, ' ') : '')))
  4766. ) {
  4767. f = 0
  4768. while ((e = b[f++]))
  4769. while (d.indexOf(' ' + e + ' ') >= 0)
  4770. d = d.replace(' ' + e + ' ', ' ')
  4771. ;(g = a ? n.trim(d) : ''), c.className !== g && (c.className = g)
  4772. }
  4773. return this
  4774. },
  4775. toggleClass: function (a, b) {
  4776. var c = typeof a
  4777. return 'boolean' == typeof b && 'string' === c
  4778. ? b
  4779. ? this.addClass(a)
  4780. : this.removeClass(a)
  4781. : this.each(
  4782. n.isFunction(a)
  4783. ? function (c) {
  4784. n(this).toggleClass(a.call(this, c, this.className, b), b)
  4785. }
  4786. : function () {
  4787. if ('string' === c) {
  4788. var b,
  4789. d = 0,
  4790. e = n(this),
  4791. f = a.match(F) || []
  4792. while ((b = f[d++]))
  4793. e.hasClass(b) ? e.removeClass(b) : e.addClass(b)
  4794. } else
  4795. (c === L || 'boolean' === c) &&
  4796. (this.className &&
  4797. n._data(this, '__className__', this.className),
  4798. (this.className =
  4799. this.className || a === !1
  4800. ? ''
  4801. : n._data(this, '__className__') || ''))
  4802. }
  4803. )
  4804. },
  4805. hasClass: function (a) {
  4806. for (var b = ' ' + a + ' ', c = 0, d = this.length; d > c; c++)
  4807. if (
  4808. 1 === this[c].nodeType &&
  4809. (' ' + this[c].className + ' ').replace(vc, ' ').indexOf(b) >= 0
  4810. )
  4811. return !0
  4812. return !1
  4813. }
  4814. }),
  4815. n.each(
  4816. '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(
  4817. ' '
  4818. ),
  4819. function (a, b) {
  4820. n.fn[b] = function (a, c) {
  4821. return arguments.length > 0 ? this.on(b, null, a, c) : this.trigger(b)
  4822. }
  4823. }
  4824. ),
  4825. n.fn.extend({
  4826. hover: function (a, b) {
  4827. return this.mouseenter(a).mouseleave(b || a)
  4828. },
  4829. bind: function (a, b, c) {
  4830. return this.on(a, null, b, c)
  4831. },
  4832. unbind: function (a, b) {
  4833. return this.off(a, null, b)
  4834. },
  4835. delegate: function (a, b, c, d) {
  4836. return this.on(b, a, c, d)
  4837. },
  4838. undelegate: function (a, b, c) {
  4839. return 1 === arguments.length
  4840. ? this.off(a, '**')
  4841. : this.off(b, a || '**', c)
  4842. }
  4843. })
  4844. var wc = n.now(),
  4845. xc = /\?/,
  4846. yc =
  4847. /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g
  4848. ;(n.parseJSON = function (b) {
  4849. if (a.JSON && a.JSON.parse) return a.JSON.parse(b + '')
  4850. var c,
  4851. d = null,
  4852. e = n.trim(b + '')
  4853. return e &&
  4854. !n.trim(
  4855. e.replace(yc, function (a, b, e, f) {
  4856. return (
  4857. c && b && (d = 0), 0 === d ? a : ((c = e || b), (d += !f - !e), '')
  4858. )
  4859. })
  4860. )
  4861. ? Function('return ' + e)()
  4862. : n.error('Invalid JSON: ' + b)
  4863. }),
  4864. (n.parseXML = function (b) {
  4865. var c, d
  4866. if (!b || 'string' != typeof b) return null
  4867. try {
  4868. a.DOMParser
  4869. ? ((d = new DOMParser()), (c = d.parseFromString(b, 'text/xml')))
  4870. : ((c = new ActiveXObject('Microsoft.XMLDOM')),
  4871. (c.async = 'false'),
  4872. c.loadXML(b))
  4873. } catch (e) {
  4874. c = void 0
  4875. }
  4876. return (
  4877. (c &&
  4878. c.documentElement &&
  4879. !c.getElementsByTagName('parsererror').length) ||
  4880. n.error('Invalid XML: ' + b),
  4881. c
  4882. )
  4883. })
  4884. var zc,
  4885. Ac,
  4886. Bc = /#.*$/,
  4887. Cc = /([?&])_=[^&]*/,
  4888. Dc = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm,
  4889. Ec = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
  4890. Fc = /^(?:GET|HEAD)$/,
  4891. Gc = /^\/\//,
  4892. Hc = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
  4893. Ic = {},
  4894. Jc = {},
  4895. Kc = '*/'.concat('*')
  4896. try {
  4897. Ac = location.href
  4898. } catch (Lc) {
  4899. ;(Ac = z.createElement('a')), (Ac.href = ''), (Ac = Ac.href)
  4900. }
  4901. zc = Hc.exec(Ac.toLowerCase()) || []
  4902. function Mc(a) {
  4903. return function (b, c) {
  4904. 'string' != typeof b && ((c = b), (b = '*'))
  4905. var d,
  4906. e = 0,
  4907. f = b.toLowerCase().match(F) || []
  4908. if (n.isFunction(c))
  4909. while ((d = f[e++]))
  4910. '+' === d.charAt(0)
  4911. ? ((d = d.slice(1) || '*'), (a[d] = a[d] || []).unshift(c))
  4912. : (a[d] = a[d] || []).push(c)
  4913. }
  4914. }
  4915. function Nc(a, b, c, d) {
  4916. var e = {},
  4917. f = a === Jc
  4918. function g(h) {
  4919. var i
  4920. return (
  4921. (e[h] = !0),
  4922. n.each(a[h] || [], function (a, h) {
  4923. var j = h(b, c, d)
  4924. return 'string' != typeof j || f || e[j]
  4925. ? f
  4926. ? !(i = j)
  4927. : void 0
  4928. : (b.dataTypes.unshift(j), g(j), !1)
  4929. }),
  4930. i
  4931. )
  4932. }
  4933. return g(b.dataTypes[0]) || (!e['*'] && g('*'))
  4934. }
  4935. function Oc(a, b) {
  4936. var c,
  4937. d,
  4938. e = n.ajaxSettings.flatOptions || {}
  4939. for (d in b) void 0 !== b[d] && ((e[d] ? a : c || (c = {}))[d] = b[d])
  4940. return c && n.extend(!0, a, c), a
  4941. }
  4942. function Pc(a, b, c) {
  4943. var d,
  4944. e,
  4945. f,
  4946. g,
  4947. h = a.contents,
  4948. i = a.dataTypes
  4949. while ('*' === i[0])
  4950. i.shift(),
  4951. void 0 === e && (e = a.mimeType || b.getResponseHeader('Content-Type'))
  4952. if (e)
  4953. for (g in h)
  4954. if (h[g] && h[g].test(e)) {
  4955. i.unshift(g)
  4956. break
  4957. }
  4958. if (i[0] in c) f = i[0]
  4959. else {
  4960. for (g in c) {
  4961. if (!i[0] || a.converters[g + ' ' + i[0]]) {
  4962. f = g
  4963. break
  4964. }
  4965. d || (d = g)
  4966. }
  4967. f = f || d
  4968. }
  4969. return f ? (f !== i[0] && i.unshift(f), c[f]) : void 0
  4970. }
  4971. function Qc(a, b, c, d) {
  4972. var e,
  4973. f,
  4974. g,
  4975. h,
  4976. i,
  4977. j = {},
  4978. k = a.dataTypes.slice()
  4979. if (k[1]) for (g in a.converters) j[g.toLowerCase()] = a.converters[g]
  4980. f = k.shift()
  4981. while (f)
  4982. if (
  4983. (a.responseFields[f] && (c[a.responseFields[f]] = b),
  4984. !i && d && a.dataFilter && (b = a.dataFilter(b, a.dataType)),
  4985. (i = f),
  4986. (f = k.shift()))
  4987. )
  4988. if ('*' === f) f = i
  4989. else if ('*' !== i && i !== f) {
  4990. if (((g = j[i + ' ' + f] || j['* ' + f]), !g))
  4991. for (e in j)
  4992. if (
  4993. ((h = e.split(' ')),
  4994. h[1] === f && (g = j[i + ' ' + h[0]] || j['* ' + h[0]]))
  4995. ) {
  4996. g === !0
  4997. ? (g = j[e])
  4998. : j[e] !== !0 && ((f = h[0]), k.unshift(h[1]))
  4999. break
  5000. }
  5001. if (g !== !0)
  5002. if (g && a['throws']) b = g(b)
  5003. else
  5004. try {
  5005. b = g(b)
  5006. } catch (l) {
  5007. return {
  5008. state: 'parsererror',
  5009. error: g ? l : 'No conversion from ' + i + ' to ' + f
  5010. }
  5011. }
  5012. }
  5013. return { state: 'success', data: b }
  5014. }
  5015. n.extend({
  5016. active: 0,
  5017. lastModified: {},
  5018. etag: {},
  5019. ajaxSettings: {
  5020. url: Ac,
  5021. type: 'GET',
  5022. isLocal: Ec.test(zc[1]),
  5023. global: !0,
  5024. processData: !0,
  5025. async: !0,
  5026. contentType: 'application/x-www-form-urlencoded; charset=UTF-8',
  5027. accepts: {
  5028. '*': Kc,
  5029. text: 'text/plain',
  5030. html: 'text/html',
  5031. xml: 'application/xml, text/xml',
  5032. json: 'application/json, text/javascript'
  5033. },
  5034. contents: { xml: /xml/, html: /html/, json: /json/ },
  5035. responseFields: {
  5036. xml: 'responseXML',
  5037. text: 'responseText',
  5038. json: 'responseJSON'
  5039. },
  5040. converters: {
  5041. '* text': String,
  5042. 'text html': !0,
  5043. 'text json': n.parseJSON,
  5044. 'text xml': n.parseXML
  5045. },
  5046. flatOptions: { url: !0, context: !0 }
  5047. },
  5048. ajaxSetup: function (a, b) {
  5049. return b ? Oc(Oc(a, n.ajaxSettings), b) : Oc(n.ajaxSettings, a)
  5050. },
  5051. ajaxPrefilter: Mc(Ic),
  5052. ajaxTransport: Mc(Jc),
  5053. ajax: function (a, b) {
  5054. 'object' == typeof a && ((b = a), (a = void 0)), (b = b || {})
  5055. var c,
  5056. d,
  5057. e,
  5058. f,
  5059. g,
  5060. h,
  5061. i,
  5062. j,
  5063. k = n.ajaxSetup({}, b),
  5064. l = k.context || k,
  5065. m = k.context && (l.nodeType || l.jquery) ? n(l) : n.event,
  5066. o = n.Deferred(),
  5067. p = n.Callbacks('once memory'),
  5068. q = k.statusCode || {},
  5069. r = {},
  5070. s = {},
  5071. t = 0,
  5072. u = 'canceled',
  5073. v = {
  5074. readyState: 0,
  5075. getResponseHeader: function (a) {
  5076. var b
  5077. if (2 === t) {
  5078. if (!j) {
  5079. j = {}
  5080. while ((b = Dc.exec(f))) j[b[1].toLowerCase()] = b[2]
  5081. }
  5082. b = j[a.toLowerCase()]
  5083. }
  5084. return null == b ? null : b
  5085. },
  5086. getAllResponseHeaders: function () {
  5087. return 2 === t ? f : null
  5088. },
  5089. setRequestHeader: function (a, b) {
  5090. var c = a.toLowerCase()
  5091. return t || ((a = s[c] = s[c] || a), (r[a] = b)), this
  5092. },
  5093. overrideMimeType: function (a) {
  5094. return t || (k.mimeType = a), this
  5095. },
  5096. statusCode: function (a) {
  5097. var b
  5098. if (a)
  5099. if (2 > t) for (b in a) q[b] = [q[b], a[b]]
  5100. else v.always(a[v.status])
  5101. return this
  5102. },
  5103. abort: function (a) {
  5104. var b = a || u
  5105. return i && i.abort(b), x(0, b), this
  5106. }
  5107. }
  5108. if (
  5109. ((o.promise(v).complete = p.add),
  5110. (v.success = v.done),
  5111. (v.error = v.fail),
  5112. (k.url = ((a || k.url || Ac) + '')
  5113. .replace(Bc, '')
  5114. .replace(Gc, zc[1] + '//')),
  5115. (k.type = b.method || b.type || k.method || k.type),
  5116. (k.dataTypes = n
  5117. .trim(k.dataType || '*')
  5118. .toLowerCase()
  5119. .match(F) || ['']),
  5120. null == k.crossDomain &&
  5121. ((c = Hc.exec(k.url.toLowerCase())),
  5122. (k.crossDomain = !(
  5123. !c ||
  5124. (c[1] === zc[1] &&
  5125. c[2] === zc[2] &&
  5126. (c[3] || ('http:' === c[1] ? '80' : '443')) ===
  5127. (zc[3] || ('http:' === zc[1] ? '80' : '443')))
  5128. ))),
  5129. k.data &&
  5130. k.processData &&
  5131. 'string' != typeof k.data &&
  5132. (k.data = n.param(k.data, k.traditional)),
  5133. Nc(Ic, k, b, v),
  5134. 2 === t)
  5135. )
  5136. return v
  5137. ;(h = k.global),
  5138. h && 0 === n.active++ && n.event.trigger('ajaxStart'),
  5139. (k.type = k.type.toUpperCase()),
  5140. (k.hasContent = !Fc.test(k.type)),
  5141. (e = k.url),
  5142. k.hasContent ||
  5143. (k.data &&
  5144. ((e = k.url += (xc.test(e) ? '&' : '?') + k.data), delete k.data),
  5145. k.cache === !1 &&
  5146. (k.url = Cc.test(e)
  5147. ? e.replace(Cc, '$1_=' + wc++)
  5148. : e + (xc.test(e) ? '&' : '?') + '_=' + wc++)),
  5149. k.ifModified &&
  5150. (n.lastModified[e] &&
  5151. v.setRequestHeader('If-Modified-Since', n.lastModified[e]),
  5152. n.etag[e] && v.setRequestHeader('If-None-Match', n.etag[e])),
  5153. ((k.data && k.hasContent && k.contentType !== !1) || b.contentType) &&
  5154. v.setRequestHeader('Content-Type', k.contentType),
  5155. v.setRequestHeader(
  5156. 'Accept',
  5157. k.dataTypes[0] && k.accepts[k.dataTypes[0]]
  5158. ? k.accepts[k.dataTypes[0]] +
  5159. ('*' !== k.dataTypes[0] ? ', ' + Kc + '; q=0.01' : '')
  5160. : k.accepts['*']
  5161. )
  5162. for (d in k.headers) v.setRequestHeader(d, k.headers[d])
  5163. if (k.beforeSend && (k.beforeSend.call(l, v, k) === !1 || 2 === t))
  5164. return v.abort()
  5165. u = 'abort'
  5166. for (d in { success: 1, error: 1, complete: 1 }) v[d](k[d])
  5167. if ((i = Nc(Jc, k, b, v))) {
  5168. ;(v.readyState = 1),
  5169. h && m.trigger('ajaxSend', [v, k]),
  5170. k.async &&
  5171. k.timeout > 0 &&
  5172. (g = setTimeout(function () {
  5173. v.abort('timeout')
  5174. }, k.timeout))
  5175. try {
  5176. ;(t = 1), i.send(r, x)
  5177. } catch (w) {
  5178. if (!(2 > t)) throw w
  5179. x(-1, w)
  5180. }
  5181. } else x(-1, 'No Transport')
  5182. function x(a, b, c, d) {
  5183. var j,
  5184. r,
  5185. s,
  5186. u,
  5187. w,
  5188. x = b
  5189. 2 !== t &&
  5190. ((t = 2),
  5191. g && clearTimeout(g),
  5192. (i = void 0),
  5193. (f = d || ''),
  5194. (v.readyState = a > 0 ? 4 : 0),
  5195. (j = (a >= 200 && 300 > a) || 304 === a),
  5196. c && (u = Pc(k, v, c)),
  5197. (u = Qc(k, u, v, j)),
  5198. j
  5199. ? (k.ifModified &&
  5200. ((w = v.getResponseHeader('Last-Modified')),
  5201. w && (n.lastModified[e] = w),
  5202. (w = v.getResponseHeader('etag')),
  5203. w && (n.etag[e] = w)),
  5204. 204 === a || 'HEAD' === k.type
  5205. ? (x = 'nocontent')
  5206. : 304 === a
  5207. ? (x = 'notmodified')
  5208. : ((x = u.state), (r = u.data), (s = u.error), (j = !s)))
  5209. : ((s = x), (a || !x) && ((x = 'error'), 0 > a && (a = 0))),
  5210. (v.status = a),
  5211. (v.statusText = (b || x) + ''),
  5212. j ? o.resolveWith(l, [r, x, v]) : o.rejectWith(l, [v, x, s]),
  5213. v.statusCode(q),
  5214. (q = void 0),
  5215. h && m.trigger(j ? 'ajaxSuccess' : 'ajaxError', [v, k, j ? r : s]),
  5216. p.fireWith(l, [v, x]),
  5217. h &&
  5218. (m.trigger('ajaxComplete', [v, k]),
  5219. --n.active || n.event.trigger('ajaxStop')))
  5220. }
  5221. return v
  5222. },
  5223. getJSON: function (a, b, c) {
  5224. return n.get(a, b, c, 'json')
  5225. },
  5226. getScript: function (a, b) {
  5227. return n.get(a, void 0, b, 'script')
  5228. }
  5229. }),
  5230. n.each(['get', 'post'], function (a, b) {
  5231. n[b] = function (a, c, d, e) {
  5232. return (
  5233. n.isFunction(c) && ((e = e || d), (d = c), (c = void 0)),
  5234. n.ajax({ url: a, type: b, dataType: e, data: c, success: d })
  5235. )
  5236. }
  5237. }),
  5238. n.each(
  5239. [
  5240. 'ajaxStart',
  5241. 'ajaxStop',
  5242. 'ajaxComplete',
  5243. 'ajaxError',
  5244. 'ajaxSuccess',
  5245. 'ajaxSend'
  5246. ],
  5247. function (a, b) {
  5248. n.fn[b] = function (a) {
  5249. return this.on(b, a)
  5250. }
  5251. }
  5252. ),
  5253. (n._evalUrl = function (a) {
  5254. return n.ajax({
  5255. url: a,
  5256. type: 'GET',
  5257. dataType: 'script',
  5258. async: !1,
  5259. global: !1,
  5260. throws: !0
  5261. })
  5262. }),
  5263. n.fn.extend({
  5264. wrapAll: function (a) {
  5265. if (n.isFunction(a))
  5266. return this.each(function (b) {
  5267. n(this).wrapAll(a.call(this, b))
  5268. })
  5269. if (this[0]) {
  5270. var b = n(a, this[0].ownerDocument).eq(0).clone(!0)
  5271. this[0].parentNode && b.insertBefore(this[0]),
  5272. b
  5273. .map(function () {
  5274. var a = this
  5275. while (a.firstChild && 1 === a.firstChild.nodeType)
  5276. a = a.firstChild
  5277. return a
  5278. })
  5279. .append(this)
  5280. }
  5281. return this
  5282. },
  5283. wrapInner: function (a) {
  5284. return this.each(
  5285. n.isFunction(a)
  5286. ? function (b) {
  5287. n(this).wrapInner(a.call(this, b))
  5288. }
  5289. : function () {
  5290. var b = n(this),
  5291. c = b.contents()
  5292. c.length ? c.wrapAll(a) : b.append(a)
  5293. }
  5294. )
  5295. },
  5296. wrap: function (a) {
  5297. var b = n.isFunction(a)
  5298. return this.each(function (c) {
  5299. n(this).wrapAll(b ? a.call(this, c) : a)
  5300. })
  5301. },
  5302. unwrap: function () {
  5303. return this.parent()
  5304. .each(function () {
  5305. n.nodeName(this, 'body') || n(this).replaceWith(this.childNodes)
  5306. })
  5307. .end()
  5308. }
  5309. }),
  5310. (n.expr.filters.hidden = function (a) {
  5311. return (
  5312. (a.offsetWidth <= 0 && a.offsetHeight <= 0) ||
  5313. (!l.reliableHiddenOffsets() &&
  5314. 'none' === ((a.style && a.style.display) || n.css(a, 'display')))
  5315. )
  5316. }),
  5317. (n.expr.filters.visible = function (a) {
  5318. return !n.expr.filters.hidden(a)
  5319. })
  5320. var Rc = /%20/g,
  5321. Sc = /\[\]$/,
  5322. Tc = /\r?\n/g,
  5323. Uc = /^(?:submit|button|image|reset|file)$/i,
  5324. Vc = /^(?:input|select|textarea|keygen)/i
  5325. function Wc(a, b, c, d) {
  5326. var e
  5327. if (n.isArray(b))
  5328. n.each(b, function (b, e) {
  5329. c || Sc.test(a)
  5330. ? d(a, e)
  5331. : Wc(a + '[' + ('object' == typeof e ? b : '') + ']', e, c, d)
  5332. })
  5333. else if (c || 'object' !== n.type(b)) d(a, b)
  5334. else for (e in b) Wc(a + '[' + e + ']', b[e], c, d)
  5335. }
  5336. ;(n.param = function (a, b) {
  5337. var c,
  5338. d = [],
  5339. e = function (a, b) {
  5340. ;(b = n.isFunction(b) ? b() : null == b ? '' : b),
  5341. (d[d.length] = encodeURIComponent(a) + '=' + encodeURIComponent(b))
  5342. }
  5343. if (
  5344. (void 0 === b && (b = n.ajaxSettings && n.ajaxSettings.traditional),
  5345. n.isArray(a) || (a.jquery && !n.isPlainObject(a)))
  5346. )
  5347. n.each(a, function () {
  5348. e(this.name, this.value)
  5349. })
  5350. else for (c in a) Wc(c, a[c], b, e)
  5351. return d.join('&').replace(Rc, '+')
  5352. }),
  5353. n.fn.extend({
  5354. serialize: function () {
  5355. return n.param(this.serializeArray())
  5356. },
  5357. serializeArray: function () {
  5358. return this.map(function () {
  5359. var a = n.prop(this, 'elements')
  5360. return a ? n.makeArray(a) : this
  5361. })
  5362. .filter(function () {
  5363. var a = this.type
  5364. return (
  5365. this.name &&
  5366. !n(this).is(':disabled') &&
  5367. Vc.test(this.nodeName) &&
  5368. !Uc.test(a) &&
  5369. (this.checked || !X.test(a))
  5370. )
  5371. })
  5372. .map(function (a, b) {
  5373. var c = n(this).val()
  5374. return null == c
  5375. ? null
  5376. : n.isArray(c)
  5377. ? n.map(c, function (a) {
  5378. return { name: b.name, value: a.replace(Tc, '\r\n') }
  5379. })
  5380. : { name: b.name, value: c.replace(Tc, '\r\n') }
  5381. })
  5382. .get()
  5383. }
  5384. }),
  5385. (n.ajaxSettings.xhr =
  5386. void 0 !== a.ActiveXObject
  5387. ? function () {
  5388. return (
  5389. (!this.isLocal &&
  5390. /^(get|post|head|put|delete|options)$/i.test(this.type) &&
  5391. $c()) ||
  5392. _c()
  5393. )
  5394. }
  5395. : $c)
  5396. var Xc = 0,
  5397. Yc = {},
  5398. Zc = n.ajaxSettings.xhr()
  5399. a.ActiveXObject &&
  5400. n(a).on('unload', function () {
  5401. for (var a in Yc) Yc[a](void 0, !0)
  5402. }),
  5403. (l.cors = !!Zc && 'withCredentials' in Zc),
  5404. (Zc = l.ajax = !!Zc),
  5405. Zc &&
  5406. n.ajaxTransport(function (a) {
  5407. if (!a.crossDomain || l.cors) {
  5408. var b
  5409. return {
  5410. send: function (c, d) {
  5411. var e,
  5412. f = a.xhr(),
  5413. g = ++Xc
  5414. if (
  5415. (f.open(a.type, a.url, a.async, a.username, a.password),
  5416. a.xhrFields)
  5417. )
  5418. for (e in a.xhrFields) f[e] = a.xhrFields[e]
  5419. a.mimeType &&
  5420. f.overrideMimeType &&
  5421. f.overrideMimeType(a.mimeType),
  5422. a.crossDomain ||
  5423. c['X-Requested-With'] ||
  5424. (c['X-Requested-With'] = 'XMLHttpRequest')
  5425. for (e in c) void 0 !== c[e] && f.setRequestHeader(e, c[e] + '')
  5426. f.send((a.hasContent && a.data) || null),
  5427. (b = function (c, e) {
  5428. var h, i, j
  5429. if (b && (e || 4 === f.readyState))
  5430. if (
  5431. (delete Yc[g],
  5432. (b = void 0),
  5433. (f.onreadystatechange = n.noop),
  5434. e)
  5435. )
  5436. 4 !== f.readyState && f.abort()
  5437. else {
  5438. ;(j = {}),
  5439. (h = f.status),
  5440. 'string' == typeof f.responseText &&
  5441. (j.text = f.responseText)
  5442. try {
  5443. i = f.statusText
  5444. } catch (k) {
  5445. i = ''
  5446. }
  5447. h || !a.isLocal || a.crossDomain
  5448. ? 1223 === h && (h = 204)
  5449. : (h = j.text ? 200 : 404)
  5450. }
  5451. j && d(h, i, j, f.getAllResponseHeaders())
  5452. }),
  5453. a.async
  5454. ? 4 === f.readyState
  5455. ? setTimeout(b)
  5456. : (f.onreadystatechange = Yc[g] = b)
  5457. : b()
  5458. },
  5459. abort: function () {
  5460. b && b(void 0, !0)
  5461. }
  5462. }
  5463. }
  5464. })
  5465. function $c() {
  5466. try {
  5467. return new a.XMLHttpRequest()
  5468. } catch (b) {}
  5469. }
  5470. function _c() {
  5471. try {
  5472. return new a.ActiveXObject('Microsoft.XMLHTTP')
  5473. } catch (b) {}
  5474. }
  5475. n.ajaxSetup({
  5476. accepts: {
  5477. script:
  5478. 'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'
  5479. },
  5480. contents: { script: /(?:java|ecma)script/ },
  5481. converters: {
  5482. 'text script': function (a) {
  5483. return n.globalEval(a), a
  5484. }
  5485. }
  5486. }),
  5487. n.ajaxPrefilter('script', function (a) {
  5488. void 0 === a.cache && (a.cache = !1),
  5489. a.crossDomain && ((a.type = 'GET'), (a.global = !1))
  5490. }),
  5491. n.ajaxTransport('script', function (a) {
  5492. if (a.crossDomain) {
  5493. var b,
  5494. c = z.head || n('head')[0] || z.documentElement
  5495. return {
  5496. send: function (d, e) {
  5497. ;(b = z.createElement('script')),
  5498. (b.async = !0),
  5499. a.scriptCharset && (b.charset = a.scriptCharset),
  5500. (b.src = a.url),
  5501. (b.onload = b.onreadystatechange =
  5502. function (a, c) {
  5503. ;(c ||
  5504. !b.readyState ||
  5505. /loaded|complete/.test(b.readyState)) &&
  5506. ((b.onload = b.onreadystatechange = null),
  5507. b.parentNode && b.parentNode.removeChild(b),
  5508. (b = null),
  5509. c || e(200, 'success'))
  5510. }),
  5511. c.insertBefore(b, c.firstChild)
  5512. },
  5513. abort: function () {
  5514. b && b.onload(void 0, !0)
  5515. }
  5516. }
  5517. }
  5518. })
  5519. var ad = [],
  5520. bd = /(=)\?(?=&|$)|\?\?/
  5521. n.ajaxSetup({
  5522. jsonp: 'callback',
  5523. jsonpCallback: function () {
  5524. var a = ad.pop() || n.expando + '_' + wc++
  5525. return (this[a] = !0), a
  5526. }
  5527. }),
  5528. n.ajaxPrefilter('json jsonp', function (b, c, d) {
  5529. var e,
  5530. f,
  5531. g,
  5532. h =
  5533. b.jsonp !== !1 &&
  5534. (bd.test(b.url)
  5535. ? 'url'
  5536. : 'string' == typeof b.data &&
  5537. !(b.contentType || '').indexOf(
  5538. 'application/x-www-form-urlencoded'
  5539. ) &&
  5540. bd.test(b.data) &&
  5541. 'data')
  5542. return h || 'jsonp' === b.dataTypes[0]
  5543. ? ((e = b.jsonpCallback =
  5544. n.isFunction(b.jsonpCallback)
  5545. ? b.jsonpCallback()
  5546. : b.jsonpCallback),
  5547. h
  5548. ? (b[h] = b[h].replace(bd, '$1' + e))
  5549. : b.jsonp !== !1 &&
  5550. (b.url += (xc.test(b.url) ? '&' : '?') + b.jsonp + '=' + e),
  5551. (b.converters['script json'] = function () {
  5552. return g || n.error(e + ' was not called'), g[0]
  5553. }),
  5554. (b.dataTypes[0] = 'json'),
  5555. (f = a[e]),
  5556. (a[e] = function () {
  5557. g = arguments
  5558. }),
  5559. d.always(function () {
  5560. ;(a[e] = f),
  5561. b[e] && ((b.jsonpCallback = c.jsonpCallback), ad.push(e)),
  5562. g && n.isFunction(f) && f(g[0]),
  5563. (g = f = void 0)
  5564. }),
  5565. 'script')
  5566. : void 0
  5567. }),
  5568. (n.parseHTML = function (a, b, c) {
  5569. if (!a || 'string' != typeof a) return null
  5570. 'boolean' == typeof b && ((c = b), (b = !1)), (b = b || z)
  5571. var d = v.exec(a),
  5572. e = !c && []
  5573. return d
  5574. ? [b.createElement(d[1])]
  5575. : ((d = n.buildFragment([a], b, e)),
  5576. e && e.length && n(e).remove(),
  5577. n.merge([], d.childNodes))
  5578. })
  5579. var cd = n.fn.load
  5580. ;(n.fn.load = function (a, b, c) {
  5581. if ('string' != typeof a && cd) return cd.apply(this, arguments)
  5582. var d,
  5583. e,
  5584. f,
  5585. g = this,
  5586. h = a.indexOf(' ')
  5587. return (
  5588. h >= 0 && ((d = a.slice(h, a.length)), (a = a.slice(0, h))),
  5589. n.isFunction(b)
  5590. ? ((c = b), (b = void 0))
  5591. : b && 'object' == typeof b && (f = 'POST'),
  5592. g.length > 0 &&
  5593. n
  5594. .ajax({ url: a, type: f, dataType: 'html', data: b })
  5595. .done(function (a) {
  5596. ;(e = arguments),
  5597. g.html(d ? n('<div>').append(n.parseHTML(a)).find(d) : a)
  5598. })
  5599. .complete(
  5600. c &&
  5601. function (a, b) {
  5602. g.each(c, e || [a.responseText, b, a])
  5603. }
  5604. ),
  5605. this
  5606. )
  5607. }),
  5608. (n.expr.filters.animated = function (a) {
  5609. return n.grep(n.timers, function (b) {
  5610. return a === b.elem
  5611. }).length
  5612. })
  5613. var dd = a.document.documentElement
  5614. function ed(a) {
  5615. return n.isWindow(a)
  5616. ? a
  5617. : 9 === a.nodeType
  5618. ? a.defaultView || a.parentWindow
  5619. : !1
  5620. }
  5621. ;(n.offset = {
  5622. setOffset: function (a, b, c) {
  5623. var d,
  5624. e,
  5625. f,
  5626. g,
  5627. h,
  5628. i,
  5629. j,
  5630. k = n.css(a, 'position'),
  5631. l = n(a),
  5632. m = {}
  5633. 'static' === k && (a.style.position = 'relative'),
  5634. (h = l.offset()),
  5635. (f = n.css(a, 'top')),
  5636. (i = n.css(a, 'left')),
  5637. (j =
  5638. ('absolute' === k || 'fixed' === k) &&
  5639. n.inArray('auto', [f, i]) > -1),
  5640. j
  5641. ? ((d = l.position()), (g = d.top), (e = d.left))
  5642. : ((g = parseFloat(f) || 0), (e = parseFloat(i) || 0)),
  5643. n.isFunction(b) && (b = b.call(a, c, h)),
  5644. null != b.top && (m.top = b.top - h.top + g),
  5645. null != b.left && (m.left = b.left - h.left + e),
  5646. 'using' in b ? b.using.call(a, m) : l.css(m)
  5647. }
  5648. }),
  5649. n.fn.extend({
  5650. offset: function (a) {
  5651. if (arguments.length)
  5652. return void 0 === a
  5653. ? this
  5654. : this.each(function (b) {
  5655. n.offset.setOffset(this, a, b)
  5656. })
  5657. var b,
  5658. c,
  5659. d = { top: 0, left: 0 },
  5660. e = this[0],
  5661. f = e && e.ownerDocument
  5662. if (f)
  5663. return (
  5664. (b = f.documentElement),
  5665. n.contains(b, e)
  5666. ? (typeof e.getBoundingClientRect !== L &&
  5667. (d = e.getBoundingClientRect()),
  5668. (c = ed(f)),
  5669. {
  5670. top:
  5671. d.top + (c.pageYOffset || b.scrollTop) - (b.clientTop || 0),
  5672. left:
  5673. d.left +
  5674. (c.pageXOffset || b.scrollLeft) -
  5675. (b.clientLeft || 0)
  5676. })
  5677. : d
  5678. )
  5679. },
  5680. position: function () {
  5681. if (this[0]) {
  5682. var a,
  5683. b,
  5684. c = { top: 0, left: 0 },
  5685. d = this[0]
  5686. return (
  5687. 'fixed' === n.css(d, 'position')
  5688. ? (b = d.getBoundingClientRect())
  5689. : ((a = this.offsetParent()),
  5690. (b = this.offset()),
  5691. n.nodeName(a[0], 'html') || (c = a.offset()),
  5692. (c.top += n.css(a[0], 'borderTopWidth', !0)),
  5693. (c.left += n.css(a[0], 'borderLeftWidth', !0))),
  5694. {
  5695. top: b.top - c.top - n.css(d, 'marginTop', !0),
  5696. left: b.left - c.left - n.css(d, 'marginLeft', !0)
  5697. }
  5698. )
  5699. }
  5700. },
  5701. offsetParent: function () {
  5702. return this.map(function () {
  5703. var a = this.offsetParent || dd
  5704. while (
  5705. a &&
  5706. !n.nodeName(a, 'html') &&
  5707. 'static' === n.css(a, 'position')
  5708. )
  5709. a = a.offsetParent
  5710. return a || dd
  5711. })
  5712. }
  5713. }),
  5714. n.each(
  5715. { scrollLeft: 'pageXOffset', scrollTop: 'pageYOffset' },
  5716. function (a, b) {
  5717. var c = /Y/.test(b)
  5718. n.fn[a] = function (d) {
  5719. return W(
  5720. this,
  5721. function (a, d, e) {
  5722. var f = ed(a)
  5723. return void 0 === e
  5724. ? f
  5725. ? b in f
  5726. ? f[b]
  5727. : f.document.documentElement[d]
  5728. : a[d]
  5729. : void (f
  5730. ? f.scrollTo(
  5731. c ? n(f).scrollLeft() : e,
  5732. c ? e : n(f).scrollTop()
  5733. )
  5734. : (a[d] = e))
  5735. },
  5736. a,
  5737. d,
  5738. arguments.length,
  5739. null
  5740. )
  5741. }
  5742. }
  5743. ),
  5744. n.each(['top', 'left'], function (a, b) {
  5745. n.cssHooks[b] = Mb(l.pixelPosition, function (a, c) {
  5746. return c
  5747. ? ((c = Kb(a, b)), Ib.test(c) ? n(a).position()[b] + 'px' : c)
  5748. : void 0
  5749. })
  5750. }),
  5751. n.each({ Height: 'height', Width: 'width' }, function (a, b) {
  5752. n.each(
  5753. { padding: 'inner' + a, content: b, '': 'outer' + a },
  5754. function (c, d) {
  5755. n.fn[d] = function (d, e) {
  5756. var f = arguments.length && (c || 'boolean' != typeof d),
  5757. g = c || (d === !0 || e === !0 ? 'margin' : 'border')
  5758. return W(
  5759. this,
  5760. function (b, c, d) {
  5761. var e
  5762. return n.isWindow(b)
  5763. ? b.document.documentElement['client' + a]
  5764. : 9 === b.nodeType
  5765. ? ((e = b.documentElement),
  5766. Math.max(
  5767. b.body['scroll' + a],
  5768. e['scroll' + a],
  5769. b.body['offset' + a],
  5770. e['offset' + a],
  5771. e['client' + a]
  5772. ))
  5773. : void 0 === d
  5774. ? n.css(b, c, g)
  5775. : n.style(b, c, d, g)
  5776. },
  5777. b,
  5778. f ? d : void 0,
  5779. f,
  5780. null
  5781. )
  5782. }
  5783. }
  5784. )
  5785. }),
  5786. (n.fn.size = function () {
  5787. return this.length
  5788. }),
  5789. (n.fn.andSelf = n.fn.addBack),
  5790. 'function' == typeof define &&
  5791. define.amd &&
  5792. define('jquery', [], function () {
  5793. return n
  5794. })
  5795. var fd = a.jQuery,
  5796. gd = a.$
  5797. return (
  5798. (n.noConflict = function (b) {
  5799. return a.$ === n && (a.$ = gd), b && a.jQuery === n && (a.jQuery = fd), n
  5800. }),
  5801. typeof b === L && (a.jQuery = a.$ = n),
  5802. n
  5803. )
  5804. })