jquery.js 164 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672
  1. /*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license
  2. //@ sourceMappingURL=jquery.min.map
  3. */
  4. (function (e, t) {
  5. var n, r, i = typeof t,
  6. o = e.document,
  7. a = e.location,
  8. s = e.jQuery,
  9. u = e.$,
  10. l = {},
  11. c = [],
  12. p = "1.9.1",
  13. f = c.concat,
  14. d = c.push,
  15. h = c.slice,
  16. g = c.indexOf,
  17. m = l.toString,
  18. y = l.hasOwnProperty,
  19. v = p.trim,
  20. b = function (e, t) {
  21. return new b.fn.init(e, t, r)
  22. },
  23. x = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
  24. w = /\S+/g,
  25. T = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
  26. N = /^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,
  27. C = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
  28. k = /^[\],:{}\s]*$/,
  29. E = /(?:^|:|,)(?:\s*\[)+/g,
  30. S = /\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,
  31. A = /"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,
  32. j = /^-ms-/,
  33. D = /-([\da-z])/gi,
  34. L = function (e, t) {
  35. return t.toUpperCase()
  36. },
  37. H = function (e) {
  38. (o.addEventListener || "load" === e.type || "complete" === o.readyState) && (q(), b.ready())
  39. },
  40. q = function () {
  41. o.addEventListener ? (o.removeEventListener("DOMContentLoaded", H, !1), e.removeEventListener("load", H,
  42. !1)) : (o.detachEvent("onreadystatechange", H), e.detachEvent("onload", H))
  43. };
  44. b.fn = b.prototype = {
  45. jquery: p,
  46. constructor: b,
  47. init: function (e, n, r) {
  48. var i, a;
  49. if (!e) return this;
  50. if ("string" == typeof e) {
  51. if (i = "<" === e.charAt(0) && ">" === e.charAt(e.length - 1) && e.length >= 3 ? [null, e,
  52. null] : N.exec(e), !i || !i[1] && n) return !n || n.jquery ? (n || r).find(e) :
  53. this.constructor(n).find(e);
  54. if (i[1]) {
  55. if (n = n instanceof b ? n[0] : n, b.merge(this, b.parseHTML(i[1], n && n.nodeType ? n.ownerDocument ||
  56. n : o, !0)), C.test(i[1]) && b.isPlainObject(n))
  57. for (i in n) b.isFunction(this[i]) ? this[i](n[i]) : this.attr(i, n[i]);
  58. return this
  59. }
  60. if (a = o.getElementById(i[2]), a && a.parentNode) {
  61. if (a.id !== i[2]) return r.find(e);
  62. this.length = 1, this[0] = a
  63. }
  64. return this.context = o, this.selector = e, this
  65. }
  66. return e.nodeType ? (this.context = this[0] = e, this.length = 1, this) : b.isFunction(e) ? r.ready(
  67. e) : (e.selector !== t && (this.selector = e.selector, this.context = e.context), b.makeArray(
  68. e, this))
  69. },
  70. selector: "",
  71. length: 0,
  72. size: function () {
  73. return this.length
  74. },
  75. toArray: function () {
  76. return h.call(this)
  77. },
  78. get: function (e) {
  79. return null == e ? this.toArray() : 0 > e ? this[this.length + e] : this[e]
  80. },
  81. pushStack: function (e) {
  82. var t = b.merge(this.constructor(), e);
  83. return t.prevObject = this, t.context = this.context, t
  84. },
  85. each: function (e, t) {
  86. return b.each(this, e, t)
  87. },
  88. ready: function (e) {
  89. return b.ready.promise().done(e), this
  90. },
  91. slice: function () {
  92. return this.pushStack(h.apply(this, arguments))
  93. },
  94. first: function () {
  95. return this.eq(0)
  96. },
  97. last: function () {
  98. return this.eq(-1)
  99. },
  100. eq: function (e) {
  101. var t = this.length,
  102. n = +e + (0 > e ? t : 0);
  103. return this.pushStack(n >= 0 && t > n ? [this[n]] : [])
  104. },
  105. map: function (e) {
  106. return this.pushStack(b.map(this, function (t, n) {
  107. return e.call(t, n, t)
  108. }))
  109. },
  110. end: function () {
  111. return this.prevObject || this.constructor(null)
  112. },
  113. push: d,
  114. sort: [].sort,
  115. splice: [].splice
  116. }, b.fn.init.prototype = b.fn, b.extend = b.fn.extend = function () {
  117. var e, n, r, i, o, a, s = arguments[0] || {},
  118. u = 1,
  119. l = arguments.length,
  120. c = !1;
  121. for ("boolean" == typeof s && (c = s, s = arguments[1] || {}, u = 2), "object" == typeof s || b.isFunction(
  122. s) || (s = {}), l === u && (s = this, --u); l > u; u++)
  123. if (null != (o = arguments[u]))
  124. for (i in o) e = s[i], r = o[i], s !== r && (c && r && (b.isPlainObject(r) || (n = b.isArray(r))) ?
  125. (n ? (n = !1, a = e && b.isArray(e) ? e : []) : a = e && b.isPlainObject(e) ? e : {}, s[
  126. i] = b.extend(c, a, r)) : r !== t && (s[i] = r));
  127. return s
  128. }, b.extend({
  129. noConflict: function (t) {
  130. return e.$ === b && (e.$ = u), t && e.jQuery === b && (e.jQuery = s), b
  131. },
  132. isReady: !1,
  133. readyWait: 1,
  134. holdReady: function (e) {
  135. e ? b.readyWait++ : b.ready(!0)
  136. },
  137. ready: function (e) {
  138. if (e === !0 ? !--b.readyWait : !b.isReady) {
  139. if (!o.body) return setTimeout(b.ready);
  140. b.isReady = !0, e !== !0 && --b.readyWait > 0 || (n.resolveWith(o, [b]), b.fn.trigger &&
  141. b(o).trigger("ready").off("ready"))
  142. }
  143. },
  144. isFunction: function (e) {
  145. return "function" === b.type(e)
  146. },
  147. isArray: Array.isArray || function (e) {
  148. return "array" === b.type(e)
  149. },
  150. isWindow: function (e) {
  151. return null != e && e == e.window
  152. },
  153. isNumeric: function (e) {
  154. return !isNaN(parseFloat(e)) && isFinite(e)
  155. },
  156. type: function (e) {
  157. return null == e ? e + "" : "object" == typeof e || "function" == typeof e ? l[m.call(e)] ||
  158. "object" : typeof e
  159. },
  160. isPlainObject: function (e) {
  161. if (!e || "object" !== b.type(e) || e.nodeType || b.isWindow(e)) return !1;
  162. try {
  163. if (e.constructor && !y.call(e, "constructor") && !y.call(e.constructor.prototype,
  164. "isPrototypeOf")) return !1
  165. } catch (n) {
  166. return !1
  167. }
  168. var r;
  169. for (r in e);
  170. return r === t || y.call(e, r)
  171. },
  172. isEmptyObject: function (e) {
  173. var t;
  174. for (t in e) return !1;
  175. return !0
  176. },
  177. error: function (e) {
  178. throw Error(e)
  179. },
  180. parseHTML: function (e, t, n) {
  181. if (!e || "string" != typeof e) return null;
  182. "boolean" == typeof t && (n = t, t = !1), t = t || o;
  183. var r = C.exec(e),
  184. i = !n && [];
  185. return r ? [t.createElement(r[1])] : (r = b.buildFragment([e], t, i), i && b(i).remove(), b
  186. .merge([], r.childNodes))
  187. },
  188. parseJSON: function (n) {
  189. return e.JSON && e.JSON.parse ? e.JSON.parse(n) : null === n ? n : "string" == typeof n &&
  190. (n = b.trim(n), n && k.test(n.replace(S, "@").replace(A, "]").replace(E, ""))) ?
  191. Function("return " + n)() : (b.error("Invalid JSON: " + n), t)
  192. },
  193. parseXML: function (n) {
  194. var r, i;
  195. if (!n || "string" != typeof n) return null;
  196. try {
  197. e.DOMParser ? (i = new DOMParser, r = i.parseFromString(n, "text/xml")) : (r = new ActiveXObject(
  198. "Microsoft.XMLDOM"), r.async = "false", r.loadXML(n))
  199. } catch (o) {
  200. r = t
  201. }
  202. return r && r.documentElement && !r.getElementsByTagName("parsererror").length || b.error(
  203. "Invalid XML: " + n), r
  204. },
  205. noop: function () {},
  206. globalEval: function (t) {
  207. t && b.trim(t) && (e.execScript || function (t) {
  208. e.eval.call(e, t)
  209. })(t)
  210. },
  211. camelCase: function (e) {
  212. return e.replace(j, "ms-").replace(D, L)
  213. },
  214. nodeName: function (e, t) {
  215. return e.nodeName && e.nodeName.toLowerCase() === t.toLowerCase()
  216. },
  217. each: function (e, t, n) {
  218. var r, i = 0,
  219. o = e.length,
  220. a = M(e);
  221. if (n) {
  222. if (a) {
  223. for (; o > i; i++)
  224. if (r = t.apply(e[i], n), r === !1) break
  225. } else
  226. for (i in e)
  227. if (r = t.apply(e[i], n), r === !1) break
  228. } else if (a) {
  229. for (; o > i; i++)
  230. if (r = t.call(e[i], i, e[i]), r === !1) break
  231. } else
  232. for (i in e)
  233. if (r = t.call(e[i], i, e[i]), r === !1) break;
  234. return e
  235. },
  236. trim: v && !v.call("\ufeff\u00a0") ? function (e) {
  237. return null == e ? "" : v.call(e)
  238. } : function (e) {
  239. return null == e ? "" : (e + "").replace(T, "")
  240. },
  241. makeArray: function (e, t) {
  242. var n = t || [];
  243. return null != e && (M(Object(e)) ? b.merge(n, "string" == typeof e ? [e] : e) : d.call(n,
  244. e)), n
  245. },
  246. inArray: function (e, t, n) {
  247. var r;
  248. if (t) {
  249. if (g) return g.call(t, e, n);
  250. for (r = t.length, n = n ? 0 > n ? Math.max(0, r + n) : n : 0; r > n; n++)
  251. if (n in t && t[n] === e) return n
  252. }
  253. return -1
  254. },
  255. merge: function (e, n) {
  256. var r = n.length,
  257. i = e.length,
  258. o = 0;
  259. if ("number" == typeof r)
  260. for (; r > o; o++) e[i++] = n[o];
  261. else
  262. while (n[o] !== t) e[i++] = n[o++];
  263. return e.length = i, e
  264. },
  265. grep: function (e, t, n) {
  266. var r, i = [],
  267. o = 0,
  268. a = e.length;
  269. for (n = !!n; a > o; o++) r = !!t(e[o], o), n !== r && i.push(e[o]);
  270. return i
  271. },
  272. map: function (e, t, n) {
  273. var r, i = 0,
  274. o = e.length,
  275. a = M(e),
  276. s = [];
  277. if (a)
  278. for (; o > i; i++) r = t(e[i], i, n), null != r && (s[s.length] = r);
  279. else
  280. for (i in e) r = t(e[i], i, n), null != r && (s[s.length] = r);
  281. return f.apply([], s)
  282. },
  283. guid: 1,
  284. proxy: function (e, n) {
  285. var r, i, o;
  286. return "string" == typeof n && (o = e[n], n = e, e = o), b.isFunction(e) ? (r = h.call(
  287. arguments, 2), i = function () {
  288. return e.apply(n || this, r.concat(h.call(arguments)))
  289. }, i.guid = e.guid = e.guid || b.guid++, i) : t
  290. },
  291. access: function (e, n, r, i, o, a, s) {
  292. var u = 0,
  293. l = e.length,
  294. c = null == r;
  295. if ("object" === b.type(r)) {
  296. o = !0;
  297. for (u in r) b.access(e, n, u, r[u], !0, a, s)
  298. } else if (i !== t && (o = !0, b.isFunction(i) || (s = !0), c && (s ? (n.call(e, i), n =
  299. null) : (c = n, n = function (e, t, n) {
  300. return c.call(b(e), n)
  301. })), n))
  302. for (; l > u; u++) n(e[u], r, s ? i : i.call(e[u], u, n(e[u], r)));
  303. return o ? e : c ? n.call(e) : l ? n(e[0], r) : a
  304. },
  305. now: function () {
  306. return (new Date).getTime()
  307. }
  308. }), b.ready.promise = function (t) {
  309. if (!n)
  310. if (n = b.Deferred(), "complete" === o.readyState) setTimeout(b.ready);
  311. else if (o.addEventListener) o.addEventListener("DOMContentLoaded", H, !1), e.addEventListener(
  312. "load", H, !1);
  313. else {
  314. o.attachEvent("onreadystatechange", H), e.attachEvent("onload", H);
  315. var r = !1;
  316. try {
  317. r = null == e.frameElement && o.documentElement
  318. } catch (i) {}
  319. r && r.doScroll && function a() {
  320. if (!b.isReady) {
  321. try {
  322. r.doScroll("left")
  323. } catch (e) {
  324. return setTimeout(a, 50)
  325. }
  326. q(), b.ready()
  327. }
  328. }()
  329. }
  330. return n.promise(t)
  331. }, b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (e, t) {
  332. l["[object " + t + "]"] = t.toLowerCase()
  333. });
  334. function M(e) {
  335. var t = e.length,
  336. n = b.type(e);
  337. return b.isWindow(e) ? !1 : 1 === e.nodeType && t ? !0 : "array" === n || "function" !== n && (0 === t ||
  338. "number" == typeof t && t > 0 && t - 1 in e)
  339. }
  340. r = b(o);
  341. var _ = {};
  342. function F(e) {
  343. var t = _[e] = {};
  344. return b.each(e.match(w) || [], function (e, n) {
  345. t[n] = !0
  346. }), t
  347. }
  348. b.Callbacks = function (e) {
  349. e = "string" == typeof e ? _[e] || F(e) : b.extend({}, e);
  350. var n, r, i, o, a, s, u = [],
  351. l = !e.once && [],
  352. c = function (t) {
  353. for (r = e.memory && t, i = !0, a = s || 0, s = 0, o = u.length, n = !0; u && o > a; a++)
  354. if (u[a].apply(t[0], t[1]) === !1 && e.stopOnFalse) {
  355. r = !1;
  356. break
  357. } n = !1, u && (l ? l.length && c(l.shift()) : r ? u = [] : p.disable())
  358. },
  359. p = {
  360. add: function () {
  361. if (u) {
  362. var t = u.length;
  363. (function i(t) {
  364. b.each(t, function (t, n) {
  365. var r = b.type(n);
  366. "function" === r ? e.unique && p.has(n) || u.push(n) : n && n.length &&
  367. "string" !== r && i(n)
  368. })
  369. })(arguments), n ? o = u.length : r && (s = t, c(r))
  370. }
  371. return this
  372. },
  373. remove: function () {
  374. return u && b.each(arguments, function (e, t) {
  375. var r;
  376. while ((r = b.inArray(t, u, r)) > -1) u.splice(r, 1), n && (o >= r && o--,
  377. a >= r && a--)
  378. }), this
  379. },
  380. has: function (e) {
  381. return e ? b.inArray(e, u) > -1 : !(!u || !u.length)
  382. },
  383. empty: function () {
  384. return u = [], this
  385. },
  386. disable: function () {
  387. return u = l = r = t, this
  388. },
  389. disabled: function () {
  390. return !u
  391. },
  392. lock: function () {
  393. return l = t, r || p.disable(), this
  394. },
  395. locked: function () {
  396. return !l
  397. },
  398. fireWith: function (e, t) {
  399. return t = t || [], t = [e, t.slice ? t.slice() : t], !u || i && !l || (n ? l.push(t) :
  400. c(t)), this
  401. },
  402. fire: function () {
  403. return p.fireWith(this, arguments), this
  404. },
  405. fired: function () {
  406. return !!i
  407. }
  408. };
  409. return p
  410. }, b.extend({
  411. Deferred: function (e) {
  412. var t = [["resolve", "done", b.Callbacks("once memory"), "resolved"], ["reject", "fail", b.Callbacks(
  413. "once memory"), "rejected"], ["notify", "progress", b.Callbacks("memory")]],
  414. n = "pending",
  415. r = {
  416. state: function () {
  417. return n
  418. },
  419. always: function () {
  420. return i.done(arguments).fail(arguments), this
  421. },
  422. then: function () {
  423. var e = arguments;
  424. return b.Deferred(function (n) {
  425. b.each(t, function (t, o) {
  426. var a = o[0],
  427. s = b.isFunction(e[t]) && e[t];
  428. i[o[1]](function () {
  429. var e = s && s.apply(this, arguments);
  430. e && b.isFunction(e.promise) ? e.promise()
  431. .done(n.resolve).fail(n.reject).progress(
  432. n.notify) : n[a + "With"](this ===
  433. r ? n.promise() : this, s ? [e] :
  434. arguments)
  435. })
  436. }), e = null
  437. }).promise()
  438. },
  439. promise: function (e) {
  440. return null != e ? b.extend(e, r) : r
  441. }
  442. },
  443. i = {};
  444. return r.pipe = r.then, b.each(t, function (e, o) {
  445. var a = o[2],
  446. s = o[3];
  447. r[o[1]] = a.add, s && a.add(function () {
  448. n = s
  449. }, t[1 ^ e][2].disable, t[2][2].lock), i[o[0]] = function () {
  450. return i[o[0] + "With"](this === i ? r : this, arguments), this
  451. }, i[o[0] + "With"] = a.fireWith
  452. }), r.promise(i), e && e.call(i, i), i
  453. },
  454. when: function (e) {
  455. var t = 0,
  456. n = h.call(arguments),
  457. r = n.length,
  458. i = 1 !== r || e && b.isFunction(e.promise) ? r : 0,
  459. o = 1 === i ? e : b.Deferred(),
  460. a = function (e, t, n) {
  461. return function (r) {
  462. t[e] = this, n[e] = arguments.length > 1 ? h.call(arguments) : r, n === s ?
  463. o.notifyWith(t, n) : --i || o.resolveWith(t, n)
  464. }
  465. },
  466. s, u, l;
  467. if (r > 1)
  468. for (s = Array(r), u = Array(r), l = Array(r); r > t; t++) n[t] && b.isFunction(n[t].promise) ?
  469. n[t].promise().done(a(t, l, n)).fail(o.reject).progress(a(t, u, s)) : --i;
  470. return i || o.resolveWith(l, n), o.promise()
  471. }
  472. }), b.support = function () {
  473. var t, n, r, a, s, u, l, c, p, f, d = o.createElement("div");
  474. if (d.setAttribute("className", "t"), d.innerHTML =
  475. " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>", n = d.getElementsByTagName(
  476. "*"), r = d.getElementsByTagName("a")[0], !n || !r || !n.length) return {};
  477. s = o.createElement("select"), l = s.appendChild(o.createElement("option")), a = d.getElementsByTagName(
  478. "input")[0], r.style.cssText = "top:1px;float:left;opacity:.5", t = {
  479. getSetAttribute: "t" !== d.className,
  480. leadingWhitespace: 3 === d.firstChild.nodeType,
  481. tbody: !d.getElementsByTagName("tbody").length,
  482. htmlSerialize: !!d.getElementsByTagName("link").length,
  483. style: /top/.test(r.getAttribute("style")),
  484. hrefNormalized: "/a" === r.getAttribute("href"),
  485. opacity: /^0.5/.test(r.style.opacity),
  486. cssFloat: !!r.style.cssFloat,
  487. checkOn: !!a.value,
  488. optSelected: l.selected,
  489. enctype: !!o.createElement("form").enctype,
  490. html5Clone: "<:nav></:nav>" !== o.createElement("nav").cloneNode(!0).outerHTML,
  491. boxModel: "CSS1Compat" === o.compatMode,
  492. deleteExpando: !0,
  493. noCloneEvent: !0,
  494. inlineBlockNeedsLayout: !1,
  495. shrinkWrapBlocks: !1,
  496. reliableMarginRight: !0,
  497. boxSizingReliable: !0,
  498. pixelPosition: !1
  499. }, a.checked = !0, t.noCloneChecked = a.cloneNode(!0).checked, s.disabled = !0, t.optDisabled = !l.disabled;
  500. try {
  501. delete d.test
  502. } catch (h) {
  503. t.deleteExpando = !1
  504. }
  505. a = o.createElement("input"), a.setAttribute("value", ""), t.input = "" === a.getAttribute("value"), a.value =
  506. "t", a.setAttribute("type", "radio"), t.radioValue = "t" === a.value, a.setAttribute("checked", "t"),
  507. a.setAttribute("name", "t"), u = o.createDocumentFragment(), u.appendChild(a), t.appendChecked = a.checked,
  508. t.checkClone = u.cloneNode(!0).cloneNode(!0).lastChild.checked, d.attachEvent && (d.attachEvent(
  509. "onclick",
  510. function () {
  511. t.noCloneEvent = !1
  512. }), d.cloneNode(!0).click());
  513. for (f in {
  514. submit: !0,
  515. change: !0,
  516. focusin: !0
  517. }) d.setAttribute(c = "on" + f, "t"), t[f + "Bubbles"] = c in e || d.attributes[c].expando === !1;
  518. return d.style.backgroundClip = "content-box", d.cloneNode(!0).style.backgroundClip = "", t.clearCloneStyle =
  519. "content-box" === d.style.backgroundClip, b(function () {
  520. var n, r, a, s =
  521. "padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",
  522. u = o.getElementsByTagName("body")[0];
  523. u && (n = o.createElement("div"), n.style.cssText =
  524. "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px", u.appendChild(
  525. n).appendChild(d), d.innerHTML = "<table><tr><td></td><td>t</td></tr></table>",
  526. a = d.getElementsByTagName("td"), a[0].style.cssText =
  527. "padding:0;margin:0;border:0;display:none", p = 0 === a[0].offsetHeight, a[0].style
  528. .display = "", a[1].style.display = "none", t.reliableHiddenOffsets = p && 0 === a[
  529. 0].offsetHeight, d.innerHTML = "", d.style.cssText =
  530. "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",
  531. t.boxSizing = 4 === d.offsetWidth, t.doesNotIncludeMarginInBodyOffset = 1 !== u.offsetTop,
  532. e.getComputedStyle && (t.pixelPosition = "1%" !== (e.getComputedStyle(d, null) || {})
  533. .top, t.boxSizingReliable = "4px" === (e.getComputedStyle(d, null) || {
  534. width: "4px"
  535. }).width, r = d.appendChild(o.createElement("div")), r.style.cssText = d.style.cssText =
  536. s, r.style.marginRight = r.style.width = "0", d.style.width = "1px", t.reliableMarginRight = !
  537. parseFloat((e.getComputedStyle(r, null) || {}).marginRight)), typeof d.style.zoom !==
  538. i && (d.innerHTML = "", d.style.cssText = s +
  539. "width:1px;padding:1px;display:inline;zoom:1", t.inlineBlockNeedsLayout = 3 ===
  540. d.offsetWidth, d.style.display = "block", d.innerHTML = "<div></div>", d.firstChild
  541. .style.width = "5px", t.shrinkWrapBlocks = 3 !== d.offsetWidth, t.inlineBlockNeedsLayout &&
  542. (u.style.zoom = 1)), u.removeChild(n), n = d = a = r = null)
  543. }), n = s = u = l = r = a = null, t
  544. }();
  545. var O = /(?:\{[\s\S]*\}|\[[\s\S]*\])$/,
  546. B = /([A-Z])/g;
  547. function P(e, n, r, i) {
  548. if (b.acceptData(e)) {
  549. var o, a, s = b.expando,
  550. u = "string" == typeof n,
  551. l = e.nodeType,
  552. p = l ? b.cache : e,
  553. f = l ? e[s] : e[s] && s;
  554. if (f && p[f] && (i || p[f].data) || !u || r !== t) return f || (l ? e[s] = f = c.pop() || b.guid++ : f =
  555. s), p[f] || (p[f] = {}, l || (p[f].toJSON = b.noop)), ("object" == typeof n || "function" ==
  556. typeof n) && (i ? p[f] = b.extend(p[f], n) : p[f].data = b.extend(p[f].data, n)), o = p[f],
  557. i || (o.data || (o.data = {}), o = o.data), r !== t && (o[b.camelCase(n)] = r), u ? (a = o[n],
  558. null == a && (a = o[b.camelCase(n)])) : a = o, a
  559. }
  560. }
  561. function R(e, t, n) {
  562. if (b.acceptData(e)) {
  563. var r, i, o, a = e.nodeType,
  564. s = a ? b.cache : e,
  565. u = a ? e[b.expando] : b.expando;
  566. if (s[u]) {
  567. if (t && (o = n ? s[u] : s[u].data)) {
  568. b.isArray(t) ? t = t.concat(b.map(t, b.camelCase)) : t in o ? t = [t] : (t = b.camelCase(t), t =
  569. t in o ? [t] : t.split(" "));
  570. for (r = 0, i = t.length; i > r; r++) delete o[t[r]];
  571. if (!(n ? $ : b.isEmptyObject)(o)) return
  572. }(n || (delete s[u].data, $(s[u]))) && (a ? b.cleanData([e], !0) : b.support.deleteExpando || s !=
  573. s.window ? delete s[u] : s[u] = null)
  574. }
  575. }
  576. }
  577. b.extend({
  578. cache: {},
  579. expando: "jQuery" + (p + Math.random()).replace(/\D/g, ""),
  580. noData: {
  581. embed: !0,
  582. object: "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",
  583. applet: !0
  584. },
  585. hasData: function (e) {
  586. return e = e.nodeType ? b.cache[e[b.expando]] : e[b.expando], !!e && !$(e)
  587. },
  588. data: function (e, t, n) {
  589. return P(e, t, n)
  590. },
  591. removeData: function (e, t) {
  592. return R(e, t)
  593. },
  594. _data: function (e, t, n) {
  595. return P(e, t, n, !0)
  596. },
  597. _removeData: function (e, t) {
  598. return R(e, t, !0)
  599. },
  600. acceptData: function (e) {
  601. if (e.nodeType && 1 !== e.nodeType && 9 !== e.nodeType) return !1;
  602. var t = e.nodeName && b.noData[e.nodeName.toLowerCase()];
  603. return !t || t !== !0 && e.getAttribute("classid") === t
  604. }
  605. }), b.fn.extend({
  606. data: function (e, n) {
  607. var r, i, o = this[0],
  608. a = 0,
  609. s = null;
  610. if (e === t) {
  611. if (this.length && (s = b.data(o), 1 === o.nodeType && !b._data(o, "parsedAttrs"))) {
  612. for (r = o.attributes; r.length > a; a++) i = r[a].name, i.indexOf("data-") || (i =
  613. b.camelCase(i.slice(5)), W(o, i, s[i]));
  614. b._data(o, "parsedAttrs", !0)
  615. }
  616. return s
  617. }
  618. return "object" == typeof e ? this.each(function () {
  619. b.data(this, e)
  620. }) : b.access(this, function (n) {
  621. return n === t ? o ? W(o, e, b.data(o, e)) : null : (this.each(function () {
  622. b.data(this, e, n)
  623. }), t)
  624. }, null, n, arguments.length > 1, null, !0)
  625. },
  626. removeData: function (e) {
  627. return this.each(function () {
  628. b.removeData(this, e)
  629. })
  630. }
  631. });
  632. function W(e, n, r) {
  633. if (r === t && 1 === e.nodeType) {
  634. var i = "data-" + n.replace(B, "-$1").toLowerCase();
  635. if (r = e.getAttribute(i), "string" == typeof r) {
  636. try {
  637. r = "true" === r ? !0 : "false" === r ? !1 : "null" === r ? null : +r + "" === r ? +r : O.test(
  638. r) ? b.parseJSON(r) : r
  639. } catch (o) {}
  640. b.data(e, n, r)
  641. } else r = t
  642. }
  643. return r
  644. }
  645. function $(e) {
  646. var t;
  647. for (t in e)
  648. if (("data" !== t || !b.isEmptyObject(e[t])) && "toJSON" !== t) return !1;
  649. return !0
  650. }
  651. b.extend({
  652. queue: function (e, n, r) {
  653. var i;
  654. return e ? (n = (n || "fx") + "queue", i = b._data(e, n), r && (!i || b.isArray(r) ? i = b._data(
  655. e, n, b.makeArray(r)) : i.push(r)), i || []) : t
  656. },
  657. dequeue: function (e, t) {
  658. t = t || "fx";
  659. var n = b.queue(e, t),
  660. r = n.length,
  661. i = n.shift(),
  662. o = b._queueHooks(e, t),
  663. a = function () {
  664. b.dequeue(e, t)
  665. };
  666. "inprogress" === i && (i = n.shift(), r--), o.cur = i, i && ("fx" === t && n.unshift(
  667. "inprogress"), delete o.stop, i.call(e, a, o)), !r && o && o.empty.fire()
  668. },
  669. _queueHooks: function (e, t) {
  670. var n = t + "queueHooks";
  671. return b._data(e, n) || b._data(e, n, {
  672. empty: b.Callbacks("once memory").add(function () {
  673. b._removeData(e, t + "queue"), b._removeData(e, n)
  674. })
  675. })
  676. }
  677. }), b.fn.extend({
  678. queue: function (e, n) {
  679. var r = 2;
  680. return "string" != typeof e && (n = e, e = "fx", r--), r > arguments.length ? b.queue(this[
  681. 0], e) : n === t ? this : this.each(function () {
  682. var t = b.queue(this, e, n);
  683. b._queueHooks(this, e), "fx" === e && "inprogress" !== t[0] && b.dequeue(this,
  684. e)
  685. })
  686. },
  687. dequeue: function (e) {
  688. return this.each(function () {
  689. b.dequeue(this, e)
  690. })
  691. },
  692. delay: function (e, t) {
  693. return e = b.fx ? b.fx.speeds[e] || e : e, t = t || "fx", this.queue(t, function (t, n) {
  694. var r = setTimeout(t, e);
  695. n.stop = function () {
  696. clearTimeout(r)
  697. }
  698. })
  699. },
  700. clearQueue: function (e) {
  701. return this.queue(e || "fx", [])
  702. },
  703. promise: function (e, n) {
  704. var r, i = 1,
  705. o = b.Deferred(),
  706. a = this,
  707. s = this.length,
  708. u = function () {
  709. --i || o.resolveWith(a, [a])
  710. };
  711. "string" != typeof e && (n = e, e = t), e = e || "fx";
  712. while (s--) r = b._data(a[s], e + "queueHooks"), r && r.empty && (i++, r.empty.add(u));
  713. return u(), o.promise(n)
  714. }
  715. });
  716. var I, z, X = /[\t\r\n]/g,
  717. U = /\r/g,
  718. V = /^(?:input|select|textarea|button|object)$/i,
  719. Y = /^(?:a|area)$/i,
  720. J =
  721. /^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,
  722. G = /^(?:checked|selected)$/i,
  723. Q = b.support.getSetAttribute,
  724. K = b.support.input;
  725. b.fn.extend({
  726. attr: function (e, t) {
  727. return b.access(this, b.attr, e, t, arguments.length > 1)
  728. },
  729. removeAttr: function (e) {
  730. return this.each(function () {
  731. b.removeAttr(this, e)
  732. })
  733. },
  734. prop: function (e, t) {
  735. return b.access(this, b.prop, e, t, arguments.length > 1)
  736. },
  737. removeProp: function (e) {
  738. return e = b.propFix[e] || e, this.each(function () {
  739. try {
  740. this[e] = t, delete this[e]
  741. } catch (n) {}
  742. })
  743. },
  744. addClass: function (e) {
  745. var t, n, r, i, o, a = 0,
  746. s = this.length,
  747. u = "string" == typeof e && e;
  748. if (b.isFunction(e)) return this.each(function (t) {
  749. b(this).addClass(e.call(this, t, this.className))
  750. });
  751. if (u)
  752. for (t = (e || "").match(w) || []; s > a; a++)
  753. if (n = this[a], r = 1 === n.nodeType && (n.className ? (" " + n.className + " ").replace(
  754. X, " ") : " ")) {
  755. o = 0;
  756. while (i = t[o++]) 0 > r.indexOf(" " + i + " ") && (r += i + " ");
  757. n.className = b.trim(r)
  758. } return this
  759. },
  760. removeClass: function (e) {
  761. var t, n, r, i, o, a = 0,
  762. s = this.length,
  763. u = 0 === arguments.length || "string" == typeof e && e;
  764. if (b.isFunction(e)) return this.each(function (t) {
  765. b(this).removeClass(e.call(this, t, this.className))
  766. });
  767. if (u)
  768. for (t = (e || "").match(w) || []; s > a; a++)
  769. if (n = this[a], r = 1 === n.nodeType && (n.className ? (" " + n.className + " ").replace(
  770. X, " ") : "")) {
  771. o = 0;
  772. while (i = t[o++])
  773. while (r.indexOf(" " + i + " ") >= 0) r = r.replace(" " + i + " ", " ");
  774. n.className = e ? b.trim(r) : ""
  775. } return this
  776. },
  777. toggleClass: function (e, t) {
  778. var n = typeof e,
  779. r = "boolean" == typeof t;
  780. return b.isFunction(e) ? this.each(function (n) {
  781. b(this).toggleClass(e.call(this, n, this.className, t), t)
  782. }) : this.each(function () {
  783. if ("string" === n) {
  784. var o, a = 0,
  785. s = b(this),
  786. u = t,
  787. l = e.match(w) || [];
  788. while (o = l[a++]) u = r ? u : !s.hasClass(o), s[u ? "addClass" :
  789. "removeClass"](o)
  790. } else(n === i || "boolean" === n) && (this.className && b._data(this,
  791. "__className__", this.className), this.className = this.className ||
  792. e === !1 ? "" : b._data(this, "__className__") || "")
  793. })
  794. },
  795. hasClass: function (e) {
  796. var t = " " + e + " ",
  797. n = 0,
  798. r = this.length;
  799. for (; r > n; n++)
  800. if (1 === this[n].nodeType && (" " + this[n].className + " ").replace(X, " ").indexOf(t) >=
  801. 0) return !0;
  802. return !1
  803. },
  804. val: function (e) {
  805. var n, r, i, o = this[0]; {
  806. if (arguments.length) return i = b.isFunction(e), this.each(function (n) {
  807. var o, a = b(this);
  808. 1 === this.nodeType && (o = i ? e.call(this, n, a.val()) : e, null == o ?
  809. o = "" : "number" == typeof o ? o += "" : b.isArray(o) && (o =
  810. b.map(o, function (e) {
  811. return null == e ? "" : e + ""
  812. })), r = b.valHooks[this.type] || b.valHooks[this.nodeName.toLowerCase()],
  813. r && "set" in r && r.set(this, o, "value") !== t || (this.value =
  814. o))
  815. });
  816. if (o) return r = b.valHooks[o.type] || b.valHooks[o.nodeName.toLowerCase()], r &&
  817. "get" in r && (n = r.get(o, "value")) !== t ? n : (n = o.value, "string" ==
  818. typeof n ? n.replace(U, "") : null == n ? "" : n)
  819. }
  820. }
  821. }), b.extend({
  822. valHooks: {
  823. option: {
  824. get: function (e) {
  825. var t = e.attributes.value;
  826. return !t || t.specified ? e.value : e.text
  827. }
  828. },
  829. select: {
  830. get: function (e) {
  831. var t, n, r = e.options,
  832. i = e.selectedIndex,
  833. o = "select-one" === e.type || 0 > i,
  834. a = o ? null : [],
  835. s = o ? i + 1 : r.length,
  836. u = 0 > i ? s : o ? i : 0;
  837. for (; s > u; u++)
  838. if (n = r[u], !(!n.selected && u !== i || (b.support.optDisabled ? n.disabled :
  839. null !== n.getAttribute("disabled")) || n.parentNode.disabled && b.nodeName(
  840. n.parentNode, "optgroup"))) {
  841. if (t = b(n).val(), o) return t;
  842. a.push(t)
  843. } return a
  844. },
  845. set: function (e, t) {
  846. var n = b.makeArray(t);
  847. return b(e).find("option").each(function () {
  848. this.selected = b.inArray(b(this).val(), n) >= 0
  849. }), n.length || (e.selectedIndex = -1), n
  850. }
  851. }
  852. },
  853. attr: function (e, n, r) {
  854. var o, a, s, u = e.nodeType;
  855. if (e && 3 !== u && 8 !== u && 2 !== u) return typeof e.getAttribute === i ? b.prop(e, n, r) :
  856. (a = 1 !== u || !b.isXMLDoc(e), a && (n = n.toLowerCase(), o = b.attrHooks[n] || (J
  857. .test(n) ? z : I)), r === t ? o && a && "get" in o && null !== (s = o.get(e,
  858. n)) ? s : (typeof e.getAttribute !== i && (s = e.getAttribute(n)), null ==
  859. s ? t : s) : null !== r ? o && a && "set" in o && (s = o.set(e, r, n)) !==
  860. t ? s : (e.setAttribute(n, r + ""), r) : (b.removeAttr(e, n), t))
  861. },
  862. removeAttr: function (e, t) {
  863. var n, r, i = 0,
  864. o = t && t.match(w);
  865. if (o && 1 === e.nodeType)
  866. while (n = o[i++]) r = b.propFix[n] || n, J.test(n) ? !Q && G.test(n) ? e[b.camelCase(
  867. "default-" + n)] = e[r] = !1 : e[r] = !1 : b.attr(e, n, ""), e.removeAttribute(
  868. Q ? n : r)
  869. },
  870. attrHooks: {
  871. type: {
  872. set: function (e, t) {
  873. if (!b.support.radioValue && "radio" === t && b.nodeName(e, "input")) {
  874. var n = e.value;
  875. return e.setAttribute("type", t), n && (e.value = n), t
  876. }
  877. }
  878. }
  879. },
  880. propFix: {
  881. tabindex: "tabIndex",
  882. readonly: "readOnly",
  883. "for": "htmlFor",
  884. "class": "className",
  885. maxlength: "maxLength",
  886. cellspacing: "cellSpacing",
  887. cellpadding: "cellPadding",
  888. rowspan: "rowSpan",
  889. colspan: "colSpan",
  890. usemap: "useMap",
  891. frameborder: "frameBorder",
  892. contenteditable: "contentEditable"
  893. },
  894. prop: function (e, n, r) {
  895. var i, o, a, s = e.nodeType;
  896. if (e && 3 !== s && 8 !== s && 2 !== s) return a = 1 !== s || !b.isXMLDoc(e), a && (n = b.propFix[
  897. n] || n, o = b.propHooks[n]), r !== t ? o && "set" in o && (i = o.set(e, r, n)) !==
  898. t ? i : e[n] = r : o && "get" in o && null !== (i = o.get(e, n)) ? i : e[n]
  899. },
  900. propHooks: {
  901. tabIndex: {
  902. get: function (e) {
  903. var n = e.getAttributeNode("tabindex");
  904. return n && n.specified ? parseInt(n.value, 10) : V.test(e.nodeName) || Y.test(e.nodeName) &&
  905. e.href ? 0 : t
  906. }
  907. }
  908. }
  909. }), z = {
  910. get: function (e, n) {
  911. var r = b.prop(e, n),
  912. i = "boolean" == typeof r && e.getAttribute(n),
  913. o = "boolean" == typeof r ? K && Q ? null != i : G.test(n) ? e[b.camelCase("default-" + n)] :
  914. !!i : e.getAttributeNode(n);
  915. return o && o.value !== !1 ? n.toLowerCase() : t
  916. },
  917. set: function (e, t, n) {
  918. return t === !1 ? b.removeAttr(e, n) : K && Q || !G.test(n) ? e.setAttribute(!Q && b.propFix[n] ||
  919. n, n) : e[b.camelCase("default-" + n)] = e[n] = !0, n
  920. }
  921. }, K && Q || (b.attrHooks.value = {
  922. get: function (e, n) {
  923. var r = e.getAttributeNode(n);
  924. return b.nodeName(e, "input") ? e.defaultValue : r && r.specified ? r.value : t
  925. },
  926. set: function (e, n, r) {
  927. return b.nodeName(e, "input") ? (e.defaultValue = n, t) : I && I.set(e, n, r)
  928. }
  929. }), Q || (I = b.valHooks.button = {
  930. get: function (e, n) {
  931. var r = e.getAttributeNode(n);
  932. return r && ("id" === n || "name" === n || "coords" === n ? "" !== r.value : r.specified) ?
  933. r.value : t
  934. },
  935. set: function (e, n, r) {
  936. var i = e.getAttributeNode(r);
  937. return i || e.setAttributeNode(i = e.ownerDocument.createAttribute(r)), i.value = n += "",
  938. "value" === r || n === e.getAttribute(r) ? n : t
  939. }
  940. }, b.attrHooks.contenteditable = {
  941. get: I.get,
  942. set: function (e, t, n) {
  943. I.set(e, "" === t ? !1 : t, n)
  944. }
  945. }, b.each(["width", "height"], function (e, n) {
  946. b.attrHooks[n] = b.extend(b.attrHooks[n], {
  947. set: function (e, r) {
  948. return "" === r ? (e.setAttribute(n, "auto"), r) : t
  949. }
  950. })
  951. })), b.support.hrefNormalized || (b.each(["href", "src", "width", "height"], function (e, n) {
  952. b.attrHooks[n] = b.extend(b.attrHooks[n], {
  953. get: function (e) {
  954. var r = e.getAttribute(n, 2);
  955. return null == r ? t : r
  956. }
  957. })
  958. }), b.each(["href", "src"], function (e, t) {
  959. b.propHooks[t] = {
  960. get: function (e) {
  961. return e.getAttribute(t, 4)
  962. }
  963. }
  964. })), b.support.style || (b.attrHooks.style = {
  965. get: function (e) {
  966. return e.style.cssText || t
  967. },
  968. set: function (e, t) {
  969. return e.style.cssText = t + ""
  970. }
  971. }), b.support.optSelected || (b.propHooks.selected = b.extend(b.propHooks.selected, {
  972. get: function (e) {
  973. var t = e.parentNode;
  974. return t && (t.selectedIndex, t.parentNode && t.parentNode.selectedIndex), null
  975. }
  976. })), b.support.enctype || (b.propFix.enctype = "encoding"), b.support.checkOn || b.each(["radio",
  977. "checkbox"], function () {
  978. b.valHooks[this] = {
  979. get: function (e) {
  980. return null === e.getAttribute("value") ? "on" : e.value
  981. }
  982. }
  983. }), b.each(["radio", "checkbox"], function () {
  984. b.valHooks[this] = b.extend(b.valHooks[this], {
  985. set: function (e, n) {
  986. return b.isArray(n) ? e.checked = b.inArray(b(e).val(), n) >= 0 : t
  987. }
  988. })
  989. });
  990. var Z = /^(?:input|select|textarea)$/i,
  991. et = /^key/,
  992. tt = /^(?:mouse|contextmenu)|click/,
  993. nt = /^(?:focusinfocus|focusoutblur)$/,
  994. rt = /^([^.]*)(?:\.(.+)|)$/;
  995. function it() {
  996. return !0
  997. }
  998. function ot() {
  999. return !1
  1000. }
  1001. b.event = {
  1002. global: {},
  1003. add: function (e, n, r, o, a) {
  1004. var s, u, l, c, p, f, d, h, g, m, y, v = b._data(e);
  1005. if (v) {
  1006. r.handler && (c = r, r = c.handler, a = c.selector), r.guid || (r.guid = b.guid++), (u = v.events) ||
  1007. (u = v.events = {}), (f = v.handle) || (f = v.handle = function (e) {
  1008. return typeof b === i || e && b.event.triggered === e.type ? t : b.event.dispatch
  1009. .apply(f.elem, arguments)
  1010. }, f.elem = e), n = (n || "").match(w) || [""], l = n.length;
  1011. while (l--) s = rt.exec(n[l]) || [], g = y = s[1], m = (s[2] || "").split(".").sort(), p =
  1012. b.event.special[g] || {}, g = (a ? p.delegateType : p.bindType) || g, p = b.event.special[
  1013. g] || {}, d = b.extend({
  1014. type: g,
  1015. origType: y,
  1016. data: o,
  1017. handler: r,
  1018. guid: r.guid,
  1019. selector: a,
  1020. needsContext: a && b.expr.match.needsContext.test(a),
  1021. namespace: m.join(".")
  1022. }, c), (h = u[g]) || (h = u[g] = [], h.delegateCount = 0, p.setup && p.setup.call(e, o,
  1023. m, f) !== !1 || (e.addEventListener ? e.addEventListener(g, f, !1) : e.attachEvent &&
  1024. e.attachEvent("on" + g, f))), p.add && (p.add.call(e, d), d.handler.guid || (d.handler
  1025. .guid = r.guid)), a ? h.splice(h.delegateCount++, 0, d) : h.push(d), b.event.global[
  1026. g] = !0;
  1027. e = null
  1028. }
  1029. },
  1030. remove: function (e, t, n, r, i) {
  1031. var o, a, s, u, l, c, p, f, d, h, g, m = b.hasData(e) && b._data(e);
  1032. if (m && (c = m.events)) {
  1033. t = (t || "").match(w) || [""], l = t.length;
  1034. while (l--)
  1035. if (s = rt.exec(t[l]) || [], d = g = s[1], h = (s[2] || "").split(".").sort(), d) {
  1036. p = b.event.special[d] || {}, d = (r ? p.delegateType : p.bindType) || d, f = c[d] ||
  1037. [], s = s[2] && RegExp("(^|\\.)" + h.join("\\.(?:.*\\.|)") + "(\\.|$)"), u = o =
  1038. f.length;
  1039. while (o--) a = f[o], !i && g !== a.origType || n && n.guid !== a.guid || s && !s.test(
  1040. a.namespace) || r && r !== a.selector && ("**" !== r || !a.selector) || (f.splice(
  1041. o, 1), a.selector && f.delegateCount--, p.remove && p.remove.call(e, a));
  1042. u && !f.length && (p.teardown && p.teardown.call(e, h, m.handle) !== !1 || b.removeEvent(
  1043. e, d, m.handle), delete c[d])
  1044. } else
  1045. for (d in c) b.event.remove(e, d + t[l], n, r, !0);
  1046. b.isEmptyObject(c) && (delete m.handle, b._removeData(e, "events"))
  1047. }
  1048. },
  1049. trigger: function (n, r, i, a) {
  1050. var s, u, l, c, p, f, d, h = [i || o],
  1051. g = y.call(n, "type") ? n.type : n,
  1052. m = y.call(n, "namespace") ? n.namespace.split(".") : [];
  1053. if (l = f = i = i || o, 3 !== i.nodeType && 8 !== i.nodeType && !nt.test(g + b.event.triggered) &&
  1054. (g.indexOf(".") >= 0 && (m = g.split("."), g = m.shift(), m.sort()), u = 0 > g.indexOf(":") &&
  1055. "on" + g, n = n[b.expando] ? n : new b.Event(g, "object" == typeof n && n), n.isTrigger = !
  1056. 0, n.namespace = m.join("."), n.namespace_re = n.namespace ? RegExp("(^|\\.)" + m.join(
  1057. "\\.(?:.*\\.|)") + "(\\.|$)") : null, n.result = t, n.target || (n.target = i), r =
  1058. null == r ? [n] : b.makeArray(r, [n]), p = b.event.special[g] || {}, a || !p.trigger ||
  1059. p.trigger.apply(i, r) !== !1)) {
  1060. if (!a && !p.noBubble && !b.isWindow(i)) {
  1061. for (c = p.delegateType || g, nt.test(c + g) || (l = l.parentNode); l; l = l.parentNode)
  1062. h.push(l), f = l;
  1063. f === (i.ownerDocument || o) && h.push(f.defaultView || f.parentWindow || e)
  1064. }
  1065. d = 0;
  1066. while ((l = h[d++]) && !n.isPropagationStopped()) n.type = d > 1 ? c : p.bindType || g, s =
  1067. (b._data(l, "events") || {})[n.type] && b._data(l, "handle"), s && s.apply(l, r), s = u &&
  1068. l[u], s && b.acceptData(l) && s.apply && s.apply(l, r) === !1 && n.preventDefault();
  1069. if (n.type = g, !(a || n.isDefaultPrevented() || p._default && p._default.apply(i.ownerDocument,
  1070. r) !== !1 || "click" === g && b.nodeName(i, "a") || !b.acceptData(i) || !u || !
  1071. i[g] || b.isWindow(i))) {
  1072. f = i[u], f && (i[u] = null), b.event.triggered = g;
  1073. try {
  1074. i[g]()
  1075. } catch (v) {}
  1076. b.event.triggered = t, f && (i[u] = f)
  1077. }
  1078. return n.result
  1079. }
  1080. },
  1081. dispatch: function (e) {
  1082. e = b.event.fix(e);
  1083. var n, r, i, o, a, s = [],
  1084. u = h.call(arguments),
  1085. l = (b._data(this, "events") || {})[e.type] || [],
  1086. c = b.event.special[e.type] || {};
  1087. if (u[0] = e, e.delegateTarget = this, !c.preDispatch || c.preDispatch.call(this, e) !== !1) {
  1088. s = b.event.handlers.call(this, e, l), n = 0;
  1089. while ((o = s[n++]) && !e.isPropagationStopped()) {
  1090. e.currentTarget = o.elem, a = 0;
  1091. while ((i = o.handlers[a++]) && !e.isImmediatePropagationStopped())(!e.namespace_re ||
  1092. e.namespace_re.test(i.namespace)) && (e.handleObj = i, e.data = i.data, r = ((b
  1093. .event.special[i.origType] || {}).handle || i.handler).apply(o.elem, u), r !==
  1094. t && (e.result = r) === !1 && (e.preventDefault(), e.stopPropagation()))
  1095. }
  1096. return c.postDispatch && c.postDispatch.call(this, e), e.result
  1097. }
  1098. },
  1099. handlers: function (e, n) {
  1100. var r, i, o, a, s = [],
  1101. u = n.delegateCount,
  1102. l = e.target;
  1103. if (u && l.nodeType && (!e.button || "click" !== e.type))
  1104. for (; l != this; l = l.parentNode || this)
  1105. if (1 === l.nodeType && (l.disabled !== !0 || "click" !== e.type)) {
  1106. for (o = [], a = 0; u > a; a++) i = n[a], r = i.selector + " ", o[r] === t && (o[r] =
  1107. i.needsContext ? b(r, this).index(l) >= 0 : b.find(r, this, null, [l]).length
  1108. ), o[r] && o.push(i);
  1109. o.length && s.push({
  1110. elem: l,
  1111. handlers: o
  1112. })
  1113. } return n.length > u && s.push({
  1114. elem: this,
  1115. handlers: n.slice(u)
  1116. }), s
  1117. },
  1118. fix: function (e) {
  1119. if (e[b.expando]) return e;
  1120. var t, n, r, i = e.type,
  1121. a = e,
  1122. s = this.fixHooks[i];
  1123. s || (this.fixHooks[i] = s = tt.test(i) ? this.mouseHooks : et.test(i) ? this.keyHooks : {}), r =
  1124. s.props ? this.props.concat(s.props) : this.props, e = new b.Event(a), t = r.length;
  1125. while (t--) n = r[t], e[n] = a[n];
  1126. return e.target || (e.target = a.srcElement || o), 3 === e.target.nodeType && (e.target = e.target
  1127. .parentNode), e.metaKey = !!e.metaKey, s.filter ? s.filter(e, a) : e
  1128. },
  1129. props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which"
  1130. .split(" "),
  1131. fixHooks: {},
  1132. keyHooks: {
  1133. props: "char charCode key keyCode".split(" "),
  1134. filter: function (e, t) {
  1135. return null == e.which && (e.which = null != t.charCode ? t.charCode : t.keyCode), e
  1136. }
  1137. },
  1138. mouseHooks: {
  1139. props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement"
  1140. .split(" "),
  1141. filter: function (e, n) {
  1142. var r, i, a, s = n.button,
  1143. u = n.fromElement;
  1144. return null == e.pageX && null != n.clientX && (i = e.target.ownerDocument || o, a = i.documentElement,
  1145. r = i.body, e.pageX = n.clientX + (a && a.scrollLeft || r && r.scrollLeft || 0) - (
  1146. a && a.clientLeft || r && r.clientLeft || 0), e.pageY = n.clientY + (a && a.scrollTop ||
  1147. r && r.scrollTop || 0) - (a && a.clientTop || r && r.clientTop || 0)), !e.relatedTarget &&
  1148. u && (e.relatedTarget = u === e.target ? n.toElement : u), e.which || s === t || (e.which =
  1149. 1 & s ? 1 : 2 & s ? 3 : 4 & s ? 2 : 0), e
  1150. }
  1151. },
  1152. special: {
  1153. load: {
  1154. noBubble: !0
  1155. },
  1156. click: {
  1157. trigger: function () {
  1158. return b.nodeName(this, "input") && "checkbox" === this.type && this.click ? (this.click(),
  1159. !1) : t
  1160. }
  1161. },
  1162. focus: {
  1163. trigger: function () {
  1164. if (this !== o.activeElement && this.focus) try {
  1165. return this.focus(), !1
  1166. } catch (e) {}
  1167. },
  1168. delegateType: "focusin"
  1169. },
  1170. blur: {
  1171. trigger: function () {
  1172. return this === o.activeElement && this.blur ? (this.blur(), !1) : t
  1173. },
  1174. delegateType: "focusout"
  1175. },
  1176. beforeunload: {
  1177. postDispatch: function (e) {
  1178. e.result !== t && (e.originalEvent.returnValue = e.result)
  1179. }
  1180. }
  1181. },
  1182. simulate: function (e, t, n, r) {
  1183. var i = b.extend(new b.Event, n, {
  1184. type: e,
  1185. isSimulated: !0,
  1186. originalEvent: {}
  1187. });
  1188. r ? b.event.trigger(i, null, t) : b.event.dispatch.call(t, i), i.isDefaultPrevented() && n.preventDefault()
  1189. }
  1190. }, b.removeEvent = o.removeEventListener ? function (e, t, n) {
  1191. e.removeEventListener && e.removeEventListener(t, n, !1)
  1192. } : function (e, t, n) {
  1193. var r = "on" + t;
  1194. e.detachEvent && (typeof e[r] === i && (e[r] = null), e.detachEvent(r, n))
  1195. }, b.Event = function (e, n) {
  1196. return this instanceof b.Event ? (e && e.type ? (this.originalEvent = e, this.type = e.type, this.isDefaultPrevented =
  1197. e.defaultPrevented || e.returnValue === !1 || e.getPreventDefault && e.getPreventDefault() ?
  1198. it : ot) : this.type = e, n && b.extend(this, n), this.timeStamp = e && e.timeStamp || b.now(),
  1199. this[b.expando] = !0, t) : new b.Event(e, n)
  1200. }, b.Event.prototype = {
  1201. isDefaultPrevented: ot,
  1202. isPropagationStopped: ot,
  1203. isImmediatePropagationStopped: ot,
  1204. preventDefault: function () {
  1205. var e = this.originalEvent;
  1206. this.isDefaultPrevented = it, e && (e.preventDefault ? e.preventDefault() : e.returnValue = !1)
  1207. },
  1208. stopPropagation: function () {
  1209. var e = this.originalEvent;
  1210. this.isPropagationStopped = it, e && (e.stopPropagation && e.stopPropagation(), e.cancelBubble = !
  1211. 0)
  1212. },
  1213. stopImmediatePropagation: function () {
  1214. this.isImmediatePropagationStopped = it, this.stopPropagation()
  1215. }
  1216. }, b.each({
  1217. mouseenter: "mouseover",
  1218. mouseleave: "mouseout"
  1219. }, function (e, t) {
  1220. b.event.special[e] = {
  1221. delegateType: t,
  1222. bindType: t,
  1223. handle: function (e) {
  1224. var n, r = this,
  1225. i = e.relatedTarget,
  1226. o = e.handleObj;
  1227. return (!i || i !== r && !b.contains(r, i)) && (e.type = o.origType, n = o.handler.apply(
  1228. this, arguments), e.type = t), n
  1229. }
  1230. }
  1231. }), b.support.submitBubbles || (b.event.special.submit = {
  1232. setup: function () {
  1233. return b.nodeName(this, "form") ? !1 : (b.event.add(this, "click._submit keypress._submit",
  1234. function (e) {
  1235. var n = e.target,
  1236. r = b.nodeName(n, "input") || b.nodeName(n, "button") ? n.form : t;
  1237. r && !b._data(r, "submitBubbles") && (b.event.add(r, "submit._submit",
  1238. function (e) {
  1239. e._submit_bubble = !0
  1240. }), b._data(r, "submitBubbles", !0))
  1241. }), t)
  1242. },
  1243. postDispatch: function (e) {
  1244. e._submit_bubble && (delete e._submit_bubble, this.parentNode && !e.isTrigger && b.event.simulate(
  1245. "submit", this.parentNode, e, !0))
  1246. },
  1247. teardown: function () {
  1248. return b.nodeName(this, "form") ? !1 : (b.event.remove(this, "._submit"), t)
  1249. }
  1250. }), b.support.changeBubbles || (b.event.special.change = {
  1251. setup: function () {
  1252. return Z.test(this.nodeName) ? (("checkbox" === this.type || "radio" === this.type) && (b.event
  1253. .add(this, "propertychange._change", function (e) {
  1254. "checked" === e.originalEvent.propertyName && (this._just_changed = !0)
  1255. }), b.event.add(this, "click._change", function (e) {
  1256. this._just_changed && !e.isTrigger && (this._just_changed = !1), b.event
  1257. .simulate("change", this, e, !0)
  1258. })), !1) : (b.event.add(this, "beforeactivate._change", function (e) {
  1259. var t = e.target;
  1260. Z.test(t.nodeName) && !b._data(t, "changeBubbles") && (b.event.add(t,
  1261. "change._change",
  1262. function (e) {
  1263. !this.parentNode || e.isSimulated || e.isTrigger || b.event
  1264. .simulate("change", this.parentNode, e, !0)
  1265. }), b._data(t, "changeBubbles", !0))
  1266. }), t)
  1267. },
  1268. handle: function (e) {
  1269. var n = e.target;
  1270. return this !== n || e.isSimulated || e.isTrigger || "radio" !== n.type && "checkbox" !==
  1271. n.type ? e.handleObj.handler.apply(this, arguments) : t
  1272. },
  1273. teardown: function () {
  1274. return b.event.remove(this, "._change"), !Z.test(this.nodeName)
  1275. }
  1276. }), b.support.focusinBubbles || b.each({
  1277. focus: "focusin",
  1278. blur: "focusout"
  1279. }, function (e, t) {
  1280. var n = 0,
  1281. r = function (e) {
  1282. b.event.simulate(t, e.target, b.event.fix(e), !0)
  1283. };
  1284. b.event.special[t] = {
  1285. setup: function () {
  1286. 0 === n++ && o.addEventListener(e, r, !0)
  1287. },
  1288. teardown: function () {
  1289. 0 === --n && o.removeEventListener(e, r, !0)
  1290. }
  1291. }
  1292. }), b.fn.extend({
  1293. on: function (e, n, r, i, o) {
  1294. var a, s;
  1295. if ("object" == typeof e) {
  1296. "string" != typeof n && (r = r || n, n = t);
  1297. for (a in e) this.on(a, n, r, e[a], o);
  1298. return this
  1299. }
  1300. if (null == r && null == i ? (i = n, r = n = t) : null == i && ("string" == typeof n ? (i =
  1301. r, r = t) : (i = r, r = n, n = t)), i === !1) i = ot;
  1302. else if (!i) return this;
  1303. return 1 === o && (s = i, i = function (e) {
  1304. return b().off(e), s.apply(this, arguments)
  1305. }, i.guid = s.guid || (s.guid = b.guid++)), this.each(function () {
  1306. b.event.add(this, e, i, r, n)
  1307. })
  1308. },
  1309. one: function (e, t, n, r) {
  1310. return this.on(e, t, n, r, 1)
  1311. },
  1312. off: function (e, n, r) {
  1313. var i, o;
  1314. if (e && e.preventDefault && e.handleObj) return i = e.handleObj, b(e.delegateTarget).off(i
  1315. .namespace ? i.origType + "." + i.namespace : i.origType, i.selector, i.handler
  1316. ), this;
  1317. if ("object" == typeof e) {
  1318. for (o in e) this.off(o, n, e[o]);
  1319. return this
  1320. }
  1321. return (n === !1 || "function" == typeof n) && (r = n, n = t), r === !1 && (r = ot), this.each(
  1322. function () {
  1323. b.event.remove(this, e, r, n)
  1324. })
  1325. },
  1326. bind: function (e, t, n) {
  1327. return this.on(e, null, t, n)
  1328. },
  1329. unbind: function (e, t) {
  1330. return this.off(e, null, t)
  1331. },
  1332. delegate: function (e, t, n, r) {
  1333. return this.on(t, e, n, r)
  1334. },
  1335. undelegate: function (e, t, n) {
  1336. return 1 === arguments.length ? this.off(e, "**") : this.off(t, e || "**", n)
  1337. },
  1338. trigger: function (e, t) {
  1339. return this.each(function () {
  1340. b.event.trigger(e, t, this)
  1341. })
  1342. },
  1343. triggerHandler: function (e, n) {
  1344. var r = this[0];
  1345. return r ? b.event.trigger(e, n, r, !0) : t
  1346. }
  1347. }),
  1348. function (e, t) {
  1349. var n, r, i, o, a, s, u, l, c, p, f, d, h, g, m, y, v, x = "sizzle" + -new Date,
  1350. w = e.document,
  1351. T = {},
  1352. N = 0,
  1353. C = 0,
  1354. k = it(),
  1355. E = it(),
  1356. S = it(),
  1357. A = typeof t,
  1358. j = 1 << 31,
  1359. D = [],
  1360. L = D.pop,
  1361. H = D.push,
  1362. q = D.slice,
  1363. M = D.indexOf || function (e) {
  1364. var t = 0,
  1365. n = this.length;
  1366. for (; n > t; t++)
  1367. if (this[t] === e) return t;
  1368. return -1
  1369. },
  1370. _ = "[\\x20\\t\\r\\n\\f]",
  1371. F = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",
  1372. O = F.replace("w", "w#"),
  1373. B = "([*^$|!~]?=)",
  1374. P = "\\[" + _ + "*(" + F + ")" + _ + "*(?:" + B + _ + "*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + O +
  1375. ")|)|)" + _ + "*\\]",
  1376. R = ":(" + F + ")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + P.replace(3, 8) +
  1377. ")*)|.*)\\)|)",
  1378. W = RegExp("^" + _ + "+|((?:^|[^\\\\])(?:\\\\.)*)" + _ + "+$", "g"),
  1379. $ = RegExp("^" + _ + "*," + _ + "*"),
  1380. I = RegExp("^" + _ + "*([\\x20\\t\\r\\n\\f>+~])" + _ + "*"),
  1381. z = RegExp(R),
  1382. X = RegExp("^" + O + "$"),
  1383. U = {
  1384. ID: RegExp("^#(" + F + ")"),
  1385. CLASS: RegExp("^\\.(" + F + ")"),
  1386. NAME: RegExp("^\\[name=['\"]?(" + F + ")['\"]?\\]"),
  1387. TAG: RegExp("^(" + F.replace("w", "w*") + ")"),
  1388. ATTR: RegExp("^" + P),
  1389. PSEUDO: RegExp("^" + R),
  1390. CHILD: RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\(" + _ +
  1391. "*(even|odd|(([+-]|)(\\d*)n|)" + _ + "*(?:([+-]|)" + _ + "*(\\d+)|))" + _ + "*\\)|)",
  1392. "i"),
  1393. needsContext: RegExp("^" + _ + "*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\(" + _ +
  1394. "*((?:-\\d)?\\d*)" + _ + "*\\)|)(?=[^-]|$)", "i")
  1395. },
  1396. V = /[\x20\t\r\n\f]*[+~]/,
  1397. Y = /^[^{]+\{\s*\[native code/,
  1398. J = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
  1399. G = /^(?:input|select|textarea|button)$/i,
  1400. Q = /^h\d$/i,
  1401. K = /'|\\/g,
  1402. Z = /\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,
  1403. et = /\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,
  1404. tt = function (e, t) {
  1405. var n = "0x" + t - 65536;
  1406. return n !== n ? t : 0 > n ? String.fromCharCode(n + 65536) : String.fromCharCode(55296 | n >>
  1407. 10, 56320 | 1023 & n)
  1408. };
  1409. try {
  1410. q.call(w.documentElement.childNodes, 0)[0].nodeType
  1411. } catch (nt) {
  1412. q = function (e) {
  1413. var t, n = [];
  1414. while (t = this[e++]) n.push(t);
  1415. return n
  1416. }
  1417. }
  1418. function rt(e) {
  1419. return Y.test(e + "")
  1420. }
  1421. function it() {
  1422. var e, t = [];
  1423. return e = function (n, r) {
  1424. return t.push(n += " ") > i.cacheLength && delete e[t.shift()], e[n] = r
  1425. }
  1426. }
  1427. function ot(e) {
  1428. return e[x] = !0, e
  1429. }
  1430. function at(e) {
  1431. var t = p.createElement("div");
  1432. try {
  1433. return e(t)
  1434. } catch (n) {
  1435. return !1
  1436. } finally {
  1437. t = null
  1438. }
  1439. }
  1440. function st(e, t, n, r) {
  1441. var i, o, a, s, u, l, f, g, m, v;
  1442. if ((t ? t.ownerDocument || t : w) !== p && c(t), t = t || p, n = n || [], !e || "string" != typeof e)
  1443. return n;
  1444. if (1 !== (s = t.nodeType) && 9 !== s) return [];
  1445. if (!d && !r) {
  1446. if (i = J.exec(e))
  1447. if (a = i[1]) {
  1448. if (9 === s) {
  1449. if (o = t.getElementById(a), !o || !o.parentNode) return n;
  1450. if (o.id === a) return n.push(o), n
  1451. } else if (t.ownerDocument && (o = t.ownerDocument.getElementById(a)) && y(t, o) && o.id ===
  1452. a) return n.push(o), n
  1453. } else {
  1454. if (i[2]) return H.apply(n, q.call(t.getElementsByTagName(e), 0)), n;
  1455. if ((a = i[3]) && T.getByClassName && t.getElementsByClassName) return H.apply(n, q.call(
  1456. t.getElementsByClassName(a), 0)), n
  1457. } if (T.qsa && !h.test(e)) {
  1458. if (f = !0, g = x, m = t, v = 9 === s && e, 1 === s && "object" !== t.nodeName.toLowerCase()) {
  1459. l = ft(e), (f = t.getAttribute("id")) ? g = f.replace(K, "\\$&") : t.setAttribute("id",
  1460. g), g = "[id='" + g + "'] ", u = l.length;
  1461. while (u--) l[u] = g + dt(l[u]);
  1462. m = V.test(e) && t.parentNode || t, v = l.join(",")
  1463. }
  1464. if (v) try {
  1465. return H.apply(n, q.call(m.querySelectorAll(v), 0)), n
  1466. } catch (b) {} finally {
  1467. f || t.removeAttribute("id")
  1468. }
  1469. }
  1470. }
  1471. return wt(e.replace(W, "$1"), t, n, r)
  1472. }
  1473. a = st.isXML = function (e) {
  1474. var t = e && (e.ownerDocument || e).documentElement;
  1475. return t ? "HTML" !== t.nodeName : !1
  1476. }, c = st.setDocument = function (e) {
  1477. var n = e ? e.ownerDocument || e : w;
  1478. return n !== p && 9 === n.nodeType && n.documentElement ? (p = n, f = n.documentElement, d = a(
  1479. n), T.tagNameNoComments = at(function (e) {
  1480. return e.appendChild(n.createComment("")), !e.getElementsByTagName("*").length
  1481. }), T.attributes = at(function (e) {
  1482. e.innerHTML = "<select></select>";
  1483. var t = typeof e.lastChild.getAttribute("multiple");
  1484. return "boolean" !== t && "string" !== t
  1485. }), T.getByClassName = at(function (e) {
  1486. return e.innerHTML = "<div class='hidden e'></div><div class='hidden'></div>",
  1487. e.getElementsByClassName && e.getElementsByClassName("e").length ? (e.lastChild
  1488. .className = "e", 2 === e.getElementsByClassName("e").length) : !1
  1489. }), T.getByName = at(function (e) {
  1490. e.id = x + 0, e.innerHTML = "<a name='" + x + "'></a><div name='" + x +
  1491. "'></div>", f.insertBefore(e, f.firstChild);
  1492. var t = n.getElementsByName && n.getElementsByName(x).length === 2 + n.getElementsByName(
  1493. x + 0).length;
  1494. return T.getIdNotName = !n.getElementById(x), f.removeChild(e), t
  1495. }), i.attrHandle = at(function (e) {
  1496. return e.innerHTML = "<a href='#'></a>", e.firstChild && typeof e.firstChild.getAttribute !==
  1497. A && "#" === e.firstChild.getAttribute("href")
  1498. }) ? {} : {
  1499. href: function (e) {
  1500. return e.getAttribute("href", 2)
  1501. },
  1502. type: function (e) {
  1503. return e.getAttribute("type")
  1504. }
  1505. }, T.getIdNotName ? (i.find.ID = function (e, t) {
  1506. if (typeof t.getElementById !== A && !d) {
  1507. var n = t.getElementById(e);
  1508. return n && n.parentNode ? [n] : []
  1509. }
  1510. }, i.filter.ID = function (e) {
  1511. var t = e.replace(et, tt);
  1512. return function (e) {
  1513. return e.getAttribute("id") === t
  1514. }
  1515. }) : (i.find.ID = function (e, n) {
  1516. if (typeof n.getElementById !== A && !d) {
  1517. var r = n.getElementById(e);
  1518. return r ? r.id === e || typeof r.getAttributeNode !== A && r.getAttributeNode(
  1519. "id").value === e ? [r] : t : []
  1520. }
  1521. }, i.filter.ID = function (e) {
  1522. var t = e.replace(et, tt);
  1523. return function (e) {
  1524. var n = typeof e.getAttributeNode !== A && e.getAttributeNode("id");
  1525. return n && n.value === t
  1526. }
  1527. }), i.find.TAG = T.tagNameNoComments ? function (e, n) {
  1528. return typeof n.getElementsByTagName !== A ? n.getElementsByTagName(e) : t
  1529. } : function (e, t) {
  1530. var n, r = [],
  1531. i = 0,
  1532. o = t.getElementsByTagName(e);
  1533. if ("*" === e) {
  1534. while (n = o[i++]) 1 === n.nodeType && r.push(n);
  1535. return r
  1536. }
  1537. return o
  1538. }, i.find.NAME = T.getByName && function (e, n) {
  1539. return typeof n.getElementsByName !== A ? n.getElementsByName(name) : t
  1540. }, i.find.CLASS = T.getByClassName && function (e, n) {
  1541. return typeof n.getElementsByClassName === A || d ? t : n.getElementsByClassName(e)
  1542. }, g = [], h = [":focus"], (T.qsa = rt(n.querySelectorAll)) && (at(function (e) {
  1543. e.innerHTML = "<select><option selected=''></option></select>", e.querySelectorAll(
  1544. "[selected]").length || h.push("\\[" + _ +
  1545. "*(?:checked|disabled|ismap|multiple|readonly|selected|value)"), e.querySelectorAll(
  1546. ":checked").length || h.push(":checked")
  1547. }), at(function (e) {
  1548. e.innerHTML = "<input type='hidden' i=''/>", e.querySelectorAll("[i^='']").length &&
  1549. h.push("[*^$]=" + _ + "*(?:\"\"|'')"), e.querySelectorAll(":enabled").length ||
  1550. h.push(":enabled", ":disabled"), e.querySelectorAll("*,:x"), h.push(
  1551. ",.*:")
  1552. })), (T.matchesSelector = rt(m = f.matchesSelector || f.mozMatchesSelector || f.webkitMatchesSelector ||
  1553. f.oMatchesSelector || f.msMatchesSelector)) && at(function (e) {
  1554. T.disconnectedMatch = m.call(e, "div"), m.call(e, "[s!='']:x"), g.push("!=", R)
  1555. }), h = RegExp(h.join("|")), g = RegExp(g.join("|")), y = rt(f.contains) || f.compareDocumentPosition ?
  1556. function (e, t) {
  1557. var n = 9 === e.nodeType ? e.documentElement : e,
  1558. r = t && t.parentNode;
  1559. return e === r || !(!r || 1 !== r.nodeType || !(n.contains ? n.contains(r) : e.compareDocumentPosition &&
  1560. 16 & e.compareDocumentPosition(r)))
  1561. } : function (e, t) {
  1562. if (t)
  1563. while (t = t.parentNode)
  1564. if (t === e) return !0;
  1565. return !1
  1566. }, v = f.compareDocumentPosition ? function (e, t) {
  1567. var r;
  1568. return e === t ? (u = !0, 0) : (r = t.compareDocumentPosition && e.compareDocumentPosition &&
  1569. e.compareDocumentPosition(t)) ? 1 & r || e.parentNode && 11 === e.parentNode
  1570. .nodeType ? e === n || y(w, e) ? -1 : t === n || y(w, t) ? 1 : 0 : 4 & r ? -1 :
  1571. 1 : e.compareDocumentPosition ? -1 : 1
  1572. } : function (e, t) {
  1573. var r, i = 0,
  1574. o = e.parentNode,
  1575. a = t.parentNode,
  1576. s = [e],
  1577. l = [t];
  1578. if (e === t) return u = !0, 0;
  1579. if (!o || !a) return e === n ? -1 : t === n ? 1 : o ? -1 : a ? 1 : 0;
  1580. if (o === a) return ut(e, t);
  1581. r = e;
  1582. while (r = r.parentNode) s.unshift(r);
  1583. r = t;
  1584. while (r = r.parentNode) l.unshift(r);
  1585. while (s[i] === l[i]) i++;
  1586. return i ? ut(s[i], l[i]) : s[i] === w ? -1 : l[i] === w ? 1 : 0
  1587. }, u = !1, [0, 0].sort(v), T.detectDuplicates = u, p) : p
  1588. }, st.matches = function (e, t) {
  1589. return st(e, null, null, t)
  1590. }, st.matchesSelector = function (e, t) {
  1591. if ((e.ownerDocument || e) !== p && c(e), t = t.replace(Z, "='$1']"), !(!T.matchesSelector || d ||
  1592. g && g.test(t) || h.test(t))) try {
  1593. var n = m.call(e, t);
  1594. if (n || T.disconnectedMatch || e.document && 11 !== e.document.nodeType) return n
  1595. } catch (r) {}
  1596. return st(t, p, null, [e]).length > 0
  1597. }, st.contains = function (e, t) {
  1598. return (e.ownerDocument || e) !== p && c(e), y(e, t)
  1599. }, st.attr = function (e, t) {
  1600. var n;
  1601. return (e.ownerDocument || e) !== p && c(e), d || (t = t.toLowerCase()), (n = i.attrHandle[t]) ?
  1602. n(e) : d || T.attributes ? e.getAttribute(t) : ((n = e.getAttributeNode(t)) || e.getAttribute(
  1603. t)) && e[t] === !0 ? t : n && n.specified ? n.value : null
  1604. }, st.error = function (e) {
  1605. throw Error("Syntax error, unrecognized expression: " + e)
  1606. }, st.uniqueSort = function (e) {
  1607. var t, n = [],
  1608. r = 1,
  1609. i = 0;
  1610. if (u = !T.detectDuplicates, e.sort(v), u) {
  1611. for (; t = e[r]; r++) t === e[r - 1] && (i = n.push(r));
  1612. while (i--) e.splice(n[i], 1)
  1613. }
  1614. return e
  1615. };
  1616. function ut(e, t) {
  1617. var n = t && e,
  1618. r = n && (~t.sourceIndex || j) - (~e.sourceIndex || j);
  1619. if (r) return r;
  1620. if (n)
  1621. while (n = n.nextSibling)
  1622. if (n === t) return -1;
  1623. return e ? 1 : -1
  1624. }
  1625. function lt(e) {
  1626. return function (t) {
  1627. var n = t.nodeName.toLowerCase();
  1628. return "input" === n && t.type === e
  1629. }
  1630. }
  1631. function ct(e) {
  1632. return function (t) {
  1633. var n = t.nodeName.toLowerCase();
  1634. return ("input" === n || "button" === n) && t.type === e
  1635. }
  1636. }
  1637. function pt(e) {
  1638. return ot(function (t) {
  1639. return t = +t, ot(function (n, r) {
  1640. var i, o = e([], n.length, t),
  1641. a = o.length;
  1642. while (a--) n[i = o[a]] && (n[i] = !(r[i] = n[i]))
  1643. })
  1644. })
  1645. }
  1646. o = st.getText = function (e) {
  1647. var t, n = "",
  1648. r = 0,
  1649. i = e.nodeType;
  1650. if (i) {
  1651. if (1 === i || 9 === i || 11 === i) {
  1652. if ("string" == typeof e.textContent) return e.textContent;
  1653. for (e = e.firstChild; e; e = e.nextSibling) n += o(e)
  1654. } else if (3 === i || 4 === i) return e.nodeValue
  1655. } else
  1656. for (; t = e[r]; r++) n += o(t);
  1657. return n
  1658. }, i = st.selectors = {
  1659. cacheLength: 50,
  1660. createPseudo: ot,
  1661. match: U,
  1662. find: {},
  1663. relative: {
  1664. ">": {
  1665. dir: "parentNode",
  1666. first: !0
  1667. },
  1668. " ": {
  1669. dir: "parentNode"
  1670. },
  1671. "+": {
  1672. dir: "previousSibling",
  1673. first: !0
  1674. },
  1675. "~": {
  1676. dir: "previousSibling"
  1677. }
  1678. },
  1679. preFilter: {
  1680. ATTR: function (e) {
  1681. return e[1] = e[1].replace(et, tt), e[3] = (e[4] || e[5] || "").replace(et, tt),
  1682. "~=" === e[2] && (e[3] = " " + e[3] + " "), e.slice(0, 4)
  1683. },
  1684. CHILD: function (e) {
  1685. return e[1] = e[1].toLowerCase(), "nth" === e[1].slice(0, 3) ? (e[3] || st.error(e[
  1686. 0]), e[4] = +(e[4] ? e[5] + (e[6] || 1) : 2 * ("even" === e[3] || "odd" ===
  1687. e[3])), e[5] = +(e[7] + e[8] || "odd" === e[3])) : e[3] && st.error(e[0]),
  1688. e
  1689. },
  1690. PSEUDO: function (e) {
  1691. var t, n = !e[5] && e[2];
  1692. return U.CHILD.test(e[0]) ? null : (e[4] ? e[2] = e[4] : n && z.test(n) && (t = ft(
  1693. n, !0)) && (t = n.indexOf(")", n.length - t) - n.length) && (e[0] = e[0]
  1694. .slice(0, t), e[2] = n.slice(0, t)), e.slice(0, 3))
  1695. }
  1696. },
  1697. filter: {
  1698. TAG: function (e) {
  1699. return "*" === e ? function () {
  1700. return !0
  1701. } : (e = e.replace(et, tt).toLowerCase(), function (t) {
  1702. return t.nodeName && t.nodeName.toLowerCase() === e
  1703. })
  1704. },
  1705. CLASS: function (e) {
  1706. var t = k[e + " "];
  1707. return t || (t = RegExp("(^|" + _ + ")" + e + "(" + _ + "|$)")) && k(e, function (e) {
  1708. return t.test(e.className || typeof e.getAttribute !== A && e.getAttribute(
  1709. "class") || "")
  1710. })
  1711. },
  1712. ATTR: function (e, t, n) {
  1713. return function (r) {
  1714. var i = st.attr(r, e);
  1715. return null == i ? "!=" === t : t ? (i += "", "=" === t ? i === n : "!=" ===
  1716. t ? i !== n : "^=" === t ? n && 0 === i.indexOf(n) : "*=" === t ? n &&
  1717. i.indexOf(n) > -1 : "$=" === t ? n && i.slice(-n.length) === n :
  1718. "~=" === t ? (" " + i + " ").indexOf(n) > -1 : "|=" === t ? i ===
  1719. n || i.slice(0, n.length + 1) === n + "-" : !1) : !0
  1720. }
  1721. },
  1722. CHILD: function (e, t, n, r, i) {
  1723. var o = "nth" !== e.slice(0, 3),
  1724. a = "last" !== e.slice(-4),
  1725. s = "of-type" === t;
  1726. return 1 === r && 0 === i ? function (e) {
  1727. return !!e.parentNode
  1728. } : function (t, n, u) {
  1729. var l, c, p, f, d, h, g = o !== a ? "nextSibling" : "previousSibling",
  1730. m = t.parentNode,
  1731. y = s && t.nodeName.toLowerCase(),
  1732. v = !u && !s;
  1733. if (m) {
  1734. if (o) {
  1735. while (g) {
  1736. p = t;
  1737. while (p = p[g])
  1738. if (s ? p.nodeName.toLowerCase() === y : 1 === p.nodeType)
  1739. return !1;
  1740. h = g = "only" === e && !h && "nextSibling"
  1741. }
  1742. return !0
  1743. }
  1744. if (h = [a ? m.firstChild : m.lastChild], a && v) {
  1745. c = m[x] || (m[x] = {}), l = c[e] || [], d = l[0] === N && l[1], f =
  1746. l[0] === N && l[2], p = d && m.childNodes[d];
  1747. while (p = ++d && p && p[g] || (f = d = 0) || h.pop())
  1748. if (1 === p.nodeType && ++f && p === t) {
  1749. c[e] = [N, d, f];
  1750. break
  1751. }
  1752. } else if (v && (l = (t[x] || (t[x] = {}))[e]) && l[0] === N) f = l[1];
  1753. else
  1754. while (p = ++d && p && p[g] || (f = d = 0) || h.pop())
  1755. if ((s ? p.nodeName.toLowerCase() === y : 1 === p.nodeType) &&
  1756. ++f && (v && ((p[x] || (p[x] = {}))[e] = [N, f]), p === t))
  1757. break;
  1758. return f -= i, f === r || 0 === f % r && f / r >= 0
  1759. }
  1760. }
  1761. },
  1762. PSEUDO: function (e, t) {
  1763. var n, r = i.pseudos[e] || i.setFilters[e.toLowerCase()] || st.error(
  1764. "unsupported pseudo: " + e);
  1765. return r[x] ? r(t) : r.length > 1 ? (n = [e, e, "", t], i.setFilters.hasOwnProperty(
  1766. e.toLowerCase()) ? ot(function (e, n) {
  1767. var i, o = r(e, t),
  1768. a = o.length;
  1769. while (a--) i = M.call(e, o[a]), e[i] = !(n[i] = o[a])
  1770. }) : function (e) {
  1771. return r(e, 0, n)
  1772. }) : r
  1773. }
  1774. },
  1775. pseudos: {
  1776. not: ot(function (e) {
  1777. var t = [],
  1778. n = [],
  1779. r = s(e.replace(W, "$1"));
  1780. return r[x] ? ot(function (e, t, n, i) {
  1781. var o, a = r(e, null, i, []),
  1782. s = e.length;
  1783. while (s--)(o = a[s]) && (e[s] = !(t[s] = o))
  1784. }) : function (e, i, o) {
  1785. return t[0] = e, r(t, null, o, n), !n.pop()
  1786. }
  1787. }),
  1788. has: ot(function (e) {
  1789. return function (t) {
  1790. return st(e, t).length > 0
  1791. }
  1792. }),
  1793. contains: ot(function (e) {
  1794. return function (t) {
  1795. return (t.textContent || t.innerText || o(t)).indexOf(e) > -1
  1796. }
  1797. }),
  1798. lang: ot(function (e) {
  1799. return X.test(e || "") || st.error("unsupported lang: " + e), e = e.replace(et,
  1800. tt).toLowerCase(),
  1801. function (t) {
  1802. var n;
  1803. do
  1804. if (n = d ? t.getAttribute("xml:lang") || t.getAttribute("lang") :
  1805. t.lang) return n = n.toLowerCase(), n === e || 0 === n.indexOf(
  1806. e + "-"); while ((t = t.parentNode) && 1 === t.nodeType);
  1807. return !1
  1808. }
  1809. }),
  1810. target: function (t) {
  1811. var n = e.location && e.location.hash;
  1812. return n && n.slice(1) === t.id
  1813. },
  1814. root: function (e) {
  1815. return e === f
  1816. },
  1817. focus: function (e) {
  1818. return e === p.activeElement && (!p.hasFocus || p.hasFocus()) && !!(e.type || e.href ||
  1819. ~e.tabIndex)
  1820. },
  1821. enabled: function (e) {
  1822. return e.disabled === !1
  1823. },
  1824. disabled: function (e) {
  1825. return e.disabled === !0
  1826. },
  1827. checked: function (e) {
  1828. var t = e.nodeName.toLowerCase();
  1829. return "input" === t && !!e.checked || "option" === t && !!e.selected
  1830. },
  1831. selected: function (e) {
  1832. return e.parentNode && e.parentNode.selectedIndex, e.selected === !0
  1833. },
  1834. empty: function (e) {
  1835. for (e = e.firstChild; e; e = e.nextSibling)
  1836. if (e.nodeName > "@" || 3 === e.nodeType || 4 === e.nodeType) return !1;
  1837. return !0
  1838. },
  1839. parent: function (e) {
  1840. return !i.pseudos.empty(e)
  1841. },
  1842. header: function (e) {
  1843. return Q.test(e.nodeName)
  1844. },
  1845. input: function (e) {
  1846. return G.test(e.nodeName)
  1847. },
  1848. button: function (e) {
  1849. var t = e.nodeName.toLowerCase();
  1850. return "input" === t && "button" === e.type || "button" === t
  1851. },
  1852. text: function (e) {
  1853. var t;
  1854. return "input" === e.nodeName.toLowerCase() && "text" === e.type && (null == (t = e
  1855. .getAttribute("type")) || t.toLowerCase() === e.type)
  1856. },
  1857. first: pt(function () {
  1858. return [0]
  1859. }),
  1860. last: pt(function (e, t) {
  1861. return [t - 1]
  1862. }),
  1863. eq: pt(function (e, t, n) {
  1864. return [0 > n ? n + t : n]
  1865. }),
  1866. even: pt(function (e, t) {
  1867. var n = 0;
  1868. for (; t > n; n += 2) e.push(n);
  1869. return e
  1870. }),
  1871. odd: pt(function (e, t) {
  1872. var n = 1;
  1873. for (; t > n; n += 2) e.push(n);
  1874. return e
  1875. }),
  1876. lt: pt(function (e, t, n) {
  1877. var r = 0 > n ? n + t : n;
  1878. for (; --r >= 0;) e.push(r);
  1879. return e
  1880. }),
  1881. gt: pt(function (e, t, n) {
  1882. var r = 0 > n ? n + t : n;
  1883. for (; t > ++r;) e.push(r);
  1884. return e
  1885. })
  1886. }
  1887. };
  1888. for (n in {
  1889. radio: !0,
  1890. checkbox: !0,
  1891. file: !0,
  1892. password: !0,
  1893. image: !0
  1894. }) i.pseudos[n] = lt(n);
  1895. for (n in {
  1896. submit: !0,
  1897. reset: !0
  1898. }) i.pseudos[n] = ct(n);
  1899. function ft(e, t) {
  1900. var n, r, o, a, s, u, l, c = E[e + " "];
  1901. if (c) return t ? 0 : c.slice(0);
  1902. s = e, u = [], l = i.preFilter;
  1903. while (s) {
  1904. (!n || (r = $.exec(s))) && (r && (s = s.slice(r[0].length) || s), u.push(o = [])), n = !1, (r =
  1905. I.exec(s)) && (n = r.shift(), o.push({
  1906. value: n,
  1907. type: r[0].replace(W, " ")
  1908. }), s = s.slice(n.length));
  1909. for (a in i.filter) !(r = U[a].exec(s)) || l[a] && !(r = l[a](r)) || (n = r.shift(), o.push({
  1910. value: n,
  1911. type: a,
  1912. matches: r
  1913. }), s = s.slice(n.length));
  1914. if (!n) break
  1915. }
  1916. return t ? s.length : s ? st.error(e) : E(e, u).slice(0)
  1917. }
  1918. function dt(e) {
  1919. var t = 0,
  1920. n = e.length,
  1921. r = "";
  1922. for (; n > t; t++) r += e[t].value;
  1923. return r
  1924. }
  1925. function ht(e, t, n) {
  1926. var i = t.dir,
  1927. o = n && "parentNode" === i,
  1928. a = C++;
  1929. return t.first ? function (t, n, r) {
  1930. while (t = t[i])
  1931. if (1 === t.nodeType || o) return e(t, n, r)
  1932. } : function (t, n, s) {
  1933. var u, l, c, p = N + " " + a;
  1934. if (s) {
  1935. while (t = t[i])
  1936. if ((1 === t.nodeType || o) && e(t, n, s)) return !0
  1937. } else
  1938. while (t = t[i])
  1939. if (1 === t.nodeType || o)
  1940. if (c = t[x] || (t[x] = {}), (l = c[i]) && l[0] === p) {
  1941. if ((u = l[1]) === !0 || u === r) return u === !0
  1942. } else if (l = c[i] = [p], l[1] = e(t, n, s) || r, l[1] === !0) return !0
  1943. }
  1944. }
  1945. function gt(e) {
  1946. return e.length > 1 ? function (t, n, r) {
  1947. var i = e.length;
  1948. while (i--)
  1949. if (!e[i](t, n, r)) return !1;
  1950. return !0
  1951. } : e[0]
  1952. }
  1953. function mt(e, t, n, r, i) {
  1954. var o, a = [],
  1955. s = 0,
  1956. u = e.length,
  1957. l = null != t;
  1958. for (; u > s; s++)(o = e[s]) && (!n || n(o, r, i)) && (a.push(o), l && t.push(s));
  1959. return a
  1960. }
  1961. function yt(e, t, n, r, i, o) {
  1962. return r && !r[x] && (r = yt(r)), i && !i[x] && (i = yt(i, o)), ot(function (o, a, s, u) {
  1963. var l, c, p, f = [],
  1964. d = [],
  1965. h = a.length,
  1966. g = o || xt(t || "*", s.nodeType ? [s] : s, []),
  1967. m = !e || !o && t ? g : mt(g, f, e, s, u),
  1968. y = n ? i || (o ? e : h || r) ? [] : a : m;
  1969. if (n && n(m, y, s, u), r) {
  1970. l = mt(y, d), r(l, [], s, u), c = l.length;
  1971. while (c--)(p = l[c]) && (y[d[c]] = !(m[d[c]] = p))
  1972. }
  1973. if (o) {
  1974. if (i || e) {
  1975. if (i) {
  1976. l = [], c = y.length;
  1977. while (c--)(p = y[c]) && l.push(m[c] = p);
  1978. i(null, y = [], l, u)
  1979. }
  1980. c = y.length;
  1981. while (c--)(p = y[c]) && (l = i ? M.call(o, p) : f[c]) > -1 && (o[l] = !(a[l] =
  1982. p))
  1983. }
  1984. } else y = mt(y === a ? y.splice(h, y.length) : y), i ? i(null, a, y, u) : H.apply(a, y)
  1985. })
  1986. }
  1987. function vt(e) {
  1988. var t, n, r, o = e.length,
  1989. a = i.relative[e[0].type],
  1990. s = a || i.relative[" "],
  1991. u = a ? 1 : 0,
  1992. c = ht(function (e) {
  1993. return e === t
  1994. }, s, !0),
  1995. p = ht(function (e) {
  1996. return M.call(t, e) > -1
  1997. }, s, !0),
  1998. f = [function (e, n, r) {
  1999. return !a && (r || n !== l) || ((t = n).nodeType ? c(e, n, r) : p(e, n, r))
  2000. }];
  2001. for (; o > u; u++)
  2002. if (n = i.relative[e[u].type]) f = [ht(gt(f), n)];
  2003. else {
  2004. if (n = i.filter[e[u].type].apply(null, e[u].matches), n[x]) {
  2005. for (r = ++u; o > r; r++)
  2006. if (i.relative[e[r].type]) break;
  2007. return yt(u > 1 && gt(f), u > 1 && dt(e.slice(0, u - 1)).replace(W, "$1"), n, r > u &&
  2008. vt(e.slice(u, r)), o > r && vt(e = e.slice(r)), o > r && dt(e))
  2009. }
  2010. f.push(n)
  2011. } return gt(f)
  2012. }
  2013. function bt(e, t) {
  2014. var n = 0,
  2015. o = t.length > 0,
  2016. a = e.length > 0,
  2017. s = function (s, u, c, f, d) {
  2018. var h, g, m, y = [],
  2019. v = 0,
  2020. b = "0",
  2021. x = s && [],
  2022. w = null != d,
  2023. T = l,
  2024. C = s || a && i.find.TAG("*", d && u.parentNode || u),
  2025. k = N += null == T ? 1 : Math.random() || .1;
  2026. for (w && (l = u !== p && u, r = n); null != (h = C[b]); b++) {
  2027. if (a && h) {
  2028. g = 0;
  2029. while (m = e[g++])
  2030. if (m(h, u, c)) {
  2031. f.push(h);
  2032. break
  2033. } w && (N = k, r = ++n)
  2034. }
  2035. o && ((h = !m && h) && v--, s && x.push(h))
  2036. }
  2037. if (v += b, o && b !== v) {
  2038. g = 0;
  2039. while (m = t[g++]) m(x, y, u, c);
  2040. if (s) {
  2041. if (v > 0)
  2042. while (b--) x[b] || y[b] || (y[b] = L.call(f));
  2043. y = mt(y)
  2044. }
  2045. H.apply(f, y), w && !s && y.length > 0 && v + t.length > 1 && st.uniqueSort(f)
  2046. }
  2047. return w && (N = k, l = T), x
  2048. };
  2049. return o ? ot(s) : s
  2050. }
  2051. s = st.compile = function (e, t) {
  2052. var n, r = [],
  2053. i = [],
  2054. o = S[e + " "];
  2055. if (!o) {
  2056. t || (t = ft(e)), n = t.length;
  2057. while (n--) o = vt(t[n]), o[x] ? r.push(o) : i.push(o);
  2058. o = S(e, bt(i, r))
  2059. }
  2060. return o
  2061. };
  2062. function xt(e, t, n) {
  2063. var r = 0,
  2064. i = t.length;
  2065. for (; i > r; r++) st(e, t[r], n);
  2066. return n
  2067. }
  2068. function wt(e, t, n, r) {
  2069. var o, a, u, l, c, p = ft(e);
  2070. if (!r && 1 === p.length) {
  2071. if (a = p[0] = p[0].slice(0), a.length > 2 && "ID" === (u = a[0]).type && 9 === t.nodeType && !
  2072. d && i.relative[a[1].type]) {
  2073. if (t = i.find.ID(u.matches[0].replace(et, tt), t)[0], !t) return n;
  2074. e = e.slice(a.shift().value.length)
  2075. }
  2076. o = U.needsContext.test(e) ? 0 : a.length;
  2077. while (o--) {
  2078. if (u = a[o], i.relative[l = u.type]) break;
  2079. if ((c = i.find[l]) && (r = c(u.matches[0].replace(et, tt), V.test(a[0].type) && t.parentNode ||
  2080. t))) {
  2081. if (a.splice(o, 1), e = r.length && dt(a), !e) return H.apply(n, q.call(r, 0)), n;
  2082. break
  2083. }
  2084. }
  2085. }
  2086. return s(e, p)(r, t, d, n, V.test(e)), n
  2087. }
  2088. i.pseudos.nth = i.pseudos.eq;
  2089. function Tt() {}
  2090. i.filters = Tt.prototype = i.pseudos, i.setFilters = new Tt, c(), st.attr = b.attr, b.find = st, b.expr =
  2091. st.selectors, b.expr[":"] = b.expr.pseudos, b.unique = st.uniqueSort, b.text = st.getText, b.isXMLDoc =
  2092. st.isXML, b.contains = st.contains
  2093. }(e);
  2094. var at = /Until$/,
  2095. st = /^(?:parents|prev(?:Until|All))/,
  2096. ut = /^.[^:#\[\.,]*$/,
  2097. lt = b.expr.match.needsContext,
  2098. ct = {
  2099. children: !0,
  2100. contents: !0,
  2101. next: !0,
  2102. prev: !0
  2103. };
  2104. b.fn.extend({
  2105. find: function (e) {
  2106. var t, n, r, i = this.length;
  2107. if ("string" != typeof e) return r = this, this.pushStack(b(e).filter(function () {
  2108. for (t = 0; i > t; t++)
  2109. if (b.contains(r[t], this)) return !0
  2110. }));
  2111. for (n = [], t = 0; i > t; t++) b.find(e, this[t], n);
  2112. return n = this.pushStack(i > 1 ? b.unique(n) : n), n.selector = (this.selector ? this.selector +
  2113. " " : "") + e, n
  2114. },
  2115. has: function (e) {
  2116. var t, n = b(e, this),
  2117. r = n.length;
  2118. return this.filter(function () {
  2119. for (t = 0; r > t; t++)
  2120. if (b.contains(this, n[t])) return !0
  2121. })
  2122. },
  2123. not: function (e) {
  2124. return this.pushStack(ft(this, e, !1))
  2125. },
  2126. filter: function (e) {
  2127. return this.pushStack(ft(this, e, !0))
  2128. },
  2129. is: function (e) {
  2130. return !!e && ("string" == typeof e ? lt.test(e) ? b(e, this.context).index(this[0]) >= 0 :
  2131. b.filter(e, this).length > 0 : this.filter(e).length > 0)
  2132. },
  2133. closest: function (e, t) {
  2134. var n, r = 0,
  2135. i = this.length,
  2136. o = [],
  2137. a = lt.test(e) || "string" != typeof e ? b(e, t || this.context) : 0;
  2138. for (; i > r; r++) {
  2139. n = this[r];
  2140. while (n && n.ownerDocument && n !== t && 11 !== n.nodeType) {
  2141. if (a ? a.index(n) > -1 : b.find.matchesSelector(n, e)) {
  2142. o.push(n);
  2143. break
  2144. }
  2145. n = n.parentNode
  2146. }
  2147. }
  2148. return this.pushStack(o.length > 1 ? b.unique(o) : o)
  2149. },
  2150. index: function (e) {
  2151. return e ? "string" == typeof e ? b.inArray(this[0], b(e)) : b.inArray(e.jquery ? e[0] : e,
  2152. this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
  2153. },
  2154. add: function (e, t) {
  2155. var n = "string" == typeof e ? b(e, t) : b.makeArray(e && e.nodeType ? [e] : e),
  2156. r = b.merge(this.get(), n);
  2157. return this.pushStack(b.unique(r))
  2158. },
  2159. addBack: function (e) {
  2160. return this.add(null == e ? this.prevObject : this.prevObject.filter(e))
  2161. }
  2162. }), b.fn.andSelf = b.fn.addBack;
  2163. function pt(e, t) {
  2164. do e = e[t]; while (e && 1 !== e.nodeType);
  2165. return e
  2166. }
  2167. b.each({
  2168. parent: function (e) {
  2169. var t = e.parentNode;
  2170. return t && 11 !== t.nodeType ? t : null
  2171. },
  2172. parents: function (e) {
  2173. return b.dir(e, "parentNode")
  2174. },
  2175. parentsUntil: function (e, t, n) {
  2176. return b.dir(e, "parentNode", n)
  2177. },
  2178. next: function (e) {
  2179. return pt(e, "nextSibling")
  2180. },
  2181. prev: function (e) {
  2182. return pt(e, "previousSibling")
  2183. },
  2184. nextAll: function (e) {
  2185. return b.dir(e, "nextSibling")
  2186. },
  2187. prevAll: function (e) {
  2188. return b.dir(e, "previousSibling")
  2189. },
  2190. nextUntil: function (e, t, n) {
  2191. return b.dir(e, "nextSibling", n)
  2192. },
  2193. prevUntil: function (e, t, n) {
  2194. return b.dir(e, "previousSibling", n)
  2195. },
  2196. siblings: function (e) {
  2197. return b.sibling((e.parentNode || {}).firstChild, e)
  2198. },
  2199. children: function (e) {
  2200. return b.sibling(e.firstChild)
  2201. },
  2202. contents: function (e) {
  2203. return b.nodeName(e, "iframe") ? e.contentDocument || e.contentWindow.document : b.merge([],
  2204. e.childNodes)
  2205. }
  2206. }, function (e, t) {
  2207. b.fn[e] = function (n, r) {
  2208. var i = b.map(this, t, n);
  2209. return at.test(e) || (r = n), r && "string" == typeof r && (i = b.filter(r, i)), i = this.length >
  2210. 1 && !ct[e] ? b.unique(i) : i, this.length > 1 && st.test(e) && (i = i.reverse()), this
  2211. .pushStack(i)
  2212. }
  2213. }), b.extend({
  2214. filter: function (e, t, n) {
  2215. return n && (e = ":not(" + e + ")"), 1 === t.length ? b.find.matchesSelector(t[0], e) ? [t[
  2216. 0]] : [] : b.find.matches(e, t)
  2217. },
  2218. dir: function (e, n, r) {
  2219. var i = [],
  2220. o = e[n];
  2221. while (o && 9 !== o.nodeType && (r === t || 1 !== o.nodeType || !b(o).is(r))) 1 === o.nodeType &&
  2222. i.push(o), o = o[n];
  2223. return i
  2224. },
  2225. sibling: function (e, t) {
  2226. var n = [];
  2227. for (; e; e = e.nextSibling) 1 === e.nodeType && e !== t && n.push(e);
  2228. return n
  2229. }
  2230. });
  2231. function ft(e, t, n) {
  2232. if (t = t || 0, b.isFunction(t)) return b.grep(e, function (e, r) {
  2233. var i = !!t.call(e, r, e);
  2234. return i === n
  2235. });
  2236. if (t.nodeType) return b.grep(e, function (e) {
  2237. return e === t === n
  2238. });
  2239. if ("string" == typeof t) {
  2240. var r = b.grep(e, function (e) {
  2241. return 1 === e.nodeType
  2242. });
  2243. if (ut.test(t)) return b.filter(t, r, !n);
  2244. t = b.filter(t, r)
  2245. }
  2246. return b.grep(e, function (e) {
  2247. return b.inArray(e, t) >= 0 === n
  2248. })
  2249. }
  2250. function dt(e) {
  2251. var t = ht.split("|"),
  2252. n = e.createDocumentFragment();
  2253. if (n.createElement)
  2254. while (t.length) n.createElement(t.pop());
  2255. return n
  2256. }
  2257. var ht =
  2258. "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
  2259. gt = / jQuery\d+="(?:null|\d+)"/g,
  2260. mt = RegExp("<(?:" + ht + ")[\\s/>]", "i"),
  2261. yt = /^\s+/,
  2262. vt = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
  2263. bt = /<([\w:]+)/,
  2264. xt = /<tbody/i,
  2265. wt = /<|&#?\w+;/,
  2266. Tt = /<(?:script|style|link)/i,
  2267. Nt = /^(?:checkbox|radio)$/i,
  2268. Ct = /checked\s*(?:[^=]|=\s*.checked.)/i,
  2269. kt = /^$|\/(?:java|ecma)script/i,
  2270. Et = /^true\/(.*)/,
  2271. St = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
  2272. At = {
  2273. option: [1, "<select multiple='multiple'>", "</select>"],
  2274. legend: [1, "<fieldset>", "</fieldset>"],
  2275. area: [1, "<map>", "</map>"],
  2276. param: [1, "<object>", "</object>"],
  2277. thead: [1, "<table>", "</table>"],
  2278. tr: [2, "<table><tbody>", "</tbody></table>"],
  2279. col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
  2280. td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
  2281. _default: b.support.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
  2282. },
  2283. jt = dt(o),
  2284. Dt = jt.appendChild(o.createElement("div"));
  2285. At.optgroup = At.option, At.tbody = At.tfoot = At.colgroup = At.caption = At.thead, At.th = At.td, b.fn.extend({
  2286. text: function (e) {
  2287. return b.access(this, function (e) {
  2288. return e === t ? b.text(this) : this.empty().append((this[0] && this[0].ownerDocument ||
  2289. o).createTextNode(e))
  2290. }, null, e, arguments.length)
  2291. },
  2292. wrapAll: function (e) {
  2293. if (b.isFunction(e)) return this.each(function (t) {
  2294. b(this).wrapAll(e.call(this, t))
  2295. });
  2296. if (this[0]) {
  2297. var t = b(e, this[0].ownerDocument).eq(0).clone(!0);
  2298. this[0].parentNode && t.insertBefore(this[0]), t.map(function () {
  2299. var e = this;
  2300. while (e.firstChild && 1 === e.firstChild.nodeType) e = e.firstChild;
  2301. return e
  2302. }).append(this)
  2303. }
  2304. return this
  2305. },
  2306. wrapInner: function (e) {
  2307. return b.isFunction(e) ? this.each(function (t) {
  2308. b(this).wrapInner(e.call(this, t))
  2309. }) : this.each(function () {
  2310. var t = b(this),
  2311. n = t.contents();
  2312. n.length ? n.wrapAll(e) : t.append(e)
  2313. })
  2314. },
  2315. wrap: function (e) {
  2316. var t = b.isFunction(e);
  2317. return this.each(function (n) {
  2318. b(this).wrapAll(t ? e.call(this, n) : e)
  2319. })
  2320. },
  2321. unwrap: function () {
  2322. return this.parent().each(function () {
  2323. b.nodeName(this, "body") || b(this).replaceWith(this.childNodes)
  2324. }).end()
  2325. },
  2326. append: function () {
  2327. return this.domManip(arguments, !0, function (e) {
  2328. (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) && this.appendChild(
  2329. e)
  2330. })
  2331. },
  2332. prepend: function () {
  2333. return this.domManip(arguments, !0, function (e) {
  2334. (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) && this.insertBefore(
  2335. e, this.firstChild)
  2336. })
  2337. },
  2338. before: function () {
  2339. return this.domManip(arguments, !1, function (e) {
  2340. this.parentNode && this.parentNode.insertBefore(e, this)
  2341. })
  2342. },
  2343. after: function () {
  2344. return this.domManip(arguments, !1, function (e) {
  2345. this.parentNode && this.parentNode.insertBefore(e, this.nextSibling)
  2346. })
  2347. },
  2348. remove: function (e, t) {
  2349. var n, r = 0;
  2350. for (; null != (n = this[r]); r++)(!e || b.filter(e, [n]).length > 0) && (t || 1 !== n.nodeType ||
  2351. b.cleanData(Ot(n)), n.parentNode && (t && b.contains(n.ownerDocument, n) && Mt(Ot(n,
  2352. "script")), n.parentNode.removeChild(n)));
  2353. return this
  2354. },
  2355. empty: function () {
  2356. var e, t = 0;
  2357. for (; null != (e = this[t]); t++) {
  2358. 1 === e.nodeType && b.cleanData(Ot(e, !1));
  2359. while (e.firstChild) e.removeChild(e.firstChild);
  2360. e.options && b.nodeName(e, "select") && (e.options.length = 0)
  2361. }
  2362. return this
  2363. },
  2364. clone: function (e, t) {
  2365. return e = null == e ? !1 : e, t = null == t ? e : t, this.map(function () {
  2366. return b.clone(this, e, t)
  2367. })
  2368. },
  2369. html: function (e) {
  2370. return b.access(this, function (e) {
  2371. var n = this[0] || {},
  2372. r = 0,
  2373. i = this.length;
  2374. if (e === t) return 1 === n.nodeType ? n.innerHTML.replace(gt, "") : t;
  2375. if (!("string" != typeof e || Tt.test(e) || !b.support.htmlSerialize && mt.test(
  2376. e) || !b.support.leadingWhitespace && yt.test(e) || At[(bt.exec(e) ||
  2377. ["", ""])[1].toLowerCase()])) {
  2378. e = e.replace(vt, "<$1></$2>");
  2379. try {
  2380. for (; i > r; r++) n = this[r] || {}, 1 === n.nodeType && (b.cleanData(
  2381. Ot(n, !1)), n.innerHTML = e);
  2382. n = 0
  2383. } catch (o) {}
  2384. }
  2385. n && this.empty().append(e)
  2386. }, null, e, arguments.length)
  2387. },
  2388. replaceWith: function (e) {
  2389. var t = b.isFunction(e);
  2390. return t || "string" == typeof e || (e = b(e).not(this).detach()), this.domManip([e], !0,
  2391. function (e) {
  2392. var t = this.nextSibling,
  2393. n = this.parentNode;
  2394. n && (b(this).remove(), n.insertBefore(e, t))
  2395. })
  2396. },
  2397. detach: function (e) {
  2398. return this.remove(e, !0)
  2399. },
  2400. domManip: function (e, n, r) {
  2401. e = f.apply([], e);
  2402. var i, o, a, s, u, l, c = 0,
  2403. p = this.length,
  2404. d = this,
  2405. h = p - 1,
  2406. g = e[0],
  2407. m = b.isFunction(g);
  2408. if (m || !(1 >= p || "string" != typeof g || b.support.checkClone) && Ct.test(g)) return this
  2409. .each(function (i) {
  2410. var o = d.eq(i);
  2411. m && (e[0] = g.call(this, i, n ? o.html() : t)), o.domManip(e, n, r)
  2412. });
  2413. if (p && (l = b.buildFragment(e, this[0].ownerDocument, !1, this), i = l.firstChild, 1 ===
  2414. l.childNodes.length && (l = i), i)) {
  2415. for (n = n && b.nodeName(i, "tr"), s = b.map(Ot(l, "script"), Ht), a = s.length; p > c; c++)
  2416. o = l, c !== h && (o = b.clone(o, !0, !0), a && b.merge(s, Ot(o, "script"))), r.call(
  2417. n && b.nodeName(this[c], "table") ? Lt(this[c], "tbody") : this[c], o, c);
  2418. if (a)
  2419. for (u = s[s.length - 1].ownerDocument, b.map(s, qt), c = 0; a > c; c++) o = s[c],
  2420. kt.test(o.type || "") && !b._data(o, "globalEval") && b.contains(u, o) && (o.src ?
  2421. b.ajax({
  2422. url: o.src,
  2423. type: "GET",
  2424. dataType: "script",
  2425. async: !1,
  2426. global: !1,
  2427. "throws": !0
  2428. }) : b.globalEval((o.text || o.textContent || o.innerHTML || "").replace(St,
  2429. "")));
  2430. l = i = null
  2431. }
  2432. return this
  2433. }
  2434. });
  2435. function Lt(e, t) {
  2436. return e.getElementsByTagName(t)[0] || e.appendChild(e.ownerDocument.createElement(t))
  2437. }
  2438. function Ht(e) {
  2439. var t = e.getAttributeNode("type");
  2440. return e.type = (t && t.specified) + "/" + e.type, e
  2441. }
  2442. function qt(e) {
  2443. var t = Et.exec(e.type);
  2444. return t ? e.type = t[1] : e.removeAttribute("type"), e
  2445. }
  2446. function Mt(e, t) {
  2447. var n, r = 0;
  2448. for (; null != (n = e[r]); r++) b._data(n, "globalEval", !t || b._data(t[r], "globalEval"))
  2449. }
  2450. function _t(e, t) {
  2451. if (1 === t.nodeType && b.hasData(e)) {
  2452. var n, r, i, o = b._data(e),
  2453. a = b._data(t, o),
  2454. s = o.events;
  2455. if (s) {
  2456. delete a.handle, a.events = {};
  2457. for (n in s)
  2458. for (r = 0, i = s[n].length; i > r; r++) b.event.add(t, n, s[n][r])
  2459. }
  2460. a.data && (a.data = b.extend({}, a.data))
  2461. }
  2462. }
  2463. function Ft(e, t) {
  2464. var n, r, i;
  2465. if (1 === t.nodeType) {
  2466. if (n = t.nodeName.toLowerCase(), !b.support.noCloneEvent && t[b.expando]) {
  2467. i = b._data(t);
  2468. for (r in i.events) b.removeEvent(t, r, i.handle);
  2469. t.removeAttribute(b.expando)
  2470. }
  2471. "script" === n && t.text !== e.text ? (Ht(t).text = e.text, qt(t)) : "object" === n ? (t.parentNode &&
  2472. (t.outerHTML = e.outerHTML), b.support.html5Clone && e.innerHTML && !b.trim(t.innerHTML) && (t.innerHTML =
  2473. e.innerHTML)) : "input" === n && Nt.test(e.type) ? (t.defaultChecked = t.checked = e.checked,
  2474. t.value !== e.value && (t.value = e.value)) : "option" === n ? t.defaultSelected = t.selected =
  2475. e.defaultSelected : ("input" === n || "textarea" === n) && (t.defaultValue = e.defaultValue)
  2476. }
  2477. }
  2478. b.each({
  2479. appendTo: "append",
  2480. prependTo: "prepend",
  2481. insertBefore: "before",
  2482. insertAfter: "after",
  2483. replaceAll: "replaceWith"
  2484. }, function (e, t) {
  2485. b.fn[e] = function (e) {
  2486. var n, r = 0,
  2487. i = [],
  2488. o = b(e),
  2489. a = o.length - 1;
  2490. for (; a >= r; r++) n = r === a ? this : this.clone(!0), b(o[r])[t](n), d.apply(i, n.get());
  2491. return this.pushStack(i)
  2492. }
  2493. });
  2494. function Ot(e, n) {
  2495. var r, o, a = 0,
  2496. s = typeof e.getElementsByTagName !== i ? e.getElementsByTagName(n || "*") : typeof e.querySelectorAll !==
  2497. i ? e.querySelectorAll(n || "*") : t;
  2498. if (!s)
  2499. for (s = [], r = e.childNodes || e; null != (o = r[a]); a++) !n || b.nodeName(o, n) ? s.push(o) : b.merge(
  2500. s, Ot(o, n));
  2501. return n === t || n && b.nodeName(e, n) ? b.merge([e], s) : s
  2502. }
  2503. function Bt(e) {
  2504. Nt.test(e.type) && (e.defaultChecked = e.checked)
  2505. }
  2506. b.extend({
  2507. clone: function (e, t, n) {
  2508. var r, i, o, a, s, u = b.contains(e.ownerDocument, e);
  2509. if (b.support.html5Clone || b.isXMLDoc(e) || !mt.test("<" + e.nodeName + ">") ? o = e.cloneNode(
  2510. !0) : (Dt.innerHTML = e.outerHTML, Dt.removeChild(o = Dt.firstChild)), !(b.support.noCloneEvent &&
  2511. b.support.noCloneChecked || 1 !== e.nodeType && 11 !== e.nodeType || b.isXMLDoc(e)))
  2512. for (r = Ot(o), s = Ot(e), a = 0; null != (i = s[a]); ++a) r[a] && Ft(i, r[a]);
  2513. if (t)
  2514. if (n)
  2515. for (s = s || Ot(e), r = r || Ot(o), a = 0; null != (i = s[a]); a++) _t(i, r[a]);
  2516. else _t(e, o);
  2517. return r = Ot(o, "script"), r.length > 0 && Mt(r, !u && Ot(e, "script")), r = s = i = null,
  2518. o
  2519. },
  2520. buildFragment: function (e, t, n, r) {
  2521. var i, o, a, s, u, l, c, p = e.length,
  2522. f = dt(t),
  2523. d = [],
  2524. h = 0;
  2525. for (; p > h; h++)
  2526. if (o = e[h], o || 0 === o)
  2527. if ("object" === b.type(o)) b.merge(d, o.nodeType ? [o] : o);
  2528. else if (wt.test(o)) {
  2529. s = s || f.appendChild(t.createElement("div")), u = (bt.exec(o) || ["", ""])[1].toLowerCase(),
  2530. c = At[u] || At._default, s.innerHTML = c[1] + o.replace(vt, "<$1></$2>") + c[2], i =
  2531. c[0];
  2532. while (i--) s = s.lastChild;
  2533. if (!b.support.leadingWhitespace && yt.test(o) && d.push(t.createTextNode(yt.exec(o)[0])),
  2534. !b.support.tbody) {
  2535. o = "table" !== u || xt.test(o) ? "<table>" !== c[1] || xt.test(o) ? 0 : s : s.firstChild,
  2536. i = o && o.childNodes.length;
  2537. while (i--) b.nodeName(l = o.childNodes[i], "tbody") && !l.childNodes.length && o.removeChild(
  2538. l)
  2539. }
  2540. b.merge(d, s.childNodes), s.textContent = "";
  2541. while (s.firstChild) s.removeChild(s.firstChild);
  2542. s = f.lastChild
  2543. } else d.push(t.createTextNode(o));
  2544. s && f.removeChild(s), b.support.appendChecked || b.grep(Ot(d, "input"), Bt), h = 0;
  2545. while (o = d[h++])
  2546. if ((!r || -1 === b.inArray(o, r)) && (a = b.contains(o.ownerDocument, o), s = Ot(f.appendChild(
  2547. o), "script"), a && Mt(s), n)) {
  2548. i = 0;
  2549. while (o = s[i++]) kt.test(o.type || "") && n.push(o)
  2550. } return s = null, f
  2551. },
  2552. cleanData: function (e, t) {
  2553. var n, r, o, a, s = 0,
  2554. u = b.expando,
  2555. l = b.cache,
  2556. p = b.support.deleteExpando,
  2557. f = b.event.special;
  2558. for (; null != (n = e[s]); s++)
  2559. if ((t || b.acceptData(n)) && (o = n[u], a = o && l[o])) {
  2560. if (a.events)
  2561. for (r in a.events) f[r] ? b.event.remove(n, r) : b.removeEvent(n, r, a.handle);
  2562. l[o] && (delete l[o], p ? delete n[u] : typeof n.removeAttribute !== i ? n.removeAttribute(
  2563. u) : n[u] = null, c.push(o))
  2564. }
  2565. }
  2566. });
  2567. var Pt, Rt, Wt, $t = /alpha\([^)]*\)/i,
  2568. It = /opacity\s*=\s*([^)]*)/,
  2569. zt = /^(top|right|bottom|left)$/,
  2570. Xt = /^(none|table(?!-c[ea]).+)/,
  2571. Ut = /^margin/,
  2572. Vt = RegExp("^(" + x + ")(.*)$", "i"),
  2573. Yt = RegExp("^(" + x + ")(?!px)[a-z%]+$", "i"),
  2574. Jt = RegExp("^([+-])=(" + x + ")", "i"),
  2575. Gt = {
  2576. BODY: "block"
  2577. },
  2578. Qt = {
  2579. position: "absolute",
  2580. visibility: "hidden",
  2581. display: "block"
  2582. },
  2583. Kt = {
  2584. letterSpacing: 0,
  2585. fontWeight: 400
  2586. },
  2587. Zt = ["Top", "Right", "Bottom", "Left"],
  2588. en = ["Webkit", "O", "Moz", "ms"];
  2589. function tn(e, t) {
  2590. if (t in e) return t;
  2591. var n = t.charAt(0).toUpperCase() + t.slice(1),
  2592. r = t,
  2593. i = en.length;
  2594. while (i--)
  2595. if (t = en[i] + n, t in e) return t;
  2596. return r
  2597. }
  2598. function nn(e, t) {
  2599. return e = t || e, "none" === b.css(e, "display") || !b.contains(e.ownerDocument, e)
  2600. }
  2601. function rn(e, t) {
  2602. var n, r, i, o = [],
  2603. a = 0,
  2604. s = e.length;
  2605. for (; s > a; a++) r = e[a], r.style && (o[a] = b._data(r, "olddisplay"), n = r.style.display, t ? (o[a] ||
  2606. "none" !== n || (r.style.display = ""), "" === r.style.display && nn(r) && (o[a] = b._data(r,
  2607. "olddisplay", un(r.nodeName)))) : o[a] || (i = nn(r), (n && "none" !== n || !i) && b._data(
  2608. r, "olddisplay", i ? n : b.css(r, "display"))));
  2609. for (a = 0; s > a; a++) r = e[a], r.style && (t && "none" !== r.style.display && "" !== r.style.display ||
  2610. (r.style.display = t ? o[a] || "" : "none"));
  2611. return e
  2612. }
  2613. b.fn.extend({
  2614. css: function (e, n) {
  2615. return b.access(this, function (e, n, r) {
  2616. var i, o, a = {},
  2617. s = 0;
  2618. if (b.isArray(n)) {
  2619. for (o = Rt(e), i = n.length; i > s; s++) a[n[s]] = b.css(e, n[s], !1, o);
  2620. return a
  2621. }
  2622. return r !== t ? b.style(e, n, r) : b.css(e, n)
  2623. }, e, n, arguments.length > 1)
  2624. },
  2625. show: function () {
  2626. return rn(this, !0)
  2627. },
  2628. hide: function () {
  2629. return rn(this)
  2630. },
  2631. toggle: function (e) {
  2632. var t = "boolean" == typeof e;
  2633. return this.each(function () {
  2634. (t ? e : nn(this)) ? b(this).show(): b(this).hide()
  2635. })
  2636. }
  2637. }), b.extend({
  2638. cssHooks: {
  2639. opacity: {
  2640. get: function (e, t) {
  2641. if (t) {
  2642. var n = Wt(e, "opacity");
  2643. return "" === n ? "1" : n
  2644. }
  2645. }
  2646. }
  2647. },
  2648. cssNumber: {
  2649. columnCount: !0,
  2650. fillOpacity: !0,
  2651. fontWeight: !0,
  2652. lineHeight: !0,
  2653. opacity: !0,
  2654. orphans: !0,
  2655. widows: !0,
  2656. zIndex: !0,
  2657. zoom: !0
  2658. },
  2659. cssProps: {
  2660. "float": b.support.cssFloat ? "cssFloat" : "styleFloat"
  2661. },
  2662. style: function (e, n, r, i) {
  2663. if (e && 3 !== e.nodeType && 8 !== e.nodeType && e.style) {
  2664. var o, a, s, u = b.camelCase(n),
  2665. l = e.style;
  2666. if (n = b.cssProps[u] || (b.cssProps[u] = tn(l, u)), s = b.cssHooks[n] || b.cssHooks[u],
  2667. r === t) return s && "get" in s && (o = s.get(e, !1, i)) !== t ? o : l[n];
  2668. if (a = typeof r, "string" === a && (o = Jt.exec(r)) && (r = (o[1] + 1) * o[2] +
  2669. parseFloat(b.css(e, n)), a = "number"), !(null == r || "number" === a && isNaN(
  2670. r) || ("number" !== a || b.cssNumber[u] || (r += "px"), b.support.clearCloneStyle ||
  2671. "" !== r || 0 !== n.indexOf("background") || (l[n] = "inherit"), s && "set" in
  2672. s && (r = s.set(e, r, i)) === t))) try {
  2673. l[n] = r
  2674. } catch (c) {}
  2675. }
  2676. },
  2677. css: function (e, n, r, i) {
  2678. var o, a, s, u = b.camelCase(n);
  2679. return n = b.cssProps[u] || (b.cssProps[u] = tn(e.style, u)), s = b.cssHooks[n] || b.cssHooks[
  2680. u], s && "get" in s && (a = s.get(e, !0, r)), a === t && (a = Wt(e, n, i)),
  2681. "normal" === a && n in Kt && (a = Kt[n]), "" === r || r ? (o = parseFloat(a), r === !0 ||
  2682. b.isNumeric(o) ? o || 0 : a) : a
  2683. },
  2684. swap: function (e, t, n, r) {
  2685. var i, o, a = {};
  2686. for (o in t) a[o] = e.style[o], e.style[o] = t[o];
  2687. i = n.apply(e, r || []);
  2688. for (o in t) e.style[o] = a[o];
  2689. return i
  2690. }
  2691. }), e.getComputedStyle ? (Rt = function (t) {
  2692. return e.getComputedStyle(t, null)
  2693. }, Wt = function (e, n, r) {
  2694. var i, o, a, s = r || Rt(e),
  2695. u = s ? s.getPropertyValue(n) || s[n] : t,
  2696. l = e.style;
  2697. return s && ("" !== u || b.contains(e.ownerDocument, e) || (u = b.style(e, n)), Yt.test(u) && Ut.test(
  2698. n) && (i = l.width, o = l.minWidth, a = l.maxWidth, l.minWidth = l.maxWidth = l.width =
  2699. u, u = s.width, l.width = i, l.minWidth = o, l.maxWidth = a)), u
  2700. }) : o.documentElement.currentStyle && (Rt = function (e) {
  2701. return e.currentStyle
  2702. }, Wt = function (e, n, r) {
  2703. var i, o, a, s = r || Rt(e),
  2704. u = s ? s[n] : t,
  2705. l = e.style;
  2706. return null == u && l && l[n] && (u = l[n]), Yt.test(u) && !zt.test(n) && (i = l.left, o = e.runtimeStyle,
  2707. a = o && o.left, a && (o.left = e.currentStyle.left), l.left = "fontSize" === n ? "1em" : u,
  2708. u = l.pixelLeft + "px", l.left = i, a && (o.left = a)), "" === u ? "auto" : u
  2709. });
  2710. function on(e, t, n) {
  2711. var r = Vt.exec(t);
  2712. return r ? Math.max(0, r[1] - (n || 0)) + (r[2] || "px") : t
  2713. }
  2714. function an(e, t, n, r, i) {
  2715. var o = n === (r ? "border" : "content") ? 4 : "width" === t ? 1 : 0,
  2716. a = 0;
  2717. for (; 4 > o; o += 2) "margin" === n && (a += b.css(e, n + Zt[o], !0, i)), r ? ("content" === n && (a -= b.css(
  2718. e, "padding" + Zt[o], !0, i)), "margin" !== n && (a -= b.css(e, "border" + Zt[o] + "Width", !0,
  2719. i))) : (a += b.css(e, "padding" + Zt[o], !0, i), "padding" !== n && (a += b.css(e, "border" + Zt[o] +
  2720. "Width", !0, i)));
  2721. return a
  2722. }
  2723. function sn(e, t, n) {
  2724. var r = !0,
  2725. i = "width" === t ? e.offsetWidth : e.offsetHeight,
  2726. o = Rt(e),
  2727. a = b.support.boxSizing && "border-box" === b.css(e, "boxSizing", !1, o);
  2728. if (0 >= i || null == i) {
  2729. if (i = Wt(e, t, o), (0 > i || null == i) && (i = e.style[t]), Yt.test(i)) return i;
  2730. r = a && (b.support.boxSizingReliable || i === e.style[t]), i = parseFloat(i) || 0
  2731. }
  2732. return i + an(e, t, n || (a ? "border" : "content"), r, o) + "px"
  2733. }
  2734. function un(e) {
  2735. var t = o,
  2736. n = Gt[e];
  2737. return n || (n = ln(e, t), "none" !== n && n || (Pt = (Pt || b(
  2738. "<iframe frameborder='0' width='0' height='0'/>").css("cssText",
  2739. "display:block !important")).appendTo(t.documentElement), t = (Pt[0].contentWindow || Pt[0]
  2740. .contentDocument).document, t.write("<!doctype html><html><body>"), t.close(), n = ln(e, t),
  2741. Pt.detach()), Gt[e] = n), n
  2742. }
  2743. function ln(e, t) {
  2744. var n = b(t.createElement(e)).appendTo(t.body),
  2745. r = b.css(n[0], "display");
  2746. return n.remove(), r
  2747. }
  2748. b.each(["height", "width"], function (e, n) {
  2749. b.cssHooks[n] = {
  2750. get: function (e, r, i) {
  2751. return r ? 0 === e.offsetWidth && Xt.test(b.css(e, "display")) ? b.swap(e, Qt,
  2752. function () {
  2753. return sn(e, n, i)
  2754. }) : sn(e, n, i) : t
  2755. },
  2756. set: function (e, t, r) {
  2757. var i = r && Rt(e);
  2758. return on(e, t, r ? an(e, n, r, b.support.boxSizing && "border-box" === b.css(e,
  2759. "boxSizing", !1, i), i) : 0)
  2760. }
  2761. }
  2762. }), b.support.opacity || (b.cssHooks.opacity = {
  2763. get: function (e, t) {
  2764. return It.test((t && e.currentStyle ? e.currentStyle.filter : e.style.filter) || "") ? .01 *
  2765. parseFloat(RegExp.$1) + "" : t ? "1" : ""
  2766. },
  2767. set: function (e, t) {
  2768. var n = e.style,
  2769. r = e.currentStyle,
  2770. i = b.isNumeric(t) ? "alpha(opacity=" + 100 * t + ")" : "",
  2771. o = r && r.filter || n.filter || "";
  2772. n.zoom = 1, (t >= 1 || "" === t) && "" === b.trim(o.replace($t, "")) && n.removeAttribute &&
  2773. (n.removeAttribute("filter"), "" === t || r && !r.filter) || (n.filter = $t.test(o) ? o
  2774. .replace($t, i) : o + " " + i)
  2775. }
  2776. }), b(function () {
  2777. b.support.reliableMarginRight || (b.cssHooks.marginRight = {
  2778. get: function (e, n) {
  2779. return n ? b.swap(e, {
  2780. display: "inline-block"
  2781. }, Wt, [e, "marginRight"]) : t
  2782. }
  2783. }), !b.support.pixelPosition && b.fn.position && b.each(["top", "left"], function (e, n) {
  2784. b.cssHooks[n] = {
  2785. get: function (e, r) {
  2786. return r ? (r = Wt(e, n), Yt.test(r) ? b(e).position()[n] + "px" : r) :
  2787. t
  2788. }
  2789. }
  2790. })
  2791. }), b.expr && b.expr.filters && (b.expr.filters.hidden = function (e) {
  2792. return 0 >= e.offsetWidth && 0 >= e.offsetHeight || !b.support.reliableHiddenOffsets && "none" ===
  2793. (e.style && e.style.display || b.css(e, "display"))
  2794. }, b.expr.filters.visible = function (e) {
  2795. return !b.expr.filters.hidden(e)
  2796. }), b.each({
  2797. margin: "",
  2798. padding: "",
  2799. border: "Width"
  2800. }, function (e, t) {
  2801. b.cssHooks[e + t] = {
  2802. expand: function (n) {
  2803. var r = 0,
  2804. i = {},
  2805. o = "string" == typeof n ? n.split(" ") : [n];
  2806. for (; 4 > r; r++) i[e + Zt[r] + t] = o[r] || o[r - 2] || o[0];
  2807. return i
  2808. }
  2809. }, Ut.test(e) || (b.cssHooks[e + t].set = on)
  2810. });
  2811. var cn = /%20/g,
  2812. pn = /\[\]$/,
  2813. fn = /\r?\n/g,
  2814. dn = /^(?:submit|button|image|reset|file)$/i,
  2815. hn = /^(?:input|select|textarea|keygen)/i;
  2816. b.fn.extend({
  2817. serialize: function () {
  2818. return b.param(this.serializeArray())
  2819. },
  2820. serializeArray: function () {
  2821. return this.map(function () {
  2822. var e = b.prop(this, "elements");
  2823. return e ? b.makeArray(e) : this
  2824. }).filter(function () {
  2825. var e = this.type;
  2826. return this.name && !b(this).is(":disabled") && hn.test(this.nodeName) && !dn.test(
  2827. e) && (this.checked || !Nt.test(e))
  2828. }).map(function (e, t) {
  2829. var n = b(this).val();
  2830. return null == n ? null : b.isArray(n) ? b.map(n, function (e) {
  2831. return {
  2832. name: t.name,
  2833. value: e.replace(fn, "\r\n")
  2834. }
  2835. }) : {
  2836. name: t.name,
  2837. value: n.replace(fn, "\r\n")
  2838. }
  2839. }).get()
  2840. }
  2841. }), b.param = function (e, n) {
  2842. var r, i = [],
  2843. o = function (e, t) {
  2844. t = b.isFunction(t) ? t() : null == t ? "" : t, i[i.length] = encodeURIComponent(e) + "=" +
  2845. encodeURIComponent(t)
  2846. };
  2847. if (n === t && (n = b.ajaxSettings && b.ajaxSettings.traditional), b.isArray(e) || e.jquery && !b.isPlainObject(
  2848. e)) b.each(e, function () {
  2849. o(this.name, this.value)
  2850. });
  2851. else
  2852. for (r in e) gn(r, e[r], n, o);
  2853. return i.join("&").replace(cn, "+")
  2854. };
  2855. function gn(e, t, n, r) {
  2856. var i;
  2857. if (b.isArray(t)) b.each(t, function (t, i) {
  2858. n || pn.test(e) ? r(e, i) : gn(e + "[" + ("object" == typeof i ? t : "") + "]", i, n, r)
  2859. });
  2860. else if (n || "object" !== b.type(t)) r(e, t);
  2861. else
  2862. for (i in t) gn(e + "[" + i + "]", t[i], n, r)
  2863. }
  2864. b.each(
  2865. "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"
  2866. .split(" "),
  2867. function (e, t) {
  2868. b.fn[t] = function (e, n) {
  2869. return arguments.length > 0 ? this.on(t, null, e, n) : this.trigger(t)
  2870. }
  2871. }), b.fn.hover = function (e, t) {
  2872. return this.mouseenter(e).mouseleave(t || e)
  2873. };
  2874. var mn, yn, vn = b.now(),
  2875. bn = /\?/,
  2876. xn = /#.*$/,
  2877. wn = /([?&])_=[^&]*/,
  2878. Tn = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm,
  2879. Nn = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,
  2880. Cn = /^(?:GET|HEAD)$/,
  2881. kn = /^\/\//,
  2882. En = /^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,
  2883. Sn = b.fn.load,
  2884. An = {},
  2885. jn = {},
  2886. Dn = "*/".concat("*");
  2887. try {
  2888. yn = a.href
  2889. } catch (Ln) {
  2890. yn = o.createElement("a"), yn.href = "", yn = yn.href
  2891. }
  2892. mn = En.exec(yn.toLowerCase()) || [];
  2893. function Hn(e) {
  2894. return function (t, n) {
  2895. "string" != typeof t && (n = t, t = "*");
  2896. var r, i = 0,
  2897. o = t.toLowerCase().match(w) || [];
  2898. if (b.isFunction(n))
  2899. while (r = o[i++]) "+" === r[0] ? (r = r.slice(1) || "*", (e[r] = e[r] || []).unshift(n)) : (e[
  2900. r] = e[r] || []).push(n)
  2901. }
  2902. }
  2903. function qn(e, n, r, i) {
  2904. var o = {},
  2905. a = e === jn;
  2906. function s(u) {
  2907. var l;
  2908. return o[u] = !0, b.each(e[u] || [], function (e, u) {
  2909. var c = u(n, r, i);
  2910. return "string" != typeof c || a || o[c] ? a ? !(l = c) : t : (n.dataTypes.unshift(c), s(c),
  2911. !1)
  2912. }), l
  2913. }
  2914. return s(n.dataTypes[0]) || !o["*"] && s("*")
  2915. }
  2916. function Mn(e, n) {
  2917. var r, i, o = b.ajaxSettings.flatOptions || {};
  2918. for (i in n) n[i] !== t && ((o[i] ? e : r || (r = {}))[i] = n[i]);
  2919. return r && b.extend(!0, e, r), e
  2920. }
  2921. b.fn.load = function (e, n, r) {
  2922. if ("string" != typeof e && Sn) return Sn.apply(this, arguments);
  2923. var i, o, a, s = this,
  2924. u = e.indexOf(" ");
  2925. return u >= 0 && (i = e.slice(u, e.length), e = e.slice(0, u)), b.isFunction(n) ? (r = n, n = t) : n &&
  2926. "object" == typeof n && (a = "POST"), s.length > 0 && b.ajax({
  2927. url: e,
  2928. type: a,
  2929. dataType: "html",
  2930. data: n
  2931. }).done(function (e) {
  2932. o = arguments, s.html(i ? b("<div>").append(b.parseHTML(e)).find(i) : e)
  2933. }).complete(r && function (e, t) {
  2934. s.each(r, o || [e.responseText, t, e])
  2935. }), this
  2936. }, b.each(["ajaxStart", "ajaxStop", "ajaxComplete", "ajaxError", "ajaxSuccess", "ajaxSend"], function (e, t) {
  2937. b.fn[t] = function (e) {
  2938. return this.on(t, e)
  2939. }
  2940. }), b.each(["get", "post"], function (e, n) {
  2941. b[n] = function (e, r, i, o) {
  2942. return b.isFunction(r) && (o = o || i, i = r, r = t), b.ajax({
  2943. url: e,
  2944. type: n,
  2945. dataType: o,
  2946. data: r,
  2947. success: i
  2948. })
  2949. }
  2950. }), b.extend({
  2951. active: 0,
  2952. lastModified: {},
  2953. etag: {},
  2954. ajaxSettings: {
  2955. url: yn,
  2956. type: "GET",
  2957. isLocal: Nn.test(mn[1]),
  2958. global: !0,
  2959. processData: !0,
  2960. async: !0,
  2961. contentType: "application/x-www-form-urlencoded; charset=UTF-8",
  2962. accepts: {
  2963. "*": Dn,
  2964. text: "text/plain",
  2965. html: "text/html",
  2966. xml: "application/xml, text/xml",
  2967. json: "application/json, text/javascript"
  2968. },
  2969. contents: {
  2970. xml: /xml/,
  2971. html: /html/,
  2972. json: /json/
  2973. },
  2974. responseFields: {
  2975. xml: "responseXML",
  2976. text: "responseText"
  2977. },
  2978. converters: {
  2979. "* text": e.String,
  2980. "text html": !0,
  2981. "text json": b.parseJSON,
  2982. "text xml": b.parseXML
  2983. },
  2984. flatOptions: {
  2985. url: !0,
  2986. context: !0
  2987. }
  2988. },
  2989. ajaxSetup: function (e, t) {
  2990. return t ? Mn(Mn(e, b.ajaxSettings), t) : Mn(b.ajaxSettings, e)
  2991. },
  2992. ajaxPrefilter: Hn(An),
  2993. ajaxTransport: Hn(jn),
  2994. ajax: function (e, n) {
  2995. "object" == typeof e && (n = e, e = t), n = n || {};
  2996. var r, i, o, a, s, u, l, c, p = b.ajaxSetup({}, n),
  2997. f = p.context || p,
  2998. d = p.context && (f.nodeType || f.jquery) ? b(f) : b.event,
  2999. h = b.Deferred(),
  3000. g = b.Callbacks("once memory"),
  3001. m = p.statusCode || {},
  3002. y = {},
  3003. v = {},
  3004. x = 0,
  3005. T = "canceled",
  3006. N = {
  3007. readyState: 0,
  3008. getResponseHeader: function (e) {
  3009. var t;
  3010. if (2 === x) {
  3011. if (!c) {
  3012. c = {};
  3013. while (t = Tn.exec(a)) c[t[1].toLowerCase()] = t[2]
  3014. }
  3015. t = c[e.toLowerCase()]
  3016. }
  3017. return null == t ? null : t
  3018. },
  3019. getAllResponseHeaders: function () {
  3020. return 2 === x ? a : null
  3021. },
  3022. setRequestHeader: function (e, t) {
  3023. var n = e.toLowerCase();
  3024. return x || (e = v[n] = v[n] || e, y[e] = t), this
  3025. },
  3026. overrideMimeType: function (e) {
  3027. return x || (p.mimeType = e), this
  3028. },
  3029. statusCode: function (e) {
  3030. var t;
  3031. if (e)
  3032. if (2 > x)
  3033. for (t in e) m[t] = [m[t], e[t]];
  3034. else N.always(e[N.status]);
  3035. return this
  3036. },
  3037. abort: function (e) {
  3038. var t = e || T;
  3039. return l && l.abort(t), k(0, t), this
  3040. }
  3041. };
  3042. if (h.promise(N).complete = g.add, N.success = N.done, N.error = N.fail, p.url = ((e || p.url ||
  3043. yn) + "").replace(xn, "").replace(kn, mn[1] + "//"), p.type = n.method || n.type ||
  3044. p.method || p.type, p.dataTypes = b.trim(p.dataType || "*").toLowerCase().match(w) || [
  3045. ""], null == p.crossDomain && (r = En.exec(p.url.toLowerCase()), p.crossDomain = !(
  3046. !r || r[1] === mn[1] && r[2] === mn[2] && (r[3] || ("http:" === r[1] ? 80 : 443)) ==
  3047. (mn[3] || ("http:" === mn[1] ? 80 : 443)))), p.data && p.processData && "string" !=
  3048. typeof p.data && (p.data = b.param(p.data, p.traditional)), qn(An, p, n, N), 2 === x)
  3049. return N;
  3050. u = p.global, u && 0 === b.active++ && b.event.trigger("ajaxStart"), p.type = p.type.toUpperCase(),
  3051. p.hasContent = !Cn.test(p.type), o = p.url, p.hasContent || (p.data && (o = p.url += (
  3052. bn.test(o) ? "&" : "?") + p.data, delete p.data), p.cache === !1 && (p.url = wn
  3053. .test(o) ? o.replace(wn, "$1_=" + vn++) : o + (bn.test(o) ? "&" : "?") + "_=" +
  3054. vn++)), p.ifModified && (b.lastModified[o] && N.setRequestHeader(
  3055. "If-Modified-Since", b.lastModified[o]), b.etag[o] && N.setRequestHeader(
  3056. "If-None-Match", b.etag[o])), (p.data && p.hasContent && p.contentType !== !1 || n.contentType) &&
  3057. N.setRequestHeader("Content-Type", p.contentType), N.setRequestHeader("Accept", p.dataTypes[
  3058. 0] && p.accepts[p.dataTypes[0]] ? p.accepts[p.dataTypes[0]] + ("*" !== p.dataTypes[
  3059. 0] ? ", " + Dn + "; q=0.01" : "") : p.accepts["*"]);
  3060. for (i in p.headers) N.setRequestHeader(i, p.headers[i]);
  3061. if (p.beforeSend && (p.beforeSend.call(f, N, p) === !1 || 2 === x)) return N.abort();
  3062. T = "abort";
  3063. for (i in {
  3064. success: 1,
  3065. error: 1,
  3066. complete: 1
  3067. }) N[i](p[i]);
  3068. if (l = qn(jn, p, n, N)) {
  3069. N.readyState = 1, u && d.trigger("ajaxSend", [N, p]), p.async && p.timeout > 0 && (s =
  3070. setTimeout(function () {
  3071. N.abort("timeout")
  3072. }, p.timeout));
  3073. try {
  3074. x = 1, l.send(y, k)
  3075. } catch (C) {
  3076. if (!(2 > x)) throw C;
  3077. k(-1, C)
  3078. }
  3079. } else k(-1, "No Transport");
  3080. function k(e, n, r, i) {
  3081. var c, y, v, w, T, C = n;
  3082. 2 !== x && (x = 2, s && clearTimeout(s), l = t, a = i || "", N.readyState = e > 0 ? 4 :
  3083. 0, r && (w = _n(p, N, r)), e >= 200 && 300 > e || 304 === e ? (p.ifModified &&
  3084. (T = N.getResponseHeader("Last-Modified"), T && (b.lastModified[o] = T), T =
  3085. N.getResponseHeader("etag"), T && (b.etag[o] = T)), 204 === e ? (c = !0,
  3086. C = "nocontent") : 304 === e ? (c = !0, C = "notmodified") : (c = Fn(p,
  3087. w), C = c.state, y = c.data, v = c.error, c = !v)) : (v = C, (e || !C) &&
  3088. (C = "error", 0 > e && (e = 0))), N.status = e, N.statusText = (n || C) +
  3089. "", c ? h.resolveWith(f, [y, C, N]) : h.rejectWith(f, [N, C, v]), N.statusCode(
  3090. m), m = t, u && d.trigger(c ? "ajaxSuccess" : "ajaxError", [N, p, c ? y : v]),
  3091. g.fireWith(f, [N, C]), u && (d.trigger("ajaxComplete", [N, p]), --b.active || b
  3092. .event.trigger("ajaxStop")))
  3093. }
  3094. return N
  3095. },
  3096. getScript: function (e, n) {
  3097. return b.get(e, t, n, "script")
  3098. },
  3099. getJSON: function (e, t, n) {
  3100. return b.get(e, t, n, "json")
  3101. }
  3102. });
  3103. function _n(e, n, r) {
  3104. var i, o, a, s, u = e.contents,
  3105. l = e.dataTypes,
  3106. c = e.responseFields;
  3107. for (s in c) s in r && (n[c[s]] = r[s]);
  3108. while ("*" === l[0]) l.shift(), o === t && (o = e.mimeType || n.getResponseHeader("Content-Type"));
  3109. if (o)
  3110. for (s in u)
  3111. if (u[s] && u[s].test(o)) {
  3112. l.unshift(s);
  3113. break
  3114. } if (l[0] in r) a = l[0];
  3115. else {
  3116. for (s in r) {
  3117. if (!l[0] || e.converters[s + " " + l[0]]) {
  3118. a = s;
  3119. break
  3120. }
  3121. i || (i = s)
  3122. }
  3123. a = a || i
  3124. }
  3125. return a ? (a !== l[0] && l.unshift(a), r[a]) : t
  3126. }
  3127. function Fn(e, t) {
  3128. var n, r, i, o, a = {},
  3129. s = 0,
  3130. u = e.dataTypes.slice(),
  3131. l = u[0];
  3132. if (e.dataFilter && (t = e.dataFilter(t, e.dataType)), u[1])
  3133. for (i in e.converters) a[i.toLowerCase()] = e.converters[i];
  3134. for (; r = u[++s];)
  3135. if ("*" !== r) {
  3136. if ("*" !== l && l !== r) {
  3137. if (i = a[l + " " + r] || a["* " + r], !i)
  3138. for (n in a)
  3139. if (o = n.split(" "), o[1] === r && (i = a[l + " " + o[0]] || a["* " + o[0]])) {
  3140. i === !0 ? i = a[n] : a[n] !== !0 && (r = o[0], u.splice(s--, 0, r));
  3141. break
  3142. } if (i !== !0)
  3143. if (i && e["throws"]) t = i(t);
  3144. else try {
  3145. t = i(t)
  3146. } catch (c) {
  3147. return {
  3148. state: "parsererror",
  3149. error: i ? c : "No conversion from " + l + " to " + r
  3150. }
  3151. }
  3152. }
  3153. l = r
  3154. } return {
  3155. state: "success",
  3156. data: t
  3157. }
  3158. }
  3159. b.ajaxSetup({
  3160. accepts: {
  3161. script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
  3162. },
  3163. contents: {
  3164. script: /(?:java|ecma)script/
  3165. },
  3166. converters: {
  3167. "text script": function (e) {
  3168. return b.globalEval(e), e
  3169. }
  3170. }
  3171. }), b.ajaxPrefilter("script", function (e) {
  3172. e.cache === t && (e.cache = !1), e.crossDomain && (e.type = "GET", e.global = !1)
  3173. }), b.ajaxTransport("script", function (e) {
  3174. if (e.crossDomain) {
  3175. var n, r = o.head || b("head")[0] || o.documentElement;
  3176. return {
  3177. send: function (t, i) {
  3178. n = o.createElement("script"), n.async = !0, e.scriptCharset && (n.charset = e.scriptCharset),
  3179. n.src = e.url, n.onload = n.onreadystatechange = function (e, t) {
  3180. (t || !n.readyState || /loaded|complete/.test(n.readyState)) && (n.onload =
  3181. n.onreadystatechange = null, n.parentNode && n.parentNode.removeChild(n),
  3182. n = null, t || i(200, "success"))
  3183. }, r.insertBefore(n, r.firstChild)
  3184. },
  3185. abort: function () {
  3186. n && n.onload(t, !0)
  3187. }
  3188. }
  3189. }
  3190. });
  3191. var On = [],
  3192. Bn = /(=)\?(?=&|$)|\?\?/;
  3193. b.ajaxSetup({
  3194. jsonp: "callback",
  3195. jsonpCallback: function () {
  3196. var e = On.pop() || b.expando + "_" + vn++;
  3197. return this[e] = !0, e
  3198. }
  3199. }), b.ajaxPrefilter("json jsonp", function (n, r, i) {
  3200. var o, a, s, u = n.jsonp !== !1 && (Bn.test(n.url) ? "url" : "string" == typeof n.data && !(n.contentType ||
  3201. "").indexOf("application/x-www-form-urlencoded") && Bn.test(n.data) && "data");
  3202. return u || "jsonp" === n.dataTypes[0] ? (o = n.jsonpCallback = b.isFunction(n.jsonpCallback) ? n.jsonpCallback() :
  3203. n.jsonpCallback, u ? n[u] = n[u].replace(Bn, "$1" + o) : n.jsonp !== !1 && (n.url += (bn.test(
  3204. n.url) ? "&" : "?") + n.jsonp + "=" + o), n.converters["script json"] = function () {
  3205. return s || b.error(o + " was not called"), s[0]
  3206. }, n.dataTypes[0] = "json", a = e[o], e[o] = function () {
  3207. s = arguments
  3208. }, i.always(function () {
  3209. e[o] = a, n[o] && (n.jsonpCallback = r.jsonpCallback, On.push(o)), s && b.isFunction(
  3210. a) && a(s[0]), s = a = t
  3211. }), "script") : t
  3212. });
  3213. var Pn, Rn, Wn = 0,
  3214. $n = e.ActiveXObject && function () {
  3215. var e;
  3216. for (e in Pn) Pn[e](t, !0)
  3217. };
  3218. function In() {
  3219. try {
  3220. return new e.XMLHttpRequest
  3221. } catch (t) {}
  3222. }
  3223. function zn() {
  3224. try {
  3225. return new e.ActiveXObject("Microsoft.XMLHTTP")
  3226. } catch (t) {}
  3227. }
  3228. b.ajaxSettings.xhr = e.ActiveXObject ? function () {
  3229. return !this.isLocal && In() || zn()
  3230. } : In, Rn = b.ajaxSettings.xhr(), b.support.cors = !!Rn && "withCredentials" in Rn, Rn = b.support.ajax = !
  3231. !Rn, Rn && b.ajaxTransport(function (n) {
  3232. if (!n.crossDomain || b.support.cors) {
  3233. var r;
  3234. return {
  3235. send: function (i, o) {
  3236. var a, s, u = n.xhr();
  3237. if (n.username ? u.open(n.type, n.url, n.async, n.username, n.password) : u.open(n.type,
  3238. n.url, n.async), n.xhrFields)
  3239. for (s in n.xhrFields) u[s] = n.xhrFields[s];
  3240. n.mimeType && u.overrideMimeType && u.overrideMimeType(n.mimeType), n.crossDomain ||
  3241. i["X-Requested-With"] || (i["X-Requested-With"] = "XMLHttpRequest");
  3242. try {
  3243. for (s in i) u.setRequestHeader(s, i[s])
  3244. } catch (l) {}
  3245. u.send(n.hasContent && n.data || null), r = function (e, i) {
  3246. var s, l, c, p;
  3247. try {
  3248. if (r && (i || 4 === u.readyState))
  3249. if (r = t, a && (u.onreadystatechange = b.noop, $n && delete Pn[a]),
  3250. i) 4 !== u.readyState && u.abort();
  3251. else {
  3252. p = {}, s = u.status, l = u.getAllResponseHeaders(), "string" ==
  3253. typeof u.responseText && (p.text = u.responseText);
  3254. try {
  3255. c = u.statusText
  3256. } catch (f) {
  3257. c = ""
  3258. }
  3259. s || !n.isLocal || n.crossDomain ? 1223 === s && (s = 204) : s =
  3260. p.text ? 200 : 404
  3261. }
  3262. } catch (d) {
  3263. i || o(-1, d)
  3264. }
  3265. p && o(s, c, p, l)
  3266. }, n.async ? 4 === u.readyState ? setTimeout(r) : (a = ++Wn, $n && (Pn || (Pn = {},
  3267. b(e).unload($n)), Pn[a] = r), u.onreadystatechange = r) : r()
  3268. },
  3269. abort: function () {
  3270. r && r(t, !0)
  3271. }
  3272. }
  3273. }
  3274. });
  3275. var Xn, Un, Vn = /^(?:toggle|show|hide)$/,
  3276. Yn = RegExp("^(?:([+-])=|)(" + x + ")([a-z%]*)$", "i"),
  3277. Jn = /queueHooks$/,
  3278. Gn = [nr],
  3279. Qn = {
  3280. "*": [function (e, t) {
  3281. var n, r, i = this.createTween(e, t),
  3282. o = Yn.exec(t),
  3283. a = i.cur(),
  3284. s = +a || 0,
  3285. u = 1,
  3286. l = 20;
  3287. if (o) {
  3288. if (n = +o[2], r = o[3] || (b.cssNumber[e] ? "" : "px"), "px" !== r && s) {
  3289. s = b.css(i.elem, e, !0) || n || 1;
  3290. do u = u || ".5", s /= u, b.style(i.elem, e, s + r); while (u !== (u = i.cur() / a) &&
  3291. 1 !== u && --l)
  3292. }
  3293. i.unit = r, i.start = s, i.end = o[1] ? s + (o[1] + 1) * n : n
  3294. }
  3295. return i
  3296. }]
  3297. };
  3298. function Kn() {
  3299. return setTimeout(function () {
  3300. Xn = t
  3301. }), Xn = b.now()
  3302. }
  3303. function Zn(e, t) {
  3304. b.each(t, function (t, n) {
  3305. var r = (Qn[t] || []).concat(Qn["*"]),
  3306. i = 0,
  3307. o = r.length;
  3308. for (; o > i; i++)
  3309. if (r[i].call(e, t, n)) return
  3310. })
  3311. }
  3312. function er(e, t, n) {
  3313. var r, i, o = 0,
  3314. a = Gn.length,
  3315. s = b.Deferred().always(function () {
  3316. delete u.elem
  3317. }),
  3318. u = function () {
  3319. if (i) return !1;
  3320. var t = Xn || Kn(),
  3321. n = Math.max(0, l.startTime + l.duration - t),
  3322. r = n / l.duration || 0,
  3323. o = 1 - r,
  3324. a = 0,
  3325. u = l.tweens.length;
  3326. for (; u > a; a++) l.tweens[a].run(o);
  3327. return s.notifyWith(e, [l, o, n]), 1 > o && u ? n : (s.resolveWith(e, [l]), !1)
  3328. },
  3329. l = s.promise({
  3330. elem: e,
  3331. props: b.extend({}, t),
  3332. opts: b.extend(!0, {
  3333. specialEasing: {}
  3334. }, n),
  3335. originalProperties: t,
  3336. originalOptions: n,
  3337. startTime: Xn || Kn(),
  3338. duration: n.duration,
  3339. tweens: [],
  3340. createTween: function (t, n) {
  3341. var r = b.Tween(e, l.opts, t, n, l.opts.specialEasing[t] || l.opts.easing);
  3342. return l.tweens.push(r), r
  3343. },
  3344. stop: function (t) {
  3345. var n = 0,
  3346. r = t ? l.tweens.length : 0;
  3347. if (i) return this;
  3348. for (i = !0; r > n; n++) l.tweens[n].run(1);
  3349. return t ? s.resolveWith(e, [l, t]) : s.rejectWith(e, [l, t]), this
  3350. }
  3351. }),
  3352. c = l.props;
  3353. for (tr(c, l.opts.specialEasing); a > o; o++)
  3354. if (r = Gn[o].call(l, e, c, l.opts)) return r;
  3355. return Zn(l, c), b.isFunction(l.opts.start) && l.opts.start.call(e, l), b.fx.timer(b.extend(u, {
  3356. elem: e,
  3357. anim: l,
  3358. queue: l.opts.queue
  3359. })), l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always)
  3360. }
  3361. function tr(e, t) {
  3362. var n, r, i, o, a;
  3363. for (i in e)
  3364. if (r = b.camelCase(i), o = t[r], n = e[i], b.isArray(n) && (o = n[1], n = e[i] = n[0]), i !== r && (e[
  3365. r] = n, delete e[i]), a = b.cssHooks[r], a && "expand" in a) {
  3366. n = a.expand(n), delete e[r];
  3367. for (i in n) i in e || (e[i] = n[i], t[i] = o)
  3368. } else t[r] = o
  3369. }
  3370. b.Animation = b.extend(er, {
  3371. tweener: function (e, t) {
  3372. b.isFunction(e) ? (t = e, e = ["*"]) : e = e.split(" ");
  3373. var n, r = 0,
  3374. i = e.length;
  3375. for (; i > r; r++) n = e[r], Qn[n] = Qn[n] || [], Qn[n].unshift(t)
  3376. },
  3377. prefilter: function (e, t) {
  3378. t ? Gn.unshift(e) : Gn.push(e)
  3379. }
  3380. });
  3381. function nr(e, t, n) {
  3382. var r, i, o, a, s, u, l, c, p, f = this,
  3383. d = e.style,
  3384. h = {},
  3385. g = [],
  3386. m = e.nodeType && nn(e);
  3387. n.queue || (c = b._queueHooks(e, "fx"), null == c.unqueued && (c.unqueued = 0, p = c.empty.fire, c.empty.fire =
  3388. function () {
  3389. c.unqueued || p()
  3390. }), c.unqueued++, f.always(function () {
  3391. f.always(function () {
  3392. c.unqueued--, b.queue(e, "fx").length || c.empty.fire()
  3393. })
  3394. })), 1 === e.nodeType && ("height" in t || "width" in t) && (n.overflow = [d.overflow, d.overflowX, d.overflowY],
  3395. "inline" === b.css(e, "display") && "none" === b.css(e, "float") && (b.support.inlineBlockNeedsLayout &&
  3396. "inline" !== un(e.nodeName) ? d.zoom = 1 : d.display = "inline-block")), n.overflow && (d.overflow =
  3397. "hidden", b.support.shrinkWrapBlocks || f.always(function () {
  3398. d.overflow = n.overflow[0], d.overflowX = n.overflow[1], d.overflowY = n.overflow[2]
  3399. }));
  3400. for (i in t)
  3401. if (a = t[i], Vn.exec(a)) {
  3402. if (delete t[i], u = u || "toggle" === a, a === (m ? "hide" : "show")) continue;
  3403. g.push(i)
  3404. } if (o = g.length) {
  3405. s = b._data(e, "fxshow") || b._data(e, "fxshow", {}), "hidden" in s && (m = s.hidden), u && (s.hidden = !
  3406. m), m ? b(e).show() : f.done(function () {
  3407. b(e).hide()
  3408. }), f.done(function () {
  3409. var t;
  3410. b._removeData(e, "fxshow");
  3411. for (t in h) b.style(e, t, h[t])
  3412. });
  3413. for (i = 0; o > i; i++) r = g[i], l = f.createTween(r, m ? s[r] : 0), h[r] = s[r] || b.style(e, r), r in
  3414. s || (s[r] = l.start, m && (l.end = l.start, l.start = "width" === r || "height" === r ? 1 : 0))
  3415. }
  3416. }
  3417. function rr(e, t, n, r, i) {
  3418. return new rr.prototype.init(e, t, n, r, i)
  3419. }
  3420. b.Tween = rr, rr.prototype = {
  3421. constructor: rr,
  3422. init: function (e, t, n, r, i, o) {
  3423. this.elem = e, this.prop = n, this.easing = i || "swing", this.options = t, this.start = this.now =
  3424. this.cur(), this.end = r, this.unit = o || (b.cssNumber[n] ? "" : "px")
  3425. },
  3426. cur: function () {
  3427. var e = rr.propHooks[this.prop];
  3428. return e && e.get ? e.get(this) : rr.propHooks._default.get(this)
  3429. },
  3430. run: function (e) {
  3431. var t, n = rr.propHooks[this.prop];
  3432. return this.pos = t = this.options.duration ? b.easing[this.easing](e, this.options.duration *
  3433. e, 0, 1, this.options.duration) : e, this.now = (this.end - this.start) * t + this.start,
  3434. this.options.step && this.options.step.call(this.elem, this.now, this), n && n.set ? n.set(
  3435. this) : rr.propHooks._default.set(this), this
  3436. }
  3437. }, rr.prototype.init.prototype = rr.prototype, rr.propHooks = {
  3438. _default: {
  3439. get: function (e) {
  3440. var t;
  3441. return null == e.elem[e.prop] || e.elem.style && null != e.elem.style[e.prop] ? (t = b.css(
  3442. e.elem, e.prop, ""), t && "auto" !== t ? t : 0) : e.elem[e.prop]
  3443. },
  3444. set: function (e) {
  3445. b.fx.step[e.prop] ? b.fx.step[e.prop](e) : e.elem.style && (null != e.elem.style[b.cssProps[
  3446. e.prop]] || b.cssHooks[e.prop]) ? b.style(e.elem, e.prop, e.now + e.unit) : e.elem[
  3447. e.prop] = e.now
  3448. }
  3449. }
  3450. }, rr.propHooks.scrollTop = rr.propHooks.scrollLeft = {
  3451. set: function (e) {
  3452. e.elem.nodeType && e.elem.parentNode && (e.elem[e.prop] = e.now)
  3453. }
  3454. }, b.each(["toggle", "show", "hide"], function (e, t) {
  3455. var n = b.fn[t];
  3456. b.fn[t] = function (e, r, i) {
  3457. return null == e || "boolean" == typeof e ? n.apply(this, arguments) : this.animate(ir(t, !
  3458. 0), e, r, i)
  3459. }
  3460. }), b.fn.extend({
  3461. fadeTo: function (e, t, n, r) {
  3462. return this.filter(nn).css("opacity", 0).show().end().animate({
  3463. opacity: t
  3464. }, e, n, r)
  3465. },
  3466. animate: function (e, t, n, r) {
  3467. var i = b.isEmptyObject(e),
  3468. o = b.speed(t, n, r),
  3469. a = function () {
  3470. var t = er(this, b.extend({}, e), o);
  3471. a.finish = function () {
  3472. t.stop(!0)
  3473. }, (i || b._data(this, "finish")) && t.stop(!0)
  3474. };
  3475. return a.finish = a, i || o.queue === !1 ? this.each(a) : this.queue(o.queue, a)
  3476. },
  3477. stop: function (e, n, r) {
  3478. var i = function (e) {
  3479. var t = e.stop;
  3480. delete e.stop, t(r)
  3481. };
  3482. return "string" != typeof e && (r = n, n = e, e = t), n && e !== !1 && this.queue(e || "fx",
  3483. []), this.each(function () {
  3484. var t = !0,
  3485. n = null != e && e + "queueHooks",
  3486. o = b.timers,
  3487. a = b._data(this);
  3488. if (n) a[n] && a[n].stop && i(a[n]);
  3489. else
  3490. for (n in a) a[n] && a[n].stop && Jn.test(n) && i(a[n]);
  3491. for (n = o.length; n--;) o[n].elem !== this || null != e && o[n].queue !== e ||
  3492. (o[n].anim.stop(r), t = !1, o.splice(n, 1));
  3493. (t || !r) && b.dequeue(this, e)
  3494. })
  3495. },
  3496. finish: function (e) {
  3497. return e !== !1 && (e = e || "fx"), this.each(function () {
  3498. var t, n = b._data(this),
  3499. r = n[e + "queue"],
  3500. i = n[e + "queueHooks"],
  3501. o = b.timers,
  3502. a = r ? r.length : 0;
  3503. for (n.finish = !0, b.queue(this, e, []), i && i.cur && i.cur.finish && i.cur.finish
  3504. .call(this), t = o.length; t--;) o[t].elem === this && o[t].queue === e &&
  3505. (o[t].anim.stop(!0), o.splice(t, 1));
  3506. for (t = 0; a > t; t++) r[t] && r[t].finish && r[t].finish.call(this);
  3507. delete n.finish
  3508. })
  3509. }
  3510. });
  3511. function ir(e, t) {
  3512. var n, r = {
  3513. height: e
  3514. },
  3515. i = 0;
  3516. for (t = t ? 1 : 0; 4 > i; i += 2 - t) n = Zt[i], r["margin" + n] = r["padding" + n] = e;
  3517. return t && (r.opacity = r.width = e), r
  3518. }
  3519. b.each({
  3520. slideDown: ir("show"),
  3521. slideUp: ir("hide"),
  3522. slideToggle: ir("toggle"),
  3523. fadeIn: {
  3524. opacity: "show"
  3525. },
  3526. fadeOut: {
  3527. opacity: "hide"
  3528. },
  3529. fadeToggle: {
  3530. opacity: "toggle"
  3531. }
  3532. }, function (e, t) {
  3533. b.fn[e] = function (e, n, r) {
  3534. return this.animate(t, e, n, r)
  3535. }
  3536. }), b.speed = function (e, t, n) {
  3537. var r = e && "object" == typeof e ? b.extend({}, e) : {
  3538. complete: n || !n && t || b.isFunction(e) && e,
  3539. duration: e,
  3540. easing: n && t || t && !b.isFunction(t) && t
  3541. };
  3542. return r.duration = b.fx.off ? 0 : "number" == typeof r.duration ? r.duration : r.duration in b.fx.speeds ?
  3543. b.fx.speeds[r.duration] : b.fx.speeds._default, (null == r.queue || r.queue === !0) && (r.queue =
  3544. "fx"), r.old = r.complete, r.complete = function () {
  3545. b.isFunction(r.old) && r.old.call(this), r.queue && b.dequeue(this, r.queue)
  3546. }, r
  3547. }, b.easing = {
  3548. linear: function (e) {
  3549. return e
  3550. },
  3551. swing: function (e) {
  3552. return .5 - Math.cos(e * Math.PI) / 2
  3553. }
  3554. }, b.timers = [], b.fx = rr.prototype.init, b.fx.tick = function () {
  3555. var e, n = b.timers,
  3556. r = 0;
  3557. for (Xn = b.now(); n.length > r; r++) e = n[r], e() || n[r] !== e || n.splice(r--, 1);
  3558. n.length || b.fx.stop(), Xn = t
  3559. }, b.fx.timer = function (e) {
  3560. e() && b.timers.push(e) && b.fx.start()
  3561. }, b.fx.interval = 13, b.fx.start = function () {
  3562. Un || (Un = setInterval(b.fx.tick, b.fx.interval))
  3563. }, b.fx.stop = function () {
  3564. clearInterval(Un), Un = null
  3565. }, b.fx.speeds = {
  3566. slow: 600,
  3567. fast: 200,
  3568. _default: 400
  3569. }, b.fx.step = {}, b.expr && b.expr.filters && (b.expr.filters.animated = function (e) {
  3570. return b.grep(b.timers, function (t) {
  3571. return e === t.elem
  3572. }).length
  3573. }), b.fn.offset = function (e) {
  3574. if (arguments.length) return e === t ? this : this.each(function (t) {
  3575. b.offset.setOffset(this, e, t)
  3576. });
  3577. var n, r, o = {
  3578. top: 0,
  3579. left: 0
  3580. },
  3581. a = this[0],
  3582. s = a && a.ownerDocument;
  3583. if (s) return n = s.documentElement, b.contains(n, a) ? (typeof a.getBoundingClientRect !== i && (o = a
  3584. .getBoundingClientRect()), r = or(s), {
  3585. top: o.top + (r.pageYOffset || n.scrollTop) - (n.clientTop || 0),
  3586. left: o.left + (r.pageXOffset || n.scrollLeft) - (n.clientLeft || 0)
  3587. }) : o
  3588. }, b.offset = {
  3589. setOffset: function (e, t, n) {
  3590. var r = b.css(e, "position");
  3591. "static" === r && (e.style.position = "relative");
  3592. var i = b(e),
  3593. o = i.offset(),
  3594. a = b.css(e, "top"),
  3595. s = b.css(e, "left"),
  3596. u = ("absolute" === r || "fixed" === r) && b.inArray("auto", [a, s]) > -1,
  3597. l = {},
  3598. c = {},
  3599. p, f;
  3600. u ? (c = i.position(), p = c.top, f = c.left) : (p = parseFloat(a) || 0, f = parseFloat(s) || 0),
  3601. b.isFunction(t) && (t = t.call(e, n, o)), null != t.top && (l.top = t.top - o.top + p),
  3602. null != t.left && (l.left = t.left - o.left + f), "using" in t ? t.using.call(e, l) : i.css(
  3603. l)
  3604. }
  3605. }, b.fn.extend({
  3606. position: function () {
  3607. if (this[0]) {
  3608. var e, t, n = {
  3609. top: 0,
  3610. left: 0
  3611. },
  3612. r = this[0];
  3613. return "fixed" === b.css(r, "position") ? t = r.getBoundingClientRect() : (e = this.offsetParent(),
  3614. t = this.offset(), b.nodeName(e[0], "html") || (n = e.offset()), n.top += b.css(
  3615. e[0], "borderTopWidth", !0), n.left += b.css(e[0], "borderLeftWidth", !0)), {
  3616. top: t.top - n.top - b.css(r, "marginTop", !0),
  3617. left: t.left - n.left - b.css(r, "marginLeft", !0)
  3618. }
  3619. }
  3620. },
  3621. offsetParent: function () {
  3622. return this.map(function () {
  3623. var e = this.offsetParent || o.documentElement;
  3624. while (e && !b.nodeName(e, "html") && "static" === b.css(e, "position")) e = e.offsetParent;
  3625. return e || o.documentElement
  3626. })
  3627. }
  3628. }), b.each({
  3629. scrollLeft: "pageXOffset",
  3630. scrollTop: "pageYOffset"
  3631. }, function (e, n) {
  3632. var r = /Y/.test(n);
  3633. b.fn[e] = function (i) {
  3634. return b.access(this, function (e, i, o) {
  3635. var a = or(e);
  3636. return o === t ? a ? n in a ? a[n] : a.document.documentElement[i] : e[i] : (a ?
  3637. a.scrollTo(r ? b(a).scrollLeft() : o, r ? o : b(a).scrollTop()) : e[i] =
  3638. o, t)
  3639. }, e, i, arguments.length, null)
  3640. }
  3641. });
  3642. function or(e) {
  3643. return b.isWindow(e) ? e : 9 === e.nodeType ? e.defaultView || e.parentWindow : !1
  3644. }
  3645. b.each({
  3646. Height: "height",
  3647. Width: "width"
  3648. }, function (e, n) {
  3649. b.each({
  3650. padding: "inner" + e,
  3651. content: n,
  3652. "": "outer" + e
  3653. }, function (r, i) {
  3654. b.fn[i] = function (i, o) {
  3655. var a = arguments.length && (r || "boolean" != typeof i),
  3656. s = r || (i === !0 || o === !0 ? "margin" : "border");
  3657. return b.access(this, function (n, r, i) {
  3658. var o;
  3659. return b.isWindow(n) ? n.document.documentElement["client" + e] : 9 ===
  3660. n.nodeType ? (o = n.documentElement, Math.max(n.body["scroll" +
  3661. e], o["scroll" + e], n.body["offset" + e], o[
  3662. "offset" + e], o["client" + e])) : i === t ? b.css(n, r, s) :
  3663. b.style(n, r, i, s)
  3664. }, n, a ? i : t, a, null)
  3665. }
  3666. })
  3667. }), e.jQuery = e.$ = b, "function" == typeof define && define.amd && define.amd.jQuery && define("jquery",
  3668. [],
  3669. function () {
  3670. return b
  3671. })
  3672. })(window);