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.

5770 lines
171 KiB

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