Advertisement
Guest User

Untitled

a guest
Sep 12th, 2018
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 278.44 KB | None | 0 0
  1. !function(t){var e={};function i(r){if(e[r])return e[r].exports;var n=e[r]={i:r,l:!1,exports:{}};return t[r].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=e,i.d=function(t,e,r){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},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 r=Object.create(null);if(i.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)i.d(r,n,function(e){return t[e]}.bind(null,n));return r},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=79)}({0:function(t,e,i){"use strict";(function(t,r){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 c}),i.d(e,"c",function(){return u}),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 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},s="undefined"!=typeof window?window:void 0!==t&&t.exports&&void 0!==r?r:void 0,o=function(t,e){var i={},r=t.document,s=t.GreenSockGlobals=t.GreenSockGlobals||t;if(s.TweenLite)return s.TweenLite;var o,a,l,h,c,u=function(t){var e,i=t.split("."),r=s;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},f=u("com.greensock"),p=function(t){var e,i=[],r=t.length;for(e=0;e!==r;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":n(i))&&!!i.push&&t.call(i)===e)}}(),m={},g=t._gsDefine=function(t,e,r,n){return new function t(e,r,n,o){this.sc=m[e]?m[e].sc:[],m[e]=this,this.gsClass=null,this.func=n;var a=[];this.check=function(l){for(var h,c,f,p,d=r.length,_=d;--d>-1;)(h=m[r[d]]||new t(r[d],[])).gsClass?(a[d]=h.gsClass,_--):l&&h.sc.push(this);if(0===_&&n)for(f=(c=("com.greensock."+e).split(".")).pop(),p=u(c.join("."))[f]=this.gsClass=n.apply(n,a),o&&(s[f]=i[f]=p),d=0;d<this.sc.length;d++)this.sc[d].check()},this.check(!0)}(t,e,r,n)},y=f._class=function(t,e,i){return e=e||function(){},g(t,[],function(){return e},i),e};g.globals=s;var v=[0,0,1,1],x=y("easing.Ease",function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?v.concat(e):v},!0),b=x.map={},w=x.register=function(t,e,i,r){for(var n,s,o,a,l=e.split(","),h=l.length,c=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(s=l[h],n=r?y("easing."+s,null,!0):f.easing[s]||{},o=c.length;--o>-1;)a=c[o],b[s+"."+a]=b[a+s]=n[a]=t.getRatio?t:t[a]||new t};for((l=x.prototype)._calcEnd=!1,l.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:t<.5?r/2:1-r/2},a=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--a>-1;)l=o[a]+",Power"+a,w(new x(null,null,1,a),l,"easeOut",!0),w(new x(null,null,2,a),l,"easeIn"+(0===a?",easeNone":"")),w(new x(null,null,3,a),l,"easeInOut");b.linear=f.easing.Linear.easeIn,b.swing=f.easing.Quad.easeInOut;var T=y("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(l=T.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,o,a=this._listeners[t],l=0;for(this!==h||c||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<n&&(l=o+1);a.splice(l,0,{c:e,s:i,up:r,pr:n})},l.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;--i>-1;)if(r[i].c===e)return void r.splice(i,1)},l.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var P=t.requestAnimationFrame,S=t.cancelAnimationFrame,O=Date.now||function(){return(new Date).getTime()},k=O();for(a=(o=["ms","moz","webkit","o"]).length;--a>-1&&!P;)P=t[o[a]+"RequestAnimationFrame"],S=t[o[a]+"CancelAnimationFrame"]||t[o[a]+"CancelRequestAnimationFrame"];y("Ticker",function(t,e){var i,n,s,o,a,l=this,u=O(),f=!(!1===e||!P)&&"auto",p=500,_=33,m=function t(e){var r,h,c=O()-k;c>p&&(u+=c-_),k+=c,l.time=(k-u)/1e3,r=l.time-a,(!i||r>0||!0===e)&&(l.frame++,a+=r+(r>=o?.004:o-r),h=!0),!0!==e&&(s=n(t)),h&&l.dispatchEvent("tick")};T.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),n=d,s=null,l===h&&(c=!1))},l.wake=function(t){null!==s?l.sleep():t?u+=-k+(k=O()):l.frame>10&&(k=O()-p+5),n=0===i?d:f&&P?P:function(t){return setTimeout(t,1e3*(a-l.time)+1|0)},l===h&&(c=!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"!==(r||{}).visibilityState&&l.useRAF(!1)},1500)}),(l=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var R=y("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,U){c||h.wake();var i=this.vars.useFrames?V:U;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=R.ticker=new f.Ticker,(l=R.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;!function t(){c&&O()-k>2e3&&("hidden"!==(r||{}).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 c||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],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},l.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=_(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},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(c||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(E.length&&q(),this.render(t,e,!1),E.length&&q())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},l.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||1e-10,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},l.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(c||t||h.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var A=y("core.SimpleTimeline",function(t){R.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=A.prototype=new R).constructor=A,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},l._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},l.rawTime=function(){return c||h.wake(),this._totalTime};var C=y("TweenLite",function(e,i,r){if(R.call(this,i,r),this.render=C.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:C.selector(e)||e;var n,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?H[C.defaultOverwrite]:"number"==typeof l?l>>0:H[l],(a||e instanceof Array||e.push&&_(e))&&"number"!=typeof e[0])for(this._targets=o=p(e),this._propLookup=[],this._siblings=[],n=0;n<o.length;n++)(s=o[n])?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(o.splice(n--,1),this._targets=o=o.concat(p(s))):(this._siblings[n]=Z(s,this,!1),1===l&&this._siblings[n].length>1&&K(s,this,null,1,this._siblings[n])):"string"==typeof(s=o[n--]=C.selector(s))&&o.splice(n+1,1):o.splice(n--,1);else this._propLookup={},this._siblings=Z(e,this,!1),1===l&&this._siblings.length>1&&K(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),M=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=C.prototype=new R).constructor=C,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,C.version="1.20.5",C.defaultEase=l._ease=new x(null,null,1,1),C.defaultOverwrite="auto",C.ticker=h,C.autoSleep=120,C.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},C.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(C.selector=i,i(e)):(r||(r=t.document),r?r.querySelectorAll?r.querySelectorAll(e):r.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var E=[],D={},F=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,L=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},I=function(t,e,i,r){var n,s,o,a,l,h,c,u=[],f=0,p="",d=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",i&&(i(u),t=u[0],e=u[1]),u.length=0,n=t.match(F)||[],s=e.match(F)||[],r&&(r._next=null,r.blob=1,u._firstPT=u._applyPT=r),l=s.length,a=0;a<l;a++)c=s[a],p+=(h=e.substr(f,e.indexOf(c,f)-f))||!a?h:",",f+=h.length,d?d=(d+1)%5:"rgba("===h.substr(-5)&&(d=1),c===n[a]||n.length<=a?p+=c:(p&&(u.push(p),p=""),o=parseFloat(n[a]),u.push(o),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:o,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-o)||0,f:0,m:d&&d<4?Math.round:0}),f+=c.length;return(p+=e.substr(f))&&u.push(p),u.setRatio=L,N.test(e)&&(u.end=null),u},X=function(t,e,i,r,s,o,a,l,h){"function"==typeof r&&(r=r(h||0,t));var c=n(t[e]),u="function"!==c?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f="get"!==i?i:u?a?t[u](a):t[u]():t[e],p="string"==typeof r&&"="===r.charAt(1),d={t:t,p:e,s:f,f:"function"===c,pg:0,n:s||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:p?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-f||0};if(("number"!=typeof f||"number"!=typeof r&&!p)&&(a||isNaN(f)||!p&&isNaN(r)||"boolean"==typeof f||"boolean"==typeof r?(d.fp=a,d={t:I(f,p?parseFloat(d.s)+d.c+(d.s+"").replace(/[0-9\-\.]/g,""):r,l||C.defaultStringFilter,d),p:"setRatio",s:0,c:1,f:2,pg:0,n:s||e,pr:0,m:0}):(d.s=parseFloat(f),p||(d.c=parseFloat(r)-d.s||0))),d.c)return(d._next=this._firstPT)&&(d._next._prev=d),this._firstPT=d,d},z=C._internals={isArray:_,isSelector:M,lazyTweens:E,blobDif:I},B=C._plugins={},Y=z.tweenLookup={},j=0,W=z.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},H={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},V=R._rootFramesTimeline=new A,U=R._rootTimeline=new A,G=30,q=z.lazyRender=function(){var t,e=E.length;for(D={};--e>-1;)(t=E[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);E.length=0};U._startTime=h.time,V._startTime=h.frame,U._active=V._active=!0,setTimeout(q,1),R._updateRoot=C.render=function(){var t,e,i;if(E.length&&q(),U.render((h.time-U._startTime)*U._timeScale,!1,!1),V.render((h.frame-V._startTime)*V._timeScale,!1,!1),E.length&&q(),h.frame>=G){for(i in G=h.frame+(parseInt(C.autoSleep,10)||120),Y){for(t=(e=Y[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Y[i]}if((!(i=U._first)||i._paused)&&C.autoSleep&&!V._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",R._updateRoot);var Z=function(t,e,i){var r,n,s=t._gsTweenID;if(Y[s||(t._gsTweenID=s="t"+j++)]||(Y[s]={target:t,tweens:[]}),e&&((r=Y[s].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return Y[s].tweens},$=function(t,e,i,r){var n,s,o=t.vars.onOverwrite;return o&&(n=o(t,e,i,r)),(o=C.onOverwrite)&&(s=o(t,e,i,r)),!1!==n&&!1!==s},K=function(t,e,i,r,n){var s,o,a,l;if(1===r||r>=4){for(l=n.length,s=0;s<l;s++)if((a=n[s])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===r)break;return o}var h,c=e._startTime+1e-10,u=[],f=0,p=0===e._duration;for(s=n.length;--s>-1;)(a=n[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(h=h||Q(e,0,p),0===Q(a,h,p)&&(u[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-10||(u[f++]=a)));for(s=f;--s>-1;)if(a=u[s],2===r&&a._kill(i,t,e)&&(o=!0),2!==r||!a._firstPT&&a._initted){if(2!==r&&!$(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},Q=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(s/=n)>e?s-e:i&&s===e||!t._initted&&s-e<2e-10?1e-10:(s+=t.totalDuration()/t._timeScale/n)>e+1e-10?0:s-e-1e-10};l._init=function(){var t,e,i,r,n,s,o=this.vars,a=this._overwrittenProps,l=this._duration,h=!!o.immediateRender,c=o.ease;if(o.startAt){for(r in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={},o.startAt)n[r]=o.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=h&&!1!==o.lazy,n.startAt=n.delay=null,n.onUpdate=o.onUpdate,n.onUpdateParams=o.onUpdateParams,n.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=C.to(this.target||{},0,n),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(r in 0!==this._time&&(h=!1),i={},o)W[r]&&"autoCSS"!==r||(i[r]=o[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==o.lazy,i.immediateRender=h,this._startAt=C.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof x?c:"function"==typeof c?new x(c,o.easeParams):b[c]||C.defaultEase:C.defaultEase,o.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;t<s;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&C._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},l._initProps=function(e,i,r,n,s){var o,a,l,h,c,u;if(null==e)return!1;for(o in D[e._gsTweenID]&&q(),this.vars.css||e.style&&e!==t&&e.nodeType&&B.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)W[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!B[i]||B[i]&&B[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,e),this.vars)if(u=this.vars[o],W[o])u&&(u instanceof Array||u.push&&_(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[o]=u=this._swapSelfInParams(u,this));else if(B[o]&&(h=new B[o])._onInitTween(e,this.vars[o],this,s)){for(this._firstPT=c={_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),c._next&&(c._next._prev=c)}else i[o]=X.call(this,e,o,"get",u,o,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&K(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(D[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,n,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||(r=!0,n="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&&(n="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)&&(n="onReverseComplete",r=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 c=t/l,u=this._easeType,f=this._easePower;(1===u||3===u&&c>=.5)&&(c=1-c),3===u&&(c*=2),1===f?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),this.ratio=1===u?1-c:2===u?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=h,E.push(this),void(this._lazy=[t,e]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/l):r&&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):n||(n="_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||r||i)&&this._callback("onUpdate")),n&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[n]&&this._callback(n),0===l&&1e-10===this._rawPrevTime&&1e-10!==o&&(this._rawPrevTime=0)))}},l._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:C.selector(e)||e;var r,s,o,a,l,h,c,u,f,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((_(e)||M(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(h=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){l=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;l=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(l){if(c=t||l,u=t!==s&&"all"!==s&&t!==l&&("object"!==(void 0===t?"undefined":n(t))||!t._tempKill),i&&(C.onOverwrite||this.vars.onOverwrite)){for(o in c)l[o]&&(f||(f=[]),f.push(o));if((f||!t)&&!$(this,i,e,f))return!1}for(o in c)(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(c)&&(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]),u&&(s[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return h},l.invalidate=function(){return this._notifyPluginsOfEnabled&&C._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],R.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},l._enabled=function(t,e){if(c||h.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=Z(r[i],this,!0);else this._siblings=Z(this.target,this,!0)}return R.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&C._onPluginEvent(t?"_onEnable":"_onDisable",this)},C.to=function(t,e,i){return new C(t,e,i)},C.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new C(t,e,i)},C.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new C(t,e,r)},C.delayedCall=function(t,e,i,r,n){return new C(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},C.set=function(t,e){return new C(t,0,e)},C.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"!=typeof t?t:C.selector(t)||t,(_(t)||M(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(C.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=Z(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},C.killTweensOf=C.killDelayedCallsTo=function(t,e,i){"object"===(void 0===e?"undefined":n(e))&&(i=e,e=!1);for(var r=C.getTweensOf(t,e),s=r.length;--s>-1;)r[s]._kill(i,t)};var J=y("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=J.prototype},!0);if(l=J.prototype,J.version="1.19.0",J.API=2,l._firstPT=null,l._addTween=X,l.setRatio=L,l._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},l._mod=l._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},C._onPluginEvent=function(t,e){var i,r,n,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,r=n;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:s)?a._prev._next=a:n=a,(a._next=r)?r._prev=a:s=a,a=o}a=e._firstPT=n}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&&(B[(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,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=y("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){J.call(this,i,r),this._overwriteProps=n||[]},!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 c=!1,C}(s),a=s.com.greensock,l=a.core.SimpleTimeline,h=a.core.Animation,c=s.Ease,u=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(77)(t),i(6))},1:function(t,e,i){"use strict";i.r(e);var r=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. */r.k._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){r.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,n=this.vars;for(i in n)e=n[i],s(e)&&-1!==e.join("").indexOf("{self}")&&(n[i]=this._swapSelfInParams(e));s(n.tweens)&&this.add(n.tweens,0,n.align,n.stagger)},e=r.l._internals,i=t._internals={},n=e.isSelector,s=e.isArray,o=e.lazyTweens,a=e.lazyRender,l=r.k._gsDefine.globals,h=function(t){var e,i={};for(e in t)i[e]=t[e];return i},c=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i]):n[i%n.length];delete t.cycle},u=i.pauseCallback=function(){},f=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},p=t.prototype=new r.i;return t.version="1.20.5",p.constructor=t,p.kill()._gc=p._forcingPlayhead=p._hasPause=!1,p.to=function(t,e,i,n){var s=i.repeat&&l.TweenMax||r.l;return e?this.add(new s(t,e,i),n):this.set(t,i,n)},p.from=function(t,e,i,n){return this.add((i.repeat&&l.TweenMax||r.l).from(t,e,i),n)},p.fromTo=function(t,e,i,n,s){var o=n.repeat&&l.TweenMax||r.l;return e?this.add(o.fromTo(t,e,i,n),s):this.set(t,n,s)},p.staggerTo=function(e,i,s,o,a,l,u,p){var d,_,m=new t({onComplete:l,onCompleteParams:u,callbackScope:p,smoothChildTiming:this.smoothChildTiming}),g=s.cycle;for("string"==typeof e&&(e=r.l.selector(e)||e),n(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&&c(d.startAt,e,_)),g&&(c(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,r,n,s,o,a){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(t,e,i,r,n,s,o,a)},p.staggerFromTo=function(t,e,i,r,n,s,o,a,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,this.staggerTo(t,e,r,n,s,o,a,l)},p.call=function(t,e,i,n){return this.add(r.l.delayedCall(0,t,e,i),n)},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 r.l(t,0,e),i)},t.exportRoot=function(e,i){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var n,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 r.l&&o.target===o.vars.onComplete||((s=o._startTime-o._delay)<0&&(n=1),l.add(o,s)),o=a;return h.add(l,0),n&&l.totalDuration(),l},p.add=function(e,i,n,o){var a,l,h,c,u,f;if("number"!=typeof i&&(i=this._parseTimeOrLabel(i,0,!0,e)),!(e instanceof r.a)){if(e instanceof Array||e&&e.push&&s(e)){for(n=n||"normal",o=o||0,a=i,l=e.length,h=0;h<l;h++)s(c=e[h])&&(c=new t({tweens:c})),this.add(c,a),"string"!=typeof c&&"function"!=typeof c&&("sequence"===n?a=c._startTime+c.totalDuration()/c._timeScale:"start"===n&&(c._startTime-=c.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=r.l.delayedCall(0,e)}if(r.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=(u=this).rawTime()>e._startTime;u._timeline;)f&&u._timeline.smoothChildTiming?u.totalTime(u._totalTime,!0):u._gc&&u._enabled(!0,!1),u=u._timeline;return this},p.remove=function(t){if(t instanceof r.a){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?r.a._rootFramesTimeline:r.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 r.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,r){return this.add(t,e||0,i,r)},p.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},p.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},p.addPause=function(t,e,i,n){var s=r.l.delayedCall(0,u,i,n||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,n){var o,a;if(n instanceof r.a&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&s(n)))for(a=n.length;--a>-1;)n[a]instanceof r.a&&n[a].timeline===this&&this.remove(n[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 r,n,s,l,h,c,u,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()||(n=!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",n=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=n=!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&&n)for(r=this._first;r&&0===r._startTime;)r._duration||(n=!1),r=r._next;t=0,this._initted||(h=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)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&&(this._time=t=c._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||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(u=this._time)>=f)for(r=this._first;r&&(s=r._next,u===this._time&&(!this._paused||m));)(r._active||r._startTime<=u&&!r._paused&&!r._gc)&&(c===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s;else for(r=this._last;r&&(s=r._prev,u===this._time&&(!this._paused||m));){if(r._active||r._startTime<=f&&!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,i),c=c._prev;c=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=s}this._onUpdate&&(e||(o.length&&a(),this._callback("onUpdate"))),l&&(this._gc||d!==this._startTime&&_===this._timeScale||(0===this._time||p>=this.totalDuration())&&(n&&(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,n){n=n||-9999999999;for(var s=[],o=this._first,a=0;o;)o._startTime<n||(o instanceof r.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,n,s=this._gc,o=[],a=0;for(s&&this._enabled(!0,!0),n=(i=r.l.getTweensOf(t)).length;--n>-1;)(i[n].timeline===this||e&&this._contains(i[n]))&&(o[a++]=i[n]);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 r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},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),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},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 r.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 r.i.prototype._enabled.call(this,t,e)},p.totalTime=function(t,e,i){this._forcingPlayhead=!0;var n=r.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},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,r=0,n=this._last,s=999999999999;n;)e=n._prev,n._dirty&&n.totalDuration(),n._startTime>s&&this._sortChildren&&!n._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(n,n._startTime-n._delay),this._calculatingDuration=0):s=n._startTime,n._startTime<0&&!n._paused&&(r-=n._startTime,this._timeline.smoothChildTiming&&(this._startTime+=n._startTime/this._timeScale,this._time-=n._startTime,this._totalTime-=n._startTime,this._rawPrevTime-=n._startTime),this.shiftChildren(-n._startTime,!1,-9999999999),s=0),(i=n._startTime+n._totalDuration/n._timeScale)>r&&(r=i),n=e;this._duration=this._totalDuration=r,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 r.a.prototype.paused.apply(this,arguments)},p.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===r.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 n=r.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. */r.k._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var t=function(t){n.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=r.l._internals,i=e.lazyTweens,s=e.lazyRender,o=r.k._gsDefine.globals,a=new r.b(null,null,1,0),l=t.prototype=new n;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),n.prototype.invalidate.call(this)},l.addCallback=function(t,e,i,n){return this.add(r.l.delayedCall(0,t,i,n),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(n._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var i,n,s,l={ease:a,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},h=e.repeat&&o.TweenMax||r.l;for(n in e)l[n]=e[n];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 r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var n,o,a,l,h,c,u,f,p=this._time,d=this._dirty?this.totalDuration():this._totalDuration,_=this._duration,m=this._totalTime,g=this._startTime,y=this._timeScale,v=this._rawPrevTime,x=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||v<0||1e-10===v)&&v!==t&&this._first&&(h=!0,v>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!==v&&(v>0||t<0&&v>=0)&&!this._locked)&&(l="onReverseComplete",o=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(h=o=!0,l="onReverseComplete"):v>=0&&this._first&&(h=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=_||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&o)for(n=this._first;n&&0===n._startTime;)n._duration||(o=!1),n=n._next;t=0,this._initted||(h=!0)}else if(0===_&&v<0&&(h=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(c=_+this._repeatDelay,this._cycle=this._totalTime/c>>0,0!==this._cycle&&this._cycle===this._totalTime/c&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*c,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(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&&u._startTime<_&&(this._time=t=u._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==b&&!this._locked){var w=this._yoyo&&0!=(1&b),T=w===(this._yoyo&&0!=(1&this._cycle)),P=this._totalTime,S=this._cycle,O=this._rawPrevTime,k=this._time;if(this._totalTime=b*_,this._cycle<b?w=!w:this._totalTime+=_,this._time=p,this._rawPrevTime=0===_?v-1e-4:v,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(T&&(this._cycle=b,this._locked=!0,p=w?_+1e-4:-1e-4,this.render(p,!0,!1)),this._locked=!1,this._paused&&!x)return;this._time=k,this._totalTime=P,this._cycle=S,this._rawPrevTime=O}if(this._time!==p&&this._first||r||h||u){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(n=this._first;n&&(a=n._next,f===this._time&&(!this._paused||x));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(u===n&&this.pause(),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)),n=a;else for(n=this._last;n&&(a=n._prev,f===this._time&&(!this._paused||x));){if(n._active||n._startTime<=p&&!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,r),u=u._prev;u=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)}n=a}this._onUpdate&&(e||(i.length&&s(),this._callback("onUpdate"))),l&&(this._locked||this._gc||g!==this._startTime&&y===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 r,n,s=[],o=this.getChildren(t,e,i),a=0,l=o.length;for(r=0;r<l;r++)(n=o[r]).isActive()&&(s[a++]=n);return s},l.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),r=i.length;for(e=0;e<r;e++)if(i[e].time>t)return i[e].name;return null},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,n.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&&(n.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=r.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. **/r.k._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},e=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i]):n[i%n.length];delete t.cycle},i=function t(e,i,n){r.l.call(this,e,i,n),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},n=r.l._internals,s=n.isSelector,o=n.isArray,a=i.prototype=r.l.to({},.1,{}),l=[];i.version="1.20.5",a.constructor=i,a.kill()._gc=!1,i.killTweensOf=i.killDelayedCallsTo=r.l.killTweensOf,i.getTweensOf=r.l.getTweensOf,i.lagSmoothing=r.l.lagSmoothing,i.ticker=r.l.ticker,i.render=r.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),r.l.prototype.invalidate.call(this)},a.updateTo=function(t,e){var i,n=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&&r.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-n),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,c,u,f,p,d=this._dirty?this.totalDuration():this._totalDuration,_=this._time,m=this._totalTime,g=this._cycle,y=this._duration,v=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=y,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,o="onComplete",i=i||this._timeline.autoRemoveChildren),0===y&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(v<0||t<=0&&t>=-1e-7||1e-10===v&&"isPause"!==this.data)&&v!==t&&(i=!0,v>1e-10&&(o="onReverseComplete")),this._rawPrevTime=f=!e||t||v===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===y&&v>0)&&(o="onReverseComplete",s=this._reversed),t<0&&(this._active=!1,0===y&&(this._initted||!this.vars.lazy||i)&&(v>=0&&(i=!0),this._rawPrevTime=f=!e||t||v===t?t:1e-10)),this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=y+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=y-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof r.b?p:r.b.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof r.b?p:"function"==typeof p?new r.b(p,this.vars.easeParams):r.b.map[p]||r.l.defaultEase:r.l.defaultEase)),this.ratio=p?1-p.getRatio((y-this._time)/y):0)),this._time>y?this._time=y:this._time<0&&(this._time=0)),this._easeType&&!p?(h=this._time/y,c=this._easeType,u=this._easePower,(1===c||3===c&&h>=.5)&&(h=1-h),3===c&&(h*=2),1===u?h*=h:2===u?h*=h*h:3===u?h*=h*h*h:4===u&&(h*=h*h*h*h),1===c?this.ratio=1-h:2===c?this.ratio=h:this._time/y<.5?this.ratio=h/2:this.ratio=1-h/2):p||(this.ratio=this._ease.getRatio(this._time/y))),_!==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=v,this._cycle=g,n.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/y)}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!==y||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===y&&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,r){return new i(t,e,r)},i.from=function(t,e,r){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,new i(t,e,r)},i.fromTo=function(t,e,r,n){return n.startAt=r,n.immediateRender=0!=n.immediateRender&&0!=r.immediateRender,new i(t,e,n)},i.staggerTo=i.allTo=function(n,a,h,c,u,f,p){c=c||0;var d,_,m,g,y=0,v=[],x=function(){h.onComplete&&h.onComplete.apply(h.onCompleteScope||this,arguments),u.apply(p||h.callbackScope||this,f||l)},b=h.cycle,w=h.startAt&&h.startAt.cycle;for(o(n)||("string"==typeof n&&(n=r.l.selector(n)||n),s(n)&&(n=t(n))),n=n||[],c<0&&((n=t(n)).reverse(),c*=-1),d=n.length-1,m=0;m<=d;m++){for(g in _={},h)_[g]=h[g];if(b&&(e(_,n,m),null!=_.duration&&(a=_.duration,delete _.duration)),w){for(g in w=_.startAt={},h.startAt)w[g]=h.startAt[g];e(_.startAt,n,m)}_.delay=y+(_.delay||0),m===d&&u&&(_.onComplete=x),v[m]=new i(n[m],a,_),y+=c}return v},i.staggerFrom=i.allFrom=function(t,e,r,n,s,o,a){return r.runBackwards=!0,r.immediateRender=0!=r.immediateRender,i.staggerTo(t,e,r,n,s,o,a)},i.staggerFromTo=i.allFromTo=function(t,e,r,n,s,o,a,l){return n.startAt=r,n.immediateRender=0!=n.immediateRender&&0!=r.immediateRender,i.staggerTo(t,e,n,s,o,a,l)},i.delayedCall=function(t,e,r,n,s){return new i(e,0,{delay:t,onComplete:e,onCompleteParams:r,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:r,immediateRender:!1,useFrames:s,overwrite:0})},i.set=function(t,e){return new i(t,0,e)},i.isTweening=function(t){return r.l.getTweensOf(t,!0).length>0};var h=function t(e,i){for(var n=[],s=0,o=e._first;o;)o instanceof r.l?n[s++]=o:(i&&(n[s++]=o),s=(n=n.concat(t(o,i))).length),o=o._next;return n},c=i.getAllTweens=function(t){return h(r.a._rootTimeline,t).concat(h(r.a._rootFramesTimeline,t))};i.killAll=function(t,e,i,n){null==e&&(e=!0),null==i&&(i=!0);var s,o,a,l=c(0!=n),h=l.length,u=e&&i&&n;for(a=0;a<h;a++)o=l[a],(u||o instanceof r.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,c,u,f,p=n.tweenLookup;if("string"==typeof e&&(e=r.l.selector(e)||e),s(e)&&(e=t(e)),o(e))for(u=e.length;--u>-1;)i.killChildTweensOf(e[u],a);else{for(c in l=[],p)for(h=p[c].target.parentNode;h;)h===e&&(l=l.concat(p[c].tweens)),h=h.parentNode;for(f=l.length,u=0;u<f;u++)a&&l[u].totalTime(l[u].totalDuration()),l[u]._enabled(!1,!1)}}};var u=function(t,e,i,n){e=!1!==e,i=!1!==i;for(var s,o,a=c(n=!1!==n),l=e&&i&&n,h=a.length;--h>-1;)o=a[h],(l||o instanceof r.i||(s=o.target===o.vars.onComplete)&&i||e&&!s)&&o.paused(t)};return i.pauseAll=function(t,e,i){u(!0,t,e,i)},i.resumeAll=function(t,e,i){u(!1,t,e,i)},i.globalTimeScale=function(t){var e=r.a._rootTimeline,i=r.l.ticker.time;return arguments.length?(t=t||1e-10,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=r.a._rootFramesTimeline,i=r.l.ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=r.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?r.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=r.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. r.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var t,e,i,n,s=function t(){r.j.call(this,"css"),this._overwriteProps.length=0,this.setRatio=t.prototype.setRatio},o=r.k._gsDefine.globals,l={},h=s.prototype=new r.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 c,u,f,p,d,_,m,g,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,v=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,w=/(?:\d|\-|\+|=|#|\.)*/g,T=/opacity *= *([^)]*)/i,P=/opacity:([^;]*)/i,S=/alpha\(opacity *=.+?\)/i,O=/^(rgb|hsl)/,k=/([A-Z])/g,R=/-([a-z])/gi,A=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,C=function(t,e){return e.toUpperCase()},M=/(?:Left|Right|Width)/i,E=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,D=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,F=/,(?=[^\)]*(?:\(|$))/gi,N=/[\s,\(]/i,L=Math.PI/180,I=180/Math.PI,X={},z={style:{}},B=r.k.document||{createElement:function(){return z}},Y=function(t,e){return B.createElementNS?B.createElementNS(e||"http://www.w3.org/1999/xhtml",t):B.createElement(t)},j=Y("div"),W=Y("img"),H=s._internals={_specialProps:l},V=(r.k.navigator||{}).userAgent||"",U=function(){var t=V.indexOf("Android"),e=Y("a");return f=-1!==V.indexOf("Safari")&&-1===V.indexOf("Chrome")&&(-1===t||parseFloat(V.substr(t+8,2))>3),d=f&&parseFloat(V.substr(V.indexOf("Version/")+8,2))<6,p=-1!==V.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(V)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(V))&&(_=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),G=function(t){return T.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},q=function(t){r.k.console&&console.log(t)},Z="",$="",K=function(t,e){var i,r,n=(e=e||j).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(Z="-"+($=3===r?"ms":i[r]).toLowerCase()+"-",$+t):null},Q=("undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}}).getComputedStyle,J=s.getStyle=function(t,e,i,r,n){var s;return U||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||Q(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(k,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):G(t)},tt=H.convertToPixels=function(t,e,i,n,o){if("px"===n||!n&&"lineHeight"!==e)return i;if("auto"===n||!i)return 0;var a,l,h,c=M.test(e),u=t,f=j.style,p=i<0,d=1===i;if(p&&(i=-i),d&&(i*=100),"lineHeight"!==e||n)if("%"===n&&-1!==e.indexOf("border"))a=i/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==n&&u.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[c?"borderLeftWidth":"borderTopWidth"]=i+n;else{if(u=t.parentNode||B.body,-1!==J(u,"display").indexOf("flex")&&(f.position="absolute"),l=u._gsCache,h=r.l.ticker.frame,l&&c&&l.time===h)return l.width*i/100;f[c?"width":"height"]=i+n}u.appendChild(j),a=parseFloat(j[c?"offsetWidth":"offsetHeight"]),u.removeChild(j),c&&"%"===n&&!1!==s.cacheWidths&&((l=u._gsCache=u._gsCache||{}).time=h,l.width=a/i*100),0!==a||o||(a=tt(t,e,i,n,!0))}else l=Q(t).lineHeight,t.style.lineHeight=i,a=parseFloat(Q(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},et=H.calculateOffset=function(t,e,i){if("absolute"!==J(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=J(t,"margin"+r,i);return t["offset"+r]-(tt(t,e,parseFloat(n),n.replace(w,""))||0)},it=function(t,e){var i,r,n,s={};if(e=e||Q(t,null))if(i=e.length)for(;--i>-1;)-1!==(n=e[i]).indexOf("-transform")&&At!==n||(s[n.replace(R,C)]=e.getPropertyValue(n));else for(i in e)-1!==i.indexOf("Transform")&&Rt!==i||(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(R,C)]=e[i]);return U||(s.opacity=G(t)),r=jt(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Mt&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},rt=function(t,e,i,r,n){var s,o,a,l={},h=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||n&&n[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 yt(h,o,h[o],a))));if(r)for(o in r)"className"!==o&&(l[o]=r[o]);return{difs:l,firstMPT:a}},nt={width:["Left","Right"],height:["Top","Bottom"]},st=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||Q(t))[e]||0;if(t.getCTM&&zt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=nt[e],s=n.length;for(i=i||Q(t,null);--s>-1;)r-=parseFloat(J(t,"padding"+n[s],i,!0))||0,r-=parseFloat(J(t,"border"+n[s]+"Width",i,!0))||0;return r},at=function t(e,i){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var r,n=e.split(" "),s=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":n[0],o=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":n[1];if(n.length>3&&!i){for(n=e.split(", ").join(",").split(","),e=[],r=0;r<n.length;r++)e.push(t(n[r]));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+(n.length>2?" "+n[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},ct=function(t,e,i,r){var n,s,o,a,l;return"function"==typeof t&&(t=t(g,m)),null==t?a=e:"number"==typeof t?a=t:(n=360,s=t.split("_"),o=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:I)-(l?0:e),s.length&&(r&&(r[i]=e+o),-1!==t.indexOf("short")&&(o%=n)!==o%(n/2)&&(o=o<0?o+n:o-n),-1!==t.indexOf("_cw")&&o<0?o=(o+9999999999*n)%n-(o/n|0)*n:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*n)%n-(o/n|0)*n)),a=e+o),a<1e-6&&a>-1e-6&&(a=0),a},ut={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,r,n,s,o,a,l,h,c,u,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ut[t])i=ut[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(r=t.charAt(1))+r+(n=t.charAt(2))+n+(s=t.charAt(3))+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(y),e){if(-1!==t.indexOf("="))return t.match(v)}else o=Number(i[0])%360/360,a=Number(i[1])/100,r=2*(l=Number(i[2])/100)-(n=l<=.5?l*(a+1):l+a-l*a),i.length>3&&(i[3]=Number(i[3])),i[0]=ft(o+1/3,r,n),i[1]=ft(o,r,n),i[2]=ft(o-1/3,r,n);else i=t.match(y)||ut.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=ut.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,l=((h=Math.max(r,n,s))+(c=Math.min(r,n,s)))/2,h===c?o=a=0:(u=h-c,a=l>.5?u/(2-h-c):u/(h+c),o=h===r?(n-s)/u+(n<s?6:0):h===n?(s-r)/u+2:(r-n)/u+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,r,n,s=t.match(_t)||[],o=0,a="";if(!s.length)return t;for(i=0;i<s.length;i++)r=s[i],o+=(n=t.substr(o,t.indexOf(r,o)-o)).length+r.length,3===(r=pt(r,e)).length&&r.push(1),a+=n+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return a+t.substr(o)},_t="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(h in ut)_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},r.l.defaultStringFilter||(r.l.defaultStringFilter=s.colorStringFilter);var mt=function(t,e,i,r){if(null==t)return function(t){return t};var n,s=e?(t.match(_t)||[""])[0]:"",o=t.split(s).join("").match(x)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",c=o.length,u=c>0?o[0].replace(y,""):"";return c?n=e?function(t){var e,f,p,d;if("number"==typeof t)t+=u;else if(r&&F.test(t)){for(d=t.replace(F,"|").split("|"),p=0;p<d.length;p++)d[p]=n(d[p]);return d.join(",")}if(e=(t.match(_t)||[s])[0],p=(f=t.split(e).join("").match(x)||[]).length,c>p--)for(;++p<c;)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+=u;else if(r&&F.test(t)){for(s=t.replace(F,"|").split("|"),f=0;f<s.length;f++)s[f]=n(s[f]);return s.join(",")}if(f=(e=t.match(x)||[]).length,c>f--)for(;++f<c;)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,r,n,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 n.parse(e,a,s,o)}},yt=(H._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,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(n=i.xs0+i.s+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i[s]=n}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&(r._prev=this,this._next=r)}),vt=(H._parseToProxy=function(t,e,i,r,n,s){var o,a,l,h,c,u=r,f={},p={},d=i._transform,_=X;for(i._transform=null,X=e,r=c=i.parse(t,e,r,n),X=_,s&&(i._transform=d,u&&(u._prev=null,u._prev&&(u._prev._next=null)));r&&r!==u;){if(r.type<=1&&(p[a=r.p]=r.s+r.c,f[a]=r.s,s||(h=new yt(r,"s",a,h,r.r),r.c=0),1===r.type))for(o=r.l;--o>0;)l="xn"+o,p[a=r.p+"_"+l]=r.data[l],f[a]=r[l],s||(h=new yt(r,l,a,h,r.rxp[l]));r=r._next}return{proxy:f,end:p,firstMPT:h,pt:c}},H.CSSPropTween=function(e,i,r,s,o,a,l,h,c,u,f){this.t=e,this.p=i,this.s=r,this.c=s,this.n=l||i,e instanceof vt||n.push(this.n),this.r=h?"function"==typeof h?h:Math.round:h,this.type=a||0,c&&(this.pr=c,t=!0),this.b=void 0===u?r:u,this.e=void 0===f?r+s:f,o&&(this._next=o,o._prev=this)}),xt=function(t,e,i,r,n,s){var o=new vt(t,e,i,r-i,n,-1,s);return o.b=i,o.e=o.xs0=r,o},bt=s.parseComplex=function(t,e,i,r,n,o,a,l,h,u){i=i||o||"","function"==typeof r&&(r=r(g,m)),a=new vt(t,e,0,0,a,u?2:1,null,!1,l,i,r),r+="",n&&_t.test(r+i)&&(s.colorStringFilter(r=[i,r]),i=r[0],r=r[1]);var f,p,d,_,x,b,w,T,P,S,O,k,R,A=i.split(", ").join(",").split(" "),C=r.split(", ").join(",").split(" "),M=A.length,E=!1!==c;for(-1===r.indexOf(",")&&-1===i.indexOf(",")||(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(A=A.join(" ").replace(F,", ").split(" "),C=C.join(" ").replace(F,", ").split(" ")):(A=A.join(" ").split(",").join(", ").split(" "),C=C.join(" ").split(",").join(", ").split(" ")),M=A.length),M!==C.length&&(M=(A=(o||"").split(" ")).length),a.plugin=h,a.setRatio=u,_t.lastIndex=0,f=0;f<M;f++)if(_=A[f],x=C[f]+"",(T=parseFloat(_))||0===T)a.appendXtra("",T,lt(x,T),x.replace(v,""),!(!E||-1===x.indexOf("px"))&&Math.round,!0);else if(n&&_t.test(_))k=")"+((k=x.indexOf(")")+1)?x.substr(k):""),R=-1!==x.indexOf("hsl")&&U,S=x,_=pt(_,R),x=pt(x,R),(P=_.length+x.length>6)&&!U&&0===x[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(C[f]).join("transparent")):(U||(P=!1),R?a.appendXtra(S.substr(0,S.indexOf("hsl"))+(P?"hsla(":"hsl("),_[0],lt(x[0],_[0]),",",!1,!0).appendXtra("",_[1],lt(x[1],_[1]),"%,",!1).appendXtra("",_[2],lt(x[2],_[2]),P?"%,":"%"+k,!1):a.appendXtra(S.substr(0,S.indexOf("rgb"))+(P?"rgba(":"rgb("),_[0],x[0]-_[0],",",Math.round,!0).appendXtra("",_[1],x[1]-_[1],",",Math.round).appendXtra("",_[2],x[2]-_[2],P?",":k,Math.round),P&&(_=_.length<4?1:_[3],a.appendXtra("",_,(x.length<4?1:x[3])-_,k,!1))),_t.lastIndex=0;else if(b=_.match(y)){if(!(w=x.match(v))||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),"",!(!E||"px"!==_.substr(S+O.length,2))&&Math.round,0===p),d=S+O.length;a["xs"+a.l]+=_.substr(d)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+x:x;if(-1!==r.indexOf("=")&&a.data){for(k=a.xs0+a.data.s,f=1;f<a.l;f++)k+=a["xs"+f]+a.data["xn"+f];a.e=k+a["xs"+f]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},wt=9;for((h=vt.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,r,n,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]=r||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=n,o["xn"+a]=e,o.plugin||(o.xfirst=new vt(o,"xn"+a,e,i,o.xfirst||o,0,o.n,n,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=n,o)):(o["xs"+a]+=e+(r||""),o)};var Tt=function(t,e){e=e||{},this.p=e.prefix&&K(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=H._registerComplexSpecialProp=function(t,e,i){"object"!==(void 0===e?"undefined":a(e))&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;r<n.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||s,new Tt(n[r],e)},St=H._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Pt(t,{parser:function(t,i,r,n,s,a,h){var c=o.com.greensock.plugins[e];return c?(c._cssRegister(),l[r].parse(t,i,r,n,s,a,h)):(q("Error: "+e+" js file not loaded."),s)}})}};(h=Tt.prototype).parseComplex=function(t,e,i,r,n,s){var o,a,l,h,c,u,f=this.keyword;if(this.multi&&(F.test(i)||F.test(e)?(a=e.replace(F,"|").split("|"),l=i.replace(F,"|").split("|")):f&&(a=[e],l=[i])),l){for(h=l.length>a.length?l.length:a.length,o=0;o<h;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,f&&(c=e.indexOf(f))!==(u=i.indexOf(f))&&(-1===u?a[o]=a[o].split(f).join(""):-1===c&&(a[o]+=" "+f));e=a.join(", "),i=l.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},h.parse=function(t,e,r,n,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,r,n,s,o,a,l){var h=new vt(t,n,0,0,o,2,n,!1,i);return h.plugin=a,h.setRatio=e(t,r,s._tween,n),h},priority:i})},s.useSVGTransformAttr=!0;var Ot,kt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Rt=K("transform"),At=Z+"transform",Ct=K("transformOrigin"),Mt=null!==K("perspective"),Et=H.Transform=function(){this.perspective=parseFloat(s.defaultTransformPerspective)||0,this.force3D=!(!1===s.defaultForce3D||!Mt)&&(s.defaultForce3D||"auto")},Dt=r.k.SVGElement,Ft=function(t,e,i){var r,n=B.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},Nt=B.documentElement||{},Lt=function(){var t,e,i,n=_||/Android/i.test(V)&&!r.k.chrome;return B.createElementNS&&!n&&(t=Ft("svg",Nt),i=(e=Ft("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[Ct]="50% 50%",e.style[Rt]="scaleX(0.5)",n=i===e.getBoundingClientRect().width&&!(p&&Mt),Nt.removeChild(t)),n}(),It=function(t,e,i,r,n,o){var a,l,h,c,u,f,p,d,_,m,g,y,v,x,b=t._gsTransform,w=Yt(t,!0);b&&(v=b.xOrigin,x=b.yOrigin),(!r||(a=r.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=c=parseFloat(a[0]),i.yOrigin=u=parseFloat(a[1]),r&&w!==Bt&&(f=w[0],p=w[1],d=w[2],_=w[3],m=w[4],g=w[5],(y=f*_-p*d)&&(l=c*(_/y)+u*(-d/y)+(d*g-_*m)/y,h=c*(-p/y)+u*(f/y)-(f*g-p*m)/y,c=i.xOrigin=a[0]=l,u=i.yOrigin=a[1]=h)),b&&(o&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),n||!1!==n&&!1!==s.defaultSmoothOrigin?(l=c-v,h=u-x,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(" "))},Xt=function(t){try{return t.getBBox()}catch(e){return function t(e){var i,r=Y("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(Nt.appendChild(r),r.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?n.insertBefore(this,s):n.appendChild(this),Nt.removeChild(r),this.style.cssText=o,i}.call(t,!0)}},zt=function(t){return!(!Dt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Xt(t))},Bt=[1,0,0,1,0,0],Yt=function(t,e){var i,r,n,s,o,a,l=t._gsTransform||new Et,h=t.style;if(Rt?r=J(t,At,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(E))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),l.x||0,l.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,!Rt||!(a=!Q(t)||"none"===Q(t).display)&&t.parentNode||(a&&(s=h.display,h.display="block"),t.parentNode||(o=1,Nt.appendChild(t)),i=!(r=J(t,At,null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?h.display=s:a&&Ut(h,"display"),o&&Nt.removeChild(t)),(l.svg||t.getCTM&&zt(t))&&(i&&-1!==(h[Rt]+"").indexOf("matrix")&&(r=h[Rt],i=0),n=t.getAttribute("transform"),i&&n&&(r="matrix("+(n=t.transform.baseVal.consolidate().matrix).a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return Bt;for(n=(r||"").match(y)||[],wt=n.length;--wt>-1;)s=Number(n[wt]),n[wt]=(o=s-(s|=0))?(1e5*o+(o<0?-.5:.5)|0)/1e5+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},jt=H.getTransform=function(t,e,i,n){if(t._gsTransform&&i&&!n)return t._gsTransform;var o,a,l,h,c,u,f=i&&t._gsTransform||new Et,p=f.scaleX<0,d=Mt&&(parseFloat(J(t,Ct,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(s.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!zt(t)),f.svg&&(It(t,J(t,Ct,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=s.useSVGTransformAttr||Lt),(o=Yt(t))!==Bt){if(16===o.length){var m,g,y,v,x,b=o[0],w=o[1],T=o[2],P=o[3],S=o[4],O=o[5],k=o[6],R=o[7],A=o[8],C=o[9],M=o[10],E=o[12],D=o[13],F=o[14],N=o[11],L=Math.atan2(k,M);f.zOrigin&&(E=A*(F=-f.zOrigin)-o[12],D=C*F-o[13],F=M*F+f.zOrigin-o[14]),f.rotationX=L*I,L&&(m=S*(v=Math.cos(-L))+A*(x=Math.sin(-L)),g=O*v+C*x,y=k*v+M*x,A=S*-x+A*v,C=O*-x+C*v,M=k*-x+M*v,N=R*-x+N*v,S=m,O=g,k=y),L=Math.atan2(-T,M),f.rotationY=L*I,L&&(g=w*(v=Math.cos(-L))-C*(x=Math.sin(-L)),y=T*v-M*x,C=w*x+C*v,M=T*x+M*v,N=P*x+N*v,b=m=b*v-A*x,w=g,T=y),L=Math.atan2(w,b),f.rotation=L*I,L&&(m=b*(v=Math.cos(L))+w*(x=Math.sin(L)),g=S*v+O*x,y=A*v+C*x,w=w*v-b*x,O=O*v-S*x,C=C*v-A*x,b=m,S=g,A=y),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),L=Math.atan2(S,O),f.scaleX=(1e5*Math.sqrt(b*b+w*w+T*T)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(O*O+k*k)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(A*A+C*C+M*M)+.5|0)/1e5,b/=f.scaleX,S/=f.scaleY,w/=f.scaleX,O/=f.scaleY,Math.abs(L)>2e-5?(f.skewX=L*I,S=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(L))):f.skewX=0,f.perspective=N?1/(N<0?-N:N):0,f.x=E,f.y=D,f.z=F,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*b-f.yOrigin*S),f.y-=f.yOrigin-(f.yOrigin*w-f.xOrigin*O))}else if(!Mt||n||!o.length||f.x!==o[4]||f.y!==o[5]||!f.rotationX&&!f.rotationY){var X=o.length>=6,z=X?o[0]:1,B=o[1]||0,Y=o[2]||0,j=X?o[3]:1;f.x=o[4]||0,f.y=o[5]||0,l=Math.sqrt(z*z+B*B),h=Math.sqrt(j*j+Y*Y),c=z||B?Math.atan2(B,z)*I:f.rotation||0,u=Y||j?Math.atan2(Y,j)*I+c:f.skewX||0,f.scaleX=l,f.scaleY=h,f.rotation=c,f.skewX=u,Mt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*z+f.yOrigin*Y),f.y-=f.yOrigin-(f.xOrigin*B+f.yOrigin*j))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=d,f)f[a]<2e-5&&f[a]>-2e-5&&(f[a]=0)}return i&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Rt]?r.l.delayedCall(.001,function(){Ut(t.style,Rt)}):!Ot&&t.getAttribute("transform")&&r.l.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Wt=function(t){var e,i,r=this.data,n=-r.rotation*L,s=n+r.skewX*L,o=(Math.cos(n)*r.scaleX*1e5|0)/1e5,a=(Math.sin(n)*r.scaleX*1e5|0)/1e5,l=(Math.sin(s)*-r.scaleY*1e5|0)/1e5,h=(Math.cos(s)*r.scaleY*1e5|0)/1e5,c=this.t.style,u=this.t.currentStyle;if(u){i=a,a=-l,l=-i,e=u.filter,c.filter="";var f,p,d=this.t.offsetWidth,m=this.t.offsetHeight,g="absolute"!==u.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+a+", M21="+l+", M22="+h,v=r.x+d*r.xPercent/100,x=r.y+m*r.yPercent/100;if(null!=r.ox&&(v+=(f=(r.oxp?d*r.ox*.01:r.ox)-d/2)-(f*o+(p=(r.oyp?m*r.oy*.01:r.oy)-m/2)*a),x+=p-(f*l+p*h)),y+=g?", Dx="+((f=d/2)-(f*o+(p=m/2)*a)+v)+", Dy="+(p-(f*l+p*h)+x)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?c.filter=e.replace(D,y):c.filter=y+" "+e,0!==t&&1!==t||1===o&&0===a&&0===l&&1===h&&(g&&-1===y.indexOf("Dx=0, Dy=0")||T.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&c.removeAttribute("filter")),!g){var b,P,S,O=_<8?1:-1;for(f=r.ieOffsetX||0,p=r.ieOffsetY||0,r.ieOffsetX=Math.round((d-((o<0?-o:o)*d+(a<0?-a:a)*m))/2+v),r.ieOffsetY=Math.round((m-((h<0?-h:h)*m+(l<0?-l:l)*d))/2+x),wt=0;wt<4;wt++)S=(i=-1!==(b=u[P=st[wt]]).indexOf("px")?parseFloat(b):tt(this.t,P,parseFloat(b),b.replace(w,""))||0)!==r[P]?wt<2?-r.ieOffsetX:-r.ieOffsetY:wt<2?f-r.ieOffsetX:p-r.ieOffsetY,c[P]=(r[P]=Math.round(i-S*(0===wt||2===wt?1:O)))+"px"}}},Ht=H.set3DTransformRatio=H.setTransformRatio=function(t){var e,i,r,n,s,o,a,l,h,c,u,f,d,_,m,g,y,v,x,b,w,T=this.data,P=this.t.style,S=T.rotation,O=T.rotationX,k=T.rotationY,R=T.scaleX,A=T.scaleY,C=T.scaleZ,M=T.x,E=T.y,D=T.z,F=T.svg,N=T.perspective,I=T.force3D,X=T.skewY,z=T.skewX;if(X&&(z+=X,S+=X),!((1!==t&&0!==t||"auto"!==I||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&I||D||N||k||O||1!==C)||Ot&&F||!Mt)S||z||F?(S*=L,b=z*L,w=1e5,i=Math.cos(S)*R,s=Math.sin(S)*R,r=Math.sin(S-b)*-A,o=Math.cos(S-b)*A,b&&"simple"===T.skewType&&(e=Math.tan(b-X*L),r*=e=Math.sqrt(1+e*e),o*=e,X&&(e=Math.tan(X*L),i*=e=Math.sqrt(1+e*e),s*=e)),F&&(M+=T.xOrigin-(T.xOrigin*i+T.yOrigin*r)+T.xOffset,E+=T.yOrigin-(T.xOrigin*s+T.yOrigin*o)+T.yOffset,Ot&&(T.xPercent||T.yPercent)&&(m=this.t.getBBox(),M+=.01*T.xPercent*m.width,E+=.01*T.yPercent*m.height),M<(m=1e-6)&&M>-m&&(M=0),E<m&&E>-m&&(E=0)),x=(i*w|0)/w+","+(s*w|0)/w+","+(r*w|0)/w+","+(o*w|0)/w+","+M+","+E+")",F&&Ot?this.t.setAttribute("transform","matrix("+x):P[Rt]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+x):P[Rt]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+A+","+M+","+E+")";else{if(p&&(R<(m=1e-4)&&R>-m&&(R=C=2e-5),A<m&&A>-m&&(A=C=2e-5),!N||T.z||T.rotationX||T.rotationY||(N=0)),S||z)S*=L,g=i=Math.cos(S),y=s=Math.sin(S),z&&(S-=z*L,g=Math.cos(S),y=Math.sin(S),"simple"===T.skewType&&(e=Math.tan((z-X)*L),g*=e=Math.sqrt(1+e*e),y*=e,T.skewY&&(e=Math.tan(X*L),i*=e=Math.sqrt(1+e*e),s*=e))),r=-y,o=g;else{if(!(k||O||1!==C||N||F))return void(P[Rt]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+E+"px,"+D+"px)"+(1!==R||1!==A?" scale("+R+","+A+")":""));i=o=1,r=s=0}c=1,n=a=l=h=u=f=0,d=N?-1/N:0,_=T.zOrigin,m=1e-6,",","0",(S=k*L)&&(g=Math.cos(S),l=-(y=Math.sin(S)),u=d*-y,n=i*y,a=s*y,c=g,d*=g,i*=g,s*=g),(S=O*L)&&(e=r*(g=Math.cos(S))+n*(y=Math.sin(S)),v=o*g+a*y,h=c*y,f=d*y,n=r*-y+n*g,a=o*-y+a*g,c*=g,d*=g,r=e,o=v),1!==C&&(n*=C,a*=C,c*=C,d*=C),1!==A&&(r*=A,o*=A,h*=A,f*=A),1!==R&&(i*=R,s*=R,l*=R,u*=R),(_||F)&&(_&&(M+=n*-_,E+=a*-_,D+=c*-_+_),F&&(M+=T.xOrigin-(T.xOrigin*i+T.yOrigin*r)+T.xOffset,E+=T.yOrigin-(T.xOrigin*s+T.yOrigin*o)+T.yOffset),M<m&&M>-m&&(M="0"),E<m&&E>-m&&(E="0"),D<m&&D>-m&&(D=0)),x=T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix3d(":"matrix3d(",x+=(i<m&&i>-m?"0":i)+","+(s<m&&s>-m?"0":s)+","+(l<m&&l>-m?"0":l),x+=","+(u<m&&u>-m?"0":u)+","+(r<m&&r>-m?"0":r)+","+(o<m&&o>-m?"0":o),O||k||1!==C?(x+=","+(h<m&&h>-m?"0":h)+","+(f<m&&f>-m?"0":f)+","+(n<m&&n>-m?"0":n),x+=","+(a<m&&a>-m?"0":a)+","+(c<m&&c>-m?"0":c)+","+(d<m&&d>-m?"0":d)+","):x+=",0,0,0,0,1,0,",x+=M+","+E+","+D+","+(N?1+-D/N:1)+")",P[Rt]=x}};(h=Et.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Pt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,r,n,o,l,h){if(n._lastParsedTransform===h)return o;n._lastParsedTransform=h;var c,u=h.scale&&"function"==typeof h.scale?h.scale:0;"function"==typeof h[r]&&(c=h[r],h[r]=e),u&&(h.scale=u(g,t));var f,p,d,_,y,v,x,b,w,T=t._gsTransform,P=t.style,S=kt.length,O=h,k={},R=jt(t,i,!0,O.parseTransform),A=O.transform&&("function"==typeof O.transform?O.transform(g,m):O.transform);if(R.skewType=O.skewType||R.skewType||s.defaultSkewType,n._transform=R,A&&"string"==typeof A&&Rt)(p=j.style)[Rt]=A,p.display="block",p.position="absolute",-1!==A.indexOf("%")&&(p.width=J(t,"width"),p.height=J(t,"height")),B.body.appendChild(j),f=jt(j,null,!1),"simple"===R.skewType&&(f.scaleY*=Math.cos(f.skewX*L)),R.svg&&(v=R.xOrigin,x=R.yOrigin,f.x-=R.xOffset,f.y-=R.yOffset,(O.transformOrigin||O.svgOrigin)&&(A={},It(t,at(O.transformOrigin),A,O.svgOrigin,O.smoothOrigin,!0),v=A.xOrigin,x=A.yOrigin,f.x-=A.xOffset-R.xOffset,f.y-=A.yOffset-R.yOffset),(v||x)&&(b=Yt(j,!0),f.x-=v-(v*b[0]+x*b[2]),f.y-=x-(v*b[1]+x*b[3]))),B.body.removeChild(j),f.perspective||(f.perspective=R.perspective),null!=O.xPercent&&(f.xPercent=ht(O.xPercent,R.xPercent)),null!=O.yPercent&&(f.yPercent=ht(O.yPercent,R.yPercent));else if("object"===(void 0===O?"undefined":a(O))){if(f={scaleX:ht(null!=O.scaleX?O.scaleX:O.scale,R.scaleX),scaleY:ht(null!=O.scaleY?O.scaleY:O.scale,R.scaleY),scaleZ:ht(O.scaleZ,R.scaleZ),x:ht(O.x,R.x),y:ht(O.y,R.y),z:ht(O.z,R.z),xPercent:ht(O.xPercent,R.xPercent),yPercent:ht(O.yPercent,R.yPercent),perspective:ht(O.transformPerspective,R.perspective)},null!=(y=O.directionalRotation))if("object"===(void 0===y?"undefined":a(y)))for(p in y)O[p]=y[p];else O.rotation=y;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(f.x=0,f.xPercent=ht(O.x,R.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(f.y=0,f.yPercent=ht(O.y,R.yPercent)),f.rotation=ct("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:R.rotation,R.rotation,"rotation",k),Mt&&(f.rotationX=ct("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":R.rotationX||0,R.rotationX,"rotationX",k),f.rotationY=ct("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":R.rotationY||0,R.rotationY,"rotationY",k)),f.skewX=ct(O.skewX,R.skewX),f.skewY=ct(O.skewY,R.skewY)}for(Mt&&null!=O.force3D&&(R.force3D=O.force3D,_=!0),(d=R.force3D||R.z||R.rotationX||R.rotationY||f.z||f.rotationX||f.rotationY||f.perspective)||null==O.scale||(f.scaleZ=1);--S>-1;)((A=f[w=kt[S]]-R[w])>1e-6||A<-1e-6||null!=O[w]||null!=X[w])&&(_=!0,o=new vt(R,w,R[w],A,o),w in k&&(o.e=k[w]),o.xs0=0,o.plugin=l,n._overwriteProps.push(o.n));return A=O.transformOrigin,R.svg&&(A||O.svgOrigin)&&(v=R.xOffset,x=R.yOffset,It(t,at(A),f,O.svgOrigin,O.smoothOrigin),o=xt(R,"xOrigin",(T?R:f).xOrigin,f.xOrigin,o,"transformOrigin"),o=xt(R,"yOrigin",(T?R:f).yOrigin,f.yOrigin,o,"transformOrigin"),v===R.xOffset&&x===R.yOffset||(o=xt(R,"xOffset",T?v:R.xOffset,R.xOffset,o,"transformOrigin"),o=xt(R,"yOffset",T?x:R.yOffset,R.yOffset,o,"transformOrigin")),A="0px 0px"),(A||Mt&&d&&R.zOrigin)&&(Rt?(_=!0,w=Ct,A=(A||J(t,w,i,!1,"50% 50%"))+"",(o=new vt(P,w,0,0,o,-1,"transformOrigin")).b=P[w],o.plugin=l,Mt?(p=R.zOrigin,A=A.split(" "),R.zOrigin=(A.length>2&&(0===p||"0px"!==A[2])?parseFloat(A[2]):p)||0,o.xs0=o.e=A[0]+" "+(A[1]||"50%")+" 0px",(o=new vt(R,"zOrigin",0,0,o,-1,o.n)).b=p,o.xs0=o.e=R.zOrigin):o.xs0=o.e=A):at(A+"",R)),_&&(n._transformType=R.svg&&Ot||!d&&3!==this._transformType?2:3),c&&(h[r]=c),u&&(h.scale=u),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,r,n,s,o,a){r=this.format(r);var l,h,c,u,f,p,d,_,m,g,y,v,x,b,w,T,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=r.split(" "),h=0;h<P.length;h++)this.p.indexOf("border")&&(P[h]=K(P[h])),-1!==(f=u=J(t,P[h],i,!1,"0px")).indexOf(" ")&&(f=(u=f.split(" "))[0],u=u[1]),p=c=l[h],d=parseFloat(f),v=f.substr((d+"").length),(x="="===p.charAt(1))?(_=parseInt(p.charAt(0)+"1",10),p=p.substr(2),_*=parseFloat(p),y=p.substr((_+"").length-(_<0?1:0))||""):(_=parseFloat(p),y=p.substr((_+"").length)),""===y&&(y=e[n]||v),y!==v&&(b=tt(t,"borderLeft",d,v),w=tt(t,"borderTop",d,v),"%"===y?(f=b/m*100+"%",u=w/g*100+"%"):"em"===y?(f=b/(T=tt(t,"borderLeft",1,"em"))+"em",u=w/T+"em"):(f=b+"px",u=w+"px"),x&&(p=parseFloat(f)+_+y,c=parseFloat(u)+_+y)),o=bt(S,P[h],f+" "+u,p+" "+c,!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,r,n,s,o){return bt(t.style,r,this.format(J(t,r,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,r,n,s,o){var a,l,h,c,u,f,p="background-position",d=i||Q(t,null),m=this.format((d?_?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&(f=J(t,"backgroundImage").replace(A,""))&&"none"!==f){for(a=m.split(" "),l=g.split(" "),W.setAttribute("src",f),h=2;--h>-1;)(c=-1!==(m=a[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(u=0===h?t.offsetWidth-W.width:t.offsetHeight-W.height,a[h]=c?parseFloat(m)/100*u+"px":parseFloat(m)/u*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,r,n,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,r,n){return n}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,r,n,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,r,n,s){var o=t.style,a="cssFloat"in o?"cssFloat":"styleFloat";return new vt(o,a,0,0,n,-1,i,!1,0,o[a],e)}});var Vt=function(t){var e,i=this.t,r=i.filter||J(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!J(this.data,"filter")):(i.filter=r.replace(S,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(T,"opacity="+n))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,r,n,s,o){var a=parseFloat(J(t,"opacity",i,!1,"1")),l=t.style,h="autoAlpha"===r;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),h&&1===a&&"hidden"===J(t,"visibility",i)&&0!==e&&(a=0),U?s=new vt(l,"opacity",a,e-a,s):((s=new vt(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=Vt),h&&((s=new vt(l,"visibility",0,0,s,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",n._overwriteProps.push(s.n),n._overwriteProps.push(r)),s}});var Ut=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(k,"-$1").toLowerCase())):t.removeAttribute(e))},Gt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Ut(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Pt("className",{parser:function(e,r,n,s,o,a,l){var h,c,u,f,p,d=e.getAttribute("class")||"",_=e.style.cssText;if((o=s._classNamePT=new vt(e,n,0,0,o,2)).setRatio=Gt,o.pr=-11,t=!0,o.b=d,c=it(e,i),u=e._gsClassPT){for(f={},p=u.data;p;)f[p.p]=1,p=p._next;u.setRatio(1)}return e._gsClassPT=o,o.e="="!==r.charAt(1)?r:d.replace(new RegExp("(?:\\s|^)"+r.substr(2)+"(?![\\w-])"),"")+("+"===r.charAt(0)?" "+r.substr(2):""),e.setAttribute("class",o.e),h=rt(e,c,it(e),l,f),e.setAttribute("class",d),o.data=h.firstMPT,e.style.cssText=_,o=o.xfirst=s.parse(e,h.difs,o,a)}});var qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,o=this.t.style,a=l.transform.parse;if("all"===this.e)o.cssText="",n=!0;else for(r=(e=this.e.split(" ").join("").split(",")).length;--r>-1;)i=e[r],l[i]&&(l[i].parse===a?n=!0:i="transformOrigin"===i?Ct:l[i].p),Ut(o,i);n&&(Ut(o,Rt),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Pt("clearProps",{parser:function(e,i,r,n,s){return(s=new vt(e,r,0,0,s,2)).setRatio=qt,s.e=i,s.pr=-10,s.data=n._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(r,o,a,h){if(!r.nodeType)return!1;this._target=m=r,this._tween=a,this._vars=o,g=h,c=o.autoRound,t=!1,e=o.suffixMap||s.suffixMap,i=Q(r,""),n=this._overwriteProps;var p,_,y,v,x,b,w,T,S,O=r.style;if(u&&""===O.zIndex&&("auto"!==(p=J(r,"zIndex",i))&&""!==p||this._addLazySet(O,"zIndex",0)),"string"==typeof o&&(v=O.cssText,p=it(r,i),O.cssText=v+";"+o,p=rt(r,p,it(r)).difs,!U&&P.test(o)&&(p.opacity=parseFloat(RegExp.$1)),o=p,O.cssText=v),o.className?this._firstPT=_=l.className.parse(r,o.className,"className",this,null,null,o):this._firstPT=_=this.parse(r,o,null),this._transformType){for(S=3===this._transformType,Rt?f&&(u=!0,""===O.zIndex&&("auto"!==(w=J(r,"zIndex",i))&&""!==w||this._addLazySet(O,"zIndex",0)),d&&this._addLazySet(O,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(S?"visible":"hidden"))):O.zoom=1,y=_;y&&y._next;)y=y._next;T=new vt(r,"transform",0,0,null,2),this._linkCSSP(T,null,y),T.setRatio=Rt?Ht:Wt,T.data=this._transform||jt(r,i,!0),T.tween=a,T.pr=-1,n.pop()}if(t){for(;_;){for(b=_._next,y=v;y&&y.pr>_.pr;)y=y._next;(_._prev=y?y._prev:x)?_._prev._next=_:v=_,(_._next=y)?y._prev=_:x=_,_=b}this._firstPT=v}return!0},h.parse=function(t,r,n,s){var o,a,h,u,f,p,d,_,y,v,x=t.style;for(o in r){if("function"==typeof(p=r[o])&&(p=p(g,m)),a=l[o])n=a.parse(t,p,o,this,n,s,r);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",Q(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}f=J(t,o,i)+"",y="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||y&&O.test(p)?(y||(p=((p=pt(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),n=bt(x,o,f,p,!0,"transparent",n,0,s)):y&&N.test(p)?n=bt(x,o,f,p,!0,null,n,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="")),(v=y&&"="===p.charAt(1))?(u=parseInt(p.charAt(0)+"1",10),p=p.substr(2),u*=parseFloat(p),_=p.replace(w,"")):(u=parseFloat(p),_=y?p.replace(w,""):""),""===_&&(_=o in e?e[o]:d),p=u||0===u?(v?u+h:u)+_:r[o],d!==_&&(""===_&&"lineHeight"!==o||(u||0===u)&&h&&(h=tt(t,o,h,d),"%"===_?(h/=tt(t,o,100,"%")/100,!0!==r.strictUnits&&(f=h+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?h/=tt(t,o,1,_):"px"!==_&&(u=tt(t,o,u,_),_="px"),v&&(u||0===u)&&(p=u+h+_))),v&&(u+=h),!h&&0!==h||!u&&0!==u?void 0!==x[o]&&(p||p+""!="NaN"&&null!=p)?(n=new vt(x,o,u||h||0,0,n,-1,o,!1,0,f,p)).xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:f:q("invalid "+o+" tween value: "+r[o]):(n=new vt(x,o,h,u-h,n,0,o,!1!==c&&("px"===_||"zIndex"===o),0,f,p)).xs0=_)}s&&n&&!n.plugin&&(n.plugin=s)}return n},h.setRatio=function(t){var e,i,r,n=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):e<1e-6&&e>-1e-6&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=n.r(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},h._enableTransforms=function(t){this._transform=this._transform||jt(this._target,i,!0),this._transformType=this._transform.svg&&Ot||!t&&3!==this._transformType?2:3};var Zt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};h._addLazySet=function(t,e,i){var r=this._firstPT=new vt(t,e,0,0,this._firstPT,2);r.e=i,r.setRatio=Zt,r.data=this},h._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},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,n,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)&&((n=e.xfirst)&&n._prev?this._linkCSSP(n._prev,e._next,n._prev._prev):n===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,n._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 r.j.prototype._kill.call(this,s)};var $t=function t(e,i,r){var n,s,o,a;if(e.slice)for(s=e.length;--s>-1;)t(e[s],i,r);else for(s=(n=e.childNodes).length;--s>-1;)a=(o=n[s]).type,o.style&&(i.push(it(o)),r&&r.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||t(o,i,r)};return s.cascadeTo=function(t,e,i){var n,s,o,a,l=r.l.to(t,e,i),h=[l],c=[],u=[],f=[],p=r.l._internals.reservedProps;for(t=l._targets||l.target,$t(t,c,f),l.render(e,!0,!0),$t(t,u),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if((s=rt(f[n],c[n],u[n])).firstMPT){for(o in s=s.difs,i)p[o]&&(s[o]=i[o]);for(o in a={},s)a[o]=c[n][o];h.push(r.l.fromTo(f[n],e,a,s))}return h},r.j.activate([s]),s},!0);var l=r.k.CSSPlugin,h=r.k._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var n,s;if("function"!=typeof t.setAttribute)return!1;for(n in e)"function"==typeof(s=e[n])&&(s=s(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}}),c="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},u=r.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=u.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,r,n=this._tween,s=n.vars.roundProps,o={},a=n._propLookup.roundProps;if("object"!==(void 0===s?"undefined":c(s))||s.push)for("string"==typeof s&&(s=s.split(",")),i=s.length;--i>-1;)o[s[i]]=Math.round;else for(r in s)o[r]=f(s[r]);for(r in o)for(t=n._firstPT;t;)e=t._next,t.pg?t.t._mod(o):t.n===r&&(2===t.f&&t.t?p(t.t._firstPT,o[r]):(this._add(t.t,r,t.s,t.c,o[r]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:n._firstPT===t&&(n._firstPT=e),t._next=t._prev=null,n._propLookup[r]=a)),t=e;return!1},d._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||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=r.k._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,r){"object"!==(void 0===e?"undefined":_(e))&&(e={rotation:e}),this.finals={};var n,s,o,a,l,h,c=!0===e.useRadians?2*Math.PI:360;for(n in e)"useRadians"!==n&&("function"==typeof(a=e[n])&&(a=a(r,t)),s=(h=(a+"").split("_"))[0],o=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),l=(a=this.finals[n]="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%=c)!==l%(c/2)&&(l=l<0?l+c:l-c),-1!==s.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||l<-1e-6)&&(this._addTween(t,n,o,o+l,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});
  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,y=[],v=[],x=[],b={},w=r.k._gsDefine.globals,T=function(t,e,i,r){i===r&&(i=r-(r-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=r,this.da=r-t,this.ca=i-t,this.ba=e-t},P=function(t,e,i,r){var n={a:t},s={},o={},a={c:r},l=(t+e)/2,h=(e+i)/2,c=(i+r)/2,u=(l+h)/2,f=(h+c)/2,p=(f-u)/8;return n.b=l+(t-l)/4,s.b=u+p,n.c=s.a=(n.b+s.b)/2,s.c=o.a=(u+f)/2,o.b=f-p,a.b=c+(r-c)/4,o.c=a.a=(o.b+a.b)/2,[n,s,o,a]},S=function(t,e,i,r,n){var s,o,a,l,h,c,u,f,p,d,_,m,g,b=t.length-1,w=0,T=t[0].a;for(s=0;s<b;s++)o=(h=t[w]).a,a=h.d,l=t[w+1].d,n?(_=y[s],g=((m=v[s])+_)*e*.25/(r?.5:x[s]||.5),f=a-((c=a-(a-o)*(r?.5*e:0!==_?g/_:0))+(((u=a+(l-a)*(r?.5*e:0!==m?g/m:0))-c)*(3*_/(_+m)+.5)/4||0))):f=a-((c=a-(a-o)*e*.5)+(u=a+(l-a)*e*.5))/2,c+=f,u+=f,h.c=p=c,h.b=0!==s?T:T=h.a+.6*(h.c-h.a),h.da=a-o,h.ca=p-o,h.ba=T-o,i?(d=P(o,T,p,a),t.splice(w,1,d[0],d[1],d[2],d[3]),w+=4):w++,T=u;(h=t[w]).b=T,h.c=T+.4*(h.d-T),h.da=h.d-h.a,h.ca=h.c-h.a,h.ba=T-h.a,i&&(d=P(h.a,T,h.c,h.d),t.splice(w,1,d[0],d[1],d[2],d[3]))},O=function(t,e,i,r){var n,s,o,a,l,h,c=[];if(r)for(s=(t=[r].concat(t)).length;--s>-1;)"string"==typeof(h=t[s][e])&&"="===h.charAt(1)&&(t[s][e]=r[e]+Number(h.charAt(0)+h.substr(2)));if((n=t.length-2)<0)return c[0]=new T(t[0][e],0,0,t[0][e]),c;for(s=0;s<n;s++)o=t[s][e],a=t[s+1][e],c[s]=new T(o,0,0,a),i&&(l=t[s+2][e],y[s]=(y[s]||0)+(a-o)*(a-o),v[s]=(v[s]||0)+(l-a)*(l-a));return c[s]=new T(t[s][e],0,0,t[s+1][e]),c},k=function(t,e,i,r,n,s){var o,a,l,h,c,u,f,p,d={},_=[],m=s||t[0];for(a in n="string"==typeof n?","+n+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])_.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(y.length=v.length=x.length=0,o=_.length;--o>-1;)a=_[o],b[a]=-1!==n.indexOf(","+a+","),d[a]=O(t,a,b[a],s);for(o=y.length;--o>-1;)y[o]=Math.sqrt(y[o]),v[o]=Math.sqrt(v[o]);if(!r){for(o=_.length;--o>-1;)if(b[a])for(u=(l=d[_[o]]).length-1,h=0;h<u;h++)c=l[h+1].da/v[h]+l[h].da/y[h]||0,x[h]=(x[h]||0)+c*c;for(o=x.length;--o>-1;)x[o]=Math.sqrt(x[o])}for(o=_.length,h=i?4:1;--o>-1;)l=d[a=_[o]],S(l,e,i,r,b[a]),f&&(l.splice(0,h),l.splice(l.length-h,h));return d},R=function(t,e,i){for(var r,n,s,o,a,l,h,c,u,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,r=n=0,c=1;c<=i;c++)r=n-(n=((h=d*c)*h*o+3*(u=1-h)*(h*a+u*l))*h),e[p=_*i+c-1]=(e[p]||0)+r*r},A=r.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 r,n,s,o,a,l=e.values||[],h={},c=l[0],u=e.autoRotate||i.vars.orientToBezier;for(r in this._autoRotate=u?u instanceof Array?u:[["x","y","rotation",!0===u?0:Number(u)||0]]:null,c)this._props.push(r);for(s=this._props.length;--s>-1;)r=this._props[s],this._overwriteProps.push(r),n=this._func[r]="function"==typeof t[r],h[r]=n?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),a||h[r]!==l[0][r]&&(a=h);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?k(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):function(t,e,i){var r,n,s,o,a,l,h,c,u,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(u in t[0])g.push(u);for(l=g.length;--l>-1;){for(d[u=g[l]]=a=[],f=0,c=t.length,h=0;h<c;h++)r=null==i?t[h][u]:"string"==typeof(p=t[h][u])&&"="===p.charAt(1)?i[u]+Number(p.charAt(0)+p.substr(2)):Number(p),m&&h>1&&h<c-1&&(a[f++]=(r+a[f-2])/2),a[f++]=r;for(c=f-_+1,f=0,h=0;h<c;h+=_)r=a[h],n=a[h+1],s=a[h+2],o=2===_?0:a[h+3],a[f++]=p=3===_?new T(r,n,s,o):new T(r,(2*n+r)/3,(2*n+s)/3,s);a.length=f}return d}(l,e.type,h),this._segCount=this._beziers[r].length,this._timeRes){var f=function(t,e){var i,r,n,s,o=[],a=[],l=0,h=0,c=(e=e>>0||6)-1,u=[],f=[];for(i in t)R(t[i],o,e);for(n=o.length,r=0;r<n;r++)l+=Math.sqrt(o[r]),f[s=r%e]=l,s===c&&(h+=l,u[s=r/e>>0]=f,a[s]=h,l=0,f=[]);return{length:h,lengths:a,segments:u}}(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(u=this._autoRotate)for(this._initialRotations=[],u[0]instanceof Array||(this._autoRotate=u=[u]),s=u.length;--s>-1;){for(o=0;o<3;o++)r=u[s][o],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=u[s][2],this._initialRotations[s]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,r,n,s,o,a,l,h,c,u=this._segCount,f=this._func,p=this._target,d=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,c=this._curSeg,t*=this._length,r=this._li,t>this._l2&&r<u-1){for(l=u-1;r<l&&(this._l2=h[++r])<=t;);this._l1=h[r-1],this._li=r,this._curSeg=c=this._segments[r],this._s2=c[this._s1=this._si=0]}else if(t<this._l1&&r>0){for(;r>0&&(this._l1=h[--r])>=t;);0===r&&t<this._l1?this._l1=0:r++,this._l2=h[r],this._li=r,this._curSeg=c=this._segments[r],this._s1=c[(this._si=c.length-1)-1]||0,this._s2=c[this._si]}if(e=r,t-=this._l1,r=this._si,t>this._s2&&r<c.length-1){for(l=c.length-1;r<l&&(this._s2=c[++r])<=t;);this._s1=c[r-1],this._si=r}else if(t<this._s1&&r>0){for(;r>0&&(this._s1=c[--r])>=t;);0===r&&t<this._s1?this._s1=0:r++,this._s2=c[r],this._si=r}o=(r+(t-this._s1)/(this._s2-this._s1))*this._prec||0}else o=(t-(e=t<0?0:t>=1?u-1:u*t>>0)*(1/u))*u;for(i=1-o,r=this._props.length;--r>-1;)n=this._props[r],a=(o*o*(s=this._beziers[n][e]).da+3*i*(o*s.ca+i*s.ba))*o+s.a,this._mod[n]&&(a=this._mod[n](a,p)),f[n]?p[n](a):p[n]=a;if(this._autoRotate){var _,m,y,v,x,b,w,T=this._autoRotate;for(r=T.length;--r>-1;)n=T[r][2],b=T[r][3]||0,w=!0===T[r][4]?1:g,s=this._beziers[T[r][0]],_=this._beziers[T[r][1]],s&&_&&(s=s[e],_=_[e],m=s.a+(s.b-s.a)*o,m+=((v=s.b+(s.c-s.b)*o)-m)*o,v+=(s.c+(s.d-s.c)*o-v)*o,y=_.a+(_.b-_.a)*o,y+=((x=_.b+(_.c-_.b)*o)-y)*o,x+=(_.c+(_.d-_.c)*o-x)*o,a=d?Math.atan2(x-y,v-m)*w+b:this._initialRotations[r],this._mod[n]&&(a=this._mod[n](a,p)),f[n]?p[n](a):p[n]=a)}}}),C=A.prototype;A.bezierThrough=k,A.cubicToQuadratic=P,A._autoCSS=!0,A.quadraticToCubic=function(t,e,i){return new T(t,(2*e+t)/3,(2*e+i)/3,i)},A._cssRegister=function(){var t=w.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,o,a,l){e instanceof Array&&(e={values:e}),l=new A;var h,c,u,f=e.values,p=f.length-1,d=[],_={};if(p<0)return a;for(h=0;h<=p;h++)u=i(t,f[h],o,a,l,p!==h),d[h]=u.end;for(c in e)_[c]=e[c];return _.values=d,(a=new n(t,"bezier",0,0,u.pt,2)).data=u,a.plugin=l,a.setRatio=r,0===_.autoRotate&&(_.autoRotate=!0),!_.autoRotate||_.autoRotate instanceof Array||(h=!0===_.autoRotate?0:Number(_.autoRotate),_.autoRotate=null!=u.end.left?[["left","top","rotation",h,!1]]:null!=u.end.x&&[["x","y","rotation",h,!1]]),_.autoRotate&&(o._transform||o._enableTransforms(!1),u.autoRotate=o._target._gsTransform,u.proxy.rotation=u.autoRotate.rotation||0,o._overwriteProps.push("rotation")),l._onInitTween(u.proxy,_,o._tween),a}})}},C._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;--r>-1;)(e=t[i[r]])&&"function"==typeof e&&(this._mod[i[r]]=e)},C._kill=function(t){var e,i,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=r.length;--i>-1;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)},
  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. r.k._gsDefine("easing.Back",["easing.Ease"],function(){var t,e,i,n,s=r.k.GreenSockGlobals||r.k,o=s.com.greensock,a=2*Math.PI,l=Math.PI/2,h=o._class,c=function(t,e){var i=h("easing."+t,function(){},!0),n=i.prototype=new r.b;return n.constructor=i,n.getRatio=e,i},u=r.b.register||function(){},f=function(t,e,i,r,n){var s=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return u(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),n=i.prototype=new r.b;return n.constructor=i,n.getRatio=e,n.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 r.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 r.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 r.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,r){return new e(t,i,r)},(g=(i=h("easing.RoughEase",function(t){for(var e,i,n,s,o,a,l=(t=t||{}).taper||"none",h=[],c=0,u=0|(t.points||20),f=u,d=!1!==t.randomize,_=!0===t.clamp,m=t.template instanceof r.b?t.template:null,g="number"==typeof t.strength?.4*t.strength:.4;--f>-1;)e=d?Math.random():1/u*f,i=m?m.getRatio(e):e,n="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()*n-.5*n:f%2?i+=.5*n:i-=.5*n,_&&(i>1?i=1:i<0&&(i=0)),h[c++]={x:e,y:i};for(h.sort(function(t,e){return t.x-e.x}),a=new p(1,1,null),f=u;--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 r.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",c("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}),c("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)}),c("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",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f("Elastic",(n=function(t,e,i){var n=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=n.prototype=new r.b;return s.constructor=n,s.getRatio=e,s.config=function(t,e){return new n(t,e)},n})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?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",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",c("SineOut",function(t){return Math.sin(t*l)}),c("SineIn",function(t){return 1-Math.cos(t*l)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(t){return r.b.map[t]}},!0),u(s.SlowMo,"SlowMo","ease,"),u(i,"RoughEase","ease,"),u(t,"SteppedEase","ease,"),_},!0);var M=r.k.Back,E=r.k.Elastic,D=r.k.Bounce,F=r.k.RoughEase,N=r.k.SlowMo,L=r.k.SteppedEase,I=r.k.Circ,X=r.k.Expo,z=r.k.Sine,B=r.k.ExpoScaleEase,Y=o;Y._autoActivated=[n,s,l,h,A,u,m,M,E,D,F,N,L,I,X,z,B],i.d(e,"default",function(){return Y}),i.d(e,"TweenLite",function(){return r.l}),i.d(e,"TweenMax",function(){return Y}),i.d(e,"TimelineLite",function(){return n}),i.d(e,"TimelineMax",function(){return s}),i.d(e,"CSSPlugin",function(){return l}),i.d(e,"AttrPlugin",function(){return h}),i.d(e,"BezierPlugin",function(){return A}),i.d(e,"RoundPropsPlugin",function(){return u}),i.d(e,"DirectionalRotationPlugin",function(){return m}),i.d(e,"TweenPlugin",function(){return r.j}),i.d(e,"Ease",function(){return r.b}),i.d(e,"Power0",function(){return r.d}),i.d(e,"Power1",function(){return r.e}),i.d(e,"Power2",function(){return r.f}),i.d(e,"Power3",function(){return r.g}),i.d(e,"Power4",function(){return r.h}),i.d(e,"Linear",function(){return r.c}),i.d(e,"Back",function(){return M}),i.d(e,"Elastic",function(){return E}),i.d(e,"Bounce",function(){return D}),i.d(e,"RoughEase",function(){return F}),i.d(e,"SlowMo",function(){return N}),i.d(e,"SteppedEase",function(){return L}),i.d(e,"Circ",function(){return I}),i.d(e,"Expo",function(){return X}),i.d(e,"Sine",function(){return z}),i.d(e,"ExpoScaleEase",function(){return B}),i.d(e,"_gsScope",function(){return r.k})},10:function(t,e,i){"use strict";t.exports=i(11).polyfill()},11:function(t,e,i){(function(r,n){var s,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};
  104. /*!
  105. * @overview es6-promise - a tiny implementation of Promises/A+.
  106. * @copyright Copyright (c) 2014 Yehuda Katz, Tom Dale, Stefan Penner and contributors (Conversion to ES6 API by Jake Archibald)
  107. * @license Licensed under MIT license
  108. * See https://raw.githubusercontent.com/stefanpenner/es6-promise/master/LICENSE
  109. * @version v4.2.4+314e4831
  110. */
  111. !function(r,n){"object"===a(e)&&void 0!==t?t.exports=n():void 0===(o="function"==typeof(s=n)?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,c=h||{},u=c.MutationObserver||c.WebKitMutationObserver,f="undefined"==typeof self&&void 0!==r&&"[object process]"==={}.toString.call(r),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 y(t,e){var i=this,r=new this.constructor(b);void 0===r[x]&&L(r);var n=i._state;if(n){var s=arguments[n-1];l(function(){return F(n,r,s,i._result)})}else E(i,r,t,e);return r}function v(t){if(t&&"object"===(void 0===t?"undefined":a(t))&&t.constructor===this)return t;var e=new this(b);return R(e,t),e}g=f?function(){return r.nextTick(m)}:u?function(){var t=0,e=new u(m),i=document.createTextNode("");return e.observe(i,{characterData:!0}),function(){i.data=t=++t%2}}():p?function(){var t=new MessageChannel;return t.port1.onmessage=m,function(){return t.port2.postMessage(0)}}():void 0===h?function(){try{var t=Function("return this")().require("vertx");return void 0!==(s=t.runOnLoop||t.runOnContext)?function(){s(m)}:d()}catch(t){return d()}}():d();var x=Math.random().toString(36).substring(2);function b(){}var w=void 0,T=1,P=2,S={error:null};function O(t){try{return t.then}catch(t){return S.error=t,S}}function k(e,i,r){i.constructor===e.constructor&&r===y&&i.constructor.resolve===v?function(t,e){e._state===T?C(t,e._result):e._state===P?M(t,e._result):E(e,void 0,function(e){return R(t,e)},function(e){return M(t,e)})}(e,i):r===S?(M(e,S.error),S.error=null):void 0===r?C(e,i):t(r)?function(t,e,i){l(function(t){var r=!1,n=function(t,e,i,r){try{t.call(e,i,r)}catch(t){return t}}(i,e,function(i){r||(r=!0,e!==i?R(t,i):C(t,i))},function(e){r||(r=!0,M(t,e))},t._label);!r&&n&&(r=!0,M(t,n))},t)}(e,i,r):C(e,i)}function R(t,e){t===e?M(t,new TypeError("You cannot resolve a promise with itself")):!function(t){var e=void 0===t?"undefined":a(t);return null!==t&&("object"===e||"function"===e)}(e)?C(t,e):k(t,e,O(e))}function A(t){t._onerror&&t._onerror(t._result),D(t)}function C(t,e){t._state===w&&(t._result=e,t._state=T,0!==t._subscribers.length&&l(D,t))}function M(t,e){t._state===w&&(t._state=P,t._result=e,l(A,t))}function E(t,e,i,r){var n=t._subscribers,s=n.length;t._onerror=null,n[s]=e,n[s+T]=i,n[s+P]=r,0===s&&t._state&&l(D,t)}function D(t){var e=t._subscribers,i=t._state;if(0!==e.length){for(var r=void 0,n=void 0,s=t._result,o=0;o<e.length;o+=3)r=e[o],n=e[o+i],r?F(i,r,n,s):n(s);t._subscribers.length=0}}function F(e,i,r,n){var s=t(r),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}}(r,n))===S?(h=!0,a=o.error,o.error=null):l=!0,i===o)return void M(i,new TypeError("A promises callback cannot return that same promise."))}else o=n,l=!0;i._state!==w||(s&&l?R(i,o):h?M(i,a):e===T?C(i,o):e===P&&M(i,o))}var N=0;function L(t){t[x]=N++,t._state=void 0,t._result=void 0,t._subscribers=[]}var I=function(){function t(t,i){this._instanceConstructor=t,this.promise=new t(b),this.promise[x]||L(this.promise),e(i)?(this.length=i.length,this._remaining=i.length,this._result=new Array(this.length),0===this.length?C(this.promise,this._result):(this.length=this.length||0,this._enumerate(i),0===this._remaining&&C(this.promise,this._result))):M(this.promise,new Error("Array Methods must be provided an Array"))}return t.prototype._enumerate=function(t){for(var e=0;this._state===w&&e<t.length;e++)this._eachEntry(t[e],e)},t.prototype._eachEntry=function(t,e){var i=this._instanceConstructor,r=i.resolve;if(r===v){var n=O(t);if(n===y&&t._state!==w)this._settledAt(t._state,e,t._result);else if("function"!=typeof n)this._remaining--,this._result[e]=t;else if(i===X){var s=new i(b);k(s,t,n),this._willSettleAt(s,e)}else this._willSettleAt(new i(function(e){return e(t)}),e)}else this._willSettleAt(r(t),e)},t.prototype._settledAt=function(t,e,i){var r=this.promise;r._state===w&&(this._remaining--,t===P?M(r,i):this._result[e]=i),0===this._remaining&&C(r,this._result)},t.prototype._willSettleAt=function(t,e){var i=this;E(t,void 0,function(t){return i._settledAt(T,e,t)},function(t){return i._settledAt(P,e,t)})},t}();var X=function(){function t(e){this[x]=N++,this._result=this._state=void 0,this._subscribers=[],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){R(t,e)},function(e){M(t,e)})}catch(e){M(t,e)}}(this,e):function(){throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.")}())}return t.prototype.catch=function(t){return this.then(null,t)},t.prototype.finally=function(t){var e=this.constructor;return this.then(function(i){return e.resolve(t()).then(function(){return i})},function(i){return e.resolve(t()).then(function(){throw i})})},t}();return X.prototype.then=y,X.all=function(t){return new I(this,t).promise},X.race=function(t){var i=this;return e(t)?new i(function(e,r){for(var n=t.length,s=0;s<n;s++)i.resolve(t[s]).then(e,r)}):new i(function(t,e){return e(new TypeError("You must pass an array to race."))})},X.resolve=v,X.reject=function(t){var e=new this(b);return M(e,t),e},X._setScheduler=function(t){o=t},X._setAsap=function(t){l=t},X._asap=l,X.polyfill=function(){var t=void 0;if(void 0!==n)t=n;else if("undefined"!=typeof self)t=self;else try{t=Function("return this")()}catch(t){throw new Error("polyfill failed because global object is unavailable in this environment")}var e=t.Promise;if(e){var i=null;try{i=Object.prototype.toString.call(e.resolve())}catch(t){}if("[object Promise]"===i&&!e.cast)return}t.Promise=X},X.Promise=X,X})}).call(this,i(12),i(6))},12:function(t,e){var i,r,n=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{r="function"==typeof clearTimeout?clearTimeout:o}catch(t){r=o}}();var l,h=[],c=!1,u=-1;function f(){c&&l&&(c=!1,l.length?h=l.concat(h):u=-1,h.length&&p())}function p(){if(!c){var t=a(f);c=!0;for(var e=h.length;e;){for(l=h,h=[];++u<e;)l&&l[u].run();u=-1,e=h.length}l=null,c=!1,function(t){if(r===clearTimeout)return clearTimeout(t);if((r===o||!r)&&clearTimeout)return r=clearTimeout,clearTimeout(t);try{r(t)}catch(e){try{return r.call(null,t)}catch(e){return r.call(this,t)}}}(t)}}function d(t,e){this.fun=t,this.array=e}function _(){}n.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||c||a(p)},d.prototype.run=function(){this.fun.apply(null,this.array)},n.title="browser",n.browser=!0,n.env={},n.argv=[],n.version="",n.versions={},n.on=_,n.addListener=_,n.once=_,n.off=_,n.removeListener=_,n.removeAllListeners=_,n.emit=_,n.prependListener=_,n.prependOnceListener=_,n.listeners=function(t){return[]},n.binding=function(t){throw new Error("process.binding is not supported")},n.cwd=function(){return"/"},n.chdir=function(t){throw new Error("process.chdir is not supported")},n.umask=function(){return 0}},17:function(t,e,i){(function(r){var n,s,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l=void 0!==t&&t.exports&&void 0!==r?r:this||window;(l._gsQueue||(l._gsQueue=[])).push(function(){"use strict";l._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,n,s,o=function e(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=e.prototype.setRatio},h=l._gsDefine.globals,c={},u=o.prototype=new t("css");u.constructor=o,o.version="1.20.5",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,o.suffixMap={top:u="px",right:u,bottom:u,left:u,width:u,height:u,fontSize:u,padding:u,margin:u,perspective:u,lineHeight:""};var f,p,d,_,m,g,y,v,x=/(?:\-|\.|\b)(\d|\.|e\-)+/g,b=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,w=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,T=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,P=/(?:\d|\-|\+|=|#|\.)*/g,S=/opacity *= *([^)]*)/i,O=/opacity:([^;]*)/i,k=/alpha\(opacity *=.+?\)/i,R=/^(rgb|hsl)/,A=/([A-Z])/g,C=/-([a-z])/gi,M=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,E=function(t,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,F=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,N=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,L=/,(?=[^\)]*(?:\(|$))/gi,I=/[\s,\(]/i,X=Math.PI/180,z=180/Math.PI,B={},Y={style:{}},j=l.document||{createElement:function(){return Y}},W=function(t,e){return j.createElementNS?j.createElementNS(e||"http://www.w3.org/1999/xhtml",t):j.createElement(t)},H=W("div"),V=W("img"),U=o._internals={_specialProps:c},G=(l.navigator||{}).userAgent||"",q=function(){var t=G.indexOf("Android"),e=W("a");return d=-1!==G.indexOf("Safari")&&-1===G.indexOf("Chrome")&&(-1===t||parseFloat(G.substr(t+8,2))>3),m=d&&parseFloat(G.substr(G.indexOf("Version/")+8,2))<6,_=-1!==G.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(G)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(G))&&(g=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),Z=function(t){return S.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},$=function(t){l.console&&console.log(t)},K="",Q="",J=function(t,e){var i,r,n=(e=e||H).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(K="-"+(Q=3===r?"ms":i[r]).toLowerCase()+"-",Q+t):null},tt=("undefined"!=typeof window?window:j.defaultView||{getComputedStyle:function(){}}).getComputedStyle,et=o.getStyle=function(t,e,i,r,n){var s;return q||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(A,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):Z(t)},it=U.convertToPixels=function(t,i,r,n,s){if("px"===n||!n&&"lineHeight"!==i)return r;if("auto"===n||!r)return 0;var a,l,h,c=D.test(i),u=t,f=H.style,p=r<0,d=1===r;if(p&&(r=-r),d&&(r*=100),"lineHeight"!==i||n)if("%"===n&&-1!==i.indexOf("border"))a=r/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==n&&u.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[c?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(u=t.parentNode||j.body,-1!==et(u,"display").indexOf("flex")&&(f.position="absolute"),l=u._gsCache,h=e.ticker.frame,l&&c&&l.time===h)return l.width*r/100;f[c?"width":"height"]=r+n}u.appendChild(H),a=parseFloat(H[c?"offsetWidth":"offsetHeight"]),u.removeChild(H),c&&"%"===n&&!1!==o.cacheWidths&&((l=u._gsCache=u._gsCache||{}).time=h,l.width=a/r*100),0!==a||s||(a=it(t,i,r,n,!0))}else l=tt(t).lineHeight,t.style.lineHeight=r,a=parseFloat(tt(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},rt=U.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=et(t,"margin"+r,i);return t["offset"+r]-(it(t,e,parseFloat(n),n.replace(P,""))||0)},nt=function(t,e){var i,r,n,s={};if(e=e||tt(t,null))if(i=e.length)for(;--i>-1;)-1!==(n=e[i]).indexOf("-transform")&&Mt!==n||(s[n.replace(C,E)]=e.getPropertyValue(n));else for(i in e)-1!==i.indexOf("Transform")&&Ct!==i||(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(C,E)]=e[i]);return q||(s.opacity=Z(t)),r=Ht(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Dt&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},st=function(t,e,i,r,n){var s,o,a,l={},h=t.style;for(o in i)"cssText"!==o&&"length"!==o&&isNaN(o)&&(e[o]!==(s=i[o])||n&&n[o])&&-1===o.indexOf("Origin")&&("number"!=typeof s&&"string"!=typeof s||(l[o]="auto"!==s||"left"!==o&&"top"!==o?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[o]||""===e[o].replace(T,"")?s:0:rt(t,o),void 0!==h[o]&&(a=new xt(h,o,h[o],a))));if(r)for(o in r)"className"!==o&&(l[o]=r[o]);return{difs:l,firstMPT:a}},ot={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Yt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=ot[e],s=n.length;for(i=i||tt(t,null);--s>-1;)r-=parseFloat(et(t,"padding"+n[s],i,!0))||0,r-=parseFloat(et(t,"border"+n[s]+"Width",i,!0))||0;return r},ht=function t(e,i){if("contain"===e||"auto"===e||"auto auto"===e)return e+" ";null!=e&&""!==e||(e="0 0");var r,n=e.split(" "),s=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":n[0],o=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":n[1];if(n.length>3&&!i){for(n=e.split(", ").join(",").split(","),e=[],r=0;r<n.length;r++)e.push(t(n[r]));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+(n.length>2?" "+n[2]:""),i&&(i.oxp=-1!==s.indexOf("%"),i.oyp=-1!==o.indexOf("%"),i.oxr="="===s.charAt(1),i.oyr="="===o.charAt(1),i.ox=parseFloat(s.replace(T,"")),i.oy=parseFloat(o.replace(T,"")),i.v=e),i||e},ct=function(t,e){return"function"==typeof t&&(t=t(v,y)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ut=function(t,e){return"function"==typeof t&&(t=t(v,y)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ft=function(t,e,i,r){var n,s,o,a,l;return"function"==typeof t&&(t=t(v,y)),null==t?a=e:"number"==typeof t?a=t:(n=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&&(r&&(r[i]=e+o),-1!==t.indexOf("short")&&(o%=n)!==o%(n/2)&&(o=o<0?o+n:o-n),-1!==t.indexOf("_cw")&&o<0?o=(o+9999999999*n)%n-(o/n|0)*n:-1!==t.indexOf("ccw")&&o>0&&(o=(o-9999999999*n)%n-(o/n|0)*n)),a=e+o),a<1e-6&&a>-1e-6&&(a=0),a},pt={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},dt=function(t,e,i){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0},_t=o.parseColor=function(t,e){var i,r,n,s,o,a,l,h,c,u,f;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),pt[t])i=pt[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(r=t.charAt(1))+r+(n=t.charAt(2))+n+(s=t.charAt(3))+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(x),e){if(-1!==t.indexOf("="))return t.match(b)}else o=Number(i[0])%360/360,a=Number(i[1])/100,r=2*(l=Number(i[2])/100)-(n=l<=.5?l*(a+1):l+a-l*a),i.length>3&&(i[3]=Number(i[3])),i[0]=dt(o+1/3,r,n),i[1]=dt(o,r,n),i[2]=dt(o-1/3,r,n);else i=t.match(x)||pt.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=pt.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,l=((h=Math.max(r,n,s))+(c=Math.min(r,n,s)))/2,h===c?o=a=0:(u=h-c,a=l>.5?u/(2-h-c):u/(h+c),o=h===r?(n-s)/u+(n<s?6:0):h===n?(s-r)/u+2:(r-n)/u+4,o*=60),i[0]=o+.5|0,i[1]=100*a+.5|0,i[2]=100*l+.5|0),i},mt=function(t,e){var i,r,n,s=t.match(gt)||[],o=0,a="";if(!s.length)return t;for(i=0;i<s.length;i++)r=s[i],o+=(n=t.substr(o,t.indexOf(r,o)-o)).length+r.length,3===(r=_t(r,e)).length&&r.push(1),a+=n+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return a+t.substr(o)},gt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(u in pt)gt+="|"+u+"\\b";gt=new RegExp(gt+")","gi"),o.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];gt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=mt(t[0],e),t[1]=mt(t[1],e)),gt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=o.colorStringFilter);var yt=function(t,e,i,r){if(null==t)return function(t){return t};var n,s=e?(t.match(gt)||[""])[0]:"",o=t.split(s).join("").match(w)||[],a=t.substr(0,t.indexOf(o[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",c=o.length,u=c>0?o[0].replace(x,""):"";return c?n=e?function(t){var e,f,p,d;if("number"==typeof t)t+=u;else if(r&&L.test(t)){for(d=t.replace(L,"|").split("|"),p=0;p<d.length;p++)d[p]=n(d[p]);return d.join(",")}if(e=(t.match(gt)||[s])[0],p=(f=t.split(e).join("").match(w)||[]).length,c>p--)for(;++p<c;)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+=u;else if(r&&L.test(t)){for(s=t.replace(L,"|").split("|"),f=0;f<s.length;f++)s[f]=n(s[f]);return s.join(",")}if(f=(e=t.match(w)||[]).length,c>f--)for(;++f<c;)e[f]=i?e[(f-1)/2|0]:o[f];return a+e.join(h)+l}:function(t){return t}},vt=function(t){return t=t.split(","),function(e,i,r,n,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 n.parse(e,a,s,o)}},xt=(U._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,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(n=i.xs0+i.s+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i[s]=n}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&(r._prev=this,this._next=r)}),bt=(U._parseToProxy=function(t,e,i,r,n,s){var o,a,l,h,c,u=r,f={},p={},d=i._transform,_=B;for(i._transform=null,B=e,r=c=i.parse(t,e,r,n),B=_,s&&(i._transform=d,u&&(u._prev=null,u._prev&&(u._prev._next=null)));r&&r!==u;){if(r.type<=1&&(p[a=r.p]=r.s+r.c,f[a]=r.s,s||(h=new xt(r,"s",a,h,r.r),r.c=0),1===r.type))for(o=r.l;--o>0;)l="xn"+o,p[a=r.p+"_"+l]=r.data[l],f[a]=r[l],s||(h=new xt(r,l,a,h,r.rxp[l]));r=r._next}return{proxy:f,end:p,firstMPT:h,pt:c}},U.CSSPropTween=function(t,e,r,n,o,a,l,h,c,u,f){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof bt||s.push(this.n),this.r=h?"function"==typeof h?h:Math.round:h,this.type=a||0,c&&(this.pr=c,i=!0),this.b=void 0===u?r:u,this.e=void 0===f?r+n:f,o&&(this._next=o,o._prev=this)}),wt=function(t,e,i,r,n,s){var o=new bt(t,e,i,r-i,n,-1,s);return o.b=i,o.e=o.xs0=r,o},Tt=o.parseComplex=function(t,e,i,r,n,s,a,l,h,c){i=i||s||"","function"==typeof r&&(r=r(v,y)),a=new bt(t,e,0,0,a,c?2:1,null,!1,l,i,r),r+="",n&&gt.test(r+i)&&(o.colorStringFilter(r=[i,r]),i=r[0],r=r[1]);var u,p,d,_,m,g,w,T,P,S,O,k,R,A=i.split(", ").join(",").split(" "),C=r.split(", ").join(",").split(" "),M=A.length,E=!1!==f;for(-1===r.indexOf(",")&&-1===i.indexOf(",")||(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(A=A.join(" ").replace(L,", ").split(" "),C=C.join(" ").replace(L,", ").split(" ")):(A=A.join(" ").split(",").join(", ").split(" "),C=C.join(" ").split(",").join(", ").split(" ")),M=A.length),M!==C.length&&(M=(A=(s||"").split(" ")).length),a.plugin=h,a.setRatio=c,gt.lastIndex=0,u=0;u<M;u++)if(_=A[u],m=C[u]+"",(T=parseFloat(_))||0===T)a.appendXtra("",T,ct(m,T),m.replace(b,""),!(!E||-1===m.indexOf("px"))&&Math.round,!0);else if(n&&gt.test(_))k=")"+((k=m.indexOf(")")+1)?m.substr(k):""),R=-1!==m.indexOf("hsl")&&q,S=m,_=_t(_,R),m=_t(m,R),(P=_.length+m.length>6)&&!q&&0===m[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(C[u]).join("transparent")):(q||(P=!1),R?a.appendXtra(S.substr(0,S.indexOf("hsl"))+(P?"hsla(":"hsl("),_[0],ct(m[0],_[0]),",",!1,!0).appendXtra("",_[1],ct(m[1],_[1]),"%,",!1).appendXtra("",_[2],ct(m[2],_[2]),P?"%,":"%"+k,!1):a.appendXtra(S.substr(0,S.indexOf("rgb"))+(P?"rgba(":"rgb("),_[0],m[0]-_[0],",",Math.round,!0).appendXtra("",_[1],m[1]-_[1],",",Math.round).appendXtra("",_[2],m[2]-_[2],P?",":k,Math.round),P&&(_=_.length<4?1:_[3],a.appendXtra("",_,(m.length<4?1:m[3])-_,k,!1))),gt.lastIndex=0;else if(g=_.match(x)){if(!(w=m.match(b))||w.length!==g.length)return a;for(d=0,p=0;p<g.length;p++)O=g[p],S=_.indexOf(O,d),a.appendXtra(_.substr(d,S-d),Number(O),ct(w[p],O),"",!(!E||"px"!==_.substr(S+O.length,2))&&Math.round,0===p),d=S+O.length;a["xs"+a.l]+=_.substr(d)}else a["xs"+a.l]+=a.l||a["xs"+a.l]?" "+m:m;if(-1!==r.indexOf("=")&&a.data){for(k=a.xs0+a.data.s,u=1;u<a.l;u++)k+=a["xs"+u]+a.data["xn"+u];a.e=k+a["xs"+u]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},Pt=9;for((u=bt.prototype).l=u.pr=0;--Pt>0;)u["xn"+Pt]=0,u["xs"+Pt]="";u.xs0="",u._next=u._prev=u.xfirst=u.data=u.plugin=u.setRatio=u.rxp=null,u.appendXtra=function(t,e,i,r,n,s){var 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]=r||"",a>0?(o.data["xn"+a]=e+i,o.rxp["xn"+a]=n,o["xn"+a]=e,o.plugin||(o.xfirst=new bt(o,"xn"+a,e,i,o.xfirst||o,0,o.n,n,o.pr),o.xfirst.xs0=0),o):(o.data={s:e+i},o.rxp={},o.s=e,o.c=i,o.r=n,o)):(o["xs"+a]+=e+(r||""),o)};var St=function(t,e){e=e||{},this.p=e.prefix&&J(t)||t,c[t]=c[this.p]=this,this.format=e.formatter||yt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.pr=e.priority||0},Ot=U._registerComplexSpecialProp=function(t,e,i){"object"!==(void 0===e?"undefined":a(e))&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;r<n.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||s,new St(n[r],e)},kt=U._registerPluginProp=function(t){if(!c[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Ot(t,{parser:function(t,i,r,n,s,o,a){var l=h.com.greensock.plugins[e];return l?(l._cssRegister(),c[r].parse(t,i,r,n,s,o,a)):($("Error: "+e+" js file not loaded."),s)}})}};(u=St.prototype).parseComplex=function(t,e,i,r,n,s){var o,a,l,h,c,u,f=this.keyword;if(this.multi&&(L.test(i)||L.test(e)?(a=e.replace(L,"|").split("|"),l=i.replace(L,"|").split("|")):f&&(a=[e],l=[i])),l){for(h=l.length>a.length?l.length:a.length,o=0;o<h;o++)e=a[o]=a[o]||this.dflt,i=l[o]=l[o]||this.dflt,f&&(c=e.indexOf(f))!==(u=i.indexOf(f))&&(-1===u?a[o]=a[o].split(f).join(""):-1===c&&(a[o]+=" "+f));e=a.join(", "),i=l.join(", ")}return Tt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},u.parse=function(t,e,i,r,s,o,a){return this.parseComplex(t.style,this.format(et(t,this.p,n,!1,this.dflt)),this.format(e),s,o)},o.registerSpecialProp=function(t,e,i){Ot(t,{parser:function(t,r,n,s,o,a,l){var h=new bt(t,n,0,0,o,2,n,!1,i);return h.plugin=a,h.setRatio=e(t,r,s._tween,n),h},priority:i})},o.useSVGTransformAttr=!0;var Rt,At="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ct=J("transform"),Mt=K+"transform",Et=J("transformOrigin"),Dt=null!==J("perspective"),Ft=U.Transform=function(){this.perspective=parseFloat(o.defaultTransformPerspective)||0,this.force3D=!(!1===o.defaultForce3D||!Dt)&&(o.defaultForce3D||"auto")},Nt=l.SVGElement,Lt=function(t,e,i){var r,n=j.createElementNS("http://www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},It=j.documentElement||{},Xt=function(){var t,e,i,r=g||/Android/i.test(G)&&!l.chrome;return j.createElementNS&&!r&&(t=Lt("svg",It),i=(e=Lt("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[Et]="50% 50%",e.style[Ct]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(_&&Dt),It.removeChild(t)),r}(),zt=function(t,e,i,r,n,s){var a,l,h,c,u,f,p,d,_,m,g,y,v,x,b=t._gsTransform,w=Wt(t,!0);b&&(v=b.xOrigin,x=b.yOrigin),(!r||(a=r.split(" ")).length<2)&&(0===(p=t.getBBox()).x&&0===p.y&&p.width+p.height===0&&(p={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),a=[(-1!==(e=ht(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*p.width:parseFloat(e[0]))+p.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*p.height:parseFloat(e[1]))+p.y]),i.xOrigin=c=parseFloat(a[0]),i.yOrigin=u=parseFloat(a[1]),r&&w!==jt&&(f=w[0],p=w[1],d=w[2],_=w[3],m=w[4],g=w[5],(y=f*_-p*d)&&(l=c*(_/y)+u*(-d/y)+(d*g-_*m)/y,h=c*(-p/y)+u*(f/y)-(f*g-p*m)/y,c=i.xOrigin=a[0]=l,u=i.yOrigin=a[1]=h)),b&&(s&&(i.xOffset=b.xOffset,i.yOffset=b.yOffset,b=i),n||!1!==n&&!1!==o.defaultSmoothOrigin?(l=c-v,h=u-x,b.xOffset+=l*w[0]+h*w[2]-l,b.yOffset+=l*w[1]+h*w[3]-h):b.xOffset=b.yOffset=0),s||t.setAttribute("data-svg-origin",a.join(" "))},Bt=function(t){try{return t.getBBox()}catch(e){return function t(e){var i,r=W("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,o=this.style.cssText;if(It.appendChild(r),r.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?n.insertBefore(this,s):n.appendChild(this),It.removeChild(r),this.style.cssText=o,i}.call(t,!0)}},Yt=function(t){return!(!Nt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Bt(t))},jt=[1,0,0,1,0,0],Wt=function(t,e){var i,r,n,s,o,a,l=t._gsTransform||new Ft,h=t.style;if(Ct?r=et(t,Mt,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(F))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),l.x||0,l.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,!Ct||!(a=!tt(t)||"none"===tt(t).display)&&t.parentNode||(a&&(s=h.display,h.display="block"),t.parentNode||(o=1,It.appendChild(t)),i=!(r=et(t,Mt,null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?h.display=s:a&&qt(h,"display"),o&&It.removeChild(t)),(l.svg||t.getCTM&&Yt(t))&&(i&&-1!==(h[Ct]+"").indexOf("matrix")&&(r=h[Ct],i=0),n=t.getAttribute("transform"),i&&n&&(r="matrix("+(n=t.transform.baseVal.consolidate().matrix).a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return jt;for(n=(r||"").match(x)||[],Pt=n.length;--Pt>-1;)s=Number(n[Pt]),n[Pt]=(o=s-(s|=0))?(1e5*o+(o<0?-.5:.5)|0)/1e5+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Ht=U.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,a,l,h,c,u,f=r&&t._gsTransform||new Ft,p=f.scaleX<0,d=Dt&&(parseFloat(et(t,Et,i,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Yt(t)),f.svg&&(zt(t,et(t,Et,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Rt=o.useSVGTransformAttr||Xt),(s=Wt(t))!==jt){if(16===s.length){var m,g,y,v,x,b=s[0],w=s[1],T=s[2],P=s[3],S=s[4],O=s[5],k=s[6],R=s[7],A=s[8],C=s[9],M=s[10],E=s[12],D=s[13],F=s[14],N=s[11],L=Math.atan2(k,M);f.zOrigin&&(E=A*(F=-f.zOrigin)-s[12],D=C*F-s[13],F=M*F+f.zOrigin-s[14]),f.rotationX=L*z,L&&(m=S*(v=Math.cos(-L))+A*(x=Math.sin(-L)),g=O*v+C*x,y=k*v+M*x,A=S*-x+A*v,C=O*-x+C*v,M=k*-x+M*v,N=R*-x+N*v,S=m,O=g,k=y),L=Math.atan2(-T,M),f.rotationY=L*z,L&&(g=w*(v=Math.cos(-L))-C*(x=Math.sin(-L)),y=T*v-M*x,C=w*x+C*v,M=T*x+M*v,N=P*x+N*v,b=m=b*v-A*x,w=g,T=y),L=Math.atan2(w,b),f.rotation=L*z,L&&(m=b*(v=Math.cos(L))+w*(x=Math.sin(L)),g=S*v+O*x,y=A*v+C*x,w=w*v-b*x,O=O*v-S*x,C=C*v-A*x,b=m,S=g,A=y),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),L=Math.atan2(S,O),f.scaleX=(1e5*Math.sqrt(b*b+w*w+T*T)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(O*O+k*k)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(A*A+C*C+M*M)+.5|0)/1e5,b/=f.scaleX,S/=f.scaleY,w/=f.scaleX,O/=f.scaleY,Math.abs(L)>2e-5?(f.skewX=L*z,S=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(L))):f.skewX=0,f.perspective=N?1/(N<0?-N:N):0,f.x=E,f.y=D,f.z=F,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*b-f.yOrigin*S),f.y-=f.yOrigin-(f.yOrigin*w-f.xOrigin*O))}else if(!Dt||n||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var I=s.length>=6,X=I?s[0]:1,B=s[1]||0,Y=s[2]||0,j=I?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(X*X+B*B),h=Math.sqrt(j*j+Y*Y),c=X||B?Math.atan2(B,X)*z:f.rotation||0,u=Y||j?Math.atan2(Y,j)*z+c:f.skewX||0,f.scaleX=l,f.scaleY=h,f.rotation=c,f.skewX=u,Dt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*X+f.yOrigin*Y),f.y-=f.yOrigin-(f.xOrigin*B+f.yOrigin*j))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=d,f)f[a]<2e-5&&f[a]>-2e-5&&(f[a]=0)}return r&&(t._gsTransform=f,f.svg&&(Rt&&t.style[Ct]?e.delayedCall(.001,function(){qt(t.style,Ct)}):!Rt&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Vt=function(t){var e,i,r=this.data,n=-r.rotation*X,s=n+r.skewX*X,o=(Math.cos(n)*r.scaleX*1e5|0)/1e5,a=(Math.sin(n)*r.scaleX*1e5|0)/1e5,l=(Math.sin(s)*-r.scaleY*1e5|0)/1e5,h=(Math.cos(s)*r.scaleY*1e5|0)/1e5,c=this.t.style,u=this.t.currentStyle;if(u){i=a,a=-l,l=-i,e=u.filter,c.filter="";var f,p,d=this.t.offsetWidth,_=this.t.offsetHeight,m="absolute"!==u.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+a+", M21="+l+", M22="+h,v=r.x+d*r.xPercent/100,x=r.y+_*r.yPercent/100;if(null!=r.ox&&(v+=(f=(r.oxp?d*r.ox*.01:r.ox)-d/2)-(f*o+(p=(r.oyp?_*r.oy*.01:r.oy)-_/2)*a),x+=p-(f*l+p*h)),y+=m?", Dx="+((f=d/2)-(f*o+(p=_/2)*a)+v)+", Dy="+(p-(f*l+p*h)+x)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?c.filter=e.replace(N,y):c.filter=y+" "+e,0!==t&&1!==t||1===o&&0===a&&0===l&&1===h&&(m&&-1===y.indexOf("Dx=0, Dy=0")||S.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&c.removeAttribute("filter")),!m){var b,w,T,O=g<8?1:-1;for(f=r.ieOffsetX||0,p=r.ieOffsetY||0,r.ieOffsetX=Math.round((d-((o<0?-o:o)*d+(a<0?-a:a)*_))/2+v),r.ieOffsetY=Math.round((_-((h<0?-h:h)*_+(l<0?-l:l)*d))/2+x),Pt=0;Pt<4;Pt++)T=(i=-1!==(b=u[w=at[Pt]]).indexOf("px")?parseFloat(b):it(this.t,w,parseFloat(b),b.replace(P,""))||0)!==r[w]?Pt<2?-r.ieOffsetX:-r.ieOffsetY:Pt<2?f-r.ieOffsetX:p-r.ieOffsetY,c[w]=(r[w]=Math.round(i-T*(0===Pt||2===Pt?1:O)))+"px"}}},Ut=U.set3DTransformRatio=U.setTransformRatio=function(t){var e,i,r,n,s,o,a,l,h,c,u,f,p,d,m,g,y,v,x,b,w,T=this.data,P=this.t.style,S=T.rotation,O=T.rotationX,k=T.rotationY,R=T.scaleX,A=T.scaleY,C=T.scaleZ,M=T.x,E=T.y,D=T.z,F=T.svg,N=T.perspective,L=T.force3D,I=T.skewY,z=T.skewX;if(I&&(z+=I,S+=I),!((1!==t&&0!==t||"auto"!==L||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&L||D||N||k||O||1!==C)||Rt&&F||!Dt)S||z||F?(S*=X,b=z*X,w=1e5,i=Math.cos(S)*R,s=Math.sin(S)*R,r=Math.sin(S-b)*-A,o=Math.cos(S-b)*A,b&&"simple"===T.skewType&&(e=Math.tan(b-I*X),r*=e=Math.sqrt(1+e*e),o*=e,I&&(e=Math.tan(I*X),i*=e=Math.sqrt(1+e*e),s*=e)),F&&(M+=T.xOrigin-(T.xOrigin*i+T.yOrigin*r)+T.xOffset,E+=T.yOrigin-(T.xOrigin*s+T.yOrigin*o)+T.yOffset,Rt&&(T.xPercent||T.yPercent)&&(m=this.t.getBBox(),M+=.01*T.xPercent*m.width,E+=.01*T.yPercent*m.height),M<(m=1e-6)&&M>-m&&(M=0),E<m&&E>-m&&(E=0)),x=(i*w|0)/w+","+(s*w|0)/w+","+(r*w|0)/w+","+(o*w|0)/w+","+M+","+E+")",F&&Rt?this.t.setAttribute("transform","matrix("+x):P[Ct]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+x):P[Ct]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix(":"matrix(")+R+",0,0,"+A+","+M+","+E+")";else{if(_&&(R<(m=1e-4)&&R>-m&&(R=C=2e-5),A<m&&A>-m&&(A=C=2e-5),!N||T.z||T.rotationX||T.rotationY||(N=0)),S||z)S*=X,g=i=Math.cos(S),y=s=Math.sin(S),z&&(S-=z*X,g=Math.cos(S),y=Math.sin(S),"simple"===T.skewType&&(e=Math.tan((z-I)*X),g*=e=Math.sqrt(1+e*e),y*=e,T.skewY&&(e=Math.tan(I*X),i*=e=Math.sqrt(1+e*e),s*=e))),r=-y,o=g;else{if(!(k||O||1!==C||N||F))return void(P[Ct]=(T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+E+"px,"+D+"px)"+(1!==R||1!==A?" scale("+R+","+A+")":""));i=o=1,r=s=0}c=1,n=a=l=h=u=f=0,p=N?-1/N:0,d=T.zOrigin,m=1e-6,",","0",(S=k*X)&&(g=Math.cos(S),l=-(y=Math.sin(S)),u=p*-y,n=i*y,a=s*y,c=g,p*=g,i*=g,s*=g),(S=O*X)&&(e=r*(g=Math.cos(S))+n*(y=Math.sin(S)),v=o*g+a*y,h=c*y,f=p*y,n=r*-y+n*g,a=o*-y+a*g,c*=g,p*=g,r=e,o=v),1!==C&&(n*=C,a*=C,c*=C,p*=C),1!==A&&(r*=A,o*=A,h*=A,f*=A),1!==R&&(i*=R,s*=R,l*=R,u*=R),(d||F)&&(d&&(M+=n*-d,E+=a*-d,D+=c*-d+d),F&&(M+=T.xOrigin-(T.xOrigin*i+T.yOrigin*r)+T.xOffset,E+=T.yOrigin-(T.xOrigin*s+T.yOrigin*o)+T.yOffset),M<m&&M>-m&&(M="0"),E<m&&E>-m&&(E="0"),D<m&&D>-m&&(D=0)),x=T.xPercent||T.yPercent?"translate("+T.xPercent+"%,"+T.yPercent+"%) matrix3d(":"matrix3d(",x+=(i<m&&i>-m?"0":i)+","+(s<m&&s>-m?"0":s)+","+(l<m&&l>-m?"0":l),x+=","+(u<m&&u>-m?"0":u)+","+(r<m&&r>-m?"0":r)+","+(o<m&&o>-m?"0":o),O||k||1!==C?(x+=","+(h<m&&h>-m?"0":h)+","+(f<m&&f>-m?"0":f)+","+(n<m&&n>-m?"0":n),x+=","+(a<m&&a>-m?"0":a)+","+(c<m&&c>-m?"0":c)+","+(p<m&&p>-m?"0":p)+","):x+=",0,0,0,0,1,0,",x+=M+","+E+","+D+","+(N?1+-D/N:1)+")",P[Ct]=x}};(u=Ft.prototype).x=u.y=u.z=u.skewX=u.skewY=u.rotation=u.rotationX=u.rotationY=u.zOrigin=u.xPercent=u.yPercent=u.xOffset=u.yOffset=0,u.scaleX=u.scaleY=u.scaleZ=1,Ot("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,l,h){if(r._lastParsedTransform===h)return s;r._lastParsedTransform=h;var c,u=h.scale&&"function"==typeof h.scale?h.scale:0;"function"==typeof h[i]&&(c=h[i],h[i]=e),u&&(h.scale=u(v,t));var f,p,d,_,m,g,x,b,w,T=t._gsTransform,P=t.style,S=At.length,O=h,k={},R=Ht(t,n,!0,O.parseTransform),A=O.transform&&("function"==typeof O.transform?O.transform(v,y):O.transform);if(R.skewType=O.skewType||R.skewType||o.defaultSkewType,r._transform=R,A&&"string"==typeof A&&Ct)(p=H.style)[Ct]=A,p.display="block",p.position="absolute",-1!==A.indexOf("%")&&(p.width=et(t,"width"),p.height=et(t,"height")),j.body.appendChild(H),f=Ht(H,null,!1),"simple"===R.skewType&&(f.scaleY*=Math.cos(f.skewX*X)),R.svg&&(g=R.xOrigin,x=R.yOrigin,f.x-=R.xOffset,f.y-=R.yOffset,(O.transformOrigin||O.svgOrigin)&&(A={},zt(t,ht(O.transformOrigin),A,O.svgOrigin,O.smoothOrigin,!0),g=A.xOrigin,x=A.yOrigin,f.x-=A.xOffset-R.xOffset,f.y-=A.yOffset-R.yOffset),(g||x)&&(b=Wt(H,!0),f.x-=g-(g*b[0]+x*b[2]),f.y-=x-(g*b[1]+x*b[3]))),j.body.removeChild(H),f.perspective||(f.perspective=R.perspective),null!=O.xPercent&&(f.xPercent=ut(O.xPercent,R.xPercent)),null!=O.yPercent&&(f.yPercent=ut(O.yPercent,R.yPercent));else if("object"===(void 0===O?"undefined":a(O))){if(f={scaleX:ut(null!=O.scaleX?O.scaleX:O.scale,R.scaleX),scaleY:ut(null!=O.scaleY?O.scaleY:O.scale,R.scaleY),scaleZ:ut(O.scaleZ,R.scaleZ),x:ut(O.x,R.x),y:ut(O.y,R.y),z:ut(O.z,R.z),xPercent:ut(O.xPercent,R.xPercent),yPercent:ut(O.yPercent,R.yPercent),perspective:ut(O.transformPerspective,R.perspective)},null!=(m=O.directionalRotation))if("object"===(void 0===m?"undefined":a(m)))for(p in m)O[p]=m[p];else O.rotation=m;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(f.x=0,f.xPercent=ut(O.x,R.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(f.y=0,f.yPercent=ut(O.y,R.yPercent)),f.rotation=ft("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:R.rotation,R.rotation,"rotation",k),Dt&&(f.rotationX=ft("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":R.rotationX||0,R.rotationX,"rotationX",k),f.rotationY=ft("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":R.rotationY||0,R.rotationY,"rotationY",k)),f.skewX=ft(O.skewX,R.skewX),f.skewY=ft(O.skewY,R.skewY)}for(Dt&&null!=O.force3D&&(R.force3D=O.force3D,_=!0),(d=R.force3D||R.z||R.rotationX||R.rotationY||f.z||f.rotationX||f.rotationY||f.perspective)||null==O.scale||(f.scaleZ=1);--S>-1;)((A=f[w=At[S]]-R[w])>1e-6||A<-1e-6||null!=O[w]||null!=B[w])&&(_=!0,s=new bt(R,w,R[w],A,s),w in k&&(s.e=k[w]),s.xs0=0,s.plugin=l,r._overwriteProps.push(s.n));return A=O.transformOrigin,R.svg&&(A||O.svgOrigin)&&(g=R.xOffset,x=R.yOffset,zt(t,ht(A),f,O.svgOrigin,O.smoothOrigin),s=wt(R,"xOrigin",(T?R:f).xOrigin,f.xOrigin,s,"transformOrigin"),s=wt(R,"yOrigin",(T?R:f).yOrigin,f.yOrigin,s,"transformOrigin"),g===R.xOffset&&x===R.yOffset||(s=wt(R,"xOffset",T?g:R.xOffset,R.xOffset,s,"transformOrigin"),s=wt(R,"yOffset",T?x:R.yOffset,R.yOffset,s,"transformOrigin")),A="0px 0px"),(A||Dt&&d&&R.zOrigin)&&(Ct?(_=!0,w=Et,A=(A||et(t,w,n,!1,"50% 50%"))+"",(s=new bt(P,w,0,0,s,-1,"transformOrigin")).b=P[w],s.plugin=l,Dt?(p=R.zOrigin,A=A.split(" "),R.zOrigin=(A.length>2&&(0===p||"0px"!==A[2])?parseFloat(A[2]):p)||0,s.xs0=s.e=A[0]+" "+(A[1]||"50%")+" 0px",(s=new bt(R,"zOrigin",0,0,s,-1,s.n)).b=p,s.xs0=s.e=R.zOrigin):s.xs0=s.e=A):ht(A+"",R)),_&&(r._transformType=R.svg&&Rt||!d&&3!==this._transformType?2:3),c&&(h[i]=c),u&&(h.scale=u),s},prefix:!0}),Ot("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ot("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,o,a){e=this.format(e);var l,h,c,u,f,p,d,_,m,g,y,v,x,b,w,T,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),h=0;h<P.length;h++)this.p.indexOf("border")&&(P[h]=J(P[h])),-1!==(f=u=et(t,P[h],n,!1,"0px")).indexOf(" ")&&(f=(u=f.split(" "))[0],u=u[1]),p=c=l[h],d=parseFloat(f),v=f.substr((d+"").length),(x="="===p.charAt(1))?(_=parseInt(p.charAt(0)+"1",10),p=p.substr(2),_*=parseFloat(p),y=p.substr((_+"").length-(_<0?1:0))||""):(_=parseFloat(p),y=p.substr((_+"").length)),""===y&&(y=r[i]||v),y!==v&&(b=it(t,"borderLeft",d,v),w=it(t,"borderTop",d,v),"%"===y?(f=b/m*100+"%",u=w/g*100+"%"):"em"===y?(f=b/(T=it(t,"borderLeft",1,"em"))+"em",u=w/T+"em"):(f=b+"px",u=w+"px"),x&&(p=parseFloat(f)+_+y,c=parseFloat(u)+_+y)),o=Tt(S,P[h],f+" "+u,p+" "+c,!1,"0px",o);return o},prefix:!0,formatter:yt("0px 0px 0px 0px",!1,!0)}),Ot("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,s,o){return Tt(t.style,i,this.format(et(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:yt("0px 0px",!1,!0)}),Ot("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,o){var a,l,h,c,u,f,p="background-position",d=n||tt(t,null),_=this.format((d?g?d.getPropertyValue(p+"-x")+" "+d.getPropertyValue(p+"-y"):d.getPropertyValue(p):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),m=this.format(e);if(-1!==_.indexOf("%")!=(-1!==m.indexOf("%"))&&m.split(",").length<2&&(f=et(t,"backgroundImage").replace(M,""))&&"none"!==f){for(a=_.split(" "),l=m.split(" "),V.setAttribute("src",f),h=2;--h>-1;)(c=-1!==(_=a[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(u=0===h?t.offsetWidth-V.width:t.offsetHeight-V.height,a[h]=c?parseFloat(_)/100*u+"px":parseFloat(_)/u*100+"%");_=a.join(" ")}return this.parseComplex(t.style,_,m,s,o)},formatter:ht}),Ot("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ht(-1===t.indexOf(" ")?t+" "+t:t)}}),Ot("perspective",{defaultValue:"0px",prefix:!0}),Ot("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ot("transformStyle",{prefix:!0}),Ot("backfaceVisibility",{prefix:!0}),Ot("userSelect",{prefix:!0}),Ot("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),Ot("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ot("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,o){var a,l,h;return g<9?(l=t.currentStyle,h=g<8?" ":",",a="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(a=this.format(et(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,s,o)}}),Ot("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ot("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),Ot("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,o){var a=et(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(P,"");return"px"!==h&&(a=parseFloat(a)/it(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(a+" "+et(t,"borderTopStyle",n,!1,"solid")+" "+et(t,"borderTopColor",n,!1,"#000")),l.join(" "),s,o)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Ot("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ot("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var o=t.style,a="cssFloat"in o?"cssFloat":"styleFloat";return new bt(o,a,0,0,n,-1,i,!1,0,o[a],e)}});var Gt=function(t){var e,i=this.t,r=i.filter||et(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=r.replace(k,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(S,"opacity="+n))};Ot("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,o){var a=parseFloat(et(t,"opacity",n,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),h&&1===a&&"hidden"===et(t,"visibility",n)&&0!==e&&(a=0),q?s=new bt(l,"opacity",a,e-a,s):((s=new bt(l,"opacity",100*a,100*(e-a),s)).xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=o,s.setRatio=Gt),h&&((s=new bt(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(i)),s}});var qt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(A,"-$1").toLowerCase())):t.removeAttribute(e))},Zt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:qt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ot("className",{parser:function(t,e,r,s,o,a,l){var h,c,u,f,p,d=t.getAttribute("class")||"",_=t.style.cssText;if((o=s._classNamePT=new bt(t,r,0,0,o,2)).setRatio=Zt,o.pr=-11,i=!0,o.b=d,c=nt(t,n),u=t._gsClassPT){for(f={},p=u.data;p;)f[p.p]=1,p=p._next;u.setRatio(1)}return t._gsClassPT=o,o.e="="!==e.charAt(1)?e:d.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",o.e),h=st(t,c,nt(t),l,f),t.setAttribute("class",d),o.data=h.firstMPT,t.style.cssText=_,o=o.xfirst=s.parse(t,h.difs,o,a)}});var $t=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,o=this.t.style,a=c.transform.parse;if("all"===this.e)o.cssText="",n=!0;else for(r=(e=this.e.split(" ").join("").split(",")).length;--r>-1;)i=e[r],c[i]&&(c[i].parse===a?n=!0:i="transformOrigin"===i?Et:c[i].p),qt(o,i);n&&(qt(o,Ct),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ot("clearProps",{parser:function(t,e,r,n,s){return(s=new bt(t,r,0,0,s,2)).setRatio=$t,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),u="bezier,throwProps,physicsProps,physics2D".split(","),Pt=u.length;Pt--;)kt(u[Pt]);(u=o.prototype)._firstPT=u._lastParsedTransform=u._transform=null,u._onInitTween=function(t,e,a,l){if(!t.nodeType)return!1;this._target=y=t,this._tween=a,this._vars=e,v=l,f=e.autoRound,i=!1,r=e.suffixMap||o.suffixMap,n=tt(t,""),s=this._overwriteProps;var h,u,_,g,x,b,w,T,P,S=t.style;if(p&&""===S.zIndex&&("auto"!==(h=et(t,"zIndex",n))&&""!==h||this._addLazySet(S,"zIndex",0)),"string"==typeof e&&(g=S.cssText,h=nt(t,n),S.cssText=g+";"+e,h=st(t,h,nt(t)).difs,!q&&O.test(e)&&(h.opacity=parseFloat(RegExp.$1)),e=h,S.cssText=g),e.className?this._firstPT=u=c.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=u=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,Ct?d&&(p=!0,""===S.zIndex&&("auto"!==(w=et(t,"zIndex",n))&&""!==w||this._addLazySet(S,"zIndex",0)),m&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):S.zoom=1,_=u;_&&_._next;)_=_._next;T=new bt(t,"transform",0,0,null,2),this._linkCSSP(T,null,_),T.setRatio=Ct?Ut:Vt,T.data=this._transform||Ht(t,n,!0),T.tween=a,T.pr=-1,s.pop()}if(i){for(;u;){for(b=u._next,_=g;_&&_.pr>u.pr;)_=_._next;(u._prev=_?_._prev:x)?u._prev._next=u:g=u,(u._next=_)?_._prev=u:x=u,u=b}this._firstPT=g}return!0},u.parse=function(t,e,i,s){var o,a,l,h,u,p,d,_,m,g,x=t.style;for(o in e){if("function"==typeof(p=e[o])&&(p=p(v,y)),a=c[o])i=a.parse(t,p,o,this,i,s,e);else{if("--"===o.substr(0,2)){this._tween._propLookup[o]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(o)+"",p+"",o,!1,o);continue}u=et(t,o,n)+"",m="string"==typeof p,"color"===o||"fill"===o||"stroke"===o||-1!==o.indexOf("Color")||m&&R.test(p)?(m||(p=((p=_t(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),i=Tt(x,o,u,p,!0,"transparent",i,0,s)):m&&I.test(p)?i=Tt(x,o,u,p,!0,null,i,0,s):(d=(l=parseFloat(u))||0===l?u.substr((l+"").length):"",""!==u&&"auto"!==u||("width"===o||"height"===o?(l=lt(t,o,n),d="px"):"left"===o||"top"===o?(l=rt(t,o,n),d="px"):(l="opacity"!==o?0:1,d="")),(g=m&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),_=p.replace(P,"")):(h=parseFloat(p),_=m?p.replace(P,""):""),""===_&&(_=o in r?r[o]:d),p=h||0===h?(g?h+l:h)+_:e[o],d!==_&&(""===_&&"lineHeight"!==o||(h||0===h)&&l&&(l=it(t,o,l,d),"%"===_?(l/=it(t,o,100,"%")/100,!0!==e.strictUnits&&(u=l+"%")):"em"===_||"rem"===_||"vw"===_||"vh"===_?l/=it(t,o,1,_):"px"!==_&&(h=it(t,o,h,_),_="px"),g&&(h||0===h)&&(p=h+l+_))),g&&(h+=l),!l&&0!==l||!h&&0!==h?void 0!==x[o]&&(p||p+""!="NaN"&&null!=p)?(i=new bt(x,o,h||l||0,0,i,-1,o,!1,0,u,p)).xs0="none"!==p||"display"!==o&&-1===o.indexOf("Style")?p:u:$("invalid "+o+" tween value: "+e[o]):(i=new bt(x,o,l,h-l,i,0,o,!1!==f&&("px"===_||"zIndex"===o),0,u,p)).xs0=_)}s&&i&&!i.plugin&&(i.plugin=s)}return i},u.setRatio=function(t){var e,i,r,n=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):e<1e-6&&e>-1e-6&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=n.r(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},u._enableTransforms=function(t){this._transform=this._transform||Ht(this._target,n,!0),this._transformType=this._transform.svg&&Rt||!t&&3!==this._transformType?2:3};var Kt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};u._addLazySet=function(t,e,i){var r=this._firstPT=new bt(t,e,0,0,this._firstPT,2);r.e=i,r.setRatio=Kt,r.data=this},u._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},u._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},u._kill=function(e){var i,r,n,s=e;if(e.autoAlpha||e.alpha){for(r in s={},e)s[r]=e[r];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(e.className&&(i=this._classNamePT)&&((n=i.xfirst)&&n._prev?this._linkCSSP(n._prev,i._next,n._prev._prev):n===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,n._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==r&&i.plugin._kill&&(i.plugin._kill(e),r=i.plugin),i=i._next;return t.prototype._kill.call(this,s)};var Qt=function t(e,i,r){var n,s,o,a;if(e.slice)for(s=e.length;--s>-1;)t(e[s],i,r);else for(s=(n=e.childNodes).length;--s>-1;)a=(o=n[s]).type,o.style&&(i.push(nt(o)),r&&r.push(o)),1!==a&&9!==a&&11!==a||!o.childNodes.length||t(o,i,r)};return o.cascadeTo=function(t,i,r){var n,s,o,a,l=e.to(t,i,r),h=[l],c=[],u=[],f=[],p=e._internals.reservedProps;for(t=l._targets||l.target,Qt(t,c,f),l.render(i,!0,!0),Qt(t,u),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if((s=st(f[n],c[n],u[n])).firstMPT){for(o in s=s.difs,r)p[o]&&(s[o]=r[o]);for(o in a={},s)a[o]=c[n][o];h.push(e.fromTo(f[n],i,a,s))}return h},t.activate([o]),o},!0)}),l._gsDefine&&l._gsQueue.pop()(),function(r){"use strict";var a=function(){return(l.GreenSockGlobals||l).CSSPlugin};void 0!==t&&t.exports?(i(9),t.exports=a()):(s=[i(9)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o))}()}).call(this,i(6))},18:function(t,e,i){var r,n,s;n=[e],void 0===(s="function"==typeof(r=function(t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var e=function(){function t(t,e){for(var i=0;i<e.length;i++){var r=e[i];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}return function(e,i,r){return i&&t(e.prototype,i),r&&t(e,r),e}}(),i=/iPhone/i,r=/iPod/i,n=/iPad/i,s=/(?=.*\bAndroid\b)(?=.*\bMobile\b)/i,o=/Android/i,a=/(?=.*\bAndroid\b)(?=.*\bSD4930UR\b)/i,l=/(?=.*\bAndroid\b)(?=.*\b(?:KFOT|KFTT|KFJWI|KFJWA|KFSOWI|KFTHWI|KFTHWA|KFAPWI|KFAPWA|KFARWI|KFASWI|KFSAWI|KFSAWA)\b)/i,h=/Windows Phone/i,c=/(?=.*\bWindows\b)(?=.*\bARM\b)/i,u=/BlackBerry/i,f=/BB10/i,p=/Opera Mini/i,d=/(CriOS|Chrome)(?=.*\bMobile\b)/i,_=/(?=.*\bFirefox\b)(?=.*\bMobile\b)/i,m=new RegExp("(?:Nexus 7|BNTV250|Kindle Fire|Silk|GT-P1000)","i"),g=function(t,e){return t.test(e)},y=function(){function t(e){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t);var i=e||navigator.userAgent,r=i.split("[FBAN");void 0!==r[1]&&(i=r[0]),void 0!==(r=i.split("Twitter"))[1]&&(i=r[0]),this.ua=i}return e(t,[{key:"apple",get:function(){return{phone:g(i,this.ua),ipod:g(r,this.ua),tablet:!g(i,this.ua)&&g(n,this.ua),device:g(i,this.ua)||g(r,this.ua)||g(n,this.ua)}}},{key:"amazon",get:function(){return{phone:g(a,this.ua),tablet:!g(a,this.ua)&&g(l,this.ua),device:g(a,this.ua)||g(l,this.ua)}}},{key:"android",get:function(){return{phone:g(a,this.ua)||g(s,this.ua),tablet:!g(a,this.ua)&&!g(s,this.ua)&&(g(l,this.ua)||g(o,this.ua)),device:g(a,this.ua)||g(l,this.ua)||g(s,this.ua)||g(o,this.ua)}}},{key:"windows",get:function(){return{phone:g(h,this.ua),tablet:g(c,this.ua),device:g(h,this.ua)||g(c,this.ua)}}},{key:"other",get:function(){return{blackberry:g(u,this.ua),blackberry10:g(f,this.ua),opera:g(p,this.ua),firefox:g(_,this.ua),chrome:g(d,this.ua),device:g(u,this.ua)||g(f,this.ua)||g(p,this.ua)||g(_,this.ua)||g(d,this.ua)}}},{key:"seven_inch",get:function(){return g(m,this.ua)}},{key:"any",get:function(){return this.apple.device||this.android.device||this.windows.device||this.other.device||this.seven_inch}},{key:"phone",get:function(){return this.apple.phone||this.android.phone||this.windows.phone}},{key:"tablet",get:function(){return this.apple.tablet||this.android.tablet||this.windows.tablet}}]),t}();
  112. /**
  113. * isMobile.js v0.4.1
  114. *
  115. * A simple library to detect Apple phones and tablets,
  116. * Android phones and tablets, other mobile devices (like blackberry, mini-opera and windows phone),
  117. * and any kind of seven inch device, via user agent sniffing.
  118. *
  119. * @author: Kai Mallea (kmallea@gmail.com)
  120. *
  121. * @license: http://creativecommons.org/publicdomain/zero/1.0/
  122. */
  123. t.default=y})?r.apply(e,n):r)||(t.exports=s)},19:function(t,e,i){(function(r){var n,s,o,a="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},l=void 0!==t&&t.exports&&void 0!==r?r:this||window;(l._gsQueue||(l._gsQueue=[])).push(function(){"use strict";l._gsDefine("utils.Draggable",["events.EventDispatcher","TweenLite","plugins.CSSPlugin"],function(t,e,i){i.useSVGTransformAttr=!0;var r,n,s,o,h,c,u,f={css:{},data:"_draggable"},p={css:{},data:"_draggable"},d={css:{},data:"_draggable"},_={css:{}},m=l._gsDefine.globals,g={},y={style:{}},v=l.document||{createElement:function(){return y}},x=v.documentElement||{},b=function(t){return v.createElementNS?v.createElementNS("http://www.w3.org/1999/xhtml",t):v.createElement(t)},w=b("div"),T=[],P=function(){return!1},S=180/Math.PI,O=999999999999999,k=Date.now||function(){return(new Date).getTime()},R=!(v.addEventListener||!v.all),A=v.createElement("div"),C=[],M={},E=0,D=/^(?:a|input|textarea|button|select)$/i,F=0,N=l.navigator&&-1!==l.navigator.userAgent.toLowerCase().indexOf("android"),L=0,I={},X={},z=function(t,e){var i,r={};if(e)for(i in t)r[i]=t[i]*e;else for(i in t)r[i]=t[i];return r},B=function(){for(var t=C.length;--t>-1;)C[t]()},Y=function(t){for(var i=C.length;--i>-1;)C[i]===t&&C.splice(i,1);e.to(j,0,{overwrite:"all",delay:15,onComplete:j,data:"_draggable"})},j=function(){C.length||e.ticker.removeEventListener("tick",B)},W=function(){return null!=window.pageYOffset?window.pageYOffset:null!=v.scrollTop?v.scrollTop:x.scrollTop||v.body.scrollTop||0},H=function(){return null!=window.pageXOffset?window.pageXOffset:null!=v.scrollLeft?v.scrollLeft:x.scrollLeft||v.body.scrollLeft||0},V=function t(e,i){At(e,"scroll",i),G(e.parentNode)||t(e.parentNode,i)},U=function t(e,i){Ct(e,"scroll",i),G(e.parentNode)||t(e.parentNode,i)},G=function(t){return!(t&&t!==x&&t!==v&&t!==v.body&&t!==window&&t.nodeType&&t.parentNode)},q=function(t,e){var i="x"===e?"Width":"Height",r="scroll"+i,n="client"+i,s=v.body;return Math.max(0,G(t)?Math.max(x[r],s[r])-(window["inner"+i]||x[n]||s[n]):t[r]-t[n])},Z=function t(e){var i=G(e),r=q(e,"x"),n=q(e,"y");i?e=X:t(e.parentNode),e._gsMaxScrollX=r,e._gsMaxScrollY=n,e._gsScrollX=e.scrollLeft||0,e._gsScrollY=e.scrollTop||0},$=function(t,e){return t=t||window.event,g.pageX=t.clientX+v.body.scrollLeft+x.scrollLeft,g.pageY=t.clientY+v.body.scrollTop+x.scrollTop,e&&(t.returnValue=!1),g},K=function(t){return t?("string"==typeof t&&(t=e.selector(t)),t.length&&t!==window&&t[0]&&t[0].style&&!t.nodeType&&(t=t[0]),t===window||t.nodeType&&t.style?t:null):t},Q=function(t,e){var i,r,n,s=t.style;if(void 0===s[e]){for(n=["O","Moz","ms","Ms","Webkit"],r=5,i=e.charAt(0).toUpperCase()+e.substr(1);--r>-1&&void 0===s[n[r]+i];);if(r<0)return"";e=(3===r?"ms":n[r])+i}return e},J=function(t,e,i){var r=t.style;r&&(void 0===r[e]&&(e=Q(t,e)),null==i?r.removeProperty?r.removeProperty(e.replace(/([A-Z])/g,"-$1").toLowerCase()):r.removeAttribute(e):void 0!==r[e]&&(r[e]=i))},tt=v.defaultView?v.defaultView.getComputedStyle:P,et=/(?:Left|Right|Width)/i,it=/(?:\d|\-|\+|=|#|\.)*/g,rt=function(t,e){if("absolute"!==nt(t,"position",!0))return 0;var i="left"===e?"Left":"Top",r=nt(t,"margin"+i,!0);return t["offset"+i]-(function t(e,i,r,n,s){if("px"===n||!n)return r;if("auto"===n||!r)return 0;var o,a=et.test(i),l=e,h=w.style,c=r<0;return c&&(r=-r),"%"===n&&-1!==i.indexOf("border")?o=r/100*(a?e.clientWidth:e.clientHeight):(h.cssText="border:0 solid red;position:"+nt(e,"position",!0)+";line-height:0;","%"!==n&&l.appendChild?h[a?"borderLeftWidth":"borderTopWidth"]=r+n:(l=e.parentNode||v.body,h[a?"width":"height"]=r+n),l.appendChild(w),o=parseFloat(w[a?"offsetWidth":"offsetHeight"]),l.removeChild(w),0!==o||s||(o=t(e,i,r,n,!0))),c?-o:o}(t,e,parseFloat(r),(r+"").replace(it,""))||0)},nt=function(t,e,i){var r,n=(t._gsTransform||{})[e];return n||0===n?n:(t.style[e]?n=t.style[e]:(r=tt(t))?n=(n=r.getPropertyValue(e.replace(/([A-Z])/g,"-$1").toLowerCase()))||r.length?n:r[e]:t.currentStyle&&(n=t.currentStyle[e]),"auto"!==n||"top"!==e&&"left"!==e||(n=rt(t,e)),i?n:parseFloat(n)||0)},st=function(t,e,i){var r=t.vars,n=r[i],s=t._listeners[e];"function"==typeof n&&n.apply(r[i+"Scope"]||r.callbackScope||t,r[i+"Params"]||[t.pointerEvent]),s&&t.dispatchEvent(e)},ot=function(t,e){var i,r,n,s=K(t);return s?St(s,e):void 0!==t.left?(n=xt(e),{left:t.left-n.x,top:t.top-n.y,width:t.width,height:t.height}):{left:r=t.min||t.minX||t.minRotation||0,top:i=t.min||t.minY||0,width:(t.max||t.maxX||t.maxRotation||0)-r,height:(t.max||t.maxY||0)-i}},at=function(){if(!v.createElementNS)return s=0,void(o=!1);var t,e,i,r,n=b("div"),a=v.createElementNS("http://www.w3.org/2000/svg","svg"),l=b("div"),f=n.style,p=v.body||x,d="flex"===nt(p,"display",!0);v.body&&ct&&(f.position="absolute",p.appendChild(l),l.appendChild(n),r=n.offsetParent,l.style[ct]="rotate(1deg)",u=n.offsetParent===r,l.style.position="absolute",f.height="10px",r=n.offsetTop,l.style.border="5px solid red",c=r!==n.offsetTop,p.removeChild(l)),f=a.style,a.setAttributeNS(null,"width","400px"),a.setAttributeNS(null,"height","400px"),a.setAttributeNS(null,"viewBox","0 0 400 400"),f.display="block",f.boxSizing="border-box",f.border="0px solid red",f.transform="none",n.style.cssText="width:100px;height:100px;overflow:scroll;-ms-overflow-style:none;",p.appendChild(n),n.appendChild(a),e=(i=a.createSVGPoint().matrixTransform(a.getScreenCTM())).y,n.scrollTop=100,i.x=i.y=0,i=i.matrixTransform(a.getScreenCTM()),h=e-i.y<100.1?0:e-i.y-150,n.removeChild(a),p.removeChild(n),p.appendChild(a),d&&(p.style.display="block"),e=(t=a.getScreenCTM()).e,f.border="50px solid red",t=a.getScreenCTM(),0===e&&0===t.e&&0===t.f&&1===t.a?(s=1,o=!0):(s=e!==t.e?1:0,o=1!==t.a),d&&(p.style.display="flex"),p.removeChild(a)},lt=""!==Q(w,"perspective"),ht=Q(w,"transformOrigin").replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),ct=Q(w,"transform"),ut=ct.replace(/^ms/g,"Ms").replace(/([A-Z])/g,"-$1").toLowerCase(),ft={},pt={},dt=l.SVGElement,_t=function(t){return!!(dt&&"function"==typeof t.getBBox&&t.getCTM&&(!t.parentNode||t.parentNode.getBBox&&t.parentNode.getCTM))},mt=(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(navigator.userAgent)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(navigator.userAgent))&&parseFloat(RegExp.$1)<11,gt=[],yt=[],vt=function t(i){if(!i.getBoundingClientRect||!i.parentNode||!ct)return{offsetTop:0,offsetLeft:0,scaleX:1,scaleY:1,offsetParent:x};if(!1!==It.cacheSVGData&&i._dCache&&i._dCache.lastUpdate===e.ticker.frame)return i._dCache;var r,n,a,l,c,u,f,p,d,_,m,g=i,y=bt(i);if(y.lastUpdate=e.ticker.frame,i.getBBox&&!y.isSVGRoot){for(g=i.parentNode,r=i.getBBox();g&&"svg"!==(g.nodeName+"").toLowerCase();)g=g.parentNode;return l=t(g),y.offsetTop=r.y*l.scaleY,y.offsetLeft=r.x*l.scaleX,y.scaleX=l.scaleX,y.scaleY=l.scaleY,y.offsetParent=g||x,y}for((a=y.offsetParent)===v.body&&(a=x),yt.length=gt.length=0;g&&("matrix(1, 0, 0, 1, 0, 0)"!==(c=nt(g,ct,!0))&&"none"!==c&&"translate3d(0px, 0px, 0px)"!==c&&(yt.push(g),gt.push(g.style[ct]),g.style[ct]="none"),g!==a);)g=g.parentNode;for(n=a.getBoundingClientRect(),c=i.getScreenCTM(),f=i.createSVGPoint().matrixTransform(c),y.scaleX=Math.sqrt(c.a*c.a+c.b*c.b),y.scaleY=Math.sqrt(c.d*c.d+c.c*c.c),void 0===s&&at(),y.borderBox&&!o&&i.getAttribute("width")&&(l=tt(i)||{},p=parseFloat(l.borderLeftWidth)+parseFloat(l.borderRightWidth)||0,d=parseFloat(l.borderTopWidth)+parseFloat(l.borderBottomWidth)||0,_=parseFloat(l.width)||0,m=parseFloat(l.height)||0,y.scaleX*=(_-p)/_,y.scaleY*=(m-d)/m),h?(r=i.getBoundingClientRect(),y.offsetLeft=r.left-n.left,y.offsetTop=r.top-n.top):(y.offsetLeft=f.x-n.left,y.offsetTop=f.y-n.top),y.offsetParent=a,u=yt.length;--u>-1;)yt[u].style[ct]=gt[u];return y},xt=function(t,i){if(i=i||{},!t||t===x||!t.parentNode||t===window)return{x:0,y:0};var r=tt(t),n=ht&&r?r.getPropertyValue(ht):"50% 50%",s=n.split(" "),o=-1!==n.indexOf("left")?"0%":-1!==n.indexOf("right")?"100%":s[0],a=-1!==n.indexOf("top")?"0%":-1!==n.indexOf("bottom")?"100%":s[1];return"center"!==a&&null!=a||(a="50%"),("center"===o||isNaN(parseFloat(o)))&&(o="50%"),t.getBBox&&_t(t)?(t._gsTransform||(e.set(t,{x:"+=0",overwrite:!1}),void 0===t._gsTransform.xOrigin&&console.log("Draggable requires at least GSAP 1.17.0")),n=t.getBBox(),i.x=t._gsTransform.xOrigin-n.x,i.y=t._gsTransform.yOrigin-n.y):(t.getBBox&&-1!==(o+a).indexOf("%")&&(t={offsetWidth:(t=t.getBBox()).width,offsetHeight:t.height}),i.x=-1!==o.indexOf("%")?t.offsetWidth*parseFloat(o)/100:parseFloat(o),i.y=-1!==a.indexOf("%")?t.offsetHeight*parseFloat(a)/100:parseFloat(a)),i},bt=function(t){if(!1!==It.cacheSVGData&&t._dCache&&t._dCache.lastUpdate===e.ticker.frame)return t._dCache;var i,r=t._dCache=t._dCache||{},n=tt(t),s=t.getBBox&&_t(t),o="svg"===(t.nodeName+"").toLowerCase();if(r.isSVG=s,r.isSVGRoot=o,r.borderBox="border-box"===n.boxSizing,r.computedStyle=n,o)(i=t.parentNode||x).insertBefore(w,t),r.offsetParent=w.offsetParent||x,i.removeChild(w);else if(s){for(i=t.parentNode;i&&"svg"!==(i.nodeName+"").toLowerCase();)i=i.parentNode;r.offsetParent=i}else r.offsetParent=t.offsetParent;return r},wt=function t(e,i,r,n,o){if(e===window||!e||!e.style||!e.parentNode)return[1,0,0,1,0,0];var a,l,h,f,p,d,_,m,g,y,b,w,T,P,S=e._dCache||bt(e),O=e.parentNode,k=O._dCache||bt(O),R=S.computedStyle,A=S.isSVG?k.offsetParent:O.offsetParent;return a=S.isSVG&&-1!==(e.style[ct]+"").indexOf("matrix")?e.style[ct]:R?R.getPropertyValue(ut):e.currentStyle?e.currentStyle[ct]:"1,0,0,1,0,0",e.getBBox&&-1!==(e.getAttribute("transform")+"").indexOf("matrix")&&(a=e.getAttribute("transform")),(a=(a+"").match(/(?:\-|\.|\b)(\d|\.|e\-)+/g)||[1,0,0,1,0,0]).length>6&&(a=[a[0],a[1],a[4],a[5],a[12],a[13]]),n?a[4]=a[5]=0:S.isSVG&&(p=e._gsTransform)&&(p.xOrigin||p.yOrigin)&&(a[0]=parseFloat(a[0]),a[1]=parseFloat(a[1]),a[2]=parseFloat(a[2]),a[3]=parseFloat(a[3]),a[4]=parseFloat(a[4])-(p.xOrigin-(p.xOrigin*a[0]+p.yOrigin*a[2])),a[5]=parseFloat(a[5])-(p.yOrigin-(p.xOrigin*a[1]+p.yOrigin*a[3]))),i&&(void 0===s&&at(),h=S.isSVG||S.isSVGRoot?vt(e):e,S.isSVG?(f=e.getBBox(),y=k.isSVGRoot?{x:0,y:0}:O.getBBox(),h={offsetLeft:f.x-y.x,offsetTop:f.y-y.y,offsetParent:S.offsetParent}):S.isSVGRoot?(b=parseInt(R.borderTopWidth,10)||0,w=parseInt(R.borderLeftWidth,10)||0,T=(a[0]-s)*w+a[2]*b,P=a[1]*w+(a[3]-s)*b,d=i.x,_=i.y,m=d-(d*a[0]+_*a[2]),g=_-(d*a[1]+_*a[3]),a[4]=parseFloat(a[4])+m,a[5]=parseFloat(a[5])+g,i.x-=m,i.y-=g,d=h.scaleX,_=h.scaleY,o||(i.x*=d,i.y*=_),a[0]*=d,a[1]*=_,a[2]*=d,a[3]*=_,mt||(i.x+=T,i.y+=P),A===v.body&&h.offsetParent===x&&(A=x)):!c&&e.offsetParent&&(i.x+=parseInt(nt(e.offsetParent,"borderLeftWidth"),10)||0,i.y+=parseInt(nt(e.offsetParent,"borderTopWidth"),10)||0),l=O===x||O===v.body,a[4]=Number(a[4])+i.x+(h.offsetLeft||0)-r.x-(l?0:O.scrollLeft||0),a[5]=Number(a[5])+i.y+(h.offsetTop||0)-r.y-(l?0:O.scrollTop||0),O&&"fixed"===nt(e,"position",R)&&(a[4]+=H(),a[5]+=W()),!O||O===x||A!==h.offsetParent||k.isSVG||u&&"100100"!==t(O).join("")||(h=k.isSVGRoot?vt(O):O,a[4]-=h.offsetLeft||0,a[5]-=h.offsetTop||0,c||!k.offsetParent||S.isSVG||S.isSVGRoot||(a[4]-=parseInt(nt(k.offsetParent,"borderLeftWidth"),10)||0,a[5]-=parseInt(nt(k.offsetParent,"borderTopWidth"),10)||0))),a},Tt=function(t,e){if(!t||t===window||!t.parentNode)return[1,0,0,1,0,0];for(var i,r,n,s,o,a,l,h,c=xt(t,ft),u=xt(t.parentNode,pt),f=wt(t,c,u,!1,!e);(t=t.parentNode)&&t.parentNode&&t!==x;)c=u,u=xt(t.parentNode,c===ft?pt:ft),l=wt(t,c,u),i=f[0],r=f[1],n=f[2],s=f[3],o=f[4],a=f[5],f[0]=i*l[0]+r*l[2],f[1]=i*l[1]+r*l[3],f[2]=n*l[0]+s*l[2],f[3]=n*l[1]+s*l[3],f[4]=o*l[0]+a*l[2]+l[4],f[5]=o*l[1]+a*l[3]+l[5];return e&&(i=f[0],r=f[1],n=f[2],s=f[3],o=f[4],a=f[5],h=i*s-r*n,f[0]=s/h,f[1]=-r/h,f[2]=-n/h,f[3]=i/h,f[4]=(n*a-s*o)/h,f[5]=-(i*a-r*o)/h),f},Pt=function(t,e,i){var r=t.x*e[0]+t.y*e[2]+e[4],n=t.x*e[1]+t.y*e[3]+e[5];return t.x=r*i[0]+n*i[2]+i[4],t.y=r*i[1]+n*i[3]+i[5],t},St=function(t,e,i){if(!(t=K(t)))return null;e=K(e);var r,n,s,o,a,l,h,c,u,f,p,d,_,m,g,y,b,w,T,P,S,O,k=t.getBBox&&_t(t);if(t===window)o=W(),s=(n=H())+(x.clientWidth||t.innerWidth||v.body.clientWidth||0),a=o+((t.innerHeight||0)-20<x.clientHeight?x.clientHeight:t.innerHeight||v.body.clientHeight||0);else{if(void 0===e||e===window)return t.getBoundingClientRect();n=-(r=xt(t)).x,o=-r.y,k?(_=(d=t.getBBox()).width,m=d.height):"svg"!==(t.nodeName+"").toLowerCase()&&t.offsetWidth?(_=t.offsetWidth,m=t.offsetHeight):(S=tt(t),_=parseFloat(S.width),m=parseFloat(S.height)),s=n+_,a=o+m,"svg"!==t.nodeName.toLowerCase()||R||(O=(g=vt(t)).computedStyle||{},w=(t.getAttribute("viewBox")||"0 0").split(" "),T=parseFloat(w[0]),P=parseFloat(w[1]),y=parseFloat(O.borderLeftWidth)||0,b=parseFloat(O.borderTopWidth)||0,s-=_-(_-y)/g.scaleX-T,a-=m-(m-b)/g.scaleY-P,n-=y/g.scaleX-T,o-=b/g.scaleY-P,S&&(s+=(parseFloat(O.borderRightWidth)+y)/g.scaleX,a+=(b+parseFloat(O.borderBottomWidth))/g.scaleY))}return t===e?{left:n,top:o,width:s-n,height:a-o}:(l=Tt(t),h=Tt(e,!0),c=Pt({x:n,y:o},l,h),u=Pt({x:s,y:o},l,h),f=Pt({x:s,y:a},l,h),p=Pt({x:n,y:a},l,h),n=Math.min(c.x,u.x,f.x,p.x),o=Math.min(c.y,u.y,f.y,p.y),I.x=I.y=0,i&&xt(e,I),{left:n+I.x,top:o+I.y,width:Math.max(c.x,u.x,f.x,p.x)-n,height:Math.max(c.y,u.y,f.y,p.y)-o})},Ot=function(t){return!!(t&&t.length&&t[0]&&(t[0].nodeType&&t[0].style&&!t.nodeType||t[0].length&&t[0][0]))},kt="ontouchstart"in x&&"orientation"in window,Rt=function(t){for(var e=t.split(","),i=(void 0!==w.onpointerdown?"pointerdown,pointermove,pointerup,pointercancel":void 0!==w.onmspointerdown?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":t).split(","),r={},n=4;--n>-1;)r[e[n]]=i[n],r[i[n]]=e[n];return r}("touchstart,touchmove,touchend,touchcancel"),At=function(t,e,i,r){if(t.addEventListener){var n=Rt[e];r=r||{passive:!1},t.addEventListener(n||e,i,r),n&&e!==n&&t.addEventListener(e,i,r)}else t.attachEvent&&t.attachEvent("on"+e,i)},Ct=function(t,e,i){if(t.removeEventListener){var r=Rt[e];t.removeEventListener(r||e,i),r&&e!==r&&t.removeEventListener(e,i)}else t.detachEvent&&t.detachEvent("on"+e,i)},Mt=function t(e){r=e.touches&&F<e.touches.length,Ct(e.target,"touchend",t)},Et=function(t){r=t.touches&&F<t.touches.length,At(t.target,"touchend",Mt)},Dt=function(t,e,i,r,n,s){var o,l,h,c={};if(e)if(1!==n&&e instanceof Array){if(c.end=o=[],h=e.length,"object"===a(e[0]))for(l=0;l<h;l++)o[l]=z(e[l],n);else for(l=0;l<h;l++)o[l]=e[l]*n;i+=1.1,r-=1.1}else c.end="function"==typeof e?function(i){var r,s,o=e.call(t,i);if(1!==n)if("object"===(void 0===o?"undefined":a(o))){for(s in r={},o)r[s]=o[s]*n;o=r}else o*=n;return o}:e;return(i||0===i)&&(c.max=i),(r||0===r)&&(c.min=r),s&&(c.velocity=0),c},Ft=function t(e){var i;return!(!e||!e.getAttribute||"BODY"===e.nodeName)&&(!("true"!==(i=e.getAttribute("data-clickable"))&&("false"===i||!e.onclick&&!D.test(e.nodeName+"")&&"true"!==e.getAttribute("contentEditable")))||t(e.parentNode))},Nt=function(t,e){for(var i,r=t.length;--r>-1;)(i=t[r]).ondragstart=i.onselectstart=e?null:P,J(i,"userSelect",e?"text":"none")},Lt=function(){var t,e=v.createElement("div"),i=v.createElement("div"),r=i.style,n=v.body||w;return r.display="inline-block",r.position="relative",e.style.cssText=i.innerHTML="width:90px; height:40px; padding:10px; overflow:auto; visibility: hidden",e.appendChild(i),n.appendChild(e),t=i.offsetHeight+18>e.scrollHeight,n.removeChild(e),t}(),It=function s(o,l){t.call(this,o),o=K(o),n||(n=m.com.greensock.plugins.ThrowPropsPlugin),this.vars=l=z(l||{}),this.target=o,this.x=this.y=this.rotation=0,this.dragResistance=parseFloat(l.dragResistance)||0,this.edgeResistance=isNaN(l.edgeResistance)?1:parseFloat(l.edgeResistance)||0,this.lockAxis=l.lockAxis,this.autoScroll=l.autoScroll||0,this.lockedAxis=null,this.allowEventDefault=!!l.allowEventDefault;var h,c,u,g,y,b,w,P,D,j,W,H,q,Q,tt,et,it,rt,at,ht,ut,ft,pt,dt,mt,gt,yt,vt,bt,wt,Pt,St,Ot=(l.type||(R?"top,left":"x,y")).toLowerCase(),Mt=-1!==Ot.indexOf("x")||-1!==Ot.indexOf("y"),It=-1!==Ot.indexOf("rotation"),Xt=It?"rotation":Mt?"x":"left",zt=Mt?"y":"top",Yt=-1!==Ot.indexOf("x")||-1!==Ot.indexOf("left")||"scroll"===Ot,jt=-1!==Ot.indexOf("y")||-1!==Ot.indexOf("top")||"scroll"===Ot,Wt=l.minimumMovement||2,Ht=this,Vt=function(t){if("string"==typeof t&&(t=e.selector(t)),!t||t.nodeType)return[t];var i,r=[],n=t.length;for(i=0;i!==n;r.push(t[i++]));return r}(l.trigger||l.handle||o),Ut={},Gt=0,qt=!1,Zt=l.autoScrollMarginTop||40,$t=l.autoScrollMarginRight||40,Kt=l.autoScrollMarginBottom||40,Qt=l.autoScrollMarginLeft||40,Jt=l.clickableTest||Ft,te=0,ee=function(t){if(!(Ht.isPressed&&t.which<2))return t.preventDefault(),t.stopPropagation(),!1;Ht.endDrag()},ie=function(t){if(Ht.autoScroll&&Ht.isDragging&&(qt||rt)){var e,i,r,n,s,a,l,h,u=o,f=15*Ht.autoScroll;for(qt=!1,X.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=x.scrollTop?x.scrollTop:v.body.scrollTop,X.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=x.scrollLeft?x.scrollLeft:v.body.scrollLeft,n=Ht.pointerX-X.scrollLeft,s=Ht.pointerY-X.scrollTop;u&&!i;)e=(i=G(u.parentNode))?X:u.parentNode,r=i?{bottom:Math.max(x.clientHeight,window.innerHeight||0),right:Math.max(x.clientWidth,window.innerWidth||0),left:0,top:0}:e.getBoundingClientRect(),a=l=0,jt&&((h=e._gsMaxScrollY-e.scrollTop)<0?l=h:s>r.bottom-Kt&&h?(qt=!0,l=Math.min(h,f*(1-Math.max(0,r.bottom-s)/Kt)|0)):s<r.top+Zt&&e.scrollTop&&(qt=!0,l=-Math.min(e.scrollTop,f*(1-Math.max(0,s-r.top)/Zt)|0)),l&&(e.scrollTop+=l)),Yt&&((h=e._gsMaxScrollX-e.scrollLeft)<0?a=h:n>r.right-$t&&h?(qt=!0,a=Math.min(h,f*(1-Math.max(0,r.right-n)/$t)|0)):n<r.left+Qt&&e.scrollLeft&&(qt=!0,a=-Math.min(e.scrollLeft,f*(1-Math.max(0,n-r.left)/Qt)|0)),a&&(e.scrollLeft+=a)),i&&(a||l)&&(window.scrollTo(e.scrollLeft,e.scrollTop),me(Ht.pointerX+a,Ht.pointerY+l)),u=e}if(rt){var p=Ht.x,d=Ht.y;p<1e-6&&p>-1e-6&&(p=0),d<1e-6&&d>-1e-6&&(d=0),It?(Ht.deltaX=p-yt.data.rotation,yt.data.rotation=Ht.rotation=p,yt.setRatio(1)):c?(jt&&(Ht.deltaY=d-c.top(),c.top(d)),Yt&&(Ht.deltaX=p-c.left(),c.left(p))):Mt?(jt&&(Ht.deltaY=d-yt.data.y,yt.data.y=d),Yt&&(Ht.deltaX=p-yt.data.x,yt.data.x=p),yt.setRatio(1)):(jt&&(Ht.deltaY=d-parseFloat(o.style.top||0),o.style.top=d+"px"),Yt&&(Ht.deltaY=p-parseFloat(o.style.left||0),o.style.left=p+"px")),!P||t||wt||(wt=!0,st(Ht,"drag","onDrag"),wt=!1)}rt=!1},re=function(t,i){var r,n=Ht.x,s=Ht.y;o._gsTransform||!Mt&&!It||e.set(o,{x:"+=0",overwrite:!1,data:"_draggable"}),Mt?(Ht.y=o._gsTransform.y,Ht.x=o._gsTransform.x):It?Ht.x=Ht.rotation=o._gsTransform.rotation:c?(Ht.y=c.top(),Ht.x=c.left()):(Ht.y=parseInt(o.style.top,10)||0,Ht.x=parseInt(o.style.left,10)||0),(ht||ut||ft)&&!i&&(Ht.isDragging||Ht.isThrowing)&&(ft&&(I.x=Ht.x,I.y=Ht.y,(r=ft(I)).x!==Ht.x&&(Ht.x=r.x,rt=!0),r.y!==Ht.y&&(Ht.y=r.y,rt=!0)),ht&&(r=ht(Ht.x))!==Ht.x&&(Ht.x=r,It&&(Ht.rotation=r),rt=!0),ut&&((r=ut(Ht.y))!==Ht.y&&(Ht.y=r),rt=!0)),rt&&ie(!0),t||(Ht.deltaX=Ht.x-n,Ht.deltaY=Ht.y-s,st(Ht,"throwupdate","onThrowUpdate"))},ne=function(){var t,e,i,r;w=!1,c?(c.calibrate(),Ht.minX=j=-c.maxScrollLeft(),Ht.minY=H=-c.maxScrollTop(),Ht.maxX=D=Ht.maxY=W=0,w=!0):l.bounds&&(t=ot(l.bounds,o.parentNode),It?(Ht.minX=j=t.left,Ht.maxX=D=t.left+t.width,Ht.minY=H=Ht.maxY=W=0):void 0!==l.bounds.maxX||void 0!==l.bounds.maxY?(t=l.bounds,Ht.minX=j=t.minX,Ht.minY=H=t.minY,Ht.maxX=D=t.maxX,Ht.maxY=W=t.maxY):(e=ot(o,o.parentNode),Ht.minX=j=nt(o,Xt)+t.left-e.left,Ht.minY=H=nt(o,zt)+t.top-e.top,Ht.maxX=D=j+(t.width-e.width),Ht.maxY=W=H+(t.height-e.height)),j>D&&(Ht.minX=D,Ht.maxX=D=j,j=Ht.minX),H>W&&(Ht.minY=W,Ht.maxY=W=H,H=Ht.minY),It&&(Ht.minRotation=j,Ht.maxRotation=D),w=!0),l.liveSnap&&(r=(i=!0===l.liveSnap?l.snap||{}:l.liveSnap)instanceof Array||"function"==typeof i,It?(ht=fe(r?i:i.rotation,j,D,1),ut=null):i.points?ft=pe(r?i:i.points,j,D,H,W,i.radius,c?-1:1):(Yt&&(ht=fe(r?i:i.x||i.left||i.scrollLeft,j,D,c?-1:1)),jt&&(ut=fe(r?i:i.y||i.top||i.scrollTop,H,W,c?-1:1))))},se=function(){Ht.isThrowing=!1,st(Ht,"throwcomplete","onThrowComplete")},oe=function(){Ht.isThrowing=!1},ae=function(t,e){var i,r,s,h;t&&n?(!0===t&&(r=(i=l.snap||l.liveSnap||{})instanceof Array||"function"==typeof i,t={resistance:(l.throwResistance||l.resistance||1e3)/(It?10:1)},It?t.rotation=Dt(Ht,r?i:i.rotation,D,j,1,e):(Yt&&(t[Xt]=Dt(Ht,r?i:i.points||i.x||i.left||i.scrollLeft,D,j,c?-1:1,e||"x"===Ht.lockedAxis)),jt&&(t[zt]=Dt(Ht,r?i:i.points||i.y||i.top||i.scrollTop,W,H,c?-1:1,e||"y"===Ht.lockedAxis)),(i.points||i instanceof Array&&"object"===a(i[0]))&&(t.linkedProps=Xt+","+zt,t.radius=i.radius))),Ht.isThrowing=!0,h=isNaN(l.overshootTolerance)?1===l.edgeResistance?0:1-Ht.edgeResistance+.2:l.overshootTolerance,Ht.tween=s=n.to(c||o,{throwProps:t,data:"_draggable",ease:l.ease||m.Power3.easeOut,onComplete:se,onOverwrite:oe,onUpdate:l.fastMode?st:re,onUpdateParams:l.fastMode?[Ht,"onthrowupdate","onThrowUpdate"]:i&&i.radius?[!1,!0]:T},isNaN(l.maxDuration)?2:l.maxDuration,isNaN(l.minDuration)?0===h||"object"===(void 0===t?"undefined":a(t))&&t.resistance>1e3?0:.5:l.minDuration,h),l.fastMode||(c&&(c._suspendTransforms=!0),s.render(s.duration(),!0,!0),re(!0,!0),Ht.endX=Ht.x,Ht.endY=Ht.y,It&&(Ht.endRotation=Ht.x),s.play(0),re(!0,!0),c&&(c._suspendTransforms=!1))):w&&Ht.applyBounds()},le=function(t){var e,i,r,n,s,a,l,h,c,f=mt||[1,0,0,1,0,0];mt=Tt(o.parentNode,!0),t&&Ht.isPressed&&f.join(",")!==mt.join(",")&&(e=f[0],i=f[1],r=f[2],n=f[3],s=f[4],a=f[5],c=u*(-i/(l=e*n-i*r))+g*(e/l)+-(e*a-i*s)/l,g=(h=u*(n/l)+g*(-r/l)+(r*a-n*s)/l)*mt[1]+c*mt[3]+mt[5],u=h*mt[0]+c*mt[2]+mt[4]),mt[1]||mt[2]||1!=mt[0]||1!=mt[3]||0!=mt[4]||0!=mt[5]||(mt=null)},he=function(){var t=1-Ht.edgeResistance;le(!1),mt&&(u=Ht.pointerX*mt[0]+Ht.pointerY*mt[2]+mt[4],g=Ht.pointerX*mt[1]+Ht.pointerY*mt[3]+mt[5]),rt&&(me(Ht.pointerX,Ht.pointerY),ie(!0)),c?(ne(),b=c.top(),y=c.left()):(ce()?(re(!0,!0),ne()):Ht.applyBounds(),It?(it=Ht.rotationOrigin=function(t,e,i,r,n){t=K(t);var s=Tt(t,!1),o=e.x,a=e.y;return i&&(xt(t,e),o-=e.x,a-=e.y),(r=!0===r?e:r||{}).x=o*s[0]+a*s[2]+s[4],r.y=o*s[1]+a*s[3]+s[5],r}(o,{x:0,y:0}),re(!0,!0),y=Ht.x,b=Ht.y=Math.atan2(it.y-Ht.pointerY,Ht.pointerX-it.x)*S):(o.parentNode&&o.parentNode.scrollTop||0,o.parentNode&&o.parentNode.scrollLeft||0,b=nt(o,zt),y=nt(o,Xt))),w&&t&&(y>D?y=D+(y-D)/t:y<j&&(y=j-(j-y)/t),It||(b>W?b=W+(b-W)/t:b<H&&(b=H-(H-b)/t))),Ht.startX=y,Ht.startY=b},ce=function(){return Ht.tween&&Ht.tween.isActive()},ue=function(){!A.parentNode||ce()||Ht.isDragging||A.parentNode.removeChild(A)},fe=function(t,e,i,r){return"function"==typeof t?function(n){var s=Ht.isPressed?1-Ht.edgeResistance:1;return t.call(Ht,n>i?i+(n-i)*s:n<e?e+(n-e)*s:n)*r}:t instanceof Array?function(r){for(var n,s,o=t.length,a=0,l=O;--o>-1;)(s=(n=t[o])-r)<0&&(s=-s),s<l&&n>=e&&n<=i&&(a=o,l=s);return t[a]}:isNaN(t)?function(t){return t}:function(){return t*r}},pe=function(t,e,i,r,n,s,o){return s=s&&s<O?s*s:O,"function"==typeof t?function(a){var l,h,c,u=Ht.isPressed?1-Ht.edgeResistance:1,f=a.x,p=a.y;return a.x=f=f>i?i+(f-i)*u:f<e?e+(f-e)*u:f,a.y=p=p>n?n+(p-n)*u:p<r?r+(p-r)*u:p,(l=t.call(Ht,a))!==a&&(a.x=l.x,a.y=l.y),1!==o&&(a.x*=o,a.y*=o),s<O&&(h=a.x-f)*h+(c=a.y-p)*c>s&&(a.x=f,a.y=p),a}:t instanceof Array?function(e){for(var i,r,n,o,a=t.length,l=0,h=O;--a>-1;)(o=(i=(n=t[a]).x-e.x)*i+(r=n.y-e.y)*r)<h&&(l=a,h=o);return h<=s?t[l]:e}:function(t){return t}},de=function(t,i){var r;if(h&&!Ht.isPressed&&t&&("mousedown"!==t.type&&"pointerdown"!==t.type||i||!(k()-te<30)||!Rt[Ht.pointerEvent.type])){if(gt=ce(),Ht.pointerEvent=t,Rt[t.type]?(dt=-1!==t.type.indexOf("touch")?t.currentTarget||t.target:v,At(dt,"touchend",ge),At(dt,"touchmove",_e),At(dt,"touchcancel",ge),At(v,"touchstart",Et)):(dt=null,At(v,"mousemove",_e)),bt=null,At(v,"mouseup",ge),t&&t.target&&At(t.target,"mouseup",ge),pt=Jt.call(Ht,t.target)&&!l.dragClickables&&!i)return At(t.target,"change",ge),st(Ht,"press","onPress"),void Nt(Vt,!0);if(vt=!(!dt||Yt===jt||!1===Ht.vars.allowNativeTouchScrolling||Ht.vars.allowContextMenu&&t&&(t.ctrlKey||t.which>2))&&(Yt?"y":"x"),R?t=$(t,!0):vt||Ht.allowEventDefault||(t.preventDefault(),t.preventManipulation&&t.preventManipulation()),t.changedTouches?(t=tt=t.changedTouches[0],et=t.identifier):t.pointerId?et=t.pointerId:tt=et=null,F++,function(t){C.push(t),1===C.length&&e.ticker.addEventListener("tick",B,this,!1,1)}(ie),g=Ht.pointerY=t.pageY,u=Ht.pointerX=t.pageX,(vt||Ht.autoScroll)&&Z(o.parentNode),!o.parentNode||!Ht.autoScroll||c||It||!o.parentNode._gsMaxScrollX||A.parentNode||o.getBBox||(A.style.width=o.parentNode.scrollWidth+"px",o.parentNode.appendChild(A)),he(),Ht.tween&&Ht.tween.kill(),Ht.isThrowing=!1,e.killTweensOf(c||o,!0,Ut),c&&e.killTweensOf(o,!0,{scrollTo:1}),Ht.tween=Ht.lockedAxis=null,(l.zIndexBoost||!It&&!c&&!1!==l.zIndexBoost)&&(o.style.zIndex=s.zIndex++),Ht.isPressed=!0,P=!(!l.onDrag&&!Ht._listeners.drag),!It)for(r=Vt.length;--r>-1;)J(Vt[r],"cursor",l.cursor||"move");st(Ht,"press","onPress")}},_e=function(t){var e,i,n,s,o,a,l=t;if(h&&!r&&Ht.isPressed&&t){if(Ht.pointerEvent=t,e=t.changedTouches){if((t=e[0])!==tt&&t.identifier!==et){for(s=e.length;--s>-1&&(t=e[s]).identifier!==et;);if(s<0)return}}else if(t.pointerId&&et&&t.pointerId!==et)return;if(R)t=$(t,!0);else{if(dt&&vt&&!bt&&(i=t.pageX,n=t.pageY,mt&&(s=i*mt[0]+n*mt[2]+mt[4],n=i*mt[1]+n*mt[3]+mt[5],i=s),((o=Math.abs(i-u))!==(a=Math.abs(n-g))&&(o>Wt||a>Wt)||N&&vt===bt)&&(bt=o>a&&Yt?"x":"y",!1!==Ht.vars.lockAxisOnTouchScroll&&(Ht.lockedAxis="x"===bt?"y":"x","function"==typeof Ht.vars.onLockAxis&&Ht.vars.onLockAxis.call(Ht,l)),N&&vt===bt)))return void ge(l);Ht.allowEventDefault||vt&&(!bt||vt===bt)||!1===l.cancelable||(l.preventDefault(),l.preventManipulation&&l.preventManipulation())}Ht.autoScroll&&(qt=!0),me(t.pageX,t.pageY)}},me=function(t,e){var i,r,n,s,o,a,l=1-Ht.dragResistance,h=1-Ht.edgeResistance;Ht.pointerX=t,Ht.pointerY=e,It?(s=Math.atan2(it.y-e,t-it.x)*S,(o=Ht.y-s)>180?(b-=360,Ht.y=s):o<-180&&(b+=360,Ht.y=s),Ht.x!==y||Math.abs(b-s)>Wt?(Ht.y=s,n=y+(b-s)*l):n=y):(mt&&(a=t*mt[0]+e*mt[2]+mt[4],e=t*mt[1]+e*mt[3]+mt[5],t=a),i=t-u,(r=e-g)<Wt&&r>-Wt&&(r=0),i<Wt&&i>-Wt&&(i=0),(Ht.lockAxis||Ht.lockedAxis)&&(i||r)&&((a=Ht.lockedAxis)||(Ht.lockedAxis=a=Yt&&Math.abs(i)>Math.abs(r)?"y":jt?"x":null,a&&"function"==typeof Ht.vars.onLockAxis&&Ht.vars.onLockAxis.call(Ht,Ht.pointerEvent)),"y"===a?r=0:"x"===a&&(i=0)),n=y+i*l,s=b+r*l),(ht||ut||ft)&&(Ht.x!==n||Ht.y!==s&&!It)?(ft&&(I.x=n,I.y=s,n=(a=ft(I)).x,s=a.y),ht&&(n=ht(n)),ut&&(s=ut(s))):w&&(n>D?n=D+(n-D)*h:n<j&&(n=j+(n-j)*h),It||(s>W?s=W+(s-W)*h:s<H&&(s=H+(s-H)*h))),It||mt||(n=Math.round(n),s=Math.round(s)),(Ht.x!==n||Ht.y!==s&&!It)&&(It?(Ht.endRotation=Ht.x=Ht.endX=n,rt=!0):(jt&&(Ht.y=Ht.endY=s,rt=!0),Yt&&(Ht.x=Ht.endX=n,rt=!0)),!Ht.isDragging&&Ht.isPressed&&(Ht.isDragging=!0,st(Ht,"dragstart","onDragStart")))},ge=function t(i,r){if(h&&Ht.isPressed&&(!i||null==et||r||!(i.pointerId&&i.pointerId!==et||i.changedTouches&&!function(t,e){for(var i=t.length;--i>-1;)if(t[i].identifier===e)return!0;return!1}(i.changedTouches,et)))){Ht.isPressed=!1;var n,s,a,c,u,f=i,p=Ht.isDragging,d=Ht.vars.allowContextMenu&&i&&(i.ctrlKey||i.which>2),_=e.delayedCall(.001,ue);if(dt?(Ct(dt,"touchend",t),Ct(dt,"touchmove",_e),Ct(dt,"touchcancel",t),Ct(v,"touchstart",Et)):Ct(v,"mousemove",_e),Ct(v,"mouseup",t),i&&i.target&&Ct(i.target,"mouseup",t),rt=!1,pt&&!d)return i&&(Ct(i.target,"change",t),Ht.pointerEvent=f),Nt(Vt,!1),st(Ht,"release","onRelease"),st(Ht,"click","onClick"),void(pt=!1);if(Y(ie),!It)for(s=Vt.length;--s>-1;)J(Vt[s],"cursor",l.cursor||"move");if(p&&(Gt=L=k(),Ht.isDragging=!1),F--,i){if(R&&(i=$(i,!1)),(n=i.changedTouches)&&(i=n[0])!==tt&&i.identifier!==et){for(s=n.length;--s>-1&&(i=n[s]).identifier!==et;);if(s<0)return}Ht.pointerEvent=f,Ht.pointerX=i.pageX,Ht.pointerY=i.pageY}return d&&f?(f.preventDefault(),f.preventManipulation&&f.preventManipulation(),st(Ht,"release","onRelease")):f&&!p?(gt&&(l.snap||l.bounds)&&ae(l.throwProps),st(Ht,"release","onRelease"),N&&"touchmove"===f.type||-1!==f.type.indexOf("cancel")||(st(Ht,"click","onClick"),k()-te<300&&st(Ht,"doubleclick","onDoubleClick"),c=f.target||f.srcElement||o,te=k(),u=function(){te!==Pt&&Ht.enabled()&&!Ht.isPressed&&(c.click?c.click():v.createEvent&&((a=v.createEvent("MouseEvents")).initMouseEvent("click",!0,!0,window,1,Ht.pointerEvent.screenX,Ht.pointerEvent.screenY,Ht.pointerX,Ht.pointerY,!1,!1,!1,!1,0,null),c.dispatchEvent(a)))},N||f.defaultPrevented||e.delayedCall(1e-5,u))):(ae(l.throwProps),R||Ht.allowEventDefault||!f||!l.dragClickables&&Jt.call(Ht,f.target)||!p||vt&&(!bt||vt!==bt)||!1===f.cancelable||(f.preventDefault(),f.preventManipulation&&f.preventManipulation()),st(Ht,"release","onRelease")),ce()&&_.duration(Ht.tween.duration()),p&&st(Ht,"dragend","onDragEnd"),!0}},ye=function(t){if(t&&Ht.isDragging&&!c){var e=t.target||t.srcElement||o.parentNode,i=e.scrollLeft-e._gsScrollX,r=e.scrollTop-e._gsScrollY;(i||r)&&(mt?(u-=i*mt[0]+r*mt[2],g-=r*mt[3]+i*mt[1]):(u-=i,g-=r),e._gsScrollX+=i,e._gsScrollY+=r,me(Ht.pointerX,Ht.pointerY))}},ve=function(t){var e=k(),i=e-te<40,r=e-Gt<40,n=i&&Pt===te,s=!!t.preventDefault,o=Ht.pointerEvent&&Ht.pointerEvent.defaultPrevented,a=i&&St===te,l=t.isTrusted||null==t.isTrusted&&i&&n;if(s&&(n||r&&!1!==Ht.vars.suppressClickOnDrag)&&t.stopImmediatePropagation(),i&&(!Ht.pointerEvent||!Ht.pointerEvent.defaultPrevented)&&(!n||l!==a))return l&&n&&(St=te),void(Pt=te);(Ht.isPressed||r||i)&&(s?l&&t.detail&&i&&!o||(t.preventDefault(),t.preventManipulation&&t.preventManipulation()):t.returnValue=!1)},xe=function(t){return mt?{x:t.x*mt[0]+t.y*mt[2]+mt[4],y:t.x*mt[1]+t.y*mt[3]+mt[5]}:{x:t.x,y:t.y}};(at=s.get(this.target))&&at.kill(),this.startDrag=function(t,e){var i,r,n,s;de(t||Ht.pointerEvent,!0),e&&!Ht.hitTest(t||Ht.pointerEvent)&&(i=Bt(t||Ht.pointerEvent),r=Bt(o),n=xe({x:i.left+i.width/2,y:i.top+i.height/2}),s=xe({x:r.left+r.width/2,y:r.top+r.height/2}),u-=n.x-s.x,g-=n.y-s.y),Ht.isDragging||(Ht.isDragging=!0,st(Ht,"dragstart","onDragStart"))},this.drag=_e,this.endDrag=function(t){ge(t||Ht.pointerEvent,!0)},this.timeSinceDrag=function(){return Ht.isDragging?0:(k()-Gt)/1e3},this.timeSinceClick=function(){return(k()-te)/1e3},this.hitTest=function(t,e){return s.hitTest(Ht.target,t,e)},this.getDirection=function(t,e){var i,r,s,o,l,h,c="velocity"===t&&n?t:"object"!==(void 0===t?"undefined":a(t))||It?"start":"element";return"element"===c&&(l=Bt(Ht.target),h=Bt(t)),i="start"===c?Ht.x-y:"velocity"===c?n.getVelocity(this.target,Xt):l.left+l.width/2-(h.left+h.width/2),It?i<0?"counter-clockwise":"clockwise":(e=e||2,r="start"===c?Ht.y-b:"velocity"===c?n.getVelocity(this.target,zt):l.top+l.height/2-(h.top+h.height/2),o=(s=Math.abs(i/r))<1/e?"":i<0?"left":"right",s<e&&(""!==o&&(o+="-"),o+=r<0?"up":"down"),o)},this.applyBounds=function(t){var e,i,r,n,s,a;if(t&&l.bounds!==t)return l.bounds=t,Ht.update(!0);if(re(!0),ne(),w){if(e=Ht.x,i=Ht.y,e>D?e=D:e<j&&(e=j),i>W?i=W:i<H&&(i=H),(Ht.x!==e||Ht.y!==i)&&(r=!0,Ht.x=Ht.endX=e,It?Ht.endRotation=e:Ht.y=Ht.endY=i,rt=!0,ie(!0),Ht.autoScroll&&!Ht.isDragging))for(Z(o.parentNode),n=o,X.scrollTop=null!=window.pageYOffset?window.pageYOffset:null!=x.scrollTop?x.scrollTop:v.body.scrollTop,X.scrollLeft=null!=window.pageXOffset?window.pageXOffset:null!=x.scrollLeft?x.scrollLeft:v.body.scrollLeft;n&&!a;)s=(a=G(n.parentNode))?X:n.parentNode,jt&&s.scrollTop>s._gsMaxScrollY&&(s.scrollTop=s._gsMaxScrollY),Yt&&s.scrollLeft>s._gsMaxScrollX&&(s.scrollLeft=s._gsMaxScrollX),n=s;Ht.isThrowing&&(r||Ht.endX>D||Ht.endX<j||Ht.endY>W||Ht.endY<H)&&ae(l.throwProps,r)}return Ht},this.update=function(t,e,i){var r=Ht.x,n=Ht.y;return le(!e),t?Ht.applyBounds():(rt&&i&&ie(!0),re(!0)),e&&(me(Ht.pointerX,Ht.pointerY),rt&&ie(!0)),Ht.isPressed&&!e&&(Yt&&Math.abs(r-Ht.x)>.01||jt&&Math.abs(n-Ht.y)>.01&&!It)&&he(),Ht.autoScroll&&(Z(o.parentNode),qt=Ht.isDragging,ie(!0)),Ht.autoScroll&&(U(o,ye),V(o,ye)),Ht},this.enable=function(t){var r,s,a;if("soft"!==t){for(s=Vt.length;--s>-1;)a=Vt[s],At(a,"mousedown",de),At(a,"touchstart",de),At(a,"click",ve,!0),It||J(a,"cursor",l.cursor||"move"),J(a,"touchCallout","none"),J(a,"touchAction",Yt===jt?"none":Yt?"pan-y":"pan-x"),_t(a)&&J(a.ownerSVGElement||a,"touchAction",Yt===jt?"none":Yt?"pan-y":"pan-x"),this.vars.allowContextMenu||At(a,"contextmenu",ee);Nt(Vt,!1)}return V(o,ye),h=!0,n&&"soft"!==t&&n.track(c||o,Mt?"x,y":It?"rotation":"top,left"),c&&c.enable(),o._gsDragID=r="d"+E++,M[r]=this,c&&(c.element._gsDragID=r),e.set(o,{x:"+=0",overwrite:!1,data:"_draggable"}),yt={t:o,data:R?Q:o._gsTransform,tween:{},setRatio:R?function(){e.set(o,q)}:i._internals.setTransformRatio||i._internals.set3DTransformRatio},he(),Ht.update(!0),Ht},this.disable=function(t){var e,i,r=Ht.isDragging;if(!It)for(e=Vt.length;--e>-1;)J(Vt[e],"cursor",null);if("soft"!==t){for(e=Vt.length;--e>-1;)i=Vt[e],J(i,"touchCallout",null),J(i,"touchAction",null),Ct(i,"mousedown",de),Ct(i,"touchstart",de),Ct(i,"click",ve),Ct(i,"contextmenu",ee);Nt(Vt,!0),dt&&(Ct(dt,"touchcancel",ge),Ct(dt,"touchend",ge),Ct(dt,"touchmove",_e)),Ct(v,"mouseup",ge),Ct(v,"mousemove",_e)}return U(o,ye),h=!1,n&&"soft"!==t&&n.untrack(c||o,Mt?"x,y":It?"rotation":"top,left"),c&&c.disable(),Y(ie),Ht.isDragging=Ht.isPressed=pt=!1,r&&st(Ht,"dragend","onDragEnd"),Ht},this.enabled=function(t,e){return arguments.length?t?Ht.enable(e):Ht.disable(e):h},this.kill=function(){return Ht.isThrowing=!1,e.killTweensOf(c||o,!0,Ut),Ht.disable(),delete M[o._gsDragID],Ht},-1!==Ot.indexOf("scroll")&&(c=this.scrollProxy=new function(t,i){t=K(t),i=i||{};var r,n,s,o,a,l,h=v.createElement("div"),c=h.style,u=t.firstChild,f=0,p=0,d=t.scrollTop,_=t.scrollLeft,m=t.scrollWidth,g=t.scrollHeight,y=0,x=0,b=0;lt&&!1!==i.force3D?(a="translate3d(",l="px,0px)"):ct&&(a="translate(",l="px)"),this.scrollTop=function(t,e){if(!arguments.length)return-this.top();this.top(-t,e)},this.scrollLeft=function(t,e){if(!arguments.length)return-this.left();this.left(-t,e)},this.left=function(r,n){if(!arguments.length)return-(t.scrollLeft+p);var s=t.scrollLeft-_,o=p;if((s>2||s<-2)&&!n)return _=t.scrollLeft,e.killTweensOf(this,!0,{left:1,scrollLeft:1}),this.left(-_),void(i.onKill&&i.onKill());(r=-r)<0?(p=r-.5|0,r=0):r>x?(p=r-x|0,r=x):p=0,(p||o)&&(a?this._suspendTransforms||(c[ct]=a+-p+"px,"+-f+l):c.left=-p+"px",p+y>=0&&(c.paddingRight=p+y+"px")),t.scrollLeft=0|r,_=t.scrollLeft},this.top=function(r,n){if(!arguments.length)return-(t.scrollTop+f);var s=t.scrollTop-d,o=f;if((s>2||s<-2)&&!n)return d=t.scrollTop,e.killTweensOf(this,!0,{top:1,scrollTop:1}),this.top(-d),void(i.onKill&&i.onKill());(r=-r)<0?(f=r-.5|0,r=0):r>b?(f=r-b|0,r=b):f=0,(f||o)&&(a?this._suspendTransforms||(c[ct]=a+-p+"px,"+-f+l):c.top=-f+"px"),t.scrollTop=0|r,d=t.scrollTop},this.maxScrollTop=function(){return b},this.maxScrollLeft=function(){return x},this.disable=function(){for(u=h.firstChild;u;)o=u.nextSibling,t.appendChild(u),u=o;t===h.parentNode&&t.removeChild(h)},this.enable=function(){if((u=t.firstChild)!==h){for(;u;)o=u.nextSibling,h.appendChild(u),u=o;t.appendChild(h),this.calibrate()}},this.calibrate=function(e){var i,o,a=t.clientWidth===r;d=t.scrollTop,_=t.scrollLeft,a&&t.clientHeight===n&&h.offsetHeight===s&&m===t.scrollWidth&&g===t.scrollHeight&&!e||((f||p)&&(i=this.left(),o=this.top(),this.left(-t.scrollLeft),this.top(-t.scrollTop)),a&&!e||(c.display="block",c.width="auto",c.paddingRight="0px",(y=Math.max(0,t.scrollWidth-t.clientWidth))&&(y+=nt(t,"paddingLeft")+(Lt?nt(t,"paddingRight"):0))),c.display="inline-block",c.position="relative",c.overflow="visible",c.verticalAlign="top",c.width="100%",c.paddingRight=y+"px",Lt&&(c.paddingBottom=nt(t,"paddingBottom",!0)),R&&(c.zoom="1"),r=t.clientWidth,n=t.clientHeight,m=t.scrollWidth,g=t.scrollHeight,x=t.scrollWidth-r,b=t.scrollHeight-n,s=h.offsetHeight,c.display="block",(i||o)&&(this.left(i),this.top(o)))},this.content=h,this.element=t,this._suspendTransforms=!1,this.enable()}(o,function(t,e){var i;for(i in e)void 0===t[i]&&(t[i]=e[i]);return t}({onKill:function(){Ht.isPressed&&ge(null)}},l)),o.style.overflowY=jt&&!kt?"auto":"hidden",o.style.overflowX=Yt&&!kt?"auto":"hidden",o=c.content),!1!==l.force3D&&e.set(o,{force3D:!0}),It?Ut.rotation=1:(Yt&&(Ut[Xt]=1),jt&&(Ut[zt]=1)),It?(Q=(q=_).css,q.overwrite=!1):Mt&&(Q=(q=Yt&&jt?f:Yt?p:d).css,q.overwrite=!1),this.enable()},Xt=It.prototype=new t;Xt.constructor=It,Xt.pointerX=Xt.pointerY=Xt.startX=Xt.startY=Xt.deltaX=Xt.deltaY=0,Xt.isDragging=Xt.isPressed=!1,It.version="0.16.3",It.zIndex=1e3,At(v,"touchcancel",function(){}),At(v,"contextmenu",function(t){var e;for(e in M)M[e].isPressed&&M[e].endDrag()}),It.create=function(t,i){"string"==typeof t&&(t=e.selector(t));for(var r=t&&0!==t.length?Ot(t)?function(t){var e,i,r,n=[],s=t.length;for(e=0;e<s;e++)if(i=t[e],Ot(i))for(r=i.length,r=0;r<i.length;r++)n.push(i[r]);else i&&0!==i.length&&n.push(i);return n}(t):[t]:[],n=r.length;--n>-1;)r[n]=new It(r[n],i);return r},It.get=function(t){return M[(K(t)||{})._gsDragID]},It.timeSinceDrag=function(){return(k()-L)/1e3};var zt={},Bt=function(t,e){if(t===window)return zt.left=zt.top=0,zt.width=zt.right=x.clientWidth||t.innerWidth||v.body.clientWidth||0,zt.height=zt.bottom=(t.innerHeight||0)-20<x.clientHeight?x.clientHeight:t.innerHeight||v.body.clientHeight||0,zt;var i=t.pageX!==e?{left:t.pageX-H(),top:t.pageY-W(),right:t.pageX-H()+1,bottom:t.pageY-W()+1}:t.nodeType||t.left===e||t.top===e?R?function(t){var e,i,r=0,n=0;for(e=(t=K(t)).offsetWidth,i=t.offsetHeight;t;)r+=t.offsetTop,n+=t.offsetLeft,t=t.offsetParent;return{top:r,left:n,width:e,height:i}}(t):K(t).getBoundingClientRect():t;return i.right===e&&i.width!==e?(i.right=i.left+i.width,i.bottom=i.top+i.height):i.width===e&&(i={width:i.right-i.left,height:i.bottom-i.top,right:i.right,left:i.left,bottom:i.bottom,top:i.top}),i};return It.hitTest=function(t,e,i){if(t===e)return!1;var r,n,s,o=Bt(t),a=Bt(e),l=a.left>o.right||a.right<o.left||a.top>o.bottom||a.bottom<o.top;return l||!i?!l:(s=-1!==(i+"").indexOf("%"),i=parseFloat(i)||0,(r={left:Math.max(o.left,a.left),top:Math.max(o.top,a.top)}).width=Math.min(o.right,a.right)-r.left,r.height=Math.min(o.bottom,a.bottom)-r.top,!(r.width<0||r.height<0)&&(s?(i*=.01,(n=r.width*r.height)>=o.width*o.height*i||n>=a.width*a.height*i):r.width>i&&r.height>i))},A.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;",It},!0)}),l._gsDefine&&l._gsQueue.pop()(),function(r){"use strict";var a=function(){return(l.GreenSockGlobals||l).Draggable};void 0!==t&&t.exports?(i(9),i(17),t.exports=a()):(s=[i(9),i(17)],void 0===(o="function"==typeof(n=a)?n.apply(e,s):n)||(t.exports=o))}()}).call(this,i(6))},2:function(t,e,i){"use strict";i.d(e,"a",function(){return r}),i.d(e,"b",function(){return n});var r=document.querySelector.bind(document),n=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 r,n,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===(n="function"==typeof(r=function(){"use strict";var t=function(){r.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 n,s,o="ScrollMagic.Controller",a=e.defaults,l=this,h=r.extend({},a,i),c=[],u=!1,f=0,p="PAUSED",d=!0,_=0,m=!0,g=function(){h.refreshInterval>0&&(s=window.setTimeout(P,h.refreshInterval))},y=function(){return h.vertical?r.get.scrollTop(h.container):r.get.scrollLeft(h.container)},v=function(){return h.vertical?r.get.height(h.container):r.get.width(h.container)},x=this._setScrollPos=function(t){h.vertical?d?window.scrollTo(r.get.scrollLeft(),t):h.container.scrollTop=t:d?window.scrollTo(t,r.get.scrollTop()):h.container.scrollLeft=t},b=function(){if(m&&u){var t=r.type.Array(u)?u:c.slice(0);u=!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+" ("+c.length+" total)"),e.update(!0)}),0===t.length&&h.loglevel>=3&&S(3,"updating 0 Scenes (nothing added to controller)")}},w=function(){n=r.rAF(b)},T=function(t){S(3,"event fired causing an update:",t.type),"resize"==t.type&&(_=v(),p="PAUSED"),!0!==u&&(u=!0,w())},P=function(){if(!d&&_!=v()){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)}c.forEach(function(t,e){t.refresh()}),g()},S=this._log=function(t,e){h.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),r.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(r.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(c.indexOf(e)<0){for(var i in c.push(e),c=O(c),e.on("shift.controller_sort",function(){c=O(c)}),h.globalSceneOptions)e[i]&&e[i].call(e,h.globalSceneOptions[i]);S(3,"adding Scene (now "+c.length+" total)")}}else S(1,"ERROR: invalid argument supplied for '.addScene()'");return l},this.removeScene=function(t){if(r.type.Array(t))t.forEach(function(t,e){l.removeScene(t)});else{var e=c.indexOf(t);e>-1&&(t.off("shift.controller_sort"),c.splice(e,1),S(3,"removing Scene (now "+c.length+" left)"),t.remove())}return l},this.updateScene=function(e,i){return r.type.Array(e)?e.forEach(function(t,e){l.updateScene(t,i)}):i?e.update(!0):!0!==u&&e instanceof t.Scene&&(-1==(u=u||[]).indexOf(e)&&u.push(e),u=O(u),w()),l},this.update=function(t){return T({type:"resize"}),t&&b(),l},this.scrollTo=function(e,i){if(r.type.Number(e))x.call(h.container,e,i);else if(e instanceof t.Scene)e.controller()===l?l.scrollTo(e.scrollOffset(),i):S(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",e);else if(r.type.Function(e))x=e;else{var n=r.get.elements(e)[0];if(n){for(;n.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)n=n.parentNode;var s=h.vertical?"top":"left",o=r.get.offset(h.container),a=r.get.offset(n);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?(r.type.Function(t)?y=t:S(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),l):y.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(c,!0)),l):m},this.destroy=function(t){window.clearTimeout(s);for(var e=c.length;e--;)c[e].destroy(t);return h.container.removeEventListener("resize",T),h.container.removeEventListener("scroll",T),r.cAF(n),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=r.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),_=v(),h.container.addEventListener("resize",T),h.container.addEventListener("scroll",T),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=r.extend({},this),e.apply(this,arguments)||this},r.extend(t.Controller,i),t.Controller.prototype=i.prototype,t.Controller.prototype.constructor=t.Controller},t.Scene=function(e){var n,s,o="ScrollMagic.Scene",a=i.defaults,l=this,h=r.extend({},a,e),c="BEFORE",u=0,f={start:0,end:0},p=0,d=!0,_={};this.on=function(t,e){return r.type.Function(e)?(t=t.trim().split(" ")).forEach(function(t){var i=t.split("."),r=i[0],n=i[1];"*"!=r&&(_[r]||(_[r]=[]),_[r].push({namespace:n||"",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 r=t.split("."),n=r[0],s=r[1]||"",o="*"===n?Object.keys(_):[n];o.forEach(function(t){for(var i=_[t]||[],r=i.length;r--;){var n=i[r];!n||s!==n.namespace&&"*"!==s||e&&e!=n.callback||i.splice(r,1)}i.length||delete _[t]})}),l):(m(1,"ERROR: Invalid event name supplied."),l)},this.trigger=function(e,i){if(e){var r=e.trim().split("."),n=r[0],s=r[1],o=_[n];m(3,"event fired:",n,i?"->":"",i||""),o&&o.forEach(function(e,r){s&&s!==e.namespace||e.callback.call(l,new t.Event(n,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){v(),l.update()});var m=this._log=function(t,e){h.loglevel>=t&&(Array.prototype.splice.call(arguments,1,0,"("+o+") ->"),r.log.apply(window,arguments))};this.addTo=function(e){return e instanceof t.Controller?s!=e&&(s&&s.removeScene(l),s=e,P(),x(!0),b(!0),v(),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"===c&&k(!0);else s.updateScene(l,!1);return l},this.refresh=function(){return x(),b(),l},this.progress=function(t){if(arguments.length){var e=!1,i=c,r=s?s.info("scrollDirection"):"PAUSED",n=h.reverse||t>=u;if(0===h.duration?(e=u!=t,c=0==(u=t<1&&n?0:1)?"BEFORE":"DURING"):t<0&&"BEFORE"!==c&&n?(u=0,c="BEFORE",e=!0):t>=0&&t<1&&n?(u=t,c="DURING",e=!0):t>=1&&"AFTER"!==c?(u=1,c="AFTER",e=!0):"DURING"!==c||n||k(),e){var o={progress:u,state:c,scrollDirection:r},a=c!=i,f=function(t){l.trigger(t,o)};a&&"DURING"!==i&&(f("enter"),f("BEFORE"===i?"start":"end")),f("progress"),a&&"DURING"!==c&&(f("BEFORE"===c?"start":"end"),f("leave"))}return l}return u};var g,y,v=function(){f={start:p+h.offset},s&&h.triggerElement&&(f.start-=s.info("size")*h.triggerHook),f.end=f.start+h.duration},x=function(t){n&&S("duration",n.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 n=s.info(),o=r.get.offset(n.container),a=n.vertical?"top":"left";i.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)i=i.parentNode;var c=r.get.offset(i);n.isDocument||(o[a]-=s.scrollPos()),e=c[a]-o[a]}var u=e!=p;p=e,u&&!t&&l.trigger("shift",{reason:"triggerElementPosition"})},w=function(t){h.triggerHook>0&&l.trigger("shift",{reason:"containerResize"})},T=r.extend(i.validate,{duration:function(t){if(r.type.String(t)&&t.match(/^(\.|\d)*\d+%$/)){var e=parseFloat(t)/100;t=function(){return s?s.info("size")*e:0}}if(r.type.Function(t)){n=t;try{t=parseFloat(n())}catch(e){t=-1}}if(t=parseFloat(t),!r.type.Number(t)||t<0)throw n?(n=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(T)).forEach(function(t,e){var i;if(T[t])try{i=T[t](h[t])}catch(e){i=a[t];var n=r.type.String(e)?[e]:e;r.type.Array(n)?(n[0]="ERROR: "+n[0],n.unshift(1),m.apply(this,n)):m(1,"ERROR: Problem executing validation callback for option '"+t+"':",e.message)}finally{h[t]=i}})},S=function(t,e){var i=!1,r=h[t];return h[t]!=e&&(h[t]=e,P(t),i=r!=h[t]),i},O=function(t){l[t]||(l[t]=function(e){return arguments.length?("duration"===t&&(n=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 c},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"===c&&e||"DURING"===c&&0===h.duration)&&k(),e&&R()}).on("progress.internal",function(t){k()}).on("add.internal",function(t){R()}).on("destroy.internal",function(t){l.removePin(t.reset)});var k=function(t){if(g&&s){var e=s.info(),i=y.spacer.firstChild;if(t||"DURING"!==c){var n={position:y.inFlow?"relative":"absolute",top:0,left:0},o=r.css(i,"position")!=n.position;y.pushFollowers?h.duration>0&&("AFTER"===c&&0===parseFloat(r.css(y.spacer,"padding-top"))?o=!0:"BEFORE"===c&&0===parseFloat(r.css(y.spacer,"padding-bottom"))&&(o=!0)):n[e.vertical?"top":"left"]=h.duration*u,r.css(i,n),o&&R()}else{"fixed"!=r.css(i,"position")&&(r.css(i,{position:"fixed"}),R());var a=r.get.offset(y.spacer,!0),l=h.reverse||0===h.duration?e.scrollPos-f.start:Math.round(u*h.duration*10)/10;a[e.vertical?"top":"left"]+=l,r.css(y.spacer.firstChild,{top:a.top,left:a.left})}}},R=function(){if(g&&s&&y.inFlow){var t="DURING"===c,e=s.info("vertical"),i=y.spacer.firstChild,n=r.isMarginCollapseType(r.css(y.spacer,"display")),o={};y.relSize.width||y.relSize.autoFullWidth?t?r.css(g,{width:r.get.width(y.spacer)}):r.css(g,{width:"100%"}):(o["min-width"]=r.get.width(e?g:i,!0,!0),o.width=t?o["min-width"]:"auto"),y.relSize.height?t?r.css(g,{height:r.get.height(y.spacer)-(y.pushFollowers?h.duration:0)}):r.css(g,{height:"100%"}):(o["min-height"]=r.get.height(e?i:g,!0,!n),o.height=t?o["min-height"]:"auto"),y.pushFollowers&&(o["padding"+(e?"Top":"Left")]=h.duration*u,o["padding"+(e?"Bottom":"Right")]=h.duration*(1-u)),r.css(y.spacer,o)}},A=function(){s&&g&&"DURING"===c&&!s.info("isDocument")&&k()},C=function(){s&&g&&"DURING"===c&&((y.relSize.width||y.relSize.autoFullWidth)&&r.get.width(window)!=r.get.width(y.spacer.parentNode)||y.relSize.height&&r.get.height(window)!=r.get.height(y.spacer.parentNode))&&R()},M=function(t){s&&g&&"DURING"===c&&!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=r.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},e),!(t=r.get.elements(t)[0]))return m(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),l;if("fixed"===r.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,n=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];g.parentNode.style.display="none";var s="absolute"!=r.css(g,"position"),o=r.css(g,n.concat(["display"])),a=r.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 c=g.parentNode.insertBefore(document.createElement("div"),g),u=r.extend(o,{position:s?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(s||r.extend(u,r.css(g,["width","height"])),r.css(c,u),c.setAttribute("data-scrollmagic-pin-spacer",""),r.addClass(c,e.spacerClass),y={spacer:c,relSize:{width:"%"===a.width.slice(-1),height:"%"===a.height.slice(-1),autoFullWidth:"auto"===a.width&&s&&r.isMarginCollapseType(o.display)},pushFollowers:e.pushFollowers,inFlow:s},!g.___origStyle){g.___origStyle={};var f=g.style,p=n.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]);p.forEach(function(t){g.___origStyle[t]=f[t]||""})}return y.relSize.width&&r.css(c,{width:a.width}),y.relSize.height&&r.css(c,{height:a.height}),c.appendChild(g),r.css(g,{position:s?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(y.relSize.width||y.relSize.autoFullWidth)&&r.css(g,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",A),window.addEventListener("resize",A),window.addEventListener("resize",C),g.addEventListener("mousewheel",M),g.addEventListener("DOMMouseScroll",M),m(3,"added pin"),k(),l},this.removePin=function(t){if(g){if("DURING"===c&&k(!0),t||!s){var e=y.spacer.firstChild;if(e.hasAttribute("data-scrollmagic-pin-spacer")){var i=y.spacer.style;margins={},["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(t){margins[t]=i[t]||""}),r.css(e,margins)}y.spacer.parentNode.insertBefore(e,y.spacer),y.spacer.parentNode.removeChild(y.spacer),g.parentNode.hasAttribute("data-scrollmagic-pin-spacer")||(r.css(g,g.___origStyle),delete g.___origStyle)}window.removeEventListener("scroll",A),window.removeEventListener("resize",A),window.removeEventListener("resize",C),g.removeEventListener("mousewheel",M),g.removeEventListener("DOMMouseScroll",M),g=void 0,m(3,"removed pin (reset: "+(t?"true":"false")+")")}return l};var E,D=[];return l.on("destroy.internal",function(t){l.removeClassToggle(t.reset)}),this.setClassToggle=function(t,e){var i=r.get.elements(t);return 0!==i.length&&r.type.String(e)?(D.length>0&&l.removeClassToggle(),E=e,D=i,l.on("enter.internal_class leave.internal_class",function(t){var e="enter"===t.type?r.addClass:r.removeClass;D.forEach(function(t,i){e(t,E)})}),l):(m(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===i.length?"element":"classes")+" supplied."),l)},this.removeClassToggle=function(t){return t&&D.forEach(function(t,e){r.removeClass(t,E)}),l.off("start.internal_class end.internal_class"),E=void 0,D=[],l},function(){for(var t in h)a.hasOwnProperty(t)||(m(2,'WARNING: Unknown option "'+t+'"'),delete h[t]);for(var e in a)O(e);P()}(),l};var i={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(t){if(t=parseFloat(t),!r.type.Number(t))throw['Invalid value for option "offset":',t];return t},triggerElement:function(t){if(t=t||void 0){var e=r.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(r.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),!r.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,r,n,s){e in i.defaults?t._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+e+"', because it already exists."):(i.defaults[e]=r,i.validate[e]=n,s&&i.shifts.push(e))},t.Scene.extend=function(e){var i=this;t.Scene=function(){return i.apply(this,arguments),this.$super=r.extend({},this),e.apply(this,arguments)||this},r.extend(t.Scene,i),t.Scene.prototype=i.prototype,t.Scene.prototype.constructor=t.Scene},t.Event=function(t,e,i,r){for(var n in r=r||{})this[n]=r[n];return this.type=t,this.target=this.currentTarget=i,this.namespace=e||"",this.timeStamp=this.timestamp=Date.now(),this};var r=t._util=function(t){var e,i={},r=function(t){return parseFloat(t)||0},n=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=n(i);a+="Height"===e?r(l.marginTop)+r(l.marginBottom):r(l.marginLeft)+r(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"],c=t.requestAnimationFrame,u=t.cancelAnimationFrame;for(e=0;!c&&e<h.length;++e)c=t[h[e]+"RequestAnimationFrame"],u=t[h[e]+"CancelAnimationFrame"]||t[h[e]+"CancelRequestAnimationFrame"];c||(c=function(e){var i=(new Date).getTime(),r=Math.max(0,16-(i-l)),n=t.setTimeout(function(){e(i+r)},r);return l=i+r,n}),u||(u=function(e){t.clearTimeout(e)}),i.rAF=c.bind(t),i.cAF=u.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),r=f[t-1],n=Array.prototype.splice.call(arguments,1),s=Function.prototype.bind.call(p[r],p);n.unshift(i),s.apply(p,n)};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 r=0,n=i.length=e.length;r<n;r++){var s=e[r];i[r]=_.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 r=t.getBoundingClientRect();i.top=r.top,i.left=r.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 n(t)[a(e)];if(_.Array(e)){var i={},r=n(t);return e.forEach(function(t,e){i[t]=r[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})?r.call(e,i,e,t):r)||(t.exports=n)},6:function(t,e){var i,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};i=function(){return this}();try{i=i||Function("return this")()||(0,eval)("this")}catch(t){"object"===("undefined"==typeof window?"undefined":r(window))&&(i=window)}t.exports=i},7:function(t,e,i){"use strict";e.a=[{selector:"s1dial",data:[{target:20,label:"All the time"},{target:34,label:"Most of the time"},{target:35,label:"Some of the time"},{target:8,label:"Not very often"},{target:3,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:26,label:"I am really disciplined about switching off my phone and laptop at the end of the day"},{target:10,label:"I do not switch off"},{target:9,label:"I do not mind not being able to switch off"}]}]},72:function(t,e){Array.prototype.forEach||(Array.prototype.forEach=function(t){var e,i;if(null==this)throw new TypeError("this is null or not defined");var r=Object(this),n=r.length>>>0;if("function"!=typeof t)throw new TypeError(t+" is not a function");for(arguments.length>1&&(e=arguments[1]),i=0;i<n;){var s;i in r&&(s=r[i],t.call(e,s,i,r)),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)})},73:function(t,e,i){},76:function(t,e,i){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};
  124. /*!
  125. * ScrollMagic v2.0.5 (2015-04-29)
  126. * The javascript library for magical scroll interactions.
  127. * (c) 2015 Jan Paepke (@janpaepke)
  128. * Project Website: http://scrollmagic.io
  129. *
  130. * @version 2.0.5
  131. * @license Dual licensed under MIT license and GPL.
  132. * @author Jan Paepke - e-mail@janpaepke.de
  133. *
  134. * @file ScrollMagic GSAP Animation Plugin.
  135. *
  136. * requires: GSAP ~1.14
  137. * Powered by the Greensock Animation Platform (GSAP): http://www.greensock.com/js
  138. * Greensock License info at http://www.greensock.com/licensing/
  139. */
  140. !function(t,n){"object"===r(e)?(i(1),n(i(4),TweenMax,TimelineMax)):n(t.ScrollMagic||t.jQuery&&t.jQuery.ScrollMagic,t.TweenMax||t.TweenLite,t.TimelineMax||t.TimelineLite)}(this,function(t,e,i){"use strict";var r=window.console||{},n=Function.prototype.bind.call(r.error||r.log||function(){},r);t||n("(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||n("(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,r=this,n=function(){r._log&&(Array.prototype.splice.call(arguments,1,0,"(animation.gsap)","->"),r._log.apply(this,arguments))};r.on("progress.plugin_gsap",function(){s()}),r.on("destroy.plugin_gsap",function(t){r.removeTween(t.reset)});var s=function(){if(t){var e=r.progress(),i=r.state();t.repeat&&-1===t.repeat()?"DURING"===i&&t.paused()?t.play():"DURING"===i||t.paused()||t.pause():e!=t.progress()&&(0===r.duration()?e>0?t.play():t.reverse():r.tweenChanges()&&t.tweenTo?t.tweenTo(e*t.duration()):t.progress(e).pause())}};r.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 n(1,"ERROR calling method 'setTween()': Supplied argument is not a valid TweenObject"),r}if(t&&r.removeTween(),t=h,o.repeat&&-1===o.repeat()&&(t.repeat(-1),t.yoyo(o.yoyo())),r.tweenChanges()&&!t.tweenTo&&n(2,"WARNING: tweenChanges will only work if the TimelineMax object is available for ScrollMagic."),t&&r.controller()&&r.triggerElement()&&r.loglevel()>=2){var c=e.getTweensOf(r.triggerElement()),u=r.controller().info("vertical");c.forEach(function(t,e){var i=t.vars.css||t.vars;if(u?void 0!==i.top||void 0!==i.bottom:void 0!==i.left||void 0!==i.right)return n(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(){n(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 n(3,"added tween"),s(),r},r.removeTween=function(e){return t&&(e&&t.progress(0).pause(),t.kill(),t=void 0,n(3,"removed tween (reset: "+(e?"true":"false")+")")),r}})})},77: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}},78: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}},79:function(t,e,i){"use strict";i.r(e);i(10),i(72);var r=i(2),n=i(18),s=i.n(n),o=(i(73),i(4)),a=i.n(o),l=(i(76),i(1)),h=i(19),c=i.n(h),u=i(78),f={controller:new a.a.Controller,pentagonSelector:function(){var t="Learn to recognise stress",e="\n Some of the many causes of work-related stress include long hours, heavy workload, job insecurity and conflicts, \n while symptoms include a drop in work performance, depression, anxiety and sleeping difficulties. It’s therefore \n important for SME leaders to recognise work-related stress as a significant health and safety issue and take \n steps to reduce it.\n ",i=[{t:Object(r.a)("#pentT1"),snapTo:{x:0,y:-180},title:"Find a stress reliever that works for you",copy:"Leaders cope with high pressure in different ways so find a stress reliever that works for you (and stick to it). From a \n commitment to taking more time off to scheduling exercise and ‘time outs’ in your day, when you’re ‘on’ from the moment you wake \n to the moment you sleep it’s important to find things – reading, running, family time – that take you away from the pressure."},{t:Object(r.a)("#pentT2"),snapTo:{x:190,y:-40},title:!1,copy:"\n Should you ever enter a stressful period where you feel unable to cope, there are always ways to help you get back on top form. Follow these quick stress busting tips for inspiration:<br><br>\n <ul>\n <li>Listen to or play music</li>\n <li>Try and get more sleep – or take a 20 minute power nap</li>\n <li>Phone a friend or family member</li>\n <li>Turn off your devices in the evening</li>\n <li>Practice relaxation techniques such as meditation and yoga</li>\n </ul>\n "},{t:Object(r.a)("#pentT3"),snapTo:{x:120,y:180},title:!1,copy:"\n Should you ever enter a stressful period where you feel unable to cope, there are always ways to help you get back on top form. Follow these quick stress busting tips for inspiration:<br><br>\n <ul>\n <li>Listen to or play music</li>\n <li>Try and get more sleep – or take a 20 minute power nap</li>\n <li>Phone a friend or family member</li>\n <li>Turn off your devices in the evening</li>\n <li>Practice relaxation techniques such as meditation and yoga</li>\n </ul>\n "},{t:Object(r.a)("#pentT3b"),snapTo:{x:120,y:180},title:!1,copy:"Should you ever enter a stressful period where you feel unable to cope, there are always ways to help you get back on top form. Follow \n these quick stress busting tips for inspiration:<br><br>\n <ul>\n <li>Listen to or play music</li>\n <li>Try and get more sleep – or take a 20 minute power nap</li>\n <li>Phone a friend or family member</li>\n <li>Turn off your devices in the evening</li>\n <li>Practice relaxation techniques such as meditation and yoga</li>\n </ul>\n "},{t:Object(r.a)("#pentT4"),snapTo:{x:-110,y:180},title:"Take a digital detox",copy:"The digital era is making it worse. Switching off is critical and that means taking a proper break to recharge. It’s important \n to try to finish work on time and, on a regular basis, set aside time at home to turn off your mobile phone and laptop."},{t:Object(r.a)("#pentT4b"),snapTo:{x:-110,y:180},title:"Take a digital detox",copy:"The digital era is making it worse. Switching off is critical and that means taking a proper break to recharge. It’s important \n to try to finish work on time and, on a regular basis, set aside time at home to turn off your mobile phone and laptop."},{t:Object(r.a)("#pentT5"),snapTo:{x:-185,y:-40},title:!1,copy:"\n Should you ever enter a stressful period where you feel unable to cope, there are always ways to help you get back on top form. Follow these quick stress busting tips for inspiration:<br><br>\n <ul>\n <li>Listen to or play music</li>\n <li>Try and get more sleep – or take a 20 minute power nap</li>\n <li>Phone a friend or family member</li>\n <li>Turn off your devices in the evening</li>\n <li>Practice relaxation techniques such as meditation and yoga</li>\n </ul>\n "}];l.TweenMax.set("#pentT1",{transformOrigin:"50% 50%",rotation:45}),l.TweenMax.set("#pentT2",{transformOrigin:"50% 50%",rotation:45}),l.TweenMax.set("#pentT3",{transformOrigin:"0 0",rotation:-45}),l.TweenMax.set("#pentT4",{transformOrigin:"100% 0%",rotation:45}),l.TweenMax.set("#pentT5",{transformOrigin:"50% 50%",rotation:-45});!function s(){c.a.create("#pentDrag",{bounds:".illustration__wrapper",type:"x,y",onDrag:function(t){l.TweenMax.set(Object(r.a)("#pentDrop"),{x:this.x,y:this.y})},onDragEnd:function(o){for(var a=!1,h=void 0,c=void 0,u=0;u<i.length;u++){if(this.hitTest(i[u].t,"99%")){console.log("in the target"),a=!0,h=i[u].snapTo,c=[i[u].title,i[u].copy];break}console.log("not in the target"),console.log(this.x)}a?(l.TweenMax.to("#pentDrop",.1,h),l.TweenMax.set("#pentDrag",{clearProps:"transform"}),this.kill(),l.TweenMax.to("#pentDrag",.1,h),s(),!1===c[0]?Object(r.a)("#s4PentTitle").style.display="none":(Object(r.a)("#s4PentTitle").style.display="block",Object(r.a)("#s4PentTitle").innerHTML=c[0]),Object(r.a)("#s4PentCopy").innerHTML=c[1]):(n(),this.kill(),s(),Object(r.a)("#s4PentTitle").style.display="block",Object(r.a)("#s4PentTitle").innerHTML=t,Object(r.a)("#s4PentCopy").innerHTML=e)}})}();var n=function(){l.TweenMax.set("#pentDrag",{clearProps:"transform"}),l.TweenMax.to("#pentDrop",.1,{x:0,y:0})}},animateHeaderBG:function(){var t=new l.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 a.a.Scene({triggerElement:".sent-01",duration:500}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller)},animateProgressBarA:function(){var t=new l.TimelineMax,e=100*Math.floor(u.elementHeight("main")/u.viewportHeight()),i={to:480};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(r.a)("#read-val").innerHTML=t+" minutes left",t<=1?l.TweenMax.set("#read-val",{className:"+=hidden"}):l.TweenMax.set("#read-val",{className:"-=hidden"})},ease:Linear.easeNone},0);new a.a.Scene({triggerElement:"#app",duration:e+"%"}).setTween(t).addTo(this.controller)},animatePercCone:function(){var t=new l.TimelineMax,e=0,i=0;window.matchMedia("(min-width: 63.9375em)").matches?(e=200,i=20):(e=0,i=0),t.fromTo("#perc-block-a",5,{alpha:0,y:e,ease:Power4.easeOut},{delay:1,alpha:1,y:i,ease:Power4.easeOut});new a.a.Scene({triggerElement:"#perc-anims",triggerHook:.8,duration:"60%"}).setTween(t).on("start",function(e){t.time(0)}).addTo(this.controller);var r=new l.TimelineMax;r.fromTo("#perc-block-b",5,{alpha:0,y:0,scale:.5,ease:Power4.easeOut},{alpha:1,y:0,scale:1,ease:Power4.easeOut});new a.a.Scene({triggerElement:"#perc-anims",triggerHook:.8,duration:"60%"}).setTween(r).addTo(this.controller);var n=new l.TimelineMax,s=0,o=0;window.matchMedia("(min-width: 63.9375em)").matches?(s=200,o=20):(s=0,o=0),n.fromTo("#perc-block-c",5,{alpha:0,y:o,ease:Power4.easeOut},{alpha:1,y:s,ease:Power4.easeOut});new a.a.Scene({triggerElement:"#perc-anims",triggerHook:.7,duration:"60%"}).setTween(n).addTo(this.controller)},animateDials:function(t){var e=this;t.forEach(function(t){t.data.forEach(function(i,n){var s=(100-i.target)/100*1300,o="#"+t.selector+n,h={to:0},c=new l.TimelineMax;c.to("#"+t.selector+n+"-draw",2,{strokeDashoffset:s},0).to(h,2,{to:i.target,onUpdate:function(){Object(r.a)("#"+t.selector+n+"-inc").innerHTML=Math.ceil(h.to)+"%"},ease:Circ.easeOut},0);new a.a.Scene({triggerElement:o,triggerHook:1}).setTween(c).on("start",function(t){c.time(0)}).addTo(e.controller)})})},animateHeroCopy:function(){var t=this;Object(r.b)(".hero-block.scene").forEach(function(e){var i=e.querySelector("h1"),r=new l.TimelineMax;r.fromTo(i,1,{scale:.5,y:400},{scale:1,y:-200},0).fromTo(i,.8,{opacity:0},{opacity:1},0);new a.a.Scene({triggerElement:e,triggerHook:1,duration:"200%"}).setTween(r).addTo(t.controller)})},init:function(t){return t.hasOwnProperty("dialsData")&&this.animateDials(t.dialsData),this.animateHeroCopy(),this.animatePercCone(),this.animateHeaderBG(),this.animateProgressBarA(),this.pentagonSelector(),!1}},p={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"),r=document.querySelector("#"+i);l.default.set(t,{className:"+=tab-block__tab-title--inactive"}),l.default.set(this,{className:"-=tab-block__tab-title--inactive"}),l.default.set(e,{className:"-=tab-block__tab--active"}),l.default.set(r,{className:"+=tab-block__tab--active"})})},menuClickHandler:function(){Object(r.a)(".moi-menu-icon").addEventListener("click",function(){Object(r.a)(".moi-menu").className.indexOf("moi-menu--open")>-1?(l.default.set(Object(r.a)(".moi-menu"),{className:"-=moi-menu--open"}),l.default.set(Object(r.a)(".logo-cup"),{className:"-=logo-cup--menu-open"}),l.default.set(Object(r.a)("#app"),{className:"-=menu-open"})):(l.default.set(Object(r.a)(".moi-menu"),{className:"+=moi-menu--open"}),l.default.set(Object(r.a)(".logo-cup"),{className:"+=logo-cup--menu-open"}),l.default.set(Object(r.a)("#app"),{className:"+=menu-open"}))}),document.addEventListener("click",function(t){Object(r.a)(".logo-cup").contains(t.target)||Object(r.a)(".moi-menu").className.indexOf("moi-menu--open")>-1&&(l.default.set(Object(r.a)(".moi-menu"),{className:"-=moi-menu--open"}),l.default.set(Object(r.a)(".logo-cup"),{className:"-=logo-cup--menu-open"}),l.default.set(Object(r.a)("#app"),{className:"-=menu-open"}))})}};var d={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");l.TweenMax.set(".accordian__title",{className:"+=accordian__title--inactive"}),l.TweenMax.set(this,{className:"-=accordian__title--inactive"}),l.TweenMax.set(".accordian__copy",{className:"+=accordian__copy--hidden"}),l.TweenMax.set(this.nextElementSibling,{className:"-=accordian__copy--hidden"});var e=document.getElementById("read-indicator").clientHeight,i=document.getElementById("moi-header").clientHeight,r=document.querySelectorAll(".tab-block--mobile .accordian__title")[0].clientHeight;console.log(r);var n=t*r+1*t+3,s=document.getElementById("tabScroll").offsetTop-(e+i-n);!function t(e,i,r){if(!(r<=0)){var n=(i-e.scrollTop)/r*10;setTimeout(function(){e.scrollTop=e.scrollTop+n,e.scrollTop!==i&&t(e,i,r-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"})}},_={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"}},m=i(7),g=function(){if(!window.__PRERENDER_INJECTED){var t=new s.a(navigator.userAgent);!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 r=t.indexOf("Edge/");return r>0&&r}()?t.apple.device&&(Object(r.a)("#main").className="ios"):Object(r.a)("#main").className="ie"}f.init({dialsData:m.a}),p.init(),d.init(),_.init(),document.dispatchEvent(new Event("render-event"))};document.addEventListener("DOMContentLoaded",function(){g()})},9:function(t,e,i){(function(i){var r,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};
  141. /*!
  142. * VERSION: 1.20.5
  143. * DATE: 2018-05-21
  144. * UPDATES AND DOCS AT: http://greensock.com
  145. *
  146. * @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
  147. * This work is subject to the terms at http://greensock.com/standard-license or for
  148. * Club GreenSock members, the software agreement that was issued with your membership.
  149. *
  150. * @author: Jack Doyle, jack@greensock.com
  151. */
  152. !function(i,s){"use strict";var o={},a=i.document,l=i.GreenSockGlobals=i.GreenSockGlobals||i;if(l.TweenLite)return l.TweenLite;var h,c,u,f,p,d=function(t){var e,i=t.split("."),r=l;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},_=d("com.greensock"),m=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},g=function(){},y=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"===(void 0===i?"undefined":n(i))&&!!i.push&&t.call(i)===e)}}(),v={},x=i._gsDefine=function(i,n,s,a){return new function i(n,s,a,h){this.sc=v[n]?v[n].sc:[],v[n]=this,this.gsClass=null,this.func=a;var c=[];this.check=function(u){for(var f,p,_,m,g=s.length,y=g;--g>-1;)(f=v[s[g]]||new i(s[g],[])).gsClass?(c[g]=f.gsClass,y--):u&&f.sc.push(this);if(0===y&&a){if(_=(p=("com.greensock."+n).split(".")).pop(),m=d(p.join("."))[_]=this.gsClass=a.apply(a,c),h)if(l[_]=o[_]=m,void 0!==t&&t.exports)if("TweenLite"===n)for(g in t.exports=o.TweenLite=m,o)m[g]=o[g];else o.TweenLite&&(o.TweenLite[_]=m);else void 0===(r=function(){return m}.apply(e,[]))||(t.exports=r);for(g=0;g<this.sc.length;g++)this.sc[g].check()}},this.check(!0)}(i,n,s,a)},b=_._class=function(t,e,i){return e=e||function(){},x(t,[],function(){return e},i),e};x.globals=l;var w=[0,0,1,1],T=b("easing.Ease",function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?w.concat(e):w},!0),P=T.map={},S=T.register=function(t,e,i,r){for(var n,s,o,a,l=e.split(","),h=l.length,c=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(s=l[h],n=r?b("easing."+s,null,!0):_.easing[s]||{},o=c.length;--o>-1;)a=c[o],P[s+"."+a]=P[a+s]=n[a]=t.getRatio?t:t[a]||new t};for((u=T.prototype)._calcEnd=!1,u.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:t<.5?r/2:1-r/2},c=(h=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--c>-1;)u=h[c]+",Power"+c,S(new T(null,null,1,c),u,"easeOut",!0),S(new T(null,null,2,c),u,"easeIn"+(0===c?",easeNone":"")),S(new T(null,null,3,c),u,"easeInOut");P.linear=_.easing.Linear.easeIn,P.swing=_.easing.Quad.easeInOut;var O=b("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(u=O.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,o,a=this._listeners[t],l=0;for(this!==f||p||f.wake(),null==a&&(this._listeners[t]=a=[]),o=a.length;--o>-1;)(s=a[o]).c===e&&s.s===i?a.splice(o,1):0===l&&s.pr<n&&(l=o+1);a.splice(l,0,{c:e,s:i,up:r,pr:n})},u.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;--i>-1;)if(r[i].c===e)return void r.splice(i,1)},u.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var k=i.requestAnimationFrame,R=i.cancelAnimationFrame,A=Date.now||function(){return(new Date).getTime()},C=A();for(c=(h=["ms","moz","webkit","o"]).length;--c>-1&&!k;)k=i[h[c]+"RequestAnimationFrame"],R=i[h[c]+"CancelAnimationFrame"]||i[h[c]+"CancelRequestAnimationFrame"];b("Ticker",function(t,e){var i,r,n,s,o,l=this,h=A(),c=!(!1===e||!k)&&"auto",u=500,d=33,_=function t(e){var a,c,f=A()-C;f>u&&(h+=f-d),C+=f,l.time=(C-h)/1e3,a=l.time-o,(!i||a>0||!0===e)&&(l.frame++,o+=a+(a>=s?.004:s-a),c=!0),!0!==e&&(n=r(t)),c&&l.dispatchEvent("tick")};O.call(l),l.time=l.frame=0,l.tick=function(){_(!0)},l.lagSmoothing=function(t,e){if(!arguments.length)return u<1e10;u=t||1e10,d=Math.min(e,u,0)},l.sleep=function(){null!=n&&(c&&R?R(n):clearTimeout(n),r=g,n=null,l===f&&(p=!1))},l.wake=function(t){null!==n?l.sleep():t?h+=-C+(C=A()):l.frame>10&&(C=A()-u+5),r=0===i?g:c&&k?k:function(t){return setTimeout(t,1e3*(o-l.time)+1|0)},l===f&&(p=!0),_(2)},l.fps=function(t){if(!arguments.length)return i;s=1/((i=t)||60),o=this.time+s,l.wake()},l.useRAF=function(t){if(!arguments.length)return c;l.sleep(),c=t,l.fps(i)},l.fps(t),setTimeout(function(){"auto"===c&&l.frame<5&&"hidden"!==(a||{}).visibilityState&&l.useRAF(!1)},1500)}),(u=_.Ticker.prototype=new _.events.EventDispatcher).constructor=_.Ticker;var M=b("core.Animation",function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,Z){p||f.wake();var i=this.vars.useFrames?q:Z;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});f=M.ticker=new _.Ticker,(u=M.prototype)._dirty=u._gc=u._initted=u._paused=!1,u._totalTime=u._time=0,u._rawPrevTime=-1,u._next=u._last=u._onUpdate=u._timeline=u.timeline=null,u._paused=!1;!function t(){p&&A()-C>2e3&&("hidden"!==(a||{}).visibilityState||!f.lagSmoothing())&&f.wake();var e=setTimeout(t,2e3);e.unref&&e.unref()}(),u.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},u.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},u.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},u.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},u.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},u.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},u.render=function(t,e,i){},u.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},u.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},u._enabled=function(t,e){return p||f.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},u._kill=function(t,e){return this._enabled(!1,!1)},u.kill=function(t,e){return this._kill(t,e),this},u._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},u._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},u._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},u.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=y(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},u.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},u.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)},u.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},u.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},u.totalTime=function(t,e,i){if(p||f.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(N.length&&K(),this.render(t,e,!1),N.length&&K())}return this},u.progress=u.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},u.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},u.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},u.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},u.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},u.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(p||t||f.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var E=b("core.SimpleTimeline",function(t){M.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(u=E.prototype=new M).constructor=E,u.kill()._gc=!1,u._first=u._last=u._recent=null,u._sortChildren=!1,u.add=u.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},u._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},u.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},u.rawTime=function(){return p||f.wake(),this._totalTime};var D=b("TweenLite",function(t,e,r){if(M.call(this,e,r),this.render=D.prototype.render,null==t)throw"Cannot tween a null target.";this.target=t="string"!=typeof t?t:D.selector(t)||t;var n,s,o,a=t.jquery||t.length&&t!==i&&t[0]&&(t[0]===i||t[0].nodeType&&t[0].style&&!t.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?G[D.defaultOverwrite]:"number"==typeof l?l>>0:G[l],(a||t instanceof Array||t.push&&y(t))&&"number"!=typeof t[0])for(this._targets=o=m(t),this._propLookup=[],this._siblings=[],n=0;n<o.length;n++)(s=o[n])?"string"!=typeof s?s.length&&s!==i&&s[0]&&(s[0]===i||s[0].nodeType&&s[0].style&&!s.nodeType)?(o.splice(n--,1),this._targets=o=o.concat(m(s))):(this._siblings[n]=Q(s,this,!1),1===l&&this._siblings[n].length>1&&tt(s,this,null,1,this._siblings[n])):"string"==typeof(s=o[n--]=D.selector(s))&&o.splice(n+1,1):o.splice(n--,1);else this._propLookup={},this._siblings=Q(t,this,!1),1===l&&this._siblings.length>1&&tt(t,this,null,1,this._siblings);(this.vars.immediateRender||0===e&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),F=function(t){return t&&t.length&&t!==i&&t[0]&&(t[0]===i||t[0].nodeType&&t[0].style&&!t.nodeType)};(u=D.prototype=new M).constructor=D,u.kill()._gc=!1,u.ratio=0,u._firstPT=u._targets=u._overwrittenProps=u._startAt=null,u._notifyPluginsOfEnabled=u._lazy=!1,D.version="1.20.5",D.defaultEase=u._ease=new T(null,null,1,1),D.defaultOverwrite="auto",D.ticker=f,D.autoSleep=120,D.lagSmoothing=function(t,e){f.lagSmoothing(t,e)},D.selector=i.$||i.jQuery||function(t){var e=i.$||i.jQuery;return e?(D.selector=e,e(t)):(a||(a=i.document),a?a.querySelectorAll?a.querySelectorAll(t):a.getElementById("#"===t.charAt(0)?t.substr(1):t):t)};var N=[],L={},I=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,X=/[\+-]=-?[\.\d]/,z=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},B=function(t,e,i,r){var n,s,o,a,l,h,c,u=[],f=0,p="",d=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",i&&(i(u),t=u[0],e=u[1]),u.length=0,n=t.match(I)||[],s=e.match(I)||[],r&&(r._next=null,r.blob=1,u._firstPT=u._applyPT=r),l=s.length,a=0;a<l;a++)c=s[a],p+=(h=e.substr(f,e.indexOf(c,f)-f))||!a?h:",",f+=h.length,d?d=(d+1)%5:"rgba("===h.substr(-5)&&(d=1),c===n[a]||n.length<=a?p+=c:(p&&(u.push(p),p=""),o=parseFloat(n[a]),u.push(o),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:o,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-o)||0,f:0,m:d&&d<4?Math.round:0}),f+=c.length;return(p+=e.substr(f))&&u.push(p),u.setRatio=z,X.test(e)&&(u.end=null),u},Y=function(t,e,i,r,s,o,a,l,h){"function"==typeof r&&(r=r(h||0,t));var c=n(t[e]),u="function"!==c?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),f="get"!==i?i:u?a?t[u](a):t[u]():t[e],p="string"==typeof r&&"="===r.charAt(1),d={t:t,p:e,s:f,f:"function"===c,pg:0,n:s||e,m:o?"function"==typeof o?o:Math.round:0,pr:0,c:p?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-f||0};if(("number"!=typeof f||"number"!=typeof r&&!p)&&(a||isNaN(f)||!p&&isNaN(r)||"boolean"==typeof f||"boolean"==typeof r?(d.fp=a,d={t:B(f,p?parseFloat(d.s)+d.c+(d.s+"").replace(/[0-9\-\.]/g,""):r,l||D.defaultStringFilter,d),p:"setRatio",s:0,c:1,f:2,pg:0,n:s||e,pr:0,m:0}):(d.s=parseFloat(f),p||(d.c=parseFloat(r)-d.s||0))),d.c)return(d._next=this._firstPT)&&(d._next._prev=d),this._firstPT=d,d},j=D._internals={isArray:y,isSelector:F,lazyTweens:N,blobDif:B},W=D._plugins={},H=j.tweenLookup={},V=0,U=j.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1},G={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},q=M._rootFramesTimeline=new E,Z=M._rootTimeline=new E,$=30,K=j.lazyRender=function(){var t,e=N.length;for(L={};--e>-1;)(t=N[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);N.length=0};Z._startTime=f.time,q._startTime=f.frame,Z._active=q._active=!0,setTimeout(K,1),M._updateRoot=D.render=function(){var t,e,i;if(N.length&&K(),Z.render((f.time-Z._startTime)*Z._timeScale,!1,!1),q.render((f.frame-q._startTime)*q._timeScale,!1,!1),N.length&&K(),f.frame>=$){for(i in $=f.frame+(parseInt(D.autoSleep,10)||120),H){for(t=(e=H[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete H[i]}if((!(i=Z._first)||i._paused)&&D.autoSleep&&!q._first&&1===f._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||f.sleep()}}},f.addEventListener("tick",M._updateRoot);var Q=function(t,e,i){var r,n,s=t._gsTweenID;if(H[s||(t._gsTweenID=s="t"+V++)]||(H[s]={target:t,tweens:[]}),e&&((r=H[s].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return H[s].tweens},J=function(t,e,i,r){var n,s,o=t.vars.onOverwrite;return o&&(n=o(t,e,i,r)),(o=D.onOverwrite)&&(s=o(t,e,i,r)),!1!==n&&!1!==s},tt=function(t,e,i,r,n){var s,o,a,l;if(1===r||r>=4){for(l=n.length,s=0;s<l;s++)if((a=n[s])!==e)a._gc||a._kill(null,t,e)&&(o=!0);else if(5===r)break;return o}var h,c=e._startTime+1e-10,u=[],f=0,p=0===e._duration;for(s=n.length;--s>-1;)(a=n[s])===e||a._gc||a._paused||(a._timeline!==e._timeline?(h=h||et(e,0,p),0===et(a,h,p)&&(u[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-10||(u[f++]=a)));for(s=f;--s>-1;)if(a=u[s],2===r&&a._kill(i,t,e)&&(o=!0),2!==r||!a._firstPT&&a._initted){if(2!==r&&!J(a,e))continue;a._enabled(!1,!1)&&(o=!0)}return o},et=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(s/=n)>e?s-e:i&&s===e||!t._initted&&s-e<2e-10?1e-10:(s+=t.totalDuration()/t._timeScale/n)>e+1e-10?0:s-e-1e-10};u._init=function(){var t,e,i,r,n,s,o=this.vars,a=this._overwrittenProps,l=this._duration,h=!!o.immediateRender,c=o.ease;if(o.startAt){for(r in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),n={},o.startAt)n[r]=o.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=h&&!1!==o.lazy,n.startAt=n.delay=null,n.onUpdate=o.onUpdate,n.onUpdateParams=o.onUpdateParams,n.onUpdateScope=o.onUpdateScope||o.callbackScope||this,this._startAt=D.to(this.target||{},0,n),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(r in 0!==this._time&&(h=!1),i={},o)U[r]&&"autoCSS"!==r||(i[r]=o[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==o.lazy,i.immediateRender=h,this._startAt=D.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof T?c:"function"==typeof c?new T(c,o.easeParams):P[c]||D.defaultEase:D.defaultEase,o.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,o.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;t<s;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],a?a[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,a,0);if(e&&D._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),o.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=o.onUpdate,this._initted=!0},u._initProps=function(t,e,r,n,s){var o,a,l,h,c,u;if(null==t)return!1;for(o in L[t._gsTweenID]&&K(),this.vars.css||t.style&&t!==i&&t.nodeType&&W.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)U[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!W[i]||W[i]&&W[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,t),this.vars)if(u=this.vars[o],U[o])u&&(u instanceof Array||u.push&&y(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[o]=u=this._swapSelfInParams(u,this));else if(W[o]&&(h=new W[o])._onInitTween(t,this.vars[o],this,s)){for(this._firstPT=c={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:o,pg:1,pr:h._priority,m:0},a=h._overwriteProps.length;--a>-1;)e[h._overwriteProps[a]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else e[o]=Y.call(this,t,o,"get",u,o,0,null,this.vars.stringFilter,s);return n&&this._kill(n,t)?this._initProps(t,e,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&tt(t,this,e,this._overwrite,r)?(this._kill(e,t),this._initProps(t,e,r,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(L[t._gsTweenID]=!0),l)},u.render=function(t,e,i){var r,n,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||(r=!0,n="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&&(n="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)&&(n="onReverseComplete",r=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 c=t/l,u=this._easeType,f=this._easePower;(1===u||3===u&&c>=.5)&&(c=1-c),3===u&&(c*=2),1===f?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),this.ratio=1===u?1-c:2===u?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=h,N.push(this),void(this._lazy=[t,e]);this._time&&!r?this.ratio=this._ease.getRatio(this._time/l):r&&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):n||(n="_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||r||i)&&this._callback("onUpdate")),n&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),r&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[n]&&this._callback(n),0===l&&1e-10===this._rawPrevTime&&1e-10!==o&&(this._rawPrevTime=0)))}},u._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:D.selector(e)||e;var r,s,o,a,l,h,c,u,f,p=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((y(e)||F(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(h=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){l=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;l=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(l){if(c=t||l,u=t!==s&&"all"!==s&&t!==l&&("object"!==(void 0===t?"undefined":n(t))||!t._tempKill),i&&(D.onOverwrite||this.vars.onOverwrite)){for(o in c)l[o]&&(f||(f=[]),f.push(o));if((f||!t)&&!J(this,i,e,f))return!1}for(o in c)(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(c)&&(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]),u&&(s[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return h},u.invalidate=function(){return this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],M.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},u._enabled=function(t,e){if(p||f.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=Q(r[i],this,!0);else this._siblings=Q(this.target,this,!0)}return M.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&D._onPluginEvent(t?"_onEnable":"_onDisable",this)},D.to=function(t,e,i){return new D(t,e,i)},D.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(t,e,i)},D.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new D(t,e,r)},D.delayedCall=function(t,e,i,r,n){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"!=typeof t?t:D.selector(t)||t,(y(t)||F(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(D.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=Q(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},D.killTweensOf=D.killDelayedCallsTo=function(t,e,i){"object"===(void 0===e?"undefined":n(e))&&(i=e,e=!1);for(var r=D.getTweensOf(t,e),s=r.length;--s>-1;)r[s]._kill(i,t)};var it=b("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype},!0);if(u=it.prototype,it.version="1.19.0",it.API=2,u._firstPT=null,u._addTween=Y,u.setRatio=z,u._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},u._mod=u._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},D._onPluginEvent=function(t,e){var i,r,n,s,o,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(o=a._next,r=n;r&&r.pr>a.pr;)r=r._next;(a._prev=r?r._prev:s)?a._prev._next=a:n=a,(a._next=r)?r._prev=a:s=a,a=o}a=e._firstPT=n}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(W[(new t[e])._propName]=t[e]);return!0},x.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},o=b("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){it.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),a=o.prototype=new it(i);for(e in a.constructor=o,o.API=t.API,s)"function"==typeof t[e]&&(a[s[e]]=t[e]);return o.version=t.version,it.activate([o]),o},h=i._gsQueue){for(c=0;c<h.length;c++)h[c]();for(u in v)v[u].func||i.console.log("GSAP encountered missing dependency: "+u)}p=!1}(void 0!==t&&t.exports&&void 0!==i?i:this||window)}).call(this,i(6))}});
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement