Advertisement
Guest User

Atmo js

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