text: /*! MovieClip5 2016-10-14 */
  function DisplayObject(a){a=a||{},this._x=void 0!==a._x?a._x:0,this._y=void 0!==a._y?a._y:0,this._originX=void 0!==a._originX?a._originX:0,this._originY=void 0!==a._originY?a._originY:0,this._width=void 0!==a._width?a._width:0,this._height=void 0!==a._height?a._height:0,this._scaleX=void 0!==a._scaleX?a._scaleX:1,this._scaleY=void 0!==a._scaleY?a._scaleY:1,this._skewX=void 0!==a._skewX?a._skewX:0,this._skewY=void 0!==a._skewY?a._skewY:0,this._rotation=void 0!==a._rotation?a._rotation:0,this._alpha=void 0!==a._alpha?a._alpha:1,this._depth=void 0!==a._depth?a._depth:1,this.__depth__=1,this._visible=void 0===a._visible||a._visible,this._graphic=a._graphic||"rectangle",this._graphicArgs=a._graphicArgs||{},this._smoothImage=a._smoothImage||"inherit",this.__t=new Matrix,this.__filters=[],EventObject.call(this)}function EventObject(){this.__listeners=[],this.__eventListeners={}}function FilterBlur(a,b){this.blur=a||0,this.unit=b||"px"}function FilterBrightness(a,b){this.brightness=a||1,this.unit=b||""}function FilterContrast(a,b){this.contrast=a||1,this.unit=b||""}function FilterDropShadow(a,b,c,d,e,f,g){this.x=a||0,this.xunit=e||"px",this.y=b||0,this.yunit=f||"px",this.blur=c||0,this.bunit=g||"px",this.color=null}function FilterGrayScale(a,b){this.grayscale=a||0,this.unit=b||""}function FilterHueRotate(a,b){this.huerotate=a||0,this.unit=b||"deg"}function FilterInvert(a,b){this.invert=a||0,this.unit=b||""}function FilterSaturate(a,b){this.saturate=a||1,this.unit=b||""}function FilterSepia(a,b){this.sepia=a||0,this.unit=b||""}function Matrix(){}function MovieClip(a){a=a||{},this.__children=[],this.__tweens={},this.__mouseOver=!1,this.__prevMouseOver=!1,this.__mouseEvent=null,this.__uniqueID=MovieClip.objectCount++,this._name=a._name||MovieClip.getUniqueName(this.__uniqueID),this._parent=null,this.onEnterFrame=a.onEnterFrame||null,this.onMouseOver=a.onMouseOver||null,this.onMouseOut=a.onMouseOut||null,this.onMouseMove=a.onMouseMove||null,this.onMouseDown=a.onMouseDown||null,this.onMouseUp=a.onMouseUp||null,this.onTouchStart=a.onTouchStart||null,this.onTouchMove=a.onTouchMove||null,this.onTouchEnd=a.onTouchEnd||null,this.onTouchCanceled=a.onTouchCanceled||null,this.onResize=a.onResize||null,this.init=a.init||null,DisplayObject.call(this,a),null!==this.init&&this.init()}function ResourceLoader(){this._loadedResources=0,this._totalResources=0,this._resourceList=[]}function Stage(a,b){b=b||{},b._name="stage";var c,d,e,f=this,g=b.frameRate||0,h=null,i=document.getElementById(a),j=i.getContext("2d"),k=b.displayState||"dynamic",l=0;Object.defineProperty(this,"frameRate",{get:function(){return g},set:function(a){a!==g&&(g=a)}}),Object.defineProperty(this,"displayState",{get:function(){return k},set:function(a){k=a,c()}}),e=function(){c(),f.trigger("onResize")},d=function(a){(a-l>=1e3/g||0===g)&&(l=a,j.clearRect(0,0,i.width,i.height),f.tickGraphics(j,Mouse.event),f.trigger("tickLogic",null,!0),f.trigger("onEnterFrame"),Mouse.clear(),Key.clear()),h=window.requestAnimationFrame(d)},c=function(){i.width=i.offsetWidth,i.height=i.offsetHeight,"original"==k?(f._x=(i.width-f._width)/2,f._y=(i.height-f._height)/2,f._scaleX=1,f._scaleY=1):"stretch"==k?(f._x=0,f._y=0,f._scaleX=i.width/f._width,f._scaleY=i.height/f._height):"fit"==k?(f._x=0,f._y=0,f._scaleX=i.width/f._width,f._scaleY=i.height/f._height,f._scaleX>f._scaleY?(f._scaleX=f._scaleY,f._x=(i.width-f._width*f._scaleX)/2):(f._scaleY=f._scaleX,f._y=(i.height-f._height*f._scaleY)/2)):"dynamic"==k&&(f._width=i.offsetWidth,f._height=i.offsetHeight,f._x=0,f._y=0,f._scaleX=1,f._scaleY=1)},this.onResize=null,this.onBlur=null,this.onFocus=null,this.play=function(){f.isPlaying()||(h=window.requestAnimationFrame(d))},this.isPlaying=function(){return null!==h},this.stop=function(){f.isPlaying()&&(window.cancelAnimationFrame(h),h=null,f.tickGraphics(j,Mouse.event))},b._graphic="stage",MovieClip.call(this,b),Mouse.register(i),window.addEventListener("resize",e),window.addEventListener("blur",function(a){f.trigger("onBlur")}),window.addEventListener("focus",function(a){f.trigger("onFocus")}),e()}function Tween(a,b){this.start=a.start||{},this.end=a.end||!1,this.frames=a.frames||1,this.type=a.type||"linearTween",this.repeat=a.repeat||!1,this.targets=a.targets||[],this.target=null,this.current_frame=0,this.callback=void 0===b?null:b,this.targets.forEach(this.initStart)}DisplayObject.prototype=Object.create(EventObject.prototype),DisplayObject.prototype.getDepth=function(){return this.__depth__},DisplayObject.prototype.setDepth=function(a){this.__depth__=a},Object.defineProperty(DisplayObject.prototype,"_depth",{get:function(){return this.getDepth()},set:function(a){this.setDepth(a)}}),DisplayObject.prototype.addFilter=function(a){return this.__filters.push(a),this},DisplayObject.prototype.removeFilter=function(a){return this.__filters.splice(this.__filters.indexOf(a),1),this},DisplayObject.prototype.applyContext=function(a){1!==this._alpha&&(a.globalAlpha*=this._alpha),"inherit"!==this._smoothImage&&(a.imageSmoothingEnabled=this._smoothImage),this.__t.reset(),0===this._x&&0===this._y||this.__t.translate(this._x,this._y),1===this._scaleX&&1===this._scaleY||this.__t.scaleNonUniform(this._scaleX,this._scaleY),0!==this._rotation&&this.__t.rotate(this._rotation),0!==this._skewX&&this.__t.skewX(this._skewX),0!==this._skewY&&this.__t.skewY(this._skewY),0===this._originX&&0===this._originY||this.__t.translate(this._originX,this._originY),a.transform(this.__t.a,this.__t.b,this.__t.c,this.__t.d,this.__t.e,this.__t.f),this.__t.inverse()},DisplayObject.prototype.renderGraphics=function(a){void 0!==this._graphicArgs.fillStyle&&(a.fillStyle=this._graphicArgs.fillStyle),void 0!==this._graphicArgs.strokeStyle&&(a.strokeStyle=this._graphicArgs.strokeStyle),void 0!==this._graphicArgs.lineWidth&&(a.lineWidth=this._graphicArgs.lineWidth),this.__filters.length&&(a.filter=this.__filters.join(" ")),"stage"===this._graphic?(a.beginPath(),a.rect(0,0,this._width,this._height),a.clip()):"rectangle"===this._graphic?(a.beginPath(),a.rect(0,0,this._width,this._height),void 0!==this._graphicArgs.fillStyle&&a.fill(),void 0!==this._graphicArgs.strokeStyle&&a.stroke()):"ellipse"===this._graphic?(a.beginPath(),a.ellipse(0,0,this._width/2,this._height/2,this._graphicArgs.rotation||0,this._graphicArgs.startAngle||0,this._graphicArgs.endAngle||2*Math.PI,this._graphicArgs.anticlockwise||!1),void 0!==this._graphicArgs.fillStyle&&a.fill(),void 0!==this._graphicArgs.strokeStyle&&a.stroke()):"text"===this._graphic?(void 0!==this._graphicArgs.font&&(a.font=this._graphicArgs.font),void 0!==this._graphicArgs.textAlign&&(a.textAlign=this._graphicArgs.textAlign),void 0!==this._graphicArgs.textBaseline&&(a.textBaseline=this._graphicArgs.textBaseline),void 0!==this._graphicArgs.fillStyle&&a.fillText(this._graphicArgs.text||"Text Graphic",0,0),void 0!==this._graphicArgs.strokeStyle&&a.strokeText(this._graphicArgs.text||"Text Graphic",0,0)):"image"===this._graphic?(a.beginPath(),a.rect(0,0,this._width,this._height),null===this._width||null===this._height?a.drawImage(this._graphicArgs.image,0,0):a.drawImage(this._graphicArgs.image,0,0,this._width,this._height),void 0!==this._graphicArgs.strokeStyle&&a.stroke()):"imageSprite"===this._graphic&&a.drawImage(this._graphicArgs.image,this._graphicArgs.sx,this._graphicArgs.sy,this._graphicArgs.swidth,this._graphicArgs.sheight,0,0,this._width,this._height)},EventObject.prototype.trigger=function(a,b){this[a]&&this[a](b),this.__eventListeners[a]&&this.__eventListeners[a].forEach(function(a){a(b)}),this.__listeners.forEach(function(c){c[a]&&c[a](b)})},EventObject.prototype.addListener=function(a){this.__listeners.push(a)},EventObject.prototype.removeListener=function(a){for(var b=0;b<this.__listeners.length;b++)if(this.__listeners[b]==a){delete this.__listeners[b],this.__listeners.splice(b,1);break}},EventObject.prototype.addEventListener=function(a,b){this.__eventListeners[a]||(this.__eventListeners[a]=[]),this.__eventListeners[a].push(b)},EventObject.prototype.removeEventListener=function(a,b){if(this.__eventListeners[a])for(var c=0;c<this.__eventListeners[a].length;c++)if(this.__eventListeners[a][c]===b){delete this.__eventListeners[a][c],this.__eventListeners[a].splice(c,1);break}},FilterBlur.prototype.isFilterable=function(){return 0!==this.blur},FilterBlur.prototype.toString=function(){return"blur("+this.blur+this.unit+")"},FilterBrightness.prototype.isFilterable=function(){return 1!==this.brightness},FilterBrightness.prototype.toString=function(){return"brightness("+this.brightness+this.unit+")"},FilterContrast.prototype.isFilterable=function(){return 1!==this.contrast},FilterContrast.prototype.toString=function(){return"contrast("+this.contrast+this.unit+")"},FilterDropShadow.prototype.isFilterable=function(){return null!==this.color},FilterDropShadow.prototype.toString=function(){return"drop-shadow("+this.x+this.xunit+" "+this.y+this.yunit+" "+this.blur+this.bunit+" "+this.color+")"},FilterGrayScale.prototype.isFilterable=function(){return 0!==this.grayscale},FilterGrayScale.prototype.toString=function(){return"grayscale("+this.grayscale+this.unit+")"},FilterHueRotate.prototype.isFilterable=function(){return 0!==this.huerotate},FilterHueRotate.prototype.toString=function(){return"hue-rotate("+this.huerotate+this.unit+")"},FilterInvert.prototype.isFilterable=function(){return 0!==this.invert},FilterInvert.prototype.toString=function(){return"invert("+this.invert+this.unit+")"},FilterSaturate.prototype.isFilterable=function(){return 1!==this.saturate},FilterSaturate.prototype.toString=function(){return"saturate("+this.saturate+this.unit+")"},FilterSepia.prototype.isFilterable=function(){return 0!==this.sepia},FilterSepia.prototype.toString=function(){return"sepia("+this.sepia+this.unit+")"};var Key={BACKSPACE:8,CAPSLOCK:20,CONTROL:17,DELETEKEY:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,PGDN:34,PGUP:33,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,_state:{},_justPressed:{},_justReleased:{},_lastKeyCode:null,_onPress:function(a){void 0===Key._state[a.keyCode]&&(Key._lastKeyCode=a.keyCode,null!==Key.onKeyDown&&Key.onKeyDown(),Key._justPressed[a.keyCode]=!0),Key._state[a.keyCode]=!0},_onRelease:function(a){Key._state[a.keyCode]&&(Key._lastKeyCode=a.keyCode,null!==Key.onKeyUp&&Key.onKeyUp(),Key._justReleased[a.keyCode]=!0,delete Key._state[a.keyCode])},onKeyDown:null,onKeyUp:null,clear:function(){delete Key._justReleased,Key._justReleased={},delete Key._justPressed,Key._justPressed={}},justDown:function(a){return Key._justPressed[a]||!1},justUp:function(a){return Key._justReleased[a]||!1},isDown:function(a){return Key._state[a]||!1},getCode:function(){return Key._lastKeyCode}};document.addEventListener("keydown",Key._onPress),document.addEventListener("keyup",Key._onRelease),Matrix.PIDegree=Math.PI/180,Matrix.prototype.a=1,Matrix.prototype.b=0,Matrix.prototype.c=0,Matrix.prototype.d=1,Matrix.prototype.e=0,Matrix.prototype.f=0,Matrix.prototype.reset=function(){this.a=1,this.b=0,this.c=0,this.d=1,this.e=0,this.f=0},Matrix.prototype.translate=function(a,b){this.multiply(1,0,0,1,a,b)},Matrix.prototype.scaleNonUniform=function(a,b){this.multiply(a,0,0,b,0,0)},Matrix.prototype.scaleX=function(a){this.multiply(a,0,0,1,0,0)},Matrix.prototype.scaleY=function(a){this.multiply(1,0,0,a,0,0)},Matrix.prototype.rotate=function(a){this.multiply(Math.cos(a),Math.sin(a),-Math.sin(a),Math.cos(a),0,0)},Matrix.prototype.skewX=function(a){this.multiply(1,0,Math.tan(a*Matrix.PIDegree),1,0,0)},Matrix.prototype.skewY=function(a){this.multiply(1,Math.tan(a*Matrix.PIDegree),0,1,0,0)},Matrix.prototype.inverse=function(){var a=this.det();this.setTransformation(this.d/a,-this.b/a,-this.c/a,this.a/a,(this.c*this.f-this.d*this.e)/a,(this.b*this.e-this.a*this.f)/a)},Matrix.prototype.det=function(){return this.a*this.d-this.c*this.b},Matrix.prototype.setTransformation=function(a,b,c,d,e,f){this.a=a,this.b=b,this.c=c,this.d=d,this.e=e,this.f=f},Matrix.prototype.multiply=function(a,b,c,d,e,f){this.setTransformation(this.a*a+this.c*b,this.b*a+this.d*b,this.a*c+this.c*d,this.b*c+this.d*d,this.a*e+this.c*f+this.e,this.b*e+this.d*f+this.f)};var Mouse={event:{type:"mouse",x:0,y:0,globalX:0,globalY:0,move:!1,down:!1,up:!1},touch:{type:"touch",list:[],start:!1,move:!1,end:!1,cancel:!1},register:function(a){a.addEventListener("mousemove",Mouse._onMouseMove),a.addEventListener("mousedown",Mouse._onMouseDown),a.addEventListener("mouseup",Mouse._onMouseUp),a.addEventListener("touchstart",Mouse._onTouchStart),a.addEventListener("touchmove",Mouse._onTouchMove),a.addEventListener("touchend",Mouse._onTouchEnd),a.addEventListener("touchcancel",Mouse._onTouchCancel)},clear:function(){this.event.move=!1,this.event.down=!1,this.event.up=!1,this.touch.start=!1,this.touch.move=!1,this.touch.end=!1,this.touch.cancel=!1,this.touch.list=[]},updateMouse:function(a){this.event.x=a.offsetX,this.event.y=a.offsetY,this.event.globalX=a.offsetX,this.event.globalY=a.offsetY},updateTouch:function(a){},_onMouseMove:function(a){Mouse.updateMouse(a),Mouse.event.move=!0},_onMouseDown:function(a){Mouse.updateMouse(a),Mouse.event.down=!0},_onMouseUp:function(a){Mouse.updateMouse(a),Mouse.event.up=!0},_onTouchStart:function(a){Mouse.update(a),Mouse.touch.start=!0},_onTouchMove:function(a){Mouse.update(a),Mouse.touch.move=!0},_onTouchEnd:function(a){Mouse.update(a),Mouse.touch.end=!0},_onTouchCancel:function(a){Mouse.update(a),Mouse.touch.cancel=!0}};MovieClip.prototype=Object.create(DisplayObject.prototype),MovieClip.objectCount=0,MovieClip.getUniqueName=function(a){return"movieclip"+a},MovieClip.prototype.depthCompare=function(a,b){return a._depth==b._depth?a.__uniqueID-b.__uniqueID:a._depth-b._depth},MovieClip.prototype.__recalculateDepth__=!1,MovieClip.prototype.setDepth=function(a){DisplayObject.prototype.setDepth.call(this,a),this._parent&&(this._parent.__recalculateDepth__=!0)},MovieClip.prototype.addChild=function(a){return a._parent=this,this[a._name]=a,this.__children.push(a),this._parent&&(this._parent.__recalculateDepth__=!0),a},MovieClip.prototype.removeChild=function(a){return this.__children.splice(this.__children.indexOf(a),1),a._parent=null,delete this[a._name],this},MovieClip.tweenCount=0,MovieClip.prototype.addTween=function(a,b){return void 0===b&&(b="tween"+ ++MovieClip.tweenCount),this.__tweens[b]&&delete this.__tweens[b],a.setTarget(this),this.__tweens[b]=a,this},MovieClip.prototype.trigger=function(a,b,c){c||DisplayObject.prototype.trigger.call(this,a,b),this.__children.forEach(function(d){d.trigger(a,b,c)}),c&&DisplayObject.prototype.trigger.call(this,a,b)},MovieClip.prototype.tickLogic=function(){this.isMouseOver()?(this.__prevMouseOver===!1&&DisplayObject.prototype.trigger.call(this,"onMouseOver",this.__mouseEvent),this.__mouseEvent.move&&DisplayObject.prototype.trigger.call(this,"onMouseMove",this.__mouseEvent),this.__mouseEvent.down&&DisplayObject.prototype.trigger.call(this,"onMouseDown",this.__mouseEvent),this.__mouseEvent.up&&DisplayObject.prototype.trigger.call(this,"onMouseUp",this.__mouseEvent)):this.__prevMouseOver&&DisplayObject.prototype.trigger.call(this,"onMouseOut",this.__mouseEvent),this.__prevMouseOver=this.isMouseOver();for(var a in this.__tweens)this.__tweens[a].tick(),this.__tweens[a].isComplete()&&delete this.__tweens[a]},MovieClip.prototype.tickGraphics=function(a,b){this.__recalculateDepth__&&(this.__children.sort(this.depthCompare),this.__recalculateDepth__=!1),this._visible&&(a.save(),this.applyContext(a),b={type:"mouse",parentEvent:b,target:this._name,globalX:b.globalX,globalY:b.globalY,x:this.__t.a*b.x+this.__t.c*b.y+this.__t.e,y:this.__t.b*b.x+this.__t.d*b.y+this.__t.f,move:b.move,up:b.up,down:b.down},this.renderGraphics(a),this.setMouseOver(a.isPointInPath(b.globalX,b.globalY)),this.__mouseEvent=b,this.__children.forEach(function(c){c.tickGraphics(a,b)}),a.restore())},MovieClip.prototype.setMouseOver=function(a){this.__mouseOver=a,this._parent&&a===!0&&this._parent.setMouseOver(a)},MovieClip.prototype.isMouseOver=function(){return this.__mouseOver},MovieClip.prototype.isMouseDown=function(){return this.__mouseOver&&this.__mouseEvent.down},MovieClip.prototype.isMouseUp=function(){return this.__mouseOver&&this.__mouseEvent.up},ResourceLoader.prototype.loadImage=function(a,b,c){this[a]=new Image,this[a].onload=c,this[a].src=b,this._resourceList.push(this[a])},ResourceLoader.prototype.loadImages=function(a,b){var c=this,d=function(){c._loadedResources++,b&&b(c._totalResources,c._loadedResources,this)};for(var e in a)c._totalResources++,c.loadImage(e,a[e],d)},Stage.prototype=Object.create(MovieClip.prototype),Tween.prototype.setTarget=function(a){this.target=a,this.end&&this.initStart(this)},Tween.prototype.initStart=function(a){a.start||(a.start={});for(var b in a.end)"number"==typeof a.target[b]?a.start[b]=a.target[b]:delete a.end[b],a.end[b]===a.start[b]&&(delete a.end[b],delete a.start[b])},Tween.prototype.tick=function(){if(!this.isComplete()){this.current_frame++,this.end&&this.advanceTarget(this);for(var a=0;a<this.targets.length;a++)this.advanceTarget(this.targets[a]);this.isComplete()&&(null!==this.callback&&this.callback(),this.repeat&&this.reset())}},Tween.prototype.advanceTarget=function(a){for(var b in a.end)a.target[b]=this[a.type||this.type](this.current_frame,a.start[b],a.end[b]-a.start[b],this.frames)},Tween.prototype.isComplete=function(){return this.frames==this.current_frame},Tween.prototype.reset=function(){this.current_frame=0},Tween.prototype.linearTween=function(a,b,c,d){return c*a/d+b},Tween.prototype.easeInOutSine=function(a,b,c,d){return-c/2*(Math.cos(Math.PI*a/d)-1)+b},Tween.prototype.easeInQuad=function(a,b,c,d){return c*(a/=d)*a+b},Tween.prototype.easeOutQuad=function(a,b,c,d){return-c*(a/=d)*(a-2)+b},Tween.prototype.easeInOutQuad=function(a,b,c,d){return(a/=d/2)<1?c/2*a*a+b:-c/2*(--a*(a-2)-1)+b},Tween.prototype.easeInCubic=function(a,b,c,d){return c*(a/=d)*a*a+b},Tween.prototype.easeOutCubic=function(a,b,c,d){return c*((a=a/d-1)*a*a+1)+b},Tween.prototype.easeInOutCubic=function(a,b,c,d){return(a/=d/2)<1?c/2*a*a*a+b:c/2*((a-=2)*a*a+2)+b},Tween.prototype.easeInQuart=function(a,b,c,d){return c*(a/=d)*a*a*a+b},Tween.prototype.easeOutQuart=function(a,b,c,d){return-c*((a=a/d-1)*a*a*a-1)+b},Tween.prototype.easeInOutQuart=function(a,b,c,d){return(a/=d/2)<1?c/2*a*a*a*a+b:-c/2*((a-=2)*a*a*a-2)+b},Tween.prototype.easeInQuint=function(a,b,c,d){return c*(a/=d)*a*a*a*a+b},Tween.prototype.easeOutQuint=function(a,b,c,d){return c*((a=a/d-1)*a*a*a*a+1)+b},Tween.prototype.easeInOutQuint=function(a,b,c,d){return(a/=d/2)<1?c/2*a*a*a*a*a+b:c/2*((a-=2)*a*a*a*a+2)+b},Tween.prototype.easeInSine=function(a,b,c,d){return-c*Math.cos(a/d*(Math.PI/2))+c+b},Tween.prototype.easeOutSine=function(a,b,c,d){return c*Math.sin(a/d*(Math.PI/2))+b},Tween.prototype.easeInExpo=function(a,b,c,d){return 0===a?b:c*Math.pow(2,10*(a/d-1))+b},Tween.prototype.easeOutExpo=function(a,b,c,d){return a===d?b+c:c*(-Math.pow(2,-10*a/d)+1)+b},Tween.prototype.easeInOutExpo=function(a,b,c,d){return 0===a?b:a===d?b+c:(a/=d/2)<1?c/2*Math.pow(2,10*(a-1))+b:c/2*(-Math.pow(2,-10*--a)+2)+b},Tween.prototype.easeInCirc=function(a,b,c,d){return-c*(Math.sqrt(1-(a/=d)*a)-1)+b},Tween.prototype.easeOutCirc=function(a,b,c,d){return c*Math.sqrt(1-(a=a/d-1)*a)+b},Tween.prototype.easeInOutCirc=function(a,b,c,d){return(a/=d/2)<1?-c/2*(Math.sqrt(1-a*a)-1)+b:c/2*(Math.sqrt(1-(a-=2)*a)+1)+b},Tween.prototype.easeInElastic=function(a,b,c,d){var e=1.70158,f=0,g=c;return 0===a?b:1===(a/=d)?b+c:(f||(f=.3*d),g<Math.abs(c)?(g=c,e=f/4):e=f/(2*Math.PI)*Math.asin(c/g),-(g*Math.pow(2,10*(a-=1))*Math.sin((a*d-e)*(2*Math.PI)/f))+b)},Tween.prototype.easeOutElastic=function(a,b,c,d){var e=1.70158,f=0,g=c;return 0===a?b:1===(a/=d)?b+c:(f||(f=.3*d),g<Math.abs(c)?(g=c,e=f/4):e=f/(2*Math.PI)*Math.asin(c/g),g*Math.pow(2,-10*a)*Math.sin((a*d-e)*(2*Math.PI)/f)+c+b)},Tween.prototype.easeInOutElastic=function(a,b,c,d){var e=1.70158,f=0,g=c;return 0===a?b:2===(a/=d/2)?b+c:(f||(f=d*(.3*1.5)),g<Math.abs(c)?(g=c,e=f/4):e=f/(2*Math.PI)*Math.asin(c/g),a<1?-.5*(g*Math.pow(2,10*(a-=1))*Math.sin((a*d-e)*(2*Math.PI)/f))+b:g*Math.pow(2,-10*(a-=1))*Math.sin((a*d-e)*(2*Math.PI)/f)*.5+c+b)},Tween.prototype.easeInBack=function(a,b,c,d,e){return void 0===e&&(e=1.70158),c*(a/=d)*a*((e+1)*a-e)+b},Tween.prototype.easeOutBack=function(a,b,c,d,e){return void 0===e&&(e=1.70158),c*((a=a/d-1)*a*((e+1)*a+e)+1)+b},Tween.prototype.easeInOutBack=function(a,b,c,d,e){return void 0===e&&(e=1.70158),(a/=d/2)<1?c/2*(a*a*(((e*=1.525)+1)*a-e))+b:c/2*((a-=2)*a*(((e*=1.525)+1)*a+e)+2)+b},Tween.prototype.easeInBounce=function(a,b,c,d){return c-this.easeOutBounce(d-a,0,c,d)+b},Tween.prototype.easeOutBounce=function(a,b,c,d){return(a/=d)<1/2.75?c*(7.5625*a*a)+b:a<2/2.75?c*(7.5625*(a-=1.5/2.75)*a+.75)+b:a<2.5/2.75?c*(7.5625*(a-=2.25/2.75)*a+.9375)+b:c*(7.5625*(a-=2.625/2.75)*a+.984375)+b},Tween.prototype.easeInOutBounce=function(a,b,c,d){return a<d/2?.5*this.easeInBounce(2*a,0,c,d)+b:.5*this.easeOutBounce(2*a-d,0,c,d)+.5*c+b};