jquerynew.js 126 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804
  1. (function (A, w) {
  2. function ma() {
  3. if (!c.isReady) {
  4. try {
  5. s.documentElement.doScroll("left")
  6. } catch (a) {
  7. setTimeout(ma, 1);
  8. return
  9. }
  10. c.ready()
  11. }
  12. }
  13. function Qa(a, b) {
  14. b.src ? c.ajax({url: b.src, async: false, dataType: "script"}) : c.globalEval(b.text || b.textContent || b.innerHTML || "");
  15. b.parentNode && b.parentNode.removeChild(b)
  16. }
  17. function X(a, b, d, f, e, j) {
  18. var i = a.length;
  19. if (typeof b === "object") {
  20. for (var o in b) X(a, o, b[o], f, e, d);
  21. return a
  22. }
  23. if (d !== w) {
  24. f = !j && f && c.isFunction(d);
  25. for (o = 0; o < i; o++) e(a[o], b, f ? d.call(a[o], o, e(a[o], b)) : d, j);
  26. return a
  27. }
  28. return i ? e(a[0], b) : w
  29. }
  30. function J() {
  31. return (new Date).getTime()
  32. }
  33. function Y() {
  34. return false
  35. }
  36. function Z() {
  37. return true
  38. }
  39. function na(a, b, d) {
  40. d[0].type = a;
  41. return c.event.handle.apply(b, d)
  42. }
  43. function oa(a) {
  44. var b, d = [], f = [], e = arguments, j, i, o, k, n, r;
  45. i = c.data(this, "events");
  46. if (!(a.liveFired === this || !i || !i.live || a.button && a.type === "click")) {
  47. a.liveFired = this;
  48. var u = i.live.slice(0);
  49. for (k = 0; k < u.length; k++) {
  50. i = u[k];
  51. i.origType.replace(O, "") === a.type ? f.push(i.selector) : u.splice(k--, 1)
  52. }
  53. j = c(a.target).closest(f, a.currentTarget);
  54. n = 0;
  55. for (r = j.length; n < r; n++) for (k = 0; k < u.length; k++) {
  56. i = u[k];
  57. if (j[n].selector === i.selector) {
  58. o = j[n].elem;
  59. f = null;
  60. if (i.preType === "mouseenter" || i.preType === "mouseleave") f = c(a.relatedTarget).closest(i.selector)[0];
  61. if (!f || f !== o) d.push({elem: o, handleObj: i})
  62. }
  63. }
  64. n = 0;
  65. for (r = d.length; n < r; n++) {
  66. j = d[n];
  67. a.currentTarget = j.elem;
  68. a.data = j.handleObj.data;
  69. a.handleObj = j.handleObj;
  70. if (j.handleObj.origHandler.apply(j.elem, e) === false) {
  71. b = false;
  72. break
  73. }
  74. }
  75. return b
  76. }
  77. }
  78. function pa(a, b) {
  79. return "live." + (a && a !== "*" ? a + "." : "") + b.replace(/\./g, "`").replace(/ /g, "&")
  80. }
  81. function qa(a) {
  82. return !a || !a.parentNode || a.parentNode.nodeType === 11
  83. }
  84. function ra(a, b) {
  85. var d = 0;
  86. b.each(function () {
  87. if (this.nodeName === (a[d] && a[d].nodeName)) {
  88. var f = c.data(a[d++]), e = c.data(this, f);
  89. if (f = f && f.events) {
  90. delete e.handle;
  91. e.events = {};
  92. for (var j in f) for (var i in f[j]) c.event.add(this, j, f[j][i], f[j][i].data)
  93. }
  94. }
  95. })
  96. }
  97. function sa(a, b, d) {
  98. var f, e, j;
  99. b = b && b[0] ? b[0].ownerDocument || b[0] : s;
  100. if (a.length === 1 && typeof a[0] === "string" && a[0].length < 512 && b === s && !ta.test(a[0]) && (c.support.checkClone || !ua.test(a[0]))) {
  101. e = true;
  102. if (j = c.fragments[a[0]]) if (j !== 1) f = j
  103. }
  104. if (!f) {
  105. f = b.createDocumentFragment();
  106. c.clean(a, b, f, d)
  107. }
  108. if (e) c.fragments[a[0]] = j ? f : 1;
  109. return {fragment: f, cacheable: e}
  110. }
  111. function K(a, b) {
  112. var d = {};
  113. c.each(va.concat.apply([], va.slice(0, b)), function () {
  114. d[this] = a
  115. });
  116. return d
  117. }
  118. function wa(a) {
  119. return "scrollTo" in a && a.document ? a : a.nodeType === 9 ? a.defaultView || a.parentWindow : false
  120. }
  121. var c = function (a, b) {
  122. return new c.fn.init(a, b)
  123. }, Ra = A.jQuery, Sa = A.$, s = A.document, T, Ta = /^[^<]*(<[\w\W]+>)[^>]*$|^#([\w-]+)$/, Ua = /^.[^:#\[\.,]*$/, Va = /\S/, Wa = /^(\s|\u00A0)+|(\s|\u00A0)+$/g, Xa = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, P = navigator.userAgent, xa = false, Q = [], L, $ = Object.prototype.toString, aa = Object.prototype.hasOwnProperty, ba = Array.prototype.push, R = Array.prototype.slice, ya = Array.prototype.indexOf;
  124. c.fn = c.prototype = {
  125. init: function (a, b) {
  126. var d, f;
  127. if (!a) return this;
  128. if (a.nodeType) {
  129. this.context = this[0] = a;
  130. this.length = 1;
  131. return this
  132. }
  133. if (a === "body" && !b) {
  134. this.context = s;
  135. this[0] = s.body;
  136. this.selector = "body";
  137. this.length = 1;
  138. return this
  139. }
  140. if (typeof a === "string") if ((d = Ta.exec(a)) && (d[1] || !b)) if (d[1]) {
  141. f = b ? b.ownerDocument || b : s;
  142. if (a = Xa.exec(a)) if (c.isPlainObject(b)) {
  143. a = [s.createElement(a[1])];
  144. c.fn.attr.call(a, b, true)
  145. } else a = [f.createElement(a[1])]; else {
  146. a = sa([d[1]], [f]);
  147. a = (a.cacheable ? a.fragment.cloneNode(true) : a.fragment).childNodes
  148. }
  149. return c.merge(this, a)
  150. } else {
  151. if (b = s.getElementById(d[2])) {
  152. if (b.id !== d[2]) return T.find(a);
  153. this.length = 1;
  154. this[0] = b
  155. }
  156. this.context = s;
  157. this.selector = a;
  158. return this
  159. } else if (!b && /^\w+$/.test(a)) {
  160. this.selector = a;
  161. this.context = s;
  162. a = s.getElementsByTagName(a);
  163. return c.merge(this, a)
  164. } else return !b || b.jquery ? (b || T).find(a) : c(b).find(a); else if (c.isFunction(a)) return T.ready(a);
  165. if (a.selector !== w) {
  166. this.selector = a.selector;
  167. this.context = a.context
  168. }
  169. return c.makeArray(a, this)
  170. }, selector: "", jquery: "1.4.2", length: 0, size: function () {
  171. return this.length
  172. }, toArray: function () {
  173. return R.call(this, 0)
  174. }, get: function (a) {
  175. return a == null ? this.toArray() : a < 0 ? this.slice(a)[0] : this[a]
  176. }, pushStack: function (a, b, d) {
  177. var f = c();
  178. c.isArray(a) ? ba.apply(f, a) : c.merge(f, a);
  179. f.prevObject = this;
  180. f.context = this.context;
  181. if (b === "find") f.selector = this.selector + (this.selector ? " " : "") + d; else if (b) f.selector = this.selector + "." + b + "(" + d + ")";
  182. return f
  183. }, each: function (a, b) {
  184. return c.each(this, a, b)
  185. }, ready: function (a) {
  186. c.bindReady();
  187. if (c.isReady) a.call(s, c); else Q && Q.push(a);
  188. return this
  189. }, eq: function (a) {
  190. return a === -1 ? this.slice(a) : this.slice(a, +a + 1)
  191. }, first: function () {
  192. return this.eq(0)
  193. }, last: function () {
  194. return this.eq(-1)
  195. }, slice: function () {
  196. return this.pushStack(R.apply(this, arguments), "slice", R.call(arguments).join(","))
  197. }, map: function (a) {
  198. return this.pushStack(c.map(this, function (b, d) {
  199. return a.call(b, d, b)
  200. }))
  201. }, end: function () {
  202. return this.prevObject || c(null)
  203. }, push: ba, sort: [].sort, splice: [].splice
  204. };
  205. c.fn.init.prototype = c.fn;
  206. c.extend = c.fn.extend = function () {
  207. var a = arguments[0] || {}, b = 1, d = arguments.length, f = false, e, j, i, o;
  208. if (typeof a === "boolean") {
  209. f = a;
  210. a = arguments[1] || {};
  211. b = 2
  212. }
  213. if (typeof a !== "object" && !c.isFunction(a)) a = {};
  214. if (d === b) {
  215. a = this;
  216. --b
  217. }
  218. for (; b < d; b++) if ((e = arguments[b]) != null) for (j in e) {
  219. i = a[j];
  220. o = e[j];
  221. if (a !== o) if (f && o && (c.isPlainObject(o) || c.isArray(o))) {
  222. i = i && (c.isPlainObject(i) || c.isArray(i)) ? i : c.isArray(o) ? [] : {};
  223. a[j] = c.extend(f, i, o)
  224. } else if (o !== w) a[j] = o
  225. }
  226. return a
  227. };
  228. c.extend({
  229. noConflict: function (a) {
  230. A.$ = Sa;
  231. if (a) A.jQuery = Ra;
  232. return c
  233. }, isReady: false, ready: function () {
  234. if (!c.isReady) {
  235. if (!s.body) return setTimeout(c.ready, 13);
  236. c.isReady = true;
  237. if (Q) {
  238. for (var a, b = 0; a = Q[b++];) a.call(s, c);
  239. Q = null
  240. }
  241. c.fn.triggerHandler && c(s).triggerHandler("ready")
  242. }
  243. }, bindReady: function () {
  244. if (!xa) {
  245. xa = true;
  246. if (s.readyState === "complete") return c.ready();
  247. if (s.addEventListener) {
  248. s.addEventListener("DOMContentLoaded", L, false);
  249. A.addEventListener("load", c.ready, false)
  250. } else if (s.attachEvent) {
  251. s.attachEvent("onreadystatechange", L);
  252. A.attachEvent("onload", c.ready);
  253. var a = false;
  254. try {
  255. a = A.frameElement == null
  256. } catch (b) {
  257. }
  258. s.documentElement.doScroll && a && ma()
  259. }
  260. }
  261. }, isFunction: function (a) {
  262. return $.call(a) === "[object Function]"
  263. }, isArray: function (a) {
  264. return $.call(a) === "[object Array]"
  265. }, isPlainObject: function (a) {
  266. if (!a || $.call(a) !== "[object Object]" || a.nodeType || a.setInterval) return false;
  267. if (a.constructor && !aa.call(a, "constructor") && !aa.call(a.constructor.prototype, "isPrototypeOf")) return false;
  268. var b;
  269. for (b in a);
  270. return b === w || aa.call(a, b)
  271. }, isEmptyObject: function (a) {
  272. for (var b in a) return false;
  273. return true
  274. }, error: function (a) {
  275. throw a;
  276. }, parseJSON: function (a) {
  277. if (typeof a !== "string" || !a) return null;
  278. a = c.trim(a);
  279. if (/^[\],:{}\s]*$/.test(a.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, "@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, "]").replace(/(?:^|:|,)(?:\s*\[)+/g, ""))) return A.JSON && A.JSON.parse ? A.JSON.parse(a) : (new Function("return " + a))(); else c.error("Invalid JSON: " + a)
  280. }, noop: function () {
  281. }, globalEval: function (a) {
  282. if (a && Va.test(a)) {
  283. var b = s.getElementsByTagName("head")[0] || s.documentElement, d = s.createElement("script");
  284. d.type = "text/javascript";
  285. if (c.support.scriptEval) d.appendChild(s.createTextNode(a)); else d.text = a;
  286. b.insertBefore(d, b.firstChild);
  287. b.removeChild(d)
  288. }
  289. }, nodeName: function (a, b) {
  290. return a.nodeName && a.nodeName.toUpperCase() === b.toUpperCase()
  291. }, each: function (a, b, d) {
  292. var f, e = 0, j = a.length, i = j === w || c.isFunction(a);
  293. if (d) if (i) for (f in a) {
  294. if (b.apply(a[f], d) === false) break
  295. } else for (; e < j;) {
  296. if (b.apply(a[e++], d) === false) break
  297. } else if (i) for (f in a) {
  298. if (b.call(a[f], f, a[f]) === false) break
  299. } else for (d = a[0]; e < j && b.call(d, e, d) !== false; d = a[++e]);
  300. return a
  301. }, trim: function (a) {
  302. return (a || "").replace(Wa, "")
  303. }, makeArray: function (a, b) {
  304. b = b || [];
  305. if (a != null) a.length == null || typeof a === "string" || c.isFunction(a) || typeof a !== "function" && a.setInterval ? ba.call(b, a) : c.merge(b, a);
  306. return b
  307. }, inArray: function (a, b) {
  308. if (b.indexOf) return b.indexOf(a);
  309. for (var d = 0, f = b.length; d < f; d++) if (b[d] === a) return d;
  310. return -1
  311. }, merge: function (a, b) {
  312. var d = a.length, f = 0;
  313. if (typeof b.length === "number") for (var e = b.length; f < e; f++) a[d++] = b[f]; else for (; b[f] !== w;) a[d++] = b[f++];
  314. a.length = d;
  315. return a
  316. }, grep: function (a, b, d) {
  317. for (var f = [], e = 0, j = a.length; e < j; e++) !d !== !b(a[e], e) && f.push(a[e]);
  318. return f
  319. }, map: function (a, b, d) {
  320. for (var f = [], e, j = 0, i = a.length; j < i; j++) {
  321. e = b(a[j], j, d);
  322. if (e != null) f[f.length] = e
  323. }
  324. return f.concat.apply([], f)
  325. }, guid: 1, proxy: function (a, b, d) {
  326. if (arguments.length === 2) if (typeof b === "string") {
  327. d = a;
  328. a = d[b];
  329. b = w
  330. } else if (b && !c.isFunction(b)) {
  331. d = b;
  332. b = w
  333. }
  334. if (!b && a) b = function () {
  335. return a.apply(d || this, arguments)
  336. };
  337. if (a) b.guid = a.guid = a.guid || b.guid || c.guid++;
  338. return b
  339. }, uaMatch: function (a) {
  340. a = a.toLowerCase();
  341. a = /(webkit)[ \/]([\w.]+)/.exec(a) || /(opera)(?:.*version)?[ \/]([\w.]+)/.exec(a) || /(msie) ([\w.]+)/.exec(a) || !/compatible/.test(a) && /(mozilla)(?:.*? rv:([\w.]+))?/.exec(a) || [];
  342. return {browser: a[1] || "", version: a[2] || "0"}
  343. }, browser: {}
  344. });
  345. P = c.uaMatch(P);
  346. if (P.browser) {
  347. c.browser[P.browser] = true;
  348. c.browser.version = P.version
  349. }
  350. if (c.browser.webkit) c.browser.safari = true;
  351. if (ya) c.inArray = function (a, b) {
  352. return ya.call(b, a)
  353. };
  354. T = c(s);
  355. if (s.addEventListener) L = function () {
  356. s.removeEventListener("DOMContentLoaded", L, false);
  357. c.ready()
  358. }; else if (s.attachEvent) L = function () {
  359. if (s.readyState === "complete") {
  360. s.detachEvent("onreadystatechange", L);
  361. c.ready()
  362. }
  363. };
  364. (function () {
  365. c.support = {};
  366. var a = s.documentElement, b = s.createElement("script"), d = s.createElement("div"), f = "script" + J();
  367. d.style.display = "none";
  368. d.innerHTML = " <link/><table></table><a href='/a' style='color:red;float:left;opacity:.55;'>a</a><input type='checkbox'/>";
  369. var e = d.getElementsByTagName("*"), j = d.getElementsByTagName("a")[0];
  370. if (!(!e || !e.length || !j)) {
  371. c.support = {
  372. leadingWhitespace: d.firstChild.nodeType === 3,
  373. tbody: !d.getElementsByTagName("tbody").length,
  374. htmlSerialize: !!d.getElementsByTagName("link").length,
  375. style: /red/.test(j.getAttribute("style")),
  376. hrefNormalized: j.getAttribute("href") === "/a",
  377. opacity: /^0.55$/.test(j.style.opacity),
  378. cssFloat: !!j.style.cssFloat,
  379. checkOn: d.getElementsByTagName("input")[0].value === "on",
  380. optSelected: s.createElement("select").appendChild(s.createElement("option")).selected,
  381. parentNode: d.removeChild(d.appendChild(s.createElement("div"))).parentNode === null,
  382. deleteExpando: true,
  383. checkClone: false,
  384. scriptEval: false,
  385. noCloneEvent: true,
  386. boxModel: null
  387. };
  388. b.type = "text/javascript";
  389. try {
  390. b.appendChild(s.createTextNode("window." + f + "=1;"))
  391. } catch (i) {
  392. }
  393. a.insertBefore(b, a.firstChild);
  394. if (A[f]) {
  395. c.support.scriptEval = true;
  396. delete A[f]
  397. }
  398. try {
  399. delete b.test
  400. } catch (o) {
  401. c.support.deleteExpando = false
  402. }
  403. a.removeChild(b);
  404. if (d.attachEvent && d.fireEvent) {
  405. d.attachEvent("onclick", function k() {
  406. c.support.noCloneEvent = false;
  407. d.detachEvent("onclick", k)
  408. });
  409. d.cloneNode(true).fireEvent("onclick")
  410. }
  411. d = s.createElement("div");
  412. d.innerHTML = "<input type='radio' name='radiotest' checked='checked'/>";
  413. a = s.createDocumentFragment();
  414. a.appendChild(d.firstChild);
  415. c.support.checkClone = a.cloneNode(true).cloneNode(true).lastChild.checked;
  416. c(function () {
  417. var k = s.createElement("div");
  418. k.style.width = k.style.paddingLeft = "1px";
  419. s.body.appendChild(k);
  420. c.boxModel = c.support.boxModel = k.offsetWidth === 2;
  421. s.body.removeChild(k).style.display = "none"
  422. });
  423. a = function (k) {
  424. var n = s.createElement("div");
  425. k = "on" + k;
  426. var r = k in n;
  427. if (!r) {
  428. n.setAttribute(k, "return;");
  429. r = typeof n[k] === "function"
  430. }
  431. return r
  432. };
  433. c.support.submitBubbles = a("submit");
  434. c.support.changeBubbles = a("change");
  435. a = b = d = e = j = null
  436. }
  437. })();
  438. c.props = {"for": "htmlFor", "class": "className", readonly: "readOnly", maxlength: "maxLength", cellspacing: "cellSpacing", rowspan: "rowSpan", colspan: "colSpan", tabindex: "tabIndex", usemap: "useMap", frameborder: "frameBorder"};
  439. var G = "jQuery" + J(), Ya = 0, za = {};
  440. c.extend({
  441. cache: {}, expando: G, noData: {embed: true, object: true, applet: true}, data: function (a, b, d) {
  442. if (!(a.nodeName && c.noData[a.nodeName.toLowerCase()])) {
  443. a = a == A ? za : a;
  444. var f = a[G], e = c.cache;
  445. if (!f && typeof b === "string" && d === w) return null;
  446. f || (f = ++Ya);
  447. if (typeof b === "object") {
  448. a[G] = f;
  449. e[f] = c.extend(true, {}, b)
  450. } else if (!e[f]) {
  451. a[G] = f;
  452. e[f] = {}
  453. }
  454. a = e[f];
  455. if (d !== w) a[b] = d;
  456. return typeof b === "string" ? a[b] : a
  457. }
  458. }, removeData: function (a, b) {
  459. if (!(a.nodeName && c.noData[a.nodeName.toLowerCase()])) {
  460. a = a == A ? za : a;
  461. var d = a[G], f = c.cache, e = f[d];
  462. if (b) {
  463. if (e) {
  464. delete e[b];
  465. c.isEmptyObject(e) && c.removeData(a)
  466. }
  467. } else {
  468. if (c.support.deleteExpando) delete a[c.expando]; else a.removeAttribute && a.removeAttribute(c.expando);
  469. delete f[d]
  470. }
  471. }
  472. }
  473. });
  474. c.fn.extend({
  475. data: function (a, b) {
  476. if (typeof a === "undefined" && this.length) return c.data(this[0]); else if (typeof a === "object") return this.each(function () {
  477. c.data(this, a)
  478. });
  479. var d = a.split(".");
  480. d[1] = d[1] ? "." + d[1] : "";
  481. if (b === w) {
  482. var f = this.triggerHandler("getData" + d[1] + "!", [d[0]]);
  483. if (f === w && this.length) f = c.data(this[0], a);
  484. return f === w && d[1] ? this.data(d[0]) : f
  485. } else return this.trigger("setData" + d[1] + "!", [d[0], b]).each(function () {
  486. c.data(this, a, b)
  487. })
  488. }, removeData: function (a) {
  489. return this.each(function () {
  490. c.removeData(this, a)
  491. })
  492. }
  493. });
  494. c.extend({
  495. queue: function (a, b, d) {
  496. if (a) {
  497. b = (b || "fx") + "queue";
  498. var f = c.data(a, b);
  499. if (!d) return f || [];
  500. if (!f || c.isArray(d)) f = c.data(a, b, c.makeArray(d)); else f.push(d);
  501. return f
  502. }
  503. }, dequeue: function (a, b) {
  504. b = b || "fx";
  505. var d = c.queue(a, b), f = d.shift();
  506. if (f === "inprogress") f = d.shift();
  507. if (f) {
  508. b === "fx" && d.unshift("inprogress");
  509. f.call(a, function () {
  510. c.dequeue(a, b)
  511. })
  512. }
  513. }
  514. });
  515. c.fn.extend({
  516. queue: function (a, b) {
  517. if (typeof a !== "string") {
  518. b = a;
  519. a = "fx"
  520. }
  521. if (b === w) return c.queue(this[0], a);
  522. return this.each(function () {
  523. var d = c.queue(this, a, b);
  524. a === "fx" && d[0] !== "inprogress" && c.dequeue(this, a)
  525. })
  526. }, dequeue: function (a) {
  527. return this.each(function () {
  528. c.dequeue(this, a)
  529. })
  530. }, delay: function (a, b) {
  531. a = c.fx ? c.fx.speeds[a] || a : a;
  532. b = b || "fx";
  533. return this.queue(b, function () {
  534. var d = this;
  535. setTimeout(function () {
  536. c.dequeue(d, b)
  537. }, a)
  538. })
  539. }, clearQueue: function (a) {
  540. return this.queue(a || "fx", [])
  541. }
  542. });
  543. var Aa = /[\n\t]/g, ca = /\s+/, Za = /\r/g, $a = /href|src|style/, ab = /(button|input)/i, bb = /(button|input|object|select|textarea)/i, cb = /^(a|area)$/i, Ba = /radio|checkbox/;
  544. c.fn.extend({
  545. attr: function (a, b) {
  546. return X(this, a, b, true, c.attr)
  547. }, removeAttr: function (a) {
  548. return this.each(function () {
  549. c.attr(this, a, "");
  550. this.nodeType === 1 && this.removeAttribute(a)
  551. })
  552. }, addClass: function (a) {
  553. if (c.isFunction(a)) return this.each(function (n) {
  554. var r = c(this);
  555. r.addClass(a.call(this, n, r.attr("class")))
  556. });
  557. if (a && typeof a === "string") for (var b = (a || "").split(ca), d = 0, f = this.length; d < f; d++) {
  558. var e = this[d];
  559. if (e.nodeType === 1) if (e.className) {
  560. for (var j = " " + e.className + " ", i = e.className, o = 0, k = b.length; o < k; o++) if (j.indexOf(" " + b[o] + " ") < 0) i += " " + b[o];
  561. e.className = c.trim(i)
  562. } else e.className = a
  563. }
  564. return this
  565. }, removeClass: function (a) {
  566. if (c.isFunction(a)) return this.each(function (k) {
  567. var n = c(this);
  568. n.removeClass(a.call(this, k, n.attr("class")))
  569. });
  570. if (a && typeof a === "string" || a === w) for (var b = (a || "").split(ca), d = 0, f = this.length; d < f; d++) {
  571. var e = this[d];
  572. if (e.nodeType === 1 && e.className) if (a) {
  573. for (var j = (" " + e.className + " ").replace(Aa, " "), i = 0, o = b.length; i < o; i++) j = j.replace(" " + b[i] + " ", " ");
  574. e.className = c.trim(j)
  575. } else e.className = ""
  576. }
  577. return this
  578. }, toggleClass: function (a, b) {
  579. var d = typeof a, f = typeof b === "boolean";
  580. if (c.isFunction(a)) return this.each(function (e) {
  581. var j = c(this);
  582. j.toggleClass(a.call(this, e, j.attr("class"), b), b)
  583. });
  584. return this.each(function () {
  585. if (d === "string") for (var e, j = 0, i = c(this), o = b, k = a.split(ca); e = k[j++];) {
  586. o = f ? o : !i.hasClass(e);
  587. i[o ? "addClass" : "removeClass"](e)
  588. } else if (d === "undefined" || d === "boolean") {
  589. this.className && c.data(this, "__className__", this.className);
  590. this.className = this.className || a === false ? "" : c.data(this, "__className__") || ""
  591. }
  592. })
  593. }, hasClass: function (a) {
  594. a = " " + a + " ";
  595. for (var b = 0, d = this.length; b < d; b++) if ((" " + this[b].className + " ").replace(Aa, " ").indexOf(a) > -1) return true;
  596. return false
  597. }, val: function (a) {
  598. if (a === w) {
  599. var b = this[0];
  600. if (b) {
  601. if (c.nodeName(b, "option")) return (b.attributes.value || {}).specified ? b.value : b.text;
  602. if (c.nodeName(b, "select")) {
  603. var d = b.selectedIndex, f = [], e = b.options;
  604. b = b.type === "select-one";
  605. if (d < 0) return null;
  606. var j = b ? d : 0;
  607. for (d = b ? d + 1 : e.length; j < d; j++) {
  608. var i = e[j];
  609. if (i.selected) {
  610. a = c(i).val();
  611. if (b) return a;
  612. f.push(a)
  613. }
  614. }
  615. return f
  616. }
  617. if (Ba.test(b.type) && !c.support.checkOn) return b.getAttribute("value") === null ? "on" : b.value;
  618. return (b.value || "").replace(Za, "")
  619. }
  620. return w
  621. }
  622. var o = c.isFunction(a);
  623. return this.each(function (k) {
  624. var n = c(this), r = a;
  625. if (this.nodeType === 1) {
  626. if (o) r = a.call(this, k, n.val());
  627. if (typeof r === "number") r += "";
  628. if (c.isArray(r) && Ba.test(this.type)) this.checked = c.inArray(n.val(), r) >= 0; else if (c.nodeName(this, "select")) {
  629. var u = c.makeArray(r);
  630. c("option", this).each(function () {
  631. this.selected = c.inArray(c(this).val(), u) >= 0
  632. });
  633. if (!u.length) this.selectedIndex = -1
  634. } else this.value = r
  635. }
  636. })
  637. }
  638. });
  639. c.extend({
  640. attrFn: {val: true, css: true, html: true, text: true, data: true, width: true, height: true, offset: true}, attr: function (a, b, d, f) {
  641. if (!a || a.nodeType === 3 || a.nodeType === 8) return w;
  642. if (f && b in c.attrFn) return c(a)[b](d);
  643. f = a.nodeType !== 1 || !c.isXMLDoc(a);
  644. var e = d !== w;
  645. b = f && c.props[b] || b;
  646. if (a.nodeType === 1) {
  647. var j = $a.test(b);
  648. if (b in a && f && !j) {
  649. if (e) {
  650. b === "type" && ab.test(a.nodeName) && a.parentNode && c.error("type property can't be changed");
  651. a[b] = d
  652. }
  653. if (c.nodeName(a, "form") && a.getAttributeNode(b)) return a.getAttributeNode(b).nodeValue;
  654. if (b === "tabIndex") return (b = a.getAttributeNode("tabIndex")) && b.specified ? b.value : bb.test(a.nodeName) || cb.test(a.nodeName) && a.href ? 0 : w;
  655. return a[b]
  656. }
  657. if (!c.support.style && f && b === "style") {
  658. if (e) a.style.cssText = "" + d;
  659. return a.style.cssText
  660. }
  661. e && a.setAttribute(b, "" + d);
  662. a = !c.support.hrefNormalized && f && j ? a.getAttribute(b, 2) : a.getAttribute(b);
  663. return a === null ? w : a
  664. }
  665. return c.style(a, b, d)
  666. }
  667. });
  668. var O = /\.(.*)$/, db = function (a) {
  669. return a.replace(/[^\w\s\.\|`]/g, function (b) {
  670. return "\\" + b
  671. })
  672. };
  673. c.event = {
  674. add: function (a, b, d, f) {
  675. if (!(a.nodeType === 3 || a.nodeType === 8)) {
  676. if (a.setInterval && a !== A && !a.frameElement) a = A;
  677. var e, j;
  678. if (d.handler) {
  679. e = d;
  680. d = e.handler
  681. }
  682. if (!d.guid) d.guid = c.guid++;
  683. if (j = c.data(a)) {
  684. var i = j.events = j.events || {}, o = j.handle;
  685. if (!o) j.handle = o = function () {
  686. return typeof c !== "undefined" && !c.event.triggered ? c.event.handle.apply(o.elem, arguments) : w
  687. };
  688. o.elem = a;
  689. b = b.split(" ");
  690. for (var k, n = 0, r; k = b[n++];) {
  691. j = e ? c.extend({}, e) : {handler: d, data: f};
  692. if (k.indexOf(".") > -1) {
  693. r = k.split(".");
  694. k = r.shift();
  695. j.namespace = r.slice(0).sort().join(".")
  696. } else {
  697. r = [];
  698. j.namespace = ""
  699. }
  700. j.type = k;
  701. j.guid = d.guid;
  702. var u = i[k], z = c.event.special[k] || {};
  703. if (!u) {
  704. u = i[k] = [];
  705. if (!z.setup || z.setup.call(a, f, r, o) === false) if (a.addEventListener) a.addEventListener(k, o, false); else a.attachEvent && a.attachEvent("on" + k, o)
  706. }
  707. if (z.add) {
  708. z.add.call(a, j);
  709. if (!j.handler.guid) j.handler.guid = d.guid
  710. }
  711. u.push(j);
  712. c.event.global[k] = true
  713. }
  714. a = null
  715. }
  716. }
  717. }, global: {}, remove: function (a, b, d, f) {
  718. if (!(a.nodeType === 3 || a.nodeType === 8)) {
  719. var e, j = 0, i, o, k, n, r, u, z = c.data(a), C = z && z.events;
  720. if (z && C) {
  721. if (b && b.type) {
  722. d = b.handler;
  723. b = b.type
  724. }
  725. if (!b || typeof b === "string" && b.charAt(0) === ".") {
  726. b = b || "";
  727. for (e in C) c.event.remove(a, e + b)
  728. } else {
  729. for (b = b.split(" "); e = b[j++];) {
  730. n = e;
  731. i = e.indexOf(".") < 0;
  732. o = [];
  733. if (!i) {
  734. o = e.split(".");
  735. e = o.shift();
  736. k = new RegExp("(^|\\.)" + c.map(o.slice(0).sort(), db).join("\\.(?:.*\\.)?") + "(\\.|$)")
  737. }
  738. if (r = C[e]) if (d) {
  739. n = c.event.special[e] || {};
  740. for (B = f || 0; B < r.length; B++) {
  741. u = r[B];
  742. if (d.guid === u.guid) {
  743. if (i || k.test(u.namespace)) {
  744. f == null && r.splice(B--, 1);
  745. n.remove && n.remove.call(a, u)
  746. }
  747. if (f != null) break
  748. }
  749. }
  750. if (r.length === 0 || f != null && r.length === 1) {
  751. if (!n.teardown || n.teardown.call(a, o) === false) Ca(a, e, z.handle);
  752. delete C[e]
  753. }
  754. } else for (var B = 0; B < r.length; B++) {
  755. u = r[B];
  756. if (i || k.test(u.namespace)) {
  757. c.event.remove(a, n, u.handler, B);
  758. r.splice(B--, 1)
  759. }
  760. }
  761. }
  762. if (c.isEmptyObject(C)) {
  763. if (b = z.handle) b.elem = null;
  764. delete z.events;
  765. delete z.handle;
  766. c.isEmptyObject(z) && c.removeData(a)
  767. }
  768. }
  769. }
  770. }
  771. }, trigger: function (a, b, d, f) {
  772. var e = a.type || a;
  773. if (!f) {
  774. a = typeof a === "object" ? a[G] ? a : c.extend(c.Event(e), a) : c.Event(e);
  775. if (e.indexOf("!") >= 0) {
  776. a.type = e = e.slice(0, -1);
  777. a.exclusive = true
  778. }
  779. if (!d) {
  780. a.stopPropagation();
  781. c.event.global[e] && c.each(c.cache, function () {
  782. this.events && this.events[e] && c.event.trigger(a, b, this.handle.elem)
  783. })
  784. }
  785. if (!d || d.nodeType === 3 || d.nodeType === 8) return w;
  786. a.result = w;
  787. a.target = d;
  788. b = c.makeArray(b);
  789. b.unshift(a)
  790. }
  791. a.currentTarget = d;
  792. (f = c.data(d, "handle")) && f.apply(d, b);
  793. f = d.parentNode || d.ownerDocument;
  794. try {
  795. if (!(d && d.nodeName && c.noData[d.nodeName.toLowerCase()])) if (d["on" + e] && d["on" + e].apply(d, b) === false) a.result = false
  796. } catch (j) {
  797. }
  798. if (!a.isPropagationStopped() && f) c.event.trigger(a, b, f, true); else if (!a.isDefaultPrevented()) {
  799. f = a.target;
  800. var i, o = c.nodeName(f, "a") && e === "click", k = c.event.special[e] || {};
  801. if ((!k._default || k._default.call(d, a) === false) && !o && !(f && f.nodeName && c.noData[f.nodeName.toLowerCase()])) {
  802. try {
  803. if (f[e]) {
  804. if (i = f["on" + e]) f["on" + e] = null;
  805. c.event.triggered = true;
  806. f[e]()
  807. }
  808. } catch (n) {
  809. }
  810. if (i) f["on" + e] = i;
  811. c.event.triggered = false
  812. }
  813. }
  814. }, handle: function (a) {
  815. var b, d, f, e;
  816. a = arguments[0] = c.event.fix(a || A.event);
  817. a.currentTarget = this;
  818. b = a.type.indexOf(".") < 0 && !a.exclusive;
  819. if (!b) {
  820. d = a.type.split(".");
  821. a.type = d.shift();
  822. f = new RegExp("(^|\\.)" + d.slice(0).sort().join("\\.(?:.*\\.)?") + "(\\.|$)")
  823. }
  824. e = c.data(this, "events");
  825. d = e[a.type];
  826. if (e && d) {
  827. d = d.slice(0);
  828. e = 0;
  829. for (var j = d.length; e < j; e++) {
  830. var i = d[e];
  831. if (b || f.test(i.namespace)) {
  832. a.handler = i.handler;
  833. a.data = i.data;
  834. a.handleObj = i;
  835. i = i.handler.apply(this, arguments);
  836. if (i !== w) {
  837. a.result = i;
  838. if (i === false) {
  839. a.preventDefault();
  840. a.stopPropagation()
  841. }
  842. }
  843. if (a.isImmediatePropagationStopped()) break
  844. }
  845. }
  846. }
  847. return a.result
  848. }, props: "altKey attrChange attrName bubbles button cancelable charCode clientX clientY ctrlKey currentTarget data detail eventPhase fromElement handler keyCode layerX layerY metaKey newValue offsetX offsetY originalTarget pageX pageY prevValue relatedNode relatedTarget screenX screenY shiftKey srcElement target toElement view wheelDelta which".split(" "), fix: function (a) {
  849. if (a[G]) return a;
  850. var b = a;
  851. a = c.Event(b);
  852. for (var d = this.props.length, f; d;) {
  853. f = this.props[--d];
  854. a[f] = b[f]
  855. }
  856. if (!a.target) a.target = a.srcElement || s;
  857. if (a.target.nodeType === 3) a.target = a.target.parentNode;
  858. if (!a.relatedTarget && a.fromElement) a.relatedTarget = a.fromElement === a.target ? a.toElement : a.fromElement;
  859. if (a.pageX == null && a.clientX != null) {
  860. b = s.documentElement;
  861. d = s.body;
  862. a.pageX = a.clientX + (b && b.scrollLeft || d && d.scrollLeft || 0) - (b && b.clientLeft || d && d.clientLeft || 0);
  863. a.pageY = a.clientY + (b && b.scrollTop || d && d.scrollTop || 0) - (b && b.clientTop || d && d.clientTop || 0)
  864. }
  865. if (!a.which && (a.charCode || a.charCode === 0 ? a.charCode : a.keyCode)) a.which = a.charCode || a.keyCode;
  866. if (!a.metaKey && a.ctrlKey) a.metaKey = a.ctrlKey;
  867. if (!a.which && a.button !== w) a.which = a.button & 1 ? 1 : a.button & 2 ? 3 : a.button & 4 ? 2 : 0;
  868. return a
  869. }, guid: 1E8, proxy: c.proxy, special: {
  870. ready: {setup: c.bindReady, teardown: c.noop}, live: {
  871. add: function (a) {
  872. c.event.add(this, a.origType, c.extend({}, a, {handler: oa}))
  873. }, remove: function (a) {
  874. var b = true, d = a.origType.replace(O, "");
  875. c.each(c.data(this, "events").live || [], function () {
  876. if (d === this.origType.replace(O, "")) return b = false
  877. });
  878. b && c.event.remove(this, a.origType, oa)
  879. }
  880. }, beforeunload: {
  881. setup: function (a, b, d) {
  882. if (this.setInterval) this.onbeforeunload = d;
  883. return false
  884. }, teardown: function (a, b) {
  885. if (this.onbeforeunload === b) this.onbeforeunload = null
  886. }
  887. }
  888. }
  889. };
  890. var Ca = s.removeEventListener ? function (a, b, d) {
  891. a.removeEventListener(b, d, false)
  892. } : function (a, b, d) {
  893. a.detachEvent("on" + b, d)
  894. };
  895. c.Event = function (a) {
  896. if (!this.preventDefault) return new c.Event(a);
  897. if (a && a.type) {
  898. this.originalEvent = a;
  899. this.type = a.type
  900. } else this.type = a;
  901. this.timeStamp = J();
  902. this[G] = true
  903. };
  904. c.Event.prototype = {
  905. preventDefault: function () {
  906. this.isDefaultPrevented = Z;
  907. var a = this.originalEvent;
  908. if (a) {
  909. a.preventDefault && a.preventDefault();
  910. a.returnValue = false
  911. }
  912. }, stopPropagation: function () {
  913. this.isPropagationStopped = Z;
  914. var a = this.originalEvent;
  915. if (a) {
  916. a.stopPropagation && a.stopPropagation();
  917. a.cancelBubble = true
  918. }
  919. }, stopImmediatePropagation: function () {
  920. this.isImmediatePropagationStopped = Z;
  921. this.stopPropagation()
  922. }, isDefaultPrevented: Y, isPropagationStopped: Y, isImmediatePropagationStopped: Y
  923. };
  924. var Da = function (a) {
  925. var b = a.relatedTarget;
  926. try {
  927. for (; b && b !== this;) b = b.parentNode;
  928. if (b !== this) {
  929. a.type = a.data;
  930. c.event.handle.apply(this, arguments)
  931. }
  932. } catch (d) {
  933. }
  934. }, Ea = function (a) {
  935. a.type = a.data;
  936. c.event.handle.apply(this, arguments)
  937. };
  938. c.each({mouseenter: "mouseover", mouseleave: "mouseout"}, function (a, b) {
  939. c.event.special[a] = {
  940. setup: function (d) {
  941. c.event.add(this, b, d && d.selector ? Ea : Da, a)
  942. }, teardown: function (d) {
  943. c.event.remove(this, b, d && d.selector ? Ea : Da)
  944. }
  945. }
  946. });
  947. if (!c.support.submitBubbles) c.event.special.submit = {
  948. setup: function () {
  949. if (this.nodeName.toLowerCase() !== "form") {
  950. c.event.add(this, "click.specialSubmit", function (a) {
  951. var b = a.target, d = b.type;
  952. if ((d === "submit" || d === "image") && c(b).closest("form").length) return na("submit", this, arguments)
  953. });
  954. c.event.add(this, "keypress.specialSubmit", function (a) {
  955. var b = a.target, d = b.type;
  956. if ((d === "text" || d === "password") && c(b).closest("form").length && a.keyCode === 13) return na("submit", this, arguments)
  957. })
  958. } else return false
  959. }, teardown: function () {
  960. c.event.remove(this, ".specialSubmit")
  961. }
  962. };
  963. if (!c.support.changeBubbles) {
  964. var da = /textarea|input|select/i, ea, Fa = function (a) {
  965. var b = a.type, d = a.value;
  966. if (b === "radio" || b === "checkbox") d = a.checked; else if (b === "select-multiple") d = a.selectedIndex > -1 ? c.map(a.options, function (f) {
  967. return f.selected
  968. }).join("-") : ""; else if (a.nodeName.toLowerCase() === "select") d = a.selectedIndex;
  969. return d
  970. }, fa = function (a, b) {
  971. var d = a.target, f, e;
  972. if (!(!da.test(d.nodeName) || d.readOnly)) {
  973. f = c.data(d, "_change_data");
  974. e = Fa(d);
  975. if (a.type !== "focusout" || d.type !== "radio") c.data(d, "_change_data", e);
  976. if (!(f === w || e === f)) if (f != null || e) {
  977. a.type = "change";
  978. return c.event.trigger(a, b, d)
  979. }
  980. }
  981. };
  982. c.event.special.change = {
  983. filters: {
  984. focusout: fa, click: function (a) {
  985. var b = a.target, d = b.type;
  986. if (d === "radio" || d === "checkbox" || b.nodeName.toLowerCase() === "select") return fa.call(this, a)
  987. }, keydown: function (a) {
  988. var b = a.target, d = b.type;
  989. if (a.keyCode === 13 && b.nodeName.toLowerCase() !== "textarea" || a.keyCode === 32 && (d === "checkbox" || d === "radio") || d === "select-multiple") return fa.call(this, a)
  990. }, beforeactivate: function (a) {
  991. a = a.target;
  992. c.data(a, "_change_data", Fa(a))
  993. }
  994. }, setup: function () {
  995. if (this.type === "file") return false;
  996. for (var a in ea) c.event.add(this, a + ".specialChange", ea[a]);
  997. return da.test(this.nodeName)
  998. }, teardown: function () {
  999. c.event.remove(this, ".specialChange");
  1000. return da.test(this.nodeName)
  1001. }
  1002. };
  1003. ea = c.event.special.change.filters
  1004. }
  1005. s.addEventListener && c.each({focus: "focusin", blur: "focusout"}, function (a, b) {
  1006. function d(f) {
  1007. f = c.event.fix(f);
  1008. f.type = b;
  1009. return c.event.handle.call(this, f)
  1010. }
  1011. c.event.special[b] = {
  1012. setup: function () {
  1013. this.addEventListener(a, d, true)
  1014. }, teardown: function () {
  1015. this.removeEventListener(a, d, true)
  1016. }
  1017. }
  1018. });
  1019. c.each(["bind", "one"], function (a, b) {
  1020. c.fn[b] = function (d, f, e) {
  1021. if (typeof d === "object") {
  1022. for (var j in d) this[b](j, f, d[j], e);
  1023. return this
  1024. }
  1025. if (c.isFunction(f)) {
  1026. e = f;
  1027. f = w
  1028. }
  1029. var i = b === "one" ? c.proxy(e, function (k) {
  1030. c(this).unbind(k, i);
  1031. return e.apply(this, arguments)
  1032. }) : e;
  1033. if (d === "unload" && b !== "one") this.one(d, f, e); else {
  1034. j = 0;
  1035. for (var o = this.length; j < o; j++) c.event.add(this[j], d, i, f)
  1036. }
  1037. return this
  1038. }
  1039. });
  1040. c.fn.extend({
  1041. unbind: function (a, b) {
  1042. if (typeof a === "object" && !a.preventDefault) for (var d in a) this.unbind(d, a[d]); else {
  1043. d = 0;
  1044. for (var f = this.length; d < f; d++) c.event.remove(this[d], a, b)
  1045. }
  1046. return this
  1047. }, delegate: function (a, b, d, f) {
  1048. return this.live(b, d, f, a)
  1049. }, undelegate: function (a, b, d) {
  1050. return arguments.length === 0 ? this.unbind("live") : this.die(b, null, d, a)
  1051. }, trigger: function (a, b) {
  1052. return this.each(function () {
  1053. c.event.trigger(a, b, this)
  1054. })
  1055. }, triggerHandler: function (a, b) {
  1056. if (this[0]) {
  1057. a = c.Event(a);
  1058. a.preventDefault();
  1059. a.stopPropagation();
  1060. c.event.trigger(a, b, this[0]);
  1061. return a.result
  1062. }
  1063. }, toggle: function (a) {
  1064. for (var b = arguments, d = 1; d < b.length;) c.proxy(a, b[d++]);
  1065. return this.click(c.proxy(a, function (f) {
  1066. var e = (c.data(this, "lastToggle" + a.guid) || 0) % d;
  1067. c.data(this, "lastToggle" + a.guid, e + 1);
  1068. f.preventDefault();
  1069. return b[e].apply(this, arguments) || false
  1070. }))
  1071. }, hover: function (a, b) {
  1072. return this.mouseenter(a).mouseleave(b || a)
  1073. }
  1074. });
  1075. var Ga = {focus: "focusin", blur: "focusout", mouseenter: "mouseover", mouseleave: "mouseout"};
  1076. c.each(["live", "die"], function (a, b) {
  1077. c.fn[b] = function (d, f, e, j) {
  1078. var i, o = 0, k, n, r = j || this.selector, u = j ? this : c(this.context);
  1079. if (c.isFunction(f)) {
  1080. e = f;
  1081. f = w
  1082. }
  1083. for (d = (d || "").split(" "); (i = d[o++]) != null;) {
  1084. j = O.exec(i);
  1085. k = "";
  1086. if (j) {
  1087. k = j[0];
  1088. i = i.replace(O, "")
  1089. }
  1090. if (i === "hover") d.push("mouseenter" + k, "mouseleave" + k); else {
  1091. n = i;
  1092. if (i === "focus" || i === "blur") {
  1093. d.push(Ga[i] + k);
  1094. i += k
  1095. } else i = (Ga[i] || i) + k;
  1096. b === "live" ? u.each(function () {
  1097. c.event.add(this, pa(i, r), {data: f, selector: r, handler: e, origType: i, origHandler: e, preType: n})
  1098. }) : u.unbind(pa(i, r), e)
  1099. }
  1100. }
  1101. return this
  1102. }
  1103. });
  1104. c.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".split(" "), function (a, b) {
  1105. c.fn[b] = function (d) {
  1106. return d ? this.bind(b, d) : this.trigger(b)
  1107. };
  1108. if (c.attrFn) c.attrFn[b] = true
  1109. });
  1110. A.attachEvent && !A.addEventListener && A.attachEvent("onunload", function () {
  1111. for (var a in c.cache) if (c.cache[a].handle) try {
  1112. c.event.remove(c.cache[a].handle.elem)
  1113. } catch (b) {
  1114. }
  1115. });
  1116. (function () {
  1117. function a(g) {
  1118. for (var h = "", l, m = 0; g[m]; m++) {
  1119. l = g[m];
  1120. if (l.nodeType === 3 || l.nodeType === 4) h += l.nodeValue; else if (l.nodeType !== 8) h += a(l.childNodes)
  1121. }
  1122. return h
  1123. }
  1124. function b(g, h, l, m, q, p) {
  1125. q = 0;
  1126. for (var v = m.length; q < v; q++) {
  1127. var t = m[q];
  1128. if (t) {
  1129. t = t[g];
  1130. for (var y = false; t;) {
  1131. if (t.sizcache === l) {
  1132. y = m[t.sizset];
  1133. break
  1134. }
  1135. if (t.nodeType === 1 && !p) {
  1136. t.sizcache = l;
  1137. t.sizset = q
  1138. }
  1139. if (t.nodeName.toLowerCase() === h) {
  1140. y = t;
  1141. break
  1142. }
  1143. t = t[g]
  1144. }
  1145. m[q] = y
  1146. }
  1147. }
  1148. }
  1149. function d(g, h, l, m, q, p) {
  1150. q = 0;
  1151. for (var v = m.length; q < v; q++) {
  1152. var t = m[q];
  1153. if (t) {
  1154. t = t[g];
  1155. for (var y = false; t;) {
  1156. if (t.sizcache === l) {
  1157. y = m[t.sizset];
  1158. break
  1159. }
  1160. if (t.nodeType === 1) {
  1161. if (!p) {
  1162. t.sizcache = l;
  1163. t.sizset = q
  1164. }
  1165. if (typeof h !== "string") {
  1166. if (t === h) {
  1167. y = true;
  1168. break
  1169. }
  1170. } else if (k.filter(h, [t]).length > 0) {
  1171. y = t;
  1172. break
  1173. }
  1174. }
  1175. t = t[g]
  1176. }
  1177. m[q] = y
  1178. }
  1179. }
  1180. }
  1181. var f = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^[\]]*\]|['"][^'"]*['"]|[^[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, e = 0, j = Object.prototype.toString, i = false, o = true;
  1182. [0, 0].sort(function () {
  1183. o = false;
  1184. return 0
  1185. });
  1186. var k = function (g, h, l, m) {
  1187. l = l || [];
  1188. var q = h = h || s;
  1189. if (h.nodeType !== 1 && h.nodeType !== 9) return [];
  1190. if (!g || typeof g !== "string") return l;
  1191. for (var p = [], v, t, y, S, H = true, M = x(h), I = g; (f.exec(""), v = f.exec(I)) !== null;) {
  1192. I = v[3];
  1193. p.push(v[1]);
  1194. if (v[2]) {
  1195. S = v[3];
  1196. break
  1197. }
  1198. }
  1199. if (p.length > 1 && r.exec(g)) if (p.length === 2 && n.relative[p[0]]) t = ga(p[0] + p[1], h); else for (t = n.relative[p[0]] ? [h] : k(p.shift(), h); p.length;) {
  1200. g = p.shift();
  1201. if (n.relative[g]) g += p.shift();
  1202. t = ga(g, t)
  1203. } else {
  1204. if (!m && p.length > 1 && h.nodeType === 9 && !M && n.match.ID.test(p[0]) && !n.match.ID.test(p[p.length - 1])) {
  1205. v = k.find(p.shift(), h, M);
  1206. h = v.expr ? k.filter(v.expr, v.set)[0] : v.set[0]
  1207. }
  1208. if (h) {
  1209. v = m ? {expr: p.pop(), set: z(m)} : k.find(p.pop(), p.length === 1 && (p[0] === "~" || p[0] === "+") && h.parentNode ? h.parentNode : h, M);
  1210. t = v.expr ? k.filter(v.expr, v.set) : v.set;
  1211. if (p.length > 0) y = z(t); else H = false;
  1212. for (; p.length;) {
  1213. var D = p.pop();
  1214. v = D;
  1215. if (n.relative[D]) v = p.pop(); else D = "";
  1216. if (v == null) v = h;
  1217. n.relative[D](y, v, M)
  1218. }
  1219. } else y = []
  1220. }
  1221. y || (y = t);
  1222. y || k.error(D || g);
  1223. if (j.call(y) === "[object Array]") if (H) if (h && h.nodeType === 1) for (g = 0; y[g] != null; g++) {
  1224. if (y[g] && (y[g] === true || y[g].nodeType === 1 && E(h, y[g]))) l.push(t[g])
  1225. } else for (g = 0; y[g] != null; g++) y[g] && y[g].nodeType === 1 && l.push(t[g]); else l.push.apply(l, y); else z(y, l);
  1226. if (S) {
  1227. k(S, q, l, m);
  1228. k.uniqueSort(l)
  1229. }
  1230. return l
  1231. };
  1232. k.uniqueSort = function (g) {
  1233. if (B) {
  1234. i = o;
  1235. g.sort(B);
  1236. if (i) for (var h = 1; h < g.length; h++) g[h] === g[h - 1] && g.splice(h--, 1)
  1237. }
  1238. return g
  1239. };
  1240. k.matches = function (g, h) {
  1241. return k(g, null, null, h)
  1242. };
  1243. k.find = function (g, h, l) {
  1244. var m, q;
  1245. if (!g) return [];
  1246. for (var p = 0, v = n.order.length; p < v; p++) {
  1247. var t = n.order[p];
  1248. if (q = n.leftMatch[t].exec(g)) {
  1249. var y = q[1];
  1250. q.splice(1, 1);
  1251. if (y.substr(y.length - 1) !== "\\") {
  1252. q[1] = (q[1] || "").replace(/\\/g, "");
  1253. m = n.find[t](q, h, l);
  1254. if (m != null) {
  1255. g = g.replace(n.match[t], "");
  1256. break
  1257. }
  1258. }
  1259. }
  1260. }
  1261. m || (m = h.getElementsByTagName("*"));
  1262. return {set: m, expr: g}
  1263. };
  1264. k.filter = function (g, h, l, m) {
  1265. for (var q = g, p = [], v = h, t, y, S = h && h[0] && x(h[0]); g && h.length;) {
  1266. for (var H in n.filter) if ((t = n.leftMatch[H].exec(g)) != null && t[2]) {
  1267. var M = n.filter[H], I, D;
  1268. D = t[1];
  1269. y = false;
  1270. t.splice(1, 1);
  1271. if (D.substr(D.length - 1) !== "\\") {
  1272. if (v === p) p = [];
  1273. if (n.preFilter[H]) if (t = n.preFilter[H](t, v, l, p, m, S)) {
  1274. if (t === true) continue
  1275. } else y = I = true;
  1276. if (t) for (var U = 0; (D = v[U]) != null; U++) if (D) {
  1277. I = M(D, t, U, v);
  1278. var Ha = m ^ !!I;
  1279. if (l && I != null) if (Ha) y = true; else v[U] = false; else if (Ha) {
  1280. p.push(D);
  1281. y = true
  1282. }
  1283. }
  1284. if (I !== w) {
  1285. l || (v = p);
  1286. g = g.replace(n.match[H], "");
  1287. if (!y) return [];
  1288. break
  1289. }
  1290. }
  1291. }
  1292. if (g === q) if (y == null) k.error(g); else break;
  1293. q = g
  1294. }
  1295. return v
  1296. };
  1297. k.error = function (g) {
  1298. throw "Syntax error, unrecognized expression: " + g;
  1299. };
  1300. var n = k.selectors = {
  1301. order: ["ID", "NAME", "TAG"],
  1302. match: {
  1303. ID: /#((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
  1304. CLASS: /\.((?:[\w\u00c0-\uFFFF-]|\\.)+)/,
  1305. NAME: /\[name=['"]*((?:[\w\u00c0-\uFFFF-]|\\.)+)['"]*\]/,
  1306. ATTR: /\[\s*((?:[\w\u00c0-\uFFFF-]|\\.)+)\s*(?:(\S?=)\s*(['"]*)(.*?)\3|)\s*\]/,
  1307. TAG: /^((?:[\w\u00c0-\uFFFF\*-]|\\.)+)/,
  1308. CHILD: /:(only|nth|last|first)-child(?:\((even|odd|[\dn+-]*)\))?/,
  1309. POS: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^-]|$)/,
  1310. PSEUDO: /:((?:[\w\u00c0-\uFFFF-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/
  1311. },
  1312. leftMatch: {},
  1313. attrMap: {"class": "className", "for": "htmlFor"},
  1314. attrHandle: {
  1315. href: function (g) {
  1316. return g.getAttribute("href")
  1317. }
  1318. },
  1319. relative: {
  1320. "+": function (g, h) {
  1321. var l = typeof h === "string", m = l && !/\W/.test(h);
  1322. l = l && !m;
  1323. if (m) h = h.toLowerCase();
  1324. m = 0;
  1325. for (var q = g.length, p; m < q; m++) if (p = g[m]) {
  1326. for (; (p = p.previousSibling) && p.nodeType !== 1;);
  1327. g[m] = l || p && p.nodeName.toLowerCase() === h ? p || false : p === h
  1328. }
  1329. l && k.filter(h, g, true)
  1330. }, ">": function (g, h) {
  1331. var l = typeof h === "string";
  1332. if (l && !/\W/.test(h)) {
  1333. h = h.toLowerCase();
  1334. for (var m = 0, q = g.length; m < q; m++) {
  1335. var p = g[m];
  1336. if (p) {
  1337. l = p.parentNode;
  1338. g[m] = l.nodeName.toLowerCase() === h ? l : false
  1339. }
  1340. }
  1341. } else {
  1342. m = 0;
  1343. for (q = g.length; m < q; m++) if (p = g[m]) g[m] = l ? p.parentNode : p.parentNode === h;
  1344. l && k.filter(h, g, true)
  1345. }
  1346. }, "": function (g, h, l) {
  1347. var m = e++, q = d;
  1348. if (typeof h === "string" && !/\W/.test(h)) {
  1349. var p = h = h.toLowerCase();
  1350. q = b
  1351. }
  1352. q("parentNode", h, m, g, p, l)
  1353. }, "~": function (g, h, l) {
  1354. var m = e++, q = d;
  1355. if (typeof h === "string" && !/\W/.test(h)) {
  1356. var p = h = h.toLowerCase();
  1357. q = b
  1358. }
  1359. q("previousSibling", h, m, g, p, l)
  1360. }
  1361. },
  1362. find: {
  1363. ID: function (g, h, l) {
  1364. if (typeof h.getElementById !== "undefined" && !l) return (g = h.getElementById(g[1])) ? [g] : []
  1365. }, NAME: function (g, h) {
  1366. if (typeof h.getElementsByName !== "undefined") {
  1367. var l = [];
  1368. h = h.getElementsByName(g[1]);
  1369. for (var m = 0, q = h.length; m < q; m++) h[m].getAttribute("name") === g[1] && l.push(h[m]);
  1370. return l.length === 0 ? null : l
  1371. }
  1372. }, TAG: function (g, h) {
  1373. return h.getElementsByTagName(g[1])
  1374. }
  1375. },
  1376. preFilter: {
  1377. CLASS: function (g, h, l, m, q, p) {
  1378. g = " " + g[1].replace(/\\/g, "") + " ";
  1379. if (p) return g;
  1380. p = 0;
  1381. for (var v; (v = h[p]) != null; p++) if (v) if (q ^ (v.className && (" " + v.className + " ").replace(/[\t\n]/g, " ").indexOf(g) >= 0)) l || m.push(v); else if (l) h[p] = false;
  1382. return false
  1383. }, ID: function (g) {
  1384. return g[1].replace(/\\/g, "")
  1385. }, TAG: function (g) {
  1386. return g[1].toLowerCase()
  1387. }, CHILD: function (g) {
  1388. if (g[1] === "nth") {
  1389. var h = /(-?)(\d*)n((?:\+|-)?\d*)/.exec(g[2] === "even" && "2n" || g[2] === "odd" && "2n+1" || !/\D/.test(g[2]) && "0n+" + g[2] || g[2]);
  1390. g[2] = h[1] + (h[2] || 1) - 0;
  1391. g[3] = h[3] - 0
  1392. }
  1393. g[0] = e++;
  1394. return g
  1395. }, ATTR: function (g, h, l, m, q, p) {
  1396. h = g[1].replace(/\\/g, "");
  1397. if (!p && n.attrMap[h]) g[1] = n.attrMap[h];
  1398. if (g[2] === "~=") g[4] = " " + g[4] + " ";
  1399. return g
  1400. }, PSEUDO: function (g, h, l, m, q) {
  1401. if (g[1] === "not") if ((f.exec(g[3]) || "").length > 1 || /^\w/.test(g[3])) g[3] = k(g[3], null, null, h); else {
  1402. g = k.filter(g[3], h, l, true ^ q);
  1403. l || m.push.apply(m, g);
  1404. return false
  1405. } else if (n.match.POS.test(g[0]) || n.match.CHILD.test(g[0])) return true;
  1406. return g
  1407. }, POS: function (g) {
  1408. g.unshift(true);
  1409. return g
  1410. }
  1411. },
  1412. filters: {
  1413. enabled: function (g) {
  1414. return g.disabled === false && g.type !== "hidden"
  1415. }, disabled: function (g) {
  1416. return g.disabled === true
  1417. }, checked: function (g) {
  1418. return g.checked === true
  1419. }, selected: function (g) {
  1420. return g.selected === true
  1421. }, parent: function (g) {
  1422. return !!g.firstChild
  1423. }, empty: function (g) {
  1424. return !g.firstChild
  1425. }, has: function (g, h, l) {
  1426. return !!k(l[3], g).length
  1427. }, header: function (g) {
  1428. return /h\d/i.test(g.nodeName)
  1429. }, text: function (g) {
  1430. return "text" === g.type
  1431. }, radio: function (g) {
  1432. return "radio" === g.type
  1433. }, checkbox: function (g) {
  1434. return "checkbox" === g.type
  1435. }, file: function (g) {
  1436. return "file" === g.type
  1437. }, password: function (g) {
  1438. return "password" === g.type
  1439. }, submit: function (g) {
  1440. return "submit" === g.type
  1441. }, image: function (g) {
  1442. return "image" === g.type
  1443. }, reset: function (g) {
  1444. return "reset" === g.type
  1445. }, button: function (g) {
  1446. return "button" === g.type || g.nodeName.toLowerCase() === "button"
  1447. }, input: function (g) {
  1448. return /input|select|textarea|button/i.test(g.nodeName)
  1449. }
  1450. },
  1451. setFilters: {
  1452. first: function (g, h) {
  1453. return h === 0
  1454. }, last: function (g, h, l, m) {
  1455. return h === m.length - 1
  1456. }, even: function (g, h) {
  1457. return h % 2 === 0
  1458. }, odd: function (g, h) {
  1459. return h % 2 === 1
  1460. }, lt: function (g, h, l) {
  1461. return h < l[3] - 0
  1462. }, gt: function (g, h, l) {
  1463. return h > l[3] - 0
  1464. }, nth: function (g, h, l) {
  1465. return l[3] - 0 === h
  1466. }, eq: function (g, h, l) {
  1467. return l[3] - 0 === h
  1468. }
  1469. },
  1470. filter: {
  1471. PSEUDO: function (g, h, l, m) {
  1472. var q = h[1], p = n.filters[q];
  1473. if (p) return p(g, l, h, m); else if (q === "contains") return (g.textContent || g.innerText || a([g]) || "").indexOf(h[3]) >= 0; else if (q === "not") {
  1474. h = h[3];
  1475. l = 0;
  1476. for (m = h.length; l < m; l++) if (h[l] === g) return false;
  1477. return true
  1478. } else k.error("Syntax error, unrecognized expression: " + q)
  1479. }, CHILD: function (g, h) {
  1480. var l = h[1], m = g;
  1481. switch (l) {
  1482. case "only":
  1483. case "first":
  1484. for (; m = m.previousSibling;) if (m.nodeType === 1) return false;
  1485. if (l === "first") return true;
  1486. m = g;
  1487. case "last":
  1488. for (; m = m.nextSibling;) if (m.nodeType === 1) return false;
  1489. return true;
  1490. case "nth":
  1491. l = h[2];
  1492. var q = h[3];
  1493. if (l === 1 && q === 0) return true;
  1494. h = h[0];
  1495. var p = g.parentNode;
  1496. if (p && (p.sizcache !== h || !g.nodeIndex)) {
  1497. var v = 0;
  1498. for (m = p.firstChild; m; m = m.nextSibling) if (m.nodeType === 1) m.nodeIndex = ++v;
  1499. p.sizcache = h
  1500. }
  1501. g = g.nodeIndex - q;
  1502. return l === 0 ? g === 0 : g % l === 0 && g / l >= 0
  1503. }
  1504. }, ID: function (g, h) {
  1505. return g.nodeType === 1 && g.getAttribute("id") === h
  1506. }, TAG: function (g, h) {
  1507. return h === "*" && g.nodeType === 1 || g.nodeName.toLowerCase() === h
  1508. }, CLASS: function (g, h) {
  1509. return (" " + (g.className || g.getAttribute("class")) + " ").indexOf(h) > -1
  1510. }, ATTR: function (g, h) {
  1511. var l = h[1];
  1512. g = n.attrHandle[l] ? n.attrHandle[l](g) : g[l] != null ? g[l] : g.getAttribute(l);
  1513. l = g + "";
  1514. var m = h[2];
  1515. h = h[4];
  1516. return g == null ? m === "!=" : m === "=" ? l === h : m === "*=" ? l.indexOf(h) >= 0 : m === "~=" ? (" " + l + " ").indexOf(h) >= 0 : !h ? l && g !== false : m === "!=" ? l !== h : m === "^=" ? l.indexOf(h) === 0 : m === "$=" ? l.substr(l.length - h.length) === h : m === "|=" ? l === h || l.substr(0, h.length + 1) === h + "-" : false
  1517. }, POS: function (g, h, l, m) {
  1518. var q = n.setFilters[h[2]];
  1519. if (q) return q(g, l, h, m)
  1520. }
  1521. }
  1522. }, r = n.match.POS;
  1523. for (var u in n.match) {
  1524. n.match[u] = new RegExp(n.match[u].source + /(?![^\[]*\])(?![^\(]*\))/.source);
  1525. n.leftMatch[u] = new RegExp(/(^(?:.|\r|\n)*?)/.source + n.match[u].source.replace(/\\(\d+)/g, function (g, h) {
  1526. return "\\" + (h - 0 + 1)
  1527. }))
  1528. }
  1529. var z = function (g, h) {
  1530. g = Array.prototype.slice.call(g, 0);
  1531. if (h) {
  1532. h.push.apply(h, g);
  1533. return h
  1534. }
  1535. return g
  1536. };
  1537. try {
  1538. Array.prototype.slice.call(s.documentElement.childNodes, 0)
  1539. } catch (C) {
  1540. z = function (g, h) {
  1541. h = h || [];
  1542. if (j.call(g) === "[object Array]") Array.prototype.push.apply(h, g); else if (typeof g.length === "number") for (var l = 0, m = g.length; l < m; l++) h.push(g[l]); else for (l = 0; g[l]; l++) h.push(g[l]);
  1543. return h
  1544. }
  1545. }
  1546. var B;
  1547. if (s.documentElement.compareDocumentPosition) B = function (g, h) {
  1548. if (!g.compareDocumentPosition || !h.compareDocumentPosition) {
  1549. if (g == h) i = true;
  1550. return g.compareDocumentPosition ? -1 : 1
  1551. }
  1552. g = g.compareDocumentPosition(h) & 4 ? -1 : g === h ? 0 : 1;
  1553. if (g === 0) i = true;
  1554. return g
  1555. }; else if ("sourceIndex" in s.documentElement) B = function (g, h) {
  1556. if (!g.sourceIndex || !h.sourceIndex) {
  1557. if (g == h) i = true;
  1558. return g.sourceIndex ? -1 : 1
  1559. }
  1560. g = g.sourceIndex - h.sourceIndex;
  1561. if (g === 0) i = true;
  1562. return g
  1563. }; else if (s.createRange) B = function (g, h) {
  1564. if (!g.ownerDocument || !h.ownerDocument) {
  1565. if (g == h) i = true;
  1566. return g.ownerDocument ? -1 : 1
  1567. }
  1568. var l = g.ownerDocument.createRange(), m = h.ownerDocument.createRange();
  1569. l.setStart(g, 0);
  1570. l.setEnd(g, 0);
  1571. m.setStart(h, 0);
  1572. m.setEnd(h, 0);
  1573. g = l.compareBoundaryPoints(Range.START_TO_END, m);
  1574. if (g === 0) i = true;
  1575. return g
  1576. };
  1577. (function () {
  1578. var g = s.createElement("div"), h = "script" + (new Date).getTime();
  1579. g.innerHTML = "<a name='" + h + "'/>";
  1580. var l = s.documentElement;
  1581. l.insertBefore(g, l.firstChild);
  1582. if (s.getElementById(h)) {
  1583. n.find.ID = function (m, q, p) {
  1584. if (typeof q.getElementById !== "undefined" && !p) return (q = q.getElementById(m[1])) ? q.id === m[1] || typeof q.getAttributeNode !== "undefined" && q.getAttributeNode("id").nodeValue === m[1] ? [q] : w : []
  1585. };
  1586. n.filter.ID = function (m, q) {
  1587. var p = typeof m.getAttributeNode !== "undefined" && m.getAttributeNode("id");
  1588. return m.nodeType === 1 && p && p.nodeValue === q
  1589. }
  1590. }
  1591. l.removeChild(g);
  1592. l = g = null
  1593. })();
  1594. (function () {
  1595. var g = s.createElement("div");
  1596. g.appendChild(s.createComment(""));
  1597. if (g.getElementsByTagName("*").length > 0) n.find.TAG = function (h, l) {
  1598. l = l.getElementsByTagName(h[1]);
  1599. if (h[1] === "*") {
  1600. h = [];
  1601. for (var m = 0; l[m]; m++) l[m].nodeType === 1 && h.push(l[m]);
  1602. l = h
  1603. }
  1604. return l
  1605. };
  1606. g.innerHTML = "<a href='#'></a>";
  1607. if (g.firstChild && typeof g.firstChild.getAttribute !== "undefined" && g.firstChild.getAttribute("href") !== "#") n.attrHandle.href = function (h) {
  1608. return h.getAttribute("href", 2)
  1609. };
  1610. g = null
  1611. })();
  1612. s.querySelectorAll && function () {
  1613. var g = k, h = s.createElement("div");
  1614. h.innerHTML = "<p class='TEST'></p>";
  1615. if (!(h.querySelectorAll && h.querySelectorAll(".TEST").length === 0)) {
  1616. k = function (m, q, p, v) {
  1617. q = q || s;
  1618. if (!v && q.nodeType === 9 && !x(q)) try {
  1619. return z(q.querySelectorAll(m), p)
  1620. } catch (t) {
  1621. }
  1622. return g(m, q, p, v)
  1623. };
  1624. for (var l in g) k[l] = g[l];
  1625. h = null
  1626. }
  1627. }();
  1628. (function () {
  1629. var g = s.createElement("div");
  1630. g.innerHTML = "<div class='test e'></div><div class='test'></div>";
  1631. if (!(!g.getElementsByClassName || g.getElementsByClassName("e").length === 0)) {
  1632. g.lastChild.className = "e";
  1633. if (g.getElementsByClassName("e").length !== 1) {
  1634. n.order.splice(1, 0, "CLASS");
  1635. n.find.CLASS = function (h, l, m) {
  1636. if (typeof l.getElementsByClassName !== "undefined" && !m) return l.getElementsByClassName(h[1])
  1637. };
  1638. g = null
  1639. }
  1640. }
  1641. })();
  1642. var E = s.compareDocumentPosition ? function (g, h) {
  1643. return !!(g.compareDocumentPosition(h) & 16)
  1644. } : function (g, h) {
  1645. return g !== h && (g.contains ? g.contains(h) : true)
  1646. }, x = function (g) {
  1647. return (g = (g ? g.ownerDocument || g : 0).documentElement) ? g.nodeName !== "HTML" : false
  1648. }, ga = function (g, h) {
  1649. var l = [], m = "", q;
  1650. for (h = h.nodeType ? [h] : h; q = n.match.PSEUDO.exec(g);) {
  1651. m += q[0];
  1652. g = g.replace(n.match.PSEUDO, "")
  1653. }
  1654. g = n.relative[g] ? g + "*" : g;
  1655. q = 0;
  1656. for (var p = h.length; q < p; q++) k(g, h[q], l);
  1657. return k.filter(m, l)
  1658. };
  1659. c.find = k;
  1660. c.expr = k.selectors;
  1661. c.expr[":"] = c.expr.filters;
  1662. c.unique = k.uniqueSort;
  1663. c.text = a;
  1664. c.isXMLDoc = x;
  1665. c.contains = E
  1666. })();
  1667. var eb = /Until$/, fb = /^(?:parents|prevUntil|prevAll)/, gb = /,/;
  1668. R = Array.prototype.slice;
  1669. var Ia = function (a, b, d) {
  1670. if (c.isFunction(b)) return c.grep(a, function (e, j) {
  1671. return !!b.call(e, j, e) === d
  1672. }); else if (b.nodeType) return c.grep(a, function (e) {
  1673. return e === b === d
  1674. }); else if (typeof b === "string") {
  1675. var f = c.grep(a, function (e) {
  1676. return e.nodeType === 1
  1677. });
  1678. if (Ua.test(b)) return c.filter(b, f, !d); else b = c.filter(b, f)
  1679. }
  1680. return c.grep(a, function (e) {
  1681. return c.inArray(e, b) >= 0 === d
  1682. })
  1683. };
  1684. c.fn.extend({
  1685. find: function (a) {
  1686. for (var b = this.pushStack("", "find", a), d = 0, f = 0, e = this.length; f < e; f++) {
  1687. d = b.length;
  1688. c.find(a, this[f], b);
  1689. if (f > 0) for (var j = d; j < b.length; j++) for (var i = 0; i < d; i++) if (b[i] === b[j]) {
  1690. b.splice(j--, 1);
  1691. break
  1692. }
  1693. }
  1694. return b
  1695. }, has: function (a) {
  1696. var b = c(a);
  1697. return this.filter(function () {
  1698. for (var d = 0, f = b.length; d < f; d++) if (c.contains(this, b[d])) return true
  1699. })
  1700. }, not: function (a) {
  1701. return this.pushStack(Ia(this, a, false), "not", a)
  1702. }, filter: function (a) {
  1703. return this.pushStack(Ia(this, a, true), "filter", a)
  1704. }, is: function (a) {
  1705. return !!a && c.filter(a, this).length > 0
  1706. }, closest: function (a, b) {
  1707. if (c.isArray(a)) {
  1708. var d = [], f = this[0], e, j = {}, i;
  1709. if (f && a.length) {
  1710. e = 0;
  1711. for (var o = a.length; e < o; e++) {
  1712. i = a[e];
  1713. j[i] || (j[i] = c.expr.match.POS.test(i) ? c(i, b || this.context) : i)
  1714. }
  1715. for (; f && f.ownerDocument && f !== b;) {
  1716. for (i in j) {
  1717. e = j[i];
  1718. if (e.jquery ? e.index(f) > -1 : c(f).is(e)) {
  1719. d.push({selector: i, elem: f});
  1720. delete j[i]
  1721. }
  1722. }
  1723. f = f.parentNode
  1724. }
  1725. }
  1726. return d
  1727. }
  1728. var k = c.expr.match.POS.test(a) ? c(a, b || this.context) : null;
  1729. return this.map(function (n, r) {
  1730. for (; r && r.ownerDocument && r !== b;) {
  1731. if (k ? k.index(r) > -1 : c(r).is(a)) return r;
  1732. r = r.parentNode
  1733. }
  1734. return null
  1735. })
  1736. }, index: function (a) {
  1737. if (!a || typeof a === "string") return c.inArray(this[0], a ? c(a) : this.parent().children());
  1738. return c.inArray(a.jquery ? a[0] : a, this)
  1739. }, add: function (a, b) {
  1740. a = typeof a === "string" ? c(a, b || this.context) : c.makeArray(a);
  1741. b = c.merge(this.get(), a);
  1742. return this.pushStack(qa(a[0]) || qa(b[0]) ? b : c.unique(b))
  1743. }, andSelf: function () {
  1744. return this.add(this.prevObject)
  1745. }
  1746. });
  1747. c.each({
  1748. parent: function (a) {
  1749. return (a = a.parentNode) && a.nodeType !== 11 ? a : null
  1750. }, parents: function (a) {
  1751. return c.dir(a, "parentNode")
  1752. }, parentsUntil: function (a, b, d) {
  1753. return c.dir(a, "parentNode", d)
  1754. }, next: function (a) {
  1755. return c.nth(a, 2, "nextSibling")
  1756. }, prev: function (a) {
  1757. return c.nth(a, 2, "previousSibling")
  1758. }, nextAll: function (a) {
  1759. return c.dir(a, "nextSibling")
  1760. }, prevAll: function (a) {
  1761. return c.dir(a, "previousSibling")
  1762. }, nextUntil: function (a, b, d) {
  1763. return c.dir(a, "nextSibling", d)
  1764. }, prevUntil: function (a, b, d) {
  1765. return c.dir(a, "previousSibling", d)
  1766. }, siblings: function (a) {
  1767. return c.sibling(a.parentNode.firstChild, a)
  1768. }, children: function (a) {
  1769. return c.sibling(a.firstChild)
  1770. }, contents: function (a) {
  1771. return c.nodeName(a, "iframe") ? a.contentDocument || a.contentWindow.document : c.makeArray(a.childNodes)
  1772. }
  1773. }, function (a, b) {
  1774. c.fn[a] = function (d, f) {
  1775. var e = c.map(this, b, d);
  1776. eb.test(a) || (f = d);
  1777. if (f && typeof f === "string") e = c.filter(f, e);
  1778. e = this.length > 1 ? c.unique(e) : e;
  1779. if ((this.length > 1 || gb.test(f)) && fb.test(a)) e = e.reverse();
  1780. return this.pushStack(e, a, R.call(arguments).join(","))
  1781. }
  1782. });
  1783. c.extend({
  1784. filter: function (a, b, d) {
  1785. if (d) a = ":not(" + a + ")";
  1786. return c.find.matches(a, b)
  1787. }, dir: function (a, b, d) {
  1788. var f = [];
  1789. for (a = a[b]; a && a.nodeType !== 9 && (d === w || a.nodeType !== 1 || !c(a).is(d));) {
  1790. a.nodeType === 1 && f.push(a);
  1791. a = a[b]
  1792. }
  1793. return f
  1794. }, nth: function (a, b, d) {
  1795. b = b || 1;
  1796. for (var f = 0; a; a = a[d]) if (a.nodeType === 1 && ++f === b) break;
  1797. return a
  1798. }, sibling: function (a, b) {
  1799. for (var d = []; a; a = a.nextSibling) a.nodeType === 1 && a !== b && d.push(a);
  1800. return d
  1801. }
  1802. });
  1803. var Ja = / jQuery\d+="(?:\d+|null)"/g, V = /^\s+/, Ka = /(<([\w:]+)[^>]*?)\/>/g, hb = /^(?:area|br|col|embed|hr|img|input|link|meta|param)$/i, La = /<([\w:]+)/, ib = /<tbody/i, jb = /<|&#?\w+;/, ta = /<script|<object|<embed|<option|<style/i, ua = /checked\s*(?:[^=]|=\s*.checked.)/i, Ma = function (a, b, d) {
  1804. return hb.test(d) ? a : b + "></" + d + ">"
  1805. }, F = {option: [1, "<select multiple='multiple'>", "</select>"], legend: [1, "<fieldset>", "</fieldset>"], thead: [1, "<table>", "</table>"], tr: [2, "<table><tbody>", "</tbody></table>"], td: [3, "<table><tbody><tr>", "</tr></tbody></table>"], col: [2, "<table><tbody></tbody><colgroup>", "</colgroup></table>"], area: [1, "<map>", "</map>"], _default: [0, "", ""]};
  1806. F.optgroup = F.option;
  1807. F.tbody = F.tfoot = F.colgroup = F.caption = F.thead;
  1808. F.th = F.td;
  1809. if (!c.support.htmlSerialize) F._default = [1, "div<div>", "</div>"];
  1810. c.fn.extend({
  1811. text: function (a) {
  1812. if (c.isFunction(a)) return this.each(function (b) {
  1813. var d = c(this);
  1814. d.text(a.call(this, b, d.text()))
  1815. });
  1816. if (typeof a !== "object" && a !== w) return this.empty().append((this[0] && this[0].ownerDocument || s).createTextNode(a));
  1817. return c.text(this)
  1818. }, wrapAll: function (a) {
  1819. if (c.isFunction(a)) return this.each(function (d) {
  1820. c(this).wrapAll(a.call(this, d))
  1821. });
  1822. if (this[0]) {
  1823. var b = c(a, this[0].ownerDocument).eq(0).clone(true);
  1824. this[0].parentNode && b.insertBefore(this[0]);
  1825. b.map(function () {
  1826. for (var d = this; d.firstChild && d.firstChild.nodeType === 1;) d = d.firstChild;
  1827. return d
  1828. }).append(this)
  1829. }
  1830. return this
  1831. }, wrapInner: function (a) {
  1832. if (c.isFunction(a)) return this.each(function (b) {
  1833. c(this).wrapInner(a.call(this, b))
  1834. });
  1835. return this.each(function () {
  1836. var b = c(this), d = b.contents();
  1837. d.length ? d.wrapAll(a) : b.append(a)
  1838. })
  1839. }, wrap: function (a) {
  1840. return this.each(function () {
  1841. c(this).wrapAll(a)
  1842. })
  1843. }, unwrap: function () {
  1844. return this.parent().each(function () {
  1845. c.nodeName(this, "body") || c(this).replaceWith(this.childNodes)
  1846. }).end()
  1847. }, append: function () {
  1848. return this.domManip(arguments, true, function (a) {
  1849. this.nodeType === 1 && this.appendChild(a)
  1850. })
  1851. }, prepend: function () {
  1852. return this.domManip(arguments, true, function (a) {
  1853. this.nodeType === 1 && this.insertBefore(a, this.firstChild)
  1854. })
  1855. }, before: function () {
  1856. if (this[0] && this[0].parentNode) return this.domManip(arguments, false, function (b) {
  1857. this.parentNode.insertBefore(b, this)
  1858. }); else if (arguments.length) {
  1859. var a = c(arguments[0]);
  1860. a.push.apply(a, this.toArray());
  1861. return this.pushStack(a, "before", arguments)
  1862. }
  1863. }, after: function () {
  1864. if (this[0] && this[0].parentNode) return this.domManip(arguments, false, function (b) {
  1865. this.parentNode.insertBefore(b, this.nextSibling)
  1866. }); else if (arguments.length) {
  1867. var a = this.pushStack(this, "after", arguments);
  1868. a.push.apply(a, c(arguments[0]).toArray());
  1869. return a
  1870. }
  1871. }, remove: function (a, b) {
  1872. for (var d = 0, f; (f = this[d]) != null; d++) if (!a || c.filter(a, [f]).length) {
  1873. if (!b && f.nodeType === 1) {
  1874. c.cleanData(f.getElementsByTagName("*"));
  1875. c.cleanData([f])
  1876. }
  1877. f.parentNode && f.parentNode.removeChild(f)
  1878. }
  1879. return this
  1880. }, empty: function () {
  1881. for (var a = 0, b; (b = this[a]) != null; a++) for (b.nodeType === 1 && c.cleanData(b.getElementsByTagName("*")); b.firstChild;) b.removeChild(b.firstChild);
  1882. return this
  1883. }, clone: function (a) {
  1884. var b = this.map(function () {
  1885. if (!c.support.noCloneEvent && !c.isXMLDoc(this)) {
  1886. var d = this.outerHTML, f = this.ownerDocument;
  1887. if (!d) {
  1888. d = f.createElement("div");
  1889. d.appendChild(this.cloneNode(true));
  1890. d = d.innerHTML
  1891. }
  1892. return c.clean([d.replace(Ja, "").replace(/=([^="'>\s]+\/)>/g, '="$1">').replace(V, "")], f)[0]
  1893. } else return this.cloneNode(true)
  1894. });
  1895. if (a === true) {
  1896. ra(this, b);
  1897. ra(this.find("*"), b.find("*"))
  1898. }
  1899. return b
  1900. }, html: function (a) {
  1901. if (a === w) return this[0] && this[0].nodeType === 1 ? this[0].innerHTML.replace(Ja, "") : null; else if (typeof a === "string" && !ta.test(a) && (c.support.leadingWhitespace || !V.test(a)) && !F[(La.exec(a) || ["", ""])[1].toLowerCase()]) {
  1902. a = a.replace(Ka, Ma);
  1903. try {
  1904. for (var b = 0, d = this.length; b < d; b++) if (this[b].nodeType === 1) {
  1905. c.cleanData(this[b].getElementsByTagName("*"));
  1906. this[b].innerHTML = a
  1907. }
  1908. } catch (f) {
  1909. this.empty().append(a)
  1910. }
  1911. } else c.isFunction(a) ? this.each(function (e) {
  1912. var j = c(this), i = j.html();
  1913. j.empty().append(function () {
  1914. return a.call(this, e, i)
  1915. })
  1916. }) : this.empty().append(a);
  1917. return this
  1918. }, replaceWith: function (a) {
  1919. if (this[0] && this[0].parentNode) {
  1920. if (c.isFunction(a)) return this.each(function (b) {
  1921. var d = c(this), f = d.html();
  1922. d.replaceWith(a.call(this, b, f))
  1923. });
  1924. if (typeof a !== "string") a = c(a).detach();
  1925. return this.each(function () {
  1926. var b = this.nextSibling, d = this.parentNode;
  1927. c(this).remove();
  1928. b ? c(b).before(a) : c(d).append(a)
  1929. })
  1930. } else return this.pushStack(c(c.isFunction(a) ? a() : a), "replaceWith", a)
  1931. }, detach: function (a) {
  1932. return this.remove(a, true)
  1933. }, domManip: function (a, b, d) {
  1934. function f(u) {
  1935. return c.nodeName(u, "table") ? u.getElementsByTagName("tbody")[0] || u.appendChild(u.ownerDocument.createElement("tbody")) : u
  1936. }
  1937. var e, j, i = a[0], o = [], k;
  1938. if (!c.support.checkClone && arguments.length === 3 && typeof i === "string" && ua.test(i)) return this.each(function () {
  1939. c(this).domManip(a, b, d, true)
  1940. });
  1941. if (c.isFunction(i)) return this.each(function (u) {
  1942. var z = c(this);
  1943. a[0] = i.call(this, u, b ? z.html() : w);
  1944. z.domManip(a, b, d)
  1945. });
  1946. if (this[0]) {
  1947. e = i && i.parentNode;
  1948. e = c.support.parentNode && e && e.nodeType === 11 && e.childNodes.length === this.length ? {fragment: e} : sa(a, this, o);
  1949. k = e.fragment;
  1950. if (j = k.childNodes.length === 1 ? (k = k.firstChild) : k.firstChild) {
  1951. b = b && c.nodeName(j, "tr");
  1952. for (var n = 0, r = this.length; n < r; n++) d.call(b ? f(this[n], j) : this[n], n > 0 || e.cacheable || this.length > 1 ? k.cloneNode(true) : k)
  1953. }
  1954. o.length && c.each(o, Qa)
  1955. }
  1956. return this
  1957. }
  1958. });
  1959. c.fragments = {};
  1960. c.each({appendTo: "append", prependTo: "prepend", insertBefore: "before", insertAfter: "after", replaceAll: "replaceWith"}, function (a, b) {
  1961. c.fn[a] = function (d) {
  1962. var f = [];
  1963. d = c(d);
  1964. var e = this.length === 1 && this[0].parentNode;
  1965. if (e && e.nodeType === 11 && e.childNodes.length === 1 && d.length === 1) {
  1966. d[b](this[0]);
  1967. return this
  1968. } else {
  1969. e = 0;
  1970. for (var j = d.length; e < j; e++) {
  1971. var i = (e > 0 ? this.clone(true) : this).get();
  1972. c.fn[b].apply(c(d[e]), i);
  1973. f = f.concat(i)
  1974. }
  1975. return this.pushStack(f, a, d.selector)
  1976. }
  1977. }
  1978. });
  1979. c.extend({
  1980. clean: function (a, b, d, f) {
  1981. b = b || s;
  1982. if (typeof b.createElement === "undefined") b = b.ownerDocument || b[0] && b[0].ownerDocument || s;
  1983. for (var e = [], j = 0, i; (i = a[j]) != null; j++) {
  1984. if (typeof i === "number") i += "";
  1985. if (i) {
  1986. if (typeof i === "string" && !jb.test(i)) i = b.createTextNode(i); else if (typeof i === "string") {
  1987. i = i.replace(Ka, Ma);
  1988. var o = (La.exec(i) || ["", ""])[1].toLowerCase(), k = F[o] || F._default, n = k[0], r = b.createElement("div");
  1989. for (r.innerHTML = k[1] + i + k[2]; n--;) r = r.lastChild;
  1990. if (!c.support.tbody) {
  1991. n = ib.test(i);
  1992. o = o === "table" && !n ? r.firstChild && r.firstChild.childNodes : k[1] === "<table>" && !n ? r.childNodes : [];
  1993. for (k = o.length - 1; k >= 0; --k) c.nodeName(o[k], "tbody") && !o[k].childNodes.length && o[k].parentNode.removeChild(o[k])
  1994. }
  1995. !c.support.leadingWhitespace && V.test(i) && r.insertBefore(b.createTextNode(V.exec(i)[0]), r.firstChild);
  1996. i = r.childNodes
  1997. }
  1998. if (i.nodeType) e.push(i); else e = c.merge(e, i)
  1999. }
  2000. }
  2001. if (d) for (j = 0; e[j]; j++) if (f && c.nodeName(e[j], "script") && (!e[j].type || e[j].type.toLowerCase() === "text/javascript")) f.push(e[j].parentNode ? e[j].parentNode.removeChild(e[j]) : e[j]); else {
  2002. e[j].nodeType === 1 && e.splice.apply(e, [j + 1, 0].concat(c.makeArray(e[j].getElementsByTagName("script"))));
  2003. d.appendChild(e[j])
  2004. }
  2005. return e
  2006. }, cleanData: function (a) {
  2007. for (var b, d, f = c.cache, e = c.event.special, j = c.support.deleteExpando, i = 0, o; (o = a[i]) != null; i++) if (d = o[c.expando]) {
  2008. b = f[d];
  2009. if (b.events) for (var k in b.events) e[k] ? c.event.remove(o, k) : Ca(o, k, b.handle);
  2010. if (j) delete o[c.expando]; else o.removeAttribute && o.removeAttribute(c.expando);
  2011. delete f[d]
  2012. }
  2013. }
  2014. });
  2015. var kb = /z-?index|font-?weight|opacity|zoom|line-?height/i, Na = /alpha\([^)]*\)/, Oa = /opacity=([^)]*)/, ha = /float/i, ia = /-([a-z])/ig, lb = /([A-Z])/g, mb = /^-?\d+(?:px)?$/i, nb = /^-?\d/, ob = {
  2016. position: "absolute",
  2017. visibility: "hidden",
  2018. display: "block"
  2019. }, pb = ["Left", "Right"], qb = ["Top", "Bottom"], rb = s.defaultView && s.defaultView.getComputedStyle, Pa = c.support.cssFloat ? "cssFloat" : "styleFloat", ja = function (a, b) {
  2020. return b.toUpperCase()
  2021. };
  2022. c.fn.css = function (a, b) {
  2023. return X(this, a, b, true, function (d, f, e) {
  2024. if (e === w) return c.curCSS(d, f);
  2025. if (typeof e === "number" && !kb.test(f)) e += "px";
  2026. c.style(d, f, e)
  2027. })
  2028. };
  2029. c.extend({
  2030. style: function (a, b, d) {
  2031. if (!a || a.nodeType === 3 || a.nodeType === 8) return w;
  2032. if ((b === "width" || b === "height") && parseFloat(d) < 0) d = w;
  2033. var f = a.style || a, e = d !== w;
  2034. if (!c.support.opacity && b === "opacity") {
  2035. if (e) {
  2036. f.zoom = 1;
  2037. b = parseInt(d, 10) + "" === "NaN" ? "" : "alpha(opacity=" + d * 100 + ")";
  2038. a = f.filter || c.curCSS(a, "filter") || "";
  2039. f.filter = Na.test(a) ? a.replace(Na, b) : b
  2040. }
  2041. return f.filter && f.filter.indexOf("opacity=") >= 0 ? parseFloat(Oa.exec(f.filter)[1]) / 100 + "" : ""
  2042. }
  2043. if (ha.test(b)) b = Pa;
  2044. b = b.replace(ia, ja);
  2045. if (e) f[b] = d;
  2046. return f[b]
  2047. }, css: function (a, b, d, f) {
  2048. if (b === "width" || b === "height") {
  2049. var e, j = b === "width" ? pb : qb;
  2050. function i() {
  2051. e = b === "width" ? a.offsetWidth : a.offsetHeight;
  2052. f !== "border" && c.each(j, function () {
  2053. f || (e -= parseFloat(c.curCSS(a, "padding" + this, true)) || 0);
  2054. if (f === "margin") e += parseFloat(c.curCSS(a, "margin" + this, true)) || 0; else e -= parseFloat(c.curCSS(a, "border" + this + "Width", true)) || 0
  2055. })
  2056. }
  2057. a.offsetWidth !== 0 ? i() : c.swap(a, ob, i);
  2058. return Math.max(0, Math.round(e))
  2059. }
  2060. return c.curCSS(a, b, d)
  2061. }, curCSS: function (a, b, d) {
  2062. var f, e = a.style;
  2063. if (!c.support.opacity && b === "opacity" && a.currentStyle) {
  2064. f = Oa.test(a.currentStyle.filter || "") ? parseFloat(RegExp.$1) / 100 + "" : "";
  2065. return f === "" ? "1" : f
  2066. }
  2067. if (ha.test(b)) b = Pa;
  2068. if (!d && e && e[b]) f = e[b]; else if (rb) {
  2069. if (ha.test(b)) b = "float";
  2070. b = b.replace(lb, "-$1").toLowerCase();
  2071. e = a.ownerDocument.defaultView;
  2072. if (!e) return null;
  2073. if (a = e.getComputedStyle(a, null)) f = a.getPropertyValue(b);
  2074. if (b === "opacity" && f === "") f = "1"
  2075. } else if (a.currentStyle) {
  2076. d = b.replace(ia, ja);
  2077. f = a.currentStyle[b] || a.currentStyle[d];
  2078. if (!mb.test(f) && nb.test(f)) {
  2079. b = e.left;
  2080. var j = a.runtimeStyle.left;
  2081. a.runtimeStyle.left = a.currentStyle.left;
  2082. e.left = d === "fontSize" ? "1em" : f || 0;
  2083. f = e.pixelLeft + "px";
  2084. e.left = b;
  2085. a.runtimeStyle.left = j
  2086. }
  2087. }
  2088. return f
  2089. }, swap: function (a, b, d) {
  2090. var f = {};
  2091. for (var e in b) {
  2092. f[e] = a.style[e];
  2093. a.style[e] = b[e]
  2094. }
  2095. d.call(a);
  2096. for (e in b) a.style[e] = f[e]
  2097. }
  2098. });
  2099. if (c.expr && c.expr.filters) {
  2100. c.expr.filters.hidden = function (a) {
  2101. var b = a.offsetWidth, d = a.offsetHeight, f = a.nodeName.toLowerCase() === "tr";
  2102. return b === 0 && d === 0 && !f ? true : b > 0 && d > 0 && !f ? false : c.curCSS(a, "display") === "none"
  2103. };
  2104. c.expr.filters.visible = function (a) {
  2105. return !c.expr.filters.hidden(a)
  2106. }
  2107. }
  2108. var sb = J(), tb = /<script(.|\s)*?\/script>/gi, ub = /select|textarea/i, vb = /color|date|datetime|email|hidden|month|number|password|range|search|tel|text|time|url|week/i, N = /=\?(&|$)/, ka = /\?/, wb = /(\?|&)_=.*?(&|$)/, xb = /^(\w+:)?\/\/([^\/?#]+)/, yb = /%20/g, zb = c.fn.load;
  2109. c.fn.extend({
  2110. load: function (a, b, d) {
  2111. if (typeof a !== "string") return zb.call(this, a); else if (!this.length) return this;
  2112. var f = a.indexOf(" ");
  2113. if (f >= 0) {
  2114. var e = a.slice(f, a.length);
  2115. a = a.slice(0, f)
  2116. }
  2117. f = "GET";
  2118. if (b) if (c.isFunction(b)) {
  2119. d = b;
  2120. b = null
  2121. } else if (typeof b === "object") {
  2122. b = c.param(b, c.ajaxSettings.traditional);
  2123. f = "POST"
  2124. }
  2125. var j = this;
  2126. c.ajax({
  2127. url: a, type: f, dataType: "html", data: b, complete: function (i, o) {
  2128. if (o === "success" || o === "notmodified") j.html(e ? c("<div />").append(i.responseText.replace(tb, "")).find(e) : i.responseText);
  2129. d && j.each(d, [i.responseText, o, i])
  2130. }
  2131. });
  2132. return this
  2133. }, serialize: function () {
  2134. return c.param(this.serializeArray())
  2135. }, serializeArray: function () {
  2136. return this.map(function () {
  2137. return this.elements ? c.makeArray(this.elements) : this
  2138. }).filter(function () {
  2139. return this.name && !this.disabled && (this.checked || ub.test(this.nodeName) || vb.test(this.type))
  2140. }).map(function (a, b) {
  2141. a = c(this).val();
  2142. return a == null ? null : c.isArray(a) ? c.map(a, function (d) {
  2143. return {name: b.name, value: d}
  2144. }) : {name: b.name, value: a}
  2145. }).get()
  2146. }
  2147. });
  2148. c.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function (a, b) {
  2149. c.fn[b] = function (d) {
  2150. return this.bind(b, d)
  2151. }
  2152. });
  2153. c.extend({
  2154. get: function (a, b, d, f) {
  2155. if (c.isFunction(b)) {
  2156. f = f || d;
  2157. d = b;
  2158. b = null
  2159. }
  2160. return c.ajax({type: "GET", url: a, data: b, success: d, dataType: f})
  2161. }, getScript: function (a, b) {
  2162. return c.get(a, null, b, "script")
  2163. }, getJSON: function (a, b, d) {
  2164. return c.get(a, b, d, "json")
  2165. }, post: function (a, b, d, f) {
  2166. if (c.isFunction(b)) {
  2167. f = f || d;
  2168. d = b;
  2169. b = {}
  2170. }
  2171. return c.ajax({type: "POST", url: a, data: b, success: d, dataType: f})
  2172. }, ajaxSetup: function (a) {
  2173. c.extend(c.ajaxSettings, a)
  2174. }, ajaxSettings: {
  2175. url: location.href, global: true, type: "GET", contentType: "application/x-www-form-urlencoded", processData: true, async: true, xhr: A.XMLHttpRequest && (A.location.protocol !== "file:" || !A.ActiveXObject) ? function () {
  2176. return new A.XMLHttpRequest
  2177. } : function () {
  2178. try {
  2179. return new A.ActiveXObject("Microsoft.XMLHTTP")
  2180. } catch (a) {
  2181. }
  2182. }, accepts: {xml: "application/xml, text/xml", html: "text/html", script: "text/javascript, application/javascript", json: "application/json, text/javascript", text: "text/plain", _default: "*/*"}
  2183. }, lastModified: {}, etag: {}, ajax: function (a) {
  2184. function b() {
  2185. e.success && e.success.call(k, o, i, x);
  2186. e.global && f("ajaxSuccess", [x, e])
  2187. }
  2188. function d() {
  2189. e.complete && e.complete.call(k, x, i);
  2190. e.global && f("ajaxComplete", [x, e]);
  2191. e.global && !--c.active && c.event.trigger("ajaxStop")
  2192. }
  2193. function f(q, p) {
  2194. (e.context ? c(e.context) : c.event).trigger(q, p)
  2195. }
  2196. var e = c.extend(true, {}, c.ajaxSettings, a), j, i, o, k = a && a.context || e, n = e.type.toUpperCase();
  2197. if (e.data && e.processData && typeof e.data !== "string") e.data = c.param(e.data, e.traditional);
  2198. if (e.dataType === "jsonp") {
  2199. if (n === "GET") N.test(e.url) || (e.url += (ka.test(e.url) ? "&" : "?") + (e.jsonp || "callback") + "=?"); else if (!e.data || !N.test(e.data)) e.data = (e.data ? e.data + "&" : "") + (e.jsonp || "callback") + "=?";
  2200. e.dataType = "json"
  2201. }
  2202. if (e.dataType === "json" && (e.data && N.test(e.data) || N.test(e.url))) {
  2203. j = e.jsonpCallback || "jsonp" + sb++;
  2204. if (e.data) e.data = (e.data + "").replace(N, "=" + j + "$1");
  2205. e.url = e.url.replace(N, "=" + j + "$1");
  2206. e.dataType = "script";
  2207. A[j] = A[j] || function (q) {
  2208. o = q;
  2209. b();
  2210. d();
  2211. A[j] = w;
  2212. try {
  2213. delete A[j]
  2214. } catch (p) {
  2215. }
  2216. z && z.removeChild(C)
  2217. }
  2218. }
  2219. if (e.dataType === "script" && e.cache === null) e.cache = false;
  2220. if (e.cache === false && n === "GET") {
  2221. var r = J(), u = e.url.replace(wb, "$1_=" + r + "$2");
  2222. e.url = u + (u === e.url ? (ka.test(e.url) ? "&" : "?") + "_=" + r : "")
  2223. }
  2224. if (e.data && n === "GET") e.url += (ka.test(e.url) ? "&" : "?") + e.data;
  2225. e.global && !c.active++ && c.event.trigger("ajaxStart");
  2226. r = (r = xb.exec(e.url)) && (r[1] && r[1] !== location.protocol || r[2] !== location.host);
  2227. if (e.dataType === "script" && n === "GET" && r) {
  2228. var z = s.getElementsByTagName("head")[0] || s.documentElement, C = s.createElement("script");
  2229. C.src = e.url;
  2230. if (e.scriptCharset) C.charset = e.scriptCharset;
  2231. if (!j) {
  2232. var B = false;
  2233. C.onload = C.onreadystatechange = function () {
  2234. if (!B && (!this.readyState || this.readyState === "loaded" || this.readyState === "complete")) {
  2235. B = true;
  2236. b();
  2237. d();
  2238. C.onload = C.onreadystatechange = null;
  2239. z && C.parentNode && z.removeChild(C)
  2240. }
  2241. }
  2242. }
  2243. z.insertBefore(C, z.firstChild);
  2244. return w
  2245. }
  2246. var E = false, x = e.xhr();
  2247. if (x) {
  2248. e.username ? x.open(n, e.url, e.async, e.username, e.password) : x.open(n, e.url, e.async);
  2249. try {
  2250. if (e.data || a && a.contentType) x.setRequestHeader("Content-Type", e.contentType);
  2251. if (e.ifModified) {
  2252. c.lastModified[e.url] && x.setRequestHeader("If-Modified-Since", c.lastModified[e.url]);
  2253. c.etag[e.url] && x.setRequestHeader("If-None-Match", c.etag[e.url])
  2254. }
  2255. r || x.setRequestHeader("X-Requested-With", "XMLHttpRequest");
  2256. x.setRequestHeader("Accept", e.dataType && e.accepts[e.dataType] ? e.accepts[e.dataType] + ", */*" : e.accepts._default)
  2257. } catch (ga) {
  2258. }
  2259. if (e.beforeSend && e.beforeSend.call(k, x, e) === false) {
  2260. e.global && !--c.active && c.event.trigger("ajaxStop");
  2261. x.abort();
  2262. return false
  2263. }
  2264. e.global && f("ajaxSend", [x, e]);
  2265. var g = x.onreadystatechange = function (q) {
  2266. if (!x || x.readyState === 0 || q === "abort") {
  2267. E || d();
  2268. E = true;
  2269. if (x) x.onreadystatechange = c.noop
  2270. } else if (!E && x && (x.readyState === 4 || q === "timeout")) {
  2271. E = true;
  2272. x.onreadystatechange = c.noop;
  2273. i = q === "timeout" ? "timeout" : !c.httpSuccess(x) ? "error" : e.ifModified && c.httpNotModified(x, e.url) ? "notmodified" : "success";
  2274. var p;
  2275. if (i === "success") try {
  2276. o = c.httpData(x, e.dataType, e)
  2277. } catch (v) {
  2278. i = "parsererror";
  2279. p = v
  2280. }
  2281. if (i === "success" || i === "notmodified") j || b(); else c.handleError(e, x, i, p);
  2282. d();
  2283. q === "timeout" && x.abort();
  2284. if (e.async) x = null
  2285. }
  2286. };
  2287. try {
  2288. var h = x.abort;
  2289. x.abort = function () {
  2290. x && h.call(x);
  2291. g("abort")
  2292. }
  2293. } catch (l) {
  2294. }
  2295. e.async && e.timeout > 0 && setTimeout(function () {
  2296. x && !E && g("timeout")
  2297. }, e.timeout);
  2298. try {
  2299. x.send(n === "POST" || n === "PUT" || n === "DELETE" ? e.data : null)
  2300. } catch (m) {
  2301. c.handleError(e, x, null, m);
  2302. d()
  2303. }
  2304. e.async || g();
  2305. return x
  2306. }
  2307. }, handleError: function (a, b, d, f) {
  2308. if (a.error) a.error.call(a.context || a, b, d, f);
  2309. if (a.global) (a.context ? c(a.context) : c.event).trigger("ajaxError", [b, a, f])
  2310. }, active: 0, httpSuccess: function (a) {
  2311. try {
  2312. return !a.status && location.protocol === "file:" || a.status >= 200 && a.status < 300 || a.status === 304 || a.status === 1223 || a.status === 0
  2313. } catch (b) {
  2314. }
  2315. return false
  2316. }, httpNotModified: function (a, b) {
  2317. var d = a.getResponseHeader("Last-Modified"), f = a.getResponseHeader("Etag");
  2318. if (d) c.lastModified[b] = d;
  2319. if (f) c.etag[b] = f;
  2320. return a.status === 304 || a.status === 0
  2321. }, httpData: function (a, b, d) {
  2322. var f = a.getResponseHeader("content-type") || "", e = b === "xml" || !b && f.indexOf("xml") >= 0;
  2323. a = e ? a.responseXML : a.responseText;
  2324. e && a.documentElement.nodeName === "parsererror" && c.error("parsererror");
  2325. if (d && d.dataFilter) a = d.dataFilter(a, b);
  2326. if (typeof a === "string") if (b === "json" || !b && f.indexOf("json") >= 0) a = c.parseJSON(a); else if (b === "script" || !b && f.indexOf("javascript") >= 0) c.globalEval(a);
  2327. return a
  2328. }, param: function (a, b) {
  2329. function d(i, o) {
  2330. if (c.isArray(o)) c.each(o, function (k, n) {
  2331. b || /\[\]$/.test(i) ? f(i, n) : d(i + "[" + (typeof n === "object" || c.isArray(n) ? k : "") + "]", n)
  2332. }); else !b && o != null && typeof o === "object" ? c.each(o, function (k, n) {
  2333. d(i + "[" + k + "]", n)
  2334. }) : f(i, o)
  2335. }
  2336. function f(i, o) {
  2337. o = c.isFunction(o) ? o() : o;
  2338. e[e.length] = encodeURIComponent(i) + "=" + encodeURIComponent(o)
  2339. }
  2340. var e = [];
  2341. if (b === w) b = c.ajaxSettings.traditional;
  2342. if (c.isArray(a) || a.jquery) c.each(a, function () {
  2343. f(this.name, this.value)
  2344. }); else for (var j in a) d(j, a[j]);
  2345. return e.join("&").replace(yb, "+")
  2346. }
  2347. });
  2348. var la = {}, Ab = /toggle|show|hide/, Bb = /^([+-]=)?([\d+-.]+)(.*)$/, W, va = [["height", "marginTop", "marginBottom", "paddingTop", "paddingBottom"], ["width", "marginLeft", "marginRight", "paddingLeft", "paddingRight"], ["opacity"]];
  2349. c.fn.extend({
  2350. show: function (a, b) {
  2351. if (a || a === 0) return this.animate(K("show", 3), a, b); else {
  2352. a = 0;
  2353. for (b = this.length; a < b; a++) {
  2354. var d = c.data(this[a], "olddisplay");
  2355. this[a].style.display = d || "";
  2356. if (c.css(this[a], "display") === "none") {
  2357. d = this[a].nodeName;
  2358. var f;
  2359. if (la[d]) f = la[d]; else {
  2360. var e = c("<" + d + " />").appendTo("body");
  2361. f = e.css("display");
  2362. if (f === "none") f = "block";
  2363. e.remove();
  2364. la[d] = f
  2365. }
  2366. c.data(this[a], "olddisplay", f)
  2367. }
  2368. }
  2369. a = 0;
  2370. for (b = this.length; a < b; a++) this[a].style.display = c.data(this[a], "olddisplay") || "";
  2371. return this
  2372. }
  2373. }, hide: function (a, b) {
  2374. if (a || a === 0) return this.animate(K("hide", 3), a, b); else {
  2375. a = 0;
  2376. for (b = this.length; a < b; a++) {
  2377. var d = c.data(this[a], "olddisplay");
  2378. !d && d !== "none" && c.data(this[a], "olddisplay", c.css(this[a], "display"))
  2379. }
  2380. a = 0;
  2381. for (b = this.length; a < b; a++) this[a].style.display = "none";
  2382. return this
  2383. }
  2384. }, _toggle: c.fn.toggle, toggle: function (a, b) {
  2385. var d = typeof a === "boolean";
  2386. if (c.isFunction(a) && c.isFunction(b)) this._toggle.apply(this, arguments); else a == null || d ? this.each(function () {
  2387. var f = d ? a : c(this).is(":hidden");
  2388. c(this)[f ? "show" : "hide"]()
  2389. }) : this.animate(K("toggle", 3), a, b);
  2390. return this
  2391. }, fadeTo: function (a, b, d) {
  2392. return this.filter(":hidden").css("opacity", 0).show().end().animate({opacity: b}, a, d)
  2393. }, animate: function (a, b, d, f) {
  2394. var e = c.speed(b, d, f);
  2395. if (c.isEmptyObject(a)) return this.each(e.complete);
  2396. return this[e.queue === false ? "each" : "queue"](function () {
  2397. var j = c.extend({}, e), i, o = this.nodeType === 1 && c(this).is(":hidden"), k = this;
  2398. for (i in a) {
  2399. var n = i.replace(ia, ja);
  2400. if (i !== n) {
  2401. a[n] = a[i];
  2402. delete a[i];
  2403. i = n
  2404. }
  2405. if (a[i] === "hide" && o || a[i] === "show" && !o) return j.complete.call(this);
  2406. if ((i === "height" || i === "width") && this.style) {
  2407. j.display = c.css(this, "display");
  2408. j.overflow = this.style.overflow
  2409. }
  2410. if (c.isArray(a[i])) {
  2411. (j.specialEasing = j.specialEasing || {})[i] = a[i][1];
  2412. a[i] = a[i][0]
  2413. }
  2414. }
  2415. if (j.overflow != null) this.style.overflow = "hidden";
  2416. j.curAnim = c.extend({}, a);
  2417. c.each(a, function (r, u) {
  2418. var z = new c.fx(k, j, r);
  2419. if (Ab.test(u)) z[u === "toggle" ? o ? "show" : "hide" : u](a); else {
  2420. var C = Bb.exec(u), B = z.cur(true) || 0;
  2421. if (C) {
  2422. u = parseFloat(C[2]);
  2423. var E = C[3] || "px";
  2424. if (E !== "px") {
  2425. k.style[r] = (u || 1) + E;
  2426. B = (u || 1) / z.cur(true) * B;
  2427. k.style[r] = B + E
  2428. }
  2429. if (C[1]) u = (C[1] === "-=" ? -1 : 1) * u + B;
  2430. z.custom(B, u, E)
  2431. } else z.custom(B, u, "")
  2432. }
  2433. });
  2434. return true
  2435. })
  2436. }, stop: function (a, b) {
  2437. var d = c.timers;
  2438. a && this.queue([]);
  2439. this.each(function () {
  2440. for (var f = d.length - 1; f >= 0; f--) if (d[f].elem === this) {
  2441. b && d[f](true);
  2442. d.splice(f, 1)
  2443. }
  2444. });
  2445. b || this.dequeue();
  2446. return this
  2447. }
  2448. });
  2449. c.each({slideDown: K("show", 1), slideUp: K("hide", 1), slideToggle: K("toggle", 1), fadeIn: {opacity: "show"}, fadeOut: {opacity: "hide"}}, function (a, b) {
  2450. c.fn[a] = function (d, f) {
  2451. return this.animate(b, d, f)
  2452. }
  2453. });
  2454. c.extend({
  2455. speed: function (a, b, d) {
  2456. var f = a && typeof a === "object" ? a : {complete: d || !d && b || c.isFunction(a) && a, duration: a, easing: d && b || b && !c.isFunction(b) && b};
  2457. f.duration = c.fx.off ? 0 : typeof f.duration === "number" ? f.duration : c.fx.speeds[f.duration] || c.fx.speeds._default;
  2458. f.old = f.complete;
  2459. f.complete = function () {
  2460. f.queue !== false && c(this).dequeue();
  2461. c.isFunction(f.old) && f.old.call(this)
  2462. };
  2463. return f
  2464. }, easing: {
  2465. linear: function (a, b, d, f) {
  2466. return d + f * a
  2467. }, swing: function (a, b, d, f) {
  2468. return (-Math.cos(a * Math.PI) / 2 + 0.5) * f + d
  2469. }
  2470. }, timers: [], fx: function (a, b, d) {
  2471. this.options = b;
  2472. this.elem = a;
  2473. this.prop = d;
  2474. if (!b.orig) b.orig = {}
  2475. }
  2476. });
  2477. c.fx.prototype = {
  2478. update: function () {
  2479. this.options.step && this.options.step.call(this.elem, this.now, this);
  2480. (c.fx.step[this.prop] || c.fx.step._default)(this);
  2481. if ((this.prop === "height" || this.prop === "width") && this.elem.style) this.elem.style.display = "block"
  2482. }, cur: function (a) {
  2483. if (this.elem[this.prop] != null && (!this.elem.style || this.elem.style[this.prop] == null)) return this.elem[this.prop];
  2484. return (a = parseFloat(c.css(this.elem, this.prop, a))) && a > -10000 ? a : parseFloat(c.curCSS(this.elem, this.prop)) || 0
  2485. }, custom: function (a, b, d) {
  2486. function f(j) {
  2487. return e.step(j)
  2488. }
  2489. this.startTime = J();
  2490. this.start = a;
  2491. this.end = b;
  2492. this.unit = d || this.unit || "px";
  2493. this.now = this.start;
  2494. this.pos = this.state = 0;
  2495. var e = this;
  2496. f.elem = this.elem;
  2497. if (f() && c.timers.push(f) && !W) W = setInterval(c.fx.tick, 13)
  2498. }, show: function () {
  2499. this.options.orig[this.prop] = c.style(this.elem, this.prop);
  2500. this.options.show = true;
  2501. this.custom(this.prop === "width" || this.prop === "height" ? 1 : 0, this.cur());
  2502. c(this.elem).show()
  2503. }, hide: function () {
  2504. this.options.orig[this.prop] = c.style(this.elem, this.prop);
  2505. this.options.hide = true;
  2506. this.custom(this.cur(), 0)
  2507. }, step: function (a) {
  2508. var b = J(), d = true;
  2509. if (a || b >= this.options.duration + this.startTime) {
  2510. this.now = this.end;
  2511. this.pos = this.state = 1;
  2512. this.update();
  2513. this.options.curAnim[this.prop] = true;
  2514. for (var f in this.options.curAnim) if (this.options.curAnim[f] !== true) d = false;
  2515. if (d) {
  2516. if (this.options.display != null) {
  2517. this.elem.style.overflow = this.options.overflow;
  2518. a = c.data(this.elem, "olddisplay");
  2519. this.elem.style.display = a ? a : this.options.display;
  2520. if (c.css(this.elem, "display") === "none") this.elem.style.display = "block"
  2521. }
  2522. this.options.hide && c(this.elem).hide();
  2523. if (this.options.hide || this.options.show) for (var e in this.options.curAnim) c.style(this.elem, e, this.options.orig[e]);
  2524. this.options.complete.call(this.elem)
  2525. }
  2526. return false
  2527. } else {
  2528. e = b - this.startTime;
  2529. this.state = e / this.options.duration;
  2530. a = this.options.easing || (c.easing.swing ? "swing" : "linear");
  2531. this.pos = c.easing[this.options.specialEasing && this.options.specialEasing[this.prop] || a](this.state, e, 0, 1, this.options.duration);
  2532. this.now = this.start + (this.end - this.start) * this.pos;
  2533. this.update()
  2534. }
  2535. return true
  2536. }
  2537. };
  2538. c.extend(c.fx, {
  2539. tick: function () {
  2540. for (var a = c.timers, b = 0; b < a.length; b++) a[b]() || a.splice(b--, 1);
  2541. a.length || c.fx.stop()
  2542. }, stop: function () {
  2543. clearInterval(W);
  2544. W = null
  2545. }, speeds: {slow: 600, fast: 200, _default: 400}, step: {
  2546. opacity: function (a) {
  2547. c.style(a.elem, "opacity", a.now)
  2548. }, _default: function (a) {
  2549. if (a.elem.style && a.elem.style[a.prop] != null) a.elem.style[a.prop] = (a.prop === "width" || a.prop === "height" ? Math.max(0, a.now) : a.now) + a.unit; else a.elem[a.prop] = a.now
  2550. }
  2551. }
  2552. });
  2553. if (c.expr && c.expr.filters) c.expr.filters.animated = function (a) {
  2554. return c.grep(c.timers, function (b) {
  2555. return a === b.elem
  2556. }).length
  2557. };
  2558. c.fn.offset = "getBoundingClientRect" in s.documentElement ? function (a) {
  2559. var b = this[0];
  2560. if (a) return this.each(function (e) {
  2561. c.offset.setOffset(this, a, e)
  2562. });
  2563. if (!b || !b.ownerDocument) return null;
  2564. if (b === b.ownerDocument.body) return c.offset.bodyOffset(b);
  2565. var d = b.getBoundingClientRect(), f = b.ownerDocument;
  2566. b = f.body;
  2567. f = f.documentElement;
  2568. return {top: d.top + (self.pageYOffset || c.support.boxModel && f.scrollTop || b.scrollTop) - (f.clientTop || b.clientTop || 0), left: d.left + (self.pageXOffset || c.support.boxModel && f.scrollLeft || b.scrollLeft) - (f.clientLeft || b.clientLeft || 0)}
  2569. } : function (a) {
  2570. var b = this[0];
  2571. if (a) return this.each(function (r) {
  2572. c.offset.setOffset(this, a, r)
  2573. });
  2574. if (!b || !b.ownerDocument) return null;
  2575. if (b === b.ownerDocument.body) return c.offset.bodyOffset(b);
  2576. c.offset.initialize();
  2577. var d = b.offsetParent, f = b, e = b.ownerDocument, j, i = e.documentElement, o = e.body;
  2578. f = (e = e.defaultView) ? e.getComputedStyle(b, null) : b.currentStyle;
  2579. for (var k = b.offsetTop, n = b.offsetLeft; (b = b.parentNode) && b !== o && b !== i;) {
  2580. if (c.offset.supportsFixedPosition && f.position === "fixed") break;
  2581. j = e ? e.getComputedStyle(b, null) : b.currentStyle;
  2582. k -= b.scrollTop;
  2583. n -= b.scrollLeft;
  2584. if (b === d) {
  2585. k += b.offsetTop;
  2586. n += b.offsetLeft;
  2587. if (c.offset.doesNotAddBorder && !(c.offset.doesAddBorderForTableAndCells && /^t(able|d|h)$/i.test(b.nodeName))) {
  2588. k += parseFloat(j.borderTopWidth) || 0;
  2589. n += parseFloat(j.borderLeftWidth) || 0
  2590. }
  2591. f = d;
  2592. d = b.offsetParent
  2593. }
  2594. if (c.offset.subtractsBorderForOverflowNotVisible && j.overflow !== "visible") {
  2595. k += parseFloat(j.borderTopWidth) || 0;
  2596. n += parseFloat(j.borderLeftWidth) || 0
  2597. }
  2598. f = j
  2599. }
  2600. if (f.position === "relative" || f.position === "static") {
  2601. k += o.offsetTop;
  2602. n += o.offsetLeft
  2603. }
  2604. if (c.offset.supportsFixedPosition && f.position === "fixed") {
  2605. k += Math.max(i.scrollTop, o.scrollTop);
  2606. n += Math.max(i.scrollLeft, o.scrollLeft)
  2607. }
  2608. return {top: k, left: n}
  2609. };
  2610. c.offset = {
  2611. initialize: function () {
  2612. var a = s.body, b = s.createElement("div"), d, f, e, j = parseFloat(c.curCSS(a, "marginTop", true)) || 0;
  2613. c.extend(b.style, {position: "absolute", top: 0, left: 0, margin: 0, border: 0, width: "1px", height: "1px", visibility: "hidden"});
  2614. b.innerHTML = "<div style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;'><div></div></div><table style='position:absolute;top:0;left:0;margin:0;border:5px solid #000;padding:0;width:1px;height:1px;' cellpadding='0' cellspacing='0'><tr><td></td></tr></table>";
  2615. a.insertBefore(b, a.firstChild);
  2616. d = b.firstChild;
  2617. f = d.firstChild;
  2618. e = d.nextSibling.firstChild.firstChild;
  2619. this.doesNotAddBorder = f.offsetTop !== 5;
  2620. this.doesAddBorderForTableAndCells = e.offsetTop === 5;
  2621. f.style.position = "fixed";
  2622. f.style.top = "20px";
  2623. this.supportsFixedPosition = f.offsetTop === 20 || f.offsetTop === 15;
  2624. f.style.position = f.style.top = "";
  2625. d.style.overflow = "hidden";
  2626. d.style.position = "relative";
  2627. this.subtractsBorderForOverflowNotVisible = f.offsetTop === -5;
  2628. this.doesNotIncludeMarginInBodyOffset = a.offsetTop !== j;
  2629. a.removeChild(b);
  2630. c.offset.initialize = c.noop
  2631. }, bodyOffset: function (a) {
  2632. var b = a.offsetTop, d = a.offsetLeft;
  2633. c.offset.initialize();
  2634. if (c.offset.doesNotIncludeMarginInBodyOffset) {
  2635. b += parseFloat(c.curCSS(a, "marginTop", true)) || 0;
  2636. d += parseFloat(c.curCSS(a, "marginLeft", true)) || 0
  2637. }
  2638. return {top: b, left: d}
  2639. }, setOffset: function (a, b, d) {
  2640. if (/static/.test(c.curCSS(a, "position"))) a.style.position = "relative";
  2641. var f = c(a), e = f.offset(), j = parseInt(c.curCSS(a, "top", true), 10) || 0, i = parseInt(c.curCSS(a, "left", true), 10) || 0;
  2642. if (c.isFunction(b)) b = b.call(a, d, e);
  2643. d = {top: b.top - e.top + j, left: b.left - e.left + i};
  2644. "using" in b ? b.using.call(a, d) : f.css(d)
  2645. }
  2646. };
  2647. c.fn.extend({
  2648. position: function () {
  2649. if (!this[0]) return null;
  2650. var a = this[0], b = this.offsetParent(), d = this.offset(), f = /^body|html$/i.test(b[0].nodeName) ? {top: 0, left: 0} : b.offset();
  2651. d.top -= parseFloat(c.curCSS(a, "marginTop", true)) || 0;
  2652. d.left -= parseFloat(c.curCSS(a, "marginLeft", true)) || 0;
  2653. f.top += parseFloat(c.curCSS(b[0], "borderTopWidth", true)) || 0;
  2654. f.left += parseFloat(c.curCSS(b[0], "borderLeftWidth", true)) || 0;
  2655. return {top: d.top - f.top, left: d.left - f.left}
  2656. }, offsetParent: function () {
  2657. return this.map(function () {
  2658. for (var a = this.offsetParent || s.body; a && !/^body|html$/i.test(a.nodeName) && c.css(a, "position") === "static";) a = a.offsetParent;
  2659. return a
  2660. })
  2661. }
  2662. });
  2663. c.each(["Left", "Top"], function (a, b) {
  2664. var d = "scroll" + b;
  2665. c.fn[d] = function (f) {
  2666. var e = this[0], j;
  2667. if (!e) return null;
  2668. if (f !== w) return this.each(function () {
  2669. if (j = wa(this)) j.scrollTo(!a ? f : c(j).scrollLeft(), a ? f : c(j).scrollTop()); else this[d] = f
  2670. }); else return (j = wa(e)) ? "pageXOffset" in j ? j[a ? "pageYOffset" : "pageXOffset"] : c.support.boxModel && j.document.documentElement[d] || j.document.body[d] : e[d]
  2671. }
  2672. });
  2673. c.each(["Height", "Width"], function (a, b) {
  2674. var d = b.toLowerCase();
  2675. c.fn["inner" + b] = function () {
  2676. return this[0] ? c.css(this[0], d, false, "padding") : null
  2677. };
  2678. c.fn["outer" + b] = function (f) {
  2679. return this[0] ? c.css(this[0], d, false, f ? "margin" : "border") : null
  2680. };
  2681. c.fn[d] = function (f) {
  2682. var e = this[0];
  2683. if (!e) return f == null ? null : this;
  2684. if (c.isFunction(f)) return this.each(function (j) {
  2685. var i = c(this);
  2686. i[d](f.call(this, j, i[d]()))
  2687. });
  2688. return "scrollTo" in e && e.document ? e.document.compatMode === "CSS1Compat" && e.document.documentElement["client" + b] || e.document.body["client" + b] : e.nodeType === 9 ? Math.max(e.documentElement["client" + b], e.body["scroll" + b], e.documentElement["scroll" + b], e.body["offset" + b], e.documentElement["offset" + b]) : f === w ? c.css(e, d) : this.css(d, typeof f === "string" ? f : f + "px")
  2689. }
  2690. });
  2691. A.jQuery = A.$ = c
  2692. })(window);
  2693. !function (a, b, c, d) {
  2694. var e = a(b);
  2695. a.fn.lazyload = function (f) {
  2696. function g() {
  2697. var b = 0;
  2698. i.each(function () {
  2699. var c = a(this);
  2700. if (!j.skip_invisible || c.is(":visible")) if (a.abovethetop(this, j) || a.leftofbegin(this, j)); else if (a.belowthefold(this, j) || a.rightoffold(this, j)) {
  2701. if (++b > j.failure_limit) return !1
  2702. } else c.trigger("appear"), b = 0
  2703. })
  2704. }
  2705. var h, i = this, j = {threshold: 0, failure_limit: 0, event: "scroll", effect: "show", container: b, data_attribute: "original", skip_invisible: !0, appear: null, load: null, placeholder: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB/AAffA0nNPuCLAAAAAElFTkSuQmCC"};
  2706. return f && (d !== f.failurelimit && (f.failure_limit = f.failurelimit, delete f.failurelimit), d !== f.effectspeed && (f.effect_speed = f.effectspeed, delete f.effectspeed), a.extend(j, f)), h = j.container === d || j.container === b ? e : a(j.container), 0 === j.event.indexOf("scroll") && h.bind(j.event, function () {
  2707. return g()
  2708. }), this.each(function () {
  2709. var b = this, c = a(b);
  2710. b.loaded = !1, (c.attr("src") === d || c.attr("src") === !1) && c.is("img") && c.attr("src", j.placeholder), c.one("appear", function () {
  2711. if (!this.loaded) {
  2712. if (j.appear) {
  2713. var d = i.length;
  2714. j.appear.call(b, d, j)
  2715. }
  2716. a("<img />").bind("load", function () {
  2717. var d = c.attr("data-" + j.data_attribute);
  2718. c.hide(), c.is("img") ? c.attr("src", d) : c.css("background-image", "url('" + d + "')"), c[j.effect](j.effect_speed), b.loaded = !0;
  2719. var e = a.grep(i, function (a) {
  2720. return !a.loaded
  2721. });
  2722. if (i = a(e), j.load) {
  2723. var f = i.length;
  2724. j.load.call(b, f, j)
  2725. }
  2726. }).attr("src", c.attr("data-" + j.data_attribute))
  2727. }
  2728. }), 0 !== j.event.indexOf("scroll") && c.bind(j.event, function () {
  2729. b.loaded || c.trigger("appear")
  2730. })
  2731. }), e.bind("resize", function () {
  2732. g()
  2733. }), /(?:iphone|ipod|ipad).*os 5/gi.test(navigator.appVersion) && e.bind("pageshow", function (b) {
  2734. b.originalEvent && b.originalEvent.persisted && i.each(function () {
  2735. a(this).trigger("appear")
  2736. })
  2737. }), a(c).ready(function () {
  2738. g()
  2739. }), this
  2740. }, a.belowthefold = function (c, f) {
  2741. var g;
  2742. return g = f.container === d || f.container === b ? (b.innerHeight ? b.innerHeight : e.height()) + e.scrollTop() : a(f.container).offset().top + a(f.container).height(), g <= a(c).offset().top - f.threshold
  2743. }, a.rightoffold = function (c, f) {
  2744. var g;
  2745. return g = f.container === d || f.container === b ? e.width() + e.scrollLeft() : a(f.container).offset().left + a(f.container).width(), g <= a(c).offset().left - f.threshold
  2746. }, a.abovethetop = function (c, f) {
  2747. var g;
  2748. return g = f.container === d || f.container === b ? e.scrollTop() : a(f.container).offset().top, g >= a(c).offset().top + f.threshold + a(c).height()
  2749. }, a.leftofbegin = function (c, f) {
  2750. var g;
  2751. return g = f.container === d || f.container === b ? e.scrollLeft() : a(f.container).offset().left, g >= a(c).offset().left + f.threshold + a(c).width()
  2752. }, a.inviewport = function (b, c) {
  2753. return !(a.rightoffold(b, c) || a.leftofbegin(b, c) || a.belowthefold(b, c) || a.abovethetop(b, c))
  2754. }, a.extend(a.expr[":"], {
  2755. "below-the-fold": function (b) {
  2756. return a.belowthefold(b, {threshold: 0})
  2757. }, "above-the-top": function (b) {
  2758. return !a.belowthefold(b, {threshold: 0})
  2759. }, "right-of-screen": function (b) {
  2760. return a.rightoffold(b, {threshold: 0})
  2761. }, "left-of-screen": function (b) {
  2762. return !a.rightoffold(b, {threshold: 0})
  2763. }, "in-viewport": function (b) {
  2764. return a.inviewport(b, {threshold: 0})
  2765. }, "above-the-fold": function (b) {
  2766. return !a.belowthefold(b, {threshold: 0})
  2767. }, "right-of-fold": function (b) {
  2768. return a.rightoffold(b, {threshold: 0})
  2769. }, "left-of-fold": function (b) {
  2770. return !a.rightoffold(b, {threshold: 0})
  2771. }
  2772. })
  2773. }(jQuery, window, document);
  2774. $.fn.on = function (event, selector, callback) {
  2775. return !selector || $.isFunction(selector) ? this.bind(event, selector || callback) : this.delegate(selector, event, callback)
  2776. }