iwmlib/dist/iwmlib.3rdparty.preload.min.js

1 line
113 KiB
JavaScript

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