jquery-3.3.1.min.js 132 KB

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