You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

14 lines
115 KiB

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