jquery-1.12.1.min.js 171 KB

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