jquery-3.3.1.min.js 126 KB

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