1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072 |
- !
- function (m, p) {
- "object" == typeof module && "object" == typeof module.exports ? module.exports = m.document ? p(m, !0) : function (m) {
- if (!m.document) throw Error("jQuery requires a window with a document");
- return p(m)
- } : p(m)
- }("undefined" != typeof window ? window : this, function (m, p) {
- function A(b) {
- var c = b.length,
- f = e.type(b);
- return "function" === f || e.isWindow(b) ? !1 : 1 === b.nodeType && c ? !0 : "array" === f || 0 === c || "number" == typeof c && 0 < c && c - 1 in b
- }
- function F(b, c, f) {
- if (e.isFunction(c)) return e.grep(b, function (b, e) {
- return !!c.call(b, e, b) !== f
- });
- if (c.nodeType) return e.grep(b, function (b) {
- return b === c !== f
- });
- if ("string" == typeof c) {
- if (Sb.test(c)) return e.filter(c, b, f);
- c = e.filter(c, b)
- }
- return e.grep(b, function (b) {
- return 0 <= e.inArray(b, c) !== f
- })
- }
- function H(b, c) {
- do b = b[c];
- while (b && 1 !== b.nodeType);
- return b
- }
- function G(b) {
- var c = Ya[b] = {};
- return e.each(b.match(W) || [], function (b, e) {
- c[e] = !0
- }),
- c
- }
- function B() {
- y.addEventListener ? (y.removeEventListener("DOMContentLoaded", l, !1), m.removeEventListener("load", l, !1)) : (y.detachEvent("onreadystatechange", l), m.detachEvent("onload", l))
- }
- function l() {
- (y.addEventListener || "load" === event.type || "complete" === y.readyState) && (B(), e.ready())
- }
- function w(b, c, f) {
- if (void 0 === f && 1 === b.nodeType) {
- var g = "data-" + c.replace(Tb, "-$1").toLowerCase();
- if (f = b.getAttribute(g), "string" == typeof f) {
- try {
- f = "true" === f ? !0 : "false" === f ? !1 : "null" === f ? null : +f + "" === f ? +f : bd.test(f) ? e.parseJSON(f) : f
- } catch (h) {}
- e.data(b, c, f)
- } else f = void 0
- }
- return f
- }
- function C(b) {
- for (var c in b) if (("data" !== c || !e.isEmptyObject(b[c])) && "toJSON" !== c) return !1;
- return !0
- }
- function I(b, c, f, g) {
- if (e.acceptData(b)) {
- var h, k, n = e.expando,
- q = b.nodeType,
- L = q ? e.cache : b,
- l = q ? b[n] : b[n] && n;
- if (l && L[l] && (g || L[l].data) || void 0 !== f || "string" != typeof c) return l || (l = q ? b[n] = X.pop() || e.guid++ : n),
- L[l] || (L[l] = q ? {} : {
- toJSON: e.noop
- }),
- ("object" == typeof c || "function" == typeof c) && (g ? L[l] = e.extend(L[l], c) : L[l].data = e.extend(L[l].data, c)),
- k = L[l],
- g || (k.data || (k.data = {}), k = k.data),
- void 0 !== f && (k[e.camelCase(c)] = f),
- "string" == typeof c ? (h = k[c], null == h && (h = k[e.camelCase(c)])) : h = k,
- h
- }
- }
- function J(b, c, f) {
- if (e.acceptData(b)) {
- var g, h, k = b.nodeType,
- n = k ? e.cache : b,
- q = k ? b[e.expando] : e.expando;
- if (n[q]) {
- if (c && (g = f ? n[q] : n[q].data)) {
- e.isArray(c) ? c = c.concat(e.map(c, e.camelCase)) : c in g ? c = [c] : (c = e.camelCase(c), c = c in g ? [c] : c.split(" "));
- for (h = c.length; h--;) delete g[c[h]];
- if (f ? !C(g) : !e.isEmptyObject(g)) return
- }(f || (delete n[q].data, C(n[q]))) && (k ? e.cleanData([b], !0) : z.deleteExpando || n != n.window ? delete n[q] : n[q] = null)
- }
- }
- }
- function E() {
- return !0
- }
- function s() {
- return !1
- }
- function v() {
- try {
- return y.activeElement
- } catch (b) {}
- }
- function x(b) {
- var c = bg.split("|");
- b = b.createDocumentFragment();
- if (b.createElement) for (; c.length;) b.createElement(c.pop());
- return b
- }
- function u(b, c) {
- var f, g, h = 0,
- k = typeof b.getElementsByTagName !== U ? b.getElementsByTagName(c || "*") : typeof b.querySelectorAll !== U ? b.querySelectorAll(c || "*") : void 0;
- if (!k) for (k = [], f = b.childNodes || b; null != (g = f[h]); h++)!c || e.nodeName(g, c) ? k.push(g) : e.merge(k, u(g, c));
- return void 0 === c || c && e.nodeName(b, c) ? e.merge([b], k) : k
- }
- function Vb(b) {
- Ia.test(b.type) && (b.defaultChecked = b.checked)
- }
- function $a(b, c) {
- return e.nodeName(b, "table") && e.nodeName(11 !== c.nodeType ? c : c.firstChild, "tr") ? b.getElementsByTagName("tbody")[0] || b.appendChild(b.ownerDocument.createElement("tbody")) : b
- }
- function ab(b) {
- return b.type = (null !== e.find.attr(b, "type")) + "/" + b.type,
- b
- }
- function bb(b) {
- var c = Wb.exec(b.type);
- return c ? b.type = c[1] : b.removeAttribute("type"),
- b
- }
- function Ja(b, c) {
- for (var f, g = 0; null != (f = b[g]); g++) e._data(f, "globalEval", !c || e._data(c[g], "globalEval"))
- }
- function cb(b, c) {
- if (1 === c.nodeType && e.hasData(b)) {
- var f, g, h;
- g = e._data(b);
- var k = e._data(c, g),
- n = g.events;
- if (n) for (f in delete k.handle, k.events = {}, n) for (g = 0, h = n[f].length; h > g; g++) e.event.add(c, f, n[f][g]);
- k.data && (k.data = e.extend({}, k.data))
- }
- }
- function db(b, c) {
- var f = e(c.createElement(b)).appendTo(c.body),
- g = m.getDefaultComputedStyle ? m.getDefaultComputedStyle(f[0]).display : e.css(f[0], "display");
- return f.detach(),
- g
- }
- function eb(b) {
- var c = y,
- f = fb[b];
- return f || (f = db(b, c), "none" !== f && f || (bh = (bh || e("<iframe frameborder='0' width='0' height='0'/>")).appendTo(c.documentElement), c = (bh[0].contentWindow || bh[0].contentDocument).document, c.write(), c.close(), f = db(b, c), bh.detach()), fb[b] = f),
- f
- }
- function gb(b, c) {
- return {
- get: function () {
- var f = b();
- if (null != f) return f ? void delete this.get : (this.get = c).apply(this, arguments)
- }
- }
- }
- function hb(b, c) {
- if (c in b) return c;
- for (var f = c.charAt(0).toUpperCase() + c.slice(1), e = c, h = ib.length; h--;) if (c = ib[h] + f, c in b) return c;
- return e
- }
- function jb(b, c) {
- for (var f, g, h, k = [], n = 0, q = b.length; q > n; n++) g = b[n],
- g.style && (k[n] = e._data(g, "olddisplay"), f = g.style.display, c ? (k[n] || "none" !== f || (g.style.display = ""), "" === g.style.display && ua(g) && (k[n] = e._data(g, "olddisplay", eb(g.nodeName)))) : k[n] || (h = ua(g), (f && "none" !== f || !h) && e._data(g, "olddisplay", h ? f : e.css(g, "display"))));
- for (n = 0; q > n; n++) g = b[n],
- g.style && (c && "none" !== g.style.display && "" !== g.style.display || (g.style.display = c ? k[n] || "" : "none"));
- return b
- }
- function kb(b, c, f) {
- return (b = Xb.exec(c)) ? Math.max(0, b[1] - (f || 0)) + (b[2] || "px") : c
- }
- function lb(b, c, f, g, h) {
- c = f === (g ? "border" : "content") ? 4 : "width" === c ? 1 : 0;
- for (var k = 0; 4 > c; c += 2)"margin" === f && (k += e.css(b, f + ia[c], !0, h)),
- g ? ("content" === f && (k -= e.css(b, "padding" + ia[c], !0, h)), "margin" !== f && (k -= e.css(b, "border" + ia[c] + "Width", !0, h))) : (k += e.css(b, "padding" + ia[c], !0, h), "padding" !== f && (k += e.css(b, "border" + ia[c] + "Width", !0, h)));
- return k
- }
- function mb(b, c, f) {
- var g = !0,
- h = "width" === c ? b.offsetWidth : b.offsetHeight,
- k = ja(b),
- n = z.boxSizing() && "border-box" === e.css(b, "boxSizing", !1, k);
- if (0 >= h || null == h) {
- if (h = ba(b, c, k), (0 > h || null == h) && (h = b.style[c]), wa.test(h)) return h;
- g = n && (z.boxSizingReliable() || h === b.style[c]);
- h = parseFloat(h) || 0
- }
- return h + lb(b, c, f || (n ? "border" : "content"), g, k) + "px"
- }
- function K(b, c, f, e, h) {
- return new K.prototype.init(b, c, f, e, h)
- }
- function nb() {
- return setTimeout(function () {
- bk = void 0
- }),
- bk = e.now()
- }
- function xa(b, c) {
- var f, e = {
- height: b
- },
- h = 0;
- for (c = c ? 1 : 0; 4 > h; h += 2 - c) f = ia[h],
- e["margin" + f] = e["padding" + f] = b;
- return c && (e.opacity = e.width = b),
- e
- }
- function ob(b, c, f) {
- for (var e, h = (va[c] || []).concat(va["*"]), k = 0, n = h.length; n > k; k++) if (e = h[k].call(f, c, b)) return e
- }
- function Yb(b, c) {
- var f, g, h, k, n;
- for (f in b) if (g = e.camelCase(f), h = c[g], k = b[f], e.isArray(k) && (h = k[1], k = b[f] = k[0]), f !== g && (b[g] = k, delete b[f]), n = e.cssHooks[g], n && "expand" in n) for (f in k = n.expand(k), delete b[g], k) f in b || (b[f] = k[f], c[f] = h);
- else c[g] = h
- }
- function pb(b, c, f) {
- var g, h = 0,
- k = ya.length,
- n = e.Deferred().always(function () {
- delete q.elem
- }),
- q = function () {
- if (g) return !1;
- for (var c = bk || nb(), c = Math.max(0, l.startTime + l.duration - c), f = 1 - (c / l.duration || 0), e = 0, h = l.tweens.length; h > e; e++) l.tweens[e].run(f);
- return n.notifyWith(b, [l, f, c]),
- 1 > f && h ? c : (n.resolveWith(b, [l]), !1)
- },
- l = n.promise({
- elem: b,
- props: e.extend({}, c),
- opts: e.extend(!0, {
- specialEasing: {}
- }, f),
- originalProperties: c,
- originalOptions: f,
- startTime: bk || nb(),
- duration: f.duration,
- tweens: [],
- createTween: function (c, f) {
- var g = e.Tween(b, l.opts, c, f, l.opts.specialEasing[c] || l.opts.easing);
- return l.tweens.push(g),
- g
- },
- stop: function (c) {
- var f = 0,
- e = c ? l.tweens.length : 0;
- if (g) return this;
- for (g = !0; e > f; f++) l.tweens[f].run(1);
- return c ? n.resolveWith(b, [l, c]) : n.rejectWith(b, [l, c]),
- this
- }
- });
- f = l.props;
- for (Yb(f, l.opts.specialEasing); k > h; h++) if (c = ya[h].call(l, b, f, l.opts)) return c;
- return e.map(f, ob, l),
- e.isFunction(l.opts.start) && l.opts.start.call(b, l),
- e.fx.timer(e.extend(q, {
- elem: b,
- anim: l,
- queue: l.opts.queue
- })),
- l.progress(l.opts.progress).done(l.opts.done, l.opts.complete).fail(l.opts.fail).always(l.opts.always)
- }
- function qb(b) {
- return function (c, f) {
- "string" != typeof c && (f = c, c = "*");
- var g, h = 0,
- k = c.toLowerCase().match(W) || [];
- if (e.isFunction(f)) for (; g = k[h++];)"+" === g.charAt(0) ? (g = g.slice(1) || "*", (b[g] = b[g] || []).unshift(f)) : (b[g] = b[g] || []).push(f)
- }
- }
- function rb(b, c, f, g) {
- function h(q) {
- var l;
- return k[q] = !0,
- e.each(b[q] || [], function (b, e) {
- var q = e(c, f, g);
- return "string" != typeof q || n || k[q] ? n ? !(l = q) : void 0 : (c.dataTypes.unshift(q), h(q), !1)
- }),
- l
- }
- var k = {},
- n = b === Ka;
- return h(c.dataTypes[0]) || !k["*"] && h("*")
- }
- function La(b, c) {
- var f, g, h = e.ajaxSettings.flatOptions || {};
- for (g in c) void 0 !== c[g] && ((h[g] ? b : f || (f = {}))[g] = c[g]);
- return f && e.extend(!0, b, f),
- b
- }
- function Ma(b, c, f, g) {
- var h;
- if (e.isArray(c)) e.each(c, function (c, e) {
- f || Zb.test(b) ? g(b, e) : Ma(b + "[" + ("object" == typeof e ? c : "") + "]", e, f, g)
- });
- else if (f || "object" !== e.type(c)) g(b, c);
- else for (h in c) Ma(b + "[" + h + "]", c[h], f, g)
- }
- function sb() {
- try {
- return new m.XMLHttpRequest
- } catch (b) {}
- }
- function tb(b) {
- return e.isWindow(b) ? b : 9 === b.nodeType ? b.defaultView || b.parentWindow : !1
- }
- var X = [],
- O = X.slice,
- ub = X.concat,
- Na = X.push,
- vb = X.indexOf,
- la = {},
- $b = la.toString,
- Y = la.hasOwnProperty,
- Oa = "".trim,
- z = {},
- e = function (b, c) {
- return new e.fn.init(b, c)
- },
- ac = /^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,
- bc = /^-ms-/,
- cc = /-([\da-z])/gi,
- dc = function (b, c) {
- return c.toUpperCase()
- };
- e.fn = e.prototype = {
- jquery: "1.11.0",
- constructor: e,
- selector: "",
- length: 0,
- toArray: function () {
- return O.call(this)
- },
- get: function (b) {
- return null != b ? 0 > b ? this[b + this.length] : this[b] : O.call(this)
- },
- pushStack: function (b) {
- b = e.merge(this.constructor(), b);
- return b.prevObject = this,
- b.context = this.context,
- b
- },
- each: function (b, c) {
- return e.each(this, b, c)
- },
- map: function (b) {
- return this.pushStack(e.map(this, function (c, f) {
- return b.call(c, f, c)
- }))
- },
- slice: function () {
- return this.pushStack(O.apply(this, arguments))
- },
- first: function () {
- return this.eq(0)
- },
- last: function () {
- return this.eq(-1)
- },
- eq: function (b) {
- var c = this.length;
- b = +b + (0 > b ? c : 0);
- return this.pushStack(0 <= b && c > b ? [this[b]] : [])
- },
- end: function () {
- return this.prevObject || this.constructor(null)
- },
- push: Na,
- sort: X.sort,
- splice: X.splice
- };
- e.extend = e.fn.extend = function () {
- var b, c, f, g, h, k, n = arguments[0] || {},
- q = 1,
- l = arguments.length,
- m = !1;
- "boolean" == typeof n && (m = n, n = arguments[q] || {}, q++);
- "object" == typeof n || e.isFunction(n) || (n = {});
- for (q === l && (n = this, q--); l > q; q++) if (null != (h = arguments[q])) for (g in h) b = n[g],
- f = h[g],
- n !== f && (m && f && (e.isPlainObject(f) || (c = e.isArray(f))) ? (c ? (c = !1, k = b && e.isArray(b) ? b : []) : k = b && e.isPlainObject(b) ? b : {}, n[g] = e.extend(m, k, f)) : void 0 !== f && (n[g] = f));
- return n
- };
- e.extend({
- expando: "jQuery" + ("1.11.0" + Math.random()).replace(/\D/g, ""),
- isReady: !0,
- error: function (b) {
- throw Error(b);
- },
- noop: function () {},
- isFunction: function (b) {
- return "function" === e.type(b)
- },
- isArray: Array.isArray ||
- function (b) {
- return "array" === e.type(b)
- },
- isWindow: function (b) {
- return null != b && b == b.window
- },
- isNumeric: function (b) {
- return 0 <= b - parseFloat(b)
- },
- isEmptyObject: function (b) {
- for (var c in b) return !1;
- return !0
- },
- isPlainObject: function (b) {
- var c;
- if (!b || "object" !== e.type(b) || b.nodeType || e.isWindow(b)) return !1;
- try {
- if (b.constructor && !Y.call(b, "constructor") && !Y.call(b.constructor.prototype, "isPrototypeOf")) return !1
- } catch (f) {
- return !1
- }
- if (z.ownLast) for (c in b) return Y.call(b, c);
- for (c in b);
- return void 0 === c || Y.call(b, c)
- },
- type: function (b) {
- return null == b ? b + "" : "object" == typeof b || "function" == typeof b ? la[$b.call(b)] || "object" : typeof b
- },
- globalEval: function (b) {
- b && e.trim(b) && (m.execScript ||
- function (b) {
- m.eval.call(m, b)
- })(b)
- },
- camelCase: function (b) {
- return b.replace(bc, "ms-").replace(cc, dc)
- },
- nodeName: function (b, c) {
- return b.nodeName && b.nodeName.toLowerCase() === c.toLowerCase()
- },
- each: function (b, c, f) {
- var e, h = 0,
- k = b.length,
- n = A(b);
- if (f) if (n) for (; k > h && (e = c.apply(b[h], f), !1 !== e); h++);
- else for (h in b) {
- if (e = c.apply(b[h], f), !1 === e) break
- } else if (n) for (; k > h && (e = c.call(b[h], h, b[h]), !1 !== e); h++);
- else for (h in b) if (e = c.call(b[h], h, b[h]), !1 === e) break;
- return b
- },
- trim: Oa && !Oa.call("\ufeff\u00a0") ?
- function (b) {
- return null == b ? "" : Oa.call(b)
- } : function (b) {
- return null == b ? "" : (b + "").replace(ac, "")
- },
- makeArray: function (b, c) {
- var f = c || [];
- return null != b && (A(Object(b)) ? e.merge(f, "string" == typeof b ? [b] : b) : Na.call(f, b)),
- f
- },
- inArray: function (b, c, f) {
- var e;
- if (c) {
- if (vb) return vb.call(c, b, f);
- e = c.length;
- for (f = f ? 0 > f ? Math.max(0, e + f) : f : 0; e > f; f++) if (f in c && c[f] === b) return f
- }
- return -1
- },
- merge: function (b, c) {
- for (var f = +c.length, e = 0, h = b.length; f > e;) b[h++] = c[e++];
- if (f !== f) for (; void 0 !== c[e];) b[h++] = c[e++];
- return b.length = h,
- b
- },
- grep: function (b, c, f) {
- for (var e = [], h = 0, k = b.length, n = !f; k > h; h++) f = !c(b[h], h),
- f !== n && e.push(b[h]);
- return e
- },
- map: function (b, c, f) {
- var e, h = 0,
- k = b.length,
- n = [];
- if (A(b)) for (; k > h; h++) e = c(b[h], h, f),
- null != e && n.push(e);
- else for (h in b) e = c(b[h], h, f),
- null != e && n.push(e);
- return ub.apply([], n)
- },
- guid: 1,
- proxy: function (b, c) {
- var f, g, h;
- return "string" == typeof c && (h = b[c], c = b, b = h),
- e.isFunction(b) ? (f = O.call(arguments, 2), g = function () {
- return b.apply(c || this, f.concat(O.call(arguments)))
- }, g.guid = b.guid = b.guid || e.guid++, g) : void 0
- },
- now: function () {
- return +new Date
- },
- support: z
- });
- e.each("Boolean Number String Function Array Date RegExp Object Error".split(" "), function (b, c) {
- la["[object " + c + "]"] = c.toLowerCase()
- });
- var d = function (b) {
- function c(b, c, e, f) {
- var g, h, k, n, q;
- if ((c ? c.ownerDocument || c : Z) !== T && ma(c), c = c || T, e = e || [], !b || "string" != typeof b) return e;
- if (1 !== (n = c.nodeType) && 9 !== n) return [];
- if (da && !f) {
- if (g = ya.exec(b)) if (k = g[1]) if (9 === n) {
- if (h = c.getElementById(k), !h || !h.parentNode) return e;
- if (h.id === k) return e.push(h),
- e
- } else {
- if (c.ownerDocument && (h = c.ownerDocument.getElementById(k)) && Aa(c, h) && h.id === k) return e.push(h),
- e
- } else {
- if (g[2]) return na.apply(e, c.getElementsByTagName(b)),
- e;
- if ((k = g[3]) && D.getElementsByClassName && c.getElementsByClassName) return na.apply(e, c.getElementsByClassName(k)),
- e
- }
- if (D.qsa && (!V || !V.test(b))) {
- if (h = g = M, k = c, q = 9 === n && b, 1 === n && "object" !== c.nodeName.toLowerCase()) {
- n = p(b);
- (g = c.getAttribute("id")) ? h = g.replace(r, "\\$&") : c.setAttribute("id", h);
- h = "[id='" + h + "'] ";
- for (k = n.length; k--;) n[k] = h + w(n[k]);
- k = la.test(b) && s(c.parentNode) || c;
- q = n.join(",")
- }
- if (q) try {
- return na.apply(e, k.querySelectorAll(q)),
- e
- } catch (l) {} finally {
- g || c.removeAttribute("id")
- }
- }
- }
- var t;
- a: {
- b = b.replace(Y, "$1");
- var m, L;
- h = p(b);
- if (!f && 1 === h.length) {
- if (t = h[0] = h[0].slice(0), 2 < t.length && "ID" === (m = t[0]).type && D.getById && 9 === c.nodeType && da && C.relative[t[1].type]) {
- if (c = (C.find.ID(m.matches[0].replace(oa, pa), c) || [])[0], !c) {
- t = e;
- break a
- }
- b = b.slice(t.shift().value.length)
- }
- for (n = j.needsContext.test(b) ? 0 : t.length; n-- && (m = t[n], !C.relative[g = m.type]);) if ((L = C.find[g]) && (f = L(m.matches[0].replace(oa, pa), la.test(t[0].type) && s(c.parentNode) || c))) {
- if (t.splice(n, 1), b = f.length && w(t), !b) {
- t = (na.apply(e, f), e);
- break a
- }
- break
- }
- }
- t = (E(b, h)(f, c, !da, e, la.test(b) && s(c.parentNode) || c), e)
- }
- return t
- }
- function f() {
- function b(e, f) {
- return c.push(e + " ") > C.cacheLength && delete b[c.shift()],
- b[e + " "] = f
- }
- var c = [];
- return b
- }
- function e(b) {
- return b[M] = !0,
- b
- }
- function h(b) {
- var c = T.createElement("div");
- try {
- return !!b(c)
- } catch (e) {
- return !1
- } finally {
- c.parentNode && c.parentNode.removeChild(c)
- }
- }
- function k(b, c) {
- for (var e = b.split("|"), f = b.length; f--;) C.attrHandle[e[f]] = c
- }
- function n(b, c) {
- var e = c && b,
- f = e && 1 === b.nodeType && 1 === c.nodeType && (~c.sourceIndex || aa) - (~b.sourceIndex || aa);
- if (f) return f;
- if (e) for (; e = e.nextSibling;) if (e === c) return -1;
- return b ? 1 : -1
- }
- function q(b) {
- return function (c) {
- return "input" === c.nodeName.toLowerCase() && c.type === b
- }
- }
- function l(b) {
- return function (c) {
- var e = c.nodeName.toLowerCase();
- return ("input" === e || "button" === e) && c.type === b
- }
- }
- function m(b) {
- return e(function (c) {
- return c = +c,
- e(function (e, f) {
- for (var g, h = b([], e.length, c), k = h.length; k--;) e[g = h[k]] && (e[g] = !(f[g] = e[g]))
- })
- })
- }
- function s(b) {
- return b && typeof b.getElementsByTagName !== O && b
- }
- function t() {}
- function p(b, e) {
- var f, g, h, k, n, q, l;
- if (n = U[b + " "]) return e ? 0 : n.slice(0);
- n = b;
- q = [];
- for (l = C.preFilter; n;) {
- f && !(g = d.exec(n)) || (g && (n = n.slice(g[0].length) || n), q.push(h = []));
- f = !1;
- (g = bm.exec(n)) && (f = g.shift(), h.push({
- value: f,
- type: g[0].replace(Y, " ")
- }), n = n.slice(f.length));
- for (k in C.filter)!(g = j[k].exec(n)) || l[k] && !(g = l[k](g)) || (f = g.shift(), h.push({
- value: f,
- type: k,
- matches: g
- }), n = n.slice(f.length));
- if (!f) break
- }
- return e ? n.length : n ? c.error(b) : U(b, q).slice(0)
- }
- function w(b) {
- for (var c = 0, e = b.length, f = ""; e > c; c++) f += b[c].value;
- return f
- }
- function u(b, c, e) {
- var f = c.dir,
- g = e && "parentNode" === f,
- h = fc++;
- return c.first ?
- function (c, e, h) {
- for (; c = c[f];) if (1 === c.nodeType || g) return b(c, e, h)
- } : function (c, e, k) {
- var n, q, l = [Q, h];
- if (k) for (; c = c[f];) {
- if ((1 === c.nodeType || g) && b(c, e, k)) return !0
- } else for (; c = c[f];) if (1 === c.nodeType || g) {
- if (q = c[M] || (c[M] = {}), (n = q[f]) && n[0] === Q && n[1] === h) return l[2] = n[2];
- if (q[f] = l, l[2] = b(c, e, k)) return !0
- }
- }
- }
- function v(b) {
- return 1 < b.length ?
- function (c, e, f) {
- for (var g = b.length; g--;) if (!b[g](c, e, f)) return !1;
- return !0
- } : b[0]
- }
- function x(b, c, e, f, g) {
- for (var h, k = [], n = 0, q = b.length, l = null != c; q > n; n++)(h = b[n]) && (!e || e(h, f, g)) && (k.push(h), l && c.push(n));
- return k
- }
- function z(b, f, h, k, n, q) {
- return k && !k[M] && (k = z(k)),
- n && !n[M] && (n = z(n, q)),
- e(function (e, g, q, l) {
- var t, m, L = [],
- s = [],
- p = g.length,
- S;
- if (!(S = e)) {
- S = f || "*";
- for (var w = q.nodeType ? [q] : q, u = [], P = 0, v = w.length; v > P; P++) c(S, w[P], u);
- S = u
- }
- S = !b || !e && f ? S : x(S, L, b, q, l);
- w = h ? n || (e ? b : p || k) ? [] : g : S;
- if (h && h(S, w, q, l), k) for (t = x(w, s), k(t, [], q, l), q = t.length; q--;)(m = t[q]) && (w[s[q]] = !(S[s[q]] = m));
- if (e) {
- if (n || b) {
- if (n) {
- t = [];
- for (q = w.length; q--;)(m = w[q]) && t.push(S[q] = m);
- n(null, w = [], t, l)
- }
- for (q = w.length; q--;)(m = w[q]) && -1 < (t = n ? N.call(e, m) : L[q]) && (e[t] = !(g[t] = m))
- }
- } else w = x(w === g ? w.splice(p, w.length) : w),
- n ? n(null, g, w, l) : na.apply(g, w)
- })
- }
- function y(b) {
- var c, e, f, g = b.length,
- h = C.relative[b[0].type];
- e = h || C.relative[" "];
- for (var k = h ? 1 : 0, n = u(function (b) {
- return b === c
- }, e, !0), q = u(function (b) {
- return -1 < N.call(c, b)
- }, e, !0), l = [function (b, e, f) {
- return !h && (f || e !== G) || ((c = e).nodeType ? n(b, e, f) : q(b, e, f))
- }]; g > k; k++) if (e = C.relative[b[k].type]) l = [u(v(l), e)];
- else {
- if (e = C.filter[b[k].type].apply(null, b[k].matches), e[M]) {
- for (f = ++k; g > f && !C.relative[b[f].type]; f++);
- return z(1 < k && v(l), 1 < k && w(b.slice(0, k - 1).concat({
- value: " " === b[k - 2].type ? "*" : ""
- })).replace(Y, "$1"), e, f > k && y(b.slice(k, f)), g > f && y(b = b.slice(f)), g > f && w(b))
- }
- l.push(e)
- }
- return v(l)
- }
- function A(b, f) {
- var h = 0 < f.length,
- k = 0 < b.length,
- n = function (e, g, n, q, l) {
- var t, m, w, L = 0,
- s = "0",
- S = e && [],
- p = [],
- u = G,
- P = e || k && C.find.TAG("*", l),
- v = Q += null == u ? 1 : Math.random() || .1,
- z = P.length;
- for (l && (G = g !== T && g); s !== z && null != (t = P[s]); s++) {
- if (k && t) {
- for (m = 0; w = b[m++];) if (w(t, g, n)) {
- q.push(t);
- break
- }
- l && (Q = v)
- }
- h && ((t = !w && t) && L--, e && S.push(t))
- }
- if (L += s, h && s !== L) {
- for (m = 0; w = f[m++];) w(S, p, g, n);
- if (e) {
- if (0 < L) for (; s--;) S[s] || p[s] || (p[s] = ia.call(q));
- p = x(p)
- }
- na.apply(q, p);
- l && !e && 0 < p.length && 1 < L + f.length && c.uniqueSort(q)
- }
- return l && (Q = v, G = u),
- S
- };
- return h ? e(n) : n
- }
- var B, D, C, I, F, E, G, J, H, ma, T, ka, da, V, K, Da, Aa, M = "sizzle" + -new Date,
- Z = b.document,
- Q = 0,
- fc = 0,
- R = f(),
- U = f(),
- W = f(),
- X = function (b, c) {
- return b === c && (H = !0),
- 0
- },
- O = "undefined",
- aa = -2147483648,
- ha = {}.hasOwnProperty,
- qa = [],
- ia = qa.pop,
- ja = qa.push,
- na = qa.push,
- ba = qa.slice,
- N = qa.indexOf ||
- function (b) {
- for (var c = 0, e = this.length; e > c; c++) if (this[c] === b) return c;
- return -1
- },
- fa = "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w", "w#"),
- bq = "\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)[\\x20\\t\\r\\n\\f]*(?:([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|(" + fa + ")|)|)[\\x20\\t\\r\\n\\f]*\\]",
- bk = ":((?:\\\\.|[\\w-]|[^\\x00-\\xa0])+)(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|" + bq.replace(3, 8) + ")*)|.*)\\)|)",
- Y = RegExp("^[\\x20\\t\\r\\n\\f]+|((?:^|[^\\\\])(?:\\\\.)*)[\\x20\\t\\r\\n\\f]+$", "g"),
- d = /^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,
- bm = /^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,
- bh = RegExp("=[\\x20\\t\\r\\n\\f]*([^\\]'\"]*?)[\\x20\\t\\r\\n\\f]*\\]", "g"),
- ua = new RegExp(bk),
- va = new RegExp("^" + fa + "$"),
- j = {
- ID: /^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,
- CLASS: /^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,
- TAG: new RegExp("^(" + "(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+".replace("w", "w*") + ")"),
- ATTR: new RegExp("^" + bq),
- PSEUDO: new RegExp("^" + bk),
- CHILD: RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\([\\x20\\t\\r\\n\\f]*(even|odd|(([+-]|)(\\d*)n|)[\\x20\\t\\r\\n\\f]*(?:([+-]|)[\\x20\\t\\r\\n\\f]*(\\d+)|))[\\x20\\t\\r\\n\\f]*\\)|)", "i"),
- bool: RegExp("^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$", "i"),
- needsContext: RegExp("^[\\x20\\t\\r\\n\\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\([\\x20\\t\\r\\n\\f]*((?:-\\d)?\\d*)[\\x20\\t\\r\\n\\f]*\\)|)(?=[^-]|$)", "i")
- },
- wa = /^(?:input|select|textarea|button)$/i,
- xa = /^h\d$/i,
- Ba = /^[^{]+\{\s*\[native \w/,
- ya = /^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,
- la = /[+~]/,
- r = /'|\\/g,
- oa = RegExp("\\\\([\\da-f]{1,6}[\\x20\\t\\r\\n\\f]?|([\\x20\\t\\r\\n\\f])|.)", "ig"),
- pa = function (b, c, e) {
- b = "0x" + c - 65536;
- return b !== b || e ? c : 0 > b ? String.fromCharCode(b + 65536) : String.fromCharCode(b >> 10 | 55296, 1023 & b | 56320)
- };
- try {
- na.apply(qa = ba.call(Z.childNodes), Z.childNodes),
- qa[Z.childNodes.length].nodeType
- } catch (be) {
- na = {
- apply: qa.length ?
- function (b, c) {
- ja.apply(b, ba.call(c))
- } : function (b, c) {
- for (var e = b.length, f = 0; b[e++] = c[f++];);
- b.length = e - 1
- }
- }
- }
- D = c.support = {};
- F = c.isXML = function (b) {
- return (b = b && (b.ownerDocument || b).documentElement) ? "HTML" !== b.nodeName : !1
- };
- ma = c.setDocument = function (b) {
- var c, e = b ? b.ownerDocument || b : Z;
- b = e.defaultView;
- return e !== T && 9 === e.nodeType && e.documentElement ? (T = e, ka = e.documentElement, da = !F(e), b && b !== b.top && (b.addEventListener ? b.addEventListener("unload", function () {
- ma()
- }, !1) : b.attachEvent && b.attachEvent("onunload", function () {
- ma()
- })), D.attributes = h(function (b) {
- return b.className = "i",
- !b.getAttribute("className")
- }), D.getElementsByTagName = h(function (b) {
- return b.appendChild(e.createComment("")),
- !b.getElementsByTagName("*").length
- }), D.getElementsByClassName = Ba.test(e.getElementsByClassName) && h(function (b) {
- return b.innerHTML = "<div class='a'></div><div class='a i'></div>",
- b.firstChild.className = "i",
- 2 === b.getElementsByClassName("i").length
- }), D.getById = h(function (b) {
- return ka.appendChild(b).id = M,
- !e.getElementsByName || !e.getElementsByName(M).length
- }), D.getById ? (C.find.ID = function (b, c) {
- if (typeof c.getElementById !== O && da) {
- var e = c.getElementById(b);
- return e && e.parentNode ? [e] : []
- }
- }, C.filter.ID = function (b) {
- var c = b.replace(oa, pa);
- return function (b) {
- return b.getAttribute("id") === c
- }
- }) : (delete C.find.ID, C.filter.ID = function (b) {
- var c = b.replace(oa, pa);
- return function (b) {
- return (b = typeof b.getAttributeNode !== O && b.getAttributeNode("id")) && b.value === c
- }
- }), C.find.TAG = D.getElementsByTagName ?
- function (b, c) {
- return typeof c.getElementsByTagName !== O ? c.getElementsByTagName(b) : void 0
- } : function (b, c) {
- var e, f = [],
- g = 0,
- h = c.getElementsByTagName(b);
- if ("*" === b) {
- for (; e = h[g++];) 1 === e.nodeType && f.push(e);
- return f
- }
- return h
- }, C.find.CLASS = D.getElementsByClassName &&
- function (b, c) {
- return typeof c.getElementsByClassName !== O && da ? c.getElementsByClassName(b) : void 0
- }, K = [], V = [], (D.qsa = Ba.test(e.querySelectorAll)) && (h(function (b) {
- b.innerHTML = "<select t=''><option selected=''></option></select>";
- b.querySelectorAll("[t^='']").length && V.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");
- b.querySelectorAll("[selected]").length || V.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");
- b.querySelectorAll(":checked").length || V.push(":checked")
- }), h(function (b) {
- var c = e.createElement("input");
- c.setAttribute("type", "hidden");
- b.appendChild(c).setAttribute("name", "D");
- b.querySelectorAll("[name=d]").length && V.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");
- b.querySelectorAll(":enabled").length || V.push(":enabled", ":disabled");
- b.querySelectorAll("*,:x");
- V.push(",.*:")
- })), (D.matchesSelector = Ba.test(Da = ka.webkitMatchesSelector || ka.mozMatchesSelector || ka.oMatchesSelector || ka.msMatchesSelector)) && h(function (b) {
- D.disconnectedMatch = Da.call(b, "div");
- Da.call(b, "[s!='']:x");
- K.push("!=", bk)
- }), V = V.length && new RegExp(V.join("|")), K = K.length && new RegExp(K.join("|")), c = Ba.test(ka.compareDocumentPosition), Aa = c || Ba.test(ka.contains) ?
- function (b, c) {
- var e = 9 === b.nodeType ? b.documentElement : b,
- f = c && c.parentNode;
- return b === f || !(!f || 1 !== f.nodeType || !(e.contains ? e.contains(f) : b.compareDocumentPosition && 16 & b.compareDocumentPosition(f)))
- } : function (b, c) {
- if (c) for (; c = c.parentNode;) if (c === b) return !0;
- return !1
- }, X = c ?
- function (b, c) {
- if (b === c) return H = !0,
- 0;
- var f = !b.compareDocumentPosition - !c.compareDocumentPosition;
- return f ? f : (f = (b.ownerDocument || b) === (c.ownerDocument || c) ? b.compareDocumentPosition(c) : 1, 1 & f || !D.sortDetached && c.compareDocumentPosition(b) === f ? b === e || b.ownerDocument === Z && Aa(Z, b) ? -1 : c === e || c.ownerDocument === Z && Aa(Z, c) ? 1 : J ? N.call(J, b) - N.call(J, c) : 0 : 4 & f ? -1 : 1)
- } : function (b, c) {
- if (b === c) return H = !0,
- 0;
- var f, g = 0;
- f = b.parentNode;
- var h = c.parentNode,
- k = [b],
- q = [c];
- if (!f || !h) return b === e ? -1 : c === e ? 1 : f ? -1 : h ? 1 : J ? N.call(J, b) - N.call(J, c) : 0;
- if (f === h) return n(b, c);
- for (f = b; f = f.parentNode;) k.unshift(f);
- for (f = c; f = f.parentNode;) q.unshift(f);
- for (; k[g] === q[g];) g++;
- return g ? n(k[g], q[g]) : k[g] === Z ? -1 : q[g] === Z ? 1 : 0
- }, e) : T
- };
- c.matches = function (b, e) {
- return c(b, null, null, e)
- };
- c.matchesSelector = function (b, e) {
- if ((b.ownerDocument || b) !== T && ma(b), e = e.replace(bh, "='$1']"), !(!D.matchesSelector || !da || K && K.test(e) || V && V.test(e))) try {
- var f = Da.call(b, e);
- if (f || D.disconnectedMatch || b.document && 11 !== b.document.nodeType) return f
- } catch (g) {}
- return 0 < c(e, T, null, [b]).length
- };
- c.contains = function (b, c) {
- return (b.ownerDocument || b) !== T && ma(b),
- Aa(b, c)
- };
- c.attr = function (b, c) {
- (b.ownerDocument || b) !== T && ma(b);
- var e = C.attrHandle[c.toLowerCase()],
- e = e && ha.call(C.attrHandle, c.toLowerCase()) ? e(b, c, !da) : void 0;
- return void 0 !== e ? e : D.attributes || !da ? b.getAttribute(c) : (e = b.getAttributeNode(c)) && e.specified ? e.value : null
- };
- c.error = function (b) {
- throw Error("Syntax error, unrecognized expression: " + b);
- };
- c.uniqueSort = function (b) {
- var c, e = [],
- f = 0,
- g = 0;
- if (H = !D.detectDuplicates, J = !D.sortStable && b.slice(0), b.sort(X), H) {
- for (; c = b[g++];) c === b[g] && (f = e.push(g));
- for (; f--;) b.splice(e[f], 1)
- }
- return J = null,
- b
- };
- I = c.getText = function (b) {
- var c, e = "",
- f = 0;
- if (c = b.nodeType) if (1 === c || 9 === c || 11 === c) {
- if ("string" == typeof b.textContent) return b.textContent;
- for (b = b.firstChild; b; b = b.nextSibling) e += I(b)
- } else {
- if (3 === c || 4 === c) return b.nodeValue
- } else for (; c = b[f++];) e += I(c);
- return e
- };
- C = c.selectors = {
- cacheLength: 50,
- createPseudo: e,
- match: j,
- attrHandle: {},
- find: {},
- relative: {
- ">": {
- dir: "parentNode",
- first: !0
- },
- " ": {
- dir: "parentNode"
- },
- "+": {
- dir: "previousSibling",
- first: !0
- },
- "~": {
- dir: "previousSibling"
- }
- },
- preFilter: {
- ATTR: function (b) {
- return b[1] = b[1].replace(oa, pa),
- b[3] = (b[4] || b[5] || "").replace(oa, pa),
- "~=" === b[2] && (b[3] = " " + b[3] + " "),
- b.slice(0, 4)
- },
- CHILD: function (b) {
- return b[1] = b[1].toLowerCase(),
- "nth" === b[1].slice(0, 3) ? (b[3] || c.error(b[0]), b[4] = +(b[4] ? b[5] + (b[6] || 1) : 2 * ("even" === b[3] || "odd" === b[3])), b[5] = +(b[7] + b[8] || "odd" === b[3])) : b[3] && c.error(b[0]),
- b
- },
- PSEUDO: function (b) {
- var c, e = !b[5] && b[2];
- return j.CHILD.test(b[0]) ? null : (b[3] && void 0 !== b[4] ? b[2] = b[4] : e && ua.test(e) && (c = p(e, !0)) && (c = e.indexOf(")", e.length - c) - e.length) && (b[0] = b[0].slice(0, c), b[2] = e.slice(0, c)), b.slice(0, 3))
- }
- },
- filter: {
- TAG: function (b) {
- var c = b.replace(oa, pa).toLowerCase();
- return "*" === b ?
- function () {
- return !0
- } : function (b) {
- return b.nodeName && b.nodeName.toLowerCase() === c
- }
- },
- CLASS: function (b) {
- var c = R[b + " "];
- return c || (c = new RegExp("(^|[\\x20\\t\\r\\n\\f])" + b + "([\\x20\\t\\r\\n\\f]|$)")) && R(b, function (b) {
- return c.test("string" == typeof b.className && b.className || typeof b.getAttribute !== O && b.getAttribute("class") || "")
- })
- },
- ATTR: function (b, e, f) {
- return function (g) {
- g = c.attr(g, b);
- return null == g ? "!=" === e : e ? (g += "", "=" === e ? g === f : "!=" === e ? g !== f : "^=" === e ? f && 0 === g.indexOf(f) : "*=" === e ? f && -1 < g.indexOf(f) : "$=" === e ? f && g.slice(-f.length) === f : "~=" === e ? -1 < (" " + g + " ").indexOf(f) : "|=" === e ? g === f || g.slice(0, f.length + 1) === f + "-" : !1) : !0
- }
- },
- CHILD: function (b, c, e, f, g) {
- var h = "nth" !== b.slice(0, 3),
- k = "last" !== b.slice(-4),
- n = "of-type" === c;
- return 1 === f && 0 === g ?
- function (b) {
- return !!b.parentNode
- } : function (c, e, q) {
- var l, t, m, L, s;
- e = h !== k ? "nextSibling" : "previousSibling";
- var w = c.parentNode,
- p = n && c.nodeName.toLowerCase();
- q = !q && !n;
- if (w) {
- if (h) {
- for (; e;) {
- for (t = c; t = t[e];) if (n ? t.nodeName.toLowerCase() === p : 1 === t.nodeType) return !1;
- s = e = "only" === b && !s && "nextSibling"
- }
- return !0
- }
- if (s = [k ? w.firstChild : w.lastChild], k && q) for (q = w[M] || (w[M] = {}), l = q[b] || [], L = l[0] === Q && l[1], m = l[0] === Q && l[2], t = L && w.childNodes[L]; t = ++L && t && t[e] || (m = L = 0) || s.pop();) {
- if (1 === t.nodeType && ++m && t === c) {
- q[b] = [Q, L, m];
- break
- }
- } else if (q && (l = (c[M] || (c[M] = {}))[b]) && l[0] === Q) m = l[1];
- else for (;
- (t = ++L && t && t[e] || (m = L = 0) || s.pop()) && ((n ? t.nodeName.toLowerCase() !== p : 1 !== t.nodeType) || !++m || (q && ((t[M] || (t[M] = {}))[b] = [Q, m]), t !== c)););
- return m -= g,
- m === f || 0 === m % f && 0 <= m / f
- }
- }
- },
- PSEUDO: function (b, f) {
- var h, k = C.pseudos[b] || C.setFilters[b.toLowerCase()] || c.error("unsupported pseudo: " + b);
- return k[M] ? k(f) : 1 < k.length ? (h = [b, b, "", f], C.setFilters.hasOwnProperty(b.toLowerCase()) ? e(function (b, c) {
- for (var e, g = k(b, f), h = g.length; h--;) e = N.call(b, g[h]),
- b[e] = !(c[e] = g[h])
- }) : function (b) {
- return k(b, 0, h)
- }) : k
- }
- },
- pseudos: {
- not: e(function (b) {
- var c = [],
- f = [],
- h = E(b.replace(Y, "$1"));
- return h[M] ? e(function (b, c, e, f) {
- var g;
- e = h(b, null, f, []);
- for (f = b.length; f--;)(g = e[f]) && (b[f] = !(c[f] = g))
- }) : function (b, e, g) {
- return c[0] = b,
- h(c, null, g, f),
- !f.pop()
- }
- }),
- has: e(function (b) {
- return function (e) {
- return 0 < c(b, e).length
- }
- }),
- contains: e(function (b) {
- return function (c) {
- return -1 < (c.textContent || c.innerText || I(c)).indexOf(b)
- }
- }),
- lang: e(function (b) {
- return va.test(b || "") || c.error("unsupported lang: " + b),
- b = b.replace(oa, pa).toLowerCase(),
- function (c) {
- var e;
- do
- if (e = da ? c.lang : c.getAttribute("xml:lang") || c.getAttribute("lang")) return e = e.toLowerCase(),
- e === b || 0 === e.indexOf(b + "-");
- while ((c = c.parentNode) && 1 === c.nodeType);
- return !1
- }
- }),
- target: function (c) {
- var e = b.location && b.location.hash;
- return e && e.slice(1) === c.id
- },
- root: function (b) {
- return b === ka
- },
- focus: function (b) {
- return b === T.activeElement && (!T.hasFocus || T.hasFocus()) && !! (b.type || b.href || ~b.tabIndex)
- },
- enabled: function (b) {
- return !1 === b.disabled
- },
- disabled: function (b) {
- return !0 === b.disabled
- },
- checked: function (b) {
- var c = b.nodeName.toLowerCase();
- return "input" === c && !! b.checked || "option" === c && !! b.selected
- },
- selected: function (b) {
- return b.parentNode && b.parentNode.selectedIndex,
- !0 === b.selected
- },
- empty: function (b) {
- for (b = b.firstChild; b; b = b.nextSibling) if (6 > b.nodeType) return !1;
- return !0
- },
- parent: function (b) {
- return !C.pseudos.empty(b)
- },
- header: function (b) {
- return xa.test(b.nodeName)
- },
- input: function (b) {
- return wa.test(b.nodeName)
- },
- button: function (b) {
- var c = b.nodeName.toLowerCase();
- return "input" === c && "button" === b.type || "button" === c
- },
- text: function (b) {
- var c;
- return "input" === b.nodeName.toLowerCase() && "text" === b.type && (null == (c = b.getAttribute("type")) || "text" === c.toLowerCase())
- },
- first: m(function () {
- return [0]
- }),
- last: m(function (b, c) {
- return [c - 1]
- }),
- eq: m(function (b, c, e) {
- return [0 > e ? e + c : e]
- }),
- even: m(function (b, c) {
- for (var e = 0; c > e; e += 2) b.push(e);
- return b
- }),
- odd: m(function (b, c) {
- for (var e = 1; c > e; e += 2) b.push(e);
- return b
- }),
- lt: m(function (b, c, e) {
- for (c = 0 > e ? e + c : e; 0 <= --c;) b.push(c);
- return b
- }),
- gt: m(function (b, c, e) {
- for (e = 0 > e ? e + c : e; ++e < c;) b.push(e);
- return b
- })
- }
- };
- C.pseudos.nth = C.pseudos.eq;
- for (B in {
- radio: !0,
- checkbox: !0,
- file: !0,
- password: !0,
- image: !0
- }) C.pseudos[B] = q(B);
- for (B in {
- submit: !0,
- reset: !0
- }) C.pseudos[B] = l(B);
- t.prototype = C.filters = C.pseudos;
- C.setFilters = new t;
- E = c.compile = function (b, c) {
- var e, f = [],
- g = [],
- h = W[b + " "];
- if (!h) {
- c || (c = p(b));
- for (e = c.length; e--;) h = y(c[e]),
- h[M] ? f.push(h) : g.push(h);
- h = W(b, A(g, f))
- }
- return h
- };
- return D.sortStable = M.split("").sort(X).join("") === M,
- D.detectDuplicates = !! H,
- ma(),
- D.sortDetached = h(function (b) {
- return 1 & b.compareDocumentPosition(T.createElement("div"))
- }),
- h(function (b) {
- return b.innerHTML = "<a href='#'></a>",
- "#" === b.firstChild.getAttribute("href")
- }) || k("type|href|height|width", function (b, c, e) {
- return e ? void 0 : b.getAttribute(c, "type" === c.toLowerCase() ? 1 : 2)
- }),
- D.attributes && h(function (b) {
- return b.innerHTML = "<input/>",
- b.firstChild.setAttribute("value", ""),
- "" === b.firstChild.getAttribute("value")
- }) || k("value", function (b, c, e) {
- return e || "input" !== b.nodeName.toLowerCase() ? void 0 : b.defaultValue
- }),
- h(function (b) {
- return null == b.getAttribute("disabled")
- }) || k("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped", function (b, c, e) {
- var f;
- return e ? void 0 : !0 === b[c] ? c.toLowerCase() : (f = b.getAttributeNode(c)) && f.specified ? f.value : null
- }),
- c
- }(m);
- e.find = d;
- e.expr = d.selectors;
- e.expr[":"] = e.expr.pseudos;
- e.unique = d.uniqueSort;
- e.text = d.getText;
- e.isXMLDoc = d.isXML;
- e.contains = d.contains;
- var i = e.expr.match.needsContext,
- xb = /^<(\w+)\s*\/?>(?:<\/\1>|)$/,
- Sb = /^.[^:#\[\.,]*$/;
- e.filter = function (b, c, f) {
- var g = c[0];
- return f && (b = ":not(" + b + ")"),
- 1 === c.length && 1 === g.nodeType ? e.find.matchesSelector(g, b) ? [g] : [] : e.find.matches(b, e.grep(c, function (b) {
- return 1 === b.nodeType
- }))
- };
- e.fn.extend({
- find: function (b) {
- var c, f = [],
- g = this,
- h = g.length;
- if ("string" != typeof b) return this.pushStack(e(b).filter(function () {
- for (c = 0; h > c; c++) if (e.contains(g[c], this)) return !0
- }));
- for (c = 0; h > c; c++) e.find(b, g[c], f);
- return f = this.pushStack(1 < h ? e.unique(f) : f),
- f.selector = this.selector ? this.selector + " " + b : b,
- f
- },
- filter: function (b) {
- return this.pushStack(F(this, b || [], !1))
- },
- not: function (b) {
- return this.pushStack(F(this, b || [], !0))
- },
- is: function (b) {
- return !!F(this, "string" == typeof b && i.test(b) ? e(b) : b || [], !1).length
- }
- });
- var j, y = m.document,
- gc = /^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/;
- (e.fn.init = function (b, c) {
- var f, g;
- if (!b) return this;
- if ("string" == typeof b) {
- if (f = "<" === b.charAt(0) && ">" === b.charAt(b.length - 1) && 3 <= b.length ? [null, b, null] : gc.exec(b), !f || !f[1] && c) return !c || c.jquery ? (c || j).find(b) : this.constructor(c).find(b);
- if (f[1]) {
- if (c = c instanceof e ? c[0] : c, e.merge(this, e.parseHTML(f[1], c && c.nodeType ? c.ownerDocument || c : y, !0)), xb.test(f[1]) && e.isPlainObject(c)) for (f in c) e.isFunction(this[f]) ? this[f](c[f]) : this.attr(f, c[f]);
- return this
- }
- if (g = y.getElementById(f[2]), g && g.parentNode) {
- if (g.id !== f[2]) return j.find(b);
- this.length = 1;
- this[0] = g
- }
- return this.context = y,
- this.selector = b,
- this
- }
- return b.nodeType ? (this.context = this[0] = b, this.length = 1, this) : e.isFunction(b) ? "undefined" != typeof j.ready ? j.ready(b) : b(e) : (void 0 !== b.selector && (this.selector = b.selector, this.context = b.context), e.makeArray(b, this))
- }).prototype = e.fn;
- j = e(y);
- var o = /^(?:parents|prev(?:Until|All))/,
- ic = {
- children: !0,
- contents: !0,
- next: !0,
- prev: !0
- };
- e.extend({
- dir: function (b, c, f) {
- var g = [];
- for (b = b[c]; b && 9 !== b.nodeType && (void 0 === f || 1 !== b.nodeType || !e(b).is(f));) 1 === b.nodeType && g.push(b),
- b = b[c];
- return g
- },
- sibling: function (b, c) {
- for (var e = []; b; b = b.nextSibling) 1 === b.nodeType && b !== c && e.push(b);
- return e
- }
- });
- e.fn.extend({
- has: function (b) {
- var c, f = e(b, this),
- g = f.length;
- return this.filter(function () {
- for (c = 0; g > c; c++) if (e.contains(this, f[c])) return !0
- })
- },
- closest: function (b, c) {
- for (var f, g = 0, h = this.length, k = [], n = i.test(b) || "string" != typeof b ? e(b, c || this.context) : 0; h > g; g++) for (f = this[g]; f && f !== c; f = f.parentNode) if (11 > f.nodeType && (n ? -1 < n.index(f) : 1 === f.nodeType && e.find.matchesSelector(f, b))) {
- k.push(f);
- break
- }
- return this.pushStack(1 < k.length ? e.unique(k) : k)
- },
- index: function (b) {
- return b ? "string" == typeof b ? e.inArray(this[0], e(b)) : e.inArray(b.jquery ? b[0] : b, this) : this[0] && this[0].parentNode ? this.first().prevAll().length : -1
- },
- add: function (b, c) {
- return this.pushStack(e.unique(e.merge(this.get(), e(b, c))))
- },
- addBack: function (b) {
- return this.add(null == b ? this.prevObject : this.prevObject.filter(b))
- }
- });
- e.each({
- parent: function (b) {
- return (b = b.parentNode) && 11 !== b.nodeType ? b : null
- },
- parents: function (b) {
- return e.dir(b, "parentNode")
- },
- parentsUntil: function (b, c, f) {
- return e.dir(b, "parentNode", f)
- },
- next: function (b) {
- return H(b, "nextSibling")
- },
- prev: function (b) {
- return H(b, "previousSibling")
- },
- nextAll: function (b) {
- return e.dir(b, "nextSibling")
- },
- prevAll: function (b) {
- return e.dir(b, "previousSibling")
- },
- nextUntil: function (b, c, f) {
- return e.dir(b, "nextSibling", f)
- },
- prevUntil: function (b, c, f) {
- return e.dir(b, "previousSibling", f)
- },
- siblings: function (b) {
- return e.sibling((b.parentNode || {}).firstChild, b)
- },
- children: function (b) {
- return e.sibling(b.firstChild)
- },
- contents: function (b) {
- return e.nodeName(b, "iframe") ? b.contentDocument || b.contentWindow.document : e.merge([], b.childNodes)
- }
- }, function (b, c) {
- e.fn[b] = function (f, g) {
- var h = e.map(this, c, f);
- return "Until" !== b.slice(-5) && (g = f),
- g && "string" == typeof g && (h = e.filter(g, h)),
- 1 < this.length && (ic[b] || (h = e.unique(h)), o.test(b) && (h = h.reverse())),
- this.pushStack(h)
- }
- });
- var W = /\S+/g,
- Ya = {};
- e.Callbacks = function (b) {
- b = "string" == typeof b ? Ya[b] || G(b) : e.extend({}, b);
- var c, f, g, h, k, n, q = [],
- l = !b.once && [],
- m = function (e) {
- f = b.memory && e;
- g = !0;
- k = n || 0;
- n = 0;
- h = q.length;
- for (c = !0; q && h > k; k++) if (!1 === q[k].apply(e[0], e[1]) && b.stopOnFalse) {
- f = !1;
- break
- }
- c = !1;
- q && (l ? l.length && m(l.shift()) : f ? q = [] : w.disable())
- },
- w = {
- add: function () {
- if (q) {
- var g = q.length;
- !
- function ec(c) {
- e.each(c, function (c, f) {
- var g = e.type(f);
- "function" === g ? b.unique && w.has(f) || q.push(f) : f && f.length && "string" !== g && ec(f)
- })
- }(arguments);
- c ? h = q.length : f && (n = g, m(f))
- }
- return this
- },
- remove: function () {
- return q && e.each(arguments, function (b, f) {
- for (var g; - 1 < (g = e.inArray(f, q, g));) q.splice(g, 1),
- c && (h >= g && h--, k >= g && k--)
- }),
- this
- },
- has: function (b) {
- return b ? -1 < e.inArray(b, q) : !(!q || !q.length)
- },
- empty: function () {
- return q = [],
- h = 0,
- this
- },
- disable: function () {
- return q = l = f = void 0,
- this
- },
- disabled: function () {
- return !q
- },
- lock: function () {
- return l = void 0,
- f || w.disable(),
- this
- },
- locked: function () {
- return !l
- },
- fireWith: function (b, e) {
- return !q || g && !l || (e = e || [], e = [b, e.slice ? e.slice() : e], c ? l.push(e) : m(e)),
- this
- },
- fire: function () {
- return w.fireWith(this, arguments),
- this
- },
- fired: function () {
- return !!g
- }
- };
- return w
- };
- e.extend({
- Deferred: function (b) {
- var c = [
- ["resolve", "done", e.Callbacks("once memory"), "resolved"],
- ["reject", "fail", e.Callbacks("once memory"), "rejected"],
- ["notify", "progress", e.Callbacks("memory")]
- ],
- f = "pending",
- g = {
- state: function () {
- return f
- },
- always: function () {
- return h.done(arguments).fail(arguments),
- this
- },
- then: function () {
- var b = arguments;
- return e.Deferred(function (f) {
- e.each(c, function (c, l) {
- var m = e.isFunction(b[c]) && b[c];
- h[l[1]](function () {
- var b = m && m.apply(this, arguments);
- b && e.isFunction(b.promise) ? b.promise().done(f.resolve).fail(f.reject).progress(f.notify) : f[l[0] + "With"](this === g ? f.promise() : this, m ? [b] : arguments)
- })
- });
- b = null
- }).promise()
- },
- promise: function (b) {
- return null != b ? e.extend(b, g) : g
- }
- },
- h = {};
- return g.pipe = g.then,
- e.each(c, function (b, e) {
- var q = e[2],
- l = e[3];
- g[e[1]] = q.add;
- l && q.add(function () {
- f = l
- }, c[1 ^ b][2].disable, c[2][2].lock);
- h[e[0]] = function () {
- return h[e[0] + "With"](this === h ? g : this, arguments),
- this
- };
- h[e[0] + "With"] = q.fireWith
- }),
- g.promise(h),
- b && b.call(h, h),
- h
- },
- when: function (b) {
- var c = 0,
- f = O.call(arguments),
- g = f.length,
- h = 1 !== g || b && e.isFunction(b.promise) ? g : 0,
- k = 1 === h ? b : e.Deferred(),
- n = function (b, c, e) {
- return function (f) {
- c[b] = this;
- e[b] = 1 < arguments.length ? O.call(arguments) : f;
- e === q ? k.notifyWith(c, e) : --h || k.resolveWith(c, e)
- }
- },
- q, l, m;
- if (1 < g) for (q = Array(g), l = Array(g), m = Array(g); g > c; c++) f[c] && e.isFunction(f[c].promise) ? f[c].promise().done(n(c, m, f)).fail(k.reject).progress(n(c, l, q)) : --h;
- return h || k.resolveWith(m, f),
- k.promise()
- }
- });
- var r;
- e.fn.ready = function (b) {
- return e.ready.promise().done(b),
- this
- };
- e.extend({
- isReady: !1,
- readyWait: 1,
- holdReady: function (b) {
- b ? e.readyWait++ : e.ready(!0)
- },
- ready: function (b) {
- if (!0 === b ? !--e.readyWait : !e.isReady) {
- if (!y.body) return setTimeout(e.ready);
- e.isReady = !0;
- !0 !== b && 0 < --e.readyWait || (r.resolveWith(y, [e]), e.fn.trigger && e(y).trigger("ready").off("ready"))
- }
- }
- });
- e.ready.promise = function (b) {
- if (!r) if (r = e.Deferred(), "complete" === y.readyState) setTimeout(e.ready);
- else if (y.addEventListener) y.addEventListener("DOMContentLoaded", l, !1),
- m.addEventListener("load", l, !1);
- else {
- y.attachEvent("onreadystatechange", l);
- m.attachEvent("onload", l);
- var c = !1;
- try {
- c = null == m.frameElement && y.documentElement
- } catch (f) {}
- c && c.doScroll && !
- function h() {
- if (!e.isReady) {
- try {
- c.doScroll("left")
- } catch (b) {
- return setTimeout(h, 50)
- }
- B();
- e.ready()
- }
- }()
- }
- return r.promise(b)
- };
- var U = "undefined",
- yb;
- for (yb in e(z)) break;
- z.ownLast = "0" !== yb;
- z.inlineBlockNeedsLayout = !1;
- e(function () {
- var b, c, e = y.getElementsByTagName("body")[0];
- e && (b = y.createElement("div"), b.style.cssText = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px", c = y.createElement("div"), e.appendChild(b).appendChild(c), typeof c.style.zoom !== U && (c.style.cssText = "border:0;margin:0;width:1px;padding:1px;display:inline;zoom:1", (z.inlineBlockNeedsLayout = 3 === c.offsetWidth) && (e.style.zoom = 1)), e.removeChild(b))
- });
- (function () {
- var b = y.createElement("div");
- if (null == z.deleteExpando) {
- z.deleteExpando = !0;
- try {
- delete b.test
- } catch (c) {
- z.deleteExpando = !1
- }
- }
- })();
- e.acceptData = function (b) {
- var c = e.noData[(b.nodeName + " ").toLowerCase()],
- f = +b.nodeType || 1;
- return 1 !== f && 9 !== f ? !1 : !c || !0 !== c && b.getAttribute("classid") === c
- };
- var bd = /^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,
- Tb = /([A-Z])/g;
- e.extend({
- cache: {},
- noData: {
- "applet ": !0,
- "embed ": !0,
- "object ": "clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
- },
- hasData: function (b) {
- return b = b.nodeType ? e.cache[b[e.expando]] : b[e.expando],
- !! b && !C(b)
- },
- data: function (b, c, e) {
- return I(b, c, e)
- },
- removeData: function (b, c) {
- return J(b, c)
- },
- _data: function (b, c, e) {
- return I(b, c, e, !0)
- },
- _removeData: function (b, c) {
- return J(b, c, !0)
- }
- });
- e.fn.extend({
- data: function (b, c) {
- var f, g, h, k = this[0],
- n = k && k.attributes;
- if (void 0 === b) {
- if (this.length && (h = e.data(k), 1 === k.nodeType && !e._data(k, "parsedAttrs"))) {
- for (f = n.length; f--;) g = n[f].name,
- 0 === g.indexOf("data-") && (g = e.camelCase(g.slice(5)), w(k, g, h[g]));
- e._data(k, "parsedAttrs", !0)
- }
- return h
- }
- return "object" == typeof b ? this.each(function () {
- e.data(this, b)
- }) : 1 < arguments.length ? this.each(function () {
- e.data(this, b, c)
- }) : k ? w(k, b, e.data(k, b)) : void 0
- },
- removeData: function (b) {
- return this.each(function () {
- e.removeData(this, b)
- })
- }
- });
- e.extend({
- queue: function (b, c, f) {
- var g;
- return b ? (c = (c || "fx") + "queue", g = e._data(b, c), f && (!g || e.isArray(f) ? g = e._data(b, c, e.makeArray(f)) : g.push(f)), g || []) : void 0
- },
- dequeue: function (b, c) {
- c = c || "fx";
- var f = e.queue(b, c),
- g = f.length,
- h = f.shift(),
- k = e._queueHooks(b, c),
- n = function () {
- e.dequeue(b, c)
- };
- "inprogress" === h && (h = f.shift(), g--);
- h && ("fx" === c && f.unshift("inprogress"), delete k.stop, h.call(b, n, k));
- !g && k && k.empty.fire()
- },
- _queueHooks: function (b, c) {
- var f = c + "queueHooks";
- return e._data(b, f) || e._data(b, f, {
- empty: e.Callbacks("once memory").add(function () {
- e._removeData(b, c + "queue");
- e._removeData(b, f)
- })
- })
- }
- });
- e.fn.extend({
- queue: function (b, c) {
- var f = 2;
- return "string" != typeof b && (c = b, b = "fx", f--),
- arguments.length < f ? e.queue(this[0], b) : void 0 === c ? this : this.each(function () {
- var f = e.queue(this, b, c);
- e._queueHooks(this, b);
- "fx" === b && "inprogress" !== f[0] && e.dequeue(this, b)
- })
- },
- dequeue: function (b) {
- return this.each(function () {
- e.dequeue(this, b)
- })
- },
- clearQueue: function (b) {
- return this.queue(b || "fx", [])
- },
- promise: function (b, c) {
- var f, g = 1,
- h = e.Deferred(),
- k = this,
- n = this.length,
- q = function () {
- --g || h.resolveWith(k, [k])
- };
- "string" != typeof b && (c = b, b = void 0);
- for (b = b || "fx"; n--;)(f = e._data(k[n], b + "queueHooks")) && f.empty && (g++, f.empty.add(q));
- return q(),
- h.promise(c)
- }
- });
- var be = /[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,
- ia = ["Top", "Right", "Bottom", "Left"],
- ua = function (b, c) {
- return b = c || b,
- "none" === e.css(b, "display") || !e.contains(b.ownerDocument, b)
- },
- N = e.access = function (b, c, f, g, h, k, n) {
- var q = 0,
- l = b.length,
- m = null == f;
- if ("object" === e.type(f)) for (q in h = !0, f) e.access(b, c, q, f[q], !0, k, n);
- else if (void 0 !== g && (h = !0, e.isFunction(g) || (n = !0), m && (n ? (c.call(b, g), c = null) : (m = c, c = function (b, c, f) {
- return m.call(e(b), f)
- })), c)) for (; l > q; q++) c(b[q], f, n ? g : g.call(b[q], q, c(b[q], f)));
- return h ? b : m ? c.call(b) : l ? c(b[0], f) : k
- },
- Ia = /^(?:checkbox|radio)$/i;
- !
- function () {
- var b = y.createDocumentFragment(),
- c = y.createElement("div"),
- e = y.createElement("input");
- if (c.setAttribute("className", "t"), c.innerHTML = " <link/><table></table><a href='/a'>a</a>", z.leadingWhitespace = 3 === c.firstChild.nodeType, z.tbody = !c.getElementsByTagName("tbody").length, z.htmlSerialize = !! c.getElementsByTagName("link").length, z.html5Clone = "<:nav></:nav>" !== y.createElement("nav").cloneNode(!0).outerHTML, e.type = "checkbox", e.checked = !0, b.appendChild(e), z.appendChecked = e.checked, c.innerHTML = "<textarea>x</textarea>", z.noCloneChecked = !! c.cloneNode(!0).lastChild.defaultValue, b.appendChild(c), c.innerHTML = "<input type='radio' checked='checked' name='t'/>", z.checkClone = c.cloneNode(!0).cloneNode(!0).lastChild.checked, z.noCloneEvent = !0, c.attachEvent && (c.attachEvent("onclick", function () {
- z.noCloneEvent = !1
- }), c.cloneNode(!0).click()), null == z.deleteExpando) {
- z.deleteExpando = !0;
- try {
- delete c.test
- } catch (g) {
- z.deleteExpando = !1
- }
- }
- b = c = e = null
- }();
- (function () {
- var b, c, e = y.createElement("div");
- for (b in {
- submit: !0,
- change: !0,
- focusin: !0
- }) c = "on" + b,
- (z[b + "Bubbles"] = c in m) || (e.setAttribute(c, "t"), z[b + "Bubbles"] = !1 === e.attributes[c].expando)
- })();
- var bf = /^(?:input|select|textarea)$/i,
- jc = /^key/,
- kc = /^(?:mouse|contextmenu)|click/,
- zb = /^(?:focusinfocus|focusoutblur)$/,
- Ab = /^([^.]*)(?:\.(.+)|)$/;
- e.event = {
- global: {},
- add: function (b, c, f, g, h) {
- var k, n, q, l, m, w, t, s, p, u;
- if (q = e._data(b)) {
- f.handler && (l = f, f = l.handler, h = l.selector);
- f.guid || (f.guid = e.guid++);
- (n = q.events) || (n = q.events = {});
- (w = q.handle) || (w = q.handle = function (b) {
- return typeof e === U || b && e.event.triggered === b.type ? void 0 : e.event.dispatch.apply(w.elem, arguments)
- }, w.elem = b);
- c = (c || "").match(W) || [""];
- for (q = c.length; q--;) k = Ab.exec(c[q]) || [],
- p = u = k[1],
- k = (k[2] || "").split(".").sort(),
- p && (m = e.event.special[p] || {}, p = (h ? m.delegateType : m.bindType) || p, m = e.event.special[p] || {}, t = e.extend({
- type: p,
- origType: u,
- data: g,
- handler: f,
- guid: f.guid,
- selector: h,
- needsContext: h && e.expr.match.needsContext.test(h),
- namespace: k.join(".")
- }, l), (s = n[p]) || (s = n[p] = [], s.delegateCount = 0, m.setup && !1 !== m.setup.call(b, g, k, w) || (b.addEventListener ? b.addEventListener(p, w, !1) : b.attachEvent && b.attachEvent("on" + p, w))), m.add && (m.add.call(b, t), t.handler.guid || (t.handler.guid = f.guid)), h ? s.splice(s.delegateCount++, 0, t) : s.push(t), e.event.global[p] = !0);
- b = null
- }
- },
- remove: function (b, c, f, g, h) {
- var k, n, q, l, m, w, t, s, p, u, v, x = e.hasData(b) && e._data(b);
- if (x && (w = x.events)) {
- c = (c || "").match(W) || [""];
- for (m = c.length; m--;) if (q = Ab.exec(c[m]) || [], p = v = q[1], u = (q[2] || "").split(".").sort(), p) {
- t = e.event.special[p] || {};
- p = (g ? t.delegateType : t.bindType) || p;
- s = w[p] || [];
- q = q[2] && new RegExp("(^|\\.)" + u.join("\\.(?:.*\\.|)") + "(\\.|$)");
- for (l = k = s.length; k--;) n = s[k],
- !h && v !== n.origType || f && f.guid !== n.guid || q && !q.test(n.namespace) || g && g !== n.selector && ("**" !== g || !n.selector) || (s.splice(k, 1), n.selector && s.delegateCount--, t.remove && t.remove.call(b, n));
- l && !s.length && (t.teardown && !1 !== t.teardown.call(b, u, x.handle) || e.removeEvent(b, p, x.handle), delete w[p])
- } else for (p in w) e.event.remove(b, p + c[m], f, g, !0);
- e.isEmptyObject(w) && (delete x.handle, e._removeData(b, "events"))
- }
- },
- trigger: function (b, c, f, g) {
- var h, k, n, q, l, w, p = [f || y],
- t = Y.call(b, "type") ? b.type : b;
- w = Y.call(b, "namespace") ? b.namespace.split(".") : [];
- if (n = h = f = f || y, 3 !== f.nodeType && 8 !== f.nodeType && !zb.test(t + e.event.triggered) && (0 <= t.indexOf(".") && (w = t.split("."), t = w.shift(), w.sort()), k = 0 > t.indexOf(":") && "on" + t, b = b[e.expando] ? b : new e.Event(t, "object" == typeof b && b), b.isTrigger = g ? 2 : 3, b.namespace = w.join("."), b.namespace_re = b.namespace ? new RegExp("(^|\\.)" + w.join("\\.(?:.*\\.|)") + "(\\.|$)") : null, b.result = void 0, b.target || (b.target = f), c = null == c ? [b] : e.makeArray(c, [b]), l = e.event.special[t] || {}, g || !l.trigger || !1 !== l.trigger.apply(f, c))) {
- if (!g && !l.noBubble && !e.isWindow(f)) {
- q = l.delegateType || t;
- for (zb.test(q + t) || (n = n.parentNode); n; n = n.parentNode) p.push(n),
- h = n;
- h === (f.ownerDocument || y) && p.push(h.defaultView || h.parentWindow || m)
- }
- for (w = 0;
- (n = p[w++]) && !b.isPropagationStopped();) b.type = 1 < w ? q : l.bindType || t,
- (h = (e._data(n, "events") || {})[b.type] && e._data(n, "handle")) && h.apply(n, c),
- (h = k && n[k]) && h.apply && e.acceptData(n) && (b.result = h.apply(n, c), !1 === b.result && b.preventDefault());
- if (b.type = t, !(g || b.isDefaultPrevented() || l._default && !1 !== l._default.apply(p.pop(), c)) && e.acceptData(f) && k && f[t] && !e.isWindow(f)) {
- (h = f[k]) && (f[k] = null);
- e.event.triggered = t;
- try {
- f[t]()
- } catch (s) {}
- e.event.triggered = void 0;
- h && (f[k] = h)
- }
- return b.result
- }
- },
- dispatch: function (b) {
- b = e.event.fix(b);
- var c, f, g, h, k, n = [],
- q = O.call(arguments);
- c = (e._data(this, "events") || {})[b.type] || [];
- var l = e.event.special[b.type] || {};
- if (q[0] = b, b.delegateTarget = this, !l.preDispatch || !1 !== l.preDispatch.call(this, b)) {
- n = e.event.handlers.call(this, b, c);
- for (c = 0;
- (h = n[c++]) && !b.isPropagationStopped();) for (b.currentTarget = h.elem, k = 0;
- (g = h.handlers[k++]) && !b.isImmediatePropagationStopped();) b.namespace_re && !b.namespace_re.test(g.namespace) || (b.handleObj = g, b.data = g.data, f = ((e.event.special[g.origType] || {}).handle || g.handler).apply(h.elem, q), void 0 === f || !1 !== (b.result = f) || (b.preventDefault(), b.stopPropagation()));
- return l.postDispatch && l.postDispatch.call(this, b),
- b.result
- }
- },
- handlers: function (b, c) {
- var f, g, h, k, n = [],
- q = c.delegateCount,
- l = b.target;
- if (q && l.nodeType && (!b.button || "click" !== b.type)) for (; l != this; l = l.parentNode || this) if (1 === l.nodeType && (!0 !== l.disabled || "click" !== b.type)) {
- h = [];
- for (k = 0; q > k; k++) g = c[k],
- f = g.selector + " ",
- void 0 === h[f] && (h[f] = g.needsContext ? 0 <= e(f, this).index(l) : e.find(f, this, null, [l]).length),
- h[f] && h.push(g);
- h.length && n.push({
- elem: l,
- handlers: h
- })
- }
- return q < c.length && n.push({
- elem: this,
- handlers: c.slice(q)
- }),
- n
- },
- fix: function (b) {
- if (b[e.expando]) return b;
- var c, f, g;
- c = b.type;
- var h = b,
- k = this.fixHooks[c];
- k || (this.fixHooks[c] = k = kc.test(c) ? this.mouseHooks : jc.test(c) ? this.keyHooks : {});
- g = k.props ? this.props.concat(k.props) : this.props;
- b = new e.Event(h);
- for (c = g.length; c--;) f = g[c],
- b[f] = h[f];
- return b.target || (b.target = h.srcElement || y),
- 3 === b.target.nodeType && (b.target = b.target.parentNode),
- b.metaKey = !! b.metaKey,
- k.filter ? k.filter(b, h) : b
- },
- props: "altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),
- fixHooks: {},
- keyHooks: {
- props: ["char", "charCode", "key", "keyCode"],
- filter: function (b, c) {
- return null == b.which && (b.which = null != c.charCode ? c.charCode : c.keyCode),
- b
- }
- },
- mouseHooks: {
- props: "button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),
- filter: function (b, c) {
- var e, g, h, k = c.button,
- n = c.fromElement;
- return null == b.pageX && null != c.clientX && (g = b.target.ownerDocument || y, h = g.documentElement, e = g.body, b.pageX = c.clientX + (h && h.scrollLeft || e && e.scrollLeft || 0) - (h && h.clientLeft || e && e.clientLeft || 0), b.pageY = c.clientY + (h && h.scrollTop || e && e.scrollTop || 0) - (h && h.clientTop || e && e.clientTop || 0)),
- !b.relatedTarget && n && (b.relatedTarget = n === b.target ? c.toElement : n),
- b.which || void 0 === k || (b.which = 1 & k ? 1 : 2 & k ? 3 : 4 & k ? 2 : 0),
- b
- }
- },
- special: {
- load: {
- noBubble: !0
- },
- focus: {
- trigger: function () {
- if (this !== v() && this.focus) try {
- return this.focus(),
- !1
- } catch (b) {}
- },
- delegateType: "focusin"
- },
- blur: {
- trigger: function () {
- return this === v() && this.blur ? (this.blur(), !1) : void 0
- },
- delegateType: "focusout"
- },
- click: {
- trigger: function () {
- return e.nodeName(this, "input") && "checkbox" === this.type && this.click ? (this.click(), !1) : void 0
- },
- _default: function (b) {
- return e.nodeName(b.target, "a")
- }
- },
- beforeunload: {
- postDispatch: function (b) {
- void 0 !== b.result && (b.originalEvent.returnValue = b.result)
- }
- }
- },
- simulate: function (b, c, f, g) {
- b = e.extend(new e.Event, f, {
- type: b,
- isSimulated: !0,
- originalEvent: {}
- });
- g ? e.event.trigger(b, null, c) : e.event.dispatch.call(c, b);
- b.isDefaultPrevented() && f.preventDefault()
- }
- };
- e.removeEvent = y.removeEventListener ?
- function (b, c, e) {
- b.removeEventListener && b.removeEventListener(c, e, !1)
- } : function (b, c, e) {
- c = "on" + c;
- b.detachEvent && (typeof b[c] === U && (b[c] = null), b.detachEvent(c, e))
- };
- e.Event = function (b, c) {
- return this instanceof e.Event ? (b && b.type ? (this.originalEvent = b, this.type = b.type, this.isDefaultPrevented = b.defaultPrevented || void 0 === b.defaultPrevented && (!1 === b.returnValue || b.getPreventDefault && b.getPreventDefault()) ? E : s) : this.type = b, c && e.extend(this, c), this.timeStamp = b && b.timeStamp || e.now(), void(this[e.expando] = !0)) : new e.Event(b, c)
- };
- e.Event.prototype = {
- isDefaultPrevented: s,
- isPropagationStopped: s,
- isImmediatePropagationStopped: s,
- preventDefault: function () {
- var b = this.originalEvent;
- this.isDefaultPrevented = E;
- b && (b.preventDefault ? b.preventDefault() : b.returnValue = !1)
- },
- stopPropagation: function () {
- var b = this.originalEvent;
- this.isPropagationStopped = E;
- b && (b.stopPropagation && b.stopPropagation(), b.cancelBubble = !0)
- },
- stopImmediatePropagation: function () {
- this.isImmediatePropagationStopped = E;
- this.stopPropagation()
- }
- };
- e.each({
- mouseenter: "mouseover",
- mouseleave: "mouseout"
- }, function (b, c) {
- e.event.special[b] = {
- delegateType: c,
- bindType: c,
- handle: function (b) {
- var g, h = b.relatedTarget,
- k = b.handleObj;
- return (!h || h !== this && !e.contains(this, h)) && (b.type = k.origType, g = k.handler.apply(this, arguments), b.type = c),
- g
- }
- }
- });
- z.submitBubbles || (e.event.special.submit = {
- setup: function () {
- return e.nodeName(this, "form") ? !1 : void e.event.add(this, "click._submit keypress._submit", function (b) {
- b = b.target;
- (b = e.nodeName(b, "input") || e.nodeName(b, "button") ? b.form : void 0) && !e._data(b, "submitBubbles") && (e.event.add(b, "submit._submit", function (b) {
- b._submit_bubble = !0
- }), e._data(b, "submitBubbles", !0))
- })
- },
- postDispatch: function (b) {
- b._submit_bubble && (delete b._submit_bubble, this.parentNode && !b.isTrigger && e.event.simulate("submit", this.parentNode, b, !0))
- },
- teardown: function () {
- return e.nodeName(this, "form") ? !1 : void e.event.remove(this, "._submit")
- }
- });
- z.changeBubbles || (e.event.special.change = {
- setup: function () {
- return bf.test(this.nodeName) ? (("checkbox" === this.type || "radio" === this.type) && (e.event.add(this, "propertychange._change", function (b) {
- "checked" === b.originalEvent.propertyName && (this._just_changed = !0)
- }), e.event.add(this, "click._change", function (b) {
- this._just_changed && !b.isTrigger && (this._just_changed = !1);
- e.event.simulate("change", this, b, !0)
- })), !1) : void e.event.add(this, "beforeactivate._change", function (b) {
- b = b.target;
- bf.test(b.nodeName) && !e._data(b, "changeBubbles") && (e.event.add(b, "change._change", function (b) {
- !this.parentNode || b.isSimulated || b.isTrigger || e.event.simulate("change", this.parentNode, b, !0)
- }), e._data(b, "changeBubbles", !0))
- })
- },
- handle: function (b) {
- var c = b.target;
- return this !== c || b.isSimulated || b.isTrigger || "radio" !== c.type && "checkbox" !== c.type ? b.handleObj.handler.apply(this, arguments) : void 0
- },
- teardown: function () {
- return e.event.remove(this, "._change"),
- !bf.test(this.nodeName)
- }
- });
- z.focusinBubbles || e.each({
- focus: "focusin",
- blur: "focusout"
- }, function (b, c) {
- var f = function (b) {
- e.event.simulate(c, b.target, e.event.fix(b), !0)
- };
- e.event.special[c] = {
- setup: function () {
- var g = this.ownerDocument || this,
- h = e._data(g, c);
- h || g.addEventListener(b, f, !0);
- e._data(g, c, (h || 0) + 1)
- },
- teardown: function () {
- var g = this.ownerDocument || this,
- h = e._data(g, c) - 1;
- h ? e._data(g, c, h) : (g.removeEventListener(b, f, !0), e._removeData(g, c))
- }
- }
- });
- e.fn.extend({
- on: function (b, c, f, g, h) {
- var k, n;
- if ("object" == typeof b) {
- "string" != typeof c && (f = f || c, c = void 0);
- for (k in b) this.on(k, c, f, b[k], h);
- return this
- }
- if (null == f && null == g ? (g = c, f = c = void 0) : null == g && ("string" == typeof c ? (g = f, f = void 0) : (g = f, f = c, c = void 0)), !1 === g) g = s;
- else if (!g) return this;
- return 1 === h && (n = g, g = function (b) {
- return e().off(b),
- n.apply(this, arguments)
- }, g.guid = n.guid || (n.guid = e.guid++)),
- this.each(function () {
- e.event.add(this, b, g, f, c)
- })
- },
- one: function (b, c, e, g) {
- return this.on(b, c, e, g, 1)
- },
- off: function (b, c, f) {
- var g, h;
- if (b && b.preventDefault && b.handleObj) return g = b.handleObj,
- e(b.delegateTarget).off(g.namespace ? g.origType + "." + g.namespace : g.origType, g.selector, g.handler),
- this;
- if ("object" == typeof b) {
- for (h in b) this.off(h, c, b[h]);
- return this
- }
- return (!1 === c || "function" == typeof c) && (f = c, c = void 0),
- !1 === f && (f = s),
- this.each(function () {
- e.event.remove(this, b, f, c)
- })
- },
- trigger: function (b, c) {
- return this.each(function () {
- e.event.trigger(b, c, this)
- })
- },
- triggerHandler: function (b, c) {
- var f = this[0];
- return f ? e.event.trigger(b, c, f, !0) : void 0
- }
- });
- var bg = "abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",
- lc = / jQuery\d+="(?:null|\d+)"/g,
- Bb = new RegExp("<(?:" + bg + ")[\\s/>]", "i"),
- Qa = /^\s+/,
- Cb = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,
- Db = /<([\w:]+)/,
- Eb = /<tbody/i,
- mc = /<|&#?\w+;/,
- nc = /<(?:script|style|link)/i,
- oc = /checked\s*(?:[^=]|=\s*.checked.)/i,
- Fb = /^$|\/(?:java|ecma)script/i,
- Wb = /^true\/(.*)/,
- pc = /^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,
- R = {
- option: [1, "<select multiple='multiple'>", "</select>"],
- legend: [1, "<fieldset>", "</fieldset>"],
- area: [1, "<map>", "</map>"],
- param: [1, "<object>", "</object>"],
- thead: [1, "<table>", "</table>"],
- tr: [2, "<table><tbody>", "</tbody></table>"],
- col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"],
- td: [3, "<table><tbody><tr>", "</tr></tbody></table>"],
- _default: z.htmlSerialize ? [0, "", ""] : [1, "X<div>", "</div>"]
- },
- Ra = x(y).appendChild(y.createElement("div"));
- R.optgroup = R.option;
- R.tbody = R.tfoot = R.colgroup = R.caption = R.thead;
- R.th = R.td;
- e.extend({
- clone: function (b, c, f) {
- var g, h, k, n, q, l = e.contains(b.ownerDocument, b);
- if (z.html5Clone || e.isXMLDoc(b) || !Bb.test("<" + b.nodeName + ">") ? k = b.cloneNode(!0) : (Ra.innerHTML = b.outerHTML, Ra.removeChild(k = Ra.firstChild)), !(z.noCloneEvent && z.noCloneChecked || 1 !== b.nodeType && 11 !== b.nodeType || e.isXMLDoc(b))) for (g = u(k), q = u(b), n = 0; null != (h = q[n]); ++n) if (g[n]) {
- var m = g[n],
- w = void 0,
- t = void 0,
- p = void 0;
- if (1 === m.nodeType) {
- if (w = m.nodeName.toLowerCase(), !z.noCloneEvent && m[e.expando]) {
- p = e._data(m);
- for (t in p.events) e.removeEvent(m, t, p.handle);
- m.removeAttribute(e.expando)
- }
- "script" === w && m.text !== h.text ? (ab(m).text = h.text, bb(m)) : "object" === w ? (m.parentNode && (m.outerHTML = h.outerHTML), z.html5Clone && h.innerHTML && !e.trim(m.innerHTML) && (m.innerHTML = h.innerHTML)) : "input" === w && Ia.test(h.type) ? (m.defaultChecked = m.checked = h.checked, m.value !== h.value && (m.value = h.value)) : "option" === w ? m.defaultSelected = m.selected = h.defaultSelected : ("input" === w || "textarea" === w) && (m.defaultValue = h.defaultValue)
- }
- }
- if (c) if (f) for (q = q || u(b), g = g || u(k), n = 0; null != (h = q[n]); n++) cb(h, g[n]);
- else cb(b, k);
- return g = u(k, "script"),
- 0 < g.length && Ja(g, !l && u(b, "script")),
- k
- },
- buildFragment: function (b, c, f, g) {
- for (var h, k, n, q, l, m, w, t = b.length, p = x(c), s = [], v = 0; t > v; v++) if (k = b[v], k || 0 === k) if ("object" === e.type(k)) e.merge(s, k.nodeType ? [k] : k);
- else if (mc.test(k)) {
- q = q || p.appendChild(c.createElement("div"));
- l = (Db.exec(k) || ["", ""])[1].toLowerCase();
- w = R[l] || R._default;
- q.innerHTML = w[1] + k.replace(Cb, "<$1></$2>") + w[2];
- for (h = w[0]; h--;) q = q.lastChild;
- if (!z.leadingWhitespace && Qa.test(k) && s.push(c.createTextNode(Qa.exec(k)[0])), !z.tbody) for (h = (k = "table" !== l || Eb.test(k) ? "<table>" !== w[1] || Eb.test(k) ? 0 : q : q.firstChild) && k.childNodes.length; h--;) e.nodeName(m = k.childNodes[h], "tbody") && !m.childNodes.length && k.removeChild(m);
- e.merge(s, q.childNodes);
- for (q.textContent = ""; q.firstChild;) q.removeChild(q.firstChild);
- q = p.lastChild
- } else s.push(c.createTextNode(k));
- q && p.removeChild(q);
- z.appendChecked || e.grep(u(s, "input"), Vb);
- for (v = 0; k = s[v++];) if ((!g || -1 === e.inArray(k, g)) && (n = e.contains(k.ownerDocument, k), q = u(p.appendChild(k), "script"), n && Ja(q), f)) for (h = 0; k = q[h++];) Fb.test(k.type || "") && f.push(k);
- return p
- },
- cleanData: function (b, c) {
- for (var f, g, h, k, n = 0, q = e.expando, l = e.cache, m = z.deleteExpando, w = e.event.special; null != (f = b[n]); n++) if ((c || e.acceptData(f)) && (h = f[q], k = h && l[h])) {
- if (k.events) for (g in k.events) w[g] ? e.event.remove(f, g) : e.removeEvent(f, g, k.handle);
- l[h] && (delete l[h], m ? delete f[q] : typeof f.removeAttribute !== U ? f.removeAttribute(q) : f[q] = null, X.push(h))
- }
- }
- });
- e.fn.extend({
- text: function (b) {
- return N(this, function (b) {
- return void 0 === b ? e.text(this) : this.empty().append((this[0] && this[0].ownerDocument || y).createTextNode(b))
- }, null, b, arguments.length)
- },
- append: function () {
- return this.domManip(arguments, function (b) {
- 1 !== this.nodeType && 11 !== this.nodeType && 9 !== this.nodeType || $a(this, b).appendChild(b)
- })
- },
- prepend: function () {
- return this.domManip(arguments, function (b) {
- if (1 === this.nodeType || 11 === this.nodeType || 9 === this.nodeType) {
- var c = $a(this, b);
- c.insertBefore(b, c.firstChild)
- }
- })
- },
- before: function () {
- return this.domManip(arguments, function (b) {
- this.parentNode && this.parentNode.insertBefore(b, this)
- })
- },
- after: function () {
- return this.domManip(arguments, function (b) {
- this.parentNode && this.parentNode.insertBefore(b, this.nextSibling)
- })
- },
- remove: function (b, c) {
- for (var f, g = b ? e.filter(b, this) : this, h = 0; null != (f = g[h]); h++) c || 1 !== f.nodeType || e.cleanData(u(f)),
- f.parentNode && (c && e.contains(f.ownerDocument, f) && Ja(u(f, "script")), f.parentNode.removeChild(f));
- return this
- },
- empty: function () {
- for (var b, c = 0; null != (b = this[c]); c++) {
- for (1 === b.nodeType && e.cleanData(u(b, !1)); b.firstChild;) b.removeChild(b.firstChild);
- b.options && e.nodeName(b, "select") && (b.options.length = 0)
- }
- return this
- },
- clone: function (b, c) {
- return b = null == b ? !1 : b,
- c = null == c ? b : c,
- this.map(function () {
- return e.clone(this, b, c)
- })
- },
- html: function (b) {
- return N(this, function (b) {
- var f = this[0] || {},
- g = 0,
- h = this.length;
- if (void 0 === b) return 1 === f.nodeType ? f.innerHTML.replace(lc, "") : void 0;
- if (!("string" != typeof b || nc.test(b) || !z.htmlSerialize && Bb.test(b) || !z.leadingWhitespace && Qa.test(b) || R[(Db.exec(b) || ["", ""])[1].toLowerCase()])) {
- b = b.replace(Cb, "<$1></$2>");
- try {
- for (; h > g; g++) f = this[g] || {},
- 1 === f.nodeType && (e.cleanData(u(f, !1)), f.innerHTML = b);
- f = 0
- } catch (k) {}
- }
- f && this.empty().append(b)
- }, null, b, arguments.length)
- },
- replaceWith: function () {
- var b = arguments[0];
- return this.domManip(arguments, function (c) {
- b = this.parentNode;
- e.cleanData(u(this));
- b && b.replaceChild(c, this)
- }),
- b && (b.length || b.nodeType) ? this : this.remove()
- },
- detach: function (b) {
- return this.remove(b, !0)
- },
- domManip: function (b, c) {
- b = ub.apply([], b);
- var f, g, h, k, n = 0,
- l = this.length,
- m = this,
- w = l - 1,
- p = b[0],
- t = e.isFunction(p);
- if (t || 1 < l && "string" == typeof p && !z.checkClone && oc.test(p)) return this.each(function (e) {
- var f = m.eq(e);
- t && (b[0] = p.call(this, e, f.html()));
- f.domManip(b, c)
- });
- if (l && (k = e.buildFragment(b, this[0].ownerDocument, !1, this), f = k.firstChild, 1 === k.childNodes.length && (k = f), f)) {
- h = e.map(u(k, "script"), ab);
- for (g = h.length; l > n; n++) f = k,
- n !== w && (f = e.clone(f, !0, !0), g && e.merge(h, u(f, "script"))),
- c.call(this[n], f, n);
- if (g) for (k = h[h.length - 1].ownerDocument, e.map(h, bb), n = 0; g > n; n++) f = h[n],
- Fb.test(f.type || "") && !e._data(f, "globalEval") && e.contains(k, f) && (f.src ? e._evalUrl && e._evalUrl(f.src) : e.globalEval((f.text || f.textContent || f.innerHTML || "").replace(pc, "")));
- k = f = null
- }
- return this
- }
- });
- e.each({
- appendTo: "append",
- prependTo: "prepend",
- insertBefore: "before",
- insertAfter: "after",
- replaceAll: "replaceWith"
- }, function (b, c) {
- e.fn[b] = function (b) {
- for (var g = 0, h = [], k = e(b), n = k.length - 1; n >= g; g++) b = g === n ? this : this.clone(!0),
- e(k[g])[c](b),
- Na.apply(h, b.get());
- return this.pushStack(h)
- }
- });
- var bh, fb = {};
- !
- function () {
- var b, c, e = y.createElement("div");
- e.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
- b = e.getElementsByTagName("a")[0];
- b.style.cssText = "float:left;opacity:.5";
- z.opacity = /^0.5/.test(b.style.opacity);
- z.cssFloat = !! b.style.cssFloat;
- e.style.backgroundClip = "content-box";
- e.cloneNode(!0).style.backgroundClip = "";
- z.clearCloneStyle = "content-box" === e.style.backgroundClip;
- b = e = null;
- z.shrinkWrapBlocks = function () {
- var b, e, f;
- if (null == c) {
- if (b = y.getElementsByTagName("body")[0], !b) return;
- e = y.createElement("div");
- f = y.createElement("div");
- b.appendChild(e).appendChild(f);
- c = !1;
- typeof f.style.zoom !== U && (f.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0;width:1px;padding:1px;zoom:1", f.innerHTML = "<div></div>", f.firstChild.style.width = "5px", c = 3 !== f.offsetWidth);
- b.removeChild(e)
- }
- return c
- }
- }();
- var bi = /^margin/,
- wa = new RegExp("^(" + be + ")(?!px)[a-z%]+$", "i"),
- ja, ba, qc = /^(top|right|bottom|left)$/;
- m.getComputedStyle ? (ja = function (b) {
- return b.ownerDocument.defaultView.getComputedStyle(b, null)
- }, ba = function (b, c, f) {
- var g, h, k, n, l = b.style;
- return f = f || ja(b),
- n = f ? f.getPropertyValue(c) || f[c] : void 0,
- f && ("" !== n || e.contains(b.ownerDocument, b) || (n = e.style(b, c)), wa.test(n) && bi.test(c) && (g = l.width, h = l.minWidth, k = l.maxWidth, l.minWidth = l.maxWidth = l.width = n, n = f.width, l.width = g, l.minWidth = h, l.maxWidth = k)),
- void 0 === n ? n : n + ""
- }) : y.documentElement.currentStyle && (ja = function (b) {
- return b.currentStyle
- }, ba = function (b, c, e) {
- var g, h, k, n, l = b.style;
- return e = e || ja(b),
- n = e ? e[c] : void 0,
- null == n && l && l[c] && (n = l[c]),
- wa.test(n) && !qc.test(c) && (g = l.left, h = b.runtimeStyle, k = h && h.left, k && (h.left = b.currentStyle.left), l.left = "fontSize" === c ? "1em" : n, n = l.pixelLeft + "px", l.left = g, k && (h.left = k)),
- void 0 === n ? n : n + "" || "auto"
- });
- !
- function () {
- function b() {
- var b, c, f = y.getElementsByTagName("body")[0];
- f && (b = y.createElement("div"), c = y.createElement("div"), b.style.cssText = w, f.appendChild(b).appendChild(c), c.style.cssText = "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:absolute;display:block;padding:1px;border:1px;width:4px;margin-top:1%;top:1%", e.swap(f, null != f.style.zoom ? {
- zoom: 1
- } : {}, function () {
- g = 4 === c.offsetWidth
- }), h = !0, k = !1, n = !0, m.getComputedStyle && (k = "1%" !== (m.getComputedStyle(c, null) || {}).top, h = "4px" === (m.getComputedStyle(c, null) || {
- width: "4px"
- }).width), f.removeChild(b), c = f = null)
- }
- var c, f, g, h, k, n, l = y.createElement("div"),
- w = "border:0;width:0;height:0;position:absolute;top:0;left:-9999px";
- l.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
- c = l.getElementsByTagName("a")[0];
- c.style.cssText = "float:left;opacity:.5";
- z.opacity = /^0.5/.test(c.style.opacity);
- z.cssFloat = !! c.style.cssFloat;
- l.style.backgroundClip = "content-box";
- l.cloneNode(!0).style.backgroundClip = "";
- z.clearCloneStyle = "content-box" === l.style.backgroundClip;
- c = l = null;
- e.extend(z, {
- reliableHiddenOffsets: function () {
- if (null != f) return f;
- var b, c, e, g = y.createElement("div"),
- h = y.getElementsByTagName("body")[0];
- if (h) return g.setAttribute("className", "t"),
- g.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",
- b = y.createElement("div"),
- b.style.cssText = w,
- h.appendChild(b).appendChild(g),
- g.innerHTML = "<table><tr><td></td><td>t</td></tr></table>",
- c = g.getElementsByTagName("td"),
- c[0].style.cssText = "padding:0;margin:0;border:0;display:none",
- e = 0 === c[0].offsetHeight,
- c[0].style.display = "",
- c[1].style.display = "none",
- f = e && 0 === c[0].offsetHeight,
- h.removeChild(b),
- f
- },
- boxSizing: function () {
- return null == g && b(),
- g
- },
- boxSizingReliable: function () {
- return null == h && b(),
- h
- },
- pixelPosition: function () {
- return null == k && b(),
- k
- },
- reliableMarginRight: function () {
- var b, c, e, f;
- if (null == n && m.getComputedStyle) {
- if (b = y.getElementsByTagName("body")[0], !b) return;
- c = y.createElement("div");
- e = y.createElement("div");
- c.style.cssText = w;
- b.appendChild(c).appendChild(e);
- f = e.appendChild(y.createElement("div"));
- f.style.cssText = e.style.cssText = "-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;display:block;padding:0;margin:0;border:0";
- f.style.marginRight = f.style.width = "0";
- e.style.width = "1px";
- n = !parseFloat((m.getComputedStyle(f, null) || {}).marginRight);
- b.removeChild(c)
- }
- return n
- }
- })
- }();
- e.swap = function (b, c, e, g) {
- var h, k = {};
- for (h in c) k[h] = b.style[h],
- b.style[h] = c[h];
- e = e.apply(b, g || []);
- for (h in c) b.style[h] = k[h];
- return e
- };
- var bj = /alpha\([^)]*\)/i,
- rc = /opacity\s*=\s*([^)]*)/,
- sc = /^(none|table(?!-c[ea]).+)/,
- Xb = new RegExp("^(" + be + ")(.*)$", "i"),
- tc = new RegExp("^([+-])=(" + be + ")", "i"),
- uc = {
- position: "absolute",
- visibility: "hidden",
- display: "block"
- },
- Hb = {
- letterSpacing: 0,
- fontWeight: 400
- },
- ib = ["Webkit", "O", "Moz", "ms"];
- e.extend({
- cssHooks: {
- opacity: {
- get: function (b, c) {
- if (c) {
- var e = ba(b, "opacity");
- return "" === e ? "1" : e
- }
- }
- }
- },
- cssNumber: {
- columnCount: !0,
- fillOpacity: !0,
- fontWeight: !0,
- lineHeight: !0,
- opacity: !0,
- order: !0,
- orphans: !0,
- widows: !0,
- zIndex: !0,
- zoom: !0
- },
- cssProps: {
- "float": z.cssFloat ? "cssFloat" : "styleFloat"
- },
- style: function (b, c, f, g) {
- if (b && 3 !== b.nodeType && 8 !== b.nodeType && b.style) {
- var h, k, n, l = e.camelCase(c),
- m = b.style;
- if (c = e.cssProps[l] || (e.cssProps[l] = hb(m, l)), n = e.cssHooks[c] || e.cssHooks[l], void 0 === f) return n && "get" in n && void 0 !== (h = n.get(b, !1, g)) ? h : m[c];
- if (k = typeof f, "string" === k && (h = tc.exec(f)) && (f = (h[1] + 1) * h[2] + parseFloat(e.css(b, c)), k = "number"), null != f && f === f && ("number" !== k || e.cssNumber[l] || (f += "px"), z.clearCloneStyle || "" !== f || 0 !== c.indexOf("background") || (m[c] = "inherit"), !(n && "set" in n && void 0 === (f = n.set(b, f, g))))) try {
- m[c] = "",
- m[c] = f
- } catch (w) {}
- }
- },
- css: function (b, c, f, g) {
- var h, k, n, l = e.camelCase(c);
- return c = e.cssProps[l] || (e.cssProps[l] = hb(b.style, l)),
- n = e.cssHooks[c] || e.cssHooks[l],
- n && "get" in n && (k = n.get(b, !0, f)),
- void 0 === k && (k = ba(b, c, g)),
- "normal" === k && c in Hb && (k = Hb[c]),
- "" === f || f ? (h = parseFloat(k), !0 === f || e.isNumeric(h) ? h || 0 : k) : k
- }
- });
- e.each(["height", "width"], function (b, c) {
- e.cssHooks[c] = {
- get: function (b, g, h) {
- return g ? 0 === b.offsetWidth && sc.test(e.css(b, "display")) ? e.swap(b, uc, function () {
- return mb(b, c, h)
- }) : mb(b, c, h) : void 0
- },
- set: function (b, g, h) {
- var k = h && ja(b);
- return kb(b, g, h ? lb(b, c, h, z.boxSizing() && "border-box" === e.css(b, "boxSizing", !1, k), k) : 0)
- }
- }
- });
- z.opacity || (e.cssHooks.opacity = {
- get: function (b, c) {
- return rc.test((c && b.currentStyle ? b.currentStyle.filter : b.style.filter) || "") ? .01 * parseFloat(RegExp.$1) + "" : c ? "1" : ""
- },
- set: function (b, c) {
- var f = b.style,
- g = b.currentStyle,
- h = e.isNumeric(c) ? "alpha(opacity=" + 100 * c + ")" : "",
- k = g && g.filter || f.filter || "";
- f.zoom = 1;
- (1 <= c || "" === c) && "" === e.trim(k.replace(bj, "")) && f.removeAttribute && (f.removeAttribute("filter"), "" === c || g && !g.filter) || (f.filter = bj.test(k) ? k.replace(bj, h) : k + " " + h)
- }
- });
- e.cssHooks.marginRight = gb(z.reliableMarginRight, function (b, c) {
- return c ? e.swap(b, {
- display: "inline-block"
- }, ba, [b, "marginRight"]) : void 0
- });
- e.each({
- margin: "",
- padding: "",
- border: "Width"
- }, function (b, c) {
- e.cssHooks[b + c] = {
- expand: function (e) {
- var g = 0,
- h = {};
- for (e = "string" == typeof e ? e.split(" ") : [e]; 4 > g; g++) h[b + ia[g] + c] = e[g] || e[g - 2] || e[0];
- return h
- }
- };
- bi.test(b) || (e.cssHooks[b + c].set = kb)
- });
- e.fn.extend({
- css: function (b, c) {
- return N(this, function (b, c, h) {
- var k, n = {},
- l = 0;
- if (e.isArray(c)) {
- h = ja(b);
- for (k = c.length; k > l; l++) n[c[l]] = e.css(b, c[l], !1, h);
- return n
- }
- return void 0 !== h ? e.style(b, c, h) : e.css(b, c)
- }, b, c, 1 < arguments.length)
- },
- show: function () {
- return jb(this, !0)
- },
- hide: function () {
- return jb(this)
- },
- toggle: function (b) {
- return "boolean" == typeof b ? b ? this.show() : this.hide() : this.each(function () {
- ua(this) ? e(this).show() : e(this).hide()
- })
- }
- });
- e.Tween = K;
- K.prototype = {
- constructor: K,
- init: function (b, c, f, g, h, k) {
- this.elem = b;
- this.prop = f;
- this.easing = h || "swing";
- this.options = c;
- this.start = this.now = this.cur();
- this.end = g;
- this.unit = k || (e.cssNumber[f] ? "" : "px")
- },
- cur: function () {
- var b = K.propHooks[this.prop];
- return b && b.get ? b.get(this) : K.propHooks._default.get(this)
- },
- run: function (b) {
- var c, f = K.propHooks[this.prop];
- return this.pos = c = this.options.duration ? e.easing[this.easing](b, this.options.duration * b, 0, 1, this.options.duration) : b,
- this.now = (this.end - this.start) * c + this.start,
- this.options.step && this.options.step.call(this.elem, this.now, this),
- f && f.set ? f.set(this) : K.propHooks._default.set(this),
- this
- }
- };
- K.prototype.init.prototype = K.prototype;
- K.propHooks = {
- _default: {
- get: function (b) {
- var c;
- return null == b.elem[b.prop] || b.elem.style && null != b.elem.style[b.prop] ? (c = e.css(b.elem, b.prop, ""), c && "auto" !== c ? c : 0) : b.elem[b.prop]
- },
- set: function (b) {
- e.fx.step[b.prop] ? e.fx.step[b.prop](b) : b.elem.style && (null != b.elem.style[e.cssProps[b.prop]] || e.cssHooks[b.prop]) ? e.style(b.elem, b.prop, b.now + b.unit) : b.elem[b.prop] = b.now
- }
- }
- };
- K.propHooks.scrollTop = K.propHooks.scrollLeft = {
- set: function (b) {
- b.elem.nodeType && b.elem.parentNode && (b.elem[b.prop] = b.now)
- }
- };
- e.easing = {
- linear: function (b) {
- return b
- },
- swing: function (b) {
- return.5 - Math.cos(b * Math.PI) / 2
- }
- };
- e.fx = K.prototype.init;
- e.fx.step = {};
- var bk, Ea, vc = /^(?:toggle|show|hide)$/,
- Ib = new RegExp("^(?:([+-])=|)(" + be + ")([a-z%]*)$", "i"),
- wc = /queueHooks$/,
- ya = [function (b, c, f) {
- var g, h, k, n, l, m, w, p = this,
- t = {},
- s = b.style,
- u = b.nodeType && ua(b),
- v = e._data(b, "fxshow");
- f.queue || (n = e._queueHooks(b, "fx"), null == n.unqueued && (n.unqueued = 0, l = n.empty.fire, n.empty.fire = function () {
- n.unqueued || l()
- }), n.unqueued++, p.always(function () {
- p.always(function () {
- n.unqueued--;
- e.queue(b, "fx").length || n.empty.fire()
- })
- }));
- 1 === b.nodeType && ("height" in c || "width" in c) && (f.overflow = [s.overflow, s.overflowX, s.overflowY], m = e.css(b, "display"), w = eb(b.nodeName), "none" === m && (m = w), "inline" === m && "none" === e.css(b, "float") && (z.inlineBlockNeedsLayout && "inline" !== w ? s.zoom = 1 : s.display = "inline-block"));
- f.overflow && (s.overflow = "hidden", z.shrinkWrapBlocks() || p.always(function () {
- s.overflow = f.overflow[0];
- s.overflowX = f.overflow[1];
- s.overflowY = f.overflow[2]
- }));
- for (g in c) if (h = c[g], vc.exec(h)) {
- if (delete c[g], k = k || "toggle" === h, h === (u ? "hide" : "show")) {
- if ("show" !== h || !v || void 0 === v[g]) continue;
- u = !0
- }
- t[g] = v && v[g] || e.style(b, g)
- }
- if (!e.isEmptyObject(t)) for (g in v ? "hidden" in v && (u = v.hidden) : v = e._data(b, "fxshow", {}), k && (v.hidden = !u), u ? e(b).show() : p.done(function () {
- e(b).hide()
- }), p.done(function () {
- var c;
- e._removeData(b, "fxshow");
- for (c in t) e.style(b, c, t[c])
- }), t) c = ob(u ? v[g] : 0, g, p),
- g in v || (v[g] = c.start, u && (c.end = c.start, c.start = "width" === g || "height" === g ? 1 : 0))
- }],
- va = {
- "*": [function (b, c) {
- var f = this.createTween(b, c),
- g = f.cur(),
- h = Ib.exec(c),
- k = h && h[3] || (e.cssNumber[b] ? "" : "px"),
- n = (e.cssNumber[b] || "px" !== k && +g) && Ib.exec(e.css(f.elem, b)),
- l = 1,
- m = 20;
- if (n && n[3] !== k) {
- k = k || n[3];
- h = h || [];
- n = +g || 1;
- do l = l || ".5",
- n /= l,
- e.style(f.elem, b, n + k);
- while (l !== (l = f.cur() / g) && 1 !== l && --m)
- }
- return h && (n = f.start = +n || +g || 0, f.unit = k, f.end = h[1] ? n + (h[1] + 1) * h[2] : +h[2]),
- f
- }]
- };
- e.Animation = e.extend(pb, {
- tweener: function (b, c) {
- e.isFunction(b) ? (c = b, b = ["*"]) : b = b.split(" ");
- for (var f, g = 0, h = b.length; h > g; g++) f = b[g],
- va[f] = va[f] || [],
- va[f].unshift(c)
- },
- prefilter: function (b, c) {
- c ? ya.unshift(b) : ya.push(b)
- }
- });
- e.speed = function (b, c, f) {
- var g = b && "object" == typeof b ? e.extend({}, b) : {
- complete: f || !f && c || e.isFunction(b) && b,
- duration: b,
- easing: f && c || c && !e.isFunction(c) && c
- };
- return g.duration = e.fx.off ? 0 : "number" == typeof g.duration ? g.duration : g.duration in e.fx.speeds ? e.fx.speeds[g.duration] : e.fx.speeds._default,
- (null == g.queue || !0 === g.queue) && (g.queue = "fx"),
- g.old = g.complete,
- g.complete = function () {
- e.isFunction(g.old) && g.old.call(this);
- g.queue && e.dequeue(this, g.queue)
- },
- g
- };
- e.fn.extend({
- fadeTo: function (b, c, e, g) {
- return this.filter(ua).css("opacity", 0).show().end().animate({
- opacity: c
- }, b, e, g)
- },
- animate: function (b, c, f, g) {
- var h = e.isEmptyObject(b),
- k = e.speed(c, f, g);
- c = function () {
- var c = pb(this, e.extend({}, b), k);
- (h || e._data(this, "finish")) && c.stop(!0)
- };
- return c.finish = c,
- h || !1 === k.queue ? this.each(c) : this.queue(k.queue, c)
- },
- stop: function (b, c, f) {
- var g = function (b) {
- var c = b.stop;
- delete b.stop;
- c(f)
- };
- return "string" != typeof b && (f = c, c = b, b = void 0),
- c && !1 !== b && this.queue(b || "fx", []),
- this.each(function () {
- var c = !0,
- k = null != b && b + "queueHooks",
- n = e.timers,
- l = e._data(this);
- if (k) l[k] && l[k].stop && g(l[k]);
- else for (k in l) l[k] && l[k].stop && wc.test(k) && g(l[k]);
- for (k = n.length; k--;) n[k].elem !== this || null != b && n[k].queue !== b || (n[k].anim.stop(f), c = !1, n.splice(k, 1));
- !c && f || e.dequeue(this, b)
- })
- },
- finish: function (b) {
- return !1 !== b && (b = b || "fx"),
- this.each(function () {
- var c, f = e._data(this),
- g = f[b + "queue"];
- c = f[b + "queueHooks"];
- var h = e.timers,
- k = g ? g.length : 0;
- f.finish = !0;
- e.queue(this, b, []);
- c && c.stop && c.stop.call(this, !0);
- for (c = h.length; c--;) h[c].elem === this && h[c].queue === b && (h[c].anim.stop(!0), h.splice(c, 1));
- for (c = 0; k > c; c++) g[c] && g[c].finish && g[c].finish.call(this);
- delete f.finish
- })
- }
- });
- e.each(["toggle", "show", "hide"], function (b, c) {
- var f = e.fn[c];
- e.fn[c] = function (b, e, k) {
- return null == b || "boolean" == typeof b ? f.apply(this, arguments) : this.animate(xa(c, !0), b, e, k)
- }
- });
- e.each({
- slideDown: xa("show"),
- slideUp: xa("hide"),
- slideToggle: xa("toggle"),
- fadeIn: {
- opacity: "show"
- },
- fadeOut: {
- opacity: "hide"
- },
- fadeToggle: {
- opacity: "toggle"
- }
- }, function (b, c) {
- e.fn[b] = function (b, e, h) {
- return this.animate(c, b, e, h)
- }
- });
- e.timers = [];
- e.fx.tick = function () {
- var b, c = e.timers,
- f = 0;
- for (bk = e.now(); f < c.length; f++) b = c[f],
- b() || c[f] !== b || c.splice(f--, 1);
- c.length || e.fx.stop();
- bk = void 0
- };
- e.fx.timer = function (b) {
- e.timers.push(b);
- b() ? e.fx.start() : e.timers.pop()
- };
- e.fx.interval = 13;
- e.fx.start = function () {
- Ea || (Ea = setInterval(e.fx.tick, e.fx.interval))
- };
- e.fx.stop = function () {
- clearInterval(Ea);
- Ea = null
- };
- e.fx.speeds = {
- slow: 600,
- fast: 200,
- _default: 400
- };
- e.fn.delay = function (b, c) {
- return b = e.fx ? e.fx.speeds[b] || b : b,
- c = c || "fx",
- this.queue(c, function (c, e) {
- var h = setTimeout(c, b);
- e.stop = function () {
- clearTimeout(h)
- }
- })
- };
- (function () {
- var b, c, e, g, h = y.createElement("div");
- h.setAttribute("className", "t");
- h.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
- b = h.getElementsByTagName("a")[0];
- e = y.createElement("select");
- g = e.appendChild(y.createElement("option"));
- c = h.getElementsByTagName("input")[0];
- b.style.cssText = "top:1px";
- z.getSetAttribute = "t" !== h.className;
- z.style = /top/.test(b.getAttribute("style"));
- z.hrefNormalized = "/a" === b.getAttribute("href");
- z.checkOn = !! c.value;
- z.optSelected = g.selected;
- z.enctype = !! y.createElement("form").enctype;
- e.disabled = !0;
- z.optDisabled = !g.disabled;
- c = y.createElement("input");
- c.setAttribute("value", "");
- z.input = "" === c.getAttribute("value");
- c.value = "t";
- c.setAttribute("type", "radio");
- z.radioValue = "t" === c.value
- })();
- var bl = /\r/g;
- e.fn.extend({
- val: function (b) {
- var c, f, g, h = this[0];
- if (arguments.length) return g = e.isFunction(b),
- this.each(function (f) {
- var h;
- 1 === this.nodeType && (h = g ? b.call(this, f, e(this).val()) : b, null == h ? h = "" : "number" == typeof h ? h += "" : e.isArray(h) && (h = e.map(h, function (b) {
- return null == b ? "" : b + ""
- })), c = e.valHooks[this.type] || e.valHooks[this.nodeName.toLowerCase()], c && "set" in c && void 0 !== c.set(this, h, "value") || (this.value = h))
- });
- if (h) return c = e.valHooks[h.type] || e.valHooks[h.nodeName.toLowerCase()],
- c && "get" in c && void 0 !== (f = c.get(h, "value")) ? f : (f = h.value, "string" == typeof f ? f.replace(bl, "") : null == f ? "" : f)
- }
- });
- e.extend({
- valHooks: {
- option: {
- get: function (b) {
- var c = e.find.attr(b, "value");
- return null != c ? c : e.text(b)
- }
- },
- select: {
- get: function (b) {
- for (var c, f = b.options, g = b.selectedIndex, h = "select-one" === b.type || 0 > g, k = h ? null : [], n = h ? g + 1 : f.length, l = 0 > g ? n : h ? g : 0; n > l; l++) if (c = f[l], !(!c.selected && l !== g || (z.optDisabled ? c.disabled : null !== c.getAttribute("disabled")) || c.parentNode.disabled && e.nodeName(c.parentNode, "optgroup"))) {
- if (b = e(c).val(), h) return b;
- k.push(b)
- }
- return k
- },
- set: function (b, c) {
- for (var f, g, h = b.options, k = e.makeArray(c), n = h.length; n--;) if (g = h[n], 0 <= e.inArray(e.valHooks.option.get(g), k)) try {
- g.selected = f = !0
- } catch (l) {
- g.scrollHeight
- } else g.selected = !1;
- return f || (b.selectedIndex = -1),
- h
- }
- }
- }
- });
- e.each(["radio", "checkbox"], function () {
- e.valHooks[this] = {
- set: function (b, c) {
- return e.isArray(c) ? b.checked = 0 <= e.inArray(e(b).val(), c) : void 0
- }
- };
- z.checkOn || (e.valHooks[this].get = function (b) {
- return null === b.getAttribute("value") ? "on" : b.value
- })
- });
- var bm, Jb, aa = e.expr.attrHandle,
- Ta = /^(?:checked|selected)$/i,
- fa = z.getSetAttribute,
- Fa = z.input;
- e.fn.extend({
- attr: function (b, c) {
- return N(this, e.attr, b, c, 1 < arguments.length)
- },
- removeAttr: function (b) {
- return this.each(function () {
- e.removeAttr(this, b)
- })
- }
- });
- e.extend({
- attr: function (b, c, f) {
- var g, h, k = b.nodeType;
- if (b && 3 !== k && 8 !== k && 2 !== k) return typeof b.getAttribute === U ? e.prop(b, c, f) : (1 === k && e.isXMLDoc(b) || (c = c.toLowerCase(), g = e.attrHooks[c] || (e.expr.match.bool.test(c) ? Jb : bm)), void 0 === f ? g && "get" in g && null !== (h = g.get(b, c)) ? h : (h = e.find.attr(b, c), null == h ? void 0 : h) : null !== f ? g && "set" in g && void 0 !== (h = g.set(b, f, c)) ? h : (b.setAttribute(c, f + ""), f) : void e.removeAttr(b, c))
- },
- removeAttr: function (b, c) {
- var f, g, h = 0,
- k = c && c.match(W);
- if (k && 1 === b.nodeType) for (; f = k[h++];) g = e.propFix[f] || f,
- e.expr.match.bool.test(f) ? Fa && fa || !Ta.test(f) ? b[g] = !1 : b[e.camelCase("default-" + f)] = b[g] = !1 : e.attr(b, f, ""),
- b.removeAttribute(fa ? f : g)
- },
- attrHooks: {
- type: {
- set: function (b, c) {
- if (!z.radioValue && "radio" === c && e.nodeName(b, "input")) {
- var f = b.value;
- return b.setAttribute("type", c),
- f && (b.value = f),
- c
- }
- }
- }
- }
- });
- Jb = {
- set: function (b, c, f) {
- return !1 === c ? e.removeAttr(b, f) : Fa && fa || !Ta.test(f) ? b.setAttribute(!fa && e.propFix[f] || f, f) : b[e.camelCase("default-" + f)] = b[f] = !0,
- f
- }
- };
- e.each(e.expr.match.bool.source.match(/\w+/g), function (b, c) {
- var f = aa[c] || e.find.attr;
- aa[c] = Fa && fa || !Ta.test(c) ?
- function (b, c, e) {
- var n, l;
- return e || (l = aa[c], aa[c] = n, n = null != f(b, c, e) ? c.toLowerCase() : null, aa[c] = l),
- n
- } : function (b, c, f) {
- return f ? void 0 : b[e.camelCase("default-" + c)] ? c.toLowerCase() : null
- }
- });
- Fa && fa || (e.attrHooks.value = {
- set: function (b, c, f) {
- return e.nodeName(b, "input") ? void(b.defaultValue = c) : bm && bm.set(b, c, f)
- }
- });
- fa || (bm = {
- set: function (b, c, e) {
- var g = b.getAttributeNode(e);
- return g || b.setAttributeNode(g = b.ownerDocument.createAttribute(e)),
- g.value = c += "",
- "value" === e || c === b.getAttribute(e) ? c : void 0
- }
- }, aa.id = aa.name = aa.coords = function (b, c, e) {
- var g;
- return e ? void 0 : (g = b.getAttributeNode(c)) && "" !== g.value ? g.value : null
- }, e.valHooks.button = {
- get: function (b, c) {
- var e = b.getAttributeNode(c);
- return e && e.specified ? e.value : void 0
- },
- set: bm.set
- }, e.attrHooks.contenteditable = {
- set: function (b, c, e) {
- bm.set(b, "" === c ? !1 : c, e)
- }
- }, e.each(["width", "height"], function (b, c) {
- e.attrHooks[c] = {
- set: function (b, e) {
- return "" === e ? (b.setAttribute(c, "auto"), e) : void 0
- }
- }
- }));
- z.style || (e.attrHooks.style = {
- get: function (b) {
- return b.style.cssText || void 0
- },
- set: function (b, c) {
- return b.style.cssText = c + ""
- }
- });
- var bn = /^(?:input|select|textarea|button|object)$/i,
- zc = /^(?:a|area)$/i;
- e.fn.extend({
- prop: function (b, c) {
- return N(this, e.prop, b, c, 1 < arguments.length)
- },
- removeProp: function (b) {
- return b = e.propFix[b] || b,
- this.each(function () {
- try {
- this[b] = void 0,
- delete this[b]
- } catch (c) {}
- })
- }
- });
- e.extend({
- propFix: {
- "for": "htmlFor",
- "class": "className"
- },
- prop: function (b, c, f) {
- var g, h, k, l = b.nodeType;
- if (b && 3 !== l && 8 !== l && 2 !== l) return k = 1 !== l || !e.isXMLDoc(b),
- k && (c = e.propFix[c] || c, h = e.propHooks[c]),
- void 0 !== f ? h && "set" in h && void 0 !== (g = h.set(b, f, c)) ? g : b[c] = f : h && "get" in h && null !== (g = h.get(b, c)) ? g : b[c]
- },
- propHooks: {
- tabIndex: {
- get: function (b) {
- var c = e.find.attr(b, "tabindex");
- return c ? parseInt(c, 10) : bn.test(b.nodeName) || zc.test(b.nodeName) && b.href ? 0 : -1
- }
- }
- }
- });
- z.hrefNormalized || e.each(["href", "src"], function (b, c) {
- e.propHooks[c] = {
- get: function (b) {
- return b.getAttribute(c, 4)
- }
- }
- });
- z.optSelected || (e.propHooks.selected = {
- get: function (b) {
- b = b.parentNode;
- return b && (b.selectedIndex, b.parentNode && b.parentNode.selectedIndex),
- null
- }
- });
- e.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "), function () {
- e.propFix[this.toLowerCase()] = this
- });
- z.enctype || (e.propFix.enctype = "encoding");
- var bo = /[\t\r\n\f]/g;
- e.fn.extend({
- addClass: function (b) {
- var c, f, g, h, k, l = 0,
- m = this.length;
- c = "string" == typeof b && b;
- if (e.isFunction(b)) return this.each(function (c) {
- e(this).addClass(b.call(this, c, this.className))
- });
- if (c) for (c = (b || "").match(W) || []; m > l; l++) if (f = this[l], g = 1 === f.nodeType && (f.className ? (" " + f.className + " ").replace(bo, " ") : " ")) {
- for (k = 0; h = c[k++];) 0 > g.indexOf(" " + h + " ") && (g += h + " ");
- g = e.trim(g);
- f.className !== g && (f.className = g)
- }
- return this
- },
- removeClass: function (b) {
- var c, f, g, h, k, l = 0,
- m = this.length;
- c = 0 === arguments.length || "string" == typeof b && b;
- if (e.isFunction(b)) return this.each(function (c) {
- e(this).removeClass(b.call(this, c, this.className))
- });
- if (c) for (c = (b || "").match(W) || []; m > l; l++) if (f = this[l], g = 1 === f.nodeType && (f.className ? (" " + f.className + " ").replace(bo, " ") : "")) {
- for (k = 0; h = c[k++];) for (; 0 <= g.indexOf(" " + h + " ");) g = g.replace(" " + h + " ", " ");
- g = b ? e.trim(g) : "";
- f.className !== g && (f.className = g)
- }
- return this
- },
- toggleClass: function (b, c) {
- var f = typeof b;
- return "boolean" == typeof c && "string" === f ? c ? this.addClass(b) : this.removeClass(b) : this.each(e.isFunction(b) ?
- function (f) {
- e(this).toggleClass(b.call(this, f, this.className, c), c)
- } : function () {
- if ("string" === f) for (var c, h = 0, k = e(this), l = b.match(W) || []; c = l[h++];) k.hasClass(c) ? k.removeClass(c) : k.addClass(c);
- else(f === U || "boolean" === f) && (this.className && e._data(this, "__className__", this.className), this.className = this.className || !1 === b ? "" : e._data(this, "__className__") || "")
- })
- },
- hasClass: function (b) {
- b = " " + b + " ";
- for (var c = 0, e = this.length; e > c; c++) if (1 === this[c].nodeType && 0 <= (" " + this[c].className + " ").replace(bo, " ").indexOf(b)) return !0;
- return !1
- }
- });
- e.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "), function (b, c) {
- e.fn[c] = function (b, e) {
- return 0 < arguments.length ? this.on(c, null, b, e) : this.trigger(c)
- }
- });
- e.fn.extend({
- hover: function (b, c) {
- return this.mouseenter(b).mouseleave(c || b)
- },
- bind: function (b, c, e) {
- return this.on(b, null, c, e)
- },
- unbind: function (b, c) {
- return this.off(b, null, c)
- },
- delegate: function (b, c, e, g) {
- return this.on(c, b, e, g)
- },
- undelegate: function (b, c, e) {
- return 1 === arguments.length ? this.off(b, "**") : this.off(c, b || "**", e)
- }
- });
- var bp = e.now(),
- Wa = /\?/,
- Ac = /(,)|(\[|{)|(}|])|"(?:[^"\\\r\n]|\\["\\\/bfnrt]|\\u[\da-fA-F]{4})*"\s*:?|true|false|null|-?(?!0\d)\d+(?:\.\d+|)(?:[eE][+-]?\d+|)/g;
- e.parseJSON = function (b) {
- if (m.JSON && m.JSON.parse) return m.JSON.parse(b + "");
- var c, f = null,
- g = e.trim(b + "");
- return g && !e.trim(g.replace(Ac, function (b, e, g, l) {
- return c && e && (f = 0),
- 0 === f ? b : (c = g || e, f += !l - !g, "")
- })) ? Function("return " + g)() : e.error("Invalid JSON: " + b)
- };
- e.parseXML = function (b) {
- var c, f;
- if (!b || "string" != typeof b) return null;
- try {
- m.DOMParser ? (f = new DOMParser, c = f.parseFromString(b, "text/xml")) : (c = new ActiveXObject("Microsoft.XMLDOM"), c.async = "false", c.loadXML(b))
- } catch (g) {
- c = void 0
- }
- return c && c.documentElement && !c.getElementsByTagName("parsererror").length || e.error("Invalid XML: " + b),
- c
- };
- var bq, ha, Bc = /#.*$/,
- Kb = /([?&])_=[^&]*/,
- Cc = /^(.*?):[ \t]*([^\r\n]*)\r?$/gm,
- Dc = /^(?:GET|HEAD)$/,
- Ec = /^\/\//,
- Lb = /^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,
- Mb = {},
- Ka = {},
- Nb = "*/".concat("*");
- try {
- ha = location.href
- } catch (Lc) {
- ha = y.createElement("a"),
- ha.href = "",
- ha = ha.href
- }
- bq = Lb.exec(ha.toLowerCase()) || [];
- e.extend({
- active: 0,
- lastModified: {},
- etag: {},
- ajaxSettings: {
- url: ha,
- type: "GET",
- isLocal: /^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(bq[1]),
- global: !0,
- processData: !0,
- async: !0,
- contentType: "application/x-www-form-urlencoded; charset=UTF-8",
- accepts: {
- "*": Nb,
- text: "text/plain",
- html: "text/html",
- xml: "application/xml, text/xml",
- json: "application/json, text/javascript"
- },
- contents: {
- xml: /xml/,
- html: /html/,
- json: /json/
- },
- responseFields: {
- xml: "responseXML",
- text: "responseText",
- json: "responseJSON"
- },
- converters: {
- "* text": String,
- "text html": !0,
- "text json": e.parseJSON,
- "text xml": e.parseXML
- },
- flatOptions: {
- url: !0,
- context: !0
- }
- },
- ajaxSetup: function (b, c) {
- return c ? La(La(b, e.ajaxSettings), c) : La(e.ajaxSettings, b)
- },
- ajaxPrefilter: qb(Mb),
- ajaxTransport: qb(Ka),
- ajax: function (b, c) {
- function f(b, c, f, g) {
- var h, s, y, A, I = c;
- if (2 !== B) {
- B = 2;
- m && clearTimeout(m);
- p = void 0;
- l = g || "";
- D.readyState = 0 < b ? 4 : 0;
- g = 200 <= b && 300 > b || 304 === b;
- if (f) {
- y = t;
- for (var F = D, J, H, G, E, M = y.contents, K = y.dataTypes;
- "*" === K[0];) K.shift(),
- void 0 === H && (H = y.mimeType || F.getResponseHeader("Content-Type"));
- if (H) for (E in M) if (M[E] && M[E].test(H)) {
- K.unshift(E);
- break
- }
- if (K[0] in f) G = K[0];
- else {
- for (E in f) {
- if (!K[0] || y.converters[E + " " + K[0]]) {
- G = E;
- break
- }
- J || (J = E)
- }
- G = G || J
- }
- y = G ? (G !== K[0] && K.unshift(G), f[G]) : void 0
- }
- var Q;
- a: {
- f = t;
- J = y;
- H = D;
- G = g;
- var P, O, N;
- y = {};
- F = f.dataTypes.slice();
- if (F[1]) for (P in f.converters) y[P.toLowerCase()] = f.converters[P];
- for (E = F.shift(); E;) if (f.responseFields[E] && (H[f.responseFields[E]] = J), !N && G && f.dataFilter && (J = f.dataFilter(J, f.dataType)), N = E, E = F.shift()) if ("*" === E) E = N;
- else if ("*" !== N && N !== E) {
- if (P = y[N + " " + E] || y["* " + E], !P) for (Q in y) if (O = Q.split(" "), O[1] === E && (P = y[N + " " + O[0]] || y["* " + O[0]])) {
- !0 === P ? P = y[Q] : !0 !== y[Q] && (E = O[0], F.unshift(O[1]));
- break
- }
- if (!0 !== P) if (P && f["throws"]) J = P(J);
- else try {
- J = P(J)
- } catch (R) {
- Q = {
- state: "parsererror",
- error: P ? R : "No conversion from " + N + " to " + E
- };
- break a
- }
- }
- Q = {
- state: "success",
- data: J
- }
- }
- y = Q;
- g ? (t.ifModified && (A = D.getResponseHeader("Last-Modified"), A && (e.lastModified[k] = A), A = D.getResponseHeader("etag"), A && (e.etag[k] = A)), 204 === b || "HEAD" === t.type ? I = "nocontent" : 304 === b ? I = "notmodified" : (I = y.state, h = y.data, s = y.error, g = !s)) : (s = I, (b || !I) && (I = "error", 0 > b && (b = 0)));
- D.status = b;
- D.statusText = (c || I) + "";
- g ? x.resolveWith(u, [h, I, D]) : x.rejectWith(u, [D, I, s]);
- D.statusCode(C);
- C = void 0;
- w && v.trigger(g ? "ajaxSuccess" : "ajaxError", [D, t, g ? h : s]);
- z.fireWith(u, [D, I]);
- w && (v.trigger("ajaxComplete", [D, t]), --e.active || e.event.trigger("ajaxStop"))
- }
- }
- "object" == typeof b && (c = b, b = void 0);
- c = c || {};
- var g, h, k, l, m, w, p, s, t = e.ajaxSetup({}, c),
- u = t.context || t,
- v = t.context && (u.nodeType || u.jquery) ? e(u) : e.event,
- x = e.Deferred(),
- z = e.Callbacks("once memory"),
- C = t.statusCode || {},
- y = {},
- A = {},
- B = 0,
- I = "canceled",
- D = {
- readyState: 0,
- getResponseHeader: function (b) {
- var c;
- if (2 === B) {
- if (!s) for (s = {}; c = Cc.exec(l);) s[c[1].toLowerCase()] = c[2];
- c = s[b.toLowerCase()]
- }
- return null == c ? null : c
- },
- getAllResponseHeaders: function () {
- return 2 === B ? l : null
- },
- setRequestHeader: function (b, c) {
- var e = b.toLowerCase();
- return B || (b = A[e] = A[e] || b, y[b] = c),
- this
- },
- overrideMimeType: function (b) {
- return B || (t.mimeType = b),
- this
- },
- statusCode: function (b) {
- var c;
- if (b) if (2 > B) for (c in b) C[c] = [C[c], b[c]];
- else D.always(b[D.status]);
- return this
- },
- abort: function (b) {
- b = b || I;
- return p && p.abort(b),
- f(0, b),
- this
- }
- };
- if (x.promise(D).complete = z.add, D.success = D.done, D.error = D.fail, t.url = ((b || t.url || ha) + "").replace(Bc, "").replace(Ec, bq[1] + "//"), t.type = c.method || c.type || t.method || t.type, t.dataTypes = e.trim(t.dataType || "*").toLowerCase().match(W) || [""], null == t.crossDomain && (g = Lb.exec(t.url.toLowerCase()), t.crossDomain = !(!g || g[1] === bq[1] && g[2] === bq[2] && (g[3] || ("http:" === g[1] ? "80" : "443")) === (bq[3] || ("http:" === bq[1] ? "80" : "443")))), t.data && t.processData && "string" != typeof t.data && (t.data = e.param(t.data, t.traditional)), rb(Mb, t, c, D), 2 === B) return D;
- (w = t.global) && 0 === e.active++ && e.event.trigger("ajaxStart");
- t.type = t.type.toUpperCase();
- t.hasContent = !Dc.test(t.type);
- k = t.url;
- t.hasContent || (t.data && (k = t.url += (Wa.test(k) ? "&" : "?") + t.data, delete t.data), !1 === t.cache && (t.url = Kb.test(k) ? k.replace(Kb, "$1_=" + bp++) : k + (Wa.test(k) ? "&" : "?") + "_=" + bp++));
- t.ifModified && (e.lastModified[k] && D.setRequestHeader("If-Modified-Since", e.lastModified[k]), e.etag[k] && D.setRequestHeader("If-None-Match", e.etag[k]));
- (t.data && t.hasContent && !1 !== t.contentType || c.contentType) && D.setRequestHeader("Content-Type", t.contentType);
- D.setRequestHeader("Accept", t.dataTypes[0] && t.accepts[t.dataTypes[0]] ? t.accepts[t.dataTypes[0]] + ("*" !== t.dataTypes[0] ? ", " + Nb + "; q=0.01" : "") : t.accepts["*"]);
- for (h in t.headers) D.setRequestHeader(h, t.headers[h]);
- if (t.beforeSend && (!1 === t.beforeSend.call(u, D, t) || 2 === B)) return D.abort();
- I = "abort";
- for (h in {
- success: 1,
- error: 1,
- complete: 1
- }) D[h](t[h]);
- if (p = rb(Ka, t, c, D)) {
- D.readyState = 1;
- w && v.trigger("ajaxSend", [D, t]);
- t.async && 0 < t.timeout && (m = setTimeout(function () {
- D.abort("timeout")
- }, t.timeout));
- try {
- B = 1,
- p.send(y, f)
- } catch (F) {
- if (!(2 > B)) throw F;
- f(-1, F)
- }
- } else f(-1, "No Transport");
- return D
- },
- getJSON: function (b, c, f) {
- return e.get(b, c, f, "json")
- },
- getScript: function (b, c) {
- return e.get(b, void 0, c, "script")
- }
- });
- e.each(["get", "post"], function (b, c) {
- e[c] = function (b, g, h, k) {
- return e.isFunction(g) && (k = k || h, h = g, g = void 0),
- e.ajax({
- url: b,
- type: c,
- dataType: k,
- data: g,
- success: h
- })
- }
- });
- e.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function (b, c) {
- e.fn[c] = function (b) {
- return this.on(c, b)
- }
- });
- e._evalUrl = function (b) {
- return e.ajax({
- url: b,
- type: "GET",
- dataType: "script",
- async: !1,
- global: !1,
- "throws": !0
- })
- };
- e.fn.extend({
- wrapAll: function (b) {
- if (e.isFunction(b)) return this.each(function (c) {
- e(this).wrapAll(b.call(this, c))
- });
- if (this[0]) {
- var c = e(b, this[0].ownerDocument).eq(0).clone(!0);
- this[0].parentNode && c.insertBefore(this[0]);
- c.map(function () {
- for (var b = this; b.firstChild && 1 === b.firstChild.nodeType;) b = b.firstChild;
- return b
- }).append(this)
- }
- return this
- },
- wrapInner: function (b) {
- return this.each(e.isFunction(b) ?
- function (c) {
- e(this).wrapInner(b.call(this, c))
- } : function () {
- var c = e(this),
- f = c.contents();
- f.length ? f.wrapAll(b) : c.append(b)
- })
- },
- wrap: function (b) {
- var c = e.isFunction(b);
- return this.each(function (f) {
- e(this).wrapAll(c ? b.call(this, f) : b)
- })
- },
- unwrap: function () {
- return this.parent().each(function () {
- e.nodeName(this, "body") || e(this).replaceWith(this.childNodes)
- }).end()
- }
- });
- e.expr.filters.hidden = function (b) {
- return 0 >= b.offsetWidth && 0 >= b.offsetHeight || !z.reliableHiddenOffsets() && "none" === (b.style && b.style.display || e.css(b, "display"))
- };
- e.expr.filters.visible = function (b) {
- return !e.expr.filters.hidden(b)
- };
- var br = /%20/g,
- Zb = /\[\]$/,
- Ob = /\r?\n/g,
- Gc = /^(?:submit|button|image|reset|file)$/i,
- Hc = /^(?:input|select|textarea|keygen)/i;
- e.param = function (b, c) {
- var f, g = [],
- h = function (b, c) {
- c = e.isFunction(c) ? c() : null == c ? "" : c;
- g[g.length] = encodeURIComponent(b) + "=" + encodeURIComponent(c)
- };
- if (void 0 === c && (c = e.ajaxSettings && e.ajaxSettings.traditional), e.isArray(b) || b.jquery && !e.isPlainObject(b)) e.each(b, function () {
- h(this.name, this.value)
- });
- else for (f in b) Ma(f, b[f], c, h);
- return g.join("&").replace(br, "+")
- };
- e.fn.extend({
- serialize: function () {
- return e.param(this.serializeArray())
- },
- serializeArray: function () {
- return this.map(function () {
- var b = e.prop(this, "elements");
- return b ? e.makeArray(b) : this
- }).filter(function () {
- var b = this.type;
- return this.name && !e(this).is(":disabled") && Hc.test(this.nodeName) && !Gc.test(b) && (this.checked || !Ia.test(b))
- }).map(function (b, c) {
- var f = e(this).val();
- return null == f ? null : e.isArray(f) ? e.map(f, function (b) {
- return {
- name: c.name,
- value: b.replace(Ob, "\r\n")
- }
- }) : {
- name: c.name,
- value: f.replace(Ob, "\r\n")
- }
- }).get()
- }
- });
- e.ajaxSettings.xhr = void 0 !== m.ActiveXObject ?
- function () {
- var b;
- if (!(b = !this.isLocal && /^(get|post|head|put|delete|options)$/i.test(this.type) && sb())) a: {
- try {
- b = new m.ActiveXObject("Microsoft.XMLHTTP");
- break a
- } catch (c) {}
- b = void 0
- }
- return b
- } : sb;
- var bs = 0,
- Ga = {},
- Ha = e.ajaxSettings.xhr();
- m.ActiveXObject && e(m).on("unload", function () {
- for (var b in Ga) Ga[b](void 0, !0)
- });
- z.cors = !! Ha && "withCredentials" in Ha;
- (Ha = z.ajax = !! Ha) && e.ajaxTransport(function (b) {
- if (!b.crossDomain || z.cors) {
- var c;
- return {
- send: function (f, g) {
- var h, k = b.xhr(),
- l = ++bs;
- if (k.open(b.type, b.url, b.async, b.username, b.password), b.xhrFields) for (h in b.xhrFields) k[h] = b.xhrFields[h];
- b.mimeType && k.overrideMimeType && k.overrideMimeType(b.mimeType);
- b.crossDomain || f["X-Requested-With"] || (f["X-Requested-With"] = "XMLHttpRequest");
- for (h in f) void 0 !== f[h] && k.setRequestHeader(h, f[h] + "");
- k.send(b.hasContent && b.data || null);
- c = function (f, h) {
- var m, w, p;
- if (c && (h || 4 === k.readyState)) if (delete Ga[l], c = void 0, k.onreadystatechange = e.noop, h) 4 !== k.readyState && k.abort();
- else {
- p = {};
- m = k.status;
- "string" == typeof k.responseText && (p.text = k.responseText);
- try {
- w = k.statusText
- } catch (s) {
- w = ""
- }
- m || !b.isLocal || b.crossDomain ? 1223 === m && (m = 204) : m = p.text ? 200 : 404
- }
- p && g(m, w, p, k.getAllResponseHeaders())
- };
- b.async ? 4 === k.readyState ? setTimeout(c) : k.onreadystatechange = Ga[l] = c : c()
- },
- abort: function () {
- c && c(void 0, !0)
- }
- }
- }
- });
- e.ajaxSetup({
- accepts: {
- script: "text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"
- },
- contents: {
- script: /(?:java|ecma)script/
- },
- converters: {
- "text script": function (b) {
- return e.globalEval(b),
- b
- }
- }
- });
- e.ajaxPrefilter("script", function (b) {
- void 0 === b.cache && (b.cache = !1);
- b.crossDomain && (b.type = "GET", b.global = !1)
- });
- e.ajaxTransport("script", function (b) {
- if (b.crossDomain) {
- var c, f = y.head || e("head")[0] || y.documentElement;
- return {
- send: function (e, h) {
- c = y.createElement("script");
- c.async = !0;
- b.scriptCharset && (c.charset = b.scriptCharset);
- c.src = b.url;
- c.onload = c.onreadystatechange = function (b, e) {
- (e || !c.readyState || /loaded|complete/.test(c.readyState)) && (c.onload = c.onreadystatechange = null, c.parentNode && c.parentNode.removeChild(c), c = null, e || h(200, "success"))
- };
- f.insertBefore(c, f.firstChild)
- },
- abort: function () {
- c && c.onload(void 0, !0)
- }
- }
- }
- });
- var bt = [],
- Xa = /(=)\?(?=&|$)|\?\?/;
- e.ajaxSetup({
- jsonp: "callback",
- jsonpCallback: function () {
- var b = bt.pop() || e.expando + "_" + bp++;
- return this[b] = !0,
- b
- }
- });
- e.ajaxPrefilter("json jsonp", function (b, c, f) {
- var g, h, k, l = !1 !== b.jsonp && (Xa.test(b.url) ? "url" : "string" == typeof b.data && !(b.contentType || "").indexOf("application/x-www-form-urlencoded") && Xa.test(b.data) && "data");
- return l || "jsonp" === b.dataTypes[0] ? (g = b.jsonpCallback = e.isFunction(b.jsonpCallback) ? b.jsonpCallback() : b.jsonpCallback, l ? b[l] = b[l].replace(Xa, "$1" + g) : !1 !== b.jsonp && (b.url += (Wa.test(b.url) ? "&" : "?") + b.jsonp + "=" + g), b.converters["script json"] = function () {
- return k || e.error(g + " was not called"),
- k[0]
- }, b.dataTypes[0] = "json", h = m[g], m[g] = function () {
- k = arguments
- }, f.always(function () {
- m[g] = h;
- b[g] && (b.jsonpCallback = c.jsonpCallback, bt.push(g));
- k && e.isFunction(h) && h(k[0]);
- k = h = void 0
- }), "script") : void 0
- });
- e.parseHTML = function (b, c, f) {
- if (!b || "string" != typeof b) return null;
- "boolean" == typeof c && (f = c, c = !1);
- c = c || y;
- var g = xb.exec(b);
- f = !f && [];
- return g ? [c.createElement(g[1])] : (g = e.buildFragment([b], c, f), f && f.length && e(f).remove(), e.merge([], g.childNodes))
- };
- var bu = e.fn.load;
- e.fn.load = function (b, c, f) {
- if ("string" != typeof b && bu) return bu.apply(this, arguments);
- var g, h, k, l = this,
- m = b.indexOf(" ");
- return 0 <= m && (g = b.slice(m, b.length), b = b.slice(0, m)),
- e.isFunction(c) ? (f = c, c = void 0) : c && "object" == typeof c && (k = "POST"),
- 0 < l.length && e.ajax({
- url: b,
- type: k,
- dataType: "html",
- data: c
- }).done(function (b) {
- h = arguments;
- l.html(g ? e("<div>").append(e.parseHTML(b)).find(g) : b)
- }).complete(f &&
- function (b, c) {
- l.each(f, h || [b.responseText, c, b])
- }),
- this
- };
- e.expr.filters.animated = function (b) {
- return e.grep(e.timers, function (c) {
- return b === c.elem
- }).length
- };
- var bv = m.document.documentElement;
- e.offset = {
- setOffset: function (b, c, f) {
- var g, h, k, l, m, w, p = e.css(b, "position"),
- s = e(b),
- t = {};
- "static" === p && (b.style.position = "relative");
- m = s.offset();
- k = e.css(b, "top");
- w = e.css(b, "left");
- ("absolute" === p || "fixed" === p) && -1 < e.inArray("auto", [k, w]) ? (g = s.position(), l = g.top, h = g.left) : (l = parseFloat(k) || 0, h = parseFloat(w) || 0);
- e.isFunction(c) && (c = c.call(b, f, m));
- null != c.top && (t.top = c.top - m.top + l);
- null != c.left && (t.left = c.left - m.left + h);
- "using" in c ? c.using.call(b, t) : s.css(t)
- }
- };
- e.fn.extend({
- offset: function (b) {
- if (arguments.length) return void 0 === b ? this : this.each(function (c) {
- e.offset.setOffset(this, b, c)
- });
- var c, f, g = {
- top: 0,
- left: 0
- },
- h = this[0],
- k = h && h.ownerDocument;
- if (k) return c = k.documentElement,
- e.contains(c, h) ? (typeof h.getBoundingClientRect !== U && (g = h.getBoundingClientRect()), f = tb(k), {
- top: g.top + (f.pageYOffset || c.scrollTop) - (c.clientTop || 0),
- left: g.left + (f.pageXOffset || c.scrollLeft) - (c.clientLeft || 0)
- }) : g
- },
- position: function () {
- if (this[0]) {
- var b, c, f = {
- top: 0,
- left: 0
- },
- g = this[0];
- return "fixed" === e.css(g, "position") ? c = g.getBoundingClientRect() : (b = this.offsetParent(), c = this.offset(), e.nodeName(b[0], "html") || (f = b.offset()), f.top += e.css(b[0], "borderTopWidth", !0), f.left += e.css(b[0], "borderLeftWidth", !0)),
- {
- top: c.top - f.top - e.css(g, "marginTop", !0),
- left: c.left - f.left - e.css(g, "marginLeft", !0)
- }
- }
- },
- offsetParent: function () {
- return this.map(function () {
- for (var b = this.offsetParent || bv; b && !e.nodeName(b, "html") && "static" === e.css(b, "position");) b = b.offsetParent;
- return b || bv
- })
- }
- });
- e.each({
- scrollLeft: "pageXOffset",
- scrollTop: "pageYOffset"
- }, function (b, c) {
- var f = /Y/.test(c);
- e.fn[b] = function (g) {
- return N(this, function (b, g, l) {
- var m = tb(b);
- return void 0 === l ? m ? c in m ? m[c] : m.document.documentElement[g] : b[g] : void(m ? m.scrollTo(f ? e(m).scrollLeft() : l, f ? l : e(m).scrollTop()) : b[g] = l)
- }, b, g, arguments.length, null)
- }
- });
- e.each(["top", "left"], function (b, c) {
- e.cssHooks[c] = gb(z.pixelPosition, function (b, g) {
- return g ? (g = ba(b, c), wa.test(g) ? e(b).position()[c] + "px" : g) : void 0
- })
- });
- e.each({
- Height: "height",
- Width: "width"
- }, function (b, c) {
- e.each({
- padding: "inner" + b,
- content: c,
- "": "outer" + b
- }, function (f, g) {
- e.fn[g] = function (g, k) {
- var l = arguments.length && (f || "boolean" != typeof g),
- m = f || (!0 === g || !0 === k ? "margin" : "border");
- return N(this, function (c, f, g) {
- var h;
- return e.isWindow(c) ? c.document.documentElement["client" + b] : 9 === c.nodeType ? (h = c.documentElement, Math.max(c.body["scroll" + b], h["scroll" + b], c.body["offset" + b], h["offset" + b], h["client" + b])) : void 0 === g ? e.css(c, f, m) : e.style(c, f, g, m)
- }, c, l ? g : void 0, l, null)
- }
- })
- });
- e.fn.size = function () {
- return this.length
- };
- e.fn.andSelf = e.fn.addBack;
- "function" == typeof define && define.amd && define("jquery", [], function () {
- return e
- });
- var bw = m.jQuery,
- Kc = m.$;
- return e.noConflict = function (b) {
- return m.$ === e && (m.$ = Kc),
- b && m.jQuery === e && (m.jQuery = bw),
- e
- },
- typeof p === U && (m.jQuery = m.$ = e),
- e
- });
- (function (m) {
- var p = function (l, m) {
- var p, A, B, E, s;
- B = l & 2147483648;
- E = m & 2147483648;
- p = l & 1073741824;
- A = m & 1073741824;
- s = (l & 1073741823) + (m & 1073741823);
- return p & A ? s ^ 2147483648 ^ B ^ E : p | A ? s & 1073741824 ? s ^ 3221225472 ^ B ^ E : s ^ 1073741824 ^ B ^ E : s ^ B ^ E
- },
- A = function (l, m, C, A, B, E, s) {
- l = p(l, p(p(m & C | ~m & A, B), s));
- return p(l << E | l >>> 32 - E, m)
- },
- F = function (l, m, C, A, B, E, s) {
- l = p(l, p(p(m & A | C & ~A, B), s));
- return p(l << E | l >>> 32 - E, m)
- },
- H = function (l, m, C, A, B, E, s) {
- l = p(l, p(p(m ^ C ^ A, B), s));
- return p(l << E | l >>> 32 - E, m)
- },
- G = function (l, m, C, A, B, E, s) {
- l = p(l, p(p(C ^ (m | ~A), B), s));
- return p(l << E | l >>> 32 - E, m)
- },
- B = function (l) {
- var m = "",
- p = "",
- A;
- for (A = 0; 3 >= A; A++) p = l >>> 8 * A & 255,
- p = "0" + p.toString(16),
- m += p.substr(p.length - 2, 2);
- return m
- };
- m.extend({
- md5: function (l) {
- var m = [],
- C, I, J, E, s, v, x, u, m = l.replace(/\x0d\x0a/g, "\n");
- l = "";
- for (C = 0; C < m.length; C++) I = m.charCodeAt(C),
- 128 > I ? l += String.fromCharCode(I) : (127 < I && 2048 > I ? l += String.fromCharCode(I >> 6 | 192) : (l += String.fromCharCode(I >> 12 | 224), l += String.fromCharCode(I >> 6 & 63 | 128)), l += String.fromCharCode(I & 63 | 128));
- m = l;
- l = m.length;
- C = l + 8;
- I = 16 * ((C - C % 64) / 64 + 1);
- J = Array(I - 1);
- for (s = E = 0; s < l;) C = (s - s % 4) / 4,
- E = s % 4 * 8,
- J[C] |= m.charCodeAt(s) << E,
- s++;
- C = (s - s % 4) / 4;
- J[C] |= 128 << s % 4 * 8;
- J[I - 2] = l << 3;
- J[I - 1] = l >>> 29;
- m = J;
- s = 1732584193;
- v = 4023233417;
- x = 2562383102;
- u = 271733878;
- for (l = 0; l < m.length; l += 16) C = s,
- I = v,
- J = x,
- E = u,
- s = A(s, v, x, u, m[l + 0], 7, 3614090360),
- u = A(u, s, v, x, m[l + 1], 12, 3905402710),
- x = A(x, u, s, v, m[l + 2], 17, 606105819),
- v = A(v, x, u, s, m[l + 3], 22, 3250441966),
- s = A(s, v, x, u, m[l + 4], 7, 4118548399),
- u = A(u, s, v, x, m[l + 5], 12, 1200080426),
- x = A(x, u, s, v, m[l + 6], 17, 2821735955),
- v = A(v, x, u, s, m[l + 7], 22, 4249261313),
- s = A(s, v, x, u, m[l + 8], 7, 1770035416),
- u = A(u, s, v, x, m[l + 9], 12, 2336552879),
- x = A(x, u, s, v, m[l + 10], 17, 4294925233),
- v = A(v, x, u, s, m[l + 11], 22, 2304563134),
- s = A(s, v, x, u, m[l + 12], 7, 1804603682),
- u = A(u, s, v, x, m[l + 13], 12, 4254626195),
- x = A(x, u, s, v, m[l + 14], 17, 2792965006),
- v = A(v, x, u, s, m[l + 15], 22, 1236535329),
- s = F(s, v, x, u, m[l + 1], 5, 4129170786),
- u = F(u, s, v, x, m[l + 6], 9, 3225465664),
- x = F(x, u, s, v, m[l + 11], 14, 643717713),
- v = F(v, x, u, s, m[l + 0], 20, 3921069994),
- s = F(s, v, x, u, m[l + 5], 5, 3593408605),
- u = F(u, s, v, x, m[l + 10], 9, 38016083),
- x = F(x, u, s, v, m[l + 15], 14, 3634488961),
- v = F(v, x, u, s, m[l + 4], 20, 3889429448),
- s = F(s, v, x, u, m[l + 9], 5, 568446438),
- u = F(u, s, v, x, m[l + 14], 9, 3275163606),
- x = F(x, u, s, v, m[l + 3], 14, 4107603335),
- v = F(v, x, u, s, m[l + 8], 20, 1163531501),
- s = F(s, v, x, u, m[l + 13], 5, 2850285829),
- u = F(u, s, v, x, m[l + 2], 9, 4243563512),
- x = F(x, u, s, v, m[l + 7], 14, 1735328473),
- v = F(v, x, u, s, m[l + 12], 20, 2368359562),
- s = H(s, v, x, u, m[l + 5], 4, 4294588738),
- u = H(u, s, v, x, m[l + 8], 11, 2272392833),
- x = H(x, u, s, v, m[l + 11], 16, 1839030562),
- v = H(v, x, u, s, m[l + 14], 23, 4259657740),
- s = H(s, v, x, u, m[l + 1], 4, 2763975236),
- u = H(u, s, v, x, m[l + 4], 11, 1272893353),
- x = H(x, u, s, v, m[l + 7], 16, 4139469664),
- v = H(v, x, u, s, m[l + 10], 23, 3200236656),
- s = H(s, v, x, u, m[l + 13], 4, 681279174),
- u = H(u, s, v, x, m[l + 0], 11, 3936430074),
- x = H(x, u, s, v, m[l + 3], 16, 3572445317),
- v = H(v, x, u, s, m[l + 6], 23, 76029189),
- s = H(s, v, x, u, m[l + 9], 4, 3654602809),
- u = H(u, s, v, x, m[l + 12], 11, 3873151461),
- x = H(x, u, s, v, m[l + 15], 16, 530742520),
- v = H(v, x, u, s, m[l + 2], 23, 3299628645),
- s = G(s, v, x, u, m[l + 0], 6, 4096336452),
- u = G(u, s, v, x, m[l + 7], 10, 1126891415),
- x = G(x, u, s, v, m[l + 14], 15, 2878612391),
- v = G(v, x, u, s, m[l + 5], 21, 4237533241),
- s = G(s, v, x, u, m[l + 12], 6, 1700485571),
- u = G(u, s, v, x, m[l + 3], 10, 2399980690),
- x = G(x, u, s, v, m[l + 10], 15, 4293915773),
- v = G(v, x, u, s, m[l + 1], 21, 2240044497),
- s = G(s, v, x, u, m[l + 8], 6, 1873313359),
- u = G(u, s, v, x, m[l + 15], 10, 4264355552),
- x = G(x, u, s, v, m[l + 6], 15, 2734768916),
- v = G(v, x, u, s, m[l + 13], 21, 1309151649),
- s = G(s, v, x, u, m[l + 4], 6, 4149444226),
- u = G(u, s, v, x, m[l + 11], 10, 3174756917),
- x = G(x, u, s, v, m[l + 2], 15, 718787259),
- v = G(v, x, u, s, m[l + 9], 21, 3951481745),
- s = p(s, C),
- v = p(v, I),
- x = p(x, J),
- u = p(u, E);
- return (B(s) + B(v) + B(x) + B(u)).toLowerCase()
- }
- })
- })(jQuery);
- var a = {},
- d = {},
- r = 1,
- rtime = 2E3,
- rptime = 50,
- init, des = "\u540d\u5b57\u5927\u4f5c\u6218\uff0c\u5feb\u6765\u548c\u6211\u6253\u4e00\u67b6\u5427\u3002\u3002\u3002",
- url = "http://app.46465.com/html5/mzpk/",
- gm = 0,
- pbox = 0,
- process = 0,
- $_GET = function () {
- var m = window.document.location.href.toString().split("?");
- if ("string" == typeof m[1]) {
- var m = m[1].split("&"),
- p = {},
- A;
- for (A in m) {
- var F = m[A].split("=");
- p[F[0]] = F[1]
- }
- return p
- }
- return {}
- }();
- $(document).ready(function () {
- $(".hpnum,.blood,.name").width($(".player").width() - 80);
- pbox = $("#pbox").height();
- process = $(window).height() - pbox - 135;
- $("#process").height($("#start").height() - $("#pbox").height() - 135);
- null != $_GET.d && $("#dname").val(decodeURIComponent($_GET.d))
- });
- function startGame() {
- var m = 0,
- m = 0 < $("#cproIframe1Wrap").length ? process - 100 : process;
- if ("" == $("#aname").val().replace(/^\s*/, "") || "" == $("#dname").val().replace(/^\s*/, "")) return alert("\u8bf7\u8f93\u5165\u540d\u5b57"),
- !1;
- a.part = "self";
- d.part = "match";
- a.name = $("#aname").val().replace(/^\s*/, "");
- d.name = $("#dname").val().replace(/^\s*/, "");
- $("#" + a.part + " .name").html(a.name);
- $("#" + d.part + " .name").html(d.name);
- var p = $.md5(a.name),
- A = $.md5(d.name);
- a.maxhp = a.hp = strtonum(p.substring(0, 2), 2, 2);
- a.att = strtonum(p.substring(2, 4));
- a.def = strtonum(p.substring(4, 6), .5, .5);
- a.hit = strtonum(p.substring(6, 8));
- a.miss = strtonum(p.substring(8, 10));
- a.crit = strtonum(p.substring(10, 12));
- a.tenacity = strtonum(p.substring(12, 14));
- a.speed = strtonum(p.substring(14, 16));
- a.rp = strtonum(p.substring(16, 18), .5, .5);
- a.iq = strtonum(p.substring(18, 20));
- d.maxhp = d.hp = strtonum(A.substring(0, 2), 2, 2);
- d.att = strtonum(A.substring(2, 4));
- d.def = strtonum(A.substring(4, 6), .5, .5);
- d.hit = strtonum(A.substring(6, 8));
- d.miss = strtonum(A.substring(8, 10));
- d.crit = strtonum(A.substring(10, 12));
- d.tenacity = strtonum(A.substring(12, 14));
- d.speed = strtonum(A.substring(14, 16));
- d.rp = strtonum(A.substring(16, 18), .5, .5);
- d.iq = strtonum(A.substring(18, 20));
- $("#" + a.part + " .hp").html(a.hp);
- $("#" + a.part + " .maxhp").html(a.maxhp);
- $("#" + a.part + " .att .num").html(a.att);
- $("#" + a.part + " .def .num").html(a.def);
- $("#" + a.part + " .hit .num").html(a.hit);
- $("#" + a.part + " .miss .num").html(a.miss);
- $("#" + a.part + " .crit .num").html(a.crit);
- $("#" + a.part + " .tenacity .num").html(a.tenacity);
- $("#" + a.part + " .speed .num").html(a.speed);
- $("#" + a.part + " .rp .num").html(a.rp);
- $("#" + a.part + " .iq .num").html(a.iq);
- $("#" + d.part + " .hp").html(d.hp);
- $("#" + d.part + " .maxhp").html(d.maxhp);
- $("#" + d.part + " .att .num").html(d.att);
- $("#" + d.part + " .def .num").html(d.def);
- $("#" + d.part + " .hit .num").html(d.hit);
- $("#" + d.part + " .miss .num").html(d.miss);
- $("#" + d.part + " .crit .num").html(d.crit);
- $("#" + d.part + " .tenacity .num").html(d.tenacity);
- $("#" + d.part + " .speed .num").html(d.speed);
- $("#" + d.part + " .rp .num").html(d.rp);
- $("#" + d.part + " .iq .num").html(d.iq);
- $(".HP").width(0);
- $("#bg").hide();
- $("#start").hide();
- $("#result").hide();
- $("#process").html("");
- r = 1;
- gm = 0;
- $("#pbox").height(pbox);
- $("#process").height(m);
- init = setInterval("battle()", rtime)
- }
- function restart() {
- $("#start").show();
- $("#result").hide();
- $("#process").height($("#start").height() - $("#pbox").height() - 135)
- }
- function strtonum(m, p, A) {
- var F = m.substring(0, 1).charCodeAt();
- m = m.substring(1, 2).charCodeAt();
- 60 > F && (F += 7);
- 60 > m && (m += 7);
- return Math.ceil(F * (p ? p : .75) + m * (A ? A : .75))
- }
- function battle() {
- 0 < a.hp && 0 < d.hp ? (a.speed >= d.speed ? (fight(a, d, r), 0 < a.hp && 0 < d.hp ? setTimeout("fight(d,a," + r + ")", rtime / 2) : setTimeout("checkResult(" + r + ")", rtime / 2)) : (fight(d, a, r), 0 < a.hp && 0 < d.hp ? setTimeout("fight(a,d," + r + ")", rtime / 2) : setTimeout("checkResult(" + r + ")", rtime / 2)), r++) : checkResult(r - 1)
- }
- function checkResult(m) {
- "undefined" == typeof WeixinJSBridge ? $("#rancat").attr("href", "http://app.46465.com/html5/mzpk/") : $("#rancat").attr("href", "https://open.weixin.qq.com/connect/oauth2/authorize?appid=wx44f60c4714e27147&redirect_uri=http%3a%2f%2f345.gd%2fnf%2f&response_type=code&scope=snsapi_base&state=1126#wechat_redirect");
- var p = "";
- 0 >= a.hp ? ($("#resultbg").css("background-image", "url(img/lose.jpg)"), p = "\u80dc\u8d25\u4e43\u5175\u5bb6\u5e38\u4e8b\uff0c<br>\u5927\u4fa0\u8bf7\u91cd\u65b0\u6765\u8fc7!", des = "\u6211\u88ab[" + d.name + "]\u6253\u8d25\u4e86\uff0c\u5c0f\u4f19\u4f34\u4eec\u5feb\u6765\u5e2e\u6211\u62a5\u4ec7TAT", url = "http://app.46465.com/html5/mzpk/?d=" + encodeURIComponent(d.name)) : ($("#resultbg").css("background-image", "url(img/win.jpg)"), p = "\u606d\u559c\u60a8\u5728<span class='ahurt'>" + m + "</span>\u56de\u5408\u5185\u89e3\u51b3\u4e86<span class='" + d.part + "name'>[" + d.name + "]</span>\uff0c\u5feb\u53bb\u627e\u5c0f\u4f19\u4f34\u4eec\u70ab\u8000\u5427\uff01", des = "\u6211[" + a.name + "]\u5728" + m + "\u56de\u5408\u5185\u89e3\u51b3\u4e86[" + d.name + "]\uff0c\u8c01\u6562\u4e0e\u6211\u4e00\u6218\uff01", url = "http://app.46465.com/html5/mzpk/?d=" + encodeURIComponent(a.name));
- $("#endtitle").html("<div>" + p + "</div>");
- $("#bg").show();
- $("#result").show();
- clearInterval(init);
- $("#pbox").height(340);
- 0 < $("#cproIframe1Wrap").length ? $("#process").height($(window).height() - 575) : $("#process").height($(window).height() - 485);
- $("#process").scrollTop($("#process")[0].scrollHeight)
- }
- function addMsg(m, p) {
- setTimeout('$("#process").append("<div>' + m + '</div>");$("#process").scrollTop($("#process")[0].scrollHeight);', p)
- }
- function hurtBlood(m, p, A) {
- m.hp = Math.max(Math.min(m.hp - p, m.maxhp), 0);
- setTimeout('$("#' + m.part + ' .hp").html(' + m.hp + ")", A);
- 0 < m.hp ? setTimeout('$("#' + m.part + ' .HP").width(Math.ceil($(".blood").width()*' + (1 - m.hp / m.maxhp) + "))", A) : setTimeout('$("#' + m.part + ' .HP").width($(".blood").width());addMsg("<span class=\'' + m.part + "name'>[" + m.name + ']</span>\u6251\u8857\u3002\u3002",' + A + ")", A)
- }
- function fight(m, p, A) {
- var F = m.hit,
- H = m.crit,
- G = !1,
- B = 0,
- l = 0,
- l = m.rp,
- w = m.att,
- B = Math.ceil(1E3 * Math.random());
- m.iq >= B && (B = Math.floor(4 * Math.random()), 0 == B ? (w = Math.floor(1.5 * w), addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u7684\u667a\u5546\u7ec8\u4e8e\u7ba1\u7528\u4e86\uff0c\u672c\u56de\u5408\u653b\u51fb\u529b\u63d0\u534750%", 0)) : 1 == B ? (F *= 2, addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u7684\u667a\u5546\u7ec8\u4e8e\u7ba1\u7528\u4e86\uff0c\u672c\u56de\u5408\u547d\u4e2d\u7ffb\u500d", 0)) : 2 == B ? (H *= 2, addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u7684\u667a\u5546\u7ec8\u4e8e\u7ba1\u7528\u4e86\uff0c\u672c\u56de\u5408\u66b4\u51fb\u7ffb\u500d", 0)) : 3 == B && (l *= 4, addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u7684\u667a\u5546\u7ec8\u4e8e\u7ba1\u7528\u4e86\uff0c\u672c\u56de\u5408RP\u66b4\u6da8", 0)));
- H = Math.max(H - p.tenacity, 0);
- F = Math.max(p.miss - F, 0);
- if (1 < A && (20 <= A ? (20 == A && 0 == gm && (addMsg("<span class='gmspan'>GM\u770b\u5f97\u4e0d\u8010\u70e6\u4e86\uff0c\u5077\u5077\u63d0\u9ad8\u4e86\u4e24\u4eba\u7684RP\u503c</span>", 0), gm = 1), B = Math.ceil(200 * Math.random())) : B = Math.ceil(1E3 * Math.random()), l >= B)) {
- B = Math.floor(5 * Math.random());
- if (0 == B) {
- addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u6293\u4f4f<span class='" + p.part + "name'>[" + p.name + "]</span>\u8111\u888b\u5f80\u5899\u4e0a\u4e00\u987f\u731b\u649e", 0);
- A = Math.floor(3 * Math.random()) + 4;
- for (G = 0; G < A; G++) if (l = Math.max(Math.ceil(w / 10 + Math.ceil(10 * Math.random()) - 5), 1), hurtBlood(p, l, rptime * G), addMsg("\u7830,<span class='" + p.part + "name'>[" + p.name + "]</span>\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", rptime * G), 0 >= p.hp) return !0;
- if (0 >= p.hp) return !0;
- addMsg("<span class='" + p.part + "name'>[" + p.name + "]</span>\u673a\u667a\u5730\u653e\u4e86\u4e00\u4e2a\u5c41,<span class='" + m.part + "name'>[" + m.name + "]</span>\u6342\u9f3b,<span class='" + p.part + "name'>[" + p.name + "]</span>\u8d81\u673a\u6323\u8131\u5f00\u4e86", rptime * A)
- } else 1 == B ? (l = Math.floor(p.hp / 2), hurtBlood(p, l, 0), addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u5411<span class='" + p.part + "name'>[" + p.name + "]</span>\u6295\u4e86\u6bd2\u836f\u201c\u7231\u6211\u4e00\u68d2\u69cc\u201d,<span class='" + p.part + "name'>[" + p.name + "]</span>\u653e\u8840\u89e3\u6bd2\uff0c\u635f\u5931\u4e00\u534a\u751f\u547d\u503c", 0)) : 2 == B ? (l = 0 - Math.max(Math.ceil(w / 2 + Math.ceil(30 * Math.random()) - 15), 1), hurtBlood(m, l, 0), addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u4ece\u88e4\u88c6\u91cc\u62ff\u51fa\u4e00\u4e2a\u9992\u5934\u5403\u4e86\u4e0b\u53bb,\u56de\u590d<span class='dhurt'>" + -l + "</span>\u70b9\u751f\u547d\u503c", 0)) : 3 == B ? (l = Math.max(Math.ceil(w / 2 + Math.ceil(30 * Math.random()) - 15), 1), hurtBlood(p, l, 0), addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u5411<span class='" + p.part + "name'>[" + p.name + "]</span>\u65bd\u5c55\u4e86\u9b45\u60d1,<span class='" + p.part + "name'>[" + p.name + "]</span>\u987f\u65f6\u76ee\u5149\u5446\u6ede,\u53cc\u988a\u6cdb\u7ea2,<span class='" + m.part + "name'>[" + m.name + "]</span>\u8d81\u5176\u4e0d\u5907\u653b\u5176\u8981\u5bb3,<span class='" + p.part + "name'>[" + p.name + "]</span>\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", 0)) : 4 == B && (l = Math.max(Math.ceil(w / 2 + Math.ceil(30 * Math.random()) - 15), 1), hurtBlood(m, l, 0), addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u53d1\u52a8\u6492\u5a07\u5927\u6cd5,<span class='" + p.part + "name'>[" + p.name + "]</span>\u864e\u8eaf\u4e00\u9707,\u4ee5\u8fc5\u96f7\u4e0d\u53ca\u63a9\u8033\u4e4b\u52bf\u6293\u4f4f<span class='" + m.part + "name'>[" + m.name + "]</span>\u4e00\u987f\u731b\u63cd\uff0c\u53eb\u4f60\u4e2b\u72af\u8d31\uff01<span class='" + m.part + "name'>[" + m.name + "]</span>\u635f\u5931<span class='ahurt'>" + l + "</span>\u751f\u547d\u503c", 0));
- return !0
- }
- B = Math.ceil(100 * Math.random());
- if (F >= B) return B = Math.floor(2 * Math.random()),
- 0 == B ? addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u5411<span class='" + p.part + "name'>[" + p.name + "]</span>\u53d1\u8d77\u4e86\u653b\u51fb,<span class='" + p.part + "name'>[" + p.name + "]</span>\u5c31\u5730\u4e00\u6253\u6eda\uff0c\u8eb2\u8fc7\u4e86\u653b\u51fb", 0) : 1 == B && addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u53d1\u52a8\u4e86\u7edd\u62db\u5929\u5973\u6563\u82b1,<span class='" + p.part + "name'>[" + p.name + "]</span>\u541f\u8bd7\u4e00\u9996\u201c\u4e07\u82b1\u4e1b\u4e2d\u8fc7\uff0c\u7247\u53f6\u4e0d\u6cbe\u8eab\u201d,\u8eb2\u8fc7\u4e86\u653b\u51fb", 0),
- !0;
- F + H >= B && (G = !0);
- l = Math.max(w - p.def + Math.ceil(16 * Math.random()) - 8, Math.ceil(4 * Math.random()));
- G && (l *= 2);
- hurtBlood(p, l, 0);
- G ? (B = Math.floor(4 * Math.random()), 0 == B ? addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u653b\u51fb\u4e86<span class='" + p.part + "name'>[" + p.name + "]</span>\u7684\u81f4\u547d\u90e8\u4f4d,<span class='" + p.part + "name'>[" + p.name + "]</span>\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", 0) : 1 == B ? addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u4ece\u8863\u670d\u91cc\u638f\u51fa\u4e00\u9762\u955c\u5b50,<span class='" + p.part + "name'>[" + p.name + "]</span>\u770b\u5230\u4e86\u955c\u5b50\u4e2d\u7684\u81ea\u5df1,\u65e0\u6cd5\u76f4\u89c6,\u91cd\u521b,\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", 0) : 2 == B ? addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u53ec\u5524\u51fa\u795e\u517d\u8349\u6ce5\u9a6c,\u53d1\u52a8\u4eba\u9a6c\u5408\u4e00,<span class='" + p.part + "name'>[" + p.name + "]</span>\u91cd\u521b,\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", 0) : 3 == B && addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u8f6c\u8eab\u638f\u51fa\u4e00\u628a\u7c73\u7530\u5171\u5c31\u5f00\u59cb\u98df,<span class='" + p.part + "name'>[" + p.name + "]</span>\u89c9\u5f97\u5f88\u6076\u5fc3,\u6c14\u8840\u7ffb\u817e,\u91cd\u521b,\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", 0)) : (B = Math.floor(4 * Math.random()), 0 == B ? addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u5411<span class='" + p.part + "name'>[" + p.name + "]</span>\u53d1\u8d77\u4e86\u653b\u51fb,<span class='" + p.part + "name'>[" + p.name + "]</span>\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", 0) : 1 == B ? addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u770b<span class='" + p.part + "name'>[" + p.name + "]</span>\u4e0d\u987a\u773c\u6253\u4e86ta\u4e00\u5df4\u638c,<span class='" + p.part + "name'>[" + p.name + "]</span>\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", 0) : 2 == B ? addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u53d1\u52a8\u8a00\u8bed\u653b\u51fb,<span class='" + p.part + "name'>[" + p.name + "]</span>\u81ea\u4fe1\u5fc3\u53d7\u521b,\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", 0) : 3 == B && addMsg("<span class='" + m.part + "name'>[" + m.name + "]</span>\u7528\u5947\u602a\u7684\u773c\u795e\u76ef\u7740<span class='" + p.part + "name'>[" + p.name + "]</span>\u4e00\u76f4\u770b,<span class='" + p.part + "name'>[" + p.name + "]</span>\u96be\u4ee5\u627f\u53d7,\u53d7\u5230\u4e86<span class='ahurt'>" + l + "</span>\u70b9\u4f24\u5bb3", 0))
- }
- function WeiXinShareBtn() {
- "undefined" == typeof WeixinJSBridge ? alert(" \u53ea\u6709\u5728\u5fae\u4fe1\u6d4f\u89c8\u5668\u4e2d\u624d\u80fd\u5206\u4eab\u54e6 :) ") : (WeixinJSBridge.invoke("shareTimeline", {
- img_url: "http://app.46465.com/html5/mzpk/nfbt.png",
- link: url,
- desc: des,
- title: des
- }, function (m) {}), alert("\u8bf7\u70b9\u51fb\u53f3\u4e0a\u89d2\u5206\u4eab\u7ed9\u5c0f\u4f19\u4f34\u5427 :) "))
- }
- function shareFriend() {
- WeixinJSBridge.invoke("sendAppMessage", {
- img_url: "http://app.46465.com/html5/mzpk/nfbt.png",
- link: url,
- desc: des,
- title: des
- }, function (m) {})
- }
- function shareTimeline() {
- WeixinJSBridge.invoke("shareTimeline", {
- img_url: "http://app.46465.com/html5/mzpk/nfbt.png",
- link: url,
- desc: des,
- title: des
- }, function (m) {})
- }
- document.addEventListener("WeixinJSBridgeReady", function () {
- WeixinJSBridge.call("hideToolbar");
- WeixinJSBridge.on("menu:share:appmessage", function (m) {
- shareFriend()
- });
- WeixinJSBridge.on("menu:share:timeline", function (m) {
- shareTimeline()
- })
- });
|