jquery.min.js 123 KB

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