Advertisement
Guest User

Untitled

a guest
Sep 10th, 2018
152
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 183.60 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=74)}({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],T=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),b=T.map={},w=T.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],b[s+"."+a]=b[a+s]=r[a]=t.getRatio?t:t[a]||new t};for((l=T.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 T(null,null,1,a),l,"easeOut",!0),w(new T(null,null,2,a),l,"easeIn"+(0===a?",easeNone":"")),w(new T(null,null,3,a),l,"easeInOut");b.linear=f.easing.Linear.easeIn,b.swing=f.easing.Quad.easeInOut;var x=v("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(l=x.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()},R=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()-R;u>p&&(c+=u-_),R+=u,l.time=(R-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")};x.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+=-R+(R=O()):l.frame>10&&(R=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 k=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,W){u||h.wake();var i=this.vars.useFrames?q:W;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=k.ticker=new f.Ticker,(l=k.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()-R>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||(M.length&&G(),this.render(t,e,!1),M.length&&G())}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 E=v("core.SimpleTimeline",function(t){k.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=E.prototype=new k).constructor=E,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 A=v("TweenLite",function(e,i,n){if(k.call(this,i,n),this.render=A.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:A.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?U[A.defaultOverwrite]:"number"==typeof l?l>>0:U[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--]=A.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),C=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=A.prototype=new k).constructor=A,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,A.version="1.20.5",A.defaultEase=l._ease=new T(null,null,1,1),A.defaultOverwrite="auto",A.ticker=h,A.autoSleep=120,A.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},A.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(A.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 M=[],D={},I=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,F=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},z=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=F,N.test(e)&&(c.end=null),c},L=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:z(f,p?parseFloat(d.s)+d.c+(d.s+"").replace(/[0-9\-\.]/g,""):n,l||A.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=A._internals={isArray:_,isSelector:C,lazyTweens:M,blobDif:z},X=A._plugins={},B=j.tweenLookup={},Y=0,H=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},U={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},q=k._rootFramesTimeline=new E,W=k._rootTimeline=new E,V=30,G=j.lazyRender=function(){var t,e=M.length;for(D={};--e>-1;)(t=M[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);M.length=0};W._startTime=h.time,q._startTime=h.frame,W._active=q._active=!0,setTimeout(G,1),k._updateRoot=A.render=function(){var t,e,i;if(M.length&&G(),W.render((h.time-W._startTime)*W._timeScale,!1,!1),q.render((h.frame-q._startTime)*q._timeScale,!1,!1),M.length&&G(),h.frame>=V){for(i in V=h.frame+(parseInt(A.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=W._first)||i._paused)&&A.autoSleep&&!q._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",k._updateRoot);var Z=function(t,e,i){var n,r,s=t._gsTweenID;if(B[s||(t._gsTweenID=s="t"+Y++)]||(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=A.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=A.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)H[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=A.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 T?u:"function"==typeof u?new T(u,o.easeParams):b[u]||A.defaultEase:A.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&&A._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]&&G(),this.vars.css||e.style&&e!==t&&e.nodeType&&X.css&&!1!==this.vars.autoCSS&&function(t,e){var i,n={};for(i in t)H[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!X[i]||X[i]&&X[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n}(this.vars,e),this.vars)if(c=this.vars[o],H[o])c&&(c instanceof Array||c.push&&_(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[o]=c=this._swapSelfInParams(c,this));else if(X[o]&&(h=new X[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]=L.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,M.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:A.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)||C(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&&(A.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&&A._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],k.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 k.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&A._onPluginEvent(t?"_onEnable":"_onDisable",this)},A.to=function(t,e,i){return new A(t,e,i)},A.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new A(t,e,i)},A.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new A(t,e,n)},A.delayedCall=function(t,e,i,n,r){return new A(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},A.set=function(t,e){return new A(t,0,e)},A.getTweensOf=function(t,e){if(null==t)return[];var i,n,r,s;if(t="string"!=typeof t?t:A.selector(t)||t,(_(t)||C(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(A.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||[]},A.killTweensOf=A.killDelayedCallsTo=function(t,e,i){"object"===(void 0===e?"undefined":r(e))&&(i=e,e=!1);for(var n=A.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=L,l.setRatio=F,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},A._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&&(X[(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,A}(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(71)(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,T=this._paused,b=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&&b!==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!==b&&!this._locked){var w=this._yoyo&&0!=(1&b),x=w===(this._yoyo&&0!=(1&this._cycle)),P=this._totalTime,S=this._cycle,O=this._rawPrevTime,R=this._time;if(this._totalTime=b*_,this._cycle<b?w=!w:this._totalTime+=_,this._time=p,this._rawPrevTime=0===_?y-1e-4:y,this._cycle=b,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(x&&(this._cycle=b,this._locked=!0,p=w?_+1e-4:-1e-4,this.render(p,!0,!1)),this._locked=!1,this._paused&&!T)return;this._time=R,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||T));)(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||T));){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=[],T=function(){h.onComplete&&h.onComplete.apply(h.onCompleteScope||this,arguments),c.apply(p||h.callbackScope||this,f||l)},b=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(b&&(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=T),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,T=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,P=/opacity:([^;]*)/i,S=/alpha\(opacity *=.+?\)/i,O=/^(rgb|hsl)/,R=/([A-Z])/g,k=/-([a-z])/gi,E=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,A=function(t,e){return e.toUpperCase()},C=/(?:Left|Right|Width)/i,M=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,D=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,F=Math.PI/180,z=180/Math.PI,L={},j={style:{}},X=n.k.document||{createElement:function(){return j}},B=function(t,e){return X.createElementNS?X.createElementNS(e||"http://www.w3.org/1999/xhtml",t):X.createElement(t)},Y=B("div"),H=B("img"),U=s._internals={_specialProps:l},q=(n.k.navigator||{}).userAgent||"",W=function(){var t=q.indexOf("Android"),e=B("a");return f=-1!==q.indexOf("Safari")&&-1===q.indexOf("Chrome")&&(-1===t||parseFloat(q.substr(t+8,2))>3),d=f&&parseFloat(q.substr(q.indexOf("Version/")+8,2))<6,p=-1!==q.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(q)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(q))&&(_=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),V=function(t){return x.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(t){n.k.console&&console.log(t)},Z="",$="",Q=function(t,e){var i,n,r=(e=e||Y).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:X.defaultView||{getComputedStyle:function(){}}).getComputedStyle,J=s.getStyle=function(t,e,i,n,r){var s;return W||"opacity"!==e?(!n&&t.style[e]?s=t.style[e]:(i=i||K(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(R,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==r||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:r):V(t)},tt=U.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=C.test(e),c=t,f=Y.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||X.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(Y),a=parseFloat(Y[u?"offsetWidth":"offsetHeight"]),c.removeChild(Y),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=U.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")&&Et!==r||(s[r.replace(k,A)]=e.getPropertyValue(r));else for(i in e)-1!==i.indexOf("Transform")&&kt!==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(k,A)]=e[i]);return W||(s.opacity=V(t)),n=Yt(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,Ct&&(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(b,"")?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&&jt(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(b,"")),i.oy=parseFloat(o.replace(b,"")),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: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},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(T)||[],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&&I.test(t)){for(d=t.replace(I,"|").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(T)||[]).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&&I.test(t)){for(s=t.replace(I,"|").split("|"),f=0;f<s.length;f++)s[f]=r(s[f]);return s.join(",")}if(f=(e=t.match(T)||[]).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=(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)}),yt=(U._parseToProxy=function(t,e,i,n,r,s){var o,a,l,h,u,c=n,f={},p={},d=i._transform,_=L;for(i._transform=null,L=e,n=u=i.parse(t,e,n,r),L=_,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}},U.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)}),Tt=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},bt=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,_,T,b,w,x,P,S,O,R,k,E=i.split(", ").join(",").split(" "),A=n.split(", ").join(",").split(" "),C=E.length,M=!1!==u;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(E=E.join(" ").replace(I,", ").split(" "),A=A.join(" ").replace(I,", ").split(" ")):(E=E.join(" ").split(",").join(", ").split(" "),A=A.join(" ").split(",").join(", ").split(" ")),C=E.length),C!==A.length&&(C=(E=(o||"").split(" ")).length),a.plugin=h,a.setRatio=c,_t.lastIndex=0,f=0;f<C;f++)if(_=E[f],T=A[f]+"",(x=parseFloat(_))||0===x)a.appendXtra("",x,lt(T,x),T.replace(y,""),!(!M||-1===T.indexOf("px"))&&Math.round,!0);else if(r&&_t.test(_))R=")"+((R=T.indexOf(")")+1)?T.substr(R):""),k=-1!==T.indexOf("hsl")&&W,S=T,_=pt(_,k),T=pt(T,k),(P=_.length+T.length>6)&&!W&&0===T[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(A[f]).join("transparent")):(W||(P=!1),k?a.appendXtra(S.substr(0,S.indexOf("hsl"))+(P?"hsla(":"hsl("),_[0],lt(T[0],_[0]),",",!1,!0).appendXtra("",_[1],lt(T[1],_[1]),"%,",!1).appendXtra("",_[2],lt(T[2],_[2]),P?"%,":"%"+R,!1):a.appendXtra(S.substr(0,S.indexOf("rgb"))+(P?"rgba(":"rgb("),_[0],T[0]-_[0],",",Math.round,!0).appendXtra("",_[1],T[1]-_[1],",",Math.round).appendXtra("",_[2],T[2]-_[2],P?",":R,Math.round),P&&(_=_.length<4?1:_[3],a.appendXtra("",_,(T.length<4?1:T[3])-_,R,!1))),_t.lastIndex=0;else if(b=_.match(v)){if(!(w=T.match(y))||w.length!==b.length)return a;for(d=0,p=0;p<b.length;p++)O=b[p],S=_.indexOf(O,d),a.appendXtra(_.substr(d,S-d),Number(O),lt(w[p],O),"",!(!M||"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]?" "+T:T;if(-1!==n.indexOf("=")&&a.data){for(R=a.xs0+a.data.s,f=1;f<a.l;f++)R+=a["xs"+f]+a.data["xn"+f];a.e=R+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 xt=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=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 xt(r[n],e)},St=U._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)):(G("Error: "+e+" js file not loaded."),s)}})}};(h=xt.prototype).parseComplex=function(t,e,i,n,r,s){var o,a,l,h,u,c,f=this.keyword;if(this.multi&&(I.test(i)||I.test(e)?(a=e.replace(I,"|").split("|"),l=i.replace(I,"|").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)},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,Rt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),kt=Q("transform"),Et=Z+"transform",At=Q("transformOrigin"),Ct=null!==Q("perspective"),Mt=U.Transform=function(){this.perspective=parseFloat(s.defaultTransformPerspective)||0,this.force3D=!(!1===s.defaultForce3D||!Ct)&&(s.defaultForce3D||"auto")},Dt=n.k.SVGElement,It=function(t,e,i){var n,r=X.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=X.documentElement||{},Ft=function(){var t,e,i,r=_||/Android/i.test(q)&&!n.k.chrome;return X.createElementNS&&!r&&(t=It("svg",Nt),i=(e=It("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[At]="50% 50%",e.style[kt]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(p&&Ct),Nt.removeChild(t)),r}(),zt=function(t,e,i,n,r,o){var a,l,h,u,c,f,p,d,_,m,g,v,y,T,b=t._gsTransform,w=Bt(t,!0);b&&(y=b.xOrigin,T=b.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!==Xt&&(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)),b&&(o&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),r||!1!==r&&!1!==s.defaultSmoothOrigin?(l=u-y,h=c-T,b.xOffset+=l*w[0]+h*w[2]-l,b.yOffset+=l*w[1]+h*w[3]-h):b.xOffset=b.yOffset=0),o||t.setAttribute("data-svg-origin",a.join(" "))},Lt=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)}},jt=function(t){return!(!Dt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Lt(t))},Xt=[1,0,0,1,0,0],Bt=function(t,e){var i,n,r,s,o,a,l=t._gsTransform||new Mt,h=t.style;if(kt?n=J(t,Et,null,!0):t.currentStyle&&(n=(n=t.currentStyle.filter.match(M))&&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,!kt||!(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,Et,null,!0))||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,s?h.display=s:a&&Wt(h,"display"),o&&Nt.removeChild(t)),(l.svg||t.getCTM&&jt(t))&&(i&&-1!==(h[kt]+"").indexOf("matrix")&&(n=h[kt],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 Xt;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},Yt=U.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 Mt,p=f.scaleX<0,d=Ct&&(parseFloat(J(t,At,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(s.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!jt(t)),f.svg&&(zt(t,J(t,At,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=s.useSVGTransformAttr||Ft),(o=Bt(t))!==Xt){if(16===o.length){var m,g,v,y,T,b=o[0],w=o[1],x=o[2],P=o[3],S=o[4],O=o[5],R=o[6],k=o[7],E=o[8],A=o[9],C=o[10],M=o[12],D=o[13],I=o[14],N=o[11],F=Math.atan2(R,C);f.zOrigin&&(M=E*(I=-f.zOrigin)-o[12],D=A*I-o[13],I=C*I+f.zOrigin-o[14]),f.rotationX=F*z,F&&(m=S*(y=Math.cos(-F))+E*(T=Math.sin(-F)),g=O*y+A*T,v=R*y+C*T,E=S*-T+E*y,A=O*-T+A*y,C=R*-T+C*y,N=k*-T+N*y,S=m,O=g,R=v),F=Math.atan2(-x,C),f.rotationY=F*z,F&&(g=w*(y=Math.cos(-F))-A*(T=Math.sin(-F)),v=x*y-C*T,A=w*T+A*y,C=x*T+C*y,N=P*T+N*y,b=m=b*y-E*T,w=g,x=v),F=Math.atan2(w,b),f.rotation=F*z,F&&(m=b*(y=Math.cos(F))+w*(T=Math.sin(F)),g=S*y+O*T,v=E*y+A*T,w=w*y-b*T,O=O*y-S*T,A=A*y-E*T,b=m,S=g,E=v),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),F=Math.atan2(S,O),f.scaleX=(1e5*Math.sqrt(b*b+w*w+x*x)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(O*O+R*R)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(E*E+A*A+C*C)+.5|0)/1e5,b/=f.scaleX,S/=f.scaleY,w/=f.scaleX,O/=f.scaleY,Math.abs(F)>2e-5?(f.skewX=F*z,S=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(F))):f.skewX=0,f.perspective=N?1/(N<0?-N:N):0,f.x=M,f.y=D,f.z=I,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*b-f.yOrigin*S),f.y-=f.yOrigin-(f.yOrigin*w-f.xOrigin*O))}else if(!Ct||r||!o.length||f.x!==o[4]||f.y!==o[5]||!f.rotationX&&!f.rotationY){var L=o.length>=6,j=L?o[0]:1,X=o[1]||0,B=o[2]||0,Y=L?o[3]:1;f.x=o[4]||0,f.y=o[5]||0,l=Math.sqrt(j*j+X*X),h=Math.sqrt(Y*Y+B*B),u=j||X?Math.atan2(X,j)*z:f.rotation||0,c=B||Y?Math.atan2(B,Y)*z+u:f.skewX||0,f.scaleX=l,f.scaleY=h,f.rotation=u,f.skewX=c,Ct&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*j+f.yOrigin*B),f.y-=f.yOrigin-(f.xOrigin*X+f.yOrigin*Y))}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[kt]?n.l.delayedCall(.001,function(){Wt(t.style,kt)}):!Ot&&t.getAttribute("transform")&&n.l.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Ht=function(t){var e,i,n=this.data,r=-n.rotation*F,s=r+n.skewX*F,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,T=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),T+=p-(f*l+p*h)),v+=g?", Dx="+((f=d/2)-(f*o+(p=m/2)*a)+y)+", Dy="+(p-(f*l+p*h)+T)+")":", 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")||x.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!g){var b,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+T),wt=0;wt<4;wt++)S=(i=-1!==(b=c[P=st[wt]]).indexOf("px")?parseFloat(b):tt(this.t,P,parseFloat(b),b.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"}}},Ut=U.set3DTransformRatio=U.setTransformRatio=function(t){var e,i,n,r,s,o,a,l,h,u,c,f,d,_,m,g,v,y,T,b,w,x=this.data,P=this.t.style,S=x.rotation,O=x.rotationX,R=x.rotationY,k=x.scaleX,E=x.scaleY,A=x.scaleZ,C=x.x,M=x.y,D=x.z,I=x.svg,N=x.perspective,z=x.force3D,L=x.skewY,j=x.skewX;if(L&&(j+=L,S+=L),!((1!==t&&0!==t||"auto"!==z||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&z||D||N||R||O||1!==A)||Ot&&I||!Ct)S||j||I?(S*=F,b=j*F,w=1e5,i=Math.cos(S)*k,s=Math.sin(S)*k,n=Math.sin(S-b)*-E,o=Math.cos(S-b)*E,b&&"simple"===x.skewType&&(e=Math.tan(b-L*F),n*=e=Math.sqrt(1+e*e),o*=e,L&&(e=Math.tan(L*F),i*=e=Math.sqrt(1+e*e),s*=e)),I&&(C+=x.xOrigin-(x.xOrigin*i+x.yOrigin*n)+x.xOffset,M+=x.yOrigin-(x.xOrigin*s+x.yOrigin*o)+x.yOffset,Ot&&(x.xPercent||x.yPercent)&&(m=this.t.getBBox(),C+=.01*x.xPercent*m.width,M+=.01*x.yPercent*m.height),C<(m=1e-6)&&C>-m&&(C=0),M<m&&M>-m&&(M=0)),T=(i*w|0)/w+","+(s*w|0)/w+","+(n*w|0)/w+","+(o*w|0)/w+","+C+","+M+")",I&&Ot?this.t.setAttribute("transform","matrix("+T):P[kt]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix(":"matrix(")+T):P[kt]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix(":"matrix(")+k+",0,0,"+E+","+C+","+M+")";else{if(p&&(k<(m=1e-4)&&k>-m&&(k=A=2e-5),E<m&&E>-m&&(E=A=2e-5),!N||x.z||x.rotationX||x.rotationY||(N=0)),S||j)S*=F,g=i=Math.cos(S),v=s=Math.sin(S),j&&(S-=j*F,g=Math.cos(S),v=Math.sin(S),"simple"===x.skewType&&(e=Math.tan((j-L)*F),g*=e=Math.sqrt(1+e*e),v*=e,x.skewY&&(e=Math.tan(L*F),i*=e=Math.sqrt(1+e*e),s*=e))),n=-v,o=g;else{if(!(R||O||1!==A||N||I))return void(P[kt]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) translate3d(":"translate3d(")+C+"px,"+M+"px,"+D+"px)"+(1!==k||1!==E?" scale("+k+","+E+")":""));i=o=1,n=s=0}u=1,r=a=l=h=c=f=0,d=N?-1/N:0,_=x.zOrigin,m=1e-6,",","0",(S=R*F)&&(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*F)&&(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!==A&&(r*=A,a*=A,u*=A,d*=A),1!==E&&(n*=E,o*=E,h*=E,f*=E),1!==k&&(i*=k,s*=k,l*=k,c*=k),(_||I)&&(_&&(C+=r*-_,M+=a*-_,D+=u*-_+_),I&&(C+=x.xOrigin-(x.xOrigin*i+x.yOrigin*n)+x.xOffset,M+=x.yOrigin-(x.xOrigin*s+x.yOrigin*o)+x.yOffset),C<m&&C>-m&&(C="0"),M<m&&M>-m&&(M="0"),D<m&&D>-m&&(D=0)),T=x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix3d(":"matrix3d(",T+=(i<m&&i>-m?"0":i)+","+(s<m&&s>-m?"0":s)+","+(l<m&&l>-m?"0":l),T+=","+(c<m&&c>-m?"0":c)+","+(n<m&&n>-m?"0":n)+","+(o<m&&o>-m?"0":o),O||R||1!==A?(T+=","+(h<m&&h>-m?"0":h)+","+(f<m&&f>-m?"0":f)+","+(r<m&&r>-m?"0":r),T+=","+(a<m&&a>-m?"0":a)+","+(u<m&&u>-m?"0":u)+","+(d<m&&d>-m?"0":d)+","):T+=",0,0,0,0,1,0,",T+=C+","+M+","+D+","+(N?1+-D/N:1)+")",P[kt]=T}};(h=Mt.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,T,b,w,x=t._gsTransform,P=t.style,S=Rt.length,O=h,R={},k=Yt(t,i,!0,O.parseTransform),E=O.transform&&("function"==typeof O.transform?O.transform(g,m):O.transform);if(k.skewType=O.skewType||k.skewType||s.defaultSkewType,r._transform=k,E&&"string"==typeof E&&kt)(p=Y.style)[kt]=E,p.display="block",p.position="absolute",-1!==E.indexOf("%")&&(p.width=J(t,"width"),p.height=J(t,"height")),X.body.appendChild(Y),f=Yt(Y,null,!1),"simple"===k.skewType&&(f.scaleY*=Math.cos(f.skewX*F)),k.svg&&(y=k.xOrigin,T=k.yOrigin,f.x-=k.xOffset,f.y-=k.yOffset,(O.transformOrigin||O.svgOrigin)&&(E={},zt(t,at(O.transformOrigin),E,O.svgOrigin,O.smoothOrigin,!0),y=E.xOrigin,T=E.yOrigin,f.x-=E.xOffset-k.xOffset,f.y-=E.yOffset-k.yOffset),(y||T)&&(b=Bt(Y,!0),f.x-=y-(y*b[0]+T*b[2]),f.y-=T-(y*b[1]+T*b[3]))),X.body.removeChild(Y),f.perspective||(f.perspective=k.perspective),null!=O.xPercent&&(f.xPercent=ht(O.xPercent,k.xPercent)),null!=O.yPercent&&(f.yPercent=ht(O.yPercent,k.yPercent));else if("object"===(void 0===O?"undefined":a(O))){if(f={scaleX:ht(null!=O.scaleX?O.scaleX:O.scale,k.scaleX),scaleY:ht(null!=O.scaleY?O.scaleY:O.scale,k.scaleY),scaleZ:ht(O.scaleZ,k.scaleZ),x:ht(O.x,k.x),y:ht(O.y,k.y),z:ht(O.z,k.z),xPercent:ht(O.xPercent,k.xPercent),yPercent:ht(O.yPercent,k.yPercent),perspective:ht(O.transformPerspective,k.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,k.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(f.y=0,f.yPercent=ht(O.y,k.yPercent)),f.rotation=ut("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:k.rotation,k.rotation,"rotation",R),Ct&&(f.rotationX=ut("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":k.rotationX||0,k.rotationX,"rotationX",R),f.rotationY=ut("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":k.rotationY||0,k.rotationY,"rotationY",R)),f.skewX=ut(O.skewX,k.skewX),f.skewY=ut(O.skewY,k.skewY)}for(Ct&&null!=O.force3D&&(k.force3D=O.force3D,_=!0),(d=k.force3D||k.z||k.rotationX||k.rotationY||f.z||f.rotationX||f.rotationY||f.perspective)||null==O.scale||(f.scaleZ=1);--S>-1;)((E=f[w=Rt[S]]-k[w])>1e-6||E<-1e-6||null!=O[w]||null!=L[w])&&(_=!0,o=new yt(k,w,k[w],E,o),w in R&&(o.e=R[w]),o.xs0=0,o.plugin=l,r._overwriteProps.push(o.n));return E=O.transformOrigin,k.svg&&(E||O.svgOrigin)&&(y=k.xOffset,T=k.yOffset,zt(t,at(E),f,O.svgOrigin,O.smoothOrigin),o=Tt(k,"xOrigin",(x?k:f).xOrigin,f.xOrigin,o,"transformOrigin"),o=Tt(k,"yOrigin",(x?k:f).yOrigin,f.yOrigin,o,"transformOrigin"),y===k.xOffset&&T===k.yOffset||(o=Tt(k,"xOffset",x?y:k.xOffset,k.xOffset,o,"transformOrigin"),o=Tt(k,"yOffset",x?T:k.yOffset,k.yOffset,o,"transformOrigin")),E="0px 0px"),(E||Ct&&d&&k.zOrigin)&&(kt?(_=!0,w=At,E=(E||J(t,w,i,!1,"50% 50%"))+"",(o=new yt(P,w,0,0,o,-1,"transformOrigin")).b=P[w],o.plugin=l,Ct?(p=k.zOrigin,E=E.split(" "),k.zOrigin=(E.length>2&&(0===p||"0px"!==E[2])?parseFloat(E[2]):p)||0,o.xs0=o.e=E[0]+" "+(E[1]||"50%")+" 0px",(o=new yt(k,"zOrigin",0,0,o,-1,o.n)).b=p,o.xs0=o.e=k.zOrigin):o.xs0=o.e=E):at(E+"",k)),_&&(r._transformType=k.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,T,b,w,x,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),(T="="===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&&(b=tt(t,"borderLeft",d,y),w=tt(t,"borderTop",d,y),"%"===v?(f=b/m*100+"%",c=w/g*100+"%"):"em"===v?(f=b/(x=tt(t,"borderLeft",1,"em"))+"em",c=w/x+"em"):(f=b+"px",c=w+"px"),T&&(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:mt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,n,r,s,o){return bt(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(E,""))&&"none"!==f){for(a=m.split(" "),l=g.split(" "),H.setAttribute("src",f),h=2;--h>-1;)(u=-1!==(m=a[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(c=0===h?t.offsetWidth-H.width:t.offsetHeight-H.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 qt=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(x,"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),W?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=qt),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 Wt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(R,"-$1").toLowerCase())):t.removeAttribute(e))},Vt=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:Wt(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=Vt,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 Gt=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?At:l[i].p),Wt(o,i);r&&(Wt(o,kt),(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=Gt,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,T,b,w,x,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,!W&&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,kt?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;x=new yt(n,"transform",0,0,null,2),this._linkCSSP(x,null,v),x.setRatio=kt?Ut:Ht,x.data=this._transform||Yt(n,i,!0),x.tween=a,x.pr=-1,r.pop()}if(t){for(;_;){for(b=_._next,v=y;v&&v.pr>_.pr;)v=v._next;(_._prev=v?v._prev:T)?_._prev._next=_:y=_,(_._next=v)?v._prev=_:T=_,_=b}this._firstPT=y}return!0},h.parse=function(t,n,r,s){var o,a,h,c,f,p,d,_,v,y,T=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=bt(T,o,f,p,!0,"transparent",r,0,s)):v&&N.test(p)?r=bt(T,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!==T[o]&&(p||p+""!="NaN"&&null!=p)?(r=new yt(T,o,c||h||0,0,r,-1,o,!1,0,f,p)).xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:f:G("invalid "+o+" tween value: "+n[o]):(r=new yt(T,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||Yt(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=[],T=[],b={},w=n.k._gsDefine.globals,x=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,b=t.length-1,w=0,x=t[0].a;for(s=0;s<b;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:T[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?x:x=h.a+.6*(h.c-h.a),h.da=a-o,h.ca=p-o,h.ba=x-o,i?(d=P(o,x,p,a),t.splice(w,1,d[0],d[1],d[2],d[3]),w+=4):w++,x=c;(h=t[w]).b=x,h.c=x+.4*(h.d-x),h.da=h.d-h.a,h.ca=h.c-h.a,h.ba=x-h.a,i&&(d=P(h.a,x,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 x(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 x(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 x(t[s][e],0,0,t[s+1][e]),u},R=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=T.length=0,o=_.length;--o>-1;)a=_[o],b[a]=-1!==r.indexOf(","+a+","),d[a]=O(t,a,b[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(b[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,T[h]=(T[h]||0)+u*u;for(o=T.length;--o>-1;)T[o]=Math.sqrt(T[o])}for(o=_.length,h=i?4:1;--o>-1;)l=d[a=_[o]],S(l,e,i,n,b[a]),f&&(l.splice(0,h),l.splice(l.length-h,h));return d},k=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},E=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?R(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 x(n,r,s,o):new x(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)k(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,T,b,w,x=this._autoRotate;for(n=x.length;--n>-1;)r=x[n][2],b=x[n][3]||0,w=!0===x[n][4]?1:g,s=this._beziers[x[n][0]],_=this._beziers[x[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+=((T=_.b+(_.c-_.b)*o)-v)*o,T+=(_.c+(_.d-_.c)*o-T)*o,a=d?Math.atan2(T-v,y-m)*w+b:this._initialRotations[n],this._mod[r]&&(a=this._mod[r](a,p)),f[r]?p[r](a):p[r]=a)}}}),A=E.prototype;E.bezierThrough=R,E.cubicToQuadratic=P,E._autoCSS=!0,E.quadraticToCubic=function(t,e,i){return new x(t,(2*e+t)/3,(2*e+i)/3,i)},E._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 E;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}})}},A._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)},A._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 C=n.k.Back,M=n.k.Elastic,D=n.k.Bounce,I=n.k.RoughEase,N=n.k.SlowMo,F=n.k.SteppedEase,z=n.k.Circ,L=n.k.Expo,j=n.k.Sine,X=n.k.ExpoScaleEase,B=o;B._autoActivated=[r,s,l,h,E,c,m,C,M,D,I,N,F,z,L,j,X],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 E}),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 C}),i.d(e,"Elastic",function(){return M}),i.d(e,"Bounce",function(){return D}),i.d(e,"RoughEase",function(){return I}),i.d(e,"SlowMo",function(){return N}),i.d(e,"SteppedEase",function(){return F}),i.d(e,"Circ",function(){return z}),i.d(e,"Expo",function(){return L}),i.d(e,"Sine",function(){return j}),i.d(e,"ExpoScaleEase",function(){return X}),i.d(e,"_gsScope",function(){return n.k})},10: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}},2:function(t,e,i){"use strict";i.d(e,"a",function(){return n}),i.d(e,"b",function(){return r});var n=document.querySelector.bind(document),r=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)},T=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},b=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(b)},x=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 x({type:"resize"}),t&&b(),l},this.scrollTo=function(e,i){if(n.type.Number(e))T.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))T=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",x),h.container.removeEventListener("scroll",x),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",x),h.container.addEventListener("scroll",x),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?b():"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(),T(!0),b(!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&&R(!0);else s.updateScene(l,!1);return l},this.refresh=function(){return T(),b(),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||R(),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},T=function(t){r&&S("duration",r.call(l))&&!t&&(l.trigger("change",{what:"duration",newval:h.duration}),l.trigger("shift",{reason:"duration"}))},b=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"})},x=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(x)).forEach(function(t,e){var i;if(x[t])try{i=x[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)&&R(),e&&k()}).on("progress.internal",function(t){R()}).on("add.internal",function(t){k()}).on("destroy.internal",function(t){l.removePin(t.reset)});var R=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&&k()}else{"fixed"!=n.css(i,"position")&&(n.css(i,{position:"fixed"}),k());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})}}},k=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)}},E=function(){s&&g&&"DURING"===u&&!s.info("isDocument")&&R()},A=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))&&k()},C=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",E),window.addEventListener("resize",E),window.addEventListener("resize",A),g.addEventListener("mousewheel",C),g.addEventListener("DOMMouseScroll",C),m(3,"added pin"),R(),l},this.removePin=function(t){if(g){if("DURING"===u&&R(!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",E),window.removeEventListener("resize",E),window.removeEventListener("resize",A),g.removeEventListener("mousewheel",C),g.removeEventListener("DOMMouseScroll",C),g=void 0,m(3,"removed pin (reset: "+(t?"true":"false")+")")}return l};var M,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(),M=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,M)})}),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,M)}),l.off("start.internal_class end.internal_class"),M=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},66: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)})},67:function(t,e,i){},70: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};
  104. /*!
  105. * ScrollMagic v2.0.5 (2015-04-29)
  106. * The javascript library for magical scroll interactions.
  107. * (c) 2015 Jan Paepke (@janpaepke)
  108. * Project Website: http://scrollmagic.io
  109. *
  110. * @version 2.0.5
  111. * @license Dual licensed under MIT license and GPL.
  112. * @author Jan Paepke - e-mail@janpaepke.de
  113. *
  114. * @file ScrollMagic GSAP Animation Plugin.
  115. *
  116. * requires: GSAP ~1.14
  117. * Powered by the Greensock Animation Platform (GSAP): http://www.greensock.com/js
  118. * Greensock License info at http://www.greensock.com/licensing/
  119. */
  120. !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}})})},71: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}},72:function(t,e){e.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight},e.viewportWidth=function(){return window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth},e.elementHeight=function(t){return document.getElementById(t).offsetHeight}},73: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};
  121. /*! Hammer.JS - v2.0.7 - 2016-04-22
  122. * http://hammerjs.github.io/
  123. *
  124. * Copyright (c) 2016 Jorik Tangelder;
  125. * Licensed under the MIT license */
  126. !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(x(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 T=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`."),b=y(function(t,e){return T(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 x(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(A(e),function(e){t.addEventListener(e,i,!1)})}function R(t,e,i){v(A(e),function(e){t.removeEventListener(e,i,!1)})}function k(t,e){for(;t;){if(t==e)return!0;t=t.parentNode}return!1}function E(t,e){return t.indexOf(e)>-1}function A(t){return t.trim().split(/\s+/g)}function C(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 M(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];C(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 I(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 F(t){var e=t.ownerDocument||t;return e.defaultView||e.parentWindow||s}var z="ontouchstart"in s,L=I(s,"PointerEvent")!==l,j=z&&/mobile|tablet|ip(ad|hone|od)|android/i.test(navigator.userAgent),X=25,B=1,Y=2,H=4,U=8,q=1,W=2,V=4,G=8,Z=16,$=W|V,Q=G|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&(H|U)&&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!==H||(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!=U&&(a>X||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;k(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?q:d(t)>=d(e)?t<0?W:V:e<0?G: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(F(this.element),this.evWin,this.domHandler)},destroy:function(){this.evEl&&R(this.element,this.evEl,this.domHandler),this.evTarget&&R(this.target,this.evTarget,this.domHandler),this.evWin&&R(F(this.element),this.evWin,this.domHandler)}};var ht={mousedown:B,mousemove:Y,mouseup:H},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&Y&&1!==t.which&&(e=H),this.pressed&&(e&H&&(this.pressed=!1),this.callback(this.manager,e,{pointers:[t],changedPointers:[t],pointerType:"mouse",srcEvent:t}))}});var pt={pointerdown:B,pointermove:Y,pointerup:H,pointercancel:U,pointerout:U},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=C(e,t.pointerId,"pointerId");r&B&&(0===t.button||o)?a<0&&(e.push(t),a=e.length-1):r&(H|U)&&(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:Y,touchend:H,touchcancel:U},yt="touchstart",Tt="touchstart touchmove touchend touchcancel";function bt(){this.evTarget=yt,this.evWin=Tt,this.started=!1,et.apply(this,arguments)}w(bt,et,{handler:function(t){var e=vt[t.type];if(e===B&&(this.started=!0),this.started){var i=function(t,e){var i=M(t.touches),n=M(t.changedTouches);e&(H|U)&&(i=D(i.concat(n),"identifier",!0));return[i,n]}.call(this,t,e);e&(H|U)&&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:Y,touchend:H,touchcancel:U},xt="touchstart touchmove touchend touchcancel";function Pt(){this.evTarget=xt,this.targetIds={},et.apply(this,arguments)}w(Pt,et,{handler:function(t){var e=wt[t.type],i=function(t,e){var i=M(t.touches),n=this.targetIds;if(e&(B|Y)&&1===i.length)return n[i[0].identifier]=!0,[i,i];var r,s,o=M(t.changedTouches),a=[],l=this.target;if(s=i.filter(function(t){return k(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&(H|U)&&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 Rt(){et.apply(this,arguments);var t=x(this.handler,this);this.touch=new Pt(this.manager,t),this.mouse=new ft(this.manager,t),this.primaryTouch=null,this.lastTouches=[]}function kt(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(Rt,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,kt.call(this,e)):t&(H|U)&&kt.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 Et=I(c.style,"touchAction"),At=Et!==l,Ct="auto",Mt="manipulation",Dt="none",It="pan-x",Nt="pan-y",Ft=function(){if(!At)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 zt(t,e){this.manager=t,this.set(e)}zt.prototype={set:function(t){"compute"==t&&(t=this.compute()),At&&this.manager.element.style&&Ft[t]&&(this.manager.element.style[Et]=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(E(t,Dt))return Dt;var e=E(t,It),i=E(t,Nt);if(e&&i)return Dt;if(e||i)return e?It:Nt;if(E(t,Mt))return Mt;return Ct}(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=E(n,Dt)&&!Ft[Dt],s=E(n,Nt)&&!Ft[Nt],o=E(n,It)&&!Ft[It];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 Lt=1,jt=2,Xt=4,Bt=8,Yt=Bt,Ht=16;function Ut(t){this.options=h({},this.defaults,t||{}),this.id=N++,this.manager=null,this.options.enable=S(this.options.enable,!0),this.state=Lt,this.simultaneous={},this.requireFail=[]}function qt(t){return t&Ht?"cancel":t&Bt?"end":t&Xt?"move":t&jt?"start":""}function Wt(t){return t==Z?"down":t==G?"up":t==W?"left":t==V?"right":""}function Vt(t,e){var i=e.manager;return i?i.get(t):t}function Gt(){Ut.apply(this,arguments)}function Zt(){Gt.apply(this,arguments),this.pX=null,this.pY=null}function $t(){Gt.apply(this,arguments)}function Qt(){Ut.apply(this,arguments),this._timer=null,this._input=null}function Kt(){Gt.apply(this,arguments)}function Jt(){Gt.apply(this,arguments)}function te(){Ut.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)}Ut.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=Vt(t,this)).id]||(e[t.id]=t,t.recognizeWith(this)),this},dropRecognizeWith:function(t){return g(t,"dropRecognizeWith",this)?this:(t=Vt(t,this),delete this.simultaneous[t.id],this)},requireFailure:function(t){if(g(t,"requireFailure",this))return this;var e=this.requireFail;return-1===C(e,t=Vt(t,this))&&(e.push(t),t.requireFailure(this)),this},dropRequireFailure:function(t){if(g(t,"dropRequireFailure",this))return this;t=Vt(t,this);var e=C(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+qt(i)),n(e.options.event),t.additionalEvent&&n(t.additionalEvent),i>=Bt&&n(e.options.event+qt(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|Lt)))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&(Yt|Ht|32)&&(this.state=Lt),this.state=this.process(e),this.state&(jt|Xt|Bt|Ht)&&this.tryEmit(e)},process:function(t){},getTouchAction:function(){},reset:function(){}},w(Gt,Ut,{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&(jt|Xt),r=this.attrTest(t);return n&&(i&U||!r)?e|Ht:n||r?i&H?e|Bt:e&jt?e|Xt:jt:32}}),w(Zt,Gt,{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(It),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?q:s<0?W:V,i=s!=this.pX,n=Math.abs(t.deltaX)):(r=0===o?q:o<0?G:Z,i=o!=this.pY,n=Math.abs(t.deltaY))),t.direction=r,i&&n>e.threshold&&r&e.direction},attrTest:function(t){return Gt.prototype.attrTest.call(this,t)&&(this.state&jt||!(this.state&jt)&&this.directionTest(t))},emit:function(t){this.pX=t.deltaX,this.pY=t.deltaY;var e=Wt(t.direction);e&&(t.additionalEvent=this.options.event+e),this._super.emit.call(this,t)}}),w($t,Gt,{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&jt)},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,Ut,{defaults:{event:"press",pointers:1,time:251,threshold:9},getTouchAction:function(){return[Ct]},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&(H|U)&&!r)this.reset();else if(t.eventType&B)this.reset(),this._timer=m(function(){this.state=Yt,this.tryEmit()},e.time,this);else if(t.eventType&H)return Yt;return 32},reset:function(){clearTimeout(this._timer)},emit:function(t){this.state===Yt&&(t&&t.eventType&H?this.manager.emit(this.options.event+"up",t):(this._input.timeStamp=_(),this.manager.emit(this.options.event,this._input)))}}),w(Kt,Gt,{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&jt)}}),w(Jt,Gt,{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&H},emit:function(t){var e=Wt(t.offsetDirection);e&&this.manager.emit(this.options.event+e,t),this.manager.emit(this.options.event,t)}}),w(te,Ut,{defaults:{event:"tap",pointers:1,taps:1,interval:300,time:250,threshold:9,posThreshold:10},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.reset(),t.eventType&B&&0===this.count)return this.failTimeout();if(n&&r&&i){if(t.eventType!=H)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=Yt,this.tryEmit()},e.interval,this),jt):Yt}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==Yt&&(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||(L?gt:j?Pt:z?Rt:ft))(t,it)}(this),this.touchAction=new zt(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=I(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&Yt)&&(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&(jt|Xt|Bt)&&(r=e.curRecognizer=i),s++}},get:function(t){if(t instanceof Ut)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=C(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(A(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(A(t),function(t){e?i[t]&&i[t].splice(C(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:Y,INPUT_END:H,INPUT_CANCEL:U,STATE_POSSIBLE:Lt,STATE_BEGAN:jt,STATE_CHANGED:Xt,STATE_ENDED:Bt,STATE_RECOGNIZED:Yt,STATE_CANCELLED:Ht,STATE_FAILED:32,DIRECTION_NONE:q,DIRECTION_LEFT:W,DIRECTION_RIGHT:V,DIRECTION_UP:G,DIRECTION_DOWN:Z,DIRECTION_HORIZONTAL:$,DIRECTION_VERTICAL:Q,DIRECTION_ALL:K,Manager:ie,Input:et,TouchAction:zt,TouchInput:Pt,MouseInput:ft,PointerEventInput:gt,TouchMouseInput:Rt,SingleTouchInput:bt,Recognizer:Ut,AttrRecognizer:Gt,Tap:te,Pan:Zt,Swipe:Jt,Pinch:$t,Rotate:Kt,Press:Qt,on:O,off:R,each:v,merge:b,extend:T,assign:h,inherit:w,bindFn:x,prefixed:I}),(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)},74:function(t,e,i){"use strict";i.r(e);i(8),i(66);var n=i(2),r=(i(67),i(4)),s=i.n(r),o=(i(70),i(1)),a=i(72),l={controller:new s.a.Controller,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,{alpha:0,ease:Power4.easeOut},{delay:.2,alpha: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,e=100*Math.floor(a.elementHeight("main")/a.viewportHeight()),i={to:360};t.fromTo("#read-progress",3,{width:"0%"},{delay:0,width:"100%",ease:Linear.easeNone},0).to(i,3,{to:0,onUpdate:function(){var t=Math.ceil(i.to/60);Object(n.a)("#read-val").innerHTML=t+" minutes left",t<=1?o.TweenMax.set("#read-val",{className:"+=hidden"}):o.TweenMax.set("#read-val",{className:"-=hidden"})},ease:Linear.easeNone},0);new s.a.Scene({triggerElement:"#app",duration:e+"%"}).setTween(t).addTo(this.controller)},animatePieChart:function(){var t=new o.TimelineMax;t.staggerFromTo("#pieTextAnim span",1,{x:"-=100%",opacity:0},{x:"+=100%",opacity:1,ease:Power2.easeOut},.33);new s.a.Scene({triggerElement:"#pieTextAnim",triggerHook:1}).setTween(t).addTo(this.controller);var e=new o.TimelineMax;e.fromTo("#pieanim1",1,{opacity:0,y:-100},{opacity:1,y:0},0).fromTo("#pieanim2",1,{opacity:0,x:100},{opacity:1,x:0},0).fromTo("#pieanim3",1,{opacity:0,y:100},{opacity:1,y:0},0);new s.a.Scene({triggerElement:"#pieTrigger2",triggerHook:1}).setTween(e).addTo(this.controller)},animateBrandChart:function(){var t=new o.TimelineMax;t.set("#BrandDialProgress",{transformOrigin:"50% 50%",rotation:-90}),t.set("#brandMessages g",{opacity:0}),t.set("#brandIcons .brandIcon",{opacity:0}),t.set("#BrandRings",{transformOrigin:"50% 50%",scale:0});var e={to:0};t.to("#BrandRings",1,{scale:1,ease:Power2.easeOut}).staggerTo("#brandIcons .brandIcon",.2,{opacity:1,ease:Power2.easeIn},.1,"-=0.3").staggerTo("#brandMessages g",.2,{opacity:1,ease:Power2.easeIn},.1,"-=0.1").to("#BrandDialProgress",3.8,{strokeDashoffset:0,ease:Linear.easeNone},0).to(e,3.8,{to:60,onUpdate:function(){Object(n.a)("#BrandDialTime").innerHTML=Math.ceil(e.to)},ease:Linear.easeNone},0);new s.a.Scene({triggerElement:"#brandChartAnimation",triggerHook:1}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller);var i=new o.TimelineMax;i.set("#mobileTrigger>div",{opacity:0,x:"+=100"}),i.staggerTo("#mobileTrigger>div",.3,{opacity:1,x:0,ease:Power2.easeOut},.15);new s.a.Scene({triggerElement:"#mobileTrigger",triggerHook:1}).setTween(i).on("start",function(t){i.time(0)}).addTo(this.controller)},animateHeroCopy:function(){var t=this;Object(n.b)(".hero-block.scene").forEach(function(e){var i=e.querySelector("h1"),n=new o.TimelineMax;n.fromTo(i,1,{scale:.5,y:400},{scale:1,y:-200},0).fromTo(i,.8,{opacity:0},{opacity:1},0);new s.a.Scene({triggerElement:e,triggerHook:1,duration:"200%"}).setTween(n).addTo(t.controller)})},init:function(t){this.animateHeaderBG(),this.animateProgressBarA(),this.animatePieChart(),this.animateBrandChart(),this.animateHeroCopy()}},h={init:function(){this.menuClickHandler(),this.tabBlockHandlers()},tabBlockHandlers:function(){var t=document.querySelector(".tab-block--desktop").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"})})},menuClickHandler:function(){Object(n.a)(".moi-menu-icon").addEventListener("click",function(){Object(n.a)(".moi-menu").className.indexOf("moi-menu--open")>-1?(o.default.set(Object(n.a)(".moi-menu"),{className:"-=moi-menu--open"}),o.default.set(Object(n.a)(".logo-cup"),{className:"-=logo-cup--menu-open"}),o.default.set(Object(n.a)("#app"),{className:"-=menu-open"})):(o.default.set(Object(n.a)(".moi-menu"),{className:"+=moi-menu--open"}),o.default.set(Object(n.a)(".logo-cup"),{className:"+=logo-cup--menu-open"}),o.default.set(Object(n.a)("#app"),{className:"+=menu-open"}))}),document.addEventListener("click",function(t){Object(n.a)(".logo-cup").contains(t.target)||Object(n.a)(".moi-menu").className.indexOf("moi-menu--open")>-1&&(o.default.set(Object(n.a)(".moi-menu"),{className:"-=moi-menu--open"}),o.default.set(Object(n.a)(".logo-cup"),{className:"-=logo-cup--menu-open"}),o.default.set(Object(n.a)("#app"),{className:"-=menu-open"}))})}};i(73);var u={currentTranslateX:0,init:function(){this.setupListeners(),this.setCopyBlockHeights()},setupListeners:function(){var t=this;document.querySelectorAll(".tab-block__tab-cta .button"),document.querySelectorAll(".accordian");document.querySelectorAll(".accordian__title").forEach(function(t){console.log(t),t.addEventListener("click",function(){var t=this.getAttribute("data-rel");o.TweenMax.set(".accordian__title",{className:"+=accordian__title--inactive"}),o.TweenMax.set(this,{className:"-=accordian__title--inactive"}),o.TweenMax.set(".accordian__copy",{className:"+=accordian__copy--hidden"}),o.TweenMax.set(this.nextElementSibling,{className:"-=accordian__copy--hidden"});var e=document.getElementById("read-indicator").clientHeight,i=document.getElementById("moi-header").clientHeight,n=document.querySelectorAll(".tab-block--mobile .accordian__title")[0].clientHeight;console.log(n);var r=t*n+3*t+3,s=document.getElementById("tabScroll").offsetTop-(e+i-r);!function t(e,i,n){if(!(n<=0)){var r=(i-e.scrollTop)/n*10;setTimeout(function(){e.scrollTop=e.scrollTop+r,e.scrollTop!==i&&t(e,i,n-10)},10)}}(document.documentElement,s,200)})}),window.addEventListener("resize",function(){t.setCopyBlockHeights()})},setCopyBlockHeights:function(){document.querySelectorAll(".accordian__copy").forEach(function(t){var e=t.querySelector(".accordian__copy-wrapper");t.style.height=e.offsetHeight+20+"px"})},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})}},c={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"}},f=[{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"}]}],p=function(){l.init({dialsData:f}),h.init(),u.init(),c.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(){p()})},8:function(t,e,i){"use strict";t.exports=i(9).polyfill()},9: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};
  127. /*!
  128. * @overview es6-promise - a tiny implementation of Promises/A+.
  129. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
  130. * @license Licensed under MIT license
  131. * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
  132. * @version v4.2.4+314e4831
  133. */
  134. !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(b);void 0===n[T]&&F(n);var r=i._state;if(r){var s=arguments[r-1];l(function(){return I(r,n,s,i._result)})}else M(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(b);return k(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 T=Math.random().toString(36).substring(2);function b(){}var w=void 0,x=1,P=2,S={error:null};function O(t){try{return t.then}catch(t){return S.error=t,S}}function R(e,i,n){i.constructor===e.constructor&&n===v&&i.constructor.resolve===y?function(t,e){e._state===x?A(t,e._result):e._state===P?C(t,e._result):M(e,void 0,function(e){return k(t,e)},function(e){return C(t,e)})}(e,i):n===S?(C(e,S.error),S.error=null):void 0===n?A(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?k(t,i):A(t,i))},function(e){n||(n=!0,C(t,e))},t._label);!n&&r&&(n=!0,C(t,r))},t)}(e,i,n):A(e,i)}function k(t,e){t===e?C(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)?A(t,e):R(t,e,O(e))}function E(t){t._onerror&&t._onerror(t._result),D(t)}function A(t,e){t._state===w&&(t._result=e,t._state=x,0!==t._subscribers.length&&l(D,t))}function C(t,e){t._state===w&&(t._state=P,t._result=e,l(E,t))}function M(t,e,i,n){var r=t._subscribers,s=r.length;t._onerror=null,r[s]=e,r[s+x]=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?I(i,n,r,s):r(s);t._subscribers.length=0}}function I(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 C(i,new TypeError("A promises callback cannot return that same promise."))}else o=r,l=!0;i._state!==w||(s&&l?k(i,o):h?C(i,a):e===x?A(i,o):e===P&&C(i,o))}var N=0;function F(t){t[T]=N++,t._state=void 0,t._result=void 0,t._subscribers=[]}var z=function(){function t(t,i){this._instanceConstructor=t,this.promise=new t(b),this.promise[T]||F(this.promise),e(i)?(this.length=i.length,this._remaining=i.length,this._result=new Array(this.length),0===this.length?A(this.promise,this._result):(this.length=this.length||0,this._enumerate(i),0===this._remaining&&A(this.promise,this._result))):C(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===L){var s=new i(b);R(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?C(n,i):this._result[e]=i),0===this._remaining&&A(n,this._result)},t.prototype._willSettleAt=function(t,e){var i=this;M(t,void 0,function(t){return i._settledAt(x,e,t)},function(t){return i._settledAt(P,e,t)})},t}();var L=function(){function t(e){this[T]=N++,this._result=this._state=void 0,this._subscribers=[],b!==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){k(t,e)},function(e){C(t,e)})}catch(e){C(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 L.prototype.then=v,L.all=function(t){return new z(this,t).promise},L.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."))})},L.resolve=y,L.reject=function(t){var e=new this(b);return C(e,t),e},L._setScheduler=function(t){o=t},L._setAsap=function(t){l=t},L._asap=l,L.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=L},L.Promise=L,L})}).call(this,i(10),i(6))}});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement