Advertisement
Guest User

Untitled

a guest
Aug 21st, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 291.24 KB | None | 0 0
  1. !function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(n,r,function(e){return t[e]}.bind(null,r));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=75)}({0:function(t,e,i){"use strict";(function(t,n){i.d(e,"k",function(){return s}),i.d(e,"l",function(){return o}),i.d(e,"i",function(){return l}),i.d(e,"a",function(){return h}),i.d(e,"b",function(){return u}),i.d(e,"c",function(){return c}),i.d(e,"d",function(){return f}),i.d(e,"e",function(){return p}),i.d(e,"f",function(){return d}),i.d(e,"g",function(){return _}),i.d(e,"h",function(){return m}),i.d(e,"j",function(){return g});var r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},s="undefined"!=typeof window?window:void 0!==t&&t.exports&&void 0!==n?n:void 0,o=function(t,e){var i={},n=t.document,s=t.GreenSockGlobals=t.GreenSockGlobals||t;if(s.TweenLite)return s.TweenLite;var o,a,l,h,u,c=function(t){var e,i=t.split("."),n=s;for(e=0;e<i.length;e++)n[i[e]]=n=n[i[e]]||{};return n},f=c("com.greensock"),p=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},d=function(){},_=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"===(void 0===i?"undefined":r(i))&&!!i.push&&t.call(i)===e)}}(),m={},g=t._gsDefine=function(t,e,n,r){return new function t(e,n,r,o){this.sc=m[e]?m[e].sc:[],m[e]=this,this.gsClass=null,this.func=r;var a=[];this.check=function(l){for(var h,u,f,p,d=n.length,_=d;--d>-1;)(h=m[n[d]]||new t(n[d],[])).gsClass?(a[d]=h.gsClass,_--):l&&h.sc.push(this);if(0===_&&r)for(f=(u=("com.greensock."+e).split(".")).pop(),p=c(u.join("."))[f]=this.gsClass=r.apply(r,a),o&&(s[f]=i[f]=p),d=0;d<this.sc.length;d++)this.sc[d].check()},this.check(!0)}(t,e,n,r)},v=f._class=function(t,e,i){return e=e||function(){},g(t,[],function(){return e},i),e};g.globals=s;var y=[0,0,1,1],x=v("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?y.concat(e):y},!0),T=x.map={},w=x.register=function(t,e,i,n){for(var r,s,o,a,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(s=l[h],r=n?v("easing."+s,null,!0):f.easing[s]||{},o=u.length;--o>-1;)a=u[o],T[s+"."+a]=T[a+s]=r[a]=t.getRatio?t:t[a]||new t};for((l=x.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,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},a=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)l=o[a]+",Power"+a,w(new x(null,null,1,a),l,"easeOut",!0),w(new x(null,null,2,a),l,"easeIn"+(0===a?",easeNone":"")),w(new x(null,null,3,a),l,"easeInOut");T.linear=f.easing.Linear.easeIn,T.swing=f.easing.Quad.easeInOut;var b=v("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(l=b.prototype).addEventListener=function(t,e,i,n,r){r=r||0;var s,o,a=this._listeners[t],l=0;for(this!==h||u||h.wake(),null==a&&(this._listeners[t]=a=[]),o=a.length;--o>-1;)(s=a[o]).c===e&&s.s===i?a.splice(o,1):0===l&&s.pr<r&&(l=o+1);a.splice(l,0,{c:e,s:i,up:n,pr:r})},l.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},l.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)(n=r[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var P=t.requestAnimationFrame,S=t.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},k=O();for(a=(o=["ms","moz","webkit","o"]).length;--a>-1&&!P;)P=t[o[a]+"RequestAnimationFrame"],S=t[o[a]+"CancelAnimationFrame"]||t[o[a]+"CancelRequestAnimationFrame"];v("Ticker",function(t,e){var i,r,s,o,a,l=this,c=O(),f=!(!1===e||!P)&&"auto",p=500,_=33,m=function t(e){var n,h,u=O()-k;u>p&&(c+=u-_),k+=u,l.time=(k-c)/1e3,n=l.time-a,(!i||n>0||!0===e)&&(l.frame++,a+=n+(n>=o?.004:o-n),h=!0),!0!==e&&(s=r(t)),h&&l.dispatchEvent("tick")};b.call(l),l.time=l.frame=0,l.tick=function(){m(!0)},l.lagSmoothing=function(t,e){if(!arguments.length)return p<1e10;p=t||1e10,_=Math.min(e,p,0)},l.sleep=function(){null!=s&&(f&&S?S(s):clearTimeout(s),r=d,s=null,l===h&&(u=!1))},l.wake=function(t){null!==s?l.sleep():t?c+=-k+(k=O()):l.frame>10&&(k=O()-p+5),r=0===i?d:f&&P?P:function(t){return setTimeout(t,1e3*(a-l.time)+1|0)},l===h&&(u=!0),m(2)},l.fps=function(t){if(!arguments.length)return i;o=1/((i=t)||60),a=this.time+o,l.wake()},l.useRAF=function(t){if(!arguments.length)return f;l.sleep(),f=t,l.fps(i)},l.fps(t),setTimeout(function(){"auto"===f&&l.frame<5&&"hidden"!==(n||{}).visibilityState&&l.useRAF(!1)},1500)}),(l=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var R=v("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=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,U){u||h.wake();var i=this.vars.useFrames?H:U;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=R.ticker=new f.Ticker,(l=R.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;!function t(){u&&O()-k>2e3&&("hidden"!==(n||{}).visibilityState||!h.lagSmoothing())&&h.wake();var e=setTimeout(t,2e3);e.unref&&e.unref()}(),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<i+this.totalDuration()/this._timeScale-1e-7},l._enabled=function(t,e){return u||h.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},l._kill=function(t,e){return this._enabled(!1,!1)},l.kill=function(t,e){return this._kill(t,e),this},l._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},l._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(r);break;case 1:i.call(r,n[0]);break;case 2:i.call(r,n[0],n[1]);break;default:i.apply(r,n)}},l.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=_(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"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._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},l.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(u||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 n=this._totalDuration,r=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(E.length&&q(),this.render(t,e,!1),E.length&&q())}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+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||1e-10,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,n=this._timeline;return t!=this._paused&&n&&(u||t||h.wake(),i=(e=n.rawTime())-this._pauseTime,!t&&n.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=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var A=v("core.SimpleTimeline",function(t){R.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=A.prototype=new R).constructor=A,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,n){var r,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(s=t._startTime;r&&r._startTime>s;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,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 n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(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},l.rawTime=function(){return u||h.wake(),this._totalTime};var C=v("TweenLite",function(e,i,n){if(R.call(this,i,n),this.render=C.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:C.selector(e)||e;var r,s,o,a=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?V[C.defaultOverwrite]:"number"==typeof l?l>>0:V[l],(a||e instanceof Array||e.push&&_(e))&&"number"!=typeof e[0])for(this._targets=o=p(e),this._propLookup=[],this._siblings=[],r=0;r<o.length;r++)(s=o[r])?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(o.splice(r--,1),this._targets=o=o.concat(p(s))):(this._siblings[r]=Z(s,this,!1),1===l&&this._siblings[r].length>1&&Q(s,this,null,1,this._siblings[r])):"string"==typeof(s=o[r--]=C.selector(s))&&o.splice(r+1,1):o.splice(r--,1);else this._propLookup={},this._siblings=Z(e,this,!1),1===l&&this._siblings.length>1&&Q(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),M=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=C.prototype=new R).constructor=C,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,C.version="1.20.5",C.defaultEase=l._ease=new x(null,null,1,1),C.defaultOverwrite="auto",C.ticker=h,C.autoSleep=120,C.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},C.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(C.selector=i,i(e)):(n||(n=t.document),n?n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var E=[],D={},F=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,L=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},I=function(t,e,i,n){var r,s,o,a,l,h,u,c=[],f=0,p="",d=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",i&&(i(c),t=c[0],e=c[1]),c.length=0,r=t.match(F)||[],s=e.match(F)||[],n&&(n._next=null,n.blob=1,c._firstPT=c._applyPT=n),l=s.length,a=0;a<l;a++)u=s[a],p+=(h=e.substr(f,e.indexOf(u,f)-f))||!a?h:",",f+=h.length,d?d=(d+1)%5:"rgba("===h.substr(-5)&&(d=1),u===r[a]||r.length<=a?p+=u:(p&&(c.push(p),p=""),o=parseFloat(r[a]),c.push(o),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:o,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-o)||0,f:0,m:d&&d<4?Math.round:0}),f+=u.length;return(p+=e.substr(f))&&c.push(p),c.setRatio=L,N.test(e)&&(c.end=null),c},X=function(t,e,i,n,s,o,a,l,h){"function"==typeof n&&(n=n(h||0,t));var u=r(t[e]),c="function"!==u?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f="get"!==i?i:c?a?t[c](a):t[c]():t[e],p="string"==typeof n&&"="===n.charAt(1),d={t:t,p:e,s:f,f:"function"===u,pg:0,n:s||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:p?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-f||0};if(("number"!=typeof f||"number"!=typeof n&&!p)&&(a||isNaN(f)||!p&&isNaN(n)||"boolean"==typeof f||"boolean"==typeof n?(d.fp=a,d={t:I(f,p?parseFloat(d.s)+d.c+(d.s+"").replace(/[0-9\-\.]/g,""):n,l||C.defaultStringFilter,d),p:"setRatio",s:0,c:1,f:2,pg:0,n:s||e,pr:0,m:0}):(d.s=parseFloat(f),p||(d.c=parseFloat(n)-d.s||0))),d.c)return(d._next=this._firstPT)&&(d._next._prev=d),this._firstPT=d,d},z=C._internals={isArray:_,isSelector:M,lazyTweens:E,blobDif:I},Y=C._plugins={},B=z.tweenLookup={},j=0,W=z.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},V={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},H=R._rootFramesTimeline=new A,U=R._rootTimeline=new A,G=30,q=z.lazyRender=function(){var t,e=E.length;for(D={};--e>-1;)(t=E[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);E.length=0};U._startTime=h.time,H._startTime=h.frame,U._active=H._active=!0,setTimeout(q,1),R._updateRoot=C.render=function(){var t,e,i;if(E.length&&q(),U.render((h.time-U._startTime)*U._timeScale,!1,!1),H.render((h.frame-H._startTime)*H._timeScale,!1,!1),E.length&&q(),h.frame>=G){for(i in G=h.frame+(parseInt(C.autoSleep,10)||120),B){for(t=(e=B[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete B[i]}if((!(i=U._first)||i._paused)&&C.autoSleep&&!H._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",R._updateRoot);var Z=function(t,e,i){var n,r,s=t._gsTweenID;if(B[s||(t._gsTweenID=s="t"+j++)]||(B[s]={target:t,tweens:[]}),e&&((n=B[s].tweens)[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return B[s].tweens},$=function(t,e,i,n){var r,s,o=t.vars.onOverwrite;return o&&(r=o(t,e,i,n)),(o=C.onOverwrite)&&(s=o(t,e,i,n)),!1!==r&&!1!==s},Q=function(t,e,i,n,r){var s,o,a,l;if(1===n||n>=4){for(l=r.length,s=0;s<l;s++)if((a=r[s])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===n)break;return o}var h,u=e._startTime+1e-10,c=[],f=0,p=0===e._duration;for(s=r.length;--s>-1;)(a=r[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(h=h||K(e,0,p),0===K(a,h,p)&&(c[f++]=a)):a._startTime<=u&&a._startTime+a.totalDuration()/a._timeScale>u&&((p||!a._initted)&&u-a._startTime<=2e-10||(c[f++]=a)));for(s=f;--s>-1;)if(a=c[s],2===n&&a._kill(i,t,e)&&(o=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!$(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},K=function(t,e,i){for(var n=t._timeline,r=n._timeScale,s=t._startTime;n._timeline;){if(s+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return(s/=r)>e?s-e:i&&s===e||!t._initted&&s-e<2e-10?1e-10:(s+=t.totalDuration()/t._timeScale/r)>e+1e-10?0:s-e-1e-10};l._init=function(){var t,e,i,n,r,s,o=this.vars,a=this._overwrittenProps,l=this._duration,h=!!o.immediateRender,u=o.ease;if(o.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},o.startAt)r[n]=o.startAt[n];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=h&&!1!==o.lazy,r.startAt=r.delay=null,r.onUpdate=o.onUpdate,r.onUpdateParams=o.onUpdateParams,r.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=C.to(this.target||{},0,r),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in 0!==this._time&&(h=!1),i={},o)W[n]&&"autoCSS"!==n||(i[n]=o[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==o.lazy,i.immediateRender=h,this._startAt=C.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof x?u:"function"==typeof u?new x(u,o.easeParams):T[u]||C.defaultEase:C.defaultEase,o.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;t<s;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&C._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},l._initProps=function(e,i,n,r,s){var o,a,l,h,u,c;if(null==e)return!1;for(o in D[e._gsTweenID]&&q(),this.vars.css||e.style&&e!==t&&e.nodeType&&Y.css&&!1!==this.vars.autoCSS&&function(t,e){var i,n={};for(i in t)W[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!Y[i]||Y[i]&&Y[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n}(this.vars,e),this.vars)if(c=this.vars[o],W[o])c&&(c instanceof Array||c.push&&_(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[o]=c=this._swapSelfInParams(c,this));else if(Y[o]&&(h=new Y[o])._onInitTween(e,this.vars[o],this,s)){for(this._firstPT=u={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:h._priority,m:0},a=h._overwriteProps.length;--a>-1;)i[h._overwriteProps[a]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[o]=X.call(this,e,o,"get",c,o,0,null,this.vars.stringFilter,s);return r&&this._kill(r,e)?this._initProps(e,i,n,r,s):this._overwrite>1&&this._firstPT&&n.length>1&&Q(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,r,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(D[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var n,r,s,o,a=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="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-7||1e-10===h&&"isPause"!==this.data)&&h!==t&&(i=!0,h>1e-10&&(r="onReverseComplete")),this._rawPrevTime=o=!e||t||h===t?t:1e-10);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&h>0)&&(r="onReverseComplete",n=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(1e-10!==h||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=o=!e||t||h===t?t:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,c=this._easeType,f=this._easePower;(1===c||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===f?u*=u:2===f?u*=u*u:3===f?u*=u*u*u:4===f&&(u*=u*u*u*u),this.ratio=1===c?1-u:2===c?u:t/l<.5?u/2:1-u/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||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))return this._time=this._totalTime=a,this._rawPrevTime=h,E.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==a||n||i)&&this._callback("onUpdate")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-10===this._rawPrevTime&&1e-10!==o&&(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:C.selector(e)||e;var n,s,o,a,l,h,u,c,f,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((_(e)||M(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(h=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){l=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;l=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(l){if(u=t||l,c=t!==s&&"all"!==s&&t!==l&&("object"!==(void 0===t?"undefined":r(t))||!t._tempKill),i&&(C.onOverwrite||this.vars.onOverwrite)){for(o in u)l[o]&&(f||(f=[]),f.push(o));if((f||!t)&&!$(this,i,e,f))return!1}for(o in u)(a=l[o])&&(p&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,h=!0),a.pg&&a.t._kill(u)&&(h=!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 l[o]),c&&(s[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return h},l.invalidate=function(){return this._notifyPluginsOfEnabled&&C._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],R.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},l._enabled=function(t,e){if(u||h.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=Z(n[i],this,!0);else this._siblings=Z(this.target,this,!0)}return R.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&C._onPluginEvent(t?"_onEnable":"_onDisable",this)},C.to=function(t,e,i){return new C(t,e,i)},C.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new C(t,e,i)},C.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new C(t,e,n)},C.delayedCall=function(t,e,i,n,r){return new C(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},C.set=function(t,e){return new C(t,0,e)},C.getTweensOf=function(t,e){if(null==t)return[];var i,n,r,s;if(t="string"!=typeof t?t:C.selector(t)||t,(_(t)||M(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(C.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(s=n[i],r=i;--r>-1;)s===n[r]&&n.splice(i,1)}else if(t._gsTweenID)for(i=(n=Z(t).concat()).length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n||[]},C.killTweensOf=C.killDelayedCallsTo=function(t,e,i){"object"===(void 0===e?"undefined":r(e))&&(i=e,e=!1);for(var n=C.getTweensOf(t,e),s=n.length;--s>-1;)n[s]._kill(i,t)};var J=v("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=J.prototype},!0);if(l=J.prototype,J.version="1.19.0",J.API=2,l._firstPT=null,l._addTween=X,l.setRatio=L,l._kill=function(t){var e,i=this._overwriteProps,n=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(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._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},C._onPluginEvent=function(t,e){var i,n,r,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:s)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:s=a,a=o}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},J.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===J.API&&(Y[(new t[e])._propName]=t[e]);return!0},g.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=v("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){J.call(this,i,n),this._overwriteProps=r||[]},!0===t.global),a=o.prototype=new J(i);for(e in a.constructor=o,o.API=t.API,s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,J.activate([o]),o},o=t._gsQueue){for(a=0;a<o.length;a++)o[a]();for(l in m)m[l].func||t.console.log("GSAP encountered missing dependency: "+l)}return u=!1,C}(s),a=s.com.greensock,l=a.core.SimpleTimeline,h=a.core.Animation,u=s.Ease,c=s.Linear,f=s.Power0,p=s.Power1,d=s.Power2,_=s.Power3,m=s.Power4,g=s.TweenPlugin;
  2. /*!
  3. * VERSION: 1.20.5
  4. * DATE: 2018-05-21
  5. * UPDATES AND DOCS AT: http://greensock.com
  6. *
  7. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  8. * This work is subject to the terms at http://greensock.com/standard-license or for
  9. * Club GreenSock members, the software agreement that was issued with your membership.
  10. *
  11. * @author: Jack Doyle, jack@greensock.com
  12. */a.events.EventDispatcher}).call(this,i(73)(t),i(6))},1:function(t,e,i){"use strict";i.r(e);var n=i(0);
  13. /*!
  14. * VERSION: 1.20.5
  15. * DATE: 2018-05-21
  16. * UPDATES AND DOCS AT: http://greensock.com
  17. *
  18. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  19. * This work is subject to the terms at http://greensock.com/standard-license or for
  20. * Club GreenSock members, the software agreement that was issued with your membership.
  21. *
  22. * @author: Jack Doyle, jack@greensock.com
  23. */n.k._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){n.i.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,r=this.vars;for(i in r)e=r[i],s(e)&&-1!==e.join("").indexOf("{self}")&&(r[i]=this._swapSelfInParams(e));s(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=n.l._internals,i=t._internals={},r=e.isSelector,s=e.isArray,o=e.lazyTweens,a=e.lazyRender,l=n.k._gsDefine.globals,h=function(t){var e,i={};for(e in t)i[e]=t[e];return i},u=function(t,e,i){var n,r,s=t.cycle;for(n in s)r=s[n],t[n]="function"==typeof r?r(i,e[i]):r[i%r.length];delete t.cycle},c=i.pauseCallback=function(){},f=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},p=t.prototype=new n.i;return t.version="1.20.5",p.constructor=t,p.kill()._gc=p._forcingPlayhead=p._hasPause=!1,p.to=function(t,e,i,r){var s=i.repeat&&l.TweenMax||n.l;return e?this.add(new s(t,e,i),r):this.set(t,i,r)},p.from=function(t,e,i,r){return this.add((i.repeat&&l.TweenMax||n.l).from(t,e,i),r)},p.fromTo=function(t,e,i,r,s){var o=r.repeat&&l.TweenMax||n.l;return e?this.add(o.fromTo(t,e,i,r),s):this.set(t,r,s)},p.staggerTo=function(e,i,s,o,a,l,c,p){var d,_,m=new t({onComplete:l,onCompleteParams:c,callbackScope:p,smoothChildTiming:this.smoothChildTiming}),g=s.cycle;for("string"==typeof e&&(e=n.l.selector(e)||e),r(e=e||[])&&(e=f(e)),(o=o||0)<0&&((e=f(e)).reverse(),o*=-1),_=0;_<e.length;_++)(d=h(s)).startAt&&(d.startAt=h(d.startAt),d.startAt.cycle&&u(d.startAt,e,_)),g&&(u(d,e,_),null!=d.duration&&(i=d.duration,delete d.duration)),m.to(e[_],i,d,_*o);return this.add(m,a)},p.staggerFrom=function(t,e,i,n,r,s,o,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,n,r,s,o,a)},p.staggerFromTo=function(t,e,i,n,r,s,o,a,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,n,r,s,o,a,l)},p.call=function(t,e,i,r){return this.add(n.l.delayedCall(0,t,e,i),r)},p.set=function(t,e,i){return i=this._parseTimeOrLabel(i,0,!0),null==e.immediateRender&&(e.immediateRender=i===this._time&&!this._paused),this.add(new n.l(t,0,e),i)},t.exportRoot=function(e,i){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var r,s,o,a,l=new t(e),h=l._timeline;for(null==i&&(i=!0),h._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=h._time,o=h._first;o;)a=o._next,i&&o instanceof n.l&&o.target===o.vars.onComplete||((s=o._startTime-o._delay)<0&&(r=1),l.add(o,s)),o=a;return h.add(l,0),r&&l.totalDuration(),l},p.add=function(e,i,r,o){var a,l,h,u,c,f;if("number"!=typeof i&&(i=this._parseTimeOrLabel(i,0,!0,e)),!(e instanceof n.a)){if(e instanceof Array||e&&e.push&&s(e)){for(r=r||"normal",o=o||0,a=i,l=e.length,h=0;h<l;h++)s(u=e[h])&&(u=new t({tweens:u})),this.add(u,a),"string"!=typeof u&&"function"!=typeof u&&("sequence"===r?a=u._startTime+u.totalDuration()/u._timeScale:"start"===r&&(u._startTime-=u.delay())),a+=o;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,i);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=n.l.delayedCall(0,e)}if(n.i.prototype.add.call(this,e,i),e._time&&e.render((this.rawTime()-e._startTime)*e._timeScale,!1,!1),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(f=(c=this).rawTime()>e._startTime;c._timeline;)f&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},p.remove=function(t){if(t instanceof n.a){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?n.a._rootFramesTimeline:n.a._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&&s(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)},p._remove=function(t,e){return n.i.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},p.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},p.insert=p.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},p.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},p.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},p.addPause=function(t,e,i,r){var s=n.l.delayedCall(0,c,i,r||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},p.removeLabel=function(t){return delete this._labels[t],this},p.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},p._parseTimeOrLabel=function(t,e,i,r){var o,a;if(r instanceof n.a&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&s(r)))for(a=r.length;--a>-1;)r[a]instanceof n.a&&r[a].timeline===this&&this.remove(r[a]);if(o="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-o:0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=o);else{if(-1===(a=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=o+e:e:this._labels[t]+e;e=parseInt(t.charAt(a-1)+"1",10)*Number(t.substr(a+1)),t=a>1?this._parseTimeOrLabel(t.substr(0,a-1),0,i):o}return Number(t)+e},p.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},p.stop=function(){return this.paused(!0)},p.gotoAndPlay=function(t,e){return this.play(t,e)},p.gotoAndStop=function(t,e){return this.pause(t,e)},p.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var n,r,s,l,h,u,c,f=this._time,p=this._dirty?this.totalDuration():this._totalDuration,d=this._startTime,_=this._timeScale,m=this._paused;if(f!==this._time&&(t+=this._time-f),t>=p-1e-7&&t>=0)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(r=!0,l="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||1e-10===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(h=!0,this._rawPrevTime>1e-10&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=p+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&1e-10!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(l="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=r=!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-10,0===t&&r)for(n=this._first;n&&0===n._startTime;)n._duration||(r=!1),n=n._next;t=0,this._initted||(h=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)for(n=this._first;n&&n._startTime<=t&&!u;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(u=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!u;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(u=n),n=n._prev;u&&(this._time=t=u._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||i||h||u){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")),(c=this._time)>=f)for(n=this._first;n&&(s=n._next,c===this._time&&(!this._paused||m));)(n._active||n._startTime<=c&&!n._paused&&!n._gc)&&(u===n&&this.pause(),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=s;else for(n=this._last;n&&(s=n._prev,c===this._time&&(!this._paused||m));){if(n._active||n._startTime<=f&&!n._paused&&!n._gc){if(u===n){for(u=n._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()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=s}this._onUpdate&&(e||(o.length&&a(),this._callback("onUpdate"))),l&&(this._gc||d!==this._startTime&&_===this._timeScale||(0===this._time||p>=this.totalDuration())&&(r&&(o.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}},p._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},p.getChildren=function(t,e,i,r){r=r||-9999999999;for(var s=[],o=this._first,a=0;o;)o._startTime<r||(o instanceof n.l?!1!==e&&(s[a++]=o):(!1!==i&&(s[a++]=o),!1!==t&&(a=(s=s.concat(o.getChildren(!0,e,i))).length))),o=o._next;return s},p.getTweensOf=function(t,e){var i,r,s=this._gc,o=[],a=0;for(s&&this._enabled(!0,!0),r=(i=n.l.getTweensOf(t)).length;--r>-1;)(i[r].timeline===this||e&&this._contains(i[r]))&&(o[a++]=i[r]);return s&&this._enabled(!1,!0),o},p.recent=function(){return this._recent},p._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},p.shiftChildren=function(t,e,i){i=i||0;for(var n,r=this._first,s=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in s)s[n]>=i&&(s[n]+=t);return this._uncache(!0)},p._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,r=!1;--n>-1;)i[n]._kill(t,e)&&(r=!0);return r},p.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)},p.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return n.a.prototype.invalidate.call(this)},p._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return n.i.prototype._enabled.call(this,t,e)},p.totalTime=function(t,e,i){this._forcingPlayhead=!0;var r=n.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},p.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},p.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,n=0,r=this._last,s=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>s&&this._sortChildren&&!r._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(r,r._startTime-r._delay),this._calculatingDuration=0):s=r._startTime,r._startTime<0&&!r._paused&&(n-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale,this._time-=r._startTime,this._totalTime-=r._startTime,this._rawPrevTime-=r._startTime),this.shiftChildren(-r._startTime,!1,-9999999999),s=0),(i=r._startTime+r._totalDuration/r._timeScale)>n&&(n=i),r=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},p.paused=function(t){if(!t)for(var e=this._first,i=this._time;e;)e._startTime===i&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return n.a.prototype.paused.apply(this,arguments)},p.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===n.a._rootFramesTimeline},p.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},t},!0);var r=n.k.TimelineLite;
  24. /*!
  25. * VERSION: 1.20.5
  26. * DATE: 2018-05-21
  27. * UPDATES AND DOCS AT: http://greensock.com
  28. *
  29. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  30. * This work is subject to the terms at http://greensock.com/standard-license or for
  31. * Club GreenSock members, the software agreement that was issued with your membership.
  32. *
  33. * @author: Jack Doyle, jack@greensock.com
  34. */n.k._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var t=function(t){r.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},e=n.l._internals,i=e.lazyTweens,s=e.lazyRender,o=n.k._gsDefine.globals,a=new n.b(null,null,1,0),l=t.prototype=new r;return l.constructor=t,l.kill()._gc=!1,t.version="1.20.5",l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),r.prototype.invalidate.call(this)},l.addCallback=function(t,e,i,r){return this.add(n.l.delayedCall(0,t,i,r),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,r=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===r&&i[n]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(r._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var i,r,s,l={ease:a,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},h=e.repeat&&o.TweenMax||n.l;for(r in e)l[r]=e[r];return l.time=this._parseTimeOrLabel(t),i=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,s=new h(this,i,l),l.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||i!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||s,e.onStartParams||[])},s},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 n=this.tweenTo(e,i);return n.isFromTo=1,n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,n){this._gc&&this._enabled(!0,!1);var r,o,a,l,h,u,c,f,p=this._time,d=this._dirty?this.totalDuration():this._totalDuration,_=this._duration,m=this._totalTime,g=this._startTime,v=this._timeScale,y=this._rawPrevTime,x=this._paused,T=this._cycle;if(p!==this._time&&(t+=this._time-p),t>=d-1e-7&&t>=0)this._locked||(this._totalTime=d,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(o=!0,l="onComplete",h=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||y<0||1e-10===y)&&y!==t&&this._first&&(h=!0,y>1e-10&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=_,t=_+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==p||0===_&&1e-10!==y&&(y>0||t<0&&y>=0)&&!this._locked)&&(l="onReverseComplete",o=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=o=!0,l="onReverseComplete"):y>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=_||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&o)for(r=this._first;r&&0===r._startTime;)r._duration||(o=!1),r=r._next;t=0,this._initted||(h=!0)}else if(0===_&&y<0&&(h=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(u=_+this._repeatDelay,this._cycle=this._totalTime/u>>0,0!==this._cycle&&this._cycle===this._totalTime/u&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time),this._time>_?(this._time=_,t=_+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=p||this._repeat&&T!==this._cycle)for(r=this._first;r&&r._startTime<=t&&!c;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(c=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!c;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(c=r),r=r._prev;c&&c._startTime<_&&(this._time=t=c._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==T&&!this._locked){var w=this._yoyo&&0!=(1&T),b=w===(this._yoyo&&0!=(1&this._cycle)),P=this._totalTime,S=this._cycle,O=this._rawPrevTime,k=this._time;if(this._totalTime=T*_,this._cycle<T?w=!w:this._totalTime+=_,this._time=p,this._rawPrevTime=0===_?y-1e-4:y,this._cycle=T,this._locked=!0,p=w?0:_,this.render(p,e,0===_),e||this._gc||this.vars.onRepeat&&(this._cycle=S,this._locked=!1,this._callback("onRepeat")),p!==this._time)return;if(b&&(this._cycle=T,this._locked=!0,p=w?_+1e-4:-1e-4,this.render(p,!0,!1)),this._locked=!1,this._paused&&!x)return;this._time=k,this._totalTime=P,this._cycle=S,this._rawPrevTime=O}if(this._time!==p&&this._first||n||h||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==m&&t>0&&(this._active=!0),0===m&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(f=this._time)>=p)for(r=this._first;r&&(a=r._next,f===this._time&&(!this._paused||x));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(c===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=a;else for(r=this._last;r&&(a=r._prev,f===this._time&&(!this._paused||x));){if(r._active||r._startTime<=p&&!r._paused&&!r._gc){if(c===r){for(c=r._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,n),c=c._prev;c=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)}r=a}this._onUpdate&&(e||(i.length&&s(),this._callback("onUpdate"))),l&&(this._locked||this._gc||g!==this._startTime&&v===this._timeScale||(0===this._time||d>=this.totalDuration())&&(o&&(i.length&&s(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},l.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,r,s=[],o=this.getChildren(t,e,i),a=0,l=o.length;for(n=0;n<l;n++)(r=o[n]).isActive()&&(s[a++]=r);return s},l.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),n=i.length;for(e=0;e<n;e++)if(i[e].time>t)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].time<t)return e[i].name;return null},l.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort(function(t,e){return t.time-e.time}),e},l.invalidate=function(){return this._locked=!1,r.prototype.invalidate.call(this)},l.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},l.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},l.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(r.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},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 s=n.k.TimelineMax;
  35. /*!
  36. * VERSION: 1.20.5
  37. * DATE: 2018-05-21
  38. * UPDATES AND DOCS AT: http://greensock.com
  39. *
  40. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  41. * This work is subject to the terms at http://greensock.com/standard-license or for
  42. * Club GreenSock members, the software agreement that was issued with your membership.
  43. *
  44. * @author: Jack Doyle, jack@greensock.com
  45. **/n.k._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},e=function(t,e,i){var n,r,s=t.cycle;for(n in s)r=s[n],t[n]="function"==typeof r?r(i,e[i]):r[i%r.length];delete t.cycle},i=function t(e,i,r){n.l.call(this,e,i,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=t.prototype.render},r=n.l._internals,s=r.isSelector,o=r.isArray,a=i.prototype=n.l.to({},.1,{}),l=[];i.version="1.20.5",a.constructor=i,a.kill()._gc=!1,i.killTweensOf=i.killDelayedCallsTo=n.l.killTweensOf,i.getTweensOf=n.l.getTweensOf,i.lagSmoothing=n.l.lagSmoothing,i.ticker=n.l.ticker,i.render=n.l.render,a.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),n.l.prototype.invalidate.call(this)},a.updateTo=function(t,e){var i,r=this.ratio,s=this.vars.immediateRender||t.immediateRender;for(i in e&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),t)this.vars[i]=t[i];if(this._initted||s)if(e)this._initted=!1,s&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&n.l._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var o=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(o,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||s)for(var a,l=1/(1-r),h=this._firstPT;h;)a=h.s+h.c,h.c*=l,h.s=a-h.c,h=h._next;return this},a.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,o,a,l,h,u,c,f,p,d=this._dirty?this.totalDuration():this._totalDuration,_=this._time,m=this._totalTime,g=this._cycle,v=this._duration,y=this._rawPrevTime;if(t>=d-1e-7&&t>=0?(this._totalTime=d,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(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,o="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-7||1e-10===y&&"isPause"!==this.data)&&y!==t&&(i=!0,y>1e-10&&(o="onReverseComplete")),this._rawPrevTime=f=!e||t||y===t?t:1e-10)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===v&&y>0)&&(o="onReverseComplete",s=this._reversed),t<0&&(this._active=!1,0===v&&(this._initted||!this.vars.lazy||i)&&(y>=0&&(i=!0),this._rawPrevTime=f=!e||t||y===t?t:1e-10)),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&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=v-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof n.b?p:n.b.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof n.b?p:"function"==typeof p?new n.b(p,this.vars.easeParams):n.b.map[p]||n.l.defaultEase:n.l.defaultEase)),this.ratio=p?1-p.getRatio((v-this._time)/v):0)),this._time>v?this._time=v:this._time<0&&(this._time=0)),this._easeType&&!p?(h=this._time/v,u=this._easeType,c=this._easePower,(1===u||3===u&&h>=.5)&&(h=1-h),3===u&&(h*=2),1===c?h*=h:2===c?h*=h*h:3===c?h*=h*h*h:4===c&&(h*=h*h*h*h),1===u?this.ratio=1-h:2===u?this.ratio=h:this._time/v<.5?this.ratio=h/2:this.ratio=1-h/2):p||(this.ratio=this._ease.getRatio(this._time/v))),_!==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))return this._time=_,this._totalTime=m,this._rawPrevTime=y,this._cycle=g,r.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||s||p?s&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/v)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==_&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,i):o||(o="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==v||e||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,i),e||(this._totalTime!==m||o)&&this._callback("onUpdate")),this._cycle!==g&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),o&&(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[o]&&this._callback(o),0===v&&1e-10===this._rawPrevTime&&1e-10!==f&&(this._rawPrevTime=0)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},i.to=function(t,e,n){return new i(t,e,n)},i.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new i(t,e,n)},i.fromTo=function(t,e,n,r){return r.startAt=n,r.immediateRender=0!=r.immediateRender&&0!=n.immediateRender,new i(t,e,r)},i.staggerTo=i.allTo=function(r,a,h,u,c,f,p){u=u||0;var d,_,m,g,v=0,y=[],x=function(){h.onComplete&&h.onComplete.apply(h.onCompleteScope||this,arguments),c.apply(p||h.callbackScope||this,f||l)},T=h.cycle,w=h.startAt&&h.startAt.cycle;for(o(r)||("string"==typeof r&&(r=n.l.selector(r)||r),s(r)&&(r=t(r))),r=r||[],u<0&&((r=t(r)).reverse(),u*=-1),d=r.length-1,m=0;m<=d;m++){for(g in _={},h)_[g]=h[g];if(T&&(e(_,r,m),null!=_.duration&&(a=_.duration,delete _.duration)),w){for(g in w=_.startAt={},h.startAt)w[g]=h.startAt[g];e(_.startAt,r,m)}_.delay=v+(_.delay||0),m===d&&c&&(_.onComplete=x),y[m]=new i(r[m],a,_),v+=u}return y},i.staggerFrom=i.allFrom=function(t,e,n,r,s,o,a){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,i.staggerTo(t,e,n,r,s,o,a)},i.staggerFromTo=i.allFromTo=function(t,e,n,r,s,o,a,l){return r.startAt=n,r.immediateRender=0!=r.immediateRender&&0!=n.immediateRender,i.staggerTo(t,e,r,s,o,a,l)},i.delayedCall=function(t,e,n,r,s){return new i(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,useFrames:s,overwrite:0})},i.set=function(t,e){return new i(t,0,e)},i.isTweening=function(t){return n.l.getTweensOf(t,!0).length>0};var h=function t(e,i){for(var r=[],s=0,o=e._first;o;)o instanceof n.l?r[s++]=o:(i&&(r[s++]=o),s=(r=r.concat(t(o,i))).length),o=o._next;return r},u=i.getAllTweens=function(t){return h(n.a._rootTimeline,t).concat(h(n.a._rootFramesTimeline,t))};i.killAll=function(t,e,i,r){null==e&&(e=!0),null==i&&(i=!0);var s,o,a,l=u(0!=r),h=l.length,c=e&&i&&r;for(a=0;a<h;a++)o=l[a],(c||o instanceof n.i||(s=o.target===o.vars.onComplete)&&i||e&&!s)&&(t?o.totalTime(o._reversed?0:o.totalDuration()):o._enabled(!1,!1))},i.killChildTweensOf=function(e,a){if(null!=e){var l,h,u,c,f,p=r.tweenLookup;if("string"==typeof e&&(e=n.l.selector(e)||e),s(e)&&(e=t(e)),o(e))for(c=e.length;--c>-1;)i.killChildTweensOf(e[c],a);else{for(u in l=[],p)for(h=p[u].target.parentNode;h;)h===e&&(l=l.concat(p[u].tweens)),h=h.parentNode;for(f=l.length,c=0;c<f;c++)a&&l[c].totalTime(l[c].totalDuration()),l[c]._enabled(!1,!1)}}};var c=function(t,e,i,r){e=!1!==e,i=!1!==i;for(var s,o,a=u(r=!1!==r),l=e&&i&&r,h=a.length;--h>-1;)o=a[h],(l||o instanceof n.i||(s=o.target===o.vars.onComplete)&&i||e&&!s)&&o.paused(t)};return i.pauseAll=function(t,e,i){c(!0,t,e,i)},i.resumeAll=function(t,e,i){c(!1,t,e,i)},i.globalTimeScale=function(t){var e=n.a._rootTimeline,i=n.l.ticker.time;return arguments.length?(t=t||1e-10,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=n.a._rootFramesTimeline,i=n.l.ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=n.a._rootTimeline._timeScale=t,t):e._timeScale},a.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()},a.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},a.duration=function(t){return arguments.length?n.a.prototype.duration.call(this,t):this._duration},a.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},a.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},a.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},a.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},i},!0);var o=n.k.TweenMax,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};
  46. /*!
  47. * VERSION: 1.20.5
  48. * DATE: 2018-05-14
  49. * UPDATES AND DOCS AT: http://greensock.com
  50. *
  51. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  52. * This work is subject to the terms at http://greensock.com/standard-license or for
  53. * Club GreenSock members, the software agreement that was issued with your membership.
  54. *
  55. * @author: Jack Doyle, jack@greensock.com
  56. */
  57. n.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var t,e,i,r,s=function t(){n.j.call(this,"css"),this._overwriteProps.length=0,this.setRatio=t.prototype.setRatio},o=n.k._gsDefine.globals,l={},h=s.prototype=new n.j("css");h.constructor=s,s.version="1.20.5",s.API=2,s.defaultTransformPerspective=0,s.defaultSkewType="compensated",s.defaultSmoothOrigin=!0,s.suffixMap={top:h="px",right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var u,c,f,p,d,_,m,g,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,y=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,T=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,b=/opacity *= *([^)]*)/i,P=/opacity:([^;]*)/i,S=/alpha\(opacity *=.+?\)/i,O=/^(rgb|hsl)/,k=/([A-Z])/g,R=/-([a-z])/gi,A=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,C=function(t,e){return e.toUpperCase()},M=/(?:Left|Right|Width)/i,E=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,D=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,F=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,L=Math.PI/180,I=180/Math.PI,X={},z={style:{}},Y=n.k.document||{createElement:function(){return z}},B=function(t,e){return Y.createElementNS?Y.createElementNS(e||"http://www.w3.org/1999/xhtml",t):Y.createElement(t)},j=B("div"),W=B("img"),V=s._internals={_specialProps:l},H=(n.k.navigator||{}).userAgent||"",U=function(){var t=H.indexOf("Android"),e=B("a");return f=-1!==H.indexOf("Safari")&&-1===H.indexOf("Chrome")&&(-1===t||parseFloat(H.substr(t+8,2))>3),d=f&&parseFloat(H.substr(H.indexOf("Version/")+8,2))<6,p=-1!==H.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(H)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(H))&&(_=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),G=function(t){return b.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},q=function(t){n.k.console&&console.log(t)},Z="",$="",Q=function(t,e){var i,n,r=(e=e||j).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?(Z="-"+($=3===n?"ms":i[n]).toLowerCase()+"-",$+t):null},K=("undefined"!=typeof window?window:Y.defaultView||{getComputedStyle:function(){}}).getComputedStyle,J=s.getStyle=function(t,e,i,n,r){var s;return U||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||K(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(k,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):G(t)},tt=V.convertToPixels=function(t,e,i,r,o){if("px"===r||!r&&"lineHeight"!==e)return i;if("auto"===r||!i)return 0;var a,l,h,u=M.test(e),c=t,f=j.style,p=i<0,d=1===i;if(p&&(i=-i),d&&(i*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))a=i/100*(u?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==r&&c.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[u?"borderLeftWidth":"borderTopWidth"]=i+r;else{if(c=t.parentNode||Y.body,-1!==J(c,"display").indexOf("flex")&&(f.position="absolute"),l=c._gsCache,h=n.l.ticker.frame,l&&u&&l.time===h)return l.width*i/100;f[u?"width":"height"]=i+r}c.appendChild(j),a=parseFloat(j[u?"offsetWidth":"offsetHeight"]),c.removeChild(j),u&&"%"===r&&!1!==s.cacheWidths&&((l=c._gsCache=c._gsCache||{}).time=h,l.width=a/i*100),0!==a||o||(a=tt(t,e,i,r,!0))}else l=K(t).lineHeight,t.style.lineHeight=i,a=parseFloat(K(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},et=V.calculateOffset=function(t,e,i){if("absolute"!==J(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=J(t,"margin"+n,i);return t["offset"+n]-(tt(t,e,parseFloat(r),r.replace(w,""))||0)},it=function(t,e){var i,n,r,s={};if(e=e||K(t,null))if(i=e.length)for(;--i>-1;)-1!==(r=e[i]).indexOf("-transform")&&At!==r||(s[r.replace(R,C)]=e.getPropertyValue(r));else for(i in e)-1!==i.indexOf("Transform")&&Rt!==i||(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(R,C)]=e[i]);return U||(s.opacity=G(t)),n=jt(t,e,!1),s.rotation=n.rotation,s.skewX=n.skewX,s.scaleX=n.scaleX,s.scaleY=n.scaleY,s.x=n.x,s.y=n.y,Mt&&(s.z=n.z,s.rotationX=n.rotationX,s.rotationY=n.rotationY,s.scaleZ=n.scaleZ),s.filters&&delete s.filters,s},nt=function(t,e,i,n,r){var s,o,a,l={},h=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||r&&r[o])&&-1===o.indexOf("Origin")&&("number"!=typeof s&&"string"!=typeof s||(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(T,"")?s:0:et(t,o),void 0!==h[o]&&(a=new vt(h,o,h[o],a))));if(n)for(o in n)"className"!==o&&(l[o]=n[o]);return{difs:l,firstMPT:a}},rt={width:["Left","Right"],height:["Top","Bottom"]},st=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||K(t))[e]||0;if(t.getCTM&&zt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=rt[e],s=r.length;for(i=i||K(t,null);--s>-1;)n-=parseFloat(J(t,"padding"+r[s],i,!0))||0,n-=parseFloat(J(t,"border"+r[s]+"Width",i,!0))||0;return n},at=function t(e,i){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var n,r=e.split(" "),s=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":r[0],o=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":r[1];if(r.length>3&&!i){for(r=e.split(", ").join(",").split(","),e=[],n=0;n<r.length;n++)e.push(t(r[n]));return e.join(",")}return null==o?o="center"===s?"50%":"0":"center"===o&&(o="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),e=s+" "+o+(r.length>2?" "+r[2]:""),i&&(i.oxp=-1!==s.indexOf("%"),i.oyp=-1!==o.indexOf("%"),i.oxr="="===s.charAt(1),i.oyr="="===o.charAt(1),i.ox=parseFloat(s.replace(T,"")),i.oy=parseFloat(o.replace(T,"")),i.v=e),i||e},lt=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ht=function(t,e){return"function"==typeof t&&(t=t(g,m)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,i,n){var r,s,o,a,l;return"function"==typeof t&&(t=t(g,m)),null==t?a=e:"number"==typeof t?a=t:(r=360,s=t.split("_"),o=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:I)-(l?0:e),s.length&&(n&&(n[i]=e+o),-1!==t.indexOf("short")&&(o%=r)!==o%(r/2)&&(o=o<0?o+r:o-r),-1!==t.indexOf("_cw")&&o<0?o=(o+9999999999*r)%r-(o/r|0)*r:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*r)%r-(o/r|0)*r)),a=e+o),a<1e-6&&a>-1e-6&&(a=0),a},ct={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ft=function(t,e,i){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0},pt=s.parseColor=function(t,e){var i,n,r,s,o,a,l,h,u,c,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t])i=ct[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(r=t.charAt(2))+r+(s=t.charAt(3))+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(y)}else o=Number(i[0])%360/360,a=Number(i[1])/100,n=2*(l=Number(i[2])/100)-(r=l<=.5?l*(a+1):l+a-l*a),i.length>3&&(i[3]=Number(i[3])),i[0]=ft(o+1/3,n,r),i[1]=ft(o,n,r),i[2]=ft(o-1/3,n,r);else i=t.match(v)||ct.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=ct.black;return e&&!f&&(n=i[0]/255,r=i[1]/255,s=i[2]/255,l=((h=Math.max(n,r,s))+(u=Math.min(n,r,s)))/2,h===u?o=a=0:(c=h-u,a=l>.5?c/(2-h-u):c/(h+u),o=h===n?(r-s)/c+(r<s?6:0):h===r?(s-n)/c+2:(n-r)/c+4,o*=60),i[0]=o+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},dt=function(t,e){var i,n,r,s=t.match(_t)||[],o=0,a="";if(!s.length)return t;for(i=0;i<s.length;i++)n=s[i],o+=(r=t.substr(o,t.indexOf(n,o)-o)).length+n.length,3===(n=pt(n,e)).length&&n.push(1),a+=r+(e?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return a+t.substr(o)},_t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(h in ct)_t+="|"+h+"\\b";_t=new RegExp(_t+")","gi"),s.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];_t.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=dt(t[0],e),t[1]=dt(t[1],e)),_t.lastIndex=0},n.l.defaultStringFilter||(n.l.defaultStringFilter=s.colorStringFilter);var mt=function(t,e,i,n){if(null==t)return function(t){return t};var r,s=e?(t.match(_t)||[""])[0]:"",o=t.split(s).join("").match(x)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",u=o.length,c=u>0?o[0].replace(v,""):"";return u?r=e?function(t){var e,f,p,d;if("number"==typeof t)t+=c;else if(n&&F.test(t)){for(d=t.replace(F,"|").split("|"),p=0;p<d.length;p++)d[p]=r(d[p]);return d.join(",")}if(e=(t.match(_t)||[s])[0],p=(f=t.split(e).join("").match(x)||[]).length,u>p--)for(;++p<u;)f[p]=i?f[(p-1)/2|0]:o[p];return a+f.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,f;if("number"==typeof t)t+=c;else if(n&&F.test(t)){for(s=t.replace(F,"|").split("|"),f=0;f<s.length;f++)s[f]=r(s[f]);return s.join(",")}if(f=(e=t.match(x)||[]).length,u>f--)for(;++f<u;)e[f]=i?e[(f-1)/2|0]:o[f];return a+e.join(h)+l}:function(t){return t}},gt=function(t){return t=t.split(","),function(e,i,n,r,s,o,a){var l,h=(i+"").split(" ");for(a={},l=0;l<4;l++)a[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return r.parse(e,a,s,o)}},vt=(V._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,s,o=this.data,a=o.proxy,l=o.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=o.mod?o.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=o.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)r+=i["xn"+n]+i["xs"+(n+1)];i[s]=r}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,n,r){this.t=t,this.p=e,this.v=i,this.r=r,n&&(n._prev=this,this._next=n)}),yt=(V._parseToProxy=function(t,e,i,n,r,s){var o,a,l,h,u,c=n,f={},p={},d=i._transform,_=X;for(i._transform=null,X=e,n=u=i.parse(t,e,n,r),X=_,s&&(i._transform=d,c&&(c._prev=null,c._prev&&(c._prev._next=null)));n&&n!==c;){if(n.type<=1&&(p[a=n.p]=n.s+n.c,f[a]=n.s,s||(h=new vt(n,"s",a,h,n.r),n.c=0),1===n.type))for(o=n.l;--o>0;)l="xn"+o,p[a=n.p+"_"+l]=n.data[l],f[a]=n[l],s||(h=new vt(n,l,a,h,n.rxp[l]));n=n._next}return{proxy:f,end:p,firstMPT:h,pt:u}},V.CSSPropTween=function(e,i,n,s,o,a,l,h,u,c,f){this.t=e,this.p=i,this.s=n,this.c=s,this.n=l||i,e instanceof yt||r.push(this.n),this.r=h?"function"==typeof h?h:Math.round:h,this.type=a||0,u&&(this.pr=u,t=!0),this.b=void 0===c?n:c,this.e=void 0===f?n+s:f,o&&(this._next=o,o._prev=this)}),xt=function(t,e,i,n,r,s){var o=new yt(t,e,i,n-i,r,-1,s);return o.b=i,o.e=o.xs0=n,o},Tt=s.parseComplex=function(t,e,i,n,r,o,a,l,h,c){i=i||o||"","function"==typeof n&&(n=n(g,m)),a=new yt(t,e,0,0,a,c?2:1,null,!1,l,i,n),n+="",r&&_t.test(n+i)&&(s.colorStringFilter(n=[i,n]),i=n[0],n=n[1]);var f,p,d,_,x,T,w,b,P,S,O,k,R,A=i.split(", ").join(",").split(" "),C=n.split(", ").join(",").split(" "),M=A.length,E=!1!==u;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(A=A.join(" ").replace(F,", ").split(" "),C=C.join(" ").replace(F,", ").split(" ")):(A=A.join(" ").split(",").join(", ").split(" "),C=C.join(" ").split(",").join(", ").split(" ")),M=A.length),M!==C.length&&(M=(A=(o||"").split(" ")).length),a.plugin=h,a.setRatio=c,_t.lastIndex=0,f=0;f<M;f++)if(_=A[f],x=C[f]+"",(b=parseFloat(_))||0===b)a.appendXtra("",b,lt(x,b),x.replace(y,""),!(!E||-1===x.indexOf("px"))&&Math.round,!0);else if(r&&_t.test(_))k=")"+((k=x.indexOf(")")+1)?x.substr(k):""),R=-1!==x.indexOf("hsl")&&U,S=x,_=pt(_,R),x=pt(x,R),(P=_.length+x.length>6)&&!U&&0===x[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(C[f]).join("transparent")):(U||(P=!1),R?a.appendXtra(S.substr(0,S.indexOf("hsl"))+(P?"hsla(":"hsl("),_[0],lt(x[0],_[0]),",",!1,!0).appendXtra("",_[1],lt(x[1],_[1]),"%,",!1).appendXtra("",_[2],lt(x[2],_[2]),P?"%,":"%"+k,!1):a.appendXtra(S.substr(0,S.indexOf("rgb"))+(P?"rgba(":"rgb("),_[0],x[0]-_[0],",",Math.round,!0).appendXtra("",_[1],x[1]-_[1],",",Math.round).appendXtra("",_[2],x[2]-_[2],P?",":k,Math.round),P&&(_=_.length<4?1:_[3],a.appendXtra("",_,(x.length<4?1:x[3])-_,k,!1))),_t.lastIndex=0;else if(T=_.match(v)){if(!(w=x.match(y))||w.length!==T.length)return a;for(d=0,p=0;p<T.length;p++)O=T[p],S=_.indexOf(O,d),a.appendXtra(_.substr(d,S-d),Number(O),lt(w[p],O),"",!(!E||"px"!==_.substr(S+O.length,2))&&Math.round,0===p),d=S+O.length;a["xs"+a.l]+=_.substr(d)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+x:x;if(-1!==n.indexOf("=")&&a.data){for(k=a.xs0+a.data.s,f=1;f<a.l;f++)k+=a["xs"+f]+a.data["xn"+f];a.e=k+a["xs"+f]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},wt=9;for((h=yt.prototype).l=h.pr=0;--wt>0;)h["xn"+wt]=0,h["xs"+wt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,i,n,r,s){var o=this,a=o.l;return o["xs"+a]+=s&&(a||o["xs"+a])?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=n||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=r,o["xn"+a]=e,o.plugin||(o.xfirst=new yt(o,"xn"+a,e,i,o.xfirst||o,0,o.n,r,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=r,o)):(o["xs"+a]+=e+(n||""),o)};var bt=function(t,e){e=e||{},this.p=e.prefix&&Q(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||mt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},Pt=V._registerComplexSpecialProp=function(t,e,i){"object"!==(void 0===e?"undefined":a(e))&&(e={parser:i});var n,r=t.split(","),s=e.defaultValue;for(i=i||[s],n=0;n<r.length;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||s,new bt(r[n],e)},St=V._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Pt(t,{parser:function(t,i,n,r,s,a,h){var u=o.com.greensock.plugins[e];return u?(u._cssRegister(),l[n].parse(t,i,n,r,s,a,h)):(q("Error: "+e+" js file not loaded."),s)}})}};(h=bt.prototype).parseComplex=function(t,e,i,n,r,s){var o,a,l,h,u,c,f=this.keyword;if(this.multi&&(F.test(i)||F.test(e)?(a=e.replace(F,"|").split("|"),l=i.replace(F,"|").split("|")):f&&(a=[e],l=[i])),l){for(h=l.length>a.length?l.length:a.length,o=0;o<h;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,f&&(u=e.indexOf(f))!==(c=i.indexOf(f))&&(-1===c?a[o]=a[o].split(f).join(""):-1===u&&(a[o]+=" "+f));e=a.join(", "),i=l.join(", ")}return Tt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,r,s)},h.parse=function(t,e,n,r,s,o,a){return this.parseComplex(t.style,this.format(J(t,this.p,i,!1,this.dflt)),this.format(e),s,o)},s.registerSpecialProp=function(t,e,i){Pt(t,{parser:function(t,n,r,s,o,a,l){var h=new yt(t,r,0,0,o,2,r,!1,i);return h.plugin=a,h.setRatio=e(t,n,s._tween,r),h},priority:i})},s.useSVGTransformAttr=!0;var Ot,kt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Rt=Q("transform"),At=Z+"transform",Ct=Q("transformOrigin"),Mt=null!==Q("perspective"),Et=V.Transform=function(){this.perspective=parseFloat(s.defaultTransformPerspective)||0,this.force3D=!(!1===s.defaultForce3D||!Mt)&&(s.defaultForce3D||"auto")},Dt=n.k.SVGElement,Ft=function(t,e,i){var n,r=Y.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(n in i)r.setAttributeNS(null,n.replace(s,"$1-$2").toLowerCase(),i[n]);return e.appendChild(r),r},Nt=Y.documentElement||{},Lt=function(){var t,e,i,r=_||/Android/i.test(H)&&!n.k.chrome;return Y.createElementNS&&!r&&(t=Ft("svg",Nt),i=(e=Ft("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[Ct]="50% 50%",e.style[Rt]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(p&&Mt),Nt.removeChild(t)),r}(),It=function(t,e,i,n,r,o){var a,l,h,u,c,f,p,d,_,m,g,v,y,x,T=t._gsTransform,w=Bt(t,!0);T&&(y=T.xOrigin,x=T.yOrigin),(!n||(a=n.split(" ")).length<2)&&(0===(p=t.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(e=at(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=u=parseFloat(a[0]),i.yOrigin=c=parseFloat(a[1]),n&&w!==Yt&&(f=w[0],p=w[1],d=w[2],_=w[3],m=w[4],g=w[5],(v=f*_-p*d)&&(l=u*(_/v)+c*(-d/v)+(d*g-_*m)/v,h=u*(-p/v)+c*(f/v)-(f*g-p*m)/v,u=i.xOrigin=a[0]=l,c=i.yOrigin=a[1]=h)),T&&(o&&(i.xOffset=T.xOffset,i.yOffset=T.yOffset,T=i),r||!1!==r&&!1!==s.defaultSmoothOrigin?(l=u-y,h=c-x,T.xOffset+=l*w[0]+h*w[2]-l,T.yOffset+=l*w[1]+h*w[3]-h):T.xOffset=T.yOffset=0),o||t.setAttribute("data-svg-origin",a.join(" "))},Xt=function(t){try{return t.getBBox()}catch(e){return function t(e){var i,n=B("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Nt.appendChild(n),n.appendChild(this),this.style.display="block",e)try{i=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=t}catch(t){}else this._originalGetBBox&&(i=this._originalGetBBox());return s?r.insertBefore(this,s):r.appendChild(this),Nt.removeChild(n),this.style.cssText=o,i}.call(t,!0)}},zt=function(t){return!(!Dt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Xt(t))},Yt=[1,0,0,1,0,0],Bt=function(t,e){var i,n,r,s,o,a,l=t._gsTransform||new Et,h=t.style;if(Rt?n=J(t,At,null,!0):t.currentStyle&&(n=(n=t.currentStyle.filter.match(E))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),l.x||0,l.y||0].join(","):""),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,!Rt||!(a=!K(t)||"none"===K(t).display)&&t.parentNode||(a&&(s=h.display,h.display="block"),t.parentNode||(o=1,Nt.appendChild(t)),i=!(n=J(t,At,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,s?h.display=s:a&&Ut(h,"display"),o&&Nt.removeChild(t)),(l.svg||t.getCTM&&zt(t))&&(i&&-1!==(h[Rt]+"").indexOf("matrix")&&(n=h[Rt],i=0),r=t.getAttribute("transform"),i&&r&&(n="matrix("+(r=t.transform.baseVal.consolidate().matrix).a+","+r.b+","+r.c+","+r.d+","+r.e+","+r.f+")",i=0)),i)return Yt;for(r=(n||"").match(v)||[],wt=r.length;--wt>-1;)s=Number(r[wt]),r[wt]=(o=s-(s|=0))?(1e5*o+(o<0?-.5:.5)|0)/1e5+s:s;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},jt=V.getTransform=function(t,e,i,r){if(t._gsTransform&&i&&!r)return t._gsTransform;var o,a,l,h,u,c,f=i&&t._gsTransform||new Et,p=f.scaleX<0,d=Mt&&(parseFloat(J(t,Ct,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(s.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!zt(t)),f.svg&&(It(t,J(t,Ct,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=s.useSVGTransformAttr||Lt),(o=Bt(t))!==Yt){if(16===o.length){var m,g,v,y,x,T=o[0],w=o[1],b=o[2],P=o[3],S=o[4],O=o[5],k=o[6],R=o[7],A=o[8],C=o[9],M=o[10],E=o[12],D=o[13],F=o[14],N=o[11],L=Math.atan2(k,M);f.zOrigin&&(E=A*(F=-f.zOrigin)-o[12],D=C*F-o[13],F=M*F+f.zOrigin-o[14]),f.rotationX=L*I,L&&(m=S*(y=Math.cos(-L))+A*(x=Math.sin(-L)),g=O*y+C*x,v=k*y+M*x,A=S*-x+A*y,C=O*-x+C*y,M=k*-x+M*y,N=R*-x+N*y,S=m,O=g,k=v),L=Math.atan2(-b,M),f.rotationY=L*I,L&&(g=w*(y=Math.cos(-L))-C*(x=Math.sin(-L)),v=b*y-M*x,C=w*x+C*y,M=b*x+M*y,N=P*x+N*y,T=m=T*y-A*x,w=g,b=v),L=Math.atan2(w,T),f.rotation=L*I,L&&(m=T*(y=Math.cos(L))+w*(x=Math.sin(L)),g=S*y+O*x,v=A*y+C*x,w=w*y-T*x,O=O*y-S*x,C=C*y-A*x,T=m,S=g,A=v),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),L=Math.atan2(S,O),f.scaleX=(1e5*Math.sqrt(T*T+w*w+b*b)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(O*O+k*k)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(A*A+C*C+M*M)+.5|0)/1e5,T/=f.scaleX,S/=f.scaleY,w/=f.scaleX,O/=f.scaleY,Math.abs(L)>2e-5?(f.skewX=L*I,S=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(L))):f.skewX=0,f.perspective=N?1/(N<0?-N:N):0,f.x=E,f.y=D,f.z=F,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*S),f.y-=f.yOrigin-(f.yOrigin*w-f.xOrigin*O))}else if(!Mt||r||!o.length||f.x!==o[4]||f.y!==o[5]||!f.rotationX&&!f.rotationY){var X=o.length>=6,z=X?o[0]:1,Y=o[1]||0,B=o[2]||0,j=X?o[3]:1;f.x=o[4]||0,f.y=o[5]||0,l=Math.sqrt(z*z+Y*Y),h=Math.sqrt(j*j+B*B),u=z||Y?Math.atan2(Y,z)*I:f.rotation||0,c=B||j?Math.atan2(B,j)*I+u:f.skewX||0,f.scaleX=l,f.scaleY=h,f.rotation=u,f.skewX=c,Mt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*z+f.yOrigin*B),f.y-=f.yOrigin-(f.xOrigin*Y+f.yOrigin*j))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=d,f)f[a]<2e-5&&f[a]>-2e-5&&(f[a]=0)}return i&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Rt]?n.l.delayedCall(.001,function(){Ut(t.style,Rt)}):!Ot&&t.getAttribute("transform")&&n.l.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Wt=function(t){var e,i,n=this.data,r=-n.rotation*L,s=r+n.skewX*L,o=(Math.cos(r)*n.scaleX*1e5|0)/1e5,a=(Math.sin(r)*n.scaleX*1e5|0)/1e5,l=(Math.sin(s)*-n.scaleY*1e5|0)/1e5,h=(Math.cos(s)*n.scaleY*1e5|0)/1e5,u=this.t.style,c=this.t.currentStyle;if(c){i=a,a=-l,l=-i,e=c.filter,u.filter="";var f,p,d=this.t.offsetWidth,m=this.t.offsetHeight,g="absolute"!==c.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+a+", M21="+l+", M22="+h,y=n.x+d*n.xPercent/100,x=n.y+m*n.yPercent/100;if(null!=n.ox&&(y+=(f=(n.oxp?d*n.ox*.01:n.ox)-d/2)-(f*o+(p=(n.oyp?m*n.oy*.01:n.oy)-m/2)*a),x+=p-(f*l+p*h)),v+=g?", Dx="+((f=d/2)-(f*o+(p=m/2)*a)+y)+", Dy="+(p-(f*l+p*h)+x)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?u.filter=e.replace(D,v):u.filter=v+" "+e,0!==t&&1!==t||1===o&&0===a&&0===l&&1===h&&(g&&-1===v.indexOf("Dx=0, Dy=0")||b.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!g){var T,P,S,O=_<8?1:-1;for(f=n.ieOffsetX||0,p=n.ieOffsetY||0,n.ieOffsetX=Math.round((d-((o<0?-o:o)*d+(a<0?-a:a)*m))/2+y),n.ieOffsetY=Math.round((m-((h<0?-h:h)*m+(l<0?-l:l)*d))/2+x),wt=0;wt<4;wt++)S=(i=-1!==(T=c[P=st[wt]]).indexOf("px")?parseFloat(T):tt(this.t,P,parseFloat(T),T.replace(w,""))||0)!==n[P]?wt<2?-n.ieOffsetX:-n.ieOffsetY:wt<2?f-n.ieOffsetX:p-n.ieOffsetY,u[P]=(n[P]=Math.round(i-S*(0===wt||2===wt?1:O)))+"px"}}},Vt=V.set3DTransformRatio=V.setTransformRatio=function(t){var e,i,n,r,s,o,a,l,h,u,c,f,d,_,m,g,v,y,x,T,w,b=this.data,P=this.t.style,S=b.rotation,O=b.rotationX,k=b.rotationY,R=b.scaleX,A=b.scaleY,C=b.scaleZ,M=b.x,E=b.y,D=b.z,F=b.svg,N=b.perspective,I=b.force3D,X=b.skewY,z=b.skewX;if(X&&(z+=X,S+=X),!((1!==t&&0!==t||"auto"!==I||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&I||D||N||k||O||1!==C)||Ot&&F||!Mt)S||z||F?(S*=L,T=z*L,w=1e5,i=Math.cos(S)*R,s=Math.sin(S)*R,n=Math.sin(S-T)*-A,o=Math.cos(S-T)*A,T&&"simple"===b.skewType&&(e=Math.tan(T-X*L),n*=e=Math.sqrt(1+e*e),o*=e,X&&(e=Math.tan(X*L),i*=e=Math.sqrt(1+e*e),s*=e)),F&&(M+=b.xOrigin-(b.xOrigin*i+b.yOrigin*n)+b.xOffset,E+=b.yOrigin-(b.xOrigin*s+b.yOrigin*o)+b.yOffset,Ot&&(b.xPercent||b.yPercent)&&(m=this.t.getBBox(),M+=.01*b.xPercent*m.width,E+=.01*b.yPercent*m.height),M<(m=1e-6)&&M>-m&&(M=0),E<m&&E>-m&&(E=0)),x=(i*w|0)/w+","+(s*w|0)/w+","+(n*w|0)/w+","+(o*w|0)/w+","+M+","+E+")",F&&Ot?this.t.setAttribute("transform","matrix("+x):P[Rt]=(b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) matrix(":"matrix(")+x):P[Rt]=(b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+A+","+M+","+E+")";else{if(p&&(R<(m=1e-4)&&R>-m&&(R=C=2e-5),A<m&&A>-m&&(A=C=2e-5),!N||b.z||b.rotationX||b.rotationY||(N=0)),S||z)S*=L,g=i=Math.cos(S),v=s=Math.sin(S),z&&(S-=z*L,g=Math.cos(S),v=Math.sin(S),"simple"===b.skewType&&(e=Math.tan((z-X)*L),g*=e=Math.sqrt(1+e*e),v*=e,b.skewY&&(e=Math.tan(X*L),i*=e=Math.sqrt(1+e*e),s*=e))),n=-v,o=g;else{if(!(k||O||1!==C||N||F))return void(P[Rt]=(b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+E+"px,"+D+"px)"+(1!==R||1!==A?" scale("+R+","+A+")":""));i=o=1,n=s=0}u=1,r=a=l=h=c=f=0,d=N?-1/N:0,_=b.zOrigin,m=1e-6,",","0",(S=k*L)&&(g=Math.cos(S),l=-(v=Math.sin(S)),c=d*-v,r=i*v,a=s*v,u=g,d*=g,i*=g,s*=g),(S=O*L)&&(e=n*(g=Math.cos(S))+r*(v=Math.sin(S)),y=o*g+a*v,h=u*v,f=d*v,r=n*-v+r*g,a=o*-v+a*g,u*=g,d*=g,n=e,o=y),1!==C&&(r*=C,a*=C,u*=C,d*=C),1!==A&&(n*=A,o*=A,h*=A,f*=A),1!==R&&(i*=R,s*=R,l*=R,c*=R),(_||F)&&(_&&(M+=r*-_,E+=a*-_,D+=u*-_+_),F&&(M+=b.xOrigin-(b.xOrigin*i+b.yOrigin*n)+b.xOffset,E+=b.yOrigin-(b.xOrigin*s+b.yOrigin*o)+b.yOffset),M<m&&M>-m&&(M="0"),E<m&&E>-m&&(E="0"),D<m&&D>-m&&(D=0)),x=b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) matrix3d(":"matrix3d(",x+=(i<m&&i>-m?"0":i)+","+(s<m&&s>-m?"0":s)+","+(l<m&&l>-m?"0":l),x+=","+(c<m&&c>-m?"0":c)+","+(n<m&&n>-m?"0":n)+","+(o<m&&o>-m?"0":o),O||k||1!==C?(x+=","+(h<m&&h>-m?"0":h)+","+(f<m&&f>-m?"0":f)+","+(r<m&&r>-m?"0":r),x+=","+(a<m&&a>-m?"0":a)+","+(u<m&&u>-m?"0":u)+","+(d<m&&d>-m?"0":d)+","):x+=",0,0,0,0,1,0,",x+=M+","+E+","+D+","+(N?1+-D/N:1)+")",P[Rt]=x}};(h=Et.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Pt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,n,r,o,l,h){if(r._lastParsedTransform===h)return o;r._lastParsedTransform=h;var u,c=h.scale&&"function"==typeof h.scale?h.scale:0;"function"==typeof h[n]&&(u=h[n],h[n]=e),c&&(h.scale=c(g,t));var f,p,d,_,v,y,x,T,w,b=t._gsTransform,P=t.style,S=kt.length,O=h,k={},R=jt(t,i,!0,O.parseTransform),A=O.transform&&("function"==typeof O.transform?O.transform(g,m):O.transform);if(R.skewType=O.skewType||R.skewType||s.defaultSkewType,r._transform=R,A&&"string"==typeof A&&Rt)(p=j.style)[Rt]=A,p.display="block",p.position="absolute",-1!==A.indexOf("%")&&(p.width=J(t,"width"),p.height=J(t,"height")),Y.body.appendChild(j),f=jt(j,null,!1),"simple"===R.skewType&&(f.scaleY*=Math.cos(f.skewX*L)),R.svg&&(y=R.xOrigin,x=R.yOrigin,f.x-=R.xOffset,f.y-=R.yOffset,(O.transformOrigin||O.svgOrigin)&&(A={},It(t,at(O.transformOrigin),A,O.svgOrigin,O.smoothOrigin,!0),y=A.xOrigin,x=A.yOrigin,f.x-=A.xOffset-R.xOffset,f.y-=A.yOffset-R.yOffset),(y||x)&&(T=Bt(j,!0),f.x-=y-(y*T[0]+x*T[2]),f.y-=x-(y*T[1]+x*T[3]))),Y.body.removeChild(j),f.perspective||(f.perspective=R.perspective),null!=O.xPercent&&(f.xPercent=ht(O.xPercent,R.xPercent)),null!=O.yPercent&&(f.yPercent=ht(O.yPercent,R.yPercent));else if("object"===(void 0===O?"undefined":a(O))){if(f={scaleX:ht(null!=O.scaleX?O.scaleX:O.scale,R.scaleX),scaleY:ht(null!=O.scaleY?O.scaleY:O.scale,R.scaleY),scaleZ:ht(O.scaleZ,R.scaleZ),x:ht(O.x,R.x),y:ht(O.y,R.y),z:ht(O.z,R.z),xPercent:ht(O.xPercent,R.xPercent),yPercent:ht(O.yPercent,R.yPercent),perspective:ht(O.transformPerspective,R.perspective)},null!=(v=O.directionalRotation))if("object"===(void 0===v?"undefined":a(v)))for(p in v)O[p]=v[p];else O.rotation=v;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(f.x=0,f.xPercent=ht(O.x,R.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(f.y=0,f.yPercent=ht(O.y,R.yPercent)),f.rotation=ut("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:R.rotation,R.rotation,"rotation",k),Mt&&(f.rotationX=ut("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":R.rotationX||0,R.rotationX,"rotationX",k),f.rotationY=ut("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":R.rotationY||0,R.rotationY,"rotationY",k)),f.skewX=ut(O.skewX,R.skewX),f.skewY=ut(O.skewY,R.skewY)}for(Mt&&null!=O.force3D&&(R.force3D=O.force3D,_=!0),(d=R.force3D||R.z||R.rotationX||R.rotationY||f.z||f.rotationX||f.rotationY||f.perspective)||null==O.scale||(f.scaleZ=1);--S>-1;)((A=f[w=kt[S]]-R[w])>1e-6||A<-1e-6||null!=O[w]||null!=X[w])&&(_=!0,o=new yt(R,w,R[w],A,o),w in k&&(o.e=k[w]),o.xs0=0,o.plugin=l,r._overwriteProps.push(o.n));return A=O.transformOrigin,R.svg&&(A||O.svgOrigin)&&(y=R.xOffset,x=R.yOffset,It(t,at(A),f,O.svgOrigin,O.smoothOrigin),o=xt(R,"xOrigin",(b?R:f).xOrigin,f.xOrigin,o,"transformOrigin"),o=xt(R,"yOrigin",(b?R:f).yOrigin,f.yOrigin,o,"transformOrigin"),y===R.xOffset&&x===R.yOffset||(o=xt(R,"xOffset",b?y:R.xOffset,R.xOffset,o,"transformOrigin"),o=xt(R,"yOffset",b?x:R.yOffset,R.yOffset,o,"transformOrigin")),A="0px 0px"),(A||Mt&&d&&R.zOrigin)&&(Rt?(_=!0,w=Ct,A=(A||J(t,w,i,!1,"50% 50%"))+"",(o=new yt(P,w,0,0,o,-1,"transformOrigin")).b=P[w],o.plugin=l,Mt?(p=R.zOrigin,A=A.split(" "),R.zOrigin=(A.length>2&&(0===p||"0px"!==A[2])?parseFloat(A[2]):p)||0,o.xs0=o.e=A[0]+" "+(A[1]||"50%")+" 0px",(o=new yt(R,"zOrigin",0,0,o,-1,o.n)).b=p,o.xs0=o.e=R.zOrigin):o.xs0=o.e=A):at(A+"",R)),_&&(r._transformType=R.svg&&Ot||!d&&3!==this._transformType?2:3),u&&(h[n]=u),c&&(h.scale=c),o},prefix:!0}),Pt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Pt("borderRadius",{defaultValue:"0px",parser:function(t,n,r,s,o,a){n=this.format(n);var l,h,u,c,f,p,d,_,m,g,v,y,x,T,w,b,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=n.split(" "),h=0;h<P.length;h++)this.p.indexOf("border")&&(P[h]=Q(P[h])),-1!==(f=c=J(t,P[h],i,!1,"0px")).indexOf(" ")&&(f=(c=f.split(" "))[0],c=c[1]),p=u=l[h],d=parseFloat(f),y=f.substr((d+"").length),(x="="===p.charAt(1))?(_=parseInt(p.charAt(0)+"1",10),p=p.substr(2),_*=parseFloat(p),v=p.substr((_+"").length-(_<0?1:0))||""):(_=parseFloat(p),v=p.substr((_+"").length)),""===v&&(v=e[r]||y),v!==y&&(T=tt(t,"borderLeft",d,y),w=tt(t,"borderTop",d,y),"%"===v?(f=T/m*100+"%",c=w/g*100+"%"):"em"===v?(f=T/(b=tt(t,"borderLeft",1,"em"))+"em",c=w/b+"em"):(f=T+"px",c=w+"px"),x&&(p=parseFloat(f)+_+v,u=parseFloat(c)+_+v)),o=Tt(S,P[h],f+" "+c,p+" "+u,!1,"0px",o);return o},prefix:!0,formatter:mt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,n,r,s,o){return Tt(t.style,n,this.format(J(t,n,i,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:mt("0px 0px",!1,!0)}),Pt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,n,r,s,o){var a,l,h,u,c,f,p="background-position",d=i||K(t,null),m=this.format((d?_?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&(f=J(t,"backgroundImage").replace(A,""))&&"none"!==f){for(a=m.split(" "),l=g.split(" "),W.setAttribute("src",f),h=2;--h>-1;)(u=-1!==(m=a[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(c=0===h?t.offsetWidth-W.width:t.offsetHeight-W.height,a[h]=u?parseFloat(m)/100*c+"px":parseFloat(m)/c*100+"%");m=a.join(" ")}return this.parseComplex(t.style,m,g,s,o)},formatter:at}),Pt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:at(-1===t.indexOf(" ")?t+" "+t:t)}}),Pt("perspective",{defaultValue:"0px",prefix:!0}),Pt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Pt("transformStyle",{prefix:!0}),Pt("backfaceVisibility",{prefix:!0}),Pt("userSelect",{prefix:!0}),Pt("margin",{parser:gt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:gt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,n,r,s,o){var a,l,h;return _<9?(l=t.currentStyle,h=_<8?" ":",",a="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(a=this.format(J(t,this.p,i,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),Pt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Pt("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,n,r,s,o){var a=J(t,"borderTopWidth",i,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(w,"");return"px"!==h&&(a=parseFloat(a)/tt(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(a+" "+J(t,"borderTopStyle",i,!1,"solid")+" "+J(t,"borderTopColor",i,!1,"#000")),l.join(" "),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(_t)||["#000"])[0]}}),Pt("borderWidth",{parser:gt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r,s){var o=t.style,a="cssFloat"in o?"cssFloat":"styleFloat";return new yt(o,a,0,0,r,-1,i,!1,0,o[a],e)}});var Ht=function(t){var e,i=this.t,n=i.filter||J(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!J(this.data,"filter")):(i.filter=n.replace(S,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+r+")"),-1===n.indexOf("pacity")?0===r&&this.xn1||(i.filter=n+" alpha(opacity="+r+")"):i.filter=n.replace(b,"opacity="+r))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,n,r,s,o){var a=parseFloat(J(t,"opacity",i,!1,"1")),l=t.style,h="autoAlpha"===n;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),h&&1===a&&"hidden"===J(t,"visibility",i)&&0!==e&&(a=0),U?s=new yt(l,"opacity",a,e-a,s):((s=new yt(l,"opacity",100*a,100*(e-a),s)).xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Ht),h&&((s=new yt(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(n)),s}});var Ut=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(k,"-$1").toLowerCase())):t.removeAttribute(e))},Gt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ut(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Pt("className",{parser:function(e,n,r,s,o,a,l){var h,u,c,f,p,d=e.getAttribute("class")||"",_=e.style.cssText;if((o=s._classNamePT=new yt(e,r,0,0,o,2)).setRatio=Gt,o.pr=-11,t=!0,o.b=d,u=it(e,i),c=e._gsClassPT){for(f={},p=c.data;p;)f[p.p]=1,p=p._next;c.setRatio(1)}return e._gsClassPT=o,o.e="="!==n.charAt(1)?n:d.replace(new RegExp("(?:\\s|^)"+n.substr(2)+"(?![\\w-])"),"")+("+"===n.charAt(0)?" "+n.substr(2):""),e.setAttribute("class",o.e),h=nt(e,u,it(e),l,f),e.setAttribute("class",d),o.data=h.firstMPT,e.style.cssText=_,o=o.xfirst=s.parse(e,h.difs,o,a)}});var qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,r,s,o=this.t.style,a=l.transform.parse;if("all"===this.e)o.cssText="",r=!0;else for(n=(e=this.e.split(" ").join("").split(",")).length;--n>-1;)i=e[n],l[i]&&(l[i].parse===a?r=!0:i="transformOrigin"===i?Ct:l[i].p),Ut(o,i);r&&(Ut(o,Rt),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Pt("clearProps",{parser:function(e,i,n,r,s){return(s=new yt(e,n,0,0,s,2)).setRatio=qt,s.e=i,s.pr=-10,s.data=r._tween,t=!0,s}}),h="bezier,throwProps,physicsProps,physics2D".split(","),wt=h.length;wt--;)St(h[wt]);(h=s.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(n,o,a,h){if(!n.nodeType)return!1;this._target=m=n,this._tween=a,this._vars=o,g=h,u=o.autoRound,t=!1,e=o.suffixMap||s.suffixMap,i=K(n,""),r=this._overwriteProps;var p,_,v,y,x,T,w,b,S,O=n.style;if(c&&""===O.zIndex&&("auto"!==(p=J(n,"zIndex",i))&&""!==p||this._addLazySet(O,"zIndex",0)),"string"==typeof o&&(y=O.cssText,p=it(n,i),O.cssText=y+";"+o,p=nt(n,p,it(n)).difs,!U&&P.test(o)&&(p.opacity=parseFloat(RegExp.$1)),o=p,O.cssText=y),o.className?this._firstPT=_=l.className.parse(n,o.className,"className",this,null,null,o):this._firstPT=_=this.parse(n,o,null),this._transformType){for(S=3===this._transformType,Rt?f&&(c=!0,""===O.zIndex&&("auto"!==(w=J(n,"zIndex",i))&&""!==w||this._addLazySet(O,"zIndex",0)),d&&this._addLazySet(O,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(S?"visible":"hidden"))):O.zoom=1,v=_;v&&v._next;)v=v._next;b=new yt(n,"transform",0,0,null,2),this._linkCSSP(b,null,v),b.setRatio=Rt?Vt:Wt,b.data=this._transform||jt(n,i,!0),b.tween=a,b.pr=-1,r.pop()}if(t){for(;_;){for(T=_._next,v=y;v&&v.pr>_.pr;)v=v._next;(_._prev=v?v._prev:x)?_._prev._next=_:y=_,(_._next=v)?v._prev=_:x=_,_=T}this._firstPT=y}return!0},h.parse=function(t,n,r,s){var o,a,h,c,f,p,d,_,v,y,x=t.style;for(o in n){if("function"==typeof(p=n[o])&&(p=p(g,m)),a=l[o])r=a.parse(t,p,o,this,r,s,n);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",K(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}f=J(t,o,i)+"",v="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||v&&O.test(p)?(v||(p=((p=pt(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),r=Tt(x,o,f,p,!0,"transparent",r,0,s)):v&&N.test(p)?r=Tt(x,o,f,p,!0,null,r,0,s):(d=(h=parseFloat(f))||0===h?f.substr((h+"").length):"",""!==f&&"auto"!==f||("width"===o||"height"===o?(h=ot(t,o,i),d="px"):"left"===o||"top"===o?(h=et(t,o,i),d="px"):(h="opacity"!==o?0:1,d="")),(y=v&&"="===p.charAt(1))?(c=parseInt(p.charAt(0)+"1",10),p=p.substr(2),c*=parseFloat(p),_=p.replace(w,"")):(c=parseFloat(p),_=v?p.replace(w,""):""),""===_&&(_=o in e?e[o]:d),p=c||0===c?(y?c+h:c)+_:n[o],d!==_&&(""===_&&"lineHeight"!==o||(c||0===c)&&h&&(h=tt(t,o,h,d),"%"===_?(h/=tt(t,o,100,"%")/100,!0!==n.strictUnits&&(f=h+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?h/=tt(t,o,1,_):"px"!==_&&(c=tt(t,o,c,_),_="px"),y&&(c||0===c)&&(p=c+h+_))),y&&(c+=h),!h&&0!==h||!c&&0!==c?void 0!==x[o]&&(p||p+""!="NaN"&&null!=p)?(r=new yt(x,o,c||h||0,0,r,-1,o,!1,0,f,p)).xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:f:q("invalid "+o+" tween value: "+n[o]):(r=new yt(x,o,h,c-h,r,0,o,!1!==u&&("px"===_||"zIndex"===o),0,f,p)).xs0=_)}s&&r&&!r.plugin&&(r.plugin=s)}return r},h.setRatio=function(t){var e,i,n,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<1e-6&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(n=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;n<r.l;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;){if(2!==r.type)if(r.r&&-1!==r.type)if(e=r.r(r.s+r.c),r.type){if(1===r.type){for(n=r.l,i=r.xs0+e+r.xs1,n=1;n<r.l;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}}else r.t[r.p]=e+r.xs0;else r.t[r.p]=r.e;else r.setRatio(t);r=r._next}},h._enableTransforms=function(t){this._transform=this._transform||jt(this._target,i,!0),this._transformType=this._transform.svg&&Ot||!t&&3!==this._transformType?2:3};var Zt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};h._addLazySet=function(t,e,i){var n=this._firstPT=new yt(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=Zt,n.data=this},h._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},h._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},h._kill=function(t){var e,i,r,s=t;if(t.autoAlpha||t.alpha){for(i in s={},t)s[i]=t[i];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(t.className&&(e=this._classNamePT)&&((r=e.xfirst)&&r._prev?this._linkCSSP(r._prev,e._next,r._prev._prev):r===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,r._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==i&&e.plugin._kill&&(e.plugin._kill(t),i=e.plugin),e=e._next;return n.j.prototype._kill.call(this,s)};var $t=function t(e,i,n){var r,s,o,a;if(e.slice)for(s=e.length;--s>-1;)t(e[s],i,n);else for(s=(r=e.childNodes).length;--s>-1;)a=(o=r[s]).type,o.style&&(i.push(it(o)),n&&n.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||t(o,i,n)};return s.cascadeTo=function(t,e,i){var r,s,o,a,l=n.l.to(t,e,i),h=[l],u=[],c=[],f=[],p=n.l._internals.reservedProps;for(t=l._targets||l.target,$t(t,u,f),l.render(e,!0,!0),$t(t,c),l.render(0,!0,!0),l._enabled(!0),r=f.length;--r>-1;)if((s=nt(f[r],u[r],c[r])).firstMPT){for(o in s=s.difs,i)p[o]&&(s[o]=i[o]);for(o in a={},s)a[o]=u[r][o];h.push(n.l.fromTo(f[r],e,a,s))}return h},n.j.activate([s]),s},!0);var l=n.k.CSSPlugin,h=n.k._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,n){var r,s;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(s=e[r])&&(s=s(n,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",s+"",r,!1,r),this._overwriteProps.push(r);return!0}}),u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},c=n.k._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),f=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}},p=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},d=c.prototype;
  58. /*!
  59. * VERSION: 0.6.1
  60. * DATE: 2018-05-14
  61. * UPDATES AND DOCS AT: http://greensock.com
  62. *
  63. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  64. * This work is subject to the terms at http://greensock.com/standard-license or for
  65. * Club GreenSock members, the software agreement that was issued with your membership.
  66. *
  67. * @author: Jack Doyle, jack@greensock.com
  68. */d._onInitAllProps=function(){var t,e,i,n,r=this._tween,s=r.vars.roundProps,o={},a=r._propLookup.roundProps;if("object"!==(void 0===s?"undefined":u(s))||s.push)for("string"==typeof s&&(s=s.split(",")),i=s.length;--i>-1;)o[s[i]]=Math.round;else for(n in s)o[n]=f(s[n]);for(n in o)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(o):t.n===n&&(2===t.f&&t.t?p(t.t._firstPT,o[n]):(this._add(t.t,n,t.s,t.c,o[n]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[n]=a)),t=e;return!1},d._add=function(t,e,i,n,r){this._addTween(t,e,i,i+n,e,r||Math.round),this._overwriteProps.push(e)};var _="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},m=n.k._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,n){"object"!==(void 0===e?"undefined":_(e))&&(e={rotation:e}),this.finals={};var r,s,o,a,l,h,u=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(a=e[r])&&(a=a(n,t)),s=(h=(a+"").split("_"))[0],o=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(a=this.finals[r]="string"==typeof s&&"="===s.charAt(1)?o+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-o,h.length&&(-1!==(s=h.join("_")).indexOf("short")&&(l%=u)!==l%(u/2)&&(l=l<0?l+u:l-u),-1!==s.indexOf("_cw")&&l<0?l=(l+9999999999*u)%u-(l/u|0)*u:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*u)%u-(l/u|0)*u)),(l>1e-6||l<-1e-6)&&(this._addTween(t,r,o,o+l,r),this._overwriteProps.push(r)));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}});
  69. /*!
  70. * VERSION: 0.3.1
  71. * DATE: 2018-05-14
  72. * UPDATES AND DOCS AT: http://greensock.com
  73. *
  74. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  75. * This work is subject to the terms at http://greensock.com/standard-license or for
  76. * Club GreenSock members, the software agreement that was issued with your membership.
  77. *
  78. * @author: Jack Doyle, jack@greensock.com
  79. **/m._autoCSS=!0;
  80. /*!
  81. * VERSION: 1.3.8
  82. * DATE: 2018-05-14
  83. * UPDATES AND DOCS AT: http://greensock.com
  84. *
  85. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  86. * This work is subject to the terms at http://greensock.com/standard-license or for
  87. * Club GreenSock members, the software agreement that was issued with your membership.
  88. *
  89. * @author: Jack Doyle, jack@greensock.com
  90. **/
  91. var g=180/Math.PI,v=[],y=[],x=[],T={},w=n.k._gsDefine.globals,b=function(t,e,i,n){i===n&&(i=n-(n-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},P=function(t,e,i,n){var r={a:t},s={},o={},a={c:n},l=(t+e)/2,h=(e+i)/2,u=(i+n)/2,c=(l+h)/2,f=(h+u)/2,p=(f-c)/8;return r.b=l+(t-l)/4,s.b=c+p,r.c=s.a=(r.b+s.b)/2,s.c=o.a=(c+f)/2,o.b=f-p,a.b=u+(n-u)/4,o.c=a.a=(o.b+a.b)/2,[r,s,o,a]},S=function(t,e,i,n,r){var s,o,a,l,h,u,c,f,p,d,_,m,g,T=t.length-1,w=0,b=t[0].a;for(s=0;s<T;s++)o=(h=t[w]).a,a=h.d,l=t[w+1].d,r?(_=v[s],g=((m=y[s])+_)*e*.25/(n?.5:x[s]||.5),f=a-((u=a-(a-o)*(n?.5*e:0!==_?g/_:0))+(((c=a+(l-a)*(n?.5*e:0!==m?g/m:0))-u)*(3*_/(_+m)+.5)/4||0))):f=a-((u=a-(a-o)*e*.5)+(c=a+(l-a)*e*.5))/2,u+=f,c+=f,h.c=p=u,h.b=0!==s?b:b=h.a+.6*(h.c-h.a),h.da=a-o,h.ca=p-o,h.ba=b-o,i?(d=P(o,b,p,a),t.splice(w,1,d[0],d[1],d[2],d[3]),w+=4):w++,b=c;(h=t[w]).b=b,h.c=b+.4*(h.d-b),h.da=h.d-h.a,h.ca=h.c-h.a,h.ba=b-h.a,i&&(d=P(h.a,b,h.c,h.d),t.splice(w,1,d[0],d[1],d[2],d[3]))},O=function(t,e,i,n){var r,s,o,a,l,h,u=[];if(n)for(s=(t=[n].concat(t)).length;--s>-1;)"string"==typeof(h=t[s][e])&&"="===h.charAt(1)&&(t[s][e]=n[e]+Number(h.charAt(0)+h.substr(2)));if((r=t.length-2)<0)return u[0]=new b(t[0][e],0,0,t[0][e]),u;for(s=0;s<r;s++)o=t[s][e],a=t[s+1][e],u[s]=new b(o,0,0,a),i&&(l=t[s+2][e],v[s]=(v[s]||0)+(a-o)*(a-o),y[s]=(y[s]||0)+(l-a)*(l-a));return u[s]=new b(t[s][e],0,0,t[s+1][e]),u},k=function(t,e,i,n,r,s){var o,a,l,h,u,c,f,p,d={},_=[],m=s||t[0];for(a in r="string"==typeof r?","+r+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])_.push(a);if(t.length>1){for(p=t[t.length-1],f=!0,o=_.length;--o>-1;)if(a=_[o],Math.abs(m[a]-p[a])>.05){f=!1;break}f&&(t=t.concat(),s&&t.unshift(s),t.push(t[1]),s=t[t.length-3])}for(v.length=y.length=x.length=0,o=_.length;--o>-1;)a=_[o],T[a]=-1!==r.indexOf(","+a+","),d[a]=O(t,a,T[a],s);for(o=v.length;--o>-1;)v[o]=Math.sqrt(v[o]),y[o]=Math.sqrt(y[o]);if(!n){for(o=_.length;--o>-1;)if(T[a])for(c=(l=d[_[o]]).length-1,h=0;h<c;h++)u=l[h+1].da/y[h]+l[h].da/v[h]||0,x[h]=(x[h]||0)+u*u;for(o=x.length;--o>-1;)x[o]=Math.sqrt(x[o])}for(o=_.length,h=i?4:1;--o>-1;)l=d[a=_[o]],S(l,e,i,n,T[a]),f&&(l.splice(0,h),l.splice(l.length-h,h));return d},R=function(t,e,i){for(var n,r,s,o,a,l,h,u,c,f,p,d=1/i,_=t.length;--_>-1;)for(s=(f=t[_]).a,o=f.d-s,a=f.c-s,l=f.b-s,n=r=0,u=1;u<=i;u++)n=r-(r=((h=d*u)*h*o+3*(c=1-h)*(h*a+c*l))*h),e[p=_*i+u-1]=(e[p]||0)+n*n},A=n.k._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,r,s,o,a,l=e.values||[],h={},u=l[0],c=e.autoRotate||i.vars.orientToBezier;for(n in this._autoRotate=c?c instanceof Array?c:[["x","y","rotation",!0===c?0:Number(c)||0]]:null,u)this._props.push(n);for(s=this._props.length;--s>-1;)n=this._props[s],this._overwriteProps.push(n),r=this._func[n]="function"==typeof t[n],h[n]=r?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),a||h[n]!==l[0][n]&&(a=h);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?k(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):function(t,e,i){var n,r,s,o,a,l,h,u,c,f,p,d={},_="cubic"===(e=e||"soft")?3:2,m="soft"===e,g=[];if(m&&i&&(t=[i].concat(t)),null==t||t.length<_+1)throw"invalid Bezier data";for(c in t[0])g.push(c);for(l=g.length;--l>-1;){for(d[c=g[l]]=a=[],f=0,u=t.length,h=0;h<u;h++)n=null==i?t[h][c]:"string"==typeof(p=t[h][c])&&"="===p.charAt(1)?i[c]+Number(p.charAt(0)+p.substr(2)):Number(p),m&&h>1&&h<u-1&&(a[f++]=(n+a[f-2])/2),a[f++]=n;for(u=f-_+1,f=0,h=0;h<u;h+=_)n=a[h],r=a[h+1],s=a[h+2],o=2===_?0:a[h+3],a[f++]=p=3===_?new b(n,r,s,o):new b(n,(2*r+n)/3,(2*r+s)/3,s);a.length=f}return d}(l,e.type,h),this._segCount=this._beziers[n].length,this._timeRes){var f=function(t,e){var i,n,r,s,o=[],a=[],l=0,h=0,u=(e=e>>0||6)-1,c=[],f=[];for(i in t)R(t[i],o,e);for(r=o.length,n=0;n<r;n++)l+=Math.sqrt(o[n]),f[s=n%e]=l,s===u&&(h+=l,c[s=n/e>>0]=f,a[s]=h,l=0,f=[]);return{length:h,lengths:a,segments:c}}(this._beziers,this._timeRes);this._length=f.length,this._lengths=f.lengths,this._segments=f.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(c=this._autoRotate)for(this._initialRotations=[],c[0]instanceof Array||(this._autoRotate=c=[c]),s=c.length;--s>-1;){for(o=0;o<3;o++)n=c[s][o],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=c[s][2],this._initialRotations[s]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,n,r,s,o,a,l,h,u,c=this._segCount,f=this._func,p=this._target,d=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,u=this._curSeg,t*=this._length,n=this._li,t>this._l2&&n<c-1){for(l=c-1;n<l&&(this._l2=h[++n])<=t;);this._l1=h[n-1],this._li=n,this._curSeg=u=this._segments[n],this._s2=u[this._s1=this._si=0]}else if(t<this._l1&&n>0){for(;n>0&&(this._l1=h[--n])>=t;);0===n&&t<this._l1?this._l1=0:n++,this._l2=h[n],this._li=n,this._curSeg=u=this._segments[n],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(e=n,t-=this._l1,n=this._si,t>this._s2&&n<u.length-1){for(l=u.length-1;n<l&&(this._s2=u[++n])<=t;);this._s1=u[n-1],this._si=n}else if(t<this._s1&&n>0){for(;n>0&&(this._s1=u[--n])>=t;);0===n&&t<this._s1?this._s1=0:n++,this._s2=u[n],this._si=n}o=(n+(t-this._s1)/(this._s2-this._s1))*this._prec||0}else o=(t-(e=t<0?0:t>=1?c-1:c*t>>0)*(1/c))*c;for(i=1-o,n=this._props.length;--n>-1;)r=this._props[n],a=(o*o*(s=this._beziers[r][e]).da+3*i*(o*s.ca+i*s.ba))*o+s.a,this._mod[r]&&(a=this._mod[r](a,p)),f[r]?p[r](a):p[r]=a;if(this._autoRotate){var _,m,v,y,x,T,w,b=this._autoRotate;for(n=b.length;--n>-1;)r=b[n][2],T=b[n][3]||0,w=!0===b[n][4]?1:g,s=this._beziers[b[n][0]],_=this._beziers[b[n][1]],s&&_&&(s=s[e],_=_[e],m=s.a+(s.b-s.a)*o,m+=((y=s.b+(s.c-s.b)*o)-m)*o,y+=(s.c+(s.d-s.c)*o-y)*o,v=_.a+(_.b-_.a)*o,v+=((x=_.b+(_.c-_.b)*o)-v)*o,x+=(_.c+(_.d-_.c)*o-x)*o,a=d?Math.atan2(x-v,y-m)*w+T:this._initialRotations[n],this._mod[r]&&(a=this._mod[r](a,p)),f[r]?p[r](a):p[r]=a)}}}),C=A.prototype;A.bezierThrough=k,A.cubicToQuadratic=P,A._autoCSS=!0,A.quadraticToCubic=function(t,e,i){return new b(t,(2*e+t)/3,(2*e+i)/3,i)},A._cssRegister=function(){var t=w.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,o,a,l){e instanceof Array&&(e={values:e}),l=new A;var h,u,c,f=e.values,p=f.length-1,d=[],_={};if(p<0)return a;for(h=0;h<=p;h++)c=i(t,f[h],o,a,l,p!==h),d[h]=c.end;for(u in e)_[u]=e[u];return _.values=d,(a=new r(t,"bezier",0,0,c.pt,2)).data=c,a.plugin=l,a.setRatio=n,0===_.autoRotate&&(_.autoRotate=!0),!_.autoRotate||_.autoRotate instanceof Array||(h=!0===_.autoRotate?0:Number(_.autoRotate),_.autoRotate=null!=c.end.left?[["left","top","rotation",h,!1]]:null!=c.end.x&&[["x","y","rotation",h,!1]]),_.autoRotate&&(o._transform||o._enableTransforms(!1),c.autoRotate=o._target._gsTransform,c.proxy.rotation=c.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(c.proxy,_,o._tween),a}})}},C._mod=function(t){for(var e,i=this._overwriteProps,n=i.length;--n>-1;)(e=t[i[n]])&&"function"==typeof e&&(this._mod[i[n]]=e)},C._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;--i>-1;)n[i]===e&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;--i>-1;)t[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,t)},
  92. /*!
  93. * VERSION: 1.16.0
  94. * DATE: 2018-05-14
  95. * UPDATES AND DOCS AT: http://greensock.com
  96. *
  97. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  98. * This work is subject to the terms at http://greensock.com/standard-license or for
  99. * Club GreenSock members, the software agreement that was issued with your membership.
  100. *
  101. * @author: Jack Doyle, jack@greensock.com
  102. **/
  103. n.k._gsDefine("easing.Back",["easing.Ease"],function(){var t,e,i,r,s=n.k.GreenSockGlobals||n.k,o=s.com.greensock,a=2*Math.PI,l=Math.PI/2,h=o._class,u=function(t,e){var i=h("easing."+t,function(){},!0),r=i.prototype=new n.b;return r.constructor=i,r.getRatio=e,i},c=n.b.register||function(){},f=function(t,e,i,n,r){var s=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return c(s,t),s},p=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),r=i.prototype=new n.b;return r.constructor=i,r.getRatio=e,r.config=function(t){return new i(t)},i},_=f("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)})),m=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=m.prototype=new n.b;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},(g=(t=h("easing.SteppedEase",function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0},!0)).prototype=new n.b).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 n.b).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,n){return new e(t,i,n)},(g=(i=h("easing.RoughEase",function(t){for(var e,i,r,s,o,a,l=(t=t||{}).taper||"none",h=[],u=0,c=0|(t.points||20),f=c,d=!1!==t.randomize,_=!0===t.clamp,m=t.template instanceof n.b?t.template:null,g="number"==typeof t.strength?.4*t.strength:.4;--f>-1;)e=d?Math.random():1/c*f,i=m?m.getRatio(e):e,r="none"===l?g:"out"===l?(s=1-e)*s*g:"in"===l?e*e*g:e<.5?(s=2*e)*s*.5*g:(s=2*(1-e))*s*.5*g,d?i+=Math.random()*r-.5*r:f%2?i+=.5*r:i-=.5*r,_&&(i>1?i=1:i<0&&(i=0)),h[u++]={x:e,y:i};for(h.sort(function(t,e){return t.x-e.x}),a=new p(1,1,null),f=c;--f>-1;)o=h[f],a=new p(o.x,o.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)},!0)).prototype=new n.b).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,f("Bounce",u("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}),u("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)}),u("BounceInOut",function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f("Elastic",(r=function(t,e,i){var r=h("easing."+t,function(t,e){this._p1=t>=1?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),s=r.prototype=new n.b;return s.constructor=r,s.getRatio=e,s.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),r("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),r("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",u("SineOut",function(t){return Math.sin(t*l)}),u("SineIn",function(t){return 1-Math.cos(t*l)}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(t){return n.b.map[t]}},!0),c(s.SlowMo,"SlowMo","ease,"),c(i,"RoughEase","ease,"),c(t,"SteppedEase","ease,"),_},!0);var M=n.k.Back,E=n.k.Elastic,D=n.k.Bounce,F=n.k.RoughEase,N=n.k.SlowMo,L=n.k.SteppedEase,I=n.k.Circ,X=n.k.Expo,z=n.k.Sine,Y=n.k.ExpoScaleEase,B=o;B._autoActivated=[r,s,l,h,A,c,m,M,E,D,F,N,L,I,X,z,Y],i.d(e,"default",function(){return B}),i.d(e,"TweenLite",function(){return n.l}),i.d(e,"TweenMax",function(){return B}),i.d(e,"TimelineLite",function(){return r}),i.d(e,"TimelineMax",function(){return s}),i.d(e,"CSSPlugin",function(){return l}),i.d(e,"AttrPlugin",function(){return h}),i.d(e,"BezierPlugin",function(){return A}),i.d(e,"RoundPropsPlugin",function(){return c}),i.d(e,"DirectionalRotationPlugin",function(){return m}),i.d(e,"TweenPlugin",function(){return n.j}),i.d(e,"Ease",function(){return n.b}),i.d(e,"Power0",function(){return n.d}),i.d(e,"Power1",function(){return n.e}),i.d(e,"Power2",function(){return n.f}),i.d(e,"Power3",function(){return n.g}),i.d(e,"Power4",function(){return n.h}),i.d(e,"Linear",function(){return n.c}),i.d(e,"Back",function(){return M}),i.d(e,"Elastic",function(){return E}),i.d(e,"Bounce",function(){return D}),i.d(e,"RoughEase",function(){return F}),i.d(e,"SlowMo",function(){return N}),i.d(e,"SteppedEase",function(){return L}),i.d(e,"Circ",function(){return I}),i.d(e,"Expo",function(){return X}),i.d(e,"Sine",function(){return z}),i.d(e,"ExpoScaleEase",function(){return Y}),i.d(e,"_gsScope",function(){return n.k})},10:function(t,e,i){"use strict";t.exports=i(11).polyfill()},11:function(t,e,i){(function(n,r){var s,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};
  104. /*!
  105. * @overview es6-promise - a tiny implementation of Promises/A+.
  106. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
  107. * @license Licensed under MIT license
  108. * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
  109. * @version v4.2.4+314e4831
  110. */
  111. !function(n,r){"object"===a(e)&&void 0!==t?t.exports=r():void 0===(o="function"==typeof(s=r)?s.call(e,i,e,t):s)||(t.exports=o)}(0,function(){"use strict";function t(t){return"function"==typeof t}var e=Array.isArray?Array.isArray:function(t){return"[object Array]"===Object.prototype.toString.call(t)},i=0,s=void 0,o=void 0,l=function(t,e){_[i]=t,_[i+1]=e,2===(i+=2)&&(o?o(m):g())};var h="undefined"!=typeof window?window:void 0,u=h||{},c=u.MutationObserver||u.WebKitMutationObserver,f="undefined"==typeof self&&void 0!==n&&"[object process]"==={}.toString.call(n),p="undefined"!=typeof Uint8ClampedArray&&"undefined"!=typeof importScripts&&"undefined"!=typeof MessageChannel;function d(){var t=setTimeout;return function(){return t(m,1)}}var _=new Array(1e3);function m(){for(var t=0;t<i;t+=2){(0,_[t])(_[t+1]),_[t]=void 0,_[t+1]=void 0}i=0}var g=void 0;function v(t,e){var i=this,n=new this.constructor(T);void 0===n[x]&&L(n);var r=i._state;if(r){var s=arguments[r-1];l(function(){return F(r,n,s,i._result)})}else E(i,n,t,e);return n}function y(t){if(t&&"object"===(void 0===t?"undefined":a(t))&&t.constructor===this)return t;var e=new this(T);return R(e,t),e}g=f?function(){return n.nextTick(m)}:c?function(){var t=0,e=new c(m),i=document.createTextNode("");return e.observe(i,{characterData:!0}),function(){i.data=t=++t%2}}():p?function(){var t=new MessageChannel;return t.port1.onmessage=m,function(){return t.port2.postMessage(0)}}():void 0===h?function(){try{var t=Function("return this")().require("vertx");return void 0!==(s=t.runOnLoop||t.runOnContext)?function(){s(m)}:d()}catch(t){return d()}}():d();var x=Math.random().toString(36).substring(2);function T(){}var w=void 0,b=1,P=2,S={error:null};function O(t){try{return t.then}catch(t){return S.error=t,S}}function k(e,i,n){i.constructor===e.constructor&&n===v&&i.constructor.resolve===y?function(t,e){e._state===b?C(t,e._result):e._state===P?M(t,e._result):E(e,void 0,function(e){return R(t,e)},function(e){return M(t,e)})}(e,i):n===S?(M(e,S.error),S.error=null):void 0===n?C(e,i):t(n)?function(t,e,i){l(function(t){var n=!1,r=function(t,e,i,n){try{t.call(e,i,n)}catch(t){return t}}(i,e,function(i){n||(n=!0,e!==i?R(t,i):C(t,i))},function(e){n||(n=!0,M(t,e))},t._label);!n&&r&&(n=!0,M(t,r))},t)}(e,i,n):C(e,i)}function R(t,e){t===e?M(t,new TypeError("You cannot resolve a promise with itself")):!function(t){var e=void 0===t?"undefined":a(t);return null!==t&&("object"===e||"function"===e)}(e)?C(t,e):k(t,e,O(e))}function A(t){t._onerror&&t._onerror(t._result),D(t)}function C(t,e){t._state===w&&(t._result=e,t._state=b,0!==t._subscribers.length&&l(D,t))}function M(t,e){t._state===w&&(t._state=P,t._result=e,l(A,t))}function E(t,e,i,n){var r=t._subscribers,s=r.length;t._onerror=null,r[s]=e,r[s+b]=i,r[s+P]=n,0===s&&t._state&&l(D,t)}function D(t){var e=t._subscribers,i=t._state;if(0!==e.length){for(var n=void 0,r=void 0,s=t._result,o=0;o<e.length;o+=3)n=e[o],r=e[o+i],n?F(i,n,r,s):r(s);t._subscribers.length=0}}function F(e,i,n,r){var s=t(n),o=void 0,a=void 0,l=void 0,h=void 0;if(s){if((o=function(t,e){try{return t(e)}catch(t){return S.error=t,S}}(n,r))===S?(h=!0,a=o.error,o.error=null):l=!0,i===o)return void M(i,new TypeError("A promises callback cannot return that same promise."))}else o=r,l=!0;i._state!==w||(s&&l?R(i,o):h?M(i,a):e===b?C(i,o):e===P&&M(i,o))}var N=0;function L(t){t[x]=N++,t._state=void 0,t._result=void 0,t._subscribers=[]}var I=function(){function t(t,i){this._instanceConstructor=t,this.promise=new t(T),this.promise[x]||L(this.promise),e(i)?(this.length=i.length,this._remaining=i.length,this._result=new Array(this.length),0===this.length?C(this.promise,this._result):(this.length=this.length||0,this._enumerate(i),0===this._remaining&&C(this.promise,this._result))):M(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===w&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var i=this._instanceConstructor,n=i.resolve;if(n===y){var r=O(t);if(r===v&&t._state!==w)this._settledAt(t._state,e,t._result);else if("function"!=typeof r)this._remaining--,this._result[e]=t;else if(i===X){var s=new i(T);k(s,t,r),this._willSettleAt(s,e)}else this._willSettleAt(new i(function(e){return e(t)}),e)}else this._willSettleAt(n(t),e)},t.prototype._settledAt=function(t,e,i){var n=this.promise;n._state===w&&(this._remaining--,t===P?M(n,i):this._result[e]=i),0===this._remaining&&C(n,this._result)},t.prototype._willSettleAt=function(t,e){var i=this;E(t,void 0,function(t){return i._settledAt(b,e,t)},function(t){return i._settledAt(P,e,t)})},t}();var X=function(){function t(e){this[x]=N++,this._result=this._state=void 0,this._subscribers=[],T!==e&&("function"!=typeof e&&function(){throw new TypeError("You must pass a resolver function as the first argument to the promise constructor")}(),this instanceof t?function(t,e){try{e(function(e){R(t,e)},function(e){M(t,e)})}catch(e){M(t,e)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var e=this.constructor;return this.then(function(i){return e.resolve(t()).then(function(){return i})},function(i){return e.resolve(t()).then(function(){throw i})})},t}();return X.prototype.then=v,X.all=function(t){return new I(this,t).promise},X.race=function(t){var i=this;return e(t)?new i(function(e,n){for(var r=t.length,s=0;s<r;s++)i.resolve(t[s]).then(e,n)}):new i(function(t,e){return e(new TypeError("You must pass an array to race."))})},X.resolve=y,X.reject=function(t){var e=new this(T);return M(e,t),e},X._setScheduler=function(t){o=t},X._setAsap=function(t){l=t},X._asap=l,X.polyfill=function(){var t=void 0;if(void 0!==r)t=r;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var i=null;try{i=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===i&&!e.cast)return}t.Promise=X},X.Promise=X,X})}).call(this,i(12),i(6))},12:function(t,e){var i,n,r=t.exports={};function s(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function a(t){if(i===setTimeout)return setTimeout(t,0);if((i===s||!i)&&setTimeout)return i=setTimeout,setTimeout(t,0);try{return i(t,0)}catch(e){try{return i.call(null,t,0)}catch(e){return i.call(this,t,0)}}}!function(){try{i="function"==typeof setTimeout?setTimeout:s}catch(t){i=s}try{n="function"==typeof clearTimeout?clearTimeout:o}catch(t){n=o}}();var l,h=[],u=!1,c=-1;function f(){u&&l&&(u=!1,l.length?h=l.concat(h):c=-1,h.length&&p())}function p(){if(!u){var t=a(f);u=!0;for(var e=h.length;e;){for(l=h,h=[];++c<e;)l&&l[c].run();c=-1,e=h.length}l=null,u=!1,function(t){if(n===clearTimeout)return clearTimeout(t);if((n===o||!n)&&clearTimeout)return n=clearTimeout,clearTimeout(t);try{n(t)}catch(e){try{return n.call(null,t)}catch(e){return n.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function _(){}r.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var i=1;i<arguments.length;i++)e[i-1]=arguments[i];h.push(new d(t,e)),1!==h.length||u||a(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},r.title="browser",r.browser=!0,r.env={},r.argv=[],r.version="",r.versions={},r.on=_,r.addListener=_,r.once=_,r.off=_,r.removeListener=_,r.removeAllListeners=_,r.emit=_,r.prependListener=_,r.prependOnceListener=_,r.listeners=function(t){return[]},r.binding=function(t){throw new Error("process.binding is not supported")},r.cwd=function(){return"/"},r.chdir=function(t){throw new Error("process.chdir is not supported")},r.umask=function(){return 0}},15:function(t,e,i){(function(n){var r,s,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l=void 0!==t&&t.exports&&void 0!==n?n:this||window;(l._gsQueue||(l._gsQueue=[])).push(function(){"use strict";l._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,n,r,s,o=function e(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=e.prototype.setRatio},h=l._gsDefine.globals,u={},c=o.prototype=new t("css");c.constructor=o,o.version="1.20.5",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,o.suffixMap={top:c="px",right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c,lineHeight:""};var f,p,d,_,m,g,v,y,x=/(?:\-|\.|\b)(\d|\.|e\-)+/g,T=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,w=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,P=/(?:\d|\-|\+|=|#|\.)*/g,S=/opacity *= *([^)]*)/i,O=/opacity:([^;]*)/i,k=/alpha\(opacity *=.+?\)/i,R=/^(rgb|hsl)/,A=/([A-Z])/g,C=/-([a-z])/gi,M=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(t,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,F=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,N=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,L=/,(?=[^\)]*(?:\(|$))/gi,I=/[\s,\(]/i,X=Math.PI/180,z=180/Math.PI,Y={},B={style:{}},j=l.document||{createElement:function(){return B}},W=function(t,e){return j.createElementNS?j.createElementNS(e||"http://www.w3.org/1999/xhtml",t):j.createElement(t)},V=W("div"),H=W("img"),U=o._internals={_specialProps:u},G=(l.navigator||{}).userAgent||"",q=function(){var t=G.indexOf("Android"),e=W("a");return d=-1!==G.indexOf("Safari")&&-1===G.indexOf("Chrome")&&(-1===t||parseFloat(G.substr(t+8,2))>3),m=d&&parseFloat(G.substr(G.indexOf("Version/")+8,2))<6,_=-1!==G.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(G)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(G))&&(g=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),Z=function(t){return S.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},$=function(t){l.console&&console.log(t)},Q="",K="",J=function(t,e){var i,n,r=(e=e||V).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?(Q="-"+(K=3===n?"ms":i[n]).toLowerCase()+"-",K+t):null},tt=("undefined"!=typeof window?window:j.defaultView||{getComputedStyle:function(){}}).getComputedStyle,et=o.getStyle=function(t,e,i,n,r){var s;return q||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(A,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):Z(t)},it=U.convertToPixels=function(t,i,n,r,s){if("px"===r||!r&&"lineHeight"!==i)return n;if("auto"===r||!n)return 0;var a,l,h,u=D.test(i),c=t,f=V.style,p=n<0,d=1===n;if(p&&(n=-n),d&&(n*=100),"lineHeight"!==i||r)if("%"===r&&-1!==i.indexOf("border"))a=n/100*(u?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==r&&c.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[u?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(c=t.parentNode||j.body,-1!==et(c,"display").indexOf("flex")&&(f.position="absolute"),l=c._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*n/100;f[u?"width":"height"]=n+r}c.appendChild(V),a=parseFloat(V[u?"offsetWidth":"offsetHeight"]),c.removeChild(V),u&&"%"===r&&!1!==o.cacheWidths&&((l=c._gsCache=c._gsCache||{}).time=h,l.width=a/n*100),0!==a||s||(a=it(t,i,n,r,!0))}else l=tt(t).lineHeight,t.style.lineHeight=n,a=parseFloat(tt(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},nt=U.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=et(t,"margin"+n,i);return t["offset"+n]-(it(t,e,parseFloat(r),r.replace(P,""))||0)},rt=function(t,e){var i,n,r,s={};if(e=e||tt(t,null))if(i=e.length)for(;--i>-1;)-1!==(r=e[i]).indexOf("-transform")&&Mt!==r||(s[r.replace(C,E)]=e.getPropertyValue(r));else for(i in e)-1!==i.indexOf("Transform")&&Ct!==i||(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(C,E)]=e[i]);return q||(s.opacity=Z(t)),n=Vt(t,e,!1),s.rotation=n.rotation,s.skewX=n.skewX,s.scaleX=n.scaleX,s.scaleY=n.scaleY,s.x=n.x,s.y=n.y,Dt&&(s.z=n.z,s.rotationX=n.rotationX,s.rotationY=n.rotationY,s.scaleZ=n.scaleZ),s.filters&&delete s.filters,s},st=function(t,e,i,n,r){var s,o,a,l={},h=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||r&&r[o])&&-1===o.indexOf("Origin")&&("number"!=typeof s&&"string"!=typeof s||(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(b,"")?s:0:nt(t,o),void 0!==h[o]&&(a=new xt(h,o,h[o],a))));if(n)for(o in n)"className"!==o&&(l[o]=n[o]);return{difs:l,firstMPT:a}},ot={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Bt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=ot[e],s=r.length;for(i=i||tt(t,null);--s>-1;)n-=parseFloat(et(t,"padding"+r[s],i,!0))||0,n-=parseFloat(et(t,"border"+r[s]+"Width",i,!0))||0;return n},ht=function t(e,i){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var n,r=e.split(" "),s=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":r[0],o=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":r[1];if(r.length>3&&!i){for(r=e.split(", ").join(",").split(","),e=[],n=0;n<r.length;n++)e.push(t(r[n]));return e.join(",")}return null==o?o="center"===s?"50%":"0":"center"===o&&(o="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),e=s+" "+o+(r.length>2?" "+r[2]:""),i&&(i.oxp=-1!==s.indexOf("%"),i.oyp=-1!==o.indexOf("%"),i.oxr="="===s.charAt(1),i.oyr="="===o.charAt(1),i.ox=parseFloat(s.replace(b,"")),i.oy=parseFloat(o.replace(b,"")),i.v=e),i||e},ut=function(t,e){return"function"==typeof t&&(t=t(y,v)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ct=function(t,e){return"function"==typeof t&&(t=t(y,v)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ft=function(t,e,i,n){var r,s,o,a,l;return"function"==typeof t&&(t=t(y,v)),null==t?a=e:"number"==typeof t?a=t:(r=360,s=t.split("_"),o=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:z)-(l?0:e),s.length&&(n&&(n[i]=e+o),-1!==t.indexOf("short")&&(o%=r)!==o%(r/2)&&(o=o<0?o+r:o-r),-1!==t.indexOf("_cw")&&o<0?o=(o+9999999999*r)%r-(o/r|0)*r:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*r)%r-(o/r|0)*r)),a=e+o),a<1e-6&&a>-1e-6&&(a=0),a},pt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=function(t,e,i){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0},_t=o.parseColor=function(t,e){var i,n,r,s,o,a,l,h,u,c,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(r=t.charAt(2))+r+(s=t.charAt(3))+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(x),e){if(-1!==t.indexOf("="))return t.match(T)}else o=Number(i[0])%360/360,a=Number(i[1])/100,n=2*(l=Number(i[2])/100)-(r=l<=.5?l*(a+1):l+a-l*a),i.length>3&&(i[3]=Number(i[3])),i[0]=dt(o+1/3,n,r),i[1]=dt(o,n,r),i[2]=dt(o-1/3,n,r);else i=t.match(x)||pt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=pt.black;return e&&!f&&(n=i[0]/255,r=i[1]/255,s=i[2]/255,l=((h=Math.max(n,r,s))+(u=Math.min(n,r,s)))/2,h===u?o=a=0:(c=h-u,a=l>.5?c/(2-h-u):c/(h+u),o=h===n?(r-s)/c+(r<s?6:0):h===r?(s-n)/c+2:(n-r)/c+4,o*=60),i[0]=o+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},mt=function(t,e){var i,n,r,s=t.match(gt)||[],o=0,a="";if(!s.length)return t;for(i=0;i<s.length;i++)n=s[i],o+=(r=t.substr(o,t.indexOf(n,o)-o)).length+n.length,3===(n=_t(n,e)).length&&n.push(1),a+=r+(e?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return a+t.substr(o)},gt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(c in pt)gt+="|"+c+"\\b";gt=new RegExp(gt+")","gi"),o.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];gt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=mt(t[0],e),t[1]=mt(t[1],e)),gt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=o.colorStringFilter);var vt=function(t,e,i,n){if(null==t)return function(t){return t};var r,s=e?(t.match(gt)||[""])[0]:"",o=t.split(s).join("").match(w)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",u=o.length,c=u>0?o[0].replace(x,""):"";return u?r=e?function(t){var e,f,p,d;if("number"==typeof t)t+=c;else if(n&&L.test(t)){for(d=t.replace(L,"|").split("|"),p=0;p<d.length;p++)d[p]=r(d[p]);return d.join(",")}if(e=(t.match(gt)||[s])[0],p=(f=t.split(e).join("").match(w)||[]).length,u>p--)for(;++p<u;)f[p]=i?f[(p-1)/2|0]:o[p];return a+f.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,f;if("number"==typeof t)t+=c;else if(n&&L.test(t)){for(s=t.replace(L,"|").split("|"),f=0;f<s.length;f++)s[f]=r(s[f]);return s.join(",")}if(f=(e=t.match(w)||[]).length,u>f--)for(;++f<u;)e[f]=i?e[(f-1)/2|0]:o[f];return a+e.join(h)+l}:function(t){return t}},yt=function(t){return t=t.split(","),function(e,i,n,r,s,o,a){var l,h=(i+"").split(" ");for(a={},l=0;l<4;l++)a[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return r.parse(e,a,s,o)}},xt=(U._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,s,o=this.data,a=o.proxy,l=o.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(o.autoRotate&&(o.autoRotate.rotation=o.mod?o.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=o.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)r+=i["xn"+n]+i["xs"+(n+1)];i[s]=r}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,n,r){this.t=t,this.p=e,this.v=i,this.r=r,n&&(n._prev=this,this._next=n)}),Tt=(U._parseToProxy=function(t,e,i,n,r,s){var o,a,l,h,u,c=n,f={},p={},d=i._transform,_=Y;for(i._transform=null,Y=e,n=u=i.parse(t,e,n,r),Y=_,s&&(i._transform=d,c&&(c._prev=null,c._prev&&(c._prev._next=null)));n&&n!==c;){if(n.type<=1&&(p[a=n.p]=n.s+n.c,f[a]=n.s,s||(h=new xt(n,"s",a,h,n.r),n.c=0),1===n.type))for(o=n.l;--o>0;)l="xn"+o,p[a=n.p+"_"+l]=n.data[l],f[a]=n[l],s||(h=new xt(n,l,a,h,n.rxp[l]));n=n._next}return{proxy:f,end:p,firstMPT:h,pt:u}},U.CSSPropTween=function(t,e,n,r,o,a,l,h,u,c,f){this.t=t,this.p=e,this.s=n,this.c=r,this.n=l||e,t instanceof Tt||s.push(this.n),this.r=h?"function"==typeof h?h:Math.round:h,this.type=a||0,u&&(this.pr=u,i=!0),this.b=void 0===c?n:c,this.e=void 0===f?n+r:f,o&&(this._next=o,o._prev=this)}),wt=function(t,e,i,n,r,s){var o=new Tt(t,e,i,n-i,r,-1,s);return o.b=i,o.e=o.xs0=n,o},bt=o.parseComplex=function(t,e,i,n,r,s,a,l,h,u){i=i||s||"","function"==typeof n&&(n=n(y,v)),a=new Tt(t,e,0,0,a,u?2:1,null,!1,l,i,n),n+="",r&&gt.test(n+i)&&(o.colorStringFilter(n=[i,n]),i=n[0],n=n[1]);var c,p,d,_,m,g,w,b,P,S,O,k,R,A=i.split(", ").join(",").split(" "),C=n.split(", ").join(",").split(" "),M=A.length,E=!1!==f;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(A=A.join(" ").replace(L,", ").split(" "),C=C.join(" ").replace(L,", ").split(" ")):(A=A.join(" ").split(",").join(", ").split(" "),C=C.join(" ").split(",").join(", ").split(" ")),M=A.length),M!==C.length&&(M=(A=(s||"").split(" ")).length),a.plugin=h,a.setRatio=u,gt.lastIndex=0,c=0;c<M;c++)if(_=A[c],m=C[c]+"",(b=parseFloat(_))||0===b)a.appendXtra("",b,ut(m,b),m.replace(T,""),!(!E||-1===m.indexOf("px"))&&Math.round,!0);else if(r&&gt.test(_))k=")"+((k=m.indexOf(")")+1)?m.substr(k):""),R=-1!==m.indexOf("hsl")&&q,S=m,_=_t(_,R),m=_t(m,R),(P=_.length+m.length>6)&&!q&&0===m[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(C[c]).join("transparent")):(q||(P=!1),R?a.appendXtra(S.substr(0,S.indexOf("hsl"))+(P?"hsla(":"hsl("),_[0],ut(m[0],_[0]),",",!1,!0).appendXtra("",_[1],ut(m[1],_[1]),"%,",!1).appendXtra("",_[2],ut(m[2],_[2]),P?"%,":"%"+k,!1):a.appendXtra(S.substr(0,S.indexOf("rgb"))+(P?"rgba(":"rgb("),_[0],m[0]-_[0],",",Math.round,!0).appendXtra("",_[1],m[1]-_[1],",",Math.round).appendXtra("",_[2],m[2]-_[2],P?",":k,Math.round),P&&(_=_.length<4?1:_[3],a.appendXtra("",_,(m.length<4?1:m[3])-_,k,!1))),gt.lastIndex=0;else if(g=_.match(x)){if(!(w=m.match(T))||w.length!==g.length)return a;for(d=0,p=0;p<g.length;p++)O=g[p],S=_.indexOf(O,d),a.appendXtra(_.substr(d,S-d),Number(O),ut(w[p],O),"",!(!E||"px"!==_.substr(S+O.length,2))&&Math.round,0===p),d=S+O.length;a["xs"+a.l]+=_.substr(d)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+m:m;if(-1!==n.indexOf("=")&&a.data){for(k=a.xs0+a.data.s,c=1;c<a.l;c++)k+=a["xs"+c]+a.data["xn"+c];a.e=k+a["xs"+c]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},Pt=9;for((c=Tt.prototype).l=c.pr=0;--Pt>0;)c["xn"+Pt]=0,c["xs"+Pt]="";c.xs0="",c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null,c.appendXtra=function(t,e,i,n,r,s){var o=this,a=o.l;return o["xs"+a]+=s&&(a||o["xs"+a])?" "+t:t||"",i||0===a||o.plugin?(o.l++,o.type=o.setRatio?2:1,o["xs"+o.l]=n||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=r,o["xn"+a]=e,o.plugin||(o.xfirst=new Tt(o,"xn"+a,e,i,o.xfirst||o,0,o.n,r,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=r,o)):(o["xs"+a]+=e+(n||""),o)};var St=function(t,e){e=e||{},this.p=e.prefix&&J(t)||t,u[t]=u[this.p]=this,this.format=e.formatter||vt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},Ot=U._registerComplexSpecialProp=function(t,e,i){"object"!==(void 0===e?"undefined":a(e))&&(e={parser:i});var n,r=t.split(","),s=e.defaultValue;for(i=i||[s],n=0;n<r.length;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||s,new St(r[n],e)},kt=U._registerPluginProp=function(t){if(!u[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Ot(t,{parser:function(t,i,n,r,s,o,a){var l=h.com.greensock.plugins[e];return l?(l._cssRegister(),u[n].parse(t,i,n,r,s,o,a)):($("Error: "+e+" js file not loaded."),s)}})}};(c=St.prototype).parseComplex=function(t,e,i,n,r,s){var o,a,l,h,u,c,f=this.keyword;if(this.multi&&(L.test(i)||L.test(e)?(a=e.replace(L,"|").split("|"),l=i.replace(L,"|").split("|")):f&&(a=[e],l=[i])),l){for(h=l.length>a.length?l.length:a.length,o=0;o<h;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,f&&(u=e.indexOf(f))!==(c=i.indexOf(f))&&(-1===c?a[o]=a[o].split(f).join(""):-1===u&&(a[o]+=" "+f));e=a.join(", "),i=l.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,r,s)},c.parse=function(t,e,i,n,s,o,a){return this.parseComplex(t.style,this.format(et(t,this.p,r,!1,this.dflt)),this.format(e),s,o)},o.registerSpecialProp=function(t,e,i){Ot(t,{parser:function(t,n,r,s,o,a,l){var h=new Tt(t,r,0,0,o,2,r,!1,i);return h.plugin=a,h.setRatio=e(t,n,s._tween,r),h},priority:i})},o.useSVGTransformAttr=!0;var Rt,At="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ct=J("transform"),Mt=Q+"transform",Et=J("transformOrigin"),Dt=null!==J("perspective"),Ft=U.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Dt)&&(o.defaultForce3D||"auto")},Nt=l.SVGElement,Lt=function(t,e,i){var n,r=j.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(n in i)r.setAttributeNS(null,n.replace(s,"$1-$2").toLowerCase(),i[n]);return e.appendChild(r),r},It=j.documentElement||{},Xt=function(){var t,e,i,n=g||/Android/i.test(G)&&!l.chrome;return j.createElementNS&&!n&&(t=Lt("svg",It),i=(e=Lt("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[Et]="50% 50%",e.style[Ct]="scaleX(0.5)",n=i===e.getBoundingClientRect().width&&!(_&&Dt),It.removeChild(t)),n}(),zt=function(t,e,i,n,r,s){var a,l,h,u,c,f,p,d,_,m,g,v,y,x,T=t._gsTransform,w=Wt(t,!0);T&&(y=T.xOrigin,x=T.yOrigin),(!n||(a=n.split(" ")).length<2)&&(0===(p=t.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(e=ht(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=u=parseFloat(a[0]),i.yOrigin=c=parseFloat(a[1]),n&&w!==jt&&(f=w[0],p=w[1],d=w[2],_=w[3],m=w[4],g=w[5],(v=f*_-p*d)&&(l=u*(_/v)+c*(-d/v)+(d*g-_*m)/v,h=u*(-p/v)+c*(f/v)-(f*g-p*m)/v,u=i.xOrigin=a[0]=l,c=i.yOrigin=a[1]=h)),T&&(s&&(i.xOffset=T.xOffset,i.yOffset=T.yOffset,T=i),r||!1!==r&&!1!==o.defaultSmoothOrigin?(l=u-y,h=c-x,T.xOffset+=l*w[0]+h*w[2]-l,T.yOffset+=l*w[1]+h*w[3]-h):T.xOffset=T.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},Yt=function(t){try{return t.getBBox()}catch(e){return function t(e){var i,n=W("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),r=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(It.appendChild(n),n.appendChild(this),this.style.display="block",e)try{i=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=t}catch(t){}else this._originalGetBBox&&(i=this._originalGetBBox());return s?r.insertBefore(this,s):r.appendChild(this),It.removeChild(n),this.style.cssText=o,i}.call(t,!0)}},Bt=function(t){return!(!Nt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Yt(t))},jt=[1,0,0,1,0,0],Wt=function(t,e){var i,n,r,s,o,a,l=t._gsTransform||new Ft,h=t.style;if(Ct?n=et(t,Mt,null,!0):t.currentStyle&&(n=(n=t.currentStyle.filter.match(F))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),l.x||0,l.y||0].join(","):""),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,!Ct||!(a=!tt(t)||"none"===tt(t).display)&&t.parentNode||(a&&(s=h.display,h.display="block"),t.parentNode||(o=1,It.appendChild(t)),i=!(n=et(t,Mt,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,s?h.display=s:a&&qt(h,"display"),o&&It.removeChild(t)),(l.svg||t.getCTM&&Bt(t))&&(i&&-1!==(h[Ct]+"").indexOf("matrix")&&(n=h[Ct],i=0),r=t.getAttribute("transform"),i&&r&&(n="matrix("+(r=t.transform.baseVal.consolidate().matrix).a+","+r.b+","+r.c+","+r.d+","+r.e+","+r.f+")",i=0)),i)return jt;for(r=(n||"").match(x)||[],Pt=r.length;--Pt>-1;)s=Number(r[Pt]),r[Pt]=(o=s-(s|=0))?(1e5*o+(o<0?-.5:.5)|0)/1e5+s:s;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Vt=U.getTransform=function(t,i,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var s,a,l,h,u,c,f=n&&t._gsTransform||new Ft,p=f.scaleX<0,d=Dt&&(parseFloat(et(t,Et,i,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Bt(t)),f.svg&&(zt(t,et(t,Et,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Rt=o.useSVGTransformAttr||Xt),(s=Wt(t))!==jt){if(16===s.length){var m,g,v,y,x,T=s[0],w=s[1],b=s[2],P=s[3],S=s[4],O=s[5],k=s[6],R=s[7],A=s[8],C=s[9],M=s[10],E=s[12],D=s[13],F=s[14],N=s[11],L=Math.atan2(k,M);f.zOrigin&&(E=A*(F=-f.zOrigin)-s[12],D=C*F-s[13],F=M*F+f.zOrigin-s[14]),f.rotationX=L*z,L&&(m=S*(y=Math.cos(-L))+A*(x=Math.sin(-L)),g=O*y+C*x,v=k*y+M*x,A=S*-x+A*y,C=O*-x+C*y,M=k*-x+M*y,N=R*-x+N*y,S=m,O=g,k=v),L=Math.atan2(-b,M),f.rotationY=L*z,L&&(g=w*(y=Math.cos(-L))-C*(x=Math.sin(-L)),v=b*y-M*x,C=w*x+C*y,M=b*x+M*y,N=P*x+N*y,T=m=T*y-A*x,w=g,b=v),L=Math.atan2(w,T),f.rotation=L*z,L&&(m=T*(y=Math.cos(L))+w*(x=Math.sin(L)),g=S*y+O*x,v=A*y+C*x,w=w*y-T*x,O=O*y-S*x,C=C*y-A*x,T=m,S=g,A=v),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),L=Math.atan2(S,O),f.scaleX=(1e5*Math.sqrt(T*T+w*w+b*b)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(O*O+k*k)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(A*A+C*C+M*M)+.5|0)/1e5,T/=f.scaleX,S/=f.scaleY,w/=f.scaleX,O/=f.scaleY,Math.abs(L)>2e-5?(f.skewX=L*z,S=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(L))):f.skewX=0,f.perspective=N?1/(N<0?-N:N):0,f.x=E,f.y=D,f.z=F,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*S),f.y-=f.yOrigin-(f.yOrigin*w-f.xOrigin*O))}else if(!Dt||r||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var I=s.length>=6,X=I?s[0]:1,Y=s[1]||0,B=s[2]||0,j=I?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(X*X+Y*Y),h=Math.sqrt(j*j+B*B),u=X||Y?Math.atan2(Y,X)*z:f.rotation||0,c=B||j?Math.atan2(B,j)*z+u:f.skewX||0,f.scaleX=l,f.scaleY=h,f.rotation=u,f.skewX=c,Dt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*X+f.yOrigin*B),f.y-=f.yOrigin-(f.xOrigin*Y+f.yOrigin*j))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=d,f)f[a]<2e-5&&f[a]>-2e-5&&(f[a]=0)}return n&&(t._gsTransform=f,f.svg&&(Rt&&t.style[Ct]?e.delayedCall(.001,function(){qt(t.style,Ct)}):!Rt&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Ht=function(t){var e,i,n=this.data,r=-n.rotation*X,s=r+n.skewX*X,o=(Math.cos(r)*n.scaleX*1e5|0)/1e5,a=(Math.sin(r)*n.scaleX*1e5|0)/1e5,l=(Math.sin(s)*-n.scaleY*1e5|0)/1e5,h=(Math.cos(s)*n.scaleY*1e5|0)/1e5,u=this.t.style,c=this.t.currentStyle;if(c){i=a,a=-l,l=-i,e=c.filter,u.filter="";var f,p,d=this.t.offsetWidth,_=this.t.offsetHeight,m="absolute"!==c.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+a+", M21="+l+", M22="+h,y=n.x+d*n.xPercent/100,x=n.y+_*n.yPercent/100;if(null!=n.ox&&(y+=(f=(n.oxp?d*n.ox*.01:n.ox)-d/2)-(f*o+(p=(n.oyp?_*n.oy*.01:n.oy)-_/2)*a),x+=p-(f*l+p*h)),v+=m?", Dx="+((f=d/2)-(f*o+(p=_/2)*a)+y)+", Dy="+(p-(f*l+p*h)+x)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?u.filter=e.replace(N,v):u.filter=v+" "+e,0!==t&&1!==t||1===o&&0===a&&0===l&&1===h&&(m&&-1===v.indexOf("Dx=0, Dy=0")||S.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!m){var T,w,b,O=g<8?1:-1;for(f=n.ieOffsetX||0,p=n.ieOffsetY||0,n.ieOffsetX=Math.round((d-((o<0?-o:o)*d+(a<0?-a:a)*_))/2+y),n.ieOffsetY=Math.round((_-((h<0?-h:h)*_+(l<0?-l:l)*d))/2+x),Pt=0;Pt<4;Pt++)b=(i=-1!==(T=c[w=at[Pt]]).indexOf("px")?parseFloat(T):it(this.t,w,parseFloat(T),T.replace(P,""))||0)!==n[w]?Pt<2?-n.ieOffsetX:-n.ieOffsetY:Pt<2?f-n.ieOffsetX:p-n.ieOffsetY,u[w]=(n[w]=Math.round(i-b*(0===Pt||2===Pt?1:O)))+"px"}}},Ut=U.set3DTransformRatio=U.setTransformRatio=function(t){var e,i,n,r,s,o,a,l,h,u,c,f,p,d,m,g,v,y,x,T,w,b=this.data,P=this.t.style,S=b.rotation,O=b.rotationX,k=b.rotationY,R=b.scaleX,A=b.scaleY,C=b.scaleZ,M=b.x,E=b.y,D=b.z,F=b.svg,N=b.perspective,L=b.force3D,I=b.skewY,z=b.skewX;if(I&&(z+=I,S+=I),!((1!==t&&0!==t||"auto"!==L||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&L||D||N||k||O||1!==C)||Rt&&F||!Dt)S||z||F?(S*=X,T=z*X,w=1e5,i=Math.cos(S)*R,s=Math.sin(S)*R,n=Math.sin(S-T)*-A,o=Math.cos(S-T)*A,T&&"simple"===b.skewType&&(e=Math.tan(T-I*X),n*=e=Math.sqrt(1+e*e),o*=e,I&&(e=Math.tan(I*X),i*=e=Math.sqrt(1+e*e),s*=e)),F&&(M+=b.xOrigin-(b.xOrigin*i+b.yOrigin*n)+b.xOffset,E+=b.yOrigin-(b.xOrigin*s+b.yOrigin*o)+b.yOffset,Rt&&(b.xPercent||b.yPercent)&&(m=this.t.getBBox(),M+=.01*b.xPercent*m.width,E+=.01*b.yPercent*m.height),M<(m=1e-6)&&M>-m&&(M=0),E<m&&E>-m&&(E=0)),x=(i*w|0)/w+","+(s*w|0)/w+","+(n*w|0)/w+","+(o*w|0)/w+","+M+","+E+")",F&&Rt?this.t.setAttribute("transform","matrix("+x):P[Ct]=(b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) matrix(":"matrix(")+x):P[Ct]=(b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+A+","+M+","+E+")";else{if(_&&(R<(m=1e-4)&&R>-m&&(R=C=2e-5),A<m&&A>-m&&(A=C=2e-5),!N||b.z||b.rotationX||b.rotationY||(N=0)),S||z)S*=X,g=i=Math.cos(S),v=s=Math.sin(S),z&&(S-=z*X,g=Math.cos(S),v=Math.sin(S),"simple"===b.skewType&&(e=Math.tan((z-I)*X),g*=e=Math.sqrt(1+e*e),v*=e,b.skewY&&(e=Math.tan(I*X),i*=e=Math.sqrt(1+e*e),s*=e))),n=-v,o=g;else{if(!(k||O||1!==C||N||F))return void(P[Ct]=(b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+E+"px,"+D+"px)"+(1!==R||1!==A?" scale("+R+","+A+")":""));i=o=1,n=s=0}u=1,r=a=l=h=c=f=0,p=N?-1/N:0,d=b.zOrigin,m=1e-6,",","0",(S=k*X)&&(g=Math.cos(S),l=-(v=Math.sin(S)),c=p*-v,r=i*v,a=s*v,u=g,p*=g,i*=g,s*=g),(S=O*X)&&(e=n*(g=Math.cos(S))+r*(v=Math.sin(S)),y=o*g+a*v,h=u*v,f=p*v,r=n*-v+r*g,a=o*-v+a*g,u*=g,p*=g,n=e,o=y),1!==C&&(r*=C,a*=C,u*=C,p*=C),1!==A&&(n*=A,o*=A,h*=A,f*=A),1!==R&&(i*=R,s*=R,l*=R,c*=R),(d||F)&&(d&&(M+=r*-d,E+=a*-d,D+=u*-d+d),F&&(M+=b.xOrigin-(b.xOrigin*i+b.yOrigin*n)+b.xOffset,E+=b.yOrigin-(b.xOrigin*s+b.yOrigin*o)+b.yOffset),M<m&&M>-m&&(M="0"),E<m&&E>-m&&(E="0"),D<m&&D>-m&&(D=0)),x=b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) matrix3d(":"matrix3d(",x+=(i<m&&i>-m?"0":i)+","+(s<m&&s>-m?"0":s)+","+(l<m&&l>-m?"0":l),x+=","+(c<m&&c>-m?"0":c)+","+(n<m&&n>-m?"0":n)+","+(o<m&&o>-m?"0":o),O||k||1!==C?(x+=","+(h<m&&h>-m?"0":h)+","+(f<m&&f>-m?"0":f)+","+(r<m&&r>-m?"0":r),x+=","+(a<m&&a>-m?"0":a)+","+(u<m&&u>-m?"0":u)+","+(p<m&&p>-m?"0":p)+","):x+=",0,0,0,0,1,0,",x+=M+","+E+","+D+","+(N?1+-D/N:1)+")",P[Ct]=x}};(c=Ft.prototype).x=c.y=c.z=c.skewX=c.skewY=c.rotation=c.rotationX=c.rotationY=c.zOrigin=c.xPercent=c.yPercent=c.xOffset=c.yOffset=0,c.scaleX=c.scaleY=c.scaleZ=1,Ot("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,n,s,l,h){if(n._lastParsedTransform===h)return s;n._lastParsedTransform=h;var u,c=h.scale&&"function"==typeof h.scale?h.scale:0;"function"==typeof h[i]&&(u=h[i],h[i]=e),c&&(h.scale=c(y,t));var f,p,d,_,m,g,x,T,w,b=t._gsTransform,P=t.style,S=At.length,O=h,k={},R=Vt(t,r,!0,O.parseTransform),A=O.transform&&("function"==typeof O.transform?O.transform(y,v):O.transform);if(R.skewType=O.skewType||R.skewType||o.defaultSkewType,n._transform=R,A&&"string"==typeof A&&Ct)(p=V.style)[Ct]=A,p.display="block",p.position="absolute",-1!==A.indexOf("%")&&(p.width=et(t,"width"),p.height=et(t,"height")),j.body.appendChild(V),f=Vt(V,null,!1),"simple"===R.skewType&&(f.scaleY*=Math.cos(f.skewX*X)),R.svg&&(g=R.xOrigin,x=R.yOrigin,f.x-=R.xOffset,f.y-=R.yOffset,(O.transformOrigin||O.svgOrigin)&&(A={},zt(t,ht(O.transformOrigin),A,O.svgOrigin,O.smoothOrigin,!0),g=A.xOrigin,x=A.yOrigin,f.x-=A.xOffset-R.xOffset,f.y-=A.yOffset-R.yOffset),(g||x)&&(T=Wt(V,!0),f.x-=g-(g*T[0]+x*T[2]),f.y-=x-(g*T[1]+x*T[3]))),j.body.removeChild(V),f.perspective||(f.perspective=R.perspective),null!=O.xPercent&&(f.xPercent=ct(O.xPercent,R.xPercent)),null!=O.yPercent&&(f.yPercent=ct(O.yPercent,R.yPercent));else if("object"===(void 0===O?"undefined":a(O))){if(f={scaleX:ct(null!=O.scaleX?O.scaleX:O.scale,R.scaleX),scaleY:ct(null!=O.scaleY?O.scaleY:O.scale,R.scaleY),scaleZ:ct(O.scaleZ,R.scaleZ),x:ct(O.x,R.x),y:ct(O.y,R.y),z:ct(O.z,R.z),xPercent:ct(O.xPercent,R.xPercent),yPercent:ct(O.yPercent,R.yPercent),perspective:ct(O.transformPerspective,R.perspective)},null!=(m=O.directionalRotation))if("object"===(void 0===m?"undefined":a(m)))for(p in m)O[p]=m[p];else O.rotation=m;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(f.x=0,f.xPercent=ct(O.x,R.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(f.y=0,f.yPercent=ct(O.y,R.yPercent)),f.rotation=ft("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:R.rotation,R.rotation,"rotation",k),Dt&&(f.rotationX=ft("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":R.rotationX||0,R.rotationX,"rotationX",k),f.rotationY=ft("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":R.rotationY||0,R.rotationY,"rotationY",k)),f.skewX=ft(O.skewX,R.skewX),f.skewY=ft(O.skewY,R.skewY)}for(Dt&&null!=O.force3D&&(R.force3D=O.force3D,_=!0),(d=R.force3D||R.z||R.rotationX||R.rotationY||f.z||f.rotationX||f.rotationY||f.perspective)||null==O.scale||(f.scaleZ=1);--S>-1;)((A=f[w=At[S]]-R[w])>1e-6||A<-1e-6||null!=O[w]||null!=Y[w])&&(_=!0,s=new Tt(R,w,R[w],A,s),w in k&&(s.e=k[w]),s.xs0=0,s.plugin=l,n._overwriteProps.push(s.n));return A=O.transformOrigin,R.svg&&(A||O.svgOrigin)&&(g=R.xOffset,x=R.yOffset,zt(t,ht(A),f,O.svgOrigin,O.smoothOrigin),s=wt(R,"xOrigin",(b?R:f).xOrigin,f.xOrigin,s,"transformOrigin"),s=wt(R,"yOrigin",(b?R:f).yOrigin,f.yOrigin,s,"transformOrigin"),g===R.xOffset&&x===R.yOffset||(s=wt(R,"xOffset",b?g:R.xOffset,R.xOffset,s,"transformOrigin"),s=wt(R,"yOffset",b?x:R.yOffset,R.yOffset,s,"transformOrigin")),A="0px 0px"),(A||Dt&&d&&R.zOrigin)&&(Ct?(_=!0,w=Et,A=(A||et(t,w,r,!1,"50% 50%"))+"",(s=new Tt(P,w,0,0,s,-1,"transformOrigin")).b=P[w],s.plugin=l,Dt?(p=R.zOrigin,A=A.split(" "),R.zOrigin=(A.length>2&&(0===p||"0px"!==A[2])?parseFloat(A[2]):p)||0,s.xs0=s.e=A[0]+" "+(A[1]||"50%")+" 0px",(s=new Tt(R,"zOrigin",0,0,s,-1,s.n)).b=p,s.xs0=s.e=R.zOrigin):s.xs0=s.e=A):ht(A+"",R)),_&&(n._transformType=R.svg&&Rt||!d&&3!==this._transformType?2:3),u&&(h[i]=u),c&&(h.scale=c),s},prefix:!0}),Ot("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ot("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,o,a){e=this.format(e);var l,h,u,c,f,p,d,_,m,g,v,y,x,T,w,b,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),h=0;h<P.length;h++)this.p.indexOf("border")&&(P[h]=J(P[h])),-1!==(f=c=et(t,P[h],r,!1,"0px")).indexOf(" ")&&(f=(c=f.split(" "))[0],c=c[1]),p=u=l[h],d=parseFloat(f),y=f.substr((d+"").length),(x="="===p.charAt(1))?(_=parseInt(p.charAt(0)+"1",10),p=p.substr(2),_*=parseFloat(p),v=p.substr((_+"").length-(_<0?1:0))||""):(_=parseFloat(p),v=p.substr((_+"").length)),""===v&&(v=n[i]||y),v!==y&&(T=it(t,"borderLeft",d,y),w=it(t,"borderTop",d,y),"%"===v?(f=T/m*100+"%",c=w/g*100+"%"):"em"===v?(f=T/(b=it(t,"borderLeft",1,"em"))+"em",c=w/b+"em"):(f=T+"px",c=w+"px"),x&&(p=parseFloat(f)+_+v,u=parseFloat(c)+_+v)),o=bt(S,P[h],f+" "+c,p+" "+u,!1,"0px",o);return o},prefix:!0,formatter:vt("0px 0px 0px 0px",!1,!0)}),Ot("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,n,s,o){return bt(t.style,i,this.format(et(t,i,r,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:vt("0px 0px",!1,!0)}),Ot("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,n,s,o){var a,l,h,u,c,f,p="background-position",d=r||tt(t,null),_=this.format((d?g?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),m=this.format(e);if(-1!==_.indexOf("%")!=(-1!==m.indexOf("%"))&&m.split(",").length<2&&(f=et(t,"backgroundImage").replace(M,""))&&"none"!==f){for(a=_.split(" "),l=m.split(" "),H.setAttribute("src",f),h=2;--h>-1;)(u=-1!==(_=a[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(c=0===h?t.offsetWidth-H.width:t.offsetHeight-H.height,a[h]=u?parseFloat(_)/100*c+"px":parseFloat(_)/c*100+"%");_=a.join(" ")}return this.parseComplex(t.style,_,m,s,o)},formatter:ht}),Ot("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ht(-1===t.indexOf(" ")?t+" "+t:t)}}),Ot("perspective",{defaultValue:"0px",prefix:!0}),Ot("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ot("transformStyle",{prefix:!0}),Ot("backfaceVisibility",{prefix:!0}),Ot("userSelect",{prefix:!0}),Ot("margin",{parser:yt("marginTop,marginRight,marginBottom,marginLeft")}),Ot("padding",{parser:yt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ot("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,n,s,o){var a,l,h;return g<9?(l=t.currentStyle,h=g<8?" ":",",a="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(a=this.format(et(t,this.p,r,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),Ot("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ot("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),Ot("border",{defaultValue:"0px solid #000",parser:function(t,e,i,n,s,o){var a=et(t,"borderTopWidth",r,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(P,"");return"px"!==h&&(a=parseFloat(a)/it(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(a+" "+et(t,"borderTopStyle",r,!1,"solid")+" "+et(t,"borderTopColor",r,!1,"#000")),l.join(" "),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Ot("borderWidth",{parser:yt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ot("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r,s){var o=t.style,a="cssFloat"in o?"cssFloat":"styleFloat";return new Tt(o,a,0,0,r,-1,i,!1,0,o[a],e)}});var Gt=function(t){var e,i=this.t,n=i.filter||et(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=n.replace(k,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+r+")"),-1===n.indexOf("pacity")?0===r&&this.xn1||(i.filter=n+" alpha(opacity="+r+")"):i.filter=n.replace(S,"opacity="+r))};Ot("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,n,s,o){var a=parseFloat(et(t,"opacity",r,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),h&&1===a&&"hidden"===et(t,"visibility",r)&&0!==e&&(a=0),q?s=new Tt(l,"opacity",a,e-a,s):((s=new Tt(l,"opacity",100*a,100*(e-a),s)).xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Gt),h&&((s=new Tt(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(i)),s}});var qt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(A,"-$1").toLowerCase())):t.removeAttribute(e))},Zt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:qt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ot("className",{parser:function(t,e,n,s,o,a,l){var h,u,c,f,p,d=t.getAttribute("class")||"",_=t.style.cssText;if((o=s._classNamePT=new Tt(t,n,0,0,o,2)).setRatio=Zt,o.pr=-11,i=!0,o.b=d,u=rt(t,r),c=t._gsClassPT){for(f={},p=c.data;p;)f[p.p]=1,p=p._next;c.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:d.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",o.e),h=st(t,u,rt(t),l,f),t.setAttribute("class",d),o.data=h.firstMPT,t.style.cssText=_,o=o.xfirst=s.parse(t,h.difs,o,a)}});var $t=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,r,s,o=this.t.style,a=u.transform.parse;if("all"===this.e)o.cssText="",r=!0;else for(n=(e=this.e.split(" ").join("").split(",")).length;--n>-1;)i=e[n],u[i]&&(u[i].parse===a?r=!0:i="transformOrigin"===i?Et:u[i].p),qt(o,i);r&&(qt(o,Ct),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ot("clearProps",{parser:function(t,e,n,r,s){return(s=new Tt(t,n,0,0,s,2)).setRatio=$t,s.e=e,s.pr=-10,s.data=r._tween,i=!0,s}}),c="bezier,throwProps,physicsProps,physics2D".split(","),Pt=c.length;Pt--;)kt(c[Pt]);(c=o.prototype)._firstPT=c._lastParsedTransform=c._transform=null,c._onInitTween=function(t,e,a,l){if(!t.nodeType)return!1;this._target=v=t,this._tween=a,this._vars=e,y=l,f=e.autoRound,i=!1,n=e.suffixMap||o.suffixMap,r=tt(t,""),s=this._overwriteProps;var h,c,_,g,x,T,w,b,P,S=t.style;if(p&&""===S.zIndex&&("auto"!==(h=et(t,"zIndex",r))&&""!==h||this._addLazySet(S,"zIndex",0)),"string"==typeof e&&(g=S.cssText,h=rt(t,r),S.cssText=g+";"+e,h=st(t,h,rt(t)).difs,!q&&O.test(e)&&(h.opacity=parseFloat(RegExp.$1)),e=h,S.cssText=g),e.className?this._firstPT=c=u.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=c=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,Ct?d&&(p=!0,""===S.zIndex&&("auto"!==(w=et(t,"zIndex",r))&&""!==w||this._addLazySet(S,"zIndex",0)),m&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):S.zoom=1,_=c;_&&_._next;)_=_._next;b=new Tt(t,"transform",0,0,null,2),this._linkCSSP(b,null,_),b.setRatio=Ct?Ut:Ht,b.data=this._transform||Vt(t,r,!0),b.tween=a,b.pr=-1,s.pop()}if(i){for(;c;){for(T=c._next,_=g;_&&_.pr>c.pr;)_=_._next;(c._prev=_?_._prev:x)?c._prev._next=c:g=c,(c._next=_)?_._prev=c:x=c,c=T}this._firstPT=g}return!0},c.parse=function(t,e,i,s){var o,a,l,h,c,p,d,_,m,g,x=t.style;for(o in e){if("function"==typeof(p=e[o])&&(p=p(y,v)),a=u[o])i=a.parse(t,p,o,this,i,s,e);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}c=et(t,o,r)+"",m="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||m&&R.test(p)?(m||(p=((p=_t(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),i=bt(x,o,c,p,!0,"transparent",i,0,s)):m&&I.test(p)?i=bt(x,o,c,p,!0,null,i,0,s):(d=(l=parseFloat(c))||0===l?c.substr((l+"").length):"",""!==c&&"auto"!==c||("width"===o||"height"===o?(l=lt(t,o,r),d="px"):"left"===o||"top"===o?(l=nt(t,o,r),d="px"):(l="opacity"!==o?0:1,d="")),(g=m&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),_=p.replace(P,"")):(h=parseFloat(p),_=m?p.replace(P,""):""),""===_&&(_=o in n?n[o]:d),p=h||0===h?(g?h+l:h)+_:e[o],d!==_&&(""===_&&"lineHeight"!==o||(h||0===h)&&l&&(l=it(t,o,l,d),"%"===_?(l/=it(t,o,100,"%")/100,!0!==e.strictUnits&&(c=l+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?l/=it(t,o,1,_):"px"!==_&&(h=it(t,o,h,_),_="px"),g&&(h||0===h)&&(p=h+l+_))),g&&(h+=l),!l&&0!==l||!h&&0!==h?void 0!==x[o]&&(p||p+""!="NaN"&&null!=p)?(i=new Tt(x,o,h||l||0,0,i,-1,o,!1,0,c,p)).xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:c:$("invalid "+o+" tween value: "+e[o]):(i=new Tt(x,o,l,h-l,i,0,o,!1!==f&&("px"===_||"zIndex"===o),0,c,p)).xs0=_)}s&&i&&!i.plugin&&(i.plugin=s)}return i},c.setRatio=function(t){var e,i,n,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<1e-6&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(n=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,n=1;n<r.l;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;){if(2!==r.type)if(r.r&&-1!==r.type)if(e=r.r(r.s+r.c),r.type){if(1===r.type){for(n=r.l,i=r.xs0+e+r.xs1,n=1;n<r.l;n++)i+=r["xn"+n]+r["xs"+(n+1)];r.t[r.p]=i}}else r.t[r.p]=e+r.xs0;else r.t[r.p]=r.e;else r.setRatio(t);r=r._next}},c._enableTransforms=function(t){this._transform=this._transform||Vt(this._target,r,!0),this._transformType=this._transform.svg&&Rt||!t&&3!==this._transformType?2:3};var Qt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};c._addLazySet=function(t,e,i){var n=this._firstPT=new Tt(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=Qt,n.data=this},c._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},c._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},c._kill=function(e){var i,n,r,s=e;if(e.autoAlpha||e.alpha){for(n in s={},e)s[n]=e[n];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(e.className&&(i=this._classNamePT)&&((r=i.xfirst)&&r._prev?this._linkCSSP(r._prev,i._next,r._prev._prev):r===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,r._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==n&&i.plugin._kill&&(i.plugin._kill(e),n=i.plugin),i=i._next;return t.prototype._kill.call(this,s)};var Kt=function t(e,i,n){var r,s,o,a;if(e.slice)for(s=e.length;--s>-1;)t(e[s],i,n);else for(s=(r=e.childNodes).length;--s>-1;)a=(o=r[s]).type,o.style&&(i.push(rt(o)),n&&n.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||t(o,i,n)};return o.cascadeTo=function(t,i,n){var r,s,o,a,l=e.to(t,i,n),h=[l],u=[],c=[],f=[],p=e._internals.reservedProps;for(t=l._targets||l.target,Kt(t,u,f),l.render(i,!0,!0),Kt(t,c),l.render(0,!0,!0),l._enabled(!0),r=f.length;--r>-1;)if((s=st(f[r],u[r],c[r])).firstMPT){for(o in s=s.difs,n)p[o]&&(s[o]=n[o]);for(o in a={},s)a[o]=u[r][o];h.push(e.fromTo(f[r],i,a,s))}return h},t.activate([o]),o},!0)}),l._gsDefine&&l._gsQueue.pop()(),function(n){"use strict";var a=function(){return(l.GreenSockGlobals||l).CSSPlugin};void 0!==t&&t.exports?(i(9),t.exports=a()):(s=[i(9)],void 0===(o="function"==typeof(r=a)?r.apply(e,s):r)||(t.exports=o))}()}).call(this,i(6))},16:function(t,e,i){(function(n){var r,s,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l=void 0!==t&&t.exports&&void 0!==n?n:this||window;(l._gsQueue||(l._gsQueue=[])).push(function(){"use strict";l._gsDefine("utils.Draggable",["events.EventDispatcher","TweenLite","plugins.CSSPlugin"],function(t,e,i){i.useSVGTransformAttr=!0;var n,r,s,o,h,u,c,f={css:{},data:"_draggable"},p={css:{},data:"_draggable"},d={css:{},data:"_draggable"},_={css:{}},m=l._gsDefine.globals,g={},v={style:{}},y=l.document||{createElement:function(){return v}},x=y.documentElement||{},T=function(t){return y.createElementNS?y.createElementNS("http://www.w3.org/1999/xhtml",t):y.createElement(t)},w=T("div"),b=[],P=function(){return!1},S=180/Math.PI,O=999999999999999,k=Date.now||function(){return(new Date).getTime()},R=!(y.addEventListener||!y.all),A=y.createElement("div"),C=[],M={},E=0,D=/^(?:a|input|textarea|button|select)$/i,F=0,N=l.navigator&&-1!==l.navigator.userAgent.toLowerCase().indexOf("android"),L=0,I={},X={},z=function(t,e){var i,n={};if(e)for(i in t)n[i]=t[i]*e;else for(i in t)n[i]=t[i];return n},Y=function(){for(var t=C.length;--t>-1;)C[t]()},B=function(t){for(var i=C.length;--i>-1;)C[i]===t&&C.splice(i,1);e.to(j,0,{overwrite:"all",delay:15,onComplete:j,data:"_draggable"})},j=function(){C.length||e.ticker.removeEventListener("tick",Y)},W=function(){return null!=window.pageYOffset?window.pageYOffset:null!=y.scrollTop?y.scrollTop:x.scrollTop||y.body.scrollTop||0},V=function(){return null!=window.pageXOffset?window.pageXOffset:null!=y.scrollLeft?y.scrollLeft:x.scrollLeft||y.body.scrollLeft||0},H=function t(e,i){At(e,"scroll",i),G(e.parentNode)||t(e.parentNode,i)},U=function t(e,i){Ct(e,"scroll",i),G(e.parentNode)||t(e.parentNode,i)},G=function(t){return!(t&&t!==x&&t!==y&&t!==y.body&&t!==window&&t.nodeType&&t.parentNode)},q=function(t,e){var i="x"===e?"Width":"Height",n="scroll"+i,r="client"+i,s=y.body;return Math.max(0,G(t)?Math.max(x[n],s[n])-(window["inner"+i]||x[r]||s[r]):t[n]-t[r])},Z=function t(e){var i=G(e),n=q(e,"x"),r=q(e,"y");i?e=X:t(e.parentNode),e._gsMaxScrollX=n,e._gsMaxScrollY=r,e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0},$=function(t,e){return t=t||window.event,g.pageX=t.clientX+y.body.scrollLeft+x.scrollLeft,g.pageY=t.clientY+y.body.scrollTop+x.scrollTop,e&&(t.returnValue=!1),g},Q=function(t){return t?("string"==typeof t&&(t=e.selector(t)),t.length&&t!==window&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]),t===window||t.nodeType&&t.style?t:null):t},K=function(t,e){var i,n,r,s=t.style;if(void 0===s[e]){for(r=["O","Moz","ms","Ms","Webkit"],n=5,i=e.charAt(0).toUpperCase()+e.substr(1);--n>-1&&void 0===s[r[n]+i];);if(n<0)return"";e=(3===n?"ms":r[n])+i}return e},J=function(t,e,i){var n=t.style;n&&(void 0===n[e]&&(e=K(t,e)),null==i?n.removeProperty?n.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):n.removeAttribute(e):void 0!==n[e]&&(n[e]=i))},tt=y.defaultView?y.defaultView.getComputedStyle:P,et=/(?:Left|Right|Width)/i,it=/(?:\d|\-|\+|=|#|\.)*/g,nt=function(t,e){if("absolute"!==rt(t,"position",!0))return 0;var i="left"===e?"Left":"Top",n=rt(t,"margin"+i,!0);return t["offset"+i]-(function t(e,i,n,r,s){if("px"===r||!r)return n;if("auto"===r||!n)return 0;var o,a=et.test(i),l=e,h=w.style,u=n<0;return u&&(n=-n),"%"===r&&-1!==i.indexOf("border")?o=n/100*(a?e.clientWidth:e.clientHeight):(h.cssText="border:0 solid red;position:"+rt(e,"position",!0)+";line-height:0;","%"!==r&&l.appendChild?h[a?"borderLeftWidth":"borderTopWidth"]=n+r:(l=e.parentNode||y.body,h[a?"width":"height"]=n+r),l.appendChild(w),o=parseFloat(w[a?"offsetWidth":"offsetHeight"]),l.removeChild(w),0!==o||s||(o=t(e,i,n,r,!0))),u?-o:o}(t,e,parseFloat(n),(n+"").replace(it,""))||0)},rt=function(t,e,i){var n,r=(t._gsTransform||{})[e];return r||0===r?r:(t.style[e]?r=t.style[e]:(n=tt(t))?r=(r=n.getPropertyValue(e.replace(/([A-Z])/g,"-$1").toLowerCase()))||n.length?r:n[e]:t.currentStyle&&(r=t.currentStyle[e]),"auto"!==r||"top"!==e&&"left"!==e||(r=nt(t,e)),i?r:parseFloat(r)||0)},st=function(t,e,i){var n=t.vars,r=n[i],s=t._listeners[e];"function"==typeof r&&r.apply(n[i+"Scope"]||n.callbackScope||t,n[i+"Params"]||[t.pointerEvent]),s&&t.dispatchEvent(e)},ot=function(t,e){var i,n,r,s=Q(t);return s?St(s,e):void 0!==t.left?(r=xt(e),{left:t.left-r.x,top:t.top-r.y,width:t.width,height:t.height}):{left:n=t.min||t.minX||t.minRotation||0,top:i=t.min||t.minY||0,width:(t.max||t.maxX||t.maxRotation||0)-n,height:(t.max||t.maxY||0)-i}},at=function(){if(!y.createElementNS)return s=0,void(o=!1);var t,e,i,n,r=T("div"),a=y.createElementNS("http://www.w3.org/2000/svg","svg"),l=T("div"),f=r.style,p=y.body||x,d="flex"===rt(p,"display",!0);y.body&&ut&&(f.position="absolute",p.appendChild(l),l.appendChild(r),n=r.offsetParent,l.style[ut]="rotate(1deg)",c=r.offsetParent===n,l.style.position="absolute",f.height="10px",n=r.offsetTop,l.style.border="5px solid red",u=n!==r.offsetTop,p.removeChild(l)),f=a.style,a.setAttributeNS(null,"width","400px"),a.setAttributeNS(null,"height","400px"),a.setAttributeNS(null,"viewBox","0 0 400 400"),f.display="block",f.boxSizing="border-box",f.border="0px solid red",f.transform="none",r.style.cssText="width:100px;height:100px;overflow:scroll;-ms-overflow-style:none;",p.appendChild(r),r.appendChild(a),e=(i=a.createSVGPoint().matrixTransform(a.getScreenCTM())).y,r.scrollTop=100,i.x=i.y=0,i=i.matrixTransform(a.getScreenCTM()),h=e-i.y<100.1?0:e-i.y-150,r.removeChild(a),p.removeChild(r),p.appendChild(a),d&&(p.style.display="block"),e=(t=a.getScreenCTM()).e,f.border="50px solid red",t=a.getScreenCTM(),0===e&&0===t.e&&0===t.f&&1===t.a?(s=1,o=!0):(s=e!==t.e?1:0,o=1!==t.a),d&&(p.style.display="flex"),p.removeChild(a)},lt=""!==K(w,"perspective"),ht=K(w,"transformOrigin").replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),ut=K(w,"transform"),ct=ut.replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),ft={},pt={},dt=l.SVGElement,_t=function(t){return!!(dt&&"function"==typeof t.getBBox&&t.getCTM&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},mt=(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(navigator.userAgent)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(navigator.userAgent))&&parseFloat(RegExp.$1)<11,gt=[],vt=[],yt=function t(i){if(!i.getBoundingClientRect||!i.parentNode||!ut)return{offsetTop:0,offsetLeft:0,scaleX:1,scaleY:1,offsetParent:x};if(!1!==It.cacheSVGData&&i._dCache&&i._dCache.lastUpdate===e.ticker.frame)return i._dCache;var n,r,a,l,u,c,f,p,d,_,m,g=i,v=Tt(i);if(v.lastUpdate=e.ticker.frame,i.getBBox&&!v.isSVGRoot){for(g=i.parentNode,n=i.getBBox();g&&"svg"!==(g.nodeName+"").toLowerCase();)g=g.parentNode;return l=t(g),v.offsetTop=n.y*l.scaleY,v.offsetLeft=n.x*l.scaleX,v.scaleX=l.scaleX,v.scaleY=l.scaleY,v.offsetParent=g||x,v}for((a=v.offsetParent)===y.body&&(a=x),vt.length=gt.length=0;g&&("matrix(1, 0, 0, 1, 0, 0)"!==(u=rt(g,ut,!0))&&"none"!==u&&"translate3d(0px, 0px, 0px)"!==u&&(vt.push(g),gt.push(g.style[ut]),g.style[ut]="none"),g!==a);)g=g.parentNode;for(r=a.getBoundingClientRect(),u=i.getScreenCTM(),f=i.createSVGPoint().matrixTransform(u),v.scaleX=Math.sqrt(u.a*u.a+u.b*u.b),v.scaleY=Math.sqrt(u.d*u.d+u.c*u.c),void 0===s&&at(),v.borderBox&&!o&&i.getAttribute("width")&&(l=tt(i)||{},p=parseFloat(l.borderLeftWidth)+parseFloat(l.borderRightWidth)||0,d=parseFloat(l.borderTopWidth)+parseFloat(l.borderBottomWidth)||0,_=parseFloat(l.width)||0,m=parseFloat(l.height)||0,v.scaleX*=(_-p)/_,v.scaleY*=(m-d)/m),h?(n=i.getBoundingClientRect(),v.offsetLeft=n.left-r.left,v.offsetTop=n.top-r.top):(v.offsetLeft=f.x-r.left,v.offsetTop=f.y-r.top),v.offsetParent=a,c=vt.length;--c>-1;)vt[c].style[ut]=gt[c];return v},xt=function(t,i){if(i=i||{},!t||t===x||!t.parentNode||t===window)return{x:0,y:0};var n=tt(t),r=ht&&n?n.getPropertyValue(ht):"50% 50%",s=r.split(" "),o=-1!==r.indexOf("left")?"0%":-1!==r.indexOf("right")?"100%":s[0],a=-1!==r.indexOf("top")?"0%":-1!==r.indexOf("bottom")?"100%":s[1];return"center"!==a&&null!=a||(a="50%"),("center"===o||isNaN(parseFloat(o)))&&(o="50%"),t.getBBox&&_t(t)?(t._gsTransform||(e.set(t,{x:"+=0",overwrite:!1}),void 0===t._gsTransform.xOrigin&&console.log("Draggable requires at least GSAP 1.17.0")),r=t.getBBox(),i.x=t._gsTransform.xOrigin-r.x,i.y=t._gsTransform.yOrigin-r.y):(t.getBBox&&-1!==(o+a).indexOf("%")&&(t={offsetWidth:(t=t.getBBox()).width,offsetHeight:t.height}),i.x=-1!==o.indexOf("%")?t.offsetWidth*parseFloat(o)/100:parseFloat(o),i.y=-1!==a.indexOf("%")?t.offsetHeight*parseFloat(a)/100:parseFloat(a)),i},Tt=function(t){if(!1!==It.cacheSVGData&&t._dCache&&t._dCache.lastUpdate===e.ticker.frame)return t._dCache;var i,n=t._dCache=t._dCache||{},r=tt(t),s=t.getBBox&&_t(t),o="svg"===(t.nodeName+"").toLowerCase();if(n.isSVG=s,n.isSVGRoot=o,n.borderBox="border-box"===r.boxSizing,n.computedStyle=r,o)(i=t.parentNode||x).insertBefore(w,t),n.offsetParent=w.offsetParent||x,i.removeChild(w);else if(s){for(i=t.parentNode;i&&"svg"!==(i.nodeName+"").toLowerCase();)i=i.parentNode;n.offsetParent=i}else n.offsetParent=t.offsetParent;return n},wt=function t(e,i,n,r,o){if(e===window||!e||!e.style||!e.parentNode)return[1,0,0,1,0,0];var a,l,h,f,p,d,_,m,g,v,T,w,b,P,S=e._dCache||Tt(e),O=e.parentNode,k=O._dCache||Tt(O),R=S.computedStyle,A=S.isSVG?k.offsetParent:O.offsetParent;return a=S.isSVG&&-1!==(e.style[ut]+"").indexOf("matrix")?e.style[ut]:R?R.getPropertyValue(ct):e.currentStyle?e.currentStyle[ut]:"1,0,0,1,0,0",e.getBBox&&-1!==(e.getAttribute("transform")+"").indexOf("matrix")&&(a=e.getAttribute("transform")),(a=(a+"").match(/(?:\-|\.|\b)(\d|\.|e\-)+/g)||[1,0,0,1,0,0]).length>6&&(a=[a[0],a[1],a[4],a[5],a[12],a[13]]),r?a[4]=a[5]=0:S.isSVG&&(p=e._gsTransform)&&(p.xOrigin||p.yOrigin)&&(a[0]=parseFloat(a[0]),a[1]=parseFloat(a[1]),a[2]=parseFloat(a[2]),a[3]=parseFloat(a[3]),a[4]=parseFloat(a[4])-(p.xOrigin-(p.xOrigin*a[0]+p.yOrigin*a[2])),a[5]=parseFloat(a[5])-(p.yOrigin-(p.xOrigin*a[1]+p.yOrigin*a[3]))),i&&(void 0===s&&at(),h=S.isSVG||S.isSVGRoot?yt(e):e,S.isSVG?(f=e.getBBox(),v=k.isSVGRoot?{x:0,y:0}:O.getBBox(),h={offsetLeft:f.x-v.x,offsetTop:f.y-v.y,offsetParent:S.offsetParent}):S.isSVGRoot?(T=parseInt(R.borderTopWidth,10)||0,w=parseInt(R.borderLeftWidth,10)||0,b=(a[0]-s)*w+a[2]*T,P=a[1]*w+(a[3]-s)*T,d=i.x,_=i.y,m=d-(d*a[0]+_*a[2]),g=_-(d*a[1]+_*a[3]),a[4]=parseFloat(a[4])+m,a[5]=parseFloat(a[5])+g,i.x-=m,i.y-=g,d=h.scaleX,_=h.scaleY,o||(i.x*=d,i.y*=_),a[0]*=d,a[1]*=_,a[2]*=d,a[3]*=_,mt||(i.x+=b,i.y+=P),A===y.body&&h.offsetParent===x&&(A=x)):!u&&e.offsetParent&&(i.x+=parseInt(rt(e.offsetParent,"borderLeftWidth"),10)||0,i.y+=parseInt(rt(e.offsetParent,"borderTopWidth"),10)||0),l=O===x||O===y.body,a[4]=Number(a[4])+i.x+(h.offsetLeft||0)-n.x-(l?0:O.scrollLeft||0),a[5]=Number(a[5])+i.y+(h.offsetTop||0)-n.y-(l?0:O.scrollTop||0),O&&"fixed"===rt(e,"position",R)&&(a[4]+=V(),a[5]+=W()),!O||O===x||A!==h.offsetParent||k.isSVG||c&&"100100"!==t(O).join("")||(h=k.isSVGRoot?yt(O):O,a[4]-=h.offsetLeft||0,a[5]-=h.offsetTop||0,u||!k.offsetParent||S.isSVG||S.isSVGRoot||(a[4]-=parseInt(rt(k.offsetParent,"borderLeftWidth"),10)||0,a[5]-=parseInt(rt(k.offsetParent,"borderTopWidth"),10)||0))),a},bt=function(t,e){if(!t||t===window||!t.parentNode)return[1,0,0,1,0,0];for(var i,n,r,s,o,a,l,h,u=xt(t,ft),c=xt(t.parentNode,pt),f=wt(t,u,c,!1,!e);(t=t.parentNode)&&t.parentNode&&t!==x;)u=c,c=xt(t.parentNode,u===ft?pt:ft),l=wt(t,u,c),i=f[0],n=f[1],r=f[2],s=f[3],o=f[4],a=f[5],f[0]=i*l[0]+n*l[2],f[1]=i*l[1]+n*l[3],f[2]=r*l[0]+s*l[2],f[3]=r*l[1]+s*l[3],f[4]=o*l[0]+a*l[2]+l[4],f[5]=o*l[1]+a*l[3]+l[5];return e&&(i=f[0],n=f[1],r=f[2],s=f[3],o=f[4],a=f[5],h=i*s-n*r,f[0]=s/h,f[1]=-n/h,f[2]=-r/h,f[3]=i/h,f[4]=(r*a-s*o)/h,f[5]=-(i*a-n*o)/h),f},Pt=function(t,e,i){var n=t.x*e[0]+t.y*e[2]+e[4],r=t.x*e[1]+t.y*e[3]+e[5];return t.x=n*i[0]+r*i[2]+i[4],t.y=n*i[1]+r*i[3]+i[5],t},St=function(t,e,i){if(!(t=Q(t)))return null;e=Q(e);var n,r,s,o,a,l,h,u,c,f,p,d,_,m,g,v,T,w,b,P,S,O,k=t.getBBox&&_t(t);if(t===window)o=W(),s=(r=V())+(x.clientWidth||t.innerWidth||y.body.clientWidth||0),a=o+((t.innerHeight||0)-20<x.clientHeight?x.clientHeight:t.innerHeight||y.body.clientHeight||0);else{if(void 0===e||e===window)return t.getBoundingClientRect();r=-(n=xt(t)).x,o=-n.y,k?(_=(d=t.getBBox()).width,m=d.height):"svg"!==(t.nodeName+"").toLowerCase()&&t.offsetWidth?(_=t.offsetWidth,m=t.offsetHeight):(S=tt(t),_=parseFloat(S.width),m=parseFloat(S.height)),s=r+_,a=o+m,"svg"!==t.nodeName.toLowerCase()||R||(O=(g=yt(t)).computedStyle||{},w=(t.getAttribute("viewBox")||"0 0").split(" "),b=parseFloat(w[0]),P=parseFloat(w[1]),v=parseFloat(O.borderLeftWidth)||0,T=parseFloat(O.borderTopWidth)||0,s-=_-(_-v)/g.scaleX-b,a-=m-(m-T)/g.scaleY-P,r-=v/g.scaleX-b,o-=T/g.scaleY-P,S&&(s+=(parseFloat(O.borderRightWidth)+v)/g.scaleX,a+=(T+parseFloat(O.borderBottomWidth))/g.scaleY))}return t===e?{left:r,top:o,width:s-r,height:a-o}:(l=bt(t),h=bt(e,!0),u=Pt({x:r,y:o},l,h),c=Pt({x:s,y:o},l,h),f=Pt({x:s,y:a},l,h),p=Pt({x:r,y:a},l,h),r=Math.min(u.x,c.x,f.x,p.x),o=Math.min(u.y,c.y,f.y,p.y),I.x=I.y=0,i&&xt(e,I),{left:r+I.x,top:o+I.y,width:Math.max(u.x,c.x,f.x,p.x)-r,height:Math.max(u.y,c.y,f.y,p.y)-o})},Ot=function(t){return!!(t&&t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))},kt="ontouchstart"in x&&"orientation"in window,Rt=function(t){for(var e=t.split(","),i=(void 0!==w.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==w.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),n={},r=4;--r>-1;)n[e[r]]=i[r],n[i[r]]=e[r];return n}("touchstart,touchmove,touchend,touchcancel"),At=function(t,e,i,n){if(t.addEventListener){var r=Rt[e];n=n||{passive:!1},t.addEventListener(r||e,i,n),r&&e!==r&&t.addEventListener(e,i,n)}else t.attachEvent&&t.attachEvent("on"+e,i)},Ct=function(t,e,i){if(t.removeEventListener){var n=Rt[e];t.removeEventListener(n||e,i),n&&e!==n&&t.removeEventListener(e,i)}else t.detachEvent&&t.detachEvent("on"+e,i)},Mt=function t(e){n=e.touches&&F<e.touches.length,Ct(e.target,"touchend",t)},Et=function(t){n=t.touches&&F<t.touches.length,At(t.target,"touchend",Mt)},Dt=function(t,e,i,n,r,s){var o,l,h,u={};if(e)if(1!==r&&e instanceof Array){if(u.end=o=[],h=e.length,"object"===a(e[0]))for(l=0;l<h;l++)o[l]=z(e[l],r);else for(l=0;l<h;l++)o[l]=e[l]*r;i+=1.1,n-=1.1}else u.end="function"==typeof e?function(i){var n,s,o=e.call(t,i);if(1!==r)if("object"===(void 0===o?"undefined":a(o))){for(s in n={},o)n[s]=o[s]*r;o=n}else o*=r;return o}:e;return(i||0===i)&&(u.max=i),(n||0===n)&&(u.min=n),s&&(u.velocity=0),u},Ft=function t(e){var i;return!(!e||!e.getAttribute||"BODY"===e.nodeName)&&(!("true"!==(i=e.getAttribute("data-clickable"))&&("false"===i||!e.onclick&&!D.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||t(e.parentNode))},Nt=function(t,e){for(var i,n=t.length;--n>-1;)(i=t[n]).ondragstart=i.onselectstart=e?null:P,J(i,"userSelect",e?"text":"none")},Lt=function(){var t,e=y.createElement("div"),i=y.createElement("div"),n=i.style,r=y.body||w;return n.display="inline-block",n.position="relative",e.style.cssText=i.innerHTML="width:90px; height:40px; padding:10px; overflow:auto; visibility: hidden",e.appendChild(i),r.appendChild(e),t=i.offsetHeight+18>e.scrollHeight,r.removeChild(e),t}(),It=function s(o,l){t.call(this,o),o=Q(o),r||(r=m.com.greensock.plugins.ThrowPropsPlugin),this.vars=l=z(l||{}),this.target=o,this.x=this.y=this.rotation=0,this.dragResistance=parseFloat(l.dragResistance)||0,this.edgeResistance=isNaN(l.edgeResistance)?1:parseFloat(l.edgeResistance)||0,this.lockAxis=l.lockAxis,this.autoScroll=l.autoScroll||0,this.lockedAxis=null,this.allowEventDefault=!!l.allowEventDefault;var h,u,c,g,v,T,w,P,D,j,W,V,q,K,tt,et,it,nt,at,ht,ct,ft,pt,dt,mt,gt,vt,yt,Tt,wt,Pt,St,Ot=(l.type||(R?"top,left":"x,y")).toLowerCase(),Mt=-1!==Ot.indexOf("x")||-1!==Ot.indexOf("y"),It=-1!==Ot.indexOf("rotation"),Xt=It?"rotation":Mt?"x":"left",zt=Mt?"y":"top",Bt=-1!==Ot.indexOf("x")||-1!==Ot.indexOf("left")||"scroll"===Ot,jt=-1!==Ot.indexOf("y")||-1!==Ot.indexOf("top")||"scroll"===Ot,Wt=l.minimumMovement||2,Vt=this,Ht=function(t){if("string"==typeof t&&(t=e.selector(t)),!t||t.nodeType)return[t];var i,n=[],r=t.length;for(i=0;i!==r;n.push(t[i++]));return n}(l.trigger||l.handle||o),Ut={},Gt=0,qt=!1,Zt=l.autoScrollMarginTop||40,$t=l.autoScrollMarginRight||40,Qt=l.autoScrollMarginBottom||40,Kt=l.autoScrollMarginLeft||40,Jt=l.clickableTest||Ft,te=0,ee=function(t){if(!(Vt.isPressed&&t.which<2))return t.preventDefault(),t.stopPropagation(),!1;Vt.endDrag()},ie=function(t){if(Vt.autoScroll&&Vt.isDragging&&(qt||nt)){var e,i,n,r,s,a,l,h,c=o,f=15*Vt.autoScroll;for(qt=!1,X.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=x.scrollTop?x.scrollTop:y.body.scrollTop,X.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=x.scrollLeft?x.scrollLeft:y.body.scrollLeft,r=Vt.pointerX-X.scrollLeft,s=Vt.pointerY-X.scrollTop;c&&!i;)e=(i=G(c.parentNode))?X:c.parentNode,n=i?{bottom:Math.max(x.clientHeight,window.innerHeight||0),right:Math.max(x.clientWidth,window.innerWidth||0),left:0,top:0}:e.getBoundingClientRect(),a=l=0,jt&&((h=e._gsMaxScrollY-e.scrollTop)<0?l=h:s>n.bottom-Qt&&h?(qt=!0,l=Math.min(h,f*(1-Math.max(0,n.bottom-s)/Qt)|0)):s<n.top+Zt&&e.scrollTop&&(qt=!0,l=-Math.min(e.scrollTop,f*(1-Math.max(0,s-n.top)/Zt)|0)),l&&(e.scrollTop+=l)),Bt&&((h=e._gsMaxScrollX-e.scrollLeft)<0?a=h:r>n.right-$t&&h?(qt=!0,a=Math.min(h,f*(1-Math.max(0,n.right-r)/$t)|0)):r<n.left+Kt&&e.scrollLeft&&(qt=!0,a=-Math.min(e.scrollLeft,f*(1-Math.max(0,r-n.left)/Kt)|0)),a&&(e.scrollLeft+=a)),i&&(a||l)&&(window.scrollTo(e.scrollLeft,e.scrollTop),me(Vt.pointerX+a,Vt.pointerY+l)),c=e}if(nt){var p=Vt.x,d=Vt.y;p<1e-6&&p>-1e-6&&(p=0),d<1e-6&&d>-1e-6&&(d=0),It?(Vt.deltaX=p-vt.data.rotation,vt.data.rotation=Vt.rotation=p,vt.setRatio(1)):u?(jt&&(Vt.deltaY=d-u.top(),u.top(d)),Bt&&(Vt.deltaX=p-u.left(),u.left(p))):Mt?(jt&&(Vt.deltaY=d-vt.data.y,vt.data.y=d),Bt&&(Vt.deltaX=p-vt.data.x,vt.data.x=p),vt.setRatio(1)):(jt&&(Vt.deltaY=d-parseFloat(o.style.top||0),o.style.top=d+"px"),Bt&&(Vt.deltaY=p-parseFloat(o.style.left||0),o.style.left=p+"px")),!P||t||wt||(wt=!0,st(Vt,"drag","onDrag"),wt=!1)}nt=!1},ne=function(t,i){var n,r=Vt.x,s=Vt.y;o._gsTransform||!Mt&&!It||e.set(o,{x:"+=0",overwrite:!1,data:"_draggable"}),Mt?(Vt.y=o._gsTransform.y,Vt.x=o._gsTransform.x):It?Vt.x=Vt.rotation=o._gsTransform.rotation:u?(Vt.y=u.top(),Vt.x=u.left()):(Vt.y=parseInt(o.style.top,10)||0,Vt.x=parseInt(o.style.left,10)||0),(ht||ct||ft)&&!i&&(Vt.isDragging||Vt.isThrowing)&&(ft&&(I.x=Vt.x,I.y=Vt.y,(n=ft(I)).x!==Vt.x&&(Vt.x=n.x,nt=!0),n.y!==Vt.y&&(Vt.y=n.y,nt=!0)),ht&&(n=ht(Vt.x))!==Vt.x&&(Vt.x=n,It&&(Vt.rotation=n),nt=!0),ct&&((n=ct(Vt.y))!==Vt.y&&(Vt.y=n),nt=!0)),nt&&ie(!0),t||(Vt.deltaX=Vt.x-r,Vt.deltaY=Vt.y-s,st(Vt,"throwupdate","onThrowUpdate"))},re=function(){var t,e,i,n;w=!1,u?(u.calibrate(),Vt.minX=j=-u.maxScrollLeft(),Vt.minY=V=-u.maxScrollTop(),Vt.maxX=D=Vt.maxY=W=0,w=!0):l.bounds&&(t=ot(l.bounds,o.parentNode),It?(Vt.minX=j=t.left,Vt.maxX=D=t.left+t.width,Vt.minY=V=Vt.maxY=W=0):void 0!==l.bounds.maxX||void 0!==l.bounds.maxY?(t=l.bounds,Vt.minX=j=t.minX,Vt.minY=V=t.minY,Vt.maxX=D=t.maxX,Vt.maxY=W=t.maxY):(e=ot(o,o.parentNode),Vt.minX=j=rt(o,Xt)+t.left-e.left,Vt.minY=V=rt(o,zt)+t.top-e.top,Vt.maxX=D=j+(t.width-e.width),Vt.maxY=W=V+(t.height-e.height)),j>D&&(Vt.minX=D,Vt.maxX=D=j,j=Vt.minX),V>W&&(Vt.minY=W,Vt.maxY=W=V,V=Vt.minY),It&&(Vt.minRotation=j,Vt.maxRotation=D),w=!0),l.liveSnap&&(n=(i=!0===l.liveSnap?l.snap||{}:l.liveSnap)instanceof Array||"function"==typeof i,It?(ht=fe(n?i:i.rotation,j,D,1),ct=null):i.points?ft=pe(n?i:i.points,j,D,V,W,i.radius,u?-1:1):(Bt&&(ht=fe(n?i:i.x||i.left||i.scrollLeft,j,D,u?-1:1)),jt&&(ct=fe(n?i:i.y||i.top||i.scrollTop,V,W,u?-1:1))))},se=function(){Vt.isThrowing=!1,st(Vt,"throwcomplete","onThrowComplete")},oe=function(){Vt.isThrowing=!1},ae=function(t,e){var i,n,s,h;t&&r?(!0===t&&(n=(i=l.snap||l.liveSnap||{})instanceof Array||"function"==typeof i,t={resistance:(l.throwResistance||l.resistance||1e3)/(It?10:1)},It?t.rotation=Dt(Vt,n?i:i.rotation,D,j,1,e):(Bt&&(t[Xt]=Dt(Vt,n?i:i.points||i.x||i.left||i.scrollLeft,D,j,u?-1:1,e||"x"===Vt.lockedAxis)),jt&&(t[zt]=Dt(Vt,n?i:i.points||i.y||i.top||i.scrollTop,W,V,u?-1:1,e||"y"===Vt.lockedAxis)),(i.points||i instanceof Array&&"object"===a(i[0]))&&(t.linkedProps=Xt+","+zt,t.radius=i.radius))),Vt.isThrowing=!0,h=isNaN(l.overshootTolerance)?1===l.edgeResistance?0:1-Vt.edgeResistance+.2:l.overshootTolerance,Vt.tween=s=r.to(u||o,{throwProps:t,data:"_draggable",ease:l.ease||m.Power3.easeOut,onComplete:se,onOverwrite:oe,onUpdate:l.fastMode?st:ne,onUpdateParams:l.fastMode?[Vt,"onthrowupdate","onThrowUpdate"]:i&&i.radius?[!1,!0]:b},isNaN(l.maxDuration)?2:l.maxDuration,isNaN(l.minDuration)?0===h||"object"===(void 0===t?"undefined":a(t))&&t.resistance>1e3?0:.5:l.minDuration,h),l.fastMode||(u&&(u._suspendTransforms=!0),s.render(s.duration(),!0,!0),ne(!0,!0),Vt.endX=Vt.x,Vt.endY=Vt.y,It&&(Vt.endRotation=Vt.x),s.play(0),ne(!0,!0),u&&(u._suspendTransforms=!1))):w&&Vt.applyBounds()},le=function(t){var e,i,n,r,s,a,l,h,u,f=mt||[1,0,0,1,0,0];mt=bt(o.parentNode,!0),t&&Vt.isPressed&&f.join(",")!==mt.join(",")&&(e=f[0],i=f[1],n=f[2],r=f[3],s=f[4],a=f[5],u=c*(-i/(l=e*r-i*n))+g*(e/l)+-(e*a-i*s)/l,g=(h=c*(r/l)+g*(-n/l)+(n*a-r*s)/l)*mt[1]+u*mt[3]+mt[5],c=h*mt[0]+u*mt[2]+mt[4]),mt[1]||mt[2]||1!=mt[0]||1!=mt[3]||0!=mt[4]||0!=mt[5]||(mt=null)},he=function(){var t=1-Vt.edgeResistance;le(!1),mt&&(c=Vt.pointerX*mt[0]+Vt.pointerY*mt[2]+mt[4],g=Vt.pointerX*mt[1]+Vt.pointerY*mt[3]+mt[5]),nt&&(me(Vt.pointerX,Vt.pointerY),ie(!0)),u?(re(),T=u.top(),v=u.left()):(ue()?(ne(!0,!0),re()):Vt.applyBounds(),It?(it=Vt.rotationOrigin=function(t,e,i,n,r){t=Q(t);var s=bt(t,!1),o=e.x,a=e.y;return i&&(xt(t,e),o-=e.x,a-=e.y),(n=!0===n?e:n||{}).x=o*s[0]+a*s[2]+s[4],n.y=o*s[1]+a*s[3]+s[5],n}(o,{x:0,y:0}),ne(!0,!0),v=Vt.x,T=Vt.y=Math.atan2(it.y-Vt.pointerY,Vt.pointerX-it.x)*S):(o.parentNode&&o.parentNode.scrollTop||0,o.parentNode&&o.parentNode.scrollLeft||0,T=rt(o,zt),v=rt(o,Xt))),w&&t&&(v>D?v=D+(v-D)/t:v<j&&(v=j-(j-v)/t),It||(T>W?T=W+(T-W)/t:T<V&&(T=V-(V-T)/t))),Vt.startX=v,Vt.startY=T},ue=function(){return Vt.tween&&Vt.tween.isActive()},ce=function(){!A.parentNode||ue()||Vt.isDragging||A.parentNode.removeChild(A)},fe=function(t,e,i,n){return"function"==typeof t?function(r){var s=Vt.isPressed?1-Vt.edgeResistance:1;return t.call(Vt,r>i?i+(r-i)*s:r<e?e+(r-e)*s:r)*n}:t instanceof Array?function(n){for(var r,s,o=t.length,a=0,l=O;--o>-1;)(s=(r=t[o])-n)<0&&(s=-s),s<l&&r>=e&&r<=i&&(a=o,l=s);return t[a]}:isNaN(t)?function(t){return t}:function(){return t*n}},pe=function(t,e,i,n,r,s,o){return s=s&&s<O?s*s:O,"function"==typeof t?function(a){var l,h,u,c=Vt.isPressed?1-Vt.edgeResistance:1,f=a.x,p=a.y;return a.x=f=f>i?i+(f-i)*c:f<e?e+(f-e)*c:f,a.y=p=p>r?r+(p-r)*c:p<n?n+(p-n)*c:p,(l=t.call(Vt,a))!==a&&(a.x=l.x,a.y=l.y),1!==o&&(a.x*=o,a.y*=o),s<O&&(h=a.x-f)*h+(u=a.y-p)*u>s&&(a.x=f,a.y=p),a}:t instanceof Array?function(e){for(var i,n,r,o,a=t.length,l=0,h=O;--a>-1;)(o=(i=(r=t[a]).x-e.x)*i+(n=r.y-e.y)*n)<h&&(l=a,h=o);return h<=s?t[l]:e}:function(t){return t}},de=function(t,i){var n;if(h&&!Vt.isPressed&&t&&("mousedown"!==t.type&&"pointerdown"!==t.type||i||!(k()-te<30)||!Rt[Vt.pointerEvent.type])){if(gt=ue(),Vt.pointerEvent=t,Rt[t.type]?(dt=-1!==t.type.indexOf("touch")?t.currentTarget||t.target:y,At(dt,"touchend",ge),At(dt,"touchmove",_e),At(dt,"touchcancel",ge),At(y,"touchstart",Et)):(dt=null,At(y,"mousemove",_e)),Tt=null,At(y,"mouseup",ge),t&&t.target&&At(t.target,"mouseup",ge),pt=Jt.call(Vt,t.target)&&!l.dragClickables&&!i)return At(t.target,"change",ge),st(Vt,"press","onPress"),void Nt(Ht,!0);if(yt=!(!dt||Bt===jt||!1===Vt.vars.allowNativeTouchScrolling||Vt.vars.allowContextMenu&&t&&(t.ctrlKey||t.which>2))&&(Bt?"y":"x"),R?t=$(t,!0):yt||Vt.allowEventDefault||(t.preventDefault(),t.preventManipulation&&t.preventManipulation()),t.changedTouches?(t=tt=t.changedTouches[0],et=t.identifier):t.pointerId?et=t.pointerId:tt=et=null,F++,function(t){C.push(t),1===C.length&&e.ticker.addEventListener("tick",Y,this,!1,1)}(ie),g=Vt.pointerY=t.pageY,c=Vt.pointerX=t.pageX,(yt||Vt.autoScroll)&&Z(o.parentNode),!o.parentNode||!Vt.autoScroll||u||It||!o.parentNode._gsMaxScrollX||A.parentNode||o.getBBox||(A.style.width=o.parentNode.scrollWidth+"px",o.parentNode.appendChild(A)),he(),Vt.tween&&Vt.tween.kill(),Vt.isThrowing=!1,e.killTweensOf(u||o,!0,Ut),u&&e.killTweensOf(o,!0,{scrollTo:1}),Vt.tween=Vt.lockedAxis=null,(l.zIndexBoost||!It&&!u&&!1!==l.zIndexBoost)&&(o.style.zIndex=s.zIndex++),Vt.isPressed=!0,P=!(!l.onDrag&&!Vt._listeners.drag),!It)for(n=Ht.length;--n>-1;)J(Ht[n],"cursor",l.cursor||"move");st(Vt,"press","onPress")}},_e=function(t){var e,i,r,s,o,a,l=t;if(h&&!n&&Vt.isPressed&&t){if(Vt.pointerEvent=t,e=t.changedTouches){if((t=e[0])!==tt&&t.identifier!==et){for(s=e.length;--s>-1&&(t=e[s]).identifier!==et;);if(s<0)return}}else if(t.pointerId&&et&&t.pointerId!==et)return;if(R)t=$(t,!0);else{if(dt&&yt&&!Tt&&(i=t.pageX,r=t.pageY,mt&&(s=i*mt[0]+r*mt[2]+mt[4],r=i*mt[1]+r*mt[3]+mt[5],i=s),((o=Math.abs(i-c))!==(a=Math.abs(r-g))&&(o>Wt||a>Wt)||N&&yt===Tt)&&(Tt=o>a&&Bt?"x":"y",!1!==Vt.vars.lockAxisOnTouchScroll&&(Vt.lockedAxis="x"===Tt?"y":"x","function"==typeof Vt.vars.onLockAxis&&Vt.vars.onLockAxis.call(Vt,l)),N&&yt===Tt)))return void ge(l);Vt.allowEventDefault||yt&&(!Tt||yt===Tt)||!1===l.cancelable||(l.preventDefault(),l.preventManipulation&&l.preventManipulation())}Vt.autoScroll&&(qt=!0),me(t.pageX,t.pageY)}},me=function(t,e){var i,n,r,s,o,a,l=1-Vt.dragResistance,h=1-Vt.edgeResistance;Vt.pointerX=t,Vt.pointerY=e,It?(s=Math.atan2(it.y-e,t-it.x)*S,(o=Vt.y-s)>180?(T-=360,Vt.y=s):o<-180&&(T+=360,Vt.y=s),Vt.x!==v||Math.abs(T-s)>Wt?(Vt.y=s,r=v+(T-s)*l):r=v):(mt&&(a=t*mt[0]+e*mt[2]+mt[4],e=t*mt[1]+e*mt[3]+mt[5],t=a),i=t-c,(n=e-g)<Wt&&n>-Wt&&(n=0),i<Wt&&i>-Wt&&(i=0),(Vt.lockAxis||Vt.lockedAxis)&&(i||n)&&((a=Vt.lockedAxis)||(Vt.lockedAxis=a=Bt&&Math.abs(i)>Math.abs(n)?"y":jt?"x":null,a&&"function"==typeof Vt.vars.onLockAxis&&Vt.vars.onLockAxis.call(Vt,Vt.pointerEvent)),"y"===a?n=0:"x"===a&&(i=0)),r=v+i*l,s=T+n*l),(ht||ct||ft)&&(Vt.x!==r||Vt.y!==s&&!It)?(ft&&(I.x=r,I.y=s,r=(a=ft(I)).x,s=a.y),ht&&(r=ht(r)),ct&&(s=ct(s))):w&&(r>D?r=D+(r-D)*h:r<j&&(r=j+(r-j)*h),It||(s>W?s=W+(s-W)*h:s<V&&(s=V+(s-V)*h))),It||mt||(r=Math.round(r),s=Math.round(s)),(Vt.x!==r||Vt.y!==s&&!It)&&(It?(Vt.endRotation=Vt.x=Vt.endX=r,nt=!0):(jt&&(Vt.y=Vt.endY=s,nt=!0),Bt&&(Vt.x=Vt.endX=r,nt=!0)),!Vt.isDragging&&Vt.isPressed&&(Vt.isDragging=!0,st(Vt,"dragstart","onDragStart")))},ge=function t(i,n){if(h&&Vt.isPressed&&(!i||null==et||n||!(i.pointerId&&i.pointerId!==et||i.changedTouches&&!function(t,e){for(var i=t.length;--i>-1;)if(t[i].identifier===e)return!0;return!1}(i.changedTouches,et)))){Vt.isPressed=!1;var r,s,a,u,c,f=i,p=Vt.isDragging,d=Vt.vars.allowContextMenu&&i&&(i.ctrlKey||i.which>2),_=e.delayedCall(.001,ce);if(dt?(Ct(dt,"touchend",t),Ct(dt,"touchmove",_e),Ct(dt,"touchcancel",t),Ct(y,"touchstart",Et)):Ct(y,"mousemove",_e),Ct(y,"mouseup",t),i&&i.target&&Ct(i.target,"mouseup",t),nt=!1,pt&&!d)return i&&(Ct(i.target,"change",t),Vt.pointerEvent=f),Nt(Ht,!1),st(Vt,"release","onRelease"),st(Vt,"click","onClick"),void(pt=!1);if(B(ie),!It)for(s=Ht.length;--s>-1;)J(Ht[s],"cursor",l.cursor||"move");if(p&&(Gt=L=k(),Vt.isDragging=!1),F--,i){if(R&&(i=$(i,!1)),(r=i.changedTouches)&&(i=r[0])!==tt&&i.identifier!==et){for(s=r.length;--s>-1&&(i=r[s]).identifier!==et;);if(s<0)return}Vt.pointerEvent=f,Vt.pointerX=i.pageX,Vt.pointerY=i.pageY}return d&&f?(f.preventDefault(),f.preventManipulation&&f.preventManipulation(),st(Vt,"release","onRelease")):f&&!p?(gt&&(l.snap||l.bounds)&&ae(l.throwProps),st(Vt,"release","onRelease"),N&&"touchmove"===f.type||-1!==f.type.indexOf("cancel")||(st(Vt,"click","onClick"),k()-te<300&&st(Vt,"doubleclick","onDoubleClick"),u=f.target||f.srcElement||o,te=k(),c=function(){te!==Pt&&Vt.enabled()&&!Vt.isPressed&&(u.click?u.click():y.createEvent&&((a=y.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,window,1,Vt.pointerEvent.screenX,Vt.pointerEvent.screenY,Vt.pointerX,Vt.pointerY,!1,!1,!1,!1,0,null),u.dispatchEvent(a)))},N||f.defaultPrevented||e.delayedCall(1e-5,c))):(ae(l.throwProps),R||Vt.allowEventDefault||!f||!l.dragClickables&&Jt.call(Vt,f.target)||!p||yt&&(!Tt||yt!==Tt)||!1===f.cancelable||(f.preventDefault(),f.preventManipulation&&f.preventManipulation()),st(Vt,"release","onRelease")),ue()&&_.duration(Vt.tween.duration()),p&&st(Vt,"dragend","onDragEnd"),!0}},ve=function(t){if(t&&Vt.isDragging&&!u){var e=t.target||t.srcElement||o.parentNode,i=e.scrollLeft-e._gsScrollX,n=e.scrollTop-e._gsScrollY;(i||n)&&(mt?(c-=i*mt[0]+n*mt[2],g-=n*mt[3]+i*mt[1]):(c-=i,g-=n),e._gsScrollX+=i,e._gsScrollY+=n,me(Vt.pointerX,Vt.pointerY))}},ye=function(t){var e=k(),i=e-te<40,n=e-Gt<40,r=i&&Pt===te,s=!!t.preventDefault,o=Vt.pointerEvent&&Vt.pointerEvent.defaultPrevented,a=i&&St===te,l=t.isTrusted||null==t.isTrusted&&i&&r;if(s&&(r||n&&!1!==Vt.vars.suppressClickOnDrag)&&t.stopImmediatePropagation(),i&&(!Vt.pointerEvent||!Vt.pointerEvent.defaultPrevented)&&(!r||l!==a))return l&&r&&(St=te),void(Pt=te);(Vt.isPressed||n||i)&&(s?l&&t.detail&&i&&!o||(t.preventDefault(),t.preventManipulation&&t.preventManipulation()):t.returnValue=!1)},xe=function(t){return mt?{x:t.x*mt[0]+t.y*mt[2]+mt[4],y:t.x*mt[1]+t.y*mt[3]+mt[5]}:{x:t.x,y:t.y}};(at=s.get(this.target))&&at.kill(),this.startDrag=function(t,e){var i,n,r,s;de(t||Vt.pointerEvent,!0),e&&!Vt.hitTest(t||Vt.pointerEvent)&&(i=Yt(t||Vt.pointerEvent),n=Yt(o),r=xe({x:i.left+i.width/2,y:i.top+i.height/2}),s=xe({x:n.left+n.width/2,y:n.top+n.height/2}),c-=r.x-s.x,g-=r.y-s.y),Vt.isDragging||(Vt.isDragging=!0,st(Vt,"dragstart","onDragStart"))},this.drag=_e,this.endDrag=function(t){ge(t||Vt.pointerEvent,!0)},this.timeSinceDrag=function(){return Vt.isDragging?0:(k()-Gt)/1e3},this.timeSinceClick=function(){return(k()-te)/1e3},this.hitTest=function(t,e){return s.hitTest(Vt.target,t,e)},this.getDirection=function(t,e){var i,n,s,o,l,h,u="velocity"===t&&r?t:"object"!==(void 0===t?"undefined":a(t))||It?"start":"element";return"element"===u&&(l=Yt(Vt.target),h=Yt(t)),i="start"===u?Vt.x-v:"velocity"===u?r.getVelocity(this.target,Xt):l.left+l.width/2-(h.left+h.width/2),It?i<0?"counter-clockwise":"clockwise":(e=e||2,n="start"===u?Vt.y-T:"velocity"===u?r.getVelocity(this.target,zt):l.top+l.height/2-(h.top+h.height/2),o=(s=Math.abs(i/n))<1/e?"":i<0?"left":"right",s<e&&(""!==o&&(o+="-"),o+=n<0?"up":"down"),o)},this.applyBounds=function(t){var e,i,n,r,s,a;if(t&&l.bounds!==t)return l.bounds=t,Vt.update(!0);if(ne(!0),re(),w){if(e=Vt.x,i=Vt.y,e>D?e=D:e<j&&(e=j),i>W?i=W:i<V&&(i=V),(Vt.x!==e||Vt.y!==i)&&(n=!0,Vt.x=Vt.endX=e,It?Vt.endRotation=e:Vt.y=Vt.endY=i,nt=!0,ie(!0),Vt.autoScroll&&!Vt.isDragging))for(Z(o.parentNode),r=o,X.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=x.scrollTop?x.scrollTop:y.body.scrollTop,X.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=x.scrollLeft?x.scrollLeft:y.body.scrollLeft;r&&!a;)s=(a=G(r.parentNode))?X:r.parentNode,jt&&s.scrollTop>s._gsMaxScrollY&&(s.scrollTop=s._gsMaxScrollY),Bt&&s.scrollLeft>s._gsMaxScrollX&&(s.scrollLeft=s._gsMaxScrollX),r=s;Vt.isThrowing&&(n||Vt.endX>D||Vt.endX<j||Vt.endY>W||Vt.endY<V)&&ae(l.throwProps,n)}return Vt},this.update=function(t,e,i){var n=Vt.x,r=Vt.y;return le(!e),t?Vt.applyBounds():(nt&&i&&ie(!0),ne(!0)),e&&(me(Vt.pointerX,Vt.pointerY),nt&&ie(!0)),Vt.isPressed&&!e&&(Bt&&Math.abs(n-Vt.x)>.01||jt&&Math.abs(r-Vt.y)>.01&&!It)&&he(),Vt.autoScroll&&(Z(o.parentNode),qt=Vt.isDragging,ie(!0)),Vt.autoScroll&&(U(o,ve),H(o,ve)),Vt},this.enable=function(t){var n,s,a;if("soft"!==t){for(s=Ht.length;--s>-1;)a=Ht[s],At(a,"mousedown",de),At(a,"touchstart",de),At(a,"click",ye,!0),It||J(a,"cursor",l.cursor||"move"),J(a,"touchCallout","none"),J(a,"touchAction",Bt===jt?"none":Bt?"pan-y":"pan-x"),_t(a)&&J(a.ownerSVGElement||a,"touchAction",Bt===jt?"none":Bt?"pan-y":"pan-x"),this.vars.allowContextMenu||At(a,"contextmenu",ee);Nt(Ht,!1)}return H(o,ve),h=!0,r&&"soft"!==t&&r.track(u||o,Mt?"x,y":It?"rotation":"top,left"),u&&u.enable(),o._gsDragID=n="d"+E++,M[n]=this,u&&(u.element._gsDragID=n),e.set(o,{x:"+=0",overwrite:!1,data:"_draggable"}),vt={t:o,data:R?K:o._gsTransform,tween:{},setRatio:R?function(){e.set(o,q)}:i._internals.setTransformRatio||i._internals.set3DTransformRatio},he(),Vt.update(!0),Vt},this.disable=function(t){var e,i,n=Vt.isDragging;if(!It)for(e=Ht.length;--e>-1;)J(Ht[e],"cursor",null);if("soft"!==t){for(e=Ht.length;--e>-1;)i=Ht[e],J(i,"touchCallout",null),J(i,"touchAction",null),Ct(i,"mousedown",de),Ct(i,"touchstart",de),Ct(i,"click",ye),Ct(i,"contextmenu",ee);Nt(Ht,!0),dt&&(Ct(dt,"touchcancel",ge),Ct(dt,"touchend",ge),Ct(dt,"touchmove",_e)),Ct(y,"mouseup",ge),Ct(y,"mousemove",_e)}return U(o,ve),h=!1,r&&"soft"!==t&&r.untrack(u||o,Mt?"x,y":It?"rotation":"top,left"),u&&u.disable(),B(ie),Vt.isDragging=Vt.isPressed=pt=!1,n&&st(Vt,"dragend","onDragEnd"),Vt},this.enabled=function(t,e){return arguments.length?t?Vt.enable(e):Vt.disable(e):h},this.kill=function(){return Vt.isThrowing=!1,e.killTweensOf(u||o,!0,Ut),Vt.disable(),delete M[o._gsDragID],Vt},-1!==Ot.indexOf("scroll")&&(u=this.scrollProxy=new function(t,i){t=Q(t),i=i||{};var n,r,s,o,a,l,h=y.createElement("div"),u=h.style,c=t.firstChild,f=0,p=0,d=t.scrollTop,_=t.scrollLeft,m=t.scrollWidth,g=t.scrollHeight,v=0,x=0,T=0;lt&&!1!==i.force3D?(a="translate3d(",l="px,0px)"):ut&&(a="translate(",l="px)"),this.scrollTop=function(t,e){if(!arguments.length)return-this.top();this.top(-t,e)},this.scrollLeft=function(t,e){if(!arguments.length)return-this.left();this.left(-t,e)},this.left=function(n,r){if(!arguments.length)return-(t.scrollLeft+p);var s=t.scrollLeft-_,o=p;if((s>2||s<-2)&&!r)return _=t.scrollLeft,e.killTweensOf(this,!0,{left:1,scrollLeft:1}),this.left(-_),void(i.onKill&&i.onKill());(n=-n)<0?(p=n-.5|0,n=0):n>x?(p=n-x|0,n=x):p=0,(p||o)&&(a?this._suspendTransforms||(u[ut]=a+-p+"px,"+-f+l):u.left=-p+"px",p+v>=0&&(u.paddingRight=p+v+"px")),t.scrollLeft=0|n,_=t.scrollLeft},this.top=function(n,r){if(!arguments.length)return-(t.scrollTop+f);var s=t.scrollTop-d,o=f;if((s>2||s<-2)&&!r)return d=t.scrollTop,e.killTweensOf(this,!0,{top:1,scrollTop:1}),this.top(-d),void(i.onKill&&i.onKill());(n=-n)<0?(f=n-.5|0,n=0):n>T?(f=n-T|0,n=T):f=0,(f||o)&&(a?this._suspendTransforms||(u[ut]=a+-p+"px,"+-f+l):u.top=-f+"px"),t.scrollTop=0|n,d=t.scrollTop},this.maxScrollTop=function(){return T},this.maxScrollLeft=function(){return x},this.disable=function(){for(c=h.firstChild;c;)o=c.nextSibling,t.appendChild(c),c=o;t===h.parentNode&&t.removeChild(h)},this.enable=function(){if((c=t.firstChild)!==h){for(;c;)o=c.nextSibling,h.appendChild(c),c=o;t.appendChild(h),this.calibrate()}},this.calibrate=function(e){var i,o,a=t.clientWidth===n;d=t.scrollTop,_=t.scrollLeft,a&&t.clientHeight===r&&h.offsetHeight===s&&m===t.scrollWidth&&g===t.scrollHeight&&!e||((f||p)&&(i=this.left(),o=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),a&&!e||(u.display="block",u.width="auto",u.paddingRight="0px",(v=Math.max(0,t.scrollWidth-t.clientWidth))&&(v+=rt(t,"paddingLeft")+(Lt?rt(t,"paddingRight"):0))),u.display="inline-block",u.position="relative",u.overflow="visible",u.verticalAlign="top",u.width="100%",u.paddingRight=v+"px",Lt&&(u.paddingBottom=rt(t,"paddingBottom",!0)),R&&(u.zoom="1"),n=t.clientWidth,r=t.clientHeight,m=t.scrollWidth,g=t.scrollHeight,x=t.scrollWidth-n,T=t.scrollHeight-r,s=h.offsetHeight,u.display="block",(i||o)&&(this.left(i),this.top(o)))},this.content=h,this.element=t,this._suspendTransforms=!1,this.enable()}(o,function(t,e){var i;for(i in e)void 0===t[i]&&(t[i]=e[i]);return t}({onKill:function(){Vt.isPressed&&ge(null)}},l)),o.style.overflowY=jt&&!kt?"auto":"hidden",o.style.overflowX=Bt&&!kt?"auto":"hidden",o=u.content),!1!==l.force3D&&e.set(o,{force3D:!0}),It?Ut.rotation=1:(Bt&&(Ut[Xt]=1),jt&&(Ut[zt]=1)),It?(K=(q=_).css,q.overwrite=!1):Mt&&(K=(q=Bt&&jt?f:Bt?p:d).css,q.overwrite=!1),this.enable()},Xt=It.prototype=new t;Xt.constructor=It,Xt.pointerX=Xt.pointerY=Xt.startX=Xt.startY=Xt.deltaX=Xt.deltaY=0,Xt.isDragging=Xt.isPressed=!1,It.version="0.16.3",It.zIndex=1e3,At(y,"touchcancel",function(){}),At(y,"contextmenu",function(t){var e;for(e in M)M[e].isPressed&&M[e].endDrag()}),It.create=function(t,i){"string"==typeof t&&(t=e.selector(t));for(var n=t&&0!==t.length?Ot(t)?function(t){var e,i,n,r=[],s=t.length;for(e=0;e<s;e++)if(i=t[e],Ot(i))for(n=i.length,n=0;n<i.length;n++)r.push(i[n]);else i&&0!==i.length&&r.push(i);return r}(t):[t]:[],r=n.length;--r>-1;)n[r]=new It(n[r],i);return n},It.get=function(t){return M[(Q(t)||{})._gsDragID]},It.timeSinceDrag=function(){return(k()-L)/1e3};var zt={},Yt=function(t,e){if(t===window)return zt.left=zt.top=0,zt.width=zt.right=x.clientWidth||t.innerWidth||y.body.clientWidth||0,zt.height=zt.bottom=(t.innerHeight||0)-20<x.clientHeight?x.clientHeight:t.innerHeight||y.body.clientHeight||0,zt;var i=t.pageX!==e?{left:t.pageX-V(),top:t.pageY-W(),right:t.pageX-V()+1,bottom:t.pageY-W()+1}:t.nodeType||t.left===e||t.top===e?R?function(t){var e,i,n=0,r=0;for(e=(t=Q(t)).offsetWidth,i=t.offsetHeight;t;)n+=t.offsetTop,r+=t.offsetLeft,t=t.offsetParent;return{top:n,left:r,width:e,height:i}}(t):Q(t).getBoundingClientRect():t;return i.right===e&&i.width!==e?(i.right=i.left+i.width,i.bottom=i.top+i.height):i.width===e&&(i={width:i.right-i.left,height:i.bottom-i.top,right:i.right,left:i.left,bottom:i.bottom,top:i.top}),i};return It.hitTest=function(t,e,i){if(t===e)return!1;var n,r,s,o=Yt(t),a=Yt(e),l=a.left>o.right||a.right<o.left||a.top>o.bottom||a.bottom<o.top;return l||!i?!l:(s=-1!==(i+"").indexOf("%"),i=parseFloat(i)||0,(n={left:Math.max(o.left,a.left),top:Math.max(o.top,a.top)}).width=Math.min(o.right,a.right)-n.left,n.height=Math.min(o.bottom,a.bottom)-n.top,!(n.width<0||n.height<0)&&(s?(i*=.01,(r=n.width*n.height)>=o.width*o.height*i||r>=a.width*a.height*i):n.width>i&&n.height>i))},A.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;",It},!0)}),l._gsDefine&&l._gsQueue.pop()(),function(n){"use strict";var a=function(){return(l.GreenSockGlobals||l).Draggable};void 0!==t&&t.exports?(i(9),i(15),t.exports=a()):(s=[i(9),i(15)],void 0===(o="function"==typeof(r=a)?r.apply(e,s):r)||(t.exports=o))}()}).call(this,i(6))},3:function(t,e,i){"use strict";i.d(e,"a",function(){return n});var n=document.querySelector.bind(document);document.querySelectorAll.bind(document);Node.prototype.on=window.on=function(t,e){this.addEventListener(t,e)},NodeList.prototype.__proto__=Array.prototype,NodeList.prototype.on=NodeList.prototype.addEventListener=function(t,e){this.forEach(function(i){i.on(t,e)})}},4:function(t,e,i){var n,r,s="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};void 0===(r="function"==typeof(n=function(){"use strict";var t=function(){n.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.5",window.addEventListener("mousewheel",function(){}),t.Controller=function(i){var r,s,o="ScrollMagic.Controller",a=e.defaults,l=this,h=n.extend({},a,i),u=[],c=!1,f=0,p="PAUSED",d=!0,_=0,m=!0,g=function(){h.refreshInterval>0&&(s=window.setTimeout(P,h.refreshInterval))},v=function(){return h.vertical?n.get.scrollTop(h.container):n.get.scrollLeft(h.container)},y=function(){return h.vertical?n.get.height(h.container):n.get.width(h.container)},x=this._setScrollPos=function(t){h.vertical?d?window.scrollTo(n.get.scrollLeft(),t):h.container.scrollTop=t:d?window.scrollTo(t,n.get.scrollTop()):h.container.scrollLeft=t},T=function(){if(m&&c){var t=n.type.Array(c)?c:u.slice(0);c=!1;var e=f,i=(f=l.scrollPos())-e;0!==i&&(p=i>0?"FORWARD":"REVERSE"),"REVERSE"===p&&t.reverse(),t.forEach(function(e,i){S(3,"updating Scene "+(i+1)+"/"+t.length+" ("+u.length+" total)"),e.update(!0)}),0===t.length&&h.loglevel>=3&&S(3,"updating 0 Scenes (nothing added to controller)")}},w=function(){r=n.rAF(T)},b=function(t){S(3,"event fired causing an update:",t.type),"resize"==t.type&&(_=y(),p="PAUSED"),!0!==c&&(c=!0,w())},P=function(){if(!d&&_!=y()){var t;try{t=new Event("resize",{bubbles:!1,cancelable:!1})}catch(e){(t=document.createEvent("Event")).initEvent("resize",!1,!1)}h.container.dispatchEvent(t)}u.forEach(function(t,e){t.refresh()}),g()},S=this._log=function(t,e){h.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),n.log.apply(window,arguments))};this._options=h;var O=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};return this.addScene=function(e){if(n.type.Array(e))e.forEach(function(t,e){l.addScene(t)});else if(e instanceof t.Scene){if(e.controller()!==l)e.addTo(l);else if(u.indexOf(e)<0){for(var i in u.push(e),u=O(u),e.on("shift.controller_sort",function(){u=O(u)}),h.globalSceneOptions)e[i]&&e[i].call(e,h.globalSceneOptions[i]);S(3,"adding Scene (now "+u.length+" total)")}}else S(1,"ERROR: invalid argument supplied for '.addScene()'");return l},this.removeScene=function(t){if(n.type.Array(t))t.forEach(function(t,e){l.removeScene(t)});else{var e=u.indexOf(t);e>-1&&(t.off("shift.controller_sort"),u.splice(e,1),S(3,"removing Scene (now "+u.length+" left)"),t.remove())}return l},this.updateScene=function(e,i){return n.type.Array(e)?e.forEach(function(t,e){l.updateScene(t,i)}):i?e.update(!0):!0!==c&&e instanceof t.Scene&&(-1==(c=c||[]).indexOf(e)&&c.push(e),c=O(c),w()),l},this.update=function(t){return b({type:"resize"}),t&&T(),l},this.scrollTo=function(e,i){if(n.type.Number(e))x.call(h.container,e,i);else if(e instanceof t.Scene)e.controller()===l?l.scrollTo(e.scrollOffset(),i):S(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",e);else if(n.type.Function(e))x=e;else{var r=n.get.elements(e)[0];if(r){for(;r.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)r=r.parentNode;var s=h.vertical?"top":"left",o=n.get.offset(h.container),a=n.get.offset(r);d||(o[s]-=l.scrollPos()),l.scrollTo(a[s]-o[s],i)}else S(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",e)}return l},this.scrollPos=function(t){return arguments.length?(n.type.Function(t)?v=t:S(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),l):v.call(l)},this.info=function(t){var e={size:_,vertical:h.vertical,scrollPos:f,scrollDirection:p,container:h.container,isDocument:d};return arguments.length?void 0!==e[t]?e[t]:void S(1,'ERROR: option "'+t+'" is not available'):e},this.loglevel=function(t){return arguments.length?(h.loglevel!=t&&(h.loglevel=t),l):h.loglevel},this.enabled=function(t){return arguments.length?(m!=t&&(m=!!t,l.updateScene(u,!0)),l):m},this.destroy=function(t){window.clearTimeout(s);for(var e=u.length;e--;)u[e].destroy(t);return h.container.removeEventListener("resize",b),h.container.removeEventListener("scroll",b),n.cAF(r),S(3,"destroyed "+o+" (reset: "+(t?"true":"false")+")"),null},function(){for(var e in h)a.hasOwnProperty(e)||(S(2,'WARNING: Unknown option "'+e+'"'),delete h[e]);if(h.container=n.get.elements(h.container)[0],!h.container)throw S(1,"ERROR creating object "+o+": No valid scroll container supplied"),o+" init failed.";(d=h.container===window||h.container===document.body||!document.body.contains(h.container))&&(h.container=window),_=y(),h.container.addEventListener("resize",b),h.container.addEventListener("scroll",b),h.refreshInterval=parseInt(h.refreshInterval)||a.refreshInterval,g(),S(3,"added new "+o+" controller (v"+t.version+")")}(),l};var e={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};t.Controller.addOption=function(t,i){e.defaults[t]=i},t.Controller.extend=function(e){var i=this;t.Controller=function(){return i.apply(this,arguments),this.$super=n.extend({},this),e.apply(this,arguments)||this},n.extend(t.Controller,i),t.Controller.prototype=i.prototype,t.Controller.prototype.constructor=t.Controller},t.Scene=function(e){var r,s,o="ScrollMagic.Scene",a=i.defaults,l=this,h=n.extend({},a,e),u="BEFORE",c=0,f={start:0,end:0},p=0,d=!0,_={};this.on=function(t,e){return n.type.Function(e)?(t=t.trim().split(" ")).forEach(function(t){var i=t.split("."),n=i[0],r=i[1];"*"!=n&&(_[n]||(_[n]=[]),_[n].push({namespace:r||"",callback:e}))}):m(1,"ERROR when calling '.on()': Supplied callback for '"+t+"' is not a valid function!"),l},this.off=function(t,e){return t?((t=t.trim().split(" ")).forEach(function(t,i){var n=t.split("."),r=n[0],s=n[1]||"",o="*"===r?Object.keys(_):[r];o.forEach(function(t){for(var i=_[t]||[],n=i.length;n--;){var r=i[n];!r||s!==r.namespace&&"*"!==s||e&&e!=r.callback||i.splice(n,1)}i.length||delete _[t]})}),l):(m(1,"ERROR: Invalid event name supplied."),l)},this.trigger=function(e,i){if(e){var n=e.trim().split("."),r=n[0],s=n[1],o=_[r];m(3,"event fired:",r,i?"->":"",i||""),o&&o.forEach(function(e,n){s&&s!==e.namespace||e.callback.call(l,new t.Event(r,e.namespace,l,i))})}else m(1,"ERROR: Invalid event name supplied.");return l},l.on("change.internal",function(t){"loglevel"!==t.what&&"tweenChanges"!==t.what&&("triggerElement"===t.what?T():"reverse"===t.what&&l.update())}).on("shift.internal",function(t){y(),l.update()});var m=this._log=function(t,e){h.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),n.log.apply(window,arguments))};this.addTo=function(e){return e instanceof t.Controller?s!=e&&(s&&s.removeScene(l),s=e,P(),x(!0),T(!0),y(),s.info("container").addEventListener("resize",w),e.addScene(l),l.trigger("add",{controller:s}),m(3,"added "+o+" to controller"),l.update()):m(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),l},this.enabled=function(t){return arguments.length?(d!=t&&(d=!!t,l.update(!0)),l):d},this.remove=function(){if(s){s.info("container").removeEventListener("resize",w);var t=s;s=void 0,t.removeScene(l),l.trigger("remove"),m(3,"removed "+o+" from controller")}return l},this.destroy=function(t){return l.trigger("destroy",{reset:t}),l.remove(),l.off("*.*"),m(3,"destroyed "+o+" (reset: "+(t?"true":"false")+")"),null},this.update=function(t){if(s)if(t)if(s.enabled()&&d){var e,i=s.info("scrollPos");e=h.duration>0?(i-f.start)/(f.end-f.start):i>=f.start?1:0,l.trigger("update",{startPos:f.start,endPos:f.end,scrollPos:i}),l.progress(e)}else g&&"DURING"===u&&k(!0);else s.updateScene(l,!1);return l},this.refresh=function(){return x(),T(),l},this.progress=function(t){if(arguments.length){var e=!1,i=u,n=s?s.info("scrollDirection"):"PAUSED",r=h.reverse||t>=c;if(0===h.duration?(e=c!=t,u=0==(c=t<1&&r?0:1)?"BEFORE":"DURING"):t<0&&"BEFORE"!==u&&r?(c=0,u="BEFORE",e=!0):t>=0&&t<1&&r?(c=t,u="DURING",e=!0):t>=1&&"AFTER"!==u?(c=1,u="AFTER",e=!0):"DURING"!==u||r||k(),e){var o={progress:c,state:u,scrollDirection:n},a=u!=i,f=function(t){l.trigger(t,o)};a&&"DURING"!==i&&(f("enter"),f("BEFORE"===i?"start":"end")),f("progress"),a&&"DURING"!==u&&(f("BEFORE"===u?"start":"end"),f("leave"))}return l}return c};var g,v,y=function(){f={start:p+h.offset},s&&h.triggerElement&&(f.start-=s.info("size")*h.triggerHook),f.end=f.start+h.duration},x=function(t){r&&S("duration",r.call(l))&&!t&&(l.trigger("change",{what:"duration",newval:h.duration}),l.trigger("shift",{reason:"duration"}))},T=function(t){var e=0,i=h.triggerElement;if(s&&i){for(var r=s.info(),o=n.get.offset(r.container),a=r.vertical?"top":"left";i.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)i=i.parentNode;var u=n.get.offset(i);r.isDocument||(o[a]-=s.scrollPos()),e=u[a]-o[a]}var c=e!=p;p=e,c&&!t&&l.trigger("shift",{reason:"triggerElementPosition"})},w=function(t){h.triggerHook>0&&l.trigger("shift",{reason:"containerResize"})},b=n.extend(i.validate,{duration:function(t){if(n.type.String(t)&&t.match(/^(\.|\d)*\d+%$/)){var e=parseFloat(t)/100;t=function(){return s?s.info("size")*e:0}}if(n.type.Function(t)){r=t;try{t=parseFloat(r())}catch(e){t=-1}}if(t=parseFloat(t),!n.type.Number(t)||t<0)throw r?(r=void 0,['Invalid return value of supplied function for option "duration":',t]):['Invalid value for option "duration":',t];return t}}),P=function(t){(t=arguments.length?[t]:Object.keys(b)).forEach(function(t,e){var i;if(b[t])try{i=b[t](h[t])}catch(e){i=a[t];var r=n.type.String(e)?[e]:e;n.type.Array(r)?(r[0]="ERROR: "+r[0],r.unshift(1),m.apply(this,r)):m(1,"ERROR: Problem executing validation callback for option '"+t+"':",e.message)}finally{h[t]=i}})},S=function(t,e){var i=!1,n=h[t];return h[t]!=e&&(h[t]=e,P(t),i=n!=h[t]),i},O=function(t){l[t]||(l[t]=function(e){return arguments.length?("duration"===t&&(r=void 0),S(t,e)&&(l.trigger("change",{what:t,newval:h[t]}),i.shifts.indexOf(t)>-1&&l.trigger("shift",{reason:t})),l):h[t]})};this.controller=function(){return s},this.state=function(){return u},this.scrollOffset=function(){return f.start},this.triggerPosition=function(){var t=h.offset;return s&&(h.triggerElement?t+=p:t+=s.info("size")*l.triggerHook()),t},l.on("shift.internal",function(t){var e="duration"===t.reason;("AFTER"===u&&e||"DURING"===u&&0===h.duration)&&k(),e&&R()}).on("progress.internal",function(t){k()}).on("add.internal",function(t){R()}).on("destroy.internal",function(t){l.removePin(t.reset)});var k=function(t){if(g&&s){var e=s.info(),i=v.spacer.firstChild;if(t||"DURING"!==u){var r={position:v.inFlow?"relative":"absolute",top:0,left:0},o=n.css(i,"position")!=r.position;v.pushFollowers?h.duration>0&&("AFTER"===u&&0===parseFloat(n.css(v.spacer,"padding-top"))?o=!0:"BEFORE"===u&&0===parseFloat(n.css(v.spacer,"padding-bottom"))&&(o=!0)):r[e.vertical?"top":"left"]=h.duration*c,n.css(i,r),o&&R()}else{"fixed"!=n.css(i,"position")&&(n.css(i,{position:"fixed"}),R());var a=n.get.offset(v.spacer,!0),l=h.reverse||0===h.duration?e.scrollPos-f.start:Math.round(c*h.duration*10)/10;a[e.vertical?"top":"left"]+=l,n.css(v.spacer.firstChild,{top:a.top,left:a.left})}}},R=function(){if(g&&s&&v.inFlow){var t="DURING"===u,e=s.info("vertical"),i=v.spacer.firstChild,r=n.isMarginCollapseType(n.css(v.spacer,"display")),o={};v.relSize.width||v.relSize.autoFullWidth?t?n.css(g,{width:n.get.width(v.spacer)}):n.css(g,{width:"100%"}):(o["min-width"]=n.get.width(e?g:i,!0,!0),o.width=t?o["min-width"]:"auto"),v.relSize.height?t?n.css(g,{height:n.get.height(v.spacer)-(v.pushFollowers?h.duration:0)}):n.css(g,{height:"100%"}):(o["min-height"]=n.get.height(e?i:g,!0,!r),o.height=t?o["min-height"]:"auto"),v.pushFollowers&&(o["padding"+(e?"Top":"Left")]=h.duration*c,o["padding"+(e?"Bottom":"Right")]=h.duration*(1-c)),n.css(v.spacer,o)}},A=function(){s&&g&&"DURING"===u&&!s.info("isDocument")&&k()},C=function(){s&&g&&"DURING"===u&&((v.relSize.width||v.relSize.autoFullWidth)&&n.get.width(window)!=n.get.width(v.spacer.parentNode)||v.relSize.height&&n.get.height(window)!=n.get.height(v.spacer.parentNode))&&R()},M=function(t){s&&g&&"DURING"===u&&!s.info("isDocument")&&(t.preventDefault(),s._setScrollPos(s.info("scrollPos")-((t.wheelDelta||t[s.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-t.detail)))};this.setPin=function(t,e){if(e=n.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},e),!(t=n.get.elements(t)[0]))return m(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),l;if("fixed"===n.css(t,"position"))return m(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),l;if(g){if(g===t)return l;l.removePin()}var i=(g=t).parentNode.style.display,r=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];g.parentNode.style.display="none";var s="absolute"!=n.css(g,"position"),o=n.css(g,r.concat(["display"])),a=n.css(g,["width","height"]);g.parentNode.style.display=i,!s&&e.pushFollowers&&(m(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),e.pushFollowers=!1),window.setTimeout(function(){g&&0===h.duration&&e.pushFollowers&&m(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")},0);var u=g.parentNode.insertBefore(document.createElement("div"),g),c=n.extend(o,{position:s?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(s||n.extend(c,n.css(g,["width","height"])),n.css(u,c),u.setAttribute("data-scrollmagic-pin-spacer",""),n.addClass(u,e.spacerClass),v={spacer:u,relSize:{width:"%"===a.width.slice(-1),height:"%"===a.height.slice(-1),autoFullWidth:"auto"===a.width&&s&&n.isMarginCollapseType(o.display)},pushFollowers:e.pushFollowers,inFlow:s},!g.___origStyle){g.___origStyle={};var f=g.style,p=r.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]);p.forEach(function(t){g.___origStyle[t]=f[t]||""})}return v.relSize.width&&n.css(u,{width:a.width}),v.relSize.height&&n.css(u,{height:a.height}),u.appendChild(g),n.css(g,{position:s?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(v.relSize.width||v.relSize.autoFullWidth)&&n.css(g,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",A),window.addEventListener("resize",A),window.addEventListener("resize",C),g.addEventListener("mousewheel",M),g.addEventListener("DOMMouseScroll",M),m(3,"added pin"),k(),l},this.removePin=function(t){if(g){if("DURING"===u&&k(!0),t||!s){var e=v.spacer.firstChild;if(e.hasAttribute("data-scrollmagic-pin-spacer")){var i=v.spacer.style;margins={},["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(t){margins[t]=i[t]||""}),n.css(e,margins)}v.spacer.parentNode.insertBefore(e,v.spacer),v.spacer.parentNode.removeChild(v.spacer),g.parentNode.hasAttribute("data-scrollmagic-pin-spacer")||(n.css(g,g.___origStyle),delete g.___origStyle)}window.removeEventListener("scroll",A),window.removeEventListener("resize",A),window.removeEventListener("resize",C),g.removeEventListener("mousewheel",M),g.removeEventListener("DOMMouseScroll",M),g=void 0,m(3,"removed pin (reset: "+(t?"true":"false")+")")}return l};var E,D=[];return l.on("destroy.internal",function(t){l.removeClassToggle(t.reset)}),this.setClassToggle=function(t,e){var i=n.get.elements(t);return 0!==i.length&&n.type.String(e)?(D.length>0&&l.removeClassToggle(),E=e,D=i,l.on("enter.internal_class leave.internal_class",function(t){var e="enter"===t.type?n.addClass:n.removeClass;D.forEach(function(t,i){e(t,E)})}),l):(m(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===i.length?"element":"classes")+" supplied."),l)},this.removeClassToggle=function(t){return t&&D.forEach(function(t,e){n.removeClass(t,E)}),l.off("start.internal_class end.internal_class"),E=void 0,D=[],l},function(){for(var t in h)a.hasOwnProperty(t)||(m(2,'WARNING: Unknown option "'+t+'"'),delete h[t]);for(var e in a)O(e);P()}(),l};var i={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(t){if(t=parseFloat(t),!n.type.Number(t))throw['Invalid value for option "offset":',t];return t},triggerElement:function(t){if(t=t||void 0){var e=n.get.elements(t)[0];if(!e)throw['Element defined in option "triggerElement" was not found:',t];t=e}return t},triggerHook:function(t){var e={onCenter:.5,onEnter:1,onLeave:0};if(n.type.Number(t))t=Math.max(0,Math.min(parseFloat(t),1));else{if(!(t in e))throw['Invalid value for option "triggerHook": ',t];t=e[t]}return t},reverse:function(t){return!!t},loglevel:function(t){if(t=parseInt(t),!n.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,n,r,s){e in i.defaults?t._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+e+"', because it already exists."):(i.defaults[e]=n,i.validate[e]=r,s&&i.shifts.push(e))},t.Scene.extend=function(e){var i=this;t.Scene=function(){return i.apply(this,arguments),this.$super=n.extend({},this),e.apply(this,arguments)||this},n.extend(t.Scene,i),t.Scene.prototype=i.prototype,t.Scene.prototype.constructor=t.Scene},t.Event=function(t,e,i,n){for(var r in n=n||{})this[r]=n[r];return this.type=t,this.target=this.currentTarget=i,this.namespace=e||"",this.timeStamp=this.timestamp=Date.now(),this};var n=t._util=function(t){var e,i={},n=function(t){return parseFloat(t)||0},r=function(e){return e.currentStyle?e.currentStyle:t.getComputedStyle(e)},o=function(e,i,s,o){if((i=i===document?t:i)===t)o=!1;else if(!_.DomElement(i))return 0;e=e.charAt(0).toUpperCase()+e.substr(1).toLowerCase();var a=(s?i["offset"+e]||i["outer"+e]:i["client"+e]||i["inner"+e])||0;if(s&&o){var l=r(i);a+="Height"===e?n(l.marginTop)+n(l.marginBottom):n(l.marginLeft)+n(l.marginRight)}return a},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(t=t||{},e=1;e<arguments.length;e++)if(arguments[e])for(var i in arguments[e])arguments[e].hasOwnProperty(i)&&(t[i]=arguments[e][i]);return t},i.isMarginCollapseType=function(t){return["block","flex","list-item","table","-webkit-box"].indexOf(t)>-1};var l=0,h=["ms","moz","webkit","o"],u=t.requestAnimationFrame,c=t.cancelAnimationFrame;for(e=0;!u&&e<h.length;++e)u=t[h[e]+"RequestAnimationFrame"],c=t[h[e]+"CancelAnimationFrame"]||t[h[e]+"CancelRequestAnimationFrame"];u||(u=function(e){var i=(new Date).getTime(),n=Math.max(0,16-(i-l)),r=t.setTimeout(function(){e(i+n)},n);return l=i+n,r}),c||(c=function(e){t.clearTimeout(e)}),i.rAF=u.bind(t),i.cAF=c.bind(t);var f=["error","warn","log"],p=t.console||{};for(p.log=p.log||function(){},e=0;e<f.length;e++){var d=f[e];p[d]||(p[d]=p.log)}i.log=function(t){(t>f.length||t<=0)&&(t=f.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),n=f[t-1],r=Array.prototype.splice.call(arguments,1),s=Function.prototype.bind.call(p[n],p);r.unshift(i),s.apply(p,r)};var _=i.type=function(t){return Object.prototype.toString.call(t).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};_.String=function(t){return"string"===_(t)},_.Function=function(t){return"function"===_(t)},_.Array=function(t){return Array.isArray(t)},_.Number=function(t){return!_.Array(t)&&t-parseFloat(t)+1>=0},_.DomElement=function(t){return"object"===("undefined"==typeof HTMLElement?"undefined":s(HTMLElement))?t instanceof HTMLElement:t&&"object"===(void 0===t?"undefined":s(t))&&null!==t&&1===t.nodeType&&"string"==typeof t.nodeName};var m=i.get={};return m.elements=function(e){var i=[];if(_.String(e))try{e=document.querySelectorAll(e)}catch(t){return i}if("nodelist"===_(e)||_.Array(e))for(var n=0,r=i.length=e.length;n<r;n++){var s=e[n];i[n]=_.DomElement(s)?s:m.elements(s)}else(_.DomElement(e)||e===document||e===t)&&(i=[e]);return i},m.scrollTop=function(e){return e&&"number"==typeof e.scrollTop?e.scrollTop:t.pageYOffset||0},m.scrollLeft=function(e){return e&&"number"==typeof e.scrollLeft?e.scrollLeft:t.pageXOffset||0},m.width=function(t,e,i){return o("width",t,e,i)},m.height=function(t,e,i){return o("height",t,e,i)},m.offset=function(t,e){var i={top:0,left:0};if(t&&t.getBoundingClientRect){var n=t.getBoundingClientRect();i.top=n.top,i.left=n.left,e||(i.top+=m.scrollTop(),i.left+=m.scrollLeft())}return i},i.addClass=function(t,e){e&&(t.classList?t.classList.add(e):t.className+=" "+e)},i.removeClass=function(t,e){e&&(t.classList?t.classList.remove(e):t.className=t.className.replace(new RegExp("(^|\\b)"+e.split(" ").join("|")+"(\\b|$)","gi")," "))},i.css=function(t,e){if(_.String(e))return r(t)[a(e)];if(_.Array(e)){var i={},n=r(t);return e.forEach(function(t,e){i[t]=n[a(t)]}),i}for(var s in e){var o=e[s];o==parseFloat(o)&&(o+="px"),t.style[a(s)]=o}},i}(window||{});return t.Scene.prototype.addIndicators=function(){return t._util.log(1,"(ScrollMagic.Scene) -> 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})?n.call(e,i,e,t):n)||(t.exports=r)},6:function(t,e){var i,n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":n(window))&&(i=window)}t.exports=i},68:function(t,e){Array.prototype.forEach||(Array.prototype.forEach=function(t){var e,i;if(null==this)throw new TypeError("this is null or not defined");var n=Object(this),r=n.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(e=arguments[1]),i=0;i<r;){var s;i in n&&(s=n[i],t.call(e,s,i,n)),i++}}),window.NodeList&&!NodeList.prototype.forEach&&(NodeList.prototype.forEach=function(t,e){e=e||window;for(var i=0;i<this.length;i++)t.call(e,this[i],i,this)})},69:function(t,e,i){},7:function(t,e,i){"use strict";e.a=[{selector:"s1dial",data:[{target:20,label:"All the time"},{target:34,label:"Most of the time"},{target:65,label:"Some of the time"},{target:8,label:"Not very often"},{target:2,label:"I never feel under pressure"}]},{title:"How easy is it for you to turn off",selector:"s2dial",data:[{target:55,label:"I really struggle to switch off at all"},{target:28,label:"I am really disciplined about switching off my phone and laptop at the end of the day"},{target:10,label:"I do not switch off"},{target:9,label:"I do not mind not being able to switch off"}]}]},72:function(t,e,i){var n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};
  112. /*!
  113. * ScrollMagic v2.0.5 (2015-04-29)
  114. * The javascript library for magical scroll interactions.
  115. * (c) 2015 Jan Paepke (@janpaepke)
  116. * Project Website: http://scrollmagic.io
  117. *
  118. * @version 2.0.5
  119. * @license Dual licensed under MIT license and GPL.
  120. * @author Jan Paepke - e-mail@janpaepke.de
  121. *
  122. * @file ScrollMagic GSAP Animation Plugin.
  123. *
  124. * requires: GSAP ~1.14
  125. * Powered by the Greensock Animation Platform (GSAP): http://www.greensock.com/js
  126. * Greensock License info at http://www.greensock.com/licensing/
  127. */
  128. !function(t,r){"object"===n(e)?(i(1),r(i(4),TweenMax,TimelineMax)):r(t.ScrollMagic||t.jQuery&&t.jQuery.ScrollMagic,t.TweenMax||t.TweenLite,t.TimelineMax||t.TimelineLite)}(this,function(t,e,i){"use strict";var n=window.console||{},r=Function.prototype.bind.call(n.error||n.log||function(){},n);t||r("(animation.gsap) -> 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."),e||r("(animation.gsap) -> 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,n=this,r=function(){n._log&&(Array.prototype.splice.call(arguments,1,0,"(animation.gsap)","->"),n._log.apply(this,arguments))};n.on("progress.plugin_gsap",function(){s()}),n.on("destroy.plugin_gsap",function(t){n.removeTween(t.reset)});var s=function(){if(t){var e=n.progress(),i=n.state();t.repeat&&-1===t.repeat()?"DURING"===i&&t.paused()?t.play():"DURING"===i||t.paused()||t.pause():e!=t.progress()&&(0===n.duration()?e>0?t.play():t.reverse():n.tweenChanges()&&t.tweenTo?t.tweenTo(e*t.duration()):t.progress(e).pause())}};n.setTween=function(o,a,l){var h;arguments.length>1&&(arguments.length<3&&(l=a,a=1),o=e.to(o,a,l));try{(h=i?new i({smoothChildTiming:!0}).add(o):o).pause()}catch(t){return r(1,"ERROR calling method 'setTween()': Supplied argument is not a valid TweenObject"),n}if(t&&n.removeTween(),t=h,o.repeat&&-1===o.repeat()&&(t.repeat(-1),t.yoyo(o.yoyo())),n.tweenChanges()&&!t.tweenTo&&r(2,"WARNING: tweenChanges will only work if the TimelineMax object is available for ScrollMagic."),t&&n.controller()&&n.triggerElement()&&n.loglevel()>=2){var u=e.getTweensOf(n.triggerElement()),c=n.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 r(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,p,d=t.getChildren?t.getChildren(!0,!0,!1):[t],_=function(){r(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")},m=0;m<d.length;m++)f=d[m],p!==_&&(p=f.vars.onOverwrite,f.vars.onOverwrite=function(){p&&p.apply(this,arguments),_.apply(this,arguments)});return r(3,"added tween"),s(),n},n.removeTween=function(e){return t&&(e&&t.progress(0).pause(),t.kill(),t=void 0,r(3,"removed tween (reset: "+(e?"true":"false")+")")),n}})})},73:function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},74:function(t,e,i){var n,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};
  129. /*! Hammer.JS - v2.0.7 - 2016-04-22
  130. * http://hammerjs.github.io/
  131. *
  132. * Copyright (c) 2016 Jorik Tangelder;
  133. * Licensed under the MIT license */
  134. !function(s,o,a,l){"use strict";var h,u=["","webkit","Moz","MS","ms","o"],c=o.createElement("div"),f="function",p=Math.round,d=Math.abs,_=Date.now;function m(t,e,i){return setTimeout(b(t,i),e)}function g(t,e,i){return!!Array.isArray(t)&&(v(t,i[e],i),!0)}function v(t,e,i){var n;if(t)if(t.forEach)t.forEach(e,i);else if(t.length!==l)for(n=0;n<t.length;)e.call(i,t[n],n,t),n++;else for(n in t)t.hasOwnProperty(n)&&e.call(i,t[n],n,t)}function y(t,e,i){var n="DEPRECATED METHOD: "+e+"\n"+i+" AT \n";return function(){var e=new Error("get-stack-trace"),i=e&&e.stack?e.stack.replace(/^[^\(]+?[\n$]/gm,"").replace(/^\s+at\s+/gm,"").replace(/^Object.<anonymous>\s*\(/gm,"{anonymous}()@"):"Unknown Stack Trace",r=s.console&&(s.console.warn||s.console.log);return r&&r.call(s.console,n,i),t.apply(this,arguments)}}h="function"!=typeof Object.assign?function(t){if(t===l||null===t)throw new TypeError("Cannot convert undefined or null to object");for(var e=Object(t),i=1;i<arguments.length;i++){var n=arguments[i];if(n!==l&&null!==n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}return e}:Object.assign;var x=y(function(t,e,i){for(var n=Object.keys(e),r=0;r<n.length;)(!i||i&&t[n[r]]===l)&&(t[n[r]]=e[n[r]]),r++;return t},"extend","Use `assign`."),T=y(function(t,e){return x(t,e,!0)},"merge","Use `assign`.");function w(t,e,i){var n,r=e.prototype;(n=t.prototype=Object.create(r)).constructor=t,n._super=r,i&&h(n,i)}function b(t,e){return function(){return t.apply(e,arguments)}}function P(t,e){return(void 0===t?"undefined":r(t))==f?t.apply(e&&e[0]||l,e):t}function S(t,e){return t===l?e:t}function O(t,e,i){v(C(e),function(e){t.addEventListener(e,i,!1)})}function k(t,e,i){v(C(e),function(e){t.removeEventListener(e,i,!1)})}function R(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function A(t,e){return t.indexOf(e)>-1}function C(t){return t.trim().split(/\s+/g)}function M(t,e,i){if(t.indexOf&&!i)return t.indexOf(e);for(var n=0;n<t.length;){if(i&&t[n][i]==e||!i&&t[n]===e)return n;n++}return-1}function E(t){return Array.prototype.slice.call(t,0)}function D(t,e,i){for(var n=[],r=[],s=0;s<t.length;){var o=e?t[s][e]:t[s];M(r,o)<0&&n.push(t[s]),r[s]=o,s++}return i&&(n=e?n.sort(function(t,i){return t[e]>i[e]}):n.sort()),n}function F(t,e){for(var i,n,r=e[0].toUpperCase()+e.slice(1),s=0;s<u.length;){if((n=(i=u[s])?i+r:e)in t)return n;s++}return l}var N=1;function L(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||s}var I="ontouchstart"in s,X=F(s,"PointerEvent")!==l,z=I&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),Y=25,B=1,j=2,W=4,V=8,H=1,U=2,G=4,q=8,Z=16,$=U|G,Q=q|Z,K=$|Q,J=["x","y"],tt=["clientX","clientY"];function et(t,e){var i=this;this.manager=t,this.callback=e,this.element=t.element,this.target=t.options.inputTarget,this.domHandler=function(e){P(t.options.enable,[t])&&i.handler(e)},this.init()}function it(t,e,i){var n=i.pointers.length,r=i.changedPointers.length,s=e&B&&n-r==0,o=e&(W|V)&&n-r==0;i.isFirst=!!s,i.isFinal=!!o,s&&(t.session={}),i.eventType=e,function(t,e){var i=t.session,n=e.pointers,r=n.length;i.firstInput||(i.firstInput=nt(e));r>1&&!i.firstMultiple?i.firstMultiple=nt(e):1===r&&(i.firstMultiple=!1);var s=i.firstInput,o=i.firstMultiple,a=o?o.center:s.center,h=e.center=rt(n);e.timeStamp=_(),e.deltaTime=e.timeStamp-s.timeStamp,e.angle=lt(a,h),e.distance=at(a,h),function(t,e){var i=e.center,n=t.offsetDelta||{},r=t.prevDelta||{},s=t.prevInput||{};e.eventType!==B&&s.eventType!==W||(r=t.prevDelta={x:s.deltaX||0,y:s.deltaY||0},n=t.offsetDelta={x:i.x,y:i.y});e.deltaX=r.x+(i.x-n.x),e.deltaY=r.y+(i.y-n.y)}(i,e),e.offsetDirection=ot(e.deltaX,e.deltaY);var u=st(e.deltaTime,e.deltaX,e.deltaY);e.overallVelocityX=u.x,e.overallVelocityY=u.y,e.overallVelocity=d(u.x)>d(u.y)?u.x:u.y,e.scale=o?function(t,e){return at(e[0],e[1],tt)/at(t[0],t[1],tt)}(o.pointers,n):1,e.rotation=o?function(t,e){return lt(e[1],e[0],tt)+lt(t[1],t[0],tt)}(o.pointers,n):0,e.maxPointers=i.prevInput?e.pointers.length>i.prevInput.maxPointers?e.pointers.length:i.prevInput.maxPointers:e.pointers.length,function(t,e){var i,n,r,s,o=t.lastInterval||e,a=e.timeStamp-o.timeStamp;if(e.eventType!=V&&(a>Y||o.velocity===l)){var h=e.deltaX-o.deltaX,u=e.deltaY-o.deltaY,c=st(a,h,u);n=c.x,r=c.y,i=d(c.x)>d(c.y)?c.x:c.y,s=ot(h,u),t.lastInterval=e}else i=o.velocity,n=o.velocityX,r=o.velocityY,s=o.direction;e.velocity=i,e.velocityX=n,e.velocityY=r,e.direction=s}(i,e);var c=t.element;R(e.srcEvent.target,c)&&(c=e.srcEvent.target);e.target=c}(t,i),t.emit("hammer.input",i),t.recognize(i),t.session.prevInput=i}function nt(t){for(var e=[],i=0;i<t.pointers.length;)e[i]={clientX:p(t.pointers[i].clientX),clientY:p(t.pointers[i].clientY)},i++;return{timeStamp:_(),pointers:e,center:rt(e),deltaX:t.deltaX,deltaY:t.deltaY}}function rt(t){var e=t.length;if(1===e)return{x:p(t[0].clientX),y:p(t[0].clientY)};for(var i=0,n=0,r=0;r<e;)i+=t[r].clientX,n+=t[r].clientY,r++;return{x:p(i/e),y:p(n/e)}}function st(t,e,i){return{x:e/t||0,y:i/t||0}}function ot(t,e){return t===e?H:d(t)>=d(e)?t<0?U:G:e<0?q:Z}function at(t,e,i){i||(i=J);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return Math.sqrt(n*n+r*r)}function lt(t,e,i){i||(i=J);var n=e[i[0]]-t[i[0]],r=e[i[1]]-t[i[1]];return 180*Math.atan2(r,n)/Math.PI}et.prototype={handler:function(){},init:function(){this.evEl&&O(this.element,this.evEl,this.domHandler),this.evTarget&&O(this.target,this.evTarget,this.domHandler),this.evWin&&O(L(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&k(this.element,this.evEl,this.domHandler),this.evTarget&&k(this.target,this.evTarget,this.domHandler),this.evWin&&k(L(this.element),this.evWin,this.domHandler)}};var ht={mousedown:B,mousemove:j,mouseup:W},ut="mousedown",ct="mousemove mouseup";function ft(){this.evEl=ut,this.evWin=ct,this.pressed=!1,et.apply(this,arguments)}w(ft,et,{handler:function(t){var e=ht[t.type];e&B&&0===t.button&&(this.pressed=!0),e&j&&1!==t.which&&(e=W),this.pressed&&(e&W&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var pt={pointerdown:B,pointermove:j,pointerup:W,pointercancel:V,pointerout:V},dt={2:"touch",3:"pen",4:"mouse",5:"kinect"},_t="pointerdown",mt="pointermove pointerup pointercancel";function gt(){this.evEl=_t,this.evWin=mt,et.apply(this,arguments),this.store=this.manager.session.pointerEvents=[]}s.MSPointerEvent&&!s.PointerEvent&&(_t="MSPointerDown",mt="MSPointerMove MSPointerUp MSPointerCancel"),w(gt,et,{handler:function(t){var e=this.store,i=!1,n=t.type.toLowerCase().replace("ms",""),r=pt[n],s=dt[t.pointerType]||t.pointerType,o="touch"==s,a=M(e,t.pointerId,"pointerId");r&B&&(0===t.button||o)?a<0&&(e.push(t),a=e.length-1):r&(W|V)&&(i=!0),a<0||(e[a]=t,this.callback(this.manager,r,{pointers:e,changedPointers:[t],pointerType:s,srcEvent:t}),i&&e.splice(a,1))}});var vt={touchstart:B,touchmove:j,touchend:W,touchcancel:V},yt="touchstart",xt="touchstart touchmove touchend touchcancel";function Tt(){this.evTarget=yt,this.evWin=xt,this.started=!1,et.apply(this,arguments)}w(Tt,et,{handler:function(t){var e=vt[t.type];if(e===B&&(this.started=!0),this.started){var i=function(t,e){var i=E(t.touches),n=E(t.changedTouches);e&(W|V)&&(i=D(i.concat(n),"identifier",!0));return[i,n]}.call(this,t,e);e&(W|V)&&i[0].length-i[1].length==0&&(this.started=!1),this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:"touch",srcEvent:t})}}});var wt={touchstart:B,touchmove:j,touchend:W,touchcancel:V},bt="touchstart touchmove touchend touchcancel";function Pt(){this.evTarget=bt,this.targetIds={},et.apply(this,arguments)}w(Pt,et,{handler:function(t){var e=wt[t.type],i=function(t,e){var i=E(t.touches),n=this.targetIds;if(e&(B|j)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var r,s,o=E(t.changedTouches),a=[],l=this.target;if(s=i.filter(function(t){return R(t.target,l)}),e===B)for(r=0;r<s.length;)n[s[r].identifier]=!0,r++;r=0;for(;r<o.length;)n[o[r].identifier]&&a.push(o[r]),e&(W|V)&&delete n[o[r].identifier],r++;if(!a.length)return;return[D(s.concat(a),"identifier",!0),a]}.call(this,t,e);i&&this.callback(this.manager,e,{pointers:i[0],changedPointers:i[1],pointerType:"touch",srcEvent:t})}});var St=2500,Ot=25;function kt(){et.apply(this,arguments);var t=b(this.handler,this);this.touch=new Pt(this.manager,t),this.mouse=new ft(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function Rt(t){var e=t.changedPointers[0];if(e.identifier===this.primaryTouch){var i={x:e.clientX,y:e.clientY};this.lastTouches.push(i);var n=this.lastTouches;setTimeout(function(){var t=n.indexOf(i);t>-1&&n.splice(t,1)},St)}}w(kt,et,{handler:function(t,e,i){var n="touch"==i.pointerType,r="mouse"==i.pointerType;if(!(r&&i.sourceCapabilities&&i.sourceCapabilities.firesTouchEvents)){if(n)(function(t,e){t&B?(this.primaryTouch=e.changedPointers[0].identifier,Rt.call(this,e)):t&(W|V)&&Rt.call(this,e)}).call(this,e,i);else if(r&&function(t){for(var e=t.srcEvent.clientX,i=t.srcEvent.clientY,n=0;n<this.lastTouches.length;n++){var r=this.lastTouches[n],s=Math.abs(e-r.x),o=Math.abs(i-r.y);if(s<=Ot&&o<=Ot)return!0}return!1}.call(this,i))return;this.callback(t,e,i)}},destroy:function(){this.touch.destroy(),this.mouse.destroy()}});var At=F(c.style,"touchAction"),Ct=At!==l,Mt="auto",Et="manipulation",Dt="none",Ft="pan-x",Nt="pan-y",Lt=function(){if(!Ct)return!1;var t={},e=s.CSS&&s.CSS.supports;return["auto","manipulation","pan-y","pan-x","pan-x pan-y","none"].forEach(function(i){t[i]=!e||s.CSS.supports("touch-action",i)}),t}();function It(t,e){this.manager=t,this.set(e)}It.prototype={set:function(t){"compute"==t&&(t=this.compute()),Ct&&this.manager.element.style&&Lt[t]&&(this.manager.element.style[At]=t),this.actions=t.toLowerCase().trim()},update:function(){this.set(this.manager.options.touchAction)},compute:function(){var t=[];return v(this.manager.recognizers,function(e){P(e.options.enable,[e])&&(t=t.concat(e.getTouchAction()))}),function(t){if(A(t,Dt))return Dt;var e=A(t,Ft),i=A(t,Nt);if(e&&i)return Dt;if(e||i)return e?Ft:Nt;if(A(t,Et))return Et;return Mt}(t.join(" "))},preventDefaults:function(t){var e=t.srcEvent,i=t.offsetDirection;if(this.manager.session.prevented)e.preventDefault();else{var n=this.actions,r=A(n,Dt)&&!Lt[Dt],s=A(n,Nt)&&!Lt[Nt],o=A(n,Ft)&&!Lt[Ft];if(r){var a=1===t.pointers.length,l=t.distance<2,h=t.deltaTime<250;if(a&&l&&h)return}if(!o||!s)return r||s&&i&$||o&&i&Q?this.preventSrc(e):void 0}},preventSrc:function(t){this.manager.session.prevented=!0,t.preventDefault()}};var Xt=1,zt=2,Yt=4,Bt=8,jt=Bt,Wt=16;function Vt(t){this.options=h({},this.defaults,t||{}),this.id=N++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=Xt,this.simultaneous={},this.requireFail=[]}function Ht(t){return t&Wt?"cancel":t&Bt?"end":t&Yt?"move":t&zt?"start":""}function Ut(t){return t==Z?"down":t==q?"up":t==U?"left":t==G?"right":""}function Gt(t,e){var i=e.manager;return i?i.get(t):t}function qt(){Vt.apply(this,arguments)}function Zt(){qt.apply(this,arguments),this.pX=null,this.pY=null}function $t(){qt.apply(this,arguments)}function Qt(){Vt.apply(this,arguments),this._timer=null,this._input=null}function Kt(){qt.apply(this,arguments)}function Jt(){qt.apply(this,arguments)}function te(){Vt.apply(this,arguments),this.pTime=!1,this.pCenter=!1,this._timer=null,this._input=null,this.count=0}function ee(t,e){return(e=e||{}).recognizers=S(e.recognizers,ee.defaults.preset),new ie(t,e)}Vt.prototype={defaults:{},set:function(t){return h(this.options,t),this.manager&&this.manager.touchAction.update(),this},recognizeWith:function(t){if(g(t,"recognizeWith",this))return this;var e=this.simultaneous;return e[(t=Gt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return g(t,"dropRecognizeWith",this)?this:(t=Gt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(g(t,"requireFailure",this))return this;var e=this.requireFail;return-1===M(e,t=Gt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(g(t,"dropRequireFailure",this))return this;t=Gt(t,this);var e=M(this.requireFail,t);return e>-1&&this.requireFail.splice(e,1),this},hasRequireFailures:function(){return this.requireFail.length>0},canRecognizeWith:function(t){return!!this.simultaneous[t.id]},emit:function(t){var e=this,i=this.state;function n(i){e.manager.emit(i,t)}i<Bt&&n(e.options.event+Ht(i)),n(e.options.event),t.additionalEvent&&n(t.additionalEvent),i>=Bt&&n(e.options.event+Ht(i))},tryEmit:function(t){if(this.canEmit())return this.emit(t);this.state=32},canEmit:function(){for(var t=0;t<this.requireFail.length;){if(!(this.requireFail[t].state&(32|Xt)))return!1;t++}return!0},recognize:function(t){var e=h({},t);if(!P(this.options.enable,[this,e]))return this.reset(),void(this.state=32);this.state&(jt|Wt|32)&&(this.state=Xt),this.state=this.process(e),this.state&(zt|Yt|Bt|Wt)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},w(qt,Vt,{defaults:{pointers:1},attrTest:function(t){var e=this.options.pointers;return 0===e||t.pointers.length===e},process:function(t){var e=this.state,i=t.eventType,n=e&(zt|Yt),r=this.attrTest(t);return n&&(i&V||!r)?e|Wt:n||r?i&W?e|Bt:e&zt?e|Yt:zt:32}}),w(Zt,qt,{defaults:{event:"pan",threshold:10,pointers:1,direction:K},getTouchAction:function(){var t=this.options.direction,e=[];return t&$&&e.push(Nt),t&Q&&e.push(Ft),e},directionTest:function(t){var e=this.options,i=!0,n=t.distance,r=t.direction,s=t.deltaX,o=t.deltaY;return r&e.direction||(e.direction&$?(r=0===s?H:s<0?U:G,i=s!=this.pX,n=Math.abs(t.deltaX)):(r=0===o?H:o<0?q:Z,i=o!=this.pY,n=Math.abs(t.deltaY))),t.direction=r,i&&n>e.threshold&&r&e.direction},attrTest:function(t){return qt.prototype.attrTest.call(this,t)&&(this.state&zt||!(this.state&zt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Ut(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w($t,qt,{defaults:{event:"pinch",threshold:0,pointers:2},getTouchAction:function(){return[Dt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.scale-1)>this.options.threshold||this.state&zt)},emit:function(t){if(1!==t.scale){var e=t.scale<1?"in":"out";t.additionalEvent=this.options.event+e}this._super.emit.call(this,t)}}),w(Qt,Vt,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Mt]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime>e.time;if(this._input=t,!n||!i||t.eventType&(W|V)&&!r)this.reset();else if(t.eventType&B)this.reset(),this._timer=m(function(){this.state=jt,this.tryEmit()},e.time,this);else if(t.eventType&W)return jt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===jt&&(t&&t.eventType&W?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=_(),this.manager.emit(this.options.event,this._input)))}}),w(Kt,qt,{defaults:{event:"rotate",threshold:0,pointers:2},getTouchAction:function(){return[Dt]},attrTest:function(t){return this._super.attrTest.call(this,t)&&(Math.abs(t.rotation)>this.options.threshold||this.state&zt)}}),w(Jt,qt,{defaults:{event:"swipe",threshold:10,velocity:.3,direction:$|Q,pointers:1},getTouchAction:function(){return Zt.prototype.getTouchAction.call(this)},attrTest:function(t){var e,i=this.options.direction;return i&($|Q)?e=t.overallVelocity:i&$?e=t.overallVelocityX:i&Q&&(e=t.overallVelocityY),this._super.attrTest.call(this,t)&&i&t.offsetDirection&&t.distance>this.options.threshold&&t.maxPointers==this.options.pointers&&d(e)>this.options.velocity&&t.eventType&W},emit:function(t){var e=Ut(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(te,Vt,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},getTouchAction:function(){return[Et]},process:function(t){var e=this.options,i=t.pointers.length===e.pointers,n=t.distance<e.threshold,r=t.deltaTime<e.time;if(this.reset(),t.eventType&B&&0===this.count)return this.failTimeout();if(n&&r&&i){if(t.eventType!=W)return this.failTimeout();var s=!this.pTime||t.timeStamp-this.pTime<e.interval,o=!this.pCenter||at(this.pCenter,t.center)<e.posThreshold;if(this.pTime=t.timeStamp,this.pCenter=t.center,o&&s?this.count+=1:this.count=1,this._input=t,0===this.count%e.taps)return this.hasRequireFailures()?(this._timer=m(function(){this.state=jt,this.tryEmit()},e.interval,this),zt):jt}return 32},failTimeout:function(){return this._timer=m(function(){this.state=32},this.options.interval,this),32},reset:function(){clearTimeout(this._timer)},emit:function(){this.state==jt&&(this._input.tapCount=this.count,this.manager.emit(this.options.event,this._input))}}),ee.VERSION="2.0.7",ee.defaults={domEvents:!1,touchAction:"compute",enable:!0,inputTarget:null,inputClass:null,preset:[[Kt,{enable:!1}],[$t,{enable:!1},["rotate"]],[Jt,{direction:$}],[Zt,{direction:$},["swipe"]],[te],[te,{event:"doubletap",taps:2},["tap"]],[Qt]],cssProps:{userSelect:"none",touchSelect:"none",touchCallout:"none",contentZooming:"none",userDrag:"none",tapHighlightColor:"rgba(0,0,0,0)"}};function ie(t,e){this.options=h({},ee.defaults,e||{}),this.options.inputTarget=this.options.inputTarget||t,this.handlers={},this.session={},this.recognizers=[],this.oldCssProps={},this.element=t,this.input=function(t){var e=t.options.inputClass;return new(e||(X?gt:z?Pt:I?kt:ft))(t,it)}(this),this.touchAction=new It(this,this.options.touchAction),ne(this,!0),v(this.options.recognizers,function(t){var e=this.add(new t[0](t[1]));t[2]&&e.recognizeWith(t[2]),t[3]&&e.requireFailure(t[3])},this)}function ne(t,e){var i,n=t.element;n.style&&(v(t.options.cssProps,function(r,s){i=F(n.style,s),e?(t.oldCssProps[i]=n.style[i],n.style[i]=r):n.style[i]=t.oldCssProps[i]||""}),e||(t.oldCssProps={}))}ie.prototype={set:function(t){return h(this.options,t),t.touchAction&&this.touchAction.update(),t.inputTarget&&(this.input.destroy(),this.input.target=t.inputTarget,this.input.init()),this},stop:function(t){this.session.stopped=t?2:1},recognize:function(t){var e=this.session;if(!e.stopped){var i;this.touchAction.preventDefaults(t);var n=this.recognizers,r=e.curRecognizer;(!r||r&&r.state&jt)&&(r=e.curRecognizer=null);for(var s=0;s<n.length;)i=n[s],2===e.stopped||r&&i!=r&&!i.canRecognizeWith(r)?i.reset():i.recognize(t),!r&&i.state&(zt|Yt|Bt)&&(r=e.curRecognizer=i),s++}},get:function(t){if(t instanceof Vt)return t;for(var e=this.recognizers,i=0;i<e.length;i++)if(e[i].options.event==t)return e[i];return null},add:function(t){if(g(t,"add",this))return this;var e=this.get(t.options.event);return e&&this.remove(e),this.recognizers.push(t),t.manager=this,this.touchAction.update(),t},remove:function(t){if(g(t,"remove",this))return this;if(t=this.get(t)){var e=this.recognizers,i=M(e,t);-1!==i&&(e.splice(i,1),this.touchAction.update())}return this},on:function(t,e){if(t!==l&&e!==l){var i=this.handlers;return v(C(t),function(t){i[t]=i[t]||[],i[t].push(e)}),this}},off:function(t,e){if(t!==l){var i=this.handlers;return v(C(t),function(t){e?i[t]&&i[t].splice(M(i[t],e),1):delete i[t]}),this}},emit:function(t,e){this.options.domEvents&&function(t,e){var i=o.createEvent("Event");i.initEvent(t,!0,!0),i.gesture=e,e.target.dispatchEvent(i)}(t,e);var i=this.handlers[t]&&this.handlers[t].slice();if(i&&i.length){e.type=t,e.preventDefault=function(){e.srcEvent.preventDefault()};for(var n=0;n<i.length;)i[n](e),n++}},destroy:function(){this.element&&ne(this,!1),this.handlers={},this.session={},this.input.destroy(),this.element=null}},h(ee,{INPUT_START:B,INPUT_MOVE:j,INPUT_END:W,INPUT_CANCEL:V,STATE_POSSIBLE:Xt,STATE_BEGAN:zt,STATE_CHANGED:Yt,STATE_ENDED:Bt,STATE_RECOGNIZED:jt,STATE_CANCELLED:Wt,STATE_FAILED:32,DIRECTION_NONE:H,DIRECTION_LEFT:U,DIRECTION_RIGHT:G,DIRECTION_UP:q,DIRECTION_DOWN:Z,DIRECTION_HORIZONTAL:$,DIRECTION_VERTICAL:Q,DIRECTION_ALL:K,Manager:ie,Input:et,TouchAction:It,TouchInput:Pt,MouseInput:ft,PointerEventInput:gt,TouchMouseInput:kt,SingleTouchInput:Tt,Recognizer:Vt,AttrRecognizer:qt,Tap:te,Pan:Zt,Swipe:Jt,Pinch:$t,Rotate:Kt,Press:Qt,on:O,off:k,each:v,merge:T,extend:x,assign:h,inherit:w,bindFn:b,prefixed:F}),(void 0!==s?s:"undefined"!=typeof self?self:{}).Hammer=ee,(n=function(){return ee}.call(e,i,e,t))===l||(t.exports=n)}(window,document)},75:function(t,e,i){"use strict";i.r(e);i(10),i(68);var n=i(3),r=(i(69),i(4)),s=i.n(r),o=(i(72),i(1)),a=i(16),l=i.n(a),h={controller:new s.a.Controller,pentagonSelector:function(){var t="Find a stress reliever that works for you",e="\n Leaders cope with high pressure in different ways so find a stress reliever that works for you (and stick to it). \n From a commitment to taking more time off to scheduling exercise and ‘time outs’ in your day, when you’re ‘on’ from the \n moment you wake to the moment you sleep it’s important to find things – reading, running, family time – that take you \n away from the pressure.\n ",i=[{t:Object(n.a)("#pentT1"),snapTo:{x:0,y:-180},title:"All the time",copy:""},{t:Object(n.a)("#pentT2"),snapTo:{x:190,y:-40},title:"I never feel under pressure",copy:""},{t:Object(n.a)("#pentT3"),snapTo:{x:120,y:180},title:"Some of the time",copy:""},{t:Object(n.a)("#pentT3b"),snapTo:{x:120,y:180},title:"Some of the time",copy:""},{t:Object(n.a)("#pentT4"),snapTo:{x:-110,y:180},title:"Most of the time",copy:""},{t:Object(n.a)("#pentT4b"),snapTo:{x:-110,y:180},title:"Most of the time",copy:""},{t:Object(n.a)("#pentT5"),snapTo:{x:-185,y:-40},title:"Not very often",copy:""}];o.TweenMax.set("#pentT1",{transformOrigin:"50% 50%",rotation:45}),o.TweenMax.set("#pentT2",{transformOrigin:"50% 50%",rotation:45}),o.TweenMax.set("#pentT3",{transformOrigin:"0 0",rotation:-45}),o.TweenMax.set("#pentT4",{transformOrigin:"100% 0%",rotation:45}),o.TweenMax.set("#pentT5",{transformOrigin:"50% 50%",rotation:-45});!function s(){l.a.create("#pentDrag",{bounds:"#HexDrag",type:"x,y",onDrag:function(t){o.TweenMax.set(Object(n.a)("#pentDrop"),{x:this.x,y:this.y})},onDragEnd:function(a){for(var l=!1,h=void 0,u=void 0,c=0;c<i.length;c++)if(this.hitTest(i[c].t,"99%")){l=!0,h=i[c].snapTo,u=[i[c].title,i[c].copy];break}l?(o.TweenMax.to("#pentDrop",.1,h),o.TweenMax.set("#pentDrag",{clearProps:"transform"}),this.kill(),o.TweenMax.to("#pentDrag",.1,h),s(),Object(n.a)("#s4PentTitle").innerHTML=u[0],Object(n.a)("#s4PentCopy").innerHTML="Replace the copy"):(r(),this.kill(),s(),Object(n.a)("#s4PentTitle").innerHTML=t,Object(n.a)("#s4PentCopy").innerHTML=e)}})}();var r=function(){o.TweenMax.set("#pentDrag",{clearProps:"transform"}),o.TweenMax.to("#pentDrop",.1,{x:0,y:0})}},animateHeaderBG:function(){var t=new o.TimelineMax;t.fromTo(".logo-cup",3,{backgroundColor:"rgba(255,255,255,0)",ease:Power4.easeOut},{delay:1.5,backgroundColor:"rgba(255,255,255,1)",ease:Power4.easeOut}).fromTo("#read-time",3,{opacity:0,ease:Power4.easeOut},{delay:0,opacity:1,ease:Power4.easeOut});new s.a.Scene({triggerElement:".sent-01",duration:500}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller)},animateProgressBarA:function(){var t=new o.TimelineMax;t.fromTo("#read-progress",3,{width:"0%",ease:Power4.easeOut},{delay:.2,width:"100%",ease:Power4.easeOut}).fromTo("#read-time",3,{text:"8 mins to read",ease:Power4.easeOut},{delay:.2,text:"4 mins to read",ease:Power4.easeOut});new s.a.Scene({triggerElement:".scene__one",duration:14500}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller)},animateFullScreenThree:function(){var t=new o.TimelineMax;t.fromTo(".scene__three h1",5,{alpha:0,y:400,ease:Power4.easeOut},{delay:2,alpha:1,y:0,ease:Power4.easeOut});new s.a.Scene({triggerElement:".scene__three",triggerHook:.6,duration:1e3}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller)},animateFullScreenSix:function(){var t=new o.TimelineMax;t.fromTo(".scene__six h1",5,{alpha:0,y:400,ease:Power4.easeOut},{delay:2,alpha:1,y:0,ease:Power4.easeOut});new s.a.Scene({triggerElement:".scene__six",triggerHook:.6,duration:1e3}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller)},animateFullScreenEight:function(){var t=new o.TimelineMax;t.fromTo(".scene__eight h1",5,{alpha:0,y:400,ease:Power4.easeOut},{delay:2,alpha:1,y:0,ease:Power4.easeOut});new s.a.Scene({triggerElement:".scene__eight",triggerHook:.6,duration:1e3}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller)},animateFullScreenTen:function(){var t=new o.TimelineMax;t.fromTo(".scene__ten h1",5,{alpha:0,y:400,ease:Power4.easeOut},{delay:2,alpha:1,y:0,ease:Power4.easeOut});new s.a.Scene({triggerElement:".scene__ten",triggerHook:.6,duration:1e3}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller)},animateFullScreenFifteen:function(){var t=new o.TimelineMax;t.fromTo(".scene__fifteen h1",5,{alpha:0,y:400,ease:Power4.easeOut},{delay:0,alpha:1,y:0,ease:Power4.easeOut});new s.a.Scene({triggerElement:".scene__fifteen",triggerHook:.6,duration:1e3}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller)},animatePercCone:function(){var t=new o.TimelineMax,e=0,i=0;window.matchMedia("(min-width: 63.9375em)").matches?(e=200,i=20):(e=0,i=0),t.fromTo("#perc-block-a",5,{alpha:0,y:e,ease:Power4.easeOut},{delay:1,alpha:1,y:i,ease:Power4.easeOut});new s.a.Scene({triggerElement:"#perc-anims",triggerHook:.8,duration:"60%"}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller);var n=new o.TimelineMax;n.fromTo("#perc-block-b",5,{alpha:0,y:0,scale:.5,ease:Power4.easeOut},{alpha:1,y:0,scale:1,ease:Power4.easeOut});new s.a.Scene({triggerElement:"#perc-anims",triggerHook:.8,duration:"60%"}).setTween(n).addTo(this.controller);var r=new o.TimelineMax,a=0,l=0;window.matchMedia("(min-width: 63.9375em)").matches?(a=0,l=180):(a=0,l=0),t.fromTo("#perc-block-c",5,{alpha:0,y:a,ease:Power4.easeOut},{alpha:1,y:l,ease:Power4.easeOut});new s.a.Scene({triggerElement:"#perc-anims",triggerHook:.8,duration:"60%"}).setTween(r).addTo(this.controller)},animateDials:function(t){var e=this;t.forEach(function(t){t.data.forEach(function(i,r){var a=(100-i.target)/100*1300,l="#"+t.selector+r,h={to:0},u=new o.TimelineMax;u.to("#"+t.selector+r+"-draw",2,{strokeDashoffset:a},0).to(h,2,{to:i.target,onUpdate:function(){Object(n.a)("#"+t.selector+r+"-inc").innerHTML=Math.ceil(h.to)+"%"},ease:Circ.easeOut},0);new s.a.Scene({triggerElement:l,triggerHook:1}).setTween(u).on("start",function(t){u.time(0)}).addTo(e.controller)})})},init:function(t){return t.hasOwnProperty("dialsData")&&this.animateDials(t.dialsData),this.animatePercCone(),this.animateHeaderBG(),this.animateProgressBarA(),this.animateFullScreenThree(),this.animateFullScreenSix(),this.animateFullScreenEight(),this.animateFullScreenTen(),this.animateFullScreenFifteen(),this.pentagonSelector(),!1}},u={init:function(){this.tabBlockHandlers()},tabBlockHandlers:function(){var t=document.querySelectorAll(".tab-block__tab-title");t.addEventListener("click",function(){var e=document.querySelectorAll(".tab-block__tab"),i=this.getAttribute("data-target"),n=document.querySelector("#"+i);o.default.set(t,{className:"+=tab-block__tab-title--inactive"}),o.default.set(this,{className:"-=tab-block__tab-title--inactive"}),o.default.set(e,{className:"-=tab-block__tab--active"}),o.default.set(n,{className:"+=tab-block__tab--active"})})}},c=(i(74),{currentTranslateX:0,init:function(){this.setupListeners()},setupListeners:function(){this.setupMobilePanning()},setupMobilePanning:function(){var t=this,e=document.querySelector(".tab-block__tab-titles-wrapper"),i=new Hammer(e);i.get("pan").set({direction:Hammer.DIRECTION_HORIZONTAL});var n=0;i.on("panstart panend panleft panright",function(i){var r=window.getComputedStyle(e).getPropertyValue("transform"),s=parseInt(r.split(",")[4]),o=void 0,a=i.deltaX-n,l=0;document.querySelectorAll(".tab-block__tab-title").forEach(function(t){l+=t.offsetWidth});var h=e.offsetWidth-l;(o=s?s+a:i.deltaX)>0?o=0:o<h&&(o=h),e.style.transform="translateX("+o+"px)",n="panend"==i.type?0:i.deltaX,t.currentTranslateX=o})}}),f={height:0,init:function(){this.calculateFormHeight(),this.setupListeners()},findPos:function(t){var e=0;if(t.offsetParent){do{e+=t.offsetTop}while(t=t.offsetParent);return[e]}},setupListeners:function(){var t=this,e=document.querySelectorAll(".form-open"),i=document.querySelector(".form");e.forEach(function(e){e.addEventListener("click",function(){i.style.height=t.height})}),i.addEventListener("submit",function(t){t.preventDefault()})},calculateFormHeight:function(){var t=document.getElementById("form_wrapper");this.height=t.offsetHeight+"px"}},p=i(7),d=function(){h.init({dialsData:p.a}),u.init(),c.init(),f.init(),function(){var t=window.navigator.userAgent,e=t.indexOf("MSIE ");if(e>0)return parseInt(t.substring(e+5,t.indexOf(".",e)),10);if(t.indexOf("Trident/")>0){var i=t.indexOf("rv:");return parseInt(t.substring(i+3,t.indexOf(".",i)),10)}var n=t.indexOf("Edge/");return n>0&&n}()&&(Object(n.a)("body").className="ie"),document.dispatchEvent(new Event("render-event"))};document.addEventListener("DOMContentLoaded",function(){d()})},9:function(t,e,i){(function(i){var n,r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};
  135. /*!
  136. * VERSION: 1.20.5
  137. * DATE: 2018-05-21
  138. * UPDATES AND DOCS AT: http://greensock.com
  139. *
  140. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  141. * This work is subject to the terms at http://greensock.com/standard-license or for
  142. * Club GreenSock members, the software agreement that was issued with your membership.
  143. *
  144. * @author: Jack Doyle, jack@greensock.com
  145. */
  146. !function(i,s){"use strict";var o={},a=i.document,l=i.GreenSockGlobals=i.GreenSockGlobals||i;if(l.TweenLite)return l.TweenLite;var h,u,c,f,p,d=function(t){var e,i=t.split("."),n=l;for(e=0;e<i.length;e++)n[i[e]]=n=n[i[e]]||{};return n},_=d("com.greensock"),m=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},g=function(){},v=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"===(void 0===i?"undefined":r(i))&&!!i.push&&t.call(i)===e)}}(),y={},x=i._gsDefine=function(i,r,s,a){return new function i(r,s,a,h){this.sc=y[r]?y[r].sc:[],y[r]=this,this.gsClass=null,this.func=a;var u=[];this.check=function(c){for(var f,p,_,m,g=s.length,v=g;--g>-1;)(f=y[s[g]]||new i(s[g],[])).gsClass?(u[g]=f.gsClass,v--):c&&f.sc.push(this);if(0===v&&a){if(_=(p=("com.greensock."+r).split(".")).pop(),m=d(p.join("."))[_]=this.gsClass=a.apply(a,u),h)if(l[_]=o[_]=m,void 0!==t&&t.exports)if("TweenLite"===r)for(g in t.exports=o.TweenLite=m,o)m[g]=o[g];else o.TweenLite&&(o.TweenLite[_]=m);else void 0===(n=function(){return m}.apply(e,[]))||(t.exports=n);for(g=0;g<this.sc.length;g++)this.sc[g].check()}},this.check(!0)}(i,r,s,a)},T=_._class=function(t,e,i){return e=e||function(){},x(t,[],function(){return e},i),e};x.globals=l;var w=[0,0,1,1],b=T("easing.Ease",function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?w.concat(e):w},!0),P=b.map={},S=b.register=function(t,e,i,n){for(var r,s,o,a,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(s=l[h],r=n?T("easing."+s,null,!0):_.easing[s]||{},o=u.length;--o>-1;)a=u[o],P[s+"."+a]=P[a+s]=r[a]=t.getRatio?t:t[a]||new t};for((c=b.prototype)._calcEnd=!1,c.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},u=(h=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--u>-1;)c=h[u]+",Power"+u,S(new b(null,null,1,u),c,"easeOut",!0),S(new b(null,null,2,u),c,"easeIn"+(0===u?",easeNone":"")),S(new b(null,null,3,u),c,"easeInOut");P.linear=_.easing.Linear.easeIn,P.swing=_.easing.Quad.easeInOut;var O=T("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(c=O.prototype).addEventListener=function(t,e,i,n,r){r=r||0;var s,o,a=this._listeners[t],l=0;for(this!==f||p||f.wake(),null==a&&(this._listeners[t]=a=[]),o=a.length;--o>-1;)(s=a[o]).c===e&&s.s===i?a.splice(o,1):0===l&&s.pr<r&&(l=o+1);a.splice(l,0,{c:e,s:i,up:n,pr:r})},c.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n)for(i=n.length;--i>-1;)if(n[i].c===e)return void n.splice(i,1)},c.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)(n=r[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var k=i.requestAnimationFrame,R=i.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},C=A();for(u=(h=["ms","moz","webkit","o"]).length;--u>-1&&!k;)k=i[h[u]+"RequestAnimationFrame"],R=i[h[u]+"CancelAnimationFrame"]||i[h[u]+"CancelRequestAnimationFrame"];T("Ticker",function(t,e){var i,n,r,s,o,l=this,h=A(),u=!(!1===e||!k)&&"auto",c=500,d=33,_=function t(e){var a,u,f=A()-C;f>c&&(h+=f-d),C+=f,l.time=(C-h)/1e3,a=l.time-o,(!i||a>0||!0===e)&&(l.frame++,o+=a+(a>=s?.004:s-a),u=!0),!0!==e&&(r=n(t)),u&&l.dispatchEvent("tick")};O.call(l),l.time=l.frame=0,l.tick=function(){_(!0)},l.lagSmoothing=function(t,e){if(!arguments.length)return c<1e10;c=t||1e10,d=Math.min(e,c,0)},l.sleep=function(){null!=r&&(u&&R?R(r):clearTimeout(r),n=g,r=null,l===f&&(p=!1))},l.wake=function(t){null!==r?l.sleep():t?h+=-C+(C=A()):l.frame>10&&(C=A()-c+5),n=0===i?g:u&&k?k:function(t){return setTimeout(t,1e3*(o-l.time)+1|0)},l===f&&(p=!0),_(2)},l.fps=function(t){if(!arguments.length)return i;s=1/((i=t)||60),o=this.time+s,l.wake()},l.useRAF=function(t){if(!arguments.length)return u;l.sleep(),u=t,l.fps(i)},l.fps(t),setTimeout(function(){"auto"===u&&l.frame<5&&"hidden"!==(a||{}).visibilityState&&l.useRAF(!1)},1500)}),(c=_.Ticker.prototype=new _.events.EventDispatcher).constructor=_.Ticker;var M=T("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,Z){p||f.wake();var i=this.vars.useFrames?q:Z;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});f=M.ticker=new _.Ticker,(c=M.prototype)._dirty=c._gc=c._initted=c._paused=!1,c._totalTime=c._time=0,c._rawPrevTime=-1,c._next=c._last=c._onUpdate=c._timeline=c.timeline=null,c._paused=!1;!function t(){p&&A()-C>2e3&&("hidden"!==(a||{}).visibilityState||!f.lagSmoothing())&&f.wake();var e=setTimeout(t,2e3);e.unref&&e.unref()}(),c.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},c.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},c.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},c.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},c.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},c.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},c.render=function(t,e,i){},c.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},c.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-1e-7},c._enabled=function(t,e){return p||f.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},c._kill=function(t,e){return this._enabled(!1,!1)},c.kill=function(t,e){return this._kill(t,e),this},c._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},c._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},c._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(r);break;case 1:i.call(r,n[0]);break;case 2:i.call(r,n[0],n[1]);break;default:i.apply(r,n)}},c.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=v(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},c.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},c.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},c.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},c.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},c.totalTime=function(t,e,i){if(p||f.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(N.length&&Q(),this.render(t,e,!1),N.length&&Q())}return this},c.progress=c.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},c.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},c.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},c.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||1e-10,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},c.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},c.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(p||t||f.wake(),i=(e=n.rawTime())-this._pauseTime,!t&&n.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=n.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=T("core.SimpleTimeline",function(t){M.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(c=E.prototype=new M).constructor=E,c.kill()._gc=!1,c._first=c._last=c._recent=null,c._sortChildren=!1,c.add=c.insert=function(t,e,i,n){var r,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(s=t._startTime;r&&r._startTime>s;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},c._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},c.render=function(t,e,i){var n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(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},c.rawTime=function(){return p||f.wake(),this._totalTime};var D=T("TweenLite",function(t,e,n){if(M.call(this,e,n),this.render=D.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:D.selector(t)||t;var r,s,o,a=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?G[D.defaultOverwrite]:"number"==typeof l?l>>0:G[l],(a||t instanceof Array||t.push&&v(t))&&"number"!=typeof t[0])for(this._targets=o=m(t),this._propLookup=[],this._siblings=[],r=0;r<o.length;r++)(s=o[r])?"string"!=typeof s?s.length&&s!==i&&s[0]&&(s[0]===i||s[0].nodeType&&s[0].style&&!s.nodeType)?(o.splice(r--,1),this._targets=o=o.concat(m(s))):(this._siblings[r]=K(s,this,!1),1===l&&this._siblings[r].length>1&&tt(s,this,null,1,this._siblings[r])):"string"==typeof(s=o[r--]=D.selector(s))&&o.splice(r+1,1):o.splice(r--,1);else this._propLookup={},this._siblings=K(t,this,!1),1===l&&this._siblings.length>1&&tt(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),F=function(t){return t&&t.length&&t!==i&&t[0]&&(t[0]===i||t[0].nodeType&&t[0].style&&!t.nodeType)};(c=D.prototype=new M).constructor=D,c.kill()._gc=!1,c.ratio=0,c._firstPT=c._targets=c._overwrittenProps=c._startAt=null,c._notifyPluginsOfEnabled=c._lazy=!1,D.version="1.20.5",D.defaultEase=c._ease=new b(null,null,1,1),D.defaultOverwrite="auto",D.ticker=f,D.autoSleep=120,D.lagSmoothing=function(t,e){f.lagSmoothing(t,e)},D.selector=i.$||i.jQuery||function(t){var e=i.$||i.jQuery;return e?(D.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 N=[],L={},I=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,X=/[\+-]=-?[\.\d]/,z=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},Y=function(t,e,i,n){var r,s,o,a,l,h,u,c=[],f=0,p="",d=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",i&&(i(c),t=c[0],e=c[1]),c.length=0,r=t.match(I)||[],s=e.match(I)||[],n&&(n._next=null,n.blob=1,c._firstPT=c._applyPT=n),l=s.length,a=0;a<l;a++)u=s[a],p+=(h=e.substr(f,e.indexOf(u,f)-f))||!a?h:",",f+=h.length,d?d=(d+1)%5:"rgba("===h.substr(-5)&&(d=1),u===r[a]||r.length<=a?p+=u:(p&&(c.push(p),p=""),o=parseFloat(r[a]),c.push(o),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:o,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-o)||0,f:0,m:d&&d<4?Math.round:0}),f+=u.length;return(p+=e.substr(f))&&c.push(p),c.setRatio=z,X.test(e)&&(c.end=null),c},B=function(t,e,i,n,s,o,a,l,h){"function"==typeof n&&(n=n(h||0,t));var u=r(t[e]),c="function"!==u?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f="get"!==i?i:c?a?t[c](a):t[c]():t[e],p="string"==typeof n&&"="===n.charAt(1),d={t:t,p:e,s:f,f:"function"===u,pg:0,n:s||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:p?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-f||0};if(("number"!=typeof f||"number"!=typeof n&&!p)&&(a||isNaN(f)||!p&&isNaN(n)||"boolean"==typeof f||"boolean"==typeof n?(d.fp=a,d={t:Y(f,p?parseFloat(d.s)+d.c+(d.s+"").replace(/[0-9\-\.]/g,""):n,l||D.defaultStringFilter,d),p:"setRatio",s:0,c:1,f:2,pg:0,n:s||e,pr:0,m:0}):(d.s=parseFloat(f),p||(d.c=parseFloat(n)-d.s||0))),d.c)return(d._next=this._firstPT)&&(d._next._prev=d),this._firstPT=d,d},j=D._internals={isArray:v,isSelector:F,lazyTweens:N,blobDif:Y},W=D._plugins={},V=j.tweenLookup={},H=0,U=j.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},G={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},q=M._rootFramesTimeline=new E,Z=M._rootTimeline=new E,$=30,Q=j.lazyRender=function(){var t,e=N.length;for(L={};--e>-1;)(t=N[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);N.length=0};Z._startTime=f.time,q._startTime=f.frame,Z._active=q._active=!0,setTimeout(Q,1),M._updateRoot=D.render=function(){var t,e,i;if(N.length&&Q(),Z.render((f.time-Z._startTime)*Z._timeScale,!1,!1),q.render((f.frame-q._startTime)*q._timeScale,!1,!1),N.length&&Q(),f.frame>=$){for(i in $=f.frame+(parseInt(D.autoSleep,10)||120),V){for(t=(e=V[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete V[i]}if((!(i=Z._first)||i._paused)&&D.autoSleep&&!q._first&&1===f._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||f.sleep()}}},f.addEventListener("tick",M._updateRoot);var K=function(t,e,i){var n,r,s=t._gsTweenID;if(V[s||(t._gsTweenID=s="t"+H++)]||(V[s]={target:t,tweens:[]}),e&&((n=V[s].tweens)[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return V[s].tweens},J=function(t,e,i,n){var r,s,o=t.vars.onOverwrite;return o&&(r=o(t,e,i,n)),(o=D.onOverwrite)&&(s=o(t,e,i,n)),!1!==r&&!1!==s},tt=function(t,e,i,n,r){var s,o,a,l;if(1===n||n>=4){for(l=r.length,s=0;s<l;s++)if((a=r[s])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===n)break;return o}var h,u=e._startTime+1e-10,c=[],f=0,p=0===e._duration;for(s=r.length;--s>-1;)(a=r[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(h=h||et(e,0,p),0===et(a,h,p)&&(c[f++]=a)):a._startTime<=u&&a._startTime+a.totalDuration()/a._timeScale>u&&((p||!a._initted)&&u-a._startTime<=2e-10||(c[f++]=a)));for(s=f;--s>-1;)if(a=c[s],2===n&&a._kill(i,t,e)&&(o=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!J(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},et=function(t,e,i){for(var n=t._timeline,r=n._timeScale,s=t._startTime;n._timeline;){if(s+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return(s/=r)>e?s-e:i&&s===e||!t._initted&&s-e<2e-10?1e-10:(s+=t.totalDuration()/t._timeScale/r)>e+1e-10?0:s-e-1e-10};c._init=function(){var t,e,i,n,r,s,o=this.vars,a=this._overwrittenProps,l=this._duration,h=!!o.immediateRender,u=o.ease;if(o.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},o.startAt)r[n]=o.startAt[n];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=h&&!1!==o.lazy,r.startAt=r.delay=null,r.onUpdate=o.onUpdate,r.onUpdateParams=o.onUpdateParams,r.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=D.to(this.target||{},0,r),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(o.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in 0!==this._time&&(h=!1),i={},o)U[n]&&"autoCSS"!==n||(i[n]=o[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==o.lazy,i.immediateRender=h,this._startAt=D.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=u=u?u instanceof b?u:"function"==typeof u?new b(u,o.easeParams):P[u]||D.defaultEase:D.defaultEase,o.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;t<s;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&D._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},c._initProps=function(t,e,n,r,s){var o,a,l,h,u,c;if(null==t)return!1;for(o in L[t._gsTweenID]&&Q(),this.vars.css||t.style&&t!==i&&t.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var i,n={};for(i in t)U[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!W[i]||W[i]&&W[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n}(this.vars,t),this.vars)if(c=this.vars[o],U[o])c&&(c instanceof Array||c.push&&v(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[o]=c=this._swapSelfInParams(c,this));else if(W[o]&&(h=new W[o])._onInitTween(t,this.vars[o],this,s)){for(this._firstPT=u={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:h._priority,m:0},a=h._overwriteProps.length;--a>-1;)e[h._overwriteProps[a]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else e[o]=B.call(this,t,o,"get",c,o,0,null,this.vars.stringFilter,s);return r&&this._kill(r,t)?this._initProps(t,e,n,r,s):this._overwrite>1&&this._firstPT&&n.length>1&&tt(t,this,e,this._overwrite,n)?(this._kill(e,t),this._initProps(t,e,n,r,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(L[t._gsTweenID]=!0),l)},c.render=function(t,e,i){var n,r,s,o,a=this._time,l=this._duration,h=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="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-7||1e-10===h&&"isPause"!==this.data)&&h!==t&&(i=!0,h>1e-10&&(r="onReverseComplete")),this._rawPrevTime=o=!e||t||h===t?t:1e-10);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&h>0)&&(r="onReverseComplete",n=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(h>=0&&(1e-10!==h||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=o=!e||t||h===t?t:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/l,c=this._easeType,f=this._easePower;(1===c||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===f?u*=u:2===f?u*=u*u:3===f?u*=u*u*u:4===f&&(u*=u*u*u*u),this.ratio=1===c?1-u:2===c?u:t/l<.5?u/2:1-u/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||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))return this._time=this._totalTime=a,this._rawPrevTime=h,N.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||e||this._callback("onStart"))),s=this._firstPT;s;)s.f?s.t[s.p](s.c*this.ratio+s.s):s.t[s.p]=s.c*this.ratio+s.s,s=s._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==a||n||i)&&this._callback("onUpdate")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-10===this._rawPrevTime&&1e-10!==o&&(this._rawPrevTime=0)))}},c._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:D.selector(e)||e;var n,s,o,a,l,h,u,c,f,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((v(e)||F(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(h=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){l=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;l=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(l){if(u=t||l,c=t!==s&&"all"!==s&&t!==l&&("object"!==(void 0===t?"undefined":r(t))||!t._tempKill),i&&(D.onOverwrite||this.vars.onOverwrite)){for(o in u)l[o]&&(f||(f=[]),f.push(o));if((f||!t)&&!J(this,i,e,f))return!1}for(o in u)(a=l[o])&&(p&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,h=!0),a.pg&&a.t._kill(u)&&(h=!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 l[o]),c&&(s[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return h},c.invalidate=function(){return this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],M.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},c._enabled=function(t,e){if(p||f.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=K(n[i],this,!0);else this._siblings=K(this.target,this,!0)}return M.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&D._onPluginEvent(t?"_onEnable":"_onDisable",this)},D.to=function(t,e,i){return new D(t,e,i)},D.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(t,e,i)},D.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new D(t,e,n)},D.delayedCall=function(t,e,i,n,r){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];var i,n,r,s;if(t="string"!=typeof t?t:D.selector(t)||t,(v(t)||F(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(D.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(s=n[i],r=i;--r>-1;)s===n[r]&&n.splice(i,1)}else if(t._gsTweenID)for(i=(n=K(t).concat()).length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n||[]},D.killTweensOf=D.killDelayedCallsTo=function(t,e,i){"object"===(void 0===e?"undefined":r(e))&&(i=e,e=!1);for(var n=D.getTweensOf(t,e),s=n.length;--s>-1;)n[s]._kill(i,t)};var it=T("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype},!0);if(c=it.prototype,it.version="1.19.0",it.API=2,c._firstPT=null,c._addTween=B,c.setRatio=z,c._kill=function(t){var e,i=this._overwriteProps,n=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(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},c._mod=c._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},D._onPluginEvent=function(t,e){var i,n,r,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:s)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:s=a,a=o}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(W[(new t[e])._propName]=t[e]);return!0},x.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=T("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){it.call(this,i,n),this._overwriteProps=r||[]},!0===t.global),a=o.prototype=new it(i);for(e in a.constructor=o,o.API=t.API,s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,it.activate([o]),o},h=i._gsQueue){for(u=0;u<h.length;u++)h[u]();for(c in y)y[c].func||i.console.log("GSAP encountered missing dependency: "+c)}p=!1}(void 0!==t&&t.exports&&void 0!==i?i:this||window)}).call(this,i(6))}});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement