jquery.min.js 108 KB

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