(function (a, b) {
function cv(a) {
return f.iswindow(a) ? a : a.nodetype === 9 ? a.defaultview || a.parentwindow : !1
}
function cs(a) {
if (!ca[a]) {
var b = c.body, d = f("<" + a + ">").appendto(b), e = d.css("display");
d.remove();
if (e === "none" || e === "") {
ch || (ch = c.createelement("iframe"), ch.frameborder = ch.width = ch.height = 0), b.appendchild(ch);
if (!ci || !ch.createelement)
ci = (ch.contentwindow || ch.contentdocument).document, ci.write((c.compatmode === "css1compat" ? "" : "") + "
"), ci.close();
d = ci.createelement(a), ci.body.appendchild(d), e = f.css(d, "display"), b.removechild(ch)
}
ca[a] = e
}
return ca[a]
}
function cr(a, b) {
var c = {};
f.each(cm.concat.apply([], cm.slice(0, b)), function () {
c[this] = a
});
return c
}
function cq() {
cn = b
}
function cp() {
settimeout(cq, 0);
return cn = f.now()
}
function cf() {
try {
return new a.activexobject("microsoft.xmlhttp")
} catch (b) {
}
}
function ce() {
try {
return new a.xmlhttprequest
} catch (b) {
}
}
function b$(a, c) {
a.datafilter && (c = a.datafilter(c, a.datatype));
var d = a.datatypes, e = {}, g, h, i = d.length, j, k = d[0], l, m, n, o, p;
for (g = 1; g < i; g++) {
if (g === 1)
for (h in a.converters)
typeof h == "string" && (e[h.tolowercase()] = a.converters[h]);
l = k, k = d[g];
if (k === "*")
k = l;
else if (l !== "*" && l !== k) {
m = l + " " + k, n = e[m] || e["* " + k];
if (!n) {
p = b;
for (o in e) {
j = o.split(" ");
if (j[0] === l || j[0] === "*") {
p = e[j[1] + " " + k];
if (p) {
o = e[o], o === !0 ? n = p : p === !0 && (n = o);
break
}
}
}
}
!n && !p && f.error("no conversion from " + m.replace(" ", " to ")), n !== !0 && (c = n ? n(c) : p(o(c)))
}
}
return c
}
function bz(a, c, d) {
var e = a.contents, f = a.datatypes, g = a.responsefields, h, i, j, k;
for (i in g)
i in d && (c[g[i]] = d[i]);
while (f[0] === "*")
f.shift(), h === b && (h = a.mimetype || c.getresponseheader("content-type"));
if (h)
for (i in e)
if (e[i] && e[i].test(h)) {
f.unshift(i);
break
}
if (f[0] in d)
j = f[0];
else {
for (i in d) {
if (!f[0] || a.converters[i + " " + f[0]]) {
j = i;
break
}
k || (k = i)
}
j = j || k
}
if (j) {
j !== f[0] && f.unshift(j);
return d[j]
}
}
function by(a, b, c, d) {
if (f.isarray(b))
f.each(b, function (b, e) {
c || bc.test(a) ? d(a, e) : by(a + "[" + (typeof e == "object" || f.isarray(e) ? b : "") + "]", e, c, d)
});
else if (!c && b != null && typeof b == "object")
for (var e in b)
by(a + "[" + e + "]", b[e], c, d);
else
d(a, b)
}
function bx(a, c, d, e, f, g) {
f = f || c.datatypes[0], g = g || {}, g[f] = !0;
var h = a[f], i = 0, j = h ? h.length : 0, k = a === br, l;
for (; i < j && (k || !l) ; i++)
l = h[i](c, d, e), typeof l == "string" && (!k || g[l] ? l = b : (c.datatypes.unshift(l), l = bx(a, c, d, e, l, g)));
(k || !l) && !g["*"] && (l = bx(a, c, d, e, "*", g));
return l
}
function bw(a) {
return function (b, c) {
typeof b != "string" && (c = b, b = "*");
if (f.isfunction(c)) {
var d = b.tolowercase().split(bn), e = 0, g = d.length, h, i, j;
for (; e < g; e++)
h = d[e], j = /^\+/.test(h), j && (h = h.substr(1) || "*"), i = a[h] = a[h] || [], i[j ? "unshift" : "push"](c)
}
}
}
function ba(a, b, c) {
var d = b === "width" ? a.offsetwidth : a.offsetheight, e = b === "width" ? bv : bw;
if (d > 0) {
c !== "border" && f.each(e, function () {
c || (d -= parsefloat(f.css(a, "padding" + this)) || 0), c === "margin" ? d += parsefloat(f.css(a, c + this)) || 0 : d -= parsefloat(f.css(a, "border" + this + "width")) || 0
});
return d + "px"
}
d = bx(a, b, b);
if (d < 0 || d == null)
d = a.style[b] || 0;
d = parsefloat(d) || 0, c && f.each(e, function () {
d += parsefloat(f.css(a, "padding" + this)) || 0, c !== "padding" && (d += parsefloat(f.css(a, "border" + this + "width")) || 0), c === "margin" && (d += parsefloat(f.css(a, c + this)) || 0)
});
return d + "px"
}
function bm(a, b) {
b.src ? f.ajax({ url: b.src, async: !1, datatype: "script" }) : f.globaleval((b.text || b.textcontent || b.innerhtml || "").replace(be, "/*$0*/")), b.parentnode && b.parentnode.removechild(b)
}
function bl(a) {
f.nodename(a, "input") ? bk(a) : "getelementsbytagname" in a && f.grep(a.getelementsbytagname("input"), bk)
}
function bk(a) {
if (a.type === "checkbox" || a.type === "radio")
a.defaultchecked = a.checked
}
function bj(a) {
return "getelementsbytagname" in a ? a.getelementsbytagname("*") : "queryselectorall" in a ? a.queryselectorall("*") : []
}
function bi(a, b) {
var c;
if (b.nodetype === 1) {
b.clearattributes && b.clearattributes(), b.mergeattributes && b.mergeattributes(a), c = b.nodename.tolowercase();
if (c === "object")
b.outerhtml = a.outerhtml;
else if (c !== "input" || a.type !== "checkbox" && a.type !== "radio") {
if (c === "option")
b.selected = a.defaultselected;
else if (c === "input" || c === "textarea")
b.defaultvalue = a.defaultvalue
} else
a.checked && (b.defaultchecked = b.checked = a.checked), b.value !== a.value && (b.value = a.value);
b.removeattribute(f.expando)
}
}
function bh(a, b) {
if (b.nodetype === 1 && !!f.hasdata(a)) {
var c = f.expando, d = f.data(a), e = f.data(b, d);
if (d = d[c]) {
var g = d.events;
e = e[c] = f.extend({}, d);
if (g) {
delete e.handle, e.events = {};
for (var h in g)
for (var i = 0, j = g[h].length; i < j; i++)
f.event.add(b, h + (g[h][i].namespace ? "." : "") + g[h][i].namespace, g[h][i], g[h][i].data)
}
}
}
}
function bg(a, b) {
return f.nodename(a, "table") ? a.getelementsbytagname("tbody")[0] || a.appendchild(a.ownerdocument.createelement("tbody")) : a
}
function w(a, b, c) {
b = b || 0;
if (f.isfunction(b))
return f.grep(a, function (a, d) {
var e = !!b.call(a, d, a);
return e === c
});
if (b.nodetype)
return f.grep(a, function (a, d) {
return a === b === c
});
if (typeof b == "string") {
var d = f.grep(a, function (a) {
return a.nodetype === 1
});
if (r.test(b))
return f.filter(b, d, !c);
b = f.filter(b, d)
}
return f.grep(a, function (a, d) {
return f.inarray(a, b) >= 0 === c
})
}
function v(a) {
return !a || !a.parentnode || a.parentnode.nodetype === 11
}
function n(a, b) {
return (a && a !== "*" ? a + "." : "") + b.replace(z, "`").replace(a, "&")
}
function m(a) {
var b, c, d, e, g, h, i, j, k, l, m, n, o, p = [], q = [], r = f._data(this, "events");
if (!(a.livefired === this || !r || !r.live || a.target.disabled || a.button && a.type === "click")) {
a.namespace && (n = new regexp("(^|\\.)" + a.namespace.split(".").join("\\.(?:.*\\.)?") + "(\\.|$)")), a.livefired = this;
var s = r.live.slice(0);
for (i = 0; i < s.length; i++)
g = s[i], g.origtype.replace(x, "") === a.type ? q.push(g.selector) : s.splice(i--, 1);
e = f(a.target).closest(q, a.currenttarget);
for (j = 0, k = e.length; j < k; j++) {
m = e[j];
for (i = 0; i < s.length; i++) {
g = s[i];
if (m.selector === g.selector && (!n || n.test(g.namespace)) && !m.elem.disabled) {
h = m.elem, d = null;
if (g.pretype === "mouseenter" || g.pretype === "mouseleave")
a.type = g.pretype, d = f(a.relatedtarget).closest(g.selector)[0], d && f.contains(h, d) && (d = h);
(!d || d !== h) && p.push({ elem: h, handleobj: g, level: m.level })
}
}
}
for (j = 0, k = p.length; j < k; j++) {
e = p[j];
if (c && e.level > c)
break;
a.currenttarget = e.elem, a.data = e.handleobj.data, a.handleobj = e.handleobj, o = e.handleobj.orighandler.apply(e.elem, arguments);
if (o === !1 || a.ispropagationstopped()) {
c = e.level, o === !1 && (b = !1);
if (a.isimmediatepropagationstopped())
break
}
}
return b
}
}
function k(a, c, d) {
var e = f.extend({}, d[0]);
e.type = a, e.originalevent = {}, e.livefired = b, f.event.handle.call(c, e), e.isdefaultprevented() && d[0].preventdefault()
}
function e() {
return !0
}
function d() {
return !1
}
function m(a, c, d) {
var e = c + "defer", g = c + "queue", h = c + "mark", i = f.data(a, e, b, !0);
i && (d === "queue" || !f.data(a, g, b, !0)) && (d === "mark" || !f.data(a, h, b, !0)) && settimeout(function () {
!f.data(a, g, b, !0) && !f.data(a, h, b, !0) && (f.removedata(a, e, !0), i.resolve())
}, 0)
}
function l(a) {
for (var b in a)
if (b !== "tojson")
return !1;
return !0
}
function k(a, c, d) {
if (d === b && a.nodetype === 1) {
var e = "data-" + c.replace(j, "$1-$2").tolowercase();
d = a.getattribute(e);
if (typeof d == "string") {
try {
d = d === "true" ? !0 : d === "false" ? !1 : d === "null" ? null : f.isnan(d) ? i.test(d) ? f.parsejson(d) : d : parsefloat(d)
} catch (g) {
}
f.data(a, c, d)
} else
d = b
}
return d
}
var c = a.document, d = a.navigator, e = a.location, f = function () {
function j() {
if (!e.isready) {
try {
c.documentelement.doscroll("left")
} catch (a) {
settimeout(j, 1);
return
}
e.ready()
}
}
var e = function (a, b) {
return new e.fn.init(a, b, h)
}, f = a.jquery, g = a.$, h, i = /^(?:[^<]*(<[\w\w]+>)[^>]*$|#([\w\-]*)$)/, j = /\s/, k = /^\s+/, l = /\s+$/, m = /\d/, n = /^<(\w+)\s*\/?>(?:<\/\1>)?$/, o = /^[\],:{}\s]*$/, p = /\\(?:["\\\/bfnrt]|u[0-9a-fa-f]{4})/g, q = /"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[ee][+\-]?\d+)?/g, r = /(?:^|:|,)(?:\s*\[)+/g, s = /(webkit)[ \/]([\w.]+)/, t = /(opera)(?:.*version)?[ \/]([\w.]+)/, u = /(msie) ([\w.]+)/, v = /(mozilla)(?:.*? rv:([\w.]+))?/, w = /-([a-z])/ig, x = function (a, b) {
return b.touppercase()
}, y = d.useragent, z, a, b, c = object.prototype.tostring, d = object.prototype.hasownproperty, e = array.prototype.push, f = array.prototype.slice, g = string.prototype.trim, h = array.prototype.indexof, i = {};
e.fn = e.prototype = {
constructor: e, init: function (a, d, f) {
var g, h, j, k;
if (!a)
return this;
if (a.nodetype) {
this.context = this[0] = a, this.length = 1;
return this
}
if (a === "body" && !d && c.body) {
this.context = c, this[0] = c.body, this.selector = a, this.length = 1;
return this
}
if (typeof a == "string") {
a.charat(0) !== "<" || a.charat(a.length - 1) !== ">" || a.length < 3 ? g = i.exec(a) : g = [null, a, null];
if (g && (g[1] || !d)) {
if (g[1]) {
d = d instanceof e ? d[0] : d, k = d ? d.ownerdocument || d : c, j = n.exec(a), j ? e.isplainobject(d) ? (a = [c.createelement(j[1])], e.fn.attr.call(a, d, !0)) : a = [k.createelement(j[1])] : (j = e.buildfragment([g[1]], [k]), a = (j.cacheable ? e.clone(j.fragment) : j.fragment).childnodes);
return e.merge(this, a)
}
h = c.getelementbyid(g[2]);
if (h && h.parentnode) {
if (h.id !== g[2])
return f.find(a);
this.length = 1, this[0] = h
}
this.context = c, this.selector = a;
return this
}
return !d || d.jquery ? (d || f).find(a) : this.constructor(d).find(a)
}
if (e.isfunction(a))
return f.ready(a);
a.selector !== b && (this.selector = a.selector, this.context = a.context);
return e.makearray(a, this)
}, selector: "", jquery: "1.6.2", length: 0, size: function () {
return this.length
}, toarray: function () {
return f.call(this, 0)
}, get: function (a) {
return a == null ? this.toarray() : a < 0 ? this[this.length + a] : this[a]
}, pushstack: function (a, b, c) {
var d = this.constructor();
e.isarray(a) ? e.apply(d, a) : e.merge(d, a), d.prevobject = this, d.context = this.context, b === "find" ? d.selector = this.selector + (this.selector ? " " : "") + c : b && (d.selector = this.selector + "." + b + "(" + c + ")");
return d
}, each: function (a, b) {
return e.each(this, a, b)
}, ready: function (a) {
e.bindready(), a.done(a);
return this
}, eq: function (a) {
return a === -1 ? this.slice(a) : this.slice(a, +a + 1)
}, first: function () {
return this.eq(0)
}, last: function () {
return this.eq(-1)
}, slice: function () {
return this.pushstack(f.apply(this, arguments), "slice", f.call(arguments).join(","))
}, map: function (a) {
return this.pushstack(e.map(this, function (b, c) {
return a.call(b, c, b)
}))
}, end: function () {
return this.prevobject || this.constructor(null)
}, push: e, sort: [].sort, splice: [].splice
}, e.fn.init.prototype = e.fn, e.extend = e.fn.extend = function () {
var a, c, d, f, g, h, i = arguments[0] || {}, j = 1, k = arguments.length, l = !1;
typeof i == "boolean" && (l = i, i = arguments[1] || {}, j = 2), typeof i != "object" && !e.isfunction(i) && (i = {}), k === j && (i = this, --j);
for (; j < k; j++)
if ((a = arguments[j]) != null)
for (c in a) {
d = i[c], f = a[c];
if (i === f)
continue;
l && f && (e.isplainobject(f) || (g = e.isarray(f))) ? (g ? (g = !1, h = d && e.isarray(d) ? d : []) : h = d && e.isplainobject(d) ? d : {}, i[c] = e.extend(l, h, f)) : f !== b && (i[c] = f)
}
return i
}, e.extend({
noconflict: function (b) {
a.$ === e && (a.$ = g), b && a.jquery === e && (a.jquery = f);
return e
}, isready: !1, readywait: 1, holdready: function (a) {
a ? e.readywait++ : e.ready(!0)
}, ready: function (a) {
if (a === !0 && !--e.readywait || a !== !0 && !e.isready) {
if (!c.body)
return settimeout(e.ready, 1);
e.isready = !0;
if (a !== !0 && --e.readywait > 0)
return;
a.resolvewith(c, [e]), e.fn.trigger && e(c).trigger("ready").unbind("ready")
}
}, bindready: function () {
if (!a) {
a = e._deferred();
if (c.readystate === "complete")
return settimeout(e.ready, 1);
if (c.addeventlistener)
c.addeventlistener("domcontentloaded", b, !1), a.addeventlistener("load", e.ready, !1);
else if (c.attachevent) {
c.attachevent("onreadystatechange", b), a.attachevent("onload", e.ready);
var b = !1;
try {
b = a.frameelement == null
} catch (d) {
}
c.documentelement.doscroll && b && j()
}
}
}, isfunction: function (a) {
return e.type(a) === "function"
}, isarray: array.isarray || function (a) {
return e.type(a) === "array"
}, iswindow: function (a) {
return a && typeof a == "object" && "setinterval" in a
}, isnan: function (a) {
return a == null || !m.test(a) || isnan(a)
}, type: function (a) {
return a == null ? string(a) : i[c.call(a)] || "object"
}, isplainobject: function (a) {
if (!a || e.type(a) !== "object" || a.nodetype || e.iswindow(a))
return !1;
if (a.constructor && !d.call(a, "constructor") && !d.call(a.constructor.prototype, "isprototypeof"))
return !1;
var c;
for (c in a)
;
return c === b || d.call(a, c)
}, isemptyobject: function (a) {
for (var b in a)
return !1;
return !0
}, error: function (a) {
throw a
}, parsejson: function (b) {
if (typeof b != "string" || !b)
return null;
b = e.trim(b);
if (a.json && a.json.parse)
return a.json.parse(b);
if (o.test(b.replace(p, "@").replace(q, "]").replace(r, "")))
return (new function("return " + b))();
e.error("invalid json: " + b)
}, parsexml: function (b, c, d) {
a.domparser ? (d = new domparser, c = d.parsefromstring(b, "text/xml")) : (c = new activexobject("microsoft.xmldom"), c.async = "false", c.loadxml(b)), d = c.documentelement, (!d || !d.nodename || d.nodename === "parsererror") && e.error("invalid xml: " + b);
return c
}, noop: function () {
}, globaleval: function (b) {
b && j.test(b) && (a.execscript || function (b) {
a.eval.call(a, b)
})(b)
}, camelcase: function (a) {
return a.replace(w, x)
}, nodename: function (a, b) {
return a.nodename && a.nodename.touppercase() === b.touppercase()
}, each: function (a, c, d) {
var f, g = 0, h = a.length, i = h === b || e.isfunction(a);
if (d) {
if (i) {
for (f in a)
if (c.apply(a[f], d) === !1)
break
} else
for (; g < h;)
if (c.apply(a[g++], d) === !1)
break
} else if (i) {
for (f in a)
if (c.call(a[f], f, a[f]) === !1)
break
} else
for (; g < h;)
if (c.call(a[g], g, a[g++]) === !1)
break;
return a
}, trim: g ? function (a) {
return a == null ? "" : g.call(a)
} : function (a) {
return a == null ? "" : (a + "").replace(k, "").replace(l, "")
}, makearray: function (a, b) {
var c = b || [];
if (a != null) {
var d = e.type(a);
a.length == null || d === "string" || d === "function" || d === "regexp" || e.iswindow(a) ? e.call(c, a) : e.merge(c, a)
}
return c
}, inarray: function (a, b) {
if (h)
return h.call(b, a);
for (var c = 0, d = b.length; c < d; c++)
if (b[c] === a)
return c;
return -1
}, merge: function (a, c) {
var d = a.length, e = 0;
if (typeof c.length == "number")
for (var f = c.length; e < f; e++)
a[d++] = c[e];
else
while (c[e] !== b)
a[d++] = c[e++];
a.length = d;
return a
}, grep: function (a, b, c) {
var d = [], e;
c = !!c;
for (var f = 0, g = a.length; f < g; f++)
e = !!b(a[f], f), c !== e && d.push(a[f]);
return d
}, map: function (a, c, d) {
var f, g, h = [], i = 0, j = a.length, k = a instanceof e || j !== b && typeof j == "number" && (j > 0 && a[0] && a[j - 1] || j === 0 || e.isarray(a));
if (k)
for (; i < j; i++)
f = c(a[i], i, d), f != null && (h[h.length] = f);
else
for (g in a)
f = c(a[g], g, d), f != null && (h[h.length] = f);
return h.concat.apply([], h)
}, guid: 1, proxy: function (a, c) {
if (typeof c == "string") {
var d = a[c];
c = a, a = d
}
if (!e.isfunction(a))
return b;
var f = f.call(arguments, 2), g = function () {
return a.apply(c, f.concat(f.call(arguments)))
};
g.guid = a.guid = a.guid || g.guid || e.guid++;
return g
}, access: function (a, c, d, f, g, h) {
var i = a.length;
if (typeof c == "object") {
for (var j in c)
e.access(a, j, c[j], f, g, d);
return a
}
if (d !== b) {
f = !h && f && e.isfunction(d);
for (var k = 0; k < i; k++)
g(a[k], c, f ? d.call(a[k], k, g(a[k], c)) : d, h);
return a
}
return i ? g(a[0], c) : b
}, now: function () {
return (new date).gettime()
}, uamatch: function (a) {
a = a.tolowercase();
var b = s.exec(a) || t.exec(a) || u.exec(a) || a.indexof("compatible") < 0 && v.exec(a) || [];
return { browser: b[1] || "", version: b[2] || "0" }
}, sub: function () {
function a(b, c) {
return new a.fn.init(b, c)
}
e.extend(!0, a, this), a.superclass = this, a.fn = a.prototype = this(), a.fn.constructor = a, a.sub = this.sub, a.fn.init = function (d, f) {
f && f instanceof e && !(f instanceof a) && (f = a(f));
return e.fn.init.call(this, d, f, b)
}, a.fn.init.prototype = a.fn;
var b = a(c);
return a
}, browser: {}
}), e.each("boolean number string function array date regexp object".split(" "), function (a, b) {
i["[object " + b + "]"] = b.tolowercase()
}), z = e.uamatch(y), z.browser && (e.browser[z.browser] = !0, e.browser.version = z.version), e.browser.webkit && (e.browser.safari = !0), j.test(" ") && (k = /^[\s\xa0]+/, l = /[\s\xa0]+$/), h = e(c), c.addeventlistener ? b = function () {
c.removeeventlistener("domcontentloaded", b, !1), e.ready()
} : c.attachevent && (b = function () {
c.readystate === "complete" && (c.detachevent("onreadystatechange", b), e.ready())
});
return e
}(), g = "done fail isresolved isrejected promise then always pipe".split(" "), h = [].slice;
f.extend({
_deferred: function () {
var a = [], b, c, d, e = {
done: function () {
if (!d) {
var c = arguments, g, h, i, j, k;
b && (k = b, b = 0);
for (g = 0, h = c.length; g < h; g++)
i = c[g], j = f.type(i), j === "array" ? e.done.apply(e, i) : j === "function" && a.push(i);
k && e.resolvewith(k[0], k[1])
}
return this
}, resolvewith: function (e, f) {
if (!d && !b && !c) {
f = f || [], c = 1;
try {
while (a[0])
a.shift().apply(e, f)
} finally {
b = [e, f], c = 0
}
}
return this
}, resolve: function () {
e.resolvewith(this, arguments);
return this
}, isresolved: function () {
return !!c || !!b
}, cancel: function () {
d = 1, a = [];
return this
}
};
return e
}, deferred: function (a) {
var b = f._deferred(), c = f._deferred(), d;
f.extend(b, {
then: function (a, c) {
b.done(a).fail(c);
return this
}, always: function () {
return b.done.apply(b, arguments).fail.apply(this, arguments)
}, fail: c.done, rejectwith: c.resolvewith, reject: c.resolve, isrejected: c.isresolved, pipe: function (a, c) {
return f.deferred(function (d) {
f.each({ done: [a, "resolve"], fail: [c, "reject"] }, function (a, c) {
var e = c[0], g = c[1], h;
f.isfunction(e) ? b[a](function () {
h = e.apply(this, arguments), h && f.isfunction(h.promise) ? h.promise().then(d.resolve, d.reject) : d[g](h)
}) : b[a](d[g])
})
}).promise()
}, promise: function (a) {
if (a == null) {
if (d)
return d;
d = a = {}
}
var c = g.length;
while (c--)
a[g[c]] = b[g[c]];
return a
}
}), b.done(c.cancel).fail(b.cancel), delete b.cancel, a && a.call(b, b);
return b
}, when: function (a) {
function i(a) {
return function (c) {
b[a] = arguments.length > 1 ? h.call(arguments, 0) : c, --e || g.resolvewith(g, h.call(b, 0))
}
}
var b = arguments, c = 0, d = b.length, e = d, g = d <= 1 && a && f.isfunction(a.promise) ? a : f.deferred();
if (d > 1) {
for (; c < d; c++)
b[c] && f.isfunction(b[c].promise) ? b[c].promise().then(i(c), g.reject) : --e;
e || g.resolvewith(g, b)
} else
g !== a && g.resolvewith(g, d ? [a] : []);
return g.promise()
}
}), f.support = function () {
var a = c.createelement("div"), b = c.documentelement, d, e, g, h, i, j, k, l, m, n, o, p, q, r, s, t, u;
a.setattribute("classname", "t"), a.innerhtml = "
", q = a.getelementsbytagname("td"), u = q[0].offsetheight === 0, q[0].style.display = "", q[1].style.display = "none", k.reliablehiddenoffsets = u && q[0].offsetheight === 0, a.innerhtml = "", c.defaultview && c.defaultview.getcomputedstyle && (j = c.createelement("div"), j.style.width = "0", j.style.marginright = "0", a.appendchild(j), k.reliablemarginright = (parseint((c.defaultview.getcomputedstyle(j, null) || { marginright: 0 }).marginright, 10) || 0) === 0), o.innerhtml = "", n.removechild(o);
if (a.attachevent)
for (t in { submit: 1, change: 1, focusin: 1 })
s = "on" + t, u = s in a, u || (a.setattribute(s, "return;"), u = typeof a[s] == "function"), k[t + "bubbles"] = u;
o = l = g = h = m = j = a = i = null;
return k
}(), f.boxmodel = f.support.boxmodel;
var i = /^(?:\{.*\}|\[.*\])$/, j = /([a-z])([a-z])/g;
f.extend({
cache: {}, uuid: 0, expando: "jquery" + (f.fn.jquery + math.random()).replace(/\d/g, ""), nodata: { embed: !0, object: "clsid:d27cdb6e-ae6d-11cf-96b8-444553540000", applet: !0 }, hasdata: function (a) {
a = a.nodetype ? f.cache[a[f.expando]] : a[f.expando];
return !!a && !l(a)
}, data: function (a, c, d, e) {
if (!!f.acceptdata(a)) {
var g = f.expando, h = typeof c == "string", i, j = a.nodetype, k = j ? f.cache : a, l = j ? a[f.expando] : a[f.expando] && f.expando;
if ((!l || e && l && !k[l][g]) && h && d === b)
return;
l || (j ? a[f.expando] = l = ++f.uuid : l = f.expando), k[l] || (k[l] = {}, j || (k[l].tojson = f.noop));
if (typeof c == "object" || typeof c == "function")
e ? k[l][g] = f.extend(k[l][g], c) : k[l] = f.extend(k[l], c);
i = k[l], e && (i[g] || (i[g] = {}), i = i[g]), d !== b && (i[f.camelcase(c)] = d);
if (c === "events" && !i[c])
return i[g] && i[g].events;
return h ? i[f.camelcase(c)] || i[c] : i
}
}, removedata: function (b, c, d) {
if (!!f.acceptdata(b)) {
var e = f.expando, g = b.nodetype, h = g ? f.cache : b, i = g ? b[f.expando] : f.expando;
if (!h[i])
return;
if (c) {
var j = d ? h[i][e] : h[i];
if (j) {
delete j[c];
if (!l(j))
return
}
}
if (d) {
delete h[i][e];
if (!l(h[i]))
return
}
var k = h[i][e];
f.support.deleteexpando || h != a ? delete h[i] : h[i] = null, k ? (h[i] = {}, g || (h[i].tojson = f.noop), h[i][e] = k) : g && (f.support.deleteexpando ? delete b[f.expando] : b.removeattribute ? b.removeattribute(f.expando) : b[f.expando] = null)
}
}, _data: function (a, b, c) {
return f.data(a, b, c, !0)
}, acceptdata: function (a) {
if (a.nodename) {
var b = f.nodata[a.nodename.tolowercase()];
if (b)
return b !== !0 && a.getattribute("classid") === b
}
return !0
}
}), f.fn.extend({
data: function (a, c) {
var d = null;
if (typeof a == "undefined") {
if (this.length) {
d = f.data(this[0]);
if (this[0].nodetype === 1) {
var e = this[0].attributes, g;
for (var h = 0, i = e.length; h < i; h++)
g = e[h].name, g.indexof("data-") === 0 && (g = f.camelcase(g.substring(5)), k(this[0], g, d[g]))
}
}
return d
}
if (typeof a == "object")
return this.each(function () {
f.data(this, a)
});
var j = a.split(".");
j[1] = j[1] ? "." + j[1] : "";
if (c === b) {
d = this.triggerhandler("getdata" + j[1] + "!", [j[0]]), d === b && this.length && (d = f.data(this[0], a), d = k(this[0], a, d));
return d === b && j[1] ? this.data(j[0]) : d
}
return this.each(function () {
var b = f(this), d = [j[0], c];
b.triggerhandler("setdata" + j[1] + "!", d), f.data(this, a, c), b.triggerhandler("changedata" + j[1] + "!", d)
})
}, removedata: function (a) {
return this.each(function () {
f.removedata(this, a)
})
}
}), f.extend({
_mark: function (a, c) {
a && (c = (c || "fx") + "mark", f.data(a, c, (f.data(a, c, b, !0) || 0) + 1, !0))
}, _unmark: function (a, c, d) {
a !== !0 && (d = c, c = a, a = !1);
if (c) {
d = d || "fx";
var e = d + "mark", g = a ? 0 : (f.data(c, e, b, !0) || 1) - 1;
g ? f.data(c, e, g, !0) : (f.removedata(c, e, !0), m(c, d, "mark"))
}
}, queue: function (a, c, d) {
if (a) {
c = (c || "fx") + "queue";
var e = f.data(a, c, b, !0);
d && (!e || f.isarray(d) ? e = f.data(a, c, f.makearray(d), !0) : e.push(d));
return e || []
}
}, dequeue: function (a, b) {
b = b || "fx";
var c = f.queue(a, b), d = c.shift(), e;
d === "inprogress" && (d = c.shift()), d && (b === "fx" && c.unshift("inprogress"), d.call(a, function () {
f.dequeue(a, b)
})), c.length || (f.removedata(a, b + "queue", !0), m(a, b, "queue"))
}
}), f.fn.extend({
queue: function (a, c) {
typeof a != "string" && (c = a, a = "fx");
if (c === b)
return f.queue(this[0], a);
return this.each(function () {
var b = f.queue(this, a, c);
a === "fx" && b[0] !== "inprogress" && f.dequeue(this, a)
})
}, dequeue: function (a) {
return this.each(function () {
f.dequeue(this, a)
})
}, delay: function (a, b) {
a = f.fx ? f.fx.speeds[a] || a : a, b = b || "fx";
return this.queue(b, function () {
var c = this;
settimeout(function () {
f.dequeue(c, b)
}, a)
})
}, clearqueue: function (a) {
return this.queue(a || "fx", [])
}, promise: function (a, c) {
function m() {
--h || d.resolvewith(e, [e])
}
typeof a != "string" && (c = a, a = b), a = a || "fx";
var d = f.deferred(), e = this, g = e.length, h = 1, i = a + "defer", j = a + "queue", k = a + "mark", l;
while (g--)
if (l = f.data(e[g], i, b, !0) || (f.data(e[g], j, b, !0) || f.data(e[g], k, b, !0)) && f.data(e[g], i, f._deferred(), !0))
h++, l.done(m);
m();
return d.promise()
}
});
var n = /[\n\t\r]/g, o = /\s+/, p = /\r/g, q = /^(?:button|input)$/i, r = /^(?:button|input|object|select|textarea)$/i, s = /^a(?:rea)?$/i, t = /^(?:autofocus|autoplay|async|checked|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped|selected)$/i, u = /\:|^on/, v, w;
f.fn.extend({
attr: function (a, b) {
return f.access(this, a, b, !0, f.attr)
}, removeattr: function (a) {
return this.each(function () {
f.removeattr(this, a)
})
}, prop: function (a, b) {
return f.access(this, a, b, !0, f.prop)
}, removeprop: function (a) {
a = f.propfix[a] || a;
return this.each(function () {
try {
this[a] = b, delete this[a]
} catch (c) {
}
})
}, addclass: function (a) {
var b, c, d, e, g, h, i;
if (f.isfunction(a))
return this.each(function (b) {
f(this).addclass(a.call(this, b, this.classname))
});
if (a && typeof a == "string") {
b = a.split(o);
for (c = 0, d = this.length; c < d; c++) {
e = this[c];
if (e.nodetype === 1)
if (!e.classname && b.length === 1)
e.classname = a;
else {
g = " " + e.classname + " ";
for (h = 0, i = b.length; h < i; h++)
~g.indexof(" " + b[h] + " ") || (g += b[h] + " ");
e.classname = f.trim(g)
}
}
}
return this
}, removeclass: function (a) {
var c, d, e, g, h, i, j;
if (f.isfunction(a))
return this.each(function (b) {
f(this).removeclass(a.call(this, b, this.classname))
});
if (a && typeof a == "string" || a === b) {
c = (a || "").split(o);
for (d = 0, e = this.length; d < e; d++) {
g = this[d];
if (g.nodetype === 1 && g.classname)
if (a) {
h = (" " + g.classname + " ").replace(n, " ");
for (i = 0, j = c.length; i < j; i++)
h = h.replace(" " + c[i] + " ", " ");
g.classname = f.trim(h)
} else
g.classname = ""
}
}
return this
}, toggleclass: function (a, b) {
var c = typeof a, d = typeof b == "boolean";
if (f.isfunction(a))
return this.each(function (c) {
f(this).toggleclass(a.call(this, c, this.classname, b), b)
});
return this.each(function () {
if (c === "string") {
var e, g = 0, h = f(this), i = b, j = a.split(o);
while (e = j[g++])
i = d ? i : !h.hasclass(e), h[i ? "addclass" : "removeclass"](e)
} else if (c === "undefined" || c === "boolean")
this.classname && f._data(this, "__classname__", this.classname), this.classname = this.classname || a === !1 ? "" : f._data(this, "__classname__") || ""
})
}, hasclass: function (a) {
var b = " " + a + " ";
for (var c = 0, d = this.length; c < d; c++)
if ((" " + this[c].classname + " ").replace(n, " ").indexof(b) > -1)
return !0;
return !1
}, val: function (a) {
var c, d, e = this[0];
if (!arguments.length) {
if (e) {
c = f.valhooks[e.nodename.tolowercase()] || f.valhooks[e.type];
if (c && "get" in c && (d = c.get(e, "value")) !== b)
return d;
d = e.value;
return typeof d == "string" ? d.replace(p, "") : d == null ? "" : d
}
return b
}
var g = f.isfunction(a);
return this.each(function (d) {
var e = f(this), h;
if (this.nodetype === 1) {
g ? h = a.call(this, d, e.val()) : h = a, h == null ? h = "" : typeof h == "number" ? h += "" : f.isarray(h) && (h = f.map(h, function (a) {
return a == null ? "" : a + ""
})), c = f.valhooks[this.nodename.tolowercase()] || f.valhooks[this.type];
if (!c || !("set" in c) || c.set(this, h, "value") === b)
this.value = h
}
})
}
}), f.extend({
valhooks: {
option: {
get: function (a) {
var b = a.attributes.value;
return !b || b.specified ? a.value : a.text
}
}, select: {
get: function (a) {
var b, c = a.selectedindex, d = [], e = a.options, g = a.type === "select-one";
if (c < 0)
return null;
for (var h = g ? c : 0, i = g ? c + 1 : e.length; h < i; h++) {
var j = e[h];
if (j.selected && (f.support.optdisabled ? !j.disabled : j.getattribute("disabled") === null) && (!j.parentnode.disabled || !f.nodename(j.parentnode, "optgroup"))) {
b = f(j).val();
if (g)
return b;
d.push(b)
}
}
if (g && !d.length && e.length)
return f(e[c]).val();
return d
}, set: function (a, b) {
var c = f.makearray(b);
f(a).find("option").each(function () {
this.selected = f.inarray(f(this).val(), c) >= 0
}), c.length || (a.selectedindex = -1);
return c
}
}
}, attrfn: { val: !0, css: !0, html: !0, text: !0, data: !0, width: !0, height: !0, offset: !0 }, attrfix: { tabindex: "tabindex" }, attr: function (a, c, d, e) {
var g = a.nodetype;
if (!a || g === 3 || g === 8 || g === 2)
return b;
if (e && c in f.attrfn)
return f(a)[c](d);
if (!("getattribute" in a))
return f.prop(a, c, d);
var h, i, j = g !== 1 || !f.isxmldoc(a);
j && (c = f.attrfix[c] || c, i = f.attrhooks[c], i || (t.test(c) ? i = w : v && c !== "classname" && (f.nodename(a, "form") || u.test(c)) && (i = v)));
if (d !== b) {
if (d === null) {
f.removeattr(a, c);
return b
}
if (i && "set" in i && j && (h = i.set(a, d, c)) !== b)
return h;
a.setattribute(c, "" + d);
return d
}
if (i && "get" in i && j && (h = i.get(a, c)) !== null)
return h;
h = a.getattribute(c);
return h === null ? b : h
}, removeattr: function (a, b) {
var c;
a.nodetype === 1 && (b = f.attrfix[b] || b, f.support.getsetattribute ? a.removeattribute(b) : (f.attr(a, b, ""), a.removeattributenode(a.getattributenode(b))), t.test(b) && (c = f.propfix[b] || b) in a && (a[c] = !1))
}, attrhooks: {
type: {
set: function (a, b) {
if (q.test(a.nodename) && a.parentnode)
f.error("type property can't be changed");
else if (!f.support.radiovalue && b === "radio" && f.nodename(a, "input")) {
var c = a.value;
a.setattribute("type", b), c && (a.value = c);
return b
}
}
}, tabindex: {
get: function (a) {
var c = a.getattributenode("tabindex");
return c && c.specified ? parseint(c.value, 10) : r.test(a.nodename) || s.test(a.nodename) && a.href ? 0 : b
}
}, value: {
get: function (a, b) {
if (v && f.nodename(a, "button"))
return v.get(a, b);
return b in a ? a.value : null
}, set: function (a, b, c) {
if (v && f.nodename(a, "button"))
return v.set(a, b, c);
a.value = b
}
}
}, propfix: { tabindex: "tabindex", readonly: "readonly", "for": "htmlfor", "class": "classname", maxlength: "maxlength", cellspacing: "cellspacing", cellpadding: "cellpadding", rowspan: "rowspan", colspan: "colspan", usemap: "usemap", frameborder: "frameborder", contenteditable: "contenteditable" }, prop: function (a, c, d) {
var e = a.nodetype;
if (!a || e === 3 || e === 8 || e === 2)
return b;
var g, h, i = e !== 1 || !f.isxmldoc(a);
i && (c = f.propfix[c] || c, h = f.prophooks[c]);
return d !== b ? h && "set" in h && (g = h.set(a, d, c)) !== b ? g : a[c] = d : h && "get" in h && (g = h.get(a, c)) !== b ? g : a[c]
}, prophooks: {}
}), w = {
get: function (a, c) {
return f.prop(a, c) ? c.tolowercase() : b
}, set: function (a, b, c) {
var d;
b === !1 ? f.removeattr(a, c) : (d = f.propfix[c] || c, d in a && (a[d] = !0), a.setattribute(c, c.tolowercase()));
return c
}
}, f.support.getsetattribute || (f.attrfix = f.propfix, v = f.attrhooks.name = f.attrhooks.title = f.valhooks.button = {
get: function (a, c) {
var d;
d = a.getattributenode(c);
return d && d.nodevalue !== "" ? d.nodevalue : b
}, set: function (a, b, c) {
var d = a.getattributenode(c);
if (d) {
d.nodevalue = b;
return b
}
}
}, f.each(["width", "height"], function (a, b) {
f.attrhooks[b] = f.extend(f.attrhooks[b], {
set: function (a, c) {
if (c === "") {
a.setattribute(b, "auto");
return c
}
}
})
})), f.support.hrefnormalized || f.each(["href", "src", "width", "height"], function (a, c) {
f.attrhooks[c] = f.extend(f.attrhooks[c], {
get: function (a) {
var d = a.getattribute(c, 2);
return d === null ? b : d
}
})
}), f.support.style || (f.attrhooks.style = {
get: function (a) {
return a.style.csstext.tolowercase() || b
}, set: function (a, b) {
return a.style.csstext = "" + b
}
}), f.support.optselected || (f.prophooks.selected = f.extend(f.prophooks.selected, {
get: function (a) {
var b = a.parentnode;
b && (b.selectedindex, b.parentnode && b.parentnode.selectedindex)
}
})), f.support.checkon || f.each(["radio", "checkbox"], function () {
f.valhooks[this] = {
get: function (a) {
return a.getattribute("value") === null ? "on" : a.value
}
}
}), f.each(["radio", "checkbox"], function () {
f.valhooks[this] = f.extend(f.valhooks[this], {
set: function (a, b) {
if (f.isarray(b))
return a.checked = f.inarray(f(a).val(), b) >= 0
}
})
});
var x = /\.(.*)$/, y = /^(?:textarea|input|select)$/i, z = /\./g, a = / /g, b = /[^\w\s.|`]/g, c = function (a) {
return a.replace(b, "\\$&")
};
f.event = {
add: function (a, c, d, e) {
if (a.nodetype !== 3 && a.nodetype !== 8) {
if (d === !1)
d = d;
else if (!d)
return;
var g, h;
d.handler && (g = d, d = g.handler), d.guid || (d.guid = f.guid++);
var i = f._data(a);
if (!i)
return;
var j = i.events, k = i.handle;
j || (i.events = j = {}), k || (i.handle = k = function (a) {
return typeof f != "undefined" && (!a || f.event.triggered !== a.type) ? f.event.handle.apply(k.elem, arguments) : b
}), k.elem = a, c = c.split(" ");
var l, m = 0, n;
while (l = c[m++]) {
h = g ? f.extend({}, g) : { handler: d, data: e }, l.indexof(".") > -1 ? (n = l.split("."), l = n.shift(), h.namespace = n.slice(0).sort().join(".")) : (n = [], h.namespace = ""), h.type = l, h.guid || (h.guid = d.guid);
var o = j[l], p = f.event.special[l] || {};
if (!o) {
o = j[l] = [];
if (!p.setup || p.setup.call(a, e, n, k) === !1)
a.addeventlistener ? a.addeventlistener(l, k, !1) : a.attachevent && a.attachevent("on" + l, k)
}
p.add && (p.add.call(a, h), h.handler.guid || (h.handler.guid = d.guid)), o.push(h), f.event.global[l] = !0
}
a = null
}
}, global: {}, remove: function (a, c, d, e) {
if (a.nodetype !== 3 && a.nodetype !== 8) {
d === !1 && (d = d);
var g, h, i, j, k = 0, l, m, n, o, p, q, r, s = f.hasdata(a) && f._data(a), t = s && s.events;
if (!s || !t)
return;
c && c.type && (d = c.handler, c = c.type);
if (!c || typeof c == "string" && c.charat(0) === ".") {
c = c || "";
for (h in t)
f.event.remove(a, h + c);
return
}
c = c.split(" ");
while (h = c[k++]) {
r = h, q = null, l = h.indexof(".") < 0, m = [], l || (m = h.split("."), h = m.shift(), n = new regexp("(^|\\.)" + f.map(m.slice(0).sort(), c).join("\\.(?:.*\\.)?") + "(\\.|$)")), p = t[h];
if (!p)
continue;
if (!d) {
for (j = 0; j < p.length; j++) {
q = p[j];
if (l || n.test(q.namespace))
f.event.remove(a, r, q.handler, j), p.splice(j--, 1)
}
continue
}
o = f.event.special[h] || {};
for (j = e || 0; j < p.length; j++) {
q = p[j];
if (d.guid === q.guid) {
if (l || n.test(q.namespace))
e == null && p.splice(j--, 1), o.remove && o.remove.call(a, q);
if (e != null)
break
}
}
if (p.length === 0 || e != null && p.length === 1)
(!o.teardown || o.teardown.call(a, m) === !1) && f.removeevent(a, h, s.handle), g = null, delete t[h]
}
if (f.isemptyobject(t)) {
var u = s.handle;
u && (u.elem = null), delete s.events, delete s.handle, f.isemptyobject(s) && f.removedata(a, b, !0)
}
}
}, customevent: { getdata: !0, setdata: !0, changedata: !0 }, trigger: function (c, d, e, g) {
var h = c.type || c, i = [], j;
h.indexof("!") >= 0 && (h = h.slice(0, -1), j = !0), h.indexof(".") >= 0 && (i = h.split("."), h = i.shift(), i.sort());
if (!!e && !f.event.customevent[h] || !!f.event.global[h]) {
c = typeof c == "object" ? c[f.expando] ? c : new f.event(h, c) : new f.event(h), c.type = h, c.exclusive = j, c.namespace = i.join("."), c.namespace_re = new regexp("(^|\\.)" + i.join("\\.(?:.*\\.)?") + "(\\.|$)");
if (g || !e)
c.preventdefault(), c.stoppropagation();
if (!e) {
f.each(f.cache, function () {
var a = f.expando, b = this[a];
b && b.events && b.events[h] && f.event.trigger(c, d, b.handle.elem)
});
return
}
if (e.nodetype === 3 || e.nodetype === 8)
return;
c.result = b, c.target = e, d = d != null ? f.makearray(d) : [], d.unshift(c);
var k = e, l = h.indexof(":") < 0 ? "on" + h : "";
do {
var m = f._data(k, "handle");
c.currenttarget = k, m && m.apply(k, d), l && f.acceptdata(k) && k[l] && k[l].apply(k, d) === !1 && (c.result = !1, c.preventdefault()), k = k.parentnode || k.ownerdocument || k === c.target.ownerdocument && a
} while (k && !c.ispropagationstopped());
if (!c.isdefaultprevented()) {
var n, o = f.event.special[h] || {};
if ((!o._default || o._default.call(e.ownerdocument, c) === !1) && (h !== "click" || !f.nodename(e, "a")) && f.acceptdata(e)) {
try {
l && e[h] && (n = e[l], n && (e[l] = null), f.event.triggered = h, e[h]())
} catch (p) {
}
n && (e[l] = n), f.event.triggered = b
}
}
return c.result
}
}, handle: function (c) {
c = f.event.fix(c || a.event);
var d = ((f._data(this, "events") || {})[c.type] || []).slice(0), e = !c.exclusive && !c.namespace, g = array.prototype.slice.call(arguments, 0);
g[0] = c, c.currenttarget = this;
for (var h = 0, i = d.length; h < i; h++) {
var j = d[h];
if (e || c.namespace_re.test(j.namespace)) {
c.handler = j.handler, c.data = j.data, c.handleobj = j;
var k = j.handler.apply(this, g);
k !== b && (c.result = k, k === !1 && (c.preventdefault(), c.stoppropagation()));
if (c.isimmediatepropagationstopped())
break
}
}
return c.result
}, props: "altkey attrchange attrname bubbles button cancelable charcode clientx clienty ctrlkey currenttarget data detail eventphase fromelement handler keycode layerx layery metakey newvalue offsetx offsety pagex pagey prevvalue relatednode relatedtarget screenx screeny shiftkey srcelement target toelement view wheeldelta which".split(" "), fix: function (a) {
if (a[f.expando])
return a;
var d = a;
a = f.event(d);
for (var e = this.props.length, g; e;)
g = this.props[--e], a[g] = d[g];
a.target || (a.target = a.srcelement || c), a.target.nodetype === 3 && (a.target = a.target.parentnode), !a.relatedtarget && a.fromelement && (a.relatedtarget = a.fromelement === a.target ? a.toelement : a.fromelement);
if (a.pagex == null && a.clientx != null) {
var h = a.target.ownerdocument || c, i = h.documentelement, j = h.body;
a.pagex = a.clientx + (i && i.scrollleft || j && j.scrollleft || 0) - (i && i.clientleft || j && j.clientleft || 0), a.pagey = a.clienty + (i && i.scrolltop || j && j.scrolltop || 0) - (i && i.clienttop || j && j.clienttop || 0)
}
a.which == null && (a.charcode != null || a.keycode != null) && (a.which = a.charcode != null ? a.charcode : a.keycode), !a.metakey && a.ctrlkey && (a.metakey = a.ctrlkey), !a.which && a.button !== b && (a.which = a.button & 1 ? 1 : a.button & 2 ? 3 : a.button & 4 ? 2 : 0);
return a
}, guid: 1e8, proxy: f.proxy, special: {
ready: { setup: f.bindready, teardown: f.noop }, live: {
add: function (a) {
f.event.add(this, n(a.origtype, a.selector), f.extend({}, a, { handler: m, guid: a.handler.guid }))
}, remove: function (a) {
f.event.remove(this, n(a.origtype, a.selector), a)
}
}, beforeunload: {
setup: function (a, b, c) {
f.iswindow(this) && (this.onbeforeunload = c)
}, teardown: function (a, b) {
this.onbeforeunload === b && (this.onbeforeunload = null)
}
}
}
}, f.removeevent = c.removeeventlistener ? function (a, b, c) {
a.removeeventlistener && a.removeeventlistener(b, c, !1)
} : function (a, b, c) {
a.detachevent && a.detachevent("on" + b, c)
}, f.event = function (a, b) {
if (!this.preventdefault)
return new f.event(a, b);
a && a.type ? (this.originalevent = a, this.type = a.type, this.isdefaultprevented = a.defaultprevented || a.returnvalue === !1 || a.getpreventdefault && a.getpreventdefault() ? e : d) : this.type = a, b && f.extend(this, b), this.timestamp = f.now(), this[f.expando] = !0
}, f.event.prototype = {
preventdefault: function () {
this.isdefaultprevented = e;
var a = this.originalevent;
!a || (a.preventdefault ? a.preventdefault() : a.returnvalue = !1)
}, stoppropagation: function () {
this.ispropagationstopped = e;
var a = this.originalevent;
!a || (a.stoppropagation && a.stoppropagation(), a.cancelbubble = !0)
}, stopimmediatepropagation: function () {
this.isimmediatepropagationstopped = e, this.stoppropagation()
}, isdefaultprevented: d, ispropagationstopped: d, isimmediatepropagationstopped: d
};
var f = function (a) {
var b = a.relatedtarget, c = !1, d = a.type;
a.type = a.data, b !== this && (b && (c = f.contains(this, b)), c || (f.event.handle.apply(this, arguments), a.type = d))
}, g = function (a) {
a.type = a.data, f.event.handle.apply(this, arguments)
};
f.each({ mouseenter: "mouseover", mouseleave: "mouseout" }, function (a, b) {
f.event.special[a] = {
setup: function (c) {
f.event.add(this, b, c && c.selector ? g : f, a)
}, teardown: function (a) {
f.event.remove(this, b, a && a.selector ? g : f)
}
}
}), f.support.submitbubbles || (f.event.special.submit = {
setup: function (a, b) {
if (!f.nodename(this, "form"))
f.event.add(this, "click.specialsubmit", function (a) {
var b = a.target, c = b.type;
(c === "submit" || c === "image") && f(b).closest("form").length && k("submit", this, arguments)
}), f.event.add(this, "keypress.specialsubmit", function (a) {
var b = a.target, c = b.type;
(c === "text" || c === "password") && f(b).closest("form").length && a.keycode === 13 && k("submit", this, arguments)
});
else
return !1
}, teardown: function (a) {
f.event.remove(this, ".specialsubmit")
}
});
if (!f.support.changebubbles) {
var h, i = function (a) {
var b = a.type, c = a.value;
b === "radio" || b === "checkbox" ? c = a.checked : b === "select-multiple" ? c = a.selectedindex > -1 ? f.map(a.options, function (a) {
return a.selected
}).join("-") : "" : f.nodename(a, "select") && (c = a.selectedindex);
return c
}, j = function (c) {
var d = c.target, e, g;
if (!!y.test(d.nodename) && !d.readonly) {
e = f._data(d, "_change_data"), g = i(d), (c.type !== "focusout" || d.type !== "radio") && f._data(d, "_change_data", g);
if (e === b || g === e)
return;
if (e != null || g)
c.type = "change", c.livefired = b, f.event.trigger(c, arguments[1], d)
}
};
f.event.special.change = {
filters: {
focusout: j, beforedeactivate: j, click: function (a) {
var b = a.target, c = f.nodename(b, "input") ? b.type : "";
(c === "radio" || c === "checkbox" || f.nodename(b, "select")) && j.call(this, a)
}, keydown: function (a) {
var b = a.target, c = f.nodename(b, "input") ? b.type : "";
(a.keycode === 13 && !f.nodename(b, "textarea") || a.keycode === 32 && (c === "checkbox" || c === "radio") || c === "select-multiple") && j.call(this, a)
}, beforeactivate: function (a) {
var b = a.target;
f._data(b, "_change_data", i(b))
}
}, setup: function (a, b) {
if (this.type === "file")
return !1;
for (var c in h)
f.event.add(this, c + ".specialchange", h[c]);
return y.test(this.nodename)
}, teardown: function (a) {
f.event.remove(this, ".specialchange");
return y.test(this.nodename)
}
}, h = f.event.special.change.filters, h.focus = h.beforeactivate
}
f.support.focusinbubbles || f.each({ focus: "focusin", blur: "focusout" }, function (a, b) {
function e(a) {
var c = f.event.fix(a);
c.type = b, c.originalevent = {}, f.event.trigger(c, null, c.target), c.isdefaultprevented() && a.preventdefault()
}
var d = 0;
f.event.special[b] = {
setup: function () {
d++ === 0 && c.addeventlistener(a, e, !0)
}, teardown: function () {
--d === 0 && c.removeeventlistener(a, e, !0)
}
}
}), f.each(["bind", "one"], function (a, c) {
f.fn[c] = function (a, d, e) {
var g;
if (typeof a == "object") {
for (var h in a)
this[c](h, d, a[h], e);
return this
}
if (arguments.length === 2 || d === !1)
e = d, d = b;
c === "one" ? (g = function (a) {
f(this).unbind(a, g);
return e.apply(this, arguments)
}, g.guid = e.guid || f.guid++) : g = e;
if (a === "unload" && c !== "one")
this.one(a, d, e);
else
for (var i = 0, j = this.length; i < j; i++)
f.event.add(this[i], a, g, d);
return this
}
}), f.fn.extend({
unbind: function (a, b) {
if (typeof a == "object" && !a.preventdefault)
for (var c in a)
this.unbind(c, a[c]);
else
for (var d = 0, e = this.length; d < e; d++)
f.event.remove(this[d], a, b);
return this
}, delegate: function (a, b, c, d) {
return this.live(b, c, d, a)
}, undelegate: function (a, b, c) {
return arguments.length === 0 ? this.unbind("live") : this.die(b, null, c, a)
}, trigger: function (a, b) {
return this.each(function () {
f.event.trigger(a, b, this)
})
}, triggerhandler: function (a, b) {
if (this[0])
return f.event.trigger(a, b, this[0], !0)
}, toggle: function (a) {
var b = arguments, c = a.guid || f.guid++, d = 0, e = function (c) {
var e = (f.data(this, "lasttoggle" + a.guid) || 0) % d;
f.data(this, "lasttoggle" + a.guid, e + 1), c.preventdefault();
return b[e].apply(this, arguments) || !1
};
e.guid = c;
while (d < b.length)
b[d++].guid = c;
return this.click(e)
}, hover: function (a, b) {
return this.mouseenter(a).mouseleave(b || a)
}
});
var l = { focus: "focusin", blur: "focusout", mouseenter: "mouseover", mouseleave: "mouseout" };
f.each(["live", "die"], function (a, c) {
f.fn[c] = function (a, d, e, g) {
var h, i = 0, j, k, l, m = g || this.selector, n = g ? this : f(this.context);
if (typeof a == "object" && !a.preventdefault) {
for (var o in a)
n[c](o, d, a[o], m);
return this
}
if (c === "die" && !a && g && g.charat(0) === ".") {
n.unbind(g);
return this
}
if (d === !1 || f.isfunction(d))
e = d || d, d = b;
a = (a || "").split(" ");
while ((h = a[i++]) != null) {
j = x.exec(h), k = "", j && (k = j[0], h = h.replace(x, ""));
if (h === "hover") {
a.push("mouseenter" + k, "mouseleave" + k);
continue
}
l = h, l[h] ? (a.push(l[h] + k), h = h + k) : h = (l[h] || h) + k;
if (c === "live")
for (var p = 0, q = n.length; p < q; p++)
f.event.add(n[p], "live." + n(h, m), { data: d, selector: m, handler: e, origtype: h, orighandler: e, pretype: l });
else
n.unbind("live." + n(h, m), e)
}
return this
}
}), f.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error".split(" "), function (a, b) {
f.fn[b] = function (a, c) {
c == null && (c = a, a = null);
return arguments.length > 0 ? this.bind(b, a, c) : this.trigger(b)
}, f.attrfn && (f.attrfn[b] = !0)
}), function () {
function u(a, b, c, d, e, f) {
for (var g = 0, h = d.length; g < h; g++) {
var i = d[g];
if (i) {
var j = !1;
i = i[a];
while (i) {
if (i.sizcache === c) {
j = d[i.sizset];
break
}
if (i.nodetype === 1) {
f || (i.sizcache = c, i.sizset = g);
if (typeof b != "string") {
if (i === b) {
j = !0;
break
}
} else if (k.filter(b, [i]).length > 0) {
j = i;
break
}
}
i = i[a]
}
d[g] = j
}
}
}
function t(a, b, c, d, e, f) {
for (var g = 0, h = d.length; g < h; g++) {
var i = d[g];
if (i) {
var j = !1;
i = i[a];
while (i) {
if (i.sizcache === c) {
j = d[i.sizset];
break
}
i.nodetype === 1 && !f && (i.sizcache = c, i.sizset = g);
if (i.nodename.tolowercase() === b) {
j = i;
break
}
i = i[a]
}
d[g] = j
}
}
}
var a = /((?:\((?:\([^()]+\)|[^()]+)+\)|\[(?:\[[^\[\]]*\]|['"][^'"]*['"]|[^\[\]'"]+)+\]|\\.|[^ >+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g, d = 0, e = object.prototype.tostring, g = !1, h = !0, i = /\\/g, j = /\w/;
[0, 0].sort(function () {
h = !1;
return 0
});
var k = function (b, d, f, g) {
f = f || [], d = d || c;
var h = d;
if (d.nodetype !== 1 && d.nodetype !== 9)
return [];
if (!b || typeof b != "string")
return f;
var i, j, n, o, q, r, s, t, u = !0, w = k.isxml(d), x = [], y = b;
do {
a.exec(""), i = a.exec(y);
if (i) {
y = i[3], x.push(i[1]);
if (i[2]) {
o = i[3];
break
}
}
} while (i);
if (x.length > 1 && m.exec(b))
if (x.length === 2 && l.relative[x[0]])
j = v(x[0] + x[1], d);
else {
j = l.relative[x[0]] ? [d] : k(x.shift(), d);
while (x.length)
b = x.shift(), l.relative[b] && (b += x.shift()), j = v(b, j)
}
else {
!g && x.length > 1 && d.nodetype === 9 && !w && l.match.id.test(x[0]) && !l.match.id.test(x[x.length - 1]) && (q = k.find(x.shift(), d, w), d = q.expr ? k.filter(q.expr, q.set)[0] : q.set[0]);
if (d) {
q = g ? { expr: x.pop(), set: p(g) } : k.find(x.pop(), x.length === 1 && (x[0] === "~" || x[0] === "+") && d.parentnode ? d.parentnode : d, w), j = q.expr ? k.filter(q.expr, q.set) : q.set, x.length > 0 ? n = p(j) : u = !1;
while (x.length)
r = x.pop(), s = r, l.relative[r] ? s = x.pop() : r = "", s == null && (s = d), l.relative[r](n, s, w)
} else
n = x = []
}
n || (n = j), n || k.error(r || b);
if (e.call(n) === "[object array]")
if (!u)
f.push.apply(f, n);
else if (d && d.nodetype === 1)
for (t = 0; n[t] != null; t++)
n[t] && (n[t] === !0 || n[t].nodetype === 1 && k.contains(d, n[t])) && f.push(j[t]);
else
for (t = 0; n[t] != null; t++)
n[t] && n[t].nodetype === 1 && f.push(j[t]);
else
p(n, f);
o && (k(o, h, f, g), k.uniquesort(f));
return f
};
k.uniquesort = function (a) {
if (r) {
g = h, a.sort(r);
if (g)
for (var b = 1; b < a.length; b++)
a[b] === a[b - 1] && a.splice(b--, 1)
}
return a
}, k.matches = function (a, b) {
return k(a, null, null, b)
}, k.matchesselector = function (a, b) {
return k(b, null, null, [a]).length > 0
}, k.find = function (a, b, c) {
var d;
if (!a)
return [];
for (var e = 0, f = l.order.length; e < f; e++) {
var g, h = l.order[e];
if (g = l.leftmatch[h].exec(a)) {
var j = g[1];
g.splice(1, 1);
if (j.substr(j.length - 1) !== "\\") {
g[1] = (g[1] || "").replace(i, ""), d = l.find[h](g, b, c);
if (d != null) {
a = a.replace(l.match[h], "");
break
}
}
}
}
d || (d = typeof b.getelementsbytagname != "undefined" ? b.getelementsbytagname("*") : []);
return { set: d, expr: a }
}, k.filter = function (a, c, d, e) {
var f, g, h = a, i = [], j = c, m = c && c[0] && k.isxml(c[0]);
while (a && c.length) {
for (var n in l.filter)
if ((f = l.leftmatch[n].exec(a)) != null && f[2]) {
var o, p, q = l.filter[n], r = f[1];
g = !1, f.splice(1, 1);
if (r.substr(r.length - 1) === "\\")
continue;
j === i && (i = []);
if (l.prefilter[n]) {
f = l.prefilter[n](f, j, d, i, e, m);
if (!f)
g = o = !0;
else if (f === !0)
continue
}
if (f)
for (var s = 0; (p = j[s]) != null; s++)
if (p) {
o = q(p, f, s, j);
var t = e ^ !!o;
d && o != null ? t ? g = !0 : j[s] = !1 : t && (i.push(p), g = !0)
}
if (o !== b) {
d || (j = i), a = a.replace(l.match[n], "");
if (!g)
return [];
break
}
}
if (a === h)
if (g == null)
k.error(a);
else
break;
h = a
}
return j
}, k.error = function (a) {
throw "syntax error, unrecognized expression: " + a
};
var l = k.selectors = {
order: ["id", "name", "tag"], match: { id: /#((?:[\w\u00c0-\uffff\-]|\\.)+)/, class: /\.((?:[\w\u00c0-\uffff\-]|\\.)+)/, name: /\[name=['"]*((?:[\w\u00c0-\uffff\-]|\\.)+)['"]*\]/, attr: /\[\s*((?:[\w\u00c0-\uffff\-]|\\.)+)\s*(?:(\s?=)\s*(?:(['"])(.*?)\3|(#?(?:[\w\u00c0-\uffff\-]|\\.)*)|)|)\s*\]/, tag: /^((?:[\w\u00c0-\uffff\*\-]|\\.)+)/, child: /:(only|nth|last|first)-child(?:\(\s*(even|odd|(?:[+\-]?\d+|(?:[+\-]?\d*)?n\s*(?:[+\-]\s*\d+)?))\s*\))?/, pos: /:(nth|eq|gt|lt|first|last|even|odd)(?:\((\d*)\))?(?=[^\-]|$)/, pseudo: /:((?:[\w\u00c0-\uffff\-]|\\.)+)(?:\((['"]?)((?:\([^\)]+\)|[^\(\)]*)+)\2\))?/ }, leftmatch: {}, attrmap: { "class": "classname", "for": "htmlfor" }, attrhandle: {
href: function (a) {
return a.getattribute("href")
}, type: function (a) {
return a.getattribute("type")
}
}, relative: {
"+": function (a, b) {
var c = typeof b == "string", d = c && !j.test(b), e = c && !d;
d && (b = b.tolowercase());
for (var f = 0, g = a.length, h; f < g; f++)
if (h = a[f]) {
while ((h = h.previoussibling) && h.nodetype !== 1)
;
a[f] = e || h && h.nodename.tolowercase() === b ? h || !1 : h === b
}
e && k.filter(b, a, !0)
}, ">": function (a, b) {
var c, d = typeof b == "string", e = 0, f = a.length;
if (d && !j.test(b)) {
b = b.tolowercase();
for (; e < f; e++) {
c = a[e];
if (c) {
var g = c.parentnode;
a[e] = g.nodename.tolowercase() === b ? g : !1
}
}
} else {
for (; e < f; e++)
c = a[e], c && (a[e] = d ? c.parentnode : c.parentnode === b);
d && k.filter(b, a, !0)
}
}, "": function (a, b, c) {
var e, f = d++, g = u;
typeof b == "string" && !j.test(b) && (b = b.tolowercase(), e = b, g = t), g("parentnode", b, f, a, e, c)
}, "~": function (a, b, c) {
var e, f = d++, g = u;
typeof b == "string" && !j.test(b) && (b = b.tolowercase(), e = b, g = t), g("previoussibling", b, f, a, e, c)
}
}, find: {
id: function (a, b, c) {
if (typeof b.getelementbyid != "undefined" && !c) {
var d = b.getelementbyid(a[1]);
return d && d.parentnode ? [d] : []
}
}, name: function (a, b) {
if (typeof b.getelementsbyname != "undefined") {
var c = [], d = b.getelementsbyname(a[1]);
for (var e = 0, f = d.length; e < f; e++)
d[e].getattribute("name") === a[1] && c.push(d[e]);
return c.length === 0 ? null : c
}
}, tag: function (a, b) {
if (typeof b.getelementsbytagname != "undefined")
return b.getelementsbytagname(a[1])
}
}, prefilter: {
class: function (a, b, c, d, e, f) {
a = " " + a[1].replace(i, "") + " ";
if (f)
return a;
for (var g = 0, h; (h = b[g]) != null; g++)
h && (e ^ (h.classname && (" " + h.classname + " ").replace(/[\t\n\r]/g, " ").indexof(a) >= 0) ? c || d.push(h) : c && (b[g] = !1));
return !1
}, id: function (a) {
return a[1].replace(i, "")
}, tag: function (a, b) {
return a[1].replace(i, "").tolowercase()
}, child: function (a) {
if (a[1] === "nth") {
a[2] || k.error(a[0]), a[2] = a[2].replace(/^\+|\s*/g, "");
var b = /(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2] === "even" && "2n" || a[2] === "odd" && "2n+1" || !/\d/.test(a[2]) && "0n+" + a[2] || a[2]);
a[2] = b[1] + (b[2] || 1) - 0, a[3] = b[3] - 0
} else
a[2] && k.error(a[0]);
a[0] = d++;
return a
}, attr: function (a, b, c, d, e, f) {
var g = a[1] = a[1].replace(i, "");
!f && l.attrmap[g] && (a[1] = l.attrmap[g]), a[4] = (a[4] || a[5] || "").replace(i, ""), a[2] === "~=" && (a[4] = " " + a[4] + " ");
return a
}, pseudo: function (b, c, d, e, f) {
if (b[1] === "not")
if ((a.exec(b[3]) || "").length > 1 || /^\w/.test(b[3]))
b[3] = k(b[3], null, null, c);
else {
var g = k.filter(b[3], c, d, !0 ^ f);
d || e.push.apply(e, g);
return !1
}
else if (l.match.pos.test(b[0]) || l.match.child.test(b[0]))
return !0;
return b
}, pos: function (a) {
a.unshift(!0);
return a
}
}, filters: {
enabled: function (a) {
return a.disabled === !1 && a.type !== "hidden"
}, disabled: function (a) {
return a.disabled === !0
}, checked: function (a) {
return a.checked === !0
}, selected: function (a) {
a.parentnode && a.parentnode.selectedindex;
return a.selected === !0
}, parent: function (a) {
return !!a.firstchild
}, empty: function (a) {
return !a.firstchild
}, has: function (a, b, c) {
return !!k(c[3], a).length
}, header: function (a) {
return /h\d/i.test(a.nodename)
}, text: function (a) {
var b = a.getattribute("type"), c = a.type;
return a.nodename.tolowercase() === "input" && "text" === c && (b === c || b === null)
}, radio: function (a) {
return a.nodename.tolowercase() === "input" && "radio" === a.type
}, checkbox: function (a) {
return a.nodename.tolowercase() === "input" && "checkbox" === a.type
}, file: function (a) {
return a.nodename.tolowercase() === "input" && "file" === a.type
}, password: function (a) {
return a.nodename.tolowercase() === "input" && "password" === a.type
}, submit: function (a) {
var b = a.nodename.tolowercase();
return (b === "input" || b === "button") && "submit" === a.type
}, image: function (a) {
return a.nodename.tolowercase() === "input" && "image" === a.type
}, reset: function (a) {
var b = a.nodename.tolowercase();
return (b === "input" || b === "button") && "reset" === a.type
}, button: function (a) {
var b = a.nodename.tolowercase();
return b === "input" && "button" === a.type || b === "button"
}, input: function (a) {
return /input|select|textarea|button/i.test(a.nodename)
}, focus: function (a) {
return a === a.ownerdocument.activeelement
}
}, setfilters: {
first: function (a, b) {
return b === 0
}, last: function (a, b, c, d) {
return b === d.length - 1
}, even: function (a, b) {
return b % 2 === 0
}, odd: function (a, b) {
return b % 2 === 1
}, lt: function (a, b, c) {
return b < c[3] - 0
}, gt: function (a, b, c) {
return b > c[3] - 0
}, nth: function (a, b, c) {
return c[3] - 0 === b
}, eq: function (a, b, c) {
return c[3] - 0 === b
}
}, filter: {
pseudo: function (a, b, c, d) {
var e = b[1], f = l.filters[e];
if (f)
return f(a, c, b, d);
if (e === "contains")
return (a.textcontent || a.innertext || k.gettext([a]) || "").indexof(b[3]) >= 0;
if (e === "not") {
var g = b[3];
for (var h = 0, i = g.length; h < i; h++)
if (g[h] === a)
return !1;
return !0
}
k.error(e)
}, child: function (a, b) {
var c = b[1], d = a;
switch (c) {
case "only":
case "first":
while (d = d.previoussibling)
if (d.nodetype === 1)
return !1;
if (c === "first")
return !0;
d = a;
case "last":
while (d = d.nextsibling)
if (d.nodetype === 1)
return !1;
return !0;
case "nth":
var e = b[2], f = b[3];
if (e === 1 && f === 0)
return !0;
var g = b[0], h = a.parentnode;
if (h && (h.sizcache !== g || !a.nodeindex)) {
var i = 0;
for (d = h.firstchild; d; d = d.nextsibling)
d.nodetype === 1 && (d.nodeindex = ++i);
h.sizcache = g
}
var j = a.nodeindex - f;
return e === 0 ? j === 0 : j % e === 0 && j / e >= 0
}
}, id: function (a, b) {
return a.nodetype === 1 && a.getattribute("id") === b
}, tag: function (a, b) {
return b === "*" && a.nodetype === 1 || a.nodename.tolowercase() === b
}, class: function (a, b) {
return (" " + (a.classname || a.getattribute("class")) + " ").indexof(b) > -1
}, attr: function (a, b) {
var c = b[1], d = l.attrhandle[c] ? l.attrhandle[c](a) : a[c] != null ? a[c] : a.getattribute(c), e = d + "", f = b[2], g = b[4];
return d == null ? f === "!=" : f === "=" ? e === g : f === "*=" ? e.indexof(g) >= 0 : f === "~=" ? (" " + e + " ").indexof(g) >= 0 : g ? f === "!=" ? e !== g : f === "^=" ? e.indexof(g) === 0 : f === "$=" ? e.substr(e.length - g.length) === g : f === "|=" ? e === g || e.substr(0, g.length + 1) === g + "-" : !1 : e && d !== !1
}, pos: function (a, b, c, d) {
var e = b[2], f = l.setfilters[e];
if (f)
return f(a, c, b, d)
}
}
}, m = l.match.pos, n = function (a, b) {
return "\\" + (b - 0 + 1)
};
for (var o in l.match)
l.match[o] = new regexp(l.match[o].source + /(?![^\[]*\])(?![^\(]*\))/.source), l.leftmatch[o] = new regexp(/(^(?:.|\r|\n)*?)/.source + l.match[o].source.replace(/\\(\d+)/g, n));
var p = function (a, b) {
a = array.prototype.slice.call(a, 0);
if (b) {
b.push.apply(b, a);
return b
}
return a
};
try {
array.prototype.slice.call(c.documentelement.childnodes, 0)[0].nodetype
} catch (q) {
p = function (a, b) {
var c = 0, d = b || [];
if (e.call(a) === "[object array]")
array.prototype.push.apply(d, a);
else if (typeof a.length == "number")
for (var f = a.length; c < f; c++)
d.push(a[c]);
else
for (; a[c]; c++)
d.push(a[c]);
return d
}
}
var r, s;
c.documentelement.comparedocumentposition ? r = function (a, b) {
if (a === b) {
g = !0;
return 0
}
if (!a.comparedocumentposition || !b.comparedocumentposition)
return a.comparedocumentposition ? -1 : 1;
return a.comparedocumentposition(b) & 4 ? -1 : 1
} : (r = function (a, b) {
if (a === b) {
g = !0;
return 0
}
if (a.sourceindex && b.sourceindex)
return a.sourceindex - b.sourceindex;
var c, d, e = [], f = [], h = a.parentnode, i = b.parentnode, j = h;
if (h === i)
return s(a, b);
if (!h)
return -1;
if (!i)
return 1;
while (j)
e.unshift(j), j = j.parentnode;
j = i;
while (j)
f.unshift(j), j = j.parentnode;
c = e.length, d = f.length;
for (var k = 0; k < c && k < d; k++)
if (e[k] !== f[k])
return s(e[k], f[k]);
return k === c ? s(a, f[k], -1) : s(e[k], b, 1)
}, s = function (a, b, c) {
if (a === b)
return c;
var d = a.nextsibling;
while (d) {
if (d === b)
return -1;
d = d.nextsibling
}
return 1
}), k.gettext = function (a) {
var b = "", c;
for (var d = 0; a[d]; d++)
c = a[d], c.nodetype === 3 || c.nodetype === 4 ? b += c.nodevalue : c.nodetype !== 8 && (b += k.gettext(c.childnodes));
return b
}, function () {
var a = c.createelement("div"), d = "script" + (new date).gettime(), e = c.documentelement;
a.innerhtml = "", e.insertbefore(a, e.firstchild), c.getelementbyid(d) && (l.find.id = function (a, c, d) {
if (typeof c.getelementbyid != "undefined" && !d) {
var e = c.getelementbyid(a[1]);
return e ? e.id === a[1] || typeof e.getattributenode != "undefined" && e.getattributenode("id").nodevalue === a[1] ? [e] : b : []
}
}, l.filter.id = function (a, b) {
var c = typeof a.getattributenode != "undefined" && a.getattributenode("id");
return a.nodetype === 1 && c && c.nodevalue === b
}), e.removechild(a), e = a = null
}(), function () {
var a = c.createelement("div");
a.appendchild(c.createcomment("")), a.getelementsbytagname("*").length > 0 && (l.find.tag = function (a, b) {
var c = b.getelementsbytagname(a[1]);
if (a[1] === "*") {
var d = [];
for (var e = 0; c[e]; e++)
c[e].nodetype === 1 && d.push(c[e]);
c = d
}
return c
}), a.innerhtml = "", a.firstchild && typeof a.firstchild.getattribute != "undefined" && a.firstchild.getattribute("href") !== "#" && (l.attrhandle.href = function (a) {
return a.getattribute("href", 2)
}), a = null
}(), c.queryselectorall && function () {
var a = k, b = c.createelement("div"), d = "__sizzle__";
b.innerhtml = "";
if (!b.queryselectorall || b.queryselectorall(".test").length !== 0) {
k = function (b, e, f, g) {
e = e || c;
if (!g && !k.isxml(e)) {
var h = /^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);
if (h && (e.nodetype === 1 || e.nodetype === 9)) {
if (h[1])
return p(e.getelementsbytagname(b), f);
if (h[2] && l.find.class && e.getelementsbyclassname)
return p(e.getelementsbyclassname(h[2]), f)
}
if (e.nodetype === 9) {
if (b === "body" && e.body)
return p([e.body], f);
if (h && h[3]) {
var i = e.getelementbyid(h[3]);
if (!i || !i.parentnode)
return p([], f);
if (i.id === h[3])
return p([i], f)
}
try {
return p(e.queryselectorall(b), f)
} catch (j) {
}
} else if (e.nodetype === 1 && e.nodename.tolowercase() !== "object") {
var m = e, n = e.getattribute("id"), o = n || d, q = e.parentnode, r = /^\s*[+~]/.test(b);
n ? o = o.replace(/'/g, "\\$&") : e.setattribute("id", o), r && q && (e = e.parentnode);
try {
if (!r || q)
return p(e.queryselectorall("[id='" + o + "'] " + b), f)
} catch (s) {
} finally {
n || m.removeattribute("id")
}
}
}
return a(b, e, f, g)
};
for (var e in a)
k[e] = a[e];
b = null
}
}(), function () {
var a = c.documentelement, b = a.matchesselector || a.mozmatchesselector || a.webkitmatchesselector || a.msmatchesselector;
if (b) {
var d = !b.call(c.createelement("div"), "div"), e = !1;
try {
b.call(c.documentelement, "[test!='']:sizzle")
} catch (f) {
e = !0
}
k.matchesselector = function (a, c) {
c = c.replace(/\=\s*([^'"\]]*)\s*\]/g, "='$1']");
if (!k.isxml(a))
try {
if (e || !l.match.pseudo.test(c) && !/!=/.test(c)) {
var f = b.call(a, c);
if (f || !d || a.document && a.document.nodetype !== 11)
return f
}
} catch (g) {
}
return k(c, null, null, [a]).length > 0
}
}
}(), function () {
var a = c.createelement("div");
a.innerhtml = "";
if (!!a.getelementsbyclassname && a.getelementsbyclassname("e").length !== 0) {
a.lastchild.classname = "e";
if (a.getelementsbyclassname("e").length === 1)
return;
l.order.splice(1, 0, "class"), l.find.class = function (a, b, c) {
if (typeof b.getelementsbyclassname != "undefined" && !c)
return b.getelementsbyclassname(a[1])
}, a = null
}
}(), c.documentelement.contains ? k.contains = function (a, b) {
return a !== b && (a.contains ? a.contains(b) : !0)
} : c.documentelement.comparedocumentposition ? k.contains = function (a, b) {
return !!(a.comparedocumentposition(b) & 16)
} : k.contains = function () {
return !1
}, k.isxml = function (a) {
var b = (a ? a.ownerdocument || a : 0).documentelement;
return b ? b.nodename !== "html" : !1
};
var v = function (a, b) {
var c, d = [], e = "", f = b.nodetype ? [b] : b;
while (c = l.match.pseudo.exec(a))
e += c[0], a = a.replace(l.match.pseudo, "");
a = l.relative[a] ? a + "*" : a;
for (var g = 0, h = f.length; g < h; g++)
k(a, f[g], d);
return k.filter(e, d)
};
f.find = k, f.expr = k.selectors, f.expr[":"] = f.expr.filters, f.unique = k.uniquesort, f.text = k.gettext, f.isxmldoc = k.isxml, f.contains = k.contains
}();
var o = /until$/, p = /^(?:parents|prevuntil|prevall)/, q = /,/, r = /^.[^:#\[\.,]*$/, s = array.prototype.slice, t = f.expr.match.pos, u = { children: !0, contents: !0, next: !0, prev: !0 };
f.fn.extend({
find: function (a) {
var b = this, c, d;
if (typeof a != "string")
return f(a).filter(function () {
for (c = 0, d = b.length; c < d; c++)
if (f.contains(b[c], this))
return !0
});
var e = this.pushstack("", "find", a), g, h, i;
for (c = 0, d = this.length; c < d; c++) {
g = e.length, f.find(a, this[c], e);
if (c > 0)
for (h = g; h < e.length; h++)
for (i = 0; i < g; i++)
if (e[i] === e[h]) {
e.splice(h--, 1);
break
}
}
return e
}, has: function (a) {
var b = f(a);
return this.filter(function () {
for (var a = 0, c = b.length; a < c; a++)
if (f.contains(this, b[a]))
return !0
})
}, not: function (a) {
return this.pushstack(w(this, a, !1), "not", a)
}, filter: function (a) {
return this.pushstack(w(this, a, !0), "filter", a)
}, is: function (a) {
return !!a && (typeof a == "string" ? f.filter(a, this).length > 0 : this.filter(a).length > 0)
}, closest: function (a, b) {
var c = [], d, e, g = this[0];
if (f.isarray(a)) {
var h, i, j = {}, k = 1;
if (g && a.length) {
for (d = 0, e = a.length; d < e; d++)
i = a[d], j[i] || (j[i] = t.test(i) ? f(i, b || this.context) : i);
while (g && g.ownerdocument && g !== b) {
for (i in j)
h = j[i], (h.jquery ? h.index(g) > -1 : f(g).is(h)) && c.push({ selector: i, elem: g, level: k });
g = g.parentnode, k++
}
}
return c
}
var l = t.test(a) || typeof a != "string" ? f(a, b || this.context) : 0;
for (d = 0, e = this.length; d < e; d++) {
g = this[d];
while (g) {
if (l ? l.index(g) > -1 : f.find.matchesselector(g, a)) {
c.push(g);
break
}
g = g.parentnode;
if (!g || !g.ownerdocument || g === b || g.nodetype === 11)
break
}
}
c = c.length > 1 ? f.unique(c) : c;
return this.pushstack(c, "closest", a)
}, index: function (a) {
if (!a || typeof a == "string")
return f.inarray(this[0], a ? f(a) : this.parent().children());
return f.inarray(a.jquery ? a[0] : a, this)
}, add: function (a, b) {
var c = typeof a == "string" ? f(a, b) : f.makearray(a && a.nodetype ? [a] : a), d = f.merge(this.get(), c);
return this.pushstack(v(c[0]) || v(d[0]) ? d : f.unique(d))
}, andself: function () {
return this.add(this.prevobject)
}
}), f.each({
parent: function (a) {
var b = a.parentnode;
return b && b.nodetype !== 11 ? b : null
}, parents: function (a) {
return f.dir(a, "parentnode")
}, parentsuntil: function (a, b, c) {
return f.dir(a, "parentnode", c)
}, next: function (a) {
return f.nth(a, 2, "nextsibling")
}, prev: function (a) {
return f.nth(a, 2, "previoussibling")
}, nextall: function (a) {
return f.dir(a, "nextsibling")
}, prevall: function (a) {
return f.dir(a, "previoussibling")
}, nextuntil: function (a, b, c) {
return f.dir(a, "nextsibling", c)
}, prevuntil: function (a, b, c) {
return f.dir(a, "previoussibling", c)
}, siblings: function (a) {
return f.sibling(a.parentnode.firstchild, a)
}, children: function (a) {
return f.sibling(a.firstchild)
}, contents: function (a) {
return f.nodename(a, "iframe") ? a.contentdocument || a.contentwindow.document : f.makearray(a.childnodes)
}
}, function (a, b) {
f.fn[a] = function (c, d) {
var e = f.map(this, b, c), g = s.call(arguments);
o.test(a) || (d = c), d && typeof d == "string" && (e = f.filter(d, e)), e = this.length > 1 && !u[a] ? f.unique(e) : e, (this.length > 1 || q.test(d)) && p.test(a) && (e = e.reverse());
return this.pushstack(e, a, g.join(","))
}
}), f.extend({
filter: function (a, b, c) {
c && (a = ":not(" + a + ")");
return b.length === 1 ? f.find.matchesselector(b[0], a) ? [b[0]] : [] : f.find.matches(a, b)
}, dir: function (a, c, d) {
var e = [], g = a[c];
while (g && g.nodetype !== 9 && (d === b || g.nodetype !== 1 || !f(g).is(d)))
g.nodetype === 1 && e.push(g), g = g[c];
return e
}, nth: function (a, b, c, d) {
b = b || 1;
var e = 0;
for (; a; a = a[c])
if (a.nodetype === 1 && ++e === b)
break;
return a
}, sibling: function (a, b) {
var c = [];
for (; a; a = a.nextsibling)
a.nodetype === 1 && a !== b && c.push(a);
return c
}
});
var x = / jquery\d+="(?:\d+|null)"/g, y = /^\s+/, z = /<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig, $ = /<([\w:]+)/, _ = /", ""], legend: [1, ""], thead: [1, "