jquery-3.1.1.js 144 KB

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