/* @license GNU-GPL-2.0-or-later https://www.drupal.org/licensing/faq */ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e((t=t||self).window=t.window||{});}(this,(function(t){"use strict";function e(t,e){t.prototype=Object.create(e.prototype),(t.prototype.constructor=t).__proto__=e;}function r(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t;}function i(t){return "string"==typeof t;}function n(t){return "function"==typeof t;}function s(t){return "number"==typeof t;}function a(t){return void 0===t;}function o(t){return "object"==typeof t;}function u(t){return !1!==t;}function h(){return "undefined"!=typeof window;}function l(t){return n(t)||i(t);}function f(t){return (vt=pe(t,ie))&&lr;}function p(t,e){return console.warn("Invalid property",t,"set to",e,"Missing plugin? gsap.registerPlugin()");}function c(t,e){return !e&&console.warn(t);}function _(t,e){return t&&(ie[t]=e)&&vt&&(vt[t]=e)||ie;}function d(){return 0;}function m(t){var e,r,i=t[0];if(o(i)||n(i)||(t=[t]),!(e=(i._gsap||{}).harness)){for(r=le.length;r--&&!le[r].targetTest(i););e=le[r];}for(r=t.length;r--;)t[r]&&(t[r]._gsap||(t[r]._gsap=new Fe(t[r],e)))||t.splice(r,1);return t;}function g(t){return t._gsap||m(ge(t))[0]._gsap;}function v(t,e,r){return (r=t[e])&&n(r)?t[e]():a(r)&&t.getAttribute&&t.getAttribute(e)||r;}function y(t,e){return (t=t.split(",")).forEach(e)||t;}function w(t){return Math.round(1e5*t)/1e5||0;}function T(t,e){for(var r=e.length,i=0;t.indexOf(e[i])<0&&++it._dur||e._start<0))for(var r=t;r;)r._dirty=1,r=r.parent;return t;}function E(t){return t._repeat?ce(t._tTime,t=t.duration()+t._rDelay)*t:0;}function B(t,e){return (t-e._start)*e._ts+(0<=e._ts?0:e._dirty?e.totalDuration():e._tDur);}function L(t){return t._end=w(t._start+(t._tDur/Math.abs(t._ts||t._rts||Xt)||0));}function I(t,e){var r=t._dp;return r&&r.smoothChildTiming&&t._ts&&(t._start=w(t._dp._time-(0Xt)&&e.render(r,!0)),F(t,e)._dp&&t._initted&&t._time>=t._dur&&t._ts){if(t._durs;)a=a._prev;a?(e._next=a._next,a._next=e):(e._next=t[r],t[r]=e),e._next?e._next._prev=e:t[i]=e,e._prev=a,e.parent=e._dp=t;}(t,e,"_first","_last",t._sort?"_start":0),t._recent=e,i||Y(t,e),t;}function U(t,e){return (ie.ScrollTrigger||p("scrollTrigger",e))&&ie.ScrollTrigger.create(e,t);}function X(t,e,r,i){return Ue(t,e),t._initted?!r&&t._pt&&(t._dur&&!1!==t.vars.lazy||!t._dur&&t.vars.lazy)&&wt!==Me.frame?(se.push(t),t._lazy=[e,i],1):void 0:1;}function q(t,e,r,i){var n=t._repeat,s=w(e)||0,a=t._tTime/t._tDur;return a&&!i&&(t._time*=s/t._dur),t._dur=s,t._tDur=n?n<0?1e10:w(s*(n+1)+t._rDelay*n):s,a&&!i?I(t,t._tTime=t._tDur*a):t.parent&&L(t),r||F(t.parent,t),t;}function V(t){return t instanceof Le?F(t):q(t,t._dur);}function j(t,e){var r,n,s=t.labels,a=t._recent||_e,o=t.duration()>=Ut?a.endTime(!1):t._dur;return i(e)&&(isNaN(e)||e in s)?"<"===(r=e.charAt(0))||">"===r?("<"===r?a._start:a.endTime(0<=a._repeat))+(parseFloat(e.substr(1))||0):(r=e.indexOf("="))<0?(e in s||(s[e]=o),s[e]):(n=+(e.charAt(r-1)+e.substr(r+1)),1(n=Math.abs(n))&&(s=i,o=n);return s;}function it(t){return R(t),t.progress()<1&&ye(t,"onInterrupt"),t;}function nt(t,e,r){return (6*(t=t<0?t+1:1>16,t>>8&we,t&we]:0:Te.black;if(!_){if(","===t.substr(-1)&&(t=t.substr(0,t.length-1)),Te[t])_=Te[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(i=t.charAt(1))+i+(n=t.charAt(2))+n+(a=t.charAt(3))+a),_=[(t=parseInt(t.substr(1),16))>>16,t>>8&we,t&we];else if("hsl"===t.substr(0,3))if(_=c=t.match($t),e){if(~t.indexOf("="))return _=t.match(Jt),r&&_.length<4&&(_[3]=1),_;}else o=+_[0]%360/360,u=_[1]/100,i=2*(h=_[2]/100)-(n=h<=.5?h*(u+1):h+u-h*u),3<_.length&&(_[3]*=1),_[0]=nt(o+1/3,i,n),_[1]=nt(o,i,n),_[2]=nt(o-1/3,i,n);else _=t.match($t)||Te.transparent;_=_.map(Number);}return e&&!c&&(i=_[0]/we,n=_[1]/we,a=_[2]/we,h=((l=Math.max(i,n,a))+(f=Math.min(i,n,a)))/2,l===f?o=u=0:(p=l-f,u=.5=r&&te)return i;i=i._next;}else for(i=t._last;i&&i._start>=r;){if(!i._dur&&"isPause"===i.data&&i._start=n._start)&&n._ts&&h!==n){if(n.parent!==this)return this.render(t,e,r);if(n.render(0=this.totalDuration()||!v&&d)&&(f!==this._start&&Math.abs(l)===Math.abs(this._ts)||this._lock||(!t&&g||!(v===m&&0=i&&(s instanceof je?e&&n.push(s):(r&&n.push(s),t&&n.push.apply(n,s.getChildren(!0,e,r)))),s=s._next;return n;},o.getById=function(t){for(var e=this.getChildren(1,1,1),r=e.length;r--;)if(e[r].vars.id===t)return e[r];},o.remove=function(t){return i(t)?this.removeLabel(t):n(t)?this.killTweensOf(t):(z(this,t),t===this._recent&&(this._recent=this._last),F(this));},o.totalTime=function(e,r){return arguments.length?(this._forcing=1,!this._dp&&this._ts&&(this._start=w(Me.time-(0e:!e||a.isActive())&&i.push(a):(r=a.getTweensOf(n,e)).length&&i.push.apply(i,r),a=a._next;return i;},o.tweenTo=function(t,e){e=e||{};var r=this,i=j(r,t),n=e.startAt,s=e.onStart,a=e.onStartParams,o=je.to(r,C(e,{ease:"none",lazy:!1,time:i,overwrite:"auto",duration:e.duration||Math.abs((i-(n&&"time" in n?n.time:r._time))/r.timeScale())||Xt,onStart:function(){r.pause();var t=e.duration||Math.abs((i-r._time)/r.timeScale());o._dur!==t&&q(o,t,0,1).render(o._time,!0,!0),s&&s.apply(o,a||[]);}}));return o;},o.tweenFromTo=function(t,e,r){return this.tweenTo(e,C({startAt:{time:j(this,t)}},r));},o.recent=function(){return this._recent;},o.nextLabel=function(t){return void 0===t&&(t=this._time),rt(this,j(this,t));},o.previousLabel=function(t){return void 0===t&&(t=this._time),rt(this,j(this,t),1);},o.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.previousLabel(this._time+Xt);},o.shiftChildren=function(t,e,r){void 0===r&&(r=0);for(var i,n=this._first,s=this.labels;n;)n._start>=r&&(n._start+=t,n._end+=t),n=n._next;if(e)for(i in s)s[i]>=r&&(s[i]+=t);return F(this);},o.invalidate=function(){var e=this._first;for(this._lock=0;e;)e.invalidate(),e=e._next;return t.prototype.invalidate.call(this);},o.clear=function(t){void 0===t&&(t=!0);for(var e,r=this._first;r;)e=r._next,this.remove(r),r=e;return this._time=this._tTime=this._pTime=0,t&&(this.labels={}),F(this);},o.totalDuration=function(t){var e,r,i,n=0,s=this,a=s._last,o=Ut;if(arguments.length)return s.timeScale((s._repeat<0?s.duration():s.totalDuration())/(s.reversed()?-t:t));if(s._dirty){for(i=s.parent;a;)e=a._prev,a._dirty&&a.totalDuration(),o<(r=a._start)&&s._sort&&a._ts&&!s._lock?(s._lock=1,N(s,a,r-a._delay,1)._lock=0):o=r,r<0&&a._ts&&(n-=r,(!i&&!s._dp||i&&i.smoothChildTiming)&&(s._start+=r/s._ts,s._time-=r,s._tTime-=r),s.shiftChildren(-r,!1,-1/0),o=0),a._end>n&&a._ts&&(n=a._end),a=e;q(s,s===_t&&s._time>n?s._time:n,1,1),s._dirty=0;}return s._tDur;},a.updateRoot=function(t){if(_t._ts&&(M(_t,B(t,_t)),wt=Me.frame),Me.frame>=he){he+=Yt.autoSleep||120;var e=_t._first;if((!e||!e._ts)&&Yt.autoSleep&&Me._listeners.length<2){for(;e&&!e._ts;)e=e._next;e||Me.sleep();}}},a;}(Ee);function Ie(t,e,r,s,a,u){var h,l,f,p;if(oe[t]&&!1!==(h=new oe[t]()).init(a,h.rawVars?e[t]:function(t,e,r,s,a){if(n(t)&&(t=Xe(t,a,e,r,s)),!o(t)||t.style&&t.nodeType||Ht(t)||Zt(t))return i(t)?Xe(t,a,e,r,s):t;var u,h={};for(u in t)h[u]=Xe(t[u],a,e,r,s);return h;}(e[t],s,a,u,r),r,s,u)&&(r._pt=l=new sr(r._pt,a,t,0,1,h.render,h,0,h.priority),r!==Tt))for(f=r._ptLookup[r._targets.indexOf(a)],p=h._props.length;p--;)f[h._props[p]]=l;return h;}C(Le.prototype,{_lock:0,_hasPause:0,_forcing:0});var Ye,Ne=function(t,e,r,s,a,o,u,h,l){n(s)&&(s=s(a||0,t,o));var f,c=t[e],_="get"!==r?r:n(c)?l?t[e.indexOf("set")||!n(t["get"+e.substr(3)])?e:"get"+e.substr(3)](l):t[e]():c,d=n(c)?l?He:Ze:We;if(i(s)&&(~s.indexOf("random(")&&(s=et(s)),"="===s.charAt(1)&&(s=parseFloat(_)+parseFloat(s.substr(2))*("-"===s.charAt(0)?-1:1)+(G(_)||0))),_!==s)return isNaN(_*s)?(c||e in t||p(e,s),function(t,e,r,i,n,s,a){var o,u,h,l,f,p,c,_,d=new sr(this._pt,t,e,0,1,tr,null,n),m=0,g=0;for(d.b=r,d.e=i,r+="",(c=~(i+="").indexOf("random("))&&(i=et(i)),s&&(s(_=[r,i],t,e),r=_[0],i=_[1]),u=r.match(te)||[];o=te.exec(i);)l=o[0],f=i.substring(m,o.index),h?h=(h+1)%5:"rgba("===f.substr(-5)&&(h=1),l!==u[g++]&&(p=parseFloat(u[g-1])||0,d._pt={_next:d._pt,p:f||1===g?f:",",s:p,c:"="===l.charAt(1)?parseFloat(l.substr(2))*("-"===l.charAt(0)?-1:1):parseFloat(l)-p,m:h&&h<4?Math.round:0},m=te.lastIndex);return d.c=m");}));else{if(g=B.length,T=A?H(A):d,o(A))for(v in A)~qe.indexOf(v)&&((x=x||{})[v]=A[v]);for(p=0;pXt&&!t._dp._lock||(t._ts<0||t._dp._ts<0)&&"isFromStart"!==t.data&&"isStart"!==t.data?0:1,u=t._rDelay,h=0;if(u&&t._repeat&&(h=de(0,t._tDur,e),ce(h,u)!==(s=ce(t._tTime,u))&&(a=1-o,t.vars.repeatRefresh&&t._initted&&t.invalidate())),o!==a||i||t._zTime===Xt||!e&&t._zTime){if(!t._initted&&X(t,e,i,r))return;for(s=t._zTime,t._zTime=e||(r?Xt:0),r=r||e&&!s,t.ratio=o,t._from&&(o=1-o),t._time=0,t._tTime=h,r||ye(t,"onStart"),n=t._pt;n;)n.r(o,n.d),n=n._next;t._startAt&&e<0&&t._startAt.render(e,!0,!0),t._onUpdate&&!r&&ye(t,"onUpdate"),h&&t._repeat&&!r&&t.parent&&ye(t,"onRepeat"),(e>=t._tDur||e<0)&&t.ratio===o&&(o&&R(t,1),r||(ye(t,o?"onComplete":"onReverseComplete",!0),t._prom&&t._prom()));}else t._zTime||(t._zTime=e);}(this,t,e,r);return this;},a.targets=function(){return this._targets;},a.invalidate=function(){return this._pt=this._op=this._startAt=this._onUpdate=this._act=this._lazy=0,this._ptLookup=[],this.timeline&&this.timeline.invalidate(),t.prototype.invalidate.call(this);},a.kill=function(t,e){if(void 0===e&&(e="all"),!(t||e&&"all"!==e)&&(this._lazy=0,this.parent))return it(this);if(this.timeline){var r=this.timeline.totalDuration();return this.timeline.killTweensOf(t,e,Ye&&!0!==Ye.vars.overwrite)._first||it(this),this.parent&&r!==this.timeline.totalDuration()&&q(this,this._dur*this.timeline._tDur/r,0,1),this;}var n,s,a,o,u,h,l,f=this._targets,p=t?ge(t):f,c=this._ptLookup,_=this._pt;if((!e||"all"===e)&&function(t,e){for(var r=t.length,i=r===e.length;i&&r--&&t[r]===e[r];);return r<0;}(f,p))return "all"===e&&(this._pt=0),it(this);for(n=this._op=this._op||[],"all"!==e&&(i(e)&&(u={},y(e,(function(t){return u[t]=1;})),e=u),e=function(t,e){var r,i,n,s,a=t[0]?g(t[0]).harness:0,o=a&&a.aliases;if(!o)return e;for(i in r=pe({},e),o)if(i in r)for(n=(s=o[i].split(",")).length;n--;)r[s[n]]=r[i];return r;}(f,e)),l=f.length;l--;)if(~p.indexOf(f[l]))for(u in s=c[l],"all"===e?(n[l]=e,o=s,a={}):(a=n[l]=n[l]||{},o=e),o)(h=s&&s[u])&&("kill" in h.d&&!0!==h.d.kill(u)||z(this,h,"_pt"),delete s[u]),"all"!==a&&(a[u]=1);return this._initted&&!this._pt&&_&&it(this),this;},n.to=function(t,e,r){return new n(t,e,r);},n.from=function(t,e){return new n(t,x(arguments,1));},n.delayedCall=function(t,e,r,i){return new n(e,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:t,onComplete:e,onReverseComplete:e,onCompleteParams:r,onReverseCompleteParams:r,callbackScope:i});},n.fromTo=function(t,e,r){return new n(t,x(arguments,2));},n.set=function(t,e){return e.duration=0,e.repeatDelay||(e.repeat=0),new n(t,e);},n.killTweensOf=function(t,e,r){return _t.killTweensOf(t,e,r);},n;}(Ee);function Qe(t,e,r){return t.setAttribute(e,r);}function Ge(t,e,r,i){i.mSet(t,e,i.m.call(i.tween,r,i.mt),i);}C(je.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0}),y("staggerTo,staggerFrom,staggerFromTo",(function(t){je[t]=function(){var e=new Le(),r=me.call(arguments,0);return r.splice("staggerFromTo"===t?5:4,0,0),e[t].apply(e,r);};}));var We=function(t,e,r){return t[e]=r;},Ze=function(t,e,r){return t[e](r);},He=function(t,e,r,i){return t[e](i.fp,r);},$e=function(t,e){return n(t[e])?Ze:a(t[e])&&t.setAttribute?Qe:We;},Je=function(t,e){return e.set(e.t,e.p,Math.round(1e4*(e.s+e.c*t))/1e4,e);},Ke=function(t,e){return e.set(e.t,e.p,!!(e.s+e.c*t),e);},tr=function(t,e){var r=e._pt,i="";if(!t&&e.b)i=e.b;else if(1===t&&e.e)i=e.e;else{for(;r;)i=r.p+(r.m?r.m(r.s+r.c*t):Math.round(1e4*(r.s+r.c*t))/1e4)+i,r=r._next;i+=e.c;}e.set(e.t,e.p,i,e);},er=function(t,e){for(var r=e._pt;r;)r.r(t,r.d),r=r._next;},rr=function(t,e,r,i){for(var n,s=this._pt;s;)n=s._next,s.p===i&&s.modifier(t,e,r),s=n;},ir=function(t){for(var e,r,i=this._pt;i;)r=i._next,i.p===t&&!i.op||i.op===t?z(this,i,"_pt"):i.dep||(e=1),i=r;return !e;},nr=function(t){for(var e,r,i,n,s=t._pt;s;){for(e=s._next,r=i;r&&r.pr>s.pr;)r=r._next;(s._prev=r?r._prev:n)?s._prev._next=s:i=s,(s._next=r)?r._prev=s:n=s,s=e;}t._pt=i;},sr=(ar.prototype.modifier=function(t,e,r){this.mSet=this.mSet||this.set,this.set=Ge,this.m=t,this.mt=r,this.tween=e;},ar);function ar(t,e,r,i,n,s,a,o,u){this.t=e,this.s=i,this.c=n,this.p=r,this.r=s||Je,this.d=a||this,this.set=o||We,this.pr=u||0,(this._next=t)&&(t._prev=this);}y(fe+"parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger",(function(t){return ne[t]=1;})),ie.TweenMax=ie.TweenLite=je,ie.TimelineLite=ie.TimelineMax=Le,_t=new Le({sortChildren:!1,defaults:Nt,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0}),Yt.stringFilter=ut;var or={registerPlugin:function(){for(var t=arguments.length,e=new Array(t),r=0;rr&&(n*=t/100),e=e.substr(0,r-1)),e=n+(e in Re?Re[e]*t:~e.indexOf("%")?parseFloat(e)*t/100:parseFloat(e)||0);}return e;}function T(e,t,r,n,s,a,l){var c=s.startColor,f=s.endColor,u=s.fontSize,d=s.indent,p=s.fontWeight,h=I.createElement("div"),g=o(r)||"fixed"===i(r,"pinType"),v=-1!==e.indexOf("scroller"),m=g?W:r,x=-1!==e.indexOf("start"),y=x?c:f,b="border-color:"+y+";font-size:"+u+";color:"+y+";font-weight:"+p+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";return b+="position:"+(v&&g?"fixed;":"absolute;"),!v&&g||(b+=(n===_e?ve:me)+":"+(a+parseFloat(d))+"px;"),l&&(b+="box-sizing:border-box;text-align:left;width:"+l.offsetWidth+"px;"),h._isStart=x,h.setAttribute("class","gsap-marker-"+e),h.style.cssText=b,h.innerText=t||0===t?e+"-"+t:e,m.insertBefore(h,m.children[0]),h._offset=h["offset"+n.op.d2],Ne(h,0,n,x),h;}function C(){return j=j||q(Ze);}function O(){j||(j=q(Ze),fe||He("scrollStart"),fe=le());}function M(){return !Z&&H.restart(!0);}function S(e){var t,r=R.ticker.frame,n=[],o=0;if(oe!==r||ie){for(Xe();o=l(gt,Ze),pt)if(e||!o&&!s)z(it,oe);else{var h=Ae(it,!0),g=f-S;z(it,W,h.top+(Ze===_e?g:0)+Pe,h.left+(Ze===_e?0:g)+Pe);}Ke(o||s?Q:ee),ge!==G&&d<1&&o||pe(he+(1!==d||s?0:ge));}}else pe(he+ge*d);!dt||n.tween||Z||ie||je.restart(!0),Ge&&(c||ut&&d&&(d<1||!re))&&X(Ge.targets).forEach((function(e){return e.classList[o||ut?"add":"remove"](Ge.className);})),!$e||ht||e||$e(Tt),a&&!Z?(i=d&&!p?0:1===d?1:1===p?2:3,ht&&(s=!c&&"none"!==bt[i+1]&&bt[i+1]||bt[i],r&&("complete"===s||"reset"===s||s in r)&&("complete"===s?r.pause().totalProgress(1):"reset"===s?r.restart(!0).pause():r[s]()),$e&&$e(Tt)),!c&&re||(et&&c&&et(Tt),yt[i]&&yt[i](Tt),ut&&(1===d?Tt.kill(!1,1):yt[i]=0),c||yt[i=1===d?1:3]&&yt[i](Tt))):ht&&$e&&!Z&&$e(Tt);}Re&&(Se(f+(q._isFlipped?1:0)),Re(f));},Tt.enable=function(){Tt.enabled||(Tt.enabled=!0,b(gt,"resize",M),b(gt,"scroll",O),Ct&&b(rt,"refreshInit",Ct),r&&r.add?R.delayedCall(.01,(function(){return S||N||Tt.refresh();}))&&(G=.01)&&(S=N=0):Tt.refresh());},Tt.disable=function(e,t){if(Tt.enabled&&(!1!==e&&Tt.revert(),Tt.enabled=Tt.isActive=!1,t||De&&De.pause(),Ye=0,c&&(c.uncache=1),Ct&&w(rt,"refreshInit",Ct),je&&(je.pause(),n.tween&&n.tween.kill()&&(n.tween=0)),!mt)){for(var r=Be.length;r--;)if(Be[r].scroller===gt&&Be[r]!==Tt)return;w(gt,"resize",M),w(gt,"scroll",O);}},Tt.kill=function(e,t){Tt.disable(e,t),Je&&delete Ie[Je];var n=Be.indexOf(Tt);Be.splice(n,1),n===J&&0