!function(a,b){varc={},d={},e={},f=null;!function(a,b){functionc(a){if("number"==typeofa)returna;varb={};for(varcina)b[c]=a[c];returnb}functiond(){this._delay=0,this._endDelay=0,this._fill="none",this._iterationStart=0,this._iterations=1,this._duration=0,this._playbackRate=1,this._direction="normal",this._easing="linear",this._easingFunction=w}functione(){returna.isDeprecated("Invalid timing inputs","2016-03-02","TypeError exceptions will be thrown instead.",!0)}functionf(b,c,e){varf=newd;returnc&&(f.fill="both",f.duration="auto"),"number"!=typeofb||isNaN(b)?void0!==b&&Object.getOwnPropertyNames(b).forEach(function(c){if("auto"!=b[c]){if(("number"==typeoff[c]||"duration"==c)&&("number"!=typeofb[c]||isNaN(b[c])))return;if("fill"==c&&-1==u.indexOf(b[c]))return;if("direction"==c&&-1==v.indexOf(b[c]))return;if("playbackRate"==c&&1!==b[c]&&a.isDeprecated("AnimationEffectTiming.playbackRate","2014-11-28","Use Animation.playbackRate instead."))return;f[c]=b[c]}}):f.duration=b,f}functiong(a){return"number"==typeofa&&(a=isNaN(a)?{duration:0}:{duration:a}),a}functionh(b,c){returnb=a.numericTimingToObject(b),f(b,c)}functioni(a,b,c,d){return0>a||a>1||0>c||c>1?w:function(e){functionf(a,b,c){return3*a*(1-c)*(1-c)*c+3*b*(1-c)*c*c+c*c*c}if(0==e||1==e)returne;for(varg=0,h=1;;){vari=(g+h)/2,j=f(a,c,i);if(Math.abs(e-j)<1e-4)returnf(b,d,i);e>j?g=i:h=i}}}functionj(a,b){returnfunction(c){if(c>=1)return1;vard=1/a;returnc+=b*d,c-c%d}}functionk(a){B||(B=document.createElement("div").style),B.animationTimingFunction="",B.animationTimingFunction=a;varb=B.animationTimingFunction;if(""==b&&e())thrownewTypeError(a+" is not a valid value for easing");varc=D.exec(b);if(c)returni.apply(this,c.slice(1).map(Number));vard=E.exec(b);if(d)returnj(Number(d[1]),{start:x,middle:y,end:z}[d[2]]);varf=A[b];returnf?f:w}functionl(a){returnMath.abs(m(a)/a.playbackRate)}functionm(a){returna.duration*a.iterations}functionn(a,b,c){returnnull==b?F:b<c.delay?G:b>=c.delay+a?H:I}functiono(a,b,c,d,e){switch(d){caseG:return"backwards"==b||"both"==b?0:null;caseI:returnc-e;caseH:return"forwards"==b||"both"==b?a:null;caseF:returnnull}}functionp(a,b,c,d){return(d.playbackRate<0?b-a:b)*d.playbackRate+c}functionq(a,b,c,d,e){returnc===1/0||c===-(1/0)||c-d==b&&e.iterations&&(e.iterations+e.iterationStart)%1==0?a:c%a}functionr(a,b,c,d){return0===c?0:b==a?d.iterationStart+d.iterations-1:Math.floor(c/a)}functions(a,b,c,d){vare=a%2>=1,f="normal"==d.direction||d.direction==(e?"alternate-reverse":"alternate"),g=f?c:b-c,h=g/b;returnb*d._easingFunction(h)}functiont(a,b,c){vard=n(a,b,c),e=o(a,c.fill,b,d,c.delay);if(null===e)returnnull;if(0===a)returnd===G?0:1;varf=c.iterationStart*c.duration,g=p(a,e,f,c),h=q(c.duration,m(c),g,f,c),i=r(c.duration,h,g,c);returns(i,c.duration,h,c)/c.duration}varu="backwards|forwards|both|none".split("|"),v="reverse|alternate|alternate-reverse".split("|"),w=function(a){returna};d.prototype={_setMember:function(b,c){this["_"+b]=c,this._effect&&(this._effect._timingInput[b]=c,this._effect._timing=a.normalizeTimingInput(this._effect._timingInput),this._effect.activeDuration=a.calculateActiveDuration(this._effect._timing),this._effect._animation&&this._effect._animation._rebuildUnderlyingAnimation())},getplaybackRate(){returnthis._playbackRate},setdelay(a){this._setMember("delay",a)},getdelay(){returnthis._delay},setendDelay(a){this._setMember("endDelay",a)},getendDelay(){returnthis._endDelay},setfill(a){this._setMember("fill",a)},getfill(){returnthis._fill},setiterationStart(a){if((isNaN(a)||0>a)&&e())thrownewTypeError("iterationStart must be a non-negative number, received: "+timing.iterationStart);this._setMember("iterationStart",a)},getiterationStart(){returnthis._iterationStart},setduration(a){if("auto"!=a&&(isNaN(a)||0>a)&&e())thrownewTypeError("duration must be non-negative or auto, received: "+a);this._setMember("duration",a)},getduration(){returnthis._duration},setdirection(a){this._setMember("direction",a)},getdirection(){returnthis._direction},seteasing(a)