PageSourceSearch

https://cryptodadsnft.com/wp-content/cache/wpo-minify/1734125830/assets/wpo-minify-footer-30f204ba.min.js

js cryptodadsnft.com collected 2026-10-06 04:55:49 UTC 567,017 bytes, 1,877 lines download raw bytes

1
2(function(modules){var installedModules={};function __webpack_require__(moduleId){if(installedModules[moduleId]){return installedModules[moduleId].exports}
3var module=installedModules[moduleId]={i:moduleId,l:!1,exports:{}};modules[moduleId].call(module.exports,module,module.exports,__webpack_require__);module.l=!0;return module.exports}
4__webpack_require__.m=modules;__webpack_require__.c=installedModules;__webpack_require__.d=function(exports,name,getter){if(!__webpack_require__.o(exports,name)){Object.defineProperty(exports,name,{configurable:!1,enumerable:!0,get:getter})}};__webpack_require__.r=function(exports){Object.defineProperty(exports,'__esModule',{value:!0})};__webpack_require__.n=function(module){var getter=module&&module.__esModule?function getDefault(){return module['default']}:function getModuleExports(){return module};__webpack_require__.d(getter,'a',getter);return getter};__webpack_require__.o=function(object,property){return Object.prototype.hasOwnProperty.call(object,property)};__webpack_require__.p="/";return __webpack_require__(__webpack_require__.s=0)})({
vendor: 35,380 bytes, lines 4-94
4"./node_modules/gsap/CSSPlugin.js":
5/*!****************************************!*\
6  !*** ./node_modules/gsap/CSSPlugin.js ***!
7  \****************************************/
8/*! exports provided: CSSPlugin, default, _getBBox, _createElement, checkPrefix */
9(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"CSSPlugin",function(){return CSSPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return CSSPlugin});__webpack_require__.d(__webpack_exports__,"_getBBox",function(){return _getBBox});__webpack_require__.d(__webpack_exports__,"_createElement",function(){return _createElement});__webpack_require__.d(__webpack_exports__,"checkPrefix",function(){return _checkPropPrefix});var _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./gsap-core.js */"./node_modules/gsap/gsap-core.js");
10/*!
11 * CSSPlugin 3.7.1
12 * https://greensock.com
13 *
14 * Copyright 2008-2021, GreenSock. All rights reserved.
15 * Subject to the terms at https://greensock.com/standard-license or for
16 * Club GreenSock members, the agreement issued with that membership.
17 * @author: Jack Doyle, [email protected]
18*/
19var _win,_doc,_docElement,_pluginInitted,_tempDiv,_tempDivStyler,_recentSetterPlugin,_windowExists=function _windowExists(){return typeof window!=="undefined"},_transformProps={},_RAD2DEG=180/Math.PI,_DEG2RAD=Math.PI/180,_atan2=Math.atan2,_bigNum=1e8,_capsExp=/([A-Z])/g,_horizontalExp=/(?:left|right|width|margin|padding|x)/i,_complexExp=/[\s,\(]\S/,_propertyAliases={autoAlpha:"opacity,visibility",scale:"scaleX,scaleY",alpha:"opacity"},_renderCSSProp=function _renderCSSProp(ratio,data){return data.set(data.t,data.p,Math.round((data.s+data.c*ratio)*10000)/10000+data.u,data)},_renderPropWithEnd=function _renderPropWithEnd(ratio,data){return data.set(data.t,data.p,ratio===1?data.e:Math.round((data.s+data.c*ratio)*10000)/10000+data.u,data)},_renderCSSPropWithBeginning=function _renderCSSPropWithBeginning(ratio,data){return data.set(data.t,data.p,ratio?Math.round((data.s+data.c*ratio)*10000)/10000+data.u:data.b,data)},_renderRoundedCSSProp=function _renderRoundedCSSProp(ratio,data){var value=data.s+data.c*ratio;data.set(data.t,data.p,~~(value+(value<0?-.5:.5))+data.u,data)},_renderNonTweeningValue=function _renderNonTweeningValue(ratio,data){return data.set(data.t,data.p,ratio?data.e:data.b,data)},_renderNonTweeningValueOnlyAtEnd=function _renderNonTweeningValueOnlyAtEnd(ratio,data){return data.set(data.t,data.p,ratio!==1?data.b:data.e,data)},_setterCSSStyle=function _setterCSSStyle(target,property,value){return target.style[property]=value},_setterCSSProp=function _setterCSSProp(target,property,value){return target.style.setProperty(property,value)},_setterTransform=function _setterTransform(target,property,value){return target._gsap[property]=value},_setterScale=function _setterScale(target,property,value){return target._gsap.scaleX=target._gsap.scaleY=value},_setterScaleWithRender=function _setterScaleWithRender(target,property,value,data,ratio){var cache=target._gsap;cache.scaleX=cache.scaleY=value;cache.renderTransform(ratio,cache)},_setterTransformWithRender=function _setterTransformWithRender(target,property,value,data,ratio){var cache=target._gsap;cache[property]=value;cache.renderTransform(ratio,cache)},_transformProp="transform",_transformOriginProp=_transformProp+"Origin",_supports3D,_createElement=function _createElement(type,ns){var e=_doc.createElementNS?_doc.createElementNS((ns||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),type):_doc.createElement(type);return e.style?e:_doc.createElement(type)},_getComputedProperty=function _getComputedProperty(target,property,skipPrefixFallback){var cs=getComputedStyle(target);return cs[property]||cs.getPropertyValue(property.replace(_capsExp,"-$1").toLowerCase())||cs.getPropertyValue(property)||!skipPrefixFallback&&_getComputedProperty(target,_checkPropPrefix(property)||property,1)||""},_prefixes="O,Moz,ms,Ms,Webkit".split(","),_checkPropPrefix=function _checkPropPrefix(property,element,preferPrefix){var e=element||_tempDiv,s=e.style,i=5;if(property in s&&!preferPrefix){return property}
20property=property.charAt(0).toUpperCase()+property.substr(1);while(i--&&!(_prefixes[i]+property in s)){}
21return i<0?null:(i===3?"ms":i>=0?_prefixes[i]:"")+property},_initCore=function _initCore(){if(_windowExists()&&window.document){_win=window;_doc=_win.document;_docElement=_doc.documentElement;_tempDiv=_createElement("div")||{style:{}};_tempDivStyler=_createElement("div");_transformProp=_checkPropPrefix(_transformProp);_transformOriginProp=_transformProp+"Origin";_tempDiv.style.cssText="border-width:0;line-height:0;position:absolute;padding:0";_supports3D=!!_checkPropPrefix("perspective");_pluginInitted=1}},_getBBoxHack=function _getBBoxHack(swapIfPossible){var svg=_createElement("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),oldParent=this.parentNode,oldSibling=this.nextSibling,oldCSS=this.style.cssText,bbox;_docElement.appendChild(svg);svg.appendChild(this);this.style.display="block";if(swapIfPossible){try{bbox=this.getBBox();this._gsapBBox=this.getBBox;this.getBBox=_getBBoxHack}catch(e){}}else if(this._gsapBBox){bbox=this._gsapBBox()}
22if(oldParent){if(oldSibling){oldParent.insertBefore(this,oldSibling)}else{oldParent.appendChild(this)}}
23_docElement.removeChild(svg);this.style.cssText=oldCSS;return bbox},_getAttributeFallbacks=function _getAttributeFallbacks(target,attributesArray){var i=attributesArray.length;while(i--){if(target.hasAttribute(attributesArray[i])){return target.getAttribute(attributesArray[i])}}},_getBBox=function _getBBox(target){var bounds;try{bounds=target.getBBox()}catch(error){bounds=_getBBoxHack.call(target,!0)}
24bounds&&(bounds.width||bounds.height)||target.getBBox===_getBBoxHack||(bounds=_getBBoxHack.call(target,!0));return bounds&&!bounds.width&&!bounds.x&&!bounds.y?{x:+_getAttributeFallbacks(target,["x","cx","x1"])||0,y:+_getAttributeFallbacks(target,["y","cy","y1"])||0,width:0,height:0}:bounds},_isSVG=function _isSVG(e){return!!(e.getCTM&&(!e.parentNode||e.ownerSVGElement)&&_getBBox(e))},_removeProperty=function _removeProperty(target,property){if(property){var style=target.style;if(property in _transformProps&&property!==_transformOriginProp){property=_transformProp}
25if(style.removeProperty){if(property.substr(0,2)==="ms"||property.substr(0,6)==="webkit"){property="-"+property}
26style.removeProperty(property.replace(_capsExp,"-$1").toLowerCase())}else{style.removeAttribute(property)}}},_addNonTweeningPT=function _addNonTweeningPT(plugin,target,property,beginning,end,onlySetAtEnd){var pt=new _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.PropTween(plugin._pt,target,property,0,1,onlySetAtEnd?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue);plugin._pt=pt;pt.b=beginning;pt.e=end;plugin._props.push(property);return pt},_nonConvertibleUnits={deg:1,rad:1,turn:1},_convertToUnit=function _convertToUnit(target,property,value,unit){var curValue=parseFloat(value)||0,curUnit=(value+"").trim().substr((curValue+"").length)||"px",style=_tempDiv.style,horizontal=_horizontalExp.test(property),isRootSVG=target.tagName.toLowerCase()==="svg",measureProperty=(isRootSVG?"client":"offset")+(horizontal?"Width":"Height"),amount=100,toPixels=unit==="px",toPercent=unit==="%",px,parent,cache,isSVG;if(unit===curUnit||!curValue||_nonConvertibleUnits[unit]||_nonConvertibleUnits[curUnit]){return curValue}
27curUnit!=="px"&&!toPixels&&(curValue=_convertToUnit(target,property,value,"px"));isSVG=target.getCTM&&_isSVG(target);if((toPercent||curUnit==="%")&&(_transformProps[property]||~property.indexOf("adius"))){px=isSVG?target.getBBox()[horizontal?"width":"height"]:target[measureProperty];return Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(toPercent?curValue/px*amount:curValue/100*px)}
28style[horizontal?"width":"height"]=amount+(toPixels?curUnit:unit);parent=~property.indexOf("adius")||unit==="em"&&target.appendChild&&!isRootSVG?target:target.parentNode;if(isSVG){parent=(target.ownerSVGElement||{}).parentNode}
29if(!parent||parent===_doc||!parent.appendChild){parent=_doc.body}
30cache=parent._gsap;if(cache&&toPercent&&cache.width&&horizontal&&cache.time===_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._ticker.time){return Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(curValue/cache.width*amount)}else{(toPercent||curUnit==="%")&&(style.position=_getComputedProperty(target,"position"));parent===target&&(style.position="static");parent.appendChild(_tempDiv);px=_tempDiv[measureProperty];parent.removeChild(_tempDiv);style.position="absolute";if(horizontal&&toPercent){cache=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._getCache)(parent);cache.time=_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._ticker.time;cache.width=parent[measureProperty]}}
31return Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(toPixels?px*curValue/amount:px&&curValue?amount/px*curValue:0)},_get=function _get(target,property,unit,uncache){var value;_pluginInitted||_initCore();if(property in _propertyAliases&&property!=="transform"){property=_propertyAliases[property];if(~property.indexOf(",")){property=property.split(",")[0]}}
32if(_transformProps[property]&&property!=="transform"){value=_parseTransform(target,uncache);value=property!=="transformOrigin"?value[property]:value.svg?value.origin:_firstTwoOnly(_getComputedProperty(target,_transformOriginProp))+" "+value.zOrigin+"px"}else{value=target.style[property];if(!value||value==="auto"||uncache||~(value+"").indexOf("calc(")){value=_specialProps[property]&&_specialProps[property](target,property,unit)||_getComputedProperty(target,property)||Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._getProperty)(target,property)||(property==="opacity"?1:0)}}
33return unit&&!~(value+"").trim().indexOf(" ")?_convertToUnit(target,property,value,unit)+unit:value},_tweenComplexCSSString=function _tweenComplexCSSString(target,prop,start,end){if(!start||start==="none"){var p=_checkPropPrefix(prop,target,1),s=p&&_getComputedProperty(target,p,1);if(s&&s!==start){prop=p;start=s}else if(prop==="borderColor"){start=_getComputedProperty(target,"borderTopColor")}}
34var pt=new _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.PropTween(this._pt,target.style,prop,0,1,_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._renderComplexString),index=0,matchIndex=0,a,result,startValues,startNum,color,startValue,endValue,endNum,chunk,endUnit,startUnit,relative,endValues;pt.b=start;pt.e=end;start+="";end+="";if(end==="auto"){target.style[prop]=end;end=_getComputedProperty(target,prop)||end;target.style[prop]=start}
35a=[start,end];Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._colorStringFilter)(a);start=a[0];end=a[1];startValues=start.match(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._numWithUnitExp)||[];endValues=end.match(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._numWithUnitExp)||[];if(endValues.length){while(result=_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._numWithUnitExp.exec(end)){endValue=result[0];chunk=end.substring(index,result.index);if(color){color=(color+1)%5}else if(chunk.substr(-5)==="rgba("||chunk.substr(-5)==="hsla("){color=1}
36if(endValue!==(startValue=startValues[matchIndex++]||"")){startNum=parseFloat(startValue)||0;startUnit=startValue.substr((startNum+"").length);relative=endValue.charAt(1)==="="?+(endValue.charAt(0)+"1"):0;if(relative){endValue=endValue.substr(2)}
37endNum=parseFloat(endValue);endUnit=endValue.substr((endNum+"").length);index=_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._numWithUnitExp.lastIndex-endUnit.length;if(!endUnit){endUnit=endUnit||_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._config.units[prop]||startUnit;if(index===end.length){end+=endUnit;pt.e+=endUnit}}
38if(startUnit!==endUnit){startNum=_convertToUnit(target,prop,startValue,endUnit)||0}
39pt._pt={_next:pt._pt,p:chunk||matchIndex===1?chunk:",",s:startNum,c:relative?relative*endNum:endNum-startNum,m:color&&color<4||prop==="zIndex"?Math.round:0}}}
40pt.c=index<end.length?end.substring(index,end.length):""}else{pt.r=prop==="display"&&end==="none"?_renderNonTweeningValueOnlyAtEnd:_renderNonTweeningValue}
41_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._relExp.test(end)&&(pt.e=0);this._pt=pt;return pt},_keywordToPercent={top:"0%",bottom:"100%",left:"0%",right:"100%",center:"50%"},_convertKeywordsToPercentages=function _convertKeywordsToPercentages(value){var split=value.split(" "),x=split[0],y=split[1]||"50%";if(x==="top"||x==="bottom"||y==="left"||y==="right"){value=x;x=y;y=value}
42split[0]=_keywordToPercent[x]||x;split[1]=_keywordToPercent[y]||y;return split.join(" ")},_renderClearProps=function _renderClearProps(ratio,data){if(data.tween&&data.tween._time===data.tween._dur){var target=data.t,style=target.style,props=data.u,cache=target._gsap,prop,clearTransforms,i;if(props==="all"||props===!0){style.cssText="";clearTransforms=1}else{props=props.split(",");i=props.length;while(--i>-1){prop=props[i];if(_transformProps[prop]){clearTransforms=1;prop=prop==="transformOrigin"?_transformOriginProp:_transformProp}
43_removeProperty(target,prop)}}
44if(clearTransforms){_removeProperty(target,_transformProp);if(cache){cache.svg&&target.removeAttribute("transform");_parseTransform(target,1);cache.uncache=1}}}},_specialProps={clearProps:function clearProps(plugin,target,property,endValue,tween){if(tween.data!=="isFromStart"){var pt=plugin._pt=new _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.PropTween(plugin._pt,target,property,0,0,_renderClearProps);pt.u=endValue;pt.pr=-10;pt.tween=tween;plugin._props.push(property);return 1}}},_identity2DMatrix=[1,0,0,1,0,0],_rotationalProperties={},_isNullTransform=function _isNullTransform(value){return value==="matrix(1, 0, 0, 1, 0, 0)"||value==="none"||!value},_getComputedTransformMatrixAsArray=function _getComputedTransformMatrixAsArray(target){var matrixString=_getComputedProperty(target,_transformProp);return _isNullTransform(matrixString)?_identity2DMatrix:matrixString.substr(7).match(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._numExp).map(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)},_getMatrix=function _getMatrix(target,force2D){var cache=target._gsap||Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._getCache)(target),style=target.style,matrix=_getComputedTransformMatrixAsArray(target),parent,nextSibling,temp,addedToDOM;if(cache.svg&&target.getAttribute("transform")){temp=target.transform.baseVal.consolidate().matrix;matrix=[temp.a,temp.b,temp.c,temp.d,temp.e,temp.f];return matrix.join(",")==="1,0,0,1,0,0"?_identity2DMatrix:matrix}else if(matrix===_identity2DMatrix&&!target.offsetParent&&target!==_docElement&&!cache.svg){temp=style.display;style.display="block";parent=target.parentNode;if(!parent||!target.offsetParent){addedToDOM=1;nextSibling=target.nextSibling;_docElement.appendChild(target)}
45matrix=_getComputedTransformMatrixAsArray(target);temp?style.display=temp:_removeProperty(target,"display");if(addedToDOM){nextSibling?parent.insertBefore(target,nextSibling):parent?parent.appendChild(target):_docElement.removeChild(target)}}
46return force2D&&matrix.length>6?[matrix[0],matrix[1],matrix[4],matrix[5],matrix[12],matrix[13]]:matrix},_applySVGOrigin=function _applySVGOrigin(target,origin,originIsAbsolute,smooth,matrixArray,pluginToAddPropTweensTo){var cache=target._gsap,matrix=matrixArray||_getMatrix(target,!0),xOriginOld=cache.xOrigin||0,yOriginOld=cache.yOrigin||0,xOffsetOld=cache.xOffset||0,yOffsetOld=cache.yOffset||0,a=matrix[0],b=matrix[1],c=matrix[2],d=matrix[3],tx=matrix[4],ty=matrix[5],originSplit=origin.split(" "),xOrigin=parseFloat(originSplit[0])||0,yOrigin=parseFloat(originSplit[1])||0,bounds,determinant,x,y;if(!originIsAbsolute){bounds=_getBBox(target);xOrigin=bounds.x+(~originSplit[0].indexOf("%")?xOrigin/100*bounds.width:xOrigin);yOrigin=bounds.y+(~(originSplit[1]||originSplit[0]).indexOf("%")?yOrigin/100*bounds.height:yOrigin)}else if(matrix!==_identity2DMatrix&&(determinant=a*d-b*c)){x=xOrigin*(d/determinant)+yOrigin*(-c/determinant)+(c*ty-d*tx)/determinant;y=xOrigin*(-b/determinant)+yOrigin*(a/determinant)-(a*ty-b*tx)/determinant;xOrigin=x;yOrigin=y}
47if(smooth||smooth!==!1&&cache.smooth){tx=xOrigin-xOriginOld;ty=yOrigin-yOriginOld;cache.xOffset=xOffsetOld+(tx*a+ty*c)-tx;cache.yOffset=yOffsetOld+(tx*b+ty*d)-ty}else{cache.xOffset=cache.yOffset=0}
48cache.xOrigin=xOrigin;cache.yOrigin=yOrigin;cache.smooth=!!smooth;cache.origin=origin;cache.originIsAbsolute=!!originIsAbsolute;target.style[_transformOriginProp]="0px 0px";if(pluginToAddPropTweensTo){_addNonTweeningPT(pluginToAddPropTweensTo,cache,"xOrigin",xOriginOld,xOrigin);_addNonTweeningPT(pluginToAddPropTweensTo,cache,"yOrigin",yOriginOld,yOrigin);_addNonTweeningPT(pluginToAddPropTweensTo,cache,"xOffset",xOffsetOld,cache.xOffset);_addNonTweeningPT(pluginToAddPropTweensTo,cache,"yOffset",yOffsetOld,cache.yOffset)}
49target.setAttribute("data-svg-origin",xOrigin+" "+yOrigin)},_parseTransform=function _parseTransform(target,uncache){var cache=target._gsap||new _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.GSCache(target);if("x" in cache&&!uncache&&!cache.uncache){return cache}
50var style=target.style,invertedScaleX=cache.scaleX<0,px="px",deg="deg",origin=_getComputedProperty(target,_transformOriginProp)||"0",x,y,z,scaleX,scaleY,rotation,rotationX,rotationY,skewX,skewY,perspective,xOrigin,yOrigin,matrix,angle,cos,sin,a,b,c,d,a12,a22,t1,t2,t3,a13,a23,a33,a42,a43,a32;x=y=z=rotation=rotationX=rotationY=skewX=skewY=perspective=0;scaleX=scaleY=1;cache.svg=!!(target.getCTM&&_isSVG(target));matrix=_getMatrix(target,cache.svg);if(cache.svg){t1=(!cache.uncache||origin==="0px 0px")&&!uncache&&target.getAttribute("data-svg-origin");_applySVGOrigin(target,t1||origin,!!t1||cache.originIsAbsolute,cache.smooth!==!1,matrix)}
51xOrigin=cache.xOrigin||0;yOrigin=cache.yOrigin||0;if(matrix!==_identity2DMatrix){a=matrix[0];b=matrix[1];c=matrix[2];d=matrix[3];x=a12=matrix[4];y=a22=matrix[5];if(matrix.length===6){scaleX=Math.sqrt(a*a+b*b);scaleY=Math.sqrt(d*d+c*c);rotation=a||b?_atan2(b,a)*_RAD2DEG:0;skewX=c||d?_atan2(c,d)*_RAD2DEG+rotation:0;skewX&&(scaleY*=Math.abs(Math.cos(skewX*_DEG2RAD)));if(cache.svg){x-=xOrigin-(xOrigin*a+yOrigin*c);y-=yOrigin-(xOrigin*b+yOrigin*d)}}else{a32=matrix[6];a42=matrix[7];a13=matrix[8];a23=matrix[9];a33=matrix[10];a43=matrix[11];x=matrix[12];y=matrix[13];z=matrix[14];angle=_atan2(a32,a33);rotationX=angle*_RAD2DEG;if(angle){cos=Math.cos(-angle);sin=Math.sin(-angle);t1=a12*cos+a13*sin;t2=a22*cos+a23*sin;t3=a32*cos+a33*sin;a13=a12*-sin+a13*cos;a23=a22*-sin+a23*cos;a33=a32*-sin+a33*cos;a43=a42*-sin+a43*cos;a12=t1;a22=t2;a32=t3}
52angle=_atan2(-c,a33);rotationY=angle*_RAD2DEG;if(angle){cos=Math.cos(-angle);sin=Math.sin(-angle);t1=a*cos-a13*sin;t2=b*cos-a23*sin;t3=c*cos-a33*sin;a43=d*sin+a43*cos;a=t1;b=t2;c=t3}
53angle=_atan2(b,a);rotation=angle*_RAD2DEG;if(angle){cos=Math.cos(angle);sin=Math.sin(angle);t1=a*cos+b*sin;t2=a12*cos+a22*sin;b=b*cos-a*sin;a22=a22*cos-a12*sin;a=t1;a12=t2}
54if(rotationX&&Math.abs(rotationX)+Math.abs(rotation)>359.9){rotationX=rotation=0;rotationY=180-rotationY}
55scaleX=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(Math.sqrt(a*a+b*b+c*c));scaleY=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(Math.sqrt(a22*a22+a32*a32));angle=_atan2(a12,a22);skewX=Math.abs(angle)>0.0002?angle*_RAD2DEG:0;perspective=a43?1/(a43<0?-a43:a43):0}
56if(cache.svg){t1=target.getAttribute("transform");cache.forceCSS=target.setAttribute("transform","")||!_isNullTransform(_getComputedProperty(target,_transformProp));t1&&target.setAttribute("transform",t1)}}
57if(Math.abs(skewX)>90&&Math.abs(skewX)<270){if(invertedScaleX){scaleX*=-1;skewX+=rotation<=0?180:-180;rotation+=rotation<=0?180:-180}else{scaleY*=-1;skewX+=skewX<=0?180:-180}}
58cache.x=x-((cache.xPercent=x&&(cache.xPercent||(Math.round(target.offsetWidth/2)===Math.round(-x)?-50:0)))?target.offsetWidth*cache.xPercent/100:0)+px;cache.y=y-((cache.yPercent=y&&(cache.yPercent||(Math.round(target.offsetHeight/2)===Math.round(-y)?-50:0)))?target.offsetHeight*cache.yPercent/100:0)+px;cache.z=z+px;cache.scaleX=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(scaleX);cache.scaleY=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(scaleY);cache.rotation=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(rotation)+deg;cache.rotationX=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(rotationX)+deg;cache.rotationY=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(rotationY)+deg;cache.skewX=skewX+deg;cache.skewY=skewY+deg;cache.transformPerspective=perspective+px;if(cache.zOrigin=parseFloat(origin.split(" ")[2])||0){style[_transformOriginProp]=_firstTwoOnly(origin)}
59cache.xOffset=cache.yOffset=0;cache.force3D=_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._config.force3D;cache.renderTransform=cache.svg?_renderSVGTransforms:_supports3D?_renderCSSTransforms:_renderNon3DTransforms;cache.uncache=0;return cache},_firstTwoOnly=function _firstTwoOnly(value){return(value=value.split(" "))[0]+" "+value[1]},_addPxTranslate=function _addPxTranslate(target,start,value){var unit=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.getUnit)(start);return Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(parseFloat(start)+parseFloat(_convertToUnit(target,"x",value+"px",unit)))+unit},_renderNon3DTransforms=function _renderNon3DTransforms(ratio,cache){cache.z="0px";cache.rotationY=cache.rotationX="0deg";cache.force3D=0;_renderCSSTransforms(ratio,cache)},_zeroDeg="0deg",_zeroPx="0px",_endParenthesis=") ",_renderCSSTransforms=function _renderCSSTransforms(ratio,cache){var _ref=cache||this,xPercent=_ref.xPercent,yPercent=_ref.yPercent,x=_ref.x,y=_ref.y,z=_ref.z,rotation=_ref.rotation,rotationY=_ref.rotationY,rotationX=_ref.rotationX,skewX=_ref.skewX,skewY=_ref.skewY,scaleX=_ref.scaleX,scaleY=_ref.scaleY,transformPerspective=_ref.transformPerspective,force3D=_ref.force3D,target=_ref.target,zOrigin=_ref.zOrigin,transforms="",use3D=force3D==="auto"&&ratio&&ratio!==1||force3D===!0;if(zOrigin&&(rotationX!==_zeroDeg||rotationY!==_zeroDeg)){var angle=parseFloat(rotationY)*_DEG2RAD,a13=Math.sin(angle),a33=Math.cos(angle),cos;angle=parseFloat(rotationX)*_DEG2RAD;cos=Math.cos(angle);x=_addPxTranslate(target,x,a13*cos*-zOrigin);y=_addPxTranslate(target,y,-Math.sin(angle)*-zOrigin);z=_addPxTranslate(target,z,a33*cos*-zOrigin+zOrigin)}
60if(transformPerspective!==_zeroPx){transforms+="perspective("+transformPerspective+_endParenthesis}
61if(xPercent||yPercent){transforms+="translate("+xPercent+"%, "+yPercent+"%) "}
62if(use3D||x!==_zeroPx||y!==_zeroPx||z!==_zeroPx){transforms+=z!==_zeroPx||use3D?"translate3d("+x+", "+y+", "+z+") ":"translate("+x+", "+y+_endParenthesis}
63if(rotation!==_zeroDeg){transforms+="rotate("+rotation+_endParenthesis}
64if(rotationY!==_zeroDeg){transforms+="rotateY("+rotationY+_endParenthesis}
65if(rotationX!==_zeroDeg){transforms+="rotateX("+rotationX+_endParenthesis}
66if(skewX!==_zeroDeg||skewY!==_zeroDeg){transforms+="skew("+skewX+", "+skewY+_endParenthesis}
67if(scaleX!==1||scaleY!==1){transforms+="scale("+scaleX+", "+scaleY+_endParenthesis}
68target.style[_transformProp]=transforms||"translate(0, 0)"},_renderSVGTransforms=function _renderSVGTransforms(ratio,cache){var _ref2=cache||this,xPercent=_ref2.xPercent,yPercent=_ref2.yPercent,x=_ref2.x,y=_ref2.y,rotation=_ref2.rotation,skewX=_ref2.skewX,skewY=_ref2.skewY,scaleX=_ref2.scaleX,scaleY=_ref2.scaleY,target=_ref2.target,xOrigin=_ref2.xOrigin,yOrigin=_ref2.yOrigin,xOffset=_ref2.xOffset,yOffset=_ref2.yOffset,forceCSS=_ref2.forceCSS,tx=parseFloat(x),ty=parseFloat(y),a11,a21,a12,a22,temp;rotation=parseFloat(rotation);skewX=parseFloat(skewX);skewY=parseFloat(skewY);if(skewY){skewY=parseFloat(skewY);skewX+=skewY;rotation+=skewY}
69if(rotation||skewX){rotation*=_DEG2RAD;skewX*=_DEG2RAD;a11=Math.cos(rotation)*scaleX;a21=Math.sin(rotation)*scaleX;a12=Math.sin(rotation-skewX)*-scaleY;a22=Math.cos(rotation-skewX)*scaleY;if(skewX){skewY*=_DEG2RAD;temp=Math.tan(skewX-skewY);temp=Math.sqrt(1+temp*temp);a12*=temp;a22*=temp;if(skewY){temp=Math.tan(skewY);temp=Math.sqrt(1+temp*temp);a11*=temp;a21*=temp}}
70a11=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(a11);a21=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(a21);a12=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(a12);a22=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(a22)}else{a11=scaleX;a22=scaleY;a21=a12=0}
71if(tx&&!~(x+"").indexOf("px")||ty&&!~(y+"").indexOf("px")){tx=_convertToUnit(target,"x",x,"px");ty=_convertToUnit(target,"y",y,"px")}
72if(xOrigin||yOrigin||xOffset||yOffset){tx=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(tx+xOrigin-(xOrigin*a11+yOrigin*a12)+xOffset);ty=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(ty+yOrigin-(xOrigin*a21+yOrigin*a22)+yOffset)}
73if(xPercent||yPercent){temp=target.getBBox();tx=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(tx+xPercent/100*temp.width);ty=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._round)(ty+yPercent/100*temp.height)}
74temp="matrix("+a11+","+a21+","+a12+","+a22+","+tx+","+ty+")";target.setAttribute("transform",temp);forceCSS&&(target.style[_transformProp]=temp)},_addRotationalPropTween=function _addRotationalPropTween(plugin,target,property,startNum,endValue,relative){var cap=360,isString=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._isString)(endValue),endNum=parseFloat(endValue)*(isString&&~endValue.indexOf("rad")?_RAD2DEG:1),change=relative?endNum*relative:endNum-startNum,finalValue=startNum+change+"deg",direction,pt;if(isString){direction=endValue.split("_")[1];if(direction==="short"){change%=cap;if(change!==change%(cap/2)){change+=change<0?cap:-cap}}
75if(direction==="cw"&&change<0){change=(change+cap*_bigNum)%cap-~~(change/cap)*cap}else if(direction==="ccw"&&change>0){change=(change-cap*_bigNum)%cap-~~(change/cap)*cap}}
76plugin._pt=pt=new _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.PropTween(plugin._pt,target,property,startNum,change,_renderPropWithEnd);pt.e=finalValue;pt.u="deg";plugin._props.push(property);return pt},_assign=function _assign(target,source){for(var p in source){target[p]=source[p]}
77return target},_addRawTransformPTs=function _addRawTransformPTs(plugin,transforms,target){var startCache=_assign({},target._gsap),exclude="perspective,force3D,transformOrigin,svgOrigin",style=target.style,endCache,p,startValue,endValue,startNum,endNum,startUnit,endUnit;if(startCache.svg){startValue=target.getAttribute("transform");target.setAttribute("transform","");style[_transformProp]=transforms;endCache=_parseTransform(target,1);_removeProperty(target,_transformProp);target.setAttribute("transform",startValue)}else{startValue=getComputedStyle(target)[_transformProp];style[_transformProp]=transforms;endCache=_parseTransform(target,1);style[_transformProp]=startValue}
78for(p in _transformProps){startValue=startCache[p];endValue=endCache[p];if(startValue!==endValue&&exclude.indexOf(p)<0){startUnit=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.getUnit)(startValue);endUnit=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.getUnit)(endValue);startNum=startUnit!==endUnit?_convertToUnit(target,p,startValue,endUnit):parseFloat(startValue);endNum=parseFloat(endValue);plugin._pt=new _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.PropTween(plugin._pt,endCache,p,startNum,endNum-startNum,_renderCSSProp);plugin._pt.u=endUnit||0;plugin._props.push(p)}}
79_assign(endCache,startCache)};Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._forEachName)("padding,margin,Width,Radius",function(name,index){var t="Top",r="Right",b="Bottom",l="Left",props=(index<3?[t,r,b,l]:[t+l,t+r,b+r,b+l]).map(function(side){return index<2?name+side:"border"+side+name});_specialProps[index>1?"border"+name:name]=function(plugin,target,property,endValue,tween){var a,vars;if(arguments.length<4){a=props.map(function(prop){return _get(plugin,prop,property)});vars=a.join(" ");return vars.split(a[0]).length===5?a[0]:vars}
80a=(endValue+"").split(" ");vars={};props.forEach(function(prop,i){return vars[prop]=a[i]=a[i]||a[(i-1)/2|0]});plugin.init(target,vars,tween)}});var CSSPlugin={name:"css",register:_initCore,targetTest:function targetTest(target){return target.style&&target.nodeType},init:function init(target,vars,tween,index,targets){var props=this._props,style=target.style,startAt=tween.vars.startAt,startValue,endValue,endNum,startNum,type,specialProp,p,startUnit,endUnit,relative,isTransformRelated,transformPropTween,cache,smooth,hasPriority;_pluginInitted||_initCore();for(p in vars){if(p==="autoRound"){continue}
81endValue=vars[p];if(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._plugins[p]&&Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._checkPlugin)(p,vars,tween,index,target,targets)){continue}
82type=typeof endValue;specialProp=_specialProps[p];if(type==="function"){endValue=endValue.call(tween,index,target,targets);type=typeof endValue}
83if(type==="string"&&~endValue.indexOf("random(")){endValue=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._replaceRandom)(endValue)}
84if(specialProp){specialProp(this,target,p,endValue,tween)&&(hasPriority=1)}else if(p.substr(0,2)==="--"){startValue=(getComputedStyle(target).getPropertyValue(p)+"").trim();endValue+="";_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._colorExp.lastIndex=0;if(!_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._colorExp.test(startValue)){startUnit=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.getUnit)(startValue);endUnit=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.getUnit)(endValue)}
85endUnit?startUnit!==endUnit&&(startValue=_convertToUnit(target,p,startValue,endUnit)+endUnit):startUnit&&(endValue+=startUnit);this.add(style,"setProperty",startValue,endValue,index,targets,0,0,p);props.push(p)}else if(type!=="undefined"){if(startAt&&p in startAt){startValue=typeof startAt[p]==="function"?startAt[p].call(tween,index,target,targets):startAt[p];p in _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._config.units&&!Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.getUnit)(startValue)&&(startValue+=_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._config.units[p]);(startValue+"").charAt(1)==="="&&(startValue=_get(target,p))}else{startValue=_get(target,p)}
86startNum=parseFloat(startValue);relative=type==="string"&&endValue.charAt(1)==="="?+(endValue.charAt(0)+"1"):0;relative&&(endValue=endValue.substr(2));endNum=parseFloat(endValue);if(p in _propertyAliases){if(p==="autoAlpha"){if(startNum===1&&_get(target,"visibility")==="hidden"&&endNum){startNum=0}
87_addNonTweeningPT(this,style,"visibility",startNum?"inherit":"hidden",endNum?"inherit":"hidden",!endNum)}
88if(p!=="scale"&&p!=="transform"){p=_propertyAliases[p];~p.indexOf(",")&&(p=p.split(",")[0])}}
89isTransformRelated=p in _transformProps;if(isTransformRelated){if(!transformPropTween){cache=target._gsap;cache.renderTransform&&!vars.parseTransform||_parseTransform(target,vars.parseTransform);smooth=vars.smoothOrigin!==!1&&cache.smooth;transformPropTween=this._pt=new _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.PropTween(this._pt,style,_transformProp,0,1,cache.renderTransform,cache,0,-1);transformPropTween.dep=1}
90if(p==="scale"){this._pt=new _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.PropTween(this._pt,cache,"scaleY",cache.scaleY,(relative?relative*endNum:endNum-cache.scaleY)||0);props.push("scaleY",p);p+="X"}else if(p==="transformOrigin"){endValue=_convertKeywordsToPercentages(endValue);if(cache.svg){_applySVGOrigin(target,endValue,0,smooth,0,this)}else{endUnit=parseFloat(endValue.split(" ")[2])||0;endUnit!==cache.zOrigin&&_addNonTweeningPT(this,cache,"zOrigin",cache.zOrigin,endUnit);_addNonTweeningPT(this,style,p,_firstTwoOnly(startValue),_firstTwoOnly(endValue))}
91continue}else if(p==="svgOrigin"){_applySVGOrigin(target,endValue,1,smooth,0,this);continue}else if(p in _rotationalProperties){_addRotationalPropTween(this,cache,p,startNum,endValue,relative);continue}else if(p==="smoothOrigin"){_addNonTweeningPT(this,cache,"smooth",cache.smooth,endValue);continue}else if(p==="force3D"){cache[p]=endValue;continue}else if(p==="transform"){_addRawTransformPTs(this,endValue,target);continue}}else if(!(p in style)){p=_checkPropPrefix(p)||p}
92if(isTransformRelated||(endNum||endNum===0)&&(startNum||startNum===0)&&!_complexExp.test(endValue)&&p in style){startUnit=(startValue+"").substr((startNum+"").length);endNum||(endNum=0);endUnit=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.getUnit)(endValue)||(p in _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._config.units?_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._config.units[p]:startUnit);startUnit!==endUnit&&(startNum=_convertToUnit(target,p,startValue,endUnit));this._pt=new _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.PropTween(this._pt,isTransformRelated?cache:style,p,startNum,relative?relative*endNum:endNum-startNum,!isTransformRelated&&(endUnit==="px"||p==="zIndex")&&vars.autoRound!==!1?_renderRoundedCSSProp:_renderCSSProp);this._pt.u=endUnit||0;if(startUnit!==endUnit){this._pt.b=startValue;this._pt.r=_renderCSSPropWithBeginning}}else if(!(p in style)){if(p in target){this.add(target,p,startValue||target[p],endValue,index,targets)}else{Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._missingPlugin)(p,endValue);continue}}else{_tweenComplexCSSString.call(this,target,p,startValue,endValue)}
93props.push(p)}}
94hasPriority&&Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._sortPropTweensByPriority)(this)},get:_get,aliases:_propertyAliases,getSetter:function getSetter(target,property,plugin){var p=_propertyAliases[property];p&&p.indexOf(",")<0&&(property=p);return property in _transformProps&&property!==_transformOriginProp&&(target._gsap.x||_get(target,"x"))?plugin&&_recentSetterPlugin===plugin?property==="scale"?_setterScale:_setterTransform:(_recentSetterPlugin=plugin||{})&&(property==="scale"?_setterScaleWithRender:_setterTransformWithRender):target.style&&!Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._isUndefined)(target.style[property])?_setterCSSStyle:~property.indexOf("-")?_setterCSSProp:Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._getSetter)(target,property)},core:{_removeProperty:_removeProperty,_getMatrix:_getMatrix}};_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.gsap.utils.checkPrefix=_checkPropPrefix;(function(positionAndScale,rotation,others,aliases){var all=Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._forEachName)(positionAndScale+","+rotation+","+others,function(name){_transformProps[name]=1});Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._forEachName)(rotation,function(name){_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._config.units[name]="deg";_rotationalProperties[name]=1});_propertyAliases[all[13]]=positionAndScale+","+rotation;Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._forEachName)(aliases,function(name){var split=name.split(":");_propertyAliases[split[1]]=all[split[0]]})})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent","rotation,rotationX,rotationY,skewX,skewY","transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective","0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");Object(_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._forEachName)("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective",function(name){_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__._config.units[name]="px"});_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.gsap.registerPlugin(CSSPlugin)}),
vendor: 2,628 bytes, lines 94-117
94"./node_modules/gsap/CSSRulePlugin.js":
95/*!********************************************!*\
96  !*** ./node_modules/gsap/CSSRulePlugin.js ***!
97  \********************************************/
98/*! exports provided: CSSRulePlugin, default */
99(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"CSSRulePlugin",function(){return CSSRulePlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return CSSRulePlugin});
100/*!
101 * CSSRulePlugin 3.7.1
102 * https://greensock.com
103 *
104 * @license Copyright 2008-2021, GreenSock. All rights reserved.
105 * Subject to the terms at https://greensock.com/standard-license or for
106 * Club GreenSock members, the agreement issued with that membership.
107 * @author: Jack Doyle, [email protected]
108*/
109var gsap,_coreInitted,_win,_doc,CSSPlugin,_windowExists=function _windowExists(){return typeof window!=="undefined"},_getGSAP=function _getGSAP(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_checkRegister=function _checkRegister(){if(!_coreInitted){_initCore();if(!CSSPlugin){console.warn("Please gsap.registerPlugin(CSSPlugin, CSSRulePlugin)")}}
110return _coreInitted},_initCore=function _initCore(core){gsap=core||_getGSAP();if(_windowExists()){_win=window;_doc=document}
111if(gsap){CSSPlugin=gsap.plugins.css;if(CSSPlugin){_coreInitted=1}}};var CSSRulePlugin={version:"3.7.1",name:"cssRule",init:function init(target,value,tween,index,targets){if(!_checkRegister()||typeof target.cssText==="undefined"){return!1}
112var div=target._gsProxy=target._gsProxy||_doc.createElement("div");this.ss=target;this.style=div.style;div.style.cssText=target.cssText;CSSPlugin.prototype.init.call(this,div,value,tween,index,targets)},render:function render(ratio,data){var pt=data._pt,style=data.style,ss=data.ss,i;while(pt){pt.r(ratio,pt.d);pt=pt._next}
113i=style.length;while(--i>-1){ss[style[i]]=style[style[i]]}},getRule:function getRule(selector){_checkRegister();var ruleProp=_doc.all?"rules":"cssRules",styleSheets=_doc.styleSheets,i=styleSheets.length,pseudo=selector.charAt(0)===":",j,curSS,cs,a;selector=(pseudo?"":",")+selector.split("::").join(":").toLowerCase()+",";if(pseudo){a=[]}
114while(i--){try{curSS=styleSheets[i][ruleProp];if(!curSS){continue}
115j=curSS.length}catch(e){console.warn(e);continue}
116while(--j>-1){cs=curSS[j];if(cs.selectorText&&(","+cs.selectorText.split("::").join(":").toLowerCase()+",").indexOf(selector)!==-1){if(pseudo){a.push(cs.style)}else{return cs.style}}}}
117return a},register:_initCore};_getGSAP()&&gsap.registerPlugin(CSSRulePlugin)}),
vendor: 3,331 bytes, lines 117-140
117"./node_modules/gsap/CustomBounce.js":
118/*!*******************************************!*\
119  !*** ./node_modules/gsap/CustomBounce.js ***!
120  \*******************************************/
121/*! exports provided: CustomBounce, default */
122(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"CustomBounce",function(){return CustomBounce});__webpack_require__.d(__webpack_exports__,"default",function(){return CustomBounce});
123/*!
124 * CustomBounce 3.7.1
125 * https://greensock.com
126 *
127 * @license Copyright 2008-2021, GreenSock. All rights reserved.
128 * Subject to the terms at https://greensock.com/standard-license or for
129 * Club GreenSock members, the agreement issued with that membership.
130 * @author: Jack Doyle, [email protected]
131*/
132var gsap,_coreInitted,createCustomEase,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_initCore=function _initCore(required){gsap=_getGSAP();createCustomEase=gsap&&gsap.parseEase("_CE");if(createCustomEase){_coreInitted=1;gsap.parseEase("bounce").config=function(vars){return typeof vars==="object"?_create("",vars):_create("bounce("+vars+")",{strength:+vars})}}else{required&&console.warn("Please gsap.registerPlugin(CustomEase, CustomBounce)")}},_normalizeX=function _normalizeX(a){var l=a.length,s=1/a[l-2],rnd=1000,i;for(i=2;i<l;i+=2){a[i]=~~(a[i]*s*rnd)/rnd}
133a[l-2]=1},_bonusValidated=1,_create=function _create(id,vars){if(!_coreInitted){_initCore(1)}
134vars=vars||{};if(_bonusValidated){var max=0.999,decay=Math.min(max,vars.strength||0.7),decayX=decay,gap=(vars.squash||0)/100,originalGap=gap,slope=1/0.03,w=0.2,h=1,prevX=0.1,path=[0,0,0.07,0,0.1,1,0.1,1],squashPath=[0,0,0,0,0.1,0,0.1,0],cp1,cp2,x,y,i,nextX,squishMagnitude;for(i=0;i<200;i++){w*=decayX*((decayX+1)/2);h*=decay*decay;nextX=prevX+w;x=prevX+w*0.49;y=1-h;cp1=prevX+h/slope;cp2=x+(x-cp1)*0.8;if(gap){prevX+=gap;cp1+=gap;x+=gap;cp2+=gap;nextX+=gap;squishMagnitude=gap/originalGap;squashPath.push(prevX-gap,0,prevX-gap,squishMagnitude,prevX-gap/2,squishMagnitude,prevX,squishMagnitude,prevX,0,prevX,0,prevX,squishMagnitude*-0.6,prevX+(nextX-prevX)/6,0,nextX,0);path.push(prevX-gap,1,prevX,1,prevX,1);gap*=decay*decay}
135path.push(prevX,1,cp1,y,x,y,cp2,y,nextX,1,nextX,1);decay*=0.95;slope=h/(nextX-cp2);prevX=nextX;if(y>max){break}}
136if(vars.endAtStart&&vars.endAtStart!=="false"){x=-0.1;path.unshift(x,1,x,1,-0.07,0);if(originalGap){gap=originalGap*2.5;x-=gap;path.unshift(x,1,x,1,x,1);squashPath.splice(0,6);squashPath.unshift(x,0,x,0,x,1,x+gap/2,1,x+gap,1,x+gap,0,x+gap,0,x+gap,-0.6,x+gap+0.033,0);for(i=0;i<squashPath.length;i+=2){squashPath[i]-=x}}
137for(i=0;i<path.length;i+=2){path[i]-=x;path[i+1]=1-path[i+1]}}
138if(gap){_normalizeX(squashPath);squashPath[2]="C"+squashPath[2];createCustomEase(vars.squashID||id+"-squash","M"+squashPath.join(","))}
139_normalizeX(path);path[2]="C"+path[2];return createCustomEase(id,"M"+path.join(","))}};var CustomBounce=function(){function CustomBounce(id,vars){this.ease=_create(id,vars)}
140CustomBounce.create=function create(id,vars){return _create(id,vars)};CustomBounce.register=function register(core){gsap=core;_initCore()};return CustomBounce}();_getGSAP()&&gsap.registerPlugin(CustomBounce);CustomBounce.version="3.7.1"}),
vendor: 6,482 bytes, lines 140-179
140"./node_modules/gsap/CustomEase.js":
141/*!*****************************************!*\
142  !*** ./node_modules/gsap/CustomEase.js ***!
143  \*****************************************/
144/*! exports provided: CustomEase, default */
145(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"CustomEase",function(){return CustomEase});__webpack_require__.d(__webpack_exports__,"default",function(){return CustomEase});var _utils_paths_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/paths.js */"./node_modules/gsap/utils/paths.js");
146/*!
147 * CustomEase 3.7.1
148 * https://greensock.com
149 *
150 * @license Copyright 2008-2021, GreenSock. All rights reserved.
151 * Subject to the terms at https://greensock.com/standard-license or for
152 * Club GreenSock members, the agreement issued with that membership.
153 * @author: Jack Doyle, [email protected]
154*/
155var gsap,_coreInitted,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_initCore=function _initCore(){gsap=_getGSAP();if(gsap){gsap.registerEase("_CE",CustomEase.create);_coreInitted=1}else{console.warn("Please gsap.registerPlugin(CustomEase)")}},_bigNum=1e20,_round=function _round(value){return~~(value*1000+(value<0?-.5:.5))/1000},_bonusValidated=1,_numExp=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,_needsParsingExp=/[cLlsSaAhHvVtTqQ]/g,_findMinimum=function _findMinimum(values){var l=values.length,min=_bigNum,i;for(i=1;i<l;i+=6){+values[i]<min&&(min=+values[i])}
156return min},_normalize=function _normalize(values,height,originY){if(!originY&&originY!==0){originY=Math.max(+values[values.length-1],+values[1])}
157var tx=+values[0]*-1,ty=-originY,l=values.length,sx=1/(+values[l-2]+tx),sy=-height||(Math.abs(+values[l-1]- +values[1])<0.01*(+values[l-2]- +values[0])?_findMinimum(values)+ty:+values[l-1]+ty),i;if(sy){sy=1/sy}else{sy=-sx}
158for(i=0;i<l;i+=2){values[i]=(+values[i]+tx)*sx;values[i+1]=(+values[i+1]+ty)*sy}},_bezierToPoints=function _bezierToPoints(x1,y1,x2,y2,x3,y3,x4,y4,threshold,points,index){var x12=(x1+x2)/2,y12=(y1+y2)/2,x23=(x2+x3)/2,y23=(y2+y3)/2,x34=(x3+x4)/2,y34=(y3+y4)/2,x123=(x12+x23)/2,y123=(y12+y23)/2,x234=(x23+x34)/2,y234=(y23+y34)/2,x1234=(x123+x234)/2,y1234=(y123+y234)/2,dx=x4-x1,dy=y4-y1,d2=Math.abs((x2-x4)*dy-(y2-y4)*dx),d3=Math.abs((x3-x4)*dy-(y3-y4)*dx),length;if(!points){points=[{x:x1,y:y1},{x:x4,y:y4}];index=1}
159points.splice(index||points.length-1,0,{x:x1234,y:y1234});if((d2+d3)*(d2+d3)>threshold*(dx*dx+dy*dy)){length=points.length;_bezierToPoints(x1,y1,x12,y12,x123,y123,x1234,y1234,threshold,points,index);_bezierToPoints(x1234,y1234,x234,y234,x34,y34,x4,y4,threshold,points,index+1+(points.length-length))}
160return points};var CustomEase=function(){function CustomEase(id,data,config){_coreInitted||_initCore();this.id=id;_bonusValidated&&this.setData(data,config)}
161var _proto=CustomEase.prototype;_proto.setData=function setData(data,config){config=config||{};data=data||"0,0,1,1";var values=data.match(_numExp),closest=1,points=[],lookup=[],precision=config.precision||1,fast=precision<=1,l,a1,a2,i,inc,j,point,prevPoint,p;this.data=data;if(_needsParsingExp.test(data)||~data.indexOf("M")&&data.indexOf("C")<0){values=Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.stringToRawPath)(data)[0]}
162l=values.length;if(l===4){values.unshift(0,0);values.push(1,1);l=8}else if((l-2)%6){throw "Invalid CustomEase"}
163if(+values[0]!==0||+values[l-2]!==1){_normalize(values,config.height,config.originY)}
164this.segment=values;for(i=2;i<l;i+=6){a1={x:+values[i-2],y:+values[i-1]};a2={x:+values[i+4],y:+values[i+5]};points.push(a1,a2);_bezierToPoints(a1.x,a1.y,+values[i],+values[i+1],+values[i+2],+values[i+3],a2.x,a2.y,1/(precision*200000),points,points.length-1)}
165l=points.length;for(i=0;i<l;i++){point=points[i];prevPoint=points[i-1]||point;if((point.x>prevPoint.x||prevPoint.y!==point.y&&prevPoint.x===point.x||point===prevPoint)&&point.x<=1){prevPoint.cx=point.x-prevPoint.x;prevPoint.cy=point.y-prevPoint.y;prevPoint.n=point;prevPoint.nx=point.x;if(fast&&i>1&&Math.abs(prevPoint.cy/prevPoint.cx-points[i-2].cy/points[i-2].cx)>2){fast=0}
166if(prevPoint.cx<closest){if(!prevPoint.cx){prevPoint.cx=0.001;if(i===l-1){prevPoint.x-=0.001;closest=Math.min(closest,0.001);fast=0}}else{closest=prevPoint.cx}}}else{points.splice(i--,1);l--}}
167l=1/closest+1|0;inc=1/l;j=0;point=points[0];if(fast){for(i=0;i<l;i++){p=i*inc;if(point.nx<p){point=points[++j]}
168a1=point.y+(p-point.x)/point.cx*point.cy;lookup[i]={x:p,cx:inc,y:a1,cy:0,nx:9};if(i){lookup[i-1].cy=a1-lookup[i-1].y}}
169lookup[l-1].cy=points[points.length-1].y-a1}else{for(i=0;i<l;i++){if(point.nx<i*inc){point=points[++j]}
170lookup[i]=point}
171if(j<points.length-1){lookup[i-1]=points[points.length-2]}}
172this.ease=function(p){var point=lookup[p*l|0]||lookup[l-1];if(point.nx<p){point=point.n}
173return point.y+(p-point.x)/point.cx*point.cy};this.ease.custom=this;this.id&&gsap&&gsap.registerEase(this.id,this.ease);return this};_proto.getSVGData=function getSVGData(config){return CustomEase.getSVGData(this,config)};CustomEase.create=function create(id,data,config){return new CustomEase(id,data,config).ease};CustomEase.register=function register(core){gsap=core;_initCore()};CustomEase.get=function get(id){return gsap.parseEase(id)};CustomEase.getSVGData=function getSVGData(ease,config){config=config||{};var width=config.width||100,height=config.height||100,x=config.x||0,y=(config.y||0)+height,e=gsap.utils.toArray(config.path)[0],a,slope,i,inc,tx,ty,precision,threshold,prevX,prevY;if(config.invert){height=-height;y=0}
174if(typeof ease==="string"){ease=gsap.parseEase(ease)}
175if(ease.custom){ease=ease.custom}
176if(ease instanceof CustomEase){a=Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.rawPathToString)(Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.transformRawPath)([ease.segment],width,0,0,-height,x,y))}else{a=[x,y];precision=Math.max(5,(config.precision||1)*200);inc=1/precision;precision+=2;threshold=5/precision;prevX=_round(x+inc*width);prevY=_round(y+ease(inc)*-height);slope=(prevY-y)/(prevX-x);for(i=2;i<precision;i++){tx=_round(x+i*inc*width);ty=_round(y+ease(i*inc)*-height);if(Math.abs((ty-prevY)/(tx-prevX)-slope)>threshold||i===precision-1){a.push(prevX,prevY);slope=(ty-prevY)/(tx-prevX)}
177prevX=tx;prevY=ty}
178a="M"+a.join(",")}
179e&&e.setAttribute("d",a);return a};return CustomEase}();_getGSAP()&&gsap.registerPlugin(CustomEase);CustomEase.version="3.7.1"}),
vendor: 3,534 bytes, lines 179-205
179"./node_modules/gsap/CustomWiggle.js":
180/*!*******************************************!*\
181  !*** ./node_modules/gsap/CustomWiggle.js ***!
182  \*******************************************/
183/*! exports provided: CustomWiggle, default */
184(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"CustomWiggle",function(){return CustomWiggle});__webpack_require__.d(__webpack_exports__,"default",function(){return CustomWiggle});
185/*!
186 * CustomWiggle 3.7.1
187 * https://greensock.com
188 *
189 * @license Copyright 2008-2021, GreenSock. All rights reserved.
190 * Subject to the terms at https://greensock.com/standard-license or for
191 * Club GreenSock members, the agreement issued with that membership.
192 * @author: Jack Doyle, [email protected]
193*/
194var gsap,_coreInitted,createCustomEase,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_eases={easeOut:"M0,1,C0.7,1,0.6,0,1,0",easeInOut:"M0,0,C0.1,0,0.24,1,0.444,1,0.644,1,0.6,0,1,0",anticipate:"M0,0,C0,0.222,0.024,0.386,0,0.4,0.18,0.455,0.65,0.646,0.7,0.67,0.9,0.76,1,0.846,1,1",uniform:"M0,0,C0,0.95,0,1,0,1,0,1,1,1,1,1,1,1,1,0,1,0"},_linearEase=function _linearEase(p){return p},_initCore=function _initCore(required){if(!_coreInitted){gsap=_getGSAP();createCustomEase=gsap&&gsap.parseEase("_CE");if(createCustomEase){for(var p in _eases){_eases[p]=createCustomEase("",_eases[p])}
195_coreInitted=1;_create("wiggle").config=function(vars){return typeof vars==="object"?_create("",vars):_create("wiggle("+vars+")",{wiggles:+vars})}}else{required&&console.warn("Please gsap.registerPlugin(CustomEase, CustomWiggle)")}}},_parseEase=function _parseEase(ease,invertNonCustomEases){if(typeof ease!=="function"){ease=gsap.parseEase(ease)||createCustomEase("",ease)}
196return ease.custom||!invertNonCustomEases?ease:function(p){return 1-ease(p)}},_bonusValidated=1,_create=function _create(id,vars){if(!_coreInitted){_initCore(1)}
197vars=vars||{};var wiggles=(vars.wiggles||10)|0,inc=1/wiggles,x=inc/2,anticipate=vars.type==="anticipate",yEase=_eases[vars.type]||_eases.easeOut,xEase=_linearEase,rnd=1000,nextX,nextY,angle,handleX,handleY,easedX,y,path,i;if(_bonusValidated){if(anticipate){xEase=yEase;yEase=_eases.easeOut}
198if(vars.timingEase){xEase=_parseEase(vars.timingEase)}
199if(vars.amplitudeEase){yEase=_parseEase(vars.amplitudeEase,!0)}
200easedX=xEase(x);y=anticipate?-yEase(x):yEase(x);path=[0,0,easedX/4,0,easedX/2,y,easedX,y];if(vars.type==="random"){path.length=4;nextX=xEase(inc);nextY=Math.random()*2-1;for(i=2;i<wiggles;i++){x=nextX;y=nextY;nextX=xEase(inc*i);nextY=Math.random()*2-1;angle=Math.atan2(nextY-path[path.length-3],nextX-path[path.length-4]);handleX=Math.cos(angle)*inc;handleY=Math.sin(angle)*inc;path.push(x-handleX,y-handleY,x,y,x+handleX,y+handleY)}
201path.push(nextX,0,1,0)}else{for(i=1;i<wiggles;i++){path.push(xEase(x+inc/2),y);x+=inc;y=(y>0?-1:1)*yEase(i*inc);easedX=xEase(x);path.push(xEase(x-inc/2),y,easedX,y)}
202path.push(xEase(x+inc/4),y,xEase(x+inc/4),0,1,0)}
203i=path.length;while(--i>-1){path[i]=~~(path[i]*rnd)/rnd}
204path[2]="C"+path[2];return createCustomEase(id,"M"+path.join(","))}};var CustomWiggle=function(){function CustomWiggle(id,vars){this.ease=_create(id,vars)}
205CustomWiggle.create=function create(id,vars){return _create(id,vars)};CustomWiggle.register=function register(core){gsap=core;_initCore()};return CustomWiggle}();_getGSAP()&&gsap.registerPlugin(CustomWiggle);CustomWiggle.version="3.7.1"}),
vendor: 54,398 bytes, lines 205-411
205"./node_modules/gsap/Draggable.js":
206/*!****************************************!*\
207  !*** ./node_modules/gsap/Draggable.js ***!
208  \****************************************/
209/*! exports provided: Draggable, default */
210(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Draggable",function(){return Draggable});__webpack_require__.d(__webpack_exports__,"default",function(){return Draggable});var _utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/matrix.js */"./node_modules/gsap/utils/matrix.js");function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}
211function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass}
212/*!
213 * Draggable 3.7.1
214 * https://greensock.com
215 *
216 * @license Copyright 2008-2021, GreenSock. All rights reserved.
217 * Subject to the terms at https://greensock.com/standard-license or for
218 * Club GreenSock members, the agreement issued with that membership.
219 * @author: Jack Doyle, [email protected]
220 */
221var gsap,_win,_doc,_docElement,_body,_tempDiv,_placeholderDiv,_coreInitted,_checkPrefix,_toArray,_supportsPassive,_isTouchDevice,_touchEventLookup,_dragCount,_isMultiTouching,_isAndroid,InertiaPlugin,_defaultCursor,_supportsPointer,_windowExists=function _windowExists(){return typeof window!=="undefined"},_getGSAP=function _getGSAP(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isFunction=function _isFunction(value){return typeof value==="function"},_isObject=function _isObject(value){return typeof value==="object"},_isUndefined=function _isUndefined(value){return typeof value==="undefined"},_emptyFunc=function _emptyFunc(){return!1},_transformProp="transform",_transformOriginProp="transformOrigin",_round=function _round(value){return Math.round(value*10000)/10000},_isArray=Array.isArray,_createElement=function _createElement(type,ns){var e=_doc.createElementNS?_doc.createElementNS((ns||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),type):_doc.createElement(type);return e.style?e:_doc.createElement(type)},_RAD2DEG=180/Math.PI,_bigNum=1e20,_identityMatrix=new _utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.Matrix2D(),_getTime=Date.now||function(){return new Date().getTime()},_renderQueue=[],_lookup={},_lookupCount=0,_clickableTagExp=/^(?:a|input|textarea|button|select)$/i,_lastDragTime=0,_temp1={},_windowProxy={},_copy=function _copy(obj,factor){var copy={},p;for(p in obj){copy[p]=factor?obj[p]*factor:obj[p]}
222return copy},_extend=function _extend(obj,defaults){for(var p in defaults){if(!(p in obj)){obj[p]=defaults[p]}}
223return obj},_setTouchActionForAllDescendants=function _setTouchActionForAllDescendants(elements,value){var i=elements.length,children;while(i--){value?elements[i].style.touchAction=value:elements[i].style.removeProperty("touch-action");children=elements[i].children;children&&children.length&&_setTouchActionForAllDescendants(children,value)}},_renderQueueTick=function _renderQueueTick(){return _renderQueue.forEach(function(func){return func()})},_addToRenderQueue=function _addToRenderQueue(func){_renderQueue.push(func);if(_renderQueue.length===1){gsap.ticker.add(_renderQueueTick)}},_renderQueueTimeout=function _renderQueueTimeout(){return!_renderQueue.length&&gsap.ticker.remove(_renderQueueTick)},_removeFromRenderQueue=function _removeFromRenderQueue(func){var i=_renderQueue.length;while(i--){if(_renderQueue[i]===func){_renderQueue.splice(i,1)}}
224gsap.to(_renderQueueTimeout,{overwrite:!0,delay:15,duration:0,onComplete:_renderQueueTimeout,data:"_draggable"})},_setDefaults=function _setDefaults(obj,defaults){for(var p in defaults){if(!(p in obj)){obj[p]=defaults[p]}}
225return obj},_addListener=function _addListener(element,type,func,capture){if(element.addEventListener){var touchType=_touchEventLookup[type];capture=capture||(_supportsPassive?{passive:!1}:null);element.addEventListener(touchType||type,func,capture);touchType&&type!==touchType&&element.addEventListener(type,func,capture)}},_removeListener=function _removeListener(element,type,func){if(element.removeEventListener){var touchType=_touchEventLookup[type];element.removeEventListener(touchType||type,func);touchType&&type!==touchType&&element.removeEventListener(type,func)}},_preventDefault=function _preventDefault(event){event.preventDefault&&event.preventDefault();event.preventManipulation&&event.preventManipulation()},_hasTouchID=function _hasTouchID(list,ID){var i=list.length;while(i--){if(list[i].identifier===ID){return!0}}},_onMultiTouchDocumentEnd=function _onMultiTouchDocumentEnd(event){_isMultiTouching=event.touches&&_dragCount<event.touches.length;_removeListener(event.target,"touchend",_onMultiTouchDocumentEnd)},_onMultiTouchDocument=function _onMultiTouchDocument(event){_isMultiTouching=event.touches&&_dragCount<event.touches.length;_addListener(event.target,"touchend",_onMultiTouchDocumentEnd)},_getDocScrollTop=function _getDocScrollTop(doc){return _win.pageYOffset||doc.scrollTop||doc.documentElement.scrollTop||doc.body.scrollTop||0},_getDocScrollLeft=function _getDocScrollLeft(doc){return _win.pageXOffset||doc.scrollLeft||doc.documentElement.scrollLeft||doc.body.scrollLeft||0},_addScrollListener=function _addScrollListener(e,callback){_addListener(e,"scroll",callback);if(!_isRoot(e.parentNode)){_addScrollListener(e.parentNode,callback)}},_removeScrollListener=function _removeScrollListener(e,callback){_removeListener(e,"scroll",callback);if(!_isRoot(e.parentNode)){_removeScrollListener(e.parentNode,callback)}},_isRoot=function _isRoot(e){return!!(!e||e===_docElement||e.nodeType===9||e===_doc.body||e===_win||!e.nodeType||!e.parentNode)},_getMaxScroll=function _getMaxScroll(element,axis){var dim=axis==="x"?"Width":"Height",scroll="scroll"+dim,client="client"+dim;return Math.max(0,_isRoot(element)?Math.max(_docElement[scroll],_body[scroll])-(_win["inner"+dim]||_docElement[client]||_body[client]):element[scroll]-element[client])},_recordMaxScrolls=function _recordMaxScrolls(e,skipCurrent){var x=_getMaxScroll(e,"x"),y=_getMaxScroll(e,"y");if(_isRoot(e)){e=_windowProxy}else{_recordMaxScrolls(e.parentNode,skipCurrent)}
226e._gsMaxScrollX=x;e._gsMaxScrollY=y;if(!skipCurrent){e._gsScrollX=e.scrollLeft||0;e._gsScrollY=e.scrollTop||0}},_setStyle=function _setStyle(element,property,value){var style=element.style;if(!style){return}
227if(_isUndefined(style[property])){property=_checkPrefix(property,element)||property}
228if(value==null){style.removeProperty&&style.removeProperty(property.replace(/([A-Z])/g,"-$1").toLowerCase())}else{style[property]=value}},_getComputedStyle=function _getComputedStyle(element){return _win.getComputedStyle(element instanceof Element?element:element.host||(element.parentNode||{}).host||element)},_tempRect={},_parseRect=function _parseRect(e){if(e===_win){_tempRect.left=_tempRect.top=0;_tempRect.width=_tempRect.right=_docElement.clientWidth||e.innerWidth||_body.clientWidth||0;_tempRect.height=_tempRect.bottom=(e.innerHeight||0)-20<_docElement.clientHeight?_docElement.clientHeight:e.innerHeight||_body.clientHeight||0;return _tempRect}
229var doc=e.ownerDocument||_doc,r=!_isUndefined(e.pageX)?{left:e.pageX-_getDocScrollLeft(doc),top:e.pageY-_getDocScrollTop(doc),right:e.pageX-_getDocScrollLeft(doc)+1,bottom:e.pageY-_getDocScrollTop(doc)+1}:!e.nodeType&&!_isUndefined(e.left)&&!_isUndefined(e.top)?e:_toArray(e)[0].getBoundingClientRect();if(_isUndefined(r.right)&&!_isUndefined(r.width)){r.right=r.left+r.width;r.bottom=r.top+r.height}else if(_isUndefined(r.width)){r={width:r.right-r.left,height:r.bottom-r.top,right:r.right,left:r.left,bottom:r.bottom,top:r.top}}
230return r},_dispatchEvent=function _dispatchEvent(target,type,callbackName){var vars=target.vars,callback=vars[callbackName],listeners=target._listeners[type],result;if(_isFunction(callback)){result=callback.apply(vars.callbackScope||target,vars[callbackName+"Params"]||[target.pointerEvent])}
231if(listeners&&target.dispatchEvent(type)===!1){result=!1}
232return result},_getBounds=function _getBounds(target,context){var e=_toArray(target)[0],top,left,offset;if(!e.nodeType&&e!==_win){if(!_isUndefined(target.left)){offset={x:0,y:0};return{left:target.left-offset.x,top:target.top-offset.y,width:target.width,height:target.height}}
233left=target.min||target.minX||target.minRotation||0;top=target.min||target.minY||0;return{left:left,top:top,width:(target.max||target.maxX||target.maxRotation||0)-left,height:(target.max||target.maxY||0)-top}}
234return _getElementBounds(e,context)},_point1={},_getElementBounds=function _getElementBounds(element,context){context=_toArray(context)[0];var isSVG=element.getBBox&&element.ownerSVGElement,doc=element.ownerDocument||_doc,left,right,top,bottom,matrix,p1,p2,p3,p4,bbox,width,height,cs,contextParent;if(element===_win){top=_getDocScrollTop(doc);left=_getDocScrollLeft(doc);right=left+(doc.documentElement.clientWidth||element.innerWidth||doc.body.clientWidth||0);bottom=top+((element.innerHeight||0)-20<doc.documentElement.clientHeight?doc.documentElement.clientHeight:element.innerHeight||doc.body.clientHeight||0)}else if(context===_win||_isUndefined(context)){return element.getBoundingClientRect()}else{left=top=0;if(isSVG){bbox=element.getBBox();width=bbox.width;height=bbox.height}else{if(element.viewBox&&(bbox=element.viewBox.baseVal)){left=bbox.x||0;top=bbox.y||0;width=bbox.width;height=bbox.height}
235if(!width){cs=_getComputedStyle(element);bbox=cs.boxSizing==="border-box";width=(parseFloat(cs.width)||element.clientWidth||0)+(bbox?0:parseFloat(cs.borderLeftWidth)+parseFloat(cs.borderRightWidth));height=(parseFloat(cs.height)||element.clientHeight||0)+(bbox?0:parseFloat(cs.borderTopWidth)+parseFloat(cs.borderBottomWidth))}}
236right=width;bottom=height}
237if(element===context){return{left:left,top:top,width:right-left,height:bottom-top}}
238matrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(context,!0).multiply(Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(element));p1=matrix.apply({x:left,y:top});p2=matrix.apply({x:right,y:top});p3=matrix.apply({x:right,y:bottom});p4=matrix.apply({x:left,y:bottom});left=Math.min(p1.x,p2.x,p3.x,p4.x);top=Math.min(p1.y,p2.y,p3.y,p4.y);contextParent=context.parentNode||{};return{left:left+(contextParent.scrollLeft||0),top:top+(contextParent.scrollTop||0),width:Math.max(p1.x,p2.x,p3.x,p4.x)-left,height:Math.max(p1.y,p2.y,p3.y,p4.y)-top}},_parseInertia=function _parseInertia(draggable,snap,max,min,factor,forceZeroVelocity){var vars={},a,i,l;if(snap){if(factor!==1&&snap instanceof Array){vars.end=a=[];l=snap.length;if(_isObject(snap[0])){for(i=0;i<l;i++){a[i]=_copy(snap[i],factor)}}else{for(i=0;i<l;i++){a[i]=snap[i]*factor}}
239max+=1.1;min-=1.1}else if(_isFunction(snap)){vars.end=function(value){var result=snap.call(draggable,value),copy,p;if(factor!==1){if(_isObject(result)){copy={};for(p in result){copy[p]=result[p]*factor}
240result=copy}else{result*=factor}}
241return result}}else{vars.end=snap}}
242if(max||max===0){vars.max=max}
243if(min||min===0){vars.min=min}
244if(forceZeroVelocity){vars.velocity=0}
245return vars},_isClickable=function _isClickable(element){var data;return!element||!element.getAttribute||element===_body?!1:(data=element.getAttribute("data-clickable"))==="true"||data!=="false"&&(element.onclick||_clickableTagExp.test(element.nodeName+"")||element.getAttribute("contentEditable")==="true")?!0:_isClickable(element.parentNode)},_setSelectable=function _setSelectable(elements,selectable){var i=elements.length,e;while(i--){e=elements[i];e.ondragstart=e.onselectstart=selectable?null:_emptyFunc;gsap.set(e,{lazy:!0,userSelect:selectable?"text":"none"})}},_isFixed=function _isFixed(element){if(_getComputedStyle(element).position==="fixed"){return!0}
246element=element.parentNode;if(element&&element.nodeType===1){return _isFixed(element)}},_supports3D,_addPaddingBR,ScrollProxy=function ScrollProxy(element,vars){element=gsap.utils.toArray(element)[0];vars=vars||{};var content=document.createElement("div"),style=content.style,node=element.firstChild,offsetTop=0,offsetLeft=0,prevTop=element.scrollTop,prevLeft=element.scrollLeft,scrollWidth=element.scrollWidth,scrollHeight=element.scrollHeight,extraPadRight=0,maxLeft=0,maxTop=0,elementWidth,elementHeight,contentHeight,nextNode,transformStart,transformEnd;if(_supports3D&&vars.force3D!==!1){transformStart="translate3d(";transformEnd="px,0px)"}else if(_transformProp){transformStart="translate(";transformEnd="px)"}
247this.scrollTop=function(value,force){if(!arguments.length){return-this.top()}
248this.top(-value,force)};this.scrollLeft=function(value,force){if(!arguments.length){return-this.left()}
249this.left(-value,force)};this.left=function(value,force){if(!arguments.length){return-(element.scrollLeft+offsetLeft)}
250var dif=element.scrollLeft-prevLeft,oldOffset=offsetLeft;if((dif>2||dif<-2)&&!force){prevLeft=element.scrollLeft;gsap.killTweensOf(this,{left:1,scrollLeft:1});this.left(-prevLeft);if(vars.onKill){vars.onKill()}
251return}
252value=-value;if(value<0){offsetLeft=value-0.5|0;value=0}else if(value>maxLeft){offsetLeft=value-maxLeft|0;value=maxLeft}else{offsetLeft=0}
253if(offsetLeft||oldOffset){if(!this._skip){style[_transformProp]=transformStart+ -offsetLeft+"px,"+ -offsetTop+transformEnd}
254if(offsetLeft+extraPadRight>=0){style.paddingRight=offsetLeft+extraPadRight+"px"}}
255element.scrollLeft=value|0;prevLeft=element.scrollLeft};this.top=function(value,force){if(!arguments.length){return-(element.scrollTop+offsetTop)}
256var dif=element.scrollTop-prevTop,oldOffset=offsetTop;if((dif>2||dif<-2)&&!force){prevTop=element.scrollTop;gsap.killTweensOf(this,{top:1,scrollTop:1});this.top(-prevTop);if(vars.onKill){vars.onKill()}
257return}
258value=-value;if(value<0){offsetTop=value-0.5|0;value=0}else if(value>maxTop){offsetTop=value-maxTop|0;value=maxTop}else{offsetTop=0}
259if(offsetTop||oldOffset){if(!this._skip){style[_transformProp]=transformStart+ -offsetLeft+"px,"+ -offsetTop+transformEnd}}
260element.scrollTop=value|0;prevTop=element.scrollTop};this.maxScrollTop=function(){return maxTop};this.maxScrollLeft=function(){return maxLeft};this.disable=function(){node=content.firstChild;while(node){nextNode=node.nextSibling;element.appendChild(node);node=nextNode}
261if(element===content.parentNode){element.removeChild(content)}};this.enable=function(){node=element.firstChild;if(node===content){return}
262while(node){nextNode=node.nextSibling;content.appendChild(node);node=nextNode}
263element.appendChild(content);this.calibrate()};this.calibrate=function(force){var widthMatches=element.clientWidth===elementWidth,cs,x,y;prevTop=element.scrollTop;prevLeft=element.scrollLeft;if(widthMatches&&element.clientHeight===elementHeight&&content.offsetHeight===contentHeight&&scrollWidth===element.scrollWidth&&scrollHeight===element.scrollHeight&&!force){return}
264if(offsetTop||offsetLeft){x=this.left();y=this.top();this.left(-element.scrollLeft);this.top(-element.scrollTop)}
265cs=_getComputedStyle(element);if(!widthMatches||force){style.display="block";style.width="auto";style.paddingRight="0px";extraPadRight=Math.max(0,element.scrollWidth-element.clientWidth);if(extraPadRight){extraPadRight+=parseFloat(cs.paddingLeft)+(_addPaddingBR?parseFloat(cs.paddingRight):0)}}
266style.display="inline-block";style.position="relative";style.overflow="visible";style.verticalAlign="top";style.boxSizing="content-box";style.width="100%";style.paddingRight=extraPadRight+"px";if(_addPaddingBR){style.paddingBottom=cs.paddingBottom}
267elementWidth=element.clientWidth;elementHeight=element.clientHeight;scrollWidth=element.scrollWidth;scrollHeight=element.scrollHeight;maxLeft=element.scrollWidth-elementWidth;maxTop=element.scrollHeight-elementHeight;contentHeight=content.offsetHeight;style.display="block";if(x||y){this.left(x);this.top(y)}};this.content=content;this.element=element;this._skip=!1;this.enable()},_initCore=function _initCore(required){if(_windowExists()&&document.body){var nav=window&&window.navigator;_win=window;_doc=document;_docElement=_doc.documentElement;_body=_doc.body;_tempDiv=_createElement("div");_supportsPointer=!!window.PointerEvent;_placeholderDiv=_createElement("div");_placeholderDiv.style.cssText="visibility:hidden;height:1px;top:-1px;pointer-events:none;position:relative;clear:both;cursor:grab";_defaultCursor=_placeholderDiv.style.cursor==="grab"?"grab":"move";_isAndroid=nav&&nav.userAgent.toLowerCase().indexOf("android")!==-1;_isTouchDevice="ontouchstart" in _docElement&&"orientation" in _win||nav&&(nav.MaxTouchPoints>0||nav.msMaxTouchPoints>0);_addPaddingBR=function(){var div=_createElement("div"),child=_createElement("div"),childStyle=child.style,parent=_body,val;childStyle.display="inline-block";childStyle.position="relative";div.style.cssText=child.innerHTML="width:90px;height:40px;padding:10px;overflow:auto;visibility:hidden";div.appendChild(child);parent.appendChild(div);val=child.offsetHeight+18>div.scrollHeight;parent.removeChild(div);return val}();_touchEventLookup=function(types){var standard=types.split(","),converted=("onpointerdown" in _tempDiv?"pointerdown,pointermove,pointerup,pointercancel":"onmspointerdown" in _tempDiv?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":types).split(","),obj={},i=4;while(--i>-1){obj[standard[i]]=converted[i];obj[converted[i]]=standard[i]}
268try{_docElement.addEventListener("test",null,Object.defineProperty({},"passive",{get:function get(){_supportsPassive=1}}))}catch(e){}
269return obj}("touchstart,touchmove,touchend,touchcancel");_addListener(_doc,"touchcancel",_emptyFunc);_addListener(_win,"touchmove",_emptyFunc);_body&&_body.addEventListener("touchstart",_emptyFunc);_addListener(_doc,"contextmenu",function(){for(var p in _lookup){if(_lookup[p].isPressed){_lookup[p].endDrag()}}});gsap=_coreInitted=_getGSAP()}
270if(gsap){InertiaPlugin=gsap.plugins.inertia;_checkPrefix=gsap.utils.checkPrefix;_transformProp=_checkPrefix(_transformProp);_transformOriginProp=_checkPrefix(_transformOriginProp);_toArray=gsap.utils.toArray;_supports3D=!!_checkPrefix("perspective")}else if(required){console.warn("Please gsap.registerPlugin(Draggable)")}};var EventDispatcher=function(){function EventDispatcher(target){this._listeners={};this.target=target||this}
271var _proto=EventDispatcher.prototype;_proto.addEventListener=function addEventListener(type,callback){var list=this._listeners[type]||(this._listeners[type]=[]);if(!~list.indexOf(callback)){list.push(callback)}};_proto.removeEventListener=function removeEventListener(type,callback){var list=this._listeners[type],i=list&&list.indexOf(callback)||-1;i>-1&&list.splice(i,1)};_proto.dispatchEvent=function dispatchEvent(type){var _this=this;var result;(this._listeners[type]||[]).forEach(function(callback){return callback.call(_this,{type:type,target:_this.target})===!1&&(result=!1)});return result};return EventDispatcher}();var Draggable=function(_EventDispatcher){_inheritsLoose(Draggable,_EventDispatcher);function Draggable(target,vars){var _this2;_this2=_EventDispatcher.call(this)||this;_coreInitted||_initCore(1);target=_toArray(target)[0];if(!InertiaPlugin){InertiaPlugin=gsap.plugins.inertia}
272_this2.vars=vars=_copy(vars||{});_this2.target=target;_this2.x=_this2.y=_this2.rotation=0;_this2.dragResistance=parseFloat(vars.dragResistance)||0;_this2.edgeResistance=isNaN(vars.edgeResistance)?1:parseFloat(vars.edgeResistance)||0;_this2.lockAxis=vars.lockAxis;_this2.autoScroll=vars.autoScroll||0;_this2.lockedAxis=null;_this2.allowEventDefault=!!vars.allowEventDefault;gsap.getProperty(target,"x");var type=(vars.type||"x,y").toLowerCase(),xyMode=~type.indexOf("x")||~type.indexOf("y"),rotationMode=type.indexOf("rotation")!==-1,xProp=rotationMode?"rotation":xyMode?"x":"left",yProp=xyMode?"y":"top",allowX=!!(~type.indexOf("x")||~type.indexOf("left")||type==="scroll"),allowY=!!(~type.indexOf("y")||~type.indexOf("top")||type==="scroll"),minimumMovement=vars.minimumMovement||2,self=_assertThisInitialized(_this2),triggers=_toArray(vars.trigger||vars.handle||target),killProps={},dragEndTime=0,checkAutoScrollBounds=!1,autoScrollMarginTop=vars.autoScrollMarginTop||40,autoScrollMarginRight=vars.autoScrollMarginRight||40,autoScrollMarginBottom=vars.autoScrollMarginBottom||40,autoScrollMarginLeft=vars.autoScrollMarginLeft||40,isClickable=vars.clickableTest||_isClickable,clickTime=0,gsCache=target._gsap||gsap.core.getCache(target),isFixed=_isFixed(target),getPropAsNum=function getPropAsNum(property,unit){return parseFloat(gsCache.get(target,property,unit))},ownerDoc=target.ownerDocument||_doc,enabled,scrollProxy,startPointerX,startPointerY,startElementX,startElementY,hasBounds,hasDragCallback,hasMoveCallback,maxX,minX,maxY,minY,touch,touchID,rotationOrigin,dirty,old,snapX,snapY,snapXY,isClicking,touchEventTarget,matrix,interrupted,allowNativeTouchScrolling,touchDragAxis,isDispatching,clickDispatch,trustedClickDispatch,isPreventingDefault,innerMatrix,onContextMenu=function onContextMenu(e){_preventDefault(e);e.stopImmediatePropagation&&e.stopImmediatePropagation();return!1},render=function render(suppressEvents){if(self.autoScroll&&self.isDragging&&(checkAutoScrollBounds||dirty)){var e=target,autoScrollFactor=self.autoScroll*15,parent,isRoot,rect,pointerX,pointerY,changeX,changeY,gap;checkAutoScrollBounds=!1;_windowProxy.scrollTop=_win.pageYOffset!=null?_win.pageYOffset:ownerDoc.documentElement.scrollTop!=null?ownerDoc.documentElement.scrollTop:ownerDoc.body.scrollTop;_windowProxy.scrollLeft=_win.pageXOffset!=null?_win.pageXOffset:ownerDoc.documentElement.scrollLeft!=null?ownerDoc.documentElement.scrollLeft:ownerDoc.body.scrollLeft;pointerX=self.pointerX-_windowProxy.scrollLeft;pointerY=self.pointerY-_windowProxy.scrollTop;while(e&&!isRoot){isRoot=_isRoot(e.parentNode);parent=isRoot?_windowProxy:e.parentNode;rect=isRoot?{bottom:Math.max(_docElement.clientHeight,_win.innerHeight||0),right:Math.max(_docElement.clientWidth,_win.innerWidth||0),left:0,top:0}:parent.getBoundingClientRect();changeX=changeY=0;if(allowY){gap=parent._gsMaxScrollY-parent.scrollTop;if(gap<0){changeY=gap}else if(pointerY>rect.bottom-autoScrollMarginBottom&&gap){checkAutoScrollBounds=!0;changeY=Math.min(gap,autoScrollFactor*(1-Math.max(0,rect.bottom-pointerY)/autoScrollMarginBottom)|0)}else if(pointerY<rect.top+autoScrollMarginTop&&parent.scrollTop){checkAutoScrollBounds=!0;changeY=-Math.min(parent.scrollTop,autoScrollFactor*(1-Math.max(0,pointerY-rect.top)/autoScrollMarginTop)|0)}
273if(changeY){parent.scrollTop+=changeY}}
274if(allowX){gap=parent._gsMaxScrollX-parent.scrollLeft;if(gap<0){changeX=gap}else if(pointerX>rect.right-autoScrollMarginRight&&gap){checkAutoScrollBounds=!0;changeX=Math.min(gap,autoScrollFactor*(1-Math.max(0,rect.right-pointerX)/autoScrollMarginRight)|0)}else if(pointerX<rect.left+autoScrollMarginLeft&&parent.scrollLeft){checkAutoScrollBounds=!0;changeX=-Math.min(parent.scrollLeft,autoScrollFactor*(1-Math.max(0,pointerX-rect.left)/autoScrollMarginLeft)|0)}
275if(changeX){parent.scrollLeft+=changeX}}
276if(isRoot&&(changeX||changeY)){_win.scrollTo(parent.scrollLeft,parent.scrollTop);setPointerPosition(self.pointerX+changeX,self.pointerY+changeY)}
277e=parent}}
278if(dirty){var x=self.x,y=self.y;if(rotationMode){self.deltaX=x-parseFloat(gsCache.rotation);self.rotation=x;gsCache.rotation=x+"deg";gsCache.renderTransform(1,gsCache)}else{if(scrollProxy){if(allowY){self.deltaY=y-scrollProxy.top();scrollProxy.top(y)}
279if(allowX){self.deltaX=x-scrollProxy.left();scrollProxy.left(x)}}else if(xyMode){if(allowY){self.deltaY=y-parseFloat(gsCache.y);gsCache.y=y+"px"}
280if(allowX){self.deltaX=x-parseFloat(gsCache.x);gsCache.x=x+"px"}
281gsCache.renderTransform(1,gsCache)}else{if(allowY){self.deltaY=y-parseFloat(target.style.top||0);target.style.top=y+"px"}
282if(allowX){self.deltaX=x-parseFloat(target.style.left||0);target.style.left=x+"px"}}}
283if(hasDragCallback&&!suppressEvents&&!isDispatching){isDispatching=!0;if(_dispatchEvent(self,"drag","onDrag")===!1){if(allowX){self.x-=self.deltaX}
284if(allowY){self.y-=self.deltaY}
285render(!0)}
286isDispatching=!1}}
287dirty=!1},syncXY=function syncXY(skipOnUpdate,skipSnap){var x=self.x,y=self.y,snappedValue,cs;if(!target._gsap){gsCache=gsap.core.getCache(target)}
288gsCache.uncache&&gsap.getProperty(target,"x");if(xyMode){self.x=parseFloat(gsCache.x);self.y=parseFloat(gsCache.y)}else if(rotationMode){self.x=self.rotation=parseFloat(gsCache.rotation)}else if(scrollProxy){self.y=scrollProxy.top();self.x=scrollProxy.left()}else{self.y=parseFloat(target.style.top||(cs=_getComputedStyle(target))&&cs.top)||0;self.x=parseFloat(target.style.left||(cs||{}).left)||0}
289if((snapX||snapY||snapXY)&&!skipSnap&&(self.isDragging||self.isThrowing)){if(snapXY){_temp1.x=self.x;_temp1.y=self.y;snappedValue=snapXY(_temp1);if(snappedValue.x!==self.x){self.x=snappedValue.x;dirty=!0}
290if(snappedValue.y!==self.y){self.y=snappedValue.y;dirty=!0}}
291if(snapX){snappedValue=snapX(self.x);if(snappedValue!==self.x){self.x=snappedValue;if(rotationMode){self.rotation=snappedValue}
292dirty=!0}}
293if(snapY){snappedValue=snapY(self.y);if(snappedValue!==self.y){self.y=snappedValue}
294dirty=!0}}
295dirty&&render(!0);if(!skipOnUpdate){self.deltaX=self.x-x;self.deltaY=self.y-y;_dispatchEvent(self,"throwupdate","onThrowUpdate")}},buildSnapFunc=function buildSnapFunc(snap,min,max,factor){if(min==null){min=-_bigNum}
296if(max==null){max=_bigNum}
297if(_isFunction(snap)){return function(n){var edgeTolerance=!self.isPressed?1:1-self.edgeResistance;return snap.call(self,n>max?max+(n-max)*edgeTolerance:n<min?min+(n-min)*edgeTolerance:n)*factor}}
298if(_isArray(snap)){return function(n){var i=snap.length,closest=0,absDif=_bigNum,val,dif;while(--i>-1){val=snap[i];dif=val-n;if(dif<0){dif=-dif}
299if(dif<absDif&&val>=min&&val<=max){closest=i;absDif=dif}}
300return snap[closest]}}
301return isNaN(snap)?function(n){return n}:function(){return snap*factor}},buildPointSnapFunc=function buildPointSnapFunc(snap,minX,maxX,minY,maxY,radius,factor){radius=radius&&radius<_bigNum?radius*radius:_bigNum;if(_isFunction(snap)){return function(point){var edgeTolerance=!self.isPressed?1:1-self.edgeResistance,x=point.x,y=point.y,result,dx,dy;point.x=x=x>maxX?maxX+(x-maxX)*edgeTolerance:x<minX?minX+(x-minX)*edgeTolerance:x;point.y=y=y>maxY?maxY+(y-maxY)*edgeTolerance:y<minY?minY+(y-minY)*edgeTolerance:y;result=snap.call(self,point);if(result!==point){point.x=result.x;point.y=result.y}
302if(factor!==1){point.x*=factor;point.y*=factor}
303if(radius<_bigNum){dx=point.x-x;dy=point.y-y;if(dx*dx+dy*dy>radius){point.x=x;point.y=y}}
304return point}}
305if(_isArray(snap)){return function(p){var i=snap.length,closest=0,minDist=_bigNum,x,y,point,dist;while(--i>-1){point=snap[i];x=point.x-p.x;y=point.y-p.y;dist=x*x+y*y;if(dist<minDist){closest=i;minDist=dist}}
306return minDist<=radius?snap[closest]:p}}
307return function(n){return n}},calculateBounds=function calculateBounds(){var bounds,targetBounds,snap,snapIsRaw;hasBounds=!1;if(scrollProxy){scrollProxy.calibrate();self.minX=minX=-scrollProxy.maxScrollLeft();self.minY=minY=-scrollProxy.maxScrollTop();self.maxX=maxX=self.maxY=maxY=0;hasBounds=!0}else if(!!vars.bounds){bounds=_getBounds(vars.bounds,target.parentNode);if(rotationMode){self.minX=minX=bounds.left;self.maxX=maxX=bounds.left+bounds.width;self.minY=minY=self.maxY=maxY=0}else if(!_isUndefined(vars.bounds.maxX)||!_isUndefined(vars.bounds.maxY)){bounds=vars.bounds;self.minX=minX=bounds.minX;self.minY=minY=bounds.minY;self.maxX=maxX=bounds.maxX;self.maxY=maxY=bounds.maxY}else{targetBounds=_getBounds(target,target.parentNode);self.minX=minX=Math.round(getPropAsNum(xProp,"px")+bounds.left-targetBounds.left-0.5);self.minY=minY=Math.round(getPropAsNum(yProp,"px")+bounds.top-targetBounds.top-0.5);self.maxX=maxX=Math.round(minX+(bounds.width-targetBounds.width));self.maxY=maxY=Math.round(minY+(bounds.height-targetBounds.height))}
308if(minX>maxX){self.minX=maxX;self.maxX=maxX=minX;minX=self.minX}
309if(minY>maxY){self.minY=maxY;self.maxY=maxY=minY;minY=self.minY}
310if(rotationMode){self.minRotation=minX;self.maxRotation=maxX}
311hasBounds=!0}
312if(vars.liveSnap){snap=vars.liveSnap===!0?vars.snap||{}:vars.liveSnap;snapIsRaw=_isArray(snap)||_isFunction(snap);if(rotationMode){snapX=buildSnapFunc(snapIsRaw?snap:snap.rotation,minX,maxX,1);snapY=null}else{if(snap.points){snapXY=buildPointSnapFunc(snapIsRaw?snap:snap.points,minX,maxX,minY,maxY,snap.radius,scrollProxy?-1:1)}else{if(allowX){snapX=buildSnapFunc(snapIsRaw?snap:snap.x||snap.left||snap.scrollLeft,minX,maxX,scrollProxy?-1:1)}
313if(allowY){snapY=buildSnapFunc(snapIsRaw?snap:snap.y||snap.top||snap.scrollTop,minY,maxY,scrollProxy?-1:1)}}}}},onThrowComplete=function onThrowComplete(){self.isThrowing=!1;_dispatchEvent(self,"throwcomplete","onThrowComplete")},onThrowInterrupt=function onThrowInterrupt(){self.isThrowing=!1},animate=function animate(inertia,forceZeroVelocity){var snap,snapIsRaw,tween,overshootTolerance;if(inertia&&InertiaPlugin){if(inertia===!0){snap=vars.snap||vars.liveSnap||{};snapIsRaw=_isArray(snap)||_isFunction(snap);inertia={resistance:(vars.throwResistance||vars.resistance||1000)/(rotationMode?10:1)};if(rotationMode){inertia.rotation=_parseInertia(self,snapIsRaw?snap:snap.rotation,maxX,minX,1,forceZeroVelocity)}else{if(allowX){inertia[xProp]=_parseInertia(self,snapIsRaw?snap:snap.points||snap.x||snap.left,maxX,minX,scrollProxy?-1:1,forceZeroVelocity||self.lockedAxis==="x")}
314if(allowY){inertia[yProp]=_parseInertia(self,snapIsRaw?snap:snap.points||snap.y||snap.top,maxY,minY,scrollProxy?-1:1,forceZeroVelocity||self.lockedAxis==="y")}
315if(snap.points||_isArray(snap)&&_isObject(snap[0])){inertia.linkedProps=xProp+","+yProp;inertia.radius=snap.radius}}}
316self.isThrowing=!0;overshootTolerance=!isNaN(vars.overshootTolerance)?vars.overshootTolerance:vars.edgeResistance===1?0:1-self.edgeResistance+0.2;if(!inertia.duration){inertia.duration={max:Math.max(vars.minDuration||0,"maxDuration" in vars?vars.maxDuration:2),min:!isNaN(vars.minDuration)?vars.minDuration:overshootTolerance===0||_isObject(inertia)&&inertia.resistance>1000?0:0.5,overshoot:overshootTolerance}}
317self.tween=tween=gsap.to(scrollProxy||target,{inertia:inertia,data:"_draggable",onComplete:onThrowComplete,onInterrupt:onThrowInterrupt,onUpdate:vars.fastMode?_dispatchEvent:syncXY,onUpdateParams:vars.fastMode?[self,"onthrowupdate","onThrowUpdate"]:snap&&snap.radius?[!1,!0]:[]});if(!vars.fastMode){if(scrollProxy){scrollProxy._skip=!0}
318tween.render(1e9,!0,!0);syncXY(!0,!0);self.endX=self.x;self.endY=self.y;if(rotationMode){self.endRotation=self.x}
319tween.play(0);syncXY(!0,!0);if(scrollProxy){scrollProxy._skip=!1}}}else if(hasBounds){self.applyBounds()}},updateMatrix=function updateMatrix(shiftStart){var start=matrix,p;matrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(target.parentNode,!0);if(shiftStart&&self.isPressed&&!matrix.equals(start||new _utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.Matrix2D())){p=start.inverse().apply({x:startPointerX,y:startPointerY});matrix.apply(p,p);startPointerX=p.x;startPointerY=p.y}
320if(matrix.equals(_identityMatrix)){matrix=null}},recordStartPositions=function recordStartPositions(){var edgeTolerance=1-self.edgeResistance,offsetX=isFixed?_getDocScrollLeft(ownerDoc):0,offsetY=isFixed?_getDocScrollTop(ownerDoc):0,parsedOrigin,x,y;updateMatrix(!1);_point1.x=self.pointerX-offsetX;_point1.y=self.pointerY-offsetY;matrix&&matrix.apply(_point1,_point1);startPointerX=_point1.x;startPointerY=_point1.y;if(dirty){setPointerPosition(self.pointerX,self.pointerY);render(!0)}
321innerMatrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(target);if(scrollProxy){calculateBounds();startElementY=scrollProxy.top();startElementX=scrollProxy.left()}else{if(isTweening()){syncXY(!0,!0);calculateBounds()}else{self.applyBounds()}
322if(rotationMode){parsedOrigin=target.ownerSVGElement?[gsCache.xOrigin-target.getBBox().x,gsCache.yOrigin-target.getBBox().y]:(_getComputedStyle(target)[_transformOriginProp]||"0 0").split(" ");rotationOrigin=self.rotationOrigin=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(target).apply({x:parseFloat(parsedOrigin[0])||0,y:parseFloat(parsedOrigin[1])||0});syncXY(!0,!0);x=self.pointerX-rotationOrigin.x-offsetX;y=rotationOrigin.y-self.pointerY+offsetY;startElementX=self.x;startElementY=self.y=Math.atan2(y,x)*_RAD2DEG}else{startElementY=getPropAsNum(yProp,"px");startElementX=getPropAsNum(xProp,"px")}}
323if(hasBounds&&edgeTolerance){if(startElementX>maxX){startElementX=maxX+(startElementX-maxX)/edgeTolerance}else if(startElementX<minX){startElementX=minX-(minX-startElementX)/edgeTolerance}
324if(!rotationMode){if(startElementY>maxY){startElementY=maxY+(startElementY-maxY)/edgeTolerance}else if(startElementY<minY){startElementY=minY-(minY-startElementY)/edgeTolerance}}}
325self.startX=startElementX=_round(startElementX);self.startY=startElementY=_round(startElementY)},isTweening=function isTweening(){return self.tween&&self.tween.isActive()},removePlaceholder=function removePlaceholder(){if(_placeholderDiv.parentNode&&!isTweening()&&!self.isDragging){_placeholderDiv.parentNode.removeChild(_placeholderDiv)}},onPress=function onPress(e,force){var i;if(!enabled||self.isPressed||!e||(e.type==="mousedown"||e.type==="pointerdown")&&!force&&_getTime()-clickTime<30&&_touchEventLookup[self.pointerEvent.type]){isPreventingDefault&&e&&enabled&&_preventDefault(e);return}
326interrupted=isTweening();self.pointerEvent=e;if(_touchEventLookup[e.type]){touchEventTarget=~e.type.indexOf("touch")?e.currentTarget||e.target:ownerDoc;_addListener(touchEventTarget,"touchend",onRelease);_addListener(touchEventTarget,"touchmove",onMove);_addListener(touchEventTarget,"touchcancel",onRelease);_addListener(ownerDoc,"touchstart",_onMultiTouchDocument)}else{touchEventTarget=null;_addListener(ownerDoc,"mousemove",onMove)}
327touchDragAxis=null;if(!_supportsPointer||!touchEventTarget){_addListener(ownerDoc,"mouseup",onRelease);e&&e.target&&_addListener(e.target,"mouseup",onRelease)}
328isClicking=isClickable.call(self,e.target)&&vars.dragClickables===!1&&!force;if(isClicking){_addListener(e.target,"change",onRelease);_dispatchEvent(self,"pressInit","onPressInit");_dispatchEvent(self,"press","onPress");_setSelectable(triggers,!0);isPreventingDefault=!1;return}
329allowNativeTouchScrolling=!touchEventTarget||allowX===allowY||self.vars.allowNativeTouchScrolling===!1||self.vars.allowContextMenu&&e&&(e.ctrlKey||e.which>2)?!1:allowX?"y":"x";isPreventingDefault=!allowNativeTouchScrolling&&!self.allowEventDefault;if(isPreventingDefault){_preventDefault(e);_addListener(_win,"touchforcechange",_preventDefault)}
330if(e.changedTouches){e=touch=e.changedTouches[0];touchID=e.identifier}else if(e.pointerId){touchID=e.pointerId}else{touch=touchID=null}
331_dragCount++;_addToRenderQueue(render);startPointerY=self.pointerY=e.pageY;startPointerX=self.pointerX=e.pageX;_dispatchEvent(self,"pressInit","onPressInit");if(allowNativeTouchScrolling||self.autoScroll){_recordMaxScrolls(target.parentNode)}
332if(target.parentNode&&self.autoScroll&&!scrollProxy&&!rotationMode&&target.parentNode._gsMaxScrollX&&!_placeholderDiv.parentNode&&!target.getBBox){_placeholderDiv.style.width=target.parentNode.scrollWidth+"px";target.parentNode.appendChild(_placeholderDiv)}
333recordStartPositions();self.tween&&self.tween.kill();self.isThrowing=!1;gsap.killTweensOf(scrollProxy||target,killProps,!0);scrollProxy&&gsap.killTweensOf(target,{scrollTo:1},!0);self.tween=self.lockedAxis=null;if(vars.zIndexBoost||!rotationMode&&!scrollProxy&&vars.zIndexBoost!==!1){target.style.zIndex=Draggable.zIndex++}
334self.isPressed=!0;hasDragCallback=!!(vars.onDrag||self._listeners.drag);hasMoveCallback=!!(vars.onMove||self._listeners.move);if(vars.cursor!==!1||vars.activeCursor){i=triggers.length;while(--i>-1){gsap.set(triggers[i],{cursor:vars.activeCursor||vars.cursor||(_defaultCursor==="grab"?"grabbing":_defaultCursor)})}}
335_dispatchEvent(self,"press","onPress")},onMove=function onMove(e){var originalEvent=e,touches,pointerX,pointerY,i,dx,dy;if(!enabled||_isMultiTouching||!self.isPressed||!e){isPreventingDefault&&e&&enabled&&_preventDefault(e);return}
336self.pointerEvent=e;touches=e.changedTouches;if(touches){e=touches[0];if(e!==touch&&e.identifier!==touchID){i=touches.length;while(--i>-1&&(e=touches[i]).identifier!==touchID&&e.target!==target){}
337if(i<0){return}}}else if(e.pointerId&&touchID&&e.pointerId!==touchID){return}
338if(touchEventTarget&&allowNativeTouchScrolling&&!touchDragAxis){_point1.x=e.pageX-(isFixed?_getDocScrollLeft(ownerDoc):0);_point1.y=e.pageY-(isFixed?_getDocScrollTop(ownerDoc):0);matrix&&matrix.apply(_point1,_point1);pointerX=_point1.x;pointerY=_point1.y;dx=Math.abs(pointerX-startPointerX);dy=Math.abs(pointerY-startPointerY);if(dx!==dy&&(dx>minimumMovement||dy>minimumMovement)||_isAndroid&&allowNativeTouchScrolling===touchDragAxis){touchDragAxis=dx>dy&&allowX?"x":"y";if(allowNativeTouchScrolling&&touchDragAxis!==allowNativeTouchScrolling){_addListener(_win,"touchforcechange",_preventDefault)}
339if(self.vars.lockAxisOnTouchScroll!==!1&&allowX&&allowY){self.lockedAxis=touchDragAxis==="x"?"y":"x";_isFunction(self.vars.onLockAxis)&&self.vars.onLockAxis.call(self,originalEvent)}
340if(_isAndroid&&allowNativeTouchScrolling===touchDragAxis){onRelease(originalEvent);return}}}
341if(!self.allowEventDefault&&(!allowNativeTouchScrolling||touchDragAxis&&allowNativeTouchScrolling!==touchDragAxis)&&originalEvent.cancelable!==!1){_preventDefault(originalEvent);isPreventingDefault=!0}else if(isPreventingDefault){isPreventingDefault=!1}
342if(self.autoScroll){checkAutoScrollBounds=!0}
343setPointerPosition(e.pageX,e.pageY,hasMoveCallback)},setPointerPosition=function setPointerPosition(pointerX,pointerY,invokeOnMove){var dragTolerance=1-self.dragResistance,edgeTolerance=1-self.edgeResistance,prevPointerX=self.pointerX,prevPointerY=self.pointerY,prevStartElementY=startElementY,prevX=self.x,prevY=self.y,prevEndX=self.endX,prevEndY=self.endY,prevEndRotation=self.endRotation,prevDirty=dirty,xChange,yChange,x,y,dif,temp;self.pointerX=pointerX;self.pointerY=pointerY;if(isFixed){pointerX-=_getDocScrollLeft(ownerDoc);pointerY-=_getDocScrollTop(ownerDoc)}
344if(rotationMode){y=Math.atan2(rotationOrigin.y-pointerY,pointerX-rotationOrigin.x)*_RAD2DEG;dif=self.y-y;if(dif>180){startElementY-=360;self.y=y}else if(dif<-180){startElementY+=360;self.y=y}
345if(self.x!==startElementX||Math.abs(startElementY-y)>minimumMovement){self.y=y;x=startElementX+(startElementY-y)*dragTolerance}else{x=startElementX}}else{if(matrix){temp=pointerX*matrix.a+pointerY*matrix.c+matrix.e;pointerY=pointerX*matrix.b+pointerY*matrix.d+matrix.f;pointerX=temp}
346yChange=pointerY-startPointerY;xChange=pointerX-startPointerX;if(yChange<minimumMovement&&yChange>-minimumMovement){yChange=0}
347if(xChange<minimumMovement&&xChange>-minimumMovement){xChange=0}
348if((self.lockAxis||self.lockedAxis)&&(xChange||yChange)){temp=self.lockedAxis;if(!temp){self.lockedAxis=temp=allowX&&Math.abs(xChange)>Math.abs(yChange)?"y":allowY?"x":null;if(temp&&_isFunction(self.vars.onLockAxis)){self.vars.onLockAxis.call(self,self.pointerEvent)}}
349if(temp==="y"){yChange=0}else if(temp==="x"){xChange=0}}
350x=_round(startElementX+xChange*dragTolerance);y=_round(startElementY+yChange*dragTolerance)}
351if((snapX||snapY||snapXY)&&(self.x!==x||self.y!==y&&!rotationMode)){if(snapXY){_temp1.x=x;_temp1.y=y;temp=snapXY(_temp1);x=_round(temp.x);y=_round(temp.y)}
352if(snapX){x=_round(snapX(x))}
353if(snapY){y=_round(snapY(y))}}else if(hasBounds){if(x>maxX){x=maxX+Math.round((x-maxX)*edgeTolerance)}else if(x<minX){x=minX+Math.round((x-minX)*edgeTolerance)}
354if(!rotationMode){if(y>maxY){y=Math.round(maxY+(y-maxY)*edgeTolerance)}else if(y<minY){y=Math.round(minY+(y-minY)*edgeTolerance)}}}
355if(self.x!==x||self.y!==y&&!rotationMode){if(rotationMode){self.endRotation=self.x=self.endX=x;dirty=!0}else{if(allowY){self.y=self.endY=y;dirty=!0}
356if(allowX){self.x=self.endX=x;dirty=!0}}
357if(!invokeOnMove||_dispatchEvent(self,"move","onMove")!==!1){if(!self.isDragging&&self.isPressed){self.isDragging=!0;_dispatchEvent(self,"dragstart","onDragStart")}}else{self.pointerX=prevPointerX;self.pointerY=prevPointerY;startElementY=prevStartElementY;self.x=prevX;self.y=prevY;self.endX=prevEndX;self.endY=prevEndY;self.endRotation=prevEndRotation;dirty=prevDirty}}},onRelease=function onRelease(e,force){if(!enabled||!self.isPressed||e&&touchID!=null&&!force&&(e.pointerId&&e.pointerId!==touchID&&e.target!==target||e.changedTouches&&!_hasTouchID(e.changedTouches,touchID))){isPreventingDefault&&e&&enabled&&_preventDefault(e);return}
358self.isPressed=!1;var originalEvent=e,wasDragging=self.isDragging,isContextMenuRelease=self.vars.allowContextMenu&&e&&(e.ctrlKey||e.which>2),placeholderDelayedCall=gsap.delayedCall(0.001,removePlaceholder),touches,i,syntheticEvent,eventTarget,syntheticClick;if(touchEventTarget){_removeListener(touchEventTarget,"touchend",onRelease);_removeListener(touchEventTarget,"touchmove",onMove);_removeListener(touchEventTarget,"touchcancel",onRelease);_removeListener(ownerDoc,"touchstart",_onMultiTouchDocument)}else{_removeListener(ownerDoc,"mousemove",onMove)}
359_removeListener(_win,"touchforcechange",_preventDefault);if(!_supportsPointer||!touchEventTarget){_removeListener(ownerDoc,"mouseup",onRelease);e&&e.target&&_removeListener(e.target,"mouseup",onRelease)}
360dirty=!1;if(wasDragging){dragEndTime=_lastDragTime=_getTime();self.isDragging=!1}
361if(isClicking&&!isContextMenuRelease){if(e){_removeListener(e.target,"change",onRelease);self.pointerEvent=originalEvent}
362_setSelectable(triggers,!1);_dispatchEvent(self,"release","onRelease");_dispatchEvent(self,"click","onClick");isClicking=!1;return}
363_removeFromRenderQueue(render);i=triggers.length;while(--i>-1){_setStyle(triggers[i],"cursor",vars.cursor||(vars.cursor!==!1?_defaultCursor:null))}
364_dragCount--;if(e){touches=e.changedTouches;if(touches){e=touches[0];if(e!==touch&&e.identifier!==touchID){i=touches.length;while(--i>-1&&(e=touches[i]).identifier!==touchID&&e.target!==target){}
365if(i<0){return}}}
366self.pointerEvent=originalEvent;self.pointerX=e.pageX;self.pointerY=e.pageY}
367if(isContextMenuRelease&&originalEvent){_preventDefault(originalEvent);isPreventingDefault=!0;_dispatchEvent(self,"release","onRelease")}else if(originalEvent&&!wasDragging){isPreventingDefault=!1;if(interrupted&&(vars.snap||vars.bounds)){animate(vars.inertia||vars.throwProps)}
368_dispatchEvent(self,"release","onRelease");if((!_isAndroid||originalEvent.type!=="touchmove")&&originalEvent.type.indexOf("cancel")===-1){_dispatchEvent(self,"click","onClick");if(_getTime()-clickTime<300){_dispatchEvent(self,"doubleclick","onDoubleClick")}
369eventTarget=originalEvent.target||target;clickTime=_getTime();syntheticClick=function syntheticClick(){if(clickTime!==clickDispatch&&self.enabled()&&!self.isPressed&&!originalEvent.defaultPrevented){if(eventTarget.click){eventTarget.click()}else if(ownerDoc.createEvent){syntheticEvent=ownerDoc.createEvent("MouseEvents");syntheticEvent.initMouseEvent("click",!0,!0,_win,1,self.pointerEvent.screenX,self.pointerEvent.screenY,self.pointerX,self.pointerY,!1,!1,!1,!1,0,null);eventTarget.dispatchEvent(syntheticEvent)}}};if(!_isAndroid&&!originalEvent.defaultPrevented){gsap.delayedCall(0.05,syntheticClick)}}}else{animate(vars.inertia||vars.throwProps);if(!self.allowEventDefault&&originalEvent&&(vars.dragClickables!==!1||!isClickable.call(self,originalEvent.target))&&wasDragging&&(!allowNativeTouchScrolling||touchDragAxis&&allowNativeTouchScrolling===touchDragAxis)&&originalEvent.cancelable!==!1){isPreventingDefault=!0;_preventDefault(originalEvent)}else{isPreventingDefault=!1}
370_dispatchEvent(self,"release","onRelease")}
371isTweening()&&placeholderDelayedCall.duration(self.tween.duration());wasDragging&&_dispatchEvent(self,"dragend","onDragEnd");return!0},updateScroll=function updateScroll(e){if(e&&self.isDragging&&!scrollProxy){var parent=e.target||target.parentNode,deltaX=parent.scrollLeft-parent._gsScrollX,deltaY=parent.scrollTop-parent._gsScrollY;if(deltaX||deltaY){if(matrix){startPointerX-=deltaX*matrix.a+deltaY*matrix.c;startPointerY-=deltaY*matrix.d+deltaX*matrix.b}else{startPointerX-=deltaX;startPointerY-=deltaY}
372parent._gsScrollX+=deltaX;parent._gsScrollY+=deltaY;setPointerPosition(self.pointerX,self.pointerY)}}},onClick=function onClick(e){var time=_getTime(),recentlyClicked=time-clickTime<40,recentlyDragged=time-dragEndTime<40,alreadyDispatched=recentlyClicked&&clickDispatch===clickTime,defaultPrevented=self.pointerEvent&&self.pointerEvent.defaultPrevented,alreadyDispatchedTrusted=recentlyClicked&&trustedClickDispatch===clickTime,trusted=e.isTrusted||e.isTrusted==null&&recentlyClicked&&alreadyDispatched;if((alreadyDispatched||recentlyDragged&&self.vars.suppressClickOnDrag!==!1)&&e.stopImmediatePropagation){e.stopImmediatePropagation()}
373if(recentlyClicked&&!(self.pointerEvent&&self.pointerEvent.defaultPrevented)&&(!alreadyDispatched||trusted&&!alreadyDispatchedTrusted)){if(trusted&&alreadyDispatched){trustedClickDispatch=clickTime}
374clickDispatch=clickTime;return}
375if(self.isPressed||recentlyDragged||recentlyClicked){if(!trusted||!e.detail||!recentlyClicked||defaultPrevented){_preventDefault(e)}}
376if(!recentlyClicked&&!recentlyDragged){e&&e.target&&(self.pointerEvent=e);_dispatchEvent(self,"click","onClick")}},localizePoint=function localizePoint(p){return matrix?{x:p.x*matrix.a+p.y*matrix.c+matrix.e,y:p.x*matrix.b+p.y*matrix.d+matrix.f}:{x:p.x,y:p.y}};old=Draggable.get(target);old&&old.kill();_this2.startDrag=function(event,align){var r1,r2,p1,p2;onPress(event||self.pointerEvent,!0);if(align&&!self.hitTest(event||self.pointerEvent)){r1=_parseRect(event||self.pointerEvent);r2=_parseRect(target);p1=localizePoint({x:r1.left+r1.width/2,y:r1.top+r1.height/2});p2=localizePoint({x:r2.left+r2.width/2,y:r2.top+r2.height/2});startPointerX-=p1.x-p2.x;startPointerY-=p1.y-p2.y}
377if(!self.isDragging){self.isDragging=!0;_dispatchEvent(self,"dragstart","onDragStart")}};_this2.drag=onMove;_this2.endDrag=function(e){return onRelease(e||self.pointerEvent,!0)};_this2.timeSinceDrag=function(){return self.isDragging?0:(_getTime()-dragEndTime)/1000};_this2.timeSinceClick=function(){return(_getTime()-clickTime)/1000};_this2.hitTest=function(target,threshold){return Draggable.hitTest(self.target,target,threshold)};_this2.getDirection=function(from,diagonalThreshold){var mode=from==="velocity"&&InertiaPlugin?from:_isObject(from)&&!rotationMode?"element":"start",xChange,yChange,ratio,direction,r1,r2;if(mode==="element"){r1=_parseRect(self.target);r2=_parseRect(from)}
378xChange=mode==="start"?self.x-startElementX:mode==="velocity"?InertiaPlugin.getVelocity(target,xProp):r1.left+r1.width/2-(r2.left+r2.width/2);if(rotationMode){return xChange<0?"counter-clockwise":"clockwise"}else{diagonalThreshold=diagonalThreshold||2;yChange=mode==="start"?self.y-startElementY:mode==="velocity"?InertiaPlugin.getVelocity(target,yProp):r1.top+r1.height/2-(r2.top+r2.height/2);ratio=Math.abs(xChange/yChange);direction=ratio<1/diagonalThreshold?"":xChange<0?"left":"right";if(ratio<diagonalThreshold){if(direction!==""){direction+="-"}
379direction+=yChange<0?"up":"down"}}
380return direction};_this2.applyBounds=function(newBounds,sticky){var x,y,forceZeroVelocity,e,parent,isRoot;if(newBounds&&vars.bounds!==newBounds){vars.bounds=newBounds;return self.update(!0,sticky)}
381syncXY(!0);calculateBounds();if(hasBounds&&!isTweening()){x=self.x;y=self.y;if(x>maxX){x=maxX}else if(x<minX){x=minX}
382if(y>maxY){y=maxY}else if(y<minY){y=minY}
383if(self.x!==x||self.y!==y){forceZeroVelocity=!0;self.x=self.endX=x;if(rotationMode){self.endRotation=x}else{self.y=self.endY=y}
384dirty=!0;render(!0);if(self.autoScroll&&!self.isDragging){_recordMaxScrolls(target.parentNode);e=target;_windowProxy.scrollTop=_win.pageYOffset!=null?_win.pageYOffset:ownerDoc.documentElement.scrollTop!=null?ownerDoc.documentElement.scrollTop:ownerDoc.body.scrollTop;_windowProxy.scrollLeft=_win.pageXOffset!=null?_win.pageXOffset:ownerDoc.documentElement.scrollLeft!=null?ownerDoc.documentElement.scrollLeft:ownerDoc.body.scrollLeft;while(e&&!isRoot){isRoot=_isRoot(e.parentNode);parent=isRoot?_windowProxy:e.parentNode;if(allowY&&parent.scrollTop>parent._gsMaxScrollY){parent.scrollTop=parent._gsMaxScrollY}
385if(allowX&&parent.scrollLeft>parent._gsMaxScrollX){parent.scrollLeft=parent._gsMaxScrollX}
386e=parent}}}
387if(self.isThrowing&&(forceZeroVelocity||self.endX>maxX||self.endX<minX||self.endY>maxY||self.endY<minY)){animate(vars.inertia||vars.throwProps,forceZeroVelocity)}}
388return self};_this2.update=function(applyBounds,sticky,ignoreExternalChanges){if(sticky&&self.isPressed){var m=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(target),p=innerMatrix.apply({x:self.x-startElementX,y:self.y-startElementY}),m2=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(target.parentNode,!0);m2.apply({x:m.e-p.x,y:m.f-p.y},p);self.x-=p.x-m2.e;self.y-=p.y-m2.f;render(!0);recordStartPositions()}
389var x=self.x,y=self.y;updateMatrix(!sticky);if(applyBounds){self.applyBounds()}else{dirty&&ignoreExternalChanges&&render(!0);syncXY(!0)}
390if(sticky){setPointerPosition(self.pointerX,self.pointerY);dirty&&render(!0)}
391if(self.isPressed&&!sticky&&(allowX&&Math.abs(x-self.x)>0.01||allowY&&Math.abs(y-self.y)>0.01&&!rotationMode)){recordStartPositions()}
392if(self.autoScroll){_recordMaxScrolls(target.parentNode,self.isDragging);checkAutoScrollBounds=self.isDragging;render(!0);_removeScrollListener(target,updateScroll);_addScrollListener(target,updateScroll)}
393return self};_this2.enable=function(type){var setVars={lazy:!0},id,i,trigger;if(vars.cursor!==!1){setVars.cursor=vars.cursor||_defaultCursor}
394if(gsap.utils.checkPrefix("touchCallout")){setVars.touchCallout="none"}
395if(type!=="soft"){_setTouchActionForAllDescendants(triggers,allowX===allowY?"none":vars.allowNativeTouchScrolling&&target.scrollHeight===target.clientHeight===(target.scrollWidth===target.clientHeight)||vars.allowEventDefault?"manipulation":allowX?"pan-y":"pan-x");i=triggers.length;while(--i>-1){trigger=triggers[i];_supportsPointer||_addListener(trigger,"mousedown",onPress);_addListener(trigger,"touchstart",onPress);_addListener(trigger,"click",onClick,!0);gsap.set(trigger,setVars);if(trigger.getBBox&&trigger.ownerSVGElement){gsap.set(trigger.ownerSVGElement,{touchAction:allowX===allowY?"none":vars.allowNativeTouchScrolling||vars.allowEventDefault?"manipulation":allowX?"pan-y":"pan-x"})}
396vars.allowContextMenu||_addListener(trigger,"contextmenu",onContextMenu)}
397_setSelectable(triggers,!1)}
398_addScrollListener(target,updateScroll);enabled=!0;if(InertiaPlugin&&type!=="soft"){InertiaPlugin.track(scrollProxy||target,xyMode?"x,y":rotationMode?"rotation":"top,left")}
399target._gsDragID=id="d"+_lookupCount++;_lookup[id]=self;if(scrollProxy){scrollProxy.enable();scrollProxy.element._gsDragID=id}(vars.bounds||rotationMode)&&recordStartPositions();vars.bounds&&self.applyBounds();return self};_this2.disable=function(type){var dragging=self.isDragging,i=triggers.length,trigger;while(--i>-1){_setStyle(triggers[i],"cursor",null)}
400if(type!=="soft"){_setTouchActionForAllDescendants(triggers,null);i=triggers.length;while(--i>-1){trigger=triggers[i];_setStyle(trigger,"touchCallout",null);_removeListener(trigger,"mousedown",onPress);_removeListener(trigger,"touchstart",onPress);_removeListener(trigger,"click",onClick);_removeListener(trigger,"contextmenu",onContextMenu)}
401_setSelectable(triggers,!0);if(touchEventTarget){_removeListener(touchEventTarget,"touchcancel",onRelease);_removeListener(touchEventTarget,"touchend",onRelease);_removeListener(touchEventTarget,"touchmove",onMove)}
402_removeListener(ownerDoc,"mouseup",onRelease);_removeListener(ownerDoc,"mousemove",onMove)}
403_removeScrollListener(target,updateScroll);enabled=!1;InertiaPlugin&&type!=="soft"&&InertiaPlugin.untrack(scrollProxy||target,xyMode?"x,y":rotationMode?"rotation":"top,left");scrollProxy&&scrollProxy.disable();_removeFromRenderQueue(render);self.isDragging=self.isPressed=isClicking=!1;dragging&&_dispatchEvent(self,"dragend","onDragEnd");return self};_this2.enabled=function(value,type){return arguments.length?value?self.enable(type):self.disable(type):enabled};_this2.kill=function(){self.isThrowing=!1;self.tween&&self.tween.kill();self.disable();gsap.set(triggers,{clearProps:"userSelect"});delete _lookup[target._gsDragID];return self};if(~type.indexOf("scroll")){scrollProxy=_this2.scrollProxy=new ScrollProxy(target,_extend({onKill:function onKill(){self.isPressed&&onRelease(null)}},vars));target.style.overflowY=allowY&&!_isTouchDevice?"auto":"hidden";target.style.overflowX=allowX&&!_isTouchDevice?"auto":"hidden";target=scrollProxy.content}
404if(rotationMode){killProps.rotation=1}else{if(allowX){killProps[xProp]=1}
405if(allowY){killProps[yProp]=1}}
406gsCache.force3D="force3D" in vars?vars.force3D:!0;_this2.enable();return _this2}
407Draggable.register=function register(core){gsap=core;_initCore()};Draggable.create=function create(targets,vars){_coreInitted||_initCore(!0);return _toArray(targets).map(function(target){return new Draggable(target,vars)})};Draggable.get=function get(target){return _lookup[(_toArray(target)[0]||{})._gsDragID]};Draggable.timeSinceDrag=function timeSinceDrag(){return(_getTime()-_lastDragTime)/1000};Draggable.hitTest=function hitTest(obj1,obj2,threshold){if(obj1===obj2){return!1}
408var r1=_parseRect(obj1),r2=_parseRect(obj2),top=r1.top,left=r1.left,right=r1.right,bottom=r1.bottom,width=r1.width,height=r1.height,isOutside=r2.left>right||r2.right<left||r2.top>bottom||r2.bottom<top,overlap,area,isRatio;if(isOutside||!threshold){return!isOutside}
409isRatio=(threshold+"").indexOf("%")!==-1;threshold=parseFloat(threshold)||0;overlap={left:Math.max(left,r2.left),top:Math.max(top,r2.top)};overlap.width=Math.min(right,r2.right)-overlap.left;overlap.height=Math.min(bottom,r2.bottom)-overlap.top;if(overlap.width<0||overlap.height<0){return!1}
410if(isRatio){threshold*=0.01;area=overlap.width*overlap.height;return area>=width*height*threshold||area>=r2.width*r2.height*threshold}
411return overlap.width>threshold&&overlap.height>threshold};return Draggable}(EventDispatcher);_setDefaults(Draggable.prototype,{pointerX:0,pointerY:0,startX:0,startY:0,deltaX:0,deltaY:0,isDragging:!1,isPressed:!1});Draggable.zIndex=1000;Draggable.version="3.7.1";_getGSAP()&&gsap.registerPlugin(Draggable)}),
vendor: 6,652 bytes, lines 411-440
411"./node_modules/gsap/DrawSVGPlugin.js":
412/*!********************************************!*\
413  !*** ./node_modules/gsap/DrawSVGPlugin.js ***!
414  \********************************************/
415/*! exports provided: DrawSVGPlugin, default */
416(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"DrawSVGPlugin",function(){return DrawSVGPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return DrawSVGPlugin});
417/*!
418 * DrawSVGPlugin 3.7.1
419 * https://greensock.com
420 *
421 * @license Copyright 2008-2021, GreenSock. All rights reserved.
422 * Subject to the terms at https://greensock.com/standard-license or for
423 * Club GreenSock members, the agreement issued with that membership.
424 * @author: Jack Doyle, [email protected]
425*/
426var gsap,_toArray,_doc,_win,_isEdge,_coreInitted,_windowExists=function _windowExists(){return typeof window!=="undefined"},_getGSAP=function _getGSAP(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_numExp=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,_types={rect:["width","height"],circle:["r","r"],ellipse:["rx","ry"],line:["x2","y2"]},_round=function _round(value){return Math.round(value*10000)/10000},_parseNum=function _parseNum(value){return parseFloat(value)||0},_parseSingleVal=function _parseSingleVal(value,length){var num=_parseNum(value);return~value.indexOf("%")?num/100*length:num},_getAttributeAsNumber=function _getAttributeAsNumber(target,attr){return _parseNum(target.getAttribute(attr))},_sqrt=Math.sqrt,_getDistance=function _getDistance(x1,y1,x2,y2,scaleX,scaleY){return _sqrt(Math.pow((_parseNum(x2)-_parseNum(x1))*scaleX,2)+Math.pow((_parseNum(y2)-_parseNum(y1))*scaleY,2))},_warn=function _warn(message){return console.warn(message)},_hasNonScalingStroke=function _hasNonScalingStroke(target){return target.getAttribute("vector-effect")==="non-scaling-stroke"},_bonusValidated=1,_parse=function _parse(value,length,defaultStart){var i=value.indexOf(" "),s,e;if(i<0){s=defaultStart!==undefined?defaultStart+"":value;e=value}else{s=value.substr(0,i);e=value.substr(i+1)}
427s=_parseSingleVal(s,length);e=_parseSingleVal(e,length);return s>e?[e,s]:[s,e]},_getLength=function _getLength(target){target=_toArray(target)[0];if(!target){return 0}
428var type=target.tagName.toLowerCase(),style=target.style,scaleX=1,scaleY=1,length,bbox,points,prevPoint,i,rx,ry;if(_hasNonScalingStroke(target)){scaleY=target.getScreenCTM();scaleX=_sqrt(scaleY.a*scaleY.a+scaleY.b*scaleY.b);scaleY=_sqrt(scaleY.d*scaleY.d+scaleY.c*scaleY.c)}
429try{bbox=target.getBBox()}catch(e){_warn("Some browsers won't measure invisible elements (like display:none or masks inside defs).")}
430var _ref=bbox||{x:0,y:0,width:0,height:0},x=_ref.x,y=_ref.y,width=_ref.width,height=_ref.height;if((!bbox||!width&&!height)&&_types[type]){width=_getAttributeAsNumber(target,_types[type][0]);height=_getAttributeAsNumber(target,_types[type][1]);if(type!=="rect"&&type!=="line"){width*=2;height*=2}
431if(type==="line"){x=_getAttributeAsNumber(target,"x1");y=_getAttributeAsNumber(target,"y1");width=Math.abs(width-x);height=Math.abs(height-y)}}
432if(type==="path"){prevPoint=style.strokeDasharray;style.strokeDasharray="none";length=target.getTotalLength()||0;scaleX!==scaleY&&_warn("Warning: <path> length cannot be measured when vector-effect is non-scaling-stroke and the element isn't proportionally scaled.");length*=(scaleX+scaleY)/2;style.strokeDasharray=prevPoint}else if(type==="rect"){length=width*2*scaleX+height*2*scaleY}else if(type==="line"){length=_getDistance(x,y,x+width,y+height,scaleX,scaleY)}else if(type==="polyline"||type==="polygon"){points=target.getAttribute("points").match(_numExp)||[];type==="polygon"&&points.push(points[0],points[1]);length=0;for(i=2;i<points.length;i+=2){length+=_getDistance(points[i-2],points[i-1],points[i],points[i+1],scaleX,scaleY)||0}}else if(type==="circle"||type==="ellipse"){rx=width/2*scaleX;ry=height/2*scaleY;length=Math.PI*(3*(rx+ry)-_sqrt((3*rx+ry)*(rx+3*ry)))}
433return length||0},_getPosition=function _getPosition(target,length){target=_toArray(target)[0];if(!target){return[0,0]}
434length||(length=_getLength(target)+1);var cs=_win.getComputedStyle(target),dash=cs.strokeDasharray||"",offset=_parseNum(cs.strokeDashoffset),i=dash.indexOf(",");i<0&&(i=dash.indexOf(" "));dash=i<0?length:_parseNum(dash.substr(0,i));dash>length&&(dash=length);return[-offset||0,dash-offset||0]},_initCore=function _initCore(){if(_windowExists()){_doc=document;_win=window;_coreInitted=gsap=_getGSAP();_toArray=gsap.utils.toArray;_isEdge=((_win.navigator||{}).userAgent||"").indexOf("Edge")!==-1}};var DrawSVGPlugin={version:"3.7.1",name:"drawSVG",register:function register(core){gsap=core;_initCore()},init:function init(target,value,tween,index,targets){if(!target.getBBox){return!1}
435_coreInitted||_initCore();var length=_getLength(target),start,end,cs;this._style=target.style;this._target=target;if(value+""==="true"){value="0 100%"}else if(!value){value="0 0"}else if((value+"").indexOf(" ")===-1){value="0 "+value}
436start=_getPosition(target,length);end=_parse(value,length,start[0]);this._length=_round(length);this._dash=_round(start[1]-start[0]);this._offset=_round(-start[0]);this._dashPT=this.add(this,"_dash",this._dash,_round(end[1]-end[0]));this._offsetPT=this.add(this,"_offset",this._offset,_round(-end[0]));if(_isEdge){cs=_win.getComputedStyle(target);if(cs.strokeLinecap!==cs.strokeLinejoin){end=_parseNum(cs.strokeMiterlimit);this.add(target.style,"strokeMiterlimit",end,end+0.01)}}
437this._live=_hasNonScalingStroke(target)||~(value+"").indexOf("live");this._nowrap=~(value+"").indexOf("nowrap");this._props.push("drawSVG");return _bonusValidated},render:function render(ratio,data){var pt=data._pt,style=data._style,length,lengthRatio,dash,offset;if(pt){if(data._live){length=_getLength(data._target);if(length!==data._length){lengthRatio=length/data._length;data._length=length;if(data._offsetPT){data._offsetPT.s*=lengthRatio;data._offsetPT.c*=lengthRatio}
438if(data._dashPT){data._dashPT.s*=lengthRatio;data._dashPT.c*=lengthRatio}else{data._dash*=lengthRatio}}}
439while(pt){pt.r(ratio,pt.d);pt=pt._next}
440dash=data._dash||ratio&&ratio!==1&&0.0001||0;length=data._length-dash+0.1;offset=data._offset;dash&&offset&&dash+Math.abs(offset%data._length)>data._length-0.2&&(offset+=offset<0?0.1:-0.1)&&(length+=0.1);style.strokeDashoffset=dash?offset:offset+0.001;style.strokeDasharray=length<0.2?"none":dash?dash+"px,"+(data._nowrap?999999:length)+"px":"0px, 999999px"}},getLength:_getLength,getPosition:_getPosition};_getGSAP()&&gsap.registerPlugin(DrawSVGPlugin)}),
vendor: 4,269 bytes, lines 440-466
440"./node_modules/gsap/EasePack.js":
441/*!***************************************!*\
442  !*** ./node_modules/gsap/EasePack.js ***!
443  \***************************************/
444/*! exports provided: SlowMo, ExpoScaleEase, RoughEase, EasePack, default */
445(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"SlowMo",function(){return SlowMo});__webpack_require__.d(__webpack_exports__,"ExpoScaleEase",function(){return ExpoScaleEase});__webpack_require__.d(__webpack_exports__,"RoughEase",function(){return RoughEase});__webpack_require__.d(__webpack_exports__,"EasePack",function(){return EasePack});__webpack_require__.d(__webpack_exports__,"default",function(){return EasePack});
446/*!
447 * EasePack 3.7.1
448 * https://greensock.com
449 *
450 * @license Copyright 2008-2021, GreenSock. All rights reserved.
451 * Subject to the terms at https://greensock.com/standard-license or for
452 * Club GreenSock members, the agreement issued with that membership.
453 * @author: Jack Doyle, [email protected]
454*/
455var gsap,_coreInitted,_registerEase,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_boolean=function _boolean(value,defaultValue){return!!(typeof value==="undefined"?defaultValue:value&&!~(value+"").indexOf("false"))},_initCore=function _initCore(core){gsap=core||_getGSAP();if(gsap){_registerEase=gsap.registerEase;var eases=gsap.parseEase(),createConfig=function createConfig(ease){return function(ratio){var y=0.5+ratio/2;ease.config=function(p){return ease(2*(1-p)*p*y+p*p)}}},p;for(p in eases){if(!eases[p].config){createConfig(eases[p])}}
456_registerEase("slow",SlowMo);_registerEase("expoScale",ExpoScaleEase);_registerEase("rough",RoughEase);for(p in EasePack){p!=="version"&&gsap.core.globals(p,EasePack[p])}
457_coreInitted=1}},_createSlowMo=function _createSlowMo(linearRatio,power,yoyoMode){linearRatio=Math.min(1,linearRatio||0.7);var pow=linearRatio<1?power||power===0?power:0.7:0,p1=(1-linearRatio)/2,p3=p1+linearRatio,calcEnd=_boolean(yoyoMode);return function(p){var r=p+(0.5-p)*pow;return p<p1?calcEnd?1-(p=1-p/p1)*p:r-(p=1-p/p1)*p*p*p*r:p>p3?calcEnd?p===1?0:1-(p=(p-p3)/p1)*p:r+(p-r)*(p=(p-p3)/p1)*p*p*p:calcEnd?1:r}},_createExpoScale=function _createExpoScale(start,end,ease){var p1=Math.log(end/start),p2=end-start;ease&&(ease=gsap.parseEase(ease));return function(p){return(start*Math.exp(p1*(ease?ease(p):p))-start)/p2}},EasePoint=function EasePoint(time,value,next){this.t=time;this.v=value;if(next){this.next=next;next.prev=this;this.c=next.v-value;this.gap=next.t-time}},_createRoughEase=function _createRoughEase(vars){if(typeof vars!=="object"){vars={points:+vars||20}}
458var taper=vars.taper||"none",a=[],cnt=0,points=(+vars.points||20)|0,i=points,randomize=_boolean(vars.randomize,!0),clamp=_boolean(vars.clamp),template=gsap?gsap.parseEase(vars.template):0,strength=(+vars.strength||1)*0.4,x,y,bump,invX,obj,pnt,recent;while(--i>-1){x=randomize?Math.random():1/points*i;y=template?template(x):x;if(taper==="none"){bump=strength}else if(taper==="out"){invX=1-x;bump=invX*invX*strength}else if(taper==="in"){bump=x*x*strength}else if(x<0.5){invX=x*2;bump=invX*invX*0.5*strength}else{invX=(1-x)*2;bump=invX*invX*0.5*strength}
459if(randomize){y+=Math.random()*bump-bump*0.5}else if(i%2){y+=bump*0.5}else{y-=bump*0.5}
460if(clamp){if(y>1){y=1}else if(y<0){y=0}}
461a[cnt++]={x:x,y:y}}
462a.sort(function(a,b){return a.x-b.x});pnt=new EasePoint(1,1,null);i=points;while(i--){obj=a[i];pnt=new EasePoint(obj.x,obj.y,pnt)}
463recent=new EasePoint(0,0,pnt.t?pnt:pnt.next);return function(p){var pnt=recent;if(p>pnt.t){while(pnt.next&&p>=pnt.t){pnt=pnt.next}
464pnt=pnt.prev}else{while(pnt.prev&&p<=pnt.t){pnt=pnt.prev}}
465recent=pnt;return pnt.v+(p-pnt.t)/pnt.gap*pnt.c}};var SlowMo=_createSlowMo(0.7);SlowMo.ease=SlowMo;SlowMo.config=_createSlowMo;var ExpoScaleEase=_createExpoScale(1,2);ExpoScaleEase.config=_createExpoScale;var RoughEase=_createRoughEase();RoughEase.ease=RoughEase;RoughEase.config=_createRoughEase;var EasePack={SlowMo:SlowMo,RoughEase:RoughEase,ExpoScaleEase:ExpoScaleEase};for(var p in EasePack){EasePack[p].register=_initCore;EasePack[p].version="3.7.1"}
466_getGSAP()&&gsap.registerPlugin(SlowMo)}),
vendor: 6,898 bytes, lines 466-508
466"./node_modules/gsap/EaselPlugin.js":
467/*!******************************************!*\
468  !*** ./node_modules/gsap/EaselPlugin.js ***!
469  \******************************************/
470/*! exports provided: EaselPlugin, default */
471(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"EaselPlugin",function(){return EaselPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return EaselPlugin});
472/*!
473 * EaselPlugin 3.7.1
474 * https://greensock.com
475 *
476 * @license Copyright 2008-2021, GreenSock. All rights reserved.
477 * Subject to the terms at https://greensock.com/standard-license or for
478 * Club GreenSock members, the agreement issued with that membership.
479 * @author: Jack Doyle, [email protected]
480*/
481var gsap,_coreInitted,_win,_createJS,_ColorFilter,_ColorMatrixFilter,_colorProps="redMultiplier,greenMultiplier,blueMultiplier,alphaMultiplier,redOffset,greenOffset,blueOffset,alphaOffset".split(","),_windowExists=function _windowExists(){return typeof window!=="undefined"},_getGSAP=function _getGSAP(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_getCreateJS=function _getCreateJS(){return _createJS||_win&&_win.createjs||_win||{}},_warn=function _warn(message){return console.warn(message)},_cache=function _cache(target){var b=target.getBounds&&target.getBounds();if(!b){b=target.nominalBounds||{x:0,y:0,width:100,height:100};target.setBounds&&target.setBounds(b.x,b.y,b.width,b.height)}
482target.cache&&target.cache(b.x,b.y,b.width,b.height);_warn("EaselPlugin: for filters to display in EaselJS, you must call the object's cache() method first. GSAP attempted to use the target's getBounds() for the cache but that may not be completely accurate. "+target)},_parseColorFilter=function _parseColorFilter(target,v,plugin){if(!_ColorFilter){_ColorFilter=_getCreateJS().ColorFilter;if(!_ColorFilter){_warn("EaselPlugin error: The EaselJS ColorFilter JavaScript file wasn't loaded.")}}
483var filters=target.filters||[],i=filters.length,c,s,e,a,p,pt;while(i--){if(filters[i]instanceof _ColorFilter){s=filters[i];break}}
484if(!s){s=new _ColorFilter();filters.push(s);target.filters=filters}
485e=s.clone();if(v.tint!=null){c=gsap.utils.splitColor(v.tint);a=v.tintAmount!=null?+v.tintAmount:1;e.redOffset=+c[0]*a;e.greenOffset=+c[1]*a;e.blueOffset=+c[2]*a;e.redMultiplier=e.greenMultiplier=e.blueMultiplier=1-a}else{for(p in v){if(p!=="exposure")if(p!=="brightness"){e[p]=+v[p]}}}
486if(v.exposure!=null){e.redOffset=e.greenOffset=e.blueOffset=255*(+v.exposure-1);e.redMultiplier=e.greenMultiplier=e.blueMultiplier=1}else if(v.brightness!=null){a=+v.brightness-1;e.redOffset=e.greenOffset=e.blueOffset=a>0?a*255:0;e.redMultiplier=e.greenMultiplier=e.blueMultiplier=1-Math.abs(a)}
487i=8;while(i--){p=_colorProps[i];if(s[p]!==e[p]){pt=plugin.add(s,p,s[p],e[p]);if(pt){pt.op="easel_colorFilter"}}}
488plugin._props.push("easel_colorFilter");if(!target.cacheID){_cache(target)}},_idMatrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],_lumR=0.212671,_lumG=0.715160,_lumB=0.072169,_applyMatrix=function _applyMatrix(m,m2){if(!(m instanceof Array)||!(m2 instanceof Array)){return m2}
489var temp=[],i=0,z=0,y,x;for(y=0;y<4;y++){for(x=0;x<5;x++){z=x===4?m[i+4]:0;temp[i+x]=m[i]*m2[x]+m[i+1]*m2[x+5]+m[i+2]*m2[x+10]+m[i+3]*m2[x+15]+z}
490i+=5}
491return temp},_setSaturation=function _setSaturation(m,n){if(isNaN(n)){return m}
492var inv=1-n,r=inv*_lumR,g=inv*_lumG,b=inv*_lumB;return _applyMatrix([r+n,g,b,0,0,r,g+n,b,0,0,r,g,b+n,0,0,0,0,0,1,0],m)},_colorize=function _colorize(m,color,amount){if(isNaN(amount)){amount=1}
493var c=gsap.utils.splitColor(color),r=c[0]/255,g=c[1]/255,b=c[2]/255,inv=1-amount;return _applyMatrix([inv+amount*r*_lumR,amount*r*_lumG,amount*r*_lumB,0,0,amount*g*_lumR,inv+amount*g*_lumG,amount*g*_lumB,0,0,amount*b*_lumR,amount*b*_lumG,inv+amount*b*_lumB,0,0,0,0,0,1,0],m)},_setHue=function _setHue(m,n){if(isNaN(n)){return m}
494n*=Math.PI/180;var c=Math.cos(n),s=Math.sin(n);return _applyMatrix([_lumR+c*(1-_lumR)+s*-_lumR,_lumG+c*-_lumG+s*-_lumG,_lumB+c*-_lumB+s*(1-_lumB),0,0,_lumR+c*-_lumR+s*0.143,_lumG+c*(1-_lumG)+s*0.14,_lumB+c*-_lumB+s*-0.283,0,0,_lumR+c*-_lumR+s*-(1-_lumR),_lumG+c*-_lumG+s*_lumG,_lumB+c*(1-_lumB)+s*_lumB,0,0,0,0,0,1,0,0,0,0,0,1],m)},_setContrast=function _setContrast(m,n){if(isNaN(n)){return m}
495n+=0.01;return _applyMatrix([n,0,0,0,128*(1-n),0,n,0,0,128*(1-n),0,0,n,0,128*(1-n),0,0,0,1,0],m)},_parseColorMatrixFilter=function _parseColorMatrixFilter(target,v,plugin){if(!_ColorMatrixFilter){_ColorMatrixFilter=_getCreateJS().ColorMatrixFilter;if(!_ColorMatrixFilter){_warn("EaselPlugin: The EaselJS ColorMatrixFilter JavaScript file wasn't loaded.")}}
496var filters=target.filters||[],i=filters.length,matrix,startMatrix,s,pg;while(--i>-1){if(filters[i]instanceof _ColorMatrixFilter){s=filters[i];break}}
497if(!s){s=new _ColorMatrixFilter(_idMatrix.slice());filters.push(s);target.filters=filters}
498startMatrix=s.matrix;matrix=_idMatrix.slice();if(v.colorize!=null){matrix=_colorize(matrix,v.colorize,Number(v.colorizeAmount))}
499if(v.contrast!=null){matrix=_setContrast(matrix,Number(v.contrast))}
500if(v.hue!=null){matrix=_setHue(matrix,Number(v.hue))}
501if(v.saturation!=null){matrix=_setSaturation(matrix,Number(v.saturation))}
502i=matrix.length;while(--i>-1){if(matrix[i]!==startMatrix[i]){pg=plugin.add(startMatrix,i,startMatrix[i],matrix[i]);if(pg){pg.op="easel_colorMatrixFilter"}}}
503plugin._props.push("easel_colorMatrixFilter");if(!target.cacheID){_cache()}
504plugin._matrix=startMatrix},_initCore=function _initCore(core){gsap=core||_getGSAP();if(_windowExists()){_win=window}
505if(gsap){_coreInitted=1}};var EaselPlugin={version:"3.7.1",name:"easel",init:function init(target,value,tween,index,targets){if(!_coreInitted){_initCore();if(!gsap){_warn("Please gsap.registerPlugin(EaselPlugin)")}}
506this.target=target;var p,pt,tint,colorMatrix,end,labels,i;for(p in value){end=value[p];if(p==="colorFilter"||p==="tint"||p==="tintAmount"||p==="exposure"||p==="brightness"){if(!tint){_parseColorFilter(target,value.colorFilter||value,this);tint=!0}}else if(p==="saturation"||p==="contrast"||p==="hue"||p==="colorize"||p==="colorizeAmount"){if(!colorMatrix){_parseColorMatrixFilter(target,value.colorMatrixFilter||value,this);colorMatrix=!0}}else if(p==="frame"){if(typeof end==="string"&&end.charAt(1)!=="="&&(labels=target.labels)){for(i=0;i<labels.length;i++){if(labels[i].label===end){end=labels[i].position}}}
507pt=this.add(target,"gotoAndStop",target.currentFrame,end,index,targets,Math.round);if(pt){pt.op=p}}else if(target[p]!=null){this.add(target,p,"get",end)}}},render:function render(ratio,data){var pt=data._pt;while(pt){pt.r(ratio,pt.d);pt=pt._next}
508if(data.target.cacheID){data.target.updateCache()}},register:_initCore};EaselPlugin.registerCreateJS=function(createjs){_createJS=createjs};_getGSAP()&&gsap.registerPlugin(EaselPlugin)}),
vendor: 22,292 bytes, lines 508-560
508"./node_modules/gsap/Flip.js":
509/*!***********************************!*\
510  !*** ./node_modules/gsap/Flip.js ***!
511  \***********************************/
512/*! exports provided: Flip, default */
513(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Flip",function(){return Flip});__webpack_require__.d(__webpack_exports__,"default",function(){return Flip});var _utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/matrix.js */"./node_modules/gsap/utils/matrix.js");
514/*!
515 * Flip 3.7.1
516 * https://greensock.com
517 *
518 * @license Copyright 2008-2021, GreenSock. All rights reserved.
519 * Subject to the terms at https://greensock.com/standard-license or for
520 * Club GreenSock members, the agreement issued with that membership.
521 * @author: Jack Doyle, [email protected]
522*/
523var _id=1,_toArray,gsap,_RAD2DEG=180/Math.PI,_DEG2RAD=Math.PI/180,_emptyObj={},_dashedNameLookup={},_memoizedRemoveProps={},_callbacks="onStart,onUpdate,onComplete,onReverseComplete,onInterrupt".split(","),_removeProps="transform,transformOrigin,width,height,position,top,left,opacity,zIndex".split(","),_getEl=function _getEl(target){return _toArray(target)[0]||console.warn("Element not found:",target)},_round=function _round(value){return Math.round(value*10000)/10000||0},_toggleClass=function _toggleClass(targets,className,action){return targets.forEach(function(el){return el.classList[action](className)})},_reserved={zIndex:1,clear:1,simple:1,spin:1,clearProps:1,targets:1,toggleClass:1,onComplete:1,onUpdate:1,onInterrupt:1,onStart:1,delay:1,repeat:1,repeatDelay:1,yoyo:1,scale:1,fade:1,absolute:1,props:1,onEnter:1,onLeave:1,custom:1,paused:1,nested:1},_fitReserved={zIndex:1,simple:1,clearProps:1,scale:1,absolute:1,fitChild:1,getVars:1,props:1},_camelToDashed=function _camelToDashed(p){return p.replace(/([A-Z])/g,"-$1").toLowerCase()},_listToArray=function _listToArray(list){return typeof list==="string"?list.split(" ").join("").split(","):list},_closestTenth,_bonusValidated=1,_copy=function _copy(obj,exclude){var result={},p;for(p in obj){exclude[p]||(result[p]=obj[p])}
524return result},_memoizedProps={},_memoizeProps=function _memoizeProps(props){var p=_memoizedProps[props]=_listToArray(props);_memoizedRemoveProps[props]=p.concat(_removeProps);return p},_getInverseGlobalMatrix=function _getInverseGlobalMatrix(el){var cache=el._gsap||gsap.core.getCache(el);if(cache.gmCache===gsap.ticker.frame){return cache.gMatrix}
525cache.gmCache=gsap.ticker.frame;return cache.gMatrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(el,!0,!1,!0)},_getDOMDepth=function _getDOMDepth(el,invert,level){if(level===void 0){level=0}
526var parent=el.parentNode,inc=1000*Math.pow(10,level)*(invert?-1:1),l=invert?-inc*900:0;while(el){l+=inc;el=el.previousSibling}
527return parent?l+_getDOMDepth(parent,invert,level+1):l},_orderByDOMDepth=function _orderByDOMDepth(comps,invert,isElStates){comps.forEach(function(comp){return comp.d=_getDOMDepth(isElStates?comp.element:comp.t,invert)});comps.sort(function(c1,c2){return c1.d-c2.d});return comps},_recordInlineStyles=function _recordInlineStyles(elState,props){var style=elState.element.style,a=elState.css=elState.css||[],i=props.length,p,v;while(i--){p=props[i];v=style[p]||style.getPropertyValue(p);a.push(v?p:_dashedNameLookup[p]||(_dashedNameLookup[p]=_camelToDashed(p)),v)}
528return style},_applyInlineStyles=function _applyInlineStyles(state){var css=state.css,style=state.element.style,i=0;state.cache.uncache=1;for(;i<css.length;i+=2){css[i+1]?style[css[i]]=css[i+1]:style.removeProperty(css[i])}},_setFinalStates=function _setFinalStates(comps,onlyTransforms){var i=comps.length,comp;while(i--){comp=comps[i];comp.a.cache.uncache=1}
529onlyTransforms||comps.finalStates.forEach(_applyInlineStyles)},_makeAbsolute=function _makeAbsolute(elState,fallbackNode){var element=elState.element,width=elState.width,height=elState.height,uncache=elState.uncache,getProp=elState.getProp,style=element.style,result,displayIsNone;typeof fallbackNode!=="object"&&(fallbackNode=elState);if(getProp("position")!=="absolute"){displayIsNone=getProp("display")==="none";if(!elState.isVisible||displayIsNone){displayIsNone&&(_recordInlineStyles(elState,["display"]).display=fallbackNode.display);elState.matrix=fallbackNode.matrix;elState.width=width=elState.width||fallbackNode.width;elState.height=height=elState.height||fallbackNode.height}
530style.position="absolute";style.width=width+"px";style.height=height+"px";style.top||(style.top="0px");style.left||(style.left="0px");if(uncache){result=new ElementState(element)}else{result=_copy(elState,_emptyObj);result.position="absolute";if(elState.simple){var bounds=element.getBoundingClientRect();result.matrix=new _utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.Matrix2D(1,0,0,1,bounds.left+Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__._getDocScrollLeft)(),bounds.top+Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__._getDocScrollTop)())}else{result.matrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(element,!1,!1,!0)}}
531result=_fit(result,elState,!0);elState.x=parseFloat(result.x);elState.y=parseFloat(result.y)}
532return element},_findElStateInState=function _findElStateInState(state,other){return other&&state.idLookup[_parseElementState(other).id]||state.elementStates[0]},_parseElementState=function _parseElementState(elOrNode,props,simple,other){return elOrNode instanceof ElementState?elOrNode:elOrNode instanceof FlipState?_findElStateInState(elOrNode,other):new ElementState(typeof elOrNode==="string"?_getEl(elOrNode)||console.warn(elOrNode+" not found"):elOrNode,props,simple)},_recordProps=function _recordProps(elState,props){var getProp=gsap.getProperty(elState.element,null,"native"),obj=elState.props={},i=props.length;while(i--){obj[props[i]]=(getProp(props[i])+"").trim()}
533obj.zIndex&&(obj.zIndex=parseFloat(obj.zIndex)||0);return elState},_applyProps=function _applyProps(element,props){var style=element.style||element,p;for(p in props){style[p]=props[p]}},_getID=function _getID(el){var id=el.getAttribute("data-flip-id");id||el.setAttribute("data-flip-id",id="auto-"+_id++);return id},_getCTMInverse=function _getCTMInverse(el){return el.getCTM&&el.nodeName.toLowerCase()==="svg"&&Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__._getCTM)(el).inverse()},_elementsFromElementStates=function _elementsFromElementStates(elStates){return elStates.map(function(elState){return elState.element})},_handleCallback=function _handleCallback(callback,elStates,tl){return callback&&elStates.length&&tl.add(callback(_elementsFromElementStates(elStates),tl,new FlipState(elStates,0,!0)),0)},_fit=function _fit(fromState,toState,scale,applyProps,fitChild,vars){var element=fromState.element,cache=fromState.cache,parent=fromState.parent,x=fromState.x,y=fromState.y,width=toState.width,height=toState.height,scaleX=toState.scaleX,scaleY=toState.scaleY,rotation=toState.rotation,cssText=vars&&element.style.cssText,transform=vars&&element.getBBox&&element.getAttribute("transform"),dimensionState=fromState,_toState$matrix=toState.matrix,e=_toState$matrix.e,f=_toState$matrix.f,deep=fromState.width!==width||fromState.height!==height||fromState.scaleX!==scaleX||fromState.scaleY!==scaleY||fromState.rotation!==rotation,simple=!deep&&fromState.simple&&toState.simple&&!fitChild,skewX,fromPoint,toPoint,getProp,parentMatrix,matrix,bbox;if(simple){scaleX=scaleY=1;rotation=skewX=0}else{parentMatrix=_getInverseGlobalMatrix(parent);matrix=parentMatrix.clone().multiply(toState.ctm?toState.matrix.clone().multiply(toState.ctm):toState.matrix);rotation=_round(Math.atan2(matrix.b,matrix.a)*_RAD2DEG);skewX=_round(Math.atan2(matrix.c,matrix.d)*_RAD2DEG+rotation)%360;scaleX=Math.sqrt(Math.pow(matrix.a,2)+Math.pow(matrix.b,2));scaleY=Math.sqrt(Math.pow(matrix.c,2)+Math.pow(matrix.d,2))*Math.cos(skewX*_DEG2RAD);if(fitChild){fitChild=_toArray(fitChild)[0];getProp=gsap.getProperty(fitChild);bbox=fitChild.getBBox&&typeof fitChild.getBBox==="function"&&fitChild.getBBox();dimensionState={scaleX:getProp("scaleX"),scaleY:getProp("scaleY"),width:bbox?bbox.width:Math.ceil(parseFloat(getProp("width","px"))),height:bbox?bbox.height:parseFloat(getProp("height","px"))}}
534cache.rotation=rotation+"deg";cache.skewX=skewX+"deg"}
535if(scale){scaleX*=width/(dimensionState.width||1e-9);scaleY*=height/(dimensionState.height||1e-9);cache.scaleX=scaleX;cache.scaleY=scaleY}else{width*=scaleX/dimensionState.scaleX;height*=scaleY/dimensionState.scaleY;element.style.width=width+"px";element.style.height=height+"px"}
536if(fromState.isFixed){e-=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__._getDocScrollLeft)();f-=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__._getDocScrollTop)()}
537applyProps&&_applyProps(element,toState.props);if(simple){x+=e-fromState.matrix.e;y+=f-fromState.matrix.f}else if(deep||parent!==toState.parent){cache.renderTransform(1,cache);matrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(fitChild||element);fromPoint=parentMatrix.apply({x:matrix.e,y:matrix.f});toPoint=parentMatrix.apply({x:e,y:f});x+=_round(toPoint.x-fromPoint.x);y+=_round(toPoint.y-fromPoint.y)}else{parentMatrix.e=parentMatrix.f=0;toPoint=parentMatrix.apply({x:e-fromState.matrix.e,y:f-fromState.matrix.f});x+=_round(toPoint.x);y+=_round(toPoint.y)}
538if(vars&&!(vars instanceof ElementState)){element.style.cssText=cssText;element.getBBox&&element.setAttribute("transform",transform||"");cache.uncache=1}else{cache.x=x+"px";cache.y=y+"px";cache.renderTransform(1,cache)}
539if(vars){vars.x=x;vars.y=y;vars.rotation=rotation;vars.skewX=skewX;if(scale){vars.scaleX=scaleX;vars.scaleY=scaleY}else{vars.width=width;vars.height=height}}
540return vars||cache},_parseState=function _parseState(targetsOrState,vars){return targetsOrState instanceof FlipState?targetsOrState:new FlipState(targetsOrState,vars)},_getChangingElState=function _getChangingElState(toState,fromState,id){var to1=toState.idLookup[id],to2=toState.alt[id];return to2.isVisible&&(!(fromState.getElementState(to2.element)||to2).isVisible||!to1.isVisible)?to2:to1},_fromTo=function _fromTo(fromState,toState,vars,relative){if(!_bonusValidated){return}
541fromState instanceof FlipState&&toState instanceof FlipState||console.warn("Not a valid state object.");vars=vars||{};var _vars=vars,clearProps=_vars.clearProps,onEnter=_vars.onEnter,onLeave=_vars.onLeave,absolute=_vars.absolute,custom=_vars.custom,delay=_vars.delay,paused=_vars.paused,repeat=_vars.repeat,repeatDelay=_vars.repeatDelay,yoyo=_vars.yoyo,toggleClass=_vars.toggleClass,nested=_vars.nested,_zIndex=_vars.zIndex,scale=_vars.scale,fade=_vars.fade,stagger=_vars.stagger,spin=_vars.spin,props=("props" in vars?vars:fromState).props,tweenVars=_copy(vars,_reserved),animation=gsap.timeline({delay:delay,paused:paused,repeat:repeat,repeatDelay:repeatDelay,yoyo:yoyo}),remainingProps=tweenVars,entering=[],leaving=[],comps=[],swapOutTargets=[],spinNum=spin===!0?1:spin||0,spinFunc=typeof spin==="function"?spin:function(){return spinNum},interrupted=fromState.interrupted||toState.interrupted,addFunc=animation[relative!==1?"to":"from"],v,p,endTime,i,el,comp,state,targets,finalStates,fromNode,toNode;relative||(toState=new FlipState(toState.targets,props).fit(toState,scale));for(p in toState.idLookup){toNode=!toState.alt[p]?toState.idLookup[p]:_getChangingElState(toState,fromState,p);el=toNode.element;fromNode=fromState.idLookup[p];fromState.alt[p]&&el===fromNode.element&&(fromNode=fromState.alt[p]);if(fromNode){comp={t:el,b:fromNode,a:toNode,sd:fromNode.element===el?0:toNode.isVisible?1:-1};comps.push(comp);if(comp.sd){if(comp.sd<0){comp.b=toNode;comp.a=fromNode}
542fade&&comps.push(comp.swap={t:fromNode.element,b:comp.b,a:comp.a,sd:comp.sd*-1,swap:comp})}
543el._flip=fromNode.element._flip=animation}else if(toNode.isVisible){comps.push({t:el,b:_copy(toNode,{isVisible:1}),a:toNode,sd:0});el._flip=animation}}
544props&&(_memoizedProps[props]||_memoizeProps(props)).forEach(function(p){return tweenVars[p]=function(i){return comps[i].a.props[p]}});comps.finalStates=finalStates=[];absolute&&_orderByDOMDepth(comps,!0).forEach(function(c){return(c.a.isVisible||c.b.isVisible)&&_makeAbsolute(c.sd<0?c.b:c.a,c.b)});_orderByDOMDepth(comps);for(i=0;i<comps.length;i++){comp=comps[i];el=comp.t;nested&&!(comp.sd<0)&&(comp.a.matrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(el,!1,!1,!0));if(comp.sd||comp.b.isVisible&&comp.a.isVisible){if(comp.sd<0){state=new ElementState(el,props,fromState.simple);_fit(state,comp.a,scale,0,0,state);state.matrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(el,!1,!1,!0);state.css=comp.b.css;comp.a=state;fade&&(el.style.opacity=interrupted?comp.b.opacity:comp.a.opacity);stagger&&swapOutTargets.push(el)}else if(comp.sd>0&&fade){el.style.opacity=interrupted?comp.a.opacity-comp.b.opacity:"0"}
545_fit(comp.a,comp.b,scale,props)}else{if(!comp.b.isVisible){comp.a.isVisible&&entering.push(comp.a);comps.splice(i--,1)}else if(!comp.a.isVisible){comp.b.css=comp.a.css;leaving.push(comp.b);comps.splice(i--,1);absolute&&nested&&_fit(comp.a,comp.b,scale,props)}}
546finalStates.push(comp.a)}
547if(scale){tweenVars.scaleX=function(i){return comps[i].a.scaleX};tweenVars.scaleY=function(i){return comps[i].a.scaleY}}else{tweenVars.width=function(i){return comps[i].a.width+"px"};tweenVars.height=function(i){return comps[i].a.height+"px"};tweenVars.autoRound=vars.autoRound||!1}
548tweenVars.x=function(i){return comps[i].a.x+"px"};tweenVars.y=function(i){return comps[i].a.y+"px"};tweenVars.rotation=function(i){return comps[i].a.rotation+(spin?spinFunc(i,targets[i],targets)*360:0)};tweenVars.skewX=function(i){return comps[i].a.skewX};targets=comps.map(function(c){return c.t});if(_zIndex||_zIndex===0){tweenVars.modifiers={zIndex:function zIndex(){return _zIndex}};tweenVars.zIndex=_zIndex;tweenVars.immediateRender=vars.immediateRender!==!1}
549fade&&(tweenVars.opacity=function(i){return comps[i].sd<0?0:comps[i].sd>0?comps[i].a.opacity:"+=0"});if(swapOutTargets.length){stagger=gsap.utils.distribute(stagger);var dummyArray=targets.slice(swapOutTargets.length);tweenVars.stagger=function(i,el){return stagger(~swapOutTargets.indexOf(el)?targets.indexOf(comps[i].swap.t):i,el,dummyArray)}}
550_callbacks.forEach(function(name){return vars[name]&&animation.eventCallback(name,vars[name],vars[name+"Params"])});if(custom&&targets.length){remainingProps=_copy(tweenVars,_reserved);if("scale" in custom){custom.scaleX=custom.scaleY=custom.scale;delete custom.scale}
551for(p in custom){v=_copy(custom[p],_fitReserved);v[p]=tweenVars[p];!("duration" in v)&&"duration" in tweenVars&&(v.duration=tweenVars.duration);v.stagger=tweenVars.stagger;addFunc.call(animation,targets,v,0);delete remainingProps[p]}}
552if(targets.length||leaving.length||entering.length){toggleClass&&animation.add(function(){return _toggleClass(targets,toggleClass,animation._zTime<0?"remove":"add")},0)&&!paused&&_toggleClass(targets,toggleClass,"add");targets.length&&addFunc.call(animation,targets,remainingProps,0)}
553_handleCallback(onEnter,entering,animation);_handleCallback(onLeave,leaving,animation);endTime=animation.duration();animation.call(function(){var forward=animation.time()>=endTime;forward&&_setFinalStates(comps,!clearProps);toggleClass&&_toggleClass(targets,toggleClass,forward?"remove":"add")});return animation},_createLookup=function _createLookup(state){var lookup=state.idLookup={},alt=state.alt={},elStates=state.elementStates,i=elStates.length,elState;while(i--){elState=elStates[i];lookup[elState.id]?alt[elState.id]=elState:lookup[elState.id]=elState}};var FlipState=function(){function FlipState(targets,vars,targetsAreElementStates){this.props=vars&&vars.props;this.simple=!!(vars&&vars.simple);if(targetsAreElementStates){this.targets=_elementsFromElementStates(targets);this.elementStates=targets;_createLookup(this)}else{this.targets=_toArray(targets);this.update(!vars||vars.clear!==!1)}}
554var _proto=FlipState.prototype;_proto.update=function update(clear){var _this=this;this.elementStates=this.targets.map(function(el){return new ElementState(el,_this.props,_this.simple)});_createLookup(this);this.killFlips(clear);this.recordInlineStyles();return this};_proto.fit=function fit(state,scale,nested){var elStatesInOrder=_orderByDOMDepth(this.elementStates.slice(0),!1,!0),toElStates=(state||this).idLookup,i=0,fromNode,toNode;for(;i<elStatesInOrder.length;i++){fromNode=elStatesInOrder[i];nested&&(fromNode.matrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(fromNode.element,!1,!1,!0));toNode=toElStates[fromNode.id];toNode&&_fit(fromNode,toNode,scale,!0,0,fromNode);fromNode.matrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(fromNode.element,!1,!1,!0)}
555return this};_proto.getProperty=function getProperty(element,property){var es=this.getElementState(element)||_emptyObj;return property in es?es[property]:(es.props||_emptyObj)[property]};_proto.recordInlineStyles=function recordInlineStyles(){var props=_memoizedRemoveProps[this.props]||_removeProps,i=this.elementStates.length;while(i--){_recordInlineStyles(this.elementStates[i],props)}};_proto.killFlips=function killFlips(clear){var found;this.targets.forEach(function(tl){tl=tl._flip;if(tl&&tl.progress()<1&&!tl.paused()){found=1;tl.vars.onInterrupt&&tl.vars.onInterrupt.apply(tl,tl.vars.onInterruptParams||[]);clear&&tl.progress(1);tl.kill()}});if(found&&clear){this.elementStates.forEach(function(es){var b=es.element.getBoundingClientRect();es.isVisible=b.width||b.height||b.top||b.left;es.uncache=1})}
556this.interrupted=!!found};_proto.getElementState=function getElementState(element){return this.elementStates[this.targets.indexOf(_getEl(element))]};_proto.makeAbsolute=function makeAbsolute(){return _orderByDOMDepth(this.elementStates.slice(0),!0,!0).map(_makeAbsolute)};return FlipState}();var ElementState=function(){function ElementState(element,props,simple){this.element=element;this.update(props,simple)}
557var _proto2=ElementState.prototype;_proto2.update=function update(props,simple){var element=this.element,getProp=gsap.getProperty(element),cache=gsap.core.getCache(element),bounds=element.getBoundingClientRect(),bbox=element.getBBox&&typeof element.getBBox==="function"&&element.nodeName.toLowerCase()!=="svg"&&element.getBBox(),m=simple?new _utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.Matrix2D(1,0,0,1,bounds.left+Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__._getDocScrollLeft)(),bounds.top+Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__._getDocScrollTop)()):Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(element,!1,!1,!0);this.getProp=getProp;this.element=element;this.id=_getID(element);this.matrix=m;this.cache=cache;this.bounds=bounds;this.isVisible=!!(bounds.width||bounds.height||bounds.left||bounds.top);this.display=getProp("display");this.position=getProp("position");this.isFixed=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__._isFixed)(element);this.parent=element.parentNode;this.x=getProp("x");this.y=getProp("y");this.scaleX=cache.scaleX;this.scaleY=cache.scaleY;this.rotation=getProp("rotation");this.skewX=getProp("skewX");this.opacity=getProp("opacity");this.width=bbox?bbox.width:_closestTenth(parseFloat(getProp("width","px"))+0.04);this.height=bbox?bbox.height:parseFloat(getProp("height","px"));props&&_recordProps(this,_memoizedProps[props]||_memoizeProps(props));this.ctm=_getCTMInverse(element);this.simple=simple||_round(m.a)===1&&!_round(m.b)&&!_round(m.c)&&_round(m.d)===1;this.uncache=0};return ElementState}();var Flip=function(){function Flip(){}
558Flip.getState=function getState(targets,vars){return _parseState(targets,typeof vars==="string"?{props:vars}:vars)};Flip.from=function from(state,vars){vars=vars||{};"clearProps" in vars||(vars.clearProps=!0);return _fromTo(state,_parseState(vars.targets||state.targets,{props:vars.props||state.props,simple:vars.simple,clear:!!vars.clear}),vars,-1)};Flip.to=function to(state,vars){return _fromTo(state,_parseState(vars.targets||state.targets,{props:vars.props||state.props,simple:vars.simple,clear:!!vars.clear}),vars,1)};Flip.fromTo=function fromTo(fromState,toState,vars){return _fromTo(fromState,toState,vars)};Flip.fit=function fit(fromEl,toEl,vars){if(!_bonusValidated){return}
559var v=vars?_copy(vars,_fitReserved):{},_ref=vars||v,absolute=_ref.absolute,scale=_ref.scale,getVars=_ref.getVars,props=_ref.props,runBackwards=_ref.runBackwards,onComplete=_ref.onComplete,simple=_ref.simple,fitChild=vars&&vars.fitChild&&_getEl(vars.fitChild),before=_parseElementState(toEl,props,simple,fromEl),after=_parseElementState(fromEl,0,simple,before),inlineProps=props?_memoizedRemoveProps[props]:_removeProps;props&&_applyProps(v,before.props);if(runBackwards){_recordInlineStyles(after,inlineProps);"immediateRender" in v||(v.immediateRender=!0);v.onComplete=function(){_applyInlineStyles(after);onComplete&&onComplete.apply(this,arguments)}}
560absolute&&_makeAbsolute(after,before);v=_fit(after,before,scale||fitChild,props,fitChild,v.duration||getVars?v:0);return getVars?v:v.duration?gsap.to(after.element,v):null};Flip.makeAbsolute=function makeAbsolute(targetsOrStates,vars){return(targetsOrStates instanceof FlipState?targetsOrStates:new FlipState(targetsOrStates,vars)).makeAbsolute()};Flip.isFlipping=function isFlipping(target){var f=Flip.getByTarget(target);return!!f&&f.isActive()};Flip.getByTarget=function getByTarget(target){return(_getEl(target)||_emptyObj)._flip};Flip.getElementState=function getElementState(target,props){return new ElementState(_getEl(target),props)};Flip.convertCoordinates=function convertCoordinates(fromElement,toElement,point){var m=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(toElement,!0,!0).multiply(Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__.getGlobalMatrix)(fromElement));return point?m.apply(point):m};Flip.register=function register(core){gsap=core;Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_0__._setDoc)(document.body||document.documentElement);_toArray=gsap.utils.toArray;_closestTenth=gsap.utils.snap(0.1)};return Flip}();Flip.version="3.7.1";typeof window!=="undefined"&&window.gsap&&window.gsap.registerPlugin(Flip)}),
vendor: 53,911 bytes, lines 560-677
560"./node_modules/gsap/GSDevTools.js":
561/*!*****************************************!*\
562  !*** ./node_modules/gsap/GSDevTools.js ***!
563  \*****************************************/
564/*! exports provided: GSDevTools, default */
565(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"GSDevTools",function(){return GSDevTools});__webpack_require__.d(__webpack_exports__,"default",function(){return GSDevTools});var _Draggable_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./Draggable.js */"./node_modules/gsap/Draggable.js");
566/*!
567 * GSDevTools 3.7.1
568 * https://greensock.com
569 *
570 * @license Copyright 2008-2021, GreenSock. All rights reserved.
571 * Subject to the terms at https://greensock.com/standard-license or for
572 * Club GreenSock members, the agreement issued with that membership.
573 * @author: Jack Doyle, [email protected]
574*/
575var gsap,_coreInitted,_doc,_docEl,_win,_recordedRoot,Animation,_rootTween,_rootInstance,_rootIsDirty,_keyboardInstance,_globalTimeline,_independentRoot,_delayedCall,_recording=!0,_startupPhase=!0,_globalStartTime=0,_windowExists=function _windowExists(){return typeof window!=="undefined"},_getGSAP=function _getGSAP(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isString=function _isString(value){return typeof value==="string"},_isFunction=function _isFunction(value){return typeof value==="function"},_isObject=function _isObject(value){return typeof value==="object"},_isUndefined=function _isUndefined(value){return typeof value==="undefined"},_bonusValidated=1,_svgNS="http://www.w3.org/2000/svg",_domNS="http://www.w3.org/1999/xhtml",_idSeed=0,_lookup={},_supportsStorage=function(){try{sessionStorage.setItem("gsTest","1");sessionStorage.removeItem("gsTest");return!0}catch(e){return!1}}(),_parseAnimation=function _parseAnimation(animationOrId){return animationOrId instanceof Animation?animationOrId:animationOrId?gsap.getById(animationOrId):null},_createElement=function _createElement(type,container,cssText){var element=_doc.createElementNS?_doc.createElementNS(type==="svg"?_svgNS:_domNS,type):_doc.createElement(type);if(container){if(_isString(container)){container=_doc.querySelector(container)}
576container.appendChild(element)}
577if(type==="svg"){element.setAttribute("xmlns",_svgNS);element.setAttribute("xmlns:xlink",_domNS)}
578cssText&&(element.style.cssText=cssText);return element},_clearSelection=function _clearSelection(){if(_doc.selection){_doc.selection.empty()}else if(_win.getSelection){_win.getSelection().removeAllRanges()}},_getChildrenOf=function _getChildrenOf(timeline,includeTimelines){var a=[],cnt=0,Tween=gsap.core.Tween,tween=timeline._first;while(tween){if(tween instanceof Tween){if(tween.vars.id){a[cnt++]=tween}}else{if(includeTimelines&&tween.vars.id){a[cnt++]=tween}
579a=a.concat(_getChildrenOf(tween,includeTimelines));cnt=a.length}
580tween=tween._next}
581return a},_getClippedDuration=function _getClippedDuration(animation,excludeRootRepeats){var max=0,repeat=Math.max(0,animation._repeat),t=animation._first;if(!t){max=animation.duration()}
582while(t){max=Math.max(max,t.totalDuration()>999?t.endTime(!1):t._start+t._tDur/t._ts);t=t._next}
583return!excludeRootRepeats&&repeat?max*(repeat+1)+animation._rDelay*repeat:max},_globalizeTime=function _globalizeTime(animation,rawTime){var a=animation,time=arguments.length>1?+rawTime:a.rawTime();while(a){time=a._start+time/(a._ts||1);a=a.parent}
584return time},_timeToProgress=function _timeToProgress(time,animation,defaultValue,relativeProgress){var add,i,a;if(_isString(time)){if(time.charAt(1)==="="){add=parseInt(time.charAt(0)+"1",10)*parseFloat(time.substr(2));if(add<0&&relativeProgress===0){relativeProgress=100}
585time=relativeProgress/100*animation.duration()+add}else if(isNaN(time)&&animation.labels&&animation.labels[time]!==-1){time=animation.labels[time]}else if(animation===_recordedRoot){i=time.indexOf("=");if(i>0){add=parseInt(time.charAt(i-1)+"1",10)*parseFloat(time.substr(i+1));time=time.substr(0,i-1)}else{add=0}
586a=gsap.getById(time);if(a){time=_globalizeTime(a,defaultValue/100*a.duration())+add}}}
587time=isNaN(time)?defaultValue:parseFloat(time);return Math.min(100,Math.max(0,time/animation.duration()*100))},_addedCSS,_createRootElement=function _createRootElement(element,minimal,css){if(!_addedCSS){_createElement("style",_docEl).innerHTML='.gs-dev-tools{height:51px;bottom:0;left:0;right:0;display:block;position:fixed;overflow:visible;padding:0}.gs-dev-tools *{box-sizing:content-box;visibility:visible}.gs-dev-tools .gs-top{position:relative;z-index:499}.gs-dev-tools .gs-bottom{display:flex;align-items:center;justify-content:space-between;background-color:rgba(0,0,0,.6);height:42px;border-top:1px solid #999;position:relative}.gs-dev-tools .timeline{position:relative;height:8px;margin-left:15px;margin-right:15px;overflow:visible}.gs-dev-tools .progress-bar,.gs-dev-tools .timeline-track{height:8px;width:100%;position:absolute;top:0;left:0}.gs-dev-tools .timeline-track{background-color:#999;opacity:.6}.gs-dev-tools .progress-bar{background-color:#91e600;height:8px;top:0;width:0;pointer-events:none}.gs-dev-tools .seek-bar{width:100%;position:absolute;height:24px;top:-12px;left:0;background-color:transparent}.gs-dev-tools .in-point,.gs-dev-tools .out-point{width:15px;height:26px;position:absolute;top:-18px}.gs-dev-tools .in-point-shape{fill:#6d9900;stroke:rgba(0,0,0,.5);stroke-width:1}.gs-dev-tools .out-point-shape{fill:#994242;stroke:rgba(0,0,0,.5);stroke-width:1}.gs-dev-tools .in-point{transform:translateX(-100%)}.gs-dev-tools .out-point{left:100%}.gs-dev-tools .grab{stroke:rgba(255,255,255,.3);stroke-width:1}.gs-dev-tools .playhead{position:absolute;top:-5px;transform:translate(-50%,0);left:0;border-radius:50%;width:16px;height:16px;border:1px solid #6d9900;background-color:#91e600}.gs-dev-tools .gs-btn-white{fill:#fff}.gs-dev-tools .pause{opacity:0}.gs-dev-tools .select-animation{vertical-align:middle;position:relative;padding:6px 10px}.gs-dev-tools .select-animation-container{flex-grow:4;width:40%}.gs-dev-tools .select-arrow{display:inline-block;width:12px;height:7px;margin:0 7px;transform:translate(0,-2px)}.gs-dev-tools .select-arrow-shape{stroke:rgba(255,255,255,.6);stroke-width:2px;fill:none}.gs-dev-tools .rewind{height:16px;width:19px;padding:10px 4px;min-width:24px}.gs-dev-tools .rewind-path{opacity:.6}.gs-dev-tools .play-pause{width:24px;height:24px;padding:6px 10px;min-width:24px}.gs-dev-tools .ease{width:30px;height:30px;padding:10px;min-width:30px;display:none}.gs-dev-tools .ease-path{fill:none;stroke:rgba(255,255,255,.6);stroke-width:2px}.gs-dev-tools .ease-border{fill:rgba(255,255,255,.25)}.gs-dev-tools .time-scale{font-family:monospace;font-size:18px;text-align:center;color:rgba(255,255,255,.6);padding:4px 4px 4px 0;min-width:30px;margin-left:7px}.gs-dev-tools .loop{width:20px;padding:5px;min-width:20px}.gs-dev-tools .loop-path{fill:rgba(255,255,255,.6)}.gs-dev-tools label span{color:#fff;font-family:monospace;text-decoration:none;font-size:16px;line-height:18px}.gs-dev-tools .time-scale span{color:rgba(255,255,255,.6)}.gs-dev-tools button:focus,.gs-dev-tools select:focus{outline:0}.gs-dev-tools label{position:relative;cursor:pointer}.gs-dev-tools label.locked{text-decoration:none;cursor:auto}.gs-dev-tools label input,.gs-dev-tools label select{position:absolute;left:0;top:0;z-index:1;font:inherit;font-size:inherit;line-height:inherit;height:100%;width:100%;color:#000!important;opacity:0;background:0 0;border:none;padding:0;margin:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:pointer}.gs-dev-tools label input+.display{position:relative;z-index:2}.gs-dev-tools .gs-bottom-right{vertical-align:middle;display:flex;align-items:center;flex-grow:4;width:40%;justify-content:flex-end}.gs-dev-tools .time-container{font-size:18px;font-family:monospace;color:rgba(255,255,255,.6);margin:0 5px}.gs-dev-tools .logo{width:32px;height:32px;position:relative;top:2px;margin:0 12px}.gs-dev-tools .gs-hit-area{background-color:transparent;width:100%;height:100%;top:0;position:absolute}.gs-dev-tools.minimal{height:auto;display:flex;align-items:stretch}.gs-dev-tools.minimal .gs-top{order:2;flex-grow:4;background-color:rgba(0,0,0,1)}.gs-dev-tools.minimal .gs-bottom{background-color:rgba(0,0,0,1);border-top:none}.gs-dev-tools.minimal .timeline{top:50%;transform:translate(0,-50%)}.gs-dev-tools.minimal .in-point,.gs-dev-tools.minimal .out-point{display:none}.gs-dev-tools.minimal .select-animation-container{display:none}.gs-dev-tools.minimal .rewind{display:none}.gs-dev-tools.minimal .play-pause{width:20px;height:20px;padding:4px 6px;margin-left:14px}.gs-dev-tools.minimal .time-scale{min-width:26px}.gs-dev-tools.minimal .loop{width:18px;min-width:18px;display:none}.gs-dev-tools.minimal .gs-bottom-right{display:none}@media only screen and (max-width:600px){.gs-dev-tools{height:auto;display:flex;align-items:stretch}.gs-dev-tools .gs-top{order:2;flex-grow:4;background-color:rgba(0,0,0,1);height:42px}.gs-dev-tools .gs-bottom{background-color:rgba(0,0,0,1);border-top:none}.gs-dev-tools .timeline{top:50%;transform:translate(0,-50%)}.gs-dev-tools .in-point,.gs-dev-tools .out-point{display:none}.gs-dev-tools .select-animation-container{display:none}.gs-dev-tools .rewind{display:none}.gs-dev-tools .play-pause{width:20px;height:20px;padding:4px 6px;margin-left:14px}.gs-dev-tools .time-scale{min-width:26px}.gs-dev-tools .loop{width:18px;min-width:18px;display:none}.gs-dev-tools .gs-bottom-right{display:none}}';_addedCSS=!0}
588if(_isString(element)){element=_doc.querySelector(element)}
589var root=_createElement("div",element||_docEl.getElementsByTagName("body")[0]||_docEl);root.setAttribute("class","gs-dev-tools"+(minimal?" minimal":""));root.innerHTML='<div class=gs-hit-area></div><div class=gs-top><div class=timeline><div class=timeline-track></div><div class=progress-bar></div><div class=seek-bar></div><svg class=in-point viewBox="0 0 15 26" xmlns=http://www.w3.org/2000/svg><polygon class=in-point-shape points=".5 .5 14.5 .5 14.5 25.5 .5 17.5"/><polyline class=grab points="5.5 4 5.5 15"/><polyline class=grab points="9.5 4 9.5 17"/></svg><svg class=out-point viewBox="0 0 15 26" xmlns=http://www.w3.org/2000/svg><polygon class=out-point-shape points=".5 .5 14.5 .5 14.5 17.5 .5 25.5"/><polyline class=grab points="5.5 4 5.5 17"/><polyline class=grab points="9.5 4 9.5 15"/></svg><div class=playhead></div></div></div><div class=gs-bottom><div class=select-animation-container><label class=select-animation><select class=animation-list><option>Global Timeline<option>myTimeline</select><nobr><span class="display animation-label">Global Timeline</span><svg class=select-arrow viewBox="0 0 12.05 6.73" xmlns=http://www.w3.org/2000/svg><polyline class=select-arrow-shape points="0.35 0.35 6.03 6.03 11.7 0.35"/></svg></nobr></label></div><svg class=rewind viewBox="0 0 12 15.38" xmlns=http://www.w3.org/2000/svg><path d=M0,.38H2v15H0Zm2,7,10,7.36V0Z class="gs-btn-white rewind-path"/></svg><svg class=play-pause viewBox="0 0 20.97 25.67" xmlns=http://www.w3.org/2000/svg><g class=play><path d="M8,4.88 C8,10.18 8,15.48 8,20.79 5.33,22.41 2.66,24.04 0,25.67 0,17.11 0,8.55 0,0 2.66,1.62 5.33,3.25 8,4.88" class="gs-btn-white play-1" style=stroke:#fff;stroke-width:.6px /><path d="M14.485,8.855 C16.64,10.18 18.8,11.5 20.97,12.83 16.64,15.48 12.32,18.13 8,20.79 8,15.48 8,10.18 8,4.88 10.16,6.2 12.32,7.53 14.48,8.85" class="gs-btn-white play-2" style=stroke:#fff;stroke-width:.6px /></g></svg> <svg class=loop viewBox="0 0 29 25.38" xmlns=http://www.w3.org/2000/svg><path d=M27.44,5.44,20.19,0V3.06H9.06A9.31,9.31,0,0,0,0,12.41,9.74,9.74,0,0,0,.69,16l3.06-2.23a6,6,0,0,1-.12-1.22,5.49,5.49,0,0,1,5.43-5.5H20.19v3.81Z class=loop-path /><path d=M25.25,11.54a5.18,5.18,0,0,1,.12,1.12,5.41,5.41,0,0,1-5.43,5.41H9.19V14.5L1.94,19.94l7.25,5.44V22.06H19.94A9.2,9.2,0,0,0,29,12.84a9.42,9.42,0,0,0-.68-3.53Z class=loop-path /></svg> <svg class=ease viewBox="0 0 25.67 25.67" xmlns=http://www.w3.org/2000/svg><path d=M.48,25.12c1.74-3.57,4.28-12.6,8.8-10.7s4.75,1.43,6.5-1.11S19.89,1.19,25.2.55 class=ease-path /><path d=M24.67,1V24.67H1V1H24.67m1-1H0V25.67H25.67V0Z class=ease-border /></svg><label class=time-scale><select><option value=10>10x<option value=5>5x<option value=2>2x<option value=1 selected>1x<option value=0.5>0.5x<option value=0.25>0.25x<option value=0.1>0.1x</select><span class="display time-scale-label">1x</span></label><div class=gs-bottom-right><div class=time-container><span class=time>0.00</span> / <span class=duration>0.00</span></div><a href="https://greensock.com/docs/v3/Plugins/GSDevTools?source=GSDevTools" target=_blank title=Docs><svg class=logo viewBox="0 0 100 100" xmlns=http://www.w3.org/2000/svg><path d="M60 15.4c-.3-.4-.5-.6-.5-.7.1-.6.2-1 .2-1.7v-.4c.6.6 1.3 1.3 1.8 1.7.2.2.5.3.8.3.2 0 .3 0 .5.1h1.6c.8 0 1.6.1 2 0 .1 0 .2 0 .3-.1.6-.3 1.4-1 2.1-1.6 0 .6.1 1.2.1 1.7v1.5c0 .3 0 .5.1.7-.1.1-.2.1-.4.2-.7.4-1.7 1-2.3.9-.5-.1-1.5-.3-2.6-.7-1.2-.3-2.4-.8-3.2-1.2 0 0-.1 0-.1-.1s-.2-.4-.4-.6zm24.6 21.9c-.5-1.7-1.9-2-4.2-.7.9-1.5 2.1-1.5 2.3-2.1.9-2.5-.6-4.6-1.2-5.3.7-1.8 1.4-4.5-1-6.8-1-1-2.4-1.2-3.6-1.1 1.8 1.7 3.4 4.4 2.5 7.2-.1.3-.9.7-1.7 1 0 0 .4 2-.3 3.5-.3.6-.8 1.5-1.3 2.6 1 .9 1.6 1 3 1.3-.9.1-1.2.4-1.2.5-.7 3 1 3.4 1.4 4.8 0 .1 0 .2.1.3v.4c-.3.3-1.4.5-2.5.5s-1.8 1-1.8 1c-.2.1-.3.3-.4.4v1c0 .1 0 .4.1.6.1.5.3 1.3.4 1.8.9.6 1.4.9 2.2 1.1.5.1 1 .2 1.5.1.3-.1.7-.3 1-.7 1.5-1.7 1.9-3.2 2.2-4.1 0-.1 0-.2.1-.2 0 .1.1.1.1.2 0 0 .1-.1.1-.2l.1-.1c1.3-1.6 2.9-4.5 2.1-7zM74.3 49.9c-.1-.3-.1-.7-.2-1.1v-.2c-.1-.2-.1-.4-.2-.6 0-.1-.1-.3-.1-.5s-.1-.5-.1-.7v-.1c0-.2-.1-.5-.1-.7-.1-.3-.1-.7-.2-1.1v-.1c0-.2 0-.3-.1-.5v-.9c0-.1 0-.2.1-.3V43h-.3c-1.1.1-3.8.4-6.7.2-1.2-.1-2.4-.3-3.6-.6-1-.3-1.8-.5-2.3-.7-1.2-.4-1.6-.6-1.8-.7 0 .2-.1.4-.1.7 0 .3-.1.5-.1.8-.1.2-.1.4-.2.6l.1.1c.5.5 1.5 1.3 1.5 2.1v.2c-.1.4-.4.5-.8.9-.1.1-.6.7-1.1 1.1l-.6.6c-.1 0-.1.1-.2.1-.1.1-.3.2-.4.3-.2.1-.7.5-.8.6-.1.1-.2.1-.3.1-2.8 8.8-2.2 13.5-1.5 16.1.1.5.3 1 .4 1.3-.4.5-.8 1-1.2 1.4-1.2 1.5-2 2.6-2.6 4.2 0 .1 0 .1-.1.2 0 .1 0 .2-.1.2-.2.5-.3 1-.4 1.5-.6 2.3-.8 4.5-.9 6.6-.1 2.4-.2 4.6-.5 6.9.7.3 3.1.9 4.7.6.2-.1 0-3.9.6-5.7l.6-1.5c.4-.9.9-1.9 1.3-3.1.3-.7.5-1.5.7-2.4.1-.5.2-1 .3-1.6V74v-.1c.1-.6.1-1.3.1-2 0-.2-.7.3-1.1.9.3-1.8 1.3-2.1 2-3.2.3-.5.6-1.1.6-2 2.5-1.7 4-3.7 5-5.7.2-.4.4-.9.6-1.4.3-.8.5-1.6.7-2.4.3-1.4.8-3.2 1.2-4.8v-.1c.4-1.2.8-2.2 1.2-2.6-.2.9-.4 1.7-.6 2.5v.2c-.6 3.5-.7 6.2-2 9.2 1 2.6 1.9 3.9 2 7.6-2 0-3.2 1.6-3.7 3.2 1.2.3 3.9.7 8.3.1h.3c.1-.5.3-1.1.5-1.5.3-.8.5-1.5.6-2.2.2-1.3.1-2.4 0-3.2 3.9-3.7 2.6-11 1.6-16.6zm.3-15.1c.1-.3.2-.6.4-.8.2-.3.3-.7.5-1 .1-.3.3-.6.4-.9.5-1.5.4-2.8.3-3.5-.1 0-.1-.1-.2-.1-.5-.2-.9-.4-1.4-.6-.1 0-.2-.1-.3-.1-3.8-1.2-7.9-.9-11.9.1-1 .2-1.9.5-2.9.1-2.3-.8-3.9-1.9-4.6-2.8l-.2-.2c-.1.2-.2.4-.4.6.2 2.3-.5 3.9-1.4 5.1.9 1.2 2.6 2.8 3.6 3.4 1.1.6 1.7.7 3.4.4-.6.7-1.1 1-1.9 1.4.1.7.2 2 .5 3.4.3.3 1.2.8 2.3 1.3.5.3 1.1.5 1.7.7.8.3 1.7.6 2.4.8.1 0 .2.1.3.1.5.1 1.1.2 1.8.2h.9c2.1 0 4.5-.2 5.4-.3h.1c-.1-2.7.2-4.6.7-6.2.2-.3.4-.7.5-1.1zm-23.2 9.3v.2c-.3 1.7.5 2.4 1.9 3.4.6.5 0 .5.5.8.3.2.7.3 1 .3.3 0 .5 0 .8-.1.2-.1.4-.3.6-.5.1-.1.3-.2.5-.4.3-.2.6-.5.7-.6.1-.1.2-.1.3-.2.2-.2.5-.5.6-.7.2-.2.4-.5.5-.7 0-.1.1-.1.1-.1v-.1c.1-.4-.3-.8-.8-1.3-.2-.2-.4-.3-.5-.5-.3-.3-.6-.5-1-.7-.9-.5-1.9-.7-3-.7l-.3-.3c-2.2-2.5-3.2-4.8-3.9-6.5-.9-2.1-1.9-3.3-3.9-4.9 1 .4 1.8.8 2.3 1.1.5.4 1.3.4 1.9.2.2-.1.5-.2.7-.3.2-.1.4-.2.6-.4 1.6-1.3 2.5-3.8 2.6-5.6v-.1c.2-.3.6-1.1.8-1.4l.1.1c.1.1.3.2.6.5.1 0 .1.1.2.1.1.1.2.1.2.2.8.6 1.9 1.3 2.6 1.7 1.4.7 2.3.7 5.3-.1 2.2-.6 4.8-.8 6.8-.8 1.4 0 2.7.3 4 .7.2.1.4.1.5.2.3.1.6.2.9.4 0 0 .1 0 .1.1.8.4 2.1 1.2 2.5-.3.1-2-.6-3.9-1.6-5.3 0 0-.1 0-.1-.1-.1-.1-.2-.2-.4-.3-.1-.1-.2-.1-.3-.2-.1-.1-.2-.2-.4-.2-.6-.4-1.2-.8-1.6-.9-.1-.1-.3-.1-.4-.2h-.1-.1c-.1 0-.3-.1-.4-.1-.1 0-.1 0-.2-.1h-.1l-.2-.4c-.2-.1-.4-.2-.5-.2h-.6c-.3 0-.5.1-.7.1-.7.1-1.2.3-1.7.4-.2 0-.3.1-.5.1-.5.1-1 .2-1.6.2-.4 0-.9-.1-1.5-.2-.4-.1-.8-.2-1.1-.3-.2-.1-.4-.1-.6-.2-.6-.2-1.1-.3-1.7-.4h-.2-1.8c-.3 0-.6.1-1 .1H57.9c-.8 0-1.5 0-2.3-.1-.2 0-.5-.1-.7-.1-.5-.1-.9-.2-1.3-.4-.2-.1-.3-.1-.4-.2-.1 0-.2 0-.2-.1-.3-.1-.6-.1-.9-.1H51h-.1c-.4 0-.9.1-1.4.2-1.1.2-2.1.6-3 1.3-.3.2-.6.5-.8.8-.1.1-.2.2-.2.3-.4.6-.8 1.2-.9 2 0 .2-.1.4-.1.6 0 .2 1.7.7 2.3 2.8-.8-1.2-2.3-2.5-4.1-1.4-1.5 1-1.1 3.1-2.4 5.4-.3.5-.6.9-1 1.4-.8 1-.7 2.1.2 4.4 1.4 3.4 7.6 5.3 11.5 8.3l.4.4zm8.7-36.3c0 .6.1 1 .2 1.6v.1c0 .3.1.6.1.9.1 1.2.4 2 1 2.9 0 .1.1.1.1.2.3.2.5.3.8.4 1.1.2 3.1.3 4.2 0 .2-.1.5-.3.7-.5.4-.4.7-1.1.9-1.7.1-.7.3-1.3.4-1.8 0-.2.1-.4.1-.5v-.1c0-.2 0-.3.1-.5.2-.7.2-2.4.3-2.8.1-.7 0-1.8-.1-2.5 0-.2-.1-.4-.1-.5v-.1c-.2-.5-1.4-1.4-4.3-1.4-3.1 0-4 1-4.1 1.5v.1c0 .1 0 .3-.1.5-.1.4-.2 1.4-.2 1.9v2.3zm-6 88.6c0-.1-.1-.2-.1-.3-.7-1.5-1.1-3.5-1.3-4.6.4.1.7.6.8.3.2-.5-.4-1.5-.5-2.2v-.1c-.5-.5-4-.5-3.7-.3-.4.8-1 .6-1.3 2.1-.1.7.8.1 1.7.1-1.4.9-3 2.1-3.4 3.2-.1.1-.1.2-.1.3 0 .2-.1.4-.1.5-.1 1.2.5 1.6 2 2.4H48.4c1.4.3 3 .3 4.3.3 1.2-.2 1.6-.7 1.6-1.4-.2-.1-.2-.2-.2-.3z" style=fill:#efefef /><path d="M56.1 36.5c.3 1.4.5 2.4.8 4.2h-.2c-.1.5-.1.9-.1 1.3-1-.4-2.2-.5-2.6-.5-3.7-4.4-2.9-6.1-4.4-8.3.4-.2 1-.4 1.5-.8 1.6 1.9 3.3 3 5 4.1zm-1.7 13.2s-1.4 0-2.3-1c0 0-.1-.5.1-.7 0 0-1.2-1-1.5-1.7-.2-.5-.3-1.1-.2-1.6-4.4-3.7-10.9-4.2-12.9-9.1-.5-1.2-1.3-2.9-.9-3.9-.3.1-.5.2-.8.3-2.9.9-11.7 5.3-17.9 8.8 1.6 1.7 2.6 4.3 3.2 7.2l.3 1.5c.1.5.1 1 .2 1.5.1 1.4.4 2.7.8 3.9.2.8.6 1.5.9 2.2.6 1 1.2 1.9 2.1 2.6.6.5 1.2.9 1.9 1.3 2.1 1.1 5 1.6 8.6 1.5H37.9c.5 0 1 .1 1.5.1h.1c.4.1.9.1 1.3.2h.2c.4.1.9.2 1.3.4h.1c.4.1.8.3 1.1.5h.1c.4.2.7.4 1.1.6h.1c.7.4 1.3.9 1.9 1.5l.1.1c.6.5 1.1 1.1 1.5 1.8 0 .1.1.1.1.2s.1.1.1.2c.4.6 1.2 1.1 1.9 1.3.7-.9 1.5-1.8 2.2-2.8-1.6-6 0-11.7 1.8-16.9zm-26-15.9c5-2.4 9-4.1 9.9-4.5.3-.6.6-1.4.9-2.6.1-.3.2-.5.3-.8 1-2.7 2.7-2.8 3.5-3v-.2c.1-1.1.5-2 1-2.8-8.8 2.5-18 5.5-28 11.7-.1.1-.2.2-.4.2C11.3 34.5 3 40.3 1.3 51c2.4-2.7 6-5.6 10.5-8.5.1-.1.3-.2.5-.3.2-.1.5-.3.7-.4 1.2-.7 2.4-1.4 3.6-2.2 2.2-1.2 4.5-2.4 6.7-3.5 1.8-.8 3.5-1.6 5.1-2.3zm54.9 61.3l-.3-.3c-.8-.6-4.1-1.2-5.5-2.3-.4-.3-1.1-.7-1.7-1.1-1.6-.9-3.5-1.8-3.5-2.1v-.1c-.2-1.7-.2-7 .1-8.8.3-1.8.7-4.4.8-5.1.1-.6.5-1.2.1-1.2h-.4c-.2 0-.4.1-.8.1-1.5.3-4.3.6-6.6.4-.9-.1-1.6-.2-2-.3-.5-.1-.7-.2-.9-.3H62.3c-.4.5 0 2.7.6 4.8.3 1.1.8 2 1.2 3 .3.8.6 1.8.8 3.1 0 .2.1.4.1.7.2 2.8.3 3.6-.2 4.9-.1.3-.3.6-.4 1-.4.9-.7 1.7-.6 2.3 0 .2.1.4.1.5.2.4.6.7 1.2.8.2 0 .3.1.5.1.3 0 .6.1.9.1 3.4 0 5.2 0 8.6.4 2.5.4 3.9.6 5.1.5.4 0 .9-.1 1.4-.1 1.2-.2 1.8-.5 1.9-.9-.1.2-.1.1-.2-.1zM60.2 16.4zm-.5 1.7zm3.8.5c.1 0 .3.1.5.1.4.1.7.2 1.2.3.3.1.6.1.9.1h1.3c.3-.1.7-.1 1-.2.7-.2 1.5-.4 2.7-.6h.3c.3 0 .6.1.9.3.1.1.2.1.4.2.3.2.8.2 1.2.4h.1c.1 0 .1.1.2.1.6.3 1.3.7 1.9 1.1l.3.3c.9-.1 1.6-.2 2.1-.2h.1c-.2-.4-.3-1.3-1.8-.6-.6-.7-.8-1.3-2.1-.9-.1-.2-.2-.3-.3-.4l-.1-.1c-.1-.1-.2-.3-.3-.4 0-.1-.1-.1-.1-.2-.2-.3-.5-.5-.9-.7-.7-.4-1.5-.6-2.3-.5-.2 0-.4.1-.6.2-.1 0-.2.1-.2.1-.1 0-.2.1-.3.2-.5.3-1.3.8-2.1 1-.1 0-.1 0-.2.1-.2 0-.4.1-.5.1H66.5h-.1c-.4-.1-1.1-.2-2-.5-.1 0-.2-.1-.3-.1-.9-.2-1.8-.5-2.7-.8-.3-.1-.7-.2-1-.3-.1 0-.1 0-.2-.1h-.1s-.1 0-.1-.1c-.3-.3-.7-.6-1.3-.8-.5-.2-1.2-.4-2.1-.5-.2 0-.5 0-.7.1-.4.2-.8.6-1.2.9.1.1.3.3.4.5.1.2.2.4.3.7l-.6-.6c-.5-.4-1.1-.8-1.7-.9-.8-.2-1.4.4-2.3.9 1 0 1.8.1 2.5.4.1 0 .1 0 .2.1h.1c.1 0 .2.1.3.1.9.4 1.8.6 2.7.6h1.3c.5 0 .8-.1 1.1-.1.1 0 .4 0 .7-.1h2.2c.4.4.9.6 1.6.8z" style=fill:#88ce02 /><path d="M100 51.8c0-19.5-12.5-36.1-30-42.1.1-1.2.2-2.4.3-3.1.1-1.5.2-3.9-.5-4.9-1.6-2.3-9.1-2.1-10.5-.1-.4.6-.7 3.6-.6 5.9-1.1-.1-2.2-.1-3.3-.1-16.5 0-30.9 9-38.6 22.3-2.4 1.4-4.7 2.8-6.1 4C5.4 38 2.2 43.2 1 47c-1.6 4.7-1.1 7.6.4 5.8 1.2-1.5 6.6-5.9 10.1-8.2-.4 2.3-.6 4.8-.6 7.2 0 21 14.5 38.5 34 43.3-.1 1.1.1 2 .7 2.6.9.8 3.2 2 6.4 1.6 2.9-.3 3.5-.5 3.2-2.9h.2c2.7 0 5.3-.2 7.8-.7.1.1.2.2.4.3 1.5 1 7.1.8 9.6.7s6.2.9 8.6.5c2.9-.5 3.4-2.3 1.6-3.2-1.5-.8-3.8-1.3-6.7-3.1C90.6 83.4 100 68.7 100 51.8zM60.1 5.5c0-.5.1-1.5.2-2.1 0-.2 0-.4.1-.5v-.1c.1-.5 1-1.5 4.1-1.5 2.9 0 4.2.9 4.3 1.4v.1c0 .1 0 .3.1.5.1.8.2 1.9.1 2.7 0 .5-.1 2.1-.2 2.9 0 .1 0 .3-.1.5v.1c0 .2-.1.3-.1.5-.1.5-.2 1.1-.4 1.8-.1.6-.5 1.2-.9 1.7-.2.3-.5.5-.7.5-1.1.3-3.1.3-4.2 0-.3-.1-.5-.2-.8-.4 0-.1-.1-.1-.1-.2-.6-.9-.9-1.7-1-2.9 0-.4-.1-.6-.1-.9v-.1c-.1-.6-.2-1-.2-1.6v-.3c-.1-1.3-.1-2.1-.1-2.1zm-.4 7.5v-.4c.6.6 1.3 1.3 1.8 1.7.2.2.5.3.8.3.2 0 .3 0 .5.1h1.6c.8 0 1.6.1 2 0 .1 0 .2 0 .3-.1.6-.3 1.4-1 2.1-1.6 0 .6.1 1.2.1 1.7v1.5c0 .3 0 .5.1.7-.1.1-.2.1-.4.2-.7.4-1.7 1-2.3.9-.5-.1-1.5-.3-2.6-.7-1.2-.3-2.4-.8-3.2-1.2 0 0-.1 0-.1-.1-.2-.3-.4-.5-.6-.7-.3-.4-.5-.6-.5-.7.3-.4.4-.9.4-1.6zm.5 3.4zm-7.3-.3c.6.1 1.2.5 1.7.9.2.2.5.4.6.6-.1-.2-.2-.5-.3-.7-.1-.2-.3-.4-.4-.5.4-.3.8-.7 1.2-.9.2-.1.4-.1.7-.1.9.1 1.6.2 2.1.5.6.2 1 .5 1.3.8 0 0 .1 0 .1.1h.1c.1 0 .1 0 .2.1.3.1.6.2 1 .3.9.3 1.9.6 2.7.8.1 0 .2.1.3.1.9.2 1.6.4 2 .5h.4c.2 0 .4 0 .5-.1.1 0 .1 0 .2-.1.7-.2 1.5-.7 2.1-1 .1-.1.2-.1.3-.2.1 0 .2-.1.2-.1.2-.1.4-.2.6-.2.8-.2 1.7.1 2.3.5.3.2.6.4.9.7 0 .1.1.1.1.2.1.2.2.3.3.4l.1.1c.1.1.2.2.3.4 1.3-.4 1.5.2 2.1.9 1.6-.7 1.7.2 1.8.6h-.1c-.5 0-1.2 0-2.1.2l-.3-.3c-.5-.4-1.2-.8-1.9-1.1-.1 0-.1-.1-.2-.1h-.1c-.4-.2-.8-.2-1.2-.4-.1-.1-.2-.1-.4-.2-.3-.1-.6-.3-.9-.3h-.3c-1.2.1-2 .4-2.7.6-.3.1-.7.2-1 .2-.4.1-.8.1-1.3 0-.3 0-.6-.1-.9-.1-.5-.1-.8-.2-1.2-.3-.2 0-.3-.1-.5-.1h-.1c-.6-.2-1.2-.3-1.8-.4h-.1-2.1c-.4.1-.6.1-.7.1-.3 0-.7.1-1.1.1h-1.3c-.9 0-1.9-.2-2.7-.6-.1 0-.2-.1-.3-.1H53c-.1 0-.1 0-.2-.1-.7-.3-1.6-.4-2.5-.4 1.2-.8 1.8-1.4 2.6-1.3zm6.8 2zm-15.2 4.1c.1-.7.4-1.4.9-2 .1-.1.2-.2.2-.3l.8-.8c.9-.6 1.9-1.1 3-1.3.5-.1 1-.2 1.4-.2H52c.3 0 .6.1.9.1.1 0 .2 0 .2.1.1.1.2.1.4.2.4.2.8.3 1.3.4.2 0 .5.1.7.1.7.1 1.5.1 2.3.1H58.7c.4 0 .7-.1 1-.1H61.7c.6.1 1.1.2 1.7.4.2 0 .4.1.6.2.3.1.7.2 1.1.3.6.1 1.1.2 1.5.2.6 0 1.1-.1 1.6-.2.2 0 .3-.1.5-.1.5-.1 1-.3 1.7-.4.2 0 .5-.1.7-.1h.6c.2 0 .4.1.5.2l.1.1h.1c.1 0 .1 0 .2.1.2.1.3.1.4.1h.2c.1.1.3.1.4.2.4.2 1 .6 1.6.9.1.1.2.2.4.2.1.1.2.1.3.2.2.1.3.3.4.3l.1.1c1.1 1.4 1.8 3.3 1.6 5.3-.3 1.5-1.6.7-2.5.3 0 0-.1 0-.1-.1-.3-.1-.6-.2-.9-.4-.2-.1-.4-.1-.5-.2-1.2-.4-2.5-.7-4-.7-2 0-4.6.1-6.8.8-3 .8-4 .8-5.3.1-.8-.4-1.8-1.1-2.6-1.7-.1-.1-.2-.1-.2-.2-.1-.1-.1-.1-.2-.1-.3-.2-.6-.4-.6-.5l-.1-.1c-.2.3-.6 1-.8 1.4v.1c-.1 1.7-1 4.2-2.6 5.6-.2.1-.4.3-.6.4-.2.1-.5.2-.7.3-.7.2-1.4.2-1.9-.2-.5-.3-1.3-.7-2.3-1.1 2 1.6 3 2.8 3.9 4.9.7 1.7 1.7 4 3.9 6.5l.3.3c1.1 0 2.1.2 3 .7.4.2.7.4 1 .7.2.2.4.3.5.5.5.4.9.8.8 1.3v.1s0 .1-.1.1c-.1.2-.3.5-.5.7-.1.1-.4.4-.6.7-.1.1-.2.2-.3.2-.1.1-.4.3-.7.6-.2.2-.4.3-.5.4-.2.1-.4.4-.6.5-.3.1-.5.2-.8.1-.3 0-.7-.2-1-.3-.5-.3.1-.3-.5-.8-1.4-1-2.2-1.7-1.9-3.4v-.2c-.2-.1-.3-.3-.5-.4-3.9-3-10.1-4.9-11.5-8.3-.9-2.3-1-3.4-.2-4.4.4-.5.8-1 1-1.4 1.3-2.3.9-4.4 2.4-5.4 1.8-1.2 3.3.2 4.1 1.4-.5-2.1-2.3-2.6-2.3-2.8.3.1.3-.1.3-.3zm29 20s-.1 0 0 0c-.1 0-.1 0 0 0-.9.1-3.3.3-5.4.3h-.9c-.7 0-1.3-.1-1.8-.2-.1 0-.2 0-.3-.1-.7-.2-1.6-.5-2.4-.8-.6-.2-1.2-.5-1.7-.7-1.1-.5-2.1-1.1-2.3-1.3-.5-1.4-.7-2.7-.7-3.4.8-.4 1.3-.7 1.9-1.4-1.7.3-2.4.2-3.4-.4-1-.5-2.6-2.2-3.6-3.4 1-1.2 1.7-2.9 1.4-5.1.1-.2.3-.4.4-.6 0 .1.1.1.2.2.7.9 2.4 2 4.6 2.8 1.1.4 2 .1 2.9-.1 4-1 8.1-1.3 11.9-.1.1 0 .2.1.3.1.5.2.9.4 1.4.6.1 0 .1.1.2.1.1.7.2 2-.3 3.5-.1.3-.2.6-.4.9-.2.3-.3.6-.5 1-.1.3-.2.5-.4.8-.2.4-.3.8-.5 1.3-.4 1.4-.7 3.4-.6 6zm-23.9-9c.4-.2 1-.4 1.5-.8 1.6 1.8 3.3 3 5 4.1.3 1.4.5 2.4.8 4.2h-.2c-.1.5-.1.9-.1 1.3-1-.4-2.2-.5-2.6-.5-3.7-4.3-3-6-4.4-8.3zm-32.9 6.5c-1.3.7-2.5 1.4-3.6 2.2-.2.1-.5.3-.7.4-.1.1-.3.2-.5.3-4.5 2.9-8.1 5.8-10.5 8.5 1.7-10.8 10-16.5 14.3-19.2.1-.1.2-.2.4-.2 10-6.2 19.2-9.2 28-11.7-.5.8-.9 1.7-1 2.8v.2c-.8.1-2.5.2-3.5 3-.1.2-.2.5-.3.8-.3 1.2-.6 2-.9 2.6-.9.4-5 2.2-9.9 4.5-1.6.8-3.3 1.6-5 2.4-2.3 1-4.6 2.2-6.8 3.4zm28 24.8s0-.1 0 0c-.4-.3-.8-.5-1.2-.7h-.1c-.4-.2-.7-.3-1.1-.5h-.1c-.4-.1-.8-.3-1.3-.4h-.2c-.4-.1-.8-.2-1.3-.2h-.1c-.5-.1-1-.1-1.5-.1H35.9c-3.7.1-6.5-.4-8.6-1.5-.7-.4-1.4-.8-1.9-1.3-.9-.7-1.5-1.6-2.1-2.6-.4-.7-.7-1.4-.9-2.2-.4-1.2-.6-2.5-.8-3.9 0-.5-.1-1-.2-1.5l-.3-1.5c-.6-2.9-1.6-5.5-3.2-7.2 6.3-3.5 15-7.9 17.8-8.8.3-.1.6-.2.8-.3-.3 1.1.4 2.7.9 3.9 2.1 4.9 8.6 5.4 12.9 9.1 0 .5 0 1.1.2 1.6.5.6 1.7 1.6 1.7 1.6-.2.2-.1.7-.1.7.9 1 2.3 1 2.3 1-1.8 5.2-3.4 10.9-1.9 16.9-.7 1-1.5 1.8-2.2 2.8-.7-.2-1.4-.6-1.9-1.3 0-.1-.1-.1-.1-.2s-.1-.1-.1-.2l-1.5-1.8-.1-.1c-.5-.4-1.2-.9-1.9-1.3zm7.9 33.6c-1.3.1-2.9 0-4.3-.3h-.2-.1c-1.5-.8-2.1-1.2-2-2.4 0-.2 0-.3.1-.5 0-.1.1-.2.1-.3.5-1.1 2.1-2.2 3.4-3.2-.8 0-1.8.7-1.7-.1.2-1.5.9-1.3 1.3-2.1-.2-.3 3.3-.2 3.8.3v.1c0 .7.7 1.7.5 2.2-.1.3-.4-.2-.8-.3.2 1.1.6 3.1 1.3 4.6.1.1.1.2.1.3 0 .1.1.2.1.3 0 .7-.4 1.2-1.6 1.4zM59 67.7c0 .9-.3 1.6-.6 2-.7 1.1-1.7 1.4-2 3.2.4-.6 1.1-1.1 1.1-.9 0 .8-.1 1.4-.1 2v.2c-.1.6-.2 1.1-.3 1.6-.2.9-.5 1.7-.7 2.4-.4 1.2-.9 2.1-1.3 3.1l-.6 1.5c-.6 1.7-.4 5.6-.6 5.7-1.6.3-4.1-.3-4.7-.6.3-2.2.4-4.5.5-6.9.1-2.1.3-4.3.9-6.6.1-.5.3-1 .4-1.5 0-.1 0-.2.1-.2 0-.1 0-.1.1-.2.5-1.6 1.4-2.7 2.6-4.2.4-.4.7-.9 1.2-1.4-.1-.4-.2-.8-.4-1.3-.7-2.6-1.3-7.3 1.5-16.1.1 0 .2-.1.3-.1.2-.1.7-.5.8-.6.1-.1.3-.2.4-.3.1 0 .1-.1.2-.1l.6-.6 1.1-1.1c.4-.4.7-.5.8-.9v-.2c0-.8-1.1-1.5-1.5-2.1l-.1-.1c.1-.2.1-.4.2-.6 0-.2.1-.5.1-.8 0-.2.1-.5.1-.7.1.1.6.4 1.8.7.6.2 1.3.4 2.3.7 1.1.3 2.4.5 3.6.6 2.9.2 5.6 0 6.7-.2h.3v.1c0 .1 0 .2-.1.3v.9c0 .2 0 .3.1.5v.1c0 .4.1.7.2 1.1 0 .3.1.5.1.7v.1c0 .3.1.5.1.7 0 .2.1.3.1.5.1.2.1.4.2.6v.2c.1.4.2.8.2 1.1 1 5.7 2.3 12.9-1.1 16.7.2.8.3 1.9 0 3.2-.1.7-.3 1.4-.6 2.2-.2.5-.3 1-.5 1.5h-.3c-4.5.6-7.1.2-8.3-.1.5-1.6 1.7-3.3 3.7-3.2-.1-3.7-1.1-5-2-7.6 1.3-3 1.3-5.7 2-9.2v-.2c.2-.8.3-1.6.6-2.5-.4.5-.8 1.5-1.2 2.6v.1c-.5 1.5-.9 3.4-1.2 4.8-.2.8-.4 1.6-.7 2.4-.2.5-.4.9-.6 1.4-1.5 1.9-3 3.9-5.5 5.6zm18.5 24.9c1.5 1.1 4.7 1.8 5.5 2.3l.3.3c.1.1.1.2.1.3-.1.4-.7.7-1.9.9-.5.1-.9.1-1.4.1-1.3 0-2.6-.2-5.1-.5-3.4-.5-5.2-.4-8.6-.4-.3 0-.6 0-.9-.1-.2 0-.4-.1-.5-.1-.6-.2-1-.5-1.2-.8-.1-.2-.1-.3-.1-.5-.1-.7.2-1.5.6-2.3.2-.4.3-.7.4-1 .5-1.3.4-2.1.2-4.9 0-.2-.1-.4-.1-.7-.2-1.3-.5-2.3-.8-3.1-.4-1.1-.9-1.9-1.2-3-.6-2.1-1-4.3-.6-4.8H62.5c.2.1.5.2.9.3.5.1 1.1.2 2 .3 2.2.2 5.1-.2 6.6-.4.3-.1.6-.1.8-.1h.4c.4 0 .1.6-.1 1.2-.1.7-.5 3.3-.8 5.1-.3 1.8-.2 7.1-.1 8.8v.1c0 .3 1.9 1.2 3.5 2.1.7.2 1.4.5 1.8.9zm4.8-48.2c0 .1 0 .1 0 0-.1.1-.2.2-.2.3 0-.1-.1-.1-.1-.2 0 .1 0 .2-.1.2-.2.9-.6 2.4-2.2 4.1-.4.4-.7.6-1 .7-.5.1-.9 0-1.5-.1-.9-.2-1.3-.6-2.2-1.1-.1-.6-.3-1.3-.4-1.8 0-.3-.1-.5-.1-.6v-1l.4-.4s.7-1 1.8-1 2.2-.2 2.5-.5v-.1-.3c0-.1 0-.2-.1-.3-.4-1.4-2.1-1.8-1.4-4.8 0-.2.3-.5 1.2-.5-1.4-.3-2-.4-3-1.3.5-1.1 1-1.9 1.3-2.6.8-1.5.3-3.5.3-3.5.8-.3 1.6-.7 1.7-1 .9-2.8-.7-5.5-2.5-7.2 1.2-.1 2.6.1 3.6 1.1 2.4 2.4 1.8 5 1 6.8.6.7 2.1 2.9 1.2 5.3-.2.6-1.4.6-2.3 2.1 2.3-1.3 3.7-1 4.2.7 1 2.4-.6 5.3-2.1 7z"/><path d="M22 53.4v-.2c0-.2-.1-.5-.2-.9s-.1-.8-.2-1.3c-.5-4.7-1.9-9.4-4.9-11.3 3.7-2 16.8-8.5 21.9-10.5 2.9-1.2.8-.4-.2 1.4-.8 1.4-.3 2.9-.5 3.2-.6.8-12.6 10.5-15.9 19.6zm32.2-2.3c-3.4 3.8-12 11-18.2 11.4 8.7-.2 12.2 4.1 14.7 9.7 2.6-5.2 2.7-10.3 2.6-16.1 0-2.6 1.8-6 .9-5zm5.3-23L54.3 24s-1.1 3.1-1 4.6c.1 1.6-1.8 2.7-.9 3.6.9.9 3.2 2.5 4 3.4.7.9 1.1 7.1 1.1 7.1l2.2 2.7s1-1.8 1.1-6.3c.2-5.4-2.9-7.1-3.3-8.6-.4-1.4.6-2.9 2-2.4zm3.1 45.6l3.9.3s1.2-2.2 2.1-3.5c.9-1.4.4-1.6 0-4.6-.4-3-1.4-9.3-1.2-13.6l-3.1 10.2s1.8 5.6 1.6 6.4c-.1.8-3.3 4.8-3.3 4.8zm5 18.8c-1.1 0-2.5-.4-3.5-.8l-1 .3.2 4s5.2.7 4.6-.4c-.6-1.2-.3-3.1-.3-3.1zm12 .6c-1 0-.3.2.4 1.2.8 1 .1 2-.8 2.3l3.2.5 1.9-1.7c.1 0-3.7-2.3-4.7-2.3zM73 76c-1.6.5-4.2.8-5.9.8-1.7.1-3.7-.1-5-.5v1.4s1.2.5 5.4.5c3.5.1 5.7-.8 5.7-.8l.9-.8c-.1.1.5-1.1-1.1-.6zm-.2 3.1c-1.6.6-3.9.6-5.6.7-1.7.1-3.7-.1-5-.5l.1 1.4s.7.3 4.9.4c3.5.1 5.7-.7 5.7-.7l.3-.5c-.1-.1.3-1-.4-.8zm5.9-42.7c-.9-.8-1.4-2.4-1.5-3.3l-1.9 2.5.7 1.2s2.5.1 2.8.1c.4 0 .3-.1-.1-.5zM69 14.7c.6-.7.2-2.7.2-2.7L66 14.6l-4.4-.8-.5-1.3-1.3-.1c.8 1.8 1.8 2.5 3.3 3.1.9.4 4.5.9 5.9-.8z" style=opacity:.4;fill-rule:evenodd;clip-rule:evenodd /></svg></a></div></div>';if(element){root.style.position="absolute";root.style.top=minimal?"calc(100% - 42px)":"calc(100% - 51px)"}
590if(css){if(_isString(css)){root.style.cssText=css}else if(_isObject(css)){css.data="root";gsap.set(root,css).kill()}
591if(root.style.top){root.style.bottom="auto"}
592if(root.style.width){gsap.set(root,{xPercent:-50,left:"50%",right:"auto",data:"root"}).kill()}}
593if(!minimal&&root.offsetWidth<600){root.setAttribute("class","gs-dev-tools minimal");if(element){root.style.top="calc(100% - 42px)"}}
594return root},_clickedOnce=!0,_addListener=function _addListener(e,type,callback,capture){var handler,altType;if(type==="mousedown"||type==="mouseup"){e.style.cursor="pointer"}
595if(type==="mousedown"){altType=!_isUndefined(e.onpointerdown)?"pointerdown":!_isUndefined(e.ontouchstart)?"touchstart":null;if(altType){handler=function handler(event){if(event.target.nodeName.toLowerCase()!=="select"&&event.type===altType){event.stopPropagation();if(_clickedOnce){event.preventDefault();callback.call(e,event)}}else if(event.type!==altType){callback.call(e,event)}
596_clickedOnce=!0};e.addEventListener(altType,handler,capture);if(altType!=="pointerdown"){e.addEventListener(type,handler,capture)}
597return}}
598e.addEventListener(type,callback,capture)},_removeListener=function _removeListener(e,type,callback){e.removeEventListener(type,callback);type=type!=="mousedown"?null:!_isUndefined(e.onpointerdown)?"pointerdown":!_isUndefined(e.ontouchstart)?"touchstart":null;if(type){e.removeEventListener(type,callback)}},_selectValue=function _selectValue(element,value,label,insertIfAbsent){var options=element.options,i=options.length,option;value+="";while(--i>-1){if(options[i].innerHTML===value||options[i].value===value){element.selectedIndex=i;label.innerHTML=options[i].innerHTML;return options[i]}}
599if(insertIfAbsent){option=_createElement("option",element);option.setAttribute("value",value);option.innerHTML=label.innerHTML=_isString(insertIfAbsent)?insertIfAbsent:value;element.selectedIndex=options.length-1}},_shiftSelectedValue=function _shiftSelectedValue(element,amount,label){var options=element.options,i=Math.min(options.length-1,Math.max(0,element.selectedIndex+amount));element.selectedIndex=i;if(label){label.innerHTML=options[i].innerHTML}
600return options[i].value},_merge=function _merge(){var t=_globalTimeline._first,duration,next,target;if(_rootInstance){duration=_recordedRoot._dur;while(t){next=t._next;target=t._targets&&t._targets[0];if(!(_isFunction(target)&&target===t.vars.onComplete&&!t._dur)&&!(target&&target._gsIgnore)){_recordedRoot.add(t,t._start-t._delay)}
601t=next}
602return duration!==_recordedRoot.duration()}},_updateRootDuration=function _updateRootDuration(){if(_rootInstance){_rootInstance.update();_rootIsDirty=!1}
603gsap.ticker.remove(_updateRootDuration)},_buildPlayPauseMorph=function _buildPlayPauseMorph(svg){var tl=gsap.timeline({data:"root",parent:_independentRoot,onComplete:function onComplete(){return tl.kill()}});tl.to(svg.querySelector(".play-1"),{duration:0.4,attr:{d:"M5.75,3.13 C5.75,9.79 5.75,16.46 5.75,23.13 4.08,23.13 2.41,23.13 0.75,23.13 0.75,16.46 0.75,9.79 0.75,3.12 2.41,3.12 4.08,3.12 5.75,3.12"},ease:"power2.inOut",rotation:360,transformOrigin:"50% 50%"}).to(svg.querySelector(".play-2"),{duration:0.4,attr:{d:"M16.38,3.13 C16.38,9.79 16.38,16.46 16.38,23.13 14.71,23.13 13.04,23.13 11.38,23.13 11.38,16.46 11.38,9.79 11.38,3.12 13.04,3.12 14.71,3.12 16.38,3.12"},ease:"power2.inOut",rotation:360,transformOrigin:"50% 50%"},0.05);return tl},_buildLoopAnimation=function _buildLoopAnimation(svg){var tl=gsap.timeline({data:"root",id:"loop",parent:_independentRoot,paused:!0,onComplete:function onComplete(){return tl.kill()}});tl.to(svg,{duration:0.5,rotation:360,ease:"power3.inOut",transformOrigin:"50% 50%"}).to(svg.querySelectorAll(".loop-path"),{duration:0.5,fill:"#91e600",ease:"none"},0);return tl},_getAnimationById=function _getAnimationById(id){return gsap.getById(id)||_independentRoot.getById(id)||id===_recordedRoot.vars.id&&_recordedRoot},_initCore=function _initCore(core){gsap=core||_getGSAP();if(!_coreInitted){if(gsap&&_windowExists()){_doc=document;_docEl=_doc.documentElement;_win=window;gsap.registerPlugin(_Draggable_js__WEBPACK_IMPORTED_MODULE_0__.Draggable);_globalTimeline=gsap.globalTimeline;_globalTimeline._sort=!0;_globalTimeline.autoRemoveChildren=!1;Animation=gsap.core.Animation;_independentRoot=gsap.timeline({data:"indy",autoRemoveChildren:!0,smoothChildTiming:!0});_independentRoot.kill();_independentRoot._dp=0;_independentRoot.to({},{duration:1e12});_recordedRoot=gsap.timeline({data:"root",id:"Global Timeline",autoRemoveChildren:!1,smoothChildTiming:!0,parent:_independentRoot});_rootTween=gsap.to(_recordedRoot,{duration:1,time:1,ease:"none",data:"root",id:"_rootTween",paused:!0,immediateRender:!1,parent:_independentRoot});_globalTimeline.killTweensOf=function(targets,props,onlyActive){_recordedRoot.killTweensOf(targets,props,onlyActive);_recordedRoot.killTweensOf.call(_globalTimeline,targets,props,onlyActive)};_independentRoot._start=gsap.ticker.time;gsap.ticker.add(function(time){return _independentRoot.render(time-_independentRoot._start)});_globalTimeline._start+=_globalTimeline._time;_recordedRoot._start=_globalTimeline._time=_globalTimeline._tTime=0;_delayedCall=function _delayedCall(delay,callback,params,scope){return gsap.to(callback,{delay:delay,duration:0,onComplete:callback,onReverseComplete:callback,onCompleteParams:params,onReverseCompleteParams:params,callbackScope:scope,parent:_independentRoot})};_delayedCall(0.01,function(){return _rootInstance?_rootInstance.update():_merge()});_delayedCall(2,function(){var t,next,offset;if(!_rootInstance){_merge();t=_recordedRoot._first;offset=_recordedRoot._start;while(t){next=t._next;if(t._tDur!==t._tTime||!t._dur&&t.progress()!==1){_globalTimeline.add(t,t._start-t._delay+offset)}else{t.kill()}
604t=next}}
605if(GSDevTools.globalRecordingTime>2){_delayedCall(GSDevTools.globalRecordingTime-2,function(){_rootInstance&&_rootInstance.update();_recording=!1;_globalTimeline.autoRemoveChildren=!0})}else{_recording=!1;_globalTimeline.autoRemoveChildren=!0}
606_startupPhase=!1});_coreInitted=1}}},_checkIndependence=function _checkIndependence(animation,vars){if(!vars.globalSync&&animation.parent!==_globalTimeline){_globalTimeline.add(animation,_globalTimeline.time())}},GSDevTools=function GSDevTools(vars){if(!_coreInitted){_initCore();gsap||console.warn("Please gsap.registerPlugin(GSDevTools)")}
607this.vars=vars=vars||{};if(vars.animation){(GSDevTools.getByAnimation(vars.animation)||{kill:function kill(){return 0}}).kill()}
608vars.id=vars.id||(_isString(vars.animation)?vars.animation:_idSeed++);_lookup[vars.id+""]=this;"globalSync" in vars||(vars.globalSync=!vars.animation);var _self=this,root=_createRootElement(vars.container,vars.minimal,vars.css),find=function find(s){return root.querySelector(s)},record=function record(key,value){if(vars.persist!==!1&&_supportsStorage){sessionStorage.setItem("gs-dev-"+key+vars.id,value)}
609return value},recall=function recall(key){var value;if(vars.persist!==!1&&_supportsStorage){value=sessionStorage.getItem("gs-dev-"+key+vars.id);return key==="animation"?value:key==="loop"?value==="true":parseFloat(value)}},playhead=find(".playhead"),timelineTrack=find(".timeline-track"),progressBar=find(".progress-bar"),timeLabel=find(".time"),durationLabel=find(".duration"),pixelToTimeRatio,timeAtDragStart,dragged,skipDragUpdates,progress=0,inPoint=find(".in-point"),outPoint=find(".out-point"),inProgress=0,outProgress=100,pausedWhenDragStarted,list=find(".animation-list"),animationLabel=find(".animation-label"),selectedAnimation,linkedAnimation,declaredAnimation,startTime,endTime,_fullyInitialized,keyboardHandler,playPauseButton=find(".play-pause"),playPauseMorph=_buildPlayPauseMorph(playPauseButton),paused=!1,loopButton=find(".loop"),loopAnimation=_buildLoopAnimation(loopButton),loopEnabled,timeScale=find(".time-scale select"),timeScaleLabel=find(".time-scale-label"),onPressTimeline=function onPressTimeline(element,originRatio,limitToInOut){return function(e){var trackBounds=timelineTrack.getBoundingClientRect(),elementBounds=element.getBoundingClientRect(),left=elementBounds.width*originRatio,x=gsap.getProperty(element,"x"),minX=trackBounds.left-elementBounds.left-left+x,maxX=trackBounds.right-elementBounds.right+(elementBounds.width-left)+x,unlimitedMinX=minX,limitBounds;if(limitToInOut){if(element!==inPoint){limitBounds=inPoint.getBoundingClientRect();if(limitBounds.left){minX+=limitBounds.left+limitBounds.width-trackBounds.left}}
610if(element!==outPoint){limitBounds=outPoint.getBoundingClientRect();if(limitBounds.left){maxX-=trackBounds.left+trackBounds.width-limitBounds.left}}}
611pausedWhenDragStarted=paused;this.applyBounds({minX:minX,maxX:maxX});pixelToTimeRatio=linkedAnimation.duration()/trackBounds.width;timeAtDragStart=-unlimitedMinX*pixelToTimeRatio;if(!skipDragUpdates){linkedAnimation.pause(timeAtDragStart+pixelToTimeRatio*this.x)}else{linkedAnimation.pause()}
612if(this.target===playhead){if(this.activated){this.allowEventDefault=!1}
613this.activated=!0}
614dragged=!0}},progressDrag=_Draggable_js__WEBPACK_IMPORTED_MODULE_0__.Draggable.create(playhead,{type:"x",cursor:"ew-resize",allowNativeTouchScrolling:!1,allowEventDefault:!0,onPress:onPressTimeline(playhead,0.5,!0),onDrag:function onDrag(){var time=timeAtDragStart+pixelToTimeRatio*this.x;if(time<0){time=0}else if(time>linkedAnimation._dur){time=linkedAnimation._dur}
615if(!skipDragUpdates){linkedAnimation.time(time)}
616progressBar.style.width=Math.min(outProgress-inProgress,Math.max(0,time/linkedAnimation._dur*100-inProgress))+"%";timeLabel.innerHTML=time.toFixed(2)},onRelease:function onRelease(){paused||linkedAnimation.resume()}})[0],resetInOut=function resetInOut(){inProgress=0;outProgress=100;inPoint.style.left="0%";outPoint.style.left="100%";record("in",inProgress);record("out",outProgress);updateProgress(!0)},inDrag=_Draggable_js__WEBPACK_IMPORTED_MODULE_0__.Draggable.create(inPoint,{type:"x",cursor:"ew-resize",zIndexBoost:!1,allowNativeTouchScrolling:!1,allowEventDefault:!0,onPress:onPressTimeline(inPoint,1,!0),onDoubleClick:resetInOut,onDrag:function onDrag(){inProgress=(timeAtDragStart+pixelToTimeRatio*this.x)/linkedAnimation.duration()*100;linkedAnimation.progress(inProgress/100);updateProgress(!0)},onRelease:function onRelease(){if(inProgress<0){inProgress=0}
617_clearSelection();inPoint.style.left=inProgress+"%";record("in",inProgress);gsap.set(inPoint,{x:0,data:"root",display:"block"});if(!paused){linkedAnimation.resume()}}})[0],outDrag=_Draggable_js__WEBPACK_IMPORTED_MODULE_0__.Draggable.create(outPoint,{type:"x",cursor:"ew-resize",allowNativeTouchScrolling:!1,allowEventDefault:!0,zIndexBoost:!1,onPress:onPressTimeline(outPoint,0,!0),onDoubleClick:resetInOut,onDrag:function onDrag(){outProgress=(timeAtDragStart+pixelToTimeRatio*this.x)/linkedAnimation.duration()*100;linkedAnimation.progress(outProgress/100);updateProgress(!0)},onRelease:function onRelease(){if(outProgress>100){outProgress=100}
618_clearSelection();outPoint.style.left=outProgress+"%";record("out",outProgress);gsap.set(outPoint,{x:0,data:"root",display:"block"});if(!pausedWhenDragStarted){play();linkedAnimation.resume()}}})[0],updateProgress=function updateProgress(force){if(progressDrag.isPressed&&force!==!0){return}
619var p=!loopEnabled&&selectedAnimation._repeat===-1?selectedAnimation.totalTime()/selectedAnimation.duration()*100:linkedAnimation.progress()*100||0,repeatDelayPhase=selectedAnimation._repeat&&selectedAnimation._rDelay&&selectedAnimation.totalTime()%(selectedAnimation.duration()+selectedAnimation._rDelay)>selectedAnimation.duration(),target;if(p>100){p=100}
620if(p>=outProgress){if(loopEnabled&&!linkedAnimation.paused()&&!progressDrag.isDragging){if(!repeatDelayPhase){p=inProgress;target=linkedAnimation._targets&&linkedAnimation._targets[0];if(target===selectedAnimation){target.seek(startTime+(endTime-startTime)*inProgress/100)}
621if(selectedAnimation._repeat>0&&!inProgress&&outProgress===100){if(selectedAnimation.totalProgress()===1){linkedAnimation.totalProgress(0,!0).resume()}}else{linkedAnimation.progress(p/100,!0).resume()}}}else{if(p!==outProgress||selectedAnimation._repeat===-1){p=outProgress;linkedAnimation.progress(p/100)}
622if(!paused&&(outProgress<100||selectedAnimation.totalProgress()===1||selectedAnimation._repeat===-1)){pause()}}}else if(p<inProgress){p=inProgress;linkedAnimation.progress(p/100,!0)}
623if(p!==progress||force===!0){progressBar.style.left=inProgress+"%";progressBar.style.width=Math.max(0,p-inProgress)+"%";playhead.style.left=p+"%";timeLabel.innerHTML=linkedAnimation._time.toFixed(2);durationLabel.innerHTML=linkedAnimation._dur.toFixed(2);if(dragged){playhead.style.transform="translate(-50%,0)";playhead._gsap.x="0px";playhead._gsap.xPercent=-50;dragged=!1}
624progress=p}
625linkedAnimation.paused()!==paused&&togglePlayPause()},onPressSeekBar=function onPressSeekBar(e){if(progressDrag.isPressed){return}
626var bounds=e.target.getBoundingClientRect(),x=(e.changedTouches?e.changedTouches[0]:e).clientX,p=(x-bounds.left)/bounds.width*100;if(p<inProgress){inProgress=p=Math.max(0,p);inPoint.style.left=inProgress+"%";inDrag.startDrag(e);return}else if(p>outProgress){outProgress=p=Math.min(100,p);outPoint.style.left=outProgress+"%";outDrag.startDrag(e);return}
627linkedAnimation.progress(p/100).pause();updateProgress(!0);progressDrag.startDrag(e)},play=function play(){if(linkedAnimation.progress()>=outProgress/100){_checkIndependence(linkedAnimation,vars);var target=linkedAnimation._targets&&linkedAnimation._targets[0];if(target===selectedAnimation){target.seek(startTime+(endTime-startTime)*inProgress/100)}
628if(linkedAnimation._repeat&&!inProgress){linkedAnimation.totalProgress(0,!0)}else if(!linkedAnimation.reversed()){linkedAnimation.progress(inProgress/100,!0)}}
629playPauseMorph.play();linkedAnimation.resume();if(paused){_self.update()}
630paused=!1},pause=function pause(){playPauseMorph.reverse();if(linkedAnimation){linkedAnimation.pause()}
631paused=!0},togglePlayPause=function togglePlayPause(){if(paused){play()}else{pause()}},onPressRewind=function onPressRewind(e){if(progressDrag.isPressed){return}
632_checkIndependence(linkedAnimation,vars);var target=linkedAnimation._targets&&linkedAnimation._targets[0];if(target===selectedAnimation){target.seek(startTime+(endTime-startTime)*inProgress/100)}
633linkedAnimation.progress(inProgress/100,!0);if(!paused){linkedAnimation.resume()}},loop=function loop(value){loopEnabled=value;record("loop",loopEnabled);if(loopEnabled){loopAnimation.play();if(linkedAnimation.progress()>=outProgress/100){var target=linkedAnimation._targets&&linkedAnimation._targets[0];if(target===selectedAnimation){target.seek(startTime+(endTime-startTime)*inProgress/100)}
634if(selectedAnimation._repeat&&!inProgress&&outProgress===100){linkedAnimation.totalProgress(0,!0)}else{linkedAnimation.progress(inProgress/100,!0)}
635play()}}else{loopAnimation.reverse()}},toggleLoop=function toggleLoop(){return loop(!loopEnabled)},updateList=function updateList(){var animations=_getChildrenOf(declaredAnimation&&!vars.globalSync?declaredAnimation:_recordedRoot,!0),options=list.children,matches=0,option,i;if(declaredAnimation&&!vars.globalSync){animations.unshift(declaredAnimation)}else if(!vars.hideGlobalTimeline){animations.unshift(_recordedRoot)}
636for(i=0;i<animations.length;i++){option=options[i]||_createElement("option",list);option.animation=animations[i];matches=i&&animations[i].vars.id===animations[i-1].vars.id?matches+1:0;option.setAttribute("value",option.innerHTML=animations[i].vars.id+(matches?" ["+matches+"]":animations[i+1]&&animations[i+1].vars.id===animations[i].vars.id?" [0]":""))}
637for(;i<options.length;i++){list.removeChild(options[i])}},animation=function animation(anim){var ts=parseFloat(timeScale.options[timeScale.selectedIndex].value)||1,tl,maxDuration;if(!arguments.length){return selectedAnimation}
638if(_isString(anim)){anim=_getAnimationById(anim)}
639if(!(anim instanceof Animation)){console.warn("GSDevTools error: invalid animation.")}
640if(anim===selectedAnimation){return}
641if(selectedAnimation){selectedAnimation._inProgress=inProgress;selectedAnimation._outProgress=outProgress}
642selectedAnimation=anim;if(linkedAnimation){ts=linkedAnimation.timeScale();if(linkedAnimation._targets&&linkedAnimation._targets[0]===declaredAnimation){declaredAnimation.resume();linkedAnimation.kill()}}
643inProgress=selectedAnimation._inProgress||0;outProgress=selectedAnimation._outProgress||100;inPoint.style.left=inProgress+"%";outPoint.style.left=outProgress+"%";if(_fullyInitialized){record("animation",selectedAnimation.vars.id);record("in",inProgress);record("out",outProgress)}
644startTime=0;maxDuration=vars.maxDuration||Math.min(1000,_getClippedDuration(selectedAnimation));if(selectedAnimation===_recordedRoot||vars.globalSync){_merge();linkedAnimation=_rootTween;_rootInstance&&_rootInstance!==_self&&console.warn("Error: GSDevTools can only have one instance that's globally synchronized.");_rootInstance=_self;if(selectedAnimation!==_recordedRoot){tl=selectedAnimation;endTime=tl.totalDuration();if(endTime>99999999){endTime=tl.duration()}
645while(tl.parent){startTime=startTime/tl._ts+tl._start;endTime=endTime/tl._ts+tl._start;tl=tl.parent}}else{endTime=_recordedRoot.duration()}
646if(endTime-startTime>maxDuration){endTime=startTime+maxDuration}
647_recordedRoot.pause(startTime);_rootTween.vars.time=endTime;_rootTween.invalidate();_rootTween.duration(endTime-startTime).timeScale(ts);if(paused){_rootTween.progress(1,!0).pause(0,!0)}else{_delayedCall(0.01,function(){_rootTween.resume().progress(inProgress/100);paused&&play()})}}else{if(_rootInstance===_self){_rootInstance=null}
648if(selectedAnimation===declaredAnimation||!declaredAnimation){linkedAnimation=selectedAnimation;if(!loopEnabled&&linkedAnimation._repeat){loop(!0)}}else{tl=selectedAnimation;endTime=tl.totalDuration();if(endTime>99999999){endTime=tl.duration()}
649while(tl.parent.parent&&tl!==declaredAnimation){startTime=startTime/(tl._ts||tl._pauseTS)+tl._start;endTime=endTime/(tl._ts||tl._pauseTS)+tl._start;tl=tl.parent}
650if(endTime-startTime>maxDuration){endTime=startTime+maxDuration}
651declaredAnimation.pause(startTime);linkedAnimation=gsap.to(declaredAnimation,{duration:endTime-startTime,time:endTime,ease:"none",data:"root",parent:_independentRoot})}
652linkedAnimation.timeScale(ts);_rootTween.pause();_recordedRoot.resume();linkedAnimation.seek(0)}
653durationLabel.innerHTML=linkedAnimation.duration().toFixed(2);_selectValue(list,selectedAnimation.vars.id,animationLabel)},updateRootDuration=function updateRootDuration(){var time,ratio,duration;if(selectedAnimation===_recordedRoot){time=_recordedRoot._time;_recordedRoot.progress(1,!0).time(time,!0);time=(_rootTween._dp._time-_rootTween._start)*_rootTween._ts;duration=Math.min(1000,_recordedRoot.duration());if(duration===1000){duration=Math.min(1000,_getClippedDuration(_recordedRoot))}
654ratio=_rootTween.duration()/duration;if(ratio!==1&&duration){inProgress*=ratio;if(outProgress<100){outProgress*=ratio}
655_rootTween.seek(0);_rootTween.vars.time=duration;_rootTween.invalidate();_rootTween.duration(duration);_rootTween.time(time);durationLabel.innerHTML=duration.toFixed(2);inPoint.style.left=inProgress+"%";outPoint.style.left=outProgress+"%";updateProgress(!0)}}},onChangeAnimation=function onChangeAnimation(e){animation(list.options[list.selectedIndex].animation);if(e.target&&e.target.blur){e.target.blur()}
656paused&&play()},onChangeTimeScale=function onChangeTimeScale(e){var ts=parseFloat(timeScale.options[timeScale.selectedIndex].value)||1,target;linkedAnimation.timeScale(ts);record("timeScale",ts);if(!paused){if(linkedAnimation.progress()>=outProgress/100){target=linkedAnimation._targets&&linkedAnimation._targets[0];if(target===selectedAnimation){target.seek(startTime+(endTime-startTime)*inProgress/100)}
657linkedAnimation.progress(inProgress/100,!0).pause()}else{linkedAnimation.pause()}
658_delayedCall(0.01,function(){return linkedAnimation.resume()})}
659timeScaleLabel.innerHTML=ts+"x";if(timeScale.blur){timeScale.blur()}},autoHideTween=gsap.to([find(".gs-bottom"),find(".gs-top")],{duration:0.3,autoAlpha:0,y:50,ease:"power2.in",data:"root",paused:!0,parent:_independentRoot}),hidden=!1,onMouseOut=function onMouseOut(e){if(!_Draggable_js__WEBPACK_IMPORTED_MODULE_0__.Draggable.hitTest(e,root)&&!progressDrag.isDragging&&!inDrag.isDragging&&!outDrag.isDragging){autoHideDelayedCall.restart(!0)}},hide=function hide(){if(!hidden){autoHideTween.play();autoHideDelayedCall.pause();hidden=!0}},show=function show(){autoHideDelayedCall.pause();if(hidden){autoHideTween.reverse();hidden=!1}},toggleHide=function toggleHide(){if(hidden){show()}else{hide()}},autoHideDelayedCall=_delayedCall(1.3,hide).pause(),initialize=function initialize(preliminary){if(_startupPhase&&!_globalStartTime){_globalStartTime=_recordedRoot._start}
660_fullyInitialized=!preliminary;declaredAnimation=_parseAnimation(vars.animation);if(declaredAnimation&&!declaredAnimation.vars.id){declaredAnimation.vars.id="[no id]"}
661_merge();updateList();var savedAnimation=_getAnimationById(recall("animation"));if(savedAnimation){savedAnimation._inProgress=recall("in")||0;savedAnimation._outProgress=recall("out")||100}
662vars.paused&&pause();selectedAnimation=null;animation(declaredAnimation||savedAnimation||_recordedRoot);var ts=vars.timeScale||recall("timeScale"),savedInOut=savedAnimation===selectedAnimation;if(ts){_selectValue(timeScale,ts,timeScaleLabel,ts+"x");linkedAnimation.timeScale(ts)}
663inProgress=("inTime" in vars?_timeToProgress(vars.inTime,selectedAnimation,0,0):savedInOut?savedAnimation._inProgress:0)||0;if(inProgress===100&&!vars.animation&&savedAnimation){animation(_recordedRoot);inProgress=_timeToProgress(vars.inTime,selectedAnimation,0,0)||0}
664if(inProgress){inPoint.style.left=inProgress+"%";inPoint.style.display=outPoint.style.display="block"}
665outProgress=("outTime" in vars?_timeToProgress(vars.outTime,selectedAnimation,100,inProgress):savedInOut?savedAnimation._outProgress:0)||100;if(outProgress<inProgress){outProgress=100}
666if(outProgress!==100){outPoint.style.left=outProgress+"%";inPoint.style.display=outPoint.style.display="block"}
667loopEnabled="loop" in vars?vars.loop:recall("loop");loopEnabled&&loop(!0);vars.paused&&linkedAnimation.progress(inProgress/100,!0).pause();if(_startupPhase&&selectedAnimation===_recordedRoot&&_globalStartTime&&vars.globalSync&&!paused){linkedAnimation.time(-_globalStartTime,!0)}
668updateProgress(!0)};_addListener(list,"change",onChangeAnimation);_addListener(list,"mousedown",updateList);_addListener(playPauseButton,"mousedown",togglePlayPause);_addListener(find(".seek-bar"),"mousedown",onPressSeekBar);_addListener(find(".rewind"),"mousedown",onPressRewind);_addListener(loopButton,"mousedown",toggleLoop);_addListener(timeScale,"change",onChangeTimeScale);if(vars.visibility==="auto"){_addListener(root,"mouseout",onMouseOut);_addListener(root,"mouseover",show)}else if(vars.visibility==="hidden"){hidden=!0;autoHideTween.progress(1)}
669if(vars.keyboard!==!1){if(_keyboardInstance&&vars.keyboard){console.warn("[GSDevTools warning] only one instance can be affected by keyboard shortcuts. There is already one active.")}else{_keyboardInstance=_self;keyboardHandler=function keyboardHandler(e){var key=e.keyCode?e.keyCode:e.which,ts;if(key===32){togglePlayPause()}else if(key===38){ts=parseFloat(_shiftSelectedValue(timeScale,-1,timeScaleLabel));linkedAnimation.timeScale(ts);record("timeScale",ts)}else if(key===40){ts=parseFloat(_shiftSelectedValue(timeScale,1,timeScaleLabel));linkedAnimation.timeScale(ts);record("timeScale",ts)}else if(key===37){onPressRewind(e)}else if(key===39){linkedAnimation.progress(outProgress/100)}else if(key===76){toggleLoop()}else if(key===72){toggleHide()}else if(key===73){inProgress=linkedAnimation.progress()*100;record("in",inProgress);inPoint.style.left=inProgress+"%";updateProgress(!0)}else if(key===79){outProgress=linkedAnimation.progress()*100;record("out",outProgress);outPoint.style.left=outProgress+"%";updateProgress(!0)}};_addListener(_docEl,"keydown",keyboardHandler)}}
670gsap.set(playhead,{xPercent:-50,x:0,data:"root"});gsap.set(inPoint,{xPercent:-100,x:0,data:"root"});inPoint._gsIgnore=outPoint._gsIgnore=playhead._gsIgnore=playPauseButton._gsIgnore=loopButton._gsIgnore=!0;gsap.killTweensOf([inPoint,outPoint,playhead]);initialize(_startupPhase);if(_startupPhase){_delayedCall(0.0001,initialize,[!1],this)}
671gsap.ticker.add(updateProgress);this.update=function(forceMerge){if(_rootInstance===_self){if(!_rootTween.paused()||forceMerge){_merge()}
672updateRootDuration()}};this.kill=function(){_removeListener(list,"change",onChangeAnimation);_removeListener(list,"mousedown",updateList);_removeListener(playPauseButton,"mousedown",togglePlayPause);_removeListener(find(".seek-bar"),"mousedown",onPressSeekBar);_removeListener(find(".rewind"),"mousedown",onPressRewind);_removeListener(loopButton,"mousedown",toggleLoop);_removeListener(timeScale,"change",onChangeTimeScale);progressDrag.disable();inDrag.disable();outDrag.disable();gsap.ticker.remove(updateProgress);_removeListener(root,"mouseout",onMouseOut);_removeListener(root,"mouseover",show);_removeListener(_docEl,"keydown",keyboardHandler);root.parentNode.removeChild(root);if(_rootInstance===_self){_rootInstance=null}
673delete _lookup[vars.id+""]};this.minimal=function(value){var isMinimal=root.classList.contains("minimal"),p;if(!arguments.length||isMinimal===value){return isMinimal}
674if(value){root.classList.add("minimal")}else{root.classList.remove("minimal")}
675if(vars.container){root.style.top=value?"calc(100% - 42px)":"calc(100% - 51px)"}
676if(progressDrag.isPressed){skipDragUpdates=!0;progressDrag.endDrag(progressDrag.pointerEvent);skipDragUpdates=!1;p=linkedAnimation.progress()*100;progressBar.style.width=Math.max(0,p-inProgress)+"%";playhead.style.left=p+"%";playhead.style.transform="translate(-50%,0)";playhead._gsap.x="0px";playhead._gsap.xPercent=-50;progressDrag.startDrag(progressDrag.pointerEvent,!0)}};this.animation=animation;this.updateList=updateList};GSDevTools.version="3.7.1";GSDevTools.globalRecordingTime=2;GSDevTools.getById=function(id){return id?_lookup[id]:_rootInstance};GSDevTools.getByAnimation=function(animation){if(_isString(animation)){animation=gsap.getById(animation)}
677for(var p in _lookup){if(_lookup[p].animation()===animation){return _lookup[p]}}};GSDevTools.create=function(vars){return new GSDevTools(vars)};GSDevTools.register=_initCore;_getGSAP()&&gsap.registerPlugin(GSDevTools)}),
vendor: 10,543 bytes, lines 677-722
677"./node_modules/gsap/InertiaPlugin.js":
678/*!********************************************!*\
679  !*** ./node_modules/gsap/InertiaPlugin.js ***!
680  \********************************************/
681/*! exports provided: InertiaPlugin, default, VelocityTracker */
682(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"InertiaPlugin",function(){return InertiaPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return InertiaPlugin});var _utils_VelocityTracker_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/VelocityTracker.js */"./node_modules/gsap/utils/VelocityTracker.js");__webpack_require__.d(__webpack_exports__,"VelocityTracker",function(){return _utils_VelocityTracker_js__WEBPACK_IMPORTED_MODULE_0__.VelocityTracker});
683/*!
684 * InertiaPlugin 3.7.1
685 * https://greensock.com
686 *
687 * @license Copyright 2008-2021, GreenSock. All rights reserved.
688 * Subject to the terms at https://greensock.com/standard-license or for
689 * Club GreenSock members, the agreement issued with that membership.
690 * @author: Jack Doyle, [email protected]
691*/
692var gsap,_coreInitted,_parseEase,_toArray,_power3,_config,_getUnit,PropTween,_getCache,_checkPointRatio,_clamp,_processingVars,_getTracker=_utils_VelocityTracker_js__WEBPACK_IMPORTED_MODULE_0__.VelocityTracker.getByTarget,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isString=function _isString(value){return typeof value==="string"},_isNumber=function _isNumber(value){return typeof value==="number"},_isObject=function _isObject(value){return typeof value==="object"},_isFunction=function _isFunction(value){return typeof value==="function"},_bonusValidated=1,_isArray=Array.isArray,_emptyFunc=function _emptyFunc(p){return p},_bigNum=1e10,_tinyNum=1/_bigNum,_checkPoint=0.05,_round=function _round(value){return Math.round(value*10000)/10000},_extend=function _extend(obj,defaults,exclude){for(var p in defaults){if(!(p in obj)&&p!==exclude){obj[p]=defaults[p]}}
693return obj},_deepClone=function _deepClone(obj){var copy={},p,v;for(p in obj){copy[p]=_isObject(v=obj[p])?_deepClone(v):v}
694return copy},_getClosest=function _getClosest(n,values,max,min,radius){var i=values.length,closest=0,absDif=_bigNum,val,dif,p,dist;if(_isObject(n)){while(i--){val=values[i];dif=0;for(p in n){dist=val[p]-n[p];dif+=dist*dist}
695if(dif<absDif){closest=i;absDif=dif}}
696if((radius||_bigNum)<_bigNum&&radius<Math.sqrt(absDif)){return n}}else{while(i--){val=values[i];dif=val-n;if(dif<0){dif=-dif}
697if(dif<absDif&&val>=min&&val<=max){closest=i;absDif=dif}}}
698return values[closest]},_parseEnd=function _parseEnd(curProp,end,max,min,name,radius,velocity){if(curProp.end==="auto"){return curProp}
699var endVar=curProp.end,adjustedEnd,p;max=isNaN(max)?_bigNum:max;min=isNaN(min)?-_bigNum:min;if(_isObject(end)){adjustedEnd=end.calculated?end:(_isFunction(endVar)?endVar(end,velocity):_getClosest(end,endVar,max,min,radius))||end;if(!end.calculated){for(p in adjustedEnd){end[p]=adjustedEnd[p]}
700end.calculated=!0}
701adjustedEnd=adjustedEnd[name]}else{adjustedEnd=_isFunction(endVar)?endVar(end,velocity):_isArray(endVar)?_getClosest(end,endVar,max,min,radius):parseFloat(endVar)}
702if(adjustedEnd>max){adjustedEnd=max}else if(adjustedEnd<min){adjustedEnd=min}
703return{max:adjustedEnd,min:adjustedEnd,unitFactor:curProp.unitFactor}},_getNumOrDefault=function _getNumOrDefault(vars,property,defaultValue){return isNaN(vars[property])?defaultValue:+vars[property]},_calculateChange=function _calculateChange(velocity,duration){return duration*_checkPoint*velocity/_checkPointRatio},_calculateDuration=function _calculateDuration(start,end,velocity){return Math.abs((end-start)*_checkPointRatio/velocity/_checkPoint)},_reservedProps={resistance:1,checkpoint:1,preventOvershoot:1,linkedProps:1,radius:1,duration:1},_processLinkedProps=function _processLinkedProps(target,vars,getVal,resistance){if(vars.linkedProps){var linkedPropNames=vars.linkedProps.split(","),linkedProps={},i,p,curProp,curVelocity,tracker,curDuration;for(i=0;i<linkedPropNames.length;i++){p=linkedPropNames[i];curProp=vars[p];if(curProp){if(_isNumber(curProp.velocity)){curVelocity=curProp.velocity}else{tracker=tracker||_getTracker(target);curVelocity=tracker&&tracker.isTracking(p)?tracker.get(p):0}
704curDuration=Math.abs(curVelocity/_getNumOrDefault(curProp,"resistance",resistance));linkedProps[p]=parseFloat(getVal(target,p))+_calculateChange(curVelocity,curDuration)}}
705return linkedProps}},_calculateTweenDuration=function _calculateTweenDuration(target,vars,maxDuration,minDuration,overshootTolerance,recordEnd){if(maxDuration===void 0){maxDuration=10}
706if(minDuration===void 0){minDuration=0.2}
707if(overshootTolerance===void 0){overshootTolerance=1}
708if(recordEnd===void 0){recordEnd=0}
709_isString(target)&&(target=_toArray(target)[0]);if(!target){return 0}
710var duration=0,clippedDuration=_bigNum,inertiaVars=vars.inertia||vars,getVal=_getCache(target).get,resistance=_getNumOrDefault(inertiaVars,"resistance",_config.resistance),p,curProp,curDuration,curVelocity,curVal,end,curClippedDuration,tracker,unitFactor,linkedProps;linkedProps=_processLinkedProps(target,inertiaVars,getVal,resistance);for(p in inertiaVars){if(!_reservedProps[p]){curProp=inertiaVars[p];if(!_isObject(curProp)){tracker=tracker||_getTracker(target);if(tracker&&tracker.isTracking(p)){curProp=_isNumber(curProp)?{velocity:curProp}:{velocity:tracker.get(p)}}else{curVelocity=+curProp||0;curDuration=Math.abs(curVelocity/resistance)}}
711if(_isObject(curProp)){if(_isNumber(curProp.velocity)){curVelocity=curProp.velocity}else{tracker=tracker||_getTracker(target);curVelocity=tracker&&tracker.isTracking(p)?tracker.get(p):0}
712curDuration=_clamp(minDuration,maxDuration,Math.abs(curVelocity/_getNumOrDefault(curProp,"resistance",resistance)));curVal=parseFloat(getVal(target,p))||0;end=curVal+_calculateChange(curVelocity,curDuration);if("end" in curProp){curProp=_parseEnd(curProp,linkedProps&&p in linkedProps?linkedProps:end,curProp.max,curProp.min,p,inertiaVars.radius,curVelocity);if(recordEnd){_processingVars===vars&&(_processingVars=inertiaVars=_deepClone(vars));inertiaVars[p]=_extend(curProp,inertiaVars[p],"end")}}
713if("max" in curProp&&end>+curProp.max+_tinyNum){unitFactor=curProp.unitFactor||_config.unitFactors[p]||1;curClippedDuration=curVal>curProp.max&&curProp.min!==curProp.max||curVelocity*unitFactor>-15&&curVelocity*unitFactor<45?minDuration+(maxDuration-minDuration)*0.1:_calculateDuration(curVal,curProp.max,curVelocity);if(curClippedDuration+overshootTolerance<clippedDuration){clippedDuration=curClippedDuration+overshootTolerance}}else if("min" in curProp&&end<+curProp.min-_tinyNum){unitFactor=curProp.unitFactor||_config.unitFactors[p]||1;curClippedDuration=curVal<curProp.min&&curProp.min!==curProp.max||curVelocity*unitFactor>-45&&curVelocity*unitFactor<15?minDuration+(maxDuration-minDuration)*0.1:_calculateDuration(curVal,curProp.min,curVelocity);if(curClippedDuration+overshootTolerance<clippedDuration){clippedDuration=curClippedDuration+overshootTolerance}}
714curClippedDuration>duration&&(duration=curClippedDuration)}
715curDuration>duration&&(duration=curDuration)}}
716duration>clippedDuration&&(duration=clippedDuration);return duration>maxDuration?maxDuration:duration<minDuration?minDuration:duration},_initCore=function _initCore(){gsap=_getGSAP();if(gsap){_parseEase=gsap.parseEase;_toArray=gsap.utils.toArray;_getUnit=gsap.utils.getUnit;_getCache=gsap.core.getCache;_clamp=gsap.utils.clamp;_power3=_parseEase("power3");_checkPointRatio=_power3(0.05);PropTween=gsap.core.PropTween;gsap.config({resistance:100,unitFactors:{time:1000,totalTime:1000,progress:1000,totalProgress:1000}});_config=gsap.config();gsap.registerPlugin(_utils_VelocityTracker_js__WEBPACK_IMPORTED_MODULE_0__.VelocityTracker);_coreInitted=1}};var InertiaPlugin={version:"3.7.1",name:"inertia",register:function register(core){gsap=core;_initCore()},init:function init(target,vars,tween,index,targets){_coreInitted||_initCore();var tracker=_getTracker(target);if(vars==="auto"){if(!tracker){console.warn("No inertia tracking on "+target+". InertiaPlugin.track(target) first.");return}
717vars=tracker.getAll()}
718this.target=target;this.tween=tween;_processingVars=vars;var cache=target._gsap,getVal=cache.get,dur=vars.duration,durIsObj=_isObject(dur),preventOvershoot=vars.preventOvershoot||durIsObj&&dur.overshoot===0,resistance=_getNumOrDefault(vars,"resistance",_config.resistance),duration=_isNumber(dur)?dur:_calculateTweenDuration(target,vars,durIsObj&&dur.max||10,durIsObj&&dur.min||0.2,durIsObj&&"overshoot" in dur?+dur.overshoot:preventOvershoot?0:1,!0),p,curProp,curVal,unit,velocity,change1,end,change2,linkedProps;vars=_processingVars;_processingVars=0;linkedProps=_processLinkedProps(target,vars,getVal,resistance);for(p in vars){if(!_reservedProps[p]){curProp=vars[p];_isFunction(curProp)&&(curProp=curProp(index,target,targets));if(_isNumber(curProp)){velocity=curProp}else if(_isObject(curProp)&&!isNaN(curProp.velocity)){velocity=+curProp.velocity}else{if(tracker&&tracker.isTracking(p)){velocity=tracker.get(p)}else{console.warn("ERROR: No velocity was defined for "+target+" property: "+p)}}
719change1=_calculateChange(velocity,duration);change2=0;curVal=getVal(target,p);unit=_getUnit(curVal);curVal=parseFloat(curVal);if(_isObject(curProp)){end=curVal+change1;if("end" in curProp){curProp=_parseEnd(curProp,linkedProps&&p in linkedProps?linkedProps:end,curProp.max,curProp.min,p,vars.radius,velocity)}
720if("max" in curProp&&+curProp.max<end){if(preventOvershoot||curProp.preventOvershoot){change1=curProp.max-curVal}else{change2=curProp.max-curVal-change1}}else if("min" in curProp&&+curProp.min>end){if(preventOvershoot||curProp.preventOvershoot){change1=curProp.min-curVal}else{change2=curProp.min-curVal-change1}}}
721this._props.push(p);this._pt=new PropTween(this._pt,target,p,curVal,0,_emptyFunc,0,cache.set(target,p,this));this._pt.u=unit||0;this._pt.c1=change1;this._pt.c2=change2}}
722tween.duration(duration);return _bonusValidated},render:function render(ratio,data){var pt=data._pt;ratio=_power3(data.tween._time/data.tween._dur);while(pt){pt.set(pt.t,pt.p,_round(pt.s+pt.c1*ratio+pt.c2*ratio*ratio)+pt.u,pt.d,ratio);pt=pt._next}}};"track,untrack,isTracking,getVelocity,getByTarget".split(",").forEach(function(name){return InertiaPlugin[name]=_utils_VelocityTracker_js__WEBPACK_IMPORTED_MODULE_0__.VelocityTracker[name]});_getGSAP()&&gsap.registerPlugin(InertiaPlugin)}),
vendor: 20,356 bytes, lines 722-795
722"./node_modules/gsap/MorphSVGPlugin.js":
723/*!*********************************************!*\
724  !*** ./node_modules/gsap/MorphSVGPlugin.js ***!
725  \*********************************************/
726/*! exports provided: MorphSVGPlugin, default */
727(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"MorphSVGPlugin",function(){return MorphSVGPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return MorphSVGPlugin});var _utils_paths_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/paths.js */"./node_modules/gsap/utils/paths.js");
728/*!
729 * MorphSVGPlugin 3.7.1
730 * https://greensock.com
731 *
732 * @license Copyright 2008-2021, GreenSock. All rights reserved.
733 * Subject to the terms at https://greensock.com/standard-license or for
734 * Club GreenSock members, the agreement issued with that membership.
735 * @author: Jack Doyle, [email protected]
736*/
737var gsap,_toArray,_lastLinkedAnchor,_doc,_coreInitted,PluginClass,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isFunction=function _isFunction(value){return typeof value==="function"},_atan2=Math.atan2,_cos=Math.cos,_sin=Math.sin,_sqrt=Math.sqrt,_PI=Math.PI,_2PI=_PI*2,_angleMin=_PI*0.3,_angleMax=_PI*0.7,_bigNum=1e20,_numExp=/[-+=\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/gi,_selectorExp=/(^[#\.][a-z]|[a-y][a-z])/i,_commands=/[achlmqstvz]/i,_log=function _log(message){return console&&console.warn(message)},_bonusValidated=1,_getAverageXY=function _getAverageXY(segment){var l=segment.length,x=0,y=0,i;for(i=0;i<l;i++){x+=segment[i++];y+=segment[i]}
738return[x/(l/2),y/(l/2)]},_getSize=function _getSize(segment){var l=segment.length,xMax=segment[0],xMin=xMax,yMax=segment[1],yMin=yMax,x,y,i;for(i=6;i<l;i+=6){x=segment[i];y=segment[i+1];if(x>xMax){xMax=x}else if(x<xMin){xMin=x}
739if(y>yMax){yMax=y}else if(y<yMin){yMin=y}}
740segment.centerX=(xMax+xMin)/2;segment.centerY=(yMax+yMin)/2;return segment.size=(xMax-xMin)*(yMax-yMin)},_getTotalSize=function _getTotalSize(rawPath,samplesPerBezier){if(samplesPerBezier===void 0){samplesPerBezier=3}
741var j=rawPath.length,xMax=rawPath[0][0],xMin=xMax,yMax=rawPath[0][1],yMin=yMax,inc=1/samplesPerBezier,l,x,y,i,segment,k,t,inv,x1,y1,x2,x3,x4,y2,y3,y4;while(--j>-1){segment=rawPath[j];l=segment.length;for(i=6;i<l;i+=6){x1=segment[i];y1=segment[i+1];x2=segment[i+2]-x1;y2=segment[i+3]-y1;x3=segment[i+4]-x1;y3=segment[i+5]-y1;x4=segment[i+6]-x1;y4=segment[i+7]-y1;k=samplesPerBezier;while(--k>-1){t=inc*k;inv=1-t;x=(t*t*x4+3*inv*(t*x3+inv*x2))*t+x1;y=(t*t*y4+3*inv*(t*y3+inv*y2))*t+y1;if(x>xMax){xMax=x}else if(x<xMin){xMin=x}
742if(y>yMax){yMax=y}else if(y<yMin){yMin=y}}}}
743rawPath.centerX=(xMax+xMin)/2;rawPath.centerY=(yMax+yMin)/2;rawPath.left=xMin;rawPath.width=xMax-xMin;rawPath.top=yMin;rawPath.height=yMax-yMin;return rawPath.size=(xMax-xMin)*(yMax-yMin)},_sortByComplexity=function _sortByComplexity(a,b){return b.length-a.length},_sortBySize=function _sortBySize(a,b){var sizeA=a.size||_getSize(a),sizeB=b.size||_getSize(b);return Math.abs(sizeB-sizeA)<(sizeA+sizeB)/20?b.centerX-a.centerX||b.centerY-a.centerY:sizeB-sizeA},_offsetSegment=function _offsetSegment(segment,shapeIndex){var a=segment.slice(0),l=segment.length,wrap=l-2,i,index;shapeIndex=shapeIndex|0;for(i=0;i<l;i++){index=(i+shapeIndex)%wrap;segment[i++]=a[index];segment[i]=a[index+1]}},_getTotalMovement=function _getTotalMovement(sb,eb,shapeIndex,offsetX,offsetY){var l=sb.length,d=0,wrap=l-2,index,i,x,y;shapeIndex*=6;for(i=0;i<l;i+=6){index=(i+shapeIndex)%wrap;y=sb[index]-(eb[i]-offsetX);x=sb[index+1]-(eb[i+1]-offsetY);d+=_sqrt(x*x+y*y)}
744return d},_getClosestShapeIndex=function _getClosestShapeIndex(sb,eb,checkReverse){var l=sb.length,sCenter=_getAverageXY(sb),eCenter=_getAverageXY(eb),offsetX=eCenter[0]-sCenter[0],offsetY=eCenter[1]-sCenter[1],min=_getTotalMovement(sb,eb,0,offsetX,offsetY),minIndex=0,copy,d,i;for(i=6;i<l;i+=6){d=_getTotalMovement(sb,eb,i/6,offsetX,offsetY);if(d<min){min=d;minIndex=i}}
745if(checkReverse){copy=sb.slice(0);Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.reverseSegment)(copy);for(i=6;i<l;i+=6){d=_getTotalMovement(copy,eb,i/6,offsetX,offsetY);if(d<min){min=d;minIndex=-i}}}
746return minIndex/6},_getClosestAnchor=function _getClosestAnchor(rawPath,x,y){var j=rawPath.length,closestDistance=_bigNum,closestX=0,closestY=0,segment,dx,dy,d,i,l;while(--j>-1){segment=rawPath[j];l=segment.length;for(i=0;i<l;i+=6){dx=segment[i]-x;dy=segment[i+1]-y;d=_sqrt(dx*dx+dy*dy);if(d<closestDistance){closestDistance=d;closestX=segment[i];closestY=segment[i+1]}}}
747return[closestX,closestY]},_getClosestSegment=function _getClosestSegment(bezier,pool,startIndex,sortRatio,offsetX,offsetY){var l=pool.length,index=0,minSize=Math.min(bezier.size||_getSize(bezier),pool[startIndex].size||_getSize(pool[startIndex]))*sortRatio,min=_bigNum,cx=bezier.centerX+offsetX,cy=bezier.centerY+offsetY,size,i,dx,dy,d;for(i=startIndex;i<l;i++){size=pool[i].size||_getSize(pool[i]);if(size<minSize){break}
748dx=pool[i].centerX-cx;dy=pool[i].centerY-cy;d=_sqrt(dx*dx+dy*dy);if(d<min){index=i;min=d}}
749d=pool[index];pool.splice(index,1);return d},_subdivideSegmentQty=function _subdivideSegmentQty(segment,quantity){var tally=0,max=0.999999,l=segment.length,newPointsPerSegment=quantity/((l-2)/6),ax,ay,cp1x,cp1y,cp2x,cp2y,bx,by,x1,y1,x2,y2,i,t;for(i=2;i<l;i+=6){tally+=newPointsPerSegment;while(tally>max){ax=segment[i-2];ay=segment[i-1];cp1x=segment[i];cp1y=segment[i+1];cp2x=segment[i+2];cp2y=segment[i+3];bx=segment[i+4];by=segment[i+5];t=1/((Math.floor(tally)||1)+1);x1=ax+(cp1x-ax)*t;x2=cp1x+(cp2x-cp1x)*t;x1+=(x2-x1)*t;x2+=(cp2x+(bx-cp2x)*t-x2)*t;y1=ay+(cp1y-ay)*t;y2=cp1y+(cp2y-cp1y)*t;y1+=(y2-y1)*t;y2+=(cp2y+(by-cp2y)*t-y2)*t;segment.splice(i,4,ax+(cp1x-ax)*t,ay+(cp1y-ay)*t,x1,y1,x1+(x2-x1)*t,y1+(y2-y1)*t,x2,y2,cp2x+(bx-cp2x)*t,cp2y+(by-cp2y)*t);i+=6;l+=6;tally--}}
750return segment},_equalizeSegmentQuantity=function _equalizeSegmentQuantity(start,end,shapeIndex,map,fillSafe){var dif=end.length-start.length,longer=dif>0?end:start,shorter=dif>0?start:end,added=0,sortMethod=map==="complexity"?_sortByComplexity:_sortBySize,sortRatio=map==="position"?0:typeof map==="number"?map:0.8,i=shorter.length,shapeIndices=typeof shapeIndex==="object"&&shapeIndex.push?shapeIndex.slice(0):[shapeIndex],reverse=shapeIndices[0]==="reverse"||shapeIndices[0]<0,log=shapeIndex==="log",eb,sb,b,x,y,offsetX,offsetY;if(!shorter[0]){return}
751if(longer.length>1){start.sort(sortMethod);end.sort(sortMethod);offsetX=longer.size||_getTotalSize(longer);offsetX=shorter.size||_getTotalSize(shorter);offsetX=longer.centerX-shorter.centerX;offsetY=longer.centerY-shorter.centerY;if(sortMethod===_sortBySize){for(i=0;i<shorter.length;i++){longer.splice(i,0,_getClosestSegment(shorter[i],longer,i,sortRatio,offsetX,offsetY))}}}
752if(dif){if(dif<0){dif=-dif}
753if(longer[0].length>shorter[0].length){_subdivideSegmentQty(shorter[0],(longer[0].length-shorter[0].length)/6|0)}
754i=shorter.length;while(added<dif){x=longer[i].size||_getSize(longer[i]);b=_getClosestAnchor(shorter,longer[i].centerX,longer[i].centerY);x=b[0];y=b[1];shorter[i++]=[x,y,x,y,x,y,x,y];shorter.totalPoints+=8;added++}}
755for(i=0;i<start.length;i++){eb=end[i];sb=start[i];dif=eb.length-sb.length;if(dif<0){_subdivideSegmentQty(eb,-dif/6|0)}else if(dif>0){_subdivideSegmentQty(sb,dif/6|0)}
756if(reverse&&fillSafe!==!1&&!sb.reversed){Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.reverseSegment)(sb)}
757shapeIndex=shapeIndices[i]||shapeIndices[i]===0?shapeIndices[i]:"auto";if(shapeIndex){if(sb.closed||Math.abs(sb[0]-sb[sb.length-2])<0.5&&Math.abs(sb[1]-sb[sb.length-1])<0.5){if(shapeIndex==="auto"||shapeIndex==="log"){shapeIndices[i]=shapeIndex=_getClosestShapeIndex(sb,eb,!i||fillSafe===!1);if(shapeIndex<0){reverse=!0;Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.reverseSegment)(sb);shapeIndex=-shapeIndex}
758_offsetSegment(sb,shapeIndex*6)}else if(shapeIndex!=="reverse"){if(i&&shapeIndex<0){Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.reverseSegment)(sb)}
759_offsetSegment(sb,(shapeIndex<0?-shapeIndex:shapeIndex)*6)}}else if(!reverse&&(shapeIndex==="auto"&&Math.abs(eb[0]-sb[0])+Math.abs(eb[1]-sb[1])+Math.abs(eb[eb.length-2]-sb[sb.length-2])+Math.abs(eb[eb.length-1]-sb[sb.length-1])>Math.abs(eb[0]-sb[sb.length-2])+Math.abs(eb[1]-sb[sb.length-1])+Math.abs(eb[eb.length-2]-sb[0])+Math.abs(eb[eb.length-1]-sb[1])||shapeIndex%2)){Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.reverseSegment)(sb);shapeIndices[i]=-1;reverse=!0}else if(shapeIndex==="auto"){shapeIndices[i]=0}else if(shapeIndex==="reverse"){shapeIndices[i]=-1}
760if(sb.closed!==eb.closed){sb.closed=eb.closed=!1}}}
761log&&_log("shapeIndex:["+shapeIndices.join(",")+"]");start.shapeIndex=shapeIndices;return shapeIndices},_pathFilter=function _pathFilter(a,shapeIndex,map,precompile,fillSafe){var start=Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.stringToRawPath)(a[0]),end=Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.stringToRawPath)(a[1]);if(!_equalizeSegmentQuantity(start,end,shapeIndex||shapeIndex===0?shapeIndex:"auto",map,fillSafe)){return}
762a[0]=Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.rawPathToString)(start);a[1]=Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.rawPathToString)(end);if(precompile==="log"||precompile===!0){_log('precompile:["'+a[0]+'","'+a[1]+'"]')}},_offsetPoints=function _offsetPoints(text,offset){if(!offset){return text}
763var a=text.match(_numExp)||[],l=a.length,s="",inc,i,j;if(offset==="reverse"){i=l-1;inc=-2}else{i=((parseInt(offset,10)||0)*2+1+l*100)%l;inc=2}
764for(j=0;j<l;j+=2){s+=a[i-1]+","+a[i]+" ";i=(i+inc)%l}
765return s},_equalizePointQuantity=function _equalizePointQuantity(a,quantity){var tally=0,x=parseFloat(a[0]),y=parseFloat(a[1]),s=x+","+y+" ",max=0.999999,newPointsPerSegment,i,l,j,factor,nextX,nextY;l=a.length;newPointsPerSegment=quantity*0.5/(l*0.5-1);for(i=0;i<l-2;i+=2){tally+=newPointsPerSegment;nextX=parseFloat(a[i+2]);nextY=parseFloat(a[i+3]);if(tally>max){factor=1/(Math.floor(tally)+1);j=1;while(tally>max){s+=(x+(nextX-x)*factor*j).toFixed(2)+","+(y+(nextY-y)*factor*j).toFixed(2)+" ";tally--;j++}}
766s+=nextX+","+nextY+" ";x=nextX;y=nextY}
767return s},_pointsFilter=function _pointsFilter(a){var startNums=a[0].match(_numExp)||[],endNums=a[1].match(_numExp)||[],dif=endNums.length-startNums.length;if(dif>0){a[0]=_equalizePointQuantity(startNums,dif)}else{a[1]=_equalizePointQuantity(endNums,-dif)}},_buildPointsFilter=function _buildPointsFilter(shapeIndex){return!isNaN(shapeIndex)?function(a){_pointsFilter(a);a[1]=_offsetPoints(a[1],parseInt(shapeIndex,10))}:_pointsFilter},_parseShape=function _parseShape(shape,forcePath,target){var isString=typeof shape==="string",e,type;if(!isString||_selectorExp.test(shape)||(shape.match(_numExp)||[]).length<3){e=_toArray(shape)[0];if(e){type=(e.nodeName+"").toUpperCase();if(forcePath&&type!=="PATH"){e=Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.convertToPath)(e,!1);type="PATH"}
768shape=e.getAttribute(type==="PATH"?"d":"points")||"";if(e===target){shape=e.getAttributeNS(null,"data-original")||shape}}else{_log("WARNING: invalid morph to: "+shape);shape=!1}}
769return shape},_populateSmoothData=function _populateSmoothData(rawPath,tolerance){var j=rawPath.length,limit=0.2*(tolerance||1),smooth,segment,x,y,x2,y2,i,l,a,a2,isSmooth,smoothData;while(--j>-1){segment=rawPath[j];isSmooth=segment.isSmooth=segment.isSmooth||[0,0,0,0];smoothData=segment.smoothData=segment.smoothData||[0,0,0,0];isSmooth.length=4;l=segment.length-2;for(i=6;i<l;i+=6){x=segment[i]-segment[i-2];y=segment[i+1]-segment[i-1];x2=segment[i+2]-segment[i];y2=segment[i+3]-segment[i+1];a=_atan2(y,x);a2=_atan2(y2,x2);smooth=Math.abs(a-a2)<limit;if(smooth){smoothData[i-2]=a;smoothData[i+2]=a2;smoothData[i-1]=_sqrt(x*x+y*y);smoothData[i+3]=_sqrt(x2*x2+y2*y2)}
770isSmooth.push(smooth,smooth,0,0,smooth,smooth)}
771if(segment[l]===segment[0]&&segment[l+1]===segment[1]){x=segment[0]-segment[l-2];y=segment[1]-segment[l-1];x2=segment[2]-segment[0];y2=segment[3]-segment[1];a=_atan2(y,x);a2=_atan2(y2,x2);if(Math.abs(a-a2)<limit){smoothData[l-2]=a;smoothData[2]=a2;smoothData[l-1]=_sqrt(x*x+y*y);smoothData[3]=_sqrt(x2*x2+y2*y2);isSmooth[l-2]=isSmooth[l-1]=!0}}}
772return rawPath},_parseOriginFactors=function _parseOriginFactors(v){var a=v.trim().split(" "),x=~v.indexOf("left")?0:~v.indexOf("right")?100:isNaN(parseFloat(a[0]))?50:parseFloat(a[0]),y=~v.indexOf("top")?0:~v.indexOf("bottom")?100:isNaN(parseFloat(a[1]))?50:parseFloat(a[1]);return{x:x/100,y:y/100}},_shortAngle=function _shortAngle(dif){return dif!==dif%_PI?dif+(dif<0?_2PI:-_2PI):dif},_morphMessage="Use MorphSVGPlugin.convertToPath() to convert to a path before morphing.",_tweenRotation=function _tweenRotation(start,end,i,linkedPT){var so=this._origin,eo=this._eOrigin,dx=start[i]-so.x,dy=start[i+1]-so.y,d=_sqrt(dx*dx+dy*dy),sa=_atan2(dy,dx),angleDif,_short;dx=end[i]-eo.x;dy=end[i+1]-eo.y;angleDif=_atan2(dy,dx)-sa;_short=_shortAngle(angleDif);if(!linkedPT&&_lastLinkedAnchor&&Math.abs(_short+_lastLinkedAnchor.ca)<_angleMin){linkedPT=_lastLinkedAnchor}
773return this._anchorPT=_lastLinkedAnchor={_next:this._anchorPT,t:start,sa:sa,ca:linkedPT&&_short*linkedPT.ca<0&&Math.abs(_short)>_angleMax?angleDif:_short,sl:d,cl:_sqrt(dx*dx+dy*dy)-d,i:i}},_initCore=function _initCore(required){gsap=_getGSAP();PluginClass=PluginClass||gsap&&gsap.plugins.morphSVG;if(gsap&&PluginClass){_toArray=gsap.utils.toArray;_doc=document;PluginClass.prototype._tweenRotation=_tweenRotation;_coreInitted=1}else if(required){_log("Please gsap.registerPlugin(MorphSVGPlugin)")}};var MorphSVGPlugin={version:"3.7.1",name:"morphSVG",rawVars:1,register:function register(core,Plugin){gsap=core;PluginClass=Plugin;_initCore()},init:function init(target,value,tween,index,targets){_coreInitted||_initCore(1);if(!value){_log("invalid shape");return!1}
774_isFunction(value)&&(value=value.call(tween,index,target,targets));var type,p,pt,shape,isPoly,shapeIndex,map,startSmooth,endSmooth,start,end,i,j,l,startSeg,endSeg,precompiled,sData,eData,originFactors,useRotation,offset;if(typeof value==="string"||value.getBBox||value[0]){value={shape:value}}else if(typeof value==="object"){type={};for(p in value){type[p]=_isFunction(value[p])&&p!=="render"?value[p].call(tween,index,target,targets):value[p]}
775value=type}
776var cs=target.nodeType?window.getComputedStyle(target):{},fill=cs.fill+"",fillSafe=!(fill==="none"||(fill.match(_numExp)||[])[3]==="0"||cs.fillRule==="evenodd"),origins=(value.origin||"50 50").split(",");type=(target.nodeName+"").toUpperCase();isPoly=type==="POLYLINE"||type==="POLYGON";if(type!=="PATH"&&!isPoly&&!value.prop){_log("Cannot morph a <"+type+"> element. "+_morphMessage);return!1}
777p=type==="PATH"?"d":"points";if(!value.prop&&!_isFunction(target.setAttribute)){return!1}
778shape=_parseShape(value.shape||value.d||value.points||"",p==="d",target);if(isPoly&&_commands.test(shape)){_log("A <"+type+"> cannot accept path data. "+_morphMessage);return!1}
779shapeIndex=value.shapeIndex||value.shapeIndex===0?value.shapeIndex:"auto";map=value.map||MorphSVGPlugin.defaultMap;this._prop=value.prop;this._render=value.render||MorphSVGPlugin.defaultRender;this._apply="updateTarget" in value?value.updateTarget:MorphSVGPlugin.defaultUpdateTarget;this._rnd=Math.pow(10,isNaN(value.precision)?2:+value.precision);this._tween=tween;if(shape){this._target=target;precompiled=typeof value.precompile==="object";start=this._prop?target[this._prop]:target.getAttribute(p);if(!this._prop&&!target.getAttributeNS(null,"data-original")){target.setAttributeNS(null,"data-original",start)}
780if(p==="d"||this._prop){start=Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.stringToRawPath)(precompiled?value.precompile[0]:start);end=Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.stringToRawPath)(precompiled?value.precompile[1]:shape);if(!precompiled&&!_equalizeSegmentQuantity(start,end,shapeIndex,map,fillSafe)){return!1}
781if(value.precompile==="log"||value.precompile===!0){_log('precompile:["'+Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.rawPathToString)(start)+'","'+Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.rawPathToString)(end)+'"]')}
782useRotation=(value.type||MorphSVGPlugin.defaultType)!=="linear";if(useRotation){start=_populateSmoothData(start,value.smoothTolerance);end=_populateSmoothData(end,value.smoothTolerance);if(!start.size){_getTotalSize(start)}
783if(!end.size){_getTotalSize(end)}
784originFactors=_parseOriginFactors(origins[0]);this._origin=start.origin={x:start.left+originFactors.x*start.width,y:start.top+originFactors.y*start.height};if(origins[1]){originFactors=_parseOriginFactors(origins[1])}
785this._eOrigin={x:end.left+originFactors.x*end.width,y:end.top+originFactors.y*end.height}}
786this._rawPath=target._gsRawPath=start;j=start.length;while(--j>-1){startSeg=start[j];endSeg=end[j];startSmooth=startSeg.isSmooth||[];endSmooth=endSeg.isSmooth||[];l=startSeg.length;_lastLinkedAnchor=0;for(i=0;i<l;i+=2){if(endSeg[i]!==startSeg[i]||endSeg[i+1]!==startSeg[i+1]){if(useRotation){if(startSmooth[i]&&endSmooth[i]){sData=startSeg.smoothData;eData=endSeg.smoothData;offset=i+(i===l-4?7-l:5);this._controlPT={_next:this._controlPT,i:i,j:j,l1s:sData[i+1],l1c:eData[i+1]-sData[i+1],l2s:sData[offset],l2c:eData[offset]-sData[offset]};pt=this._tweenRotation(startSeg,endSeg,i+2);this._tweenRotation(startSeg,endSeg,i,pt);this._tweenRotation(startSeg,endSeg,offset-1,pt);i+=4}else{this._tweenRotation(startSeg,endSeg,i)}}else{pt=this.add(startSeg,i,startSeg[i],endSeg[i]);pt=this.add(startSeg,i+1,startSeg[i+1],endSeg[i+1])||pt}}}}}else{pt=this.add(target,"setAttribute",target.getAttribute(p)+"",shape+"",index,targets,0,_buildPointsFilter(shapeIndex),p)}
787if(useRotation){this.add(this._origin,"x",this._origin.x,this._eOrigin.x);pt=this.add(this._origin,"y",this._origin.y,this._eOrigin.y)}
788if(pt){this._props.push("morphSVG");pt.end=shape;pt.endProp=p}}
789return _bonusValidated},render:function render(ratio,data){var rawPath=data._rawPath,controlPT=data._controlPT,anchorPT=data._anchorPT,rnd=data._rnd,target=data._target,pt=data._pt,s,space,easeInOut,segment,l,angle,i,j,x,y,sin,cos,offset;while(pt){pt.r(ratio,pt.d);pt=pt._next}
790if(ratio===1&&data._apply){pt=data._pt;while(pt){if(pt.end){if(data._prop){target[data._prop]=pt.end}else{target.setAttribute(pt.endProp,pt.end)}}
791pt=pt._next}}else if(rawPath){while(anchorPT){angle=anchorPT.sa+ratio*anchorPT.ca;l=anchorPT.sl+ratio*anchorPT.cl;anchorPT.t[anchorPT.i]=data._origin.x+_cos(angle)*l;anchorPT.t[anchorPT.i+1]=data._origin.y+_sin(angle)*l;anchorPT=anchorPT._next}
792easeInOut=ratio<0.5?2*ratio*ratio:(4-2*ratio)*ratio-1;while(controlPT){i=controlPT.i;segment=rawPath[controlPT.j];offset=i+(i===segment.length-4?7-segment.length:5);angle=_atan2(segment[offset]-segment[i+1],segment[offset-1]-segment[i]);sin=_sin(angle);cos=_cos(angle);x=segment[i+2];y=segment[i+3];l=controlPT.l1s+easeInOut*controlPT.l1c;segment[i]=x-cos*l;segment[i+1]=y-sin*l;l=controlPT.l2s+easeInOut*controlPT.l2c;segment[offset-1]=x+cos*l;segment[offset]=y+sin*l;controlPT=controlPT._next}
793target._gsRawPath=rawPath;if(data._apply){s="";space=" ";for(j=0;j<rawPath.length;j++){segment=rawPath[j];l=segment.length;s+="M"+(segment[0]*rnd|0)/rnd+space+(segment[1]*rnd|0)/rnd+" C";for(i=2;i<l;i++){s+=(segment[i]*rnd|0)/rnd+space}}
794if(data._prop){target[data._prop]=s}else{target.setAttribute("d",s)}}}
795data._render&&rawPath&&data._render.call(data._tween,rawPath,target)},kill:function kill(property){this._pt=this._rawPath=0},getRawPath:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.getRawPath,stringToRawPath:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.stringToRawPath,rawPathToString:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.rawPathToString,normalizeStrings:function normalizeStrings(shape1,shape2,_ref){var shapeIndex=_ref.shapeIndex,map=_ref.map;var result=[shape1,shape2];_pathFilter(result,shapeIndex,map);return result},pathFilter:_pathFilter,pointsFilter:_pointsFilter,getTotalSize:_getTotalSize,equalizeSegmentQuantity:_equalizeSegmentQuantity,convertToPath:function convertToPath(targets,swap){return _toArray(targets).map(function(target){return Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.convertToPath)(target,swap!==!1)})},defaultType:"linear",defaultUpdateTarget:!0,defaultMap:"size"};_getGSAP()&&gsap.registerPlugin(MorphSVGPlugin)}),
vendor: 8,507 bytes, lines 795-826
795"./node_modules/gsap/MotionPathHelper.js":
796/*!***********************************************!*\
797  !*** ./node_modules/gsap/MotionPathHelper.js ***!
798  \***********************************************/
799/*! exports provided: MotionPathHelper, default */
800(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"MotionPathHelper",function(){return MotionPathHelper});__webpack_require__.d(__webpack_exports__,"default",function(){return MotionPathHelper});var _utils_PathEditor_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/PathEditor.js */"./node_modules/gsap/utils/PathEditor.js");
801/*!
802 * MotionPathHelper 3.7.1
803 * https://greensock.com
804 *
805 * @license Copyright 2008-2021, GreenSock. All rights reserved.
806 * Subject to the terms at https://greensock.com/standard-license or for
807 * Club GreenSock members, the agreement issued with that membership.
808 * @author: Jack Doyle, [email protected]
809*/
810var gsap,_win,_doc,_docEl,_body,MotionPathPlugin,_arrayToRawPath,_rawPathToString,_bonusValidated=1,_selectorExp=/(^[#\.][a-z]|[a-y][a-z])/i,_isString=function _isString(value){return typeof value==="string"},_createElement=function _createElement(type,ns){var e=_doc.createElementNS?_doc.createElementNS((ns||"http://www.w3.org/1999/xhtml").replace(/^https/,"http"),type):_doc.createElement(type);return e.style?e:_doc.createElement(type)},_getPositionOnPage=function _getPositionOnPage(target){var bounds=target.getBoundingClientRect(),windowOffsetY=_docEl.clientTop-(_win.pageYOffset||_docEl.scrollTop||_body.scrollTop||0),windowOffsetX=_docEl.clientLeft-(_win.pageXOffset||_docEl.scrollLeft||_body.scrollLeft||0);return{left:bounds.left+windowOffsetX,top:bounds.top+windowOffsetY,right:bounds.right+windowOffsetX,bottom:bounds.bottom+windowOffsetY}},_getInitialPath=function _getInitialPath(x,y){var coordinates=[0,31,8,58,24,75,40,90,69,100,100,100],i;for(i=0;i<coordinates.length;i+=2){coordinates[i]+=x;coordinates[i+1]+=y}
811return"M"+x+","+y+"C"+coordinates.join(",")},_getGlobalTime=function _getGlobalTime(animation){var time=animation.totalTime();while(animation){time=animation.startTime()+time/(animation.timeScale()||1);animation=animation.parent}
812return time},_copyElement,_initCopyToClipboard=function _initCopyToClipboard(){_copyElement=_createElement("textarea");_copyElement.style.display="none";_body.appendChild(_copyElement)},_parsePath=function _parsePath(path,target,vars){return _isString(path)&&_selectorExp.test(path)?_doc.querySelector(path):Array.isArray(path)?_rawPathToString(_arrayToRawPath([{x:gsap.getProperty(target,"x"),y:gsap.getProperty(target,"y")}].concat(path),vars)):_isString(path)||path&&(path.tagName+"").toLowerCase()==="path"?path:0},_addCopyToClipboard=function _addCopyToClipboard(target,getter,onComplete){target.addEventListener('click',function(e){if(e.target._gsHelper){var c=getter(e.target);_copyElement.value=c;if(c&&_copyElement.select){console.log(c);_copyElement.style.display="block";_copyElement.select();try{_doc.execCommand('copy');_copyElement.blur();onComplete&&onComplete(target)}catch(err){console.warn("Copy didn't work; this browser doesn't permit that.")}
813_copyElement.style.display="none"}}})},_identityMatrixObject={matrix:{a:1,b:0,c:0,d:1,e:0,f:0}},_getConsolidatedMatrix=function _getConsolidatedMatrix(target){return(target.transform.baseVal.consolidate()||_identityMatrixObject).matrix},_findMotionPathTween=function _findMotionPathTween(target){var tweens=gsap.getTweensOf(target),i=0;for(;i<tweens.length;i++){if(tweens[i].vars.motionPath){return tweens[i]}else if(tweens[i].timeline){tweens.push.apply(tweens,tweens[i].timeline.getChildren())}}},_initCore=function _initCore(core,required){var message="Please gsap.registerPlugin(MotionPathPlugin)";_win=window;gsap=gsap||core||_win.gsap||console.warn(message);_doc=document;_body=_doc.body;_docEl=_doc.documentElement;MotionPathPlugin=gsap&&gsap.plugins.motionPath;if(!MotionPathPlugin){required===!0&&console.warn(message)}else{_initCopyToClipboard();_arrayToRawPath=MotionPathPlugin.arrayToRawPath;_rawPathToString=MotionPathPlugin.rawPathToString}};var MotionPathHelper=function(){function MotionPathHelper(targetOrTween,vars){if(vars===void 0){vars={}}
814if(!MotionPathPlugin){_initCore(vars.gsap,1)}
815var copyButton=_createElement("div"),self=this,offset={x:0,y:0},target,path,isSVG,startX,startY,position,svg,animation,svgNamespace,temp,matrix,refreshPath,animationToScrub;if(targetOrTween instanceof gsap.core.Tween){animation=targetOrTween;target=animation.targets()[0]}else{target=gsap.utils.toArray(targetOrTween)[0];animation=_findMotionPathTween(target)}
816path=_parsePath(vars.path,target,vars);this.offset=offset;position=_getPositionOnPage(target);startX=parseFloat(gsap.getProperty(target,"x","px"));startY=parseFloat(gsap.getProperty(target,"y","px"));isSVG=target.getCTM&&target.tagName.toLowerCase()!=="svg";if(animation&&!path){path=_parsePath(animation.vars.motionPath.path||animation.vars.motionPath,target,animation.vars.motionPath)}
817copyButton.setAttribute("class","copy-motion-path");copyButton.style.cssText="border-radius:8px; background-color:rgba(85, 85, 85, 0.7); color:#fff; cursor:pointer; padding:6px 12px; font-family:Signika Negative, Arial, sans-serif; position:fixed; left:50%; transform:translate(-50%, 0); font-size:19px; bottom:10px";copyButton.innerText="COPY MOTION PATH";copyButton._gsHelper=self;(gsap.utils.toArray(vars.container)[0]||_body).appendChild(copyButton);_addCopyToClipboard(copyButton,function(){return self.getString()},function(){return gsap.fromTo(copyButton,{backgroundColor:"white"},{duration:0.5,backgroundColor:"rgba(85, 85, 85, 0.6)"})});svg=path&&path.ownerSVGElement;if(!svg){svgNamespace=isSVG&&target.ownerSVGElement&&target.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg";if(isSVG){svg=target.ownerSVGElement;temp=target.getBBox();matrix=_getConsolidatedMatrix(target);startX=matrix.e;startY=matrix.f;offset.x=temp.x;offset.y=temp.y}else{svg=_createElement("svg",svgNamespace);_body.appendChild(svg);svg.setAttribute("viewBox","0 0 100 100");svg.style.cssText="overflow:visible; background-color: transparent; position:absolute; width:100px; height:100px; top:"+(position.top-startY)+"px; left:"+(position.left-startX)+"px;"}
818temp=_isString(path)&&!_selectorExp.test(path)?path:_getInitialPath(startX,startY);path=_createElement("path",svgNamespace);path.setAttribute("d",temp);path.setAttribute("vector-effect","non-scaling-stroke");path.style.cssText="fill:transparent; stroke-width:"+(vars.pathWidth||3)+"; stroke:"+(vars.pathColor||"#555")+"; opacity:"+(vars.pathOpacity||0.6);svg.appendChild(path);if(offset.x||offset.y){gsap.set(path,{x:offset.x,y:offset.y})}}
819if(!("selected" in vars)){vars.selected=!0}
820if(!("anchorSnap" in vars)){vars.anchorSnap=function(p){if(p.x*p.x+p.y*p.y<16){p.x=p.y=0}}}
821animationToScrub=animation&&animation.parent.data==="nested"?animation.parent.parent:animation;vars.onPress=function(){animationToScrub.pause(0)};refreshPath=function refreshPath(){animation.invalidate();animationToScrub.restart()};vars.onRelease=vars.onDeleteAnchor=refreshPath;this.editor=_utils_PathEditor_js__WEBPACK_IMPORTED_MODULE_0__["default"].create(path,vars);if(vars.center){gsap.set(target,{transformOrigin:"50% 50%",xPercent:-50,yPercent:-50})}
822if(animation){if(animation.vars.motionPath.path){animation.vars.motionPath.path=path}else{animation.vars.motionPath={path:path}}
823if(animationToScrub.parent!==gsap.globalTimeline){gsap.globalTimeline.add(animationToScrub,_getGlobalTime(animationToScrub)-animationToScrub.delay())}
824animationToScrub.repeat(-1).repeatDelay(1)}else{animation=animationToScrub=gsap.to(target,{motionPath:{path:path,start:vars.start||0,end:"end" in vars?vars.end:1,autoRotate:"autoRotate" in vars?vars.autoRotate:!1,align:path,alignOrigin:vars.alignOrigin},duration:vars.duration||5,ease:vars.ease||"power1.inOut",repeat:-1,repeatDelay:1,paused:!vars.path})}
825this.animation=animation}
826var _proto=MotionPathHelper.prototype;_proto.getString=function getString(){return this.editor.getString(!0,-this.offset.x,-this.offset.y)};return MotionPathHelper}();MotionPathHelper.register=_initCore;MotionPathHelper.create=function(target,vars){return new MotionPathHelper(target,vars)};MotionPathHelper.editPath=function(path,vars){return _utils_PathEditor_js__WEBPACK_IMPORTED_MODULE_0__["default"].create(path,vars)};MotionPathHelper.version="3.7.1"}),
vendor: 10,544 bytes, lines 826-859
826"./node_modules/gsap/MotionPathPlugin.js":
827/*!***********************************************!*\
828  !*** ./node_modules/gsap/MotionPathPlugin.js ***!
829  \***********************************************/
830/*! exports provided: MotionPathPlugin, default */
831(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"MotionPathPlugin",function(){return MotionPathPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return MotionPathPlugin});var _utils_paths_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/paths.js */"./node_modules/gsap/utils/paths.js");var _utils_matrix_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./utils/matrix.js */"./node_modules/gsap/utils/matrix.js");
832/*!
833 * MotionPathPlugin 3.7.1
834 * https://greensock.com
835 *
836 * @license Copyright 2008-2021, GreenSock. All rights reserved.
837 * Subject to the terms at https://greensock.com/standard-license or for
838 * Club GreenSock members, the agreement issued with that membership.
839 * @author: Jack Doyle, [email protected]
840*/
841var _xProps="x,translateX,left,marginLeft,xPercent".split(","),_yProps="y,translateY,top,marginTop,yPercent".split(","),_DEG2RAD=Math.PI/180,gsap,PropTween,_getUnit,_toArray,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_populateSegmentFromArray=function _populateSegmentFromArray(segment,values,property,mode){var l=values.length,si=mode===2?0:mode,i=0,v;for(;i<l;i++){segment[si]=v=parseFloat(values[i][property]);mode===2&&(segment[si+1]=0);si+=2}
842return segment},_getPropNum=function _getPropNum(target,prop,unit){return parseFloat(target._gsap.get(target,prop,unit||"px"))||0},_relativize=function _relativize(segment){var x=segment[0],y=segment[1],i;for(i=2;i<segment.length;i+=2){x=segment[i]+=x;y=segment[i+1]+=y}},_segmentToRawPath=function _segmentToRawPath(plugin,segment,target,x,y,slicer,vars,unitX,unitY){if(vars.type==="cubic"){segment=[segment]}else{vars.fromCurrent!==!1&&segment.unshift(_getPropNum(target,x,unitX),y?_getPropNum(target,y,unitY):0);vars.relative&&_relativize(segment);var pointFunc=y?_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.pointsToSegment:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.flatPointsToSegment;segment=[pointFunc(segment,vars.curviness)]}
843segment=slicer(_align(segment,target,vars));_addDimensionalPropTween(plugin,target,x,segment,"x",unitX);y&&_addDimensionalPropTween(plugin,target,y,segment,"y",unitY);return Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.cacheRawPathMeasurements)(segment,vars.resolution||(vars.curviness===0?20:12))},_emptyFunc=function _emptyFunc(v){return v},_numExp=/[-+\.]*\d+[\.e\-\+]*\d*[e\-\+]*\d*/g,_originToPoint=function _originToPoint(element,origin,parentMatrix){var m=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_1__.getGlobalMatrix)(element),svg,x,y;if((element.tagName+"").toLowerCase()==="svg"){svg=element.viewBox.baseVal;x=svg.x;y=svg.y;svg.width||(svg={width:+element.getAttribute("width"),height:+element.getAttribute("height")})}else{svg=origin&&element.getBBox&&element.getBBox();x=y=0}
844if(origin&&origin!=="auto"){x+=origin.push?origin[0]*(svg?svg.width:element.offsetWidth||0):origin.x;y+=origin.push?origin[1]*(svg?svg.height:element.offsetHeight||0):origin.y}
845return parentMatrix.apply(x||y?m.apply({x:x,y:y}):{x:m.e,y:m.f})},_getAlignMatrix=function _getAlignMatrix(fromElement,toElement,fromOrigin,toOrigin){var parentMatrix=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_1__.getGlobalMatrix)(fromElement.parentNode,!0,!0),m=parentMatrix.clone().multiply(Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_1__.getGlobalMatrix)(toElement)),fromPoint=_originToPoint(fromElement,fromOrigin,parentMatrix),_originToPoint2=_originToPoint(toElement,toOrigin,parentMatrix),x=_originToPoint2.x,y=_originToPoint2.y,p;m.e=m.f=0;if(toOrigin==="auto"&&toElement.getTotalLength&&toElement.tagName.toLowerCase()==="path"){p=toElement.getAttribute("d").match(_numExp)||[];p=m.apply({x:+p[0],y:+p[1]});x+=p.x;y+=p.y}
846if(p||toElement.getBBox&&fromElement.getBBox&&toElement.ownerSVGElement===fromElement.ownerSVGElement){p=m.apply(toElement.getBBox());x-=p.x;y-=p.y}
847m.e=x-fromPoint.x;m.f=y-fromPoint.y;return m},_align=function _align(rawPath,target,_ref){var align=_ref.align,matrix=_ref.matrix,offsetX=_ref.offsetX,offsetY=_ref.offsetY,alignOrigin=_ref.alignOrigin;var x=rawPath[0][0],y=rawPath[0][1],curX=_getPropNum(target,"x"),curY=_getPropNum(target,"y"),alignTarget,m,p;if(!rawPath||!rawPath.length){return Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.getRawPath)("M0,0L0,0")}
848if(align){if(align==="self"||(alignTarget=_toArray(align)[0]||target)===target){Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.transformRawPath)(rawPath,1,0,0,1,curX-x,curY-y)}else{if(alignOrigin&&alignOrigin[2]!==!1){gsap.set(target,{transformOrigin:alignOrigin[0]*100+"% "+alignOrigin[1]*100+"%"})}else{alignOrigin=[_getPropNum(target,"xPercent")/-100,_getPropNum(target,"yPercent")/-100]}
849m=_getAlignMatrix(target,alignTarget,alignOrigin,"auto");p=m.apply({x:x,y:y});Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.transformRawPath)(rawPath,m.a,m.b,m.c,m.d,curX+m.e-(p.x-m.e),curY+m.f-(p.y-m.f))}}
850if(matrix){Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.transformRawPath)(rawPath,matrix.a,matrix.b,matrix.c,matrix.d,matrix.e,matrix.f)}else if(offsetX||offsetY){Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.transformRawPath)(rawPath,1,0,0,1,offsetX||0,offsetY||0)}
851return rawPath},_addDimensionalPropTween=function _addDimensionalPropTween(plugin,target,property,rawPath,pathProperty,forceUnit){var cache=target._gsap,harness=cache.harness,alias=harness&&harness.aliases&&harness.aliases[property],prop=alias&&alias.indexOf(",")<0?alias:property,pt=plugin._pt=new PropTween(plugin._pt,target,prop,0,0,_emptyFunc,0,cache.set(target,prop,plugin));pt.u=_getUnit(cache.get(target,prop,forceUnit))||0;pt.path=rawPath;pt.pp=pathProperty;plugin._props.push(prop)},_sliceModifier=function _sliceModifier(start,end){return function(rawPath){return start||end!==1?Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.sliceRawPath)(rawPath,start,end):rawPath}};var MotionPathPlugin={version:"3.7.1",name:"motionPath",register:function register(core,Plugin,propTween){gsap=core;_getUnit=gsap.utils.getUnit;_toArray=gsap.utils.toArray;PropTween=propTween},init:function init(target,vars){if(!gsap){console.warn("Please gsap.registerPlugin(MotionPathPlugin)");return!1}
852if(!(typeof vars==="object"&&!vars.style)||!vars.path){vars={path:vars}}
853var rawPaths=[],_vars=vars,path=_vars.path,autoRotate=_vars.autoRotate,unitX=_vars.unitX,unitY=_vars.unitY,x=_vars.x,y=_vars.y,firstObj=path[0],slicer=_sliceModifier(vars.start,"end" in vars?vars.end:1),rawPath,p;this.rawPaths=rawPaths;this.target=target;if(this.rotate=autoRotate||autoRotate===0){this.rOffset=parseFloat(autoRotate)||0;this.radians=!!vars.useRadians;this.rProp=vars.rotation||"rotation";this.rSet=target._gsap.set(target,this.rProp,this);this.ru=_getUnit(target._gsap.get(target,this.rProp))||0}
854if(Array.isArray(path)&&!("closed" in path)&&typeof firstObj!=="number"){for(p in firstObj){if(!x&&~_xProps.indexOf(p)){x=p}else if(!y&&~_yProps.indexOf(p)){y=p}}
855if(x&&y){rawPaths.push(_segmentToRawPath(this,_populateSegmentFromArray(_populateSegmentFromArray([],path,x,0),path,y,1),target,x,y,slicer,vars,unitX||_getUnit(path[0][x]),unitY||_getUnit(path[0][y])))}else{x=y=0}
856for(p in firstObj){p!==x&&p!==y&&rawPaths.push(_segmentToRawPath(this,_populateSegmentFromArray([],path,p,2),target,p,0,slicer,vars,_getUnit(path[0][p])))}}else{rawPath=slicer(_align(Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.getRawPath)(vars.path),target,vars));Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.cacheRawPathMeasurements)(rawPath,vars.resolution);rawPaths.push(rawPath);_addDimensionalPropTween(this,target,vars.x||"x",rawPath,"x",vars.unitX||"px");_addDimensionalPropTween(this,target,vars.y||"y",rawPath,"y",vars.unitY||"px")}},render:function render(ratio,data){var rawPaths=data.rawPaths,i=rawPaths.length,pt=data._pt;if(ratio>1){ratio=1}else if(ratio<0){ratio=0}
857while(i--){Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.getPositionOnPath)(rawPaths[i],ratio,!i&&data.rotate,rawPaths[i])}
858while(pt){pt.set(pt.t,pt.p,pt.path[pt.pp]+pt.u,pt.d,ratio);pt=pt._next}
859data.rotate&&data.rSet(data.target,data.rProp,rawPaths[0].angle*(data.radians?_DEG2RAD:1)+data.rOffset+data.ru,data,ratio)},getLength:function getLength(path){return Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.cacheRawPathMeasurements)(Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.getRawPath)(path)).totalLength},sliceRawPath:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.sliceRawPath,getRawPath:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.getRawPath,pointsToSegment:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.pointsToSegment,stringToRawPath:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.stringToRawPath,rawPathToString:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.rawPathToString,transformRawPath:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.transformRawPath,getGlobalMatrix:_utils_matrix_js__WEBPACK_IMPORTED_MODULE_1__.getGlobalMatrix,getPositionOnPath:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.getPositionOnPath,cacheRawPathMeasurements:_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.cacheRawPathMeasurements,convertToPath:function convertToPath(targets,swap){return _toArray(targets).map(function(target){return Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.convertToPath)(target,swap!==!1)})},convertCoordinates:function convertCoordinates(fromElement,toElement,point){var m=Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_1__.getGlobalMatrix)(toElement,!0,!0).multiply(Object(_utils_matrix_js__WEBPACK_IMPORTED_MODULE_1__.getGlobalMatrix)(fromElement));return point?m.apply(point):m},getAlignMatrix:_getAlignMatrix,getRelativePosition:function getRelativePosition(fromElement,toElement,fromOrigin,toOrigin){var m=_getAlignMatrix(fromElement,toElement,fromOrigin,toOrigin);return{x:m.e,y:m.f}},arrayToRawPath:function arrayToRawPath(value,vars){vars=vars||{};var segment=_populateSegmentFromArray(_populateSegmentFromArray([],value,vars.x||"x",0),value,vars.y||"y",1);vars.relative&&_relativize(segment);return[vars.type==="cubic"?segment:Object(_utils_paths_js__WEBPACK_IMPORTED_MODULE_0__.pointsToSegment)(segment,vars.curviness)]}};_getGSAP()&&gsap.registerPlugin(MotionPathPlugin)}),
vendor: 3,343 bytes, lines 859-879
859"./node_modules/gsap/Physics2DPlugin.js":
860/*!**********************************************!*\
861  !*** ./node_modules/gsap/Physics2DPlugin.js ***!
862  \**********************************************/
863/*! exports provided: Physics2DPlugin, default */
864(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Physics2DPlugin",function(){return Physics2DPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return Physics2DPlugin});
865/*!
866 * Physics2DPlugin 3.7.1
867 * https://greensock.com
868 *
869 * @license Copyright 2008-2021, GreenSock. All rights reserved.
870 * Subject to the terms at https://greensock.com/standard-license or for
871 * Club GreenSock members, the agreement issued with that membership.
872 * @author: Jack Doyle, [email protected]
873*/
874var gsap,_coreInitted,_getUnit,_DEG2RAD=Math.PI/180,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_round=function _round(value){return Math.round(value*10000)/10000},_bonusValidated=1,_initCore=function _initCore(core){gsap=core||_getGSAP();if(!_coreInitted){_getUnit=gsap.utils.getUnit;_coreInitted=1}};var PhysicsProp=function PhysicsProp(target,p,velocity,acceleration,stepsPerTimeUnit){var cache=target._gsap,curVal=cache.get(target,p);this.p=p;this.set=cache.set(target,p);this.s=this.val=parseFloat(curVal);this.u=_getUnit(curVal)||0;this.vel=velocity||0;this.v=this.vel/stepsPerTimeUnit;if(acceleration||acceleration===0){this.acc=acceleration;this.a=this.acc/(stepsPerTimeUnit*stepsPerTimeUnit)}else{this.acc=this.a=0}};var Physics2DPlugin={version:"3.7.1",name:"physics2D",register:_initCore,init:function init(target,value,tween){_coreInitted||_initCore();var data=this,angle=+value.angle||0,velocity=+value.velocity||0,acceleration=+value.acceleration||0,xProp=value.xProp||"x",yProp=value.yProp||"y",aAngle=value.accelerationAngle||value.accelerationAngle===0?+value.accelerationAngle:angle;data.target=target;data.tween=tween;data.step=0;data.sps=30;if(value.gravity){acceleration=+value.gravity;aAngle=90}
875angle*=_DEG2RAD;aAngle*=_DEG2RAD;data.fr=1-(+value.friction||0);data._props.push(xProp,yProp);data.xp=new PhysicsProp(target,xProp,Math.cos(angle)*velocity,Math.cos(aAngle)*acceleration,data.sps);data.yp=new PhysicsProp(target,yProp,Math.sin(angle)*velocity,Math.sin(aAngle)*acceleration,data.sps);data.skipX=data.skipY=0},render:function render(ratio,data){var xp=data.xp,yp=data.yp,tween=data.tween,target=data.target,step=data.step,sps=data.sps,fr=data.fr,skipX=data.skipX,skipY=data.skipY,time=tween._from?tween._dur-tween._time:tween._time,x,y,tt,steps,remainder,i;if(fr===1){tt=time*time*0.5;x=xp.s+xp.vel*time+xp.acc*tt;y=yp.s+yp.vel*time+yp.acc*tt}else{time*=sps;steps=i=(time|0)-step;if(i<0){xp.v=xp.vel/sps;yp.v=yp.vel/sps;xp.val=xp.s;yp.val=yp.s;data.step=0;steps=i=time|0}
876remainder=time%1*fr;while(i--){xp.v+=xp.a;yp.v+=yp.a;xp.v*=fr;yp.v*=fr;xp.val+=xp.v;yp.val+=yp.v}
877x=xp.val+xp.v*remainder;y=yp.val+yp.v*remainder;data.step+=steps}
878skipX||xp.set(target,xp.p,_round(x)+xp.u);skipY||yp.set(target,yp.p,_round(y)+yp.u)},kill:function kill(property){if(this.xp.p===property){this.skipX=1}
879if(this.yp.p===property){this.skipY=1}}};_getGSAP()&&gsap.registerPlugin(Physics2DPlugin)}),
vendor: 3,194 bytes, lines 879-899
879"./node_modules/gsap/PhysicsPropsPlugin.js":
880/*!*************************************************!*\
881  !*** ./node_modules/gsap/PhysicsPropsPlugin.js ***!
882  \*************************************************/
883/*! exports provided: PhysicsPropsPlugin, default */
884(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"PhysicsPropsPlugin",function(){return PhysicsPropsPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return PhysicsPropsPlugin});
885/*!
886 * PhysicsPropsPlugin 3.7.1
887 * https://greensock.com
888 *
889 * @license Copyright 2008-2021, GreenSock. All rights reserved.
890 * Subject to the terms at https://greensock.com/standard-license or for
891 * Club GreenSock members, the agreement issued with that membership.
892 * @author: Jack Doyle, [email protected]
893*/
894var gsap,_coreInitted,_getUnit,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_round=function _round(value){return Math.round(value*10000)/10000},_bonusValidated=1,_initCore=function _initCore(core){gsap=core||_getGSAP();if(!_coreInitted){_getUnit=gsap.utils.getUnit;_coreInitted=1}};var PhysicsProp=function PhysicsProp(target,p,velocity,acceleration,friction,stepsPerTimeUnit){var cache=target._gsap,curVal=cache.get(target,p);this.p=p;this.set=cache.set(target,p);this.s=this.val=parseFloat(curVal);this.u=_getUnit(curVal)||0;this.vel=velocity||0;this.v=this.vel/stepsPerTimeUnit;if(acceleration||acceleration===0){this.acc=acceleration;this.a=this.acc/(stepsPerTimeUnit*stepsPerTimeUnit)}else{this.acc=this.a=0}
895this.fr=1-(friction||0)};var PhysicsPropsPlugin={version:"3.7.1",name:"physicsProps",register:_initCore,init:function init(target,value,tween){_coreInitted||_initCore();var data=this,p;data.target=target;data.tween=tween;data.step=0;data.sps=30;data.vProps=[];for(p in value){var _value$p=value[p],velocity=_value$p.velocity,acceleration=_value$p.acceleration,friction=_value$p.friction;if(velocity||acceleration){data.vProps.push(new PhysicsProp(target,p,velocity,acceleration,friction,data.sps));data._props.push(p);friction&&(data.hasFr=1)}}},render:function render(ratio,data){var vProps=data.vProps,tween=data.tween,target=data.target,step=data.step,hasFr=data.hasFr,sps=data.sps,i=vProps.length,time=tween._from?tween._dur-tween._time:tween._time,curProp,steps,remainder,j,tt;if(hasFr){time*=sps;steps=(time|0)-step;if(steps<0){while(i--){curProp=vProps[i];curProp.v=curProp.vel/sps;curProp.val=curProp.s}
896i=vProps.length;data.step=step=0;steps=time|0}
897remainder=time%1;while(i--){curProp=vProps[i];j=steps;while(j--){curProp.v+=curProp.a;curProp.v*=curProp.fr;curProp.val+=curProp.v}
898curProp.set(target,curProp.p,_round(curProp.val+curProp.v*remainder*curProp.fr)+curProp.u)}
899data.step+=steps}else{tt=time*time*0.5;while(i--){curProp=vProps[i];curProp.set(target,curProp.p,_round(curProp.s+curProp.vel*time+curProp.acc*tt)+curProp.u)}}},kill:function kill(property){var vProps=this.vProps,i=vProps.length;while(i--){vProps[i].p===property&&vProps.splice(i,1)}}};_getGSAP()&&gsap.registerPlugin(PhysicsPropsPlugin)}),
vendor: 11,034 bytes, lines 899-937
899"./node_modules/gsap/PixiPlugin.js":
900/*!*****************************************!*\
901  !*** ./node_modules/gsap/PixiPlugin.js ***!
902  \*****************************************/
903/*! exports provided: PixiPlugin, default */
904(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"PixiPlugin",function(){return PixiPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return PixiPlugin});
905/*!
906 * PixiPlugin 3.7.1
907 * https://greensock.com
908 *
909 * @license Copyright 2008-2021, GreenSock. All rights reserved.
910 * Subject to the terms at https://greensock.com/standard-license or for
911 * Club GreenSock members, the agreement issued with that membership.
912 * @author: Jack Doyle, [email protected]
913*/
914var gsap,_win,_splitColor,_coreInitted,_PIXI,PropTween,_getSetter,_windowExists=function _windowExists(){return typeof window!=="undefined"},_getGSAP=function _getGSAP(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isFunction=function _isFunction(value){return typeof value==="function"},_warn=function _warn(message){return console.warn(message)},_idMatrix=[1,0,0,0,0,0,1,0,0,0,0,0,1,0,0,0,0,0,1,0],_lumR=0.212671,_lumG=0.715160,_lumB=0.072169,_applyMatrix=function _applyMatrix(m,m2){var temp=[],i=0,z=0,y,x;for(y=0;y<4;y++){for(x=0;x<5;x++){z=x===4?m[i+4]:0;temp[i+x]=m[i]*m2[x]+m[i+1]*m2[x+5]+m[i+2]*m2[x+10]+m[i+3]*m2[x+15]+z}
915i+=5}
916return temp},_setSaturation=function _setSaturation(m,n){var inv=1-n,r=inv*_lumR,g=inv*_lumG,b=inv*_lumB;return _applyMatrix([r+n,g,b,0,0,r,g+n,b,0,0,r,g,b+n,0,0,0,0,0,1,0],m)},_colorize=function _colorize(m,color,amount){var c=_splitColor(color),r=c[0]/255,g=c[1]/255,b=c[2]/255,inv=1-amount;return _applyMatrix([inv+amount*r*_lumR,amount*r*_lumG,amount*r*_lumB,0,0,amount*g*_lumR,inv+amount*g*_lumG,amount*g*_lumB,0,0,amount*b*_lumR,amount*b*_lumG,inv+amount*b*_lumB,0,0,0,0,0,1,0],m)},_setHue=function _setHue(m,n){n*=Math.PI/180;var c=Math.cos(n),s=Math.sin(n);return _applyMatrix([_lumR+c*(1-_lumR)+s*-_lumR,_lumG+c*-_lumG+s*-_lumG,_lumB+c*-_lumB+s*(1-_lumB),0,0,_lumR+c*-_lumR+s*0.143,_lumG+c*(1-_lumG)+s*0.14,_lumB+c*-_lumB+s*-0.283,0,0,_lumR+c*-_lumR+s*-(1-_lumR),_lumG+c*-_lumG+s*_lumG,_lumB+c*(1-_lumB)+s*_lumB,0,0,0,0,0,1,0,0,0,0,0,1],m)},_setContrast=function _setContrast(m,n){return _applyMatrix([n,0,0,0,0.5*(1-n),0,n,0,0,0.5*(1-n),0,0,n,0,0.5*(1-n),0,0,0,1,0],m)},_getFilter=function _getFilter(target,type){var filterClass=_PIXI.filters[type],filters=target.filters||[],i=filters.length,filter;if(!filterClass){_warn(type+" not found. PixiPlugin.registerPIXI(PIXI)")}
917while(--i>-1){if(filters[i]instanceof filterClass){return filters[i]}}
918filter=new filterClass();if(type==="BlurFilter"){filter.blur=0}
919filters.push(filter);target.filters=filters;return filter},_addColorMatrixFilterCacheTween=function _addColorMatrixFilterCacheTween(p,plugin,cache,vars){plugin.add(cache,p,cache[p],vars[p]);plugin._props.push(p)},_applyBrightnessToMatrix=function _applyBrightnessToMatrix(brightness,matrix){var temp=new _PIXI.filters.ColorMatrixFilter();temp.matrix=matrix;temp.brightness(brightness,!0);return temp.matrix},_copy=function _copy(obj){var copy={},p;for(p in obj){copy[p]=obj[p]}
920return copy},_CMFdefaults={contrast:1,saturation:1,colorizeAmount:0,colorize:"rgb(255,255,255)",hue:0,brightness:1},_parseColorMatrixFilter=function _parseColorMatrixFilter(target,v,pg){var filter=_getFilter(target,"ColorMatrixFilter"),cache=target._gsColorMatrixFilter=target._gsColorMatrixFilter||_copy(_CMFdefaults),combine=v.combineCMF&&!("colorMatrixFilter" in v&&!v.colorMatrixFilter),i,matrix,startMatrix;startMatrix=filter.matrix;if(v.resolution){filter.resolution=v.resolution}
921if(v.matrix&&v.matrix.length===startMatrix.length){matrix=v.matrix;if(cache.contrast!==1){_addColorMatrixFilterCacheTween("contrast",pg,cache,_CMFdefaults)}
922if(cache.hue){_addColorMatrixFilterCacheTween("hue",pg,cache,_CMFdefaults)}
923if(cache.brightness!==1){_addColorMatrixFilterCacheTween("brightness",pg,cache,_CMFdefaults)}
924if(cache.colorizeAmount){_addColorMatrixFilterCacheTween("colorize",pg,cache,_CMFdefaults);_addColorMatrixFilterCacheTween("colorizeAmount",pg,cache,_CMFdefaults)}
925if(cache.saturation!==1){_addColorMatrixFilterCacheTween("saturation",pg,cache,_CMFdefaults)}}else{matrix=_idMatrix.slice();if(v.contrast!=null){matrix=_setContrast(matrix,+v.contrast);_addColorMatrixFilterCacheTween("contrast",pg,cache,v)}else if(cache.contrast!==1){if(combine){matrix=_setContrast(matrix,cache.contrast)}else{_addColorMatrixFilterCacheTween("contrast",pg,cache,_CMFdefaults)}}
926if(v.hue!=null){matrix=_setHue(matrix,+v.hue);_addColorMatrixFilterCacheTween("hue",pg,cache,v)}else if(cache.hue){if(combine){matrix=_setHue(matrix,cache.hue)}else{_addColorMatrixFilterCacheTween("hue",pg,cache,_CMFdefaults)}}
927if(v.brightness!=null){matrix=_applyBrightnessToMatrix(+v.brightness,matrix);_addColorMatrixFilterCacheTween("brightness",pg,cache,v)}else if(cache.brightness!==1){if(combine){matrix=_applyBrightnessToMatrix(cache.brightness,matrix)}else{_addColorMatrixFilterCacheTween("brightness",pg,cache,_CMFdefaults)}}
928if(v.colorize!=null){v.colorizeAmount="colorizeAmount" in v?+v.colorizeAmount:1;matrix=_colorize(matrix,v.colorize,v.colorizeAmount);_addColorMatrixFilterCacheTween("colorize",pg,cache,v);_addColorMatrixFilterCacheTween("colorizeAmount",pg,cache,v)}else if(cache.colorizeAmount){if(combine){matrix=_colorize(matrix,cache.colorize,cache.colorizeAmount)}else{_addColorMatrixFilterCacheTween("colorize",pg,cache,_CMFdefaults);_addColorMatrixFilterCacheTween("colorizeAmount",pg,cache,_CMFdefaults)}}
929if(v.saturation!=null){matrix=_setSaturation(matrix,+v.saturation);_addColorMatrixFilterCacheTween("saturation",pg,cache,v)}else if(cache.saturation!==1){if(combine){matrix=_setSaturation(matrix,cache.saturation)}else{_addColorMatrixFilterCacheTween("saturation",pg,cache,_CMFdefaults)}}}
930i=matrix.length;while(--i>-1){if(matrix[i]!==startMatrix[i]){pg.add(startMatrix,i,startMatrix[i],matrix[i],"colorMatrixFilter")}}
931pg._props.push("colorMatrixFilter")},_renderColor=function _renderColor(ratio,_ref){var t=_ref.t,p=_ref.p,color=_ref.color,set=_ref.set;set(t,p,color[0]<<16|color[1]<<8|color[2])},_renderDirtyCache=function _renderDirtyCache(ratio,_ref2){var g=_ref2.g;if(g){g.dirty++;g.clearDirty++}},_renderAutoAlpha=function _renderAutoAlpha(ratio,data){data.t.visible=!!data.t.alpha},_addColorTween=function _addColorTween(target,p,value,plugin){var currentValue=target[p],startColor=_splitColor(_isFunction(currentValue)?target[p.indexOf("set")||!_isFunction(target["get"+p.substr(3)])?p:"get"+p.substr(3)]():currentValue),endColor=_splitColor(value);plugin._pt=new PropTween(plugin._pt,target,p,0,0,_renderColor,{t:target,p:p,color:startColor,set:_getSetter(target,p)});plugin.add(startColor,0,startColor[0],endColor[0]);plugin.add(startColor,1,startColor[1],endColor[1]);plugin.add(startColor,2,startColor[2],endColor[2])},_colorProps={tint:1,lineColor:1,fillColor:1},_xyContexts="position,scale,skew,pivot,anchor,tilePosition,tileScale".split(","),_contexts={x:"position",y:"position",tileX:"tilePosition",tileY:"tilePosition"},_colorMatrixFilterProps={colorMatrixFilter:1,saturation:1,contrast:1,hue:1,colorize:1,colorizeAmount:1,brightness:1,combineCMF:1},_DEG2RAD=Math.PI/180,_isString=function _isString(value){return typeof value==="string"},_degreesToRadians=function _degreesToRadians(value){return _isString(value)&&value.charAt(1)==="="?value.substr(0,2)+parseFloat(value.substr(2))*_DEG2RAD:value*_DEG2RAD},_renderPropWithEnd=function _renderPropWithEnd(ratio,data){return data.set(data.t,data.p,ratio===1?data.e:Math.round((data.s+data.c*ratio)*100000)/100000,data)},_addRotationalPropTween=function _addRotationalPropTween(plugin,target,property,startNum,endValue,radians){var cap=360*(radians?_DEG2RAD:1),isString=_isString(endValue),relative=isString&&endValue.charAt(1)==="="?+(endValue.charAt(0)+"1"):0,endNum=parseFloat(relative?endValue.substr(2):endValue)*(radians?_DEG2RAD:1),change=relative?endNum*relative:endNum-startNum,finalValue=startNum+change,direction,pt;if(isString){direction=endValue.split("_")[1];if(direction==="short"){change%=cap;if(change!==change%(cap/2)){change+=change<0?cap:-cap}}
932if(direction==="cw"&&change<0){change=(change+cap*1e10)%cap-~~(change/cap)*cap}else if(direction==="ccw"&&change>0){change=(change-cap*1e10)%cap-~~(change/cap)*cap}}
933plugin._pt=pt=new PropTween(plugin._pt,target,property,startNum,change,_renderPropWithEnd);pt.e=finalValue;return pt},_initCore=function _initCore(){if(_windowExists()){_win=window;gsap=_coreInitted=_getGSAP();_PIXI=_PIXI||_win.PIXI;_splitColor=function _splitColor(color){return gsap.utils.splitColor((color+"").substr(0,2)==="0x"?"#"+color.substr(2):color)}}},i,p;for(i=0;i<_xyContexts.length;i++){p=_xyContexts[i];_contexts[p+"X"]=p;_contexts[p+"Y"]=p}
934var PixiPlugin={version:"3.7.1",name:"pixi",register:function register(core,Plugin,propTween){gsap=core;PropTween=propTween;_getSetter=Plugin.getSetter;_initCore()},registerPIXI:function registerPIXI(pixi){_PIXI=pixi},init:function init(target,values,tween,index,targets){if(!_PIXI){_initCore()}
935if(!target instanceof _PIXI.DisplayObject){return!1}
936var isV4=_PIXI.VERSION.charAt(0)==="4",context,axis,value,colorMatrix,filter,p,padding,i,data;for(p in values){context=_contexts[p];value=values[p];if(context){axis=~p.charAt(p.length-1).toLowerCase().indexOf("x")?"x":"y";this.add(target[context],axis,target[context][axis],context==="skew"?_degreesToRadians(value):value)}else if(p==="scale"||p==="anchor"||p==="pivot"||p==="tileScale"){this.add(target[p],"x",target[p].x,value);this.add(target[p],"y",target[p].y,value)}else if(p==="rotation"||p==="angle"){_addRotationalPropTween(this,target,p,target[p],value,p==="rotation")}else if(_colorMatrixFilterProps[p]){if(!colorMatrix){_parseColorMatrixFilter(target,values.colorMatrixFilter||values,this);colorMatrix=!0}}else if(p==="blur"||p==="blurX"||p==="blurY"||p==="blurPadding"){filter=_getFilter(target,"BlurFilter");this.add(filter,p,filter[p],value);if(values.blurPadding!==0){padding=values.blurPadding||Math.max(filter[p],value)*2;i=target.filters.length;while(--i>-1){target.filters[i].padding=Math.max(target.filters[i].padding,padding)}}}else if(_colorProps[p]){if((p==="lineColor"||p==="fillColor")&&target instanceof _PIXI.Graphics){data=(target.geometry||target).graphicsData;this._pt=new PropTween(this._pt,target,p,0,0,_renderDirtyCache,{g:target.geometry||target});i=data.length;while(--i>-1){_addColorTween(isV4?data[i]:data[i][p.substr(0,4)+"Style"],isV4?p:"color",value,this)}}else{_addColorTween(target,p,value,this)}}else if(p==="autoAlpha"){this._pt=new PropTween(this._pt,target,"visible",0,0,_renderAutoAlpha);this.add(target,"alpha",target.alpha,value);this._props.push("alpha","visible")}else if(p!=="resolution"){this.add(target,p,"get",value)}
937this._props.push(p)}}};_getGSAP()&&gsap.registerPlugin(PixiPlugin)}),
vendor: 6,902 bytes, lines 937-968
937"./node_modules/gsap/ScrambleTextPlugin.js":
938/*!*************************************************!*\
939  !*** ./node_modules/gsap/ScrambleTextPlugin.js ***!
940  \*************************************************/
941/*! exports provided: ScrambleTextPlugin, default */
942(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"ScrambleTextPlugin",function(){return ScrambleTextPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return ScrambleTextPlugin});var _utils_strings_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/strings.js */"./node_modules/gsap/utils/strings.js");
943/*!
944 * ScrambleTextPlugin 3.7.1
945 * https://greensock.com
946 *
947 * @license Copyright 2008-2021, GreenSock. All rights reserved.
948 * Subject to the terms at https://greensock.com/standard-license or for
949 * Club GreenSock members, the agreement issued with that membership.
950 * @author: Jack Doyle, [email protected]
951*/
952var CharSet=function(){function CharSet(chars){this.chars=Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit)(chars);this.sets=[];this.length=50;for(var i=0;i<20;i++){this.sets[i]=_scrambleText(80,this.chars)}}
953var _proto=CharSet.prototype;_proto.grow=function grow(newLength){for(var i=0;i<20;i++){this.sets[i]+=_scrambleText(newLength-this.length,this.chars)}
954this.length=newLength};return CharSet}();var gsap,_coreInitted,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_bonusValidated=1,_spacesExp=/\s+/g,_scrambleText=function _scrambleText(length,chars){var l=chars.length,s="";while(--length>-1){s+=chars[~~(Math.random()*l)]}
955return s},_upper="ABCDEFGHIJKLMNOPQRSTUVWXYZ",_lower=_upper.toLowerCase(),_charsLookup={upperCase:new CharSet(_upper),lowerCase:new CharSet(_lower),upperAndLowerCase:new CharSet(_upper+_lower)},_initCore=function _initCore(){_coreInitted=gsap=_getGSAP()};var ScrambleTextPlugin={version:"3.7.1",name:"scrambleText",register:function register(core,Plugin,propTween){gsap=core;_initCore()},init:function init(target,value,tween,index,targets){_coreInitted||_initCore();this.prop="innerHTML" in target?"innerHTML":"textContent" in target?"textContent":0;if(!this.prop){return}
956this.target=target;if(typeof value!=="object"){value={text:value}}
957var text=value.text||value.value||"",trim=value.trim!==!1,data=this,delim,maxLength,charset,splitByChars;data.delimiter=delim=value.delimiter||"";data.original=Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit)(Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.getText)(target).replace(_spacesExp," ").split("&nbsp;").join(""),delim,trim);if(text==="{original}"||text===!0||text==null){text=data.original.join(delim)}
958data.text=Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit)((text||"").replace(_spacesExp," "),delim,trim);data.hasClass=!!(value.newClass||value.oldClass);data.newClass=value.newClass;data.oldClass=value.oldClass;splitByChars=delim==="";data.textHasEmoji=splitByChars&&!!data.text.emoji;data.charsHaveEmoji=!!value.chars&&!!Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit)(value.chars).emoji;data.length=splitByChars?data.original.length:data.original.join(delim).length;data.lengthDif=(splitByChars?data.text.length:data.text.join(delim).length)-data.length;data.fillChar=value.fillChar||value.chars&&~value.chars.indexOf(" ")?"&nbsp;":"";data.charSet=charset=_charsLookup[value.chars||"upperCase"]||new CharSet(value.chars);data.speed=0.05/(value.speed||1);data.prevScrambleTime=0;data.setIndex=Math.random()*20|0;maxLength=data.length+Math.max(data.lengthDif,0);if(maxLength>charset.length){charset.grow(maxLength)}
959data.chars=charset.sets[data.setIndex];data.revealDelay=value.revealDelay||0;data.tweenLength=value.tweenLength!==!1;data.tween=tween;data.rightToLeft=!!value.rightToLeft;data._props.push("scrambleText","text");return _bonusValidated},render:function render(ratio,data){var target=data.target,prop=data.prop,text=data.text,delimiter=data.delimiter,tween=data.tween,prevScrambleTime=data.prevScrambleTime,revealDelay=data.revealDelay,setIndex=data.setIndex,chars=data.chars,charSet=data.charSet,length=data.length,textHasEmoji=data.textHasEmoji,charsHaveEmoji=data.charsHaveEmoji,lengthDif=data.lengthDif,tweenLength=data.tweenLength,oldClass=data.oldClass,newClass=data.newClass,rightToLeft=data.rightToLeft,fillChar=data.fillChar,speed=data.speed,original=data.original,hasClass=data.hasClass,l=text.length,time=tween._time,timeDif=time-prevScrambleTime,i,i2,startText,endText,applyNew,applyOld,str,startClass,endClass,position,r;if(revealDelay){if(tween._from){time=tween._dur-time}
960ratio=time===0?0:time<revealDelay?0.000001:time===tween._dur?1:tween._ease((time-revealDelay)/(tween._dur-revealDelay))}
961if(ratio<0){ratio=0}else if(ratio>1){ratio=1}
962if(rightToLeft){ratio=1-ratio}
963i=~~(ratio*l+0.5);if(ratio){if(timeDif>speed||timeDif<-speed){data.setIndex=setIndex=(setIndex+(Math.random()*19|0))%20;data.chars=charSet.sets[setIndex];data.prevScrambleTime+=timeDif}
964endText=chars}else{endText=original.join(delimiter)}
965r=tween._from?ratio:1-ratio;position=length+(tweenLength?tween._from?r*r*r:1-r*r*r:1)*lengthDif;if(rightToLeft){if(ratio===1&&(tween._from||tween.data==="isFromStart")){startText="";endText=original.join(delimiter)}else{str=text.slice(i).join(delimiter);if(charsHaveEmoji){startText=Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit)(endText).slice(0,position-(textHasEmoji?Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit)(str):str).length+0.5|0).join("")}else{startText=endText.substr(0,position-(textHasEmoji?Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit)(str):str).length+0.5|0)}
966endText=str}}else{startText=text.slice(0,i).join(delimiter);i2=(textHasEmoji?Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit)(startText):startText).length;if(charsHaveEmoji){endText=Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit)(endText).slice(i2,position+0.5|0).join("")}else{endText=endText.substr(i2,position-i2+0.5|0)}}
967if(hasClass){startClass=rightToLeft?oldClass:newClass;endClass=rightToLeft?newClass:oldClass;applyNew=startClass&&i!==0;applyOld=endClass&&i!==l;str=(applyNew?"<span class='"+startClass+"'>":"")+startText+(applyNew?"</span>":"")+(applyOld?"<span class='"+endClass+"'>":"")+delimiter+endText+(applyOld?"</span>":"")}else{str=startText+delimiter+endText}
968target[prop]=fillChar==="&nbsp;"&&~str.indexOf("  ")?str.split("  ").join("&nbsp;&nbsp;"):str}};ScrambleTextPlugin.emojiSafeSplit=_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit;ScrambleTextPlugin.getText=_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.getText;_getGSAP()&&gsap.registerPlugin(ScrambleTextPlugin)}),
vendor: 5,991 bytes, lines 968-998
968"./node_modules/gsap/ScrollToPlugin.js":
969/*!*********************************************!*\
970  !*** ./node_modules/gsap/ScrollToPlugin.js ***!
971  \*********************************************/
972/*! exports provided: ScrollToPlugin, default */
973(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"ScrollToPlugin",function(){return ScrollToPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return ScrollToPlugin});
974/*!
975 * ScrollToPlugin 3.7.1
976 * https://greensock.com
977 *
978 * @license Copyright 2008-2021, GreenSock. All rights reserved.
979 * Subject to the terms at https://greensock.com/standard-license or for
980 * Club GreenSock members, the agreement issued with that membership.
981 * @author: Jack Doyle, [email protected]
982*/
983var gsap,_coreInitted,_window,_docEl,_body,_toArray,_config,_windowExists=function _windowExists(){return typeof window!=="undefined"},_getGSAP=function _getGSAP(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isString=function _isString(value){return typeof value==="string"},_isFunction=function _isFunction(value){return typeof value==="function"},_max=function _max(element,axis){var dim=axis==="x"?"Width":"Height",scroll="scroll"+dim,client="client"+dim;return element===_window||element===_docEl||element===_body?Math.max(_docEl[scroll],_body[scroll])-(_window["inner"+dim]||_docEl[client]||_body[client]):element[scroll]-element["offset"+dim]},_buildGetter=function _buildGetter(e,axis){var p="scroll"+(axis==="x"?"Left":"Top");if(e===_window){if(e.pageXOffset!=null){p="page"+axis.toUpperCase()+"Offset"}else{e=_docEl[p]!=null?_docEl:_body}}
984return function(){return e[p]}},_clean=function _clean(value,index,target,targets){_isFunction(value)&&(value=value(index,target,targets));if(typeof value!=="object"){return _isString(value)&&value!=="max"&&value.charAt(1)!=="="?{x:value,y:value}:{y:value}}else if(value.nodeType){return{y:value,x:value}}else{var result={},p;for(p in value){result[p]=p!=="onAutoKill"&&_isFunction(value[p])?value[p](index,target,targets):value[p]}
985return result}},_getOffset=function _getOffset(element,container){element=_toArray(element)[0];if(!element||!element.getBoundingClientRect){return console.warn("scrollTo target doesn't exist. Using 0")||{x:0,y:0}}
986var rect=element.getBoundingClientRect(),isRoot=!container||container===_window||container===_body,cRect=isRoot?{top:_docEl.clientTop-(_window.pageYOffset||_docEl.scrollTop||_body.scrollTop||0),left:_docEl.clientLeft-(_window.pageXOffset||_docEl.scrollLeft||_body.scrollLeft||0)}:container.getBoundingClientRect(),offsets={x:rect.left-cRect.left,y:rect.top-cRect.top};if(!isRoot&&container){offsets.x+=_buildGetter(container,"x")();offsets.y+=_buildGetter(container,"y")()}
987return offsets},_parseVal=function _parseVal(value,target,axis,currentVal,offset){return!isNaN(value)&&typeof value!=="object"?parseFloat(value)-offset:_isString(value)&&value.charAt(1)==="="?parseFloat(value.substr(2))*(value.charAt(0)==="-"?-1:1)+currentVal-offset:value==="max"?_max(target,axis)-offset:Math.min(_max(target,axis),_getOffset(value,target)[axis]-offset)},_initCore=function _initCore(){gsap=_getGSAP();if(_windowExists()&&gsap&&document.body){_window=window;_body=document.body;_docEl=document.documentElement;_toArray=gsap.utils.toArray;gsap.config({autoKillThreshold:7});_config=gsap.config();_coreInitted=1}};var ScrollToPlugin={version:"3.7.1",name:"scrollTo",rawVars:1,register:function register(core){gsap=core;_initCore()},init:function init(target,value,tween,index,targets){_coreInitted||_initCore();var data=this,snapType=gsap.getProperty(target,"scrollSnapType");data.isWin=target===_window;data.target=target;data.tween=tween;value=_clean(value,index,target,targets);data.vars=value;data.autoKill=!!value.autoKill;data.getX=_buildGetter(target,"x");data.getY=_buildGetter(target,"y");data.x=data.xPrev=data.getX();data.y=data.yPrev=data.getY();if(snapType&&snapType!=="none"){data.snap=1;data.snapInline=target.style.scrollSnapType;target.style.scrollSnapType="none"}
988if(value.x!=null){data.add(data,"x",data.x,_parseVal(value.x,target,"x",data.x,value.offsetX||0),index,targets);data._props.push("scrollTo_x")}else{data.skipX=1}
989if(value.y!=null){data.add(data,"y",data.y,_parseVal(value.y,target,"y",data.y,value.offsetY||0),index,targets);data._props.push("scrollTo_y")}else{data.skipY=1}},render:function render(ratio,data){var pt=data._pt,target=data.target,tween=data.tween,autoKill=data.autoKill,xPrev=data.xPrev,yPrev=data.yPrev,isWin=data.isWin,snap=data.snap,snapInline=data.snapInline,x,y,yDif,xDif,threshold;while(pt){pt.r(ratio,pt.d);pt=pt._next}
990x=isWin||!data.skipX?data.getX():xPrev;y=isWin||!data.skipY?data.getY():yPrev;yDif=y-yPrev;xDif=x-xPrev;threshold=_config.autoKillThreshold;if(data.x<0){data.x=0}
991if(data.y<0){data.y=0}
992if(autoKill){if(!data.skipX&&(xDif>threshold||xDif<-threshold)&&x<_max(target,"x")){data.skipX=1}
993if(!data.skipY&&(yDif>threshold||yDif<-threshold)&&y<_max(target,"y")){data.skipY=1}
994if(data.skipX&&data.skipY){tween.kill();data.vars.onAutoKill&&data.vars.onAutoKill.apply(tween,data.vars.onAutoKillParams||[])}}
995if(isWin){_window.scrollTo(!data.skipX?data.x:x,!data.skipY?data.y:y)}else{data.skipY||(target.scrollTop=data.y);data.skipX||(target.scrollLeft=data.x)}
996if(snap&&(ratio===1||ratio===0)){y=target.scrollTop;x=target.scrollLeft;snapInline?target.style.scrollSnapType=snapInline:target.style.removeProperty("scroll-snap-type");target.scrollTop=y+1;target.scrollLeft=x+1;target.scrollTop=y;target.scrollLeft=x}
997data.xPrev=data.x;data.yPrev=data.y},kill:function kill(property){var both=property==="scrollTo";if(both||property==="scrollTo_x"){this.skipX=1}
998if(both||property==="scrollTo_y"){this.skipY=1}}};ScrollToPlugin.max=_max;ScrollToPlugin.getOffset=_getOffset;ScrollToPlugin.buildGetter=_buildGetter;_getGSAP()&&gsap.registerPlugin(ScrollToPlugin)}),
vendor: 40,097 bytes, lines 998-1079
998"./node_modules/gsap/ScrollTrigger.js":
999/*!********************************************!*\
1000  !*** ./node_modules/gsap/ScrollTrigger.js ***!
1001  \********************************************/
1002/*! exports provided: ScrollTrigger, default */
1003(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"ScrollTrigger",function(){return ScrollTrigger});__webpack_require__.d(__webpack_exports__,"default",function(){return ScrollTrigger});
1004/*!
1005 * ScrollTrigger 3.7.1
1006 * https://greensock.com
1007 *
1008 * @license Copyright 2008-2021, GreenSock. All rights reserved.
1009 * Subject to the terms at https://greensock.com/standard-license or for
1010 * Club GreenSock members, the agreement issued with that membership.
1011 * @author: Jack Doyle, [email protected]
1012*/
1013var gsap,_coreInitted,_win,_doc,_docEl,_body,_root,_resizeDelay,_raf,_request,_toArray,_clamp,_time2,_syncInterval,_refreshing,_pointerIsDown,_transformProp,_i,_prevWidth,_prevHeight,_autoRefresh,_sort,_suppressOverwrites,_ignoreResize,_limitCallbacks,_startup=1,_proxies=[],_scrollers=[],_getTime=Date.now,_time1=_getTime(),_lastScrollTime=0,_enabled=1,_passThrough=function _passThrough(v){return v},_round=function _round(value){return Math.round(value*100000)/100000||0},_windowExists=function _windowExists(){return typeof window!=="undefined"},_getGSAP=function _getGSAP(){return gsap||_windowExists()&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap},_isViewport=function _isViewport(e){return!!~_root.indexOf(e)},_getProxyProp=function _getProxyProp(element,property){return~_proxies.indexOf(element)&&_proxies[_proxies.indexOf(element)+1][property]},_getScrollFunc=function _getScrollFunc(element,_ref){var s=_ref.s,sc=_ref.sc;var i=_scrollers.indexOf(element),offset=sc===_vertical.sc?1:2;!~i&&(i=_scrollers.push(element)-1);return _scrollers[i+offset]||(_scrollers[i+offset]=_getProxyProp(element,s)||(_isViewport(element)?sc:function(value){return arguments.length?element[s]=value:element[s]}))},_getBoundsFunc=function _getBoundsFunc(element){return _getProxyProp(element,"getBoundingClientRect")||(_isViewport(element)?function(){_winOffsets.width=_win.innerWidth;_winOffsets.height=_win.innerHeight;return _winOffsets}:function(){return _getBounds(element)})},_getSizeFunc=function _getSizeFunc(scroller,isViewport,_ref2){var d=_ref2.d,d2=_ref2.d2,a=_ref2.a;return(a=_getProxyProp(scroller,"getBoundingClientRect"))?function(){return a()[d]}:function(){return(isViewport?_win["inner"+d2]:scroller["client"+d2])||0}},_getOffsetsFunc=function _getOffsetsFunc(element,isViewport){return!isViewport||~_proxies.indexOf(element)?_getBoundsFunc(element):function(){return _winOffsets}},_maxScroll=function _maxScroll(element,_ref3){var s=_ref3.s,d2=_ref3.d2,d=_ref3.d,a=_ref3.a;return(s="scroll"+d2)&&(a=_getProxyProp(element,s))?a()-_getBoundsFunc(element)()[d]:_isViewport(element)?Math.max(_docEl[s],_body[s])-(_win["inner"+d2]||_docEl["client"+d2]||_body["client"+d2]):element[s]-element["offset"+d2]},_iterateAutoRefresh=function _iterateAutoRefresh(func,events){for(var i=0;i<_autoRefresh.length;i+=3){(!events||~events.indexOf(_autoRefresh[i+1]))&&func(_autoRefresh[i],_autoRefresh[i+1],_autoRefresh[i+2])}},_isString=function _isString(value){return typeof value==="string"},_isFunction=function _isFunction(value){return typeof value==="function"},_isNumber=function _isNumber(value){return typeof value==="number"},_isObject=function _isObject(value){return typeof value==="object"},_callIfFunc=function _callIfFunc(value){return _isFunction(value)&&value()},_combineFunc=function _combineFunc(f1,f2){return function(){var result1=_callIfFunc(f1),result2=_callIfFunc(f2);return function(){_callIfFunc(result1);_callIfFunc(result2)}}},_abs=Math.abs,_scrollLeft="scrollLeft",_scrollTop="scrollTop",_left="left",_top="top",_right="right",_bottom="bottom",_width="width",_height="height",_Right="Right",_Left="Left",_Top="Top",_Bottom="Bottom",_padding="padding",_margin="margin",_Width="Width",_Height="Height",_px="px",_horizontal={s:_scrollLeft,p:_left,p2:_Left,os:_right,os2:_Right,d:_width,d2:_Width,a:"x",sc:function sc(value){return arguments.length?_win.scrollTo(value,_vertical.sc()):_win.pageXOffset||_doc[_scrollLeft]||_docEl[_scrollLeft]||_body[_scrollLeft]||0}},_vertical={s:_scrollTop,p:_top,p2:_Top,os:_bottom,os2:_Bottom,d:_height,d2:_Height,a:"y",op:_horizontal,sc:function sc(value){return arguments.length?_win.scrollTo(_horizontal.sc(),value):_win.pageYOffset||_doc[_scrollTop]||_docEl[_scrollTop]||_body[_scrollTop]||0}},_getComputedStyle=function _getComputedStyle(element){return _win.getComputedStyle(element)},_makePositionable=function _makePositionable(element){var position=_getComputedStyle(element).position;element.style.position=position==="absolute"||position==="fixed"?position:"relative"},_setDefaults=function _setDefaults(obj,defaults){for(var p in defaults){p in obj||(obj[p]=defaults[p])}
1014return obj},_getBounds=function _getBounds(element,withoutTransforms){var tween=withoutTransforms&&_getComputedStyle(element)[_transformProp]!=="matrix(1, 0, 0, 1, 0, 0)"&&gsap.to(element,{x:0,y:0,xPercent:0,yPercent:0,rotation:0,rotationX:0,rotationY:0,scale:1,skewX:0,skewY:0}).progress(1),bounds=element.getBoundingClientRect();tween&&tween.progress(0).kill();return bounds},_getSize=function _getSize(element,_ref4){var d2=_ref4.d2;return element["offset"+d2]||element["client"+d2]||0},_getLabelRatioArray=function _getLabelRatioArray(timeline){var a=[],labels=timeline.labels,duration=timeline.duration(),p;for(p in labels){a.push(labels[p]/duration)}
1015return a},_getClosestLabel=function _getClosestLabel(animation){return function(value){return gsap.utils.snap(_getLabelRatioArray(animation),value)}},_getLabelAtDirection=function _getLabelAtDirection(timeline){return function(value,st){var a=_getLabelRatioArray(timeline),i;a.sort(function(a,b){return a-b});if(st.direction>0){value-=1e-4;for(i=0;i<a.length;i++){if(a[i]>=value){return a[i]}}
1016return a.pop()}else{i=a.length;value+=1e-4;while(i--){if(a[i]<=value){return a[i]}}}
1017return a[0]}},_multiListener=function _multiListener(func,element,types,callback){return types.split(",").forEach(function(type){return func(element,type,callback)})},_addListener=function _addListener(element,type,func){return element.addEventListener(type,func,{passive:!0})},_removeListener=function _removeListener(element,type,func){return element.removeEventListener(type,func)},_markerDefaults={startColor:"green",endColor:"red",indent:0,fontSize:"16px",fontWeight:"normal"},_defaults={toggleActions:"play",anticipatePin:0},_keywords={top:0,left:0,center:0.5,bottom:1,right:1},_offsetToPx=function _offsetToPx(value,size){if(_isString(value)){var eqIndex=value.indexOf("="),relative=~eqIndex?+(value.charAt(eqIndex-1)+1)*parseFloat(value.substr(eqIndex+1)):0;if(~eqIndex){value.indexOf("%")>eqIndex&&(relative*=size/100);value=value.substr(0,eqIndex-1)}
1018value=relative+(value in _keywords?_keywords[value]*size:~value.indexOf("%")?parseFloat(value)*size/100:parseFloat(value)||0)}
1019return value},_createMarker=function _createMarker(type,name,container,direction,_ref5,offset,matchWidthEl){var startColor=_ref5.startColor,endColor=_ref5.endColor,fontSize=_ref5.fontSize,indent=_ref5.indent,fontWeight=_ref5.fontWeight;var e=_doc.createElement("div"),useFixedPosition=_isViewport(container)||_getProxyProp(container,"pinType")==="fixed",isScroller=type.indexOf("scroller")!==-1,parent=useFixedPosition?_body:container,isStart=type.indexOf("start")!==-1,color=isStart?startColor:endColor,css="border-color:"+color+";font-size:"+fontSize+";color:"+color+";font-weight:"+fontWeight+";pointer-events:none;white-space:nowrap;font-family:sans-serif,Arial;z-index:1000;padding:4px 8px;border-width:0;border-style:solid;";css+="position:"+(isScroller&&useFixedPosition?"fixed;":"absolute;");(isScroller||!useFixedPosition)&&(css+=(direction===_vertical?_right:_bottom)+":"+(offset+parseFloat(indent))+"px;");matchWidthEl&&(css+="box-sizing:border-box;text-align:left;width:"+matchWidthEl.offsetWidth+"px;");e._isStart=isStart;e.setAttribute("class","gsap-marker-"+type);e.style.cssText=css;e.innerText=name||name===0?type+"-"+name:type;parent.children[0]?parent.insertBefore(e,parent.children[0]):parent.appendChild(e);e._offset=e["offset"+direction.op.d2];_positionMarker(e,0,direction,isStart);return e},_positionMarker=function _positionMarker(marker,start,direction,flipped){var vars={display:"block"},side=direction[flipped?"os2":"p2"],oppositeSide=direction[flipped?"p2":"os2"];marker._isFlipped=flipped;vars[direction.a+"Percent"]=flipped?-100:0;vars[direction.a]=flipped?"1px":0;vars["border"+side+_Width]=1;vars["border"+oppositeSide+_Width]=0;vars[direction.p]=start+"px";gsap.set(marker,vars)},_triggers=[],_ids={},_sync=function _sync(){return _request||(_request=_raf(_updateAll))},_onScroll=function _onScroll(){if(!_request){_request=_raf(_updateAll);_lastScrollTime||_dispatch("scrollStart");_lastScrollTime=_getTime()}},_onResize=function _onResize(){return!_refreshing&&!_ignoreResize&&!_doc.fullscreenElement&&_resizeDelay.restart(!0)},_listeners={},_emptyArray=[],_media=[],_creatingMedia,_lastMediaTick,_onMediaChange=function _onMediaChange(e){var tick=gsap.ticker.frame,matches=[],i=0,index;if(_lastMediaTick!==tick||_startup){_revertAll();for(;i<_media.length;i+=4){index=_win.matchMedia(_media[i]).matches;if(index!==_media[i+3]){_media[i+3]=index;index?matches.push(i):_revertAll(1,_media[i])||_isFunction(_media[i+2])&&_media[i+2]()}}
1020_revertRecorded();for(i=0;i<matches.length;i++){index=matches[i];_creatingMedia=_media[index];_media[index+2]=_media[index+1](e)}
1021_creatingMedia=0;_coreInitted&&_refreshAll(0,1);_lastMediaTick=tick;_dispatch("matchMedia")}},_softRefresh=function _softRefresh(){return _removeListener(ScrollTrigger,"scrollEnd",_softRefresh)||_refreshAll(!0)},_dispatch=function _dispatch(type){return _listeners[type]&&_listeners[type].map(function(f){return f()})||_emptyArray},_savedStyles=[],_revertRecorded=function _revertRecorded(media){for(var i=0;i<_savedStyles.length;i+=5){if(!media||_savedStyles[i+4]===media){_savedStyles[i].style.cssText=_savedStyles[i+1];_savedStyles[i].getBBox&&_savedStyles[i].setAttribute("transform",_savedStyles[i+2]||"");_savedStyles[i+3].uncache=1}}},_revertAll=function _revertAll(kill,media){var trigger;for(_i=0;_i<_triggers.length;_i++){trigger=_triggers[_i];if(!media||trigger.media===media){if(kill){trigger.kill(1)}else{trigger.revert()}}}
1022media&&_revertRecorded(media);media||_dispatch("revert")},_refreshingAll,_refreshAll=function _refreshAll(force,skipRevert){if(_lastScrollTime&&!force){_addListener(ScrollTrigger,"scrollEnd",_softRefresh);return}
1023_refreshingAll=!0;var refreshInits=_dispatch("refreshInit");_sort&&ScrollTrigger.sort();skipRevert||_revertAll();_triggers.forEach(function(t){return t.refresh()});refreshInits.forEach(function(result){return result&&result.render&&result.render(-1)});_scrollers.forEach(function(obj){return typeof obj==="function"&&(obj.rec=0)});_resizeDelay.pause();_refreshingAll=!1;_dispatch("refresh")},_lastScroll=0,_direction=1,_updateAll=function _updateAll(){if(!_refreshingAll){var l=_triggers.length,time=_getTime(),recordVelocity=time-_time1>=50,scroll=l&&_triggers[0].scroll();_direction=_lastScroll>scroll?-1:1;_lastScroll=scroll;if(recordVelocity){if(_lastScrollTime&&!_pointerIsDown&&time-_lastScrollTime>200){_lastScrollTime=0;_dispatch("scrollEnd")}
1024_time2=_time1;_time1=time}
1025if(_direction<0){_i=l;while(_i-->0){_triggers[_i]&&_triggers[_i].update(0,recordVelocity)}
1026_direction=1}else{for(_i=0;_i<l;_i++){_triggers[_i]&&_triggers[_i].update(0,recordVelocity)}}
1027_request=0}},_propNamesToCopy=[_left,_top,_bottom,_right,_margin+_Bottom,_margin+_Right,_margin+_Top,_margin+_Left,"display","flexShrink","float","zIndex","grid-column-start","grid-column-end","grid-row-start","grid-row-end","grid-area","justify-self","align-self","place-self"],_stateProps=_propNamesToCopy.concat([_width,_height,"boxSizing","max"+_Width,"max"+_Height,"position",_margin,_padding,_padding+_Top,_padding+_Right,_padding+_Bottom,_padding+_Left]),_swapPinOut=function _swapPinOut(pin,spacer,state){_setState(state);if(pin.parentNode===spacer){var parent=spacer.parentNode;if(parent){parent.insertBefore(pin,spacer);parent.removeChild(spacer)}}},_swapPinIn=function _swapPinIn(pin,spacer,cs,spacerState){if(pin.parentNode!==spacer){var i=_propNamesToCopy.length,spacerStyle=spacer.style,pinStyle=pin.style,p;while(i--){p=_propNamesToCopy[i];spacerStyle[p]=cs[p]}
1028spacerStyle.position=cs.position==="absolute"?"absolute":"relative";cs.display==="inline"&&(spacerStyle.display="inline-block");pinStyle[_bottom]=pinStyle[_right]="auto";spacerStyle.overflow="visible";spacerStyle.boxSizing="border-box";spacerStyle[_width]=_getSize(pin,_horizontal)+_px;spacerStyle[_height]=_getSize(pin,_vertical)+_px;spacerStyle[_padding]=pinStyle[_margin]=pinStyle[_top]=pinStyle[_left]="0";_setState(spacerState);pinStyle[_width]=pinStyle["max"+_Width]=cs[_width];pinStyle[_height]=pinStyle["max"+_Height]=cs[_height];pinStyle[_padding]=cs[_padding];pin.parentNode.insertBefore(spacer,pin);spacer.appendChild(pin)}},_capsExp=/([A-Z])/g,_setState=function _setState(state){if(state){var style=state.t.style,l=state.length,i=0,p,value;(state.t._gsap||gsap.core.getCache(state.t)).uncache=1;for(;i<l;i+=2){value=state[i+1];p=state[i];if(value){style[p]=value}else if(style[p]){style.removeProperty(p.replace(_capsExp,"-$1").toLowerCase())}}}},_getState=function _getState(element){var l=_stateProps.length,style=element.style,state=[],i=0;for(;i<l;i++){state.push(_stateProps[i],style[_stateProps[i]])}
1029state.t=element;return state},_copyState=function _copyState(state,override,omitOffsets){var result=[],l=state.length,i=omitOffsets?8:0,p;for(;i<l;i+=2){p=state[i];result.push(p,p in override?override[p]:state[i+1])}
1030result.t=state.t;return result},_winOffsets={left:0,top:0},_parsePosition=function _parsePosition(value,trigger,scrollerSize,direction,scroll,marker,markerScroller,self,scrollerBounds,borderWidth,useFixedPosition,scrollerMax){_isFunction(value)&&(value=value(self));if(_isString(value)&&value.substr(0,3)==="max"){value=scrollerMax+(value.charAt(4)==="="?_offsetToPx("0"+value.substr(3),scrollerSize):0)}
1031if(!_isNumber(value)){_isFunction(trigger)&&(trigger=trigger(self));var element=_toArray(trigger)[0]||_body,bounds=_getBounds(element)||{},offsets=value.split(" "),localOffset,globalOffset,display;if((!bounds||!bounds.left&&!bounds.top)&&_getComputedStyle(element).display==="none"){display=element.style.display;element.style.display="block";bounds=_getBounds(element);display?element.style.display=display:element.style.removeProperty("display")}
1032localOffset=_offsetToPx(offsets[0],bounds[direction.d]);globalOffset=_offsetToPx(offsets[1]||"0",scrollerSize);value=bounds[direction.p]-scrollerBounds[direction.p]-borderWidth+localOffset+scroll-globalOffset;markerScroller&&_positionMarker(markerScroller,globalOffset,direction,scrollerSize-globalOffset<20||markerScroller._isStart&&globalOffset>20);scrollerSize-=scrollerSize-globalOffset}else if(markerScroller){_positionMarker(markerScroller,scrollerSize,direction,!0)}
1033if(marker){var position=value+scrollerSize,isStart=marker._isStart;scrollerMax="scroll"+direction.d2;_positionMarker(marker,position,direction,isStart&&position>20||!isStart&&(useFixedPosition?Math.max(_body[scrollerMax],_docEl[scrollerMax]):marker.parentNode[scrollerMax])<=position+1);if(useFixedPosition){scrollerBounds=_getBounds(markerScroller);useFixedPosition&&(marker.style[direction.op.p]=scrollerBounds[direction.op.p]-direction.op.m-marker._offset+_px)}}
1034return Math.round(value)},_prefixExp=/(?:webkit|moz|length|cssText|inset)/i,_reparent=function _reparent(element,parent,top,left){if(element.parentNode!==parent){var style=element.style,p,cs;if(parent===_body){element._stOrig=style.cssText;cs=_getComputedStyle(element);for(p in cs){if(!+p&&!_prefixExp.test(p)&&cs[p]&&typeof style[p]==="string"&&p!=="0"){style[p]=cs[p]}}
1035style.top=top;style.left=left}else{style.cssText=element._stOrig}
1036gsap.core.getCache(element).uncache=1;parent.appendChild(element)}},_getTweenCreator=function _getTweenCreator(scroller,direction){var getScroll=_getScrollFunc(scroller,direction),prop="_scroll"+direction.p2,lastScroll1,lastScroll2,getTween=function getTween(scrollTo,vars,initialValue,change1,change2){var tween=getTween.tween,onComplete=vars.onComplete,modifiers={};tween&&tween.kill();lastScroll1=Math.round(initialValue);vars[prop]=scrollTo;vars.modifiers=modifiers;modifiers[prop]=function(value){value=_round(getScroll());if(value!==lastScroll1&&value!==lastScroll2&&Math.abs(value-lastScroll1)>2){tween.kill();getTween.tween=0}else{value=initialValue+change1*tween.ratio+change2*tween.ratio*tween.ratio}
1037lastScroll2=lastScroll1;return lastScroll1=_round(value)};vars.onComplete=function(){getTween.tween=0;onComplete&&onComplete.call(tween)};tween=getTween.tween=gsap.to(scroller,vars);return tween};scroller[prop]=getScroll;scroller.addEventListener("wheel",function(){return getTween.tween&&getTween.tween.kill()&&(getTween.tween=0)},{passive:!0});return getTween};_horizontal.op=_vertical;var ScrollTrigger=function(){function ScrollTrigger(vars,animation){_coreInitted||ScrollTrigger.register(gsap)||console.warn("Please gsap.registerPlugin(ScrollTrigger)");this.init(vars,animation)}
1038var _proto=ScrollTrigger.prototype;_proto.init=function init(vars,animation){this.progress=this.start=0;this.vars&&this.kill(1);if(!_enabled){this.update=this.refresh=this.kill=_passThrough;return}
1039vars=_setDefaults(_isString(vars)||_isNumber(vars)||vars.nodeType?{trigger:vars}:vars,_defaults);var direction=vars.horizontal?_horizontal:_vertical,_vars=vars,onUpdate=_vars.onUpdate,toggleClass=_vars.toggleClass,id=_vars.id,onToggle=_vars.onToggle,onRefresh=_vars.onRefresh,scrub=_vars.scrub,trigger=_vars.trigger,pin=_vars.pin,pinSpacing=_vars.pinSpacing,invalidateOnRefresh=_vars.invalidateOnRefresh,anticipatePin=_vars.anticipatePin,onScrubComplete=_vars.onScrubComplete,onSnapComplete=_vars.onSnapComplete,once=_vars.once,snap=_vars.snap,pinReparent=_vars.pinReparent,isToggle=!scrub&&scrub!==0,scroller=_toArray(vars.scroller||_win)[0],scrollerCache=gsap.core.getCache(scroller),isViewport=_isViewport(scroller),useFixedPosition="pinType" in vars?vars.pinType==="fixed":isViewport||_getProxyProp(scroller,"pinType")==="fixed",callbacks=[vars.onEnter,vars.onLeave,vars.onEnterBack,vars.onLeaveBack],toggleActions=isToggle&&vars.toggleActions.split(" "),markers="markers" in vars?vars.markers:_defaults.markers,borderWidth=isViewport?0:parseFloat(_getComputedStyle(scroller)["border"+direction.p2+_Width])||0,self=this,onRefreshInit=vars.onRefreshInit&&function(){return vars.onRefreshInit(self)},getScrollerSize=_getSizeFunc(scroller,isViewport,direction),getScrollerOffsets=_getOffsetsFunc(scroller,isViewport),lastSnap=0,tweenTo,pinCache,snapFunc,scroll1,scroll2,start,end,markerStart,markerEnd,markerStartTrigger,markerEndTrigger,markerVars,change,pinOriginalState,pinActiveState,pinState,spacer,offset,pinGetter,pinSetter,pinStart,pinChange,spacingStart,spacerState,markerStartSetter,markerEndSetter,cs,snap1,snap2,scrubTween,scrubSmooth,snapDurClamp,snapDelayedCall,prevProgress,prevScroll,prevAnimProgress;self.media=_creatingMedia;anticipatePin*=45;self.scroller=scroller;self.scroll=_getScrollFunc(scroller,direction);scroll1=self.scroll();self.vars=vars;animation=animation||vars.animation;"refreshPriority" in vars&&(_sort=1);scrollerCache.tweenScroll=scrollerCache.tweenScroll||{top:_getTweenCreator(scroller,_vertical),left:_getTweenCreator(scroller,_horizontal)};self.tweenTo=tweenTo=scrollerCache.tweenScroll[direction.p];if(animation){animation.vars.lazy=!1;animation._initted||animation.vars.immediateRender!==!1&&vars.immediateRender!==!1&&animation.render(0,!0,!0);self.animation=animation.pause();animation.scrollTrigger=self;scrubSmooth=_isNumber(scrub)&&scrub;scrubSmooth&&(scrubTween=gsap.to(animation,{ease:"power3",duration:scrubSmooth,onComplete:function onComplete(){return onScrubComplete&&onScrubComplete(self)}}));snap1=0;id||(id=animation.vars.id)}
1040_triggers.push(self);if(snap){if(!_isObject(snap)||snap.push){snap={snapTo:snap}}
1041"scrollBehavior" in _body.style&&gsap.set(isViewport?[_body,_docEl]:scroller,{scrollBehavior:"auto"});snapFunc=_isFunction(snap.snapTo)?snap.snapTo:snap.snapTo==="labels"?_getClosestLabel(animation):snap.snapTo==="labelsDirectional"?_getLabelAtDirection(animation):gsap.utils.snap(snap.snapTo);snapDurClamp=snap.duration||{min:0.1,max:2};snapDurClamp=_isObject(snapDurClamp)?_clamp(snapDurClamp.min,snapDurClamp.max):_clamp(snapDurClamp,snapDurClamp);snapDelayedCall=gsap.delayedCall(snap.delay||scrubSmooth/2||0.1,function(){if(Math.abs(self.getVelocity())<10&&!_pointerIsDown&&lastSnap!==self.scroll()){var totalProgress=animation&&!isToggle?animation.totalProgress():self.progress,velocity=(totalProgress-snap2)/(_getTime()-_time2)*1000||0,change1=gsap.utils.clamp(-self.progress,1-self.progress,_abs(velocity/2)*velocity/0.185),naturalEnd=self.progress+(snap.inertia===!1?0:change1),endValue=_clamp(0,1,snapFunc(naturalEnd,self)),scroll=self.scroll(),endScroll=Math.round(start+endValue*change),_snap=snap,onStart=_snap.onStart,_onInterrupt=_snap.onInterrupt,_onComplete=_snap.onComplete,tween=tweenTo.tween;if(scroll<=end&&scroll>=start&&endScroll!==scroll){if(tween&&!tween._initted&&tween.data<=Math.abs(endScroll-scroll)){return}
1042if(snap.inertia===!1){change1=endValue-self.progress}
1043tweenTo(endScroll,{duration:snapDurClamp(_abs(Math.max(_abs(naturalEnd-totalProgress),_abs(endValue-totalProgress))*0.185/velocity/0.05||0)),ease:snap.ease||"power3",data:Math.abs(endScroll-scroll),onInterrupt:function onInterrupt(){return snapDelayedCall.restart(!0)&&_onInterrupt&&_onInterrupt(self)},onComplete:function onComplete(){lastSnap=self.scroll();snap1=snap2=animation&&!isToggle?animation.totalProgress():self.progress;onSnapComplete&&onSnapComplete(self);_onComplete&&_onComplete(self)}},scroll,change1*change,endScroll-scroll-change1*change);onStart&&onStart(self,tweenTo.tween)}}else if(self.isActive){snapDelayedCall.restart(!0)}}).pause()}
1044id&&(_ids[id]=self);trigger=self.trigger=_toArray(trigger||pin)[0];pin=pin===!0?trigger:_toArray(pin)[0];_isString(toggleClass)&&(toggleClass={targets:trigger,className:toggleClass});if(pin){pinSpacing===!1||pinSpacing===_margin||(pinSpacing=!pinSpacing&&_getComputedStyle(pin.parentNode).display==="flex"?!1:_padding);self.pin=pin;vars.force3D!==!1&&gsap.set(pin,{force3D:!0});pinCache=gsap.core.getCache(pin);if(!pinCache.spacer){pinCache.spacer=spacer=_doc.createElement("div");spacer.setAttribute("class","pin-spacer"+(id?" pin-spacer-"+id:""));pinCache.pinState=pinOriginalState=_getState(pin)}else{pinOriginalState=pinCache.pinState}
1045self.spacer=spacer=pinCache.spacer;cs=_getComputedStyle(pin);spacingStart=cs[pinSpacing+direction.os2];pinGetter=gsap.getProperty(pin);pinSetter=gsap.quickSetter(pin,direction.a,_px);_swapPinIn(pin,spacer,cs);pinState=_getState(pin)}
1046if(markers){markerVars=_isObject(markers)?_setDefaults(markers,_markerDefaults):_markerDefaults;markerStartTrigger=_createMarker("scroller-start",id,scroller,direction,markerVars,0);markerEndTrigger=_createMarker("scroller-end",id,scroller,direction,markerVars,0,markerStartTrigger);offset=markerStartTrigger["offset"+direction.op.d2];markerStart=_createMarker("start",id,scroller,direction,markerVars,offset);markerEnd=_createMarker("end",id,scroller,direction,markerVars,offset);if(!useFixedPosition&&!(_proxies.length&&_getProxyProp(scroller,"fixedMarkers")===!0)){_makePositionable(isViewport?_body:scroller);gsap.set([markerStartTrigger,markerEndTrigger],{force3D:!0});markerStartSetter=gsap.quickSetter(markerStartTrigger,direction.a,_px);markerEndSetter=gsap.quickSetter(markerEndTrigger,direction.a,_px)}}
1047self.revert=function(revert){var r=revert!==!1||!self.enabled,prevRefreshing=_refreshing;if(r!==self.isReverted){if(r){self.scroll.rec||(self.scroll.rec=self.scroll());prevScroll=Math.max(self.scroll(),self.scroll.rec||0);prevProgress=self.progress;prevAnimProgress=animation&&animation.progress()}
1048markerStart&&[markerStart,markerEnd,markerStartTrigger,markerEndTrigger].forEach(function(m){return m.style.display=r?"none":"block"});r&&(_refreshing=1);self.update(r);_refreshing=prevRefreshing;pin&&(r?_swapPinOut(pin,spacer,pinOriginalState):(!pinReparent||!self.isActive)&&_swapPinIn(pin,spacer,_getComputedStyle(pin),spacerState));self.isReverted=r}};self.refresh=function(soft,force){if((_refreshing||!self.enabled)&&!force){return}
1049if(pin&&soft&&_lastScrollTime){_addListener(ScrollTrigger,"scrollEnd",_softRefresh);return}
1050_refreshing=1;scrubTween&&scrubTween.pause();invalidateOnRefresh&&animation&&animation.progress(0).invalidate();self.isReverted||self.revert();var size=getScrollerSize(),scrollerBounds=getScrollerOffsets(),max=_maxScroll(scroller,direction),offset=0,otherPinOffset=0,parsedEnd=vars.end,parsedEndTrigger=vars.endTrigger||trigger,parsedStart=vars.start||(vars.start===0||!trigger?0:pin?"0 0":"0 100%"),pinnedContainer=vars.pinnedContainer&&_toArray(vars.pinnedContainer)[0],triggerIndex=trigger&&Math.max(0,_triggers.indexOf(self))||0,i=triggerIndex,cs,bounds,scroll,isVertical,override,curTrigger,curPin,oppositeScroll,initted,revertedPins;while(i--){curTrigger=_triggers[i];curTrigger.end||curTrigger.refresh(0,1)||(_refreshing=1);curPin=curTrigger.pin;if(curPin&&(curPin===trigger||curPin===pin)&&!curTrigger.isReverted){revertedPins||(revertedPins=[]);revertedPins.unshift(curTrigger);curTrigger.revert()}}
1051start=_parsePosition(parsedStart,trigger,size,direction,self.scroll(),markerStart,markerStartTrigger,self,scrollerBounds,borderWidth,useFixedPosition,max)||(pin?-0.001:0);_isFunction(parsedEnd)&&(parsedEnd=parsedEnd(self));if(_isString(parsedEnd)&&!parsedEnd.indexOf("+=")){if(~parsedEnd.indexOf(" ")){parsedEnd=(_isString(parsedStart)?parsedStart.split(" ")[0]:"")+parsedEnd}else{offset=_offsetToPx(parsedEnd.substr(2),size);parsedEnd=_isString(parsedStart)?parsedStart:start+offset;parsedEndTrigger=trigger}}
1052end=Math.max(start,_parsePosition(parsedEnd||(parsedEndTrigger?"100% 0":max),parsedEndTrigger,size,direction,self.scroll()+offset,markerEnd,markerEndTrigger,self,scrollerBounds,borderWidth,useFixedPosition,max))||-0.001;change=end-start||(start-=0.01)&&0.001;offset=0;i=triggerIndex;while(i--){curTrigger=_triggers[i];curPin=curTrigger.pin;if(curPin&&curTrigger.start-curTrigger._pinPush<start){cs=curTrigger.end-curTrigger.start;(curPin===trigger||curPin===pinnedContainer)&&(offset+=cs);curPin===pin&&(otherPinOffset+=cs)}}
1053start+=offset;end+=offset;self._pinPush=otherPinOffset;if(markerStart&&offset){cs={};cs[direction.a]="+="+offset;pinnedContainer&&(cs[direction.p]="-="+self.scroll());gsap.set([markerStart,markerEnd],cs)}
1054if(pin){cs=_getComputedStyle(pin);isVertical=direction===_vertical;scroll=self.scroll();pinStart=parseFloat(pinGetter(direction.a))+otherPinOffset;!max&&end>1&&((isViewport?_body:scroller).style["overflow-"+direction.a]="scroll");_swapPinIn(pin,spacer,cs);pinState=_getState(pin);bounds=_getBounds(pin,!0);oppositeScroll=useFixedPosition&&_getScrollFunc(scroller,isVertical?_horizontal:_vertical)();if(pinSpacing){spacerState=[pinSpacing+direction.os2,change+otherPinOffset+_px];spacerState.t=spacer;i=pinSpacing===_padding?_getSize(pin,direction)+change+otherPinOffset:0;i&&spacerState.push(direction.d,i+_px);_setState(spacerState);useFixedPosition&&self.scroll(prevScroll)}
1055if(useFixedPosition){override={top:bounds.top+(isVertical?scroll-start:oppositeScroll)+_px,left:bounds.left+(isVertical?oppositeScroll:scroll-start)+_px,boxSizing:"border-box",position:"fixed"};override[_width]=override["max"+_Width]=Math.ceil(bounds.width)+_px;override[_height]=override["max"+_Height]=Math.ceil(bounds.height)+_px;override[_margin]=override[_margin+_Top]=override[_margin+_Right]=override[_margin+_Bottom]=override[_margin+_Left]="0";override[_padding]=cs[_padding];override[_padding+_Top]=cs[_padding+_Top];override[_padding+_Right]=cs[_padding+_Right];override[_padding+_Bottom]=cs[_padding+_Bottom];override[_padding+_Left]=cs[_padding+_Left];pinActiveState=_copyState(pinOriginalState,override,pinReparent)}
1056if(animation){initted=animation._initted;_suppressOverwrites(1);animation.render(animation.duration(),!0,!0);pinChange=pinGetter(direction.a)-pinStart+change+otherPinOffset;change!==pinChange&&pinActiveState.splice(pinActiveState.length-2,2);animation.render(0,!0,!0);initted||animation.invalidate();_suppressOverwrites(0)}else{pinChange=change}}else if(trigger&&self.scroll()){bounds=trigger.parentNode;while(bounds&&bounds!==_body){if(bounds._pinOffset){start-=bounds._pinOffset;end-=bounds._pinOffset}
1057bounds=bounds.parentNode}}
1058revertedPins&&revertedPins.forEach(function(t){return t.revert(!1)});self.start=start;self.end=end;scroll1=scroll2=self.scroll();scroll1<prevScroll&&self.scroll(prevScroll);self.revert(!1);_refreshing=0;animation&&isToggle&&animation._initted&&animation.progress()!==prevAnimProgress&&animation.progress(prevAnimProgress,!0).render(animation.time(),!0,!0);if(prevProgress!==self.progress){scrubTween&&animation.totalProgress(prevProgress,!0);self.progress=prevProgress;self.update()}
1059pin&&pinSpacing&&(spacer._pinOffset=Math.round(self.progress*pinChange));onRefresh&&onRefresh(self)};self.getVelocity=function(){return(self.scroll()-scroll2)/(_getTime()-_time2)*1000||0};self.update=function(reset,recordVelocity){var scroll=self.scroll(),p=reset?0:(scroll-start)/change,clipped=p<0?0:p>1?1:p||0,prevProgress=self.progress,isActive,wasActive,toggleState,action,stateChanged,toggled;if(recordVelocity){scroll2=scroll1;scroll1=scroll;if(snap){snap2=snap1;snap1=animation&&!isToggle?animation.totalProgress():clipped}}
1060anticipatePin&&!clipped&&pin&&!_refreshing&&!_startup&&_lastScrollTime&&start<scroll+(scroll-scroll2)/(_getTime()-_time2)*anticipatePin&&(clipped=0.0001);if(clipped!==prevProgress&&self.enabled){isActive=self.isActive=!!clipped&&clipped<1;wasActive=!!prevProgress&&prevProgress<1;toggled=isActive!==wasActive;stateChanged=toggled||!!clipped!==!!prevProgress;self.direction=clipped>prevProgress?1:-1;self.progress=clipped;if(!isToggle){if(scrubTween&&!_refreshing&&!_startup){scrubTween.vars.totalProgress=clipped;scrubTween.invalidate().restart()}else if(animation){animation.totalProgress(clipped,!!_refreshing)}}
1061if(pin){reset&&pinSpacing&&(spacer.style[pinSpacing+direction.os2]=spacingStart);if(!useFixedPosition){pinSetter(pinStart+pinChange*clipped)}else if(stateChanged){action=!reset&&clipped>prevProgress&&end+1>scroll&&scroll+1>=_maxScroll(scroller,direction);if(pinReparent){if(!reset&&(isActive||action)){var bounds=_getBounds(pin,!0),_offset=scroll-start;_reparent(pin,_body,bounds.top+(direction===_vertical?_offset:0)+_px,bounds.left+(direction===_vertical?0:_offset)+_px)}else{_reparent(pin,spacer)}}
1062_setState(isActive||action?pinActiveState:pinState);pinChange!==change&&clipped<1&&isActive||pinSetter(pinStart+(clipped===1&&!action?pinChange:0))}}
1063snap&&!tweenTo.tween&&!_refreshing&&!_startup&&snapDelayedCall.restart(!0);toggleClass&&(toggled||once&&clipped&&(clipped<1||!_limitCallbacks))&&_toArray(toggleClass.targets).forEach(function(el){return el.classList[isActive||once?"add":"remove"](toggleClass.className)});onUpdate&&!isToggle&&!reset&&onUpdate(self);if(stateChanged&&!_refreshing){toggleState=clipped&&!prevProgress?0:clipped===1?1:prevProgress===1?2:3;if(isToggle){action=!toggled&&toggleActions[toggleState+1]!=="none"&&toggleActions[toggleState+1]||toggleActions[toggleState];if(animation&&(action==="complete"||action==="reset"||action in animation)){if(action==="complete"){animation.pause().totalProgress(1)}else if(action==="reset"){animation.restart(!0).pause()}else if(action==="restart"){animation.restart(!0)}else{animation[action]()}}
1064onUpdate&&onUpdate(self)}
1065if(toggled||!_limitCallbacks){onToggle&&toggled&&onToggle(self);callbacks[toggleState]&&callbacks[toggleState](self);once&&(clipped===1?self.kill(!1,1):callbacks[toggleState]=0);if(!toggled){toggleState=clipped===1?1:3;callbacks[toggleState]&&callbacks[toggleState](self)}}}else if(isToggle&&onUpdate&&!_refreshing){onUpdate(self)}}
1066if(markerEndSetter){markerStartSetter(scroll+(markerStartTrigger._isFlipped?1:0));markerEndSetter(scroll)}};self.enable=function(reset,refresh){if(!self.enabled){self.enabled=!0;_addListener(scroller,"resize",_onResize);_addListener(scroller,"scroll",_onScroll);onRefreshInit&&_addListener(ScrollTrigger,"refreshInit",onRefreshInit);if(reset!==!1){self.progress=prevProgress=0;scroll1=scroll2=lastSnap=self.scroll()}
1067refresh!==!1&&self.refresh()}};self.getTween=function(snap){return snap&&tweenTo?tweenTo.tween:scrubTween};self.disable=function(reset,allowAnimation){if(self.enabled){reset!==!1&&self.revert();self.enabled=self.isActive=!1;allowAnimation||scrubTween&&scrubTween.pause();prevScroll=0;pinCache&&(pinCache.uncache=1);onRefreshInit&&_removeListener(ScrollTrigger,"refreshInit",onRefreshInit);if(snapDelayedCall){snapDelayedCall.pause();tweenTo.tween&&tweenTo.tween.kill()&&(tweenTo.tween=0)}
1068if(!isViewport){var i=_triggers.length;while(i--){if(_triggers[i].scroller===scroller&&_triggers[i]!==self){return}}
1069_removeListener(scroller,"resize",_onResize);_removeListener(scroller,"scroll",_onScroll)}}};self.kill=function(revert,allowAnimation){self.disable(revert,allowAnimation);id&&delete _ids[id];var i=_triggers.indexOf(self);_triggers.splice(i,1);i===_i&&_direction>0&&_i--;i=0;_triggers.forEach(function(t){return t.scroller===self.scroller&&(i=1)});i||(self.scroll.rec=0);if(animation){animation.scrollTrigger=null;revert&&animation.render(-1);allowAnimation||animation.kill()}
1070markerStart&&[markerStart,markerEnd,markerStartTrigger,markerEndTrigger].forEach(function(m){return m.parentNode&&m.parentNode.removeChild(m)});if(pin){pinCache&&(pinCache.uncache=1);i=0;_triggers.forEach(function(t){return t.pin===pin&&i++});i||(pinCache.spacer=0)}};self.enable(!1,!1);!animation||!animation.add||change?self.refresh():gsap.delayedCall(0.01,function(){return start||end||self.refresh()})&&(change=0.01)&&(start=end=0)};ScrollTrigger.register=function register(core){if(!_coreInitted){gsap=core||_getGSAP();if(_windowExists()&&window.document){_win=window;_doc=document;_docEl=_doc.documentElement;_body=_doc.body}
1071if(gsap){_toArray=gsap.utils.toArray;_clamp=gsap.utils.clamp;_suppressOverwrites=gsap.core.suppressOverwrites||_passThrough;gsap.core.globals("ScrollTrigger",ScrollTrigger);if(_body){_raf=_win.requestAnimationFrame||function(f){return setTimeout(f,16)};_addListener(_win,"wheel",_onScroll);_root=[_win,_doc,_docEl,_body];_addListener(_doc,"scroll",_onScroll);var bodyStyle=_body.style,border=bodyStyle.borderTop,bounds;bodyStyle.borderTop="1px solid #000";bounds=_getBounds(_body);_vertical.m=Math.round(bounds.top+_vertical.sc())||0;_horizontal.m=Math.round(bounds.left+_horizontal.sc())||0;border?bodyStyle.borderTop=border:bodyStyle.removeProperty("border-top");_syncInterval=setInterval(_sync,200);gsap.delayedCall(0.5,function(){return _startup=0});_addListener(_doc,"touchcancel",_passThrough);_addListener(_body,"touchstart",_passThrough);_multiListener(_addListener,_doc,"pointerdown,touchstart,mousedown",function(){return _pointerIsDown=1});_multiListener(_addListener,_doc,"pointerup,touchend,mouseup",function(){return _pointerIsDown=0});_transformProp=gsap.utils.checkPrefix("transform");_stateProps.push(_transformProp);_coreInitted=_getTime();_resizeDelay=gsap.delayedCall(0.2,_refreshAll).pause();_autoRefresh=[_doc,"visibilitychange",function(){var w=_win.innerWidth,h=_win.innerHeight;if(_doc.hidden){_prevWidth=w;_prevHeight=h}else if(_prevWidth!==w||_prevHeight!==h){_onResize()}},_doc,"DOMContentLoaded",_refreshAll,_win,"load",function(){return _lastScrollTime||_refreshAll()},_win,"resize",_onResize];_iterateAutoRefresh(_addListener)}}}
1072return _coreInitted};ScrollTrigger.defaults=function defaults(config){for(var p in config){_defaults[p]=config[p]}};ScrollTrigger.kill=function kill(){_enabled=0;_triggers.slice(0).forEach(function(trigger){return trigger.kill(1)})};ScrollTrigger.config=function config(vars){"limitCallbacks" in vars&&(_limitCallbacks=!!vars.limitCallbacks);var ms=vars.syncInterval;ms&&clearInterval(_syncInterval)||(_syncInterval=ms)&&setInterval(_sync,ms);if("autoRefreshEvents" in vars){_iterateAutoRefresh(_removeListener)||_iterateAutoRefresh(_addListener,vars.autoRefreshEvents||"none");_ignoreResize=(vars.autoRefreshEvents+"").indexOf("resize")===-1}};ScrollTrigger.scrollerProxy=function scrollerProxy(target,vars){var t=_toArray(target)[0],i=_scrollers.indexOf(t),isViewport=_isViewport(t);if(~i){_scrollers.splice(i,isViewport?6:2)}
1073isViewport?_proxies.unshift(_win,vars,_body,vars,_docEl,vars):_proxies.unshift(t,vars)};ScrollTrigger.matchMedia=function matchMedia(vars){var mq,p,i,func,result;for(p in vars){i=_media.indexOf(p);func=vars[p];_creatingMedia=p;if(p==="all"){func()}else{mq=_win.matchMedia(p);if(mq){mq.matches&&(result=func());if(~i){_media[i+1]=_combineFunc(_media[i+1],func);_media[i+2]=_combineFunc(_media[i+2],result)}else{i=_media.length;_media.push(p,func,result);mq.addListener?mq.addListener(_onMediaChange):mq.addEventListener("change",_onMediaChange)}
1074_media[i+3]=mq.matches}}
1075_creatingMedia=0}
1076return _media};ScrollTrigger.clearMatchMedia=function clearMatchMedia(query){query||(_media.length=0);query=_media.indexOf(query);query>=0&&_media.splice(query,4)};return ScrollTrigger}();ScrollTrigger.version="3.7.1";ScrollTrigger.saveStyles=function(targets){return targets?_toArray(targets).forEach(function(target){if(target&&target.style){var i=_savedStyles.indexOf(target);i>=0&&_savedStyles.splice(i,5);_savedStyles.push(target,target.style.cssText,target.getBBox&&target.getAttribute("transform"),gsap.core.getCache(target),_creatingMedia)}}):_savedStyles};ScrollTrigger.revert=function(soft,media){return _revertAll(!soft,media)};ScrollTrigger.create=function(vars,animation){return new ScrollTrigger(vars,animation)};ScrollTrigger.refresh=function(safe){return safe?_onResize():_refreshAll(!0)};ScrollTrigger.update=_updateAll;ScrollTrigger.maxScroll=function(element,horizontal){return _maxScroll(element,horizontal?_horizontal:_vertical)};ScrollTrigger.getScrollFunc=function(element,horizontal){return _getScrollFunc(_toArray(element)[0],horizontal?_horizontal:_vertical)};ScrollTrigger.getById=function(id){return _ids[id]};ScrollTrigger.getAll=function(){return _triggers.slice(0)};ScrollTrigger.isScrolling=function(){return!!_lastScrollTime};ScrollTrigger.addEventListener=function(type,callback){var a=_listeners[type]||(_listeners[type]=[]);~a.indexOf(callback)||a.push(callback)};ScrollTrigger.removeEventListener=function(type,callback){var a=_listeners[type],i=a&&a.indexOf(callback);i>=0&&a.splice(i,1)};ScrollTrigger.batch=function(targets,vars){var result=[],varsCopy={},interval=vars.interval||0.016,batchMax=vars.batchMax||1e9,proxyCallback=function proxyCallback(type,callback){var elements=[],triggers=[],delay=gsap.delayedCall(interval,function(){callback(elements,triggers);elements=[];triggers=[]}).pause();return function(self){elements.length||delay.restart(!0);elements.push(self.trigger);triggers.push(self);batchMax<=elements.length&&delay.progress(1)}},p;for(p in vars){varsCopy[p]=p.substr(0,2)==="on"&&_isFunction(vars[p])&&p!=="onRefreshInit"?proxyCallback(p,vars[p]):vars[p]}
1077if(_isFunction(batchMax)){batchMax=batchMax();_addListener(ScrollTrigger,"refresh",function(){return batchMax=vars.batchMax()})}
1078_toArray(targets).forEach(function(target){var config={};for(p in varsCopy){config[p]=varsCopy[p]}
1079config.trigger=target;result.push(ScrollTrigger.create(config))});return result};ScrollTrigger.sort=function(func){return _triggers.sort(func||function(a,b){return(a.vars.refreshPriority||0)*-1e6+a.start-(b.start+(b.vars.refreshPriority||0)*-1e6)})};_getGSAP()&&gsap.registerPlugin(ScrollTrigger)}),
vendor: 13,306 bytes, lines 1079-1133
1079"./node_modules/gsap/SplitText.js":
1080/*!****************************************!*\
1081  !*** ./node_modules/gsap/SplitText.js ***!
1082  \****************************************/
1083/*! exports provided: SplitText, default */
1084(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"SplitText",function(){return SplitText});__webpack_require__.d(__webpack_exports__,"default",function(){return SplitText});var _utils_strings_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/strings.js */"./node_modules/gsap/utils/strings.js");
1085/*!
1086 * SplitText: 3.7.1
1087 * https://greensock.com
1088 *
1089 * @license Copyright 2008-2021, GreenSock. All rights reserved.
1090 * Subject to the terms at https://greensock.com/standard-license or for
1091 * Club GreenSock members, the agreement issued with that membership.
1092 * @author: Jack Doyle, [email protected]
1093*/
1094var _doc,_win,_coreInitted,_stripExp=/(?:\r|\n|\t\t)/g,_multipleSpacesExp=/(?:\s\s+)/g,_initCore=function _initCore(){_doc=document;_win=window;_coreInitted=1},_bonusValidated=1,_getComputedStyle=function _getComputedStyle(element){return _win.getComputedStyle(element)},_isArray=Array.isArray,_slice=[].slice,_toArray=function _toArray(value,leaveStrings){var type;return _isArray(value)?value:(type=typeof value)==="string"&&!leaveStrings&&value?_slice.call(_doc.querySelectorAll(value),0):value&&type==="object"&&"length" in value?_slice.call(value,0):value?[value]:[]},_isAbsolute=function _isAbsolute(vars){return vars.position==="absolute"||vars.absolute===!0},_findSpecialChars=function _findSpecialChars(text,chars){var i=chars.length,s;while(--i>-1){s=chars[i];if(text.substr(0,s.length)===s){return s.length}}},_divStart=" style='position:relative;display:inline-block;'",_cssClassFunc=function _cssClassFunc(cssClass,tag){if(cssClass===void 0){cssClass=""}
1095var iterate=~cssClass.indexOf("++"),num=1;if(iterate){cssClass=cssClass.split("++").join("")}
1096return function(){return"<"+tag+_divStart+(cssClass?" class='"+cssClass+(iterate?num++:"")+"'>":">")}},_swapText=function _swapText(element,oldText,newText){var type=element.nodeType;if(type===1||type===9||type===11){for(element=element.firstChild;element;element=element.nextSibling){_swapText(element,oldText,newText)}}else if(type===3||type===4){element.nodeValue=element.nodeValue.split(oldText).join(newText)}},_pushReversed=function _pushReversed(a,merge){var i=merge.length;while(--i>-1){a.push(merge[i])}},_isBeforeWordDelimiter=function _isBeforeWordDelimiter(e,root,wordDelimiter){var next;while(e&&e!==root){next=e._next||e.nextSibling;if(next){return next.textContent.charAt(0)===wordDelimiter}
1097e=e.parentNode||e._parent}},_deWordify=function _deWordify(e){var children=_toArray(e.childNodes),l=children.length,i,child;for(i=0;i<l;i++){child=children[i];if(child._isSplit){_deWordify(child)}else{if(i&&child.previousSibling&&child.previousSibling.nodeType===3){child.previousSibling.nodeValue+=child.nodeType===3?child.nodeValue:child.firstChild.nodeValue;e.removeChild(child)}else if(child.nodeType!==3){e.insertBefore(child.firstChild,child);e.removeChild(child)}}}},_getStyleAsNumber=function _getStyleAsNumber(name,computedStyle){return parseFloat(computedStyle[name])||0},_setPositionsAfterSplit=function _setPositionsAfterSplit(element,vars,allChars,allWords,allLines,origWidth,origHeight){var cs=_getComputedStyle(element),paddingLeft=_getStyleAsNumber("paddingLeft",cs),lineOffsetY=-999,borderTopAndBottom=_getStyleAsNumber("borderBottomWidth",cs)+_getStyleAsNumber("borderTopWidth",cs),borderLeftAndRight=_getStyleAsNumber("borderLeftWidth",cs)+_getStyleAsNumber("borderRightWidth",cs),padTopAndBottom=_getStyleAsNumber("paddingTop",cs)+_getStyleAsNumber("paddingBottom",cs),padLeftAndRight=_getStyleAsNumber("paddingLeft",cs)+_getStyleAsNumber("paddingRight",cs),lineThreshold=_getStyleAsNumber("fontSize",cs)*(vars.lineThreshold||0.2),textAlign=cs.textAlign,charArray=[],wordArray=[],lineArray=[],wordDelimiter=vars.wordDelimiter||" ",tag=vars.tag?vars.tag:vars.span?"span":"div",types=vars.type||vars.split||"chars,words,lines",lines=allLines&&~types.indexOf("lines")?[]:null,words=~types.indexOf("words"),chars=~types.indexOf("chars"),absolute=_isAbsolute(vars),linesClass=vars.linesClass,iterateLine=~(linesClass||"").indexOf("++"),spaceNodesToRemove=[],isFlex=cs.display==="flex",prevInlineDisplay=element.style.display,i,j,l,node,nodes,isChild,curLine,addWordSpaces,style,lineNode,lineWidth,offset;iterateLine&&(linesClass=linesClass.split("++").join(""));isFlex&&(element.style.display="block");j=element.getElementsByTagName("*");l=j.length;nodes=[];for(i=0;i<l;i++){nodes[i]=j[i]}
1098if(lines||absolute){for(i=0;i<l;i++){node=nodes[i];isChild=node.parentNode===element;if(isChild||absolute||chars&&!words){offset=node.offsetTop;if(lines&&isChild&&Math.abs(offset-lineOffsetY)>lineThreshold&&(node.nodeName!=="BR"||i===0)){curLine=[];lines.push(curLine);lineOffsetY=offset}
1099if(absolute){node._x=node.offsetLeft;node._y=offset;node._w=node.offsetWidth;node._h=node.offsetHeight}
1100if(lines){if(node._isSplit&&isChild||!chars&&isChild||words&&isChild||!words&&node.parentNode.parentNode===element&&!node.parentNode._isSplit){curLine.push(node);node._x-=paddingLeft;if(_isBeforeWordDelimiter(node,element,wordDelimiter)){node._wordEnd=!0}}
1101if(node.nodeName==="BR"&&(node.nextSibling&&node.nextSibling.nodeName==="BR"||i===0)){lines.push([])}}}}}
1102for(i=0;i<l;i++){node=nodes[i];isChild=node.parentNode===element;if(node.nodeName==="BR"){if(lines||absolute){node.parentNode&&node.parentNode.removeChild(node);nodes.splice(i--,1);l--}else if(!words){element.appendChild(node)}
1103continue}
1104if(absolute){style=node.style;if(!words&&!isChild){node._x+=node.parentNode._x;node._y+=node.parentNode._y}
1105style.left=node._x+"px";style.top=node._y+"px";style.position="absolute";style.display="block";style.width=node._w+1+"px";style.height=node._h+"px"}
1106if(!words&&chars){if(node._isSplit){node._next=j=node.nextSibling;node.parentNode.appendChild(node);while(j&&j.nodeType===3&&j.textContent===" "){node._next=j.nextSibling;node.parentNode.appendChild(j);j=j.nextSibling}}else if(node.parentNode._isSplit){node._parent=node.parentNode;if(!node.previousSibling&&node.firstChild){node.firstChild._isFirst=!0}
1107if(node.nextSibling&&node.nextSibling.textContent===" "&&!node.nextSibling.nextSibling){spaceNodesToRemove.push(node.nextSibling)}
1108node._next=node.nextSibling&&node.nextSibling._isFirst?null:node.nextSibling;node.parentNode.removeChild(node);nodes.splice(i--,1);l--}else if(!isChild){offset=!node.nextSibling&&_isBeforeWordDelimiter(node.parentNode,element,wordDelimiter);node.parentNode._parent&&node.parentNode._parent.appendChild(node);offset&&node.parentNode.appendChild(_doc.createTextNode(" "));if(tag==="span"){node.style.display="inline"}
1109charArray.push(node)}}else if(node.parentNode._isSplit&&!node._isSplit&&node.innerHTML!==""){wordArray.push(node)}else if(chars&&!node._isSplit){if(tag==="span"){node.style.display="inline"}
1110charArray.push(node)}}
1111i=spaceNodesToRemove.length;while(--i>-1){spaceNodesToRemove[i].parentNode.removeChild(spaceNodesToRemove[i])}
1112if(lines){if(absolute){lineNode=_doc.createElement(tag);element.appendChild(lineNode);lineWidth=lineNode.offsetWidth+"px";offset=lineNode.offsetParent===element?0:element.offsetLeft;element.removeChild(lineNode)}
1113style=element.style.cssText;element.style.cssText="display:none;";while(element.firstChild){element.removeChild(element.firstChild)}
1114addWordSpaces=wordDelimiter===" "&&(!absolute||!words&&!chars);for(i=0;i<lines.length;i++){curLine=lines[i];lineNode=_doc.createElement(tag);lineNode.style.cssText="display:block;text-align:"+textAlign+";position:"+(absolute?"absolute;":"relative;");if(linesClass){lineNode.className=linesClass+(iterateLine?i+1:"")}
1115lineArray.push(lineNode);l=curLine.length;for(j=0;j<l;j++){if(curLine[j].nodeName!=="BR"){node=curLine[j];lineNode.appendChild(node);addWordSpaces&&node._wordEnd&&lineNode.appendChild(_doc.createTextNode(" "));if(absolute){if(j===0){lineNode.style.top=node._y+"px";lineNode.style.left=paddingLeft+offset+"px"}
1116node.style.top="0px";if(offset){node.style.left=node._x-offset+"px"}}}}
1117if(l===0){lineNode.innerHTML="&nbsp;"}else if(!words&&!chars){_deWordify(lineNode);_swapText(lineNode,String.fromCharCode(160)," ")}
1118if(absolute){lineNode.style.width=lineWidth;lineNode.style.height=node._h+"px"}
1119element.appendChild(lineNode)}
1120element.style.cssText=style}
1121if(absolute){if(origHeight>element.clientHeight){element.style.height=origHeight-padTopAndBottom+"px";if(element.clientHeight<origHeight){element.style.height=origHeight+borderTopAndBottom+"px"}}
1122if(origWidth>element.clientWidth){element.style.width=origWidth-padLeftAndRight+"px";if(element.clientWidth<origWidth){element.style.width=origWidth+borderLeftAndRight+"px"}}}
1123isFlex&&(prevInlineDisplay?element.style.display=prevInlineDisplay:element.style.removeProperty("display"));_pushReversed(allChars,charArray);words&&_pushReversed(allWords,wordArray);_pushReversed(allLines,lineArray)},_splitRawText=function _splitRawText(element,vars,wordStart,charStart){var tag=vars.tag?vars.tag:vars.span?"span":"div",types=vars.type||vars.split||"chars,words,lines",chars=~types.indexOf("chars"),absolute=_isAbsolute(vars),wordDelimiter=vars.wordDelimiter||" ",space=wordDelimiter!==" "?"":absolute?"&#173; ":" ",wordEnd="</"+tag+">",wordIsOpen=1,specialChars=vars.specialChars?typeof vars.specialChars==="function"?vars.specialChars:_findSpecialChars:null,text,splitText,i,j,l,character,hasTagStart,testResult,container=_doc.createElement("div"),parent=element.parentNode;parent.insertBefore(container,element);container.textContent=element.nodeValue;parent.removeChild(element);element=container;text=Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.getText)(element);hasTagStart=text.indexOf("<")!==-1;if(vars.reduceWhiteSpace!==!1){text=text.replace(_multipleSpacesExp," ").replace(_stripExp,"")}
1124if(hasTagStart){text=text.split("<").join("{{LT}}")}
1125l=text.length;splitText=(text.charAt(0)===" "?space:"")+wordStart();for(i=0;i<l;i++){character=text.charAt(i);if(specialChars&&(testResult=specialChars(text.substr(i),vars.specialChars))){character=text.substr(i,testResult||1);splitText+=chars&&character!==" "?charStart()+character+"</"+tag+">":character;i+=testResult-1}else if(character===wordDelimiter&&text.charAt(i-1)!==wordDelimiter&&i){splitText+=wordIsOpen?wordEnd:"";wordIsOpen=0;while(text.charAt(i+1)===wordDelimiter){splitText+=space;i++}
1126if(i===l-1){splitText+=space}else if(text.charAt(i+1)!==")"){splitText+=space+wordStart();wordIsOpen=1}}else if(character==="{"&&text.substr(i,6)==="{{LT}}"){splitText+=chars?charStart()+"{{LT}}"+"</"+tag+">":"{{LT}}";i+=5}else if(character.charCodeAt(0)>=0xD800&&character.charCodeAt(0)<=0xDBFF||text.charCodeAt(i+1)>=0xFE00&&text.charCodeAt(i+1)<=0xFE0F){j=((text.substr(i,12).split(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiExp)||[])[1]||"").length||2;splitText+=chars&&character!==" "?charStart()+text.substr(i,j)+"</"+tag+">":text.substr(i,j);i+=j-1}else{splitText+=chars&&character!==" "?charStart()+character+"</"+tag+">":character}}
1127element.outerHTML=splitText+(wordIsOpen?wordEnd:"");hasTagStart&&_swapText(parent,"{{LT}}","<")},_split=function _split(element,vars,wordStart,charStart){var children=_toArray(element.childNodes),l=children.length,absolute=_isAbsolute(vars),i,child;if(element.nodeType!==3||l>1){vars.absolute=!1;for(i=0;i<l;i++){child=children[i];child._next=child._isFirst=child._parent=child._wordEnd=null;if(child.nodeType!==3||/\S+/.test(child.nodeValue)){if(absolute&&child.nodeType!==3&&_getComputedStyle(child).display==="inline"){child.style.display="inline-block";child.style.position="relative"}
1128child._isSplit=!0;_split(child,vars,wordStart,charStart)}}
1129vars.absolute=absolute;element._isSplit=!0;return}
1130_splitRawText(element,vars,wordStart,charStart)};var SplitText=function(){function SplitText(element,vars){_coreInitted||_initCore();this.elements=_toArray(element);this.chars=[];this.words=[];this.lines=[];this._originals=[];this.vars=vars||{};_bonusValidated&&this.split(vars)}
1131var _proto=SplitText.prototype;_proto.split=function split(vars){this.isSplit&&this.revert();this.vars=vars=vars||this.vars;this._originals.length=this.chars.length=this.words.length=this.lines.length=0;var i=this.elements.length,tag=vars.tag?vars.tag:vars.span?"span":"div",wordStart=_cssClassFunc(vars.wordsClass,tag),charStart=_cssClassFunc(vars.charsClass,tag),origHeight,origWidth,e;while(--i>-1){e=this.elements[i];this._originals[i]=e.innerHTML;origHeight=e.clientHeight;origWidth=e.clientWidth;_split(e,vars,wordStart,charStart);_setPositionsAfterSplit(e,vars,this.chars,this.words,this.lines,origWidth,origHeight)}
1132this.chars.reverse();this.words.reverse();this.lines.reverse();this.isSplit=!0;return this};_proto.revert=function revert(){var originals=this._originals;if(!originals){throw "revert() call wasn't scoped properly."}
1133this.elements.forEach(function(e,i){return e.innerHTML=originals[i]});this.chars=[];this.words=[];this.lines=[];this.isSplit=!1;return this};SplitText.create=function create(element,vars){return new SplitText(element,vars)};return SplitText}();SplitText.version="3.7.1"}),
vendor: 3,830 bytes, lines 1133-1161
1133"./node_modules/gsap/TextPlugin.js":
1134/*!*****************************************!*\
1135  !*** ./node_modules/gsap/TextPlugin.js ***!
1136  \*****************************************/
1137/*! exports provided: TextPlugin, default */
1138(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"TextPlugin",function(){return TextPlugin});__webpack_require__.d(__webpack_exports__,"default",function(){return TextPlugin});var _utils_strings_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils/strings.js */"./node_modules/gsap/utils/strings.js");
1139/*!
1140 * TextPlugin 3.7.1
1141 * https://greensock.com
1142 *
1143 * @license Copyright 2008-2021, GreenSock. All rights reserved.
1144 * Subject to the terms at https://greensock.com/standard-license or for
1145 * Club GreenSock members, the agreement issued with that membership.
1146 * @author: Jack Doyle, [email protected]
1147*/
1148var gsap,_tempDiv,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)&&gsap.registerPlugin&&gsap};var TextPlugin={version:"3.7.1",name:"text",init:function init(target,value,tween){var i=target.nodeName.toUpperCase(),data=this,_short,text,original,j,condensedText,condensedOriginal,aggregate,s;data.svg=target.getBBox&&(i==="TEXT"||i==="TSPAN");if(!("innerHTML" in target)&&!data.svg){return!1}
1149data.target=target;if(typeof value!=="object"){value={value:value}}
1150if(!("value" in value)){data.text=data.original=[""];return}
1151data.delimiter=value.delimiter||"";original=Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.splitInnerHTML)(target,data.delimiter);if(!_tempDiv){_tempDiv=document.createElement("div")}
1152_tempDiv.innerHTML=value.value;text=Object(_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.splitInnerHTML)(_tempDiv,data.delimiter);data.from=tween._from;if(data.from){i=original;original=text;text=i}
1153data.hasClass=!!(value.newClass||value.oldClass);data.newClass=value.newClass;data.oldClass=value.oldClass;i=original.length-text.length;_short=i<0?original:text;data.fillChar=value.fillChar||(value.padSpace?"&nbsp;":"");if(i<0){i=-i}
1154while(--i>-1){_short.push(data.fillChar)}
1155if(value.type==="diff"){j=0;condensedText=[];condensedOriginal=[];aggregate="";for(i=0;i<text.length;i++){s=text[i];if(s===original[i]){aggregate+=s}else{condensedText[j]=aggregate+s;condensedOriginal[j++]=aggregate+original[i];aggregate=""}}
1156text=condensedText;original=condensedOriginal;if(aggregate){text.push(aggregate);original.push(aggregate)}}
1157if(value.speed){tween.duration(Math.min(0.05/value.speed*_short.length,value.maxDuration||9999))}
1158this.original=original;this.text=text;this._props.push("text")},render:function render(ratio,data){if(ratio>1){ratio=1}else if(ratio<0){ratio=0}
1159if(data.from){ratio=1-ratio}
1160var text=data.text,hasClass=data.hasClass,newClass=data.newClass,oldClass=data.oldClass,delimiter=data.delimiter,target=data.target,fillChar=data.fillChar,original=data.original,l=text.length,i=ratio*l+0.5|0,applyNew,applyOld,str;if(hasClass){applyNew=newClass&&i;applyOld=oldClass&&i!==l;str=(applyNew?"<span class='"+newClass+"'>":"")+text.slice(0,i).join(delimiter)+(applyNew?"</span>":"")+(applyOld?"<span class='"+oldClass+"'>":"")+delimiter+original.slice(i).join(delimiter)+(applyOld?"</span>":"")}else{str=text.slice(0,i).join(delimiter)+delimiter+original.slice(i).join(delimiter)}
1161if(data.svg){target.textContent=str}else{target.innerHTML=fillChar==="&nbsp;"&&~str.indexOf("  ")?str.split("  ").join("&nbsp;&nbsp;"):str}}};TextPlugin.splitInnerHTML=_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.splitInnerHTML;TextPlugin.emojiSafeSplit=_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.emojiSafeSplit;TextPlugin.getText=_utils_strings_js__WEBPACK_IMPORTED_MODULE_0__.getText;_getGSAP()&&gsap.registerPlugin(TextPlugin)}),
vendor: 12,897 bytes, lines 1161-1166
1161"./node_modules/gsap/all.js":
1162/*!**********************************!*\
1163  !*** ./node_modules/gsap/all.js ***!
1164  \**********************************/
1165/*! exports provided: gsap, default, CSSPlugin, TweenMax, TweenLite, TimelineMax, TimelineLite, Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ, wrap, wrapYoyo, distribute, random, snap, normalize, getUnit, clamp, splitColor, toArray, mapRange, pipe, unitize, interpolate, shuffle, selector, Draggable, CSSRulePlugin, EaselPlugin, SlowMo, ExpoScaleEase, RoughEase, EasePack, MotionPathPlugin, PixiPlugin, ScrollToPlugin, ScrollTrigger, TextPlugin, CustomEase, DrawSVGPlugin, Physics2DPlugin, PhysicsPropsPlugin, ScrambleTextPlugin, CustomBounce, CustomWiggle, Flip, GSDevTools, InertiaPlugin, VelocityTracker, MorphSVGPlugin, MotionPathHelper, SplitText */
1166(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"gsap",function(){return gsapWithCSS});__webpack_require__.d(__webpack_exports__,"default",function(){return gsapWithCSS});__webpack_require__.d(__webpack_exports__,"TweenMax",function(){return TweenMaxWithCSS});var _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./gsap-core.js */"./node_modules/gsap/gsap-core.js");var _CSSPlugin_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./CSSPlugin.js */"./node_modules/gsap/CSSPlugin.js");__webpack_require__.d(__webpack_exports__,"CSSPlugin",function(){return _CSSPlugin_js__WEBPACK_IMPORTED_MODULE_1__["default"]});__webpack_require__.d(__webpack_exports__,"TweenLite",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.TweenLite});__webpack_require__.d(__webpack_exports__,"TimelineMax",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.TimelineMax});__webpack_require__.d(__webpack_exports__,"TimelineLite",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.TimelineLite});__webpack_require__.d(__webpack_exports__,"Power0",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Power0});__webpack_require__.d(__webpack_exports__,"Power1",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Power1});__webpack_require__.d(__webpack_exports__,"Power2",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Power2});__webpack_require__.d(__webpack_exports__,"Power3",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Power3});__webpack_require__.d(__webpack_exports__,"Power4",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Power4});__webpack_require__.d(__webpack_exports__,"Linear",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Linear});__webpack_require__.d(__webpack_exports__,"Quad",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Quad});__webpack_require__.d(__webpack_exports__,"Cubic",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Cubic});__webpack_require__.d(__webpack_exports__,"Quart",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Quart});__webpack_require__.d(__webpack_exports__,"Quint",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Quint});__webpack_require__.d(__webpack_exports__,"Strong",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Strong});__webpack_require__.d(__webpack_exports__,"Elastic",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Elastic});__webpack_require__.d(__webpack_exports__,"Back",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Back});__webpack_require__.d(__webpack_exports__,"SteppedEase",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.SteppedEase});__webpack_require__.d(__webpack_exports__,"Bounce",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Bounce});__webpack_require__.d(__webpack_exports__,"Sine",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Sine});__webpack_require__.d(__webpack_exports__,"Expo",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Expo});__webpack_require__.d(__webpack_exports__,"Circ",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.Circ});__webpack_require__.d(__webpack_exports__,"wrap",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.wrap});__webpack_require__.d(__webpack_exports__,"wrapYoyo",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.wrapYoyo});__webpack_require__.d(__webpack_exports__,"distribute",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.distribute});__webpack_require__.d(__webpack_exports__,"random",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.random});__webpack_require__.d(__webpack_exports__,"snap",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.snap});__webpack_require__.d(__webpack_exports__,"normalize",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.normalize});__webpack_require__.d(__webpack_exports__,"getUnit",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.getUnit});__webpack_require__.d(__webpack_exports__,"clamp",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.clamp});__webpack_require__.d(__webpack_exports__,"splitColor",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.splitColor});__webpack_require__.d(__webpack_exports__,"toArray",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.toArray});__webpack_require__.d(__webpack_exports__,"mapRange",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.mapRange});__webpack_require__.d(__webpack_exports__,"pipe",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.pipe});__webpack_require__.d(__webpack_exports__,"unitize",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.unitize});__webpack_require__.d(__webpack_exports__,"interpolate",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.interpolate});__webpack_require__.d(__webpack_exports__,"shuffle",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.shuffle});__webpack_require__.d(__webpack_exports__,"selector",function(){return _gsap_core_js__WEBPACK_IMPORTED_MODULE_0__.selector});var _Draggable_js__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(/*! ./Draggable.js */"./node_modules/gsap/Draggable.js");__webpack_require__.d(__webpack_exports__,"Draggable",function(){return _Draggable_js__WEBPACK_IMPORTED_MODULE_2__.Draggable});var _CSSRulePlugin_js__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(/*! ./CSSRulePlugin.js */"./node_modules/gsap/CSSRulePlugin.js");__webpack_require__.d(__webpack_exports__,"CSSRulePlugin",function(){return _CSSRulePlugin_js__WEBPACK_IMPORTED_MODULE_3__.CSSRulePlugin});var _EaselPlugin_js__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(/*! ./EaselPlugin.js */"./node_modules/gsap/EaselPlugin.js");__webpack_require__.d(__webpack_exports__,"EaselPlugin",function(){return _EaselPlugin_js__WEBPACK_IMPORTED_MODULE_4__.EaselPlugin});var _EasePack_js__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(/*! ./EasePack.js */"./node_modules/gsap/EasePack.js");__webpack_require__.d(__webpack_exports__,"SlowMo",function(){return _EasePack_js__WEBPACK_IMPORTED_MODULE_5__.SlowMo});__webpack_require__.d(__webpack_exports__,"ExpoScaleEase",function(){return _EasePack_js__WEBPACK_IMPORTED_MODULE_5__.ExpoScaleEase});__webpack_require__.d(__webpack_exports__,"RoughEase",function(){return _EasePack_js__WEBPACK_IMPORTED_MODULE_5__.RoughEase});__webpack_require__.d(__webpack_exports__,"EasePack",function(){return _EasePack_js__WEBPACK_IMPORTED_MODULE_5__.EasePack});var _MotionPathPlugin_js__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(/*! ./MotionPathPlugin.js */"./node_modules/gsap/MotionPathPlugin.js");__webpack_require__.d(__webpack_exports__,"MotionPathPlugin",function(){return _MotionPathPlugin_js__WEBPACK_IMPORTED_MODULE_6__.MotionPathPlugin});var _PixiPlugin_js__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(/*! ./PixiPlugin.js */"./node_modules/gsap/PixiPlugin.js");__webpack_require__.d(__webpack_exports__,"PixiPlugin",function(){return _PixiPlugin_js__WEBPACK_IMPORTED_MODULE_7__.PixiPlugin});var _ScrollToPlugin_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(/*! ./ScrollToPlugin.js */"./node_modules/gsap/ScrollToPlugin.js");__webpack_require__.d(__webpack_exports__,"ScrollToPlugin",function(){return _ScrollToPlugin_js__WEBPACK_IMPORTED_MODULE_8__.ScrollToPlugin});var _ScrollTrigger_js__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(/*! ./ScrollTrigger.js */"./node_modules/gsap/ScrollTrigger.js");__webpack_require__.d(__webpack_exports__,"ScrollTrigger",function(){return _ScrollTrigger_js__WEBPACK_IMPORTED_MODULE_9__.ScrollTrigger});var _TextPlugin_js__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(/*! ./TextPlugin.js */"./node_modules/gsap/TextPlugin.js");__webpack_require__.d(__webpack_exports__,"TextPlugin",function(){return _TextPlugin_js__WEBPACK_IMPORTED_MODULE_10__.TextPlugin});var _CustomEase_js__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(/*! ./CustomEase.js */"./node_modules/gsap/CustomEase.js");__webpack_require__.d(__webpack_exports__,"CustomEase",function(){return _CustomEase_js__WEBPACK_IMPORTED_MODULE_11__.CustomEase});var _DrawSVGPlugin_js__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(/*! ./DrawSVGPlugin.js */"./node_modules/gsap/DrawSVGPlugin.js");__webpack_require__.d(__webpack_exports__,"DrawSVGPlugin",function(){return _DrawSVGPlugin_js__WEBPACK_IMPORTED_MODULE_12__.DrawSVGPlugin});var _Physics2DPlugin_js__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(/*! ./Physics2DPlugin.js */"./node_modules/gsap/Physics2DPlugin.js");__webpack_require__.d(__webpack_exports__,"Physics2DPlugin",function(){return _Physics2DPlugin_js__WEBPACK_IMPORTED_MODULE_13__.Physics2DPlugin});var _PhysicsPropsPlugin_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(/*! ./PhysicsPropsPlugin.js */"./node_modules/gsap/PhysicsPropsPlugin.js");__webpack_require__.d(__webpack_exports__,"PhysicsPropsPlugin",function(){return _PhysicsPropsPlugin_js__WEBPACK_IMPORTED_MODULE_14__.PhysicsPropsPlugin});var _ScrambleTextPlugin_js__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(/*! ./ScrambleTextPlugin.js */"./node_modules/gsap/ScrambleTextPlugin.js");__webpack_require__.d(__webpack_exports__,"ScrambleTextPlugin",function(){return _ScrambleTextPlugin_js__WEBPACK_IMPORTED_MODULE_15__.ScrambleTextPlugin});var _CustomBounce_js__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(/*! ./CustomBounce.js */"./node_modules/gsap/CustomBounce.js");__webpack_require__.d(__webpack_exports__,"CustomBounce",function(){return _CustomBounce_js__WEBPACK_IMPORTED_MODULE_16__.CustomBounce});var _CustomWiggle_js__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(/*! ./CustomWiggle.js */"./node_modules/gsap/CustomWiggle.js");__webpack_require__.d(__webpack_exports__,"CustomWiggle",function(){return _CustomWiggle_js__WEBPACK_IMPORTED_MODULE_17__.CustomWiggle});var _Flip_js__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(/*! ./Flip.js */"./node_modules/gsap/Flip.js");__webpack_require__.d(__webpack_exports__,"Flip",function(){return _Flip_js__WEBPACK_IMPORTED_MODULE_18__.Flip});var _GSDevTools_js__WEBPACK_IMPORTED_MODULE_19__=__webpack_require__(/*! ./GSDevTools.js */"./node_modules/gsap/GSDevTools.js");__webpack_require__.d(__webpack_exports__,"GSDevTools",function(){return _GSDevTools_js__WEBPACK_IMPORTED_MODULE_19__.GSDevTools});var _InertiaPlugin_js__WEBPACK_IMPORTED_MODULE_20__=__webpack_require__(/*! ./InertiaPlugin.js */"./node_modules/gsap/InertiaPlugin.js");__webpack_require__.d(__webpack_exports__,"InertiaPlugin",function(){return _InertiaPlugin_js__WEBPACK_IMPORTED_MODULE_20__.InertiaPlugin});__webpack_require__.d(__webpack_exports__,"VelocityTracker",function(){return _InertiaPlugin_js__WEBPACK_IMPORTED_MODULE_20__.VelocityTracker});var _MorphSVGPlugin_js__WEBPACK_IMPORTED_MODULE_21__=__webpack_require__(/*! ./MorphSVGPlugin.js */"./node_modules/gsap/MorphSVGPlugin.js");__webpack_require__.d(__webpack_exports__,"MorphSVGPlugin",function(){return _MorphSVGPlugin_js__WEBPACK_IMPORTED_MODULE_21__.MorphSVGPlugin});var _MotionPathHelper_js__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(/*! ./MotionPathHelper.js */"./node_modules/gsap/MotionPathHelper.js");__webpack_require__.d(__webpack_exports__,"MotionPathHelper",function(){return _MotionPathHelper_js__WEBPACK_IMPORTED_MODULE_22__.MotionPathHelper});var _SplitText_js__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(/*! ./SplitText.js */"./node_modules/gsap/SplitText.js");__webpack_require__.d(__webpack_exports__,"SplitText",function(){return _SplitText_js__WEBPACK_IMPORTED_MODULE_23__.SplitText});var gsapWithCSS=_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__["default"].registerPlugin(_CSSPlugin_js__WEBPACK_IMPORTED_MODULE_1__["default"])||_gsap_core_js__WEBPACK_IMPORTED_MODULE_0__["default"],TweenMaxWithCSS=gsapWithCSS.core.Tween}),
vendor: 86,016 bytes, lines 1166-1411
1166"./node_modules/gsap/gsap-core.js":
1167/*!****************************************!*\
1168  !*** ./node_modules/gsap/gsap-core.js ***!
1169  \****************************************/
1170/*! exports provided: GSCache, Animation, Timeline, Tween, PropTween, gsap, Power0, Power1, Power2, Power3, Power4, Linear, Quad, Cubic, Quart, Quint, Strong, Elastic, Back, SteppedEase, Bounce, Sine, Expo, Circ, TweenMax, TweenLite, TimelineMax, TimelineLite, default, wrap, wrapYoyo, distribute, random, snap, normalize, getUnit, clamp, splitColor, toArray, selector, mapRange, pipe, unitize, interpolate, shuffle, _getProperty, _numExp, _numWithUnitExp, _isString, _isUndefined, _renderComplexString, _relExp, _setDefaults, _removeLinkedListItem, _forEachName, _sortPropTweensByPriority, _colorStringFilter, _replaceRandom, _checkPlugin, _plugins, _ticker, _config, _roundModifier, _round, _missingPlugin, _getSetter, _getCache, _colorExp */
1171(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"GSCache",function(){return GSCache});__webpack_require__.d(__webpack_exports__,"Animation",function(){return Animation});__webpack_require__.d(__webpack_exports__,"Timeline",function(){return Timeline});__webpack_require__.d(__webpack_exports__,"Tween",function(){return Tween});__webpack_require__.d(__webpack_exports__,"PropTween",function(){return PropTween});__webpack_require__.d(__webpack_exports__,"gsap",function(){return gsap});__webpack_require__.d(__webpack_exports__,"Power0",function(){return Power0});__webpack_require__.d(__webpack_exports__,"Power1",function(){return Power1});__webpack_require__.d(__webpack_exports__,"Power2",function(){return Power2});__webpack_require__.d(__webpack_exports__,"Power3",function(){return Power3});__webpack_require__.d(__webpack_exports__,"Power4",function(){return Power4});__webpack_require__.d(__webpack_exports__,"Linear",function(){return Linear});__webpack_require__.d(__webpack_exports__,"Quad",function(){return Quad});__webpack_require__.d(__webpack_exports__,"Cubic",function(){return Cubic});__webpack_require__.d(__webpack_exports__,"Quart",function(){return Quart});__webpack_require__.d(__webpack_exports__,"Quint",function(){return Quint});__webpack_require__.d(__webpack_exports__,"Strong",function(){return Strong});__webpack_require__.d(__webpack_exports__,"Elastic",function(){return Elastic});__webpack_require__.d(__webpack_exports__,"Back",function(){return Back});__webpack_require__.d(__webpack_exports__,"SteppedEase",function(){return SteppedEase});__webpack_require__.d(__webpack_exports__,"Bounce",function(){return Bounce});__webpack_require__.d(__webpack_exports__,"Sine",function(){return Sine});__webpack_require__.d(__webpack_exports__,"Expo",function(){return Expo});__webpack_require__.d(__webpack_exports__,"Circ",function(){return Circ});__webpack_require__.d(__webpack_exports__,"TweenMax",function(){return Tween});__webpack_require__.d(__webpack_exports__,"TweenLite",function(){return Tween});__webpack_require__.d(__webpack_exports__,"TimelineMax",function(){return Timeline});__webpack_require__.d(__webpack_exports__,"TimelineLite",function(){return Timeline});__webpack_require__.d(__webpack_exports__,"default",function(){return gsap});__webpack_require__.d(__webpack_exports__,"wrap",function(){return wrap});__webpack_require__.d(__webpack_exports__,"wrapYoyo",function(){return wrapYoyo});__webpack_require__.d(__webpack_exports__,"distribute",function(){return distribute});__webpack_require__.d(__webpack_exports__,"random",function(){return random});__webpack_require__.d(__webpack_exports__,"snap",function(){return snap});__webpack_require__.d(__webpack_exports__,"normalize",function(){return normalize});__webpack_require__.d(__webpack_exports__,"getUnit",function(){return getUnit});__webpack_require__.d(__webpack_exports__,"clamp",function(){return clamp});__webpack_require__.d(__webpack_exports__,"splitColor",function(){return splitColor});__webpack_require__.d(__webpack_exports__,"toArray",function(){return toArray});__webpack_require__.d(__webpack_exports__,"selector",function(){return selector});__webpack_require__.d(__webpack_exports__,"mapRange",function(){return mapRange});__webpack_require__.d(__webpack_exports__,"pipe",function(){return pipe});__webpack_require__.d(__webpack_exports__,"unitize",function(){return unitize});__webpack_require__.d(__webpack_exports__,"interpolate",function(){return interpolate});__webpack_require__.d(__webpack_exports__,"shuffle",function(){return shuffle});__webpack_require__.d(__webpack_exports__,"_getProperty",function(){return _getProperty});__webpack_require__.d(__webpack_exports__,"_numExp",function(){return _numExp});__webpack_require__.d(__webpack_exports__,"_numWithUnitExp",function(){return _numWithUnitExp});__webpack_require__.d(__webpack_exports__,"_isString",function(){return _isString});__webpack_require__.d(__webpack_exports__,"_isUndefined",function(){return _isUndefined});__webpack_require__.d(__webpack_exports__,"_renderComplexString",function(){return _renderComplexString});__webpack_require__.d(__webpack_exports__,"_relExp",function(){return _relExp});__webpack_require__.d(__webpack_exports__,"_setDefaults",function(){return _setDefaults});__webpack_require__.d(__webpack_exports__,"_removeLinkedListItem",function(){return _removeLinkedListItem});__webpack_require__.d(__webpack_exports__,"_forEachName",function(){return _forEachName});__webpack_require__.d(__webpack_exports__,"_sortPropTweensByPriority",function(){return _sortPropTweensByPriority});__webpack_require__.d(__webpack_exports__,"_colorStringFilter",function(){return _colorStringFilter});__webpack_require__.d(__webpack_exports__,"_replaceRandom",function(){return _replaceRandom});__webpack_require__.d(__webpack_exports__,"_checkPlugin",function(){return _checkPlugin});__webpack_require__.d(__webpack_exports__,"_plugins",function(){return _plugins});__webpack_require__.d(__webpack_exports__,"_ticker",function(){return _ticker});__webpack_require__.d(__webpack_exports__,"_config",function(){return _config});__webpack_require__.d(__webpack_exports__,"_roundModifier",function(){return _roundModifier});__webpack_require__.d(__webpack_exports__,"_round",function(){return _round});__webpack_require__.d(__webpack_exports__,"_missingPlugin",function(){return _missingPlugin});__webpack_require__.d(__webpack_exports__,"_getSetter",function(){return _getSetter});__webpack_require__.d(__webpack_exports__,"_getCache",function(){return _getCache});__webpack_require__.d(__webpack_exports__,"_colorExp",function(){return _colorExp});function _assertThisInitialized(self){if(self===void 0){throw new ReferenceError("this hasn't been initialised - super() hasn't been called")}return self}
1172function _inheritsLoose(subClass,superClass){subClass.prototype=Object.create(superClass.prototype);subClass.prototype.constructor=subClass;subClass.__proto__=superClass}
1173/*!
1174 * GSAP 3.7.1
1175 * https://greensock.com
1176 *
1177 * @license Copyright 2008-2021, GreenSock. All rights reserved.
1178 * Subject to the terms at https://greensock.com/standard-license or for
1179 * Club GreenSock members, the agreement issued with that membership.
1180 * @author: Jack Doyle, [email protected]
1181*/
1182var _config={autoSleep:120,force3D:"auto",nullTargetWarn:1,units:{lineHeight:""}},_defaults={duration:.5,overwrite:!1,delay:0},_suppressOverwrites,_bigNum=1e8,_tinyNum=1/_bigNum,_2PI=Math.PI*2,_HALF_PI=_2PI/4,_gsID=0,_sqrt=Math.sqrt,_cos=Math.cos,_sin=Math.sin,_isString=function _isString(value){return typeof value==="string"},_isFunction=function _isFunction(value){return typeof value==="function"},_isNumber=function _isNumber(value){return typeof value==="number"},_isUndefined=function _isUndefined(value){return typeof value==="undefined"},_isObject=function _isObject(value){return typeof value==="object"},_isNotFalse=function _isNotFalse(value){return value!==!1},_windowExists=function _windowExists(){return typeof window!=="undefined"},_isFuncOrString=function _isFuncOrString(value){return _isFunction(value)||_isString(value)},_isTypedArray=typeof ArrayBuffer==="function"&&ArrayBuffer.isView||function(){},_isArray=Array.isArray,_strictNumExp=/(?:-?\.?\d|\.)+/gi,_numExp=/[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g,_numWithUnitExp=/[-+=.]*\d+[.e-]*\d*[a-z%]*/g,_complexStringNumExp=/[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi,_relExp=/[+-]=-?[.\d]+/,_delimitedValueExp=/[^,'"\[\]\s]+/gi,_unitExp=/[\d.+\-=]+(?:e[-+]\d*)*/i,_globalTimeline,_win,_coreInitted,_doc,_globals={},_installScope={},_coreReady,_install=function _install(scope){return(_installScope=_merge(scope,_globals))&&gsap},_missingPlugin=function _missingPlugin(property,value){return console.warn("Invalid property",property,"set to",value,"Missing plugin? gsap.registerPlugin()")},_warn=function _warn(message,suppress){return!suppress&&console.warn(message)},_addGlobal=function _addGlobal(name,obj){return name&&(_globals[name]=obj)&&_installScope&&(_installScope[name]=obj)||_globals},_emptyFunc=function _emptyFunc(){return 0},_reservedProps={},_lazyTweens=[],_lazyLookup={},_lastRenderedFrame,_plugins={},_effects={},_nextGCFrame=30,_harnessPlugins=[],_callbackNames="",_harness=function _harness(targets){var target=targets[0],harnessPlugin,i;_isObject(target)||_isFunction(target)||(targets=[targets]);if(!(harnessPlugin=(target._gsap||{}).harness)){i=_harnessPlugins.length;while(i--&&!_harnessPlugins[i].targetTest(target)){}
1183harnessPlugin=_harnessPlugins[i]}
1184i=targets.length;while(i--){targets[i]&&(targets[i]._gsap||(targets[i]._gsap=new GSCache(targets[i],harnessPlugin)))||targets.splice(i,1)}
1185return targets},_getCache=function _getCache(target){return target._gsap||_harness(toArray(target))[0]._gsap},_getProperty=function _getProperty(target,property,v){return(v=target[property])&&_isFunction(v)?target[property]():_isUndefined(v)&&target.getAttribute&&target.getAttribute(property)||v},_forEachName=function _forEachName(names,func){return(names=names.split(",")).forEach(func)||names},_round=function _round(value){return Math.round(value*100000)/100000||0},_arrayContainsAny=function _arrayContainsAny(toSearch,toFind){var l=toFind.length,i=0;for(;toSearch.indexOf(toFind[i])<0&&++i<l;){}
1186return i<l},_lazyRender=function _lazyRender(){var l=_lazyTweens.length,a=_lazyTweens.slice(0),i,tween;_lazyLookup={};_lazyTweens.length=0;for(i=0;i<l;i++){tween=a[i];tween&&tween._lazy&&(tween.render(tween._lazy[0],tween._lazy[1],!0)._lazy=0)}},_lazySafeRender=function _lazySafeRender(animation,time,suppressEvents,force){_lazyTweens.length&&_lazyRender();animation.render(time,suppressEvents,force);_lazyTweens.length&&_lazyRender()},_numericIfPossible=function _numericIfPossible(value){var n=parseFloat(value);return(n||n===0)&&(value+"").match(_delimitedValueExp).length<2?n:_isString(value)?value.trim():value},_passThrough=function _passThrough(p){return p},_setDefaults=function _setDefaults(obj,defaults){for(var p in defaults){p in obj||(obj[p]=defaults[p])}
1187return obj},_setKeyframeDefaults=function _setKeyframeDefaults(obj,defaults){for(var p in defaults){p in obj||p==="duration"||p==="ease"||(obj[p]=defaults[p])}},_merge=function _merge(base,toMerge){for(var p in toMerge){base[p]=toMerge[p]}
1188return base},_mergeDeep=function _mergeDeep(base,toMerge){for(var p in toMerge){p!=="__proto__"&&p!=="constructor"&&p!=="prototype"&&(base[p]=_isObject(toMerge[p])?_mergeDeep(base[p]||(base[p]={}),toMerge[p]):toMerge[p])}
1189return base},_copyExcluding=function _copyExcluding(obj,excluding){var copy={},p;for(p in obj){p in excluding||(copy[p]=obj[p])}
1190return copy},_inheritDefaults=function _inheritDefaults(vars){var parent=vars.parent||_globalTimeline,func=vars.keyframes?_setKeyframeDefaults:_setDefaults;if(_isNotFalse(vars.inherit)){while(parent){func(vars,parent.vars.defaults);parent=parent.parent||parent._dp}}
1191return vars},_arraysMatch=function _arraysMatch(a1,a2){var i=a1.length,match=i===a2.length;while(match&&i--&&a1[i]===a2[i]){}
1192return i<0},_addLinkedListItem=function _addLinkedListItem(parent,child,firstProp,lastProp,sortBy){if(firstProp===void 0){firstProp="_first"}
1193if(lastProp===void 0){lastProp="_last"}
1194var prev=parent[lastProp],t;if(sortBy){t=child[sortBy];while(prev&&prev[sortBy]>t){prev=prev._prev}}
1195if(prev){child._next=prev._next;prev._next=child}else{child._next=parent[firstProp];parent[firstProp]=child}
1196if(child._next){child._next._prev=child}else{parent[lastProp]=child}
1197child._prev=prev;child.parent=child._dp=parent;return child},_removeLinkedListItem=function _removeLinkedListItem(parent,child,firstProp,lastProp){if(firstProp===void 0){firstProp="_first"}
1198if(lastProp===void 0){lastProp="_last"}
1199var prev=child._prev,next=child._next;if(prev){prev._next=next}else if(parent[firstProp]===child){parent[firstProp]=next}
1200if(next){next._prev=prev}else if(parent[lastProp]===child){parent[lastProp]=prev}
1201child._next=child._prev=child.parent=null},_removeFromParent=function _removeFromParent(child,onlyIfParentHasAutoRemove){child.parent&&(!onlyIfParentHasAutoRemove||child.parent.autoRemoveChildren)&&child.parent.remove(child);child._act=0},_uncache=function _uncache(animation,child){if(animation&&(!child||child._end>animation._dur||child._start<0)){var a=animation;while(a){a._dirty=1;a=a.parent}}
1202return animation},_recacheAncestors=function _recacheAncestors(animation){var parent=animation.parent;while(parent&&parent.parent){parent._dirty=1;parent.totalDuration();parent=parent.parent}
1203return animation},_hasNoPausedAncestors=function _hasNoPausedAncestors(animation){return!animation||animation._ts&&_hasNoPausedAncestors(animation.parent)},_elapsedCycleDuration=function _elapsedCycleDuration(animation){return animation._repeat?_animationCycle(animation._tTime,animation=animation.duration()+animation._rDelay)*animation:0},_animationCycle=function _animationCycle(tTime,cycleDuration){var whole=Math.floor(tTime/=cycleDuration);return tTime&&whole===tTime?whole-1:whole},_parentToChildTotalTime=function _parentToChildTotalTime(parentTime,child){return(parentTime-child._start)*child._ts+(child._ts>=0?0:child._dirty?child.totalDuration():child._tDur)},_setEnd=function _setEnd(animation){return animation._end=_round(animation._start+(animation._tDur/Math.abs(animation._ts||animation._rts||_tinyNum)||0))},_alignPlayhead=function _alignPlayhead(animation,totalTime){var parent=animation._dp;if(parent&&parent.smoothChildTiming&&animation._ts){animation._start=_round(parent._time-(animation._ts>0?totalTime/animation._ts:((animation._dirty?animation.totalDuration():animation._tDur)-totalTime)/-animation._ts));_setEnd(animation);parent._dirty||_uncache(parent,animation)}
1204return animation},_postAddChecks=function _postAddChecks(timeline,child){var t;if(child._time||child._initted&&!child._dur){t=_parentToChildTotalTime(timeline.rawTime(),child);if(!child._dur||_clamp(0,child.totalDuration(),t)-child._tTime>_tinyNum){child.render(t,!0)}}
1205if(_uncache(timeline,child)._dp&&timeline._initted&&timeline._time>=timeline._dur&&timeline._ts){if(timeline._dur<timeline.duration()){t=timeline;while(t._dp){t.rawTime()>=0&&t.totalTime(t._tTime);t=t._dp}}
1206timeline._zTime=-_tinyNum}},_addToTimeline=function _addToTimeline(timeline,child,position,skipChecks){child.parent&&_removeFromParent(child);child._start=_round((_isNumber(position)?position:position||timeline!==_globalTimeline?_parsePosition(timeline,position,child):timeline._time)+child._delay);child._end=_round(child._start+(child.totalDuration()/Math.abs(child.timeScale())||0));_addLinkedListItem(timeline,child,"_first","_last",timeline._sort?"_start":0);_isFromOrFromStart(child)||(timeline._recent=child);skipChecks||_postAddChecks(timeline,child);return timeline},_scrollTrigger=function _scrollTrigger(animation,trigger){return(_globals.ScrollTrigger||_missingPlugin("scrollTrigger",trigger))&&_globals.ScrollTrigger.create(trigger,animation)},_attemptInitTween=function _attemptInitTween(tween,totalTime,force,suppressEvents){_initTween(tween,totalTime);if(!tween._initted){return 1}
1207if(!force&&tween._pt&&(tween._dur&&tween.vars.lazy!==!1||!tween._dur&&tween.vars.lazy)&&_lastRenderedFrame!==_ticker.frame){_lazyTweens.push(tween);tween._lazy=[totalTime,suppressEvents];return 1}},_parentPlayheadIsBeforeStart=function _parentPlayheadIsBeforeStart(_ref){var parent=_ref.parent;return parent&&parent._ts&&parent._initted&&!parent._lock&&(parent.rawTime()<0||_parentPlayheadIsBeforeStart(parent))},_isFromOrFromStart=function _isFromOrFromStart(_ref2){var data=_ref2.data;return data==="isFromStart"||data==="isStart"},_renderZeroDurationTween=function _renderZeroDurationTween(tween,totalTime,suppressEvents,force){var prevRatio=tween.ratio,ratio=totalTime<0||!totalTime&&(!tween._start&&_parentPlayheadIsBeforeStart(tween)&&!(!tween._initted&&_isFromOrFromStart(tween))||(tween._ts<0||tween._dp._ts<0)&&!_isFromOrFromStart(tween))?0:1,repeatDelay=tween._rDelay,tTime=0,pt,iteration,prevIteration;if(repeatDelay&&tween._repeat){tTime=_clamp(0,tween._tDur,totalTime);iteration=_animationCycle(tTime,repeatDelay);prevIteration=_animationCycle(tween._tTime,repeatDelay);tween._yoyo&&iteration&1&&(ratio=1-ratio);if(iteration!==prevIteration){prevRatio=1-ratio;tween.vars.repeatRefresh&&tween._initted&&tween.invalidate()}}
1208if(ratio!==prevRatio||force||tween._zTime===_tinyNum||!totalTime&&tween._zTime){if(!tween._initted&&_attemptInitTween(tween,totalTime,force,suppressEvents)){return}
1209prevIteration=tween._zTime;tween._zTime=totalTime||(suppressEvents?_tinyNum:0);suppressEvents||(suppressEvents=totalTime&&!prevIteration);tween.ratio=ratio;tween._from&&(ratio=1-ratio);tween._time=0;tween._tTime=tTime;pt=tween._pt;while(pt){pt.r(ratio,pt.d);pt=pt._next}
1210tween._startAt&&totalTime<0&&tween._startAt.render(totalTime,!0,!0);tween._onUpdate&&!suppressEvents&&_callback(tween,"onUpdate");tTime&&tween._repeat&&!suppressEvents&&tween.parent&&_callback(tween,"onRepeat");if((totalTime>=tween._tDur||totalTime<0)&&tween.ratio===ratio){ratio&&_removeFromParent(tween,1);if(!suppressEvents){_callback(tween,ratio?"onComplete":"onReverseComplete",!0);tween._prom&&tween._prom()}}}else if(!tween._zTime){tween._zTime=totalTime}},_findNextPauseTween=function _findNextPauseTween(animation,prevTime,time){var child;if(time>prevTime){child=animation._first;while(child&&child._start<=time){if(!child._dur&&child.data==="isPause"&&child._start>prevTime){return child}
1211child=child._next}}else{child=animation._last;while(child&&child._start>=time){if(!child._dur&&child.data==="isPause"&&child._start<prevTime){return child}
1212child=child._prev}}},_setDuration=function _setDuration(animation,duration,skipUncache,leavePlayhead){var repeat=animation._repeat,dur=_round(duration)||0,totalProgress=animation._tTime/animation._tDur;totalProgress&&!leavePlayhead&&(animation._time*=dur/animation._dur);animation._dur=dur;animation._tDur=!repeat?dur:repeat<0?1e10:_round(dur*(repeat+1)+animation._rDelay*repeat);totalProgress&&!leavePlayhead?_alignPlayhead(animation,animation._tTime=animation._tDur*totalProgress):animation.parent&&_setEnd(animation);skipUncache||_uncache(animation.parent,animation);return animation},_onUpdateTotalDuration=function _onUpdateTotalDuration(animation){return animation instanceof Timeline?_uncache(animation):_setDuration(animation,animation._dur)},_zeroPosition={_start:0,endTime:_emptyFunc,totalDuration:_emptyFunc},_parsePosition=function _parsePosition(animation,position,percentAnimation){var labels=animation.labels,recent=animation._recent||_zeroPosition,clippedDuration=animation.duration()>=_bigNum?recent.endTime(!1):animation._dur,i,offset,isPercent;if(_isString(position)&&(isNaN(position)||position in labels)){offset=position.charAt(0);isPercent=position.substr(-1)==="%";i=position.indexOf("=");if(offset==="<"||offset===">"){i>=0&&(position=position.replace(/=/,""));return(offset==="<"?recent._start:recent.endTime(recent._repeat>=0))+(parseFloat(position.substr(1))||0)*(isPercent?(i<0?recent:percentAnimation).totalDuration()/100:1)}
1213if(i<0){position in labels||(labels[position]=clippedDuration);return labels[position]}
1214offset=parseFloat(position.charAt(i-1)+position.substr(i+1));if(isPercent&&percentAnimation){offset=offset/100*(_isArray(percentAnimation)?percentAnimation[0]:percentAnimation).totalDuration()}
1215return i>1?_parsePosition(animation,position.substr(0,i-1),percentAnimation)+offset:clippedDuration+offset}
1216return position==null?clippedDuration:+position},_createTweenType=function _createTweenType(type,params,timeline){var isLegacy=_isNumber(params[1]),varsIndex=(isLegacy?2:1)+(type<2?0:1),vars=params[varsIndex],irVars,parent;isLegacy&&(vars.duration=params[1]);vars.parent=timeline;if(type){irVars=vars;parent=timeline;while(parent&&!("immediateRender" in irVars)){irVars=parent.vars.defaults||{};parent=_isNotFalse(parent.vars.inherit)&&parent.parent}
1217vars.immediateRender=_isNotFalse(irVars.immediateRender);type<2?vars.runBackwards=1:vars.startAt=params[varsIndex-1]}
1218return new Tween(params[0],vars,params[varsIndex+1])},_conditionalReturn=function _conditionalReturn(value,func){return value||value===0?func(value):func},_clamp=function _clamp(min,max,value){return value<min?min:value>max?max:value},getUnit=function getUnit(value){if(typeof value!=="string"){return""}
1219var v=_unitExp.exec(value);return v?value.substr(v.index+v[0].length):""},clamp=function clamp(min,max,value){return _conditionalReturn(value,function(v){return _clamp(min,max,v)})},_slice=[].slice,_isArrayLike=function _isArrayLike(value,nonEmpty){return value&&_isObject(value)&&"length" in value&&(!nonEmpty&&!value.length||value.length-1 in value&&_isObject(value[0]))&&!value.nodeType&&value!==_win},_flatten=function _flatten(ar,leaveStrings,accumulator){if(accumulator===void 0){accumulator=[]}
1220return ar.forEach(function(value){var _accumulator;return _isString(value)&&!leaveStrings||_isArrayLike(value,1)?(_accumulator=accumulator).push.apply(_accumulator,toArray(value)):accumulator.push(value)})||accumulator},toArray=function toArray(value,scope,leaveStrings){return _isString(value)&&!leaveStrings&&(_coreInitted||!_wake())?_slice.call((scope||_doc).querySelectorAll(value),0):_isArray(value)?_flatten(value,leaveStrings):_isArrayLike(value)?_slice.call(value,0):value?[value]:[]},selector=function selector(value){value=toArray(value)[0]||_warn("Invalid scope")||{};return function(v){var el=value.current||value.nativeElement||value;return toArray(v,el.querySelectorAll?el:el===value?_warn("Invalid scope")||_doc.createElement("div"):value)}},shuffle=function shuffle(a){return a.sort(function(){return.5-Math.random()})},distribute=function distribute(v){if(_isFunction(v)){return v}
1221var vars=_isObject(v)?v:{each:v},ease=_parseEase(vars.ease),from=vars.from||0,base=parseFloat(vars.base)||0,cache={},isDecimal=from>0&&from<1,ratios=isNaN(from)||isDecimal,axis=vars.axis,ratioX=from,ratioY=from;if(_isString(from)){ratioX=ratioY={center:.5,edges:.5,end:1}[from]||0}else if(!isDecimal&&ratios){ratioX=from[0];ratioY=from[1]}
1222return function(i,target,a){var l=(a||vars).length,distances=cache[l],originX,originY,x,y,d,j,max,min,wrapAt;if(!distances){wrapAt=vars.grid==="auto"?0:(vars.grid||[1,_bigNum])[1];if(!wrapAt){max=-_bigNum;while(max<(max=a[wrapAt++].getBoundingClientRect().left)&&wrapAt<l){}
1223wrapAt--}
1224distances=cache[l]=[];originX=ratios?Math.min(wrapAt,l)*ratioX-.5:from%wrapAt;originY=ratios?l*ratioY/wrapAt-.5:from/wrapAt|0;max=0;min=_bigNum;for(j=0;j<l;j++){x=j%wrapAt-originX;y=originY-(j/wrapAt|0);distances[j]=d=!axis?_sqrt(x*x+y*y):Math.abs(axis==="y"?y:x);d>max&&(max=d);d<min&&(min=d)}
1225from==="random"&&shuffle(distances);distances.max=max-min;distances.min=min;distances.v=l=(parseFloat(vars.amount)||parseFloat(vars.each)*(wrapAt>l?l-1:!axis?Math.max(wrapAt,l/wrapAt):axis==="y"?l/wrapAt:wrapAt)||0)*(from==="edges"?-1:1);distances.b=l<0?base-l:base;distances.u=getUnit(vars.amount||vars.each)||0;ease=ease&&l<0?_invertEase(ease):ease}
1226l=(distances[i]-distances.min)/distances.max||0;return _round(distances.b+(ease?ease(l):l)*distances.v)+distances.u}},_roundModifier=function _roundModifier(v){var p=v<1?Math.pow(10,(v+"").length-2):1;return function(raw){var n=Math.round(parseFloat(raw)/v)*v*p;return(n-n%1)/p+(_isNumber(raw)?0:getUnit(raw))}},snap=function snap(snapTo,value){var isArray=_isArray(snapTo),radius,is2D;if(!isArray&&_isObject(snapTo)){radius=isArray=snapTo.radius||_bigNum;if(snapTo.values){snapTo=toArray(snapTo.values);if(is2D=!_isNumber(snapTo[0])){radius*=radius}}else{snapTo=_roundModifier(snapTo.increment)}}
1227return _conditionalReturn(value,!isArray?_roundModifier(snapTo):_isFunction(snapTo)?function(raw){is2D=snapTo(raw);return Math.abs(is2D-raw)<=radius?is2D:raw}:function(raw){var x=parseFloat(is2D?raw.x:raw),y=parseFloat(is2D?raw.y:0),min=_bigNum,closest=0,i=snapTo.length,dx,dy;while(i--){if(is2D){dx=snapTo[i].x-x;dy=snapTo[i].y-y;dx=dx*dx+dy*dy}else{dx=Math.abs(snapTo[i]-x)}
1228if(dx<min){min=dx;closest=i}}
1229closest=!radius||min<=radius?snapTo[closest]:raw;return is2D||closest===raw||_isNumber(raw)?closest:closest+getUnit(raw)})},random=function random(min,max,roundingIncrement,returnFunction){return _conditionalReturn(_isArray(min)?!max:roundingIncrement===!0?!!(roundingIncrement=0):!returnFunction,function(){return _isArray(min)?min[~~(Math.random()*min.length)]:(roundingIncrement=roundingIncrement||1e-5)&&(returnFunction=roundingIncrement<1?Math.pow(10,(roundingIncrement+"").length-2):1)&&Math.floor(Math.round((min-roundingIncrement/2+Math.random()*(max-min+roundingIncrement*.99))/roundingIncrement)*roundingIncrement*returnFunction)/returnFunction})},pipe=function pipe(){for(var _len=arguments.length,functions=new Array(_len),_key=0;_key<_len;_key++){functions[_key]=arguments[_key]}
1230return function(value){return functions.reduce(function(v,f){return f(v)},value)}},unitize=function unitize(func,unit){return function(value){return func(parseFloat(value))+(unit||getUnit(value))}},normalize=function normalize(min,max,value){return mapRange(min,max,0,1,value)},_wrapArray=function _wrapArray(a,wrapper,value){return _conditionalReturn(value,function(index){return a[~~wrapper(index)]})},wrap=function wrap(min,max,value){var range=max-min;return _isArray(min)?_wrapArray(min,wrap(0,min.length),max):_conditionalReturn(value,function(value){return(range+(value-min)%range)%range+min})},wrapYoyo=function wrapYoyo(min,max,value){var range=max-min,total=range*2;return _isArray(min)?_wrapArray(min,wrapYoyo(0,min.length-1),max):_conditionalReturn(value,function(value){value=(total+(value-min)%total)%total||0;return min+(value>range?total-value:value)})},_replaceRandom=function _replaceRandom(value){var prev=0,s="",i,nums,end,isArray;while(~(i=value.indexOf("random(",prev))){end=value.indexOf(")",i);isArray=value.charAt(i+7)==="[";nums=value.substr(i+7,end-i-7).match(isArray?_delimitedValueExp:_strictNumExp);s+=value.substr(prev,i-prev)+random(isArray?nums:+nums[0],isArray?0:+nums[1],+nums[2]||1e-5);prev=end+1}
1231return s+value.substr(prev,value.length-prev)},mapRange=function mapRange(inMin,inMax,outMin,outMax,value){var inRange=inMax-inMin,outRange=outMax-outMin;return _conditionalReturn(value,function(value){return outMin+((value-inMin)/inRange*outRange||0)})},interpolate=function interpolate(start,end,progress,mutate){var func=isNaN(start+end)?0:function(p){return(1-p)*start+p*end};if(!func){var isString=_isString(start),master={},p,i,interpolators,l,il;progress===!0&&(mutate=1)&&(progress=null);if(isString){start={p:start};end={p:end}}else if(_isArray(start)&&!_isArray(end)){interpolators=[];l=start.length;il=l-2;for(i=1;i<l;i++){interpolators.push(interpolate(start[i-1],start[i]))}
1232l--;func=function func(p){p*=l;var i=Math.min(il,~~p);return interpolators[i](p-i)};progress=end}else if(!mutate){start=_merge(_isArray(start)?[]:{},start)}
1233if(!interpolators){for(p in end){_addPropTween.call(master,start,p,"get",end[p])}
1234func=function func(p){return _renderPropTweens(p,master)||(isString?start.p:start)}}}
1235return _conditionalReturn(progress,func)},_getLabelInDirection=function _getLabelInDirection(timeline,fromTime,backward){var labels=timeline.labels,min=_bigNum,p,distance,label;for(p in labels){distance=labels[p]-fromTime;if(distance<0===!!backward&&distance&&min>(distance=Math.abs(distance))){label=p;min=distance}}
1236return label},_callback=function _callback(animation,type,executeLazyFirst){var v=animation.vars,callback=v[type],params,scope;if(!callback){return}
1237params=v[type+"Params"];scope=v.callbackScope||animation;executeLazyFirst&&_lazyTweens.length&&_lazyRender();return params?callback.apply(scope,params):callback.call(scope)},_interrupt=function _interrupt(animation){_removeFromParent(animation);animation.scrollTrigger&&animation.scrollTrigger.kill(!1);animation.progress()<1&&_callback(animation,"onInterrupt");return animation},_quickTween,_createPlugin=function _createPlugin(config){config=!config.name&&config["default"]||config;var name=config.name,isFunc=_isFunction(config),Plugin=name&&!isFunc&&config.init?function(){this._props=[]}:config,instanceDefaults={init:_emptyFunc,render:_renderPropTweens,add:_addPropTween,kill:_killPropTweensOf,modifier:_addPluginModifier,rawVars:0},statics={targetTest:0,get:0,getSetter:_getSetter,aliases:{},register:0};_wake();if(config!==Plugin){if(_plugins[name]){return}
1238_setDefaults(Plugin,_setDefaults(_copyExcluding(config,instanceDefaults),statics));_merge(Plugin.prototype,_merge(instanceDefaults,_copyExcluding(config,statics)));_plugins[Plugin.prop=name]=Plugin;if(config.targetTest){_harnessPlugins.push(Plugin);_reservedProps[name]=1}
1239name=(name==="css"?"CSS":name.charAt(0).toUpperCase()+name.substr(1))+"Plugin"}
1240_addGlobal(name,Plugin);config.register&&config.register(gsap,Plugin,PropTween)},_255=255,_colorLookup={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],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]},_hue=function _hue(h,m1,m2){h=h<0?h+1:h>1?h-1:h;return(h*6<1?m1+(m2-m1)*h*6:h<.5?m2:h*3<2?m1+(m2-m1)*(2/3-h)*6:m1)*_255+.5|0},splitColor=function splitColor(v,toHSL,forceAlpha){var a=!v?_colorLookup.black:_isNumber(v)?[v>>16,v>>8&_255,v&_255]:0,r,g,b,h,s,l,max,min,d,wasHSL;if(!a){if(v.substr(-1)===","){v=v.substr(0,v.length-1)}
1241if(_colorLookup[v]){a=_colorLookup[v]}else if(v.charAt(0)==="#"){if(v.length<6){r=v.charAt(1);g=v.charAt(2);b=v.charAt(3);v="#"+r+r+g+g+b+b+(v.length===5?v.charAt(4)+v.charAt(4):"")}
1242if(v.length===9){a=parseInt(v.substr(1,6),16);return[a>>16,a>>8&_255,a&_255,parseInt(v.substr(7),16)/255]}
1243v=parseInt(v.substr(1),16);a=[v>>16,v>>8&_255,v&_255]}else if(v.substr(0,3)==="hsl"){a=wasHSL=v.match(_strictNumExp);if(!toHSL){h=+a[0]%360/360;s=+a[1]/100;l=+a[2]/100;g=l<=.5?l*(s+1):l+s-l*s;r=l*2-g;a.length>3&&(a[3]*=1);a[0]=_hue(h+1/3,r,g);a[1]=_hue(h,r,g);a[2]=_hue(h-1/3,r,g)}else if(~v.indexOf("=")){a=v.match(_numExp);forceAlpha&&a.length<4&&(a[3]=1);return a}}else{a=v.match(_strictNumExp)||_colorLookup.transparent}
1244a=a.map(Number)}
1245if(toHSL&&!wasHSL){r=a[0]/_255;g=a[1]/_255;b=a[2]/_255;max=Math.max(r,g,b);min=Math.min(r,g,b);l=(max+min)/2;if(max===min){h=s=0}else{d=max-min;s=l>0.5?d/(2-max-min):d/(max+min);h=max===r?(g-b)/d+(g<b?6:0):max===g?(b-r)/d+2:(r-g)/d+4;h*=60}
1246a[0]=~~(h+.5);a[1]=~~(s*100+.5);a[2]=~~(l*100+.5)}
1247forceAlpha&&a.length<4&&(a[3]=1);return a},_colorOrderData=function _colorOrderData(v){var values=[],c=[],i=-1;v.split(_colorExp).forEach(function(v){var a=v.match(_numWithUnitExp)||[];values.push.apply(values,a);c.push(i+=a.length+1)});values.c=c;return values},_formatColors=function _formatColors(s,toHSL,orderMatchData){var result="",colors=(s+result).match(_colorExp),type=toHSL?"hsla(":"rgba(",i=0,c,shell,d,l;if(!colors){return s}
1248colors=colors.map(function(color){return(color=splitColor(color,toHSL,1))&&type+(toHSL?color[0]+","+color[1]+"%,"+color[2]+"%,"+color[3]:color.join(","))+")"});if(orderMatchData){d=_colorOrderData(s);c=orderMatchData.c;if(c.join(result)!==d.c.join(result)){shell=s.replace(_colorExp,"1").split(_numWithUnitExp);l=shell.length-1;for(;i<l;i++){result+=shell[i]+(~c.indexOf(i)?colors.shift()||type+"0,0,0,0)":(d.length?d:colors.length?colors:orderMatchData).shift())}}}
1249if(!shell){shell=s.split(_colorExp);l=shell.length-1;for(;i<l;i++){result+=shell[i]+colors[i]}}
1250return result+shell[l]},_colorExp=function(){var s="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3,4}){1,2}\\b",p;for(p in _colorLookup){s+="|"+p+"\\b"}
1251return new RegExp(s+")","gi")}(),_hslExp=/hsl[a]?\(/,_colorStringFilter=function _colorStringFilter(a){var combined=a.join(" "),toHSL;_colorExp.lastIndex=0;if(_colorExp.test(combined)){toHSL=_hslExp.test(combined);a[1]=_formatColors(a[1],toHSL);a[0]=_formatColors(a[0],toHSL,_colorOrderData(a[1]));return!0}},_tickerActive,_ticker=function(){var _getTime=Date.now,_lagThreshold=500,_adjustedLag=33,_startTime=_getTime(),_lastUpdate=_startTime,_gap=1000/240,_nextTime=_gap,_listeners=[],_id,_req,_raf,_self,_delta,_i,_tick=function _tick(v){var elapsed=_getTime()-_lastUpdate,manual=v===!0,overlap,dispatch,time,frame;elapsed>_lagThreshold&&(_startTime+=elapsed-_adjustedLag);_lastUpdate+=elapsed;time=_lastUpdate-_startTime;overlap=time-_nextTime;if(overlap>0||manual){frame=++_self.frame;_delta=time-_self.time*1000;_self.time=time=time/1000;_nextTime+=overlap+(overlap>=_gap?4:_gap-overlap);dispatch=1}
1252manual||(_id=_req(_tick));if(dispatch){for(_i=0;_i<_listeners.length;_i++){_listeners[_i](time,_delta,frame,v)}}};_self={time:0,frame:0,tick:function tick(){_tick(!0)},deltaRatio:function deltaRatio(fps){return _delta/(1000/(fps||60))},wake:function wake(){if(_coreReady){if(!_coreInitted&&_windowExists()){_win=_coreInitted=window;_doc=_win.document||{};_globals.gsap=gsap;(_win.gsapVersions||(_win.gsapVersions=[])).push(gsap.version);_install(_installScope||_win.GreenSockGlobals||!_win.gsap&&_win||{});_raf=_win.requestAnimationFrame}
1253_id&&_self.sleep();_req=_raf||function(f){return setTimeout(f,_nextTime-_self.time*1000+1|0)};_tickerActive=1;_tick(2)}},sleep:function sleep(){(_raf?_win.cancelAnimationFrame:clearTimeout)(_id);_tickerActive=0;_req=_emptyFunc},lagSmoothing:function lagSmoothing(threshold,adjustedLag){_lagThreshold=threshold||1/_tinyNum;_adjustedLag=Math.min(adjustedLag,_lagThreshold,0)},fps:function fps(_fps){_gap=1000/(_fps||240);_nextTime=_self.time*1000+_gap},add:function add(callback){_listeners.indexOf(callback)<0&&_listeners.push(callback);_wake()},remove:function remove(callback){var i;~(i=_listeners.indexOf(callback))&&_listeners.splice(i,1)&&_i>=i&&_i--},_listeners:_listeners};return _self}(),_wake=function _wake(){return!_tickerActive&&_ticker.wake()},_easeMap={},_customEaseExp=/^[\d.\-M][\d.\-,\s]/,_quotesExp=/["']/g,_parseObjectInString=function _parseObjectInString(value){var obj={},split=value.substr(1,value.length-3).split(":"),key=split[0],i=1,l=split.length,index,val,parsedVal;for(;i<l;i++){val=split[i];index=i!==l-1?val.lastIndexOf(","):val.length;parsedVal=val.substr(0,index);obj[key]=isNaN(parsedVal)?parsedVal.replace(_quotesExp,"").trim():+parsedVal;key=val.substr(index+1).trim()}
1254return obj},_valueInParentheses=function _valueInParentheses(value){var open=value.indexOf("(")+1,close=value.indexOf(")"),nested=value.indexOf("(",open);return value.substring(open,~nested&&nested<close?value.indexOf(")",close+1):close)},_configEaseFromString=function _configEaseFromString(name){var split=(name+"").split("("),ease=_easeMap[split[0]];return ease&&split.length>1&&ease.config?ease.config.apply(null,~name.indexOf("{")?[_parseObjectInString(split[1])]:_valueInParentheses(name).split(",").map(_numericIfPossible)):_easeMap._CE&&_customEaseExp.test(name)?_easeMap._CE("",name):ease},_invertEase=function _invertEase(ease){return function(p){return 1-ease(1-p)}},_propagateYoyoEase=function _propagateYoyoEase(timeline,isYoyo){var child=timeline._first,ease;while(child){if(child instanceof Timeline){_propagateYoyoEase(child,isYoyo)}else if(child.vars.yoyoEase&&(!child._yoyo||!child._repeat)&&child._yoyo!==isYoyo){if(child.timeline){_propagateYoyoEase(child.timeline,isYoyo)}else{ease=child._ease;child._ease=child._yEase;child._yEase=ease;child._yoyo=isYoyo}}
1255child=child._next}},_parseEase=function _parseEase(ease,defaultEase){return!ease?defaultEase:(_isFunction(ease)?ease:_easeMap[ease]||_configEaseFromString(ease))||defaultEase},_insertEase=function _insertEase(names,easeIn,easeOut,easeInOut){if(easeOut===void 0){easeOut=function easeOut(p){return 1-easeIn(1-p)}}
1256if(easeInOut===void 0){easeInOut=function easeInOut(p){return p<.5?easeIn(p*2)/2:1-easeIn((1-p)*2)/2}}
1257var ease={easeIn:easeIn,easeOut:easeOut,easeInOut:easeInOut},lowercaseName;_forEachName(names,function(name){_easeMap[name]=_globals[name]=ease;_easeMap[lowercaseName=name.toLowerCase()]=easeOut;for(var p in ease){_easeMap[lowercaseName+(p==="easeIn"?".in":p==="easeOut"?".out":".inOut")]=_easeMap[name+"."+p]=ease[p]}});return ease},_easeInOutFromOut=function _easeInOutFromOut(easeOut){return function(p){return p<.5?(1-easeOut(1-p*2))/2:.5+easeOut((p-.5)*2)/2}},_configElastic=function _configElastic(type,amplitude,period){var p1=amplitude>=1?amplitude:1,p2=(period||(type?.3:.45))/(amplitude<1?amplitude:1),p3=p2/_2PI*(Math.asin(1/p1)||0),easeOut=function easeOut(p){return p===1?1:p1*Math.pow(2,-10*p)*_sin((p-p3)*p2)+1},ease=type==="out"?easeOut:type==="in"?function(p){return 1-easeOut(1-p)}:_easeInOutFromOut(easeOut);p2=_2PI/p2;ease.config=function(amplitude,period){return _configElastic(type,amplitude,period)};return ease},_configBack=function _configBack(type,overshoot){if(overshoot===void 0){overshoot=1.70158}
1258var easeOut=function easeOut(p){return p?--p*p*((overshoot+1)*p+overshoot)+1:0},ease=type==="out"?easeOut:type==="in"?function(p){return 1-easeOut(1-p)}:_easeInOutFromOut(easeOut);ease.config=function(overshoot){return _configBack(type,overshoot)};return ease};_forEachName("Linear,Quad,Cubic,Quart,Quint,Strong",function(name,i){var power=i<5?i+1:i;_insertEase(name+",Power"+(power-1),i?function(p){return Math.pow(p,power)}:function(p){return p},function(p){return 1-Math.pow(1-p,power)},function(p){return p<.5?Math.pow(p*2,power)/2:1-Math.pow((1-p)*2,power)/2})});_easeMap.Linear.easeNone=_easeMap.none=_easeMap.Linear.easeIn;_insertEase("Elastic",_configElastic("in"),_configElastic("out"),_configElastic());(function(n,c){var n1=1/c,n2=2*n1,n3=2.5*n1,easeOut=function easeOut(p){return p<n1?n*p*p:p<n2?n*Math.pow(p-1.5/c,2)+.75:p<n3?n*(p-=2.25/c)*p+.9375:n*Math.pow(p-2.625/c,2)+.984375};_insertEase("Bounce",function(p){return 1-easeOut(1-p)},easeOut)})(7.5625,2.75);_insertEase("Expo",function(p){return p?Math.pow(2,10*(p-1)):0});_insertEase("Circ",function(p){return-(_sqrt(1-p*p)-1)});_insertEase("Sine",function(p){return p===1?1:-_cos(p*_HALF_PI)+1});_insertEase("Back",_configBack("in"),_configBack("out"),_configBack());_easeMap.SteppedEase=_easeMap.steps=_globals.SteppedEase={config:function config(steps,immediateStart){if(steps===void 0){steps=1}
1259var p1=1/steps,p2=steps+(immediateStart?0:1),p3=immediateStart?1:0,max=1-_tinyNum;return function(p){return((p2*_clamp(0,max,p)|0)+p3)*p1}}};_defaults.ease=_easeMap["quad.out"];_forEachName("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt",function(name){return _callbackNames+=name+","+name+"Params,"});var GSCache=function GSCache(target,harness){this.id=_gsID++;target._gsap=this;this.target=target;this.harness=harness;this.get=harness?harness.get:_getProperty;this.set=harness?harness.getSetter:_getSetter};var Animation=function(){function Animation(vars){this.vars=vars;this._delay=+vars.delay||0;if(this._repeat=vars.repeat===Infinity?-2:vars.repeat||0){this._rDelay=vars.repeatDelay||0;this._yoyo=!!vars.yoyo||!!vars.yoyoEase}
1260this._ts=1;_setDuration(this,+vars.duration,1,1);this.data=vars.data;_tickerActive||_ticker.wake()}
1261var _proto=Animation.prototype;_proto.delay=function delay(value){if(value||value===0){this.parent&&this.parent.smoothChildTiming&&this.startTime(this._start+value-this._delay);this._delay=value;return this}
1262return this._delay};_proto.duration=function duration(value){return arguments.length?this.totalDuration(this._repeat>0?value+(value+this._rDelay)*this._repeat:value):this.totalDuration()&&this._dur};_proto.totalDuration=function totalDuration(value){if(!arguments.length){return this._tDur}
1263this._dirty=0;return _setDuration(this,this._repeat<0?value:(value-this._repeat*this._rDelay)/(this._repeat+1))};_proto.totalTime=function totalTime(_totalTime,suppressEvents){_wake();if(!arguments.length){return this._tTime}
1264var parent=this._dp;if(parent&&parent.smoothChildTiming&&this._ts){_alignPlayhead(this,_totalTime);!parent._dp||parent.parent||_postAddChecks(parent,this);while(parent.parent){if(parent.parent._time!==parent._start+(parent._ts>=0?parent._tTime/parent._ts:(parent.totalDuration()-parent._tTime)/-parent._ts)){parent.totalTime(parent._tTime,!0)}
1265parent=parent.parent}
1266if(!this.parent&&this._dp.autoRemoveChildren&&(this._ts>0&&_totalTime<this._tDur||this._ts<0&&_totalTime>0||!this._tDur&&!_totalTime)){_addToTimeline(this._dp,this,this._start-this._delay)}}
1267if(this._tTime!==_totalTime||!this._dur&&!suppressEvents||this._initted&&Math.abs(this._zTime)===_tinyNum||!_totalTime&&!this._initted&&(this.add||this._ptLookup)){this._ts||(this._pTime=_totalTime);_lazySafeRender(this,_totalTime,suppressEvents)}
1268return this};_proto.time=function time(value,suppressEvents){return arguments.length?this.totalTime(Math.min(this.totalDuration(),value+_elapsedCycleDuration(this))%(this._dur+this._rDelay)||(value?this._dur:0),suppressEvents):this._time};_proto.totalProgress=function totalProgress(value,suppressEvents){return arguments.length?this.totalTime(this.totalDuration()*value,suppressEvents):this.totalDuration()?Math.min(1,this._tTime/this._tDur):this.ratio};_proto.progress=function progress(value,suppressEvents){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&!(this.iteration()&1)?1-value:value)+_elapsedCycleDuration(this),suppressEvents):this.duration()?Math.min(1,this._time/this._dur):this.ratio};_proto.iteration=function iteration(value,suppressEvents){var cycleDuration=this.duration()+this._rDelay;return arguments.length?this.totalTime(this._time+(value-1)*cycleDuration,suppressEvents):this._repeat?_animationCycle(this._tTime,cycleDuration)+1:1};_proto.timeScale=function timeScale(value){if(!arguments.length){return this._rts===-_tinyNum?0:this._rts}
1269if(this._rts===value){return this}
1270var tTime=this.parent&&this._ts?_parentToChildTotalTime(this.parent._time,this):this._tTime;this._rts=+value||0;this._ts=this._ps||value===-_tinyNum?0:this._rts;return _recacheAncestors(this.totalTime(_clamp(-this._delay,this._tDur,tTime),!0))};_proto.paused=function paused(value){if(!arguments.length){return this._ps}
1271if(this._ps!==value){this._ps=value;if(value){this._pTime=this._tTime||Math.max(-this._delay,this.rawTime());this._ts=this._act=0}else{_wake();this._ts=this._rts;this.totalTime(this.parent&&!this.parent.smoothChildTiming?this.rawTime():this._tTime||this._pTime,this.progress()===1&&Math.abs(this._zTime)!==_tinyNum&&(this._tTime-=_tinyNum))}}
1272return this};_proto.startTime=function startTime(value){if(arguments.length){this._start=value;var parent=this.parent||this._dp;parent&&(parent._sort||!this.parent)&&_addToTimeline(parent,this,value-this._delay);return this}
1273return this._start};_proto.endTime=function endTime(includeRepeats){return this._start+(_isNotFalse(includeRepeats)?this.totalDuration():this.duration())/Math.abs(this._ts)};_proto.rawTime=function rawTime(wrapRepeats){var parent=this.parent||this._dp;return!parent?this._tTime:wrapRepeats&&(!this._ts||this._repeat&&this._time&&this.totalProgress()<1)?this._tTime%(this._dur+this._rDelay):!this._ts?this._tTime:_parentToChildTotalTime(parent.rawTime(wrapRepeats),this)};_proto.globalTime=function globalTime(rawTime){var animation=this,time=arguments.length?rawTime:animation.rawTime();while(animation){time=animation._start+time/(animation._ts||1);animation=animation._dp}
1274return time};_proto.repeat=function repeat(value){if(arguments.length){this._repeat=value===Infinity?-2:value;return _onUpdateTotalDuration(this)}
1275return this._repeat===-2?Infinity:this._repeat};_proto.repeatDelay=function repeatDelay(value){if(arguments.length){var time=this._time;this._rDelay=value;_onUpdateTotalDuration(this);return time?this.time(time):this}
1276return this._rDelay};_proto.yoyo=function yoyo(value){if(arguments.length){this._yoyo=value;return this}
1277return this._yoyo};_proto.seek=function seek(position,suppressEvents){return this.totalTime(_parsePosition(this,position),_isNotFalse(suppressEvents))};_proto.restart=function restart(includeDelay,suppressEvents){return this.play().totalTime(includeDelay?-this._delay:0,_isNotFalse(suppressEvents))};_proto.play=function play(from,suppressEvents){from!=null&&this.seek(from,suppressEvents);return this.reversed(!1).paused(!1)};_proto.reverse=function reverse(from,suppressEvents){from!=null&&this.seek(from||this.totalDuration(),suppressEvents);return this.reversed(!0).paused(!1)};_proto.pause=function pause(atTime,suppressEvents){atTime!=null&&this.seek(atTime,suppressEvents);return this.paused(!0)};_proto.resume=function resume(){return this.paused(!1)};_proto.reversed=function reversed(value){if(arguments.length){!!value!==this.reversed()&&this.timeScale(-this._rts||(value?-_tinyNum:0));return this}
1278return this._rts<0};_proto.invalidate=function invalidate(){this._initted=this._act=0;this._zTime=-_tinyNum;return this};_proto.isActive=function isActive(){var parent=this.parent||this._dp,start=this._start,rawTime;return!!(!parent||this._ts&&this._initted&&parent.isActive()&&(rawTime=parent.rawTime(!0))>=start&&rawTime<this.endTime(!0)-_tinyNum)};_proto.eventCallback=function eventCallback(type,callback,params){var vars=this.vars;if(arguments.length>1){if(!callback){delete vars[type]}else{vars[type]=callback;params&&(vars[type+"Params"]=params);type==="onUpdate"&&(this._onUpdate=callback)}
1279return this}
1280return vars[type]};_proto.then=function then(onFulfilled){var self=this;return new Promise(function(resolve){var f=_isFunction(onFulfilled)?onFulfilled:_passThrough,_resolve=function _resolve(){var _then=self.then;self.then=null;_isFunction(f)&&(f=f(self))&&(f.then||f===self)&&(self.then=_then);resolve(f);self.then=_then};if(self._initted&&self.totalProgress()===1&&self._ts>=0||!self._tTime&&self._ts<0){_resolve()}else{self._prom=_resolve}})};_proto.kill=function kill(){_interrupt(this)};return Animation}();_setDefaults(Animation.prototype,{_time:0,_start:0,_end:0,_tTime:0,_tDur:0,_dirty:0,_repeat:0,_yoyo:!1,parent:null,_initted:!1,_rDelay:0,_ts:1,_dp:0,ratio:0,_zTime:-_tinyNum,_prom:0,_ps:!1,_rts:1});var Timeline=function(_Animation){_inheritsLoose(Timeline,_Animation);function Timeline(vars,position){var _this;if(vars===void 0){vars={}}
1281_this=_Animation.call(this,vars)||this;_this.labels={};_this.smoothChildTiming=!!vars.smoothChildTiming;_this.autoRemoveChildren=!!vars.autoRemoveChildren;_this._sort=_isNotFalse(vars.sortChildren);_globalTimeline&&_addToTimeline(vars.parent||_globalTimeline,_assertThisInitialized(_this),position);vars.reversed&&_this.reverse();vars.paused&&_this.paused(!0);vars.scrollTrigger&&_scrollTrigger(_assertThisInitialized(_this),vars.scrollTrigger);return _this}
1282var _proto2=Timeline.prototype;_proto2.to=function to(targets,vars,position){_createTweenType(0,arguments,this);return this};_proto2.from=function from(targets,vars,position){_createTweenType(1,arguments,this);return this};_proto2.fromTo=function fromTo(targets,fromVars,toVars,position){_createTweenType(2,arguments,this);return this};_proto2.set=function set(targets,vars,position){vars.duration=0;vars.parent=this;_inheritDefaults(vars).repeatDelay||(vars.repeat=0);vars.immediateRender=!!vars.immediateRender;new Tween(targets,vars,_parsePosition(this,position),1);return this};_proto2.call=function call(callback,params,position){return _addToTimeline(this,Tween.delayedCall(0,callback,params),position)};_proto2.staggerTo=function staggerTo(targets,duration,vars,stagger,position,onCompleteAll,onCompleteAllParams){vars.duration=duration;vars.stagger=vars.stagger||stagger;vars.onComplete=onCompleteAll;vars.onCompleteParams=onCompleteAllParams;vars.parent=this;new Tween(targets,vars,_parsePosition(this,position));return this};_proto2.staggerFrom=function staggerFrom(targets,duration,vars,stagger,position,onCompleteAll,onCompleteAllParams){vars.runBackwards=1;_inheritDefaults(vars).immediateRender=_isNotFalse(vars.immediateRender);return this.staggerTo(targets,duration,vars,stagger,position,onCompleteAll,onCompleteAllParams)};_proto2.staggerFromTo=function staggerFromTo(targets,duration,fromVars,toVars,stagger,position,onCompleteAll,onCompleteAllParams){toVars.startAt=fromVars;_inheritDefaults(toVars).immediateRender=_isNotFalse(toVars.immediateRender);return this.staggerTo(targets,duration,toVars,stagger,position,onCompleteAll,onCompleteAllParams)};_proto2.render=function render(totalTime,suppressEvents,force){var prevTime=this._time,tDur=this._dirty?this.totalDuration():this._tDur,dur=this._dur,tTime=this!==_globalTimeline&&totalTime>tDur-_tinyNum&&totalTime>=0?tDur:totalTime<_tinyNum?0:totalTime,crossingStart=this._zTime<0!==totalTime<0&&(this._initted||!dur),time,child,next,iteration,cycleDuration,prevPaused,pauseTween,timeScale,prevStart,prevIteration,yoyo,isYoyo;if(tTime!==this._tTime||force||crossingStart){if(prevTime!==this._time&&dur){tTime+=this._time-prevTime;totalTime+=this._time-prevTime}
1283time=tTime;prevStart=this._start;timeScale=this._ts;prevPaused=!timeScale;if(crossingStart){dur||(prevTime=this._zTime);(totalTime||!suppressEvents)&&(this._zTime=totalTime)}
1284if(this._repeat){yoyo=this._yoyo;cycleDuration=dur+this._rDelay;if(this._repeat<-1&&totalTime<0){return this.totalTime(cycleDuration*100+totalTime,suppressEvents,force)}
1285time=_round(tTime%cycleDuration);if(tTime===tDur){iteration=this._repeat;time=dur}else{iteration=~~(tTime/cycleDuration);if(iteration&&iteration===tTime/cycleDuration){time=dur;iteration--}
1286time>dur&&(time=dur)}
1287prevIteration=_animationCycle(this._tTime,cycleDuration);!prevTime&&this._tTime&&prevIteration!==iteration&&(prevIteration=iteration);if(yoyo&&iteration&1){time=dur-time;isYoyo=1}
1288if(iteration!==prevIteration&&!this._lock){var rewinding=yoyo&&prevIteration&1,doesWrap=rewinding===(yoyo&&iteration&1);iteration<prevIteration&&(rewinding=!rewinding);prevTime=rewinding?0:dur;this._lock=1;this.render(prevTime||(isYoyo?0:_round(iteration*cycleDuration)),suppressEvents,!dur)._lock=0;this._tTime=tTime;!suppressEvents&&this.parent&&_callback(this,"onRepeat");this.vars.repeatRefresh&&!isYoyo&&(this.invalidate()._lock=1);if(prevTime&&prevTime!==this._time||prevPaused!==!this._ts||this.vars.onRepeat&&!this.parent&&!this._act){return this}
1289dur=this._dur;tDur=this._tDur;if(doesWrap){this._lock=2;prevTime=rewinding?dur:-0.0001;this.render(prevTime,!0);this.vars.repeatRefresh&&!isYoyo&&this.invalidate()}
1290this._lock=0;if(!this._ts&&!prevPaused){return this}
1291_propagateYoyoEase(this,isYoyo)}}
1292if(this._hasPause&&!this._forcing&&this._lock<2){pauseTween=_findNextPauseTween(this,_round(prevTime),_round(time));if(pauseTween){tTime-=time-(time=pauseTween._start)}}
1293this._tTime=tTime;this._time=time;this._act=!timeScale;if(!this._initted){this._onUpdate=this.vars.onUpdate;this._initted=1;this._zTime=totalTime;prevTime=0}
1294if(!prevTime&&time&&!suppressEvents){_callback(this,"onStart");if(this._tTime!==tTime){return this}}
1295if(time>=prevTime&&totalTime>=0){child=this._first;while(child){next=child._next;if((child._act||time>=child._start)&&child._ts&&pauseTween!==child){if(child.parent!==this){return this.render(totalTime,suppressEvents,force)}
1296child.render(child._ts>0?(time-child._start)*child._ts:(child._dirty?child.totalDuration():child._tDur)+(time-child._start)*child._ts,suppressEvents,force);if(time!==this._time||!this._ts&&!prevPaused){pauseTween=0;next&&(tTime+=this._zTime=-_tinyNum);break}}
1297child=next}}else{child=this._last;var adjustedTime=totalTime<0?totalTime:time;while(child){next=child._prev;if((child._act||adjustedTime<=child._end)&&child._ts&&pauseTween!==child){if(child.parent!==this){return this.render(totalTime,suppressEvents,force)}
1298child.render(child._ts>0?(adjustedTime-child._start)*child._ts:(child._dirty?child.totalDuration():child._tDur)+(adjustedTime-child._start)*child._ts,suppressEvents,force);if(time!==this._time||!this._ts&&!prevPaused){pauseTween=0;next&&(tTime+=this._zTime=adjustedTime?-_tinyNum:_tinyNum);break}}
1299child=next}}
1300if(pauseTween&&!suppressEvents){this.pause();pauseTween.render(time>=prevTime?0:-_tinyNum)._zTime=time>=prevTime?1:-1;if(this._ts){this._start=prevStart;_setEnd(this);return this.render(totalTime,suppressEvents,force)}}
1301this._onUpdate&&!suppressEvents&&_callback(this,"onUpdate",!0);if(tTime===tDur&&tDur>=this.totalDuration()||!tTime&&prevTime)if(prevStart===this._start||Math.abs(timeScale)!==Math.abs(this._ts))if(!this._lock){(totalTime||!dur)&&(tTime===tDur&&this._ts>0||!tTime&&this._ts<0)&&_removeFromParent(this,1);if(!suppressEvents&&!(totalTime<0&&!prevTime)&&(tTime||prevTime||!tDur)){_callback(this,tTime===tDur&&totalTime>=0?"onComplete":"onReverseComplete",!0);this._prom&&!(tTime<tDur&&this.timeScale()>0)&&this._prom()}}}
1302return this};_proto2.add=function add(child,position){var _this2=this;_isNumber(position)||(position=_parsePosition(this,position,child));if(!(child instanceof Animation)){if(_isArray(child)){child.forEach(function(obj){return _this2.add(obj,position)});return this}
1303if(_isString(child)){return this.addLabel(child,position)}
1304if(_isFunction(child)){child=Tween.delayedCall(0,child)}else{return this}}
1305return this!==child?_addToTimeline(this,child,position):this};_proto2.getChildren=function getChildren(nested,tweens,timelines,ignoreBeforeTime){if(nested===void 0){nested=!0}
1306if(tweens===void 0){tweens=!0}
1307if(timelines===void 0){timelines=!0}
1308if(ignoreBeforeTime===void 0){ignoreBeforeTime=-_bigNum}
1309var a=[],child=this._first;while(child){if(child._start>=ignoreBeforeTime){if(child instanceof Tween){tweens&&a.push(child)}else{timelines&&a.push(child);nested&&a.push.apply(a,child.getChildren(!0,tweens,timelines))}}
1310child=child._next}
1311return a};_proto2.getById=function getById(id){var animations=this.getChildren(1,1,1),i=animations.length;while(i--){if(animations[i].vars.id===id){return animations[i]}}};_proto2.remove=function remove(child){if(_isString(child)){return this.removeLabel(child)}
1312if(_isFunction(child)){return this.killTweensOf(child)}
1313_removeLinkedListItem(this,child);if(child===this._recent){this._recent=this._last}
1314return _uncache(this)};_proto2.totalTime=function totalTime(_totalTime2,suppressEvents){if(!arguments.length){return this._tTime}
1315this._forcing=1;if(!this._dp&&this._ts){this._start=_round(_ticker.time-(this._ts>0?_totalTime2/this._ts:(this.totalDuration()-_totalTime2)/-this._ts))}
1316_Animation.prototype.totalTime.call(this,_totalTime2,suppressEvents);this._forcing=0;return this};_proto2.addLabel=function addLabel(label,position){this.labels[label]=_parsePosition(this,position);return this};_proto2.removeLabel=function removeLabel(label){delete this.labels[label];return this};_proto2.addPause=function addPause(position,callback,params){var t=Tween.delayedCall(0,callback||_emptyFunc,params);t.data="isPause";this._hasPause=1;return _addToTimeline(this,t,_parsePosition(this,position))};_proto2.removePause=function removePause(position){var child=this._first;position=_parsePosition(this,position);while(child){if(child._start===position&&child.data==="isPause"){_removeFromParent(child)}
1317child=child._next}};_proto2.killTweensOf=function killTweensOf(targets,props,onlyActive){var tweens=this.getTweensOf(targets,onlyActive),i=tweens.length;while(i--){_overwritingTween!==tweens[i]&&tweens[i].kill(targets,props)}
1318return this};_proto2.getTweensOf=function getTweensOf(targets,onlyActive){var a=[],parsedTargets=toArray(targets),child=this._first,isGlobalTime=_isNumber(onlyActive),children;while(child){if(child instanceof Tween){if(_arrayContainsAny(child._targets,parsedTargets)&&(isGlobalTime?(!_overwritingTween||child._initted&&child._ts)&&child.globalTime(0)<=onlyActive&&child.globalTime(child.totalDuration())>onlyActive:!onlyActive||child.isActive())){a.push(child)}}else if((children=child.getTweensOf(parsedTargets,onlyActive)).length){a.push.apply(a,children)}
1319child=child._next}
1320return a};_proto2.tweenTo=function tweenTo(position,vars){vars=vars||{};var tl=this,endTime=_parsePosition(tl,position),_vars=vars,startAt=_vars.startAt,_onStart=_vars.onStart,onStartParams=_vars.onStartParams,immediateRender=_vars.immediateRender,initted,tween=Tween.to(tl,_setDefaults({ease:vars.ease||"none",lazy:!1,immediateRender:!1,time:endTime,overwrite:"auto",duration:vars.duration||Math.abs((endTime-(startAt&&"time" in startAt?startAt.time:tl._time))/tl.timeScale())||_tinyNum,onStart:function onStart(){tl.pause();if(!initted){var duration=vars.duration||Math.abs((endTime-(startAt&&"time" in startAt?startAt.time:tl._time))/tl.timeScale());tween._dur!==duration&&_setDuration(tween,duration,0,1).render(tween._time,!0,!0);initted=1}
1321_onStart&&_onStart.apply(tween,onStartParams||[])}},vars));return immediateRender?tween.render(0):tween};_proto2.tweenFromTo=function tweenFromTo(fromPosition,toPosition,vars){return this.tweenTo(toPosition,_setDefaults({startAt:{time:_parsePosition(this,fromPosition)}},vars))};_proto2.recent=function recent(){return this._recent};_proto2.nextLabel=function nextLabel(afterTime){if(afterTime===void 0){afterTime=this._time}
1322return _getLabelInDirection(this,_parsePosition(this,afterTime))};_proto2.previousLabel=function previousLabel(beforeTime){if(beforeTime===void 0){beforeTime=this._time}
1323return _getLabelInDirection(this,_parsePosition(this,beforeTime),1)};_proto2.currentLabel=function currentLabel(value){return arguments.length?this.seek(value,!0):this.previousLabel(this._time+_tinyNum)};_proto2.shiftChildren=function shiftChildren(amount,adjustLabels,ignoreBeforeTime){if(ignoreBeforeTime===void 0){ignoreBeforeTime=0}
1324var child=this._first,labels=this.labels,p;while(child){if(child._start>=ignoreBeforeTime){child._start+=amount;child._end+=amount}
1325child=child._next}
1326if(adjustLabels){for(p in labels){if(labels[p]>=ignoreBeforeTime){labels[p]+=amount}}}
1327return _uncache(this)};_proto2.invalidate=function invalidate(){var child=this._first;this._lock=0;while(child){child.invalidate();child=child._next}
1328return _Animation.prototype.invalidate.call(this)};_proto2.clear=function clear(includeLabels){if(includeLabels===void 0){includeLabels=!0}
1329var child=this._first,next;while(child){next=child._next;this.remove(child);child=next}
1330this._dp&&(this._time=this._tTime=this._pTime=0);includeLabels&&(this.labels={});return _uncache(this)};_proto2.totalDuration=function totalDuration(value){var max=0,self=this,child=self._last,prevStart=_bigNum,prev,start,parent;if(arguments.length){return self.timeScale((self._repeat<0?self.duration():self.totalDuration())/(self.reversed()?-value:value))}
1331if(self._dirty){parent=self.parent;while(child){prev=child._prev;child._dirty&&child.totalDuration();start=child._start;if(start>prevStart&&self._sort&&child._ts&&!self._lock){self._lock=1;_addToTimeline(self,child,start-child._delay,1)._lock=0}else{prevStart=start}
1332if(start<0&&child._ts){max-=start;if(!parent&&!self._dp||parent&&parent.smoothChildTiming){self._start+=start/self._ts;self._time-=start;self._tTime-=start}
1333self.shiftChildren(-start,!1,-1e999);prevStart=0}
1334child._end>max&&child._ts&&(max=child._end);child=prev}
1335_setDuration(self,self===_globalTimeline&&self._time>max?self._time:max,1,1);self._dirty=0}
1336return self._tDur};Timeline.updateRoot=function updateRoot(time){if(_globalTimeline._ts){_lazySafeRender(_globalTimeline,_parentToChildTotalTime(time,_globalTimeline));_lastRenderedFrame=_ticker.frame}
1337if(_ticker.frame>=_nextGCFrame){_nextGCFrame+=_config.autoSleep||120;var child=_globalTimeline._first;if(!child||!child._ts)if(_config.autoSleep&&_ticker._listeners.length<2){while(child&&!child._ts){child=child._next}
1338child||_ticker.sleep()}}};return Timeline}(Animation);_setDefaults(Timeline.prototype,{_lock:0,_hasPause:0,_forcing:0});var _addComplexStringPropTween=function _addComplexStringPropTween(target,prop,start,end,setter,stringFilter,funcParam){var pt=new PropTween(this._pt,target,prop,0,1,_renderComplexString,null,setter),index=0,matchIndex=0,result,startNums,color,endNum,chunk,startNum,hasRandom,a;pt.b=start;pt.e=end;start+="";end+="";if(hasRandom=~end.indexOf("random(")){end=_replaceRandom(end)}
1339if(stringFilter){a=[start,end];stringFilter(a,target,prop);start=a[0];end=a[1]}
1340startNums=start.match(_complexStringNumExp)||[];while(result=_complexStringNumExp.exec(end)){endNum=result[0];chunk=end.substring(index,result.index);if(color){color=(color+1)%5}else if(chunk.substr(-5)==="rgba("){color=1}
1341if(endNum!==startNums[matchIndex++]){startNum=parseFloat(startNums[matchIndex-1])||0;pt._pt={_next:pt._pt,p:chunk||matchIndex===1?chunk:",",s:startNum,c:endNum.charAt(1)==="="?parseFloat(endNum.substr(2))*(endNum.charAt(0)==="-"?-1:1):parseFloat(endNum)-startNum,m:color&&color<4?Math.round:0};index=_complexStringNumExp.lastIndex}}
1342pt.c=index<end.length?end.substring(index,end.length):"";pt.fp=funcParam;if(_relExp.test(end)||hasRandom){pt.e=0}
1343this._pt=pt;return pt},_addPropTween=function _addPropTween(target,prop,start,end,index,targets,modifier,stringFilter,funcParam){_isFunction(end)&&(end=end(index||0,target,targets));var currentValue=target[prop],parsedStart=start!=="get"?start:!_isFunction(currentValue)?currentValue:funcParam?target[prop.indexOf("set")||!_isFunction(target["get"+prop.substr(3)])?prop:"get"+prop.substr(3)](funcParam):target[prop](),setter=!_isFunction(currentValue)?_setterPlain:funcParam?_setterFuncWithParam:_setterFunc,pt;if(_isString(end)){if(~end.indexOf("random(")){end=_replaceRandom(end)}
1344if(end.charAt(1)==="="){pt=parseFloat(parsedStart)+parseFloat(end.substr(2))*(end.charAt(0)==="-"?-1:1)+(getUnit(parsedStart)||0);if(pt||pt===0){end=pt}}}
1345if(parsedStart!==end){if(!isNaN(parsedStart*end)&&end!==""){pt=new PropTween(this._pt,target,prop,+parsedStart||0,end-(parsedStart||0),typeof currentValue==="boolean"?_renderBoolean:_renderPlain,0,setter);funcParam&&(pt.fp=funcParam);modifier&&pt.modifier(modifier,this,target);return this._pt=pt}
1346!currentValue&&!(prop in target)&&_missingPlugin(prop,end);return _addComplexStringPropTween.call(this,target,prop,parsedStart,end,setter,stringFilter||_config.stringFilter,funcParam)}},_processVars=function _processVars(vars,index,target,targets,tween){_isFunction(vars)&&(vars=_parseFuncOrString(vars,tween,index,target,targets));if(!_isObject(vars)||vars.style&&vars.nodeType||_isArray(vars)||_isTypedArray(vars)){return _isString(vars)?_parseFuncOrString(vars,tween,index,target,targets):vars}
1347var copy={},p;for(p in vars){copy[p]=_parseFuncOrString(vars[p],tween,index,target,targets)}
1348return copy},_checkPlugin=function _checkPlugin(property,vars,tween,index,target,targets){var plugin,pt,ptLookup,i;if(_plugins[property]&&(plugin=new _plugins[property]()).init(target,plugin.rawVars?vars[property]:_processVars(vars[property],index,target,targets,tween),tween,index,targets)!==!1){tween._pt=pt=new PropTween(tween._pt,target,property,0,1,plugin.render,plugin,0,plugin.priority);if(tween!==_quickTween){ptLookup=tween._ptLookup[tween._targets.indexOf(target)];i=plugin._props.length;while(i--){ptLookup[plugin._props[i]]=pt}}}
1349return plugin},_overwritingTween,_initTween=function _initTween(tween,time){var vars=tween.vars,ease=vars.ease,startAt=vars.startAt,immediateRender=vars.immediateRender,lazy=vars.lazy,onUpdate=vars.onUpdate,onUpdateParams=vars.onUpdateParams,callbackScope=vars.callbackScope,runBackwards=vars.runBackwards,yoyoEase=vars.yoyoEase,keyframes=vars.keyframes,autoRevert=vars.autoRevert,dur=tween._dur,prevStartAt=tween._startAt,targets=tween._targets,parent=tween.parent,fullTargets=parent&&parent.data==="nested"?parent.parent._targets:targets,autoOverwrite=tween._overwrite==="auto"&&!_suppressOverwrites,tl=tween.timeline,cleanVars,i,p,pt,target,hasPriority,gsData,harness,plugin,ptLookup,index,harnessVars,overwritten;tl&&(!keyframes||!ease)&&(ease="none");tween._ease=_parseEase(ease,_defaults.ease);tween._yEase=yoyoEase?_invertEase(_parseEase(yoyoEase===!0?ease:yoyoEase,_defaults.ease)):0;if(yoyoEase&&tween._yoyo&&!tween._repeat){yoyoEase=tween._yEase;tween._yEase=tween._ease;tween._ease=yoyoEase}
1350tween._from=!tl&&!!vars.runBackwards;if(!tl){harness=targets[0]?_getCache(targets[0]).harness:0;harnessVars=harness&&vars[harness.prop];cleanVars=_copyExcluding(vars,_reservedProps);prevStartAt&&prevStartAt.render(-1,!0).kill();if(startAt){_removeFromParent(tween._startAt=Tween.set(targets,_setDefaults({data:"isStart",overwrite:!1,parent:parent,immediateRender:!0,lazy:_isNotFalse(lazy),startAt:null,delay:0,onUpdate:onUpdate,onUpdateParams:onUpdateParams,callbackScope:callbackScope,stagger:0},startAt)));time<0&&!immediateRender&&!autoRevert&&tween._startAt.render(-1,!0);if(immediateRender){time>0&&!autoRevert&&(tween._startAt=0);if(dur&&time<=0){time&&(tween._zTime=time);return}}else if(autoRevert===!1){tween._startAt=0}}else if(runBackwards&&dur){if(prevStartAt){!autoRevert&&(tween._startAt=0)}else{time&&(immediateRender=!1);p=_setDefaults({overwrite:!1,data:"isFromStart",lazy:immediateRender&&_isNotFalse(lazy),immediateRender:immediateRender,stagger:0,parent:parent},cleanVars);harnessVars&&(p[harness.prop]=harnessVars);_removeFromParent(tween._startAt=Tween.set(targets,p));time<0&&tween._startAt.render(-1,!0);if(!immediateRender){_initTween(tween._startAt,_tinyNum)}else if(!time){return}}}
1351tween._pt=0;lazy=dur&&_isNotFalse(lazy)||lazy&&!dur;for(i=0;i<targets.length;i++){target=targets[i];gsData=target._gsap||_harness(targets)[i]._gsap;tween._ptLookup[i]=ptLookup={};_lazyLookup[gsData.id]&&_lazyTweens.length&&_lazyRender();index=fullTargets===targets?i:fullTargets.indexOf(target);if(harness&&(plugin=new harness()).init(target,harnessVars||cleanVars,tween,index,fullTargets)!==!1){tween._pt=pt=new PropTween(tween._pt,target,plugin.name,0,1,plugin.render,plugin,0,plugin.priority);plugin._props.forEach(function(name){ptLookup[name]=pt});plugin.priority&&(hasPriority=1)}
1352if(!harness||harnessVars){for(p in cleanVars){if(_plugins[p]&&(plugin=_checkPlugin(p,cleanVars,tween,index,target,fullTargets))){plugin.priority&&(hasPriority=1)}else{ptLookup[p]=pt=_addPropTween.call(tween,target,p,"get",cleanVars[p],index,fullTargets,0,vars.stringFilter)}}}
1353tween._op&&tween._op[i]&&tween.kill(target,tween._op[i]);if(autoOverwrite&&tween._pt){_overwritingTween=tween;_globalTimeline.killTweensOf(target,ptLookup,tween.globalTime(0));overwritten=!tween.parent;_overwritingTween=0}
1354tween._pt&&lazy&&(_lazyLookup[gsData.id]=1)}
1355hasPriority&&_sortPropTweensByPriority(tween);tween._onInit&&tween._onInit(tween)}
1356tween._onUpdate=onUpdate;tween._initted=(!tween._op||tween._pt)&&!overwritten},_addAliasesToVars=function _addAliasesToVars(targets,vars){var harness=targets[0]?_getCache(targets[0]).harness:0,propertyAliases=harness&&harness.aliases,copy,p,i,aliases;if(!propertyAliases){return vars}
1357copy=_merge({},vars);for(p in propertyAliases){if(p in copy){aliases=propertyAliases[p].split(",");i=aliases.length;while(i--){copy[aliases[i]]=copy[p]}}}
1358return copy},_parseFuncOrString=function _parseFuncOrString(value,tween,i,target,targets){return _isFunction(value)?value.call(tween,i,target,targets):_isString(value)&&~value.indexOf("random(")?_replaceRandom(value):value},_staggerTweenProps=_callbackNames+"repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase",_staggerPropsToSkip=(_staggerTweenProps+",id,stagger,delay,duration,paused,scrollTrigger").split(",");var Tween=function(_Animation2){_inheritsLoose(Tween,_Animation2);function Tween(targets,vars,position,skipInherit){var _this3;if(typeof vars==="number"){position.duration=vars;vars=position;position=null}
1359_this3=_Animation2.call(this,skipInherit?vars:_inheritDefaults(vars))||this;var _this3$vars=_this3.vars,duration=_this3$vars.duration,delay=_this3$vars.delay,immediateRender=_this3$vars.immediateRender,stagger=_this3$vars.stagger,overwrite=_this3$vars.overwrite,keyframes=_this3$vars.keyframes,defaults=_this3$vars.defaults,scrollTrigger=_this3$vars.scrollTrigger,yoyoEase=_this3$vars.yoyoEase,parent=vars.parent||_globalTimeline,parsedTargets=(_isArray(targets)||_isTypedArray(targets)?_isNumber(targets[0]):"length" in vars)?[targets]:toArray(targets),tl,i,copy,l,p,curTarget,staggerFunc,staggerVarsToMerge;_this3._targets=parsedTargets.length?_harness(parsedTargets):_warn("GSAP target "+targets+" not found. https://greensock.com",!_config.nullTargetWarn)||[];_this3._ptLookup=[];_this3._overwrite=overwrite;if(keyframes||stagger||_isFuncOrString(duration)||_isFuncOrString(delay)){vars=_this3.vars;tl=_this3.timeline=new Timeline({data:"nested",defaults:defaults||{}});tl.kill();tl.parent=tl._dp=_assertThisInitialized(_this3);tl._start=0;if(keyframes){_setDefaults(tl.vars.defaults,{ease:"none"});stagger?parsedTargets.forEach(function(t,i){return keyframes.forEach(function(frame,j){return tl.to(t,frame,j?">":i*stagger)})}):keyframes.forEach(function(frame){return tl.to(parsedTargets,frame,">")})}else{l=parsedTargets.length;staggerFunc=stagger?distribute(stagger):_emptyFunc;if(_isObject(stagger)){for(p in stagger){if(~_staggerTweenProps.indexOf(p)){staggerVarsToMerge||(staggerVarsToMerge={});staggerVarsToMerge[p]=stagger[p]}}}
1360for(i=0;i<l;i++){copy={};for(p in vars){if(_staggerPropsToSkip.indexOf(p)<0){copy[p]=vars[p]}}
1361copy.stagger=0;yoyoEase&&(copy.yoyoEase=yoyoEase);staggerVarsToMerge&&_merge(copy,staggerVarsToMerge);curTarget=parsedTargets[i];copy.duration=+_parseFuncOrString(duration,_assertThisInitialized(_this3),i,curTarget,parsedTargets);copy.delay=(+_parseFuncOrString(delay,_assertThisInitialized(_this3),i,curTarget,parsedTargets)||0)-_this3._delay;if(!stagger&&l===1&&copy.delay){_this3._delay=delay=copy.delay;_this3._start+=delay;copy.delay=0}
1362tl.to(curTarget,copy,staggerFunc(i,curTarget,parsedTargets))}
1363tl.duration()?duration=delay=0:_this3.timeline=0}
1364duration||_this3.duration(duration=tl.duration())}else{_this3.timeline=0}
1365if(overwrite===!0&&!_suppressOverwrites){_overwritingTween=_assertThisInitialized(_this3);_globalTimeline.killTweensOf(parsedTargets);_overwritingTween=0}
1366_addToTimeline(parent,_assertThisInitialized(_this3),position);vars.reversed&&_this3.reverse();vars.paused&&_this3.paused(!0);if(immediateRender||!duration&&!keyframes&&_this3._start===_round(parent._time)&&_isNotFalse(immediateRender)&&_hasNoPausedAncestors(_assertThisInitialized(_this3))&&parent.data!=="nested"){_this3._tTime=-_tinyNum;_this3.render(Math.max(0,-delay))}
1367scrollTrigger&&_scrollTrigger(_assertThisInitialized(_this3),scrollTrigger);return _this3}
1368var _proto3=Tween.prototype;_proto3.render=function render(totalTime,suppressEvents,force){var prevTime=this._time,tDur=this._tDur,dur=this._dur,tTime=totalTime>tDur-_tinyNum&&totalTime>=0?tDur:totalTime<_tinyNum?0:totalTime,time,pt,iteration,cycleDuration,prevIteration,isYoyo,ratio,timeline,yoyoEase;if(!dur){_renderZeroDurationTween(this,totalTime,suppressEvents,force)}else if(tTime!==this._tTime||!totalTime||force||!this._initted&&this._tTime||this._startAt&&this._zTime<0!==totalTime<0){time=tTime;timeline=this.timeline;if(this._repeat){cycleDuration=dur+this._rDelay;if(this._repeat<-1&&totalTime<0){return this.totalTime(cycleDuration*100+totalTime,suppressEvents,force)}
1369time=_round(tTime%cycleDuration);if(tTime===tDur){iteration=this._repeat;time=dur}else{iteration=~~(tTime/cycleDuration);if(iteration&&iteration===tTime/cycleDuration){time=dur;iteration--}
1370time>dur&&(time=dur)}
1371isYoyo=this._yoyo&&iteration&1;if(isYoyo){yoyoEase=this._yEase;time=dur-time}
1372prevIteration=_animationCycle(this._tTime,cycleDuration);if(time===prevTime&&!force&&this._initted){return this}
1373if(iteration!==prevIteration){timeline&&this._yEase&&_propagateYoyoEase(timeline,isYoyo);if(this.vars.repeatRefresh&&!isYoyo&&!this._lock){this._lock=force=1;this.render(_round(cycleDuration*iteration),!0).invalidate()._lock=0}}}
1374if(!this._initted){if(_attemptInitTween(this,totalTime<0?totalTime:time,force,suppressEvents)){this._tTime=0;return this}
1375if(dur!==this._dur){return this.render(totalTime,suppressEvents,force)}}
1376this._tTime=tTime;this._time=time;if(!this._act&&this._ts){this._act=1;this._lazy=0}
1377this.ratio=ratio=(yoyoEase||this._ease)(time/dur);if(this._from){this.ratio=ratio=1-ratio}
1378if(time&&!prevTime&&!suppressEvents){_callback(this,"onStart");if(this._tTime!==tTime){return this}}
1379pt=this._pt;while(pt){pt.r(ratio,pt.d);pt=pt._next}
1380timeline&&timeline.render(totalTime<0?totalTime:!time&&isYoyo?-_tinyNum:timeline._dur*ratio,suppressEvents,force)||this._startAt&&(this._zTime=totalTime);if(this._onUpdate&&!suppressEvents){totalTime<0&&this._startAt&&this._startAt.render(totalTime,!0,force);_callback(this,"onUpdate")}
1381this._repeat&&iteration!==prevIteration&&this.vars.onRepeat&&!suppressEvents&&this.parent&&_callback(this,"onRepeat");if((tTime===this._tDur||!tTime)&&this._tTime===tTime){totalTime<0&&this._startAt&&!this._onUpdate&&this._startAt.render(totalTime,!0,!0);(totalTime||!dur)&&(tTime===this._tDur&&this._ts>0||!tTime&&this._ts<0)&&_removeFromParent(this,1);if(!suppressEvents&&!(totalTime<0&&!prevTime)&&(tTime||prevTime)){_callback(this,tTime===tDur?"onComplete":"onReverseComplete",!0);this._prom&&!(tTime<tDur&&this.timeScale()>0)&&this._prom()}}}
1382return this};_proto3.targets=function targets(){return this._targets};_proto3.invalidate=function invalidate(){this._pt=this._op=this._startAt=this._onUpdate=this._lazy=this.ratio=0;this._ptLookup=[];this.timeline&&this.timeline.invalidate();return _Animation2.prototype.invalidate.call(this)};_proto3.kill=function kill(targets,vars){if(vars===void 0){vars="all"}
1383if(!targets&&(!vars||vars==="all")){this._lazy=this._pt=0;return this.parent?_interrupt(this):this}
1384if(this.timeline){var tDur=this.timeline.totalDuration();this.timeline.killTweensOf(targets,vars,_overwritingTween&&_overwritingTween.vars.overwrite!==!0)._first||_interrupt(this);this.parent&&tDur!==this.timeline.totalDuration()&&_setDuration(this,this._dur*this.timeline._tDur/tDur,0,1);return this}
1385var parsedTargets=this._targets,killingTargets=targets?toArray(targets):parsedTargets,propTweenLookup=this._ptLookup,firstPT=this._pt,overwrittenProps,curLookup,curOverwriteProps,props,p,pt,i;if((!vars||vars==="all")&&_arraysMatch(parsedTargets,killingTargets)){vars==="all"&&(this._pt=0);return _interrupt(this)}
1386overwrittenProps=this._op=this._op||[];if(vars!=="all"){if(_isString(vars)){p={};_forEachName(vars,function(name){return p[name]=1});vars=p}
1387vars=_addAliasesToVars(parsedTargets,vars)}
1388i=parsedTargets.length;while(i--){if(~killingTargets.indexOf(parsedTargets[i])){curLookup=propTweenLookup[i];if(vars==="all"){overwrittenProps[i]=vars;props=curLookup;curOverwriteProps={}}else{curOverwriteProps=overwrittenProps[i]=overwrittenProps[i]||{};props=vars}
1389for(p in props){pt=curLookup&&curLookup[p];if(pt){if(!("kill" in pt.d)||pt.d.kill(p)===!0){_removeLinkedListItem(this,pt,"_pt")}
1390delete curLookup[p]}
1391if(curOverwriteProps!=="all"){curOverwriteProps[p]=1}}}}
1392this._initted&&!this._pt&&firstPT&&_interrupt(this);return this};Tween.to=function to(targets,vars){return new Tween(targets,vars,arguments[2])};Tween.from=function from(targets,vars){return _createTweenType(1,arguments)};Tween.delayedCall=function delayedCall(delay,callback,params,scope){return new Tween(callback,0,{immediateRender:!1,lazy:!1,overwrite:!1,delay:delay,onComplete:callback,onReverseComplete:callback,onCompleteParams:params,onReverseCompleteParams:params,callbackScope:scope})};Tween.fromTo=function fromTo(targets,fromVars,toVars){return _createTweenType(2,arguments)};Tween.set=function set(targets,vars){vars.duration=0;vars.repeatDelay||(vars.repeat=0);return new Tween(targets,vars)};Tween.killTweensOf=function killTweensOf(targets,props,onlyActive){return _globalTimeline.killTweensOf(targets,props,onlyActive)};return Tween}(Animation);_setDefaults(Tween.prototype,{_targets:[],_lazy:0,_startAt:0,_op:0,_onInit:0});_forEachName("staggerTo,staggerFrom,staggerFromTo",function(name){Tween[name]=function(){var tl=new Timeline(),params=_slice.call(arguments,0);params.splice(name==="staggerFromTo"?5:4,0,0);return tl[name].apply(tl,params)}});var _setterPlain=function _setterPlain(target,property,value){return target[property]=value},_setterFunc=function _setterFunc(target,property,value){return target[property](value)},_setterFuncWithParam=function _setterFuncWithParam(target,property,value,data){return target[property](data.fp,value)},_setterAttribute=function _setterAttribute(target,property,value){return target.setAttribute(property,value)},_getSetter=function _getSetter(target,property){return _isFunction(target[property])?_setterFunc:_isUndefined(target[property])&&target.setAttribute?_setterAttribute:_setterPlain},_renderPlain=function _renderPlain(ratio,data){return data.set(data.t,data.p,Math.round((data.s+data.c*ratio)*1000000)/1000000,data)},_renderBoolean=function _renderBoolean(ratio,data){return data.set(data.t,data.p,!!(data.s+data.c*ratio),data)},_renderComplexString=function _renderComplexString(ratio,data){var pt=data._pt,s="";if(!ratio&&data.b){s=data.b}else if(ratio===1&&data.e){s=data.e}else{while(pt){s=pt.p+(pt.m?pt.m(pt.s+pt.c*ratio):Math.round((pt.s+pt.c*ratio)*10000)/10000)+s;pt=pt._next}
1393s+=data.c}
1394data.set(data.t,data.p,s,data)},_renderPropTweens=function _renderPropTweens(ratio,data){var pt=data._pt;while(pt){pt.r(ratio,pt.d);pt=pt._next}},_addPluginModifier=function _addPluginModifier(modifier,tween,target,property){var pt=this._pt,next;while(pt){next=pt._next;pt.p===property&&pt.modifier(modifier,tween,target);pt=next}},_killPropTweensOf=function _killPropTweensOf(property){var pt=this._pt,hasNonDependentRemaining,next;while(pt){next=pt._next;if(pt.p===property&&!pt.op||pt.op===property){_removeLinkedListItem(this,pt,"_pt")}else if(!pt.dep){hasNonDependentRemaining=1}
1395pt=next}
1396return!hasNonDependentRemaining},_setterWithModifier=function _setterWithModifier(target,property,value,data){data.mSet(target,property,data.m.call(data.tween,value,data.mt),data)},_sortPropTweensByPriority=function _sortPropTweensByPriority(parent){var pt=parent._pt,next,pt2,first,last;while(pt){next=pt._next;pt2=first;while(pt2&&pt2.pr>pt.pr){pt2=pt2._next}
1397if(pt._prev=pt2?pt2._prev:last){pt._prev._next=pt}else{first=pt}
1398if(pt._next=pt2){pt2._prev=pt}else{last=pt}
1399pt=next}
1400parent._pt=first};var PropTween=function(){function PropTween(next,target,prop,start,change,renderer,data,setter,priority){this.t=target;this.s=start;this.c=change;this.p=prop;this.r=renderer||_renderPlain;this.d=data||this;this.set=setter||_setterPlain;this.pr=priority||0;this._next=next;if(next){next._prev=this}}
1401var _proto4=PropTween.prototype;_proto4.modifier=function modifier(func,tween,target){this.mSet=this.mSet||this.set;this.set=_setterWithModifier;this.m=func;this.mt=target;this.tween=tween};return PropTween}();_forEachName(_callbackNames+"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(name){return _reservedProps[name]=1});_globals.TweenMax=_globals.TweenLite=Tween;_globals.TimelineLite=_globals.TimelineMax=Timeline;_globalTimeline=new Timeline({sortChildren:!1,defaults:_defaults,autoRemoveChildren:!0,id:"root",smoothChildTiming:!0});_config.stringFilter=_colorStringFilter;var _gsap={registerPlugin:function registerPlugin(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++){args[_key2]=arguments[_key2]}
1402args.forEach(function(config){return _createPlugin(config)})},timeline:function timeline(vars){return new Timeline(vars)},getTweensOf:function getTweensOf(targets,onlyActive){return _globalTimeline.getTweensOf(targets,onlyActive)},getProperty:function getProperty(target,property,unit,uncache){_isString(target)&&(target=toArray(target)[0]);var getter=_getCache(target||{}).get,format=unit?_passThrough:_numericIfPossible;unit==="native"&&(unit="");return!target?target:!property?function(property,unit,uncache){return format((_plugins[property]&&_plugins[property].get||getter)(target,property,unit,uncache))}:format((_plugins[property]&&_plugins[property].get||getter)(target,property,unit,uncache))},quickSetter:function quickSetter(target,property,unit){target=toArray(target);if(target.length>1){var setters=target.map(function(t){return gsap.quickSetter(t,property,unit)}),l=setters.length;return function(value){var i=l;while(i--){setters[i](value)}}}
1403target=target[0]||{};var Plugin=_plugins[property],cache=_getCache(target),p=cache.harness&&(cache.harness.aliases||{})[property]||property,setter=Plugin?function(value){var p=new Plugin();_quickTween._pt=0;p.init(target,unit?value+unit:value,_quickTween,0,[target]);p.render(1,p);_quickTween._pt&&_renderPropTweens(1,_quickTween)}:cache.set(target,p);return Plugin?setter:function(value){return setter(target,p,unit?value+unit:value,cache,1)}},isTweening:function isTweening(targets){return _globalTimeline.getTweensOf(targets,!0).length>0},defaults:function defaults(value){value&&value.ease&&(value.ease=_parseEase(value.ease,_defaults.ease));return _mergeDeep(_defaults,value||{})},config:function config(value){return _mergeDeep(_config,value||{})},registerEffect:function registerEffect(_ref3){var name=_ref3.name,effect=_ref3.effect,plugins=_ref3.plugins,defaults=_ref3.defaults,extendTimeline=_ref3.extendTimeline;(plugins||"").split(",").forEach(function(pluginName){return pluginName&&!_plugins[pluginName]&&!_globals[pluginName]&&_warn(name+" effect requires "+pluginName+" plugin.")});_effects[name]=function(targets,vars,tl){return effect(toArray(targets),_setDefaults(vars||{},defaults),tl)};if(extendTimeline){Timeline.prototype[name]=function(targets,vars,position){return this.add(_effects[name](targets,_isObject(vars)?vars:(position=vars)&&{},this),position)}}},registerEase:function registerEase(name,ease){_easeMap[name]=_parseEase(ease)},parseEase:function parseEase(ease,defaultEase){return arguments.length?_parseEase(ease,defaultEase):_easeMap},getById:function getById(id){return _globalTimeline.getById(id)},exportRoot:function exportRoot(vars,includeDelayedCalls){if(vars===void 0){vars={}}
1404var tl=new Timeline(vars),child,next;tl.smoothChildTiming=_isNotFalse(vars.smoothChildTiming);_globalTimeline.remove(tl);tl._dp=0;tl._time=tl._tTime=_globalTimeline._time;child=_globalTimeline._first;while(child){next=child._next;if(includeDelayedCalls||!(!child._dur&&child instanceof Tween&&child.vars.onComplete===child._targets[0])){_addToTimeline(tl,child,child._start-child._delay)}
1405child=next}
1406_addToTimeline(_globalTimeline,tl,0);return tl},utils:{wrap:wrap,wrapYoyo:wrapYoyo,distribute:distribute,random:random,snap:snap,normalize:normalize,getUnit:getUnit,clamp:clamp,splitColor:splitColor,toArray:toArray,selector:selector,mapRange:mapRange,pipe:pipe,unitize:unitize,interpolate:interpolate,shuffle:shuffle},install:_install,effects:_effects,ticker:_ticker,updateRoot:Timeline.updateRoot,plugins:_plugins,globalTimeline:_globalTimeline,core:{PropTween:PropTween,globals:_addGlobal,Tween:Tween,Timeline:Timeline,Animation:Animation,getCache:_getCache,_removeLinkedListItem:_removeLinkedListItem,suppressOverwrites:function suppressOverwrites(value){return _suppressOverwrites=value}}};_forEachName("to,from,fromTo,delayedCall,set,killTweensOf",function(name){return _gsap[name]=Tween[name]});_ticker.add(Timeline.updateRoot);_quickTween=_gsap.to({},{duration:0});var _getPluginPropTween=function _getPluginPropTween(plugin,prop){var pt=plugin._pt;while(pt&&pt.p!==prop&&pt.op!==prop&&pt.fp!==prop){pt=pt._next}
1407return pt},_addModifiers=function _addModifiers(tween,modifiers){var targets=tween._targets,p,i,pt;for(p in modifiers){i=targets.length;while(i--){pt=tween._ptLookup[i][p];if(pt&&(pt=pt.d)){if(pt._pt){pt=_getPluginPropTween(pt,p)}
1408pt&&pt.modifier&&pt.modifier(modifiers[p],tween,targets[i],p)}}}},_buildModifierPlugin=function _buildModifierPlugin(name,modifier){return{name:name,rawVars:1,init:function init(target,vars,tween){tween._onInit=function(tween){var temp,p;if(_isString(vars)){temp={};_forEachName(vars,function(name){return temp[name]=1});vars=temp}
1409if(modifier){temp={};for(p in vars){temp[p]=modifier(vars[p])}
1410vars=temp}
1411_addModifiers(tween,vars)}}}};var gsap=_gsap.registerPlugin({name:"attr",init:function init(target,vars,tween,index,targets){var p,pt;for(p in vars){pt=this.add(target,"setAttribute",(target.getAttribute(p)||0)+"",vars[p],index,targets,0,0,p);pt&&(pt.op=p);this._props.push(p)}}},{name:"endArray",init:function init(target,value){var i=value.length;while(i--){this.add(target,i,target[i]||0,value[i])}}},_buildModifierPlugin("roundProps",_roundModifier),_buildModifierPlugin("modifiers"),_buildModifierPlugin("snap",snap))||_gsap;Tween.version=Timeline.version=gsap.version="3.7.1";_coreReady=1;_windowExists()&&_wake();var Power0=_easeMap.Power0,Power1=_easeMap.Power1,Power2=_easeMap.Power2,Power3=_easeMap.Power3,Power4=_easeMap.Power4,Linear=_easeMap.Linear,Quad=_easeMap.Quad,Cubic=_easeMap.Cubic,Quart=_easeMap.Quart,Quint=_easeMap.Quint,Strong=_easeMap.Strong,Elastic=_easeMap.Elastic,Back=_easeMap.Back,SteppedEase=_easeMap.SteppedEase,Bounce=_easeMap.Bounce,Sine=_easeMap.Sine,Expo=_easeMap.Expo,Circ=_easeMap.Circ}),
vendor: 37,812 bytes, lines 1411-1533
1411"./node_modules/gsap/utils/PathEditor.js":
1412/*!***********************************************!*\
1413  !*** ./node_modules/gsap/utils/PathEditor.js ***!
1414  \***********************************************/
1415/*! exports provided: PathEditor, default */
1416(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"PathEditor",function(){return PathEditor});__webpack_require__.d(__webpack_exports__,"default",function(){return PathEditor});var _paths_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./paths.js */"./node_modules/gsap/utils/paths.js");var _matrix_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./matrix.js */"./node_modules/gsap/utils/matrix.js");
1417/*!
1418 * PathEditor 3.7.1
1419 * https://greensock.com
1420 *
1421 * Copyright 2008-2021, GreenSock. All rights reserved.
1422 * Subject to the terms at https://greensock.com/standard-license or for
1423 * Club GreenSock members, the agreement issued with that membership.
1424 * @author: Jack Doyle, [email protected]
1425*/
1426var _numbersExp=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,_doc,_supportsPointer,_win,_body,_selectionColor="#4e7fff",_minimumMovement=1,_DEG2RAD=Math.PI/180,_getTime=Date.now||function(){return new Date().getTime()},_lastInteraction=0,_isPressed=0,_emptyFunc=function _emptyFunc(){return!1},_interacted=function _interacted(){return _lastInteraction=_getTime()},_CTRL,_ALT,_SHIFT,_CMD,_recentlyAddedAnchor,_editingAxis={},_history=[],_point={},_temp=[],_comma=",",_selectedPaths=[],_preventDefault=function _preventDefault(event){if(event.preventDefault){event.preventDefault();if(event.preventManipulation){event.preventManipulation()}}},_createElement=function _createElement(type){return _doc.createElementNS?_doc.createElementNS("http://www.w3.org/1999/xhtml",type):_doc.createElement(type)},_createSVG=function _createSVG(type,container,attributes){var element=_doc.createElementNS("http://www.w3.org/2000/svg",type),reg=/([a-z])([A-Z])/g,p;attributes=attributes||{};attributes["class"]=attributes["class"]||"path-editor";for(p in attributes){if(element.style[p]!==undefined){element.style[p]=attributes[p]}else{element.setAttributeNS(null,p.replace(reg,"$1-$2").toLowerCase(),attributes[p])}}
1427container.appendChild(element);return element},_identityMatrixObject={matrix:new _matrix_js__WEBPACK_IMPORTED_MODULE_1__.Matrix2D()},_getConsolidatedMatrix=function _getConsolidatedMatrix(target){return(target.transform&&target.transform.baseVal.consolidate()||_identityMatrixObject).matrix},_getConcatenatedTransforms=function _getConcatenatedTransforms(target){var m=_getConsolidatedMatrix(target),owner=target.ownerSVGElement;while((target=target.parentNode)&&target.ownerSVGElement===owner){m.multiply(_getConsolidatedMatrix(target))}
1428return"matrix("+m.a+","+m.b+","+m.c+","+m.d+","+m.e+","+m.f+")"},_addHistory=function _addHistory(pathEditor){var selectedIndexes=[],a=pathEditor._selectedAnchors,i;for(i=0;i<a.length;i++){selectedIndexes[i]=a[i].i}
1429_history.unshift({path:pathEditor,d:pathEditor.path.getAttribute("d"),transform:pathEditor.path.getAttribute("transform")||"",selectedIndexes:selectedIndexes});if(_history.length>30){_history.length=30}},_round=function _round(value){return~~(value*1000+(value<0?-.5:.5))/1000},_getSquarePathData=function _getSquarePathData(size){size=_round(size);return["M-"+size,-size,size,-size,size,size,-size,size+"z"].join(_comma)},_getCirclePathData=function _getCirclePathData(size){var circ=0.552284749831,rcirc=_round(size*circ);size=_round(size);return"M"+size+",0C"+[size,rcirc,rcirc,size,0,size,-rcirc,size,-size,rcirc,-size,0,-size,-rcirc,-rcirc,-size,0,-size,rcirc,-size,size,-rcirc,size,0].join(_comma)+"z"},_checkDeselect=function _checkDeselect(e){if(!e.target._gsSelection&&!_isPressed&&_getTime()-_lastInteraction>100){var i=_selectedPaths.length;while(--i>-1){_selectedPaths[i].deselect()}
1430_selectedPaths.length=0}},_tempDiv,_touchEventLookup,_isMultiTouching=0,_addListener=function _addListener(element,type,func,capture){if(element.addEventListener){var touchType=_touchEventLookup[type];capture=capture||{passive:!1};element.addEventListener(touchType||type,func,capture);if(touchType&&type!==touchType&&touchType.substr(0,7)!=="pointer"){element.addEventListener(type,func,capture)}}else if(element.attachEvent){element.attachEvent("on"+type,func)}},_removeListener=function _removeListener(element,type,func){if(element.removeEventListener){var touchType=_touchEventLookup[type];element.removeEventListener(touchType||type,func);if(touchType&&type!==touchType&&touchType.substr(0,7)!=="pointer"){element.removeEventListener(type,func)}}else if(element.detachEvent){element.detachEvent("on"+type,func)}},_hasTouchID=function _hasTouchID(list,ID){var i=list.length;while(--i>-1){if(list[i].identifier===ID){return!0}}
1431return!1},_onMultiTouchDocumentEnd=function _onMultiTouchDocumentEnd(e){_isMultiTouching=e.touches&&_dragCount<e.touches.length;_removeListener(e.target,"touchend",_onMultiTouchDocumentEnd)},_onMultiTouchDocument=function _onMultiTouchDocument(e){_isMultiTouching=e.touches&&_dragCount<e.touches.length;_addListener(e.target,"touchend",_onMultiTouchDocumentEnd)},_bind=function _bind(func,scope){return function(e){return func.call(scope,e)}},_callback=function _callback(type,self,param){var callback=self.vars[type];if(callback){callback.call(self.vars.callbackScope||self,param||self)}
1432return self},_copyElement,_resetSelection=function _resetSelection(){_copyElement.style.display="block";_copyElement.select();_copyElement.style.display="none"},_coreInitted,_initCore=function _initCore(){_doc=document;_win=window;_body=_doc.body;_tempDiv=_createElement("div");_copyElement=_createElement("textarea");_copyElement.style.display="none";_body&&_body.appendChild(_copyElement);_touchEventLookup=function(types){var standard=types.split(","),converted=(_tempDiv.onpointerdown!==undefined?"pointerdown,pointermove,pointerup,pointercancel":_tempDiv.onmspointerdown!==undefined?"MSPointerDown,MSPointerMove,MSPointerUp,MSPointerCancel":types).split(","),obj={},i=4;while(--i>-1){obj[standard[i]]=converted[i];obj[converted[i]]=standard[i]}
1433return obj}("touchstart,touchmove,touchend,touchcancel");SVGElement.prototype.getTransformToElement=SVGElement.prototype.getTransformToElement||function(e){return e.getScreenCTM().inverse().multiply(this.getScreenCTM())};_doc.addEventListener("keydown",function(e){var key=e.keyCode||e.which,keyString=e.key||key,i,state,a,path;if(keyString==="Shift"||key===16){_SHIFT=!0}else if(keyString==="Control"||key===17){_CTRL=!0}else if(keyString==="Meta"||key===91){_CMD=!0}else if(keyString==="Alt"||key===18){_ALT=!0;i=_selectedPaths.length;while(--i>-1){_selectedPaths[i]._onPressAlt()}}else if((keyString==="z"||key===90)&&(_CTRL||_CMD)&&_history.length>1){_history.shift();state=_history[0];if(state){path=state.path;path.path.setAttribute("d",state.d);path.path.setAttribute("transform",state.transform);path.init();a=path._anchors;for(i=0;i<a.length;i++){if(state.selectedIndexes.indexOf(a[i].i)!==-1){path._selectedAnchors.push(a[i])}}
1434path._updateAnchors();path.update();if(path.vars.onUndo){path.vars.onUndo.call(path)}}}else if(keyString==="Delete"||keyString==="Backspace"||key===8||key===46||key===63272||key==="d"&&(_CTRL||_CMD)){i=_selectedPaths.length;while(--i>-1){_selectedPaths[i]._deleteSelectedAnchors()}}else if((keyString==="a"||key===65)&&(_CMD||_CTRL)){i=_selectedPaths.length;while(--i>-1){_selectedPaths[i].select(!0)}}},!0);_doc.addEventListener("keyup",function(e){var key=e.key||e.keyCode||e.which;if(key==="Shift"||key===16){_SHIFT=!1}else if(key==="Control"||key===17){_CTRL=!1}else if(key==="Meta"||key===91){_CMD=!1}else if(key==="Alt"||key===18){_ALT=!1;var i=_selectedPaths.length;while(--i>-1){_selectedPaths[i]._onReleaseAlt()}}},!0);_supportsPointer=!!_win.PointerEvent;_addListener(_doc,"mouseup",_checkDeselect);_addListener(_doc,"touchend",_checkDeselect);_addListener(_doc,"touchcancel",_emptyFunc);_addListener(_win,"touchmove",_emptyFunc);_body&&_body.addEventListener("touchstart",_emptyFunc);_coreInitted=1},_onPress=function _onPress(e){var self=this,ctm=Object(_matrix_js__WEBPACK_IMPORTED_MODULE_1__.getGlobalMatrix)(self.target.parentNode,!0),touchEventTarget,temp;this._matrix=this.target.transform.baseVal.getItem(0).matrix;this._ctm=ctm;if(_touchEventLookup[e.type]){touchEventTarget=e.type.indexOf("touch")!==-1?e.currentTarget||e.target:_doc;_addListener(touchEventTarget,"touchend",self._onRelease);_addListener(touchEventTarget,"touchmove",self._onMove);_addListener(touchEventTarget,"touchcancel",self._onRelease);_addListener(_doc,"touchstart",_onMultiTouchDocument);_addListener(_win,"touchforcechange",_preventDefault)}else{touchEventTarget=null;_addListener(_doc,"mousemove",self._onMove)}
1435if(!_supportsPointer){_addListener(_doc,"mouseup",self._onRelease)}
1436_preventDefault(e);_resetSelection();if(e.changedTouches){e=self.touch=e.changedTouches[0];self.touchID=e.identifier}else if(e.pointerId){self.touchID=e.pointerId}else{self.touch=self.touchID=null}
1437self._startPointerY=self.pointerY=e.pageY;self._startPointerX=self.pointerX=e.pageX;self._startElementX=self._matrix.e;self._startElementY=self._matrix.f;if(this._ctm.a===1&&this._ctm.b===0&&this._ctm.c===0&&this._ctm.d===1){this._ctm=null}else{temp=self._startPointerX*this._ctm.a+self._startPointerY*this._ctm.c+this._ctm.e;self._startPointerY=self._startPointerX*this._ctm.b+self._startPointerY*this._ctm.d+this._ctm.f;self._startPointerX=temp}
1438self.isPressed=_isPressed=!0;self.touchEventTarget=touchEventTarget;if(self.vars.onPress){self.vars.onPress.call(self.vars.callbackScope||self,self.pointerEvent)}},_onMove=function _onMove(e){var self=this,originalEvent=e,touches,i;if(!self._enabled||_isMultiTouching||!self.isPressed||!e){return}
1439self.pointerEvent=e;touches=e.changedTouches;if(touches){e=touches[0];if(e!==self.touch&&e.identifier!==self.touchID){i=touches.length;while(--i>-1&&(e=touches[i]).identifier!==self.touchID){}
1440if(i<0){return}}}else if(e.pointerId&&self.touchID&&e.pointerId!==self.touchID){return}
1441_preventDefault(originalEvent);self.setPointerPosition(e.pageX,e.pageY);if(self.vars.onDrag){self.vars.onDrag.call(self.vars.callbackScope||self,self.pointerEvent)}},_onRelease=function _onRelease(e,force){var self=this;if(!self._enabled||!self.isPressed||e&&self.touchID!=null&&!force&&(e.pointerId&&e.pointerId!==self.touchID||e.changedTouches&&!_hasTouchID(e.changedTouches,self.touchID))){return}
1442_interacted();self.isPressed=_isPressed=!1;var originalEvent=e,wasDragging=self.isDragging,touchEventTarget=self.touchEventTarget,touches,i;if(touchEventTarget){_removeListener(touchEventTarget,"touchend",self._onRelease);_removeListener(touchEventTarget,"touchmove",self._onMove);_removeListener(touchEventTarget,"touchcancel",self._onRelease);_removeListener(_doc,"touchstart",_onMultiTouchDocument)}else{_removeListener(_doc,"mousemove",self._onMove)}
1443if(!_supportsPointer){_removeListener(_doc,"mouseup",self._onRelease);if(e&&e.target){_removeListener(e.target,"mouseup",self._onRelease)}}
1444if(wasDragging){self.isDragging=!1}else if(self.vars.onClick){self.vars.onClick.call(self.vars.callbackScope||self,originalEvent)}
1445if(e){touches=e.changedTouches;if(touches){e=touches[0];if(e!==self.touch&&e.identifier!==self.touchID){i=touches.length;while(--i>-1&&(e=touches[i]).identifier!==self.touchID){}
1446if(i<0){return}}}
1447self.pointerEvent=originalEvent;self.pointerX=e.pageX;self.pointerY=e.pageY}
1448if(originalEvent&&!wasDragging&&self.vars.onDragRelease){self.vars.onDragRelease.call(self,self.pointerEvent)}else{if(originalEvent){_preventDefault(originalEvent)}
1449if(self.vars.onRelease){self.vars.onRelease.call(self.vars.callbackScope||self,self.pointerEvent)}}
1450if(wasDragging&&self.vars.onDragEnd){self.vars.onDragEnd.call(self.vars.callbackScope||self,self.pointerEvent)}
1451return!0},_createSegmentAnchors=function _createSegmentAnchors(rawPath,j,editor,vars){var segment=rawPath[j],l=segment.length-(segment.closed?6:0),a=[],i;for(i=0;i<l;i+=6){a.push(new Anchor(editor,rawPath,j,i,vars))}
1452segment.closed&&(a[0].isClosedStart=!0);return a},_getLength=function _getLength(segment,i,i2){var x=segment[i2]-segment[i],y=segment[i2+1]-segment[i+1];return Math.sqrt(x*x+y*y)};var DraggableSVG=function(){function DraggableSVG(target,vars){this.target=typeof target==="string"?_doc.querySelectorAll(target)[0]:target;this.vars=vars||{};this._onPress=_bind(_onPress,this);this._onMove=_bind(_onMove,this);this._onRelease=_bind(_onRelease,this);this.target.setAttribute("transform",(this.target.getAttribute("transform")||"")+" translate(0,0)");this._matrix=_getConsolidatedMatrix(this.target);this.x=this._matrix.e;this.y=this._matrix.f;this.snap=vars.snap;if(!isNaN(vars.maxX)||!isNaN(vars.minX)){this._bounds=1;this.maxX=+vars.maxX;this.minX=+vars.minX}else{this._bounds=0}
1453this.enabled(!0)}
1454var _proto=DraggableSVG.prototype;_proto.setPointerPosition=function setPointerPosition(pointerX,pointerY){var rnd=1000,xChange,yChange,x,y,temp;this.pointerX=pointerX;this.pointerY=pointerY;if(this._ctm){temp=pointerX*this._ctm.a+pointerY*this._ctm.c+this._ctm.e;pointerY=pointerX*this._ctm.b+pointerY*this._ctm.d+this._ctm.f;pointerX=temp}
1455yChange=pointerY-this._startPointerY;xChange=pointerX-this._startPointerX;if(yChange<_minimumMovement&&yChange>-_minimumMovement){yChange=0}
1456if(xChange<_minimumMovement&&xChange>-_minimumMovement){xChange=0}
1457x=((this._startElementX+xChange)*rnd|0)/rnd;y=((this._startElementY+yChange)*rnd|0)/rnd;if(this.snap&&!_SHIFT){_point.x=x;_point.y=y;this.snap.call(this,_point);x=_point.x;y=_point.y}
1458if(this.x!==x||this.y!==y){this._matrix.f=this.y=y;this._matrix.e=this.x=x;if(!this.isDragging&&this.isPressed){this.isDragging=!0;_callback("onDragStart",this,this.pointerEvent)}}};_proto.enabled=function enabled(_enabled){if(!arguments.length){return this._enabled}
1459var dragging;this._enabled=_enabled;if(_enabled){if(!_supportsPointer){_addListener(this.target,"mousedown",this._onPress)}
1460_addListener(this.target,"touchstart",this._onPress);_addListener(this.target,"click",this._onClick,!0)}else{dragging=this.isDragging;_removeListener(this.target,"mousedown",this._onPress);_removeListener(this.target,"touchstart",this._onPress);_removeListener(_win,"touchforcechange",_preventDefault);_removeListener(this.target,"click",this._onClick);if(this.touchEventTarget){_removeListener(this.touchEventTarget,"touchcancel",this._onRelease);_removeListener(this.touchEventTarget,"touchend",this._onRelease);_removeListener(this.touchEventTarget,"touchmove",this._onMove)}
1461_removeListener(_doc,"mouseup",this._onRelease);_removeListener(_doc,"mousemove",this._onMove);this.isDragging=this.isPressed=!1;if(dragging){_callback("onDragEnd",this,this.pointerEvent)}}
1462return this};_proto.endDrag=function endDrag(e){this._onRelease(e)};return DraggableSVG}();var Anchor=function(){function Anchor(editor,rawPath,j,i,vars){this.editor=editor;this.element=_createSVG("path",editor._selection,{fill:_selectionColor,stroke:_selectionColor,strokeWidth:2,vectorEffect:"non-scaling-stroke"});this.update(rawPath,j,i);this.element._gsSelection=!0;this.vars=vars||{};this._draggable=new DraggableSVG(this.element,{callbackScope:this,onDrag:this.onDrag,snap:this.vars.snap,onPress:this.onPress,onRelease:this.onRelease,onClick:this.onClick,onDragEnd:this.onDragEnd})}
1463var _proto2=Anchor.prototype;_proto2.onPress=function onPress(){_callback("onPress",this)};_proto2.onClick=function onClick(){_callback("onClick",this)};_proto2.onDrag=function onDrag(){var s=this.segment;this.vars.onDrag.call(this.vars.callbackScope||this,this,this._draggable.x-s[this.i],this._draggable.y-s[this.i+1])};_proto2.onDragEnd=function onDragEnd(){_callback("onDragEnd",this)};_proto2.onRelease=function onRelease(){_callback("onRelease",this)};_proto2.update=function update(rawPath,j,i){if(rawPath){this.rawPath=rawPath}
1464if(arguments.length<=1){j=this.j;i=this.i}else{this.j=j;this.i=i}
1465var prevSmooth=this.smooth,segment=this.rawPath[j],pi=i===0&&segment.closed?segment.length-4:i-2;this.segment=segment;this.smooth=i>0&&i<segment.length-2&&Math.abs(Math.atan2(segment[i+1]-segment[pi+1],segment[i]-segment[pi])-Math.atan2(segment[i+3]-segment[i+1],segment[i+2]-segment[i]))<0.09?2:0;if(this.smooth!==prevSmooth){this.element.setAttribute("d",this.smooth?this.editor._circleHandle:this.editor._squareHandle)}
1466this.element.setAttribute("transform","translate("+segment[i]+","+segment[i+1]+")")};return Anchor}();var PathEditor=function(){function PathEditor(target,vars){vars=vars||{};if(!_coreInitted){_initCore()}
1467this.vars=vars;this.path=typeof target==="string"?_doc.querySelectorAll(target)[0]:target;this._g=_createSVG("g",this.path.ownerSVGElement,{"class":"path-editor-g path-editor"});this._selectionHittest=_createSVG("path",this._g,{stroke:"transparent",strokeWidth:16,fill:"none",vectorEffect:"non-scaling-stroke"});this._selection=vars._selection||_createSVG("g",this._g,{"class":"path-editor-selection path-editor"});this._selectionPath=_createSVG("path",this._selection,{stroke:_selectionColor,strokeWidth:2,fill:"none",vectorEffect:"non-scaling-stroke"});this._selectedAnchors=[];this._line1=_createSVG("polyline",this._selection,{stroke:_selectionColor,strokeWidth:2,vectorEffect:"non-scaling-stroke"});this._line2=_createSVG("polyline",this._selection,{stroke:_selectionColor,strokeWidth:2,vectorEffect:"non-scaling-stroke"});this._line1.style.pointerEvents=this._line2.style.pointerEvents=this._selectionPath.style.pointerEvents="none";this._enabled=!0;var ctm=this.path.parentNode.getScreenCTM().inverse(),size=(ctm.a+ctm.d)/2*(vars.handleSize||5);this._squareHandle=_getSquarePathData(size);this._circleHandle=_getCirclePathData(size*1.15);this._handle1=_createSVG("path",this._selection,{d:this._squareHandle,fill:_selectionColor,stroke:"transparent",strokeWidth:6});this._handle2=_createSVG("path",this._selection,{d:this._squareHandle,fill:_selectionColor,stroke:"transparent",strokeWidth:6});this._handle1._draggable=new DraggableSVG(this._handle1,{onDrag:this._onDragHandle1,callbackScope:this,onPress:this._onPressHandle1,onRelease:this._onReleaseHandle,onClick:this._onClickHandle1,snap:vars.handleSnap});this._handle2._draggable=new DraggableSVG(this._handle2,{onDrag:this._onDragHandle2,callbackScope:this,onPress:this._onPressHandle2,onRelease:this._onReleaseHandle,onClick:this._onClickHandle2,snap:vars.handleSnap});this._handle1.style.visibility=this._handle2.style.visibility="hidden";var selectionItems=[this._handle1,this._handle2,this._line1,this._line2,this._selection,this._selectionPath,this._selectionHittest],i=selectionItems.length;while(--i>-1){selectionItems[i]._gsSelection=!0}
1468if(vars.draggable!==!1){this._draggable=new DraggableSVG(this._selectionHittest,{callbackScope:this,onPress:this.select,onRelease:this._onRelease,onDrag:this._onDragPath,onDragEnd:this._saveState,maxX:this.vars.maxX,minX:this.vars.minX})}
1469this.init();this._selection.style.visibility=vars.selected===!1?"hidden":"visible";if(vars.selected!==!1){this.path._gsSelection=!0;_selectedPaths.push(this)}
1470this._saveState();if(!_supportsPointer){_addListener(this._selectionHittest,"mousedown",_bind(this._onClickSelectionPath,this));_addListener(this._selectionHittest,"mouseup",_bind(this._onRelease,this))}
1471_addListener(this._selectionHittest,"touchstart",_bind(this._onClickSelectionPath,this));_addListener(this._selectionHittest,"touchend",_bind(this._onRelease,this))}
1472var _proto3=PathEditor.prototype;_proto3._onRelease=function _onRelease(e){var anchor=this._editingAnchor;if(anchor){_editingAxis.x=anchor.segment[anchor.i];_editingAxis.y=anchor.segment[anchor.i+1]}
1473_removeListener(_win,"touchforcechange",_preventDefault);_callback("onRelease",this,e)};_proto3.init=function init(){var pathData=this.path.getAttribute("d"),rawPath=Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.stringToRawPath)(pathData),transform=this.path.getAttribute("transform")||"translate(0,0)",createAnchors=!this._rawPath||rawPath.totalPoints!==this._rawPath.totalPoints||rawPath.length!==this._rawPath.length,anchorVars={callbackScope:this,snap:this.vars.anchorSnap,onDrag:this._onDragAnchor,onPress:this._onPressAnchor,onRelease:this._onRelease,onClick:this._onClickAnchor,onDragEnd:this._onDragEndAnchor,maxX:this.vars.maxX,minX:this.vars.minX},l,i;if(createAnchors&&this._anchors&&this._anchors.length){for(i=0;i<this._anchors.length;i++){this._anchors[i].element.parentNode.removeChild(this._anchors[i].element);this._anchors[i]._draggable.enabled(!1)}
1474this._selectedAnchors.length=0}
1475this._rawPath=rawPath;if(createAnchors){this._anchors=_createSegmentAnchors(rawPath,0,this,anchorVars);l=rawPath.length;if(l>1){for(i=1;i<l;i++){this._anchors=this._anchors.concat(_createSegmentAnchors(rawPath,i,this,anchorVars))}}}else{i=this._anchors.length;while(--i>-1){this._anchors[i].update(rawPath)}}
1476this._selection.appendChild(this._handle1);this._selection.appendChild(this._handle2);this._selectionPath.setAttribute("d",pathData);this._selectionHittest.setAttribute("d",pathData);this._g.setAttribute("transform",_getConcatenatedTransforms(this.path.parentNode)||"translate(0,0)");this._selection.setAttribute("transform",transform);this._selectionHittest.setAttribute("transform",transform);this._updateAnchors();return this};_proto3._saveState=function _saveState(){_addHistory(this)};_proto3._onClickSelectionPath=function _onClickSelectionPath(e){if(this._selection.style.visibility==="hidden"){this.select()}else if(_ALT||e&&e.altKey){var anchorVars={callbackScope:this,snap:this.vars.anchorSnap,onDrag:this._onDragAnchor,onPress:this._onPressAnchor,onRelease:this._onRelease,onClick:this._onClickAnchor,onDragEnd:this._onDragEndAnchor,maxX:this.vars.maxX,minX:this.vars.minX},ctm=this._selection.getScreenCTM().inverse(),newIndex,_i,anchor,x,y,closestData;if(this._draggable){this._draggable._onRelease(e)}
1477if(ctm){x=e.clientX*ctm.a+e.clientY*ctm.c+ctm.e;y=e.clientX*ctm.b+e.clientY*ctm.d+ctm.f}
1478closestData=Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.getClosestData)(this._rawPath,x,y);Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.subdivideSegment)(this._rawPath[closestData.j],closestData.i,closestData.t);newIndex=closestData.i+6;for(_i=0;_i<this._anchors.length;_i++){if(this._anchors[_i].i>=newIndex){this._anchors[_i].i+=6}}
1479anchor=new Anchor(this,this._rawPath,closestData.j,newIndex,anchorVars);this._selection.appendChild(this._handle1);this._selection.appendChild(this._handle2);anchor._draggable._onPress(e);_recentlyAddedAnchor=anchor;this._anchors.push(anchor);this._selectedAnchors.length=0;this._selectedAnchors.push(anchor);this._updateAnchors();this.update();this._saveState()}
1480_resetSelection();_addListener(_win,"touchforcechange",_preventDefault);_callback("onPress",this)};_proto3._onClickHandle1=function _onClickHandle1(){var anchor=this._editingAnchor,i=anchor.i,s=anchor.segment,pi=anchor.isClosedStart?s.length-4:i-2;if(_ALT&&Math.abs(s[i]-s[pi])<5&&Math.abs(s[i+1]-s[pi+1])<5){this._onClickAnchor(anchor)}};_proto3._onClickHandle2=function _onClickHandle2(){var anchor=this._editingAnchor,i=anchor.i,s=anchor.segment;if(_ALT&&Math.abs(s[i]-s[i+2])<5&&Math.abs(s[i+1]-s[i+3])<5){this._onClickAnchor(anchor)}};_proto3._onDragEndAnchor=function _onDragEndAnchor(e){_recentlyAddedAnchor=null;this._saveState()};_proto3.isSelected=function isSelected(){return this._selectedAnchors.length>0};_proto3.select=function select(allAnchors){this._selection.style.visibility="visible";this._editingAnchor=null;this.path._gsSelection=!0;if(allAnchors===!0){var _i2=this._anchors.length;while(--_i2>-1){this._selectedAnchors[_i2]=this._anchors[_i2]}}
1481if(_selectedPaths.indexOf(this)===-1){_selectedPaths.push(this)}
1482this._updateAnchors();return this};_proto3.deselect=function deselect(){this._selection.style.visibility="hidden";this._selectedAnchors.length=0;this._editingAnchor=null;this.path._gsSelection=!1;_selectedPaths.splice(_selectedPaths.indexOf(this),1);this._updateAnchors();return this};_proto3._onDragPath=function _onDragPath(e){var transform=this._selectionHittest.getAttribute("transform")||"translate(0,0)";this._selection.setAttribute("transform",transform);this.path.setAttribute("transform",transform)};_proto3._onPressAnchor=function _onPressAnchor(anchor){if(this._selectedAnchors.indexOf(anchor)===-1){if(!_SHIFT){this._selectedAnchors.length=0}
1483this._selectedAnchors.push(anchor)}else if(_SHIFT){this._selectedAnchors.splice(this._selectedAnchors.indexOf(anchor),1);anchor._draggable.endDrag()}
1484_editingAxis.x=anchor.segment[anchor.i];_editingAxis.y=anchor.segment[anchor.i+1];this._updateAnchors();_callback("onPress",this)};_proto3._deleteSelectedAnchors=function _deleteSelectedAnchors(){var anchors=this._selectedAnchors,i=anchors.length,anchor,index,j;while(--i>-1){anchor=anchors[i];anchor.element.parentNode.removeChild(anchor.element);anchor._draggable.enabled(!1);index=anchor.i;if(!index){anchor.segment.splice(index,6)}else if(index<anchor.segment.length-2){anchor.segment.splice(index-2,6)}else{anchor.segment.splice(index-4,6)}
1485anchors.splice(i,1);this._anchors.splice(this._anchors.indexOf(anchor),1);for(j=0;j<this._anchors.length;j++){if(this._anchors[j].i>=index){this._anchors[j].i-=6}}}
1486this._updateAnchors();this.update();this._saveState();if(this.vars.onDeleteAnchor){this.vars.onDeleteAnchor.call(this.vars.callbackScope||this)}};_proto3._onClickAnchor=function _onClickAnchor(anchor){var i=anchor.i,segment=anchor.segment,pi=anchor.isClosedStart?segment.length-4:i-2,rnd=1000,isEnd=!i||i>=segment.length-2,angle1,angle2,length1,length2,sin,cos;if(_ALT&&_recentlyAddedAnchor!==anchor&&this._editingAnchor){anchor.smooth=!anchor.smooth;if(isEnd&&!anchor.isClosedStart){anchor.smooth=!1}
1487anchor.element.setAttribute("d",anchor.smooth?this._circleHandle:this._squareHandle);if(anchor.smooth&&(!isEnd||anchor.isClosedStart)){angle1=Math.atan2(segment[i+1]-segment[pi+1],segment[i]-segment[pi]);angle2=Math.atan2(segment[i+3]-segment[i+1],segment[i+2]-segment[i]);angle1=(angle1+angle2)/2;length1=_getLength(segment,pi,i);length2=_getLength(segment,i,i+2);if(length1<0.2){length1=_getLength(segment,i,pi-4)/4;angle1=angle2||Math.atan2(segment[i+7]-segment[pi-3],segment[i+6]-segment[pi-4])}
1488if(length2<0.2){length2=_getLength(segment,i,i+6)/4;angle2=angle1||Math.atan2(segment[i+7]-segment[pi-3],segment[i+6]-segment[pi-4])}
1489sin=Math.sin(angle1);cos=Math.cos(angle1);if(Math.abs(angle2-angle1)<Math.PI/2){sin=-sin;cos=-cos}
1490segment[pi]=((segment[i]+cos*length1)*rnd|0)/rnd;segment[pi+1]=((segment[i+1]+sin*length1)*rnd|0)/rnd;segment[i+2]=((segment[i]-cos*length2)*rnd|0)/rnd;segment[i+3]=((segment[i+1]-sin*length2)*rnd|0)/rnd;this._updateAnchors();this.update();this._saveState()}else if(!anchor.smooth&&(!isEnd||anchor.isClosedStart)){if(i||anchor.isClosedStart){segment[pi]=segment[i];segment[pi+1]=segment[i+1]}
1491if(i<segment.length-2){segment[i+2]=segment[i];segment[i+3]=segment[i+1]}
1492this._updateAnchors();this.update();this._saveState()}}else if(!_SHIFT){this._selectedAnchors.length=0;this._selectedAnchors.push(anchor)}
1493_recentlyAddedAnchor=null;this._updateAnchors()};_proto3._updateAnchors=function _updateAnchors(){var anchor=this._selectedAnchors.length===1?this._selectedAnchors[0]:null,segment=anchor?anchor.segment:null,i,x,y;this._editingAnchor=anchor;for(i=0;i<this._anchors.length;i++){this._anchors[i].element.style.fill=this._selectedAnchors.indexOf(this._anchors[i])!==-1?_selectionColor:"white"}
1494if(anchor){this._handle1.setAttribute("d",anchor.smooth?this._circleHandle:this._squareHandle);this._handle2.setAttribute("d",anchor.smooth?this._circleHandle:this._squareHandle)}
1495i=anchor?anchor.i:0;if(anchor&&(i||anchor.isClosedStart)){x=anchor.isClosedStart?segment[segment.length-4]:segment[i-2];y=anchor.isClosedStart?segment[segment.length-3]:segment[i-1];this._handle1.style.visibility=this._line1.style.visibility=!_ALT&&x===segment[i]&&y===segment[i+1]?"hidden":"visible";this._handle1.setAttribute("transform","translate("+x+_comma+y+")");this._line1.setAttribute("points",x+_comma+y+_comma+segment[i]+_comma+segment[i+1])}else{this._handle1.style.visibility=this._line1.style.visibility="hidden"}
1496if(anchor&&i<segment.length-2){x=segment[i+2];y=segment[i+3];this._handle2.style.visibility=this._line2.style.visibility=!_ALT&&x===segment[i]&&y===segment[i+1]?"hidden":"visible";this._handle2.setAttribute("transform","translate("+x+_comma+y+")");this._line2.setAttribute("points",segment[i]+_comma+segment[i+1]+_comma+x+_comma+y)}else{this._handle2.style.visibility=this._line2.style.visibility="hidden"}};_proto3._onPressAlt=function _onPressAlt(){var anchor=this._editingAnchor;if(anchor){if(anchor.i||anchor.isClosedStart){this._handle1.style.visibility=this._line1.style.visibility="visible"}
1497if(anchor.i<anchor.segment.length-2){this._handle2.style.visibility=this._line2.style.visibility="visible"}}};_proto3._onReleaseAlt=function _onReleaseAlt(){var anchor=this._editingAnchor,s,i,pi;if(anchor){s=anchor.segment;i=anchor.i;pi=anchor.isClosedStart?s.length-4:i-2;if(s[i]===s[pi]&&s[i+1]===s[pi+1]){this._handle1.style.visibility=this._line1.style.visibility="hidden"}
1498if(s[i]===s[i+2]&&s[i+1]===s[i+3]){this._handle2.style.visibility=this._line2.style.visibility="hidden"}}};_proto3._onPressHandle1=function _onPressHandle1(){if(this._editingAnchor.smooth){this._oppositeHandleLength=_getLength(this._editingAnchor.segment,this._editingAnchor.i,this._editingAnchor.i+2)}
1499_callback("onPress",this)};_proto3._onPressHandle2=function _onPressHandle2(){if(this._editingAnchor.smooth){this._oppositeHandleLength=_getLength(this._editingAnchor.segment,this._editingAnchor.isClosedStart?this._editingAnchor.segment.length-4:this._editingAnchor.i-2,this._editingAnchor.i)}
1500_callback("onPress",this)};_proto3._onReleaseHandle=function _onReleaseHandle(e){this._onRelease(e);this._saveState()};_proto3._onDragHandle1=function _onDragHandle1(){var anchor=this._editingAnchor,s=anchor.segment,i=anchor.i,pi=anchor.isClosedStart?s.length-4:i-2,rnd=1000,x=this._handle1._draggable.x,y=this._handle1._draggable.y,angle;s[pi]=x=(x*rnd|0)/rnd;s[pi+1]=y=(y*rnd|0)/rnd;if(anchor.smooth){if(_ALT){anchor.smooth=!1;anchor.element.setAttribute("d",this._squareHandle);this._handle1.setAttribute("d",this._squareHandle);this._handle2.setAttribute("d",this._squareHandle)}else{angle=Math.atan2(s[i+1]-y,s[i]-x);x=this._oppositeHandleLength*Math.cos(angle);y=this._oppositeHandleLength*Math.sin(angle);s[i+2]=((s[i]+x)*rnd|0)/rnd;s[i+3]=((s[i+1]+y)*rnd|0)/rnd}}
1501this.update()};_proto3._onDragHandle2=function _onDragHandle2(){var anchor=this._editingAnchor,s=anchor.segment,i=anchor.i,pi=anchor.isClosedStart?s.length-4:i-2,rnd=1000,x=this._handle2._draggable.x,y=this._handle2._draggable.y,angle;s[i+2]=x=(x*rnd|0)/rnd;s[i+3]=y=(y*rnd|0)/rnd;if(anchor.smooth){if(_ALT){anchor.smooth=!1;anchor.element.setAttribute("d",this._squareHandle);this._handle1.setAttribute("d",this._squareHandle);this._handle2.setAttribute("d",this._squareHandle)}else{angle=Math.atan2(s[i+1]-y,s[i]-x);x=this._oppositeHandleLength*Math.cos(angle);y=this._oppositeHandleLength*Math.sin(angle);s[pi]=((s[i]+x)*rnd|0)/rnd;s[pi+1]=((s[i+1]+y)*rnd|0)/rnd}}
1502this.update()};_proto3._onDragAnchor=function _onDragAnchor(anchor,changeX,changeY){var anchors=this._selectedAnchors,l=anchors.length,rnd=1000,i,j,s,a,pi;for(j=0;j<l;j++){a=anchors[j];i=a.i;s=a.segment;if(i){s[i-2]=((s[i-2]+changeX)*rnd|0)/rnd;s[i-1]=((s[i-1]+changeY)*rnd|0)/rnd}else if(a.isClosedStart){pi=s.length-2;s[pi]=_round(s[pi]+changeX);s[pi+1]=_round(s[pi+1]+changeY);s[pi-2]=_round(s[pi-2]+changeX);s[pi-1]=_round(s[pi-1]+changeY)}
1503s[i]=((s[i]+changeX)*rnd|0)/rnd;s[i+1]=((s[i+1]+changeY)*rnd|0)/rnd;if(i<s.length-2){s[i+2]=((s[i+2]+changeX)*rnd|0)/rnd;s[i+3]=((s[i+3]+changeY)*rnd|0)/rnd}
1504if(a!==anchor){a.element.setAttribute("transform","translate("+s[i]+_comma+s[i+1]+")")}}
1505this.update()};_proto3.enabled=function enabled(_enabled2){if(!arguments.length){return this._enabled}
1506var i=this._anchors.length;while(--i>-1){this._anchors[i]._draggable.enabled(_enabled2)}
1507this._enabled=_enabled2;this._handle1._draggable.enabled(_enabled2);this._handle2._draggable.enabled(_enabled2);if(this._draggable){this._draggable.enabled(_enabled2)}
1508if(!_enabled2){this.deselect();this.path.ownerSVGElement.removeChild(this._selectionHittest);this.path.ownerSVGElement.removeChild(this._selection)}else if(!this._selection.parentNode){this.path.ownerSVGElement.appendChild(this._selectionHittest);this.path.ownerSVGElement.appendChild(this._selection);this.init();this._saveState()}
1509this._updateAnchors();return this.update()};_proto3.update=function update(readPath){var d="",anchor=this._editingAnchor,i,s,x,y,pi;if(readPath){this.init()}
1510if(anchor){i=anchor.i;s=anchor.segment;if(i||anchor.isClosedStart){pi=anchor.isClosedStart?s.length-4:i-2;x=s[pi];y=s[pi+1];this._handle1.setAttribute("transform","translate("+x+_comma+y+")");this._line1.setAttribute("points",x+_comma+y+_comma+s[i]+_comma+s[i+1])}
1511if(i<s.length-2){x=s[i+2];y=s[i+3];this._handle2.setAttribute("transform","translate("+x+_comma+y+")");this._line2.setAttribute("points",s[i]+_comma+s[i+1]+_comma+x+_comma+y)}}
1512if(readPath){d=this.path.getAttribute("d")}else{for(i=0;i<this._rawPath.length;i++){s=this._rawPath[i];if(s.length>7){d+="M"+s[0]+_comma+s[1]+"C"+s.slice(2).join(_comma)}}
1513this.path.setAttribute("d",d);this._selectionPath.setAttribute("d",d);this._selectionHittest.setAttribute("d",d)}
1514if(this.vars.onUpdate&&this._enabled){_callback("onUpdate",this,d)}
1515return this};_proto3.getRawPath=function getRawPath(applyTransforms,offsetX,offsetY){if(applyTransforms){var m=_getConsolidatedMatrix(this.path);return Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.transformRawPath)(Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.copyRawPath)(this._rawPath),1,0,0,1,m.e+(offsetX||0),m.f+(offsetY||0))}
1516return this._rawPath};_proto3.getString=function getString(applyTransforms,offsetX,offsetY){if(applyTransforms){var m=_getConsolidatedMatrix(this.path);return Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.rawPathToString)(Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.transformRawPath)(Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.copyRawPath)(this._rawPath),1,0,0,1,m.e+(offsetX||0),m.f+(offsetY||0)))}
1517return this.path.getAttribute("d")};_proto3.getNormalizedSVG=function getNormalizedSVG(height,originY,shorten,onEaseError){var s=this._rawPath[0],tx=s[0]*-1,ty=originY===0?0:-(originY||s[1]),l=s.length,sx=1/(s[l-2]+tx),sy=-height||s[l-1]+ty,rnd=1000,points,i,x1,y1,x2,y2;_temp.length=0;if(sy){sy=1/sy}else{sy=-sx}
1518sx*=rnd;sy*=rnd;for(i=0;i<l;i+=2){_temp[i]=((s[i]+tx)*sx|0)/rnd;_temp[i+1]=((s[i+1]+ty)*sy|0)/rnd}
1519if(onEaseError){points=[];l=_temp.length;for(i=2;i<l;i+=6){x1=_temp[i-2];y1=_temp[i-1];x2=_temp[i+4];y2=_temp[i+5];points.push(x1,y1,x2,y2);Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.bezierToPoints)(x1,y1,_temp[i],_temp[i+1],_temp[i+2],_temp[i+3],x2,y2,0.001,points,points.length-2)}
1520x1=points[0];l=points.length;for(i=2;i<l;i+=2){x2=points[i];if(x2<x1||x2>1||x2<0){onEaseError();break}
1521x1=x2}}
1522if(shorten&&l===8&&_temp[0]===0&&_temp[1]===0&&_temp[l-2]===1&&_temp[l-1]===1){return _temp.slice(2,6).join(",")}
1523_temp[2]="C"+_temp[2];return"M"+_temp.join(",")};return PathEditor}();PathEditor.simplifyPoints=_paths_js__WEBPACK_IMPORTED_MODULE_0__.simplifyPoints;PathEditor.pointsToSegment=_paths_js__WEBPACK_IMPORTED_MODULE_0__.pointsToSegment;PathEditor.simplifySVG=function(data,vars){var element,points,i,x1,x2,y1,y2,bezier,precision,tolerance,l,cornerThreshold;vars=vars||{};tolerance=vars.tolerance||1;precision=vars.precision||1/tolerance;cornerThreshold=(vars.cornerThreshold===undefined?18:+vars.cornerThreshold)*_DEG2RAD;if(typeof data!=="string"){element=data;data=element.getAttribute("d")}
1524if(data.charAt(0)==="#"||data.charAt(0)==="."){element=_doc.querySelector(data);if(element){data=element.getAttribute("d")}}
1525points=vars.curved===!1&&!/[achqstvz]/ig.test(data)?data.match(_numbersExp):Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.stringToRawPath)(data)[0];if(vars.curved!==!1){bezier=points;points=[];l=bezier.length;for(i=2;i<l;i+=6){x1=+bezier[i-2];y1=+bezier[i-1];x2=+bezier[i+4];y2=+bezier[i+5];points.push(_round(x1),_round(y1),_round(x2),_round(y2));Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.bezierToPoints)(x1,y1,+bezier[i],+bezier[i+1],+bezier[i+2],+bezier[i+3],x2,y2,1/(precision*200000),points,points.length-2)}
1526points=Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.pointsToSegment)(Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.simplifyPoints)(points,tolerance),vars.curviness,cornerThreshold);points[2]="C"+points[2]}else{points=Object(_paths_js__WEBPACK_IMPORTED_MODULE_0__.simplifyPoints)(points,tolerance)}
1527data="M"+points.join(",");if(element){element.setAttribute("d",data)}
1528return data};PathEditor.create=function(target,vars){return new PathEditor(target,vars)};PathEditor.editingAxis=_editingAxis;PathEditor.getSnapFunction=function(vars){var r=vars.radius||2,big=1e20,minX=vars.x||vars.x===0?vars.x:vars.width?0:-big,minY=vars.y||vars.y===0?vars.y:vars.height?0:-big,maxX=minX+(vars.width||big*big),maxY=minY+(vars.height||big*big),containX=vars.containX!==!1,containY=vars.containY!==!1,axis=vars.axis,grid=vars.gridSize;r*=r;return function(p){var x=p.x,y=p.y,gridX,gridY,dx,dy;if(containX&&x<minX||(dx=x-minX)*dx<r){x=minX}else if(containX&&x>maxX||(dx=maxX-x)*dx<r){x=maxX}
1529if(containY&&y<minY||(dy=y-minY)*dy<r){y=minY}else if(containY&&y>maxY||(dy=maxY-y)*dy<r){y=maxY}
1530if(axis){dx=x-axis.x;dy=y-axis.y;if(dx*dx<r){x=axis.x}
1531if(dy*dy<r){y=axis.y}}
1532if(grid){gridX=minX+Math.round((x-minX)/grid)*grid;dx=gridX-x;gridY=minY+Math.round((y-minY)/grid)*grid;dy=gridY-y;if(dx*dx+dy*dy<r){x=gridX;y=gridY}}
1533p.x=x;p.y=y}};PathEditor.version="3.7.1"}),
vendor: 4,668 bytes, lines 1533-1560
1533"./node_modules/gsap/utils/VelocityTracker.js":
1534/*!****************************************************!*\
1535  !*** ./node_modules/gsap/utils/VelocityTracker.js ***!
1536  \****************************************************/
1537/*! exports provided: VelocityTracker, default */
1538(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"VelocityTracker",function(){return VelocityTracker});__webpack_require__.d(__webpack_exports__,"default",function(){return VelocityTracker});
1539/*!
1540 * VelocityTracker: 3.7.1
1541 * https://greensock.com
1542 *
1543 * Copyright 2008-2021, GreenSock. All rights reserved.
1544 * Subject to the terms at https://greensock.com/standard-license or for
1545 * Club GreenSock members, the agreement issued with that membership.
1546 * @author: Jack Doyle, [email protected]
1547*/
1548var gsap,_coreInitted,_toArray,_getUnit,_first,_ticker,_time1,_time2,_getCache,_getGSAP=function _getGSAP(){return gsap||typeof window!=="undefined"&&(gsap=window.gsap)},_lookup={},_round=function _round(value){return Math.round(value*10000)/10000},_getID=function _getID(target){return _getCache(target).id},_getByTarget=function _getByTarget(target){return _lookup[_getID(typeof target==="string"?_toArray(target)[0]:target)]},_onTick=function _onTick(time){var pt=_first,val;if(time-_time1>=0.05){_time2=_time1;_time1=time;while(pt){val=pt.g(pt.t,pt.p);if(val!==pt.v1||time-pt.t1>0.2){pt.v2=pt.v1;pt.v1=val;pt.t2=pt.t1;pt.t1=time}
1549pt=pt._next}}},_types={deg:360,rad:Math.PI*2},_initCore=function _initCore(){gsap=_getGSAP();if(gsap){_toArray=gsap.utils.toArray;_getUnit=gsap.utils.getUnit;_getCache=gsap.core.getCache;_ticker=gsap.ticker;_coreInitted=1}};var PropTracker=function PropTracker(target,property,type,next){this.t=target;this.p=property;this.g=target._gsap.get;this.rCap=_types[type||_getUnit(this.g(target,property))];this.v1=this.v2=0;this.t1=this.t2=_ticker.time;if(next){this._next=next;next._prev=this}};var VelocityTracker=function(){function VelocityTracker(target,property){if(!_coreInitted){_initCore()}
1550this.target=_toArray(target)[0];_lookup[_getID(this.target)]=this;this._props={};property&&this.add(property)}
1551VelocityTracker.register=function register(core){gsap=core;_initCore()};var _proto=VelocityTracker.prototype;_proto.get=function get(property,skipRecentTick){var pt=this._props[property]||console.warn("Not tracking "+property+" velocity."),val,dif,rotationCap;val=parseFloat(skipRecentTick?pt.v1:pt.g(pt.t,pt.p));dif=val-parseFloat(pt.v2);rotationCap=pt.rCap;if(rotationCap){dif=dif%rotationCap;if(dif!==dif%(rotationCap/2)){dif=dif<0?dif+rotationCap:dif-rotationCap}}
1552return _round(dif/((skipRecentTick?pt.t1:_ticker.time)-pt.t2))};_proto.getAll=function getAll(){var result={},props=this._props,p;for(p in props){result[p]=this.get(p)}
1553return result};_proto.isTracking=function isTracking(property){return property in this._props};_proto.add=function add(property,type){if(!(property in this._props)){if(!_first){_ticker.add(_onTick);_time1=_time2=_ticker.time}
1554_first=this._props[property]=new PropTracker(this.target,property,type,_first)}};_proto.remove=function remove(property){var pt=this._props[property],prev,next;if(pt){prev=pt._prev;next=pt._next;if(prev){prev._next=next}
1555if(next){next._prev=prev}else if(_first===pt){_ticker.remove(_onTick);_first=0}
1556delete this._props[property]}};_proto.kill=function kill(shallow){for(var p in this._props){this.remove(p)}
1557if(!shallow){delete _lookup[_getID(this.target)]}};VelocityTracker.track=function track(targets,properties,types){if(!_coreInitted){_initCore()}
1558var result=[],targs=_toArray(targets),a=properties.split(","),t=(types||"").split(","),i=targs.length,tracker,j;while(i--){tracker=_getByTarget(targs[i])||new VelocityTracker(targs[i]);j=a.length;while(j--){tracker.add(a[j],t[j]||t[0])}
1559result.push(tracker)}
1560return result};VelocityTracker.untrack=function untrack(targets,properties){var props=(properties||"").split(",");_toArray(targets).forEach(function(target){var tracker=_getByTarget(target);if(tracker){if(!props.length){tracker.kill(1)}else{props.forEach(function(p){return tracker.remove(p)})}}})};VelocityTracker.isTracking=function isTracking(target,property){var tracker=_getByTarget(target);return tracker&&tracker.isTracking(property)};VelocityTracker.getVelocity=function getVelocity(target,property){var tracker=_getByTarget(target);return!tracker||!tracker.isTracking(property)?console.warn("Not tracking velocity of "+property):tracker.get(property)};return VelocityTracker}();VelocityTracker.getByTarget=_getByTarget;_getGSAP()&&gsap.registerPlugin(VelocityTracker)}),
vendor: 8,295 bytes, lines 1560-1601
1560"./node_modules/gsap/utils/matrix.js":
1561/*!*******************************************!*\
1562  !*** ./node_modules/gsap/utils/matrix.js ***!
1563  \*******************************************/
1564/*! exports provided: Matrix2D, getGlobalMatrix, _getDocScrollTop, _getDocScrollLeft, _setDoc, _isFixed, _getCTM */
1565(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Matrix2D",function(){return Matrix2D});__webpack_require__.d(__webpack_exports__,"getGlobalMatrix",function(){return getGlobalMatrix});__webpack_require__.d(__webpack_exports__,"_getDocScrollTop",function(){return _getDocScrollTop});__webpack_require__.d(__webpack_exports__,"_getDocScrollLeft",function(){return _getDocScrollLeft});__webpack_require__.d(__webpack_exports__,"_setDoc",function(){return _setDoc});__webpack_require__.d(__webpack_exports__,"_isFixed",function(){return _isFixed});__webpack_require__.d(__webpack_exports__,"_getCTM",function(){return _getCTM});
1566/*!
1567 * matrix 3.7.1
1568 * https://greensock.com
1569 *
1570 * Copyright 2008-2021, GreenSock. All rights reserved.
1571 * Subject to the terms at https://greensock.com/standard-license or for
1572 * Club GreenSock members, the agreement issued with that membership.
1573 * @author: Jack Doyle, [email protected]
1574*/
1575var _doc,_win,_docElement,_body,_divContainer,_svgContainer,_identityMatrix,_gEl,_transformProp="transform",_transformOriginProp=_transformProp+"Origin",_hasOffsetBug,_setDoc=function _setDoc(element){var doc=element.ownerDocument||element;if(!(_transformProp in element.style)&&"msTransform" in element.style){_transformProp="msTransform";_transformOriginProp=_transformProp+"Origin"}
1576while(doc.parentNode&&(doc=doc.parentNode)){}
1577_win=window;_identityMatrix=new Matrix2D();if(doc){_doc=doc;_docElement=doc.documentElement;_body=doc.body;_gEl=_doc.createElementNS("http://www.w3.org/2000/svg","g");_gEl.style.transform="none";var d1=doc.createElement("div"),d2=doc.createElement("div");_body.appendChild(d1);d1.appendChild(d2);d1.style.position="static";d1.style[_transformProp]="translate3d(0,0,1px)";_hasOffsetBug=d2.offsetParent!==d1;_body.removeChild(d1)}
1578return doc},_forceNonZeroScale=function _forceNonZeroScale(e){var a,cache;while(e&&e!==_body){cache=e._gsap;cache&&cache.uncache&&cache.get(e,"x");if(cache&&!cache.scaleX&&!cache.scaleY&&cache.renderTransform){cache.scaleX=cache.scaleY=1e-4;cache.renderTransform(1,cache);a?a.push(cache):a=[cache]}
1579e=e.parentNode}
1580return a},_svgTemps=[],_divTemps=[],_getDocScrollTop=function _getDocScrollTop(){return _win.pageYOffset||_doc.scrollTop||_docElement.scrollTop||_body.scrollTop||0},_getDocScrollLeft=function _getDocScrollLeft(){return _win.pageXOffset||_doc.scrollLeft||_docElement.scrollLeft||_body.scrollLeft||0},_svgOwner=function _svgOwner(element){return element.ownerSVGElement||((element.tagName+"").toLowerCase()==="svg"?element:null)},_isFixed=function _isFixed(element){if(_win.getComputedStyle(element).position==="fixed"){return!0}
1581element=element.parentNode;if(element&&element.nodeType===1){return _isFixed(element)}},_createSibling=function _createSibling(element,i){if(element.parentNode&&(_doc||_setDoc(element))){var svg=_svgOwner(element),ns=svg?svg.getAttribute("xmlns")||"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",type=svg?i?"rect":"g":"div",x=i!==2?0:100,y=i===3?100:0,css="position:absolute;display:block;pointer-events:none;margin:0;padding:0;",e=_doc.createElementNS?_doc.createElementNS(ns.replace(/^https/,"http"),type):_doc.createElement(type);if(i){if(!svg){if(!_divContainer){_divContainer=_createSibling(element);_divContainer.style.cssText=css}
1582e.style.cssText=css+"width:0.1px;height:0.1px;top:"+y+"px;left:"+x+"px";_divContainer.appendChild(e)}else{_svgContainer||(_svgContainer=_createSibling(element));e.setAttribute("width",0.01);e.setAttribute("height",0.01);e.setAttribute("transform","translate("+x+","+y+")");_svgContainer.appendChild(e)}}
1583return e}
1584throw "Need document and parent."},_consolidate=function _consolidate(m){var c=new Matrix2D(),i=0;for(;i<m.numberOfItems;i++){c.multiply(m.getItem(i).matrix)}
1585return c},_getCTM=function _getCTM(svg){var m=svg.getCTM(),transform;if(!m){transform=svg.style[_transformProp];svg.style[_transformProp]="none";svg.appendChild(_gEl);m=_gEl.getCTM();svg.removeChild(_gEl);transform?svg.style[_transformProp]=transform:svg.style.removeProperty(_transformProp.replace(/([A-Z])/g,"-$1").toLowerCase())}
1586return m},_placeSiblings=function _placeSiblings(element,adjustGOffset){var svg=_svgOwner(element),isRootSVG=element===svg,siblings=svg?_svgTemps:_divTemps,parent=element.parentNode,container,m,b,x,y,cs;if(element===_win){return element}
1587siblings.length||siblings.push(_createSibling(element,1),_createSibling(element,2),_createSibling(element,3));container=svg?_svgContainer:_divContainer;if(svg){if(isRootSVG){b=_getCTM(element);x=-b.e/b.a;y=-b.f/b.d;m=_identityMatrix}else{b=element.getBBox();m=element.transform?element.transform.baseVal:{};m=!m.numberOfItems?_identityMatrix:m.numberOfItems>1?_consolidate(m):m.getItem(0).matrix;x=m.a*b.x+m.c*b.y;y=m.b*b.x+m.d*b.y}
1588if(adjustGOffset&&element.tagName.toLowerCase()==="g"){x=y=0}(isRootSVG?svg:parent).appendChild(container);container.setAttribute("transform","matrix("+m.a+","+m.b+","+m.c+","+m.d+","+(m.e+x)+","+(m.f+y)+")")}else{x=y=0;if(_hasOffsetBug){m=element.offsetParent;b=element;while(b&&(b=b.parentNode)&&b!==m&&b.parentNode){if((_win.getComputedStyle(b)[_transformProp]+"").length>4){x=b.offsetLeft;y=b.offsetTop;b=0}}}
1589cs=_win.getComputedStyle(element);if(cs.position!=="absolute"&&cs.position!=="fixed"){m=element.offsetParent;while(parent&&parent!==m){x+=parent.scrollLeft||0;y+=parent.scrollTop||0;parent=parent.parentNode}}
1590b=container.style;b.top=element.offsetTop-y+"px";b.left=element.offsetLeft-x+"px";b[_transformProp]=cs[_transformProp];b[_transformOriginProp]=cs[_transformOriginProp];b.position=cs.position==="fixed"?"fixed":"absolute";element.parentNode.appendChild(container)}
1591return container},_setMatrix=function _setMatrix(m,a,b,c,d,e,f){m.a=a;m.b=b;m.c=c;m.d=d;m.e=e;m.f=f;return m};var Matrix2D=function(){function Matrix2D(a,b,c,d,e,f){if(a===void 0){a=1}
1592if(b===void 0){b=0}
1593if(c===void 0){c=0}
1594if(d===void 0){d=1}
1595if(e===void 0){e=0}
1596if(f===void 0){f=0}
1597_setMatrix(this,a,b,c,d,e,f)}
1598var _proto=Matrix2D.prototype;_proto.inverse=function inverse(){var a=this.a,b=this.b,c=this.c,d=this.d,e=this.e,f=this.f,determinant=a*d-b*c||1e-10;return _setMatrix(this,d/determinant,-b/determinant,-c/determinant,a/determinant,(c*f-d*e)/determinant,-(a*f-b*e)/determinant)};_proto.multiply=function multiply(matrix){var a=this.a,b=this.b,c=this.c,d=this.d,e=this.e,f=this.f,a2=matrix.a,b2=matrix.c,c2=matrix.b,d2=matrix.d,e2=matrix.e,f2=matrix.f;return _setMatrix(this,a2*a+c2*c,a2*b+c2*d,b2*a+d2*c,b2*b+d2*d,e+e2*a+f2*c,f+e2*b+f2*d)};_proto.clone=function clone(){return new Matrix2D(this.a,this.b,this.c,this.d,this.e,this.f)};_proto.equals=function equals(matrix){var a=this.a,b=this.b,c=this.c,d=this.d,e=this.e,f=this.f;return a===matrix.a&&b===matrix.b&&c===matrix.c&&d===matrix.d&&e===matrix.e&&f===matrix.f};_proto.apply=function apply(point,decoratee){if(decoratee===void 0){decoratee={}}
1599var x=point.x,y=point.y,a=this.a,b=this.b,c=this.c,d=this.d,e=this.e,f=this.f;decoratee.x=x*a+y*c+e||0;decoratee.y=x*b+y*d+f||0;return decoratee};return Matrix2D}();function getGlobalMatrix(element,inverse,adjustGOffset,includeScrollInFixed){if(!element||!element.parentNode||(_doc||_setDoc(element)).documentElement===element){return new Matrix2D()}
1600var zeroScales=_forceNonZeroScale(element),svg=_svgOwner(element),temps=svg?_svgTemps:_divTemps,container=_placeSiblings(element,adjustGOffset),b1=temps[0].getBoundingClientRect(),b2=temps[1].getBoundingClientRect(),b3=temps[2].getBoundingClientRect(),parent=container.parentNode,isFixed=!includeScrollInFixed&&_isFixed(element),m=new Matrix2D((b2.left-b1.left)/100,(b2.top-b1.top)/100,(b3.left-b1.left)/100,(b3.top-b1.top)/100,b1.left+(isFixed?0:_getDocScrollLeft()),b1.top+(isFixed?0:_getDocScrollTop()));parent.removeChild(container);if(zeroScales){b1=zeroScales.length;while(b1--){b2=zeroScales[b1];b2.scaleX=b2.scaleY=0;b2.renderTransform(1,b2)}}
1601return inverse?m.inverse():m}}),
vendor: 26,363 bytes, lines 1601-1721
1601"./node_modules/gsap/utils/paths.js":
1602/*!******************************************!*\
1603  !*** ./node_modules/gsap/utils/paths.js ***!
1604  \******************************************/
1605/*! exports provided: getRawPath, copyRawPath, reverseSegment, convertToPath, getRotationAtProgress, sliceRawPath, cacheRawPathMeasurements, subdivideSegment, getPositionOnPath, transformRawPath, stringToRawPath, bezierToPoints, flatPointsToSegment, pointsToSegment, simplifyPoints, getClosestData, subdivideSegmentNear, rawPathToString */
1606(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"getRawPath",function(){return getRawPath});__webpack_require__.d(__webpack_exports__,"copyRawPath",function(){return copyRawPath});__webpack_require__.d(__webpack_exports__,"reverseSegment",function(){return reverseSegment});__webpack_require__.d(__webpack_exports__,"convertToPath",function(){return convertToPath});__webpack_require__.d(__webpack_exports__,"getRotationAtProgress",function(){return getRotationAtProgress});__webpack_require__.d(__webpack_exports__,"sliceRawPath",function(){return sliceRawPath});__webpack_require__.d(__webpack_exports__,"cacheRawPathMeasurements",function(){return cacheRawPathMeasurements});__webpack_require__.d(__webpack_exports__,"subdivideSegment",function(){return subdivideSegment});__webpack_require__.d(__webpack_exports__,"getPositionOnPath",function(){return getPositionOnPath});__webpack_require__.d(__webpack_exports__,"transformRawPath",function(){return transformRawPath});__webpack_require__.d(__webpack_exports__,"stringToRawPath",function(){return stringToRawPath});__webpack_require__.d(__webpack_exports__,"bezierToPoints",function(){return bezierToPoints});__webpack_require__.d(__webpack_exports__,"flatPointsToSegment",function(){return flatPointsToSegment});__webpack_require__.d(__webpack_exports__,"pointsToSegment",function(){return pointsToSegment});__webpack_require__.d(__webpack_exports__,"simplifyPoints",function(){return simplifyPoints});__webpack_require__.d(__webpack_exports__,"getClosestData",function(){return getClosestData});__webpack_require__.d(__webpack_exports__,"subdivideSegmentNear",function(){return subdivideSegmentNear});__webpack_require__.d(__webpack_exports__,"rawPathToString",function(){return rawPathToString});
1607/*!
1608 * paths 3.7.1
1609 * https://greensock.com
1610 *
1611 * Copyright 2008-2021, GreenSock. All rights reserved.
1612 * Subject to the terms at https://greensock.com/standard-license or for
1613 * Club GreenSock members, the agreement issued with that membership.
1614 * @author: Jack Doyle, [email protected]
1615*/
1616var _svgPathExp=/[achlmqstvz]|(-?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,_numbersExp=/(?:(-)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/ig,_scientific=/[\+\-]?\d*\.?\d+e[\+\-]?\d+/ig,_selectorExp=/(^[#\.][a-z]|[a-y][a-z])/i,_DEG2RAD=Math.PI/180,_RAD2DEG=180/Math.PI,_sin=Math.sin,_cos=Math.cos,_abs=Math.abs,_sqrt=Math.sqrt,_atan2=Math.atan2,_largeNum=1e8,_isString=function _isString(value){return typeof value==="string"},_isNumber=function _isNumber(value){return typeof value==="number"},_isUndefined=function _isUndefined(value){return typeof value==="undefined"},_temp={},_temp2={},_roundingNum=1e5,_wrapProgress=function _wrapProgress(progress){return Math.round((progress+_largeNum)%1*_roundingNum)/_roundingNum||(progress<0?0:1)},_round=function _round(value){return Math.round(value*_roundingNum)/_roundingNum||0},_roundPrecise=function _roundPrecise(value){return Math.round(value*1e10)/1e10||0},_splitSegment=function _splitSegment(rawPath,segIndex,i,t){var segment=rawPath[segIndex],shift=t===1?6:subdivideSegment(segment,i,t);if(shift&&shift+i+2<segment.length){rawPath.splice(segIndex,0,segment.slice(0,i+shift+2));segment.splice(0,i+shift);return 1}},_getSampleIndex=function _getSampleIndex(samples,length,progress){var l=samples.length,i=~~(progress*l);if(samples[i]>length){while(--i&&samples[i]>length){}}else{while(samples[++i]<length&&i<l){}}
1617return i},_reverseRawPath=function _reverseRawPath(rawPath,skipOuter){var i=rawPath.length;skipOuter||rawPath.reverse();while(i--){rawPath[i].reversed||reverseSegment(rawPath[i])}},_copyMetaData=function _copyMetaData(source,copy){copy.totalLength=source.totalLength;if(source.samples){copy.samples=source.samples.slice(0);copy.lookup=source.lookup.slice(0);copy.minLength=source.minLength;copy.resolution=source.resolution}else if(source.totalPoints){copy.totalPoints=source.totalPoints}
1618return copy},_appendOrMerge=function _appendOrMerge(rawPath,segment){var index=rawPath.length,prevSeg=rawPath[index-1]||[],l=prevSeg.length;if(index&&segment[0]===prevSeg[l-2]&&segment[1]===prevSeg[l-1]){segment=prevSeg.concat(segment.slice(2));index--}
1619rawPath[index]=segment},_bestDistance;function getRawPath(value){value=_isString(value)&&_selectorExp.test(value)?document.querySelector(value)||value:value;var e=value.getAttribute?value:0,rawPath;if(e&&(value=value.getAttribute("d"))){if(!e._gsPath){e._gsPath={}}
1620rawPath=e._gsPath[value];return rawPath&&!rawPath._dirty?rawPath:e._gsPath[value]=stringToRawPath(value)}
1621return!value?console.warn("Expecting a <path> element or an SVG path data string"):_isString(value)?stringToRawPath(value):_isNumber(value[0])?[value]:value}
1622function copyRawPath(rawPath){var a=[],i=0;for(;i<rawPath.length;i++){a[i]=_copyMetaData(rawPath[i],rawPath[i].slice(0))}
1623return _copyMetaData(rawPath,a)}
1624function reverseSegment(segment){var i=0,y;segment.reverse();for(;i<segment.length;i+=2){y=segment[i];segment[i]=segment[i+1];segment[i+1]=y}
1625segment.reversed=!segment.reversed}
1626var _createPath=function _createPath(e,ignore){var path=document.createElementNS("http://www.w3.org/2000/svg","path"),attr=[].slice.call(e.attributes),i=attr.length,name;ignore=","+ignore+",";while(--i>-1){name=attr[i].nodeName.toLowerCase();if(ignore.indexOf(","+name+",")<0){path.setAttributeNS(null,name,attr[i].nodeValue)}}
1627return path},_typeAttrs={rect:"rx,ry,x,y,width,height",circle:"r,cx,cy",ellipse:"rx,ry,cx,cy",line:"x1,x2,y1,y2"},_attrToObj=function _attrToObj(e,attrs){var props=attrs?attrs.split(","):[],obj={},i=props.length;while(--i>-1){obj[props[i]]=+e.getAttribute(props[i])||0}
1628return obj};function convertToPath(element,swap){var type=element.tagName.toLowerCase(),circ=0.552284749831,data,x,y,r,ry,path,rcirc,rycirc,points,w,h,x2,x3,x4,x5,x6,y2,y3,y4,y5,y6,attr;if(type==="path"||!element.getBBox){return element}
1629path=_createPath(element,"x,y,width,height,cx,cy,rx,ry,r,x1,x2,y1,y2,points");attr=_attrToObj(element,_typeAttrs[type]);if(type==="rect"){r=attr.rx;ry=attr.ry||r;x=attr.x;y=attr.y;w=attr.width-r*2;h=attr.height-ry*2;if(r||ry){x2=x+r*(1-circ);x3=x+r;x4=x3+w;x5=x4+r*circ;x6=x4+r;y2=y+ry*(1-circ);y3=y+ry;y4=y3+h;y5=y4+ry*circ;y6=y4+ry;data="M"+x6+","+y3+" V"+y4+" C"+[x6,y5,x5,y6,x4,y6,x4-(x4-x3)/3,y6,x3+(x4-x3)/3,y6,x3,y6,x2,y6,x,y5,x,y4,x,y4-(y4-y3)/3,x,y3+(y4-y3)/3,x,y3,x,y2,x2,y,x3,y,x3+(x4-x3)/3,y,x4-(x4-x3)/3,y,x4,y,x5,y,x6,y2,x6,y3].join(",")+"z"}else{data="M"+(x+w)+","+y+" v"+h+" h"+ -w+" v"+ -h+" h"+w+"z"}}else if(type==="circle"||type==="ellipse"){if(type==="circle"){r=ry=attr.r;rycirc=r*circ}else{r=attr.rx;ry=attr.ry;rycirc=ry*circ}
1630x=attr.cx;y=attr.cy;rcirc=r*circ;data="M"+(x+r)+","+y+" C"+[x+r,y+rycirc,x+rcirc,y+ry,x,y+ry,x-rcirc,y+ry,x-r,y+rycirc,x-r,y,x-r,y-rycirc,x-rcirc,y-ry,x,y-ry,x+rcirc,y-ry,x+r,y-rycirc,x+r,y].join(",")+"z"}else if(type==="line"){data="M"+attr.x1+","+attr.y1+" L"+attr.x2+","+attr.y2}else if(type==="polyline"||type==="polygon"){points=(element.getAttribute("points")+"").match(_numbersExp)||[];x=points.shift();y=points.shift();data="M"+x+","+y+" L"+points.join(",");if(type==="polygon"){data+=","+x+","+y+"z"}}
1631path.setAttribute("d",rawPathToString(path._gsRawPath=stringToRawPath(data)));if(swap&&element.parentNode){element.parentNode.insertBefore(path,element);element.parentNode.removeChild(element)}
1632return path}
1633function getRotationAtProgress(rawPath,progress){var d=getProgressData(rawPath,progress>=1?1-1e-9:progress?progress:1e-9);return getRotationAtBezierT(d.segment,d.i,d.t)}
1634function getRotationAtBezierT(segment,i,t){var a=segment[i],b=segment[i+2],c=segment[i+4],x;a+=(b-a)*t;b+=(c-b)*t;a+=(b-a)*t;x=b+(c+(segment[i+6]-c)*t-b)*t-a;a=segment[i+1];b=segment[i+3];c=segment[i+5];a+=(b-a)*t;b+=(c-b)*t;a+=(b-a)*t;return _round(_atan2(b+(c+(segment[i+7]-c)*t-b)*t-a,x)*_RAD2DEG)}
1635function sliceRawPath(rawPath,start,end){end=_isUndefined(end)?1:_roundPrecise(end)||0;start=_roundPrecise(start)||0;var loops=Math.max(0,~~(_abs(end-start)-1e-8)),path=copyRawPath(rawPath);if(start>end){start=1-start;end=1-end;_reverseRawPath(path);path.totalLength=0}
1636if(start<0||end<0){var offset=Math.abs(~~Math.min(start,end))+1;start+=offset;end+=offset}
1637path.totalLength||cacheRawPathMeasurements(path);var wrap=end>1,s=getProgressData(path,start,_temp,!0),e=getProgressData(path,end,_temp2),eSeg=e.segment,sSeg=s.segment,eSegIndex=e.segIndex,sSegIndex=s.segIndex,ei=e.i,si=s.i,sameSegment=sSegIndex===eSegIndex,sameBezier=ei===si&&sameSegment,wrapsBehind,sShift,eShift,i,copy,totalSegments,l,j;if(wrap||loops){wrapsBehind=eSegIndex<sSegIndex||sameSegment&&ei<si||sameBezier&&e.t<s.t;if(_splitSegment(path,sSegIndex,si,s.t)){sSegIndex++;if(!wrapsBehind){eSegIndex++;if(sameBezier){e.t=(e.t-s.t)/(1-s.t);ei=0}else if(sameSegment){ei-=si}}}
1638if(1-(end-start)<1e-5){eSegIndex=sSegIndex-1}else if(!e.t&&eSegIndex){eSegIndex--}else if(_splitSegment(path,eSegIndex,ei,e.t)&&wrapsBehind){sSegIndex++}
1639if(s.t===1){sSegIndex=(sSegIndex+1)%path.length}
1640copy=[];totalSegments=path.length;l=1+totalSegments*loops;j=sSegIndex;l+=(totalSegments-sSegIndex+eSegIndex)%totalSegments;for(i=0;i<l;i++){_appendOrMerge(copy,path[j++%totalSegments])}
1641path=copy}else{eShift=e.t===1?6:subdivideSegment(eSeg,ei,e.t);if(start!==end){sShift=subdivideSegment(sSeg,si,sameBezier?s.t/e.t:s.t);sameSegment&&(eShift+=sShift);eSeg.splice(ei+eShift+2);(sShift||si)&&sSeg.splice(0,si+sShift);i=path.length;while(i--){(i<sSegIndex||i>eSegIndex)&&path.splice(i,1)}}else{eSeg.angle=getRotationAtBezierT(eSeg,ei+eShift,0);ei+=eShift;s=eSeg[ei];e=eSeg[ei+1];eSeg.length=eSeg.totalLength=0;eSeg.totalPoints=path.totalPoints=8;eSeg.push(s,e,s,e,s,e,s,e)}}
1642path.totalLength=0;return path}
1643function measureSegment(segment,startIndex,bezierQty){startIndex=startIndex||0;if(!segment.samples){segment.samples=[];segment.lookup=[]}
1644var resolution=~~segment.resolution||12,inc=1/resolution,endIndex=bezierQty?startIndex+bezierQty*6+1:segment.length,x1=segment[startIndex],y1=segment[startIndex+1],samplesIndex=startIndex?startIndex/6*resolution:0,samples=segment.samples,lookup=segment.lookup,min=(startIndex?segment.minLength:_largeNum)||_largeNum,prevLength=samples[samplesIndex+bezierQty*resolution-1],length=startIndex?samples[samplesIndex-1]:0,i,j,x4,x3,x2,xd,xd1,y4,y3,y2,yd,yd1,inv,t,lengthIndex,l,segLength;samples.length=lookup.length=0;for(j=startIndex+2;j<endIndex;j+=6){x4=segment[j+4]-x1;x3=segment[j+2]-x1;x2=segment[j]-x1;y4=segment[j+5]-y1;y3=segment[j+3]-y1;y2=segment[j+1]-y1;xd=xd1=yd=yd1=0;if(_abs(x4)<.01&&_abs(y4)<.01&&_abs(x2)+_abs(y2)<.01){if(segment.length>8){segment.splice(j,6);j-=6;endIndex-=6}}else{for(i=1;i<=resolution;i++){t=inc*i;inv=1-t;xd=xd1-(xd1=(t*t*x4+3*inv*(t*x3+inv*x2))*t);yd=yd1-(yd1=(t*t*y4+3*inv*(t*y3+inv*y2))*t);l=_sqrt(yd*yd+xd*xd);if(l<min){min=l}
1645length+=l;samples[samplesIndex++]=length}}
1646x1+=x4;y1+=y4}
1647if(prevLength){prevLength-=length;for(;samplesIndex<samples.length;samplesIndex++){samples[samplesIndex]+=prevLength}}
1648if(samples.length&&min){segment.totalLength=segLength=samples[samples.length-1]||0;segment.minLength=min;if(segLength/min<9999){l=lengthIndex=0;for(i=0;i<segLength;i+=min){lookup[l++]=samples[lengthIndex]<i?++lengthIndex:lengthIndex}}}else{segment.totalLength=samples[0]=0}
1649return startIndex?length-samples[startIndex/2-1]:length}
1650function cacheRawPathMeasurements(rawPath,resolution){var pathLength,points,i;for(i=pathLength=points=0;i<rawPath.length;i++){rawPath[i].resolution=~~resolution||12;points+=rawPath[i].length;pathLength+=measureSegment(rawPath[i])}
1651rawPath.totalPoints=points;rawPath.totalLength=pathLength;return rawPath}
1652function subdivideSegment(segment,i,t){if(t<=0||t>=1){return 0}
1653var ax=segment[i],ay=segment[i+1],cp1x=segment[i+2],cp1y=segment[i+3],cp2x=segment[i+4],cp2y=segment[i+5],bx=segment[i+6],by=segment[i+7],x1a=ax+(cp1x-ax)*t,x2=cp1x+(cp2x-cp1x)*t,y1a=ay+(cp1y-ay)*t,y2=cp1y+(cp2y-cp1y)*t,x1=x1a+(x2-x1a)*t,y1=y1a+(y2-y1a)*t,x2a=cp2x+(bx-cp2x)*t,y2a=cp2y+(by-cp2y)*t;x2+=(x2a-x2)*t;y2+=(y2a-y2)*t;segment.splice(i+2,4,_round(x1a),_round(y1a),_round(x1),_round(y1),_round(x1+(x2-x1)*t),_round(y1+(y2-y1)*t),_round(x2),_round(y2),_round(x2a),_round(y2a));segment.samples&&segment.samples.splice(i/6*segment.resolution|0,0,0,0,0,0,0,0);return 6}
1654function getProgressData(rawPath,progress,decoratee,pushToNextIfAtEnd){decoratee=decoratee||{};rawPath.totalLength||cacheRawPathMeasurements(rawPath);if(progress<0||progress>1){progress=_wrapProgress(progress)}
1655var segIndex=0,segment=rawPath[0],samples,resolution,length,min,max,i,t;if(!progress){t=i=segIndex=0;segment=rawPath[0]}else if(progress===1){t=1;segIndex=rawPath.length-1;segment=rawPath[segIndex];i=segment.length-8}else{if(rawPath.length>1){length=rawPath.totalLength*progress;max=i=0;while((max+=rawPath[i++].totalLength)<length){segIndex=i}
1656segment=rawPath[segIndex];min=max-segment.totalLength;progress=(length-min)/(max-min)||0}
1657samples=segment.samples;resolution=segment.resolution;length=segment.totalLength*progress;i=segment.lookup.length?segment.lookup[~~(length/segment.minLength)]||0:_getSampleIndex(samples,length,progress);min=i?samples[i-1]:0;max=samples[i];if(max<length){min=max;max=samples[++i]}
1658t=1/resolution*((length-min)/(max-min)+i%resolution);i=~~(i/resolution)*6;if(pushToNextIfAtEnd&&t===1){if(i+6<segment.length){i+=6;t=0}else if(segIndex+1<rawPath.length){i=t=0;segment=rawPath[++segIndex]}}}
1659decoratee.t=t;decoratee.i=i;decoratee.path=rawPath;decoratee.segment=segment;decoratee.segIndex=segIndex;return decoratee}
1660function getPositionOnPath(rawPath,progress,includeAngle,point){var segment=rawPath[0],result=point||{},samples,resolution,length,min,max,i,t,a,inv;if(progress<0||progress>1){progress=_wrapProgress(progress)}
1661if(rawPath.length>1){length=rawPath.totalLength*progress;max=i=0;while((max+=rawPath[i++].totalLength)<length){segment=rawPath[i]}
1662min=max-segment.totalLength;progress=(length-min)/(max-min)||0}
1663samples=segment.samples;resolution=segment.resolution;length=segment.totalLength*progress;i=segment.lookup.length?segment.lookup[progress<1?~~(length/segment.minLength):segment.lookup.length-1]||0:_getSampleIndex(samples,length,progress);min=i?samples[i-1]:0;max=samples[i];if(max<length){min=max;max=samples[++i]}
1664t=1/resolution*((length-min)/(max-min)+i%resolution)||0;inv=1-t;i=~~(i/resolution)*6;a=segment[i];result.x=_round((t*t*(segment[i+6]-a)+3*inv*(t*(segment[i+4]-a)+inv*(segment[i+2]-a)))*t+a);result.y=_round((t*t*(segment[i+7]-(a=segment[i+1]))+3*inv*(t*(segment[i+5]-a)+inv*(segment[i+3]-a)))*t+a);if(includeAngle){result.angle=segment.totalLength?getRotationAtBezierT(segment,i,t>=1?1-1e-9:t?t:1e-9):segment.angle||0}
1665return result}
1666function transformRawPath(rawPath,a,b,c,d,tx,ty){var j=rawPath.length,segment,l,i,x,y;while(--j>-1){segment=rawPath[j];l=segment.length;for(i=0;i<l;i+=2){x=segment[i];y=segment[i+1];segment[i]=x*a+y*c+tx;segment[i+1]=x*b+y*d+ty}}
1667rawPath._dirty=1;return rawPath}
1668function arcToSegment(lastX,lastY,rx,ry,angle,largeArcFlag,sweepFlag,x,y){if(lastX===x&&lastY===y){return}
1669rx=_abs(rx);ry=_abs(ry);var angleRad=angle%360*_DEG2RAD,cosAngle=_cos(angleRad),sinAngle=_sin(angleRad),PI=Math.PI,TWOPI=PI*2,dx2=(lastX-x)/2,dy2=(lastY-y)/2,x1=cosAngle*dx2+sinAngle*dy2,y1=-sinAngle*dx2+cosAngle*dy2,x1_sq=x1*x1,y1_sq=y1*y1,radiiCheck=x1_sq/(rx*rx)+y1_sq/(ry*ry);if(radiiCheck>1){rx=_sqrt(radiiCheck)*rx;ry=_sqrt(radiiCheck)*ry}
1670var rx_sq=rx*rx,ry_sq=ry*ry,sq=(rx_sq*ry_sq-rx_sq*y1_sq-ry_sq*x1_sq)/(rx_sq*y1_sq+ry_sq*x1_sq);if(sq<0){sq=0}
1671var coef=(largeArcFlag===sweepFlag?-1:1)*_sqrt(sq),cx1=coef*(rx*y1/ry),cy1=coef*-(ry*x1/rx),sx2=(lastX+x)/2,sy2=(lastY+y)/2,cx=sx2+(cosAngle*cx1-sinAngle*cy1),cy=sy2+(sinAngle*cx1+cosAngle*cy1),ux=(x1-cx1)/rx,uy=(y1-cy1)/ry,vx=(-x1-cx1)/rx,vy=(-y1-cy1)/ry,temp=ux*ux+uy*uy,angleStart=(uy<0?-1:1)*Math.acos(ux/_sqrt(temp)),angleExtent=(ux*vy-uy*vx<0?-1:1)*Math.acos((ux*vx+uy*vy)/_sqrt(temp*(vx*vx+vy*vy)));isNaN(angleExtent)&&(angleExtent=PI);if(!sweepFlag&&angleExtent>0){angleExtent-=TWOPI}else if(sweepFlag&&angleExtent<0){angleExtent+=TWOPI}
1672angleStart%=TWOPI;angleExtent%=TWOPI;var segments=Math.ceil(_abs(angleExtent)/(TWOPI/4)),rawPath=[],angleIncrement=angleExtent/segments,controlLength=4/3*_sin(angleIncrement/2)/(1+_cos(angleIncrement/2)),ma=cosAngle*rx,mb=sinAngle*rx,mc=sinAngle*-ry,md=cosAngle*ry,i;for(i=0;i<segments;i++){angle=angleStart+i*angleIncrement;x1=_cos(angle);y1=_sin(angle);ux=_cos(angle+=angleIncrement);uy=_sin(angle);rawPath.push(x1-controlLength*y1,y1+controlLength*x1,ux+controlLength*uy,uy-controlLength*ux,ux,uy)}
1673for(i=0;i<rawPath.length;i+=2){x1=rawPath[i];y1=rawPath[i+1];rawPath[i]=x1*ma+y1*mc+cx;rawPath[i+1]=x1*mb+y1*md+cy}
1674rawPath[i-2]=x;rawPath[i-1]=y;return rawPath}
1675function stringToRawPath(d){var a=(d+"").replace(_scientific,function(m){var n=+m;return n<0.0001&&n>-0.0001?0:n}).match(_svgPathExp)||[],path=[],relativeX=0,relativeY=0,twoThirds=2/3,elements=a.length,points=0,errorMessage="ERROR: malformed path: "+d,i,j,x,y,command,isRelative,segment,startX,startY,difX,difY,beziers,prevCommand,flag1,flag2,line=function line(sx,sy,ex,ey){difX=(ex-sx)/3;difY=(ey-sy)/3;segment.push(sx+difX,sy+difY,ex-difX,ey-difY,ex,ey)};if(!d||!isNaN(a[0])||isNaN(a[1])){console.log(errorMessage);return path}
1676for(i=0;i<elements;i++){prevCommand=command;if(isNaN(a[i])){command=a[i].toUpperCase();isRelative=command!==a[i]}else{i--}
1677x=+a[i+1];y=+a[i+2];if(isRelative){x+=relativeX;y+=relativeY}
1678if(!i){startX=x;startY=y}
1679if(command==="M"){if(segment){if(segment.length<8){path.length-=1}else{points+=segment.length}}
1680relativeX=startX=x;relativeY=startY=y;segment=[x,y];path.push(segment);i+=2;command="L"}else if(command==="C"){if(!segment){segment=[0,0]}
1681if(!isRelative){relativeX=relativeY=0}
1682segment.push(x,y,relativeX+a[i+3]*1,relativeY+a[i+4]*1,relativeX+=a[i+5]*1,relativeY+=a[i+6]*1);i+=6}else if(command==="S"){difX=relativeX;difY=relativeY;if(prevCommand==="C"||prevCommand==="S"){difX+=relativeX-segment[segment.length-4];difY+=relativeY-segment[segment.length-3]}
1683if(!isRelative){relativeX=relativeY=0}
1684segment.push(difX,difY,x,y,relativeX+=a[i+3]*1,relativeY+=a[i+4]*1);i+=4}else if(command==="Q"){difX=relativeX+(x-relativeX)*twoThirds;difY=relativeY+(y-relativeY)*twoThirds;if(!isRelative){relativeX=relativeY=0}
1685relativeX+=a[i+3]*1;relativeY+=a[i+4]*1;segment.push(difX,difY,relativeX+(x-relativeX)*twoThirds,relativeY+(y-relativeY)*twoThirds,relativeX,relativeY);i+=4}else if(command==="T"){difX=relativeX-segment[segment.length-4];difY=relativeY-segment[segment.length-3];segment.push(relativeX+difX,relativeY+difY,x+(relativeX+difX*1.5-x)*twoThirds,y+(relativeY+difY*1.5-y)*twoThirds,relativeX=x,relativeY=y);i+=2}else if(command==="H"){line(relativeX,relativeY,relativeX=x,relativeY);i+=1}else if(command==="V"){line(relativeX,relativeY,relativeX,relativeY=x+(isRelative?relativeY-relativeX:0));i+=1}else if(command==="L"||command==="Z"){if(command==="Z"){x=startX;y=startY;segment.closed=!0}
1686if(command==="L"||_abs(relativeX-x)>0.5||_abs(relativeY-y)>0.5){line(relativeX,relativeY,x,y);if(command==="L"){i+=2}}
1687relativeX=x;relativeY=y}else if(command==="A"){flag1=a[i+4];flag2=a[i+5];difX=a[i+6];difY=a[i+7];j=7;if(flag1.length>1){if(flag1.length<3){difY=difX;difX=flag2;j--}else{difY=flag2;difX=flag1.substr(2);j-=2}
1688flag2=flag1.charAt(1);flag1=flag1.charAt(0)}
1689beziers=arcToSegment(relativeX,relativeY,+a[i+1],+a[i+2],+a[i+3],+flag1,+flag2,(isRelative?relativeX:0)+difX*1,(isRelative?relativeY:0)+difY*1);i+=j;if(beziers){for(j=0;j<beziers.length;j++){segment.push(beziers[j])}}
1690relativeX=segment[segment.length-2];relativeY=segment[segment.length-1]}else{console.log(errorMessage)}}
1691i=segment.length;if(i<6){path.pop();i=0}else if(segment[0]===segment[i-2]&&segment[1]===segment[i-1]){segment.closed=!0}
1692path.totalPoints=points+i;return path}
1693function bezierToPoints(x1,y1,x2,y2,x3,y3,x4,y4,threshold,points,index){var x12=(x1+x2)/2,y12=(y1+y2)/2,x23=(x2+x3)/2,y23=(y2+y3)/2,x34=(x3+x4)/2,y34=(y3+y4)/2,x123=(x12+x23)/2,y123=(y12+y23)/2,x234=(x23+x34)/2,y234=(y23+y34)/2,x1234=(x123+x234)/2,y1234=(y123+y234)/2,dx=x4-x1,dy=y4-y1,d2=_abs((x2-x4)*dy-(y2-y4)*dx),d3=_abs((x3-x4)*dy-(y3-y4)*dx),length;if(!points){points=[x1,y1,x4,y4];index=2}
1694points.splice(index||points.length-2,0,x1234,y1234);if((d2+d3)*(d2+d3)>threshold*(dx*dx+dy*dy)){length=points.length;bezierToPoints(x1,y1,x12,y12,x123,y123,x1234,y1234,threshold,points,index);bezierToPoints(x1234,y1234,x234,y234,x34,y34,x4,y4,threshold,points,index+2+(points.length-length))}
1695return points}
1696function flatPointsToSegment(points,curviness){if(curviness===void 0){curviness=1}
1697var x=points[0],y=0,segment=[x,y],i=2;for(;i<points.length;i+=2){segment.push(x,y,points[i],y=(points[i]-x)*curviness/2,x=points[i],-y)}
1698return segment}
1699function pointsToSegment(points,curviness,cornerThreshold){_abs(points[0]-points[2])<1e-4&&_abs(points[1]-points[3])<1e-4&&(points=points.slice(2));var l=points.length-2,x=+points[0],y=+points[1],nextX=+points[2],nextY=+points[3],segment=[x,y,x,y],dx2=nextX-x,dy2=nextY-y,closed=Math.abs(points[l]-x)<0.001&&Math.abs(points[l+1]-y)<0.001,prevX,prevY,angle,slope,i,dx1,dx3,dy1,dy3,d1,d2,a,b,c;if(isNaN(cornerThreshold)){cornerThreshold=Math.PI/10}
1700if(closed){points.push(nextX,nextY);nextX=x;nextY=y;x=points[l-2];y=points[l-1];points.unshift(x,y);l+=4}
1701curviness=curviness||curviness===0?+curviness:1;for(i=2;i<l;i+=2){prevX=x;prevY=y;x=nextX;y=nextY;nextX=+points[i+2];nextY=+points[i+3];if(x===nextX&&y===nextY){continue}
1702dx1=dx2;dy1=dy2;dx2=nextX-x;dy2=nextY-y;dx3=nextX-prevX;dy3=nextY-prevY;a=dx1*dx1+dy1*dy1;b=dx2*dx2+dy2*dy2;c=dx3*dx3+dy3*dy3;angle=Math.acos((a+b-c)/_sqrt(4*a*b));d2=angle/Math.PI*curviness;d1=_sqrt(a)*d2;d2*=_sqrt(b);if(x!==prevX||y!==prevY){if(angle>cornerThreshold){slope=_atan2(dy3,dx3);segment.push(_round(x-_cos(slope)*d1),_round(y-_sin(slope)*d1),_round(x),_round(y),_round(x+_cos(slope)*d2),_round(y+_sin(slope)*d2))}else{slope=_atan2(dy1,dx1);segment.push(_round(x-_cos(slope)*d1),_round(y-_sin(slope)*d1));slope=_atan2(dy2,dx2);segment.push(_round(x),_round(y),_round(x+_cos(slope)*d2),_round(y+_sin(slope)*d2))}}}
1703x!==nextX||y!==nextY||segment.length<4?segment.push(_round(nextX),_round(nextY),_round(nextX),_round(nextY)):segment.length-=2;if(closed){segment.splice(0,6);segment.length=segment.length-6}
1704return segment}
1705function pointToSegDist(x,y,x1,y1,x2,y2){var dx=x2-x1,dy=y2-y1,t;if(dx||dy){t=((x-x1)*dx+(y-y1)*dy)/(dx*dx+dy*dy);if(t>1){x1=x2;y1=y2}else if(t>0){x1+=dx*t;y1+=dy*t}}
1706return Math.pow(x-x1,2)+Math.pow(y-y1,2)}
1707function simplifyStep(points,first,last,tolerance,simplified){var maxSqDist=tolerance,firstX=points[first],firstY=points[first+1],lastX=points[last],lastY=points[last+1],index,i,d;for(i=first+2;i<last;i+=2){d=pointToSegDist(points[i],points[i+1],firstX,firstY,lastX,lastY);if(d>maxSqDist){index=i;maxSqDist=d}}
1708if(maxSqDist>tolerance){index-first>2&&simplifyStep(points,first,index,tolerance,simplified);simplified.push(points[index],points[index+1]);last-index>2&&simplifyStep(points,index,last,tolerance,simplified)}}
1709function simplifyPoints(points,tolerance){var prevX=parseFloat(points[0]),prevY=parseFloat(points[1]),temp=[prevX,prevY],l=points.length-2,i,x,y,dx,dy,result,last;tolerance=Math.pow(tolerance||1,2);for(i=2;i<l;i+=2){x=parseFloat(points[i]);y=parseFloat(points[i+1]);dx=prevX-x;dy=prevY-y;if(dx*dx+dy*dy>tolerance){temp.push(x,y);prevX=x;prevY=y}}
1710temp.push(parseFloat(points[l]),parseFloat(points[l+1]));last=temp.length-2;result=[temp[0],temp[1]];simplifyStep(temp,0,last,tolerance,result);result.push(temp[last],temp[last+1]);return result}
1711function getClosestProgressOnBezier(iterations,px,py,start,end,slices,x0,y0,x1,y1,x2,y2,x3,y3){var inc=(end-start)/slices,best=0,t=start,x,y,d,dx,dy,inv;_bestDistance=_largeNum;while(t<=end){inv=1-t;x=inv*inv*inv*x0+3*inv*inv*t*x1+3*inv*t*t*x2+t*t*t*x3;y=inv*inv*inv*y0+3*inv*inv*t*y1+3*inv*t*t*y2+t*t*t*y3;dx=x-px;dy=y-py;d=dx*dx+dy*dy;if(d<_bestDistance){_bestDistance=d;best=t}
1712t+=inc}
1713return iterations>1?getClosestProgressOnBezier(iterations-1,px,py,Math.max(best-inc,0),Math.min(best+inc,1),slices,x0,y0,x1,y1,x2,y2,x3,y3):best}
1714function getClosestData(rawPath,x,y,slices){var closest={j:0,i:0,t:0},bestDistance=_largeNum,i,j,t,segment;for(j=0;j<rawPath.length;j++){segment=rawPath[j];for(i=0;i<segment.length;i+=6){t=getClosestProgressOnBezier(1,x,y,0,1,slices||20,segment[i],segment[i+1],segment[i+2],segment[i+3],segment[i+4],segment[i+5],segment[i+6],segment[i+7]);if(bestDistance>_bestDistance){bestDistance=_bestDistance;closest.j=j;closest.i=i;closest.t=t}}}
1715return closest}
1716function subdivideSegmentNear(x,y,segment,slices,iterations){var l=segment.length,bestDistance=_largeNum,bestT=0,bestSegmentIndex=0,t,i;slices=slices||20;iterations=iterations||3;for(i=0;i<l;i+=6){t=getClosestProgressOnBezier(1,x,y,0,1,slices,segment[i],segment[i+1],segment[i+2],segment[i+3],segment[i+4],segment[i+5],segment[i+6],segment[i+7]);if(bestDistance>_bestDistance){bestDistance=_bestDistance;bestT=t;bestSegmentIndex=i}}
1717t=getClosestProgressOnBezier(iterations,x,y,bestT-0.05,bestT+0.05,slices,segment[bestSegmentIndex],segment[bestSegmentIndex+1],segment[bestSegmentIndex+2],segment[bestSegmentIndex+3],segment[bestSegmentIndex+4],segment[bestSegmentIndex+5],segment[bestSegmentIndex+6],segment[bestSegmentIndex+7]);subdivideSegment(segment,bestSegmentIndex,t);return bestSegmentIndex+6}
1718function rawPathToString(rawPath){if(_isNumber(rawPath[0])){rawPath=[rawPath]}
1719var result="",l=rawPath.length,sl,s,i,segment;for(s=0;s<l;s++){segment=rawPath[s];result+="M"+_round(segment[0])+","+_round(segment[1])+" C";sl=segment.length;for(i=2;i<sl;i++){result+=_round(segment[i++])+","+_round(segment[i++])+" "+_round(segment[i++])+","+_round(segment[i++])+" "+_round(segment[i++])+","+_round(segment[i])+" "}
1720if(segment.closed){result+="z"}}
1721return result}}),
vendor: 9,510 bytes, lines 1721-1745
1721"./node_modules/gsap/utils/strings.js":
1722/*!********************************************!*\
1723  !*** ./node_modules/gsap/utils/strings.js ***!
1724  \********************************************/
1725/*! exports provided: emojiExp, getText, splitInnerHTML, emojiSafeSplit */
1726(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"emojiExp",function(){return emojiExp});__webpack_require__.d(__webpack_exports__,"getText",function(){return getText});__webpack_require__.d(__webpack_exports__,"splitInnerHTML",function(){return splitInnerHTML});__webpack_require__.d(__webpack_exports__,"emojiSafeSplit",function(){return emojiSafeSplit});
1727/*!
1728 * strings: 3.7.1
1729 * https://greensock.com
1730 *
1731 * Copyright 2008-2021, GreenSock. All rights reserved.
1732 * Subject to the terms at https://greensock.com/standard-license or for
1733 * Club GreenSock members, the agreement issued with that membership.
1734 * @author: Jack Doyle, [email protected]
1735*/
1736var _trimExp=/(^\s+|\s+$)/g;var emojiExp=/([\uD800-\uDBFF][\uDC00-\uDFFF](?:[\u200D\uFE0F][\uD800-\uDBFF][\uDC00-\uDFFF]){2,}|\uD83D\uDC69(?:\u200D(?:(?:\uD83D\uDC69\u200D)?\uD83D\uDC67|(?:\uD83D\uDC69\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|\uD83D\uDC69\u200D(?:\uD83D\uDC69\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C\uDFF3\uFE0F\u200D\uD83C\uDF08|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642]\uFE0F|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC6F\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3C-\uDD3E\uDDD6-\uDDDF])\u200D[\u2640\u2642]\uFE0F|\uD83C\uDDFD\uD83C\uDDF0|\uD83C\uDDF6\uD83C\uDDE6|\uD83C\uDDF4\uD83C\uDDF2|\uD83C\uDDE9(?:\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF])|\uD83C\uDDF7(?:\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC])|\uD83C\uDDE8(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF5\uDDF7\uDDFA-\uDDFF])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uFE0F\u200D[\u2640\u2642]|(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2640\u2642])\uFE0F|(?:\uD83D\uDC41\uFE0F\u200D\uD83D\uDDE8|\uD83D\uDC69(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\uD83D\uDC69\u200D[\u2695\u2696\u2708]|\uD83D\uDC68(?:(?:\uD83C[\uDFFB-\uDFFF])\u200D[\u2695\u2696\u2708]|\u200D[\u2695\u2696\u2708]))\uFE0F|\uD83C\uDDF2(?:\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF])|\uD83D\uDC69\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D(?:\uD83D[\uDC68\uDC69])|\uD83D[\uDC68\uDC69]))|\uD83C\uDDF1(?:\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE])|\uD83C\uDDEF(?:\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5])|\uD83C\uDDED(?:\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA])|\uD83C\uDDEB(?:\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7])|[#\*0-9]\uFE0F\u20E3|\uD83C\uDDE7(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF])|\uD83C\uDDE6(?:\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF])|\uD83C\uDDFF(?:\uD83C[\uDDE6\uDDF2\uDDFC])|\uD83C\uDDF5(?:\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE])|\uD83C\uDDFB(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA])|\uD83C\uDDF3(?:\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF])|\uD83C\uDFF4\uDB40\uDC67\uDB40\uDC62(?:\uDB40\uDC77\uDB40\uDC6C\uDB40\uDC73|\uDB40\uDC73\uDB40\uDC63\uDB40\uDC74|\uDB40\uDC65\uDB40\uDC6E\uDB40\uDC67)\uDB40\uDC7F|\uD83D\uDC68(?:\u200D(?:\u2764\uFE0F\u200D(?:\uD83D\uDC8B\u200D)?\uD83D\uDC68|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66\u200D\uD83D\uDC66|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67\u200D(?:\uD83D[\uDC66\uDC67])|\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92])|(?:\uD83C[\uDFFB-\uDFFF])\u200D(?:\uD83C[\uDF3E\uDF73\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]))|\uD83C\uDDF8(?:\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF])|\uD83C\uDDF0(?:\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF])|\uD83C\uDDFE(?:\uD83C[\uDDEA\uDDF9])|\uD83C\uDDEE(?:\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9])|\uD83C\uDDF9(?:\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF])|\uD83C\uDDEC(?:\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE])|\uD83C\uDDFA(?:\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF])|\uD83C\uDDEA(?:\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA])|\uD83C\uDDFC(?:\uD83C[\uDDEB\uDDF8])|(?:\u26F9|\uD83C[\uDFCB\uDFCC]|\uD83D\uDD75)(?:\uD83C[\uDFFB-\uDFFF])|(?:\uD83C[\uDFC3\uDFC4\uDFCA]|\uD83D[\uDC6E\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4-\uDEB6]|\uD83E[\uDD26\uDD37-\uDD39\uDD3D\uDD3E\uDDD6-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u270A-\u270D]|\uD83C[\uDF85\uDFC2\uDFC7]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC70\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDCAA\uDD74\uDD7A\uDD90\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD30-\uDD36\uDDD1-\uDDD5])(?:\uD83C[\uDFFB-\uDFFF])|\uD83D\uDC68(?:\u200D(?:(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC67|(?:(?:\uD83D[\uDC68\uDC69])\u200D)?\uD83D\uDC66)|\uD83C[\uDFFB-\uDFFF])|(?:[\u261D\u26F9\u270A-\u270D]|\uD83C[\uDF85\uDFC2-\uDFC4\uDFC7\uDFCA-\uDFCC]|\uD83D[\uDC42\uDC43\uDC46-\uDC50\uDC66-\uDC69\uDC6E\uDC70-\uDC78\uDC7C\uDC81-\uDC83\uDC85-\uDC87\uDCAA\uDD74\uDD75\uDD7A\uDD90\uDD95\uDD96\uDE45-\uDE47\uDE4B-\uDE4F\uDEA3\uDEB4-\uDEB6\uDEC0\uDECC]|\uD83E[\uDD18-\uDD1C\uDD1E\uDD1F\uDD26\uDD30-\uDD39\uDD3D\uDD3E\uDDD1-\uDDDD])(?:\uD83C[\uDFFB-\uDFFF])?|(?:[\u231A\u231B\u23E9-\u23EC\u23F0\u23F3\u25FD\u25FE\u2614\u2615\u2648-\u2653\u267F\u2693\u26A1\u26AA\u26AB\u26BD\u26BE\u26C4\u26C5\u26CE\u26D4\u26EA\u26F2\u26F3\u26F5\u26FA\u26FD\u2705\u270A\u270B\u2728\u274C\u274E\u2753-\u2755\u2757\u2795-\u2797\u27B0\u27BF\u2B1B\u2B1C\u2B50\u2B55]|\uD83C[\uDC04\uDCCF\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF7C\uDF7E-\uDF93\uDFA0-\uDFCA\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF4\uDFF8-\uDFFF]|\uD83D[\uDC00-\uDC3E\uDC40\uDC42-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDD7A\uDD95\uDD96\uDDA4\uDDFB-\uDE4F\uDE80-\uDEC5\uDECC\uDED0-\uDED2\uDEEB\uDEEC\uDEF4-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])|(?:[#\*0-9\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23E9-\u23F3\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB-\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u261D\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u2660\u2663\u2665\u2666\u2668\u267B\u267F\u2692-\u2697\u2699\u269B\u269C\u26A0\u26A1\u26AA\u26AB\u26B0\u26B1\u26BD\u26BE\u26C4\u26C5\u26C8\u26CE\u26CF\u26D1\u26D3\u26D4\u26E9\u26EA\u26F0-\u26F5\u26F7-\u26FA\u26FD\u2702\u2705\u2708-\u270D\u270F\u2712\u2714\u2716\u271D\u2721\u2728\u2733\u2734\u2744\u2747\u274C\u274E\u2753-\u2755\u2757\u2763\u2764\u2795-\u2797\u27A1\u27B0\u27BF\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B50\u2B55\u3030\u303D\u3297\u3299]|\uD83C[\uDC04\uDCCF\uDD70\uDD71\uDD7E\uDD7F\uDD8E\uDD91-\uDD9A\uDDE6-\uDDFF\uDE01\uDE02\uDE1A\uDE2F\uDE32-\uDE3A\uDE50\uDE51\uDF00-\uDF21\uDF24-\uDF93\uDF96\uDF97\uDF99-\uDF9B\uDF9E-\uDFF0\uDFF3-\uDFF5\uDFF7-\uDFFF]|\uD83D[\uDC00-\uDCFD\uDCFF-\uDD3D\uDD49-\uDD4E\uDD50-\uDD67\uDD6F\uDD70\uDD73-\uDD7A\uDD87\uDD8A-\uDD8D\uDD90\uDD95\uDD96\uDDA4\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA-\uDE4F\uDE80-\uDEC5\uDECB-\uDED2\uDEE0-\uDEE5\uDEE9\uDEEB\uDEEC\uDEF0\uDEF3-\uDEF8]|\uD83E[\uDD10-\uDD3A\uDD3C-\uDD3E\uDD40-\uDD45\uDD47-\uDD4C\uDD50-\uDD6B\uDD80-\uDD97\uDDC0\uDDD0-\uDDE6])\uFE0F)/;function getText(e){var type=e.nodeType,result="";if(type===1||type===9||type===11){if(typeof e.textContent==="string"){return e.textContent}else{for(e=e.firstChild;e;e=e.nextSibling){result+=getText(e)}}}else if(type===3||type===4){return e.nodeValue}
1737return result}
1738function splitInnerHTML(element,delimiter,trim){var node=element.firstChild,result=[];while(node){if(node.nodeType===3){result.push.apply(result,emojiSafeSplit((node.nodeValue+"").replace(/^\n+/g,"").replace(/\s+/g," "),delimiter,trim))}else if((node.nodeName+"").toLowerCase()==="br"){result[result.length-1]+="<br>"}else{result.push(node.outerHTML)}
1739node=node.nextSibling}
1740return result}
1741function emojiSafeSplit(text,delimiter,trim){text+="";if(trim){text=text.replace(_trimExp,"")}
1742if(delimiter&&delimiter!==""){return text.replace(/>/g,"&gt;").replace(/</g,"&lt;").split(delimiter)}
1743var result=[],l=text.length,i=0,j,character;for(;i<l;i++){character=text.charAt(i);if(character.charCodeAt(0)>=0xD800&&character.charCodeAt(0)<=0xDBFF||text.charCodeAt(i+1)>=0xFE00&&text.charCodeAt(i+1)<=0xFE0F){j=((text.substr(i,12).split(emojiExp)||[])[1]||"").length||2;character=text.substr(i,j);result.emoji=1;i+=j-1}
1744result.push(character===">"?"&gt;":character==="<"?"&lt;":character)}
1745return result}}),
1745"./src/js/block03.js":
1746/*!***************************!*\
1747  !*** ./src/js/block03.js ***!
1748  \***************************/
1749/*! exports provided: Block03 */
1750(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Block03",function(){return Block03});var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./utils */"./src/js/utils.js");var _cursorFollow__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(/*! ./cursorFollow */"./src/js/cursorFollow.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i]}return arr2}else{return Array.from(arr)}}
1751function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1752gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.registerPlugin(gsap_all__WEBPACK_IMPORTED_MODULE_0__.Draggable,gsap_all__WEBPACK_IMPORTED_MODULE_0__.InertiaPlugin);var Block03=function(){function Block03(el){_classCallCheck(this,Block03);this.DOM={scope:el};this.DOM.container=this.DOM.scope.querySelector('.wx-carousel-img');this.DOM.list=this.DOM.scope.querySelector('.wx-carousel-img__list');this.DOM.items=[].concat(_toConsumableArray(this.DOM.scope.querySelectorAll('.wx-carousel-img__item')));this.DOM.ItemWidth=this.DOM.items[0].offsetWidth;this.DOM.navItems=[].concat(_toConsumableArray(this.DOM.scope.querySelectorAll('.wx-carousel-nav__item')));this.DOM.titleList=this.DOM.scope.querySelector('.wx-carousel-title__list');this.DOM.titleItems=[].concat(_toConsumableArray(this.DOM.scope.querySelectorAll('.wx-carousel-title__item')));this.DOM.next=this.DOM.scope.querySelector('.wx-carousel-img__next');this.DOM.prev=this.DOM.scope.querySelector('.wx-carousel-img__prev');this.isMobile=matchMedia('(max-width: 1024px)').matches;this.DOM.btnNav=this.DOM.scope.querySelectorAll('.wx-follow');this.CLASS={};if(this.isMobile){this.mobileNav()}else{this.desktopNav();this.CLASS.cursorFollow=[].concat(_toConsumableArray(this.DOM.scope.querySelectorAll('.js-cursor-follow'))).map(function(el){return new _cursorFollow__WEBPACK_IMPORTED_MODULE_2__.CursorFollow(el)})}}
1753_createClass(Block03,[{key:'mobileNav',value:function mobileNav(){var _this=this;var animate=!1;this.DOM.titleItems[0].classList.add('is-active');var animeHandler=function animeHandler(event){var index=_this.DOM.navItems.indexOf(event.target);if(!animate&&!_this.DOM.titleItems[index].classList.contains('is-active')){animate=!0;_this.DOM.navItems.forEach(function(item){gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.to(item,{duration:0.5,opacity:0.5,ease:'power2.inOut'})});_this.DOM.titleItems.forEach(function(item){item.classList.remove('is-active')});gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.timeline({onComplete:function onComplete(){animate=!1;_this.DOM.titleItems[index].classList.add('is-active')}}).to(_this.DOM.list,{duration:0.5,xPercent:-100*index,ease:'power2.inOut'},0).to(event.target,{duration:0.5,opacity:1,ease:'power2.inOut'},0).set(_this.DOM.titleList,{xPercent:-100*index})}};this.DOM.navItems.forEach(function(element){element.addEventListener('click',animeHandler)})}},{key:'desktopNav',value:function desktopNav(){var _this2=this;var proxy=document.createElement('div');var progressWrap=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.utils.wrap(0,1);var drt=0.5;var $factor=(1/(this.DOM.items.length-3)).toFixed(2)*1;var anime=!1;var activeIndex=function activeIndex(){var progress=Math.round(TL.progress().toFixed(2)/$factor)+1;var index=0;
1753if(progress!=NaN){index=progress}
1754return _this2.DOM.items[index].dataset.index*1};var TL=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.timeline({paused:!0,defaults:{ease:'none',duration:drt}});this.DOM.titleItems[activeIndex()].classList.add('is-active');this.DOM.items.forEach(function(element,index){if(index>0&&index<_this2.DOM.items.length-2){TL.to(_this2.DOM.list,{xPercent:'-=33.3333'},'l'+index)}});var nextHandler=function nextHandler(){if(!anime){anime=!0;if(TL.progress()===1){TL.progress(0)}
1755TL.tweenFromTo(TL.time(),Math.round((TL.time()+Number.EPSILON)*100)/100+drt,{duration:1,ease:'power2.inOut',onStart:function onStart(){_this2.DOM.titleItems.forEach(function(item){item.classList.remove('is-active')})},onComplete:function onComplete(){anime=!1;_this2.DOM.titleItems[activeIndex()].classList.add('is-active')}});gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.to(proxy,{x:'-='+_this2.DOM.ItemWidth})}};var prevHandler=function prevHandler(){if(!anime){anime=!0;if(TL.progress()===0){TL.progress(1)}
1756TL.tweenFromTo(TL.time(),Math.round((TL.time()+Number.EPSILON)*100)/100-drt,{duration:1,ease:'power3.inOut',onStart:function onStart(){_this2.DOM.titleItems.forEach(function(item){item.classList.remove('is-active')})},onComplete:function onComplete(){anime=!1;_this2.DOM.titleItems[activeIndex()].classList.add('is-active')}});gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.to(proxy,{x:'+='+_this2.DOM.ItemWidth})}};this.DOM.next.addEventListener('click',nextHandler);this.DOM.prev.addEventListener('click',prevHandler);var updateProgress=function updateProgress(){TL.progress(-progressWrap(gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.getProperty(proxy,'x')/(_this2.DOM.ItemWidth*(_this2.DOM.items.length-3)))+1)};gsap_all__WEBPACK_IMPORTED_MODULE_0__.Draggable.create(proxy,{type:'x',trigger:this.DOM.container,inertia:!0,onClick:function onClick(){},onDragStart:function onDragStart(){anime=!0;_this2.DOM.titleItems.forEach(function(item){item.classList.remove('is-active')})},onDragEnd:function onDragEnd(){},onThrowComplete:function onThrowComplete(){anime=!1;_this2.DOM.titleItems[activeIndex()].classList.add('is-active')},onDrag:updateProgress,onThrowUpdate:updateProgress,snap:function snap(endValue){return Math.round(endValue/_this2.DOM.ItemWidth)*_this2.DOM.ItemWidth}})}}]);return Block03}()}),
1756"./src/js/block04.js":
1757/*!***************************!*\
1758  !*** ./src/js/block04.js ***!
1759  \***************************/
1760/*! exports provided: Block04 */
1761(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Block04",function(){return Block04});function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1762var Block04=function Block04(el){_classCallCheck(this,Block04)}}),
1762"./src/js/block05.js":
1763/*!***************************!*\
1764  !*** ./src/js/block05.js ***!
1765  \***************************/
1766/*! exports provided: Block05 */
1767(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Block05",function(){return Block05});var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1768var Block05=function(){function Block05(el){var _this=this;_classCallCheck(this,Block05);this.DOM={el:el};this.DOM.pin=this.DOM.el.querySelector('.wx-block-05__pin');this.DOM.video=this.DOM.el.querySelector('.wx-block-05__video');this.DOM.mask=this.DOM.el.querySelector('.wx-block-05__mask .wx-image');this.DOM.modal=this.DOM.el.querySelector('.wx-block-05__modal');this.DOM.image=this.DOM.el.querySelector('.wx-block-05__image');this.DOM.mainModal=document.querySelector('.wx-modal');this.DOM.mainModalBtn=document.querySelector('.wx-modal__btn');this.ST=gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.getById('smooth-scroll');this.modalClone=this.DOM.modal.cloneNode(!0);this.DOM.modal.remove();this.DOM.mainModal.prepend(this.modalClone);this.triggers=[this.DOM.image,this.modalClone,this.DOM.mainModalBtn];this.modalCloneVideo=this.modalClone.querySelector('video');var TL=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.timeline({paused:!0}).from(this.modalClone,{duration:0.5,autoAlpha:0});this.triggers.forEach(function(item){item.addEventListener('click',function(){if(TL.progress()===0){_this.DOM.mainModal.classList.add('is-active');TL.play();_this.modalCloneVideo.play()}else if(TL.progress()===1){TL.reverse();_this.modalCloneVideo.pause();_this.DOM.mainModal.classList.remove('is-active')}})})}
1769_createClass(Block05,[{key:'pin',value:function pin(){var TL=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.timeline({paused:!0}).from(this.DOM.mask,{scale:1,translateY:0,ease:'none'});var ST=gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.create({animation:TL,trigger:this.DOM.el,scrub:0,pin:!0,start:'top top',end:'300%'})}}]);return Block05}()}),
1769"./src/js/block08.js":
1770/*!***************************!*\
1771  !*** ./src/js/block08.js ***!
1772  \***************************/
1773/*! exports provided: Block08 */
1774(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Block08",function(){return Block08});var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i]}return arr2}else{return Array.from(arr)}}
1775function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1776var Block08=function(){function Block08(el){_classCallCheck(this,Block08);this.DOM={scope:el};this.DOM.inner=this.DOM.scope.querySelector('wx-block-08__inner');this.DOM.items=[].concat(_toConsumableArray(this.DOM.scope.querySelectorAll('.wx-block-08__item')));this.isMobile=matchMedia('(max-width: 1024px)').matches;this.init()}
1777_createClass(Block08,[{key:'init',value:function init(){var _this=this;this.DOM.items.forEach(function(item){var image=item.querySelector('.wx-block-08__image');var overlay=item.querySelector('.wx-block-08__overlay');var content=item.querySelector('.wx-block-08__content');var title=item.querySelector('h3');var description=[].concat(_toConsumableArray(item.querySelectorAll('p')));var animeY=_this.isMobile?'2rem':'8rem';var tl=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.timeline({paused:!0,defaults:{ease:'power2.inOut',duration:1}}).to(image,{opacity:0},0).from(overlay,{opacity:0},0).from(content,{opacity:0,y:animeY},0).from(title,{opacity:0,y:animeY},0).from(description,{opacity:0,y:animeY,stagger:0.05},0);item.addEventListener('click',function(){!tl.progress()?tl.play():tl.reverse()})})}}]);return Block08}()}),
1777"./src/js/block11.js":
1778/*!***************************!*\
1779  !*** ./src/js/block11.js ***!
1780  \***************************/
1781/*! exports provided: Block11 */
1782(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Block11",function(){return Block11});var _utils__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./utils */"./src/js/utils.js");var _cursorFollow__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./cursorFollow */"./src/js/cursorFollow.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i]}return arr2}else{return Array.from(arr)}}
1783function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1784var Block11=function(){function Block11(el){_classCallCheck(this,Block11);this.DOM={scope:el};this.DOM.inner=this.DOM.scope.querySelector('wx-block-11__inner');this.DOM.content=this.DOM.scope.querySelector('.wx-block-11__content');this.DOM.list=this.DOM.scope.querySelector('.wx-block-11__list');this.DOM.items=[].concat(_toConsumableArray(this.DOM.scope.querySelectorAll('.wx-block-11__item')));this.DOM.ItemWidth=this.DOM.items[0].offsetWidth;this.isMobile=matchMedia('(max-width: 1024px)').matches;this.CLASS={};this.draggable();if(this.isMobile){}else{this.CLASS.cursorFollow=[].concat(_toConsumableArray(this.DOM.scope.querySelectorAll('.js-cursor-follow'))).map(function(el){return new _cursorFollow__WEBPACK_IMPORTED_MODULE_1__.CursorFollow(el)})}}
1785_createClass(Block11,[{key:'draggable',value:function draggable(){var items=this.DOM.items;var vars={paused:!0,draggable:!0};var methods={onPress:function onPress(){},onDragStart:function onDragStart(){},onDragEnd:function onDragEnd(){}};var loop=_utils__WEBPACK_IMPORTED_MODULE_0__["default"].horizontalLoop(items,vars,methods)}}]);return Block11}()}),
1785"./src/js/block12.js":
1786/*!***************************!*\
1787  !*** ./src/js/block12.js ***!
1788  \***************************/
1789/*! exports provided: Block12 */
1790(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Block12",function(){return Block12});var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1791var Block12=function(){function Block12(){_classCallCheck(this,Block12)}
1792_createClass(Block12,[{key:"init",value:function init(){}}]);return Block12}()}),
1792"./src/js/cursorFollow.js":
1793/*!********************************!*\
1794  !*** ./src/js/cursorFollow.js ***!
1795  \********************************/
1796/*! exports provided: CursorFollow */
1797(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"CursorFollow",function(){return CursorFollow});var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _utils__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./utils */"./src/js/utils.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1798var CursorFollow=function(){function CursorFollow(el){_classCallCheck(this,CursorFollow);this.DOM={scope:el};this.DOM.target=this.DOM.scope.querySelector('.js-cursor-follow__target');this.init()}
1799_createClass(CursorFollow,[{key:'init',value:function init(){var _this=this;this.positionElement=function(event){var mousePos=_utils__WEBPACK_IMPORTED_MODULE_1__["default"].getMousePos(event);gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.to(_this.DOM.target,{duration:0.2,top:mousePos.y,left:mousePos.x,ease:'power2.out'})};this.mouseenterFn=function(event){_this.positionElement(event)};this.mousemoveFn=function(event){return requestAnimationFrame(function(){_this.positionElement(event)})};this.DOM.scope.addEventListener('mouseenter',this.mouseenterFn);this.DOM.scope.addEventListener('mousemove',this.mousemoveFn);this.DOM.scope.addEventListener('mouseleave',this.mouseleaveFn)}}]);return CursorFollow}()}),
1799"./src/js/footer.js":
1800/*!**************************!*\
1801  !*** ./src/js/footer.js ***!
1802  \**************************/
1803/*! exports provided: Footer, footer */
1804(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Footer",function(){return Footer});__webpack_require__.d(__webpack_exports__,"footer",function(){return footer});var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1805var Footer=function(){function Footer(scope){_classCallCheck(this,Footer);this.isMobile=matchMedia('(max-width: 1024px)').matches;this.getDOM();if(!this.isMobile){this.intro()}
1806this.scrollTop();this.fire()}
1807_createClass(Footer,[{key:'getDOM',value:function getDOM(){this.DOM={scope:document.querySelector('.wx-footer')};this.DOM.inner=this.DOM.scope.querySelector('.wx-footer__inner');this.DOM.backTop=this.DOM.scope.querySelectorAll('.wx-footer__back-top-image')}},{key:'intro',value:function intro(){var TL=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.timeline({paused:!0}).from(this.DOM.inner,{yPercent:-100,transformOrigin:'left top',ease:'none'});var ST=gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.create({animation:TL,scrub:0,trigger:this.DOM.scope,start:'top bottom',end:'bottom bottom'})}},{key:'scrollTop',value:function scrollTop(){var goTop=function goTop(){return gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.to(window,{duration:2,scrollTo:0,ease:'power2.inOut'})};this.DOM.backTop.forEach(function(el){el.addEventListener('click',goTop)})}},{key:'fire',value:function fire(){var observer=new IntersectionObserver(function(entries){entries.forEach(function(entry){var square=entry.target.querySelector('.wx-fire__fire');if(entry.isIntersecting){square.classList.add('is-show');return}
1808square.classList.remove('is-show')})});observer.observe(document.querySelector('.wx-fire'))}}]);return Footer}();var footer=new Footer()}),
1808"./src/js/header.js":
1809/*!**************************!*\
1810  !*** ./src/js/header.js ***!
1811  \**************************/
1812/*! exports provided: Header, header */
1813(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"Header",function(){return Header});__webpack_require__.d(__webpack_exports__,"header",function(){return header});var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1814var Header=function(){function Header(){var _this=this;_classCallCheck(this,Header);this.DOM={};this.DOM.header=document.querySelector('.wx-header');this.DOM.menuMobile=document.querySelector('.wx-menu-mobile');gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.delayedCall(1.5,function(){var ST=gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.create({id:'header',trigger:document.body,scrub:0,start:0,end:'bottom bottom',onUpdate:function onUpdate(self){_this.onScroll(self)}})})}
1815_createClass(Header,[{key:'onScroll',value:function onScroll(self){var direction=self.direction;var progress=self.progress.toFixed(6)*1;var isActive=!this.DOM.header.classList.contains('is-hide');if(!this.DOM.menuMobile.classList.contains('is-active')){if(progress<=0||direction===-1&&!isActive){this.DOM.header.classList.remove('is-hide')}else if(progress>0&&direction===1&&isActive){this.DOM.header.classList.add('is-hide')}}}}]);return Header}();var header=new Header()}),
1815"./src/js/main.js":
1816/*!************************!*\
1817  !*** ./src/js/main.js ***!
1818  \************************/
1819/*! no exports provided */
1820(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _smoothScroll__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./smoothScroll */"./src/js/smoothScroll.js");var _preloader__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(/*! ./preloader */"./src/js/preloader.js");var _menuMobile__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(/*! ./menuMobile */"./src/js/menuMobile.js");var _pageDefault__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(/*! ./pageDefault */"./src/js/pageDefault.js");var _footer__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(/*! ./footer */"./src/js/footer.js");var _header__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(/*! ./header */"./src/js/header.js");var sass=__webpack_require__(/*! ../sass/style.sass */"./src/sass/style.sass");gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.registerPlugin(gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap,gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger,gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollToPlugin);if(!1){}
1821var template=document.querySelector('main').dataset.template||null;var scope=document.querySelector('.page-template-'+template);if(template==='default'){new _pageDefault__WEBPACK_IMPORTED_MODULE_4__.PageDefault(scope)}
1822console.log('v2.1')}),
1822"./src/js/menuMobile.js":
1823/*!******************************!*\
1824  !*** ./src/js/menuMobile.js ***!
1825  \******************************/
1826/*! exports provided: menuMobile */
1827(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"menuMobile",function(){return menuMobile});var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i]}return arr2}else{return Array.from(arr)}}
1828function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1829var MenuMobile=function(){function MenuMobile(el){_classCallCheck(this,MenuMobile);this.DOM={scope:el};this.DOM.inner=this.DOM.scope.querySelector('.wx-menu-mobile__inner');this.DOM.items=[].concat(_toConsumableArray(this.DOM.scope.querySelectorAll('.wx-nav__item')));this.DOM.footerItems=[].concat(_toConsumableArray(document.querySelectorAll('.wx-footer .wx-nav__item')));this.DOM.imgs=[].concat(_toConsumableArray(this.DOM.scope.querySelectorAll('.wx-nav__image')));this.DOM.btns=[].concat(_toConsumableArray(document.querySelectorAll('.wx-menu__icon')));this.isMobile=matchMedia('(max-width: 1024px)').matches;this.init()}
1830_createClass(MenuMobile,[{key:'init',value:function init(){var _this=this;var tl=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.timeline({paused:!0,defaults:{ease:'power2.inOut',duration:1}}).from(this.DOM.scope,{autoAlpha:0},0).from(this.DOM.items,{xPercent:-100,stagger:0.05},0);this.DOM.btns.forEach(function(item){item.addEventListener('click',function(){if(tl.progress()===0){tl.play();_this.DOM.scope.classList.add('is-active');_this.DOM.btns.forEach(function(item){item.classList.add('is-active')})}else if(tl.progress()===1){tl.reverse();_this.DOM.scope.classList.remove('is-active');_this.removeClass();_this.DOM.btns.forEach(function(item){item.classList.remove('is-active')})}})});this.DOM.items.forEach(function(item,index){var image=item.querySelector('.wx-nav__image');item.addEventListener('click',function(ev){_this.removeClass();item.classList.add('is-active')})})}},{key:'removeClass',value:function removeClass(){this.DOM.items.forEach(function(item,index){item.classList.remove('is-active')})}}]);return MenuMobile}();var menuMobile=new MenuMobile(document.querySelector('.wx-menu-mobile'))}),
1830"./src/js/pageDefault.js":
1831/*!*******************************!*\
1832  !*** ./src/js/pageDefault.js ***!
1833  \*******************************/
1834/*! exports provided: PageDefault */
1835(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"PageDefault",function(){return PageDefault});var _block03__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! ./block03 */"./src/js/block03.js");var _block04__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(/*! ./block04 */"./src/js/block04.js");var _block05__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(/*! ./block05 */"./src/js/block05.js");var _block08__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(/*! ./block08 */"./src/js/block08.js");var _block11__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(/*! ./block11 */"./src/js/block11.js");var _block12__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(/*! ./block12 */"./src/js/block12.js");function _toConsumableArray(arr){if(Array.isArray(arr)){for(var i=0,arr2=Array(arr.length);i<arr.length;i++){arr2[i]=arr[i]}return arr2}else{return Array.from(arr)}}
1836function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1837var PageDefault=function PageDefault(scope){_classCallCheck(this,PageDefault);this.PAGE={scope:scope};this.PAGE.block03=[].concat(_toConsumableArray(this.PAGE.scope.querySelectorAll('.wx-block-03'))).map(function(el){return new _block03__WEBPACK_IMPORTED_MODULE_0__.Block03(el)});this.PAGE.block04=[].concat(_toConsumableArray(this.PAGE.scope.querySelectorAll('.wx-block-04'))).map(function(el){return new _block04__WEBPACK_IMPORTED_MODULE_1__.Block04(el)});this.PAGE.block05=[].concat(_toConsumableArray(this.PAGE.scope.querySelectorAll('.wx-block-05'))).map(function(el){return new _block05__WEBPACK_IMPORTED_MODULE_2__.Block05(el)});this.PAGE.block08=[].concat(_toConsumableArray(this.PAGE.scope.querySelectorAll('.wx-block-08'))).map(function(el){return new _block08__WEBPACK_IMPORTED_MODULE_3__.Block08(el)});this.PAGE.block11=[].concat(_toConsumableArray(this.PAGE.scope.querySelectorAll('.wx-block-11'))).map(function(el){return new _block11__WEBPACK_IMPORTED_MODULE_4__.Block11(el)});this.PAGE.block12=[].concat(_toConsumableArray(this.PAGE.scope.querySelectorAll('.wx-block-12'))).map(function(el){return new _block12__WEBPACK_IMPORTED_MODULE_5__.Block12(el)})}}),
1837"./src/js/preloader.js":
1838/*!*****************************!*\
1839  !*** ./src/js/preloader.js ***!
1840  \*****************************/
1841/*! exports provided: preloader */
1842(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"preloader",function(){return preloader});var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1843var Preloader=function(){function Preloader(){_classCallCheck(this,Preloader);this.isMobile=matchMedia('(max-width: 1024px)').matches;this.ST=gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.getById('smooth-scroll')||null;this.init()}
1844_createClass(Preloader,[{key:'init',value:function init(){var _this=this;var preloader=document.querySelector('.wx-preloader');var html=document.querySelector('html');gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.to(preloader,{delay:0.5,duration:1,yPercent:-100,ease:'expo.inOut',onStart:function onStart(){if(_this.ST!==null){_this.ST.disable();gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.delayedCall(0.1,_this.ST.enable)}},onComplete:function onComplete(){html.classList.remove('u-scroll-lock');preloader.remove()}})}}]);return Preloader}();var preloader=new Preloader()}),
1844"./src/js/smoothScroll.js":
1845/*!********************************!*\
1846  !*** ./src/js/smoothScroll.js ***!
1847  \********************************/
1848/*! exports provided: smoothScroll */
1849(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__.d(__webpack_exports__,"smoothScroll",function(){return smoothScroll});var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");var _createClass=function(){function defineProperties(target,props){for(var i=0;i<props.length;i++){var descriptor=props[i];descriptor.enumerable=descriptor.enumerable||!1;descriptor.configurable=!0;if("value" in descriptor)descriptor.writable=!0;Object.defineProperty(target,descriptor.key,descriptor)}}return function(Constructor,protoProps,staticProps){if(protoProps)defineProperties(Constructor.prototype,protoProps);if(staticProps)defineProperties(Constructor,staticProps);return Constructor}}();function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor)){throw new TypeError("Cannot call a class as a function")}}
1850gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.registerPlugin(gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap,gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger);var SmoothScroll=function(){function SmoothScroll(){_classCallCheck(this,SmoothScroll);this.isMobile=matchMedia('(max-width: 1024px)').matches;if(!this.isMobile){this.init()}}
1851_createClass(SmoothScroll,[{key:'init',value:function init(){this.smoothScroll('#wx-scroll','#wx-viewport',1.1);this.sections=document.querySelectorAll('main, footer');this.resizeSectionsObserver(this.sections)}},{key:'smoothScroll',value:function smoothScroll(content,viewport,smoothness){content=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.utils.toArray(content)[0];gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.set(viewport||content.parentNode,{overflow:'hidden',position:'fixed',height:'100%',width:'100%',top:0,left:0,right:0,bottom:0});gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.set(content,{overflow:'visible',width:'100%'});var getProp=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.getProperty(content),setProp=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.quickSetter(content,'y','px'),setScroll=gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.getScrollFunc(window),removeScroll=function removeScroll(){return content.style.overflow='visible'},killScrub=function killScrub(trigger){var scrub=trigger.getTween?trigger.getTween():gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.getTweensOf(trigger.animation)[0];scrub&&scrub.kill();trigger.animation.progress(trigger.progress)},height=void 0,isProxyScrolling=void 0;this.refreshInit=function(){height=content.clientHeight;content.style.overflow='visible';document.body.style.height=height+'px'};this.refreshInit();this.refresh=function(){removeScroll();requestAnimationFrame(removeScroll)};gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.addEventListener('refreshInit',this.refreshInit);gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.addEventListener('refresh',this.refresh);gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.defaults({scroller:content});gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.scrollerProxy(content,{scrollTop:function scrollTop(value){if(arguments.length){isProxyScrolling=!0;setProp(-value);setScroll(value);return}
1852return-getProp('y')},getBoundingClientRect:function getBoundingClientRect(){return{top:0,left:0,width:window.innerWidth,height:window.innerHeight}}});gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.create({id:'smooth-scroll',animation:gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.fromTo(content,{y:0,force3D:!0},{y:function y(){return document.documentElement.clientHeight-height},ease:'none',onUpdate:gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.update,force3D:!0}),scroller:window,invalidateOnRefresh:!0,start:0,end:function end(){return height-document.documentElement.clientHeight},scrub:smoothness,onUpdate:function onUpdate(self){if(isProxyScrolling){killScrub(self);isProxyScrolling=!1}},onRefresh:killScrub})}},{key:'resizeSectionsObserver',value:function resizeSectionsObserver(elements){var _this=this;var resizeCallback=function resizeCallback(){gsap_all__WEBPACK_IMPORTED_MODULE_0__.ScrollTrigger.refresh()};this.sectionsObserver=new ResizeObserver(resizeCallback);
1852elements.forEach(function(el){_this.sectionsObserver.observe(el)})}}]);return SmoothScroll}();var smoothScroll=new SmoothScroll()}),
1852"./src/js/utils.js":
1853/*!*************************!*\
1854  !*** ./src/js/utils.js ***!
1855  \*************************/
1856/*! exports provided: default */
1857(function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var gsap_all__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(/*! gsap/all */"./node_modules/gsap/all.js");__webpack_exports__["default"]=({tagResolve:function tagResolve(){var tagList=tags.map(function(_tag){var filterTags=getTags.filter(function(_filter){return _filter.tags.includes(_tag)});return filterTags.map(function(_map){return{title:_map.data.title,description:_map.data.description,uid:_map.uid}})});return tagList},getSlug:function getSlug(str){str=str.replace(/^\s+|\s+$/g,'');str=str.toLowerCase();var from='àáäâèéëêìíïîòóöôùúüûñç·/_,:;';var to='aaaaeeeeiiiioooouuuunc------';for(var i=0,l=from.length;i<l;i++){str=str.replace(new RegExp(from.charAt(i),'g'),to.charAt(i))}
1858str=str.replace(/[^a-z0-9 -]/g,'').replace(/\s+/g,'-').replace(/-+/g,'-');return str},arrayShuffle:function arrayShuffle(array){var currentIndex=array.length,randomIndex=void 0;while(currentIndex!=0){randomIndex=Math.floor(Math.random()*currentIndex);currentIndex--;var _ref=[array[randomIndex],array[currentIndex]];array[currentIndex]=_ref[0];array[randomIndex]=_ref[1]}
1859return array},pxToRem:function pxToRem(pixels){return(pixels*(matchMedia('(min-width: 1024px)').matches?1920:414)/innerWidth/10).toFixed(3)+'rem'},horizontalLoop:function horizontalLoop(items,config,methods){items=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.utils.toArray(items);config=config||{};var tl=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.timeline({repeat:config.repeat,paused:config.paused,defaults:{ease:'none'},onReverseComplete:function onReverseComplete(){return tl.totalTime(tl.rawTime()+tl.duration()*100)}}),length=items.length,startX=items[0].offsetLeft,times=[],widths=[],xPercents=[],curIndex=0,pixelsPerSecond=(config.speed||1)*100,snap=config.snap===!1?function(v){return v}:gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.utils.snap(config.snap||1),populateWidths=function populateWidths(){return items.forEach(function(el,i){widths[i]=parseFloat(gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.getProperty(el,'width','px'));xPercents[i]=snap(parseFloat(gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.getProperty(el,'x','px'))/widths[i]*100+gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.getProperty(el,'xPercent'))})},getTotalWidth=function getTotalWidth(){return items[length-1].offsetLeft+xPercents[length-1]/100*widths[length-1]-startX+items[length-1].offsetWidth*gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.getProperty(items[length-1],'scaleX')+(parseFloat(config.paddingRight)||0)},totalWidth=void 0,curX=void 0,distanceToStart=void 0,distanceToLoop=void 0,item=void 0,i=void 0;populateWidths();gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.set(items,{xPercent:function xPercent(i){return xPercents[i]}});gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.set(items,{x:0});totalWidth=getTotalWidth();for(i=0;i<length;i++){item=items[i];curX=xPercents[i]/100*widths[i];distanceToStart=item.offsetLeft+curX-startX;distanceToLoop=distanceToStart+widths[i]*gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.getProperty(item,'scaleX');tl.to(item,{xPercent:snap((curX-distanceToLoop)/widths[i]*100),duration:distanceToLoop/pixelsPerSecond},0).fromTo(item,{xPercent:snap((curX-distanceToLoop+totalWidth)/widths[i]*100)},{xPercent:xPercents[i],duration:(curX-distanceToLoop+totalWidth-curX)/pixelsPerSecond,immediateRender:!1},distanceToLoop/pixelsPerSecond).add('label'+i,distanceToStart/pixelsPerSecond);times[i]=distanceToStart/pixelsPerSecond}
1860function toIndex(index,vars,methods){vars=vars||{};Math.abs(index-curIndex)>length/2&&(index+=index>curIndex?-length:length);var newIndex=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.utils.wrap(0,length,index),time=times[newIndex];if(time>tl.time()!==index>curIndex){vars.modifiers={time:gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.utils.wrap(0,tl.duration())};time+=tl.duration()*(index>curIndex?1:-1)}
1861curIndex=newIndex;
1861vars.overwrite=!0;return tl.tweenTo(time,vars)}
1862tl.next=function(vars){return toIndex(curIndex+1,vars)};tl.previous=function(vars){return toIndex(curIndex-1,vars)};tl.current=function(){return curIndex};tl.toIndex=function(index,vars){return toIndex(index,vars)};tl.updateIndex=function(){return curIndex=Math.round(tl.progress()*items.length)};tl.times=times;tl.progress(1,!0).progress(0,!0);if(config.reversed){tl.vars.onReverseComplete();tl.reverse()}
1863if(config.draggable&&typeof gsap_all__WEBPACK_IMPORTED_MODULE_0__.Draggable==='function'){var proxy=document.createElement('div'),wrap=gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.utils.wrap(0,1),ratio=void 0,startProgress=void 0,draggable=void 0,dragSnap=void 0,roundFactor=void 0,align=function align(){return tl.progress(wrap(startProgress+(draggable.startX-draggable.x)*ratio))},syncIndex=function syncIndex(){return tl.updateIndex()};typeof gsap_all__WEBPACK_IMPORTED_MODULE_0__.InertiaPlugin==='undefined'&&console.warn('InertiaPlugin required for momentum-based scrolling and snapping. https://greensock.com/club');draggable=gsap_all__WEBPACK_IMPORTED_MODULE_0__.Draggable.create(proxy,{trigger:items[0].parentNode,type:'x',onPress:function onPress(){startProgress=tl.progress();tl.progress(0);populateWidths();totalWidth=getTotalWidth();ratio=1/totalWidth;dragSnap=totalWidth/items.length;roundFactor=Math.pow(10,((dragSnap+'').split('.')[1]||'').length);tl.progress(startProgress)},onDrag:align,onThrowUpdate:align,inertia:!0,snap:function snap(value){var n=Math.round(parseFloat(value)/dragSnap)*dragSnap*roundFactor;return(n-n%1)/roundFactor},onRelease:syncIndex,onThrowComplete:function onThrowComplete(){return gsap_all__WEBPACK_IMPORTED_MODULE_0__.gsap.set(proxy,{x:0})&&syncIndex()}})[0]}
1864return tl},getMousePos:function getMousePos(e){var posx=0;var posy=0;if(!e)e=window.event;if(e.pageX||e.pageY){posx=e.pageX;posy=e.pageY}else if(e.clientX||e.clientY){posx=e.clientX+document.body.scrollLeft+document.documentElement.scrollLeft;posy=e.clientY+document.body.scrollTop+document.documentElement.scrollTop}
1865return{x:posx,y:posy}}})}),
1865"./src/sass/style.sass":
1866/*!*****************************!*\
1867  !*** ./src/sass/style.sass ***!
1868  \*****************************/
1869/*! no static exports found */
1870(function(module,exports){})
1870,0:
1871/*!******************************!*\
1872  !*** multi ./src/js/main.js ***!
1873  \******************************/
1874/*! no static exports found */
1875(function(module,exports,__webpack_require__){module.exports=__webpack_require__(/*! /Users/whoisbrux/Local Sites/cryptodads/app/public/wp-content/themes/cryptodads-theme/src/js/main.js */"./src/js/main.js")})});
1876
1877

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.