/*!
 * VERSION: 1.19.0
 * DATE: 2016-07-14
 * UPDATES AND DOCS AT: http://greensock.com
 * 
 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
 *
 * @license Copyright (c) 2008-2016, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var s=function(t){var e=[],i=t.length,s;for(s=0;s!==i;e.push(t[s++]));return e},r=function(t,e,i){var s=t.cycle,r,n;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i]):n[i%n.length];delete t.cycle},n=function(t,e,s){i.call(this,t,e,s),this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=n.prototype.render},a=1e-10,o=i._internals,l=o.isSelector,h=o.isArray,_=n.prototype=i.to({},.1,{}),u=[];n.version="1.19.0",_.constructor=n,_.kill()._gc=!1,n.killTweensOf=n.killDelayedCallsTo=i.killTweensOf,n.getTweensOf=i.getTweensOf,n.lagSmoothing=i.lagSmoothing,n.ticker=i.ticker,n.render=i.render,_.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),i.prototype.invalidate.call(this)},_.updateTo=function(t,e){var s=this.ratio,r=this.vars.immediateRender||t.immediateRender,n;e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(n in t)this.vars[n]=t[n];if(this._initted||r)if(e)this._initted=!1,r&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&i._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||r)for(var o=1/(1-s),l=this._firstPT,h;l;)h=l.s+l.c,l.c*=o,l.s=h-l.c,l=l._next;return this},_.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s=this._dirty?this.totalDuration():this._totalDuration,r=this._time,n=this._totalTime,l=this._cycle,h=this._duration,_=this._rawPrevTime,u,f,c,p,d,m,g,v;if(t>=s-1e-7?(this._totalTime=s,this._cycle=this._repeat,this._yoyo&&0!==(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=h,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(u=!0,f="onComplete",i=i||this._timeline.autoRemoveChildren),0===h&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(_<0||t<=0&&t>=-1e-7||_===a&&"isPause"!==this.data)&&_!==t&&(i=!0,_>a&&(f="onReverseComplete")),this._rawPrevTime=v=!e||t||_===t?t:a)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==n||0===h&&_>0)&&(f="onReverseComplete",u=this._reversed),t<0&&(this._active=!1,0===h&&(this._initted||!this.vars.lazy||i)&&(_>=0&&(i=!0),this._rawPrevTime=v=!e||t||_===t?t:a)),this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(p=h+this._repeatDelay,this._cycle=this._totalTime/p>>0,0!==this._cycle&&this._cycle===this._totalTime/p&&n<=t&&this._cycle--,this._time=this._totalTime-this._cycle*p,this._yoyo&&0!==(1&this._cycle)&&(this._time=h-this._time),this._time>h?this._time=h:this._time<0&&(this._time=0)),this._easeType?(d=this._time/h,m=this._easeType,g=this._easePower,(1===m||3===m&&d>=.5)&&(d=1-d),3===m&&(d*=2),1===g?d*=d:2===g?d*=d*d:3===g?d*=d*d*d:4===g&&(d*=d*d*d*d),1===m?this.ratio=1-d:2===m?this.ratio=d:this._time/h<.5?this.ratio=d/2:this.ratio=1-d/2):this.ratio=this._ease.getRatio(this._time/h)),r===this._time&&!i&&l===this._cycle)return void(n!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate")));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=r,this._totalTime=n,this._rawPrevTime=_,this._cycle=l,o.lazyTweens.push(this),void(this._lazy=[t,e]);this._time&&!u?this.ratio=this._ease.getRatio(this._time/h):u&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==r&&t>=0&&(this._active=!0),0===n&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,e,i):f||(f="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==h||e||this._callback("onStart"))),c=this._firstPT;c;)c.f?c.t[c.p](c.c*this.ratio+c.s):c.t[c.p]=c.c*this.ratio+c.s,c=c._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,e,i),e||(this._totalTime!==n||f)&&this._callback("onUpdate")),this._cycle!==l&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),f&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,e,i),u&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[f]&&this._callback(f),0===h&&this._rawPrevTime===a&&v!==a&&(this._rawPrevTime=0)))},n.to=function(t,e,i){return new n(t,e,i)},n.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new n(t,e,i)},n.fromTo=function(t,e,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new n(t,e,s)},n.staggerTo=n.allTo=function(t,e,a,o,_,f,c){o=o||0;var p=0,d=[],m=function(){a.onComplete&&a.onComplete.apply(a.onCompleteScope||this,arguments),_.apply(c||a.callbackScope||this,f||u)},g=a.cycle,v=a.startAt&&a.startAt.cycle,y,T,x,w;for(h(t)||("string"==typeof t&&(t=i.selector(t)||t),l(t)&&(t=s(t))),t=t||[],o<0&&(t=s(t),t.reverse(),o*=-1),y=t.length-1,x=0;x<=y;x++){T={};for(w in a)T[w]=a[w];if(g&&(r(T,t,x),null!=T.duration&&(e=T.duration,delete T.duration)),v){v=T.startAt={};for(w in a.startAt)v[w]=a.startAt[w];r(T.startAt,t,x)}T.delay=p+(T.delay||0),x===y&&_&&(T.onComplete=m),d[x]=new n(t[x],e,T),p+=o}return d},n.staggerFrom=n.allFrom=function(t,e,i,s,r,a,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,n.staggerTo(t,e,i,s,r,a,o)},n.staggerFromTo=n.allFromTo=function(t,e,i,s,r,a,o,l){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,n.staggerTo(t,e,s,r,a,o,l)},n.delayedCall=function(t,e,i,s,r){return new n(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:s,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:r,overwrite:0})},n.set=function(t,e){return new n(t,0,e)},n.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var f=function(t,e){for(var s=[],r=0,n=t._first;n;)n instanceof i?s[r++]=n:(e&&(s[r++]=n),s=s.concat(f(n,e)),r=s.length),n=n._next;return s},c=n.getAllTweens=function(e){return f(t._rootTimeline,e).concat(f(t._rootFramesTimeline,e))};n.killAll=function(t,i,s,r){null==i&&(i=!0),null==s&&(s=!0);var n=c(0!=r),a=n.length,o=i&&s&&r,l,h,_;for(_=0;_<a;_++)h=n[_],(o||h instanceof e||(l=h.target===h.vars.onComplete)&&s||i&&!l)&&(t?h.totalTime(h._reversed?0:h.totalDuration()):h._enabled(!1,!1))},n.killChildTweensOf=function(t,e){if(null!=t){var r=o.tweenLookup,a,_,u,f,c;if("string"==typeof t&&(t=i.selector(t)||t),l(t)&&(t=s(t)),h(t))for(f=t.length;--f>-1;)n.killChildTweensOf(t[f],e);else{a=[];for(u in r)for(_=r[u].target.parentNode;_;)_===t&&(a=a.concat(r[u].tweens)),_=_.parentNode;for(c=a.length,f=0;f<c;f++)e&&a[f].totalTime(a[f].totalDuration()),a[f]._enabled(!1,!1)}}};var p=function(t,i,s,r){i=i!==!1,s=s!==!1,r=r!==!1;for(var n=c(r),a=i&&s&&r,o=n.length,l,h;--o>-1;)h=n[o],(a||h instanceof e||(l=h.target===h.vars.onComplete)&&s||i&&!l)&&h.paused(t)};return n.pauseAll=function(t,e,i){p(!0,t,e,i)},n.resumeAll=function(t,e,i){p(!1,t,e,i)},n.globalTimeScale=function(e){var s=t._rootTimeline,r=i.ticker.time;return arguments.length?(e=e||a,s._startTime=r-(r-s._startTime)*s._timeScale/e,s=t._rootFramesTimeline,r=i.ticker.frame,s._startTime=r-(r-s._startTime)*s._timeScale/e,s._timeScale=t._rootTimeline._timeScale=e,e):s._timeScale},_.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},_.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},_.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},_.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},_.totalDuration=function(t){return arguments.length?this._repeat===-1?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=this._repeat===-1?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},_.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},_.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},_.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},n},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var s=function(t){e.call(this,t),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var i=this.vars,s,r;for(r in i)s=i[r],l(s)&&s.join("").indexOf("{self}")!==-1&&(i[r]=this._swapSelfInParams(s));l(i.tweens)&&this.add(i.tweens,0,i.align,i.stagger)},r=1e-10,n=i._internals,a=s._internals={},o=n.isSelector,l=n.isArray,h=n.lazyTweens,_=n.lazyRender,u=_gsScope._gsDefine.globals,f=function(t){var e={},i;for(i in t)e[i]=t[i];return e},c=function(t,e,i){var s=t.cycle,r,n;for(r in s)n=s[r],t[r]="function"==typeof n?n.call(e[i],i):n[i%n.length];delete t.cycle},p=a.pauseCallback=function(){},d=function(t){var e=[],i=t.length,s;for(s=0;s!==i;e.push(t[s++]));return e},m=s.prototype=new e;return s.version="1.19.0",m.constructor=s,m.kill()._gc=m._forcingPlayhead=m._hasPause=!1,m.to=function(t,e,s,r){var n=s.repeat&&u.TweenMax||i;return e?this.add(new n(t,e,s),r):this.set(t,s,r)},m.from=function(t,e,s,r){return this.add((s.repeat&&u.TweenMax||i).from(t,e,s),r)},m.fromTo=function(t,e,s,r,n){var a=r.repeat&&u.TweenMax||i;return e?this.add(a.fromTo(t,e,s,r),n):this.set(t,r,n)},m.staggerTo=function(t,e,r,n,a,l,h,_){var u=new s({onComplete:l,onCompleteParams:h,callbackScope:_,smoothChildTiming:this.smoothChildTiming}),p=r.cycle,m,g;for("string"==typeof t&&(t=i.selector(t)||t),t=t||[],o(t)&&(t=d(t)),n=n||0,n<0&&(t=d(t),t.reverse(),n*=-1),g=0;g<t.length;g++)m=f(r),m.startAt&&(m.startAt=f(m.startAt),m.startAt.cycle&&c(m.startAt,t,g)),p&&(c(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),u.to(t[g],e,m,g*n);return this.add(u,a)},m.staggerFrom=function(t,e,i,s,r,n,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,s,r,n,a,o)},m.staggerFromTo=function(t,e,i,s,r,n,a,o,l){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,s,r,n,a,o,l)},m.call=function(t,e,s,r){return this.add(i.delayedCall(0,t,e,s),r)},m.set=function(t,e,s){return s=this._parseTimeOrLabel(s,0,!0),null==e.immediateRender&&(e.immediateRender=s===this._time&&!this._paused),this.add(new i(t,0,e),s)},s.exportRoot=function(t,e){t=t||{},null==t.smoothChildTiming&&(t.smoothChildTiming=!0);var r=new s(t),n=r._timeline,a,o;for(null==e&&(e=!0),n._remove(r,!0),r._startTime=0,r._rawPrevTime=r._time=r._totalTime=n._time,a=n._first;a;)o=a._next,e&&a instanceof i&&a.target===a.vars.onComplete||r.add(a,a._startTime-a._delay),a=o;return n.add(r,0),r},m.add=function(r,n,a,o){var h,_,u,f,c,p;if("number"!=typeof n&&(n=this._parseTimeOrLabel(n,0,!0,r)),!(r instanceof t)){if(r instanceof Array||r&&r.push&&l(r)){for(a=a||"normal",o=o||0,h=n,_=r.length,u=0;u<_;u++)l(f=r[u])&&(f=new s({tweens:f})),this.add(f,h),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?h=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),h+=o;return this._uncache(!0)}if("string"==typeof r)return this.addLabel(r,n);if("function"!=typeof r)throw"Cannot add "+r+" into the timeline; it is not a tween, timeline, function, or string.";r=i.delayedCall(0,r)}if(e.prototype.add.call(this,r,n),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(c=this,p=c.rawTime()>r._startTime;c._timeline;)p&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},m.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var s=e.length;--s>-1;)this.remove(e[s]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},m._remove=function(t,i){e.prototype._remove.call(this,t,i);var s=this._last;return s?this._time>s._startTime+s._totalDuration/s._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},m.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insert=m.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},m.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},m.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},m.addPause=function(t,e,s,r){var n=i.delayedCall(0,p,s,r||this);return n.vars.onComplete=n.vars.onReverseComplete=e,n.data="isPause",this._hasPause=!0,this.add(n,t)},m.removeLabel=function(t){return delete this._labels[t],this},m.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},m._parseTimeOrLabel=function(e,i,s,r){var n;if(r instanceof t&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&l(r)))for(n=r.length;--n>-1;)r[n]instanceof t&&r[n].timeline===this&&this.remove(r[n]);if("string"==typeof i)return this._parseTimeOrLabel(i,s&&"number"==typeof e&&null==this._labels[i]?e-this.duration():0,s);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(n=e.indexOf("="),n===-1)return null==this._labels[e]?s?this._labels[e]=this.duration()+i:i:this._labels[e]+i;i=parseInt(e.charAt(n-1)+"1",10)*Number(e.substr(n+1)),e=n>1?this._parseTimeOrLabel(e.substr(0,n-1),0,s):this.duration()}return Number(e)+i},m.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),e!==!1)},m.stop=function(){return this.paused(!0)},m.gotoAndPlay=function(t,e){return this.play(t,e)},m.gotoAndStop=function(t,e){return this.pause(t,e)},m.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s=this._dirty?this.totalDuration():this._totalDuration,n=this._time,a=this._startTime,o=this._timeScale,l=this._paused,u,f,c,p,d,m,g;if(t>=s-1e-7)this._totalTime=this._time=s,this._reversed||this._hasPausedChild()||(f=!0,p="onComplete",d=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===r)&&this._rawPrevTime!==t&&this._first&&(d=!0,this._rawPrevTime>r&&(p="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,t=s+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==n||0===this._duration&&this._rawPrevTime!==r&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(p="onReverseComplete",f=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(d=f=!0,p="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(d=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,0===t&&f)for(u=this._first;u&&0===u._startTime;)u._duration||(f=!1),u=u._next;t=0,this._initted||(d=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=n)for(u=this._first;u&&u._startTime<=t&&!m;)u._duration||"isPause"!==u.data||u.ratio||0===u._startTime&&0===this._rawPrevTime||(m=u),u=u._next;else for(u=this._last;u&&u._startTime>=t&&!m;)u._duration||"isPause"===u.data&&u._rawPrevTime>0&&(m=u),u=u._prev;m&&(this._time=t=m._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==n&&this._first||i||d||m){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==n&&t>0&&(this._active=!0),0===n&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),g=this._time,g>=n)for(u=this._first;u&&(c=u._next,g===this._time&&(!this._paused||l));)(u._active||u._startTime<=g&&!u._paused&&!u._gc)&&(m===u&&this.pause(),u._reversed?u.render((u._dirty?u.totalDuration():u._totalDuration)-(t-u._startTime)*u._timeScale,e,i):u.render((t-u._startTime)*u._timeScale,e,i)),u=c;else for(u=this._last;u&&(c=u._prev,g===this._time&&(!this._paused||l));){if(u._active||u._startTime<=n&&!u._paused&&!u._gc){if(m===u){for(m=u._prev;m&&m.endTime()>this._time;)m.render(m._reversed?m.totalDuration()-(t-m._startTime)*m._timeScale:(t-m._startTime)*m._timeScale,e,i),m=m._prev;m=null,this.pause()}u._reversed?u.render((u._dirty?u.totalDuration():u._totalDuration)-(t-u._startTime)*u._timeScale,e,i):u.render((t-u._startTime)*u._timeScale,e,i)}u=c}this._onUpdate&&(e||(h.length&&_(),this._callback("onUpdate"))),p&&(this._gc||a!==this._startTime&&o===this._timeScale||(0===this._time||s>=this.totalDuration())&&(f&&(h.length&&_(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[p]&&this._callback(p)))}},m._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof s&&t._hasPausedChild())return!0;t=t._next}return!1},m.getChildren=function(t,e,s,r){r=r||-9999999999;for(var n=[],a=this._first,o=0;a;)a._startTime<r||(a instanceof i?e!==!1&&(n[o++]=a):(s!==!1&&(n[o++]=a),t!==!1&&(n=n.concat(a.getChildren(!0,e,s)),o=n.length))),a=a._next;return n},m.getTweensOf=function(t,e){var s=this._gc,r=[],n=0,a,o;for(s&&this._enabled(!0,!0),a=i.getTweensOf(t),o=a.length;--o>-1;)(a[o].timeline===this||e&&this._contains(a[o]))&&(r[n++]=a[o]);return s&&this._enabled(!1,!0),r},m.recent=function(){return this._recent},m._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},m.shiftChildren=function(t,e,i){i=i||0;for(var s=this._first,r=this._labels,n;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return this._uncache(!0)},m._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,r=!1;--s>-1;)i[s]._kill(t,e)&&(r=!0);return r},m.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return t!==!1&&(this._labels={}),this._uncache(!0)},m.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},m._enabled=function(t,i){if(t===this._gc)for(var s=this._first;s;)s._enabled(t,!0),s=s._next;return e.prototype._enabled.call(this,t,i)},m.totalTime=function(e,i,s){this._forcingPlayhead=!0;var r=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},m.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e=0,i=this._last,s=999999999999,r,n;i;)r=i._prev,i._dirty&&i.totalDuration(),i._startTime>s&&this._sortChildren&&!i._paused?this.add(i,i._startTime-i._delay):s=i._startTime,i._startTime<0&&!i._paused&&(e-=i._startTime,this._timeline.smoothChildTiming&&(this._startTime+=i._startTime/this._timeScale),this.shiftChildren(-i._startTime,!1,-9999999999),s=0),n=i._startTime+i._totalDuration/i._timeScale,n>e&&(e=n),i=r;this._duration=this._totalDuration=e,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},m.paused=function(e){if(!e)for(var i=this._first,s=this._time;i;)i._startTime===s&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},m.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},m.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},s},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var s=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},r=1e-10,n=e._internals,a=n.lazyTweens,o=n.lazyRender,l=_gsScope._gsDefine.globals,h=new i(null,null,1,0),_=s.prototype=new t;return _.constructor=s,_.kill()._gc=!1,s.version="1.19.0",_.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},_.addCallback=function(t,i,s,r){return this.add(e.delayedCall(0,t,s,r),i)},_.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),s=i.length,r=this._parseTimeOrLabel(e);--s>-1;)i[s]._startTime===r&&i[s]._enabled(!1,!1);return this},_.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},_.tweenTo=function(t,i){i=i||{};var s={ease:h,useFrames:this.usesFrames(),immediateRender:!1},r=i.repeat&&l.TweenMax||e,n,a,o;for(a in i)s[a]=i[a];return s.time=this._parseTimeOrLabel(t),n=Math.abs(Number(s.time)-this._time)/this._timeScale||.001,o=new r(this,n,s),s.onStart=function(){o.target.paused(!0),o.vars.time!==o.target.time()&&n===o.duration()&&o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale),i.onStart&&o._callback("onStart")},o},_.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=i.immediateRender!==!1;var s=this.tweenTo(e,i);return s.duration(Math.abs(s.vars.time-t)/this._timeScale||.001)},_.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s=this._dirty?this.totalDuration():this._totalDuration,n=this._duration,l=this._time,h=this._totalTime,_=this._startTime,u=this._timeScale,f=this._rawPrevTime,c=this._paused,p=this._cycle,d,m,g,v,y,T,x,w;if(t>=s-1e-7)this._locked||(this._totalTime=s,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(m=!0,v="onComplete",y=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||f<0||f===r)&&f!==t&&this._first&&(y=!0,f>r&&(v="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:r,this._yoyo&&0!==(1&this._cycle)?this._time=t=0:(this._time=n,t=n+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==l||0===n&&f!==r&&(f>0||t<0&&f>=0)&&!this._locked)&&(v="onReverseComplete",m=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(y=m=!0,v="onReverseComplete"):f>=0&&this._first&&(y=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=n||!e||t||this._rawPrevTime===t?t:r,0===t&&m)for(d=this._first;d&&0===d._startTime;)d._duration||(m=!1),d=d._next;t=0,this._initted||(y=!0)}else if(0===n&&f<0&&(y=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(T=n+this._repeatDelay,this._cycle=this._totalTime/T>>0,0!==this._cycle&&this._cycle===this._totalTime/T&&h<=t&&this._cycle--,this._time=this._totalTime-this._cycle*T,this._yoyo&&0!==(1&this._cycle)&&(this._time=n-this._time),this._time>n?(this._time=n,t=n+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if(t=this._time,t>=l)for(d=this._first;d&&d._startTime<=t&&!x;)d._duration||"isPause"!==d.data||d.ratio||0===d._startTime&&0===this._rawPrevTime||(x=d),d=d._next;else for(d=this._last;d&&d._startTime>=t&&!x;)d._duration||"isPause"===d.data&&d._rawPrevTime>0&&(x=d),d=d._prev;x&&(this._time=t=x._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==p&&!this._locked){var b=this._yoyo&&0!==(1&p),P=b===(this._yoyo&&0!==(1&this._cycle)),O=this._totalTime,k=this._cycle,S=this._rawPrevTime,R=this._time;if(this._totalTime=p*n,this._cycle<p?b=!b:this._totalTime+=n,this._time=l,this._rawPrevTime=0===n?f-1e-4:f,this._cycle=p,this._locked=!0,l=b?0:n,this.render(l,e,0===n),e||this._gc||this.vars.onRepeat&&this._callback("onRepeat"),l!==this._time)return;if(P&&(l=b?n+1e-4:-1e-4,this.render(l,!0,!1)),this._locked=!1,this._paused&&!c)return;this._time=R,this._totalTime=O,this._cycle=k,this._rawPrevTime=S}if(!(this._time!==l&&this._first||i||y||x))return void(h!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate")));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==h&&t>0&&(this._active=!0),0===h&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),w=this._time,w>=l)for(d=this._first;d&&(g=d._next,w===this._time&&(!this._paused||c));)(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)&&(x===d&&this.pause(),d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(t-d._startTime)*d._timeScale,e,i):d.render((t-d._startTime)*d._timeScale,e,i)),d=g;else for(d=this._last;d&&(g=d._prev,w===this._time&&(!this._paused||c));){if(d._active||d._startTime<=l&&!d._paused&&!d._gc){if(x===d){for(x=d._prev;x&&x.endTime()>this._time;)x.render(x._reversed?x.totalDuration()-(t-x._startTime)*x._timeScale:(t-x._startTime)*x._timeScale,e,i),x=x._prev;x=null,this.pause()}d._reversed?d.render((d._dirty?d.totalDuration():d._totalDuration)-(t-d._startTime)*d._timeScale,e,i):d.render((t-d._startTime)*d._timeScale,e,i)}d=g}this._onUpdate&&(e||(a.length&&o(),this._callback("onUpdate"))),v&&(this._locked||this._gc||_!==this._startTime&&u===this._timeScale||(0===this._time||s>=this.totalDuration())&&(m&&(a.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[v]&&this._callback(v)))},_.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var s=[],r=this.getChildren(t,e,i),n=0,a=r.length,o,l;for(o=0;o<a;o++)l=r[o],l.isActive()&&(s[n++]=l);return s},_.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e=this.getLabelsArray(),i=e.length,s;for(s=0;s<i;s++)if(e[s].time>t)return e[s].name;return null},_.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},_.getLabelsArray=function(){var t=[],e=0,i;for(i in this._labels)t[e++]={time:this._labels[i],name:i};return t.sort(function(t,e){return t.time-e.time}),t},_.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!==(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},_.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},_.totalDuration=function(e){return arguments.length?this._repeat!==-1&&e?this.timeScale(this.totalDuration()/e):this:(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=this._repeat===-1?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},_.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!==(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},_.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},_.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},_.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},_.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},s},!0),function(){var t=180/Math.PI,e=[],i=[],s=[],r={},n=_gsScope._gsDefine.globals,a=function(t,e,i,s){i===s&&(i=s-(s-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=s,this.da=s-t,this.ca=i-t,this.ba=e-t},o=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",l=function(t,e,i,s){var r={a:t},n={},a={},o={c:s},l=(t+e)/2,h=(e+i)/2,_=(i+s)/2,u=(l+h)/2,f=(h+_)/2,c=(f-u)/8;return r.b=l+(t-l)/4,n.b=u+c,r.c=n.a=(r.b+n.b)/2,n.c=a.a=(u+f)/2,a.b=f-c,o.b=_+(s-_)/4,a.c=o.a=(a.b+o.b)/2,[r,n,a,o]},h=function(t,r,n,a,o){var h=t.length-1,_=0,u=t[0].a,f,c,p,d,m,g,v,y,T,x,w,b,P;for(f=0;f<h;f++)m=t[_],c=m.a,p=m.d,d=t[_+1].d,o?(w=e[f],b=i[f],P=(b+w)*r*.25/(a?.5:s[f]||.5),g=p-(p-c)*(a?.5*r:0!==w?P/w:0),v=p+(d-p)*(a?.5*r:0!==b?P/b:0),y=p-(g+((v-g)*(3*w/(w+b)+.5)/4||0))):(g=p-(p-c)*r*.5,v=p+(d-p)*r*.5,y=p-(g+v)/2),g+=y,v+=y,m.c=T=g,0!==f?m.b=u:m.b=u=m.a+.6*(m.c-m.a),m.da=p-c,m.ca=T-c,m.ba=u-c,n?(x=l(c,u,T,p),t.splice(_,1,x[0],x[1],x[2],x[3]),_+=4):_++,u=v;m=t[_],m.b=u,m.c=u+.4*(m.d-u),m.da=m.d-m.a,m.ca=m.c-m.a,m.ba=u-m.a,n&&(x=l(m.a,u,m.c,m.d),t.splice(_,1,x[0],x[1],x[2],x[3]))},_=function(t,s,r,n){var o=[],l,h,_,u,f,c;if(n)for(t=[n].concat(t),h=t.length;--h>-1;)"string"==typeof(c=t[h][s])&&"="===c.charAt(1)&&(t[h][s]=n[s]+Number(c.charAt(0)+c.substr(2)));if(l=t.length-2,l<0)return o[0]=new a(t[0][s],0,0,t[l<-1?0:1][s]),o;for(h=0;h<l;h++)_=t[h][s],u=t[h+1][s],o[h]=new a(_,0,0,u),r&&(f=t[h+2][s],e[h]=(e[h]||0)+(u-_)*(u-_),i[h]=(i[h]||0)+(f-u)*(f-u));return o[h]=new a(t[h][s],0,0,t[h+1][s]),o},u=function(t,n,a,l,u,f){var c={},p=[],d=f||t[0],m,g,v,y,T,x,w,b;u="string"==typeof u?","+u+",":o,null==n&&(n=1);for(g in t[0])p.push(g);if(t.length>1){for(b=t[t.length-1],w=!0,m=p.length;--m>-1;)if(g=p[m],Math.abs(d[g]-b[g])>.05){w=!1;break}w&&(t=t.concat(),f&&t.unshift(f),t.push(t[1]),f=t[t.length-3])}for(e.length=i.length=s.length=0,m=p.length;--m>-1;)g=p[m],r[g]=u.indexOf(","+g+",")!==-1,c[g]=_(t,g,r[g],f);for(m=e.length;--m>-1;)e[m]=Math.sqrt(e[m]),i[m]=Math.sqrt(i[m]);if(!l){for(m=p.length;--m>-1;)if(r[g])for(v=c[p[m]],x=v.length-1,y=0;y<x;y++)T=v[y+1].da/i[y]+v[y].da/e[y]||0,s[y]=(s[y]||0)+T*T;for(m=s.length;--m>-1;)s[m]=Math.sqrt(s[m])}for(m=p.length,y=a?4:1;--m>-1;)g=p[m],v=c[g],h(v,n,a,l,r[g]),w&&(v.splice(0,y),v.splice(v.length-y,y));return c},f=function(t,e,i){e=e||"soft";var s={},r="cubic"===e?3:2,n="soft"===e,o=[],l,h,_,u,f,c,p,d,m,g,v;if(n&&i&&(t=[i].concat(t)),null==t||t.length<r+1)throw"invalid Bezier data";for(m in t[0])o.push(m);for(c=o.length;--c>-1;){for(m=o[c],s[m]=f=[],g=0,d=t.length,p=0;p<d;p++)l=null==i?t[p][m]:"string"==typeof(v=t[p][m])&&"="===v.charAt(1)?i[m]+Number(v.charAt(0)+v.substr(2)):Number(v),n&&p>1&&p<d-1&&(f[g++]=(l+f[g-2])/2),f[g++]=l;for(d=g-r+1,g=0,p=0;p<d;p+=r)l=f[p],h=f[p+1],_=f[p+2],u=2===r?0:f[p+3],f[g++]=v=3===r?new a(l,h,_,u):new a(l,(2*h+l)/3,(2*h+_)/3,_);f.length=g}return s},c=function(t,e,i){for(var s=1/i,r=t.length,n,a,o,l,h,_,u,f,c,p,d;--r>-1;)for(p=t[r],o=p.a,l=p.d-o,h=p.c-o,_=p.b-o,n=a=0,f=1;f<=i;f++)u=s*f,c=1-u,n=a-(a=(u*u*l+3*c*(u*h+c*_))*u),d=r*i+f-1,e[d]=(e[d]||0)+n*n},p=function(t,e){e=e>>0||6;var i=[],s=[],r=0,n=0,a=e-1,o=[],l=[],h,_,u,f;for(h in t)c(t[h],i,e);for(u=i.length,_=0;_<u;_++)r+=Math.sqrt(i[_]),f=_%e,l[f]=r,f===a&&(n+=r,f=_/e>>0,o[f]=l,s[f]=n,r=0,l=[]);return{length:n,lengths:s,segments:o
}},d=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.7",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var s=e.values||[],r={},n=s[0],a=e.autoRotate||i.vars.orientToBezier,o,l,h,_,c;this._autoRotate=a?a instanceof Array?a:[["x","y","rotation",a===!0?0:Number(a)||0]]:null;for(o in n)this._props.push(o);for(h=this._props.length;--h>-1;)o=this._props[h],this._overwriteProps.push(o),l=this._func[o]="function"==typeof t[o],r[o]=l?t[o.indexOf("set")||"function"!=typeof t["get"+o.substr(3)]?o:"get"+o.substr(3)]():parseFloat(t[o]),c||r[o]!==s[0][o]&&(c=r);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?u(s,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,c):f(s,e.type,r),this._segCount=this._beziers[o].length,this._timeRes){var d=p(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(a=this._autoRotate)for(this._initialRotations=[],a[0]instanceof Array||(this._autoRotate=a=[a]),h=a.length;--h>-1;){for(_=0;_<3;_++)o=a[h][_],this._func[o]="function"==typeof t[o]&&t[o.indexOf("set")||"function"!=typeof t["get"+o.substr(3)]?o:"get"+o.substr(3)];o=a[h][2],this._initialRotations[h]=(this._func[o]?this._func[o].call(this._target):this._target[o])||0,this._overwriteProps.push(o)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i=this._segCount,s=this._func,r=this._target,n=e!==this._startRatio,a,o,l,h,_,u,f,c,p,d;if(this._timeRes){if(p=this._lengths,d=this._curSeg,e*=this._length,l=this._li,e>this._l2&&l<i-1){for(c=i-1;l<c&&(this._l2=p[++l])<=e;);this._l1=p[l-1],this._li=l,this._curSeg=d=this._segments[l],this._s2=d[this._s1=this._si=0]}else if(e<this._l1&&l>0){for(;l>0&&(this._l1=p[--l])>=e;);0===l&&e<this._l1?this._l1=0:l++,this._l2=p[l],this._li=l,this._curSeg=d=this._segments[l],this._s1=d[(this._si=d.length-1)-1]||0,this._s2=d[this._si]}if(a=l,e-=this._l1,l=this._si,e>this._s2&&l<d.length-1){for(c=d.length-1;l<c&&(this._s2=d[++l])<=e;);this._s1=d[l-1],this._si=l}else if(e<this._s1&&l>0){for(;l>0&&(this._s1=d[--l])>=e;);0===l&&e<this._s1?this._s1=0:l++,this._s2=d[l],this._si=l}u=(l+(e-this._s1)/(this._s2-this._s1))*this._prec||0}else a=e<0?0:e>=1?i-1:i*e>>0,u=(e-a*(1/i))*i;for(o=1-u,l=this._props.length;--l>-1;)h=this._props[l],_=this._beziers[h][a],f=(u*u*_.da+3*o*(u*_.ca+o*_.ba))*u+_.a,this._mod[h]&&(f=this._mod[h](f,r)),s[h]?r[h](f):r[h]=f;if(this._autoRotate){var m=this._autoRotate,g,v,y,T,x,w,b;for(l=m.length;--l>-1;)h=m[l][2],w=m[l][3]||0,b=m[l][4]===!0?1:t,_=this._beziers[m[l][0]],g=this._beziers[m[l][1]],_&&g&&(_=_[a],g=g[a],v=_.a+(_.b-_.a)*u,T=_.b+(_.c-_.b)*u,v+=(T-v)*u,T+=(_.c+(_.d-_.c)*u-T)*u,y=g.a+(g.b-g.a)*u,x=g.b+(g.c-g.b)*u,y+=(x-y)*u,x+=(g.c+(g.d-g.c)*u-x)*u,f=n?Math.atan2(x-y,T-v)*b+w:this._initialRotations[l],this._mod[h]&&(f=this._mod[h](f,r)),s[h]?r[h](f):r[h]=f)}}}),m=d.prototype;d.bezierThrough=u,d.cubicToQuadratic=l,d._autoCSS=!0,d.quadraticToCubic=function(t,e,i){return new a(t,(2*e+t)/3,(2*e+i)/3,i)},d._cssRegister=function(){var t=n.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,s=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,n,a,o,l){e instanceof Array&&(e={values:e}),l=new d;var h=e.values,_=h.length-1,u=[],f={},c,p,m;if(_<0)return o;for(c=0;c<=_;c++)m=i(t,h[c],a,o,l,_!==c),u[c]=m.end;for(p in e)f[p]=e[p];return f.values=u,o=new r(t,"bezier",0,0,m.pt,2),o.data=m,o.plugin=l,o.setRatio=s,0===f.autoRotate&&(f.autoRotate=!0),!f.autoRotate||f.autoRotate instanceof Array||(c=f.autoRotate===!0?0:Number(f.autoRotate),f.autoRotate=null!=m.end.left?[["left","top","rotation",c,!1]]:null!=m.end.x&&[["x","y","rotation",c,!1]]),f.autoRotate&&(a._transform||a._enableTransforms(!1),m.autoRotate=a._target._gsTransform,m.proxy.rotation=m.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(m.proxy,f,a._tween),o}})}},m._mod=function(t){for(var e=this._overwriteProps,i=e.length,s;--i>-1;)s=t[e[i]],s&&"function"==typeof s&&(this._mod[e[i]]=s)},m._kill=function(t){var e=this._props,i,s;for(i in this._beziers)if(i in t)for(delete this._beziers[i],delete this._func[i],s=e.length;--s>-1;)e[s]===i&&e.splice(s,1);if(e=this._autoRotate)for(s=e.length;--s>-1;)t[e[s][2]]&&e.splice(s,1);return this._super._kill.call(this,t)}}(),_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=i.prototype.setRatio},s=_gsScope._gsDefine.globals,r,n,a,o,l={},h=i.prototype=new t("css");h.constructor=i,i.version="1.19.0",i.API=2,i.defaultTransformPerspective=0,i.defaultSkewType="compensated",i.defaultSmoothOrigin=!0,h="px",i.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var _=/(?:\-|\.|\b)(\d|\.|e\-)+/g,u=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,f=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,c=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,p=/(?:\d|\-|\+|=|#|\.)*/g,d=/opacity *= *([^)]*)/i,m=/opacity:([^;]*)/i,g=/alpha\(opacity *=.+?\)/i,v=/^(rgb|hsl)/,y=/([A-Z])/g,T=/-([a-z])/gi,x=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,w=function(t,e){return e.toUpperCase()},b=/(?:Left|Right|Width)/i,P=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,O=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,k=/,(?=[^\)]*(?:\(|$))/gi,S=/[\s,\(]/i,R=Math.PI/180,A=180/Math.PI,C={},D=document,M=function(t){return D.createElementNS?D.createElementNS("http://www.w3.org/1999/xhtml",t):D.createElement(t)},F=M("div"),z=M("img"),X=i._internals={_specialProps:l},I=navigator.userAgent,N,L,E,Y,B,j,U=function(){var t=I.indexOf("Android"),e=M("a");return E=I.indexOf("Safari")!==-1&&I.indexOf("Chrome")===-1&&(t===-1||Number(I.substr(t+8,1))>3),B=E&&Number(I.substr(I.indexOf("Version/")+8,1))<6,Y=I.indexOf("Firefox")!==-1,(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(I)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(I))&&(j=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),V=function(t){return d.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},q=function(t){window.console&&console.log(t)},W,Z,G="",Q="",H=function(t,e){e=e||F;var i=e.style,s,r;if(void 0!==i[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),s=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===i[s[r]+t];);return r>=0?(Q=3===r?"ms":s[r],G="-"+Q.toLowerCase()+"-",Q+t):null},K=D.defaultView?D.defaultView.getComputedStyle:function(){},J=i.getStyle=function(t,e,i,s,r){var n;return U||"opacity"!==e?(!s&&t.style[e]?n=t.style[e]:(i=i||K(t))?n=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(y,"-$1").toLowerCase()):t.currentStyle&&(n=t.currentStyle[e]),null==r||n&&"none"!==n&&"auto"!==n&&"auto auto"!==n?n:r):V(t)},tt=X.convertToPixels=function(t,s,r,n,a){if("px"===n||!n)return r;if("auto"===n||!r)return 0;var o=b.test(s),l=t,h=F.style,_=r<0,u=1===r,f,c,p;if(_&&(r=-r),u&&(r*=100),"%"===n&&s.indexOf("border")!==-1)f=r/100*(o?t.clientWidth:t.clientHeight);else{if(h.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==n&&l.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)h[o?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(l=t.parentNode||D.body,c=l._gsCache,p=e.ticker.frame,c&&o&&c.time===p)return c.width*r/100;h[o?"width":"height"]=r+n}l.appendChild(F),f=parseFloat(F[o?"offsetWidth":"offsetHeight"]),l.removeChild(F),o&&"%"===n&&i.cacheWidths!==!1&&(c=l._gsCache=l._gsCache||{},c.time=p,c.width=f/r*100),0!==f||a||(f=tt(t,s,r,n,!0))}return u&&(f/=100),_?-f:f},et=X.calculateOffset=function(t,e,i){if("absolute"!==J(t,"position",i))return 0;var s="left"===e?"Left":"Top",r=J(t,"margin"+s,i);return t["offset"+s]-(tt(t,e,parseFloat(r),r.replace(p,""))||0)},it=function(t,e){var i={},s,r,n;if(e=e||K(t,null))if(s=e.length)for(;--s>-1;)n=e[s],n.indexOf("-transform")!==-1&&Ct!==n||(i[n.replace(T,w)]=e.getPropertyValue(n));else for(s in e)s.indexOf("Transform")!==-1&&At!==s||(i[s]=e[s]);else if(e=t.currentStyle||t.style)for(s in e)"string"==typeof s&&void 0===i[s]&&(i[s.replace(T,w)]=e[s]);return U||(i.opacity=V(t)),r=Vt(t,e,!1),i.rotation=r.rotation,i.skewX=r.skewX,i.scaleX=r.scaleX,i.scaleY=r.scaleY,i.x=r.x,i.y=r.y,Mt&&(i.z=r.z,i.rotationX=r.rotationX,i.rotationY=r.rotationY,i.scaleZ=r.scaleZ),i.filters&&delete i.filters,i},st=function(t,e,i,s,r){var n={},a=t.style,o,l,h;for(l in i)"cssText"!==l&&"length"!==l&&isNaN(l)&&(e[l]!==(o=i[l])||r&&r[l])&&l.indexOf("Origin")===-1&&("number"!=typeof o&&"string"!=typeof o||(n[l]="auto"!==o||"left"!==l&&"top"!==l?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[l]||""===e[l].replace(c,"")?o:0:et(t,l),void 0!==a[l]&&(h=new yt(a,l,a[l],h))));if(s)for(l in s)"className"!==l&&(n[l]=s[l]);return{difs:n,firstMPT:h}},rt={width:["Left","Right"],height:["Top","Bottom"]},nt=["marginLeft","marginRight","marginTop","marginBottom"],at=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||K(t))[e]||0;if(t.getBBox&&Bt(t))return t.getBBox()[e]||0;var s=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=rt[e],n=r.length;for(i=i||K(t,null);--n>-1;)s-=parseFloat(J(t,"padding"+r[n],i,!0))||0,s-=parseFloat(J(t,"border"+r[n]+"Width",i,!0))||0;return s},ot=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var i=t.split(" "),s=t.indexOf("left")!==-1?"0%":t.indexOf("right")!==-1?"100%":i[0],r=t.indexOf("top")!==-1?"0%":t.indexOf("bottom")!==-1?"100%":i[1],n;if(i.length>3&&!e){for(i=t.split(", ").join(",").split(","),t=[],n=0;n<i.length;n++)t.push(ot(i[n]));return t.join(",")}return null==r?r="center"===s?"50%":"0":"center"===r&&(r="50%"),("center"===s||isNaN(parseFloat(s))&&(s+"").indexOf("=")===-1)&&(s="50%"),t=s+" "+r+(i.length>2?" "+i[2]:""),e&&(e.oxp=s.indexOf("%")!==-1,e.oyp=r.indexOf("%")!==-1,e.oxr="="===s.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(s.replace(c,"")),e.oy=parseFloat(r.replace(c,"")),e.v=t),e||t},lt=function(t,e){return"function"==typeof t&&(t=t(Z,W)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){return"function"==typeof t&&(t=t(Z,W)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},_t=function(t,e,i,s){var r=1e-6,n,a,o,l,h;return"function"==typeof t&&(t=t(Z,W)),null==t?l=e:"number"==typeof t?l=t:(n=360,a=t.split("_"),h="="===t.charAt(1),o=(h?parseInt(t.charAt(0)+"1",10)*parseFloat(a[0].substr(2)):parseFloat(a[0]))*(t.indexOf("rad")===-1?1:A)-(h?0:e),a.length&&(s&&(s[i]=e+o),t.indexOf("short")!==-1&&(o%=n,o!==o%(n/2)&&(o=o<0?o+n:o-n)),t.indexOf("_cw")!==-1&&o<0?o=(o+9999999999*n)%n-(o/n|0)*n:t.indexOf("ccw")!==-1&&o>0&&(o=(o-9999999999*n)%n-(o/n|0)*n)),l=e+o),l<r&&l>-r&&(l=0),l},ut={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ft=function(t,e,i){return t=t<0?t+1:t>1?t-1:t,255*(6*t<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0},ct=i.parseColor=function(t,e){var i,s,r,n,a,o,l,h,f,c,p;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ut[t])i=ut[t];else if("#"===t.charAt(0))4===t.length&&(s=t.charAt(1),r=t.charAt(2),n=t.charAt(3),t="#"+s+s+r+r+n+n),t=parseInt(t.substr(1),16),i=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=p=t.match(_),e){if(t.indexOf("=")!==-1)return t.match(u)}else a=Number(i[0])%360/360,o=Number(i[1])/100,l=Number(i[2])/100,r=l<=.5?l*(o+1):l+o-l*o,s=2*l-r,i.length>3&&(i[3]=Number(t[3])),i[0]=ft(a+1/3,s,r),i[1]=ft(a,s,r),i[2]=ft(a-1/3,s,r);else i=t.match(_)||ut.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=ut.black;return e&&!p&&(s=i[0]/255,r=i[1]/255,n=i[2]/255,h=Math.max(s,r,n),f=Math.min(s,r,n),l=(h+f)/2,h===f?a=o=0:(c=h-f,o=l>.5?c/(2-h-f):c/(h+f),a=h===s?(r-n)/c+(r<n?6:0):h===r?(n-s)/c+2:(s-r)/c+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},pt=function(t,e){var i=t.match(dt)||[],s=0,r=i.length?"":t,n,a,o;for(n=0;n<i.length;n++)a=i[n],o=t.substr(s,t.indexOf(a,s)-s),s+=o.length+a.length,a=ct(a,e),3===a.length&&a.push(1),r+=o+(e?"hsla("+a[0]+","+a[1]+"%,"+a[2]+"%,"+a[3]:"rgba("+a.join(","))+")";return r+t.substr(s)},dt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(h in ut)dt+="|"+h+"\\b";dt=new RegExp(dt+")","gi"),i.colorStringFilter=function(t){var e=t[0]+t[1],i;dt.test(e)&&(i=e.indexOf("hsl(")!==-1||e.indexOf("hsla(")!==-1,t[0]=pt(t[0],i),t[1]=pt(t[1],i)),dt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=i.colorStringFilter);var mt=function(t,e,i,s){if(null==t)return function(t){return t};var r=e?(t.match(dt)||[""])[0]:"",n=t.split(r).join("").match(f)||[],a=t.substr(0,t.indexOf(n[0])),o=")"===t.charAt(t.length-1)?")":"",l=t.indexOf(" ")!==-1?" ":",",h=n.length,u=h>0?n[0].replace(_,""):"",c;return h?c=e?function(t){var e,_,p,d;if("number"==typeof t)t+=u;else if(s&&k.test(t)){for(d=t.replace(k,"|").split("|"),p=0;p<d.length;p++)d[p]=c(d[p]);return d.join(",")}if(e=(t.match(dt)||[r])[0],_=t.split(e).join("").match(f)||[],p=_.length,h>p--)for(;++p<h;)_[p]=i?_[(p-1)/2|0]:n[p];return a+_.join(l)+l+e+o+(t.indexOf("inset")!==-1?" inset":"")}:function(t){var e,r,_;if("number"==typeof t)t+=u;else if(s&&k.test(t)){for(r=t.replace(k,"|").split("|"),_=0;_<r.length;_++)r[_]=c(r[_]);return r.join(",")}if(e=t.match(f)||[],_=e.length,h>_--)for(;++_<h;)e[_]=i?e[(_-1)/2|0]:n[_];return a+e.join(l)+o}:function(t){return t}},gt=function(t){return t=t.split(","),function(e,i,s,r,n,a,o){var l=(i+"").split(" "),h;for(o={},h=0;h<4;h++)o[t[h]]=l[h]=l[h]||l[(h-1)/2>>0];return r.parse(e,o,n,a)}},vt=X._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e=this.data,i=e.proxy,s=e.firstMPT,r=1e-6,n,a,o,l,h;s;)n=i[s.v],s.r?n=Math.round(n):n<r&&n>-r&&(n=0),s.t[s.p]=n,s=s._next;if(e.autoRotate&&(e.autoRotate.rotation=e.mod?e.mod(i.rotation,this.t):i.rotation),1===t||0===t)for(s=e.firstMPT,h=1===t?"e":"b";s;){if(a=s.t,a.type){if(1===a.type){for(l=a.xs0+a.s+a.xs1,o=1;o<a.l;o++)l+=a["xn"+o]+a["xs"+(o+1)];a[h]=l}}else a[h]=a.s+a.xs0;s=s._next}},yt=function(t,e,i,s,r){this.t=t,this.p=e,this.v=i,this.r=r,s&&(s._prev=this,this._next=s)},Tt=X._parseToProxy=function(t,e,i,s,r,n){var a=s,o={},l={},h=i._transform,_=C,u,f,c,p,d;for(i._transform=null,C=e,s=d=i.parse(t,e,s,r),C=_,n&&(i._transform=h,a&&(a._prev=null,a._prev&&(a._prev._next=null)));s&&s!==a;){if(s.type<=1&&(f=s.p,l[f]=s.s+s.c,o[f]=s.s,n||(p=new yt(s,"s",f,p,s.r),s.c=0),1===s.type))for(u=s.l;--u>0;)c="xn"+u,f=s.p+"_"+c,l[f]=s.data[c],o[f]=s[c],n||(p=new yt(s,c,f,p,s.rxp[c]));s=s._next}return{proxy:o,end:l,firstMPT:p,pt:d}},xt=X.CSSPropTween=function(t,e,i,s,n,a,l,h,_,u,f){this.t=t,this.p=e,this.s=i,this.c=s,this.n=l||e,t instanceof xt||o.push(this.n),this.r=h,this.type=a||0,_&&(this.pr=_,r=!0),this.b=void 0===u?i:u,this.e=void 0===f?i+s:f,n&&(this._next=n,n._prev=this)},wt=function(t,e,i,s,r,n){var a=new xt(t,e,i,s-i,r,-1,n);return a.b=i,a.e=a.xs0=s,a},bt=i.parseComplex=function(t,e,s,r,n,a,o,l,h,f){s=s||a||"","function"==typeof r&&(r=r(Z,W)),o=new xt(t,e,0,0,o,f?2:1,null,!1,l,s,r),r+="",n&&dt.test(r+s)&&(r=[s,r],i.colorStringFilter(r),s=r[0],r=r[1]);var c=s.split(", ").join(",").split(" "),p=r.split(", ").join(",").split(" "),d=c.length,m=N!==!1,g,v,y,T,x,w,b,P,O,S,R,A,C;for(r.indexOf(",")===-1&&s.indexOf(",")===-1||(c=c.join(" ").replace(k,", ").split(" "),p=p.join(" ").replace(k,", ").split(" "),d=c.length),d!==p.length&&(c=(a||"").split(" "),d=c.length),o.plugin=h,o.setRatio=f,dt.lastIndex=0,g=0;g<d;g++)if(T=c[g],x=p[g],P=parseFloat(T),P||0===P)o.appendXtra("",P,lt(x,P),x.replace(u,""),m&&x.indexOf("px")!==-1,!0);else if(n&&dt.test(T))A=x.indexOf(")")+1,A=")"+(A?x.substr(A):""),C=x.indexOf("hsl")!==-1&&U,T=ct(T,C),x=ct(x,C),O=T.length+x.length>6,O&&!U&&0===x[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(p[g]).join("transparent")):(U||(O=!1),C?o.appendXtra(O?"hsla(":"hsl(",T[0],lt(x[0],T[0]),",",!1,!0).appendXtra("",T[1],lt(x[1],T[1]),"%,",!1).appendXtra("",T[2],lt(x[2],T[2]),O?"%,":"%"+A,!1):o.appendXtra(O?"rgba(":"rgb(",T[0],x[0]-T[0],",",!0,!0).appendXtra("",T[1],x[1]-T[1],",",!0).appendXtra("",T[2],x[2]-T[2],O?",":A,!0),O&&(T=T.length<4?1:T[3],o.appendXtra("",T,(x.length<4?1:x[3])-T,A,!1))),dt.lastIndex=0;else if(w=T.match(_)){if(b=x.match(u),!b||b.length!==w.length)return o;for(y=0,v=0;v<w.length;v++)R=w[v],S=T.indexOf(R,y),o.appendXtra(T.substr(y,S-y),Number(R),lt(b[v],R),"",m&&"px"===T.substr(S+R.length,2),0===v),y=S+R.length;o["xs"+o.l]+=T.substr(y)}else o["xs"+o.l]+=o.l||o["xs"+o.l]?" "+x:x;if(r.indexOf("=")!==-1&&o.data){for(A=o.xs0+o.data.s,g=1;g<o.l;g++)A+=o["xs"+g]+o.data["xn"+g];o.e=A+o["xs"+g]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},Pt=9;for(h=xt.prototype,h.l=h.pr=0;--Pt>0;)h["xn"+Pt]=0,h["xs"+Pt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,i,s,r,n){var a=this,o=a.l;return a["xs"+o]+=n&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=s||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=r,a["xn"+o]=e,a.plugin||(a.xfirst=new xt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=r,a)):(a["xs"+o]+=e+(s||""),a)};var Ot=function(t,e){e=e||{},this.p=e.prefix?H(t)||t:t,l[t]=l[this.p]=this,this.format=e.formatter||mt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},kt=X._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var s=t.split(","),r=e.defaultValue,n,a;for(i=i||[r],n=0;n<s.length;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||r,a=new Ot(s[n],e)},St=X._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";kt(t,{parser:function(t,i,r,n,a,o,h){var _=s.com.greensock.plugins[e];return _?(_._cssRegister(),l[r].parse(t,i,r,n,a,o,h)):(q("Error: "+e+" js file not loaded."),a)}})}};h=Ot.prototype,h.parseComplex=function(t,e,i,s,r,n){var a=this.keyword,o,l,h,_,u,f;if(this.multi&&(k.test(i)||k.test(e)?(l=e.replace(k,"|").split("|"),h=i.replace(k,"|").split("|")):a&&(l=[e],h=[i])),h){for(_=h.length>l.length?h.length:l.length,o=0;o<_;o++)e=l[o]=l[o]||this.dflt,i=h[o]=h[o]||this.dflt,a&&(u=e.indexOf(a),f=i.indexOf(a),u!==f&&(f===-1?l[o]=l[o].split(a).join(""):u===-1&&(l[o]+=" "+a)));e=l.join(", "),i=h.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,s,this.pr,r,n)},h.parse=function(t,e,i,s,r,n,o){return this.parseComplex(t.style,this.format(J(t,this.p,a,!1,this.dflt)),this.format(e),r,n)},i.registerSpecialProp=function(t,e,i){kt(t,{parser:function(t,s,r,n,a,o,l){var h=new xt(t,r,0,0,a,2,r,!1,i);return h.plugin=o,h.setRatio=e(t,s,n._tween,r),h},priority:i})},i.useSVGTransformAttr=E||Y;var Rt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),At=H("transform"),Ct=G+"transform",Dt=H("transformOrigin"),Mt=null!==H("perspective"),Ft=X.Transform=function(){this.perspective=parseFloat(i.defaultTransformPerspective)||0,this.force3D=!(i.defaultForce3D===!1||!Mt)&&(i.defaultForce3D||"auto")},zt=window.SVGElement,Xt,It=function(t,e,i){var s=D.createElementNS("http://www.w3.org/2000/svg",t),r=/([a-z])([A-Z])/g,n;for(n in i)s.setAttributeNS(null,n.replace(r,"$1-$2").toLowerCase(),i[n]);return e.appendChild(s),s},Nt=D.documentElement,Lt=function(){var t=j||/Android/i.test(I)&&!window.chrome,e,i,s;return D.createElementNS&&!t&&(e=It("svg",Nt),i=It("rect",e,{width:100,height:50,x:100}),s=i.getBoundingClientRect().width,i.style[Dt]="50% 50%",i.style[At]="scaleX(0.5)",t=s===i.getBoundingClientRect().width&&!(Y&&Mt),Nt.removeChild(e)),t}(),Et=function(t,e,s,r,n,a){var o=t._gsTransform,l=Ut(t,!0),h,_,u,f,c,p,d,m,g,v,y,T,x,w;o&&(x=o.xOrigin,w=o.yOrigin),(!r||(h=r.split(" ")).length<2)&&(d=t.getBBox(),e=ot(e).split(" "),h=[(e[0].indexOf("%")!==-1?parseFloat(e[0])/100*d.width:parseFloat(e[0]))+d.x,(e[1].indexOf("%")!==-1?parseFloat(e[1])/100*d.height:parseFloat(e[1]))+d.y]),s.xOrigin=f=parseFloat(h[0]),s.yOrigin=c=parseFloat(h[1]),r&&l!==jt&&(p=l[0],d=l[1],m=l[2],g=l[3],v=l[4],y=l[5],T=p*g-d*m,_=f*(g/T)+c*(-m/T)+(m*y-g*v)/T,u=f*(-d/T)+c*(p/T)-(p*y-d*v)/T,f=s.xOrigin=h[0]=_,c=s.yOrigin=h[1]=u),o&&(a&&(s.xOffset=o.xOffset,s.yOffset=o.yOffset,o=s),n||n!==!1&&i.defaultSmoothOrigin!==!1?(_=f-x,u=c-w,o.xOffset+=_*l[0]+u*l[2]-_,o.yOffset+=_*l[1]+u*l[3]-u):o.xOffset=o.yOffset=0),a||t.setAttribute("data-svg-origin",h.join(" "))},Yt=function(t){try{return t.getBBox()}catch(t){}},Bt=function(t){return!!(zt&&t.getBBox&&t.getCTM&&Yt(t)&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},jt=[1,0,0,1,0,0],Ut=function(t,e){var i=t._gsTransform||new Ft,s=1e5,r=t.style,n,a,o,l,h,u;if(At?a=J(t,Ct,null,!0):t.currentStyle&&(a=t.currentStyle.filter.match(P),a=a&&4===a.length?[a[0].substr(4),Number(a[2].substr(4)),Number(a[1].substr(4)),a[3].substr(4),i.x||0,i.y||0].join(","):""),n=!a||"none"===a||"matrix(1, 0, 0, 1, 0, 0)"===a,n&&At&&((u="none"===K(t).display)||!t.parentNode)&&(u&&(l=r.display,r.display="block"),t.parentNode||(h=1,Nt.appendChild(t)),a=J(t,Ct,null,!0),n=!a||"none"===a||"matrix(1, 0, 0, 1, 0, 0)"===a,l?r.display=l:u&&Gt(r,"display"),h&&Nt.removeChild(t)),(i.svg||t.getBBox&&Bt(t))&&(n&&(r[At]+"").indexOf("matrix")!==-1&&(a=r[At],n=0),o=t.getAttribute("transform"),n&&o&&(o.indexOf("matrix")!==-1?(a=o,n=0):o.indexOf("translate")!==-1&&(a="matrix(1,0,0,1,"+o.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",")+")",n=0))),n)return jt;for(o=(a||"").match(_)||[],Pt=o.length;--Pt>-1;)l=Number(o[Pt]),o[Pt]=(h=l-(l|=0))?(h*s+(h<0?-.5:.5)|0)/s+l:l;return e&&o.length>6?[o[0],o[1],o[4],o[5],o[12],o[13]]:o},Vt=X.getTransform=function(t,s,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var a=r?t._gsTransform||new Ft:new Ft,o=a.scaleX<0,l=2e-5,h=1e5,_=Mt?parseFloat(J(t,Dt,s,!1,"0 0 0").split(" ")[2])||a.zOrigin||0:0,u=parseFloat(i.defaultTransformPerspective)||0,f,c,p,d,m,g;if(a.svg=!(!t.getBBox||!Bt(t)),a.svg&&(Et(t,J(t,Dt,s,!1,"50% 50%")+"",a,t.getAttribute("data-svg-origin")),Xt=i.useSVGTransformAttr||Lt),f=Ut(t),f!==jt){if(16===f.length){var v=f[0],y=f[1],T=f[2],x=f[3],w=f[4],b=f[5],P=f[6],O=f[7],k=f[8],S=f[9],R=f[10],C=f[12],D=f[13],M=f[14],F=f[11],z=Math.atan2(P,R),X,I,N,L,E,Y;a.zOrigin&&(M=-a.zOrigin,C=k*M-f[12],D=S*M-f[13],M=R*M+a.zOrigin-f[14]),a.rotationX=z*A,z&&(E=Math.cos(-z),Y=Math.sin(-z),X=w*E+k*Y,I=b*E+S*Y,N=P*E+R*Y,k=w*-Y+k*E,S=b*-Y+S*E,R=P*-Y+R*E,F=O*-Y+F*E,w=X,b=I,P=N),z=Math.atan2(-T,R),a.rotationY=z*A,z&&(E=Math.cos(-z),Y=Math.sin(-z),X=v*E-k*Y,I=y*E-S*Y,N=T*E-R*Y,S=y*Y+S*E,R=T*Y+R*E,F=x*Y+F*E,v=X,y=I,T=N),z=Math.atan2(y,v),a.rotation=z*A,z&&(E=Math.cos(-z),Y=Math.sin(-z),v=v*E+w*Y,I=y*E+b*Y,b=y*-Y+b*E,P=T*-Y+P*E,y=I),a.rotationX&&Math.abs(a.rotationX)+Math.abs(a.rotation)>359.9&&(a.rotationX=a.rotation=0,a.rotationY=180-a.rotationY),a.scaleX=(Math.sqrt(v*v+y*y)*h+.5|0)/h,a.scaleY=(Math.sqrt(b*b+S*S)*h+.5|0)/h,a.scaleZ=(Math.sqrt(P*P+R*R)*h+.5|0)/h,a.rotationX||a.rotationY?a.skewX=0:(a.skewX=w||b?Math.atan2(w,b)*A+a.rotation:a.skewX||0,Math.abs(a.skewX)>90&&Math.abs(a.skewX)<270&&(o?(a.scaleX*=-1,a.skewX+=a.rotation<=0?180:-180,a.rotation+=a.rotation<=0?180:-180):(a.scaleY*=-1,a.skewX+=a.skewX<=0?180:-180))),a.perspective=F?1/(F<0?-F:F):0,a.x=C,a.y=D,a.z=M,a.svg&&(a.x-=a.xOrigin-(a.xOrigin*v-a.yOrigin*w),a.y-=a.yOrigin-(a.yOrigin*y-a.xOrigin*b))}else if(!Mt||n||!f.length||a.x!==f[4]||a.y!==f[5]||!a.rotationX&&!a.rotationY){var B=f.length>=6,j=B?f[0]:1,U=f[1]||0,V=f[2]||0,q=B?f[3]:1;a.x=f[4]||0,a.y=f[5]||0,p=Math.sqrt(j*j+U*U),d=Math.sqrt(q*q+V*V),m=j||U?Math.atan2(U,j)*A:a.rotation||0,g=V||q?Math.atan2(V,q)*A+m:a.skewX||0,Math.abs(g)>90&&Math.abs(g)<270&&(o?(p*=-1,g+=m<=0?180:-180,m+=m<=0?180:-180):(d*=-1,g+=g<=0?180:-180)),a.scaleX=p,a.scaleY=d,a.rotation=m,a.skewX=g,Mt&&(a.rotationX=a.rotationY=a.z=0,a.perspective=u,a.scaleZ=1),a.svg&&(a.x-=a.xOrigin-(a.xOrigin*j+a.yOrigin*V),a.y-=a.yOrigin-(a.xOrigin*U+a.yOrigin*q))}a.zOrigin=_;for(c in a)a[c]<l&&a[c]>-l&&(a[c]=0)}return r&&(t._gsTransform=a,a.svg&&(Xt&&t.style[At]?e.delayedCall(.001,function(){Gt(t.style,At)}):!Xt&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),a},qt=function(t){var e=this.data,i=-e.rotation*R,s=i+e.skewX*R,r=1e5,n=(Math.cos(i)*e.scaleX*r|0)/r,a=(Math.sin(i)*e.scaleX*r|0)/r,o=(Math.sin(s)*-e.scaleY*r|0)/r,l=(Math.cos(s)*e.scaleY*r|0)/r,h=this.t.style,_=this.t.currentStyle,u,f;if(_){f=a,a=-o,o=-f,u=_.filter,h.filter="";var c=this.t.offsetWidth,m=this.t.offsetHeight,g="absolute"!==_.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+n+", M12="+a+", M21="+o+", M22="+l,y=e.x+c*e.xPercent/100,T=e.y+m*e.yPercent/100,x,w;if(null!=e.ox&&(x=(e.oxp?c*e.ox*.01:e.ox)-c/2,w=(e.oyp?m*e.oy*.01:e.oy)-m/2,y+=x-(x*n+w*a),T+=w-(x*o+w*l)),g?(x=c/2,w=m/2,v+=", Dx="+(x-(x*n+w*a)+y)+", Dy="+(w-(x*o+w*l)+T)+")"):v+=", sizingMethod='auto expand')",u.indexOf("DXImageTransform.Microsoft.Matrix(")!==-1?h.filter=u.replace(O,v):h.filter=v+" "+u,0!==t&&1!==t||1===n&&0===a&&0===o&&1===l&&(g&&v.indexOf("Dx=0, Dy=0")===-1||d.test(u)&&100!==parseFloat(RegExp.$1)||u.indexOf(u.indexOf("Alpha"))===-1&&h.removeAttribute("filter")),!g){var b=j<8?1:-1,P,k,S;for(x=e.ieOffsetX||0,w=e.ieOffsetY||0,e.ieOffsetX=Math.round((c-((n<0?-n:n)*c+(a<0?-a:a)*m))/2+y),e.ieOffsetY=Math.round((m-((l<0?-l:l)*m+(o<0?-o:o)*c))/2+T),Pt=0;Pt<4;Pt++)k=nt[Pt],P=_[k],f=P.indexOf("px")!==-1?parseFloat(P):tt(this.t,k,parseFloat(P),P.replace(p,""))||0,S=f!==e[k]?Pt<2?-e.ieOffsetX:-e.ieOffsetY:Pt<2?x-e.ieOffsetX:w-e.ieOffsetY,h[k]=(e[k]=Math.round(f-S*(0===Pt||2===Pt?1:b)))+"px"}}},Wt=X.set3DTransformRatio=X.setTransformRatio=function(t){var e=this.data,i=this.t.style,s=e.rotation,r=e.rotationX,n=e.rotationY,a=e.scaleX,o=e.scaleY,l=e.scaleZ,h=e.x,_=e.y,u=e.z,f=e.svg,c=e.perspective,p=e.force3D,d,m,g,v,y,T,x,w,b,P,O,k,S,A,C,D,M,F,z,X,I,N,L;if(((1===t||0===t)&&"auto"===p&&(this.tween._totalTime===this.tween._totalDuration||!this.tween._totalTime)||!p)&&!u&&!c&&!n&&!r&&1===l||Xt&&f||!Mt)return void(s||e.skewX||f?(s*=R,N=e.skewX*R,L=1e5,d=Math.cos(s)*a,v=Math.sin(s)*a,m=Math.sin(s-N)*-o,y=Math.cos(s-N)*o,N&&"simple"===e.skewType&&(M=Math.tan(N-e.skewY*R),M=Math.sqrt(1+M*M),m*=M,y*=M,e.skewY&&(M=Math.tan(e.skewY*R),M=Math.sqrt(1+M*M),d*=M,v*=M)),f&&(h+=e.xOrigin-(e.xOrigin*d+e.yOrigin*m)+e.xOffset,_+=e.yOrigin-(e.xOrigin*v+e.yOrigin*y)+e.yOffset,Xt&&(e.xPercent||e.yPercent)&&(A=this.t.getBBox(),h+=.01*e.xPercent*A.width,_+=.01*e.yPercent*A.height),A=1e-6,h<A&&h>-A&&(h=0),_<A&&_>-A&&(_=0)),z=(d*L|0)/L+","+(v*L|0)/L+","+(m*L|0)/L+","+(y*L|0)/L+","+h+","+_+")",f&&Xt?this.t.setAttribute("transform","matrix("+z):i[At]=(e.xPercent||e.yPercent?"translate("+e.xPercent+"%,"+e.yPercent+"%) matrix(":"matrix(")+z):i[At]=(e.xPercent||e.yPercent?"translate("+e.xPercent+"%,"+e.yPercent+"%) matrix(":"matrix(")+a+",0,0,"+o+","+h+","+_+")");if(Y&&(A=1e-4,a<A&&a>-A&&(a=l=2e-5),o<A&&o>-A&&(o=l=2e-5),!c||e.z||e.rotationX||e.rotationY||(c=0)),s||e.skewX)s*=R,C=d=Math.cos(s),D=v=Math.sin(s),e.skewX&&(s-=e.skewX*R,C=Math.cos(s),D=Math.sin(s),"simple"===e.skewType&&(M=Math.tan((e.skewX-e.skewY)*R),M=Math.sqrt(1+M*M),C*=M,D*=M,e.skewY&&(M=Math.tan(e.skewY*R),M=Math.sqrt(1+M*M),d*=M,v*=M))),m=-D,y=C;else{if(!(n||r||1!==l||c||f))return void(i[At]=(e.xPercent||e.yPercent?"translate("+e.xPercent+"%,"+e.yPercent+"%) translate3d(":"translate3d(")+h+"px,"+_+"px,"+u+"px)"+(1!==a||1!==o?" scale("+a+","+o+")":""));d=y=1,m=v=0}b=1,g=T=x=w=P=O=0,k=c?-1/c:0,S=e.zOrigin,A=1e-6,X=",",I="0",s=n*R,s&&(C=Math.cos(s),D=Math.sin(s),x=-D,P=k*-D,g=d*D,T=v*D,b=C,k*=C,d*=C,v*=C),s=r*R,s&&(C=Math.cos(s),D=Math.sin(s),M=m*C+g*D,F=y*C+T*D,w=b*D,O=k*D,g=m*-D+g*C,T=y*-D+T*C,b*=C,k*=C,m=M,y=F),1!==l&&(g*=l,T*=l,b*=l,k*=l),1!==o&&(m*=o,y*=o,w*=o,O*=o),1!==a&&(d*=a,v*=a,x*=a,P*=a),(S||f)&&(S&&(h+=g*-S,_+=T*-S,u+=b*-S+S),f&&(h+=e.xOrigin-(e.xOrigin*d+e.yOrigin*m)+e.xOffset,_+=e.yOrigin-(e.xOrigin*v+e.yOrigin*y)+e.yOffset),h<A&&h>-A&&(h=I),_<A&&_>-A&&(_=I),u<A&&u>-A&&(u=0)),z=e.xPercent||e.yPercent?"translate("+e.xPercent+"%,"+e.yPercent+"%) matrix3d(":"matrix3d(",z+=(d<A&&d>-A?I:d)+X+(v<A&&v>-A?I:v)+X+(x<A&&x>-A?I:x),z+=X+(P<A&&P>-A?I:P)+X+(m<A&&m>-A?I:m)+X+(y<A&&y>-A?I:y),r||n||1!==l?(z+=X+(w<A&&w>-A?I:w)+X+(O<A&&O>-A?I:O)+X+(g<A&&g>-A?I:g),z+=X+(T<A&&T>-A?I:T)+X+(b<A&&b>-A?I:b)+X+(k<A&&k>-A?I:k)+X):z+=",0,0,0,0,1,0,",z+=h+X+_+X+u+X+(c?1+-u/c:1)+")",i[At]=z};h=Ft.prototype,h.x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,kt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,s,r,n,o,l){if(r._lastParsedTransform===l)return n;r._lastParsedTransform=l;var h;"function"==typeof l[s]&&(h=l[s],l[s]=e);var _=t._gsTransform,u=t.style,f=1e-6,c=Rt.length,p=l,d={},m="transformOrigin",g=Vt(t,a,!0,p.parseTransform),v=p.transform&&("function"==typeof p.transform?p.transform(Z,W):p.transform),y,T,x,w,b,P,O,k,S;if(r._transform=g,v&&"string"==typeof v&&At)T=F.style,T[At]=v,T.display="block",T.position="absolute",D.body.appendChild(F),y=Vt(F,null,!1),g.svg&&(P=g.xOrigin,O=g.yOrigin,y.x-=g.xOffset,y.y-=g.yOffset,(p.transformOrigin||p.svgOrigin)&&(v={},Et(t,ot(p.transformOrigin),v,p.svgOrigin,p.smoothOrigin,!0),P=v.xOrigin,O=v.yOrigin,y.x-=v.xOffset-g.xOffset,y.y-=v.yOffset-g.yOffset),(P||O)&&(k=Ut(F,!0),y.x-=P-(P*k[0]+O*k[2]),y.y-=O-(P*k[1]+O*k[3]))),D.body.removeChild(F),y.perspective||(y.perspective=g.perspective),null!=p.xPercent&&(y.xPercent=ht(p.xPercent,g.xPercent)),null!=p.yPercent&&(y.yPercent=ht(p.yPercent,g.yPercent));else if("object"==typeof p){if(y={scaleX:ht(null!=p.scaleX?p.scaleX:p.scale,g.scaleX),scaleY:ht(null!=p.scaleY?p.scaleY:p.scale,g.scaleY),scaleZ:ht(p.scaleZ,g.scaleZ),x:ht(p.x,g.x),y:ht(p.y,g.y),z:ht(p.z,g.z),xPercent:ht(p.xPercent,g.xPercent),yPercent:ht(p.yPercent,g.yPercent),perspective:ht(p.transformPerspective,g.perspective)},b=p.directionalRotation,null!=b)if("object"==typeof b)for(T in b)p[T]=b[T];else p.rotation=b;"string"==typeof p.x&&p.x.indexOf("%")!==-1&&(y.x=0,y.xPercent=ht(p.x,g.xPercent)),"string"==typeof p.y&&p.y.indexOf("%")!==-1&&(y.y=0,y.yPercent=ht(p.y,g.yPercent)),y.rotation=_t("rotation"in p?p.rotation:"shortRotation"in p?p.shortRotation+"_short":"rotationZ"in p?p.rotationZ:g.rotation-g.skewY,g.rotation-g.skewY,"rotation",d),Mt&&(y.rotationX=_t("rotationX"in p?p.rotationX:"shortRotationX"in p?p.shortRotationX+"_short":g.rotationX||0,g.rotationX,"rotationX",d),y.rotationY=_t("rotationY"in p?p.rotationY:"shortRotationY"in p?p.shortRotationY+"_short":g.rotationY||0,g.rotationY,"rotationY",d)),y.skewX=_t(p.skewX,g.skewX-g.skewY),(y.skewY=_t(p.skewY,g.skewY))&&(y.skewX+=y.skewY,y.rotation+=y.skewY)}for(Mt&&null!=p.force3D&&(g.force3D=p.force3D,w=!0),g.skewType=p.skewType||g.skewType||i.defaultSkewType,x=g.force3D||g.z||g.rotationX||g.rotationY||y.z||y.rotationX||y.rotationY||y.perspective,x||null==p.scale||(y.scaleZ=1);--c>-1;)S=Rt[c],v=y[S]-g[S],(v>f||v<-f||null!=p[S]||null!=C[S])&&(w=!0,n=new xt(g,S,g[S],v,n),
S in d&&(n.e=d[S]),n.xs0=0,n.plugin=o,r._overwriteProps.push(n.n));return v=p.transformOrigin,g.svg&&(v||p.svgOrigin)&&(P=g.xOffset,O=g.yOffset,Et(t,ot(v),y,p.svgOrigin,p.smoothOrigin),n=wt(g,"xOrigin",(_?g:y).xOrigin,y.xOrigin,n,m),n=wt(g,"yOrigin",(_?g:y).yOrigin,y.yOrigin,n,m),P===g.xOffset&&O===g.yOffset||(n=wt(g,"xOffset",_?P:g.xOffset,g.xOffset,n,m),n=wt(g,"yOffset",_?O:g.yOffset,g.yOffset,n,m)),v=Xt?null:"0px 0px"),(v||Mt&&x&&g.zOrigin)&&(At?(w=!0,S=Dt,v=(v||J(t,S,a,!1,"50% 50%"))+"",n=new xt(u,S,0,0,n,-1,m),n.b=u[S],n.plugin=o,Mt?(T=g.zOrigin,v=v.split(" "),g.zOrigin=(v.length>2&&(0===T||"0px"!==v[2])?parseFloat(v[2]):T)||0,n.xs0=n.e=v[0]+" "+(v[1]||"50%")+" 0px",n=new xt(g,"zOrigin",0,0,n,-1,n.n),n.b=T,n.xs0=n.e=g.zOrigin):n.xs0=n.e=v):ot(v+"",g)),w&&(r._transformType=g.svg&&Xt||!x&&3!==this._transformType?2:3),h&&(l[s]=h),n},prefix:!0}),kt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),kt("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,r,o){e=this.format(e);var l=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],h=t.style,_,u,f,c,p,d,m,g,v,y,T,x,w,b,P,O;for(v=parseFloat(t.offsetWidth),y=parseFloat(t.offsetHeight),_=e.split(" "),u=0;u<l.length;u++)this.p.indexOf("border")&&(l[u]=H(l[u])),p=c=J(t,l[u],a,!1,"0px"),p.indexOf(" ")!==-1&&(c=p.split(" "),p=c[0],c=c[1]),d=f=_[u],m=parseFloat(p),x=p.substr((m+"").length),w="="===d.charAt(1),w?(g=parseInt(d.charAt(0)+"1",10),d=d.substr(2),g*=parseFloat(d),T=d.substr((g+"").length-(g<0?1:0))||""):(g=parseFloat(d),T=d.substr((g+"").length)),""===T&&(T=n[i]||x),T!==x&&(b=tt(t,"borderLeft",m,x),P=tt(t,"borderTop",m,x),"%"===T?(p=b/v*100+"%",c=P/y*100+"%"):"em"===T?(O=tt(t,"borderLeft",1,"em"),p=b/O+"em",c=P/O+"em"):(p=b+"px",c=P+"px"),w&&(d=parseFloat(p)+g+T,f=parseFloat(c)+g+T)),r=bt(h,l[u],p+" "+c,d+" "+f,!1,"0px",r);return r},prefix:!0,formatter:mt("0px 0px 0px 0px",!1,!0)}),kt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,s,r,n){return bt(t.style,i,this.format(J(t,i,a,!1,"0px 0px")),this.format(e),!1,"0px",r)},prefix:!0,formatter:mt("0px 0px",!1,!0)}),kt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,s,r,n){var o="background-position",l=a||K(t,null),h=this.format((l?j?l.getPropertyValue(o+"-x")+" "+l.getPropertyValue(o+"-y"):l.getPropertyValue(o):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),_=this.format(e),u,f,c,p,d,m;if(h.indexOf("%")!==-1!=(_.indexOf("%")!==-1)&&_.split(",").length<2&&(m=J(t,"backgroundImage").replace(x,""),m&&"none"!==m)){for(u=h.split(" "),f=_.split(" "),z.setAttribute("src",m),c=2;--c>-1;)h=u[c],p=h.indexOf("%")!==-1,p!==(f[c].indexOf("%")!==-1)&&(d=0===c?t.offsetWidth-z.width:t.offsetHeight-z.height,u[c]=p?parseFloat(h)/100*d+"px":parseFloat(h)/d*100+"%");h=u.join(" ")}return this.parseComplex(t.style,h,_,r,n)},formatter:ot}),kt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return t+="",ot(t.indexOf(" ")===-1?t+" "+t:t)}}),kt("perspective",{defaultValue:"0px",prefix:!0}),kt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),kt("transformStyle",{prefix:!0}),kt("backfaceVisibility",{prefix:!0}),kt("userSelect",{prefix:!0}),kt("margin",{parser:gt("marginTop,marginRight,marginBottom,marginLeft")}),kt("padding",{parser:gt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),kt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,s,r,n){var o,l,h;return j<9?(l=t.currentStyle,h=j<8?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(J(t,this.p,a,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,r,n)}}),kt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),kt("autoRound,strictUnits",{parser:function(t,e,i,s,r){return r}}),kt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,s,r,n){var o=J(t,"borderTopWidth",a,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(p,"");return"px"!==h&&(o=parseFloat(o)/tt(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(o+" "+J(t,"borderTopStyle",a,!1,"solid")+" "+J(t,"borderTopColor",a,!1,"#000")),l.join(" "),r,n)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(dt)||["#000"])[0]}}),kt("borderWidth",{parser:gt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),kt("float,cssFloat,styleFloat",{parser:function(t,e,i,s,r,n){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new xt(a,o,0,0,r,-1,i,!1,0,a[o],e)}});var Zt=function(t){var e=this.t,i=e.filter||J(this.data,"filter")||"",s=this.s+this.c*t|0,r;100===s&&(i.indexOf("atrix(")===-1&&i.indexOf("radient(")===-1&&i.indexOf("oader(")===-1?(e.removeAttribute("filter"),r=!J(this.data,"filter")):(e.filter=i.replace(g,""),r=!0)),r||(this.xn1&&(e.filter=i=i||"alpha(opacity="+s+")"),i.indexOf("pacity")===-1?0===s&&this.xn1||(e.filter=i+" alpha(opacity="+s+")"):e.filter=i.replace(d,"opacity="+s))};kt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,s,r,n){var o=parseFloat(J(t,"opacity",a,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===J(t,"visibility",a)&&0!==e&&(o=0),U?r=new xt(l,"opacity",o,e-o,r):(r=new xt(l,"opacity",100*o,100*(e-o),r),r.xn1=h?1:0,l.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=t,r.plugin=n,r.setRatio=Zt),h&&(r=new xt(l,"visibility",0,0,r,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit"),r.xs0="inherit",s._overwriteProps.push(r.n),s._overwriteProps.push(i)),r}});var Gt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(y,"-$1").toLowerCase())):t.removeAttribute(e))},$t=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Gt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};kt("className",{parser:function(t,e,i,s,n,o,l){var h=t.getAttribute("class")||"",_=t.style.cssText,u,f,c,p,d;if(n=s._classNamePT=new xt(t,i,0,0,n,2),n.setRatio=$t,n.pr=-11,r=!0,n.b=h,f=it(t,a),c=t._gsClassPT){for(p={},d=c.data;d;)p[d.p]=1,d=d._next;c.setRatio(1)}return t._gsClassPT=n,n.e="="!==e.charAt(1)?e:h.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",n.e),u=st(t,f,it(t),l,p),t.setAttribute("class",h),n.data=u.firstMPT,t.style.cssText=_,n=n.xfirst=s.parse(t,u.difs,n,o)}});var Qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e=this.t.style,i=l.transform.parse,s,r,n,a,o;if("all"===this.e)e.cssText="",a=!0;else for(s=this.e.split(" ").join("").split(","),n=s.length;--n>-1;)r=s[n],l[r]&&(l[r].parse===i?a=!0:r="transformOrigin"===r?Dt:l[r].p),Gt(e,r);a&&(Gt(e,At),o=this.t._gsTransform,o&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(kt("clearProps",{parser:function(t,e,i,s,n){return n=new xt(t,i,0,0,n,2),n.setRatio=Qt,n.e=e,n.pr=-10,n.data=s._tween,r=!0,n}}),h="bezier,throwProps,physicsProps,physics2D".split(","),Pt=h.length;Pt--;)St(h[Pt]);h=i.prototype,h._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(t,e,s,h){if(!t.nodeType)return!1;this._target=W=t,this._tween=s,this._vars=e,Z=h,N=e.autoRound,r=!1,n=e.suffixMap||i.suffixMap,a=K(t,""),o=this._overwriteProps;var _=t.style,u,f,c,p,d,g,v,y,T;if(L&&""===_.zIndex&&(u=J(t,"zIndex",a),"auto"!==u&&""!==u||this._addLazySet(_,"zIndex",0)),"string"==typeof e&&(p=_.cssText,u=it(t,a),_.cssText=p+";"+e,u=st(t,u,it(t)).difs,!U&&m.test(e)&&(u.opacity=parseFloat(RegExp.$1)),e=u,_.cssText=p),e.className?this._firstPT=f=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=f=this.parse(t,e,null),this._transformType){for(T=3===this._transformType,At?E&&(L=!0,""===_.zIndex&&(v=J(t,"zIndex",a),"auto"!==v&&""!==v||this._addLazySet(_,"zIndex",0)),B&&this._addLazySet(_,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(T?"visible":"hidden"))):_.zoom=1,c=f;c&&c._next;)c=c._next;y=new xt(t,"transform",0,0,null,2),this._linkCSSP(y,null,c),y.setRatio=At?Wt:qt,y.data=this._transform||Vt(t,a,!0),y.tween=s,y.pr=-1,o.pop()}if(r){for(;f;){for(g=f._next,c=p;c&&c.pr>f.pr;)c=c._next;(f._prev=c?c._prev:d)?f._prev._next=f:p=f,(f._next=c)?c._prev=f:d=f,f=g}this._firstPT=p}return!0},h.parse=function(t,e,i,s){var r=t.style,o,h,_,u,f,c,d,m,g,y;for(o in e)c=e[o],"function"==typeof c&&(c=c(Z,W)),h=l[o],h?i=h.parse(t,c,o,this,i,s,e):(f=J(t,o,a)+"",g="string"==typeof c,"color"===o||"fill"===o||"stroke"===o||o.indexOf("Color")!==-1||g&&v.test(c)?(g||(c=ct(c),c=(c.length>3?"rgba(":"rgb(")+c.join(",")+")"),i=bt(r,o,f,c,!0,"transparent",i,0,s)):g&&S.test(c)?i=bt(r,o,f,c,!0,null,i,0,s):(_=parseFloat(f),d=_||0===_?f.substr((_+"").length):"",""!==f&&"auto"!==f||("width"===o||"height"===o?(_=at(t,o,a),d="px"):"left"===o||"top"===o?(_=et(t,o,a),d="px"):(_="opacity"!==o?0:1,d="")),y=g&&"="===c.charAt(1),y?(u=parseInt(c.charAt(0)+"1",10),c=c.substr(2),u*=parseFloat(c),m=c.replace(p,"")):(u=parseFloat(c),m=g?c.replace(p,""):""),""===m&&(m=o in n?n[o]:d),c=u||0===u?(y?u+_:u)+m:e[o],d!==m&&""!==m&&(u||0===u)&&_&&(_=tt(t,o,_,d),"%"===m?(_/=tt(t,o,100,"%")/100,e.strictUnits!==!0&&(f=_+"%")):"em"===m||"rem"===m||"vw"===m||"vh"===m?_/=tt(t,o,1,m):"px"!==m&&(u=tt(t,o,u,m),m="px"),y&&(u||0===u)&&(c=u+_+m)),y&&(u+=_),!_&&0!==_||!u&&0!==u?void 0!==r[o]&&(c||c+""!="NaN"&&null!=c)?(i=new xt(r,o,u||_||0,0,i,-1,o,!1,0,f,c),i.xs0="none"!==c||"display"!==o&&o.indexOf("Style")===-1?c:f):q("invalid "+o+" tween value: "+e[o]):(i=new xt(r,o,_,u-_,i,0,o,N!==!1&&("px"===m||"zIndex"===o),0,f,c),i.xs0=m))),s&&i&&!i.plugin&&(i.plugin=s);return i},h.setRatio=function(t){var e=this._firstPT,i=1e-6,s,r,n;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||this._tween._rawPrevTime===-1e-6)for(;e;){if(s=e.c*t+e.s,e.r?s=Math.round(s):s<i&&s>-i&&(s=0),e.type)if(1===e.type)if(n=e.l,2===n)e.t[e.p]=e.xs0+s+e.xs1+e.xn1+e.xs2;else if(3===n)e.t[e.p]=e.xs0+s+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===n)e.t[e.p]=e.xs0+s+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===n)e.t[e.p]=e.xs0+s+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{for(r=e.xs0+s+e.xs1,n=1;n<e.l;n++)r+=e["xn"+n]+e["xs"+(n+1)];e.t[e.p]=r}else e.type===-1?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(t);else e.t[e.p]=s+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(t),e=e._next;else for(;e;){if(2!==e.type)if(e.r&&e.type!==-1)if(s=Math.round(e.s+e.c),e.type){if(1===e.type){for(n=e.l,r=e.xs0+s+e.xs1,n=1;n<e.l;n++)r+=e["xn"+n]+e["xs"+(n+1)];e.t[e.p]=r}}else e.t[e.p]=s+e.xs0;else e.t[e.p]=e.e;else e.setRatio(t);e=e._next}},h._enableTransforms=function(t){this._transform=this._transform||Vt(this._target,a,!0),this._transformType=this._transform.svg&&Xt||!t&&3!==this._transformType?2:3};var Ht=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};h._addLazySet=function(t,e,i){var s=this._firstPT=new xt(t,e,0,0,this._firstPT,2);s.e=i,s.setRatio=Ht,s.data=this},h._linkCSSP=function(t,e,i,s){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,s=!0),i?i._next=t:s||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},h._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&t[e.p]===Math.round&&(e.r=1),e=e._next},h._kill=function(e){var i=e,s,r,n;if(e.autoAlpha||e.alpha){i={};for(r in e)i[r]=e[r];i.opacity=1,i.autoAlpha&&(i.visibility=1)}for(e.className&&(s=this._classNamePT)&&(n=s.xfirst,n&&n._prev?this._linkCSSP(n._prev,s._next,n._prev._prev):n===this._firstPT&&(this._firstPT=s._next),s._next&&this._linkCSSP(s._next,s._next._next,n._prev),this._classNamePT=null),s=this._firstPT;s;)s.plugin&&s.plugin!==r&&s.plugin._kill&&(s.plugin._kill(e),r=s.plugin),s=s._next;return t.prototype._kill.call(this,i)};var Kt=function(t,e,i){var s,r,n,a;if(t.slice)for(r=t.length;--r>-1;)Kt(t[r],e,i);else for(s=t.childNodes,r=s.length;--r>-1;)n=s[r],a=n.type,n.style&&(e.push(it(n)),i&&i.push(n)),1!==a&&9!==a&&11!==a||!n.childNodes.length||Kt(n,e,i)};return i.cascadeTo=function(t,i,s){var r=e.to(t,i,s),n=[r],a=[],o=[],l=[],h=e._internals.reservedProps,_,u,f,c;for(t=r._targets||r.target,Kt(t,a,l),r.render(i,!0,!0),Kt(t,o),r.render(0,!0,!0),r._enabled(!0),_=l.length;--_>-1;)if(u=st(l[_],a[_],o[_]),u.firstMPT){u=u.difs;for(f in s)h[f]&&(u[f]=s[f]);c={};for(f in u)c[f]=a[_][f];n.push(e.fromTo(l[_],i,c,u))}return n},t.activate([i]),i},!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.6.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){for(;t;)t.f||t.blob||(t.m=Math.round),t=t._next},i=t.prototype;i._onInitAllProps=function(){for(var t=this._tween,i=t.vars.roundProps.join?t.vars.roundProps:t.vars.roundProps.split(","),s=i.length,r={},n=t._propLookup.roundProps,a,o,l;--s>-1;)r[i[s]]=Math.round;for(s=i.length;--s>-1;)for(a=i[s],o=t._firstPT;o;)l=o._next,o.pg?o.t._mod(r):o.n===a&&(2===o.f&&o.t?e(o.t._firstPT):(this._add(o.t,a,o.s,o.c),l&&(l._prev=o._prev),o._prev?o._prev._next=l:t._firstPT===o&&(t._firstPT=l),o._next=o._prev=null,t._propLookup[a]=n)),o=l;return!1},i._add=function(t,e,i,s){this._addTween(t,e,i,i+s,e,Math.round),this._overwriteProps.push(e)}}(),function(){_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.0",init:function(t,e,i,s){var r,n;if("function"!=typeof t.setAttribute)return!1;for(r in e)n=e[r],"function"==typeof n&&(n=n(s,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",n+"",r,!1,r),this._overwriteProps.push(r);return!0}})}(),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.0",API:2,init:function(t,e,i,s){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r=e.useRadians===!0?2*Math.PI:360,n=1e-6,a,o,l,h,_,u;for(a in e)"useRadians"!==a&&(h=e[a],"function"==typeof h&&(h=h(s,t)),u=(h+"").split("_"),o=u[0],l=parseFloat("function"!=typeof t[a]?t[a]:t[a.indexOf("set")||"function"!=typeof t["get"+a.substr(3)]?a:"get"+a.substr(3)]()),h=this.finals[a]="string"==typeof o&&"="===o.charAt(1)?l+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0,_=h-l,u.length&&(o=u.join("_"),o.indexOf("short")!==-1&&(_%=r,_!==_%(r/2)&&(_=_<0?_+r:_-r)),o.indexOf("_cw")!==-1&&_<0?_=(_+9999999999*r)%r-(_/r|0)*r:o.indexOf("ccw")!==-1&&_>0&&(_=(_-9999999999*r)%r-(_/r|0)*r)),(_>n||_<-n)&&(this._addTween(t,a,l,l+_,a),this._overwriteProps.push(a)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e=_gsScope.GreenSockGlobals||_gsScope,i=e.com.greensock,s=2*Math.PI,r=Math.PI/2,n=i._class,a=function(e,i){var s=n("easing."+e,function(){},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,s},o=t.register||function(){},l=function(t,e,i,s,r){var a=n("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0);return o(a,t),a},h=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},_=function(e,i){var s=n("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=s.prototype=new t;return r.constructor=s,r.getRatio=i,r.config=function(t){return new s(t)},s},u=l("Back",_("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),_("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),_("BackInOut",function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)})),f=n("easing.SlowMo",function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=i===!0},!0),c=f.prototype=new t,p,d,m;return c.constructor=f,c.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},f.ease=new f(.7,.7),c.config=f.config=function(t,e,i){return new f(t,e,i)},p=n("easing.SteppedEase",function(t){t=t||1,this._p1=1/t,this._p2=t+1},!0),c=p.prototype=new t,c.constructor=p,c.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),(this._p2*t>>0)*this._p1},c.config=p.config=function(t){return new p(t)},d=n("easing.RoughEase",function(e){e=e||{};for(var i=e.taper||"none",s=[],r=0,n=0|(e.points||20),a=n,o=e.randomize!==!1,l=e.clamp===!0,_=e.template instanceof t?e.template:null,u="number"==typeof e.strength?.4*e.strength:.4,f,c,p,d,m,g;--a>-1;)f=o?Math.random():1/n*a,c=_?_.getRatio(f):f,"none"===i?p=u:"out"===i?(d=1-f,p=d*d*u):"in"===i?p=f*f*u:f<.5?(d=2*f,p=d*d*.5*u):(d=2*(1-f),p=d*d*.5*u),o?c+=Math.random()*p-.5*p:a%2?c+=.5*p:c-=.5*p,l&&(c>1?c=1:c<0&&(c=0)),s[r++]={x:f,y:c};for(s.sort(function(t,e){return t.x-e.x}),g=new h(1,1,null),a=n;--a>-1;)m=s[a],g=new h(m.x,m.y,g);this._prev=new h(0,0,0!==g.t?g:g.next)},!0),c=d.prototype=new t,c.constructor=d,c.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},c.config=function(t){return new d(t)},d.ease=new d,l("Bounce",a("BounceOut",function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),a("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),a("BounceInOut",function(t){var e=t<.5;return t=e?1-2*t:2*t-1,t=t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),l("Circ",a("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),a("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),a("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),m=function(e,i,r){var a=n("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(t<1?t:1),this._p3=this._p2/s*(Math.asin(1/this._p1)||0),this._p2=s/this._p2},!0),o=a.prototype=new t;return o.constructor=a,o.getRatio=i,o.config=function(t,e){return new a(t,e)},a},l("Elastic",m("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),m("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2))},.3),m("ElasticInOut",function(t){return(t*=2)<1?-.5*(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)):this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),l("Expo",a("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),a("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),a("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),l("Sine",a("SineOut",function(t){return Math.sin(t*r)}),a("SineIn",function(t){return-Math.cos(t*r)+1}),a("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),n("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),o(e.SlowMo,"SlowMo","ease,"),o(d,"RoughEase","ease,"),o(p,"SteppedEase","ease,"),u},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i={},s=t.GreenSockGlobals=t.GreenSockGlobals||t;if(!s.TweenLite){var r=function(t){var e=t.split("."),i=s,r;for(r=0;r<e.length;r++)i[e[r]]=i=i[e[r]]||{};return i},n=r("com.greensock"),a=1e-10,o=function(t){var e=[],i=t.length,s;for(s=0;s!==i;e.push(t[s++]));return e},l=function(){},h=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"==typeof i&&!!i.push&&t.call(i)===e)}}(),_,u,f,c,p,d={},m=function(n,a,o,l){this.sc=d[n]?d[n].sc:[],d[n]=this,this.gsClass=null,this.func=o;var h=[];this.check=function(_){for(var u=a.length,f=u,c,p,g,v,y;--u>-1;)(c=d[a[u]]||new m(a[u],[])).gsClass?(h[u]=c.gsClass,f--):_&&c.sc.push(this);if(0===f&&o){if(p=("com.greensock."+n).split("."),g=p.pop(),v=r(p.join("."))[g]=this.gsClass=o.apply(o,h),l)if(s[g]=i[g]=v,y="undefined"!=typeof module&&module.exports,!y&&"function"==typeof define&&define.amd)define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+n.split(".").pop(),[],function(){return v});else if(y)if(n===e){module.exports=i[e]=v;for(u in i)v[u]=i[u]}else i[e]&&(i[e][g]=v);for(u=0;u<this.sc.length;u++)this.sc[u].check()}},this.check(!0)},g=t._gsDefine=function(t,e,i,s){return new m(t,e,i,s)},v=n._class=function(t,e,i){return e=e||function(){},g(t,[],function(){return e},i),e};g.globals=s;var y=[0,0,1,1],T=[],x=v("easing.Ease",function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?y.concat(e):y},!0),w=x.map={},b=x.register=function(t,e,i,s){for(var r=e.split(","),a=r.length,o=(i||"easeIn,easeOut,easeInOut").split(","),l,h,_,u;--a>-1;)for(h=r[a],l=s?v("easing."+h,null,!0):n.easing[h]||{},_=o.length;--_>-1;)u=o[_],w[h+"."+u]=w[u+h]=l[u]=t.getRatio?t:t[u]||new t};for(f=x.prototype,f._calcEnd=!1,f.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:t<.5?s/2:1-s/2},_=["Linear","Quad","Cubic","Quart","Quint,Strong"],u=_.length;--u>-1;)f=_[u]+",Power"+u,b(new x(null,null,1,u),f,"easeOut",!0),b(new x(null,null,2,u),f,"easeIn"+(0===u?",easeNone":"")),b(new x(null,null,3,u),f,"easeInOut");w.linear=n.easing.Linear.easeIn,w.swing=n.easing.Quad.easeInOut;var P=v("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});f=P.prototype,f.addEventListener=function(t,e,i,s,r){r=r||0;var n=this._listeners[t],a=0,o,l;for(this!==c||p||c.wake(),null==n&&(this._listeners[t]=n=[]),l=n.length;--l>-1;)o=n[l],o.c===e&&o.s===i?n.splice(l,1):0===a&&o.pr<r&&(a=l+1);n.splice(a,0,{c:e,s:i,up:s,pr:r})},f.removeEventListener=function(t,e){var i=this._listeners[t],s;if(i)for(s=i.length;--s>-1;)if(i[s].c===e)return void i.splice(s,1)},f.dispatchEvent=function(t){var e=this._listeners[t],i,s,r;if(e)for(i=e.length,i>1&&(e=e.slice(0)),s=this._eventTarget;--i>-1;)r=e[i],r&&(r.up?r.c.call(r.s||s,{type:t,target:s}):r.c.call(r.s||s))};var O=t.requestAnimationFrame,k=t.cancelAnimationFrame,S=Date.now||function(){return(new Date).getTime()},R=S();for(_=["ms","moz","webkit","o"],u=_.length;--u>-1&&!O;)O=t[_[u]+"RequestAnimationFrame"],k=t[_[u]+"CancelAnimationFrame"]||t[_[u]+"CancelRequestAnimationFrame"];v("Ticker",function(t,e){var i=this,s=S(),r=!(e===!1||!O)&&"auto",n=500,o=33,h="tick",_,u,f,d,m,g=function(t){var e=S()-R,r,a;e>n&&(s+=e-o),R+=e,i.time=(R-s)/1e3,r=i.time-m,(!_||r>0||t===!0)&&(i.frame++,m+=r+(r>=d?.004:d-r),a=!0),t!==!0&&(f=u(g)),a&&i.dispatchEvent(h)};P.call(i),i.time=i.frame=0,i.tick=function(){g(!0)},i.lagSmoothing=function(t,e){n=t||1/a,o=Math.min(e,n,0)},i.sleep=function(){null!=f&&(r&&k?k(f):clearTimeout(f),u=l,f=null,i===c&&(p=!1))},i.wake=function(t){null!==f?i.sleep():t?s+=-R+(R=S()):i.frame>10&&(R=S()-n+5),u=0===_?l:r&&O?O:function(t){return setTimeout(t,1e3*(m-i.time)+1|0)},i===c&&(p=!0),g(2)},i.fps=function(t){return arguments.length?(_=t,d=1/(_||60),m=this.time+d,void i.wake()):_},i.useRAF=function(t){return arguments.length?(i.sleep(),r=t,void i.fps(_)):r},i.fps(t),setTimeout(function(){"auto"===r&&i.frame<5&&"hidden"!==document.visibilityState&&i.useRAF(!1)},1500)}),f=n.Ticker.prototype=new n.events.EventDispatcher,f.constructor=n.Ticker;var A=v("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=e.immediateRender===!0,this.data=e.data,this._reversed=e.reversed===!0,G){p||c.wake();var i=this.vars.useFrames?Z:G;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});c=A.ticker=new n.Ticker,f=A.prototype,f._dirty=f._gc=f._initted=f._paused=!1,f._totalTime=f._time=0,f._rawPrevTime=-1,f._next=f._last=f._onUpdate=f._timeline=f.timeline=null,f._paused=!1;var C=function(){p&&S()-R>2e3&&c.wake(),setTimeout(C,2e3)};C(),f.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},f.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},f.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},f.seek=function(t,e){return this.totalTime(Number(t),e!==!1)},f.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,e!==!1,!0)},f.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},f.render=function(t,e,i){},f.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},f.isActive=function(){var t=this._timeline,e=this._startTime,i;return!t||!this._gc&&!this._paused&&t.isActive()&&(i=t.rawTime())>=e&&i<e+this.totalDuration()/this._timeScale},f._enabled=function(t,e){return p||c.wake(),this._gc=!t,this._active=this.isActive(),e!==!0&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},f._kill=function(t,e){return this._enabled(!1,!1)},f.kill=function(t,e){return this._kill(t,e),this},f._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},f._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},f._callback=function(t){var e=this.vars,i=e[t],s=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this,n=s?s.length:0;switch(n){case 0:i.call(r);break;case 1:i.call(r,s[0]);break;case 2:i.call(r,s[0],s[1]);break;default:i.apply(r,s)}},f.eventCallback=function(t,e,i,s){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=h(i)&&i.join("").indexOf("{self}")!==-1?this._swapSelfInParams(i):i,r[t+"Scope"]=s),"onUpdate"===t&&(this._onUpdate=e)}return this},f.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},f.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},f.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},f.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},f.totalTime=function(t,e,i){if(p||c.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,r=this._timeline;if(t>s&&!i&&(t=s),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?s-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(X.length&&H(),this.render(t,e,!1),X.length&&H())}return this},f.progress=f.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},f.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},f.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},f.timeScale=function(t){if(!arguments.length)return this._timeScale;if(t=t||a,this._timeline&&this._timeline.smoothChildTiming){var e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/t}return this._timeScale=t,this._uncache(!1)},f.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},f.paused=function(t){if(!arguments.length)return this._paused;var e=this._timeline,i,s;return t!=this._paused&&e&&(p||t||c.wake(),i=e.rawTime(),s=i-this._pauseTime,!t&&e.smoothChildTiming&&(this._startTime+=s,this._uncache(!1)),this._pauseTime=t?i:null,this._paused=t,this._active=this.isActive(),!t&&0!==s&&this._initted&&this.duration()&&(i=e.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,this.render(i,i===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var D=v("core.SimpleTimeline",function(t){A.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});f=D.prototype=new A,f.constructor=D,f.kill()._gc=!1,f._first=f._last=f._recent=null,f._sortChildren=!1,f.add=f.insert=function(t,e,i,s){var r,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=t._startTime+(this.rawTime()-t._startTime)/t._timeScale),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(n=t._startTime;r&&r._startTime>n;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},f._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},f.render=function(t,e,i){var s=this._first,r;for(this._totalTime=this._time=this._rawPrevTime=t;s;)r=s._next,(s._active||t>=s._startTime&&!s._paused)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=r},f.rawTime=function(){return p||c.wake(),this._totalTime};var M=v("TweenLite",function(e,i,s){if(A.call(this,i,s),this.render=M.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:M.selector(e)||e;var r=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),n=this.vars.overwrite,l,_,u;if(this._overwrite=n=null==n?W[M.defaultOverwrite]:"number"==typeof n?n>>0:W[n],(r||e instanceof Array||e.push&&h(e))&&"number"!=typeof e[0])for(this._targets=u=o(e),this._propLookup=[],this._siblings=[],l=0;l<u.length;l++)_=u[l],_?"string"!=typeof _?_.length&&_!==t&&_[0]&&(_[0]===t||_[0].nodeType&&_[0].style&&!_.nodeType)?(u.splice(l--,1),this._targets=u=u.concat(o(_))):(this._siblings[l]=K(_,this,!1),1===n&&this._siblings[l].length>1&&tt(_,this,null,1,this._siblings[l])):(_=u[l--]=M.selector(_),"string"==typeof _&&u.splice(l+1,1)):u.splice(l--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===n&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&this.vars.immediateRender!==!1)&&(this._time=-a,this.render(Math.min(0,-this._delay)))},!0),F=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType);
},z=function(t,e){var i={},s;for(s in t)q[s]||s in e&&"transform"!==s&&"x"!==s&&"y"!==s&&"width"!==s&&"height"!==s&&"className"!==s&&"border"!==s||!(!j[s]||j[s]&&j[s]._autoCSS)||(i[s]=t[s],delete t[s]);t.css=i};f=M.prototype=new A,f.constructor=M,f.kill()._gc=!1,f.ratio=0,f._firstPT=f._targets=f._overwrittenProps=f._startAt=null,f._notifyPluginsOfEnabled=f._lazy=!1,M.version="1.19.0",M.defaultEase=f._ease=new x(null,null,1,1),M.defaultOverwrite="auto",M.ticker=c,M.autoSleep=120,M.lagSmoothing=function(t,e){c.lagSmoothing(t,e)},M.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(M.selector=i,i(e)):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)};var X=[],I={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,L=function(t){for(var e=this._firstPT,i=1e-6,s;e;)s=e.blob?t?this.join(""):this.start:e.c*t+e.s,e.m?s=e.m(s,this._target||e.t):s<i&&s>-i&&(s=0),e.f?e.fp?e.t[e.p](e.fp,s):e.t[e.p](s):e.t[e.p]=s,e=e._next},E=function(t,e,i,s){var r=[t,e],n=0,a="",o=0,l,h,_,u,f,c,p;for(r.start=t,i&&(i(r),t=r[0],e=r[1]),r.length=0,l=t.match(N)||[],h=e.match(N)||[],s&&(s._next=null,s.blob=1,r._firstPT=r._applyPT=s),f=h.length,u=0;u<f;u++)p=h[u],c=e.substr(n,e.indexOf(p,n)-n),a+=c||!u?c:",",n+=c.length,o?o=(o+1)%5:"rgba("===c.substr(-5)&&(o=1),p===l[u]||l.length<=u?a+=p:(a&&(r.push(a),a=""),_=parseFloat(l[u]),r.push(_),r._firstPT={_next:r._firstPT,t:r,p:r.length-1,s:_,c:("="===p.charAt(1)?parseInt(p.charAt(0)+"1",10)*parseFloat(p.substr(2)):parseFloat(p)-_)||0,f:0,m:o&&o<4?Math.round:0}),n+=p.length;return a+=e.substr(n),a&&r.push(a),r.setRatio=L,r},Y=function(t,e,i,s,r,n,a,o,l){"function"==typeof s&&(s=s(l||0,t));var h="get"===i?t[e]:i,_=typeof t[e],u="string"==typeof s&&"="===s.charAt(1),f={t:t,p:e,s:h,f:"function"===_,pg:0,n:r||e,m:n?"function"==typeof n?n:Math.round:0,pr:0,c:u?parseInt(s.charAt(0)+"1",10)*parseFloat(s.substr(2)):parseFloat(s)-h||0},c,p;if("number"!==_&&("function"===_&&"get"===i&&(p=e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f.s=h=a?t[p](a):t[p]()),"string"==typeof h&&(a||isNaN(h))?(f.fp=a,c=E(h,s,o||M.defaultStringFilter,f),f={t:c,p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):u||(f.s=parseFloat(h),f.c=parseFloat(s)-f.s||0)),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f},B=M._internals={isArray:h,isSelector:F,lazyTweens:X,blobDif:E},j=M._plugins={},U=B.tweenLookup={},V=0,q=B.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1},W={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},Z=A._rootFramesTimeline=new D,G=A._rootTimeline=new D,Q=30,H=B.lazyRender=function(){var t=X.length,e;for(I={};--t>-1;)e=X[t],e&&e._lazy!==!1&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);X.length=0};G._startTime=c.time,Z._startTime=c.frame,G._active=Z._active=!0,setTimeout(H,1),A._updateRoot=M.render=function(){var t,e,i;if(X.length&&H(),G.render((c.time-G._startTime)*G._timeScale,!1,!1),Z.render((c.frame-Z._startTime)*Z._timeScale,!1,!1),X.length&&H(),c.frame>=Q){Q=c.frame+(parseInt(M.autoSleep,10)||120);for(i in U){for(e=U[i].tweens,t=e.length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete U[i]}if(i=G._first,(!i||i._paused)&&M.autoSleep&&!Z._first&&1===c._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||c.sleep()}}},c.addEventListener("tick",A._updateRoot);var K=function(t,e,i){var s=t._gsTweenID,r,n;if(U[s||(t._gsTweenID=s="t"+V++)]||(U[s]={target:t,tweens:[]}),e&&(r=U[s].tweens,r[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return U[s].tweens},J=function(t,e,i,s){var r=t.vars.onOverwrite,n,a;return r&&(n=r(t,e,i,s)),r=M.onOverwrite,r&&(a=r(t,e,i,s)),n!==!1&&a!==!1},tt=function(t,e,i,s,r){var n,o,l,h;if(1===s||s>=4){for(h=r.length,n=0;n<h;n++)if((l=r[n])!==e)l._gc||l._kill(null,t,e)&&(o=!0);else if(5===s)break;return o}var _=e._startTime+a,u=[],f=0,c=0===e._duration,p;for(n=r.length;--n>-1;)(l=r[n])===e||l._gc||l._paused||(l._timeline!==e._timeline?(p=p||et(e,0,c),0===et(l,p,c)&&(u[f++]=l)):l._startTime<=_&&l._startTime+l.totalDuration()/l._timeScale>_&&((c||!l._initted)&&_-l._startTime<=2e-10||(u[f++]=l)));for(n=f;--n>-1;)if(l=u[n],2===s&&l._kill(i,t,e)&&(o=!0),2!==s||!l._firstPT&&l._initted){if(2!==s&&!J(l,e))continue;l._enabled(!1,!1)&&(o=!0)}return o},et=function(t,e,i){for(var s=t._timeline,r=s._timeScale,n=t._startTime;s._timeline;){if(n+=s._startTime,r*=s._timeScale,s._paused)return-100;s=s._timeline}return n/=r,n>e?n-e:i&&n===e||!t._initted&&n-e<2*a?a:(n+=t.totalDuration()/t._timeScale/r)>e+a?0:n-e-a};f._init=function(){var t=this.vars,e=this._overwrittenProps,i=this._duration,s=!!t.immediateRender,r=t.ease,n,a,o,l,h,_;if(t.startAt){this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),h={};for(l in t.startAt)h[l]=t.startAt[l];if(h.overwrite=!1,h.immediateRender=!0,h.lazy=s&&t.lazy!==!1,h.startAt=h.delay=null,this._startAt=M.to(this.target,0,h),s)if(this._time>0)this._startAt=null;else if(0!==i)return}else if(t.runBackwards&&0!==i)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{0!==this._time&&(s=!1),o={};for(l in t)q[l]&&"autoCSS"!==l||(o[l]=t[l]);if(o.overwrite=0,o.data="isFromStart",o.lazy=s&&t.lazy!==!1,o.immediateRender=s,this._startAt=M.to(this.target,0,o),s){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=r=r?r instanceof x?r:"function"==typeof r?new x(r,t.easeParams):w[r]||M.defaultEase:M.defaultEase,t.easeParams instanceof Array&&r.config&&(this._ease=r.config.apply(r,t.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(_=this._targets.length,n=0;n<_;n++)this._initProps(this._targets[n],this._propLookup[n]={},this._siblings[n],e?e[n]:null,n)&&(a=!0);else a=this._initProps(this.target,this._propLookup,this._siblings,e,0);if(a&&M._onPluginEvent("_onInitAllProps",this),e&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),t.runBackwards)for(o=this._firstPT;o;)o.s+=o.c,o.c=-o.c,o=o._next;this._onUpdate=t.onUpdate,this._initted=!0},f._initProps=function(e,i,s,r,n){var a,o,l,_,u,f;if(null==e)return!1;I[e._gsTweenID]&&H(),this.vars.css||e.style&&e!==t&&e.nodeType&&j.css&&this.vars.autoCSS!==!1&&z(this.vars,e);for(a in this.vars)if(f=this.vars[a],q[a])f&&(f instanceof Array||f.push&&h(f))&&f.join("").indexOf("{self}")!==-1&&(this.vars[a]=f=this._swapSelfInParams(f,this));else if(j[a]&&(_=new j[a])._onInitTween(e,this.vars[a],this,n)){for(this._firstPT=u={_next:this._firstPT,t:_,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:_._priority,m:0},o=_._overwriteProps.length;--o>-1;)i[_._overwriteProps[o]]=this._firstPT;(_._priority||_._onInitAllProps)&&(l=!0),(_._onDisable||_._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[a]=Y.call(this,e,a,"get",f,a,0,null,this.vars.stringFilter,n);return r&&this._kill(r,e)?this._initProps(e,i,s,r,n):this._overwrite>1&&this._firstPT&&s.length>1&&tt(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,r,n)):(this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration)&&(I[e._gsTweenID]=!0),l)},f.render=function(t,e,i){var s=this._time,r=this._duration,n=this._rawPrevTime,o,l,h,_;if(t>=r-1e-7)this._totalTime=this._time=r,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(o=!0,l="onComplete",i=i||this._timeline.autoRemoveChildren),0===r&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(n<0||t<=0&&t>=-1e-7||n===a&&"isPause"!==this.data)&&n!==t&&(i=!0,n>a&&(l="onReverseComplete")),this._rawPrevTime=_=!e||t||n===t?t:a);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==s||0===r&&n>0)&&(l="onReverseComplete",o=this._reversed),t<0&&(this._active=!1,0===r&&(this._initted||!this.vars.lazy||i)&&(n>=0&&(n!==a||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=_=!e||t||n===t?t:a)),this._initted||(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/r,f=this._easeType,c=this._easePower;(1===f||3===f&&u>=.5)&&(u=1-u),3===f&&(u*=2),1===c?u*=u:2===c?u*=u*u:3===c?u*=u*u*u:4===c&&(u*=u*u*u*u),1===f?this.ratio=1-u:2===f?this.ratio=u:t/r<.5?this.ratio=u/2:this.ratio=1-u/2}else this.ratio=this._ease.getRatio(t/r);if(this._time!==s||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=s,this._rawPrevTime=n,X.push(this),void(this._lazy=[t,e]);this._time&&!o?this.ratio=this._ease.getRatio(this._time/r):o&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==s&&t>=0&&(this._active=!0),0===s&&(this._startAt&&(t>=0?this._startAt.render(t,e,i):l||(l="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==r||e||this._callback("onStart"))),h=this._firstPT;h;)h.f?h.t[h.p](h.c*this.ratio+h.s):h.t[h.p]=h.c*this.ratio+h.s,h=h._next;this._onUpdate&&(t<0&&this._startAt&&t!==-1e-4&&this._startAt.render(t,e,i),e||(this._time!==s||o||i)&&this._callback("onUpdate")),l&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&t!==-1e-4&&this._startAt.render(t,e,i),o&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l),0===r&&this._rawPrevTime===a&&_!==a&&(this._rawPrevTime=0)))}},f._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:M.selector(e)||e;var s=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,r,n,a,o,l,_,u,f,c;if((h(e)||F(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(_=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){l=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;l=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(l){if(u=t||l,f=t!==n&&"all"!==n&&t!==l&&("object"!=typeof t||!t._tempKill),i&&(M.onOverwrite||this.vars.onOverwrite)){for(a in u)l[a]&&(c||(c=[]),c.push(a));if((c||!t)&&!J(this,i,e,c))return!1}for(a in u)(o=l[a])&&(s&&(o.f?o.t[o.p](o.s):o.t[o.p]=o.s,_=!0),o.pg&&o.t._kill(u)&&(_=!0),o.pg&&0!==o.t._overwriteProps.length||(o._prev?o._prev._next=o._next:o===this._firstPT&&(this._firstPT=o._next),o._next&&(o._next._prev=o._prev),o._next=o._prev=null),delete l[a]),f&&(n[a]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return _},f.invalidate=function(){return this._notifyPluginsOfEnabled&&M._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],A.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-a,this.render(Math.min(0,-this._delay))),this},f._enabled=function(t,e){if(p||c.wake(),t&&this._gc){var i=this._targets,s;if(i)for(s=i.length;--s>-1;)this._siblings[s]=K(i[s],this,!0);else this._siblings=K(this.target,this,!0)}return A.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&M._onPluginEvent(t?"_onEnable":"_onDisable",this)},M.to=function(t,e,i){return new M(t,e,i)},M.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new M(t,e,i)},M.fromTo=function(t,e,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new M(t,e,s)},M.delayedCall=function(t,e,i,s,r){return new M(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:s,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},M.set=function(t,e){return new M(t,0,e)},M.getTweensOf=function(t,e){if(null==t)return[];t="string"!=typeof t?t:M.selector(t)||t;var i,s,r,n;if((h(t)||F(t))&&"number"!=typeof t[0]){for(i=t.length,s=[];--i>-1;)s=s.concat(M.getTweensOf(t[i],e));for(i=s.length;--i>-1;)for(n=s[i],r=i;--r>-1;)n===s[r]&&s.splice(i,1)}else for(s=K(t).concat(),i=s.length;--i>-1;)(s[i]._gc||e&&!s[i].isActive())&&s.splice(i,1);return s},M.killTweensOf=M.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var s=M.getTweensOf(t,e),r=s.length;--r>-1;)s[r]._kill(i,t)};var it=v("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype},!0);if(f=it.prototype,it.version="1.19.0",it.API=2,f._firstPT=null,f._addTween=Y,f.setRatio=L,f._kill=function(t){var e=this._overwriteProps,i=this._firstPT,s;if(null!=t[this._propName])this._overwriteProps=[];else for(s=e.length;--s>-1;)null!=t[e[s]]&&e.splice(s,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},f._mod=f._roundProps=function(t){for(var e=this._firstPT,i;e;)i=t[this._propName]||null!=e.n&&t[e.n.split(this._propName+"_").join("")],i&&"function"==typeof i&&(2===e.f?e.t._applyPT.m=i:e.m=i),e=e._next},M._onPluginEvent=function(t,e){var i=e._firstPT,s,r,n,a,o;if("_onInitAllProps"===t){for(;i;){for(o=i._next,r=n;r&&r.pr>i.pr;)r=r._next;(i._prev=r?r._prev:a)?i._prev._next=i:n=i,(i._next=r)?r._prev=i:a=i,i=o}i=e._firstPT=n}for(;i;)i.pg&&"function"==typeof i.t[t]&&i.t[t]()&&(s=!0),i=i._next;return s},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(j[(new t[e])._propName]=t[e]);return!0},g.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e=t.propName,i=t.priority||0,s=t.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},n=v("plugins."+e.charAt(0).toUpperCase()+e.substr(1)+"Plugin",function(){it.call(this,e,i),this._overwriteProps=s||[]},t.global===!0),a=n.prototype=new it(e),o;a.constructor=n,n.API=t.API;for(o in r)"function"==typeof t[o]&&(a[r[o]]=t[o]);return n.version=t.version,it.activate([n]),n},_=t._gsQueue){for(u=0;u<_.length;u++)_[u]();for(f in d)d[f].func||t.console.log("GSAP encountered missing dependency: "+f)}p=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax");