!function(a){varb,c,d="0.5.0",e="hasOwnProperty",f=/[\.\/]/,g=/\s*,\s*/,h="*",i=function(a,b){returna-b},j={n:{}},k=function(){for(vara=0,b=this.length;b>a;a++)if("undefined"!=typeofthis[a])returnthis[a]},l=function(){for(vara=this.length;--a;)if("undefined"!=typeofthis[a])returnthis[a]},m=Object.prototype.toString,n=String,o=Array.isArray||function(a){returnainstanceofArray||"[object Array]"==m.call(a)};eve=function(a,d){vare,f=c,g=Array.prototype.slice.call(arguments,2),h=eve.listeners(a),j=0,m=[],n={},o=[],p=b;o.firstDefined=k,o.lastDefined=l,b=a,c=0;for(varq=0,r=h.length;r>q;q++)"zIndex"inh[q]&&(m.push(h[q].zIndex),h[q].zIndex<0&&(n[h[q].zIndex]=h[q]));for(m.sort(i);m[j]<0;)if(e=n[m[j++]],o.push(e.apply(d,g)),c)returnc=f,o;for(q=0;r>q;q++)if(e=h[q],"zIndex"ine)if(e.zIndex==m[j]){if(o.push(e.apply(d,g)),c)break;doif(j++,e=n[m[j]],e&&o.push(e.apply(d,g)),c)break;while(e)}elsen[e.zIndex]=e;elseif(o.push(e.apply(d,g)),c)break;returnc=f,b=p,o},eve._events=j,eve.listeners=function(a){varb,c,d,e,g,i,k,l,m=o(a)?a:a.split(f),n=j,p=[n],q=[];for(e=0,g=m.length;g>e;e++){for(l=[],i=0,k=p.length;k>i;i++)for(n=p[i].n,c=[n[m[e]],n[h]],d=2;d--;)b=c[d],b&&(l.push(b),q=q.concat(b.f||[]));p=l}returnq},eve.separator=function(a){a?(a=n(a).replace(/(?=[\.\^\]\[\-])/g,"\\"),a="["+a+"]",f=newRegExp(a)):f=/[\.\/]/},eve.on=function(a,b){if("function"!=typeofb)returnfunction(){};for(varc=o(a)?o(a[0])?a:[a]:n(a).split(g),d=0,e=c.length;e>d;d++)!function(a){for(varc,d=o(a)?a:n(a).split(f),e=j,g=0,h=d.length;h>g;g++)e=e.n,e=e.hasOwnProperty(d[g])&&e[d[g]]||(e[d[g]]={n:{}});for(e.f=e.f||[],g=0,h=e.f.length;h>g;g++)if(e.f[g]==b){c=!0;break}!c&&e.f.push(b)}(c[d]);returnfunction(a){+a==+a&&(b.zIndex=+a)}},eve.f=function(a){varb=[].slice.call(arguments,1);returnfunction(){eve.apply(null,[a,null].concat(b).concat([].slice.call(arguments,0)))}},eve.stop=function(){c=1},eve.nt=function(a){varc=o(b)?b.join("."):b;returna?newRegExp("(?:\\.|\\/|^)"+a+"(?:\\.|\\/|$)").test(c):c},eve.nts=function(){returno(b)?b:b.split(f)},eve.off=eve.unbind=function(a,b){if(!a)returnvoid(eve._events=j={n:{}});varc=o(a)?o(a[0])?a:[a]:n(a).split(g);if(c.length>1)for(vard=0,i=c.length;i>d;d++)eve.off(c[d],b);else{c=o(a)?a:n(a).split(f);vark,l,m,d,i,p,q,r=[j],s=[];for(d=0,i=c.length;i>d;d++)for(p=0;p<r.length;p+=m.length-2){if(m=[p,1],k=r[p].n,c[d]!=h)k[c[d]]&&(m.push(k[c[d]]),s.unshift({n:k,name:c[d]}));elsefor(link)k[e](l)&&(m.push(k[l]),s.unshift({n:k,name:l}));r.splice.apply(r,m)}for(d=0,i=r.length;i>d;d++)for(k=r[d];k.n;){if(b){if(k.f){for(p=0,q=k.f.length;q>p;p++)if(k.f[p]==b){k.f.splice(p,1);break}!k.f.length&&deletek.f}for(link.n)if(k.n[e](l)&&k.n[l].f){vart=k.n[l].f;for(p=0,q=t.length;q>p;p++)if(t[p]==b){t.splice(p,1);break}!t.length&&deletek.n[l].f}}else{deletek.f;for(link.n)k.n[e](l)&&k.n[l].f&&deletek.n[l].f}k=k.n}a:for(d=0,i=s.length;i>d;d++){k=s[d];for(link.n[k.name].f)continuea;for(link.n[k.name].n)continuea;deletek.n[k.name]}}},eve.once=function(a,b){varc=function(){returneve.off(a,c),b.apply(this,arguments)};returneve.on(a,c)},eve.version=d,eve.toString=function(){return"You are running Eve "+d},"undefined"!=typeofmodule&&module.exports?module.exports=eve:"function"==typeofdefine&&define.amd?define("eve",[],function(){returneve}):a.eve=eve}(this),function(a,b){if("function"==typeofdefine&&define.amd)define(["eve"],function(c){returnb(a,c)});elseif("undefined"!=typeofexports){varc=require("eve");module.exports=b(a,c)}elseb(a,a.eve)}(window||this,function(a,b){varc=function(b){varc,d={},e=a.requestAnimationFrame||a.webkitRequestAnimationFrame||a.mozRequestAnimationFrame||a.oRequestAnimationFrame||a.msRequestAnimationFrame||function(a){returnsetTimeout(a,16,(newDate).getTime()),!0},f=Array.isArray||function(a){returnainstanceofArray||"[object Array]"==Object.prototype.toString.call(a)},g=0,h="M"+(+newDate).toString(36),i=function(){returnh+(g++).toString(36)},j=Date.now||function(){return+newDate},k=function(a){varb=this;if(null==a)returnb.s;varc=b.s-a;b.b+=b.dur*c,b.B+=b.dur*c,b.s=a}