aboutsummaryrefslogtreecommitdiffstats
path: root/public/assets/application-0b2ae0bf73e68414a78148b9d7aa67d4.js
blob: 582ba5fcbf6fdee549864a1372fccb207e0a3a9e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/*!
 * jQuery JavaScript Library v1.10.0
 * http://jquery.com/
 *
 * Includes Sizzle.js
 * http://sizzlejs.com/
 *
 * Copyright 2005, 2013 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2013-05-24T18:39Z
 */
!function(m,k){function s(e){var t=e.length,n=Ae.type(e);return!Ae.isWindow(e)&&(!(1!==e.nodeType||!t)||("array"===n||"function"!==n&&(0===t||"number"==typeof t&&0<t&&t-1 in e)))}function e(e){var n=Ce[e]={};return Ae.each(e.match(fe)||[],function(e,t){n[t]=!0}),n}function r(e,t,n,r){if(Ae.acceptData(e)){var i,o,a=Ae.expando,s=e.nodeType,l=s?Ae.cache:e,u=s?e[a]:e[a]&&a;if(u&&l[u]&&(r||l[u].data)||n!==k||"string"!=typeof t)return u||(u=s?e[a]=te.pop()||Ae.guid++:a),l[u]||(l[u]=s?{}:{toJSON:Ae.noop}),"object"!=typeof t&&"function"!=typeof t||(r?l[u]=Ae.extend(l[u],t):l[u].data=Ae.extend(l[u].data,t)),o=l[u],r||(o.data||(o.data={}),o=o.data),n!==k&&(o[Ae.camelCase(t)]=n),"string"==typeof t?null==(i=o[t])&&(i=o[Ae.camelCase(t)]):i=o,i}}function n(e,t,n){if(Ae.acceptData(e)){var r,i,o=e.nodeType,a=o?Ae.cache:e,s=o?e[Ae.expando]:Ae.expando;if(a[s]){if(t&&(r=n?a[s]:a[s].data)){i=(t=Ae.isArray(t)?t.concat(Ae.map(t,Ae.camelCase)):t in r?[t]:(t=Ae.camelCase(t))in r?[t]:t.split(" ")).length;for(;i--;)delete r[t[i]];if(n?!u(r):!Ae.isEmptyObject(r))return}(n||(delete a[s].data,u(a[s])))&&(o?Ae.cleanData([e],!0):Ae.support.deleteExpando||a!=a.window?delete a[s]:a[s]=null)}}}function l(e,t,n){if(n===k&&1===e.nodeType){var r="data-"+t.replace(Se,"-$1").toLowerCase();if("string"==typeof(n=e.getAttribute(r))){try{n="true"===n||"false"!==n&&("null"===n?null:+n+""===n?+n:Ne.test(n)?Ae.parseJSON(n):n)}catch(i){}Ae.data(e,t,n)}else n=k}return n}function u(e){var t;for(t in e)if(("data"!==t||!Ae.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}function i(){return!0}function c(){return!1}function t(){try{return G.activeElement}catch(e){}}function o(e,t){for(;(e=e[t])&&1!==e.nodeType;);return e}function a(e,n,r){if(Ae.isFunction(n))return Ae.grep(e,function(e,t){return!!n.call(e,t,e)!==r});if(n.nodeType)return Ae.grep(e,function(e){return e===n!==r});if("string"==typeof n){if(We.test(n))return Ae.filter(n,e,r);n=Ae.filter(n,e)}return Ae.grep(e,function(e){return 0<=Ae.inArray(e,n)!==r})}function g(e){var t=Ue.split("|"),n=e.createDocumentFragment();if(n.createElement)for(;t.length;)n.createElement(t.pop());return n}function f(e,t){return Ae.nodeName(e,"table")&&Ae.nodeName(1===t.nodeType?t:t.firstChild,"tr")?e.getElementsByTagName("tbody")[0]||e.appendChild(e.ownerDocument.createElement("tbody")):e}function y(e){return e.type=(null!==Ae.find.attr(e,"type"))+"/"+e.type,e}function v(e){var t=it.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function b(e,t){for(var n,r=0;null!=(n=e[r]);r++)Ae._data(n,"globalEval",!t||Ae._data(t[r],"globalEval"))}function p(e,t){if(1===t.nodeType&&Ae.hasData(e)){var n,r,i,o=Ae._data(e),a=Ae._data(t,o),s=o.events;if(s)for(n in delete a.handle,a.events={},s)for(r=0,i=s[n].length;r<i;r++)Ae.event.add(t,n,s[n][r]);a.data&&(a.data=Ae.extend({},a.data))}}function d(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!Ae.support.noCloneEvent&&t[Ae.expando]){for(r in(i=Ae._data(t)).events)Ae.removeEvent(t,r,i.handle);t.removeAttribute(Ae.expando)}"script"===n&&t.text!==e.text?(y(t).text=e.text,v(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),Ae.support.html5Clone&&e.innerHTML&&!Ae.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&tt.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)}}function x(e,t){var n,r,i=0,o=typeof e.getElementsByTagName!==Y?e.getElementsByTagName(t||"*"):typeof e.querySelectorAll!==Y?e.querySelectorAll(t||"*"):k;if(!o)for(o=[],n=e.childNodes||e;null!=(r=n[i]);i++)!t||Ae.nodeName(r,t)?o.push(r):Ae.merge(o,x(r,t));return t===k||t&&Ae.nodeName(e,t)?Ae.merge([e],o):o}function w(e){tt.test(e.type)&&(e.defaultChecked=e.checked)}function h(e,t){if(t in e)return t;for(var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=kt.length;i--;)if((t=kt[i]+n)in e)return t;return r}function T(e,t){return e=t||e,"none"===Ae.css(e,"display")||!Ae.contains(e.ownerDocument,e)}function C(e,t){for(var n,r,i,o=[],a=0,s=e.length;a<s;a++)(r=e[a]).style&&(o[a]=Ae._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&T(r)&&(o[a]=Ae._data(r,"olddisplay",j(r.nodeName)))):o[a]||(i=T(r),(n&&"none"!==n||!i)&&Ae._data(r,"olddisplay",i?n:Ae.css(r,"display"))));for(a=0;a<s;a++)(r=e[a]).style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}function N(e,t,n){var r=gt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function S(e,t,n,r,i){for(var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;o<4;o+=2)"margin"===n&&(a+=Ae.css(e,n+Tt[o],!0,i)),r?("content"===n&&(a-=Ae.css(e,"padding"+Tt[o],!0,i)),"margin"!==n&&(a-=Ae.css(e,"border"+Tt[o]+"Width",!0,i))):(a+=Ae.css(e,"padding"+Tt[o],!0,i),"padding"!==n&&(a+=Ae.css(e,"border"+Tt[o]+"Width",!0,i)));return a}function E(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=ut(e),a=Ae.support.boxSizing&&"border-box"===Ae.css(e,"boxSizing",!1,o);if(i<=0||null==i){if(((i=ct(e,t,o))<0||null==i)&&(i=e.style[t]),yt.test(i))return i;r=a&&(Ae.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+S(e,t,n||(a?"border":"content"),r,o)+"px"}function j(e){var t=G,n=bt[e];return n||("none"!==(n=A(e,t))&&n||((t=((lt=(lt||Ae("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement))[0].contentWindow||lt[0].contentDocument).document).write("<!doctype html><html><body>"),t.close(),n=A(e,t),lt.detach()),bt[e]=n),n}function A(e,t){var n=Ae(t.createElement(e)).appendTo(t.body),r=Ae.css(n[0],"display");return n.remove(),r}function D(n,e,r,i){var t;if(Ae.isArray(e))Ae.each(e,function(e,t){r||Nt.test(n)?i(n,t):D(n+"["+("object"==typeof t?e:"")+"]",t,r,i)});else if(r||"object"!==Ae.type(e))i(n,e);else for(t in e)D(n+"["+t+"]",e[t],r,i)}function L(o){return function(e,t){"string"!=typeof e&&(t=e,e="*");var n,r=0,i=e.toLowerCase().match(fe)||[];if(Ae.isFunction(t))for(;n=i[r++];)"+"===n[0]?(n=n.slice(1)||"*",(o[n]=o[n]||[]).unshift(t)):(o[n]=o[n]||[]).push(t)}}function H(t,i,o,a){function s(e){var r;return l[e]=!0,Ae.each(t[e]||[],function(e,t){var n=t(i,o,a);return"string"!=typeof n||u||l[n]?u?!(r=n):void 0:(i.dataTypes.unshift(n),s(n),!1)}),r}var l={},u=t===Wt;return s(i.dataTypes[0])||!l["*"]&&s("*")}function q(e,t){var n,r,i=Ae.ajaxSettings.flatOptions||{};for(r in t)t[r]!==k&&((i[r]?e:n||(n={}))[r]=t[r]);return n&&Ae.extend(!0,e,n),e}function F(e,t,n){for(var r,i,o,a,s=e.contents,l=e.dataTypes;"*"===l[0];)l.shift(),i===k&&(i=e.mimeType||t.getResponseHeader("Content-Type"));if(i)for(a in s)if(s[a]&&s[a].test(i)){l.unshift(a);break}if(l[0]in n)o=l[0];else{for(a in n){if(!l[0]||e.converters[a+" "+l[0]]){o=a;break}r||(r=a)}o=o||r}if(o)return o!==l[0]&&l.unshift(o),n[o]}function _(e,t,n,r){var i,o,a,s,l,u={},c=e.dataTypes.slice();if(c[1])for(a in e.converters)u[a.toLowerCase()]=e.converters[a];for(o=c.shift();o;)if(e.responseFields[o]&&(n[e.responseFields[o]]=t),!l&&r&&e.dataFilter&&(t=e.dataFilter(t,e.dataType)),l=o,o=c.shift())if("*"===o)o=l;else if("*"!==l&&l!==o){if(!(a=u[l+" "+o]||u["* "+o]))for(i in u)if((s=i.split(" "))[1]===o&&(a=u[l+" "+s[0]]||u["* "+s[0]])){!0===a?a=u[i]:!0!==u[i]&&(o=s[0],c.unshift(s[1]));break}if(!0!==a)if(a&&e["throws"])t=a(t);else try{t=a(t)}catch(f){return{state:"parsererror",error:a?f:"No conversion from "+l+" to "+o}}}return{state:"success",data:t}}function M(){try{return new m.XMLHttpRequest}catch(e){}}function O(){try{return new m.ActiveXObject("Microsoft.XMLHTTP")}catch(e){}}function R(){return setTimeout(function(){Gt=k}),Gt=Ae.now()}function B(e,t,n){for(var r,i=(nn[t]||[]).concat(nn["*"]),o=0,a=i.length;o<a;o++)if(r=i[o].call(n,t,e))return r}function P(o,e,t){var n,a,r=0,i=tn.length,s=Ae.Deferred().always(function(){delete l.elem}),l=function(){if(a)return!1;for(var e=Gt||R(),t=Math.max(0,u.startTime+u.duration-e),n=1-(t/u.duration||0),r=0,i=u.tweens.length;r<i;r++)u.tweens[r].run(n);return s.notifyWith(o,[u,n,t]),n<1&&i?t:(s.resolveWith(o,[u]),!1)},u=s.promise({elem:o,props:Ae.extend({},e),opts:Ae.extend(!0,{specialEasing:{}},t),originalProperties:e,originalOptions:t,startTime:Gt||R(),duration:t.duration,tweens:[],createTween:function(e,t){var n=Ae.Tween(o,u.opts,e,t,u.opts.specialEasing[e]||u.opts.easing);return u.tweens.push(n),n},stop:function(e){var t=0,n=e?u.tweens.length:0;if(a)return this;for(a=!0;t<n;t++)u.tweens[t].run(1);return e?s.resolveWith(o,[u,e]):s.rejectWith(o,[u,e]),this}}),c=u.props;for($(c,u.opts.specialEasing);r<i;r++)if(n=tn[r].call(u,o,c,u.opts))return n;return Ae.map(c,B,u),Ae.isFunction(u.opts.start)&&u.opts.start.call(o,u),Ae.fx.timer(Ae.extend(l,{elem:o,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)}function $(e,t){var n,r,i,o,a;for(n in e)if(i=t[r=Ae.camelCase(n)],o=e[n],Ae.isArray(o)&&(i=o[1],o=e[n]=o[0]),n!==r&&(e[r]=o,delete e[n]),(a=Ae.cssHooks[r])&&"expand"in a)for(n in o=a.expand(o),delete e[r],o)n in e||(e[n]=o[n],t[n]=i);else t[r]=i}function W(t,e,n){var r,i,o,a,s,l,u=this,c={},f=t.style,p=t.nodeType&&T(t),d=Ae._data(t,"fxshow");for(r in n.queue||(null==(s=Ae._queueHooks(t,"fx")).unqueued&&(s.unqueued=0,l=s.empty.fire,s.empty.fire=function(){s.unqueued||l()}),s.unqueued++,u.always(function(){u.always(function(){s.unqueued--,Ae.queue(t,"fx").length||s.empty.fire()})})),1===t.nodeType&&("height"in e||"width"in e)&&(n.overflow=[f.overflow,f.overflowX,f.overflowY],"inline"===Ae.css(t,"display")&&"none"===Ae.css(t,"float")&&(Ae.support.inlineBlockNeedsLayout&&"inline"!==j(t.nodeName)?f.zoom=1:f.display="inline-block")),n.overflow&&(f.overflow="hidden",Ae.support.shrinkWrapBlocks||u.always(function(){f.overflow=n.overflow[0],f.overflowX=n.overflow[1],f.overflowY=n.overflow[2]})),e)if(i=e[r],Kt.exec(i)){if(delete e[r],o=o||"toggle"===i,i===(p?"hide":"show"))continue;c[r]=d&&d[r]||Ae.style(t,r)}if(!Ae.isEmptyObject(c))for(r in d?"hidden"in d&&(p=d.hidden):d=Ae._data(t,"fxshow",{}),o&&(d.hidden=!p),p?Ae(t).show():u.done(function(){Ae(t).hide()}),u.done(function(){var e;for(e in Ae._removeData(t,"fxshow"),c)Ae.style(t,e,c[e])}),c)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))}function I(e,t,n,r,i){return new I.prototype.init(e,t,n,r,i)}function z(e,t){var n,r={height:e},i=0;for(t=t?1:0;i<4;i+=2-t)r["margin"+(n=Tt[i])]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}function X(e){return Ae.isWindow(e)?e:9===e.nodeType&&(e.defaultView||e.parentWindow)}var U,V,Y=typeof k,J=m.location,G=m.document,Q=G.documentElement,K=m.jQuery,Z=m.$,ee={},te=[],ne="1.10.0",re=te.concat,ie=te.push,oe=te.slice,ae=te.indexOf,se=ee.toString,le=ee.hasOwnProperty,ue=ne.trim,Ae=function(e,t){return new Ae.fn.init(e,t,V)},ce=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,fe=/\S+/g,pe=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,de=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,he=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,me=/^[\],:{}\s]*$/,ge=/(?:^|:|,)(?:\s*\[)+/g,ye=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,ve=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,be=/^-ms-/,xe=/-([\da-z])/gi,we=function(e,t){return t.toUpperCase()},Te=function(e){(G.addEventListener||"load"===e.type||"complete"===G.readyState)&&(ke(),Ae.ready())},ke=function(){G.addEventListener?(G.removeEventListener("DOMContentLoaded",Te,!1),m.removeEventListener("load",Te,!1)):(G.detachEvent("onreadystatechange",Te),m.detachEvent("onload",Te))};Ae.fn=Ae.prototype={jquery:ne,constructor:Ae,init:function(e,t,n){var r,i;if(!e)return this;if("string"!=typeof e)return e.nodeType?(this.context=this[0]=e,this.length=1,this):Ae.isFunction(e)?n.ready(e):(e.selector!==k&&(this.selector=e.selector,this.context=e.context),Ae.makeArray(e,this));if(!(r="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&3<=e.length?[null,e,null]:de.exec(e))||!r[1]&&t)return!t||t.jquery?(t||n).find(e):this.constructor(t).find(e);if(r[1]){if(t=t instanceof Ae?t[0]:t,Ae.merge(this,Ae.parseHTML(r[1],t&&t.nodeType?t.ownerDocument||t:G,!0)),he.test(r[1])&&Ae.isPlainObject(t))for(r in t)Ae.isFunction(this[r])?this[r](t[r]):this.attr(r,t[r]);return this}if((i=G.getElementById(r[2]))&&i.parentNode){if(i.id!==r[2])return n.find(e);this.length=1,this[0]=i}return this.context=G,this.selector=e,this},selector:"",length:0,toArray:function(){return oe.call(this)},get:function(e){return null==e?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e){var t=Ae.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return Ae.each(this,e,t)},ready:function(e){return Ae.ready.promise().done(e),this},slice:function(){return this.pushStack(oe.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},map:function(n){return this.pushStack(Ae.map(this,function(e,t){return n.call(e,t,e)}))},end:function(){return this.prevObject||this.constructor(null)},push:ie,sort:[].sort,splice:[].splice},Ae.fn.init.prototype=Ae.fn,Ae.extend=Ae.fn.extend=function(e,t){var n,r,i,o,a,s,l=e||{},u=1,c=arguments.length,f=!1;for("boolean"==typeof l&&(f=l,l=t||{},u=2),"object"==typeof l||Ae.isFunction(l)||(l={}),c===u&&(l=this,--u);u<c;u++)if(null!=(a=arguments[u]))for(o in a)n=l[o],l!==(i=a[o])&&(f&&i&&(Ae.isPlainObject(i)||(r=Ae.isArray(i)))?(r?(r=!1,s=n&&Ae.isArray(n)?n:[]):s=n&&Ae.isPlainObject(n)?n:{},l[o]=Ae.extend(f,s,i)):i!==k&&(l[o]=i));return l},Ae.extend({expando:"jQuery"+(ne+Math.random()).replace(/\D/g,""),noConflict:function(e){return m.$===Ae&&(m.$=Z),e&&m.jQuery===Ae&&(m.jQuery=K),Ae},isReady:!1,readyWait:1,holdReady:function(e){e?Ae.readyWait++:Ae.ready(!0)},ready:function(e){if(!0===e?!--Ae.readyWait:!Ae.isReady){if(!G.body)return setTimeout(Ae.ready);(Ae.isReady=!0)!==e&&0<--Ae.readyWait||(U.resolveWith(G,[Ae]),Ae.fn.trigger&&Ae(G).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===Ae.type(e)},isArray:Array.isArray||function(e){return"array"===Ae.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?String(e):"object"==typeof e||"function"==typeof e?ee[se.call(e)]||"object":typeof e},isPlainObject:function(e){var t;if(!e||"object"!==Ae.type(e)||e.nodeType||Ae.isWindow(e))return!1;try{if(e.constructor&&!le.call(e,"constructor")&&!le.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}if(Ae.support.ownLast)for(t in e)return le.call(e,t);for(t in e);return t===k||le.call(e,t)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||G;var r=he.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=Ae.buildFragment([e],t,i),i&&Ae(i).remove(),Ae.merge([],r.childNodes))},parseJSON:function(e){return m.JSON&&m.JSON.parse?m.JSON.parse(e):null===e?e:"string"==typeof e&&(e=Ae.trim(e))&&me.test(e.replace(ye,"@").replace(ve,"]").replace(ge,""))?new Function("return "+e)():void Ae.error("Invalid JSON: "+e)},parseXML:function(e){var t;if(!e||"string"!=typeof e)return null;try{m.DOMParser?t=(new DOMParser).parseFromString(e,"text/xml"):((t=new ActiveXObject("Microsoft.XMLDOM")).async="false",t.loadXML(e))}catch(n){t=k}return t&&t.documentElement&&!t.getElementsByTagName("parsererror").length||Ae.error("Invalid XML: "+e),t},noop:function(){},globalEval:function(e){e&&Ae.trim(e)&&(m.execScript||function(e){m.eval.call(m,e)})(e)},camelCase:function(e){return e.replace(be,"ms-").replace(xe,we)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r=0,i=e.length,o=s(e);if(n){if(o)for(;r<i&&!1!==t.apply(e[r],n);r++);else for(r in e)if(!1===t.apply(e[r],n))break}else if(o)for(;r<i&&!1!==t.call(e[r],r,e[r]);r++);else for(r in e)if(!1===t.call(e[r],r,e[r]))break;return e},trim:ue&&!ue.call("\ufeff\xa0")?function(e){return null==e?"":ue.call(e)}:function(e){return null==e?"":(e+"").replace(pe,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(s(Object(e))?Ae.merge(n,"string"==typeof e?[e]:e):ie.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(ae)return ae.call(t,e,n);for(r=t.length,n=n?n<0?Math.max(0,r+n):n:0;n<r;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,t){var n=t.length,r=e.length,i=0;if("number"==typeof n)for(;i<n;i++)e[r++]=t[i];else for(;t[i]!==k;)e[r++]=t[i++];return e.length=r,e},grep:function(e,t,n){var r=[],i=0,o=e.length;for(n=!!n;i<o;i++)n!==!!t(e[i],i)&&r.push(e[i]);return r},map:function(e,t,n){var r,i=0,o=e.length,a=[];if(s(e))for(;i<o;i++)null!=(r=t(e[i],i,n))&&(a[a.length]=r);else for(i in e)null!=(r=t(e[i],i,n))&&(a[a.length]=r);return re.apply([],a)},guid:1,proxy:function(e,t){var n,r,i;return"string"==typeof t&&(i=e[t],t=e,e=i),Ae.isFunction(e)?(n=oe.call(arguments,2),(r=function(){return e.apply(t||this,n.concat(oe.call(arguments)))}).guid=e.guid=e.guid||Ae.guid++,r):k},access:function(e,t,n,r,i,o,a){var s=0,l=e.length,u=null==n;if("object"===Ae.type(n))for(s in i=!0,n)Ae.access(e,t,s,n[s],!0,o,a);else if(r!==k&&(i=!0,Ae.isFunction(r)||(a=!0),u&&(a?(t.call(e,r),t=null):(u=t,t=function(e,t,n){return u.call(Ae(e),n)})),t))for(;s<l;s++)t(e[s],n,a?r:r.call(e[s],s,t(e[s],n)));return i?e:u?t.call(e):l?t(e[0],n):o},now:function(){return(new Date).getTime()},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];for(o in i=n.apply(e,r||[]),t)e.style[o]=a[o];return i}}),Ae.ready.promise=function(e){if(!U)if(U=Ae.Deferred(),"complete"===G.readyState)setTimeout(Ae.ready);else if(G.addEventListener)G.addEventListener("DOMContentLoaded",Te,!1),m.addEventListener("load",Te,!1);else{G.attachEvent("onreadystatechange",Te),m.attachEvent("onload",Te);var t=!1;try{t=null==m.frameElement&&G.documentElement}catch(n){}t&&t.doScroll&&function r(){if(!Ae.isReady){try{t.doScroll("left")}catch(n){return setTimeout(r,50)}ke(),Ae.ready()}}()}return U.promise(e)},Ae.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){ee["[object "+t+"]"]=t.toLowerCase()}),V=Ae(G),
/*!
 * Sizzle CSS Selector Engine v1.9.4-pre
 * http://sizzlejs.com/
 *
 * Copyright 2013 jQuery Foundation, Inc. and other contributors
 * Released under the MIT license
 * http://jquery.org/license
 *
 * Date: 2013-05-15
 */
function(n,i){function w(e,t,n,r){var i,o,a,s,l,u,c,f,p,d;if((t?t.ownerDocument||t:z)!==M&&_(t),n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=(t=t||M).nodeType)&&9!==s)return[];if(R&&!r){if(i=Te.exec(e))if(a=i[1]){if(9===s){if(!(o=t.getElementById(a))||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&W(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return ie.apply(n,t.getElementsByTagName(e)),n;if((a=i[3])&&E.getElementsByClassName&&t.getElementsByClassName)return ie.apply(n,t.getElementsByClassName(a)),n}if(E.qsa&&(!B||!B.test(e))){if(f=c=I,p=t,d=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){for(u=m(e),(c=t.getAttribute("id"))?f=c.replace(Ne,"\\$&"):t.setAttribute("id",f),f="[id='"+f+"'] ",l=u.length;l--;)u[l]=f+g(u[l]);p=ge.test(e)&&t.parentNode||t,d=u.join(",")}if(d)try{return ie.apply(n,p.querySelectorAll(d)),n}catch(h){}finally{c||t.removeAttribute("id")}}}return C(e.replace(de,"$1"),t,n,r)}function t(e){return we.test(e+"")}function e(){function n(e,t){return r.push(e+=" ")>A.cacheLength&&delete n[r.shift()],n[e]=t}var r=[];return n}function l(e){return e[I]=!0,e}function r(e){var t=M.createElement("div");try{return!!e(t)}catch(n){return!1}finally{t.parentNode&&t.parentNode.removeChild(t),t=null}}function o(e,t,n){for(var r,i=(e=e.split("|")).length,o=n?null:t;i--;)(r=A.attrHandle[e[i]])&&r!==t||(A.attrHandle[e[i]]=o)}function a(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:!0===e[t]?t.toLowerCase():null}function s(e,t){return e.getAttribute(t,"type"===t.toLowerCase()?1:2)}function u(e){if("input"===e.nodeName.toLowerCase())return e.defaultValue}function c(e,t){var n=t&&e,r=n&&1===e.nodeType&&1===t.nodeType&&(~t.sourceIndex||Z)-(~e.sourceIndex||Z);if(r)return r;if(n)for(;n=n.nextSibling;)if(n===t)return-1;return e?1:-1}function f(t){return function(e){return"input"===e.nodeName.toLowerCase()&&e.type===t}}function p(n){return function(e){var t=e.nodeName.toLowerCase();return("input"===t||"button"===t)&&e.type===n}}function d(a){return l(function(o){return o=+o,l(function(e,t){for(var n,r=a([],e.length,o),i=r.length;i--;)e[n=r[i]]&&(e[n]=!(t[n]=e[n]))})})}function m(e,t){var n,r,i,o,a,s,l,u=Y[e+" "];if(u)return t?0:u.slice(0);for(a=e,s=[],l=A.preFilter;a;){for(o in n&&!(r=he.exec(a))||(r&&(a=a.slice(r[0].length)||a),s.push(i=[])),n=!1,(r=me.exec(a))&&(n=r.shift(),i.push({value:n,type:r[0].replace(de," ")}),a=a.slice(n.length)),A.filter)!(r=xe[o].exec(a))||l[o]&&!(r=l[o](r))||(n=r.shift(),i.push({value:n,type:o,matches:r}),a=a.slice(n.length));if(!n)break}return t?a.length:a?w.error(e):Y(e,s).slice(0)}function g(e){for(var t=0,n=e.length,r="";t<n;t++)r+=e[t].value;return r}function h(s,e,t){var l=e.dir,u=t&&"parentNode"===l,c=U++;return e.first?function(e,t,n){for(;e=e[l];)if(1===e.nodeType||u)return s(e,t,n)}:function(e,t,n){var r,i,o,a=X+" "+c;if(n){for(;e=e[l];)if((1===e.nodeType||u)&&s(e,t,n))return!0}else for(;e=e[l];)if(1===e.nodeType||u)if((i=(o=e[I]||(e[I]={}))[l])&&i[0]===a){if(!0===(r=i[1])||r===j)return!0===r}else if((i=o[l]=[a])[1]=s(e,t,n)||j,!0===i[1])return!0}}function y(i){return 1<i.length?function(e,t,n){for(var r=i.length;r--;)if(!i[r](e,t,n))return!1;return!0}:i[0]}function T(e,t,n,r,i){for(var o,a=[],s=0,l=e.length,u=null!=t;s<l;s++)(o=e[s])&&(n&&!n(o,r,i)||(a.push(o),u&&t.push(s)));return a}function v(d,h,m,g,y,e){return g&&!g[I]&&(g=v(g)),y&&!y[I]&&(y=v(y,e)),l(function(e,t,n,r){var i,o,a,s=[],l=[],u=t.length,c=e||k(h||"*",n.nodeType?[n]:n,[]),f=!d||!e&&h?c:T(c,s,d,n,r),p=m?y||(e?d:u||g)?[]:t:f;if(m&&m(f,p,n,r),g)for(i=T(p,l),g(i,[],n,r),o=i.length;o--;)(a=i[o])&&(p[l[o]]=!(f[l[o]]=a));if(e){if(y||d){if(y){for(i=[],o=p.length;o--;)(a=p[o])&&i.push(f[o]=a);y(null,p=[],i,r)}for(o=p.length;o--;)(a=p[o])&&-1<(i=y?ae.call(e,a):s[o])&&(e[i]=!(t[i]=a))}}else p=T(p===t?p.splice(u,p.length):p),y?y(null,t,p,r):ie.apply(t,p)})}function b(e){for(var r,t,n,i=e.length,o=A.relative[e[0].type],a=o||A.relative[" "],s=o?1:0,l=h(function(e){return e===r},a,!0),u=h(function(e){return-1<ae.call(r,e)},a,!0),c=[function(e,t,n){return!o&&(n||t!==q)||((r=t).nodeType?l(e,t,n):u(e,t,n))}];s<i;s++)if(t=A.relative[e[s].type])c=[h(y(c),t)];else{if((t=A.filter[e[s].type].apply(null,e[s].matches))[I]){for(n=++s;n<i&&!A.relative[e[n].type];n++);return v(1<s&&y(c),1<s&&g(e.slice(0,s-1).concat({value:" "===e[s-2].type?"*":""})).replace(de,"$1"),t,s<n&&b(e.slice(s,n)),n<i&&b(e=e.slice(n)),n<i&&g(e))}c.push(t)}return y(c)}function x(g,y){var v=0,b=0<y.length,x=0<g.length,e=function(e,t,n,r,i){var o,a,s,l=[],u=0,c="0",f=e&&[],p=null!=i,d=q,h=e||x&&A.find.TAG("*",i&&t.parentNode||t),m=X+=null==d?1:Math.random()||.1;for(p&&(q=t!==M&&t,j=v);null!=(o=h[c]);c++){if(x&&o){for(a=0;s=g[a++];)if(s(o,t,n)){r.push(o);break}p&&(X=m,j=++v)}b&&((o=!s&&o)&&u--,e&&f.push(o))}if(u+=c,b&&c!==u){for(a=0;s=y[a++];)s(f,l,t,n);if(e){if(0<u)for(;c--;)f[c]||l[c]||(l[c]=ne.call(r));l=T(l)}ie.apply(r,l),p&&!e&&0<l.length&&1<u+y.length&&w.uniqueSort(r)}return p&&(X=m,q=d),f};return b?l(e):e}function k(e,t,n){for(var r=0,i=t.length;r<i;r++)w(e,t[r],n);return n}function C(e,t,n,r){var i,o,a,s,l,u=m(e);if(!r&&1===u.length){if(2<(o=u[0]=u[0].slice(0)).length&&"ID"===(a=o[0]).type&&E.getById&&9===t.nodeType&&R&&A.relative[o[1].type]){if(!(t=(A.find.ID(a.matches[0].replace(Se,Ee),t)||[])[0]))return n;e=e.slice(o.shift().value.length)}for(i=xe.needsContext.test(e)?0:o.length;i--&&(a=o[i],!A.relative[s=a.type]);)if((l=A.find[s])&&(r=l(a.matches[0].replace(Se,Ee),ge.test(o[0].type)&&t.parentNode||t))){if(o.splice(i,1),!(e=r.length&&g(o)))return ie.apply(n,r),n;break}}return H(e,u)(r,t,!R,n,ge.test(e)),n}function N(){}var S,E,j,A,D,L,H,q,F,_,M,O,R,B,P,$,W,I="sizzle"+-new Date,z=n.document,X=0,U=0,V=e(),Y=e(),J=e(),G=!1,Q=function(){return 0},K=typeof i,Z=1<<31,ee={}.hasOwnProperty,te=[],ne=te.pop,re=te.push,ie=te.push,oe=te.slice,ae=te.indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(this[t]===e)return t;return-1},se="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",le="[\\x20\\t\\r\\n\\f]",ue="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",ce=ue.replace("w","w#"),fe="\\["+le+"*("+ue+")"+le+"*(?:([*^$|!~]?=)"+le+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+ce+")|)|)"+le+"*\\]",pe=":("+ue+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+fe.replace(3,8)+")*)|.*)\\)|)",de=new RegExp("^"+le+"+|((?:^|[^\\\\])(?:\\\\.)*)"+le+"+$","g"),he=new RegExp("^"+le+"*,"+le+"*"),me=new RegExp("^"+le+"*([>+~]|"+le+")"+le+"*"),ge=new RegExp(le+"*[+~]"),ye=new RegExp("="+le+"*([^\\]'\"]*)"+le+"*\\]","g"),ve=new RegExp(pe),be=new RegExp("^"+ce+"$"),xe={ID:new RegExp("^#("+ue+")"),CLASS:new RegExp("^\\.("+ue+")"),TAG:new RegExp("^("+ue.replace("w","w*")+")"),ATTR:new RegExp("^"+fe),PSEUDO:new RegExp("^"+pe),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+le+"*(even|odd|(([+-]|)(\\d*)n|)"+le+"*(?:([+-]|)"+le+"*(\\d+)|))"+le+"*\\)|)","i"),bool:new RegExp("^(?:"+se+")$","i"),needsContext:new RegExp("^"+le+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+le+"*((?:-\\d)?\\d*)"+le+"*\\)|)(?=[^-]|$)","i")},we=/^[^{]+\{\s*\[native \w/,Te=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ke=/^(?:input|select|textarea|button)$/i,Ce=/^h\d$/i,Ne=/'|\\/g,Se=new RegExp("\\\\([\\da-f]{1,6}"+le+"?|("+le+")|.)","ig"),Ee=function(e,t,n){var r="0x"+t-65536;return r!=r||n?t:r<0?String.fromCharCode(r+65536):String.fromCharCode(r>>10|55296,1023&r|56320)};try{ie.apply(te=oe.call(z.childNodes),z.childNodes),te[z.childNodes.length].nodeType}catch(je){ie={apply:te.length?function(e,t){re.apply(e,oe.call(t))}:function(e,t){for(var n=e.length,r=0;e[n++]=t[r++];);e.length=n-1}}}for(S in L=w.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return!!t&&"HTML"!==t.nodeName},E=w.support={},_=w.setDocument=function(e){var l=e?e.ownerDocument||e:z;return l!==M&&9===l.nodeType&&l.documentElement?(O=(M=l).documentElement,R=!L(l),E.attributes=r(function(e){return e.innerHTML="<a href='#'></a>",o("type|href|height|width",s,"#"===e.firstChild.getAttribute("href")),o(se,a,null==e.getAttribute("disabled")),e.className="i",!e.getAttribute("className")}),E.input=r(function(e){return e.innerHTML="<input>",e.firstChild.setAttribute("value",""),""===e.firstChild.getAttribute("value")}),o("value",u,E.attributes&&E.input),E.getElementsByTagName=r(function(e){return e.appendChild(l.createComment("")),!e.getElementsByTagName("*").length}),E.getElementsByClassName=r(function(e){return e.innerHTML="<div class='a'></div><div class='a i'></div>",e.firstChild.className="i",2===e.getElementsByClassName("i").length}),E.getById=r(function(e){return O.appendChild(e).id=I,!l.getElementsByName||!l.getElementsByName(I).length}),E.getById?(A.find.ID=function(e,t){if(typeof t.getElementById!==K&&R){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},A.filter.ID=function(e){var t=e.replace(Se,Ee);return function(e){return e.getAttribute("id")===t}}):(delete A.find.ID,A.filter.ID=function(e){var n=e.replace(Se,Ee);return function(e){var t=typeof e.getAttributeNode!==K&&e.getAttributeNode("id");return t&&t.value===n}}),A.find.TAG=E.getElementsByTagName?function(e,t){if(typeof t.getElementsByTagName!==K)return t.getElementsByTagName(e)}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"!==e)return o;for(;n=o[i++];)1===n.nodeType&&r.push(n);return r},A.find.CLASS=E.getElementsByClassName&&function(e,t){if(typeof t.getElementsByClassName!==K&&R)return t.getElementsByClassName(e)},P=[],B=[],(E.qsa=t(l.querySelectorAll))&&(r(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||B.push("\\["+le+"*(?:value|"+se+")"),e.querySelectorAll(":checked").length||B.push(":checked")}),r(function(e){var t=l.createElement("input");t.setAttribute("type","hidden"),e.appendChild(t).setAttribute("t",""),e.querySelectorAll("[t^='']").length&&B.push("[*^$]="+le+"*(?:''|\"\")"),e.querySelectorAll(":enabled").length||B.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),B.push(",.*:")})),(E.matchesSelector=t($=O.webkitMatchesSelector||O.mozMatchesSelector||O.oMatchesSelector||O.msMatchesSelector))&&r(function(e){E.disconnectedMatch=$.call(e,"div"),$.call(e,"[s!='']:x"),P.push("!=",pe)}),B=B.length&&new RegExp(B.join("|")),P=P.length&&new RegExp(P.join("|")),W=t(O.contains)||O.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)for(;t=t.parentNode;)if(t===e)return!0;return!1},E.sortDetached=r(function(e){return 1&e.compareDocumentPosition(l.createElement("div"))}),Q=O.compareDocumentPosition?function(e,t){if(e===t)return G=!0,0;var n=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t);return n?1&n||!E.sortDetached&&t.compareDocumentPosition(e)===n?e===l||W(z,e)?-1:t===l||W(z,t)?1:F?ae.call(F,e)-ae.call(F,t):0:4&n?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var n,r=0,i=e.parentNode,o=t.parentNode,a=[e],s=[t];if(e===t)return G=!0,0;if(!i||!o)return e===l?-1:t===l?1:i?-1:o?1:F?ae.call(F,e)-ae.call(F,t):0;if(i===o)return c(e,t);for(n=e;n=n.parentNode;)a.unshift(n);for(n=t;n=n.parentNode;)s.unshift(n);for(;a[r]===s[r];)r++;return r?c(a[r],s[r]):a[r]===z?-1:s[r]===z?1:0},l):M},w.matches=function(e,t){return w(e,null,null,t)},w.matchesSelector=function(e,t){if((e.ownerDocument||e)!==M&&_(e),t=t.replace(ye,"='$1']"),E.matchesSelector&&R&&(!P||!P.test(t))&&(!B||!B.test(t)))try{var n=$.call(e,t);if(n||E.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(je){}return 0<w(t,M,null,[e]).length},w.contains=function(e,t){return(e.ownerDocument||e)!==M&&_(e),W(e,t)},w.attr=function(e,t){(e.ownerDocument||e)!==M&&_(e);var n=A.attrHandle[t.toLowerCase()],r=n&&ee.call(A.attrHandle,t.toLowerCase())?n(e,t,!R):i;return r===i?E.attributes||!R?e.getAttribute(t):(r=e.getAttributeNode(t))&&r.specified?r.value:null:r},w.error=function(e){throw new Error("Syntax error, unrecognized expression: "+e)},w.uniqueSort=function(e){var t,n=[],r=0,i=0;if(G=!E.detectDuplicates,F=!E.sortStable&&e.slice(0),e.sort(Q),G){for(;t=e[i++];)t===e[i]&&(r=n.push(i));for(;r--;)e.splice(n[r],1)}return e},D=w.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=D(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=D(t);return n},A=w.selectors={cacheLength:50,createPseudo:l,match:xe,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(Se,Ee),e[3]=(e[4]||e[5]||"").replace(Se,Ee),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||w.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]&&w.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return xe.CHILD.test(e[0])?null:(e[3]&&e[4]!==i?e[2]=e[4]:n&&ve.test(n)&&(t=m(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){var t=e.replace(Se,Ee).toLowerCase();return"*"===e?function(){return!0}:function(e){return e.nodeName&&e.nodeName.toLowerCase()===t}},CLASS:function(e){var t=V[e+" "];return t||(t=new RegExp("(^|"+le+")"+e+"("+le+"|$)"))&&V(e,function(e){return t.test("string"==typeof e.className&&e.className||typeof e.getAttribute!==K&&e.getAttribute("class")||"")})},ATTR:function(n,r,i){return function(e){var t=w.attr(e,n);return null==t?"!="===r:!r||(t+="","="===r?t===i:"!="===r?t!==i:"^="===r?i&&0===t.indexOf(i):"*="===r?i&&-1<t.indexOf(i):"$="===r?i&&t.slice(-i.length)===i:"~="===r?-1<(" "+t+" ").indexOf(i):"|="===r&&(t===i||t.slice(0,i.length+1)===i+"-"))}},CHILD:function(d,e,t,h,m){var g="nth"!==d.slice(0,3),y="last"!==d.slice(-4),v="of-type"===e;return 1===h&&0===m?function(e){return!!e.parentNode}:function(e,t,n){var r,i,o,a,s,l,u=g!==y?"nextSibling":"previousSibling",c=e.parentNode,f=v&&e.nodeName.toLowerCase(),p=!n&&!v;if(c){if(g){for(;u;){for(o=e;o=o[u];)if(v?o.nodeName.toLowerCase()===f:1===o.nodeType)return!1;l=u="only"===d&&!l&&"nextSibling"}return!0}if(l=[y?c.firstChild:c.lastChild],y&&p){for(s=(r=(i=c[I]||(c[I]={}))[d]||[])[0]===X&&r[1],a=r[0]===X&&r[2],o=s&&c.childNodes[s];o=++s&&o&&o[u]||(a=s=0)||l.pop();)if(1===o.nodeType&&++a&&o===e){i[d]=[X,s,a];break}}else if(p&&(r=(e[I]||(e[I]={}))[d])&&r[0]===X)a=r[1];else for(;(o=++s&&o&&o[u]||(a=s=0)||l.pop())&&((v?o.nodeName.toLowerCase()!==f:1!==o.nodeType)||!++a||(p&&((o[I]||(o[I]={}))[d]=[X,a]),o!==e)););return(a-=m)===h||a%h==0&&0<=a/h}}},PSEUDO:function(e,o){var t,a=A.pseudos[e]||A.setFilters[e.toLowerCase()]||w.error("unsupported pseudo: "+e);return a[I]?a(o):1<a.length?(t=[e,e,"",o],A.setFilters.hasOwnProperty(e.toLowerCase())?l(function(e,t){for(var n,r=a(e,o),i=r.length;i--;)e[n=ae.call(e,r[i])]=!(t[n]=r[i])}):function(e){return a(e,0,t)}):a}},pseudos:{not:l(function(e){var r=[],i=[],s=H(e.replace(de,"$1"));return s[I]?l(function(e,t,n,r){for(var i,o=s(e,null,r,[]),a=e.length;a--;)(i=o[a])&&(e[a]=!(t[a]=i))}):function(e,t,n){return r[0]=e,s(r,null,n,i),!i.pop()}}),has:l(function(t){return function(e){return 0<w(t,e).length}}),contains:l(function(t){return function(e){return-1<(e.textContent||e.innerText||D(e)).indexOf(t)}}),lang:l(function(n){return be.test(n||"")||w.error("unsupported lang: "+n),n=n.replace(Se,Ee).toLowerCase(),function(e){var t;do{if(t=R?e.lang:e.getAttribute("xml:lang")||e.getAttribute("lang"))return(t=t.toLowerCase())===n||0===t.indexOf(n+"-")}while((e=e.parentNode)&&1===e.nodeType);return!1}}),target:function(e){var t=n.location&&n.location.hash;return t&&t.slice(1)===e.id},root:function(e){return e===O},focus:function(e){return e===M.activeElement&&(!M.hasFocus||M.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return!1===e.disabled},disabled:function(e){return!0===e.disabled},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,!0===e.selected},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if("@"<e.nodeName||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!A.pseudos.empty(e)},header:function(e){return Ce.test(e.nodeName)},input:function(e){return ke.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:d(function(){return[0]}),last:d(function(e,t){return[t-1]}),eq:d(function(e,t,n){return[n<0?n+t:n]}),even:d(function(e,t){for(var n=0;n<t;n+=2)e.push(n);return e}),odd:d(function(e,t){for(var n=1;n<t;n+=2)e.push(n);return e}),lt:d(function(e,t,n){for(var r=n<0?n+t:n;0<=--r;)e.push(r);return e}),gt:d(function(e,t,n){for(var r=n<0?n+t:n;++r<t;)e.push(r);return e})}},{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})A.pseudos[S]=f(S);for(S in{submit:!0,reset:!0})A.pseudos[S]=p(S);H=w.compile=function(e,t){var n,r=[],i=[],o=J[e+" "];if(!o){for(t||(t=m(e)),n=t.length;n--;)(o=b(t[n]))[I]?r.push(o):i.push(o);o=J(e,x(i,r))}return o},A.pseudos.nth=A.pseudos.eq,N.prototype=A.filters=A.pseudos,A.setFilters=new N,E.sortStable=I.split("").sort(Q).join("")===I,_(),[0,0].sort(Q),E.detectDuplicates=G,Ae.find=w,Ae.expr=w.selectors,Ae.expr[":"]=Ae.expr.pseudos,Ae.unique=w.uniqueSort,Ae.text=w.getText,Ae.isXMLDoc=w.isXML,Ae.contains=w.contains}(m);var Ce={};Ae.Callbacks=function(i){i="string"==typeof i?Ce[i]||e(i):Ae.extend({},i);var o,t,n,a,r,s,l=[],u=!i.once&&[],c=function(e){for(t=i.memory&&e,n=!0,r=s||0,s=0,a=l.length,o=!0;l&&r<a;r++)if(!1===l[r].apply(e[0],e[1])&&i.stopOnFalse){t=!1;break}o=!1,l&&(u?u.length&&c(u.shift()):t?l=[]:f.disable())},f={add:function(){if(l){var e=l.length;!function r(e){Ae.each(e,function(e,t){var n=Ae.type(t);"function"===n?i.unique&&f.has(t)||l.push(t):t&&t.length&&"string"!==n&&r(t)})}(arguments),o?a=l.length:t&&(s=e,c(t))}return this},remove:function(){return l&&Ae.each(arguments,function(e,t){for(var n;-1<(n=Ae.inArray(t,l,n));)l.splice(n,1),o&&(n<=a&&a--,n<=r&&r--)}),this},has:function(e){return e?-1<Ae.inArray(e,l):!(!l||!l.length)},empty:function(){return l=[],a=0,this},disable:function(){return l=u=t=k,this},disabled:function(){return!l},lock:function(){return u=k,t||f.disable(),this},locked:function(){return!u},fireWith:function(e,t){return t=[e,(t=t||[]).slice?t.slice():t],!l||n&&!u||(o?u.push(t):c(t)),this},fire:function(){return f.fireWith(this,arguments),this},fired:function(){return!!n}};return f},Ae.extend({Deferred:function(e){var a=[["resolve","done",Ae.Callbacks("once memory"),"resolved"],["reject","fail",Ae.Callbacks("once memory"),"rejected"],["notify","progress",Ae.Callbacks("memory")]],i="pending",s={state:function(){return i},always:function(){return l.done(arguments).fail(arguments),this},then:function(){var o=arguments;return Ae.Deferred(function(i){Ae.each(a,function(e,t){var n=t[0],r=Ae.isFunction(o[e])&&o[e];l[t[1]](function(){var e=r&&r.apply(this,arguments);e&&Ae.isFunction(e.promise)?e.promise().done(i.resolve).fail(i.reject).progress(i.notify):i[n+"With"](this===s?i.promise():this,r?[e]:arguments)})}),o=null}).promise()},promise:function(e){return null!=e?Ae.extend(e,s):s}},l={};return s.pipe=s.then,Ae.each(a,function(e,t){var n=t[2],r=t[3];s[t[1]]=n.add,r&&n.add(function(){i=r},a[1^e][2].disable,a[2][2].lock),l[t[0]]=function(){return l[t[0]+"With"](this===l?s:this,arguments),this},l[t[0]+"With"]=n.fireWith}),s.promise(l),e&&e.call(l,l),l},when:function(e){var i,t,n,r=0,o=oe.call(arguments),a=o.length,s=1!==a||e&&Ae.isFunction(e.promise)?a:0,l=1===s?e:Ae.Deferred(),u=function(t,n,r){return function(e){n[t]=this,r[t]=1<arguments.length?oe.call(arguments):e,r===i?l.notifyWith(n,r):--s||l.resolveWith(n,r)}};if(1<a)for(i=new Array(a),t=new Array(a),n=new Array(a);r<a;r++)o[r]&&Ae.isFunction(o[r].promise)?o[r].promise().done(u(r,n,o)).fail(l.reject).progress(u(r,t,i)):--s;return s||l.resolveWith(n,o),l.promise()}}),Ae.support=function(o){var e,t,n,r,i,a,s,l,u,c=G.createElement("div");if(c.setAttribute("className","t"),c.innerHTML="  <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",e=c.getElementsByTagName("*")||[],!(t=c.getElementsByTagName("a")[0])||!t.style||!e.length)return o;a=(r=G.createElement("select")).appendChild(G.createElement("option")),n=c.getElementsByTagName("input")[0],t.style.cssText="top:1px;float:left;opacity:.5",o.getSetAttribute="t"!==c.className,o.leadingWhitespace=3===c.firstChild.nodeType,o.tbody=!c.getElementsByTagName("tbody").length,o.htmlSerialize=!!c.getElementsByTagName("link").length,o.style=/top/.test(t.getAttribute("style")),o.hrefNormalized="/a"===t.getAttribute("href"),o.opacity=/^0.5/.test(t.style.opacity),o.cssFloat=!!t.style.cssFloat,o.checkOn=!!n.value,o.optSelected=a.selected,o.enctype=!!G.createElement("form").enctype,o.html5Clone="<:nav></:nav>"!==G.createElement("nav").cloneNode(!0).outerHTML,o.inlineBlockNeedsLayout=!1,o.shrinkWrapBlocks=!1,o.pixelPosition=!1,o.deleteExpando=!0,o.noCloneEvent=!0,o.reliableMarginRight=!0,o.boxSizingReliable=!0,n.checked=!0,o.noCloneChecked=n.cloneNode(!0).checked,r.disabled=!0,o.optDisabled=!a.disabled;try{delete c.test}catch(f){o.deleteExpando=!1}for(u in(n=G.createElement("input")).setAttribute("value",""),o.input=""===n.getAttribute("value"),n.value="t",n.setAttribute("type","radio"),o.radioValue="t"===n.value,n.setAttribute("checked","t"),n.setAttribute("name","t"),(i=G.createDocumentFragment()).appendChild(n),o.appendChecked=n.checked,o.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,c.attachEvent&&(c.attachEvent("onclick",function(){o.noCloneEvent=!1}),c.cloneNode(!0).click()),{submit:!0,change:!0,focusin:!0})c.setAttribute(s="on"+u,"t"),o[u+"Bubbles"]=s in m||!1===c.attributes[s].expando;for(u in c.style.backgroundClip="content-box",c.cloneNode(!0).style.backgroundClip="",o.clearCloneStyle="content-box"===c.style.backgroundClip,Ae(o))break;return o.ownLast="0"!==u,Ae(function(){var e,t,n,r="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",i=G.getElementsByTagName("body")[0];i&&((e=G.createElement("div")).style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",i.appendChild(e).appendChild(c),c.innerHTML="<table><tr><td></td><td>t</td></tr></table>",(n=c.getElementsByTagName("td"))[0].style.cssText="padding:0;margin:0;border:0;display:none",l=0===n[0].offsetHeight,n[0].style.display="",n[1].style.display="none",o.reliableHiddenOffsets=l&&0===n[0].offsetHeight,c.innerHTML="",c.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%;",Ae.swap(i,null!=i.style.zoom?{zoom:1}:{},function(){o.boxSizing=4===c.offsetWidth}),m.getComputedStyle&&(o.pixelPosition="1%"!==(m.getComputedStyle(c,null)||{}).top,o.boxSizingReliable="4px"===(m.getComputedStyle(c,null)||{width:"4px"}).width,(t=c.appendChild(G.createElement("div"))).style.cssText=c.style.cssText=r,t.style.marginRight=t.style.width="0",c.style.width="1px",o.reliableMarginRight=!parseFloat((m.getComputedStyle(t,null)||{}).marginRight)),typeof c.style.zoom!==Y&&(c.innerHTML="",c.style.cssText=r+"width:1px;padding:1px;display:inline;zoom:1",o.inlineBlockNeedsLayout=3===c.offsetWidth,c.style.display="block",c.innerHTML="<div></div>",c.firstChild.style.width="5px",o.shrinkWrapBlocks=3!==c.offsetWidth,o.inlineBlockNeedsLayout&&(i.style.zoom=1)),i.removeChild(e),e=c=n=t=null)}),e=r=i=a=t=n=null,o}({});var Ne=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,Se=/([A-Z])/g;Ae.extend({cache:{},noData:{applet:!0,embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"},hasData:function(e){return!!(e=e.nodeType?Ae.cache[e[Ae.expando]]:e[Ae.expando])&&!u(e)},data:function(e,t,n){return r(e,t,n)},removeData:function(e,t){return n(e,t)},_data:function(e,t,n){return r(e,t,n,!0)},_removeData:function(e,t){return n(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&Ae.noData[e.nodeName.toLowerCase()];return!t||!0!==t&&e.getAttribute("classid")===t}}),Ae.fn.extend({data:function(e,t){var n,r,i=null,o=0,a=this[0];if(e!==k)return"object"==typeof e?this.each(function(){Ae.data(this,e)}):1<arguments.length?this.each(function(){Ae.data(this,e,t)}):a?l(a,e,Ae.data(a,e)):null;if(this.length&&(i=Ae.data(a),1===a.nodeType&&!Ae._data(a,"parsedAttrs"))){for(n=a.attributes;o<n.length;o++)0===(r=n[o].name).indexOf("data-")&&l(a,r=Ae.camelCase(r.slice(5)),i[r]);Ae._data(a,"parsedAttrs",!0)}return i},removeData:function(e){return this.each(function(){Ae.removeData(this,e)})}}),Ae.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=Ae._data(e,t),n&&(!r||Ae.isArray(n)?r=Ae._data(e,t,Ae.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=Ae.queue(e,t),r=n.length,i=n.shift(),o=Ae._queueHooks(e,t),a=function(){Ae.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),(o.cur=i)&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return Ae._data(e,n)||Ae._data(e,n,{empty:Ae.Callbacks("once memory").add(function(){Ae._removeData(e,t+"queue"),Ae._removeData(e,n)})})}}),Ae.fn.extend({queue:function(t,n){var e=2;return"string"!=typeof t&&(n=t,t="fx",e--),arguments.length<e?Ae.queue(this[0],t):n===k?this:this.each(function(){var e=Ae.queue(this,t,n);Ae._queueHooks(this,t),"fx"===t&&"inprogress"!==e[0]&&Ae.dequeue(this,t)})},dequeue:function(e){return this.each(function(){Ae.dequeue(this,e)})},delay:function(r,e){return r=Ae.fx&&Ae.fx.speeds[r]||r,e=e||"fx",this.queue(e,function(e,t){var n=setTimeout(e,r);t.stop=function(){clearTimeout(n)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,t){var n,r=1,i=Ae.Deferred(),o=this,a=this.length,s=function(){--r||i.resolveWith(o,[o])};for("string"!=typeof e&&(t=e,e=k),e=e||"fx";a--;)(n=Ae._data(o[a],e+"queueHooks"))&&n.empty&&(r++,n.empty.add(s));return s(),i.promise(t)}});var Ee,je,De=/[\t\r\n\f]/g,Le=/\r/g,He=/^(?:input|select|textarea|button|object)$/i,qe=/^(?:a|area)$/i,Fe=/^(?:checked|selected)$/i,_e=Ae.support.getSetAttribute,Me=Ae.support.input;Ae.fn.extend({attr:function(e,t){return Ae.access(this,Ae.attr,e,t,1<arguments.length)},removeAttr:function(e){return this.each(function(){Ae.removeAttr(this,e)})},prop:function(e,t){return Ae.access(this,Ae.prop,e,t,1<arguments.length)},removeProp:function(t){return t=Ae.propFix[t]||t,this.each(function(){try{this[t]=k,delete this[t]}catch(e){}})},addClass:function(t){var e,n,r,i,o,a=0,s=this.length,l="string"==typeof t&&t;if(Ae.isFunction(t))return this.each(function(e){Ae(this).addClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(fe)||[];a<s;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(De," "):" ")){for(o=0;i=e[o++];)r.indexOf(" "+i+" ")<0&&(r+=i+" ");n.className=Ae.trim(r)}return this},removeClass:function(t){var e,n,r,i,o,a=0,s=this.length,l=0===arguments.length||"string"==typeof t&&t;if(Ae.isFunction(t))return this.each(function(e){Ae(this).removeClass(t.call(this,e,this.className))});if(l)for(e=(t||"").match(fe)||[];a<s;a++)if(r=1===(n=this[a]).nodeType&&(n.className?(" "+n.className+" ").replace(De," "):"")){for(o=0;i=e[o++];)for(;0<=r.indexOf(" "+i+" ");)r=r.replace(" "+i+" "," ");n.className=t?Ae.trim(r):""}return this},toggleClass:function(o,a){var s=typeof o,l="boolean"==typeof a;return Ae.isFunction(o)?this.each(function(e){Ae(this).toggleClass(o.call(this,e,this.className,a),a)}):this.each(function(){if("string"===s)for(var e,t=0,n=Ae(this),r=a,i=o.match(fe)||[];e=i[t++];)r=l?r:!n.hasClass(e),n[r?"addClass":"removeClass"](e);else s!==Y&&"boolean"!==s||(this.className&&Ae._data(this,"__className__",this.className),this.className=this.className||!1===o?"":Ae._data(this,"__className__")||"")})},hasClass:function(e){for(var t=" "+e+" ",n=0,r=this.length;n<r;n++)if(1===this[n].nodeType&&0<=(" "+this[n].className+" ").replace(De," ").indexOf(t))return!0;return!1},val:function(n){var e,r,i,t=this[0];return arguments.length?(i=Ae.isFunction(n),this.each(function(e){var t;1===this.nodeType&&(null==(t=i?n.call(this,e,Ae(this).val()):n)?t="":"number"==typeof t?t+="":Ae.isArray(t)&&(t=Ae.map(t,function(e){return null==e?"":e+""})),(r=Ae.valHooks[this.type]||Ae.valHooks[this.nodeName.toLowerCase()])&&"set"in r&&r.set(this,t,"value")!==k||(this.value=t))})):t?(r=Ae.valHooks[t.type]||Ae.valHooks[t.nodeName.toLowerCase()])&&"get"in r&&(e=r.get(t,"value"))!==k?e:"string"==typeof(e=t.value)?e.replace(Le,""):null==e?"":e:void 0}}),Ae.extend({valHooks:{option:{get:function(e){var t=Ae.find.attr(e,"value");return null!=t?t:e.text}},select:{get:function(e){for(var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||i<0,a=o?null:[],s=o?i+1:r.length,l=i<0?s:o?i:0;l<s;l++)if(((n=r[l]).selected||l===i)&&(Ae.support.optDisabled?!n.disabled:null===n.getAttribute("disabled"))&&(!n.parentNode.disabled||!Ae.nodeName(n.parentNode,"optgroup"))){if(t=Ae(n).val(),o)return t;a.push(t)}return a},set:function(e,t){for(var n,r,i=e.options,o=Ae.makeArray(t),a=i.length;a--;)((r=i[a]).selected=0<=Ae.inArray(Ae(r).val(),o))&&(n=!0);return n||(e.selectedIndex=-1),o}}},attr:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return typeof e.getAttribute===Y?Ae.prop(e,t,n):(1===o&&Ae.isXMLDoc(e)||(t=t.toLowerCase(),r=Ae.attrHooks[t]||(Ae.expr.match.bool.test(t)?je:Ee)),n===k?r&&"get"in r&&null!==(i=r.get(e,t))?i:null==(i=Ae.find.attr(e,t))?k:i:null!==n?r&&"set"in r&&(i=r.set(e,n,t))!==k?i:(e.setAttribute(t,n+""),n):void Ae.removeAttr(e,t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(fe);if(o&&1===e.nodeType)for(;n=o[i++];)r=Ae.propFix[n]||n,Ae.expr.match.bool.test(n)?Me&&_e||!Fe.test(n)?e[r]=!1:e[Ae.camelCase("default-"+n)]=e[r]=!1:Ae.attr(e,n,""),e.removeAttribute(_e?n:r)},attrHooks:{type:{set:function(e,t){if(!Ae.support.radioValue&&"radio"===t&&Ae.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{"for":"htmlFor","class":"className"},prop:function(e,t,n){var r,i,o=e.nodeType;if(e&&3!==o&&8!==o&&2!==o)return(1!==o||!Ae.isXMLDoc(e))&&(t=Ae.propFix[t]||t,i=Ae.propHooks[t]),n!==k?i&&"set"in i&&(r=i.set(e,n,t))!==k?r:e[t]=n:i&&"get"in i&&null!==(r=i.get(e,t))?r:e[t]},propHooks:{tabIndex:{get:function(e){var t=Ae.find.attr(e,"tabindex");return t?parseInt(t,10):He.test(e.nodeName)||qe.test(e.nodeName)&&e.href?0:-1}}}}),je={set:function(e,t,n){return!1===t?Ae.removeAttr(e,n):Me&&_e||!Fe.test(n)?e.setAttribute(!_e&&Ae.propFix[n]||n,n):e[Ae.camelCase("default-"+n)]=e[n]=!0,n}},Ae.each(Ae.expr.match.bool.source.match(/\w+/g),function(e,t){var o=Ae.expr.attrHandle[t]||Ae.find.attr;Ae.expr.attrHandle[t]=Me&&_e||!Fe.test(t)?function(e,t,n){var r=Ae.expr.attrHandle[t],i=n?k:(Ae.expr.attrHandle[t]=k)!=o(e,t,n)?t.toLowerCase():null;return Ae.expr.attrHandle[t]=r,i}:function(e,t,n){return n?k:e[Ae.camelCase("default-"+t)]?t.toLowerCase():null}}),Me&&_e||(Ae.attrHooks.value={set:function(e,t,n){if(!Ae.nodeName(e,"input"))return Ee&&Ee.set(e,t,n);e.defaultValue=t}}),_e||(Ee={set:function(e,t,n){var r=e.getAttributeNode(n);return r||e.setAttributeNode(r=e.ownerDocument.createAttribute(n)),r.value=t+="","value"===n||t===e.getAttribute(n)?t:k}},Ae.expr.attrHandle.id=Ae.expr.attrHandle.name=Ae.expr.attrHandle.coords=function(e,t,n){var r;return n?k:(r=e.getAttributeNode(t))&&""!==r.value?r.value:null},Ae.valHooks.button={get:function(e,t){var n=e.getAttributeNode(t);return n&&n.specified?n.value:k},set:Ee.set},Ae.attrHooks.contenteditable={set:function(e,t,n){Ee.set(e,""!==t&&t,n)}},Ae.each(["width","height"],function(e,n){Ae.attrHooks[n]={set:function(e,t){if(""===t)return e.setAttribute(n,"auto"),t}}})),Ae.support.hrefNormalized||Ae.each(["href","src"],function(e,t){Ae.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}}),Ae.support.style||(Ae.attrHooks.style={get:function(e){return e.style.cssText||k},set:function(e,t){return e.style.cssText=t+""}}),Ae.support.optSelected||(Ae.propHooks.selected={get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,
t.parentNode&&t.parentNode.selectedIndex),null}}),Ae.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){Ae.propFix[this.toLowerCase()]=this}),Ae.support.enctype||(Ae.propFix.enctype="encoding"),Ae.each(["radio","checkbox"],function(){Ae.valHooks[this]={set:function(e,t){if(Ae.isArray(t))return e.checked=0<=Ae.inArray(Ae(e).val(),t)}},Ae.support.checkOn||(Ae.valHooks[this].get=function(e){return null===e.getAttribute("value")?"on":e.value})});var Oe=/^(?:input|select|textarea)$/i,Re=/^key/,Be=/^(?:mouse|contextmenu)|click/,Pe=/^(?:focusinfocus|focusoutblur)$/,$e=/^([^.]*)(?:\.(.+)|)$/;Ae.event={global:{},add:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,m,g=Ae._data(e);if(g){for(n.handler&&(n=(l=n).handler,i=l.selector),n.guid||(n.guid=Ae.guid++),(a=g.events)||(a=g.events={}),(c=g.handle)||((c=g.handle=function(e){return typeof Ae===Y||e&&Ae.event.triggered===e.type?k:Ae.event.dispatch.apply(c.elem,arguments)}).elem=e),s=(t=(t||"").match(fe)||[""]).length;s--;)d=m=(o=$e.exec(t[s])||[])[1],h=(o[2]||"").split(".").sort(),d&&(u=Ae.event.special[d]||{},d=(i?u.delegateType:u.bindType)||d,u=Ae.event.special[d]||{},f=Ae.extend({type:d,origType:m,data:r,handler:n,guid:n.guid,selector:i,needsContext:i&&Ae.expr.match.needsContext.test(i),namespace:h.join(".")},l),(p=a[d])||((p=a[d]=[]).delegateCount=0,u.setup&&!1!==u.setup.call(e,r,h,c)||(e.addEventListener?e.addEventListener(d,c,!1):e.attachEvent&&e.attachEvent("on"+d,c))),u.add&&(u.add.call(e,f),f.handler.guid||(f.handler.guid=n.guid)),i?p.splice(p.delegateCount++,0,f):p.push(f),Ae.event.global[d]=!0);e=null}},remove:function(e,t,n,r,i){var o,a,s,l,u,c,f,p,d,h,m,g=Ae.hasData(e)&&Ae._data(e);if(g&&(c=g.events)){for(u=(t=(t||"").match(fe)||[""]).length;u--;)if(d=m=(s=$e.exec(t[u])||[])[1],h=(s[2]||"").split(".").sort(),d){for(f=Ae.event.special[d]||{},p=c[d=(r?f.delegateType:f.bindType)||d]||[],s=s[2]&&new RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),l=o=p.length;o--;)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));l&&!p.length&&(f.teardown&&!1!==f.teardown.call(e,h,g.handle)||Ae.removeEvent(e,d,g.handle),delete c[d])}else for(d in c)Ae.event.remove(e,d+t[u],n,r,!0);Ae.isEmptyObject(c)&&(delete g.handle,Ae._removeData(e,"events"))}},trigger:function(e,t,n,r){var i,o,a,s,l,u,c,f=[n||G],p=le.call(e,"type")?e.type:e,d=le.call(e,"namespace")?e.namespace.split("."):[];if(a=u=n=n||G,3!==n.nodeType&&8!==n.nodeType&&!Pe.test(p+Ae.event.triggered)&&(0<=p.indexOf(".")&&(p=(d=p.split(".")).shift(),d.sort()),o=p.indexOf(":")<0&&"on"+p,(e=e[Ae.expando]?e:new Ae.Event(p,"object"==typeof e&&e)).isTrigger=r?2:3,e.namespace=d.join("."),e.namespace_re=e.namespace?new RegExp("(^|\\.)"+d.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,e.result=k,e.target||(e.target=n),t=null==t?[e]:Ae.makeArray(t,[e]),l=Ae.event.special[p]||{},r||!l.trigger||!1!==l.trigger.apply(n,t))){if(!r&&!l.noBubble&&!Ae.isWindow(n)){for(s=l.delegateType||p,Pe.test(s+p)||(a=a.parentNode);a;a=a.parentNode)f.push(a),u=a;u===(n.ownerDocument||G)&&f.push(u.defaultView||u.parentWindow||m)}for(c=0;(a=f[c++])&&!e.isPropagationStopped();)e.type=1<c?s:l.bindType||p,(i=(Ae._data(a,"events")||{})[e.type]&&Ae._data(a,"handle"))&&i.apply(a,t),(i=o&&a[o])&&Ae.acceptData(a)&&i.apply&&!1===i.apply(a,t)&&e.preventDefault();if(e.type=p,!r&&!e.isDefaultPrevented()&&(!l._default||!1===l._default.apply(f.pop(),t))&&Ae.acceptData(n)&&o&&n[p]&&!Ae.isWindow(n)){(u=n[o])&&(n[o]=null),Ae.event.triggered=p;try{n[p]()}catch(h){}Ae.event.triggered=k,u&&(n[o]=u)}return e.result}},dispatch:function(e){e=Ae.event.fix(e);var t,n,r,i,o,a=[],s=oe.call(arguments),l=(Ae._data(this,"events")||{})[e.type]||[],u=Ae.event.special[e.type]||{};if((s[0]=e).delegateTarget=this,!u.preDispatch||!1!==u.preDispatch.call(this,e)){for(a=Ae.event.handlers.call(this,e,l),t=0;(i=a[t++])&&!e.isPropagationStopped();)for(e.currentTarget=i.elem,o=0;(r=i.handlers[o++])&&!e.isImmediatePropagationStopped();)e.namespace_re&&!e.namespace_re.test(r.namespace)||(e.handleObj=r,e.data=r.data,(n=((Ae.event.special[r.origType]||{}).handle||r.handler).apply(i.elem,s))!==k&&!1===(e.result=n)&&(e.preventDefault(),e.stopPropagation()));return u.postDispatch&&u.postDispatch.call(this,e),e.result}},handlers:function(e,t){var n,r,i,o,a=[],s=t.delegateCount,l=e.target;if(s&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(!0!==l.disabled||"click"!==e.type)){for(i=[],o=0;o<s;o++)i[n=(r=t[o]).selector+" "]===k&&(i[n]=r.needsContext?0<=Ae(n,this).index(l):Ae.find(n,this,null,[l]).length),i[n]&&i.push(r);i.length&&a.push({elem:l,handlers:i})}return s<t.length&&a.push({elem:this,handlers:t.slice(s)}),a},fix:function(e){if(e[Ae.expando])return e;var t,n,r,i=e.type,o=e,a=this.fixHooks[i];for(a||(this.fixHooks[i]=a=Be.test(i)?this.mouseHooks:Re.test(i)?this.keyHooks:{}),r=a.props?this.props.concat(a.props):this.props,e=new Ae.Event(o),t=r.length;t--;)e[n=r[t]]=o[n];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},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){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,t){var n,r,i,o=t.button,a=t.fromElement;return null==e.pageX&&null!=t.clientX&&(i=(r=e.target.ownerDocument||G).documentElement,n=r.body,e.pageX=t.clientX+(i&&i.scrollLeft||n&&n.scrollLeft||0)-(i&&i.clientLeft||n&&n.clientLeft||0),e.pageY=t.clientY+(i&&i.scrollTop||n&&n.scrollTop||0)-(i&&i.clientTop||n&&n.clientTop||0)),!e.relatedTarget&&a&&(e.relatedTarget=a===e.target?t.toElement:a),e.which||o===k||(e.which=1&o?1:2&o?3:4&o?2:0),e}},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==t()&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){if(this===t()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if(Ae.nodeName(this,"input")&&"checkbox"===this.type&&this.click)return this.click(),!1},_default:function(e){return Ae.nodeName(e.target,"a")}},beforeunload:{postDispatch:function(e){e.result!==k&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=Ae.extend(new Ae.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?Ae.event.trigger(i,null,t):Ae.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},Ae.removeEvent=G.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===Y&&(e[r]=null),e.detachEvent(r,n))},Ae.Event=function(e,t){if(!(this instanceof Ae.Event))return new Ae.Event(e,t);e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||!1===e.returnValue||e.getPreventDefault&&e.getPreventDefault()?i:c):this.type=e,t&&Ae.extend(this,t),this.timeStamp=e&&e.timeStamp||Ae.now(),this[Ae.expando]=!0},Ae.Event.prototype={isDefaultPrevented:c,isPropagationStopped:c,isImmediatePropagationStopped:c,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=i,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=i,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=i,this.stopPropagation()}},Ae.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,o){Ae.event.special[e]={delegateType:o,bindType:o,handle:function(e){var t,n=this,r=e.relatedTarget,i=e.handleObj;return r&&(r===n||Ae.contains(n,r))||(e.type=i.origType,t=i.handler.apply(this,arguments),e.type=o),t}}}),Ae.support.submitBubbles||(Ae.event.special.submit={setup:function(){if(Ae.nodeName(this,"form"))return!1;Ae.event.add(this,"click._submit keypress._submit",function(e){var t=e.target,n=Ae.nodeName(t,"input")||Ae.nodeName(t,"button")?t.form:k;n&&!Ae._data(n,"submitBubbles")&&(Ae.event.add(n,"submit._submit",function(e){e._submit_bubble=!0}),Ae._data(n,"submitBubbles",!0))})},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&Ae.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){if(Ae.nodeName(this,"form"))return!1;Ae.event.remove(this,"._submit")}}),Ae.support.changeBubbles||(Ae.event.special.change={setup:function(){if(Oe.test(this.nodeName))return"checkbox"!==this.type&&"radio"!==this.type||(Ae.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),Ae.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),Ae.event.simulate("change",this,e,!0)})),!1;Ae.event.add(this,"beforeactivate._change",function(e){var t=e.target;Oe.test(t.nodeName)&&!Ae._data(t,"changeBubbles")&&(Ae.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||Ae.event.simulate("change",this.parentNode,e,!0)}),Ae._data(t,"changeBubbles",!0))})},handle:function(e){var t=e.target;if(this!==t||e.isSimulated||e.isTrigger||"radio"!==t.type&&"checkbox"!==t.type)return e.handleObj.handler.apply(this,arguments)},teardown:function(){return Ae.event.remove(this,"._change"),!Oe.test(this.nodeName)}}),Ae.support.focusinBubbles||Ae.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){Ae.event.simulate(t,e.target,Ae.event.fix(e),!0)};Ae.event.special[t]={setup:function(){0==n++&&G.addEventListener(e,r,!0)},teardown:function(){0==--n&&G.removeEventListener(e,r,!0)}}}),Ae.fn.extend({on:function(e,t,n,r,i){var o,a;if("object"==typeof e){for(o in"string"!=typeof t&&(n=n||t,t=k),e)this.on(o,t,n,e[o],i);return this}if(null==n&&null==r?(r=t,n=t=k):null==r&&("string"==typeof t?(r=n,n=k):(r=n,n=t,t=k)),!1===r)r=c;else if(!r)return this;return 1===i&&(a=r,(r=function(e){return Ae().off(e),a.apply(this,arguments)}).guid=a.guid||(a.guid=Ae.guid++)),this.each(function(){Ae.event.add(this,e,r,n,t)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,t,n){var r,i;if(e&&e.preventDefault&&e.handleObj)return r=e.handleObj,Ae(e.delegateTarget).off(r.namespace?r.origType+"."+r.namespace:r.origType,r.selector,r.handler),this;if("object"!=typeof e)return!1!==t&&"function"!=typeof t||(n=t,t=k),!1===n&&(n=c),this.each(function(){Ae.event.remove(this,e,n,t)});for(i in e)this.off(i,t,e[i]);return this},trigger:function(e,t){return this.each(function(){Ae.event.trigger(e,t,this)})},triggerHandler:function(e,t){var n=this[0];if(n)return Ae.event.trigger(e,t,n,!0)}});var We=/^.[^:#\[\.,]*$/,Ie=/^(?:parents|prev(?:Until|All))/,ze=Ae.expr.match.needsContext,Xe={children:!0,contents:!0,next:!0,prev:!0};Ae.fn.extend({find:function(e){var t,n=[],r=this,i=r.length;if("string"!=typeof e)return this.pushStack(Ae(e).filter(function(){for(t=0;t<i;t++)if(Ae.contains(r[t],this))return!0}));for(t=0;t<i;t++)Ae.find(e,r[t],n);return(n=this.pushStack(1<i?Ae.unique(n):n)).selector=this.selector?this.selector+" "+e:e,n},has:function(e){var t,n=Ae(e,this),r=n.length;return this.filter(function(){for(t=0;t<r;t++)if(Ae.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(a(this,e||[],!0))},filter:function(e){return this.pushStack(a(this,e||[],!1))},is:function(e){return!!a(this,"string"==typeof e&&ze.test(e)?Ae(e):e||[],!1).length},closest:function(e,t){for(var n,r=0,i=this.length,o=[],a=ze.test(e)||"string"!=typeof e?Ae(e,t||this.context):0;r<i;r++)for(n=this[r];n&&n!==t;n=n.parentNode)if(n.nodeType<11&&(a?-1<a.index(n):1===n.nodeType&&Ae.find.matchesSelector(n,e))){n=o.push(n);break}return this.pushStack(1<o.length?Ae.unique(o):o)},index:function(e){return e?"string"==typeof e?Ae.inArray(this[0],Ae(e)):Ae.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?Ae(e,t):Ae.makeArray(e&&e.nodeType?[e]:e),r=Ae.merge(this.get(),n);return this.pushStack(Ae.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),Ae.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return Ae.dir(e,"parentNode")},parentsUntil:function(e,t,n){return Ae.dir(e,"parentNode",n)},next:function(e){return o(e,"nextSibling")},prev:function(e){return o(e,"previousSibling")},nextAll:function(e){return Ae.dir(e,"nextSibling")},prevAll:function(e){return Ae.dir(e,"previousSibling")},nextUntil:function(e,t,n){return Ae.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return Ae.dir(e,"previousSibling",n)},siblings:function(e){return Ae.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return Ae.sibling(e.firstChild)},contents:function(e){return Ae.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:Ae.merge([],e.childNodes)}},function(r,i){Ae.fn[r]=function(e,t){var n=Ae.map(this,i,e);return"Until"!==r.slice(-5)&&(t=e),t&&"string"==typeof t&&(n=Ae.filter(t,n)),1<this.length&&(Xe[r]||(n=Ae.unique(n)),Ie.test(r)&&(n=n.reverse())),this.pushStack(n)}}),Ae.extend({filter:function(e,t,n){var r=t[0];return n&&(e=":not("+e+")"),1===t.length&&1===r.nodeType?Ae.find.matchesSelector(r,e)?[r]:[]:Ae.find.matches(e,Ae.grep(t,function(e){return 1===e.nodeType}))},dir:function(e,t,n){for(var r=[],i=e[t];i&&9!==i.nodeType&&(n===k||1!==i.nodeType||!Ae(i).is(n));)1===i.nodeType&&r.push(i),i=i[t];return r},sibling:function(e,t){for(var n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});var Ue="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",Ve=/ jQuery\d+="(?:null|\d+)"/g,Ye=new RegExp("<(?:"+Ue+")[\\s/>]","i"),Je=/^\s+/,Ge=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,Qe=/<([\w:]+)/,Ke=/<tbody/i,Ze=/<|&#?\w+;/,et=/<(?:script|style|link)/i,tt=/^(?:checkbox|radio)$/i,nt=/checked\s*(?:[^=]|=\s*.checked.)/i,rt=/^$|\/(?:java|ecma)script/i,it=/^true\/(.*)/,ot=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,at={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:Ae.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},st=g(G).appendChild(G.createElement("div"));at.optgroup=at.option,at.tbody=at.tfoot=at.colgroup=at.caption=at.thead,at.th=at.td,Ae.fn.extend({text:function(e){return Ae.access(this,function(e){return e===k?Ae.text(this):this.empty().append((this[0]&&this[0].ownerDocument||G).createTextNode(e))},null,e,arguments.length)},append:function(){return this.domManip(arguments,function(e){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||f(this,e).appendChild(e)})},prepend:function(){return this.domManip(arguments,function(e){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var t=f(this,e);t.insertBefore(e,t.firstChild)}})},before:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){for(var n,r=e?Ae.filter(e,this):this,i=0;null!=(n=r[i]);i++)t||1!==n.nodeType||Ae.cleanData(x(n)),n.parentNode&&(t&&Ae.contains(n.ownerDocument,n)&&b(x(n,"script")),n.parentNode.removeChild(n));return this},empty:function(){for(var e,t=0;null!=(e=this[t]);t++){for(1===e.nodeType&&Ae.cleanData(x(e,!1));e.firstChild;)e.removeChild(e.firstChild);e.options&&Ae.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null!=e&&e,t=null==t?e:t,this.map(function(){return Ae.clone(this,e,t)})},html:function(e){return Ae.access(this,function(e){var t=this[0]||{},n=0,r=this.length;if(e===k)return 1===t.nodeType?t.innerHTML.replace(Ve,""):k;if("string"==typeof e&&!et.test(e)&&(Ae.support.htmlSerialize||!Ye.test(e))&&(Ae.support.leadingWhitespace||!Je.test(e))&&!at[(Qe.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(Ge,"<$1></$2>");try{for(;n<r;n++)1===(t=this[n]||{}).nodeType&&(Ae.cleanData(x(t,!1)),t.innerHTML=e);t=0}catch(i){}}t&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(){var r=Ae.map(this,function(e){return[e.nextSibling,e.parentNode]}),i=0;return this.domManip(arguments,function(e){var t=r[i++],n=r[i++];n&&(t&&t.parentNode!==n&&(t=this.nextSibling),Ae(this).remove(),n.insertBefore(e,t))},!0),i?this:this.remove()},detach:function(e){return this.remove(e,!0)},domManip:function(n,r,i){n=re.apply([],n);var e,t,o,a,s,l,u=0,c=this.length,f=this,p=c-1,d=n[0],h=Ae.isFunction(d);if(h||!(c<=1||"string"!=typeof d||Ae.support.checkClone)&&nt.test(d))return this.each(function(e){var t=f.eq(e);h&&(n[0]=d.call(this,e,t.html())),t.domManip(n,r,i)});if(c&&(e=(l=Ae.buildFragment(n,this[0].ownerDocument,!1,!i&&this)).firstChild,1===l.childNodes.length&&(l=e),e)){for(o=(a=Ae.map(x(l,"script"),y)).length;u<c;u++)t=l,u!==p&&(t=Ae.clone(t,!0,!0),o&&Ae.merge(a,x(t,"script"))),r.call(this[u],t,u);if(o)for(s=a[a.length-1].ownerDocument,Ae.map(a,v),u=0;u<o;u++)t=a[u],rt.test(t.type||"")&&!Ae._data(t,"globalEval")&&Ae.contains(s,t)&&(t.src?Ae._evalUrl(t.src):Ae.globalEval((t.text||t.textContent||t.innerHTML||"").replace(ot,"")));l=e=null}return this}}),Ae.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,a){Ae.fn[e]=function(e){for(var t,n=0,r=[],i=Ae(e),o=i.length-1;n<=o;n++)t=n===o?this:this.clone(!0),Ae(i[n])[a](t),ie.apply(r,t.get());return this.pushStack(r)}}),Ae.extend({clone:function(e,t,n){var r,i,o,a,s,l=Ae.contains(e.ownerDocument,e);if(Ae.support.html5Clone||Ae.isXMLDoc(e)||!Ye.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(st.innerHTML=e.outerHTML,st.removeChild(o=st.firstChild)),!(Ae.support.noCloneEvent&&Ae.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||Ae.isXMLDoc(e)))for(r=x(o),s=x(e),a=0;null!=(i=s[a]);++a)r[a]&&d(i,r[a]);if(t)if(n)for(s=s||x(e),r=r||x(o),a=0;null!=(i=s[a]);a++)p(i,r[a]);else p(e,o);return 0<(r=x(o,"script")).length&&b(r,!l&&x(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){for(var i,o,a,s,l,u,c,f=e.length,p=g(t),d=[],h=0;h<f;h++)if((o=e[h])||0===o)if("object"===Ae.type(o))Ae.merge(d,o.nodeType?[o]:o);else if(Ze.test(o)){for(s=s||p.appendChild(t.createElement("div")),l=(Qe.exec(o)||["",""])[1].toLowerCase(),c=at[l]||at._default,s.innerHTML=c[1]+o.replace(Ge,"<$1></$2>")+c[2],i=c[0];i--;)s=s.lastChild;if(!Ae.support.leadingWhitespace&&Je.test(o)&&d.push(t.createTextNode(Je.exec(o)[0])),!Ae.support.tbody)for(i=(o="table"!==l||Ke.test(o)?"<table>"!==c[1]||Ke.test(o)?0:s:s.firstChild)&&o.childNodes.length;i--;)Ae.nodeName(u=o.childNodes[i],"tbody")&&!u.childNodes.length&&o.removeChild(u);for(Ae.merge(d,s.childNodes),s.textContent="";s.firstChild;)s.removeChild(s.firstChild);s=p.lastChild}else d.push(t.createTextNode(o));for(s&&p.removeChild(s),Ae.support.appendChecked||Ae.grep(x(d,"input"),w),h=0;o=d[h++];)if((!r||-1===Ae.inArray(o,r))&&(a=Ae.contains(o.ownerDocument,o),s=x(p.appendChild(o),"script"),a&&b(s),n))for(i=0;o=s[i++];)rt.test(o.type||"")&&n.push(o);return s=null,p},cleanData:function(e,t){for(var n,r,i,o,a=0,s=Ae.expando,l=Ae.cache,u=Ae.support.deleteExpando,c=Ae.event.special;null!=(n=e[a]);a++)if((t||Ae.acceptData(n))&&(o=(i=n[s])&&l[i])){if(o.events)for(r in o.events)c[r]?Ae.event.remove(n,r):Ae.removeEvent(n,r,o.handle);l[i]&&(delete l[i],u?delete n[s]:typeof n.removeAttribute!==Y?n.removeAttribute(s):n[s]=null,te.push(i))}},_evalUrl:function(e){return Ae.ajax({url:e,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})}}),Ae.fn.extend({wrapAll:function(t){if(Ae.isFunction(t))return this.each(function(e){Ae(this).wrapAll(t.call(this,e))});if(this[0]){var e=Ae(t,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&e.insertBefore(this[0]),e.map(function(){for(var e=this;e.firstChild&&1===e.firstChild.nodeType;)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(n){return Ae.isFunction(n)?this.each(function(e){Ae(this).wrapInner(n.call(this,e))}):this.each(function(){var e=Ae(this),t=e.contents();t.length?t.wrapAll(n):e.append(n)})},wrap:function(t){var n=Ae.isFunction(t);return this.each(function(e){Ae(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){Ae.nodeName(this,"body")||Ae(this).replaceWith(this.childNodes)}).end()}});var lt,ut,ct,ft=/alpha\([^)]*\)/i,pt=/opacity\s*=\s*([^)]*)/,dt=/^(top|right|bottom|left)$/,ht=/^(none|table(?!-c[ea]).+)/,mt=/^margin/,gt=new RegExp("^("+ce+")(.*)$","i"),yt=new RegExp("^("+ce+")(?!px)[a-z%]+$","i"),vt=new RegExp("^([+-])=("+ce+")","i"),bt={BODY:"block"},xt={position:"absolute",visibility:"hidden",display:"block"},wt={letterSpacing:0,fontWeight:400},Tt=["Top","Right","Bottom","Left"],kt=["Webkit","O","Moz","ms"];Ae.fn.extend({css:function(e,t){return Ae.access(this,function(e,t,n){var r,i,o={},a=0;if(Ae.isArray(t)){for(i=ut(e),r=t.length;a<r;a++)o[t[a]]=Ae.css(e,t[a],!1,i);return o}return n!==k?Ae.style(e,t,n):Ae.css(e,t)},e,t,1<arguments.length)},show:function(){return C(this,!0)},hide:function(){return C(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:T(this))?Ae(this).show():Ae(this).hide()})}}),Ae.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=ct(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":Ae.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,t,n,r){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var i,o,a,s=Ae.camelCase(t),l=e.style;if(t=Ae.cssProps[s]||(Ae.cssProps[s]=h(l,s)),a=Ae.cssHooks[t]||Ae.cssHooks[s],n===k)return a&&"get"in a&&(i=a.get(e,!1,r))!==k?i:l[t];if(!("string"===(o=typeof n)&&(i=vt.exec(n))&&(n=(i[1]+1)*i[2]+parseFloat(Ae.css(e,t)),o="number"),null==n||"number"===o&&isNaN(n)||("number"!==o||Ae.cssNumber[s]||(n+="px"),Ae.support.clearCloneStyle||""!==n||0!==t.indexOf("background")||(l[t]="inherit"),a&&"set"in a&&(n=a.set(e,n,r))===k)))try{l[t]=n}catch(u){}}},css:function(e,t,n,r){var i,o,a,s=Ae.camelCase(t);return t=Ae.cssProps[s]||(Ae.cssProps[s]=h(e.style,s)),(a=Ae.cssHooks[t]||Ae.cssHooks[s])&&"get"in a&&(o=a.get(e,!0,n)),o===k&&(o=ct(e,t,r)),"normal"===o&&t in wt&&(o=wt[t]),""===n||n?(i=parseFloat(o),!0===n||Ae.isNumeric(i)?i||0:o):o}}),m.getComputedStyle?(ut=function(e){return m.getComputedStyle(e,null)},ct=function(e,t,n){var r,i,o,a=n||ut(e),s=a?a.getPropertyValue(t)||a[t]:k,l=e.style;return a&&(""!==s||Ae.contains(e.ownerDocument,e)||(s=Ae.style(e,t)),yt.test(s)&&mt.test(t)&&(r=l.width,i=l.minWidth,o=l.maxWidth,l.minWidth=l.maxWidth=l.width=s,s=a.width,l.width=r,l.minWidth=i,l.maxWidth=o)),s}):G.documentElement.currentStyle&&(ut=function(e){return e.currentStyle},ct=function(e,t,n){var r,i,o,a=n||ut(e),s=a?a[t]:k,l=e.style;return null==s&&l&&l[t]&&(s=l[t]),yt.test(s)&&!dt.test(t)&&(r=l.left,(o=(i=e.runtimeStyle)&&i.left)&&(i.left=e.currentStyle.left),l.left="fontSize"===t?"1em":s,s=l.pixelLeft+"px",l.left=r,o&&(i.left=o)),""===s?"auto":s}),Ae.each(["height","width"],function(e,i){Ae.cssHooks[i]={get:function(e,t,n){if(t)return 0===e.offsetWidth&&ht.test(Ae.css(e,"display"))?Ae.swap(e,xt,function(){return E(e,i,n)}):E(e,i,n)},set:function(e,t,n){var r=n&&ut(e);return N(e,t,n?S(e,i,n,Ae.support.boxSizing&&"border-box"===Ae.css(e,"boxSizing",!1,r),r):0)}}}),Ae.support.opacity||(Ae.cssHooks.opacity={get:function(e,t){return pt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=Ae.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";((n.zoom=1)<=t||""===t)&&""===Ae.trim(o.replace(ft,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=ft.test(o)?o.replace(ft,i):o+" "+i)}}),Ae(function(){Ae.support.reliableMarginRight||(Ae.cssHooks.marginRight={get:function(e,t){if(t)return Ae.swap(e,{display:"inline-block"},ct,[e,"marginRight"])}}),!Ae.support.pixelPosition&&Ae.fn.position&&Ae.each(["top","left"],function(e,n){Ae.cssHooks[n]={get:function(e,t){if(t)return t=ct(e,n),yt.test(t)?Ae(e).position()[n]+"px":t}}})}),Ae.expr&&Ae.expr.filters&&(Ae.expr.filters.hidden=function(e){return e.offsetWidth<=0&&e.offsetHeight<=0||!Ae.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||Ae.css(e,"display"))},Ae.expr.filters.visible=function(e){return!Ae.expr.filters.hidden(e)}),Ae.each({margin:"",padding:"",border:"Width"},function(i,o){Ae.cssHooks[i+o]={expand:function(e){for(var t=0,n={},r="string"==typeof e?e.split(" "):[e];t<4;t++)n[i+Tt[t]+o]=r[t]||r[t-2]||r[0];return n}},mt.test(i)||(Ae.cssHooks[i+o].set=N)});var Ct=/%20/g,Nt=/\[\]$/,St=/\r?\n/g,Et=/^(?:submit|button|image|reset|file)$/i,jt=/^(?:input|select|textarea|keygen)/i;Ae.fn.extend({serialize:function(){return Ae.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=Ae.prop(this,"elements");return e?Ae.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!Ae(this).is(":disabled")&&jt.test(this.nodeName)&&!Et.test(e)&&(this.checked||!tt.test(e))}).map(function(e,t){var n=Ae(this).val();return null==n?null:Ae.isArray(n)?Ae.map(n,function(e){return{name:t.name,value:e.replace(St,"\r\n")}}):{name:t.name,value:n.replace(St,"\r\n")}}).get()}}),Ae.param=function(e,t){var n,r=[],i=function(e,t){t=Ae.isFunction(t)?t():null==t?"":t,r[r.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(t===k&&(t=Ae.ajaxSettings&&Ae.ajaxSettings.traditional),Ae.isArray(e)||e.jquery&&!Ae.isPlainObject(e))Ae.each(e,function(){i(this.name,this.value)});else for(n in e)D(n,e[n],t,i);return r.join("&").replace(Ct,"+")},Ae.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,n){Ae.fn[n]=function(e,t){return 0<arguments.length?this.on(n,null,e,t):this.trigger(n)}}),Ae.fn.extend({hover:function(e,t){return this.mouseenter(e).mouseleave(t||e)},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)}});var At,Dt,Lt=Ae.now(),Ht=/\?/,qt=/#.*$/,Ft=/([?&])_=[^&]*/,_t=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Mt=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Ot=/^(?:GET|HEAD)$/,Rt=/^\/\//,Bt=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Pt=Ae.fn.load,$t={},Wt={},It="*/".concat("*");try{Dt=J.href}catch(rn){(Dt=G.createElement("a")).href="",Dt=Dt.href}At=Bt.exec(Dt.toLowerCase())||[],Ae.fn.load=function(e,t,n){if("string"!=typeof e&&Pt)return Pt.apply(this,arguments);var r,i,o,a=this,s=e.indexOf(" ");return 0<=s&&(r=e.slice(s,e.length),e=e.slice(0,s)),Ae.isFunction(t)?(n=t,t=k):t&&"object"==typeof t&&(o="POST"),0<a.length&&Ae.ajax({url:e,type:o,dataType:"html",data:t}).done(function(e){i=arguments,a.html(r?Ae("<div>").append(Ae.parseHTML(e)).find(r):e)}).complete(n&&function(e,t){a.each(n,i||[e.responseText,t,e])}),this},Ae.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){Ae.fn[t]=function(e){return this.on(t,e)}}),Ae.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dt,type:"GET",isLocal:Mt.test(At[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":It,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":Ae.parseJSON,"text xml":Ae.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?q(q(e,Ae.ajaxSettings),t):q(Ae.ajaxSettings,e)},ajaxPrefilter:L($t),ajaxTransport:L(Wt),ajax:function(e,t){function n(e,t,n,r){var i,o,a,s,l,u=t;2!==w&&(w=2,p&&clearTimeout(p),h=k,f=r||"",T.readyState=0<e?4:0,i=200<=e&&e<300||304===e,n&&(s=F(m,T,n)),s=_(m,s,T,i),i?(m.ifModified&&((l=T.getResponseHeader("Last-Modified"))&&(Ae.lastModified[c]=l),(l=T.getResponseHeader("etag"))&&(Ae.etag[c]=l)),204===e||"HEAD"===m.type?u="nocontent":304===e?u="notmodified":(u=s.state,o=s.data,i=!(a=s.error))):(a=u,!e&&u||(u="error",e<0&&(e=0))),T.status=e,T.statusText=(t||u)+"",i?v.resolveWith(g,[o,u,T]):v.rejectWith(g,[T,u,a]),T.statusCode(x),x=k,d&&y.trigger(i?"ajaxSuccess":"ajaxError",[T,m,i?o:a]),b.fireWith(g,[T,u]),d&&(y.trigger("ajaxComplete",[T,m]),--Ae.active||Ae.event.trigger("ajaxStop")))}"object"==typeof e&&(t=e,e=k),t=t||{};var r,i,c,f,p,d,h,o,m=Ae.ajaxSetup({},t),g=m.context||m,y=m.context&&(g.nodeType||g.jquery)?Ae(g):Ae.event,v=Ae.Deferred(),b=Ae.Callbacks("once memory"),x=m.statusCode||{},a={},s={},w=0,l="canceled",T={readyState:0,getResponseHeader:function(e){var t;if(2===w){if(!o)for(o={};t=_t.exec(f);)o[t[1].toLowerCase()]=t[2];t=o[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===w?f:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return w||(e=s[n]=s[n]||e,a[e]=t),this},overrideMimeType:function(e){return w||(m.mimeType=e),this},statusCode:function(e){var t;if(e)if(w<2)for(t in e)x[t]=[x[t],e[t]];else T.always(e[T.status]);return this},abort:function(e){var t=e||l;return h&&h.abort(t),n(0,t),this}};if(v.promise(T).complete=b.add,T.success=T.done,T.error=T.fail,m.url=((e||m.url||Dt)+"").replace(qt,"").replace(Rt,At[1]+"//"),m.type=t.method||t.type||m.method||m.type,m.dataTypes=Ae.trim(m.dataType||"*").toLowerCase().match(fe)||[""],null==m.crossDomain&&(r=Bt.exec(m.url.toLowerCase()),m.crossDomain=!(!r||r[1]===At[1]&&r[2]===At[2]&&(r[3]||("http:"===r[1]?"80":"443"))===(At[3]||("http:"===At[1]?"80":"443")))),m.data&&m.processData&&"string"!=typeof m.data&&(m.data=Ae.param(m.data,m.traditional)),H($t,m,t,T),2===w)return T;for(i in(d=m.global)&&0==Ae.active++&&Ae.event.trigger("ajaxStart"),m.type=m.type.toUpperCase(),m.hasContent=!Ot.test(m.type),c=m.url,m.hasContent||(m.data&&(c=m.url+=(Ht.test(c)?"&":"?")+m.data,delete m.data),!1===m.cache&&(m.url=Ft.test(c)?c.replace(Ft,"$1_="+Lt++):c+(Ht.test(c)?"&":"?")+"_="+Lt++)),m.ifModified&&(Ae.lastModified[c]&&T.setRequestHeader("If-Modified-Since",Ae.lastModified[c]),Ae.etag[c]&&T.setRequestHeader("If-None-Match",Ae.etag[c])),(m.data&&m.hasContent&&!1!==m.contentType||t.contentType)&&T.setRequestHeader("Content-Type",m.contentType),T.setRequestHeader("Accept",m.dataTypes[0]&&m.accepts[m.dataTypes[0]]?m.accepts[m.dataTypes[0]]+("*"!==m.dataTypes[0]?", "+It+"; q=0.01":""):m.accepts["*"]),m.headers)T.setRequestHeader(i,m.headers[i]);if(m.beforeSend&&(!1===m.beforeSend.call(g,T,m)||2===w))return T.abort();for(i in l="abort",{success:1,error:1,complete:1})T[i](m[i]);if(h=H(Wt,m,t,T)){T.readyState=1,d&&y.trigger("ajaxSend",[T,m]),m.async&&0<m.timeout&&(p=setTimeout(function(){T.abort("timeout")},m.timeout));try{w=1,h.send(a,n)}catch(rn){if(!(w<2))throw rn;n(-1,rn)}}else n(-1,"No Transport");return T},getJSON:function(e,t,n){return Ae.get(e,t,n,"json")},getScript:function(e,t){return Ae.get(e,k,t,"script")}}),Ae.each(["get","post"],function(e,i){Ae[i]=function(e,t,n,r){return Ae.isFunction(t)&&(r=r||n,n=t,t=k),Ae.ajax({url:e,type:i,dataType:r,data:t,success:n})}}),Ae.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return Ae.globalEval(e),e}}}),Ae.ajaxPrefilter("script",function(e){e.cache===k&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),Ae.ajaxTransport("script",function(t){if(t.crossDomain){var r,i=G.head||Ae("head")[0]||G.documentElement;return{send:function(e,n){(r=G.createElement("script")).async=!0,t.scriptCharset&&(
r.charset=t.scriptCharset),r.src=t.url,r.onload=r.onreadystatechange=function(e,t){(t||!r.readyState||/loaded|complete/.test(r.readyState))&&(r.onload=r.onreadystatechange=null,r.parentNode&&r.parentNode.removeChild(r),r=null,t||n(200,"success"))},i.insertBefore(r,i.firstChild)},abort:function(){r&&r.onload(k,!0)}}}});var zt=[],Xt=/(=)\?(?=&|$)|\?\?/;Ae.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=zt.pop()||Ae.expando+"_"+Lt++;return this[e]=!0,e}}),Ae.ajaxPrefilter("json jsonp",function(e,t,n){var r,i,o,a=!1!==e.jsonp&&(Xt.test(e.url)?"url":"string"==typeof e.data&&!(e.contentType||"").indexOf("application/x-www-form-urlencoded")&&Xt.test(e.data)&&"data");if(a||"jsonp"===e.dataTypes[0])return r=e.jsonpCallback=Ae.isFunction(e.jsonpCallback)?e.jsonpCallback():e.jsonpCallback,a?e[a]=e[a].replace(Xt,"$1"+r):!1!==e.jsonp&&(e.url+=(Ht.test(e.url)?"&":"?")+e.jsonp+"="+r),e.converters["script json"]=function(){return o||Ae.error(r+" was not called"),o[0]},e.dataTypes[0]="json",i=m[r],m[r]=function(){o=arguments},n.always(function(){m[r]=i,e[r]&&(e.jsonpCallback=t.jsonpCallback,zt.push(r)),o&&Ae.isFunction(i)&&i(o[0]),o=i=k}),"script"});var Ut,Vt,Yt=0,Jt=m.ActiveXObject&&function(){var e;for(e in Ut)Ut[e](k,!0)};Ae.ajaxSettings.xhr=m.ActiveXObject?function(){return!this.isLocal&&M()||O()}:M,Vt=Ae.ajaxSettings.xhr(),Ae.support.cors=!!Vt&&"withCredentials"in Vt,(Vt=Ae.support.ajax=!!Vt)&&Ae.ajaxTransport(function(c){var f;if(!c.crossDomain||Ae.support.cors)return{send:function(e,s){var l,t,u=c.xhr();if(c.username?u.open(c.type,c.url,c.async,c.username,c.password):u.open(c.type,c.url,c.async),c.xhrFields)for(t in c.xhrFields)u[t]=c.xhrFields[t];c.mimeType&&u.overrideMimeType&&u.overrideMimeType(c.mimeType),c.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");try{for(t in e)u.setRequestHeader(t,e[t])}catch(n){}u.send(c.hasContent&&c.data||null),f=function(e,t){var n,r,i,o;try{if(f&&(t||4===u.readyState))if(f=k,l&&(u.onreadystatechange=Ae.noop,Jt&&delete Ut[l]),t)4!==u.readyState&&u.abort();else{o={},n=u.status,r=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(o.text=u.responseText);try{i=u.statusText}catch(rn){i=""}n||!c.isLocal||c.crossDomain?1223===n&&(n=204):n=o.text?200:404}}catch(a){t||s(-1,a)}o&&s(n,i,o,r)},c.async?4===u.readyState?setTimeout(f):(l=++Yt,Jt&&(Ut||(Ut={},Ae(m).unload(Jt)),Ut[l]=f),u.onreadystatechange=f):f()},abort:function(){f&&f(k,!0)}}});var Gt,Qt,Kt=/^(?:toggle|show|hide)$/,Zt=new RegExp("^(?:([+-])=|)("+ce+")([a-z%]*)$","i"),en=/queueHooks$/,tn=[W],nn={"*":[function(e,t){var n=this.createTween(e,t),r=n.cur(),i=Zt.exec(t),o=i&&i[3]||(Ae.cssNumber[e]?"":"px"),a=(Ae.cssNumber[e]||"px"!==o&&+r)&&Zt.exec(Ae.css(n.elem,e)),s=1,l=20;if(a&&a[3]!==o)for(o=o||a[3],i=i||[],a=+r||1;a/=s=s||".5",Ae.style(n.elem,e,a+o),s!==(s=n.cur()/r)&&1!==s&&--l;);return i&&(n.unit=o,n.start=+a||+r||0,n.end=i[1]?a+(i[1]+1)*i[2]:+i[2]),n}]};Ae.Animation=Ae.extend(P,{tweener:function(e,t){Ae.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;r<i;r++)n=e[r],nn[n]=nn[n]||[],nn[n].unshift(t)},prefilter:function(e,t){t?tn.unshift(e):tn.push(e)}}),(Ae.Tween=I).prototype={constructor:I,init:function(e,t,n,r,i,o){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||(Ae.cssNumber[n]?"":"px")},cur:function(){var e=I.propHooks[this.prop];return e&&e.get?e.get(this):I.propHooks._default.get(this)},run:function(e){var t,n=I.propHooks[this.prop];return this.options.duration?this.pos=t=Ae.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):this.pos=t=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}},I.prototype.init.prototype=I.prototype,I.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=Ae.css(e.elem,e.prop,""))&&"auto"!==t?t:0:e.elem[e.prop]},set:function(e){Ae.fx.step[e.prop]?Ae.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[Ae.cssProps[e.prop]]||Ae.cssHooks[e.prop])?Ae.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},I.propHooks.scrollTop=I.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},Ae.each(["toggle","show","hide"],function(e,r){var i=Ae.fn[r];Ae.fn[r]=function(e,t,n){return null==e||"boolean"==typeof e?i.apply(this,arguments):this.animate(z(r,!0),e,t,n)}}),Ae.fn.extend({fadeTo:function(e,t,n,r){return this.filter(T).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(t,e,n,r){var i=Ae.isEmptyObject(t),o=Ae.speed(e,n,r),a=function(){var e=P(this,Ae.extend({},t),o);a.finish=function(){e.stop(!0)},(i||Ae._data(this,"finish"))&&e.stop(!0)};return a.finish=a,i||!1===o.queue?this.each(a):this.queue(o.queue,a)},stop:function(i,e,o){var a=function(e){var t=e.stop;delete e.stop,t(o)};return"string"!=typeof i&&(o=e,e=i,i=k),e&&!1!==i&&this.queue(i||"fx",[]),this.each(function(){var e=!0,t=null!=i&&i+"queueHooks",n=Ae.timers,r=Ae._data(this);if(t)r[t]&&r[t].stop&&a(r[t]);else for(t in r)r[t]&&r[t].stop&&en.test(t)&&a(r[t]);for(t=n.length;t--;)n[t].elem!==this||null!=i&&n[t].queue!==i||(n[t].anim.stop(o),e=!1,n.splice(t,1));!e&&o||Ae.dequeue(this,i)})},finish:function(a){return!1!==a&&(a=a||"fx"),this.each(function(){var e,t=Ae._data(this),n=t[a+"queue"],r=t[a+"queueHooks"],i=Ae.timers,o=n?n.length:0;for(t.finish=!0,Ae.queue(this,a,[]),r&&r.cur&&r.cur.finish&&r.cur.finish.call(this),e=i.length;e--;)i[e].elem===this&&i[e].queue===a&&(i[e].anim.stop(!0),i.splice(e,1));for(e=0;e<o;e++)n[e]&&n[e].finish&&n[e].finish.call(this);delete t.finish})}}),Ae.each({slideDown:z("show"),slideUp:z("hide"),slideToggle:z("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,r){Ae.fn[e]=function(e,t,n){return this.animate(r,e,t,n)}}),Ae.speed=function(e,t,n){var r=e&&"object"==typeof e?Ae.extend({},e):{complete:n||!n&&t||Ae.isFunction(e)&&e,duration:e,easing:n&&t||t&&!Ae.isFunction(t)&&t};return r.duration=Ae.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in Ae.fx.speeds?Ae.fx.speeds[r.duration]:Ae.fx.speeds._default,null!=r.queue&&!0!==r.queue||(r.queue="fx"),r.old=r.complete,r.complete=function(){Ae.isFunction(r.old)&&r.old.call(this),r.queue&&Ae.dequeue(this,r.queue)},r},Ae.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},Ae.timers=[],Ae.fx=I.prototype.init,Ae.fx.tick=function(){var e,t=Ae.timers,n=0;for(Gt=Ae.now();n<t.length;n++)(e=t[n])()||t[n]!==e||t.splice(n--,1);t.length||Ae.fx.stop(),Gt=k},Ae.fx.timer=function(e){e()&&Ae.timers.push(e)&&Ae.fx.start()},Ae.fx.interval=13,Ae.fx.start=function(){Qt||(Qt=setInterval(Ae.fx.tick,Ae.fx.interval))},Ae.fx.stop=function(){clearInterval(Qt),Qt=null},Ae.fx.speeds={slow:600,fast:200,_default:400},Ae.fx.step={},Ae.expr&&Ae.expr.filters&&(Ae.expr.filters.animated=function(t){return Ae.grep(Ae.timers,function(e){return t===e.elem}).length}),Ae.fn.offset=function(t){if(arguments.length)return t===k?this:this.each(function(e){Ae.offset.setOffset(this,t,e)});var e,n,r={top:0,left:0},i=this[0],o=i&&i.ownerDocument;return o?(e=o.documentElement,Ae.contains(e,i)?(typeof i.getBoundingClientRect!==Y&&(r=i.getBoundingClientRect()),n=X(o),{top:r.top+(n.pageYOffset||e.scrollTop)-(e.clientTop||0),left:r.left+(n.pageXOffset||e.scrollLeft)-(e.clientLeft||0)}):r):void 0},Ae.offset={setOffset:function(e,t,n){var r=Ae.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=Ae(e),s=a.offset(),l=Ae.css(e,"top"),u=Ae.css(e,"left"),c={},f={};("absolute"===r||"fixed"===r)&&-1<Ae.inArray("auto",[l,u])?(i=(f=a.position()).top,o=f.left):(i=parseFloat(l)||0,o=parseFloat(u)||0),Ae.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(c.top=t.top-s.top+i),null!=t.left&&(c.left=t.left-s.left+o),"using"in t?t.using.call(e,c):a.css(c)}},Ae.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===Ae.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),Ae.nodeName(e[0],"html")||(n=e.offset()),n.top+=Ae.css(e[0],"borderTopWidth",!0),n.left+=Ae.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-Ae.css(r,"marginTop",!0),left:t.left-n.left-Ae.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||Q;e&&!Ae.nodeName(e,"html")&&"static"===Ae.css(e,"position");)e=e.offsetParent;return e||Q})}}),Ae.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(t,i){var o=/Y/.test(i);Ae.fn[t]=function(e){return Ae.access(this,function(e,t,n){var r=X(e);if(n===k)return r?i in r?r[i]:r.document.documentElement[t]:e[t];r?r.scrollTo(o?Ae(r).scrollLeft():n,o?n:Ae(r).scrollTop()):e[t]=n},t,e,arguments.length,null)}}),Ae.each({Height:"height",Width:"width"},function(o,a){Ae.each({padding:"inner"+o,content:a,"":"outer"+o},function(r,e){Ae.fn[e]=function(e,t){var n=arguments.length&&(r||"boolean"!=typeof e),i=r||(!0===e||!0===t?"margin":"border");return Ae.access(this,function(e,t,n){var r;return Ae.isWindow(e)?e.document.documentElement["client"+o]:9===e.nodeType?(r=e.documentElement,Math.max(e.body["scroll"+o],r["scroll"+o],e.body["offset"+o],r["offset"+o],r["client"+o])):n===k?Ae.css(e,t,i):Ae.style(e,t,n,i)},a,n?e:k,n,null)}})}),Ae.fn.size=function(){return this.length},Ae.fn.andSelf=Ae.fn.addBack,"object"==typeof module&&"object"==typeof module.exports?module.exports=Ae:(m.jQuery=m.$=Ae,"function"==typeof define&&define.amd&&define("jquery",[],function(){return Ae}))}(window),function(f,p){var d;f.rails!==p&&f.error("jquery-ujs has already been loaded!"),f.rails=d={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(e){var t=f('meta[name="csrf-token"]').attr("content");t&&e.setRequestHeader("X-CSRF-Token",t)},fire:function(e,t,n){var r=f.Event(t);return e.trigger(r,n),!1!==r.result},confirm:function(e){return confirm(e)},ajax:function(e){return f.ajax(e)},href:function(e){return e.attr("href")},handleRemote:function(r){var e,t,n,i,o,a,s,l;if(d.fire(r,"ajax:before")){if(o=(i=r.data("cross-domain"))===p?null:i,a=r.data("with-credentials")||null,s=r.data("type")||f.ajaxSettings&&f.ajaxSettings.dataType,r.is("form")){e=r.attr("method"),t=r.attr("action"),n=r.serializeArray();var u=r.data("ujs:submit-button");u&&(n.push(u),r.data("ujs:submit-button",null))}else r.is(d.inputChangeSelector)?(e=r.data("method"),t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):r.is(d.buttonClickSelector)?(e=r.data("method")||"get",t=r.data("url"),n=r.serialize(),r.data("params")&&(n=n+"&"+r.data("params"))):(e=r.data("method"),t=d.href(r),n=r.data("params")||null);l={type:e||"GET",data:n,dataType:s,beforeSend:function(e,t){return t.dataType===p&&e.setRequestHeader("accept","*/*;q=0.5, "+t.accepts.script),d.fire(r,"ajax:beforeSend",[e,t])},success:function(e,t,n){r.trigger("ajax:success",[e,t,n])},complete:function(e,t){r.trigger("ajax:complete",[e,t])},error:function(e,t,n){r.trigger("ajax:error",[e,t,n])},crossDomain:o},a&&(l.xhrFields={withCredentials:a}),t&&(l.url=t);var c=d.ajax(l);return r.trigger("ajax:send",c),c}return!1},handleMethod:function(e){var t=d.href(e),n=e.data("method"),r=e.attr("target"),i=f("meta[name=csrf-token]").attr("content"),o=f("meta[name=csrf-param]").attr("content"),a=f('<form method="post" action="'+t+'"></form>'),s='<input name="_method" value="'+n+'" type="hidden" />';o!==p&&i!==p&&(s+='<input name="'+o+'" value="'+i+'" type="hidden" />'),r&&a.attr("target",r),a.hide().append(s).appendTo("body"),a.submit()},disableFormElements:function(e){e.find(d.disableSelector).each(function(){var e=f(this),t=e.is("button")?"html":"val";e.data("ujs:enable-with",e[t]()),e[t](e.data("disable-with")),e.prop("disabled",!0)})},enableFormElements:function(e){e.find(d.enableSelector).each(function(){var e=f(this),t=e.is("button")?"html":"val";e.data("ujs:enable-with")&&e[t](e.data("ujs:enable-with")),e.prop("disabled",!1)})},allowAction:function(e){var t,n=e.data("confirm"),r=!1;return!n||(d.fire(e,"confirm")&&(r=d.confirm(n),t=d.fire(e,"confirm:complete",[r])),r&&t)},blankInputs:function(e,t,n){var r,i=f(),o=t||"input,textarea",a=e.find(o);return a.each(function(){if(r=f(this),!(r.is("input[type=checkbox],input[type=radio]")?r.is(":checked"):r.val())==!n){if(r.is("input[type=radio]")&&a.filter('input[type=radio]:checked[name="'+r.attr("name")+'"]').length)return!0;i=i.add(r)}}),!!i.length&&i},nonBlankInputs:function(e,t){return d.blankInputs(e,t,!0)},stopEverything:function(e){return f(e.target).trigger("ujs:everythingStopped"),e.stopImmediatePropagation(),!1},disableElement:function(e){e.data("ujs:enable-with",e.html()),e.html(e.data("disable-with")),e.bind("click.railsDisable",function(e){return d.stopEverything(e)})},enableElement:function(e){e.data("ujs:enable-with")!==p&&(e.html(e.data("ujs:enable-with")),e.removeData("ujs:enable-with")),e.unbind("click.railsDisable")}},d.fire(f(document),"rails:attachBindings")&&(f.ajaxPrefilter(function(e,t,n){e.crossDomain||d.CSRFProtection(n)}),f(document).delegate(d.linkDisableSelector,"ajax:complete",function(){d.enableElement(f(this))}),f(document).delegate(d.linkClickSelector,"click.rails",function(e){var t=f(this),n=t.data("method"),r=t.data("params");if(!d.allowAction(t))return d.stopEverything(e);if(t.is(d.linkDisableSelector)&&d.disableElement(t),t.data("remote")===p)return t.data("method")?(d.handleMethod(t),!1):void 0;if((e.metaKey||e.ctrlKey)&&(!n||"GET"===n)&&!r)return!0;var i=d.handleRemote(t);return!1===i?d.enableElement(t):i.error(function(){d.enableElement(t)}),!1}),f(document).delegate(d.buttonClickSelector,"click.rails",function(e){var t=f(this);return d.allowAction(t)?(d.handleRemote(t),!1):d.stopEverything(e)}),f(document).delegate(d.inputChangeSelector,"change.rails",function(e){var t=f(this);return d.allowAction(t)?(d.handleRemote(t),!1):d.stopEverything(e)}),f(document).delegate(d.formSubmitSelector,"submit.rails",function(e){var t=f(this),n=t.data("remote")!==p,r=d.blankInputs(t,d.requiredInputSelector),i=d.nonBlankInputs(t,d.fileInputSelector);if(!d.allowAction(t))return d.stopEverything(e);if(r&&t.attr("novalidate")==p&&d.fire(t,"ajax:aborted:required",[r]))return d.stopEverything(e);if(n){if(i){setTimeout(function(){d.disableFormElements(t)},13);var o=d.fire(t,"ajax:aborted:file",[i]);return o||setTimeout(function(){d.enableFormElements(t)},13),o}return d.handleRemote(t),!1}setTimeout(function(){d.disableFormElements(t)},13)}),f(document).delegate(d.formInputClickSelector,"click.rails",function(e){var t=f(this);if(!d.allowAction(t))return d.stopEverything(e);var n=t.attr("name"),r=n?{name:n,value:t.val()}:null;t.closest("form").data("ujs:submit-button",r)}),f(document).delegate(d.formSubmitSelector,"ajax:beforeSend.rails",function(e){this==e.target&&d.disableFormElements(f(this))}),f(document).delegate(d.formSubmitSelector,"ajax:complete.rails",function(e){this==e.target&&d.enableFormElements(f(this))}),f(function(){var e=f("meta[name=csrf-token]").attr("content"),t=f("meta[name=csrf-param]").attr("content");f('form input[name="'+t+'"]').val(e)}))}(jQuery),$(function(){$(document).ready(function(){$(".tree ul:first > li:first").addClass("branch_start"),$(".tree  ul").find("li:last").addClass("branch_end"),$("ul.tristate").tristate(),$(".tree").delegate(".toggle","click",function(e){e.preventDefault();var t=$(this).parents("li:first"),n=t.find(".icon.toggle"),r=t.find(".nested");n.hasClass("expanded")?(n.removeClass("expanded"),r.slideUp()):(n.addClass("expanded"),r.slideDown())})})}),function(o){o.fn.tristate=function(e){var i={selector:o(this).selector,checked:null,container:null,siblings:null};o.extend(i,e);return this.each(function(){var r,e=o(this),t=r={init:function(){o('input[type="checkbox"]',e).change(function(){i.checked=o(this).prop("checked"),i.container=o(this).parent(),i.siblings=i.container.siblings(),i.container.find('input[type="checkbox"]').prop({indeterminate:!1,checked:i.checked}),r.checkSiblings(i.container)}),o("input[type=checkbox]:checked",e).each(function(){r.checkSiblings(o(this).parent())})},checkSiblings:function(e){var t=e.parent().parent(),n=!0;e.siblings().each(function(){return n=o(this).children('input[type="checkbox"]').prop("checked")===i.checked}),n&&i.checked?(t.children('input[type="checkbox"]').prop({indeterminate:!1,checked:i.checked}),r.checkSiblings(t)):n&&!i.checked?(t.children('input[type="checkbox"]').prop("checked",i.checked),t.children('input[type="checkbox"]').prop("indeterminate",0<t.find('input[type="checkbox"]:checked').length),r.checkSiblings(t)):e.parents("li").children('input[type="checkbox"]').prop({indeterminate:!0,checked:!1})}};t.init(),t.checkSiblings(e)})}}(jQuery),window.onload=function(){$("video").is("*")&&($("body").append('<link href="http://vjs.zencdn.net/c/video-js.css" rel="stylesheet">'),$("body").append('<script src="http://vjs.zencdn.net/c/video.js"></script>'))};