jquery-1.8.3.min.js 154 KB

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