jquery-min.js 155 KB

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