var $jscomp=$jscomp||{};$jscomp.scope={};$jscomp.ASSUME_ES5=!1;$jscomp.ASSUME_NO_NATIVE_MAP=!1;$jscomp.ASSUME_NO_NATIVE_SET=!1;$jscomp.defineProperty=$jscomp.ASSUME_ES5||"function"==typeof Object.defineProperties?Object.defineProperty:function(c,l,h){c!=Array.prototype&&c!=Object.prototype&&(c[l]=h.value)};$jscomp.getGlobal=function(c){return"undefined"!=typeof window&&window===c?c:"undefined"!=typeof global&&null!=global?global:c};$jscomp.global=$jscomp.getGlobal(this);$jscomp.SYMBOL_PREFIX="jscomp_symbol_";
$jscomp.initSymbol=function(){$jscomp.initSymbol=function(){};$jscomp.global.Symbol||($jscomp.global.Symbol=$jscomp.Symbol)};$jscomp.Symbol=function(){var c=0;return function(l){return $jscomp.SYMBOL_PREFIX+(l||"")+c++}}();
$jscomp.initSymbolIterator=function(){$jscomp.initSymbol();var c=$jscomp.global.Symbol.iterator;c||(c=$jscomp.global.Symbol.iterator=$jscomp.global.Symbol("iterator"));"function"!=typeof Array.prototype[c]&&$jscomp.defineProperty(Array.prototype,c,{configurable:!0,writable:!0,value:function(){return $jscomp.arrayIterator(this)}});$jscomp.initSymbolIterator=function(){}};$jscomp.arrayIterator=function(c){var l=0;return $jscomp.iteratorPrototype(function(){return l<c.length?{done:!1,value:c[l++]}:{done:!0}})};
$jscomp.iteratorPrototype=function(c){$jscomp.initSymbolIterator();c={next:c};c[$jscomp.global.Symbol.iterator]=function(){return this};return c};$jscomp.makeIterator=function(c){$jscomp.initSymbolIterator();var l=c[Symbol.iterator];return l?l.call(c):$jscomp.arrayIterator(c)};$jscomp.findInternal=function(c,l,h){c instanceof String&&(c=String(c));for(var f=c.length,g=0;g<f;g++){var r=c[g];if(l.call(h,r,g,c))return{i:g,v:r}}return{i:-1,v:void 0}};
$jscomp.polyfill=function(c,l,h,f){if(l){h=$jscomp.global;c=c.split(".");for(f=0;f<c.length-1;f++){var g=c[f];g in h||(h[g]={});h=h[g]}c=c[c.length-1];f=h[c];l=l(f);l!=f&&null!=l&&$jscomp.defineProperty(h,c,{configurable:!0,writable:!0,value:l})}};$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(c,h){return $jscomp.findInternal(this,c,h).v}},"es6","es3");
(function(c,l){"object"===typeof module&&"object"===typeof module.exports?module.exports=c.document?l(c,!0):function(c){if(!c.document)throw Error("jQuery requires a window with a document");return l(c)}:l(c)})("undefined"!==typeof window?window:this,function(c,l){function h(a,b,d){b=b||C;var k,e=b.createElement("script");e.text=a;if(d)for(k in Eb)d[k]&&(e[k]=d[k]);b.head.appendChild(e).parentNode.removeChild(e)}function f(a){return null==a?a+"":"object"===typeof a||"function"===typeof a?Ca[bb.call(a)]||
"object":typeof a}function g(a){var b=!!a&&"length"in a&&a.length,d=f(a);return A(a)||ka(a)?!1:"array"===d||0===b||"number"===typeof b&&0<b&&b-1 in a}function r(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()}function x(a,b,d){return A(b)?e.grep(a,function(a,e){return!!b.call(a,e,a)!==d}):b.nodeType?e.grep(a,function(a){return a===b!==d}):"string"!==typeof b?e.grep(a,function(a){return-1<Da.call(b,a)!==d}):e.filter(b,a,d)}function y(a,b){for(;(a=a[b])&&1!==a.nodeType;);return a}
function v(a){var b={};e.each(a.match(Z)||[],function(a,k){b[k]=!0});return b}function E(a){return a}function B(a){throw a;}function F(a,b,d,k){var e;try{a&&A(e=a.promise)?e.call(a).done(b).fail(d):a&&A(e=a.then)?e.call(a,b,d):b.apply(void 0,[a].slice(k))}catch(q){d.apply(void 0,[q])}}function u(){C.removeEventListener("DOMContentLoaded",u);c.removeEventListener("load",u);e.ready()}function I(a,b){return b.toUpperCase()}function J(a){return a.replace(Fb,"ms-").replace(Gb,I)}function N(){this.expando=
e.expando+N.uid++}function S(a,b,d){if(void 0===d&&1===a.nodeType)if(d="data-"+b.replace(Hb,"-$&").toLowerCase(),d=a.getAttribute(d),"string"===typeof d){try{var k=d;d="true"===k?!0:"false"===k?!1:"null"===k?null:k===+k+""?+k:Ib.test(k)?JSON.parse(k):k}catch(m){}V.set(a,b,d)}else d=void 0;return d}function ca(a,b,d,k){var m,c=20,n=k?function(){return k.cur()}:function(){return e.css(a,b,"")},f=n(),p=d&&d[3]||(e.cssNumber[b]?"":"px"),t=(e.cssNumber[b]||"px"!==p&&+f)&&va.exec(e.css(a,b));if(t&&t[3]!==
p){f/=2;p=p||t[3];for(t=+f||1;c--;)e.style(a,b,t+p),0>=(1-m)*(1-(m=n()/f||.5))&&(c=0),t/=m;t*=2;e.style(a,b,t+p);d=d||[]}if(d){t=+t||+f||0;var g=d[1]?t+(d[1]+1)*d[2]:+d[2];k&&(k.unit=p,k.start=t,k.end=g)}return g}function K(a,b){for(var d,k,c=[],q=0,n=a.length;q<n;q++)if(k=a[q],k.style)if(d=k.style.display,b){if("none"===d&&(c[q]=w.get(k,"display")||null,c[q]||(k.style.display="")),""===k.style.display&&Ea(k)){d=q;var f=k.ownerDocument;k=k.nodeName;var p=cb[k];p||(f=f.body.appendChild(f.createElement(k)),
p=e.css(f,"display"),f.parentNode.removeChild(f),"none"===p&&(p="block"),cb[k]=p);f=p;c[d]=f}}else"none"!==d&&(c[q]="none",w.set(k,"display",d));for(q=0;q<n;q++)null!=c[q]&&(a[q].style.display=c[q]);return a}function H(a,b){var d="undefined"!==typeof a.getElementsByTagName?a.getElementsByTagName(b||"*"):"undefined"!==typeof a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&r(a,b)?e.merge([a],d):d}function R(a,b){for(var d=0,k=a.length;d<k;d++)w.set(a[d],"globalEval",!b||w.get(b[d],
"globalEval"))}function da(a,b,d,k,c){for(var m,n,z,p=b.createDocumentFragment(),t=[],g=0,l=a.length;g<l;g++)if((m=a[g])||0===m)if("object"===f(m))e.merge(t,m.nodeType?[m]:m);else if(Jb.test(m)){n=n||p.appendChild(b.createElement("div"));z=(db.exec(m)||["",""])[1].toLowerCase();z=X[z]||X._default;n.innerHTML=z[1]+e.htmlPrefilter(m)+z[2];for(z=z[0];z--;)n=n.lastChild;e.merge(t,n.childNodes);n=p.firstChild;n.textContent=""}else t.push(b.createTextNode(m));p.textContent="";for(g=0;m=t[g++];)if(k&&-1<
e.inArray(m,k))c&&c.push(m);else if(a=e.contains(m.ownerDocument,m),n=H(p.appendChild(m),"script"),a&&R(n),d)for(z=0;m=n[z++];)eb.test(m.type||"")&&d.push(m);return p}function P(){return!0}function aa(){return!1}function Fa(){try{return C.activeElement}catch(a){}}function za(a,b,d,k,c,q){var m;if("object"===typeof b){"string"!==typeof d&&(k=k||d,d=void 0);for(m in b)za(a,m,d,k,b[m],q);return a}null==k&&null==c?(c=d,k=d=void 0):null==c&&("string"===typeof d?(c=k,k=void 0):(c=k,k=d,d=void 0));if(!1===
c)c=aa;else if(!c)return a;if(1===q){var f=c;c=function(a){e().off(a);return f.apply(this,arguments)};c.guid=f.guid||(f.guid=e.guid++)}return a.each(function(){e.event.add(this,b,c,k,d)})}function ia(a,b){return r(a,"table")&&r(11!==b.nodeType?b:b.firstChild,"tr")?e(a).children("tbody")[0]||a:a}function Qa(a){a.type=(null!==a.getAttribute("type"))+"/"+a.type;return a}function Kb(a){"true/"===(a.type||"").slice(0,5)?a.type=a.type.slice(5):a.removeAttribute("type");return a}function ya(a,b){var d,k;
if(1===b.nodeType){if(w.hasData(a)){var c=w.access(a);var q=w.set(b,c);if(c=c.events)for(k in delete q.handle,q.events={},c)for(q=0,d=c[k].length;q<d;q++)e.event.add(b,k,c[k][q])}V.hasData(a)&&(a=V.access(a),a=e.extend({},a),V.set(b,a))}}function ra(a,b,d,k){b=fb.apply([],b);var c,q=0,n=a.length,f=n-1,p=b[0],t=A(p);if(t||1<n&&"string"===typeof p&&!M.checkClone&&Lb.test(p))return a.each(function(e){var c=a.eq(e);t&&(b[0]=p.call(this,e,c.html()));ra(c,b,d,k)});if(n){var g=da(b,a[0].ownerDocument,!1,
a,k);var l=g.firstChild;1===g.childNodes.length&&(g=l);if(l||k){l=e.map(H(g,"script"),Qa);for(c=l.length;q<n;q++){var u=g;q!==f&&(u=e.clone(u,!0,!0),c&&e.merge(l,H(u,"script")));d.call(a[q],u,q)}if(c)for(g=l[l.length-1].ownerDocument,e.map(l,Kb),q=0;q<c;q++)u=l[q],eb.test(u.type||"")&&!w.access(u,"globalEval")&&e.contains(g,u)&&(u.src&&"module"!==(u.type||"").toLowerCase()?e._evalUrl&&e._evalUrl(u.src):h(u.textContent.replace(Nb,""),g,u))}}return a}function gb(a,b,d){for(var k=b?e.filter(b,a):a,c=
0;null!=(b=k[c]);c++)d||1!==b.nodeType||e.cleanData(H(b)),b.parentNode&&(d&&e.contains(b.ownerDocument,b)&&R(H(b,"script")),b.parentNode.removeChild(b));return a}function G(a,b,d){var k=a.style;if(d=d||Ga(a)){var c=d.getPropertyValue(b)||d[b];""!==c||e.contains(a.ownerDocument,a)||(c=e.style(a,b));if(!M.pixelBoxStyles()&&Ra.test(c)&&Ob.test(b)){a=k.width;b=k.minWidth;var q=k.maxWidth;k.minWidth=k.maxWidth=k.width=c;c=d.width;k.width=a;k.minWidth=b;k.maxWidth=q}}return void 0!==c?c+"":c}function Ha(a,
b){return{get:function(){if(a())delete this.get;else return(this.get=b).apply(this,arguments)}}}function Ia(a){var b=e.cssProps[a];if(!b){b=e.cssProps;a:{var d=a;if(!(d in hb)){for(var k=d[0].toUpperCase()+d.slice(1),c=ib.length;c--;)if(d=ib[c]+k,d in hb)break a;d=void 0}}b=b[a]=d||a}return b}function Ja(a,b,d){return(a=va.exec(b))?Math.max(0,a[2]-(d||0))+(a[3]||"px"):b}function ea(a,b,d,k,c,q){var m="width"===b?1:0,f=0,p=0;if(d===(k?"border":"content"))return 0;for(;4>m;m+=2)"margin"===d&&(p+=e.css(a,
d+Y[m],!0,c)),k?("content"===d&&(p-=e.css(a,"padding"+Y[m],!0,c)),"margin"!==d&&(p-=e.css(a,"border"+Y[m]+"Width",!0,c))):(p+=e.css(a,"padding"+Y[m],!0,c),"padding"!==d?p+=e.css(a,"border"+Y[m]+"Width",!0,c):f+=e.css(a,"border"+Y[m]+"Width",!0,c));!k&&0<=q&&(p+=Math.max(0,Math.ceil(a["offset"+b[0].toUpperCase()+b.slice(1)]-q-p-f-.5)));return p}function Aa(a,b,d){var k=Ga(a),c=G(a,b,k),q="border-box"===e.css(a,"boxSizing",!1,k),n=q;if(Ra.test(c)){if(!d)return c;c="auto"}n=n&&(M.boxSizingReliable()||
c===a.style[b]);if("auto"===c||!parseFloat(c)&&"inline"===e.css(a,"display",!1,k))c=a["offset"+b[0].toUpperCase()+b.slice(1)],n=!0;c=parseFloat(c)||0;return c+ea(a,b,d||(q?"border":"content"),n,k,c)+"px"}function W(a,b,d,k,e){return new W.prototype.init(a,b,d,k,e)}function sa(){Ka&&(!1===C.hidden&&c.requestAnimationFrame?c.requestAnimationFrame(sa):c.setTimeout(sa,e.fx.interval),e.fx.tick())}function La(){c.setTimeout(function(){la=void 0});return la=Date.now()}function Ma(a,b){var d=0,e={height:a};
for(b=b?1:0;4>d;d+=2-b){var c=Y[d];e["margin"+c]=e["padding"+c]=a}b&&(e.opacity=e.width=a);return e}function jb(a,b,d){for(var e,c=(T.tweeners[b]||[]).concat(T.tweeners["*"]),q=0,n=c.length;q<n;q++)if(e=c[q].call(d,b,a))return e}function Pb(a,b){var d,k;for(d in a){var c=J(d);var q=b[c];var n=a[d];Array.isArray(n)&&(q=n[1],n=a[d]=n[0]);d!==c&&(a[c]=n,delete a[d]);if((k=e.cssHooks[c])&&"expand"in k)for(d in n=k.expand(n),delete a[c],n)d in a||(a[d]=n[d],b[d]=q);else b[c]=q}}function T(a,b,d){var k,
c=0,q=T.prefilters.length,n=e.Deferred().always(function(){delete f.elem}),f=function(){if(k)return!1;var b=la||La();b=Math.max(0,p.startTime+p.duration-b);for(var d=1-(b/p.duration||0),e=0,c=p.tweens.length;e<c;e++)p.tweens[e].run(d);n.notifyWith(a,[p,d,b]);if(1>d&&c)return b;c||n.notifyWith(a,[p,1,0]);n.resolveWith(a,[p]);return!1},p=n.promise({elem:a,props:e.extend({},b),opts:e.extend(!0,{specialEasing:{},easing:e.easing._default},d),originalProperties:b,originalOptions:d,startTime:la||La(),duration:d.duration,
tweens:[],createTween:function(b,d){b=e.Tween(a,p.opts,b,d,p.opts.specialEasing[b]||p.opts.easing);p.tweens.push(b);return b},stop:function(b){var d=0,e=b?p.tweens.length:0;if(k)return this;for(k=!0;d<e;d++)p.tweens[d].run(1);b?(n.notifyWith(a,[p,1,0]),n.resolveWith(a,[p,b])):n.rejectWith(a,[p,b]);return this}});d=p.props;for(Pb(d,p.opts.specialEasing);c<q;c++)if(b=T.prefilters[c].call(p,a,d,p.opts))return A(b.stop)&&(e._queueHooks(p.elem,p.opts.queue).stop=b.stop.bind(b)),b;e.map(d,jb,p);A(p.opts.start)&&
p.opts.start.call(a,p);p.progress(p.opts.progress).done(p.opts.done,p.opts.complete).fail(p.opts.fail).always(p.opts.always);e.fx.timer(e.extend(f,{elem:a,anim:p,queue:p.opts.queue}));return p}function ma(a){return(a.match(Z)||[]).join(" ")}function na(a){return a.getAttribute&&a.getAttribute("class")||""}function Sa(a){return Array.isArray(a)?a:"string"===typeof a?a.match(Z)||[]:[]}function Ta(a,b,d,k){var c;if(Array.isArray(b))e.each(b,function(b,e){d||Qb.test(a)?k(a,e):Ta(a+"["+("object"===typeof e&&
null!=e?b:"")+"]",e,d,k)});else if(d||"object"!==f(b))k(a,b);else for(c in b)Ta(a+"["+c+"]",b[c],d,k)}function kb(a){return function(b,d){"string"!==typeof b&&(d=b,b="*");var e=0,c=b.toLowerCase().match(Z)||[];if(A(d))for(;b=c[e++];)"+"===b[0]?(b=b.slice(1)||"*",(a[b]=a[b]||[]).unshift(d)):(a[b]=a[b]||[]).push(d)}}function lb(a,b,d,k){function c(m){var n;q[m]=!0;e.each(a[m]||[],function(a,e){a=e(b,d,k);if("string"===typeof a&&!f&&!q[a])return b.dataTypes.unshift(a),c(a),!1;if(f)return!(n=a)});return n}
var q={},f=a===Ua;return c(b.dataTypes[0])||!q["*"]&&c("*")}function Va(a,b){var d,k,c=e.ajaxSettings.flatOptions||{};for(d in b)void 0!==b[d]&&((c[d]?a:k||(k={}))[d]=b[d]);k&&e.extend(!0,a,k);return a}var ba=[],C=c.document,Rb=Object.getPrototypeOf,oa=ba.slice,fb=ba.concat,Wa=ba.push,Da=ba.indexOf,Ca={},bb=Ca.toString,Na=Ca.hasOwnProperty,mb=Na.toString,Sb=mb.call(Object),M={},A=function(a){return"function"===typeof a&&"number"!==typeof a.nodeType},ka=function(a){return null!=a&&a===a.window},Eb=
{type:!0,src:!0,noModule:!0},e=function(a,b){return new e.fn.init(a,b)},Tb=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g;e.fn=e.prototype={jquery:"3.3.1",constructor:e,length:0,toArray:function(){return oa.call(this)},get:function(a){return null==a?oa.call(this):0>a?this[a+this.length]:this[a]},pushStack:function(a){a=e.merge(this.constructor(),a);a.prevObject=this;return a},each:function(a){return e.each(this,a)},map:function(a){return this.pushStack(e.map(this,function(b,d){return a.call(b,d,b)}))},slice:function(){return this.pushStack(oa.apply(this,
arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length;a=+a+(0>a?b:0);return this.pushStack(0<=a&&a<b?[this[a]]:[])},end:function(){return this.prevObject||this.constructor()},push:Wa,sort:ba.sort,splice:ba.splice};e.extend=e.fn.extend=function(){var a,b,d,c=arguments[0]||{},m=1,q=arguments.length,f=!1;"boolean"===typeof c&&(f=c,c=arguments[m]||{},m++);"object"===typeof c||A(c)||(c={});m===q&&(c=this,m--);for(;m<q;m++)if(null!=(a=arguments[m]))for(b in a){var g=
c[b];var p=a[b];c!==p&&(f&&p&&(e.isPlainObject(p)||(d=Array.isArray(p)))?(d?(d=!1,g=g&&Array.isArray(g)?g:[]):g=g&&e.isPlainObject(g)?g:{},c[b]=e.extend(f,g,p)):void 0!==p&&(c[b]=p))}return c};e.extend({expando:"jQuery"+("3.3.1"+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw Error(a);},noop:function(){},isPlainObject:function(a){if(!a||"[object Object]"!==bb.call(a))return!1;a=Rb(a);if(!a)return!0;a=Na.call(a,"constructor")&&a.constructor;return"function"===typeof a&&mb.call(a)===
Sb},isEmptyObject:function(a){for(var b in a)return!1;return!0},globalEval:function(a){h(a)},each:function(a,b){var d,e=0;if(g(a))for(d=a.length;e<d&&!1!==b.call(a[e],e,a[e]);e++);else for(e in a)if(!1===b.call(a[e],e,a[e]))break;return a},trim:function(a){return null==a?"":(a+"").replace(Tb,"")},makeArray:function(a,b){b=b||[];null!=a&&(g(Object(a))?e.merge(b,"string"===typeof a?[a]:a):Wa.call(b,a));return b},inArray:function(a,b,d){return null==b?-1:Da.call(b,a,d)},merge:function(a,b){for(var d=
+b.length,e=0,c=a.length;e<d;e++)a[c++]=b[e];a.length=c;return a},grep:function(a,b,d){for(var e=[],c=0,q=a.length,f=!d;c<q;c++)d=!b(a[c],c),d!==f&&e.push(a[c]);return e},map:function(a,b,d){var e,c=0,q=[];if(g(a))for(e=a.length;c<e;c++){var f=b(a[c],c,d);null!=f&&q.push(f)}else for(c in a)f=b(a[c],c,d),null!=f&&q.push(f);return fb.apply([],q)},guid:1,support:M});$jscomp.initSymbol();"function"===typeof Symbol&&($jscomp.initSymbol(),$jscomp.initSymbolIterator(),$jscomp.initSymbol(),$jscomp.initSymbolIterator(),
e.fn[Symbol.iterator]=ba[Symbol.iterator]);e.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(a,b){Ca["[object "+b+"]"]=b.toLowerCase()});var fa=function(a){function b(a,b,d,e){var c,k,D,m,q=b&&b.ownerDocument,f=b?b.nodeType:9;d=d||[];if("string"!==typeof a||!a||1!==f&&9!==f&&11!==f)return d;if(!e&&((b?b.ownerDocument||b:G)!==w&&wa(b),b=b||w,C)){if(11!==f&&(m=oa.exec(a)))if(c=m[1])if(9===f)if(k=b.getElementById(c)){if(k.id===c)return d.push(k),d}else return d;
else{if(q&&(k=q.getElementById(c))&&M(b,k)&&k.id===c)return d.push(k),d}else{if(m[2])return T.apply(d,b.getElementsByTagName(a)),d;if((c=m[3])&&Q.getElementsByClassName&&b.getElementsByClassName)return T.apply(d,b.getElementsByClassName(c)),d}if(!(!Q.qsa||P[a+" "]||F&&F.test(a))){if(1!==f){q=b;var U=a}else if("object"!==b.nodeName.toLowerCase()){(D=b.getAttribute("id"))?D=D.replace(ka,Aa):b.setAttribute("id",D=O);k=ja(a);for(c=k.length;c--;)k[c]="#"+D+" "+r(k[c]);U=k.join(",");q=fa.test(a)&&u(b.parentNode)||
b}if(U)try{return T.apply(d,q.querySelectorAll(U)),d}catch(xc){}finally{D===O&&b.removeAttribute("id")}}}return xa(a.replace(Y,"$1"),b,d,e)}function d(){function a(d,e){b.push(d+" ")>L.cacheLength&&delete a[b.shift()];return a[d+" "]=e}var b=[];return a}function e(a){a[O]=!0;return a}function c(a){var b=w.createElement("fieldset");try{return!!a(b)}catch(U){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}}function q(a,b){a=a.split("|");for(var d=a.length;d--;)L.attrHandle[a[d]]=b}function f(a,
b){var d=b&&a,e=d&&1===a.nodeType&&1===b.nodeType&&a.sourceIndex-b.sourceIndex;if(e)return e;if(d)for(;d=d.nextSibling;)if(d===b)return-1;return a?1:-1}function g(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function p(a){return function(b){var d=b.nodeName.toLowerCase();return("input"===d||"button"===d)&&b.type===a}}function t(a){return function(b){return"form"in b?b.parentNode&&!1===b.disabled?"label"in b?"label"in b.parentNode?b.parentNode.disabled===a:b.disabled===
a:b.isDisabled===a||b.isDisabled!==!a&&ta(b)===a:b.disabled===a:"label"in b?b.disabled===a:!1}}function l(a){return e(function(b){b=+b;return e(function(d,e){for(var c,k=a([],d.length,b),m=k.length;m--;)d[c=k[m]]&&(d[c]=!(e[c]=d[c]))})})}function u(a){return a&&"undefined"!==typeof a.getElementsByTagName&&a}function h(){}function r(a){for(var b=0,d=a.length,e="";b<d;b++)e+=a[b].value;return e}function x(a,b,d){var e=b.dir,c=b.next,k=c||e,m=d&&"parentNode"===k,q=Fa++;return b.first?function(b,d,c){for(;b=
b[e];)if(1===b.nodeType||m)return a(b,d,c);return!1}:function(b,d,f){var D,n=[R,q];if(f)for(;b=b[e];){if((1===b.nodeType||m)&&a(b,d,f))return!0}else for(;b=b[e];)if(1===b.nodeType||m){var U=b[O]||(b[O]={});U=U[b.uniqueID]||(U[b.uniqueID]={});if(c&&c===b.nodeName.toLowerCase())b=b[e]||b;else{if((D=U[k])&&D[0]===R&&D[1]===q)return n[2]=D[2];U[k]=n;if(n[2]=a(b,d,f))return!0}}return!1}}function I(a){return 1<a.length?function(b,d,e){for(var c=a.length;c--;)if(!a[c](b,d,e))return!1;return!0}:a[0]}function y(a,
b,d,e,c){for(var k,m=[],q=0,f=a.length,D=null!=b;q<f;q++)if(k=a[q])if(!d||d(k,e,c))m.push(k),D&&b.push(q);return m}function J(a,d,c,k,m,q){k&&!k[O]&&(k=J(k));m&&!m[O]&&(m=J(m,q));return e(function(e,q,f,D){var n,U=[],p=[],g=q.length,t;if(!(t=e)){t=d||"*";for(var z=f.nodeType?[f]:f,Ba=[],l=0,u=z.length;l<u;l++)b(t,z[l],Ba);t=Ba}t=!a||!e&&d?t:y(t,U,a,f,D);z=c?m||(e?a:g||k)?[]:q:t;c&&c(t,z,f,D);if(k){var h=y(z,p);k(h,[],f,D);for(f=h.length;f--;)if(n=h[f])z[p[f]]=!(t[p[f]]=n)}if(e){if(m||a){if(m){h=[];
for(f=z.length;f--;)(n=z[f])&&h.push(t[f]=n);m(null,z=[],h,D)}for(f=z.length;f--;)(n=z[f])&&-1<(h=m?ea(e,n):U[f])&&(e[h]=!(q[h]=n))}}else z=y(z===q?z.splice(g,z.length):z),m?m(null,q,z,D):T.apply(q,z)})}function v(a){var b,d,e=a.length,c=L.relative[a[0].type];var k=c||L.relative[" "];for(var m=c?1:0,q=x(function(a){return a===b},k,!0),f=x(function(a){return-1<ea(b,a)},k,!0),D=[function(a,d,e){a=!c&&(e||d!==B)||((b=d).nodeType?q(a,d,e):f(a,d,e));b=null;return a}];m<e;m++)if(k=L.relative[a[m].type])D=
[x(I(D),k)];else{k=L.filter[a[m].type].apply(null,a[m].matches);if(k[O]){for(d=++m;d<e&&!L.relative[a[d].type];d++);return J(1<m&&I(D),1<m&&r(a.slice(0,m-1).concat({value:" "===a[m-2].type?"*":""})).replace(Y,"$1"),k,m<d&&v(a.slice(m,d)),d<e&&v(a=a.slice(d)),d<e&&r(a))}D.push(k)}return I(D)}function E(a,d){var c=0<d.length,k=0<a.length,m=function(e,m,q,f,D){var n,U,p=0,g="0",t=e&&[],z=[],l=B,Ba=e||k&&L.find.TAG("*",D),h=R+=null==l?1:Math.random()||.1,u=Ba.length;for(D&&(B=m===w||m||D);g!==u&&null!=
(n=Ba[g]);g++){if(k&&n){var r=0;m||n.ownerDocument===w||(wa(n),q=!C);for(;U=a[r++];)if(U(n,m||w,q)){f.push(n);break}D&&(R=h)}c&&((n=!U&&n)&&p--,e&&t.push(n))}p+=g;if(c&&g!==p){for(r=0;U=d[r++];)U(t,z,m,q);if(e){if(0<p)for(;g--;)t[g]||z[g]||(z[g]=X.call(f));z=y(z)}T.apply(f,z);D&&!e&&0<z.length&&1<p+d.length&&b.uniqueSort(f)}D&&(R=h,B=l);return t};return c?e(m):m}var N,B,S,K,w,A,C,F,H,ca,M,O="sizzle"+1*new Date,G=a.document,R=0,Fa=0,W=d(),da=d(),P=d(),V=function(a,b){a===b&&(K=!0);return 0},za={}.hasOwnProperty,
ia=[],X=ia.pop,aa=ia.push,T=ia.push,Z=ia.slice,ea=function(a,b){for(var d=0,e=a.length;d<e;d++)if(a[d]===b)return d;return-1},Qa=/[\x20\t\r\n\f]+/g,Y=/^[\x20\t\r\n\f]+|((?:^|[^\\])(?:\\.)*)[\x20\t\r\n\f]+$/g,ha=/^[\x20\t\r\n\f]*,[\x20\t\r\n\f]*/,ra=/^[\x20\t\r\n\f]*([>+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,La=/=[\x20\t\r\n\f]*([^\]'"]*?)[\x20\t\r\n\f]*\]/g,Ha=/:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,
Ja=/^(?:\\.|[\w-]|[^\x00-\xa0])+$/,sa={ID:/^#((?:\\.|[\w-]|[^\x00-\xa0])+)/,CLASS:/^\.((?:\\.|[\w-]|[^\x00-\xa0])+)/,TAG:/^((?:\\.|[\w-]|[^\x00-\xa0])+|[*])/,ATTR:/^\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\]/,PSEUDO:/^:((?:\\.|[\w-]|[^\x00-\xa0])+)(?:\((('((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)")|((?:\\.|[^\\()[\]]|\[[\x20\t\r\n\f]*((?:\\.|[\w-]|[^\x00-\xa0])+)(?:[\x20\t\r\n\f]*([*^$|!~]?=)[\x20\t\r\n\f]*(?:'((?:\\.|[^\\'])*)'|"((?:\\.|[^\\"])*)"|((?:\\.|[\w-]|[^\x00-\xa0])+))|)[\x20\t\r\n\f]*\])*)|.*)\)|)/,
CHILD:/^:(only|first|last|nth|nth-last)-(child|of-type)(?:\([\x20\t\r\n\f]*(even|odd|(([+-]|)(\d*)n|)[\x20\t\r\n\f]*(?:([+-]|)[\x20\t\r\n\f]*(\d+)|))[\x20\t\r\n\f]*\)|)/i,bool:/^(?:checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)$/i,needsContext:/^[\x20\t\r\n\f]*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\([\x20\t\r\n\f]*((?:-\d)?\d*)[\x20\t\r\n\f]*\)|)(?=[^-]|$)/i},ma=/^(?:input|select|textarea|button)$/i,na=/^h\d$/i,ba=
/^[^{]+\{\s*\[native \w/,oa=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,fa=/[+~]/,pa=/\\([\da-f]{1,6}[\x20\t\r\n\f]?|([\x20\t\r\n\f])|.)/ig,qa=function(a,b,d){a="0x"+b-65536;return a!==a||d?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,a&1023|56320)},ka=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\0-\x1f\x7f-\uFFFF\w-]/g,Aa=function(a,b){return b?"\x00"===a?"\ufffd":a.slice(0,-1)+"\\"+a.charCodeAt(a.length-1).toString(16)+" ":"\\"+a},la=function(){wa()},ta=x(function(a){return!0===a.disabled&&("form"in
a||"label"in a)},{dir:"parentNode",next:"legend"});try{T.apply(ia=Z.call(G.childNodes),G.childNodes),ia[G.childNodes.length].nodeType}catch(D){T={apply:ia.length?function(a,b){aa.apply(a,Z.call(b))}:function(a,b){for(var d=a.length,e=0;a[d++]=b[e++];);a.length=d-1}}}var Q=b.support={};var va=b.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};var wa=b.setDocument=function(a){var b;a=a?a.ownerDocument||a:G;if(a===w||9!==a.nodeType||!a.documentElement)return w;
w=a;A=w.documentElement;C=!va(w);G!==w&&(b=w.defaultView)&&b.top!==b&&(b.addEventListener?b.addEventListener("unload",la,!1):b.attachEvent&&b.attachEvent("onunload",la));Q.attributes=c(function(a){a.className="i";return!a.getAttribute("className")});Q.getElementsByTagName=c(function(a){a.appendChild(w.createComment(""));return!a.getElementsByTagName("*").length});Q.getElementsByClassName=ba.test(w.getElementsByClassName);Q.getById=c(function(a){A.appendChild(a).id=O;return!w.getElementsByName||!w.getElementsByName(O).length});
Q.getById?(L.filter.ID=function(a){var b=a.replace(pa,qa);return function(a){return a.getAttribute("id")===b}},L.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&C)return(a=b.getElementById(a))?[a]:[]}):(L.filter.ID=function(a){var b=a.replace(pa,qa);return function(a){return(a="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===b}},L.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&C){var d,e=b.getElementById(a);if(e){if((d=e.getAttributeNode("id"))&&
d.value===a)return[e];var c=b.getElementsByName(a);for(b=0;e=c[b++];)if((d=e.getAttributeNode("id"))&&d.value===a)return[e]}return[]}});L.find.TAG=Q.getElementsByTagName?function(a,b){if("undefined"!==typeof b.getElementsByTagName)return b.getElementsByTagName(a);if(Q.qsa)return b.querySelectorAll(a)}:function(a,b){var d=[],e=0;b=b.getElementsByTagName(a);if("*"===a){for(;a=b[e++];)1===a.nodeType&&d.push(a);return d}return b};L.find.CLASS=Q.getElementsByClassName&&function(a,b){if("undefined"!==typeof b.getElementsByClassName&&
C)return b.getElementsByClassName(a)};H=[];F=[];if(Q.qsa=ba.test(w.querySelectorAll))c(function(a){A.appendChild(a).innerHTML="<a id='"+O+"'></a><select id='"+O+"-\r\\' msallowcapture=''><option selected=''></option></select>";a.querySelectorAll("[msallowcapture^='']").length&&F.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||F.push("\\[[\\x20\\t\\r\\n\\f]*(?:value|checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped)");
a.querySelectorAll("[id~="+O+"-]").length||F.push("~=");a.querySelectorAll(":checked").length||F.push(":checked");a.querySelectorAll("a#"+O+"+*").length||F.push(".#.+[+~]")}),c(function(a){a.innerHTML="<a href='' disabled='disabled'></a><select disabled='disabled'><option/></select>";var b=w.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");a.querySelectorAll("[name=d]").length&&F.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");2!==a.querySelectorAll(":enabled").length&&
F.push(":enabled",":disabled");A.appendChild(a).disabled=!0;2!==a.querySelectorAll(":disabled").length&&F.push(":enabled",":disabled");a.querySelectorAll("*,:x");F.push(",.*:")});(Q.matchesSelector=ba.test(ca=A.matches||A.webkitMatchesSelector||A.mozMatchesSelector||A.oMatchesSelector||A.msMatchesSelector))&&c(function(a){Q.disconnectedMatch=ca.call(a,"*");ca.call(a,"[s!='']:x");H.push("!=",":((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|\\[[\\x20\\t\\r\\n\\f]*((?:\\\\.|[\\w-]|[^\x00-\\xa0])+)(?:[\\x20\\t\\r\\n\\f]*([*^$|!~]?=)[\\x20\\t\\r\\n\\f]*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|((?:\\\\.|[\\w-]|[^\x00-\\xa0])+))|)[\\x20\\t\\r\\n\\f]*\\])*)|.*)\\)|)")});
F=F.length&&new RegExp(F.join("|"));H=H.length&&new RegExp(H.join("|"));M=(b=ba.test(A.compareDocumentPosition))||ba.test(A.contains)?function(a,b){var d=9===a.nodeType?a.documentElement:a;b=b&&b.parentNode;return a===b||!!(b&&1===b.nodeType&&(d.contains?d.contains(b):a.compareDocumentPosition&&a.compareDocumentPosition(b)&16))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1};V=b?function(a,b){if(a===b)return K=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;if(d)return d;
d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1;return d&1||!Q.sortDetached&&b.compareDocumentPosition(a)===d?a===w||a.ownerDocument===G&&M(G,a)?-1:b===w||b.ownerDocument===G&&M(G,b)?1:S?ea(S,a)-ea(S,b):0:d&4?-1:1}:function(a,b){if(a===b)return K=!0,0;var d=0,e=a.parentNode,c=b.parentNode,k=[a],m=[b];if(!e||!c)return a===w?-1:b===w?1:e?-1:c?1:S?ea(S,a)-ea(S,b):0;if(e===c)return f(a,b);for(;a=a.parentNode;)k.unshift(a);for(a=b;a=a.parentNode;)m.unshift(a);for(;k[d]===m[d];)d++;
return d?f(k[d],m[d]):k[d]===G?-1:m[d]===G?1:0};return w};b.matches=function(a,d){return b(a,null,null,d)};b.matchesSelector=function(a,d){(a.ownerDocument||a)!==w&&wa(a);d=d.replace(La,"='$1']");if(!(!Q.matchesSelector||!C||P[d+" "]||H&&H.test(d)||F&&F.test(d)))try{var e=ca.call(a,d);if(e||Q.disconnectedMatch||a.document&&11!==a.document.nodeType)return e}catch(wc){}return 0<b(d,w,null,[a]).length};b.contains=function(a,b){(a.ownerDocument||a)!==w&&wa(a);return M(a,b)};b.attr=function(a,b){(a.ownerDocument||
a)!==w&&wa(a);var d=L.attrHandle[b.toLowerCase()];d=d&&za.call(L.attrHandle,b.toLowerCase())?d(a,b,!C):void 0;return void 0!==d?d:Q.attributes||!C?a.getAttribute(b):(d=a.getAttributeNode(b))&&d.specified?d.value:null};b.escape=function(a){return(a+"").replace(ka,Aa)};b.error=function(a){throw Error("Syntax error, unrecognized expression: "+a);};b.uniqueSort=function(a){var b,d=[],e=0,c=0;K=!Q.detectDuplicates;S=!Q.sortStable&&a.slice(0);a.sort(V);if(K){for(;b=a[c++];)b===a[c]&&(e=d.push(c));for(;e--;)a.splice(d[e],
1)}S=null;return a};var ya=b.getText=function(a){var b="",d=0;var e=a.nodeType;if(!e)for(;e=a[d++];)b+=ya(e);else if(1===e||9===e||11===e){if("string"===typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)b+=ya(a)}else if(3===e||4===e)return a.nodeValue;return b};var L=b.selectors={cacheLength:50,createPseudo:e,match:sa,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},
preFilter:{ATTR:function(a){a[1]=a[1].replace(pa,qa);a[3]=(a[3]||a[4]||a[5]||"").replace(pa,qa);"~="===a[2]&&(a[3]=" "+a[3]+" ");return a.slice(0,4)},CHILD:function(a){a[1]=a[1].toLowerCase();"nth"===a[1].slice(0,3)?(a[3]||b.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&b.error(a[0]);return a},PSEUDO:function(a){var b,d=!a[6]&&a[2];if(sa.CHILD.test(a[0]))return null;a[3]?a[2]=a[4]||a[5]||"":d&&Ha.test(d)&&(b=ja(d,!0))&&(b=d.indexOf(")",
d.length-b)-d.length)&&(a[0]=a[0].slice(0,b),a[2]=d.slice(0,b));return a.slice(0,3)}},filter:{TAG:function(a){var b=a.replace(pa,qa).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=W[a+" "];return b||(b=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"),W(a,function(a){return b.test("string"===typeof a.className&&a.className||"undefined"!==typeof a.getAttribute&&a.getAttribute("class")||"")}))},ATTR:function(a,
d,e){return function(c){c=b.attr(c,a);if(null==c)return"!="===d;if(!d)return!0;c+="";return"="===d?c===e:"!="===d?c!==e:"^="===d?e&&0===c.indexOf(e):"*="===d?e&&-1<c.indexOf(e):"$="===d?e&&c.slice(-e.length)===e:"~="===d?-1<(" "+c.replace(Qa," ")+" ").indexOf(e):"|="===d?c===e||c.slice(0,e.length+1)===e+"-":!1}},CHILD:function(a,b,d,e,c){var k="nth"!==a.slice(0,3),m="last"!==a.slice(-4),q="of-type"===b;return 1===e&&0===c?function(a){return!!a.parentNode}:function(b,d,f){var n,p;d=k!==m?"nextSibling":
"previousSibling";var g=b.parentNode,t=q&&b.nodeName.toLowerCase();f=!f&&!q;var z=!1;if(g){if(k){for(;d;){for(n=b;n=n[d];)if(q?n.nodeName.toLowerCase()===t:1===n.nodeType)return!1;var l=d="only"===a&&!l&&"nextSibling"}return!0}l=[m?g.firstChild:g.lastChild];if(m&&f){n=g;var D=n[O]||(n[O]={});D=D[n.uniqueID]||(D[n.uniqueID]={});z=D[a]||[];z=(p=z[0]===R&&z[1])&&z[2];for(n=p&&g.childNodes[p];n=++p&&n&&n[d]||(z=p=0)||l.pop();)if(1===n.nodeType&&++z&&n===b){D[a]=[R,p,z];break}}else if(f&&(n=b,D=n[O]||
(n[O]={}),D=D[n.uniqueID]||(D[n.uniqueID]={}),z=D[a]||[],z=p=z[0]===R&&z[1]),!1===z)for(;(n=++p&&n&&n[d]||(z=p=0)||l.pop())&&((q?n.nodeName.toLowerCase()!==t:1!==n.nodeType)||!++z||(f&&(D=n[O]||(n[O]={}),D=D[n.uniqueID]||(D[n.uniqueID]={}),D[a]=[R,z]),n!==b)););z-=c;return z===e||0===z%e&&0<=z/e}}},PSEUDO:function(a,d){var c=L.pseudos[a]||L.setFilters[a.toLowerCase()]||b.error("unsupported pseudo: "+a);if(c[O])return c(d);if(1<c.length){var k=[a,a,"",d];return L.setFilters.hasOwnProperty(a.toLowerCase())?
e(function(a,b){for(var e,k=c(a,d),m=k.length;m--;)e=ea(a,k[m]),a[e]=!(b[e]=k[m])}):function(a){return c(a,0,k)}}return c}},pseudos:{not:e(function(a){var b=[],d=[],c=ua(a.replace(Y,"$1"));return c[O]?e(function(a,b,d,e){e=c(a,null,e,[]);for(var k=a.length;k--;)if(d=e[k])a[k]=!(b[k]=d)}):function(a,e,k){b[0]=a;c(b,null,k,d);b[0]=null;return!d.pop()}}),has:e(function(a){return function(d){return 0<b(a,d).length}}),contains:e(function(a){a=a.replace(pa,qa);return function(b){return-1<(b.textContent||
b.innerText||ya(b)).indexOf(a)}}),lang:e(function(a){Ja.test(a||"")||b.error("unsupported lang: "+a);a=a.replace(pa,qa).toLowerCase();return function(b){var d;do if(d=C?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return d=d.toLowerCase(),d===a||0===d.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var d=a.location&&a.location.hash;return d&&d.slice(1)===b.id},root:function(a){return a===A},focus:function(a){return a===w.activeElement&&(!w.hasFocus||
w.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:t(!1),disabled:t(!0),checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return!0===a.selected},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(6>a.nodeType)return!1;return!0},parent:function(a){return!L.pseudos.empty(a)},header:function(a){return na.test(a.nodeName)},input:function(a){return ma.test(a.nodeName)},
button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:l(function(){return[0]}),last:l(function(a,b){return[b-1]}),eq:l(function(a,b,d){return[0>d?d+b:d]}),even:l(function(a,b){for(var d=0;d<b;d+=2)a.push(d);return a}),odd:l(function(a,b){for(var d=1;d<b;d+=2)a.push(d);return a}),lt:l(function(a,b,d){for(b=
0>d?d+b:d;0<=--b;)a.push(b);return a}),gt:l(function(a,b,d){for(d=0>d?d+b:d;++d<b;)a.push(d);return a})}};L.pseudos.nth=L.pseudos.eq;for(N in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})L.pseudos[N]=g(N);for(N in{submit:!0,reset:!0})L.pseudos[N]=p(N);h.prototype=L.filters=L.pseudos;L.setFilters=new h;var ja=b.tokenize=function(a,d){var e,c,k,m,q;if(m=da[a+" "])return d?0:m.slice(0);m=a;var f=[];for(q=L.preFilter;m;){if(!n||(e=ha.exec(m)))e&&(m=m.slice(e[0].length)||m),f.push(c=[]);var n=!1;
if(e=ra.exec(m))n=e.shift(),c.push({value:n,type:e[0].replace(Y," ")}),m=m.slice(n.length);for(k in L.filter)!(e=sa[k].exec(m))||q[k]&&!(e=q[k](e))||(n=e.shift(),c.push({value:n,type:k,matches:e}),m=m.slice(n.length));if(!n)break}return d?m.length:m?b.error(a):da(a,f).slice(0)};var ua=b.compile=function(a,b){var d,e=[],c=[],k=P[a+" "];if(!k){b||(b=ja(a));for(d=b.length;d--;)k=v(b[d]),k[O]?e.push(k):c.push(k);k=P(a,E(c,e));k.selector=a}return k};var xa=b.select=function(a,b,d,e){var c,k,m,q="function"===
typeof a&&a,f=!e&&ja(a=q.selector||a);d=d||[];if(1===f.length){var n=f[0]=f[0].slice(0);if(2<n.length&&"ID"===(k=n[0]).type&&9===b.nodeType&&C&&L.relative[n[1].type]){b=(L.find.ID(k.matches[0].replace(pa,qa),b)||[])[0];if(!b)return d;q&&(b=b.parentNode);a=a.slice(n.shift().value.length)}for(c=sa.needsContext.test(a)?0:n.length;c--;){k=n[c];if(L.relative[m=k.type])break;if(m=L.find[m])if(e=m(k.matches[0].replace(pa,qa),fa.test(n[0].type)&&u(b.parentNode)||b)){n.splice(c,1);a=e.length&&r(n);if(!a)return T.apply(d,
e),d;break}}}(q||ua(a,f))(e,b,!C,d,!b||fa.test(a)&&u(b.parentNode)||b);return d};Q.sortStable=O.split("").sort(V).join("")===O;Q.detectDuplicates=!!K;wa();Q.sortDetached=c(function(a){return a.compareDocumentPosition(w.createElement("fieldset"))&1});c(function(a){a.innerHTML="<a href='#'></a>";return"#"===a.firstChild.getAttribute("href")})||q("type|href|height|width",function(a,b,d){if(!d)return a.getAttribute(b,"type"===b.toLowerCase()?1:2)});Q.attributes&&c(function(a){a.innerHTML="<input/>";a.firstChild.setAttribute("value",
"");return""===a.firstChild.getAttribute("value")})||q("value",function(a,b,d){if(!d&&"input"===a.nodeName.toLowerCase())return a.defaultValue});c(function(a){return null==a.getAttribute("disabled")})||q("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(a,b,d){var e;if(!d)return!0===a[b]?b.toLowerCase():(e=a.getAttributeNode(b))&&e.specified?e.value:null});return b}(c);e.find=fa;e.expr=fa.selectors;e.expr[":"]=e.expr.pseudos;
e.uniqueSort=e.unique=fa.uniqueSort;e.text=fa.getText;e.isXMLDoc=fa.isXML;e.contains=fa.contains;e.escapeSelector=fa.escape;var ta=function(a,b,d){for(var c=[],m=void 0!==d;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(m&&e(a).is(d))break;c.push(a)}return c},ob=function(a,b){for(var d=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&d.push(a);return d},pb=e.expr.match.needsContext,qb=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;e.filter=function(a,b,d){var c=b[0];d&&(a=":not("+a+
")");return 1===b.length&&1===c.nodeType?e.find.matchesSelector(c,a)?[c]:[]:e.find.matches(a,e.grep(b,function(a){return 1===a.nodeType}))};e.fn.extend({find:function(a){var b,d=this.length,c=this;if("string"!==typeof a)return this.pushStack(e(a).filter(function(){for(b=0;b<d;b++)if(e.contains(c[b],this))return!0}));var m=this.pushStack([]);for(b=0;b<d;b++)e.find(a,c[b],m);return 1<d?e.uniqueSort(m):m},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,
a||[],!0))},is:function(a){return!!x(this,"string"===typeof a&&pb.test(a)?e(a):a||[],!1).length}});var Vb=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/;(e.fn.init=function(a,b,d){if(!a)return this;d=d||Wb;if("string"===typeof a){var c="<"===a[0]&&">"===a[a.length-1]&&3<=a.length?[null,a,null]:Vb.exec(a);if(!c||!c[1]&&b)return!b||b.jquery?(b||d).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof e?b[0]:b,e.merge(this,e.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:C,!0)),qb.test(c[1])&&e.isPlainObject(b))for(c in b)if(A(this[c]))this[c](b[c]);
else this.attr(c,b[c])}else if(a=C.getElementById(c[2]))this[0]=a,this.length=1;return this}return a.nodeType?(this[0]=a,this.length=1,this):A(a)?void 0!==d.ready?d.ready(a):a(e):e.makeArray(a,this)}).prototype=e.fn;var Wb=e(C);var Xb=/^(?:parents|prev(?:Until|All))/,Yb={children:!0,contents:!0,next:!0,prev:!0};e.fn.extend({has:function(a){var b=e(a,this),d=b.length;return this.filter(function(){for(var a=0;a<d;a++)if(e.contains(this,b[a]))return!0})},closest:function(a,b){var d,c=0,m=this.length,
q=[],f="string"!==typeof a&&e(a);if(!pb.test(a))for(;c<m;c++)for(d=this[c];d&&d!==b;d=d.parentNode)if(11>d.nodeType&&(f?-1<f.index(d):1===d.nodeType&&e.find.matchesSelector(d,a))){q.push(d);break}return this.pushStack(1<q.length?e.uniqueSort(q):q)},index:function(a){return a?"string"===typeof a?Da.call(e(a),this[0]):Da.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(e.uniqueSort(e.merge(this.get(),e(a,b))))},addBack:function(a){return this.add(null==
a?this.prevObject:this.prevObject.filter(a))}});e.each({parent:function(a){return(a=a.parentNode)&&11!==a.nodeType?a:null},parents:function(a){return ta(a,"parentNode")},parentsUntil:function(a,b,d){return ta(a,"parentNode",d)},next:function(a){return y(a,"nextSibling")},prev:function(a){return y(a,"previousSibling")},nextAll:function(a){return ta(a,"nextSibling")},prevAll:function(a){return ta(a,"previousSibling")},nextUntil:function(a,b,d){return ta(a,"nextSibling",d)},prevUntil:function(a,b,d){return ta(a,
"previousSibling",d)},siblings:function(a){return ob((a.parentNode||{}).firstChild,a)},children:function(a){return ob(a.firstChild)},contents:function(a){if(r(a,"iframe"))return a.contentDocument;r(a,"template")&&(a=a.content||a);return e.merge([],a.childNodes)}},function(a,b){e.fn[a]=function(d,c){var k=e.map(this,b,d);"Until"!==a.slice(-5)&&(c=d);c&&"string"===typeof c&&(k=e.filter(c,k));1<this.length&&(Yb[a]||e.uniqueSort(k),Xb.test(a)&&k.reverse());return this.pushStack(k)}});var Z=/[^\x20\t\r\n\f]+/g;
e.Callbacks=function(a){a="string"===typeof a?v(a):e.extend({},a);var b,d,c,m,q=[],n=[],g=-1,p=function(){m=m||a.once;for(c=b=!0;n.length;g=-1)for(d=n.shift();++g<q.length;)!1===q[g].apply(d[0],d[1])&&a.stopOnFalse&&(g=q.length,d=!1);a.memory||(d=!1);b=!1;m&&(q=d?[]:"")},t={add:function(){q&&(d&&!b&&(g=q.length-1,n.push(d)),function Mb(b){e.each(b,function(b,d){A(d)?a.unique&&t.has(d)||q.push(d):d&&d.length&&"string"!==f(d)&&Mb(d)})}(arguments),d&&!b&&p());return this},remove:function(){e.each(arguments,
function(a,b){for(var d;-1<(d=e.inArray(b,q,d));)q.splice(d,1),d<=g&&g--});return this},has:function(a){return a?-1<e.inArray(a,q):0<q.length},empty:function(){q&&(q=[]);return this},disable:function(){m=n=[];q=d="";return this},disabled:function(){return!q},lock:function(){m=n=[];d||b||(q=d="");return this},locked:function(){return!!m},fireWith:function(a,d){m||(d=d||[],d=[a,d.slice?d.slice():d],n.push(d),b||p());return this},fire:function(){t.fireWith(this,arguments);return this},fired:function(){return!!c}};
return t};e.extend({Deferred:function(a){var b=[["notify","progress",e.Callbacks("memory"),e.Callbacks("memory"),2],["resolve","done",e.Callbacks("once memory"),e.Callbacks("once memory"),0,"resolved"],["reject","fail",e.Callbacks("once memory"),e.Callbacks("once memory"),1,"rejected"]],d="pending",k={state:function(){return d},always:function(){m.done(arguments).fail(arguments);return this},"catch":function(a){return k.then(null,a)},pipe:function(){var a=arguments;return e.Deferred(function(d){e.each(b,
function(b,e){var c=A(a[e[4]])&&a[e[4]];m[e[1]](function(){var a=c&&c.apply(this,arguments);if(a&&A(a.promise))a.promise().progress(d.notify).done(d.resolve).fail(d.reject);else d[e[0]+"With"](this,c?[a]:arguments)})});a=null}).promise()},then:function(a,d,k){function m(a,b,d,k){return function(){var f=this,n=arguments,g=function(){if(!(a<q)){var e=d.apply(f,n);if(e===b.promise())throw new TypeError("Thenable self-resolution");var c=e&&("object"===typeof e||"function"===typeof e)&&e.then;A(c)?k?c.call(e,
m(q,b,E,k),m(q,b,B,k)):(q++,c.call(e,m(q,b,E,k),m(q,b,B,k),m(q,b,E,b.notifyWith))):(d!==E&&(f=void 0,n=[e]),(k||b.resolveWith)(f,n))}},p=k?g:function(){try{g()}catch(nb){e.Deferred.exceptionHook&&e.Deferred.exceptionHook(nb,p.stackTrace),a+1>=q&&(d!==B&&(f=void 0,n=[nb]),b.rejectWith(f,n))}};a?p():(e.Deferred.getStackHook&&(p.stackTrace=e.Deferred.getStackHook()),c.setTimeout(p))}}var q=0;return e.Deferred(function(e){b[0][3].add(m(0,e,A(k)?k:E,e.notifyWith));b[1][3].add(m(0,e,A(a)?a:E));b[2][3].add(m(0,
e,A(d)?d:B))}).promise()},promise:function(a){return null!=a?e.extend(a,k):k}},m={};e.each(b,function(a,e){var c=e[2],f=e[5];k[e[1]]=c.add;f&&c.add(function(){d=f},b[3-a][2].disable,b[3-a][3].disable,b[0][2].lock,b[0][3].lock);c.add(e[3].fire);m[e[0]]=function(){m[e[0]+"With"](this===m?void 0:this,arguments);return this};m[e[0]+"With"]=c.fireWith});k.promise(m);a&&a.call(m,m);return m},when:function(a){var b=arguments.length,d=b,c=Array(d),m=oa.call(arguments),f=e.Deferred(),n=function(a){return function(d){c[a]=
this;m[a]=1<arguments.length?oa.call(arguments):d;--b||f.resolveWith(c,m)}};if(1>=b&&(F(a,f.done(n(d)).resolve,f.reject,!b),"pending"===f.state()||A(m[d]&&m[d].then)))return f.then();for(;d--;)F(m[d],n(d),f.reject);return f.promise()}});var Zb=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;e.Deferred.exceptionHook=function(a,b){c.console&&c.console.warn&&a&&Zb.test(a.name)&&c.console.warn("jQuery.Deferred exception: "+a.message,a.stack,b)};e.readyException=function(a){c.setTimeout(function(){throw a;
})};var Ya=e.Deferred();e.fn.ready=function(a){Ya.then(a).catch(function(a){e.readyException(a)});return this};e.extend({isReady:!1,readyWait:1,ready:function(a){(!0===a?--e.readyWait:e.isReady)||(e.isReady=!0,!0!==a&&0<--e.readyWait||Ya.resolveWith(C,[e]))}});e.ready.then=Ya.then;"complete"===C.readyState||"loading"!==C.readyState&&!C.documentElement.doScroll?c.setTimeout(e.ready):(C.addEventListener("DOMContentLoaded",u),c.addEventListener("load",u));var ha=function(a,b,d,c,m,q,n){var k=0,g=a.length,
t=null==d;if("object"===f(d))for(k in m=!0,d)ha(a,b,k,d[k],!0,q,n);else if(void 0!==c&&(m=!0,A(c)||(n=!0),t&&(n?(b.call(a,c),b=null):(t=b,b=function(a,b,d){return t.call(e(a),d)})),b))for(;k<g;k++)b(a[k],d,n?c:c.call(a[k],k,b(a[k],d)));return m?a:t?b.call(a):g?b(a[0],d):q},Fb=/^-ms-/,Gb=/-([a-z])/g,Oa=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};N.uid=1;N.prototype={cache:function(a){var b=a[this.expando];b||(b={},Oa(a)&&(a.nodeType?a[this.expando]=b:Object.defineProperty(a,this.expando,
{value:b,configurable:!0})));return b},set:function(a,b,d){var e;a=this.cache(a);if("string"===typeof b)a[J(b)]=d;else for(e in b)a[J(e)]=b[e];return a},get:function(a,b){return void 0===b?this.cache(a):a[this.expando]&&a[this.expando][J(b)]},access:function(a,b,d){if(void 0===b||b&&"string"===typeof b&&void 0===d)return this.get(a,b);this.set(a,b,d);return void 0!==d?d:b},remove:function(a,b){var d,c=a[this.expando];if(void 0!==c){if(void 0!==b)for(Array.isArray(b)?b=b.map(J):(b=J(b),b=b in c?[b]:
b.match(Z)||[]),d=b.length;d--;)delete c[b[d]];if(void 0===b||e.isEmptyObject(c))a.nodeType?a[this.expando]=void 0:delete a[this.expando]}},hasData:function(a){a=a[this.expando];return void 0!==a&&!e.isEmptyObject(a)}};var w=new N,V=new N,Ib=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,Hb=/[A-Z]/g;e.extend({hasData:function(a){return V.hasData(a)||w.hasData(a)},data:function(a,b,d){return V.access(a,b,d)},removeData:function(a,b){V.remove(a,b)},_data:function(a,b,d){return w.access(a,b,d)},_removeData:function(a,
b){w.remove(a,b)}});e.fn.extend({data:function(a,b){var d,e=this[0],c=e&&e.attributes;if(void 0===a){if(this.length){var f=V.get(e);if(1===e.nodeType&&!w.get(e,"hasDataAttrs")){for(d=c.length;d--;)if(c[d]){var n=c[d].name;0===n.indexOf("data-")&&(n=J(n.slice(5)),S(e,n,f[n]))}w.set(e,"hasDataAttrs",!0)}}return f}return"object"===typeof a?this.each(function(){V.set(this,a)}):ha(this,function(b){if(e&&void 0===b){var d=V.get(e,a);if(void 0!==d)return d;d=S(e,a);if(void 0!==d)return d}else this.each(function(){V.set(this,
a,b)})},null,b,1<arguments.length,null,!0)},removeData:function(a){return this.each(function(){V.remove(this,a)})}});e.extend({queue:function(a,b,d){if(a){b=(b||"fx")+"queue";var c=w.get(a,b);d&&(!c||Array.isArray(d)?c=w.access(a,b,e.makeArray(d)):c.push(d));return c||[]}},dequeue:function(a,b){b=b||"fx";var d=e.queue(a,b),c=d.length,m=d.shift(),f=e._queueHooks(a,b),n=function(){e.dequeue(a,b)};"inprogress"===m&&(m=d.shift(),c--);m&&("fx"===b&&d.unshift("inprogress"),delete f.stop,m.call(a,n,f));
!c&&f&&f.empty.fire()},_queueHooks:function(a,b){var d=b+"queueHooks";return w.get(a,d)||w.access(a,d,{empty:e.Callbacks("once memory").add(function(){w.remove(a,[b+"queue",d])})})}});e.fn.extend({queue:function(a,b){var d=2;"string"!==typeof a&&(b=a,a="fx",d--);return arguments.length<d?e.queue(this[0],a):void 0===b?this:this.each(function(){var d=e.queue(this,a,b);e._queueHooks(this,a);"fx"===a&&"inprogress"!==d[0]&&e.dequeue(this,a)})},dequeue:function(a){return this.each(function(){e.dequeue(this,
a)})},clearQueue:function(a){return this.queue(a||"fx",[])},promise:function(a,b){var d,c=1,m=e.Deferred(),f=this,n=this.length,g=function(){--c||m.resolveWith(f,[f])};"string"!==typeof a&&(b=a,a=void 0);for(a=a||"fx";n--;)(d=w.get(f[n],a+"queueHooks"))&&d.empty&&(c++,d.empty.add(g));g();return m.promise(b)}});var rb=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,va=new RegExp("^(?:([+-])=|)("+rb+")([a-z%]*)$","i"),Y=["Top","Right","Bottom","Left"],Ea=function(a,b){a=b||a;return"none"===a.style.display||
""===a.style.display&&e.contains(a.ownerDocument,a)&&"none"===e.css(a,"display")},sb=function(a,b,d,e){var c,k={};for(c in b)k[c]=a.style[c],a.style[c]=b[c];d=d.apply(a,e||[]);for(c in b)a.style[c]=k[c];return d},cb={};e.fn.extend({show:function(){return K(this,!0)},hide:function(){return K(this)},toggle:function(a){return"boolean"===typeof a?a?this.show():this.hide():this.each(function(){Ea(this)?e(this).show():e(this).hide()})}});var tb=/^(?:checkbox|radio)$/i,db=/<([a-z][^\/\0>\x20\t\r\n\f]+)/i,
eb=/^$|^module$|\/(?:java|ecma)script/i,X={option:[1,"<select multiple='multiple'>","</select>"],thead:[1,"<table>","</table>"],col:[2,"<table><colgroup>","</colgroup></table>"],tr:[2,"<table><tbody>","</tbody></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:[0,"",""]};X.optgroup=X.option;X.tbody=X.tfoot=X.colgroup=X.caption=X.thead;X.th=X.td;var Jb=/<|&#?\w+;/;(function(){var a=C.createDocumentFragment().appendChild(C.createElement("div")),b=C.createElement("input");b.setAttribute("type",
"radio");b.setAttribute("checked","checked");b.setAttribute("name","t");a.appendChild(b);M.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="<textarea>x</textarea>";M.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue})();var Pa=C.documentElement,$b=/^key/,ac=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,ub=/^([^.]*)(?:\.(.+)|)/;e.event={global:{},add:function(a,b,d,c,m){var k,f,g,p,t;if(g=w.get(a)){if(d.handler){var l=d;d=l.handler;m=l.selector}m&&e.find.matchesSelector(Pa,
m);d.guid||(d.guid=e.guid++);(f=g.events)||(f=g.events={});(k=g.handle)||(k=g.handle=function(b){return"undefined"!==typeof e&&e.event.triggered!==b.type?e.event.dispatch.apply(a,arguments):void 0});b=(b||"").match(Z)||[""];for(g=b.length;g--;){var h=ub.exec(b[g])||[];var u=p=h[1];var r=(h[2]||"").split(".").sort();u&&(h=e.event.special[u]||{},u=(m?h.delegateType:h.bindType)||u,h=e.event.special[u]||{},p=e.extend({type:u,origType:p,data:c,handler:d,guid:d.guid,selector:m,needsContext:m&&e.expr.match.needsContext.test(m),
namespace:r.join(".")},l),(t=f[u])||(t=f[u]=[],t.delegateCount=0,h.setup&&!1!==h.setup.call(a,c,r,k)||a.addEventListener&&a.addEventListener(u,k)),h.add&&(h.add.call(a,p),p.handler.guid||(p.handler.guid=d.guid)),m?t.splice(t.delegateCount++,0,p):t.push(p),e.event.global[u]=!0)}}},remove:function(a,b,d,c,m){var k,f,g,p,t,l=w.hasData(a)&&w.get(a);if(l&&(g=l.events)){b=(b||"").match(Z)||[""];for(p=b.length;p--;){var h=ub.exec(b[p])||[];var u=t=h[1];var r=(h[2]||"").split(".").sort();if(u){var x=e.event.special[u]||
{};u=(c?x.delegateType:x.bindType)||u;var I=g[u]||[];h=h[2]&&new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)");for(f=k=I.length;k--;){var y=I[k];!m&&t!==y.origType||d&&d.guid!==y.guid||h&&!h.test(y.namespace)||c&&c!==y.selector&&("**"!==c||!y.selector)||(I.splice(k,1),y.selector&&I.delegateCount--,x.remove&&x.remove.call(a,y))}f&&!I.length&&(x.teardown&&!1!==x.teardown.call(a,r,l.handle)||e.removeEvent(a,u,l.handle),delete g[u])}else for(u in g)e.event.remove(a,u+b[p],d,c,!0)}e.isEmptyObject(g)&&
w.remove(a,"handle events")}},dispatch:function(a){var b=e.event.fix(a),d,c,m,f=Array(arguments.length);var n=(w.get(this,"events")||{})[b.type]||[];var g=e.event.special[b.type]||{};f[0]=b;for(d=1;d<arguments.length;d++)f[d]=arguments[d];b.delegateTarget=this;if(!g.preDispatch||!1!==g.preDispatch.call(this,b)){var p=e.event.handlers.call(this,b,n);for(d=0;(m=p[d++])&&!b.isPropagationStopped();)for(b.currentTarget=m.elem,n=0;(c=m.handlers[n++])&&!b.isImmediatePropagationStopped();)if(!b.rnamespace||
b.rnamespace.test(c.namespace))b.handleObj=c,b.data=c.data,c=((e.event.special[c.origType]||{}).handle||c.handler).apply(m.elem,f),void 0!==c&&!1===(b.result=c)&&(b.preventDefault(),b.stopPropagation());g.postDispatch&&g.postDispatch.call(this,b);return b.result}},handlers:function(a,b){var d,c=[],m=b.delegateCount,f=a.target;if(m&&f.nodeType&&!("click"===a.type&&1<=a.button))for(;f!==this;f=f.parentNode||this)if(1===f.nodeType&&("click"!==a.type||!0!==f.disabled)){var n=[];var g={};for(d=0;d<m;d++){var p=
b[d];var t=p.selector+" ";void 0===g[t]&&(g[t]=p.needsContext?-1<e(t,this).index(f):e.find(t,this,null,[f]).length);g[t]&&n.push(p)}n.length&&c.push({elem:f,handlers:n})}m<b.length&&c.push({elem:this,handlers:b.slice(m)});return c},addProp:function(a,b){Object.defineProperty(e.Event.prototype,a,{enumerable:!0,configurable:!0,get:A(b)?function(){if(this.originalEvent)return b(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[a]},set:function(b){Object.defineProperty(this,
a,{enumerable:!0,configurable:!0,writable:!0,value:b})}})},fix:function(a){return a[e.expando]?a:new e.Event(a)},special:{load:{noBubble:!0},focus:{trigger:function(){if(this!==Fa()&&this.focus)return this.focus(),!1},delegateType:"focusin"},blur:{trigger:function(){if(this===Fa()&&this.blur)return this.blur(),!1},delegateType:"focusout"},click:{trigger:function(){if("checkbox"===this.type&&this.click&&r(this,"input"))return this.click(),!1},_default:function(a){return r(a.target,"a")}},beforeunload:{postDispatch:function(a){void 0!==
a.result&&a.originalEvent&&(a.originalEvent.returnValue=a.result)}}}};e.removeEvent=function(a,b,d){a.removeEventListener&&a.removeEventListener(b,d)};e.Event=function(a,b){if(!(this instanceof e.Event))return new e.Event(a,b);a&&a.type?(this.originalEvent=a,this.type=a.type,this.isDefaultPrevented=a.defaultPrevented||void 0===a.defaultPrevented&&!1===a.returnValue?P:aa,this.target=a.target&&3===a.target.nodeType?a.target.parentNode:a.target,this.currentTarget=a.currentTarget,this.relatedTarget=a.relatedTarget):
this.type=a;b&&e.extend(this,b);this.timeStamp=a&&a.timeStamp||Date.now();this[e.expando]=!0};e.Event.prototype={constructor:e.Event,isDefaultPrevented:aa,isPropagationStopped:aa,isImmediatePropagationStopped:aa,isSimulated:!1,preventDefault:function(){var a=this.originalEvent;this.isDefaultPrevented=P;a&&!this.isSimulated&&a.preventDefault()},stopPropagation:function(){var a=this.originalEvent;this.isPropagationStopped=P;a&&!this.isSimulated&&a.stopPropagation()},stopImmediatePropagation:function(){var a=
this.originalEvent;this.isImmediatePropagationStopped=P;a&&!this.isSimulated&&a.stopImmediatePropagation();this.stopPropagation()}};e.each({altKey:!0,bubbles:!0,cancelable:!0,changedTouches:!0,ctrlKey:!0,detail:!0,eventPhase:!0,metaKey:!0,pageX:!0,pageY:!0,shiftKey:!0,view:!0,"char":!0,charCode:!0,key:!0,keyCode:!0,button:!0,buttons:!0,clientX:!0,clientY:!0,offsetX:!0,offsetY:!0,pointerId:!0,pointerType:!0,screenX:!0,screenY:!0,targetTouches:!0,toElement:!0,touches:!0,which:function(a){var b=a.button;
return null==a.which&&$b.test(a.type)?null!=a.charCode?a.charCode:a.keyCode:!a.which&&void 0!==b&&ac.test(a.type)?b&1?1:b&2?3:b&4?2:0:a.which}},e.event.addProp);e.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(a,b){e.event.special[a]={delegateType:b,bindType:b,handle:function(a){var d=a.relatedTarget,c=a.handleObj;if(!d||d!==this&&!e.contains(this,d)){a.type=c.origType;var f=c.handler.apply(this,arguments);a.type=b}return f}}});e.fn.extend({on:function(a,
b,d,c){return za(this,a,b,d,c)},one:function(a,b,d,c){return za(this,a,b,d,c,1)},off:function(a,b,d){if(a&&a.preventDefault&&a.handleObj){var c=a.handleObj;e(a.delegateTarget).off(c.namespace?c.origType+"."+c.namespace:c.origType,c.selector,c.handler);return this}if("object"===typeof a){for(c in a)this.off(c,b,a[c]);return this}if(!1===b||"function"===typeof b)d=b,b=void 0;!1===d&&(d=aa);return this.each(function(){e.event.remove(this,a,d,b)})}});var bc=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([a-z][^\/\0>\x20\t\r\n\f]*)[^>]*)\/>/gi,
cc=/<script|<style|<link/i,Lb=/checked\s*(?:[^=]|=\s*.checked.)/i,Nb=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g;e.extend({htmlPrefilter:function(a){return a.replace(bc,"<$1></$2>")},clone:function(a,b,d){var c,f=a.cloneNode(!0),q=e.contains(a.ownerDocument,a);if(!(M.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||e.isXMLDoc(a))){var n=H(f);var g=H(a);var p=0;for(c=g.length;p<c;p++){var t=g[p],l=n[p],h=l.nodeName.toLowerCase();if("input"===h&&tb.test(t.type))l.checked=t.checked;else if("input"===
h||"textarea"===h)l.defaultValue=t.defaultValue}}if(b)if(d)for(g=g||H(a),n=n||H(f),p=0,c=g.length;p<c;p++)ya(g[p],n[p]);else ya(a,f);n=H(f,"script");0<n.length&&R(n,!q&&H(a,"script"));return f},cleanData:function(a){for(var b,d,c,f=e.event.special,q=0;void 0!==(d=a[q]);q++)if(Oa(d)){if(b=d[w.expando]){if(b.events)for(c in b.events)f[c]?e.event.remove(d,c):e.removeEvent(d,c,b.handle);d[w.expando]=void 0}d[V.expando]&&(d[V.expando]=void 0)}}});e.fn.extend({detach:function(a){return gb(this,a,!0)},remove:function(a){return gb(this,
a)},text:function(a){return ha(this,function(a){return void 0===a?e.text(this):this.empty().each(function(){if(1===this.nodeType||11===this.nodeType||9===this.nodeType)this.textContent=a})},null,a,arguments.length)},append:function(){return ra(this,arguments,function(a){1!==this.nodeType&&11!==this.nodeType&&9!==this.nodeType||ia(this,a).appendChild(a)})},prepend:function(){return ra(this,arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=ia(this,a);b.insertBefore(a,
b.firstChild)}})},before:function(){return ra(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return ra(this,arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(e.cleanData(H(a,!1)),a.textContent="");return this},clone:function(a,b){a=null==a?!1:a;b=null==b?a:b;return this.map(function(){return e.clone(this,a,b)})},html:function(a){return ha(this,
function(a){var b=this[0]||{},c=0,f=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"===typeof a&&!cc.test(a)&&!X[(db.exec(a)||["",""])[1].toLowerCase()]){a=e.htmlPrefilter(a);try{for(;c<f;c++)b=this[c]||{},1===b.nodeType&&(e.cleanData(H(b,!1)),b.innerHTML=a);b=0}catch(q){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=[];return ra(this,arguments,function(b){var d=this.parentNode;0>e.inArray(this,a)&&(e.cleanData(H(this)),d&&d.replaceChild(b,
this))},a)}});e.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){e.fn[a]=function(a){for(var d=[],c=e(a),f=c.length-1,n=0;n<=f;n++)a=n===f?this:this.clone(!0),e(c[n])[b](a),Wa.apply(d,a.get());return this.pushStack(d)}});var Ra=new RegExp("^("+rb+")(?!px)[a-z%]+$","i"),Ga=function(a){var b=a.ownerDocument.defaultView;b&&b.opener||(b=c);return b.getComputedStyle(a)},Ob=new RegExp(Y.join("|"),"i");(function(){function a(){if(g){n.style.cssText=
"position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0";g.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%";Pa.appendChild(n).appendChild(g);var a=c.getComputedStyle(g);b="1%"!==a.top;q=12===Math.round(parseFloat(a.marginLeft));g.style.right="60%";f=36===Math.round(parseFloat(a.right));d=36===Math.round(parseFloat(a.width));g.style.position="absolute";k=36===g.offsetWidth||"absolute";Pa.removeChild(n);
g=null}}var b,d,k,f,q,n=C.createElement("div"),g=C.createElement("div");g.style&&(g.style.backgroundClip="content-box",g.cloneNode(!0).style.backgroundClip="",M.clearCloneStyle="content-box"===g.style.backgroundClip,e.extend(M,{boxSizingReliable:function(){a();return d},pixelBoxStyles:function(){a();return f},pixelPosition:function(){a();return b},reliableMarginLeft:function(){a();return q},scrollboxSize:function(){a();return k}}))})();var dc=/^(none|table(?!-c[ea]).+)/,vb=/^--/,ec={position:"absolute",
visibility:"hidden",display:"block"},wb={letterSpacing:"0",fontWeight:"400"},ib=["Webkit","Moz","ms"],hb=C.createElement("div").style;e.extend({cssHooks:{opacity:{get:function(a,b){if(b)return a=G(a,"opacity"),""===a?"1":a}}},cssNumber:{animationIterationCount:!0,columnCount:!0,fillOpacity:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{},style:function(a,b,d,c){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var k,f=J(b),
n=vb.test(b),g=a.style;n||(b=Ia(f));var p=e.cssHooks[b]||e.cssHooks[f];if(void 0!==d){var t=typeof d;"string"===t&&(k=va.exec(d))&&k[1]&&(d=ca(a,b,k),t="number");null!=d&&d===d&&("number"===t&&(d+=k&&k[3]||(e.cssNumber[f]?"":"px")),M.clearCloneStyle||""!==d||0!==b.indexOf("background")||(g[b]="inherit"),p&&"set"in p&&void 0===(d=p.set(a,d,c))||(n?g.setProperty(b,d):g[b]=d))}else return p&&"get"in p&&void 0!==(k=p.get(a,!1,c))?k:g[b]}},css:function(a,b,d,c){var k;var f=J(b);vb.test(b)||(b=Ia(f));(f=
e.cssHooks[b]||e.cssHooks[f])&&"get"in f&&(k=f.get(a,!0,d));void 0===k&&(k=G(a,b,c));"normal"===k&&b in wb&&(k=wb[b]);return""===d||d?(a=parseFloat(k),!0===d||isFinite(a)?a||0:k):k}});e.each(["height","width"],function(a,b){e.cssHooks[b]={get:function(a,c,f){if(c)return!dc.test(e.css(a,"display"))||a.getClientRects().length&&a.getBoundingClientRect().width?Aa(a,b,f):sb(a,ec,function(){return Aa(a,b,f)})},set:function(a,c,f){var d,k=Ga(a),m="border-box"===e.css(a,"boxSizing",!1,k);f=f&&ea(a,b,f,m,
k);m&&M.scrollboxSize()===k.position&&(f-=Math.ceil(a["offset"+b[0].toUpperCase()+b.slice(1)]-parseFloat(k[b])-ea(a,b,"border",!1,k)-.5));f&&(d=va.exec(c))&&"px"!==(d[3]||"px")&&(a.style[b]=c,c=e.css(a,b));return Ja(a,c,f)}}});e.cssHooks.marginLeft=Ha(M.reliableMarginLeft,function(a,b){if(b)return(parseFloat(G(a,"marginLeft"))||a.getBoundingClientRect().left-sb(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+"px"});e.each({margin:"",padding:"",border:"Width"},function(a,b){e.cssHooks[a+
b]={expand:function(d){var c=0,e={};for(d="string"===typeof d?d.split(" "):[d];4>c;c++)e[a+Y[c]+b]=d[c]||d[c-2]||d[0];return e}};"margin"!==a&&(e.cssHooks[a+b].set=Ja)});e.fn.extend({css:function(a,b){return ha(this,function(a,b,c){var d,k={},f=0;if(Array.isArray(b)){c=Ga(a);for(d=b.length;f<d;f++)k[b[f]]=e.css(a,b[f],!1,c);return k}return void 0!==c?e.style(a,b,c):e.css(a,b)},a,b,1<arguments.length)}});e.Tween=W;W.prototype={constructor:W,init:function(a,b,d,c,f,g){this.elem=a;this.prop=d;this.easing=
f||e.easing._default;this.options=b;this.start=this.now=this.cur();this.end=c;this.unit=g||(e.cssNumber[d]?"":"px")},cur:function(){var a=W.propHooks[this.prop];return a&&a.get?a.get(this):W.propHooks._default.get(this)},run:function(a){var b,d=W.propHooks[this.prop];this.pos=this.options.duration?b=e.easing[this.easing](a,this.options.duration*a,0,1,this.options.duration):b=a;this.now=(this.end-this.start)*b+this.start;this.options.step&&this.options.step.call(this.elem,this.now,this);d&&d.set?d.set(this):
W.propHooks._default.set(this);return this}};W.prototype.init.prototype=W.prototype;W.propHooks={_default:{get:function(a){return 1!==a.elem.nodeType||null!=a.elem[a.prop]&&null==a.elem.style[a.prop]?a.elem[a.prop]:(a=e.css(a.elem,a.prop,""))&&"auto"!==a?a:0},set:function(a){if(e.fx.step[a.prop])e.fx.step[a.prop](a);else 1!==a.elem.nodeType||null==a.elem.style[e.cssProps[a.prop]]&&!e.cssHooks[a.prop]?a.elem[a.prop]=a.now:e.style(a.elem,a.prop,a.now+a.unit)}}};W.propHooks.scrollTop=W.propHooks.scrollLeft=
{set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}};e.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2},_default:"swing"};e.fx=W.prototype.init;e.fx.step={};var la,Ka,fc=/^(?:toggle|show|hide)$/,gc=/queueHooks$/;e.Animation=e.extend(T,{tweeners:{"*":[function(a,b){var d=this.createTween(a,b);ca(d.elem,a,va.exec(b),d);return d}]},tweener:function(a,b){A(a)?(b=a,a=["*"]):a=a.match(Z);for(var d,c=0,e=a.length;c<e;c++)d=a[c],T.tweeners[d]=
T.tweeners[d]||[],T.tweeners[d].unshift(b)},prefilters:[function(a,b,d){var c;var f="width"in b||"height"in b;var g=this,n={},l=a.style,p=a.nodeType&&Ea(a),t=w.get(a,"fxshow");if(!d.queue){var h=e._queueHooks(a,"fx");if(null==h.unqueued){h.unqueued=0;var u=h.empty.fire;h.empty.fire=function(){h.unqueued||u()}}h.unqueued++;g.always(function(){g.always(function(){h.unqueued--;e.queue(a,"fx").length||h.empty.fire()})})}for(c in b){var r=b[c];if(fc.test(r)){delete b[c];var x=x||"toggle"===r;if(r===(p?
"hide":"show"))if("show"===r&&t&&void 0!==t[c])p=!0;else continue;n[c]=t&&t[c]||e.style(a,c)}}if((b=!e.isEmptyObject(b))||!e.isEmptyObject(n)){if(f&&1===a.nodeType){d.overflow=[l.overflow,l.overflowX,l.overflowY];var I=t&&t.display;null==I&&(I=w.get(a,"display"));f=e.css(a,"display");"none"===f&&(I?f=I:(K([a],!0),I=a.style.display||I,f=e.css(a,"display"),K([a])));("inline"===f||"inline-block"===f&&null!=I)&&"none"===e.css(a,"float")&&(b||(g.done(function(){l.display=I}),null==I&&(f=l.display,I="none"===
f?"":f)),l.display="inline-block")}d.overflow&&(l.overflow="hidden",g.always(function(){l.overflow=d.overflow[0];l.overflowX=d.overflow[1];l.overflowY=d.overflow[2]}));b=!1;for(c in n)b||(t?"hidden"in t&&(p=t.hidden):t=w.access(a,"fxshow",{display:I}),x&&(t.hidden=!p),p&&K([a],!0),g.done(function(){p||K([a]);w.remove(a,"fxshow");for(c in n)e.style(a,c,n[c])})),b=jb(p?t[c]:0,c,g),c in t||(t[c]=b.start,p&&(b.end=b.start,b.start=0))}}],prefilter:function(a,b){b?T.prefilters.unshift(a):T.prefilters.push(a)}});
e.speed=function(a,b,d){var c=a&&"object"===typeof a?e.extend({},a):{complete:d||!d&&b||A(a)&&a,duration:a,easing:d&&b||b&&!A(b)&&b};e.fx.off?c.duration=0:"number"!==typeof c.duration&&(c.duration=c.duration in e.fx.speeds?e.fx.speeds[c.duration]:e.fx.speeds._default);if(null==c.queue||!0===c.queue)c.queue="fx";c.old=c.complete;c.complete=function(){A(c.old)&&c.old.call(this);c.queue&&e.dequeue(this,c.queue)};return c};e.fn.extend({fadeTo:function(a,b,d,c){return this.filter(Ea).css("opacity",0).show().end().animate({opacity:b},
a,d,c)},animate:function(a,b,d,c){var f=e.isEmptyObject(a),k=e.speed(b,d,c);b=function(){var b=T(this,e.extend({},a),k);(f||w.get(this,"finish"))&&b.stop(!0)};b.finish=b;return f||!1===k.queue?this.each(b):this.queue(k.queue,b)},stop:function(a,b,d){var c=function(a){var b=a.stop;delete a.stop;b(d)};"string"!==typeof a&&(d=b,b=a,a=void 0);b&&!1!==a&&this.queue(a||"fx",[]);return this.each(function(){var b=!0,f=null!=a&&a+"queueHooks",k=e.timers,g=w.get(this);if(f)g[f]&&g[f].stop&&c(g[f]);else for(f in g)g[f]&&
g[f].stop&&gc.test(f)&&c(g[f]);for(f=k.length;f--;)k[f].elem!==this||null!=a&&k[f].queue!==a||(k[f].anim.stop(d),b=!1,k.splice(f,1));!b&&d||e.dequeue(this,a)})},finish:function(a){!1!==a&&(a=a||"fx");return this.each(function(){var b=w.get(this),d=b[a+"queue"];var c=b[a+"queueHooks"];var f=e.timers,g=d?d.length:0;b.finish=!0;e.queue(this,a,[]);c&&c.stop&&c.stop.call(this,!0);for(c=f.length;c--;)f[c].elem===this&&f[c].queue===a&&(f[c].anim.stop(!0),f.splice(c,1));for(c=0;c<g;c++)d[c]&&d[c].finish&&
d[c].finish.call(this);delete b.finish})}});e.each(["toggle","show","hide"],function(a,b){var c=e.fn[b];e.fn[b]=function(a,d,e){return null==a||"boolean"===typeof a?c.apply(this,arguments):this.animate(Ma(b,!0),a,d,e)}});e.each({slideDown:Ma("show"),slideUp:Ma("hide"),slideToggle:Ma("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(a,b){e.fn[a]=function(a,c,e){return this.animate(b,a,c,e)}});e.timers=[];e.fx.tick=function(){var a=0,b=e.timers;for(la=
Date.now();a<b.length;a++){var c=b[a];c()||b[a]!==c||b.splice(a--,1)}b.length||e.fx.stop();la=void 0};e.fx.timer=function(a){e.timers.push(a);e.fx.start()};e.fx.interval=13;e.fx.start=function(){Ka||(Ka=!0,sa())};e.fx.stop=function(){Ka=null};e.fx.speeds={slow:600,fast:200,_default:400};e.fn.delay=function(a,b){a=e.fx?e.fx.speeds[a]||a:a;return this.queue(b||"fx",function(b,e){var d=c.setTimeout(b,a);e.stop=function(){c.clearTimeout(d)}})};(function(){var a=C.createElement("input"),b=C.createElement("select").appendChild(C.createElement("option"));
a.type="checkbox";M.checkOn=""!==a.value;M.optSelected=b.selected;a=C.createElement("input");a.value="t";a.type="radio";M.radioValue="t"===a.value})();var ja=e.expr.attrHandle;e.fn.extend({attr:function(a,b){return ha(this,e.attr,a,b,1<arguments.length)},removeAttr:function(a){return this.each(function(){e.removeAttr(this,a)})}});e.extend({attr:function(a,b,c){var d,f,g=a.nodeType;if(3!==g&&8!==g&&2!==g){if("undefined"===typeof a.getAttribute)return e.prop(a,b,c);1===g&&e.isXMLDoc(a)||(f=e.attrHooks[b.toLowerCase()]||
(e.expr.match.bool.test(b)?hc:void 0));if(void 0!==c){if(null===c){e.removeAttr(a,b);return}if(f&&"set"in f&&void 0!==(d=f.set(a,c,b)))return d;a.setAttribute(b,c+"");return c}if(f&&"get"in f&&null!==(d=f.get(a,b)))return d;d=e.find.attr(a,b);return null==d?void 0:d}},attrHooks:{type:{set:function(a,b){if(!M.radioValue&&"radio"===b&&r(a,"input")){var c=a.value;a.setAttribute("type",b);c&&(a.value=c);return b}}}},removeAttr:function(a,b){var c=0,e=b&&b.match(Z);if(e&&1===a.nodeType)for(;b=e[c++];)a.removeAttribute(b)}});
var hc={set:function(a,b,c){!1===b?e.removeAttr(a,c):a.setAttribute(c,c);return c}};e.each(e.expr.match.bool.source.match(/\w+/g),function(a,b){var c=ja[b]||e.find.attr;ja[b]=function(a,b,d){var e=b.toLowerCase();if(!d){var f=ja[e];ja[e]=k;var k=null!=c(a,b,d)?e:null;ja[e]=f}return k}});var ic=/^(?:input|select|textarea|button)$/i,jc=/^(?:a|area)$/i;e.fn.extend({prop:function(a,b){return ha(this,e.prop,a,b,1<arguments.length)},removeProp:function(a){return this.each(function(){delete this[e.propFix[a]||
a]})}});e.extend({prop:function(a,b,c){var d,f=a.nodeType;if(3!==f&&8!==f&&2!==f){if(1!==f||!e.isXMLDoc(a)){b=e.propFix[b]||b;var g=e.propHooks[b]}return void 0!==c?g&&"set"in g&&void 0!==(d=g.set(a,c,b))?d:a[b]=c:g&&"get"in g&&null!==(d=g.get(a,b))?d:a[b]}},propHooks:{tabIndex:{get:function(a){var b=e.find.attr(a,"tabindex");return b?parseInt(b,10):ic.test(a.nodeName)||jc.test(a.nodeName)&&a.href?0:-1}}},propFix:{"for":"htmlFor","class":"className"}});M.optSelected||(e.propHooks.selected={get:function(a){(a=
a.parentNode)&&a.parentNode&&a.parentNode.selectedIndex;return null},set:function(a){if(a=a.parentNode)a.selectedIndex,a.parentNode&&a.parentNode.selectedIndex}});e.each("tabIndex readOnly maxLength cellSpacing cellPadding rowSpan colSpan useMap frameBorder contentEditable".split(" "),function(){e.propFix[this.toLowerCase()]=this});e.fn.extend({addClass:function(a){var b,c,f,g,q=0;if(A(a))return this.each(function(b){e(this).addClass(a.call(this,b,na(this)))});var n=Sa(a);if(n.length)for(;b=this[q++];){var l=
na(b);if(c=1===b.nodeType&&" "+ma(l)+" "){for(g=0;f=n[g++];)0>c.indexOf(" "+f+" ")&&(c+=f+" ");c=ma(c);l!==c&&b.setAttribute("class",c)}}return this},removeClass:function(a){var b,c,f,g,q=0;if(A(a))return this.each(function(b){e(this).removeClass(a.call(this,b,na(this)))});if(!arguments.length)return this.attr("class","");var n=Sa(a);if(n.length)for(;b=this[q++];){var l=na(b);if(c=1===b.nodeType&&" "+ma(l)+" "){for(g=0;f=n[g++];)for(;-1<c.indexOf(" "+f+" ");)c=c.replace(" "+f+" "," ");c=ma(c);l!==
c&&b.setAttribute("class",c)}}return this},toggleClass:function(a,b){var c=typeof a,f="string"===c||Array.isArray(a);return"boolean"===typeof b&&f?b?this.addClass(a):this.removeClass(a):A(a)?this.each(function(c){e(this).toggleClass(a.call(this,c,na(this),b),b)}):this.each(function(){var b,d;if(f){var k=0;var g=e(this);for(d=Sa(a);b=d[k++];)g.hasClass(b)?g.removeClass(b):g.addClass(b)}else if(void 0===a||"boolean"===c)(b=na(this))&&w.set(this,"__className__",b),this.setAttribute&&this.setAttribute("class",
b||!1===a?"":w.get(this,"__className__")||"")})},hasClass:function(a){var b,c=0;for(a=" "+a+" ";b=this[c++];)if(1===b.nodeType&&-1<(" "+ma(na(b))+" ").indexOf(a))return!0;return!1}});var kc=/\r/g;e.fn.extend({val:function(a){var b,c,f=this[0];if(arguments.length){var g=A(a);return this.each(function(c){1===this.nodeType&&(c=g?a.call(this,c,e(this).val()):a,null==c?c="":"number"===typeof c?c+="":Array.isArray(c)&&(c=e.map(c,function(a){return null==a?"":a+""})),b=e.valHooks[this.type]||e.valHooks[this.nodeName.toLowerCase()],
b&&"set"in b&&void 0!==b.set(this,c,"value")||(this.value=c))})}if(f){if((b=e.valHooks[f.type]||e.valHooks[f.nodeName.toLowerCase()])&&"get"in b&&void 0!==(c=b.get(f,"value")))return c;c=f.value;return"string"===typeof c?c.replace(kc,""):null==c?"":c}}});e.extend({valHooks:{option:{get:function(a){var b=e.find.attr(a,"value");return null!=b?b:ma(e.text(a))}},select:{get:function(a){var b=a.options,c=a.selectedIndex,f="select-one"===a.type,g=f?null:[],q=f?c+1:b.length;for(a=0>c?q:f?c:0;a<q;a++){var n=
b[a];if(!(!n.selected&&a!==c||n.disabled||n.parentNode.disabled&&r(n.parentNode,"optgroup"))){n=e(n).val();if(f)return n;g.push(n)}}return g},set:function(a,b){for(var c,f=a.options,g=e.makeArray(b),q=f.length;q--;)if(b=f[q],b.selected=-1<e.inArray(e.valHooks.option.get(b),g))c=!0;c||(a.selectedIndex=-1);return g}}}});e.each(["radio","checkbox"],function(){e.valHooks[this]={set:function(a,b){if(Array.isArray(b))return a.checked=-1<e.inArray(e(a).val(),b)}};M.checkOn||(e.valHooks[this].get=function(a){return null===
a.getAttribute("value")?"on":a.value})});M.focusin="onfocusin"in c;var xb=/^(?:focusinfocus|focusoutblur)$/,yb=function(a){a.stopPropagation()};e.extend(e.event,{trigger:function(a,b,d,f){var k,g,n,l=[d||C],p=Na.call(a,"type")?a.type:a;var t=Na.call(a,"namespace")?a.namespace.split("."):[];var h=n=k=d=d||C;if(3!==d.nodeType&&8!==d.nodeType&&!xb.test(p+e.event.triggered)){-1<p.indexOf(".")&&(t=p.split("."),p=t.shift(),t.sort());var u=0>p.indexOf(":")&&"on"+p;a=a[e.expando]?a:new e.Event(p,"object"===
typeof a&&a);a.isTrigger=f?2:3;a.namespace=t.join(".");a.rnamespace=a.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null;a.result=void 0;a.target||(a.target=d);b=null==b?[a]:e.makeArray(b,[a]);t=e.event.special[p]||{};if(f||!t.trigger||!1!==t.trigger.apply(d,b)){if(!f&&!t.noBubble&&!ka(d)){var r=t.delegateType||p;xb.test(r+p)||(h=h.parentNode);for(;h;h=h.parentNode)l.push(h),k=h;k===(d.ownerDocument||C)&&l.push(k.defaultView||k.parentWindow||c)}for(k=0;(h=l[k++])&&!a.isPropagationStopped();)n=
h,a.type=1<k?r:t.bindType||p,(g=(w.get(h,"events")||{})[a.type]&&w.get(h,"handle"))&&g.apply(h,b),(g=u&&h[u])&&g.apply&&Oa(h)&&(a.result=g.apply(h,b),!1===a.result&&a.preventDefault());a.type=p;f||a.isDefaultPrevented()||t._default&&!1!==t._default.apply(l.pop(),b)||!Oa(d)||!u||!A(d[p])||ka(d)||((k=d[u])&&(d[u]=null),e.event.triggered=p,a.isPropagationStopped()&&n.addEventListener(p,yb),d[p](),a.isPropagationStopped()&&n.removeEventListener(p,yb),e.event.triggered=void 0,k&&(d[u]=k));return a.result}}},
simulate:function(a,b,c){a=e.extend(new e.Event,c,{type:a,isSimulated:!0});e.event.trigger(a,null,b)}});e.fn.extend({trigger:function(a,b){return this.each(function(){e.event.trigger(a,b,this)})},triggerHandler:function(a,b){var c=this[0];if(c)return e.event.trigger(a,b,c,!0)}});M.focusin||e.each({focus:"focusin",blur:"focusout"},function(a,b){var c=function(a){e.event.simulate(b,a.target,e.event.fix(a))};e.event.special[b]={setup:function(){var d=this.ownerDocument||this,e=w.access(d,b);e||d.addEventListener(a,
c,!0);w.access(d,b,(e||0)+1)},teardown:function(){var d=this.ownerDocument||this,e=w.access(d,b)-1;e?w.access(d,b,e):(d.removeEventListener(a,c,!0),w.remove(d,b))}}});var ua=c.location,zb=Date.now(),Za=/\?/;e.parseXML=function(a){if(!a||"string"!==typeof a)return null;try{var b=(new c.DOMParser).parseFromString(a,"text/xml")}catch(d){b=void 0}b&&!b.getElementsByTagName("parsererror").length||e.error("Invalid XML: "+a);return b};var Qb=/\[\]$/,Ab=/\r?\n/g,lc=/^(?:submit|button|image|reset|file)$/i,
mc=/^(?:input|select|textarea|keygen)/i;e.param=function(a,b){var c,f=[],g=function(a,b){b=A(b)?b():b;f[f.length]=encodeURIComponent(a)+"="+encodeURIComponent(null==b?"":b)};if(Array.isArray(a)||a.jquery&&!e.isPlainObject(a))e.each(a,function(){g(this.name,this.value)});else for(c in a)Ta(c,a[c],b,g);return f.join("&")};e.fn.extend({serialize:function(){return e.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var a=e.prop(this,"elements");return a?e.makeArray(a):
this}).filter(function(){var a=this.type;return this.name&&!e(this).is(":disabled")&&mc.test(this.nodeName)&&!lc.test(a)&&(this.checked||!tb.test(a))}).map(function(a,b){a=e(this).val();return null==a?null:Array.isArray(a)?e.map(a,function(a){return{name:b.name,value:a.replace(Ab,"\r\n")}}):{name:b.name,value:a.replace(Ab,"\r\n")}}).get()}});var nc=/%20/g,oc=/#.*$/,pc=/([?&])_=[^&]*/,qc=/^(.*?):[ \t]*([^\r\n]*)$/mg,rc=/^(?:GET|HEAD)$/,sc=/^\/\//,Bb={},Ua={},Cb="*/".concat("*"),$a=C.createElement("a");
$a.href=ua.href;e.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ua.href,type:"GET",isLocal:/^(?:about|app|app-storage|.+-extension|file|res|widget):$/.test(ua.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Cb,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/\bxml\b/,html:/\bhtml/,json:/\bjson\b/},responseFields:{xml:"responseXML",text:"responseText",
json:"responseJSON"},converters:{"* text":String,"text html":!0,"text json":JSON.parse,"text xml":e.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(a,b){return b?Va(Va(a,e.ajaxSettings),b):Va(e.ajaxSettings,a)},ajaxPrefilter:kb(Bb),ajaxTransport:kb(Ua),ajax:function(a,b){function d(a,b,d,k){var m=b;if(!B){B=!0;n&&c.clearTimeout(n);f=void 0;g=k||"";v.readyState=0<a?4:0;k=200<=a&&300>a||304===a;if(d){var q=h;for(var p=v,t,J,z,w,N=q.contents,A=q.dataTypes;"*"===A[0];)A.shift(),void 0===
t&&(t=q.mimeType||p.getResponseHeader("Content-Type"));if(t)for(J in N)if(N[J]&&N[J].test(t)){A.unshift(J);break}if(A[0]in d)z=A[0];else{for(J in d){if(!A[0]||q.converters[J+" "+A[0]]){z=J;break}w||(w=J)}z=z||w}z?(z!==A[0]&&A.unshift(z),q=d[z]):q=void 0}a:{d=h;t=q;J=v;z=k;var S;p={};N=d.dataTypes.slice();if(N[1])for(K in d.converters)p[K.toLowerCase()]=d.converters[K];for(w=N.shift();w;){d.responseFields[w]&&(J[d.responseFields[w]]=t);!F&&z&&d.dataFilter&&(t=d.dataFilter(t,d.dataType));var F=w;if(w=
N.shift())if("*"===w)w=F;else if("*"!==F&&F!==w){var K=p[F+" "+w]||p["* "+w];if(!K)for(S in p)if(q=S.split(" "),q[1]===w&&(K=p[F+" "+q[0]]||p["* "+q[0]])){!0===K?K=p[S]:!0!==p[S]&&(w=q[0],N.unshift(q[1]));break}if(!0!==K)if(K&&d.throws)t=K(t);else try{t=K(t)}catch(Ub){q={state:"parsererror",error:K?Ub:"No conversion from "+F+" to "+w};break a}}}q={state:"success",data:t}}if(k)if(h.ifModified&&((m=v.getResponseHeader("Last-Modified"))&&(e.lastModified[E]=m),(m=v.getResponseHeader("etag"))&&(e.etag[E]=
m)),204===a||"HEAD"===h.type)m="nocontent";else if(304===a)m="notmodified";else{m=q.state;var C=q.data;var H=q.error;k=!H}else if(H=m,a||!m)m="error",0>a&&(a=0);v.status=a;v.statusText=(b||m)+"";k?I.resolveWith(u,[C,m,v]):I.rejectWith(u,[v,m,H]);v.statusCode(y);y=void 0;l&&r.trigger(k?"ajaxSuccess":"ajaxError",[v,h,k?C:H]);x.fireWith(u,[v,m]);l&&(r.trigger("ajaxComplete",[v,h]),--e.active||e.event.trigger("ajaxStop"))}}"object"===typeof a&&(b=a,a=void 0);b=b||{};var f,g,q,n,l,p,h=e.ajaxSetup({},b),
u=h.context||h,r=h.context&&(u.nodeType||u.jquery)?e(u):e.event,I=e.Deferred(),x=e.Callbacks("once memory"),y=h.statusCode||{},J={},w={},N="canceled",v={readyState:0,getResponseHeader:function(a){var b;if(B){if(!q)for(q={};b=qc.exec(g);)q[b[1].toLowerCase()]=b[2];b=q[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return B?g:null},setRequestHeader:function(a,b){null==B&&(a=w[a.toLowerCase()]=w[a.toLowerCase()]||a,J[a]=b);return this},overrideMimeType:function(a){null==B&&
(h.mimeType=a);return this},statusCode:function(a){var b;if(a)if(B)v.always(a[v.status]);else for(b in a)y[b]=[y[b],a[b]];return this},abort:function(a){a=a||N;f&&f.abort(a);d(0,a);return this}};I.promise(v);h.url=((a||h.url||ua.href)+"").replace(sc,ua.protocol+"//");h.type=b.method||b.type||h.method||h.type;h.dataTypes=(h.dataType||"*").toLowerCase().match(Z)||[""];if(null==h.crossDomain){a=C.createElement("a");try{a.href=h.url,a.href=a.href,h.crossDomain=$a.protocol+"//"+$a.host!==a.protocol+"//"+
a.host}catch(Xa){h.crossDomain=!0}}h.data&&h.processData&&"string"!==typeof h.data&&(h.data=e.param(h.data,h.traditional));lb(Bb,h,b,v);if(B)return v;(l=e.event&&h.global)&&0===e.active++&&e.event.trigger("ajaxStart");h.type=h.type.toUpperCase();h.hasContent=!rc.test(h.type);var E=h.url.replace(oc,"");h.hasContent?h.data&&h.processData&&0===(h.contentType||"").indexOf("application/x-www-form-urlencoded")&&(h.data=h.data.replace(nc,"+")):(a=h.url.slice(E.length),h.data&&(h.processData||"string"===
typeof h.data)&&(E+=(Za.test(E)?"&":"?")+h.data,delete h.data),!1===h.cache&&(E=E.replace(pc,"$1"),a=(Za.test(E)?"&":"?")+"_="+zb++ +a),h.url=E+a);h.ifModified&&(e.lastModified[E]&&v.setRequestHeader("If-Modified-Since",e.lastModified[E]),e.etag[E]&&v.setRequestHeader("If-None-Match",e.etag[E]));(h.data&&h.hasContent&&!1!==h.contentType||b.contentType)&&v.setRequestHeader("Content-Type",h.contentType);v.setRequestHeader("Accept",h.dataTypes[0]&&h.accepts[h.dataTypes[0]]?h.accepts[h.dataTypes[0]]+
("*"!==h.dataTypes[0]?", "+Cb+"; q=0.01":""):h.accepts["*"]);for(p in h.headers)v.setRequestHeader(p,h.headers[p]);if(h.beforeSend&&(!1===h.beforeSend.call(u,v,h)||B))return v.abort();N="abort";x.add(h.complete);v.done(h.success);v.fail(h.error);if(f=lb(Ua,h,b,v)){v.readyState=1;l&&r.trigger("ajaxSend",[v,h]);if(B)return v;h.async&&0<h.timeout&&(n=c.setTimeout(function(){v.abort("timeout")},h.timeout));try{var B=!1;f.send(J,d)}catch(Xa){if(B)throw Xa;d(-1,Xa)}}else d(-1,"No Transport");return v},
getJSON:function(a,b,c){return e.get(a,b,c,"json")},getScript:function(a,b){return e.get(a,void 0,b,"script")}});e.each(["get","post"],function(a,b){e[b]=function(a,c,f,g){A(c)&&(g=g||f,f=c,c=void 0);return e.ajax(e.extend({url:a,type:b,dataType:g,data:c,success:f},e.isPlainObject(a)&&a))}});e._evalUrl=function(a){return e.ajax({url:a,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,"throws":!0})};e.fn.extend({wrapAll:function(a){this[0]&&(A(a)&&(a=a.call(this[0])),a=e(a,this[0].ownerDocument).eq(0).clone(!0),
this[0].parentNode&&a.insertBefore(this[0]),a.map(function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;return a}).append(this));return this},wrapInner:function(a){return A(a)?this.each(function(b){e(this).wrapInner(a.call(this,b))}):this.each(function(){var b=e(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=A(a);return this.each(function(c){e(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(a){this.parent(a).not("body").each(function(){e(this).replaceWith(this.childNodes)});
return this}});e.expr.pseudos.hidden=function(a){return!e.expr.pseudos.visible(a)};e.expr.pseudos.visible=function(a){return!!(a.offsetWidth||a.offsetHeight||a.getClientRects().length)};e.ajaxSettings.xhr=function(){try{return new c.XMLHttpRequest}catch(a){}};var tc={0:200,1223:204},xa=e.ajaxSettings.xhr();M.cors=!!xa&&"withCredentials"in xa;M.ajax=xa=!!xa;e.ajaxTransport(function(a){var b,d;if(M.cors||xa&&!a.crossDomain)return{send:function(e,f){var g,k=a.xhr();k.open(a.type,a.url,a.async,a.username,
a.password);if(a.xhrFields)for(g in a.xhrFields)k[g]=a.xhrFields[g];a.mimeType&&k.overrideMimeType&&k.overrideMimeType(a.mimeType);a.crossDomain||e["X-Requested-With"]||(e["X-Requested-With"]="XMLHttpRequest");for(g in e)k.setRequestHeader(g,e[g]);b=function(a){return function(){b&&(b=d=k.onload=k.onerror=k.onabort=k.ontimeout=k.onreadystatechange=null,"abort"===a?k.abort():"error"===a?"number"!==typeof k.status?f(0,"error"):f(k.status,k.statusText):f(tc[k.status]||k.status,k.statusText,"text"!==
(k.responseType||"text")||"string"!==typeof k.responseText?{binary:k.response}:{text:k.responseText},k.getAllResponseHeaders()))}};k.onload=b();d=k.onerror=k.ontimeout=b("error");void 0!==k.onabort?k.onabort=d:k.onreadystatechange=function(){4===k.readyState&&c.setTimeout(function(){b&&d()})};b=b("abort");try{k.send(a.hasContent&&a.data||null)}catch(z){if(b)throw z;}},abort:function(){b&&b()}}});e.ajaxPrefilter(function(a){a.crossDomain&&(a.contents.script=!1)});e.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},
contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(a){e.globalEval(a);return a}}});e.ajaxPrefilter("script",function(a){void 0===a.cache&&(a.cache=!1);a.crossDomain&&(a.type="GET")});e.ajaxTransport("script",function(a){if(a.crossDomain){var b,c;return{send:function(d,f){b=e("<script>").prop({charset:a.scriptCharset,src:a.url}).on("load error",c=function(a){b.remove();c=null;a&&f("error"===a.type?404:200,a.type)});C.head.appendChild(b[0])},abort:function(){c&&c()}}}});
var Db=[],ab=/(=)\?(?=&|$)|\?\?/;e.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Db.pop()||e.expando+"_"+zb++;this[a]=!0;return a}});e.ajaxPrefilter("json jsonp",function(a,b,d){var f,g=!1!==a.jsonp&&(ab.test(a.url)?"url":"string"===typeof a.data&&0===(a.contentType||"").indexOf("application/x-www-form-urlencoded")&&ab.test(a.data)&&"data");if(g||"jsonp"===a.dataTypes[0]){var h=a.jsonpCallback=A(a.jsonpCallback)?a.jsonpCallback():a.jsonpCallback;g?a[g]=a[g].replace(ab,"$1"+h):!1!==a.jsonp&&
(a.url+=(Za.test(a.url)?"&":"?")+a.jsonp+"="+h);a.converters["script json"]=function(){f||e.error(h+" was not called");return f[0]};a.dataTypes[0]="json";var n=c[h];c[h]=function(){f=arguments};d.always(function(){void 0===n?e(c).removeProp(h):c[h]=n;a[h]&&(a.jsonpCallback=b.jsonpCallback,Db.push(h));f&&A(n)&&n(f[0]);f=n=void 0});return"script"}});M.createHTMLDocument=function(){var a=C.implementation.createHTMLDocument("").body;a.innerHTML="<form></form><form></form>";return 2===a.childNodes.length}();
e.parseHTML=function(a,b,c){if("string"!==typeof a)return[];"boolean"===typeof b&&(c=b,b=!1);if(!b)if(M.createHTMLDocument){b=C.implementation.createHTMLDocument("");var d=b.createElement("base");d.href=C.location.href;b.head.appendChild(d)}else b=C;d=qb.exec(a);c=!c&&[];if(d)return[b.createElement(d[1])];d=da([a],b,c);c&&c.length&&e(c).remove();return e.merge([],d.childNodes)};e.fn.load=function(a,b,c){var d,f,g=this,h=a.indexOf(" ");if(-1<h){var l=ma(a.slice(h));a=a.slice(0,h)}A(b)?(c=b,b=void 0):
b&&"object"===typeof b&&(d="POST");0<g.length&&e.ajax({url:a,type:d||"GET",dataType:"html",data:b}).done(function(a){f=arguments;g.html(l?e("<div>").append(e.parseHTML(a)).find(l):a)}).always(c&&function(a,b){g.each(function(){c.apply(this,f||[a.responseText,b,a])})});return this};e.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){e.fn[b]=function(a){return this.on(b,a)}});e.expr.pseudos.animated=function(a){return e.grep(e.timers,function(b){return a===
b.elem}).length};e.offset={setOffset:function(a,b,c){var d=e.css(a,"position"),f=e(a),g={};"static"===d&&(a.style.position="relative");var h=f.offset();var l=e.css(a,"top");var p=e.css(a,"left");("absolute"===d||"fixed"===d)&&-1<(l+p).indexOf("auto")?(p=f.position(),l=p.top,p=p.left):(l=parseFloat(l)||0,p=parseFloat(p)||0);A(b)&&(b=b.call(a,c,e.extend({},h)));null!=b.top&&(g.top=b.top-h.top+l);null!=b.left&&(g.left=b.left-h.left+p);"using"in b?b.using.call(a,g):f.css(g)}};e.fn.extend({offset:function(a){if(arguments.length)return void 0===
a?this:this.each(function(b){e.offset.setOffset(this,a,b)});var b;if(b=this[0]){if(!b.getClientRects().length)return{top:0,left:0};var c=b.getBoundingClientRect();b=b.ownerDocument.defaultView;return{top:c.top+b.pageYOffset,left:c.left+b.pageXOffset}}},position:function(){if(this[0]){var a,b=this[0],c={top:0,left:0};if("fixed"===e.css(b,"position"))var f=b.getBoundingClientRect();else{f=this.offset();var g=b.ownerDocument;for(a=b.offsetParent||g.documentElement;a&&(a===g.body||a===g.documentElement)&&
"static"===e.css(a,"position");)a=a.parentNode;a&&a!==b&&1===a.nodeType&&(c=e(a).offset(),c.top+=e.css(a,"borderTopWidth",!0),c.left+=e.css(a,"borderLeftWidth",!0))}return{top:f.top-c.top-e.css(b,"marginTop",!0),left:f.left-c.left-e.css(b,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&"static"===e.css(a,"position");)a=a.offsetParent;return a||Pa})}});e.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,b){var c="pageYOffset"===
b;e.fn[a]=function(d){return ha(this,function(a,d,e){if(ka(a))var f=a;else 9===a.nodeType&&(f=a.defaultView);if(void 0===e)return f?f[b]:a[d];f?f.scrollTo(c?f.pageXOffset:e,c?e:f.pageYOffset):a[d]=e},a,d,arguments.length)}});e.each(["top","left"],function(a,b){e.cssHooks[b]=Ha(M.pixelPosition,function(a,c){if(c)return c=G(a,b),Ra.test(c)?e(a).position()[b]+"px":c})});e.each({Height:"height",Width:"width"},function(a,b){e.each({padding:"inner"+a,content:b,"":"outer"+a},function(c,f){e.fn[f]=function(d,
g){var k=arguments.length&&(c||"boolean"!==typeof d),h=c||(!0===d||!0===g?"margin":"border");return ha(this,function(b,c,d){return ka(b)?0===f.indexOf("outer")?b["inner"+a]:b.document.documentElement["client"+a]:9===b.nodeType?(c=b.documentElement,Math.max(b.body["scroll"+a],c["scroll"+a],b.body["offset"+a],c["offset"+a],c["client"+a])):void 0===d?e.css(b,c,h):e.style(b,c,d,h)},b,k?d:void 0,k)}})});e.each("blur focus focusin focusout resize scroll click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup contextmenu".split(" "),
function(a,b){e.fn[b]=function(a,c){return 0<arguments.length?this.on(b,null,a,c):this.trigger(b)}});e.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)}});e.fn.extend({bind:function(a,b,c){return this.on(a,null,b,c)},unbind:function(a,b){return this.off(a,null,b)},delegate:function(a,b,c,e){return this.on(b,a,c,e)},undelegate:function(a,b,c){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",c)}});e.proxy=function(a,b){if("string"===typeof b){var c=a[b];b=a;a=
c}if(A(a)){var f=oa.call(arguments,2);c=function(){return a.apply(b||this,f.concat(oa.call(arguments)))};c.guid=a.guid=a.guid||e.guid++;return c}};e.holdReady=function(a){a?e.readyWait++:e.ready(!0)};e.isArray=Array.isArray;e.parseJSON=JSON.parse;e.nodeName=r;e.isFunction=A;e.isWindow=ka;e.camelCase=J;e.type=f;e.now=Date.now;e.isNumeric=function(a){var b=e.type(a);return("number"===b||"string"===b)&&!isNaN(a-parseFloat(a))};"function"===typeof define&&define.amd&&define("jquery",[],function(){return e});
var uc=c.jQuery,vc=c.$;e.noConflict=function(a){c.$===e&&(c.$=vc);a&&c.jQuery===e&&(c.jQuery=uc);return e};l||(c.jQuery=c.$=e);return e});var initBBUIButtons=function(){"undefined"!=typeof $.fn.button&&0<$(".bbUiButton:not(.ui-button)").length&&($(".bbUiButton").each(function(c){$(this).parent().hasClass("bbeuTheme")||$(this).wrap('<div class="bbeuTheme"></div>').button()}),$(".bbUiButtonParent").button().parent().addClass("bbeuTheme"))};
$(document).ready(function(){if("bedandbreakfast.eu"==location.host||"www.bedandbreakfast.eu"==location.host)_atrk_opts={atrk_acct:"vmXre1a8Oc00Mj",domain:"bedandbreakfast.eu",dynamic:!0};"function"==typeof atrk&&"object"==typeof _atrk_opts&&atrk();initBBUIButtons();$("#headlanguage_icon,#headlangmenu").mouseenter(function(){});$("#headlanguage_icon,#headlangmenu").mouseleave(function(){});if(0<$("#headlang_list").length){var c=$("#headlang_list").contents().get(0).nodeValue;$("#headlang_list").html(c)}$(".errors:first").each(function(){window.scrollTo($(this).offset().left,
$(this).offset().top-80)});$("#headerCurrencySelecter").click(function(){return!1});c={sensitivity:1,interval:100,timeout:600,over:currencyMenuIn,out:currencyMenuOut};$("#currencyMenuHoverIntent").hoverIntent(c);c={sensitivity:1,interval:100,timeout:600,over:headerLanguageIn,out:headerLanguageOut};$("#headlangmenuHoverIntent").hoverIntent(c)});var currencySelectAjaxCall=null;
function currencyMenuIn(){$("#headlangmenu").slideUp("fast");0===$("#headcurrencymenu").children().length&&null==currencySelectAjaxCall?($("#headcurrencymenu").html($("#loadingImage").html()),$("#headcurrencymenu").slideDown("fast"),currencySelectAjaxCall=$.get("/currency_select",function(c){$("#headcurrencymenu").html("");$("#headcurrencymenu").append($(c));$("#headcurrencymenu").slideDown("fast")})):$("#headcurrencymenu").slideDown("fast")}
function currencyMenuOut(){$("#headcurrencymenu").slideUp("fast")}function headerLanguageIn(){$("#headcurrencymenu").slideUp("fast");$("#headlangmenu").slideDown("fast")}function headerLanguageOut(){out()}
function getVar(c,l,h){c=$("#var_"+c);if(0==c.length){if("undefined"!=typeof h)return h}else{h=c.text();if("undefined"!=typeof l){if(1==l||"int"==l||"integer"==l||"number"==l||"numeric"==l)h=Number(h);if(2==l||"bool"==l||"boolean"==l)h=0<h.length&&("true"==h||0<h);if(3==l||"json"==l)h=jQuery.parseJSON(h);if(4==l||"html"==l)h=c.html()}return h}}
function getVarsFromClass(c){c=$(c);c=c.attr("class").split(" ");var l={},h;for(h in c){var f=c[h];"string"==typeof f&&0===f.indexOf("var_")&&(f=f.split("_"),3<f.length&&(f[2]=f.slice(2).join("_")),l[f[1]]=f[2])}return l}var timeouts=[];function out(){$("#headlanguage_icon,#headlangmenu").mouseenter(function(){$("#headlangmenu").slideUp("fast")});$("#headlanguage_icon,#headlangmenu").mouseleave(function(){timeouts[timeouts.length]=window.setTimeout("out()",600)})}
function clearAllTimeouts(){for(key in timeouts)clearTimeout(timeouts[key]);timeouts=[]}
(function(c){c.fn.errorTooltip=function(){var l=arguments,h={hasArrow:!0};"object"==typeof l[1]&&c.extend(h,l[1]);return this.each(function(){var f=c("#simpleErrorDiv");if(0==f.length){var g="imagehost"in h?h.imagehost:"";f=c("<div></div>");f.attr("id","simpleErrorDiv");f.hide();f.addClass("ui-corner-all");h.hasArrow&&f.append('<div class="arrowContainer"><img src="'+g+'/images/layout/arrow.gif" alt="&lt;" /></div>');f.append("<table><tbody><tr><td></td></tr></tbody></table>");c("body").append(f)}g=
c(l[0]).clone().contents();c("td:first",f).empty().append(g);g=c(".arrowContainer",f);var r=c(this),x="offsetY"in h?h.offsetY:0,y="offsetX"in h?h.offsetX:0;r={position:"absolute",top:r.offset().top-f.outerHeight()/2+g.outerHeight()/2+x+"px",left:r.offset().left+r.outerWidth()+g.width()+y+"px"};f.css(r).fadeIn("slow");g.css({position:"absolute",left:-1*g.width()+"px",top:c("td",f).height()/2+"px"}).fadeIn("slow");"fadeOutOnFocus"in h&&c(this).bind("focus.sed",function(){c(f).add("arrow").fadeOut("normal")});
"fadeOut"in h&&("object"==typeof h.fadeOut?setTimeout(function(){c(f).add("arrow").fadeOut(h.fadeOut[1])},h.fadeOut[0]):c(f).add("arrow").fadeOut(h.fadeOut))})}})(jQuery);"use strict";
$(document).ready(function(){var c=[];$(document).ajaxSend(function(l,h,f){if("script"!==f.dataType&&"POST"===f.type){l=$("#csrf_sec_token_ajax_id");var g=l.val();if("used"===g){var r={callbackOptions:f};c.push(r);h.abort();f={};l=$jscomp.makeIterator(["done","fail","always","then"]);for(g=l.next();!g.done;f={type:f.type},g=l.next())f.type=g.value,h[f.type]=function(c){return function(f){if(f)return r[c.type]=f,h}}(f)}else h.setRequestHeader("X-CSRF-Sec-Token",g),l.val("used")}});$(document).ajaxComplete(function(l,
h,f){if("script"!==f.dataType&&"POST"===f.type&&4===h.readyState)if(l=$("#csrf_sec_token_ajax_id"),f=h.getResponseHeader("X-CSRF-Sec-Token"),h=h.getResponseHeader("X-CSRF-Inv-Token"),null===h){if(l.val(f),c.length){h=c.shift();l=$.ajax(h.callbackOptions);f=$jscomp.makeIterator(["done","fail","always","then"]);for(var g=f.next();!g.done;g=f.next())if(g=g.value,h[g])l[g](h[g])}}else window.location.replace(h)});$("form").on("submit",function(c){$(c.currentTarget).hasClass("-ajax")||$(c.currentTarget).append('<input type="hidden" name="csrf_sec_token_id" value="'+
$("#csrf_sec_token_id").val()+'" />')})});
(function(c){"function"===typeof define&&define.amd?define(["jquery"],c):jQuery&&!jQuery.fn.hoverIntent&&c(jQuery)})(function(c){var l={interval:100,sensitivity:6,timeout:0},h=0,f,g,r=function(c){f=c.pageX;g=c.pageY},x=function(c,h,l,B){if(Math.sqrt((l.pX-f)*(l.pX-f)+(l.pY-g)*(l.pY-g))<B.sensitivity)return h.off(l.event,r),delete l.timeoutId,l.isActive=!0,c.pageX=f,c.pageY=g,delete l.pX,delete l.pY,B.over.apply(h[0],[c]);l.pX=f;l.pY=g;l.timeoutId=setTimeout(function(){x(c,h,l,B)},B.interval)};c.fn.hoverIntent=
function(f,g,E){var y=h++,v=c.extend({},l);c.isPlainObject(f)?(v=c.extend(v,f),c.isFunction(v.out)||(v.out=v.over)):v=c.isFunction(g)?c.extend(v,{over:f,out:g,selector:E}):c.extend(v,{over:f,out:f,selector:g});f=function(f){var g=c.extend({},f),h=c(this),l=h.data("hoverIntent");l||h.data("hoverIntent",l={});var u=l[y];u||(l[y]=u={id:y});u.timeoutId&&(u.timeoutId=clearTimeout(u.timeoutId));l=u.event="mousemove.hoverIntent.hoverIntent"+y;"mouseenter"===f.type?u.isActive||(u.pX=g.pageX,u.pY=g.pageY,
h.off(l,r).on(l,r),u.timeoutId=setTimeout(function(){x(g,h,u,v)},v.interval)):u.isActive&&(h.off(l,r),u.timeoutId=setTimeout(function(){var c=u,f=v.out;delete h.data("hoverIntent")[c.id];f.apply(h[0],[g])},v.timeout))};return this.on({"mouseenter.hoverIntent":f,"mouseleave.hoverIntent":f},v.selector)}});(function(c){"function"===typeof define&&define.amd?define(["jquery"],c):c(jQuery)})(function(c){c.ui=c.ui||{};return c.ui.version="1.12.1"});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.extend(c.expr[":"],{data:c.expr.createPseudo?c.expr.createPseudo(function(l){return function(h){return!!c.data(h,l)}}):function(l,h,f){return!!c.data(l,f[3])}})});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.fn.extend({disableSelection:function(){var c="onselectstart"in document.createElement("div")?"selectstart":"mousedown";return function(){return this.on(c+".ui-disableSelection",function(c){c.preventDefault()})}}(),enableSelection:function(){return this.off(".ui-disableSelection")}})});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){c.ui.focusable=function(l,h){var f=l.nodeName.toLowerCase();if("area"===f){f=l.parentNode;var g=f.name;if(!l.href||!g||"map"!==f.nodeName.toLowerCase())return!1;f=c("img[usemap='#"+g+"']");return 0<f.length&&f.is(":visible")}/^(input|select|textarea|button|object)$/.test(f)?(f=!l.disabled)&&(g=c(l).closest("fieldset")[0])&&(f=!g.disabled):f="a"===f?l.href||h:h;if(f=f&&c(l).is(":visible")){f=
c(l);for(g=f.css("visibility");"inherit"===g;)f=f.parent(),g=f.css("visibility");f="hidden"!==g}return f};c.extend(c.expr[":"],{focusable:function(l){return c.ui.focusable(l,null!=c.attr(l,"tabindex"))}});return c.ui.focusable});(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.fn.form=function(){return"string"===typeof this[0].form?this.closest("form"):c(this[0].form)}});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase())});(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.ui.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}});
$jscomp={scope:{},findInternal:function(c,l,h){c instanceof String&&(c=String(c));for(var f=c.length,g=0;g<f;g++){var r=c[g];if(l.call(h,r,g,c))return{i:g,v:r}}return{i:-1,v:void 0}}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(c,l,h){if(h.get||h.set)throw new TypeError("ES3 does not support getters and setters.");c!=Array.prototype&&c!=Object.prototype&&(c[l]=h.value)};
$jscomp.getGlobal=function(c){return"undefined"!=typeof window&&window===c?c:"undefined"!=typeof global&&null!=global?global:c};$jscomp.global=$jscomp.getGlobal(this);$jscomp.polyfill=function(c,l,h,f){if(l){h=$jscomp.global;c=c.split(".");for(f=0;f<c.length-1;f++){var g=c[f];g in h||(h[g]={});h=h[g]}c=c[c.length-1];f=h[c];l=l(f);l!=f&&null!=l&&$jscomp.defineProperty(h,c,{configurable:!0,writable:!0,value:l})}};
$jscomp.polyfill("Array.prototype.find",function(c){return c?c:function(c,h){return $jscomp.findInternal(this,c,h).v}},"es6-impl","es3");
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version","./escape-selector"],c):c(jQuery)})(function(c){return c.fn.labels=function(){var l;if(this[0].labels&&this[0].labels.length)return this.pushStack(this[0].labels);var h=this.eq(0).parents("label");if(l=this.attr("id")){var f=this.eq(0).parents().last();f=f.add(f.length?f.siblings():this.siblings());l="label[for='"+c.ui.escapeSelector(l)+"']";h=h.add(f.find(l).addBack(l))}return this.pushStack(h)}});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){"1.7"===c.fn.jquery.substring(0,3)&&(c.each(["Width","Height"],function(l,h){function f(f,h,l,r){c.each(g,function(){h-=parseFloat(c.css(f,"padding"+this))||0;l&&(h-=parseFloat(c.css(f,"border"+this+"Width"))||0);r&&(h-=parseFloat(c.css(f,"margin"+this))||0)});return h}var g="Width"===h?["Left","Right"]:["Top","Bottom"],r=h.toLowerCase(),x={innerWidth:c.fn.innerWidth,innerHeight:c.fn.innerHeight,
outerWidth:c.fn.outerWidth,outerHeight:c.fn.outerHeight};c.fn["inner"+h]=function(g){return void 0===g?x["inner"+h].call(this):this.each(function(){c(this).css(r,f(this,g)+"px")})};c.fn["outer"+h]=function(g,l){return"number"!==typeof g?x["outer"+h].call(this,g):this.each(function(){c(this).css(r,f(this,g,!0,l)+"px")})}}),c.fn.addBack=function(c){return this.add(null==c?this.prevObject:this.prevObject.filter(c))})});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.ui.plugin={add:function(l,h,f){var g;l=c.ui[l].prototype;for(g in f)l.plugins[g]=l.plugins[g]||[],l.plugins[g].push([h,f[g]])},call:function(c,h,f,g){if((h=c.plugins[h])&&(g||c.element[0].parentNode&&11!==c.element[0].parentNode.nodeType))for(g=0;g<h.length;g++)c.options[h[g][0]]&&h[g][1].apply(c.element,f)}}});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.ui.safeActiveElement=function(c){try{var h=c.activeElement}catch(f){h=c.body}h||(h=c.body);h.nodeName||(h=c.body);return h}});(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.ui.safeBlur=function(l){l&&"body"!==l.nodeName.toLowerCase()&&c(l).trigger("blur")}});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.fn.scrollParent=function(l){var h=this.css("position"),f="absolute"===h,g=l?/(auto|scroll|hidden)/:/(auto|scroll)/;l=this.parents().filter(function(){var h=c(this);return f&&"static"===h.css("position")?!1:g.test(h.css("overflow")+h.css("overflow-y")+h.css("overflow-x"))}).eq(0);return"fixed"!==h&&l.length?l:c(this[0].ownerDocument||document)}});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version","./focusable"],c):c(jQuery)})(function(c){return c.extend(c.expr[":"],{tabbable:function(l){var h=c.attr(l,"tabindex"),f=null!=h;return(!f||0<=h)&&c.ui.focusable(l,f)}})});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){return c.fn.extend({uniqueId:function(){var c=0;return function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++c)})}}(),removeUniqueId:function(){return this.each(function(){/^ui-id-\d+$/.test(this.id)&&c(this).removeAttr("id")})}})});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){(function(){function l(c,f,g){return[parseFloat(c[0])*(B.test(c[0])?f/100:1),parseFloat(c[1])*(B.test(c[1])?g/100:1)]}function h(f){var g=f[0];return 9===g.nodeType?{width:f.width(),height:f.height(),offset:{top:0,left:0}}:c.isWindow(g)?{width:f.width(),height:f.height(),offset:{top:f.scrollTop(),left:f.scrollLeft()}}:g.preventDefault?{width:0,height:0,offset:{top:g.pageY,left:g.pageX}}:{width:f.outerWidth(),
height:f.outerHeight(),offset:f.offset()}}var f,g=Math.max,r=Math.abs,x=/left|center|right/,y=/top|center|bottom/,v=/[\+\-]\d+(\.[\d]+)?%?/,E=/^\w+/,B=/%$/,F=c.fn.position;c.position={scrollbarWidth:function(){if(void 0!==f)return f;var g=c("<div style='display:block;position:absolute;width:50px;height:50px;overflow:hidden;'><div style='height:100px;width:auto;'></div></div>");var h=g.children()[0];c("body").append(g);var l=h.offsetWidth;g.css("overflow","scroll");h=h.offsetWidth;l===h&&(h=g[0].clientWidth);
g.remove();return f=l-h},getScrollInfo:function(f){var g=f.isWindow||f.isDocument?"":f.element.css("overflow-x"),h=f.isWindow||f.isDocument?"":f.element.css("overflow-y");g="scroll"===g||"auto"===g&&f.width<f.element[0].scrollWidth;return{width:"scroll"===h||"auto"===h&&f.height<f.element[0].scrollHeight?c.position.scrollbarWidth():0,height:g?c.position.scrollbarWidth():0}},getWithinInfo:function(f){var g=c(f||window),h=c.isWindow(g[0]),l=!!g[0]&&9===g[0].nodeType;return{element:g,isWindow:h,isDocument:l,
offset:h||l?{left:0,top:0}:c(f).offset(),scrollLeft:g.scrollLeft(),scrollTop:g.scrollTop(),width:g.outerWidth(),height:g.outerHeight()}}};c.fn.position=function(f){if(!f||!f.of)return F.apply(this,arguments);f=c.extend({},f);var u=c(f.of),J=c.position.getWithinInfo(f.within),N=c.position.getScrollInfo(J),B=(f.collision||"flip").split(" "),ca={};var K=h(u);u[0].preventDefault&&(f.at="left top");var H=K.width;var R=K.height;var da=K.offset;var P=c.extend({},da);c.each(["my","at"],function(){var c=(f[this]||
"").split(" ");1===c.length&&(c=x.test(c[0])?c.concat(["center"]):y.test(c[0])?["center"].concat(c):["center","center"]);c[0]=x.test(c[0])?c[0]:"center";c[1]=y.test(c[1])?c[1]:"center";var g=v.exec(c[0]);var h=v.exec(c[1]);ca[this]=[g?g[0]:0,h?h[0]:0];f[this]=[E.exec(c[0])[0],E.exec(c[1])[0]]});1===B.length&&(B[1]=B[0]);"right"===f.at[0]?P.left+=H:"center"===f.at[0]&&(P.left+=H/2);"bottom"===f.at[1]?P.top+=R:"center"===f.at[1]&&(P.top+=R/2);var aa=l(ca.at,H,R);P.left+=aa[0];P.top+=aa[1];return this.each(function(){var h,
x=c(this),v=x.outerWidth(),y=x.outerHeight(),I=parseInt(c.css(this,"marginLeft"),10)||0,K=parseInt(c.css(this,"marginTop"),10)||0,E=v+I+(parseInt(c.css(this,"marginRight"),10)||0)+N.width,F=y+K+(parseInt(c.css(this,"marginBottom"),10)||0)+N.height,G=c.extend({},P),S=l(ca.my,x.outerWidth(),x.outerHeight());"right"===f.my[0]?G.left-=v:"center"===f.my[0]&&(G.left-=v/2);"bottom"===f.my[1]?G.top-=y:"center"===f.my[1]&&(G.top-=y/2);G.left+=S[0];G.top+=S[1];var Ia={marginLeft:I,marginTop:K};c.each(["left",
"top"],function(g,h){if(c.ui.position[B[g]])c.ui.position[B[g]][h](G,{targetWidth:H,targetHeight:R,elemWidth:v,elemHeight:y,collisionPosition:Ia,collisionWidth:E,collisionHeight:F,offset:[aa[0]+S[0],aa[1]+S[1]],my:f.my,at:f.at,within:J,elem:x})});f.using&&(h=function(c){var h=da.left-G.left,l=h+H-v,I=da.top-G.top,J=I+R-y,B={target:{element:u,left:da.left,top:da.top,width:H,height:R},element:{element:x,left:G.left,top:G.top,width:v,height:y},horizontal:0>l?"left":0<h?"right":"center",vertical:0>J?
"top":0<I?"bottom":"middle"};H<v&&r(h+l)<H&&(B.horizontal="center");R<y&&r(I+J)<R&&(B.vertical="middle");g(r(h),r(l))>g(r(I),r(J))?B.important="horizontal":B.important="vertical";f.using.call(this,c,B)});x.offset(c.extend(G,{using:h}))})};c.ui.position={fit:{left:function(c,f){var h=f.within,l=h.isWindow?h.scrollLeft:h.offset.left,r=h.width,u=c.left-f.collisionPosition.marginLeft;h=l-u;var x=u+f.collisionWidth-r-l;f.collisionWidth>r?0<h&&0>=x?(l=c.left+h+f.collisionWidth-r-l,c.left+=h-l):c.left=0<
x&&0>=h?l:h>x?l+r-f.collisionWidth:l:c.left=0<h?c.left+h:0<x?c.left-x:g(c.left-u,c.left)},top:function(c,f){var h=f.within,l=h.isWindow?h.scrollTop:h.offset.top,r=f.within.height,x=c.top-f.collisionPosition.marginTop;h=l-x;var u=x+f.collisionHeight-r-l;f.collisionHeight>r?0<h&&0>=u?(l=c.top+h+f.collisionHeight-r-l,c.top+=h-l):c.top=0<u&&0>=h?l:h>u?l+r-f.collisionHeight:l:c.top=0<h?c.top+h:0<u?c.top-u:g(c.top-x,c.top)}},flip:{left:function(c,f){var g=f.within,h=g.offset.left+g.scrollLeft,l=g.width,
x=g.isWindow?g.scrollLeft:g.offset.left,u=c.left-f.collisionPosition.marginLeft;g=u-x;var v=u+f.collisionWidth-l-x;u="left"===f.my[0]?-f.elemWidth:"right"===f.my[0]?f.elemWidth:0;var y="left"===f.at[0]?f.targetWidth:"right"===f.at[0]?-f.targetWidth:0,B=-2*f.offset[0];if(0>g){if(h=c.left+u+y+B+f.collisionWidth-l-h,0>h||h<r(g))c.left+=u+y+B}else 0<v&&(h=c.left-f.collisionPosition.marginLeft+u+y+B-x,0<h||r(h)<v)&&(c.left+=u+y+B)},top:function(c,f){var g=f.within,h=g.offset.top+g.scrollTop,l=g.height,
x=g.isWindow?g.scrollTop:g.offset.top,u=c.top-f.collisionPosition.marginTop;g=u-x;var v=u+f.collisionHeight-l-x;u="top"===f.my[1]?-f.elemHeight:"bottom"===f.my[1]?f.elemHeight:0;var y="top"===f.at[1]?f.targetHeight:"bottom"===f.at[1]?-f.targetHeight:0,B=-2*f.offset[1];if(0>g){if(h=c.top+u+y+B+f.collisionHeight-l-h,0>h||h<r(g))c.top+=u+y+B}else 0<v&&(h=c.top-f.collisionPosition.marginTop+u+y+B-x,0<h||r(h)<v)&&(c.top+=u+y+B)}},flipfit:{left:function(){c.ui.position.flip.left.apply(this,arguments);c.ui.position.fit.left.apply(this,
arguments)},top:function(){c.ui.position.flip.top.apply(this,arguments);c.ui.position.fit.top.apply(this,arguments)}}}})();return c.ui.position});
(function(c){"function"===typeof define&&define.amd?define(["jquery","./version"],c):c(jQuery)})(function(c){var l=0,h=Array.prototype.slice;c.cleanData=function(f){return function(g){var h,l,y;for(y=0;null!=(l=g[y]);y++)try{(h=c._data(l,"events"))&&h.remove&&c(l).triggerHandler("remove")}catch(v){}f(g)}}(c.cleanData);c.widget=function(f,g,h){var l={},r=f.split(".")[0];f=f.split(".")[1];var v=r+"-"+f;h||(h=g,g=c.Widget);c.isArray(h)&&(h=c.extend.apply(null,[{}].concat(h)));c.expr[":"][v.toLowerCase()]=
function(f){return!!c.data(f,v)};c[r]=c[r]||{};var E=c[r][f];var B=c[r][f]=function(c,f){if(!this._createWidget)return new B(c,f);arguments.length&&this._createWidget(c,f)};c.extend(B,E,{version:h.version,_proto:c.extend({},h),_childConstructors:[]});var F=new g;F.options=c.widget.extend({},F.options);c.each(h,function(f,h){c.isFunction(h)?l[f]=function(){function c(){return g.prototype[f].apply(this,arguments)}function l(c){return g.prototype[f].apply(this,c)}return function(){var f=this._super,
g=this._superApply;this._super=c;this._superApply=l;var r=h.apply(this,arguments);this._super=f;this._superApply=g;return r}}():l[f]=h});B.prototype=c.widget.extend(F,{widgetEventPrefix:E?F.widgetEventPrefix||f:f},l,{constructor:B,namespace:r,widgetName:f,widgetFullName:v});E?(c.each(E._childConstructors,function(f,g){f=g.prototype;c.widget(f.namespace+"."+f.widgetName,B,g._proto)}),delete E._childConstructors):g._childConstructors.push(B);c.widget.bridge(f,B);return B};c.widget.extend=function(f){for(var g=
h.call(arguments,1),l=0,x=g.length,y,v;l<x;l++)for(y in g[l])v=g[l][y],g[l].hasOwnProperty(y)&&void 0!==v&&(c.isPlainObject(v)?f[y]=c.isPlainObject(f[y])?c.widget.extend({},f[y],v):c.widget.extend({},v):f[y]=v);return f};c.widget.bridge=function(f,g){var l=g.prototype.widgetFullName||f;c.fn[f]=function(r){var x="string"===typeof r,v=h.call(arguments,1),E=this;x?this.length||"instance"!==r?this.each(function(){var g=c.data(this,l);if("instance"===r)return E=g,!1;if(!g)return c.error("cannot call methods on "+
f+" prior to initialization; attempted to call method '"+r+"'");if(!c.isFunction(g[r])||"_"===r.charAt(0))return c.error("no such method '"+r+"' for "+f+" widget instance");var h=g[r].apply(g,v);if(h!==g&&void 0!==h)return E=h&&h.jquery?E.pushStack(h.get()):h,!1}):E=void 0:(v.length&&(r=c.widget.extend.apply(null,[r].concat(v))),this.each(function(){var f=c.data(this,l);f?(f.option(r||{}),f._init&&f._init()):c.data(this,l,new g(r,this))}));return E}};c.Widget=function(){};c.Widget._childConstructors=
[];c.Widget.prototype={widgetName:"widget",widgetEventPrefix:"",defaultElement:"<div>",options:{classes:{},disabled:!1,create:null},_createWidget:function(f,g){g=c(g||this.defaultElement||this)[0];this.element=c(g);this.uuid=l++;this.eventNamespace="."+this.widgetName+this.uuid;this.bindings=c();this.hoverable=c();this.focusable=c();this.classesElementLookup={};g!==this&&(c.data(g,this.widgetFullName,this),this._on(!0,this.element,{remove:function(c){c.target===g&&this.destroy()}}),this.document=
c(g.style?g.ownerDocument:g.document||g),this.window=c(this.document[0].defaultView||this.document[0].parentWindow));this.options=c.widget.extend({},this.options,this._getCreateOptions(),f);this._create();this.options.disabled&&this._setOptionDisabled(this.options.disabled);this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:function(){return{}},_getCreateEventData:c.noop,_create:c.noop,_init:c.noop,destroy:function(){var f=this;this._destroy();c.each(this.classesElementLookup,
function(c,h){f._removeClass(h,c)});this.element.off(this.eventNamespace).removeData(this.widgetFullName);this.widget().off(this.eventNamespace).removeAttr("aria-disabled");this.bindings.off(this.eventNamespace)},_destroy:c.noop,widget:function(){return this.element},option:function(f,g){var h=f,l,y;if(0===arguments.length)return c.widget.extend({},this.options);if("string"===typeof f)if(h={},l=f.split("."),f=l.shift(),l.length){var v=h[f]=c.widget.extend({},this.options[f]);for(y=0;y<l.length-1;y++)v[l[y]]=
v[l[y]]||{},v=v[l[y]];f=l.pop();if(1===arguments.length)return void 0===v[f]?null:v[f];v[f]=g}else{if(1===arguments.length)return void 0===this.options[f]?null:this.options[f];h[f]=g}this._setOptions(h);return this},_setOptions:function(c){for(var f in c)this._setOption(f,c[f]);return this},_setOption:function(c,g){"classes"===c&&this._setOptionClasses(g);this.options[c]=g;"disabled"===c&&this._setOptionDisabled(g);return this},_setOptionClasses:function(f){var g,h;for(g in f){var l=this.classesElementLookup[g];
f[g]!==this.options.classes[g]&&l&&l.length&&(h=c(l.get()),this._removeClass(l,g),h.addClass(this._classes({element:h,keys:g,classes:f,add:!0})))}},_setOptionDisabled:function(c){this._toggleClass(this.widget(),this.widgetFullName+"-disabled",null,!!c);c&&(this._removeClass(this.hoverable,null,"ui-state-hover"),this._removeClass(this.focusable,null,"ui-state-focus"))},enable:function(){return this._setOptions({disabled:!1})},disable:function(){return this._setOptions({disabled:!0})},_classes:function(f){function g(g,
r){var v;for(v=0;v<g.length;v++){var x=l.classesElementLookup[g[v]]||c();x=f.add?c(c.unique(x.get().concat(f.element.get()))):c(x.not(f.element).get());l.classesElementLookup[g[v]]=x;h.push(g[v]);r&&f.classes[g[v]]&&h.push(f.classes[g[v]])}}var h=[],l=this;f=c.extend({element:this.element,classes:this.options.classes||{}},f);this._on(f.element,{remove:"_untrackClassesElement"});f.keys&&g(f.keys.match(/\S+/g)||[],!0);f.extra&&g(f.extra.match(/\S+/g)||[]);return h.join(" ")},_untrackClassesElement:function(f){var g=
this;c.each(g.classesElementLookup,function(h,l){-1!==c.inArray(f.target,l)&&(g.classesElementLookup[h]=c(l.not(f.target).get()))})},_removeClass:function(c,g,h){return this._toggleClass(c,g,h,!1)},_addClass:function(c,g,h){return this._toggleClass(c,g,h,!0)},_toggleClass:function(c,g,h,l){l="boolean"===typeof l?l:h;var f="string"===typeof c||null===c;c={extra:f?g:h,keys:f?c:g,element:f?this.element:c,add:l};c.element.toggleClass(this._classes(c),l);return this},_on:function(f,g,h){var l,r=this;"boolean"!==
typeof f&&(h=g,g=f,f=!1);h?(g=l=c(g),this.bindings=this.bindings.add(g)):(h=g,g=this.element,l=this.widget());c.each(h,function(h,x){function v(){if(f||!0!==r.options.disabled&&!c(this).hasClass("ui-state-disabled"))return("string"===typeof x?r[x]:x).apply(r,arguments)}"string"!==typeof x&&(v.guid=x.guid=x.guid||v.guid||c.guid++);h=h.match(/^([\w:-]*)\s*(.*)$/);var y=h[1]+r.eventNamespace;if(h=h[2])l.on(y,h,v);else g.on(y,v)})},_off:function(f,g){g=(g||"").split(" ").join(this.eventNamespace+" ")+
this.eventNamespace;f.off(g).off(g);this.bindings=c(this.bindings.not(f).get());this.focusable=c(this.focusable.not(f).get());this.hoverable=c(this.hoverable.not(f).get())},_delay:function(c,g){var f=this;return setTimeout(function(){return("string"===typeof c?f[c]:c).apply(f,arguments)},g||0)},_hoverable:function(f){this.hoverable=this.hoverable.add(f);this._on(f,{mouseenter:function(f){this._addClass(c(f.currentTarget),null,"ui-state-hover")},mouseleave:function(f){this._removeClass(c(f.currentTarget),
null,"ui-state-hover")}})},_focusable:function(f){this.focusable=this.focusable.add(f);this._on(f,{focusin:function(f){this._addClass(c(f.currentTarget),null,"ui-state-focus")},focusout:function(f){this._removeClass(c(f.currentTarget),null,"ui-state-focus")}})},_trigger:function(f,g,h){var l,r=this.options[f];h=h||{};g=c.Event(g);g.type=(f===this.widgetEventPrefix?f:this.widgetEventPrefix+f).toLowerCase();g.target=this.element[0];if(f=g.originalEvent)for(l in f)l in g||(g[l]=f[l]);this.element.trigger(g,
h);return!(c.isFunction(r)&&!1===r.apply(this.element[0],[g].concat(h))||g.isDefaultPrevented())}};c.each({show:"fadeIn",hide:"fadeOut"},function(f,g){c.Widget.prototype["_"+f]=function(h,l,y){"string"===typeof l&&(l={effect:l});var r=l?!0===l||"number"===typeof l?g:l.effect||g:f;l=l||{};"number"===typeof l&&(l={duration:l});var x=!c.isEmptyObject(l);l.complete=y;l.delay&&h.delay(l.delay);if(x&&c.effects&&c.effects.effect[r])h[f](l);else if(r!==f&&h[r])h[r](l.duration,l.easing,y);else h.queue(function(g){c(this)[f]();
y&&y.call(h[0]);g()})}});return c.widget});
