
/*
	* LayerSlider Utils
	*
	* (c) 2011-2026 George Krupa, John Gera & Kreatura Media
	*
	* LayerSlider home:		https://layerslider.com/
	* Licensing:			https://layerslider.com/licensing/
*/



var _initLayerSlider=function(t,e,i){var r=jQuery;r(document).ready(function(){void 0===r.fn.layerSlider?window._layerSlider&&window._layerSlider.showNotice&&window._layerSlider.showNotice(t,"jquery"):(i&&r.each(i,function(e,i){r(t).on(e,i)}),r(t).layerSlider(e))})},_layerSliderEffectsPriority=["replicator","highlight","reveal","borderize","typewriter","liquify","slicer"];if("object"==typeof LS_Meta&&LS_Meta.fixGSAP){var LS_oldGS=window.GreenSockGlobals,LS_oldGSQueue=window._gsQueue,LS_oldGSDefine=window._gsDefine;window._gsDefine=null,delete window._gsDefine;var LS_GSAP=window.GreenSockGlobals={}}var LS_nsProtocol=function(t,e){for(var i="",r=0;r<e.length;r++)i+=t[e[r]];return i}(["/","t","p",":","h","/","t"],[4,6,1,2,3,0,5]),_gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;
/*!
 * VERSION: 2.1.3
 * DATE: 2019-05-17
 * UPDATES AND DOCS AT: http://greensock.com
 *
 * Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
 *
 * @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
 **/
 (_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var t,e,i,r,n,s,a,o,l,h,u,_,f,c,p,d;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},n=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},s=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},a=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,h,u){var _,f,c,p,d,m,g,y,v,x=(u||e).length,T=s[x];if(!T){if(!(v="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=u[v++].getBoundingClientRect().left)&&x>v;);v--}for(T=s[x]=[],_=a?Math.min(v,x)*l-.5:r%v,f=a?x*l/v-.5:r/v|0,g=0,y=1/0,m=0;x>m;m++)c=m%v-_,p=f-(m/v|0),T[m]=d=o?Math.abs("y"===o?p:c):Math.sqrt(c*c+p*p),d>g&&(g=d),y>d&&(y=d);T.max=g-y,T.min=y,T.v=x=e.amount||e.each*(v>x?x-1:o?"y"===o?x/v:v:Math.max(v,x/v))||0,T.b=0>x?n-x:n}return x=(T[t]-T.min)/T.max,T.b+(i?i.getRatio(x):x)*T.v}},a=function(t,e,r){i.call(this,t,e,r),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=a.prototype.render},o=1e-8,l=i._internals,h=l.isSelector,u=l.isArray,_=a.prototype=i.to({},.1,{}),f=[];a.version="2.1.3",_.constructor=a,_.kill()._gc=!1,a.killTweensOf=a.killDelayedCallsTo=i.killTweensOf,a.getTweensOf=i.getTweensOf,a.lagSmoothing=i.lagSmoothing,a.ticker=i.ticker,a.render=i.render,a.distribute=s,_.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),i.prototype.invalidate.call(this)},_.updateTo=function(t,e){var r,n=this,s=n.ratio,a=n.vars.immediateRender||t.immediateRender;for(r in e&&n._startTime<n._timeline._time&&(n._startTime=n._timeline._time,n._uncache(!1),n._gc?n._enabled(!0,!1):n._timeline.insert(n,n._startTime-n._delay)),t)n.vars[r]=t[r];if(n._initted||a)if(e)n._initted=!1,a&&n.render(0,!0,!0);else if(n._gc&&n._enabled(!0,!1),n._notifyPluginsOfEnabled&&n._firstPT&&i._onPluginEvent("_onDisable",n),n._time/n._duration>.998){var o=n._totalTime;n.render(0,!0,!1),n._initted=!1,n.render(o,!0,!1)}else if(n._initted=!1,n._init(),n._time>0||a)for(var l,h=1/(1-s),u=n._firstPT;u;)l=u.s+u.c,u.c*=h,u.s=l-u.c,u=u._next;return n},_.render=function(t,e,r){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var n,s,a,h,u,_,f,c,p,d=this,m=d._dirty?d.totalDuration():d._totalDuration,g=d._time,y=d._totalTime,v=d._cycle,x=d._duration,T=d._rawPrevTime;if(t>=m-o&&t>=0?(d._totalTime=m,d._cycle=d._repeat,d._yoyo&&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||(n=!0,s="onComplete",r=r||d._timeline.autoRemoveChildren),0===x&&(d._initted||!d.vars.lazy||r)&&(d._startTime===d._timeline._duration&&(t=0),(0>T||0>=t&&t>=-o||T===o&&"isPause"!==d.data)&&T!==t&&(r=!0,T>o&&(s="onReverseComplete")),d._rawPrevTime=c=!e||t||T===t?t:o)):o>t?(d._totalTime=d._time=d._cycle=0,d.ratio=d._ease._calcEnd?d._ease.getRatio(0):0,(0!==y||0===x&&T>0)&&(s="onReverseComplete",n=d._reversed),t>-o?t=0:0>t&&(d._active=!1,0===x&&(d._initted||!d.vars.lazy||r)&&(T>=0&&(r=!0),d._rawPrevTime=c=!e||t||T===t?t:o)),d._initted||(r=!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&&t>=y&&d._cycle--,d._time=d._totalTime-d._cycle*h,d._yoyo&&!!(1&d._cycle)&&(d._time=x-d._time,(p=d._yoyoEase||d.vars.yoyoEase)&&(d._yoyoEase||(!0!==p||d._initted?d._yoyoEase=p=!0===p?d._ease:p instanceof Ease?p:Ease.map[p]:(p=d.vars.ease,d._yoyoEase=p=p?p instanceof Ease?p:"function"==typeof p?new Ease(p,d.vars.easeParams):Ease.map[p]||i.defaultEase:i.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?(u=d._time/x,(1===(_=d._easeType)||3===_&&u>=.5)&&(u=1-u),3===_&&(u*=2),1===(f=d._easePower)?u*=u:2===f?u*=u*u:3===f?u*=u*u*u:4===f&&(u*=u*u*u*u),d.ratio=1===_?1-u:2===_?u:d._time/x<.5?u/2:1-u/2):p||(d.ratio=d._ease.getRatio(d._time/x))),g!==d._time||r||v!==d._cycle){if(!d._initted){if(d._init(),!d._initted||d._gc)return;if(!r&&d._firstPT&&(!1!==d.vars.lazy&&d._duration||d.vars.lazy&&!d._duration))return d._time=g,d._totalTime=y,d._rawPrevTime=T,d._cycle=v,l.lazyTweens.push(d),void(d._lazy=[t,e]);!d._time||n||p?n&&this._ease._calcEnd&&!p&&(d.ratio=d._ease.getRatio(0===d._time?0:1)):d.ratio=d._ease.getRatio(d._time/x)}for(!1!==d._lazy&&(d._lazy=!1),d._active||!d._paused&&d._time!==g&&t>=0&&(d._active=!0),0===y&&(2===d._initted&&t>0&&d._init(),d._startAt&&(t>=0?d._startAt.render(t,!0,r):s||(s="_dummyGS")),d.vars.onStart&&(0!==d._totalTime||0===x)&&(e||d._callback("onStart"))),a=d._firstPT;a;)a.f?a.t[a.p](a.c*d.ratio+a.s):a.t[a.p]=a.c*d.ratio+a.s,a=a._next;d._onUpdate&&(0>t&&d._startAt&&d._startTime&&d._startAt.render(t,!0,r),e||(d._totalTime!==y||s)&&d._callback("onUpdate")),d._cycle!==v&&(e||d._gc||d.vars.onRepeat&&d._callback("onRepeat")),s&&(!d._gc||r)&&(0>t&&d._startAt&&!d._onUpdate&&d._startTime&&d._startAt.render(t,!0,r),n&&(d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[s]&&d._callback(s),0===x&&d._rawPrevTime===o&&c!==o&&(d._rawPrevTime=0))}else y!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},a.to=function(t,e,i){return new a(t,e,i)},a.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new a(t,e,i)},a.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new a(t,e,r)},a.staggerTo=a.allTo=function(t,e,o,l,_,c,p){var d,m,g,y,v=[],x=s(o.stagger||l),T=o.cycle,w=(o.startAt||f).cycle;for(u(t)||("string"==typeof t&&(t=i.selector(t)||t),h(t)&&(t=r(t))),d=(t=t||[]).length-1,g=0;d>=g;g++){for(y in m={},o)m[y]=o[y];if(T&&(n(m,t,g),null!=m.duration&&(e=m.duration,delete m.duration)),w){for(y in w=m.startAt={},o.startAt)w[y]=o.startAt[y];n(m.startAt,t,g)}m.delay=x(g,t[g],t)+(m.delay||0),g===d&&_&&(m.onComplete=function(){o.onComplete&&o.onComplete.apply(o.onCompleteScope||this,arguments),_.apply(p||o.callbackScope||this,c||f)}),v[g]=new a(t[g],e,m)}return v},a.staggerFrom=a.allFrom=function(t,e,i,r,n,s,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,a.staggerTo(t,e,i,r,n,s,o)},a.staggerFromTo=a.allFromTo=function(t,e,i,r,n,s,o,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,a.staggerTo(t,e,r,n,s,o,l)},a.delayedCall=function(t,e,i,r,n){return new a(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},a.set=function(t,e){return new a(t,0,e)},a.isTweening=function(t){return i.getTweensOf(t,!0).length>0};var c=function(t,e){for(var r=[],n=0,s=t._first;s;)s instanceof i?r[n++]=s:(e&&(r[n++]=s),n=(r=r.concat(c(s,e))).length),s=s._next;return r},p=a.getAllTweens=function(e){return c(t._rootTimeline,e).concat(c(t._rootFramesTimeline,e))};a.killAll=function(t,i,r,n){null==i&&(i=!0),null==r&&(r=!0);var s,a,o,l=p(0!=n),h=l.length,u=i&&r&&n;for(o=0;h>o;o++)a=l[o],(u||a instanceof e||(s=a.target===a.vars.onComplete)&&r||i&&!s)&&(t?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},a.killChildTweensOf=function(t,e){if(null!=t){var n,s,o,_,f,c=l.tweenLookup;if("string"==typeof t&&(t=i.selector(t)||t),h(t)&&(t=r(t)),u(t))for(_=t.length;--_>-1;)a.killChildTweensOf(t[_],e);else{for(o in n=[],c)for(s=c[o].target.parentNode;s;)s===t&&(n=n.concat(c[o].tweens)),s=s.parentNode;for(f=n.length,_=0;f>_;_++)e&&n[_].totalTime(n[_].totalDuration()),n[_]._enabled(!1,!1)}}};var d=function(t,i,r,n){i=!1!==i,r=!1!==r;for(var s,a,o=p(n=!1!==n),l=i&&r&&n,h=o.length;--h>-1;)a=o[h],(l||a instanceof e||(s=a.target===a.vars.onComplete)&&r||i&&!s)&&a.paused(t)};return a.pauseAll=function(t,e,i){d(!0,t,e,i)},a.resumeAll=function(t,e,i){d(!1,t,e,i)},a.globalTimeScale=function(e){var r=t._rootTimeline,n=i.ticker.time;return arguments.length?(e=e||o,r._startTime=n-(n-r._startTime)*r._timeScale/e,r=t._rootFramesTimeline,n=i.ticker.frame,r._startTime=n-(n-r._startTime)*r._timeScale/e,r._timeScale=t._rootTimeline._timeScale=e,e):r._timeScale},_.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},_.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},_.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},_.duration=function(e){return arguments.length?t.prototype.duration.call(this,e):this._duration},_.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)},_.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},_.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},_.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},a},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(t,e,i){var r=function(t){e.call(this,t);var i,r,n=this,s=n.vars;for(r in n._labels={},n.autoRemoveChildren=!!s.autoRemoveChildren,n.smoothChildTiming=!!s.smoothChildTiming,n._sortChildren=!0,n._onUpdate=s.onUpdate,s)i=s[r],l(i)&&-1!==i.join("").indexOf("{self}")&&(s[r]=n._swapSelfInParams(i));l(s.tweens)&&n.add(s.tweens,0,s.align,s.stagger)},n=1e-8,s=i._internals,a=r._internals={},o=s.isSelector,l=s.isArray,h=s.lazyTweens,u=s.lazyRender,_=_gsScope._gsDefine.globals,f=function(t){var e,i={};for(e in t)i[e]=t[e];return i},c=function(t,e,i){var r,n,s=t.cycle;for(r in s)n=s[r],t[r]="function"==typeof n?n(i,e[i],e):n[i%n.length];delete t.cycle},p=a.pauseCallback=function(){},d=function(t,e,i,r){var n="immediateRender";return n in e||(e[n]=!(i&&!1===i[n]||r)),e},m=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,r=e.from||0,n=e.base||0,s={},a=isNaN(r),o=e.axis,l={center:.5,end:1}[r]||0;return function(t,h,u){var _,f,c,p,d,m,g,y,v,x=(u||e).length,T=s[x];if(!T){if(!(v="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=u[v++].getBoundingClientRect().left)&&x>v;);v--}for(T=s[x]=[],_=a?Math.min(v,x)*l-.5:r%v,f=a?x*l/v-.5:r/v|0,g=0,y=1/0,m=0;x>m;m++)c=m%v-_,p=f-(m/v|0),T[m]=d=o?Math.abs("y"===o?p:c):Math.sqrt(c*c+p*p),d>g&&(g=d),y>d&&(y=d);T.max=g-y,T.min=y,T.v=x=e.amount||e.each*(v>x?x-1:o?"y"===o?x/v:v:Math.max(v,x/v))||0,T.b=0>x?n-x:n}return x=(T[t]-T.min)/T.max,T.b+(i?i.getRatio(x):x)*T.v}},g=r.prototype=new e;return r.version="2.1.3",r.distribute=m,g.constructor=r,g.kill()._gc=g._forcingPlayhead=g._hasPause=!1,g.to=function(t,e,r,n){var s=r.repeat&&_.TweenMax||i;return e?this.add(new s(t,e,r),n):this.set(t,r,n)},g.from=function(t,e,r,n){return this.add((r.repeat&&_.TweenMax||i).from(t,e,d(0,r)),n)},g.fromTo=function(t,e,r,n,s){var a=n.repeat&&_.TweenMax||i;return n=d(0,n,r),e?this.add(a.fromTo(t,e,r,n),s):this.set(t,n,s)},g.staggerTo=function(t,e,n,s,a,l,h,u){var _,p,d=new r({onComplete:l,onCompleteParams:h,callbackScope:u,smoothChildTiming:this.smoothChildTiming}),g=m(n.stagger||s),y=n.startAt,v=n.cycle;for("string"==typeof t&&(t=i.selector(t)||t),o(t=t||[])&&(t=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i}(t)),p=0;p<t.length;p++)_=f(n),y&&(_.startAt=f(y),y.cycle&&c(_.startAt,t,p)),v&&(c(_,t,p),null!=_.duration&&(e=_.duration,delete _.duration)),d.to(t[p],e,_,g(p,t[p],t));return this.add(d,a)},g.staggerFrom=function(t,e,i,r,n,s,a,o){return i.runBackwards=!0,this.staggerTo(t,e,d(0,i),r,n,s,a,o)},g.staggerFromTo=function(t,e,i,r,n,s,a,o,l){return r.startAt=i,this.staggerTo(t,e,d(0,r,i),n,s,a,o,l)},g.call=function(t,e,r,n){return this.add(i.delayedCall(0,t,e,r),n)},g.set=function(t,e,r){return this.add(new i(t,0,d(0,e,null,!0)),r)},r.exportRoot=function(t,e){null==(t=t||{}).smoothChildTiming&&(t.smoothChildTiming=!0);var n,s,a,o,l=new r(t),h=l._timeline;for(null==e&&(e=!0),h._remove(l,!0),l._startTime=0,l._rawPrevTime=l._time=l._totalTime=h._time,a=h._first;a;)o=a._next,e&&a instanceof i&&a.target===a.vars.onComplete||(0>(s=a._startTime-a._delay)&&(n=1),l.add(a,s)),a=o;return h.add(l,0),n&&l.totalDuration(),l},g.add=function(n,s,a,o){var h,u,_,f,c,p,d=this;if("number"!=typeof s&&(s=d._parseTimeOrLabel(s,0,!0,n)),!(n instanceof t)){if(n instanceof Array||n&&n.push&&l(n)){for(a=a||"normal",o=o||0,h=s,u=n.length,_=0;u>_;_++)l(f=n[_])&&(f=new r({tweens:f})),d.add(f,h),"string"!=typeof f&&"function"!=typeof f&&("sequence"===a?h=f._startTime+f.totalDuration()/f._timeScale:"start"===a&&(f._startTime-=f.delay())),h+=o;return d._uncache(!0)}if("string"==typeof n)return d.addLabel(n,s);if("function"!=typeof n)throw"Cannot add "+n+" into the timeline; it is not a tween, timeline, function, or string.";n=i.delayedCall(0,n)}if(e.prototype.add.call(d,n,s),(n._time||!n._duration&&n._initted)&&(h=(d.rawTime()-n._startTime)*n._timeScale,(!n._duration||Math.abs(Math.max(0,Math.min(n.totalDuration(),h)))-n._totalTime>1e-5)&&n.render(h,!1,!1)),(d._gc||d._time===d._duration)&&!d._paused&&d._duration<d.duration())for(p=(c=d).rawTime()>n._startTime;c._timeline;)p&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return d},g.remove=function(e){if(e instanceof t){this._remove(e,!1);var i=e._timeline=e.vars.useFrames?t._rootFramesTimeline:t._rootTimeline;return e._startTime=(e._paused?e._pauseTime:i._time)-(e._reversed?e.totalDuration()-e._totalTime:e._totalTime)/e._timeScale,this}if(e instanceof Array||e&&e.push&&l(e)){for(var r=e.length;--r>-1;)this.remove(e[r]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},g._remove=function(t,i){return e.prototype._remove.call(this,t,i),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},g.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},g.insert=g.insertMultiple=function(t,e,i,r){return this.add(t,e||0,i,r)},g.appendMultiple=function(t,e,i,r){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,r)},g.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},g.addPause=function(t,e,r,n){var s=i.delayedCall(0,p,r,n||this);return s.vars.onComplete=s.vars.onReverseComplete=e,s.data="isPause",this._hasPause=!0,this.add(s,t)},g.removeLabel=function(t){return delete this._labels[t],this},g.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},g._parseTimeOrLabel=function(e,i,r,n){var s,a;if(n instanceof t&&n.timeline===this)this.remove(n);else if(n&&(n instanceof Array||n.push&&l(n)))for(a=n.length;--a>-1;)n[a]instanceof t&&n[a].timeline===this&&this.remove(n[a]);if(s="number"!=typeof e||i?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof i)return this._parseTimeOrLabel(i,r&&"number"==typeof e&&null==this._labels[i]?e-s:0,r);if(i=i||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=s);else{if(-1===(a=e.indexOf("=")))return null==this._labels[e]?r?this._labels[e]=s+i:i:this._labels[e]+i;i=parseInt(e.charAt(a-1)+"1",10)*Number(e.substr(a+1)),e=a>1?this._parseTimeOrLabel(e.substr(0,a-1),0,r):s}return Number(e)+i},g.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},g.stop=function(){return this.paused(!0)},g.gotoAndPlay=function(t,e){return this.play(t,e)},g.gotoAndStop=function(t,e){return this.pause(t,e)},g.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,a,o,l,_,f,c,p=this,d=p._time,m=p._dirty?p.totalDuration():p._totalDuration,g=p._startTime,y=p._timeScale,v=p._paused;if(d!==p._time&&(t+=p._time-d),p._hasPause&&!p._forcingPlayhead&&!e){if(t>d)for(r=p._first;r&&r._startTime<=t&&!_;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===p._rawPrevTime||(_=r),r=r._next;else for(r=p._last;r&&r._startTime>=t&&!_;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(_=r),r=r._prev;_&&(p._time=p._totalTime=t=_._startTime,c=p._startTime+(p._reversed?p._duration-t:t)/p._timeScale)}if(t>=m-n&&t>=0)p._totalTime=p._time=m,p._reversed||p._hasPausedChild()||(s=!0,o="onComplete",l=!!p._timeline.autoRemoveChildren,0===p._duration&&(0>=t&&t>=-n||p._rawPrevTime<0||p._rawPrevTime===n)&&p._rawPrevTime!==t&&p._first&&(l=!0,p._rawPrevTime>n&&(o="onReverseComplete"))),p._rawPrevTime=p._duration||!e||t||p._rawPrevTime===t?t:n,t=m+1e-4;else if(n>t)if(p._totalTime=p._time=0,t>-n&&(t=0),(0!==d||0===p._duration&&p._rawPrevTime!==n&&(p._rawPrevTime>0||0>t&&p._rawPrevTime>=0))&&(o="onReverseComplete",s=p._reversed),0>t)p._active=!1,p._timeline.autoRemoveChildren&&p._reversed?(l=s=!0,o="onReverseComplete"):p._rawPrevTime>=0&&p._first&&(l=!0),p._rawPrevTime=t;else{if(p._rawPrevTime=p._duration||!e||t||p._rawPrevTime===t?t:n,0===t&&s)for(r=p._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,p._initted||(l=!0)}else p._totalTime=p._time=p._rawPrevTime=t;if(p._time!==d&&p._first||i||l||_){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||e||p._callback("onStart")),(f=p._time)>=d)for(r=p._first;r&&(a=r._next,f===p._time&&(!p._paused||v));)(r._active||r._startTime<=f&&!r._paused&&!r._gc)&&(_===r&&(p.pause(),p._pauseTime=c),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=a;else for(r=p._last;r&&(a=r._prev,f===p._time&&(!p._paused||v));){if(r._active||r._startTime<=d&&!r._paused&&!r._gc){if(_===r){for(_=r._prev;_&&_.endTime()>p._time;)_.render(_._reversed?_.totalDuration()-(t-_._startTime)*_._timeScale:(t-_._startTime)*_._timeScale,e,i),_=_._prev;_=null,p.pause(),p._pauseTime=c}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=a}p._onUpdate&&(e||(h.length&&u(),p._callback("onUpdate"))),o&&(p._gc||(g===p._startTime||y!==p._timeScale)&&(0===p._time||m>=p.totalDuration())&&(s&&(h.length&&u(),p._timeline.autoRemoveChildren&&p._enabled(!1,!1),p._active=!1),!e&&p.vars[o]&&p._callback(o)))}},g._hasPausedChild=function(){for(var t=this._first;t;){if(t._paused||t instanceof r&&t._hasPausedChild())return!0;t=t._next}return!1},g.getChildren=function(t,e,r,n){n=n||-9999999999;for(var s=[],a=this._first,o=0;a;)a._startTime<n||(a instanceof i?!1!==e&&(s[o++]=a):(!1!==r&&(s[o++]=a),!1!==t&&(o=(s=s.concat(a.getChildren(!0,e,r))).length))),a=a._next;return s},g.getTweensOf=function(t,e){var r,n,s=this._gc,a=[],o=0;for(s&&this._enabled(!0,!0),n=(r=i.getTweensOf(t)).length;--n>-1;)(r[n].timeline===this||e&&this._contains(r[n]))&&(a[o++]=r[n]);return s&&this._enabled(!1,!0),a},g.recent=function(){return this._recent},g._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},g.shiftChildren=function(t,e,i){i=i||0;for(var r,n=this._first,s=this._labels;n;)n._startTime>=i&&(n._startTime+=t),n=n._next;if(e)for(r in s)s[r]>=i&&(s[r]+=t);return this._uncache(!0)},g._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),r=i.length,n=!1;--r>-1;)i[r]._kill(t,e)&&(n=!0);return n},g.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},g.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this)},g._enabled=function(t,i){if(t===this._gc)for(var r=this._first;r;)r._enabled(t,!0),r=r._next;return e.prototype._enabled.call(this,t,i)},g.totalTime=function(e,i,r){this._forcingPlayhead=!0;var n=t.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,n},g.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},g.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,r=0,n=this,s=n._last,a=999999999999;s;)e=s._prev,s._dirty&&s.totalDuration(),s._startTime>a&&n._sortChildren&&!s._paused&&!n._calculatingDuration?(n._calculatingDuration=1,n.add(s,s._startTime-s._delay),n._calculatingDuration=0):a=s._startTime,s._startTime<0&&!s._paused&&(r-=s._startTime,n._timeline.smoothChildTiming&&(n._startTime+=s._startTime/n._timeScale,n._time-=s._startTime,n._totalTime-=s._startTime,n._rawPrevTime-=s._startTime),n.shiftChildren(-s._startTime,!1,-9999999999),a=0),(i=s._startTime+s._totalDuration/s._timeScale)>r&&(r=i),s=e;n._duration=n._totalDuration=r,n._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},g.paused=function(e){if(!1===e&&this._paused)for(var i=this._first;i;)i._startTime===this._time&&"isPause"===i.data&&(i._rawPrevTime=0),i=i._next;return t.prototype.paused.apply(this,arguments)},g.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===t._rootFramesTimeline},g.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},r},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,e,i){var r=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},n=1e-8,s=e._internals,a=s.lazyTweens,o=s.lazyRender,l=_gsScope._gsDefine.globals,h=new i(null,null,1,0),u=r.prototype=new t;return u.constructor=r,u.kill()._gc=!1,r.version="2.1.3",u.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},u.addCallback=function(t,i,r,n){return this.add(e.delayedCall(0,t,r,n),i)},u.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),r=i.length,n=this._parseTimeOrLabel(e);--r>-1;)i[r]._startTime===n&&i[r]._enabled(!1,!1);return this},u.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},u.tweenTo=function(t,i){i=i||{};var r,n,s,a={ease:h,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},o=i.repeat&&l.TweenMax||e;for(n in i)a[n]=i[n];return a.time=this._parseTimeOrLabel(t),r=Math.abs(Number(a.time)-this._time)/this._timeScale||.001,s=new o(this,r,a),a.onStart=function(){s.target.paused(!0),s.vars.time===s.target.time()||r!==s.duration()||s.isFromTo||s.duration(Math.abs(s.vars.time-s.target.time())/s.target._timeScale).render(s.time(),!0,!0),i.onStart&&i.onStart.apply(i.onStartScope||i.callbackScope||s,i.onStartParams||[])},s},u.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var r=this.tweenTo(e,i);return r.isFromTo=1,r.duration(Math.abs(r.vars.time-t)/this._timeScale||.001)},u.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,l,h,u,_,f,c,p,d=this,m=d._time,g=d._dirty?d.totalDuration():d._totalDuration,y=d._duration,v=d._totalTime,x=d._startTime,T=d._timeScale,w=d._rawPrevTime,b=d._paused,P=d._cycle;if(m!==d._time&&(t+=d._time-m),t>=g-n&&t>=0)d._locked||(d._totalTime=g,d._cycle=d._repeat),d._reversed||d._hasPausedChild()||(s=!0,h="onComplete",u=!!d._timeline.autoRemoveChildren,0===d._duration&&(0>=t&&t>=-n||0>w||w===n)&&w!==t&&d._first&&(u=!0,w>n&&(h="onReverseComplete"))),d._rawPrevTime=d._duration||!e||t||d._rawPrevTime===t?t:n,d._yoyo&&1&d._cycle?d._time=t=0:(d._time=y,t=y+1e-4);else if(n>t)if(d._locked||(d._totalTime=d._cycle=0),d._time=0,t>-n&&(t=0),(0!==m||0===y&&w!==n&&(w>0||0>t&&w>=0)&&!d._locked)&&(h="onReverseComplete",s=d._reversed),0>t)d._active=!1,d._timeline.autoRemoveChildren&&d._reversed?(u=s=!0,h="onReverseComplete"):w>=0&&d._first&&(u=!0),d._rawPrevTime=t;else{if(d._rawPrevTime=y||!e||t||d._rawPrevTime===t?t:n,0===t&&s)for(r=d._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,d._initted||(u=!0)}else 0===y&&0>w&&(u=!0),d._time=d._rawPrevTime=t,d._locked||(d._totalTime=t,0!==d._repeat&&(_=y+d._repeatDelay,d._cycle=d._totalTime/_|0,d._cycle&&d._cycle===d._totalTime/_&&t>=v&&d._cycle--,d._time=d._totalTime-d._cycle*_,d._yoyo&&1&d._cycle&&(d._time=y-d._time),d._time>y?(d._time=y,t=y+1e-4):d._time<0?d._time=t=0:t=d._time));if(d._hasPause&&!d._forcingPlayhead&&!e){if((t=d._time)>m||d._repeat&&P!==d._cycle)for(r=d._first;r&&r._startTime<=t&&!f;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===d._rawPrevTime||(f=r),r=r._next;else for(r=d._last;r&&r._startTime>=t&&!f;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(f=r),r=r._prev;f&&(p=d._startTime+(d._reversed?d._duration-f._startTime:f._startTime)/d._timeScale,f._startTime<y&&(d._time=d._rawPrevTime=t=f._startTime,d._totalTime=t+d._cycle*(d._totalDuration+d._repeatDelay)))}if(d._cycle!==P&&!d._locked){var S=d._yoyo&&!!(1&P),O=S===(d._yoyo&&!!(1&d._cycle)),k=d._totalTime,C=d._cycle,R=d._rawPrevTime,A=d._time;if(d._totalTime=P*y,d._cycle<P?S=!S:d._totalTime+=y,d._time=m,d._rawPrevTime=0===y?w-1e-4:w,d._cycle=P,d._locked=!0,m=S?0:y,d.render(m,e,0===y),e||d._gc||d.vars.onRepeat&&(d._cycle=C,d._locked=!1,d._callback("onRepeat")),m!==d._time)return;if(O&&(d._cycle=P,d._locked=!0,m=S?y+1e-4:-1e-4,d.render(m,!0,!1)),d._locked=!1,d._paused&&!b)return;d._time=A,d._totalTime=k,d._cycle=C,d._rawPrevTime=R}if(d._time!==m&&d._first||i||u||f){if(d._initted||(d._initted=!0),d._active||!d._paused&&d._totalTime!==v&&t>0&&(d._active=!0),0===v&&d.vars.onStart&&(0===d._totalTime&&d._totalDuration||e||d._callback("onStart")),(c=d._time)>=m)for(r=d._first;r&&(l=r._next,c===d._time&&(!d._paused||b));)(r._active||r._startTime<=d._time&&!r._paused&&!r._gc)&&(f===r&&(d.pause(),d._pauseTime=p),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=l;else for(r=d._last;r&&(l=r._prev,c===d._time&&(!d._paused||b));){if(r._active||r._startTime<=m&&!r._paused&&!r._gc){if(f===r){for(f=r._prev;f&&f.endTime()>d._time;)f.render(f._reversed?f.totalDuration()-(t-f._startTime)*f._timeScale:(t-f._startTime)*f._timeScale,e,i),f=f._prev;f=null,d.pause(),d._pauseTime=p}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)}r=l}d._onUpdate&&(e||(a.length&&o(),d._callback("onUpdate"))),h&&(d._locked||d._gc||(x===d._startTime||T!==d._timeScale)&&(0===d._time||g>=d.totalDuration())&&(s&&(a.length&&o(),d._timeline.autoRemoveChildren&&d._enabled(!1,!1),d._active=!1),!e&&d.vars[h]&&d._callback(h)))}else v!==d._totalTime&&d._onUpdate&&(e||d._callback("onUpdate"))},u.getActive=function(t,e,i){var r,n,s=[],a=this.getChildren(t||null==t,e||null==t,!!i),o=0,l=a.length;for(r=0;l>r;r++)(n=a[r]).isActive()&&(s[o++]=n);return s},u.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),r=i.length;for(e=0;r>e;e++)if(i[e].time>t)return i[e].name;return null},u.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},u.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},u.invalidate=function(){return this._locked=!1,t.prototype.invalidate.call(this)},u.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},u.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},u.totalDuration=function(e){return arguments.length?-1!==this._repeat&&e?this.timeScale(this.totalDuration()/e):this:(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},u.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,r=this._cycle,n=r*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&r?i-t+n:this._repeat?t+n:t,e)},u.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},u.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},u.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},u.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+n)},r},!0),t=180/Math.PI,e=[],i=[],r=[],n={},s=_gsScope._gsDefine.globals,a=function(t,e,i,r){i===r&&(i=r-(r-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=r,this.da=r-t,this.ca=i-t,this.ba=e-t},o=function(t,e,i,r){var n={a:t},s={},a={},o={c:r},l=(t+e)/2,h=(e+i)/2,u=(i+r)/2,_=(l+h)/2,f=(h+u)/2,c=(f-_)/8;return n.b=l+(t-l)/4,s.b=_+c,n.c=s.a=(n.b+s.b)/2,s.c=a.a=(_+f)/2,a.b=f-c,o.b=u+(r-u)/4,a.c=o.a=(a.b+o.b)/2,[n,s,a,o]},l=function(t,n,s,a,l){var h,u,_,f,c,p,d,m,g,y,v,x,T,w=t.length-1,b=0,P=t[0].a;for(h=0;w>h;h++)u=(c=t[b]).a,_=c.d,f=t[b+1].d,l?(v=e[h],T=((x=i[h])+v)*n*.25/(a?.5:r[h]||.5),m=_-((p=_-(_-u)*(a?.5*n:0!==v?T/v:0))+(((d=_+(f-_)*(a?.5*n:0!==x?T/x:0))-p)*(3*v/(v+x)+.5)/4||0))):m=_-((p=_-(_-u)*n*.5)+(d=_+(f-_)*n*.5))/2,p+=m,d+=m,c.c=g=p,c.b=0!==h?P:P=c.a+.6*(c.c-c.a),c.da=_-u,c.ca=g-u,c.ba=P-u,s?(y=o(u,P,g,_),t.splice(b,1,y[0],y[1],y[2],y[3]),b+=4):b++,P=d;(c=t[b]).b=P,c.c=P+.4*(c.d-P),c.da=c.d-c.a,c.ca=c.c-c.a,c.ba=P-c.a,s&&(y=o(c.a,P,c.c,c.d),t.splice(b,1,y[0],y[1],y[2],y[3]))},h=function(t,r,n,s){var o,l,h,u,_,f,c=[];if(s)for(l=(t=[s].concat(t)).length;--l>-1;)"string"==typeof(f=t[l][r])&&"="===f.charAt(1)&&(t[l][r]=s[r]+Number(f.charAt(0)+f.substr(2)));if(0>(o=t.length-2))return c[0]=new a(t[0][r],0,0,t[0][r]),c;for(l=0;o>l;l++)h=t[l][r],u=t[l+1][r],c[l]=new a(h,0,0,u),n&&(_=t[l+2][r],e[l]=(e[l]||0)+(u-h)*(u-h),i[l]=(i[l]||0)+(_-u)*(_-u));return c[l]=new a(t[l][r],0,0,t[l+1][r]),c},u=function(t,s,a,o,u,_){var f,c,p,d,m,g,y,v,x={},T=[],w=_||t[0];for(c in u="string"==typeof u?","+u+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==s&&(s=1),t[0])T.push(c);if(t.length>1){for(v=t[t.length-1],y=!0,f=T.length;--f>-1;)if(c=T[f],Math.abs(w[c]-v[c])>.05){y=!1;break}y&&(t=t.concat(),_&&t.unshift(_),t.push(t[1]),_=t[t.length-3])}for(e.length=i.length=r.length=0,f=T.length;--f>-1;)c=T[f],n[c]=-1!==u.indexOf(","+c+","),x[c]=h(t,c,n[c],_);for(f=e.length;--f>-1;)e[f]=Math.sqrt(e[f]),i[f]=Math.sqrt(i[f]);if(!o){for(f=T.length;--f>-1;)if(n[c])for(g=(p=x[T[f]]).length-1,d=0;g>d;d++)m=p[d+1].da/i[d]+p[d].da/e[d]||0,r[d]=(r[d]||0)+m*m;for(f=r.length;--f>-1;)r[f]=Math.sqrt(r[f])}for(f=T.length,d=a?4:1;--f>-1;)p=x[c=T[f]],l(p,s,a,o,n[c]),y&&(p.splice(0,d),p.splice(p.length-d,d));return x},_=function(t,e,i){var r,n,s,o,l,h,u,_,f,c,p,d={},m="cubic"===(e=e||"soft")?3:2,g="soft"===e,y=[];if(g&&i&&(t=[i].concat(t)),null==t||t.length<m+1)throw"invalid Bezier data";for(f in t[0])y.push(f);for(h=y.length;--h>-1;){for(d[f=y[h]]=l=[],c=0,_=t.length,u=0;_>u;u++)r=null==i?t[u][f]:"string"==typeof(p=t[u][f])&&"="===p.charAt(1)?i[f]+Number(p.charAt(0)+p.substr(2)):Number(p),g&&u>1&&_-1>u&&(l[c++]=(r+l[c-2])/2),l[c++]=r;for(_=c-m+1,c=0,u=0;_>u;u+=m)r=l[u],n=l[u+1],s=l[u+2],o=2===m?0:l[u+3],l[c++]=p=3===m?new a(r,n,s,o):new a(r,(2*n+r)/3,(2*n+s)/3,s);l.length=c}return d},f=function(t,e,i){for(var r,n,s,a,o,l,h,u,_,f,c,p=1/i,d=t.length;--d>-1;)for(s=(f=t[d]).a,a=f.d-s,o=f.c-s,l=f.b-s,r=n=0,u=1;i>=u;u++)r=n-(n=((h=p*u)*h*a+3*(_=1-h)*(h*o+_*l))*h),e[c=d*i+u-1]=(e[c]||0)+r*r},c=function(t,e){var i,r,n,s,a=[],o=[],l=0,h=0,u=(e=0|e||6)-1,_=[],c=[];for(i in t)f(t[i],a,e);for(n=a.length,r=0;n>r;r++)l+=Math.sqrt(a[r]),c[s=r%e]=l,s===u&&(h+=l,_[s=r/e|0]=c,o[s]=h,l=0,c=[]);return{length:h,lengths:o,segments:_}},p=_gsScope._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 r,n,s,a,o,l=e.values||[],h={},f=l[0],p=e.autoRotate||i.vars.orientToBezier;for(r in this._autoRotate=p?p instanceof Array?p:[["x","y","rotation",!0===p?0:Number(p)||0]]:null,f)this._props.push(r);for(s=this._props.length;--s>-1;)r=this._props[s],this._overwriteProps.push(r),n=this._func[r]="function"==typeof t[r],h[r]=n?t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(t[r]),o||h[r]!==l[0][r]&&(o=h);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?u(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,o):_(l,e.type,h),this._segCount=this._beziers[r].length,this._timeRes){var d=c(this._beziers,this._timeRes);this._length=d.length,this._lengths=d.lengths,this._segments=d.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(p=this._autoRotate)for(this._initialRotations=[],p[0]instanceof Array||(this._autoRotate=p=[p]),s=p.length;--s>-1;){for(a=0;3>a;a++)r=p[s][a],this._func[r]="function"==typeof t[r]&&t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)];r=p[s][2],this._initialRotations[s]=(this._func[r]?this._func[r].call(this._target):this._target[r])||0,this._overwriteProps.push(r)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var i,r,n,s,a,o,l,h,u,_,f,c=this._segCount,p=this._func,d=this._target,m=e!==this._startRatio;if(this._timeRes){if(u=this._lengths,_=this._curSeg,f=e*this._length,n=this._li,f>this._l2&&c-1>n){for(h=c-1;h>n&&(this._l2=u[++n])<=f;);this._l1=u[n-1],this._li=n,this._curSeg=_=this._segments[n],this._s2=_[this._s1=this._si=0]}else if(f<this._l1&&n>0){for(;n>0&&(this._l1=u[--n])>=f;);0===n&&f<this._l1?this._l1=0:n++,this._l2=u[n],this._li=n,this._curSeg=_=this._segments[n],this._s1=_[(this._si=_.length-1)-1]||0,this._s2=_[this._si]}if(i=n,f-=this._l1,n=this._si,f>this._s2&&n<_.length-1){for(h=_.length-1;h>n&&(this._s2=_[++n])<=f;);this._s1=_[n-1],this._si=n}else if(f<this._s1&&n>0){for(;n>0&&(this._s1=_[--n])>=f;);0===n&&f<this._s1?this._s1=0:n++,this._s2=_[n],this._si=n}o=1===e?1:(n+(f-this._s1)/(this._s2-this._s1))*this._prec||0}else o=(e-(i=0>e?0:e>=1?c-1:c*e|0)*(1/c))*c;for(r=1-o,n=this._props.length;--n>-1;)s=this._props[n],l=(o*o*(a=this._beziers[s][i]).da+3*r*(o*a.ca+r*a.ba))*o+a.a,this._mod[s]&&(l=this._mod[s](l,d)),p[s]?d[s](l):d[s]=l;if(this._autoRotate){var g,y,v,x,T,w,b,P=this._autoRotate;for(n=P.length;--n>-1;)s=P[n][2],w=P[n][3]||0,b=!0===P[n][4]?1:t,a=this._beziers[P[n][0]],g=this._beziers[P[n][1]],a&&g&&(a=a[i],g=g[i],y=a.a+(a.b-a.a)*o,y+=((x=a.b+(a.c-a.b)*o)-y)*o,x+=(a.c+(a.d-a.c)*o-x)*o,v=g.a+(g.b-g.a)*o,v+=((T=g.b+(g.c-g.b)*o)-v)*o,T+=(g.c+(g.d-g.c)*o-T)*o,l=m?Math.atan2(T-v,x-y)*b+w:this._initialRotations[n],this._mod[s]&&(l=this._mod[s](l,d)),p[s]?d[s](l):d[s]=l)}}}),d=p.prototype,p.bezierThrough=u,p.cubicToQuadratic=o,p._autoCSS=!0,p.quadraticToCubic=function(t,e,i){return new a(t,(2*e+t)/3,(2*e+i)/3,i)},p._cssRegister=function(){var t=s.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,r=e._setPluginRatio,n=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,s,a,o,l){e instanceof Array&&(e={values:e}),l=new p;var h,u,_,f=e.values,c=f.length-1,d=[],m={};if(0>c)return o;for(h=0;c>=h;h++)_=i(t,f[h],a,o,l,c!==h),d[h]=_.end;for(u in e)m[u]=e[u];return m.values=d,(o=new n(t,"bezier",0,0,_.pt,2)).data=_,o.plugin=l,o.setRatio=r,0===m.autoRotate&&(m.autoRotate=!0),!m.autoRotate||m.autoRotate instanceof Array||(h=!0===m.autoRotate?0:Number(m.autoRotate),m.autoRotate=null!=_.end.left?[["left","top","rotation",h,!1]]:null!=_.end.x&&[["x","y","rotation",h,!1]]),m.autoRotate&&(a._transform||a._enableTransforms(!1),_.autoRotate=a._target._gsTransform,_.proxy.rotation=_.autoRotate.rotation||0,a._overwriteProps.push("rotation")),l._onInitTween(_.proxy,m,a._tween),o}})}},d._mod=function(t){for(var e,i=this._overwriteProps,r=i.length;--r>-1;)(e=t[i[r]])&&"function"==typeof e&&(this._mod[i[r]]=e)},d._kill=function(t){var e,i,r=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=r.length;--i>-1;)r[i]===e&&r.splice(i,1);if(r=this._autoRotate)for(i=r.length;--i>-1;)t[r[i][2]]&&r.splice(i,1);return this._super._kill.call(this,t)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(t,e){var i,r,n,s,a=function(){t.call(this,"css"),this._overwriteProps.length=0,this.setRatio=a.prototype.setRatio},o=_gsScope._gsDefine.globals,l={},h=a.prototype=new t("css");h.constructor=a,a.version="2.1.3",a.API=2,a.defaultTransformPerspective=0,a.defaultSkewType="compensated",a.defaultSmoothOrigin=!0,h="px",a.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var u,_,f,c,p,d,m,g,y=/(?:\-|\.|\b)(\d|\.|e\-)+/g,v=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,T=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,w=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,P=/opacity *= *([^)]*)/i,S=/opacity:([^;]*)/i,O=/alpha\(opacity *=.+?\)/i,k=/^(rgb|hsl)/,C=/([A-Z])/g,R=/-([a-z])/gi,A=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,M=function(t,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,F=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,L=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,E=/[\s,\(]/i,I=Math.PI/180,N=180/Math.PI,j={},X={style:{}},B=_gsScope.document||{createElement:function(){return X}},Y=function(t,e){var i=B.createElementNS?B.createElementNS(e||LS_nsProtocol+"www.w3.org/1999/xhtml",t):B.createElement(t);return i.style?i:B.createElement(t)},G=Y("div"),U=Y("img"),q=a._internals={_specialProps:l},V=(_gsScope.navigator||{}).userAgent||"",W=function(){var t=V.indexOf("Android"),e=Y("a");return f=-1!==V.indexOf("Safari")&&-1===V.indexOf("Chrome")&&(-1===t||parseFloat(V.substr(t+8,2))>3),p=f&&parseFloat(V.substr(V.indexOf("Version/")+8,2))<6,c=-1!==V.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(V)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(V))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),Q=function(t){return P.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},H=function(t){_gsScope.console&&console.log(t)},Z="",$="",K=function(t,e){var i,r,n=(e=e||G).style;if(void 0!==n[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],r=5;--r>-1&&void 0===n[i[r]+t];);return r>=0?(Z="-"+($=3===r?"ms":i[r]).toLowerCase()+"-",$+t):null},J="undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}},tt=function(t){return J.getComputedStyle(t)},et=a.getStyle=function(t,e,i,r,n){var s;return W||"opacity"!==e?(!r&&t.style[e]?s=t.style[e]:(i=i||tt(t))?s=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(C,"-$1").toLowerCase()):t.currentStyle&&(s=t.currentStyle[e]),null==n||s&&"none"!==s&&"auto"!==s&&"auto auto"!==s?s:n):Q(t)},it=q.convertToPixels=function(t,i,r,n,s){if("px"===n||!n&&"lineHeight"!==i)return r;if("auto"===n||!r)return 0;var o,l,h,u=D.test(i),_=t,f=G.style,c=0>r,p=1===r;if(c&&(r=-r),p&&(r*=100),"lineHeight"!==i||n)if("%"===n&&-1!==i.indexOf("border"))o=r/100*(u?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+et(t,"position")+";line-height:0;","%"!==n&&_.appendChild&&"v"!==n.charAt(0)&&"rem"!==n)f[u?"borderLeftWidth":"borderTopWidth"]=r+n;else{if(_=t.parentNode||B.body,-1!==et(_,"display").indexOf("flex")&&(f.position="absolute"),l=_._gsCache,h=e.ticker.frame,l&&u&&l.time===h)return l.width*r/100;f[u?"width":"height"]=r+n}_.appendChild(G),o=parseFloat(G[u?"offsetWidth":"offsetHeight"]),_.removeChild(G),u&&"%"===n&&!1!==a.cacheWidths&&((l=_._gsCache=_._gsCache||{}).time=h,l.width=o/r*100),0!==o||s||(o=it(t,i,r,n,!0))}else l=tt(t).lineHeight,t.style.lineHeight=r,o=parseFloat(tt(t).lineHeight),t.style.lineHeight=l;return p&&(o/=100),c?-o:o},rt=q.calculateOffset=function(t,e,i){if("absolute"!==et(t,"position",i))return 0;var r="left"===e?"Left":"Top",n=et(t,"margin"+r,i);return t["offset"+r]-(it(t,e,parseFloat(n),n.replace(b,""))||0)},nt=function(t,e){var i,r,n,s={};if(e=e||tt(t))if(i=e.length)for(;--i>-1;)(-1===(n=e[i]).indexOf("-transform")||Mt===n)&&(s[n.replace(R,M)]=e.getPropertyValue(n));else for(i in e)(-1===i.indexOf("Transform")||At===i)&&(s[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===s[i]&&(s[i.replace(R,M)]=e[i]);return W||(s.opacity=Q(t)),r=Ut(t,e,!1),s.rotation=r.rotation,s.skewX=r.skewX,s.scaleX=r.scaleX,s.scaleY=r.scaleY,s.x=r.x,s.y=r.y,Ft&&(s.z=r.z,s.rotationX=r.rotationX,s.rotationY=r.rotationY,s.scaleZ=r.scaleZ),s.filters&&delete s.filters,s},st=function(t,e,i,r,n){var s,a,o,l={},h=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(s=i[a])||n&&n[a])&&-1===a.indexOf("Origin")&&("number"==typeof s||"string"==typeof s)&&(l[a]="auto"!==s||"left"!==a&&"top"!==a?""!==s&&"auto"!==s&&"none"!==s||"string"!=typeof e[a]||""===e[a].replace(w,"")?s:0:rt(t,a),void 0!==h[a]&&(o=new xt(h,a,h[a],o)));if(r)for(a in r)"className"!==a&&(l[a]=r[a]);return{difs:l,firstMPT:o}},at={width:["Left","Right"],height:["Top","Bottom"]},ot=["marginLeft","marginRight","marginTop","marginBottom"],lt=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||tt(t))[e]||0;if(t.getCTM&&Bt(t))return t.getBBox()[e]||0;var r=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),n=at[e],s=n.length;for(i=i||tt(t);--s>-1;)r-=parseFloat(et(t,"padding"+n[s],i,!0))||0,r-=parseFloat(et(t,"border"+n[s]+"Width",i,!0))||0;return r},ht=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";(null==t||""===t)&&(t="0 0");var i,r=t.split(" "),n=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":r[0],s=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":r[1];if(r.length>3&&!e){for(r=t.split(", ").join(",").split(","),t=[],i=0;i<r.length;i++)t.push(ht(r[i]));return t.join(",")}return null==s?s="center"===n?"50%":"0":"center"===s&&(s="50%"),("center"===n||isNaN(parseFloat(n))&&-1===(n+"").indexOf("="))&&(n="50%"),t=n+" "+s+(r.length>2?" "+r[2]:""),e&&(e.oxp=-1!==n.indexOf("%"),e.oyp=-1!==s.indexOf("%"),e.oxr="="===n.charAt(1),e.oyr="="===s.charAt(1),e.ox=parseFloat(n.replace(w,"")),e.oy=parseFloat(s.replace(w,"")),e.v=t),e||t},ut=function(t,e){return"function"==typeof t&&(t=t(g,m)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},_t=function(t,e){"function"==typeof t&&(t=t(g,m));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},ft=function(t,e,i,r){var n,s,a,o,l,h=1e-6;return"function"==typeof t&&(t=t(g,m)),null==t?o=e:"number"==typeof t?o=t:(n=360,s=t.split("_"),a=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(s[0].substr(2)):parseFloat(s[0]))*(-1===t.indexOf("rad")?1:N)-(l?0:e),s.length&&(r&&(r[i]=e+a),-1!==t.indexOf("short")&&((a%=n)!==a%180&&(a=0>a?a+n:a-n)),-1!==t.indexOf("_cw")&&0>a?a=(a+9999999999*n)%n-(a/n|0)*n:-1!==t.indexOf("ccw")&&a>0&&(a=(a-9999999999*n)%n-(a/n|0)*n)),o=e+a),h>o&&o>-h&&(o=0),o},ct={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},pt=function(t,e,i){return 255*(1>6*(t=0>t?t+1:t>1?t-1:t)?e+(i-e)*t*6:.5>t?i:2>3*t?e+(i-e)*(2/3-t)*6:e)+.5|0},dt=a.parseColor=function(t,e){var i,r,n,s,a,o,l,h,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)),ct[t])i=ct[t];else if("#"===t.charAt(0))4===t.length&&(r=t.charAt(1),n=t.charAt(2),s=t.charAt(3),t="#"+r+r+n+n+s+s),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(y),e){if(-1!==t.indexOf("="))return t.match(v)}else a=Number(i[0])%360/360,o=Number(i[1])/100,r=2*(l=Number(i[2])/100)-(n=.5>=l?l*(o+1):l+o-l*o),i.length>3&&(i[3]=Number(i[3])),i[0]=pt(a+1/3,r,n),i[1]=pt(a,r,n),i[2]=pt(a-1/3,r,n);else i=t.match(y)||ct.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=ct.black;return e&&!f&&(r=i[0]/255,n=i[1]/255,s=i[2]/255,l=((h=Math.max(r,n,s))+(u=Math.min(r,n,s)))/2,h===u?a=o=0:(_=h-u,o=l>.5?_/(2-h-u):_/(h+u),a=h===r?(n-s)/_+(s>n?6:0):h===n?(s-r)/_+2:(r-n)/_+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*l+.5|0),i},mt=function(t,e){var i,r,n,s=t.match(gt)||[],a=0,o="";if(!s.length)return t;for(i=0;i<s.length;i++)r=s[i],a+=(n=t.substr(a,t.indexOf(r,a)-a)).length+r.length,3===(r=dt(r,e)).length&&r.push(1),o+=n+(e?"hsla("+r[0]+","+r[1]+"%,"+r[2]+"%,"+r[3]:"rgba("+r.join(","))+")";return o+t.substr(a)},gt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(h in ct)gt+="|"+h+"\\b";gt=new RegExp(gt+")","gi"),a.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];gt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=mt(t[0],e),t[1]=mt(t[1],e)),gt.lastIndex=0},e.defaultStringFilter||(e.defaultStringFilter=a.colorStringFilter);var yt=function(t,e,i,r){if(null==t)return function(t){return t};var n,s=e?(t.match(gt)||[""])[0]:"",a=t.split(s).join("").match(x)||[],o=t.substr(0,t.indexOf(a[0])),l=")"===t.charAt(t.length-1)?")":"",h=-1!==t.indexOf(" ")?" ":",",u=a.length,_=u>0?a[0].replace(y,""):"";return u?n=e?function(t){var e,f,c,p;if("number"==typeof t)t+=_;else if(r&&z.test(t)){for(p=t.replace(z,"|").split("|"),c=0;c<p.length;c++)p[c]=n(p[c]);return p.join(",")}if(e=(t.match(gt)||[s])[0],c=(f=t.split(e).join("").match(x)||[]).length,u>c--)for(;++c<u;)f[c]=i?f[(c-1)/2|0]:a[c];return o+f.join(h)+h+e+l+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,s,f;if("number"==typeof t)t+=_;else if(r&&z.test(t)){for(s=t.replace(z,"|").split("|"),f=0;f<s.length;f++)s[f]=n(s[f]);return s.join(",")}if(f=(e=t.match(","===h?x:T)||[]).length,u>f--)for(;++f<u;)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}:function(t){return t}},vt=function(t){return t=t.split(","),function(e,i,r,n,s,a,o){var l,h=(i+"").split(" ");for(o={},l=0;4>l;l++)o[t[l]]=h[l]=h[l]||h[(l-1)/2|0];return n.parse(e,o,s,a)}},xt=(q._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,r,n,s,a=this.data,o=a.proxy,l=a.firstMPT,h=1e-6;l;)e=o[l.v],l.r?e=l.r(e):h>e&&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)for(l=a.firstMPT,s=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(n=i.xs0+i.s+i.xs1,r=1;r<i.l;r++)n+=i["xn"+r]+i["xs"+(r+1)];i[s]=n}}else i[s]=i.s+i.xs0;l=l._next}},function(t,e,i,r,n){this.t=t,this.p=e,this.v=i,this.r=n,r&&(r._prev=this,this._next=r)}),Tt=(q._parseToProxy=function(t,e,i,r,n,s){var a,o,l,h,u,_=r,f={},c={},p=i._transform,d=j;for(i._transform=null,j=e,r=u=i.parse(t,e,r,n),j=d,s&&(i._transform=p,_&&(_._prev=null,_._prev&&(_._prev._next=null)));r&&r!==_;){if(r.type<=1&&(c[o=r.p]=r.s+r.c,f[o]=r.s,s||(h=new xt(r,"s",o,h,r.r),r.c=0),1===r.type))for(a=r.l;--a>0;)l="xn"+a,c[o=r.p+"_"+l]=r.data[l],f[o]=r[l],s||(h=new xt(r,l,o,h,r.rxp[l]));r=r._next}return{proxy:f,end:c,firstMPT:h,pt:u}},q.CSSPropTween=function(t,e,r,n,a,o,l,h,u,_,f){this.t=t,this.p=e,this.s=r,this.c=n,this.n=l||e,t instanceof Tt||s.push(this.n),this.r=h?"function"==typeof h?h:Math.round:h,this.type=o||0,u&&(this.pr=u,i=!0),this.b=void 0===_?r:_,this.e=void 0===f?r+n:f,a&&(this._next=a,a._prev=this)}),wt=function(t,e,i,r,n,s){var a=new Tt(t,e,i,r-i,n,-1,s);return a.b=i,a.e=a.xs0=r,a},bt=a.parseComplex=function(t,e,i,r,n,s,o,l,h,_){i=i||s||"","function"==typeof r&&(r=r(g,m)),o=new Tt(t,e,0,0,o,_?2:1,null,!1,l,i,r),r+="",n&&gt.test(r+i)&&(r=[i,r],a.colorStringFilter(r),i=r[0],r=r[1]);var f,c,p,d,x,T,w,b,P,S,O,k,C,R=i.split(", ").join(",").split(" "),A=r.split(", ").join(",").split(" "),M=R.length,D=!1!==u;for((-1!==r.indexOf(",")||-1!==i.indexOf(","))&&(-1!==(r+i).indexOf("rgb")||-1!==(r+i).indexOf("hsl")?(R=R.join(" ").replace(z,", ").split(" "),A=A.join(" ").replace(z,", ").split(" ")):(R=R.join(" ").split(",").join(", ").split(" "),A=A.join(" ").split(",").join(", ").split(" ")),M=R.length),M!==A.length&&(M=(R=(s||"").split(" ")).length),o.plugin=h,o.setRatio=_,gt.lastIndex=0,f=0;M>f;f++)if(d=R[f],x=A[f]+"",(b=parseFloat(d))||0===b)o.appendXtra("",b,ut(x,b),x.replace(v,""),!(!D||-1===x.indexOf("px"))&&Math.round,!0);else if(n&&gt.test(d))k=")"+((k=x.indexOf(")")+1)?x.substr(k):""),C=-1!==x.indexOf("hsl")&&W,S=x,d=dt(d,C),x=dt(x,C),(P=d.length+x.length>6)&&!W&&0===x[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(A[f]).join("transparent")):(W||(P=!1),C?o.appendXtra(S.substr(0,S.indexOf("hsl"))+(P?"hsla(":"hsl("),d[0],ut(x[0],d[0]),",",!1,!0).appendXtra("",d[1],ut(x[1],d[1]),"%,",!1).appendXtra("",d[2],ut(x[2],d[2]),P?"%,":"%"+k,!1):o.appendXtra(S.substr(0,S.indexOf("rgb"))+(P?"rgba(":"rgb("),d[0],x[0]-d[0],",",Math.round,!0).appendXtra("",d[1],x[1]-d[1],",",Math.round).appendXtra("",d[2],x[2]-d[2],P?",":k,Math.round),P&&(d=d.length<4?1:d[3],o.appendXtra("",d,(x.length<4?1:x[3])-d,k,!1))),gt.lastIndex=0;else if(T=d.match(y)){if(!(w=x.match(v))||w.length!==T.length)return o;for(p=0,c=0;c<T.length;c++)O=T[c],S=d.indexOf(O,p),o.appendXtra(d.substr(p,S-p),Number(O),ut(w[c],O),"",!(!D||"px"!==d.substr(S+O.length,2))&&Math.round,0===c),p=S+O.length;o["xs"+o.l]+=d.substr(p)}else o["xs"+o.l]+=o.l||o["xs"+o.l]?" "+x:x;if(-1!==r.indexOf("=")&&o.data){for(k=o.xs0+o.data.s,f=1;f<o.l;f++)k+=o["xs"+f]+o.data["xn"+f];o.e=k+o["xs"+f]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},Pt=9;for((h=Tt.prototype).l=h.pr=0;--Pt>0;)h["xn"+Pt]=0,h["xs"+Pt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,i,r,n,s){var a=this,o=a.l;return a["xs"+o]+=s&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=r||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=n,a["xn"+o]=e,a.plugin||(a.xfirst=new Tt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,n,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=n,a)):(a["xs"+o]+=e+(r||""),a)};var St=function(t,e){e=e||{},this.p=e.prefix&&K(t)||t,l[t]=l[this.p]=this,this.format=e.formatter||yt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Ot=q._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var r,n=t.split(","),s=e.defaultValue;for(i=i||[s],r=0;r<n.length;r++)e.prefix=0===r&&e.prefix,e.defaultValue=i[r]||s,new St(n[r],e)},kt=q._registerPluginProp=function(t){if(!l[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Ot(t,{parser:function(t,i,r,n,s,a,h){var u=o.com.greensock.plugins[e];return u?(u._cssRegister(),l[r].parse(t,i,r,n,s,a,h)):(H("Error: "+e+" js file not loaded."),s)}})}};(h=St.prototype).parseComplex=function(t,e,i,r,n,s){var a,o,l,h,u,_,f=this.keyword;if(this.multi&&(z.test(i)||z.test(e)?(o=e.replace(z,"|").split("|"),l=i.replace(z,"|").split("|")):f&&(o=[e],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;h>a;a++)e=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,f&&((u=e.indexOf(f))!==(_=i.indexOf(f))&&(-1===_?o[a]=o[a].split(f).join(""):-1===u&&(o[a]+=" "+f)));e=o.join(", "),i=l.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,r,this.pr,n,s)},h.parse=function(t,e,i,r,s,a,o){return this.parseComplex(t.style,this.format(et(t,this.p,n,!1,this.dflt)),this.format(e),s,a)},a.registerSpecialProp=function(t,e,i){Ot(t,{parser:function(t,r,n,s,a,o,l){var h=new Tt(t,n,0,0,a,2,n,!1,i);return h.plugin=o,h.setRatio=e(t,r,s._tween,n),h},priority:i})},a.useSVGTransformAttr=!0;var Ct,Rt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),At=K("transform"),Mt=Z+"transform",Dt=K("transformOrigin"),Ft=null!==K("perspective"),Lt=q.Transform=function(){this.perspective=parseFloat(a.defaultTransformPerspective)||0,this.force3D=!(!1===a.defaultForce3D||!Ft)&&(a.defaultForce3D||"auto")},zt=_gsScope.SVGElement,Et=function(t,e,i){var r,n=B.createElementNS(LS_nsProtocol+"www.w3.org/2000/svg",t),s=/([a-z])([A-Z])/g;for(r in i)n.setAttributeNS(null,r.replace(s,"$1-$2").toLowerCase(),i[r]);return e.appendChild(n),n},It=B.documentElement||{},Nt=function(){var t,e,i,r=d||/Android/i.test(V)&&!_gsScope.chrome;return B.createElementNS&&It.appendChild&&!r&&(t=Et("svg",It),i=(e=Et("rect",t,{width:100,height:50,x:100})).getBoundingClientRect().width,e.style[Dt]="50% 50%",e.style[At]="scaleX(0.5)",r=i===e.getBoundingClientRect().width&&!(c&&Ft),It.removeChild(t)),r}(),jt=function(t,e,i,r,n,s){var o,l,h,u,_,f,c,p,d,m,g,y,v,x,T=t._gsTransform,w=Gt(t,!0);T&&(v=T.xOrigin,x=T.yOrigin),(!r||(o=r.split(" ")).length<2)&&(0===(c=t.getBBox()).x&&0===c.y&&c.width+c.height===0&&(c={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}),o=[(-1!==(e=ht(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*c.width:parseFloat(e[0]))+c.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*c.height:parseFloat(e[1]))+c.y]),i.xOrigin=u=parseFloat(o[0]),i.yOrigin=_=parseFloat(o[1]),r&&w!==Yt&&(f=w[0],c=w[1],p=w[2],d=w[3],m=w[4],g=w[5],(y=f*d-c*p)&&(l=u*(d/y)+_*(-p/y)+(p*g-d*m)/y,h=u*(-c/y)+_*(f/y)-(f*g-c*m)/y,u=i.xOrigin=o[0]=l,_=i.yOrigin=o[1]=h)),T&&(s&&(i.xOffset=T.xOffset,i.yOffset=T.yOffset,T=i),n||!1!==n&&!1!==a.defaultSmoothOrigin?(l=u-v,h=_-x,T.xOffset+=l*w[0]+h*w[2]-l,T.yOffset+=l*w[1]+h*w[3]-h):T.xOffset=T.yOffset=0),s||t.setAttribute("data-svg-origin",o.join(" "))},Xt=function(t){var e,i=Y("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||LS_nsProtocol+"www.w3.org/2000/svg"),r=this.parentNode,n=this.nextSibling,s=this.style.cssText;if(It.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Xt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return n?r.insertBefore(this,n):r.appendChild(this),It.removeChild(i),this.style.cssText=s,e},Bt=function(t){return!(!zt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Xt.call(t,!0)}}(t))},Yt=[1,0,0,1,0,0],Gt=function(t,e){var i,r,n,s,a,o,l,h=t._gsTransform||new Lt,u=1e5,_=t.style;if(At?r=et(t,Mt,null,!0):t.currentStyle&&(r=(r=t.currentStyle.filter.match(F))&&4===r.length?[r[0].substr(4),Number(r[2].substr(4)),Number(r[1].substr(4)),r[3].substr(4),h.x||0,h.y||0].join(","):""),i=!r||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,At&&i&&!t.offsetParent&&t!==It&&(s=_.display,_.display="block",(l=t.parentNode)&&t.offsetParent||(a=1,o=t.nextSibling,It.appendChild(t)),i=!(r=et(t,Mt,null,!0))||"none"===r||"matrix(1, 0, 0, 1, 0, 0)"===r,s?_.display=s:Qt(_,"display"),a&&(o?l.insertBefore(t,o):l?l.appendChild(t):It.removeChild(t))),(h.svg||t.getCTM&&Bt(t))&&(i&&-1!==(_[At]+"").indexOf("matrix")&&(r=_[At],i=0),n=t.getAttribute("transform"),i&&n&&(r="matrix("+(n=t.transform.baseVal.consolidate().matrix).a+","+n.b+","+n.c+","+n.d+","+n.e+","+n.f+")",i=0)),i)return Yt;for(n=(r||"").match(y)||[],Pt=n.length;--Pt>-1;)s=Number(n[Pt]),n[Pt]=(a=s-(s|=0))?(a*u+(0>a?-.5:.5)|0)/u+s:s;return e&&n.length>6?[n[0],n[1],n[4],n[5],n[12],n[13]]:n},Ut=q.getTransform=function(t,i,r,n){if(t._gsTransform&&r&&!n)return t._gsTransform;var s,o,l,h,u,_,f=r&&t._gsTransform||new Lt,c=f.scaleX<0,p=2e-5,d=1e5,m=Ft&&(parseFloat(et(t,Dt,i,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,g=parseFloat(a.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Bt(t)),f.svg&&(jt(t,et(t,Dt,i,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ct=a.useSVGTransformAttr||Nt),(s=Gt(t))!==Yt){if(16===s.length){var y,v,x,T,w,b=s[0],P=s[1],S=s[2],O=s[3],k=s[4],C=s[5],R=s[6],A=s[7],M=s[8],D=s[9],F=s[10],L=s[12],z=s[13],E=s[14],I=s[11],j=Math.atan2(R,F);f.zOrigin&&(L=M*(E=-f.zOrigin)-s[12],z=D*E-s[13],E=F*E+f.zOrigin-s[14]),f.rotationX=j*N,j&&(y=k*(T=Math.cos(-j))+M*(w=Math.sin(-j)),v=C*T+D*w,x=R*T+F*w,M=k*-w+M*T,D=C*-w+D*T,F=R*-w+F*T,I=A*-w+I*T,k=y,C=v,R=x),j=Math.atan2(-S,F),f.rotationY=j*N,j&&(v=P*(T=Math.cos(-j))-D*(w=Math.sin(-j)),x=S*T-F*w,D=P*w+D*T,F=S*w+F*T,I=O*w+I*T,b=y=b*T-M*w,P=v,S=x),j=Math.atan2(P,b),f.rotation=j*N,j&&(y=b*(T=Math.cos(j))+P*(w=Math.sin(j)),v=k*T+C*w,x=M*T+D*w,P=P*T-b*w,C=C*T-k*w,D=D*T-M*w,b=y,k=v,M=x),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),j=Math.atan2(k,C),f.scaleX=(Math.sqrt(b*b+P*P+S*S)*d+.5|0)/d,f.scaleY=(Math.sqrt(C*C+R*R)*d+.5|0)/d,f.scaleZ=(Math.sqrt(M*M+D*D+F*F)*d+.5|0)/d,b/=f.scaleX,k/=f.scaleY,P/=f.scaleX,C/=f.scaleY,Math.abs(j)>p?(f.skewX=j*N,k=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(j))):f.skewX=0,f.perspective=I?1/(0>I?-I:I):0,f.x=L,f.y=z,f.z=E,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*b-f.yOrigin*k),f.y-=f.yOrigin-(f.yOrigin*P-f.xOrigin*C))}else if(!Ft||n||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var X=s.length>=6,B=X?s[0]:1,Y=s[1]||0,G=s[2]||0,U=X?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(B*B+Y*Y),h=Math.sqrt(U*U+G*G),u=B||Y?Math.atan2(Y,B)*N:f.rotation||0,_=G||U?Math.atan2(G,U)*N+u:f.skewX||0,f.scaleX=l,f.scaleY=h,f.rotation=u,f.skewX=_,Ft&&(f.rotationX=f.rotationY=f.z=0,f.perspective=g,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*B+f.yOrigin*G),f.y-=f.yOrigin-(f.xOrigin*Y+f.yOrigin*U))}for(o in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(c?(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 r&&(t._gsTransform=f,f.svg&&(Ct&&t.style[At]?e.delayedCall(.001,function(){Qt(t.style,At)}):!Ct&&t.getAttribute("transform")&&e.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},qt=function(t){var e,i,r=this.data,n=-r.rotation*I,s=n+r.skewX*I,a=1e5,o=(Math.cos(n)*r.scaleX*a|0)/a,l=(Math.sin(n)*r.scaleX*a|0)/a,h=(Math.sin(s)*-r.scaleY*a|0)/a,u=(Math.cos(s)*r.scaleY*a|0)/a,_=this.t.style,f=this.t.currentStyle;if(f){i=l,l=-h,h=-i,e=f.filter,_.filter="";var c,p,m=this.t.offsetWidth,g=this.t.offsetHeight,y="absolute"!==f.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+u,x=r.x+m*r.xPercent/100,T=r.y+g*r.yPercent/100;if(null!=r.ox&&(x+=(c=(r.oxp?m*r.ox*.01:r.ox)-m/2)-(c*o+(p=(r.oyp?g*r.oy*.01:r.oy)-g/2)*l),T+=p-(c*h+p*u)),y?v+=", Dx="+((c=m/2)-(c*o+(p=g/2)*l)+x)+", Dy="+(p-(c*h+p*u)+T)+")":v+=", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?_.filter=e.replace(L,v):_.filter=v+" "+e,(0===t||1===t)&&1===o&&0===l&&0===h&&1===u&&(y&&-1===v.indexOf("Dx=0, Dy=0")||P.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&_.removeAttribute("filter")),!y){var w,S,O,k=8>d?1:-1;for(c=r.ieOffsetX||0,p=r.ieOffsetY||0,r.ieOffsetX=Math.round((m-((0>o?-o:o)*m+(0>l?-l:l)*g))/2+x),r.ieOffsetY=Math.round((g-((0>u?-u:u)*g+(0>h?-h:h)*m))/2+T),Pt=0;4>Pt;Pt++)O=(i=-1!==(w=f[S=ot[Pt]]).indexOf("px")?parseFloat(w):it(this.t,S,parseFloat(w),w.replace(b,""))||0)!==r[S]?2>Pt?-r.ieOffsetX:-r.ieOffsetY:2>Pt?c-r.ieOffsetX:p-r.ieOffsetY,_[S]=(r[S]=Math.round(i-O*(0===Pt||2===Pt?1:k)))+"px"}}},Vt=q.set3DTransformRatio=q.setTransformRatio=function(t){var e,i,r,n,s,a,o,l,h,u,_,f,p,d,m,g,y,v,x,T,w,b,P,S=this.data,O=this.t.style,k=S.rotation,C=S.rotationX,R=S.rotationY,A=S.scaleX,M=S.scaleY,D=S.scaleZ,F=S.x,L=S.y,z=S.z,E=S.svg,N=S.perspective,j=S.force3D,X=S.skewY,B=S.skewX;if(X&&(B+=X,k+=X),!((1!==t&&0!==t||"auto"!==j||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&j||z||N||R||C||1!==D)||Ct&&E||!Ft)k||B||E?(k*=I,b=B*I,P=1e5,i=Math.cos(k)*A,s=Math.sin(k)*A,r=Math.sin(k-b)*-M,a=Math.cos(k-b)*M,b&&"simple"===S.skewType&&(e=Math.tan(b-X*I),r*=e=Math.sqrt(1+e*e),a*=e,X&&(e=Math.tan(X*I),i*=e=Math.sqrt(1+e*e),s*=e)),E&&(F+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset,Ct&&(S.xPercent||S.yPercent)&&(m=this.t.getBBox(),F+=.01*S.xPercent*m.width,L+=.01*S.yPercent*m.height),(m=1e-6)>F&&F>-m&&(F=0),m>L&&L>-m&&(L=0)),x=(i*P|0)/P+","+(s*P|0)/P+","+(r*P|0)/P+","+(a*P|0)/P+","+F+","+L+")",E&&Ct?this.t.setAttribute("transform","matrix("+x):O[At]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+x):O[At]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix(":"matrix(")+A+",0,0,"+M+","+F+","+L+")";else{if(c&&((m=1e-4)>A&&A>-m&&(A=D=2e-5),m>M&&M>-m&&(M=D=2e-5),!N||S.z||S.rotationX||S.rotationY||(N=0)),k||B)k*=I,g=i=Math.cos(k),y=s=Math.sin(k),B&&(k-=B*I,g=Math.cos(k),y=Math.sin(k),"simple"===S.skewType&&(e=Math.tan((B-X)*I),g*=e=Math.sqrt(1+e*e),y*=e,S.skewY&&(e=Math.tan(X*I),i*=e=Math.sqrt(1+e*e),s*=e))),r=-y,a=g;else{if(!(R||C||1!==D||N||E))return void(O[At]=(S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) translate3d(":"translate3d(")+F+"px,"+L+"px,"+z+"px)"+(1!==A||1!==M?" scale("+A+","+M+")":""));i=a=1,r=s=0}u=1,n=o=l=h=_=f=0,p=N?-1/N:0,d=S.zOrigin,m=1e-6,T=",",w="0",(k=R*I)&&(g=Math.cos(k),l=-(y=Math.sin(k)),_=p*-y,n=i*y,o=s*y,u=g,p*=g,i*=g,s*=g),(k=C*I)&&(e=r*(g=Math.cos(k))+n*(y=Math.sin(k)),v=a*g+o*y,h=u*y,f=p*y,n=r*-y+n*g,o=a*-y+o*g,u*=g,p*=g,r=e,a=v),1!==D&&(n*=D,o*=D,u*=D,p*=D),1!==M&&(r*=M,a*=M,h*=M,f*=M),1!==A&&(i*=A,s*=A,l*=A,_*=A),(d||E)&&(d&&(F+=n*-d,L+=o*-d,z+=u*-d+d),E&&(F+=S.xOrigin-(S.xOrigin*i+S.yOrigin*r)+S.xOffset,L+=S.yOrigin-(S.xOrigin*s+S.yOrigin*a)+S.yOffset),m>F&&F>-m&&(F=w),m>L&&L>-m&&(L=w),m>z&&z>-m&&(z=0)),x=S.xPercent||S.yPercent?"translate("+S.xPercent+"%,"+S.yPercent+"%) matrix3d(":"matrix3d(",x+=(m>i&&i>-m?w:i)+T+(m>s&&s>-m?w:s)+T+(m>l&&l>-m?w:l),x+=T+(m>_&&_>-m?w:_)+T+(m>r&&r>-m?w:r)+T+(m>a&&a>-m?w:a),C||R||1!==D?(x+=T+(m>h&&h>-m?w:h)+T+(m>f&&f>-m?w:f)+T+(m>n&&n>-m?w:n),x+=T+(m>o&&o>-m?w:o)+T+(m>u&&u>-m?w:u)+T+(m>p&&p>-m?w:p)+T):x+=",0,0,0,0,1,0,",x+=F+T+L+T+z+T+(N?1+-z/N:1)+")",O[At]=x}};(h=Lt.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Ot("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,i,r,s,o,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var h=l.scale&&"function"==typeof l.scale?l.scale:0;h&&(l.scale=h(g,t));var u,_,f,c,p,d,y,v,x,T=t._gsTransform,w=t.style,b=1e-6,P=Rt.length,S=l,O={},k="transformOrigin",C=Ut(t,n,!0,S.parseTransform),R=S.transform&&("function"==typeof S.transform?S.transform(g,m):S.transform);if(C.skewType=S.skewType||C.skewType||a.defaultSkewType,r._transform=C,"rotationZ"in S&&(S.rotation=S.rotationZ),R&&"string"==typeof R&&At)(_=G.style)[At]=R,_.display="block",_.position="absolute",-1!==R.indexOf("%")&&(_.width=et(t,"width"),_.height=et(t,"height")),B.body.appendChild(G),u=Ut(G,null,!1),"simple"===C.skewType&&(u.scaleY*=Math.cos(u.skewX*I)),C.svg&&(d=C.xOrigin,y=C.yOrigin,u.x-=C.xOffset,u.y-=C.yOffset,(S.transformOrigin||S.svgOrigin)&&(R={},jt(t,ht(S.transformOrigin),R,S.svgOrigin,S.smoothOrigin,!0),d=R.xOrigin,y=R.yOrigin,u.x-=R.xOffset-C.xOffset,u.y-=R.yOffset-C.yOffset),(d||y)&&(v=Gt(G,!0),u.x-=d-(d*v[0]+y*v[2]),u.y-=y-(d*v[1]+y*v[3]))),B.body.removeChild(G),u.perspective||(u.perspective=C.perspective),null!=S.xPercent&&(u.xPercent=_t(S.xPercent,C.xPercent)),null!=S.yPercent&&(u.yPercent=_t(S.yPercent,C.yPercent));else if("object"==typeof S){if(u={scaleX:_t(null!=S.scaleX?S.scaleX:S.scale,C.scaleX),scaleY:_t(null!=S.scaleY?S.scaleY:S.scale,C.scaleY),scaleZ:_t(S.scaleZ,C.scaleZ),x:_t(S.x,C.x),y:_t(S.y,C.y),z:_t(S.z,C.z),xPercent:_t(S.xPercent,C.xPercent),yPercent:_t(S.yPercent,C.yPercent),perspective:_t(S.transformPerspective,C.perspective)},null!=(p=S.directionalRotation))if("object"==typeof p)for(_ in p)S[_]=p[_];else S.rotation=p;"string"==typeof S.x&&-1!==S.x.indexOf("%")&&(u.x=0,u.xPercent=_t(S.x,C.xPercent)),"string"==typeof S.y&&-1!==S.y.indexOf("%")&&(u.y=0,u.yPercent=_t(S.y,C.yPercent)),u.rotation=ft("rotation"in S?S.rotation:"shortRotation"in S?S.shortRotation+"_short":C.rotation,C.rotation,"rotation",O),Ft&&(u.rotationX=ft("rotationX"in S?S.rotationX:"shortRotationX"in S?S.shortRotationX+"_short":C.rotationX||0,C.rotationX,"rotationX",O),u.rotationY=ft("rotationY"in S?S.rotationY:"shortRotationY"in S?S.shortRotationY+"_short":C.rotationY||0,C.rotationY,"rotationY",O)),u.skewX=ft(S.skewX,C.skewX),u.skewY=ft(S.skewY,C.skewY)}for(Ft&&null!=S.force3D&&(C.force3D=S.force3D,c=!0),(f=C.force3D||C.z||C.rotationX||C.rotationY||u.z||u.rotationX||u.rotationY||u.perspective)||null==S.scale||(u.scaleZ=1);--P>-1;)((R=u[x=Rt[P]]-C[x])>b||-b>R||null!=S[x]||null!=j[x])&&(c=!0,s=new Tt(C,x,C[x],R,s),x in O&&(s.e=O[x]),s.xs0=0,s.plugin=o,r._overwriteProps.push(s.n));return R="function"==typeof S.transformOrigin?S.transformOrigin(g,m):S.transformOrigin,C.svg&&(R||S.svgOrigin)&&(d=C.xOffset,y=C.yOffset,jt(t,ht(R),u,S.svgOrigin,S.smoothOrigin),s=wt(C,"xOrigin",(T?C:u).xOrigin,u.xOrigin,s,k),s=wt(C,"yOrigin",(T?C:u).yOrigin,u.yOrigin,s,k),(d!==C.xOffset||y!==C.yOffset)&&(s=wt(C,"xOffset",T?d:C.xOffset,C.xOffset,s,k),s=wt(C,"yOffset",T?y:C.yOffset,C.yOffset,s,k)),R="0px 0px"),(R||Ft&&f&&C.zOrigin)&&(At?(c=!0,x=Dt,R||(R=(R=(et(t,x,n,!1,"50% 50%")+"").split(" "))[0]+" "+R[1]+" "+C.zOrigin+"px"),R+="",(s=new Tt(w,x,0,0,s,-1,k)).b=w[x],s.plugin=o,Ft?(_=C.zOrigin,R=R.split(" "),C.zOrigin=(R.length>2?parseFloat(R[2]):_)||0,s.xs0=s.e=R[0]+" "+(R[1]||"50%")+" 0px",(s=new Tt(C,"zOrigin",0,0,s,-1,s.n)).b=_,s.xs0=s.e=C.zOrigin):s.xs0=s.e=R):ht(R+"",C)),c&&(r._transformType=C.svg&&Ct||!f&&3!==this._transformType?2:3),h&&(l.scale=h),s},allowFunc:!0,prefix:!0}),Ot("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ot("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:yt("inset(0% 0% 0% 0%)",!1,!0)}),Ot("borderRadius",{defaultValue:"0px",parser:function(t,e,i,s,a,o){e=this.format(e);var l,h,u,_,f,c,p,d,m,g,y,v,x,T,w,b,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],S=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),l=e.split(" "),h=0;h<P.length;h++)this.p.indexOf("border")&&(P[h]=K(P[h])),-1!==(f=_=et(t,P[h],n,!1,"0px")).indexOf(" ")&&(_=f.split(" "),f=_[0],_=_[1]),c=u=l[h],p=parseFloat(f),v=f.substr((p+"").length),(x="="===c.charAt(1))?(d=parseInt(c.charAt(0)+"1",10),c=c.substr(2),d*=parseFloat(c),y=c.substr((d+"").length-(0>d?1:0))||""):(d=parseFloat(c),y=c.substr((d+"").length)),""===y&&(y=r[i]||v),y!==v&&(T=it(t,"borderLeft",p,v),w=it(t,"borderTop",p,v),"%"===y?(f=T/m*100+"%",_=w/g*100+"%"):"em"===y?(f=T/(b=it(t,"borderLeft",1,"em"))+"em",_=w/b+"em"):(f=T+"px",_=w+"px"),x&&(c=parseFloat(f)+d+y,u=parseFloat(_)+d+y)),a=bt(S,P[h],f+" "+_,c+" "+u,!1,"0px",a);return a},prefix:!0,formatter:yt("0px 0px 0px 0px",!1,!0)}),Ot("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,i,r,s,a){return bt(t.style,i,this.format(et(t,i,n,!1,"0px 0px")),this.format(e),!1,"0px",s)},prefix:!0,formatter:yt("0px 0px",!1,!0)}),Ot("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,i,r,s,a){var o,l,h,u,_,f,c="background-position",p=n||tt(t),m=this.format((p?d?p.getPropertyValue(c+"-x")+" "+p.getPropertyValue(c+"-y"):p.getPropertyValue(c):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&((f=et(t,"backgroundImage").replace(A,""))&&"none"!==f)){for(o=m.split(" "),l=g.split(" "),U.setAttribute("src",f),h=2;--h>-1;)(u=-1!==(m=o[h]).indexOf("%"))!==(-1!==l[h].indexOf("%"))&&(_=0===h?t.offsetWidth-U.width:t.offsetHeight-U.height,o[h]=u?parseFloat(m)/100*_+"px":parseFloat(m)/_*100+"%");m=o.join(" ")}return this.parseComplex(t.style,m,g,s,a)},formatter:ht}),Ot("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ht(-1===t.indexOf(" ")?t+" "+t:t)}}),Ot("perspective",{defaultValue:"0px",prefix:!0}),Ot("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ot("transformStyle",{prefix:!0}),Ot("backfaceVisibility",{prefix:!0}),Ot("userSelect",{prefix:!0}),Ot("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),Ot("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ot("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,s,a){var o,l,h;return 9>d?(l=t.currentStyle,h=8>d?" ":",",o="rect("+l.clipTop+h+l.clipRight+h+l.clipBottom+h+l.clipLeft+")",e=this.format(e).split(",").join(h)):(o=this.format(et(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,s,a)}}),Ot("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ot("autoRound,strictUnits",{parser:function(t,e,i,r,n){return n}}),Ot("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,s,a){var o=et(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),h=l[0].replace(b,"");return"px"!==h&&(o=parseFloat(o)/it(t,"borderTopWidth",1,h)+h),this.parseComplex(t.style,this.format(o+" "+et(t,"borderTopStyle",n,!1,"solid")+" "+et(t,"borderTopColor",n,!1,"#000")),l.join(" "),s,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(gt)||["#000"])[0]}}),Ot("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ot("float,cssFloat,styleFloat",{parser:function(t,e,i,r,n,s){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new Tt(a,o,0,0,n,-1,i,!1,0,a[o],e)}});var Wt=function(t){var e,i=this.t,r=i.filter||et(this.data,"filter")||"",n=this.s+this.c*t|0;100===n&&(-1===r.indexOf("atrix(")&&-1===r.indexOf("radient(")&&-1===r.indexOf("oader(")?(i.removeAttribute("filter"),e=!et(this.data,"filter")):(i.filter=r.replace(O,""),e=!0)),e||(this.xn1&&(i.filter=r=r||"alpha(opacity="+n+")"),-1===r.indexOf("pacity")?0===n&&this.xn1||(i.filter=r+" alpha(opacity="+n+")"):i.filter=r.replace(P,"opacity="+n))};Ot("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,s,a){var o=parseFloat(et(t,"opacity",n,!1,"1")),l=t.style,h="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),h&&1===o&&"hidden"===et(t,"visibility",n)&&0!==e&&(o=0),W?s=new Tt(l,"opacity",o,e-o,s):((s=new Tt(l,"opacity",100*o,100*(e-o),s)).xn1=h?1:0,l.zoom=1,s.type=2,s.b="alpha(opacity="+s.s+")",s.e="alpha(opacity="+(s.s+s.c)+")",s.data=t,s.plugin=a,s.setRatio=Wt),h&&((s=new Tt(l,"visibility",0,0,s,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(s.n),r._overwriteProps.push(i)),s}});var Qt=function(t,e){e&&(t.removeProperty?(("ms"===e.substr(0,2)||"webkit"===e.substr(0,6))&&(e="-"+e),t.removeProperty(e.replace(C,"-$1").toLowerCase())):t.removeAttribute(e))},Ht=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Qt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ot("className",{parser:function(t,e,r,s,a,o,l){var h,u,_,f,c,p=t.getAttribute("class")||"",d=t.style.cssText;if((a=s._classNamePT=new Tt(t,r,0,0,a,2)).setRatio=Ht,a.pr=-11,i=!0,a.b=p,u=nt(t,n),_=t._gsClassPT){for(f={},c=_.data;c;)f[c.p]=1,c=c._next;_.setRatio(1)}return t._gsClassPT=a,a.e="="!==e.charAt(1)?e:p.replace(new RegExp("(?:\\s|^)"+e.substr(2)+"(?![\\w-])"),"")+("+"===e.charAt(0)?" "+e.substr(2):""),t.setAttribute("class",a.e),h=st(t,u,nt(t),l,f),t.setAttribute("class",p),a.data=h.firstMPT,t.style.cssText!==d&&(t.style.cssText=d),a.xfirst=s.parse(t,h.difs,a,o)}});var Zt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,r,n,s,a=this.t.style,o=l.transform.parse;if("all"===this.e)a.cssText="",n=!0;else for(r=(e=this.e.split(" ").join("").split(",")).length;--r>-1;)i=e[r],l[i]&&(l[i].parse===o?n=!0:i="transformOrigin"===i?Dt:l[i].p),Qt(a,i);n&&(Qt(a,At),(s=this.t._gsTransform)&&(s.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ot("clearProps",{parser:function(t,e,r,n,s){return(s=new Tt(t,r,0,0,s,2)).setRatio=Zt,s.e=e,s.pr=-10,s.data=n._tween,i=!0,s}}),h="bezier,throwProps,physicsProps,physics2D".split(","),Pt=h.length;Pt--;)kt(h[Pt]);(h=a.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(t,e,o,h){if(!t.nodeType)return!1;this._target=m=t,this._tween=o,this._vars=e,g=h,u=e.autoRound,i=!1,r=e.suffixMap||a.suffixMap,n=tt(t),s=this._overwriteProps;var c,d,y,v,x,T,w,b,P,O=t.style;if(_&&""===O.zIndex&&(("auto"===(c=et(t,"zIndex",n))||""===c)&&this._addLazySet(O,"zIndex",0)),"string"==typeof e&&(v=O.cssText,c=nt(t,n),O.cssText=v+";"+e,c=st(t,c,nt(t)).difs,!W&&S.test(e)&&(c.opacity=parseFloat(RegExp.$1)),e=c,O.cssText=v),e.className?this._firstPT=d=l.className.parse(t,e.className,"className",this,null,null,e):this._firstPT=d=this.parse(t,e,null),this._transformType){for(P=3===this._transformType,At?f&&(_=!0,""===O.zIndex&&(("auto"===(w=et(t,"zIndex",n))||""===w)&&this._addLazySet(O,"zIndex",0)),p&&this._addLazySet(O,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(P?"visible":"hidden"))):O.zoom=1,y=d;y&&y._next;)y=y._next;b=new Tt(t,"transform",0,0,null,2),this._linkCSSP(b,null,y),b.setRatio=At?Vt:qt,b.data=this._transform||Ut(t,n,!0),b.tween=o,b.pr=-1,s.pop()}if(i){for(;d;){for(T=d._next,y=v;y&&y.pr>d.pr;)y=y._next;(d._prev=y?y._prev:x)?d._prev._next=d:v=d,(d._next=y)?y._prev=d:x=d,d=T}this._firstPT=v}return!0},h.parse=function(t,e,i,s){var a,o,h,_,f,c,p,d,y,v,x=t.style;for(a in e){if(c=e[a],o=l[a],"function"!=typeof c||o&&o.allowFunc||(c=c(g,m)),o)i=o.parse(t,c,a,this,i,s,e);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",tt(t).getPropertyValue(a)+"",c+"",a,!1,a);continue}f=et(t,a,n)+"",y="string"==typeof c,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||y&&k.test(c)?(y||(c=((c=dt(c)).length>3?"rgba(":"rgb(")+c.join(",")+")"),i=bt(x,a,f,c,!0,"transparent",i,0,s)):y&&E.test(c)?i=bt(x,a,f,c,!0,null,i,0,s):(p=(h=parseFloat(f))||0===h?f.substr((h+"").length):"",(""===f||"auto"===f)&&("width"===a||"height"===a?(h=lt(t,a,n),p="px"):"left"===a||"top"===a?(h=rt(t,a,n),p="px"):(h="opacity"!==a?0:1,p="")),(v=y&&"="===c.charAt(1))?(_=parseInt(c.charAt(0)+"1",10),c=c.substr(2),_*=parseFloat(c),d=c.replace(b,"")):(_=parseFloat(c),d=y?c.replace(b,""):""),""===d&&(d=a in r?r[a]:p),c=_||0===_?(v?_+h:_)+d:e[a],p!==d&&(""!==d||"lineHeight"===a)&&(_||0===_)&&h&&(h=it(t,a,h,p),"%"===d?(h/=it(t,a,100,"%")/100,!0!==e.strictUnits&&(f=h+"%")):"em"===d||"rem"===d||"vw"===d||"vh"===d?h/=it(t,a,1,d):"px"!==d&&(_=it(t,a,_,d),d="px"),v&&(_||0===_)&&(c=_+h+d)),v&&(_+=h),!h&&0!==h||!_&&0!==_?void 0!==x[a]&&(c||c+""!="NaN"&&null!=c)?(i=new Tt(x,a,_||h||0,0,i,-1,a,!1,0,f,c)).xs0="none"!==c||"display"!==a&&-1===a.indexOf("Style")?c:f:H("invalid "+a+" tween value: "+e[a]):(i=new Tt(x,a,h,_-h,i,0,a,!1!==u&&("px"===d||"zIndex"===a),0,f,c)).xs0=d)}s&&i&&!i.plugin&&(i.plugin=s)}return i},h.setRatio=function(t){var e,i,r,n=this._firstPT,s=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)for(;n;){if(e=n.c*t+n.s,n.r?e=n.r(e):s>e&&e>-s&&(e=0),n.type)if(1===n.type)if(2===(r=n.l))n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2;else if(3===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3;else if(4===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4;else if(5===r)n.t[n.p]=n.xs0+e+n.xs1+n.xn1+n.xs2+n.xn2+n.xs3+n.xn3+n.xs4+n.xn4+n.xs5;else{for(i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}else-1===n.type?n.t[n.p]=n.xs0:n.setRatio&&n.setRatio(t);else n.t[n.p]=e+n.xs0;n=n._next}else for(;n;)2!==n.type?n.t[n.p]=n.b:n.setRatio(t),n=n._next;else for(;n;){if(2!==n.type)if(n.r&&-1!==n.type)if(e=n.r(n.s+n.c),n.type){if(1===n.type){for(r=n.l,i=n.xs0+e+n.xs1,r=1;r<n.l;r++)i+=n["xn"+r]+n["xs"+(r+1)];n.t[n.p]=i}}else n.t[n.p]=e+n.xs0;else n.t[n.p]=n.e;else n.setRatio(t);n=n._next}},h._enableTransforms=function(t){this._transform=this._transform||Ut(this._target,n,!0),this._transformType=this._transform.svg&&Ct||!t&&3!==this._transformType?2:3};var $t=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};h._addLazySet=function(t,e,i){var r=this._firstPT=new Tt(t,e,0,0,this._firstPT,2);r.e=i,r.setRatio=$t,r.data=this},h._linkCSSP=function(t,e,i,r){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,r=!0),i?i._next=t:r||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},h._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},h._kill=function(e){var i,r,n,s=e;if(e.autoAlpha||e.alpha){for(r in s={},e)s[r]=e[r];s.opacity=1,s.autoAlpha&&(s.visibility=1)}for(e.className&&(i=this._classNamePT)&&((n=i.xfirst)&&n._prev?this._linkCSSP(n._prev,i._next,n._prev._prev):n===this._firstPT&&(this._firstPT=i._next),i._next&&this._linkCSSP(i._next,i._next._next,n._prev),this._classNamePT=null),i=this._firstPT;i;)i.plugin&&i.plugin!==r&&i.plugin._kill&&(i.plugin._kill(e),r=i.plugin),i=i._next;return t.prototype._kill.call(this,s)};var Kt=function(t,e,i){var r,n,s,a;if(t.slice)for(n=t.length;--n>-1;)Kt(t[n],e,i);else for(n=(r=t.childNodes).length;--n>-1;)a=(s=r[n]).type,s.style&&(e.push(nt(s)),i&&i.push(s)),1!==a&&9!==a&&11!==a||!s.childNodes.length||Kt(s,e,i)};return a.cascadeTo=function(t,i,r){var n,s,a,o,l=e.to(t,i,r),h=[l],u=[],_=[],f=[],c=e._internals.reservedProps;for(t=l._targets||l.target,Kt(t,u,f),l.render(i,!0,!0),Kt(t,_),l.render(0,!0,!0),l._enabled(!0),n=f.length;--n>-1;)if((s=st(f[n],u[n],_[n])).firstMPT){for(a in s=s.difs,r)c[a]&&(s[a]=r[a]);for(a in o={},s)o[a]=u[n][a];h.push(e.fromTo(f[n],i,o,s))}return h},t.activate([a]),a},!0),function(){var t=_gsScope._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),e=function(t){var e=1>t?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},i=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},r=t.prototype;r._onInitAllProps=function(){var t,r,n,s,a=this._tween,o=a.vars.roundProps,l={},h=a._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),n=o.length;--n>-1;)l[o[n]]=Math.round;else for(s in o)l[s]=e(o[s]);for(s in l)for(t=a._firstPT;t;)r=t._next,t.pg?t.t._mod(l):t.n===s&&(2===t.f&&t.t?i(t.t._firstPT,l[s]):(this._add(t.t,s,t.s,t.c,l[s]),r&&(r._prev=t._prev),t._prev?t._prev._next=r:a._firstPT===t&&(a._firstPT=r),t._next=t._prev=null,a._propLookup[s]=h)),t=r;return!1},r._add=function(t,e,i,r,n){this._addTween(t,e,i,i+r,e,n||Math.round),this._overwriteProps.push(e)}}(),_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,r){var n,s;if("function"!=typeof t.setAttribute)return!1;for(n in e)"function"==typeof(s=e[n])&&(s=s(r,t)),this._addTween(t,"setAttribute",t.getAttribute(n)+"",s+"",n,!1,n),this._overwriteProps.push(n);return!0}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,r){"object"!=typeof e&&(e={rotation:e}),this.finals={};var n,s,a,o,l,h,u=!0===e.useRadians?2*Math.PI:360,_=1e-6;for(n in e)"useRadians"!==n&&("function"==typeof(o=e[n])&&(o=o(r,t)),s=(h=(o+"").split("_"))[0],a=parseFloat("function"!=typeof t[n]?t[n]:t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]()),l=(o=this.finals[n]="string"==typeof s&&"="===s.charAt(1)?a+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-a,h.length&&(-1!==(s=h.join("_")).indexOf("short")&&((l%=u)!==l%(u/2)&&(l=0>l?l+u:l-u)),-1!==s.indexOf("_cw")&&0>l?l=(l+9999999999*u)%u-(l/u|0)*u:-1!==s.indexOf("ccw")&&l>0&&(l=(l-9999999999*u)%u-(l/u|0)*u)),(l>_||-_>l)&&(this._addTween(t,n,a,a+l,n),this._overwriteProps.push(n)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(t){var e,i,r,n,s=_gsScope.GreenSockGlobals||_gsScope,a=s.com.greensock,o=2*Math.PI,l=Math.PI/2,h=a._class,u=function(e,i){var r=h("easing."+e,function(){},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,r},_=t.register||function(){},f=function(t,e,i,r,n){var s=h("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new r},!0);return _(s,t),s},c=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(e,i){var r=h("easing."+e,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),n=r.prototype=new t;return n.constructor=r,n.getRatio=i,n.config=function(t){return new r(t)},r},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 t;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)},e=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=e.prototype=new t).constructor=e,g.getRatio=function(t){return 0>t?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=e.config=function(t,i){return new e(t,i)},i=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=i.prototype=new t).constructor=i,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=i.config=function(t,e,r){return new i(t,e,r)},r=h("easing.RoughEase",function(e){for(var i,r,n,s,a,o,l=(e=e||{}).taper||"none",h=[],u=0,_=0|(e.points||20),f=_,p=!1!==e.randomize,d=!0===e.clamp,m=e.template instanceof t?e.template:null,g="number"==typeof e.strength?.4*e.strength:.4;--f>-1;)i=p?Math.random():1/_*f,r=m?m.getRatio(i):i,"none"===l?n=g:"out"===l?n=(s=1-i)*s*g:"in"===l?n=i*i*g:.5>i?n=(s=2*i)*s*.5*g:n=(s=2*(1-i))*s*.5*g,p?r+=Math.random()*n-.5*n:f%2?r+=.5*n:r-=.5*n,d&&(r>1?r=1:0>r&&(r=0)),h[u++]={x:i,y:r};for(h.sort(function(t,e){return t.x-e.x}),o=new c(1,1,null),f=_;--f>-1;)a=h[f],o=new c(a.x,a.y,o);this._prev=new c(0,0,0!==o.t?o:o.next)},!0),(g=r.prototype=new t).constructor=r,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new r(t)},r.ease=new r,f("Bounce",u("BounceOut",function(t){return 1/2.75>t?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375}),u("BounceIn",function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:2/2.75>t?1-(7.5625*(t-=1.5/2.75)*t+.75):2.5/2.75>t?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)}),u("BounceInOut",function(t){var e=.5>t;return t=1/2.75>(t=e?1-2*t:2*t-1)?7.5625*t*t:2/2.75>t?7.5625*(t-=1.5/2.75)*t+.75:2.5/2.75>t?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5})),f("Circ",u("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),u("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),u("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),n=function(e,i,r){var n=h("easing."+e,function(t,e){this._p1=t>=1?t:1,this._p2=(e||r)/(1>t?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2},!0),s=n.prototype=new t;return s.constructor=n,s.getRatio=i,s.config=function(t,e){return new n(t,e)},n},f("Elastic",n("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),n("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),n("ElasticInOut",function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1},.45)),f("Expo",u("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),u("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),u("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",u("SineOut",function(t){return Math.sin(t*l)}),u("SineIn",function(t){return 1-Math.cos(t*l)}),u("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),h("easing.EaseLookup",{find:function(e){return t.map[e]}},!0),_(s.SlowMo,"SlowMo","ease,"),_(r,"RoughEase","ease,"),_(e,"SteppedEase","ease,"),d},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(t,e){"use strict";var i={},r=t.document,n=t.GreenSockGlobals=t.GreenSockGlobals||t,s=n[e];if(s)return"undefined"!=typeof module&&module.exports&&(module.exports=s),s;var a,o,l,h,u,_=function(t){var e,i=t.split("."),r=n;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},f=_("com.greensock"),c=1e-8,p=function(t){var e,i=[],r=t.length;for(e=0;e!==r;i.push(t[e++]));return i},d=function(){},m=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)}}(),g={},y=function(r,s,a,o){this.sc=g[r]?g[r].sc:[],g[r]=this,this.gsClass=null,this.func=a;var l=[];this.check=function(h){for(var u,f,c,p,d=s.length,m=d;--d>-1;)(u=g[s[d]]||new y(s[d],[])).gsClass?(l[d]=u.gsClass,m--):h&&u.sc.push(this);if(0===m&&a){if(c=(f=("com.greensock."+r).split(".")).pop(),p=_(f.join("."))[c]=this.gsClass=a.apply(a,l),o)if(n[c]=i[c]=p,"undefined"!=typeof module&&module.exports)if(r===e)for(d in module.exports=i[e]=p,i)p[d]=i[d];else i[e]&&(i[e][c]=p);else"function"==typeof define&&define.amd&&define((t.GreenSockAMDPath?t.GreenSockAMDPath+"/":"")+r.split(".").pop(),[],function(){return p});for(d=0;d<this.sc.length;d++)this.sc[d].check()}},this.check(!0)},v=t._gsDefine=function(t,e,i,r){return new y(t,e,i,r)},x=f._class=function(t,e,i){return e=e||function(){},v(t,[],function(){return e},i),e};v.globals=n;var T=[0,0,1,1],w=x("easing.Ease",function(t,e,i,r){this._func=t,this._type=i||0,this._power=r||0,this._params=e?T.concat(e):T},!0),b=w.map={},P=w.register=function(t,e,i,r){for(var n,s,a,o,l=e.split(","),h=l.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--h>-1;)for(s=l[h],n=r?x("easing."+s,null,!0):f.easing[s]||{},a=u.length;--a>-1;)o=u[a],b[s+"."+o]=b[o+s]=n[o]=t.getRatio?t:t[o]||new t};for((l=w.prototype)._calcEnd=!1,l.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,r=1===e?1-t:2===e?t:.5>t?2*t:2*(1-t);return 1===i?r*=r:2===i?r*=r*r:3===i?r*=r*r*r:4===i&&(r*=r*r*r*r),1===e?1-r:2===e?r:.5>t?r/2:1-r/2},o=(a=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--o>-1;)l=a[o]+",Power"+o,P(new w(null,null,1,o),l,"easeOut",!0),P(new w(null,null,2,o),l,"easeIn"+(0===o?",easeNone":"")),P(new w(null,null,3,o),l,"easeInOut");b.linear=f.easing.Linear.easeIn,b.swing=f.easing.Quad.easeInOut;var S=x("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(l=S.prototype).addEventListener=function(t,e,i,r,n){n=n||0;var s,a,o=this._listeners[t],l=0;for(this!==h||u||h.wake(),null==o&&(this._listeners[t]=o=[]),a=o.length;--a>-1;)(s=o[a]).c===e&&s.s===i?o.splice(a,1):0===l&&s.pr<n&&(l=a+1);o.splice(l,0,{c:e,s:i,up:r,pr:n})},l.removeEventListener=function(t,e){var i,r=this._listeners[t];if(r)for(i=r.length;--i>-1;)if(r[i].c===e)return void r.splice(i,1)},l.dispatchEvent=function(t){var e,i,r,n=this._listeners[t];if(n)for((e=n.length)>1&&(n=n.slice(0)),i=this._eventTarget;--e>-1;)(r=n[e])&&(r.up?r.c.call(r.s||i,{type:t,target:i}):r.c.call(r.s||i))};var O=t.requestAnimationFrame,k=t.cancelAnimationFrame,C=Date.now||function(){return(new Date).getTime()},R=C();for(o=(a=["ms","moz","webkit","o"]).length;--o>-1&&!O;)O=t[a[o]+"RequestAnimationFrame"],k=t[a[o]+"CancelAnimationFrame"]||t[a[o]+"CancelRequestAnimationFrame"];x("Ticker",function(t,e){var i,n,s,a,o,l=this,_=C(),f=!(!1===e||!O)&&"auto",p=500,m=33,g=function(t){var e,r,h=C()-R;h>p&&(_+=h-m),R+=h,l.time=(R-_)/1e3,e=l.time-o,(!i||e>0||!0===t)&&(l.frame++,o+=e+(e>=a?.004:a-e),r=!0),!0!==t&&(s=n(g)),r&&l.dispatchEvent("tick")};S.call(l),l.time=l.frame=0,l.tick=function(){g(!0)},l.lagSmoothing=function(t,e){return arguments.length?(p=t||1/c,void(m=Math.min(e,p,0))):1/c>p},l.sleep=function(){null!=s&&(f&&k?k(s):clearTimeout(s),n=d,s=null,l===h&&(u=!1))},l.wake=function(t){null!==s?l.sleep():t?_+=-R+(R=C()):l.frame>10&&(R=C()-p+5),n=0===i?d:f&&O?O:function(t){return setTimeout(t,1e3*(o-l.time)+1|0)},l===h&&(u=!0),g(2)},l.fps=function(t){return arguments.length?(a=1/((i=t)||60),o=this.time+a,void l.wake()):i},l.useRAF=function(t){return arguments.length?(l.sleep(),f=t,void l.fps(i)):f},l.fps(t),setTimeout(function(){"auto"===f&&l.frame<5&&"hidden"!==(r||{}).visibilityState&&l.useRAF(!1)},1500)}),(l=f.Ticker.prototype=new f.events.EventDispatcher).constructor=f.Ticker;var A=x("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){u||h.wake();var i=this.vars.useFrames?H:Z;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});h=A.ticker=new f.Ticker,(l=A.prototype)._dirty=l._gc=l._initted=l._paused=!1,l._totalTime=l._time=0,l._rawPrevTime=-1,l._next=l._last=l._onUpdate=l._timeline=l.timeline=null,l._paused=!1;var M=function(){u&&C()-R>2e3&&("hidden"!==(r||{}).visibilityState||!h.lagSmoothing())&&h.wake();var t=setTimeout(M,2e3);t.unref&&t.unref()};M(),l.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},l.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},l.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},l.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},l.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},l.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},l.render=function(t,e,i){},l.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},l.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-c},l._enabled=function(t,e){return u||h.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},l._kill=function(t,e){return this._enabled(!1,!1)},l.kill=function(t,e){return this._kill(t,e),this},l._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},l._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},l._callback=function(t){var e=this.vars,i=e[t],r=e[t+"Params"],n=e[t+"Scope"]||e.callbackScope||this;switch(r?r.length:0){case 0:i.call(n);break;case 1:i.call(n,r[0]);break;case 2:i.call(n,r[0],r[1]);break;default:i.apply(n,r)}},l.eventCallback=function(t,e,i,r){if("on"===(t||"").substr(0,2)){var n=this.vars;if(1===arguments.length)return n[t];null==e?delete n[t]:(n[t]=e,n[t+"Params"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,n[t+"Scope"]=r),"onUpdate"===t&&(this._onUpdate=e)}return this},l.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},l.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},l.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},l.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},l.totalTime=function(t,e,i){if(u||h.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(0>t&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var r=this._totalDuration,n=this._timeline;if(t>r&&!i&&(t=r),this._startTime=(this._paused?this._pauseTime:n._time)-(this._reversed?r-t:t)/this._timeScale,n._dirty||this._uncache(!1),n._timeline)for(;n._timeline;)n._timeline._time!==(n._startTime+n._totalTime)/n._timeScale&&n.totalTime(n._totalTime,!0),n=n._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==t||0===this._duration)&&(z.length&&K(),this.render(t,e,!1),z.length&&K())}return this},l.progress=l.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},l.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},l.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},l.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||c,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},l.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},l.paused=function(t){if(!arguments.length)return this._paused;var e,i,r=this._timeline;return t!=this._paused&&r&&(u||t||h.wake(),i=(e=r.rawTime())-this._pauseTime,!t&&r.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=r.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var D=x("core.SimpleTimeline",function(t){A.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(l=D.prototype=new A).constructor=D,l.kill()._gc=!1,l._first=l._last=l._recent=null,l._sortChildren=!1,l.add=l.insert=function(t,e,i,r){var n,s;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),n=this._last,this._sortChildren)for(s=t._startTime;n&&n._startTime>s;)n=n._prev;return n?(t._next=n._next,n._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=n,this._recent=t,this._timeline&&this._uncache(!0),this},l._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},l.render=function(t,e,i){var r,n=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;n;)r=n._next,(n._active||t>=n._startTime&&!n._paused&&!n._gc)&&(n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=r},l.rawTime=function(){return u||h.wake(),this._totalTime};var F=x("TweenLite",function(e,i,r){if(A.call(this,i,r),this.render=F.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:F.selector(e)||e;var n,s,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?Q[F.defaultOverwrite]:"number"==typeof l?l|0:Q[l],(o||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=a=p(e),this._propLookup=[],this._siblings=[],n=0;n<a.length;n++)(s=a[n])?"string"!=typeof s?s.length&&s!==t&&s[0]&&(s[0]===t||s[0].nodeType&&s[0].style&&!s.nodeType)?(a.splice(n--,1),this._targets=a=a.concat(p(s))):(this._siblings[n]=J(s,this,!1),1===l&&this._siblings[n].length>1&&et(s,this,null,1,this._siblings[n])):"string"==typeof(s=a[n--]=F.selector(s))&&a.splice(n+1,1):a.splice(n--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===l&&this._siblings.length>1&&et(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-c,this.render(Math.min(0,-this._delay)))},!0),L=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(l=F.prototype=new A).constructor=F,l.kill()._gc=!1,l.ratio=0,l._firstPT=l._targets=l._overwrittenProps=l._startAt=null,l._notifyPluginsOfEnabled=l._lazy=!1,F.version="2.1.3",F.defaultEase=l._ease=new w(null,null,1,1),F.defaultOverwrite="auto",F.ticker=h,F.autoSleep=120,F.lagSmoothing=function(t,e){h.lagSmoothing(t,e)},F.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(F.selector=i,i(e)):(r||(r=t.document),r?r.querySelectorAll?r.querySelectorAll(e):r.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var z=[],E={},I=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,N=/[\+-]=-?[\.\d]/,j=function(t){for(var e,i=this._firstPT,r=1e-6;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):r>e&&e>-r&&!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},X=function(t){return(1e3*t|0)/1e3+""},B=function(t,e,i,r){var n,s,a,o,l,h,u,_=[],f=0,c="",p=0;for(_.start=t,_.end=e,t=_[0]=t+"",e=_[1]=e+"",i&&(i(_),t=_[0],e=_[1]),_.length=0,n=t.match(I)||[],s=e.match(I)||[],r&&(r._next=null,r.blob=1,_._firstPT=_._applyPT=r),l=s.length,o=0;l>o;o++)u=s[o],c+=(h=e.substr(f,e.indexOf(u,f)-f))||!o?h:",",f+=h.length,p?p=(p+1)%5:"rgba("===h.substr(-5)&&(p=1),u===n[o]||n.length<=o?c+=u:(c&&(_.push(c),c=""),a=parseFloat(n[o]),_.push(a),_._firstPT={_next:_._firstPT,t:_,p:_.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,m:p&&4>p?Math.round:X}),f+=u.length;return(c+=e.substr(f))&&_.push(c),_.setRatio=j,N.test(e)&&(_.end=null),_},Y=function(t,e,i,r,n,s,a,o,l){"function"==typeof r&&(r=r(l||0,t));var h=typeof t[e],u="function"!==h?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),_="get"!==i?i:u?a?t[u](a):t[u]():t[e],f="string"==typeof r&&"="===r.charAt(1),c={t:t,p:e,s:_,f:"function"===h,pg:0,n:n||e,m:s?"function"==typeof s?s:Math.round:0,pr:0,c:f?parseInt(r.charAt(0)+"1",10)*parseFloat(r.substr(2)):parseFloat(r)-_||0};return("number"!=typeof _||"number"!=typeof r&&!f)&&(a||isNaN(_)||!f&&isNaN(r)||"boolean"==typeof _||"boolean"==typeof r?(c.fp=a,c={t:B(_,f?parseFloat(c.s)+c.c+(c.s+"").replace(/[0-9\-\.]/g,""):r,o||F.defaultStringFilter,c),p:"setRatio",s:0,c:1,f:2,pg:0,n:n||e,pr:0,m:0}):(c.s=parseFloat(_),f||(c.c=parseFloat(r)-c.s||0))),c.c?((c._next=this._firstPT)&&(c._next._prev=c),this._firstPT=c,c):void 0},G=F._internals={isArray:m,isSelector:L,lazyTweens:z,blobDif:B},U=F._plugins={},q=G.tweenLookup={},V=0,W=G.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},Q={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},H=A._rootFramesTimeline=new D,Z=A._rootTimeline=new D,$=30,K=G.lazyRender=function(){var t,e,i=z.length;for(E={},t=0;i>t;t++)(e=z[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);z.length=0};Z._startTime=h.time,H._startTime=h.frame,Z._active=H._active=!0,setTimeout(K,1),A._updateRoot=F.render=function(){var t,e,i;if(z.length&&K(),Z.render((h.time-Z._startTime)*Z._timeScale,!1,!1),H.render((h.frame-H._startTime)*H._timeScale,!1,!1),z.length&&K(),h.frame>=$){for(i in $=h.frame+(parseInt(F.autoSleep,10)||120),q){for(t=(e=q[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete q[i]}if((!(i=Z._first)||i._paused)&&F.autoSleep&&!H._first&&1===h._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||h.sleep()}}},h.addEventListener("tick",A._updateRoot);var J=function(t,e,i){var r,n,s=t._gsTweenID;if(q[s||(t._gsTweenID=s="t"+V++)]||(q[s]={target:t,tweens:[]}),e&&((r=q[s].tweens)[n=r.length]=e,i))for(;--n>-1;)r[n]===e&&r.splice(n,1);return q[s].tweens},tt=function(t,e,i,r){var n,s,a=t.vars.onOverwrite;return a&&(n=a(t,e,i,r)),(a=F.onOverwrite)&&(s=a(t,e,i,r)),!1!==n&&!1!==s},et=function(t,e,i,r,n){var s,a,o,l;if(1===r||r>=4){for(l=n.length,s=0;l>s;s++)if((o=n[s])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===r)break;return a}var h,u=e._startTime+c,_=[],f=0,p=0===e._duration;for(s=n.length;--s>-1;)(o=n[s])===e||o._gc||o._paused||(o._timeline!==e._timeline?(h=h||it(e,0,p),0===it(o,h,p)&&(_[f++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((p||!o._initted)&&u-o._startTime<=2*c||(_[f++]=o)));for(s=f;--s>-1;)if(l=(o=_[s])._firstPT,2===r&&o._kill(i,t,e)&&(a=!0),2!==r||!o._firstPT&&o._initted&&l){if(2!==r&&!tt(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},it=function(t,e,i){for(var r=t._timeline,n=r._timeScale,s=t._startTime;r._timeline;){if(s+=r._startTime,n*=r._timeScale,r._paused)return-100;r=r._timeline}return(s/=n)>e?s-e:i&&s===e||!t._initted&&2*c>s-e?c:(s+=t.totalDuration()/t._timeScale/n)>e+c?0:s-e-c};l._init=function(){var t,e,i,r,n,s,a=this.vars,o=this._overwrittenProps,l=this._duration,h=!!a.immediateRender,u=a.ease,_=this._startAt;if(a.startAt){for(r in _&&(_.render(-1,!0),_.kill()),n={},a.startAt)n[r]=a.startAt[r];if(n.data="isStart",n.overwrite=!1,n.immediateRender=!0,n.lazy=h&&!1!==a.lazy,n.startAt=n.delay=null,n.onUpdate=a.onUpdate,n.onUpdateParams=a.onUpdateParams,n.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=F.to(this.target||{},0,n),h)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(a.runBackwards&&0!==l)if(_)_.render(-1,!0),_.kill(),this._startAt=null;else{for(r in 0!==this._time&&(h=!1),i={},a)W[r]&&"autoCSS"!==r||(i[r]=a[r]);if(i.overwrite=0,i.data="isFromStart",i.lazy=h&&!1!==a.lazy,i.immediateRender=h,this._startAt=F.to(this.target,0,i),h){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof w?u:"function"==typeof u?new w(u,a.easeParams):b[u]||F.defaultEase:F.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(s=this._targets.length,t=0;s>t;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&&F._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},l._initProps=function(e,i,r,n,s){var a,o,l,h,u,_;if(null==e)return!1;for(a in E[e._gsTweenID]&&K(),this.vars.css||e.style&&e!==t&&e.nodeType&&U.css&&!1!==this.vars.autoCSS&&function(t,e){var i,r={};for(i in t)W[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!U[i]||U[i]&&U[i]._autoCSS)||(r[i]=t[i],delete t[i]);t.css=r}(this.vars,e),this.vars)if(_=this.vars[a],W[a])_&&(_ instanceof Array||_.push&&m(_))&&-1!==_.join("").indexOf("{self}")&&(this.vars[a]=_=this._swapSelfInParams(_,this));else if(U[a]&&(h=new U[a])._onInitTween(e,this.vars[a],this,s)){for(this._firstPT=u={_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;--o>-1;)i[h._overwriteProps[o]]=this._firstPT;(h._priority||h._onInitAllProps)&&(l=!0),(h._onDisable||h._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[a]=Y.call(this,e,a,"get",_,a,0,null,this.vars.stringFilter,s);return n&&this._kill(n,e)?this._initProps(e,i,r,n,s):this._overwrite>1&&this._firstPT&&r.length>1&&et(e,this,i,this._overwrite,r)?(this._kill(i,e),this._initProps(e,i,r,n,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(E[e._gsTweenID]=!0),l)},l.render=function(t,e,i){var r,n,s,a,o=this,l=o._time,h=o._duration,u=o._rawPrevTime;if(t>=h-c&&t>=0)o._totalTime=o._time=h,o.ratio=o._ease._calcEnd?o._ease.getRatio(1):1,o._reversed||(r=!0,n="onComplete",i=i||o._timeline.autoRemoveChildren),0===h&&(o._initted||!o.vars.lazy||i)&&(o._startTime===o._timeline._duration&&(t=0),(0>u||0>=t&&t>=-c||u===c&&"isPause"!==o.data)&&u!==t&&(i=!0,u>c&&(n="onReverseComplete")),o._rawPrevTime=a=!e||t||u===t?t:c);else if(c>t)o._totalTime=o._time=0,o.ratio=o._ease._calcEnd?o._ease.getRatio(0):0,(0!==l||0===h&&u>0)&&(n="onReverseComplete",r=o._reversed),t>-c?t=0:0>t&&(o._active=!1,0===h&&(o._initted||!o.vars.lazy||i)&&(u>=0&&(u!==c||"isPause"!==o.data)&&(i=!0),o._rawPrevTime=a=!e||t||u===t?t:c)),(!o._initted||o._startAt&&o._startAt.progress())&&(i=!0);else if(o._totalTime=o._time=t,o._easeType){var _=t/h,f=o._easeType,p=o._easePower;(1===f||3===f&&_>=.5)&&(_=1-_),3===f&&(_*=2),1===p?_*=_:2===p?_*=_*_:3===p?_*=_*_*_:4===p&&(_*=_*_*_*_),o.ratio=1===f?1-_:2===f?_:.5>t/h?_/2:1-_/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=u,z.push(o),void(o._lazy=[t,e]);o._time&&!r?o.ratio=o._ease.getRatio(o._time/h):r&&o._ease._calcEnd&&(o.ratio=o._ease.getRatio(0===o._time?0:1))}for(!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):n||(n="_dummyGS")),o.vars.onStart&&(0!==o._time||0===h)&&(e||o._callback("onStart"))),s=o._firstPT;s;)s.f?s.t[s.p](s.c*o.ratio+s.s):s.t[s.p]=s.c*o.ratio+s.s,s=s._next;o._onUpdate&&(0>t&&o._startAt&&-1e-4!==t&&o._startAt.render(t,!0,i),e||(o._time!==l||r||i)&&o._callback("onUpdate")),n&&(!o._gc||i)&&(0>t&&o._startAt&&!o._onUpdate&&-1e-4!==t&&o._startAt.render(t,!0,i),r&&(o._timeline.autoRemoveChildren&&o._enabled(!1,!1),o._active=!1),!e&&o.vars[n]&&o._callback(n),0===h&&o._rawPrevTime===c&&a!==c&&(o._rawPrevTime=0))}},l._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:F.selector(e)||e;var r,n,s,a,o,l,h,u,_,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,c=this._firstPT;if((m(e)||L(e))&&"number"!=typeof e[0])for(r=e.length;--r>-1;)this._kill(t,e[r],i)&&(l=!0);else{if(this._targets){for(r=this._targets.length;--r>-1;)if(e===this._targets[r]){o=this._propLookup[r]||{},this._overwrittenProps=this._overwrittenProps||[],n=this._overwrittenProps[r]=t?this._overwrittenProps[r]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,n=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(h=t||o,u=t!==n&&"all"!==n&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(F.onOverwrite||this.vars.onOverwrite)){for(s in h)o[s]&&(_||(_=[]),_.push(s));if((_||!t)&&!tt(this,i,e,_))return!1}for(s in h)(a=o[s])&&(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[s]),u&&(n[s]=1);!this._firstPT&&this._initted&&c&&this._enabled(!1,!1)}}return l},l.invalidate=function(){this._notifyPluginsOfEnabled&&F._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],A.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-c,this.render(t,!1,!1!==this.vars.lazy)),this},l._enabled=function(t,e){if(u||h.wake(),t&&this._gc){var i,r=this._targets;if(r)for(i=r.length;--i>-1;)this._siblings[i]=J(r[i],this,!0);else this._siblings=J(this.target,this,!0)}return A.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&F._onPluginEvent(t?"_onEnable":"_onDisable",this)},F.to=function(t,e,i){return new F(t,e,i)},F.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new F(t,e,i)},F.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new F(t,e,r)},F.delayedCall=function(t,e,i,r,n){return new F(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:n,overwrite:0})},F.set=function(t,e){return new F(t,0,e)},F.getTweensOf=function(t,e){if(null==t)return[];var i,r,n,s;if(t="string"!=typeof t?t:F.selector(t)||t,(m(t)||L(t))&&"number"!=typeof t[0]){for(i=t.length,r=[];--i>-1;)r=r.concat(F.getTweensOf(t[i],e));for(i=r.length;--i>-1;)for(s=r[i],n=i;--n>-1;)s===r[n]&&r.splice(i,1)}else if(t._gsTweenID)for(i=(r=J(t).concat()).length;--i>-1;)(r[i]._gc||e&&!r[i].isActive())&&r.splice(i,1);return r||[]},F.killTweensOf=F.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var r=F.getTweensOf(t,e),n=r.length;--n>-1;)r[n]._kill(i,t)};var rt=x("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=rt.prototype},!0);if(l=rt.prototype,rt.version="1.19.0",rt.API=2,l._firstPT=null,l._addTween=Y,l.setRatio=j,l._kill=function(t){var e,i=this._overwriteProps,r=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;r;)null!=t[r.n]&&(r._next&&(r._next._prev=r._prev),r._prev?(r._prev._next=r._next,r._prev=null):this._firstPT===r&&(this._firstPT=r._next)),r=r._next;return!1},l._mod=l._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},F._onPluginEvent=function(t,e){var i,r,n,s,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,r=n;r&&r.pr>o.pr;)r=r._next;(o._prev=r?r._prev:s)?o._prev._next=o:n=o,(o._next=r)?r._prev=o:s=o,o=a}o=e._firstPT=n}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},rt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===rt.API&&(U[(new t[e])._propName]=t[e]);return!0},v.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,r=t.priority||0,n=t.overwriteProps,s={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=x("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){rt.call(this,i,r),this._overwriteProps=n||[]},!0===t.global),o=a.prototype=new rt(i);for(e in o.constructor=a,a.API=t.API,s)"function"==typeof t[e]&&(o[s[e]]=t[e]);return a.version=t.version,rt.activate([a]),a},a=t._gsQueue){for(o=0;o<a.length;o++)a[o]();for(l in g)g[l].func||t.console.log("GSAP encountered missing dependency: "+l)}u=!1}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window,"TweenMax"),function(t,e){"function"==typeof define&&define.amd?define(e):"undefined"!=typeof exports?module.exports=e():e()}(0,function(){(void 0!==LS_GSAP?LS_GSAP:window).SplitType=function(t,e,i){function r(t){return null!==t&&"object"==typeof t}function n(t){return r(t)&&"number"==typeof t.length&&t.length>0}function s(t){return r(t)&&/^(1|3|11)$/.test(t.nodeType)}function a(t,e,i){for(var s=Object(t),a=n(s)?s:function(t){return r(t)&&"[object Object]"===Object.prototype.toString.call(t)}(s)?v(s):[s],o=parseInt(a.length)||0,l=0;l<o;l++)e.call(i,a[l],l,s)}function o(t,e){return t=Object(t),e=Object(e),Object.getOwnPropertyNames(t).reduce(function(i,r){return x(i,r,T(e,r)||T(t,r))},{})}function l(t,e,n){var s,a={};return r(t)&&(s=t[p]||(t[p]=++m),a=d[s]||(d[s]={})),n===i?e===i?a:a[e]:e!==i?(a[e]=n,n):void 0}function h(t){var e=t&&t[p];e&&(delete t[e],delete d[e])}function u(t,r){var n=e.createElement(t);return r===i||a(r,function(t){var e=r[t];if(null!==e)switch(t){case"textContent":n.textContent=e;break;case"innerHTML":n.innerHTML=e;break;case"children":a(e,function(t){s(t)&&n.appendChild(t)});break;default:n.setAttribute(t,e)}}),n}function _(t){var i,r,a,o,l,h,u=[];if(function(t){return"string"==typeof t}(t)&&(i=t.trim(),t="#"===i[0]&&!/[^\w]/.test(r=i.slice(1))?e.getElementById(r):e.querySelectorAll(i)),i||s(t))return s(t)?[t]:y.call(t);if(n(t))for(l=0,a=t.length;l<a;l++)if(n(t[l]))for(h=0,o=t[l].length;h<o;h++)s(t[l][h])&&u.push(t[l][h]);else s(t[l])&&u.push(t[l]);return u}function f(e){var i,r,n,s,o=this.settings,h=o.tagName,_="B"+1*new Date+"R",f=o.split,c=-1!==f.indexOf("lines"),p=-1!==f.indexOf("words"),d=-1!==f.indexOf("chars"),m="absolute"===o.position||!0===o.absolute,v=u("div"),x=[],T=[];if(n=c?u("div"):w(),v.innerHTML=e.innerHTML.replace(/<br\s*\/?>/g," "+_+" "),s=v.textContent.replace(/\s+/g," ").trim().split(" ").map(function(t){if(t===_)return n.appendChild(u("br")),null;if(d){var e=t.split("").map(function(t){return u(h,{class:o.charClass+" "+o.splitClass,style:"display: inline-block;",textContent:t})});g.apply(T,e)}return p||c?(r=u(h,{class:o.wordClass+" "+o.splitClass,style:"display: inline-block; position:"+(p?"relative":"static;"),children:d?e:null,textContent:d?null:t}),n.appendChild(r)):a(e,function(t){n.appendChild(t)}),n.appendChild(b(" ")),r},this).filter(function(t){return t}),e.innerHTML="",e.appendChild(n),g.apply(this.words,s),g.apply(this.chars,T),m||c){var P,S,O,k,C,R,A,M,D,F,L,z=[];A=l(e).nodes=e.getElementsByTagName(h),M=e.parentElement,D=e.nextElementSibling,F=t.getComputedStyle(e),L=F.textAlign,m&&(k={left:n.offsetLeft,top:n.offsetTop,width:n.offsetWidth},R=e.offsetWidth,C=e.offsetHeight,l(e).cssWidth=e.style.width,l(e).cssHeight=e.style.height),a(A,function(t){if(t!==n){var e,i=t.parentElement===n;c&&i&&((e=l(t).top=t.offsetTop)!==S&&(S=e,z.push(P=[])),P.push(t)),m&&(l(t).top=e||t.offsetTop,l(t).left=t.offsetLeft,l(t).width=t.offsetWidth,l(t).height=O||(O=t.offsetHeight))}}),M.removeChild(e),c&&(n=w(),x=z.map(function(t){return n.appendChild(i=u(h,{class:o.lineClass+" "+o.splitClass,style:"display: block; text-align:"+L+"; width: 100%;"})),m&&(l(i).type="line",l(i).top=l(t[0]).top,l(i).height=O),a(t,function(t){p?i.appendChild(t):d?y.call(t.children).forEach(function(t){i.appendChild(t)}):i.appendChild(b(t.textContent)),i.appendChild(b(" "))}),i}),e.replaceChild(n,e.firstChild),g.apply(this.lines,x)),m&&(e.style.width=e.style.width||R+"px",e.style.height=C+"px",a(A,function(t){var e="line"===l(t).type,i=!e&&"line"===l(t.parentElement).type;t.style.top=i?0:l(t).top+"px",t.style.left=e?k.left+"px":(i?l(t).left-k.left:l(t).left)+"px",t.style.height=l(t).height+"px",t.style.width=e?k.width+"px":l(t).width+"px",t.style.position="absolute"})),D?M.insertBefore(e,D):M.appendChild(e)}}function c(t,e){return this instanceof c?(this.isSplit=!1,this.settings=o(P,e),this.elements=_(t),void(this.elements.length&&(this.originals=this.elements.map(function(t){return l(t).html=l(t).html||t.innerHTML}),this.split()))):new c(t,e)}if(e.addEventListener&&Function.prototype.bind){var p="splitType"+1*new Date,d={},m=0,g=Array.prototype.push,y=Array.prototype.slice,v=Object.keys,x=(Object.prototype.hasOwnProperty,Object.defineProperty),T=(Object.defineProperties,Object.getOwnPropertyDescriptor),w=e.createDocumentFragment.bind(e),b=e.createTextNode.bind(e),P={splitClass:"",lineClass:"ls-ln",wordClass:"ls-wd",charClass:"ls-ch",split:"lines, words, chars",position:"relative",absolute:!1,tagName:"ls-tb",DEBUG:!1};return x(c,"defaults",{get:function(){return P},set:function(t){P=o(P,t)}}),c.prototype.split=function(t){this.revert(),this.lines=[],this.words=[],this.chars=[],t!==i&&(this.settings=o(this.settings,t)),a(this.elements,function(t){f.call(this,t),l(t).isSplit=!0},this),this.isSplit=!0,a(this.elements,function(t){for(var e=l(t).nodes||[],i=0,r=e.length;i<r;i++)h(e[i])})},c.prototype.revert=function(){this.isSplit&&(this.lines=this.words=this.chars=null),a(this.elements,function(t){l(t).isSplit&&l(t).html&&(t.innerHTML=l(t).html,t.style.height=l(t).cssHeight||"",t.style.width=l(t).cssWidth||"",this.isSplit=!1)},this)},c}}(window,document)}),"object"==typeof LS_Meta&&LS_Meta.fixGSAP&&(window.GreenSockGlobals=null,window._gsQueue=null,window._gsDefine=null,delete window.GreenSockGlobals,delete window._gsQueue,delete window._gsDefine,window.GreenSockGlobals=LS_oldGS,window._gsQueue=LS_oldGSQueue,window._gsDefine=LS_oldGSDefine),window._layerSlider={globals:{youTubeIsReady:!1,vimeoIsReady:!1},GSAP:void 0!==LS_GSAP&&LS_GSAP,pluginsLoaded:[],pluginsNotLoaded:[],pluginsBeingLoaded:[],plugins:{},slidersList:{},closePopupsOnEsc:{},browserCache:{},currentScript:document.currentScript,lsScript:jQuery('script[src*="layerslider.kreaturamedia.jquery.js"]')[0],scriptPath:"",pluginsPath:!1,showNotice:function(t,e,i,r){var n,s,a,o=jQuery(t),l="ls-issue-"+e;switch(e){case"jquery":a="Multiple jQuery issue",s='It looks like that another plugin or your theme loads an extra copy of the jQuery library causing problems for LayerSlider to show your sliders. Please navigate from your WordPress admin sidebar to LayerSlider -> Options -> Advanced and enable the "Include scripts in the footer" option.';break;case"oldjquery":a="Old jQuery issue",s="It looks like you are using an old version ("+i+") of the jQuery library. LayerSlider requires at least version "+r+" or newer. Please update jQuery to 1.10.x or higher. Important: Please do not use the jQuery Updater plugin on WordPress as it can cause issues in certain cases."}o.each(function(){(n=jQuery(this)).hasClass(l)||(n.addClass(l),jQuery('<div class="ls-slider-notification"><i class="ls-slider-notification-logo">!</i><strong>LayerSlider: '+a+"</strong><span>"+s+"</span></div>").insertBefore(n))})},removeSlider:function(t){this.slidersList[t]=null,delete this.slidersList[t]},checkVersions:function(t,e){for(var i=t.split("."),r=e.split("."),n=0;n<i.length;++n){if(r.length==n)return!1;if(parseInt(i[n])!=parseInt(r[n]))return!(parseInt(i[n])>parseInt(r[n]))}return i.length,r.length,!0}},Number.prototype.indexOf=function(t){return(""+this).indexOf(t)};