Cube('datav:/npm/bcore/0.0.9/event',[],function(g,i,m,l,k,j){function h(a){return c[a]?c[a]:c[a]=d[a]()}function a(){}var d={},c={};d['node_modules/bcore/0.0.9/class']=d['node_modules/bcore/0.0.9/class.js']=function(){function b(){}var c={},a={exports:c};return b.extend=function(a,b){typeof a!=='function'&&!b?(b=a,a=function(){}):a||(a=function(){});var d=this,c,e;if(Object.create?c=Object.create(d.prototype,{constructor:{value:a,enumerable:!1,writable:!0,configurable:!0}}):(c=new d,c.constructor=a),b)for(e in b)b.hasOwnProperty(e)&&(c[e]=b[e]);return c._super=d,a.prototype=c,a.extend=arguments.callee,a},a.exports=b,a.exports};var f=h('node_modules/bcore/0.0.9/class'),b=Array.isArray||function(a){return Object.prototype.toString.call(a)==='[object Array]'?!0:!1};a=f.extend(a),g.exports=a,i.EventEmitter=a;var e=20;return a.prototype.setMaxListeners=function(a){this._events||(this._events={}),this._maxListeners=a},a.prototype.emit=function(){var f=arguments[0];if(f==='error'&&(!(this._events&&this._events.error)||b(this._events.error)&&!this._events.error.length))throw arguments[1]instanceof Error?arguments[1]:new Error('Uncaught, unspecified \'error\' event.');if(!this._events)return!1;var d=this._events[f];if(!d)return!1;if(!(typeof d=='function'))if(b(d)){var c=arguments.length,e=new Array(c-1);for(var a=1;a0&&this._events[a].length>d&&(this._events[a].warned=!0,console.error('Possible mem-leak detected. event['+a+'] %d listeners added. '+'Use emitter.setMaxListeners() to increase limit.',this._events[a].length),console.trace())}return this},a.prototype.on=a.prototype.addListener,a.prototype.once=function(d,a){function b(){c.removeListener(d,b),a.apply(this,arguments)}if('function'!==typeof a)throw new Error('.once only takes instances of Function');var c=this;return b.listener=a,c.on(d,b),this},a.prototype.removeListener=function(e,d){if('function'!==typeof d)throw new Error('removeListener only takes instances of Function');if(!(this._events&&this._events[e]))return this;var a=this._events[e];if(b(a)){var f=-1;for(var c=0,g=a.length;cb&&!h||!d||f&&!i&&e||g&&e)return 1;if(a-1);return a}function aH(b,c){var a=b.length;while(a--&&c.indexOf(b.charAt(a))>-1);return a}function aN(a,b){return a3(a.criteria,b.criteria)||a.index-b.index}function aM(f,j,e){var a=-1,c=f.criteria,g=j.criteria,h=c.length,i=e.length;while(++a=i)return b;var d=e[a];return b*(d==='asc'||d===!0?1:-1)}}return f.index-j.index}function aO(a){return aI[a]}function aP(a){return aJ[a]}function aQ(a,b,c){return b?a=aL[a]:c&&(a=W[a]),'\\'+a}function aR(a){return'\\'+W[a]}function ar(c,f,d){var e=c.length,a=f+(d?0:-1);while(d?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)}function B(b,f){var a=-1,d=b.length,e=-1,c=[];while(++a=C?cu(b):null,k=b.length;i&&(d=bL,e=!1,b=i);a:while(++fd?0:d+a),b=b===c||b>d?d:+b||0,b<0&&(b+=d),d=a>b?0:b>>>0,a>>>=0;while(ab?0:b+a),d=d===c||d>b?b:+d||0,d<0&&(d+=b),b=a>d?0:d-a>>>0,a>>>=0;var f=W(b);while(++e=C,a=i?cu():null,d=[];a?(h=bL,f=!1):(i=!1,a=c?[]:d);a:while(++g>>1,f=d[e];(g?f<=a:f2?e[b-2]:c,i=b>2?e[2]:c,f=b>1?e[b-1]:c;typeof d=='function'?(d=aV(d,f,5),b-=2):(d=typeof f=='function'?f:c,b-=d?1:0),i&&o(e[0],e[1],i)&&(d=b<3?c:d,b=1);while(++h-1?e[g]:c}return d7(e,f,a)}}function en(a){return function(b,c,d){return b&&b.length?(c=U(c,d,3),ac(b,c,a)):-1}}function et(a){return function(c,b,d){return b=U(b,d,3),d7(c,b,a,!0)}}function eA(a){return function(){var d,f=arguments.length,i=a?f:-1,n=0,j=W(f);while(a?i--:++i=C)return d.plant(a).value();var e=0,g=f?j[e].apply(this,c):a;while(++e=a||!bb(a))return'';var d=a-c;return b=b==null?' ':b+'',cU(b,bw(d/b.length)).slice(0,d)}function g1(a,f,g,b){function c(){var k=-1,i=arguments.length,f=-1,j=b.length,h=W(j+i);while(++fg))return!1;while(++d-1&&a%1==0&&a-1&&a%1==0&&a<=cl}function dh(a){return a===a&&!Z(a)}function fJ(a,b){var f=a[1],e=b[1],g=f|e,h=g-1)c8.call(a,c,1)}return a}function gB(a,d,h){var c=[];if(!(a&&a.length))return c;var b=-1,e=[],g=a.length;d=U(d,h,3);while(++b-1:!!d&&bh(a,e,c)>-1}function c4(c,a,e){var d=b(c)?bj:cA;return a=U(a,e,3),d(c,a)}function ff(a,b){return c4(a,bF(b))}function fg(c,a,e){var d=b(c)?cq:d5;return a=U(a,e,3),d(c,function(b,c,d){return!a(b,c,d)})}function bK(e,b,h){if(h?o(e,b,h):b==null){e=cv(e);var d=e.length;return d>0?e[cd(0,d-1)]:c}var f=-1,a=cN(e),d=a.length,i=d-1;b=aB(b<0?0:+b||0,d);while(++f0&&(d=b.apply(this,arguments)),a<=1&&(b=c),d}}function dW(o,d,e){function u(){a&&bi(a),b&&bi(b),i=0,b=a=p=c}function s(e,d){d&&bi(d),b=a=p=c,e&&(i=bm(),n=o.apply(j,k),a||b||(k=j=c))}function r(){var c=d-(bm()-m);c<=0||c>d?s(p,b):a=bx(r,c)}function t(){s(f,a)}function q(){if(k=arguments,m=bm(),j=this,p=f&&(a||!l),g===!1)var q=l&&!a;else{b||l||(i=m);var h=g-(m-i),e=h<=0||h>g;e?(b&&(b=bi(b)),i=m,n=o.apply(j,k)):b||(b=bx(t,h))}return e&&a?a=bi(a):!a&&d!==g&&(a=bx(r,d)),q&&(e=!0,n=o.apply(j,k)),e&&!a&&!b&&(k=j=c),n}var k,b,n,m,j,a,p,i=0,g=!1,f=!0;if(typeof o!='function')throw new aL(h);if(d=d<0?0:+d||0,e===!0){var l=!0;f=!1}else Z(e)&&(l=!!e.leading,g='maxWait'in e&&ai(+e.maxWait||0,d),f='trailing'in e?!!e.trailing:f);return q.cancel=u,q}function c7(c,b){if(typeof c!='function'||b&&typeof b!='function')throw new aL(h);var a=function(){var d=arguments,e=b?b.apply(this,d):d[0],f=a.cache;if(f.has(e))return f.get(e);var g=c.apply(this,d);return a.cache=f.set(e,g),g};return a.cache=new c7.Cache,a}function ft(a){if(typeof a!='function')throw new aL(h);return function(){return!a.apply(this,arguments)}}function fu(a){return dV(2,a)}function H(b,a){if(typeof b!='function')throw new aL(h);return a=ai(a===c?b.length-1:+a||0,0),function(){var d=arguments,c=-1,g=ai(d.length-a,0),e=W(g);while(++cb}function fC(a,b){return a>=b}function b1(a){return g(a)&&an(a)&&a2.call(a,'callee')&&!dp.call(a,'callee')}function fF(a){return a===!0||a===!1||g(a)&&aJ.call(a)==s}function fG(a){return g(a)&&aJ.call(a)==q}function fH(a){return!!a&&a.nodeType===1&&g(a)&&!bX(a)}function fI(a){return a==null?!0:an(a)&&(b(a)||cm(a)||b1(a)||g(a)&&bc(a.splice))?!a.length:!aw(a).length}function ek(d,e,a,f){a=typeof a=='function'?aV(a,f,3):c;var b=a?a(d,e):c;return b===c?bS(d,e,a):!!b}function bB(a){return g(a)&&typeof a.message=='string'&&aJ.call(a)==E}function fL(a){return typeof a=='number'&&bb(a)}function bc(a){return Z(a)&&aJ.call(a)==F}function Z(b){var a=typeof b;return!!b&&(a=='object'||a=='function')}function fO(b,d,a,e){return a=typeof a=='function'?aV(a,e,3):c,dT(b,d6(d),a)}function fP(a){return ez(a)&&a!=+a}function ey(a){return a==null?!1:bc(a)?dj.test(c2.call(a)):g(a)&&ay.test(a)}function fR(a){return a===null}function ez(a){return typeof a=='number'||g(a)&&aJ.call(a)==p}function bX(a){var b;if(!(g(a)&&aJ.call(a)==i&&!b1(a))||!a2.call(a,'constructor')&&(b=a.constructor,typeof b=='function'&&!(b instanceof b)))return!1;var d;return db(a,function(b,a){d=a}),d===c||a2.call(a,d)}function eJ(a){return Z(a)&&aJ.call(a)==x}function cm(a){return typeof a=='string'||g(a)&&aJ.call(a)==r}function bg(a){return g(a)&&a$(a.length)&&!!e[aJ.call(a)]}function fX(a){return a===c}function cM(a,b){return a0;while(++e=aB(a,b)&&d=0&&b.indexOf(d,a)==a}function gh(a){return a=f(a),a&&ak.test(a)?a.replace(X,aP):a}function gi(a){return a=f(a),a&&as.test(a)?a.replace(T,aQ):a||'(?:)'}function gj(a,b,c){a=f(a),b=+b;var d=a.length;if(d>=b||!bb(b))return a;var e=(b-d)/2,g=b6(e),h=bw(e);return c=c_('',h,c),c.slice(0,g)+a+c}function gk(b,a,c){return(c?o(b,a,c):a==null)?a=0:a&&(a=+a),b=cV(b),dE(b,a||(ax.test(b)?16:10))}function cU(b,a){var c='';if(b=f(b),a=+a,a<1||!b||!bb(a))return c;do a%2&&(c+=b),a=b6(a/2),b+=b;while(a);return c}function gm(b,c,a){return b=f(b),a=a==null?0:aB(a<0?0:+a||0,b.length),b.lastIndexOf(c,a)==a}function gn(e,d,h){var l=a.templateSettings;h&&o(e,d,h)&&(d=h=c),e=f(e),d=cC(bo({},h||d),l,da);var j=cC(bo({},d.imports),l.imports,da),k=aw(j),t=ch(j,k),q,m,n=0,p=d.interpolate||G,b='__p += \'',r=bJ((d.escape||G).source+'|'+p.source+'|'+(p===V?a5:G).source+'|'+(d.evaluate||G).source+'|$','g'),s='//# sourceURL='+('sourceURL'in d?d.sourceURL:'lodash.templateSources['+ ++aF+']')+'\n';e.replace(r,function(c,d,a,h,f,g){return a||(a=h),b+=e.slice(n,g).replace(aC,aR),d&&(q=!0,b+='\' +\n__e('+d+') +\n\''),f&&(m=!0,b+='\';\n'+f+';\n__p += \''),a&&(b+='\' +\n((__t = ('+a+')) == null ? \'\' : __t) +\n\''),n=g+c.length,c}),b+='\';\n';var i=d.variable;i||(b='with (obj) {\n'+b+'\n}\n'),b=(m?b.replace(ae,''):b).replace(af,'$1').replace(ag,'$1;'),b='function('+(i||'obj')+') {\n'+(i?'':'obj || (obj = {});\n')+'var __t, __p = \'\''+(q?', __e = _.escape':'')+(m?', __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, \'\') }\n':';\n')+b+'return __p\n}';var g=co(function(){return cH(k,s+'return '+b).apply(c,t)});if(g.source=b,bB(g))throw g;return g}function cV(a,b,c){var d=a;return a=f(a),a?(c?o(d,b,c):b==null)?a.slice(ah(a),ad(a)+1):(b+='',a.slice(aG(a,b),aH(a,b)+1)):a}function gp(a,b,c){var d=a;return a=f(a),a?(c?o(d,b,c):b==null)?a.slice(ah(a)):a.slice(aG(a,b+'')):a}function gq(a,b,c){var d=a;return a=f(a),a?(c?o(d,b,c):b==null)?a.slice(0,ad(a)+1):a.slice(0,aH(a,b+'')+1):a}function gr(d,b,m){m&&o(d,b,m)&&(b=c);var i=a9,h=a8;if(b!=null)if(Z(b)){var a='separator'in b?b.separator:a;i='length'in b?+b.length||0:i,h='omission'in b?f(b.omission):h}else i=+b||0;if(d=f(d),i>=d.length)return d;var e=i-h.length;if(e<1)return h;var g=d.slice(0,e);if(a==null)return g+h;if(eJ(a)){if(d.slice(e).search(a)){var l,j,n=d.slice(0,e);a.global||(a=bJ(a.source,(a4.exec(a)||'')+'g')),a.lastIndex=0;while(l=a.exec(n))j=l.index;g=g.slice(0,j==null?e:j)}}else if(d.indexOf(a,e)!=e){var k=g.lastIndexOf(a);k>-1&&(g=g.slice(0,k))}return g+h}function gs(a){return a=f(a),a&&aj.test(a)?a.replace(_,aU):a}function cW(a,b,d){return d&&o(a,b,d)&&(b=c),a=f(a),a.match(b||aD)||[]}function bD(a,b,d){return d&&o(a,b,d)&&(b=c),g(a)?cZ(a):bC(a,b)}function gv(a){return function(){return a}}function b9(a){return a}function cZ(a){return bq(be(a,!0))}function gy(a,b){return d0(a,be(b,!0))}function cx(a,d,e){if(e==null){var k=Z(d),f=k?aw(d):c,b=f&&f.length?ck(d,f):c;(b?b.length:k)||(b=!1,e=d,d=a,a=this)}b||(b=ck(d,aw(d)));var g=!0,j=-1,m=bc(a),l=b.length;e===!1?g=!1:Z(e)&&'chain'in e&&(g=e.chain);while(++j>>1,cl=9007199254740991,bt=ca&&new ca,bu={},fD=a.support={};a.templateSettings={escape:al,evaluate:am,interpolate:V,variable:'',imports:{_:a}};var bk=function(){function a(){}return function(b){if(Z(b)){a.prototype=b;var d=new a;a.prototype=c}return d||{}}}(),aX=dQ(b0),bM=dQ(ce,!0),bN=dR(),cs=dR(!0),ct=bt?function(a,b){return bt.set(a,b),a}:b9,bO=bt?function(a){return bt.get(a)}:c$,bl=cb('length'),cw=function(a,b){return a=0,b=0,function(d,f){var c=bm(),e=av-(c-b);if(b=c,e>0){if(++a>=a7)return d}else a=0;return ct(d,f)}}(),dX=H(function(a,b){return g(a)&&an(a)?bv(a,aK(b,!1,!0)):[]}),dY=en(),dZ=en(!0),d_=H(function(d){var i=d.length,b=i,f=W(l),g=bh(),m=g==t,e=[];while(b--){var a=d[b]=an(a=d[b])?a:[];f[b]=m&&a.length>=120?cu(b&&a):null}var h=d[0],k=-1,l=h?h.length:0,c=f[0];a:while(++k2?b[a-2]:c,d=a>1?b[a-1]:c;return a>2&&typeof e=='function'?a-=2:(e=a>1&&typeof d=='function'?(--a,d):c,d=c),b.length=a,dL(b,e,d)}),e6=H(function(a){return a=aK(a),this.thru(function(c){return fU(b(c)?c:[aZ(c)],a)})}),e7=H(function(a,b){return du(a,aK(b))}),e8=bH(function(a,c,b){a2.call(a,b)?++a[b]:a[b]=1}),bQ=el(aX),ea=el(bM,!0),cy=eU(aY,aX),cz=eU(gf,bM),ed=bH(function(a,c,b){a2.call(a,b)?a[b].push(c):a[b]=[c]}),ee=bH(function(a,b,c){a[c]=b}),ef=H(function(b,a,e){var f=-1,g=typeof a=='function',h=bd(a),d=an(b)?W(b.length):[];return aX(b,function(b){var i=g?a:h&&b!=null?b[a]:c;d[++f]=i?i.apply(b,e):cj(b,a,e)}),d}),eg=bH(function(a,b,c){a[c?0:1].push(b)},function(){return[[],[]]}),bR=cX(e9,aX),cB=cX(fK,bM),ej=H(function(c,a){if(c==null)return[];var b=a[2];return b&&o(a[0],a[1],b)&&(a.length=1),d9(c,aK(a),[])}),bm=dD||function(){return new cF().getTime()},cD=H(function(d,e,a){var b=j;if(a.length){var c=B(a,cD.placeholder);b|=k}return b7(d,b,e,a,c)}),em=H(function(a,b){b=b.length?aK(b):cp(a);var c=-1,e=b.length;while(++c0||d<0)?new y(a):(b<0?a=a.takeRight(-b):b&&(a=a.drop(b)),d!==c&&(d=+d||0,a=d<0?a.dropRight(-d):a.take(d-b)),a)},y.prototype.takeRightWhile=function(a,b){return this.reverse().takeWhile(a,b).reverse()},y.prototype.toArray=function(){return this.take(br)},b0(y.prototype,function(g,e){var h=/^(?:filter|map|reject)|While$/.test(e),d=/^(?:first|last)$/.test(e),f=a[d?e=='last'?'takeRight':'take':e];if(!f)return;a.prototype[e]=function(){var j=d?[1]:arguments,e=this.__chain__,a=this.__wrapped__,q=!!this.__actions__.length,i=a instanceof y,l=j[0],k=i||b(a);k&&h&&typeof l=='function'&&l.length!=1&&(i=k=!1);var o=function(a){return d&&e?f(a,1)[0]:f.apply(c,bn([a],j))},p={func:b$,args:[o],thisArg:c},m=i&&!q;if(d&&!e)return m?(a=a.clone(),a.__actions__.push(p),g.call(a)):f.call(c,this.value())[0];if(!d&&k){a=m?a:new y(this);var n=g.apply(a,j);return n.__actions__.push(p),new a_(n,e)}return this.thru(o)}}),aY(['join','pop','push','replace','shift','sort','splice','split','unshift'],function(b){var c=(/^(?:replace|split)$/.test(b)?dd:c0)[b],d=/^(?:push|sort|unshift)$/.test(b)?'tap':'thru',e=/^(?:join|pop|replace|shift)$/.test(b);a.prototype[b]=function(){var a=arguments;return e&&!this.__chain__?c.apply(this.value(),a):this[d](function(b){return c.apply(b,a)})}}),b0(y.prototype,function(f,d){var b=a[d];if(b){var c=b.name,e=bu[c]||(bu[c]=[]);e.push({name:d,func:b})}}),bu[bY(c,u).name]=[{name:'wrapper',func:c}],y.prototype.clone=fB,y.prototype.reverse=fM,y.prototype.value=fV,a.prototype.chain=f4,a.prototype.commit=f5,a.prototype.concat=e6,a.prototype.plant=f6,a.prototype.reverse=f7,a.prototype.toString=f8,a.prototype.run=a.prototype.toJSON=a.prototype.valueOf=a.prototype.value=f9,a.prototype.collect=a.prototype.map,a.prototype.head=a.prototype.first,a.prototype.select=a.prototype.filter,a.prototype.tail=a.prototype.rest,a}var c,aa='3.10.1',j=1,u=2,Y=4,v=8,$=16,k=32,w=64,m=128,D=256,a9=30,a8='...',a7=150,av=16,C=200,a6=1,a0=2,h='Expected a function',Q='__lodash_placeholder__',A='[object Arguments]',z='[object Array]',s='[object Boolean]',q='[object Date]',E='[object Error]',F='[object Function]',Z='[object Map]',p='[object Number]',i='[object Object]',x='[object RegExp]',a1='[object Set]',r='[object String]',U='[object WeakMap]',S='[object ArrayBuffer]',M='[object Float32Array]',K='[object Float64Array]',J='[object Int8Array]',N='[object Int16Array]',R='[object Int32Array]',I='[object Uint8Array]',L='[object Uint8ClampedArray]',O='[object Uint16Array]',P='[object Uint32Array]',ae=/\b__p \+= '';/g,af=/\b(__p \+=) '' \+/g,ag=/(__e\(.*?\)|\b__t\)) \+\n'';/g,_=/&(?:amp|lt|gt|quot|#39|#96);/g,X=/[&<>"'`]/g,aj=RegExp(_.source),ak=RegExp(X.source),al=/<%-([\s\S]+?)%>/g,am=/<%([\s\S]+?)%>/g,V=/<%=([\s\S]+?)%>/g,ao=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\n\\]|\\.)*?\1)\]/,ap=/^\w*$/,aq=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\n\\]|\\.)*?)\2)\]/g,T=/^[:!,]|[\\^$.*+?()[\]{}|\/]|(^[0-9a-fA-Fnrtuvx])|([\n\r\u2028\u2029])/g,as=RegExp(T.source),at=/[\u0300-\u036f\ufe20-\ufe23]/g,au=/\\(\\)?/g,a5=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,a4=/\w*$/,ax=/^0[xX]/,ay=/^\[object .+?Constructor\]$/,az=/^\d+$/,aA=/[\xc0-\xd6\xd8-\xde\xdf-\xf6\xf8-\xff]/g,G=/($^)/,aC=/['\n\r\u2028\u2029\\]/g,aD=function(a,b){return a='[A-Z\\xc0-\\xd6\\xd8-\\xde]',b='[a-z\\xdf-\\xf6\\xf8-\\xff]+',RegExp(a+'+(?='+a+b+')|'+a+'?'+b+'|'+a+'+|[0-9]+','g')}(),aE=['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'],aF=-1,e={};e[M]=e[K]=e[J]=e[N]=e[R]=e[I]=e[L]=e[O]=e[P]=!0,e[A]=e[z]=e[S]=e[s]=e[q]=e[E]=e[F]=e[Z]=e[p]=e[i]=e[x]=e[a1]=e[r]=e[U]=!1;var d={};d[A]=d[z]=d[S]=d[s]=d[q]=d[M]=d[K]=d[J]=d[N]=d[R]=d[p]=d[i]=d[x]=d[r]=d[I]=d[L]=d[O]=d[P]=!0,d[E]=d[F]=d[Z]=d[a1]=d[U]=!1;var aI={À:'A',Á:'A',Â:'A',Ã:'A',Ä:'A',Å:'A',à:'a',á:'a',â:'a',ã:'a',ä:'a',å:'a',Ç:'C',ç:'c',Ð:'D',ð:'d',È:'E',É:'E',Ê:'E',Ë:'E',è:'e',é:'e',ê:'e',ë:'e',Ì:'I',Í:'I',Î:'I',Ï:'I',ì:'i',í:'i',î:'i',ï:'i',Ñ:'N',ñ:'n',Ò:'O',Ó:'O',Ô:'O',Õ:'O',Ö:'O',Ø:'O',ò:'o',ó:'o',ô:'o',õ:'o',ö:'o',ø:'o',Ù:'U',Ú:'U',Û:'U',Ü:'U',ù:'u',ú:'u',û:'u',ü:'u',Ý:'Y',ý:'y',ÿ:'y',Æ:'Ae',æ:'ae',Þ:'Th',þ:'th',ß:'ss'},aJ={'&':'&','<':'<','>':'>','"':'"','\'':''','`':'`'},aK={'&':'&','<':'<','>':'>','"':'"',''':'\'','`':'`'},H={'function':!0,object:!0},aL={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'},W={'\\':'\\','\'':'\'','\n':'n','\r':'r','\u2028':'u2028','\u2029':'u2029'},o=H[typeof b]&&b&&!b.nodeType&&b,y=H[typeof a]&&a&&!a.nodeType&&a,aB=o&&y&&typeof global=='object'&&global&&global.Object&&global,aw=H[typeof self]&&self&&self.Object&&self,a2=H[typeof window]&&window&&window.Object&&window,ai=y&&y.exports===o&&o,l=aB||a2!==(this&&this.window)&&a2||aw||this,n=ab();typeof define=='function'&&typeof define.amd=='object'&&define.amd?(l._=n,define(function(){return n})):o&&y?ai?(y.exports=n)._=n:o._=n:l._=n}.call(this),a.exports}) Cube('datav:/npm/jquery/2.1.4',[],function(a,b,c,d,e,f){return function(b,c){typeof a==='object'&&typeof a.exports==='object'?a.exports=b.document?c(b,!0):function(a){if(!a.document)throw new Error('jQuery requires a window with a document');return c(a)}:c(b)}(typeof window!=='undefined'?window:this,function(d,br){function $(b){var c='length'in b&&b.length,d=a.type(b);return d==='function'||a.isWindow(b)?!1:b.nodeType===1&&c?!0:d==='array'||c===0||typeof c==='number'&&c>0&&c-1 in b}function al(c,b,d){if(a.isFunction(b))return a.grep(c,function(a,c){return!!b.call(a,c,a)!==d});if(b.nodeType)return a.grep(c,function(a){return a===b!==d});if(typeof b==='string'){if(aS.test(b))return a.filter(b,c,d);b=a.filter(b,c)}return a.grep(c,function(a){return z.call(b,a)>=0!==d})}function ao(a,b){while((a=a[b])&&a.nodeType!==1);return a}function bq(c){var b=a2[c]={};return a.each(c.match(j)||[],function(c,a){b[a]=!0}),b}function I(){c.removeEventListener('DOMContentLoaded',I,!1),d.removeEventListener('load',I,!1),a.ready()}function n(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=a.expando+n.uid++}function aD(c,d,b){var e;if(b===undefined&&c.nodeType===1)if(e='data-'+d.replace(bd,'-$1').toLowerCase(),b=c.getAttribute(e),typeof b==='string'){try{b=b==='true'?!0:b==='false'?!1:b==='null'?null:+b+''===b?+b:bc.test(b)?a.parseJSON(b):b}catch(a){}f.set(c,d,b)}else b=undefined;return b}function Q(){return!0}function r(){return!1}function b9(){try{return c.activeElement}catch(a){}}function an(b,c){return a.nodeName(b,'table')&&a.nodeName(c.nodeType!==11?c:c.firstChild,'tr')?b.getElementsByTagName('tbody')[0]||b.appendChild(b.ownerDocument.createElement('tbody')):b}function bp(a){return a.type=(a.getAttribute('type')!==null)+'/'+a.type,a}function bo(a){var b=aB.exec(a.type);return b?a.type=b[1]:a.removeAttribute('type'),a}function ae(c,d){var a=0,e=c.length;for(;a')).appendTo(d.documentElement),d=M[0].contentDocument,d.write(),d.close(),b=bb(e,d),M.detach()),a0[e]=b),b}function D(e,f,d){var g,h,i,c,b=e.style;return d=d||y(e),d&&(c=d.getPropertyValue(f)||d[f]),d&&(c===''&&!a.contains(e.ownerDocument,e)&&(c=a.style(e,f)),L.test(c)&&a1.test(f)&&(g=b.width,h=b.minWidth,i=b.maxWidth,b.minWidth=b.maxWidth=b.width=c,c=d.width,b.width=g,b.minWidth=h,b.maxWidth=i)),c!==undefined?c+'':c}function ap(a,b){return{get:function(){if(a()){delete this.get;return}return(this.get=b).apply(this,arguments)}}}function aq(c,a){if(a in c)return a;var d=a[0].toUpperCase()+a.slice(1),e=a,b=a5.length;while(b--)if(a=a5[b]+d,a in c)return a;return e}function at(d,b,c){var a=aK.exec(b);return a?Math.max(0,a[1]-(c||0))+(a[2]||'px'):b}function au(e,h,d,g,f){var b=d===(g?'border':'content')?4:h==='width'?1:0,c=0;for(;b<4;b+=2)d==='margin'&&(c+=a.css(e,d+m[b],!0,f)),g?(d==='content'&&(c-=a.css(e,'padding'+m[b],!0,f)),d!=='margin'&&(c-=a.css(e,'border'+m[b]+'Width',!0,f))):(c+=a.css(e,'padding'+m[b],!0,f),d!=='padding'&&(c+=a.css(e,'border'+m[b]+'Width',!0,f)));return c}function aw(c,d,i){var g=!0,b=d==='width'?c.offsetWidth:c.offsetHeight,f=y(c),h=a.css(c,'boxSizing',!1,f)==='border-box';if(b<=0||b==null){if(b=D(c,d,f),(b<0||b==null)&&(b=c.style[d]),L.test(b))return b;g=h&&(e.boxSizingReliable()||b===c.style[d]),b=parseFloat(b)||0}return b+au(c,d,i||(h?'border':'content'),g,f)+'px'}function aA(f,h){var g,c,i,e=[],d=0,j=f.length;for(;d=0&&a=0},isPlainObject:function(b){return a.type(b)!=='object'||b.nodeType||a.isWindow(b)?!1:b.constructor&&!R.call(b.constructor.prototype,'isPrototypeOf')?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return a==null?a+'':typeof a==='object'||typeof a==='function'?E[av.call(a)]||'object':typeof a},globalEval:function(b){var d,e=eval;b=a.trim(b),b&&(b.indexOf('use strict')===1?(d=c.createElement('script'),d.text=b,c.head.appendChild(d).parentNode.removeChild(d)):e(b))},camelCase:function(a){return a.replace(aH,'ms-').replace(aI,aN)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(b,d,e){var c,a=0,f=b.length,g=$(b);if(e){if(g){for(;aa.cacheLength&&delete b[c.shift()],b[d+' ']=e}var c=[];return b}function j(a){return a[d]=!0,a}function p(b){var a=g.createElement('div');try{return!!b(a)}catch(a){return!1}finally{a.parentNode&&a.parentNode.removeChild(a),a=null}}function X(c,e){var d=c.split('|'),b=c.length;while(b--)a.attrHandle[d[b]]=e}function aa(b,c){var a=c&&b,d=a&&b.nodeType===1&&c.nodeType===1&&(~c.sourceIndex||Y)-(~b.sourceIndex||Y);if(d)return d;if(a)while(a=a.nextSibling)if(a===c)return-1;return b?1:-1}function am(a){return function(b){var c=b.nodeName.toLowerCase();return c==='input'&&b.type===a}}function an(a){return function(c){var b=c.nodeName.toLowerCase();return(b==='input'||b==='button')&&c.type===a}}function u(a){return j(function(b){return b=+b,j(function(c,g){var d,e=a([],c.length,b),f=e.length;while(f--)c[d=e[f]]&&(c[d]=!(g[d]=c[d]))})})}function Z(a){return a&&a.getElementsByTagName!==void 0&&a}function ad(){}function N(c){var a=0,d=c.length,b='';for(;a1?function(c,d,e){var b=a.length;while(b--)if(!a[b](c,d,e))return!1;return!0}:a[0]}function ak(f,b,d){var a=0,e=b.length;for(;a-1&&(l[h]=!(k[h]=i))}}else d=I(d===k?d.splice(r,d.length):d),a?a(null,k,d,m):n.apply(k,d)})}function Q(c){var i,g,e,h=c.length,j=a.relative[c[0].type],k=j||a.relative[' '],b=j?1:0,l=$(function(a){return a===i},k,!0),m=$(function(a){return s(i,a)>-1},k,!0),f=[function(c,a,b){var d=!j&&(b||a!==K)||((i=a).nodeType?l(c,a,b):m(c,a,b));return i=null,d}];for(;b1&&a0(f),b>1&&N(c.slice(0,b-1).concat({value:c[b-2].type===' '?'*':''})).replace(A,'$1'),g,b0,e=h.length>0,f=function(p,r,y,t,q){var j,s,m,l=0,f='0',o=p&&[],i=[],u=K,v=p||e&&a.find.TAG('*',q),w=k+=u==null?1:Math.random()||.1,x=v.length;for(q&&(K=r!==g&&r);f!==x&&(j=v[f])!=null;f++){if(e&&j){s=0;while(m=h[s++])if(m(j,r,y)){t.push(j);break}q&&(k=w)}b&&((j=!m&&j)&&l--,p&&o.push(j))}if(l+=f,b&&f!==l){s=0;while(m=d[s++])m(o,i,r,y);if(p){if(l>0)while(f--)o[f]||i[f]||(i[f]=a7.call(t));i=I(i)}n.apply(t,i),q&&!p&&i.length>0&&l+d.length>1&&c.uniqueSort(t)}return q&&(k=w,K=u),o};return b?j(f):f}d='sizzle'+1*new Date,h=R.document,k=0,ag=0,O=V(),a1=V(),_=V(),G=function(a,b){return a===b&&(x=!0),0},Y=-2147483648,a9={}.hasOwnProperty,q=[],a7=q.pop,P=q.push,n=q.push,H=q.slice,s=function(b,d){var a=0,c=b.length;for(;a+~]|'+b+')'+b+'*'),a5=new RegExp('='+b+'*([^\\]\'"]*?)'+b+'*\\]','g'),a6=new RegExp(F),aj=new RegExp('^'+S+'$'),C={ID:new RegExp('^#('+w+')'),CLASS:new RegExp('^\\.('+w+')'),TAG:new RegExp('^('+w.replace('w','w*')+')'),ATTR:new RegExp('^'+W),PSEUDO:new RegExp('^'+F),CHILD:new RegExp('^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\('+b+'*(even|odd|(([+-]|)(\\d*)n|)'+b+'*(?:([+-]|)'+b+'*(\\d+)|))'+b+'*\\)|)','i'),bool:new RegExp('^(?:'+L+')$','i'),needsContext:new RegExp('^'+b+'*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\('+b+'*((?:-\\d)?\\d*)'+b+'*\\)|)(?=[^-]|$)','i')},ab=/^(?:input|select|textarea|button)$/i,ac=/^h\d$/i,z=/^[^{]+\{\s*\[native \w/,af=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,J=/[+~]/,ah=/'|\\/g,m=new RegExp('\\\\([\\da-f]{1,6}'+b+'?|('+b+')|.)','ig'),o=function(d,b,c){var a='0x'+b-65536;return a!==a||c?b:a<0?String.fromCharCode(a+65536):String.fromCharCode(a>>10|55296,a&1023|56320)},T=function(){t()};try{n.apply(q=H.call(h.childNodes),h.childNodes),q[h.childNodes.length].nodeType}catch(a){n={apply:q.length?function(a,b){P.apply(a,H.call(b))}:function(a,d){var b=a.length,c=0;while(a[b++]=d[c++]);a.length=b-1}}}e=c.support={},a8=c.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?b.nodeName!=='HTML':!1},t=c.setDocument=function(k){var n,j,c=k?k.ownerDocument||k:h;return c===g||c.nodeType!==9||!c.documentElement?g:(g=c,i=c.documentElement,j=c.defaultView,j&&j!==j.top&&(j.addEventListener?j.addEventListener('unload',T,!1):j.attachEvent&&j.attachEvent('onunload',T)),l=!a8(c),e.attributes=p(function(a){return a.className='i',!a.getAttribute('className')}),e.getElementsByTagName=p(function(a){return a.appendChild(c.createComment('')),!a.getElementsByTagName('*').length}),e.getElementsByClassName=z.test(c.getElementsByClassName),e.getById=p(function(a){return i.appendChild(a).id=d,!c.getElementsByName||!c.getElementsByName(d).length}),e.getById?(a.find.ID=function(c,b){if(b.getElementById!==void 0&&l){var a=b.getElementById(c);return a&&a.parentNode?[a]:[]}},a.filter.ID=function(b){var a=b.replace(m,o);return function(b){return b.getAttribute('id')===a}}):(delete a.find.ID,a.filter.ID=function(b){var a=b.replace(m,o);return function(c){var b=c.getAttributeNode!==void 0&&c.getAttributeNode('id');return b&&b.value===a}}),a.find.TAG=e.getElementsByTagName?function(b,a){return a.getElementsByTagName!==void 0?a.getElementsByTagName(b):e.qsa?a.querySelectorAll(b):void 0}:function(d,f){var a,b=[],e=0,c=f.getElementsByTagName(d);if(d==='*'){while(a=c[e++])a.nodeType===1&&b.push(a);return b}return c},a.find.CLASS=e.getElementsByClassName&&function(a,b){return l?b.getElementsByClassName(a):void 0},v=[],f=[],(e.qsa=z.test(c.querySelectorAll))&&(p(function(a){i.appendChild(a).innerHTML=''+'',a.querySelectorAll('[msallowcapture^=\'\']').length&&f.push('[*^$]='+b+'*(?:\'\'|"")'),a.querySelectorAll('[selected]').length||f.push('\\['+b+'*(?:value|'+L+')'),a.querySelectorAll('[id~='+d+'-]').length||f.push('~='),a.querySelectorAll(':checked').length||f.push(':checked'),a.querySelectorAll('a#'+d+'+*').length||f.push('.#.+[+~]')}),p(function(a){var d=c.createElement('input');d.setAttribute('type','hidden'),a.appendChild(d).setAttribute('name','D'),a.querySelectorAll('[name=d]').length&&f.push('name'+b+'*[*^$|!~]?='),a.querySelectorAll(':enabled').length||f.push(':enabled',':disabled'),a.querySelectorAll('*,:x'),f.push(',.*:')})),(e.matchesSelector=z.test(E=i.matches||i.webkitMatchesSelector||i.mozMatchesSelector||i.oMatchesSelector||i.msMatchesSelector))&&p(function(a){e.disconnectedMatch=E.call(a,'div'),E.call(a,'[s!=\'\']:x'),v.push('!=',F)}),f=f.length&&new RegExp(f.join('|')),v=v.length&&new RegExp(v.join('|')),n=z.test(i.compareDocumentPosition),B=n||z.test(i.contains)?function(a,d){var c=a.nodeType===9?a.documentElement:a,b=d&&d.parentNode;return a===b||!!(b&&b.nodeType===1&&(c.contains?c.contains(b):a.compareDocumentPosition&&a.compareDocumentPosition(b)&16))}:function(b,a){if(a)while(a=a.parentNode)if(a===b)return!0;return!1},G=n?function(a,b){if(a===b)return x=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,d&1||!e.sortDetached&&b.compareDocumentPosition(a)===d?a===c||a.ownerDocument===h&&B(h,a)?-1:b===c||b.ownerDocument===h&&B(h,b)?1:r?s(r,a)-s(r,b):0:d&4?-1:1)}:function(d,e){if(d===e)return x=!0,0;var b,a=0,i=d.parentNode,j=e.parentNode,f=[d],g=[e];if(!(i&&j))return d===c?-1:e===c?1:i?-1:j?1:r?s(r,d)-s(r,e):0;if(i===j)return aa(d,e);b=d;while(b=b.parentNode)f.unshift(b);b=e;while(b=b.parentNode)g.unshift(b);while(f[a]===g[a])a++;return a?aa(f[a],g[a]):f[a]===h?-1:g[a]===h?1:0},c)},c.matches=function(a,b){return c(a,null,null,b)},c.matchesSelector=function(a,b){if((a.ownerDocument||a)!==g&&t(a),b=b.replace(a5,'=\'$1\']'),e.matchesSelector&&l&&!(v&&v.test(b))&&!(f&&f.test(b)))try{var d=E.call(a,b);if(d||e.disconnectedMatch||a.document&&a.document.nodeType!==11)return d}catch(a){}return c(b,g,null,[a]).length>0},c.contains=function(a,b){return(a.ownerDocument||a)!==g&&t(a),B(a,b)},c.attr=function(b,d){(b.ownerDocument||b)!==g&&t(b);var f=a.attrHandle[d.toLowerCase()],c=f&&a9.call(a.attrHandle,d.toLowerCase())?f(b,d,!l):undefined;return c!==undefined?c:e.attributes||!l?b.getAttribute(d):(c=b.getAttributeNode(d))&&c.specified?c.value:null},c.error=function(a){throw new Error('Syntax error, unrecognized expression: '+a)},c.uniqueSort=function(a){var f,d=[],b=0,c=0;if(x=!e.detectDuplicates,r=!e.sortStable&&a.slice(0),a.sort(G),x){while(f=a[c++])f===a[c]&&(b=d.push(c));while(b--)a.splice(d[b],1)}return r=null,a},M=c.getText=function(a){var d,c='',e=0,b=a.nodeType;if(!b)while(d=a[e++])c+=M(d);else if(b===1||b===9||b===11)if(typeof a.textContent==='string')return a.textContent;else for(a=a.firstChild;a;a=a.nextSibling)c+=M(a);else if(b===3||b===4)return a.nodeValue;return c},a=c.selectors={cacheLength:50,createPseudo:j,match:C,attrHandle:{},find:{},relative:{'>':{dir:'parentNode',first:!0},' ':{dir:'parentNode'},'+':{dir:'previousSibling',first:!0},'~':{dir:'previousSibling'}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(m,o),a[3]=(a[3]||a[4]||a[5]||'').replace(m,o),a[2]==='~='&&(a[3]=' '+a[3]+' '),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1].slice(0,3)==='nth'?(a[3]||c.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*(a[3]==='even'||a[3]==='odd')),a[5]=+(a[7]+a[8]||a[3]==='odd')):a[3]&&c.error(a[0]),a},PSEUDO:function(a){var c,b=!a[6]&&a[2];return C.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||'':b&&a6.test(b)&&(c=D(b,!0))&&(c=b.indexOf(')',b.length-c)-b.length)&&(a[0]=a[0].slice(0,c),a[2]=b.slice(0,c)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(m,o).toLowerCase();return a==='*'?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(c){var a=O[c+' '];return a||(a=new RegExp('(^|'+b+')'+c+'('+b+'|$)'),O(c,function(b){return a.test(typeof b.className==='string'&&b.className||b.getAttribute!==void 0&&b.getAttribute('class')||'')}))},ATTR:function(d,b,a){return function(f){var e=c.attr(f,d);return e==null?b==='!=':b?(e+='',b==='='?e===a:b==='!='?e!==a:b==='^='?a&&e.indexOf(a)===0:b==='*='?a&&e.indexOf(a)>-1:b==='$='?a&&e.slice(-a.length)===a:b==='~='?(' '+e.replace(ae,' ')+' ').indexOf(a)>-1:b==='|='?e===a||e.slice(0,a.length+1)===a+'-':!1):!0}},CHILD:function(a,h,i,c,g){var f=a.slice(0,3)!=='nth',e=a.slice(-4)!=='last',b=h==='of-type';return c===1&&g===0?function(a){return!!a.parentNode}:function(n,u,t){var j,r,h,i,l,p,o=f!==e?'nextSibling':'previousSibling',m=n.parentNode,s=b&&n.nodeName.toLowerCase(),q=!t&&!b;if(m){if(f){while(o){h=n;while(h=h[o])if(b?h.nodeName.toLowerCase()===s:h.nodeType===1)return!1;p=o=a==='only'&&!p&&'nextSibling'}return!0}if(p=[e?m.firstChild:m.lastChild],e&&q){r=m[d]||(m[d]={}),j=r[a]||[],l=j[0]===k&&j[1],i=j[0]===k&&j[2],h=l&&m.childNodes[l];while(h=++l&&h&&h[o]||(i=l=0)||p.pop())if(h.nodeType===1&&++i&&h===n){r[a]=[k,l,i];break}}else if(q&&(j=(n[d]||(n[d]={}))[a])&&j[0]===k)i=j[1];else while(h=++l&&h&&h[o]||(i=l=0)||p.pop())if((b?h.nodeName.toLowerCase()===s:h.nodeType===1)&&++i&&(q&&((h[d]||(h[d]={}))[a]=[k,i]),h===n))break;return i-=g,i===c||i%c===0&&i/c>=0}}},PSEUDO:function(e,f){var g,b=a.pseudos[e]||a.setFilters[e.toLowerCase()]||c.error('unsupported pseudo: '+e);return b[d]?b(f):b.length>1?(g=[e,e,'',f],a.setFilters.hasOwnProperty(e.toLowerCase())?j(function(d,g){var e,a=b(d,f),c=a.length;while(c--)e=s(d,a[c]),d[e]=!(g[e]=a[c])}):function(a){return b(a,0,g)}):b}},pseudos:{not:j(function(e){var a=[],c=[],b=U(e.replace(A,'$1'));return b[d]?j(function(c,f,h,g){var d,e=b(c,null,g,[]),a=c.length;while(a--)(d=e[a])&&(c[a]=!(f[a]=d))}):function(d,f,e){return a[0]=d,b(a,null,e,c),a[0]=null,!c.pop()}}),has:j(function(a){return function(b){return c(a,b).length>0}}),contains:j(function(a){return a=a.replace(m,o),function(b){return(b.textContent||b.innerText||M(b)).indexOf(a)>-1}}),lang:j(function(a){return aj.test(a||'')||c.error('unsupported lang: '+a),a=a.replace(m,o).toLowerCase(),function(b){var c;do if(c=l?b.lang:b.getAttribute('xml:lang')||b.getAttribute('lang'))return c=c.toLowerCase(),c===a||c.indexOf(a+'-')===0;while((b=b.parentNode)&&b.nodeType===1);return!1}}),target:function(b){var a=R.location&&R.location.hash;return a&&a.slice(1)===b.id},root:function(a){return a===i},focus:function(a){return a===g.activeElement&&(!g.hasFocus||g.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==='input'&&!!a.checked||b==='option'&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(b){return!a.pseudos.empty(b)},header:function(a){return ac.test(a.nodeName)},input:function(a){return ab.test(a.nodeName)},button:function(b){var a=b.nodeName.toLowerCase();return a==='input'&&b.type==='button'||a==='button'},text:function(a){var b;return a.nodeName.toLowerCase()==='input'&&a.type==='text'&&((b=a.getAttribute('type'))==null||b.toLowerCase()==='text')},first:u(function(){return[0]}),last:u(function(b,a){return[a-1]}),eq:u(function(c,b,a){return[a<0?a+b:a]}),even:u(function(b,c){var a=0;for(;a=0;)c.push(b);return c}),gt:u(function(c,d,a){var b=a<0?a+d:a;for(;++b2&&(h=d[0]).type==='ID'&&e.getById&&b.nodeType===9&&l&&a.relative[d[1].type]){if(b=(a.find.ID(h.matches[0].replace(m,o),b)||[])[0],!b)return f;k&&(b=b.parentNode),c=c.slice(d.shift().value.length)}j=C.needsContext.test(c)?0:d.length;while(j--){if(h=d[j],a.relative[p=h.type])break;if((q=a.find[p])&&(g=q(h.matches[0].replace(m,o),J.test(d[0].type)&&Z(b.parentNode)||b))){if(d.splice(j,1),c=g.length&&N(d),!c)return n.apply(f,g),f;break}}}return(k||U(c,i))(g,b,!l,f,J.test(c)&&Z(b.parentNode)||b),f},e.sortStable=d.split('').sort(G).join('')===d,e.detectDuplicates=!!x,t(),e.sortDetached=p(function(a){return a.compareDocumentPosition(g.createElement('div'))&1}),p(function(a){return a.innerHTML='',a.firstChild.getAttribute('href')==='#'})||X('type|href|height|width',function(b,a,c){return c?void 0:b.getAttribute(a,a.toLowerCase()==='type'?1:2)}),e.attributes&&p(function(a){return a.innerHTML='',a.firstChild.setAttribute('value',''),a.firstChild.getAttribute('value')===''})||X('value',function(a,c,b){return!b&&a.nodeName.toLowerCase()==='input'?a.defaultValue:void 0}),p(function(a){return a.getAttribute('disabled')==null})||X(L,function(c,a,d){var b;return d?void 0:c[a]===!0?a.toLowerCase():(b=c.getAttributeNode(a))&&b.specified?b.value:null}),c}(d);a.find=p,a.expr=p.selectors,a.expr[':']=a.expr.pseudos,a.unique=p.uniqueSort,a.text=p.getText,a.isXMLDoc=p.isXML,a.contains=p.contains;var a6=a.expr.match.needsContext,a3=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,aS=/^.[^:#\[\.,]*$/;a.filter=function(b,d,e){var c=d[0];return e&&(b=':not('+b+')'),d.length===1&&c.nodeType===1?a.find.matchesSelector(c,b)?[c]:[]:a.find.matches(b,a.grep(d,function(a){return a.nodeType===1}))},a.fn.extend({find:function(d){var b,e=this.length,c=[],f=this;if(typeof d!=='string')return this.pushStack(a(d).filter(function(){for(b=0;b1?a.unique(c):c),c.selector=this.selector?this.selector+' '+d:d,c},filter:function(a){return this.pushStack(al(this,a||[],!1))},not:function(a){return this.pushStack(al(this,a||[],!0))},is:function(b){return!!al(this,typeof b==='string'&&a6.test(b)?a(b):b||[],!1).length}});var J,aV=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,aY=a.fn.init=function(b,d){var e,f;if(!b)return this;if(typeof b==='string')if(b[0]==='<'&&b[b.length-1]==='>'&&b.length>=3?e=[null,b,null]:e=aV.exec(b),e&&(e[1]||!d))if(e[1]){if(d=d instanceof a?d[0]:d,a.merge(this,a.parseHTML(e[1],d&&d.nodeType?d.ownerDocument||d:c,!0)),a3.test(e[1])&&a.isPlainObject(d))for(e in d)a.isFunction(this[e])?this[e](d[e]):this.attr(e,d[e]);return this}else return f=c.getElementById(e[2]),f&&f.parentNode&&(this.length=1,this[0]=f),this.context=c,this.selector=b,this;else return!d||d.jquery?(d||J).find(b):this.constructor(d).find(b);return b.nodeType?(this.context=this[0]=b,this.length=1,this):a.isFunction(b)?J.ready!==void 0?J.ready(b):b(a):(b.selector!==undefined&&(this.selector=b.selector,this.context=b.context),a.makeArray(b,this))};aY.prototype=a.fn,J=a(c);var a_=/^(?:parents|prev(?:Until|All))/,b0={children:!0,contents:!0,next:!0,prev:!0};a.extend({dir:function(b,f,d){var c=[],e=d!==undefined;while((b=b[f])&&b.nodeType!==9)if(b.nodeType===1){if(e&&a(b).is(d))break;c.push(b)}return c},sibling:function(a,c){var b=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==c&&b.push(a);return b}}),a.fn.extend({has:function(d){var b=a(d,this),c=b.length;return this.filter(function(){var d=0;for(;d-1:b.nodeType===1&&a.find.matchesSelector(b,d))){c.push(b);break}return this.pushStack(c.length>1?a.unique(c):c)},index:function(b){return b?typeof b==='string'?z.call(a(b),this[0]):z.call(this,b.jquery?b[0]:b):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(b,c){return this.pushStack(a.unique(a.merge(this.get(),a(b,c))))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),a.each({parent:function(b){var a=b.parentNode;return a&&a.nodeType!==11?a:null},parents:function(b){return a.dir(b,'parentNode')},parentsUntil:function(b,d,c){return a.dir(b,'parentNode',c)},next:function(a){return ao(a,'nextSibling')},prev:function(a){return ao(a,'previousSibling')},nextAll:function(b){return a.dir(b,'nextSibling')},prevAll:function(b){return a.dir(b,'previousSibling')},nextUntil:function(b,d,c){return a.dir(b,'nextSibling',c)},prevUntil:function(b,d,c){return a.dir(b,'previousSibling',c)},siblings:function(b){return a.sibling((b.parentNode||{}).firstChild,b)},children:function(b){return a.sibling(b.firstChild)},contents:function(b){return b.contentDocument||a.merge([],b.childNodes)}},function(b,c){a.fn[b]=function(f,e){var d=a.map(this,c,f);return b.slice(-5)!=='Until'&&(e=f),e&&typeof e==='string'&&(d=a.filter(e,d)),this.length>1&&(b0[b]||a.unique(d),a_.test(b)&&d.reverse()),this.pushStack(d)}});var j=/\S+/g,a2={};a.Callbacks=function(d){d=typeof d==='string'?a2[d]||bq(d):a.extend({},d);var e,l,i,k,f,g,b=[],c=!d.once&&[],j=function(a){for(e=d.memory&&a,l=!0,g=k||0,k=0,f=b.length,i=!0;b&&g-1)b.splice(c,1),i&&(c<=f&&f--,c<=g&&g--)}),this},has:function(c){return c?a.inArray(c,b)>-1:!!(b&&b.length)},empty:function(){return b=[],f=0,this},disable:function(){return b=c=e=undefined,this},disabled:function(){return!b},lock:function(){return c=undefined,e||h.disable(),this},locked:function(){return!c},fireWith:function(d,a){return b&&(!l||c)&&(a=a||[],a=[d,a.slice?a.slice():a],i?c.push(a):j(a)),this},fire:function(){return h.fireWith(this,arguments),this},fired:function(){return!!l}};return h},a.extend({Deferred:function(f){var d=[['resolve','done',a.Callbacks('once memory'),'resolved'],['reject','fail',a.Callbacks('once memory'),'rejected'],['notify','progress',a.Callbacks('memory')]],e='pending',c={state:function(){return e},always:function(){return b.done(arguments).fail(arguments),this},then:function(){var e=arguments;return a.Deferred(function(f){a.each(d,function(g,h){var d=a.isFunction(e[g])&&e[g];b[h[1]](function(){var b=d&&d.apply(this,arguments);b&&a.isFunction(b.promise)?b.promise().done(f.resolve).fail(f.reject).progress(f.notify):f[h[0]+'With'](this===c?f.promise():this,d?[b]:arguments)})}),e=null}).promise()},promise:function(b){return b!=null?a.extend(b,c):c}},b={};return c.pipe=c.then,a.each(d,function(h,a){var f=a[2],g=a[3];c[a[1]]=f.add,g&&f.add(function(){e=g},d[h^1][2].disable,d[2][2].lock),b[a[0]]=function(){return b[a[0]+'With'](this===b?c:this,arguments),this},b[a[0]+'With']=f.fireWith}),c.promise(b),f&&f.call(b,b),b},when:function(g){var b=0,d=k.call(arguments),c=d.length,f=c!==1||g&&a.isFunction(g.promise)?c:0,e=f===1?g:a.Deferred(),i=function(c,b,a){return function(d){b[c]=this,a[c]=arguments.length>1?k.call(arguments):d,a===j?e.notifyWith(b,a):--f||e.resolveWith(b,a)}},j,l,h;if(c>1)for(j=new Array(c),l=new Array(c),h=new Array(c);b0)return;P.resolveWith(c,[a]),a.fn.triggerHandler&&(a(c).triggerHandler('ready'),a(c).off('ready'))}}),a.ready.promise=function(b){return P||(P=a.Deferred(),c.readyState==='complete'?setTimeout(a.ready):(c.addEventListener('DOMContentLoaded',I,!1),d.addEventListener('load',I,!1))),P.promise(b)},a.ready.promise();var l=a.access=function(d,b,e,g,i,k,h){var c=0,j=d.length,f=e==null;if(a.type(e)==='object'){i=!0;for(c in e)a.access(d,b,c,e[c],!0,k,h)}else if(g!==undefined&&(i=!0,a.isFunction(g)||(h=!0),f&&(h?(b.call(d,g),b=null):(f=b,b=function(b,d,c){return f.call(a(b),c)})),b))for(;c1,null,!0)},removeData:function(a){return this.each(function(){f.remove(this,a)})}}),a.extend({queue:function(f,d,e){var c;return f?(d=(d||'fx')+'queue',c=b.get(f,d),e&&(!c||a.isArray(e)?c=b.access(f,d,a.makeArray(e)):c.push(e)),c||[]):void 0},dequeue:function(f,b){b=b||'fx';var c=a.queue(f,b),g=c.length,d=c.shift(),e=a._queueHooks(f,b),h=function(){a.dequeue(f,b)};d==='inprogress'&&(d=c.shift(),g--),d&&(b==='fx'&&c.unshift('inprogress'),delete e.stop,d.call(f,h,e)),!g&&e&&e.empty.fire()},_queueHooks:function(d,e){var c=e+'queueHooks';return b.get(d,c)||b.access(d,c,{empty:a.Callbacks('once memory').add(function(){b.remove(d,[e+'queue',c])})})}}),a.fn.extend({queue:function(b,c){var d=2;return typeof b!=='string'&&(c=b,b='fx',d--),arguments.lengthx',e.noCloneChecked=!!a.cloneNode(!0).lastChild.defaultValue}();var s=typeof undefined;e.focusinBubbles='onfocusin'in d;var ar=/^key/,as=/^(?:mouse|pointer|contextmenu)|click/,W=/^(?:focusinfocus|focusoutblur)$/,a8=/^([^.]*)(?:\.(.+)|)$/;a.event={global:{},add:function(i,l,d,t,g){var n,o,q,m,p,k,e,h,c,r,u,f=b.get(i);if(!f)return;d.handler&&(n=d,d=n.handler,g=n.selector),d.guid||(d.guid=a.guid++),(m=f.events)||(m=f.events={}),(o=f.handle)||(o=f.handle=function(b){return typeof a!==s&&a.event.triggered!==b.type?a.event.dispatch.apply(i,arguments):undefined}),l=(l||'').match(j)||[''],p=l.length;while(p--){if(q=a8.exec(l[p])||[],c=u=q[1],r=(q[2]||'').split('.').sort(),!c)continue;e=a.event.special[c]||{},c=(g?e.delegateType:e.bindType)||c,e=a.event.special[c]||{},k=a.extend({type:c,origType:u,data:t,handler:d,guid:d.guid,selector:g,needsContext:g&&a.expr.match.needsContext.test(g),namespace:r.join('.')},n),(h=m[c])||(h=m[c]=[],h.delegateCount=0,(!e.setup||e.setup.call(i,t,r,o)===!1)&&i.addEventListener&&i.addEventListener(c,o,!1)),e.add&&(e.add.call(i,k),k.handler.guid||(k.handler.guid=d.guid)),g?h.splice(h.delegateCount++,0,k):h.push(k),a.event.global[c]=!0}},remove:function(g,l,p,k,t){var o,r,f,m,n,d,e,i,c,q,s,h=b.hasData(g)&&b.get(g);if(!(h&&(m=h.events)))return;l=(l||'').match(j)||[''],n=l.length;while(n--){if(f=a8.exec(l[n])||[],c=s=f[1],q=(f[2]||'').split('.').sort(),!c){for(c in m)a.event.remove(g,c+l[n],p,k,!0);continue}e=a.event.special[c]||{},c=(k?e.delegateType:e.bindType)||c,i=m[c]||[],f=f[2]&&new RegExp('(^|\\.)'+q.join('\\.(?:.*\\.|)')+'(\\.|$)'),r=o=i.length;while(o--)d=i[o],(t||s===d.origType)&&(!p||p.guid===d.guid)&&(!f||f.test(d.namespace))&&(!k||k===d.selector||k==='**'&&d.selector)&&(i.splice(o,1),d.selector&&i.delegateCount--,e.remove&&e.remove.call(g,d));r&&!i.length&&((!e.teardown||e.teardown.call(g,q,h.handle)===!1)&&a.removeEvent(g,c,h.handle),delete m[c])}a.isEmptyObject(m)&&(delete h.handle,b.remove(g,'events'))},trigger:function(e,k,f,p){var r,h,i,q,m,l,j,o=[f||c],g=R.call(e,'type')?e.type:e,n=R.call(e,'namespace')?e.namespace.split('.'):[];if(h=i=f=f||c,f.nodeType===3||f.nodeType===8)return;if(W.test(g+a.event.triggered))return;if(g.indexOf('.')>=0&&(n=g.split('.'),g=n.shift(),n.sort()),m=g.indexOf(':')<0&&'on'+g,e=e[a.expando]?e:new a.Event(g,typeof e==='object'&&e),e.isTrigger=p?2:3,e.namespace=n.join('.'),e.namespace_re=e.namespace?new RegExp('(^|\\.)'+n.join('\\.(?:.*\\.|)')+'(\\.|$)'):null,e.result=undefined,e.target||(e.target=f),k=k==null?[e]:a.makeArray(k,[e]),j=a.event.special[g]||{},!p&&j.trigger&&j.trigger.apply(f,k)===!1)return;if(!(p||j.noBubble||a.isWindow(f))){for(q=j.delegateType||g,W.test(q+g)||(h=h.parentNode);h;h=h.parentNode)o.push(h),i=h;i===(f.ownerDocument||c)&&o.push(i.defaultView||i.parentWindow||d)}r=0;while((h=o[r++])&&!e.isPropagationStopped())e.type=r>1?q:j.bindType||g,l=(b.get(h,'events')||{})[e.type]&&b.get(h,'handle'),l&&l.apply(h,k),l=m&&h[m],l&&l.apply&&a.acceptData(h)&&(e.result=l.apply(h,k),e.result===!1&&e.preventDefault());return e.type=g,!(p||e.isDefaultPrevented())&&(!j._default||j._default.apply(o.pop(),k)===!1)&&a.acceptData(f)&&m&&a.isFunction(f[g])&&!a.isWindow(f)&&(i=f[m],i&&(f[m]=null),a.event.triggered=g,f[g](),a.event.triggered=undefined,i&&(f[m]=i)),e.result},dispatch:function(c){c=a.event.fix(c);var l,j,g,f,d,h=[],i=k.call(arguments),m=(b.get(this,'events')||{})[c.type]||[],e=a.event.special[c.type]||{};if(i[0]=c,c.delegateTarget=this,e.preDispatch&&e.preDispatch.call(this,c)===!1)return;h=a.event.handlers.call(this,c,m),l=0;while((f=h[l++])&&!c.isPropagationStopped()){c.currentTarget=f.elem,j=0;while((d=f.handlers[j++])&&!c.isImmediatePropagationStopped())(!c.namespace_re||c.namespace_re.test(d.namespace))&&(c.handleObj=d,c.data=d.data,g=((a.event.special[d.origType]||{}).handle||d.handler).apply(f.elem,i),g!==undefined&&(c.result=g)===!1&&(c.preventDefault(),c.stopPropagation()))}return e.postDispatch&&e.postDispatch.call(this,c),c.result},handlers:function(f,g){var h,c,d,i,j=[],e=g.delegateCount,b=f.target;if(e&&b.nodeType&&(!f.button||f.type!=='click'))for(;b!==this;b=b.parentNode||this)if(b.disabled!==!0||f.type!=='click'){for(c=[],h=0;h=0:a.find(d,this,null,[b]).length),c[d]&&c.push(i);c.length&&j.push({elem:b,handlers:c})}return e]*)\/>/gi,Y=/<([\w:]+)/,ax=/<|&#?\w+;/,ay=/<(?:script|style|link)/i,az=/checked\s*(?:[^=]|=\s*.checked.)/i,Z=/^$|\/(?:java|ecma)script/i,aB=/^true\/(.*)/,aC=/^\s*\s*$/g,i={option:[1,''],thead:[1,'','
'],col:[2,'','
'],tr:[2,'','
'],td:[3,'','
'],_default:[0,'','']};i.optgroup=i.option,i.tbody=i.tfoot=i.colgroup=i.caption=i.thead,i.th=i.td,a.extend({clone:function(b,k,l){var c,i,f,d,g=b.cloneNode(!0),j=a.contains(b.ownerDocument,b);if(!e.noCloneChecked&&(b.nodeType===1||b.nodeType===11)&&!a.isXMLDoc(b))for(d=h(g),f=h(b),c=0,i=f.length;c0&&ae(d,!j&&h(b,'script')),g},buildFragment:function(p,k,o,q){var b,c,l,g,m,j,d=k.createDocumentFragment(),f=[],e=0,n=p.length;for(;e')+g[2],j=g[0];while(j--)c=c.lastChild;a.merge(f,c.childNodes),c=d.firstChild,c.textContent=''}d.textContent='',e=0;while(b=f[e++]){if(q&&a.inArray(b,q)!==-1)continue;if(m=a.contains(b.ownerDocument,b),c=h(d.appendChild(b),'script'),m&&ae(c),o){j=0;while(b=c[j++])Z.test(b.type||'')&&o.push(b)}}return d},cleanData:function(j){var e,c,g,d,i=a.event.special,h=0;for(;(c=j[h])!==undefined;h++){if(a.acceptData(c)&&(d=c[b.expando],d&&(e=b.cache[d]))){if(e.events)for(g in e.events)i[g]?a.event.remove(c,g):a.removeEvent(c,g,e.handle);b.cache[d]&&delete b.cache[d]}delete f.cache[c[f.expando]]}}}),a.fn.extend({text:function(b){return l(this,function(b){return b===undefined?a.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=b)})},null,b,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var b=an(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(b){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var a=an(this,b);a.insertBefore(b,a.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(d,e){var b,f=d?a.filter(d,this):this,c=0;for(;(b=f[c])!=null;c++)!e&&b.nodeType===1&&a.cleanData(h(b)),b.parentNode&&(e&&a.contains(b.ownerDocument,b)&&ae(h(b,'script')),b.parentNode.removeChild(b));return this},empty:function(){var b,c=0;for(;(b=this[c])!=null;c++)b.nodeType===1&&(a.cleanData(h(b,!1)),b.textContent='');return this},clone:function(b,c){return b=b==null?!1:b,c=c==null?b:c,this.map(function(){return a.clone(this,b,c)})},html:function(b){return l(this,function(c){var b=this[0]||{},d=0,e=this.length;if(c===undefined&&b.nodeType===1)return b.innerHTML;if(typeof c==='string'&&!ay.test(c)&&!i[(Y.exec(c)||['',''])[1].toLowerCase()]){c=c.replace(X,'<$1>');try{for(;d1&&typeof j==='string'&&!e.checkClone&&az.test(j))return this.each(function(b){var a=p.eq(b);n&&(i[0]=j.call(this,b,a.html())),a.domManip(i,r)});if(k&&(g=a.buildFragment(i,this[0].ownerDocument,!1,this),m=g.firstChild,g.childNodes.length===1&&(g=m),m)){for(f=a.map(h(g,'script'),bp),l=f.length;d1)},show:function(){return aA(this,!0)},hide:function(){return aA(this)},toggle:function(b){return typeof b==='boolean'?b?this.show():this.hide():this.each(function(){w(this)?a(this).show():a(this).hide()})}}),a.Tween=g,g.prototype={constructor:g,init:function(c,d,b,e,f,g){this.elem=c,this.prop=b,this.easing=f||'swing',this.options=d,this.start=this.now=this.cur(),this.end=e,this.unit=g||(a.cssNumber[b]?'':'px')},cur:function(){var a=g.propHooks[this.prop];return a&&a.get?a.get(this):g.propHooks._default.get(this)},run:function(c){var d,b=g.propHooks[this.prop];return this.options.duration?this.pos=d=a.easing[this.easing](c,this.options.duration*c,0,1,this.options.duration):this.pos=d=c,this.now=(this.end-this.start)*d+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),b&&b.set?b.set(this):g.propHooks._default.set(this),this}},g.prototype.init.prototype=g.prototype,g.propHooks={_default:{get:function(b){var c;return b.elem[b.prop]!=null&&(!b.elem.style||b.elem.style[b.prop]==null)?b.elem[b.prop]:(c=a.css(b.elem,b.prop,''),!c||c==='auto'?0:c)},set:function(b){a.fx.step[b.prop]?a.fx.step[b.prop](b):b.elem.style&&(b.elem.style[a.cssProps[b.prop]]!=null||a.cssHooks[b.prop])?a.style(b.elem,b.prop,b.now+b.unit):b.elem[b.prop]=b.now}}},g.propHooks.scrollTop=g.propHooks.scrollLeft={set:function(a){a.elem.nodeType&&a.elem.parentNode&&(a.elem[a.prop]=a.now)}},a.easing={linear:function(a){return a},swing:function(a){return.5-Math.cos(a*Math.PI)/2}},a.fx=g.prototype.init,a.fx.step={};var u,U,aR=/^(?:toggle|show|hide)$/,V=new RegExp('^(?:([+-])=|)('+A+')([a-z%]*)$','i'),aT=/queueHooks$/,B=[bm],x={'*':[function(g,i){var d=this.createTween(g,i),h=d.cur(),b=V.exec(i),e=b&&b[3]||(a.cssNumber[g]?'':'px'),c=(a.cssNumber[g]||e!=='px'&&+h)&&V.exec(a.css(d.elem,g)),f=1,j=20;if(c&&c[3]!==e){e=e||c[3],b=b||[],c=+h||1;do f=f||'.5',c/=f,a.style(d.elem,g,c+e);while(f!==(f=d.cur()/h)&&f!==1&&--j)}return b&&(c=d.start=+c||+h||0,d.unit=e,d.end=b[1]?c+(b[1]+1)*b[2]:+b[2]),d}]};a.Animation=a.extend(aU,{tweener:function(b,e){a.isFunction(b)?(e=b,b=['*']):b=b.split(' ');var c,d=0,f=b.length;for(;d1)},removeAttr:function(b){return this.each(function(){a.removeAttr(this,b)})}}),a.extend({attr:function(b,c,f){var d,e,g=b.nodeType;if(!b||g===3||g===8||g===2)return;if(typeof b.getAttribute===s)return a.prop(b,c,f);if((g!==1||!a.isXMLDoc(b))&&(c=c.toLowerCase(),d=a.attrHooks[c]||(a.expr.match.bool.test(c)?aX:bj)),!(f!==undefined))return d&&'get'in d&&(e=d.get(b,c))!==null?e:(e=a.find.attr(b,c),e==null?undefined:e);if(!(f===null))return d&&'set'in d&&(e=d.set(b,f,c))!==undefined?e:(b.setAttribute(c,f+''),f);a.removeAttr(b,c)},removeAttr:function(c,e){var b,f,g=0,d=e&&e.match(j);if(d&&c.nodeType===1)while(b=d[g++])f=a.propFix[b]||b,a.expr.match.bool.test(b)&&(c[f]=!1),c.removeAttribute(b)},attrHooks:{type:{set:function(b,c){if(!e.radioValue&&c==='radio'&&a.nodeName(b,'input')){var d=b.value;return b.setAttribute('type',c),d&&(b.value=d),c}}}}}),aX={set:function(c,d,b){return d===!1?a.removeAttr(c,b):c.setAttribute(b,b),b}},a.each(a.expr.match.bool.source.match(/\w+/g),function(d,b){var c=v[b]||a.find.attr;v[b]=function(f,a,d){var b,e;return d||(e=v[a],v[a]=b,b=c(f,a,d)!=null?a.toLowerCase():null,v[a]=e),b}});var aZ=/^(?:input|select|textarea|button)$/i;a.fn.extend({prop:function(b,c){return l(this,a.prop,b,c,arguments.length>1)},removeProp:function(b){return this.each(function(){delete this[a.propFix[b]||b]})}}),a.extend({propFix:{'for':'htmlFor','class':'className'},prop:function(c,b,g){var f,d,h,e=c.nodeType;return!c||e===3||e===8||e===2?void 0:(h=e!==1||!a.isXMLDoc(c),h&&(b=a.propFix[b]||b,d=a.propHooks[b]),g!==undefined?d&&'set'in d&&(f=d.set(c,g,b))!==undefined?f:c[b]=g:d&&'get'in d&&(f=d.get(c,b))!==null?f:c[b])},propHooks:{tabIndex:{get:function(a){return a.hasAttribute('tabindex')||aZ.test(a.nodeName)||a.href?a.tabIndex:-1}}}}),e.optSelected||(a.propHooks.selected={get:function(b){var a=b.parentNode;return a&&a.parentNode&&a.parentNode.selectedIndex,null}}),a.each(['tabIndex','readOnly','maxLength','cellSpacing','cellPadding','rowSpan','colSpan','useMap','frameBorder','contentEditable'],function(){a.propFix[this.toLowerCase()]=this});var N=/[\t\r\n\f]/g;a.fn.extend({addClass:function(d){var i,b,c,f,h,g,k=typeof d==='string'&&d,e=0,l=this.length;if(a.isFunction(d))return this.each(function(b){a(this).addClass(d.call(this,b,this.className))});if(k)for(i=(d||'').match(j)||[];e=0)c=c.replace(' '+f+' ',' ');g=d?a.trim(c):'',b.className!==g&&(b.className=g)}return this},toggleClass:function(c,e){var d=typeof c;return typeof e==='boolean'&&d==='string'?e?this.addClass(c):this.removeClass(c):a.isFunction(c)?this.each(function(b){a(this).toggleClass(c.call(this,b,this.className,e),e)}):this.each(function(){if(d==='string'){var e,g=0,f=a(this),h=c.match(j)||[];while(e=h[g++])f.hasClass(e)?f.removeClass(e):f.addClass(e)}else(d===s||d==='boolean')&&(this.className&&b.set(this,'__className__',this.className),this.className=this.className||c===!1?'':b.get(this,'__className__')||'')})},hasClass:function(d){var b=' '+d+' ',a=0,c=this.length;for(;a=0)return!0;return!1}});var a$=/\r/g;a.fn.extend({val:function(e){var b,c,f,d=this[0];return arguments.length?(f=a.isFunction(e),this.each(function(d){var c;if(this.nodeType!==1)return;f?c=e.call(this,d,a(this).val()):c=e,c==null?c='':typeof c==='number'?c+='':a.isArray(c)&&(c=a.map(c,function(a){return a==null?'':a+''})),b=a.valHooks[this.type]||a.valHooks[this.nodeName.toLowerCase()],(!(b&&'set'in b)||b.set(this,c,'value')===undefined)&&(this.value=c)})):d?(b=a.valHooks[d.type]||a.valHooks[d.nodeName.toLowerCase()],b&&'get'in b&&(c=b.get(d,'value'))!==undefined?c:(c=d.value,typeof c==='string'?c.replace(a$,''):c==null?'':c)):void 0}}),a.extend({valHooks:{option:{get:function(c){var b=a.find.attr(c,'value');return b!=null?b:a.trim(a.text(c))}},select:{get:function(g){var h,b,i=g.options,c=g.selectedIndex,d=g.type==='select-one'||c<0,j=d?null:[],k=d?c+1:i.length,f=c<0?k:d?c:0;for(;f=0)&&(g=!0);return g||(f.selectedIndex=-1),d}}}}),a.each(['radio','checkbox'],function(){a.valHooks[this]={set:function(b,c){return a.isArray(c)?b.checked=a.inArray(a(b).val(),c)>=0:void 0}},e.checkOn||(a.valHooks[this].get=function(a){return a.getAttribute('value')===null?'on':a.value})}),a.each('blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu'.split(' '),function(c,b){a.fn[b]=function(a,c){return arguments.length>0?this.on(b,null,a,c):this.trigger(b)}}),a.fn.extend({hover:function(a,b){return this.mouseenter(a).mouseleave(b||a)},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,d){return this.on(b,a,c,d)},undelegate:function(a,b,c){return arguments.length===1?this.off(a,'**'):this.off(b,a||'**',c)}});var K=a.now(),H=/\?/;a.parseJSON=function(a){return JSON.parse(a+'')},a.parseXML=function(c){var b,d;if(!c||typeof c!=='string')return null;try{d=new DOMParser,b=d.parseFromString(c,'text/xml')}catch(a){b=undefined}return(!b||b.getElementsByTagName('parsererror').length)&&a.error('Invalid XML: '+c),b};var b2=/#.*$/,af=/([?&])_=[^&]*/,b4=/^(.*?):[ \t]*([^\r\n]*)$/gm,b5=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,b6=/^(?:GET|HEAD)$/,b7=/^\/\//,ag=/^([\w.+-]+:)(?:\/\/(?:[^\/?#]*@|)([^\/?#:]*)(?::(\d+)|)|)/,ah={},F={},aj='*/'.concat('*'),T=d.location.href,q=ag.exec(T.toLowerCase())||[];a.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:T,type:'GET',isLocal:b5.test(q[1]),global:!0,processData:!0,async:!0,contentType:'application/x-www-form-urlencoded; charset=UTF-8',accepts:{'*':aj,text:'text/plain',html:'text/html',xml:'application/xml, text/xml',json:'application/json, text/javascript'},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:'responseXML',text:'responseText',json:'responseJSON'},converters:{'* text':String,'text html':!0,'text json':a.parseJSON,'text xml':a.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(b,c){return c?ab(ab(b,a.ajaxSettings),c):ab(a.ajaxSettings,b)},ajaxPrefilter:b1(ah),ajaxTransport:b1(F),ajax:function(o,f){function n(i,v,q,w){var j,p,o,k,n,f=v;if(d===2)return;d=2,x&&clearTimeout(x),h=undefined,u=w||'',c.readyState=i>0?4:0,j=i>=200&&i<300||i===304,q&&(k=bk(b,c,q)),k=bn(b,k,c,j),j?(b.ifModified&&(n=c.getResponseHeader('Last-Modified'),n&&(a.lastModified[e]=n),n=c.getResponseHeader('etag'),n&&(a.etag[e]=n)),i===204||b.type==='HEAD'?f='nocontent':i===304?f='notmodified':(f=k.state,p=k.data,o=k.error,j=!o)):(o=f,(i||!f)&&(f='error',i<0&&(i=0))),c.status=i,c.statusText=(v||f)+'',j?s.resolveWith(g,[p,f,c]):s.rejectWith(g,[c,f,o]),c.statusCode(m),m=undefined,l&&r.trigger(j?'ajaxSuccess':'ajaxError',[c,b,j?p:o]),t.fireWith(g,[c,f]),l&&(r.trigger('ajaxComplete',[c,b]),--a.active||a.event.trigger('ajaxStop'))}typeof o==='object'&&(f=o,o=undefined),f=f||{};var h,e,u,p,x,k,l,i,b=a.ajaxSetup({},f),g=b.context||b,r=b.context&&(g.nodeType||g.jquery)?a(g):a.event,s=a.Deferred(),t=a.Callbacks('once memory'),m=b.statusCode||{},v={},w={},d=0,y='canceled',c={readyState:0,getResponseHeader:function(b){var a;if(d===2){if(!p){p={};while(a=b4.exec(u))p[a[1].toLowerCase()]=a[2]}a=p[b.toLowerCase()]}return a==null?null:a},getAllResponseHeaders:function(){return d===2?u:null},setRequestHeader:function(a,c){var b=a.toLowerCase();return d||(a=w[b]=w[b]||a,v[a]=c),this},overrideMimeType:function(a){return d||(b.mimeType=a),this},statusCode:function(a){var b;if(a)if(d<2)for(b in a)m[b]=[m[b],a[b]];else c.always(a[c.status]);return this},abort:function(b){var a=b||y;return h&&h.abort(a),n(0,a),this}};if(s.promise(c).complete=t.add,c.success=c.done,c.error=c.fail,b.url=((o||b.url||T)+'').replace(b2,'').replace(b7,q[1]+'//'),b.type=f.method||f.type||b.method||b.type,b.dataTypes=a.trim(b.dataType||'*').toLowerCase().match(j)||[''],b.crossDomain==null&&(k=ag.exec(b.url.toLowerCase()),b.crossDomain=!!(k&&(k[1]!==q[1]||k[2]!==q[2]||(k[3]||(k[1]==='http:'?'80':'443'))!==(q[3]||(q[1]==='http:'?'80':'443'))))),b.data&&b.processData&&typeof b.data!=='string'&&(b.data=a.param(b.data,b.traditional)),b3(ah,b,f,c),d===2)return c;l=a.event&&b.global,l&&a.active++===0&&a.event.trigger('ajaxStart'),b.type=b.type.toUpperCase(),b.hasContent=!b6.test(b.type),e=b.url,b.hasContent||(b.data&&(e=b.url+=(H.test(e)?'&':'?')+b.data,delete b.data),b.cache===!1&&(b.url=af.test(e)?e.replace(af,'$1_='+K++):e+(H.test(e)?'&':'?')+'_='+K++)),b.ifModified&&(a.lastModified[e]&&c.setRequestHeader('If-Modified-Since',a.lastModified[e]),a.etag[e]&&c.setRequestHeader('If-None-Match',a.etag[e])),(b.data&&b.hasContent&&b.contentType!==!1||f.contentType)&&c.setRequestHeader('Content-Type',b.contentType),c.setRequestHeader('Accept',b.dataTypes[0]&&b.accepts[b.dataTypes[0]]?b.accepts[b.dataTypes[0]]+(b.dataTypes[0]!=='*'?', '+aj+'; q=0.01':''):b.accepts['*']);for(i in b.headers)c.setRequestHeader(i,b.headers[i]);if(b.beforeSend&&(b.beforeSend.call(g,c,b)===!1||d===2))return c.abort();y='abort';for(i in{success:1,error:1,complete:1})c[i](b[i]);if(h=b3(F,b,f,c),!h)n(-1,'No Transport');else{c.readyState=1,l&&r.trigger('ajaxSend',[c,b]),b.async&&b.timeout>0&&(x=setTimeout(function(){c.abort('timeout')},b.timeout));try{d=1,h.send(v,n)}catch(a){if(!(d<2))throw a;n(-1,a)}}return c},getJSON:function(b,c,d){return a.get(b,c,d,'json')},getScript:function(b,c){return a.get(b,undefined,c,'script')}}),a.each(['get','post'],function(c,b){a[b]=function(f,c,d,e){return a.isFunction(c)&&(e=e||d,d=c,c=undefined),a.ajax({url:f,type:b,dataType:e,data:c,success:d})}}),a._evalUrl=function(b){return a.ajax({url:b,type:'GET',dataType:'script',async:!1,global:!1,throws:!0})},a.fn.extend({wrapAll:function(b){var c;return a.isFunction(b)?this.each(function(c){a(this).wrapAll(b.call(this,c))}):(this[0]&&(c=a(b,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&c.insertBefore(this[0]),c.map(function(){var a=this;while(a.firstElementChild)a=a.firstElementChild;return a}).append(this)),this)},wrapInner:function(b){return a.isFunction(b)?this.each(function(c){a(this).wrapInner(b.call(this,c))}):this.each(function(){var c=a(this),d=c.contents();d.length?d.wrapAll(b):c.append(b)})},wrap:function(b){var c=a.isFunction(b);return this.each(function(d){a(this).wrapAll(c?b.call(this,d):b)})},unwrap:function(){return this.parent().each(function(){a.nodeName(this,'body')||a(this).replaceWith(this.childNodes)}).end()}}),a.expr.filters.hidden=function(a){return a.offsetWidth<=0&&a.offsetHeight<=0},a.expr.filters.visible=function(b){return!a.expr.filters.hidden(b)};var be=/%20/g,bf=/\[\]$/,am=/\r?\n/g,bh=/^(?:submit|button|image|reset|file)$/i,aW=/^(?:input|select|textarea|keygen)/i;a.param=function(b,d){var e,c=[],f=function(d,b){b=a.isFunction(b)?b():b==null?'':b,c[c.length]=encodeURIComponent(d)+'='+encodeURIComponent(b)};if(d===undefined&&(d=a.ajaxSettings&&a.ajaxSettings.traditional),a.isArray(b)||b.jquery&&!a.isPlainObject(b))a.each(b,function(){f(this.name,this.value)});else for(e in b)aa(e,b[e],d,f);return c.join('&').replace(be,'+')},a.fn.extend({serialize:function(){return a.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var b=a.prop(this,'elements');return b?a.makeArray(b):this}).filter(function(){var b=this.type;return this.name&&!a(this).is(':disabled')&&aW.test(this.nodeName)&&!bh.test(b)&&(this.checked||!_.test(b))}).map(function(d,c){var b=a(this).val();return b==null?null:a.isArray(b)?a.map(b,function(a){return{name:c.name,value:a.replace(am,'\r\n')}}):{name:c.name,value:b.replace(am,'\r\n')}}).get()}}),a.ajaxSettings.xhr=function(){try{return new XMLHttpRequest}catch(a){}};var ba=0,C={},aQ={0:200,1223:204},t=a.ajaxSettings.xhr();d.attachEvent&&d.attachEvent('onunload',function(){for(var a in C)C[a]()}),e.cors=!!t&&'withCredentials'in t,e.ajax=t=!!t,a.ajaxTransport(function(a){var b;return e.cors||t&&!a.crossDomain?{send:function(e,g){var d,c=a.xhr(),f=++ba;if(c.open(a.type,a.url,a.async,a.username,a.password),a.xhrFields)for(d in a.xhrFields)c[d]=a.xhrFields[d];a.mimeType&&c.overrideMimeType&&c.overrideMimeType(a.mimeType),a.crossDomain||e['X-Requested-With']||(e['X-Requested-With']='XMLHttpRequest');for(d in e)c.setRequestHeader(d,e[d]);b=function(a){return function(){b&&(delete C[f],b=c.onload=c.onerror=null,a==='abort'?c.abort():a==='error'?g(c.status,c.statusText):g(aQ[c.status]||c.status,c.statusText,typeof c.responseText==='string'?{text:c.responseText}:undefined,c.getAllResponseHeaders()))}},c.onload=b(),c.onerror=b('error'),b=C[f]=b('abort');try{c.send(a.hasContent&&a.data||null)}catch(a){if(b)throw a}},abort:function(){b&&b()}}:void 0}),a.ajaxSetup({accepts:{script:'text/javascript, application/javascript, application/ecmascript, application/x-ecmascript'},contents:{script:/(?:java|ecma)script/},converters:{'text script':function(b){return a.globalEval(b),b}}}),a.ajaxPrefilter('script',function(a){a.cache===undefined&&(a.cache=!1),a.crossDomain&&(a.type='GET')}),a.ajaxTransport('script',function(d){if(d.crossDomain){var e,b;return{send:function(g,f){e=a('