Skip to content

armgit / GSAP

Public Imported from GitHub
0

GSAP (GreenSock Animation Platform): high-performance JavaScript animation for anything JavaScript can touch. 100% free, including every plugin.

Fixed skew and Bezier regressions

Jack Doyle7e25e07658a1
diff --git a/src/minified/TweenMax.min.js b/src/minified/TweenMax.min.js
index 056e9c8..f949452 100755
--- a/src/minified/TweenMax.min.js
+++ b/src/minified/TweenMax.min.js
@@ -1,5 +1,5 @@
/**
- * VERSION: beta 1.66
+ * VERSION: beta 1.661
* DATE: 2012-12-14
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
@@ -12,135 +12,135 @@
*
* @author: Jack Doyle, [email protected]
**/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(s,m,j){var p=function(f,d,a){j.call(this,f,d,a);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},k=p.prototype=j.to({},0.1,{}),b=[];p.version=1.66;k.constructor=p;k.kill()._gc=!1;p.killTweensOf=p.killDelayedCallsTo=j.killTweensOf;p.getTweensOf=j.getTweensOf;p.ticker=j.ticker;
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,v,j){var n=function(f,d,a){j.call(this,f,d,a);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},k=n.prototype=j.to({},0.1,{}),b=[];n.version=1.661;k.constructor=n;k.kill()._gc=!1;n.killTweensOf=n.killDelayedCallsTo=j.killTweensOf;n.getTweensOf=j.getTweensOf;n.ticker=j.ticker;
k.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return j.prototype.invalidate.call(this)};k.updateTo=function(f,d){var a=this.ratio,g;d&&(null!=this.timeline&&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(g in f)this.vars[g]=f[g];if(this._initted)if(d)this._initted=
-!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&j._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)a=this._time,this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1);else if(0<this._time){this._initted=!1;this._init();a=1/(1-a);g=this._firstPT;for(var r;g;)r=g.s+g.c,g.c*=a,g.s=r-g.c,g=g._next}return this};k.render=function(f,d,a){var g=!this._dirty?this._totalDuration:this.totalDuration(),r=this._time,c=this._totalTime,t=this._cycle,v,D;if(f>=g){if(this._totalTime=g,
-this._cycle=this._repeat,this._yoyo&&0!==(this._cycle&1)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(v=!0,D="onComplete"),0===this._duration){if(0===f||0>this._rawPrevTime)this._rawPrevTime!==f&&(a=!0);this._rawPrevTime=f}}else if(0>=f){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==c||0===this._duration&&0<this._rawPrevTime)D=
-"onReverseComplete",v=this._reversed;0>f?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(a=!0),this._rawPrevTime=f)):this._initted||(a=!0)}else if(this._totalTime=this._time=f,0!==this._repeat&&(f=this._duration+this._repeatDelay,this._cycle=this._totalTime/f>>0,0!==this._cycle&&this._cycle===this._totalTime/f&&this._cycle--,this._time=this._totalTime-this._cycle*f,this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:
-0>this._time&&(this._time=0)),this._easeType){f=this._time/this._duration;var g=this._easeType,u=this._easePower;if(1===g||3===g&&0.5<=f)f=1-f;3===g&&(f*=2);1===u?f*=f:2===u?f*=f*f:3===u?f*=f*f*f:4===u&&(f*=f*f*f*f);this.ratio=1===g?1-f:2===g?f:0.5>this._time/this._duration?f/2:1-f/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(r===this._time&&!a)c!==this._totalTime&&this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));else{this._initted||
-(this._init(),!v&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===c&&this.vars.onStart&&(0!==this._totalTime||0===this._duration))d||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||b);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));this._cycle!==
-t&&(d||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||b));D&&!this._gc&&(v&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),d||this.vars[D]&&this.vars[D].apply(this.vars[D+"Scope"]||this,this.vars[D+"Params"]||b))}};p.to=function(a,d,y){return new p(a,d,y)};p.from=function(a,d,y){y.runBackwards=!0;!1!==y.immediateRender&&(y.immediateRender=!0);return new p(a,d,y)};p.fromTo=function(a,d,y,g){g.startAt=y;y.immediateRender&&
-(g.immediateRender=!0);return new p(a,d,g)};p.staggerTo=p.allTo=function(a,d,y,g,r,c,b){g=g||0;var t=[],D=a.length,u=y.delay||0,C,q,j;for(q=0;q<D;q++){C={};for(j in y)C[j]=y[j];C.delay=u;q===D-1&&r&&(C.onComplete=function(){y.onComplete&&y.onComplete.apply(y.onCompleteScope,y.onCompleteParams);r.apply(b,c)});t[q]=new p(a[q],d,C);u+=g}return t};p.staggerFrom=p.allFrom=function(a,d,y,g,r,c,b){y.runBackwards=!0;!1!==y.immediateRender&&(y.immediateRender=!0);return p.staggerTo(a,d,y,g,r,c,b)};p.staggerFromTo=
-p.allFromTo=function(a,d,y,g,c,b,t,v){g.startAt=y;y.immediateRender&&(g.immediateRender=!0);return p.staggerTo(a,d,g,c,b,t,v)};p.delayedCall=function(a,d,c,g,r){return new p(d,0,{delay:a,onComplete:d,onCompleteParams:c,onCompleteScope:g,onReverseComplete:d,onReverseCompleteParams:c,onReverseCompleteScope:g,immediateRender:!1,useFrames:r,overwrite:0})};p.set=function(a,d){return new p(a,0,d)};p.isTweening=function(a){a=j.getTweensOf(a);for(var d=a.length,c;-1<--d;)if((c=a[d])._active||c._startTime===
-c.timeline._time&&c.timeline._active)return!0;return!1};var t=function(a,d){for(var c=[],g=0,r=a._first;r;)r instanceof j?c[g++]=r:(d&&(c[g++]=r),c=c.concat(t(r,d)),g=c.length),r=r._next;return c},c=p.getAllTweens=function(a){return t(s._rootTimeline,a).concat(t(s._rootFramesTimeline,a))};p.killAll=function(a,d,y,g){null==d&&(d=!0);null==y&&(y=!0);var r=c(!1!=g),b=r.length;g=d&&y&&g;var t,v,D;for(D=0;D<b;D++)if(v=r[D],g||v instanceof m||(t=v.target===v.vars.onComplete)&&y||d&&!t)a?v.totalTime(v.totalDuration()):
-v._enabled(!1,!1)};p.killChildTweensOf=function(a,d){if(null!=a)if(a.jquery)a.each(function(a,g){p.killChildTweensOf(g,d)});else{var c=j._tweenLookup,g=[],r,b;for(b in c)for(r=c[b].target.parentNode;r;)r===a&&(g=g.concat(c[b].tweens)),r=r.parentNode;r=g.length;for(c=0;c<r;c++)d&&g[c].totalTime(g[c].totalDuration()),g[c]._enabled(!1,!1)}};p.pauseAll=function(f,d,c){a(!0,f,d,c)};p.resumeAll=function(f,d,c){a(!1,f,d,c)};var a=function(a,d,b,g){void 0==d&&(d=!0);void 0==b&&(b=!0);var r=c(g);g=d&&b&&g;
-for(var t=r.length,j,v;-1<--t;)v=r[t],(g||v instanceof m||(j=v.target===v.vars.onComplete)&&b||d&&!j)&&v.paused(a)};k.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1)};k.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};k.time=function(a,d){if(!arguments.length)return this._time;
+!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&j._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)a=this._time,this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1);else if(0<this._time){this._initted=!1;this._init();a=1/(1-a);g=this._firstPT;for(var r;g;)r=g.s+g.c,g.c*=a,g.s=r-g.c,g=g._next}return this};k.render=function(f,d,a){var g=!this._dirty?this._totalDuration:this.totalDuration(),r=this._time,c=this._totalTime,t=this._cycle,w,D;if(f>=g){if(this._totalTime=g,
+this._cycle=this._repeat,this._yoyo&&0!==(this._cycle&1)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(w=!0,D="onComplete"),0===this._duration){if(0===f||0>this._rawPrevTime)this._rawPrevTime!==f&&(a=!0);this._rawPrevTime=f}}else if(0>=f){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==c||0===this._duration&&0<this._rawPrevTime)D=
+"onReverseComplete",w=this._reversed;0>f?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(a=!0),this._rawPrevTime=f)):this._initted||(a=!0)}else if(this._totalTime=this._time=f,0!==this._repeat&&(f=this._duration+this._repeatDelay,this._cycle=this._totalTime/f>>0,0!==this._cycle&&this._cycle===this._totalTime/f&&this._cycle--,this._time=this._totalTime-this._cycle*f,this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:
+0>this._time&&(this._time=0)),this._easeType){f=this._time/this._duration;var g=this._easeType,s=this._easePower;if(1===g||3===g&&0.5<=f)f=1-f;3===g&&(f*=2);1===s?f*=f:2===s?f*=f*f:3===s?f*=f*f*f:4===s&&(f*=f*f*f*f);this.ratio=1===g?1-f:2===g?f:0.5>this._time/this._duration?f/2:1-f/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(r===this._time&&!a)c!==this._totalTime&&this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));else{this._initted||
+(this._init(),!w&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===c&&this.vars.onStart&&(0!==this._totalTime||0===this._duration))d||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||b);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));this._cycle!==
+t&&(d||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||b));D&&!this._gc&&(w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),d||this.vars[D]&&this.vars[D].apply(this.vars[D+"Scope"]||this,this.vars[D+"Params"]||b))}};n.to=function(a,d,z){return new n(a,d,z)};n.from=function(a,d,z){z.runBackwards=!0;!1!==z.immediateRender&&(z.immediateRender=!0);return new n(a,d,z)};n.fromTo=function(a,d,z,g){g.startAt=z;z.immediateRender&&
+(g.immediateRender=!0);return new n(a,d,g)};n.staggerTo=n.allTo=function(a,d,z,g,r,c,b){g=g||0;var t=[],D=a.length,s=z.delay||0,B,q,j;for(q=0;q<D;q++){B={};for(j in z)B[j]=z[j];B.delay=s;q===D-1&&r&&(B.onComplete=function(){z.onComplete&&z.onComplete.apply(z.onCompleteScope,z.onCompleteParams);r.apply(b,c)});t[q]=new n(a[q],d,B);s+=g}return t};n.staggerFrom=n.allFrom=function(a,d,z,g,r,c,b){z.runBackwards=!0;!1!==z.immediateRender&&(z.immediateRender=!0);return n.staggerTo(a,d,z,g,r,c,b)};n.staggerFromTo=
+n.allFromTo=function(a,d,z,g,c,b,t,w){g.startAt=z;z.immediateRender&&(g.immediateRender=!0);return n.staggerTo(a,d,g,c,b,t,w)};n.delayedCall=function(a,d,c,g,r){return new n(d,0,{delay:a,onComplete:d,onCompleteParams:c,onCompleteScope:g,onReverseComplete:d,onReverseCompleteParams:c,onReverseCompleteScope:g,immediateRender:!1,useFrames:r,overwrite:0})};n.set=function(a,d){return new n(a,0,d)};n.isTweening=function(a){a=j.getTweensOf(a);for(var d=a.length,c;-1<--d;)if((c=a[d])._active||c._startTime===
+c.timeline._time&&c.timeline._active)return!0;return!1};var t=function(a,d){for(var c=[],g=0,r=a._first;r;)r instanceof j?c[g++]=r:(d&&(c[g++]=r),c=c.concat(t(r,d)),g=c.length),r=r._next;return c},c=n.getAllTweens=function(a){return t(l._rootTimeline,a).concat(t(l._rootFramesTimeline,a))};n.killAll=function(a,d,z,g){null==d&&(d=!0);null==z&&(z=!0);var r=c(!1!=g),b=r.length;g=d&&z&&g;var t,w,D;for(D=0;D<b;D++)if(w=r[D],g||w instanceof v||(t=w.target===w.vars.onComplete)&&z||d&&!t)a?w.totalTime(w.totalDuration()):
+w._enabled(!1,!1)};n.killChildTweensOf=function(a,d){if(null!=a)if(a.jquery)a.each(function(a,g){n.killChildTweensOf(g,d)});else{var c=j._tweenLookup,g=[],r,b;for(b in c)for(r=c[b].target.parentNode;r;)r===a&&(g=g.concat(c[b].tweens)),r=r.parentNode;r=g.length;for(c=0;c<r;c++)d&&g[c].totalTime(g[c].totalDuration()),g[c]._enabled(!1,!1)}};n.pauseAll=function(f,d,c){a(!0,f,d,c)};n.resumeAll=function(f,d,c){a(!1,f,d,c)};var a=function(a,d,b,g){void 0==d&&(d=!0);void 0==b&&(b=!0);var r=c(g);g=d&&b&&g;
+for(var t=r.length,j,w;-1<--t;)w=r[t],(g||w instanceof v||(j=w.target===w.vars.onComplete)&&b||d&&!j)&&w.paused(a)};k.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1)};k.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};k.time=function(a,d){if(!arguments.length)return this._time;
this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);this._yoyo&&0!==(this._cycle&1)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(a,d)};k.totalDuration=function(a){return!arguments.length?(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration):-1===this._repeat?
-this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};k.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};k.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};k.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return p},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(s,m,j){var p=function(a){m.call(this,
+this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};k.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};k.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};k.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return n},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,v,j){var n=function(a){v.call(this,
a);this._labels={};this.autoRemoveChildren=!0===this.vars.autoRemoveChildren;this.smoothChildTiming=!0===this.vars.smoothChildTiming;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;a=k.length;for(var f,d;-1<--a;)if(d=this.vars[k[a]])for(f=d.length;-1<--f;)"{self}"===d[f]&&(d=this.vars[k[a]]=d.concat(),d[f]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},k=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams",
-"onRepeatParams"],b=[],t=function(a){var f={},d;for(d in a)f[d]=a[d];return f},c=p.prototype=new m;p.version=1.641;c.constructor=p;c.kill()._gc=!1;c.to=function(a,f,d,c,g){return this.insert(new j(a,f,d),this._parseTimeOrLabel(g,c,!0))};c.from=function(a,f,d,c,g){return this.insert(j.from(a,f,d),this._parseTimeOrLabel(g,c,!0))};c.fromTo=function(a,f,d,c,g,r){return this.insert(j.fromTo(a,f,d,c),this._parseTimeOrLabel(r,g,!0))};c.staggerTo=function(a,f,d,c,g,r,b,k,v){b=new p({onComplete:b,onCompleteParams:k,
-onCompleteScope:v});c=c||0;for(k=0;k<a.length;k++)null!=d.startAt&&(d.startAt=t(d.startAt)),b.insert(new j(a[k],f,t(d)),k*c);return this.insert(b,this._parseTimeOrLabel(r,g,!0))};c.staggerFrom=function(a,f,d,c,g,r,b,t,v){null==d.immediateRender&&(d.immediateRender=!0);d.runBackwards=!0;return this.staggerTo(a,f,d,c,g,r,b,t,v)};c.staggerFromTo=function(a,f,d,c,g,r,b,t,v,D){c.startAt=d;d.immediateRender&&(c.immediateRender=!0);return this.staggerTo(a,f,c,g,r,b,t,v,D)};c.call=function(a,f,d,c,g){return this.insert(j.delayedCall(0,
-a,f,d),this._parseTimeOrLabel(g,c,!0))};c.set=function(a,f,d,c){f.immediateRender=!1;return this.insert(new j(a,0,f),this._parseTimeOrLabel(c,d,!0))};p.exportRoot=function(a,c){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var d=new p(a),b=d._timeline;null==c&&(c=!0);b._remove(d,!0);d._startTime=0;d._rawPrevTime=d._time=d._totalTime=b._time;for(var g=b._first,r;g;)r=g._next,(!c||!(g instanceof j&&g.target===g.vars.onComplete))&&d.insert(g,g._startTime-g._delay),g=r;b.insert(d,0);return d};
-c.insert=function(a,c){if(!(a instanceof s)){if(a instanceof Array)return this.insertMultiple(a,c);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(c||0,0,!0));if("function"===typeof a)a=j.delayedCall(0,a);else throw"ERROR: Cannot insert() "+a+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}m.prototype.insert.call(this,a,this._parseTimeOrLabel(c||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var d=
-this;d._gc&&d._timeline;)d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._enabled(!0,!1),d=d._timeline;return this};c.remove=function(a){if(a instanceof s)return this._remove(a,!1);if(a instanceof Array){for(var c=a.length;-1<--c;)this.remove(a[c]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};c.append=function(a,c){return this.insert(a,this._parseTimeOrLabel(null,c,!0))};c.insertMultiple=function(a,c,d,b){d=d||"normal";b=b||0;var g,r=this._parseTimeOrLabel(c||
-0,0,!0),t=a.length;for(c=0;c<t;c++){if((g=a[c])instanceof Array)g=new p({tweens:g});this.insert(g,r);"string"===typeof g||"function"===typeof g||("sequence"===d?r=g._startTime+g.totalDuration()/g._timeScale:"start"===d&&(g._startTime-=g.delay()));r+=b}return this._uncache(!0)};c.appendMultiple=function(a,c,d,b){return this.insertMultiple(a,this._parseTimeOrLabel(null,c,!0),d,b)};c.addLabel=function(a,c){this._labels[a]=c;return this};c.removeLabel=function(a){delete this._labels[a];return this};c.getLabelTime=
+"onRepeatParams"],b=[],t=function(a){var f={},d;for(d in a)f[d]=a[d];return f},c=n.prototype=new v;n.version=1.641;c.constructor=n;c.kill()._gc=!1;c.to=function(a,f,d,c,g){return this.insert(new j(a,f,d),this._parseTimeOrLabel(g,c,!0))};c.from=function(a,f,d,c,g){return this.insert(j.from(a,f,d),this._parseTimeOrLabel(g,c,!0))};c.fromTo=function(a,f,d,c,g,r){return this.insert(j.fromTo(a,f,d,c),this._parseTimeOrLabel(r,g,!0))};c.staggerTo=function(a,f,d,c,g,r,b,k,w){b=new n({onComplete:b,onCompleteParams:k,
+onCompleteScope:w});c=c||0;for(k=0;k<a.length;k++)null!=d.startAt&&(d.startAt=t(d.startAt)),b.insert(new j(a[k],f,t(d)),k*c);return this.insert(b,this._parseTimeOrLabel(r,g,!0))};c.staggerFrom=function(a,f,d,c,g,r,b,t,w){null==d.immediateRender&&(d.immediateRender=!0);d.runBackwards=!0;return this.staggerTo(a,f,d,c,g,r,b,t,w)};c.staggerFromTo=function(a,f,d,c,g,r,b,t,w,D){c.startAt=d;d.immediateRender&&(c.immediateRender=!0);return this.staggerTo(a,f,c,g,r,b,t,w,D)};c.call=function(a,f,d,c,g){return this.insert(j.delayedCall(0,
+a,f,d),this._parseTimeOrLabel(g,c,!0))};c.set=function(a,f,d,c){f.immediateRender=!1;return this.insert(new j(a,0,f),this._parseTimeOrLabel(c,d,!0))};n.exportRoot=function(a,c){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var d=new n(a),b=d._timeline;null==c&&(c=!0);b._remove(d,!0);d._startTime=0;d._rawPrevTime=d._time=d._totalTime=b._time;for(var g=b._first,r;g;)r=g._next,(!c||!(g instanceof j&&g.target===g.vars.onComplete))&&d.insert(g,g._startTime-g._delay),g=r;b.insert(d,0);return d};
+c.insert=function(a,c){if(!(a instanceof l)){if(a instanceof Array)return this.insertMultiple(a,c);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(c||0,0,!0));if("function"===typeof a)a=j.delayedCall(0,a);else throw"ERROR: Cannot insert() "+a+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}v.prototype.insert.call(this,a,this._parseTimeOrLabel(c||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var d=
+this;d._gc&&d._timeline;)d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._enabled(!0,!1),d=d._timeline;return this};c.remove=function(a){if(a instanceof l)return this._remove(a,!1);if(a instanceof Array){for(var c=a.length;-1<--c;)this.remove(a[c]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};c.append=function(a,c){return this.insert(a,this._parseTimeOrLabel(null,c,!0))};c.insertMultiple=function(a,c,d,b){d=d||"normal";b=b||0;var g,r=this._parseTimeOrLabel(c||
+0,0,!0),t=a.length;for(c=0;c<t;c++){if((g=a[c])instanceof Array)g=new n({tweens:g});this.insert(g,r);"string"===typeof g||"function"===typeof g||("sequence"===d?r=g._startTime+g.totalDuration()/g._timeScale:"start"===d&&(g._startTime-=g.delay()));r+=b}return this._uncache(!0)};c.appendMultiple=function(a,c,d,b){return this.insertMultiple(a,this._parseTimeOrLabel(null,c,!0),d,b)};c.addLabel=function(a,c){this._labels[a]=c;return this};c.removeLabel=function(a){delete this._labels[a];return this};c.getLabelTime=
function(a){return null!=this._labels[a]?this._labels[a]:-1};c._parseTimeOrLabel=function(a,c,d){if("string"===typeof c)return this._parseTimeOrLabel(c,d&&"number"===typeof a&&null==this._labels[c]?a-this.duration():0,d);c=c||0;return null==a?this.duration()+c:"string"===typeof a&&isNaN(a)?null==this._labels[a]?d?this._labels[a]=this.duration()+c:c:this._labels[a]+c:Number(a)+c};c.seek=function(a,c){return this.totalTime(this._parseTimeOrLabel(a),!1!=c)};c.stop=function(){return this.paused(!0)};
-c.gotoAndPlay=function(a,c){return m.prototype.play.call(this,a,c)};c.gotoAndStop=function(a,c){return this.pause(a,c)};c.render=function(a,c,d){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var t=!this._dirty?this._totalDuration:this.totalDuration(),g=this._time,r=this._startTime,j=this._timeScale,p=this._paused,v,D,u;if(a>=t){this._totalTime=this._time=t;if(!this._reversed&&!this._hasPausedChild()&&(v=!0,u="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==
-a&&(d=!0);this._rawPrevTime=a;a=t+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==g||0===this._duration&&0<this._rawPrevTime)u="onReverseComplete",v=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(d=!0)):this._initted||(d=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==g||d){this._initted||(this._initted=!0);0===g&&this.vars.onStart&&0!==this._time&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||
-b));if(this._time>g)for(d=this._first;d;){D=d._next;if(this._paused&&!p)break;else if(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=D}else for(d=this._last;d;){D=d._prev;if(this._paused&&!p)break;else if(d._active||d._startTime<=g&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,
-c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=D}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));if(u&&!this._gc&&(r===this._startTime||j!=this._timeScale))if(0===this._time||t>=this.totalDuration())v&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[u]&&this.vars[u].apply(this.vars[u+"Scope"]||this,this.vars[u+"Params"]||b)}};c._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof
-p&&a._hasPausedChild())return!0;a=a._next}return!1};c.getChildren=function(a,c,d,b){b=b||-9999999999;for(var g=[],r=this._first,t=0;r;)r._startTime<b||(r instanceof j?!1!=c&&(g[t++]=r):(!1!=d&&(g[t++]=r),!1!=a&&(g=g.concat(r.getChildren(!0,c,d)),t=g.length))),r=r._next;return g};c.getTweensOf=function(a,c){for(var d=j.getTweensOf(a),b=d.length,g=[],r=0;-1<--b;)if(d[b].timeline===this||c&&this._contains(d[b]))g[r++]=d[b];return g};c._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=
+c.gotoAndPlay=function(a,c){return v.prototype.play.call(this,a,c)};c.gotoAndStop=function(a,c){return this.pause(a,c)};c.render=function(a,c,d){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var t=!this._dirty?this._totalDuration:this.totalDuration(),g=this._time,r=this._startTime,j=this._timeScale,n=this._paused,w,D,s;if(a>=t){this._totalTime=this._time=t;if(!this._reversed&&!this._hasPausedChild()&&(w=!0,s="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==
+a&&(d=!0);this._rawPrevTime=a;a=t+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==g||0===this._duration&&0<this._rawPrevTime)s="onReverseComplete",w=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(d=!0)):this._initted||(d=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==g||d){this._initted||(this._initted=!0);0===g&&this.vars.onStart&&0!==this._time&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||
+b));if(this._time>g)for(d=this._first;d;){D=d._next;if(this._paused&&!n)break;else if(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=D}else for(d=this._last;d;){D=d._prev;if(this._paused&&!n)break;else if(d._active||d._startTime<=g&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,
+c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=D}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));if(s&&!this._gc&&(r===this._startTime||j!=this._timeScale))if(0===this._time||t>=this.totalDuration())w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||b)}};c._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof
+n&&a._hasPausedChild())return!0;a=a._next}return!1};c.getChildren=function(a,c,d,b){b=b||-9999999999;for(var g=[],r=this._first,t=0;r;)r._startTime<b||(r instanceof j?!1!=c&&(g[t++]=r):(!1!=d&&(g[t++]=r),!1!=a&&(g=g.concat(r.getChildren(!0,c,d)),t=g.length))),r=r._next;return g};c.getTweensOf=function(a,c){for(var d=j.getTweensOf(a),b=d.length,g=[],r=0;-1<--b;)if(d[b].timeline===this||c&&this._contains(d[b]))g[r++]=d[b];return g};c._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=
a.timeline}return!1};c.shiftChildren=function(a,c,d){d=d||0;for(var b=this._first;b;)b._startTime>=d&&(b._startTime+=a),b=b._next;if(c)for(var g in this._labels)this._labels[g]>=d&&(this._labels[g]+=a);return this._uncache(!0)};c._kill=function(a,c){if(null==a&&null==c)return this._enabled(!1,!1);for(var d=null==c?this.getChildren(!0,!0,!1):this.getTweensOf(c),b=d.length,g=!1;-1<--b;)d[b]._kill(a,c)&&(g=!0);return g};c.clear=function(a){var c=this.getChildren(!1,!0,!0),d=c.length;for(this._time=this._totalTime=
-0;-1<--d;)c[d]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};c.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};c._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return m.prototype._enabled.call(this,a,c)};c.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};c.duration=function(a){if(!arguments.length)return this._dirty&&this.totalDuration(),
+0;-1<--d;)c[d]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};c.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};c._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return v.prototype._enabled.call(this,a,c)};c.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};c.duration=function(a){if(!arguments.length)return this._dirty&&this.totalDuration(),
this._duration;0!==this.duration()&&0!==a&&this.timeScale(this._duration/a);return this};c.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var c=0,d=this._first,b=-999999999999,g;d;)g=d._next,d._startTime<b&&this._sortChildren?this.insert(d,d._startTime-d._delay):b=d._startTime,0>d._startTime&&(c-=d._startTime,this.shiftChildren(-d._startTime,!1,-9999999999)),d=d._startTime+(!d._dirty?d._totalDuration:d.totalDuration())/d._timeScale,d>c&&(c=d),d=g;this._duration=this._totalDuration=
-c;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};c.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===s._rootFramesTimeline};c.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return p},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(s,
-m,j){var p=function(b){s.call(this,b);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._dirty=!0},k=[],b=new j(null,null,1,0);j=p.prototype=new s;j.constructor=p;j.kill()._gc=!1;p.version=1.641;j.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return s.prototype.invalidate.call(this)};j.addCallback=function(b,c,a,f){return this.insert(m.delayedCall(0,
-b,a,f),c)};j.removeCallback=function(b,c){if(null==c)this._kill(null,b);else for(var a=this.getTweensOf(b,!1),f=a.length,d=this._parseTimeOrLabel(c);-1<--f;)a[f]._startTime===d&&a[f]._enabled(!1,!1);return this};j.tweenTo=function(t,c){c=c||{};var a={ease:b,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},f,d;for(f in c)a[f]=c[f];a.time=this._parseTimeOrLabel(t);d=new m(this,Math.abs(Number(a.time)-this._time)/this._timeScale||0.001,a);a.onStart=function(){d.target.paused(!0);d.vars.time!==
+c;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};c.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===l._rootFramesTimeline};c.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return n},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(l,
+v,j){var n=function(b){l.call(this,b);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._dirty=!0},k=[],b=new j(null,null,1,0);j=n.prototype=new l;j.constructor=n;j.kill()._gc=!1;n.version=1.641;j.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return l.prototype.invalidate.call(this)};j.addCallback=function(b,c,a,f){return this.insert(v.delayedCall(0,
+b,a,f),c)};j.removeCallback=function(b,c){if(null==c)this._kill(null,b);else for(var a=this.getTweensOf(b,!1),f=a.length,d=this._parseTimeOrLabel(c);-1<--f;)a[f]._startTime===d&&a[f]._enabled(!1,!1);return this};j.tweenTo=function(t,c){c=c||{};var a={ease:b,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},f,d;for(f in c)a[f]=c[f];a.time=this._parseTimeOrLabel(t);d=new v(this,Math.abs(Number(a.time)-this._time)/this._timeScale||0.001,a);a.onStart=function(){d.target.paused(!0);d.vars.time!==
d.target.time()&&d.duration(Math.abs(d.vars.time-d.target.time())/d.target._timeScale);c.onStart&&c.onStart.apply(c.onStartScope||d,c.onStartParams||k)};return d};j.tweenFromTo=function(b,c,a){a=a||{};a.startAt={time:this._parseTimeOrLabel(b)};b=this.tweenTo(c,a);return b.duration(Math.abs(b.vars.time-b.vars.startAt.time)/this._timeScale||0.001)};j.render=function(b,c,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var f=!this._dirty?this._totalDuration:this.totalDuration(),d=this._time,
-j=this._totalTime,g=this._startTime,r=this._timeScale,p=this._rawPrevTime,m=this._paused,v=this._cycle,D,u;if(b>=f){this._locked||(this._totalTime=f,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(D=!0,u="onComplete",0===this._duration&&(0===b||0>this._rawPrevTime)))this._rawPrevTime!==b&&(a=!0);this._rawPrevTime=b;this._yoyo&&0!==(this._cycle&1)?(this._time=0,b=-1E-6):(this._time=this._duration,b=this._duration+1E-6)}else if(0>=b){this._locked||(this._totalTime=this._cycle=
-0);this._time=0;if(0!==d||0===this._duration&&0<this._rawPrevTime&&!this._locked)u="onReverseComplete",D=this._reversed;0>b?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=b;b=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=b,!this._locked&&(this._totalTime=b,0!==this._repeat)){var C=this._duration+this._repeatDelay;this._cycle=this._totalTime/C>>0;0!==this._cycle&&this._cycle===this._totalTime/C&&this._cycle--;this._time=
-this._totalTime-this._cycle*C;this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time);this._time>this._duration?(this._time=this._duration,b=this._duration+1E-6):0>this._time?this._time=b=0:b=this._time}if(this._cycle!==v&&!this._locked){var C=this._yoyo&&0!==(v&1),q=C===(this._yoyo&&0!==(this._cycle&1)),T=this._totalTime,I=this._cycle,J=this._rawPrevTime,A=this._time;this._totalTime=v*this._duration;this._cycle<v?C=!C:this._totalTime+=this._duration;this._time=d;this._rawPrevTime=
-0===this._duration?p-1E-5:p;this._cycle=v;this._locked=!0;d=C?0:this._duration;this.render(d,c,0===this._duration);c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||k);q&&(d=C?this._duration+1E-6:-1E-6,this.render(d,!0,!1));this._time=A;this._totalTime=T;this._cycle=I;this._rawPrevTime=J;this._locked=!1}if(this._time===d&&!a)j!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||
-k));else{this._initted||(this._initted=!0);0===j&&this.vars.onStart&&0!==this._totalTime&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||k));if(this._time>d)for(a=this._first;a;){j=a._next;if(this._paused&&!m)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=j}else for(a=this._last;a;){j=a._prev;
-if(this._paused&&!m)break;else if(a._active||a._startTime<=d&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=j}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||k));if(u&&!this._locked&&!this._gc&&(g===this._startTime||r!==this._timeScale))if(0===this._time||f>=this.totalDuration())D&&(this._timeline.autoRemoveChildren&&this._enabled(!1,
-!1),this._active=!1),c||this.vars[u]&&this.vars[u].apply(this.vars[u+"Scope"]||this,this.vars[u+"Params"]||k)}};j.getActive=function(b,c,a){null==b&&(b=!0);null==c&&(c=!0);null==a&&(a=!1);var f=[];b=this.getChildren(b,c,a);c=0;a=b.length;var d,j;for(d=0;d<a;d++)if(j=b[d],!j._paused&&j._timeline._time>=j._startTime&&j._timeline._time<j._startTime+j._totalDuration/j._timeScale){var g;a:{for(g=j._timeline;g;){if(g._paused){g=!0;break a}g=g._timeline}g=!1}g||(f[c++]=j)}return f};j.getLabelAfter=function(b){!b&&
+j=this._totalTime,g=this._startTime,r=this._timeScale,n=this._rawPrevTime,v=this._paused,w=this._cycle,D,s;if(b>=f){this._locked||(this._totalTime=f,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(D=!0,s="onComplete",0===this._duration&&(0===b||0>this._rawPrevTime)))this._rawPrevTime!==b&&(a=!0);this._rawPrevTime=b;this._yoyo&&0!==(this._cycle&1)?(this._time=0,b=-1E-6):(this._time=this._duration,b=this._duration+1E-6)}else if(0>=b){this._locked||(this._totalTime=this._cycle=
+0);this._time=0;if(0!==d||0===this._duration&&0<this._rawPrevTime&&!this._locked)s="onReverseComplete",D=this._reversed;0>b?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=b;b=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=b,!this._locked&&(this._totalTime=b,0!==this._repeat)){var B=this._duration+this._repeatDelay;this._cycle=this._totalTime/B>>0;0!==this._cycle&&this._cycle===this._totalTime/B&&this._cycle--;this._time=
+this._totalTime-this._cycle*B;this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time);this._time>this._duration?(this._time=this._duration,b=this._duration+1E-6):0>this._time?this._time=b=0:b=this._time}if(this._cycle!==w&&!this._locked){var B=this._yoyo&&0!==(w&1),q=B===(this._yoyo&&0!==(this._cycle&1)),U=this._totalTime,G=this._cycle,L=this._rawPrevTime,y=this._time;this._totalTime=w*this._duration;this._cycle<w?B=!B:this._totalTime+=this._duration;this._time=d;this._rawPrevTime=
+0===this._duration?n-1E-5:n;this._cycle=w;this._locked=!0;d=B?0:this._duration;this.render(d,c,0===this._duration);c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||k);q&&(d=B?this._duration+1E-6:-1E-6,this.render(d,!0,!1));this._time=y;this._totalTime=U;this._cycle=G;this._rawPrevTime=L;this._locked=!1}if(this._time===d&&!a)j!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||
+k));else{this._initted||(this._initted=!0);0===j&&this.vars.onStart&&0!==this._totalTime&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||k));if(this._time>d)for(a=this._first;a;){j=a._next;if(this._paused&&!v)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=j}else for(a=this._last;a;){j=a._prev;
+if(this._paused&&!v)break;else if(a._active||a._startTime<=d&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=j}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||k));if(s&&!this._locked&&!this._gc&&(g===this._startTime||r!==this._timeScale))if(0===this._time||f>=this.totalDuration())D&&(this._timeline.autoRemoveChildren&&this._enabled(!1,
+!1),this._active=!1),c||this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||k)}};j.getActive=function(b,c,a){null==b&&(b=!0);null==c&&(c=!0);null==a&&(a=!1);var f=[];b=this.getChildren(b,c,a);c=0;a=b.length;var d,j;for(d=0;d<a;d++)if(j=b[d],!j._paused&&j._timeline._time>=j._startTime&&j._timeline._time<j._startTime+j._totalDuration/j._timeScale){var g;a:{for(g=j._timeline;g;){if(g._paused){g=!0;break a}g=g._timeline}g=!1}g||(f[c++]=j)}return f};j.getLabelAfter=function(b){!b&&
0!==b&&(b=this._time);var c=this.getLabelsArray(),a=c.length,f;for(f=0;f<a;f++)if(c[f].time>b)return c[f].name;return null};j.getLabelBefore=function(b){null==b&&(b=this._time);for(var c=this.getLabelsArray(),a=c.length;-1<--a;)if(c[a].time<b)return c[a].name;return null};j.getLabelsArray=function(){var b=[],c=0,a;for(a in this._labels)b[c++]={time:this._labels[a],name:a};b.sort(function(a,c){return a.time-c.time});return b};j.progress=function(b){return!arguments.length?this._time/this.duration():
-this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-b:b)+this._cycle*(this._duration+this._repeatDelay),!1)};j.totalProgress=function(b){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*b,!1)};j.totalDuration=function(b){return!arguments.length?(this._dirty&&(s.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration):-1===this._repeat?
+this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-b:b)+this._cycle*(this._duration+this._repeatDelay),!1)};j.totalProgress=function(b){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*b,!1)};j.totalDuration=function(b){return!arguments.length?(this._dirty&&(l.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration):-1===this._repeat?
this:this.duration((b-this._repeat*this._repeatDelay)/(this._repeat+1))};j.time=function(b,c){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();b>this._duration&&(b=this._duration);this._yoyo&&0!==(this._cycle&1)?b=this._duration-b+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(b+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(b,c)};j.repeat=function(b){if(!arguments.length)return this._repeat;this._repeat=b;return this._uncache(!0)};
-j.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};j.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};j.currentLabel=function(b){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(b,!0)};return p},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(s){var m=function(){s.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},j=m.prototype=
-new s("bezier",1),p=180/Math.PI,k=Math.PI/180,b=[],t=[],c=[],a={},f=function(a,c,d,b){this.a=a;this.b=c;this.c=d;this.d=b;this.da=b-a;this.ca=d-a;this.ba=c-a},d=m.bezierThrough=function(d,r,j,p,v,D){var u={},C=[],q,k,m;v="string"===typeof v?","+v+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==r&&(r=1);for(k in d[0])C.push(k);b.length=t.length=c.length=0;for(q=C.length;-1<
---q;){k=C[q];a[k]=-1!==v.indexOf(","+k+",");m=u;var J=k,A;A=d;var h=k,F=a[k],w=D,E=[],B=void 0,x=void 0,s=void 0,e=void 0,n=void 0,B=void 0;if(w){A=[w].concat(A);for(x=A.length;-1<--x;)if("string"===typeof(B=A[x][h]))"="===B.charAt(1)&&(A[x][h]=w[h]+Number(B.charAt(0)+B.substr(2)))}B=A.length-2;if(0>B)E[0]=new f(A[0][h],0,0,A[-1>B?0:1][h]);else{for(x=0;x<B;x++)s=A[x][h],e=A[x+1][h],E[x]=new f(s,0,0,e),F&&(n=A[x+2][h],b[x]=(b[x]||0)+(e-s)*(e-s),t[x]=(t[x]||0)+(n-e)*(n-e));E[x]=new f(A[x][h],0,0,A[x+
-1][h])}A=E;m[J]=A}for(q=b.length;-1<--q;)b[q]=Math.sqrt(b[q]),t[q]=Math.sqrt(t[q]);if(!p){for(q=C.length;-1<--q;)if(a[k]){d=u[C[q]];m=d.length-1;for(v=0;v<m;v++)D=d[v+1].da/t[v]+d[v].da/b[v],c[v]=(c[v]||0)+D*D}for(q=c.length;-1<--q;)c[q]=Math.sqrt(c[q])}for(q=C.length;-1<--q;){k=C[q];d=u[k];v=r;D=j;m=p;k=a[k];J=d.length-1;A=0;for(var h=d[0].a,l=n=e=w=B=e=s=B=x=s=E=w=F=void 0,F=0;F<J;F++)x=d[A],w=x.a,E=x.d,s=d[A+1].d,k?(e=b[F],n=t[F],l=0.25*(n+e)*v/(m?0.5:c[F]||0.5),B=E-(E-w)*(m?0.5*v:l/e),s=E+(s-
-E)*(m?0.5*v:l/n),e=E-(B+(s-B)*(3*e/(e+n)+0.5)/4)):(B=E-0.5*(E-w)*v,s=E+0.5*(s-E)*v,e=E-(B+s)/2),B+=e,s+=e,x.c=B,x.b=0!==F?h:h=x.a+0.6*(x.c-x.a),x.da=E-w,x.ca=B-w,x.ba=h-w,D?(w=y(w,h,B,E),d.splice(A,1,w[0],w[1],w[2],w[3]),A+=4):A++,h=s;x=d[A];x.b=h;x.c=h+0.4*(x.d-h);x.da=x.d-x.a;x.ca=x.c-x.a;x.ba=h-x.a;D&&(w=y(x.a,h,x.c,x.d),d.splice(A,1,w[0],w[1],w[2],w[3]))}return u},y=m.cubicToQuadratic=function(a,c,d,b){var f={a:a},j={},u={},k={c:b},q=(a+c)/2,p=(c+d)/2;d=(d+b)/2;c=(q+p)/2;var p=(p+d)/2,m=(p-c)/
-8;f.b=q+(a-q)/4;j.b=c+m;f.c=j.a=(f.b+j.b)/2;j.c=u.a=(c+p)/2;u.b=p-m;k.b=d+(b-d)/4;u.c=k.a=(u.b+k.b)/2;return[f,j,u,k]};m.quadraticToCubic=function(a,c,d){return new f(a,(2*c+a)/3,(2*c+d)/3,d)};j.constructor=m;m.API=2;m._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,c=a._parseToProxy,d=a._setPluginRatio,b=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,g,f,j,q,p){g instanceof Array&&(g={values:g});p=new m;var s=g.values,t=s.length-
-1,A=[];f={};var h,F,w;if(0>t)return q;for(h=0;h<=t;h++)w=c(a,s[h],j,q,p,t!==h),A[h]=w.end;for(F in g)f[F]=g[F];f.values=A;q=new b(a,"bezier",0,0,w.pt,2);q.data=w;q.plugin=p;q.setRatio=d;0===f.autoRotate&&(f.autoRotate=!0);f.autoRotate&&!(f.autoRotate instanceof Array)&&(h=!0===f.autoRotate?0:Number(f.autoRotate)*k,f.autoRotate=null!=w.end.left?[["left","top","rotation",h,!0]]:null!=w.end.x?[["x","y","rotation",h,!0]]:!1);f.autoRotate&&(j._transform||(a=j._enableTransforms(!1,q,p),a._next=q._next,
-a._prev=q,q._next=a,q._prev=null),w.autoRotate=j._target._gsTransform);p._onInitTween(w.proxy,f,j._tween);return q})}};j._onInitTween=function(a,c,b){this._target=a;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution);var j=c.values||[],p={},k=j[0];b=c.autoRotate||b.vars.orientToBezier;var u,C,q;this._autoRotate=b?b instanceof Array?b:[["x","y","rotation",!0===b?0:Number(b)||0]]:null;for(u in k)this._props.push(u);for(k=this._props.length;-1<
---k;)u=this._props[k],this._overwriteProps.push(u),b=this._func[u]="function"===typeof a[u],p[u]=!b?parseFloat(a[u]):a[u.indexOf("set")||"function"!==typeof a["get"+u.substr(3)]?u:"get"+u.substr(3)](),q||p[u]!==j[0][u]&&(q=p);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)p=d(j,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,q);else{b=(b=c.type)||"soft";c={};q="cubic"===b?3:2;b="soft"===b;var k=[],m,s,t,A,h,F,w,E,B;b&&p&&(j=[p].concat(j));if(null==j||j.length<q+1)throw"invalid Bezier data";
-for(s in j[0])k.push(s);for(F=k.length;-1<--F;){s=k[F];c[s]=h=[];B=0;E=j.length;for(w=0;w<E;w++)m=null==p?j[w][s]:"string"===typeof(t=j[w][s])&&"="===t.charAt(1)?p[s]+Number(t.charAt(0)+t.substr(2)):Number(t),b&&1<w&&w<E-1&&(h[B++]=(m+h[B-2])/2),h[B++]=m;E=B-q+1;for(w=B=0;w<E;w+=q)m=h[w],s=h[w+1],t=h[w+2],A=2===q?0:h[w+3],h[B++]=t=3===q?new f(m,s,t,A):new f(m,(2*s+m)/3,(2*s+t)/3,t);h.length=B}p=c}this._beziers=p;this._segCount=this._beziers[u].length;if(this._timeRes){k=this._beziers;u=this._timeRes;
-u=u>>0||6;p=[];s=[];j=t=0;c=u-1;q=[];b=[];for(C in k){m=k[C];h=p;F=u;w=1/F;E=m.length;for(var x=void 0,y=void 0,e=A=B=y=void 0,n=x=void 0,l=void 0,l=e=void 0;-1<--E;){e=m[E];y=e.a;B=e.d-y;A=e.c-y;e=e.b-y;y=0;for(n=1;n<=F;n++)x=w*n,l=1-x,x=y-(y=(x*x*B+3*l*(x*A+l*e))*x),l=E*F+n-1,h[l]=(h[l]||0)+x*x}}k=p.length;for(C=0;C<k;C++)t+=Math.sqrt(p[C]),m=C%u,b[m]=t,m===c&&(j+=t,m=C/u>>0,q[m]=b,s[m]=j,t=0,b=[]);this._length=j;this._lengths=s;this._segments=q;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(b=this._autoRotate){b[0]instanceof Array||(this._autoRotate=b=[b]);for(k=b.length;-1<--k;)for(C=0;3>C;C++)u=b[k][C],this._func[u]="function"===typeof a[u]?a[u.indexOf("set")||"function"!==typeof a["get"+u.substr(3)]?u:"get"+u.substr(3)]:!1}return!0};j.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,f,j,k,m,q;if(this._timeRes){f=this._lengths;m=this._curSeg;a*=this._length;j=this._li;if(a>
-this._l2&&j<c-1){for(c-=1;j<c&&(this._l2=f[++j])<=a;);this._l1=f[j-1];this._li=j;this._curSeg=m=this._segments[j];this._s2=m[this._s1=this._si=0]}else if(a<this._l1&&0<j){for(;0<j&&(this._l1=f[--j])>=a;);0===j&&a<this._l1?this._l1=0:j++;this._l2=f[j];this._li=j;this._curSeg=m=this._segments[j];this._s1=m[(this._si=m.length-1)-1]||0;this._s2=m[this._si]}f=j;a-=this._l1;j=this._si;if(a>this._s2&&j<m.length-1){for(c=m.length-1;j<c&&(this._s2=m[++j])<=a;);this._s1=m[j-1];this._si=j}else if(a<this._s1&&
-0<j){for(;0<j&&(this._s1=m[--j])>=a;);0===j&&a<this._s1?this._s1=0:j++;this._s2=m[j];this._si=j}m=(j+(a-this._s1)/(this._s2-this._s1))*this._prec}else f=0>a?0:1<=a?c-1:c*a>>0,m=(a-f*(1/c))*c;c=1-m;for(j=this._props.length;-1<--j;)if(a=this._props[j],k=this._beziers[a][f],q=(m*m*k.da+3*c*(m*k.ca+c*k.ba))*m+k.a,this._round[a]&&(q=q+(0<q?0.5:-0.5)>>0),b[a])d[a](q);else d[a]=q;if(this._autoRotate){var c=this._autoRotate,t,s,y,A,h;for(j=c.length;-1<--j;)a=c[j][2],A=c[j][3]||0,h=!0===c[j][4]?1:p,k=this._beziers[c[j][0]][f],
-q=this._beziers[c[j][1]][f],t=k.a+(k.b-k.a)*m,s=k.b+(k.c-k.b)*m,t+=(s-t)*m,s+=(k.c+(k.d-k.c)*m-s)*m,k=q.a+(q.b-q.a)*m,y=q.b+(q.c-q.b)*m,k+=(y-k)*m,y+=(q.c+(q.d-q.c)*m-y)*m,q=Math.atan2(y-k,s-t)*h+A,b[a]?b[a].call(d,q):d[a]=q}};j._roundProps=function(a,c){for(var b=this._overwriteProps,d=b.length;-1<--d;)if(a[b[d]]||a.bezier||a.bezierThrough)this._round[b[d]]=c};j._kill=function(a){var c=this._props,b,d;for(b in this._beziers)if(b in a){delete this._beziers[b];delete this._func[b];for(d=c.length;-1<
---d;)c[d]===b&&c.splice(d,1)}return s.prototype._kill.call(this,a)};s.activate([m]);return m},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(s){var m=function(){s.call(this,"css");this._overwriteProps.length=0},j,p,k,b,t={},c=m.prototype=new s("css");c.constructor=m;m.version=1.66;m.API=2;m.defaultTransformPerspective=0;c="px";m.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,f=
-/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,d=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,y=/[^\d\-\.]/g,g=/(?:\d|\-|\+|=|#|\.)*/g,r=/opacity *= *([^)]*)/,Y=/opacity:([^;]*)/,Q=/([A-Z])/g,v=/-([a-z])/gi,D=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,u=function(a,e){return e.toUpperCase()},C=/(?:Left|Right|Width)/i,q=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,T=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=Math.PI/180,J=180/Math.PI,A={},h=document,F=h.createElement("div"),w=h.createElement("img"),
-E=m._internals={_specialProps:t},B=navigator.userAgent,x,U,e,n,l,z,H,R=B.indexOf("Android"),G=h.createElement("div");l=(e=-1!==B.indexOf("Safari")&&-1===B.indexOf("Chrome")&&(-1===R||3<Number(B.substr(R+8,1))))&&6>Number(B.substr(B.indexOf("Version/")+8,1));n=-1!==B.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(B);z=parseFloat(RegExp.$1);G.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";H=(B=G.getElementsByTagName("a")[0])?/^0.55/.test(B.style.opacity):!1;var N=function(a){return r.test("string"===
-typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},la="",ga="",$=function(a,e){e=e||F;var c=e.style,b,d;if(void 0!==c[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);b=["O","Moz","ms","Ms","Webkit"];for(d=5;-1<--d&&void 0===c[b[d]+a];);return 0<=d?(ga=3===d?"ms":b[d],la="-"+ga.toLowerCase()+"-",ga+a):null},aa=h.defaultView?h.defaultView.getComputedStyle:function(){},L=m.getStyle=function(a,e,c,b,d){var h;if(!H&&"opacity"===e)return N(a);!b&&a.style[e]?
-h=a.style[e]:(c=c||aa(a,null))?h=(a=c.getPropertyValue(e.replace(Q,"-$1").toLowerCase()))||c.length?a:c[e]:a.currentStyle&&(c=a.currentStyle,h=c[e]);return null!=d&&(!h||"none"===h||"auto"===h||"auto auto"===h)?d:h},ea=function(a,e,c){var b={},d=a._gsOverwrittenClassNamePT,h;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(e=e||aa(a,null))if(h=e.length)for(;-1<--h;)b[e[h].replace(v,u)]=e.getPropertyValue(e[h]);else for(h in e)b[h]=e[h];else if(e=a.currentStyle||a.style)for(h in e)b[h.replace(v,
-u)]=e[h];H||(b.opacity=N(a));a=da(a,e,!1);b.rotation=a.rotation*J;b.rotationX=a.rotationX*J;b.rotationY=a.rotationY*J;b.skewX=a.skewX*J;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.scaleZ=a.scaleZ;b.x=a.x;b.y=a.y;b.z=a.z;b.filters&&delete b.filters;return b},na=function(a,e,c,b){var d={};a=a.style;var h,l,n;for(l in c)if("cssText"!==l&&"length"!==l&&isNaN(l)&&e[l]!==(h=c[l]))if(-1===l.indexOf("Origin")&&("number"===typeof h||"string"===typeof h))d[l]=(""===h||"auto"===h||"none"===h)&&"string"===typeof e[l]&&
-""!==e[l].replace(y,"")?0:h,void 0!==a[l]&&(n=new ha(a,l,a[l],n));if(b)for(l in b)"className"!==l&&(d[l]=b[l]);return{difs:d,firstMPT:n}},ua={width:["Left","Right"],height:["Top","Bottom"]},va=["marginLeft","marginRight","marginTop","marginBottom"],S=function(a,e,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var l=C.test(e),n=a,j=F.style,f=0>c;f&&(c=-c);"%"===b&&-1!==e.indexOf("border")?l=c/100*(l?a.clientWidth:a.clientHeight):(j.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",
-"%"===b||"em"===b||!n.appendChild?(n=a.parentNode||h.body,j[l?"width":"height"]=c+b):j[l?"borderLeftWidth":"borderTopWidth"]=c+b,n.appendChild(F),l=parseFloat(F[l?"offsetWidth":"offsetHeight"]),n.removeChild(F),0===l&&!d&&(l=S(a,e,c,b,!0)));return f?-l:l},ia=function(a,e){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var c=a.split(" "),b=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],d=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];null==d?d="0":"center"===
-d&&(d="50%");if("center"===b||isNaN(parseFloat(b)))b="50%";e&&(e.oxp=-1!==b.indexOf("%"),e.oyp=-1!==d.indexOf("%"),e.oxr="="===b.charAt(1),e.oyr="="===d.charAt(1),e.ox=parseFloat(b.replace(y,"")),e.oy=parseFloat(d.replace(y,"")));return b+" "+d+(2<c.length?" "+c[2]:"")},oa=function(a,e){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(e)},W=function(a,e){return null==a?e:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+
-"1")*Number(a.substr(2))+e:Number(a)},ba=function(a,e){if(null==a)return e;var c=-1===a.indexOf("rad")?I:1,b="="===a.charAt(1);a=Number(a.replace(y,""))*c;return b?a+e:a},ja=function(a,e){var c=(("number"===typeof a?a*I:ba(a,e))-e)%(2*Math.PI);c!==c%Math.PI&&(c+=Math.PI*(0>c?2:-2));return e+c},Z={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]},ka=function(e){if(!e||""===e)return Z.black;if(Z[e])return Z[e];if("number"===typeof e)return[e>>16,e>>8&255,e&255];if("#"===e.charAt(0)){if(4===e.length){var c=e.charAt(1),b=e.charAt(2);e=e.charAt(3);e="#"+c+c+b+b+e+e}e=parseInt(e.substr(1),16);return[e>>16,e>>8&255,e&255]}e=e.match(a)||Z.transparent;e[0]=Number(e[0]);e[1]=Number(e[1]);e[2]=Number(e[2]);
-3<e.length&&(e[3]=Number(e[3]));return e},X="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(c in Z)X+="|"+c+"\\b";var X=RegExp(X+")","gi"),pa=function(e,c,b){if(null==e)return function(a){return a};var h=c?(e.match(X)||[""])[0]:"",l=e.split(h).join("").match(d)||[],n=e.substr(0,e.indexOf(l[0])),ma=")"===e.charAt(e.length-1)?")":"",j=-1!==e.indexOf(" ")?" ":",",f=l.length,ca=0<f?l[0].replace(a,""):"";return c?function(a){"number"===typeof a&&(a+=ca);var e=(a.match(X)||[h])[0];a=a.split(e).join("").match(d)||
-[];var c=a.length;if(f>c--)for(;++c<f;)a[c]=b?a[(c-1)/2>>0]:l[c];return n+a.join(j)+j+e+ma}:function(a){"number"===typeof a&&(a+=ca);a=a.match(d)||[];var e=a.length;if(f>e--)for(;++e<f;)a[e]=b?a[(e-1)/2>>0]:l[e];return n+a.join(j)+ma}},B=function(a){a=a.split(",");return function(e,c,b,d,h,l,n){c=(c+"").split(" ");n={};for(b=0;4>b;b++)n[a[b]]=c[b]=c[b]||c[(b-1)/2>>0];return d.parse(e,n,h,l)}};E._setPluginRatio=function(a){this.plugin.setRatio(a);for(var e=this.data,c=e.proxy,b=e.firstMPT,d;b;)d=c[b.v],
-b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0),b.t[b.p]=d,b=b._next;e.autoRotate&&(e.autoRotate.rotation=c.rotation);if(1===a)for(b=e.firstMPT;b;){a=b.t;if(a.type){if(1===a.type){c=a.xs0+a.s+a.xs1;for(e=1;e<a.l;e++)c+=a["xn"+e]+a["xs"+(e+1)];a.e=c}}else a.e=a.s+a.xs0;b=b._next}};var ha=function(a,e,c,b,d){this.t=a;this.p=e;this.v=c;this.r=d;b&&(b._prev=this,this._next=b)};E._parseToProxy=function(a,e,c,b,d,h){var l=b,n={},j={},f=c._transform,g=A,k;c._transform=null;A=e;b=a=c.parse(a,e,b,d);A=
-g;h&&(c._transform=f,l&&(l._prev=null,l._prev&&(l._prev._next=null)));for(;b&&b!==l;){if(1>=b.type&&(f=b.p,j[f]=b.s+b.c,n[f]=b.s,h||(k=new ha(b,"s",f,k,b.r),b.c=0),1===b.type))for(c=b.l;0<--c;)g="xn"+c,f=b.p+"_"+g,j[f]=b.data[g],n[f]=b[g],h||(k=new ha(b,g,f,k,b.rxp[g]));b=b._next}return{proxy:n,end:j,firstMPT:k,pt:a}};var M=E.CSSPropTween=function(a,e,c,d,l,h,n,f,g,ca,k){this.t=a;this.p=e;this.s=c;this.c=d;this.n=n||"css_"+e;a instanceof M||b.push(this.n);this.r=f;this.type=h||0;g&&(this.pr=g,j=!0);
-this.b=void 0===ca?c:ca;this.e=void 0===k?c+d:k;l&&(this._next=l,l._prev=this)},fa=m.parseComplex=function(e,c,b,d,l,h,n,j,g,k){n=new M(e,c,0,0,n,k?2:1,null,!1,j,b,d);e=b.split(", ").join(",").split(" ");c=(d+"").split(", ").join(",").split(" ");b=e.length;j=!1!==x;var p,m,q,z,t;b!==c.length&&(e=(h||"").split(" "),b=e.length);n.plugin=g;n.setRatio=k;for(h=0;h<b;h++)if(g=e[h],p=c[h],(k=parseFloat(g))||0===k)n.appendXtra("",k,oa(p,k),p.replace(f,""),j&&-1!==p.indexOf("px"),!0);else if(l&&("#"===g.charAt(0)||
-0===g.indexOf("rgb")||Z[g]))g=ka(g),p=ka(p),(k=6<g.length+p.length)&&!H&&0===p[3]?(n["xs"+n.l]+=n.l?" transparent":"transparent",n.e=n.e.split(c[h]).join("transparent")):(n.appendXtra(k?"rgba(":"rgb(",g[0],p[0]-g[0],",",!0,!0).appendXtra("",g[1],p[1]-g[1],",",!0).appendXtra("",g[2],p[2]-g[2],k?",":")",!0),k&&(g=4>g.length?1:g[3],n.appendXtra("",g,(4>p.length?1:p[3])-g,")",!1)));else if(k=g.match(a)){q=p.match(f);if(!q||q.length!==k.length)return n;for(p=m=0;p<k.length;p++)t=k[p],z=g.indexOf(t,m),
-n.appendXtra(g.substr(m,z-m),Number(t),oa(q[p],t),"",j&&"px"===g.substr(z+t.length,2),0===p),m=z+t.length;n["xs"+n.l]+=g.substr(m)}else n["xs"+n.l]+=n.l?" "+g:g;if(-1!==d.indexOf("=")&&n.data){d=n.xs0+n.data.s;for(h=1;h<n.l;h++)d+=n["xs"+h]+n.data["xn"+h];n.e=d+n["xs"+h]}n.l||(n.type=-1,n.xs0=n.e);return n.xfirst||n},O=9,c=M.prototype;for(c.l=c.pr=0;0<--O;)c["xn"+O]=0,c["xs"+O]="";c.xs0="";c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null;c.appendXtra=function(a,e,c,b,d,h){var n=this.l;
-this["xs"+n]+=h&&n?" "+a:a||"";if(!c&&0!==n&&!this.plugin)return this["xs"+n]+=e+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<n)return this.data["xn"+n]=e+c,this.rxp["xn"+n]=d,this["xn"+n]=e,this.plugin||(this.xfirst=new M(this,"xn"+n,e,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:e+c};this.rxp={};this.s=e;this.c=c;this.r=d;return this};var qa=function(a,e,c,b,d,n,h){this.p=b?$(a)||a:a;t[a]=t[this.p]=this;this.format=n||pa(e,d);c&&
-(this.parse=c);this.clrs=d;this.dflt=e;this.pr=h||0},K=E._registerComplexSpecialProp=function(a,e,c,b,d,n,h){a=a.split(",");e=e instanceof Array?e:[e];for(var l=a.length;-1<--l;)new qa(a[l],e[l],c,b&&0===l,d,n,h)},E=function(a){if(!t[a]){var e=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";K(a,null,function(a,c,b,d,n,h,l){var j=window.com.greensock.plugins[e];if(!j)return window.console&&console.log("Error: "+e+" js file not loaded."),n;j._cssRegister();return t[b].parse(a,c,b,d,n,h,l)})}},c=qa.prototype;
-c.parseComplex=function(a,e,c,b,d,n){return fa(a,this.p,e,c,this.clrs,this.dflt,b,this.pr,d,n)};c.parse=function(a,e,c,b,d,n){return this.parseComplex(a.style,this.format(L(a,c,k,!1,this.dflt)),this.format(e),d,n)};m.registerSpecialProp=function(a,e,c){K(a,null,function(a,b,d,n,h,l){h=new M(a,d,0,0,h,2,d,!1,c);h.plugin=l;h.setRatio=e(a,b,n._tween,d);return h},!1,!1,null,c)};var ra="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),P=$("transform"),wa=la+"transform",
-sa=$("transformOrigin"),V=null!==$("perspective"),da=function(a,e,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,n=V?parseFloat(L(a,sa,e,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,h,l,j,g,f,k,p,z;P?h=L(a,wa,e,!0):a.currentStyle&&(h=(h=a.currentStyle.filter.match(q))&&4===h.length?h[0].substr(4)+","+Number(h[2].substr(4))+","+Number(h[1].substr(4))+","+h[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);l=(h||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(e=l.length;-1<--e;)l[e]=Number(l[e]);
-if(16===l.length){if(d=l[8],h=l[9],j=l[10],g=l[12],f=l[13],k=l[14],b.zOrigin&&(k=-b.zOrigin,g=d*k-l[12],f=h*k-l[13],k=j*k+b.zOrigin-l[14]),!c||g!==b.x||f!==b.y||k!==b.z){p=l[0];z=l[1];var t=l[2],H=l[3],s=l[4],r=l[5],u=l[6],R=l[7];l=l[11];var w=b.rotationX=Math.atan2(u,j),N,x,v,G;w&&(v=Math.cos(-w),G=Math.sin(-w),w=s*v+d*G,N=r*v+h*G,x=u*v+j*G,d=s*-G+d*v,h=r*-G+h*v,j=u*-G+j*v,l=R*-G+l*v,s=w,r=N,u=x);if(w=b.rotationY=Math.atan2(d,p))v=Math.cos(-w),G=Math.sin(-w),N=z*v-h*G,x=t*v-j*G,h=z*G+h*v,j=t*G+j*
-v,l=H*G+l*v,p=p*v-d*G,z=N,t=x;if(w=b.rotation=Math.atan2(z,r))v=Math.cos(-w),G=Math.sin(-w),p=p*v+s*G,N=z*v+r*G,r=z*-G+r*v,u=t*-G+u*v,z=N;Math.abs(b.rotationY)>Math.PI/2&&(b.rotationY*=-1,b.rotationX+=Math.PI,b.rotation=Math.PI-b.rotation);b.scaleX=Math.sqrt(p*p+z*z);b.scaleY=Math.sqrt(r*r+h*h);b.scaleZ=Math.sqrt(u*u+j*j);b.skewX=0;b.perspective=l?1/l:0;b.x=g;b.y=f;b.z=k}}else if(!V||0===l.length||b.x!==l[4]||b.y!==l[5]||!b.rotationX&&!b.rotationY){g=(h=6<=l.length)?l[0]:1;k=l[1]||0;f=l[2]||0;p=h?
-l[3]:1;b.x=l[4]||0;b.y=l[5]||0;h=Math.sqrt(g*g+k*k);j=Math.sqrt(p*p+f*f);g=g||k?Math.atan2(k,g):b.rotation||0;f=f||p?Math.atan2(f,p)+g:b.skewX||0;k=h-Math.abs(b.scaleX||0);p=j-Math.abs(b.scaleY||0);Math.abs(f)>Math.PI/2&&Math.abs(f)<1.5*Math.PI&&(d?(h*=-1,f+=0>=g?Math.PI:-Math.PI,g+=0>=g?Math.PI:-Math.PI):(j*=-1,f+=0>=f?Math.PI:-Math.PI));d=(g-b.rotation)%Math.PI;z=(f-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<k||-1E-6>k||1E-6<p||-1E-6>p||1E-6<d||-1E-6>d||1E-6<z||-1E-6>z)b.scaleX=h,b.scaleY=j,b.rotation=
-g,b.skewX=f;V&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(m.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=n;for(e in b)1E-6>b[e]&&-1E-6<b[e]&&(b[e]=0);c&&(a._gsTransform=b);return b},xa=function(a){var e=this.data,b=-e.rotation,c=b+e.skewX,d=Math.cos(b)*e.scaleX,b=Math.sin(b)*e.scaleX,l=Math.sin(c)*-e.scaleY,c=Math.cos(c)*e.scaleY,h=1E-6,n=this.t.style,j=this.t.currentStyle,f;if(j){d<h&&d>-h&&(d=0);b<h&&b>-h&&(b=0);l<h&&l>-h&&(l=0);c<h&&c>-h&&(c=0);h=b;b=-l;l=-h;h=j.filter;n.filter=
-"";var k=this.t.offsetWidth;f=this.t.offsetHeight;var p="absolute"!==j.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+l+", M22="+c,q=e.x,t=e.y,H,s;null!=e.ox&&(H=(e.oxp?0.01*k*e.ox:e.ox)-k/2,s=(e.oyp?0.01*f*e.oy:e.oy)-f/2,q+=H-(H*d+s*b),t+=s-(H*l+s*c));if(p)H=k/2,s=f/2,m+=", Dx="+(H-(H*d+s*b)+q)+", Dy="+(s-(H*l+s*c)+t)+")";else{var u=8>z?1:-1;H=e.ieOffsetX||0;s=e.ieOffsetY||0;e.ieOffsetX=Math.round((k-((0>d?-d:d)*k+(0>b?-b:b)*f))/2+q);e.ieOffsetY=Math.round((f-((0>
-c?-c:c)*f+(0>l?-l:l)*k))/2+t);for(O=0;4>O;O++)k=va[O],f=j[k],f=-1!==f.indexOf("px")?parseFloat(f):S(this.t,k,parseFloat(f),f.replace(g,""))||0,q=f!==e[k]?2>O?-e.ieOffsetX:-e.ieOffsetY:2>O?H-e.ieOffsetX:s-e.ieOffsetY,n[k]=(e[k]=Math.round(f-q*(0===O||2===O?1:u)))+"px";m+=", sizingMethod='auto expand')"}n.filter=-1!==h.indexOf("DXImageTransform.Microsoft.Matrix(")?h.replace(T,m):m+" "+h;if(0===a||1===a)if(1===d&&0===b&&0===l&&1===c&&(!p||-1!==m.indexOf("Dx=0, Dy=0")))(!r.test(h)||100===parseFloat(RegExp.$1))&&
--1===h.indexOf("gradient(")&&n.removeAttribute("filter")}},ta=function(){var a=this.data,e=this.t.style,b=a.perspective,c=a.scaleX,d=0,h=0,l=0,j=0,f=a.scaleY,g=0,k=0,p=0,m=0,z=a.scaleZ,q=0,H=0,t=0,s=b?-1/b:0,r=a.rotation,u=a.zOrigin,w,v,G,R,N;n&&(v=e.top+"",w=parseFloat(v)||0,v=v.substr((w+"").length),a._ffFix=!a._ffFix,e.top=(a._ffFix?w+0.05:w-0.05)+(""===v?"px":v));r&&(w=Math.cos(r),r=Math.sin(r),G=f*r,d=c*-r,f*=w,c*=w,j=G);if(r=a.rotationY)w=Math.cos(r),r=Math.sin(r),R=z*-r,N=s*-r,h=c*r,g=j*r,
-z*=w,s*=w,c*=w,j*=w,p=R,H=N;if(r=a.rotationX)w=Math.cos(r),r=Math.sin(r),v=d*w+h*r,G=f*w+g*r,R=m*w+z*r,N=t*w+s*r,h=d*-r+h*w,g=f*-r+g*w,z=m*-r+z*w,s=t*-r+s*w,d=v,f=G,m=R,t=N;u&&(q-=u,l=h*q,k=g*q,q=z*q+u);l+=a.x;k+=a.y;q=1E-5*(1E5*(q+a.z)>>0);e[P]="matrix3d("+1E-5*(1E5*c>>0)+","+1E-5*(1E5*j>>0)+","+1E-5*(1E5*p>>0)+","+1E-5*(1E5*H>>0)+","+1E-5*(1E5*d>>0)+","+1E-5*(1E5*f>>0)+","+1E-5*(1E5*m>>0)+","+1E-5*(1E5*t>>0)+","+1E-5*(1E5*h>>0)+","+1E-5*(1E5*g>>0)+","+1E-5*(1E5*z>>0)+","+1E-5*(1E5*s>>0)+","+1E-5*
-(1E5*l>>0)+","+1E-5*(1E5*k>>0)+","+q+","+(b?1+-q/b:1)+")"},ya=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[P]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var e=a.rotation,b=e-a.skewX,c=Math.cos(e)*a.scaleX,e=Math.sin(e)*a.scaleX,d=Math.sin(b)*-a.scaleY,b=Math.cos(b)*a.scaleY;this.t.style[P]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>b&&-1E-6<b?0:b)+","+a.x+","+a.y+")"}};K("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",
-null,function(a,e,b,c,d,h,l){if(c._transform)return d;e=c._transform=da(a,k,!0);var n=a.style,j=ra.length,f,g,p;if("string"===typeof l.transform&&P)p=n[P],n[P]=l.transform,f=da(a,null,!1),n[P]=p;else if("object"===typeof l){g=null!=l.rotation?l.rotation:null!=l.rotationZ?l.rotationZ:e.rotation*J;f={scaleX:W(null!=l.scaleX?l.scaleX:l.scale,e.scaleX),scaleY:W(null!=l.scaleY?l.scaleY:l.scale,e.scaleY),scaleZ:W(null!=l.scaleZ?l.scaleZ:l.scale,e.scaleZ),x:W(l.x,e.x),y:W(l.y,e.y),z:W(l.z,e.z),perspective:W(l.transformPerspective,
-e.perspective)};f.rotation=null!=l.shortRotation||null!=l.shortRotationZ?ja(l.shortRotation||l.shortRotationZ||0,e.rotation):"number"===typeof g?g*I:ba(g,e.rotation);V&&(f.rotationX=null!=l.shortRotationX?ja(l.shortRotationX,e.rotationX):"number"===typeof l.rotationX?l.rotationX*I:ba(l.rotationX,e.rotationX),f.rotationY=null!=l.shortRotationY?ja(l.shortRotationY,e.rotationY):"number"===typeof l.rotationY?l.rotationY*I:ba(l.rotationY,e.rotationY),1E-6>f.rotationX&&-1E-6<f.rotationX&&(f.rotationX=0),
-1E-6>f.rotationY&&-1E-6<f.rotationY&&(f.rotationY=0));f.skewY=null==l.skewY?e.skewY:"number"===typeof l.skewY?l.skewY*I:ba(l.skewY,e.skewY);if(g=f.skewY-e.skewY)f.skewX+=g,f.rotation+=g;1E-6>f.skewY&&-1E-6<f.skewY&&(f.skewY=0);1E-6>f.skewX&&-1E-6<f.skewX&&(f.skewX=0);1E-6>f.rotation&&-1E-6<f.rotation&&(f.rotation=0)}p=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!p&&null!=f.scale&&(f.scaleZ=1);for(d=c._enableTransforms(p,d,h);-1<--j;)if(b=ra[j],g=f[b]-e[b],1E-6<g||-1E-6>
-g||null!=A[b])d=new M(e,b,e[b],g,d),d.xs0=0,d.plugin=h,c._overwriteProps.push(d.n);if((g=l.transformOrigin)||V&&p&&e.zOrigin)P?(g=(g||L(a,b,k,!1,"50% 50%"))+"",b=sa,d=new M(n,b,0,0,d,-1,"css_transformOrigin"),d.b=n[b],d.plugin=h,V?(p=e.zOrigin,g=g.split(" "),e.zOrigin=(2<g.length?parseFloat(g[2]):p)||0,d.xs0=d.e=n[b]=g[0]+" "+(g[1]||"50%")+" 0px",d=new M(e,"zOrigin",0,0,d,-1,d.n),d.b=p,d.xs0=d.e=e.zOrigin):d.xs0=d.e=n[b]=g):ia(g+"",e);return d.t===a?(d._next&&(d._next._prev=null),d._next):d},!0);
-K("boxShadow","0px 0px 0px 0px #999",null,!0,!0);K("borderRadius","0px",function(a,e,b,c,d){e=this.format(e);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];var l=a.style,h,n,f,g,j,m,z,q,r,s,t,H;q=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);e=e.split(" ");for(h=0;h<c.length;h++)this.p.indexOf("border")&&(c[h]=$(c[h])),g=f=L(a,c[h],k,!1,"0px"),-1!==g.indexOf(" ")&&(f=g.split(" "),g=f[0],f=f[1]),j=n=e[h],m=parseFloat(g),t=g.substr((m+"").length),
-(H="="===j.charAt(1))?(z=parseInt(j.charAt(0)+"1"),j=j.substr(2),z*=parseFloat(j),s=j.substr((z+"").length-(0>z?1:0))||""):(z=parseFloat(j),s=j.substr((z+"").length)),""===s&&(s=p[b]||t),s!==t&&(g=S(a,"borderLeft",m,t),m=S(a,"borderTop",m,t),"%"===s?(g=100*(g/q)+"%",f=100*(m/r)+"%"):"em"===s?(t=S(a,"borderLeft",1,"em"),g=g/t+"em",f=m/t+"em"):(g+="px",f=m+"px"),H&&(j=parseFloat(g)+z+s,n=parseFloat(f)+z+s)),d=fa(l,c[h],g+" "+f,j+" "+n,!1,"0px",d);return d},!0,!1,pa("0px 0px 0px 0px",!1,!0));K("backgroundPosition",
-"0 0",function(a,e,b,c,d,l){b=k||aa(a,null);b=this.format((b?z?b.getPropertyValue("background-position-x")+" "+b.getPropertyValue("background-position-y"):b.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");e=this.format(e);var h,n,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");h=e.split(" ");w.setAttribute("src",L(a,"backgroundImage").replace(D,""));for(n=2;-1<--n;)b=c[n],f=-1!==b.indexOf("%"),f!==(-1!==
-h[n].indexOf("%"))&&(g=0===n?a.offsetWidth-w.width:a.offsetHeight-w.height,c[n]=f?parseFloat(b)/100*g+"px":100*(parseFloat(b)/g)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,e,d,l)},!1,!1,ia);K("backgroundSize","0 0",null,!1,!1,ia);K("perspective","0px",null,!0);K("perspectiveOrigin","50% 50%",null,!0);K("transformStyle","preserve-3d",null,!0);K("margin",null,B("marginTop,marginRight,marginBottom,marginLeft"));K("padding",null,B("paddingTop,paddingRight,paddingBottom,paddingLeft"));K("clip",
-"rect(0px,0px,0px,0px)");K("textShadow","0px 0px 0px #999",null,!1,!0);K("autoRound",null,function(a,e,b,c,d){return d});K("border","0px solid #000",function(a,e,b,c,d,l){return this.parseComplex(a.style,this.format(L(a,"borderTopWidth",k,!1,"0px")+" "+L(a,"borderTopStyle",k,!1,"solid")+" "+L(a,"borderTopColor",k,!1,"#000")),this.format(e),d,l)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(a.match(X)||["#000"])[0]});var za=function(a){var e=this.t;a=this.s+this.c*a;var b;
-100===a&&(e.removeAttribute("filter"),b=!L(this.data,"filter"));b||(this.xn1&&(e.filter=e.filter||"alpha(opacity=100)"),e.filter=-1===e.filter.indexOf("opacity")?e.filter+(" alpha(opacity="+(a>>0)+")"):e.filter.replace(r,"opacity="+(a>>0)))};K("opacity,alpha,autoAlpha","1",function(a,e,b,c,d,l){var h=parseFloat(L(a,"opacity",k,!1,"1"));e=parseFloat(e);var n=a.style,f;"autoAlpha"===b&&(f=L(a,"visibility",k),1===h&&"hidden"===f&&(h=0),d=new M(n,"visibility",0,0,d,-1,null,!1,0,0!==h?"visible":"hidden",
-0===e?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));H?d=new M(n,"opacity",h,e-h,d):(d=new M(n,"opacity",100*h,100*(e-h),d),d.xn1="autoAlpha"===b?1:0,n.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=l,d.setRatio=za);return d});var Aa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var e=this.t.style,b=e.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)e[a.p]=a.v;else e[b](a.p.replace(Q,
-"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};K("className",null,function(a,e,b,c,d,l,h){var n=a.className,f=a.style.cssText;d=c._classNamePT=new M(a,b,0,0,d,2);d.setRatio=Aa;d.b=n;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?n+" "+e.substr(2):n.split(e.substr(2)).join("");c._tween._duration&&(e=ea(a,k,!0),a.className=d.e,h=na(a,e,ea(a),h),a.className=n,d.data=h.firstMPT,a.style.cssText=f,d=d.xfirst=c.parse(a,h.difs,d,l));return d});c=["bezier","throwProps",
-"physicsProps","physics2D"];for(O=c.length;O--;)E(c[O]);c=m.prototype;c._firstPT=null;c._onInitTween=function(a,e,c){if(!a.nodeType)return!1;this._target=a;this._tween=c;this._vars=e;x=e.autoRound;j=!1;p=e.suffixMap||m.suffixMap;k=aa(a,"");b=this._overwriteProps;c=a.style;var d,l,h;if(U&&""===c.zIndex&&(d=L(a,"zIndex",k),"auto"===d||""===d))c.zIndex=0;"string"===typeof e&&(l=c.cssText,d=ea(a,k),c.cssText=l+";"+e,d=na(a,d,ea(a)).difs,!H&&Y.test(e)&&(d.opacity=parseFloat(RegExp.$1)),e=d,c.cssText=l);
-this._firstPT=a=this.parse(a,e,null);if(j){for(;a;){c=a._next;for(e=l;e&&e.pr>a.pr;)e=e._next;(a._prev=e?e._prev:h)?a._prev._next=a:l=a;(a._next=e)?e._prev=a:h=a;a=c}this._firstPT=l}return!0};c.parse=function(a,e,b,c){var d=a.style,l,h,n,f,g,j,m,z;for(l in e){g=e[l];if(h=t[l])b=h.parse(a,g,l,this,b,c,e);else if(h=L(a,l,k)+"",m="string"===typeof g,"color"===l||"fill"===l||"stroke"===l||-1!==l.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=ka(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),b=fa(d,l,
-h,g,!0,"transparent",b,0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))b=fa(d,l,h,g,!0,null,b,0,c);else{n=parseFloat(h);j=h.substr((n+"").length);if(""===h||"auto"===h)if("width"===l||"height"===l){n=a;z=l;f=k;j=parseFloat("width"===z?n.offsetWidth:n.offsetHeight);z=ua[z];var q=z.length;for(f=f||aa(n,null);-1<--q;)j-=parseFloat(L(n,"padding"+z[q],f,!0))||0,j-=parseFloat(L(n,"border"+z[q]+"Width",f,!0))||0;n=j;j="px"}else n="opacity"!==l?0:1,j="";(z=m&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+
-"1"),g=g.substr(2),f*=parseFloat(g),m=g.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(g),m=m?g.substr((f+"").length)||"":"");""===m&&(m=p[l]||j);g=f||0===f?(z?f+n:f)+m:e[l];if(j!==m&&""!==m&&(f||0===f))if(n||0===n)if(n=S(a,l,n,j),"%"===m?(n/=S(a,l,100,"%")/100,100<n&&(n=100)):"em"===m?n/=S(a,l,1,"em"):(f=S(a,l,f,m),m="px"),z&&(f||0===f))g=f+n+m;z&&(f+=n);(n||0===n)&&(f||0===f)?(b=new M(d,l,n,f-n,b,0,"css_"+l,!1!==x&&("px"===m||"zIndex"===l),0,h,g),b.xs0=m):(b=new M(d,l,f||n||0,0,b,-1,"css_"+
-l,!1,0,h,g),b.xs0="display"===l&&"none"===g?h:g)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};c.setRatio=function(a){var e=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;e;)2!==e.type?e.t[e.p]=e.e:e.setRatio(a),e=e._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;e;){b=e.c*a+e.s;e.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(e.type)if(1===e.type)if(c=e.l,2===c)e.t[e.p]=
-e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{b=e.xs0+b+e.xs1;for(c=1;c<e.l;c++)b+=e["xn"+c]+e["xs"+(c+1)];e.t[e.p]=b}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next};c._enableTransforms=function(a,
-c,d){var h=this._transformPT,n=this._target,f=n.style;if(h)a&&V&&(h.setRatio=ta);else{if(P){if(e){U=!0;if(""===f.zIndex&&(h=L(n,"zIndex",k),"auto"===h||""===h))f.zIndex=0;l&&(f.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(a?"visible":"hidden"))}}else f.zoom=1;this._transformPT=c=new M(n,"transform",0,0,c,2);c.setRatio=a&&V?ta:P?ya:xa;c.plugin=d;c.data=this._transform||da(n,k,!0);b.pop()}return c};c._linkCSSP=function(e,a,b){e&&(a&&(a._prev=e),e._next&&(e._next._prev=e._prev),b&&
-(b._next=e),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next),e._next=a,e._prev=b);return e};c._kill=function(e){var a=e,b=!1,c,d;if(e.css_autoAlpha||e.css_alpha){a={};for(d in e)a[d]=e[d];a.css_opacity=1;a.css_autoAlpha&&(a.css_visibility=1)}if(e.css_className&&(c=this._classNamePT))(e=c.xfirst)&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=null),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._target._gsOverwrittenClassNamePT=
-this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,b=!0;return s.prototype._kill.call(this,a)||b};s.activate([m]);return m},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(s){var m=function(){s.call(this,"roundProps",-1);this._overwriteProps.length=0},j=m.prototype=new s("roundProps",-1);j.constructor=m;m.API=2;j._onInitTween=function(j,k,b){this._tween=b;return!0};j._onInitAllProps=function(){for(var j=this._tween,k=j.vars.roundProps instanceof
-Array?j.vars.roundProps:j.vars.roundProps.split(","),b=k.length,m={},c=j._propLookup.roundProps,a,f,d;-1<--b;)m[k[b]]=1;for(b=k.length;-1<--b;){a=k[b];for(f=j._firstPT;f;)d=f._next,f.pg?f.t._roundProps(m,!0):f.n===a&&(this._add(f.t,a,f.s,f.c),d&&(d._prev=f._prev),f._prev?f._prev._next=d:j._firstPT===f&&(j._firstPT=d),f._next=f._prev=null,j._propLookup[a]=c),f=d}return!1};j._add=function(j,k,b,m){this._addTween(j,k,b,b+m,k,!0);this._overwriteProps.push(k)};s.activate([m]);return m},!0);_gsDefine("easing.Back",
-["easing.Ease"],function(s){var m=window.com.greensock._class,j=function(a,b){var c=m("easing."+a,function(){},!0),d=c.prototype=new s;d.constructor=c;d.getRatio=b;return c},p=function(a,b){var c=m("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new s;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},k=p("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),b=p("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),
-p=p("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),t=j("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),c=j("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+0.75):a<2.5/2.75?1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),a=j("BounceInOut",function(a){var b=
-0.5>a;a=b?1-2*a:2*a-1;a=a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375;return b?0.5*(1-a):0.5*a+0.5}),f=j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),d=j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),y=j("CircInOut",function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=2)*a)+1)}),g=2*Math.PI,r=function(a,b,c){var d=m("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=
-this._p2/g*(Math.asin(1/this._p1)||0)},!0);a=d.prototype=new s;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},Y=r("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*g/this._p2)+1},0.3),Q=r("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2))},0.3),r=r("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2):0.5*this._p1*Math.pow(2,-10*
-(a-=1))*Math.sin((a-this._p3)*g/this._p2)+1},0.45),v=j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),D=j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),u=j("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),C=Math.PI/2,q=j("SineOut",function(a){return Math.sin(a*C)}),T=j("SineIn",function(a){return-Math.cos(a*C)+1}),j=j("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),I=m("easing.SlowMo",function(a,b,c){null==a?a=0.7:1<a&&(a=
-1);this._p=1!=a?b||0===b?b:0.7:0;this._p1=(1-a)/2;this._p2=a;this._p3=this._p1+this._p2;this._calcEnd=!0===c},!0),J=I.prototype=new s;J.constructor=I;J.getRatio=function(a){var b=a+(0.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b};I.ease=new I(0.7,0.7);J.config=I.config=function(a,b,c){return new I(a,b,c)};var A=m("easing.SteppedEase",function(a){a=
-a||1;this._p1=1/a;this._p2=a+1},!0),J=A.prototype=new s;J.constructor=A;J.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};J.config=A.config=function(a){return new A(a)};m("easing.Bounce",{easeOut:new t,easeIn:new c,easeInOut:new a},!0);m("easing.Circ",{easeOut:new f,easeIn:new d,easeInOut:new y},!0);m("easing.Elastic",{easeOut:new Y,easeIn:new Q,easeInOut:new r},!0);m("easing.Expo",{easeOut:new v,easeIn:new D,easeInOut:new u},!0);m("easing.Sine",{easeOut:new q,easeIn:new T,
-easeInOut:new j},!0);return{easeOut:new k,easeIn:new b,easeInOut:new p}},!0)});
-(function(s){var m=function(a){a=a.split(".");var b=s,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},j=m("com.greensock"),p,k,b,t,c,a={},f=function(e,b,c,d){this.sc=a[e]?a[e].sc:[];a[e]=this;this.gsClass=null;this.def=c;var g=b||[],j=[];this.check=function(b){for(var n=g.length,h=0,k;-1<--n;)(k=a[g[n]]||new f(g[n])).gsClass?j[n]=k.gsClass:(h++,b&&k.sc.push(this));if(0===h&&c){b=("com.greensock."+e).split(".");var n=b.pop(),p=m(b.join("."))[n]=this.gsClass=c.apply(c,j);d&&((s.GreenSockGlobals||
-s)[n]=p,"function"===typeof define&&define.amd?define((s.GreenSockAMDPath?s.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return p}):"undefined"!==typeof module&&module.exports&&(module.exports=p));for(n=0;n<this.sc.length;n++)this.sc[n].check(!1)}};this.check(!0)},d=j._class=function(a,b,c){b=b||function(){};new f(a,[],function(){return b},c);return b};s._gsDefine=function(a,b,c,d){return new f(a,b,c,d)};var y=[0,0,1,1],g=[],r=d("easing.Ease",function(a,b,c,d){this._func=a;this._type=
-c||0;this._power=d||0;this._params=b?y.concat(b):y},!0);b=r.prototype;b._calcEnd=!1;b.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:0.5>a?2*a:2*(1-a);1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d);return 1===b?1-d:2===b?d:0.5>a?d/2:1-d/2};p=["Linear","Quad","Cubic","Quart","Quint"];for(k=p.length;-1<--k;)b=d("easing."+p[k],null,!0),t=d("easing.Power"+k,null,!0),b.easeOut=t.easeOut=new r(null,
-null,1,k),b.easeIn=t.easeIn=new r(null,null,2,k),b.easeInOut=t.easeInOut=new r(null,null,3,k);d("easing.Strong",j.easing.Power4,!0);j.easing.Linear.easeNone=j.easing.Linear.easeIn;var Y=d("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});b=Y.prototype;b.addEventListener=function(a,b,c,d,f){f=f||0;var g=this._listeners[a],j=0,h;null==g&&(this._listeners[a]=g=[]);for(h=g.length;-1<--h;)a=g[h],a.c===b?g.splice(h,1):0===j&&a.pr<f&&(j=h+1);g.splice(j,0,{c:b,s:c,up:d,pr:f})};
-b.removeEventListener=function(a,b){var c=this._listeners[a],d;if(c)for(d=c.length;-1<--d;)if(c[d].c===b){c.splice(d,1);break}};b.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,f;-1<--c;)f=b[c],f.up?f.c.call(f.s||d,{type:a,target:d}):f.c.call(f.s||d)};var Q=s.requestAnimationFrame,v=s.cancelAnimationFrame,D=Date.now||function(){return(new Date).getTime()};p=["ms","moz","webkit","o"];for(k=p.length;-1<--k&&!Q;)Q=s[p[k]+"RequestAnimationFrame"],v=s[p[k]+
-"CancelAnimationFrame"]||s[p[k]+"CancelRequestAnimationFrame"];d("Ticker",function(a,b){var c=this,d=D(),f=!1!==b&&Q,g,j,h,k,m,p=function(){null!=h&&(!f||!v?s.clearTimeout(h):v(h),h=null)},q=function(a){c.time=(D()-d)/1E3;if(!g||c.time>=m||!0===a)c.frame++,m=c.time>m?c.time+k-(c.time-m):c.time+k-0.001,m<c.time+0.001&&(m=c.time+0.001),c.dispatchEvent("tick");!0!==a&&(h=j(q))};Y.call(c);this.time=this.frame=0;this.tick=function(){q(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;k=1/(g||
-60);m=this.time+k;j=0===g?function(){}:!f||!Q?function(a){return s.setTimeout(a,1E3*(m-c.time)+1>>0||1)}:Q;p();h=j(q)};this.useRAF=function(a){if(!arguments.length)return f;p();f=a;c.fps(g)};c.fps(a);s.setTimeout(function(){f&&!h&&c.useRAF(!1)},1E3)});b=j.Ticker.prototype=new j.events.EventDispatcher;b.constructor=j.Ticker;var u=d("core.Animation",function(a,b){this.vars=b||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0===this.vars.immediateRender;
-this.data=this.vars.data;this._reversed=!0===this.vars.reversed;if(w){c||(C.tick(),c=!0);var d=this.vars.useFrames?F:w;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),C=u.ticker=new j.Ticker;b=u.prototype;b._dirty=b._gc=b._initted=b._paused=!1;b._totalTime=b._time=0;b._rawPrevTime=-1;b._next=b._last=b._onUpdate=b._timeline=b.timeline=null;b._paused=!1;b.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};b.pause=function(a,b){arguments.length&&
+j.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};j.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};j.currentLabel=function(b){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(b,!0)};return n},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(l){var v=function(){l.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},j=v.prototype=
+new l("bezier",1),n=180/Math.PI,k=Math.PI/180,b=[],t=[],c=[],a={},f=function(a,c,d,b){this.a=a;this.b=c;this.c=d;this.d=b;this.da=b-a;this.ca=d-a;this.ba=c-a},d=v.bezierThrough=function(d,r,j,n,w,D){var s={},B=[],q,k,G;w="string"===typeof w?","+w+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==r&&(r=1);for(k in d[0])B.push(k);b.length=t.length=c.length=0;for(q=B.length;-1<
+--q;){k=B[q];a[k]=-1!==w.indexOf(","+k+",");G=s;var v=k,y;y=d;var h=k,F=a[k],u=D,E=[],A=void 0,x=void 0,l=void 0,e=void 0,m=void 0,A=void 0;if(u){y=[u].concat(y);for(x=y.length;-1<--x;)if("string"===typeof(A=y[x][h]))"="===A.charAt(1)&&(y[x][h]=u[h]+Number(A.charAt(0)+A.substr(2)))}A=y.length-2;if(0>A)E[0]=new f(y[0][h],0,0,y[-1>A?0:1][h]);else{for(x=0;x<A;x++)l=y[x][h],e=y[x+1][h],E[x]=new f(l,0,0,e),F&&(m=y[x+2][h],b[x]=(b[x]||0)+(e-l)*(e-l),t[x]=(t[x]||0)+(m-e)*(m-e));E[x]=new f(y[x][h],0,0,y[x+
+1][h])}y=E;G[v]=y}for(q=b.length;-1<--q;)b[q]=Math.sqrt(b[q]),t[q]=Math.sqrt(t[q]);if(!n){for(q=B.length;-1<--q;)if(a[k]){d=s[B[q]];G=d.length-1;for(w=0;w<G;w++)D=d[w+1].da/t[w]+d[w].da/b[w],c[w]=(c[w]||0)+D*D}for(q=c.length;-1<--q;)c[q]=Math.sqrt(c[q])}for(q=B.length;-1<--q;){k=B[q];d=s[k];w=r;D=j;G=n;k=a[k];v=d.length-1;y=0;for(var h=d[0].a,p=m=e=u=A=e=l=A=x=l=E=u=F=void 0,F=0;F<v;F++)x=d[y],u=x.a,E=x.d,l=d[y+1].d,k?(e=b[F],m=t[F],p=0.25*(m+e)*w/(G?0.5:c[F]||0.5),A=E-(E-u)*(G?0.5*w:p/e),l=E+(l-
+E)*(G?0.5*w:p/m),e=E-(A+(l-A)*(3*e/(e+m)+0.5)/4)):(A=E-0.5*(E-u)*w,l=E+0.5*(l-E)*w,e=E-(A+l)/2),A+=e,l+=e,x.c=A,x.b=0!==F?h:h=x.a+0.6*(x.c-x.a),x.da=E-u,x.ca=A-u,x.ba=h-u,D?(u=z(u,h,A,E),d.splice(y,1,u[0],u[1],u[2],u[3]),y+=4):y++,h=l;x=d[y];x.b=h;x.c=h+0.4*(x.d-h);x.da=x.d-x.a;x.ca=x.c-x.a;x.ba=h-x.a;D&&(u=z(x.a,h,x.c,x.d),d.splice(y,1,u[0],u[1],u[2],u[3]))}return s},z=v.cubicToQuadratic=function(a,c,d,b){var f={a:a},j={},s={},k={c:b},q=(a+c)/2,n=(c+d)/2;d=(d+b)/2;c=(q+n)/2;var n=(n+d)/2,v=(n-c)/
+8;f.b=q+(a-q)/4;j.b=c+v;f.c=j.a=(f.b+j.b)/2;j.c=s.a=(c+n)/2;s.b=n-v;k.b=d+(b-d)/4;s.c=k.a=(s.b+k.b)/2;return[f,j,s,k]};v.quadraticToCubic=function(a,c,d){return new f(a,(2*c+a)/3,(2*c+d)/3,d)};j.constructor=v;v.API=2;v._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,c=a._parseToProxy,d=a._setPluginRatio,b=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,g,f,j,q,n){g instanceof Array&&(g={values:g});n=new v;f=g.values;var l=f.length-
+1,t=[],y={},h,F,u;if(0>l)return q;for(h=0;h<=l;h++)u=c(a,f[h],j,q,n,l!==h),t[h]=u.end;for(F in g)y[F]=g[F];y.values=t;q=new b(a,"bezier",0,0,u.pt,2);q.data=u;q.plugin=n;q.setRatio=d;0===y.autoRotate&&(y.autoRotate=!0);y.autoRotate&&!(y.autoRotate instanceof Array)&&(h=!0===y.autoRotate?0:Number(y.autoRotate)*k,y.autoRotate=null!=u.end.left?[["left","top","rotation",h,!0]]:null!=u.end.x?[["x","y","rotation",h,!0]]:!1);y.autoRotate&&(j._transform||j._enableTransforms(!1),u.autoRotate=j._target._gsTransform);
+n._onInitTween(u.proxy,y,j._tween);return q})}};j._onInitTween=function(a,c,b){this._target=a;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution);var j=c.values||[],n={},k=j[0];b=c.autoRotate||b.vars.orientToBezier;var s,B,q;this._autoRotate=b?b instanceof Array?b:[["x","y","rotation",!0===b?0:Number(b)||0]]:null;for(s in k)this._props.push(s);for(k=this._props.length;-1<--k;)s=this._props[k],this._overwriteProps.push(s),b=this._func[s]=
+"function"===typeof a[s],n[s]=!b?parseFloat(a[s]):a[s.indexOf("set")||"function"!==typeof a["get"+s.substr(3)]?s:"get"+s.substr(3)](),q||n[s]!==j[0][s]&&(q=n);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)n=d(j,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,q);else{b=(b=c.type)||"soft";c={};q="cubic"===b?3:2;b="soft"===b;var k=[],l,v,t,y,h,F,u,E,A;b&&n&&(j=[n].concat(j));if(null==j||j.length<q+1)throw"invalid Bezier data";for(v in j[0])k.push(v);for(F=k.length;-1<
+--F;){v=k[F];c[v]=h=[];A=0;E=j.length;for(u=0;u<E;u++)l=null==n?j[u][v]:"string"===typeof(t=j[u][v])&&"="===t.charAt(1)?n[v]+Number(t.charAt(0)+t.substr(2)):Number(t),b&&1<u&&u<E-1&&(h[A++]=(l+h[A-2])/2),h[A++]=l;E=A-q+1;for(u=A=0;u<E;u+=q)l=h[u],v=h[u+1],t=h[u+2],y=2===q?0:h[u+3],h[A++]=t=3===q?new f(l,v,t,y):new f(l,(2*v+l)/3,(2*v+t)/3,t);h.length=A}n=c}this._beziers=n;this._segCount=this._beziers[s].length;if(this._timeRes){k=this._beziers;s=this._timeRes;s=s>>0||6;n=[];v=[];j=t=0;c=s-1;q=[];b=
+[];for(B in k){l=k[B];h=n;F=s;u=1/F;E=l.length;for(var x=void 0,z=void 0,e=y=A=z=void 0,m=x=void 0,p=void 0,p=e=void 0;-1<--E;){e=l[E];z=e.a;A=e.d-z;y=e.c-z;e=e.b-z;z=0;for(m=1;m<=F;m++)x=u*m,p=1-x,x=z-(z=(x*x*A+3*p*(x*y+p*e))*x),p=E*F+m-1,h[p]=(h[p]||0)+x*x}}k=n.length;for(B=0;B<k;B++)t+=Math.sqrt(n[B]),l=B%s,b[l]=t,l===c&&(j+=t,l=B/s>>0,q[l]=b,v[l]=j,t=0,b=[]);this._length=j;this._lengths=v;this._segments=q;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(b=this._autoRotate){b[0]instanceof Array||(this._autoRotate=b=[b]);for(k=b.length;-1<--k;)for(B=0;3>B;B++)s=b[k][B],this._func[s]="function"===typeof a[s]?a[s.indexOf("set")||"function"!==typeof a["get"+s.substr(3)]?s:"get"+s.substr(3)]:!1}return!0};j.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,j,f,k,l,q;if(this._timeRes){j=this._lengths;l=this._curSeg;a*=this._length;f=this._li;if(a>this._l2&&f<c-1){for(c-=1;f<
+c&&(this._l2=j[++f])<=a;);this._l1=j[f-1];this._li=f;this._curSeg=l=this._segments[f];this._s2=l[this._s1=this._si=0]}else if(a<this._l1&&0<f){for(;0<f&&(this._l1=j[--f])>=a;);0===f&&a<this._l1?this._l1=0:f++;this._l2=j[f];this._li=f;this._curSeg=l=this._segments[f];this._s1=l[(this._si=l.length-1)-1]||0;this._s2=l[this._si]}j=f;a-=this._l1;f=this._si;if(a>this._s2&&f<l.length-1){for(c=l.length-1;f<c&&(this._s2=l[++f])<=a;);this._s1=l[f-1];this._si=f}else if(a<this._s1&&0<f){for(;0<f&&(this._s1=l[--f])>=
+a;);0===f&&a<this._s1?this._s1=0:f++;this._s2=l[f];this._si=f}l=(f+(a-this._s1)/(this._s2-this._s1))*this._prec}else j=0>a?0:1<=a?c-1:c*a>>0,l=(a-j*(1/c))*c;c=1-l;for(f=this._props.length;-1<--f;)if(a=this._props[f],k=this._beziers[a][j],q=(l*l*k.da+3*c*(l*k.ca+c*k.ba))*l+k.a,this._round[a]&&(q=q+(0<q?0.5:-0.5)>>0),b[a])d[a](q);else d[a]=q;if(this._autoRotate){var c=this._autoRotate,v,t,z,y,h;for(f=c.length;-1<--f;)a=c[f][2],y=c[f][3]||0,h=!0===c[f][4]?1:n,k=this._beziers[c[f][0]][j],q=this._beziers[c[f][1]][j],
+v=k.a+(k.b-k.a)*l,t=k.b+(k.c-k.b)*l,v+=(t-v)*l,t+=(k.c+(k.d-k.c)*l-t)*l,k=q.a+(q.b-q.a)*l,z=q.b+(q.c-q.b)*l,k+=(z-k)*l,z+=(q.c+(q.d-q.c)*l-z)*l,q=Math.atan2(z-k,t-v)*h+y,b[a]?b[a].call(d,q):d[a]=q}};j._roundProps=function(a,c){for(var b=this._overwriteProps,d=b.length;-1<--d;)if(a[b[d]]||a.bezier||a.bezierThrough)this._round[b[d]]=c};j._kill=function(a){var c=this._props,b,d;for(b in this._beziers)if(b in a){delete this._beziers[b];delete this._func[b];for(d=c.length;-1<--d;)c[d]===b&&c.splice(d,
+1)}return l.prototype._kill.call(this,a)};l.activate([v]);return v},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(l){var v=function(){l.call(this,"css");this._overwriteProps.length=0},j,n,k,b,t={},c=v.prototype=new l("css");c.constructor=v;v.version=1.661;v.API=2;v.defaultTransformPerspective=0;c="px";v.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,f=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
+d=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,z=/[^\d\-\.]/g,g=/(?:\d|\-|\+|=|#|\.)*/g,r=/opacity *= *([^)]*)/,Z=/opacity:([^;]*)/,R=/([A-Z])/g,w=/-([a-z])/gi,D=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,s=function(a,e){return e.toUpperCase()},B=/(?:Left|Right|Width)/i,q=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,U=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,G=Math.PI/180,L=180/Math.PI,y={},h=document,F=h.createElement("div"),u=h.createElement("img"),E=v._internals={_specialProps:t},A=navigator.userAgent,
+x,V,e,m,p,C,J,S=A.indexOf("Android"),H=h.createElement("div");p=(e=-1!==A.indexOf("Safari")&&-1===A.indexOf("Chrome")&&(-1===S||3<Number(A.substr(S+8,1))))&&6>Number(A.substr(A.indexOf("Version/")+8,1));m=-1!==A.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(A);C=parseFloat(RegExp.$1);H.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";J=(A=H.getElementsByTagName("a")[0])?/^0.55/.test(A.style.opacity):!1;var O=function(a){return r.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:
+a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ma="",ha="",ba=function(a,e){e=e||F;var c=e.style,b,d;if(void 0!==c[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);b=["O","Moz","ms","Ms","Webkit"];for(d=5;-1<--d&&void 0===c[b[d]+a];);return 0<=d?(ha=3===d?"ms":b[d],ma="-"+ha.toLowerCase()+"-",ha+a):null},ca=h.defaultView?h.defaultView.getComputedStyle:function(){},M=v.getStyle=function(a,e,c,b,d){var h;if(!J&&"opacity"===e)return O(a);!b&&a.style[e]?h=a.style[e]:(c=c||ca(a,null))?h=(a=c.getPropertyValue(e.replace(R,
+"-$1").toLowerCase()))||c.length?a:c[e]:a.currentStyle&&(c=a.currentStyle,h=c[e]);return null!=d&&(!h||"none"===h||"auto"===h||"auto auto"===h)?d:h},fa=function(a,e,c){var b={},d=a._gsOverwrittenClassNamePT,h;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(e=e||ca(a,null))if(h=e.length)for(;-1<--h;)b[e[h].replace(w,s)]=e.getPropertyValue(e[h]);else for(h in e)b[h]=e[h];else if(e=a.currentStyle||a.style)for(h in e)b[h.replace(w,s)]=e[h];J||(b.opacity=O(a));a=ea(a,e,!1);
+b.rotation=a.rotation*L;b.rotationX=a.rotationX*L;b.rotationY=a.rotationY*L;b.skewX=a.skewX*L;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.scaleZ=a.scaleZ;b.x=a.x;b.y=a.y;b.z=a.z;b.filters&&delete b.filters;return b},na=function(a,e,c,b){var d={};a=a.style;var h,I,p;for(I in c)if("cssText"!==I&&"length"!==I&&isNaN(I)&&e[I]!==(h=c[I]))if(-1===I.indexOf("Origin")&&("number"===typeof h||"string"===typeof h))d[I]=(""===h||"auto"===h||"none"===h)&&"string"===typeof e[I]&&""!==e[I].replace(z,"")?0:h,void 0!==
+a[I]&&(p=new ia(a,I,a[I],p));if(b)for(I in b)"className"!==I&&(d[I]=b[I]);return{difs:d,firstMPT:p}},ta={width:["Left","Right"],height:["Top","Bottom"]},ua=["marginLeft","marginRight","marginTop","marginBottom"],T=function(a,e,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var p=B.test(e),I=a,m=F.style,f=0>c;f&&(c=-c);"%"===b&&-1!==e.indexOf("border")?p=c/100*(p?a.clientWidth:a.clientHeight):(m.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"===b||"em"===
+b||!I.appendChild?(I=a.parentNode||h.body,m[p?"width":"height"]=c+b):m[p?"borderLeftWidth":"borderTopWidth"]=c+b,I.appendChild(F),p=parseFloat(F[p?"offsetWidth":"offsetHeight"]),I.removeChild(F),0===p&&!d&&(p=T(a,e,c,b,!0)));return f?-p:p},ja=function(a,e){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var c=a.split(" "),b=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],d=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];null==d?d="0":"center"===d&&(d="50%");
+if("center"===b||isNaN(parseFloat(b)))b="50%";e&&(e.oxp=-1!==b.indexOf("%"),e.oyp=-1!==d.indexOf("%"),e.oxr="="===b.charAt(1),e.oyr="="===d.charAt(1),e.ox=parseFloat(b.replace(z,"")),e.oy=parseFloat(d.replace(z,"")));return b+" "+d+(2<c.length?" "+c[2]:"")},oa=function(a,e){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(e)},W=function(a,e){return null==a?e:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*Number(a.substr(2))+
+e:parseFloat(a)},$=function(a,e){if(null==a)return e;var c=-1===a.indexOf("rad")?G:1,b="="===a.charAt(1);a=Number(a.replace(z,""))*c;return b?a+e:a},ka=function(a,e){var c=(("number"===typeof a?a*G:$(a,e))-e)%(2*Math.PI);c!==c%Math.PI&&(c+=Math.PI*(0>c?2:-2));return e+c},aa={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]},la=function(e){if(!e||""===e)return aa.black;if(aa[e])return aa[e];if("number"===typeof e)return[e>>16,e>>8&255,e&255];if("#"===e.charAt(0)){if(4===e.length){var c=e.charAt(1),b=e.charAt(2);e=e.charAt(3);e="#"+c+c+b+b+e+e}e=parseInt(e.substr(1),16);return[e>>16,e>>8&255,e&255]}e=e.match(a)||aa.transparent;e[0]=Number(e[0]);e[1]=Number(e[1]);e[2]=Number(e[2]);3<e.length&&
+(e[3]=Number(e[3]));return e},X="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(c in aa)X+="|"+c+"\\b";var X=RegExp(X+")","gi"),pa=function(e,c,b){if(null==e)return function(a){return a};var h=c?(e.match(X)||[""])[0]:"",p=e.split(h).join("").match(d)||[],m=e.substr(0,e.indexOf(p[0])),I=")"===e.charAt(e.length-1)?")":"",f=-1!==e.indexOf(" ")?" ":",",j=p.length,da=0<j?p[0].replace(a,""):"";return c?function(a){"number"===typeof a&&(a+=da);var e=(a.match(X)||[h])[0];a=a.split(e).join("").match(d)||
+[];var c=a.length;if(j>c--)for(;++c<j;)a[c]=b?a[(c-1)/2>>0]:p[c];return m+a.join(f)+f+e+I}:function(a){"number"===typeof a&&(a+=da);a=a.match(d)||[];var e=a.length;if(j>e--)for(;++e<j;)a[e]=b?a[(e-1)/2>>0]:p[e];return m+a.join(f)+I}},A=function(a){a=a.split(",");return function(e,c,b,d,h,p,m){c=(c+"").split(" ");m={};for(b=0;4>b;b++)m[a[b]]=c[b]=c[b]||c[(b-1)/2>>0];return d.parse(e,m,h,p)}};E._setPluginRatio=function(a){this.plugin.setRatio(a);for(var e=this.data,c=e.proxy,b=e.firstMPT,d;b;)d=c[b.v],
+b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0),b.t[b.p]=d,b=b._next;e.autoRotate&&(e.autoRotate.rotation=c.rotation);if(1===a)for(b=e.firstMPT;b;){a=b.t;if(a.type){if(1===a.type){c=a.xs0+a.s+a.xs1;for(e=1;e<a.l;e++)c+=a["xn"+e]+a["xs"+(e+1)];a.e=c}}else a.e=a.s+a.xs0;b=b._next}};var ia=function(a,e,c,b,d){this.t=a;this.p=e;this.v=c;this.r=d;b&&(b._prev=this,this._next=b)};E._parseToProxy=function(a,e,c,b,d,h){var p=b,m={},f={},j=c._transform,g=y,k;c._transform=null;y=e;b=a=c.parse(a,e,b,d);y=
+g;h&&(c._transform=j,p&&(p._prev=null,p._prev&&(p._prev._next=null)));for(;b&&b!==p;){if(1>=b.type&&(j=b.p,f[j]=b.s+b.c,m[j]=b.s,h||(k=new ia(b,"s",j,k,b.r),b.c=0),1===b.type))for(c=b.l;0<--c;)g="xn"+c,j=b.p+"_"+g,f[j]=b.data[g],m[j]=b[g],h||(k=new ia(b,g,j,k,b.rxp[g]));b=b._next}return{proxy:m,end:f,firstMPT:k,pt:a}};var N=E.CSSPropTween=function(a,e,c,d,h,p,m,f,g,da,k){this.t=a;this.p=e;this.s=c;this.c=d;this.n=m||"css_"+e;a instanceof N||b.push(this.n);this.r=f;this.type=p||0;g&&(this.pr=g,j=!0);
+this.b=void 0===da?c:da;this.e=void 0===k?c+d:k;h&&(this._next=h,h._prev=this)},ga=v.parseComplex=function(e,c,b,d,h,p,m,j,g,k){m=new N(e,c,0,0,m,k?2:1,null,!1,j,b,d);e=b.split(", ").join(",").split(" ");c=(d+"").split(", ").join(",").split(" ");b=e.length;j=!1!==x;var n,l,C,q,t;b!==c.length&&(e=(p||"").split(" "),b=e.length);m.plugin=g;m.setRatio=k;for(p=0;p<b;p++)if(g=e[p],n=c[p],(k=parseFloat(g))||0===k)m.appendXtra("",k,oa(n,k),n.replace(f,""),j&&-1!==n.indexOf("px"),!0);else if(h&&("#"===g.charAt(0)||
+0===g.indexOf("rgb")||aa[g]))g=la(g),n=la(n),(k=6<g.length+n.length)&&!J&&0===n[3]?(m["xs"+m.l]+=m.l?" transparent":"transparent",m.e=m.e.split(c[p]).join("transparent")):(m.appendXtra(k?"rgba(":"rgb(",g[0],n[0]-g[0],",",!0,!0).appendXtra("",g[1],n[1]-g[1],",",!0).appendXtra("",g[2],n[2]-g[2],k?",":")",!0),k&&(g=4>g.length?1:g[3],m.appendXtra("",g,(4>n.length?1:n[3])-g,")",!1)));else if(k=g.match(a)){C=n.match(f);if(!C||C.length!==k.length)return m;for(n=l=0;n<k.length;n++)t=k[n],q=g.indexOf(t,l),
+m.appendXtra(g.substr(l,q-l),Number(t),oa(C[n],t),"",j&&"px"===g.substr(q+t.length,2),0===n),l=q+t.length;m["xs"+m.l]+=g.substr(l)}else m["xs"+m.l]+=m.l?" "+g:g;if(-1!==d.indexOf("=")&&m.data){d=m.xs0+m.data.s;for(p=1;p<m.l;p++)d+=m["xs"+p]+m.data["xn"+p];m.e=d+m["xs"+p]}m.l||(m.type=-1,m.xs0=m.e);return m.xfirst||m},P=9,c=N.prototype;for(c.l=c.pr=0;0<--P;)c["xn"+P]=0,c["xs"+P]="";c.xs0="";c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null;c.appendXtra=function(a,e,c,b,d,h){var m=this.l;
+this["xs"+m]+=h&&m?" "+a:a||"";if(!c&&0!==m&&!this.plugin)return this["xs"+m]+=e+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<m)return this.data["xn"+m]=e+c,this.rxp["xn"+m]=d,this["xn"+m]=e,this.plugin||(this.xfirst=new N(this,"xn"+m,e,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:e+c};this.rxp={};this.s=e;this.c=c;this.r=d;return this};var qa=function(a,e,c,b,d,m,h){this.p=b?ba(a)||a:a;t[a]=t[this.p]=this;this.format=m||pa(e,d);c&&
+(this.parse=c);this.clrs=d;this.dflt=e;this.pr=h||0},K=E._registerComplexSpecialProp=function(a,e,c,b,d,m,h){a=a.split(",");e=e instanceof Array?e:[e];for(var p=a.length;-1<--p;)new qa(a[p],e[p],c,b&&0===p,d,m,h)},E=function(a){if(!t[a]){var e=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";K(a,null,function(a,c,b,d,m,h,p){var g=window.com.greensock.plugins[e];if(!g)return window.console&&console.log("Error: "+e+" js file not loaded."),m;g._cssRegister();return t[b].parse(a,c,b,d,m,h,p)})}},c=qa.prototype;
+c.parseComplex=function(a,e,c,b,d,m){return ga(a,this.p,e,c,this.clrs,this.dflt,b,this.pr,d,m)};c.parse=function(a,e,c,b,d,m){return this.parseComplex(a.style,this.format(M(a,c,k,!1,this.dflt)),this.format(e),d,m)};v.registerSpecialProp=function(a,e,c){K(a,null,function(a,b,d,m,h,p){h=new N(a,d,0,0,h,2,d,!1,c);h.plugin=p;h.setRatio=e(a,b,m._tween,d);return h},!1,!1,null,c)};var ra="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),Q=ba("transform"),va=ma+"transform",
+sa=ba("transformOrigin"),Y=null!==ba("perspective"),ea=function(a,e,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,m=Y?parseFloat(M(a,sa,e,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,h,p,g,f,j,k,n,l;Q?h=M(a,va,e,!0):a.currentStyle&&(h=(h=a.currentStyle.filter.match(q))&&4===h.length?h[0].substr(4)+","+Number(h[2].substr(4))+","+Number(h[1].substr(4))+","+h[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);p=(h||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(e=p.length;-1<--e;)p[e]=Number(p[e]);
+if(16===p.length){if(d=p[8],h=p[9],g=p[10],f=p[12],j=p[13],k=p[14],b.zOrigin&&(k=-b.zOrigin,f=d*k-p[12],j=h*k-p[13],k=g*k+b.zOrigin-p[14]),!c||f!==b.x||j!==b.y||k!==b.z){n=p[0];l=p[1];var C=p[2],t=p[3],J=p[4],r=p[5],s=p[6],S=p[7];p=p[11];var u=b.rotationX=Math.atan2(s,g),O,x,w,H;u&&(w=Math.cos(-u),H=Math.sin(-u),u=J*w+d*H,O=r*w+h*H,x=s*w+g*H,d=J*-H+d*w,h=r*-H+h*w,g=s*-H+g*w,p=S*-H+p*w,J=u,r=O,s=x);if(u=b.rotationY=Math.atan2(d,n))w=Math.cos(-u),H=Math.sin(-u),O=l*w-h*H,x=C*w-g*H,h=l*H+h*w,g=C*H+g*
+w,p=t*H+p*w,n=n*w-d*H,l=O,C=x;if(u=b.rotation=Math.atan2(l,r))w=Math.cos(-u),H=Math.sin(-u),n=n*w+J*H,O=l*w+r*H,r=l*-H+r*w,s=C*-H+s*w,l=O;Math.abs(b.rotationY)>Math.PI/2&&(b.rotationY*=-1,b.rotationX+=Math.PI,b.rotation=Math.PI-b.rotation);b.scaleX=Math.sqrt(n*n+l*l);b.scaleY=Math.sqrt(r*r+h*h);b.scaleZ=Math.sqrt(s*s+g*g);b.skewX=0;b.perspective=p?1/p:0;b.x=f;b.y=j;b.z=k}}else if(!Y||0===p.length||b.x!==p[4]||b.y!==p[5]||!b.rotationX&&!b.rotationY){f=(h=6<=p.length)?p[0]:1;k=p[1]||0;j=p[2]||0;n=h?
+p[3]:1;b.x=p[4]||0;b.y=p[5]||0;h=Math.sqrt(f*f+k*k);g=Math.sqrt(n*n+j*j);f=f||k?Math.atan2(k,f):b.rotation||0;j=j||n?Math.atan2(j,n)+f:b.skewX||0;k=h-Math.abs(b.scaleX||0);n=g-Math.abs(b.scaleY||0);Math.abs(j)>Math.PI/2&&Math.abs(j)<1.5*Math.PI&&(d?(h*=-1,j+=0>=f?Math.PI:-Math.PI,f+=0>=f?Math.PI:-Math.PI):(g*=-1,j+=0>=j?Math.PI:-Math.PI));d=(f-b.rotation)%Math.PI;l=(j-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<k||-1E-6>k||1E-6<n||-1E-6>n||1E-6<d||-1E-6>d||1E-6<l||-1E-6>l)b.scaleX=h,b.scaleY=g,b.rotation=
+f,b.skewX=j;Y&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(v.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=m;for(e in b)1E-6>b[e]&&-1E-6<b[e]&&(b[e]=0);c&&(a._gsTransform=b);return b},wa=function(a){var e=this.data,b=-e.rotation,c=b+e.skewX,d=Math.cos(b)*e.scaleX,b=Math.sin(b)*e.scaleX,p=Math.sin(c)*-e.scaleY,c=Math.cos(c)*e.scaleY,h=1E-6,m=this.t.style,f=this.t.currentStyle,j;if(f){d<h&&d>-h&&(d=0);b<h&&b>-h&&(b=0);p<h&&p>-h&&(p=0);c<h&&c>-h&&(c=0);h=b;b=-p;p=-h;h=f.filter;m.filter=
+"";var k=this.t.offsetWidth;j=this.t.offsetHeight;var n="absolute"!==f.position,l="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+p+", M22="+c,q=e.x,J=e.y,t,s;null!=e.ox&&(t=(e.oxp?0.01*k*e.ox:e.ox)-k/2,s=(e.oyp?0.01*j*e.oy:e.oy)-j/2,q+=t-(t*d+s*b),J+=s-(t*p+s*c));if(n)t=k/2,s=j/2,l+=", Dx="+(t-(t*d+s*b)+q)+", Dy="+(s-(t*p+s*c)+J)+")";else{var v=8>C?1:-1;t=e.ieOffsetX||0;s=e.ieOffsetY||0;e.ieOffsetX=Math.round((k-((0>d?-d:d)*k+(0>b?-b:b)*j))/2+q);e.ieOffsetY=Math.round((j-((0>
+c?-c:c)*j+(0>p?-p:p)*k))/2+J);for(P=0;4>P;P++)k=ua[P],j=f[k],j=-1!==j.indexOf("px")?parseFloat(j):T(this.t,k,parseFloat(j),j.replace(g,""))||0,q=j!==e[k]?2>P?-e.ieOffsetX:-e.ieOffsetY:2>P?t-e.ieOffsetX:s-e.ieOffsetY,m[k]=(e[k]=Math.round(j-q*(0===P||2===P?1:v)))+"px";l+=", sizingMethod='auto expand')"}m.filter=-1!==h.indexOf("DXImageTransform.Microsoft.Matrix(")?h.replace(U,l):l+" "+h;if(0===a||1===a)if(1===d&&0===b&&0===p&&1===c&&(!n||-1!==l.indexOf("Dx=0, Dy=0")))(!r.test(h)||100===parseFloat(RegExp.$1))&&
+-1===h.indexOf("gradient(")&&m.removeAttribute("filter")}},xa=function(){var a=this.data,e=this.t.style,b=a.perspective,c=a.scaleX,d=0,p=0,h=0,f=0,j=a.scaleY,g=0,k=0,n=0,l=0,q=a.scaleZ,C=0,t=0,J=0,s=b?-1/b:0,r=a.rotation,v=a.zOrigin,u,w,H,S,O;m&&(w=e.top+"",u=parseFloat(w)||0,w=w.substr((u+"").length),a._ffFix=!a._ffFix,e.top=(a._ffFix?u+0.05:u-0.05)+(""===w?"px":w));r&&(u=Math.cos(r),r=Math.sin(r),H=j*r,d=c*-r,j*=u,c*=u,f=H);if(r=a.rotationY)u=Math.cos(r),r=Math.sin(r),S=q*-r,O=s*-r,p=c*r,g=f*r,
+q*=u,s*=u,c*=u,f*=u,n=S,t=O;if(r=a.rotationX)u=Math.cos(r),r=Math.sin(r),w=d*u+p*r,H=j*u+g*r,S=l*u+q*r,O=J*u+s*r,p=d*-r+p*u,g=j*-r+g*u,q=l*-r+q*u,s=J*-r+s*u,d=w,j=H,l=S,J=O;v&&(C-=v,h=p*C,k=g*C,C=q*C+v);h+=a.x;k+=a.y;C=1E-5*(1E5*(C+a.z)>>0);e[Q]="matrix3d("+1E-5*(1E5*c>>0)+","+1E-5*(1E5*f>>0)+","+1E-5*(1E5*n>>0)+","+1E-5*(1E5*t>>0)+","+1E-5*(1E5*d>>0)+","+1E-5*(1E5*j>>0)+","+1E-5*(1E5*l>>0)+","+1E-5*(1E5*J>>0)+","+1E-5*(1E5*p>>0)+","+1E-5*(1E5*g>>0)+","+1E-5*(1E5*q>>0)+","+1E-5*(1E5*s>>0)+","+1E-5*
+(1E5*h>>0)+","+1E-5*(1E5*k>>0)+","+C+","+(b?1+-C/b:1)+")"},ya=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[Q]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var e=a.rotation,b=e-a.skewX,c=Math.cos(e)*a.scaleX,e=Math.sin(e)*a.scaleX,d=Math.sin(b)*-a.scaleY,b=Math.cos(b)*a.scaleY;this.t.style[Q]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>b&&-1E-6<b?0:b)+","+a.x+","+a.y+")"}};K("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",
+null,function(a,e,b,c,d,p,h){if(c._transform)return d;e=c._transform=ea(a,k,!0);var m=a.style,j=ra.length,f,g,n;if("string"===typeof h.transform&&Q)n=m[Q],m[Q]=h.transform,f=ea(a,null,!1),m[Q]=n;else if("object"===typeof h){g=null!=h.rotation?h.rotation:null!=h.rotationZ?h.rotationZ:e.rotation*L;f={scaleX:W(null!=h.scaleX?h.scaleX:h.scale,e.scaleX),scaleY:W(null!=h.scaleY?h.scaleY:h.scale,e.scaleY),scaleZ:W(null!=h.scaleZ?h.scaleZ:h.scale,e.scaleZ),x:W(h.x,e.x),y:W(h.y,e.y),z:W(h.z,e.z),perspective:W(h.transformPerspective,
+e.perspective)};f.rotation=null!=h.shortRotation||null!=h.shortRotationZ?ka(h.shortRotation||h.shortRotationZ||0,e.rotation):"number"===typeof g?g*G:$(g,e.rotation);Y&&(f.rotationX=null!=h.shortRotationX?ka(h.shortRotationX,e.rotationX):"number"===typeof h.rotationX?h.rotationX*G:$(h.rotationX,e.rotationX),f.rotationY=null!=h.shortRotationY?ka(h.shortRotationY,e.rotationY):"number"===typeof h.rotationY?h.rotationY*G:$(h.rotationY,e.rotationY),1E-6>f.rotationX&&-1E-6<f.rotationX&&(f.rotationX=0),1E-6>
+f.rotationY&&-1E-6<f.rotationY&&(f.rotationY=0));f.skewX=null==h.skewX?e.skewX:"number"===typeof h.skewX?h.skewX*G:$(h.skewX,e.skewX);f.skewY=null==h.skewY?e.skewY:"number"===typeof h.skewY?h.skewY*G:$(h.skewY,e.skewY);if(g=f.skewY-e.skewY)f.skewX+=g,f.rotation+=g;1E-6>f.skewY&&-1E-6<f.skewY&&(f.skewY=0);1E-6>f.skewX&&-1E-6<f.skewX&&(f.skewX=0);1E-6>f.rotation&&-1E-6<f.rotation&&(f.rotation=0)}n=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!n&&null!=f.scale&&(f.scaleZ=
+1);for(c._transformType=n?3:2;-1<--j;)if(b=ra[j],g=f[b]-e[b],1E-6<g||-1E-6>g||null!=y[b])d=new N(e,b,e[b],g,d),d.xs0=0,d.plugin=p,c._overwriteProps.push(d.n);if((g=h.transformOrigin)||Y&&n&&e.zOrigin)Q?(g=(g||M(a,b,k,!1,"50% 50%"))+"",b=sa,d=new N(m,b,0,0,d,-1,"css_transformOrigin"),d.b=m[b],d.plugin=p,Y?(n=e.zOrigin,g=g.split(" "),e.zOrigin=(2<g.length?parseFloat(g[2]):n)||0,d.xs0=d.e=m[b]=g[0]+" "+(g[1]||"50%")+" 0px",d=new N(e,"zOrigin",0,0,d,-1,d.n),d.b=n,d.xs0=d.e=e.zOrigin):d.xs0=d.e=m[b]=g):
+ja(g+"",e);return d&&d.t===a?(d._next&&(d._next._prev=null),d._next):d},!0);K("boxShadow","0px 0px 0px 0px #999",null,!0,!0);K("borderRadius","0px",function(a,e,b,c,d){e=this.format(e);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];var h=a.style,p,m,f,g,j,l,C,q,r,t,s,u;q=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);e=e.split(" ");for(p=0;p<c.length;p++)this.p.indexOf("border")&&(c[p]=ba(c[p])),g=f=M(a,c[p],k,!1,"0px"),-1!==g.indexOf(" ")&&
+(f=g.split(" "),g=f[0],f=f[1]),j=m=e[p],l=parseFloat(g),s=g.substr((l+"").length),(u="="===j.charAt(1))?(C=parseInt(j.charAt(0)+"1"),j=j.substr(2),C*=parseFloat(j),t=j.substr((C+"").length-(0>C?1:0))||""):(C=parseFloat(j),t=j.substr((C+"").length)),""===t&&(t=n[b]||s),t!==s&&(g=T(a,"borderLeft",l,s),l=T(a,"borderTop",l,s),"%"===t?(g=100*(g/q)+"%",f=100*(l/r)+"%"):"em"===t?(s=T(a,"borderLeft",1,"em"),g=g/s+"em",f=l/s+"em"):(g+="px",f=l+"px"),u&&(j=parseFloat(g)+C+t,m=parseFloat(f)+C+t)),d=ga(h,c[p],
+g+" "+f,j+" "+m,!1,"0px",d);return d},!0,!1,pa("0px 0px 0px 0px",!1,!0));K("backgroundPosition","0 0",function(a,e,b,c,d,h){b=k||ca(a,null);b=this.format((b?C?b.getPropertyValue("background-position-x")+" "+b.getPropertyValue("background-position-y"):b.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");e=this.format(e);var p,m,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");p=e.split(" ");u.setAttribute("src",
+M(a,"backgroundImage").replace(D,""));for(m=2;-1<--m;)b=c[m],f=-1!==b.indexOf("%"),f!==(-1!==p[m].indexOf("%"))&&(g=0===m?a.offsetWidth-u.width:a.offsetHeight-u.height,c[m]=f?parseFloat(b)/100*g+"px":100*(parseFloat(b)/g)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,e,d,h)},!1,!1,ja);K("backgroundSize","0 0",null,!1,!1,ja);K("perspective","0px",null,!0);K("perspectiveOrigin","50% 50%",null,!0);K("transformStyle","preserve-3d",null,!0);K("margin",null,A("marginTop,marginRight,marginBottom,marginLeft"));
+K("padding",null,A("paddingTop,paddingRight,paddingBottom,paddingLeft"));K("clip","rect(0px,0px,0px,0px)");K("textShadow","0px 0px 0px #999",null,!1,!0);K("autoRound",null,function(a,e,b,c,d){return d});K("border","0px solid #000",function(a,e,b,c,d,h){return this.parseComplex(a.style,this.format(M(a,"borderTopWidth",k,!1,"0px")+" "+M(a,"borderTopStyle",k,!1,"solid")+" "+M(a,"borderTopColor",k,!1,"#000")),this.format(e),d,h)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+
+(a.match(X)||["#000"])[0]});var za=function(a){var e=this.t;a=this.s+this.c*a;var b;100===a&&(e.removeAttribute("filter"),b=!M(this.data,"filter"));b||(this.xn1&&(e.filter=e.filter||"alpha(opacity=100)"),e.filter=-1===e.filter.indexOf("opacity")?e.filter+(" alpha(opacity="+(a>>0)+")"):e.filter.replace(r,"opacity="+(a>>0)))};K("opacity,alpha,autoAlpha","1",function(a,e,b,c,d,h){var p=parseFloat(M(a,"opacity",k,!1,"1"));e=parseFloat(e);var m=a.style,f;"autoAlpha"===b&&(f=M(a,"visibility",k),1===p&&
+"hidden"===f&&(p=0),d=new N(m,"visibility",0,0,d,-1,null,!1,0,0!==p?"visible":"hidden",0===e?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));J?d=new N(m,"opacity",p,e-p,d):(d=new N(m,"opacity",100*p,100*(e-p),d),d.xn1="autoAlpha"===b?1:0,m.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=h,d.setRatio=za);return d});var Aa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var e=this.t.style,b=e.removeProperty?
+"removeProperty":"removeAttribute";a;){if(a.v)e[a.p]=a.v;else e[b](a.p.replace(R,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};K("className",null,function(a,e,b,c,d,h,p){var m=a.className,f=a.style.cssText;d=c._classNamePT=new N(a,b,0,0,d,2);d.setRatio=Aa;d.b=m;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?m+" "+e.substr(2):m.split(e.substr(2)).join("");c._tween._duration&&(e=fa(a,k,!0),a.className=d.e,p=na(a,e,fa(a),p),a.className=m,d.data=p.firstMPT,a.style.cssText=
+f,d=d.xfirst=c.parse(a,p.difs,d,h));return d});c=["bezier","throwProps","physicsProps","physics2D"];for(P=c.length;P--;)E(c[P]);c=v.prototype;c._firstPT=null;c._onInitTween=function(a,c,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=c;x=c.autoRound;j=!1;n=c.suffixMap||v.suffixMap;k=ca(a,"");b=this._overwriteProps;d=a.style;var h,m,f,g;if(V&&""===d.zIndex&&(h=M(a,"zIndex",k),"auto"===h||""===h))d.zIndex=0;"string"===typeof c&&(m=d.cssText,h=fa(a,k),d.cssText=m+";"+c,h=na(a,h,fa(a)).difs,
+!J&&Z.test(c)&&(h.opacity=parseFloat(RegExp.$1)),c=h,d.cssText=m);this._firstPT=c=this.parse(a,c,null);if(this._transformType){h=3===this._transformType;if(Q){if(e){V=!0;if(""===d.zIndex&&(g=M(a,"zIndex",k),"auto"===g||""===g))d.zIndex=0;p&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(h?"visible":"hidden"))}}else d.zoom=1;for(d=c;d&&d._next;)d=d._next;g=new N(a,"transform",0,0,null,2);this._linkCSSP(g,null,d);g.setRatio=h&&Y?xa:Q?ya:wa;g.data=this._transform||ea(a,k,!0);b.pop()}if(j){for(;c;){a=
+c._next;for(d=m;d&&d.pr>c.pr;)d=d._next;(c._prev=d?d._prev:f)?c._prev._next=c:m=c;(c._next=d)?d._prev=c:f=c;c=a}this._firstPT=m}return!0};c.parse=function(a,e,b,c){var d=a.style,h,p,m,f,g,j,l,C;for(h in e){g=e[h];if(p=t[h])b=p.parse(a,g,h,this,b,c,e);else if(p=M(a,h,k)+"",l="string"===typeof g,"color"===h||"fill"===h||"stroke"===h||-1!==h.indexOf("Color")||l&&!g.indexOf("rgb"))l||(g=la(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),b=ga(d,h,p,g,!0,"transparent",b,0,c);else if(l&&(-1!==g.indexOf(" ")||
+-1!==g.indexOf(",")))b=ga(d,h,p,g,!0,null,b,0,c);else{m=parseFloat(p);j=p.substr((m+"").length);if(""===p||"auto"===p)if("width"===h||"height"===h){m=a;C=h;f=k;j=parseFloat("width"===C?m.offsetWidth:m.offsetHeight);C=ta[C];var q=C.length;for(f=f||ca(m,null);-1<--q;)j-=parseFloat(M(m,"padding"+C[q],f,!0))||0,j-=parseFloat(M(m,"border"+C[q]+"Width",f,!0))||0;m=j;j="px"}else m="opacity"!==h?0:1,j="";(C=l&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+"1"),g=g.substr(2),f*=parseFloat(g),l=g.substr((f+"").length-
+(0>f?1:0))||""):(f=parseFloat(g),l=l?g.substr((f+"").length)||"":"");""===l&&(l=n[h]||j);g=f||0===f?(C?f+m:f)+l:e[h];if(j!==l&&""!==l&&(f||0===f))if(m||0===m)if(m=T(a,h,m,j),"%"===l?(m/=T(a,h,100,"%")/100,100<m&&(m=100)):"em"===l?m/=T(a,h,1,"em"):(f=T(a,h,f,l),l="px"),C&&(f||0===f))g=f+m+l;C&&(f+=m);(m||0===m)&&(f||0===f)?(b=new N(d,h,m,f-m,b,0,"css_"+h,!1!==x&&("px"===l||"zIndex"===h),0,p,g),b.xs0=l):(b=new N(d,h,f||m||0,0,b,-1,"css_"+h,!1,0,p,g),b.xs0="display"===h&&"none"===g?p:g)}c&&(b&&!b.plugin)&&
+(b.plugin=c)}return b};c.setRatio=function(a){var e=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;e;)2!==e.type?e.t[e.p]=e.e:e.setRatio(a),e=e._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;e;){b=e.c*a+e.s;e.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(e.type)if(1===e.type)if(c=e.l,2===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+
+e.xs2+e.xn2+e.xs3;else if(4===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{b=e.xs0+b+e.xs1;for(c=1;c<e.l;c++)b+=e["xn"+c]+e["xs"+(c+1)];e.t[e.p]=b}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next};c._enableTransforms=function(e){this._transformType=e||3===this._transformType?3:2};c._linkCSSP=function(e,
+a,b,c){e&&(a&&(a._prev=e),e._next&&(e._next._prev=e._prev),b?b._next=e:!c&&null===this._firstPT&&(this._firstPT=e),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next),e._next=a,e._prev=b);return e};c._kill=function(e){var a=e,b=!1,c,d;if(e.css_autoAlpha||e.css_alpha){a={};for(d in e)a[d]=e[d];a.css_opacity=1;a.css_autoAlpha&&(a.css_visibility=1)}if(e.css_className&&(c=this._classNamePT))(e=c.xfirst)&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=
+null),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,b=!0;return l.prototype._kill.call(this,a)||b};l.activate([v]);return v},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(l){var v=function(){l.call(this,"roundProps",-1);this._overwriteProps.length=0},j=v.prototype=new l("roundProps",-1);j.constructor=v;v.API=2;j._onInitTween=function(j,k,b){this._tween=
+b;return!0};j._onInitAllProps=function(){for(var j=this._tween,k=j.vars.roundProps instanceof Array?j.vars.roundProps:j.vars.roundProps.split(","),b=k.length,l={},c=j._propLookup.roundProps,a,f,d;-1<--b;)l[k[b]]=1;for(b=k.length;-1<--b;){a=k[b];for(f=j._firstPT;f;)d=f._next,f.pg?f.t._roundProps(l,!0):f.n===a&&(this._add(f.t,a,f.s,f.c),d&&(d._prev=f._prev),f._prev?f._prev._next=d:j._firstPT===f&&(j._firstPT=d),f._next=f._prev=null,j._propLookup[a]=c),f=d}return!1};j._add=function(j,k,b,l){this._addTween(j,
+k,b,b+l,k,!0);this._overwriteProps.push(k)};l.activate([v]);return v},!0);_gsDefine("easing.Back",["easing.Ease"],function(l){var v=window.com.greensock._class,j=function(a,b){var c=v("easing."+a,function(){},!0),d=c.prototype=new l;d.constructor=c;d.getRatio=b;return c},n=function(a,b){var c=v("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new l;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},k=n("BackOut",function(a){return(a-=
+1)*a*((this._p1+1)*a+this._p1)+1}),b=n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),n=n("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),t=j("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),c=j("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+0.75):a<2.5/2.75?
+1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),a=j("BounceInOut",function(a){var b=0.5>a;a=b?1-2*a:2*a-1;a=a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375;return b?0.5*(1-a):0.5*a+0.5}),f=j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),d=j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),z=j("CircInOut",function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=
+2)*a)+1)}),g=2*Math.PI,r=function(a,b,c){var d=v("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=this._p2/g*(Math.asin(1/this._p1)||0)},!0);a=d.prototype=new l;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},Z=r("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*g/this._p2)+1},0.3),R=r("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2))},0.3),r=r("ElasticInOut",function(a){return 1>
+(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*g/this._p2)+1},0.45),w=j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),D=j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),s=j("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),B=Math.PI/2,q=j("SineOut",function(a){return Math.sin(a*B)}),U=j("SineIn",function(a){return-Math.cos(a*B)+1}),j=j("SineInOut",function(a){return-0.5*
+(Math.cos(Math.PI*a)-1)}),G=v("easing.SlowMo",function(a,b,c){null==a?a=0.7:1<a&&(a=1);this._p=1!=a?b||0===b?b:0.7:0;this._p1=(1-a)/2;this._p2=a;this._p3=this._p1+this._p2;this._calcEnd=!0===c},!0),L=G.prototype=new l;L.constructor=G;L.getRatio=function(a){var b=a+(0.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b};G.ease=new G(0.7,0.7);L.config=
+G.config=function(a,b,c){return new G(a,b,c)};var y=v("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),L=y.prototype=new l;L.constructor=y;L.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};L.config=y.config=function(a){return new y(a)};v("easing.Bounce",{easeOut:new t,easeIn:new c,easeInOut:new a},!0);v("easing.Circ",{easeOut:new f,easeIn:new d,easeInOut:new z},!0);v("easing.Elastic",{easeOut:new Z,easeIn:new R,easeInOut:new r},!0);v("easing.Expo",
+{easeOut:new w,easeIn:new D,easeInOut:new s},!0);v("easing.Sine",{easeOut:new q,easeIn:new U,easeInOut:new j},!0);return{easeOut:new k,easeIn:new b,easeInOut:new n}},!0)});
+(function(l){var v=function(a){a=a.split(".");var b=l,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},j=v("com.greensock"),n,k,b,t,c,a={},f=function(e,b,c,d){this.sc=a[e]?a[e].sc:[];a[e]=this;this.gsClass=null;this.def=c;var g=b||[],j=[];this.check=function(b){for(var m=g.length,h=0,k;-1<--m;)(k=a[g[m]]||new f(g[m])).gsClass?j[m]=k.gsClass:(h++,b&&k.sc.push(this));if(0===h&&c){b=("com.greensock."+e).split(".");var m=b.pop(),n=v(b.join("."))[m]=this.gsClass=c.apply(c,j);d&&((l.GreenSockGlobals||
+l)[m]=n,"function"===typeof define&&define.amd?define((l.GreenSockAMDPath?l.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return n}):"undefined"!==typeof module&&module.exports&&(module.exports=n));for(m=0;m<this.sc.length;m++)this.sc[m].check(!1)}};this.check(!0)},d=j._class=function(a,b,c){b=b||function(){};new f(a,[],function(){return b},c);return b};l._gsDefine=function(a,b,c,d){return new f(a,b,c,d)};var z=[0,0,1,1],g=[],r=d("easing.Ease",function(a,b,c,d){this._func=a;this._type=
+c||0;this._power=d||0;this._params=b?z.concat(b):z},!0);b=r.prototype;b._calcEnd=!1;b.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:0.5>a?2*a:2*(1-a);1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d);return 1===b?1-d:2===b?d:0.5>a?d/2:1-d/2};n=["Linear","Quad","Cubic","Quart","Quint"];for(k=n.length;-1<--k;)b=d("easing."+n[k],null,!0),t=d("easing.Power"+k,null,!0),b.easeOut=t.easeOut=new r(null,
+null,1,k),b.easeIn=t.easeIn=new r(null,null,2,k),b.easeInOut=t.easeInOut=new r(null,null,3,k);d("easing.Strong",j.easing.Power4,!0);j.easing.Linear.easeNone=j.easing.Linear.easeIn;var Z=d("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});b=Z.prototype;b.addEventListener=function(a,b,c,d,f){f=f||0;var g=this._listeners[a],j=0,h;null==g&&(this._listeners[a]=g=[]);for(h=g.length;-1<--h;)a=g[h],a.c===b?g.splice(h,1):0===j&&a.pr<f&&(j=h+1);g.splice(j,0,{c:b,s:c,up:d,pr:f})};
+b.removeEventListener=function(a,b){var c=this._listeners[a],d;if(c)for(d=c.length;-1<--d;)if(c[d].c===b){c.splice(d,1);break}};b.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,f;-1<--c;)f=b[c],f.up?f.c.call(f.s||d,{type:a,target:d}):f.c.call(f.s||d)};var R=l.requestAnimationFrame,w=l.cancelAnimationFrame,D=Date.now||function(){return(new Date).getTime()};n=["ms","moz","webkit","o"];for(k=n.length;-1<--k&&!R;)R=l[n[k]+"RequestAnimationFrame"],w=l[n[k]+
+"CancelAnimationFrame"]||l[n[k]+"CancelRequestAnimationFrame"];d("Ticker",function(a,b){var c=this,d=D(),f=!1!==b&&R,g,j,h,k,n,q=function(){null!=h&&(!f||!w?l.clearTimeout(h):w(h),h=null)},r=function(a){c.time=(D()-d)/1E3;if(!g||c.time>=n||!0===a)c.frame++,n=c.time>n?c.time+k-(c.time-n):c.time+k-0.001,n<c.time+0.001&&(n=c.time+0.001),c.dispatchEvent("tick");!0!==a&&(h=j(r))};Z.call(c);this.time=this.frame=0;this.tick=function(){r(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;k=1/(g||
+60);n=this.time+k;j=0===g?function(){}:!f||!R?function(a){return l.setTimeout(a,1E3*(n-c.time)+1>>0||1)}:R;q();h=j(r)};this.useRAF=function(a){if(!arguments.length)return f;q();f=a;c.fps(g)};c.fps(a);l.setTimeout(function(){f&&!h&&c.useRAF(!1)},1E3)});b=j.Ticker.prototype=new j.events.EventDispatcher;b.constructor=j.Ticker;var s=d("core.Animation",function(a,b){this.vars=b||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0===this.vars.immediateRender;
+this.data=this.vars.data;this._reversed=!0===this.vars.reversed;if(u){c||(B.tick(),c=!0);var d=this.vars.useFrames?F:u;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),B=s.ticker=new j.Ticker;b=s.prototype;b._dirty=b._gc=b._initted=b._paused=!1;b._totalTime=b._time=0;b._rawPrevTime=-1;b._next=b._last=b._onUpdate=b._timeline=b.timeline=null;b._paused=!1;b.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};b.pause=function(a,b){arguments.length&&
this.seek(a,b);return this.paused(!0)};b.resume=function(a,b){arguments.length&&this.seek(a,b);return this.paused(!1)};b.seek=function(a,b){return this.totalTime(Number(a),!1!=b)};b.restart=function(a,b){this.reversed(!1);this.paused(!1);return this.totalTime(a?-this._delay:0,!1!==b)};b.reverse=function(a,b){arguments.length&&this.seek(a||this.totalDuration(),b);this.reversed(!0);return this.paused(!1)};b.render=function(){};b.invalidate=function(){return this};b._enabled=function(a,b){this._gc=!a;
this._active=a&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration;!0!==b&&(a&&null==this.timeline?this._timeline.insert(this,this._startTime-this._delay):!a&&null!=this.timeline&&this._timeline._remove(this,!0));return!1};b._kill=function(){return this._enabled(!1,!1)};b.kill=function(a,b){this._kill(a,b);return this};b._uncache=function(a){for(a=a?this:this.timeline;a;)a._dirty=!0,a=a.timeline;return this};b.eventCallback=function(a,b,c,d){if(null==a)return null;if("on"===a.substr(0,
2)){if(1===arguments.length)return this.vars[a];if(null==b)delete this.vars[a];else if(this.vars[a]=b,this.vars[a+"Params"]=c,this.vars[a+"Scope"]=d,c)for(var f=c.length;-1<--f;)"{self}"===c[f]&&(c=this.vars[a+"Params"]=c.concat(),c[f]=this);"onUpdate"===a&&(this._onUpdate=b)}return this};b.delay=function(a){if(!arguments.length)return this._delay;this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay);this._delay=a;return this};b.duration=function(a){if(!arguments.length)return this._dirty=
@@ -148,28 +148,28 @@ this._active=a&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDur
b){if(!arguments.length)return this._totalTime;if(this._timeline){0>a&&(a+=this.totalDuration());if(this._timeline.smoothChildTiming&&(this._dirty&&this.totalDuration(),a>this._totalDuration&&(a=this._totalDuration),this._startTime=(this._paused?this._pauseTime:this._timeline._time)-(!this._reversed?a:this._totalDuration-a)/this._timeScale,this._timeline._dirty||this._uncache(!1),!this._timeline._active))for(var c=this._timeline;c._timeline;)c.totalTime(c._totalTime,!0),c=c._timeline;this._gc&&this._enabled(!0,
!1);this._totalTime!==a&&this.render(a,b,!1)}return this};b.startTime=function(a){if(!arguments.length)return this._startTime;a!=this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.insert(this,a-this._delay));return this};b.timeScale=function(a){if(!arguments.length)return this._timeScale;a=a||1E-6;if(this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime||0===this._pauseTime?this._pauseTime:this._timeline._totalTime;this._startTime=b-(b-
this._startTime)*this._timeScale/a}this._timeScale=a;return this._uncache(!1)};b.reversed=function(a){if(!arguments.length)return this._reversed;a!==this._reversed&&(this._reversed=a,this.totalTime(this._totalTime,!0));return this};b.paused=function(a){if(!arguments.length)return this._paused;a!==this._paused&&this._timeline&&(!a&&this._timeline.smoothChildTiming&&(this._startTime+=this._timeline.rawTime()-this._pauseTime,this._uncache(!1)),this._pauseTime=a?this._timeline.rawTime():null,this._paused=
-a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(a||this._enabled(!0,!1));return this};j=d("core.SimpleTimeline",function(a){u.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});b=j.prototype=new u;b.constructor=j;b.kill()._gc=!1;b._first=b._last=null;b._sortChildren=!1;b.insert=function(a,b){a._startTime=Number(b||0)+a._delay;a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale);a.timeline&&
+a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(a||this._enabled(!0,!1));return this};j=d("core.SimpleTimeline",function(a){s.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});b=j.prototype=new s;b.constructor=j;b.kill()._gc=!1;b._first=b._last=null;b._sortChildren=!1;b.insert=function(a,b){a._startTime=Number(b||0)+a._delay;a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale);a.timeline&&
a.timeline._remove(a,!0);a.timeline=a._timeline=this;a._gc&&a._enabled(!0,!0);var c=this._last;if(this._sortChildren)for(var d=a._startTime;c&&c._startTime>d;)c=c._prev;c?(a._next=c._next,c._next=a):(a._next=this._first,this._first=a);a._next?a._next._prev=a:this._last=a;a._prev=c;this._timeline&&this._uncache(!0);return this};b._remove=function(a,b){a.timeline===this&&(b||a._enabled(!1,!0),a.timeline=null,a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=
-a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0));return this};b.render=function(a,b){var c=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;c;){d=c._next;if(c._active||a>=c._startTime&&!c._paused)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=d}};b.rawTime=function(){return this._totalTime};var q=d("TweenLite",function(a,b,c){u.call(this,b,c);if(null==
+a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0));return this};b.render=function(a,b){var c=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;c;){d=c._next;if(c._active||a>=c._startTime&&!c._paused)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=d}};b.rawTime=function(){return this._totalTime};var q=d("TweenLite",function(a,b,c){s.call(this,b,c);if(null==
a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?h[q.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:h[this.vars.overwrite];if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){this._targets=a.slice(0);this._propLookup=[];this._siblings=[];for(a=0;a<this._targets.length;a++)c=this._targets[a],c.jquery?(this._targets.splice(a--,1),this._targets=this._targets.concat(c.constructor.makeArray(c))):(this._siblings[a]=
-E(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&B(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=E(a,this,!1),1===this._overwrite&&1<this._siblings.length&&B(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);b=q.prototype=new u;b.constructor=q;b.kill()._gc=!1;b.ratio=0;b._firstPT=b._targets=b._overwrittenProps=null;b._notifyPluginsOfEnabled=!1;q.version=1.651;
-q.defaultEase=b._ease=new r(null,null,1,1);q.defaultOverwrite="auto";q.ticker=C;var T=q._plugins={},I=q._tweenLookup={},J=0,A={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,orientToBezier:1,immediateRender:1,repeat:1,
-repeatDelay:1,data:1,paused:1,reversed:1},h={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},F=u._rootFramesTimeline=new j,w=u._rootTimeline=new j;w._startTime=C.time;F._startTime=C.frame;w._active=F._active=!0;u._updateRoot=function(){w.render((C.time-w._startTime)*w._timeScale,!1,!1);F.render((C.frame-F._startTime)*F._timeScale,!1,!1);if(!(C.frame%120)){var a,b,c;for(c in I){b=I[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete I[c]}}};
-C.addEventListener("tick",u._updateRoot);var E=function(a,b,c){var d=a._gsTweenID,f;if(!I[d||(a._gsTweenID=d="t"+J++)])I[d]={target:a,tweens:[]};if(b&&(a=I[d].tweens,a[f=a.length]=b,c))for(;-1<--f;)a[f]===b&&a.splice(f,1);return I[d].tweens},B=function(a,b,c,d,f){var g,j,h;if(1===d||4<=d){a=f.length;for(g=0;g<a;g++)if((h=f[g])!==b)h._gc||h._enabled(!1,!1)&&(j=!0);else if(5===d)break;return j}var k=b._startTime+1E-10,m=[],p=0,q=0===b._duration,r;for(g=f.length;-1<--g;)if(!((h=f[g])===b||h._gc||h._paused))h._timeline!==
-b._timeline?(r=r||x(b,0,q),0===x(h,r,q)&&(m[p++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale+1E-10>k&&((q||!h._initted)&&2E-10>=k-h._startTime||(m[p++]=h));for(g=p;-1<--g;)if(h=m[g],2===d&&h._kill(c,a)&&(j=!0),2!==d||!h._firstPT&&h._initted)h._enabled(!1,!1)&&(j=!0);return j},x=function(a,b,c){for(var d=a._timeline,f=d._timeScale,g=a._startTime;d._timeline;){g+=d._startTime;f*=d._timeScale;if(d._paused)return-100;d=d._timeline}g/=f;return g>b?g-b:c&&g===b||!a._initted&&2E-10>
+E(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&A(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=E(a,this,!1),1===this._overwrite&&1<this._siblings.length&&A(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);b=q.prototype=new s;b.constructor=q;b.kill()._gc=!1;b.ratio=0;b._firstPT=b._targets=b._overwrittenProps=null;b._notifyPluginsOfEnabled=!1;q.version=1.651;
+q.defaultEase=b._ease=new r(null,null,1,1);q.defaultOverwrite="auto";q.ticker=B;var U=q._plugins={},G=q._tweenLookup={},L=0,y={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,orientToBezier:1,immediateRender:1,repeat:1,
+repeatDelay:1,data:1,paused:1,reversed:1},h={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},F=s._rootFramesTimeline=new j,u=s._rootTimeline=new j;u._startTime=B.time;F._startTime=B.frame;u._active=F._active=!0;s._updateRoot=function(){u.render((B.time-u._startTime)*u._timeScale,!1,!1);F.render((B.frame-F._startTime)*F._timeScale,!1,!1);if(!(B.frame%120)){var a,b,c;for(c in G){b=G[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete G[c]}}};
+B.addEventListener("tick",s._updateRoot);var E=function(a,b,c){var d=a._gsTweenID,f;if(!G[d||(a._gsTweenID=d="t"+L++)])G[d]={target:a,tweens:[]};if(b&&(a=G[d].tweens,a[f=a.length]=b,c))for(;-1<--f;)a[f]===b&&a.splice(f,1);return G[d].tweens},A=function(a,b,c,d,f){var g,h,j;if(1===d||4<=d){a=f.length;for(g=0;g<a;g++)if((j=f[g])!==b)j._gc||j._enabled(!1,!1)&&(h=!0);else if(5===d)break;return h}var k=b._startTime+1E-10,l=[],n=0,q=0===b._duration,r;for(g=f.length;-1<--g;)if(!((j=f[g])===b||j._gc||j._paused))j._timeline!==
+b._timeline?(r=r||x(b,0,q),0===x(j,r,q)&&(l[n++]=j)):j._startTime<=k&&j._startTime+j.totalDuration()/j._timeScale+1E-10>k&&((q||!j._initted)&&2E-10>=k-j._startTime||(l[n++]=j));for(g=n;-1<--g;)if(j=l[g],2===d&&j._kill(c,a)&&(h=!0),2!==d||!j._firstPT&&j._initted)j._enabled(!1,!1)&&(h=!0);return h},x=function(a,b,c){for(var d=a._timeline,f=d._timeScale,g=a._startTime;d._timeline;){g+=d._startTime;f*=d._timeScale;if(d._paused)return-100;d=d._timeline}g/=f;return g>b?g-b:c&&g===b||!a._initted&&2E-10>
g-b?1E-10:(g+=a.totalDuration()/a._timeScale/f)>b?0:g-b-1E-10};b._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,q.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof r?this.vars.easeParams instanceof Array?this.vars.ease.config.apply(this.vars.ease,this.vars.easeParams):this.vars.ease:"function"===typeof this.vars.ease?new r(this.vars.ease,this.vars.easeParams):q.defaultEase;this._easeType=this._ease._type;this._easePower=
this._ease._power;this._firstPT=null;if(this._targets)for(a=this._targets.length;-1<--a;){if(this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],this._overwrittenProps?this._overwrittenProps[a]:null))b=!0}else b=this._initProps(this.target,this._propLookup,this._siblings,this._overwrittenProps);b&&q._onPluginEvent("_onInitAllProps",this);this._overwrittenProps&&null==this._firstPT&&"function"!==typeof this.target&&this._enabled(!1,!1);if(this.vars.runBackwards)for(a=this._firstPT;a;)a.s+=
-a.c,a.c=-a.c,a=a._next;this._onUpdate=this.vars.onUpdate;this._initted=!0};b._initProps=function(a,b,c,d){var f,g,j,h,k,m;if(null==a)return!1;for(f in this.vars){if(A[f]){if("onStartParams"===f||"onUpdateParams"===f||"onCompleteParams"===f||"onReverseCompleteParams"===f||"onRepeatParams"===f)if(k=this.vars[f])for(g=k.length;-1<--g;)"{self}"===k[g]&&(k=this.vars[f]=k.concat(),k[g]=this)}else if(T[f]&&(h=new T[f])._onInitTween(a,this.vars[f],this)){this._firstPT=m={_next:this._firstPT,t:h,p:"setRatio",
-s:0,c:1,f:!0,n:f,pg:!0,pr:h._priority};for(g=h._overwriteProps.length;-1<--g;)b[h._overwriteProps[g]]=this._firstPT;if(h._priority||h._onInitAllProps)j=!0;if(h._onDisable||h._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[f]=m={_next:this._firstPT,t:a,p:f,f:"function"===typeof a[f],n:f,pg:!1,pr:0},m.s=!m.f?parseFloat(a[f]):a[f.indexOf("set")||"function"!==typeof a["get"+f.substr(3)]?f:"get"+f.substr(3)](),g=this.vars[f],m.c="number"===typeof g?g-m.s:"string"===typeof g&&"="===g.charAt(1)?
-parseInt(g.charAt(0)+"1")*Number(g.substr(2)):Number(g)||0;m&&m._next&&(m._next._prev=m)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&&B(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):j};b.render=function(a,b,c){var d=this._time,f,j;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(f=!0,j="onComplete"),0===this._duration){if(0===a||0>
-this._rawPrevTime)this._rawPrevTime!==a&&(c=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==d||0===this._duration&&0<this._rawPrevTime)j="onReverseComplete",f=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0)}else if(this._totalTime=this._time=a,this._easeType){var h=a/this._duration,k=this._easeType,m=this._easePower;if(1===k||3===k&&0.5<=
-h)h=1-h;3===k&&(h*=2);1===m?h*=h:2===m?h*=h*h:3===m?h*=h*h*h:4===m&&(h*=h*h*h*h);this.ratio=1===k?1-h:2===k?h:0.5>a/this._duration?h/2:1-h/2}else this.ratio=this._ease.getRatio(a/this._duration);if(this._time!==d||c){this._initted||(this._init(),!f&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===d&&this.vars.onStart&&(0!==this._time||0===this._duration))b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||
+a.c,a.c=-a.c,a=a._next;this._onUpdate=this.vars.onUpdate;this._initted=!0};b._initProps=function(a,b,c,d){var f,g,j,h,k,l;if(null==a)return!1;for(f in this.vars){if(y[f]){if("onStartParams"===f||"onUpdateParams"===f||"onCompleteParams"===f||"onReverseCompleteParams"===f||"onRepeatParams"===f)if(k=this.vars[f])for(g=k.length;-1<--g;)"{self}"===k[g]&&(k=this.vars[f]=k.concat(),k[g]=this)}else if(U[f]&&(h=new U[f])._onInitTween(a,this.vars[f],this)){this._firstPT=l={_next:this._firstPT,t:h,p:"setRatio",
+s:0,c:1,f:!0,n:f,pg:!0,pr:h._priority};for(g=h._overwriteProps.length;-1<--g;)b[h._overwriteProps[g]]=this._firstPT;if(h._priority||h._onInitAllProps)j=!0;if(h._onDisable||h._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[f]=l={_next:this._firstPT,t:a,p:f,f:"function"===typeof a[f],n:f,pg:!1,pr:0},l.s=!l.f?parseFloat(a[f]):a[f.indexOf("set")||"function"!==typeof a["get"+f.substr(3)]?f:"get"+f.substr(3)](),g=this.vars[f],l.c="number"===typeof g?g-l.s:"string"===typeof g&&"="===g.charAt(1)?
+parseInt(g.charAt(0)+"1")*Number(g.substr(2)):Number(g)||0;l&&l._next&&(l._next._prev=l)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&&A(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):j};b.render=function(a,b,c){var d=this._time,f,j;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(f=!0,j="onComplete"),0===this._duration){if(0===a||0>
+this._rawPrevTime)this._rawPrevTime!==a&&(c=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==d||0===this._duration&&0<this._rawPrevTime)j="onReverseComplete",f=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0)}else if(this._totalTime=this._time=a,this._easeType){var h=a/this._duration,k=this._easeType,l=this._easePower;if(1===k||3===k&&0.5<=
+h)h=1-h;3===k&&(h*=2);1===l?h*=h:2===l?h*=h*h:3===l?h*=h*h*h:4===l&&(h*=h*h*h*h);this.ratio=1===k?1-h:2===k?h:0.5>a/this._duration?h/2:1-h/2}else this.ratio=this._ease.getRatio(a/this._duration);if(this._time!==d||c){this._initted||(this._init(),!f&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===d&&this.vars.onStart&&(0!==this._time||0===this._duration))b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||
g);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||g));j&&!this._gc&&(f&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[j]&&this.vars[j].apply(this.vars[j+"Scope"]||this,this.vars[j+"Params"]||g))}};b._kill=function(a,b){"all"===a&&(a=null);if(null==a&&(null==b||b==this.target))return this._enabled(!1,!1);b=
b||this._targets||this.target;var c,d,f,g,h,j,k;if((b instanceof Array||b.jquery)&&"object"===typeof b[0])for(c=b.length;-1<--c;)this._kill(a,b[c])&&(h=!0);else{if(this._targets)for(c=this._targets.length;-1<--c;){if(b===this._targets[c]){g=this._propLookup[c]||{};this._overwrittenProps=this._overwrittenProps||[];d=this._overwrittenProps[c]=a?this._overwrittenProps[c]||{}:"all";break}}else{if(b!==this.target)return!1;g=this._propLookup;d=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(g)for(f in j=
a||g,k=a!=d&&"all"!=d&&a!=g&&(null==a||!0!=a._tempKill),j){if(c=g[f]){c.pg&&c.t._kill(j)&&(h=!0);if(!c.pg||0===c.t._overwriteProps.length)c._prev?c._prev._next=c._next:c===this._firstPT&&(this._firstPT=c._next),c._next&&(c._next._prev=c._prev),c._next=c._prev=null;delete g[f]}k&&(d[f]=1)}}return h};b.invalidate=function(){this._notifyPluginsOfEnabled&&q._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=
-!1;this._propLookup=this._targets?{}:[];return this};b._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=E(this._targets[c],this,!0);else this._siblings=E(this.target,this,!0);u.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?q._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};q.to=function(a,b,c){return new q(a,b,c)};q.from=function(a,b,c){c.runBackwards=!0;!1!=c.immediateRender&&(c.immediateRender=
+!1;this._propLookup=this._targets?{}:[];return this};b._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=E(this._targets[c],this,!0);else this._siblings=E(this.target,this,!0);s.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?q._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};q.to=function(a,b,c){return new q(a,b,c)};q.from=function(a,b,c){c.runBackwards=!0;!1!=c.immediateRender&&(c.immediateRender=
!0);return new q(a,b,c)};q.fromTo=function(a,b,c,d){d.startAt=c;c.immediateRender&&(d.immediateRender=!0);return new q(a,b,d)};q.delayedCall=function(a,b,c,d,f){return new q(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:f,overwrite:0})};q.set=function(a,b){return new q(a,0,b)};q.killTweensOf=q.killDelayedCallsTo=function(a,b){for(var c=q.getTweensOf(a),d=c.length;-1<--d;)c[d]._kill(b,
-a)};q.getTweensOf=function(a){if(null!=a){var b,c,d;if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){b=a.length;for(c=[];-1<--b;)c=c.concat(q.getTweensOf(a[b]));for(b=c.length;-1<--b;){d=c[b];for(a=b;-1<--a;)d===c[a]&&c.splice(b,1)}}else{c=E(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var U=d("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);b=U.prototype;U.version=12;U.API=
+a)};q.getTweensOf=function(a){if(null!=a){var b,c,d;if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){b=a.length;for(c=[];-1<--b;)c=c.concat(q.getTweensOf(a[b]));for(b=c.length;-1<--b;){d=c[b];for(a=b;-1<--a;)d===c[a]&&c.splice(b,1)}}else{c=E(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var V=d("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);b=V.prototype;V.version=12;V.API=
2;b._firstPT=null;b._addTween=function(a,b,c,d,f,g){var h;if(null!=d&&(h="number"===typeof d||"="!==d.charAt(1)?Number(d)-c:parseInt(d.charAt(0)+"1")*Number(d.substr(2))))this._firstPT=a={_next:this._firstPT,t:a,p:b,s:c,c:h,f:"function"===typeof a[b],n:f||b,r:g},a._next&&(a._next._prev=a)};b.setRatio=function(a){for(var b=this._firstPT,c;b;){c=b.c*a+b.s;b.r&&(c=c+(0<c?0.5:-0.5)>>0);if(b.f)b.t[b.p](c);else b.t[b.p]=c;b=b._next}};b._kill=function(a){if(null!=a[this._propName])this._overwriteProps=[];
else for(var b=this._overwriteProps.length;-1<--b;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(b=this._firstPT;b;)null!=a[b.n]&&(b._next&&(b._next._prev=b._prev),b._prev?(b._prev._next=b._next,b._prev=null):this._firstPT===b&&(this._firstPT=b._next)),b=b._next;return!1};b._roundProps=function(a,b){for(var c=this._firstPT;c;){if(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])c.r=b;c=c._next}};q._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===
-a){for(var f,g,h,j;c;){j=c._next;for(f=g;f&&f.pr>c.pr;)f=f._next;(c._prev=f?f._prev:h)?c._prev._next=c:g=c;(c._next=f)?f._prev=c:h=c;c=j}c=b._firstPT=g}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};U.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===U.API&&(q._plugins[(new a[b])._propName]=a[b]);return!0};if(p=s._gsQueue){for(k=0;k<p.length;k++)p[k]();for(b in a)a[b].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+b)}})(window);
\ No newline at end of file
+a){for(var f,g,h,j;c;){j=c._next;for(f=g;f&&f.pr>c.pr;)f=f._next;(c._prev=f?f._prev:h)?c._prev._next=c:g=c;(c._next=f)?f._prev=c:h=c;c=j}c=b._firstPT=g}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};V.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===V.API&&(q._plugins[(new a[b])._propName]=a[b]);return!0};if(n=l._gsQueue){for(k=0;k<n.length;k++)n[k]();for(b in a)a[b].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+b)}})(window);
\ No newline at end of file
diff --git a/src/minified/plugins/BezierPlugin.min.js b/src/minified/plugins/BezierPlugin.min.js
index d651c8e..ee1f98f 100755
--- a/src/minified/plugins/BezierPlugin.min.js
+++ b/src/minified/plugins/BezierPlugin.min.js
@@ -1,5 +1,5 @@
/*!
- * VERSION: beta 1.14
+ * VERSION: beta 1.15
* DATE: 2012-12-14
* JavaScript (also available in AS3 and AS2)
* UPDATES AND DOCS AT: http://www.greensock.com
@@ -10,18 +10,18 @@
*
* @author: Jack Doyle, [email protected]
*/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(F){var z=function(){F.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},E=z.prototype=new F("bezier",1),I=180/Math.PI,J=Math.PI/180,A=[],B=[],C=[],G={},D=function(a,e,g,n){this.a=a;this.b=e;this.c=g;this.d=n;this.da=n-a;this.ca=g-a;this.ba=e-a},K=z.bezierThrough=function(a,e,g,n,j,b){var c={},f=[],d,k,q;j="string"===typeof j?","+j+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";
-null==e&&(e=1);for(k in a[0])f.push(k);A.length=B.length=C.length=0;for(d=f.length;-1<--d;){k=f[d];G[k]=-1!==j.indexOf(","+k+",");q=c;var s=k,p;p=a;var m=k,w=G[k],l=b,t=[],r=void 0,h=void 0,v=void 0,u=void 0,x=void 0,r=void 0;if(l){p=[l].concat(p);for(h=p.length;-1<--h;)if("string"===typeof(r=p[h][m]))"="===r.charAt(1)&&(p[h][m]=l[m]+Number(r.charAt(0)+r.substr(2)))}r=p.length-2;if(0>r)t[0]=new D(p[0][m],0,0,p[-1>r?0:1][m]);else{for(h=0;h<r;h++)v=p[h][m],u=p[h+1][m],t[h]=new D(v,0,0,u),w&&(x=p[h+
-2][m],A[h]=(A[h]||0)+(u-v)*(u-v),B[h]=(B[h]||0)+(x-u)*(x-u));t[h]=new D(p[h][m],0,0,p[h+1][m])}p=t;q[s]=p}for(d=A.length;-1<--d;)A[d]=Math.sqrt(A[d]),B[d]=Math.sqrt(B[d]);if(!n){for(d=f.length;-1<--d;)if(G[k]){a=c[f[d]];q=a.length-1;for(j=0;j<q;j++)b=a[j+1].da/B[j]+a[j].da/A[j],C[j]=(C[j]||0)+b*b}for(d=C.length;-1<--d;)C[d]=Math.sqrt(C[d])}for(d=f.length;-1<--d;){k=f[d];a=c[k];j=e;b=g;q=n;k=G[k];s=a.length-1;p=0;for(var m=a[0].a,y=x=u=l=r=u=v=r=h=v=t=l=w=void 0,w=0;w<s;w++)h=a[p],l=h.a,t=h.d,v=a[p+
-1].d,k?(u=A[w],x=B[w],y=0.25*(x+u)*j/(q?0.5:C[w]||0.5),r=t-(t-l)*(q?0.5*j:y/u),v=t+(v-t)*(q?0.5*j:y/x),u=t-(r+(v-r)*(3*u/(u+x)+0.5)/4)):(r=t-0.5*(t-l)*j,v=t+0.5*(v-t)*j,u=t-(r+v)/2),r+=u,v+=u,h.c=r,h.b=0!==w?m:m=h.a+0.6*(h.c-h.a),h.da=t-l,h.ca=r-l,h.ba=m-l,b?(l=H(l,m,r,t),a.splice(p,1,l[0],l[1],l[2],l[3]),p+=4):p++,m=v;h=a[p];h.b=m;h.c=m+0.4*(h.d-m);h.da=h.d-h.a;h.ca=h.c-h.a;h.ba=m-h.a;b&&(l=H(h.a,m,h.c,h.d),a.splice(p,1,l[0],l[1],l[2],l[3]))}return c},H=z.cubicToQuadratic=function(a,e,g,n){var j=
-{a:a},b={},c={},f={c:n},d=(a+e)/2,k=(e+g)/2;g=(g+n)/2;e=(d+k)/2;var k=(k+g)/2,q=(k-e)/8;j.b=d+(a-d)/4;b.b=e+q;j.c=b.a=(j.b+b.b)/2;b.c=c.a=(e+k)/2;c.b=k-q;f.b=g+(n-g)/4;c.c=f.a=(c.b+f.b)/2;return[j,b,c,f]};z.quadraticToCubic=function(a,e,g){return new D(a,(2*e+a)/3,(2*e+g)/3,g)};E.constructor=z;z.API=2;z._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,e=a._parseToProxy,g=a._setPluginRatio,n=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,
-b,c,f,d,k){b instanceof Array&&(b={values:b});k=new z;var q=b.values,s=q.length-1,p=[];c={};var m,w,l;if(0>s)return d;for(m=0;m<=s;m++)l=e(a,q[m],f,d,k,s!==m),p[m]=l.end;for(w in b)c[w]=b[w];c.values=p;d=new n(a,"bezier",0,0,l.pt,2);d.data=l;d.plugin=k;d.setRatio=g;0===c.autoRotate&&(c.autoRotate=!0);c.autoRotate&&!(c.autoRotate instanceof Array)&&(m=!0===c.autoRotate?0:Number(c.autoRotate)*J,c.autoRotate=null!=l.end.left?[["left","top","rotation",m,!0]]:null!=l.end.x?[["x","y","rotation",m,!0]]:
-!1);c.autoRotate&&(f._transform||(a=f._enableTransforms(!1,d,k),a._next=d._next,a._prev=d,d._next=a,d._prev=null),l.autoRotate=f._target._gsTransform);k._onInitTween(l.proxy,c,f._tween);return d})}};E._onInitTween=function(a,e,g){this._target=a;e instanceof Array&&(e={values:e});this._props=[];this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution);var n=e.values||[],j={},b=n[0];g=e.autoRotate||g.vars.orientToBezier;var c,f,d;this._autoRotate=g?g instanceof Array?g:[["x","y","rotation",
-!0===g?0:Number(g)||0]]:null;for(c in b)this._props.push(c);for(b=this._props.length;-1<--b;)c=this._props[b],this._overwriteProps.push(c),g=this._func[c]="function"===typeof a[c],j[c]=!g?parseFloat(a[c]):a[c.indexOf("set")||"function"!==typeof a["get"+c.substr(3)]?c:"get"+c.substr(3)](),d||j[c]!==n[0][c]&&(d=j);if("cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type)j=K(n,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,d);else{g=(g=e.type)||"soft";e={};d="cubic"===g?3:2;g=
-"soft"===g;var b=[],k,q,s,p,m,w,l,t,r;g&&j&&(n=[j].concat(n));if(null==n||n.length<d+1)throw"invalid Bezier data";for(q in n[0])b.push(q);for(w=b.length;-1<--w;){q=b[w];e[q]=m=[];r=0;t=n.length;for(l=0;l<t;l++)k=null==j?n[l][q]:"string"===typeof(s=n[l][q])&&"="===s.charAt(1)?j[q]+Number(s.charAt(0)+s.substr(2)):Number(s),g&&1<l&&l<t-1&&(m[r++]=(k+m[r-2])/2),m[r++]=k;t=r-d+1;for(l=r=0;l<t;l+=d)k=m[l],q=m[l+1],s=m[l+2],p=2===d?0:m[l+3],m[r++]=s=3===d?new D(k,q,s,p):new D(k,(2*q+k)/3,(2*q+s)/3,s);m.length=
-r}j=e}this._beziers=j;this._segCount=this._beziers[c].length;if(this._timeRes){b=this._beziers;c=this._timeRes;c=c>>0||6;j=[];q=[];n=s=0;e=c-1;d=[];g=[];for(f in b){k=b[f];m=j;w=c;l=1/w;t=k.length;for(var h=void 0,v=void 0,u=p=r=v=void 0,x=h=void 0,y=void 0,y=u=void 0;-1<--t;){u=k[t];v=u.a;r=u.d-v;p=u.c-v;u=u.b-v;v=0;for(x=1;x<=w;x++)h=l*x,y=1-h,h=v-(v=(h*h*r+3*y*(h*p+y*u))*h),y=t*w+x-1,m[y]=(m[y]||0)+h*h}}b=j.length;for(f=0;f<b;f++)s+=Math.sqrt(j[f]),k=f%c,g[k]=s,k===e&&(n+=s,k=f/c>>0,d[k]=g,q[k]=
-n,s=0,g=[]);this._length=n;this._lengths=q;this._segments=d;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(g=this._autoRotate){g[0]instanceof Array||(this._autoRotate=g=[g]);for(b=g.length;-1<--b;)for(f=0;3>f;f++)c=g[b][f],this._func[c]="function"===typeof a[c]?a[c.indexOf("set")||"function"!==typeof a["get"+c.substr(3)]?c:"get"+c.substr(3)]:!1}return!0};E.setRatio=function(a){var e=this._segCount,
-g=this._func,n=this._target,j,b,c,f,d;if(this._timeRes){j=this._lengths;f=this._curSeg;a*=this._length;b=this._li;if(a>this._l2&&b<e-1){for(e-=1;b<e&&(this._l2=j[++b])<=a;);this._l1=j[b-1];this._li=b;this._curSeg=f=this._segments[b];this._s2=f[this._s1=this._si=0]}else if(a<this._l1&&0<b){for(;0<b&&(this._l1=j[--b])>=a;);0===b&&a<this._l1?this._l1=0:b++;this._l2=j[b];this._li=b;this._curSeg=f=this._segments[b];this._s1=f[(this._si=f.length-1)-1]||0;this._s2=f[this._si]}j=b;a-=this._l1;b=this._si;
-if(a>this._s2&&b<f.length-1){for(e=f.length-1;b<e&&(this._s2=f[++b])<=a;);this._s1=f[b-1];this._si=b}else if(a<this._s1&&0<b){for(;0<b&&(this._s1=f[--b])>=a;);0===b&&a<this._s1?this._s1=0:b++;this._s2=f[b];this._si=b}f=(b+(a-this._s1)/(this._s2-this._s1))*this._prec}else j=0>a?0:1<=a?e-1:e*a>>0,f=(a-j*(1/e))*e;e=1-f;for(b=this._props.length;-1<--b;)if(a=this._props[b],c=this._beziers[a][j],d=(f*f*c.da+3*e*(f*c.ca+e*c.ba))*f+c.a,this._round[a]&&(d=d+(0<d?0.5:-0.5)>>0),g[a])n[a](d);else n[a]=d;if(this._autoRotate){var e=
-this._autoRotate,k,q,s,p,m;for(b=e.length;-1<--b;)a=e[b][2],p=e[b][3]||0,m=!0===e[b][4]?1:I,c=this._beziers[e[b][0]][j],d=this._beziers[e[b][1]][j],k=c.a+(c.b-c.a)*f,q=c.b+(c.c-c.b)*f,k+=(q-k)*f,q+=(c.c+(c.d-c.c)*f-q)*f,c=d.a+(d.b-d.a)*f,s=d.b+(d.c-d.b)*f,c+=(s-c)*f,s+=(d.c+(d.d-d.c)*f-s)*f,d=Math.atan2(s-c,q-k)*m+p,g[a]?g[a].call(n,d):n[a]=d}};E._roundProps=function(a,e){for(var g=this._overwriteProps,n=g.length;-1<--n;)if(a[g[n]]||a.bezier||a.bezierThrough)this._round[g[n]]=e};E._kill=function(a){var e=
-this._props,g,n;for(g in this._beziers)if(g in a){delete this._beziers[g];delete this._func[g];for(n=e.length;-1<--n;)e[n]===g&&e.splice(n,1)}return F.prototype._kill.call(this,a)};F.activate([z]);return z},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(F){var z=function(){F.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},E=z.prototype=new F("bezier",1),I=180/Math.PI,J=Math.PI/180,A=[],B=[],C=[],G={},D=function(a,c,g,p){this.a=a;this.b=c;this.c=g;this.d=p;this.da=p-a;this.ca=g-a;this.ba=c-a},K=z.bezierThrough=function(a,c,g,p,j,b){var d={},f=[],e,k,q;j="string"===typeof j?","+j+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";
+null==c&&(c=1);for(k in a[0])f.push(k);A.length=B.length=C.length=0;for(e=f.length;-1<--e;){k=f[e];G[k]=-1!==j.indexOf(","+k+",");q=d;var s=k,n;n=a;var m=k,w=G[k],l=b,t=[],r=void 0,h=void 0,v=void 0,u=void 0,x=void 0,r=void 0;if(l){n=[l].concat(n);for(h=n.length;-1<--h;)if("string"===typeof(r=n[h][m]))"="===r.charAt(1)&&(n[h][m]=l[m]+Number(r.charAt(0)+r.substr(2)))}r=n.length-2;if(0>r)t[0]=new D(n[0][m],0,0,n[-1>r?0:1][m]);else{for(h=0;h<r;h++)v=n[h][m],u=n[h+1][m],t[h]=new D(v,0,0,u),w&&(x=n[h+
+2][m],A[h]=(A[h]||0)+(u-v)*(u-v),B[h]=(B[h]||0)+(x-u)*(x-u));t[h]=new D(n[h][m],0,0,n[h+1][m])}n=t;q[s]=n}for(e=A.length;-1<--e;)A[e]=Math.sqrt(A[e]),B[e]=Math.sqrt(B[e]);if(!p){for(e=f.length;-1<--e;)if(G[k]){a=d[f[e]];q=a.length-1;for(j=0;j<q;j++)b=a[j+1].da/B[j]+a[j].da/A[j],C[j]=(C[j]||0)+b*b}for(e=C.length;-1<--e;)C[e]=Math.sqrt(C[e])}for(e=f.length;-1<--e;){k=f[e];a=d[k];j=c;b=g;q=p;k=G[k];s=a.length-1;n=0;for(var m=a[0].a,y=x=u=l=r=u=v=r=h=v=t=l=w=void 0,w=0;w<s;w++)h=a[n],l=h.a,t=h.d,v=a[n+
+1].d,k?(u=A[w],x=B[w],y=0.25*(x+u)*j/(q?0.5:C[w]||0.5),r=t-(t-l)*(q?0.5*j:y/u),v=t+(v-t)*(q?0.5*j:y/x),u=t-(r+(v-r)*(3*u/(u+x)+0.5)/4)):(r=t-0.5*(t-l)*j,v=t+0.5*(v-t)*j,u=t-(r+v)/2),r+=u,v+=u,h.c=r,h.b=0!==w?m:m=h.a+0.6*(h.c-h.a),h.da=t-l,h.ca=r-l,h.ba=m-l,b?(l=H(l,m,r,t),a.splice(n,1,l[0],l[1],l[2],l[3]),n+=4):n++,m=v;h=a[n];h.b=m;h.c=m+0.4*(h.d-m);h.da=h.d-h.a;h.ca=h.c-h.a;h.ba=m-h.a;b&&(l=H(h.a,m,h.c,h.d),a.splice(n,1,l[0],l[1],l[2],l[3]))}return d},H=z.cubicToQuadratic=function(a,c,g,p){var j=
+{a:a},b={},d={},f={c:p},e=(a+c)/2,k=(c+g)/2;g=(g+p)/2;c=(e+k)/2;var k=(k+g)/2,q=(k-c)/8;j.b=e+(a-e)/4;b.b=c+q;j.c=b.a=(j.b+b.b)/2;b.c=d.a=(c+k)/2;d.b=k-q;f.b=g+(p-g)/4;d.c=f.a=(d.b+f.b)/2;return[j,b,d,f]};z.quadraticToCubic=function(a,c,g){return new D(a,(2*c+a)/3,(2*c+g)/3,g)};E.constructor=z;z.API=2;z._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,c=a._parseToProxy,g=a._setPluginRatio,p=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,
+b,d,f,e,k){b instanceof Array&&(b={values:b});k=new z;d=b.values;var q=d.length-1,s=[],n={},m,w,l;if(0>q)return e;for(m=0;m<=q;m++)l=c(a,d[m],f,e,k,q!==m),s[m]=l.end;for(w in b)n[w]=b[w];n.values=s;e=new p(a,"bezier",0,0,l.pt,2);e.data=l;e.plugin=k;e.setRatio=g;0===n.autoRotate&&(n.autoRotate=!0);n.autoRotate&&!(n.autoRotate instanceof Array)&&(m=!0===n.autoRotate?0:Number(n.autoRotate)*J,n.autoRotate=null!=l.end.left?[["left","top","rotation",m,!0]]:null!=l.end.x?[["x","y","rotation",m,!0]]:!1);
+n.autoRotate&&(f._transform||f._enableTransforms(!1),l.autoRotate=f._target._gsTransform);k._onInitTween(l.proxy,n,f._tween);return e})}};E._onInitTween=function(a,c,g){this._target=a;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution);var p=c.values||[],j={},b=p[0];g=c.autoRotate||g.vars.orientToBezier;var d,f,e;this._autoRotate=g?g instanceof Array?g:[["x","y","rotation",!0===g?0:Number(g)||0]]:null;for(d in b)this._props.push(d);for(b=
+this._props.length;-1<--b;)d=this._props[b],this._overwriteProps.push(d),g=this._func[d]="function"===typeof a[d],j[d]=!g?parseFloat(a[d]):a[d.indexOf("set")||"function"!==typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)](),e||j[d]!==p[0][d]&&(e=j);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)j=K(p,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,e);else{g=(g=c.type)||"soft";c={};e="cubic"===g?3:2;g="soft"===g;var b=[],k,q,s,n,m,w,l,t,r;g&&j&&(p=[j].concat(p));if(null==
+p||p.length<e+1)throw"invalid Bezier data";for(q in p[0])b.push(q);for(w=b.length;-1<--w;){q=b[w];c[q]=m=[];r=0;t=p.length;for(l=0;l<t;l++)k=null==j?p[l][q]:"string"===typeof(s=p[l][q])&&"="===s.charAt(1)?j[q]+Number(s.charAt(0)+s.substr(2)):Number(s),g&&1<l&&l<t-1&&(m[r++]=(k+m[r-2])/2),m[r++]=k;t=r-e+1;for(l=r=0;l<t;l+=e)k=m[l],q=m[l+1],s=m[l+2],n=2===e?0:m[l+3],m[r++]=s=3===e?new D(k,q,s,n):new D(k,(2*q+k)/3,(2*q+s)/3,s);m.length=r}j=c}this._beziers=j;this._segCount=this._beziers[d].length;if(this._timeRes){b=
+this._beziers;d=this._timeRes;d=d>>0||6;j=[];q=[];p=s=0;c=d-1;e=[];g=[];for(f in b){k=b[f];m=j;w=d;l=1/w;t=k.length;for(var h=void 0,v=void 0,u=n=r=v=void 0,x=h=void 0,y=void 0,y=u=void 0;-1<--t;){u=k[t];v=u.a;r=u.d-v;n=u.c-v;u=u.b-v;v=0;for(x=1;x<=w;x++)h=l*x,y=1-h,h=v-(v=(h*h*r+3*y*(h*n+y*u))*h),y=t*w+x-1,m[y]=(m[y]||0)+h*h}}b=j.length;for(f=0;f<b;f++)s+=Math.sqrt(j[f]),k=f%d,g[k]=s,k===c&&(p+=s,k=f/d>>0,e[k]=g,q[k]=p,s=0,g=[]);this._length=p;this._lengths=q;this._segments=e;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(g=this._autoRotate){g[0]instanceof Array||(this._autoRotate=g=[g]);for(b=g.length;-1<--b;)for(f=0;3>f;f++)d=g[b][f],this._func[d]="function"===typeof a[d]?a[d.indexOf("set")||"function"!==typeof a["get"+d.substr(3)]?d:"get"+d.substr(3)]:!1}return!0};E.setRatio=function(a){var c=this._segCount,g=this._func,p=this._target,j,b,d,f,e;if(this._timeRes){j=this._lengths;f=this._curSeg;
+a*=this._length;b=this._li;if(a>this._l2&&b<c-1){for(c-=1;b<c&&(this._l2=j[++b])<=a;);this._l1=j[b-1];this._li=b;this._curSeg=f=this._segments[b];this._s2=f[this._s1=this._si=0]}else if(a<this._l1&&0<b){for(;0<b&&(this._l1=j[--b])>=a;);0===b&&a<this._l1?this._l1=0:b++;this._l2=j[b];this._li=b;this._curSeg=f=this._segments[b];this._s1=f[(this._si=f.length-1)-1]||0;this._s2=f[this._si]}j=b;a-=this._l1;b=this._si;if(a>this._s2&&b<f.length-1){for(c=f.length-1;b<c&&(this._s2=f[++b])<=a;);this._s1=f[b-
+1];this._si=b}else if(a<this._s1&&0<b){for(;0<b&&(this._s1=f[--b])>=a;);0===b&&a<this._s1?this._s1=0:b++;this._s2=f[b];this._si=b}f=(b+(a-this._s1)/(this._s2-this._s1))*this._prec}else j=0>a?0:1<=a?c-1:c*a>>0,f=(a-j*(1/c))*c;c=1-f;for(b=this._props.length;-1<--b;)if(a=this._props[b],d=this._beziers[a][j],e=(f*f*d.da+3*c*(f*d.ca+c*d.ba))*f+d.a,this._round[a]&&(e=e+(0<e?0.5:-0.5)>>0),g[a])p[a](e);else p[a]=e;if(this._autoRotate){var c=this._autoRotate,k,q,s,n,m;for(b=c.length;-1<--b;)a=c[b][2],n=c[b][3]||
+0,m=!0===c[b][4]?1:I,d=this._beziers[c[b][0]][j],e=this._beziers[c[b][1]][j],k=d.a+(d.b-d.a)*f,q=d.b+(d.c-d.b)*f,k+=(q-k)*f,q+=(d.c+(d.d-d.c)*f-q)*f,d=e.a+(e.b-e.a)*f,s=e.b+(e.c-e.b)*f,d+=(s-d)*f,s+=(e.c+(e.d-e.c)*f-s)*f,e=Math.atan2(s-d,q-k)*m+n,g[a]?g[a].call(p,e):p[a]=e}};E._roundProps=function(a,c){for(var g=this._overwriteProps,p=g.length;-1<--p;)if(a[g[p]]||a.bezier||a.bezierThrough)this._round[g[p]]=c};E._kill=function(a){var c=this._props,g,p;for(g in this._beziers)if(g in a){delete this._beziers[g];
+delete this._func[g];for(p=c.length;-1<--p;)c[p]===g&&c.splice(p,1)}return F.prototype._kill.call(this,a)};F.activate([z]);return z},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
diff --git a/src/minified/plugins/CSSPlugin.min.js b/src/minified/plugins/CSSPlugin.min.js
index c771d73..fbf4a96 100755
--- a/src/minified/plugins/CSSPlugin.min.js
+++ b/src/minified/plugins/CSSPlugin.min.js
@@ -1,5 +1,5 @@
/*!
- * VERSION: beta 1.66
+ * VERSION: beta 1.661
* DATE: 2012-12-14
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
@@ -10,55 +10,55 @@
*
* @author: Jack Doyle, [email protected]
*/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(U){var z=function(){U.call(this,"css");this._overwriteProps.length=0},$,aa,A,ba,J={},m=z.prototype=new U("css");m.constructor=z;z.version=1.66;z.API=2;z.defaultTransformPerspective=0;m="px";z.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var ca=/(?:\d|\-\d|\.\d|\-\.\d)+/g,na=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
-da=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,V=/[^\d\-\.]/g,Ga=/(?:\d|\-|\+|=|#|\.)*/g,ea=/opacity *= *([^)]*)/,Ha=/opacity:([^;]*)/,oa=/([A-Z])/g,pa=/-([a-z])/gi,Ia=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,qa=function(a,b){return b.toUpperCase()},Ja=/(?:Left|Right|Width)/i,Ka=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,La=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,K=Math.PI/180,P=180/Math.PI,W={},L=document,Q=L.createElement("div"),fa=L.createElement("img"),M=z._internals={_specialProps:J},
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(U){var z=function(){U.call(this,"css");this._overwriteProps.length=0},$,aa,A,ba,K={},m=z.prototype=new U("css");m.constructor=z;z.version=1.661;z.API=2;z.defaultTransformPerspective=0;m="px";z.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var ca=/(?:\d|\-\d|\.\d|\-\.\d)+/g,na=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
+da=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,V=/[^\d\-\.]/g,Fa=/(?:\d|\-|\+|=|#|\.)*/g,ea=/opacity *= *([^)]*)/,Ga=/opacity:([^;]*)/,oa=/([A-Z])/g,pa=/-([a-z])/gi,Ha=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,qa=function(a,b){return b.toUpperCase()},Ia=/(?:Left|Right|Width)/i,Ja=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Ka=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,G=Math.PI/180,Q=180/Math.PI,W={},L=document,R=L.createElement("div"),fa=L.createElement("img"),M=z._internals={_specialProps:K},
D=navigator.userAgent,ga,ra,sa,ta,ua,ha,N,va=D.indexOf("Android"),wa=L.createElement("div");ua=(sa=-1!==D.indexOf("Safari")&&-1===D.indexOf("Chrome")&&(-1===va||3<Number(D.substr(va+8,1))))&&6>Number(D.substr(D.indexOf("Version/")+8,1));ta=-1!==D.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(D);ha=parseFloat(RegExp.$1);wa.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";N=(D=wa.getElementsByTagName("a")[0])?/^0.55/.test(D.style.opacity):!1;var xa=function(a){return ea.test("string"===typeof a?
-a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ya="",ia="",R=function(a,b){b=b||Q;var d=b.style,c,f;if(void 0!==d[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===d[c[f]+a];);return 0<=f?(ia=3===f?"ms":c[f],ya="-"+ia.toLowerCase()+"-",ia+a):null},S=L.defaultView?L.defaultView.getComputedStyle:function(){},w=z.getStyle=function(a,b,d,c,f){var h;if(!N&&"opacity"===b)return xa(a);!c&&a.style[b]?h=
-a.style[b]:(d=d||S(a,null))?h=(a=d.getPropertyValue(b.replace(oa,"-$1").toLowerCase()))||d.length?a:d[b]:a.currentStyle&&(d=a.currentStyle,h=d[b]);return null!=f&&(!h||"none"===h||"auto"===h||"auto auto"===h)?f:h},Y=function(a,b,d){var c={},f=a._gsOverwrittenClassNamePT,h;if(f&&!d){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||S(a,null))if(h=b.length)for(;-1<--h;)c[b[h].replace(pa,qa)]=b.getPropertyValue(b[h]);else for(h in b)c[h]=b[h];else if(b=a.currentStyle||a.style)for(h in b)c[h.replace(pa,
-qa)]=b[h];N||(c.opacity=xa(a));a=X(a,b,!1);c.rotation=a.rotation*P;c.rotationX=a.rotationX*P;c.rotationY=a.rotationY*P;c.skewX=a.skewX*P;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.scaleZ=a.scaleZ;c.x=a.x;c.y=a.y;c.z=a.z;c.filters&&delete c.filters;return c},za=function(a,b,d,c){var f={};a=a.style;var h,e,j;for(e in d)if("cssText"!==e&&"length"!==e&&isNaN(e)&&b[e]!==(h=d[e]))if(-1===e.indexOf("Origin")&&("number"===typeof h||"string"===typeof h))f[e]=(""===h||"auto"===h||"none"===h)&&"string"===typeof b[e]&&
-""!==b[e].replace(V,"")?0:h,void 0!==a[e]&&(j=new ja(a,e,a[e],j));if(c)for(e in c)"className"!==e&&(f[e]=c[e]);return{difs:f,firstMPT:j}},Ma={width:["Left","Right"],height:["Top","Bottom"]},Na=["marginLeft","marginRight","marginTop","marginBottom"],F=function(a,b,d,c,f){if("px"===c||!c)return d;if("auto"===c||!d)return 0;var h=Ja.test(b),e=a,j=Q.style,k=0>d;k&&(d=-d);"%"===c&&-1!==b.indexOf("border")?h=d/100*(h?a.clientWidth:a.clientHeight):(j.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",
-"%"===c||"em"===c||!e.appendChild?(e=a.parentNode||L.body,j[h?"width":"height"]=d+c):j[h?"borderLeftWidth":"borderTopWidth"]=d+c,e.appendChild(Q),h=parseFloat(Q[h?"offsetWidth":"offsetHeight"]),e.removeChild(Q),0===h&&!f&&(h=F(a,b,d,c,!0)));return k?-h:h},ka=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var d=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];null==f?f="0":"center"===
+a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ya="",ia="",S=function(a,b){b=b||R;var d=b.style,c,f;if(void 0!==d[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===d[c[f]+a];);return 0<=f?(ia=3===f?"ms":c[f],ya="-"+ia.toLowerCase()+"-",ia+a):null},T=L.defaultView?L.defaultView.getComputedStyle:function(){},w=z.getStyle=function(a,b,d,c,f){var j;if(!N&&"opacity"===b)return xa(a);!c&&a.style[b]?j=
+a.style[b]:(d=d||T(a,null))?j=(a=d.getPropertyValue(b.replace(oa,"-$1").toLowerCase()))||d.length?a:d[b]:a.currentStyle&&(d=a.currentStyle,j=d[b]);return null!=f&&(!j||"none"===j||"auto"===j||"auto auto"===j)?f:j},Y=function(a,b,d){var c={},f=a._gsOverwrittenClassNamePT,j;if(f&&!d){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||T(a,null))if(j=b.length)for(;-1<--j;)c[b[j].replace(pa,qa)]=b.getPropertyValue(b[j]);else for(j in b)c[j]=b[j];else if(b=a.currentStyle||a.style)for(j in b)c[j.replace(pa,
+qa)]=b[j];N||(c.opacity=xa(a));a=X(a,b,!1);c.rotation=a.rotation*Q;c.rotationX=a.rotationX*Q;c.rotationY=a.rotationY*Q;c.skewX=a.skewX*Q;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.scaleZ=a.scaleZ;c.x=a.x;c.y=a.y;c.z=a.z;c.filters&&delete c.filters;return c},za=function(a,b,d,c){var f={};a=a.style;var j,e,h;for(e in d)if("cssText"!==e&&"length"!==e&&isNaN(e)&&b[e]!==(j=d[e]))if(-1===e.indexOf("Origin")&&("number"===typeof j||"string"===typeof j))f[e]=(""===j||"auto"===j||"none"===j)&&"string"===typeof b[e]&&
+""!==b[e].replace(V,"")?0:j,void 0!==a[e]&&(h=new ja(a,e,a[e],h));if(c)for(e in c)"className"!==e&&(f[e]=c[e]);return{difs:f,firstMPT:h}},La={width:["Left","Right"],height:["Top","Bottom"]},Ma=["marginLeft","marginRight","marginTop","marginBottom"],F=function(a,b,d,c,f){if("px"===c||!c)return d;if("auto"===c||!d)return 0;var j=Ia.test(b),e=a,h=R.style,k=0>d;k&&(d=-d);"%"===c&&-1!==b.indexOf("border")?j=d/100*(j?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",
+"%"===c||"em"===c||!e.appendChild?(e=a.parentNode||L.body,h[j?"width":"height"]=d+c):h[j?"borderLeftWidth":"borderTopWidth"]=d+c,e.appendChild(R),j=parseFloat(R[j?"offsetWidth":"offsetHeight"]),e.removeChild(R),0===j&&!f&&(j=F(a,b,d,c,!0)));return k?-j:j},ka=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var d=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];null==f?f="0":"center"===
f&&(f="50%");if("center"===c||isNaN(parseFloat(c)))c="50%";b&&(b.oxp=-1!==c.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===c.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(c.replace(V,"")),b.oy=parseFloat(f.replace(V,"")));return c+" "+f+(2<d.length?" "+d[2]:"")},Aa=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},H=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+
-"1")*Number(a.substr(2))+b:Number(a)},T=function(a,b){if(null==a)return b;var d=-1===a.indexOf("rad")?K:1,c="="===a.charAt(1);a=Number(a.replace(V,""))*d;return c?a+b:a},la=function(a,b){var d=(("number"===typeof a?a*K:T(a,b))-b)%(2*Math.PI);d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2));return b+d},O={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]},ma=function(a){if(!a||""===a)return O.black;if(O[a])return O[a];if("number"===typeof a)return[a>>16,a>>8&255,a&255];if("#"===a.charAt(0)){if(4===a.length){var b=a.charAt(1),d=a.charAt(2);a=a.charAt(3);a="#"+b+b+d+d+a+a}a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]}a=a.match(ca)||O.transparent;a[0]=Number(a[0]);a[1]=Number(a[1]);a[2]=Number(a[2]);
-3<a.length&&(a[3]=Number(a[3]));return a},I="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(m in O)I+="|"+m+"\\b";var I=RegExp(I+")","gi"),Ba=function(a,b,d){if(null==a)return function(a){return a};var c=b?(a.match(I)||[""])[0]:"",f=a.split(c).join("").match(da)||[],h=a.substr(0,a.indexOf(f[0])),e=")"===a.charAt(a.length-1)?")":"",j=-1!==a.indexOf(" ")?" ":",",k=f.length,g=0<k?f[0].replace(ca,""):"";return b?function(a){"number"===typeof a&&(a+=g);var b=(a.match(I)||[c])[0];a=a.split(b).join("").match(da)||
-[];var q=a.length;if(k>q--)for(;++q<k;)a[q]=d?a[(q-1)/2>>0]:f[q];return h+a.join(j)+j+b+e}:function(a){"number"===typeof a&&(a+=g);a=a.match(da)||[];var b=a.length;if(k>b--)for(;++b<k;)a[b]=d?a[(b-1)/2>>0]:f[b];return h+a.join(j)+e}},D=function(a){a=a.split(",");return function(b,d,c,f,h,e,j){d=(d+"").split(" ");j={};for(c=0;4>c;c++)j[a[c]]=d[c]=d[c]||d[(c-1)/2>>0];return f.parse(b,j,h,e)}};M._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,d=b.proxy,c=b.firstMPT,f;c;)f=d[c.v],
-c.r?f=0<f?f+0.5>>0:f-0.5>>0:1E-6>f&&-1E-6<f&&(f=0),c.t[c.p]=f,c=c._next;b.autoRotate&&(b.autoRotate.rotation=d.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){d=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)d+=a["xn"+b]+a["xs"+(b+1)];a.e=d}}else a.e=a.s+a.xs0;c=c._next}};var ja=function(a,b,d,c,f){this.t=a;this.p=b;this.v=d;this.r=f;c&&(c._prev=this,this._next=c)};M._parseToProxy=function(a,b,d,c,f,h){var e=c,j={},k={},g=d._transform,l=W,p;d._transform=null;W=b;c=a=d.parse(a,b,c,f);W=
-l;h&&(d._transform=g,e&&(e._prev=null,e._prev&&(e._prev._next=null)));for(;c&&c!==e;){if(1>=c.type&&(g=c.p,k[g]=c.s+c.c,j[g]=c.s,h||(p=new ja(c,"s",g,p,c.r),c.c=0),1===c.type))for(d=c.l;0<--d;)l="xn"+d,g=c.p+"_"+l,k[g]=c.data[l],j[g]=c[l],h||(p=new ja(c,l,g,p,c.rxp[l]));c=c._next}return{proxy:j,end:k,firstMPT:p,pt:a}};var s=M.CSSPropTween=function(a,b,d,c,f,h,e,j,k,g,l){this.t=a;this.p=b;this.s=d;this.c=c;this.n=e||"css_"+b;a instanceof s||ba.push(this.n);this.r=j;this.type=h||0;k&&(this.pr=k,$=!0);
-this.b=void 0===g?d:g;this.e=void 0===l?d+c:l;f&&(this._next=f,f._prev=this)},Z=z.parseComplex=function(a,b,d,c,f,h,e,j,k,g){e=new s(a,b,0,0,e,g?2:1,null,!1,j,d,c);a=d.split(", ").join(",").split(" ");b=(c+"").split(", ").join(",").split(" ");d=a.length;j=!1!==ga;var l,p,q,m,u;d!==b.length&&(a=(h||"").split(" "),d=a.length);e.plugin=k;e.setRatio=g;for(h=0;h<d;h++)if(k=a[h],l=b[h],(g=parseFloat(k))||0===g)e.appendXtra("",g,Aa(l,g),l.replace(na,""),j&&-1!==l.indexOf("px"),!0);else if(f&&("#"===k.charAt(0)||
-0===k.indexOf("rgb")||O[k]))k=ma(k),l=ma(l),(g=6<k.length+l.length)&&!N&&0===l[3]?(e["xs"+e.l]+=e.l?" transparent":"transparent",e.e=e.e.split(b[h]).join("transparent")):(e.appendXtra(g?"rgba(":"rgb(",k[0],l[0]-k[0],",",!0,!0).appendXtra("",k[1],l[1]-k[1],",",!0).appendXtra("",k[2],l[2]-k[2],g?",":")",!0),g&&(k=4>k.length?1:k[3],e.appendXtra("",k,(4>l.length?1:l[3])-k,")",!1)));else if(g=k.match(ca)){q=l.match(na);if(!q||q.length!==g.length)return e;for(l=p=0;l<g.length;l++)u=g[l],m=k.indexOf(u,p),
-e.appendXtra(k.substr(p,m-p),Number(u),Aa(q[l],u),"",j&&"px"===k.substr(m+u.length,2),0===l),p=m+u.length;e["xs"+e.l]+=k.substr(p)}else e["xs"+e.l]+=e.l?" "+k:k;if(-1!==c.indexOf("=")&&e.data){c=e.xs0+e.data.s;for(h=1;h<e.l;h++)c+=e["xs"+h]+e.data["xn"+h];e.e=c+e["xs"+h]}e.l||(e.type=-1,e.xs0=e.e);return e.xfirst||e},C=9,m=s.prototype;for(m.l=m.pr=0;0<--C;)m["xn"+C]=0,m["xs"+C]="";m.xs0="";m._next=m._prev=m.xfirst=m.data=m.plugin=m.setRatio=m.rxp=null;m.appendXtra=function(a,b,d,c,f,h){var e=this.l;
-this["xs"+e]+=h&&e?" "+a:a||"";if(!d&&0!==e&&!this.plugin)return this["xs"+e]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<e)return this.data["xn"+e]=b+d,this.rxp["xn"+e]=f,this["xn"+e]=b,this.plugin||(this.xfirst=new s(this,"xn"+e,b,d,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+d};this.rxp={};this.s=b;this.c=d;this.r=f;return this};var Ca=function(a,b,d,c,f,h,e){this.p=c?R(a)||a:a;J[a]=J[this.p]=this;this.format=h||Ba(b,f);d&&
-(this.parse=d);this.clrs=f;this.dflt=b;this.pr=e||0},n=M._registerComplexSpecialProp=function(a,b,d,c,f,h,e){a=a.split(",");b=b instanceof Array?b:[b];for(var j=a.length;-1<--j;)new Ca(a[j],b[j],d,c&&0===j,f,h,e)},M=function(a){if(!J[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";n(a,null,function(a,c,f,h,e,j,k){var g=window.com.greensock.plugins[b];if(!g)return window.console&&console.log("Error: "+b+" js file not loaded."),e;g._cssRegister();return J[f].parse(a,c,f,h,e,j,k)})}},m=Ca.prototype;
-m.parseComplex=function(a,b,d,c,f,h){return Z(a,this.p,b,d,this.clrs,this.dflt,c,this.pr,f,h)};m.parse=function(a,b,d,c,f,h){return this.parseComplex(a.style,this.format(w(a,d,A,!1,this.dflt)),this.format(b),f,h)};z.registerSpecialProp=function(a,b,d){n(a,null,function(a,f,h,e,j,k){j=new s(a,h,0,0,j,2,h,!1,d);j.plugin=k;j.setRatio=b(a,f,e._tween,h);return j},!1,!1,null,d)};var Da="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),E=R("transform"),Oa=ya+"transform",
-Ea=R("transformOrigin"),G=null!==R("perspective"),X=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,h=G?parseFloat(w(a,Ea,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,j,k,g,l,p,q,m;E?e=w(a,Oa,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(Ka))&&4===e.length?e[0].substr(4)+","+Number(e[2].substr(4))+","+Number(e[1].substr(4))+","+e[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);j=(e||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=j.length;-1<--b;)j[b]=Number(j[b]);
-if(16===j.length){if(f=j[8],e=j[9],k=j[10],g=j[12],l=j[13],p=j[14],c.zOrigin&&(p=-c.zOrigin,g=f*p-j[12],l=e*p-j[13],p=k*p+c.zOrigin-j[14]),!d||g!==c.x||l!==c.y||p!==c.z){q=j[0];m=j[1];var u=j[2],Pa=j[3],v=j[4],B=j[5],r=j[6],A=j[7];j=j[11];var t=c.rotationX=Math.atan2(r,k),n,s,x,y;t&&(x=Math.cos(-t),y=Math.sin(-t),t=v*x+f*y,n=B*x+e*y,s=r*x+k*y,f=v*-y+f*x,e=B*-y+e*x,k=r*-y+k*x,j=A*-y+j*x,v=t,B=n,r=s);if(t=c.rotationY=Math.atan2(f,q))x=Math.cos(-t),y=Math.sin(-t),n=m*x-e*y,s=u*x-k*y,e=m*y+e*x,k=u*y+
-k*x,j=Pa*y+j*x,q=q*x-f*y,m=n,u=s;if(t=c.rotation=Math.atan2(m,B))x=Math.cos(-t),y=Math.sin(-t),q=q*x+v*y,n=m*x+B*y,B=m*-y+B*x,r=u*-y+r*x,m=n;Math.abs(c.rotationY)>Math.PI/2&&(c.rotationY*=-1,c.rotationX+=Math.PI,c.rotation=Math.PI-c.rotation);c.scaleX=Math.sqrt(q*q+m*m);c.scaleY=Math.sqrt(B*B+e*e);c.scaleZ=Math.sqrt(r*r+k*k);c.skewX=0;c.perspective=j?1/j:0;c.x=g;c.y=l;c.z=p}}else if(!G||0===j.length||c.x!==j[4]||c.y!==j[5]||!c.rotationX&&!c.rotationY){g=(e=6<=j.length)?j[0]:1;p=j[1]||0;l=j[2]||0;
-q=e?j[3]:1;c.x=j[4]||0;c.y=j[5]||0;e=Math.sqrt(g*g+p*p);k=Math.sqrt(q*q+l*l);g=g||p?Math.atan2(p,g):c.rotation||0;l=l||q?Math.atan2(l,q)+g:c.skewX||0;p=e-Math.abs(c.scaleX||0);q=k-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(e*=-1,l+=0>=g?Math.PI:-Math.PI,g+=0>=g?Math.PI:-Math.PI):(k*=-1,l+=0>=l?Math.PI:-Math.PI));f=(g-c.rotation)%Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<p||-1E-6>p||1E-6<q||-1E-6>q||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=e,c.scaleY=k,
-c.rotation=g,c.skewX=l;G&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(z.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=h;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);d&&(a._gsTransform=c);return c},Qa=function(a){var b=this.data,d=-b.rotation,c=d+b.skewX,f=Math.cos(d)*b.scaleX,d=Math.sin(d)*b.scaleX,h=Math.sin(c)*-b.scaleY,c=Math.cos(c)*b.scaleY,e=1E-6,j=this.t.style,k=this.t.currentStyle,g;if(k){f<e&&f>-e&&(f=0);d<e&&d>-e&&(d=0);h<e&&h>-e&&(h=0);c<e&&c>-e&&(c=0);e=d;d=-h;h=-e;e=
-k.filter;j.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var p="absolute"!==k.position,q="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+d+", M21="+h+", M22="+c,m=b.x,u=b.y,n,v;null!=b.ox&&(n=(b.oxp?0.01*l*b.ox:b.ox)-l/2,v=(b.oyp?0.01*g*b.oy:b.oy)-g/2,m+=n-(n*f+v*d),u+=v-(n*h+v*c));if(p)n=l/2,v=g/2,q+=", Dx="+(n-(n*f+v*d)+m)+", Dy="+(v-(n*h+v*c)+u)+")";else{var B=8>ha?1:-1;n=b.ieOffsetX||0;v=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>d?-d:d)*g))/2+m);b.ieOffsetY=
-Math.round((g-((0>c?-c:c)*g+(0>h?-h:h)*l))/2+u);for(C=0;4>C;C++)l=Na[C],g=k[l],g=-1!==g.indexOf("px")?parseFloat(g):F(this.t,l,parseFloat(g),g.replace(Ga,""))||0,m=g!==b[l]?2>C?-b.ieOffsetX:-b.ieOffsetY:2>C?n-b.ieOffsetX:v-b.ieOffsetY,j[l]=(b[l]=Math.round(g-m*(0===C||2===C?1:B)))+"px";q+=", sizingMethod='auto expand')"}j.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(La,q):q+" "+e;if(0===a||1===a)if(1===f&&0===d&&0===h&&1===c&&(!p||-1!==q.indexOf("Dx=0, Dy=0")))(!ea.test(e)||
-100===parseFloat(RegExp.$1))&&-1===e.indexOf("gradient(")&&j.removeAttribute("filter")}},Fa=function(){var a=this.data,b=this.t.style,d=a.perspective,c=a.scaleX,f=0,h=0,e=0,j=0,k=a.scaleY,g=0,l=0,p=0,m=0,n=a.scaleZ,u=0,A=0,v=0,B=d?-1/d:0,r=a.rotation,s=a.zOrigin,t,w,z,x,y;ta&&(w=b.top+"",t=parseFloat(w)||0,w=w.substr((t+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?t+0.05:t-0.05)+(""===w?"px":w));r&&(t=Math.cos(r),r=Math.sin(r),z=k*r,f=c*-r,k*=t,c*=t,j=z);if(r=a.rotationY)t=Math.cos(r),r=Math.sin(r),
-x=n*-r,y=B*-r,h=c*r,g=j*r,n*=t,B*=t,c*=t,j*=t,p=x,A=y;if(r=a.rotationX)t=Math.cos(r),r=Math.sin(r),w=f*t+h*r,z=k*t+g*r,x=m*t+n*r,y=v*t+B*r,h=f*-r+h*t,g=k*-r+g*t,n=m*-r+n*t,B=v*-r+B*t,f=w,k=z,m=x,v=y;s&&(u-=s,e=h*u,l=g*u,u=n*u+s);e+=a.x;l+=a.y;u=1E-5*(1E5*(u+a.z)>>0);b[E]="matrix3d("+1E-5*(1E5*c>>0)+","+1E-5*(1E5*j>>0)+","+1E-5*(1E5*p>>0)+","+1E-5*(1E5*A>>0)+","+1E-5*(1E5*f>>0)+","+1E-5*(1E5*k>>0)+","+1E-5*(1E5*m>>0)+","+1E-5*(1E5*v>>0)+","+1E-5*(1E5*h>>0)+","+1E-5*(1E5*g>>0)+","+1E-5*(1E5*n>>0)+","+
+"1")*Number(a.substr(2))+b:parseFloat(a)},O=function(a,b){if(null==a)return b;var d=-1===a.indexOf("rad")?G:1,c="="===a.charAt(1);a=Number(a.replace(V,""))*d;return c?a+b:a},la=function(a,b){var d=(("number"===typeof a?a*G:O(a,b))-b)%(2*Math.PI);d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2));return b+d},P={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]},ma=function(a){if(!a||""===a)return P.black;if(P[a])return P[a];if("number"===typeof a)return[a>>16,a>>8&255,a&255];if("#"===a.charAt(0)){if(4===a.length){var b=a.charAt(1),d=a.charAt(2);a=a.charAt(3);a="#"+b+b+d+d+a+a}a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]}a=a.match(ca)||P.transparent;a[0]=Number(a[0]);a[1]=Number(a[1]);a[2]=
+Number(a[2]);3<a.length&&(a[3]=Number(a[3]));return a},I="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(m in P)I+="|"+m+"\\b";var I=RegExp(I+")","gi"),Ba=function(a,b,d){if(null==a)return function(a){return a};var c=b?(a.match(I)||[""])[0]:"",f=a.split(c).join("").match(da)||[],j=a.substr(0,a.indexOf(f[0])),e=")"===a.charAt(a.length-1)?")":"",h=-1!==a.indexOf(" ")?" ":",",k=f.length,g=0<k?f[0].replace(ca,""):"";return b?function(a){"number"===typeof a&&(a+=g);var b=(a.match(I)||[c])[0];a=a.split(b).join("").match(da)||
+[];var q=a.length;if(k>q--)for(;++q<k;)a[q]=d?a[(q-1)/2>>0]:f[q];return j+a.join(h)+h+b+e}:function(a){"number"===typeof a&&(a+=g);a=a.match(da)||[];var b=a.length;if(k>b--)for(;++b<k;)a[b]=d?a[(b-1)/2>>0]:f[b];return j+a.join(h)+e}},D=function(a){a=a.split(",");return function(b,d,c,f,j,e,h){d=(d+"").split(" ");h={};for(c=0;4>c;c++)h[a[c]]=d[c]=d[c]||d[(c-1)/2>>0];return f.parse(b,h,j,e)}};M._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,d=b.proxy,c=b.firstMPT,f;c;)f=d[c.v],
+c.r?f=0<f?f+0.5>>0:f-0.5>>0:1E-6>f&&-1E-6<f&&(f=0),c.t[c.p]=f,c=c._next;b.autoRotate&&(b.autoRotate.rotation=d.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){d=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)d+=a["xn"+b]+a["xs"+(b+1)];a.e=d}}else a.e=a.s+a.xs0;c=c._next}};var ja=function(a,b,d,c,f){this.t=a;this.p=b;this.v=d;this.r=f;c&&(c._prev=this,this._next=c)};M._parseToProxy=function(a,b,d,c,f,j){var e=c,h={},k={},g=d._transform,l=W,p;d._transform=null;W=b;c=a=d.parse(a,b,c,f);W=
+l;j&&(d._transform=g,e&&(e._prev=null,e._prev&&(e._prev._next=null)));for(;c&&c!==e;){if(1>=c.type&&(g=c.p,k[g]=c.s+c.c,h[g]=c.s,j||(p=new ja(c,"s",g,p,c.r),c.c=0),1===c.type))for(d=c.l;0<--d;)l="xn"+d,g=c.p+"_"+l,k[g]=c.data[l],h[g]=c[l],j||(p=new ja(c,l,g,p,c.rxp[l]));c=c._next}return{proxy:h,end:k,firstMPT:p,pt:a}};var s=M.CSSPropTween=function(a,b,d,c,f,j,e,h,k,g,l){this.t=a;this.p=b;this.s=d;this.c=c;this.n=e||"css_"+b;a instanceof s||ba.push(this.n);this.r=h;this.type=j||0;k&&(this.pr=k,$=!0);
+this.b=void 0===g?d:g;this.e=void 0===l?d+c:l;f&&(this._next=f,f._prev=this)},Z=z.parseComplex=function(a,b,d,c,f,j,e,h,k,g){e=new s(a,b,0,0,e,g?2:1,null,!1,h,d,c);a=d.split(", ").join(",").split(" ");b=(c+"").split(", ").join(",").split(" ");d=a.length;h=!1!==ga;var l,p,q,m,u;d!==b.length&&(a=(j||"").split(" "),d=a.length);e.plugin=k;e.setRatio=g;for(j=0;j<d;j++)if(k=a[j],l=b[j],(g=parseFloat(k))||0===g)e.appendXtra("",g,Aa(l,g),l.replace(na,""),h&&-1!==l.indexOf("px"),!0);else if(f&&("#"===k.charAt(0)||
+0===k.indexOf("rgb")||P[k]))k=ma(k),l=ma(l),(g=6<k.length+l.length)&&!N&&0===l[3]?(e["xs"+e.l]+=e.l?" transparent":"transparent",e.e=e.e.split(b[j]).join("transparent")):(e.appendXtra(g?"rgba(":"rgb(",k[0],l[0]-k[0],",",!0,!0).appendXtra("",k[1],l[1]-k[1],",",!0).appendXtra("",k[2],l[2]-k[2],g?",":")",!0),g&&(k=4>k.length?1:k[3],e.appendXtra("",k,(4>l.length?1:l[3])-k,")",!1)));else if(g=k.match(ca)){q=l.match(na);if(!q||q.length!==g.length)return e;for(l=p=0;l<g.length;l++)u=g[l],m=k.indexOf(u,p),
+e.appendXtra(k.substr(p,m-p),Number(u),Aa(q[l],u),"",h&&"px"===k.substr(m+u.length,2),0===l),p=m+u.length;e["xs"+e.l]+=k.substr(p)}else e["xs"+e.l]+=e.l?" "+k:k;if(-1!==c.indexOf("=")&&e.data){c=e.xs0+e.data.s;for(j=1;j<e.l;j++)c+=e["xs"+j]+e.data["xn"+j];e.e=c+e["xs"+j]}e.l||(e.type=-1,e.xs0=e.e);return e.xfirst||e},C=9,m=s.prototype;for(m.l=m.pr=0;0<--C;)m["xn"+C]=0,m["xs"+C]="";m.xs0="";m._next=m._prev=m.xfirst=m.data=m.plugin=m.setRatio=m.rxp=null;m.appendXtra=function(a,b,d,c,f,j){var e=this.l;
+this["xs"+e]+=j&&e?" "+a:a||"";if(!d&&0!==e&&!this.plugin)return this["xs"+e]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<e)return this.data["xn"+e]=b+d,this.rxp["xn"+e]=f,this["xn"+e]=b,this.plugin||(this.xfirst=new s(this,"xn"+e,b,d,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+d};this.rxp={};this.s=b;this.c=d;this.r=f;return this};var Ca=function(a,b,d,c,f,j,e){this.p=c?S(a)||a:a;K[a]=K[this.p]=this;this.format=j||Ba(b,f);d&&
+(this.parse=d);this.clrs=f;this.dflt=b;this.pr=e||0},n=M._registerComplexSpecialProp=function(a,b,d,c,f,j,e){a=a.split(",");b=b instanceof Array?b:[b];for(var h=a.length;-1<--h;)new Ca(a[h],b[h],d,c&&0===h,f,j,e)},M=function(a){if(!K[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";n(a,null,function(a,c,f,j,e,h,k){var g=window.com.greensock.plugins[b];if(!g)return window.console&&console.log("Error: "+b+" js file not loaded."),e;g._cssRegister();return K[f].parse(a,c,f,j,e,h,k)})}},m=Ca.prototype;
+m.parseComplex=function(a,b,d,c,f,j){return Z(a,this.p,b,d,this.clrs,this.dflt,c,this.pr,f,j)};m.parse=function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(w(a,d,A,!1,this.dflt)),this.format(b),f,j)};z.registerSpecialProp=function(a,b,d){n(a,null,function(a,f,j,e,h,k){h=new s(a,j,0,0,h,2,j,!1,d);h.plugin=k;h.setRatio=b(a,f,e._tween,j);return h},!1,!1,null,d)};var Da="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),E=S("transform"),Na=ya+"transform",
+Ea=S("transformOrigin"),J=null!==S("perspective"),X=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,j=J?parseFloat(w(a,Ea,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,h,k,g,l,p,q,m;E?e=w(a,Na,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(Ja))&&4===e.length?e[0].substr(4)+","+Number(e[2].substr(4))+","+Number(e[1].substr(4))+","+e[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);h=(e||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=h.length;-1<--b;)h[b]=Number(h[b]);
+if(16===h.length){if(f=h[8],e=h[9],k=h[10],g=h[12],l=h[13],p=h[14],c.zOrigin&&(p=-c.zOrigin,g=f*p-h[12],l=e*p-h[13],p=k*p+c.zOrigin-h[14]),!d||g!==c.x||l!==c.y||p!==c.z){q=h[0];m=h[1];var u=h[2],Oa=h[3],v=h[4],B=h[5],r=h[6],A=h[7];h=h[11];var t=c.rotationX=Math.atan2(r,k),n,s,x,y;t&&(x=Math.cos(-t),y=Math.sin(-t),t=v*x+f*y,n=B*x+e*y,s=r*x+k*y,f=v*-y+f*x,e=B*-y+e*x,k=r*-y+k*x,h=A*-y+h*x,v=t,B=n,r=s);if(t=c.rotationY=Math.atan2(f,q))x=Math.cos(-t),y=Math.sin(-t),n=m*x-e*y,s=u*x-k*y,e=m*y+e*x,k=u*y+
+k*x,h=Oa*y+h*x,q=q*x-f*y,m=n,u=s;if(t=c.rotation=Math.atan2(m,B))x=Math.cos(-t),y=Math.sin(-t),q=q*x+v*y,n=m*x+B*y,B=m*-y+B*x,r=u*-y+r*x,m=n;Math.abs(c.rotationY)>Math.PI/2&&(c.rotationY*=-1,c.rotationX+=Math.PI,c.rotation=Math.PI-c.rotation);c.scaleX=Math.sqrt(q*q+m*m);c.scaleY=Math.sqrt(B*B+e*e);c.scaleZ=Math.sqrt(r*r+k*k);c.skewX=0;c.perspective=h?1/h:0;c.x=g;c.y=l;c.z=p}}else if(!J||0===h.length||c.x!==h[4]||c.y!==h[5]||!c.rotationX&&!c.rotationY){g=(e=6<=h.length)?h[0]:1;p=h[1]||0;l=h[2]||0;
+q=e?h[3]:1;c.x=h[4]||0;c.y=h[5]||0;e=Math.sqrt(g*g+p*p);k=Math.sqrt(q*q+l*l);g=g||p?Math.atan2(p,g):c.rotation||0;l=l||q?Math.atan2(l,q)+g:c.skewX||0;p=e-Math.abs(c.scaleX||0);q=k-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(e*=-1,l+=0>=g?Math.PI:-Math.PI,g+=0>=g?Math.PI:-Math.PI):(k*=-1,l+=0>=l?Math.PI:-Math.PI));f=(g-c.rotation)%Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<p||-1E-6>p||1E-6<q||-1E-6>q||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=e,c.scaleY=k,
+c.rotation=g,c.skewX=l;J&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(z.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=j;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);d&&(a._gsTransform=c);return c},Pa=function(a){var b=this.data,d=-b.rotation,c=d+b.skewX,f=Math.cos(d)*b.scaleX,d=Math.sin(d)*b.scaleX,j=Math.sin(c)*-b.scaleY,c=Math.cos(c)*b.scaleY,e=1E-6,h=this.t.style,k=this.t.currentStyle,g;if(k){f<e&&f>-e&&(f=0);d<e&&d>-e&&(d=0);j<e&&j>-e&&(j=0);c<e&&c>-e&&(c=0);e=d;d=-j;j=-e;e=
+k.filter;h.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var p="absolute"!==k.position,q="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+d+", M21="+j+", M22="+c,m=b.x,u=b.y,n,v;null!=b.ox&&(n=(b.oxp?0.01*l*b.ox:b.ox)-l/2,v=(b.oyp?0.01*g*b.oy:b.oy)-g/2,m+=n-(n*f+v*d),u+=v-(n*j+v*c));if(p)n=l/2,v=g/2,q+=", Dx="+(n-(n*f+v*d)+m)+", Dy="+(v-(n*j+v*c)+u)+")";else{var B=8>ha?1:-1;n=b.ieOffsetX||0;v=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>d?-d:d)*g))/2+m);b.ieOffsetY=
+Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+u);for(C=0;4>C;C++)l=Ma[C],g=k[l],g=-1!==g.indexOf("px")?parseFloat(g):F(this.t,l,parseFloat(g),g.replace(Fa,""))||0,m=g!==b[l]?2>C?-b.ieOffsetX:-b.ieOffsetY:2>C?n-b.ieOffsetX:v-b.ieOffsetY,h[l]=(b[l]=Math.round(g-m*(0===C||2===C?1:B)))+"px";q+=", sizingMethod='auto expand')"}h.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(Ka,q):q+" "+e;if(0===a||1===a)if(1===f&&0===d&&0===j&&1===c&&(!p||-1!==q.indexOf("Dx=0, Dy=0")))(!ea.test(e)||
+100===parseFloat(RegExp.$1))&&-1===e.indexOf("gradient(")&&h.removeAttribute("filter")}},Qa=function(){var a=this.data,b=this.t.style,d=a.perspective,c=a.scaleX,f=0,j=0,e=0,h=0,k=a.scaleY,g=0,l=0,p=0,m=0,n=a.scaleZ,u=0,A=0,v=0,B=d?-1/d:0,r=a.rotation,s=a.zOrigin,t,w,z,x,y;ta&&(w=b.top+"",t=parseFloat(w)||0,w=w.substr((t+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?t+0.05:t-0.05)+(""===w?"px":w));r&&(t=Math.cos(r),r=Math.sin(r),z=k*r,f=c*-r,k*=t,c*=t,h=z);if(r=a.rotationY)t=Math.cos(r),r=Math.sin(r),
+x=n*-r,y=B*-r,j=c*r,g=h*r,n*=t,B*=t,c*=t,h*=t,p=x,A=y;if(r=a.rotationX)t=Math.cos(r),r=Math.sin(r),w=f*t+j*r,z=k*t+g*r,x=m*t+n*r,y=v*t+B*r,j=f*-r+j*t,g=k*-r+g*t,n=m*-r+n*t,B=v*-r+B*t,f=w,k=z,m=x,v=y;s&&(u-=s,e=j*u,l=g*u,u=n*u+s);e+=a.x;l+=a.y;u=1E-5*(1E5*(u+a.z)>>0);b[E]="matrix3d("+1E-5*(1E5*c>>0)+","+1E-5*(1E5*h>>0)+","+1E-5*(1E5*p>>0)+","+1E-5*(1E5*A>>0)+","+1E-5*(1E5*f>>0)+","+1E-5*(1E5*k>>0)+","+1E-5*(1E5*m>>0)+","+1E-5*(1E5*v>>0)+","+1E-5*(1E5*j>>0)+","+1E-5*(1E5*g>>0)+","+1E-5*(1E5*n>>0)+","+
1E-5*(1E5*B>>0)+","+1E-5*(1E5*e>>0)+","+1E-5*(1E5*l>>0)+","+u+","+(d?1+-u/d:1)+")"},Ra=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[E]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,d=b-a.skewX,c=Math.cos(b)*a.scaleX,b=Math.sin(b)*a.scaleX,f=Math.sin(d)*-a.scaleY,d=Math.cos(d)*a.scaleY;this.t.style[E]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>d&&-1E-6<d?0:d)+","+a.x+","+a.y+")"}};n("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",
-null,function(a,b,d,c,f,h,e){if(c._transform)return f;b=c._transform=X(a,A,!0);var j=a.style,k=Da.length,g,l,p;if("string"===typeof e.transform&&E)p=j[E],j[E]=e.transform,g=X(a,null,!1),j[E]=p;else if("object"===typeof e){l=null!=e.rotation?e.rotation:null!=e.rotationZ?e.rotationZ:b.rotation*P;g={scaleX:H(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:H(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:H(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:H(e.x,b.x),y:H(e.y,b.y),z:H(e.z,b.z),perspective:H(e.transformPerspective,
-b.perspective)};g.rotation=null!=e.shortRotation||null!=e.shortRotationZ?la(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*K:T(l,b.rotation);G&&(g.rotationX=null!=e.shortRotationX?la(e.shortRotationX,b.rotationX):"number"===typeof e.rotationX?e.rotationX*K:T(e.rotationX,b.rotationX),g.rotationY=null!=e.shortRotationY?la(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*K:T(e.rotationY,b.rotationY),1E-6>g.rotationX&&-1E-6<g.rotationX&&(g.rotationX=0),1E-6>
-g.rotationY&&-1E-6<g.rotationY&&(g.rotationY=0));g.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*K:T(e.skewY,b.skewY);if(l=g.skewY-b.skewY)g.skewX+=l,g.rotation+=l;1E-6>g.skewY&&-1E-6<g.skewY&&(g.skewY=0);1E-6>g.skewX&&-1E-6<g.skewX&&(g.skewX=0);1E-6>g.rotation&&-1E-6<g.rotation&&(g.rotation=0)}p=b.z||b.rotationX||b.rotationY||g.z||g.rotationX||g.rotationY||g.perspective;!p&&null!=g.scale&&(g.scaleZ=1);for(f=c._enableTransforms(p,f,h);-1<--k;)if(d=Da[k],l=g[d]-b[d],1E-6<l||-1E-6>l||
-null!=W[d])f=new s(b,d,b[d],l,f),f.xs0=0,f.plugin=h,c._overwriteProps.push(f.n);if((l=e.transformOrigin)||G&&p&&b.zOrigin)E?(l=(l||w(a,d,A,!1,"50% 50%"))+"",d=Ea,f=new s(j,d,0,0,f,-1,"css_transformOrigin"),f.b=j[d],f.plugin=h,G?(p=b.zOrigin,l=l.split(" "),b.zOrigin=(2<l.length?parseFloat(l[2]):p)||0,f.xs0=f.e=j[d]=l[0]+" "+(l[1]||"50%")+" 0px",f=new s(b,"zOrigin",0,0,f,-1,f.n),f.b=p,f.xs0=f.e=b.zOrigin):f.xs0=f.e=j[d]=l):ka(l+"",b);return f.t===a?(f._next&&(f._next._prev=null),f._next):f},!0);n("boxShadow",
-"0px 0px 0px 0px #999",null,!0,!0);n("borderRadius","0px",function(a,b,d,c,f){b=this.format(b);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];var h=a.style,e,j,k,g,l,p,m,n,u,s,v,B;n=parseFloat(a.offsetWidth);u=parseFloat(a.offsetHeight);b=b.split(" ");for(e=0;e<c.length;e++)this.p.indexOf("border")&&(c[e]=R(c[e])),g=k=w(a,c[e],A,!1,"0px"),-1!==g.indexOf(" ")&&(k=g.split(" "),g=k[0],k=k[1]),l=j=b[e],p=parseFloat(g),v=g.substr((p+"").length),(B="="===
-l.charAt(1))?(m=parseInt(l.charAt(0)+"1"),l=l.substr(2),m*=parseFloat(l),s=l.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(l),s=l.substr((m+"").length)),""===s&&(s=aa[d]||v),s!==v&&(g=F(a,"borderLeft",p,v),p=F(a,"borderTop",p,v),"%"===s?(g=100*(g/n)+"%",k=100*(p/u)+"%"):"em"===s?(v=F(a,"borderLeft",1,"em"),g=g/v+"em",k=p/v+"em"):(g+="px",k=p+"px"),B&&(l=parseFloat(g)+m+s,j=parseFloat(k)+m+s)),f=Z(h,c[e],g+" "+k,l+" "+j,!1,"0px",f);return f},!0,!1,Ba("0px 0px 0px 0px",!1,!0));n("backgroundPosition",
-"0 0",function(a,b,d,c,f,h){d=A||S(a,null);d=this.format((d?ha?d.getPropertyValue("background-position-x")+" "+d.getPropertyValue("background-position-y"):d.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");b=this.format(b);var e,j,k,g;if(-1!==d.indexOf("%")!==(-1!==b.indexOf("%"))){c=d.split(" ");e=b.split(" ");fa.setAttribute("src",w(a,"backgroundImage").replace(Ia,""));for(j=2;-1<--j;)d=c[j],k=-1!==d.indexOf("%"),k!==(-1!==
-e[j].indexOf("%"))&&(g=0===j?a.offsetWidth-fa.width:a.offsetHeight-fa.height,c[j]=k?parseFloat(d)/100*g+"px":100*(parseFloat(d)/g)+"%");d=c.join(" ")}return this.parseComplex(a.style,d,b,f,h)},!1,!1,ka);n("backgroundSize","0 0",null,!1,!1,ka);n("perspective","0px",null,!0);n("perspectiveOrigin","50% 50%",null,!0);n("transformStyle","preserve-3d",null,!0);n("margin",null,D("marginTop,marginRight,marginBottom,marginLeft"));n("padding",null,D("paddingTop,paddingRight,paddingBottom,paddingLeft"));n("clip",
-"rect(0px,0px,0px,0px)");n("textShadow","0px 0px 0px #999",null,!1,!0);n("autoRound",null,function(a,b,d,c,f){return f});n("border","0px solid #000",function(a,b,d,c,f,h){return this.parseComplex(a.style,this.format(w(a,"borderTopWidth",A,!1,"0px")+" "+w(a,"borderTopStyle",A,!1,"solid")+" "+w(a,"borderTopColor",A,!1,"#000")),this.format(b),f,h)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(I)||["#000"])[0]});var Sa=function(a){var b=this.t;a=this.s+this.c*a;var d;
-100===a&&(b.removeAttribute("filter"),d=!w(this.data,"filter"));d||(this.xn1&&(b.filter=b.filter||"alpha(opacity=100)"),b.filter=-1===b.filter.indexOf("opacity")?b.filter+(" alpha(opacity="+(a>>0)+")"):b.filter.replace(ea,"opacity="+(a>>0)))};n("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,h){var e=parseFloat(w(a,"opacity",A,!1,"1"));b=parseFloat(b);var j=a.style,k;"autoAlpha"===d&&(k=w(a,"visibility",A),1===e&&"hidden"===k&&(e=0),f=new s(j,"visibility",0,0,f,-1,null,!1,0,0!==e?"visible":"hidden",
-0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));N?f=new s(j,"opacity",e,b-e,f):(f=new s(j,"opacity",100*e,100*(b-e),f),f.xn1="autoAlpha"===d?1:0,j.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=h,f.setRatio=Sa);return f});var Ta=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var b=this.t.style,d=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[d](a.p.replace(oa,
-"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};n("className",null,function(a,b,d,c,f,h,e){var j=a.className,k=a.style.cssText;f=c._classNamePT=new s(a,d,0,0,f,2);f.setRatio=Ta;f.b=j;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?j+" "+b.substr(2):j.split(b.substr(2)).join("");c._tween._duration&&(b=Y(a,A,!0),a.className=f.e,e=za(a,b,Y(a),e),a.className=j,f.data=e.firstMPT,a.style.cssText=k,f=f.xfirst=c.parse(a,e.difs,f,h));return f});m=["bezier","throwProps",
-"physicsProps","physics2D"];for(C=m.length;C--;)M(m[C]);m=z.prototype;m._firstPT=null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=b;ga=b.autoRound;$=!1;aa=b.suffixMap||z.suffixMap;A=S(a,"");ba=this._overwriteProps;d=a.style;var c,f,h;if(ra&&""===d.zIndex&&(c=w(a,"zIndex",A),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Y(a,A),d.cssText=f+";"+b,c=za(a,c,Y(a)).difs,!N&&Ha.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,d.cssText=
-f);this._firstPT=a=this.parse(a,b,null);if($){for(;a;){d=a._next;for(b=f;b&&b.pr>a.pr;)b=b._next;(a._prev=b?b._prev:h)?a._prev._next=a:f=a;(a._next=b)?b._prev=a:h=a;a=d}this._firstPT=f}return!0};m.parse=function(a,b,d,c){var f=a.style,h,e,j,k,g,l,m,n;for(h in b){g=b[h];if(e=J[h])d=e.parse(a,g,h,this,d,c,b);else if(e=w(a,h,A)+"",m="string"===typeof g,"color"===h||"fill"===h||"stroke"===h||-1!==h.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=ma(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=Z(f,
-h,e,g,!0,"transparent",d,0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=Z(f,h,e,g,!0,null,d,0,c);else{j=parseFloat(e);l=e.substr((j+"").length);if(""===e||"auto"===e)if("width"===h||"height"===h){j=a;n=h;k=A;l=parseFloat("width"===n?j.offsetWidth:j.offsetHeight);n=Ma[n];var z=n.length;for(k=k||S(j,null);-1<--z;)l-=parseFloat(w(j,"padding"+n[z],k,!0))||0,l-=parseFloat(w(j,"border"+n[z]+"Width",k,!0))||0;j=l;l="px"}else j="opacity"!==h?0:1,l="";(n=m&&"="===g.charAt(1))?(k=parseInt(g.charAt(0)+
-"1"),g=g.substr(2),k*=parseFloat(g),m=g.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(g),m=m?g.substr((k+"").length)||"":"");""===m&&(m=aa[h]||l);g=k||0===k?(n?k+j:k)+m:b[h];if(l!==m&&""!==m&&(k||0===k))if(j||0===j)if(j=F(a,h,j,l),"%"===m?(j/=F(a,h,100,"%")/100,100<j&&(j=100)):"em"===m?j/=F(a,h,1,"em"):(k=F(a,h,k,m),m="px"),n&&(k||0===k))g=k+j+m;n&&(k+=j);(j||0===j)&&(k||0===k)?(d=new s(f,h,j,k-j,d,0,"css_"+h,!1!==ga&&("px"===m||"zIndex"===h),0,e,g),d.xs0=m):(d=new s(f,h,k||j||0,0,d,-1,"css_"+
-h,!1,0,e,g),d.xs0="display"===h&&"none"===g?e:g)}c&&(d&&!d.plugin)&&(d.plugin=c)}return d};m.setRatio=function(a){var b=this._firstPT,d,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;b;)2!==b.type?b.t[b.p]=b.e:b.setRatio(a),b=b._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;b;){d=b.c*a+b.s;b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=
-b.xs0+d+b.xs1+b.xn1+b.xs2;else if(3===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{d=b.xs0+d+b.xs1;for(c=1;c<b.l;c++)d+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=d}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=d+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};m._enableTransforms=function(a,
-b,d){var c=this._transformPT,f=this._target,h=f.style;if(c)a&&G&&(c.setRatio=Fa);else{if(E){if(sa){ra=!0;if(""===h.zIndex&&(c=w(f,"zIndex",A),"auto"===c||""===c))h.zIndex=0;ua&&(h.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(a?"visible":"hidden"))}}else h.zoom=1;this._transformPT=b=new s(f,"transform",0,0,b,2);b.setRatio=a&&G?Fa:E?Ra:Qa;b.plugin=d;b.data=this._transform||X(f,A,!0);ba.pop()}return b};m._linkCSSP=function(a,b,d){a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),
-d&&(d._next=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=d);return a};m._kill=function(a){var b=a,d=!1,c,f;if(a.css_autoAlpha||a.css_alpha){b={};for(f in a)b[f]=a[f];b.css_opacity=1;b.css_autoAlpha&&(b.css_visibility=1)}if(a.css_className&&(c=this._classNamePT))(a=c.xfirst)&&a._prev?this._linkCSSP(a._prev,c._next,a._prev._prev):a===this._firstPT&&(this._firstPT=null),c._next&&this._linkCSSP(c._next,c._next._next,a._prev),this._target._gsOverwrittenClassNamePT=
-this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0;return U.prototype._kill.call(this,b)||d};U.activate([z]);return z},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
+null,function(a,b,d,c,f,j,e){if(c._transform)return f;b=c._transform=X(a,A,!0);var h=a.style,k=Da.length,g,l,p;if("string"===typeof e.transform&&E)p=h[E],h[E]=e.transform,g=X(a,null,!1),h[E]=p;else if("object"===typeof e){l=null!=e.rotation?e.rotation:null!=e.rotationZ?e.rotationZ:b.rotation*Q;g={scaleX:H(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:H(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:H(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:H(e.x,b.x),y:H(e.y,b.y),z:H(e.z,b.z),perspective:H(e.transformPerspective,
+b.perspective)};g.rotation=null!=e.shortRotation||null!=e.shortRotationZ?la(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*G:O(l,b.rotation);J&&(g.rotationX=null!=e.shortRotationX?la(e.shortRotationX,b.rotationX):"number"===typeof e.rotationX?e.rotationX*G:O(e.rotationX,b.rotationX),g.rotationY=null!=e.shortRotationY?la(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*G:O(e.rotationY,b.rotationY),1E-6>g.rotationX&&-1E-6<g.rotationX&&(g.rotationX=0),1E-6>
+g.rotationY&&-1E-6<g.rotationY&&(g.rotationY=0));g.skewX=null==e.skewX?b.skewX:"number"===typeof e.skewX?e.skewX*G:O(e.skewX,b.skewX);g.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*G:O(e.skewY,b.skewY);if(l=g.skewY-b.skewY)g.skewX+=l,g.rotation+=l;1E-6>g.skewY&&-1E-6<g.skewY&&(g.skewY=0);1E-6>g.skewX&&-1E-6<g.skewX&&(g.skewX=0);1E-6>g.rotation&&-1E-6<g.rotation&&(g.rotation=0)}p=b.z||b.rotationX||b.rotationY||g.z||g.rotationX||g.rotationY||g.perspective;!p&&null!=g.scale&&(g.scaleZ=
+1);for(c._transformType=p?3:2;-1<--k;)if(d=Da[k],l=g[d]-b[d],1E-6<l||-1E-6>l||null!=W[d])f=new s(b,d,b[d],l,f),f.xs0=0,f.plugin=j,c._overwriteProps.push(f.n);if((l=e.transformOrigin)||J&&p&&b.zOrigin)E?(l=(l||w(a,d,A,!1,"50% 50%"))+"",d=Ea,f=new s(h,d,0,0,f,-1,"css_transformOrigin"),f.b=h[d],f.plugin=j,J?(p=b.zOrigin,l=l.split(" "),b.zOrigin=(2<l.length?parseFloat(l[2]):p)||0,f.xs0=f.e=h[d]=l[0]+" "+(l[1]||"50%")+" 0px",f=new s(b,"zOrigin",0,0,f,-1,f.n),f.b=p,f.xs0=f.e=b.zOrigin):f.xs0=f.e=h[d]=l):
+ka(l+"",b);return f&&f.t===a?(f._next&&(f._next._prev=null),f._next):f},!0);n("boxShadow","0px 0px 0px 0px #999",null,!0,!0);n("borderRadius","0px",function(a,b,d,c,f){b=this.format(b);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];var j=a.style,e,h,k,g,l,p,m,n,u,s,v,B;n=parseFloat(a.offsetWidth);u=parseFloat(a.offsetHeight);b=b.split(" ");for(e=0;e<c.length;e++)this.p.indexOf("border")&&(c[e]=S(c[e])),g=k=w(a,c[e],A,!1,"0px"),-1!==g.indexOf(" ")&&
+(k=g.split(" "),g=k[0],k=k[1]),l=h=b[e],p=parseFloat(g),v=g.substr((p+"").length),(B="="===l.charAt(1))?(m=parseInt(l.charAt(0)+"1"),l=l.substr(2),m*=parseFloat(l),s=l.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(l),s=l.substr((m+"").length)),""===s&&(s=aa[d]||v),s!==v&&(g=F(a,"borderLeft",p,v),p=F(a,"borderTop",p,v),"%"===s?(g=100*(g/n)+"%",k=100*(p/u)+"%"):"em"===s?(v=F(a,"borderLeft",1,"em"),g=g/v+"em",k=p/v+"em"):(g+="px",k=p+"px"),B&&(l=parseFloat(g)+m+s,h=parseFloat(k)+m+s)),f=Z(j,c[e],
+g+" "+k,l+" "+h,!1,"0px",f);return f},!0,!1,Ba("0px 0px 0px 0px",!1,!0));n("backgroundPosition","0 0",function(a,b,d,c,f,j){d=A||T(a,null);d=this.format((d?ha?d.getPropertyValue("background-position-x")+" "+d.getPropertyValue("background-position-y"):d.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");b=this.format(b);var e,h,k,g;if(-1!==d.indexOf("%")!==(-1!==b.indexOf("%"))){c=d.split(" ");e=b.split(" ");fa.setAttribute("src",
+w(a,"backgroundImage").replace(Ha,""));for(h=2;-1<--h;)d=c[h],k=-1!==d.indexOf("%"),k!==(-1!==e[h].indexOf("%"))&&(g=0===h?a.offsetWidth-fa.width:a.offsetHeight-fa.height,c[h]=k?parseFloat(d)/100*g+"px":100*(parseFloat(d)/g)+"%");d=c.join(" ")}return this.parseComplex(a.style,d,b,f,j)},!1,!1,ka);n("backgroundSize","0 0",null,!1,!1,ka);n("perspective","0px",null,!0);n("perspectiveOrigin","50% 50%",null,!0);n("transformStyle","preserve-3d",null,!0);n("margin",null,D("marginTop,marginRight,marginBottom,marginLeft"));
+n("padding",null,D("paddingTop,paddingRight,paddingBottom,paddingLeft"));n("clip","rect(0px,0px,0px,0px)");n("textShadow","0px 0px 0px #999",null,!1,!0);n("autoRound",null,function(a,b,d,c,f){return f});n("border","0px solid #000",function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(w(a,"borderTopWidth",A,!1,"0px")+" "+w(a,"borderTopStyle",A,!1,"solid")+" "+w(a,"borderTopColor",A,!1,"#000")),this.format(b),f,j)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+
+(a.match(I)||["#000"])[0]});var Sa=function(a){var b=this.t;a=this.s+this.c*a;var d;100===a&&(b.removeAttribute("filter"),d=!w(this.data,"filter"));d||(this.xn1&&(b.filter=b.filter||"alpha(opacity=100)"),b.filter=-1===b.filter.indexOf("opacity")?b.filter+(" alpha(opacity="+(a>>0)+")"):b.filter.replace(ea,"opacity="+(a>>0)))};n("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(w(a,"opacity",A,!1,"1"));b=parseFloat(b);var h=a.style,k;"autoAlpha"===d&&(k=w(a,"visibility",A),1===e&&
+"hidden"===k&&(e=0),f=new s(h,"visibility",0,0,f,-1,null,!1,0,0!==e?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));N?f=new s(h,"opacity",e,b-e,f):(f=new s(h,"opacity",100*e,100*(b-e),f),f.xn1="autoAlpha"===d?1:0,h.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=j,f.setRatio=Sa);return f});var Ta=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var b=this.t.style,d=b.removeProperty?
+"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[d](a.p.replace(oa,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};n("className",null,function(a,b,d,c,f,j,e){var h=a.className,k=a.style.cssText;f=c._classNamePT=new s(a,d,0,0,f,2);f.setRatio=Ta;f.b=h;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?h+" "+b.substr(2):h.split(b.substr(2)).join("");c._tween._duration&&(b=Y(a,A,!0),a.className=f.e,e=za(a,b,Y(a),e),a.className=h,f.data=e.firstMPT,a.style.cssText=
+k,f=f.xfirst=c.parse(a,e.difs,f,j));return f});m=["bezier","throwProps","physicsProps","physics2D"];for(C=m.length;C--;)M(m[C]);m=z.prototype;m._firstPT=null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=b;ga=b.autoRound;$=!1;aa=b.suffixMap||z.suffixMap;A=T(a,"");ba=this._overwriteProps;d=a.style;var c,f,j,e;if(ra&&""===d.zIndex&&(c=w(a,"zIndex",A),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Y(a,A),d.cssText=f+";"+b,c=za(a,c,
+Y(a)).difs,!N&&Ga.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,d.cssText=f);this._firstPT=b=this.parse(a,b,null);if(this._transformType){c=3===this._transformType;if(E){if(sa){ra=!0;if(""===d.zIndex&&(e=w(a,"zIndex",A),"auto"===e||""===e))d.zIndex=0;ua&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))}}else d.zoom=1;for(d=b;d&&d._next;)d=d._next;e=new s(a,"transform",0,0,null,2);this._linkCSSP(e,null,d);e.setRatio=c&&J?Qa:E?Ra:Pa;e.data=this._transform||X(a,
+A,!0);ba.pop()}if($){for(;b;){a=b._next;for(d=f;d&&d.pr>b.pr;)d=d._next;(b._prev=d?d._prev:j)?b._prev._next=b:f=b;(b._next=d)?d._prev=b:j=b;b=a}this._firstPT=f}return!0};m.parse=function(a,b,d,c){var f=a.style,j,e,h,k,g,l,m,n;for(j in b){g=b[j];if(e=K[j])d=e.parse(a,g,j,this,d,c,b);else if(e=w(a,j,A)+"",m="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=ma(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=Z(f,j,e,g,!0,"transparent",d,
+0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=Z(f,j,e,g,!0,null,d,0,c);else{h=parseFloat(e);l=e.substr((h+"").length);if(""===e||"auto"===e)if("width"===j||"height"===j){h=a;n=j;k=A;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);n=La[n];var z=n.length;for(k=k||T(h,null);-1<--z;)l-=parseFloat(w(h,"padding"+n[z],k,!0))||0,l-=parseFloat(w(h,"border"+n[z]+"Width",k,!0))||0;h=l;l="px"}else h="opacity"!==j?0:1,l="";(n=m&&"="===g.charAt(1))?(k=parseInt(g.charAt(0)+"1"),g=g.substr(2),
+k*=parseFloat(g),m=g.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(g),m=m?g.substr((k+"").length)||"":"");""===m&&(m=aa[j]||l);g=k||0===k?(n?k+h:k)+m:b[j];if(l!==m&&""!==m&&(k||0===k))if(h||0===h)if(h=F(a,j,h,l),"%"===m?(h/=F(a,j,100,"%")/100,100<h&&(h=100)):"em"===m?h/=F(a,j,1,"em"):(k=F(a,j,k,m),m="px"),n&&(k||0===k))g=k+h+m;n&&(k+=h);(h||0===h)&&(k||0===k)?(d=new s(f,j,h,k-h,d,0,"css_"+j,!1!==ga&&("px"===m||"zIndex"===j),0,e,g),d.xs0=m):(d=new s(f,j,k||h||0,0,d,-1,"css_"+j,!1,0,e,g),d.xs0=
+"display"===j&&"none"===g?e:g)}c&&(d&&!d.plugin)&&(d.plugin=c)}return d};m.setRatio=function(a){var b=this._firstPT,d,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;b;)2!==b.type?b.t[b.p]=b.e:b.setRatio(a),b=b._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;b;){d=b.c*a+b.s;b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+
+b.xs2;else if(3===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{d=b.xs0+d+b.xs1;for(c=1;c<b.l;c++)d+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=d}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=d+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};m._enableTransforms=function(a){this._transformType=
+a||3===this._transformType?3:2};m._linkCSSP=function(a,b,d,c){a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),d?d._next=a:!c&&null===this._firstPT&&(this._firstPT=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=d);return a};m._kill=function(a){var b=a,d=!1,c,f;if(a.css_autoAlpha||a.css_alpha){b={};for(f in a)b[f]=a[f];b.css_opacity=1;b.css_autoAlpha&&(b.css_visibility=1)}if(a.css_className&&(c=this._classNamePT))(a=c.xfirst)&&a._prev?this._linkCSSP(a._prev,
+c._next,a._prev._prev):a===this._firstPT&&(this._firstPT=null),c._next&&this._linkCSSP(c._next,c._next._next,a._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0;return U.prototype._kill.call(this,b)||d};U.activate([z]);return z},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
diff --git a/src/uncompressed/TweenMax.js b/src/uncompressed/TweenMax.js
index 979d5bc..3c2d795 100755
--- a/src/uncompressed/TweenMax.js
+++ b/src/uncompressed/TweenMax.js
@@ -1,5 +1,5 @@
/**
- * VERSION: beta 1.66
+ * VERSION: beta 1.661
* DATE: 2012-12-14
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
@@ -33,7 +33,7 @@
p = TweenMax.prototype = TweenLite.to({}, 0.1, {}),
_blankArray = [];
- TweenMax.version = 1.66;
+ TweenMax.version = 1.661;
p.constructor = TweenMax;
p.kill()._gc = false;
TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;
@@ -1821,11 +1821,7 @@
}
if (v.autoRotate) {
if (!cssp._transform) {
- transPT = cssp._enableTransforms(false, pt, plugin);
- transPT._next = pt._next; //flip-flop the order because we need the autoRotation to get set first before the rotation transform is applied to the css.
- transPT._prev = pt;
- pt._next = transPT;
- pt._prev = null;
+ cssp._enableTransforms(false);
}
data.autoRotate = cssp._target._gsTransform;
}
@@ -1892,7 +1888,7 @@
}
}
return true;
- }
+ };
//gets called every time the tween updates, passing the new ratio (typically a value between 0 and 1, but not always (for example, if an Elastic.easeOut is used, the value can jump above 1 mid-tween). It will always start and 0 and end at 1.
p.setRatio = function(v) {
@@ -1960,7 +1956,6 @@
if (this._round[p]) {
val = (val + ((val > 0) ? 0.5 : -0.5)) >> 0;
}
- //console.log(p+": "+val);
if (func[p]) {
target[p](val);
} else {
@@ -1998,7 +1993,7 @@
}
}
}
- }
+ };
p._roundProps = function(lookup, value) {
var op = this._overwriteProps,
@@ -2008,7 +2003,7 @@
this._round[op[i]] = value;
}
}
- }
+ };
p._kill = function(lookup) {
var a = this._props,
@@ -2026,7 +2021,7 @@
}
}
return TweenPlugin.prototype._kill.call(this, lookup);
- }
+ };
TweenPlugin.activate([BezierPlugin]);
return BezierPlugin;
@@ -2068,7 +2063,7 @@
p = CSSPlugin.prototype = new TweenPlugin("css");
p.constructor = CSSPlugin;
- CSSPlugin.version = 1.66;
+ CSSPlugin.version = 1.661;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -2078,7 +2073,7 @@
var _numExp = /(?:\d|\-\d|\.\d|\-\.\d)+/g,
_relNumExp = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
_valuesExp = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, //finds all the values that begin with numbers or += or -= and then a number. Includes suffixes. We use this to split complex values apart like "1px 5px 20px rgb(255,102,51)"
- //_clrNumExp = /(?:\b(?:(?:rgb|rgba)\(.+?\))|\B#.+?\b)/, //only finds rgb(), rgba(), and # (hexadecimal) values but NOT color names like red, blue, etc.
+ //_clrNumExp = /(?:\b(?:(?:rgb|rgba)\(.+?\))|\B#.+?\b)/, //only finds rgb(), rgba(), and # (hexadecimal) values but NOT color names like red, blue, etc.
_NaNExp = /[^\d\-\.]/g,
_suffixExp = /(?:\d|\-|\+|=|#|\.)*/g,
_opacityExp = /opacity *= *([^)]*)/,
@@ -2131,7 +2126,7 @@
_prefixCSS = "", //the non-camelCase vendor prefix like "-o-", "-moz-", "-ms-", or "-webkit-"
_prefix = "", //camelCase vendor prefix like "O", "ms", "Webkit", or "Moz".
- //@private feed in a camelCase property name like "transform" and it will check to see if it is valid as-is or if it needs a vendor prefix. It returns the corrected camelCase property name (i.e. "WebkitTransform" or "MozTransform" or "transform" or null if no such property is found, like if the browser is IE8 or before, "transform" won't be found at all)
+ //@private feed in a camelCase property name like "transform" and it will check to see if it is valid as-is or if it needs a vendor prefix. It returns the corrected camelCase property name (i.e. "WebkitTransform" or "MozTransform" or "transform" or null if no such property is found, like if the browser is IE8 or before, "transform" won't be found at all)
_checkPropPrefix = function(p, e) {
e = e || _tempDiv;
var s = e.style,
@@ -2164,7 +2159,7 @@
* @param {string=} dflt Default value that should be returned in the place of null, "none", "auto" or "auto auto".
* @return {?string} The current property value
*/
- _getStyle = CSSPlugin.getStyle = function(t, p, cs, calc, dflt) {
+ _getStyle = CSSPlugin.getStyle = function(t, p, cs, calc, dflt) {
var rv;
if (!_supportsOpacity) if (p === "opacity") { //several versions of IE don't use the standard "opacity" property - they use things like filter:alpha(opacity=50), so we parse that here.
return _getIEOpacity(t);
@@ -2181,7 +2176,7 @@
return (dflt != null && (!rv || rv === "none" || rv === "auto" || rv === "auto auto")) ? dflt : rv;
},
- //@private returns at object containing ALL of the style properties in camelCase and their associated values.
+ //@private returns at object containing ALL of the style properties in camelCase and their associated values.
_getAllStyles = function(t, cs, keepOverwritten) {
var s = {},
pt = t._gsOverwrittenClassNamePT,
@@ -2230,7 +2225,7 @@
return s;
},
- //@private analyzes two style objects (as returned by _getAllStyles()) and only looks for differences between them that contain tweenable values (like a number or color). It returns an object a "difs" property which refers to an object containing only those isolated properties and values for tweening, and a "firstMPT" property which refers to the first MiniPropTween instance in a linked list that recorded all the starting values of the different properties so that we can revert to them at the end or beginning of the tween - we don't want the cascading to get messed up
+ //@private analyzes two style objects (as returned by _getAllStyles()) and only looks for differences between them that contain tweenable values (like a number or color). It returns an object a "difs" property which refers to an object containing only those isolated properties and values for tweening, and a "firstMPT" property which refers to the first MiniPropTween instance in a linked list that recorded all the starting values of the different properties so that we can revert to them at the end or beginning of the tween - we don't want the cascading to get messed up
_cssDif = function(t, s1, s2, vars) {
var difs = {},
style = t.style,
@@ -2262,7 +2257,7 @@
* @param {Object=} cs Computed style object (if one exists). Just a speed optimization.
* @return {number} Dimension (in pixels)
*/
- _getDimension = function(t, p, cs) {
+ _getDimension = function(t, p, cs) {
var v = parseFloat((p === "width") ? t.offsetWidth : t.offsetHeight),
a = _dimensions[p],
i = a.length;
@@ -2283,7 +2278,7 @@
* @param {boolean=} recurse If true, the call is a recursive one. In some browsers (like IE7/8), occasionally the value isn't accurately reported initially, but if we run the function again it will take effect.
* @return {number} value in pixels
*/
- _convertToPixels = function(t, p, v, sfx, recurse) {
+ _convertToPixels = function(t, p, v, sfx, recurse) {
if (sfx === "px" || !sfx) { return v; }
if (sfx === "auto" || !v) { return 0; }
var horiz = _horizExp.test(p),
@@ -2314,7 +2309,7 @@
return neg ? -pix : pix;
},
- //@private Parses position-related complex strings like "top left" or "50px 10px" or "70% 20%", etc. which are used for things like transformOrigin or backgroundPosition. Optionally decorates a supplied object (recObj) with the following properties: "ox" (offsetX), "oy" (offsetY), "oxp" (if true, "ox" is a percentage not a pixel value), and "oxy" (if true, "oy" is a percentage not a pixel value)
+ //@private Parses position-related complex strings like "top left" or "50px 10px" or "70% 20%", etc. which are used for things like transformOrigin or backgroundPosition. Optionally decorates a supplied object (recObj) with the following properties: "ox" (offsetX), "oy" (offsetY), "oxp" (if true, "ox" is a percentage not a pixel value), and "oxy" (if true, "oy" is a percentage not a pixel value)
_parsePosition = function(v, recObj) {
if (v == null || v === "" || v === "auto" || v === "auto auto") { //note: Firefox uses "auto auto" as default whereas Chrome uses "auto".
v = "0 0";
@@ -2347,7 +2342,7 @@
* @param {(number|string)} b Beginning value which is typically a string but could be a number
* @return {number} Amount of change between the beginning and ending values (relative values that have a "+=" or "-=" are recognized)
*/
- _parseChange = function(e, b) {
+ _parseChange = function(e, b) {
return (typeof(e) === "string" && e.charAt(1) === "=") ? parseInt(e.charAt(0) + "1") * parseFloat(e.substr(2)) : parseFloat(e) - parseFloat(b);
},
@@ -2357,8 +2352,8 @@
* @param {!number} d Default value (which is also used for relative calculations if "+=" or "-=" is found in the first parameter)
* @return {number} Parsed value
*/
- _parseVal = function(v, d) {
- return (v == null) ? d : (typeof(v) === "string" && v.charAt(1) === "=") ? parseInt(v.charAt(0) + "1") * Number(v.substr(2)) + d : Number(v);
+ _parseVal = function(v, d) {
+ return (v == null) ? d : (typeof(v) === "string" && v.charAt(1) === "=") ? parseInt(v.charAt(0) + "1") * Number(v.substr(2)) + d : parseFloat(v);
},
/**
@@ -2367,7 +2362,7 @@
* @param {!number} d Default value (which is also used for relative calculations if "+=" or "-=" is found in the first parameter)
* @return {number} parsed angle in radians
*/
- _parseAngle = function(v, d) {
+ _parseAngle = function(v, d) {
if (v == null) {
return d;
}
@@ -2383,7 +2378,7 @@
* @param {number} b beginning value
* @return {number} rotation value in radians
*/
- _parseShortRotation = function(e, b) {
+ _parseShortRotation = function(e, b) {
var r = (typeof(e) === "number") ? e * _DEG2RAD : _parseAngle(e, b),
dif = (r - b) % (Math.PI * 2);
if (dif !== dif % Math.PI) {
@@ -2418,7 +2413,7 @@
* @param {(string|number)} v The value the should be parsed which could be a string like #9F0 or rgb(255,102,51) or rgba(255,0,0,0.5) or it could be a number like 0xFF00CC or even a named color like red, blue, purple, etc.
* @return {Array.<number>} An array containing red, green, and blue (and optionally alpha) in that order.
*/
- _parseColor = function(v) {
+ _parseColor = function(v) {
if (!v || v === "") {
return _colorLookup.black;
} else if (_colorLookup[v]) {
@@ -2508,7 +2503,7 @@
* @param {!string} props a comma-delimited list of property names in order from top to left, like "marginTop,marginRight,marginBottom,marginLeft"
* @return {Function} a formatter function
*/
- _getEdgeParser = function(props) {
+ _getEdgeParser = function(props) {
props = props.split(",");
return function(t, e, p, cssp, pt, plugin, vars) {
var a = (e + "").split(" "),
@@ -2521,7 +2516,7 @@
};
},
- //@private used when other plugins must tween values first, like BezierPlugin or ThrowPropsPlugin, etc. That plugin's setRatio() gets called first so that the values are updated, and then we loop through the MiniPropTweens which handle copying the values into their appropriate slots so that they can then be applied correctly in the main CSSPlugin setRatio() method. Remember, we typically create a proxy object that has a bunch of uniquely-named properties that we feed to the sub-plugin and it does its magic normally, and then we must interpret those values and apply them to the css because often numbers must get combined/concatenated, suffixes added, etc. to work with css, like boxShadow could have 4 values plus a color.
+ //@private used when other plugins must tween values first, like BezierPlugin or ThrowPropsPlugin, etc. That plugin's setRatio() gets called first so that the values are updated, and then we loop through the MiniPropTweens which handle copying the values into their appropriate slots so that they can then be applied correctly in the main CSSPlugin setRatio() method. Remember, we typically create a proxy object that has a bunch of uniquely-named properties that we feed to the sub-plugin and it does its magic normally, and then we must interpret those values and apply them to the css because often numbers must get combined/concatenated, suffixes added, etc. to work with css, like boxShadow could have 4 values plus a color.
_setPluginRatio = _internals._setPluginRatio = function(v) {
this.plugin.setRatio(v);
var d = this.data,
@@ -2540,7 +2535,6 @@
mpt = mpt._next;
}
if (d.autoRotate) {
- //_log("set rotation to "+(proxy.rotation*_RAD2DEG));
d.autoRotate.rotation = proxy.rotation;
}
//at the end, we must set the CSSPropTween's "e" (end) value dynamically here because that's what is used in the final setRatio() method.
@@ -2570,7 +2564,7 @@
* @param {MiniPropTween=} next next MiniPropTween in the linked list
* @param {boolean=} r if true, the tweened value should be rounded to the nearest integer
*/
- MiniPropTween = function(t, p, v, next, r) {
+ MiniPropTween = function(t, p, v, next, r) {
this.t = t;
this.p = p;
this.v = v;
@@ -2596,7 +2590,7 @@
* @param {boolean=} shallow if true, the resulting linked list from the parse will NOT be attached to the CSSPropTween that was passed in as the "pt" (4th) parameter.
* @return An object containing the following properties: proxy, end, firstMPT, and pt (see above for descriptions)
*/
- _parseToProxy = _internals._parseToProxy = function(t, vars, cssp, pt, plugin, shallow) {
+ _parseToProxy = _internals._parseToProxy = function(t, vars, cssp, pt, plugin, shallow) {
var bpt = pt,
start = {},
end = {},
@@ -2666,7 +2660,7 @@
* @param {string=} b Beginning value. We store this to ensure that it is EXACTLY what it was when the tween began without any risk of interpretation issues.
* @param {string=} e Ending value. We store this to ensure that it is EXACTLY what the user defined at the end of the tween without any risk of interpretation issues.
*/
- CSSPropTween = _internals.CSSPropTween = function(t, p, s, c, next, type, n, r, pr, b, e) {
+ CSSPropTween = _internals.CSSPropTween = function(t, p, s, c, next, type, n, r, pr, b, e) {
this.t = t; //target
this.p = p; //property
this.s = s; //starting value
@@ -2707,7 +2701,7 @@
* @param {function(number)=} setRatio If values should be set in a custom function instead of being pieced together in a type:1 (complex-value) CSSPropTween, define that custom function here.
* @return {CSSPropTween} The first CSSPropTween in the linked list which includes the new one(s) added by the parseComplex() call.
*/
- _parseComplex = CSSPlugin.parseComplex = function(t, p, b, e, clrs, dflt, pt, pr, plugin, setRatio) {
+ _parseComplex = CSSPlugin.parseComplex = function(t, p, b, e, clrs, dflt, pt, pr, plugin, setRatio) {
//DEBUG: _log("parseComplex: "+p+", b: "+b+", e: "+e);
pt = new CSSPropTween(t, p, 0, 0, pt, (setRatio ? 2 : 1), null, false, pr, b, e);
var ba = b.split(", ").join(",").split(" "), //beginning array
@@ -2731,7 +2725,7 @@
if (bn || bn === 0) {
pt.appendXtra("", bn, _parseChange(ev, bn), ev.replace(_relNumExp, ""), (autoRound && ev.indexOf("px") !== -1), true);
- //if the value is a color
+ //if the value is a color
} else if (clrs && (bv.charAt(0) === "#" || bv.indexOf("rgb") === 0 || _colorLookup[bv])) {
bv = _parseColor(bv);
ev = _parseColor(ev);
@@ -2757,7 +2751,7 @@
if (!bnums) {
pt["xs" + pt.l] += pt.l ? " " + bv : bv;
- //loop through all the numbers that are found and construct the extra values on the pt.
+ //loop through all the numbers that are found and construct the extra values on the pt.
} else {
enums = ev.match(_relNumExp); //get each group of numbers in the end value string and drop them into an array. We allow relative values too, like +=50 or -=.5
if (!enums || enums.length !== bnums.length) {
@@ -2865,7 +2859,7 @@
this.pr = pr || 0;
},
- //shortcut for creating a new SpecialProp that can accept multiple properties as a comma-delimited list (helps minification). dflt can be an array for multiple values (we don't do a comma-delimited list because the default value may contain commas, like rect(0px,0px,0px,0px)). We attach this method to the SpecialProp class/object instead of using a private _createSpecialProp() method so that we can tap into it externally if necessary, like from another plugin.
+ //shortcut for creating a new SpecialProp that can accept multiple properties as a comma-delimited list (helps minification). dflt can be an array for multiple values (we don't do a comma-delimited list because the default value may contain commas, like rect(0px,0px,0px,0px)). We attach this method to the SpecialProp class/object instead of using a private _createSpecialProp() method so that we can tap into it externally if necessary, like from another plugin.
_registerComplexSpecialProp = _internals._registerComplexSpecialProp = function(p, dflt, parser, vpfx, clrs, formatter, pr) {
var a = p.split(","),
da = (dflt instanceof Array) ? dflt : [dflt],
@@ -2875,7 +2869,7 @@
temp = new SpecialProp(a[i], da[i], parser, (vpfx && i === 0), clrs, formatter, pr);
}
},
- //creates a placeholder special prop for a plugin so that the property gets caught the first time a tween of it is attempted, and at that time it makes the plugin register itself, thus taking over for all future tweens of that property. This allows us to not mandate that things load in a particular order and it also allows us to log() an error that informs the user when they attempt to tween an external plugin-related property without loading its .js file.
+ //creates a placeholder special prop for a plugin so that the property gets caught the first time a tween of it is attempted, and at that time it makes the plugin register itself, thus taking over for all future tweens of that property. This allows us to not mandate that things load in a particular order and it also allows us to log() an error that informs the user when they attempt to tween an external plugin-related property without loading its .js file.
_registerPluginProp = function(p) {
if (!_specialProps[p]) {
var pluginName = p.charAt(0).toUpperCase() + p.substr(1) + "Plugin";
@@ -2981,7 +2975,7 @@
* @param {boolean=} rec if true, the transform values will be recorded to the target element's _gsTransform object, like target._gsTransform = {x:0, y:0, z:0, scaleX:1...}
* @return {object} object containing all of the transform properties/values like {x:0, y:0, z:0, scaleX:1...}
*/
- _getTransform = function(t, cs, rec) {
+ _getTransform = function(t, cs, rec) {
var tm = rec ? t._gsTransform || {skewY:0} : {skewY:0},
invX = (tm.scaleX < 0), //in order to interpret things properly, we need to know if the user applied a negative scaleX previously so that we can adjust the rotation and skewX accordingly. Otherwise, if we always interpret a flipped matrix as affecting scaleY and the user only wants to tween the scaleX on multiple sequential tweens, it would keep the negative scaleY without that being the user's intent.
min = 0.000001,
@@ -3136,7 +3130,7 @@
}
return tm;
},
- //for setting 2D transforms in IE6, IE7, and IE8 (must use a "filter" to emulate the behavior of modern day browser transforms)
+ //for setting 2D transforms in IE6, IE7, and IE8 (must use a "filter" to emulate the behavior of modern day browser transforms)
_setIETransformRatio = function(v) {
var t = this.data, //refers to the element's _gsTransform object
ang = -t.rotation,
@@ -3300,7 +3294,6 @@
a34 = (((a34 + t.z)* big) >> 0) * sml;
style[_transformProp] = "matrix3d(" + (((a11 * big) >> 0) * sml) + cma + (((a21 * big) >> 0) * sml) + cma + (((a31 * big) >> 0) * sml) + cma + (((a41 * big) >> 0) * sml) + cma + (((a12 * big) >> 0) * sml) + cma + (((a22 * big) >> 0) * sml) + cma + (((a32 * big) >> 0) * sml) + cma + (((a42 * big) >> 0) * sml) + cma + (((a13 * big) >> 0) * sml) + cma + (((a23 * big) >> 0) * sml) + cma + (((a33 * big) >> 0) * sml) + cma + (((a43 * big) >> 0) * sml) + cma + (((a14 * big) >> 0) * sml) + cma + (((a24 * big) >> 0) * sml) + cma + a34 + cma + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
-
},
_set2DTransformRatio = function(v) {
var t = this.data; //refers to the element's _gsTransform object
@@ -3358,6 +3351,7 @@
m2.rotationY = 0;
}
}
+ m2.skewX = (v.skewX == null) ? m1.skewX : (typeof(v.skewX) === "number") ? v.skewX * _DEG2RAD : _parseAngle(v.skewX, m1.skewX);
//note: for performance reasons, we combine all skewing into the skewX and rotation values, ignoring skewY but we must still record it so that we can discern how much of the overall skew is attributed to skewX vs. skewY. Otherwise, if the skewY would always act relative (tween skewY to 10deg, for example, multiple times and if we always combine things into skewX, we can't remember that skewY was 10 from last time). Remember, a skewY of 10 degrees looks the same as a rotation of 10 degrees plus a skewX of -10 degrees.
m2.skewY = (v.skewY == null) ? m1.skewY : (typeof(v.skewY) === "number") ? v.skewY * _DEG2RAD : _parseAngle(v.skewY, m1.skewY);
@@ -3382,7 +3376,7 @@
m2.scaleZ = 1; //no need to tween scaleZ.
}
- pt = cssp._enableTransforms(has3D, pt, plugin);
+ cssp._transformType = has3D ? 3 : 2; //quicker than calling cssp._enableTransforms();
while (--i > -1) {
p = _transformProps[i];
@@ -3415,13 +3409,13 @@
pt.xs0 = pt.e = style[p] = orig;
}
- //for older versions of IE (6-8), we need to manually calculate things inside the setRatio() function. We record origin x and y (ox and oy) and whether or not the values are percentages (oxp and oyp).
+ //for older versions of IE (6-8), we need to manually calculate things inside the setRatio() function. We record origin x and y (ox and oy) and whether or not the values are percentages (oxp and oyp).
} else {
_parsePosition(orig + "", m1);
}
}
- if (pt.t === t) { //if no tweenable properties are found, remove the "transform" CSSPropTween from the linked list and return the original one that was passed in.
+ if (pt && pt.t === t) { //if no tweenable properties are found, remove the "transform" CSSPropTween from the linked list and return the original one that was passed in.
if (pt._next) {
pt._next._prev = null;
}
@@ -3433,6 +3427,7 @@
+
_registerComplexSpecialProp("boxShadow", "0px 0px 0px 0px #999", null, true, true);
_registerComplexSpecialProp("borderRadius", "0px", function(t, e, p, cssp, pt, plugin) {
e = this.format(e);
@@ -3524,33 +3519,33 @@
_registerComplexSpecialProp("textShadow", "0px 0px 0px #999", null, false, true);
_registerComplexSpecialProp("autoRound", null, function(t, e, p, cssp, pt) {return pt;}); //just so that we can ignore "autoRound"
_registerComplexSpecialProp("border", "0px solid #000", function(t, e, p, cssp, pt, plugin) {
- return this.parseComplex(t.style, this.format(_getStyle(t, "borderTopWidth", _cs, false, "0px") + " " + _getStyle(t, "borderTopStyle", _cs, false, "solid") + " " + _getStyle(t, "borderTopColor", _cs, false, "#000")), this.format(e), pt, plugin);
- }, false, true, function(v) {
- var a = v.split(" ");
- return a[0] + " " + (a[1] || "solid") + " " + (v.match(_colorExp) || ["#000"])[0];
- });
+ return this.parseComplex(t.style, this.format(_getStyle(t, "borderTopWidth", _cs, false, "0px") + " " + _getStyle(t, "borderTopStyle", _cs, false, "solid") + " " + _getStyle(t, "borderTopColor", _cs, false, "#000")), this.format(e), pt, plugin);
+ }, false, true, function(v) {
+ var a = v.split(" ");
+ return a[0] + " " + (a[1] || "solid") + " " + (v.match(_colorExp) || ["#000"])[0];
+ });
//opacity-related
var _setIEOpacityRatio = function(v) {
- var t = this.t,
- val = this.s + this.c * v,
- skip;
- if (val === 100) { //for older versions of IE that need to use a filter to apply opacity, we should remove the filter if opacity hits 1 in order to improve performance.
- t.removeAttribute("filter");
- skip = (!_getStyle(this.data, "filter")); //if a class is applied that has an alpha filter, it will take effect (we don't want that), so re-apply our alpha filter in that case. We must first remove it and then check.
- }
- if (!skip) {
- if (this.xn1) {
- t.filter = t.filter || "alpha(opacity=100)"; //works around bug in IE7/8 that prevents changes to "visibility" from being applied properly if the filter is changed to a different alpha on the same frame.
- }
- if (t.filter.indexOf("opacity") === -1) { //only used if browser doesn't support the standard opacity style property (IE 7 and 8)
- t.filter += " alpha(opacity=" + (val >> 0) + ")"; //we round the value because otherwise, bugs in IE7/8 can prevent "visibility" changes from being applied properly.
- } else {
- t.filter = t.filter.replace(_opacityExp, "opacity=" + (val >> 0));
+ var t = this.t,
+ val = this.s + this.c * v,
+ skip;
+ if (val === 100) { //for older versions of IE that need to use a filter to apply opacity, we should remove the filter if opacity hits 1 in order to improve performance.
+ t.removeAttribute("filter");
+ skip = (!_getStyle(this.data, "filter")); //if a class is applied that has an alpha filter, it will take effect (we don't want that), so re-apply our alpha filter in that case. We must first remove it and then check.
+ }
+ if (!skip) {
+ if (this.xn1) {
+ t.filter = t.filter || "alpha(opacity=100)"; //works around bug in IE7/8 that prevents changes to "visibility" from being applied properly if the filter is changed to a different alpha on the same frame.
+ }
+ if (t.filter.indexOf("opacity") === -1) { //only used if browser doesn't support the standard opacity style property (IE 7 and 8)
+ t.filter += " alpha(opacity=" + (val >> 0) + ")"; //we round the value because otherwise, bugs in IE7/8 can prevent "visibility" changes from being applied properly.
+ } else {
+ t.filter = t.filter.replace(_opacityExp, "opacity=" + (val >> 0));
+ }
}
- }
- };
+ };
_registerComplexSpecialProp("opacity,alpha,autoAlpha", "1", function(t, e, p, cssp, pt, plugin) {
var b = parseFloat(_getStyle(t, "opacity", _cs, false, "1")),
e = parseFloat(e),
@@ -3650,7 +3645,7 @@
_cs = _getComputedStyle(target, "");
_overwriteProps = this._overwriteProps;
var style = target.style,
- v, pt, pt2, first, last, next;
+ v, pt, pt2, first, last, next, zIndex, tpt, threeD;
if (_reqSafariFix) if (style.zIndex === "") {
v = _getStyle(target, "zIndex", _cs);
@@ -3673,6 +3668,39 @@
}
this._firstPT = pt = this.parse(target, vars, null);
+ if (this._transformType) {
+ threeD = (this._transformType === 3);
+ if (!_transformProp) {
+ style.zoom = 1; //helps correct an IE issue.
+ } else if (_isSafari) {
+ _reqSafariFix = true;
+ //if zIndex isn't set, iOS Safari doesn't repaint things correctly sometimes (seemingly at random).
+ if (style.zIndex === "") {
+ zIndex = _getStyle(target, "zIndex", _cs);
+ if (zIndex === "auto" || zIndex === "") {
+ style.zIndex = 0;
+ }
+ }
+ //Setting WebkitBackfaceVisibility corrects 3 bugs:
+ // 1) [non-Android] Safari skips rendering changes to "top" and "left" that are made on the same frame/render as a transform update.
+ // 2) iOS Safari sometimes neglects to repaint elements in their new positions. Setting "WebkitPerspective" to a non-zero value worked too except that on iOS Safari things would flicker randomly.
+ // 3) Safari sometimes displayed odd artifacts when tweening the transform (or WebkitTransform) property, like ghosts of the edges of the element remained. Definitely a browser bug.
+ //Note: we allow the user to override the auto-setting by defining WebkitBackfaceVisibility in the vars of the tween.
+ if (_isSafariLT6) {
+ style.WebkitBackfaceVisibility = this._vars.WebkitBackfaceVisibility || (threeD ? "visible" : "hidden");
+ }
+ }
+ pt2 = pt;
+ while (pt2 && pt2._next) {
+ pt2 = pt2._next;
+ }
+ tpt = new CSSPropTween(target, "transform", 0, 0, null, 2);
+ this._linkCSSP(tpt, null, pt2);
+ tpt.setRatio = (threeD && _supports3D) ? _set3DTransformRatio : _transformProp ? _set2DTransformRatio : _setIETransformRatio;
+ tpt.data = this._transform || _getTransform(target, _cs, true);
+ _overwriteProps.pop(); //we don't want to force the overwrite of all "transform" tweens of the target - we only care about individual transform properties like scaleX, rotation, etc. The CSSPropTween constructor automatically adds the property to _overwriteProps which is why we need to pop() here.
+ }
+
if (_hasPriority) {
//reorders the linked list in order of pr (priority)
while (pt) {
@@ -3765,7 +3793,7 @@
} else if (esfx === "em") {
bn /= _convertToPixels(target, p, 1, "em");
- //otherwise convert to pixels.
+ //otherwise convert to pixels.
} else {
en = _convertToPixels(target, p, en, esfx);
esfx = "px"; //we don't use bsfx after this, so we don't need to set it to px too.
@@ -3868,58 +3896,20 @@
/**
* @private
* Forces rendering of the target's transforms (rotation, scale, etc.) whenever the CSSPlugin's setRatio() is called.
- * Basically, this creates a CSSPropTween (type 2) that calls the appropriate (3D or 2D) function. We separate this into
- * its own method so that we can call it from other plugins like BezierPlugin if, for example, it needs to apply an autoRotation
- * and this CSSPlugin doesn't have any transform-related properties of its own. You can call this method as many times as you
+ * Basically, this tells the CSSPlugin to create a CSSPropTween (type 2) after instantiation that runs last in the linked
+ * list and calls the appropriate (3D or 2D) rendering function. We separate this into its own method so that we can call
+ * it from other plugins like BezierPlugin if, for example, it needs to apply an autoRotation and this CSSPlugin
+ * doesn't have any transform-related properties of its own. You can call this method as many times as you
* want and it won't create duplicate CSSPropTweens.
*
* @param {boolean} threeD if true, it should apply 3D tweens (otherwise, just 2D ones are fine and typically faster)
- * @param {CSSPropTween=} pt the next CSSPropTween in the linked list
- * @param {TweenPlugin=} plugin if another TweenPlugin is handling this transform, pass a reference of the instance here.
- * @return {CSSPropTween}
*/
- p._enableTransforms = function(threeD, pt, plugin) {
- var tpt = this._transformPT,
- t = this._target,
- style = t.style,
- zIndex;
-
- if (!tpt) {
- if (!_transformProp) {
- style.zoom = 1; //helps correct an IE issue.
- } else if (_isSafari) {
- _reqSafariFix = true;
- //if zIndex isn't set, iOS Safari doesn't repaint things correctly sometimes (seemingly at random).
- if (style.zIndex === "") {
- zIndex = _getStyle(t, "zIndex", _cs);
- if (zIndex === "auto" || zIndex === "") {
- style.zIndex = 0;
- }
- }
-
- //Setting WebkitBackfaceVisibility corrects 3 bugs:
- // 1) [non-Android] Safari skips rendering changes to "top" and "left" that are made on the same frame/render as a transform update.
- // 2) iOS Safari sometimes neglects to repaint elements in their new positions. Setting "WebkitPerspective" to a non-zero value worked too except that on iOS Safari things would flicker randomly.
- // 3) Safari sometimes displayed odd artifacts when tweening the transform (or WebkitTransform) property, like ghosts of the edges of the element remained. Definitely a browser bug.
- //Note: we allow the user to override the auto-setting by defining WebkitBackfaceVisibility in the vars of the tween.
- if (_isSafariLT6) {
- style.WebkitBackfaceVisibility = this._vars.WebkitBackfaceVisibility || (threeD ? "visible" : "hidden");
- }
- }
-
- this._transformPT = pt = new CSSPropTween(t, "transform", 0, 0, pt, 2);
- pt.setRatio = (threeD && _supports3D) ? _set3DTransformRatio : _transformProp ? _set2DTransformRatio : _setIETransformRatio;
- pt.plugin = plugin;
- pt.data = this._transform || _getTransform(t, _cs, true);
- _overwriteProps.pop(); //we don't want to force the overwrite of all "transform" tweens of the target - we only care about individual transform properties like scaleX, rotation, etc. The CSSPropTween constructor automatically adds the property to _overwriteProps which is why we need to pop() here.
- } else if (threeD && _supports3D) {
- tpt.setRatio = _set3DTransformRatio;
- }
- return pt;
+ p._enableTransforms = function(threeD) {
+ this._transformType = (threeD || this._transformType === 3) ? 3 : 2;
};
/** @private **/
- p._linkCSSP = function(pt, next, prev) {
+ p._linkCSSP = function(pt, next, prev, remove) {
if (pt) {
if (next) {
next._prev = pt;
@@ -3929,6 +3919,8 @@
}
if (prev) {
prev._next = pt;
+ } else if (!remove && this._firstPT === null) {
+ this._firstPT = pt;
}
if (pt._prev) {
pt._prev._next = pt._next;
diff --git a/src/uncompressed/plugins/BezierPlugin.js b/src/uncompressed/plugins/BezierPlugin.js
index 9230026..f7c223f 100755
--- a/src/uncompressed/plugins/BezierPlugin.js
+++ b/src/uncompressed/plugins/BezierPlugin.js
@@ -1,5 +1,5 @@
/**
- * VERSION: beta 1.14
+ * VERSION: beta 1.15
* DATE: 2012-12-14
* JavaScript (also available in AS3 and AS2)
* UPDATES AND DOCS AT: http://www.greensock.com
@@ -332,11 +332,7 @@
}
if (v.autoRotate) {
if (!cssp._transform) {
- transPT = cssp._enableTransforms(false, pt, plugin);
- transPT._next = pt._next; //flip-flop the order because we need the autoRotation to get set first before the rotation transform is applied to the css.
- transPT._prev = pt;
- pt._next = transPT;
- pt._prev = null;
+ cssp._enableTransforms(false);
}
data.autoRotate = cssp._target._gsTransform;
}
@@ -403,7 +399,7 @@
}
}
return true;
- }
+ };
//gets called every time the tween updates, passing the new ratio (typically a value between 0 and 1, but not always (for example, if an Elastic.easeOut is used, the value can jump above 1 mid-tween). It will always start and 0 and end at 1.
p.setRatio = function(v) {
@@ -471,7 +467,6 @@
if (this._round[p]) {
val = (val + ((val > 0) ? 0.5 : -0.5)) >> 0;
}
- //console.log(p+": "+val);
if (func[p]) {
target[p](val);
} else {
@@ -509,7 +504,7 @@
}
}
}
- }
+ };
p._roundProps = function(lookup, value) {
var op = this._overwriteProps,
@@ -519,7 +514,7 @@
this._round[op[i]] = value;
}
}
- }
+ };
p._kill = function(lookup) {
var a = this._props,
@@ -537,7 +532,7 @@
}
}
return TweenPlugin.prototype._kill.call(this, lookup);
- }
+ };
TweenPlugin.activate([BezierPlugin]);
return BezierPlugin;
diff --git a/src/uncompressed/plugins/CSSPlugin.js b/src/uncompressed/plugins/CSSPlugin.js
index cd2293a..4a3782d 100755
--- a/src/uncompressed/plugins/CSSPlugin.js
+++ b/src/uncompressed/plugins/CSSPlugin.js
@@ -1,5 +1,5 @@
/*!
- * VERSION: beta 1.66
+ * VERSION: beta 1.661
* DATE: 2012-12-14
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
@@ -29,7 +29,7 @@
p = CSSPlugin.prototype = new TweenPlugin("css");
p.constructor = CSSPlugin;
- CSSPlugin.version = 1.66;
+ CSSPlugin.version = 1.661;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -319,7 +319,7 @@
* @return {number} Parsed value
*/
_parseVal = function(v, d) {
- return (v == null) ? d : (typeof(v) === "string" && v.charAt(1) === "=") ? parseInt(v.charAt(0) + "1") * Number(v.substr(2)) + d : Number(v);
+ return (v == null) ? d : (typeof(v) === "string" && v.charAt(1) === "=") ? parseInt(v.charAt(0) + "1") * Number(v.substr(2)) + d : parseFloat(v);
},
/**
@@ -501,7 +501,6 @@
mpt = mpt._next;
}
if (d.autoRotate) {
- //_log("set rotation to "+(proxy.rotation*_RAD2DEG));
d.autoRotate.rotation = proxy.rotation;
}
//at the end, we must set the CSSPropTween's "e" (end) value dynamically here because that's what is used in the final setRatio() method.
@@ -1363,6 +1362,7 @@
m2.rotationY = 0;
}
}
+ m2.skewX = (v.skewX == null) ? m1.skewX : (typeof(v.skewX) === "number") ? v.skewX * _DEG2RAD : _parseAngle(v.skewX, m1.skewX);
//note: for performance reasons, we combine all skewing into the skewX and rotation values, ignoring skewY but we must still record it so that we can discern how much of the overall skew is attributed to skewX vs. skewY. Otherwise, if the skewY would always act relative (tween skewY to 10deg, for example, multiple times and if we always combine things into skewX, we can't remember that skewY was 10 from last time). Remember, a skewY of 10 degrees looks the same as a rotation of 10 degrees plus a skewX of -10 degrees.
m2.skewY = (v.skewY == null) ? m1.skewY : (typeof(v.skewY) === "number") ? v.skewY * _DEG2RAD : _parseAngle(v.skewY, m1.skewY);
@@ -1387,7 +1387,7 @@
m2.scaleZ = 1; //no need to tween scaleZ.
}
- pt = cssp._enableTransforms(has3D, pt, plugin);
+ cssp._transformType = has3D ? 3 : 2; //quicker than calling cssp._enableTransforms();
while (--i > -1) {
p = _transformProps[i];
@@ -1426,7 +1426,7 @@
}
}
- if (pt.t === t) { //if no tweenable properties are found, remove the "transform" CSSPropTween from the linked list and return the original one that was passed in.
+ if (pt && pt.t === t) { //if no tweenable properties are found, remove the "transform" CSSPropTween from the linked list and return the original one that was passed in.
if (pt._next) {
pt._next._prev = null;
}
@@ -1692,7 +1692,7 @@
_cs = _getComputedStyle(target, "");
_overwriteProps = this._overwriteProps;
var style = target.style,
- v, pt, pt2, first, last, next;
+ v, pt, pt2, first, last, next, zIndex, tpt, threeD;
if (_reqSafariFix) if (style.zIndex === "") {
v = _getStyle(target, "zIndex", _cs);
@@ -1715,6 +1715,39 @@
}
this._firstPT = pt = this.parse(target, vars, null);
+ if (this._transformType) {
+ threeD = (this._transformType === 3);
+ if (!_transformProp) {
+ style.zoom = 1; //helps correct an IE issue.
+ } else if (_isSafari) {
+ _reqSafariFix = true;
+ //if zIndex isn't set, iOS Safari doesn't repaint things correctly sometimes (seemingly at random).
+ if (style.zIndex === "") {
+ zIndex = _getStyle(target, "zIndex", _cs);
+ if (zIndex === "auto" || zIndex === "") {
+ style.zIndex = 0;
+ }
+ }
+ //Setting WebkitBackfaceVisibility corrects 3 bugs:
+ // 1) [non-Android] Safari skips rendering changes to "top" and "left" that are made on the same frame/render as a transform update.
+ // 2) iOS Safari sometimes neglects to repaint elements in their new positions. Setting "WebkitPerspective" to a non-zero value worked too except that on iOS Safari things would flicker randomly.
+ // 3) Safari sometimes displayed odd artifacts when tweening the transform (or WebkitTransform) property, like ghosts of the edges of the element remained. Definitely a browser bug.
+ //Note: we allow the user to override the auto-setting by defining WebkitBackfaceVisibility in the vars of the tween.
+ if (_isSafariLT6) {
+ style.WebkitBackfaceVisibility = this._vars.WebkitBackfaceVisibility || (threeD ? "visible" : "hidden");
+ }
+ }
+ pt2 = pt;
+ while (pt2 && pt2._next) {
+ pt2 = pt2._next;
+ }
+ tpt = new CSSPropTween(target, "transform", 0, 0, null, 2);
+ this._linkCSSP(tpt, null, pt2);
+ tpt.setRatio = (threeD && _supports3D) ? _set3DTransformRatio : _transformProp ? _set2DTransformRatio : _setIETransformRatio;
+ tpt.data = this._transform || _getTransform(target, _cs, true);
+ _overwriteProps.pop(); //we don't want to force the overwrite of all "transform" tweens of the target - we only care about individual transform properties like scaleX, rotation, etc. The CSSPropTween constructor automatically adds the property to _overwriteProps which is why we need to pop() here.
+ }
+
if (_hasPriority) {
//reorders the linked list in order of pr (priority)
while (pt) {
@@ -1910,58 +1943,20 @@
/**
* @private
* Forces rendering of the target's transforms (rotation, scale, etc.) whenever the CSSPlugin's setRatio() is called.
- * Basically, this creates a CSSPropTween (type 2) that calls the appropriate (3D or 2D) function. We separate this into
- * its own method so that we can call it from other plugins like BezierPlugin if, for example, it needs to apply an autoRotation
- * and this CSSPlugin doesn't have any transform-related properties of its own. You can call this method as many times as you
+ * Basically, this tells the CSSPlugin to create a CSSPropTween (type 2) after instantiation that runs last in the linked
+ * list and calls the appropriate (3D or 2D) rendering function. We separate this into its own method so that we can call
+ * it from other plugins like BezierPlugin if, for example, it needs to apply an autoRotation and this CSSPlugin
+ * doesn't have any transform-related properties of its own. You can call this method as many times as you
* want and it won't create duplicate CSSPropTweens.
*
* @param {boolean} threeD if true, it should apply 3D tweens (otherwise, just 2D ones are fine and typically faster)
- * @param {CSSPropTween=} pt the next CSSPropTween in the linked list
- * @param {TweenPlugin=} plugin if another TweenPlugin is handling this transform, pass a reference of the instance here.
- * @return {CSSPropTween}
*/
- p._enableTransforms = function(threeD, pt, plugin) {
- var tpt = this._transformPT,
- t = this._target,
- style = t.style,
- zIndex;
-
- if (!tpt) {
- if (!_transformProp) {
- style.zoom = 1; //helps correct an IE issue.
- } else if (_isSafari) {
- _reqSafariFix = true;
- //if zIndex isn't set, iOS Safari doesn't repaint things correctly sometimes (seemingly at random).
- if (style.zIndex === "") {
- zIndex = _getStyle(t, "zIndex", _cs);
- if (zIndex === "auto" || zIndex === "") {
- style.zIndex = 0;
- }
- }
-
- //Setting WebkitBackfaceVisibility corrects 3 bugs:
- // 1) [non-Android] Safari skips rendering changes to "top" and "left" that are made on the same frame/render as a transform update.
- // 2) iOS Safari sometimes neglects to repaint elements in their new positions. Setting "WebkitPerspective" to a non-zero value worked too except that on iOS Safari things would flicker randomly.
- // 3) Safari sometimes displayed odd artifacts when tweening the transform (or WebkitTransform) property, like ghosts of the edges of the element remained. Definitely a browser bug.
- //Note: we allow the user to override the auto-setting by defining WebkitBackfaceVisibility in the vars of the tween.
- if (_isSafariLT6) {
- style.WebkitBackfaceVisibility = this._vars.WebkitBackfaceVisibility || (threeD ? "visible" : "hidden");
- }
- }
-
- this._transformPT = pt = new CSSPropTween(t, "transform", 0, 0, pt, 2);
- pt.setRatio = (threeD && _supports3D) ? _set3DTransformRatio : _transformProp ? _set2DTransformRatio : _setIETransformRatio;
- pt.plugin = plugin;
- pt.data = this._transform || _getTransform(t, _cs, true);
- _overwriteProps.pop(); //we don't want to force the overwrite of all "transform" tweens of the target - we only care about individual transform properties like scaleX, rotation, etc. The CSSPropTween constructor automatically adds the property to _overwriteProps which is why we need to pop() here.
- } else if (threeD && _supports3D) {
- tpt.setRatio = _set3DTransformRatio;
- }
- return pt;
+ p._enableTransforms = function(threeD) {
+ this._transformType = (threeD || this._transformType === 3) ? 3 : 2;
};
/** @private **/
- p._linkCSSP = function(pt, next, prev) {
+ p._linkCSSP = function(pt, next, prev, remove) {
if (pt) {
if (next) {
next._prev = pt;
@@ -1971,6 +1966,8 @@
}
if (prev) {
prev._next = pt;
+ } else if (!remove && this._firstPT === null) {
+ this._firstPT = pt;
}
if (pt._prev) {
pt._prev._next = pt._next;