(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-60c160b6"],{"0537":function(t,e,i){},"121a":function(t,e,i){t.exports=i.p+"img/ruletaVerde.1dc5b52f.png"},"1cbf":function(t,e,i){},"2e20":function(t,e,i){"use strict";(function(t,n){i.d(e,"e",(function(){return s})),i.d(e,"g",(function(){return a})),i.d(e,"f",(function(){return r})),i.d(e,"c",(function(){return l})),i.d(e,"a",(function(){return h})),i.d(e,"b",(function(){return c})),i.d(e,"d",(function(){return u}));
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 *
 * @author: Jack Doyle, jack@greensock.com
 */
var s="undefined"!==typeof window?window:t.exports&&"undefined"!==typeof n?n:{},r=function(t){var e={},i=t.document,n=t.GreenSockGlobals=t.GreenSockGlobals||t;if(n.TweenLite)return n.TweenLite;var s,r,a,o,l,h=function(t){var e,i=t.split("."),s=n;for(e=0;e<i.length;e++)s[i[e]]=s=s[i[e]]||{};return s},c=h("com.greensock"),u=1e-8,f=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},_=function(){},p=function(){var t=Object.prototype.toString,e=t.call([]);return function(i){return null!=i&&(i instanceof Array||"object"===typeof i&&!!i.push&&t.call(i)===e)}}(),d={},m=function(t,i,s,r){this.sc=d[t]?d[t].sc:[],d[t]=this,this.gsClass=null,this.func=s;var a=[];this.check=function(o){var l,c,u,f,_=i.length,p=_;while(--_>-1)(l=d[i[_]]||new m(i[_],[])).gsClass?(a[_]=l.gsClass,p--):o&&l.sc.push(this);if(0===p&&s)for(c=("com.greensock."+t).split("."),u=c.pop(),f=h(c.join("."))[u]=this.gsClass=s.apply(s,a),r&&(n[u]=e[u]=f),_=0;_<this.sc.length;_++)this.sc[_].check()},this.check(!0)},g=t._gsDefine=function(t,e,i,n){return new m(t,e,i,n)},v=c._class=function(t,e,i){return e=e||function(){},g(t,[],(function(){return e}),i),e};g.globals=n;var y=[0,0,1,1],x=v("easing.Ease",(function(t,e,i,n){this._func=t,this._type=i||0,this._power=n||0,this._params=e?y.concat(e):y}),!0),w=x.map={},b=x.register=function(t,e,i,n){var s,r,a,o,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");while(--h>-1){r=l[h],s=n?v("easing."+r,null,!0):c.easing[r]||{},a=u.length;while(--a>-1)o=u[a],w[r+"."+o]=w[o+r]=s[o]=t.getRatio?t:t[o]||new t}};a=x.prototype,a._calcEnd=!1,a.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},s=["Linear","Quad","Cubic","Quart","Quint,Strong"],r=s.length;while(--r>-1)a=s[r]+",Power"+r,b(new x(null,null,1,r),a,"easeOut",!0),b(new x(null,null,2,r),a,"easeIn"+(0===r?",easeNone":"")),b(new x(null,null,3,r),a,"easeInOut");w.linear=c.easing.Linear.easeIn,w.swing=c.easing.Quad.easeInOut;var T=v("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));a=T.prototype,a.addEventListener=function(t,e,i,n,s){s=s||0;var r,a,h=this._listeners[t],c=0;this!==o||l||o.wake(),null==h&&(this._listeners[t]=h=[]),a=h.length;while(--a>-1)r=h[a],r.c===e&&r.s===i?h.splice(a,1):0===c&&r.pr<s&&(c=a+1);h.splice(c,0,{c:e,s:i,up:n,pr:s})},a.removeEventListener=function(t,e){var i,n=this._listeners[t];if(n){i=n.length;while(--i>-1)if(n[i].c===e)return void n.splice(i,1)}},a.dispatchEvent=function(t){var e,i,n,s=this._listeners[t];if(s){e=s.length,e>1&&(s=s.slice(0)),i=this._eventTarget;while(--e>-1)n=s[e],n&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))}};var S=t.requestAnimationFrame,P=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},A=k();s=["ms","moz","webkit","o"],r=s.length;while(--r>-1&&!S)S=t[s[r]+"RequestAnimationFrame"],P=t[s[r]+"CancelAnimationFrame"]||t[s[r]+"CancelRequestAnimationFrame"];v("Ticker",(function(t,e){var n,s,r,a,h,c=this,f=k(),p=!(!1===e||!S)&&"auto",d=500,m=33,g="tick",v=function(t){var e,i,o=k()-A;o>d&&(f+=o-m),A+=o,c.time=(A-f)/1e3,e=c.time-h,(!n||e>0||!0===t)&&(c.frame++,h+=e+(e>=a?.004:a-e),i=!0),!0!==t&&(r=s(v)),i&&c.dispatchEvent(g)};T.call(c),c.time=c.frame=0,c.tick=function(){v(!0)},c.lagSmoothing=function(t,e){if(!arguments.length)return d<1/u;d=t||1/u,m=Math.min(e,d,0)},c.sleep=function(){null!=r&&(p&&P?P(r):clearTimeout(r),s=_,r=null,c===o&&(l=!1))},c.wake=function(t){null!==r?c.sleep():t?f+=-A+(A=k()):c.frame>10&&(A=k()-d+5),s=0===n?_:p&&S?S:function(t){return setTimeout(t,1e3*(h-c.time)+1|0)},c===o&&(l=!0),v(2)},c.fps=function(t){if(!arguments.length)return n;n=t,a=1/(n||60),h=this.time+a,c.wake()},c.useRAF=function(t){if(!arguments.length)return p;c.sleep(),p=t,c.fps(n)},c.fps(t),setTimeout((function(){"auto"===p&&c.frame<5&&"hidden"!==(i||{}).visibilityState&&c.useRAF(!1)}),1500)})),a=c.Ticker.prototype=new c.events.EventDispatcher,a.constructor=c.Ticker;var C=v("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,Z){l||o.wake();var i=this.vars.useFrames?G:Z;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));o=C.ticker=new c.Ticker,a=C.prototype,a._dirty=a._gc=a._initted=a._paused=!1,a._totalTime=a._time=0,a._rawPrevTime=-1,a._next=a._last=a._onUpdate=a._timeline=a.timeline=null,a._paused=!1;var R=function(){l&&k()-A>2e3&&("hidden"!==(i||{}).visibilityState||!o.lagSmoothing())&&o.wake();var t=setTimeout(R,2e3);t.unref&&t.unref()};R(),a.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},a.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},a.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},a.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},a.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},a.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},a.render=function(t,e,i){},a.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},a.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-u},a._enabled=function(t,e){return l||o.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},a._kill=function(t,e){return this._enabled(!1,!1)},a.kill=function(t,e){return this._kill(t,e),this},a._uncache=function(t){var e=t?this:this.timeline;while(e)e._dirty=!0,e=e.timeline;return this},a._swapSelfInParams=function(t){var e=t.length,i=t.concat();while(--e>-1)"{self}"===t[e]&&(i[e]=this);return i},a._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],s=e[t+"Scope"]||e.callbackScope||this,r=n?n.length:0;switch(r){case 0:i.call(s);break;case 1:i.call(s,n[0]);break;case 2:i.call(s,n[0],n[1]);break;default:i.apply(s,n)}},a.eventCallback=function(t,e,i,n){if("on"===(t||"").substr(0,2)){var s=this.vars;if(1===arguments.length)return s[t];null==e?delete s[t]:(s[t]=e,s[t+"Params"]=p(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,s[t+"Scope"]=n),"onUpdate"===t&&(this._onUpdate=e)}return this},a.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},a.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)},a.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},a.totalTime=function(t,e,i){if(l||o.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,s=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:s._time)-(this._reversed?n-t:t)/this._timeScale,s._dirty||this._uncache(!1),s._timeline)while(s._timeline)s._timeline._time!==(s._startTime+s._totalTime)/s._timeScale&&s.totalTime(s._totalTime,!0),s=s._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(I.length&&Q(),this.render(t,e,!1),I.length&&Q())}return this},a.progress=a.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},a.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},a.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},a.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;t=t||u,this._timeline&&this._timeline.smoothChildTiming&&(e=this._pauseTime,i=e||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;while(i&&i.timeline)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},a.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},a.paused=function(t){if(!arguments.length)return this._paused;var e,i,n=this._timeline;return t!=this._paused&&n&&(l||t||o.wake(),e=n.rawTime(),i=e-this._pauseTime,!t&&n.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var O=v("core.SimpleTimeline",(function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));a=O.prototype=new C,a.constructor=O,a.kill()._gc=!1,a._first=a._last=a._recent=null,a._sortChildren=!1,a.add=a.insert=function(t,e,i,n){var s,r;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),s=this._last,this._sortChildren){r=t._startTime;while(s&&s._startTime>r)s=s._prev}return s?(t._next=s._next,s._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=s,this._recent=t,this._timeline&&this._uncache(!0),this},a._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},a.render=function(t,e,i){var n,s=this._first;this._totalTime=this._time=this._rawPrevTime=t;while(s)n=s._next,(s._active||t>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n},a.rawTime=function(){return l||o.wake(),this._totalTime};var D=v("TweenLite",(function(e,i,n){if(C.call(this,i,n),this.render=D.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!==typeof e?e:D.selector(e)||e;var s,r,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?$[D.defaultOverwrite]:"number"===typeof l?l>>0:$[l],(o||e instanceof Array||e.push&&p(e))&&"number"!==typeof e[0])for(this._targets=a=f(e),this._propLookup=[],this._siblings=[],s=0;s<a.length;s++)r=a[s],r?"string"!==typeof r?r.length&&r!==t&&r[0]&&(r[0]===t||r[0].nodeType&&r[0].style&&!r.nodeType)?(a.splice(s--,1),this._targets=a=a.concat(f(r))):(this._siblings[s]=K(r,this,!1),1===l&&this._siblings[s].length>1&&tt(r,this,null,1,this._siblings[s])):(r=a[s--]=D.selector(r),"string"===typeof r&&a.splice(s+1,1)):a.splice(s--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-u,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)},z=function(t,e){var i,n={};for(i in t)U[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!j[i]||j[i]&&j[i]._autoCSS)||(n[i]=t[i],delete t[i]);t.css=n};a=D.prototype=new C,a.constructor=D,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,D.version="2.1.3",D.defaultEase=a._ease=new x(null,null,1,1),D.defaultOverwrite="auto",D.ticker=o,D.autoSleep=120,D.lagSmoothing=function(t,e){o.lagSmoothing(t,e)},D.selector=t.$||t.jQuery||function(e){var n=t.$||t.jQuery;return n?(D.selector=n,n(e)):(i||(i=t.document),i?i.querySelectorAll?i.querySelectorAll(e):i.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var I=[],F={},X=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,Y=function(t){var e,i=this._firstPT,n=1e-6;while(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<n&&e>-n&&!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},E=function(t){return(1e3*t|0)/1e3+""},B=function(t,e,i,n){var s,r,a,o,l,h,c,u=[],f=0,_="",p=0;for(u.start=t,u.end=e,t=u[0]=t+"",e=u[1]=e+"",i&&(i(u),t=u[0],e=u[1]),u.length=0,s=t.match(X)||[],r=e.match(X)||[],n&&(n._next=null,n.blob=1,u._firstPT=u._applyPT=n),l=r.length,o=0;o<l;o++)c=r[o],h=e.substr(f,e.indexOf(c,f)-f),_+=h||!o?h:",",f+=h.length,p?p=(p+1)%5:"rgba("===h.substr(-5)&&(p=1),c===s[o]||s.length<=o?_+=c:(_&&(u.push(_),_=""),a=parseFloat(s[o]),u.push(a),u._firstPT={_next:u._firstPT,t:u,p:u.length-1,s:a,c:("="===c.charAt(1)?parseInt(c.charAt(0)+"1",10)*parseFloat(c.substr(2)):parseFloat(c)-a)||0,f:0,m:p&&p<4?Math.round:E}),f+=c.length;return _+=e.substr(f),_&&u.push(_),u.setRatio=Y,N.test(e)&&(u.end=null),u},L=function(t,e,i,n,s,r,a,o,l){"function"===typeof n&&(n=n(l||0,t));var h,c=typeof 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],_="string"===typeof n&&"="===n.charAt(1),p={t:t,p:e,s:f,f:"function"===c,pg:0,n:s||e,m:r?"function"===typeof r?r:Math.round:0,pr:0,c:_?parseInt(n.charAt(0)+"1",10)*parseFloat(n.substr(2)):parseFloat(n)-f||0};if(("number"!==typeof f||"number"!==typeof n&&!_)&&(a||isNaN(f)||!_&&isNaN(n)||"boolean"===typeof f||"boolean"===typeof n?(p.fp=a,h=B(f,_?parseFloat(p.s)+p.c+(p.s+"").replace(/[0-9\-\.]/g,""):n,o||D.defaultStringFilter,p),p={t:h,p:"setRatio",s:0,c:1,f:2,pg:0,n:s||e,pr:0,m:0}):(p.s=parseFloat(f),_||(p.c=parseFloat(n)-p.s||0))),p.c)return(p._next=this._firstPT)&&(p._next._prev=p),this._firstPT=p,p},W=D._internals={isArray:p,isSelector:M,lazyTweens:I,blobDif:B},j=D._plugins={},q=W.tweenLookup={},V=0,U=W.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},$={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},G=C._rootFramesTimeline=new O,Z=C._rootTimeline=new O,H=30,Q=W.lazyRender=function(){var t,e,i=I.length;for(F={},t=0;t<i;t++)e=I[t],e&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);I.length=0};Z._startTime=o.time,G._startTime=o.frame,Z._active=G._active=!0,setTimeout(Q,1),C._updateRoot=D.render=function(){var t,e,i;if(I.length&&Q(),Z.render((o.time-Z._startTime)*Z._timeScale,!1,!1),G.render((o.frame-G._startTime)*G._timeScale,!1,!1),I.length&&Q(),o.frame>=H){for(i in H=o.frame+(parseInt(D.autoSleep,10)||120),q){e=q[i].tweens,t=e.length;while(--t>-1)e[t]._gc&&e.splice(t,1);0===e.length&&delete q[i]}if(i=Z._first,(!i||i._paused)&&D.autoSleep&&!G._first&&1===o._listeners.tick.length){while(i&&i._paused)i=i._next;i||o.sleep()}}},o.addEventListener("tick",C._updateRoot);var K=function(t,e,i){var n,s,r=t._gsTweenID;if(q[r||(t._gsTweenID=r="t"+V++)]||(q[r]={target:t,tweens:[]}),e&&(n=q[r].tweens,n[s=n.length]=e,i))while(--s>-1)n[s]===e&&n.splice(s,1);return q[r].tweens},J=function(t,e,i,n){var s,r,a=t.vars.onOverwrite;return a&&(s=a(t,e,i,n)),a=D.onOverwrite,a&&(r=a(t,e,i,n)),!1!==s&&!1!==r},tt=function(t,e,i,n,s){var r,a,o,l;if(1===n||n>=4){for(l=s.length,r=0;r<l;r++)if((o=s[r])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===n)break;return a}var h,c=e._startTime+u,f=[],_=0,p=0===e._duration;r=s.length;while(--r>-1)(o=s[r])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||et(e,0,p),0===et(o,h,p)&&(f[_++]=o)):o._startTime<=c&&o._startTime+o.totalDuration()/o._timeScale>c&&((p||!o._initted)&&c-o._startTime<=2*u||(f[_++]=o)));r=_;while(--r>-1)if(o=f[r],l=o._firstPT,2===n&&o._kill(i,t,e)&&(a=!0),2!==n||!o._firstPT&&o._initted&&l){if(2!==n&&!J(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},et=function(t,e,i){var n=t._timeline,s=n._timeScale,r=t._startTime;while(n._timeline){if(r+=n._startTime,s*=n._timeScale,n._paused)return-100;n=n._timeline}return r/=s,r>e?r-e:i&&r===e||!t._initted&&r-e<2*u?u:(r+=t.totalDuration()/t._timeScale/s)>e+u?0:r-e-u};a._init=function(){var t,e,i,n,s,r,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,c=a.ease,u=this._startAt;if(a.startAt){for(n in u&&(u.render(-1,!0),u.kill()),s={},a.startAt)s[n]=a.startAt[n];if(s.data="isStart",s.overwrite=!1,s.immediateRender=!0,s.lazy=h&&!1!==a.lazy,s.startAt=s.delay=null,s.onUpdate=a.onUpdate,s.onUpdateParams=a.onUpdateParams,s.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=D.to(this.target||{},0,s),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(u)u.render(-1,!0),u.kill(),this._startAt=null;else{for(n in 0!==this._time&&(h=!1),i={},a)U[n]&&"autoCSS"!==n||(i[n]=a[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.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 x?c:"function"===typeof c?new x(c,a.easeParams):w[c]||D.defaultEase:D.defaultEase,a.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(r=this._targets.length,t=0;t<r;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&D._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!==typeof this.target&&this._enabled(!1,!1)),a.runBackwards){i=this._firstPT;while(i)i.s+=i.c,i.c=-i.c,i=i._next}this._onUpdate=a.onUpdate,this._initted=!0},a._initProps=function(e,i,n,s,r){var a,o,l,h,c,u;if(null==e)return!1;for(a in F[e._gsTweenID]&&Q(),this.vars.css||e.style&&e!==t&&e.nodeType&&j.css&&!1!==this.vars.autoCSS&&z(this.vars,e),this.vars)if(u=this.vars[a],U[a])u&&(u instanceof Array||u.push&&p(u))&&-1!==u.join("").indexOf("{self}")&&(this.vars[a]=u=this._swapSelfInParams(u,this));else if(j[a]&&(h=new j[a])._onInitTween(e,this.vars[a],this,r)){this._firstPT=c={_next:this._firstPT,t:h,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:h._priority,m:0},o=h._overwriteProps.length;while(--o>-1)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else i[a]=L.call(this,e,a,"get",u,a,0,null,this.vars.stringFilter,r);return s&&this._kill(s,e)?this._initProps(e,i,n,s,r):this._overwrite>1&&this._firstPT&&n.length>1&&tt(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,s,r)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(F[e._gsTweenID]=!0),l)},a.render=function(t,e,i){var n,s,r,a,o=this,l=o._time,h=o._duration,c=o._rawPrevTime;if(t>=h-u&&t>=0)o._totalTime=o._time=h,o.ratio=o._ease._calcEnd?o._ease.getRatio(1):1,o._reversed||(n=!0,s="onComplete",i=i||o._timeline.autoRemoveChildren),0===h&&(o._initted||!o.vars.lazy||i)&&(o._startTime===o._timeline._duration&&(t=0),(c<0||t<=0&&t>=-u||c===u&&"isPause"!==o.data)&&c!==t&&(i=!0,c>u&&(s="onReverseComplete")),o._rawPrevTime=a=!e||t||c===t?t:u);else if(t<u)o._totalTime=o._time=0,o.ratio=o._ease._calcEnd?o._ease.getRatio(0):0,(0!==l||0===h&&c>0)&&(s="onReverseComplete",n=o._reversed),t>-u?t=0:t<0&&(o._active=!1,0===h&&(o._initted||!o.vars.lazy||i)&&(c>=0&&(c!==u||"isPause"!==o.data)&&(i=!0),o._rawPrevTime=a=!e||t||c===t?t:u)),(!o._initted||o._startAt&&o._startAt.progress())&&(i=!0);else if(o._totalTime=o._time=t,o._easeType){var f=t/h,_=o._easeType,p=o._easePower;(1===_||3===_&&f>=.5)&&(f=1-f),3===_&&(f*=2),1===p?f*=f:2===p?f*=f*f:3===p?f*=f*f*f:4===p&&(f*=f*f*f*f),o.ratio=1===_?1-f:2===_?f:t/h<.5?f/2:1-f/2}else o.ratio=o._ease.getRatio(t/h);if(o._time!==l||i){if(!o._initted){if(o._init(),!o._initted||o._gc)return;if(!i&&o._firstPT&&(!1!==o.vars.lazy&&o._duration||o.vars.lazy&&!o._duration))return o._time=o._totalTime=l,o._rawPrevTime=c,I.push(o),void(o._lazy=[t,e]);o._time&&!n?o.ratio=o._ease.getRatio(o._time/h):n&&o._ease._calcEnd&&(o.ratio=o._ease.getRatio(0===o._time?0:1))}!1!==o._lazy&&(o._lazy=!1),o._active||!o._paused&&o._time!==l&&t>=0&&(o._active=!0),0===l&&(o._startAt&&(t>=0?o._startAt.render(t,!0,i):s||(s="_dummyGS")),o.vars.onStart&&(0===o._time&&0!==h||e||o._callback("onStart"))),r=o._firstPT;while(r)r.f?r.t[r.p](r.c*o.ratio+r.s):r.t[r.p]=r.c*o.ratio+r.s,r=r._next;o._onUpdate&&(t<0&&o._startAt&&-1e-4!==t&&o._startAt.render(t,!0,i),e||(o._time!==l||n||i)&&o._callback("onUpdate")),s&&(o._gc&&!i||(t<0&&o._startAt&&!o._onUpdate&&-1e-4!==t&&o._startAt.render(t,!0,i),n&&(o._timeline.autoRemoveChildren&&o._enabled(!1,!1),o._active=!1),!e&&o.vars[s]&&o._callback(s),0===h&&o._rawPrevTime===u&&a!==u&&(o._rawPrevTime=0)))}},a._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!==typeof e?e||this._targets||this.target:D.selector(e)||e;var n,s,r,a,o,l,h,c,u,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,_=this._firstPT;if((p(e)||M(e))&&"number"!==typeof e[0]){n=e.length;while(--n>-1)this._kill(t,e[n],i)&&(l=!0)}else{if(this._targets){n=this._targets.length;while(--n>-1)if(e===this._targets[n]){o=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],s=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,s=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,c=t!==s&&"all"!==s&&t!==o&&("object"!==typeof t||!t._tempKill),i&&(D.onOverwrite||this.vars.onOverwrite)){for(r in h)o[r]&&(u||(u=[]),u.push(r));if((u||!t)&&!J(this,i,e,u))return!1}for(r in h)(a=o[r])&&(f&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,l=!0),a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[r]),c&&(s[r]=1);!this._firstPT&&this._initted&&_&&this._enabled(!1,!1)}}return l},a.invalidate=function(){this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-u,this.render(t,!1,!1!==this.vars.lazy)),this},a._enabled=function(t,e){if(l||o.wake(),t&&this._gc){var i,n=this._targets;if(n){i=n.length;while(--i>-1)this._siblings[i]=K(n[i],this,!0)}else this._siblings=K(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&D._onPluginEvent(t?"_onEnable":"_onDisable",this)},D.to=function(t,e,i){return new D(t,e,i)},D.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(t,e,i)},D.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new D(t,e,n)},D.delayedCall=function(t,e,i,n,s){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:s,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];var i,n,s,r;if(t="string"!==typeof t?t:D.selector(t)||t,(p(t)||M(t))&&"number"!==typeof t[0]){i=t.length,n=[];while(--i>-1)n=n.concat(D.getTweensOf(t[i],e));i=n.length;while(--i>-1){r=n[i],s=i;while(--s>-1)r===n[s]&&n.splice(i,1)}}else if(t._gsTweenID){n=K(t).concat(),i=n.length;while(--i>-1)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1)}return n||[]},D.killTweensOf=D.killDelayedCallsTo=function(t,e,i){"object"===typeof e&&(i=e,e=!1);var n=D.getTweensOf(t,e),s=n.length;while(--s>-1)n[s]._kill(i,t)};var it=v("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype}),!0);if(a=it.prototype,it.version="1.19.0",it.API=2,a._firstPT=null,a._addTween=L,a.setRatio=Y,a._kill=function(t){var e,i=this._overwriteProps,n=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else{e=i.length;while(--e>-1)null!=t[i[e]]&&i.splice(e,1)}while(n)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._next;return!1},a._mod=a._roundProps=function(t){var e,i=this._firstPT;while(i)e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")],e&&"function"===typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},D._onPluginEvent=function(t,e){var i,n,s,r,a,o=e._firstPT;if("_onInitAllProps"===t){while(o){a=o._next,n=s;while(n&&n.pr>o.pr)n=n._next;(o._prev=n?n._prev:r)?o._prev._next=o:s=o,(o._next=n)?n._prev=o:r=o,o=a}o=e._firstPT=s}while(o)o.pg&&"function"===typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},it.activate=function(t){var e=t.length;while(--e>-1)t[e].API===it.API&&(j[(new t[e])._propName]=t[e]);return!0},g.plugin=function(t){if(!t||!t.propName||!t.init||!t.API)throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,s=t.overwriteProps,r={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=v("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){it.call(this,i,n),this._overwriteProps=s||[]}),!0===t.global),o=a.prototype=new it(i);for(e in o.constructor=a,a.API=t.API,r)"function"===typeof t[e]&&(o[r[e]]=t[e]);return a.version=t.version,it.activate([a]),a},s=t._gsQueue,s){for(r=0;r<s.length;r++)s[r]();for(a in d)d[a].func||t.console.log("GSAP encountered missing dependency: "+a)}return l=!1,D}(s),a=s.GreenSockGlobals,o=a.com.greensock,l=o.core.SimpleTimeline,h=o.core.Animation,c=a.Ease,u=(a.Linear,a.Power1,a.Power2,a.Power3,a.Power4,a.TweenPlugin);o.events.EventDispatcher}).call(this,i("dd40")(t),i("c8ba"))},"30a2":function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Winwheel}));var gsap__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__("cffa");class Winwheel{constructor(t,e){var i={canvasId:"canvas",centerX:null,centerY:null,outerRadius:null,innerRadius:0,numSegments:1,drawMode:"code",rotationAngle:0,textFontFamily:"sans-serif",textFontSize:13,textFontWeight:"bold",textOrientation:"horizontal",textAlignment:"center",textDirection:"normal",textMargin:null,textFillStyle:"black",textStrokeStyle:null,textLineWidth:1,fillStyle:"silver",strokeStyle:null,lineWidth:1,clearTheCanvas:!0,imageOverlay:!1,drawText:!0,pointerAngle:0,wheelImage:null,imageDirection:"N"};for(var n in i)null!=t&&"undefined"!==typeof t[n]?this[n]=t[n]:this[n]=i[n];if(null!=t)for(var n in t)"undefined"===typeof this[n]&&(this[n]=t[n]);this.canvasId?(this.canvas=document.getElementById(this.canvasId),this.canvas?(null==this.centerX&&(this.centerX=this.canvas.width/2),null==this.centerY&&(this.centerY=this.canvas.height/2),null==this.outerRadius&&(this.canvas.width<this.canvas.height?this.outerRadius=this.canvas.width/2-this.lineWidth:this.outerRadius=this.canvas.height/2-this.lineWidth),this.ctx=this.canvas.getContext("2d")):(this.canvas=null,this.ctx=null)):(this.cavnas=null,this.ctx=null),this.segments=new Array(null);for(var s=1;s<=this.numSegments;s++)null!=t&&t["segments"]&&"undefined"!==typeof t["segments"][s-1]?this.segments[s]=new Segment(t["segments"][s-1]):this.segments[s]=new Segment;if(this.updateSegmentSizes(),null===this.textMargin&&(this.textMargin=this.textFontSize/1.7),null!=t&&t["animation"]&&"undefined"!==typeof t["animation"]?this.animation=new Animation(t["animation"]):this.animation=new Animation,null!=t&&t["pins"]&&"undefined"!==typeof t["pins"]&&(this.pins=new Pin(t["pins"])),"image"==this.drawMode||"segmentImage"==this.drawMode?("undefined"===typeof t["fillStyle"]&&(this.fillStyle=null),"undefined"===typeof t["strokeStyle"]&&(this.strokeStyle="red"),"undefined"===typeof t["drawText"]&&(this.drawText=!1),"undefined"===typeof t["lineWidth"]&&(this.lineWidth=1),"undefined"===typeof e&&(e=!1)):"undefined"===typeof e&&(e=!0),null!=t&&t["pointerGuide"]&&"undefined"!==typeof t["pointerGuide"]?this.pointerGuide=new PointerGuide(t["pointerGuide"]):this.pointerGuide=new PointerGuide,1==e)this.draw(this.clearTheCanvas);else if("segmentImage"==this.drawMode){winwheelToDrawDuringAnimation=this,winhweelAlreadyDrawn=!1;for(var r=1;r<=this.numSegments;r++)null!==this.segments[r].image&&(this.segments[r].imgData=new Image,this.segments[r].imgData.onload=winwheelLoadedImage,this.segments[r].imgData.src=this.segments[r].image)}}updateSegmentSizes(){if(this.segments){for(var t=0,e=0,i=1;i<=this.numSegments;i++)null!==this.segments[i].size&&(t+=this.segments[i].size,e++);var n=360-t,s=0;n>0&&(s=n/(this.numSegments-e));var r=0;for(i=1;i<=this.numSegments;i++)this.segments[i].startAngle=r,this.segments[i].size?r+=this.segments[i].size:r+=s,this.segments[i].endAngle=r}}clearCanvas(){this.ctx&&this.ctx.clearRect(0,0,this.canvas.width,this.canvas.height)}draw(t){this.ctx&&("undefined"!==typeof t?1==t&&this.clearCanvas():this.clearCanvas(),"image"==this.drawMode?(this.drawWheelImage(),1==this.drawText&&this.drawSegmentText(),1==this.imageOverlay&&this.drawSegments()):"segmentImage"==this.drawMode?(this.drawSegmentImages(),1==this.drawText&&this.drawSegmentText(),1==this.imageOverlay&&this.drawSegments()):(this.drawSegments(),1==this.drawText&&this.drawSegmentText()),"undefined"!==typeof this.pins&&1==this.pins.visible&&this.drawPins(),1==this.pointerGuide.display&&this.drawPointerGuide())}drawPins(){if(this.pins&&this.pins.number)for(var t=360/this.pins.number,e=1;e<=this.pins.number;e++)this.ctx.save(),this.ctx.strokeStyle=this.pins.strokeStyle,this.ctx.lineWidth=this.pins.lineWidth,this.ctx.fillStyle=this.pins.fillStyle,this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(this.degToRad(e*t+this.rotationAngle)),this.ctx.translate(-this.centerX,-this.centerY),this.ctx.beginPath(),this.ctx.arc(this.centerX,this.centerY-this.outerRadius+this.pins.outerRadius+this.pins.margin,this.pins.outerRadius,0,2*Math.PI),this.pins.fillStyle&&this.ctx.fill(),this.pins.strokeStyle&&this.ctx.stroke(),this.ctx.restore()}drawPointerGuide(){this.ctx&&(this.ctx.save(),this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(this.degToRad(this.pointerAngle)),this.ctx.translate(-this.centerX,-this.centerY),this.ctx.strokeStyle=this.pointerGuide.strokeStyle,this.ctx.lineWidth=this.pointerGuide.lineWidth,this.ctx.beginPath(),this.ctx.moveTo(this.centerX,this.centerY),this.ctx.lineTo(this.centerX,-this.outerRadius/4),this.ctx.stroke(),this.ctx.restore())}drawWheelImage(){if(null!=this.wheelImage){var t=this.centerX-this.wheelImage.height/2,e=this.centerY-this.wheelImage.width/2;this.ctx.save(),this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(this.degToRad(this.rotationAngle)),this.ctx.translate(-this.centerX,-this.centerY),this.ctx.drawImage(this.wheelImage,t,e),this.ctx.restore()}}drawSegmentImages(){if(this.ctx&&this.segments)for(var t=1;t<=this.numSegments;t++){var e=this.segments[t];if(e.imgData.height){var i=0,n=0,s=0,r="";r=null!==e.imageDirection?e.imageDirection:this.imageDirection,"S"==r?(i=this.centerX-e.imgData.width/2,n=this.centerY,s=e.startAngle+180+(e.endAngle-e.startAngle)/2):"E"==r?(i=this.centerX,n=this.centerY-e.imgData.height/2,s=e.startAngle+270+(e.endAngle-e.startAngle)/2):"W"==r?(i=this.centerX-e.imgData.width,n=this.centerY-e.imgData.height/2,s=e.startAngle+90+(e.endAngle-e.startAngle)/2):(i=this.centerX-e.imgData.width/2,n=this.centerY-e.imgData.height,s=e.startAngle+(e.endAngle-e.startAngle)/2),this.ctx.save(),this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(this.degToRad(this.rotationAngle+s)),this.ctx.translate(-this.centerX,-this.centerY),this.ctx.drawImage(e.imgData,i,n),this.ctx.restore()}else console.log("Segment "+t+" imgData is not loaded")}}drawSegments(){if(this.ctx&&this.segments)for(var t=1;t<=this.numSegments;t++){var e,i,n,s=this.segments[t];e=null!==s.fillStyle?s.fillStyle:this.fillStyle,this.ctx.fillStyle=e,i=null!==s.lineWidth?s.lineWidth:this.lineWidth,this.ctx.lineWidth=i,n=null!==s.strokeStyle?s.strokeStyle:this.strokeStyle,this.ctx.strokeStyle=n,(n||e)&&(this.ctx.beginPath(),this.innerRadius||this.ctx.moveTo(this.centerX,this.centerY),this.ctx.arc(this.centerX,this.centerY,this.outerRadius,this.degToRad(s.startAngle+this.rotationAngle-90),this.degToRad(s.endAngle+this.rotationAngle-90),!1),this.innerRadius?this.ctx.arc(this.centerX,this.centerY,this.innerRadius,this.degToRad(s.endAngle+this.rotationAngle-90),this.degToRad(s.startAngle+this.rotationAngle-90),!0):this.ctx.lineTo(this.centerX,this.centerY),e&&this.ctx.fill(),n&&this.ctx.stroke())}}drawSegmentText(){if(this.ctx)for(var t,e,i,n,s,r,a,o,l,h,c,u=1;u<=this.numSegments;u++){this.ctx.save();var f=this.segments[u];if(f.text){t=null!==f.textFontFamily?f.textFontFamily:this.textFontFamily,e=null!==f.textFontSize?f.textFontSize:this.textFontSize,i=null!==f.textFontWeight?f.textFontWeight:this.textFontWeight,n=null!==f.textOrientation?f.textOrientation:this.textOrientation,s=null!==f.textAlignment?f.textAlignment:this.textAlignment,r=null!==f.textDirection?f.textDirection:this.textDirection,a=null!==f.textMargin?f.textMargin:this.textMargin,o=null!==f.textFillStyle?f.textFillStyle:this.textFillStyle,l=null!==f.textStrokeStyle?f.textStrokeStyle:this.textStrokeStyle,h=null!==f.textLineWidth?f.textLineWidth:this.textLineWidth,c="",null!=i&&(c+=i+" "),null!=e&&(c+=e+"px "),null!=t&&(c+=t),this.ctx.font=c,this.ctx.fillStyle=o,this.ctx.strokeStyle=l,this.ctx.lineWidth=h;var _=f.text.split("\n"),p=0-e*(_.length/2)+e/2;"curved"!=n||"inner"!=s&&"outer"!=s||(p=0);for(var d=0;d<_.length;d++){if("reversed"==r){if("horizontal"==n){this.ctx.textAlign="inner"==s?"right":"outer"==s?"left":"center",this.ctx.textBaseline="middle";var m=this.degToRad(f.endAngle-(f.endAngle-f.startAngle)/2+this.rotationAngle-90-180);this.ctx.save(),this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(m),this.ctx.translate(-this.centerX,-this.centerY),"inner"==s?(o&&this.ctx.fillText(_[d],this.centerX-this.innerRadius-a,this.centerY+p),l&&this.ctx.strokeText(_[d],this.centerX-this.innerRadius-a,this.centerY+p)):"outer"==s?(o&&this.ctx.fillText(_[d],this.centerX-this.outerRadius+a,this.centerY+p),l&&this.ctx.strokeText(_[d],this.centerX-this.outerRadius+a,this.centerY+p)):(o&&this.ctx.fillText(_[d],this.centerX-this.innerRadius-(this.outerRadius-this.innerRadius)/2-a,this.centerY+p),l&&this.ctx.strokeText(_[d],this.centerX-this.innerRadius-(this.outerRadius-this.innerRadius)/2-a,this.centerY+p)),this.ctx.restore()}else if("vertical"==n){this.ctx.textAlign="center",this.ctx.textBaseline="inner"==s?"top":"outer"==s?"bottom":"middle";m=f.endAngle-(f.endAngle-f.startAngle)/2-180;if(m+=this.rotationAngle,this.ctx.save(),this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(this.degToRad(m)),this.ctx.translate(-this.centerX,-this.centerY),"outer"==s)var g=this.centerY+this.outerRadius-a;else if("inner"==s)g=this.centerY+this.innerRadius+a;var v=e-e/9;if("outer"==s)for(var y=_[d].length-1;y>=0;y--)character=_[d].charAt(y),o&&this.ctx.fillText(character,this.centerX+p,g),l&&this.ctx.strokeText(character,this.centerX+p,g),g-=v;else if("inner"==s)for(y=0;y<_[d].length;y++)character=_[d].charAt(y),o&&this.ctx.fillText(character,this.centerX+p,g),l&&this.ctx.strokeText(character,this.centerX+p,g),g+=v;else if("center"==s){var x=0;_[d].length>1&&(x=v*(_[d].length-1)/2);for(g=this.centerY+this.innerRadius+(this.outerRadius-this.innerRadius)/2+x+a,y=_[d].length-1;y>=0;y--)character=_[d].charAt(y),o&&this.ctx.fillText(character,this.centerX+p,g),l&&this.ctx.strokeText(character,this.centerX+p,g),g-=v}this.ctx.restore()}else if("curved"==n){var w=0;"inner"==s?(w=this.innerRadius+a,this.ctx.textBaseline="top"):"outer"==s?(w=this.outerRadius-a,this.ctx.textBaseline="bottom",w-=e*(_.length-1)):"center"==s&&(w=this.innerRadius+a+(this.outerRadius-this.innerRadius)/2,this.ctx.textBaseline="middle");var b=0,T=0;for(_[d].length>1?(this.ctx.textAlign="left",b=e/10*4,radiusPercent=100/w,b*=radiusPercent,totalArc=b*_[d].length,T=f.startAngle+((f.endAngle-f.startAngle)/2-totalArc/2)):(T=f.startAngle+(f.endAngle-f.startAngle)/2,this.ctx.textAlign="center"),T+=this.rotationAngle,T-=180,y=_[d].length;y>=0;y--)this.ctx.save(),character=_[d].charAt(y),this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(this.degToRad(T)),this.ctx.translate(-this.centerX,-this.centerY),l&&this.ctx.strokeText(character,this.centerX,this.centerY+w+p),o&&this.ctx.fillText(character,this.centerX,this.centerY+w+p),T+=b,this.ctx.restore()}}else if("horizontal"==n){this.ctx.textAlign="inner"==s?"left":"outer"==s?"right":"center",this.ctx.textBaseline="middle";m=this.degToRad(f.endAngle-(f.endAngle-f.startAngle)/2+this.rotationAngle-90);this.ctx.save(),this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(m),this.ctx.translate(-this.centerX,-this.centerY),"inner"==s?(o&&this.ctx.fillText(_[d],this.centerX+this.innerRadius+a,this.centerY+p),l&&this.ctx.strokeText(_[d],this.centerX+this.innerRadius+a,this.centerY+p)):"outer"==s?(o&&this.ctx.fillText(_[d],this.centerX+this.outerRadius-a,this.centerY+p),l&&this.ctx.strokeText(_[d],this.centerX+this.outerRadius-a,this.centerY+p)):(o&&this.ctx.fillText(_[d],this.centerX+this.innerRadius+(this.outerRadius-this.innerRadius)/2+a,this.centerY+p),l&&this.ctx.strokeText(_[d],this.centerX+this.innerRadius+(this.outerRadius-this.innerRadius)/2+a,this.centerY+p)),this.ctx.restore()}else if("vertical"==n){this.ctx.textAlign="center",this.ctx.textBaseline="inner"==s?"bottom":"outer"==s?"top":"middle";m=f.endAngle-(f.endAngle-f.startAngle)/2;if(m+=this.rotationAngle,this.ctx.save(),this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(this.degToRad(m)),this.ctx.translate(-this.centerX,-this.centerY),"outer"==s)g=this.centerY-this.outerRadius+a;else if("inner"==s)g=this.centerY-this.innerRadius-a;v=e-e/9;if("outer"==s)for(y=0;y<_[d].length;y++)character=_[d].charAt(y),o&&this.ctx.fillText(character,this.centerX+p,g),l&&this.ctx.strokeText(character,this.centerX+p,g),g+=v;else if("inner"==s)for(y=_[d].length-1;y>=0;y--)character=_[d].charAt(y),o&&this.ctx.fillText(character,this.centerX+p,g),l&&this.ctx.strokeText(character,this.centerX+p,g),g-=v;else if("center"==s){x=0;_[d].length>1&&(x=v*(_[d].length-1)/2);for(g=this.centerY-this.innerRadius-(this.outerRadius-this.innerRadius)/2-x-a,y=0;y<_[d].length;y++)character=_[d].charAt(y),o&&this.ctx.fillText(character,this.centerX+p,g),l&&this.ctx.strokeText(character,this.centerX+p,g),g+=v}this.ctx.restore()}else if("curved"==n){w=0;"inner"==s?(w=this.innerRadius+a,this.ctx.textBaseline="bottom",w+=e*(_.length-1)):"outer"==s?(w=this.outerRadius-a,this.ctx.textBaseline="top"):"center"==s&&(w=this.innerRadius+a+(this.outerRadius-this.innerRadius)/2,this.ctx.textBaseline="middle");b=0,T=0;for(_[d].length>1?(this.ctx.textAlign="left",b=e/10*4,radiusPercent=100/w,b*=radiusPercent,totalArc=b*_[d].length,T=f.startAngle+((f.endAngle-f.startAngle)/2-totalArc/2)):(T=f.startAngle+(f.endAngle-f.startAngle)/2,this.ctx.textAlign="center"),T+=this.rotationAngle,y=0;y<_[d].length;y++)this.ctx.save(),character=_[d].charAt(y),this.ctx.translate(this.centerX,this.centerY),this.ctx.rotate(this.degToRad(T)),this.ctx.translate(-this.centerX,-this.centerY),l&&this.ctx.strokeText(character,this.centerX,this.centerY-w+p),o&&this.ctx.fillText(character,this.centerX,this.centerY-w+p),T+=b,this.ctx.restore()}p+=e}}this.ctx.restore()}}degToRad(t){return.017453292519943295*t}setCenter(t,e){this.centerX=t,this.centerY=e}addSegment(t,e){var i;if(newSegment=new Segment(t),this.numSegments++,"undefined"!==typeof e){for(var n=this.numSegments;n>e;n--)this.segments[n]=this.segments[n-1];this.segments[e]=newSegment,i=e}else this.segments[this.numSegments]=newSegment,i=this.numSegments;return this.updateSegmentSizes(),this.segments[i]}setCanvasId(t){t?(this.canvasId=t,this.canvas=document.getElementById(this.canvasId),this.canvas&&(this.ctx=this.canvas.getContext("2d"))):(this.canvasId=null,this.ctx=null,this.canvas=null)}deleteSegment(t){if(this.numSegments>1){if("undefined"!==typeof t)for(var e=t;e<this.numSegments;e++)this.segments[e]=this.segments[e+1];this.segments[this.numSegments]=void 0,this.numSegments--,this.updateSegmentSizes()}}windowToCanvas(t,e){var i=this.canvas.getBoundingClientRect();return{x:Math.floor(t-i.left*(this.canvas.width/i.width)),y:Math.floor(e-i.top*(this.canvas.height/i.height))}}getSegmentAt(t,e){var i=null,n=this.getSegmentNumberAt(t,e);return null!==n&&(i=this.segments[n]),i}getSegmentNumberAt(t,e){var i,n,s,r,a,o=this.windowToCanvas(t,e);o.x>this.centerX?(s=o.x-this.centerX,n="R"):(s=this.centerX-o.x,n="L"),o.y>this.centerY?(r=o.y-this.centerY,i="B"):(r=this.centerY-o.y,i="T");var l=r/s,h=180*Math.atan(l)/Math.PI,c=0;if(a=Math.sqrt(r*r+s*s),"T"==i&&"R"==n?c=Math.round(90-h):"B"==i&&"R"==n?c=Math.round(h+90):"B"==i&&"L"==n?c=Math.round(90-h+180):"T"==i&&"L"==n&&(c=Math.round(h+270)),0!=this.rotationAngle){var u=this.getRotationPosition();c-=u,c<0&&(c=360-Math.abs(c))}var f=null;for(t=1;t<=this.numSegments;t++)if(c>=this.segments[t].startAngle&&c<=this.segments[t].endAngle&&a>=this.innerRadius&&a<=this.outerRadius){f=t;break}return f}getIndicatedSegment(){var t=this.getIndicatedSegmentNumber();return this.segments[t]}getIndicatedSegmentNumber(){var t=0,e=this.getRotationPosition(),i=Math.floor(this.pointerAngle-e);i<0&&(i=360-Math.abs(i));for(var n=1;n<this.segments.length;n++)if(i>=this.segments[n]["startAngle"]&&i<=this.segments[n]["endAngle"]){t=n;break}return t}getCurrentPinNumber(){var t=0;if(this.pins){var e=this.getRotationPosition(),i=Math.floor(this.pointerAngle-e);i<0&&(i=360-Math.abs(i));for(var n=360/this.pins.number,s=0,r=0;r<this.pins.number;r++){if(i>=s&&i<=s+n){t=r;break}s+=n}"clockwise"==this.animation.direction&&(t++,t>this.pins.number&&(t=0))}return t}getRotationPosition(){var t=this.rotationAngle;if(t>=0){if(t>360){var e=Math.floor(t/360);t-=360*e}}else{if(t<-360){e=Math.ceil(t/360);t-=360*e}t=360+t}return t}startAnimation(){if(this.animation){this.computeAnimation(),winwheelToDrawDuringAnimation=this;var t=new Array(null);t[this.animation.propertyName]=this.animation.propertyValue,t["yoyo"]=this.animation.yoyo,t["repeat"]=this.animation.repeat,t["ease"]=this.animation.easing,t["onUpdate"]=winwheelAnimationLoop,t["onComplete"]=winwheelStopAnimation,this.tween=gsap__WEBPACK_IMPORTED_MODULE_0__["a"].to(this,this.animation.duration,t)}}stopAnimation(t){winwheelToDrawDuringAnimation&&(winwheelToDrawDuringAnimation.tween.kill(),winwheelStopAnimation(t)),winwheelToDrawDuringAnimation=this}pauseAnimation(){this.tween&&this.tween.pause()}resumeAnimation(){this.tween&&this.tween.play()}computeAnimation(){this.animation&&("spinOngoing"==this.animation.type?(this.animation.propertyName="rotationAngle",null==this.animation.spins&&(this.animation.spins=5),null==this.animation.repeat&&(this.animation.repeat=-1),null==this.animation.easing&&(this.animation.easing="Linear.easeNone"),null==this.animation.yoyo&&(this.animation.yoyo=!1),this.animation.propertyValue=360*this.animation.spins,"anti-clockwise"==this.animation.direction&&(this.animation.propertyValue=0-this.animation.propertyValue)):"spinToStop"==this.animation.type?(this.animation.propertyName="rotationAngle",null==this.animation.spins&&(this.animation.spins=5),null==this.animation.repeat&&(this.animation.repeat=0),null==this.animation.easing&&(this.animation.easing="Power3.easeOut"),null==this.animation.stopAngle?this.animation._stopAngle=Math.floor(359*Math.random()):this.animation._stopAngle=360-this.animation.stopAngle+this.pointerAngle,null==this.animation.yoyo&&(this.animation.yoyo=!1),this.animation.propertyValue=360*this.animation.spins,"anti-clockwise"==this.animation.direction?(this.animation.propertyValue=0-this.animation.propertyValue,this.animation.propertyValue-=360-this.animation._stopAngle):this.animation.propertyValue+=this.animation._stopAngle):"spinAndBack"==this.animation.type?(this.animation.propertyName="rotationAngle",null==this.animation.spins&&(this.animation.spins=5),null==this.animation.repeat&&(this.animation.repeat=1),null==this.animation.easing&&(this.animation.easing="Power2.easeInOut"),null==this.animation.yoyo&&(this.animation.yoyo=!0),null==this.animation.stopAngle?this.animation._stopAngle=0:this.animation._stopAngle=360-this.animation.stopAngle,this.animation.propertyValue=360*this.animation.spins,"anti-clockwise"==this.animation.direction?(this.animation.propertyValue=0-this.animation.propertyValue,this.animation.propertyValue-=360-this.animation._stopAngle):this.animation.propertyValue+=this.animation._stopAngle):this.animation.type)}getRandomForSegment(t){var e=0;if(t)if("undefined"!==typeof this.segments[t]){var i=this.segments[t].startAngle,n=this.segments[t].endAngle,s=n-i-2;s>0?e=i+1+Math.floor(Math.random()*s):console.log("Segment size is too small to safely get random angle inside it")}else console.log("Segment "+t+" undefined");else console.log("Segment number not specified");return e}}class Pin{constructor(t){var e={visible:!0,number:36,outerRadius:3,fillStyle:"grey",strokeStyle:"black",lineWidth:1,margin:3};for(var i in e)null!=t&&"undefined"!==typeof t[i]?this[i]=t[i]:this[i]=e[i];if(null!=t)for(var i in t)"undefined"===typeof this[i]&&(this[i]=t[i])}}class Animation{constructor(t){var e={type:"spinOngoing",direction:"clockwise",propertyName:null,propertyValue:null,duration:10,yoyo:!1,repeat:null,easing:null,stopAngle:null,spins:null,clearTheCanvas:null,callbackFinished:null,callbackBefore:null,callbackAfter:null,callbackSound:null,soundTrigger:"segment"};for(var i in e)null!=t&&"undefined"!==typeof t[i]?this[i]=t[i]:this[i]=e[i];if(null!=t)for(var i in t)"undefined"===typeof this[i]&&(this[i]=t[i])}}class Segment{constructor(t){var e={size:null,text:"",fillStyle:null,strokeStyle:null,lineWidth:null,textFontFamily:null,textFontSize:null,textFontWeight:null,textOrientation:null,textAlignment:null,textDirection:null,textMargin:null,textFillStyle:null,textStrokeStyle:null,textLineWidth:null,image:null,imageDirection:null,imgData:null};for(var i in e)null!=t&&"undefined"!==typeof t[i]?this[i]=t[i]:this[i]=e[i];if(null!=t)for(var i in t)"undefined"===typeof this[i]&&(this[i]=t[i]);this.startAngle=0,this.endAngle=0}changeImage(t,e){this.image=t,this.imgData=null,e&&(this.imageDirection=e),winhweelAlreadyDrawn=!1,this.imgData=new Image,this.imgData.onload=winwheelLoadedImage,this.imgData.src=this.image}}class PointerGuide{constructor(t){var e={display:!1,strokeStyle:"red",lineWidth:3};for(var i in e)null!=t&&"undefined"!==typeof t[i]?this[i]=t[i]:this[i]=e[i]}}function winwheelPercentToDegrees(t){var e=0;if(t>0&&t<=100){var i=t/100;e=360*i}return e}function winwheelAnimationLoop(){if(winwheelToDrawDuringAnimation){0!=winwheelToDrawDuringAnimation.animation.clearTheCanvas&&winwheelToDrawDuringAnimation.ctx.clearRect(0,0,winwheelToDrawDuringAnimation.canvas.width,winwheelToDrawDuringAnimation.canvas.height);var callbackBefore=winwheelToDrawDuringAnimation.animation.callbackBefore,callbackAfter=winwheelToDrawDuringAnimation.animation.callbackAfter;null!=callbackBefore&&("function"===typeof callbackBefore?callbackBefore():eval(callbackBefore)),winwheelToDrawDuringAnimation.draw(!1),null!=callbackAfter&&("function"===typeof callbackAfter?callbackAfter():eval(callbackAfter)),winwheelToDrawDuringAnimation.animation.callbackSound&&winwheelTriggerSound()}}function winwheelTriggerSound(){0==winwheelToDrawDuringAnimation.hasOwnProperty("_lastSoundTriggerNumber")&&(winwheelToDrawDuringAnimation._lastSoundTriggerNumber=0);var callbackSound=winwheelToDrawDuringAnimation.animation.callbackSound,currentTriggerNumber=0;currentTriggerNumber="pin"==winwheelToDrawDuringAnimation.animation.soundTrigger?winwheelToDrawDuringAnimation.getCurrentPinNumber():winwheelToDrawDuringAnimation.getIndicatedSegmentNumber(),currentTriggerNumber!=winwheelToDrawDuringAnimation._lastSoundTriggerNumber&&("function"===typeof callbackSound?callbackSound():eval(callbackSound),winwheelToDrawDuringAnimation._lastSoundTriggerNumber=currentTriggerNumber)}var winwheelToDrawDuringAnimation=null;function winwheelStopAnimation(canCallback){if(0!=canCallback){var callback=winwheelToDrawDuringAnimation.animation.callbackFinished;null!=callback&&("function"===typeof callback?callback(winwheelToDrawDuringAnimation.getIndicatedSegment()):eval(callback))}}var winhweelAlreadyDrawn=!1;function winwheelLoadedImage(){if(0==winhweelAlreadyDrawn){for(var t=0,e=1;e<=winwheelToDrawDuringAnimation.numSegments;e++)null!=winwheelToDrawDuringAnimation.segments[e].imgData&&winwheelToDrawDuringAnimation.segments[e].imgData.height&&t++;t==winwheelToDrawDuringAnimation.numSegments&&(winhweelAlreadyDrawn=!0,winwheelToDrawDuringAnimation.draw())}}},"33ed":function(t,e,i){"use strict";i("a48f")},"347a":function(t,e,i){"use strict";i("b9fd")},"40df":function(t,e,i){"use strict";i("f138")},4690:function(t,e,i){"use strict";i("7b52")},"519e":function(t,e,i){"use strict";i("0537")},"6e3f":function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t._self._c;return e("div",[t.mostrar?e("div",{staticClass:"pref"},[e("Preferencias")],1):t._e(),t.mostrar?t._e():e("div",[e("NavBarV"),e("v-main",{staticStyle:{"background-color":"#ffffff !important"},attrs:{app:""}},[e("router-view")],1),e("img",{staticClass:"btnflo",attrs:{src:i("121a"),"data-toggle":"modal","data-target":"#ruleta",alt:""}}),e("div",{staticClass:"modal fade",attrs:{id:"ruleta",tabindex:"-1","aria-labelledby":"staticBackdropLabel","aria-hidden":"true"}},[e("div",{staticClass:"modal-dialog modal-dialog-centered modal-xl"},[e("div",{staticClass:"modal-content"},[e("div",{staticClass:"modal-body"},[e("VueWinWheel")],1)])])])],1)])},s=[],r=function(){var t=this,e=t._self._c;return e("div",[e("v-navigation-drawer",{staticClass:"color-drawer",attrs:{app:"",permanent:!t.$vuetify.breakpoint.xs&&!t.$vuetify.breakpoint.sm,"expand-on-hover":!t.$vuetify.breakpoint.xs&&!t.$vuetify.breakpoint.sm,"mini-variant":t.mini},scopedSlots:t._u([{key:"append",fn:function(){return[e("div",[e("v-list",{attrs:{nav:"",dense:""}},[e("v-list-item",{staticClass:"text-decoration-none list-item",staticStyle:{color:"#131b1e","font-size":"18px"},attrs:{link:"",to:{name:"preguntas-frecuentes"}}},[e("v-list-item-icon",{staticStyle:{"margin-right":"5px"}},[e("v-icon",{staticStyle:{color:"#ffffff"}},[t._v("mdi-help")])],1),e("v-list-item-title",{staticStyle:{color:"#ffffff","font-size":"14px"}},[t._v("Preguntas frecuentes")])],1)],1)],1)]},proxy:!0}]),model:{value:t.drawer,callback:function(e){t.drawer=e},expression:"drawer"}},[e("v-list",[e("v-list-item",{staticClass:"px-2",attrs:{link:"",to:{name:"perfil"}}},[e("v-list-item-avatar",{staticClass:"mr-1"},[e("v-img",{attrs:{src:this.img}})],1),e("v-list-item",[e("v-list-item-content",[e("v-list-item-title",{staticClass:"user-name"},[t._v(" "+t._s(t.name)+" ")]),e("v-list-item-subtitle",{staticClass:"user-email"},[t._v(" "+t._s(t.email)+" ")])],1)],1)],1)],1),e("v-list",{attrs:{nav:"",dense:""}},[t.showNav?[t._l(t.listNavBar,(function(i,n){return["Distributor"!==t.role||"Mis cursos"!==i.nombre?e("v-list-item",{key:n,staticStyle:{color:"#ffffff","margin-bottom":"25px !important"},attrs:{link:"",to:{name:i.path}}},[e("v-list-item-icon",{staticClass:"mr-3"},[e("v-icon",{class:{"active-icon":t.$route.name===i.path,"inactive-icon":t.$route.name!==i.path}},[t._v(" "+t._s("mdi-"+i.icon)+" ")])],1),e("v-list-item-title",{class:{"active-text":t.$route.name===i.path,"inactive-text":t.$route.name!==i.path}},[t._v(" "+t._s(i.nombre)+" ")])],1):t._e()]}))]:[e("div",{staticClass:"myb-9 box animation"}),t._l(t.listNavBar.length-1,(function(t){return e("div",{key:t},[e("div",{staticClass:"my-9 box animation"})])}))]],2)],1),e("NavBar",{on:{click:t.changeDrawer}})],1)},a=[],o=i("2f62"),l=function(){var t=this,e=t._self._c;return e("div",{staticStyle:{"margin-bottom":"0px"}},[e("v-app-bar",{staticClass:"custom-app-bar",attrs:{"scroll-behavior":"hide"}},[t.$vuetify.breakpoint.xs||t.$vuetify.breakpoint.sm?e("v-app-bar-nav-icon",{attrs:{color:"#4ff70d"},on:{click:t.changeDrawer}}):t._e(),e("v-spacer"),!t.$vuetify.breakpoint.xs&&t.points>=0?e("v-chip",{staticClass:"mx-2",attrs:{label:"",outlined:"","text-color":"#1ae800",color:"#1ae800"}},[e("v-icon",{attrs:{left:"",color:"#1ae800"}},[t._v(" mdi-trophy-award ")]),t._v(" "+t._s(t.points)+" Pts ")],1):t._e(),t.courseSelected?e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:n}){return[e("v-btn",t._g(t._b({staticStyle:{position:"relative"},attrs:{icon:""}},"v-btn",n,!1),i),[e("v-progress-circular",{staticClass:"custom-progress",attrs:{rotate:-90,size:45,width:4,value:t.currentCourseProgress,color:"#1ae800"}},[e("div",{staticStyle:{position:"absolute",top:"50%",left:"50%",transform:"translate(-50%, -50%)",width:"100%","text-align":"center"}},[e("div",{staticStyle:{position:"absolute",top:"-5px",width:"100%","text-align":"center","font-size":"11px",color:"#1ae800"}},[t._v(" "+t._s(t.currentCourseProgress)+"% ")]),e("v-icon",{staticStyle:{position:"relative",top:"7px"},attrs:{size:"20"},on:{click:function(e){t.showProgressModal=!0}}},[t._v("mdi-trophy")])],1)])],1)]}}],null,!1,4141015742)},[100==t.currentCourseProgress?e("span",[t._v("Completado")]):e("span",[t._v(t._s(t.currentCourseProgress)+"% de 100%")])]):t._e(),e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[t.examDaily?e("v-btn",t._g({attrs:{icon:"","data-toggle":"modal","data-target":"#question"}},i),[e("v-icon",{attrs:{size:"20",color:"#1ae800"}},[t._v("mdi-help")])],1):t._e()]}}])},[e("span",[t._v(" Gana puntos contestando preguntas")])]),t.showCertificateIcon?[t.stateCertificate?e("v-tooltip",{attrs:{bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:i}){return[t.certificateBought?e("v-btn",t._g(t._b({attrs:{"x-large":"",icon:""}},"v-btn",t.attrs,!1),i),[e("v-icon",{staticStyle:{color:"#1ae800"},attrs:{size:"20"}},[t._v("mdi-school")])],1):e("v-btn",t._g(t._b({attrs:{"x-large":"",icon:""},on:{click:function(e){return t.buy()}}},"v-btn",t.attrs,!1),i),[e("v-icon",{staticStyle:{color:"#1ae800"},attrs:{size:"20"}},[t._v("mdi-school")])],1)]}}],null,!1,2397882176),model:{value:t.dialogCertificate,callback:function(e){t.dialogCertificate=e},expression:"dialogCertificate"}},[t.certificateBought?e("span",[t._v("Su certificado ya fue adquirido")]):e("span",[t._v("Ya puede adquirir su certificado")])]):t._e()]:t._e(),e("v-menu",{staticStyle:{"z-index":"201"},attrs:{left:"",bottom:""},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:n}){return[e("v-btn",t._g(t._b({staticClass:"mx-1",attrs:{"x-large":"",icon:""}},"v-btn",n,!1),i),[e("v-badge",{attrs:{overlap:"",color:"#d54338",value:t.isBadgeActive,content:t.numberItems}},[e("v-icon",{staticStyle:{color:"#1ae800"},attrs:{size:"25"}},[t._v(" mdi-bell ")])],1)],1)]}}])},[e("v-list",{staticClass:"scroll",attrs:{"three-line":"","max-width":"400px"}},[e("v-subheader",{staticStyle:{"font-size":"1.1rem","font-weight":"600"}},[t._v("Notificaciones")]),e("v-divider",{staticClass:"my-1"}),0!==t.items.length||t.isLoading?t._e():e("v-card-title",{staticClass:"py-1"},[e("span",{staticClass:"text-center subtitle text--secondary",staticStyle:{"font-size":"1rem","font-weight":"600"}},[t._v("No existen notificaciones")])]),t.isLoading?t._e():t._l(t.items,(function(i,n){return e("v-list-item",{key:n},[e("v-list-item-avatar",{attrs:{height:"50px",width:"50px"}},[e("v-img",{attrs:{"max-height":"125",src:i.avatar}})],1),e("v-list-item-content",[e("v-list-item-title",{staticClass:"font-weight-bold",staticStyle:{color:"#4b4b4c","font-size":"0.9rem"},domProps:{innerHTML:t._s(i.title)}}),e("v-list-item-subtitle",{staticStyle:{color:"#676767","font-size":"0.8rem"},domProps:{innerHTML:t._s(i.subtitle)}}),e("v-list-item-subtitle",[e("timeago",{staticStyle:{color:"#4b4b4c","font-weight":"bold","font-size":"0.9rem"},attrs:{datetime:i.created_at,"auto-update":60}})],1)],1)],1)})),t.isLoading?[e("v-sheet",t._l(10,(function(i){return e("v-skeleton-loader",t._b({key:i,attrs:{type:"list-item-avatar"}},"v-skeleton-loader",t.attrs,!1))})),1)]:t._e(),e("v-divider",{staticClass:"my-1"}),t.items.length>0?e("v-card-text",[e("v-btn",{staticClass:"text-white",attrs:{block:"",color:"#60d950",deep:"",height:"35px"}},[t._v("Ver todo")])],1):t._e()],2)],1),e("v-row",{staticStyle:{"margin-right":"0",flex:"initial"},attrs:{align:"center"}},[t.$vuetify.breakpoint.xs?t._e():e("v-col",{staticStyle:{"max-width":"200px"}},[e("v-list-item-content",{staticClass:"text-right",staticStyle:{"padding-bottom":"15px"}},[e("v-list-item-title",{staticStyle:{"font-size":"1rem",overflow:"visible"}},[t._v(t._s(t.userName))]),e("v-list-item-subtitle",{staticStyle:{"font-size":"0.7rem",overflow:"visible"}},[t._v(t._s(t.userEmail))])],1)],1),e("v-menu",{attrs:{"offset-y":""},scopedSlots:t._u([{key:"activator",fn:function({on:i,attrs:n}){return[e("v-btn",t._g(t._b({staticClass:"mx-1",attrs:{"x-large":"",icon:""}},"v-btn",n,!1),i),[e("v-img",t._g(t._b({attrs:{src:t.profileImg,"max-width":"30","max-height":"30"}},"v-img",n,!1),i))],1)]}}])},[e("v-list",t._l(t.links,(function(i,n){return e("v-list-item",{key:n,attrs:{link:"",to:{name:i.nameRouter}},on:{click:function(e){return t.optionAction(i.action,i.nameRouter)}}},[e("v-list-item-title",[t._v(t._s(i.nombre))])],1)})),1)],1)],1)],2),e("div",{staticClass:"modal",attrs:{tabindex:"-1",role:"dialog",id:"question"}},[e("div",{staticClass:"modal-dialog",attrs:{role:"document"}},[e("div",{staticClass:"modal-content"},[t._m(0),e("div",{staticClass:"modal-body"},[e("QuestionDaily")],1)])])])],1)},h=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"modal-header"},[e("h5",{staticClass:"modal-title"},[t._v("Pregunta diaria")]),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"modal","aria-label":"Close"}},[e("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])])}],c=(i("d9e2"),i("14d9"),i("e9f5"),i("ab43"),function(){var t=this,e=t._self._c;return t.examDaily?e("div",[t.question?e("div",{staticClass:"container-fluid"},[e("div",{staticClass:"row d-flex justify-content-center my-2",attrs:{id:"tooltip-target-1"}},[e("p",[e("strong",[t._v(" "+t._s(t.data.question)+" ")])])]),t.select?t._e():e("div",{staticClass:"alert alert-warning alert-dismissible fade show",attrs:{role:"alert"}},[e("strong",[t._v("No seleccionó una respuesta")]),t._v(" seleccione una alternativa. "),t._m(0)]),e("div",{staticClass:"row d-flex justify-content-center my-2"},t._l(t.data.answer,(function(i,n){return e("div",{key:n,staticClass:"col-md-6 col-sm-12 d-flex justify-content-center"},[e("input",{directives:[{name:"model",rawName:"v-model",value:t.picked,expression:"picked"}],attrs:{type:"radio",id:i},domProps:{value:i,checked:t._q(t.picked,i)},on:{change:function(e){t.picked=i}}}),e("label",{class:[{active:t.picked===i},"text-left","answer"],staticStyle:{"font-size":"1em","text-align":"center"},attrs:{for:i}},[e("p",{staticStyle:{display:"inline","text-align":"left"}},[t._v(t._s(n+1)+")")]),t._v(" "+t._s(i))])])})),0),e("div",{staticClass:"row d-flex justify-content-center"},[e("v-btn",{staticClass:"ma-2 white--text",attrs:{color:"#1ae800"},on:{click:t.check}},[t._v(" Enviar "),e("v-icon",{attrs:{right:"",dark:""}},[t._v(" mdi-check ")])],1)],1)]):e("div",{staticClass:"container-fluid p-5"},[e("div",{staticClass:"row d-flex justify-content-center my-2"},[t.isCorrect?e("i",{staticClass:"far fa-smile-wink happy"}):t._e(),t.isCorrect?e("h1",{staticClass:"text-center g"},[t._v(" Felicidades, respuesta correcta ")]):t._e(),t.isCorrect?t._e():e("i",{staticClass:"far fa-frown sad"}),t.isCorrect?t._e():e("h1",{staticClass:"text-center"},[t._v(" Buen intento, puede intentarlo de nuevo el día siguiente ")])])])]):t._e()}),u=[function(){var t=this,e=t._self._c;return e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":"Close"}},[e("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])}],f=(i("910d"),{name:"QuestionDaily",data(){return{question:!0,isCorrect:!1,select:!0,questionId:"",data:{question:"",answer:[],correctAnswer:""},picked:""}},computed:{...Object(o["e"])("course",["examDaily"])},methods:{...Object(o["b"])("course",["sendRespDailyQuizz"]),getQuestion(){let t;this.axios.get("course/exam/daily").then(e=>{if(e.data.message)this.$store.commit("course/NO_EXAM_DAILY",!1);else{this.data.question=e.data.question,this.questionId=e.data.id;const i=e.data.correctAnswer||"";t=e.data.incorrectAnswers.concat(i),this.data.answer=t.filter(t=>""!==t).sort(()=>Math.random()-.5)}}).catch(t=>{console.error("Error fetching daily question:",t),this.$store.commit("course/NO_EXAM_DAILY",!1)})},check(){""===this.picked?this.select=!1:(this.sendResponse(this.picked),this.question=!1)},sendResponse(t){this.sendRespDailyQuizz({userAnswer:t,questionId:this.questionId}).then(t=>{t.ok?this.isCorrect=t.isCorrect:(console.error("Error:",t.error),alert("Error al enviar la respuesta. Inténtalo de nuevo."),this.question=!0)})}},created(){this.getQuestion()}}),_=f,p=(i("40df"),i("2877")),d=Object(p["a"])(_,c,u,!1,null,"7fe90402",null),m=d.exports,g={components:{QuestionDaily:m},data(){return{courseSelected:!1,attrs:{class:"pa-2"},sheet:!1,search:null,numberItems:0,isBadgeActive:!1,drawer:!1,dialogCertificate:!1,stateCertificate:!1,isLoading:!0,links:[{nombre:"Mi perfil",nameRouter:"perfil"},{nombre:"Mis preferencias",nameRouter:"option-preferences"},{nombre:"Cerrar Sesión",nameRouter:"Login",action:"closeSesion"}],items:[],certificate:null,certificateData:{data:{}},course:[],finalPrice:null,certificateBought:!1,showCertificateIcon:!1,userName:"",userEmail:"",profileImg:""}},computed:{idCourse(){return this.$route.query.course},mini:{get(){return!this.$vuetify.breakpoint.xs},set(t){return t}},...Object(o["e"])("sections",{titulo:t=>t.topSection}),...Object(o["e"])("course",["courseProgress"]),currentCourseProgress(){return this.$route.query.course&&this.courseProgress[this.$route.query.course]||0},...Object(o["e"])("course",["progressCourseSelect","courseSelect","msjCompletedClass","examDaily","points","allLessons"]),...Object(o["c"])("course",{vuexTitle:"title"}),...Object(o["e"])("userModule",["userProfile"])},methods:{submitAnswer(){this.$emit("submit-answer")},...Object(o["b"])("course",["getPoints"]),async getpoints(){await this.getPoints(localStorage.getItem("id_user")),this.showPointsExam=!0},async buy(){this.$router.push({name:"buyCertificate",params:{certificate:this.certificate.id_course,finalPrice:this.finalPrice,course:this.course}})},async calcDiscount(t){return await this.axios.get("/course/certificate-discount").then(t=>{this.certificateDisc=t.data}),t-t*(this.certificateDisc/100)},optionAction(t,e){"closeSesion"===t&&(localStorage.removeItem("access_token"),localStorage.removeItem("status_user"),localStorage.removeItem("name_user"),this.$router.push({name:e}))},onSearchCourse(){this.search&&(this.sheet=!this.sheet,this.$router.push({name:"search",query:{q:this.search}}).catch(()=>{}))},changeDrawer(){this.$emit("click",!this.drawer)},async getNotifications(){this.isLoading=!0;const t=await this.axios.get("/notifications/list"),e=t.data.map(t=>({title:t.title,subtitle:t.body,avatar:t.photo,created_at:t.created_at}));Object.keys(e).length>0&&(this.isBadgeActive=!0,this.numberItems=Object.keys(e).length),this.items=e,this.isLoading=!1},async getCertificate(t){try{if(!t&&"curso"!=this.$route.name)return void(this.stateCertificate=!1);const{data:e}=await this.axios.get("/course/certificate/check/"+t);if(e){const{data:e}=await this.axios.get("/course/certificate/"+t);this.certificateBought=1==e.is_paid,this.showCertificateIcon=!0}else this.stateCertificate=!1}catch(e){throw new Error(e)}},getUserProfileData(){this.userName=localStorage.getItem("name_user"),this.userEmail=localStorage.getItem("email_user"),this.profileImg=localStorage.getItem("photo_user")}},mounted(){this.getpoints()},created(){this.getNotifications(),this.getCertificate(this.$route.query.course),this.getUserProfileData()},watch:{idCourse(){this.getCertificate(this.$route.query.course)},courseSelect:{handler(t){this.courseSelected=t,this.$forceUpdate()},immediate:!0}},beforRouteUpdate(t,e,i){this.getCertificate(t.query.course),i()}},v=g,y=(i("33ed"),Object(p["a"])(v,l,h,!1,null,null,null)),x=y.exports,w={name:"NavBarV",components:{NavBar:x},props:{},data(){return{drawer:null,isShowDrawer:null,email:localStorage.getItem("email_user"),name:localStorage.getItem("name_user"),img:localStorage.getItem("photo_user"),showNav:!1,role:null,listNavBar:[{nombre:"Inicio",icon:"home",path:"home"},{nombre:"Mi aprendizaje",icon:"book",path:"suscription-user"},{nombre:"Mis cursos",icon:"book-check",path:"myCourses"},{nombre:"Marketplace",icon:"store",path:"courses"},{nombre:"Mis exámenes",icon:"file",path:"examenes"},{nombre:"Mis certificaciones",icon:"school",path:"certificado-user"},{nombre:"Mensajes",icon:"message-processing",path:"messages"},{nombre:"Logros",icon:"trophy",path:"logros"},{nombre:"Clasificación",icon:"star",path:"leaderBoard"}]}},computed:{...Object(o["e"])("sections",["topSection"]),mini:{get(){return!this.$vuetify.breakpoint.xs},set(t){return t}}},methods:{changeDrawer(t){this.drawer=t},async getRole(){this.axios.get("/user/get-rolename").then(t=>{this.role=t.data.data,this.showNav=!0})}},mounted(){this.getRole()}},b=w,T=(i("da06"),Object(p["a"])(b,r,a,!1,null,null,null)),S=T.exports,P=function(){var t=this,e=t._self._c;return t.muestra?e("div",{staticClass:"scroll-y row p-2",staticStyle:{"background-color":"#ffffff","min-height":"100vh"}},[t._m(0),t.alertita?e("div",{staticClass:"w-50 container alert alert-danger alert-dismissible fade show",attrs:{role:"alert"}},[t._m(1),e("button",{staticClass:"close",attrs:{type:"button","data-dismiss":"alert","aria-label":"Close"},on:{click:t.closeAlert}},[e("span",{attrs:{"aria-hidden":"true"}},[t._v("×")])])]):t._e(),t.isLoadingItems?e("div",{staticClass:"row d-flex justify-content-center"},t._l(t.loadingItems,(function(t){return e("div",{key:t.id,staticClass:"category mb-4"},[e("label",{staticClass:"loader loader-logo"}),e("label",{staticClass:"loader loader-name"})])})),0):e("div",{staticClass:"col-md-12 col-lg-12 col-sm-12 col-xs-12"},[e("div",{staticClass:"row"},t._l(t.item,(function(i){return e("div",{key:i.id,staticClass:"col-md-2 col-xs-2 col-sm-3 col-lg-2",class:{select:t.preferences.categorys.includes(i.id)}},[e("div",{staticClass:"row"},[e("div",{staticClass:"col-md-12 col-lg-12 col-sm-12 col-xs-12 text-center"},[e("input",{attrs:{type:"checkbox",name:i.name,id:i.name}}),e("label",{staticClass:"category-logo cursor-pointer",attrs:{for:i.name},on:{click:function(e){return t.escoger(i.id)}}},[e("i",{class:i.icon})]),e("br"),e("label",{staticClass:"category-name text-center cursor-pointer",attrs:{for:i.name},on:{click:function(e){return t.escoger(i.id)}}},[t._v(t._s(i.name))])])])])})),0),e("div",{staticClass:"col-md-12 col-lg-12 col-sm-12 col-xs-12 text-right"},[e("button",{staticClass:"btn-custom",staticStyle:{"font-size":"1em","font-weight":"600"},on:{click:t.cambiar}},[t._v(" Continuar "),e("i",{staticClass:"fas fa-angle-double-right"})])])])]):t._e()},k=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"col-md-12 mt-5 px-5 py-3"},[e("p",{staticClass:"h1 text-center"},[t._v("Seleccione categorías de su interés")]),e("p",{staticClass:"h5 text-center",staticStyle:{color:"#7e7e7e"}},[t._v(" Seleccione al menos 3 categorías, esto ayudará a obtener recomendaciones personalizadas ")])])},function(){var t=this,e=t._self._c;return e("div",{staticClass:"mx-auto w-100"},[e("strong",{staticClass:"text-center"},[t._v("Seleccione mínimo 3 categorías")])])}],A={data(){return{item:null,alertita:!1,muestra:!0,isLoadingItems:!0,preferences:{categorys:[]},loadingItems:[1,2,3,4,5,6,7,8,9,10]}},methods:{cambiar(){this.preferences.categorys.length>=3?this.axios.post("/preferences/add",this.preferences).then(t=>{console.log(t.data);const e=localStorage.getItem("status_preference");0==e&&(localStorage.removeItem("status_preference"),window.location.reload(!0))}).catch(t=>{console.log(t)}):this.preferences.categorys.length<3&&(this.alertita=!0,this.muestra=!0)},closeAlert(){this.alertita=!1,this.muestra=!0},escoger(t){if(this.preferences.categorys.includes(t)){const e=this.preferences.categorys.indexOf(t);this.preferences.categorys.splice(e,1)}else this.preferences.categorys.push(t)},getAttributes(){this.axios.get("category/list").then(t=>{this.item=t.data.data,this.isLoadingItems=!1})}},created(){this.getAttributes()}},C=A,R=(i("4690"),Object(p["a"])(C,P,k,!1,null,"73d31a9c",null)),O=R.exports,D=function(){var t=this,e=t._self._c;return e("section",{staticClass:"vue-winwheel"},[e("div",{staticClass:"mobile-container"},[e("h1",[t._v("Gana tu recompensa diaria")]),e("div",{staticClass:"wheel-wrapper"},[t._m(0),e("div",{staticClass:"button-wrapper"},[t.loadingPrize||t.wheelSpinning?t._e():e("a",{staticClass:"btn btn-play",attrs:{href:"#"},on:{click:function(e){return e.preventDefault(),t.startSpin()}}},[t._v("Girar")])])])]),t.modalPrize?e("div",{staticClass:"custom-modal modal-mask",attrs:{id:"modalSpinwheel"}},[e("div",{attrs:{slot:"body"},slot:"body"},[e("a",{staticClass:"modal-dismiss",attrs:{href:""},on:{click:function(e){return e.preventDefault(),t.hidePrize()}}},[e("i",{staticClass:"icon_close"})]),e("h2",[t._v(" Felicidades ganaste "),e("strong",[t._v(" "+t._s(t.prizeName)+" ")])])])]):t._e()])},M=[function(){var t=this,e=t._self._c;return e("div",{staticClass:"canvas-wrapper"},[e("canvas",{attrs:{id:"canvas",width:"310",height:"310"}},[e("p",{staticStyle:{color:"white","text-align":"center"}},[t._v(" Sorry, your browser doesn't support canvas. Please try Google Chrome. ")])])])}],z=i("30a2"),I={name:"VueWinWheel",props:{segments:{default(){return[{textFillStyle:"#fff",fillStyle:"#35424A",text:"Premio 1"},{textFillStyle:"#000",fillStyle:"#78ff66",text:"Premio 2"},{textFillStyle:"#fff",fillStyle:"#35424A",text:"Premio 3"},{textFillStyle:"#000",fillStyle:"#78ff66",text:"Premio 4"},{textFillStyle:"#fff",fillStyle:"#35424A",text:"Premio 5"},{textFillStyle:"#000",fillStyle:"#78ff66",text:"Premio 6"}]}}},data(){return{loadingPrize:!1,theWheel:null,modalPrize:!1,wheelPower:1,wheelSpinning:!1,prizeName:"BUY 1 GET 1",WinWheelOptions:{textFontSize:14,outterRadius:410,innerRadius:25,lineWidth:8,animation:{type:"spinOngoing",duration:.5}}}},methods:{showPrize(){this.modalPrize=!0},hidePrize(){this.modalPrize=!1},startSpin(){if(!1===this.wheelSpinning){this.theWheel.startAnimation(),this.wheelSpinning=!0,this.theWheel=new z["a"]({...this.WinWheelOptions,numSegments:this.segments.length,segments:this.segments,animation:{type:"spinToStop",duration:5,spins:5,callbackFinished:this.onFinishSpin}});var t=Math.floor(Math.random()*this.segments.length),e=360/this.segments.length*t-360/this.segments.length/2;this.theWheel.animation.stopAngle=e,this.theWheel.startAnimation(),this.wheelSpinning=!1}},resetWheel(){this.theWheel=new z["a"]({...this.WinWheelOptions,numSegments:this.segments.length,segments:this.segments}),this.wheelSpinning&&this.theWheel.stopAnimation(!1),this.theWheel.rotationAngle=0,this.theWheel.draw(),this.wheelSpinning=!1},initSpin(){this.loadingPrize=!0,this.resetWheel(),this.loadingPrize=!1},onFinishSpin(t){this.prizeName=t.text,this.showPrize()}},computed:{},updated(){},mounted(){this.initSpin()},created(){}},F=I,X=(i("347a"),Object(p["a"])(F,D,M,!1,null,"c6d7f274",null)),N=X.exports,Y={name:"Contenedor",components:{NavBarV:S,Preferencias:O,VueWinWheel:N},data(){return{mostrar:!1,status_user:null,barraMenu:!0}},computed:{...Object(o["e"])("course",["courseHover"])},methods:{barmenu(){this.barraMenu=!this.barraMenu}},created(){this.status_user=localStorage.getItem("status_preference"),0==this.status_user&&(this.mostrar=!this.mostrar)}},E=Y,B=(i("519e"),Object(p["a"])(E,n,s,!1,null,"d60b7a56",null));e["default"]=B.exports},"7b52":function(t,e,i){},a48f:function(t,e,i){},ab43:function(t,e,i){"use strict";var n=i("23e7"),s=i("c65b"),r=i("59ed"),a=i("825a"),o=i("46c4"),l=i("c5cc"),h=i("9bdd"),c=i("2a62"),u=i("2baa"),f=i("f99f"),_=i("c430"),p=!_&&!u("map",(function(){})),d=!_&&!p&&f("map",TypeError),m=_||p||d,g=l((function(){var t=this.iterator,e=a(s(this.next,t)),i=this.done=!!e.done;if(!i)return h(t,this.mapper,[e.value,this.counter++],!0)}));n({target:"Iterator",proto:!0,real:!0,forced:m},{map:function(t){a(this);try{r(t)}catch(e){c(this,"throw",e)}return d?s(d,this,t):new g(o(this),{mapper:t})}})},b9fd:function(t,e,i){},cffa:function(t,e,i){"use strict";i.d(e,"a",(function(){return L}));var n=i("2e20");
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/n["e"]._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},e=function(t,e,i){var n,s,r=t.cycle;for(n in r)s=r[n],t[n]="function"===typeof s?s(i,e[i],e):s[i%s.length];delete t.cycle},i=function(t){if("function"===typeof t)return t;var e="object"===typeof t?t:{each:t},i=e.ease,n=e.from||0,s=e.base||0,r={},a=isNaN(n),o=e.axis,l={center:.5,end:1}[n]||0;return function(t,h,c){var u,f,_,p,d,m,g,v,y,x=(c||e).length,w=r[x];if(!w){if(y="auto"===e.grid?0:(e.grid||[1/0])[0],!y){g=-1/0;while(g<(g=c[y++].getBoundingClientRect().left)&&y<x);y--}for(w=r[x]=[],u=a?Math.min(y,x)*l-.5:n%y,f=a?x*l/y-.5:n/y|0,g=0,v=1/0,m=0;m<x;m++)_=m%y-u,p=f-(m/y|0),w[m]=d=o?Math.abs("y"===o?p:_):Math.sqrt(_*_+p*p),d>g&&(g=d),d<v&&(v=d);w.max=g-v,w.min=v,w.v=x=e.amount||e.each*(y>x?x-1:o?"y"===o?x/y:y:Math.max(y,x/y))||0,w.b=x<0?s-x:s}return x=(w[t]-w.min)/w.max,w.b+(i?i.getRatio(x):x)*w.v}},s=function(t,e,i){n["f"].call(this,t,e,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=s.prototype.render},r=1e-8,a=n["f"]._internals,o=a.isSelector,l=a.isArray,h=s.prototype=n["f"].to({},.1,{}),c=[];s.version="2.1.3",h.constructor=s,h.kill()._gc=!1,s.killTweensOf=s.killDelayedCallsTo=n["f"].killTweensOf,s.getTweensOf=n["f"].getTweensOf,s.lagSmoothing=n["f"].lagSmoothing,s.ticker=n["f"].ticker,s.render=n["f"].render,s.distribute=i,h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),n["f"].prototype.invalidate.call(this)},h.updateTo=function(t,e){var i,s=this,r=s.ratio,a=s.vars.immediateRender||t.immediateRender;for(i in e&&s._startTime<s._timeline._time&&(s._startTime=s._timeline._time,s._uncache(!1),s._gc?s._enabled(!0,!1):s._timeline.insert(s,s._startTime-s._delay)),t)s.vars[i]=t[i];if(s._initted||a)if(e)s._initted=!1,a&&s.render(0,!0,!0);else if(s._gc&&s._enabled(!0,!1),s._notifyPluginsOfEnabled&&s._firstPT&&n["f"]._onPluginEvent("_onDisable",s),s._time/s._duration>.998){var o=s._totalTime;s.render(0,!0,!1),s._initted=!1,s.render(o,!0,!1)}else if(s._initted=!1,s._init(),s._time>0||a){var l,h=1/(1-r),c=s._firstPT;while(c)l=c.s+c.c,c.c*=h,c.s=l-c.c,c=c._next}return s},h.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,o,l,h,c,u,f,_,p,d=this,m=d._dirty?d.totalDuration():d._totalDuration,g=d._time,v=d._totalTime,y=d._cycle,x=d._duration,w=d._rawPrevTime;if(t>=m-r&&t>=0?(d._totalTime=m,d._cycle=d._repeat,d._yoyo&&0!==(1&d._cycle)?(d._time=0,d.ratio=d._ease._calcEnd?d._ease.getRatio(0):0):(d._time=x,d.ratio=d._ease._calcEnd?d._ease.getRatio(1):1),d._reversed||(s=!0,o="onComplete",i=i||d._timeline.autoRemoveChildren),0===x&&(d._initted||!d.vars.lazy||i)&&(d._startTime===d._timeline._duration&&(t=0),(w<0||t<=0&&t>=-r||w===r&&"isPause"!==d.data)&&w!==t&&(i=!0,w>r&&(o="onReverseComplete")),d._rawPrevTime=_=!e||t||w===t?t:r)):t<r?(d._totalTime=d._time=d._cycle=0,d.ratio=d._ease._calcEnd?d._ease.getRatio(0):0,(0!==v||0===x&&w>0)&&(o="onReverseComplete",s=d._reversed),t>-r?t=0:t<0&&(d._active=!1,0===x&&(d._initted||!d.vars.lazy||i)&&(w>=0&&(i=!0),d._rawPrevTime=_=!e||t||w===t?t:r)),d._initted||(i=!0)):(d._totalTime=d._time=t,0!==d._repeat&&(h=x+d._repeatDelay,d._cycle=d._totalTime/h>>0,0!==d._cycle&&d._cycle===d._totalTime/h&&v<=t&&d._cycle--,d._time=d._totalTime-d._cycle*h,d._yoyo&&0!==(1&d._cycle)&&(d._time=x-d._time,p=d._yoyoEase||d.vars.yoyoEase,p&&(d._yoyoEase||(!0!==p||d._initted?d._yoyoEase=p=!0===p?d._ease:p instanceof n["b"]?p:n["b"].map[p]:(p=d.vars.ease,d._yoyoEase=p=p?p instanceof n["b"]?p:"function"===typeof p?new n["b"](p,d.vars.easeParams):n["b"].map[p]||n["f"].defaultEase:n["f"].defaultEase)),d.ratio=p?1-p.getRatio((x-d._time)/x):0)),d._time>x?d._time=x:d._time<0&&(d._time=0)),d._easeType&&!p?(c=d._time/x,u=d._easeType,f=d._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),d.ratio=1===u?1-c:2===u?c:d._time/x<.5?c/2:1-c/2):p||(d.ratio=d._ease.getRatio(d._time/x))),g!==d._time||i||y!==d._cycle){if(!d._initted){if(d._init(),!d._initted||d._gc)return;if(!i&&d._firstPT&&(!1!==d.vars.lazy&&d._duration||d.vars.lazy&&!d._duration))return d._time=g,d._totalTime=v,d._rawPrevTime=w,d._cycle=y,a.lazyTweens.push(d),void(d._lazy=[t,e]);!d._time||s||p?s&&this._ease._calcEnd&&!p&&(d.ratio=d._ease.getRatio(0===d._time?0:1)):d.ratio=d._ease.getRatio(d._time/x)}!1!==d._lazy&&(d._lazy=!1),d._active||!d._paused&&d._time!==g&&t>=0&&(d._active=!0),0===v&&(2===d._initted&&t>0&&d._init(),d._startAt&&(t>=0?d._startAt.render(t,!0,i):o||(o="_dummyGS")),d.vars.onStart&&(0===d._totalTime&&0!==x||e||d._callback("onStart"))),l=d._firstPT;while(l)l.f?l.t[l.p](l.c*d.ratio+l.s):l.t[l.p]=l.c*d.ratio+l.s,l=l._next;d._onUpdate&&(t<0&&d._startAt&&d._startTime&&d._startAt.render(t,!0,i),e||(d._totalTime!==v||o)&&d._callback("onUpdate")),d._cycle!==y&&(e||d._gc||d.vars.onRepeat&&d._callback("onRepeat")),o&&(d._gc&&!i||(t<0&&d._startAt&&!d._onUpdate&&d._startTime&&d._startAt.render(t,!0,i),s&&(d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[o]&&d._callback(o),0===x&&d._rawPrevTime===r&&_!==r&&(d._rawPrevTime=0)))}else v!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},s.to=function(t,e,i){return new s(t,e,i)},s.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new s(t,e,i)},s.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new s(t,e,n)},s.staggerTo=s.allTo=function(r,a,h,u,f,_,p){var d,m,g,v,y=[],x=i(h.stagger||u),w=h.cycle,b=(h.startAt||c).cycle;for(l(r)||("string"===typeof r&&(r=n["f"].selector(r)||r),o(r)&&(r=t(r))),r=r||[],d=r.length-1,g=0;g<=d;g++){for(v in m={},h)m[v]=h[v];if(w&&(e(m,r,g),null!=m.duration&&(a=m.duration,delete m.duration)),b){for(v in b=m.startAt={},h.startAt)b[v]=h.startAt[v];e(m.startAt,r,g)}m.delay=x(g,r[g],r)+(m.delay||0),g===d&&f&&(m.onComplete=function(){h.onComplete&&h.onComplete.apply(h.onCompleteScope||this,arguments),f.apply(p||h.callbackScope||this,_||c)}),y[g]=new s(r[g],a,m)}return y},s.staggerFrom=s.allFrom=function(t,e,i,n,r,a,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,s.staggerTo(t,e,i,n,r,a,o)},s.staggerFromTo=s.allFromTo=function(t,e,i,n,r,a,o,l){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,s.staggerTo(t,e,n,r,a,o,l)},s.delayedCall=function(t,e,i,n,r){return new s(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:r,overwrite:0})},s.set=function(t,e){return new s(t,0,e)},s.isTweening=function(t){return n["f"].getTweensOf(t,!0).length>0};var u=function(t,e){var i=[],s=0,r=t._first;while(r)r instanceof n["f"]?i[s++]=r:(e&&(i[s++]=r),i=i.concat(u(r,e)),s=i.length),r=r._next;return i},f=s.getAllTweens=function(t){return u(n["a"]._rootTimeline,t).concat(u(n["a"]._rootFramesTimeline,t))};s.killAll=function(t,e,i,s){null==e&&(e=!0),null==i&&(i=!0);var r,a,o,l=f(0!=s),h=l.length,c=e&&i&&s;for(o=0;o<h;o++)a=l[o],(c||a instanceof n["c"]||(r=a.target===a.vars.onComplete)&&i||e&&!r)&&(t?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},s.killChildTweensOf=function(e,i){if(null!=e){var r,h,c,u,f,_=a.tweenLookup;if("string"===typeof e&&(e=n["f"].selector(e)||e),o(e)&&(e=t(e)),l(e)){u=e.length;while(--u>-1)s.killChildTweensOf(e[u],i)}else{for(c in r=[],_){h=_[c].target.parentNode;while(h)h===e&&(r=r.concat(_[c].tweens)),h=h.parentNode}for(f=r.length,u=0;u<f;u++)i&&r[u].totalTime(r[u].totalDuration()),r[u]._enabled(!1,!1)}}};var _=function(t,e,i,s){e=!1!==e,i=!1!==i,s=!1!==s;var r,a,o=f(s),l=e&&i&&s,h=o.length;while(--h>-1)a=o[h],(l||a instanceof n["c"]||(r=a.target===a.vars.onComplete)&&i||e&&!r)&&a.paused(t)};return s.pauseAll=function(t,e,i){_(!0,t,e,i)},s.resumeAll=function(t,e,i){_(!1,t,e,i)},s.globalTimeScale=function(t){var e=n["a"]._rootTimeline,i=n["f"].ticker.time;return arguments.length?(t=t||r,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=n["a"]._rootFramesTimeline,i=n["f"].ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=n["a"]._rootTimeline._timeScale=t,t):e._timeScale},h.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.duration()?this._time/this._duration:this.ratio},h.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},h.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,n=this._cycle,s=n*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&n?i-t+s:this._repeat?t+s:t,e)},h.duration=function(t){return arguments.length?n["a"].prototype.duration.call(this,t):this._duration},h.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s}),!0);var s=n["g"].TweenMax;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
n["e"]._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var t,e,i,s,r=function(){n["d"].call(this,"css"),this._overwriteProps.length=0,this.setRatio=r.prototype.setRatio},a=n["e"]._gsDefine.globals,o={},l=r.prototype=new n["d"]("css");l.constructor=r,r.version="2.1.3",r.API=2,r.defaultTransformPerspective=0,r.defaultSkewType="compensated",r.defaultSmoothOrigin=!0,l="px",r.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var h,c,u,f,_,p,d,m,g=/(?:\-|\.|\b)(\d|\.|e\-)+/g,v=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,T=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,A=/([A-Z])/g,C=/-([a-z])/gi,R=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,O=function(t,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,M=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,z=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,F=/[\s,\(]/i,X=Math.PI/180,N=180/Math.PI,Y={},E={style:{}},B=n["e"].document||{createElement:function(){return E}},L=function(t,e){var i=B.createElementNS?B.createElementNS(e||"http://www.w3.org/1999/xhtml",t):B.createElement(t);return i.style?i:B.createElement(t)},W=L("div"),j=L("img"),q=r._internals={_specialProps:o},V=(n["e"].navigator||{}).userAgent||"",U=function(){var t=V.indexOf("Android"),e=L("a");return u=-1!==V.indexOf("Safari")&&-1===V.indexOf("Chrome")&&(-1===t||parseFloat(V.substr(t+8,2))>3),_=u&&parseFloat(V.substr(V.indexOf("Version/")+8,2))<6,f=-1!==V.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(V)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(V))&&(p=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),$=function(t){return T.test("string"===typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(t){n["e"].console&&console.log(t)},Z="",H="",Q=function(t,e){e=e||W;var i,n,s=e.style;if(void 0!==s[t])return t;t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;while(--n>-1&&void 0===s[i[n]+t]);return n>=0?(H=3===n?"ms":i[n],Z="-"+H.toLowerCase()+"-",H+t):null},K="undefined"!==typeof window?window:B.defaultView||{getComputedStyle:function(){}},J=function(t){return K.getComputedStyle(t)},tt=r.getStyle=function(t,e,i,n,s){var r;return U||"opacity"!==e?(!n&&t.style[e]?r=t.style[e]:(i=i||J(t))?r=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(A,"-$1").toLowerCase()):t.currentStyle&&(r=t.currentStyle[e]),null==s||r&&"none"!==r&&"auto"!==r&&"auto auto"!==r?r:s):$(t)},et=q.convertToPixels=function(t,e,i,s,a){if("px"===s||!s&&"lineHeight"!==e)return i;if("auto"===s||!i)return 0;var o,l,h,c=D.test(e),u=t,f=W.style,_=i<0,p=1===i;if(_&&(i=-i),p&&(i*=100),"lineHeight"!==e||s)if("%"===s&&-1!==e.indexOf("border"))o=i/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+tt(t,"position")+";line-height:0;","%"!==s&&u.appendChild&&"v"!==s.charAt(0)&&"rem"!==s)f[c?"borderLeftWidth":"borderTopWidth"]=i+s;else{if(u=t.parentNode||B.body,-1!==tt(u,"display").indexOf("flex")&&(f.position="absolute"),l=u._gsCache,h=n["f"].ticker.frame,l&&c&&l.time===h)return l.width*i/100;f[c?"width":"height"]=i+s}u.appendChild(W),o=parseFloat(W[c?"offsetWidth":"offsetHeight"]),u.removeChild(W),c&&"%"===s&&!1!==r.cacheWidths&&(l=u._gsCache=u._gsCache||{},l.time=h,l.width=o/i*100),0!==o||a||(o=et(t,e,i,s,!0))}else l=J(t).lineHeight,t.style.lineHeight=i,o=parseFloat(J(t).lineHeight),t.style.lineHeight=l;return p&&(o/=100),_?-o:o},it=q.calculateOffset=function(t,e,i){if("absolute"!==tt(t,"position",i))return 0;var n="left"===e?"Left":"Top",s=tt(t,"margin"+n,i);return t["offset"+n]-(et(t,e,parseFloat(s),s.replace(b,""))||0)},nt=function(t,e){var i,n,s,r={};if(e=e||J(t,null))if(i=e.length)while(--i>-1)s=e[i],-1!==s.indexOf("-transform")&&Ot!==s||(r[s.replace(C,O)]=e.getPropertyValue(s));else for(i in e)-1!==i.indexOf("Transform")&&Rt!==i||(r[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"===typeof i&&void 0===r[i]&&(r[i.replace(C,O)]=e[i]);return U||(r.opacity=$(t)),n=qt(t,e,!1),r.rotation=n.rotation,r.skewX=n.skewX,r.scaleX=n.scaleX,r.scaleY=n.scaleY,r.x=n.x,r.y=n.y,Mt&&(r.z=n.z,r.rotationX=n.rotationX,r.rotationY=n.rotationY,r.scaleZ=n.scaleZ),r.filters&&delete r.filters,r},st=function(t,e,i,n,s){var r,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(r=i[a])||s&&s[a])&&-1===a.indexOf("Origin")&&("number"!==typeof r&&"string"!==typeof r||(l[a]="auto"!==r||"left"!==a&&"top"!==a?""!==r&&"auto"!==r&&"none"!==r||"string"!==typeof e[a]||""===e[a].replace(w,"")?r:0:it(t,a),void 0!==h[a]&&(o=new yt(h,a,h[a],o))));if(n)for(a in n)"className"!==a&&(l[a]=n[a]);return{difs:l,firstMPT:o}},rt={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||J(t))[e]||0;if(t.getCTM&&Lt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),s=rt[e],r=s.length;i=i||J(t,null);while(--r>-1)n-=parseFloat(tt(t,"padding"+s[r],i,!0))||0,n-=parseFloat(tt(t,"border"+s[r]+"Width",i,!0))||0;return n},lt=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var i,n=t.split(" "),s=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],r=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];if(n.length>3&&!e){for(n=t.split(", ").join(",").split(","),t=[],i=0;i<n.length;i++)t.push(lt(n[i]));return t.join(",")}return null==r?r="center"===s?"50%":"0":"center"===r&&(r="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),t=s+" "+r+(n.length>2?" "+n[2]:""),e&&(e.oxp=-1!==s.indexOf("%"),e.oyp=-1!==r.indexOf("%"),e.oxr="="===s.charAt(1),e.oyr="="===r.charAt(1),e.ox=parseFloat(s.replace(w,"")),e.oy=parseFloat(r.replace(w,"")),e.v=t),e||t},ht=function(t,e){return"function"===typeof t&&(t=t(m,d)),"string"===typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ct=function(t,e){"function"===typeof t&&(t=t(m,d));var i="string"===typeof t&&"="===t.charAt(1);return"string"===typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,i,n){var s,r,a,o,l,h=1e-6;return"function"===typeof t&&(t=t(m,d)),null==t?o=e:"number"===typeof t?o=t:(s=360,r=t.split("_"),l="="===t.charAt(1),a=(l?parseInt(t.charAt(0)+"1",10)*parseFloat(r[0].substr(2)):parseFloat(r[0]))*(-1===t.indexOf("rad")?1:N)-(l?0:e),r.length&&(n&&(n[i]=e+a),-1!==t.indexOf("short")&&(a%=s,a!==a%(s/2)&&(a=a<0?a+s:a-s)),-1!==t.indexOf("_cw")&&a<0?a=(a+9999999999*s)%s-(a/s|0)*s:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*s)%s-(a/s|0)*s)),o=e+a),o<h&&o>-h&&(o=0),o},ft={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]},_t=function(t,e,i){return t=t<0?t+1:t>1?t-1:t,255*(6*t<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0},pt=r.parseColor=function(t,e){var i,n,s,r,a,o,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)),ft[t])i=ft[t];else if("#"===t.charAt(0))4===t.length&&(n=t.charAt(1),s=t.charAt(2),r=t.charAt(3),t="#"+n+n+s+s+r+r),t=parseInt(t.substr(1),16),i=[t>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(g),e){if(-1!==t.indexOf("="))return t.match(v)}else a=Number(i[0])%360/360,o=Number(i[1])/100,l=Number(i[2])/100,s=l<=.5?l*(o+1):l+o-l*o,n=2*l-s,i.length>3&&(i[3]=Number(i[3])),i[0]=_t(a+1/3,n,s),i[1]=_t(a,n,s),i[2]=_t(a-1/3,n,s);else i=t.match(g)||ft.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=ft.black;return e&&!f&&(n=i[0]/255,s=i[1]/255,r=i[2]/255,h=Math.max(n,s,r),c=Math.min(n,s,r),l=(h+c)/2,h===c?a=o=0:(u=h-c,o=l>.5?u/(2-h-c):u/(h+c),a=h===n?(s-r)/u+(s<r?6:0):h===s?(r-n)/u+2:(n-s)/u+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},dt=function(t,e){var i,n,s,r=t.match(mt)||[],a=0,o="";if(!r.length)return t;for(i=0;i<r.length;i++)n=r[i],s=t.substr(a,t.indexOf(n,a)-a),a+=s.length+n.length,n=pt(n,e),3===n.length&&n.push(1),o+=s+(e?"hsla("+n[0]+","+n[1]+"%,"+n[2]+"%,"+n[3]:"rgba("+n.join(","))+")";return o+t.substr(a)},mt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(l in ft)mt+="|"+l+"\\b";mt=new RegExp(mt+")","gi"),r.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];mt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=dt(t[0],e),t[1]=dt(t[1],e)),mt.lastIndex=0},n["f"].defaultStringFilter||(n["f"].defaultStringFilter=r.colorStringFilter);var gt=function(t,e,i,n){if(null==t)return function(t){return t};var s,r=e?(t.match(mt)||[""])[0]:"",a=t.split(r).join("").match(y)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",c=a.length,u=c>0?a[0].replace(g,""):"";return c?e?(s=function(t){var e,f,_,p;if("number"===typeof t)t+=u;else if(n&&I.test(t)){for(p=t.replace(I,"|").split("|"),_=0;_<p.length;_++)p[_]=s(p[_]);return p.join(",")}if(e=(t.match(mt)||[r])[0],f=t.split(e).join("").match(y)||[],_=f.length,c>_--)while(++_<c)f[_]=i?f[(_-1)/2|0]:a[_];return o+f.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")},s):(s=function(t){var e,r,f;if("number"===typeof t)t+=u;else if(n&&I.test(t)){for(r=t.replace(I,"|").split("|"),f=0;f<r.length;f++)r[f]=s(r[f]);return r.join(",")}if(e=t.match(","===h?y:x)||[],f=e.length,c>f--)while(++f<c)e[f]=i?e[(f-1)/2|0]:a[f];return(o&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||o)+e.join(h)+l},s):function(t){return t}},vt=function(t){return t=t.split(","),function(e,i,n,s,r,a,o){var l,h=(i+"").split(" ");for(o={},l=0;l<4;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2>>0];return s.parse(e,o,r,a)}},yt=(q._setPluginRatio=function(t){this.plugin.setRatio(t);var e,i,n,s,r,a=this.data,o=a.proxy,l=a.firstMPT,h=1e-6;while(l)e=o[l.v],l.r?e=l.r(e):e<h&&e>-h&&(e=0),l.t[l.p]=e,l=l._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,o.rotation,this.t,this._tween):o.rotation),1===t||0===t){l=a.firstMPT,r=1===t?"e":"b";while(l){if(i=l.t,i.type){if(1===i.type){for(s=i.xs0+i.s+i.xs1,n=1;n<i.l;n++)s+=i["xn"+n]+i["xs"+(n+1)];i[r]=s}}else i[r]=i.s+i.xs0;l=l._next}}},function(t,e,i,n,s){this.t=t,this.p=e,this.v=i,this.r=s,n&&(n._prev=this,this._next=n)}),xt=(q._parseToProxy=function(t,e,i,n,s,r){var a,o,l,h,c,u=n,f={},_={},p=i._transform,d=Y;i._transform=null,Y=e,n=c=i.parse(t,e,n,s),Y=d,r&&(i._transform=p,u&&(u._prev=null,u._prev&&(u._prev._next=null)));while(n&&n!==u){if(n.type<=1&&(o=n.p,_[o]=n.s+n.c,f[o]=n.s,r||(h=new yt(n,"s",o,h,n.r),n.c=0),1===n.type)){a=n.l;while(--a>0)l="xn"+a,o=n.p+"_"+l,_[o]=n.data[l],f[o]=n[l],r||(h=new yt(n,l,o,h,n.rxp[l]))}n=n._next}return{proxy:f,end:_,firstMPT:h,pt:c}},q.CSSPropTween=function(e,i,n,r,a,o,l,h,c,u,f){this.t=e,this.p=i,this.s=n,this.c=r,this.n=l||i,e instanceof xt||s.push(this.n),this.r=h?"function"===typeof h?h:Math.round:h,this.type=o||0,c&&(this.pr=c,t=!0),this.b=void 0===u?n:u,this.e=void 0===f?n+r:f,a&&(this._next=a,a._prev=this)}),wt=function(t,e,i,n,s,r){var a=new xt(t,e,i,n-i,s,-1,r);return a.b=i,a.e=a.xs0=n,a},bt=r.parseComplex=function(t,e,i,n,s,a,o,l,c,u){i=i||a||"","function"===typeof n&&(n=n(m,d)),o=new xt(t,e,0,0,o,u?2:1,null,!1,l,i,n),n+="",s&&mt.test(n+i)&&(n=[i,n],r.colorStringFilter(n),i=n[0],n=n[1]);var f,_,p,y,x,w,b,T,S,P,k,A,C,R=i.split(", ").join(",").split(" "),O=n.split(", ").join(",").split(" "),D=R.length,M=!1!==h;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(R=R.join(" ").replace(I,", ").split(" "),O=O.join(" ").replace(I,", ").split(" ")):(R=R.join(" ").split(",").join(", ").split(" "),O=O.join(" ").split(",").join(", ").split(" ")),D=R.length),D!==O.length&&(R=(a||"").split(" "),D=R.length),o.plugin=c,o.setRatio=u,mt.lastIndex=0,f=0;f<D;f++)if(y=R[f],x=O[f]+"",T=parseFloat(y),T||0===T)o.appendXtra("",T,ht(x,T),x.replace(v,""),!(!M||-1===x.indexOf("px"))&&Math.round,!0);else if(s&&mt.test(y))A=x.indexOf(")")+1,A=")"+(A?x.substr(A):""),C=-1!==x.indexOf("hsl")&&U,P=x,y=pt(y,C),x=pt(x,C),S=y.length+x.length>6,S&&!U&&0===x[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(O[f]).join("transparent")):(U||(S=!1),C?o.appendXtra(P.substr(0,P.indexOf("hsl"))+(S?"hsla(":"hsl("),y[0],ht(x[0],y[0]),",",!1,!0).appendXtra("",y[1],ht(x[1],y[1]),"%,",!1).appendXtra("",y[2],ht(x[2],y[2]),S?"%,":"%"+A,!1):o.appendXtra(P.substr(0,P.indexOf("rgb"))+(S?"rgba(":"rgb("),y[0],x[0]-y[0],",",Math.round,!0).appendXtra("",y[1],x[1]-y[1],",",Math.round).appendXtra("",y[2],x[2]-y[2],S?",":A,Math.round),S&&(y=y.length<4?1:y[3],o.appendXtra("",y,(x.length<4?1:x[3])-y,A,!1))),mt.lastIndex=0;else if(w=y.match(g),w){if(b=x.match(v),!b||b.length!==w.length)return o;for(p=0,_=0;_<w.length;_++)k=w[_],P=y.indexOf(k,p),o.appendXtra(y.substr(p,P-p),Number(k),ht(b[_],k),"",!(!M||"px"!==y.substr(P+k.length,2))&&Math.round,0===_),p=P+k.length;o["xs"+o.l]+=y.substr(p)}else o["xs"+o.l]+=o.l||o["xs"+o.l]?" "+x:x;if(-1!==n.indexOf("=")&&o.data){for(A=o.xs0+o.data.s,f=1;f<o.l;f++)A+=o["xs"+f]+o.data["xn"+f];o.e=A+o["xs"+f]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},Tt=9;l=xt.prototype,l.l=l.pr=0;while(--Tt>0)l["xn"+Tt]=0,l["xs"+Tt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,i,n,s,r){var a=this,o=a.l;return a["xs"+o]+=r&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=n||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=s,a["xn"+o]=e,a.plugin||(a.xfirst=new xt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,s,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=s,a)):(a["xs"+o]+=e+(n||""),a)};var St=function(t,e){e=e||{},this.p=e.prefix&&Q(t)||t,o[t]=o[this.p]=this,this.format=e.formatter||gt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Pt=q._registerComplexSpecialProp=function(t,e,i){"object"!==typeof e&&(e={parser:i});var n,s=t.split(","),r=e.defaultValue;for(i=i||[r],n=0;n<s.length;n++)e.prefix=0===n&&e.prefix,e.defaultValue=i[n]||r,new St(s[n],e)},kt=q._registerPluginProp=function(t){if(!o[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Pt(t,{parser:function(t,i,n,s,r,l,h){var c=a.com.greensock.plugins[e];return c?(c._cssRegister(),o[n].parse(t,i,n,s,r,l,h)):(G("Error: "+e+" js file not loaded."),r)}})}};l=St.prototype,l.parseComplex=function(t,e,i,n,s,r){var a,o,l,h,c,u,f=this.keyword;if(this.multi&&(I.test(i)||I.test(e)?(o=e.replace(I,"|").split("|"),l=i.replace(I,"|").split("|")):f&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;a<h;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,f&&(c=e.indexOf(f),u=i.indexOf(f),c!==u&&(-1===u?o[a]=o[a].split(f).join(""):-1===c&&(o[a]+=" "+f)));e=o.join(", "),i=l.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,n,this.pr,s,r)},l.parse=function(t,e,n,s,r,a,o){return this.parseComplex(t.style,this.format(tt(t,this.p,i,!1,this.dflt)),this.format(e),r,a)},r.registerSpecialProp=function(t,e,i){Pt(t,{parser:function(t,n,s,r,a,o,l){var h=new xt(t,s,0,0,a,2,s,!1,i);return h.plugin=o,h.setRatio=e(t,n,r._tween,s),h},priority:i})},r.useSVGTransformAttr=!0;var At,Ct="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Rt=Q("transform"),Ot=Z+"transform",Dt=Q("transformOrigin"),Mt=null!==Q("perspective"),zt=q.Transform=function(){this.perspective=parseFloat(r.defaultTransformPerspective)||0,this.force3D=!(!1===r.defaultForce3D||!Mt)&&(r.defaultForce3D||"auto")},It=n["e"].SVGElement,Ft=function(t,e,i){var n,s=B.createElementNS("http://www.w3.org/2000/svg",t),r=/([a-z])([A-Z])/g;for(n in i)s.setAttributeNS(null,n.replace(r,"$1-$2").toLowerCase(),i[n]);return e.appendChild(s),s},Xt=B.documentElement||{},Nt=function(){var t,e,i,s=p||/Android/i.test(V)&&!n["e"].chrome;return B.createElementNS&&Xt.appendChild&&!s&&(t=Ft("svg",Xt),e=Ft("rect",t,{width:100,height:50,x:100}),i=e.getBoundingClientRect().width,e.style[Dt]="50% 50%",e.style[Rt]="scaleX(0.5)",s=i===e.getBoundingClientRect().width&&!(f&&Mt),Xt.removeChild(t)),s}(),Yt=function(t,e,i,n,s,a){var o,l,h,c,u,f,_,p,d,m,g,v,y,x,w=t._gsTransform,b=jt(t,!0);w&&(y=w.xOrigin,x=w.yOrigin),(!n||(o=n.split(" ")).length<2)&&(_=t.getBBox(),0===_.x&&0===_.y&&_.width+_.height===0&&(_={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}),e=lt(e).split(" "),o=[(-1!==e[0].indexOf("%")?parseFloat(e[0])/100*_.width:parseFloat(e[0]))+_.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*_.height:parseFloat(e[1]))+_.y]),i.xOrigin=c=parseFloat(o[0]),i.yOrigin=u=parseFloat(o[1]),n&&b!==Wt&&(f=b[0],_=b[1],p=b[2],d=b[3],m=b[4],g=b[5],v=f*d-_*p,v&&(l=c*(d/v)+u*(-p/v)+(p*g-d*m)/v,h=c*(-_/v)+u*(f/v)-(f*g-_*m)/v,c=i.xOrigin=o[0]=l,u=i.yOrigin=o[1]=h)),w&&(a&&(i.xOffset=w.xOffset,i.yOffset=w.yOffset,w=i),s||!1!==s&&!1!==r.defaultSmoothOrigin?(l=c-y,h=u-x,w.xOffset+=l*b[0]+h*b[2]-l,w.yOffset+=l*b[1]+h*b[3]-h):w.xOffset=w.yOffset=0),a||t.setAttribute("data-svg-origin",o.join(" "))},Et=function(t){var e,i=L("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),n=this.parentNode,s=this.nextSibling,r=this.style.cssText;if(Xt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Et}catch(a){}else this._originalGetBBox&&(e=this._originalGetBBox());return s?n.insertBefore(this,s):n.appendChild(this),Xt.removeChild(i),this.style.cssText=r,e},Bt=function(t){try{return t.getBBox()}catch(e){return Et.call(t,!0)}},Lt=function(t){return!(!It||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!Bt(t))},Wt=[1,0,0,1,0,0],jt=function(t,e){var i,n,s,r,a,o,l,h=t._gsTransform||new zt,c=1e5,u=t.style;if(Rt?n=tt(t,Ot,null,!0):t.currentStyle&&(n=t.currentStyle.filter.match(M),n=n&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),h.x||0,h.y||0].join(","):""),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,Rt&&i&&!t.offsetParent&&t!==Xt&&(r=u.display,u.display="block",l=t.parentNode,l&&t.offsetParent||(a=1,o=t.nextSibling,Xt.appendChild(t)),n=tt(t,Ot,null,!0),i=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,r?u.display=r:Gt(u,"display"),a&&(o?l.insertBefore(t,o):l?l.appendChild(t):Xt.removeChild(t))),(h.svg||t.getCTM&&Lt(t))&&(i&&-1!==(u[Rt]+"").indexOf("matrix")&&(n=u[Rt],i=0),s=t.getAttribute("transform"),i&&s&&(s=t.transform.baseVal.consolidate().matrix,n="matrix("+s.a+","+s.b+","+s.c+","+s.d+","+s.e+","+s.f+")",i=0)),i)return Wt;s=(n||"").match(g)||[],Tt=s.length;while(--Tt>-1)r=Number(s[Tt]),s[Tt]=(a=r-(r|=0))?(a*c+(a<0?-.5:.5)|0)/c+r:r;return e&&s.length>6?[s[0],s[1],s[4],s[5],s[12],s[13]]:s},qt=q.getTransform=function(t,e,i,s){if(t._gsTransform&&i&&!s)return t._gsTransform;var a,o,l,h,c,u,f=i&&t._gsTransform||new zt,_=f.scaleX<0,p=2e-5,d=1e5,m=Mt&&(parseFloat(tt(t,Dt,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,g=parseFloat(r.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Lt(t)),f.svg&&(Yt(t,tt(t,Dt,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),At=r.useSVGTransformAttr||Nt),a=jt(t),a!==Wt){if(16===a.length){var v,y,x,w,b,T=a[0],S=a[1],P=a[2],k=a[3],A=a[4],C=a[5],R=a[6],O=a[7],D=a[8],M=a[9],z=a[10],I=a[12],F=a[13],X=a[14],Y=a[11],E=Math.atan2(R,z);f.zOrigin&&(X=-f.zOrigin,I=D*X-a[12],F=M*X-a[13],X=z*X+f.zOrigin-a[14]),f.rotationX=E*N,E&&(w=Math.cos(-E),b=Math.sin(-E),v=A*w+D*b,y=C*w+M*b,x=R*w+z*b,D=A*-b+D*w,M=C*-b+M*w,z=R*-b+z*w,Y=O*-b+Y*w,A=v,C=y,R=x),E=Math.atan2(-P,z),f.rotationY=E*N,E&&(w=Math.cos(-E),b=Math.sin(-E),v=T*w-D*b,y=S*w-M*b,x=P*w-z*b,M=S*b+M*w,z=P*b+z*w,Y=k*b+Y*w,T=v,S=y,P=x),E=Math.atan2(S,T),f.rotation=E*N,E&&(w=Math.cos(E),b=Math.sin(E),v=T*w+S*b,y=A*w+C*b,x=D*w+M*b,S=S*w-T*b,C=C*w-A*b,M=M*w-D*b,T=v,A=y,D=x),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),E=Math.atan2(A,C),f.scaleX=(Math.sqrt(T*T+S*S+P*P)*d+.5|0)/d,f.scaleY=(Math.sqrt(C*C+R*R)*d+.5|0)/d,f.scaleZ=(Math.sqrt(D*D+M*M+z*z)*d+.5|0)/d,T/=f.scaleX,A/=f.scaleY,S/=f.scaleX,C/=f.scaleY,Math.abs(E)>p?(f.skewX=E*N,A=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(E))):f.skewX=0,f.perspective=Y?1/(Y<0?-Y:Y):0,f.x=I,f.y=F,f.z=X,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*A),f.y-=f.yOrigin-(f.yOrigin*S-f.xOrigin*C))}else if(!Mt||s||!a.length||f.x!==a[4]||f.y!==a[5]||!f.rotationX&&!f.rotationY){var B=a.length>=6,L=B?a[0]:1,W=a[1]||0,j=a[2]||0,q=B?a[3]:1;f.x=a[4]||0,f.y=a[5]||0,l=Math.sqrt(L*L+W*W),h=Math.sqrt(q*q+j*j),c=L||W?Math.atan2(W,L)*N:f.rotation||0,u=j||q?Math.atan2(j,q)*N+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=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*L+f.yOrigin*j),f.y-=f.yOrigin-(f.xOrigin*W+f.yOrigin*q))}for(o in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(_?(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=m,f)f[o]<p&&f[o]>-p&&(f[o]=0)}return i&&(t._gsTransform=f,f.svg&&(At&&t.style[Rt]?n["f"].delayedCall(.001,(function(){Gt(t.style,Rt)})):!At&&t.getAttribute("transform")&&n["f"].delayedCall(.001,(function(){t.removeAttribute("transform")})))),f},Vt=function(t){var e,i,n=this.data,s=-n.rotation*X,r=s+n.skewX*X,a=1e5,o=(Math.cos(s)*n.scaleX*a|0)/a,l=(Math.sin(s)*n.scaleX*a|0)/a,h=(Math.sin(r)*-n.scaleY*a|0)/a,c=(Math.cos(r)*n.scaleY*a|0)/a,u=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-h,h=-i,e=f.filter,u.filter="";var _,d,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==f.position,y="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+c,x=n.x+m*n.xPercent/100,w=n.y+g*n.yPercent/100;if(null!=n.ox&&(_=(n.oxp?m*n.ox*.01:n.ox)-m/2,d=(n.oyp?g*n.oy*.01:n.oy)-g/2,x+=_-(_*o+d*l),w+=d-(_*h+d*c)),v?(_=m/2,d=g/2,y+=", Dx="+(_-(_*o+d*l)+x)+", Dy="+(d-(_*h+d*c)+w)+")"):y+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?u.filter=e.replace(z,y):u.filter=y+" "+e,0!==t&&1!==t||1===o&&0===l&&0===h&&1===c&&(v&&-1===y.indexOf("Dx=0, Dy=0")||T.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!v){var S,P,k,A=p<8?1:-1;for(_=n.ieOffsetX||0,d=n.ieOffsetY||0,n.ieOffsetX=Math.round((m-((o<0?-o:o)*m+(l<0?-l:l)*g))/2+x),n.ieOffsetY=Math.round((g-((c<0?-c:c)*g+(h<0?-h:h)*m))/2+w),Tt=0;Tt<4;Tt++)P=at[Tt],S=f[P],i=-1!==S.indexOf("px")?parseFloat(S):et(this.t,P,parseFloat(S),S.replace(b,""))||0,k=i!==n[P]?Tt<2?-n.ieOffsetX:-n.ieOffsetY:Tt<2?_-n.ieOffsetX:d-n.ieOffsetY,u[P]=(n[P]=Math.round(i-k*(0===Tt||2===Tt?1:A)))+"px"}}},Ut=q.set3DTransformRatio=q.setTransformRatio=function(t){var e,i,n,s,r,a,o,l,h,c,u,_,p,d,m,g,v,y,x,w,b,T,S,P=this.data,k=this.t.style,A=P.rotation,C=P.rotationX,R=P.rotationY,O=P.scaleX,D=P.scaleY,M=P.scaleZ,z=P.x,I=P.y,F=P.z,N=P.svg,Y=P.perspective,E=P.force3D,B=P.skewY,L=P.skewX;if(B&&(L+=B,A+=B),!((1!==t&&0!==t||"auto"!==E||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&E||F||Y||R||C||1!==M)||At&&N||!Mt)A||L||N?(A*=X,T=L*X,S=1e5,i=Math.cos(A)*O,r=Math.sin(A)*O,n=Math.sin(A-T)*-D,a=Math.cos(A-T)*D,T&&"simple"===P.skewType&&(e=Math.tan(T-B*X),e=Math.sqrt(1+e*e),n*=e,a*=e,B&&(e=Math.tan(B*X),e=Math.sqrt(1+e*e),i*=e,r*=e)),N&&(z+=P.xOrigin-(P.xOrigin*i+P.yOrigin*n)+P.xOffset,I+=P.yOrigin-(P.xOrigin*r+P.yOrigin*a)+P.yOffset,At&&(P.xPercent||P.yPercent)&&(m=this.t.getBBox(),z+=.01*P.xPercent*m.width,I+=.01*P.yPercent*m.height),m=1e-6,z<m&&z>-m&&(z=0),I<m&&I>-m&&(I=0)),x=(i*S|0)/S+","+(r*S|0)/S+","+(n*S|0)/S+","+(a*S|0)/S+","+z+","+I+")",N&&At?this.t.setAttribute("transform","matrix("+x):k[Rt]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix(":"matrix(")+x):k[Rt]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix(":"matrix(")+O+",0,0,"+D+","+z+","+I+")";else{if(f&&(m=1e-4,O<m&&O>-m&&(O=M=2e-5),D<m&&D>-m&&(D=M=2e-5),!Y||P.z||P.rotationX||P.rotationY||(Y=0)),A||L)A*=X,g=i=Math.cos(A),v=r=Math.sin(A),L&&(A-=L*X,g=Math.cos(A),v=Math.sin(A),"simple"===P.skewType&&(e=Math.tan((L-B)*X),e=Math.sqrt(1+e*e),g*=e,v*=e,P.skewY&&(e=Math.tan(B*X),e=Math.sqrt(1+e*e),i*=e,r*=e))),n=-v,a=g;else{if(!(R||C||1!==M||Y||N))return void(k[Rt]=(P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) translate3d(":"translate3d(")+z+"px,"+I+"px,"+F+"px)"+(1!==O||1!==D?" scale("+O+","+D+")":""));i=a=1,n=r=0}c=1,s=o=l=h=u=_=0,p=Y?-1/Y:0,d=P.zOrigin,m=1e-6,w=",",b="0",A=R*X,A&&(g=Math.cos(A),v=Math.sin(A),l=-v,u=p*-v,s=i*v,o=r*v,c=g,p*=g,i*=g,r*=g),A=C*X,A&&(g=Math.cos(A),v=Math.sin(A),e=n*g+s*v,y=a*g+o*v,h=c*v,_=p*v,s=n*-v+s*g,o=a*-v+o*g,c*=g,p*=g,n=e,a=y),1!==M&&(s*=M,o*=M,c*=M,p*=M),1!==D&&(n*=D,a*=D,h*=D,_*=D),1!==O&&(i*=O,r*=O,l*=O,u*=O),(d||N)&&(d&&(z+=s*-d,I+=o*-d,F+=c*-d+d),N&&(z+=P.xOrigin-(P.xOrigin*i+P.yOrigin*n)+P.xOffset,I+=P.yOrigin-(P.xOrigin*r+P.yOrigin*a)+P.yOffset),z<m&&z>-m&&(z=b),I<m&&I>-m&&(I=b),F<m&&F>-m&&(F=0)),x=P.xPercent||P.yPercent?"translate("+P.xPercent+"%,"+P.yPercent+"%) matrix3d(":"matrix3d(",x+=(i<m&&i>-m?b:i)+w+(r<m&&r>-m?b:r)+w+(l<m&&l>-m?b:l),x+=w+(u<m&&u>-m?b:u)+w+(n<m&&n>-m?b:n)+w+(a<m&&a>-m?b:a),C||R||1!==M?(x+=w+(h<m&&h>-m?b:h)+w+(_<m&&_>-m?b:_)+w+(s<m&&s>-m?b:s),x+=w+(o<m&&o>-m?b:o)+w+(c<m&&c>-m?b:c)+w+(p<m&&p>-m?b:p)+w):x+=",0,0,0,0,1,0,",x+=z+w+I+w+F+w+(Y?1+-F/Y:1)+")",k[Rt]=x}};l=zt.prototype,l.x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,Pt("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,n,s,a,o,l){if(s._lastParsedTransform===l)return a;s._lastParsedTransform=l;var h=l.scale&&"function"===typeof l.scale?l.scale:0;h&&(l.scale=h(m,t));var c,u,f,_,p,g,v,y,x,w=t._gsTransform,b=t.style,T=1e-6,S=Ct.length,P=l,k={},A="transformOrigin",C=qt(t,i,!0,P.parseTransform),R=P.transform&&("function"===typeof P.transform?P.transform(m,d):P.transform);if(C.skewType=P.skewType||C.skewType||r.defaultSkewType,s._transform=C,"rotationZ"in P&&(P.rotation=P.rotationZ),R&&"string"===typeof R&&Rt)u=W.style,u[Rt]=R,u.display="block",u.position="absolute",-1!==R.indexOf("%")&&(u.width=tt(t,"width"),u.height=tt(t,"height")),B.body.appendChild(W),c=qt(W,null,!1),"simple"===C.skewType&&(c.scaleY*=Math.cos(c.skewX*X)),C.svg&&(g=C.xOrigin,v=C.yOrigin,c.x-=C.xOffset,c.y-=C.yOffset,(P.transformOrigin||P.svgOrigin)&&(R={},Yt(t,lt(P.transformOrigin),R,P.svgOrigin,P.smoothOrigin,!0),g=R.xOrigin,v=R.yOrigin,c.x-=R.xOffset-C.xOffset,c.y-=R.yOffset-C.yOffset),(g||v)&&(y=jt(W,!0),c.x-=g-(g*y[0]+v*y[2]),c.y-=v-(g*y[1]+v*y[3]))),B.body.removeChild(W),c.perspective||(c.perspective=C.perspective),null!=P.xPercent&&(c.xPercent=ct(P.xPercent,C.xPercent)),null!=P.yPercent&&(c.yPercent=ct(P.yPercent,C.yPercent));else if("object"===typeof P){if(c={scaleX:ct(null!=P.scaleX?P.scaleX:P.scale,C.scaleX),scaleY:ct(null!=P.scaleY?P.scaleY:P.scale,C.scaleY),scaleZ:ct(P.scaleZ,C.scaleZ),x:ct(P.x,C.x),y:ct(P.y,C.y),z:ct(P.z,C.z),xPercent:ct(P.xPercent,C.xPercent),yPercent:ct(P.yPercent,C.yPercent),perspective:ct(P.transformPerspective,C.perspective)},p=P.directionalRotation,null!=p)if("object"===typeof p)for(u in p)P[u]=p[u];else P.rotation=p;"string"===typeof P.x&&-1!==P.x.indexOf("%")&&(c.x=0,c.xPercent=ct(P.x,C.xPercent)),"string"===typeof P.y&&-1!==P.y.indexOf("%")&&(c.y=0,c.yPercent=ct(P.y,C.yPercent)),c.rotation=ut("rotation"in P?P.rotation:"shortRotation"in P?P.shortRotation+"_short":C.rotation,C.rotation,"rotation",k),Mt&&(c.rotationX=ut("rotationX"in P?P.rotationX:"shortRotationX"in P?P.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",k),c.rotationY=ut("rotationY"in P?P.rotationY:"shortRotationY"in P?P.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",k)),c.skewX=ut(P.skewX,C.skewX),c.skewY=ut(P.skewY,C.skewY)}Mt&&null!=P.force3D&&(C.force3D=P.force3D,_=!0),f=C.force3D||C.z||C.rotationX||C.rotationY||c.z||c.rotationX||c.rotationY||c.perspective,f||null==P.scale||(c.scaleZ=1);while(--S>-1)x=Ct[S],R=c[x]-C[x],(R>T||R<-T||null!=P[x]||null!=Y[x])&&(_=!0,a=new xt(C,x,C[x],R,a),x in k&&(a.e=k[x]),a.xs0=0,a.plugin=o,s._overwriteProps.push(a.n));return R="function"===typeof P.transformOrigin?P.transformOrigin(m,d):P.transformOrigin,C.svg&&(R||P.svgOrigin)&&(g=C.xOffset,v=C.yOffset,Yt(t,lt(R),c,P.svgOrigin,P.smoothOrigin),a=wt(C,"xOrigin",(w?C:c).xOrigin,c.xOrigin,a,A),a=wt(C,"yOrigin",(w?C:c).yOrigin,c.yOrigin,a,A),g===C.xOffset&&v===C.yOffset||(a=wt(C,"xOffset",w?g:C.xOffset,C.xOffset,a,A),a=wt(C,"yOffset",w?v:C.yOffset,C.yOffset,a,A)),R="0px 0px"),(R||Mt&&f&&C.zOrigin)&&(Rt?(_=!0,x=Dt,R||(R=(tt(t,x,i,!1,"50% 50%")+"").split(" "),R=R[0]+" "+R[1]+" "+C.zOrigin+"px"),R+="",a=new xt(b,x,0,0,a,-1,A),a.b=b[x],a.plugin=o,Mt?(u=C.zOrigin,R=R.split(" "),C.zOrigin=(R.length>2?parseFloat(R[2]):u)||0,a.xs0=a.e=R[0]+" "+(R[1]||"50%")+" 0px",a=new xt(C,"zOrigin",0,0,a,-1,a.n),a.b=u,a.xs0=a.e=C.zOrigin):a.xs0=a.e=R):lt(R+"",C)),_&&(s._transformType=C.svg&&At||!f&&3!==this._transformType?2:3),h&&(l.scale=h),a},allowFunc:!0,prefix:!0}),Pt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Pt("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:gt("inset(0% 0% 0% 0%)",!1,!0)}),Pt("borderRadius",{defaultValue:"0px",parser:function(t,n,s,r,a,o){n=this.format(n);var l,h,c,u,f,_,p,d,m,g,v,y,x,w,b,T,S=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],P=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=n.split(" "),h=0;h<S.length;h++)this.p.indexOf("border")&&(S[h]=Q(S[h])),f=u=tt(t,S[h],i,!1,"0px"),-1!==f.indexOf(" ")&&(u=f.split(" "),f=u[0],u=u[1]),_=c=l[h],p=parseFloat(f),y=f.substr((p+"").length),x="="===_.charAt(1),x?(d=parseInt(_.charAt(0)+"1",10),_=_.substr(2),d*=parseFloat(_),v=_.substr((d+"").length-(d<0?1:0))||""):(d=parseFloat(_),v=_.substr((d+"").length)),""===v&&(v=e[s]||y),v!==y&&(w=et(t,"borderLeft",p,y),b=et(t,"borderTop",p,y),"%"===v?(f=w/m*100+"%",u=b/g*100+"%"):"em"===v?(T=et(t,"borderLeft",1,"em"),f=w/T+"em",u=b/T+"em"):(f=w+"px",u=b+"px"),x&&(_=parseFloat(f)+d+v,c=parseFloat(u)+d+v)),a=bt(P,S[h],f+" "+u,_+" "+c,!1,"0px",a);return a},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),Pt("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,n,s,r,a){return bt(t.style,n,this.format(tt(t,n,i,!1,"0px 0px")),this.format(e),!1,"0px",r)},prefix:!0,formatter:gt("0px 0px",!1,!0)}),Pt("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,n,s,r,a){var o,l,h,c,u,f,_="background-position",d=i||J(t,null),m=this.format((d?p?d.getPropertyValue(_+"-x")+" "+d.getPropertyValue(_+"-y"):d.getPropertyValue(_):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!==(-1!==g.indexOf("%"))&&g.split(",").length<2&&(f=tt(t,"backgroundImage").replace(R,""),f&&"none"!==f)){o=m.split(" "),l=g.split(" "),j.setAttribute("src",f),h=2;while(--h>-1)m=o[h],c=-1!==m.indexOf("%"),c!==(-1!==l[h].indexOf("%"))&&(u=0===h?t.offsetWidth-j.width:t.offsetHeight-j.height,o[h]=c?parseFloat(m)/100*u+"px":parseFloat(m)/u*100+"%");m=o.join(" ")}return this.parseComplex(t.style,m,g,r,a)},formatter:lt}),Pt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return t+="","co"===t.substr(0,2)?t:lt(-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:vt("marginTop,marginRight,marginBottom,marginLeft")}),Pt("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Pt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,n,s,r,a){var o,l,h;return p<9?(l=t.currentStyle,h=p<8?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(tt(t,this.p,i,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,r,a)}}),Pt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Pt("autoRound,strictUnits",{parser:function(t,e,i,n,s){return s}}),Pt("border",{defaultValue:"0px solid #000",parser:function(t,e,n,s,r,a){var o=tt(t,"borderTopWidth",i,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(b,"");return"px"!==h&&(o=parseFloat(o)/et(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(o+" "+tt(t,"borderTopStyle",i,!1,"solid")+" "+tt(t,"borderTopColor",i,!1,"#000")),l.join(" "),r,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(mt)||["#000"])[0]}}),Pt("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Pt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,s,r){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new xt(a,o,0,0,s,-1,i,!1,0,a[o],e)}});var $t=function(t){var e,i=this.t,n=i.filter||tt(this.data,"filter")||"",s=this.s+this.c*t|0;100===s&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!tt(this.data,"filter")):(i.filter=n.replace(P,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+s+")"),-1===n.indexOf("pacity")?0===s&&this.xn1||(i.filter=n+" alpha(opacity="+s+")"):i.filter=n.replace(T,"opacity="+s))};Pt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,n,s,r,a){var o=parseFloat(tt(t,"opacity",i,!1,"1")),l=t.style,h="autoAlpha"===n;return"string"===typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===tt(t,"visibility",i)&&0!==e&&(o=0),U?r=new xt(l,"opacity",o,e-o,r):(r=new xt(l,"opacity",100*o,100*(e-o),r),r.xn1=h?1:0,l.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=t,r.plugin=a,r.setRatio=$t),h&&(r=new xt(l,"visibility",0,0,r,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit"),r.xs0="inherit",s._overwriteProps.push(r.n),s._overwriteProps.push(n)),r}});var Gt=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);var e=this.data,i=this.t.style;while(e)e.v?i[e.p]=e.v:Gt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Pt("className",{parser:function(e,n,s,r,a,o,l){var h,c,u,f,_,p=e.getAttribute("class")||"",d=e.style.cssText;if(a=r._classNamePT=new xt(e,s,0,0,a,2),a.setRatio=Zt,a.pr=-11,t=!0,a.b=p,c=nt(e,i),u=e._gsClassPT,u){f={},_=u.data;while(_)f[_.p]=1,_=_._next;u.setRatio(1)}return e._gsClassPT=a,a.e="="!==n.charAt(1)?n:p.replace(new RegExp("(?:\\s|^)"+n.substr(2)+"(?![\\w-])"),"")+("+"===n.charAt(0)?" "+n.substr(2):""),e.setAttribute("class",a.e),h=st(e,c,nt(e),l,f),e.setAttribute("class",p),a.data=h.firstMPT,e.style.cssText!==d&&(e.style.cssText=d),a=a.xfirst=r.parse(e,h.difs,a,o),a}});var Ht=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,s,r,a=this.t.style,l=o.transform.parse;if("all"===this.e)a.cssText="",s=!0;else{e=this.e.split(" ").join("").split(","),n=e.length;while(--n>-1)i=e[n],o[i]&&(o[i].parse===l?s=!0:i="transformOrigin"===i?Dt:o[i].p),Gt(a,i)}s&&(Gt(a,Rt),r=this.t._gsTransform,r&&(r.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};Pt("clearProps",{parser:function(e,i,n,s,r){return r=new xt(e,n,0,0,r,2),r.setRatio=Ht,r.e=i,r.pr=-10,r.data=s._tween,t=!0,r}}),l="bezier,throwProps,physicsProps,physics2D".split(","),Tt=l.length;while(Tt--)kt(l[Tt]);l=r.prototype,l._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(n,a,l,f){if(!n.nodeType)return!1;this._target=d=n,this._tween=l,this._vars=a,m=f,h=a.autoRound,t=!1,e=a.suffixMap||r.suffixMap,i=J(n,""),s=this._overwriteProps;var p,g,v,y,x,w,b,T,P,k=n.style;if(c&&""===k.zIndex&&(p=tt(n,"zIndex",i),"auto"!==p&&""!==p||this._addLazySet(k,"zIndex",0)),"string"===typeof a&&(y=k.cssText,p=nt(n,i),k.cssText=y+";"+a,p=st(n,p,nt(n)).difs,!U&&S.test(a)&&(p.opacity=parseFloat(RegExp.$1)),a=p,k.cssText=y),a.className?this._firstPT=g=o.className.parse(n,a.className,"className",this,null,null,a):this._firstPT=g=this.parse(n,a,null),this._transformType){P=3===this._transformType,Rt?u&&(c=!0,""===k.zIndex&&(b=tt(n,"zIndex",i),"auto"!==b&&""!==b||this._addLazySet(k,"zIndex",0)),_&&this._addLazySet(k,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):k.zoom=1,v=g;while(v&&v._next)v=v._next;T=new xt(n,"transform",0,0,null,2),this._linkCSSP(T,null,v),T.setRatio=Rt?Ut:Vt,T.data=this._transform||qt(n,i,!0),T.tween=l,T.pr=-1,s.pop()}if(t){while(g){w=g._next,v=y;while(v&&v.pr>g.pr)v=v._next;(g._prev=v?v._prev:x)?g._prev._next=g:y=g,(g._next=v)?v._prev=g:x=g,g=w}this._firstPT=y}return!0},l.parse=function(t,n,s,r){var a,l,c,u,f,_,p,g,v,y,x=t.style;for(a in n){if(_=n[a],l=o[a],"function"!==typeof _||l&&l.allowFunc||(_=_(m,d)),l)s=l.parse(t,_,a,this,s,r,n);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",J(t).getPropertyValue(a)+"",_+"",a,!1,a);continue}f=tt(t,a,i)+"",v="string"===typeof _,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||v&&k.test(_)?(v||(_=pt(_),_=(_.length>3?"rgba(":"rgb(")+_.join(",")+")"),s=bt(x,a,f,_,!0,"transparent",s,0,r)):v&&F.test(_)?s=bt(x,a,f,_,!0,null,s,0,r):(c=parseFloat(f),p=c||0===c?f.substr((c+"").length):"",""!==f&&"auto"!==f||("width"===a||"height"===a?(c=ot(t,a,i),p="px"):"left"===a||"top"===a?(c=it(t,a,i),p="px"):(c="opacity"!==a?0:1,p="")),y=v&&"="===_.charAt(1),y?(u=parseInt(_.charAt(0)+"1",10),_=_.substr(2),u*=parseFloat(_),g=_.replace(b,"")):(u=parseFloat(_),g=v?_.replace(b,""):""),""===g&&(g=a in e?e[a]:p),_=u||0===u?(y?u+c:u)+g:n[a],p!==g&&(""===g&&"lineHeight"!==a||(u||0===u)&&c&&(c=et(t,a,c,p),"%"===g?(c/=et(t,a,100,"%")/100,!0!==n.strictUnits&&(f=c+"%")):"em"===g||"rem"===g||"vw"===g||"vh"===g?c/=et(t,a,1,g):"px"!==g&&(u=et(t,a,u,g),g="px"),y&&(u||0===u)&&(_=u+c+g))),y&&(u+=c),!c&&0!==c||!u&&0!==u?void 0!==x[a]&&(_||_+""!=="NaN"&&null!=_)?(s=new xt(x,a,u||c||0,0,s,-1,a,!1,0,f,_),s.xs0="none"!==_||"display"!==a&&-1===a.indexOf("Style")?_:f):G("invalid "+a+" tween value: "+n[a]):(s=new xt(x,a,c,u-c,s,0,a,!1!==h&&("px"===g||"zIndex"===a),0,f,_),s.xs0=g))}r&&s&&!s.plugin&&(s.plugin=r)}return s},l.setRatio=function(t){var e,i,n,s=this._firstPT,r=1e-6;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)while(s){if(e=s.c*t+s.s,s.r?e=s.r(e):e<r&&e>-r&&(e=0),s.type)if(1===s.type)if(n=s.l,2===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2;else if(3===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3;else if(4===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4;else if(5===n)s.t[s.p]=s.xs0+e+s.xs1+s.xn1+s.xs2+s.xn2+s.xs3+s.xn3+s.xs4+s.xn4+s.xs5;else{for(i=s.xs0+e+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}else-1===s.type?s.t[s.p]=s.xs0:s.setRatio&&s.setRatio(t);else s.t[s.p]=e+s.xs0;s=s._next}else while(s)2!==s.type?s.t[s.p]=s.b:s.setRatio(t),s=s._next;else while(s){if(2!==s.type)if(s.r&&-1!==s.type)if(e=s.r(s.s+s.c),s.type){if(1===s.type){for(n=s.l,i=s.xs0+e+s.xs1,n=1;n<s.l;n++)i+=s["xn"+n]+s["xs"+(n+1)];s.t[s.p]=i}}else s.t[s.p]=e+s.xs0;else s.t[s.p]=s.e;else s.setRatio(t);s=s._next}},l._enableTransforms=function(t){this._transform=this._transform||qt(this._target,i,!0),this._transformType=this._transform.svg&&At||!t&&3!==this._transformType?2:3};var Qt=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};l._addLazySet=function(t,e,i){var n=this._firstPT=new xt(t,e,0,0,this._firstPT,2);n.e=i,n.setRatio=Qt,n.data=this},l._linkCSSP=function(t,e,i,n){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,n=!0),i?i._next=t:n||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},l._mod=function(t){var e=this._firstPT;while(e)"function"===typeof t[e.p]&&(e.r=t[e.p]),e=e._next},l._kill=function(t){var e,i,s,r=t;if(t.autoAlpha||t.alpha){for(i in r={},t)r[i]=t[i];r.opacity=1,r.autoAlpha&&(r.visibility=1)}t.className&&(e=this._classNamePT)&&(s=e.xfirst,s&&s._prev?this._linkCSSP(s._prev,e._next,s._prev._prev):s===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,s._prev),this._classNamePT=null),e=this._firstPT;while(e)e.plugin&&e.plugin!==i&&e.plugin._kill&&(e.plugin._kill(t),i=e.plugin),e=e._next;return n["d"].prototype._kill.call(this,r)};var Kt=function(t,e,i){var n,s,r,a;if(t.slice){s=t.length;while(--s>-1)Kt(t[s],e,i)}else{n=t.childNodes,s=n.length;while(--s>-1)r=n[s],a=r.type,r.style&&(e.push(nt(r)),i&&i.push(r)),1!==a&&9!==a&&11!==a||!r.childNodes.length||Kt(r,e,i)}};return r.cascadeTo=function(t,e,i){var s,r,a,o,l=n["f"].to(t,e,i),h=[l],c=[],u=[],f=[],_=n["f"]._internals.reservedProps;t=l._targets||l.target,Kt(t,c,f),l.render(e,!0,!0),Kt(t,u),l.render(0,!0,!0),l._enabled(!0),s=f.length;while(--s>-1)if(r=st(f[s],c[s],u[s]),r.firstMPT){for(a in r=r.difs,i)_[a]&&(r[a]=i[a]);for(a in o={},r)o[a]=c[s][a];h.push(n["f"].fromTo(f[s],e,o,r))}return h},n["d"].activate([r]),r}),!0);var r=n["g"].CSSPlugin,a=n["e"]._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,n){var s,r;if("function"!==typeof t.setAttribute)return!1;for(s in e)r=e[s],"function"===typeof r&&(r=r(n,t)),this._addTween(t,"setAttribute",t.getAttribute(s)+"",r+"",s,!1,s),this._overwriteProps.push(s);return!0}}),o=n["e"]._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),l=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}},h=function(t,e){while(t)t.f||t.blob||(t.m=e||Math.round),t=t._next},c=o.prototype;
/*!
 * VERSION: 0.6.1
 * DATE: 2018-08-27
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */c._onInitAllProps=function(){var t,e,i,n,s=this._tween,r=s.vars.roundProps,a={},o=s._propLookup.roundProps;if("object"!==typeof r||r.push){"string"===typeof r&&(r=r.split(",")),i=r.length;while(--i>-1)a[r[i]]=Math.round}else for(n in r)a[n]=l(r[n]);for(n in a){t=s._firstPT;while(t)e=t._next,t.pg?t.t._mod(a):t.n===n&&(2===t.f&&t.t?h(t.t._firstPT,a[n]):(this._add(t.t,n,t.s,t.c,a[n]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:s._firstPT===t&&(s._firstPT=e),t._next=t._prev=null,s._propLookup[n]=o)),t=e}return!1},c._add=function(t,e,i,n,s){this._addTween(t,e,i,i+n,e,s||Math.round),this._overwriteProps.push(e)};
/*!
 * VERSION: 0.3.1
 * DATE: 2018-08-27
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
var u=n["e"]._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,n){"object"!==typeof e&&(e={rotation:e}),this.finals={};var s,r,a,o,l,h,c=!0===e.useRadians?2*Math.PI:360,u=1e-6;for(s in e)"useRadians"!==s&&(o=e[s],"function"===typeof o&&(o=o(n,t)),h=(o+"").split("_"),r=h[0],a=parseFloat("function"!==typeof t[s]?t[s]:t[s.indexOf("set")||"function"!==typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]()),o=this.finals[s]="string"===typeof r&&"="===r.charAt(1)?a+parseInt(r.charAt(0)+"1",10)*Number(r.substr(2)):Number(r)||0,l=o-a,h.length&&(r=h.join("_"),-1!==r.indexOf("short")&&(l%=c,l!==l%(c/2)&&(l=l<0?l+c:l-c)),-1!==r.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==r.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>u||l<-u)&&(this._addTween(t,s,a,a+l,s),this._overwriteProps.push(s)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else{e=this._firstPT;while(e)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}}});u._autoCSS=!0,
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */
n["e"]._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){n["c"].call(this,t);var e,i,s=this,r=s.vars;for(i in s._labels={},s.autoRemoveChildren=!!r.autoRemoveChildren,s.smoothChildTiming=!!r.smoothChildTiming,s._sortChildren=!0,s._onUpdate=r.onUpdate,r)e=r[i],a(e)&&-1!==e.join("").indexOf("{self}")&&(r[i]=s._swapSelfInParams(e));a(r.tweens)&&s.add(r.tweens,0,r.align,r.stagger)},e=1e-8,i=n["f"]._internals,s=t._internals={},r=i.isSelector,a=i.isArray,o=i.lazyTweens,l=i.lazyRender,h=n["e"]._gsDefine.globals,c=function(t){var e,i={};for(e in t)i[e]=t[e];return i},u=function(t,e,i){var n,s,r=t.cycle;for(n in r)s=r[n],t[n]="function"===typeof s?s(i,e[i],e):s[i%s.length];delete t.cycle},f=s.pauseCallback=function(){},_=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},p=function(t,e,i,n){var s="immediateRender";return s in e||(e[s]=!(i&&!1===i[s]||n)),e},d=function(t){if("function"===typeof t)return t;var e="object"===typeof t?t:{each:t},i=e.ease,n=e.from||0,s=e.base||0,r={},a=isNaN(n),o=e.axis,l={center:.5,end:1}[n]||0;return function(t,h,c){var u,f,_,p,d,m,g,v,y,x=(c||e).length,w=r[x];if(!w){if(y="auto"===e.grid?0:(e.grid||[1/0])[0],!y){g=-1/0;while(g<(g=c[y++].getBoundingClientRect().left)&&y<x);y--}for(w=r[x]=[],u=a?Math.min(y,x)*l-.5:n%y,f=a?x*l/y-.5:n/y|0,g=0,v=1/0,m=0;m<x;m++)_=m%y-u,p=f-(m/y|0),w[m]=d=o?Math.abs("y"===o?p:_):Math.sqrt(_*_+p*p),d>g&&(g=d),d<v&&(v=d);w.max=g-v,w.min=v,w.v=x=e.amount||e.each*(y>x?x-1:o?"y"===o?x/y:y:Math.max(y,x/y))||0,w.b=x<0?s-x:s}return x=(w[t]-w.min)/w.max,w.b+(i?i.getRatio(x):x)*w.v}},m=t.prototype=new n["c"];return t.version="2.1.3",t.distribute=d,m.constructor=t,m.kill()._gc=m._forcingPlayhead=m._hasPause=!1,m.to=function(t,e,i,s){var r=i.repeat&&h.TweenMax||n["f"];return e?this.add(new r(t,e,i),s):this.set(t,i,s)},m.from=function(t,e,i,s){return this.add((i.repeat&&h.TweenMax||n["f"]).from(t,e,p(this,i)),s)},m.fromTo=function(t,e,i,s,r){var a=s.repeat&&h.TweenMax||n["f"];return s=p(this,s,i),e?this.add(a.fromTo(t,e,i,s),r):this.set(t,s,r)},m.staggerTo=function(e,i,s,a,o,l,h,f){var p,m,g=new t({onComplete:l,onCompleteParams:h,callbackScope:f,smoothChildTiming:this.smoothChildTiming}),v=d(s.stagger||a),y=s.startAt,x=s.cycle;for("string"===typeof e&&(e=n["f"].selector(e)||e),e=e||[],r(e)&&(e=_(e)),m=0;m<e.length;m++)p=c(s),y&&(p.startAt=c(y),y.cycle&&u(p.startAt,e,m)),x&&(u(p,e,m),null!=p.duration&&(i=p.duration,delete p.duration)),g.to(e[m],i,p,v(m,e[m],e));return this.add(g,o)},m.staggerFrom=function(t,e,i,n,s,r,a,o){return i.runBackwards=!0,this.staggerTo(t,e,p(this,i),n,s,r,a,o)},m.staggerFromTo=function(t,e,i,n,s,r,a,o,l){return n.startAt=i,this.staggerTo(t,e,p(this,n,i),s,r,a,o,l)},m.call=function(t,e,i,s){return this.add(n["f"].delayedCall(0,t,e,i),s)},m.set=function(t,e,i){return this.add(new n["f"](t,0,p(this,e,null,!0)),i)},t.exportRoot=function(e,i){e=e||{},null==e.smoothChildTiming&&(e.smoothChildTiming=!0);var s,r,a,o,l=new t(e),h=l._timeline;null==i&&(i=!0),h._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=h._time,a=h._first;while(a)o=a._next,i&&a instanceof n["f"]&&a.target===a.vars.onComplete||(r=a._startTime-a._delay,r<0&&(s=1),l.add(a,r)),a=o;return h.add(l,0),s&&l.totalDuration(),l},m.add=function(e,i,s,r){var o,l,h,c,u,f,_=this;if("number"!==typeof i&&(i=_._parseTimeOrLabel(i,0,!0,e)),!(e instanceof n["a"])){if(e instanceof Array||e&&e.push&&a(e)){for(s=s||"normal",r=r||0,o=i,l=e.length,h=0;h<l;h++)a(c=e[h])&&(c=new t({tweens:c})),_.add(c,o),"string"!==typeof c&&"function"!==typeof c&&("sequence"===s?o=c._startTime+c.totalDuration()/c._timeScale:"start"===s&&(c._startTime-=c.delay())),o+=r;return _._uncache(!0)}if("string"===typeof e)return _.addLabel(e,i);if("function"!==typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=n["f"].delayedCall(0,e)}if(n["c"].prototype.add.call(_,e,i),(e._time||!e._duration&&e._initted)&&(o=(_.rawTime()-e._startTime)*e._timeScale,(!e._duration||Math.abs(Math.max(0,Math.min(e.totalDuration(),o)))-e._totalTime>1e-5)&&e.render(o,!1,!1)),(_._gc||_._time===_._duration)&&!_._paused&&_._duration<_.duration()){u=_,f=u.rawTime()>e._startTime;while(u._timeline)f&&u._timeline.smoothChildTiming?u.totalTime(u._totalTime,!0):u._gc&&u._enabled(!0,!1),u=u._timeline}return _},m.remove=function(t){if(t instanceof n["a"]){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?n["a"]._rootFramesTimeline:n["a"]._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&a(t)){var i=t.length;while(--i>-1)this.remove(t[i]);return this}return"string"===typeof t?this.removeLabel(t):this.kill(null,t)},m._remove=function(t,e){n["c"].prototype._remove.call(this,t,e);var i=this._last;return i?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},m.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},m.insert=m.insertMultiple=function(t,e,i,n){return this.add(t,e||0,i,n)},m.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},m.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},m.addPause=function(t,e,i,s){var r=n["f"].delayedCall(0,f,i,s||this);return r.vars.onComplete=r.vars.onReverseComplete=e,r.data="isPause",this._hasPause=!0,this.add(r,t)},m.removeLabel=function(t){return delete this._labels[t],this},m.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},m._parseTimeOrLabel=function(t,e,i,s){var r,o;if(s instanceof n["a"]&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&a(s))){o=s.length;while(--o>-1)s[o]instanceof n["a"]&&s[o].timeline===this&&this.remove(s[o])}if(r="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-r:0,i);if(e=e||0,"string"!==typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=r);else{if(o=t.indexOf("="),-1===o)return null==this._labels[t]?i?this._labels[t]=r+e:e:this._labels[t]+e;e=parseInt(t.charAt(o-1)+"1",10)*Number(t.substr(o+1)),t=o>1?this._parseTimeOrLabel(t.substr(0,o-1),0,i):r}return Number(t)+e},m.seek=function(t,e){return this.totalTime("number"===typeof t?t:this._parseTimeOrLabel(t),!1!==e)},m.stop=function(){return this.paused(!0)},m.gotoAndPlay=function(t,e){return this.play(t,e)},m.gotoAndStop=function(t,e){return this.pause(t,e)},m.render=function(t,i,n){this._gc&&this._enabled(!0,!1);var s,r,a,h,c,u,f,_,p=this,d=p._time,m=p._dirty?p.totalDuration():p._totalDuration,g=p._startTime,v=p._timeScale,y=p._paused;if(d!==p._time&&(t+=p._time-d),p._hasPause&&!p._forcingPlayhead&&!i){if(t>d){s=p._first;while(s&&s._startTime<=t&&!u)s._duration||"isPause"!==s.data||s.ratio||0===s._startTime&&0===p._rawPrevTime||(u=s),s=s._next}else{s=p._last;while(s&&s._startTime>=t&&!u)s._duration||"isPause"===s.data&&s._rawPrevTime>0&&(u=s),s=s._prev}u&&(p._time=p._totalTime=t=u._startTime,_=p._startTime+(p._reversed?p._duration-t:t)/p._timeScale)}if(t>=m-e&&t>=0)p._totalTime=p._time=m,p._reversed||p._hasPausedChild()||(r=!0,h="onComplete",c=!!p._timeline.autoRemoveChildren,0===p._duration&&(t<=0&&t>=-e||p._rawPrevTime<0||p._rawPrevTime===e)&&p._rawPrevTime!==t&&p._first&&(c=!0,p._rawPrevTime>e&&(h="onReverseComplete"))),p._rawPrevTime=p._duration||!i||t||p._rawPrevTime===t?t:e,t=m+1e-4;else if(t<e)if(p._totalTime=p._time=0,t>-e&&(t=0),(0!==d||0===p._duration&&p._rawPrevTime!==e&&(p._rawPrevTime>0||t<0&&p._rawPrevTime>=0))&&(h="onReverseComplete",r=p._reversed),t<0)p._active=!1,p._timeline.autoRemoveChildren&&p._reversed?(c=r=!0,h="onReverseComplete"):p._rawPrevTime>=0&&p._first&&(c=!0),p._rawPrevTime=t;else{if(p._rawPrevTime=p._duration||!i||t||p._rawPrevTime===t?t:e,0===t&&r){s=p._first;while(s&&0===s._startTime)s._duration||(r=!1),s=s._next}t=0,p._initted||(c=!0)}else p._totalTime=p._time=p._rawPrevTime=t;if(p._time!==d&&p._first||n||c||u){if(p._initted||(p._initted=!0),p._active||!p._paused&&p._time!==d&&t>0&&(p._active=!0),0===d&&p.vars.onStart&&(0===p._time&&p._duration||i||p._callback("onStart")),f=p._time,f>=d){s=p._first;while(s){if(a=s._next,f!==p._time||p._paused&&!y)break;(s._active||s._startTime<=f&&!s._paused&&!s._gc)&&(u===s&&(p.pause(),p._pauseTime=_),s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,i,n):s.render((t-s._startTime)*s._timeScale,i,n)),s=a}}else{s=p._last;while(s){if(a=s._prev,f!==p._time||p._paused&&!y)break;if(s._active||s._startTime<=d&&!s._paused&&!s._gc){if(u===s){u=s._prev;while(u&&u.endTime()>p._time)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,i,n),u=u._prev;u=null,p.pause(),p._pauseTime=_}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,i,n):s.render((t-s._startTime)*s._timeScale,i,n)}s=a}}p._onUpdate&&(i||(o.length&&l(),p._callback("onUpdate"))),h&&(p._gc||g!==p._startTime&&v===p._timeScale||(0===p._time||m>=p.totalDuration())&&(r&&(o.length&&l(),p._timeline.autoRemoveChildren&&p._enabled(!1,!1),p._active=!1),!i&&p.vars[h]&&p._callback(h)))}},m._hasPausedChild=function(){var e=this._first;while(e){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},m.getChildren=function(t,e,i,s){s=s||-9999999999;var r=[],a=this._first,o=0;while(a)a._startTime<s||(a instanceof n["f"]?!1!==e&&(r[o++]=a):(!1!==i&&(r[o++]=a),!1!==t&&(r=r.concat(a.getChildren(!0,e,i)),o=r.length))),a=a._next;return r},m.getTweensOf=function(t,e){var i,s,r=this._gc,a=[],o=0;r&&this._enabled(!0,!0),i=n["f"].getTweensOf(t),s=i.length;while(--s>-1)(i[s].timeline===this||e&&this._contains(i[s]))&&(a[o++]=i[s]);return r&&this._enabled(!1,!0),a},m.recent=function(){return this._recent},m._contains=function(t){var e=t.timeline;while(e){if(e===this)return!0;e=e.timeline}return!1},m.shiftChildren=function(t,e,i){i=i||0;var n,s=this._first,r=this._labels;while(s)s._startTime>=i&&(s._startTime+=t),s=s._next;if(e)for(n in r)r[n]>=i&&(r[n]+=t);return this._uncache(!0)},m._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),n=i.length,s=!1;while(--n>-1)i[n]._kill(t,e)&&(s=!0);return s},m.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;this._time=this._totalTime=0;while(--i>-1)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},m.invalidate=function(){var t=this._first;while(t)t.invalidate(),t=t._next;return n["a"].prototype.invalidate.call(this)},m._enabled=function(t,e){if(t===this._gc){var i=this._first;while(i)i._enabled(t,!0),i=i._next}return n["c"].prototype._enabled.call(this,t,e)},m.totalTime=function(t,e,i){this._forcingPlayhead=!0;var s=n["a"].prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},m.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},m.totalDuration=function(t){if(!arguments.length){if(this._dirty){var e,i,n=0,s=this,r=s._last,a=999999999999;while(r)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>a&&s._sortChildren&&!r._paused&&!s._calculatingDuration?(s._calculatingDuration=1,s.add(r,r._startTime-r._delay),s._calculatingDuration=0):a=r._startTime,r._startTime<0&&!r._paused&&(n-=r._startTime,s._timeline.smoothChildTiming&&(s._startTime+=r._startTime/s._timeScale,s._time-=r._startTime,s._totalTime-=r._startTime,s._rawPrevTime-=r._startTime),s.shiftChildren(-r._startTime,!1,-9999999999),a=0),i=r._startTime+r._totalDuration/r._timeScale,i>n&&(n=i),r=e;s._duration=s._totalDuration=n,s._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},m.paused=function(t){if(!1===t&&this._paused){var e=this._first;while(e)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next}return n["a"].prototype.paused.apply(this,arguments)},m.usesFrames=function(){var t=this._timeline;while(t._timeline)t=t._timeline;return t===n["a"]._rootFramesTimeline},m.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 f=n["g"].TimelineLite;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 */n["e"]._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(){var t=function(t){f.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},e=1e-8,i=n["f"]._internals,s=i.lazyTweens,r=i.lazyRender,a=n["e"]._gsDefine.globals,o=new n["b"](null,null,1,0),l=t.prototype=new f;return l.constructor=t,l.kill()._gc=!1,t.version="2.1.3",l.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),f.prototype.invalidate.call(this)},l.addCallback=function(t,e,i,s){return this.add(n["f"].delayedCall(0,t,i,s),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else{var i=this.getTweensOf(t,!1),n=i.length,s=this._parseTimeOrLabel(e);while(--n>-1)i[n]._startTime===s&&i[n]._enabled(!1,!1)}return this},l.removePause=function(t){return this.removeCallback(f._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var i,s,r,l={ease:o,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},h=e.repeat&&a.TweenMax||n["f"];for(s in e)l[s]=e[s];return l.time=this._parseTimeOrLabel(t),i=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,r=new h(this,i,l),l.onStart=function(){r.target.paused(!0),r.vars.time===r.target.time()||i!==r.duration()||r.isFromTo||r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale).render(r.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||r,e.onStartParams||[])},r},l.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var n=this.tweenTo(e,i);return n.isFromTo=1,n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},l.render=function(t,i,n){this._gc&&this._enabled(!0,!1);var a,o,l,h,c,u,f,_,p,d=this,m=d._time,g=d._dirty?d.totalDuration():d._totalDuration,v=d._duration,y=d._totalTime,x=d._startTime,w=d._timeScale,b=d._rawPrevTime,T=d._paused,S=d._cycle;if(m!==d._time&&(t+=d._time-m),t>=g-e&&t>=0)d._locked||(d._totalTime=g,d._cycle=d._repeat),d._reversed||d._hasPausedChild()||(o=!0,h="onComplete",c=!!d._timeline.autoRemoveChildren,0===d._duration&&(t<=0&&t>=-e||b<0||b===e)&&b!==t&&d._first&&(c=!0,b>e&&(h="onReverseComplete"))),d._rawPrevTime=d._duration||!i||t||d._rawPrevTime===t?t:e,d._yoyo&&1&d._cycle?d._time=t=0:(d._time=v,t=v+1e-4);else if(t<e)if(d._locked||(d._totalTime=d._cycle=0),d._time=0,t>-e&&(t=0),(0!==m||0===v&&b!==e&&(b>0||t<0&&b>=0)&&!d._locked)&&(h="onReverseComplete",o=d._reversed),t<0)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(c=o=!0,h="onReverseComplete"):b>=0&&d._first&&(c=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=v||!i||t||d._rawPrevTime===t?t:e,0===t&&o){a=d._first;while(a&&0===a._startTime)a._duration||(o=!1),a=a._next}t=0,d._initted||(c=!0)}else 0===v&&b<0&&(c=!0),d._time=d._rawPrevTime=t,d._locked||(d._totalTime=t,0!==d._repeat&&(u=v+d._repeatDelay,d._cycle=d._totalTime/u>>0,d._cycle&&d._cycle===d._totalTime/u&&y<=t&&d._cycle--,d._time=d._totalTime-d._cycle*u,d._yoyo&&1&d._cycle&&(d._time=v-d._time),d._time>v?(d._time=v,t=v+1e-4):d._time<0?d._time=t=0:t=d._time));if(d._hasPause&&!d._forcingPlayhead&&!i){if(t=d._time,t>m||d._repeat&&S!==d._cycle){a=d._first;while(a&&a._startTime<=t&&!f)a._duration||"isPause"!==a.data||a.ratio||0===a._startTime&&0===d._rawPrevTime||(f=a),a=a._next}else{a=d._last;while(a&&a._startTime>=t&&!f)a._duration||"isPause"===a.data&&a._rawPrevTime>0&&(f=a),a=a._prev}f&&(p=d._startTime+(d._reversed?d._duration-f._startTime:f._startTime)/d._timeScale,f._startTime<v&&(d._time=d._rawPrevTime=t=f._startTime,d._totalTime=t+d._cycle*(d._totalDuration+d._repeatDelay)))}if(d._cycle!==S&&!d._locked){var P=d._yoyo&&0!==(1&S),k=P===(d._yoyo&&0!==(1&d._cycle)),A=d._totalTime,C=d._cycle,R=d._rawPrevTime,O=d._time;if(d._totalTime=S*v,d._cycle<S?P=!P:d._totalTime+=v,d._time=m,d._rawPrevTime=0===v?b-1e-4:b,d._cycle=S,d._locked=!0,m=P?0:v,d.render(m,i,0===v),i||d._gc||d.vars.onRepeat&&(d._cycle=C,d._locked=!1,d._callback("onRepeat")),m!==d._time)return;if(k&&(d._cycle=S,d._locked=!0,m=P?v+1e-4:-1e-4,d.render(m,!0,!1)),d._locked=!1,d._paused&&!T)return;d._time=O,d._totalTime=A,d._cycle=C,d._rawPrevTime=R}if(d._time!==m&&d._first||n||c||f){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._totalTime!==y&&t>0&&(d._active=!0),0===y&&d.vars.onStart&&(0===d._totalTime&&d._totalDuration||i||d._callback("onStart")),_=d._time,_>=m){a=d._first;while(a){if(l=a._next,_!==d._time||d._paused&&!T)break;(a._active||a._startTime<=d._time&&!a._paused&&!a._gc)&&(f===a&&(d.pause(),d._pauseTime=p),a._reversed?a.render((a._dirty?a.totalDuration():a._totalDuration)-(t-a._startTime)*a._timeScale,i,n):a.render((t-a._startTime)*a._timeScale,i,n)),a=l}}else{a=d._last;while(a){if(l=a._prev,_!==d._time||d._paused&&!T)break;if(a._active||a._startTime<=m&&!a._paused&&!a._gc){if(f===a){f=a._prev;while(f&&f.endTime()>d._time)f.render(f._reversed?f.totalDuration()-(t-f._startTime)*f._timeScale:(t-f._startTime)*f._timeScale,i,n),f=f._prev;f=null,d.pause(),d._pauseTime=p}a._reversed?a.render((a._dirty?a.totalDuration():a._totalDuration)-(t-a._startTime)*a._timeScale,i,n):a.render((t-a._startTime)*a._timeScale,i,n)}a=l}}d._onUpdate&&(i||(s.length&&r(),d._callback("onUpdate"))),h&&(d._locked||d._gc||x!==d._startTime&&w===d._timeScale||(0===d._time||g>=d.totalDuration())&&(o&&(s.length&&r(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!i&&d.vars[h]&&d._callback(h)))}else y!==d._totalTime&&d._onUpdate&&(i||d._callback("onUpdate"))},l.getActive=function(t,e,i){var n,s,r=[],a=this.getChildren(t||null==t,e||null==t,!!i),o=0,l=a.length;for(n=0;n<l;n++)s=a[n],s.isActive()&&(r[o++]=s);return r},l.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),n=i.length;for(e=0;e<n;e++)if(i[e].time>t)return i[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);var e=this.getLabelsArray(),i=e.length;while(--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,f.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&&(f.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){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,n=this._cycle,s=n*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&n?i-t+s:this._repeat?t+s:t,e)},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+e)},t}),!0);var _=n["g"].TimelineMax,p=180/Math.PI,d=[],m=[],g=[],v={},y=n["e"]._gsDefine.globals,x=function(t,e,i,n){i===n&&(i=n-(n-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},w=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",b=function(t,e,i,n){var s={a:t},r={},a={},o={c:n},l=(t+e)/2,h=(e+i)/2,c=(i+n)/2,u=(l+h)/2,f=(h+c)/2,_=(f-u)/8;return s.b=l+(t-l)/4,r.b=u+_,s.c=r.a=(s.b+r.b)/2,r.c=a.a=(u+f)/2,a.b=f-_,o.b=c+(n-c)/4,a.c=o.a=(a.b+o.b)/2,[s,r,a,o]},T=function(t,e,i,n,s){var r,a,o,l,h,c,u,f,_,p,v,y,x,w=t.length-1,T=0,S=t[0].a;for(r=0;r<w;r++)h=t[T],a=h.a,o=h.d,l=t[T+1].d,s?(v=d[r],y=m[r],x=(y+v)*e*.25/(n?.5:g[r]||.5),c=o-(o-a)*(n?.5*e:0!==v?x/v:0),u=o+(l-o)*(n?.5*e:0!==y?x/y:0),f=o-(c+((u-c)*(3*v/(v+y)+.5)/4||0))):(c=o-(o-a)*e*.5,u=o+(l-o)*e*.5,f=o-(c+u)/2),c+=f,u+=f,h.c=_=c,h.b=0!==r?S:S=h.a+.6*(h.c-h.a),h.da=o-a,h.ca=_-a,h.ba=S-a,i?(p=b(a,S,_,o),t.splice(T,1,p[0],p[1],p[2],p[3]),T+=4):T++,S=u;h=t[T],h.b=S,h.c=S+.4*(h.d-S),h.da=h.d-h.a,h.ca=h.c-h.a,h.ba=S-h.a,i&&(p=b(h.a,S,h.c,h.d),t.splice(T,1,p[0],p[1],p[2],p[3]))},S=function(t,e,i,n){var s,r,a,o,l,h,c=[];if(n){t=[n].concat(t),r=t.length;while(--r>-1)"string"===typeof(h=t[r][e])&&"="===h.charAt(1)&&(t[r][e]=n[e]+Number(h.charAt(0)+h.substr(2)))}if(s=t.length-2,s<0)return c[0]=new x(t[0][e],0,0,t[0][e]),c;for(r=0;r<s;r++)a=t[r][e],o=t[r+1][e],c[r]=new x(a,0,0,o),i&&(l=t[r+2][e],d[r]=(d[r]||0)+(o-a)*(o-a),m[r]=(m[r]||0)+(l-o)*(l-o));return c[r]=new x(t[r][e],0,0,t[r+1][e]),c},P=function(t,e,i,n,s,r){var a,o,l,h,c,u,f,_,p={},y=[],x=r||t[0];for(o in s="string"===typeof s?","+s+",":w,null==e&&(e=1),t[0])y.push(o);if(t.length>1){_=t[t.length-1],f=!0,a=y.length;while(--a>-1)if(o=y[a],Math.abs(x[o]-_[o])>.05){f=!1;break}f&&(t=t.concat(),r&&t.unshift(r),t.push(t[1]),r=t[t.length-3])}d.length=m.length=g.length=0,a=y.length;while(--a>-1)o=y[a],v[o]=-1!==s.indexOf(","+o+","),p[o]=S(t,o,v[o],r);a=d.length;while(--a>-1)d[a]=Math.sqrt(d[a]),m[a]=Math.sqrt(m[a]);if(!n){a=y.length;while(--a>-1)if(v[o])for(l=p[y[a]],u=l.length-1,h=0;h<u;h++)c=l[h+1].da/m[h]+l[h].da/d[h]||0,g[h]=(g[h]||0)+c*c;a=g.length;while(--a>-1)g[a]=Math.sqrt(g[a])}a=y.length,h=i?4:1;while(--a>-1)o=y[a],l=p[o],T(l,e,i,n,v[o]),f&&(l.splice(0,h),l.splice(l.length-h,h));return p},k=function(t,e,i){e=e||"soft";var n,s,r,a,o,l,h,c,u,f,_,p={},d="cubic"===e?3:2,m="soft"===e,g=[];if(m&&i&&(t=[i].concat(t)),null==t||t.length<d+1)throw"invalid Bezier data";for(u in t[0])g.push(u);l=g.length;while(--l>-1){for(u=g[l],p[u]=o=[],f=0,c=t.length,h=0;h<c;h++)n=null==i?t[h][u]:"string"===typeof(_=t[h][u])&&"="===_.charAt(1)?i[u]+Number(_.charAt(0)+_.substr(2)):Number(_),m&&h>1&&h<c-1&&(o[f++]=(n+o[f-2])/2),o[f++]=n;for(c=f-d+1,f=0,h=0;h<c;h+=d)n=o[h],s=o[h+1],r=o[h+2],a=2===d?0:o[h+3],o[f++]=_=3===d?new x(n,s,r,a):new x(n,(2*s+n)/3,(2*s+r)/3,r);o.length=f}return p},A=function(t,e,i){var n,s,r,a,o,l,h,c,u,f,_,p=1/i,d=t.length;while(--d>-1)for(f=t[d],r=f.a,a=f.d-r,o=f.c-r,l=f.b-r,n=s=0,c=1;c<=i;c++)h=p*c,u=1-h,n=s-(s=(h*h*a+3*u*(h*o+u*l))*h),_=d*i+c-1,e[_]=(e[_]||0)+n*n},C=function(t,e){e=e>>0||6;var i,n,s,r,a=[],o=[],l=0,h=0,c=e-1,u=[],f=[];for(i in t)A(t[i],a,e);for(s=a.length,n=0;n<s;n++)l+=Math.sqrt(a[n]),r=n%e,f[r]=l,r===c&&(h+=l,r=n/e>>0,u[r]=f,o[r]=h,l=0,f=[]);return{length:h,lengths:o,segments:u}},R=n["e"]._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var n,s,r,a,o,l=e.values||[],h={},c=l[0],u=e.autoRotate||i.vars.orientToBezier;for(n in this._autoRotate=u?u instanceof Array?u:[["x","y","rotation",!0===u?0:Number(u)||0]]:null,c)this._props.push(n);r=this._props.length;while(--r>-1)n=this._props[r],this._overwriteProps.push(n),s=this._func[n]="function"===typeof t[n],h[n]=s?t[n.indexOf("set")||"function"!==typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),o||h[n]!==l[0][n]&&(o=h);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?P(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,o):k(l,e.type,h),this._segCount=this._beziers[n].length,this._timeRes){var f=C(this._beziers,this._timeRes);this._length=f.length,this._lengths=f.lengths,this._segments=f.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(u=this._autoRotate){this._initialRotations=[],u[0]instanceof Array||(this._autoRotate=u=[u]),r=u.length;while(--r>-1){for(a=0;a<3;a++)n=u[r][a],this._func[n]="function"===typeof t[n]&&t[n.indexOf("set")||"function"!==typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=u[r][2],this._initialRotations[r]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,n,s,r,a,o,l,h,c,u,f=this._segCount,_=this._func,d=this._target,m=t!==this._startRatio;if(this._timeRes){if(h=this._lengths,c=this._curSeg,u=t*this._length,n=this._li,u>this._l2&&n<f-1){l=f-1;while(n<l&&(this._l2=h[++n])<=u);this._l1=h[n-1],this._li=n,this._curSeg=c=this._segments[n],this._s2=c[this._s1=this._si=0]}else if(u<this._l1&&n>0){while(n>0&&(this._l1=h[--n])>=u);0===n&&u<this._l1?this._l1=0:n++,this._l2=h[n],this._li=n,this._curSeg=c=this._segments[n],this._s1=c[(this._si=c.length-1)-1]||0,this._s2=c[this._si]}if(e=n,u-=this._l1,n=this._si,u>this._s2&&n<c.length-1){l=c.length-1;while(n<l&&(this._s2=c[++n])<=u);this._s1=c[n-1],this._si=n}else if(u<this._s1&&n>0){while(n>0&&(this._s1=c[--n])>=u);0===n&&u<this._s1?this._s1=0:n++,this._s2=c[n],this._si=n}a=1===t?1:(n+(u-this._s1)/(this._s2-this._s1))*this._prec||0}else e=t<0?0:t>=1?f-1:f*t>>0,a=(t-e*(1/f))*f;i=1-a,n=this._props.length;while(--n>-1)s=this._props[n],r=this._beziers[s][e],o=(a*a*r.da+3*i*(a*r.ca+i*r.ba))*a+r.a,this._mod[s]&&(o=this._mod[s](o,d)),_[s]?d[s](o):d[s]=o;if(this._autoRotate){var g,v,y,x,w,b,T,S=this._autoRotate;n=S.length;while(--n>-1)s=S[n][2],b=S[n][3]||0,T=!0===S[n][4]?1:p,r=this._beziers[S[n][0]],g=this._beziers[S[n][1]],r&&g&&(r=r[e],g=g[e],v=r.a+(r.b-r.a)*a,x=r.b+(r.c-r.b)*a,v+=(x-v)*a,x+=(r.c+(r.d-r.c)*a-x)*a,y=g.a+(g.b-g.a)*a,w=g.b+(g.c-g.b)*a,y+=(w-y)*a,w+=(g.c+(g.d-g.c)*a-w)*a,o=m?Math.atan2(w-y,x-v)*T+b:this._initialRotations[n],this._mod[s]&&(o=this._mod[s](o,d)),_[s]?d[s](o):d[s]=o)}}}),O=R.prototype;
/*!
 * VERSION: 1.3.9
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/R.bezierThrough=P,R.cubicToQuadratic=b,R._autoCSS=!0,R.quadraticToCubic=function(t,e,i){return new x(t,(2*e+t)/3,(2*e+i)/3,i)},R._cssRegister=function(){var t=y.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,s=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,r,a,o,l){e instanceof Array&&(e={values:e}),l=new R;var h,c,u,f=e.values,_=f.length-1,p=[],d={};if(_<0)return o;for(h=0;h<=_;h++)u=i(t,f[h],a,o,l,_!==h),p[h]=u.end;for(c in e)d[c]=e[c];return d.values=p,o=new s(t,"bezier",0,0,u.pt,2),o.data=u,o.plugin=l,o.setRatio=n,0===d.autoRotate&&(d.autoRotate=!0),!d.autoRotate||d.autoRotate instanceof Array||(h=!0===d.autoRotate?0:Number(d.autoRotate),d.autoRotate=null!=u.end.left?[["left","top","rotation",h,!1]]:null!=u.end.x&&[["x","y","rotation",h,!1]]),d.autoRotate&&(a._transform||a._enableTransforms(!1),u.autoRotate=a._target._gsTransform,u.proxy.rotation=u.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(u.proxy,d,a._tween),o}})}},O._mod=function(t){var e,i=this._overwriteProps,n=i.length;while(--n>-1)e=t[i[n]],e&&"function"===typeof e&&(this._mod[i[n]]=e)},O._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t){delete this._beziers[e],delete this._func[e],i=n.length;while(--i>-1)n[i]===e&&n.splice(i,1)}if(n=this._autoRotate,n){i=n.length;while(--i>-1)t[n[i][2]]&&n.splice(i,1)}return this._super._kill.call(this,t)},
/*!
 * VERSION: 1.16.1
 * DATE: 2018-08-27
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
 * This work is subject to the terms at http://greensock.com/standard-license or for
 * Club GreenSock members, the software agreement that was issued with your membership.
 * 
 * @author: Jack Doyle, jack@greensock.com
 **/
n["e"]._gsDefine("easing.Back",["easing.Ease"],(function(){var t,e,i,s,r=n["e"].GreenSockGlobals||n["e"],a=r.com.greensock,o=2*Math.PI,l=Math.PI/2,h=a._class,c=function(t,e){var i=h("easing."+t,(function(){}),!0),s=i.prototype=new n["b"];return s.constructor=i,s.getRatio=e,i},u=n["b"].register||function(){},f=function(t,e,i,n,s){var r=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return u(r,t),r},_=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},p=function(t,e){var i=h("easing."+t,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),s=i.prototype=new n["b"];return s.constructor=i,s.getRatio=e,s.config=function(t){return new i(t)},i},d=f("Back",p("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),p("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),p("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),m=h("easing.SlowMo",(function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i}),!0),g=m.prototype=new n["b"];return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},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),g=t.prototype=new n["b"],g.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)},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),g=e.prototype=new n["b"],g.constructor=e,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=e.config=function(t,i,n){return new e(t,i,n)},i=h("easing.RoughEase",(function(t){t=t||{};var e,i,s,r,a,o,l=t.taper||"none",h=[],c=0,u=0|(t.points||20),f=u,p=!1!==t.randomize,d=!0===t.clamp,m=t.template instanceof n["b"]?t.template:null,g="number"===typeof t.strength?.4*t.strength:.4;while(--f>-1)e=p?Math.random():1/u*f,i=m?m.getRatio(e):e,"none"===l?s=g:"out"===l?(r=1-e,s=r*r*g):"in"===l?s=e*e*g:e<.5?(r=2*e,s=r*r*.5*g):(r=2*(1-e),s=r*r*.5*g),p?i+=Math.random()*s-.5*s:f%2?i+=.5*s:i-=.5*s,d&&(i>1?i=1:i<0&&(i=0)),h[c++]={x:e,y:i};h.sort((function(t,e){return t.x-e.x})),o=new _(1,1,null),f=u;while(--f>-1)a=h[f],o=new _(a.x,a.y,o);this._prev=new _(0,0,0!==o.t?o:o.next)}),!0),g=i.prototype=new n["b"],g.constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){while(e.next&&t>=e.t)e=e.next;e=e.prev}else while(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,t<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)}))),s=function(t,e,i){var s=h("easing."+t,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2}),!0),r=s.prototype=new n["b"];return r.constructor=s,r.getRatio=e,r.config=function(t,e){return new s(t,e)},s},f("Elastic",s("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),s("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),s("ElasticInOut",(function(t){return(t*=2)<1?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 n["b"].map[t]}},!0),u(r.SlowMo,"SlowMo","ease,"),u(i,"RoughEase","ease,"),u(t,"SteppedEase","ease,"),d}),!0);var D=n["g"].Back,M=n["g"].Elastic,z=n["g"].Bounce,I=n["g"].RoughEase,F=n["g"].SlowMo,X=n["g"].SteppedEase,N=n["g"].Circ,Y=n["g"].Expo,E=n["g"].Sine,B=n["g"].ExpoScaleEase,L=s;L._autoActivated=[f,_,r,a,R,o,u,D,M,z,I,F,X,N,Y,E,B]},da06:function(t,e,i){"use strict";i("1cbf")},f138:function(t,e,i){}}]);
//# sourceMappingURL=chunk-60c160b6.6affe63f.js.map