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