text: /**
   * VERSION: beta 1.48
   * DATE: 2012-07-28
   * JavaScript (ActionScript 3 and 2 also available)
   * UPDATES AND DOCS AT: http://www.greensock.com
   * 
   * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, easing.EasePack, plugins.CSSPlugin, plugins.RoundPropsPlugin
   *
   * Copyright (c) 2008-2012, GreenSock. All rights reserved. 
   * This work is subject to the terms in http://www.greensock.com/terms_of_use.html or for 
   * corporate Club GreenSock members, the software agreement that was issued with the corporate 
   * membership.
   * 
   * @author: Jack Doyle, jack@greensock.com
   **/
  (window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,s,g){var q=function(b,d,h){g.call(this,b,d,h);this._cycle=0;this._yoyo=!0==this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},n=q.prototype=g.to({},0.1,{}),e=[];n.constructor=q;n.kill()._gc=!1;q.killTweensOf=q.killDelayedCallsTo=g.killTweensOf;q.getTweensOf=g.getTweensOf;q.ticker=g.ticker;n.invalidate=function(){this._yoyo= !0==this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return g.prototype.invalidate.call(this)};n.updateTo=function(b,d){var h=this.ratio,c;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(c in b)this.vars[c]=b[c];if(this._initted)if(d)this._initted=!1;else if(this._notifyPluginsOfEnabled&& this._firstPT&&g._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)h=this._time,this.render(0,!0,!1),this._initted=!1,this.render(h,!0,!1);else if(0<this._time){this._initted=!1;this._init();h=1/(1-h);c=this._firstPT;for(var f;c;)f=c.s+c.c,c.c*=h,c.s=f-c.c,c=c._next}return this};n.render=function(b,c,h){var d=!this._dirty?this._totalDuration:this.totalDuration(),f=this._time,g=this._totalTime,q=this._cycle,u,i;if(b>=d){if(this._totalTime=d,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||(u=!0,i="onComplete"),0===this._duration){if(0===b||0>this._rawPrevTime)this._rawPrevTime!==b&&(h=!0);this._rawPrevTime=b}}else if(0>=b){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==g||0===this._duration&&0<this._rawPrevTime)i="onReverseComplete",u=this._reversed; 0>b?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(h=!0),this._rawPrevTime=b)):this._initted||(h=!0)}else if(this._totalTime=this._time=b,0!==this._repeat&&((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:0>this._time&&(this._time=0)),this._easeType){var b= this._time/this._duration,d=this._easeType,F=this._easePower;if(1===d||3===d&&0.5<=b)b=1-b;3===d&&(b*=2);1===F?b*=b:2===F?b*=b*b:3===F?b*=b*b*b:4===F&&(b*=b*b*b*b);this.ratio=1===d?1-b:2===d?b:0.5>this._time/this._duration?b/2:1-b/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(f!==this._time||h){this._initted||(this._init(),!u&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0==g&&this.vars.onStart&&(0!== this._totalTime||0===this._duration))c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||e);for(h=this._firstPT;h;){if(h.f)h.t[h.p](h.c*this.ratio+h.s);else h.t[h.p]=h.c*this.ratio+h.s;h=h._next}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||e));this._cycle!=q&&(c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||e));i&&!this._gc&&(u&&(this._timeline.autoRemoveChildren&& this._enabled(!1,!1),this._active=!1),c||this.vars[i]&&this.vars[i].apply(this.vars[i+"Scope"]||this,this.vars[i+"Params"]||e))}};q.to=function(b,c,h){return new q(b,c,h)};q.from=function(b,c,h){h.runBackwards=!0;!1!=h.immediateRender&&(h.immediateRender=!0);return new q(b,c,h)};q.fromTo=function(b,c,h,d){d.startAt=h;h.immediateRender&&(d.immediateRender=!0);return new q(b,c,d)};q.staggerTo=q.allTo=function(b,c,h,d,f,e,g){var d=d||0,u=[],i=b.length,F=h.delay||0,m,y,n;for(y=0;y<i;y++){m={};for(n in h)m[n]= h[n];m.delay=F;y===i-1&&f&&(m.onComplete=function(){h.onComplete&&h.onComplete.apply(h.onCompleteScope,h.onCompleteParams);f.apply(g,e)});u[y]=new q(b[y],c,m);F+=d}return u};q.staggerFrom=q.allFrom=function(b,c,h,d,f,e,g){h.runBackwards=!0;!1!=h.immediateRender&&(h.immediateRender=!0);return q.staggerTo(b,c,h,d,f,e,g)};q.staggerFromTo=q.allFromTo=function(b,c,h,d,f,e,g,u){d.startAt=h;h.immediateRender&&(d.immediateRender=!0);return q.staggerTo(b,c,d,f,e,g,u)};q.delayedCall=function(b,d,h,c,f){return new q(d, 0,{delay:b,onComplete:d,onCompleteParams:h,onCompleteScope:c,onReverseComplete:d,onReverseCompleteParams:h,onReverseCompleteScope:c,immediateRender:!1,useFrames:f,overwrite:0})};q.set=function(b,d){return new q(b,0,d)};q.isTweening=function(b){for(var b=g.getTweensOf(b),d=b.length,h;-1<--d;)if((h=b[d])._active||h._startTime===h.timeline._time&&h.timeline._active)return!0;return!1};var f=function(b,d){for(var h=[],c=0,e=b._first;e;)e instanceof g?h[c++]=e:(d&&(h[c++]=e),h=h.concat(f(e,d)),c=h.length), e=e._next;return h},d=q.getAllTweens=function(b){return f(t._rootTimeline,b).concat(f(t._rootFramesTimeline,b))};q.killAll=function(b,c,h,f){null==c&&(c=!0);null==h&&(h=!0);for(var e=d(!1!=f),g=e.length,f=c&&h&&f,q,u;-1<--g;)if(u=e[g],f||u instanceof s||(q=u.target===u.vars.onComplete)&&h||c&&!q)b?u.totalTime(u.totalDuration()):u._enabled(!1,!1)};q.pauseAll=function(b,d,h){c(!0,b,d,h)};q.resumeAll=function(b,d,h){c(!1,b,d,h)};var c=function(b,c,h,f){void 0==c&&(c=!0);void 0==h&&(h=!0);for(var e=d(f), f=c&&h&&f,g=e.length,q,u;-1<--g;)u=e[g],(f||u instanceof s||(q=u.target===u.vars.onComplete)&&h||c&&!q)&&u.paused(b)};n.progress=function(b){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*b+this._cycle*this._duration,!1)};n.totalProgress=function(b){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*b,!1)};n.time=function(b,d){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,d)};n.totalDuration=function(b){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((b-this._repeat*this._repeatDelay)/ (this._repeat+1))};n.repeat=function(b){if(!arguments.length)return this._repeat;this._repeat=b;return this._uncache(!0)};n.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};n.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};return q},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,s,g){var q=function(d){s.call(this,d);this._labels={};this.autoRemoveChildren= !0==this.vars.autoRemoveChildren;this.smoothChildTiming=!0==this.vars.smoothChildTiming;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;for(var d=n.length,c,b;-1<--d;)if(b=this.vars[n[d]])for(c=b.length;-1<--c;)"{self}"===b[c]&&(b=this.vars[n[d]]=b.concat(),b[c]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},n=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams","onRepeatParams"],e= [],f=q.prototype=new s;f.constructor=q;f.kill()._gc=!1;f.to=function(d,c,b,f,h){return this.insert(new g(d,c,b),this._parseTimeOrLabel(h)+(f||0))};f.from=function(d,c,b,f,h){return this.insert(g.from(d,c,b),this._parseTimeOrLabel(h)+(f||0))};f.fromTo=function(d,c,b,f,h,e){return this.insert(g.fromTo(d,c,b,f),this._parseTimeOrLabel(e)+(h||0))};f.staggerTo=function(d,c,b,f,h,e,K,I,n){K=new q({onComplete:K,onCompleteParams:I,onCompleteScope:n});f=f||0;for(I=0;I<d.length;I++)K.insert(new g(d[I],c,b), I*f);return this.insert(K,this._parseTimeOrLabel(e)+(h||0))};f.staggerFrom=function(d,c,b,f,h,e,g,q,n){null==b.immediateRender&&(b.immediateRender=!0);b.runBackwards=!0;return this.staggerTo(d,c,b,f,h,e,g,q,n)};f.staggerFromTo=function(d,c,b,f,h,e,g,q,n,u){f.startAt=b;b.immediateRender&&(f.immediateRender=!0);return this.staggerTo(d,c,f,h,e,g,q,n,u)};f.call=function(d,c,b,f,h){return this.insert(g.delayedCall(0,d,c,b),this._parseTimeOrLabel(h)+(f||0))};f.set=function(d,c,b,f){c.immediateRender=!1; return this.insert(new g(d,0,c),this._parseTimeOrLabel(f)+(b||0))};q.exportRoot=function(d,c){d=d||{};null==d.smoothChildTiming&&(d.smoothChildTiming=!0);var b=new q(d),f=b._timeline;null==c&&(c=!0);f._remove(b,!0);b._startTime=0;b._rawPrevTime=b._time=b._totalTime=f._time;for(var h=f._first,e;h;)e=h._next,(!c||!(h instanceof g&&h.target==h.vars.onComplete))&&b.insert(h,h._startTime-h._delay),h=e;f.insert(b,0);return b};f.insert=function(d,c){if(!(d instanceof t)){if(d instanceof Array)return this.insertMultiple(d, c);if("string"===typeof d)return this.addLabel(d,this._parseTimeOrLabel(c||0,!0));if("function"===typeof d)d=g.delayedCall(0,d);else throw"ERROR: Cannot insert() "+d+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}s.prototype.insert.call(this,d,this._parseTimeOrLabel(c||0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var b=this;b._gc&&b._timeline;)b._timeline.smoothChildTiming?b.totalTime(b._totalTime,!0): b._enabled(!0,!1),b=b._timeline;return this};f.remove=function(d){if(d instanceof t)return this._remove(d,!1);if(d instanceof Array){for(var c=d.length;-1<--c;)this.remove(d[c]);return this}return"string"===typeof d?this.removeLabel(d):this.kill(null,d)};f.append=function(d,c){return this.insert(d,this.duration()+(c||0))};f.insertMultiple=function(d,c,b,f){for(var b=b||"normal",f=f||0,h,e=this._parseTimeOrLabel(c||0,!0),g=d.length,c=0;c<g;c++){if((h=d[c])instanceof Array)h=new q({tweens:h});this.insert(h, e);"string"===typeof h||"function"===typeof h||("sequence"===b?e=h._startTime+h.totalDuration()/h._timeScale:"start"===b&&(h._startTime-=h.delay()));e+=f}return this._uncache(!0)};f.appendMultiple=function(d,c,b,f){return this.insertMultiple(d,this.duration()+(c||0),b,f)};f.addLabel=function(d,c){this._labels[d]=c;return this};f.removeLabel=function(d){delete this._labels[d];return this};f.getLabelTime=function(d){return null!=this._labels[d]?this._labels[d]:-1};f._parseTimeOrLabel=function(d,c){return null== d?this.duration():"string"===typeof d&&isNaN(d)?null==this._labels[d]?c?this._labels[d]=this.duration():0:this._labels[d]:Number(d)};f.seek=function(d,c){return this.totalTime(this._parseTimeOrLabel(d,!1),!1!=c)};f.stop=function(){return this.paused(!0)};f.gotoAndPlay=function(d,c){return s.prototype.play.call(this,d,c)};f.gotoAndStop=function(d,c){return this.pause(d,c)};f.render=function(d,c,b){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var f=!this._dirty?this._totalDuration:this.totalDuration(), h=this._time,g=this._startTime,q=this._timeScale,n=this._paused,G,u,i;if(d>=f){this._totalTime=this._time=f;if(!this._reversed&&!this._hasPausedChild()&&(G=!0,i="onComplete",0===this._duration&&(0===d||0>this._rawPrevTime)))this._rawPrevTime!==d&&(b=!0);this._rawPrevTime=d;d=f+1E-6}else if(0>=d){this._totalTime=this._time=0;if(0!==h||0===this._duration&&0<this._rawPrevTime)i="onReverseComplete",G=this._reversed;0>d?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(b=!0)):this._initted|| (b=!0);this._rawPrevTime=d;d=-1E-6}else this._totalTime=this._time=this._rawPrevTime=d;if(this._time!==h||b){this._initted||(this._initted=!0);0===h&&this.vars.onStart&&0!==this._time&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||e));if(this._time>h)for(b=this._first;b;){u=b._next;if(this._paused&&!n)break;else if(b._active||b._startTime<=this._time&&!b._paused&&!b._gc)b._reversed?b.render((!b._dirty?b._totalDuration:b.totalDuration())-(d-b._startTime)*b._timeScale, c,!1):b.render((d-b._startTime)*b._timeScale,c,!1);b=u}else for(b=this._last;b;){u=b._prev;if(this._paused&&!n)break;else if(b._active||b._startTime<=h&&!b._paused&&!b._gc)b._reversed?b.render((!b._dirty?b._totalDuration:b.totalDuration())-(d-b._startTime)*b._timeScale,c,!1):b.render((d-b._startTime)*b._timeScale,c,!1);b=u}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||e));if(i&&!this._gc&&(g===this._startTime||q!=this._timeScale))if(0===this._time|| f>=this.totalDuration())G&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[i]&&this.vars[i].apply(this.vars[i+"Scope"]||this,this.vars[i+"Params"]||e)}};f._hasPausedChild=function(){for(var d=this._first;d;){if(d._paused||d instanceof q&&d._hasPausedChild())return!0;d=d._next}return!1};f.getChildren=function(d,c,b,f){for(var f=f||-9999999999,h=[],e=this._first,q=0;e;)e._startTime<f||(e instanceof g?!1!=c&&(h[q++]=e):(!1!=b&&(h[q++]=e),!1!=d&&(h=h.concat(e.getChildren(!0, c,b)),q=h.length))),e=e._next;return h};f.getTweensOf=function(d,c){for(var b=g.getTweensOf(d),f=b.length,h=[],e=0;-1<--f;)if(b[f].timeline===this||c&&this._contains(b[f]))h[e++]=b[f];return h};f._contains=function(d){for(d=d.timeline;d;){if(d===this)return!0;d=d.timeline}return!1};f.shiftChildren=function(d,c,b){for(var b=b||0,f=this._first;f;)f._startTime>=b&&(f._startTime+=d),f=f._next;if(c)for(var h in this._labels)this._labels[h]>=b&&(this._labels[h]+=d);return this._uncache(!0)};f._kill=function(d, c){if(null==d&&null==c)return this._enabled(!1,!1);for(var b=null==c?this.getChildren(!0,!0,!1):this.getTweensOf(c),f=b.length,h=!1;-1<--f;)b[f]._kill(d,c)&&(h=!0);return h};f.clear=function(d){var c=this.getChildren(!1,!0,!0),b=c.length;for(this._time=this._totalTime=0;-1<--b;)c[b]._enabled(!1,!1);!1!=d&&(this._labels={});return this._uncache(!0)};f.invalidate=function(){for(var d=this._first;d;)d.invalidate(),d=d._next;return this};f._enabled=function(d,c){if(d==this._gc)for(var b=this._first;b;)b._enabled(d, !0),b=b._next;return s.prototype._enabled.call(this,d,c)};f.progress=function(d){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*d,!1)};f.duration=function(d){if(!arguments.length)return this._dirty&&this.totalDuration(),this._duration;0!==this.duration()&&0!==d&&this.timeScale(this._duration/d);return this};f.totalDuration=function(d){if(!arguments.length){if(this._dirty){for(var c=0,b=this._first,f=-999999999999,h;b;)h=b._next,b._startTime<f&&this._sortChildren? this.insert(b,b._startTime-b._delay):f=b._startTime,0>b._startTime&&(c-=b._startTime,this.shiftChildren(-b._startTime,!1,-9999999999)),b=b._startTime+(!b._dirty?b._totalDuration:b.totalDuration())/b._timeScale,b>c&&(c=b),b=h;this._duration=this._totalDuration=c;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==d&&this.timeScale(this._totalDuration/d);return this};f.usesFrames=function(){for(var d=this._timeline;d._timeline;)d=d._timeline;return d===t._rootFramesTimeline};f.rawTime= function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return q},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,s,g){var q=function(f){t.call(this,f);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0==this.vars.yoyo;this._dirty=!0},n=[],e=new g(null,null,1,0),g=q.prototype=new t;g.constructor=q;g.kill()._gc= !1;q.version=12;g.invalidate=function(){this._yoyo=!0==this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return t.prototype.invalidate.call(this)};g.addCallback=function(f,d,c,b){return this.insert(s.delayedCall(0,f,c,b),d)};g.removeCallback=function(f,d){if(null==d)this._kill(null,f);else for(var c=this.getTweensOf(f,!1),b=c.length,e=this._parseTimeOrLabel(d,!1);-1<--b;)c[b]._startTime===e&&c[b]._enabled(!1,!1);return this};g.tweenTo=function(f, d){var d=d||{},c={ease:e,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},b,g;for(b in d)c[b]=d[b];c.time=this._parseTimeOrLabel(f,!1);g=new s(this,Math.abs(Number(c.time)-this._time)/this._timeScale||0.001,c);c.onStart=function(){g.target.paused(!0);g.vars.time!=g.target.time()&&g.duration(Math.abs(g.vars.time-g.target.time())/g.target._timeScale);d.onStart&&d.onStart.apply(d.onStartScope||g,d.onStartParams||n)};return g};g.tweenFromTo=function(f,d,c){c=c||{};c.startAt={time:this._parseTimeOrLabel(f, !1)};f=this.tweenTo(d,c);return f.duration(Math.abs(f.vars.time-f.vars.startAt.time)/this._timeScale||0.001)};g.render=function(f,d,c){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var b=!this._dirty?this._totalDuration:this.totalDuration(),e=this._time,h=this._totalTime,g=this._startTime,q=this._timeScale,I=this._rawPrevTime,G=this._paused,u=this._cycle,i,F;if(f>=b){this._locked||(this._totalTime=b,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(i=!0,F="onComplete", 0===this._duration&&(0===f||0>this._rawPrevTime)))this._rawPrevTime!==f&&(c=!0);this._rawPrevTime=f;this._yoyo&&0!==(this._cycle&1)?(this._time=0,f=-1E-6):(this._time=this._duration,f=this._duration+1E-6)}else if(0>=f){this._locked||(this._totalTime=this._cycle=0);this._time=0;if(0!==e||0===this._duration&&0<this._rawPrevTime)F="onReverseComplete",i=this._reversed;0>f?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(c=!0)):this._initted||(c=!0);this._rawPrevTime=f;f=-1E-6}else if(this._time= this._rawPrevTime=f,!this._locked&&(this._totalTime=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,f=this._duration+1E-6):0>this._time?(this._time=0,f=-1E-6):f=this._time;if(this._cycle!==u&&!this._locked){var m=this._yoyo&&0!==(u& 1),y=m===(this._yoyo&&0!==(this._cycle&1)),s=this._totalTime,t=this._cycle,B=this._rawPrevTime,A=this._time;this._totalTime=u*this._duration;this._cycle<u?m=!m:this._totalTime+=this._duration;this._time=e;this._rawPrevTime=I;this._cycle=u;this._locked=!0;e=m?0:this._duration;this.render(e,d,!1);d||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,vars.onRepeatParams||n);y&&(e=m?this._duration+1E-6:-1E-6,this.render(e,!0,!1));this._time=A;this._totalTime=s;this._cycle= t;this._rawPrevTime=B;this._locked=!1}if(this._time!==e||c){this._initted||(this._initted=!0);0===h&&this.vars.onStart&&0!==this._totalTime&&(d||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||n));if(this._time>e)for(c=this._first;c;){h=c._next;if(this._paused&&!G)break;else if(c._active||c._startTime<=this._time&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(f-c._startTime)*c._timeScale,d,!1):c.render((f-c._startTime)*c._timeScale, d,!1);c=h}else for(c=this._last;c;){h=c._prev;if(this._paused&&!G)break;else if(c._active||c._startTime<=e&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(f-c._startTime)*c._timeScale,d,!1):c.render((f-c._startTime)*c._timeScale,d,!1);c=h}this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||n));if(F&&!this._locked&&!this._gc&&(g===this._startTime||q!=this._timeScale))if(0===this._time||b>=this.totalDuration())i&& (this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),d||this.vars[F]&&this.vars[F].apply(this.vars[F+"Scope"]||this,this.vars[F+"Params"]||n)}};g.getActive=function(f,d,c){null==f&&(f=!0);null==d&&(d=!0);null==c&&(c=!1);var b=[],f=this.getChildren(f,d,c),d=0,c=f.length,e,h;for(e=0;e<c;e++)if(h=f[e],!h._paused&&h._timeline._totalTime>=h._startTime&&h._timeline._totalTime<h._startTime+h._totalDuration/h._timeScale){var g;a:{for(g=h._timeline;g;){if(g._paused){g=!0;break a}g=g._timeline}g= !1}g||(b[d++]=h)}return b};g.getLabelAfter=function(f){!f&&0!==f&&(f=this._time);var d=this._getLabelsArray(),c=d.length,b;for(b=0;b<c;b++)if(d[b].time>f)return d[b].name;return null};g.getLabelBefore=function(f){null==f&&(f=this._time);for(var d=this._getLabelsArray(),c=d.length;-1<--c;)if(d[c].time<f)return d[c].name;return null};g._getLabelsArray=function(){var f=[],d=0,c;for(c in this._labels)f[d++]={time:this._labels[c],name:c};f.sort(function(b,d){return b.time-d.time});return f};g.progress= function(f){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*f+this._cycle*this._duration,!1)};g.totalProgress=function(f){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*f,!1)};g.totalDuration=function(f){return!arguments.length?(this._dirty&&(t.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((f-this._repeat*this._repeatDelay)/(this._repeat+1))};g.time=function(f,d){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();f>this._duration&&(f=this._duration);this._yoyo&&0!==(this._cycle&1)?f=this._duration-f+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(f+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(f,d)};g.repeat=function(f){if(!arguments.length)return this._repeat;this._repeat=f;return this._uncache(!0)}; g.repeatDelay=function(f){if(!arguments.length)return this._repeatDelay;this._repeatDelay=f;return this._uncache(!0)};g.yoyo=function(f){if(!arguments.length)return this._yoyo;this._yoyo=f;return this};g.currentLabel=function(f){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(f,!0)};return q},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(t){var s=function(){t.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},g=s.prototype= new t("bezier",1),q=180/Math.PI,n=[],e=[],f=[],d={},c=function(b,d,c,f){this.a=b;this.b=d;this.c=c;this.d=f;this.da=f-b;this.ca=c-b;this.ba=d-b},b=s.bezierThrough=function(b,g,q,I,G,u){var i={},F=[],m,y,G="string"===typeof G?","+G+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==g&&(g=1);for(y in b[0])F.push(y);n.length=e.length=f.length=0;for(m=F.length;-1<--m;){y=F[m]; d[y]=-1!==G.indexOf(","+y+",");var s=i,t=y,B;B=b;var A=y,z=d[y],v=u,E=[],D=void 0,x=void 0,C=void 0,k=void 0,o=void 0,D=void 0;if(v){B=[v].concat(B);for(x=B.length;-1<--x;)if("string"===typeof(D=B[x][A]))"="===D.charAt(1)&&(B[x][A]=v[A]+Number(D.charAt(0)+D.substr(2)))}D=B.length-2;if(0>D)E[0]=new c(B[0][A],0,0,B[-1>D?0:1][A]);else{for(x=0;x<D;x++)C=B[x][A],k=B[x+1][A],E[x]=new c(C,0,0,k),z&&(o=B[x+2][A],n[x]=(n[x]||0)+(k-C)*(k-C),e[x]=(e[x]||0)+(o-k)*(o-k));E[x]=new c(B[x][A],0,0,B[x+1][A])}B=E; s[t]=B}for(m=n.length;-1<--m;)n[m]=Math.sqrt(n[m]),e[m]=Math.sqrt(e[m]);if(!I){for(m=F.length;-1<--m;)if(d[y]){a=i[F[m]];l=a.length-1;for(j=0;j<l;j++)r=a[j+1].da/e[j]+a[j].da/n[j],f[j]=(f[j]||0)+r*r}for(m=f.length;-1<--m;)f[m]=Math.sqrt(f[m])}for(m=F.length;-1<--m;){y=F[m];b=i[y];G=g;u=q;s=I;y=d[y];t=b.length-1;B=0;for(var A=b[0].a,p=o=k=v=D=k=C=D=x=C=E=v=z=void 0,z=0;z<t;z++)x=b[B],v=x.a,E=x.d,C=b[B+1].d,y?(k=n[z],o=e[z],p=0.25*(o+k)*G/(s?0.5:f[z]||0.5),D=E-(E-v)*(s?0.5*G:p/k),C=E+(C-E)*(s?0.5*G: p/o),k=E-(D+(C-D)*(3*k/(k+o)+0.5)/4)):(D=E-0.5*(E-v)*G,C=E+0.5*(C-E)*G,k=E-(D+C)/2),D+=k,C+=k,x.c=D,x.b=0!=z?A:A=x.a+0.6*(x.c-x.a),x.da=E-v,x.ca=D-v,x.ba=A-v,u?(v=H(v,A,D,E),b.splice(B,1,v[0],v[1],v[2],v[3]),B+=4):B++,A=C;x=b[B];x.b=A;x.c=A+0.4*(x.d-A);x.da=x.d-x.a;x.ca=x.c-x.a;x.ba=A-x.a;u&&(v=H(x.a,A,x.c,x.d),b.splice(B,1,v[0],v[1],v[2],v[3]))}return i},H=s.cubicToQuadratic=function(b,d,c,f){var e={a:b},g={},i={},q={c:f},m=(b+d)/2,n=(d+c)/2,c=(c+f)/2,d=(m+n)/2,n=(n+c)/2,s=(n-d)/8;e.b=m+(b-m)/4; g.b=d+s;e.c=g.a=(e.b+g.b)/2;g.c=i.a=(d+n)/2;i.b=n-s;q.b=c+(f-c)/4;i.c=q.a=(i.b+q.b)/2;return[e,g,i,q]};s.quadraticToCubic=function(b,d,f){return new c(b,(2*d+b)/3,(2*d+f)/3,f)};g.constructor=s;s.API=2;g._onInitTween=function(d,f,e){this._target=d;f instanceof Array&&(f={values:f});this._props=[];this._timeRes=null==f.timeResolution?6:parseInt(f.timeResolution);var g=f.values||[],q={},u=g[0],e=f.autoRotate||e.vars.orientToBezier,i,n,m;this._autoRotate=e?e instanceof Array?e:[["x","y","rotation",!0=== e?0:Number(e)||0]]:null;for(i in u)this._props.push(i);for(u=this._props.length;-1<--u;)i=this._props[u],this._overwriteProps.push(i),e=this._func[i]="function"===typeof d[i],q[i]=!e?parseFloat(d[i]):d[i.indexOf("set")||"function"!==typeof d["get"+i.substr(3)]?i:"get"+i.substr(3)](),m||q[i]!==g[0][i]&&(m=q);if("cubic"!==f.type&&"quadratic"!==f.type&&"soft"!==f.type)q=b(g,isNaN(f.curviness)?1:f.curviness,!1,"thruBasic"===f.type,f.correlate,m);else{e=(e=f.type)||"soft";f={};m="cubic"===e?3:2;var e= "soft"===e,u=[],y,s,t,B,A,z,v,E,D;e&&q&&(g=[q].concat(g));if(null==g||g.length<m+1)throw"invalid Bezier data";for(s in g[0])u.push(s);for(z=u.length;-1<--z;){s=u[z];f[s]=A=[];D=0;E=g.length;for(v=0;v<E;v++)y=null==q?g[v][s]:"string"===typeof(t=g[v][s])&&"="===t.charAt(1)?q[s]+Number(t.charAt(0)+t.substr(2)):Number(t),e&&1<v&&v<E-1&&(A[D++]=(y+A[D-2])/2),A[D++]=y;E=D-m+1;for(v=D=0;v<E;v+=m)y=A[v],s=A[v+1],t=A[v+2],B=2===m?0:A[v+3],A[D++]=t=3===m?new c(y,s,t,B):new c(y,(2*s+y)/3,(2*s+t)/3,t);A.length= D}q=f}this._beziers=q;this._segCount=this._beziers[i].length;if(this._timeRes){u=this._beziers;i=this._timeRes;i=i>>0||6;q=[];s=[];g=t=0;f=i-1;m=[];e=[];for(n in u){y=u[n];A=q;z=i;v=1/z;E=y.length;for(var x=void 0,C=void 0,k=B=D=C=void 0,o=x=void 0,p=void 0,p=k=void 0;-1<--E;){k=y[E];C=k.a;D=k.d-C;B=k.c-C;k=k.b-C;C=0;for(o=1;o<=z;o++)x=v*o,p=1-x,x=C-(C=(x*x*D+3*p*(x*B+p*k))*x),p=E*z+o-1,A[p]=(A[p]||0)+x*x}}u=q.length;for(n=0;n<u;n++)t+=Math.sqrt(q[n]),y=n%i,e[y]=t,y===f&&(g+=t,y=n/i>>0,m[y]=e,s[y]= g,t=0,e=[]);this._length=g;this._lengths=s;this._segments=m;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(e=this._autoRotate){e[0]instanceof Array||(this._autoRotate=e=[e]);for(u=e.length;-1<--u;)for(n=0;3>n;n++)i=e[u][n],this._func[i]="function"===typeof d[i]?d[i.indexOf("set")||"function"!==typeof d["get"+i.substr(3)]?i:"get"+i.substr(3)]:!1}return!0};g.setRatio=function(b){var d=this._segCount, f=this._func,c=this._target,e,g,i,n,m;if(this._timeRes){e=this._lengths;n=this._curSeg;b*=this._length;g=this._li;if(b>this._l2&&g<d-1){for(d-=1;g<d&&(this._l2=e[++g])<=b;);this._l1=e[g-1];this._li=g;this._curSeg=n=this._segments[g];this._s2=n[this._s1=this._si=0]}else if(b<this._l1&&0<g){for(;0<g&&(this._l1=e[--g])>=b;);0===g&&b<this._l1?this._l1=0:g++;this._l2=e[g];this._li=g;this._curSeg=n=this._segments[g];this._s1=n[(this._si=n.length-1)-1]||0;this._s2=n[this._si]}e=g;b-=this._l1;g=this._si; if(b>this._s2&&g<n.length-1){for(d=n.length-1;g<d&&(this._s2=n[++g])<=b;);this._s1=n[g-1];this._si=g}else if(b<this._s1&&0<g){for(;0<g&&(this._s1=n[--g])>=b;);0===g&&b<this._s1?this._s1=0:g++;this._s2=n[g];this._si=g}n=(g+(b-this._s1)/(this._s2-this._s1))*this._prec}else e=0>b?0:1<=b?d-1:d*b>>0,n=(b-e*(1/d))*d;d=1-n;for(g=this._props.length;-1<--g;)if(b=this._props[g],i=this._beziers[b][e],m=(n*n*i.da+3*d*(n*i.ca+d*i.ba))*n+i.a,this._round[b]&&(m=m+(0<m?0.5:-0.5)>>0),f[b])c[b](m);else c[b]=m;if(this._autoRotate){var d= this._autoRotate,s,t,H,B,A;for(g=d.length;-1<--g;)b=d[g][2],B=d[g][3]||0,A=!0==d[g][4]?1:q,i=this._beziers[d[g][0]][e],m=this._beziers[d[g][1]][e],s=i.a+(i.b-i.a)*n,t=i.b+(i.c-i.b)*n,s+=(t-s)*n,t+=(i.c+(i.d-i.c)*n-t)*n,i=m.a+(m.b-m.a)*n,H=m.b+(m.c-m.b)*n,i+=(H-i)*n,H+=(m.c+(m.d-m.c)*n-H)*n,m=Math.atan2(H-i,t-s)*A+B,f[b]?f[b].call(c,m):c[b]=m}};g._roundProps=function(b,d){for(var f=this._overwriteProps,c=f.length;-1<--c;)if(b[f[c]]||b.bezier||b.bezierThrough)this._round[f[c]]=d};g._kill=function(b){var d= this._props,f,c;for(f in _beziers)if(f in b){delete this._beziers[f];delete this._func[f];for(c=d.length;-1<--c;)d[c]===f&&d.splice(c,1)}return t.prototype._kill.call(this,b)};t.activate([s]);return s},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t){var s=function(){t.call(this,"css");this._overwriteProps.pop()},g=s.prototype=new t("css");g.constructor=s;s.API=2;s.suffixMap={top:"px",right:"px",bottom:"px",left:"px",width:"px",height:"px",fontSize:"px",padding:"px", margin:"px"};var q=/[^\d\-\.]/g,n=/(\d|\-|\+|=|#|\.)*/g,e=/(\d|\.)+/g,f=/opacity *= *([^)]*)/,d=/opacity:([^;]*)/,c=/([A-Z])/g,b=/-([a-z])/gi,H=function(k,b){return b.toUpperCase()},h=/(Left|Right|Width)/i,M=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,K=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=Math.PI/180,G=180/Math.PI,u={},i=document.createElement("div"),F,m;var y=document.createElement("div"),L;y.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";m=(L=y.getElementsByTagName("a")[0])?/^0.55/.test(L.style.opacity): !1;var N;/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(navigator.userAgent);N=parseFloat(RegExp.$1);var B=function(k){return!k||""===k?P.black:P[k]?P[k]:"number"===typeof k?[k>>16,k>>8&255,k&255]:"#"===k.charAt(0)?(4===k.length&&(k="#"+k.charAt(1)+k.charAt(1)+k.charAt(2)+k.charAt(2)+k.charAt(3)+k.charAt(3)),k=parseInt(k.substr(1),16),[k>>16,k>>8&255,k&255]):k.match(e)||P.transparent},A=function(k){return f.test("string"===typeof k?k:(k.currentStyle?k.currentStyle.filter:k.style.filter)||"")?parseFloat(RegExp.$1)/ 100:1},z=document.defaultView?document.defaultView.getComputedStyle:function(){},v=function(k,b,d,f){return!m&&"opacity"===b?A(k):!f&&k.style[b]?k.style[b]:(d=d||z(k,null))?(k=d.getPropertyValue(b.replace(c,"-$1").toLowerCase()))||d.length?k:d[b]:k.currentStyle?k.currentStyle[b]:null},E=function(k,d){var f={},c;if(d=d||z(k,null))if(c=d.length)for(;-1<--c;)f[d[c].replace(b,H)]=d.getPropertyValue(d[c]);else for(c in d)f[c]=d[c];else if(d=k.currentStyle||k.style)for(c in d)f[c.replace(b,H)]=d[c];m|| (f.opacity=A(k));c=Q(k,d,!1);f.rotation=c.rotation*G;f.skewX=c.skewX*G;f.scaleX=c.scaleX;f.scaleY=c.scaleY;f.x=c.x;f.y=c.y;null!=f.filters&&delete f.filters;return f},D=function(k,b,d,f){var c={},p,e;for(e in b)if("cssText"!==e&&"length"!==e&&isNaN(e)&&k[e]!=(p=b[e]))if(p!==C&&("number"===typeof p||"string"===typeof p))c[e]=p,f&&f.props.push(e);if(d)for(e in d)"className"!==e&&(c[e]=d[e]);return c},x={scaleX:1,scaleY:1,x:1,y:1,rotation:1,shortRotation:1,skewX:1,skewY:1,scale:1},C,k;y=document.body|| document.documentElement;L=z(y,"");for(var o="O -o- Moz -moz- ms -ms- Webkit -webkit-".split(" "),p=9;-1<(p-=2)&&!v(y,o[p]+"transform",L););0<p?(C=o[p-1]+"Transform",k=o[p]):k=null;var y=navigator.userAgent,J=!1,w=-1!==y.indexOf("Safari")&&-1===y.indexOf("Chrome")&&-1===y.indexOf("Android"),Q=function(b,d,f){var c=b._gsTransform,p;if(C)p=v(b,k+"transform",d,true);else if(b.currentStyle)p=(p=b.currentStyle.filter.match(M))&&p.length===4?p[0].substr(4)+","+Number(p[2].substr(4))+","+Number(p[1].substr(4))+ ","+p[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null;var d=(p||"").replace(/[^\d\-\.e,]/g,"").split(","),e=(p=d.length>=6)?Number(d[0]):1,o=p?Number(d[1]):0,g=p?Number(d[2]):0,z=p?Number(d[3]):1,c=f?c||{skewY:0}:{skewY:0},h=c.scaleX<0;c.x=p?Number(d[4]):0;c.y=p?Number(d[5]):0;c.scaleX=Math.sqrt(e*e+o*o);c.scaleY=Math.sqrt(z*z+g*g);c.rotation=e||o?Math.atan2(o,e):c.rotation||0;c.skewX=g||z?Math.atan2(g,z)+c.rotation:c.skewX||0;if(Math.abs(c.skewX)>Math.PI/2)if(h){c.scaleX=c.scaleX*-1;c.skewX=c.skewX+ (c.rotation<=0?Math.PI:-Math.PI);c.rotation=c.rotation+(c.rotation<=0?Math.PI:-Math.PI)}else{c.scaleY=c.scaleY*-1;c.skewX=c.skewX+(c.skewX<=0?Math.PI:-Math.PI)}if(c.rotation<1E-6&&c.rotation>-1E-6&&(e||o))c.rotation=0;if(c.skewX<1E-6&&c.skewX>-1E-6&&(o||g))c.skewX=0;if(f)b._gsTransform=c;return c},U={width:["Left","Right"],height:["Top","Bottom"]},V=["marginLeft","marginRight","marginTop","marginBottom"],O=function(k,b,d,c,f){if(c==="px"||!c)return d;if(c==="auto"||!d)return 0;var p=h.test(b),e=k, o=d<0;o&&(d=-d);i.style.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;";if(c==="%"||c==="em"||!e.appendChild){e=k.parentNode||document.body;i.style[p?"width":"height"]=d+c}else i.style[p?"borderLeftWidth":"borderTopWidth"]=d+c;e.appendChild(i);p=parseFloat(i[p?"offsetWidth":"offsetHeight"]);e.removeChild(i);p===0&&!f&&(p=O(k,b,d,c,true));return o?-p:p},T=function(k,b){if(k==null||k===""||k==="auto")k="0 0";var b=b||{},d=k.indexOf("left")!==-1?"0%":k.indexOf("right")!== -1?"100%":k.split(" ")[0],c=k.indexOf("top")!==-1?"0%":k.indexOf("bottom")!==-1?"100%":k.split(" ")[1];c==null?c="0":c==="center"&&(c="50%");d==="center"&&(d="50%");b.oxp=d.indexOf("%")!==-1;b.oyp=c.indexOf("%")!==-1;b.oxr=d.charAt(1)==="=";b.oyr=c.charAt(1)==="=";b.ox=parseFloat(d.replace(q,""));b.oy=parseFloat(c.replace(q,""));return b},R=function(k,b){return k==null?b:typeof k==="string"&&k.indexOf("=")===1?Number(k.split("=").join(""))+b:Number(k)},S=function(k,b){var c=k.indexOf("rad")===-1? I:1,d=k.indexOf("=")===1,k=Number(k.replace(q,""))*c;return d?k+b:k},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]};g._onInitTween=function(k,b,c){if(!k.nodeType)return false;this._target= k;this._tween=c;this._classData=this._transform=null;F=b.autoRound;var f=this._style=k.style,p=z(k,""),e;if(J&&f.zIndex==="")f.zIndex=0;if(typeof b==="string"){e=f.cssText;c=E(k,p);f.cssText=e+";"+b;c=D(c,E(k));if(!m&&d.test(b))val.opacity=parseFloat(RegExp.$1);b=c;f.cssText=e}else if(b.className){e=k.className;this._classData={b:e,e:b.className.charAt(1)!=="="?b.className:b.className.charAt(0)==="+"?k.className+" "+b.className.substr(2):k.className.split(b.className.substr(2)).join(""),props:[]}; if(c._duration){c=E(k,p);k.className=this._classData.e;b=D(c,E(k),b,this._classData);k.className=e}else b={}}this._parseVars(b,k,p,b.suffixMap||s.suffixMap);return true};g._parseVars=function(k,b,c,d){var f=this._style,p,e,o,g,h,J,i;for(p in k){e=k[p];if(p==="transform"||p===C)this._parseTransform(b,e,c,d);else if(x[p]||p==="transformOrigin")this._parseTransform(b,k,c,d);else{if(p==="alpha"||p==="autoAlpha")p="opacity";else if(p==="margin"||p==="padding"){e=(e+"").split(" ");h=e.length;o={};o[p+"Top"]= e[0];o[p+"Right"]=h>1?e[1]:e[0];o[p+"Bottom"]=h===4?e[2]:e[0];o[p+"Left"]=h===4?e[3]:h===2?e[1]:e[0];this._parseVars(o,b,c,d);continue}else if(p==="backgroundPosition"||p==="backgroundSize"){o=T(e);i=T(g=v(b,p,c));this._firstPT=o={_next:this._firstPT,t:f,p:p,b:g,f:false,n:"css_"+p,type:3,s:i.ox,c:o.oxr?o.ox:o.ox-i.ox,ys:i.oy,yc:o.oyr?o.oy:o.oy-i.oy,sfx:o.oxp?"%":"px",ysfx:o.oyp?"%":"px",r:!o.oxp&&k.autoRound!==false};o.e=o.s+o.c+o.sfx+" "+(o.ys+o.yc)+o.ysfx;continue}else if(p==="border"){e=(e+"").split(" "); this._parseVars({borderWidth:e[0],borderStyle:e[1]||"none",borderColor:e[2]||"#000000"},b,c,d);continue}else if(p==="bezier"){this._parseBezier(e,b,c,d);continue}else if(p==="autoRound")continue;g=v(b,p,c);g=g!=null?g+"":"";this._firstPT=o={_next:this._firstPT,t:f,p:p,b:g,f:false,n:"css_"+p,sfx:"",r:false,type:0};if(p==="opacity"&&k.autoAlpha!=null){if(g==="1"&&v(b,"visibility",c)==="hidden")g=o.b="0";this._firstPT=o._prev={_next:o,t:f,p:"visibility",f:false,n:"css_visibility",r:false,type:-1,b:Number(g)!== 0?"visible":"hidden",i:"visible",e:Number(e)===0?"hidden":"visible"};this._overwriteProps.push("css_visibility")}h=typeof e==="string";if(p==="color"||p==="fill"||p==="stroke"||p.indexOf("Color")!==-1||h&&!e.indexOf("rgb(")){h=B(g);e=B(e);o.e=o.i=(e.length>3?"rgba(":"rgb(")+e.join(",")+")";o.b=(h.length>3?"rgba(":"rgb(")+h.join(",")+")";o.s=Number(h[0]);o.c=Number(e[0])-o.s;o.gs=Number(h[1]);o.gc=Number(e[1])-o.gs;o.bs=Number(h[2]);o.bc=Number(e[2])-o.bs;o.type=1;if(h.length>3||e.length>3)if(m){o.as= h.length<4?1:Number(h[3]);o.ac=(e.length<4?1:Number(e[3]))-o.as;o.type=2}else if(e[3]==0){o.e=o.i="transparent";o.type=-1}}else{J=g.replace(n,"");if(g===""||g==="auto")if(p==="width"||p==="height"){var w=p;J=b;i=c;g=parseFloat(w==="width"?J.offsetWidth:J.offsetHeight);var w=U[w],s=w.length;for(i=i||z(J,null);--s>-1;){g=g-(parseFloat(v(J,"padding"+w[s],i,true))||0);g=g-(parseFloat(v(J,"border"+w[s]+"Width",i,true))||0)}i=g;J="px"}else{i=p!=="opacity"?0:1;J=""}else i=g.indexOf(" ")===-1?parseFloat(g.replace(q, "")):NaN;if(h){h=e.charAt(1)==="=";g=e.replace(n,"");e=e.indexOf(" ")===-1?parseFloat(e.replace(q,"")):NaN}else{h=false;g=""}g===""&&(g=d[p]||J);o.e=e||e===0?(h?e+i:e)+g:k[p];if(J!==g&&g!==""&&(e||e===0))if(i||i===0){i=O(b,p,i,J);if(g==="%"){i=i/(O(b,p,100,"%")/100);i>100&&(i=100)}else if(g==="em")i=i/O(b,p,1,"em");else{e=O(b,p,e,g);g="px"}if(h&&(e||e===0))o.e=e+i+g}if((i||i===0)&&(e||e===0)&&(o.c=h?e:e-i)){o.s=i;o.sfx=g;if(p==="opacity"){if(!m){o.type=4;o.p="filter";o.b="alpha(opacity="+o.s*100+ ")";o.e="alpha(opacity="+(o.s+o.c)*100+")";o.dup=k.autoAlpha!=null;this._style.zoom=1}}else if(F!==false&&(g==="px"||p==="zIndex"))o.r=true}else{o.type=-1;o.i=p==="display"&&o.e==="none"?o.b:o.e;o.s=o.c=0}}this._overwriteProps.push("css_"+p);if(o._next)o._next._prev=o}}};g._parseTransform=function(k,b,c){if(!this._transform){var c=this._transform=Q(k,c,true),d=this._style,p,e;if(typeof b==="object"){k={scaleX:R(b.scaleX!=null?b.scaleX:b.scale,c.scaleX),scaleY:R(b.scaleY!=null?b.scaleY:b.scale,c.scaleY), x:R(b.x,c.x),y:R(b.y,c.y)};if(b.shortRotation!=null){k.rotation=typeof b.shortRotation==="number"?b.shortRotation*I:S(b.shortRotation,c.rotation);p=(k.rotation-c.rotation)%(Math.PI*2);p!==p%Math.PI&&(p=p+Math.PI*(p<0?2:-2));k.rotation=c.rotation+p}else k.rotation=b.rotation==null?c.rotation:typeof b.rotation==="number"?b.rotation*I:S(b.rotation,c.rotation);k.skewX=b.skewX==null?c.skewX:typeof b.skewX==="number"?b.skewX*I:S(b.skewX,c.skewX);k.skewY=b.skewY==null?c.skewY:typeof b.skewY==="number"?b.skewY* I:S(b.skewY,c.skewY);if(p=k.skewY-c.skewY){k.skewX=k.skewX+p;k.rotation=k.rotation+p}if(k.skewY<1E-6&&k.skewY>-1E-6)k.skewY=0;if(k.skewX<1E-6&&k.skewX>-1E-6)k.skewX=0;if(k.rotation<1E-6&&k.rotation>-1E-6)k.rotation=0;if((b=b.transformOrigin)!=null)if(C){e=C+"Origin";this._firstPT=b={_next:this._firstPT,t:d,p:e,s:0,c:0,n:e,f:false,r:false,b:d[e],e:b,i:b,type:-1,sfx:""};if(b._next)b._next._prev=b}else T(b,c)}else if(typeof b==="string"&&C){p=d[C];d[C]=b;k=Q(k,null,false);d[C]=p}else return;if(C){if(w){J= true;if(d.WebkitBackfaceVisibility==="")d.WebkitBackfaceVisibility="hidden";if(d.zIndex==="")d.zIndex=0}}else d.zoom=1;for(e in x)if((c[e]!==k[e]||u[e]!=null)&&e!=="shortRotation"&&e!=="scale"){this._firstPT=b={_next:this._firstPT,t:c,p:e,s:c[e],c:k[e]-c[e],n:e,f:false,r:false,b:c[e],e:k[e],type:0,sfx:0};if(b._next)b._next._prev=b;this._overwriteProps.push("css_"+e)}}};g._parseBezier=function(k,b,c,d){if(window.com.greensock.plugins.BezierPlugin){k instanceof Array&&(k={values:k});var e=k.values|| [],p=e.length,f=[],o=this._bezier={_pt:[]},g=o._proxy={},z=0,h=0,i={},n=p-1,q=u,J=o._plugin=new window.com.greensock.plugins.BezierPlugin,m,w,s,v,t;for(m=0;m<p;m++){v={};this._transform=null;s=this._firstPT;this._parseVars(u=e[m],b,c,d);w=this._firstPT;if(m===0){for(t=this._transform;w!==s;){g[w.p]=w.s;o._pt[h++]=i[w.p]=w;if(w.type===1||w.type===2){g[w.p+"_g"]=w.gs;g[w.p+"_b"]=w.bs;if(w.type===2)g[w.p+"_a"]=w.as}else if(w.type===3)g[w.p+"_y"]=w.ys;w=w._next}w=this._firstPT}else{this._firstPT=s;if(s._prev)s._prev._next= null;s=s._prev=null}for(;w!==s;){if(i[w.p]){v[w.p]=w.s+w.c;if(m===n)i[w.p].e=w.e;if(w.type===1||w.type===2){v[w.p+"_g"]=w.gs+w.gc;v[w.p+"_b"]=w.bs+w.bc;w.type===2&&(v[w.p+"_a"]=w.as+w.ac)}else w.type===3&&(v[w.p+"_y"]=w.ys+w.yc);if(m===0)w.c=w.ac=w.gc=w.bc=w.yc=0}w=w._next}f[z++]=v}this._transform=t;u=q;k.values=f;if(k.autoRotate===0)k.autoRotate=true;if(k.autoRotate&&!(k.autoRotate instanceof Array)){m=k.autoRotate==true?0:Number(k.autoRotate)*Math.PI/180;k.autoRotate=f[0].left!=null?[["left","top", "rotation",m,true]]:f[0].x!=null?[["x","y","rotation",m,true]]:false}if((o._autoRotate=k.autoRotate)&&!t)this._transform=Q(b,c,true);J._onInitTween(g,k,this._tween);k.values=e}else console.log("Error: BezierPlugin not loaded.")};g.setRatio=function(k){var b=this._firstPT,c=this._bezier,d=1E-6,e,p;if(c){c._plugin.setRatio(k);var o=c._pt,g=c._proxy;for(p=o.length;--p>-1;){b=o[p];b.s=g[b.p];if(b.type===1||b.type===2){b.gs=g[b.p+"_g"];b.bs=g[b.p+"_b"];if(b.type===2)b.as=g[b.p+"_a"]}else if(b.type===3)b.ys= g[b.p+"_y"]}if(c._autoRotate)this._transform.rotation=g.rotation}if(k===1&&(this._tween._time===this._tween._duration||this._tween._time===0))for(;b;){b.t[b.p]=b.e;if(b.type===4&&b.s+b.c===1){this._style.removeAttribute("filter");if(v(this._target,"filter"))b.t[b.p]=b.e}b=b._next}else if(k||!(this._tween._time===this._tween._duration||this._tween._time===0))for(;b;){e=b.c*k+b.s;b.r?e=e>0?e+0.5>>0:e-0.5>>0:e<d&&e>-d&&(e=0);if(b.type)if(b.type===1)b.t[b.p]="rgb("+(e>>0)+", "+(b.gs+k*b.gc>>0)+", "+(b.bs+ k*b.bc>>0)+")";else if(b.type===2)b.t[b.p]="rgba("+(e>>0)+", "+(b.gs+k*b.gc>>0)+", "+(b.bs+k*b.bc>>0)+", "+(b.as+k*b.ac)+")";else if(b.type===-1)b.t[b.p]=b.i;else if(b.type===3){c=b.ys+k*b.yc;b.r&&(c=c>0?c+0.5>>0:c-0.5>>0);b.t[b.p]=e+b.sfx+" "+c+b.ysfx}else{if(b.dup)b.t.filter=b.t.filter||"alpha(opacity=100)";b.t.filter=b.t.filter.indexOf("opacity")===-1?b.t.filter+(" alpha(opacity="+(e*100>>0)+")"):b.t.filter.replace(f,"opacity="+(e*100>>0))}else b.t[b.p]=e+b.sfx;b=b._next}else for(;b;){b.t[b.p]= b.b;if(b.type===4&&b.s===1){this._style.removeAttribute("filter");if(v(this._target,"filter"))b.t[b.p]=b.b}b=b._next}if(this._transform){b=this._transform;if(C&&!b.rotation&&!b.skewX)this._style[C]=(b.x||b.y?"translate("+b.x+"px,"+b.y+"px) ":"")+(b.scaleX!==1||b.scaleY!==1?"scale("+b.scaleX+","+b.scaleY+")":"")||"translate(0px,0px)";else{var o=C?b.rotation:-b.rotation,z=C?o-b.skewX:o+b.skewX,c=Math.cos(o)*b.scaleX,o=Math.sin(o)*b.scaleX,g=Math.sin(z)*-b.scaleY,z=Math.cos(z)*b.scaleY,h;c<d&&c>-d&& (c=0);o<d&&o>-d&&(o=0);g<d&&g>-d&&(g=0);z<d&&z>-d&&(z=0);if(C)this._style[C]="matrix("+c+","+o+","+g+","+z+","+b.x+","+b.y+")";else if(h=this._target.currentStyle){d=o;o=-g;g=-d;d=this._style.filter;this._style.filter="";p=this._target.offsetWidth;e=this._target.offsetHeight;var w=h.position!=="absolute",i="progid:DXImageTransform.Microsoft.Matrix(M11="+c+", M12="+o+", M21="+g+", M22="+z,q=b.x,J=b.y,m,s;if(b.ox!=null){m=(b.oxp?p*b.ox*0.01:b.ox)-p/2;s=(b.oyp?e*b.oy*0.01:b.oy)-e/2;q=m-(m*c+s*o)+b.x; J=s-(m*g+s*z)+b.y}if(w){m=p/2;s=e/2;i=i+(", Dx="+(m-(m*c+s*o)+q)+", Dy="+(s-(m*g+s*z)+J)+")")}else{var t=N<8?1:-1;m=b.ieOffsetX||0;s=b.ieOffsetY||0;b.ieOffsetX=Math.round((p-((c<0?-c:c)*p+(o<0?-o:o)*e))/2+q);b.ieOffsetY=Math.round((e-((z<0?-z:z)*e+(g<0?-g:g)*p))/2+J);for(p=0;p<4;p++){q=V[p];e=h[q];e=e.indexOf("px")!==-1?parseFloat(e):O(this._target,q,parseFloat(e),e.replace(n,""))||0;J=e!==b[q]?p<2?-b.ieOffsetX:-b.ieOffsetY:p<2?m-b.ieOffsetX:s-b.ieOffsetY;this._style[q]=(b[q]=Math.round(e-J*(p=== 0||p===2?1:t)))+"px"}i=i+", sizingMethod='auto expand')"}this._style.filter=d.indexOf("progid:DXImageTransform.Microsoft.Matrix(")!==-1?d.replace(K,i):d+" "+i;if(k===0||k===1)if(c===1&&o===0&&g===0&&z===1&&(!w||i.indexOf("Dx=0, Dy=0")!==-1))(!f.test(d)||parseFloat(RegExp.$1)===100)&&this._style.removeAttribute("filter")}}}if(this._classData){b=this._classData;if(k===1&&(this._tween._time===this._tween._duration||this._tween._time===0)){for(p=b.props.length;--p>-1;)this._style[b.props[p]]="";this._target.className= b.e}else if(this._target.className!==b.b)this._target.className=b.b}};g._kill=function(b){var k=b,c;if(b.autoAlpha||b.alpha){k={};for(c in b)k[c]=b[c];k.opacity=1;if(k.autoAlpha)k.visibility=1}return t.prototype._kill.call(this,k)};t.activate([s]);return s},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(t){var s=function(){t.call(this,"roundProps",-1);this._overwriteProps.pop()},g=s.prototype=new t("roundProps",-1);g.constructor=s;s.API=2;g._onInitTween=function(g,n,e){this._tween= e;return!0};g._onInitAllProps=function(){for(var g=this._tween,n=g.vars.roundProps instanceof Array?g.vars.roundProps:g.vars.roundProps.split(","),e=n.length,f={},d,c;-1<--e;)f[n[e]]=1;for(e=n.length;-1<--e;){d=n[e];for(c=g._firstPT;c;)c.pg?c.t._roundProps(f,!0):c.n==d&&(this._add(c.t,d,c.s,c.c),c._next&&(c._next._prev=c._prev),c._prev?c._prev._next=c._next:g._firstPT===c&&(g._firstPT=c._next),c._next=c._prev=null,g._propLookup[d]=this),c=c._next}return!1};g._add=function(g,n,e,f){this._addTween(g, n,e,e+f,n,!0);this._overwriteProps.push(n)};t.activate([s]);return s},!0);_gsDefine("easing.Back",["easing.Ease"],function(t){var s=window.com.greensock._class,g=function(b,c){var d=s("easing."+b,function(){},!0),e=d.prototype=new t;e.constructor=d;e.getRatio=c;return d},q=function(b,c){var d=s("easing."+b,function(b){this._p1=b||0===b?b:1.70158;this._p2=1.525*this._p1},!0),e=d.prototype=new t;e.constructor=d;e.getRatio=c;e.config=function(b){return new d(b)};return d},n=q("BackOut",function(b){return(b-= 1)*b*((this._p1+1)*b+this._p1)+1}),e=q("BackIn",function(b){return b*b*((this._p1+1)*b-this._p1)}),q=q("BackInOut",function(b){return 1>(b*=2)?0.5*b*b*((this._p2+1)*b-this._p2):0.5*((b-=2)*b*((this._p2+1)*b+this._p2)+2)}),f=g("BounceOut",function(b){return b<1/2.75?7.5625*b*b:b<2/2.75?7.5625*(b-=1.5/2.75)*b+0.75:b<2.5/2.75?7.5625*(b-=2.25/2.75)*b+0.9375:7.5625*(b-=2.625/2.75)*b+0.984375}),d=g("BounceIn",function(b){return(b=1-b)<1/2.75?1-7.5625*b*b:b<2/2.75?1-(7.5625*(b-=1.5/2.75)*b+0.75):b<2.5/2.75? 1-(7.5625*(b-=2.25/2.75)*b+0.9375):1-(7.5625*(b-=2.625/2.75)*b+0.984375)}),c=g("BounceInOut",function(b){var c=0.5>b,b=c?1-2*b:2*b-1,b=b<1/2.75?7.5625*b*b:b<2/2.75?7.5625*(b-=1.5/2.75)*b+0.75:b<2.5/2.75?7.5625*(b-=2.25/2.75)*b+0.9375:7.5625*(b-=2.625/2.75)*b+0.984375;return c?0.5*(1-b):0.5*b+0.5}),b=g("CircOut",function(b){return Math.sqrt(1-(b-=1)*b)}),H=g("CircIn",function(b){return-(Math.sqrt(1-b*b)-1)}),h=g("CircInOut",function(b){return 1>(b*=2)?-0.5*(Math.sqrt(1-b*b)-1):0.5*(Math.sqrt(1-(b-= 2)*b)+1)}),M=2*Math.PI,K=function(b,c,d){var e=s("easing."+b,function(b,c){this._p1=b||1;this._p2=c||d;this._p3=this._p2/M*(Math.asin(1/this._p1)||0)},!0),b=e.prototype=new t;b.constructor=e;b.getRatio=c;b.config=function(b,c){return new e(b,c)};return e},I=K("ElasticOut",function(b){return this._p1*Math.pow(2,-10*b)*Math.sin((b-this._p3)*M/this._p2)+1},0.3),G=K("ElasticIn",function(b){return-(this._p1*Math.pow(2,10*(b-=1))*Math.sin((b-this._p3)*M/this._p2))},0.3),K=K("ElasticInOut",function(b){return 1> (b*=2)?-0.5*this._p1*Math.pow(2,10*(b-=1))*Math.sin((b-this._p3)*M/this._p2):0.5*this._p1*Math.pow(2,-10*(b-=1))*Math.sin((b-this._p3)*M/this._p2)+1},0.45),u=g("ExpoOut",function(b){return 1-Math.pow(2,-10*b)}),i=g("ExpoIn",function(b){return Math.pow(2,10*(b-1))-0.001}),F=g("ExpoInOut",function(b){return 1>(b*=2)?0.5*Math.pow(2,10*(b-1)):0.5*(2-Math.pow(2,-10*(b-1)))}),m=Math.PI/2,y=g("SineOut",function(b){return Math.sin(b*m)}),L=g("SineIn",function(b){return-Math.cos(b*m)+1}),g=g("SineInOut",function(b){return-0.5* (Math.cos(Math.PI*b)-1)}),N=s("easing.SlowMo",function(b,c,d){null==b?b=0.7:1<b&&(b=1);this._p=1!=b?c||0===c?c:0.7:0;this._p1=(1-b)/2;this._p2=b;this._p3=this._p1+this._p2;this._calcEnd=!0===d},!0),B=N.prototype=new t;B.constructor=N;B.getRatio=function(b){var c=b+(0.5-b)*this._p;return b<this._p1?this._calcEnd?1-(b=1-b/this._p1)*b:c-(b=1-b/this._p1)*b*b*b*c:b>this._p3?this._calcEnd?1-(b=(b-this._p3)/this._p1)*b:c+(b-c)*(b=(b-this._p3)/this._p1)*b*b*b:this._calcEnd?1:c};N.ease=new N(0.7,0.7);B.config= N.config=function(b,c,d){return new N(b,c,d)};var A=s("easing.SteppedEase",function(b){b=b||1;this._p1=1/b;this._p2=b+1},!0),B=A.prototype=new t;B.constructor=A;B.getRatio=function(b){0>b?b=0:1<=b&&(b=0.999999999);return(this._p2*b>>0)*this._p1};B.config=A.config=function(b){return new A(b)};s("easing.Bounce",{easeOut:new f,easeIn:new d,easeInOut:new c},!0);s("easing.Circ",{easeOut:new b,easeIn:new H,easeInOut:new h},!0);s("easing.Elastic",{easeOut:new I,easeIn:new G,easeInOut:new K},!0);s("easing.Expo", {easeOut:new u,easeIn:new i,easeInOut:new F},!0);s("easing.Sine",{easeOut:new y,easeIn:new L,easeInOut:new g},!0);return{easeOut:new n,easeIn:new e,easeInOut:new q}},!0)}); (function(t){var s=function(b){var b=b.split("."),c=t,d;for(d=0;d<b.length;d++)c[b[d]]=c=c[b[d]]||{};return c},g=s("com.greensock"),q,n,e,f,d,c={},b=function(k,d,e,f){this.sc=c[k]?c[k].sc:[];c[k]=this;this.gsClass=null;this.def=e;var g=d||[],h=[];this.check=function(d){for(var o=g.length,i=0,m;-1<--o;)(m=c[g[o]]||new b(g[o])).gsClass?h[o]=m.gsClass:(i++,d&&m.sc.push(this));if(0===i&&e){var d=("com.greensock."+k).split("."),o=d.pop(),n=s(d.join("."))[o]=this.gsClass=e.apply(e,h);f&&((t.GreenSockGlobals|| t)[o]=n,"function"===typeof define&&define.amd?define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+k.split(".").join("/"),[],function(){return n}):"undefined"!==typeof module&&module.exports&&(module.exports=n));for(o=0;o<this.sc.length;o++)this.sc[o].check(!1)}};this.check(!0)},H=g._class=function(k,c,d){new b(k,[],function(){return c},d);return c};t._gsDefine=function(k,c,d,e){return new b(k,c,d,e)};var h=[0,0,1,1],M=[],K=H("easing.Ease",function(b,c,d,e){this._func=b;this._type=d||0;this._power= e||0;this._params=c?h.concat(c):h},!0);e=K.prototype;e._calcEnd=!1;e.getRatio=function(b){if(this._func)return this._params[0]=b,this._func.apply(null,this._params);var c=this._type,d=this._power,e=1===c?1-b:2===c?b:0.5>b?2*b:2*(1-b);1===d?e*=e:2===d?e*=e*e:3===d?e*=e*e*e:4===d&&(e*=e*e*e*e);return 1===c?1-e:2===c?e:0.5>b?e/2:1-e/2};q=["Linear","Quad","Cubic","Quart","Quint"];for(n=q.length;-1<--n;)e=H("easing."+q[n],function(){},!0),f=H("easing.Power"+n,function(){},!0),e.easeOut=f.easeOut=new K(null, null,1,n),e.easeIn=f.easeIn=new K(null,null,2,n),e.easeInOut=f.easeInOut=new K(null,null,3,n);H("easing.Strong",g.easing.Power4,!0);g.easing.Linear.easeNone=g.easing.Linear.easeIn;e=H("events.EventDispatcher",function(b){this._listeners={};this._eventTarget=b||this}).prototype;e.addEventListener=function(b,c,d,e,f){var f=f||0,g=this._listeners[b],h=0,i;null==g&&(this._listeners[b]=g=[]);for(i=g.length;-1<--i;)b=g[i],b.c===c?g.splice(i,1):0===h&&b.pr<f&&(h=i+1);g.splice(h,0,{c:c,s:d,up:e,pr:f})};e.removeEventListener= function(b,c){var d=this._listeners[b];if(d)for(var e=d.length;-1<--e;)if(d[e].c===c){d.splice(e,1);break}};e.dispatchEvent=function(b){var c=this._listeners[b];if(c)for(var d=c.length,e,f=this._eventTarget;-1<--d;)e=c[d],e.up?e.c.call(e.s||f,{type:b,target:f}):e.c.call(e.s||f)};var I=t.requestAnimationFrame,G=t.cancelAnimationFrame,u=Date.now||function(){return(new Date).getTime()};q=["ms","moz","webkit","o"];for(n=q.length;-1<--n&&!I;)I=t[q[n]+"RequestAnimationFrame"],G=t[q[n]+"CancelAnimationFrame"]|| t[q[n]+"CancelRequestAnimationFrame"];G||(G=function(b){t.clearTimeout(b)});H("Ticker",function(b,c){this.frame=this.time=0;var d=this,e=u(),f=!1!==c,g,h,i,m,n;this.tick=function(){d.time=(u()-e)/1E3;if(!g||d.time>=n)d.frame++,n=d.time+m-(d.time-n)-5E-4,n<=d.time&&(n=d.time+0.001),d.dispatchEvent("tick");i=h(d.tick)};this.fps=function(b){if(!arguments.length)return g;g=b;m=1/(g||60);n=this.time+m;h=0===g?function(){}:!f||!I?function(b){return t.setTimeout(b,1E3*(n-d.time)+1>>0||1)}:I;G(i);i=h(d.tick)}; this.useRAF=function(b){if(!arguments.length)return f;f=b;this.fps(g)};this.fps(b)});e=g.Ticker.prototype=new g.events.EventDispatcher;e.constructor=g.Ticker;var i=H("core.Animation",function(b,c){this.vars=c||{};this._duration=this._totalDuration=b||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(v){d||(F.tick(),d=!0);var e=this.vars.useFrames?z:v;e.insert(this,e._time);this.vars.paused&& this.paused(!0)}}),F=i.ticker=new g.Ticker;e=i.prototype;e._dirty=e._gc=e._initted=e._paused=!1;e._totalTime=e._time=0;e._rawPrevTime=-1;e._next=e._last=e._onUpdate=e._timeline=e.timeline=null;e._paused=!1;e.play=function(b,c){arguments.length&&this.seek(b,c);this.reversed(!1);return this.paused(!1)};e.pause=function(b,c){arguments.length&&this.seek(b,c);return this.paused(!0)};e.resume=function(b,c){arguments.length&&this.seek(b,c);return this.paused(!1)};e.seek=function(b,c){return this.totalTime(Number(b), !1!=c)};e.restart=function(b,c){this.reversed(!1);this.paused(!1);return this.totalTime(b?-this._delay:0,!1!=c)};e.reverse=function(b,c){arguments.length&&this.seek(b||this.totalDuration(),c);this.reversed(!0);return this.paused(!1)};e.render=function(){};e.invalidate=function(){return this};e._enabled=function(b,c){this._gc=!b;this._active=b&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration;!0!=c&&(b&&null==this.timeline?this._timeline.insert(this,this._startTime-this._delay): !b&&null!=this.timeline&&this._timeline._remove(this,!0));return!1};e._kill=function(){return this._enabled(!1,!1)};e.kill=function(b,c){this._kill(b,c);return this};e._uncache=function(b){for(b=b?this:this.timeline;b;)b._dirty=!0,b=b.timeline;return this};e.eventCallback=function(b,c,d,e){if(null==b)return null;if("on"===b.substr(0,2)){if(1===arguments.length)return this.vars[b];if(null==c)delete this.vars[b];else if(this.vars[b]=c,this.vars[b+"Params"]=d,this.vars[b+"Scope"]=e,d)for(var f=d.length;-1< --f;)"{self}"===d[f]&&(d=this.vars[b+"Params"]=d.concat(),d[f]=this);"onUpdate"===b&&(this._onUpdate=c)}return this};e.delay=function(b){if(!arguments.length)return this._delay;this._timeline.smoothChildTiming&&this.startTime(this._startTime+b-this._delay);this._delay=b;return this};e.duration=function(b){if(!arguments.length)return this._dirty=!1,this._duration;this._duration=this._totalDuration=b;this._uncache(!0);this._timeline.smoothChildTiming&&this._active&&0!=b&&this.totalTime(this._totalTime* (b/this._duration),!0);return this};e.totalDuration=function(b){this._dirty=!1;return!arguments.length?this._totalDuration:this.duration(b)};e.time=function(b,c){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();b>this._duration&&(b=this._duration);return this.totalTime(b,c)};e.totalTime=function(b,c){if(!arguments.length)return this._totalTime;if(this._timeline){0>b&&(b+=this.totalDuration());if(this._timeline.smoothChildTiming&&(this._dirty&&this.totalDuration(),b>this._totalDuration&& (b=this._totalDuration),this._startTime=(this._paused?this._pauseTime:this._timeline._time)-(!this._reversed?b:this._totalDuration-b)/this._timeScale,this._timeline._dirty||this._uncache(!1),!this._timeline._active))for(var d=this._timeline;d._timeline;)d.totalTime(d._totalTime,!0),d=d._timeline;this._gc&&this._enabled(!0,!1);this._totalTime!=b&&this.render(b,c,!1)}return this};e.startTime=function(b){if(!arguments.length)return this._startTime;b!=this._startTime&&(this._startTime=b,this.timeline&& this.timeline._sortChildren&&this.timeline.insert(this,b-this._delay));return this};e.timeScale=function(b){if(!arguments.length)return this._timeScale;b=b||1E-6;if(this._timeline&&this._timeline.smoothChildTiming){var c=this._pauseTime||0==this._pauseTime?this._pauseTime:this._timeline._totalTime;this._startTime=c-(c-this._startTime)*this._timeScale/b}this._timeScale=b;return this._uncache(!1)};e.reversed=function(b){if(!arguments.length)return this._reversed;b!=this._reversed&&(this._reversed=b, this.totalTime(this._totalTime,!0));return this};e.paused=function(b){if(!arguments.length)return this._paused;b!=this._paused&&this._timeline&&(!b&&this._timeline.smoothChildTiming&&(this._startTime+=this._timeline.rawTime()-this._pauseTime,this._uncache(!1)),this._pauseTime=b?this._timeline.rawTime():null,this._paused=b,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(b||this._enabled(!0,!1));return this};g=H("core.SimpleTimeline",function(b){i.call(this, 0,b);this.autoRemoveChildren=this.smoothChildTiming=!0});e=g.prototype=new i;e.constructor=g;e.kill()._gc=!1;e._first=e._last=null;e._sortChildren=!1;e.insert=function(b,c){b._startTime=Number(c||0)+b._delay;b._paused&&this!==b._timeline&&(b._pauseTime=b._startTime+(this.rawTime()-b._startTime)/b._timeScale);b.timeline&&b.timeline._remove(b,!0);b.timeline=b._timeline=this;b._gc&&b._enabled(!0,!0);var d=this._last;if(this._sortChildren)for(var e=b._startTime;d&&d._startTime>e;)d=d._prev;d?(b._next= d._next,d._next=b):(b._next=this._first,this._first=b);b._next?b._next._prev=b:this._last=b;b._prev=d;this._timeline&&this._uncache(!0);return this};e._remove=function(b,c){b.timeline===this&&(c||b._enabled(!1,!0),b.timeline=null,b._prev?b._prev._next=b._next:this._first===b&&(this._first=b._next),b._next?b._next._prev=b._prev:this._last===b&&(this._last=b._prev),this._timeline&&this._uncache(!0));return this};e.render=function(b,c){var d=this._first,e;for(this._totalTime=this._time=this._rawPrevTime= b;d;){e=d._next;if(d._active||b>=d._startTime&&!d._paused)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(b-d._startTime)*d._timeScale,c,!1):d.render((b-d._startTime)*d._timeScale,c,!1);d=e}};e.rawTime=function(){return this._totalTime};var m=H("TweenLite",function(b,c,d){i.call(this,c,d);if(null==b)throw"Cannot tween an undefined reference.";this.target=b;this._overwrite=null==this.vars.overwrite?A[m.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>> 0:A[this.vars.overwrite];if((b instanceof Array||b.jquery)&&"object"===typeof b[0]){this._targets=b.slice(0);this._propLookup=[];this._siblings=[];for(b=0;b<this._targets.length;b++)d=this._targets[b],d.jquery?(this._targets.splice(b--,1),this._targets=this._targets.concat(d.constructor.makeArray(d))):(this._siblings[b]=E(d,this,!1),1===this._overwrite&&1<this._siblings[b].length&&D(d,this,null,1,this._siblings[b]))}else this._propLookup={},this._siblings=E(b,this,!1),1===this._overwrite&&1<this._siblings.length&& D(b,this,null,1,this._siblings);(this.vars.immediateRender||0===c&&0===this._delay&&!1!=this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);e=m.prototype=new i;e.constructor=m;e.kill()._gc=!1;e.ratio=0;e._firstPT=e._targets=e._overwrittenProps=null;e._notifyPluginsOfEnabled=!1;m.version=12;m.defaultEase=e._ease=new K(null,null,1,1);m.defaultOverwrite="auto";m.ticker=F;var y=m._plugins={},L={},N=0,B={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},A={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},z=i._rootFramesTimeline=new g,v=i._rootTimeline=new g;v._startTime=F.time;z._startTime= F.frame;v._active=z._active=!0;i._updateRoot=function(){v.render((F.time-v._startTime)*v._timeScale,!1,!1);z.render((F.frame-z._startTime)*z._timeScale,!1,!1);if(!(F.frame%120)){var b,c,d;for(d in L){c=L[d].tweens;for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1);0===c.length&&delete L[d]}}};F.addEventListener("tick",i._updateRoot);var E=function(b,c,d){var e=b._gsTweenID,f;if(!L[e||(b._gsTweenID=e="t"+N++)])L[e]={target:b,tweens:[]};if(c&&(b=L[e].tweens,b[f=b.length]=c,d))for(;-1<--f;)b[f]===c&&b.splice(f, 1);return L[e].tweens},D=function(b,c,d,e,f){var g,h,i;if(1===e||4<=e){b=f.length;for(g=0;g<b;g++)if((i=f[g])!==c)i._gc||i._enabled(!1,!1)&&(h=!0);else if(5===e)break;return h}var n=c._startTime+1E-10,m=[],q=0,s;for(g=f.length;-1<--g;)if(!((i=f[g])===c||i._gc||i._paused))i._timeline!==c._timeline?(s=s||x(c,0),0===x(i,s)&&(m[q++]=i)):i._startTime<=n&&i._startTime+i.totalDuration()/i._timeScale+1E-10>n&&((0===c._duration||!i._initted)&&2E-10>=n-i._startTime||(m[q++]=i));for(g=q;-1<--g;)if(i=m[g],2=== e&&i._kill(d,b)&&(h=!0),2!==e||!i._firstPT&&i._initted)i._enabled(!1,!1)&&(h=!0);return h},x=function(b,c){for(var d=b._timeline,e=d._timeScale,f=b._startTime;d._timeline;){f+=d._startTime;e*=d._timeScale;if(d._paused)return-100;d=d._timeline}f/=e;return f>c?f-c:!b._initted&&2E-10>f-c?1E-10:(f+=b.totalDuration()/b._timeScale/e)>c?0:f-c-1E-10};e._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,m.to(this.target,0,this.vars.startAt));var b,c;this._ease= this.vars.ease instanceof K?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 K(this.vars.ease,this.vars.easeParams):m.defaultEase;this._easeType=this._ease._type;this._easePower=this._ease._power;this._firstPT=null;if(this._targets)for(b=this._targets.length;-1<--b;){if(this._initProps(this._targets[b],this._propLookup[b]={},this._siblings[b],this._overwrittenProps?this._overwrittenProps[b]: null))c=!0}else c=this._initProps(this.target,this._propLookup,this._siblings,this._overwrittenProps);c&&m._onPluginEvent("_onInitAllProps",this);this._overwrittenProps&&null==this._firstPT&&"function"!==typeof this.target&&this._enabled(!1,!1);if(this.vars.runBackwards)for(b=this._firstPT;b;)b.s+=b.c,b.c=-b.c,b=b._next;this._onUpdate=this.vars.onUpdate;this._initted=!0};e._initProps=function(b,c,d,e){var f,g,h,i,n,m;if(null==b)return!1;for(f in this.vars){if(B[f]){if("onStartParams"===f||"onUpdateParams"=== f||"onCompleteParams"===f||"onReverseCompleteParams"===f||"onRepeatParams"===f)if(n=this.vars[f])for(g=n.length;-1<--g;)"{self}"===n[g]&&(n=this.vars[f]=n.concat(),n[g]=this)}else if(y[f]&&(i=new y[f])._onInitTween(b,this.vars[f],this)){this._firstPT=m={_next:this._firstPT,t:i,p:"setRatio",s:0,c:1,f:!0,n:f,pg:!0,pr:i._priority};for(g=i._overwriteProps.length;-1<--g;)c[i._overwriteProps[g]]=this._firstPT;if(i._priority||i._onInitAllProps)h=!0;if(i._onDisable||i._onEnable)this._notifyPluginsOfEnabled= !0}else this._firstPT=c[f]=m={_next:this._firstPT,t:b,p:f,f:"function"===typeof b[f],n:f,pg:!1,pr:0},m.s=!m.f?parseFloat(b[f]):b[f.indexOf("set")||"function"!==typeof b["get"+f.substr(3)]?f:"get"+f.substr(3)](),m.c="number"===typeof this.vars[f]?this.vars[f]-m.s:"string"===typeof this.vars[f]?parseFloat(this.vars[f].split("=").join("")):0;m&&m._next&&(m._next._prev=m)}return e&&this._kill(e,b)?this._initProps(b,c,d,e):1<this._overwrite&&this._firstPT&&1<d.length&&D(b,this,c,this._overwrite,d)?(this._kill(c, b),this._initProps(b,c,d,e)):h};e.render=function(b,c,d){var e=this._time,f,g;if(b>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(f=!0,g="onComplete"),0===this._duration){if(0===b||0>this._rawPrevTime)this._rawPrevTime!==b&&(d=!0);this._rawPrevTime=b}}else if(0>=b){this._totalTime=this._time=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==e||0===this._duration&&0<this._rawPrevTime)g="onReverseComplete", f=this._reversed;0>b?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(d=!0),this._rawPrevTime=b)):this._initted||(d=!0)}else if(this._totalTime=this._time=b,this._easeType){var h=b/this._duration,i=this._easeType,m=this._easePower;if(1===i||3===i&&0.5<=h)h=1-h;3===i&&(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===i?1-h:2===i?h:0.5>b/this._duration?h/2:1-h/2}else this.ratio=this._ease.getRatio(b/this._duration);if(this._time!==e||d){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===e&&this.vars.onStart&&(0!==this._time||0===this._duration))c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||M);for(b=this._firstPT;b;){if(b.f)b.t[b.p](b.c*this.ratio+b.s);else b.t[b.p]=b.c*this.ratio+b.s;b=b._next}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||M));g&&!this._gc&&(f&&(this._timeline.autoRemoveChildren&& this._enabled(!1,!1),this._active=!1),c||this.vars[g]&&this.vars[g].apply(this.vars[g+"Scope"]||this,this.vars[g+"Params"]||M))}};e._kill=function(b,c){"all"===b&&(b=null);if(null==b&&(null==c||c==this.target))return this._enabled(!1,!1);var c=c||this._targets||this.target,d,e,f,g,h,i,m;if((c instanceof Array||c.jquery)&&"object"===typeof c[0])for(d=c.length;-1<--d;)this._kill(b,c[d])&&(h=!0);else{if(this._targets)for(d=this._targets.length;-1<--d;){if(c===this._targets[d]){g=this._propLookup[d]|| {};this._overwrittenProps=this._overwrittenProps||[];e=this._overwrittenProps[d]=b?this._overwrittenProps[d]||{}:"all";break}}else{if(c!==this.target)return!1;g=this._propLookup;e=this._overwrittenProps=b?this._overwrittenProps||{}:"all"}if(g)for(f in i=b||g,m=b!=e&&"all"!=e&&b!=g&&(null==b||!0!=b._tempKill),i){if(d=g[f]){d.pg&&d.t._kill(i)&&(h=!0);if(!d.pg||0===d.t._overwriteProps.length)d._prev?d._prev._next=d._next:d===this._firstPT&&(this._firstPT=d._next),d._next&&(d._next._prev=d._prev),d._next= d._prev=null;delete g[f]}m&&(e[f]=1)}}return h};e.invalidate=function(){this._notifyPluginsOfEnabled&&m._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=!1;this._propLookup=this._targets?{}:[];return this};e._enabled=function(b,c){if(b&&this._gc)if(this._targets)for(var d=this._targets.length;-1<--d;)this._siblings[d]=E(this._targets[d],this,!0);else this._siblings=E(this.target,this,!0);i.prototype._enabled.call(this, b,c);return this._notifyPluginsOfEnabled&&this._firstPT?m._onPluginEvent(b?"_onEnable":"_onDisable",this):!1};m.to=function(b,c,d){return new m(b,c,d)};m.from=function(b,c,d){d.runBackwards=!0;!1!=d.immediateRender&&(d.immediateRender=!0);return new m(b,c,d)};m.fromTo=function(b,c,d,e){e.startAt=d;d.immediateRender&&(e.immediateRender=!0);return new m(b,c,e)};m.delayedCall=function(b,c,d,e,f){return new m(c,0,{delay:b,onComplete:c,onCompleteParams:d,onCompleteScope:e,onReverseComplete:c,onReverseCompleteParams:d, onReverseCompleteScope:e,immediateRender:!1,useFrames:f,overwrite:0})};m.set=function(b,c){return new m(b,0,c)};m.killTweensOf=m.killDelayedCallsTo=function(b,c){for(var d=m.getTweensOf(b),e=d.length;-1<--e;)d[e]._kill(c,b)};m.getTweensOf=function(b){if(null!=b){var c,d,e;if((b instanceof Array||b.jquery)&&"object"===typeof b[0]){c=b.length;for(d=[];-1<--c;)d=d.concat(m.getTweensOf(b[c]));for(c=d.length;-1<--c;){e=d[c];for(b=c;-1<--b;)e===d[b]&&d.splice(c,1)}}else{d=E(b).concat();for(c=d.length;-1< --c;)d[c]._gc&&d.splice(c,1)}return d}};var C=H("plugins.TweenPlugin",function(b,c){this._overwriteProps=(b||"").split(",");this._propName=this._overwriteProps[0];this._priority=c||0},!0);e=C.prototype;C.version=12;C.API=2;e._firstPT=null;e._addTween=function(b,c,d,e,f,g){var h;if(null!=e&&(h="number"===typeof e||"="!==e.charAt(1)?Number(e)-d:Number(e.split("=").join(""))))this._firstPT={_next:this._firstPT,t:b,p:c,s:d,c:h,f:"function"===typeof b[c],n:f||c,r:g},this._firstPT._next&&(this._firstPT._next._prev= this._firstPT)};e.setRatio=function(b){for(var c=this._firstPT,d;c;){d=c.c*b+c.s;c.r&&(d=d+(0<d?0.5:-0.5)>>0);if(c.f)c.t[c.p](d);else c.t[c.p]=d;c=c._next}};e._kill=function(b){if(null!=b[this._propName])this._overwriteProps=[];else for(var c=this._overwriteProps.length;-1<--c;)null!=b[this._overwriteProps[c]]&&this._overwriteProps.splice(c,1);for(c=this._firstPT;c;)null!=b[c.n]&&((c._next&&(c._next._prev=c._prev),c._prev)?(c._prev._next=c._next,c._prev=null):this._firstPT===c&&(this._firstPT=c._next)), c=c._next;return!1};e._roundProps=function(b,c){for(var d=this._firstPT;d;){if(b[this._propName]||null!=d.n&&b[d.n.split(this._propName+"_").join("")])d.r=c;d=d._next}};m._onPluginEvent=function(b,c){var d=c._firstPT,e;if("_onInitAllProps"===b){for(var f,g,h,i;d;){i=d._next;for(f=g;f&&f.pr>d.pr;)f=f._next;(d._prev=f?f._prev:h)?d._prev._next=d:g=d;(d._next=f)?f._prev=d:h=d;d=i}d=c._firstPT=g}for(;d;)d.pg&&"function"===typeof d.t[b]&&d.t[b]()&&(e=!0),d=d._next;return e};C.activate=function(b){for(var c= b.length;-1<--c;)b[c].API===C.API&&(m._plugins[(new b[c])._propName]=b[c]);return!0};if(q=t._gsQueue){for(n=0;n<q.length;n++)q[n]();for(e in c)c[e].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+e)}})(window);