var $jscomp={scope:{}};$jscomp.defineProperty="function"==typeof Object.defineProperties?Object.defineProperty:function(a,g,b){if(b.get||b.set)throw new TypeError("ES3 does not support getters and setters.");a!=Array.prototype&&a!=Object.prototype&&(a[g]=b.value)};$jscomp.getGlobal=function(a){return"undefined"!=typeof window&&window===a?a:"undefined"!=typeof global?global:a};$jscomp.global=$jscomp.getGlobal(this); $jscomp.polyfill=function(a,g,b,e){if(g){b=$jscomp.global;a=a.split(".");for(e=0;eb&&(b=Math.max(0,f+b));if(null==e||e>f)e=f;e=Number(e);0>e&&(e=Math.max(0,f+e));for(b=Number(b||0);b=f}},"es6-impl","es3");$jscomp.findInternal=function(a,g,b){a instanceof String&&(a=String(a));for(var e=a.length,f=0;fa||1342177279>>=1)b+=b;return e}},"es6-impl","es3"); $jscomp.polyfill("String.prototype.startsWith",function(a){return a?a:function(a,b){var e=$jscomp.checkStringArgs(this,a,"startsWith");a+="";var f=e.length,h=a.length;b=Math.max(0,Math.min(b|0,e.length));for(var l=0;l=h}},"es6-impl","es3"); var xts=function(a){function g(e){if(b[e])return b[e].exports;var f=b[e]={i:e,l:!1,exports:{}};a[e].call(f.exports,f,f.exports,g);f.l=!0;return f.exports}var b={};g.m=a;g.c=b;g.i=function(a){return a};g.d=function(a,b,h){g.o(a,b)||Object.defineProperty(a,b,{configurable:!1,enumerable:!0,get:h})};g.n=function(a){var b=a&&a.__esModule?function(){return a["default"]}:function(){return a};g.d(b,"a",b);return b};g.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};g.p="";return g(g.s=3)}([function(a, g,b){Object.defineProperty(g,"__esModule",{value:!0});b(2).__exportStar(b(1),g)},function(a,g,b){Object.defineProperty(g,"__esModule",{value:!0});g.toArray2=function(a){var b=[],e;for(e in a)b.push({name:e,value:a[e]});return b}},function(a,g,b){function e(a){var b="function"===typeof Symbol&&a[Symbol.iterator],e=0;return b?b.call(a):{next:function(){a&&e>=a.length&&(a=void 0);return{value:a&&a[e++],done:!a}}}}function f(a,b){var e="function"===typeof Symbol&&a[Symbol.iterator];if(!e)return a;a=e.call(a); var f,h=[],k;try{for(;(void 0===b||0b.indexOf(f)&&(e[f]=a[f]);if(null!=a&&"function"===typeof Object.getOwnPropertySymbols){var h=0;for(f=Object.getOwnPropertySymbols(a);hb.indexOf(f[h])&&(e[f[h]]=a[f[h]])}return e};g.__decorate=function(a,b,e,f){var h=arguments.length,k=3>h?b:null===f?f=Object.getOwnPropertyDescriptor(b,e):f,l;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)k=Reflect.decorate(a,b,e,f);else for(var g=a.length-1;0<=g;g--)if(l= a[g])k=(3>h?l(k):3g[0]&&e[1]C.call(a,"cmd")?!1:!0};k.prototype._prevent_default=function(a,b,e){e=a.target;if(!e||-1==e.className.toLowerCase().indexOf("input"))if(16=== a.keyCode&&(this._shiftDown="keydown"===a.type),!this._shiftDown&&(b||this.should_suppress_event_defaults)&&!this.should_force_event_defaults&&!this._shiftDown&&(a.preventDefault?a.preventDefault():a.returnValue=!1,a.stopPropagation))return a.stopPropagation()};k.prototype._get_active_combos=function(a){var b,e;b=[];e=l(this._keys_down,function(b){return b!==a});e.push(a);this._match_combo_arrays(e,function(a){return function(e){if(a._cmd_bug_check(e.keys))return b.push(e)}}(this));this._fuzzy_match_combo_arrays(e, function(a){return function(e){if(!(0<=C.call(b,e)||e.is_solitary)&&a._cmd_bug_check(e.keys))return b.push(e)}}(this));return b};k.prototype._get_potential_combos=function(a){var b,e,f,h,k;h=[];k=this._registered_combos;e=0;for(f=k.length;en;h=0<=n?++k:--k)if((b=this._active_combos[h])&&b.is_exclusive&&a.is_exclusive){b=b.keys;if(!p)for(g=0,l=b.length;gC.call(a.keys,e)){p=!1;break}if(q&&!p)for(m=a.keys,g=0,l=m.length;gC.call(b,e)){q=!0;break}p&&(f?(b=this._active_combos.splice(h,1)[0],null!=b&&b.reset()):(b=this._active_combos.splice(h,1,a)[0],null!=b&&b.reset(),f=!0),q=!1)}q&&this._active_combos.unshift(a);return p||q};k.prototype._remove_from_active_combos= function(a){var b,e,f,h;e=f=0;for(h=this._active_combos.length;0<=h?fh;e=0<=h?++f:--f)if(b=this._active_combos[e],b===a){a=this._active_combos.splice(e,1)[0];a.reset();break}};k.prototype._get_possible_sequences=function(){var a,b,e,f,h,k,g,n,m,q,p,r;g=[];m=this._registered_combos;e=0;for(f=m.length;e=q;b=1<=q?++h:--h)if(r=this._sequence.slice(-b),a.is_sequence){if(0>C.call(a.keys,"shift")&&(r=l(r,function(a){return"shift"!==a}),!r.length))continue; b=n=0;for(p=r.length;0<=p?np;b=0<=p?++n:--n)if(a.keys[b]===r[b])k=!0;else{k=!1;break}k&&g.push(a)}return g};k.prototype._add_key_to_sequence=function(a,b){var e,f,h;this._sequence.push(a);h=this._get_possible_sequences();if(h.length){e=0;for(f=h.length;e=q;e=1<=q?++k:--k)if(z=l(this._sequence,function(a){return 0<=C.call(b.keys,"shift")?!0:"shift"!==a}).slice(-e),b.keys.length===z.length)for(e=n=0,p=z.length;0<=p?np;e=0<=p?++n:--n)if(r=z[e],!(0>C.call(b.keys,"shift")&&"shift"===r||"shift"===a&&0>C.call(b.keys,"shift")))if(b.keys[e]===r)g=!0;else{g=!1; break}if(g)return b.is_exclusive&&(this._sequence=[]),b}return!1};k.prototype._receive_input=function(a,b){var f,h;if(this._prevent_capture)this._keys_down.length&&(this._keys_down=[]);else if(f=e(null!=(h=a.keyCode)?h:a.key),(b||this._keys_down.length||"alt"!==f&&f!==x)&&f)return b?this._key_down(f,a):this._key_up(f,a)};k.prototype._fire=function(a,b,e,f){"function"===typeof b["on_"+a]&&this._prevent_default(e,!0!==b["on_"+a].call(b["this"],e,b.count,f));"release"===a&&(b.count=0);if("keyup"===a)return b.keyup_fired= !0};k.prototype._match_combo_arrays=function(a,e){var f,h,k,l,n;l=this._registered_combos;h=0;for(k=l.length;hk;e=0<=k?++h:--h)this._keys_down[e]=== g&&this._keys_down.splice(e,1);h=this._get_active_combos(a);g=this._get_potential_combos(a);l=0;for(k=h.length;lC.call(this._keys_down,a)&&this._keys_down.push(a)};k.prototype._handle_combo_down=function(a,b,e,f){var h,k,l,g,n;if(0>C.call(a.keys,e))return!1;this._prevent_default(f,a&&a.prevent_default);h=!1;if(0<=C.call(this._keys_down,e)&&(h=!0,!a.allows_key_repeat()))return!1; n=this._add_to_active_combos(a,e);e=a.keyup_fired=!1;if(a.is_exclusive)for(k=0,l=b.length;ka.keys.length){e=!0;break}if(!e&&(a.is_counting&&"function"===typeof a.on_keydown&&(a.count+=1),n))return this._fire("keydown",a,f,h)};k.prototype._key_up=function(a,b){var e,h,k,l,g,n;h=a;(e=f(a,b))&&(a=e);e=v[h];b.shiftKey?e&&0<=C.call(this._keys_down,e)||(a=h):h&&0<=C.call(this._keys_down,h)||(a=e);(l=this._get_sequence(a))&&this._fire("keyup",l,b);if(0>C.call(this._keys_down, a))return!1;l=g=0;for(n=this._keys_down.length;0<=n?gn;l=0<=n?++g:--g)if((k=this._keys_down[l])===a||k===e||k===h){this._keys_down.splice(l,1);break}h=this._active_combos.length;k=[];n=this._active_combos;g=0;for(l=n.length;gh;e=0<=h?++f:--f)if(b===a._registered_combos[e]){a._registered_combos.splice(e,1);break}else k.push(void 0);return k}}(this);if(e instanceof a)return h(e);"string"===typeof e&&(e=e.split(" "));n=this._registered_combos;m=[];k=0;for(l=n.length;kh;e=0<=h?++f:--f)if(a[e]!==b[e])return!1;return!0};n=function(a,b){var e,f,h;f=0;for(h=a.length;f__indexOf.call(b,e))return!1;return!0};k=Array.prototype.indexOf||function(a,b){var e,f,h;e=f=0;for(h=a.length;0<=h?f<=h:f>=h;e=0<=h?++f:--f)if(a[e]===b)return e;return-1};m=function(a,b){var e,f,h,l;h=f=0;for(l=a.length;h=f)f=e;else return!1;return!0};u=function(){if(z.debug)return console.log.apply(console,arguments)};p=function(a){var b,e,f;e=!1;for(b in q)if(f=q[b],a===f){e=!0;break}if(!e)for(b in v)if(f=v[b],a===f){e=!0;break}return e};D=function(a){var b, e,f,l,g,n,m;m=!0;a.keys.length||u("You're trying to bind a combo with no keys:",a);e=l=0;for(g=a.keys.length;0<=g?lg;e=0<=g?++l:--l)f=a.keys[e],(b=r[f])&&(f=a.keys[e]=b),"meta"===f&&a.keys.splice(e,1,x),"cmd"===f&&u('Warning: use the "meta" key rather than "cmd" for Windows compatibility');_ref1=a.keys;_j=0;for(_len=_ref1.length;_j<_len;_j++)f=_ref1[_j],p(f)||(u('Do not recognize the key "'+f+'"'),m=!1);if(0<=C.call(a.keys,"meta")||0<=C.call(a.keys,"cmd")){g=a.keys.slice();l=0;for(b=A.length;l< b;l++)f=A[l],-1<(e=k.call(g,f))&&g.splice(e,1);1",",":"<","'":'"',";":":","[":"{","]":"}","\\":"|","`":"~","=":"+","-":"_",1:"!",2:"@",3:"#",4:"$",5:"%",6:"^",7:"&",8:"*",9:"(",0:")"};q={0:"\\",8:"backspace",9:"tab",12:"num",13:"enter",16:"shift",17:"ctrl",18:"alt",19:"pause",20:"caps",27:"esc",32:"space",33:"pageup",34:"pagedown",35:"end",36:"home",37:"left",38:"up",39:"right",40:"down",44:"print",45:"insert",46:"delete",48:"0",49:"1",50:"2", 51:"3",52:"4",53:"5",54:"6",55:"7",56:"8",57:"9",65:"a",66:"b",67:"c",68:"d",69:"e",70:"f",71:"g",72:"h",73:"i",74:"j",75:"k",76:"l",77:"m",78:"n",79:"o",80:"p",81:"q",82:"r",83:"s",84:"t",85:"u",86:"v",87:"w",88:"x",89:"y",90:"z",91:"cmd",92:"cmd",93:"cmd",96:"num_0",97:"num_1",98:"num_2",99:"num_3",100:"num_4",101:"num_5",102:"num_6",103:"num_7",104:"num_8",105:"num_9",106:"num_multiply",107:"num_add",108:"num_enter",109:"num_subtract",110:"num_decimal",111:"num_divide",112:"f1",113:"f2",114:"f3", 115:"f4",116:"f5",117:"f6",118:"f7",119:"f8",120:"f9",121:"f10",122:"f11",123:"f12",124:"print",144:"num",145:"scroll",186:";",187:"=",188:",",189:"-",190:".",191:"/",192:"`",219:"[",220:"\\",221:"]",222:"'",223:"`",224:"cmd",225:"alt",57392:"ctrl",63289:"num",59:";",61:"=",173:"-"};z._keycode_dictionary=q;z._is_array_in_array_sorted=m;-1!==navigator.userAgent.indexOf("Mac OS X")&&(x="cmd");-1!==navigator.userAgent.indexOf("Opera")&&(q["17"]="cmd");window.keypress=z;"function"===typeof define&&define.amd|| ("undefined"!==typeof exports&&null!==exports?exports.keypress=z:window.keypress=z)}).call(this);/* lodash 3.10.1 (Custom Build) lodash.com/license | Underscore.js 1.8.3 underscorejs.org/LICENSE Build: `lodash modern -o ./lodash.js` */ (function(){function a(a,b){if(a!==b){var e=null===a,f=a===w,h=a===a,k=null===b,l=b===w,g=b===b;if(a>b&&!k||!h||e&&!l&&g||f&&g)return 1;if(a=a&&9<=a&&13>=a||32==a||160==a||5760== a||6158==a||8192<=a&&(8202>=a||8232==a||8233==a||8239==a||8287==a||12288==a||65279==a)}function x(a,b){for(var e=-1,f=a.length,h=-1,k=[];++e=T&&yc&&zc?new jb(e):null,m=e.length;n&&(l=db,g=!1,e=n);a:for(;++kl(e,n,0)&&h.push(n);return h}function mc(a, b){var e=!0;return zb(a,function(a,f,h){return e=!!b(a,f,h)}),e}function Gc(a,b,e,f){var h=f,k=h;return zb(a,function(a,l,g){l=+b(a,l,g);(e(l,h)||l===f&&l===k)&&(h=l,k=a)}),k}function dc(a,b){var e=[];return zb(a,function(a,f,h){b(a,f,h)&&e.push(a)}),e}function Hc(a,b,e,f){var h;return e(a,function(a,e,k){return b(a,e,k)?(h=f?e:a,!1):void 0}),h}function gb(a,b,e,f){f||(f=[]);for(var h=-1,k=a.length;++hb&&(b=-b>h?0:h+b);e=e===w||e>h?h:+e||0;0>e&&(e+=h);h=b>e?0:e-b>>>0;b>>>=0;for(e=La(h);++f=m)break a;k=f[k];h*="asc"===k||!0===k?1:-1;break a}h=b.b-e.b}return h})}function of(a,b){var e=0;return zb(a,function(a,f,h){e+=+b(a,f,h)||0}),e}function rc(a,e){var f=-1,h=cc(),k=a.length,l=h===b,g=l&&k>=T,n=g&&yc&&zc?new jb(void 0):null,m=[];n?(h=db,l=!1):(g=!1,n=e?[]:m);a:for(;++fh(n,p,0)&&((e||g)&&n.push(p),m.push(q))}return m}function cd(a,b){for(var e=-1,f=b.length,h=La(f);++e>>1,l=a[k];(e?l<=b:lh? w:k,h=1);++f=T)return b.plant(f).value();for(var h=0,a=e?k[h].apply(this,a):f;++harguments.length;return"function"==typeof f&&k===w&&oa(e)?a(e,f,h,l):Id(e,Ja(f,k,4),h,l,b)}}function gd(a,b,e, f,h,k,l,g,n,m){function q(){for(var A=arguments.length,$a=A,D=La(A);$a--;)D[$a]=arguments[$a];if(f&&(D=Pd(D,f,h)),k&&(D=Qd(D,k,l)),u||v){var $a=q.placeholder,G=x(D,$a),A=A-G.length;if(Ab?0:b)):[]}function ve(a,b,e){var f=a?a.length:0;return f?((e?va(a,b,e):null==b)&&(b=1),b=f-(+b||0),tb(a,0,0>b?0:b)):[]}function we(a){return a?a[0]:w}function id(a,e,f){var h=a?a.length:0;if(!h)return-1;if("number"==typeof f)f=0>f?ab(h+f,0):f;else if(f)return f=dd(a,e), fe?ab(h+e,0):e||0,"string"==typeof a||!oa(a)&&od(a)?e<=h&&-1b?0:+b||0, f);++e=a&&(b=w),e}}function Ge(a,b,e){function f(b,e){e&&uc(e);n=r=z=w;b&&(u=vc(),m=a.apply(p,g),r||n||(g=p=w))}function h(){var a=b-(vc()-q);0>=a||a>b?f(z,n):r=Fc(h, a)}function k(){f(v,r)}function l(){if(g=arguments,q=vc(),p=this,z=v&&(r||!y),!1===C)var e=y&&!r;else{n||y||(u=q);var f=C-(q-u),l=0>=f||f>C;l?(n&&(n=uc(n)),u=q,m=a.apply(p,g)):n||(n=Fc(k,f))}return l&&r?r=uc(r):r||b===C||(r=Fc(h,b)),e&&(l=!0,m=a.apply(p,g)),!l||r||n||(g=p=w),m}var g,n,m,q,p,r,z,u=0,C=!1,v=!0;if("function"!=typeof a)throw new sb(V);if(b=0>b?0:+b||0,!0===e)var y=!0,v=!1;else Ka(e)&&(y=!!e.leading,C="maxWait"in e&&ab(+e.maxWait||0,b),v="trailing"in e?!!e.trailing:v);return l.cancel= function(){r&&uc(r);n&&uc(n);u=0;n=r=z=w},l}function qd(a,b){function e(){var f=arguments,h=b?b.apply(this,f):f[0],k=e.cache;return k.has(h)?k.get(h):(f=a.apply(this,f),e.cache=k.set(h,f),f)}if("function"!=typeof a||b&&"function"!=typeof b)throw new sb(V);return e.cache=new qd.Cache,e}function Ea(a,b){if("function"!=typeof a)throw new sb(V);return b=ab(b===w?a.length-1:+b||0,0),function(){for(var e=arguments,f=-1,h=ab(e.length-b,0),k=La(h);++fb}function Fb(a){return v(a)&&Za(a)&&Ua.call(a,"callee")&&!vf.call(a,"callee")}function Ie(a,b,e,f){return f=(e="function"==typeof e?nb(e,f,3):w)?e(a,b):w,f===w?Vb(a,b,e):!!f}function rd(a){return v(a)&&"string"==typeof a.message&&ob.call(a)==Ma}function Ub(a){return Ka(a)&&ob.call(a)==U}function Ka(a){var b=typeof a;return!!a&&("object"== b||"function"==b)}function oe(a){return null==a?!1:Ub(a)?wf.test(Je.call(a)):v(a)&&Pa.test(a)}function Ke(a){return"number"==typeof a||v(a)&&ob.call(a)==da}function Ic(a){var b;if(!v(a)||ob.call(a)!=sa||Fb(a)||!(Ua.call(a,"constructor")||(b=a.constructor,"function"!=typeof b||b instanceof b)))return!1;var e;return nc(a,function(a,b){e=b}),e===w||Ua.call(a,e)}function Le(a){return Ka(a)&&ob.call(a)==wa}function od(a){return"string"==typeof a||v(a)&&ob.call(a)==Ca}function ec(a){return v(a)&&Cb(a.length)&& !!na[ob.call(a)]}function Me(a,b){return ab||!a||!hc(b))return e;do b%2&&(e+=a),b=Xb(b/2),a+=a;while(b);return e}function Ne(a,b,e){var k=a;return(a=f(a))?(e?va(k,b,e):null==b)?a.slice(y(a),A(a)+1):(b+="",a.slice(h(a,b),l(a,b)+1)):a}function Ud(a,b,e){return e&&va(a,b,e)&&(b=w),a=f(a),a.match(b||vb)||[]}function Qc(a,b,e){return e&&va(a,b,e)&&(b=w),v(a)? Oe(a):bc(a,b)}function Sb(a){return a}function Oe(a){return Tb(Eb(a,!0))}function td(a,b,e){if(null==e){var f=Ka(b),h=f?fb(b):w;((h=h&&h.length?pc(b,h):w)?h.length:f)||(h=!1,e=b,b=a,a=this)}h||(h=pc(b,fb(b)));var k=!0,f=-1,l=Ub(a),g=h.length;!1===e?k=!1:Ka(e)&&"chain"in e&&(k=e.chain);for(;++f=ba)return e}else a=0;return me(e,f)}}(),Gf=Ea(function(a,b){return v(a)&&Za(a)?Mb(a,gb(b,!1,!0)):[]}),Hf=$d(),If= $d(!0),Jf=Ea(function(a){for(var e=a.length,f=e,h=La(q),k=cc(),l=k===b,g=[];f--;){var n=a[f]=Za(n=a[f])?n:[];h[f]=l&&120<=n.length&&yc&&zc?new jb(f&&n):null}var l=a[0],m=-1,q=l?l.length:0,p=h[0];a:for(;++m(p?db(p,n):k(g,n,0))){for(f=e;--f;){var r=h[f];if(0>(r?db(r,n):k(a[f],n,0)))continue a}p&&p.push(n);g.push(n)}return g}),Kf=Ea(function(b,e){e=gb(e);var f=Bc(b,e);return $c(b,e.sort(a)),f}),Lf=le(),Mf=le(!0),Nf=Ea(function(a){return rc(gb(a,!1,!0))}),Of=Ea(function(a,b){return Za(a)? Mb(a,b):[]}),Pf=Ea(Tc),Qf=Ea(function(a){var b=a.length,e=2--a?b.apply(this,arguments):void 0}},G.ary=function(a,b,e){return e&&va(a,b,e)&&(b=w),b=a&&null==b?a.length:ab(+b||0,0),Qb(a,N,w,w,w,w,b)},G.assign=Ad,G.at=Sf,G.before=Fe,G.bind=$e,G.bindAll=$f,G.bindKey=af,G.callback=Qc,G.chain= Be,G.chunk=function(a,b,e){b=(e?va(a,b,e):null==b)?1:ab(Xb(b)||1,1);e=0;for(var f=a?a.length:0,h=-1,k=La(Pc(f/b));ee&&(e=-e>h?0:h+e);f=f===w||f>h?h:+f||0;0>f&&(f+=h);h=e>f?0:f>>>0;for(e>>>=0;eb?0:b)):[]}, G.takeRight=function(a,b,e){var f=a?a.length:0;return f?((e?va(a,b,e):null==b)&&(b=1),b=f-(+b||0),tb(a,0>b?0:b)):[]},G.takeRightWhile=function(a,b,e){return a&&a.length?Jc(a,Ja(b,e,3),!1,!0):[]},G.takeWhile=function(a,b,e){return a&&a.length?Jc(a,Ja(b,e,3)):[]},G.tap=function(a,b,e){return b.call(e,a),a},G.throttle=function(a,b,e){var f=!0,h=!0;if("function"!=typeof a)throw new sb(V);return!1===e?f=!1:Ka(e)&&(f="leading"in e?!!e.leading:f,h="trailing"in e?!!e.trailing:h),Ge(a,b,{leading:f,maxWait:+b, trailing:h})},G.thru=ld,G.times=function(a,b,e){if(a=Xb(a),1>a||!hc(a))return[];var f=-1,h=La(mb(a,4294967295));for(b=nb(b,e,1);++ff?h[f]=b(f):b(f);return h},G.toArray=De,G.toPlainObject=Ed,G.transform=function(a,b,e,f){var h=oa(a)||ec(a);return b=Ja(b,f,4),null==e&&(h||Ka(a)?(f=a.constructor,e=h?oa(a)?new f:[]:tc(Ub(f)?f.prototype:w)):e={}),(h?Wa:yb)(a,function(a,f,h){return b(e,a,f,h)}),e},G.union=Nf,G.uniq=ye,G.unzip=Tc,G.unzipWith=ze,G.values=Sc,G.valuesIn=function(a){return cd(a, Nb(a))},G.where=function(a,b){return md(a,Tb(b))},G.without=Of,G.wrap=function(a,b){return b=null==b?Sb:b,Qb(b,O,w,[a],[])},G.xor=function(){for(var a=-1,b=arguments.length;++ae?0:+e||0,h),e-=b.length,0<=e&&a.indexOf(b,e)==e},G.escape=function(a){return(a= f(a))&&Fa.test(a)?a.replace(za,m):a},G.escapeRegExp=function(a){return(a=f(a))&&ka.test(a)?a.replace(X,p):a||"(?:)"},G.every=Ce,G.find=xd,G.findIndex=Hf,G.findKey=lg,G.findLast=Uf,G.findLastIndex=If,G.findLastKey=mg,G.findWhere=function(a,b){return xd(a,Tb(b))},G.first=we,G.floor=Eg,G.get=function(a,b,e){return a=null==a?w:pb(a,Gb(b),b+""),a===w?e:a},G.gt=He,G.gte=function(a,b){return a>=b},G.has=function(a,b){if(null==a)return!1;var e=Ua.call(a,b);if(!e&&!Wb(b)){if(b=Gb(b),a=1==b.length?a:pb(a,tb(b, 0,-1)),null==a)return!1;b=qc(b);e=Ua.call(a,b)}return e||Cb(a.length)&&Lb(b,a.length)&&(oa(a)||Fb(a))},G.identity=Sb,G.includes=nd,G.indexOf=id,G.inRange=function(a,b,e){return b=+b||0,e===w?(e=b,b=0):e=+e||0,a>=mb(b,e)&&ae?ab(f+e,0):mb(e||0,f-1))+1;else if(e)return h=dd(a,b,!0)-1,a=a[h],(b===b?b===a:a!==a)?h:-1;if(b!==b)return q(a,h,!0);for(;h--;)if(a[h]===b)return h;return-1},G.lt=Me,G.lte=function(a,b){return a<=b},G.max=Fg,G.min=Gg,G.noConflict=function(){return Ga._=Af,this},G.noop=Pe,G.now=vc,G.pad=function(a,b,e){a=f(a);b=+b;var h=a.length;return he?0:+e||0,a.length),a.lastIndexOf(b,e)==e},G.sum=function(a,b,e){if(e&&va(a,b,e)&&(b=w),b=Ja(b,e,3),1==b.length){a=oa(a)?a:Mc(a);e=a.length;for(var f=0;e--;)f+=+b(a[e])||0;a=f}else a= of(a,b);return a},G.template=function(a,b,e){var h=G.templateSettings;e&&va(a,b,e)&&(b=e=w);a=f(a);b=Rb(Db({},e||b),h,Kb);e=Rb(Db({},b.imports),h.imports,Kb);var k,l,g=fb(e),n=cd(e,g),m=0;e=b.interpolate||Ha;var q="__p+='";e=ud((b.escape||Ha).source+"|"+e.source+"|"+(e===ua?ha:Ha).source+"|"+(b.evaluate||Ha).source+"|$","g");var p="sourceURL"in b?"//# sourceURL="+b.sourceURL+"\n":"";if(a.replace(e,function(b,e,f,h,g,n){return f||(f=h),q+=a.slice(m,n).replace(ya,r),e&&(k=!0,q+="'+__e("+e+")+'"),g&& (l=!0,q+="';"+g+";\n__p+='"),f&&(q+="'+((__t=("+f+"))==null?'':__t)+'"),m=n+b.length,b}),q+="';",(b=b.variable)||(q="with(obj){"+q+"}"),q=(l?q.replace(bb,""):q).replace(Hb,"$1").replace(cb,"$1;"),q="function("+(b||"obj")+"){"+(b?"":"obj||(obj={});")+"var __t,__p=''"+(k?",__e=_.escape":"")+(l?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":";")+q+"return __p}",b=bf(function(){return Re(g,p+"return "+q).apply(w,n)}),b.source=q,rd(b))throw b;return b},G.trim=Ne,G.trimLeft=function(a, b,e){var k=a;return(a=f(a))?a.slice((e?va(k,b,e):null==b)?y(a):h(a,b+"")):a},G.trimRight=function(a,b,e){var h=a;return(a=f(a))?(e?va(h,b,e):null==b)?a.slice(0,A(a)+1):a.slice(0,l(a,b+"")+1):a},G.trunc=function(a,b,e){e&&va(a,b,e)&&(b=w);var h=Q;if(e=L,null!=b)if(Ka(b)){var k="separator"in b?b.separator:k,h="length"in b?+b.length||0:h;e="omission"in b?f(b.omission):e}else h=+b||0;if(a=f(a),h>=a.length)return a;if(h-=e.length,1>h)return e;if(b=a.slice(0,h),null==k)return b+e;if(Le(k)){if(a.slice(h).search(k)){var l, g=a.slice(0,h);k.global||(k=ud(k.source,(Na.exec(k)||"")+"g"));for(k.lastIndex=0;a=k.exec(g);)l=a.index;b=b.slice(0,null==l?h:l)}}else a.indexOf(k,h)!=h&&(k=b.lastIndexOf(k),-1h.__dir__?"Right":"")}),h};ia.prototype[a+"Right"]=function(b){return this.reverse()[a](b).reverse()}}),Wa(["filter","map","takeWhile"],function(a,b){var e=b+1,f=e!=ja;ia.prototype[a]=function(a,b){var h=this.clone();return h.__iteratees__.push({iteratee:Ja(a,b,1),type:e}),h.__filtered__=h.__filtered__||f,h}}),Wa(["first","last"],function(a,b){var e="take"+(b?"Right":"");ia.prototype[a]=function(){return this[e](1).value()[0]}}),Wa(["initial","rest"],function(a,b){var e="drop"+(b?"":"Right");ia.prototype[a]= function(){return this.__filtered__?new ia(this):this[e](1)}}),Wa(["pluck","where"],function(a,b){var e=b?"filter":"map",f=b?Tb:Cc;ia.prototype[a]=function(a){return this[e](f(a))}}),ia.prototype.compact=function(){return this.filter(Sb)},ia.prototype.reject=function(a,b){return a=Ja(a,b,1),this.filter(function(b){return!a(b)})},ia.prototype.slice=function(a,b){a=null==a?0:+a||0;var e=this;return e.__filtered__&&(0b)?new ia(e):(0>a?e=e.takeRight(-a):a&&(e=e.drop(a)),b!==w&&(b=+b||0,e=0>b?e.dropRight(-b): e.take(b-a)),e)},ia.prototype.takeRightWhile=function(a,b){return this.reverse().takeWhile(a,b).reverse()},ia.prototype.toArray=function(){return this.take(xc)},yb(ia.prototype,function(a,b){var e=/^(?:filter|map|reject)|While$/.test(b),f=/^(?:first|last)$/.test(b),h=G[f?"take"+("last"==b?"Right":""):b];h&&(G.prototype[b]=function(){function b(a){return f&&l?h(a,1)[0]:h.apply(w,Bb([a],k))}var k=f?[1]:arguments,l=this.__chain__,g=this.__wrapped__,n=!!this.__actions__.length,m=g instanceof ia,q=k[0], p=m||oa(g);return p&&e&&"function"==typeof q&&1!=q.length&&(m=p=!1),q={func:ld,args:[b],thisArg:w},n=m&&!n,f&&!l?n?(g=g.clone(),g.__actions__.push(q),a.call(g)):h.call(w,this.value())[0]:!f&&p?(g=n?g:new ia(this),g=a.apply(g,k),g.__actions__.push(q),new xa(g,l)):this.thru(b)})}),Wa("join pop push replace shift sort splice split unshift".split(" "),function(a){var b=(/^(?:replace|split)$/.test(a)?yf:Ue)[a],e=/^(?:push|sort|unshift)$/.test(a)?"tap":"thru",f=/^(?:join|pop|replace|shift)$/.test(a);G.prototype[a]= function(){var a=arguments;return f&&!this.__chain__?b.apply(this.value(),a):this[e](function(e){return b.apply(e,a)})}}),yb(ia.prototype,function(a,b){if(a=G[b]){var e=a.name+"";(Rc[e]||(Rc[e]=[])).push({name:b,func:a})}}),Rc[gd(w,F).name]=[{name:"wrapper",func:w}],ia.prototype.clone=function(){var a=new ia(this.__wrapped__);return a.__actions__=Aa(this.__actions__),a.__dir__=this.__dir__,a.__filtered__=this.__filtered__,a.__iteratees__=Aa(this.__iteratees__),a.__takeCount__=this.__takeCount__,a.__views__= Aa(this.__views__),a},ia.prototype.reverse=function(){if(this.__filtered__){var a=new ia(this);a.__dir__=-1;a.__filtered__=!0}else a=this.clone(),a.__dir__*=-1;return a},ia.prototype.value=function(){var a,b=this.__wrapped__.value(),e=this.__dir__,f=oa(b),h=0>e,k=f?b.length:0;a=k;for(var l=this.__views__,g=0,n=-1,m=l.length;++n"'`]/g,wb=RegExp(lb.source),Fa=RegExp(za.source),Z=/<%-([\s\S]+?)%>/g,Y=/<%([\s\S]+?)%>/g,ua=/<%=([\s\S]+?)%>/g, P=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ta=/^\w*$/,ca=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,X=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,ka=RegExp(X.source),Va=/[\u0300-\u036f\ufe20-\ufe23]/g,Ra=/\\(\\)?/g,ha=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Na=/\w*$/,ra=/^0[xX]/,Pa=/^\[object .+?Constructor\]$/,Ta=/^\d+$/,ib=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,Ha=/($^)/,ya=/['\n\r\u2028\u2029\\]/g,vb=/[A-Z\xc0-\xd6\xd8-\xde]+(?=[A-Z\xc0-\xd6\xd8-\xde][a-z\xdf-\xf6\xf8-\xff]+)|[A-Z\xc0-\xd6\xd8-\xde]?[a-z\xdf-\xf6\xf8-\xff]+|[A-Z\xc0-\xd6\xd8-\xde]+|[0-9]+/g, kb="Array ArrayBuffer Date Error Float32Array Float64Array Function Int8Array Int16Array Int32Array Math Number Object RegExp Set String _ clearTimeout isFinite parseFloat parseInt setTimeout TypeError Uint8Array Uint8ClampedArray Uint16Array Uint32Array WeakMap".split(" "),na={};na[ub]=na[hb]=na[fa]=na[t]=na[Xa]=na[Sa]=na[qa]=na[Oa]=na[H]=!0;na[Da]=na[ea]=na[Qa]=na[Ba]=na[ma]=na[Ma]=na[U]=na["[object Map]"]=na[da]=na[sa]=na[wa]=na["[object Set]"]=na[Ca]=na["[object WeakMap]"]=!1;var pa={};pa[Da]= pa[ea]=pa[Qa]=pa[Ba]=pa[ma]=pa[ub]=pa[hb]=pa[fa]=pa[t]=pa[Xa]=pa[da]=pa[sa]=pa[wa]=pa[Ca]=pa[Sa]=pa[qa]=pa[Oa]=pa[H]=!0;pa[Ma]=pa[U]=pa["[object Map]"]=pa["[object Set]"]=pa["[object WeakMap]"]=!1;var la={"\u00c0":"A","\u00c1":"A","\u00c2":"A","\u00c3":"A","\u00c4":"A","\u00c5":"A","\u00e0":"a","\u00e1":"a","\u00e2":"a","\u00e3":"a","\u00e4":"a","\u00e5":"a","\u00c7":"C","\u00e7":"c","\u00d0":"D","\u00f0":"d","\u00c8":"E","\u00c9":"E","\u00ca":"E","\u00cb":"E","\u00e8":"e","\u00e9":"e","\u00ea":"e", "\u00eb":"e","\u00cc":"I","\u00cd":"I","\u00ce":"I","\u00cf":"I","\u00ec":"i","\u00ed":"i","\u00ee":"i","\u00ef":"i","\u00d1":"N","\u00f1":"n","\u00d2":"O","\u00d3":"O","\u00d4":"O","\u00d5":"O","\u00d6":"O","\u00d8":"O","\u00f2":"o","\u00f3":"o","\u00f4":"o","\u00f5":"o","\u00f6":"o","\u00f8":"o","\u00d9":"U","\u00da":"U","\u00db":"U","\u00dc":"U","\u00f9":"u","\u00fa":"u","\u00fb":"u","\u00fc":"u","\u00dd":"Y","\u00fd":"y","\u00ff":"y","\u00c6":"Ae","\u00e6":"ae","\u00de":"Th","\u00fe":"th","\u00df":"ss"}, xa={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},ia={"&":"&","<":"<",">":">",""":'"',"'":"'","`":"`"},jb={"function":!0,object:!0},Wa={0:"x30",1:"x31",2:"x32",3:"x33",4:"x34",5:"x35",6:"x36",7:"x37",8:"x38",9:"x39",A:"x41",B:"x42",C:"x43",D:"x44",E:"x45",F:"x46",a:"x61",b:"x62",c:"x63",d:"x64",e:"x65",f:"x66",n:"x6e",r:"x72",t:"x74",u:"x75",v:"x76",x:"x78"},eb={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},Ya=jb[typeof exports]&& exports&&!exports.nodeType&&exports,db=jb[typeof module]&&module&&!module.nodeType&&module,Aa=jb[typeof self]&&self&&self.Object&&self,rb=jb[typeof window]&&window&&Object&&window,xb=db&&db.exports===Ya&&Ya,Ga=Ya&&db&&"object"==typeof global&&global&&global.Object&&global||rb!==(this&&this.window)&&rb||Aa||this,qb=z();"function"==typeof define&&"object"==typeof define.amd&&define.amd?(Ga._=qb,define(function(){return qb})):Ya&&db?xb?(db.exports=qb)._=qb:Ya._=qb:Ga._=qb}).call(this);(function(a,g){"object"===typeof module&&"object"===typeof module.exports?module.exports=a.document?g(a,!0):function(a){if(!a.document)throw Error("jQuery requires a window with a document");return g(a)}:g(a)})("undefined"!==typeof window?window:this,function(a,g){function b(a){var b=!!a&&"length"in a&&a.length,e=t.type(a);return"function"===e||t.isWindow(a)?!1:"array"===e||0===b||"number"===typeof b&&0")).appendTo(b.documentElement),b=eb[0].contentDocument,b.write(),b.close(),e=F(a,b),eb.detach()),Ya[a]=e);return e}function B(a,b,e){var f,h,k=a.style;h=(e=e||rb(a))?e.getPropertyValue(b)||e[b]:void 0;""!==h&&void 0!==h||t.contains(a.ownerDocument, a)||(h=t.style(a,b));e&&!fa.pixelMarginRight()&&Aa.test(h)&&db.test(b)&&(a=k.width,b=k.minWidth,f=k.maxWidth,k.minWidth=k.maxWidth=k.width=h,h=e.width,k.width=a,k.minWidth=b,k.maxWidth=f);return void 0!==h?h+"":h}function K(a,b){return{get:function(){if(a())delete this.get;else return(this.get=b).apply(this,arguments)}}}function O(a){if(a in ac)return a;for(var b=a[0].toUpperCase()+a.slice(1),e=$b.length;e--;)if(a=$b[e]+b,a in ac)return a}function M(a,b,e){return(a=Na.exec(b))?Math.max(0,a[2]-(e|| 0))+(a[3]||"px"):b}function N(a,b,e,f,h){b=e===(f?"border":"content")?4:"width"===b?1:0;for(var k=0;4>b;b+=2)"margin"===e&&(k+=t.css(a,e+ra[b],!0,h)),f?("content"===e&&(k-=t.css(a,"padding"+ra[b],!0,h)),"margin"!==e&&(k-=t.css(a,"border"+ra[b]+"Width",!0,h))):(k+=t.css(a,"padding"+ra[b],!0,h),"padding"!==e&&(k+=t.css(a,"border"+ra[b]+"Width",!0,h)));return k}function R(a,b,e){var f=!0,h="width"===b?a.offsetWidth:a.offsetHeight,k=rb(a),l="border-box"===t.css(a,"boxSizing",!1,k);if(0>=h||null==h){h= B(a,b,k);if(0>h||null==h)h=a.style[b];if(Aa.test(h))return h;f=l&&(fa.boxSizingReliable()||h===a.style[b]);h=parseFloat(h)||0}return h+N(a,b,e||(l?"border":"content"),f,k)+"px"}function Q(a,b){for(var e,f,h,k=[],l=0,g=a.length;lf;f+=2-b)e=ra[f],h["margin"+e]=h["padding"+e]=a;b&&(h.opacity=h.width=a);return h}function T(a,b,e){for(var f,h=(ja.tweeners[b]||[]).concat(ja.tweeners["*"]),k=0,l=h.length;ke&&k)return b;l.resolveWith(a,[n]);return!1},n=l.promise({elem:a,props:t.extend({},b),opts:t.extend(!0,{specialEasing:{},easing:t.easing._default},e),originalProperties:b,originalOptions:e,startTime:Ib||ba(),duration:e.duration,tweens:[],createTween:function(b,e){b=t.Tween(a,n.opts,b,e,n.opts.specialEasing[b]||n.opts.easing);n.tweens.push(b);return b},stop:function(b){var e=0,h=b?n.tweens.length:0;if(f)return this;for(f=!0;ea?this[a+this.length]:this[a]:da.call(this)},pushStack:function(a){a=t.merge(this.constructor(),a);a.prevObject=this;a.context=this.context;return a},each:function(a){return t.each(this, a)},map:function(a){return this.pushStack(t.map(this,function(b,e){return a.call(b,e,b)}))},slice:function(){return this.pushStack(da.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&&aE.cacheLength&&delete a[b.shift()];return a[e+" "]=f}var b=[];return a}function f(a){a[K]=!0;return a}function h(a){var b=T.createElement("div");try{return!!a(b)}catch(Gb){return!1}finally{b.parentNode&&b.parentNode.removeChild(b)}}function k(a,b){a=a.split("|");for(var e=a.length;e--;)E.attrHandle[a[e]]=b}function l(a,b){var e=b&&a,f=e&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||-2147483648)-(~a.sourceIndex||-2147483648);if(f)return f; if(e)for(;e=e.nextSibling;)if(e===b)return-1;return a?1:-1}function g(a){return function(b){return"input"===b.nodeName.toLowerCase()&&b.type===a}}function n(a){return function(b){var e=b.nodeName.toLowerCase();return("input"===e||"button"===e)&&b.type===a}}function m(a){return f(function(b){b=+b;return f(function(e,f){for(var h,k=a([],e.length,b),l=k.length;l--;)e[h=k[l]]&&(e[h]=!(f[h]=e[h]))})})}function q(a){return a&&"undefined"!==typeof a.getElementsByTagName&&a}function p(){}function r(a){for(var b= 0,e=a.length,f="";b+~]|[\x20\t\r\n\f])[\x20\t\r\n\f]*/,Ba=/=[\x20\t\r\n\f]*([^\]'"]*?)[\x20\t\r\n\f]*\]/g,da=/:((?:\\.|[\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]*\])*)|.*)\)|)/, ac=/^(?:\\.|[\w-]|[^\x00-\xa0])+$/,cb={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},kb=/^(?:input|select|textarea|button)$/i,lb=/^h\d$/i,Xa= /^[^{]+\{\s*\[native \w/,Ib=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,sa=/[+~]/,Ya=/'|\\/g,za=/\\([\da-f]{1,6}[\x20\t\r\n\f]?|([\x20\t\r\n\f])|.)/ig,Ca=function(a,b,e){a="0x"+b-65536;return a!==a||e?b:0>a?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,a&1023|56320)},jb=function(){qa()};try{N.apply(xa=ja.call(Oa.childNodes),Oa.childNodes),xa[Oa.childNodes.length].nodeType}catch(Mc){N={apply:xa.length?function(a,b){vb.apply(a,ja.call(b))}:function(a,b){for(var e=a.length,f=0;a[e++]=b[f++];); a.length=e-1}}}A=b.support={};D=b.isXML=function(a){return(a=a&&(a.ownerDocument||a).documentElement)?"HTML"!==a.nodeName:!1};qa=b.setDocument=function(a){var b;a=a?a.ownerDocument||a:Oa;if(a===T||9!==a.nodeType||!a.documentElement)return T;T=a;la=T.documentElement;V=!D(T);(b=T.defaultView)&&b.top!==b&&(b.addEventListener?b.addEventListener("unload",jb,!1):b.attachEvent&&b.attachEvent("onunload",jb));A.attributes=h(function(a){a.className="i";return!a.getAttribute("className")});A.getElementsByTagName= h(function(a){a.appendChild(T.createComment(""));return!a.getElementsByTagName("*").length});A.getElementsByClassName=Xa.test(T.getElementsByClassName);A.getById=h(function(a){la.appendChild(a).id=K;return!T.getElementsByName||!T.getElementsByName(K).length});A.getById?(E.find.ID=function(a,b){if("undefined"!==typeof b.getElementById&&V)return(a=b.getElementById(a))?[a]:[]},E.filter.ID=function(a){var b=a.replace(za,Ca);return function(a){return a.getAttribute("id")===b}}):(delete E.find.ID,E.filter.ID= function(a){var b=a.replace(za,Ca);return function(a){return(a="undefined"!==typeof a.getAttributeNode&&a.getAttributeNode("id"))&&a.value===b}});E.find.TAG=A.getElementsByTagName?function(a,b){if("undefined"!==typeof b.getElementsByTagName)return b.getElementsByTagName(a);if(A.qsa)return b.querySelectorAll(a)}:function(a,b){var e=[],f=0;b=b.getElementsByTagName(a);if("*"===a){for(;a=b[f++];)1===a.nodeType&&e.push(a);return e}return b};E.find.CLASS=A.getElementsByClassName&&function(a,b){if("undefined"!== typeof b.getElementsByClassName&&V)return b.getElementsByClassName(a)};ya=[];M=[];if(A.qsa=Xa.test(T.querySelectorAll))h(function(a){la.appendChild(a).innerHTML="";a.querySelectorAll("[msallowcapture^='']").length&&M.push("[*^$]=[\\x20\\t\\r\\n\\f]*(?:''|\"\")");a.querySelectorAll("[selected]").length||M.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~="+K+"-]").length||M.push("~=");a.querySelectorAll(":checked").length||M.push(":checked");a.querySelectorAll("a#"+K+"+*").length||M.push(".#.+[+~]")}),h(function(a){var b=T.createElement("input");b.setAttribute("type","hidden");a.appendChild(b).setAttribute("name","D");a.querySelectorAll("[name=d]").length&&M.push("name[\\x20\\t\\r\\n\\f]*[*^$|!~]?=");a.querySelectorAll(":enabled").length||M.push(":enabled",":disabled");a.querySelectorAll("*,:x");M.push(",.*:")});(A.matchesSelector= Xa.test(Q=la.matches||la.webkitMatchesSelector||la.mozMatchesSelector||la.oMatchesSelector||la.msMatchesSelector))&&h(function(a){A.disconnectedMatch=Q.call(a,"div");Q.call(a,"[s!='']:x");ya.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]*\\])*)|.*)\\)|)")}); M=M.length&&new RegExp(M.join("|"));ya=ya.length&&new RegExp(ya.join("|"));H=(b=Xa.test(la.compareDocumentPosition))||Xa.test(la.contains)?function(a,b){var e=9===a.nodeType?a.documentElement:a;b=b&&b.parentNode;return a===b||!!(b&&1===b.nodeType&&(e.contains?e.contains(b):a.compareDocumentPosition&&a.compareDocumentPosition(b)&16))}:function(a,b){if(b)for(;b=b.parentNode;)if(b===a)return!0;return!1};$b=b?function(a,b){if(a===b)return ga=!0,0;var e=!a.compareDocumentPosition-!b.compareDocumentPosition; if(e)return e;e=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1;return e&1||!A.sortDetached&&b.compareDocumentPosition(a)===e?a===T||a.ownerDocument===Oa&&H(Oa,a)?-1:b===T||b.ownerDocument===Oa&&H(Oa,b)?1:B?ea(B,a)-ea(B,b):0:e&4?-1:1}:function(a,b){if(a===b)return ga=!0,0;var e=0,f=a.parentNode,h=b.parentNode,k=[a],g=[b];if(!f||!h)return a===T?-1:b===T?1:f?-1:h?1:B?ea(B,a)-ea(B,b):0;if(f===h)return l(a,b);for(;a=a.parentNode;)k.unshift(a);for(a=b;a=a.parentNode;)g.unshift(a); for(;k[e]===g[e];)e++;return e?l(k[e],g[e]):k[e]===Oa?-1:g[e]===Oa?1:0};return T};b.matches=function(a,e){return b(a,null,null,e)};b.matchesSelector=function(a,e){(a.ownerDocument||a)!==T&&qa(a);e=e.replace(Ba,"='$1']");if(!(!A.matchesSelector||!V||O[e+" "]||ya&&ya.test(e)||M&&M.test(e)))try{var f=Q.call(a,e);if(f||A.disconnectedMatch||a.document&&11!==a.document.nodeType)return f}catch(Wc){}return 0":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){a[1]= a[1].replace(za,Ca);a[3]=(a[3]||a[4]||a[5]||"").replace(za,Ca);"~="===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,e=!a[6]&&a[2];if(cb.CHILD.test(a[0]))return null;a[3]?a[2]=a[4]||a[5]||"":e&&da.test(e)&&(b=G(e,!0))&&(b=e.indexOf(")",e.length-b)-e.length)&&(a[0]=a[0].slice(0, b),a[2]=e.slice(0,b));return a.slice(0,3)}},filter:{TAG:function(a){var b=a.replace(za,Ca).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=Ia[a+" "];return b||(b=new RegExp("(^|[\\x20\\t\\r\\n\\f])"+a+"([\\x20\\t\\r\\n\\f]|$)"),Ia(a,function(a){return b.test("string"===typeof a.className&&a.className||"undefined"!==typeof a.getAttribute&&a.getAttribute("class")||"")}))},ATTR:function(a,e,f){return function(h){h= b.attr(h,a);if(null==h)return"!="===e;if(!e)return!0;h+="";return"="===e?h===f:"!="===e?h!==f:"^="===e?f&&0===h.indexOf(f):"*="===e?f&&-1a.nodeType)return!1;return!0},parent:function(a){return!E.pseudos.empty(a)},header:function(a){return lb.test(a.nodeName)},input:function(a){return kb.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:m(function(){return[0]}),last:m(function(a,b){return[b-1]}),eq:m(function(a,b,e){return[0>e?e+b:e]}),even:m(function(a,b){for(var e=0;ee?e+b:e;0<=--b;)a.push(b); return a}),gt:m(function(a,b,e){for(e=0>e?e+b:e;++e";a.firstChild.setAttribute("value", "");return""===a.firstChild.getAttribute("value")})||k("value",function(a,b,e){if(!e&&"input"===a.nodeName.toLowerCase())return a.defaultValue});h(function(a){return null==a.getAttribute("disabled")})||k("checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",function(a,b,e){var f;if(!e)return!0===a[b]?b.toLowerCase():(f=a.getAttributeNode(b))&&f.specified?f.value:null});return b}(a);t.find=H;t.expr=H.selectors;t.expr[":"]=t.expr.pseudos; t.uniqueSort=t.unique=H.uniqueSort;t.text=H.getText;t.isXMLDoc=H.isXML;t.contains=H.contains;var bb=function(a,b,e){for(var f=[],h=void 0!==e;(a=a[b])&&9!==a.nodeType;)if(1===a.nodeType){if(h&&t(a).is(e))break;f.push(a)}return f},Hb=function(a,b){for(var e=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&e.push(a);return e},cb=t.expr.match.needsContext,lb=/^<([\w-]+)\s*\/?>(?:<\/\1>|)$/,za=/^.[^:#\[\.,]*$/;t.filter=function(a,b,e){var f=b[0];e&&(a=":not("+a+")");return 1===b.length&&1===f.nodeType?t.find.matchesSelector(f, a)?[f]:[]:t.find.matches(a,t.grep(b,function(a){return 1===a.nodeType}))};t.fn.extend({find:function(a){var b,e=this.length,f=[],h=this;if("string"!==typeof a)return this.pushStack(t(a).filter(function(){for(b=0;b)[^>]*|#([\w-]*))$/;(t.fn.init=function(a,b,e){var f;if(!a)return this;e=e||wb;if("string"===typeof a){f="<"===a[0]&&">"===a[a.length-1]&&3<=a.length?[null,a,null]:Fa.exec(a);if(!f||!f[1]&&b)return!b||b.jquery?(b||e).find(a):this.constructor(b).find(a);if(f[1]){if(b=b instanceof t?b[0]:b,t.merge(this,t.parseHTML(f[1],b&&b.nodeType?b.ownerDocument||b:U,!0)),lb.test(f[1])&&t.isPlainObject(b))for(f in b)if(t.isFunction(this[f]))this[f](b[f]); else this.attr(f,b[f])}else(b=U.getElementById(f[2]))&&b.parentNode&&(this.length=1,this[0]=b),this.context=U,this.selector=a;return this}if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(t.isFunction(a))return void 0!==e.ready?e.ready(a):a(t);void 0!==a.selector&&(this.selector=a.selector,this.context=a.context);return t.makeArray(a,this)}).prototype=t.fn;wb=t(U);var Z=/^(?:parents|prev(?:Until|All))/,Y={children:!0,contents:!0,next:!0,prev:!0};t.fn.extend({has:function(a){var b= t(a,this),e=b.length;return this.filter(function(){for(var a=0;ae.nodeType&&(l?-1",""],thead:[1,"","
"],col:[2,"","
"],tr:[2,"","
"],td:[3,"", "
"],_default:[0,"",""]};ya.optgroup=ya.option;ya.tbody=ya.tfoot=ya.colgroup=ya.caption=ya.thead;ya.th=ya.td;var vb=/<|&#?\w+;/;(function(){var a=U.createDocumentFragment().appendChild(U.createElement("div")),b=U.createElement("input");b.setAttribute("type","radio");b.setAttribute("checked","checked");b.setAttribute("name","t");a.appendChild(b);fa.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked;a.innerHTML="";fa.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue})(); var kb=/^key/,na=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,pa=/^([^.]*)(?:\.(.+)|)/;t.event={global:{},add:function(a,b,e,f,h){var k,l,g,n,m,q,p,r,z;if(m=X.get(a))for(e.handler&&(k=e,e=k.handler,h=k.selector),e.guid||(e.guid=t.guid++),(n=m.events)||(n=m.events={}),(l=m.handle)||(l=m.handle=function(b){return"undefined"!==typeof t&&t.event.triggered!==b.type?t.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(ua)||[""],m=b.length;m--;)g=pa.exec(b[m])||[],r=q=g[1],z=(g[2]||"").split(".").sort(), r&&(g=t.event.special[r]||{},r=(h?g.delegateType:g.bindType)||r,g=t.event.special[r]||{},q=t.extend({type:r,origType:q,data:f,handler:e,guid:e.guid,selector:h,needsContext:h&&t.expr.match.needsContext.test(h),namespace:z.join(".")},k),(p=n[r])||(p=n[r]=[],p.delegateCount=0,g.setup&&!1!==g.setup.call(a,f,z,l)||a.addEventListener&&a.addEventListener(r,l)),g.add&&(g.add.call(a,q),q.handler.guid||(q.handler.guid=e.guid)),h?p.splice(p.delegateCount++,0,q):p.push(q),t.event.global[r]=!0)},remove:function(a, b,e,f,h){var k,l,g,n,m,q,p,r,z,u,w,C=X.hasData(a)&&X.get(a);if(C&&(n=C.events)){b=(b||"").match(ua)||[""];for(m=b.length;m--;)if(g=pa.exec(b[m])||[],z=w=g[1],u=(g[2]||"").split(".").sort(),z){p=t.event.special[z]||{};z=(f?p.delegateType:p.bindType)||z;r=n[z]||[];g=g[2]&&new RegExp("(^|\\.)"+u.join("\\.(?:.*\\.|)")+"(\\.|$)");for(l=k=r.length;k--;)q=r[k],!h&&w!==q.origType||e&&e.guid!==q.guid||g&&!g.test(q.namespace)||f&&f!==q.selector&&("**"!==f||!q.selector)||(r.splice(k,1),q.selector&&r.delegateCount--, p.remove&&p.remove.call(a,q));l&&!r.length&&(p.teardown&&!1!==p.teardown.call(a,u,C.handle)||t.removeEvent(a,z,C.handle),delete n[z])}else for(z in n)t.event.remove(a,z+b[m],e,f,!0);t.isEmptyObject(n)&&X.remove(a,"handle events")}},dispatch:function(a){a=t.event.fix(a);var b,e,f,h,k,l=da.call(arguments);b=(X.get(this,"events")||{})[a.type]||[];var g=t.event.special[a.type]||{};l[0]=a;a.delegateTarget=this;if(!g.preDispatch||!1!==g.preDispatch.call(this,a)){k=t.event.handlers.call(this,a,b);for(b= 0;(h=k[b++])&&!a.isPropagationStopped();)for(a.currentTarget=h.elem,e=0;(f=h.handlers[e++])&&!a.isImmediatePropagationStopped();)if(!a.rnamespace||a.rnamespace.test(f.namespace))a.handleObj=f,a.data=f.data,f=((t.event.special[f.origType]||{}).handle||f.handler).apply(h.elem,l),void 0!==f&&!1===(a.result=f)&&(a.preventDefault(),a.stopPropagation());g.postDispatch&&g.postDispatch.call(this,a);return a.result}},handlers:function(a,b){var e,f,h,k,l=[],g=b.delegateCount,n=a.target;if(g&&n.nodeType&&("click"!== a.type||isNaN(a.button)||1>a.button))for(;n!==this;n=n.parentNode||this)if(1===n.nodeType&&(!0!==n.disabled||"click"!==a.type)){f=[];for(e=0;e]*)\/>/gi,xa=/\s*$/g;t.extend({htmlPrefilter:function(a){return a.replace(la,"<$1>")}, clone:function(a,b,e){var f,h,k,l,g=a.cloneNode(!0),n=t.contains(a.ownerDocument,a);if(!(fa.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||t.isXMLDoc(a)))for(l=p(g),k=p(a),f=0,h=k.length;ft.inArray(this,a)&&(t.cleanData(p(this)),e&&e.replaceChild(b,this))},a)}});t.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){t.fn[a]= function(a){for(var e=[],f=t(a),h=f.length-1,k=0;k<=h;k++)a=k===h?this:this.clone(!0),t(f[k])[b](a),wa.apply(e,a.get());return this.pushStack(e)}});var eb,Ya={HTML:"block",BODY:"block"},db=/^margin/,Aa=new RegExp("^("+ha+")(?!px)[a-z%]+$","i"),rb=function(b){var e=b.ownerDocument.defaultView;e&&e.opener||(e=a);return e.getComputedStyle(b)},xb=function(a,b,e,f){var h,k={};for(h in b)k[h]=a.style[h],a.style[h]=b[h];e=e.apply(a,f||[]);for(h in b)a.style[h]=k[h];return e},Ga=U.documentElement;(function(){function b(){g.style.cssText= "-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;position:relative;display:block;margin:auto;border:1px;padding:1px;top:1%;width:50%";g.innerHTML="";Ga.appendChild(l);var b=a.getComputedStyle(g);e="1%"!==b.top;k="2px"===b.marginLeft;f="4px"===b.width;g.style.marginRight="50%";h="4px"===b.marginRight;Ga.removeChild(l)}var e,f,h,k,l=U.createElement("div"),g=U.createElement("div");g.style&&(g.style.backgroundClip="content-box",g.cloneNode(!0).style.backgroundClip="",fa.clearCloneStyle= "content-box"===g.style.backgroundClip,l.style.cssText="border:0;width:8px;height:0;top:0;left:-9999px;padding:0;margin-top:1px;position:absolute",l.appendChild(g),t.extend(fa,{pixelPosition:function(){b();return e},boxSizingReliable:function(){null==f&&b();return f},pixelMarginRight:function(){null==f&&b();return h},reliableMarginLeft:function(){null==f&&b();return k},reliableMarginRight:function(){var b,e=g.appendChild(U.createElement("div"));e.style.cssText=g.style.cssText="-webkit-box-sizing:content-box;box-sizing:content-box;display:block;margin:0;border:0;padding:0"; e.style.marginRight=e.style.width="0";g.style.width="1px";Ga.appendChild(l);b=!parseFloat(a.getComputedStyle(e).marginRight);Ga.removeChild(l);g.removeChild(e);return b}}))})();var qb=/^(none|table(?!-c[ea]).+)/,Bb={position:"absolute",visibility:"hidden",display:"block"},G={letterSpacing:"0",fontWeight:"400"},$b=["Webkit","O","Moz","ms"],ac=U.createElement("div").style;t.extend({cssHooks:{opacity:{get:function(a,b){if(b)return a=B(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:{"float":"cssFloat"},style:function(a,b,e,f){if(a&&3!==a.nodeType&&8!==a.nodeType&&a.style){var h,k,l,g=t.camelCase(b),n=a.style;b=t.cssProps[g]||(t.cssProps[g]=O(g)||g);l=t.cssHooks[b]||t.cssHooks[g];if(void 0!==e)k=typeof e,"string"===k&&(h=Na.exec(e))&&h[1]&&(e=m(a,b,h),k="number"),null!=e&&e===e&&("number"===k&&(e+=h&&h[3]||(t.cssNumber[g]?"": "px")),fa.clearCloneStyle||""!==e||0!==b.indexOf("background")||(n[b]="inherit"),l&&"set"in l&&void 0===(e=l.set(a,e,f))||(n[b]=e));else return l&&"get"in l&&void 0!==(h=l.get(a,!1,f))?h:n[b]}},css:function(a,b,e,f){var h,k;k=t.camelCase(b);b=t.cssProps[k]||(t.cssProps[k]=O(k)||k);(k=t.cssHooks[b]||t.cssHooks[k])&&"get"in k&&(h=k.get(a,!0,e));void 0===h&&(h=B(a,b,f));"normal"===h&&b in G&&(h=G[b]);return""===e||e?(a=parseFloat(h),!0===e||isFinite(a)?a||0:h):h}});t.each(["height","width"],function(a, b){t.cssHooks[b]={get:function(a,e,f){if(e)return qb.test(t.css(a,"display"))&&0===a.offsetWidth?xb(a,Bb,function(){return R(a,b,f)}):R(a,b,f)},set:function(a,e,f){var h,k=f&&rb(a);(f=f&&N(a,b,f,"border-box"===t.css(a,"boxSizing",!1,k),k))&&(h=Na.exec(e))&&"px"!==(h[3]||"px")&&(a.style[b]=e,e=t.css(a,b));return M(a,e,f)}}});t.cssHooks.marginLeft=K(fa.reliableMarginLeft,function(a,b){if(b)return(parseFloat(B(a,"marginLeft"))||a.getBoundingClientRect().left-xb(a,{marginLeft:0},function(){return a.getBoundingClientRect().left}))+ "px"});t.cssHooks.marginRight=K(fa.reliableMarginRight,function(a,b){if(b)return xb(a,{display:"inline-block"},B,[a,"marginRight"])});t.each({margin:"",padding:"",border:"Width"},function(a,b){t.cssHooks[a+b]={expand:function(e){var f=0,h={};for(e="string"===typeof e?e.split(" "):[e];4>f;f++)h[a+ra[f]+b]=e[f]||e[f-2]||e[0];return h}};db.test(a)||(t.cssHooks[a+b].set=M)});t.fn.extend({css:function(a,b){return ta(this,function(a,b,e){var f,h={},k=0;if(t.isArray(b)){e=rb(a);for(f=b.length;kf.indexOf(" "+k+" ")&&(f+=k+" ");f=t.trim(f);h!==f&&e.setAttribute("class",f)}return this},removeClass:function(a){var b,e,f,h,k,l,g=0;if(t.isFunction(a))return this.each(function(b){t(this).removeClass(a.call(this,b,V(this)))});if(!arguments.length)return this.attr("class","");if("string"===typeof a&&a)for(b=a.match(ua)||[];e=this[g++];)if(h=V(e),f=1===e.nodeType&&(" "+h+" ").replace(Yc, " ")){for(l=0;k=b[l++];)for(;-1f)?null:[],k=a?f+1:e.length,l=0>f?k:a?f:0;lr.indexOf(":")&&"on"+r,b=b[t.expando]?b:new t.Event(r,"object"===typeof b&&b),b.isTrigger=h?2:3,b.namespace=q.join("."),b.rnamespace=b.namespace?new RegExp("(^|\\.)"+q.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=f),e=null==e?[b]:t.makeArray(e,[b]),q=t.event.special[r]||{},h||!q.trigger||!1!==q.trigger.apply(f,e))){if(!h&&!q.noBubble&&!t.isWindow(f)){g=q.delegateType|| r;kc.test(g+r)||(l=l.parentNode);for(;l;l=l.parentNode)p.push(l),k=l;k===(f.ownerDocument||U)&&p.push(k.defaultView||k.parentWindow||a)}for(k=0;(l=p[k++])&&!b.isPropagationStopped();)b.type=1b||304===b;if(f){y=p; for(var F=E,D,G,J,B,ga=y.contents,qa=y.dataTypes;"*"===qa[0];)qa.shift(),void 0===D&&(D=y.mimeType||F.getResponseHeader("Content-Type"));if(D)for(G in ga)if(ga[G]&&ga[G].test(D)){qa.unshift(G);break}if(qa[0]in f)J=qa[0];else{for(G in f){if(!qa[0]||y.converters[G+" "+qa[0]]){J=G;break}B||(B=G)}J=J||B}J?(J!==qa[0]&&qa.unshift(J),y=f[J]):y=void 0}a:{f=p;D=y;G=E;J=g;var T,la,M,F={},ga=f.dataTypes.slice();if(ga[1])for(la in f.converters)F[la.toLowerCase()]=f.converters[la];for(B=ga.shift();B;)if(f.responseFields[B]&& (G[f.responseFields[B]]=D),!M&&J&&f.dataFilter&&(D=f.dataFilter(D,f.dataType)),M=B,B=ga.shift())if("*"===B)B=M;else if("*"!==M&&M!==B){la=F[M+" "+B]||F["* "+B];if(!la)for(T in F)if(y=T.split(" "),y[1]===B&&(la=F[M+" "+y[0]]||F["* "+y[0]])){!0===la?la=F[T]:!0!==F[T]&&(B=y[0],ga.unshift(y[1]));break}if(!0!==la)if(la&&f["throws"])D=la(D);else try{D=la(D)}catch(Oc){y={state:"parsererror",error:la?Oc:"No conversion from "+M+" to "+B};break a}}y={state:"success",data:D}}if(g)p.ifModified&&((A=E.getResponseHeader("Last-Modified"))&& (t.lastModified[k]=A),(A=E.getResponseHeader("etag"))&&(t.etag[k]=A)),204===b||"HEAD"===p.type?A="nocontent":304===b?A="notmodified":(A=y.state,q=y.data,v=y.error,g=!v);else if(v=A,b||!A)A="error",0>b&&(b=0);E.status=b;E.statusText=(e||A)+"";g?u.resolveWith(r,[q,A,E]):u.rejectWith(r,[E,A,v]);E.statusCode(C);C=void 0;m&&z.trigger(g?"ajaxSuccess":"ajaxError",[E,p,g?q:v]);w.fireWith(r,[E,A]);m&&(z.trigger("ajaxComplete",[E,p]),--t.active||t.event.trigger("ajaxStop"))}}"object"===typeof b&&(e=b,b=void 0); e=e||{};var h,k,l,g,n,m,q,p=t.ajaxSetup({},e),r=p.context||p,z=p.context&&(r.nodeType||r.jquery)?t(r):t.event,u=t.Deferred(),w=t.Callbacks("once memory"),C=p.statusCode||{},v={},y={},x=0,A="canceled",E={readyState:0,getResponseHeader:function(a){var b;if(2===x){if(!g)for(g={};b=bc.exec(l);)g[b[1].toLowerCase()]=b[2];b=g[a.toLowerCase()]}return null==b?null:b},getAllResponseHeaders:function(){return 2===x?l:null},setRequestHeader:function(a,b){var e=a.toLowerCase();x||(a=y[e]=y[e]||a,v[a]=b);return this}, overrideMimeType:function(a){x||(p.mimeType=a);return this},statusCode:function(a){var b;if(a)if(2>x)for(b in a)C[b]=[C[b],a[b]];else E.always(a[E.status]);return this},abort:function(a){a=a||A;h&&h.abort(a);f(0,a);return this}};u.promise(E).complete=w.add;E.success=E.done;E.error=E.fail;p.url=((b||p.url||Kb.href)+"").replace(Bc,"").replace(Ec,Kb.protocol+"//");p.type=e.method||e.type||p.method||p.type;p.dataTypes=t.trim(p.dataType||"*").toLowerCase().match(ua)||[""];if(null==p.crossDomain){b=U.createElement("a"); try{b.href=p.url,b.href=b.href,p.crossDomain=dc.protocol+"//"+dc.host!==b.protocol+"//"+b.host}catch(Pb){p.crossDomain=!0}}p.data&&p.processData&&"string"!==typeof p.data&&(p.data=t.param(p.data,p.traditional));Da(Mb,p,e,E);if(2===x)return E;(m=t.event&&p.global)&&0===t.active++&&t.event.trigger("ajaxStart");p.type=p.type.toUpperCase();p.hasContent=!Eb.test(p.type);k=p.url;p.hasContent||(p.data&&(k=p.url+=(Db.test(k)?"&":"?")+p.data,delete p.data),!1===p.cache&&(p.url=lc.test(k)?k.replace(lc,"$1_="+ Rb++):k+(Db.test(k)?"&":"?")+"_="+Rb++));p.ifModified&&(t.lastModified[k]&&E.setRequestHeader("If-Modified-Since",t.lastModified[k]),t.etag[k]&&E.setRequestHeader("If-None-Match",t.etag[k]));(p.data&&p.hasContent&&!1!==p.contentType||e.contentType)&&E.setRequestHeader("Content-Type",p.contentType);E.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Gc+"; q=0.01":""):p.accepts["*"]);for(q in p.headers)E.setRequestHeader(q,p.headers[q]); if(p.beforeSend&&(!1===p.beforeSend.call(r,E,p)||2===x))return E.abort();A="abort";for(q in{success:1,error:1,complete:1})E[q](p[q]);if(h=Da(mc,p,e,E)){E.readyState=1;m&&z.trigger("ajaxSend",[E,p]);if(2===x)return E;p.async&&0x)f(-1,Pb);else throw Pb;}}else f(-1,"No Transport");return E},getJSON:function(a,b,e){return t.get(a,b,e,"json")},getScript:function(a,b){return t.get(a,void 0,b,"script")}}); t.each(["get","post"],function(a,b){t[b]=function(a,e,f,h){t.isFunction(e)&&(h=h||f,f=e,e=void 0);return t.ajax(t.extend({url:a,type:b,dataType:h,data:e,success:f},t.isPlainObject(a)&&a))}});t._evalUrl=function(a){return t.ajax({url:a,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0})};t.fn.extend({wrapAll:function(a){var b;if(t.isFunction(a))return this.each(function(b){t(this).wrapAll(a.call(this,b))});this[0]&&(b=t(a,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&b.insertBefore(this[0]), b.map(function(){for(var a=this;a.firstElementChild;)a=a.firstElementChild;return a}).append(this));return this},wrapInner:function(a){return t.isFunction(a)?this.each(function(b){t(this).wrapInner(a.call(this,b))}):this.each(function(){var b=t(this),e=b.contents();e.length?e.wrapAll(a):b.append(a)})},wrap:function(a){var b=t.isFunction(a);return this.each(function(e){t(this).wrapAll(b?a.call(this,e):a)})},unwrap:function(){return this.parent().each(function(){t.nodeName(this,"body")||t(this).replaceWith(this.childNodes)}).end()}}); t.expr.filters.hidden=function(a){return!t.expr.filters.visible(a)};t.expr.filters.visible=function(a){return 0").prop({charset:a.scriptCharset,src:a.url}).on("load error",e=function(a){b.remove();e=null;a&&h("error"===a.type?404:200,a.type)});U.head.appendChild(b[0])},abort:function(){e&&e()}}}});var Vb=[],fc=/(=)\?(?=&|$)|\?\?/;t.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=Vb.pop()|| t.expando+"_"+Rb++;this[a]=!0;return a}});t.ajaxPrefilter("json jsonp",function(b,e,f){var h,k,l,g=!1!==b.jsonp&&(fc.test(b.url)?"url":"string"===typeof b.data&&0===(b.contentType||"").indexOf("application/x-www-form-urlencoded")&&fc.test(b.data)&&"data");if(g||"jsonp"===b.dataTypes[0])return h=b.jsonpCallback=t.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,g?b[g]=b[g].replace(fc,"$1"+h):!1!==b.jsonp&&(b.url+=(Db.test(b.url)?"&":"?")+b.jsonp+"="+h),b.converters["script json"]=function(){l|| t.error(h+" was not called");return l[0]},b.dataTypes[0]="json",k=a[h],a[h]=function(){l=arguments},f.always(function(){void 0===k?t(a).removeProp(h):a[h]=k;b[h]&&(b.jsonpCallback=e.jsonpCallback,Vb.push(h));l&&t.isFunction(k)&&k(l[0]);l=k=void 0}),"script"});t.parseHTML=function(a,b,e){if(!a||"string"!==typeof a)return null;"boolean"===typeof b&&(e=b,b=!1);b=b||U;var f=lb.exec(a);e=!e&&[];if(f)return[b.createElement(f[1])];f=q([a],b,e);e&&e.length&&t(e).remove();return t.merge([],f.childNodes)}; var gc=t.fn.load;t.fn.load=function(a,b,e){if("string"!==typeof a&&gc)return gc.apply(this,arguments);var f,h,k,l=this,g=a.indexOf(" ");-1").append(t.parseHTML(a)).find(f):a)}).always(e&&function(a,b){l.each(function(){e.apply(this,k||[a.responseText,b,a])})});return this};t.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "), function(a,b){t.fn[b]=function(a){return this.on(b,a)}});t.expr.filters.animated=function(a){return t.grep(t.timers,function(b){return a===b.elem}).length};t.offset={setOffset:function(a,b,e){var f,h,k,l=t.css(a,"position"),g=t(a),n={};"static"===l&&(a.style.position="relative");k=g.offset();h=t.css(a,"top");f=t.css(a,"left");("absolute"===l||"fixed"===l)&&-1<(h+f).indexOf("auto")?(f=g.position(),h=f.top,f=f.left):(h=parseFloat(h)||0,f=parseFloat(f)||0);t.isFunction(b)&&(b=b.call(a,e,t.extend({}, k)));null!=b.top&&(n.top=b.top-k.top+h);null!=b.left&&(n.left=b.left-k.left+f);"using"in b?b.using.call(a,n):g.css(n)}};t.fn.extend({offset:function(a){if(arguments.length)return void 0===a?this:this.each(function(b){t.offset.setOffset(this,a,b)});var b,e;e=this[0];var f={top:0,left:0},h=e&&e.ownerDocument;if(h){b=h.documentElement;if(!t.contains(b,e))return f;f=e.getBoundingClientRect();e=ma(h);return{top:f.top+e.pageYOffset-b.clientTop,left:f.left+e.pageXOffset-b.clientLeft}}},position:function(){if(this[0]){var a, b,e=this[0],f={top:0,left:0};"fixed"===t.css(e,"position")?b=e.getBoundingClientRect():(a=this.offsetParent(),b=this.offset(),t.nodeName(a[0],"html")||(f=a.offset()),f.top+=t.css(a[0],"borderTopWidth",!0),f.left+=t.css(a[0],"borderLeftWidth",!0));return{top:b.top-f.top-t.css(e,"marginTop",!0),left:b.left-f.left-t.css(e,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var a=this.offsetParent;a&&"static"===t.css(a,"position");)a=a.offsetParent;return a||Ga})}});t.each({scrollLeft:"pageXOffset", scrollTop:"pageYOffset"},function(a,b){var e="pageYOffset"===b;t.fn[a]=function(f){return ta(this,function(a,f,h){var k=ma(a);if(void 0===h)return k?k[b]:a[f];k?k.scrollTo(e?k.pageXOffset:h,e?h:k.pageYOffset):a[f]=h},a,f,arguments.length)}});t.each(["top","left"],function(a,b){t.cssHooks[b]=K(fa.pixelPosition,function(a,e){if(e)return e=B(a,b),Aa.test(e)?t(a).position()[b]+"px":e})});t.each({Height:"height",Width:"width"},function(a,b){t.each({padding:"inner"+a,content:b,"":"outer"+a},function(e, f){t.fn[f]=function(f,h){var k=arguments.length&&(e||"boolean"!==typeof f),l=e||(!0===f||!0===h?"margin":"border");return ta(this,function(b,e,f){return t.isWindow(b)?b.document.documentElement["client"+a]:9===b.nodeType?(e=b.documentElement,Math.max(b.body["scroll"+a],e["scroll"+a],b.body["offset"+a],e["offset"+a],e["client"+a])):void 0===f?t.css(b,e,l):t.style(b,e,f,l)},b,k?f:void 0,k,null)}})});t.fn.extend({bind:function(a,b,e){return this.on(a,null,b,e)},unbind:function(a,b){return this.off(a, null,b)},delegate:function(a,b,e,f){return this.on(b,a,e,f)},undelegate:function(a,b,e){return 1===arguments.length?this.off(a,"**"):this.off(b,a||"**",e)},size:function(){return this.length}});t.fn.andSelf=t.fn.addBack;"function"===typeof define&&define.amd&&define("jquery",[],function(){return t});var Tb=a.jQuery,Dc=a.$;t.noConflict=function(b){a.$===t&&(a.$=Dc);b&&a.jQuery===t&&(a.jQuery=Tb);return t};g||(a.jQuery=a.$=t);return t});(function(a,g){function b(b,f){var h,k,l,g=b.nodeName.toLowerCase();return"area"===g?(h=b.parentNode,k=h.name,b.href&&k&&"map"===h.nodeName.toLowerCase()?(l=a("img[usemap=#"+k+"]")[0],!!l&&e(l)):!1):(/input|select|textarea|button|object/.test(g)?!b.disabled:"a"===g?b.href||f:f)&&e(b)}function e(b){return a.expr.filters.visible(b)&&!a(b).parents().addBack().filter(function(){return"hidden"===a.css(this,"visibility")}).length}var f=0,h=/^ui-id-\d+$/;a.ui=a.ui||{};a.ui.version||(a.extend(a.ui,{version:"1.10.1", keyCode:{BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38}}),a.fn.extend({_focus:a.fn.focus,focus:function(b,e){return"number"==typeof b?this.each(function(){var f=this;setTimeout(function(){a(f).focus();e&&e.call(f)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;return a.ui.ie&& /(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.css(this,"position"))&&/(auto|scroll)/.test(a.css(this,"overflow")+a.css(this,"overflow-y")+a.css(this,"overflow-x"))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.css(this,"overflow")+a.css(this,"overflow-y")+a.css(this,"overflow-x"))}).eq(0),/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(b){if(b!== g)return this.css("zIndex",b);if(this.length){b=a(this[0]);for(var e;b.length&&b[0]!==document;){e=b.css("position");if("absolute"===e||"relative"===e||"fixed"===e)if(e=parseInt(b.css("zIndex"),10),!isNaN(e)&&0!==e)return e;b=b.parent()}}return 0},uniqueId:function(){return this.each(function(){this.id||(this.id="ui-id-"+ ++f)})},removeUniqueId:function(){return this.each(function(){h.test(this.id)&&a(this).removeAttr("id")})}}),a.extend(a.expr[":"],{data:a.expr.createPseudo?a.expr.createPseudo(function(b){return function(e){return!!a.data(e, b)}}):function(b,e,f){return!!a.data(b,f[3])},focusable:function(e){return b(e,!isNaN(a.attr(e,"tabindex")))},tabbable:function(e){var f=a.attr(e,"tabindex"),h=isNaN(f);return(h||0<=f)&&b(e,!h)}}),a("").outerWidth(1).jquery||a.each(["Width","Height"],function(b,e){function f(b,e,f,k){return a.each(h,function(){e-=parseFloat(a.css(b,"padding"+this))||0;f&&(e-=parseFloat(a.css(b,"border"+this+"Width"))||0);k&&(e-=parseFloat(a.css(b,"margin"+this))||0)}),e}var h="Width"===e?["Left","Right"]:["Top", "Bottom"],k=e.toLowerCase(),l={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+e]=function(b){return b===g?l["inner"+e].call(this):this.each(function(){a(this).css(k,f(this,b)+"px")})};a.fn["outer"+e]=function(b,h){return"number"!=typeof b?l["outer"+e].call(this,b):this.each(function(){a(this).css(k,f(this,b,!0,h)+"px")})}}),a.fn.addBack||(a.fn.addBack=function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}), a("").data("a-b","a").removeData("a-b").data("a-b")&&(a.fn.removeData=function(b){return function(e){return arguments.length?b.call(this,a.camelCase(e)):b.call(this)}}(a.fn.removeData)),a.ui.ie=!!/msie [\w.]+/.exec(navigator.userAgent.toLowerCase()),a.support.selectstart="onselectstart"in document.createElement("div"),a.fn.extend({disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}), a.extend(a.ui,{plugin:{add:function(b,e,f){var h;b=a.ui[b].prototype;for(h in f)b.plugins[h]=b.plugins[h]||[],b.plugins[h].push([e,f[h]])},call:function(a,b,e){var f=a.plugins[b];if(f&&a.element[0].parentNode&&11!==a.element[0].parentNode.nodeType)for(b=0;b",options:{disabled:!1,create:null},_createWidget:function(e,f){f=a(f||this.defaultElement||this)[0];this.element=a(f);this.uuid=b++;this.eventNamespace="."+this.widgetName+this.uuid;this.options=a.widget.extend({}, this.options,this._getCreateOptions(),e);this.bindings=a();this.hoverable=a();this.focusable=a();f!==this&&(a.data(f,this.widgetFullName,this),this._on(!0,this.element,{remove:function(a){a.target===f&&this.destroy()}}),this.document=a(f.style?f.ownerDocument:f.document||f),this.window=a(this.document[0].defaultView||this.document[0].parentWindow));this._create();this._trigger("create",null,this._getCreateEventData());this._init()},_getCreateOptions:a.noop,_getCreateEventData:a.noop,_create:a.noop, _init:a.noop,destroy:function(){this._destroy();this.element.unbind(this.eventNamespace).removeData(this.widgetName).removeData(this.widgetFullName).removeData(a.camelCase(this.widgetFullName));this.widget().unbind(this.eventNamespace).removeAttr("aria-disabled").removeClass(this.widgetFullName+"-disabled ui-state-disabled");this.bindings.unbind(this.eventNamespace);this.hoverable.removeClass("ui-state-hover");this.focusable.removeClass("ui-state-focus")},_destroy:a.noop,widget:function(){return this.element}, option:function(b,e){var f=b,h,l,p;if(0===arguments.length)return a.widget.extend({},this.options);if("string"==typeof b)if(f={},h=b.split("."),b=h.shift(),h.length){l=f[b]=a.widget.extend({},this.options[b]);for(p=0;pdocument.documentMode)&&!b.button?this._mouseUp(b):this._mouseStarted?(this._mouseDrag(b),b.preventDefault()):(this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=!1!==this._mouseStart(this._mouseDownEvent,b),this._mouseStarted?this._mouseDrag(b):this._mouseUp(b)),!this._mouseStarted)},_mouseUp:function(b){return a(document).unbind("mousemove."+ this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target===this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b)),!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(){return this.mouseDelayMet},_mouseStart:function(){}, _mouseDrag:function(){},_mouseStop:function(){},_mouseCapture:function(){return!0}})})(jQuery); (function(a,g){function b(a,b,e){return[parseFloat(a[0])*(q.test(a[0])?b/100:1),parseFloat(a[1])*(q.test(a[1])?e/100:1)]}function e(b){var e=b[0];return 9===e.nodeType?{width:b.width(),height:b.height(),offset:{top:0,left:0}}:a.isWindow(e)?{width:b.width(),height:b.height(),offset:{top:b.scrollTop(),left:b.scrollLeft()}}:e.preventDefault?{width:0,height:0,offset:{top:e.pageY,left:e.pageX}}:{width:b.outerWidth(),height:b.outerHeight(),offset:b.offset()}}a.ui=a.ui||{};var f,h=Math.max,l=Math.abs,k= Math.round,n=/left|center|right/,m=/top|center|bottom/,p=/[\+\-]\d+(\.[\d]+)?%?/,r=/^\w+/,q=/%$/,v=a.fn.position;a.position={scrollbarWidth:function(){if(f!==g)return f;var b,e,h=a("
"),k=h.children()[0];return a("body").append(h),b=k.offsetWidth,h.css("overflow","scroll"),e=k.offsetWidth,b===e&&(e=h[0].clientWidth),h.remove(),f=b-e},getScrollInfo:function(b){var e=b.isWindow?"":b.element.css("overflow-x"), f=b.isWindow?"":b.element.css("overflow-y"),f="scroll"===f||"auto"===f&&b.heighte?"left":0g?"top":0h(l(k),l(g))?n.important="horizontal":n.important="vertical";f.using.call(this,a,n)});m.offset(a.extend(x,{using:n}))})};a.ui.position={fit:{left:function(a,b){var e=b.within,f=e.isWindow?e.scrollLeft:e.offset.left,e=e.width,k=a.left-b.collisionPosition.marginLeft,l=f-k,g=k+b.collisionWidth-e-f,n;b.collisionWidth>e?0=g?(n=a.left+l+b.collisionWidth-e-f,a.left+=l-n):0=l?a.left=f:l>g?a.left=f+e-b.collisionWidth:a.left=f:0f?0=g?(n=a.top+l+b.collisionHeight-f-e,a.top+=l-n):0=l?a.top=e:l>g?a.top=e+f-b.collisionHeight:a.top=e:0e){if(b=a.left+g+m+q+b.collisionWidth-h-f,0>b||bg?(r=a.top+n+m+q+b.collisionHeight-h-f,a.top+n+m+q>g&&(0>r||rk&&(0f;b.innerHTML="";e.removeChild(b)})()})(jQuery); (function(a,g){var b=0,e={},f={};e.height=e.paddingTop=e.paddingBottom=e.borderTopWidth=e.borderBottomWidth="hide";f.height=f.paddingTop=f.paddingBottom=f.borderTopWidth=f.borderBottomWidth="show";a.widget("ui.accordion",{version:"1.10.1",options:{active:0,animate:{},collapsible:!1,event:"click",header:"> li > :first-child,> :not(li):even",heightStyle:"auto",icons:{activeHeader:"ui-icon-triangle-1-s",header:"ui-icon-triangle-1-e"},activate:null,beforeActivate:null},_create:function(){var b=this.options; this.prevShow=this.prevHide=a();this.element.addClass("ui-accordion ui-widget ui-helper-reset").attr("role","tablist");b.collapsible||!1!==b.active&&null!=b.active||(b.active=0);this._processPanels();0>b.active&&(b.active+=this.headers.length);this._refresh()},_getCreateEventData:function(){return{header:this.active,panel:this.active.length?this.active.next():a(),content:this.active.length?this.active.next():a()}},_createIcons:function(){var b=this.options.icons;b&&(a("").addClass("ui-accordion-header-icon ui-icon "+ b.header).prependTo(this.headers),this.active.children(".ui-accordion-header-icon").removeClass(b.header).addClass(b.activeHeader),this.headers.addClass("ui-accordion-icons"))},_destroyIcons:function(){this.headers.removeClass("ui-accordion-icons").children(".ui-accordion-header-icon").remove()},_destroy:function(){var a;this.element.removeClass("ui-accordion ui-widget ui-helper-reset").removeAttr("role");this.headers.removeClass("ui-accordion-header ui-accordion-header-active ui-helper-reset ui-state-default ui-corner-all ui-state-active ui-state-disabled ui-corner-top").removeAttr("role").removeAttr("aria-selected").removeAttr("aria-controls").removeAttr("tabIndex").each(function(){/^ui-accordion/.test(this.id)&& this.removeAttribute("id")});this._destroyIcons();a=this.headers.next().css("display","").removeAttr("role").removeAttr("aria-expanded").removeAttr("aria-hidden").removeAttr("aria-labelledby").removeClass("ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content ui-accordion-content-active ui-state-disabled").each(function(){/^ui-accordion/.test(this.id)&&this.removeAttribute("id")});"content"!==this.options.heightStyle&&a.css("height","")},_setOption:function(a,b){"active"===a?this._activate(b): ("event"===a&&(this.options.event&&this._off(this.headers,this.options.event),this._setupEvents(b)),this._super(a,b),"collapsible"===a&&!b&&!1===this.options.active&&this._activate(0),"icons"===a&&(this._destroyIcons(),b&&this._createIcons()),"disabled"===a&&this.headers.add(this.headers.next()).toggleClass("ui-state-disabled",!!b))},_keydown:function(b){if(!b.altKey&&!b.ctrlKey){var e=a.ui.keyCode,f=this.headers.length,h=this.headers.index(b.target),g=!1;switch(b.keyCode){case e.RIGHT:case e.DOWN:g= this.headers[(h+1)%f];break;case e.LEFT:case e.UP:g=this.headers[(h-1+f)%f];break;case e.SPACE:case e.ENTER:this._eventHandler(b);break;case e.HOME:g=this.headers[0];break;case e.END:g=this.headers[f-1]}g&&(a(b.target).attr("tabIndex",-1),a(g).attr("tabIndex",0),g.focus(),b.preventDefault())}},_panelKeyDown:function(b){b.keyCode===a.ui.keyCode.UP&&b.ctrlKey&&a(b.currentTarget).prev().focus()},refresh:function(){var b=this.options;this._processPanels();if(!1===b.active&&!0===b.collapsible||!this.headers.length)b.active= !1,this.active=a();!1===b.active?this._activate(0):this.active.length&&!a.contains(this.element[0],this.active[0])?this.headers.length===this.headers.find(".ui-state-disabled").length?(b.active=!1,this.active=a()):this._activate(Math.max(0,b.active-1)):b.active=this.headers.index(this.active);this._destroyIcons();this._refresh()},_processPanels:function(){this.headers=this.element.find(this.options.header).addClass("ui-accordion-header ui-helper-reset ui-state-default ui-corner-all");this.headers.next().addClass("ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom").filter(":not(.ui-accordion-content-active)").hide()}, _refresh:function(){var e,f=this.options,k=f.heightStyle,g=this.element.parent(),m=this.accordionId="ui-accordion-"+(this.element.attr("id")||++b);this.active=this._findActive(f.active).addClass("ui-accordion-header-active ui-state-active ui-corner-top").removeClass("ui-corner-all");this.active.next().addClass("ui-accordion-content-active").show();this.headers.attr("role","tab").each(function(b){var e=a(this),f=e.attr("id"),h=e.next(),k=h.attr("id");f||(f=m+"-header-"+b,e.attr("id",f));k||(k=m+"-panel-"+ b,h.attr("id",k));e.attr("aria-controls",k);h.attr("aria-labelledby",f)}).next().attr("role","tabpanel");this.headers.not(this.active).attr({"aria-selected":"false",tabIndex:-1}).next().attr({"aria-expanded":"false","aria-hidden":"true"}).hide();this.active.length?this.active.attr({"aria-selected":"true",tabIndex:0}).next().attr({"aria-expanded":"true","aria-hidden":"false"}):this.headers.eq(0).attr("tabIndex",0);this._createIcons();this._setupEvents(f.event);"fill"===k?(e=g.height(),this.element.siblings(":visible").each(function(){var b= a(this),f=b.css("position");"absolute"!==f&&"fixed"!==f&&(e-=b.outerHeight(!0))}),this.headers.each(function(){e-=a(this).outerHeight(!0)}),this.headers.next().each(function(){a(this).height(Math.max(0,e-a(this).innerHeight()+a(this).height()))}).css("overflow","auto")):"auto"===k&&(e=0,this.headers.next().each(function(){e=Math.max(e,a(this).css("height","").height())}).height(e))},_activate:function(b){b=this._findActive(b)[0];b!==this.active[0]&&(b=b||this.active[0],this._eventHandler({target:b, currentTarget:b,preventDefault:a.noop}))},_findActive:function(b){return"number"==typeof b?this.headers.eq(b):a()},_setupEvents:function(b){var e={keydown:"_keydown"};b&&a.each(b.split(" "),function(a,b){e[b]="_eventHandler"});this._off(this.headers.add(this.headers.next()));this._on(this.headers,e);this._on(this.headers.next(),{keydown:"_panelKeyDown"});this._hoverable(this.headers);this._focusable(this.headers)},_eventHandler:function(b){var e=this.options,f=this.active,h=a(b.currentTarget),g=h[0]=== f[0],p=g&&e.collapsible,r=p?a():h.next(),q=f.next(),r={oldHeader:f,oldPanel:q,newHeader:p?a():h,newPanel:r};b.preventDefault();g&&!e.collapsible||!1===this._trigger("beforeActivate",b,r)||(e.active=p?!1:this.headers.index(h),this.active=g?a():h,this._toggle(r),f.removeClass("ui-accordion-header-active ui-state-active"),e.icons&&f.children(".ui-accordion-header-icon").removeClass(e.icons.activeHeader).addClass(e.icons.header),g||(h.removeClass("ui-corner-all").addClass("ui-accordion-header-active ui-state-active ui-corner-top"), e.icons&&h.children(".ui-accordion-header-icon").removeClass(e.icons.header).addClass(e.icons.activeHeader),h.next().addClass("ui-accordion-content-active")))},_toggle:function(b){var e=b.newPanel,f=this.prevShow.length?this.prevShow:b.oldPanel;this.prevShow.add(this.prevHide).stop(!0,!0);this.prevShow=e;this.prevHide=f;this.options.animate?this._animate(e,f,b):(f.hide(),e.show(),this._toggleComplete(b));f.attr({"aria-expanded":"false","aria-hidden":"true"});f.prev().attr("aria-selected","false"); e.length&&f.length?f.prev().attr("tabIndex",-1):e.length&&this.headers.filter(function(){return 0===a(this).attr("tabIndex")}).attr("tabIndex",-1);e.attr({"aria-expanded":"true","aria-hidden":"false"}).prev().attr({"aria-selected":"true",tabIndex:0})},_animate:function(a,b,k){var h,l,g,r=this,q=0,v=a.length&&(!b.length||a.index()",options:{appendTo:null,autoFocus:!1,delay:300,minLength:1,position:{my:"left top",at:"left bottom",collision:"none"},source:null,change:null,close:null,focus:null,open:null,response:null,search:null,select:null},pending:0,_create:function(){var b,f,h,l=this.element[0].nodeName.toLowerCase(),k="textarea"===l,l="input"===l;this.isMultiLine=k?!0:l?!1:this.element.prop("isContentEditable");this.valueMethod=this.element[k|| l?"val":"text"];this.isNewMenu=!0;this.element.addClass("ui-autocomplete-input").attr("autocomplete","off");this._on(this.element,{keydown:function(e){if(this.element.prop("readOnly"))f=h=b=!0;else{f=h=b=!1;var k=a.ui.keyCode;switch(e.keyCode){case k.PAGE_UP:b=!0;this._move("previousPage",e);break;case k.PAGE_DOWN:b=!0;this._move("nextPage",e);break;case k.UP:b=!0;this._keyEvent("previous",e);break;case k.DOWN:b=!0;this._keyEvent("next",e);break;case k.ENTER:case k.NUMPAD_ENTER:this.menu.active&& (b=!0,e.preventDefault(),this.menu.select(e));break;case k.TAB:this.menu.active&&this.menu.select(e);break;case k.ESCAPE:this.menu.element.is(":visible")&&(this._value(this.term),this.close(e),e.preventDefault());break;default:f=!0,this._searchTimeout(e)}}},keypress:function(e){if(b)b=!1,e.preventDefault();else if(!f){var h=a.ui.keyCode;switch(e.keyCode){case h.PAGE_UP:this._move("previousPage",e);break;case h.PAGE_DOWN:this._move("nextPage",e);break;case h.UP:this._keyEvent("previous",e);break;case h.DOWN:this._keyEvent("next", e)}}},input:function(a){h?(h=!1,a.preventDefault()):this._searchTimeout(a)},focus:function(){this.selectedItem=null;this.previous=this._value()},blur:function(a){this.cancelBlur?delete this.cancelBlur:(clearTimeout(this.searching),this.close(a),this._change(a))}});this._initSource();this.menu=a("