(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7961],{7058:function(t,e,i){var r,s,n;n=function(t){"use strict";var e="debug.addIndicators",i=window.console||{},r=Function.prototype.bind.call(i.error||i.log||function(){},i);t||r("("+e+") -> ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs.");var s="0.85em",n="9999",a=t._util,o=0;t.Scene.extend(function(){var t,e=this;e.addIndicators=function(i){return!t&&(i=a.extend({},{name:"",indent:0,parent:void 0,colorStart:"green",colorEnd:"red",colorTrigger:"blue"},i),o++,t=new l(e,i),e.on("add.plugin_addIndicators",t.add),e.on("remove.plugin_addIndicators",t.remove),e.on("destroy.plugin_addIndicators",e.removeIndicators),e.controller()&&t.add()),e},e.removeIndicators=function(){return t&&(t.remove(),this.off("*.plugin_addIndicators"),t=void 0),e}}),t.Controller.addOption("addIndicators",!1),t.Controller.extend(function(){var i=this,r=i.info(),s=r.container,n=r.isDocument,o=r.vertical,l={groups:[]};i._indicators&&function(){i._log&&(Array.prototype.splice.call(arguments,1,0,"("+e+")","->"),i._log.apply(this,arguments))}(2,"WARNING: Scene already has a property '_indicators', which will be overwritten by plugin."),this._indicators=l;var h=function(){l.updateBoundsPositions()},_=function(){l.updateTriggerGroupPositions()};return s.addEventListener("resize",_),n||(window.addEventListener("resize",_),window.addEventListener("scroll",_)),s.addEventListener("resize",h),s.addEventListener("scroll",h),this._indicators.updateBoundsPositions=function(t){for(var e,i,r,n=t?[a.extend({},t.triggerGroup,{members:[t]})]:l.groups,h=n.length,_={},u=o?"left":"top",c=o?"width":"height",f=o?a.get.scrollLeft(s)+a.get.width(s)-15:a.get.scrollTop(s)+a.get.height(s)-15;h--;)for(e=(r=n[h]).members.length,i=a.get[c](r.element.firstChild);e--;)_[u]=f-i,a.css(r.members[e].bounds,_)},this._indicators.updateTriggerGroupPositions=function(t){for(var e,r,h,_,u=t?[t]:l.groups,c=u.length,f=n?document.body:s,d=n?{top:0,left:0}:a.get.offset(f,!0),m=o?a.get.width(s)-15:a.get.height(s)-15,p=o?"width":"height",g=o?"Y":"X";c--;)r=(e=u[c]).element,_=(h=e.triggerHook*i.info("size"))>a.get[p](r.firstChild.firstChild)?"translate"+g+"(-100%)":"",a.css(r,{top:d.top+(o?h:m-e.members[0].options.indent),left:d.left+(o?m-e.members[0].options.indent:h)}),a.css(r.firstChild.firstChild,{"-ms-transform":_,"-webkit-transform":_,transform:_})},this._indicators.updateTriggerGroupLabel=function(t){var e="trigger"+(t.members.length>1?"":" "+t.members[0].options.name),i=t.element.firstChild.firstChild;i.textContent!==e&&(i.textContent=e,o&&l.updateBoundsPositions())},this.addScene=function(e){this._options.addIndicators&&e instanceof t.Scene&&e.controller()===i&&e.addIndicators(),this.$super.addScene.apply(this,arguments)},this.destroy=function(){s.removeEventListener("resize",_),n||(window.removeEventListener("resize",_),window.removeEventListener("scroll",_)),s.removeEventListener("resize",h),s.removeEventListener("scroll",h),this.$super.destroy.apply(this,arguments)},i});var l=function(t,i){var r,s,n=this,l=h.bounds(),_=h.start(i.colorStart),u=h.end(i.colorEnd),c=i.parent&&a.get.elements(i.parent)[0],f=function(){t._log&&(Array.prototype.splice.call(arguments,1,0,"("+e+")","->"),t._log.apply(this,arguments))};i.name=i.name||o,_.firstChild.textContent+=" "+i.name,u.textContent+=" "+i.name,l.appendChild(_),l.appendChild(u),n.options=i,n.bounds=l,n.triggerGroup=void 0,this.add=function(){r=(s=t.controller()).info("vertical");var e=s.info("isDocument");c||(c=e?document.body:s.info("container")),e||"static"!==a.css(c,"position")||a.css(c,{position:"relative"}),t.on("change.plugin_addIndicators",m),t.on("shift.plugin_addIndicators",d),w(),v(),setTimeout(function(){s._indicators.updateBoundsPositions(n)},0),f(3,"added indicators")},this.remove=function(){if(n.triggerGroup){if(t.off("change.plugin_addIndicators",m),t.off("shift.plugin_addIndicators",d),n.triggerGroup.members.length>1){var e=n.triggerGroup;e.members.splice(e.members.indexOf(n),1),s._indicators.updateTriggerGroupLabel(e),s._indicators.updateTriggerGroupPositions(e),n.triggerGroup=void 0}else T();g(),f(3,"removed indicators")}};var d=function(){v()},m=function(t){"triggerHook"===t.what&&w()},p=function(){var t=s.info("vertical");a.css(_.firstChild,{"border-bottom-width":+!!t,"border-right-width":+!t,bottom:t?-1:i.indent,right:t?i.indent:-1,padding:t?"0 8px":"2px 4px"}),a.css(u,{"border-top-width":+!!t,"border-left-width":+!t,top:t?"100%":"",right:t?i.indent:"",bottom:t?"":i.indent,left:t?"":"100%",padding:t?"0 8px":"2px 4px"}),c.appendChild(l)},g=function(){l.parentNode.removeChild(l)},v=function(){l.parentNode!==c&&p();var e={};e[r?"top":"left"]=t.triggerPosition(),e[r?"height":"width"]=t.duration(),a.css(l,e),a.css(u,{display:t.duration()>0?"":"none"})},y=function(){var e=h.trigger(i.colorTrigger),o={};o[r?"right":"bottom"]=0,o[r?"border-top-width":"border-left-width"]=1,a.css(e.firstChild,o),a.css(e.firstChild.firstChild,{padding:r?"0 8px 3px 8px":"3px 4px"}),document.body.appendChild(e);var l={triggerHook:t.triggerHook(),element:e,members:[n]};s._indicators.groups.push(l),n.triggerGroup=l,s._indicators.updateTriggerGroupLabel(l),s._indicators.updateTriggerGroupPositions(l)},T=function(){s._indicators.groups.splice(s._indicators.groups.indexOf(n.triggerGroup),1),n.triggerGroup.element.parentNode.removeChild(n.triggerGroup.element),n.triggerGroup=void 0},w=function(){var e=t.triggerHook();if(!(n.triggerGroup&&1e-4>Math.abs(n.triggerGroup.triggerHook-e))){for(var i,r=s._indicators.groups,a=r.length;a--;)if(1e-4>Math.abs((i=r[a]).triggerHook-e)){n.triggerGroup&&(1===n.triggerGroup.members.length?T():(n.triggerGroup.members.splice(n.triggerGroup.members.indexOf(n),1),s._indicators.updateTriggerGroupLabel(n.triggerGroup),s._indicators.updateTriggerGroupPositions(n.triggerGroup))),i.members.push(n),n.triggerGroup=i,s._indicators.updateTriggerGroupLabel(i);return}if(n.triggerGroup)if(1===n.triggerGroup.members.length){n.triggerGroup.triggerHook=e,s._indicators.updateTriggerGroupPositions(n.triggerGroup);return}else n.triggerGroup.members.splice(n.triggerGroup.members.indexOf(n),1),s._indicators.updateTriggerGroupLabel(n.triggerGroup),s._indicators.updateTriggerGroupPositions(n.triggerGroup),n.triggerGroup=void 0;y()}}},h={start:function(t){var e=document.createElement("div");e.textContent="start",a.css(e,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:t,"border-color":t});var i=document.createElement("div");return a.css(i,{position:"absolute",overflow:"visible",width:0,height:0}),i.appendChild(e),i},end:function(t){var e=document.createElement("div");return e.textContent="end",a.css(e,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:t,"border-color":t}),e},bounds:function(){var t=document.createElement("div");return a.css(t,{position:"absolute",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":s}),t.style.zIndex=n,t},trigger:function(t){var e=document.createElement("div");e.textContent="trigger",a.css(e,{position:"relative"});var i=document.createElement("div");a.css(i,{position:"absolute",overflow:"visible","border-width":0,"border-style":"solid",color:t,"border-color":t}),i.appendChild(e);var r=document.createElement("div");return a.css(r,{position:"fixed",overflow:"visible","white-space":"nowrap","pointer-events":"none","font-size":s}),r.style.zIndex=n,r.appendChild(i),r}}},r=[i(44605)],void 0===(s=n.apply(e,r))||(t.exports=s)},41630:function(t,e,i){var r,s,n,a=t.exports&&void 0!==i.g?i.g:this||window;(a._gsQueue||(a._gsQueue=[])).push(function(){"use strict";a._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},s=e._internals,n=s.lazyTweens,o=s.lazyRender,l=a._gsDefine.globals,h=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,s){return this.add(e.delayedCall(0,t,r,s),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,s=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===s&&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,s,n,a={ease:h,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},o=i.repeat&&l.TweenMax||e;for(s in i)a[s]=i[s];return a.time=this._parseTimeOrLabel(t),n=new o(this,r=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,a),a.onStart=function(){n.target.paused(!0),n.vars.time===n.target.time()||r!==n.duration()||n.isFromTo||n.duration(Math.abs(n.vars.time-n.target.time())/n.target._timeScale).render(n.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||n,i.onStartParams||[])},n},_.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,s,a,l,h,_,u,c,f,d=this._time,m=this._dirty?this.totalDuration():this._totalDuration,p=this._duration,g=this._totalTime,v=this._startTime,y=this._timeScale,T=this._rawPrevTime,w=this._paused,b=this._cycle;if(d!==this._time&&(t+=this._time-d),t>=m-1e-8&&t>=0)this._locked||(this._totalTime=m,this._cycle=this._repeat),!this._reversed&&!this._hasPausedChild()&&(s=!0,l="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||T<0||1e-8===T)&&T!==t&&this._first&&(h=!0,T>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,this._yoyo&&1&this._cycle?this._time=t=0:(this._time=p,t=p+1e-4);else if(t<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,t>-1e-8&&(t=0),(0!==d||0===p&&1e-8!==T&&(T>0||t<0&&T>=0)&&!this._locked)&&(l="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=s=!0,l="onReverseComplete"):T>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=p||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(h=!0)}else 0===p&&T<0&&(h=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(_=p+this._repeatDelay,this._cycle=this._totalTime/_|0,this._cycle&&this._cycle===this._totalTime/_&&g<=t&&this._cycle--,this._time=this._totalTime-this._cycle*_,this._yoyo&&1&this._cycle&&(this._time=p-this._time),this._time>p?(this._time=p,t=p+1e-4):this._time<0?this._time=t=0:t=this._time));if(this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>d||this._repeat&&b!==this._cycle)for(r=this._first;r&&r._startTime<=t&&!u;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(u=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!u;)!r._duration&&"isPause"===r.data&&r._rawPrevTime>0&&(u=r),r=r._prev;u&&(f=this._startTime+(this._reversed?this._duration-u._startTime:u._startTime)/this._timeScale,u._startTime0)||(this._active=!0),0!==g||!this.vars.onStart||0===this._totalTime&&this._totalDuration||e||this._callback("onStart"),(c=this._time)>=d)for(r=this._first;r&&(a=r._next,c===this._time&&(!this._paused||w));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(u===r&&(this.pause(),this._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=a;else for(r=this._last;r&&(a=r._prev,c===this._time&&(!this._paused||w));){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(u===r){for(u=r._prev;u&&u.endTime()>this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,i),u=u._prev;u=null,this.pause(),this._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=a}this._onUpdate&&!e&&(n.length&&o(),this._callback("onUpdate")),l&&!this._locked&&!this._gc&&(v===this._startTime||y!==this._timeScale)&&(0===this._time||m>=this.totalDuration())&&(s&&(n.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l))},_.getActive=function(t,e,i){var r,s,n=[],a=this.getChildren(t||null==t,e||null==t,!!i),o=0,l=a.length;for(r=0;rt)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].timei&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+s:this._repeat?t+s: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),a._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){e.call(this,t);var i,r,s=this.vars;for(r in this._labels={},this.autoRemoveChildren=!!s.autoRemoveChildren,this.smoothChildTiming=!!s.smoothChildTiming,this._sortChildren=!0,this._onUpdate=s.onUpdate,s)l(i=s[r])&&-1!==i.join("").indexOf("{self}")&&(s[r]=this._swapSelfInParams(i));l(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},s=i._internals,n=r._internals={},o=s.isSelector,l=s.isArray,h=s.lazyTweens,_=s.lazyRender,u=a._gsDefine.globals,c=function(t){var e,i={};for(e in t)i[e]=t[e];return i},f=function(t,e,i){var r,s,n=t.cycle;for(r in n)s=n[r],t[r]="function"==typeof s?s(i,e[i],e):s[i%s.length];delete t.cycle},d=n.pauseCallback=function(){},m=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},p=function(t,e,i,r){var s="immediateRender";return s in e||(e[s]=!(i&&!1===i[s]||r)),e},g=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,s=e.base||0,n={},a=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,h,_){var u,c,f,d,m,p,g,v,y,T=(_||e).length,w=n[T];if(!w){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=_[y++].getBoundingClientRect().left)&&yg&&(g=m),mT?T-1:o?"y"===o?T/y:y:Math.max(y,T/y))||0,w.b=T<0?s-T:s}return T=(w[t]-w.min)/w.max,w.b+(i?i.getRatio(T):T)*w.v}},v=r.prototype=new e;return r.version="2.1.3",r.distribute=g,v.constructor=r,v.kill()._gc=v._forcingPlayhead=v._hasPause=!1,v.to=function(t,e,r,s){var n=r.repeat&&u.TweenMax||i;return e?this.add(new n(t,e,r),s):this.set(t,r,s)},v.from=function(t,e,r,s){return this.add((r.repeat&&u.TweenMax||i).from(t,e,p(this,r)),s)},v.fromTo=function(t,e,r,s,n){var a=s.repeat&&u.TweenMax||i;return s=p(this,s,r),e?this.add(a.fromTo(t,e,r,s),n):this.set(t,s,n)},v.staggerTo=function(t,e,s,n,a,l,h,_){var u,d,p=new r({onComplete:l,onCompleteParams:h,callbackScope:_,smoothChildTiming:this.smoothChildTiming}),v=g(s.stagger||n),y=s.startAt,T=s.cycle;for("string"==typeof t&&(t=i.selector(t)||t),o(t=t||[])&&(t=m(t)),d=0;d1e-5)&&s.render(h,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._durations._startTime;f._timeline;)d&&f._timeline.smoothChildTiming?f.totalTime(f._totalTime,!0):f._gc&&f._enabled(!0,!1),f=f._timeline;return this},v.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&&l(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)},v._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},v.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},v.insert=v.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},v.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},v.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},v.addPause=function(t,e,r,s){var n=i.delayedCall(0,d,r,s||this);return n.vars.onComplete=n.vars.onReverseComplete=e,n.data="isPause",this._hasPause=!0,this.add(n,t)},v.removeLabel=function(t){return delete this._labels[t],this},v.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},v._parseTimeOrLabel=function(e,i,r,s){var n,a;if(s instanceof t&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&l(s)))for(a=s.length;--a>-1;)s[a]instanceof t&&s[a].timeline===this&&this.remove(s[a]);if(n="number"!=typeof e||i?this.duration()>0x174876e7ff?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-n: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]=n+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):n}else null==e&&(e=n);return Number(e)+i},v.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},v.stop=function(){return this.paused(!0)},v.gotoAndPlay=function(t,e){return this.play(t,e)},v.gotoAndStop=function(t,e){return this.pause(t,e)},v.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,n,a,o,l,u,c,f=this._time,d=this._dirty?this.totalDuration():this._totalDuration,m=this._startTime,p=this._timeScale,g=this._paused;if(f!==this._time&&(t+=this._time-f),this._hasPause&&!this._forcingPlayhead&&!e){if(t>f)for(r=this._first;r&&r._startTime<=t&&!l;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(l=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!l;)!r._duration&&"isPause"===r.data&&r._rawPrevTime>0&&(l=r),r=r._prev;l&&(this._time=this._totalTime=t=l._startTime,c=this._startTime+(this._reversed?this._duration-t:t)/this._timeScale)}if(t>=d-1e-8&&t>=0)this._totalTime=this._time=d,!this._reversed&&!this._hasPausedChild()&&(s=!0,a="onComplete",o=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(o=!0,this._rawPrevTime>1e-8&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,t=d+1e-4;else if(t<1e-8)if(this._totalTime=this._time=0,t>-1e-8&&(t=0),(0!==f||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(a="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(o=s=!0,a="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(o=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(o=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==f&&this._first||i||o||l){if(this._initted||(this._initted=!0),this._active||this._paused||this._time===f||!(t>0)||(this._active=!0),0!==f||!this.vars.onStart||0===this._time&&this._duration||e||this._callback("onStart"),(u=this._time)>=f)for(r=this._first;r&&(n=r._next,u===this._time&&(!this._paused||g));)(r._active||r._startTime<=u&&!r._paused&&!r._gc)&&(l===r&&(this.pause(),this._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=n;else for(r=this._last;r&&(n=r._prev,u===this._time&&(!this._paused||g));){if(r._active||r._startTime<=f&&!r._paused&&!r._gc){if(l===r){for(l=r._prev;l&&l.endTime()>this._time;)l.render(l._reversed?l.totalDuration()-(t-l._startTime)*l._timeScale:(t-l._startTime)*l._timeScale,e,i),l=l._prev;l=null,this.pause(),this._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=n}this._onUpdate&&!e&&(h.length&&_(),this._callback("onUpdate")),a&&!this._gc&&(m===this._startTime||p!==this._timeScale)&&(0===this._time||d>=this.totalDuration())&&(s&&(h.length&&_(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a))}},v._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},v.getChildren=function(t,e,r,s){s=s||-0x2540be3ff;for(var n=[],a=this._first,o=0;a;)a._startTime-1;)(r[s].timeline===this||e&&this._contains(r[s]))&&(a[o++]=r[s]);return n&&this._enabled(!1,!0),a},v.recent=function(){return this._recent},v._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},v.shiftChildren=function(t,e,i){i=i||0;for(var r,s=this._first,n=this._labels;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(r in n)n[r]>=i&&(n[r]+=t);return this._uncache(!0)},v._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,s=!1;--r>-1;)i[r]._kill(t,e)&&(s=!0);return s},v.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)},v.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},v._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)},v.totalTime=function(e,i,r){this._forcingPlayhead=!0;var s=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},v.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},v.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,s=this._last,n=0xe8d4a50fff;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>n&&this._sortChildren&&!s._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(s,s._startTime-s._delay),this._calculatingDuration=0):n=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale,this._time-=s._startTime,this._totalTime-=s._startTime,this._rawPrevTime-=s._startTime),this.shiftChildren(-s._startTime,!1,-0x2540be3ff),n=0),(i=s._startTime+s._totalDuration/s._timeScale)>r&&(r=i),s=e;this._duration=this._totalDuration=r,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},v.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)},v.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},v.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)}),a._gsDefine&&a._gsQueue.pop()(),function(o){"use strict";var l=function(){return(a.GreenSockGlobals||a)[o]};t.exports?(i(97438),t.exports=l()):(s=[i(97438)],void 0===(n="function"==typeof(r=l)?r.apply(e,s):r)||(t.exports=n))}("TimelineMax")},44605:function(t,e,i){var r,s;void 0===(s="function"==typeof(r=function(){"use strict";var t=function(){s.log(2,"(COMPATIBILITY NOTICE) -> As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.")};t.version="2.0.8","undefined"!=typeof window&&window.addEventListener("mousewheel",void 0);var e="data-scrollmagic-pin-spacer";t.Controller=function(r){var n,a,o="ScrollMagic.Controller",l="REVERSE",h="PAUSED",_=i.defaults,u=this,c=s.extend({},_,r),f=[],d=!1,m=0,p=h,g=!0,v=0,y=!0,T=function(){c.refreshInterval>0&&(a=window.setTimeout(C,c.refreshInterval))},w=function(){return c.vertical?s.get.scrollTop(c.container):s.get.scrollLeft(c.container)},b=function(){return c.vertical?s.get.height(c.container):s.get.width(c.container)},P=this._setScrollPos=function(t){c.vertical?g?window.scrollTo(s.get.scrollLeft(),t):c.container.scrollTop=t:g?window.scrollTo(t,s.get.scrollTop()):c.container.scrollLeft=t},S=function(){if(y&&d){var t=s.type.Array(d)?d:f.slice(0);d=!1;var e=m,i=(m=u.scrollPos())-e;0!==i&&(p=i>0?"FORWARD":l),p===l&&t.reverse(),t.forEach(function(e,i){A(3,"updating Scene "+(i+1)+"/"+t.length+" ("+f.length+" total)"),e.update(!0)}),0===t.length&&c.loglevel>=3&&A(3,"updating 0 Scenes (nothing added to controller)")}},k=function(){n=s.rAF(S)},R=function(t){A(3,"event fired causing an update:",t.type),"resize"==t.type&&(v=b(),p=h),!0!==d&&(d=!0,k())},C=function(){if(!g&&v!=b()){var t;try{t=new Event("resize",{bubbles:!1,cancelable:!1})}catch(e){(t=document.createEvent("Event")).initEvent("resize",!1,!1)}c.container.dispatchEvent(t)}f.forEach(function(t,e){t.refresh()}),T()},A=this._log=function(t,e){c.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),s.log.apply(window,arguments))};this._options=c;var x=function(t){if(t.length<=1)return t;var e=t.slice(0);return e.sort(function(t,e){return t.scrollOffset()>e.scrollOffset()?1:-1}),e};for(var D in this.addScene=function(e){if(s.type.Array(e))e.forEach(function(t,e){u.addScene(t)});else if(e instanceof t.Scene){if(e.controller()!==u)e.addTo(u);else if(0>f.indexOf(e)){for(var i in f.push(e),f=x(f),e.on("shift.controller_sort",function(){f=x(f)}),c.globalSceneOptions)e[i]&&e[i].call(e,c.globalSceneOptions[i]);A(3,"adding Scene (now "+f.length+" total)")}}else A(1,"ERROR: invalid argument supplied for '.addScene()'");return u},this.removeScene=function(t){if(s.type.Array(t))t.forEach(function(t,e){u.removeScene(t)});else{var e=f.indexOf(t);e>-1&&(t.off("shift.controller_sort"),f.splice(e,1),A(3,"removing Scene (now "+f.length+" left)"),t.remove())}return u},this.updateScene=function(e,i){return s.type.Array(e)?e.forEach(function(t,e){u.updateScene(t,i)}):i?e.update(!0):!0!==d&&e instanceof t.Scene&&(-1==(d=d||[]).indexOf(e)&&d.push(e),d=x(d),k()),u},this.update=function(t){return R({type:"resize"}),t&&S(),u},this.scrollTo=function(i,r){if(s.type.Number(i))P.call(c.container,i,r);else if(i instanceof t.Scene)i.controller()===u?u.scrollTo(i.scrollOffset(),r):A(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",i);else if(s.type.Function(i))P=i;else{var n=s.get.elements(i)[0];if(n){for(;n.parentNode.hasAttribute(e);)n=n.parentNode;var a=c.vertical?"top":"left",o=s.get.offset(c.container),l=s.get.offset(n);g||(o[a]-=u.scrollPos()),u.scrollTo(l[a]-o[a],r)}else A(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",i)}return u},this.scrollPos=function(t){return arguments.length?(s.type.Function(t)?w=t:A(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),u):w.call(u)},this.info=function(t){var e={size:v,vertical:c.vertical,scrollPos:m,scrollDirection:p,container:c.container,isDocument:g};return arguments.length?void 0!==e[t]?e[t]:void A(1,'ERROR: option "'+t+'" is not available'):e},this.loglevel=function(t){return arguments.length?(c.loglevel!=t&&(c.loglevel=t),u):c.loglevel},this.enabled=function(t){return arguments.length?(y!=t&&(y=!!t,u.updateScene(f,!0)),u):y},this.destroy=function(t){window.clearTimeout(a);for(var e=f.length;e--;)f[e].destroy(t);return c.container.removeEventListener("resize",R),c.container.removeEventListener("scroll",R),s.cAF(n),A(3,"destroyed "+o+" (reset: "+(t?"true":"false")+")"),null},c)_.hasOwnProperty(D)||(A(2,'WARNING: Unknown option "'+D+'"'),delete c[D]);if(c.container=s.get.elements(c.container)[0],!c.container)throw A(1,"ERROR creating object "+o+": No valid scroll container supplied"),o+" init failed.";(g=c.container===window||c.container===document.body||!document.body.contains(c.container))&&(c.container=window),v=b(),c.container.addEventListener("resize",R),c.container.addEventListener("scroll",R);var E=parseInt(c.refreshInterval,10);return c.refreshInterval=s.type.Number(E)?E:_.refreshInterval,T(),A(3,"added new "+o+" controller (v"+t.version+")"),u};var i={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};t.Controller.addOption=function(t,e){i.defaults[t]=e},t.Controller.extend=function(e){var i=this;t.Controller=function(){return i.apply(this,arguments),this.$super=s.extend({},this),e.apply(this,arguments)||this},s.extend(t.Controller,i),t.Controller.prototype=i.prototype,t.Controller.prototype.constructor=t.Controller},t.Scene=function(i){var n,a,o="ScrollMagic.Scene",l="BEFORE",h="DURING",_="AFTER",u=r.defaults,c=this,f=s.extend({},u,i),d=l,m=0,p={start:0,end:0},g=0,v=!0,y={};this.on=function(t,e){return s.type.Function(e)?(t=t.trim().split(" ")).forEach(function(t){var i=t.split("."),r=i[0],s=i[1];"*"!=r&&(y[r]||(y[r]=[]),y[r].push({namespace:s||"",callback:e}))}):T(1,"ERROR when calling '.on()': Supplied callback for '"+t+"' is not a valid function!"),c},this.off=function(t,e){return t?(t=t.trim().split(" ")).forEach(function(t,i){var r=t.split("."),s=r[0],n=r[1]||"";("*"===s?Object.keys(y):[s]).forEach(function(t){for(var i=y[t]||[],r=i.length;r--;){var s=i[r];s&&(n===s.namespace||"*"===n)&&(!e||e==s.callback)&&i.splice(r,1)}i.length||delete y[t]})}):T(1,"ERROR: Invalid event name supplied."),c},this.trigger=function(e,i){if(e){var r=e.trim().split("."),s=r[0],n=r[1],a=y[s];T(3,"event fired:",s,i?"->":"",i||""),a&&a.forEach(function(e,r){n&&n!==e.namespace||e.callback.call(c,new t.Event(s,e.namespace,c,i))})}else T(1,"ERROR: Invalid event name supplied.");return c},c.on("change.internal",function(t){"loglevel"!==t.what&&"tweenChanges"!==t.what&&("triggerElement"===t.what?P():"reverse"===t.what&&c.update())}).on("shift.internal",function(t){w(),c.update()});var T=this._log=function(t,e){f.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),s.log.apply(window,arguments))};this.addTo=function(e){return e instanceof t.Controller?a!=e&&(a&&a.removeScene(c),a=e,R(),b(!0),P(!0),w(),a.info("container").addEventListener("resize",S),e.addScene(c),c.trigger("add",{controller:a}),T(3,"added "+o+" to controller"),c.update()):T(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),c},this.enabled=function(t){return arguments.length?(v!=t&&(v=!!t,c.update(!0)),c):v},this.remove=function(){if(a){a.info("container").removeEventListener("resize",S);var t=a;a=void 0,t.removeScene(c),c.trigger("remove"),T(3,"removed "+o+" from controller")}return c},this.destroy=function(t){return c.trigger("destroy",{reset:t}),c.remove(),c.off("*.*"),T(3,"destroyed "+o+" (reset: "+(t?"true":"false")+")"),null},this.update=function(t){if(a)if(t)if(a.enabled()&&v){var e,i=a.info("scrollPos");e=f.duration>0?(i-p.start)/(p.end-p.start):+(i>=p.start),c.trigger("update",{startPos:p.start,endPos:p.end,scrollPos:i}),c.progress(e)}else L&&d===h&&x(!0);else a.updateScene(c,!1);return c},this.refresh=function(){return b(),P(),c},this.progress=function(t){if(!arguments.length)return m;var e=!1,i=d,r=a?a.info("scrollDirection"):"PAUSED",s=f.reverse||t>=m;if(0===f.duration?(e=m!=t,d=0==(m=t<1&&s?0:1)?l:h):t<0&&d!==l&&s?(m=0,d=l,e=!0):t>=0&&t<1&&s?(m=t,d=h,e=!0):t>=1&&d!==_?(m=1,d=_,e=!0):d!==h||s||x(),e){var n={progress:m,state:d,scrollDirection:r},o=d!=i,u=function(t){c.trigger(t,n)};o&&i!==h&&(u("enter"),u(i===l?"start":"end")),u("progress"),o&&d!==h&&(u(d===l?"start":"end"),u("leave"))}return c};var w=function(){p={start:g+f.offset},a&&f.triggerElement&&(p.start-=a.info("size")*f.triggerHook),p.end=p.start+f.duration},b=function(t){if(n){var e="duration";C(e,n.call(c))&&!t&&(c.trigger("change",{what:e,newval:f[e]}),c.trigger("shift",{reason:e}))}},P=function(t){var i=0,r=f.triggerElement;if(a&&(r||g>0)){if(r)if(r.parentNode){for(var n=a.info(),o=s.get.offset(n.container),l=n.vertical?"top":"left";r.parentNode.hasAttribute(e);)r=r.parentNode;var h=s.get.offset(r);n.isDocument||(o[l]-=a.scrollPos()),i=h[l]-o[l]}else T(2,"WARNING: triggerElement was removed from DOM and will be reset to",void 0),c.triggerElement(void 0);var _=i!=g;g=i,_&&!t&&c.trigger("shift",{reason:"triggerElementPosition"})}},S=function(t){f.triggerHook>0&&c.trigger("shift",{reason:"containerResize"})},k=s.extend(r.validate,{duration:function(t){if(s.type.String(t)&&t.match(/^(\.|\d)*\d+%$/)){var e=parseFloat(t)/100;t=function(){return a?a.info("size")*e:0}}if(s.type.Function(t)){n=t;try{t=parseFloat(n.call(c))}catch(e){t=-1}}if(t=parseFloat(t),!s.type.Number(t)||t<0)if(n)throw n=void 0,['Invalid return value of supplied function for option "duration":',t];else throw['Invalid value for option "duration":',t];return t}}),R=function(t){t=arguments.length?[t]:Object.keys(k),t.forEach(function(t,e){var i;if(k[t])try{i=k[t](f[t])}catch(e){i=u[t];var r=s.type.String(e)?[e]:e;s.type.Array(r)?(r[0]="ERROR: "+r[0],r.unshift(1),T.apply(this,r)):T(1,"ERROR: Problem executing validation callback for option '"+t+"':",e.message)}finally{f[t]=i}})},C=function(t,e){var i=!1,r=f[t];return f[t]!=e&&(f[t]=e,R(t),i=r!=f[t]),i},A=function(t){c[t]||(c[t]=function(e){return arguments.length?("duration"===t&&(n=void 0),C(t,e)&&(c.trigger("change",{what:t,newval:f[t]}),r.shifts.indexOf(t)>-1&&c.trigger("shift",{reason:t})),c):f[t]})};this.controller=function(){return a},this.state=function(){return d},this.scrollOffset=function(){return p.start},this.triggerPosition=function(){var t=f.offset;return a&&(f.triggerElement?t+=g:t+=a.info("size")*c.triggerHook()),t},c.on("shift.internal",function(t){var e="duration"===t.reason;(d===_&&e||d===h&&0===f.duration)&&x(),e&&D()}).on("progress.internal",function(t){x()}).on("add.internal",function(t){D()}).on("destroy.internal",function(t){c.removePin(t.reset)});var x=function(t){if(L&&a){var e=a.info(),i=M.spacer.firstChild;if(t||d!==h){var r={position:M.inFlow?"relative":"absolute",top:0,left:0},n=s.css(i,"position")!=r.position;M.pushFollowers?f.duration>0&&(d===_&&0===parseFloat(s.css(M.spacer,"padding-top"))?n=!0:d===l&&0===parseFloat(s.css(M.spacer,"padding-bottom"))&&(n=!0)):r[e.vertical?"top":"left"]=f.duration*m,s.css(i,r),n&&D()}else{"fixed"!=s.css(i,"position")&&(s.css(i,{position:"fixed"}),D());var o=s.get.offset(M.spacer,!0),u=f.reverse||0===f.duration?e.scrollPos-p.start:Math.round(m*f.duration*10)/10;o[e.vertical?"top":"left"]+=u,s.css(M.spacer.firstChild,{top:o.top,left:o.left})}}},D=function(){if(L&&a&&M.inFlow){var t=d===h,e=a.info("vertical"),i=M.spacer.firstChild,r=s.isMarginCollapseType(s.css(M.spacer,"display")),n={};M.relSize.width||M.relSize.autoFullWidth?t?s.css(L,{width:s.get.width(M.spacer)}):s.css(L,{width:"100%"}):(n["min-width"]=s.get.width(e?L:i,!0,!0),n.width=t?n["min-width"]:"auto"),M.relSize.height?t?s.css(L,{height:s.get.height(M.spacer)-(M.pushFollowers?f.duration:0)}):s.css(L,{height:"100%"}):(n["min-height"]=s.get.height(e?i:L,!0,!r),n.height=t?n["min-height"]:"auto"),M.pushFollowers&&(n["padding"+(e?"Top":"Left")]=f.duration*m,n["padding"+(e?"Bottom":"Right")]=f.duration*(1-m)),s.css(M.spacer,n)}},E=function(){a&&L&&d===h&&!a.info("isDocument")&&x()},O=function(){a&&L&&d===h&&((M.relSize.width||M.relSize.autoFullWidth)&&s.get.width(window)!=s.get.width(M.spacer.parentNode)||M.relSize.height&&s.get.height(window)!=s.get.height(M.spacer.parentNode))&&D()},z=function(t){a&&L&&d===h&&!a.info("isDocument")&&(t.preventDefault(),a._setScrollPos(a.info("scrollPos")-((t.wheelDelta||t[a.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||-(30*t.detail))))};this.setPin=function(t,i){var r=i&&i.hasOwnProperty("pushFollowers");if(i=s.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},i),!(t=s.get.elements(t)[0]))return T(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),c;if("fixed"===s.css(t,"position"))return T(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),c;if(L)if(L===t)return c;else c.removePin();var n=(L=t).parentNode.style.display,a=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];L.parentNode.style.display="none";var o="absolute"!=s.css(L,"position"),l=s.css(L,a.concat(["display"])),h=s.css(L,["width","height"]);L.parentNode.style.display=n,!o&&i.pushFollowers&&(T(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),i.pushFollowers=!1),window.setTimeout(function(){L&&0===f.duration&&r&&i.pushFollowers&&T(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")},0);var _=L.parentNode.insertBefore(document.createElement("div"),L),u=s.extend(l,{position:o?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(o||s.extend(u,s.css(L,["width","height"])),s.css(_,u),_.setAttribute(e,""),s.addClass(_,i.spacerClass),M={spacer:_,relSize:{width:"%"===h.width.slice(-1),height:"%"===h.height.slice(-1),autoFullWidth:"auto"===h.width&&o&&s.isMarginCollapseType(l.display)},pushFollowers:i.pushFollowers,inFlow:o},!L.___origStyle){L.___origStyle={};var d=L.style;a.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(t){L.___origStyle[t]=d[t]||""})}return M.relSize.width&&s.css(_,{width:h.width}),M.relSize.height&&s.css(_,{height:h.height}),_.appendChild(L),s.css(L,{position:o?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(M.relSize.width||M.relSize.autoFullWidth)&&s.css(L,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",E),window.addEventListener("resize",E),window.addEventListener("resize",O),L.addEventListener("mousewheel",z),L.addEventListener("DOMMouseScroll",z),T(3,"added pin"),x(),c},this.removePin=function(t){if(L){if(d===h&&x(!0),t||!a){var i=M.spacer.firstChild;if(i.hasAttribute(e)){var r=M.spacer.style,n={};["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(t){n[t]=r[t]||""}),s.css(i,n)}M.spacer.parentNode.insertBefore(i,M.spacer),M.spacer.parentNode.removeChild(M.spacer),L.parentNode.hasAttribute(e)||(s.css(L,L.___origStyle),delete L.___origStyle)}window.removeEventListener("scroll",E),window.removeEventListener("resize",E),window.removeEventListener("resize",O),L.removeEventListener("mousewheel",z),L.removeEventListener("DOMMouseScroll",z),L=void 0,T(3,"removed pin (reset: "+(t?"true":"false")+")")}return c};var L,M,I,F=[];for(var N in c.on("destroy.internal",function(t){c.removeClassToggle(t.reset)}),this.setClassToggle=function(t,e){var i=s.get.elements(t);return 0!==i.length&&s.type.String(e)?(F.length>0&&c.removeClassToggle(),I=e,F=i,c.on("enter.internal_class leave.internal_class",function(t){var e="enter"===t.type?s.addClass:s.removeClass;F.forEach(function(t,i){e(t,I)})})):T(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===i.length?"element":"classes")+" supplied."),c},this.removeClassToggle=function(t){return t&&F.forEach(function(t,e){s.removeClass(t,I)}),c.off("start.internal_class end.internal_class"),I=void 0,F=[],c},f)u.hasOwnProperty(N)||(T(2,'WARNING: Unknown option "'+N+'"'),delete f[N]);for(var G in u)A(G);return R(),c};var r={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(t){if(t=parseFloat(t),!s.type.Number(t))throw['Invalid value for option "offset":',t];return t},triggerElement:function(t){if(t=t||void 0){var e=s.get.elements(t)[0];if(e&&e.parentNode)t=e;else throw['Element defined in option "triggerElement" was not found:',t]}return t},triggerHook:function(t){var e={onCenter:.5,onEnter:1,onLeave:0};if(s.type.Number(t))t=Math.max(0,Math.min(parseFloat(t),1));else if(t in e)t=e[t];else throw['Invalid value for option "triggerHook": ',t];return t},reverse:function(t){return!!t},loglevel:function(t){if(t=parseInt(t),!s.type.Number(t)||t<0||t>3)throw['Invalid value for option "loglevel":',t];return t}},shifts:["duration","offset","triggerHook"]};t.Scene.addOption=function(e,i,s,n){e in r.defaults?t._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+e+"', because it already exists."):(r.defaults[e]=i,r.validate[e]=s,n&&r.shifts.push(e))},t.Scene.extend=function(e){var i=this;t.Scene=function(){return i.apply(this,arguments),this.$super=s.extend({},this),e.apply(this,arguments)||this},s.extend(t.Scene,i),t.Scene.prototype=i.prototype,t.Scene.prototype.constructor=t.Scene},t.Event=function(t,e,i,r){for(var s in r=r||{})this[s]=r[s];return this.type=t,this.target=this.currentTarget=i,this.namespace=e||"",this.timeStamp=this.timestamp=Date.now(),this};var s=t._util=function(t){var e,i={},r=function(t){return parseFloat(t)||0},s=function(e){return e.currentStyle?e.currentStyle:t.getComputedStyle(e)},n=function(e,i,n,a){if((i=i===document?t:i)===t)a=!1;else if(!d.DomElement(i))return 0;e=e.charAt(0).toUpperCase()+e.substr(1).toLowerCase();var o=(n?i["offset"+e]||i["outer"+e]:i["client"+e]||i["inner"+e])||0;if(n&&a){var l=s(i);o+="Height"===e?r(l.marginTop)+r(l.marginBottom):r(l.marginLeft)+r(l.marginRight)}return o},a=function(t){return t.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(t){return t[1].toUpperCase()})};i.extend=function(t){for(e=1,t=t||{};e-1};var o=0,l=["ms","moz","webkit","o"],h=t.requestAnimationFrame,_=t.cancelAnimationFrame;for(e=0;!h&&eu.length||t<=0)&&(t=u.length);var e=new Date,i=("0"+e.getHours()).slice(-2)+":"+("0"+e.getMinutes()).slice(-2)+":"+("0"+e.getSeconds()).slice(-2)+":"+("00"+e.getMilliseconds()).slice(-3),r=u[t-1],s=Array.prototype.splice.call(arguments,1),n=Function.prototype.bind.call(c[r],c);s.unshift(i),n.apply(c,s)};var d=i.type=function(t){return Object.prototype.toString.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};d.String=function(t){return"string"===d(t)},d.Function=function(t){return"function"===d(t)},d.Array=function(t){return Array.isArray(t)},d.Number=function(t){return!d.Array(t)&&t-parseFloat(t)+1>=0},d.DomElement=function(t){return"object"==typeof HTMLElement||"function"==typeof HTMLElement?t instanceof HTMLElement||t instanceof SVGElement:t&&"object"==typeof t&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName};var m=i.get={};return m.elements=function(e){var i=[];if(d.String(e))try{e=document.querySelectorAll(e)}catch(t){return i}if("nodelist"===d(e)||d.Array(e)||e instanceof NodeList)for(var r=0,s=i.length=e.length;r ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},t.Scene.prototype.removeIndicators=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},t.Scene.prototype.setTween=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},t.Scene.prototype.removeTween=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},t.Scene.prototype.setVelocity=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},t.Scene.prototype.removeVelocity=function(){return t._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},t})?r.call(e,i,e,t):r)||(t.exports=s)},48352:function(t){t.exports=function(){"use strict";var t="undefined"!=typeof document&&document.documentMode,e={rootMargin:"0px",threshold:0,load:function(e){if("picture"===e.nodeName.toLowerCase()){var i=e.querySelector("img"),r=!1;null===i&&(i=document.createElement("img"),r=!0),t&&e.getAttribute("data-iesrc")&&(i.src=e.getAttribute("data-iesrc")),e.getAttribute("data-alt")&&(i.alt=e.getAttribute("data-alt")),r&&e.append(i)}if("video"===e.nodeName.toLowerCase()&&!e.getAttribute("data-src")&&e.children){for(var s=e.children,n=void 0,a=0;a<=s.length-1;a++)(n=s[a].getAttribute("data-src"))&&(s[a].src=n);e.load()}e.getAttribute("data-poster")&&(e.poster=e.getAttribute("data-poster")),e.getAttribute("data-src")&&(e.src=e.getAttribute("data-src")),e.getAttribute("data-srcset")&&e.setAttribute("srcset",e.getAttribute("data-srcset"));var o=",";if(e.getAttribute("data-background-delimiter")&&(o=e.getAttribute("data-background-delimiter")),e.getAttribute("data-background-image"))e.style.backgroundImage="url('"+e.getAttribute("data-background-image").split(o).join("'),url('")+"')";else if(e.getAttribute("data-background-image-set")){var l=e.getAttribute("data-background-image-set").split(o),h=l[0].substr(0,l[0].indexOf(" "))||l[0];h=-1===h.indexOf("url(")?"url("+h+")":h,1===l.length?e.style.backgroundImage=h:e.setAttribute("style",(e.getAttribute("style")||"")+"background-image: "+h+"; background-image: -webkit-image-set("+l+"); background-image: image-set("+l+")")}e.getAttribute("data-toggle-class")&&e.classList.toggle(e.getAttribute("data-toggle-class"))},loaded:function(){}};function i(t){t.setAttribute("data-loaded",!0)}var r=function(t){return"true"===t.getAttribute("data-loaded")},s=function(t){var e=1{"use strict";i.r(e),i.d(e,{AttrPlugin:()=>l,Back:()=>D,BezierPlugin:()=>A,Bounce:()=>O,CSSPlugin:()=>o.A,Circ:()=>I,DirectionalRotationPlugin:()=>f,Ease:()=>r.zM,Elastic:()=>E,Expo:()=>F,ExpoScaleEase:()=>G,Linear:()=>r.WG,Power0:()=>r.MO,Power1:()=>r.F,Power2:()=>r.ys,Power3:()=>r.FL,Power4:()=>r.MI,RoughEase:()=>z,RoundPropsPlugin:()=>h,Sine:()=>N,SlowMo:()=>L,SteppedEase:()=>M,TimelineLite:()=>s,TimelineMax:()=>n,TweenLite:()=>r.Ay,TweenMax:()=>U,TweenPlugin:()=>r.tN,_gsScope:()=>r.uW,default:()=>U});var r=i(70587);r.uW._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){r.UL.call(this,t);var e,i,s=this.vars;for(i in this._labels={},this.autoRemoveChildren=!!s.autoRemoveChildren,this.smoothChildTiming=!!s.smoothChildTiming,this._sortChildren=!0,this._onUpdate=s.onUpdate,s)n(e=s[i])&&-1!==e.join("").indexOf("{self}")&&(s[i]=this._swapSelfInParams(e));n(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},e=r.Ay._internals,i=t._internals={},s=e.isSelector,n=e.isArray,a=e.lazyTweens,o=e.lazyRender,l=r.uW._gsDefine.globals,h=function(t){var e,i={};for(e in t)i[e]=t[e];return i},_=function(t,e,i){var r,s,n=t.cycle;for(r in n)s=n[r],t[r]="function"==typeof s?s(i,e[i],e):s[i%s.length];delete t.cycle},u=i.pauseCallback=function(){},c=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},f=function(t,e,i,r){var s="immediateRender";return s in e||(e[s]=!(i&&!1===i[s]||r)),e},d=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,s=e.base||0,n={},a=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,h,_){var u,c,f,d,m,p,g,v,y,T=(_||e).length,w=n[T];if(!w){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=_[y++].getBoundingClientRect().left)&&yg&&(g=m),mT?T-1:o?"y"===o?T/y:y:Math.max(y,T/y))||0,w.b=T<0?s-T:s}return T=(w[t]-w.min)/w.max,w.b+(i?i.getRatio(T):T)*w.v}},m=t.prototype=new r.UL;return t.version="2.1.3",t.distribute=d,m.constructor=t,m.kill()._gc=m._forcingPlayhead=m._hasPause=!1,m.to=function(t,e,i,s){var n=i.repeat&&l.TweenMax||r.Ay;return e?this.add(new n(t,e,i),s):this.set(t,i,s)},m.from=function(t,e,i,s){return this.add((i.repeat&&l.TweenMax||r.Ay).from(t,e,f(this,i)),s)},m.fromTo=function(t,e,i,s,n){var a=s.repeat&&l.TweenMax||r.Ay;return s=f(this,s,i),e?this.add(a.fromTo(t,e,i,s),n):this.set(t,s,n)},m.staggerTo=function(e,i,n,a,o,l,u,f){var m,p,g=new t({onComplete:l,onCompleteParams:u,callbackScope:f,smoothChildTiming:this.smoothChildTiming}),v=d(n.stagger||a),y=n.startAt,T=n.cycle;for("string"==typeof e&&(e=r.Ay.selector(e)||e),s(e=e||[])&&(e=c(e)),p=0;p1e-5)&&e.render(o,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duratione._startTime;u._timeline;)c&&u._timeline.smoothChildTiming?u.totalTime(u._totalTime,!0):u._gc&&u._enabled(!0,!1),u=u._timeline;return this},m.remove=function(t){if(t instanceof r.X5){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?r.X5._rootFramesTimeline:r.X5._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&n(t)){for(var i=t.length;--i>-1;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},m._remove=function(t,e){return r.UL.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},m.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insert=m.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},m.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},m.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},m.addPause=function(t,e,i,s){var n=r.Ay.delayedCall(0,u,i,s||this);return n.vars.onComplete=n.vars.onReverseComplete=e,n.data="isPause",this._hasPause=!0,this.add(n,t)},m.removeLabel=function(t){return delete this._labels[t],this},m.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},m._parseTimeOrLabel=function(t,e,i,s){var a,o;if(s instanceof r.X5&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&n(s)))for(o=s.length;--o>-1;)s[o]instanceof r.X5&&s[o].timeline===this&&this.remove(s[o]);if(a="number"!=typeof t||e?this.duration()>0x174876e7ff?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-a:0,i);if(e=e||0,"string"==typeof t&&(isNaN(t)||null!=this._labels[t])){if(-1===(o=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=a+e:e:this._labels[t]+e;e=parseInt(t.charAt(o-1)+"1",10)*Number(t.substr(o+1)),t=o>1?this._parseTimeOrLabel(t.substr(0,o-1),0,i):a}else null==t&&(t=a);return Number(t)+e},m.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},m.stop=function(){return this.paused(!0)},m.gotoAndPlay=function(t,e){return this.play(t,e)},m.gotoAndStop=function(t,e){return this.pause(t,e)},m.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,n,l,h,_,u,c,f=this._time,d=this._dirty?this.totalDuration():this._totalDuration,m=this._startTime,p=this._timeScale,g=this._paused;if(f!==this._time&&(t+=this._time-f),this._hasPause&&!this._forcingPlayhead&&!e){if(t>f)for(r=this._first;r&&r._startTime<=t&&!_;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(_=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!_;)!r._duration&&"isPause"===r.data&&r._rawPrevTime>0&&(_=r),r=r._prev;_&&(this._time=this._totalTime=t=_._startTime,c=this._startTime+(this._reversed?this._duration-t:t)/this._timeScale)}if(t>=d-1e-8&&t>=0)this._totalTime=this._time=d,!this._reversed&&!this._hasPausedChild()&&(s=!0,l="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,t=d+1e-4;else if(t<1e-8)if(this._totalTime=this._time=0,t>-1e-8&&(t=0),(0!==f||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(l="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=s=!0,l="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(h=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==f&&this._first||i||h||_){if(this._initted||(this._initted=!0),this._active||this._paused||this._time===f||!(t>0)||(this._active=!0),0!==f||!this.vars.onStart||0===this._time&&this._duration||e||this._callback("onStart"),(u=this._time)>=f)for(r=this._first;r&&(n=r._next,u===this._time&&(!this._paused||g));)(r._active||r._startTime<=u&&!r._paused&&!r._gc)&&(_===r&&(this.pause(),this._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=n;else for(r=this._last;r&&(n=r._prev,u===this._time&&(!this._paused||g));){if(r._active||r._startTime<=f&&!r._paused&&!r._gc){if(_===r){for(_=r._prev;_&&_.endTime()>this._time;)_.render(_._reversed?_.totalDuration()-(t-_._startTime)*_._timeScale:(t-_._startTime)*_._timeScale,e,i),_=_._prev;_=null,this.pause(),this._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=n}this._onUpdate&&!e&&(a.length&&o(),this._callback("onUpdate")),l&&!this._gc&&(m===this._startTime||p!==this._timeScale)&&(0===this._time||d>=this.totalDuration())&&(s&&(a.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l))}},m._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},m.getChildren=function(t,e,i,s){s=s||-0x2540be3ff;for(var n=[],a=this._first,o=0;a;)a._startTime-1;)(i[s].timeline===this||e&&this._contains(i[s]))&&(a[o++]=i[s]);return n&&this._enabled(!1,!0),a},m.recent=function(){return this._recent},m._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},m.shiftChildren=function(t,e,i){i=i||0;for(var r,s=this._first,n=this._labels;s;)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(r in n)n[r]>=i&&(n[r]+=t);return this._uncache(!0)},m._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,s=!1;--r>-1;)i[r]._kill(t,e)&&(s=!0);return s},m.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)},m.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return r.X5.prototype.invalidate.call(this)},m._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return r.UL.prototype._enabled.call(this,t,e)},m.totalTime=function(t,e,i){this._forcingPlayhead=!0;var s=r.X5.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},m.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,s=this._last,n=0xe8d4a50fff;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>n&&this._sortChildren&&!s._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(s,s._startTime-s._delay),this._calculatingDuration=0):n=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,this._timeline.smoothChildTiming&&(this._startTime+=s._startTime/this._timeScale,this._time-=s._startTime,this._totalTime-=s._startTime,this._rawPrevTime-=s._startTime),this.shiftChildren(-s._startTime,!1,-0x2540be3ff),n=0),(i=s._startTime+s._totalDuration/s._timeScale)>r&&(r=i),s=e;this._duration=this._totalDuration=r,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},m.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return r.X5.prototype.paused.apply(this,arguments)},m.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===r.X5._rootFramesTimeline},m.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},t},!0);var s=r.zQ.TimelineLite;r.uW._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var t=function(t){s.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},e=r.Ay._internals,i=e.lazyTweens,n=e.lazyRender,a=r.uW._gsDefine.globals,o=new r.zM(null,null,1,0),l=t.prototype=new s;return l.constructor=t,l.kill()._gc=!1,t.version="2.1.3",l.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),s.prototype.invalidate.call(this)},l.addCallback=function(t,e,i,s){return this.add(r.Ay.delayedCall(0,t,i,s),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,s=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===s&&i[r]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(s._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var i,s,n,l={ease:o,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},h=e.repeat&&a.TweenMax||r.Ay;for(s in e)l[s]=e[s];return l.time=this._parseTimeOrLabel(t),n=new h(this,i=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,l),l.onStart=function(){n.target.paused(!0),n.vars.time===n.target.time()||i!==n.duration()||n.isFromTo||n.duration(Math.abs(n.vars.time-n.target.time())/n.target._timeScale).render(n.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||n,e.onStartParams||[])},n},l.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)},l.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var s,a,o,l,h,_,u,c,f,d=this._time,m=this._dirty?this.totalDuration():this._totalDuration,p=this._duration,g=this._totalTime,v=this._startTime,y=this._timeScale,T=this._rawPrevTime,w=this._paused,b=this._cycle;if(d!==this._time&&(t+=this._time-d),t>=m-1e-8&&t>=0)this._locked||(this._totalTime=m,this._cycle=this._repeat),!this._reversed&&!this._hasPausedChild()&&(a=!0,l="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||T<0||1e-8===T)&&T!==t&&this._first&&(h=!0,T>1e-8&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,this._yoyo&&1&this._cycle?this._time=t=0:(this._time=p,t=p+1e-4);else if(t<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,t>-1e-8&&(t=0),(0!==d||0===p&&1e-8!==T&&(T>0||t<0&&T>=0)&&!this._locked)&&(l="onReverseComplete",a=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=a=!0,l="onReverseComplete"):T>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=p||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&a)for(s=this._first;s&&0===s._startTime;)s._duration||(a=!1),s=s._next;t=0,this._initted||(h=!0)}else 0===p&&T<0&&(h=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(_=p+this._repeatDelay,this._cycle=this._totalTime/_|0,this._cycle&&this._cycle===this._totalTime/_&&g<=t&&this._cycle--,this._time=this._totalTime-this._cycle*_,this._yoyo&&1&this._cycle&&(this._time=p-this._time),this._time>p?(this._time=p,t=p+1e-4):this._time<0?this._time=t=0:t=this._time));if(this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>d||this._repeat&&b!==this._cycle)for(s=this._first;s&&s._startTime<=t&&!u;)s._duration||"isPause"!==s.data||s.ratio||0===s._startTime&&0===this._rawPrevTime||(u=s),s=s._next;else for(s=this._last;s&&s._startTime>=t&&!u;)!s._duration&&"isPause"===s.data&&s._rawPrevTime>0&&(u=s),s=s._prev;u&&(f=this._startTime+(this._reversed?this._duration-u._startTime:u._startTime)/this._timeScale,u._startTime0)||(this._active=!0),0!==g||!this.vars.onStart||0===this._totalTime&&this._totalDuration||e||this._callback("onStart"),(c=this._time)>=d)for(s=this._first;s&&(o=s._next,c===this._time&&(!this._paused||w));)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(u===s&&(this.pause(),this._pauseTime=f),s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,r):s.render((t-s._startTime)*s._timeScale,e,r)),s=o;else for(s=this._last;s&&(o=s._prev,c===this._time&&(!this._paused||w));){if(s._active||s._startTime<=d&&!s._paused&&!s._gc){if(u===s){for(u=s._prev;u&&u.endTime()>this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,r),u=u._prev;u=null,this.pause(),this._pauseTime=f}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,r):s.render((t-s._startTime)*s._timeScale,e,r)}s=o}this._onUpdate&&!e&&(i.length&&n(),this._callback("onUpdate")),l&&!this._locked&&!this._gc&&(v===this._startTime||y!==this._timeScale)&&(0===this._time||m>=this.totalDuration())&&(a&&(i.length&&n(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l))},l.getActive=function(t,e,i){var r,s,n=[],a=this.getChildren(t||null==t,e||null==t,!!i),o=0,l=a.length;for(r=0;rt)return i[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].timei&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+s:this._repeat?t+s:t,e)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t},!0);var n=r.zQ.TimelineMax;r.uW._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},e=function(t,e,i){var r,s,n=t.cycle;for(r in n)s=n[r],t[r]="function"==typeof s?s(i,e[i],e):s[i%s.length];delete t.cycle},i=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,s=e.base||0,n={},a=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,h,_){var u,c,f,d,m,p,g,v,y,T=(_||e).length,w=n[T];if(!w){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=_[y++].getBoundingClientRect().left)&&yg&&(g=m),mT?T-1:o?"y"===o?T/y:y:Math.max(y,T/y))||0,w.b=T<0?s-T:s}return T=(w[t]-w.min)/w.max,w.b+(i?i.getRatio(T):T)*w.v}},s=function(t,e,i){r.Ay.call(this,t,e,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=s.prototype.render},n=r.Ay._internals,a=n.isSelector,o=n.isArray,l=s.prototype=r.Ay.to({},.1,{}),h=[];s.version="2.1.3",l.constructor=s,l.kill()._gc=!1,s.killTweensOf=s.killDelayedCallsTo=r.Ay.killTweensOf,s.getTweensOf=r.Ay.getTweensOf,s.lagSmoothing=r.Ay.lagSmoothing,s.ticker=r.Ay.ticker,s.render=r.Ay.render,s.distribute=i,l.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),r.Ay.prototype.invalidate.call(this)},l.updateTo=function(t,e){var i,s=this.ratio,n=this.vars.immediateRender||t.immediateRender;for(i in e&&this._startTime.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||n)for(var o,l=1/(1-s),h=this._firstPT;h;)o=h.s+h.c,h.c*=l,h.s=o-h.c,h=h._next}return this},l.render=function(t,e,i){!this._initted&&0===this._duration&&this.vars.repeat&&this.invalidate();var s,a,o,l,h,_,u,c,f,d=this._dirty?this.totalDuration():this._totalDuration,m=this._time,p=this._totalTime,g=this._cycle,v=this._duration,y=this._rawPrevTime;if(t>=d-1e-8&&t>=0?(this._totalTime=d,this._cycle=this._repeat,this._yoyo&&(1&this._cycle)!=0?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=v,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,a="onComplete",i=i||this._timeline.autoRemoveChildren),0===v&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(y<0||t<=0&&t>=-1e-8||1e-8===y&&"isPause"!==this.data)&&y!==t&&(i=!0,y>1e-8&&(a="onReverseComplete")),this._rawPrevTime=c=!e||t||y===t?t:1e-8)):t<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==p||0===v&&y>0)&&(a="onReverseComplete",s=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===v&&(this._initted||!this.vars.lazy||i)&&(y>=0&&(i=!0),this._rawPrevTime=c=!e||t||y===t?t:1e-8)),this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=v+this._repeatDelay,this._cycle=this._totalTime/l|0,0!==this._cycle&&this._cycle===this._totalTime/l&&p<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&(1&this._cycle)!=0&&(this._time=v-this._time,(f=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==f||this._initted?this._yoyoEase=f=!0===f?this._ease:f instanceof r.zM?f:r.zM.map[f]:(f=this.vars.ease,this._yoyoEase=f=f?f instanceof r.zM?f:"function"==typeof f?new r.zM(f,this.vars.easeParams):r.zM.map[f]||r.Ay.defaultEase:r.Ay.defaultEase)),this.ratio=f?1-f.getRatio((v-this._time)/v):0)),this._time>v?this._time=v:this._time<0&&(this._time=0)),this._easeType&&!f?(h=this._time/v,_=this._easeType,u=this._easePower,(1===_||3===_&&h>=.5)&&(h=1-h),3===_&&(h*=2),1===u?h*=h:2===u?h*=h*h:3===u?h*=h*h*h:4===u&&(h*=h*h*h*h),this.ratio=1===_?1-h:2===_?h:this._time/v<.5?h/2:1-h/2):f||(this.ratio=this._ease.getRatio(this._time/v))),m!==this._time||i||g!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)){this._time=m,this._totalTime=p,this._rawPrevTime=y,this._cycle=g,n.lazyTweens.push(this),this._lazy=[t,e];return}!this._time||s||f?s&&this._ease._calcEnd&&!f&&(this.ratio=this._ease.getRatio(+(0!==this._time))):this.ratio=this._ease.getRatio(this._time/v)}}else{p!==this._totalTime&&this._onUpdate&&!e&&this._callback("onUpdate");return}for(!1!==this._lazy&&(this._lazy=!1),this._active||this._paused||this._time===m||!(t>=0)||(this._active=!0),0===p&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,i):a||(a="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===v)&&!e&&this._callback("onStart")),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,i),!e&&(this._totalTime!==p||a)&&this._callback("onUpdate")),this._cycle===g||e||this._gc||!this.vars.onRepeat||this._callback("onRepeat"),a&&(!this._gc||i)&&(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a),0===v&&1e-8===this._rawPrevTime&&1e-8!==c&&(this._rawPrevTime=0))},s.to=function(t,e,i){return new s(t,e,i)},s.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=!1!=i.immediateRender,new s(t,e,i)},s.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=!1!=r.immediateRender&&!1!=i.immediateRender,new s(t,e,r)},s.staggerTo=s.allTo=function(n,l,_,u,c,f,d){var m,p,g,v,y=[],T=i(_.stagger||u),w=_.cycle,b=(_.startAt||h).cycle;for(!o(n)&&("string"==typeof n&&(n=r.Ay.selector(n)||n),a(n)&&(n=t(n))),m=(n=n||[]).length-1,g=0;g<=m;g++){for(v in p={},_)p[v]=_[v];if(w&&(e(p,n,g),null!=p.duration&&(l=p.duration,delete p.duration)),b){for(v in b=p.startAt={},_.startAt)b[v]=_.startAt[v];e(p.startAt,n,g)}p.delay=T(g,n[g],n)+(p.delay||0),g===m&&c&&(p.onComplete=function(){_.onComplete&&_.onComplete.apply(_.onCompleteScope||this,arguments),c.apply(d||_.callbackScope||this,f||h)}),y[g]=new s(n[g],l,p)}return y},s.staggerFrom=s.allFrom=function(t,e,i,r,n,a,o){return i.runBackwards=!0,i.immediateRender=!1!=i.immediateRender,s.staggerTo(t,e,i,r,n,a,o)},s.staggerFromTo=s.allFromTo=function(t,e,i,r,n,a,o,l){return r.startAt=i,r.immediateRender=!1!=r.immediateRender&&!1!=i.immediateRender,s.staggerTo(t,e,r,n,a,o,l)},s.delayedCall=function(t,e,i,r,n){return new s(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},s.set=function(t,e){return new s(t,0,e)},s.isTweening=function(t){return r.Ay.getTweensOf(t,!0).length>0};var _=function(t,e){for(var i=[],s=0,n=t._first;n;)n instanceof r.Ay?i[s++]=n:(e&&(i[s++]=n),s=(i=i.concat(_(n,e))).length),n=n._next;return i},u=s.getAllTweens=function(t){return _(r.X5._rootTimeline,t).concat(_(r.X5._rootFramesTimeline,t))};s.killAll=function(t,e,i,s){null==e&&(e=!0),null==i&&(i=!0);var n,a,o,l=u(!1!=s),h=l.length,_=e&&i&&s;for(o=0;o-1;)s.killChildTweensOf(e[u],i);return}for(_ in l=[],f)for(h=f[_].target.parentNode;h;)h===e&&(l=l.concat(f[_].tweens)),h=h.parentNode;for(u=0,c=l.length;u-1;)a=o[h],(l||a instanceof r.UL||(n=a.target===a.vars.onComplete)&&i||e&&!n)&&a.paused(t)};return s.pauseAll=function(t,e,i){c(!0,t,e,i)},s.resumeAll=function(t,e,i){c(!1,t,e,i)},s.globalTimeScale=function(t){var e=r.X5._rootTimeline,i=r.Ay.ticker.time;return arguments.length?(t=t||1e-8,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=r.X5._rootFramesTimeline,i=r.Ay.ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=r.X5._rootTimeline._timeScale=t,t):e._timeScale},l.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},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},l.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,s=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+s:this._repeat?t+s:t,e)},l.duration=function(t){return arguments.length?r.X5.prototype.duration.call(this,t):this._duration},l.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?0xe8d4a50fff:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s},!0);var a=r.zQ.TweenMax,o=i(57144),l=r.uW._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var s,n;if("function"!=typeof t.setAttribute)return!1;for(s in e)"function"==typeof(n=e[s])&&(n=n(r,t)),this._addTween(t,"setAttribute",t.getAttribute(s)+"",n+"",s,!1,s),this._overwriteProps.push(s);return!0}}),h=r.uW._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}},u=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},c=h.prototype;c._onInitAllProps=function(){var t,e,i,r,s=this._tween,n=s.vars.roundProps,a={},o=s._propLookup.roundProps;if("object"!=typeof n||n.push)for("string"==typeof n&&(n=n.split(",")),i=n.length;--i>-1;)a[n[i]]=Math.round;else for(r in n)a[r]=_(n[r]);for(r in a)for(t=s._firstPT;t;)e=t._next,t.pg?t.t._mod(a):t.n===r&&(2===t.f&&t.t?u(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:s._firstPT===t&&(s._firstPT=e),t._next=t._prev=null,s._propLookup[r]=o)),t=e;return!1},c._add=function(t,e,i,r,s){this._addTween(t,e,i,i+r,e,s||Math.round),this._overwriteProps.push(e)};var f=r.uW._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 s,n,a,o,l,h,_=!0===e.useRadians?2*Math.PI:360;for(s in e)"useRadians"!==s&&("function"==typeof(o=e[s])&&(o=o(r,t)),n=(h=(o+"").split("_"))[0],a=parseFloat("function"!=typeof t[s]?t[s]:t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]()),l=(o=this.finals[s]="string"==typeof n&&"="===n.charAt(1)?a+parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)):Number(n)||0)-a,h.length&&(-1!==(n=h.join("_")).indexOf("short")&&(l%=_)!=l%(_/2)&&(l=l<0?l+_:l-_),-1!==n.indexOf("_cw")&&l<0?l=(l+0x2540be3ff*_)%_-(l/_|0)*_:-1!==n.indexOf("ccw")&&l>0&&(l=(l-0x2540be3ff*_)%_-(l/_|0)*_)),(l>1e-6||l<-1e-6)&&(this._addTween(t,s,a,a+l,s),this._overwriteProps.push(s)));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}});f._autoCSS=!0;var d=180/Math.PI,m=[],p=[],g=[],v={},y=r.uW._gsDefine.globals,T=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},w=function(t,e,i,r){var s={a:t},n={},a={},o={c:r},l=(t+e)/2,h=(e+i)/2,_=(i+r)/2,u=(l+h)/2,c=(h+_)/2,f=(c-u)/8;return s.b=l+(t-l)/4,n.b=u+f,s.c=n.a=(s.b+n.b)/2,n.c=a.a=(u+c)/2,a.b=c-f,o.b=_+(r-_)/4,a.c=o.a=(a.b+o.b)/2,[s,n,a,o]},b=function(t,e,i,r,s){var n,a,o,l,h,_,u,c,f,d,v,y,T,b=t.length-1,P=0,S=t[0].a;for(n=0;n-1;)"string"==typeof(h=t[n][e])&&"="===h.charAt(1)&&(t[n][e]=r[e]+Number(h.charAt(0)+h.substr(2)));if((s=t.length-2)<0)return _[0]=new T(t[0][e],0,0,t[0][e]),_;for(n=0;n1){for(f=t[t.length-1],c=!0,a=y.length;--a>-1;)if(Math.abs(T[o=y[a]]-f[o])>.05){c=!1;break}c&&(t=t.concat(),n&&t.unshift(n),t.push(t[1]),n=t[t.length-3])}for(m.length=p.length=g.length=0,a=y.length;--a>-1;)v[o=y[a]]=-1!==s.indexOf(","+o+","),d[o]=P(t,o,v[o],n);for(a=m.length;--a>-1;)m[a]=Math.sqrt(m[a]),p[a]=Math.sqrt(p[a]);if(!r){for(a=y.length;--a>-1;)if(v[o])for(h=0,u=(l=d[y[a]]).length-1;h-1;)g[a]=Math.sqrt(g[a])}for(a=y.length,h=i?4:1;--a>-1;)b(l=d[o=y[a]],e,i,r,v[o]),c&&(l.splice(0,h),l.splice(l.length-h,h));return d},k=function(t,e,i){var r,s,n,a,o,l,h,_,u,c,f,d={},m="cubic"===(e=e||"soft")?3:2,p="soft"===e,g=[];if(p&&i&&(t=[i].concat(t)),null==t||t.length-1;){for(h=0,d[u=g[l]]=o=[],c=0,_=t.length;h<_;h++)r=null==i?t[h][u]:"string"==typeof(f=t[h][u])&&"="===f.charAt(1)?i[u]+Number(f.charAt(0)+f.substr(2)):Number(f),p&&h>1&&h<_-1&&(o[c++]=(r+o[c-2])/2),o[c++]=r;for(h=0,_=c-m+1,c=0;h<_;h+=m)r=o[h],s=o[h+1],n=o[h+2],a=2===m?0:o[h+3],o[c++]=f=3===m?new T(r,s,n,a):new T(r,(2*s+r)/3,(2*s+n)/3,n);o.length=c}return d},R=function(t,e,i){for(var r,s,n,a,o,l,h,_,u,c,f,d=1/i,m=t.length;--m>-1;)for(_=1,n=(c=t[m]).a,a=c.d-n,o=c.c-n,l=c.b-n,r=s=0;_<=i;_++)u=1-(h=d*_),r=s-(s=(h*h*a+3*u*(h*o+u*l))*h),e[f=m*i+_-1]=(e[f]||0)+r*r},C=function(t,e){var i,r,s,n,a=[],o=[],l=0,h=0,_=(e=0|e||6)-1,u=[],c=[];for(i in t)R(t[i],a,e);for(r=0,s=a.length;r-1;)r=this._props[n],this._overwriteProps.push(r),s=this._func[r]="function"==typeof t[r],h[r]=s?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),o||h[r]===l[0][r]||(o=h);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?S(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,o):k(l,e.type,h),this._segCount=this._beziers[r].length,this._timeRes){var c=C(this._beziers,this._timeRes);this._length=c.length,this._lengths=c.lengths,this._segments=c.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(u=this._autoRotate)for(this._initialRotations=[],u[0]instanceof Array||(this._autoRotate=u=[u]),n=u.length;--n>-1;){for(a=0;a<3;a++)r=u[n][a],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=u[n][2],this._initialRotations[n]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=+!!i.vars.runBackwards,!0},set:function(t){var e,i,r,s,n,a,o,l,h,_,u,c=this._segCount,f=this._func,m=this._target,p=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,_=this._curSeg,u=t*this._length,r=this._li,u>this._l2&&r0){for(;r>0&&(this._l1=h[--r])>=u;);0===r&&uthis._s2&&r<_.length-1){for(l=_.length-1;r0){for(;r>0&&(this._s1=_[--r])>=u;);0===r&&u=1?c-1:c*t|0,a=(t-1/c*e)*c;for(i=1-a,r=this._props.length;--r>-1;)s=this._props[r],o=(a*a*(n=this._beziers[s][e]).da+3*i*(a*n.ca+i*n.ba))*a+n.a,this._mod[s]&&(o=this._mod[s](o,m)),f[s]?m[s](o):m[s]=o;if(this._autoRotate){var g,v,y,T,w,b,P,S=this._autoRotate;for(r=S.length;--r>-1;)s=S[r][2],b=S[r][3]||0,P=!0===S[r][4]?1:d,n=this._beziers[S[r][0]],g=this._beziers[S[r][1]],n&&g&&(n=n[e],g=g[e],v=n.a+(n.b-n.a)*a,T=n.b+(n.c-n.b)*a,v+=(T-v)*a,T+=(n.c+(n.d-n.c)*a-T)*a,y=g.a+(g.b-g.a)*a,w=g.b+(g.c-g.b)*a,y+=(w-y)*a,w+=(g.c+(g.d-g.c)*a-w)*a,o=p?Math.atan2(w-y,T-v)*P+b:this._initialRotations[r],this._mod[s]&&(o=this._mod[s](o,m)),f[s]?m[s](o):m[s]=o)}}}),x=A.prototype;A.bezierThrough=S,A.cubicToQuadratic=w,A._autoCSS=!0,A.quadraticToCubic=function(t,e,i){return new T(t,(2*e+t)/3,(2*e+i)/3,i)},A._cssRegister=function(){var t=y.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,s=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,n,a,o,l){e instanceof Array&&(e={values:e}),l=new A;var h,_,u,c=e.values,f=c.length-1,d=[],m={};if(f<0)return o;for(h=0;h<=f;h++)u=i(t,c[h],a,o,l,f!==h),d[h]=u.end;for(_ in e)m[_]=e[_];return m.values=d,(o=new s(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||(h=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=u.end.left?[["left","top","rotation",h,!1]]:null!=u.end.x&&[["x","y","rotation",h,!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}})}},x._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)},x._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)},r.uW._gsDefine("easing.Back",["easing.Ease"],function(){var t,e,i,s,n=r.uW.GreenSockGlobals||r.uW,a=n.com.greensock,o=2*Math.PI,l=Math.PI/2,h=a._class,_=function(t,e){var i=h("easing."+t,function(){},!0),s=i.prototype=new r.zM;return s.constructor=i,s.getRatio=e,i},u=r.zM.register||function(){},c=function(t,e,i,r,s){var n=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return u(n,t),n},f=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)},d=function(t,e){var i=h("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),s=i.prototype=new r.zM;return s.constructor=i,s.getRatio=e,s.config=function(t){return new i(t)},i},m=c("Back",d("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),d("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),d("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)})),p=h("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),g=p.prototype=new r.zM;return g.constructor=p,g.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._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},p.ease=new p(.7,.7),g.config=p.config=function(t,e,i){return new p(t,e,i)},(g=(t=h("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+ +!e,this._p3=+!!e},!0)).prototype=new r.zM).constructor=t,g.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=t.config=function(e,i){return new t(e,i)},(g=(e=h("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 r.zM).constructor=e,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=e.config=function(t,i,r){return new e(t,i,r)},(g=(i=h("easing.RoughEase",function(t){for(var e,i,s,n,a,o,l=(t=t||{}).taper||"none",h=[],_=0,u=0|(t.points||20),c=u,d=!1!==t.randomize,m=!0===t.clamp,p=t.template instanceof r.zM?t.template:null,g="number"==typeof t.strength?.4*t.strength:.4;--c>-1;)e=d?Math.random():1/u*c,i=p?p.getRatio(e):e,s="none"===l?g:"out"===l?(n=1-e)*n*g:"in"===l?e*e*g:e<.5?(n=2*e)*n*.5*g:(n=(1-e)*2)*n*.5*g,d?i+=Math.random()*s-.5*s:c%2?i+=.5*s:i-=.5*s,m&&(i>1?i=1:i<0&&(i=0)),h[_++]={x:e,y:i};for(h.sort(function(t,e){return t.x-e.x}),o=new f(1,1,null),c=u;--c>-1;)o=new f((a=h[c]).x,a.y,o);this._prev=new f(0,0,0!==o.t?o:o.next)},!0)).prototype=new r.zM).constructor=i,g.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},g.config=function(t){return new i(t)},i.ease=new i,c("Bounce",_("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}),_("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)}),_("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})),c("Circ",_("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),_("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),_("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),c("Elastic",(s=function(t,e,i){var s=h("easing."+t,function(t,e){this._p1=t>=1?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2},!0),n=s.prototype=new r.zM;return n.constructor=s,n.getRatio=e,n.config=function(t,e){return new s(t,e)},s})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),s("ElasticIn",function(t){return-(this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2))},.3),s("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)),c("Expo",_("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),_("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),_("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),c("Sine",_("SineOut",function(t){return Math.sin(t*l)}),_("SineIn",function(t){return-Math.cos(t*l)+1}),_("SineInOut",function(t){return -.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(t){return r.zM.map[t]}},!0),u(n.SlowMo,"SlowMo","ease,"),u(i,"RoughEase","ease,"),u(t,"SteppedEase","ease,"),m},!0);var D=r.zQ.Back,E=r.zQ.Elastic,O=r.zQ.Bounce,z=r.zQ.RoughEase,L=r.zQ.SlowMo,M=r.zQ.SteppedEase,I=r.zQ.Circ,F=r.zQ.Expo,N=r.zQ.Sine,G=r.zQ.ExpoScaleEase,U=a;U._autoActivated=[s,n,o.A,l,A,h,f,D,E,O,z,L,M,I,F,N,G]},70587:(t,e,i)=>{"use strict";i.d(e,{Ay:()=>s,F:()=>c,FL:()=>d,MI:()=>m,MO:()=>u,UL:()=>o,WG:()=>_,X5:()=>l,tN:()=>p,uW:()=>r,ys:()=>f,zM:()=>h,zQ:()=>n}),t=i.hmd(t);var r="undefined"!=typeof window?window:t.exports&&void 0!==i.g?i.g:{},s=function(t){var e={},i=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(r.TweenLite)return r.TweenLite;var s,n,a,o,l,h,_,u=function(t){var e,i=t.split("."),s=r;for(e=0;e-1;)(l=p[i[f]]||new g(i[f],[])).gsClass?(a[f]=l.gsClass,d--):o&&l.sc.push(this);if(0===d&&s)for(_=(h=("com.greensock."+t).split(".")).pop(),c=u(h.join("."))[_]=this.gsClass=s.apply(s,a),n&&(r[_]=e[_]=c),f=0;f-1;)for(n=l[h],s=r?y("easing."+n,null,!0):c.easing[n]||{},a=_.length;--a>-1;)b[n+"."+(o=_[a])]=b[o+n]=s[o]=t.getRatio?t:t[o]||new t};for((l=w.prototype)._calcEnd=!1,l.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},o=(a=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--o>-1;)l=a[o]+",Power"+o,P(new w(null,null,1,o),l,"easeOut",!0),P(new w(null,null,2,o),l,"easeIn"+(0===o?",easeNone":"")),P(new w(null,null,3,o),l,"easeInOut");b.linear=c.easing.Linear.easeIn,b.swing=c.easing.Quad.easeInOut;var S=y("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(l=S.prototype).addEventListener=function(t,e,i,r,s){s=s||0;var n,a,o=this._listeners[t],l=0;for(this!==h||_||h.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)(n=o[a]).c===e&&n.s===i?o.splice(a,1):0===l&&n.pr-1;)if(r[i].c===e)return void r.splice(i,1)}},l.dispatchEvent=function(t){var e,i,r,s=this._listeners[t];if(s)for((e=s.length)>1&&(s=s.slice(0)),i=this._eventTarget;--e>-1;)(r=s[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var k=t.requestAnimationFrame,R=t.cancelAnimationFrame,C=Date.now||function(){return new Date().getTime()},A=C();for(o=(a=["ms","moz","webkit","o"]).length;--o>-1&&!k;)k=t[a[o]+"RequestAnimationFrame"],R=t[a[o]+"CancelAnimationFrame"]||t[a[o]+"CancelRequestAnimationFrame"];y("Ticker",function(t,e){var r,s,n,a,o,l=this,u=C(),c=!1!==e&&!!k&&"auto",f=500,m=33,p=function(t){var e,i,h=C()-A;h>f&&(u+=h-m),l.time=((A+=h)-u)/1e3,e=l.time-o,(!r||e>0||!0===t)&&(l.frame++,o+=e+(e>=a?.004:a-e),i=!0),!0!==t&&(n=s(p)),i&&l.dispatchEvent("tick")};S.call(l),l.time=l.frame=0,l.tick=function(){p(!0)},l.lagSmoothing=function(t,e){if(!arguments.length)return f<1e8;m=Math.min(e,f=t||1e8,0)},l.sleep=function(){null!=n&&(c&&R?R(n):clearTimeout(n),s=d,n=null,l===h&&(_=!1))},l.wake=function(t){null!==n?l.sleep():t?u+=-A+(A=C()):l.frame>10&&(A=C()-f+5),s=0===r?d:c&&k?k:function(t){return setTimeout(t,(o-l.time)*1e3+1|0)},l===h&&(_=!0),p(2)},l.fps=function(t){if(!arguments.length)return r;a=1/((r=t)||60),o=this.time+a,l.wake()},l.useRAF=function(t){if(!arguments.length)return c;l.sleep(),c=t,l.fps(r)},l.fps(t),setTimeout(function(){"auto"===c&&l.frame<5&&"hidden"!==(i||{}).visibilityState&&l.useRAF(!1)},1500)}),(l=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var x=y("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,Y){_||h.wake();var i=this.vars.useFrames?V:Y;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=x.ticker=new c.Ticker,(l=x.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var D=function(){_&&C()-A>2e3&&("hidden"!==(i||{}).visibilityState||!h.lagSmoothing())&&h.wake();var t=setTimeout(D,2e3);t.unref&&t.unref()};D(),l.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},l.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},l.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},l.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},l.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},l.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},l.render=function(t,e,i){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],s=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(s);break;case 1:i.call(s,r[0]);break;case 2:i.call(s,r[0],r[1]);break;default:i.apply(s,r)}},l.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var s=this.vars;if(1==arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},l.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},l.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(_||h.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,s=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?r-t:t)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(M.length&&J(),this.render(t,e,!1),M.length&&J())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.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},l.endTime=function(t){return this._startTime+(!1!=t?this.totalDuration():this.duration())/this._timeScale},l.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},l.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},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(_||t||h.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 E=y("core.SimpleTimeline",function(t){x.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=E.prototype=new x).constructor=E,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var s,n;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),s=this._last,this._sortChildren)for(n=t._startTime;s&&s._startTime>n;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=s,this._recent=t,this._timeline&&this._uncache(!0),this},l._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},l.render=function(t,e,i){var r,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)r=s._next,(s._active||t>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=r},l.rawTime=function(){return _||h.wake(),this._totalTime};var O=y("TweenLite",function(e,i,r){if(x.call(this,i,r),this.render=O.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:O.selector(e)||e;var s,n,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?$[O.defaultOverwrite]:"number"==typeof l?0|l:$[l],(o||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(s=0,this._targets=a=f(e),this._propLookup=[],this._siblings=[];s1&&te(n,this,null,1,this._siblings[s])}else this._propLookup={},this._siblings=Z(e,this,!1),1===l&&this._siblings.length>1&&te(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))},!0),z=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)X[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};(l=O.prototype=new x).constructor=O,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,O.version="2.1.3",O.defaultEase=l._ease=new w(null,null,1,1),O.defaultOverwrite="auto",O.ticker=h,O.autoSleep=120,O.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},O.selector=t.$||t.jQuery||function(e){var r=t.$||t.jQuery;return r?(O.selector=r,r(e)):(i||(i=t.document),i?i.querySelectorAll?i.querySelectorAll(e):i.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var M=[],I={},F=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,N=/[\+-]=-?[\.\d]/,G=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&e>-1e-6&&!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},U=function(t){return(1e3*t|0)/1e3+""},B=function(t,e,i,r){var s,n,a,o,l,h,_,u=[],c=0,f="",d=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,s=t.match(F)||[],n=e.match(F)||[],r&&(r._next=null,r.blob=1,u._firstPT=u._applyPT=r),l=n.length,o=0;o=K){for(i in K=h.frame+(parseInt(O.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=Y._first)||i._paused)&&O.autoSleep&&!V._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",x._updateRoot);var Z=function(t,e,i){var r,s,n=t._gsTweenID;if(W[n||(t._gsTweenID=n="t"+H++)]||(W[n]={target:t,tweens:[]}),e&&((r=W[n].tweens)[s=r.length]=e,i))for(;--s>-1;)r[s]===e&&r.splice(s,1);return W[n].tweens},tt=function(t,e,i,r){var s,n,a=t.vars.onOverwrite;return a&&(s=a(t,e,i,r)),(a=O.onOverwrite)&&(n=a(t,e,i,r)),!1!==s&&!1!==n},te=function(t,e,i,r,s){if(1===r||r>=4){for(n=0,l=s.length;n-1;)(o=s[n])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||ti(e,0,f),0===ti(o,h,f)&&(u[c++]=o)):o._startTime<=_&&o._startTime+o.totalDuration()/o._timeScale>_&&!((f||!o._initted)&&_-o._startTime<=2e-8)&&(u[c++]=o));for(n=c;--n>-1;)if(l=(o=u[n])._firstPT,2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted&&l){if(2!==r&&!tt(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},ti=function(t,e,i){for(var r=t._timeline,s=r._timeScale,n=t._startTime;r._timeline;){if(n+=r._startTime,s*=r._timeScale,r._paused)return -100;r=r._timeline}return(n/=s)>e?n-e:i&&n===e||!t._initted&&n-e<2e-8?1e-8:(n+=t.totalDuration()/t._timeScale/s)>e+1e-8?0:n-e-1e-8};l._init=function(){var t,e,i,r,s,n,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,_=a.ease,u=this._startAt;if(a.startAt){for(r in u&&(u.render(-1,!0),u.kill()),s={},a.startAt)s[r]=a.startAt[r];if(s.data="isStart",s.overwrite=!1,s.immediateRender=!0,s.lazy=h&&!1!==a.lazy,s.startAt=s.delay=null,s.onUpdate=a.onUpdate,s.onUpdateParams=a.onUpdateParams,s.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=O.to(this.target||{},0,s),h){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&&(h=!1),i={},a)X[r]&&"autoCSS"!==r||(i[r]=a[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=O.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=_=_?_ instanceof w?_:"function"==typeof _?new w(_,a.easeParams):b[_]||O.defaultEase:O.defaultEase,a.easeParams instanceof Array&&_.config&&(this._ease=_.config.apply(_,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=0,n=this._targets.length;t-1;)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),_._next&&(_._next._prev=_)}else i[a]=j.call(this,e,a,"get",u,a,0,null,this.vars.stringFilter,n);return s&&this._kill(s,e)?this._initProps(e,i,r,s,n):this._overwrite>1&&this._firstPT&&r.length>1&&te(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,s,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(I[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,s,n,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l-1e-8&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(r=!0,s="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(h<0||t<=0&&t>=-1e-8||1e-8===h&&"isPause"!==this.data)&&h!==t&&(i=!0,h>1e-8&&(s="onReverseComplete")),this._rawPrevTime=a=!e||t||h===t?t:1e-8);else if(t<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&h>0)&&(s="onReverseComplete",r=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(1e-8!==h||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||h===t?t:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var _=t/l,u=this._easeType,c=this._easePower;(1===u||3===u&&_>=.5)&&(_=1-_),3===u&&(_*=2),1===c?_*=_:2===c?_*=_*_:3===c?_*=_*_*_:4===c&&(_*=_*_*_*_),this.ratio=1===u?1-_:2===u?_:t/l<.5?_/2:1-_/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)){this._time=this._totalTime=o,this._rawPrevTime=h,M.push(this),this._lazy=[t,e];return}this._time&&!r?this.ratio=this._ease.getRatio(this._time/l):r&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(+(0!==this._time)))}for(!1!==this._lazy&&(this._lazy=!1),this._active||this._paused||this._time===o||!(t>=0)||(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):s||(s="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&!e&&this._callback("onStart")),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),!e&&(this._time!==o||r||i)&&this._callback("onUpdate")),s&&(!this._gc||i)&&(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===l&&1e-8===this._rawPrevTime&&1e-8!==a&&(this._rawPrevTime=0))}},l._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:O.selector(e)||e;var r,s,n,a,o,l,h,_,u,c=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,f=this._firstPT;if((m(e)||z(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||[],s=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,_=t!==s&&"all"!==s&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(O.onOverwrite||this.vars.onOverwrite)){for(n in h)o[n]&&(u||(u=[]),u.push(n));if((u||!t)&&!tt(this,i,e,u))return!1}for(n in h)(a=o[n])&&(c&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[n]),_&&(s[n]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&O._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?{}:[],x.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},l._enabled=function(t,e){if(_||h.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=Z(r[i],this,!0);else this._siblings=Z(this.target,this,!0)}return x.prototype._enabled.call(this,t,e),!!this._notifyPluginsOfEnabled&&!!this._firstPT&&O._onPluginEvent(t?"_onEnable":"_onDisable",this)},O.to=function(t,e,i){return new O(t,e,i)},O.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=!1!=i.immediateRender,new O(t,e,i)},O.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=!1!=r.immediateRender&&!1!=i.immediateRender,new O(t,e,r)},O.delayedCall=function(t,e,i,r,s){return new O(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,overwrite:0})},O.set=function(t,e){return new O(t,0,e)},O.getTweensOf=function(t,e){var i,r,s,n;if(null==t)return[];if((m(t="string"!=typeof t?t:O.selector(t)||t)||z(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(O.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(n=r[i],s=i;--s>-1;)n===r[s]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=Z(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},O.killTweensOf=O.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=O.getTweensOf(t,e),s=r.length;--s>-1;)r[s]._kill(i,t)};var tr=y("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=tr.prototype},!0);if(l=tr.prototype,tr.version="1.19.0",tr.API=2,l._firstPT=null,l._addTween=j,l.setRatio=G,l._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},l._mod=l._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},O._onPluginEvent=function(t,e){var i,r,s,n,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,r=s;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:n)?o._prev._next=o:s=o,(o._next=r)?r._prev=o:n=o,o=a}o=e._firstPT=s}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},tr.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===tr.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,s=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=y("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){tr.call(this,i,r),this._overwriteProps=s||[]},!0===t.global),o=a.prototype=new tr(i);for(e in o.constructor=a,a.API=t.API,n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,tr.activate([a]),a},a=t._gsQueue){for(o=0;o-1;)(c=w[a[g]]||new b(a[g],[])).gsClass?(_[g]=c.gsClass,v--):u&&c.sc.push(this);if(0===v&&l){if(d=(f=("com.greensock."+i).split(".")).pop(),m=p(f.join("."))[d]=this.gsClass=l.apply(l,_),h)if(o[d]=n[d]=m,t.exports)if(i===s)for(g in t.exports=n[s]=m,n)m[g]=n[g];else n[s]&&(n[s][d]=m);else void 0===(r=(function(){return m}).apply(e,[]))||(t.exports=r);for(g=0;g-1;)for(n=l[h],s=r?S("easing."+n,null,!0):g.easing[n]||{},a=_.length;--a>-1;)C[n+"."+(o=_[a])]=C[o+n]=s[o]=t.getRatio?t:t[o]||new t};for((f=R.prototype)._calcEnd=!1,f.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},c=(u=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--c>-1;)f=u[c]+",Power"+c,A(new R(null,null,1,c),f,"easeOut",!0),A(new R(null,null,2,c),f,"easeIn"+(0===c?",easeNone":"")),A(new R(null,null,3,c),f,"easeInOut");C.linear=g.easing.Linear.easeIn,C.swing=g.easing.Quad.easeInOut;var x=S("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(f=x.prototype).addEventListener=function(t,e,i,r,s){s=s||0;var n,a,o=this._listeners[t],l=0;for(this!==d||m||d.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)(n=o[a]).c===e&&n.s===i?o.splice(a,1):0===l&&n.pr-1;)if(r[i].c===e)return void r.splice(i,1)}},f.dispatchEvent=function(t){var e,i,r,s=this._listeners[t];if(s)for((e=s.length)>1&&(s=s.slice(0)),i=this._eventTarget;--e>-1;)(r=s[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var D=i.requestAnimationFrame,E=i.cancelAnimationFrame,O=Date.now||function(){return new Date().getTime()},z=O();for(c=(u=["ms","moz","webkit","o"]).length;--c>-1&&!D;)D=i[u[c]+"RequestAnimationFrame"],E=i[u[c]+"CancelAnimationFrame"]||i[u[c]+"CancelRequestAnimationFrame"];S("Ticker",function(t,e){var i,r,s,n,o,l=this,h=O(),_=!1!==e&&!!D&&"auto",u=500,c=33,f=function(t){var e,a,_=O()-z;_>u&&(h+=_-c),l.time=((z+=_)-h)/1e3,e=l.time-o,(!i||e>0||!0===t)&&(l.frame++,o+=e+(e>=n?.004:n-e),a=!0),!0!==t&&(s=r(f)),a&&l.dispatchEvent("tick")};x.call(l),l.time=l.frame=0,l.tick=function(){f(!0)},l.lagSmoothing=function(t,e){if(!arguments.length)return u<1e8;c=Math.min(e,u=t||1e8,0)},l.sleep=function(){null!=s&&(_&&E?E(s):clearTimeout(s),r=y,s=null,l===d&&(m=!1))},l.wake=function(t){null!==s?l.sleep():t?h+=-z+(z=O()):l.frame>10&&(z=O()-u+5),r=0===i?y:_&&D?D:function(t){return setTimeout(t,(o-l.time)*1e3+1|0)},l===d&&(m=!0),f(2)},l.fps=function(t){if(!arguments.length)return i;n=1/((i=t)||60),o=this.time+n,l.wake()},l.useRAF=function(t){if(!arguments.length)return _;l.sleep(),_=t,l.fps(i)},l.fps(t),setTimeout(function(){"auto"===_&&l.frame<5&&"hidden"!==(a||{}).visibilityState&&l.useRAF(!1)},1500)}),(f=g.Ticker.prototype=new g.events.EventDispatcher).constructor=g.Ticker;var L=S("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,te){m||d.wake();var i=this.vars.useFrames?tt:te;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});d=L.ticker=new g.Ticker,(f=L.prototype)._dirty=f._gc=f._initted=f._paused=!1,f._totalTime=f._time=0,f._rawPrevTime=-1,f._next=f._last=f._onUpdate=f._timeline=f.timeline=null,f._paused=!1;var M=function(){m&&O()-z>2e3&&("hidden"!==(a||{}).visibilityState||!d.lagSmoothing())&&d.wake();var t=setTimeout(M,2e3);t.unref&&t.unref()};M(),f.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},f.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},f.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},f.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},f.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},f.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},f.render=function(t,e,i){},f.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},f.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t-1;)"{self}"===t[e]&&(i[e]=this);return i},f._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],s=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(s);break;case 1:i.call(s,r[0]);break;case 2:i.call(s,r[0],r[1]);break;default:i.apply(s,r)}},f.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var s=this.vars;if(1==arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+"Params"]=T(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},f.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},f.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._timethis._duration?this._duration:t,e)):this._time},f.totalTime=function(t,e,i){if(m||d.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,s=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?r-t:t)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)for(;s._timeline;)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(U.length&&tr(),this.render(t,e,!1),U.length&&tr())}return this},f.progress=f.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},f.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},f.endTime=function(t){return this._startTime+(!1!=t?this.totalDuration():this.duration())/this._timeScale},f.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},f.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},f.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(m||t||d.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 I=S("core.SimpleTimeline",function(t){L.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(f=I.prototype=new L).constructor=I,f.kill()._gc=!1,f._first=f._last=f._recent=null,f._sortChildren=!1,f.add=f.insert=function(t,e,i,r){var s,n;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),s=this._last,this._sortChildren)for(n=t._startTime;s&&s._startTime>n;)s=s._prev;return s?(t._next=s._next,s._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=s,this._recent=t,this._timeline&&this._uncache(!0),this},f._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},f.render=function(t,e,i){var r,s=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;s;)r=s._next,(s._active||t>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=r},f.rawTime=function(){return m||d.wake(),this._totalTime};var F=S("TweenLite",function(t,e,r){if(L.call(this,e,r),this.render=F.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:F.selector(t)||t;var s,n,a,o=t.jquery||t.length&&t!==i&&t[0]&&(t[0]===i||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?Z[F.defaultOverwrite]:"number"==typeof l?0|l:Z[l],(o||t instanceof Array||t.push&&T(t))&&"number"!=typeof t[0])for(s=0,this._targets=a=v(t),this._propLookup=[],this._siblings=[];s1&&ta(n,this,null,1,this._siblings[s])}else this._propLookup={},this._siblings=ts(t,this,!1),1===l&&this._siblings.length>1&&ta(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))},!0),N=function(t){return t&&t.length&&t!==i&&t[0]&&(t[0]===i||t[0].nodeType&&t[0].style&&!t.nodeType)},G=function(t,e){var i,r={};for(i in t)J[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||V[i]&&(!V[i]||!V[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r};(f=F.prototype=new L).constructor=F,f.kill()._gc=!1,f.ratio=0,f._firstPT=f._targets=f._overwrittenProps=f._startAt=null,f._notifyPluginsOfEnabled=f._lazy=!1,F.version="2.1.3",F.defaultEase=f._ease=new R(null,null,1,1),F.defaultOverwrite="auto",F.ticker=d,F.autoSleep=120,F.lagSmoothing=function(t,e){d.lagSmoothing(t,e)},F.selector=i.$||i.jQuery||function(t){var e=i.$||i.jQuery;return e?(F.selector=e,e(t)):(a||(a=i.document),a?a.querySelectorAll?a.querySelectorAll(t):a.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var U=[],B={},j=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,q=/[\+-]=-?[\.\d]/,Q=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>-1e-6&&!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},W=function(t){return(1e3*t|0)/1e3+""},H=function(t,e,i,r){var s,n,a,o,l,h,_,u=[],c=0,f="",d=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,s=t.match(j)||[],n=e.match(j)||[],r&&(r._next=null,r.blob=1,u._firstPT=u._applyPT=r),l=n.length,o=0;o=ti){for(i in ti=d.frame+(parseInt(F.autoSleep,10)||120),Y){for(t=(e=Y[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Y[i]}if((!(i=te._first)||i._paused)&&F.autoSleep&&!tt._first&&1===d._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||d.sleep()}}},d.addEventListener("tick",L._updateRoot);var ts=function(t,e,i){var r,s,n=t._gsTweenID;if(Y[n||(t._gsTweenID=n="t"+K++)]||(Y[n]={target:t,tweens:[]}),e&&((r=Y[n].tweens)[s=r.length]=e,i))for(;--s>-1;)r[s]===e&&r.splice(s,1);return Y[n].tweens},tn=function(t,e,i,r){var s,n,a=t.vars.onOverwrite;return a&&(s=a(t,e,i,r)),(a=F.onOverwrite)&&(n=a(t,e,i,r)),!1!==s&&!1!==n},ta=function(t,e,i,r,s){if(1===r||r>=4){for(n=0,l=s.length;n-1;)(o=s[n])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||to(e,0,f),0===to(o,h,f)&&(u[c++]=o)):o._startTime<=_&&o._startTime+o.totalDuration()/o._timeScale>_&&!((f||!o._initted)&&_-o._startTime<=2e-8)&&(u[c++]=o));for(n=c;--n>-1;)if(l=(o=u[n])._firstPT,2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted&&l){if(2!==r&&!tn(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},to=function(t,e,i){for(var r=t._timeline,s=r._timeScale,n=t._startTime;r._timeline;){if(n+=r._startTime,s*=r._timeScale,r._paused)return -100;r=r._timeline}return(n/=s)>e?n-e:i&&n===e||!t._initted&&n-e<2e-8?1e-8:(n+=t.totalDuration()/t._timeScale/s)>e+1e-8?0:n-e-1e-8};f._init=function(){var t,e,i,r,s,n,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,_=a.ease,u=this._startAt;if(a.startAt){for(r in u&&(u.render(-1,!0),u.kill()),s={},a.startAt)s[r]=a.startAt[r];if(s.data="isStart",s.overwrite=!1,s.immediateRender=!0,s.lazy=h&&!1!==a.lazy,s.startAt=s.delay=null,s.onUpdate=a.onUpdate,s.onUpdateParams=a.onUpdateParams,s.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=F.to(this.target||{},0,s),h){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&&(h=!1),i={},a)J[r]&&"autoCSS"!==r||(i[r]=a[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=F.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=_=_?_ instanceof R?_:"function"==typeof _?new R(_,a.easeParams):C[_]||F.defaultEase:F.defaultEase,a.easeParams instanceof Array&&_.config&&(this._ease=_.config.apply(_,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(t=0,n=this._targets.length;t-1;)e[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),_._next&&(_._next._prev=_)}else e[a]=X.call(this,t,a,"get",u,a,0,null,this.vars.stringFilter,n);return s&&this._kill(s,t)?this._initProps(t,e,r,s,n):this._overwrite>1&&this._firstPT&&r.length>1&&ta(t,this,e,this._overwrite,r)?(this._kill(e,t),this._initProps(t,e,r,s,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(B[t._gsTweenID]=!0),l)},f.render=function(t,e,i){var r,s,n,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l-1e-8&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(r=!0,s="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(h<0||t<=0&&t>=-1e-8||1e-8===h&&"isPause"!==this.data)&&h!==t&&(i=!0,h>1e-8&&(s="onReverseComplete")),this._rawPrevTime=a=!e||t||h===t?t:1e-8);else if(t<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&h>0)&&(s="onReverseComplete",r=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(1e-8!==h||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||h===t?t:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var _=t/l,u=this._easeType,c=this._easePower;(1===u||3===u&&_>=.5)&&(_=1-_),3===u&&(_*=2),1===c?_*=_:2===c?_*=_*_:3===c?_*=_*_*_:4===c&&(_*=_*_*_*_),this.ratio=1===u?1-_:2===u?_:t/l<.5?_/2:1-_/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)){this._time=this._totalTime=o,this._rawPrevTime=h,U.push(this),this._lazy=[t,e];return}this._time&&!r?this.ratio=this._ease.getRatio(this._time/l):r&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(+(0!==this._time)))}for(!1!==this._lazy&&(this._lazy=!1),this._active||this._paused||this._time===o||!(t>=0)||(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):s||(s="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&!e&&this._callback("onStart")),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),!e&&(this._time!==o||r||i)&&this._callback("onUpdate")),s&&(!this._gc||i)&&(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===l&&1e-8===this._rawPrevTime&&1e-8!==a&&(this._rawPrevTime=0))}},f._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:F.selector(e)||e;var r,s,n,a,o,l,h,_,u,c=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,f=this._firstPT;if((T(e)||N(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||[],s=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,_=t!==s&&"all"!==s&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(F.onOverwrite||this.vars.onOverwrite)){for(n in h)o[n]&&(u||(u=[]),u.push(n));if((u||!t)&&!tn(this,i,e,u))return!1}for(n in h)(a=o[n])&&(c&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[n]),_&&(s[n]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return l},f.invalidate=function(){this._notifyPluginsOfEnabled&&F._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?{}:[],L.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},f._enabled=function(t,e){if(m||d.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=ts(r[i],this,!0);else this._siblings=ts(this.target,this,!0)}return L.prototype._enabled.call(this,t,e),!!this._notifyPluginsOfEnabled&&!!this._firstPT&&F._onPluginEvent(t?"_onEnable":"_onDisable",this)},F.to=function(t,e,i){return new F(t,e,i)},F.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=!1!=i.immediateRender,new F(t,e,i)},F.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=!1!=r.immediateRender&&!1!=i.immediateRender,new F(t,e,r)},F.delayedCall=function(t,e,i,r,s){return new F(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,overwrite:0})},F.set=function(t,e){return new F(t,0,e)},F.getTweensOf=function(t,e){var i,r,s,n;if(null==t)return[];if((T(t="string"!=typeof t?t:F.selector(t)||t)||N(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(F.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(n=r[i],s=i;--s>-1;)n===r[s]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=ts(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},F.killTweensOf=F.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=F.getTweensOf(t,e),s=r.length;--s>-1;)r[s]._kill(i,t)};var tl=S("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=tl.prototype},!0);if(f=tl.prototype,tl.version="1.19.0",tl.API=2,f._firstPT=null,f._addTween=X,f.setRatio=Q,f._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},f._mod=f._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},F._onPluginEvent=function(t,e){var i,r,s,n,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,r=s;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:n)?o._prev._next=o:s=o,(o._next=r)?r._prev=o:n=o,o=a}o=e._firstPT=s}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},tl.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===tl.API&&(V[new t[e]()._propName]=t[e]);return!0},P.plugin=function(t){if(!t||!t.propName||!t.init||!t.API)throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,s=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=S("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){tl.call(this,i,r),this._overwriteProps=s||[]},!0===t.global),o=a.prototype=new tl(i);for(e in o.constructor=a,a.API=t.API,n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,tl.activate([a]),a},u=i._gsQueue){for(c=0;c=3,a=window.console||{},o=Function.prototype.bind.call(a.error||a.log||function(){},a);t||o("("+s+") -> ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs."),i||o("("+s+") -> ERROR: TweenLite or TweenMax could not be found. Please make sure GSAP is loaded before ScrollMagic or use an asynchronous loader like requirejs."),t.Scene.addOption("tweenChanges",!1,function(t){return!!t}),t.Scene.extend(function(){var t,e=this,a=function(){e._log&&(Array.prototype.splice.call(arguments,1,0,"("+s+")","->"),e._log.apply(this,arguments))};e.on("progress.plugin_gsap",function(){o()}),e.on("destroy.plugin_gsap",function(t){e.removeTween(t.reset)});var o=function(){if(t){var i=e.progress(),r=e.state();t.repeat&&-1===t.repeat()?"DURING"===r&&t.paused()?t.play():"DURING"===r||t.paused()||t.pause():i!=t.progress()&&(0===e.duration()?i>0?t.play():t.reverse():e.tweenChanges()&&t.tweenTo?t.tweenTo(i*t.duration()):t.progress(i).pause())}};e.setTween=function(s,l,h){if(arguments.length>1){var _="number"==typeof arguments[1];n?(_||(h=l),h.hasOwnProperty("duration")||(h.duration=_?l:1)):arguments.length<3&&(h=l,l=1),s=n?i.to(s,h):i.to(s,l,h)}try{(f=r&&!n?new r({smoothChildTiming:!0}).add(s):s).pause()}catch(t){return a(1,"ERROR calling method 'setTween()': Supplied argument is not a valid TweenObject"),e}if(t&&e.removeTween(),t=f,s.repeat&&-1===s.repeat()&&(t.repeat(-1),t.yoyo(s.yoyo())),e.tweenChanges()&&!t.tweenTo&&a(2,"WARNING: tweenChanges will only work if the TimelineMax object is available for ScrollMagic."),t&&e.controller()&&e.triggerElement()&&e.loglevel()>=2){var u=i.getTweensOf(e.triggerElement()),c=e.controller().info("vertical");u.forEach(function(t,e){var i=t.vars.css||t.vars;if(c?void 0!==i.top||void 0!==i.bottom:void 0!==i.left||void 0!==i.right)return a(2,"WARNING: Tweening the position of the trigger element affects the scene timing and should be avoided!"),!1})}if(parseFloat(TweenLite.version)>=1.14)for(var f,d,m,p=n?"onInterrupt":"onOverwrite",g=t.getChildren?t.getChildren(!0,!0,!1):[t],v=function(){a(2,"WARNING: tween was overwritten by another. To learn how to avoid this issue see here: https://github.com/janpaepke/ScrollMagic/wiki/WARNING:-tween-was-overwritten-by-another")},y=0;y